visorus-erp-core 1.0.8
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/README.md +24 -0
- package/bundles/visorus-erp-core.umd.js +6382 -0
- package/bundles/visorus-erp-core.umd.js.map +1 -0
- package/bundles/visorus-erp-core.umd.min.js +16 -0
- package/bundles/visorus-erp-core.umd.min.js.map +1 -0
- package/esm2015/lib/app.module.js +56 -0
- package/esm2015/lib/components/acreedor/select/select-acreedor.component.js +124 -0
- package/esm2015/lib/components/acreedor/services/acreedor.service.js +36 -0
- package/esm2015/lib/components/acreedor/services/acreedorCuentaContable.js +44 -0
- package/esm2015/lib/components/agente/models/Agente.js +44 -0
- package/esm2015/lib/components/agente/services/agente.service.js +62 -0
- package/esm2015/lib/components/almacen/models/Almacen.js +40 -0
- package/esm2015/lib/components/almacen/services/almacen.service.js +44 -0
- package/esm2015/lib/components/banco/models/Banco.js +31 -0
- package/esm2015/lib/components/banco/services/banco.service.js +28 -0
- package/esm2015/lib/components/caja/session-create/session-create.component.js +147 -0
- package/esm2015/lib/components/caja/sessionCaja.service.js +36 -0
- package/esm2015/lib/components/catalogoTipo/models/CatalogoTipo.js +22 -0
- package/esm2015/lib/components/catalogoTipo/services/catalogoTipo.service.js +28 -0
- package/esm2015/lib/components/clasificadorTipo/models/ClasificadorTipo.js +22 -0
- package/esm2015/lib/components/clasificadorTipo/services/clasificadorTipo.service.js +28 -0
- package/esm2015/lib/components/claveAumentoDisminucion/services/clave-aumento-disminucion.service.js +28 -0
- package/esm2015/lib/components/claveMovimiento/models/ClaveMovimiento.js +50 -0
- package/esm2015/lib/components/claveMovimiento/services/claveMovimiento.service.js +28 -0
- package/esm2015/lib/components/cliente/models/Cliente.js +90 -0
- package/esm2015/lib/components/cliente/models/ClienteCuentaBanco.js +28 -0
- package/esm2015/lib/components/cliente/models/ClienteFlete.js +29 -0
- package/esm2015/lib/components/cliente/select/select-cliente.component.js +140 -0
- package/esm2015/lib/components/cliente/services/cliente.service.js +35 -0
- package/esm2015/lib/components/cliente/services/clienteCuentaBanco.service.js +45 -0
- package/esm2015/lib/components/cliente/services/clienteFlete.service.js +45 -0
- package/esm2015/lib/components/contacto/models/DatoContacto.js +23 -0
- package/esm2015/lib/components/contacto/services/datoContacto.service.js +28 -0
- package/esm2015/lib/components/dato-direccion/models/DatoDireccion.js +41 -0
- package/esm2015/lib/components/dato-direccion/services/datoDireccion.service.js +28 -0
- package/esm2015/lib/components/departamento/models/Departamento.js +23 -0
- package/esm2015/lib/components/departamento/services/departamento.service.js +28 -0
- package/esm2015/lib/components/empresa/models/ConfiguracionEmpresaAdministrativa.js +67 -0
- package/esm2015/lib/components/empresa/models/Empresa.js +31 -0
- package/esm2015/lib/components/empresa/services/empresa.service.js +43 -0
- package/esm2015/lib/components/error404/error404.component.js +23 -0
- package/esm2015/lib/components/flete/models/Flete.js +18 -0
- package/esm2015/lib/components/flete/services/flete.service.js +36 -0
- package/esm2015/lib/components/formaPago/models/FormaPago.js +24 -0
- package/esm2015/lib/components/formaPago/services/FormaPago.service.js +28 -0
- package/esm2015/lib/components/loading/loading.component.js +61 -0
- package/esm2015/lib/components/loading/loading.service.js +47 -0
- package/esm2015/lib/components/loading-screen/loading-screen.component.js +100 -0
- package/esm2015/lib/components/loading-screen/loading-screen.service.js +55 -0
- package/esm2015/lib/components/login-modal/login-modal.component.js +129 -0
- package/esm2015/lib/components/login-modal/login-modal.service.js +31 -0
- package/esm2015/lib/components/moneda/models/Moneda.js +30 -0
- package/esm2015/lib/components/moneda/services/moneda.service.js +36 -0
- package/esm2015/lib/components/pdfModal/pdf-modal.component.js +130 -0
- package/esm2015/lib/components/pdfModal/pdf-modal.service.js +49 -0
- package/esm2015/lib/components/persona-fisica/models/EstadoCivil.js +20 -0
- package/esm2015/lib/components/persona-fisica/models/Genero.js +18 -0
- package/esm2015/lib/components/persona-fisica/models/Persona.js +35 -0
- package/esm2015/lib/components/persona-fisica/models/PersonaFisica.js +25 -0
- package/esm2015/lib/components/persona-fisica/services/personaFisica.service.js +48 -0
- package/esm2015/lib/components/proveedor/models/Proveedor.js +50 -0
- package/esm2015/lib/components/proveedor/models/ProveedorCuentaBanco.js +28 -0
- package/esm2015/lib/components/proveedor/models/ProveedorFlete.js +29 -0
- package/esm2015/lib/components/proveedor/select/select-proveedor.component.js +124 -0
- package/esm2015/lib/components/proveedor/services/proveedor.service.js +36 -0
- package/esm2015/lib/components/proveedor/services/proveedorCuentaBanco.service.js +45 -0
- package/esm2015/lib/components/proveedor/services/proveedorFlete.service.js +45 -0
- package/esm2015/lib/components/seleccion-articulo-informacion/seleccion-articulo-informacion.component.js +117 -0
- package/esm2015/lib/components/seleccion-articulo-informacion/services/articulo-informacion.service.js +45 -0
- package/esm2015/lib/components/selecciona-articulo/selecciona-articulo.component.js +226 -0
- package/esm2015/lib/components/selecciona-articulo/stock.service.js +67 -0
- package/esm2015/lib/components/serieDocumento/models/SerieDocumento.js +58 -0
- package/esm2015/lib/components/serieDocumento/services/serieDocumento.service.js +49 -0
- package/esm2015/lib/components/tipo-contacto/models/TipoContacto.js +20 -0
- package/esm2015/lib/components/tipo-contacto/services/tipoContacto.service.js +28 -0
- package/esm2015/lib/components/ubicacion/models/Ubicacion.js +38 -0
- package/esm2015/lib/components/ubicacion/services/ubicacion.service.js +28 -0
- package/esm2015/lib/contabilidad/componentes/cclista/cclista.component.js +260 -0
- package/esm2015/lib/contabilidad/componentes/ccseleccion-dialog/ccseleccion-dialog.component.js +81 -0
- package/esm2015/lib/contabilidad/modelos/cuentaContable.model.js +47 -0
- package/esm2015/lib/contabilidad/modelos/normaInfoFinanciera.model.js +22 -0
- package/esm2015/lib/contabilidad/servicios/cuentacontable.service.js +42 -0
- package/esm2015/lib/globalPrimeNg.js +73 -0
- package/esm2015/lib/httpInterceptor/httpInterceptor.js +142 -0
- package/esm2015/lib/importComponents.js +32 -0
- package/esm2015/lib/importComponetsConta.js +12 -0
- package/esm2015/lib/models/PersonaMoral.js +29 -0
- package/esm2015/lib/models/Usuario.js +21 -0
- package/esm2015/lib/models/auth.js +15 -0
- package/esm2015/lib/services/auth.service.js +331 -0
- package/esm2015/lib/services/authenticated.service.js +127 -0
- package/esm2015/lib/services/canActivateGuard.service.ts.js +53 -0
- package/esm2015/lib/services/catalogo-adicional.service.js +36 -0
- package/esm2015/lib/services/controlAcceso.service.js +80 -0
- package/esm2015/lib/services/crud.service.js +114 -0
- package/esm2015/lib/services/file.service.js +135 -0
- package/esm2015/lib/services/global.service.js +116 -0
- package/esm2015/lib/services/init.service.js +103 -0
- package/esm2015/lib/services/message.service.js +111 -0
- package/esm2015/lib/services/paginate.service.js +104 -0
- package/esm2015/lib/services/personaMoral.service.js +28 -0
- package/esm2015/lib/services/versionCheck.service.js +103 -0
- package/esm2015/lib/utils/tipo_catalogo.ts.js +18 -0
- package/esm2015/public_api.js +100 -0
- package/esm2015/visorus-erp-core.js +15 -0
- package/esm5/lib/app.module.js +60 -0
- package/esm5/lib/components/acreedor/select/select-acreedor.component.js +139 -0
- package/esm5/lib/components/acreedor/services/acreedor.service.js +38 -0
- package/esm5/lib/components/acreedor/services/acreedorCuentaContable.js +49 -0
- package/esm5/lib/components/agente/models/Agente.js +46 -0
- package/esm5/lib/components/agente/services/agente.service.js +75 -0
- package/esm5/lib/components/almacen/models/Almacen.js +43 -0
- package/esm5/lib/components/almacen/services/almacen.service.js +49 -0
- package/esm5/lib/components/banco/models/Banco.js +33 -0
- package/esm5/lib/components/banco/services/banco.service.js +29 -0
- package/esm5/lib/components/caja/session-create/session-create.component.js +181 -0
- package/esm5/lib/components/caja/sessionCaja.service.js +38 -0
- package/esm5/lib/components/catalogoTipo/models/CatalogoTipo.js +25 -0
- package/esm5/lib/components/catalogoTipo/services/catalogoTipo.service.js +29 -0
- package/esm5/lib/components/clasificadorTipo/models/ClasificadorTipo.js +25 -0
- package/esm5/lib/components/clasificadorTipo/services/clasificadorTipo.service.js +29 -0
- package/esm5/lib/components/claveAumentoDisminucion/services/clave-aumento-disminucion.service.js +29 -0
- package/esm5/lib/components/claveMovimiento/models/ClaveMovimiento.js +53 -0
- package/esm5/lib/components/claveMovimiento/services/claveMovimiento.service.js +29 -0
- package/esm5/lib/components/cliente/models/Cliente.js +92 -0
- package/esm5/lib/components/cliente/models/ClienteCuentaBanco.js +30 -0
- package/esm5/lib/components/cliente/models/ClienteFlete.js +30 -0
- package/esm5/lib/components/cliente/select/select-cliente.component.js +157 -0
- package/esm5/lib/components/cliente/services/cliente.service.js +40 -0
- package/esm5/lib/components/cliente/services/clienteCuentaBanco.service.js +51 -0
- package/esm5/lib/components/cliente/services/clienteFlete.service.js +51 -0
- package/esm5/lib/components/contacto/models/DatoContacto.js +25 -0
- package/esm5/lib/components/contacto/services/datoContacto.service.js +29 -0
- package/esm5/lib/components/dato-direccion/models/DatoDireccion.js +43 -0
- package/esm5/lib/components/dato-direccion/services/datoDireccion.service.js +29 -0
- package/esm5/lib/components/departamento/models/Departamento.js +25 -0
- package/esm5/lib/components/departamento/services/departamento.service.js +29 -0
- package/esm5/lib/components/empresa/models/ConfiguracionEmpresaAdministrativa.js +69 -0
- package/esm5/lib/components/empresa/models/Empresa.js +33 -0
- package/esm5/lib/components/empresa/services/empresa.service.js +48 -0
- package/esm5/lib/components/error404/error404.component.js +29 -0
- package/esm5/lib/components/flete/models/Flete.js +21 -0
- package/esm5/lib/components/flete/services/flete.service.js +38 -0
- package/esm5/lib/components/formaPago/models/FormaPago.js +27 -0
- package/esm5/lib/components/formaPago/services/FormaPago.service.js +29 -0
- package/esm5/lib/components/loading/loading.component.js +61 -0
- package/esm5/lib/components/loading/loading.service.js +59 -0
- package/esm5/lib/components/loading-screen/loading-screen.component.js +104 -0
- package/esm5/lib/components/loading-screen/loading-screen.service.js +67 -0
- package/esm5/lib/components/login-modal/login-modal.component.js +137 -0
- package/esm5/lib/components/login-modal/login-modal.service.js +36 -0
- package/esm5/lib/components/moneda/models/Moneda.js +33 -0
- package/esm5/lib/components/moneda/services/moneda.service.js +38 -0
- package/esm5/lib/components/pdfModal/pdf-modal.component.js +107 -0
- package/esm5/lib/components/pdfModal/pdf-modal.service.js +59 -0
- package/esm5/lib/components/persona-fisica/models/EstadoCivil.js +23 -0
- package/esm5/lib/components/persona-fisica/models/Genero.js +21 -0
- package/esm5/lib/components/persona-fisica/models/Persona.js +37 -0
- package/esm5/lib/components/persona-fisica/models/PersonaFisica.js +27 -0
- package/esm5/lib/components/persona-fisica/services/personaFisica.service.js +56 -0
- package/esm5/lib/components/proveedor/models/Proveedor.js +52 -0
- package/esm5/lib/components/proveedor/models/ProveedorCuentaBanco.js +30 -0
- package/esm5/lib/components/proveedor/models/ProveedorFlete.js +30 -0
- package/esm5/lib/components/proveedor/select/select-proveedor.component.js +139 -0
- package/esm5/lib/components/proveedor/services/proveedor.service.js +38 -0
- package/esm5/lib/components/proveedor/services/proveedorCuentaBanco.service.js +51 -0
- package/esm5/lib/components/proveedor/services/proveedorFlete.service.js +51 -0
- package/esm5/lib/components/seleccion-articulo-informacion/seleccion-articulo-informacion.component.js +137 -0
- package/esm5/lib/components/seleccion-articulo-informacion/services/articulo-informacion.service.js +51 -0
- package/esm5/lib/components/selecciona-articulo/selecciona-articulo.component.js +264 -0
- package/esm5/lib/components/selecciona-articulo/stock.service.js +75 -0
- package/esm5/lib/components/serieDocumento/models/SerieDocumento.js +61 -0
- package/esm5/lib/components/serieDocumento/services/serieDocumento.service.js +58 -0
- package/esm5/lib/components/tipo-contacto/models/TipoContacto.js +22 -0
- package/esm5/lib/components/tipo-contacto/services/tipoContacto.service.js +29 -0
- package/esm5/lib/components/ubicacion/models/Ubicacion.js +41 -0
- package/esm5/lib/components/ubicacion/services/ubicacion.service.js +29 -0
- package/esm5/lib/contabilidad/componentes/cclista/cclista.component.js +333 -0
- package/esm5/lib/contabilidad/componentes/ccseleccion-dialog/ccseleccion-dialog.component.js +94 -0
- package/esm5/lib/contabilidad/modelos/cuentaContable.model.js +49 -0
- package/esm5/lib/contabilidad/modelos/normaInfoFinanciera.model.js +25 -0
- package/esm5/lib/contabilidad/servicios/cuentacontable.service.js +47 -0
- package/esm5/lib/globalPrimeNg.js +73 -0
- package/esm5/lib/httpInterceptor/httpInterceptor.js +154 -0
- package/esm5/lib/importComponents.js +32 -0
- package/esm5/lib/importComponetsConta.js +12 -0
- package/esm5/lib/models/PersonaMoral.js +31 -0
- package/esm5/lib/models/Usuario.js +25 -0
- package/esm5/lib/models/auth.js +19 -0
- package/esm5/lib/services/auth.service.js +378 -0
- package/esm5/lib/services/authenticated.service.js +133 -0
- package/esm5/lib/services/canActivateGuard.service.ts.js +59 -0
- package/esm5/lib/services/catalogo-adicional.service.js +38 -0
- package/esm5/lib/services/controlAcceso.service.js +92 -0
- package/esm5/lib/services/crud.service.js +156 -0
- package/esm5/lib/services/file.service.js +157 -0
- package/esm5/lib/services/global.service.js +155 -0
- package/esm5/lib/services/init.service.js +108 -0
- package/esm5/lib/services/message.service.js +125 -0
- package/esm5/lib/services/paginate.service.js +115 -0
- package/esm5/lib/services/personaMoral.service.js +29 -0
- package/esm5/lib/services/versionCheck.service.js +117 -0
- package/esm5/lib/utils/tipo_catalogo.ts.js +22 -0
- package/esm5/public_api.js +100 -0
- package/esm5/visorus-erp-core.js +15 -0
- package/fesm2015/visorus-erp-core.js +5545 -0
- package/fesm2015/visorus-erp-core.js.map +1 -0
- package/fesm5/visorus-erp-core.js +6108 -0
- package/fesm5/visorus-erp-core.js.map +1 -0
- package/lib/app.module.d.ts +5 -0
- package/lib/components/acreedor/select/select-acreedor.component.d.ts +23 -0
- package/lib/components/acreedor/services/acreedor.service.d.ts +6 -0
- package/lib/components/acreedor/services/acreedorCuentaContable.d.ts +7 -0
- package/lib/components/agente/models/Agente.d.ts +23 -0
- package/lib/components/agente/services/agente.service.d.ts +9 -0
- package/lib/components/almacen/models/Almacen.d.ts +20 -0
- package/lib/components/almacen/services/almacen.service.d.ts +7 -0
- package/lib/components/banco/models/Banco.d.ts +13 -0
- package/lib/components/banco/services/banco.service.d.ts +5 -0
- package/lib/components/caja/session-create/session-create.component.d.ts +22 -0
- package/lib/components/caja/sessionCaja.service.d.ts +6 -0
- package/lib/components/catalogoTipo/models/CatalogoTipo.d.ts +9 -0
- package/lib/components/catalogoTipo/services/catalogoTipo.service.d.ts +5 -0
- package/lib/components/clasificadorTipo/models/ClasificadorTipo.d.ts +9 -0
- package/lib/components/clasificadorTipo/services/clasificadorTipo.service.d.ts +5 -0
- package/lib/components/claveAumentoDisminucion/services/clave-aumento-disminucion.service.d.ts +5 -0
- package/lib/components/claveMovimiento/models/ClaveMovimiento.d.ts +23 -0
- package/lib/components/claveMovimiento/services/claveMovimiento.service.d.ts +5 -0
- package/lib/components/cliente/models/Cliente.d.ts +44 -0
- package/lib/components/cliente/models/ClienteCuentaBanco.d.ts +12 -0
- package/lib/components/cliente/models/ClienteFlete.d.ts +11 -0
- package/lib/components/cliente/select/select-cliente.component.d.ts +24 -0
- package/lib/components/cliente/services/cliente.service.d.ts +6 -0
- package/lib/components/cliente/services/clienteCuentaBanco.service.d.ts +7 -0
- package/lib/components/cliente/services/clienteFlete.service.d.ts +7 -0
- package/lib/components/contacto/models/DatoContacto.d.ts +9 -0
- package/lib/components/contacto/services/datoContacto.service.d.ts +5 -0
- package/lib/components/dato-direccion/models/DatoDireccion.d.ts +18 -0
- package/lib/components/dato-direccion/services/datoDireccion.service.d.ts +5 -0
- package/lib/components/departamento/models/Departamento.d.ts +9 -0
- package/lib/components/departamento/services/departamento.service.d.ts +5 -0
- package/lib/components/empresa/models/ConfiguracionEmpresaAdministrativa.d.ts +31 -0
- package/lib/components/empresa/models/Empresa.d.ts +13 -0
- package/lib/components/empresa/services/empresa.service.d.ts +7 -0
- package/lib/components/error404/error404.component.d.ts +5 -0
- package/lib/components/flete/models/Flete.d.ts +7 -0
- package/lib/components/flete/services/flete.service.d.ts +6 -0
- package/lib/components/formaPago/models/FormaPago.d.ts +10 -0
- package/lib/components/formaPago/services/FormaPago.service.d.ts +5 -0
- package/lib/components/loading/loading.component.d.ts +7 -0
- package/lib/components/loading/loading.service.d.ts +7 -0
- package/lib/components/loading-screen/loading-screen.component.d.ts +17 -0
- package/lib/components/loading-screen/loading-screen.service.d.ts +8 -0
- package/lib/components/login-modal/login-modal.component.d.ts +13 -0
- package/lib/components/login-modal/login-modal.service.d.ts +5 -0
- package/lib/components/moneda/models/Moneda.d.ts +13 -0
- package/lib/components/moneda/services/moneda.service.d.ts +6 -0
- package/lib/components/pdfModal/pdf-modal.component.d.ts +13 -0
- package/lib/components/pdfModal/pdf-modal.service.d.ts +9 -0
- package/lib/components/persona-fisica/models/EstadoCivil.d.ts +8 -0
- package/lib/components/persona-fisica/models/Genero.d.ts +7 -0
- package/lib/components/persona-fisica/models/Persona.d.ts +16 -0
- package/lib/components/persona-fisica/models/PersonaFisica.d.ts +11 -0
- package/lib/components/persona-fisica/services/personaFisica.service.d.ts +8 -0
- package/lib/components/proveedor/models/Proveedor.d.ts +23 -0
- package/lib/components/proveedor/models/ProveedorCuentaBanco.d.ts +12 -0
- package/lib/components/proveedor/models/ProveedorFlete.d.ts +11 -0
- package/lib/components/proveedor/select/select-proveedor.component.d.ts +23 -0
- package/lib/components/proveedor/services/proveedor.service.d.ts +6 -0
- package/lib/components/proveedor/services/proveedorCuentaBanco.service.d.ts +7 -0
- package/lib/components/proveedor/services/proveedorFlete.service.d.ts +7 -0
- package/lib/components/seleccion-articulo-informacion/seleccion-articulo-informacion.component.d.ts +26 -0
- package/lib/components/seleccion-articulo-informacion/services/articulo-informacion.service.d.ts +7 -0
- package/lib/components/selecciona-articulo/selecciona-articulo.component.d.ts +38 -0
- package/lib/components/selecciona-articulo/stock.service.d.ts +7 -0
- package/lib/components/serieDocumento/models/SerieDocumento.d.ts +28 -0
- package/lib/components/serieDocumento/services/serieDocumento.service.d.ts +8 -0
- package/lib/components/tipo-contacto/models/TipoContacto.d.ts +7 -0
- package/lib/components/tipo-contacto/services/tipoContacto.service.d.ts +5 -0
- package/lib/components/ubicacion/models/Ubicacion.d.ts +17 -0
- package/lib/components/ubicacion/services/ubicacion.service.d.ts +5 -0
- package/lib/contabilidad/componentes/cclista/cclista.component.d.ts +23 -0
- package/lib/contabilidad/componentes/ccseleccion-dialog/ccseleccion-dialog.component.d.ts +21 -0
- package/lib/contabilidad/modelos/cuentaContable.model.d.ts +22 -0
- package/lib/contabilidad/modelos/normaInfoFinanciera.model.d.ts +8 -0
- package/lib/contabilidad/servicios/cuentacontable.service.d.ts +7 -0
- package/lib/globalPrimeNg.d.ts +4 -0
- package/lib/httpInterceptor/httpInterceptor.d.ts +14 -0
- package/lib/importComponents.d.ts +13 -0
- package/lib/importComponetsConta.d.ts +3 -0
- package/lib/models/PersonaMoral.d.ts +13 -0
- package/lib/models/Usuario.d.ts +8 -0
- package/lib/models/auth.d.ts +6 -0
- package/lib/services/auth.service.d.ts +29 -0
- package/lib/services/authenticated.service.d.ts +11 -0
- package/lib/services/canActivateGuard.service.ts.d.ts +10 -0
- package/lib/services/catalogo-adicional.service.d.ts +6 -0
- package/lib/services/controlAcceso.service.d.ts +11 -0
- package/lib/services/crud.service.d.ts +20 -0
- package/lib/services/file.service.d.ts +11 -0
- package/lib/services/global.service.d.ts +22 -0
- package/lib/services/init.service.d.ts +9 -0
- package/lib/services/message.service.d.ts +8 -0
- package/lib/services/paginate.service.d.ts +17 -0
- package/lib/services/personaMoral.service.d.ts +5 -0
- package/lib/services/versionCheck.service.d.ts +11 -0
- package/lib/utils/tipo_catalogo.ts.d.ts +4 -0
- package/package.json +24 -0
- package/public_api.d.ts +92 -0
- package/visorus-erp-core.d.ts +10 -0
- package/visorus-erp-core.metadata.json +1 -0
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview added by tsickle
|
|
3
|
+
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
+
*/
|
|
5
|
+
import { Component, Input } from '@angular/core';
|
|
6
|
+
import { LoadingService } from './loading.service';
|
|
7
|
+
export class LoadingComponent {
|
|
8
|
+
/**
|
|
9
|
+
* @param {?} loadingService
|
|
10
|
+
*/
|
|
11
|
+
constructor(loadingService) {
|
|
12
|
+
this.loadingService = loadingService;
|
|
13
|
+
this.visible = false;
|
|
14
|
+
this.logo_loading = 'assets/img/logo_visorus_loading.png';
|
|
15
|
+
this.loadingService.loading.subscribe((/**
|
|
16
|
+
* @param {?} _visible
|
|
17
|
+
* @return {?}
|
|
18
|
+
*/
|
|
19
|
+
(_visible) => {
|
|
20
|
+
if (_visible && !this.visible) {
|
|
21
|
+
$('#modal_loading').modal('show');
|
|
22
|
+
this.visible = true;
|
|
23
|
+
}
|
|
24
|
+
else {
|
|
25
|
+
setTimeout((/**
|
|
26
|
+
* @return {?}
|
|
27
|
+
*/
|
|
28
|
+
() => {
|
|
29
|
+
$('#modal_loading').modal('hide');
|
|
30
|
+
}), 650);
|
|
31
|
+
this.visible = false;
|
|
32
|
+
}
|
|
33
|
+
}));
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
LoadingComponent.decorators = [
|
|
37
|
+
{ type: Component, args: [{
|
|
38
|
+
selector: 'loading',
|
|
39
|
+
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>",
|
|
40
|
+
styles: [".loader{width:130px;height:170px;position:relative}.loader::after,.loader::before{content:\"\";width:0;height:0;position:absolute;bottom:30px;left:15px;z-index:1;transform:scale(0);transition:.2s}.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::after,.loader .box::before{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\";-webkit-animation:1.1s linear infinite a;animation:1.1s linear infinite a}.loader .box:nth-child(1)::after{content:\"\\f13c\";-webkit-animation:1.3s linear infinite b;animation:1.3s linear infinite b}.loader .box:nth-child(2)::before{content:\"\\f121\";font-size:25px;-webkit-animation:.9s linear infinite c;animation:.9s linear infinite c}.loader .box:nth-child(2)::after{content:\"\\f19a \";-webkit-animation:.7s linear infinite d;animation:.7s linear infinite d}.loader.amit::after,.loader.amit::before{transform:scale(1)}@-webkit-keyframes a{0%{transform:translate(30px,0) rotate(30deg);opacity:0}100%{transform:translate(30px,150px) rotate(-50deg);opacity:1}}@keyframes a{0%{transform:translate(30px,0) rotate(30deg);opacity:0}100%{transform:translate(30px,150px) rotate(-50deg);opacity:1}}@-webkit-keyframes b{0%{transform:translate(50px,0) rotate(-40deg);opacity:0}100%{transform:translate(40px,150px) rotate(80deg);opacity:1}}@keyframes b{0%{transform:translate(50px,0) rotate(-40deg);opacity:0}100%{transform:translate(40px,150px) rotate(80deg);opacity:1}}@-webkit-keyframes c{0%{transform:translate(70px,0) rotate(10deg);opacity:0}100%{transform:translate(60px,150px) rotate(70deg);opacity:1}}@keyframes c{0%{transform:translate(70px,0) rotate(10deg);opacity:0}100%{transform:translate(60px,150px) rotate(70deg);opacity:1}}@-webkit-keyframes d{0%{transform:translate(30px,0) rotate(-50deg);opacity:0}100%{transform:translate(45px,150px) rotate(30deg);opacity:1}}@keyframes d{0%{transform:translate(30px,0) rotate(-50deg);opacity:0}100%{transform:translate(45px,150px) rotate(30deg);opacity:1}}@-webkit-keyframes spaceboots{0%{-webkit-transform:translate(2px,1px) rotate(0)}10%{-webkit-transform:translate(-1px,-2px) rotate(-1deg)}20%{-webkit-transform:translate(-3px,0) rotate(1deg)}30%{-webkit-transform:translate(0,2px) rotate(0)}40%{-webkit-transform:translate(1px,-1px) rotate(1deg)}50%{-webkit-transform:translate(-1px,2px) rotate(-1deg)}60%{-webkit-transform:translate(-3px,1px) rotate(0)}70%{-webkit-transform:translate(2px,1px) rotate(-1deg)}80%{-webkit-transform:translate(-1px,-1px) rotate(1deg)}90%{-webkit-transform:translate(2px,2px) rotate(0)}100%{-webkit-transform:translate(1px,-2px) rotate(-1deg)}}.modal{z-index:2050!important}.modal-content{border:0!important;background-color:#fff0!important;height:350px!important}.modal-body{margin-left:-7%!important}"]
|
|
41
|
+
}] }
|
|
42
|
+
];
|
|
43
|
+
/** @nocollapse */
|
|
44
|
+
LoadingComponent.ctorParameters = () => [
|
|
45
|
+
{ type: LoadingService }
|
|
46
|
+
];
|
|
47
|
+
LoadingComponent.propDecorators = {
|
|
48
|
+
logo_loading: [{ type: Input }]
|
|
49
|
+
};
|
|
50
|
+
if (false) {
|
|
51
|
+
/** @type {?} */
|
|
52
|
+
LoadingComponent.prototype.visible;
|
|
53
|
+
/** @type {?} */
|
|
54
|
+
LoadingComponent.prototype.logo_loading;
|
|
55
|
+
/**
|
|
56
|
+
* @type {?}
|
|
57
|
+
* @private
|
|
58
|
+
*/
|
|
59
|
+
LoadingComponent.prototype.loadingService;
|
|
60
|
+
}
|
|
61
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjoz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xzZSB7XG4gICAgICAgICAgc2V0VGltZW91dCgoKSA9PiB7XG4gICAgICAgICAgICAgICQoJyNtb2RhbF9sb2FkaW5nJykubW9kYWwoJ2hpZGUnKTsgICAgICAgICAgICAgIFxuICAgICAgICAgICAgICAgXG4gICAgICAgICAgICB9LCA2NTApO1xuICAgICAgICAgICAgdGhpcy52aXNpYmxlID0gZmFsc2U7XG4gICAgICAgfVxuICAgICAgfVxuICAgICk7XG4gICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview added by tsickle
|
|
3
|
+
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
+
*/
|
|
5
|
+
import { Injectable, Output, EventEmitter } from '@angular/core';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export class LoadingService {
|
|
8
|
+
constructor() {
|
|
9
|
+
this.loading = new EventEmitter();
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* @param {?} visible
|
|
13
|
+
* @return {?}
|
|
14
|
+
*/
|
|
15
|
+
setLoading(visible) {
|
|
16
|
+
if (visible)
|
|
17
|
+
this.start();
|
|
18
|
+
else
|
|
19
|
+
this.stop();
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* @return {?}
|
|
23
|
+
*/
|
|
24
|
+
start() {
|
|
25
|
+
this.loading.emit(true);
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* @return {?}
|
|
29
|
+
*/
|
|
30
|
+
stop() {
|
|
31
|
+
this.loading.emit(false);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
LoadingService.decorators = [
|
|
35
|
+
{ type: Injectable, args: [{
|
|
36
|
+
providedIn: 'root'
|
|
37
|
+
},] }
|
|
38
|
+
];
|
|
39
|
+
LoadingService.propDecorators = {
|
|
40
|
+
loading: [{ type: Output }]
|
|
41
|
+
};
|
|
42
|
+
/** @nocollapse */ LoadingService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function LoadingService_Factory() { return new LoadingService(); }, token: LoadingService, providedIn: "root" });
|
|
43
|
+
if (false) {
|
|
44
|
+
/** @type {?} */
|
|
45
|
+
LoadingService.prototype.loading;
|
|
46
|
+
}
|
|
47
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9hZGluZy5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vdmlzb3J1cy1lcnAtY29yZS8iLCJzb3VyY2VzIjpbImxpYi9jb21wb25lbnRzL2xvYWRpbmcvbG9hZGluZy5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sRUFBRSxZQUFZLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBSTlELE1BQU0sT0FBTyxjQUFjO0lBRjlCO1FBSWMsWUFBTyxHQUFHLElBQUksWUFBWSxFQUFFLENBQUM7S0FpQjFDOzs7OztJQWZHLFVBQVUsQ0FBQyxPQUFPO1FBQ2YsSUFBRyxPQUFPO1lBQ1IsSUFBSSxDQUFDLEtBQUssRUFBRSxDQUFDOztZQUViLElBQUksQ0FBQyxJQUFJLEVBQUUsQ0FBQztJQUNqQixDQUFDOzs7O0lBRUQsS0FBSztRQUNILElBQUksQ0FBQyxPQUFPLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQyxDQUFDO0lBQzFCLENBQUM7Ozs7SUFFRCxJQUFJO1FBQ0YsSUFBSSxDQUFDLE9BQU8sQ0FBQyxJQUFJLENBQUMsS0FBSyxDQUFDLENBQUM7SUFDM0IsQ0FBQzs7O1lBbkJKLFVBQVUsU0FBQztnQkFDUixVQUFVLEVBQUcsTUFBTTthQUN0Qjs7O3NCQUVJLE1BQU07Ozs7O0lBQVAsaUNBQXVDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSW5qZWN0YWJsZSwgT3V0cHV0LCBFdmVudEVtaXR0ZXIgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuQEluamVjdGFibGUoe1xuICAgIHByb3ZpZGVkSW4gOiAncm9vdCdcbn0pIGV4cG9ydCBjbGFzcyBMb2FkaW5nU2VydmljZSB7XG5cbiAgICBAT3V0cHV0KCkgbG9hZGluZyA9IG5ldyBFdmVudEVtaXR0ZXIoKTtcblxuICAgIHNldExvYWRpbmcodmlzaWJsZSkge1xuICAgICAgIGlmKHZpc2libGUpXG4gICAgICAgICB0aGlzLnN0YXJ0KCk7XG4gICAgICAgZWxzZVxuICAgICAgICAgdGhpcy5zdG9wKCk7XG4gICAgfVxuXG4gICAgc3RhcnQoKSB7XG4gICAgICB0aGlzLmxvYWRpbmcuZW1pdCh0cnVlKTtcbiAgICB9XG5cbiAgICBzdG9wKCkge1xuICAgICAgdGhpcy5sb2FkaW5nLmVtaXQoZmFsc2UpO1xuICAgIH1cblxufVxuIl19
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview added by tsickle
|
|
3
|
+
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
+
*/
|
|
5
|
+
import { ChangeDetectorRef, Component, ElementRef, Input } from '@angular/core';
|
|
6
|
+
import { LoadingScreenService } from "./loading-screen.service";
|
|
7
|
+
import { debounceTime } from "rxjs/operators";
|
|
8
|
+
import { LoadingService } from '../loading/loading.service';
|
|
9
|
+
export class LoadingScreenComponent {
|
|
10
|
+
/**
|
|
11
|
+
* @param {?} loadingScreenService
|
|
12
|
+
* @param {?} _elmRef
|
|
13
|
+
* @param {?} _changeDetectorRef
|
|
14
|
+
* @param {?} loadingService
|
|
15
|
+
*/
|
|
16
|
+
constructor(loadingScreenService, _elmRef, _changeDetectorRef, loadingService) {
|
|
17
|
+
this.loadingScreenService = loadingScreenService;
|
|
18
|
+
this._elmRef = _elmRef;
|
|
19
|
+
this._changeDetectorRef = _changeDetectorRef;
|
|
20
|
+
this.loadingService = loadingService;
|
|
21
|
+
this.debounceTime = 250;
|
|
22
|
+
this.loading = false;
|
|
23
|
+
this.logo_loading = 'assets/img/logo_visorus_loading.png';
|
|
24
|
+
this.loadingService.loading.subscribe((/**
|
|
25
|
+
* @param {?} _visible
|
|
26
|
+
* @return {?}
|
|
27
|
+
*/
|
|
28
|
+
(_visible) => {
|
|
29
|
+
this._elmRef.nativeElement.style.display = _visible ? 'block' : 'none';
|
|
30
|
+
}));
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* @return {?}
|
|
34
|
+
*/
|
|
35
|
+
ngAfterViewInit() {
|
|
36
|
+
this._elmRef.nativeElement.style.display = 'none';
|
|
37
|
+
this.loadingSubscription = this.loadingScreenService.loadingStatus.pipe(debounceTime(this.debounceTime)).subscribe((/**
|
|
38
|
+
* @param {?} status
|
|
39
|
+
* @return {?}
|
|
40
|
+
*/
|
|
41
|
+
(status) => {
|
|
42
|
+
this._elmRef.nativeElement.style.display = status ? 'block' : 'none';
|
|
43
|
+
this._changeDetectorRef.detectChanges();
|
|
44
|
+
}));
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* @return {?}
|
|
48
|
+
*/
|
|
49
|
+
ngOnDestroy() {
|
|
50
|
+
this.loadingSubscription.unsubscribe();
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
LoadingScreenComponent.decorators = [
|
|
54
|
+
{ type: Component, args: [{
|
|
55
|
+
selector: 'app-loading-screen',
|
|
56
|
+
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",
|
|
57
|
+
styles: [".loading-screen-wrapper{z-index:100000;position:fixed;background-color:rgba(0,0,0,.384);width:100%;height:100%;display:block}.loading-screen-icon{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}svg{display:none}.blobs{-webkit-filter:url(#goo);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%);-webkit-animation:3.4s linear infinite blob-grow;animation:3.4s linear infinite blob-grow;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%;-webkit-animation:3.4s ease-out infinite blobs;animation:3.4s ease-out infinite blobs;transform:scale(.9) translate(-50%,-50%);transform-origin:center top;opacity:0}.blob:nth-child(1){-webkit-animation-delay:.2s;animation-delay:.2s}.blob:nth-child(2){-webkit-animation-delay:.4s;animation-delay:.4s}.blob:nth-child(3){-webkit-animation-delay:.6s;animation-delay:.6s}.blob:nth-child(4){-webkit-animation-delay:.8s;animation-delay:.8s}.blob:nth-child(5){-webkit-animation-delay:1s;animation-delay:1s}@-webkit-keyframes blobs{0%{opacity:0;transform:scale(0) translate(calc(-330px - 50%),-50%)}1%,99%{opacity:1}35%,65%{opacity:1;transform:scale(.9) translate(-50%,-50%)}100%{opacity:0;transform:scale(0) translate(calc(330px - 50%),-50%)}}@keyframes blobs{0%{opacity:0;transform:scale(0) translate(calc(-330px - 50%),-50%)}1%,99%{opacity:1}35%,65%{opacity:1;transform:scale(.9) translate(-50%,-50%)}100%{opacity:0;transform:scale(0) translate(calc(330px - 50%),-50%)}}@-webkit-keyframes blob-grow{0%,100%,39%,92%{transform:scale(0) translate(-50%,-50%)}40%,42%,90%,91%{transform:scale(1,.9) translate(-50%,-50%)}43%,44%,86%,87%{transform:scale(1.2,1.1) translate(-50%,-50%)}45%,46%,84%,85%{transform:scale(1.3,1.2) translate(-50%,-50%)}47%,48%,82%,83%{transform:scale(1.4,1.3) translate(-50%,-50%)}52%,80%,81%{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%)}}@keyframes blob-grow{0%,100%,39%,92%{transform:scale(0) translate(-50%,-50%)}40%,42%,90%,91%{transform:scale(1,.9) translate(-50%,-50%)}43%,44%,86%,87%{transform:scale(1.2,1.1) translate(-50%,-50%)}45%,46%,84%,85%{transform:scale(1.3,1.2) translate(-50%,-50%)}47%,48%,82%,83%{transform:scale(1.4,1.3) translate(-50%,-50%)}52%,80%,81%{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%)}}"]
|
|
58
|
+
}] }
|
|
59
|
+
];
|
|
60
|
+
/** @nocollapse */
|
|
61
|
+
LoadingScreenComponent.ctorParameters = () => [
|
|
62
|
+
{ type: LoadingScreenService },
|
|
63
|
+
{ type: ElementRef },
|
|
64
|
+
{ type: ChangeDetectorRef },
|
|
65
|
+
{ type: LoadingService }
|
|
66
|
+
];
|
|
67
|
+
LoadingScreenComponent.propDecorators = {
|
|
68
|
+
logo_loading: [{ type: Input }]
|
|
69
|
+
};
|
|
70
|
+
if (false) {
|
|
71
|
+
/** @type {?} */
|
|
72
|
+
LoadingScreenComponent.prototype.debounceTime;
|
|
73
|
+
/** @type {?} */
|
|
74
|
+
LoadingScreenComponent.prototype.loading;
|
|
75
|
+
/** @type {?} */
|
|
76
|
+
LoadingScreenComponent.prototype.loadingSubscription;
|
|
77
|
+
/** @type {?} */
|
|
78
|
+
LoadingScreenComponent.prototype.logo_loading;
|
|
79
|
+
/**
|
|
80
|
+
* @type {?}
|
|
81
|
+
* @private
|
|
82
|
+
*/
|
|
83
|
+
LoadingScreenComponent.prototype.loadingScreenService;
|
|
84
|
+
/**
|
|
85
|
+
* @type {?}
|
|
86
|
+
* @private
|
|
87
|
+
*/
|
|
88
|
+
LoadingScreenComponent.prototype._elmRef;
|
|
89
|
+
/**
|
|
90
|
+
* @type {?}
|
|
91
|
+
* @private
|
|
92
|
+
*/
|
|
93
|
+
LoadingScreenComponent.prototype._changeDetectorRef;
|
|
94
|
+
/**
|
|
95
|
+
* @type {?}
|
|
96
|
+
* @private
|
|
97
|
+
*/
|
|
98
|
+
LoadingScreenComponent.prototype.loadingService;
|
|
99
|
+
}
|
|
100
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9hZGluZy1zY3JlZW4uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vdmlzb3J1cy1lcnAtY29yZS8iLCJzb3VyY2VzIjpbImxpYi9jb21wb25lbnRzL2xvYWRpbmctc2NyZWVuL2xvYWRpbmctc2NyZWVuLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUFpQixpQkFBaUIsRUFBRSxTQUFTLEVBQUUsVUFBVSxFQUFhLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMxRyxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSwwQkFBMEIsQ0FBQztBQUVoRSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDOUMsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLDRCQUE0QixDQUFDO0FBTzVELE1BQU0sT0FBTyxzQkFBc0I7Ozs7Ozs7SUFPakMsWUFBb0Isb0JBQTBDLEVBQzFDLE9BQW1CLEVBQ25CLGtCQUFxQyxFQUNyQyxjQUE4QjtRQUg5Q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Lm5hdGl2ZUVsZW1lbnQuc3R5bGUuZGlzcGxheSA9ICdub25lJztcbiAgICB0aGlzLmxvYWRpbmdTdWJzY3JpcHRpb24gPSB0aGlzLmxvYWRpbmdTY3JlZW5TZXJ2aWNlLmxvYWRpbmdTdGF0dXMucGlwZShkZWJvdW5jZVRpbWUodGhpcy5kZWJvdW5jZVRpbWUpKS5zdWJzY3JpYmUoXG4gICAgICAoc3RhdHVzOiBib29sZWFuKSA9PiB7XG4gICAgICAgIHRoaXMuX2VsbVJlZi5uYXRpdmVFbGVtZW50LnN0eWxlLmRpc3BsYXkgPSBzdGF0dXMgPyAnYmxvY2snIDogJ25vbmUnO1xuICAgICAgICB0aGlzLl9jaGFuZ2VEZXRlY3RvclJlZi5kZXRlY3RDaGFuZ2VzKCk7XG4gICAgICB9XG4gICAgKTtcbiAgfVxuXG4gIG5nT25EZXN0cm95KCkge1xuICAgIHRoaXMubG9hZGluZ1N1YnNjcmlwdGlvbi51bnN1YnNjcmliZSgpO1xuICB9XG5cbn1cbiJdfQ==
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview added by tsickle
|
|
3
|
+
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
+
*/
|
|
5
|
+
import { Injectable } from '@angular/core';
|
|
6
|
+
import { Subject } from "rxjs";
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export class LoadingScreenService {
|
|
9
|
+
constructor() {
|
|
10
|
+
this._loading = false;
|
|
11
|
+
this.loadingStatus = new Subject();
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @return {?}
|
|
15
|
+
*/
|
|
16
|
+
get loading() {
|
|
17
|
+
return this._loading;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* @param {?} value
|
|
21
|
+
* @return {?}
|
|
22
|
+
*/
|
|
23
|
+
set loading(value) {
|
|
24
|
+
this._loading = value;
|
|
25
|
+
this.loadingStatus.next(value);
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* @return {?}
|
|
29
|
+
*/
|
|
30
|
+
startLoading() {
|
|
31
|
+
this.loading = true;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* @return {?}
|
|
35
|
+
*/
|
|
36
|
+
stopLoading() {
|
|
37
|
+
this.loading = false;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
LoadingScreenService.decorators = [
|
|
41
|
+
{ type: Injectable, args: [{
|
|
42
|
+
providedIn: 'root'
|
|
43
|
+
},] }
|
|
44
|
+
];
|
|
45
|
+
/** @nocollapse */ LoadingScreenService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function LoadingScreenService_Factory() { return new LoadingScreenService(); }, token: LoadingScreenService, providedIn: "root" });
|
|
46
|
+
if (false) {
|
|
47
|
+
/**
|
|
48
|
+
* @type {?}
|
|
49
|
+
* @private
|
|
50
|
+
*/
|
|
51
|
+
LoadingScreenService.prototype._loading;
|
|
52
|
+
/** @type {?} */
|
|
53
|
+
LoadingScreenService.prototype.loadingStatus;
|
|
54
|
+
}
|
|
55
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9hZGluZy1zY3JlZW4uc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL3Zpc29ydXMtZXJwLWNvcmUvIiwic291cmNlcyI6WyJsaWIvY29tcG9uZW50cy9sb2FkaW5nLXNjcmVlbi9sb2FkaW5nLXNjcmVlbi5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFBRSxPQUFPLEVBQUUsTUFBTSxNQUFNLENBQUM7O0FBSy9CLE1BQU0sT0FBTyxvQkFBb0I7SUFIakM7UUFLVSxhQUFRLEdBQV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Ll9sb2FkaW5nID0gdmFsdWU7XG4gICAgdGhpcy5sb2FkaW5nU3RhdHVzLm5leHQodmFsdWUpO1xuICB9XG5cbiAgc3RhcnRMb2FkaW5nKCkge1xuICAgIHRoaXMubG9hZGluZyA9IHRydWU7XG4gIH1cblxuICBzdG9wTG9hZGluZygpIHtcbiAgICB0aGlzLmxvYWRpbmcgPSBmYWxzZTtcbiAgfVxufVxuIl19
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview added by tsickle
|
|
3
|
+
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
+
*/
|
|
5
|
+
import { Component } from '@angular/core';
|
|
6
|
+
import { LoginModalService } from './login-modal.service';
|
|
7
|
+
import { AuthService } from '../../services/auth.service';
|
|
8
|
+
export class LoginModalComponent {
|
|
9
|
+
/**
|
|
10
|
+
* @param {?} loginModalService
|
|
11
|
+
* @param {?} authService
|
|
12
|
+
*/
|
|
13
|
+
constructor(loginModalService, authService) {
|
|
14
|
+
this.loginModalService = loginModalService;
|
|
15
|
+
this.authService = authService;
|
|
16
|
+
this.modal = false;
|
|
17
|
+
this.user = { username: undefined, password: undefined };
|
|
18
|
+
this.error = false;
|
|
19
|
+
this.empresas = [];
|
|
20
|
+
this.loginModalService.modal.subscribe((/**
|
|
21
|
+
* @param {?} resp
|
|
22
|
+
* @return {?}
|
|
23
|
+
*/
|
|
24
|
+
resp => {
|
|
25
|
+
$('#modalLogin').modal('show');
|
|
26
|
+
this.user = { username: undefined, password: undefined };
|
|
27
|
+
this.empresas = [];
|
|
28
|
+
}));
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* @param {?} form
|
|
32
|
+
* @return {?}
|
|
33
|
+
*/
|
|
34
|
+
entrar(form) {
|
|
35
|
+
if (form.valid) {
|
|
36
|
+
this.user.key = "";
|
|
37
|
+
/** @type {?} */
|
|
38
|
+
let password = this.user.password.split('_');
|
|
39
|
+
if (password.length > 1) {
|
|
40
|
+
this.user.key = password[0];
|
|
41
|
+
this.user.password = '';
|
|
42
|
+
for (let index = 1; index < password.length; index++) {
|
|
43
|
+
this.user.password += password[index];
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
this.authService.setlogin(this.user, this.user.key).subscribe((/**
|
|
47
|
+
* @param {?} resp
|
|
48
|
+
* @return {?}
|
|
49
|
+
*/
|
|
50
|
+
(resp) => {
|
|
51
|
+
localStorage.setItem('usuario', JSON.stringify(resp));
|
|
52
|
+
/** @type {?} */
|
|
53
|
+
let usuario = resp;
|
|
54
|
+
this.authService.getDetalsUser().subscribe((/**
|
|
55
|
+
* @param {?} resp
|
|
56
|
+
* @return {?}
|
|
57
|
+
*/
|
|
58
|
+
(resp) => {
|
|
59
|
+
if (!resp.empresa) {
|
|
60
|
+
this.empresas = resp.empresas;
|
|
61
|
+
if (this.empresas.length == 1) {
|
|
62
|
+
this.entrarEmpresa(this.empresas[0]);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
/** @type {?} */
|
|
66
|
+
let auth = {};
|
|
67
|
+
auth.login = true;
|
|
68
|
+
auth.usuario = usuario;
|
|
69
|
+
auth.usuarioDetalles = resp;
|
|
70
|
+
this.authService.startAuth(auth);
|
|
71
|
+
this.error = false;
|
|
72
|
+
$('#modalLogin').modal('hide');
|
|
73
|
+
}));
|
|
74
|
+
}), (/**
|
|
75
|
+
* @param {?} _error
|
|
76
|
+
* @return {?}
|
|
77
|
+
*/
|
|
78
|
+
(_error) => {
|
|
79
|
+
this.error = true;
|
|
80
|
+
}));
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* @param {?} _empresa
|
|
85
|
+
* @return {?}
|
|
86
|
+
*/
|
|
87
|
+
entrarEmpresa(_empresa) {
|
|
88
|
+
this.authService.setEmpresa(_empresa).subscribe((/**
|
|
89
|
+
* @param {?} resp
|
|
90
|
+
* @return {?}
|
|
91
|
+
*/
|
|
92
|
+
(resp) => {
|
|
93
|
+
$('#modalLogin').modal('hide');
|
|
94
|
+
}));
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
LoginModalComponent.decorators = [
|
|
98
|
+
{ type: Component, args: [{
|
|
99
|
+
selector: 'app-login-modal',
|
|
100
|
+
template: "<div class=\"modal fade\" id=\"modalLogin\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"exampleModalCenterTitle\" aria-hidden=\"true\">\n <div class=\"modal-dialog modal-dialog-centered\" role=\"document\">\n <div class=\"modal-content\">\n <div class=\"modal-body\">\n <div class=\"row justify-content-center\">\n <img src=\"assets/img/logo_visorus_loading.png\" alt=\"\">\n </div>\n <div class=\"row\" *ngIf=\"empresas.length == 0\">\n <div class=\"col-lg-12 col-md-12 col-sm-12\" >\n <form #datoForm=\"ngForm\" (ngSubmit)=\"entrar(datoForm)\" > \n <label class=\"error\" *ngIf=\"error\">{{'Usuario.errorLogin' | translate}}</label>\n <div class=\"form-group mb-3\">\n <label for=\"exampleInputEmail1\" >{{ 'Usuario.username' | translate }}</label>\n <input type=\"text\" class=\"form-control\" id=\"exampleInputEmail1\" aria-describedby=\"emailHelp\" #username=\"ngModel\"\n placeholder=\"{{ 'Usuario.username' | translate }}\" name=\"username\" [(ngModel)]=\"user.username\" required>\n </div>\n <div class=\"form-group mb-3\">\n <label for=\"exampleInputPassword1\">{{ 'Usuario.password' | translate }}</label>\n <input type=\"password\" class=\"form-control\" id=\"exampleInputPassword1\" placeholder=\"{{ 'Usuario.password' | translate }}\"\n name=\"password\" [(ngModel)]=\"user.password\" required>\n </div>\n \n <button type=\"submit\" class=\"btn btn-primary_low btn-lg btn-block my-5 text-light\" translate>entrar</button>\n </form>\n </div>\n </div> \n <div class=\"row\" *ngIf=\"empresas.length\">\n <div class=\"col-xl-12 col-lg-12 col-sm-12\">\n <h4>Selecciona la empresa</h4>\n <hr>\n </div>\n <div class=\"col-xl-6 col-lg-6 col-sm-12 mb-2\" *ngFor=\"let empresa of empresas\" style=\"cursor: pointer\">\n <div class=\"card\">\n <div class=\"card-body\">\n <h5>\n {{empresa.nombre}}\n </h5>\n </div>\n </div>\n </div>\n </div> \n \n </div>\n </div>\n </div>\n</div>",
|
|
101
|
+
styles: [".modal{z-index:2050!important}.btn-primary_low{background:#133659!important}.ng-invalid:not(form),.ng-valid:not(form){border-left:1px solid #ced4da!important}.card{background:#26baed;color:#fff}.card-body{padding:10px}"]
|
|
102
|
+
}] }
|
|
103
|
+
];
|
|
104
|
+
/** @nocollapse */
|
|
105
|
+
LoginModalComponent.ctorParameters = () => [
|
|
106
|
+
{ type: LoginModalService },
|
|
107
|
+
{ type: AuthService }
|
|
108
|
+
];
|
|
109
|
+
if (false) {
|
|
110
|
+
/** @type {?} */
|
|
111
|
+
LoginModalComponent.prototype.modal;
|
|
112
|
+
/** @type {?} */
|
|
113
|
+
LoginModalComponent.prototype.user;
|
|
114
|
+
/** @type {?} */
|
|
115
|
+
LoginModalComponent.prototype.error;
|
|
116
|
+
/** @type {?} */
|
|
117
|
+
LoginModalComponent.prototype.empresas;
|
|
118
|
+
/**
|
|
119
|
+
* @type {?}
|
|
120
|
+
* @private
|
|
121
|
+
*/
|
|
122
|
+
LoginModalComponent.prototype.loginModalService;
|
|
123
|
+
/**
|
|
124
|
+
* @type {?}
|
|
125
|
+
* @private
|
|
126
|
+
*/
|
|
127
|
+
LoginModalComponent.prototype.authService;
|
|
128
|
+
}
|
|
129
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9naW4tbW9kYWwuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vdmlzb3J1cy1lcnAtY29yZS8iLCJzb3VyY2VzIjpbImxpYi9jb21wb25lbnRzL2xvZ2luLW1vZGFsL2xvZ2luLW1vZGFsLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7O0FBQUEsT0FBTyxFQUFFLFNBQVM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7XG4gICAgICB0aGlzLnVzZXIgPSB7IHVzZXJuYW1lIDogdW5kZWZpbmVkICwgcGFzc3dvcmQgOiB1bmRlZmluZWR9OyBcbiAgICAgIHRoaXMuZW1wcmVzYXMgPSBbXTtcbiAgICB9ICk7XG4gIH1cblxuICBlbnRyYXIoZm9ybSl7XG4gICAgaWYoZm9ybS52YWxpZCl7XG4gICAgIHRoaXMudXNlci5rZXk9XCJcIjtcbiAgICAgICBsZXQgcGFzc3dvcmQgPSB0aGlzLnVzZXIucGFzc3dvcmQuc3BsaXQoJ18nKTtcbiAgICAgICAgaWYocGFzc3dvcmQubGVuZ3RoID4gMSl7XG4gICAgICAgICAgdGhpcy51c2VyLmtleT0gcGFzc3dvcmRbMF07XG4gICAgICAgICAgdGhpcy51c2VyLnBhc3N3b3JkID0gJyc7XG4gICAgICAgICAgZm9yIChsZXQgaW5kZXggPSAxOyBpbmRleCA8IHBhc3N3b3JkLmxlbmd0aDsgaW5kZXgrKykgeyAgICAgICAgICAgICAgICAgIFxuICAgICAgICAgICAgdGhpcy51c2VyLnBhc3N3b3JkICs9ICBwYXNzd29yZFtpbmRleF07XG4gICAgICAgICAgfVxuICAgICAgICB9XG5cbiAgICAgICB0aGlzLmF1dGhTZXJ2aWNlLnNldGxvZ2luKHRoaXMudXNlciwgdGhpcy51c2VyLmtleSApLnN1YnNjcmliZShcbiAgICAgICAgICAgKHJlc3AgOiBhbnkpPT57XG4gICAgICAgICAgICAgICBsb2NhbFN0b3JhZ2Uuc2V0SXRlbSgndXN1YXJpbycsSlNPTi5zdHJpbmdpZnkocmVzcCkpOyBcbiAgICAgICAgICAgICAgIGxldCB1c3VhcmlvID0gcmVzcDtcbiAgICAgICAgICAgICAgIHRoaXMuYXV0aFNlcnZpY2UuZ2V0RGV0YWxzVXNlcigpLnN1YnNjcmliZShcbiAgICAgICAgICAgICAgICAgICAocmVzcCA6IGFueSk9PntcbiAgICAgICAgICAgICAgICAgICAgIGlmKCFyZXNwLmVtcHJlc2Epe1xuICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5lbXByZXNhcyA9IHJlc3AuZW1wcmVzYXM7XG4gICAgICAgICAgICAgICAgICAgICAgICBpZih0aGlzLmVtcHJlc2FzLmxlbmd0aCA9PSAxKXtcbiAgICAgICAgICAgICAgICAgICAgICAgICAgdGhpcy5lbnRyYXJFbXByZXNhKHRoaXMuZW1wcmVzYXNbMF0pO1xuICAgICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICAgbGV0IGF1dGggOiBhbnkgPSB7fTtcbiAgICAgICAgICAgICAgICAgICAgICAgYXV0aC5sb2dpbj0gdHJ1ZTtcbiAgICAgICAgICAgICAgICAgICAgICAgYXV0aC51c3VhcmlvPSB1c3VhcmlvO1xuICAgICAgICAgICAgICAgICAgICAgICBhdXRoLnVzdWFyaW9EZXRhbGxlcyA9IHJlc3A7XG4gICAgICAgICAgICAgICAgICAgICB0aGlzLmF1dGhTZXJ2aWNlLnN0YXJ0QXV0aChhdXRoKTtcbiAgICAgICAgICAgICAgICAgICAgIHRoaXMuZXJyb3I9IGZhbHNlO1xuICAgICAgICAgICAgICAgICAgICAgJCgnI21vZGFsTG9naW4nKS5tb2RhbCgnaGlkZScpO1xuICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICk7XG4gICAgICAgICAgICAgICBcbiAgICAgICAgICAgfSwgKF9lcnJvciA6IGFueSk9PntcbiAgICAgICAgICAgICB0aGlzLmVycm9yPSB0cnVlO1xuICAgICAgICAgICB9XG4gICAgICAgKTtcbiAgICB9XG59XG5cblxuZW50cmFyRW1wcmVzYShfZW1wcmVzYSl7XG4gIHRoaXMuYXV0aFNlcnZpY2Uuc2V0RW1wcmVzYShfZW1wcmVzYSkuc3Vic2NyaWJlKFxuICAgIChyZXNwIDogYW55KT0+e1xuICAgICAgJCgnI21vZGFsTG9naW4nKS5tb2RhbCgnaGlkZScpO1xuICAgIH1cbiAgKTtcbn1cblxuXG59XG4iXX0=
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview added by tsickle
|
|
3
|
+
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
+
*/
|
|
5
|
+
import { Injectable, Output, EventEmitter } from '@angular/core';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export class LoginModalService {
|
|
8
|
+
constructor() {
|
|
9
|
+
this.modal = new EventEmitter();
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* @return {?}
|
|
13
|
+
*/
|
|
14
|
+
showModal() {
|
|
15
|
+
this.modal.emit(true);
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
LoginModalService.decorators = [
|
|
19
|
+
{ type: Injectable, args: [{
|
|
20
|
+
providedIn: 'root'
|
|
21
|
+
},] }
|
|
22
|
+
];
|
|
23
|
+
LoginModalService.propDecorators = {
|
|
24
|
+
modal: [{ type: Output }]
|
|
25
|
+
};
|
|
26
|
+
/** @nocollapse */ LoginModalService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function LoginModalService_Factory() { return new LoginModalService(); }, token: LoginModalService, providedIn: "root" });
|
|
27
|
+
if (false) {
|
|
28
|
+
/** @type {?} */
|
|
29
|
+
LoginModalService.prototype.modal;
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9naW4tbW9kYWwuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL3Zpc29ydXMtZXJwLWNvcmUvIiwic291cmNlcyI6WyJsaWIvY29tcG9uZW50cy9sb2dpbi1tb2RhbC9sb2dpbi1tb2RhbC5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sRUFBRSxZQUFZLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBSTlELE1BQU0sT0FBTyxpQkFBaUI7SUFGakM7UUFJYSxVQUFLLEdBQUcsSUFBSSxZQUFZLEVBQUUsQ0FBRTtLQUt4Qzs7OztJQUhFLFNBQVM7UUFDTCxJQUFJLENBQUMsS0FBSyxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsQ0FBQztJQUMxQixDQUFDOzs7WUFSSCxVQUFVLFNBQUM7Z0JBQ1IsVUFBVSxFQUFFLE1BQU07YUFDckI7OztvQkFFRyxNQUFNOzs7OztJQUFQLGtDQUFzQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEluamVjdGFibGUsIE91dHB1dCwgRXZlbnRFbWl0dGVyIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBJbmplY3RhYmxlKHtcbiAgICBwcm92aWRlZEluOiAncm9vdCdcbn0pIGV4cG9ydCBjbGFzcyBMb2dpbk1vZGFsU2VydmljZSB7XG5cbiAgIEBPdXRwdXQoKSBtb2RhbCA9IG5ldyBFdmVudEVtaXR0ZXIoKSA7XG5cbiAgIHNob3dNb2RhbCgpe1xuICAgICAgIHRoaXMubW9kYWwuZW1pdCh0cnVlKTtcbiAgIH1cbn0iXX0=
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview added by tsickle
|
|
3
|
+
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
+
*/
|
|
5
|
+
export class Moneda {
|
|
6
|
+
constructor() { }
|
|
7
|
+
}
|
|
8
|
+
if (false) {
|
|
9
|
+
/** @type {?} */
|
|
10
|
+
Moneda.prototype.id;
|
|
11
|
+
/** @type {?} */
|
|
12
|
+
Moneda.prototype.version;
|
|
13
|
+
/** @type {?} */
|
|
14
|
+
Moneda.prototype.codigo;
|
|
15
|
+
/** @type {?} */
|
|
16
|
+
Moneda.prototype.descripcion;
|
|
17
|
+
/** @type {?} */
|
|
18
|
+
Moneda.prototype.simbolo;
|
|
19
|
+
/** @type {?} */
|
|
20
|
+
Moneda.prototype.monedaNacional;
|
|
21
|
+
/** @type {?} */
|
|
22
|
+
Moneda.prototype.decimales;
|
|
23
|
+
/** @type {?} */
|
|
24
|
+
Moneda.prototype.tipoDecambio;
|
|
25
|
+
/** @type {?} */
|
|
26
|
+
Moneda.prototype.estatus;
|
|
27
|
+
/** @type {?} */
|
|
28
|
+
Moneda.prototype.codigoSat;
|
|
29
|
+
}
|
|
30
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTW9uZWRhLmpzIiwic291cmNlUm9vdCI6Im5nOi8vdmlzb3J1cy1lcnAtY29yZS8iLCJzb3VyY2VzIjpbImxpYi9jb21wb25lbnRzL21vbmVkYS9tb2RlbHMvTW9uZWRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxNQUFNLE9BQU8sTUFBTTtJQVdmLGdCQUFjLENBQUM7Q0FDbEI7OztJQVhHLG9CQUFjOztJQUNkLHlCQUFpQjs7SUFDakIsd0JBQWdCOztJQUNoQiw2QkFBcUI7O0lBQ3JCLHlCQUFpQjs7SUFDakIsZ0NBQXlCOztJQUN6QiwyQkFBbUI7O0lBQ25CLDhCQUFxQjs7SUFDckIseUJBQWdCOztJQUNoQiwyQkFBa0IiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgY2xhc3MgTW9uZWRhe1xuICAgIGlkIDogICBudW1iZXI7XG4gICAgdmVyc2lvbiA6IG51bWJlcjtcbiAgICBjb2RpZ28gOiBudW1iZXI7XG4gICAgZGVzY3JpcGNpb24gOiBzdHJpbmc7XG4gICAgc2ltYm9sbyA6IHN0cmluZztcbiAgICBtb25lZGFOYWNpb25hbCA6IGJvb2xlYW47XG4gICAgZGVjaW1hbGVzIDogbnVtYmVyO1xuICAgIHRpcG9EZWNhbWJpbzogbnVtYmVyO1xuICAgIGVzdGF0dXM6Ym9vbGVhbjtcbiAgICBjb2RpZ29TYXQ6IG51bWJlcjtcbiAgICBjb25zdHJ1Y3Rvcigpe31cbn1cbiJdfQ==
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview added by tsickle
|
|
3
|
+
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
|
|
4
|
+
*/
|
|
5
|
+
import { Injectable } from "@angular/core";
|
|
6
|
+
import { HttpClient } from "@angular/common/http";
|
|
7
|
+
import { CrudService } from "../../../services/crud.service";
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
import * as i1 from "@angular/common/http";
|
|
10
|
+
export class MonedaService extends CrudService {
|
|
11
|
+
/**
|
|
12
|
+
* @param {?} httpClient
|
|
13
|
+
*/
|
|
14
|
+
constructor(httpClient) {
|
|
15
|
+
super(httpClient, '/moneda');
|
|
16
|
+
this.httpClient = httpClient;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
MonedaService.decorators = [
|
|
20
|
+
{ type: Injectable, args: [{
|
|
21
|
+
providedIn: 'root'
|
|
22
|
+
},] }
|
|
23
|
+
];
|
|
24
|
+
/** @nocollapse */
|
|
25
|
+
MonedaService.ctorParameters = () => [
|
|
26
|
+
{ type: HttpClient }
|
|
27
|
+
];
|
|
28
|
+
/** @nocollapse */ MonedaService.ngInjectableDef = i0.ɵɵdefineInjectable({ factory: function MonedaService_Factory() { return new MonedaService(i0.ɵɵinject(i1.HttpClient)); }, token: MonedaService, providedIn: "root" });
|
|
29
|
+
if (false) {
|
|
30
|
+
/**
|
|
31
|
+
* @type {?}
|
|
32
|
+
* @private
|
|
33
|
+
*/
|
|
34
|
+
MonedaService.prototype.httpClient;
|
|
35
|
+
}
|
|
36
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9uZWRhLnNlcnZpY2Uuan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