visorus-erp-core 17.0.0 → 20.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/visorus-erp-core.mjs +398 -369
- package/fesm2022/visorus-erp-core.mjs.map +1 -1
- package/index.d.ts +1213 -5
- package/package.json +12 -13
- package/esm2022/lib/app.module.mjs +0 -113
- package/esm2022/lib/components/acreedor/select/select-acreedor.component.mjs +0 -208
- package/esm2022/lib/components/acreedor/services/acreedor.service.mjs +0 -20
- package/esm2022/lib/components/acreedor/services/acreedorCuentaContable.mjs +0 -24
- package/esm2022/lib/components/agente/models/Agente.mjs +0 -8
- package/esm2022/lib/components/agente/services/agente.service.mjs +0 -32
- package/esm2022/lib/components/almacen/models/Almacen.mjs +0 -4
- package/esm2022/lib/components/almacen/services/almacen.service.mjs +0 -24
- package/esm2022/lib/components/banco/models/Banco.mjs +0 -7
- package/esm2022/lib/components/banco/services/banco.service.mjs +0 -19
- package/esm2022/lib/components/caja/session-create/session-create.component.mjs +0 -181
- package/esm2022/lib/components/caja/sessionCaja.service.mjs +0 -20
- package/esm2022/lib/components/catalogoTipo/models/CatalogoTipo.mjs +0 -4
- package/esm2022/lib/components/catalogoTipo/services/catalogoTipo.service.mjs +0 -19
- package/esm2022/lib/components/clasificadorTipo/models/ClasificadorTipo.mjs +0 -4
- package/esm2022/lib/components/clasificadorTipo/services/clasificadorTipo.service.mjs +0 -19
- package/esm2022/lib/components/claveAumentoDisminucion/services/clave-aumento-disminucion.service.mjs +0 -19
- package/esm2022/lib/components/claveMovimiento/models/ClaveMovimiento.mjs +0 -4
- package/esm2022/lib/components/claveMovimiento/services/claveMovimiento.service.mjs +0 -19
- package/esm2022/lib/components/cliente/models/Cliente.mjs +0 -12
- package/esm2022/lib/components/cliente/models/ClienteCuentaBanco.mjs +0 -8
- package/esm2022/lib/components/cliente/models/ClienteFlete.mjs +0 -10
- package/esm2022/lib/components/cliente/select/select-cliente.component.mjs +0 -219
- package/esm2022/lib/components/cliente/services/cliente.service.mjs +0 -22
- package/esm2022/lib/components/cliente/services/clienteCuentaBanco.service.mjs +0 -24
- package/esm2022/lib/components/cliente/services/clienteFlete.service.mjs +0 -24
- package/esm2022/lib/components/contacto/models/DatoContacto.mjs +0 -7
- package/esm2022/lib/components/contacto/services/datoContacto.service.mjs +0 -19
- package/esm2022/lib/components/dato-direccion/models/DatoDireccion.mjs +0 -5
- package/esm2022/lib/components/dato-direccion/services/datoDireccion.service.mjs +0 -19
- package/esm2022/lib/components/departamento/models/Departamento.mjs +0 -5
- package/esm2022/lib/components/departamento/services/departamento.service.mjs +0 -19
- package/esm2022/lib/components/empresa/models/ConfiguracionEmpresaAdministrativa.mjs +0 -7
- package/esm2022/lib/components/empresa/models/Empresa.mjs +0 -11
- package/esm2022/lib/components/empresa/services/empresa.service.mjs +0 -24
- package/esm2022/lib/components/error404/error404.component.mjs +0 -22
- package/esm2022/lib/components/flete/models/Flete.mjs +0 -4
- package/esm2022/lib/components/flete/services/flete.service.mjs +0 -20
- package/esm2022/lib/components/formaPago/models/FormaPago.mjs +0 -4
- package/esm2022/lib/components/formaPago/services/FormaPago.service.mjs +0 -19
- package/esm2022/lib/components/loading/loading.component.mjs +0 -49
- package/esm2022/lib/components/loading/loading.service.mjs +0 -30
- package/esm2022/lib/components/loading-screen/loading-screen.component.mjs +0 -45
- package/esm2022/lib/components/loading-screen/loading-screen.service.mjs +0 -31
- package/esm2022/lib/components/login-modal/login-modal.component.mjs +0 -152
- package/esm2022/lib/components/login-modal/login-modal.service.mjs +0 -21
- package/esm2022/lib/components/moneda/models/Moneda.mjs +0 -4
- package/esm2022/lib/components/moneda/services/moneda.service.mjs +0 -20
- package/esm2022/lib/components/pdfModal/pdf-modal.component.mjs +0 -104
- package/esm2022/lib/components/pdfModal/pdf-modal.service.mjs +0 -29
- package/esm2022/lib/components/persona-fisica/models/EstadoCivil.mjs +0 -4
- package/esm2022/lib/components/persona-fisica/models/Genero.mjs +0 -4
- package/esm2022/lib/components/persona-fisica/models/Persona.mjs +0 -7
- package/esm2022/lib/components/persona-fisica/models/PersonaFisica.mjs +0 -9
- package/esm2022/lib/components/persona-fisica/services/personaFisica.service.mjs +0 -26
- package/esm2022/lib/components/proveedor/models/Proveedor.mjs +0 -12
- package/esm2022/lib/components/proveedor/models/ProveedorCuentaBanco.mjs +0 -8
- package/esm2022/lib/components/proveedor/models/ProveedorFlete.mjs +0 -10
- package/esm2022/lib/components/proveedor/select/select-proveedor.component.mjs +0 -142
- package/esm2022/lib/components/proveedor/services/proveedor.service.mjs +0 -20
- package/esm2022/lib/components/proveedor/services/proveedorCuentaBanco.service.mjs +0 -24
- package/esm2022/lib/components/proveedor/services/proveedorFlete.service.mjs +0 -24
- package/esm2022/lib/components/seleccion-articulo-informacion/seleccion-articulo-informacion.component.mjs +0 -151
- package/esm2022/lib/components/seleccion-articulo-informacion/services/articulo-informacion.service.mjs +0 -24
- package/esm2022/lib/components/selecciona-articulo/selecciona-articulo.component.mjs +0 -486
- package/esm2022/lib/components/selecciona-articulo/stock.service.mjs +0 -31
- package/esm2022/lib/components/serieDocumento/models/SerieDocumento.mjs +0 -4
- package/esm2022/lib/components/serieDocumento/services/serieDocumento.service.mjs +0 -26
- package/esm2022/lib/components/tipo-contacto/models/TipoContacto.mjs +0 -6
- package/esm2022/lib/components/tipo-contacto/services/tipoContacto.service.mjs +0 -19
- package/esm2022/lib/components/ubicacion/models/Ubicacion.mjs +0 -4
- package/esm2022/lib/components/ubicacion/services/ubicacion.service.mjs +0 -19
- package/esm2022/lib/contabilidad/componentes/cclista/cclista.component.mjs +0 -262
- package/esm2022/lib/contabilidad/componentes/ccseleccion-dialog/ccseleccion-dialog.component.mjs +0 -66
- package/esm2022/lib/contabilidad/modelos/cuentaContable.model.mjs +0 -6
- package/esm2022/lib/contabilidad/modelos/normaInfoFinanciera.model.mjs +0 -5
- package/esm2022/lib/contabilidad/servicios/cuentacontable.service.mjs +0 -23
- package/esm2022/lib/globalPrimeNg.mjs +0 -66
- package/esm2022/lib/httpInterceptor/httpInterceptor.mjs +0 -90
- package/esm2022/lib/importComponents.mjs +0 -24
- package/esm2022/lib/importComponetsConta.mjs +0 -7
- package/esm2022/lib/models/PersonaMoral.mjs +0 -9
- package/esm2022/lib/models/Usuario.mjs +0 -3
- package/esm2022/lib/models/auth.mjs +0 -3
- package/esm2022/lib/services/auth.service.mjs +0 -203
- package/esm2022/lib/services/authenticated.service.mjs +0 -77
- package/esm2022/lib/services/canActivateGuard.service.ts.mjs +0 -26
- package/esm2022/lib/services/catalogo-adicional.service.mjs +0 -20
- package/esm2022/lib/services/controlAcceso.service.mjs +0 -43
- package/esm2022/lib/services/crud.service.mjs +0 -46
- package/esm2022/lib/services/file.service.mjs +0 -68
- package/esm2022/lib/services/global.service.mjs +0 -54
- package/esm2022/lib/services/init.service.mjs +0 -51
- package/esm2022/lib/services/message.service.mjs +0 -79
- package/esm2022/lib/services/paginate.service.mjs +0 -58
- package/esm2022/lib/services/personaMoral.service.mjs +0 -19
- package/esm2022/lib/services/versionCheck.service.mjs +0 -52
- package/esm2022/lib/utils/tipo_catalogo.ts.mjs +0 -5
- package/esm2022/public_api.mjs +0 -96
- package/esm2022/visorus-erp-core.mjs +0 -5
- package/lib/app.module.d.ts +0 -56
- package/lib/components/acreedor/select/select-acreedor.component.d.ts +0 -26
- package/lib/components/acreedor/services/acreedor.service.d.ts +0 -9
- package/lib/components/acreedor/services/acreedorCuentaContable.d.ts +0 -10
- package/lib/components/agente/models/Agente.d.ts +0 -23
- package/lib/components/agente/services/agente.service.d.ts +0 -12
- package/lib/components/almacen/models/Almacen.d.ts +0 -20
- package/lib/components/almacen/services/almacen.service.d.ts +0 -10
- package/lib/components/banco/models/Banco.d.ts +0 -13
- package/lib/components/banco/services/banco.service.d.ts +0 -8
- package/lib/components/caja/session-create/session-create.component.d.ts +0 -25
- package/lib/components/caja/sessionCaja.service.d.ts +0 -9
- package/lib/components/catalogoTipo/models/CatalogoTipo.d.ts +0 -9
- package/lib/components/catalogoTipo/services/catalogoTipo.service.d.ts +0 -8
- package/lib/components/clasificadorTipo/models/ClasificadorTipo.d.ts +0 -9
- package/lib/components/clasificadorTipo/services/clasificadorTipo.service.d.ts +0 -8
- package/lib/components/claveAumentoDisminucion/services/clave-aumento-disminucion.service.d.ts +0 -8
- package/lib/components/claveMovimiento/models/ClaveMovimiento.d.ts +0 -23
- package/lib/components/claveMovimiento/services/claveMovimiento.service.d.ts +0 -8
- package/lib/components/cliente/models/Cliente.d.ts +0 -44
- package/lib/components/cliente/models/ClienteCuentaBanco.d.ts +0 -12
- package/lib/components/cliente/models/ClienteFlete.d.ts +0 -11
- package/lib/components/cliente/select/select-cliente.component.d.ts +0 -27
- package/lib/components/cliente/services/cliente.service.d.ts +0 -9
- package/lib/components/cliente/services/clienteCuentaBanco.service.d.ts +0 -10
- package/lib/components/cliente/services/clienteFlete.service.d.ts +0 -10
- package/lib/components/contacto/models/DatoContacto.d.ts +0 -9
- package/lib/components/contacto/services/datoContacto.service.d.ts +0 -8
- package/lib/components/dato-direccion/models/DatoDireccion.d.ts +0 -18
- package/lib/components/dato-direccion/services/datoDireccion.service.d.ts +0 -8
- package/lib/components/departamento/models/Departamento.d.ts +0 -9
- package/lib/components/departamento/services/departamento.service.d.ts +0 -8
- package/lib/components/empresa/models/ConfiguracionEmpresaAdministrativa.d.ts +0 -31
- package/lib/components/empresa/models/Empresa.d.ts +0 -13
- package/lib/components/empresa/services/empresa.service.d.ts +0 -10
- package/lib/components/error404/error404.component.d.ts +0 -8
- package/lib/components/flete/models/Flete.d.ts +0 -7
- package/lib/components/flete/services/flete.service.d.ts +0 -9
- package/lib/components/formaPago/models/FormaPago.d.ts +0 -10
- package/lib/components/formaPago/services/FormaPago.service.d.ts +0 -8
- package/lib/components/loading/loading.component.d.ts +0 -10
- package/lib/components/loading/loading.service.d.ts +0 -10
- package/lib/components/loading-screen/loading-screen.component.d.ts +0 -20
- package/lib/components/loading-screen/loading-screen.service.d.ts +0 -12
- package/lib/components/login-modal/login-modal.component.d.ts +0 -16
- package/lib/components/login-modal/login-modal.service.d.ts +0 -8
- package/lib/components/moneda/models/Moneda.d.ts +0 -13
- package/lib/components/moneda/services/moneda.service.d.ts +0 -9
- package/lib/components/pdfModal/pdf-modal.component.d.ts +0 -16
- package/lib/components/pdfModal/pdf-modal.service.d.ts +0 -12
- package/lib/components/persona-fisica/models/EstadoCivil.d.ts +0 -8
- package/lib/components/persona-fisica/models/Genero.d.ts +0 -7
- package/lib/components/persona-fisica/models/Persona.d.ts +0 -16
- package/lib/components/persona-fisica/models/PersonaFisica.d.ts +0 -11
- package/lib/components/persona-fisica/services/personaFisica.service.d.ts +0 -11
- package/lib/components/proveedor/models/Proveedor.d.ts +0 -23
- package/lib/components/proveedor/models/ProveedorCuentaBanco.d.ts +0 -12
- package/lib/components/proveedor/models/ProveedorFlete.d.ts +0 -11
- package/lib/components/proveedor/select/select-proveedor.component.d.ts +0 -26
- package/lib/components/proveedor/services/proveedor.service.d.ts +0 -9
- package/lib/components/proveedor/services/proveedorCuentaBanco.service.d.ts +0 -10
- package/lib/components/proveedor/services/proveedorFlete.service.d.ts +0 -10
- package/lib/components/seleccion-articulo-informacion/seleccion-articulo-informacion.component.d.ts +0 -29
- package/lib/components/seleccion-articulo-informacion/services/articulo-informacion.service.d.ts +0 -10
- package/lib/components/selecciona-articulo/selecciona-articulo.component.d.ts +0 -42
- package/lib/components/selecciona-articulo/stock.service.d.ts +0 -10
- package/lib/components/serieDocumento/models/SerieDocumento.d.ts +0 -28
- package/lib/components/serieDocumento/services/serieDocumento.service.d.ts +0 -11
- package/lib/components/tipo-contacto/models/TipoContacto.d.ts +0 -7
- package/lib/components/tipo-contacto/services/tipoContacto.service.d.ts +0 -8
- package/lib/components/ubicacion/models/Ubicacion.d.ts +0 -17
- package/lib/components/ubicacion/services/ubicacion.service.d.ts +0 -8
- package/lib/contabilidad/componentes/cclista/cclista.component.d.ts +0 -26
- package/lib/contabilidad/componentes/ccseleccion-dialog/ccseleccion-dialog.component.d.ts +0 -24
- package/lib/contabilidad/modelos/cuentaContable.model.d.ts +0 -22
- package/lib/contabilidad/modelos/normaInfoFinanciera.model.d.ts +0 -8
- package/lib/contabilidad/servicios/cuentacontable.service.d.ts +0 -10
- package/lib/globalPrimeNg.d.ts +0 -4
- package/lib/httpInterceptor/httpInterceptor.d.ts +0 -17
- package/lib/importComponents.d.ts +0 -13
- package/lib/importComponetsConta.d.ts +0 -3
- package/lib/models/PersonaMoral.d.ts +0 -13
- package/lib/models/Usuario.d.ts +0 -8
- package/lib/models/auth.d.ts +0 -6
- package/lib/services/auth.service.d.ts +0 -30
- package/lib/services/authenticated.service.d.ts +0 -14
- package/lib/services/canActivateGuard.service.ts.d.ts +0 -13
- package/lib/services/catalogo-adicional.service.d.ts +0 -9
- package/lib/services/controlAcceso.service.d.ts +0 -14
- package/lib/services/crud.service.d.ts +0 -20
- package/lib/services/file.service.d.ts +0 -14
- package/lib/services/global.service.d.ts +0 -22
- package/lib/services/init.service.d.ts +0 -12
- package/lib/services/message.service.d.ts +0 -11
- package/lib/services/paginate.service.d.ts +0 -20
- package/lib/services/personaMoral.service.d.ts +0 -8
- package/lib/services/versionCheck.service.d.ts +0 -14
- package/lib/utils/tipo_catalogo.ts.d.ts +0 -4
- package/public_api.d.ts +0 -92
|
@@ -2,81 +2,77 @@ import * as i0 from '@angular/core';
|
|
|
2
2
|
import { Injectable, EventEmitter, Component, Output, Input, 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
|
-
import * as
|
|
6
|
-
import { CommonModule } from '@angular/common';
|
|
7
|
-
import * as i3 from 'primeng/api';
|
|
5
|
+
import * as i2 from 'primeng/api';
|
|
8
6
|
import { ConfirmationService } from 'primeng/api';
|
|
9
7
|
import * as i19 from 'primeng/treetable';
|
|
10
8
|
import { TreeTableModule } from 'primeng/treetable';
|
|
11
|
-
import * as
|
|
9
|
+
import * as i6 from 'primeng/button';
|
|
12
10
|
import { ButtonModule } from 'primeng/button';
|
|
13
|
-
import * as
|
|
11
|
+
import * as i7 from 'primeng/inputtext';
|
|
14
12
|
import { InputTextModule } from 'primeng/inputtext';
|
|
15
13
|
import * as i10 from '@angular/forms';
|
|
16
14
|
import { FormsModule } from '@angular/forms';
|
|
17
|
-
import * as
|
|
15
|
+
import * as i13 from '@angular/common';
|
|
16
|
+
import { CommonModule } from '@angular/common';
|
|
17
|
+
import * as i9 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 i3
|
|
23
|
+
import * as i3 from '@ngx-translate/core';
|
|
24
24
|
import { TranslateModule, TranslateLoader } from '@ngx-translate/core';
|
|
25
|
-
import * as i3$
|
|
25
|
+
import * as i3$1 from '@angular/platform-browser';
|
|
26
26
|
import * as i18 from 'primeng/table';
|
|
27
27
|
import { TableModule } from 'primeng/table';
|
|
28
|
-
import * as
|
|
28
|
+
import * as i8 from 'primeng/paginator';
|
|
29
29
|
import { PaginatorModule } from 'primeng/paginator';
|
|
30
|
-
import * as i23 from 'primeng/dropdown';
|
|
31
|
-
import { DropdownModule } from 'primeng/dropdown';
|
|
32
30
|
import * as i24 from 'primeng/inputmask';
|
|
33
31
|
import { InputMaskModule } from 'primeng/inputmask';
|
|
34
|
-
import * as
|
|
35
|
-
import { MessagesModule } from 'primeng/messages';
|
|
36
|
-
import * as i26 from 'primeng/message';
|
|
37
|
-
import { MessageModule } from 'primeng/message';
|
|
38
|
-
import * as i28 from 'primeng/confirmdialog';
|
|
32
|
+
import * as i27 from 'primeng/confirmdialog';
|
|
39
33
|
import { ConfirmDialogModule } from 'primeng/confirmdialog';
|
|
40
|
-
import * as
|
|
34
|
+
import * as i28 from 'primeng/progressbar';
|
|
41
35
|
import { ProgressBarModule } from 'primeng/progressbar';
|
|
42
|
-
import * as
|
|
43
|
-
import { TriStateCheckboxModule } from 'primeng/tristatecheckbox';
|
|
44
|
-
import * as i31 from 'primeng/keyfilter';
|
|
36
|
+
import * as i29 from 'primeng/keyfilter';
|
|
45
37
|
import { KeyFilterModule } from 'primeng/keyfilter';
|
|
46
|
-
import * as
|
|
47
|
-
import { InputSwitchModule } from 'primeng/inputswitch';
|
|
48
|
-
import * as i34 from 'primeng/tabview';
|
|
49
|
-
import { TabViewModule } from 'primeng/tabview';
|
|
50
|
-
import * as i20 from 'primeng/calendar';
|
|
51
|
-
import { CalendarModule } from 'primeng/calendar';
|
|
52
|
-
import * as i35 from 'primeng/panel';
|
|
38
|
+
import * as i33 from 'primeng/panel';
|
|
53
39
|
import { PanelModule } from 'primeng/panel';
|
|
54
40
|
import * as i17 from 'primeng/autocomplete';
|
|
55
41
|
import { AutoCompleteModule } from 'primeng/autocomplete';
|
|
56
|
-
import * as
|
|
42
|
+
import * as i36 from 'primeng/fieldset';
|
|
57
43
|
import { FieldsetModule } from 'primeng/fieldset';
|
|
58
44
|
import * as i16 from 'primeng/checkbox';
|
|
59
45
|
import { CheckboxModule } from 'primeng/checkbox';
|
|
60
|
-
import * as
|
|
46
|
+
import * as i37 from 'primeng/tree';
|
|
61
47
|
import { TreeModule } from 'primeng/tree';
|
|
62
48
|
import * as i15 from 'primeng/radiobutton';
|
|
63
49
|
import { RadioButtonModule } from 'primeng/radiobutton';
|
|
64
|
-
import * as
|
|
65
|
-
import { TabMenuModule } from 'primeng/tabmenu';
|
|
66
|
-
import * as i14 from 'primeng/overlaypanel';
|
|
67
|
-
import { OverlayPanelModule } from 'primeng/overlaypanel';
|
|
68
|
-
import * as i13 from 'primeng/tooltip';
|
|
50
|
+
import * as i13$1 from 'primeng/tooltip';
|
|
69
51
|
import { TooltipModule } from 'primeng/tooltip';
|
|
70
52
|
import * as i12 from 'primeng/card';
|
|
71
53
|
import { CardModule } from 'primeng/card';
|
|
72
|
-
import * as
|
|
54
|
+
import * as i38 from 'primeng/menubar';
|
|
73
55
|
import { MenubarModule } from 'primeng/menubar';
|
|
74
|
-
import * as
|
|
56
|
+
import * as i35 from 'primeng/splitbutton';
|
|
75
57
|
import { SplitButtonModule } from 'primeng/splitbutton';
|
|
76
|
-
import * as
|
|
58
|
+
import * as i34 from 'primeng/toolbar';
|
|
77
59
|
import { ToolbarModule } from 'primeng/toolbar';
|
|
60
|
+
import * as i32 from 'primeng/tabs';
|
|
61
|
+
import { TabsModule } from 'primeng/tabs';
|
|
62
|
+
import * as i20 from 'primeng/datepicker';
|
|
63
|
+
import { DatePickerModule } from 'primeng/datepicker';
|
|
64
|
+
import * as i30 from 'primeng/toggleswitch';
|
|
65
|
+
import { ToggleSwitchModule } from 'primeng/toggleswitch';
|
|
66
|
+
import * as i14 from 'primeng/popover';
|
|
67
|
+
import { PopoverModule } from 'primeng/popover';
|
|
68
|
+
import * as i23 from 'primeng/select';
|
|
69
|
+
import { SelectModule } from 'primeng/select';
|
|
70
|
+
import * as i25 from 'primeng/message';
|
|
71
|
+
import { MessageModule } from 'primeng/message';
|
|
78
72
|
import { TranslateHttpLoader } from '@ngx-translate/http-loader';
|
|
79
|
-
import
|
|
73
|
+
import Aura from '@primeuix/themes/aura';
|
|
74
|
+
import { providePrimeNG } from 'primeng/config';
|
|
75
|
+
import * as i3$2 from '@angular/router';
|
|
80
76
|
|
|
81
77
|
class GlobalService {
|
|
82
78
|
constructor(http) {
|
|
@@ -184,7 +180,7 @@ class CuentaContableService extends CrudService {
|
|
|
184
180
|
obtieneCuentasContablesRecursivo() {
|
|
185
181
|
return this.httpClient.get(this.getUrl('cuentaContable') + '/obtieneCuentasContablesRecursivo', this.buildAuth());
|
|
186
182
|
}
|
|
187
|
-
/** @nocollapse */ static { this.ɵfac = function CuentaContableService_Factory(
|
|
183
|
+
/** @nocollapse */ static { this.ɵfac = function CuentaContableService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CuentaContableService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
188
184
|
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: CuentaContableService, factory: CuentaContableService.ɵfac, providedIn: 'root' }); }
|
|
189
185
|
}
|
|
190
186
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CuentaContableService, [{
|
|
@@ -212,16 +208,16 @@ function CclistaComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
|
212
208
|
i0.ɵɵtext(10, "Acciones");
|
|
213
209
|
i0.ɵɵelementEnd()();
|
|
214
210
|
} }
|
|
215
|
-
function
|
|
211
|
+
function CclistaComponent_ng_template_4_Conditional_12_Template(rf, ctx) { if (rf & 1) {
|
|
216
212
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
217
213
|
i0.ɵɵelementStart(0, "button", 16);
|
|
218
|
-
i0.ɵɵlistener("click", function
|
|
214
|
+
i0.ɵɵlistener("click", function CclistaComponent_ng_template_4_Conditional_12_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r1); const rowData_r2 = i0.ɵɵnextContext().rowData; const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.selectCuentaContable(rowData_r2)); });
|
|
219
215
|
i0.ɵɵelementEnd();
|
|
220
216
|
} }
|
|
221
|
-
function
|
|
217
|
+
function CclistaComponent_ng_template_4_Conditional_13_Template(rf, ctx) { if (rf & 1) {
|
|
222
218
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
223
219
|
i0.ɵɵelementStart(0, "button", 16);
|
|
224
|
-
i0.ɵɵlistener("click", function
|
|
220
|
+
i0.ɵɵlistener("click", function CclistaComponent_ng_template_4_Conditional_13_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r4); const rowData_r2 = i0.ɵɵnextContext().rowData; const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.selectCuentaContable(rowData_r2)); });
|
|
225
221
|
i0.ɵɵelementEnd();
|
|
226
222
|
} }
|
|
227
223
|
function CclistaComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
|
|
@@ -239,7 +235,8 @@ function CclistaComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
239
235
|
i0.ɵɵtext(9);
|
|
240
236
|
i0.ɵɵelementEnd();
|
|
241
237
|
i0.ɵɵelementStart(10, "td", 13)(11, "div", 14);
|
|
242
|
-
i0.ɵɵ
|
|
238
|
+
i0.ɵɵconditionalCreate(12, CclistaComponent_ng_template_4_Conditional_12_Template, 1, 0, "button", 15);
|
|
239
|
+
i0.ɵɵconditionalCreate(13, CclistaComponent_ng_template_4_Conditional_13_Template, 1, 0, "button", 15);
|
|
243
240
|
i0.ɵɵelementEnd()()();
|
|
244
241
|
} if (rf & 2) {
|
|
245
242
|
const rowNode_r5 = ctx.$implicit;
|
|
@@ -256,9 +253,9 @@ function CclistaComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
256
253
|
i0.ɵɵadvance(2);
|
|
257
254
|
i0.ɵɵtextInterpolate1(" ", rowData_r2.tipo, " ");
|
|
258
255
|
i0.ɵɵadvance(3);
|
|
259
|
-
i0.ɵɵ
|
|
256
|
+
i0.ɵɵconditional(ctx_r2.typeAccount == 1 && rowData_r2.cuentaRegistro ? 12 : -1);
|
|
260
257
|
i0.ɵɵadvance();
|
|
261
|
-
i0.ɵɵ
|
|
258
|
+
i0.ɵɵconditional(ctx_r2.typeAccount == 2 && !rowData_r2.cuentaRegistro ? 13 : -1);
|
|
262
259
|
} }
|
|
263
260
|
class CclistaComponent {
|
|
264
261
|
constructor(_cuentaContableService) {
|
|
@@ -418,8 +415,8 @@ class CclistaComponent {
|
|
|
418
415
|
return listAccounts;
|
|
419
416
|
}
|
|
420
417
|
}
|
|
421
|
-
/** @nocollapse */ static { this.ɵfac = function CclistaComponent_Factory(
|
|
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",
|
|
418
|
+
/** @nocollapse */ static { this.ɵfac = function CclistaComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CclistaComponent)(i0.ɵɵdirectiveInject(CuentaContableService)); }; }
|
|
419
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: CclistaComponent, selectors: [["lib-cclista"]], inputs: { isShared: "isShared", typeAccount: "typeAccount" }, outputs: { evSelectedAccount: "evSelectedAccount" }, standalone: false, 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", 1, "ui-button-raised", "ui-button-success"], ["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
420
|
i0.ɵɵelementStart(0, "input", 0);
|
|
424
421
|
i0.ɵɵtwoWayListener("ngModelChange", function CclistaComponent_Template_input_ngModelChange_0_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.query, $event) || (ctx.query = $event); return $event; });
|
|
425
422
|
i0.ɵɵlistener("keyup", function CclistaComponent_Template_input_keyup_0_listener($event) { return ctx.filterAccounts($event); });
|
|
@@ -432,11 +429,11 @@ class CclistaComponent {
|
|
|
432
429
|
i0.ɵɵadvance(2);
|
|
433
430
|
i0.ɵɵstyleMap(i0.ɵɵpureFunction0(7, _c0$7));
|
|
434
431
|
i0.ɵɵproperty("value", ctx.cuentasContables ? ctx.cuentasContables : ctx.tempAccounts)("scrollable", true)("scrollHeight", ctx.maxH + "px")("resizableColumns", true);
|
|
435
|
-
} }, dependencies: [
|
|
432
|
+
} }, dependencies: [i2.PrimeTemplate, i19.TreeTable, i19.TreeTableToggler, i6.ButtonDirective, i7.InputText, i10.DefaultValueAccessor, i10.NgControlStatus, i10.NgModel], encapsulation: 2 }); }
|
|
436
433
|
}
|
|
437
434
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CclistaComponent, [{
|
|
438
435
|
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
|
|
436
|
+
args: [{ selector: 'lib-cclista', standalone: false, template: "<input type=\"text\" style=\"width: 100%;\" pInputText placeholder=\"Cuenta o descripci\u00F3n\" [(ngModel)]=\"query\" (keyup)=\"filterAccounts($event)\">\n\n<div style=\"padding: 10px;\">\n <p-treeTable [value]=\"cuentasContables?cuentasContables:tempAccounts\" [scrollable]=\"true\" [style]=\"{width: '100%'} \" [scrollHeight]=\"maxH + 'px'\" [resizableColumns]=\"true\">\n <ng-template pTemplate=\"header\">\n <tr>\n <th style=\"width: 150px;\">Cuenta contable</th>\n <th style=\"width: 150px;\">Descripci\u00F3n</th>\n <th style=\"width: 90px;\">Naturaleza</th>\n <th style=\"width: 60px;\">Tipo</th>\n <th style=\"width: 200px;\">Acciones</th>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-rowNode let-rowData=\"rowData\" style=\"width: 100%;\">\n <tr>\n <td class=\"ui-resizable-column\" style=\"width: 150px;\">\n <p-treeTableToggler [rowNode]=\"rowNode\"></p-treeTableToggler>\n {{rowData.cuentaContable}}\n </td>\n <td class=\"ui-resizable-column\" style=\"width: 150px;\">\n {{rowData.descripcion}}\n </td>\n <td class=\"ui-resizable-column\" style=\"width: 90px;\">\n {{rowData.naturaleza}}\n </td>\n <td class=\"ui-resizable-column\" style=\"width: 60px;\">\n {{rowData.tipo}}\n </td>\n <td class=\"ui-resizable-column\" style=\"width: 200px;\">\n <div class=\"button-row\">\n @if (typeAccount==1 && rowData.cuentaRegistro) {\n <button pButton type=\"button\" icon=\"pi pi-check\" class=\"ui-button-raised ui-button-success\" (click)=\"selectCuentaContable(rowData)\"></button>\n }\n @if (typeAccount==2 && !rowData.cuentaRegistro) {\n <button pButton type=\"button\" icon=\"pi pi-check\" class=\"ui-button-raised ui-button-success\" (click)=\"selectCuentaContable(rowData)\"></button>\n }\n </div>\n </td>\n </tr>\n </ng-template>\n </p-treeTable>\n</div>" }]
|
|
440
437
|
}], () => [{ type: CuentaContableService }], { isShared: [{
|
|
441
438
|
type: Input
|
|
442
439
|
}], typeAccount: [{
|
|
@@ -444,7 +441,7 @@ class CclistaComponent {
|
|
|
444
441
|
}], evSelectedAccount: [{
|
|
445
442
|
type: Output
|
|
446
443
|
}] }); })();
|
|
447
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CclistaComponent, { className: "CclistaComponent" }); })();
|
|
444
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CclistaComponent, { className: "CclistaComponent", filePath: "lib/contabilidad/componentes/cclista/cclista.component.ts", lineNumber: 11 }); })();
|
|
448
445
|
|
|
449
446
|
const _c0$6 = ["dialog"];
|
|
450
447
|
const _c1$3 = a0 => ({ "width": a0, "min-width": "200px" });
|
|
@@ -469,13 +466,13 @@ class CcseleccionDialogComponent {
|
|
|
469
466
|
hiddenDialog(evt) {
|
|
470
467
|
this.evSelectedAccount.emit(null);
|
|
471
468
|
}
|
|
472
|
-
/** @nocollapse */ static { this.ɵfac = function CcseleccionDialogComponent_Factory(
|
|
469
|
+
/** @nocollapse */ static { this.ɵfac = function CcseleccionDialogComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CcseleccionDialogComponent)(); }; }
|
|
473
470
|
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: CcseleccionDialogComponent, selectors: [["lib-ccseleccion-dialog"]], viewQuery: function CcseleccionDialogComponent_Query(rf, ctx) { if (rf & 1) {
|
|
474
471
|
i0.ɵɵviewQuery(_c0$6, 7);
|
|
475
472
|
} if (rf & 2) {
|
|
476
473
|
let _t;
|
|
477
474
|
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) {
|
|
475
|
+
} }, inputs: { tipoCuenta: "tipoCuenta", displayShowCuentas: "displayShowCuentas" }, outputs: { evSelectedAccount: "evSelectedAccount" }, standalone: false, 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
476
|
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
480
477
|
i0.ɵɵtwoWayListener("visibleChange", function CcseleccionDialogComponent_Template_p_dialog_visibleChange_0_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.displayShowCuentas, $event) || (ctx.displayShowCuentas = $event); return $event; });
|
|
481
478
|
i0.ɵɵlistener("onHide", function CcseleccionDialogComponent_Template_p_dialog_onHide_0_listener($event) { return ctx.hiddenDialog($event); });
|
|
@@ -490,11 +487,11 @@ class CcseleccionDialogComponent {
|
|
|
490
487
|
i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(15, _c2, ctx.maxH + 200 + "px"));
|
|
491
488
|
i0.ɵɵadvance();
|
|
492
489
|
i0.ɵɵproperty("isShared", true)("typeAccount", ctx.tipoCuenta);
|
|
493
|
-
} }, dependencies: [
|
|
490
|
+
} }, dependencies: [i13.NgStyle, i9.Dialog, CclistaComponent], encapsulation: 2 }); }
|
|
494
491
|
}
|
|
495
492
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CcseleccionDialogComponent, [{
|
|
496
493
|
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>" }]
|
|
494
|
+
args: [{ selector: 'lib-ccseleccion-dialog', standalone: false, template: "<p-dialog header=\"Selecciona cuenta contable\" [(visible)]=\"displayShowCuentas\" [modal]=\"true\" [style]=\"{'width': size+'px', 'min-width': '200px'}\" [minY]=\"70\" [baseZIndex]=\"10000\" (onHide)=\"hiddenDialog($event)\" [blockScroll]=\"true\" [draggable]=\"false\" [blockScroll]=\"true\"\n [maximizable]=\"true\">\n <div class=\"padding10\" [ngStyle]=\"{'height': maxH+200+'px'}\">\n <lib-cclista [isShared]=\"true\" [typeAccount]=\"tipoCuenta\" (evSelectedAccount)=\"getAccount($event)\"></lib-cclista>\n </div>\n</p-dialog>" }]
|
|
498
495
|
}], () => [], { dialog: [{
|
|
499
496
|
type: ViewChild,
|
|
500
497
|
args: ["dialog", { static: true }]
|
|
@@ -505,7 +502,7 @@ class CcseleccionDialogComponent {
|
|
|
505
502
|
}], evSelectedAccount: [{
|
|
506
503
|
type: Output
|
|
507
504
|
}] }); })();
|
|
508
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CcseleccionDialogComponent, { className: "CcseleccionDialogComponent" }); })();
|
|
505
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(CcseleccionDialogComponent, { className: "CcseleccionDialogComponent", filePath: "lib/contabilidad/componentes/ccseleccion-dialog/ccseleccion-dialog.component.ts", lineNumber: 10 }); })();
|
|
509
506
|
|
|
510
507
|
const contaComponents = [
|
|
511
508
|
CclistaComponent,
|
|
@@ -519,7 +516,7 @@ class LoginModalService {
|
|
|
519
516
|
showModal() {
|
|
520
517
|
this.modal.emit(true);
|
|
521
518
|
}
|
|
522
|
-
/** @nocollapse */ static { this.ɵfac = function LoginModalService_Factory(
|
|
519
|
+
/** @nocollapse */ static { this.ɵfac = function LoginModalService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LoginModalService)(); }; }
|
|
523
520
|
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: LoginModalService, factory: LoginModalService.ɵfac, providedIn: 'root' }); }
|
|
524
521
|
}
|
|
525
522
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoginModalService, [{
|
|
@@ -549,7 +546,7 @@ class LoadingScreenService {
|
|
|
549
546
|
stopLoading() {
|
|
550
547
|
this.loading = false;
|
|
551
548
|
}
|
|
552
|
-
/** @nocollapse */ static { this.ɵfac = function LoadingScreenService_Factory(
|
|
549
|
+
/** @nocollapse */ static { this.ɵfac = function LoadingScreenService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LoadingScreenService)(); }; }
|
|
553
550
|
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: LoadingScreenService, factory: LoadingScreenService.ɵfac, providedIn: 'root' }); }
|
|
554
551
|
}
|
|
555
552
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoadingScreenService, [{
|
|
@@ -632,7 +629,7 @@ class httpInterceptor {
|
|
|
632
629
|
}
|
|
633
630
|
}
|
|
634
631
|
}
|
|
635
|
-
/** @nocollapse */ static { this.ɵfac = function httpInterceptor_Factory(
|
|
632
|
+
/** @nocollapse */ static { this.ɵfac = function httpInterceptor_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || httpInterceptor)(i0.ɵɵinject(LoginModalService), i0.ɵɵinject(i1$1.ToastrService), i0.ɵɵinject(LoadingScreenService)); }; }
|
|
636
633
|
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: httpInterceptor, factory: httpInterceptor.ɵfac }); }
|
|
637
634
|
}
|
|
638
635
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(httpInterceptor, [{
|
|
@@ -643,8 +640,8 @@ class Error404Component {
|
|
|
643
640
|
constructor() { }
|
|
644
641
|
ngOnInit() {
|
|
645
642
|
}
|
|
646
|
-
/** @nocollapse */ static { this.ɵfac = function Error404Component_Factory(
|
|
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) {
|
|
643
|
+
/** @nocollapse */ static { this.ɵfac = function Error404Component_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || Error404Component)(); }; }
|
|
644
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: Error404Component, selectors: [["app-error404"]], standalone: false, 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
645
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2)(3, "div", 3)(4, "div", 4);
|
|
649
646
|
i0.ɵɵtext(5, " Error 404 ");
|
|
650
647
|
i0.ɵɵelementEnd();
|
|
@@ -655,9 +652,9 @@ class Error404Component {
|
|
|
655
652
|
}
|
|
656
653
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(Error404Component, [{
|
|
657
654
|
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"] }]
|
|
655
|
+
args: [{ selector: 'app-error404', standalone: false, template: "<div class=\"col-md-12 sec_sof\">\n <div class=\"row\">\n <div class=\"col col-center\">\n <div class=\"center\">\n <div class=\"error\">\n Error 404\n </div>\n <div class=\"col-12\">\n <p>La pagina solicitada no fue encontrada</p>\n </div>\n </div> \n </div>\n \n </div>\n</div>\n", styles: [".error{font-size:70px}\n"] }]
|
|
659
656
|
}], () => [], null); })();
|
|
660
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(Error404Component, { className: "Error404Component" }); })();
|
|
657
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(Error404Component, { className: "Error404Component", filePath: "lib/components/error404/error404.component.ts", lineNumber: 9 }); })();
|
|
661
658
|
|
|
662
659
|
class LoadingService {
|
|
663
660
|
constructor() {
|
|
@@ -675,7 +672,7 @@ class LoadingService {
|
|
|
675
672
|
stop() {
|
|
676
673
|
this.loading.emit(false);
|
|
677
674
|
}
|
|
678
|
-
/** @nocollapse */ static { this.ɵfac = function LoadingService_Factory(
|
|
675
|
+
/** @nocollapse */ static { this.ɵfac = function LoadingService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LoadingService)(); }; }
|
|
679
676
|
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: LoadingService, factory: LoadingService.ɵfac, providedIn: 'root' }); }
|
|
680
677
|
}
|
|
681
678
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoadingService, [{
|
|
@@ -705,8 +702,8 @@ class LoadingComponent {
|
|
|
705
702
|
}
|
|
706
703
|
});
|
|
707
704
|
}
|
|
708
|
-
/** @nocollapse */ static { this.ɵfac = function LoadingComponent_Factory(
|
|
709
|
-
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: LoadingComponent, selectors: [["loading"]], inputs: { logo_loading: "logo_loading" }, decls: 14, vars:
|
|
705
|
+
/** @nocollapse */ static { this.ɵfac = function LoadingComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LoadingComponent)(i0.ɵɵdirectiveInject(LoadingService)); }; }
|
|
706
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: LoadingComponent, selectors: [["loading"]], inputs: { logo_loading: "logo_loading" }, standalone: false, decls: 14, vars: 5, 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
707
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2)(3, "div", 3)(4, "div", 4)(5, "div", 5)(6, "div", 6);
|
|
711
708
|
i0.ɵɵelement(7, "span", 7)(8, "span", 7);
|
|
712
709
|
i0.ɵɵelementStart(9, "div", 8);
|
|
@@ -718,18 +715,18 @@ class LoadingComponent {
|
|
|
718
715
|
i0.ɵɵelementEnd()()()()()()()();
|
|
719
716
|
} if (rf & 2) {
|
|
720
717
|
i0.ɵɵadvance(10);
|
|
721
|
-
i0.ɵɵ
|
|
718
|
+
i0.ɵɵproperty("src", i0.ɵɵinterpolate(ctx.logo_loading), i0.ɵɵsanitizeUrl);
|
|
722
719
|
i0.ɵɵadvance(2);
|
|
723
|
-
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(13,
|
|
724
|
-
} }, dependencies: [i3
|
|
720
|
+
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(13, 3, "cargando"), "...");
|
|
721
|
+
} }, dependencies: [i3.TranslatePipe], styles: [".loader[_ngcontent-%COMP%]{width:130px;height:170px;position:relative}.loader[_ngcontent-%COMP%]:before, .loader[_ngcontent-%COMP%]:after{content:\"\";width:0;height:0;position:absolute;bottom:30px;left:15px;z-index:1;transform:scale(0);transition:all .2s ease}.loader[_ngcontent-%COMP%] .txt[_ngcontent-%COMP%]{width:120%;text-align:center;position:absolute;bottom:-30px;left:-7%;font-family:Abel,sans-serif;font-size:12px;letter-spacing:2px;color:#fff}.loader[_ngcontent-%COMP%] .code[_ngcontent-%COMP%]{position:absolute;z-index:99;bottom:-3px;-webkit-animation-name:_ngcontent-%COMP%_spaceboots;-webkit-animation-duration:.8s;-webkit-transform-origin:50% 50%;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]{width:100%;height:140px;display:block;color:#fff;position:absolute;left:28px;z-index:2;overflow:hidden}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:before, .loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:after{display:inline-block;font: 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;top:0;left:0;opacity:0}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:nth-child(1):before{font-size:20px;content:\"\\f13b\";animation:_ngcontent-%COMP%_a 1.1s linear infinite}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:nth-child(1):after{content:\"\\f13c\";animation:_ngcontent-%COMP%_b 1.3s linear infinite}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:nth-child(2):before{content:\"\\f121\";font-size:25px;animation:_ngcontent-%COMP%_c .9s linear infinite}.loader[_ngcontent-%COMP%] .box[_ngcontent-%COMP%]:nth-child(2):after{content:\"\\f19a\";animation:_ngcontent-%COMP%_d .7s linear infinite}.loader.amit[_ngcontent-%COMP%]:before, .loader.amit[_ngcontent-%COMP%]:after{transform:scale(1)}@keyframes _ngcontent-%COMP%_a{0%{transform:translate(30px) rotate(30deg);opacity:0}to{transform:translate(30px,150px) rotate(-50deg);opacity:1}}@keyframes _ngcontent-%COMP%_b{0%{transform:translate(50px) rotate(-40deg);opacity:0}to{transform:translate(40px,150px) rotate(80deg);opacity:1}}@keyframes _ngcontent-%COMP%_c{0%{transform:translate(70px) rotate(10deg);opacity:0}to{transform:translate(60px,150px) rotate(70deg);opacity:1}}@keyframes _ngcontent-%COMP%_d{0%{transform:translate(30px) rotate(-50deg);opacity:0}to{transform:translate(45px,150px) rotate(30deg);opacity:1}}@-webkit-keyframes _ngcontent-%COMP%_spaceboots{0%{-webkit-transform:translate(2px,1px) rotate(0deg)}10%{-webkit-transform:translate(-1px,-2px) rotate(-1deg)}20%{-webkit-transform:translate(-3px,0px) rotate(1deg)}30%{-webkit-transform:translate(0px,2px) rotate(0deg)}40%{-webkit-transform:translate(1px,-1px) rotate(1deg)}50%{-webkit-transform:translate(-1px,2px) rotate(-1deg)}60%{-webkit-transform:translate(-3px,1px) rotate(0deg)}70%{-webkit-transform:translate(2px,1px) rotate(-1deg)}80%{-webkit-transform:translate(-1px,-1px) rotate(1deg)}90%{-webkit-transform:translate(2px,2px) rotate(0deg)}to{-webkit-transform:translate(1px,-2px) rotate(-1deg)}}.modal[_ngcontent-%COMP%]{z-index:2050!important}.modal-content[_ngcontent-%COMP%]{border:0px!important;background-color:#fff0!important;height:350px!important}.modal-body[_ngcontent-%COMP%]{margin-left:-7%!important}"] }); }
|
|
725
722
|
}
|
|
726
723
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoadingComponent, [{
|
|
727
724
|
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"] }]
|
|
725
|
+
args: [{ selector: 'loading', standalone: false, template: "<!-- Modal -->\n<div class=\"modal fade\" id=\"modal_loading\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalScrollableTitle\"\n data-backdrop=\"static\" data-keyboard=\"false\" aria-hidden=\"true\">\n <div class=\"modal-dialog modal-dialog-scrollable\" role=\"document\">\n <div class=\"modal-content\">\n <div class=\"modal-body\">\n <div class=\"row justify-content-center\">\n <div class=\"col-lg-4 col-md-4 col-sm-10\">\n <div class=\"loader\">\n <span class=\"box\"></span>\n <span class=\"box\"></span>\n <div class=\"code\">\n <img src=\"{{logo_loading}}\" width=\"200px\">\n </div>\n <span class=\"txt\">{{'cargando' | translate}}...</span>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</div>", styles: [".loader{width:130px;height:170px;position:relative}.loader:before,.loader:after{content:\"\";width:0;height:0;position:absolute;bottom:30px;left:15px;z-index:1;transform:scale(0);transition:all .2s ease}.loader .txt{width:120%;text-align:center;position:absolute;bottom:-30px;left:-7%;font-family:Abel,sans-serif;font-size:12px;letter-spacing:2px;color:#fff}.loader .code{position:absolute;z-index:99;bottom:-3px;-webkit-animation-name:spaceboots;-webkit-animation-duration:.8s;-webkit-transform-origin:50% 50%;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear}.loader .box{width:100%;height:140px;display:block;color:#fff;position:absolute;left:28px;z-index:2;overflow:hidden}.loader .box:before,.loader .box:after{display:inline-block;font: 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;position:absolute;top:0;left:0;opacity:0}.loader .box:nth-child(1):before{font-size:20px;content:\"\\f13b\";animation:a 1.1s linear infinite}.loader .box:nth-child(1):after{content:\"\\f13c\";animation:b 1.3s linear infinite}.loader .box:nth-child(2):before{content:\"\\f121\";font-size:25px;animation:c .9s linear infinite}.loader .box:nth-child(2):after{content:\"\\f19a\";animation:d .7s linear infinite}.loader.amit:before,.loader.amit:after{transform:scale(1)}@keyframes a{0%{transform:translate(30px) rotate(30deg);opacity:0}to{transform:translate(30px,150px) rotate(-50deg);opacity:1}}@keyframes b{0%{transform:translate(50px) rotate(-40deg);opacity:0}to{transform:translate(40px,150px) rotate(80deg);opacity:1}}@keyframes c{0%{transform:translate(70px) rotate(10deg);opacity:0}to{transform:translate(60px,150px) rotate(70deg);opacity:1}}@keyframes d{0%{transform:translate(30px) rotate(-50deg);opacity:0}to{transform:translate(45px,150px) rotate(30deg);opacity:1}}@-webkit-keyframes spaceboots{0%{-webkit-transform:translate(2px,1px) rotate(0deg)}10%{-webkit-transform:translate(-1px,-2px) rotate(-1deg)}20%{-webkit-transform:translate(-3px,0px) rotate(1deg)}30%{-webkit-transform:translate(0px,2px) rotate(0deg)}40%{-webkit-transform:translate(1px,-1px) rotate(1deg)}50%{-webkit-transform:translate(-1px,2px) rotate(-1deg)}60%{-webkit-transform:translate(-3px,1px) rotate(0deg)}70%{-webkit-transform:translate(2px,1px) rotate(-1deg)}80%{-webkit-transform:translate(-1px,-1px) rotate(1deg)}90%{-webkit-transform:translate(2px,2px) rotate(0deg)}to{-webkit-transform:translate(1px,-2px) rotate(-1deg)}}.modal{z-index:2050!important}.modal-content{border:0px!important;background-color:#fff0!important;height:350px!important}.modal-body{margin-left:-7%!important}\n"] }]
|
|
729
726
|
}], () => [{ type: LoadingService }], { logo_loading: [{
|
|
730
727
|
type: Input
|
|
731
728
|
}] }); })();
|
|
732
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LoadingComponent, { className: "LoadingComponent" }); })();
|
|
729
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LoadingComponent, { className: "LoadingComponent", filePath: "lib/components/loading/loading.component.ts", lineNumber: 10 }); })();
|
|
733
730
|
|
|
734
731
|
class LoadingScreenComponent {
|
|
735
732
|
constructor(loadingScreenService, _elmRef, _changeDetectorRef, loadingService) {
|
|
@@ -754,8 +751,8 @@ class LoadingScreenComponent {
|
|
|
754
751
|
ngOnDestroy() {
|
|
755
752
|
this.loadingSubscription.unsubscribe();
|
|
756
753
|
}
|
|
757
|
-
/** @nocollapse */ static { this.ɵfac = function LoadingScreenComponent_Factory(
|
|
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) {
|
|
754
|
+
/** @nocollapse */ static { this.ɵfac = function LoadingScreenComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LoadingScreenComponent)(i0.ɵɵdirectiveInject(LoadingScreenService), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(LoadingService)); }; }
|
|
755
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: LoadingScreenComponent, selectors: [["app-loading-screen"]], inputs: { logo_loading: "logo_loading" }, standalone: false, 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
756
|
i0.ɵɵelementStart(0, "div", 0)(1, "div", 1)(2, "div", 2);
|
|
760
757
|
i0.ɵɵelement(3, "div", 3)(4, "div", 4)(5, "div", 4)(6, "div", 4)(7, "div", 4)(8, "div", 4)(9, "div", 4);
|
|
761
758
|
i0.ɵɵelementEnd()()();
|
|
@@ -763,11 +760,11 @@ class LoadingScreenComponent {
|
|
|
763
760
|
}
|
|
764
761
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoadingScreenComponent, [{
|
|
765
762
|
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"] }]
|
|
763
|
+
args: [{ selector: 'app-loading-screen', standalone: false, template: "<div class=\"loading-screen-wrapper\">\n <div class=\"loading-screen-icon\">\n <div class=\"blobs\">\n <div class=\"blob-center\"></div>\n <div class=\"blob\"></div>\n <div class=\"blob\"></div>\n <div class=\"blob\"></div>\n <div class=\"blob\"></div>\n <div class=\"blob\"></div>\n <div class=\"blob\"></div>\n </div> \n </div>\n</div>\n", styles: [".loading-screen-wrapper{z-index:100000;position:fixed;background-color:#00000062;width:100%;height:100%;display:block}.loading-screen-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}svg{display:none}.blobs{filter:url(#goo);width:300px;height:300px;position:relative;overflow:hidden;border-radius:70px;transform-style:preserve-3d}.blobs .blob-center{transform-style:preserve-3d;position:absolute;background:#475158;top:50%;left:50%;width:30px;height:30px;transform-origin:left top;transform:scale(.9) translate(-50%,-50%);animation:blob-grow linear 3.4s infinite;border-radius:50%;box-shadow:0 -10px 40px -5px #475158}.blob{position:absolute;background:#475158;top:50%;left:50%;width:30px;height:30px;border-radius:50%;animation:blobs ease-out 3.4s infinite;transform:scale(.9) translate(-50%,-50%);transform-origin:center top;opacity:0}.blob:nth-child(1){animation-delay:.2s}.blob:nth-child(2){animation-delay:.4s}.blob:nth-child(3){animation-delay:.6s}.blob:nth-child(4){animation-delay:.8s}.blob:nth-child(5){animation-delay:1s}@keyframes blobs{0%{opacity:0;transform:scale(0) translate(calc(-330px - 50%),-50%)}1%{opacity:1}35%,65%{opacity:1;transform:scale(.9) translate(-50%,-50%)}99%{opacity:1}to{opacity:0;transform:scale(0) translate(calc(330px - 50%),-50%)}}@keyframes blob-grow{0%,39%{transform:scale(0) translate(-50%,-50%)}40%,42%{transform:scaleY(.9) translate(-50%,-50%)}43%,44%{transform:scale(1.2,1.1) translate(-50%,-50%)}45%,46%{transform:scale(1.3,1.2) translate(-50%,-50%)}47%,48%{transform:scale(1.4,1.3) translate(-50%,-50%)}52%{transform:scale(1.5,1.4) translate(-50%,-50%)}54%{transform:scale(1.7,1.6) translate(-50%,-50%)}58%{transform:scale(1.8,1.7) translate(-50%,-50%)}68%,70%{transform:scale(1.7,1.5) translate(-50%,-50%)}78%{transform:scale(1.6,1.4) translate(-50%,-50%)}80%,81%{transform:scale(1.5,1.4) translate(-50%,-50%)}82%,83%{transform:scale(1.4,1.3) translate(-50%,-50%)}84%,85%{transform:scale(1.3,1.2) translate(-50%,-50%)}86%,87%{transform:scale(1.2,1.1) translate(-50%,-50%)}90%,91%{transform:scaleY(.9) translate(-50%,-50%)}92%,to{transform:scale(0) translate(-50%,-50%)}}\n"] }]
|
|
767
764
|
}], () => [{ type: LoadingScreenService }, { type: i0.ElementRef }, { type: i0.ChangeDetectorRef }, { type: LoadingService }], { logo_loading: [{
|
|
768
765
|
type: Input
|
|
769
766
|
}] }); })();
|
|
770
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LoadingScreenComponent, { className: "LoadingScreenComponent" }); })();
|
|
767
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LoadingScreenComponent, { className: "LoadingScreenComponent", filePath: "lib/components/loading-screen/loading-screen.component.ts", lineNumber: 13 }); })();
|
|
771
768
|
|
|
772
769
|
class PdfModalService {
|
|
773
770
|
constructor() {
|
|
@@ -782,7 +779,7 @@ class PdfModalService {
|
|
|
782
779
|
this.html = html;
|
|
783
780
|
this.print.emit(true);
|
|
784
781
|
}
|
|
785
|
-
/** @nocollapse */ static { this.ɵfac = function PdfModalService_Factory(
|
|
782
|
+
/** @nocollapse */ static { this.ɵfac = function PdfModalService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PdfModalService)(); }; }
|
|
786
783
|
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: PdfModalService, factory: PdfModalService.ɵfac, providedIn: 'root' }); }
|
|
787
784
|
}
|
|
788
785
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PdfModalService, [{
|
|
@@ -848,7 +845,7 @@ class FileService {
|
|
|
848
845
|
base64ToFileDowload(base64, type, name) {
|
|
849
846
|
this.blobToDowload(this.base64ToBlob(base64, type), type, name);
|
|
850
847
|
}
|
|
851
|
-
/** @nocollapse */ static { this.ɵfac = function FileService_Factory(
|
|
848
|
+
/** @nocollapse */ static { this.ɵfac = function FileService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FileService)(i0.ɵɵinject(i1$1.ToastrService), i0.ɵɵinject(i3.TranslateService)); }; }
|
|
852
849
|
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: FileService, factory: FileService.ɵfac, providedIn: 'root' }); }
|
|
853
850
|
}
|
|
854
851
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FileService, [{
|
|
@@ -856,13 +853,13 @@ class FileService {
|
|
|
856
853
|
args: [{
|
|
857
854
|
providedIn: 'root'
|
|
858
855
|
}]
|
|
859
|
-
}], () => [{ type: i1$1.ToastrService }, { type: i3
|
|
856
|
+
}], () => [{ type: i1$1.ToastrService }, { type: i3.TranslateService }], null); })();
|
|
860
857
|
|
|
861
858
|
const _c0$5 = a0 => ({ "width": a0, "min-width": "200px" });
|
|
862
859
|
const _c1$2 = () => ({ "overflow": "visible" });
|
|
863
|
-
function
|
|
864
|
-
i0.ɵɵelementStart(0, "div",
|
|
865
|
-
i0.ɵɵelement(1, "iframe",
|
|
860
|
+
function PdfModalComponent_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
861
|
+
i0.ɵɵelementStart(0, "div", 1);
|
|
862
|
+
i0.ɵɵelement(1, "iframe", 2);
|
|
866
863
|
i0.ɵɵelementEnd();
|
|
867
864
|
} if (rf & 2) {
|
|
868
865
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -932,25 +929,25 @@ class PdfModalComponent {
|
|
|
932
929
|
//iframe.focus();
|
|
933
930
|
// iframe.contentWindow.print();
|
|
934
931
|
}
|
|
935
|
-
/** @nocollapse */ static { this.ɵfac = function PdfModalComponent_Factory(
|
|
936
|
-
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: PdfModalComponent, selectors: [["pdf-modal"]], decls: 2, vars:
|
|
932
|
+
/** @nocollapse */ static { this.ɵfac = function PdfModalComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PdfModalComponent)(i0.ɵɵdirectiveInject(PdfModalService), i0.ɵɵdirectiveInject(FileService), i0.ɵɵdirectiveInject(i3$1.DomSanitizer)); }; }
|
|
933
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: PdfModalComponent, selectors: [["pdf-modal"]], standalone: false, decls: 2, vars: 14, consts: [[3, "visibleChange", "visible", "modal", "minY", "baseZIndex", "blockScroll", "maximizable", "contentStyle"], [2, "min-height", "90vh"], [2, "width", "100%", "height", "90vh", 3, "src"]], template: function PdfModalComponent_Template(rf, ctx) { if (rf & 1) {
|
|
937
934
|
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
938
935
|
i0.ɵɵtwoWayListener("visibleChange", function PdfModalComponent_Template_p_dialog_visibleChange_0_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.display, $event) || (ctx.display = $event); return $event; });
|
|
939
|
-
i0.ɵɵ
|
|
936
|
+
i0.ɵɵconditionalCreate(1, PdfModalComponent_Conditional_1_Template, 2, 1, "div", 1);
|
|
940
937
|
i0.ɵɵelementEnd();
|
|
941
938
|
} if (rf & 2) {
|
|
942
|
-
i0.ɵɵstyleMap(i0.ɵɵpureFunction1(
|
|
939
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction1(11, _c0$5, ctx.size + "px"));
|
|
943
940
|
i0.ɵɵtwoWayProperty("visible", ctx.display);
|
|
944
|
-
i0.ɵɵproperty("modal", true)("minY", 70)("baseZIndex", 10000)("blockScroll", true)("blockScroll", true)("maximizable", true)("
|
|
941
|
+
i0.ɵɵproperty("modal", true)("minY", 70)("baseZIndex", 10000)("blockScroll", true)("blockScroll", true)("maximizable", true)("contentStyle", i0.ɵɵpureFunction0(13, _c1$2));
|
|
945
942
|
i0.ɵɵadvance();
|
|
946
|
-
i0.ɵɵ
|
|
947
|
-
} }, dependencies: [
|
|
943
|
+
i0.ɵɵconditional(ctx.pdfBase64 ? 1 : -1);
|
|
944
|
+
} }, dependencies: [i9.Dialog], styles: [".down[_ngcontent-%COMP%]{display:block}"] }); }
|
|
948
945
|
}
|
|
949
946
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PdfModalComponent, [{
|
|
950
947
|
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\"
|
|
952
|
-
}], () => [{ type: PdfModalService }, { type: FileService }, { type: i3$
|
|
953
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PdfModalComponent, { className: "PdfModalComponent" }); })();
|
|
948
|
+
args: [{ selector: 'pdf-modal', standalone: false, template: "<p-dialog [(visible)]=\"display\" [modal]=\"true\" [style]=\"{'width': size+'px', 'min-width': '200px'}\" [minY]=\"70\" [baseZIndex]=\"10000\" [blockScroll]=\"true\"\n [blockScroll]=\"true\" [maximizable]=\"true\" [contentStyle]=\"{'overflow':'visible'}\">\n @if (pdfBase64) {\n <div style=\"min-height: 90vh;\">\n <iframe style=\"width: 100%; height: 90vh;\" [src]=\"domSanitizer.bypassSecurityTrustResourceUrl('data:application/pdf;base64,'+pdfBase64)\"></iframe>\n </div>\n }\n</p-dialog>\n\n", styles: [".down{display:block}\n"] }]
|
|
949
|
+
}], () => [{ type: PdfModalService }, { type: FileService }, { type: i3$1.DomSanitizer }], null); })();
|
|
950
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(PdfModalComponent, { className: "PdfModalComponent", filePath: "lib/components/pdfmodal/pdf-modal.component.ts", lineNumber: 11 }); })();
|
|
954
951
|
|
|
955
952
|
class Usuario {
|
|
956
953
|
}
|
|
@@ -1141,7 +1138,7 @@ class AuthService {
|
|
|
1141
1138
|
this.url_host = config.url;
|
|
1142
1139
|
return this.httpClient.get(this.url_host + '/usuario/obtieneUsuarioActual', httpOptions);
|
|
1143
1140
|
}
|
|
1144
|
-
/** @nocollapse */ static { this.ɵfac = function AuthService_Factory(
|
|
1141
|
+
/** @nocollapse */ static { this.ɵfac = function AuthService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AuthService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
1145
1142
|
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AuthService, factory: AuthService.ɵfac, providedIn: 'root' }); }
|
|
1146
1143
|
}
|
|
1147
1144
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AuthService, [{
|
|
@@ -1155,8 +1152,8 @@ class AuthService {
|
|
|
1155
1152
|
type: Output
|
|
1156
1153
|
}] }); })();
|
|
1157
1154
|
|
|
1158
|
-
function
|
|
1159
|
-
i0.ɵɵelementStart(0, "label",
|
|
1155
|
+
function LoginModalComponent_Conditional_6_Conditional_4_Template(rf, ctx) { if (rf & 1) {
|
|
1156
|
+
i0.ɵɵelementStart(0, "label", 11);
|
|
1160
1157
|
i0.ɵɵtext(1);
|
|
1161
1158
|
i0.ɵɵpipe(2, "translate");
|
|
1162
1159
|
i0.ɵɵelementEnd();
|
|
@@ -1164,47 +1161,47 @@ function LoginModalComponent_div_6_label_4_Template(rf, ctx) { if (rf & 1) {
|
|
|
1164
1161
|
i0.ɵɵadvance();
|
|
1165
1162
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "Usuario.errorLogin"));
|
|
1166
1163
|
} }
|
|
1167
|
-
function
|
|
1164
|
+
function LoginModalComponent_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
1168
1165
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
1169
|
-
i0.ɵɵelementStart(0, "div",
|
|
1170
|
-
i0.ɵɵlistener("ngSubmit", function
|
|
1171
|
-
i0.ɵɵ
|
|
1172
|
-
i0.ɵɵelementStart(5, "div",
|
|
1166
|
+
i0.ɵɵelementStart(0, "div", 8)(1, "div", 9)(2, "form", 10, 0);
|
|
1167
|
+
i0.ɵɵlistener("ngSubmit", function LoginModalComponent_Conditional_6_Template_form_ngSubmit_2_listener() { i0.ɵɵrestoreView(_r1); const datoForm_r2 = i0.ɵɵreference(3); const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.entrar(datoForm_r2)); });
|
|
1168
|
+
i0.ɵɵconditionalCreate(4, LoginModalComponent_Conditional_6_Conditional_4_Template, 3, 3, "label", 11);
|
|
1169
|
+
i0.ɵɵelementStart(5, "div", 12)(6, "label", 13);
|
|
1173
1170
|
i0.ɵɵtext(7);
|
|
1174
1171
|
i0.ɵɵpipe(8, "translate");
|
|
1175
1172
|
i0.ɵɵelementEnd();
|
|
1176
|
-
i0.ɵɵelementStart(9, "input",
|
|
1173
|
+
i0.ɵɵelementStart(9, "input", 14, 1);
|
|
1177
1174
|
i0.ɵɵpipe(11, "translate");
|
|
1178
|
-
i0.ɵɵtwoWayListener("ngModelChange", function
|
|
1175
|
+
i0.ɵɵtwoWayListener("ngModelChange", function LoginModalComponent_Conditional_6_Template_input_ngModelChange_9_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r2 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r2.user.username, $event) || (ctx_r2.user.username = $event); return i0.ɵɵresetView($event); });
|
|
1179
1176
|
i0.ɵɵelementEnd()();
|
|
1180
|
-
i0.ɵɵelementStart(12, "div",
|
|
1177
|
+
i0.ɵɵelementStart(12, "div", 12)(13, "label", 15);
|
|
1181
1178
|
i0.ɵɵtext(14);
|
|
1182
1179
|
i0.ɵɵpipe(15, "translate");
|
|
1183
1180
|
i0.ɵɵelementEnd();
|
|
1184
|
-
i0.ɵɵelementStart(16, "input",
|
|
1181
|
+
i0.ɵɵelementStart(16, "input", 16);
|
|
1185
1182
|
i0.ɵɵpipe(17, "translate");
|
|
1186
|
-
i0.ɵɵtwoWayListener("ngModelChange", function
|
|
1183
|
+
i0.ɵɵtwoWayListener("ngModelChange", function LoginModalComponent_Conditional_6_Template_input_ngModelChange_16_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r2 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r2.user.password, $event) || (ctx_r2.user.password = $event); return i0.ɵɵresetView($event); });
|
|
1187
1184
|
i0.ɵɵelementEnd()();
|
|
1188
|
-
i0.ɵɵelementStart(18, "button",
|
|
1185
|
+
i0.ɵɵelementStart(18, "button", 17);
|
|
1189
1186
|
i0.ɵɵtext(19, "entrar");
|
|
1190
1187
|
i0.ɵɵelementEnd()()()();
|
|
1191
1188
|
} if (rf & 2) {
|
|
1192
1189
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
1193
1190
|
i0.ɵɵadvance(4);
|
|
1194
|
-
i0.ɵɵ
|
|
1191
|
+
i0.ɵɵconditional(ctx_r2.error ? 4 : -1);
|
|
1195
1192
|
i0.ɵɵadvance(3);
|
|
1196
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(8,
|
|
1193
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(8, 9, "Usuario.username"));
|
|
1197
1194
|
i0.ɵɵadvance(2);
|
|
1198
|
-
i0.ɵɵ
|
|
1195
|
+
i0.ɵɵproperty("placeholder", i0.ɵɵinterpolate(i0.ɵɵpipeBind1(11, 11, "Usuario.username")));
|
|
1199
1196
|
i0.ɵɵtwoWayProperty("ngModel", ctx_r2.user.username);
|
|
1200
1197
|
i0.ɵɵadvance(5);
|
|
1201
|
-
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(15,
|
|
1198
|
+
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(15, 13, "Usuario.password"));
|
|
1202
1199
|
i0.ɵɵadvance(2);
|
|
1203
|
-
i0.ɵɵ
|
|
1200
|
+
i0.ɵɵproperty("placeholder", i0.ɵɵinterpolate(i0.ɵɵpipeBind1(17, 15, "Usuario.password")));
|
|
1204
1201
|
i0.ɵɵtwoWayProperty("ngModel", ctx_r2.user.password);
|
|
1205
1202
|
} }
|
|
1206
|
-
function
|
|
1207
|
-
i0.ɵɵelementStart(0, "div",
|
|
1203
|
+
function LoginModalComponent_Conditional_7_For_6_Template(rf, ctx) { if (rf & 1) {
|
|
1204
|
+
i0.ɵɵelementStart(0, "div", 19)(1, "div", 20)(2, "div", 21)(3, "h5");
|
|
1208
1205
|
i0.ɵɵtext(4);
|
|
1209
1206
|
i0.ɵɵelementEnd()()()();
|
|
1210
1207
|
} if (rf & 2) {
|
|
@@ -1212,18 +1209,18 @@ function LoginModalComponent_div_7_div_5_Template(rf, ctx) { if (rf & 1) {
|
|
|
1212
1209
|
i0.ɵɵadvance(4);
|
|
1213
1210
|
i0.ɵɵtextInterpolate1(" ", empresa_r4.nombre, " ");
|
|
1214
1211
|
} }
|
|
1215
|
-
function
|
|
1216
|
-
i0.ɵɵelementStart(0, "div",
|
|
1212
|
+
function LoginModalComponent_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
1213
|
+
i0.ɵɵelementStart(0, "div", 8)(1, "div", 18)(2, "h4");
|
|
1217
1214
|
i0.ɵɵtext(3, "Selecciona la empresa");
|
|
1218
1215
|
i0.ɵɵelementEnd();
|
|
1219
1216
|
i0.ɵɵelement(4, "hr");
|
|
1220
1217
|
i0.ɵɵelementEnd();
|
|
1221
|
-
i0.ɵɵ
|
|
1218
|
+
i0.ɵɵrepeaterCreate(5, LoginModalComponent_Conditional_7_For_6_Template, 5, 1, "div", 19, i0.ɵɵrepeaterTrackByIdentity);
|
|
1222
1219
|
i0.ɵɵelementEnd();
|
|
1223
1220
|
} if (rf & 2) {
|
|
1224
1221
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
1225
1222
|
i0.ɵɵadvance(5);
|
|
1226
|
-
i0.ɵɵ
|
|
1223
|
+
i0.ɵɵrepeater(ctx_r2.empresas);
|
|
1227
1224
|
} }
|
|
1228
1225
|
class LoginModalComponent {
|
|
1229
1226
|
constructor(loginModalService, authService) {
|
|
@@ -1278,32 +1275,33 @@ class LoginModalComponent {
|
|
|
1278
1275
|
$('#modalLogin').modal('hide');
|
|
1279
1276
|
});
|
|
1280
1277
|
}
|
|
1281
|
-
/** @nocollapse */ static { this.ɵfac = function LoginModalComponent_Factory(
|
|
1282
|
-
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: LoginModalComponent, selectors: [["app-login-modal"]], decls: 8, vars: 2, consts: [["datoForm", "ngForm"], ["username", "ngModel"], ["id", "modalLogin", "tabindex", "-1", "role", "dialog", "aria-labelledby", "exampleModalCenterTitle", "aria-hidden", "true", 1, "modal", "fade"], ["role", "document", 1, "modal-dialog", "modal-dialog-centered"], [1, "modal-content"], [1, "modal-body"], [1, "row", "justify-content-center"], ["src", "assets/img/logo_visorus_loading.png", "alt", ""], [
|
|
1278
|
+
/** @nocollapse */ static { this.ɵfac = function LoginModalComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LoginModalComponent)(i0.ɵɵdirectiveInject(LoginModalService), i0.ɵɵdirectiveInject(AuthService)); }; }
|
|
1279
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: LoginModalComponent, selectors: [["app-login-modal"]], standalone: false, decls: 8, vars: 2, consts: [["datoForm", "ngForm"], ["username", "ngModel"], ["id", "modalLogin", "tabindex", "-1", "role", "dialog", "aria-labelledby", "exampleModalCenterTitle", "aria-hidden", "true", 1, "modal", "fade"], ["role", "document", 1, "modal-dialog", "modal-dialog-centered"], [1, "modal-content"], [1, "modal-body"], [1, "row", "justify-content-center"], ["src", "assets/img/logo_visorus_loading.png", "alt", ""], [1, "row"], [1, "col-lg-12", "col-md-12", "col-sm-12"], [3, "ngSubmit"], [1, "error"], [1, "form-group", "mb-3"], ["for", "exampleInputEmail1"], ["type", "text", "id", "exampleInputEmail1", "aria-describedby", "emailHelp", "name", "username", "required", "", 1, "form-control", 3, "ngModelChange", "placeholder", "ngModel"], ["for", "exampleInputPassword1"], ["type", "password", "id", "exampleInputPassword1", "name", "password", "required", "", 1, "form-control", 3, "ngModelChange", "placeholder", "ngModel"], ["type", "submit", "translate", "", 1, "btn", "btn-primary_low", "btn-lg", "btn-block", "my-5", "text-light"], [1, "col-xl-12", "col-lg-12", "col-sm-12"], [1, "col-xl-6", "col-lg-6", "col-sm-12", "mb-2", 2, "cursor", "pointer"], [1, "card"], [1, "card-body"]], template: function LoginModalComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1283
1280
|
i0.ɵɵelementStart(0, "div", 2)(1, "div", 3)(2, "div", 4)(3, "div", 5)(4, "div", 6);
|
|
1284
1281
|
i0.ɵɵelement(5, "img", 7);
|
|
1285
1282
|
i0.ɵɵelementEnd();
|
|
1286
|
-
i0.ɵɵ
|
|
1283
|
+
i0.ɵɵconditionalCreate(6, LoginModalComponent_Conditional_6_Template, 20, 17, "div", 8);
|
|
1284
|
+
i0.ɵɵconditionalCreate(7, LoginModalComponent_Conditional_7_Template, 7, 0, "div", 8);
|
|
1287
1285
|
i0.ɵɵelementEnd()()()();
|
|
1288
1286
|
} if (rf & 2) {
|
|
1289
1287
|
i0.ɵɵadvance(6);
|
|
1290
|
-
i0.ɵɵ
|
|
1288
|
+
i0.ɵɵconditional(ctx.empresas.length == 0 ? 6 : -1);
|
|
1291
1289
|
i0.ɵɵadvance();
|
|
1292
|
-
i0.ɵɵ
|
|
1293
|
-
} }, dependencies: [
|
|
1290
|
+
i0.ɵɵconditional(ctx.empresas.length ? 7 : -1);
|
|
1291
|
+
} }, dependencies: [i10.ɵNgNoValidate, i10.DefaultValueAccessor, i10.NgControlStatus, i10.NgControlStatusGroup, i10.RequiredValidator, i10.NgModel, i10.NgForm, i3.TranslateDirective, i3.TranslatePipe], styles: [".modal[_ngcontent-%COMP%]{z-index:2050!important}.btn-primary_low[_ngcontent-%COMP%]{background:#133659!important}.ng-valid[_ngcontent-%COMP%]:not(form){border-left:1px solid #ced4da!important}.ng-invalid[_ngcontent-%COMP%]:not(form){border-left:1px solid #ced4da!important}.card[_ngcontent-%COMP%]{background:#26baed;color:#fff}.card-body[_ngcontent-%COMP%]{padding:10px}"] }); }
|
|
1294
1292
|
}
|
|
1295
1293
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LoginModalComponent, [{
|
|
1296
1294
|
type: Component,
|
|
1297
|
-
args: [{ selector: 'app-login-modal', 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
|
|
1295
|
+
args: [{ selector: 'app-login-modal', standalone: false, template: "<div class=\"modal fade\" id=\"modalLogin\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalCenterTitle\" aria-hidden=\"true\">\n <div class=\"modal-dialog modal-dialog-centered\" role=\"document\">\n <div class=\"modal-content\">\n <div class=\"modal-body\">\n <div class=\"row justify-content-center\">\n <img src=\"assets/img/logo_visorus_loading.png\" alt=\"\">\n </div>\n @if (empresas.length == 0) {\n <div class=\"row\">\n <div class=\"col-lg-12 col-md-12 col-sm-12\" >\n <form #datoForm=\"ngForm\" (ngSubmit)=\"entrar(datoForm)\" >\n @if (error) {\n <label class=\"error\">{{'Usuario.errorLogin' | translate}}</label>\n }\n <div class=\"form-group mb-3\">\n <label for=\"exampleInputEmail1\" >{{ 'Usuario.username' | translate }}</label>\n <input type=\"text\" class=\"form-control\" id=\"exampleInputEmail1\" aria-describedby=\"emailHelp\" #username=\"ngModel\"\n placeholder=\"{{ 'Usuario.username' | translate }}\" name=\"username\" [(ngModel)]=\"user.username\" required>\n </div>\n <div class=\"form-group mb-3\">\n <label for=\"exampleInputPassword1\">{{ 'Usuario.password' | translate }}</label>\n <input type=\"password\" class=\"form-control\" id=\"exampleInputPassword1\" placeholder=\"{{ 'Usuario.password' | translate }}\"\n name=\"password\" [(ngModel)]=\"user.password\" required>\n </div>\n <button type=\"submit\" class=\"btn btn-primary_low btn-lg btn-block my-5 text-light\" translate>entrar</button>\n </form>\n </div>\n </div>\n }\n @if (empresas.length) {\n <div class=\"row\">\n <div class=\"col-xl-12 col-lg-12 col-sm-12\">\n <h4>Selecciona la empresa</h4>\n <hr>\n </div>\n @for (empresa of empresas; track empresa) {\n <div class=\"col-xl-6 col-lg-6 col-sm-12 mb-2\" style=\"cursor: pointer\">\n <div class=\"card\">\n <div class=\"card-body\">\n <h5>\n {{empresa.nombre}}\n </h5>\n </div>\n </div>\n </div>\n }\n </div>\n }\n\n </div>\n </div>\n </div>\n </div>", styles: [".modal{z-index:2050!important}.btn-primary_low{background:#133659!important}.ng-valid:not(form){border-left:1px solid #ced4da!important}.ng-invalid:not(form){border-left:1px solid #ced4da!important}.card{background:#26baed;color:#fff}.card-body{padding:10px}\n"] }]
|
|
1298
1296
|
}], () => [{ type: LoginModalService }, { type: AuthService }], null); })();
|
|
1299
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LoginModalComponent, { className: "LoginModalComponent" }); })();
|
|
1297
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LoginModalComponent, { className: "LoginModalComponent", filePath: "lib/components/login-modal/login-modal.component.ts", lineNumber: 12 }); })();
|
|
1300
1298
|
|
|
1301
1299
|
class SessionCajaService extends CrudService {
|
|
1302
1300
|
constructor(httpClient) {
|
|
1303
1301
|
super(httpClient, 'sessionCaja');
|
|
1304
1302
|
this.httpClient = httpClient;
|
|
1305
1303
|
}
|
|
1306
|
-
/** @nocollapse */ static { this.ɵfac = function SessionCajaService_Factory(
|
|
1304
|
+
/** @nocollapse */ static { this.ɵfac = function SessionCajaService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SessionCajaService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
1307
1305
|
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: SessionCajaService, factory: SessionCajaService.ɵfac, providedIn: 'root' }); }
|
|
1308
1306
|
}
|
|
1309
1307
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SessionCajaService, [{
|
|
@@ -1323,25 +1321,25 @@ function SessionCreateComponent_ng_template_1_Template(rf, ctx) { if (rf & 1) {
|
|
|
1323
1321
|
i0.ɵɵadvance();
|
|
1324
1322
|
i0.ɵɵtextInterpolate1("", ctx_r0.labels.title, ": ");
|
|
1325
1323
|
} }
|
|
1326
|
-
function
|
|
1324
|
+
function SessionCreateComponent_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
1327
1325
|
const _r2 = i0.ɵɵgetCurrentView();
|
|
1328
|
-
i0.ɵɵelementStart(0, "div",
|
|
1326
|
+
i0.ɵɵelementStart(0, "div", 2)(1, "div", 5)(2, "label", 6);
|
|
1329
1327
|
i0.ɵɵtext(3, "Nombre de caja: ");
|
|
1330
1328
|
i0.ɵɵelementEnd();
|
|
1331
|
-
i0.ɵɵelementStart(4, "input",
|
|
1332
|
-
i0.ɵɵtwoWayListener("ngModelChange", function
|
|
1329
|
+
i0.ɵɵelementStart(4, "input", 7);
|
|
1330
|
+
i0.ɵɵtwoWayListener("ngModelChange", function SessionCreateComponent_Conditional_2_Template_input_ngModelChange_4_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r0.caja.nombre, $event) || (ctx_r0.caja.nombre = $event); return i0.ɵɵresetView($event); });
|
|
1333
1331
|
i0.ɵɵelementEnd()();
|
|
1334
|
-
i0.ɵɵelementStart(5, "div",
|
|
1332
|
+
i0.ɵɵelementStart(5, "div", 8)(6, "label", 9);
|
|
1335
1333
|
i0.ɵɵtext(7, "Saldo: ");
|
|
1336
1334
|
i0.ɵɵelementEnd();
|
|
1337
|
-
i0.ɵɵelementStart(8, "input",
|
|
1338
|
-
i0.ɵɵtwoWayListener("ngModelChange", function
|
|
1335
|
+
i0.ɵɵelementStart(8, "input", 10);
|
|
1336
|
+
i0.ɵɵtwoWayListener("ngModelChange", function SessionCreateComponent_Conditional_2_Template_input_ngModelChange_8_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r0.session.monto, $event) || (ctx_r0.session.monto = $event); return i0.ɵɵresetView($event); });
|
|
1339
1337
|
i0.ɵɵelementEnd()();
|
|
1340
|
-
i0.ɵɵelementStart(9, "div",
|
|
1338
|
+
i0.ɵɵelementStart(9, "div", 8)(10, "label", 11);
|
|
1341
1339
|
i0.ɵɵtext(11, "Numero Z:");
|
|
1342
1340
|
i0.ɵɵelementEnd();
|
|
1343
|
-
i0.ɵɵelementStart(12, "input",
|
|
1344
|
-
i0.ɵɵtwoWayListener("ngModelChange", function
|
|
1341
|
+
i0.ɵɵelementStart(12, "input", 12);
|
|
1342
|
+
i0.ɵɵtwoWayListener("ngModelChange", function SessionCreateComponent_Conditional_2_Template_input_ngModelChange_12_listener($event) { i0.ɵɵrestoreView(_r2); const ctx_r0 = i0.ɵɵnextContext(); i0.ɵɵtwoWayBindingSet(ctx_r0.session.z, $event) || (ctx_r0.session.z = $event); return i0.ɵɵresetView($event); });
|
|
1345
1343
|
i0.ɵɵelementEnd()()();
|
|
1346
1344
|
} if (rf & 2) {
|
|
1347
1345
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
@@ -1355,29 +1353,30 @@ function SessionCreateComponent_div_2_Template(rf, ctx) { if (rf & 1) {
|
|
|
1355
1353
|
i0.ɵɵtwoWayProperty("ngModel", ctx_r0.session.z);
|
|
1356
1354
|
i0.ɵɵproperty("disabled", true);
|
|
1357
1355
|
} }
|
|
1358
|
-
function
|
|
1356
|
+
function SessionCreateComponent_ng_template_5_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
1359
1357
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
1360
|
-
i0.ɵɵelementStart(0, "button",
|
|
1361
|
-
i0.ɵɵlistener("click", function
|
|
1358
|
+
i0.ɵɵelementStart(0, "button", 16);
|
|
1359
|
+
i0.ɵɵlistener("click", function SessionCreateComponent_ng_template_5_Conditional_0_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r4); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.save()); });
|
|
1362
1360
|
i0.ɵɵelementEnd();
|
|
1363
1361
|
} }
|
|
1364
|
-
function
|
|
1362
|
+
function SessionCreateComponent_ng_template_5_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
1365
1363
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
1366
|
-
i0.ɵɵelementStart(0, "button",
|
|
1367
|
-
i0.ɵɵlistener("click", function
|
|
1364
|
+
i0.ɵɵelementStart(0, "button", 17);
|
|
1365
|
+
i0.ɵɵlistener("click", function SessionCreateComponent_ng_template_5_Conditional_1_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r5); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.edit()); });
|
|
1368
1366
|
i0.ɵɵelementEnd();
|
|
1369
1367
|
} }
|
|
1370
1368
|
function SessionCreateComponent_ng_template_5_Template(rf, ctx) { if (rf & 1) {
|
|
1371
1369
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
1372
|
-
i0.ɵɵ
|
|
1373
|
-
i0.ɵɵ
|
|
1370
|
+
i0.ɵɵconditionalCreate(0, SessionCreateComponent_ng_template_5_Conditional_0_Template, 1, 0, "button", 13);
|
|
1371
|
+
i0.ɵɵconditionalCreate(1, SessionCreateComponent_ng_template_5_Conditional_1_Template, 1, 0, "button", 14);
|
|
1372
|
+
i0.ɵɵelementStart(2, "button", 15);
|
|
1374
1373
|
i0.ɵɵlistener("click", function SessionCreateComponent_ng_template_5_Template_button_click_2_listener() { i0.ɵɵrestoreView(_r3); const ctx_r0 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r0.closeModal()); });
|
|
1375
1374
|
i0.ɵɵelementEnd();
|
|
1376
1375
|
} if (rf & 2) {
|
|
1377
1376
|
const ctx_r0 = i0.ɵɵnextContext();
|
|
1378
|
-
i0.ɵɵ
|
|
1377
|
+
i0.ɵɵconditional(!ctx_r0.editMode && ctx_r0.caja ? 0 : -1);
|
|
1379
1378
|
i0.ɵɵadvance();
|
|
1380
|
-
i0.ɵɵ
|
|
1379
|
+
i0.ɵɵconditional(ctx_r0.editMode && ctx_r0.caja ? 1 : -1);
|
|
1381
1380
|
} }
|
|
1382
1381
|
class SessionCreateComponent {
|
|
1383
1382
|
constructor(sessionCajaService) {
|
|
@@ -1447,12 +1446,13 @@ class SessionCreateComponent {
|
|
|
1447
1446
|
this.status.emit({ status: false, update: this.resp.data });
|
|
1448
1447
|
}
|
|
1449
1448
|
}
|
|
1450
|
-
/** @nocollapse */ static { this.ɵfac = function SessionCreateComponent_Factory(
|
|
1451
|
-
/** @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"], ["
|
|
1449
|
+
/** @nocollapse */ static { this.ɵfac = function SessionCreateComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SessionCreateComponent)(i0.ɵɵdirectiveInject(SessionCajaService)); }; }
|
|
1450
|
+
/** @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" }, standalone: false, decls: 6, vars: 9, consts: [[3, "visibleChange", "onHide", "onShow", "visible", "modal", "closeOnEscape", "closable", "blockScroll"], ["pTemplate", "header"], [1, "grid", "grid-fluid"], ["pTemplate", "footer"], [1, "text-primary"], [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", 1, "p-button-sm"], ["pButton", "", "type", "button", "label", "Cerrar session", 1, "p-button-sm", "p-button-success"], ["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) {
|
|
1452
1451
|
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
1453
1452
|
i0.ɵɵtwoWayListener("visibleChange", function SessionCreateComponent_Template_p_dialog_visibleChange_0_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.showCreateSession, $event) || (ctx.showCreateSession = $event); return $event; });
|
|
1454
1453
|
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(); });
|
|
1455
|
-
i0.ɵɵtemplate(1, SessionCreateComponent_ng_template_1_Template, 2, 1, "ng-template", 1)
|
|
1454
|
+
i0.ɵɵtemplate(1, SessionCreateComponent_ng_template_1_Template, 2, 1, "ng-template", 1);
|
|
1455
|
+
i0.ɵɵconditionalCreate(2, SessionCreateComponent_Conditional_2_Template, 13, 6, "div", 2);
|
|
1456
1456
|
i0.ɵɵelementStart(3, "div");
|
|
1457
1457
|
i0.ɵɵtext(4, " Este agente no esta asignado a una caja ");
|
|
1458
1458
|
i0.ɵɵelementEnd();
|
|
@@ -1463,12 +1463,12 @@ class SessionCreateComponent {
|
|
|
1463
1463
|
i0.ɵɵtwoWayProperty("visible", ctx.showCreateSession);
|
|
1464
1464
|
i0.ɵɵproperty("modal", ctx.flagModal)("closeOnEscape", ctx.flagModal)("closable", ctx.flagModal)("blockScroll", true);
|
|
1465
1465
|
i0.ɵɵadvance(2);
|
|
1466
|
-
i0.ɵɵ
|
|
1467
|
-
} }, dependencies: [
|
|
1466
|
+
i0.ɵɵconditional(ctx.caja ? 2 : -1);
|
|
1467
|
+
} }, dependencies: [i2.PrimeTemplate, i6.ButtonDirective, i7.InputText, i9.Dialog, i10.DefaultValueAccessor, i10.NumberValueAccessor, i10.NgControlStatus, i10.NgModel], encapsulation: 2 }); }
|
|
1468
1468
|
}
|
|
1469
1469
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SessionCreateComponent, [{
|
|
1470
1470
|
type: Component,
|
|
1471
|
-
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\"
|
|
1471
|
+
args: [{ selector: 'session-create', standalone: false, template: "<p-dialog [(visible)]=\"showCreateSession\" [modal]=\"flagModal\" (onHide)=\"closeModal()\" (onShow)=\"setSession()\"\n [closeOnEscape]=\"flagModal\" [closable]=\"flagModal\" [blockScroll]=\"true\" [style]=\"{width: '750px'}\">\n\n <ng-template pTemplate=\"header\">\n <a class=\"text-primary\">{{labels.title}}: </a>\n </ng-template>\n\n @if (caja) {\n <div class=\"grid grid-fluid\">\n <div class=\"p-field col-12\">\n <label for=\"nombreCaja\">Nombre de caja: </label>\n <input pInputText type=\"text\" id=\"nombreCaja\" [(ngModel)]=\"caja.nombre\" [disabled]=\"true\">\n </div>\n <div class=\"p-field col-12 md:col-6\">\n <label for=\"saldoCaja\">Saldo: </label>\n <input pInputText type=\"number\" id=\"saldoCaja\" [(ngModel)]=\"session.monto\" [disabled]=\"editMode\">\n </div>\n <div class=\"p-field col-12 md:col-6\">\n <label for=\"numeroZ\">Numero Z:</label>\n <input pInputText type=\"number\" id=\"numeroZ\" [(ngModel)]=\"session.z\" [disabled]=\"true\">\n </div>\n </div>\n }\n\n <div>\n Este agente no esta asignado a una caja\n </div>\n\n <ng-template pTemplate=\"footer\">\n @if (!editMode && caja) {\n <button pButton type=\"button\" label=\"Guardar\" (click)=\"save()\" class=\"p-button-sm\"></button>\n }\n @if (editMode && caja) {\n <button pButton type=\"button\" label=\"Cerrar session\" (click)=\"edit()\" class=\"p-button-sm p-button-success\"></button>\n }\n <button pButton type=\"button\" label=\"Cancelar\" (click)=\"closeModal()\" class=\"p-button-sm p-button-danger\"></button>\n </ng-template>\n\n</p-dialog>" }]
|
|
1472
1472
|
}], () => [{ type: SessionCajaService }], { showCreateSession: [{
|
|
1473
1473
|
type: Input
|
|
1474
1474
|
}], caja: [{
|
|
@@ -1482,7 +1482,7 @@ class SessionCreateComponent {
|
|
|
1482
1482
|
}], success: [{
|
|
1483
1483
|
type: Output
|
|
1484
1484
|
}] }); })();
|
|
1485
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SessionCreateComponent, { className: "SessionCreateComponent" }); })();
|
|
1485
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SessionCreateComponent, { className: "SessionCreateComponent", filePath: "lib/components/caja/session-create/session-create.component.ts", lineNumber: 11 }); })();
|
|
1486
1486
|
|
|
1487
1487
|
class Persona {
|
|
1488
1488
|
constructor() {
|
|
@@ -1530,7 +1530,7 @@ class ClienteService extends CrudService {
|
|
|
1530
1530
|
validar_archivos_bss(id) {
|
|
1531
1531
|
return this.getHttp().get(this.getUrl('/cliente/validarClienteBss/') + id, this.buildAuth());
|
|
1532
1532
|
}
|
|
1533
|
-
/** @nocollapse */ static { this.ɵfac = function ClienteService_Factory(
|
|
1533
|
+
/** @nocollapse */ static { this.ɵfac = function ClienteService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ClienteService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
1534
1534
|
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClienteService, factory: ClienteService.ɵfac, providedIn: 'root' }); }
|
|
1535
1535
|
}
|
|
1536
1536
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClienteService, [{
|
|
@@ -1584,7 +1584,7 @@ class PaginateService {
|
|
|
1584
1584
|
}, erro => { });
|
|
1585
1585
|
return ordenar;
|
|
1586
1586
|
}
|
|
1587
|
-
/** @nocollapse */ static { this.ɵfac = function PaginateService_Factory(
|
|
1587
|
+
/** @nocollapse */ static { this.ɵfac = function PaginateService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PaginateService)(i0.ɵɵinject(i3.TranslateService)); }; }
|
|
1588
1588
|
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: PaginateService, factory: PaginateService.ɵfac, providedIn: "root" }); }
|
|
1589
1589
|
}
|
|
1590
1590
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PaginateService, [{
|
|
@@ -1592,7 +1592,7 @@ class PaginateService {
|
|
|
1592
1592
|
args: [{
|
|
1593
1593
|
providedIn: "root"
|
|
1594
1594
|
}]
|
|
1595
|
-
}], () => [{ type: i3
|
|
1595
|
+
}], () => [{ type: i3.TranslateService }], null); })();
|
|
1596
1596
|
|
|
1597
1597
|
function SelectClienteComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
1598
1598
|
i0.ɵɵelementStart(0, "tr")(1, "th");
|
|
@@ -1633,7 +1633,7 @@ function SelectClienteComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
|
1633
1633
|
i0.ɵɵadvance(3);
|
|
1634
1634
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(18, 16, "Cliente.diasPago"));
|
|
1635
1635
|
} }
|
|
1636
|
-
function
|
|
1636
|
+
function SelectClienteComponent_ng_template_8_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
1637
1637
|
i0.ɵɵelementStart(0, "span");
|
|
1638
1638
|
i0.ɵɵtext(1);
|
|
1639
1639
|
i0.ɵɵpipe(2, "translate");
|
|
@@ -1642,7 +1642,7 @@ function SelectClienteComponent_ng_template_8_span_6_Template(rf, ctx) { if (rf
|
|
|
1642
1642
|
i0.ɵɵadvance();
|
|
1643
1643
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "fisico"));
|
|
1644
1644
|
} }
|
|
1645
|
-
function
|
|
1645
|
+
function SelectClienteComponent_ng_template_8_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
1646
1646
|
i0.ɵɵelementStart(0, "span");
|
|
1647
1647
|
i0.ɵɵtext(1);
|
|
1648
1648
|
i0.ɵɵpipe(2, "translate");
|
|
@@ -1659,7 +1659,8 @@ function SelectClienteComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
|
1659
1659
|
i0.ɵɵtext(4);
|
|
1660
1660
|
i0.ɵɵelementEnd();
|
|
1661
1661
|
i0.ɵɵelementStart(5, "td");
|
|
1662
|
-
i0.ɵɵ
|
|
1662
|
+
i0.ɵɵconditionalCreate(6, SelectClienteComponent_ng_template_8_Conditional_6_Template, 3, 3, "span");
|
|
1663
|
+
i0.ɵɵconditionalCreate(7, SelectClienteComponent_ng_template_8_Conditional_7_Template, 3, 3, "span");
|
|
1663
1664
|
i0.ɵɵelementEnd();
|
|
1664
1665
|
i0.ɵɵelementStart(8, "td");
|
|
1665
1666
|
i0.ɵɵtext(9);
|
|
@@ -1678,9 +1679,9 @@ function SelectClienteComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
|
1678
1679
|
i0.ɵɵadvance(2);
|
|
1679
1680
|
i0.ɵɵtextInterpolate(cliente_r1.descripcionRazonSocial);
|
|
1680
1681
|
i0.ɵɵadvance(2);
|
|
1681
|
-
i0.ɵɵ
|
|
1682
|
+
i0.ɵɵconditional(cliente_r1.personaFisica ? 6 : -1);
|
|
1682
1683
|
i0.ɵɵadvance();
|
|
1683
|
-
i0.ɵɵ
|
|
1684
|
+
i0.ɵɵconditional(cliente_r1.personaMoral ? 7 : -1);
|
|
1684
1685
|
i0.ɵɵadvance(2);
|
|
1685
1686
|
i0.ɵɵtextInterpolate(cliente_r1.limiteCredito);
|
|
1686
1687
|
i0.ɵɵadvance(2);
|
|
@@ -1689,7 +1690,7 @@ function SelectClienteComponent_ng_template_8_Template(rf, ctx) { if (rf & 1) {
|
|
|
1689
1690
|
i0.ɵɵtextInterpolate(cliente_r1.diasPago);
|
|
1690
1691
|
} }
|
|
1691
1692
|
function SelectClienteComponent_ng_template_9_Template(rf, ctx) { if (rf & 1) {
|
|
1692
|
-
i0.ɵɵelementStart(0, "tr")(1, "td",
|
|
1693
|
+
i0.ɵɵelementStart(0, "tr")(1, "td", 9);
|
|
1693
1694
|
i0.ɵɵtext(2);
|
|
1694
1695
|
i0.ɵɵpipe(3, "translate");
|
|
1695
1696
|
i0.ɵɵelementEnd()();
|
|
@@ -1751,8 +1752,8 @@ class SelectClienteComponent {
|
|
|
1751
1752
|
this.select.emit(null);
|
|
1752
1753
|
this.visible = false;
|
|
1753
1754
|
}
|
|
1754
|
-
/** @nocollapse */ static { this.ɵfac = function SelectClienteComponent_Factory(
|
|
1755
|
-
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: SelectClienteComponent, selectors: [["select-cliente"]], inputs: { clienteSeleccionado: "clienteSeleccionado", selectMode: "selectMode", visible: "visible" }, outputs: { select: "select" }, decls: 10, vars:
|
|
1755
|
+
/** @nocollapse */ static { this.ɵfac = function SelectClienteComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SelectClienteComponent)(i0.ɵɵdirectiveInject(ClienteService), i0.ɵɵdirectiveInject(PaginateService)); }; }
|
|
1756
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: SelectClienteComponent, selectors: [["select-cliente"]], inputs: { clienteSeleccionado: "clienteSeleccionado", selectMode: "selectMode", visible: "visible" }, outputs: { select: "select" }, standalone: false, decls: 10, vars: 20, consts: [[3, "visibleChange", "onHide", "onShow", "header", "visible"], [1, "p-inputgroup", "mt-2"], ["type", "text", "pInputText", "", "name", "filtro", 3, "ngModelChange", "keyup", "placeholder", "ngModel"], ["pButton", "", "type", "button", "icon", "pi pi-search", "styleClass", "p-button-secondary", 3, "click"], ["dataKey", "id", "scrollHeight", "350px", 3, "onLazyLoad", "selectionChange", "onRowSelect", "value", "lazy", "paginator", "rows", "totalRecords", "selection", "selectionMode", "scrollable", "loading"], ["pTemplate", "header"], ["pTemplate", "body"], ["pTemplate", "emptymessage"], [3, "pSelectableRow"], ["colspan", "6"]], template: function SelectClienteComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1756
1757
|
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
1757
1758
|
i0.ɵɵpipe(1, "translate");
|
|
1758
1759
|
i0.ɵɵtwoWayListener("visibleChange", function SelectClienteComponent_Template_p_dialog_visibleChange_0_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.visible, $event) || (ctx.visible = $event); return $event; });
|
|
@@ -1772,21 +1773,20 @@ class SelectClienteComponent {
|
|
|
1772
1773
|
i0.ɵɵtemplate(7, SelectClienteComponent_ng_template_7_Template, 19, 18, "ng-template", 5)(8, SelectClienteComponent_ng_template_8_Template, 14, 8, "ng-template", 6)(9, SelectClienteComponent_ng_template_9_Template, 4, 3, "ng-template", 7);
|
|
1773
1774
|
i0.ɵɵelementEnd()();
|
|
1774
1775
|
} if (rf & 2) {
|
|
1775
|
-
i0.ɵɵ
|
|
1776
|
+
i0.ɵɵproperty("header", i0.ɵɵinterpolate(i0.ɵɵpipeBind1(1, 16, "Seleccionar cliente ")));
|
|
1776
1777
|
i0.ɵɵtwoWayProperty("visible", ctx.visible);
|
|
1777
1778
|
i0.ɵɵadvance(3);
|
|
1778
|
-
i0.ɵɵ
|
|
1779
|
+
i0.ɵɵproperty("placeholder", i0.ɵɵinterpolate1("", i0.ɵɵpipeBind1(4, 18, "buscar"), "..."));
|
|
1779
1780
|
i0.ɵɵtwoWayProperty("ngModel", ctx.page.filtro);
|
|
1780
1781
|
i0.ɵɵadvance(3);
|
|
1781
|
-
i0.ɵɵ
|
|
1782
|
-
i0.ɵɵproperty("value", ctx.clientes)("lazy", true)("paginator", true)("rows", ctx.page.rows)("totalRecords", ctx.page.total);
|
|
1782
|
+
i0.ɵɵproperty("selectionMode", i0.ɵɵinterpolate(ctx.selectMode))("value", ctx.clientes)("lazy", true)("paginator", true)("rows", ctx.page.rows)("totalRecords", ctx.page.total);
|
|
1783
1783
|
i0.ɵɵtwoWayProperty("selection", ctx.clienteSeleccionado);
|
|
1784
1784
|
i0.ɵɵproperty("scrollable", true)("loading", ctx.loading);
|
|
1785
|
-
} }, dependencies: [
|
|
1785
|
+
} }, dependencies: [i2.PrimeTemplate, i18.Table, i18.SelectableRow, i6.ButtonDirective, i7.InputText, i9.Dialog, i10.DefaultValueAccessor, i10.NgControlStatus, i10.NgModel, i3.TranslatePipe], encapsulation: 2 }); }
|
|
1786
1786
|
}
|
|
1787
1787
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectClienteComponent, [{
|
|
1788
1788
|
type: Component,
|
|
1789
|
-
args: [{ selector: 'select-cliente', template: "<p-dialog header=\"{{ 'Seleccionar cliente ' | translate }}\" [(visible)]=\"visible\" (onHide)=\"cerrar()\"\n
|
|
1789
|
+
args: [{ selector: 'select-cliente', standalone: false, template: "<p-dialog header=\"{{ 'Seleccionar cliente ' | translate }}\" [(visible)]=\"visible\" (onHide)=\"cerrar()\"\n (onShow)=\"cargarDatosClientes()\">\n\n <div class=\"p-inputgroup mt-2\">\n <input type=\"text\" pInputText placeholder=\"{{'buscar'| translate}}...\"\n [(ngModel)]=\"page.filtro\" name=\"filtro\" (keyup)=\"aplicarFiltro()\">\n <button pButton type=\"button\" icon=\"pi pi-search\" styleClass=\"p-button-secondary\" (click)=\"aplicarFiltro()\"></button>\n </div>\n\n <p-table\n [value]=\"clientes\"\n dataKey=\"id\" [lazy]=\"true\"\n (onLazyLoad)=\"cargarDatosClientes($event)\"\n [paginator]=\"true\"\n [rows]=\"page.rows\"\n [totalRecords]=\"page.total\"\n [(selection)]=\"clienteSeleccionado\"\n selectionMode=\"{{selectMode}}\"\n (onRowSelect)=\"seleccionaCliente($event)\"\n [scrollable]=\"true\" scrollHeight=\"350px\"\n [loading]=\"loading\">\n <ng-template pTemplate=\"header\">\n <tr>\n <th>{{'clave' | translate}}</th>\n <th>{{'razonSocial' | translate}}</th>\n <th>{{'tipo' | translate}}</th>\n <th>{{'Cliente.limiteCredito' | translate}}</th>\n <th>{{'Cliente.plazoCredito' | translate}}</th>\n <th>{{'Cliente.diasPago' | translate}}</th>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-cliente>\n <tr [pSelectableRow]=\"cliente\">\n <td>{{cliente.codigo}}</td>\n <td>{{cliente.descripcionRazonSocial}}</td>\n <td>\n @if (cliente.personaFisica) {\n <span>{{'fisico'| translate}}</span>\n }\n @if (cliente.personaMoral) {\n <span>{{'moral'| translate}}</span>\n }\n </td>\n <td>{{cliente.limiteCredito}}</td>\n <td>{{cliente.plazoCredito}}</td>\n <td>{{cliente.diasPago}}</td>\n </tr>\n </ng-template>\n <ng-template pTemplate=\"emptymessage\">\n <tr>\n <td colspan=\"6\">{{'general.noRegistros' | translate}}</td>\n </tr>\n </ng-template>\n </p-table>\n\n</p-dialog>" }]
|
|
1790
1790
|
}], () => [{ type: ClienteService }, { type: PaginateService }], { clienteSeleccionado: [{
|
|
1791
1791
|
type: Input
|
|
1792
1792
|
}], selectMode: [{
|
|
@@ -1796,7 +1796,7 @@ class SelectClienteComponent {
|
|
|
1796
1796
|
}], select: [{
|
|
1797
1797
|
type: Output
|
|
1798
1798
|
}] }); })();
|
|
1799
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SelectClienteComponent, { className: "SelectClienteComponent" }); })();
|
|
1799
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SelectClienteComponent, { className: "SelectClienteComponent", filePath: "lib/components/cliente/select/select-cliente.component.ts", lineNumber: 12 }); })();
|
|
1800
1800
|
|
|
1801
1801
|
class ClasificadorTipo {
|
|
1802
1802
|
constructor() { }
|
|
@@ -1816,7 +1816,7 @@ class ProveedorService extends CrudService {
|
|
|
1816
1816
|
super(httpClient, '/proveedor');
|
|
1817
1817
|
this.httpClient = httpClient;
|
|
1818
1818
|
}
|
|
1819
|
-
/** @nocollapse */ static { this.ɵfac = function ProveedorService_Factory(
|
|
1819
|
+
/** @nocollapse */ static { this.ɵfac = function ProveedorService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ProveedorService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
1820
1820
|
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ProveedorService, factory: ProveedorService.ɵfac, providedIn: 'root' }); }
|
|
1821
1821
|
}
|
|
1822
1822
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProveedorService, [{
|
|
@@ -1905,8 +1905,8 @@ class SelectProveedorComponent {
|
|
|
1905
1905
|
this.select.emit(e.data);
|
|
1906
1906
|
this.visible = false;
|
|
1907
1907
|
}
|
|
1908
|
-
/** @nocollapse */ static { this.ɵfac = function SelectProveedorComponent_Factory(
|
|
1909
|
-
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: SelectProveedorComponent, selectors: [["select-proveedor"]], inputs: { visible: "visible", proveedorSeleccionado: "proveedorSeleccionado" }, outputs: { select: "select" }, decls: 10, vars:
|
|
1908
|
+
/** @nocollapse */ static { this.ɵfac = function SelectProveedorComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SelectProveedorComponent)(i0.ɵɵdirectiveInject(ProveedorService), i0.ɵɵdirectiveInject(PaginateService), i0.ɵɵdirectiveInject(i3.TranslateService)); }; }
|
|
1909
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: SelectProveedorComponent, selectors: [["select-proveedor"]], inputs: { visible: "visible", proveedorSeleccionado: "proveedorSeleccionado" }, outputs: { select: "select" }, standalone: false, decls: 10, vars: 18, consts: [[3, "visibleChange", "onHide", "onShow", "header", "visible"], [1, "p-inputgroup", "mt-2"], ["type", "text", "pInputText", "", "name", "filtro", 3, "ngModelChange", "change", "placeholder", "ngModel"], ["pButton", "", "type", "button", "icon", "pi pi-search", "styleClass", "p-button-secondary", 3, "click"], ["selectionMode", "single", "scrollHeight", "350px", 3, "valueChange", "selectionChange", "onRowSelect", "value", "selection", "scrollable"], ["pTemplate", "header"], ["pTemplate", "body"], [3, "onPageChange", "rows", "totalRecords", "pageLinkSize", "rowsPerPageOptions"]], template: function SelectProveedorComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1910
1910
|
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
1911
1911
|
i0.ɵɵpipe(1, "translate");
|
|
1912
1912
|
i0.ɵɵtwoWayListener("visibleChange", function SelectProveedorComponent_Template_p_dialog_visibleChange_0_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.visible, $event) || (ctx.visible = $event); return $event; });
|
|
@@ -1928,29 +1928,29 @@ class SelectProveedorComponent {
|
|
|
1928
1928
|
i0.ɵɵlistener("onPageChange", function SelectProveedorComponent_Template_p_paginator_onPageChange_9_listener($event) { return ctx.pagina($event); });
|
|
1929
1929
|
i0.ɵɵelementEnd()();
|
|
1930
1930
|
} if (rf & 2) {
|
|
1931
|
-
i0.ɵɵ
|
|
1931
|
+
i0.ɵɵproperty("header", i0.ɵɵinterpolate(i0.ɵɵpipeBind1(1, 13, "ArticuloProveedor.proveedores")));
|
|
1932
1932
|
i0.ɵɵtwoWayProperty("visible", ctx.visible);
|
|
1933
1933
|
i0.ɵɵadvance(3);
|
|
1934
|
-
i0.ɵɵ
|
|
1934
|
+
i0.ɵɵproperty("placeholder", i0.ɵɵinterpolate1("", i0.ɵɵpipeBind1(4, 15, "buscar"), "..."));
|
|
1935
1935
|
i0.ɵɵtwoWayProperty("ngModel", ctx.page.filtro);
|
|
1936
1936
|
i0.ɵɵadvance(3);
|
|
1937
1937
|
i0.ɵɵtwoWayProperty("value", ctx.proveedores)("selection", ctx.proveedorSeleccionado);
|
|
1938
1938
|
i0.ɵɵproperty("scrollable", true);
|
|
1939
1939
|
i0.ɵɵadvance(3);
|
|
1940
|
-
i0.ɵɵproperty("rows", ctx.page.rows)("totalRecords", ctx.page.total)("pageLinkSize", 5)("rowsPerPageOptions", i0.ɵɵpureFunction0(
|
|
1941
|
-
} }, dependencies: [
|
|
1940
|
+
i0.ɵɵproperty("rows", ctx.page.rows)("totalRecords", ctx.page.total)("pageLinkSize", 5)("rowsPerPageOptions", i0.ɵɵpureFunction0(17, _c0$3));
|
|
1941
|
+
} }, dependencies: [i2.PrimeTemplate, i18.Table, i6.ButtonDirective, i7.InputText, i8.Paginator, i9.Dialog, i10.DefaultValueAccessor, i10.NgControlStatus, i10.NgModel, i3.TranslatePipe], encapsulation: 2 }); }
|
|
1942
1942
|
}
|
|
1943
1943
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectProveedorComponent, [{
|
|
1944
1944
|
type: Component,
|
|
1945
|
-
args: [{ 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>" }]
|
|
1946
|
-
}], () => [{ type: ProveedorService }, { type: PaginateService }, { type: i3
|
|
1945
|
+
args: [{ selector: 'select-proveedor', standalone: false, template: "<p-dialog header=\"{{'ArticuloProveedor.proveedores' | translate}}\" [(visible)]=\"visible\" (onHide)=\"cerrarModal()\"\n (onShow)=\"cargarDatosProveedores()\">\n\n <div class=\"p-inputgroup mt-2\">\n <input type=\"text\" pInputText placeholder=\"{{'buscar'| translate}}...\"\n [(ngModel)]=\"page.filtro\" name=\"filtro\" (change)=\"cargarDatosProveedores()\">\n <button pButton type=\"button\" icon=\"pi pi-search\" styleClass=\"p-button-secondary\" (click)=\"cargarDatosProveedores()\"></button>\n </div>\n\n <p-table [(value)]=\"proveedores\" selectionMode=\"single\" [(selection)]=\"proveedorSeleccionado\"\n [scrollable]=\"true\" scrollHeight=\"350px\" (onRowSelect)=\"seleccionarProveedor($event)\">\n <ng-template pTemplate=\"header\">\n <tr>\n <th>{{'clave' | translate}}</th>\n <th>{{'razonSocial' | translate}}</th>\n <th>{{'rfc' | translate}}</th>\n </tr>\n </ng-template> \n <ng-template pTemplate=\"body\" let-proveedor=\"rowData\">\n <tr>\n <td>{{proveedor.codigo}}</td>\n <td>{{proveedor.descripcionRazonSocial}}</td>\n <td>{{proveedor.descripcionRfc}}</td>\n </tr>\n </ng-template>\n </p-table>\n\n <p-paginator [rows]=\"page.rows\" [totalRecords]=\"page.total\" [pageLinkSize]=\"5\"\n (onPageChange)=\"pagina($event)\" [rowsPerPageOptions]=\"[10,25,50,100,500]\"></p-paginator>\n\n</p-dialog>" }]
|
|
1946
|
+
}], () => [{ type: ProveedorService }, { type: PaginateService }, { type: i3.TranslateService }], { visible: [{
|
|
1947
1947
|
type: Input
|
|
1948
1948
|
}], proveedorSeleccionado: [{
|
|
1949
1949
|
type: Input
|
|
1950
1950
|
}], select: [{
|
|
1951
1951
|
type: Output
|
|
1952
1952
|
}] }); })();
|
|
1953
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SelectProveedorComponent, { className: "SelectProveedorComponent" }); })();
|
|
1953
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SelectProveedorComponent, { className: "SelectProveedorComponent", filePath: "lib/components/proveedor/select/select-proveedor.component.ts", lineNumber: 11 }); })();
|
|
1954
1954
|
|
|
1955
1955
|
class AlmacenService extends CrudService {
|
|
1956
1956
|
constructor(httpClient) {
|
|
@@ -1961,7 +1961,7 @@ class AlmacenService extends CrudService {
|
|
|
1961
1961
|
let url = this.geturl() + '/obtenerAlmacenEmpresa';
|
|
1962
1962
|
return this.getHttp().get(url, this.buildAuth());
|
|
1963
1963
|
}
|
|
1964
|
-
/** @nocollapse */ static { this.ɵfac = function AlmacenService_Factory(
|
|
1964
|
+
/** @nocollapse */ static { this.ɵfac = function AlmacenService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AlmacenService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
1965
1965
|
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AlmacenService, factory: AlmacenService.ɵfac, providedIn: 'root' }); }
|
|
1966
1966
|
}
|
|
1967
1967
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AlmacenService, [{
|
|
@@ -1987,7 +1987,7 @@ class StockService extends CrudService {
|
|
|
1987
1987
|
});
|
|
1988
1988
|
return promesa;
|
|
1989
1989
|
}
|
|
1990
|
-
/** @nocollapse */ static { this.ɵfac = function StockService_Factory(
|
|
1990
|
+
/** @nocollapse */ static { this.ɵfac = function StockService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || StockService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
1991
1991
|
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: StockService, factory: StockService.ɵfac, providedIn: 'root' }); }
|
|
1992
1992
|
}
|
|
1993
1993
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(StockService, [{
|
|
@@ -2006,7 +2006,7 @@ class ArticuloInformacionService extends CrudService {
|
|
|
2006
2006
|
let uRL = "/existenciasArticulo/" + articulo;
|
|
2007
2007
|
return this.httpClient.get(this.geturl() + uRL, this.buildAuth());
|
|
2008
2008
|
}
|
|
2009
|
-
/** @nocollapse */ static { this.ɵfac = function ArticuloInformacionService_Factory(
|
|
2009
|
+
/** @nocollapse */ static { this.ɵfac = function ArticuloInformacionService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ArticuloInformacionService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
2010
2010
|
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ArticuloInformacionService, factory: ArticuloInformacionService.ɵfac, providedIn: 'root' }); }
|
|
2011
2011
|
}
|
|
2012
2012
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ArticuloInformacionService, [{
|
|
@@ -2018,7 +2018,7 @@ class ArticuloInformacionService extends CrudService {
|
|
|
2018
2018
|
|
|
2019
2019
|
const _c0$2 = a0 => ({ "width": a0, "min-width": "200px" });
|
|
2020
2020
|
const _c1$1 = () => ({ width: "600px" });
|
|
2021
|
-
function
|
|
2021
|
+
function SeleccionArticuloInformacionComponent_ng_template_2_For_2_Template(rf, ctx) { if (rf & 1) {
|
|
2022
2022
|
i0.ɵɵelement(0, "col");
|
|
2023
2023
|
} if (rf & 2) {
|
|
2024
2024
|
const col_r1 = ctx.$implicit;
|
|
@@ -2026,15 +2026,15 @@ function SeleccionArticuloInformacionComponent_ng_template_2_col_1_Template(rf,
|
|
|
2026
2026
|
} }
|
|
2027
2027
|
function SeleccionArticuloInformacionComponent_ng_template_2_Template(rf, ctx) { if (rf & 1) {
|
|
2028
2028
|
i0.ɵɵelementStart(0, "colgroup");
|
|
2029
|
-
i0.ɵɵ
|
|
2029
|
+
i0.ɵɵrepeaterCreate(1, SeleccionArticuloInformacionComponent_ng_template_2_For_2_Template, 1, 2, "col", 6, i0.ɵɵrepeaterTrackByIdentity);
|
|
2030
2030
|
i0.ɵɵelementEnd();
|
|
2031
2031
|
} if (rf & 2) {
|
|
2032
2032
|
const columns_r2 = ctx.$implicit;
|
|
2033
2033
|
i0.ɵɵadvance();
|
|
2034
|
-
i0.ɵɵ
|
|
2034
|
+
i0.ɵɵrepeater(columns_r2);
|
|
2035
2035
|
} }
|
|
2036
|
-
function
|
|
2037
|
-
i0.ɵɵelementStart(0, "th",
|
|
2036
|
+
function SeleccionArticuloInformacionComponent_ng_template_3_For_2_Template(rf, ctx) { if (rf & 1) {
|
|
2037
|
+
i0.ɵɵelementStart(0, "th", 7);
|
|
2038
2038
|
i0.ɵɵtext(1);
|
|
2039
2039
|
i0.ɵɵelementEnd();
|
|
2040
2040
|
} if (rf & 2) {
|
|
@@ -2044,12 +2044,12 @@ function SeleccionArticuloInformacionComponent_ng_template_3_th_1_Template(rf, c
|
|
|
2044
2044
|
} }
|
|
2045
2045
|
function SeleccionArticuloInformacionComponent_ng_template_3_Template(rf, ctx) { if (rf & 1) {
|
|
2046
2046
|
i0.ɵɵelementStart(0, "tr");
|
|
2047
|
-
i0.ɵɵ
|
|
2047
|
+
i0.ɵɵrepeaterCreate(1, SeleccionArticuloInformacionComponent_ng_template_3_For_2_Template, 2, 1, "th", 7, i0.ɵɵrepeaterTrackByIdentity);
|
|
2048
2048
|
i0.ɵɵelementEnd();
|
|
2049
2049
|
} if (rf & 2) {
|
|
2050
2050
|
const columns_r4 = ctx.$implicit;
|
|
2051
2051
|
i0.ɵɵadvance();
|
|
2052
|
-
i0.ɵɵ
|
|
2052
|
+
i0.ɵɵrepeater(columns_r4);
|
|
2053
2053
|
} }
|
|
2054
2054
|
function SeleccionArticuloInformacionComponent_ng_template_4_Template(rf, ctx) { if (rf & 1) {
|
|
2055
2055
|
i0.ɵɵelementStart(0, "tr")(1, "td");
|
|
@@ -2082,7 +2082,7 @@ function SeleccionArticuloInformacionComponent_ng_template_4_Template(rf, ctx) {
|
|
|
2082
2082
|
} }
|
|
2083
2083
|
function SeleccionArticuloInformacionComponent_ng_template_5_Template(rf, ctx) { if (rf & 1) {
|
|
2084
2084
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
2085
|
-
i0.ɵɵelementStart(0, "div",
|
|
2085
|
+
i0.ɵɵelementStart(0, "div", 8)(1, "button", 9);
|
|
2086
2086
|
i0.ɵɵlistener("click", function SeleccionArticuloInformacionComponent_ng_template_5_Template_button_click_1_listener() { i0.ɵɵrestoreView(_r6); const ctx_r6 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r6.hiddenDialog()); });
|
|
2087
2087
|
i0.ɵɵelementEnd()();
|
|
2088
2088
|
} }
|
|
@@ -2125,30 +2125,30 @@ class SeleccionArticuloInformacionComponent {
|
|
|
2125
2125
|
onSelectedUbicacion(ubicacionRow) {
|
|
2126
2126
|
this.eventSelection.emit({ status: false, ubicacion: ubicacionRow });
|
|
2127
2127
|
}
|
|
2128
|
-
/** @nocollapse */ static { this.ɵfac = function SeleccionArticuloInformacionComponent_Factory(
|
|
2129
|
-
/** @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:
|
|
2128
|
+
/** @nocollapse */ static { this.ɵfac = function SeleccionArticuloInformacionComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SeleccionArticuloInformacionComponent)(i0.ɵɵdirectiveInject(ArticuloInformacionService)); }; }
|
|
2129
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: SeleccionArticuloInformacionComponent, selectors: [["lib-seleccion-articulo-informacion"]], inputs: { showModal: "showModal", articulo: "articulo" }, outputs: { eventSelection: "eventSelection" }, standalone: false, decls: 6, vars: 18, consts: [[3, "onShow", "visibleChange", "onHide", "resize", "header", "visible", "modal", "minY", "baseZIndex", "draggable", "blockScroll", "maximizable"], ["responsiveLayout", "scroll", "scrollHeight", "350px", 3, "columns", "value", "scrollable"], ["pTemplate", "colgroup"], ["pTemplate", "header"], ["pTemplate", "body"], ["pTemplate", "footer"], [3, "width"], ["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) {
|
|
2130
2130
|
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
2131
2131
|
i0.ɵɵlistener("onShow", function SeleccionArticuloInformacionComponent_Template_p_dialog_onShow_0_listener() { return ctx.OnShow(); });
|
|
2132
2132
|
i0.ɵɵtwoWayListener("visibleChange", function SeleccionArticuloInformacionComponent_Template_p_dialog_visibleChange_0_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.showModal, $event) || (ctx.showModal = $event); return $event; });
|
|
2133
|
-
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); },
|
|
2133
|
+
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); }, i0.ɵɵresolveWindow);
|
|
2134
2134
|
i0.ɵɵelementStart(1, "p-table", 1);
|
|
2135
|
-
i0.ɵɵtemplate(2, SeleccionArticuloInformacionComponent_ng_template_2_Template,
|
|
2135
|
+
i0.ɵɵtemplate(2, SeleccionArticuloInformacionComponent_ng_template_2_Template, 3, 0, "ng-template", 2)(3, SeleccionArticuloInformacionComponent_ng_template_3_Template, 3, 0, "ng-template", 3)(4, SeleccionArticuloInformacionComponent_ng_template_4_Template, 11, 5, "ng-template", 4);
|
|
2136
2136
|
i0.ɵɵelementEnd();
|
|
2137
2137
|
i0.ɵɵtemplate(5, SeleccionArticuloInformacionComponent_ng_template_5_Template, 2, 0, "ng-template", 5);
|
|
2138
2138
|
i0.ɵɵelementEnd();
|
|
2139
2139
|
} if (rf & 2) {
|
|
2140
|
-
i0.ɵɵstyleMap(i0.ɵɵpureFunction1(
|
|
2140
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction1(15, _c0$2, ctx.size + "px"));
|
|
2141
2141
|
i0.ɵɵproperty("header", ctx.titulo);
|
|
2142
2142
|
i0.ɵɵtwoWayProperty("visible", ctx.showModal);
|
|
2143
|
-
i0.ɵɵproperty("modal", ctx.flagModal)("minY", 70)("baseZIndex", 10000)("draggable", false)("blockScroll", true)("maximizable", true)
|
|
2143
|
+
i0.ɵɵproperty("modal", ctx.flagModal)("minY", 70)("baseZIndex", 10000)("draggable", false)("blockScroll", true)("maximizable", true);
|
|
2144
2144
|
i0.ɵɵadvance();
|
|
2145
|
-
i0.ɵɵstyleMap(i0.ɵɵpureFunction0(
|
|
2145
|
+
i0.ɵɵstyleMap(i0.ɵɵpureFunction0(17, _c1$1));
|
|
2146
2146
|
i0.ɵɵproperty("columns", ctx.columnsData)("value", ctx.existenciasList)("scrollable", true);
|
|
2147
|
-
} }, dependencies: [
|
|
2147
|
+
} }, dependencies: [i2.PrimeTemplate, i18.Table, i18.ResizableColumn, i6.ButtonDirective, i9.Dialog], encapsulation: 2 }); }
|
|
2148
2148
|
}
|
|
2149
2149
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SeleccionArticuloInformacionComponent, [{
|
|
2150
2150
|
type: Component,
|
|
2151
|
-
args: [{ selector: 'lib-seleccion-articulo-informacion', template: "<p-dialog (onShow)=\"OnShow()\" [header]=\"titulo\" [(visible)]=\"showModal\" [modal]=\"flagModal\"
|
|
2151
|
+
args: [{ selector: 'lib-seleccion-articulo-informacion', standalone: false, template: "<p-dialog (onShow)=\"OnShow()\" [header]=\"titulo\" [(visible)]=\"showModal\" [modal]=\"flagModal\"\n [style]=\"{'width': size+'px', 'min-width': '200px'}\" [minY]=\"70\"\n [baseZIndex]=\"10000\" (onHide)=\"hiddenDialog()\" [draggable]=\"false\"\n [blockScroll]=\"true\"\n (window:resize)=\"OnResize($event)\" [maximizable]=\"true\" >\n <p-table [columns]=\"columnsData\" [value]=\"existenciasList\" [scrollable]=\"true\" [style]=\"{width: '600px'}\"\n responsiveLayout=\"scroll\"\n scrollHeight=\"350px\"\n >\n <ng-template pTemplate=\"colgroup\" let-columns>\n <colgroup>\n @for (col of columns; track col) {\n <col [style.width]=\"col.width\">\n }\n </colgroup>\n </ng-template>\n <ng-template pTemplate=\"header\" let-columns>\n <tr>\n @for (col of columns; track col) {\n <th pResizableColumn>\n {{col.header}}\n </th>\n }\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-rowData let-columns=\"columns\" let-rowIndex=\"rowIndex\">\n <tr>\n <td>{{rowData.almacenCodigo}}</td>\n <td>{{rowData.almacenDescripcion}}</td>\n <td>{{rowData.ubicacionCodigo}}</td>\n <td>{{rowData.ubicacionDescripcion}}</td>\n <td>{{rowData.existencia}}</td>\n </tr>\n </ng-template>\n</p-table>\n\n<ng-template pTemplate=\"footer\">\n <div class=\"container-end\">\n <button pButton type=\"button\" icon=\"pi pi-replay\" label=\"Cerrar\" class=\"ui-button-raised ui-button-secondary\" (click)=\"hiddenDialog()\"></button>\n </div>\n</ng-template>\n</p-dialog>" }]
|
|
2152
2152
|
}], () => [{ type: ArticuloInformacionService }], { showModal: [{
|
|
2153
2153
|
type: Input
|
|
2154
2154
|
}], articulo: [{
|
|
@@ -2156,62 +2156,62 @@ class SeleccionArticuloInformacionComponent {
|
|
|
2156
2156
|
}], eventSelection: [{
|
|
2157
2157
|
type: Output
|
|
2158
2158
|
}] }); })();
|
|
2159
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SeleccionArticuloInformacionComponent, { className: "SeleccionArticuloInformacionComponent" }); })();
|
|
2159
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SeleccionArticuloInformacionComponent, { className: "SeleccionArticuloInformacionComponent", filePath: "lib/components/seleccion-articulo-informacion/seleccion-articulo-informacion.component.ts", lineNumber: 12 }); })();
|
|
2160
2160
|
|
|
2161
2161
|
const _c0$1 = a0 => ({ "width": a0, "min-width": "200px" });
|
|
2162
2162
|
const _c1 = () => [10, 25, 50, 100, 500];
|
|
2163
|
-
function
|
|
2164
|
-
i0.ɵɵelementStart(0, "option",
|
|
2163
|
+
function SeleccionaArticuloComponent_For_24_Template(rf, ctx) { if (rf & 1) {
|
|
2164
|
+
i0.ɵɵelementStart(0, "option", 16);
|
|
2165
2165
|
i0.ɵɵtext(1);
|
|
2166
2166
|
i0.ɵɵelementEnd();
|
|
2167
2167
|
} if (rf & 2) {
|
|
2168
2168
|
const almacen_r2 = ctx.$implicit;
|
|
2169
|
-
i0.ɵɵ
|
|
2169
|
+
i0.ɵɵproperty("value", i0.ɵɵinterpolate(almacen_r2.id));
|
|
2170
2170
|
i0.ɵɵadvance();
|
|
2171
2171
|
i0.ɵɵtextInterpolate(almacen_r2.descripcion);
|
|
2172
2172
|
} }
|
|
2173
|
-
function
|
|
2174
|
-
i0.ɵɵelementStart(0, "th",
|
|
2173
|
+
function SeleccionaArticuloComponent_ng_template_27_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
2174
|
+
i0.ɵɵelementStart(0, "th", 25);
|
|
2175
2175
|
i0.ɵɵtext(1, "existenciaSecundaria");
|
|
2176
2176
|
i0.ɵɵelementEnd();
|
|
2177
2177
|
} }
|
|
2178
|
-
function
|
|
2179
|
-
i0.ɵɵelementStart(0, "th",
|
|
2178
|
+
function SeleccionaArticuloComponent_ng_template_27_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
2179
|
+
i0.ɵɵelementStart(0, "th", 24);
|
|
2180
2180
|
i0.ɵɵtext(1, "Unidad");
|
|
2181
2181
|
i0.ɵɵelementEnd();
|
|
2182
2182
|
} }
|
|
2183
|
-
function
|
|
2184
|
-
i0.ɵɵelementStart(0, "th",
|
|
2183
|
+
function SeleccionaArticuloComponent_ng_template_27_Conditional_14_Template(rf, ctx) { if (rf & 1) {
|
|
2184
|
+
i0.ɵɵelementStart(0, "th", 22);
|
|
2185
2185
|
i0.ɵɵtext(1, "Precio");
|
|
2186
2186
|
i0.ɵɵelementEnd();
|
|
2187
2187
|
} }
|
|
2188
|
-
function
|
|
2189
|
-
i0.ɵɵelementStart(0, "th",
|
|
2188
|
+
function SeleccionaArticuloComponent_ng_template_27_Conditional_15_Template(rf, ctx) { if (rf & 1) {
|
|
2189
|
+
i0.ɵɵelementStart(0, "th", 22);
|
|
2190
2190
|
i0.ɵɵtext(1, "Precio 2");
|
|
2191
2191
|
i0.ɵɵelementEnd();
|
|
2192
2192
|
} }
|
|
2193
|
-
function
|
|
2194
|
-
i0.ɵɵelementStart(0, "th",
|
|
2193
|
+
function SeleccionaArticuloComponent_ng_template_27_Conditional_16_Template(rf, ctx) { if (rf & 1) {
|
|
2194
|
+
i0.ɵɵelementStart(0, "th", 22);
|
|
2195
2195
|
i0.ɵɵtext(1, "Precio 3");
|
|
2196
2196
|
i0.ɵɵelementEnd();
|
|
2197
2197
|
} }
|
|
2198
|
-
function
|
|
2199
|
-
i0.ɵɵelementStart(0, "th",
|
|
2198
|
+
function SeleccionaArticuloComponent_ng_template_27_Conditional_17_Template(rf, ctx) { if (rf & 1) {
|
|
2199
|
+
i0.ɵɵelementStart(0, "th", 22);
|
|
2200
2200
|
i0.ɵɵtext(1, "Precio 4");
|
|
2201
2201
|
i0.ɵɵelementEnd();
|
|
2202
2202
|
} }
|
|
2203
|
-
function
|
|
2204
|
-
i0.ɵɵelementStart(0, "th",
|
|
2203
|
+
function SeleccionaArticuloComponent_ng_template_27_Conditional_18_Template(rf, ctx) { if (rf & 1) {
|
|
2204
|
+
i0.ɵɵelementStart(0, "th", 22);
|
|
2205
2205
|
i0.ɵɵtext(1, "Precio 5");
|
|
2206
2206
|
i0.ɵɵelementEnd();
|
|
2207
2207
|
} }
|
|
2208
|
-
function
|
|
2209
|
-
i0.ɵɵelementStart(0, "th",
|
|
2208
|
+
function SeleccionaArticuloComponent_ng_template_27_Conditional_19_Template(rf, ctx) { if (rf & 1) {
|
|
2209
|
+
i0.ɵɵelementStart(0, "th", 24);
|
|
2210
2210
|
i0.ɵɵtext(1, "Movimiento.costo");
|
|
2211
2211
|
i0.ɵɵelementEnd();
|
|
2212
2212
|
} }
|
|
2213
|
-
function
|
|
2214
|
-
i0.ɵɵelementStart(0, "th",
|
|
2213
|
+
function SeleccionaArticuloComponent_ng_template_27_For_23_Template(rf, ctx) { if (rf & 1) {
|
|
2214
|
+
i0.ɵɵelementStart(0, "th", 22);
|
|
2215
2215
|
i0.ɵɵtext(1);
|
|
2216
2216
|
i0.ɵɵelementEnd();
|
|
2217
2217
|
} if (rf & 2) {
|
|
@@ -2219,58 +2219,64 @@ function SeleccionaArticuloComponent_ng_template_26_th_22_Template(rf, ctx) { if
|
|
|
2219
2219
|
i0.ɵɵadvance();
|
|
2220
2220
|
i0.ɵɵtextInterpolate(item_r3.descripcion);
|
|
2221
2221
|
} }
|
|
2222
|
-
function
|
|
2223
|
-
i0.ɵɵelementStart(0, "tr")(1, "th",
|
|
2222
|
+
function SeleccionaArticuloComponent_ng_template_27_Template(rf, ctx) { if (rf & 1) {
|
|
2223
|
+
i0.ɵɵelementStart(0, "tr")(1, "th", 22);
|
|
2224
2224
|
i0.ɵɵtext(2, "C\u00F3digo Ubicacion");
|
|
2225
2225
|
i0.ɵɵelementEnd();
|
|
2226
|
-
i0.ɵɵelementStart(3, "th",
|
|
2226
|
+
i0.ɵɵelementStart(3, "th", 23);
|
|
2227
2227
|
i0.ɵɵtext(4, "Existencia");
|
|
2228
2228
|
i0.ɵɵelementEnd();
|
|
2229
|
-
i0.ɵɵelementStart(5, "th",
|
|
2229
|
+
i0.ɵɵelementStart(5, "th", 24);
|
|
2230
2230
|
i0.ɵɵtext(6, "Unidad");
|
|
2231
2231
|
i0.ɵɵelementEnd();
|
|
2232
|
-
i0.ɵɵ
|
|
2233
|
-
i0.ɵɵ
|
|
2232
|
+
i0.ɵɵconditionalCreate(7, SeleccionaArticuloComponent_ng_template_27_Conditional_7_Template, 2, 0, "th", 25);
|
|
2233
|
+
i0.ɵɵconditionalCreate(8, SeleccionaArticuloComponent_ng_template_27_Conditional_8_Template, 2, 0, "th", 24);
|
|
2234
|
+
i0.ɵɵelementStart(9, "th", 22);
|
|
2234
2235
|
i0.ɵɵtext(10, "C\u00F3digo");
|
|
2235
2236
|
i0.ɵɵelementEnd();
|
|
2236
|
-
i0.ɵɵelementStart(11, "th",
|
|
2237
|
+
i0.ɵɵelementStart(11, "th", 26);
|
|
2237
2238
|
i0.ɵɵtext(12, "Descripcion");
|
|
2238
2239
|
i0.ɵɵelementEnd();
|
|
2239
|
-
i0.ɵɵelement(13, "th",
|
|
2240
|
-
i0.ɵɵ
|
|
2241
|
-
i0.ɵɵ
|
|
2240
|
+
i0.ɵɵelement(13, "th", 24);
|
|
2241
|
+
i0.ɵɵconditionalCreate(14, SeleccionaArticuloComponent_ng_template_27_Conditional_14_Template, 2, 0, "th", 22);
|
|
2242
|
+
i0.ɵɵconditionalCreate(15, SeleccionaArticuloComponent_ng_template_27_Conditional_15_Template, 2, 0, "th", 22);
|
|
2243
|
+
i0.ɵɵconditionalCreate(16, SeleccionaArticuloComponent_ng_template_27_Conditional_16_Template, 2, 0, "th", 22);
|
|
2244
|
+
i0.ɵɵconditionalCreate(17, SeleccionaArticuloComponent_ng_template_27_Conditional_17_Template, 2, 0, "th", 22);
|
|
2245
|
+
i0.ɵɵconditionalCreate(18, SeleccionaArticuloComponent_ng_template_27_Conditional_18_Template, 2, 0, "th", 22);
|
|
2246
|
+
i0.ɵɵconditionalCreate(19, SeleccionaArticuloComponent_ng_template_27_Conditional_19_Template, 2, 0, "th", 24);
|
|
2247
|
+
i0.ɵɵelementStart(20, "th", 24);
|
|
2242
2248
|
i0.ɵɵtext(21, "Existencia por Unidad");
|
|
2243
2249
|
i0.ɵɵelementEnd();
|
|
2244
|
-
i0.ɵɵ
|
|
2250
|
+
i0.ɵɵrepeaterCreate(22, SeleccionaArticuloComponent_ng_template_27_For_23_Template, 2, 1, "th", 22, i0.ɵɵrepeaterTrackByIdentity);
|
|
2245
2251
|
i0.ɵɵelementEnd();
|
|
2246
2252
|
} if (rf & 2) {
|
|
2247
2253
|
const ctx_r3 = i0.ɵɵnextContext();
|
|
2248
2254
|
i0.ɵɵadvance(7);
|
|
2249
|
-
i0.ɵɵ
|
|
2255
|
+
i0.ɵɵconditional(ctx_r3.manejaUnidadSecundaria ? 7 : -1);
|
|
2250
2256
|
i0.ɵɵadvance();
|
|
2251
|
-
i0.ɵɵ
|
|
2257
|
+
i0.ɵɵconditional(ctx_r3.manejaUnidadSecundaria ? 8 : -1);
|
|
2252
2258
|
i0.ɵɵadvance(6);
|
|
2253
|
-
i0.ɵɵ
|
|
2259
|
+
i0.ɵɵconditional(ctx_r3.configuracion.tipoPrecio !== "costo" ? 14 : -1);
|
|
2254
2260
|
i0.ɵɵadvance();
|
|
2255
|
-
i0.ɵɵ
|
|
2261
|
+
i0.ɵɵconditional(ctx_r3.configuracion.tipoPrecio !== "costo" ? 15 : -1);
|
|
2256
2262
|
i0.ɵɵadvance();
|
|
2257
|
-
i0.ɵɵ
|
|
2263
|
+
i0.ɵɵconditional(ctx_r3.configuracion.tipoPrecio !== "costo" ? 16 : -1);
|
|
2258
2264
|
i0.ɵɵadvance();
|
|
2259
|
-
i0.ɵɵ
|
|
2265
|
+
i0.ɵɵconditional(ctx_r3.configuracion.tipoPrecio !== "costo" ? 17 : -1);
|
|
2260
2266
|
i0.ɵɵadvance();
|
|
2261
|
-
i0.ɵɵ
|
|
2267
|
+
i0.ɵɵconditional(ctx_r3.configuracion.tipoPrecio !== "costo" ? 18 : -1);
|
|
2262
2268
|
i0.ɵɵadvance();
|
|
2263
|
-
i0.ɵɵ
|
|
2269
|
+
i0.ɵɵconditional(ctx_r3.configuracion.tipoPrecio === "costo" ? 19 : -1);
|
|
2264
2270
|
i0.ɵɵadvance(3);
|
|
2265
|
-
i0.ɵɵ
|
|
2271
|
+
i0.ɵɵrepeater(ctx_r3.clasificadorList);
|
|
2266
2272
|
} }
|
|
2267
|
-
function
|
|
2268
|
-
i0.ɵɵelementStart(0, "td",
|
|
2273
|
+
function SeleccionaArticuloComponent_ng_template_28_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
2274
|
+
i0.ɵɵelementStart(0, "td", 22);
|
|
2269
2275
|
i0.ɵɵtext(1, "Movimiento.NoAsignado");
|
|
2270
2276
|
i0.ɵɵelementEnd();
|
|
2271
2277
|
} }
|
|
2272
|
-
function
|
|
2273
|
-
i0.ɵɵelementStart(0, "td",
|
|
2278
|
+
function SeleccionaArticuloComponent_ng_template_28_Conditional_2_Template(rf, ctx) { if (rf & 1) {
|
|
2279
|
+
i0.ɵɵelementStart(0, "td", 28);
|
|
2274
2280
|
i0.ɵɵtext(1);
|
|
2275
2281
|
i0.ɵɵelementEnd();
|
|
2276
2282
|
} if (rf & 2) {
|
|
@@ -2278,8 +2284,8 @@ function SeleccionaArticuloComponent_ng_template_27_td_2_Template(rf, ctx) { if
|
|
|
2278
2284
|
i0.ɵɵadvance();
|
|
2279
2285
|
i0.ɵɵtextInterpolate(rowData_r6.ubicacionCodigo);
|
|
2280
2286
|
} }
|
|
2281
|
-
function
|
|
2282
|
-
i0.ɵɵelementStart(0, "td",
|
|
2287
|
+
function SeleccionaArticuloComponent_ng_template_28_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
2288
|
+
i0.ɵɵelementStart(0, "td", 31);
|
|
2283
2289
|
i0.ɵɵtext(1);
|
|
2284
2290
|
i0.ɵɵelementEnd();
|
|
2285
2291
|
} if (rf & 2) {
|
|
@@ -2287,8 +2293,8 @@ function SeleccionaArticuloComponent_ng_template_27_td_7_Template(rf, ctx) { if
|
|
|
2287
2293
|
i0.ɵɵadvance();
|
|
2288
2294
|
i0.ɵɵtextInterpolate(rowData_r6.existenciaSecundaria);
|
|
2289
2295
|
} }
|
|
2290
|
-
function
|
|
2291
|
-
i0.ɵɵelementStart(0, "td",
|
|
2296
|
+
function SeleccionaArticuloComponent_ng_template_28_Conditional_8_Template(rf, ctx) { if (rf & 1) {
|
|
2297
|
+
i0.ɵɵelementStart(0, "td", 30);
|
|
2292
2298
|
i0.ɵɵtext(1);
|
|
2293
2299
|
i0.ɵɵelementEnd();
|
|
2294
2300
|
} if (rf & 2) {
|
|
@@ -2296,8 +2302,8 @@ function SeleccionaArticuloComponent_ng_template_27_td_8_Template(rf, ctx) { if
|
|
|
2296
2302
|
i0.ɵɵadvance();
|
|
2297
2303
|
i0.ɵɵtextInterpolate(rowData_r6.unidadSecundariaCodigo);
|
|
2298
2304
|
} }
|
|
2299
|
-
function
|
|
2300
|
-
i0.ɵɵelementStart(0, "td",
|
|
2305
|
+
function SeleccionaArticuloComponent_ng_template_28_Conditional_15_Template(rf, ctx) { if (rf & 1) {
|
|
2306
|
+
i0.ɵɵelementStart(0, "td", 28);
|
|
2301
2307
|
i0.ɵɵtext(1);
|
|
2302
2308
|
i0.ɵɵpipe(2, "currency");
|
|
2303
2309
|
i0.ɵɵelementEnd();
|
|
@@ -2306,8 +2312,8 @@ function SeleccionaArticuloComponent_ng_template_27_td_15_Template(rf, ctx) { if
|
|
|
2306
2312
|
i0.ɵɵadvance();
|
|
2307
2313
|
i0.ɵɵtextInterpolate1("", i0.ɵɵpipeBind1(2, 1, rowData_r6.precioConImpuestos), " ");
|
|
2308
2314
|
} }
|
|
2309
|
-
function
|
|
2310
|
-
i0.ɵɵelementStart(0, "td",
|
|
2315
|
+
function SeleccionaArticuloComponent_ng_template_28_Conditional_16_Template(rf, ctx) { if (rf & 1) {
|
|
2316
|
+
i0.ɵɵelementStart(0, "td", 28);
|
|
2311
2317
|
i0.ɵɵtext(1);
|
|
2312
2318
|
i0.ɵɵpipe(2, "currency");
|
|
2313
2319
|
i0.ɵɵelementEnd();
|
|
@@ -2316,8 +2322,8 @@ function SeleccionaArticuloComponent_ng_template_27_td_16_Template(rf, ctx) { if
|
|
|
2316
2322
|
i0.ɵɵadvance();
|
|
2317
2323
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, rowData_r6.precio2ConImpuestos));
|
|
2318
2324
|
} }
|
|
2319
|
-
function
|
|
2320
|
-
i0.ɵɵelementStart(0, "td",
|
|
2325
|
+
function SeleccionaArticuloComponent_ng_template_28_Conditional_17_Template(rf, ctx) { if (rf & 1) {
|
|
2326
|
+
i0.ɵɵelementStart(0, "td", 28);
|
|
2321
2327
|
i0.ɵɵtext(1);
|
|
2322
2328
|
i0.ɵɵpipe(2, "currency");
|
|
2323
2329
|
i0.ɵɵelementEnd();
|
|
@@ -2326,8 +2332,8 @@ function SeleccionaArticuloComponent_ng_template_27_td_17_Template(rf, ctx) { if
|
|
|
2326
2332
|
i0.ɵɵadvance();
|
|
2327
2333
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, rowData_r6.precio3ConImpuestos));
|
|
2328
2334
|
} }
|
|
2329
|
-
function
|
|
2330
|
-
i0.ɵɵelementStart(0, "td",
|
|
2335
|
+
function SeleccionaArticuloComponent_ng_template_28_Conditional_18_Template(rf, ctx) { if (rf & 1) {
|
|
2336
|
+
i0.ɵɵelementStart(0, "td", 28);
|
|
2331
2337
|
i0.ɵɵtext(1);
|
|
2332
2338
|
i0.ɵɵpipe(2, "currency");
|
|
2333
2339
|
i0.ɵɵelementEnd();
|
|
@@ -2336,8 +2342,8 @@ function SeleccionaArticuloComponent_ng_template_27_td_18_Template(rf, ctx) { if
|
|
|
2336
2342
|
i0.ɵɵadvance();
|
|
2337
2343
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, rowData_r6.precio4ConImpuestos));
|
|
2338
2344
|
} }
|
|
2339
|
-
function
|
|
2340
|
-
i0.ɵɵelementStart(0, "td",
|
|
2345
|
+
function SeleccionaArticuloComponent_ng_template_28_Conditional_19_Template(rf, ctx) { if (rf & 1) {
|
|
2346
|
+
i0.ɵɵelementStart(0, "td", 28);
|
|
2341
2347
|
i0.ɵɵtext(1);
|
|
2342
2348
|
i0.ɵɵpipe(2, "currency");
|
|
2343
2349
|
i0.ɵɵelementEnd();
|
|
@@ -2346,8 +2352,8 @@ function SeleccionaArticuloComponent_ng_template_27_td_19_Template(rf, ctx) { if
|
|
|
2346
2352
|
i0.ɵɵadvance();
|
|
2347
2353
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, rowData_r6.precio5ConImpuestos));
|
|
2348
2354
|
} }
|
|
2349
|
-
function
|
|
2350
|
-
i0.ɵɵelementStart(0, "td",
|
|
2355
|
+
function SeleccionaArticuloComponent_ng_template_28_Conditional_20_Template(rf, ctx) { if (rf & 1) {
|
|
2356
|
+
i0.ɵɵelementStart(0, "td", 30);
|
|
2351
2357
|
i0.ɵɵtext(1);
|
|
2352
2358
|
i0.ɵɵpipe(2, "currency");
|
|
2353
2359
|
i0.ɵɵelementEnd();
|
|
@@ -2356,11 +2362,11 @@ function SeleccionaArticuloComponent_ng_template_27_td_20_Template(rf, ctx) { if
|
|
|
2356
2362
|
i0.ɵɵadvance();
|
|
2357
2363
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, rowData_r6.precio));
|
|
2358
2364
|
} }
|
|
2359
|
-
function
|
|
2360
|
-
i0.ɵɵelementStart(0, "div",
|
|
2365
|
+
function SeleccionaArticuloComponent_ng_template_28_For_23_Template(rf, ctx) { if (rf & 1) {
|
|
2366
|
+
i0.ɵɵelementStart(0, "div", 34)(1, "div", 35)(2, "label", 36);
|
|
2361
2367
|
i0.ɵɵtext(3);
|
|
2362
2368
|
i0.ɵɵelementEnd()();
|
|
2363
|
-
i0.ɵɵelementStart(4, "div",
|
|
2369
|
+
i0.ɵɵelementStart(4, "div", 35)(5, "label", 36);
|
|
2364
2370
|
i0.ɵɵtext(6);
|
|
2365
2371
|
i0.ɵɵpipe(7, "number");
|
|
2366
2372
|
i0.ɵɵelementEnd()()();
|
|
@@ -2371,8 +2377,8 @@ function SeleccionaArticuloComponent_ng_template_27_div_22_Template(rf, ctx) { i
|
|
|
2371
2377
|
i0.ɵɵadvance(3);
|
|
2372
2378
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind2(7, 2, item_r7.unidad_existencia, "1.2-2"));
|
|
2373
2379
|
} }
|
|
2374
|
-
function
|
|
2375
|
-
i0.ɵɵelementStart(0, "td",
|
|
2380
|
+
function SeleccionaArticuloComponent_ng_template_28_For_25_Template(rf, ctx) { if (rf & 1) {
|
|
2381
|
+
i0.ɵɵelementStart(0, "td", 28);
|
|
2376
2382
|
i0.ɵɵtext(1);
|
|
2377
2383
|
i0.ɵɵelementEnd();
|
|
2378
2384
|
} if (rf & 2) {
|
|
@@ -2380,73 +2386,80 @@ function SeleccionaArticuloComponent_ng_template_27_td_23_Template(rf, ctx) { if
|
|
|
2380
2386
|
i0.ɵɵadvance();
|
|
2381
2387
|
i0.ɵɵtextInterpolate(itemData_r8.valor);
|
|
2382
2388
|
} }
|
|
2383
|
-
function
|
|
2389
|
+
function SeleccionaArticuloComponent_ng_template_28_Template(rf, ctx) { if (rf & 1) {
|
|
2384
2390
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
2385
|
-
i0.ɵɵelementStart(0, "tr",
|
|
2386
|
-
i0.ɵɵ
|
|
2387
|
-
i0.ɵɵ
|
|
2391
|
+
i0.ɵɵelementStart(0, "tr", 27);
|
|
2392
|
+
i0.ɵɵconditionalCreate(1, SeleccionaArticuloComponent_ng_template_28_Conditional_1_Template, 2, 0, "td", 22);
|
|
2393
|
+
i0.ɵɵconditionalCreate(2, SeleccionaArticuloComponent_ng_template_28_Conditional_2_Template, 2, 1, "td", 28);
|
|
2394
|
+
i0.ɵɵelementStart(3, "td", 29);
|
|
2388
2395
|
i0.ɵɵtext(4);
|
|
2389
2396
|
i0.ɵɵelementEnd();
|
|
2390
|
-
i0.ɵɵelementStart(5, "td",
|
|
2397
|
+
i0.ɵɵelementStart(5, "td", 30);
|
|
2391
2398
|
i0.ɵɵtext(6);
|
|
2392
2399
|
i0.ɵɵelementEnd();
|
|
2393
|
-
i0.ɵɵ
|
|
2394
|
-
i0.ɵɵ
|
|
2400
|
+
i0.ɵɵconditionalCreate(7, SeleccionaArticuloComponent_ng_template_28_Conditional_7_Template, 2, 1, "td", 31);
|
|
2401
|
+
i0.ɵɵconditionalCreate(8, SeleccionaArticuloComponent_ng_template_28_Conditional_8_Template, 2, 1, "td", 30);
|
|
2402
|
+
i0.ɵɵelementStart(9, "td", 28);
|
|
2395
2403
|
i0.ɵɵtext(10);
|
|
2396
2404
|
i0.ɵɵelementEnd();
|
|
2397
|
-
i0.ɵɵelementStart(11, "td",
|
|
2405
|
+
i0.ɵɵelementStart(11, "td", 32);
|
|
2398
2406
|
i0.ɵɵtext(12);
|
|
2399
2407
|
i0.ɵɵelementEnd();
|
|
2400
|
-
i0.ɵɵelementStart(13, "td",
|
|
2401
|
-
i0.ɵɵlistener("click", function
|
|
2408
|
+
i0.ɵɵelementStart(13, "td", 30)(14, "button", 33);
|
|
2409
|
+
i0.ɵɵlistener("click", function SeleccionaArticuloComponent_ng_template_28_Template_button_click_14_listener() { const rowData_r6 = i0.ɵɵrestoreView(_r5).$implicit; const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.onShowInformacion(rowData_r6)); });
|
|
2402
2410
|
i0.ɵɵelementEnd()();
|
|
2403
|
-
i0.ɵɵ
|
|
2404
|
-
i0.ɵɵ
|
|
2405
|
-
i0.ɵɵ
|
|
2411
|
+
i0.ɵɵconditionalCreate(15, SeleccionaArticuloComponent_ng_template_28_Conditional_15_Template, 3, 3, "td", 28);
|
|
2412
|
+
i0.ɵɵconditionalCreate(16, SeleccionaArticuloComponent_ng_template_28_Conditional_16_Template, 3, 3, "td", 28);
|
|
2413
|
+
i0.ɵɵconditionalCreate(17, SeleccionaArticuloComponent_ng_template_28_Conditional_17_Template, 3, 3, "td", 28);
|
|
2414
|
+
i0.ɵɵconditionalCreate(18, SeleccionaArticuloComponent_ng_template_28_Conditional_18_Template, 3, 3, "td", 28);
|
|
2415
|
+
i0.ɵɵconditionalCreate(19, SeleccionaArticuloComponent_ng_template_28_Conditional_19_Template, 3, 3, "td", 28);
|
|
2416
|
+
i0.ɵɵconditionalCreate(20, SeleccionaArticuloComponent_ng_template_28_Conditional_20_Template, 3, 3, "td", 30);
|
|
2417
|
+
i0.ɵɵelementStart(21, "td", 30);
|
|
2418
|
+
i0.ɵɵrepeaterCreate(22, SeleccionaArticuloComponent_ng_template_28_For_23_Template, 8, 5, "div", 34, i0.ɵɵrepeaterTrackByIdentity);
|
|
2406
2419
|
i0.ɵɵelementEnd();
|
|
2407
|
-
i0.ɵɵ
|
|
2420
|
+
i0.ɵɵrepeaterCreate(24, SeleccionaArticuloComponent_ng_template_28_For_25_Template, 2, 1, "td", 28, i0.ɵɵrepeaterTrackByIdentity);
|
|
2408
2421
|
i0.ɵɵelementEnd();
|
|
2409
2422
|
} if (rf & 2) {
|
|
2410
2423
|
const rowData_r6 = ctx.$implicit;
|
|
2411
2424
|
const ctx_r3 = i0.ɵɵnextContext();
|
|
2412
2425
|
i0.ɵɵproperty("pSelectableRow", rowData_r6);
|
|
2413
2426
|
i0.ɵɵadvance();
|
|
2414
|
-
i0.ɵɵ
|
|
2427
|
+
i0.ɵɵconditional(!rowData_r6.ubicacionCodigo ? 1 : -1);
|
|
2415
2428
|
i0.ɵɵadvance();
|
|
2416
|
-
i0.ɵɵ
|
|
2429
|
+
i0.ɵɵconditional(rowData_r6.ubicacionCodigo ? 2 : -1);
|
|
2417
2430
|
i0.ɵɵadvance(2);
|
|
2418
2431
|
i0.ɵɵtextInterpolate(rowData_r6.existencia);
|
|
2419
2432
|
i0.ɵɵadvance(2);
|
|
2420
2433
|
i0.ɵɵtextInterpolate(rowData_r6.unidadCodigo);
|
|
2421
2434
|
i0.ɵɵadvance();
|
|
2422
|
-
i0.ɵɵ
|
|
2435
|
+
i0.ɵɵconditional(ctx_r3.manejaUnidadSecundaria ? 7 : -1);
|
|
2423
2436
|
i0.ɵɵadvance();
|
|
2424
|
-
i0.ɵɵ
|
|
2437
|
+
i0.ɵɵconditional(ctx_r3.manejaUnidadSecundaria ? 8 : -1);
|
|
2425
2438
|
i0.ɵɵadvance(2);
|
|
2426
2439
|
i0.ɵɵtextInterpolate(rowData_r6.articulo.codigo);
|
|
2427
2440
|
i0.ɵɵadvance(2);
|
|
2428
2441
|
i0.ɵɵtextInterpolate(rowData_r6.articulo.descripcion);
|
|
2429
2442
|
i0.ɵɵadvance(3);
|
|
2430
|
-
i0.ɵɵ
|
|
2443
|
+
i0.ɵɵconditional(ctx_r3.configuracion.tipoPrecio !== "costo" ? 15 : -1);
|
|
2431
2444
|
i0.ɵɵadvance();
|
|
2432
|
-
i0.ɵɵ
|
|
2445
|
+
i0.ɵɵconditional(ctx_r3.configuracion.tipoPrecio !== "costo" ? 16 : -1);
|
|
2433
2446
|
i0.ɵɵadvance();
|
|
2434
|
-
i0.ɵɵ
|
|
2447
|
+
i0.ɵɵconditional(ctx_r3.configuracion.tipoPrecio !== "costo" ? 17 : -1);
|
|
2435
2448
|
i0.ɵɵadvance();
|
|
2436
|
-
i0.ɵɵ
|
|
2449
|
+
i0.ɵɵconditional(ctx_r3.configuracion.tipoPrecio !== "costo" ? 18 : -1);
|
|
2437
2450
|
i0.ɵɵadvance();
|
|
2438
|
-
i0.ɵɵ
|
|
2451
|
+
i0.ɵɵconditional(ctx_r3.configuracion.tipoPrecio !== "costo" ? 19 : -1);
|
|
2439
2452
|
i0.ɵɵadvance();
|
|
2440
|
-
i0.ɵɵ
|
|
2453
|
+
i0.ɵɵconditional(ctx_r3.configuracion.tipoPrecio === "costo" ? 20 : -1);
|
|
2441
2454
|
i0.ɵɵadvance(2);
|
|
2442
|
-
i0.ɵɵ
|
|
2443
|
-
i0.ɵɵadvance();
|
|
2444
|
-
i0.ɵɵ
|
|
2455
|
+
i0.ɵɵrepeater(rowData_r6.existenciaUnidades);
|
|
2456
|
+
i0.ɵɵadvance(2);
|
|
2457
|
+
i0.ɵɵrepeater(rowData_r6.articuloClasificadorList);
|
|
2445
2458
|
} }
|
|
2446
|
-
function
|
|
2459
|
+
function SeleccionaArticuloComponent_Conditional_30_Template(rf, ctx) { if (rf & 1) {
|
|
2447
2460
|
const _r9 = i0.ɵɵgetCurrentView();
|
|
2448
|
-
i0.ɵɵelementStart(0, "lib-seleccion-articulo-informacion",
|
|
2449
|
-
i0.ɵɵlistener("eventSelection", function
|
|
2461
|
+
i0.ɵɵelementStart(0, "lib-seleccion-articulo-informacion", 37);
|
|
2462
|
+
i0.ɵɵlistener("eventSelection", function SeleccionaArticuloComponent_Conditional_30_Template_lib_seleccion_articulo_informacion_eventSelection_0_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r3 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r3.onEventInformacion($event)); });
|
|
2450
2463
|
i0.ɵɵelementEnd();
|
|
2451
2464
|
} if (rf & 2) {
|
|
2452
2465
|
const ctx_r3 = i0.ɵɵnextContext();
|
|
@@ -2542,8 +2555,8 @@ class SeleccionaArticuloComponent {
|
|
|
2542
2555
|
onEventInformacion(event) {
|
|
2543
2556
|
this.showModalInformacion = event.status;
|
|
2544
2557
|
}
|
|
2545
|
-
/** @nocollapse */ static { this.ɵfac = function SeleccionaArticuloComponent_Factory(
|
|
2546
|
-
/** @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:
|
|
2558
|
+
/** @nocollapse */ static { this.ɵfac = function SeleccionaArticuloComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SeleccionaArticuloComponent)(i0.ɵɵdirectiveInject(StockService), i0.ɵɵdirectiveInject(PaginateService), i0.ɵɵdirectiveInject(AlmacenService)); }; }
|
|
2559
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: SeleccionaArticuloComponent, selectors: [["app-selecciona-articulo"]], inputs: { configuracion: "configuracion", showArticulos: "showArticulos", movimiento: "movimiento", manejaUnidadSecundaria: "manejaUnidadSecundaria" }, outputs: { emitFilaSeleccionada: "emitFilaSeleccionada", emitShowArticulos: "emitShowArticulos" }, standalone: false, decls: 31, vars: 24, consts: [["dt", ""], [3, "visibleChange", "onShow", "onHide", "header", "visible", "maximizable", "baseZIndex", "blockScroll", "minY"], [1, "grid", "grid-fluid"], [1, "col-12", "md:col-6", "lg:col-6"], [2, "display", "flex"], [2, "width", "115px"], ["pInputText", "", 3, "ngModelChange", "change", "ngModel"], ["value", "C"], ["value", "D"], ["value", "CD"], ["value", "CI"], ["type", "text", "pInputText", "", "id", "key", 2, "width", "200px", 3, "ngModelChange", "keypress", "ngModel"], ["pButton", "", "type", "button", "icon", "pi pi-search", "styleClass", "p-button-secondary", 3, "click"], [2, "width", "100px"], ["for", "almacen"], ["pInputText", "", "disabled", "", "id", "almacen", 2, "width", "200px", 3, "ngModelChange", "change", "ngModel"], [3, "value"], ["scrollHeight", "400px", "responsiveLayout", "scroll", "selectionMode", "single", 3, "onRowSelect", "value", "scrollable"], ["pTemplate", "header"], ["pTemplate", "body"], [3, "onPageChange", "rows", "totalRecords", "pageLinkSize", "rowsPerPageOptions"], [3, "showModal", "articulo"], ["translate", "", 2, "width", "80px"], ["translate", "", 2, "width", "70px"], ["translate", "", 2, "width", "40px"], ["translate", "", 2, "width", "50px"], ["translate", "", 2, "width", "120px"], [3, "pSelectableRow"], [2, "width", "80px"], [2, "width", "70px"], [2, "width", "40px"], [2, "width", "50px"], [2, "width", "120px"], ["pButton", "", "type", "button", "icon", "pi pi-eye", 1, "ui-button-raised", "ui-button-primary", 3, "click"], [1, "row", "justify-content-between"], [1, "col-lg-4"], ["for", ""], [3, "eventSelection", "showModal", "articulo"]], template: function SeleccionaArticuloComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2547
2560
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
2548
2561
|
i0.ɵɵelementStart(0, "p-dialog", 1);
|
|
2549
2562
|
i0.ɵɵpipe(1, "translate");
|
|
@@ -2577,19 +2590,19 @@ class SeleccionaArticuloComponent {
|
|
|
2577
2590
|
i0.ɵɵelementStart(22, "select", 15);
|
|
2578
2591
|
i0.ɵɵtwoWayListener("ngModelChange", function SeleccionaArticuloComponent_Template_select_ngModelChange_22_listener($event) { i0.ɵɵrestoreView(_r1); i0.ɵɵtwoWayBindingSet(ctx.movimiento.almacen, $event) || (ctx.movimiento.almacen = $event); return i0.ɵɵresetView($event); });
|
|
2579
2592
|
i0.ɵɵlistener("change", function SeleccionaArticuloComponent_Template_select_change_22_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.obtenerExistenciaArticulosVal()); });
|
|
2580
|
-
i0.ɵɵ
|
|
2593
|
+
i0.ɵɵrepeaterCreate(23, SeleccionaArticuloComponent_For_24_Template, 2, 3, "option", 16, i0.ɵɵrepeaterTrackByIdentity);
|
|
2581
2594
|
i0.ɵɵelementEnd()()()();
|
|
2582
|
-
i0.ɵɵelementStart(
|
|
2583
|
-
i0.ɵɵlistener("onRowSelect", function
|
|
2584
|
-
i0.ɵɵtemplate(
|
|
2595
|
+
i0.ɵɵelementStart(25, "p-table", 17, 0);
|
|
2596
|
+
i0.ɵɵlistener("onRowSelect", function SeleccionaArticuloComponent_Template_p_table_onRowSelect_25_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.filaSeleccionada($event)); });
|
|
2597
|
+
i0.ɵɵtemplate(27, SeleccionaArticuloComponent_ng_template_27_Template, 24, 8, "ng-template", 18)(28, SeleccionaArticuloComponent_ng_template_28_Template, 26, 15, "ng-template", 19);
|
|
2585
2598
|
i0.ɵɵelementEnd();
|
|
2586
|
-
i0.ɵɵelementStart(
|
|
2587
|
-
i0.ɵɵlistener("onPageChange", function
|
|
2599
|
+
i0.ɵɵelementStart(29, "p-paginator", 20);
|
|
2600
|
+
i0.ɵɵlistener("onPageChange", function SeleccionaArticuloComponent_Template_p_paginator_onPageChange_29_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.pagina($event)); });
|
|
2588
2601
|
i0.ɵɵelementEnd()();
|
|
2589
|
-
i0.ɵɵ
|
|
2602
|
+
i0.ɵɵconditionalCreate(30, SeleccionaArticuloComponent_Conditional_30_Template, 1, 2, "lib-seleccion-articulo-informacion", 21);
|
|
2590
2603
|
} if (rf & 2) {
|
|
2591
2604
|
i0.ɵɵstyleMap(i0.ɵɵpureFunction1(21, _c0$1, ctx.size + "px"));
|
|
2592
|
-
i0.ɵɵ
|
|
2605
|
+
i0.ɵɵproperty("header", i0.ɵɵinterpolate(i0.ɵɵpipeBind1(1, 19, "Articulos")));
|
|
2593
2606
|
i0.ɵɵtwoWayProperty("visible", ctx.showArticulos);
|
|
2594
2607
|
i0.ɵɵproperty("maximizable", true)("baseZIndex", 10000)("blockScroll", true)("minY", 70);
|
|
2595
2608
|
i0.ɵɵadvance(6);
|
|
@@ -2599,18 +2612,18 @@ class SeleccionaArticuloComponent {
|
|
|
2599
2612
|
i0.ɵɵadvance(7);
|
|
2600
2613
|
i0.ɵɵtwoWayProperty("ngModel", ctx.movimiento.almacen);
|
|
2601
2614
|
i0.ɵɵadvance();
|
|
2602
|
-
i0.ɵɵ
|
|
2603
|
-
i0.ɵɵadvance();
|
|
2615
|
+
i0.ɵɵrepeater(ctx.almacenList);
|
|
2616
|
+
i0.ɵɵadvance(2);
|
|
2604
2617
|
i0.ɵɵproperty("value", ctx.articulosList)("scrollable", true);
|
|
2605
2618
|
i0.ɵɵadvance(4);
|
|
2606
2619
|
i0.ɵɵproperty("rows", ctx.page.rows)("totalRecords", ctx.page.total)("pageLinkSize", 5)("rowsPerPageOptions", i0.ɵɵpureFunction0(23, _c1));
|
|
2607
2620
|
i0.ɵɵadvance();
|
|
2608
|
-
i0.ɵɵ
|
|
2609
|
-
} }, dependencies: [
|
|
2621
|
+
i0.ɵɵconditional(ctx.showModalInformacion ? 30 : -1);
|
|
2622
|
+
} }, dependencies: [i2.PrimeTemplate, i18.Table, i18.SelectableRow, i6.ButtonDirective, i7.InputText, i8.Paginator, i9.Dialog, i10.NgSelectOption, i10.ɵNgSelectMultipleOption, i10.DefaultValueAccessor, i10.SelectControlValueAccessor, i10.NgControlStatus, i10.NgModel, i3.TranslateDirective, SeleccionArticuloInformacionComponent, i13.DecimalPipe, i13.CurrencyPipe, i3.TranslatePipe], styles: ["tr[_ngcontent-%COMP%]:hover{background-color:#34a835!important;color:#fff!important}table[_ngcontent-%COMP%]{position:absolute}"] }); }
|
|
2610
2623
|
}
|
|
2611
2624
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SeleccionaArticuloComponent, [{
|
|
2612
2625
|
type: Component,
|
|
2613
|
-
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"] }]
|
|
2626
|
+
args: [{ selector: 'app-selecciona-articulo', standalone: false, template: "<!--inicia seleccion de articulos-->\n<!-- (onShow)=\"obtenerExistenciaArticulosShow()\" -->\n<!--\n<div class=\"col-12 col-center\" >-->\n <p-dialog header=\"{{ 'Articulos' | translate }}\" [(visible)]=\"showArticulos\" [maximizable]=\"true\"\n (onShow)=\"obtenerExistenciaArticulosShow()\" (onHide)=\"busquedaArticulos = { tipoBusqueda : ''}; emitirShowArticulos()\"\n [baseZIndex]=\"10000\" [blockScroll]=\"true\" [style]=\"{'width': size+'px', 'min-width': '200px'}\" [minY]=\"70\">\n <div class=\"grid grid-fluid\">\n <div class=\"col-12 md:col-6 lg:col-6\">\n <div style=\"display: flex;\">\n <div style=\"width: 115px;\">\n <select pInputText [(ngModel)]=\"busquedaArticulos.tipoBusqueda\" (change)=\"obtenerExistenciaArticulosVal()\">\n <option value=\"C\">Codigo</option>\n <option value=\"D\">Descripcion</option>\n <option value=\"CD\">Coincidencia</option>\n <option value=\"CI\">Igual a</option>\n </select>\n </div>\n <input type=\"text\" style=\"width: 200px;\" pInputText [(ngModel)]=\"busquedaArticulos.key\"\n (keypress)=\"obtenerExistenciaArticulosKey( $event )\" id=\"key\">\n <button pButton type=\"button\" icon=\"pi pi-search\" styleClass=\"p-button-secondary\"\n (click)=\"obtenerExistenciaArticulos( )\"></button>\n </div>\n </div>\n <div class=\"col-12 md:col-6 lg:col-6\">\n <div style=\"display: flex;\">\n <div style=\"width: 100px;\">\n <label for=\"almacen\">Almacen:</label>\n </div>\n <select pInputText style=\"width: 200px;\" [(ngModel)]=\"movimiento.almacen\" disabled id=\"almacen\"\n (change)=\"obtenerExistenciaArticulosVal()\">\n @for (almacen of almacenList; track almacen) {\n <option value=\"{{ almacen.id }}\">{{almacen.descripcion}}</option>\n }\n </select>\n </div>\n\n </div>\n </div>\n\n <!--\n <div id=\"table-wrapper\">\n <div id=\"table-scroll\">-->\n <!-- new table\n <p-table #dt [columns]=\"colsDD\" [value]=\"listDD\" [scrollable]=\"true\"\n [style]=\"{width: '100%'} \" [scrollHeight]=\"maxH + 'px'\"\n [resizableColumns]=\"true\" [(selection)]=\"selectedXML\" (onRowSelect)=\"onRowSelect($event)\" dataKey=\"uuid\">\n\n\n -->\n\n <p-table [value]=\"articulosList\" [scrollable]=\"true\" #dt scrollHeight=\"400px\" responsiveLayout=\"scroll\"\n selectionMode=\"single\" (onRowSelect)=\"filaSeleccionada($event)\">\n <ng-template pTemplate=\"header\">\n <tr>\n <th style=\"width: 80px\" translate>C\u00F3digo Ubicacion</th>\n <th style=\"width: 70px\" translate>Existencia</th>\n <th style=\"width: 40px\" translate>Unidad</th>\n @if (manejaUnidadSecundaria) {\n <th style=\"width: 50px\" translate>existenciaSecundaria</th>\n }\n @if (manejaUnidadSecundaria) {\n <th style=\"width: 40px\" translate>Unidad</th>\n }\n <th style=\"width: 80px\" translate>C\u00F3digo</th>\n <th style=\"width: 120px\" translate>Descripcion</th>\n <th style=\"width: 40px\" translate></th>\n @if (configuracion.tipoPrecio !== 'costo' ) {\n <th style=\"width: 80px\" translate>Precio</th>\n }\n @if (configuracion.tipoPrecio !== 'costo' ) {\n <th style=\"width: 80px\" translate>Precio 2</th>\n }\n @if (configuracion.tipoPrecio !== 'costo' ) {\n <th style=\"width: 80px\" translate>Precio 3</th>\n }\n @if (configuracion.tipoPrecio !== 'costo' ) {\n <th style=\"width: 80px\" translate>Precio 4</th>\n }\n @if (configuracion.tipoPrecio !== 'costo' ) {\n <th style=\"width: 80px\" translate>Precio 5</th>\n }\n @if (configuracion.tipoPrecio === 'costo' ) {\n <th style=\"width: 40px\" translate>Movimiento.costo</th>\n }\n <th style=\"width: 40px\" translate>Existencia por Unidad</th>\n @for (item of clasificadorList; track item) {\n <th style=\"width: 80px\" translate>{{item.descripcion}}</th>\n }\n </tr>\n </ng-template>\n <ng-template pTemplate=\"body\" let-rowData let-rowIndex=\"rowIndex\">\n <tr [pSelectableRow]=\"rowData\">\n @if (!rowData.ubicacionCodigo) {\n <td style=\"width: 80px;\" translate>Movimiento.NoAsignado</td>\n }\n @if (rowData.ubicacionCodigo) {\n <td style=\"width: 80px;\">{{rowData.ubicacionCodigo}}</td>\n }\n <td style=\"width: 70px;\">{{rowData.existencia}}</td>\n <td style=\"width: 40px;\">{{rowData.unidadCodigo}}</td>\n\n @if (manejaUnidadSecundaria) {\n <td style=\"width: 50px;\">{{rowData.existenciaSecundaria}}</td>\n }\n @if (manejaUnidadSecundaria) {\n <td style=\"width: 40px;\">{{rowData.unidadSecundariaCodigo}}</td>\n }\n\n <td style=\"width: 80px;\">{{rowData.articulo.codigo}}</td>\n <td style=\"width: 120px;\">{{rowData.articulo.descripcion}}</td>\n <td style=\"width: 40px;\">\n <button pButton type=\"button\" icon=\"pi pi-eye\" class=\"ui-button-raised ui-button-primary\"\n (click)=\"onShowInformacion(rowData)\">\n </button>\n </td>\n @if (configuracion.tipoPrecio !== 'costo') {\n <td style=\"width: 80px;\">{{rowData.precioConImpuestos | currency }}\n </td>\n }\n @if (configuracion.tipoPrecio !== 'costo') {\n <td style=\"width: 80px;\">{{rowData.precio2ConImpuestos | currency\n }}</td>\n }\n @if (configuracion.tipoPrecio !== 'costo') {\n <td style=\"width: 80px;\">{{rowData.precio3ConImpuestos | currency\n }}</td>\n }\n @if (configuracion.tipoPrecio !== 'costo') {\n <td style=\"width: 80px;\">{{rowData.precio4ConImpuestos | currency\n }}</td>\n }\n @if (configuracion.tipoPrecio !== 'costo') {\n <td style=\"width: 80px;\">{{rowData.precio5ConImpuestos | currency\n }}</td>\n }\n @if (configuracion.tipoPrecio === 'costo' ) {\n <td style=\"width: 40px;\">{{rowData.precio | currency }}</td>\n }\n <td style=\"width: 40px;\">\n @for (item of rowData.existenciaUnidades; track item) {\n <div class=\"row justify-content-between\">\n <div class=\"col-lg-4\"><label for=\"\">{{item.unidad_codigo}}</label></div>\n <div class=\"col-lg-4\"><label for=\"\">{{item.unidad_existencia | number : '1.2-2'}}</label>\n </div>\n </div>\n }\n </td>\n <!-- <td style=\"width: 40px;\"></td> -->\n @for (itemData of rowData.articuloClasificadorList; track itemData) {\n <td style=\"width: 80px;\">{{itemData.valor}}</td>\n }\n </tr>\n </ng-template>\n </p-table>\n\n <!-- /new table-->\n <!--\n <p-table [(value)]=\"articulosList\" responsive=\"true\"\n selectionMode=\"multiple\" (onRowSelect)=\"filaSeleccionada($event)\" [scrollable]=\"true\" scrollHeight=\"350px\" >\n\n <p-column header=\"{{ 'Codigo ubicacion'.toString() | translate}}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <label for=\"\" *ngIf=\"!dato.ubicacionCodigo\" translate> Movimiento.NoAsignado </label>\n <label for=\"\" *ngIf=\"dato.ubicacionCodigo\" > {{ dato.ubicacionCodigo }}</label>\n </ng-template>\n </p-column>\n <p-column field=\"ubicacionCodigo\" header=\"{{ 'Descripcion ubicacion'.toString() | translate}}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <label for=\"\" *ngIf=\"!dato.ubicacionCodigo\" translate> Movimiento.NoAsignado </label>\n <label for=\"\" *ngIf=\"dato.ubicacionCodigo\" > {{ dato.ubicacionCodigo }}</label>\n </ng-template>\n </p-column>\n\n <p-column field=\"existencia\" header=\"{{'Existencia' | translate}}\"></p-column>\n <p-column field=\"unidadCodigo\" header=\"{{'Unidad' | translate}}\"></p-column>\n <p-column field=\"unidadDescripcion\" header=\"{{'Descripcion unidad' | translate}}\"></p-column>\n\n <p-column field=\"existenciaSecundaria\" header=\"{{'existenciaSecundaria' | translate}}\" *ngIf=\"manejaUnidadSecundaria\"></p-column>\n <p-column field=\"unidadSecundariaCodigo\" header=\"{{'Unidad' | translate}}\" *ngIf=\"manejaUnidadSecundaria\"></p-column>\n\n\n <p-column *ngIf=\"configuracion.tipoPrecio !== 'costo' \" header=\"{{'Movimiento.movimientoDetalle.precio' | translate}}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <label for=\"\">{{ dato.precioConImpuestos | currency }}</label>\n </ng-template>\n </p-column>\n <p-column *ngIf=\"configuracion.tipoPrecio === 'costo' \" header=\"{{'Movimiento.costo' | translate }}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <label for=\"\">{{ dato.precio | currency }}</label>\n </ng-template>\n </p-column>\n\n\n <p-column field=\"articulo.codigo\" header=\"{{'Codigo articulo' | translate}}\"></p-column>\n <p-column field=\"articulo.descripcion\" header=\"{{'Descripcion' | translate}}\"></p-column>\n\n\n\n <p-column header=\"{{'ExistenciaPorUnidad' | translate }}\">\n <ng-template let-dato=\"rowData\" pTemplate=\"body\">\n <div class=\"row justify-content-between\" *ngFor=\"let item of dato.existenciaUnidades\" >\n <div class=\"col-lg-4\"><label for=\"\">{{item.unidad_codigo}}</label></div>\n <div class=\"col-lg-4\"><label for=\"\">{{item.unidad_existencia | number : '1.2-2'}}</label>\n </div>\n </div>\n </ng-template>\n </p-column>\n\n </p-table>\n -->\n <p-paginator [rows]=\"page.rows\" [totalRecords]=\"page.total\" [pageLinkSize]=\"5\" (onPageChange)=\"pagina($event)\"\n [rowsPerPageOptions]=\"[10,25,50,100,500]\"></p-paginator>\n <!--\n </div>\n </div>\n -->\n</p-dialog>\n<!--\n</div>\n-->\n<!--termina seleccion de articulos-->\n<!--selecciona ubicacion -->\n@if (showModalInformacion) {\n <lib-seleccion-articulo-informacion [showModal]=\"showModalInformacion\" [articulo]=\"articuloSelected\"\n (eventSelection)=\"onEventInformacion($event)\">\n </lib-seleccion-articulo-informacion>\n}", styles: ["tr:hover{background-color:#34a835!important;color:#fff!important}table{position:absolute}\n"] }]
|
|
2614
2627
|
}], () => [{ type: StockService }, { type: PaginateService }, { type: AlmacenService }], { configuracion: [{
|
|
2615
2628
|
type: Input
|
|
2616
2629
|
}], showArticulos: [{
|
|
@@ -2624,14 +2637,14 @@ class SeleccionaArticuloComponent {
|
|
|
2624
2637
|
}], emitShowArticulos: [{
|
|
2625
2638
|
type: Output
|
|
2626
2639
|
}] }); })();
|
|
2627
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SeleccionaArticuloComponent, { className: "SeleccionaArticuloComponent" }); })();
|
|
2640
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SeleccionaArticuloComponent, { className: "SeleccionaArticuloComponent", filePath: "lib/components/selecciona-articulo/selecciona-articulo.component.ts", lineNumber: 13 }); })();
|
|
2628
2641
|
|
|
2629
2642
|
class AcreedorService extends CrudService {
|
|
2630
2643
|
constructor(httpClient) {
|
|
2631
2644
|
super(httpClient, 'acreedor');
|
|
2632
2645
|
this.httpClient = httpClient;
|
|
2633
2646
|
}
|
|
2634
|
-
/** @nocollapse */ static { this.ɵfac = function AcreedorService_Factory(
|
|
2647
|
+
/** @nocollapse */ static { this.ɵfac = function AcreedorService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AcreedorService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
2635
2648
|
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AcreedorService, factory: AcreedorService.ɵfac, providedIn: 'root' }); }
|
|
2636
2649
|
}
|
|
2637
2650
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AcreedorService, [{
|
|
@@ -2681,7 +2694,7 @@ function SelectAcreedorComponent_ng_template_6_Template(rf, ctx) { if (rf & 1) {
|
|
|
2681
2694
|
i0.ɵɵadvance(3);
|
|
2682
2695
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(18, 16, "fechaUltimaCompra"));
|
|
2683
2696
|
} }
|
|
2684
|
-
function
|
|
2697
|
+
function SelectAcreedorComponent_ng_template_7_Conditional_6_Template(rf, ctx) { if (rf & 1) {
|
|
2685
2698
|
i0.ɵɵelementStart(0, "span");
|
|
2686
2699
|
i0.ɵɵtext(1);
|
|
2687
2700
|
i0.ɵɵpipe(2, "translate");
|
|
@@ -2690,7 +2703,7 @@ function SelectAcreedorComponent_ng_template_7_span_6_Template(rf, ctx) { if (rf
|
|
|
2690
2703
|
i0.ɵɵadvance();
|
|
2691
2704
|
i0.ɵɵtextInterpolate(i0.ɵɵpipeBind1(2, 1, "moral"));
|
|
2692
2705
|
} }
|
|
2693
|
-
function
|
|
2706
|
+
function SelectAcreedorComponent_ng_template_7_Conditional_7_Template(rf, ctx) { if (rf & 1) {
|
|
2694
2707
|
i0.ɵɵelementStart(0, "span");
|
|
2695
2708
|
i0.ɵɵtext(1);
|
|
2696
2709
|
i0.ɵɵpipe(2, "translate");
|
|
@@ -2707,7 +2720,8 @@ function SelectAcreedorComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
|
2707
2720
|
i0.ɵɵtext(4);
|
|
2708
2721
|
i0.ɵɵelementEnd();
|
|
2709
2722
|
i0.ɵɵelementStart(5, "td");
|
|
2710
|
-
i0.ɵɵ
|
|
2723
|
+
i0.ɵɵconditionalCreate(6, SelectAcreedorComponent_ng_template_7_Conditional_6_Template, 3, 3, "span");
|
|
2724
|
+
i0.ɵɵconditionalCreate(7, SelectAcreedorComponent_ng_template_7_Conditional_7_Template, 3, 3, "span");
|
|
2711
2725
|
i0.ɵɵelementEnd();
|
|
2712
2726
|
i0.ɵɵelementStart(8, "td");
|
|
2713
2727
|
i0.ɵɵtext(9);
|
|
@@ -2727,9 +2741,9 @@ function SelectAcreedorComponent_ng_template_7_Template(rf, ctx) { if (rf & 1) {
|
|
|
2727
2741
|
i0.ɵɵadvance(2);
|
|
2728
2742
|
i0.ɵɵtextInterpolate(acreedor_r1.descripcionRfc);
|
|
2729
2743
|
i0.ɵɵadvance(2);
|
|
2730
|
-
i0.ɵɵ
|
|
2744
|
+
i0.ɵɵconditional(acreedor_r1.personaMoral ? 6 : -1);
|
|
2731
2745
|
i0.ɵɵadvance();
|
|
2732
|
-
i0.ɵɵ
|
|
2746
|
+
i0.ɵɵconditional(acreedor_r1.personaFisica ? 7 : -1);
|
|
2733
2747
|
i0.ɵɵadvance(2);
|
|
2734
2748
|
i0.ɵɵtextInterpolate(acreedor_r1.atrasoDiasEntrega);
|
|
2735
2749
|
i0.ɵɵadvance(2);
|
|
@@ -2786,8 +2800,8 @@ class SelectAcreedorComponent {
|
|
|
2786
2800
|
this.select.emit(e.data);
|
|
2787
2801
|
this.visible = false;
|
|
2788
2802
|
}
|
|
2789
|
-
/** @nocollapse */ static { this.ɵfac = function SelectAcreedorComponent_Factory(
|
|
2790
|
-
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: SelectAcreedorComponent, selectors: [["select-acreedor"]], inputs: { visible: "visible", acreedorSeleccionado: "acreedorSeleccionado" }, outputs: { select: "select" }, decls: 10, vars: 14, consts: [["header", "Selecciona el acreedor", 3, "visibleChange", "onHide", "onShow", "visible"], [1, "p-inputgroup", "mt-2"], ["type", "text", "pInputText", "", "name", "filtro", 3, "ngModelChange", "keyup", "placeholder", "ngModel"], ["pButton", "", "type", "button", "icon", "pi pi-search", "styleClass", "p-button-secondary", 3, "click"], ["dataKey", "id", "selectionMode", "single", "scrollHeight", "350px", "responsiveLayout", "scroll", 3, "selectionChange", "onRowSelect", "value", "selection", "scrollable"], ["pTemplate", "header"], ["pTemplate", "body"], ["pTemplate", "emptymessage"], [3, "onPageChange", "rows", "totalRecords", "pageLinkSize", "rowsPerPageOptions"], [3, "pSelectableRow"]
|
|
2803
|
+
/** @nocollapse */ static { this.ɵfac = function SelectAcreedorComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SelectAcreedorComponent)(i0.ɵɵdirectiveInject(AcreedorService), i0.ɵɵdirectiveInject(PaginateService), i0.ɵɵdirectiveInject(i3.TranslateService)); }; }
|
|
2804
|
+
/** @nocollapse */ static { this.ɵcmp = /** @pureOrBreakMyCode */ i0.ɵɵdefineComponent({ type: SelectAcreedorComponent, selectors: [["select-acreedor"]], inputs: { visible: "visible", acreedorSeleccionado: "acreedorSeleccionado" }, outputs: { select: "select" }, standalone: false, decls: 10, vars: 14, consts: [["header", "Selecciona el acreedor", 3, "visibleChange", "onHide", "onShow", "visible"], [1, "p-inputgroup", "mt-2"], ["type", "text", "pInputText", "", "name", "filtro", 3, "ngModelChange", "keyup", "placeholder", "ngModel"], ["pButton", "", "type", "button", "icon", "pi pi-search", "styleClass", "p-button-secondary", 3, "click"], ["dataKey", "id", "selectionMode", "single", "scrollHeight", "350px", "responsiveLayout", "scroll", 3, "selectionChange", "onRowSelect", "value", "selection", "scrollable"], ["pTemplate", "header"], ["pTemplate", "body"], ["pTemplate", "emptymessage"], [3, "onPageChange", "rows", "totalRecords", "pageLinkSize", "rowsPerPageOptions"], [3, "pSelectableRow"]], template: function SelectAcreedorComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2791
2805
|
i0.ɵɵelementStart(0, "p-dialog", 0);
|
|
2792
2806
|
i0.ɵɵtwoWayListener("visibleChange", function SelectAcreedorComponent_Template_p_dialog_visibleChange_0_listener($event) { i0.ɵɵtwoWayBindingSet(ctx.visible, $event) || (ctx.visible = $event); return $event; });
|
|
2793
2807
|
i0.ɵɵlistener("onHide", function SelectAcreedorComponent_Template_p_dialog_onHide_0_listener() { return ctx.cerrarModal(); })("onShow", function SelectAcreedorComponent_Template_p_dialog_onShow_0_listener() { return ctx.cargarDatosAcreedores(); });
|
|
@@ -2810,7 +2824,7 @@ class SelectAcreedorComponent {
|
|
|
2810
2824
|
} if (rf & 2) {
|
|
2811
2825
|
i0.ɵɵtwoWayProperty("visible", ctx.visible);
|
|
2812
2826
|
i0.ɵɵadvance(2);
|
|
2813
|
-
i0.ɵɵ
|
|
2827
|
+
i0.ɵɵproperty("placeholder", i0.ɵɵinterpolate1("", i0.ɵɵpipeBind1(3, 11, "buscar"), "..."));
|
|
2814
2828
|
i0.ɵɵtwoWayProperty("ngModel", ctx.page.filtro);
|
|
2815
2829
|
i0.ɵɵadvance(3);
|
|
2816
2830
|
i0.ɵɵproperty("value", ctx.acreedores);
|
|
@@ -2818,19 +2832,19 @@ class SelectAcreedorComponent {
|
|
|
2818
2832
|
i0.ɵɵproperty("scrollable", true);
|
|
2819
2833
|
i0.ɵɵadvance(4);
|
|
2820
2834
|
i0.ɵɵproperty("rows", ctx.page.rows)("totalRecords", ctx.page.total)("pageLinkSize", 5)("rowsPerPageOptions", i0.ɵɵpureFunction0(13, _c0));
|
|
2821
|
-
} }, dependencies: [
|
|
2835
|
+
} }, dependencies: [i2.PrimeTemplate, i18.Table, i18.SelectableRow, i6.ButtonDirective, i7.InputText, i8.Paginator, i9.Dialog, i10.DefaultValueAccessor, i10.NgControlStatus, i10.NgModel, i13.DatePipe, i3.TranslatePipe], encapsulation: 2 }); }
|
|
2822
2836
|
}
|
|
2823
2837
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SelectAcreedorComponent, [{
|
|
2824
2838
|
type: Component,
|
|
2825
|
-
args: [{ selector: 'select-acreedor', template: "<p-dialog header=\"Selecciona el acreedor\" [(visible)]=\"visible\" (onHide)=\"cerrarModal()\"\n
|
|
2826
|
-
}], () => [{ type: AcreedorService }, { type: PaginateService }, { type: i3
|
|
2839
|
+
args: [{ selector: 'select-acreedor', standalone: false, template: "<p-dialog header=\"Selecciona el acreedor\" [(visible)]=\"visible\" (onHide)=\"cerrarModal()\"\n (onShow)=\"cargarDatosAcreedores()\">\n\n <div class=\"p-inputgroup mt-2\">\n <input type=\"text\" pInputText placeholder=\"{{'buscar'| translate}}...\"\n [(ngModel)]=\"page.filtro\" name=\"filtro\" (keyup)=\"cargarDatosAcreedores()\">\n <button pButton type=\"button\" icon=\"pi pi-search\" styleClass=\"p-button-secondary\" (click)=\"cargarDatosAcreedores()\"></button>\n </div>\n <p-table\n [value]=\"acreedores\"\n dataKey=\"id\" selectionMode=\"single\"\n [(selection)]=\"acreedorSeleccionado\"\n (onRowSelect)=\"seleccionarAcreedor($event)\"\n [scrollable]=\"true\"\n scrollHeight=\"350px\"\n responsiveLayout=\"scroll\"\n >\n\n <ng-template pTemplate=\"header\">\n <tr>\n <th>{{'razonSocial' | translate}}</th>\n <th>{{'rfc' | translate}}</th>\n <th>{{'tipo' | translate}}</th>\n <th>{{'atrasoDiasEntrega' | translate}}</th>\n <th>{{'limiteCredito' | translate}}</th>\n <th>{{'fechaUltimaCompra' | translate}}</th>\n </tr>\n </ng-template>\n\n <ng-template pTemplate=\"body\" let-acreedor>\n <tr [pSelectableRow]=\"acreedor\">\n <td>{{acreedor.descripcionRazonSocial}}</td>\n <td>{{acreedor.descripcionRfc}}</td>\n <td>\n @if (acreedor.personaMoral) {\n <span>{{'moral' | translate}}</span>\n }\n @if (acreedor.personaFisica) {\n <span>{{'fisico' | translate}}</span>\n }\n </td>\n <td>{{acreedor.atrasoDiasEntrega}}</td>\n <td>{{acreedor.limiteCredito}}</td>\n <td>{{acreedor.fechaUltimaCompra | date:'dd/MM/yyyy'}}</td>\n </tr>\n </ng-template>\n\n <ng-template pTemplate=\"emptymessage\">\n <tr>\n <td [attr.colspan]=\"6\">{{'general.noRegistros' | translate}}</td>\n </tr>\n </ng-template>\n </p-table>\n\n <p-paginator [rows]=\"page.rows\" [totalRecords]=\"page.total\" [pageLinkSize]=\"5\"\n (onPageChange)=\"pagina($event)\" [rowsPerPageOptions]=\"[10,25,50,100,500]\"></p-paginator>\n\n</p-dialog>" }]
|
|
2840
|
+
}], () => [{ type: AcreedorService }, { type: PaginateService }, { type: i3.TranslateService }], { visible: [{
|
|
2827
2841
|
type: Input
|
|
2828
2842
|
}], acreedorSeleccionado: [{
|
|
2829
2843
|
type: Input
|
|
2830
2844
|
}], select: [{
|
|
2831
2845
|
type: Output
|
|
2832
2846
|
}] }); })();
|
|
2833
|
-
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SelectAcreedorComponent, { className: "SelectAcreedorComponent" }); })();
|
|
2847
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(SelectAcreedorComponent, { className: "SelectAcreedorComponent", filePath: "lib/components/acreedor/select/select-acreedor.component.ts", lineNumber: 11 }); })();
|
|
2834
2848
|
|
|
2835
2849
|
const components = [
|
|
2836
2850
|
LoadingComponent,
|
|
@@ -2850,46 +2864,53 @@ const exportModels = [];
|
|
|
2850
2864
|
const primeNg = [
|
|
2851
2865
|
CardModule,
|
|
2852
2866
|
TooltipModule,
|
|
2853
|
-
|
|
2867
|
+
PopoverModule,
|
|
2854
2868
|
RadioButtonModule,
|
|
2855
2869
|
CheckboxModule,
|
|
2856
2870
|
AutoCompleteModule,
|
|
2857
2871
|
TableModule,
|
|
2858
2872
|
TreeTableModule,
|
|
2859
|
-
|
|
2873
|
+
DatePickerModule,
|
|
2860
2874
|
TableModule,
|
|
2861
2875
|
ButtonModule,
|
|
2862
2876
|
InputTextModule,
|
|
2863
|
-
|
|
2877
|
+
SelectModule,
|
|
2864
2878
|
InputMaskModule,
|
|
2865
|
-
|
|
2879
|
+
MessageModule,
|
|
2866
2880
|
MessageModule,
|
|
2867
2881
|
PaginatorModule,
|
|
2868
2882
|
ConfirmDialogModule,
|
|
2869
2883
|
ProgressBarModule,
|
|
2870
|
-
TriStateCheckboxModule,
|
|
2871
2884
|
KeyFilterModule,
|
|
2872
|
-
|
|
2885
|
+
ToggleSwitchModule,
|
|
2873
2886
|
DialogModule,
|
|
2874
|
-
|
|
2887
|
+
TabsModule,
|
|
2875
2888
|
PanelModule,
|
|
2876
2889
|
ToolbarModule,
|
|
2877
2890
|
SplitButtonModule,
|
|
2878
2891
|
FieldsetModule,
|
|
2879
2892
|
TreeModule,
|
|
2880
|
-
|
|
2881
|
-
MenubarModule,
|
|
2893
|
+
MenubarModule
|
|
2882
2894
|
];
|
|
2883
2895
|
const primeNgServices = [ConfirmationService];
|
|
2884
2896
|
|
|
2897
|
+
;
|
|
2885
2898
|
function HttpLoaderFactory(http) {
|
|
2886
2899
|
return new TranslateHttpLoader(http, './assets/i18n/', '.json');
|
|
2887
2900
|
}
|
|
2888
2901
|
class CoreLibModule {
|
|
2889
|
-
/** @nocollapse */ static { this.ɵfac = function CoreLibModule_Factory(
|
|
2902
|
+
/** @nocollapse */ static { this.ɵfac = function CoreLibModule_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CoreLibModule)(); }; }
|
|
2890
2903
|
/** @nocollapse */ static { this.ɵmod = /** @pureOrBreakMyCode */ i0.ɵɵdefineNgModule({ type: CoreLibModule }); }
|
|
2891
2904
|
/** @nocollapse */ static { this.ɵinj = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjector({ providers: [
|
|
2892
2905
|
primeNgServices,
|
|
2906
|
+
providePrimeNG({
|
|
2907
|
+
theme: {
|
|
2908
|
+
preset: Aura,
|
|
2909
|
+
options: {
|
|
2910
|
+
darkModeSelector: 'none'
|
|
2911
|
+
}
|
|
2912
|
+
}
|
|
2913
|
+
}),
|
|
2893
2914
|
{ provide: HTTP_INTERCEPTORS, useClass: httpInterceptor, multi: true }
|
|
2894
2915
|
], imports: [CommonModule,
|
|
2895
2916
|
primeNg,
|
|
@@ -2901,7 +2922,7 @@ class CoreLibModule {
|
|
|
2901
2922
|
useFactory: HttpLoaderFactory,
|
|
2902
2923
|
deps: [HttpClient]
|
|
2903
2924
|
}
|
|
2904
|
-
}), i12.CardModule, i13.TooltipModule, i14.
|
|
2925
|
+
}), i12.CardModule, i13$1.TooltipModule, i14.PopoverModule, i15.RadioButtonModule, i16.CheckboxModule, i17.AutoCompleteModule, i18.TableModule, i19.TreeTableModule, i20.DatePickerModule, i18.TableModule, i6.ButtonModule, i7.InputTextModule, i23.SelectModule, i24.InputMaskModule, i25.MessageModule, i25.MessageModule, i8.PaginatorModule, i27.ConfirmDialogModule, i28.ProgressBarModule, i29.KeyFilterModule, i30.ToggleSwitchModule, i9.DialogModule, i32.TabsModule, i33.PanelModule, i34.ToolbarModule, i35.SplitButtonModule, i36.FieldsetModule, i37.TreeModule, i38.MenubarModule, TranslateModule] }); }
|
|
2905
2926
|
}
|
|
2906
2927
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CoreLibModule, [{
|
|
2907
2928
|
type: NgModule,
|
|
@@ -2927,12 +2948,20 @@ class CoreLibModule {
|
|
|
2927
2948
|
],
|
|
2928
2949
|
providers: [
|
|
2929
2950
|
primeNgServices,
|
|
2951
|
+
providePrimeNG({
|
|
2952
|
+
theme: {
|
|
2953
|
+
preset: Aura,
|
|
2954
|
+
options: {
|
|
2955
|
+
darkModeSelector: 'none'
|
|
2956
|
+
}
|
|
2957
|
+
}
|
|
2958
|
+
}),
|
|
2930
2959
|
{ provide: HTTP_INTERCEPTORS, useClass: httpInterceptor, multi: true }
|
|
2931
2960
|
],
|
|
2932
2961
|
exports: [components, contaComponents, primeNg, TranslateModule]
|
|
2933
2962
|
}]
|
|
2934
2963
|
}], null, null); })();
|
|
2935
|
-
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(CoreLibModule, { declarations: [Error404Component, LoadingComponent, LoadingScreenComponent, LoginModalComponent, PdfModalComponent, SessionCreateComponent, SelectClienteComponent, SelectProveedorComponent, SeleccionaArticuloComponent, SelectAcreedorComponent, CclistaComponent, CcseleccionDialogComponent, SeleccionArticuloInformacionComponent], imports: [CommonModule, i12.CardModule, i13.TooltipModule, i14.
|
|
2964
|
+
(function () { (typeof ngJitMode === "undefined" || ngJitMode) && i0.ɵɵsetNgModuleScope(CoreLibModule, { declarations: [Error404Component, LoadingComponent, LoadingScreenComponent, LoginModalComponent, PdfModalComponent, SessionCreateComponent, SelectClienteComponent, SelectProveedorComponent, SeleccionaArticuloComponent, SelectAcreedorComponent, CclistaComponent, CcseleccionDialogComponent, SeleccionArticuloInformacionComponent], imports: [CommonModule, i12.CardModule, i13$1.TooltipModule, i14.PopoverModule, i15.RadioButtonModule, i16.CheckboxModule, i17.AutoCompleteModule, i18.TableModule, i19.TreeTableModule, i20.DatePickerModule, i18.TableModule, i6.ButtonModule, i7.InputTextModule, i23.SelectModule, i24.InputMaskModule, i25.MessageModule, i25.MessageModule, i8.PaginatorModule, i27.ConfirmDialogModule, i28.ProgressBarModule, i29.KeyFilterModule, i30.ToggleSwitchModule, i9.DialogModule, i32.TabsModule, i33.PanelModule, i34.ToolbarModule, i35.SplitButtonModule, i36.FieldsetModule, i37.TreeModule, i38.MenubarModule, FormsModule, i1$1.ToastrModule, i3.TranslateModule], exports: [LoadingComponent, LoadingScreenComponent, LoginModalComponent, PdfModalComponent, SessionCreateComponent, SelectClienteComponent, SelectProveedorComponent, SeleccionaArticuloComponent, SelectAcreedorComponent, CclistaComponent, CcseleccionDialogComponent, i12.CardModule, i13$1.TooltipModule, i14.PopoverModule, i15.RadioButtonModule, i16.CheckboxModule, i17.AutoCompleteModule, i18.TableModule, i19.TreeTableModule, i20.DatePickerModule, i18.TableModule, i6.ButtonModule, i7.InputTextModule, i23.SelectModule, i24.InputMaskModule, i25.MessageModule, i25.MessageModule, i8.PaginatorModule, i27.ConfirmDialogModule, i28.ProgressBarModule, i29.KeyFilterModule, i30.ToggleSwitchModule, i9.DialogModule, i32.TabsModule, i33.PanelModule, i34.ToolbarModule, i35.SplitButtonModule, i36.FieldsetModule, i37.TreeModule, i38.MenubarModule, TranslateModule] }); })();
|
|
2936
2965
|
|
|
2937
2966
|
class ControlAccesoService {
|
|
2938
2967
|
constructor(authService) {
|
|
@@ -2959,7 +2988,7 @@ class ControlAccesoService {
|
|
|
2959
2988
|
}
|
|
2960
2989
|
return permiso;
|
|
2961
2990
|
}
|
|
2962
|
-
/** @nocollapse */ static { this.ɵfac = function ControlAccesoService_Factory(
|
|
2991
|
+
/** @nocollapse */ static { this.ɵfac = function ControlAccesoService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ControlAccesoService)(i0.ɵɵinject(AuthService)); }; }
|
|
2963
2992
|
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ControlAccesoService, factory: ControlAccesoService.ɵfac, providedIn: 'root' }); }
|
|
2964
2993
|
}
|
|
2965
2994
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ControlAccesoService, [{
|
|
@@ -3008,7 +3037,7 @@ class InitService {
|
|
|
3008
3037
|
});
|
|
3009
3038
|
});
|
|
3010
3039
|
}
|
|
3011
|
-
/** @nocollapse */ static { this.ɵfac = function InitService_Factory(
|
|
3040
|
+
/** @nocollapse */ static { this.ɵfac = function InitService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || InitService)(i0.ɵɵinject(i1.HttpClient), i0.ɵɵinject(AuthService)); }; }
|
|
3012
3041
|
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: InitService, factory: InitService.ɵfac, providedIn: 'root' }); }
|
|
3013
3042
|
}
|
|
3014
3043
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(InitService, [{
|
|
@@ -3083,7 +3112,7 @@ class MessageService {
|
|
|
3083
3112
|
}
|
|
3084
3113
|
return msgs;
|
|
3085
3114
|
}
|
|
3086
|
-
/** @nocollapse */ static { this.ɵfac = function MessageService_Factory(
|
|
3115
|
+
/** @nocollapse */ static { this.ɵfac = function MessageService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MessageService)(i0.ɵɵinject(i1$1.ToastrService)); }; }
|
|
3087
3116
|
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: MessageService, factory: MessageService.ɵfac, providedIn: 'root' }); }
|
|
3088
3117
|
}
|
|
3089
3118
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MessageService, [{
|
|
@@ -3097,7 +3126,7 @@ class PersonaMoralService extends CrudService {
|
|
|
3097
3126
|
constructor(http) {
|
|
3098
3127
|
super(http, '/personaMoral');
|
|
3099
3128
|
}
|
|
3100
|
-
/** @nocollapse */ static { this.ɵfac = function PersonaMoralService_Factory(
|
|
3129
|
+
/** @nocollapse */ static { this.ɵfac = function PersonaMoralService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PersonaMoralService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3101
3130
|
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: PersonaMoralService, factory: PersonaMoralService.ɵfac, providedIn: 'root' }); }
|
|
3102
3131
|
}
|
|
3103
3132
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PersonaMoralService, [{
|
|
@@ -3119,7 +3148,7 @@ class CanActivateGuard {
|
|
|
3119
3148
|
permisos(rol) {
|
|
3120
3149
|
this.rol = rol;
|
|
3121
3150
|
}
|
|
3122
|
-
/** @nocollapse */ static { this.ɵfac = function CanActivateGuard_Factory(
|
|
3151
|
+
/** @nocollapse */ static { this.ɵfac = function CanActivateGuard_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CanActivateGuard)(i0.ɵɵinject(ControlAccesoService)); }; }
|
|
3123
3152
|
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: CanActivateGuard, factory: CanActivateGuard.ɵfac, providedIn: 'root' }); }
|
|
3124
3153
|
}
|
|
3125
3154
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CanActivateGuard, [{
|
|
@@ -3134,7 +3163,7 @@ class CatalogoAdicionalService extends CrudService {
|
|
|
3134
3163
|
super(httpClient, 'catalogoAdicional');
|
|
3135
3164
|
this.httpClient = httpClient;
|
|
3136
3165
|
}
|
|
3137
|
-
/** @nocollapse */ static { this.ɵfac = function CatalogoAdicionalService_Factory(
|
|
3166
|
+
/** @nocollapse */ static { this.ɵfac = function CatalogoAdicionalService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CatalogoAdicionalService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3138
3167
|
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: CatalogoAdicionalService, factory: CatalogoAdicionalService.ɵfac, providedIn: 'root' }); }
|
|
3139
3168
|
}
|
|
3140
3169
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CatalogoAdicionalService, [{
|
|
@@ -3203,7 +3232,7 @@ class Authenticated {
|
|
|
3203
3232
|
}
|
|
3204
3233
|
window.location.href = host;
|
|
3205
3234
|
}
|
|
3206
|
-
/** @nocollapse */ static { this.ɵfac = function Authenticated_Factory(
|
|
3235
|
+
/** @nocollapse */ static { this.ɵfac = function Authenticated_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || Authenticated)(i0.ɵɵinject(AuthService), i0.ɵɵinject(ControlAccesoService), i0.ɵɵinject(i3$2.Router)); }; }
|
|
3207
3236
|
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: Authenticated, factory: Authenticated.ɵfac, providedIn: 'root' }); }
|
|
3208
3237
|
}
|
|
3209
3238
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(Authenticated, [{
|
|
@@ -3211,7 +3240,7 @@ class Authenticated {
|
|
|
3211
3240
|
args: [{
|
|
3212
3241
|
providedIn: 'root'
|
|
3213
3242
|
}]
|
|
3214
|
-
}], () => [{ type: AuthService }, { type: ControlAccesoService }, { type: i3$
|
|
3243
|
+
}], () => [{ type: AuthService }, { type: ControlAccesoService }, { type: i3$2.Router }], null); })();
|
|
3215
3244
|
|
|
3216
3245
|
class VersionCheckService {
|
|
3217
3246
|
constructor(http) {
|
|
@@ -3251,7 +3280,7 @@ class VersionCheckService {
|
|
|
3251
3280
|
}
|
|
3252
3281
|
return currentHash === newHash;
|
|
3253
3282
|
}
|
|
3254
|
-
/** @nocollapse */ static { this.ɵfac = function VersionCheckService_Factory(
|
|
3283
|
+
/** @nocollapse */ static { this.ɵfac = function VersionCheckService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || VersionCheckService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3255
3284
|
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: VersionCheckService, factory: VersionCheckService.ɵfac, providedIn: 'root' }); }
|
|
3256
3285
|
}
|
|
3257
3286
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(VersionCheckService, [{
|
|
@@ -3278,7 +3307,7 @@ class AgenteService extends CrudService {
|
|
|
3278
3307
|
let url = this.geturl() + '/obtenerAgenteEmpresa';
|
|
3279
3308
|
return this.getHttp().get(url, this.buildAuth());
|
|
3280
3309
|
}
|
|
3281
|
-
/** @nocollapse */ static { this.ɵfac = function AgenteService_Factory(
|
|
3310
|
+
/** @nocollapse */ static { this.ɵfac = function AgenteService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AgenteService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3282
3311
|
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AgenteService, factory: AgenteService.ɵfac, providedIn: 'root' }); }
|
|
3283
3312
|
}
|
|
3284
3313
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AgenteService, [{
|
|
@@ -3307,7 +3336,7 @@ class BancoService extends CrudService {
|
|
|
3307
3336
|
constructor(http) {
|
|
3308
3337
|
super(http, '/banco');
|
|
3309
3338
|
}
|
|
3310
|
-
/** @nocollapse */ static { this.ɵfac = function BancoService_Factory(
|
|
3339
|
+
/** @nocollapse */ static { this.ɵfac = function BancoService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || BancoService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3311
3340
|
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: BancoService, factory: BancoService.ɵfac, providedIn: 'root' }); }
|
|
3312
3341
|
}
|
|
3313
3342
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BancoService, [{
|
|
@@ -3325,7 +3354,7 @@ class CatalogoTipoService extends CrudService {
|
|
|
3325
3354
|
constructor(htt) {
|
|
3326
3355
|
super(htt, '/catalogoTipo');
|
|
3327
3356
|
}
|
|
3328
|
-
/** @nocollapse */ static { this.ɵfac = function CatalogoTipoService_Factory(
|
|
3357
|
+
/** @nocollapse */ static { this.ɵfac = function CatalogoTipoService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || CatalogoTipoService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3329
3358
|
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: CatalogoTipoService, factory: CatalogoTipoService.ɵfac, providedIn: 'root' }); }
|
|
3330
3359
|
}
|
|
3331
3360
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(CatalogoTipoService, [{
|
|
@@ -3339,7 +3368,7 @@ class ClasificadorTipoService extends CrudService {
|
|
|
3339
3368
|
constructor(http) {
|
|
3340
3369
|
super(http, '/clasificadorTipo');
|
|
3341
3370
|
}
|
|
3342
|
-
/** @nocollapse */ static { this.ɵfac = function ClasificadorTipoService_Factory(
|
|
3371
|
+
/** @nocollapse */ static { this.ɵfac = function ClasificadorTipoService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ClasificadorTipoService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3343
3372
|
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClasificadorTipoService, factory: ClasificadorTipoService.ɵfac, providedIn: 'root' }); }
|
|
3344
3373
|
}
|
|
3345
3374
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClasificadorTipoService, [{
|
|
@@ -3357,7 +3386,7 @@ class ClaveMovimientoService extends CrudService {
|
|
|
3357
3386
|
constructor(http) {
|
|
3358
3387
|
super(http, 'claveMovimiento');
|
|
3359
3388
|
}
|
|
3360
|
-
/** @nocollapse */ static { this.ɵfac = function ClaveMovimientoService_Factory(
|
|
3389
|
+
/** @nocollapse */ static { this.ɵfac = function ClaveMovimientoService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ClaveMovimientoService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3361
3390
|
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClaveMovimientoService, factory: ClaveMovimientoService.ɵfac, providedIn: 'root' }); }
|
|
3362
3391
|
}
|
|
3363
3392
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClaveMovimientoService, [{
|
|
@@ -3395,7 +3424,7 @@ class ClienteCuentaBancoService extends CrudService {
|
|
|
3395
3424
|
let p = { 'cuentas': params };
|
|
3396
3425
|
return this.httpClient.post(this.geturl(), p, this.buildAuth());
|
|
3397
3426
|
}
|
|
3398
|
-
/** @nocollapse */ static { this.ɵfac = function ClienteCuentaBancoService_Factory(
|
|
3427
|
+
/** @nocollapse */ static { this.ɵfac = function ClienteCuentaBancoService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ClienteCuentaBancoService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3399
3428
|
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClienteCuentaBancoService, factory: ClienteCuentaBancoService.ɵfac, providedIn: 'root' }); }
|
|
3400
3429
|
}
|
|
3401
3430
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClienteCuentaBancoService, [{
|
|
@@ -3414,7 +3443,7 @@ class ClienteFleteService extends CrudService {
|
|
|
3414
3443
|
let params = { fletes: p };
|
|
3415
3444
|
return this.save(params);
|
|
3416
3445
|
}
|
|
3417
|
-
/** @nocollapse */ static { this.ɵfac = function ClienteFleteService_Factory(
|
|
3446
|
+
/** @nocollapse */ static { this.ɵfac = function ClienteFleteService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ClienteFleteService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3418
3447
|
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClienteFleteService, factory: ClienteFleteService.ɵfac, providedIn: 'root' }); }
|
|
3419
3448
|
}
|
|
3420
3449
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClienteFleteService, [{
|
|
@@ -3440,7 +3469,7 @@ class DatoContactoService extends CrudService {
|
|
|
3440
3469
|
constructor(http) {
|
|
3441
3470
|
super(http, '/contacto');
|
|
3442
3471
|
}
|
|
3443
|
-
/** @nocollapse */ static { this.ɵfac = function DatoContactoService_Factory(
|
|
3472
|
+
/** @nocollapse */ static { this.ɵfac = function DatoContactoService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DatoContactoService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3444
3473
|
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: DatoContactoService, factory: DatoContactoService.ɵfac, providedIn: 'root' }); }
|
|
3445
3474
|
}
|
|
3446
3475
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DatoContactoService, [{
|
|
@@ -3454,7 +3483,7 @@ class DatoDireccionService extends CrudService {
|
|
|
3454
3483
|
constructor(http) {
|
|
3455
3484
|
super(http, '/datoDireccion');
|
|
3456
3485
|
}
|
|
3457
|
-
/** @nocollapse */ static { this.ɵfac = function DatoDireccionService_Factory(
|
|
3486
|
+
/** @nocollapse */ static { this.ɵfac = function DatoDireccionService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DatoDireccionService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3458
3487
|
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: DatoDireccionService, factory: DatoDireccionService.ɵfac, providedIn: 'root' }); }
|
|
3459
3488
|
}
|
|
3460
3489
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DatoDireccionService, [{
|
|
@@ -3473,7 +3502,7 @@ class DepartamentoService extends CrudService {
|
|
|
3473
3502
|
constructor(http) {
|
|
3474
3503
|
super(http, '/departamento');
|
|
3475
3504
|
}
|
|
3476
|
-
/** @nocollapse */ static { this.ɵfac = function DepartamentoService_Factory(
|
|
3505
|
+
/** @nocollapse */ static { this.ɵfac = function DepartamentoService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || DepartamentoService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3477
3506
|
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: DepartamentoService, factory: DepartamentoService.ɵfac, providedIn: 'root' }); }
|
|
3478
3507
|
}
|
|
3479
3508
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(DepartamentoService, [{
|
|
@@ -3510,7 +3539,7 @@ class EmpresaService extends CrudService {
|
|
|
3510
3539
|
// return super.get(1);
|
|
3511
3540
|
return this.httpClient.get(this.getBaseUrl() + '/configuracionEmpresaAdministrativo/configuracionUsuario', this.buildAuth());
|
|
3512
3541
|
}
|
|
3513
|
-
/** @nocollapse */ static { this.ɵfac = function EmpresaService_Factory(
|
|
3542
|
+
/** @nocollapse */ static { this.ɵfac = function EmpresaService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || EmpresaService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3514
3543
|
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: EmpresaService, factory: EmpresaService.ɵfac, providedIn: 'root' }); }
|
|
3515
3544
|
}
|
|
3516
3545
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(EmpresaService, [{
|
|
@@ -3525,7 +3554,7 @@ class FleteService extends CrudService {
|
|
|
3525
3554
|
super(httpClient, '/flete');
|
|
3526
3555
|
this.httpClient = httpClient;
|
|
3527
3556
|
}
|
|
3528
|
-
/** @nocollapse */ static { this.ɵfac = function FleteService_Factory(
|
|
3557
|
+
/** @nocollapse */ static { this.ɵfac = function FleteService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FleteService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3529
3558
|
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: FleteService, factory: FleteService.ɵfac, providedIn: 'root' }); }
|
|
3530
3559
|
}
|
|
3531
3560
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FleteService, [{
|
|
@@ -3539,7 +3568,7 @@ class FormaPagoService extends CrudService {
|
|
|
3539
3568
|
constructor(http) {
|
|
3540
3569
|
super(http, '/FormaDePago');
|
|
3541
3570
|
}
|
|
3542
|
-
/** @nocollapse */ static { this.ɵfac = function FormaPagoService_Factory(
|
|
3571
|
+
/** @nocollapse */ static { this.ɵfac = function FormaPagoService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || FormaPagoService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3543
3572
|
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: FormaPagoService, factory: FormaPagoService.ɵfac, providedIn: "root" }); }
|
|
3544
3573
|
}
|
|
3545
3574
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(FormaPagoService, [{
|
|
@@ -3558,7 +3587,7 @@ class MonedaService extends CrudService {
|
|
|
3558
3587
|
super(httpClient, '/moneda');
|
|
3559
3588
|
this.httpClient = httpClient;
|
|
3560
3589
|
}
|
|
3561
|
-
/** @nocollapse */ static { this.ɵfac = function MonedaService_Factory(
|
|
3590
|
+
/** @nocollapse */ static { this.ɵfac = function MonedaService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MonedaService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3562
3591
|
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: MonedaService, factory: MonedaService.ɵfac, providedIn: 'root' }); }
|
|
3563
3592
|
}
|
|
3564
3593
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MonedaService, [{
|
|
@@ -3587,7 +3616,7 @@ class PersonaFisicaService extends CrudService {
|
|
|
3587
3616
|
getEstadoCivil() {
|
|
3588
3617
|
return this.httpClient.get(this.getBaseUrl() + '/estadoCivil', this.buildAuth());
|
|
3589
3618
|
}
|
|
3590
|
-
/** @nocollapse */ static { this.ɵfac = function PersonaFisicaService_Factory(
|
|
3619
|
+
/** @nocollapse */ static { this.ɵfac = function PersonaFisicaService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || PersonaFisicaService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3591
3620
|
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: PersonaFisicaService, factory: PersonaFisicaService.ɵfac, providedIn: "root" }); }
|
|
3592
3621
|
}
|
|
3593
3622
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(PersonaFisicaService, [{
|
|
@@ -3621,7 +3650,7 @@ class ProveedorCuentaBancoService extends CrudService {
|
|
|
3621
3650
|
let p = { 'cuentas': params };
|
|
3622
3651
|
return this.httpClient.post(this.geturl(), p, this.buildAuth());
|
|
3623
3652
|
}
|
|
3624
|
-
/** @nocollapse */ static { this.ɵfac = function ProveedorCuentaBancoService_Factory(
|
|
3653
|
+
/** @nocollapse */ static { this.ɵfac = function ProveedorCuentaBancoService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ProveedorCuentaBancoService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3625
3654
|
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ProveedorCuentaBancoService, factory: ProveedorCuentaBancoService.ɵfac, providedIn: 'root' }); }
|
|
3626
3655
|
}
|
|
3627
3656
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProveedorCuentaBancoService, [{
|
|
@@ -3640,7 +3669,7 @@ class ProveedorFleteService extends CrudService {
|
|
|
3640
3669
|
let params = { fletes: p };
|
|
3641
3670
|
return this.save(params);
|
|
3642
3671
|
}
|
|
3643
|
-
/** @nocollapse */ static { this.ɵfac = function ProveedorFleteService_Factory(
|
|
3672
|
+
/** @nocollapse */ static { this.ɵfac = function ProveedorFleteService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ProveedorFleteService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3644
3673
|
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ProveedorFleteService, factory: ProveedorFleteService.ɵfac, providedIn: 'root' }); }
|
|
3645
3674
|
}
|
|
3646
3675
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ProveedorFleteService, [{
|
|
@@ -3654,7 +3683,7 @@ class ClaveAumentoDisminucionService extends CrudService {
|
|
|
3654
3683
|
constructor(http) {
|
|
3655
3684
|
super(http, 'claveAumentoDisminucion');
|
|
3656
3685
|
}
|
|
3657
|
-
/** @nocollapse */ static { this.ɵfac = function ClaveAumentoDisminucionService_Factory(
|
|
3686
|
+
/** @nocollapse */ static { this.ɵfac = function ClaveAumentoDisminucionService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || ClaveAumentoDisminucionService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3658
3687
|
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: ClaveAumentoDisminucionService, factory: ClaveAumentoDisminucionService.ɵfac, providedIn: 'root' }); }
|
|
3659
3688
|
}
|
|
3660
3689
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(ClaveAumentoDisminucionService, [{
|
|
@@ -3675,7 +3704,7 @@ class SerieDocumentoService extends CrudService {
|
|
|
3675
3704
|
getReporte(params) {
|
|
3676
3705
|
return this.httpClient.get(this.getUrl('serieDocumento') + '/descargaFormatoReporte' + this.serializeParams(params), this.buildAuth());
|
|
3677
3706
|
}
|
|
3678
|
-
/** @nocollapse */ static { this.ɵfac = function SerieDocumentoService_Factory(
|
|
3707
|
+
/** @nocollapse */ static { this.ɵfac = function SerieDocumentoService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SerieDocumentoService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3679
3708
|
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: SerieDocumentoService, factory: SerieDocumentoService.ɵfac, providedIn: 'root' }); }
|
|
3680
3709
|
}
|
|
3681
3710
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SerieDocumentoService, [{
|
|
@@ -3693,7 +3722,7 @@ class TipoContactoService extends CrudService {
|
|
|
3693
3722
|
constructor(http) {
|
|
3694
3723
|
super(http, '/tipoContacto');
|
|
3695
3724
|
}
|
|
3696
|
-
/** @nocollapse */ static { this.ɵfac = function TipoContactoService_Factory(
|
|
3725
|
+
/** @nocollapse */ static { this.ɵfac = function TipoContactoService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || TipoContactoService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3697
3726
|
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: TipoContactoService, factory: TipoContactoService.ɵfac, providedIn: 'root' }); }
|
|
3698
3727
|
}
|
|
3699
3728
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(TipoContactoService, [{
|
|
@@ -3711,7 +3740,7 @@ class UbicacionService extends CrudService {
|
|
|
3711
3740
|
constructor(http) {
|
|
3712
3741
|
super(http, 'ubicacion');
|
|
3713
3742
|
}
|
|
3714
|
-
/** @nocollapse */ static { this.ɵfac = function UbicacionService_Factory(
|
|
3743
|
+
/** @nocollapse */ static { this.ɵfac = function UbicacionService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || UbicacionService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3715
3744
|
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: UbicacionService, factory: UbicacionService.ɵfac, providedIn: 'root' }); }
|
|
3716
3745
|
}
|
|
3717
3746
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(UbicacionService, [{
|
|
@@ -3735,7 +3764,7 @@ class AcreedorCuentaContableService extends CrudService {
|
|
|
3735
3764
|
let uRL = "/cuentaContable/obtieneCuentasContablesRecursivo/";
|
|
3736
3765
|
return this.httpClient.get(this.getUrl() + uRL, this.buildAuth());
|
|
3737
3766
|
}
|
|
3738
|
-
/** @nocollapse */ static { this.ɵfac = function AcreedorCuentaContableService_Factory(
|
|
3767
|
+
/** @nocollapse */ static { this.ɵfac = function AcreedorCuentaContableService_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || AcreedorCuentaContableService)(i0.ɵɵinject(i1.HttpClient)); }; }
|
|
3739
3768
|
/** @nocollapse */ static { this.ɵprov = /** @pureOrBreakMyCode */ i0.ɵɵdefineInjectable({ token: AcreedorCuentaContableService, factory: AcreedorCuentaContableService.ɵfac, providedIn: 'root' }); }
|
|
3740
3769
|
}
|
|
3741
3770
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(AcreedorCuentaContableService, [{
|