{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/store/state.ts","webpack:///./src/store/getters.ts","webpack:///./src/store/mutations.ts","webpack:///./src/store/actions.ts","webpack:///./src/store/app/index.js","webpack:///./src/store/app-config/index.js","webpack:///./src/store/vertical-menu/index.js","webpack:///./src/store/index.ts","webpack:///./src/models/entities/ServicioDireccion.ts","webpack:///./src/models/entities/Actividad.ts","webpack:///./src/services/documento.service.ts","webpack:///./src/models/entities/Usuario.ts","webpack:///./src/components/xlm-common-ui/xi-text.vue?c181","webpack:///src/components/xlm-common-ui/xi-text.vue","webpack:///./src/components/xlm-common-ui/xi-text.vue?3e4f","webpack:///./src/components/xlm-common-ui/xi-text.vue","webpack:///./src/components/xlm-common-ui/xi-date.vue?f2f3","webpack:///src/components/xlm-common-ui/xi-date.vue","webpack:///./src/components/xlm-common-ui/xi-date.vue?1cd2","webpack:///./src/components/xlm-common-ui/xi-date.vue","webpack:///./src/components/xlm-common-ui/xi-number.vue?9bd3","webpack:///src/components/xlm-common-ui/xi-number.vue","webpack:///./src/components/xlm-common-ui/xi-number.vue?9274","webpack:///./src/components/xlm-common-ui/xi-number.vue","webpack:///./src/components/xlm-common-ui/xi-check-box.vue?1c1b","webpack:///src/components/xlm-common-ui/xi-check-box.vue","webpack:///./src/components/xlm-common-ui/xi-check-box.vue?0cff","webpack:///./src/components/xlm-common-ui/xi-check-box.vue","webpack:///./src/components/xlm-common-ui/xi-layout-item.vue?d36c","webpack:///./src/components/xlm-common-ui/xi-layout-item.vue?d2e3","webpack:///./src/components/xlm-common-ui/xi-layout-item.vue?c3b4","webpack:///./src/components/xlm-common-ui/xi-layout-item.vue","webpack:///./src/components/xlm-common-ui/xi-popup.vue?ecdb","webpack:///./src/components/xlm-common-ui/xi-popup.vue?4d58","webpack:///./src/components/xlm-common-ui/xi-popup.vue?ca49","webpack:///./src/components/xlm-common-ui/xi-popup.vue","webpack:///./themeConfig.js","webpack:///./src/models/dtos/in/CambiarAsignacionOfertaDtoIn.ts","webpack:///./src/services/oferta.service.ts","webpack:///./src/models/constants/IvaConst.ts","webpack:///./src/models/enums/EstadoCitaEnum.ts","webpack:///./src/services/application/servicio.application.service.ts","webpack:///./src/models/entities/UsuarioVehiculo.ts","webpack:///./src/mixins/appMixin.ts","webpack:///./src/models/mvvm/VisitaMvvmBackup.ts","webpack:///./src/services/application/servicioVisita.application.service.ts","webpack:///./src/models/entities/UsuarioComunicacion.ts","webpack:///./src/services/http.service.ts","webpack:///./src/services/servicioVisita.service.ts","webpack:///./node_modules/moment/locale sync ^\\.\\/.*$","webpack:///./src/locales sync [A-Za-z0-9-_,\\s]+\\.json$/","webpack:///./src/models/entities/ServicioComunicacion.ts","webpack:///./src/models/entities/UsuarioDireccion.ts","webpack:///./src/models/enums/RolEnum.ts","webpack:///./src/App.vue?7362","webpack:///./src/models/entities/ServicioCita.ts","webpack:///./src/store/Modules/Maestros.ts","webpack:///./src/models/dtos/in/QueryRealizarServicioEnDireccionDtoIn.ts","webpack:///./src/components/xlm-common-ui/xi-popup-info-textarea.vue?afd2","webpack:///./src/models/entities/Log.ts","webpack:///./src/services/log.service.ts","webpack:///./src/components/xlm-common-ui/xi-popup-confirm.vue?3e8a","webpack:///./src/components/xlm-common-ui/xi-popup-confirm.vue?bf7f","webpack:///./src/components/xlm-common-ui/xi-popup-confirm.vue?ee72","webpack:///./src/components/xlm-common-ui/xi-popup-confirm.vue","webpack:///./src/services/application.service.ts","webpack:///./src/services/servicioCita.service.ts","webpack:///./src/components/vx-card/VxCard.vue?36e4","webpack:///./src/services/maestros.service.ts","webpack:///./src/@core/components/feather-icon/FeatherIcon.vue?c8d6","webpack:///./src/store/Modules/App.ts","webpack:///./src/models/enums/EstadoUsuarioEnum.ts","webpack:///./src/models/enums/EstadoServicioEnum.ts","webpack:///./src/models/entities/EntityIdBase.ts","webpack:///./src/models/enums/ActividadEnum.ts","webpack:///./src/services/servicio.service.ts","webpack:///./src/models/entities/ServicioVisita.ts","webpack:///./src/models/enums/EstadoDocumentoEnum.ts","webpack:///./src/assets/images/logo/logo.png","webpack:///./src/services/WebSocketService.ts","webpack:///./src/components/xlm-common-ui/xi-popup-confirm.vue?4f54","webpack:///./src/services/distance.service.ts","webpack:///./src/router/index.ts","webpack:///./src/components/xlm-common-ui/xi-layout-item.vue?3531","webpack:///./src/@core/app-config/useAppConfig.js","webpack:///./src/models/enums/TipologiaServicioEnum.ts","webpack:///./src/services/generic.service.ts","webpack:///./src/models/entities/ServicioTipo.ts","webpack:///./src/App.vue?d5fc","webpack:///src/App.vue","webpack:///./src/App.vue?a7d1","webpack:///./src/App.vue","webpack:///./src/plugins/i18n.ts","webpack:///./src/plugins/loadash.ts","webpack:///./src/plugins/devextreme.ts","webpack:///./src/@core/components/feather-icon/FeatherIcon.vue","webpack:///./src/components/vx-card/VxCard.vue?38e8","webpack:///./src/assets/utils/color.js","webpack:///src/components/vx-card/VxCard.vue","webpack:///./src/components/vx-card/VxCard.vue?046f","webpack:///./src/components/vx-card/VxCard.vue","webpack:///src/@core/components/feather-icon/FeatherIcon.vue","webpack:///./src/@core/components/feather-icon/FeatherIcon.vue?77b8","webpack:///./src/global-components.ts","webpack:///./src/libs/portal-vue.js","webpack:///./src/main.ts","webpack:///./src/components/xlm-common-ui/xi-popup.vue?75af","webpack:///./src/config/configProvider.ts","webpack:///./src/models/entities/Municipio.ts","webpack:///./src/models/entities/Gremio.ts","webpack:///./src/views/pages/entidad/password.html","webpack:///./src/models/dtos/in/CambiarPasswordDtoIn.ts","webpack:///./src/views/pages/entidad/password.vue?94ff","webpack:///./src/views/pages/entidad/password.vue?728f","webpack:///./src/views/pages/entidad/password.vue","webpack:///./src/models/entities/Aseguradora.ts","webpack:///./src/services/usuario.service.ts","webpack:///./src/views/pages/entidad/password.vue?8cc0","webpack:///./src/models/entities/Servicio.ts","webpack:///./src/components/xlm-common-ui/xi-popup-info.vue?71bf","webpack:///./src/components/xlm-common-ui/xi-popup-info.vue?5ffe","webpack:///./src/components/xlm-common-ui/xi-popup-info.vue?9527","webpack:///./src/components/xlm-common-ui/xi-popup-info.vue","webpack:///./src/components/xlm-common-ui/xi-popup-info-textarea.vue?6497","webpack:///./src/components/xlm-common-ui/xi-popup-info-textarea.vue?5f35","webpack:///./src/components/xlm-common-ui/xi-popup-info-textarea.vue?fac4","webpack:///./src/components/xlm-common-ui/xi-popup-info-textarea.vue","webpack:///./src/services/util.service.ts","webpack:///./src/components/xlm-common-ui/xi-popup-info.vue?4919","webpack:///./src/assets/images/SquareRoundedSvg.vue?7d6c","webpack:///src/assets/images/SquareRoundedSvg.vue","webpack:///./src/assets/images/SquareRoundedSvg.vue?adba","webpack:///./src/assets/images/SquareRoundedSvg.vue"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","installedCssChunks","jsonpScriptSrc","p","exports","module","l","e","promises","cssChunks","Promise","resolve","reject","href","fullhref","existingLinkTags","document","getElementsByTagName","tag","dataHref","getAttribute","rel","existingStyleTags","linkTag","createElement","type","onload","onerror","event","request","target","src","err","Error","code","parentNode","removeChild","head","appendChild","then","installedChunkData","promise","onScriptComplete","script","charset","timeout","nc","setAttribute","error","clearTimeout","chunk","errorType","realSrc","message","name","undefined","setTimeout","all","m","c","d","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","console","jsonpArray","window","oldJsonpFunction","slice","currentWarningScreen","getters","state","mutations","UPDATE_CURRENTWARNINGSCREEN","payload","actions","updateSidebarWidth","width","commit","updateI18nLocale","locale","toggleContentOverlay","toggleTheme","val","updateStarredPage","updatecurrentWarningScreen","namespaced","windowWidth","shallShowOverlay","currentBreakPoint","$themeBreakpoints","xl","lg","md","sm","UPDATE_WINDOW_WIDTH","TOGGLE_OVERLAY","layout","isRTL","$themeConfig","skin","localStorage","getItem","routerTransition","contentWidth","menu","hidden","navbar","backgroundColor","footer","TOGGLE_RTL","documentElement","UPDATE_SKIN","setItem","body","classList","add","className","match","remove","UPDATE_ROUTER_TRANSITION","UPDATE_LAYOUT_TYPE","UPDATE_CONTENT_WIDTH","UPDATE_NAV_MENU_HIDDEN","UPDATE_NAVBAR_CONFIG","obj","assign","UPDATE_FOOTER_CONFIG","isVerticalMenuCollapsed","isCollapsed","UPDATE_VERTICAL_MENU_COLLAPSED","use","Store","app","appConfig","verticalMenu","servicioId","facturacion","alias","direccion","direccionCompleta","municipioId","esPrimera","latitud","longitud","municipio","convert","usuarioDireccion","this","getDireccionCompletaConvert","item","provincia","codigoPostal","nombre","descripcion","imagenAzul","imagenVerde","imagenGris","imagenBlanco","UploadDocumento","documento","loading","Post","url","entity","UploadDocumentos","documentos","SetEntidadDocumentosByGuids","dto","Put","DeleteByGuid","guid","Delete","DeleteById","id","GetByGuid","Get","GetIdsByEntidad","entidadId","entidad","GetByEntidad","Download","uuid","DownloadFile","query","DownloadById","APIKEY","documentoService","DocumentoService","moment","tipoDocumento","login","loginConfirmacion","baja","passwordTemporal","sendEmails","sendWhatsapps","rolId","estadoUsuarioId","lopd","ordenJerarquia","sexo","observacionesDocumentacion","comisionista","liquidar","saldo","irpf","ivaClientes","Iva","ivaReducidoClientes","IvaReducido","ivaLiquidacion","limiteServiciosEnCurso","limiteServiciosOferta","usuarioActividades","usuarioAvisos","usuarioComisiones","usuarioComunicaciones","usuarioDirecciones","usuarioDocumentos","usuarioOfertas","usuarioTarjetasBancarias","usuarioCuentasBancarias","usuarioVehiculos","usuarioTiposAviso","usuarioZonas","configuracionesUsuario","menuPermisosUsuario","getEntidad","AdmSistema","GestorSistema","AdmDelegacion","GestorDelegacion","OperarioDelegacion","delegacionId","AdmColaborador","GestorColaborador","OperarioColaborador","colaboradorId","AdmComercial","GestorComercial","comercialId","AdmSubComercial","GestorSubComercial","subcomercialId","setEntidad","SubComercial","getEntidadRol","Sistema","Delegacion","Colaborador","Comercial","isEntidad","rolesEntidad","includes","isDelegacion","isColaborador","isCliente","Cliente","ClienteCandidato","isAdminEntidad","isAdminOrGestorEntidad","isSistema","isOperario","addDireccion","finded","_","find","addElement","onRemoveDireccion","existsDireccion","some","equalId","getDireccionFacturacion","x","existsComunicacion","comunicacion","valor","existsComunicacionByValor","existsComunicacionWithAviso","principal","isSameComunicacionAviso","addComunicacion","tipo","startsWith","existeComunicacionTipoPrincipal","quitarComunicacionPrincipal","removeComunicacionByValor","element","onRemoveComunicacion","setComunicacion","setElement","collection","setComunicacionEmailPrincipal","elementFalse","filter","isComunicacionEmailPrincipal","addCuenta","cuenta","ePrincipal","existsCuentaBancaria","iban","addTarjeta","tarjeta","activa","eActiva","existsTarjetaBancaria","exists","numero","cvv","caducidad","toDateString","onRemoveTarjeta","addVehiculo","vehiculo","existsVehiculo","matricula","removeVehiculoByMatricula","isValid","trim","checkDocumento","checkAnyDocumentosSinDocumento","validateTipologiaServicioAndGremio","fechaNacimiento","fechaActual","diff","toUpperCase","test","checkDocumentoWithType","checkTelefonoMovil","regexTelefono","checkTelefonoFijo","checkEmail","regexEmail","getUsuarioDocumentos","rol","entidadJuridica","checkAllDocumentosAceptados","findUsuarioDocumentos","estadoDocumentoId","Aceptado","checkAllDocumentosConDocumento","ConDocumento","SinDocumento","checkAnyDocumentosRechazado","Rechazado","delegacion","colaborador","subcomercial","comercial","hasPermisoActividad","actividadId","usuarioActividad","usuarioServicioTipos","gestionar","realizar","ds","datarow","fields","findIndex","idTemp","forEach","usuarioGremios","findedTipologiaServicioAbrir","abrir","findedGremiosAbrir","findedTipologiaServicioGestionar","findedGremiosGestionar","findedTipologiaServicioRealizar","findedGremiosRealizar","render","_vm","_h","$createElement","_c","_self","conf","ref","staticStyle","attrs","inputAttr","showClearButton","placeholder","tabindex","readonly","w","on","focusIn","focusOut","$event","$emit","updateControl","_e","keyDown","staticRenderFns","component","formato","max","min","_v","_s","label","staticClass","_l","class","notPaddingLateral","a","sl","visible","showinfo","showInfo","info","df","refInFor","focus","enterKey","valueChanged","model","callback","$$v","$set","expression","directives","rawName","icon","hint","disabled","clickButton","text","slb","items","selectBoxSearchEnabled","display","height","mounted","found","$refs","click","modalInfo","title","titulo","searchEnabled","Array","default","Number","xiLayoutItem","components","DxButton","DxSelectBox","xiText","xiDate","xiNumber","xiCheckBox","DxTextArea","keyHandler","_t","cerrar","style","colorButton","guardar","captionGuardar","evento","keyCode","salir","destroyed","off","params","confirm","modalConfirm","OK","CANCEL","resp","$modal","hide","formularioValidado","formularioModificado","required","XiPopup","$themeColors","primary","success","danger","warning","dark","appName","appLogoImage","require","customizer","enableScrollToTop","GetOfertasReparaciones","api","loadParams","AspNetData","GetOfertasTaller","GetOfertasByActividad","GetOfertaUsuarios","AceptarOferta","servicio","listaCitasActualizar","RechazarOferta","BloquearOferta","DesbloquearOferta","EstaOfertaBloqueada","CambiarGremio","gremioId","CambiarAsignacion","gestorId","entidadOfertaGestorId","entidadAbreId","entidadAbreGestorId","CambiarEntidad","tiempoMinutos","GetIdsUsuariosCanDeleteOferta","CheckOfertasEntidad","EntidadSuperaLimitesAsignacion","ofertaService","IvaConst","EstadoCitaEnum","nuevoServicioTipoCliente","servicioPrincipal","GuardarServicio","actividad","servicioTipo","cliente","servicioDireccion","servicioComunicacion","servicioPerjudicados","resetPerjudicados","nuevoSubservicio","aseguradora","asistencia","poliza","expediente","franquicia","limiteCapital","garantiaCoberturas","solicitaPeritacion","aportaPeritacion","gestionCobro","pagoComercial","perjudicadoResp","usuarioId","nuevoSubservicioRelacionado","servicioPrincipalId","servicioTipoId","asistenciaId","aseguradoraId","clienteId","destinatarioId","destinatario","gremio","GetById","respPadre","tab","respGuardar","nuevoSubservicioRelacionadoPoliza","GuardarServicioAsistente","referencia","usuarioAlta","fechaAlta","log","gestor","reparador","usuarioVehiculo","cargaFotos","fotos","pfotos","el","file","imageSrc","URL","createObjectURL","servicioApplicationService","ServicioApplicationService","marca","modelo","AppModule","onWidthChange","innerWidth","size","$custom_store","loadMode","load","$grid_addUppRow","userLogged","userLoggedStore","showGremios","getTelefonoUsuario","usuario","telefono","getDireccionCompleta","getDescripcionVehiculo","getNombreEstadoServicio","res","ESTADOS_SERVICIO","isProduction","openDocumentoById","documentoId","openDocumento","openDocumentoByGuid","filename","nombreOriginal","extension","navigator","msSaveOrOpenBlob","objectUrl","open","downloadDocumento","getURLDocumentoById","getURLDocumento","documentoURL","getURLDocumentoByGuid","downloadDocumentoById","downloadDocumentoByGuid","download","revokeObjectURL","isToday","date","today","Date","getDate","getMonth","getFullYear","formatDateToMonthShort","toTimeForCurrentDay","formatting","month","day","hour","minute","Intl","DateTimeFormat","format","Getter","appMixin","DxDataGrid","DxScrolling","DxColumn","DxPaging","DxPager","DxFilterRow","DxSelection","DxStateStoring","DxPopup","DxEditing","DxDateBox","DxList","DxTagBox","DxCheckBox","DxTabPanel","DxNumberBox","DxFileUploader","DxGallery","xiPopup","xiPopupConfirm","BRow","BCol","BDropdown","BDropdownItem","BButton","BCard","BCardHeader","BCardBody","BCollapse","BTabs","BTab","BContainer","BButtonGroup","BAvatar","BBadge","BInputGroupPrepend","BBreadcrumb","BFormDatepicker","BInputGroup","BInputGroupAppend","BFormInput","BFormTimepicker","BLink","BCardTitle","BCardText","BImg","BForm","BFormGroup","BFormCheckbox","BBreadcrumbItem","BNavItemDropdown","BMedia","SquaredRoundedSvg","VuePerfectScrollbar","ServicioVisita","cita","ServicioCita","citasArray","typeGallery","showGallery","gremiosSelected","gremiosNuevos","gremiosNuevosWithId","codigosCobrados","nuevoServicio","editingTarifaCodigoId","editingTarifaCodigoDescripcion","visitaIniciada","visitaPausada","contadorVisita","contadorVisitaInterval","tiempoEnSegundos","documentosOrigin","conforme","adapt","mvvm","realizarServicioEnDireccion","terminar","servicioVisita","online","saveRemoteTerminar","debug","notify","existsBackup","roles","RolEnum","existsLocal","backup","getPausadaBackup","getBackupPausada","JSON","stringify","visita","removeLocal","removeItem","getLocal","parse","getVisitaIdLocal","cancelar","Update","nuevoGremio","operarioId","QueryRealizarServicioEnDireccionDtoIn","TipologiaServicioEnum","ValidarRealizarServicioEnDireccion","Servicio","notifyError","trabajos","deUsuarioId","paraUsuarioId","urgente","fechaCita","servicioCitas","estadoServicioId","EstadoServicioEnum","Enviado","entidadOfertaId","GuardarServicioAsistenteSync","oferta","reparadorId","citaAceptada","estado","Visita","ConvertToVisita","servicioVisitaApplicationService","contacto","valorConfirmacion","AUTH_KEY","_APIKEY","_instance","baseURL","headers","interceptors","config","signalR","connectionId","response","status","removeToken","queryString","keys","map","encodeURIComponent","join","processResponse","level","toLowerCase","emit","color","processError","param","aurl","post","put","delete","responseType","claims","decodeToken","AUSER_INFO","ID","ID_ROL","ROL","NOMBRE","USUARIO","ID_ESTADO","ID_DELEGACION","ID_COMERCIAL","ID_SUBCOMERCIAL","ID_COLABORADOR","encodedToken","expirationDate","getTokenExpirationDate","token","exp","dt","setFullYear","setUTCSeconds","pageSize","options","loadUrl","onBeforeSend","operation","ajaxSettings","store","paginate","Http","HttpService","GetWithFotosByIdAsync","GetFotosById","GetByGremio","GetDtoByGremio","GetByReferencia","GetDtoByReferencia","GetFirstVisitaByGremio","GetLastVisitaByGremio","GetDtoLastVisitaByGremio","GetLastVisitaGremioByReferencia","GetLastVisitaGremioWithFotosByReferencia","iniciar","pausar","continuar","servicioVisitaId","existsPausada","getIdPausada","terminarAndNuevoGremio","cobrarCodigos","servicioCobro","UpdateCodigoCobrar","cobrar","generarFactura","setTrabajosTerminados","createPresupuesto","servicioVisitaService","ServicioVisitaService","webpackContext","req","webpackContextResolve","usuarioComunication","obligada","propuesta","cortesia","getTipoCita","validate","tipoError","Reparaciones","Taller","isActive","Rechazada","Cancelada","Caducada","ESTADOS","TIPO_DOCUMENTO","des","TIPO_SEXO","ROLES","TIPOS_COMUNICACIONES","ACTIVIDADES","GREMIOS","SERVICIO_TIPO","TIEMPOS_CORTESIA","TIEMPOS_OFERTA_EXCLUSIVA","ENTIDAD_JURIDICA","ESTADOS_DOCUMENTO","UPDATE_ESTADOS","UPDATE_ESTADOS_SERVICIO","UPDATE_ROLES","UPDATE_ACTIVIDADES","UPDATE_GREMIOS","UPDATE_SERVICIO_TIPO","UPDATE_ESTADOS_DOCUMENTO","setEstados","context","GetService","setEstadosServicio","setRoles","setActividades","setGremios","setServicioTipo","setEstadosDocumento","MaestrosModule","dynamic","metodo","mensaje","fecha","nivel","_levels","_app","_user","_delay","list","InitSaveBuffer","method","parameters","indexOf","Save","warn","fatal","Log","user","levels","delay","setInterval","enviar","logService","domProps","XiPopupConfirm","setUserInfo","apikey","GetByIdWithPermisos","userLoggedResp","userLoggedAction","setMenu","permitido","menus","padreId","imenu","route","splug","i18n","orden","submenu","sortBy","UPDATE_MENU","applicationService","ApplicationService","GetByUsuario","BloquearCita","DesbloquearCita","EstaCitaBloqueada","servicioCitaService","ServicioCitaService","GetEstados","datos","GetEntidades","id_rol","Municipios","GetProvincias","GetMuniciosByProvinciaLike","codprov","GetServicioTipo","GetGremiosDisponibles","GetServicioTipoDisponiblesWithoutGremio","GetServicioTipoDisponibles","GetEstadosDocumento","ClearService","InitRoles","MaestrosService","Service","stateInstance","user_info","perfil","updateUserLogged","UPDATE_USER_INFO","UPDATE_PERFIL","clearStateMutation","AUPDATE_PERFIL","AUPDATE_MENU","clearAction","appModule","EstadoUsuarioEnum","isNew","ActividadEnum","GetServiciosReparaciones","GetGremiosReparaciones","GetServiciosTaller","GetServiciosByActividad","GetServiciosReparacionesByEstados","estados","GetGremiosReparacionesByEstados","GetServiciosTallerByEstados","GetServiciosByEstadosAndActividad","GetReparacionesByIdWithoutFotos","GetTallerByIdWithoutFotos","GetByIdWithSubservicios","GetReparacionesDtoByIdWithSubservicios","GetTallerDtoById","GetReparacionesDtoByIdWithSubserviciosWithoutFotos","GetDtoByIdWithSubserviciosWithoutFotos","GetByIdWithSubserviciosAndVisitas","GetDtoByIdWithSubserviciosAndVisitas","GetDtoByIdWithVisitas","GetGremiosBySinCita","GetContactosDtoByIdPrincipal","isComercialEntidadAbre","existsByPoliza","existsRelacionado","getRelacionados","getRelacionadosWithCerradosAndLiquidados","relacionar","servicioRelacionadoId","quitarRelacion","updateAsignaciones","updateAsignacionesGestor","setAsignacionReparador","setAsignacionDelegacion","setAsignacionGestor","accion","checkSetAsignacionReparador","SetGestionCobro","SetPagoComercial","EliminarDocumento","DescargarDocumento","Bloquear","Desbloquear","EstaBloqueado","BloquearReferencia","DesbloquearReferencia","EstaBloqueadoReferencia","SetTrabajosTerminados","SetComisiones","servicioService","ServicioService","codigo","citaId","tiempoCortesia","fechaInicio","soloLecturaCobertura","conCobertura","sinCobertura","sinDeterminarCobertura","trabajosRealizadosPresupuesto","trabajosRealizadosFacturacion","trabajosRealizadosFacturacionHistorico","trabajosPendientes","trabajosTerminados","formaPago","ningunGremio","gremiosNecesarios","iva","fotosPrevias","fotosAntes","fotosDurante","fotosDespues","servicioTarifaCodigos","servicioCobros","EstadoDocumentoEnum","_apiKey","methodsArray","start","apiKey","connection","withUrl","transport","WebSockets","accessTokenFactory","configureLogging","Information","build","idSource","onclose","ret","disconnect","stop","replace","webSocketService","WebSocketService","GetDireccionesRealizarServicioByUsuario","GetUsuariosRealizarServicioEnDireccion","GetUsuariosRealizarServicioEnDireccionVista","CheckEntidadRealizarServicioEnDireccion","GeolocalizarUsuarioDireccion","GetDelegacionMasCercana","GetTalleres","distanceService","DistanceService","inicio","home","redirectTo","clientes","clienteEdit","zonas","zonaEdit","usuarioEditTabs","servicios","asistente","asistenteSubservicio","ofertaReparaciones","ofertaTaller","ofertaAbogados","ofertaClinicaRehabilitacion","ofertaPeritos","ofertaPrevencion","ofertaFinanciacion","ofertaEnergia","ofertaTelefonia","ofertaInformatica","ofertaList","servicioDetailReparacionesTabs","servicioDetailTallerTabs","servicioDetailAbogadosTabs","servicioDetailClinicaRehabilitacionTabs","servicioDetailPeritosTabs","servicioDetailPrevencionTabs","servicioDetailFinanciacionTabs","servicioDetailEnergiaTabs","servicioDetailTelefoniaTabs","servicioDetailInformaticaTabs","grupoConfiguracion","configuracion","empresaAsistenciaList","empresaAsistenciaEdit","configuracionRolList","configuracionRolEdit","aseguradoraList","tarifaList","tarifaDetail","maestrosTarifaList","tarifaCreate","tarifaEdit","tipoAvisoList","visitaTabs","liquidaciones","liquidacionesHistorico","liquidacionesHistoricoDetail","ayudaMaestros","ayuda","logsList","facturaListView","facturaClienteDetail","facturaLiquidacionDetail","servicioDetailReparacionesPresupuestoDetail","servicioDetailTallerPresupuestoDetail","servicioDocumentoViewer","servicioDocumentoViewerReparacionesInformeAseguradora","servicioDocumentoViewerTallerInformeAseguradora","meta","requiresAuth","router","base","scrollBehavior","y","routes","path","redirect","checkSavePaths","beforeEach","to","from","next","modalConfirmSave","dispatch","matched","record","isTokenExpired","fullPath","Solicitud","ProcesandoSolicitud","visitaId","toString","show","scrollable","adaptative","clickToClose","beforeResolve","afterEach","done","configure","showSpinner","usAppConfig","computed","set","skinClasses","layoutType","watch","isNavMenuHidden","navbarBackgroundColor","navbarType","footerType","GetAll","GetSimpleById","Insert","DeleteByIdLogic","UndeleteById","RolesServicioTipos","LayoutVertical","LayoutFull","$route","contentLayoutType","$store","beforeCreate","setup","loadLocaleMessages","locales","messages","fallbackLocale","$_","language","tempHidden","noShadow","noRadius","cardBorder","withHover","cardClasses","onClick","$props","titleClasses","subtitleClasses","subtitle","actionButtons","collapseAction","refreshContentAction","removeCardAction","codeToggler","rotate180","isContentCollapsed","toggleContent","refreshcard","removeCard","showCode","toggleCode","collapsed","$slots","codeLanguage","darken","percent","f","split","R","parseInt","G","B","Math","round","getColor","colorx","alphax","defaultx","hexToRgb","g","b","search","isColor","vscolors","RandomColor","getRandomInt","floor","random","rColor","opacity","colorSplit","contrastColor","elementx","rgbx","rgb","yiq","setCssVariable","propertyName","setProperty","hex","shorthandRegex","exec","getVariable","styles","String","getPropertyValue","changeColor","colorInicial","colores","getComputedStyle","functional","props","badge","badgeClasses","svg","h","FeatherIcon","VxCard","Vue","PortalVue","tz","setDefault","init","$mount","theme","colors","injectModalsContainer","dialog","global","productionTip","endpointAPI","tokenName","stripeApiKey","logLevels","logDelay","CONFIG","envName","substr","envValue","provinciaId","zonasMunicipios","nombrePc","nombreMobil","nombreVerde","rolesGremios","tarifasGremios","usuariosGremios","passwordActual","passwordNuevo","passwordConfirmacion","textoValidacion","created","notifyPassword","validacion","CambiarPassword","$util","$router","tituloentidad","Boolean","Password","aseguradoraTarifas","GetByLogin","GetInfoSistema","SetToProcesandoSolicitud","SetToRechazado","SetToActivo","SetToDocEnRevision","SetToDocRechazada","Baja","BajaEntidad","Comunicaciones","ExistsComunicacion","OperariosDelegacionColaborador","OperariosEntidadCanRealizar","OperariosEntidadCanRealizarByEntidad","Comerciales","Subcomerciales","Gestores","id_delegacion","GestoresDelegacionCanGestionar","GetEntidadesCanAbrir","Delegaciones","GestoresEntidadCanGestionar","GetSubcomercialesByComercial","idComercial","GetEmpresasAsistencia","IsLastAdminEntidad","InsertEmpresaAsistencia","ExistsOperariosEntidad","existsUsuarioCuentaBancaria","oficina","dc","SetComisionista","GetUsuarioDocumentosByTipo","tipoDocumentoId","usuarioService","UsuarioService","Guardado","pagoComercialTipo","pagoComercialPorcentaje","pagoComercialImporte","pagocomercialPerceptorId","presupuesto","servicioDireccionId","servicioComunicacionId","comercialGestorId","entidadOfertaTiempoMinutos","usuarioVehiculoId","principalEstadoServicioId","baseImponibleMo","baseImponibleMat","baseImponibleMomat","baseImponible","totalIva","total","existsLiquidacion","ofertaUsuarios","subservicios","visitas","servicioLiquidacionDetalles","servicioComisionOpcionesRol","facturas","especialidadesTaller","entidadOferta","getNew","reset","resetTipologiaNoCliente","resetCliente","getTaller","isLeroyMerlin","EmpresaAsistencia","isSigma","XiPopupInfo","XiPopupInfoTextarea","durations","notifyValidation","notifyWarning","valueColor","$vs","position","time","notifyDx","msg","rowdoubleclick","prevClickTime","lastClickTime","refs","self","control","instance","modal","PopupComponent","beforeClose","adaptive","modalWithParams","modalPromise","modalInfoTextArea","callBack","$on","$off","onSignal","offSignal","getOnline","downloadFile","blob","Blob","fileName","fileToImage","reader","FileReader","readAsDataURL","_event","blobToFile","theBlob","lastModifiedDate","dataURItoBlob","dataURI","byteString","atob","unescape","mimeString","ia","Uint8Array","charCodeAt","duration","registerTime","$moment","endTime","asSeconds","addDuration","getDuration","seconds","close","substring","getTime"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAG/Be,GAAqBA,EAAoBhB,GAE5C,MAAMO,EAASC,OACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ,GACjCiB,GAAY,EACRC,EAAI,EAAGA,EAAIF,EAAed,OAAQgB,IAAK,CAC9C,IAAIC,EAAQH,EAAeE,GACG,IAA3BX,EAAgBY,KAAcF,GAAY,GAE3CA,IACFL,EAAgBQ,OAAOpB,IAAK,GAC5Be,EAASM,EAAoBA,EAAoBC,EAAIN,EAAe,KAItE,OAAOD,EAIR,IAAIQ,EAAmB,GAGnBC,EAAqB,CACxB,IAAO,GAMJjB,EAAkB,CACrB,IAAO,GAGJK,EAAkB,GAGtB,SAASa,EAAe7B,GACvB,OAAOyB,EAAoBK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sBAAW,kBAAG,C,IAAd,WACE,OACE5N,KAAKe,SACFxF,SAAS,IACTsS,UAAU,IAAK,IAAIt0B,MAAOu0B,UAAUvS,SAAS,K,gCAKxD,EAjcA,CAA0B,QAkcb4J,EAAQ,IAAI,G,kCC1czB,W,kCCAA,IAAIr7B,EAAS,WAAa,IAAIC,EAAI/N,KAASgO,EAAGD,EAAIE,eAAmBC,EAAGH,EAAII,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACK,MAAM,CAAC,OAAS,OAAO,MAAQ,SAAS,CAACL,EAAG,OAAO,CAACK,MAAM,CAAC,EAAI,IAAI,EAAI,IAAI,MAAQ,OAAO,OAAS,OAAO,GAAK,MAAM,GAAK,MAAM,KAAOR,EAAI4Z,YACjPrY,EAAkB,GCQtB,GACEi3B,MAAO,CACL5e,MAAO,CACLvwB,KAAM4uC,OACNzzB,QAAS,QACTiC,UAAU,KCdyV,I,YCOrWjF,EAAY,eACd,EACAzB,EACAwB,GACA,EACA,KACA,KACA,MAIa,OAAAC,E","file":"js/app.8ed04c9f.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded CSS chunks\n \tvar installedCssChunks = {\n \t\t\"app\": 0\n \t}\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t\"app\": 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"js/\" + ({\"aseguradoraListView\":\"aseguradoraListView\",\"asistente~asistenteSubservicio~citas~servicioDetailAbogadosTabs~servicioDetailClinicaRehabilitacionT~e15b5def\":\"asistente~asistenteSubservicio~citas~servicioDetailAbogadosTabs~servicioDetailClinicaRehabilitacionT~e15b5def\",\"citas\":\"citas\",\"asistente~asistenteSubservicio~clienteEdit~clientes~empresaAsistenciaEditView~servicioDetailAbogados~705eff0f\":\"asistente~asistenteSubservicio~clienteEdit~clientes~empresaAsistenciaEditView~servicioDetailAbogados~705eff0f\",\"asistente~asistenteSubservicio~clientes~visitaTabs\":\"asistente~asistenteSubservicio~clientes~visitaTabs\",\"asistente\":\"asistente\",\"asistenteSubservicio\":\"asistenteSubservicio\",\"clientes\":\"clientes\",\"clienteEdit~usuarioEdit\":\"clienteEdit~usuarioEdit\",\"clienteEdit\":\"clienteEdit\",\"empresaAsistenciaEditView~usuarioEdit\":\"empresaAsistenciaEditView~usuarioEdit\",\"liquidaciones~usuarioEdit\":\"liquidaciones~usuarioEdit\",\"usuarioEdit\":\"usuarioEdit\",\"empresaAsistenciaEditView\":\"empresaAsistenciaEditView\",\"servicioDetailAbogadosTabs~servicioDetailClinicaRehabilitacionTabs~servicioDetailEnergiaTabs~servici~34a24931\":\"servicioDetailAbogadosTabs~servicioDetailClinicaRehabilitacionTabs~servicioDetailEnergiaTabs~servici~34a24931\",\"visitaTabs\":\"visitaTabs\",\"avisos\":\"avisos\",\"ayudaMaestros\":\"ayudaMaestros\",\"ayudaView\":\"ayudaView\",\"configuracionRolEdit\":\"configuracionRolEdit\",\"configuracionRolList\":\"configuracionRolList\",\"configuracionView\":\"configuracionView\",\"empresaAsistenciaListView\":\"empresaAsistenciaListView\",\"facturaClienteDetail~facturaLiquidacionDetail~liquidacionesHistorico~liquidacionesHistoricoDetail~se~761a1c1c\":\"facturaClienteDetail~facturaLiquidacionDetail~liquidacionesHistorico~liquidacionesHistoricoDetail~se~761a1c1c\",\"servicioDetailAbogadosTabs\":\"servicioDetailAbogadosTabs\",\"servicioDetailClinicaRehabilitacionTabs\":\"servicioDetailClinicaRehabilitacionTabs\",\"servicioDetailEnergiaTabs\":\"servicioDetailEnergiaTabs\",\"servicioDetailFinanciacionTabs\":\"servicioDetailFinanciacionTabs\",\"servicioDetailInformaticaTabs\":\"servicioDetailInformaticaTabs\",\"servicioDetailPeritosTabs\":\"servicioDetailPeritosTabs\",\"servicioDetailPrevencionTabs\":\"servicioDetailPrevencionTabs\",\"servicioDetailReparacionesTabs\":\"servicioDetailReparacionesTabs\",\"servicioDetailTallerTabs\":\"servicioDetailTallerTabs\",\"servicioDetailTelefoniaTabs\":\"servicioDetailTelefoniaTabs\",\"facturaClienteDetail\":\"facturaClienteDetail\",\"facturaLiquidacionDetail\":\"facturaLiquidacionDetail\",\"liquidacionesHistorico\":\"liquidacionesHistorico\",\"liquidacionesHistoricoDetail\":\"liquidacionesHistoricoDetail\",\"servicioDetailReparacionesPresupuestoDetail~servicioDocumentoViewer\":\"servicioDetailReparacionesPresupuestoDetail~servicioDocumentoViewer\",\"servicioDetailReparacionesPresupuestoDetail\":\"servicioDetailReparacionesPresupuestoDetail\",\"servicioDetailTallerPresupuestoDetail\":\"servicioDetailTallerPresupuestoDetail\",\"servicioDocumentoViewerReparacionesInformeAseguradora\":\"servicioDocumentoViewerReparacionesInformeAseguradora\",\"servicioDocumentoViewer~servicioDocumentoViewerTallerInformeAseguradora\":\"servicioDocumentoViewer~servicioDocumentoViewerTallerInformeAseguradora\",\"servicioDocumentoViewer\":\"servicioDocumentoViewer\",\"servicioDocumentoViewerTallerInformeAseguradora\":\"servicioDocumentoViewerTallerInformeAseguradora\",\"facturaListView\":\"facturaListView\",\"grupoConfiguracionView\":\"grupoConfiguracionView\",\"inicio\":\"inicio\",\"liquidaciones\":\"liquidaciones\",\"logsList\":\"logsList\",\"maestrosTarifaList\":\"maestrosTarifaList\",\"ofertaAbogados~ofertaClinicaRehabilitacion~ofertaEnergia~ofertaFinanciacion~ofertaInformatica~oferta~ff1033bf\":\"ofertaAbogados~ofertaClinicaRehabilitacion~ofertaEnergia~ofertaFinanciacion~ofertaInformatica~oferta~ff1033bf\",\"ofertaAbogados\":\"ofertaAbogados\",\"ofertaClinicaRehabilitacion\":\"ofertaClinicaRehabilitacion\",\"ofertaEnergia\":\"ofertaEnergia\",\"ofertaFinanciacion\":\"ofertaFinanciacion\",\"ofertaInformatica\":\"ofertaInformatica\",\"ofertaPeritos\":\"ofertaPeritos\",\"ofertaPrevencion\":\"ofertaPrevencion\",\"ofertaReparaciones\":\"ofertaReparaciones\",\"ofertaTaller\":\"ofertaTaller\",\"ofertaTelefonia\":\"ofertaTelefonia\",\"ofertaList\":\"ofertaList\",\"servicios\":\"servicios\",\"tarifaCreate~tarifaEdit\":\"tarifaCreate~tarifaEdit\",\"tarifaCreate\":\"tarifaCreate\",\"tarifaEdit\":\"tarifaEdit\",\"tarifaDetail\":\"tarifaDetail\",\"tarifaListView\":\"tarifaListView\",\"testView\":\"testView\",\"tipoAvisoListView\":\"tipoAvisoListView\",\"tipoDocumentoView\":\"tipoDocumentoView\",\"usuarios\":\"usuarios\",\"zonas\":\"zonas\"}[chunkId]||chunkId) + \".\" + {\"aseguradoraListView\":\"7c38b5fb\",\"asistente~asistenteSubservicio~citas~servicioDetailAbogadosTabs~servicioDetailClinicaRehabilitacionT~e15b5def\":\"67ea10f2\",\"citas\":\"e351833d\",\"asistente~asistenteSubservicio~clienteEdit~clientes~empresaAsistenciaEditView~servicioDetailAbogados~705eff0f\":\"36f03dcf\",\"asistente~asistenteSubservicio~clientes~visitaTabs\":\"4b8945c6\",\"asistente\":\"b21233c5\",\"asistenteSubservicio\":\"bf5a11ff\",\"clientes\":\"e3083dae\",\"clienteEdit~usuarioEdit\":\"8e551809\",\"clienteEdit\":\"d1a7ff82\",\"empresaAsistenciaEditView~usuarioEdit\":\"cb9e8074\",\"liquidaciones~usuarioEdit\":\"f325a50c\",\"usuarioEdit\":\"f6a0c7d1\",\"empresaAsistenciaEditView\":\"07d56a3d\",\"servicioDetailAbogadosTabs~servicioDetailClinicaRehabilitacionTabs~servicioDetailEnergiaTabs~servici~34a24931\":\"65b3c317\",\"visitaTabs\":\"975bf7b6\",\"avisos\":\"1a2ae46b\",\"ayudaMaestros\":\"c6d1ad0d\",\"ayudaView\":\"057feb01\",\"chunk-0951aa1c\":\"1ebe1a22\",\"chunk-2d22bcc3\":\"169d0c16\",\"chunk-31c68440\":\"d0a82f80\",\"chunk-5115ae16\":\"2063c8cf\",\"chunk-679ae64c\":\"017a1991\",\"configuracionRolEdit\":\"79256a36\",\"configuracionRolList\":\"95270565\",\"configuracionView\":\"6b9fbb17\",\"empresaAsistenciaListView\":\"88316db3\",\"facturaClienteDetail~facturaLiquidacionDetail~liquidacionesHistorico~liquidacionesHistoricoDetail~se~761a1c1c\":\"7054c9d3\",\"servicioDetailAbogadosTabs\":\"ba2fdc1a\",\"servicioDetailClinicaRehabilitacionTabs\":\"2fccadf9\",\"servicioDetailEnergiaTabs\":\"d4f3caab\",\"servicioDetailFinanciacionTabs\":\"2ce1a275\",\"servicioDetailInformaticaTabs\":\"58568c40\",\"servicioDetailPeritosTabs\":\"5cbdf906\",\"servicioDetailPrevencionTabs\":\"b3af1702\",\"servicioDetailReparacionesTabs\":\"89975feb\",\"servicioDetailTallerTabs\":\"6101eabb\",\"servicioDetailTelefoniaTabs\":\"075c2c65\",\"facturaClienteDetail\":\"11d10f63\",\"facturaLiquidacionDetail\":\"a5634e20\",\"liquidacionesHistorico\":\"bde9919b\",\"liquidacionesHistoricoDetail\":\"87aef628\",\"servicioDetailReparacionesPresupuestoDetail~servicioDocumentoViewer\":\"f474c988\",\"servicioDetailReparacionesPresupuestoDetail\":\"08061421\",\"servicioDetailTallerPresupuestoDetail\":\"e09ea0f3\",\"servicioDocumentoViewerReparacionesInformeAseguradora\":\"cb4edc41\",\"servicioDocumentoViewer~servicioDocumentoViewerTallerInformeAseguradora\":\"8aba03d6\",\"servicioDocumentoViewer\":\"b5336589\",\"servicioDocumentoViewerTallerInformeAseguradora\":\"9356ea42\",\"facturaListView\":\"2667f5e5\",\"grupoConfiguracionView\":\"2987831e\",\"inicio\":\"89f66b19\",\"liquidaciones\":\"f446612c\",\"logsList\":\"a3da50b8\",\"maestrosTarifaList\":\"3885584f\",\"ofertaAbogados~ofertaClinicaRehabilitacion~ofertaEnergia~ofertaFinanciacion~ofertaInformatica~oferta~ff1033bf\":\"caecc497\",\"ofertaAbogados\":\"ebd1ad0b\",\"ofertaClinicaRehabilitacion\":\"59cd879f\",\"ofertaEnergia\":\"fb526064\",\"ofertaFinanciacion\":\"a26407d9\",\"ofertaInformatica\":\"efdf79f1\",\"ofertaPeritos\":\"9d541d2b\",\"ofertaPrevencion\":\"96a25553\",\"ofertaReparaciones\":\"b67fc9e2\",\"ofertaTaller\":\"fc7534a9\",\"ofertaTelefonia\":\"038af1d5\",\"ofertaList\":\"fe43366f\",\"servicios\":\"5304e078\",\"tarifaCreate~tarifaEdit\":\"ff17d3c3\",\"tarifaCreate\":\"4bbc3562\",\"tarifaEdit\":\"c1646749\",\"tarifaDetail\":\"2079582a\",\"tarifaListView\":\"3b9b5f56\",\"testView\":\"a90b5497\",\"tipoAvisoListView\":\"64221d90\",\"tipoDocumentoView\":\"b77f7b0d\",\"usuarios\":\"62d2df32\",\"zonas\":\"60966932\"}[chunkId] + \".js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// mini-css-extract-plugin CSS loading\n \t\tvar cssChunks = {\"aseguradoraListView\":1,\"asistente~asistenteSubservicio~citas~servicioDetailAbogadosTabs~servicioDetailClinicaRehabilitacionT~e15b5def\":1,\"citas\":1,\"asistente~asistenteSubservicio~clienteEdit~clientes~empresaAsistenciaEditView~servicioDetailAbogados~705eff0f\":1,\"asistente~asistenteSubservicio~clientes~visitaTabs\":1,\"asistente\":1,\"asistenteSubservicio\":1,\"clientes\":1,\"clienteEdit~usuarioEdit\":1,\"clienteEdit\":1,\"usuarioEdit\":1,\"empresaAsistenciaEditView\":1,\"visitaTabs\":1,\"ayudaMaestros\":1,\"chunk-0951aa1c\":1,\"chunk-31c68440\":1,\"chunk-5115ae16\":1,\"chunk-679ae64c\":1,\"configuracionRolEdit\":1,\"configuracionView\":1,\"servicioDetailAbogadosTabs\":1,\"servicioDetailClinicaRehabilitacionTabs\":1,\"servicioDetailEnergiaTabs\":1,\"servicioDetailFinanciacionTabs\":1,\"servicioDetailInformaticaTabs\":1,\"servicioDetailPeritosTabs\":1,\"servicioDetailPrevencionTabs\":1,\"servicioDetailReparacionesTabs\":1,\"servicioDetailTallerTabs\":1,\"servicioDetailTelefoniaTabs\":1,\"liquidacionesHistorico\":1,\"servicioDocumentoViewerReparacionesInformeAseguradora\":1,\"servicioDocumentoViewer~servicioDocumentoViewerTallerInformeAseguradora\":1,\"servicioDocumentoViewer\":1,\"servicioDocumentoViewerTallerInformeAseguradora\":1,\"grupoConfiguracionView\":1,\"liquidaciones\":1,\"logsList\":1,\"ofertaAbogados~ofertaClinicaRehabilitacion~ofertaEnergia~ofertaFinanciacion~ofertaInformatica~oferta~ff1033bf\":1,\"ofertaAbogados\":1,\"ofertaClinicaRehabilitacion\":1,\"ofertaEnergia\":1,\"ofertaFinanciacion\":1,\"ofertaInformatica\":1,\"ofertaPeritos\":1,\"ofertaPrevencion\":1,\"ofertaReparaciones\":1,\"ofertaTaller\":1,\"ofertaTelefonia\":1,\"ofertaList\":1,\"servicios\":1,\"tarifaCreate~tarifaEdit\":1,\"tarifaCreate\":1,\"tarifaEdit\":1,\"tarifaDetail\":1,\"tipoAvisoListView\":1,\"tipoDocumentoView\":1,\"usuarios\":1,\"zonas\":1};\n \t\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n \t\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n \t\t\tpromises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {\n \t\t\t\tvar href = \"css/\" + ({\"aseguradoraListView\":\"aseguradoraListView\",\"asistente~asistenteSubservicio~citas~servicioDetailAbogadosTabs~servicioDetailClinicaRehabilitacionT~e15b5def\":\"asistente~asistenteSubservicio~citas~servicioDetailAbogadosTabs~servicioDetailClinicaRehabilitacionT~e15b5def\",\"citas\":\"citas\",\"asistente~asistenteSubservicio~clienteEdit~clientes~empresaAsistenciaEditView~servicioDetailAbogados~705eff0f\":\"asistente~asistenteSubservicio~clienteEdit~clientes~empresaAsistenciaEditView~servicioDetailAbogados~705eff0f\",\"asistente~asistenteSubservicio~clientes~visitaTabs\":\"asistente~asistenteSubservicio~clientes~visitaTabs\",\"asistente\":\"asistente\",\"asistenteSubservicio\":\"asistenteSubservicio\",\"clientes\":\"clientes\",\"clienteEdit~usuarioEdit\":\"clienteEdit~usuarioEdit\",\"clienteEdit\":\"clienteEdit\",\"empresaAsistenciaEditView~usuarioEdit\":\"empresaAsistenciaEditView~usuarioEdit\",\"liquidaciones~usuarioEdit\":\"liquidaciones~usuarioEdit\",\"usuarioEdit\":\"usuarioEdit\",\"empresaAsistenciaEditView\":\"empresaAsistenciaEditView\",\"servicioDetailAbogadosTabs~servicioDetailClinicaRehabilitacionTabs~servicioDetailEnergiaTabs~servici~34a24931\":\"servicioDetailAbogadosTabs~servicioDetailClinicaRehabilitacionTabs~servicioDetailEnergiaTabs~servici~34a24931\",\"visitaTabs\":\"visitaTabs\",\"avisos\":\"avisos\",\"ayudaMaestros\":\"ayudaMaestros\",\"ayudaView\":\"ayudaView\",\"configuracionRolEdit\":\"configuracionRolEdit\",\"configuracionRolList\":\"configuracionRolList\",\"configuracionView\":\"configuracionView\",\"empresaAsistenciaListView\":\"empresaAsistenciaListView\",\"facturaClienteDetail~facturaLiquidacionDetail~liquidacionesHistorico~liquidacionesHistoricoDetail~se~761a1c1c\":\"facturaClienteDetail~facturaLiquidacionDetail~liquidacionesHistorico~liquidacionesHistoricoDetail~se~761a1c1c\",\"servicioDetailAbogadosTabs\":\"servicioDetailAbogadosTabs\",\"servicioDetailClinicaRehabilitacionTabs\":\"servicioDetailClinicaRehabilitacionTabs\",\"servicioDetailEnergiaTabs\":\"servicioDetailEnergiaTabs\",\"servicioDetailFinanciacionTabs\":\"servicioDetailFinanciacionTabs\",\"servicioDetailInformaticaTabs\":\"servicioDetailInformaticaTabs\",\"servicioDetailPeritosTabs\":\"servicioDetailPeritosTabs\",\"servicioDetailPrevencionTabs\":\"servicioDetailPrevencionTabs\",\"servicioDetailReparacionesTabs\":\"servicioDetailReparacionesTabs\",\"servicioDetailTallerTabs\":\"servicioDetailTallerTabs\",\"servicioDetailTelefoniaTabs\":\"servicioDetailTelefoniaTabs\",\"facturaClienteDetail\":\"facturaClienteDetail\",\"facturaLiquidacionDetail\":\"facturaLiquidacionDetail\",\"liquidacionesHistorico\":\"liquidacionesHistorico\",\"liquidacionesHistoricoDetail\":\"liquidacionesHistoricoDetail\",\"servicioDetailReparacionesPresupuestoDetail~servicioDocumentoViewer\":\"servicioDetailReparacionesPresupuestoDetail~servicioDocumentoViewer\",\"servicioDetailReparacionesPresupuestoDetail\":\"servicioDetailReparacionesPresupuestoDetail\",\"servicioDetailTallerPresupuestoDetail\":\"servicioDetailTallerPresupuestoDetail\",\"servicioDocumentoViewerReparacionesInformeAseguradora\":\"servicioDocumentoViewerReparacionesInformeAseguradora\",\"servicioDocumentoViewer~servicioDocumentoViewerTallerInformeAseguradora\":\"servicioDocumentoViewer~servicioDocumentoViewerTallerInformeAseguradora\",\"servicioDocumentoViewer\":\"servicioDocumentoViewer\",\"servicioDocumentoViewerTallerInformeAseguradora\":\"servicioDocumentoViewerTallerInformeAseguradora\",\"facturaListView\":\"facturaListView\",\"grupoConfiguracionView\":\"grupoConfiguracionView\",\"inicio\":\"inicio\",\"liquidaciones\":\"liquidaciones\",\"logsList\":\"logsList\",\"maestrosTarifaList\":\"maestrosTarifaList\",\"ofertaAbogados~ofertaClinicaRehabilitacion~ofertaEnergia~ofertaFinanciacion~ofertaInformatica~oferta~ff1033bf\":\"ofertaAbogados~ofertaClinicaRehabilitacion~ofertaEnergia~ofertaFinanciacion~ofertaInformatica~oferta~ff1033bf\",\"ofertaAbogados\":\"ofertaAbogados\",\"ofertaClinicaRehabilitacion\":\"ofertaClinicaRehabilitacion\",\"ofertaEnergia\":\"ofertaEnergia\",\"ofertaFinanciacion\":\"ofertaFinanciacion\",\"ofertaInformatica\":\"ofertaInformatica\",\"ofertaPeritos\":\"ofertaPeritos\",\"ofertaPrevencion\":\"ofertaPrevencion\",\"ofertaReparaciones\":\"ofertaReparaciones\",\"ofertaTaller\":\"ofertaTaller\",\"ofertaTelefonia\":\"ofertaTelefonia\",\"ofertaList\":\"ofertaList\",\"servicios\":\"servicios\",\"tarifaCreate~tarifaEdit\":\"tarifaCreate~tarifaEdit\",\"tarifaCreate\":\"tarifaCreate\",\"tarifaEdit\":\"tarifaEdit\",\"tarifaDetail\":\"tarifaDetail\",\"tarifaListView\":\"tarifaListView\",\"testView\":\"testView\",\"tipoAvisoListView\":\"tipoAvisoListView\",\"tipoDocumentoView\":\"tipoDocumentoView\",\"usuarios\":\"usuarios\",\"zonas\":\"zonas\"}[chunkId]||chunkId) + \".\" + {\"aseguradoraListView\":\"5c615e4b\",\"asistente~asistenteSubservicio~citas~servicioDetailAbogadosTabs~servicioDetailClinicaRehabilitacionT~e15b5def\":\"9d09d5c5\",\"citas\":\"39990370\",\"asistente~asistenteSubservicio~clienteEdit~clientes~empresaAsistenciaEditView~servicioDetailAbogados~705eff0f\":\"db5b5dc8\",\"asistente~asistenteSubservicio~clientes~visitaTabs\":\"413d5f60\",\"asistente\":\"1b9da48c\",\"asistenteSubservicio\":\"254b0dc2\",\"clientes\":\"92647ec0\",\"clienteEdit~usuarioEdit\":\"213ba7e0\",\"clienteEdit\":\"260b3b8c\",\"empresaAsistenciaEditView~usuarioEdit\":\"31d6cfe0\",\"liquidaciones~usuarioEdit\":\"31d6cfe0\",\"usuarioEdit\":\"185635f0\",\"empresaAsistenciaEditView\":\"6b0a85fd\",\"servicioDetailAbogadosTabs~servicioDetailClinicaRehabilitacionTabs~servicioDetailEnergiaTabs~servici~34a24931\":\"31d6cfe0\",\"visitaTabs\":\"1ce1f020\",\"avisos\":\"31d6cfe0\",\"ayudaMaestros\":\"3f4ac2a3\",\"ayudaView\":\"31d6cfe0\",\"chunk-0951aa1c\":\"df511559\",\"chunk-2d22bcc3\":\"31d6cfe0\",\"chunk-31c68440\":\"560ddd30\",\"chunk-5115ae16\":\"884ff9b7\",\"chunk-679ae64c\":\"884ff9b7\",\"configuracionRolEdit\":\"a5041c88\",\"configuracionRolList\":\"31d6cfe0\",\"configuracionView\":\"eac86895\",\"empresaAsistenciaListView\":\"31d6cfe0\",\"facturaClienteDetail~facturaLiquidacionDetail~liquidacionesHistorico~liquidacionesHistoricoDetail~se~761a1c1c\":\"31d6cfe0\",\"servicioDetailAbogadosTabs\":\"2b23781f\",\"servicioDetailClinicaRehabilitacionTabs\":\"2b23781f\",\"servicioDetailEnergiaTabs\":\"2b23781f\",\"servicioDetailFinanciacionTabs\":\"2b23781f\",\"servicioDetailInformaticaTabs\":\"2b23781f\",\"servicioDetailPeritosTabs\":\"2b23781f\",\"servicioDetailPrevencionTabs\":\"2b23781f\",\"servicioDetailReparacionesTabs\":\"34ec97ad\",\"servicioDetailTallerTabs\":\"2b23781f\",\"servicioDetailTelefoniaTabs\":\"2b23781f\",\"facturaClienteDetail\":\"31d6cfe0\",\"facturaLiquidacionDetail\":\"31d6cfe0\",\"liquidacionesHistorico\":\"324f411e\",\"liquidacionesHistoricoDetail\":\"31d6cfe0\",\"servicioDetailReparacionesPresupuestoDetail~servicioDocumentoViewer\":\"31d6cfe0\",\"servicioDetailReparacionesPresupuestoDetail\":\"31d6cfe0\",\"servicioDetailTallerPresupuestoDetail\":\"31d6cfe0\",\"servicioDocumentoViewerReparacionesInformeAseguradora\":\"e6e0adf5\",\"servicioDocumentoViewer~servicioDocumentoViewerTallerInformeAseguradora\":\"e5f68925\",\"servicioDocumentoViewer\":\"82448ba4\",\"servicioDocumentoViewerTallerInformeAseguradora\":\"f1ccd1d3\",\"facturaListView\":\"31d6cfe0\",\"grupoConfiguracionView\":\"f879d6c4\",\"inicio\":\"31d6cfe0\",\"liquidaciones\":\"805d70ef\",\"logsList\":\"333ae633\",\"maestrosTarifaList\":\"31d6cfe0\",\"ofertaAbogados~ofertaClinicaRehabilitacion~ofertaEnergia~ofertaFinanciacion~ofertaInformatica~oferta~ff1033bf\":\"3df5b285\",\"ofertaAbogados\":\"067a6c94\",\"ofertaClinicaRehabilitacion\":\"cac0bf22\",\"ofertaEnergia\":\"26dd4b1d\",\"ofertaFinanciacion\":\"1222afb6\",\"ofertaInformatica\":\"937f267a\",\"ofertaPeritos\":\"d0ad578f\",\"ofertaPrevencion\":\"3b00aa20\",\"ofertaReparaciones\":\"a30607df\",\"ofertaTaller\":\"d020ef31\",\"ofertaTelefonia\":\"8c9644d7\",\"ofertaList\":\"66daf717\",\"servicios\":\"05b42b8f\",\"tarifaCreate~tarifaEdit\":\"e33ca596\",\"tarifaCreate\":\"5a988f9c\",\"tarifaEdit\":\"f78dfb28\",\"tarifaDetail\":\"97ce771e\",\"tarifaListView\":\"31d6cfe0\",\"testView\":\"31d6cfe0\",\"tipoAvisoListView\":\"ceca31b6\",\"tipoDocumentoView\":\"7bc8bbac\",\"usuarios\":\"e79e7f42\",\"zonas\":\"8de477bb\"}[chunkId] + \".css\";\n \t\t\t\tvar fullhref = __webpack_require__.p + href;\n \t\t\t\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n \t\t\t\tfor(var i = 0; i < existingLinkTags.length; i++) {\n \t\t\t\t\tvar tag = existingLinkTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n \t\t\t\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return resolve();\n \t\t\t\t}\n \t\t\t\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n \t\t\t\tfor(var i = 0; i < existingStyleTags.length; i++) {\n \t\t\t\t\tvar tag = existingStyleTags[i];\n \t\t\t\t\tvar dataHref = tag.getAttribute(\"data-href\");\n \t\t\t\t\tif(dataHref === href || dataHref === fullhref) return resolve();\n \t\t\t\t}\n \t\t\t\tvar linkTag = document.createElement(\"link\");\n \t\t\t\tlinkTag.rel = \"stylesheet\";\n \t\t\t\tlinkTag.type = \"text/css\";\n \t\t\t\tlinkTag.onload = resolve;\n \t\t\t\tlinkTag.onerror = function(event) {\n \t\t\t\t\tvar request = event && event.target && event.target.src || fullhref;\n \t\t\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + request + \")\");\n \t\t\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n \t\t\t\t\terr.request = request;\n \t\t\t\t\tdelete installedCssChunks[chunkId]\n \t\t\t\t\tlinkTag.parentNode.removeChild(linkTag)\n \t\t\t\t\treject(err);\n \t\t\t\t};\n \t\t\t\tlinkTag.href = fullhref;\n\n \t\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n \t\t\t\thead.appendChild(linkTag);\n \t\t\t}).then(function() {\n \t\t\t\tinstalledCssChunks[chunkId] = 0;\n \t\t\t}));\n \t\t}\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/web/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = window[\"webpackJsonp\"] = window[\"webpackJsonp\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// add entry module to deferred list\n \tdeferredModules.push([0,\"chunk-vendors\"]);\n \t// run deferred modules when ready\n \treturn checkDeferredModules();\n","\r\nconst state = {\r\n\tcurrentWarningScreen: \"\" //esto se utilizará para cuando el router cambie de pantalla, si has guardado evitar que te saque el warning de cambio de pantalla\r\n}\r\n\r\nexport default state","import state from './state';\r\n\r\nconst getters = {\r\n\tcurrentWarningScreen : (state:any) => state.currentWarningScreen\r\n}\r\n\r\nexport default getters","/*=========================================================================================\r\n File Name: mutations.js\r\n Description: Vuex Store - mutations\r\n ----------------------------------------------------------------------------------------\r\n Item Name: Modern Admin - Clean Bootstrap 4 Dashboard HTML Template\r\n Version: 1.0\r\n Author: Pixinvent\r\n Author URL: hhttp://www.themeforest.net/user/pixinvent\r\n==========================================================================================*/\r\n\r\n\r\nimport Vue from 'vue'\r\nimport state from './state';\r\n\r\nconst mutations = {\r\n\r\n\tUPDATE_CURRENTWARNINGSCREEN(state:any, payload:any){\r\n\t\tstate.currentWarningScreen = payload;\r\n\t}\r\n\t\r\n}\r\n\r\nexport default mutations","/*=========================================================================================\r\n File Name: actions.js\r\n Description: Vuex Store - actions\r\n ----------------------------------------------------------------------------------------\r\n Item Name: Modern Admin - Clean Bootstrap 4 Dashboard HTML Template\r\n Version: 1.0\r\n Author: Pixinvent\r\n Author URL: hhttp://www.themeforest.net/user/pixinvent\r\n==========================================================================================*/\r\n\r\nconst menu = [\r\n\t{\r\n\t\turl: '/inicio',name: \"Inicio\",slug: \"inicio\",i18n: \"sidebar.inicio\", icon: \"PieChartIcon\",\r\n\t},\r\n\t{\r\n\t\turl: '/avisos',\r\n\t\tname: \"Avisos\",\r\n\t\tslug: \"avisos\",\r\n\t\ti18n: \"sidebar.avisos\",\r\n\t\ticon: \"MessageSquareIcon\",\r\n\t}\r\n];\r\n\r\nconst actions = {\r\n\r\n\t// ////////////////////////////////////////////\r\n\t// SIDEBAR & UI UX\r\n\t// ////////////////////////////////////////////\r\n\r\n\tupdateSidebarWidth({ commit }:any, width:any) {\r\n\t\tcommit('UPDATE_SIDEBAR_WIDTH', width);\r\n\t},\r\n\tupdateI18nLocale({ commit }:any, locale:any) {\r\n\t\tcommit('UPDATE_I18N_LOCALE', locale);\r\n\t},\r\n\ttoggleContentOverlay({ commit }:any) {\r\n\t\tcommit('TOGGLE_CONTENT_OVERLAY');\r\n\t},\r\n\ttoggleTheme({ commit }:any, val:any) {\r\n\t\tcommit('TOGGLE_THEME', val);\r\n\t},\r\n\r\n\t// ////////////////////////////////////////////\r\n\t// COMPONENT\r\n\t// ////////////////////////////////////////////\t\r\n\t\r\n\tupdateStarredPage({commit}:any, payload:any) {\r\n\t\tcommit('UPDATE_STARRED_PAGE', payload)\r\n\t},\r\n\r\n\r\n\tupdatecurrentWarningScreen({commit}:any, payload:any) {\r\n\t\tcommit('UPDATE_CURRENTWARNINGSCREEN', payload)\r\n\t},\r\n\r\n\t\r\n}\r\n\r\n\r\nexport default actions","import { $themeBreakpoints } from '@themeConfig'\n\nexport default {\n namespaced: true,\n state: {\n windowWidth: 0,\n shallShowOverlay: false,\n },\n getters: {\n currentBreakPoint: state => {\n const { windowWidth } = state\n if (windowWidth >= $themeBreakpoints.xl) return 'xl'\n if (windowWidth >= $themeBreakpoints.lg) return 'lg'\n if (windowWidth >= $themeBreakpoints.md) return 'md'\n if (windowWidth >= $themeBreakpoints.sm) return 'sm'\n return 'xs'\n },\n },\n mutations: {\n UPDATE_WINDOW_WIDTH(state, val) {\n state.windowWidth = val\n },\n TOGGLE_OVERLAY(state, val) {\n state.shallShowOverlay = val !== undefined ? val : !state.shallShowOverlay\n },\n },\n actions: {},\n}\n","import { $themeConfig } from '@themeConfig'\n\nexport default {\n namespaced: true,\n state: {\n layout: {\n isRTL: $themeConfig.layout.isRTL,\n skin: localStorage.getItem('vuexy-skin') || $themeConfig.layout.skin,\n routerTransition: $themeConfig.layout.routerTransition,\n type: $themeConfig.layout.type,\n contentWidth: $themeConfig.layout.contentWidth,\n menu: {\n hidden: $themeConfig.layout.menu.hidden,\n },\n navbar: {\n type: $themeConfig.layout.navbar.type,\n backgroundColor: $themeConfig.layout.navbar.backgroundColor,\n },\n footer: {\n type: $themeConfig.layout.footer.type,\n },\n },\n },\n getters: {},\n mutations: {\n TOGGLE_RTL(state) {\n state.layout.isRTL = !state.layout.isRTL\n document.documentElement.setAttribute('dir', state.layout.isRTL ? 'rtl' : 'ltr')\n },\n UPDATE_SKIN(state, skin) {\n state.layout.skin = skin\n\n // Update value in localStorage\n localStorage.setItem('vuexy-skin', skin)\n\n // Update DOM for dark-layout\n if (skin === 'dark') document.body.classList.add('dark-layout')\n else if (document.body.className.match('dark-layout')) document.body.classList.remove('dark-layout')\n },\n UPDATE_ROUTER_TRANSITION(state, val) {\n state.layout.routerTransition = val\n },\n UPDATE_LAYOUT_TYPE(state, val) {\n state.layout.type = val\n },\n UPDATE_CONTENT_WIDTH(state, val) {\n state.layout.contentWidth = val\n },\n UPDATE_NAV_MENU_HIDDEN(state, val) {\n state.layout.menu.hidden = val\n },\n UPDATE_NAVBAR_CONFIG(state, obj) {\n Object.assign(state.layout.navbar, obj)\n },\n UPDATE_FOOTER_CONFIG(state, obj) {\n Object.assign(state.layout.footer, obj)\n },\n },\n actions: {},\n}\n","import { $themeConfig } from '@themeConfig'\n\nexport default {\n namespaced: true,\n state: {\n isVerticalMenuCollapsed: $themeConfig.layout.menu.isCollapsed,\n },\n getters: {},\n mutations: {\n UPDATE_VERTICAL_MENU_COLLAPSED(state, val) {\n state.isVerticalMenuCollapsed = val\n },\n },\n actions: {},\n}\n","import Vue from 'vue'\nimport Vuex from 'vuex'\n\nimport state from \"./state\"\nimport getters from \"./getters\"\nimport mutations from \"./mutations\"\nimport actions from \"./actions\"\n\n// Modules\nimport app from './app'\nimport appConfig from './app-config'\nimport verticalMenu from './vertical-menu'\n\nVue.use(Vuex)\n\nexport default new Vuex.Store({\n getters,\n\tmutations,\n state,\n actions,\n modules: {\n app,\n appConfig,\n verticalMenu,\n }\n})\n","import Municipio from './Municipio'\nimport EntityIdBase from './EntityIdBase'\nimport UsuarioDireccion from './UsuarioDireccion'\n\nexport default class ServicioDireccion extends EntityIdBase {\n servicioId : number = 0\n facturacion:boolean=false\n alias:string=\"\"\n direccion:string=\"\"\n direccionCompleta:string=\"\"\n municipioId:number=0\n esPrimera:boolean=false\n municipio?: Municipio;\n latitud: number = 0;\n longitud: number = 0;\n\n constructor(){\n super();\n this.municipio = new Municipio();\n }\n\n convert(usuarioDireccion: UsuarioDireccion){\n this.facturacion = usuarioDireccion.facturacion;\n this.alias = usuarioDireccion.alias;\n this.direccion = usuarioDireccion.direccion;\n this.municipioId = usuarioDireccion.municipioId;\n this.esPrimera = usuarioDireccion.esPrimera;\n this.municipio = usuarioDireccion.municipio;\n this.latitud = usuarioDireccion.latitud;\n this.longitud = usuarioDireccion.longitud;\n\n if(usuarioDireccion.direccionCompleta){\n this.direccionCompleta = usuarioDireccion.direccionCompleta;\n }else{\n this.direccionCompleta = this.getDireccionCompletaConvert(this);\n }\n }\n\n getDireccionCompletaConvert(item: any){\n return (item && item.municipio !== undefined && item.municipio !== null && item.municipio.provincia !== undefined) ? \n `${item.direccion}, ${item.municipio.codigoPostal} - ${item.municipio.nombre}, ${item.municipio.provincia.descripcion}` : \"\";\n }\n }\n \n ","import EntityIdBase from './EntityIdBase'\n\nexport default class Actividad extends EntityIdBase {\n descripcion: string = ''\n imagenAzul: string = ''\n imagenVerde: string = ''\n imagenGris: string = ''\n imagenBlanco: string = ''\n}","import { Http } from '@/services/http.service'\nimport '@/services/util.service'\nimport GenericService from '@/services/generic.service'\nimport Documento from '@/models/entities/Documento'\nimport SetEntidadDocumentosByGuidsDtoIn from '@/models/dtos/in/SetEntidadDocumentosByGuidsDtoIn'\n\nexport class DocumentoService extends GenericService {\n\n constructor(){\n super('documento')\n }\n \n public async UploadDocumento(documento: Documento, loading: boolean = true) {\n return (await Http.Post({\n url: `${this.entity}/UploadDocumento`,\n data: documento,\n loading: loading\n }))\n }\n \n public async UploadDocumentos(documentos: Array) {\n return (await Http.Post({\n url: `${this.entity}/UploadDocumentos`,\n data: documentos,\n }))\n }\n \n public async SetEntidadDocumentosByGuids(dto: SetEntidadDocumentosByGuidsDtoIn) {\n return (await Http.Put({\n url: `${this.entity}/SetEntidadDocumentosByGuids`,\n data: dto,\n }))\n }\n\n public async DeleteByGuid(guid: string) {\n return (await Http.Delete({\n url: `${this.entity}/${guid}/guid`\n }))\n }\n\n public async DeleteById(id: number) {\n return (await Http.Delete({\n url: `${this.entity}/${id}`\n }))\n }\n\n public async GetByGuid(guid: string) {\n return (await Http.Get({\n url: `${this.entity}/guid/${guid}`,\n loading: false\n }))\n } \n\n public async GetIdsByEntidad(entidadId: number, entidad: string) {\n return (await Http.Get({\n url: `${this.entity}/entidad/${entidad}/${entidadId}`,\n loading: false\n }))\n } \n\n public async GetByEntidad(entidadId: number, entidad: string) : Promise> {\n return (await Http.Get({\n url: `${this.entity}/GetByEntidad/${entidad}/${entidadId}`,\n loading: false\n }))\n } \n\n public async Download(uuid: string) {\n return (await Http.DownloadFile({\n url: `${this.entity}/Download`,\n query: { uuid },\n loading: false\n }))\n } \n\n \n public async DownloadById(id: number) {\n return (await Http.DownloadFile({\n url: `${this.entity}/DownloadById`,\n query: { id },\n loading: false\n }))\n } \n\n public get APIKEY(){\n return Http.APIKEY;\n }\n}\n\nexport const documentoService = new DocumentoService()\n","import { IvaConst } from '@/models/constants/IvaConst';\nimport UsuarioComunicacion from './UsuarioComunicacion'\nimport UsuarioDireccion from './UsuarioDireccion'\nimport UsuarioTarjetaBancaria from './UsuarioTarjetaBancaria'\nimport UsuarioCuentaBancaria from './UsuarioCuentaBancaria'\nimport UsuarioVehiculo from './UsuarioVehiculo'\nimport UsuarioZona from './UsuarioZona'\nimport ConfiguracionUsuario from './ConfiguracionUsuario'\nimport MenuPermisoUsuario from './MenuPermisoUsuario'\nimport UsuarioDocumento from './UsuarioDocumento'\nimport Rol from './Rol'\nimport EstadoUsuario from './EstadoUsuario'\nimport EntityIdBase from './EntityIdBase'\nimport UsuarioTipoAviso from './UsuarioTipoAviso'\nimport { RolEnum } from '../enums/RolEnum'\nimport UsuarioActividad from './UsuarioActividad'\nimport UsuarioOferta from './UsuarioOferta'\nimport UsuarioAviso from './UsuarioAviso'\nimport { EstadoDocumentoEnum } from '../enums/EstadoDocumentoEnum'\nimport UsuarioServicioTipo from './UsuarioServicioTipo'\nimport UsuarioGremio from './UsuarioGremio'\nimport UsuarioComision from './UsuarioComision';\nlet moment = require('moment');\n\n\nexport default class Usuario extends EntityIdBase {\n\n //#region Propiedades\n\n nombre:string=\"\"\n tipoDocumento:string=\"D\"\n documento:string=\"\"\n login: string=\"\"\n loginConfirmacion: string=\"\"\n baja: boolean=false\n passwordTemporal: boolean=true\n sendEmails: boolean=true\n sendWhatsapps: boolean=true\n rolId:number=0\n rol?: Rol;\n delegacionId!:number | null\n delegacion!: Usuario;\n colaboradorId!: number | null;\n colaborador!: Usuario;\n comercialId!: number | null;\n comercial!: Usuario;\n subcomercialId!: number | null;\n subcomercial!: Usuario;\n estadoUsuarioId:number=10\n estadoUsuario?: EstadoUsuario;\n lopd:boolean=false\n ordenJerarquia: string = ''\n fechaNacimiento?:Date\n sexo:string=\"\"\n app:boolean=false\n observacionesDocumentacion: string =''\n\n // Comisiones y fiscalidad\n comisionista: boolean=true\n liquidar: boolean=true\n saldo: number = 0\n irpf: number = 15\n ivaClientes: number = IvaConst.Iva * 100\n ivaReducidoClientes: number = IvaConst.IvaReducido * 100\n ivaLiquidacion: number = IvaConst.Iva * 100\n limiteServiciosEnCurso: number = 10\n limiteServiciosOferta: number = 4\n\n usuarioActividades: Array=[];\n usuarioAvisos: Array=[];\n usuarioComisiones: Array=[];\n usuarioComunicaciones: Array=[];\n usuarioDirecciones: Array=[];\n usuarioDocumentos: Array = [];\n usuarioOfertas: Array=[];\n usuarioTarjetasBancarias: Array=[];\n usuarioCuentasBancarias: Array=[];\n usuarioVehiculos: Array=[]\n usuarioTiposAviso: Array = [];\n usuarioZonas: Array=[]\n configuracionesUsuario: Array = []\n menuPermisosUsuario: Array = [];\n \n //#endregion \n\n constructor() {\n super();\n }\n\n //#region Public\n\n public getEntidad(){\n switch (this.rolId) {\n case RolEnum.AdmSistema:\n case RolEnum.GestorSistema:\n return 2; \n case RolEnum.AdmDelegacion:\n case RolEnum.GestorDelegacion:\n case RolEnum.OperarioDelegacion:\n return this.delegacionId!; \n case RolEnum.AdmColaborador:\n case RolEnum.GestorColaborador:\n case RolEnum.OperarioColaborador:\n return this.colaboradorId!; \n case RolEnum.AdmComercial:\n case RolEnum.GestorComercial:\n return this.comercialId!; \n case RolEnum.AdmSubComercial:\n case RolEnum.GestorSubComercial:\n return this.subcomercialId!; \n }\n return 0\n }\n public setEntidad(id: number, comercialId: number){\n this.delegacionId = null; \n this.colaboradorId = null; \n this.comercialId = null;\n this.subcomercialId = null; \n\n switch (this.rolId) {\n case RolEnum.AdmDelegacion:\n case RolEnum.GestorDelegacion:\n case RolEnum.OperarioDelegacion:\n this.delegacionId = id; \n break;\n case RolEnum.AdmColaborador:\n case RolEnum.GestorColaborador:\n case RolEnum.OperarioColaborador:\n this.colaboradorId = id; \n break;\n case RolEnum.SubComercial:\n case RolEnum.AdmComercial:\n case RolEnum.GestorComercial:\n this.comercialId = id;\n break;\n case RolEnum.AdmSubComercial:\n case RolEnum.GestorSubComercial:\n this.comercialId = comercialId;\n this.subcomercialId = id; \n break;\n }\n }\n\n public getEntidadRol(){\n switch (this.rolId) {\n case RolEnum.AdmSistema:\n case RolEnum.GestorSistema:\n return RolEnum.Sistema;\n case RolEnum.AdmDelegacion:\n case RolEnum.GestorDelegacion:\n case RolEnum.OperarioDelegacion:\n return RolEnum.Delegacion;\n case RolEnum.AdmColaborador:\n case RolEnum.GestorColaborador:\n case RolEnum.OperarioColaborador:\n return RolEnum.Colaborador; \n case RolEnum.AdmComercial:\n case RolEnum.GestorComercial:\n return RolEnum.Comercial; \n case RolEnum.AdmSubComercial:\n case RolEnum.GestorSubComercial:\n return RolEnum.SubComercial; \n }\n return 0\n }\n\n public isEntidad(){\n let rolesEntidad = [RolEnum.Sistema, RolEnum.Delegacion, RolEnum.Comercial, RolEnum.Colaborador, RolEnum.SubComercial];\n return rolesEntidad.includes(this.rolId);\n }\n\n public isDelegacion(){\n let rolesEntidad = [RolEnum.Delegacion, RolEnum.AdmDelegacion, RolEnum.GestorDelegacion, RolEnum.OperarioDelegacion];\n return rolesEntidad.includes(this.rolId);\n }\n\n public isColaborador(){\n let rolesEntidad = [RolEnum.Colaborador, RolEnum.AdmColaborador, RolEnum.GestorColaborador, RolEnum.OperarioColaborador];\n return rolesEntidad.includes(this.rolId);\n }\n\n public isCliente(){\n return this.rolId === RolEnum.Cliente || this.rolId === RolEnum.ClienteCandidato\n } \n\n public isAdminEntidad(){\n let rolesEntidad = [RolEnum.AdmSistema, RolEnum.AdmDelegacion, RolEnum.AdmComercial, RolEnum.AdmColaborador, RolEnum.AdmSubComercial];\n return rolesEntidad.includes(this.rolId);\n }\n\n public isAdminOrGestorEntidad(){\n let rolesEntidad = [\n RolEnum.AdmSistema, RolEnum.AdmDelegacion, RolEnum.AdmComercial, RolEnum.AdmColaborador, RolEnum.AdmSubComercial,\n RolEnum.GestorDelegacion, RolEnum.GestorColaborador, RolEnum.GestorComercial, RolEnum.GestorSubComercial\n ];\n\n return rolesEntidad.includes(this.rolId);\n }\n\n public isSistema(){\n let rolesEntidad = [RolEnum.AdmSistema, RolEnum.GestorSistema];\n return rolesEntidad.includes(this.rolId);\n }\n\n public isOperario(){\n let rolesEntidad = [RolEnum.AdmColaborador, RolEnum.OperarioDelegacion, RolEnum.OperarioColaborador];\n return rolesEntidad.includes(this.rolId);\n }\n\n //#region Direcciones\n\n public addDireccion(direccion: UsuarioDireccion){\n if(this.usuarioDirecciones.length === 0){\n direccion.facturacion = true;\n }\n\n if(this.usuarioDirecciones.length >= 1 && direccion.facturacion === true){\n let finded = _.find(this.usuarioDirecciones, (o: UsuarioDireccion) => o.facturacion === true)\n\n if(finded !== undefined){\n finded.facturacion = false;\n }\n }\n\n this.addElement(this.usuarioDirecciones, direccion, [\n 'id','facturacion', 'alias', 'direccion', 'direccionCompleta', 'municipio','municipioId','latitud','longitud'\n ])\n }\n\n public onRemoveDireccion(direccion: any){\n if(direccion.facturacion === true){\n if(this.usuarioDirecciones.length > 0){\n this.usuarioDirecciones[0].facturacion = true;\n }\n }\n }\n\n public existsDireccion(obj: any){ \n let direccion = new UsuarioDireccion();\n Object.assign(direccion, obj);\n\n return this.usuarioDirecciones\n .some((o: UsuarioDireccion) => o.direccionCompleta === direccion.direccionCompleta && direccion.equalId(o) === false);\n }\n\n public getDireccionFacturacion(){\n return this.usuarioDirecciones.find((x) => x.facturacion === true) || new UsuarioDireccion();\n }\n\n //#endregion\n\n //#region Comunicaciones\n\n public existsComunicacion(obj: any){ \n let comunicacion = new UsuarioComunicacion();\n Object.assign(comunicacion, obj);\n\n return this.usuarioComunicaciones\n .some((o: UsuarioComunicacion) => o.valor === comunicacion.valor && comunicacion.equalId(o) === false);\n }\n\n public existsComunicacionByValor(valor: any){ \n return this.usuarioComunicaciones\n .some((o: any) => o.valor === valor);\n }\n\n public existsComunicacionWithAviso(){ \n return this.usuarioComunicaciones\n .some((o: UsuarioComunicacion) => o.principal === true)\n }\n\n public isSameComunicacionAviso(obj: any){ \n let comunicacion = new UsuarioComunicacion();\n Object.assign(comunicacion, obj);\n\n let result = _.find(this.usuarioComunicaciones, (o: UsuarioComunicacion) => o.principal)\n\n if(result !== undefined){\n return comunicacion.equalId(result);\n }else{\n return false;\n }\n }\n\n public addComunicacion(comunicacion: any){ \n\n if((comunicacion.tipo+\"\").startsWith('E')){\n // Consulta si tiene la app instalada\n if(!this.app){\n if(comunicacion.principal === false){\n // Si no existe ningun principal podemos marcarlo\n if(!this.existeComunicacionTipoPrincipal('E')){\n this.quitarComunicacionPrincipal();\n comunicacion.principal = true;\n }\n }else{\n // Si existe alguno principal hay que desmarcarlo\n this.quitarComunicacionPrincipal();\n comunicacion.principal = true;\n }\n }else{\n comunicacion.principal = false;\n }\n }\n\n if((comunicacion.tipo+\"\").startsWith('TM')){\n // Consulta si tiene la app instalada\n if(!this.app){\n // Consultar si existe algun email\n if(!this.existeComunicacionTipoPrincipal('E')){\n if(comunicacion.principal === false){\n // Si no existe ningun principal podemos marcarlo\n if(!this.existeComunicacionTipoPrincipal('TM')){\n this.quitarComunicacionPrincipal();\n comunicacion.principal = true;\n }\n }else{\n // Si existe alguno principal hay que desmarcarlo\n this.quitarComunicacionPrincipal();\n }\n }else{\n comunicacion.principal = false;\n }\n }else{\n comunicacion.principal = false;\n }\n }\n this.addElement(this.usuarioComunicaciones, comunicacion, \n ['id','principal', 'tipo', 'valor', 'usuarioId', 'alias', 'contacto']\n )\n }\n\n public removeComunicacionByValor(valor: string){\n let element = _.find(this.usuarioComunicaciones, (o: any) => o.valor === valor)\n\n if(element !== undefined){\n _.remove(this.usuarioComunicaciones, (o: any) => o.valor === valor)\n this.onRemoveComunicacion(element);\n return\n }\n }\n\n public onRemoveComunicacion(comunicacion: any){\n if(comunicacion.principal === true){\n // Consulta si tiene la app instalada\n if(!this.app){\n // Consultar si existe algun email\n let element = _.find(this.usuarioComunicaciones, (o: any) => o.tipo === 'E')\n\n if(element !== undefined){\n element.principal = true\n return\n }\n\n element = _.find(this.usuarioComunicaciones, (o: any) => o.tipo === 'TM')\n\n if(element !== undefined){\n element.principal = true\n return\n }\n }\n }\n }\n\n public setComunicacion(obj: UsuarioComunicacion){\n this.setElement(this.usuarioComunicaciones, obj);\n }\n\n private setElement(collection: Array, element: EntityIdBase){\n let finded = _.find(collection, (o: EntityIdBase) => o.id === element.id)\n\n if(finded !== undefined){\n Object.assign(finded, element);\n }\n }\n\n public setComunicacionEmailPrincipal(valor: boolean){\n\n if(valor){\n let element = _.find(this.usuarioComunicaciones, (o: UsuarioComunicacion) => o.valor === this.login)\n \n if(element !== undefined){\n element.principal = valor\n return\n }\n }else{\n let elementFalse = _.filter(this.usuarioComunicaciones, (o: UsuarioComunicacion) => o.tipo === 'E')\n \n if(elementFalse !== undefined && elementFalse.length > 0){\n for (let i = 0; i < elementFalse.length; i++) {\n elementFalse[i].principal = false;\n \n }\n return\n }\n }\n }\n public isComunicacionEmailPrincipal(){\n let element = _.find(this.usuarioComunicaciones, (o: UsuarioComunicacion) => {\n return o.tipo === 'E' && o.principal === true\n })\n\n return element !== undefined\n }\n\n public existeComunicacionTipoPrincipal(tipo: string){\n for (let i = 0; i < this.usuarioComunicaciones.length; i++) {\n const element = this.usuarioComunicaciones[i];\n if((element.tipo+\"\").startsWith(tipo) && element.principal === true)\n return true\n }\n\n return false\n }\n\n public quitarComunicacionPrincipal(){\n for (let i = 0; i < this.usuarioComunicaciones.length; i++) {\n const element = this.usuarioComunicaciones[i];\n element.principal = false;\n }\n }\n\n //#endregion\n\n //#region Cuentas bancarias\n\n public addCuenta(cuenta: any){\n if(cuenta.principal === true){\n let ePrincipal = _.find(this.usuarioCuentasBancarias, (o: any) => {\n return o.principal === true\n })\n\n if(ePrincipal !== undefined){\n ePrincipal.principal = false\n }\n }\n\n if(this.usuarioCuentasBancarias.length === 0){\n cuenta.principal = true;\n }\n\n this.addElement(this.usuarioCuentasBancarias, cuenta, \n ['id','principal','iban', 'oficina', 'entidad', 'dc', 'cuenta', 'id_usuario']\n )\n }\n\n public existsCuentaBancaria(cuenta: UsuarioCuentaBancaria){ \n return this.usuarioCuentasBancarias\n .some((o: UsuarioCuentaBancaria) => o.iban === cuenta.iban)\n }\n\n //#endregion\n\n //#region Tarjetas bancarias\n\n public addTarjeta(tarjeta: any){\n\n if(tarjeta.activa === true){\n let eActiva = _.find(this.usuarioTarjetasBancarias, (o: any) => {\n return o.activa === true\n })\n\n if(eActiva !== undefined){\n eActiva.activa = false\n }\n }\n\n if(this.usuarioTarjetasBancarias.length === 0){\n tarjeta.activa = true;\n }\n\n this.addElement(this.usuarioTarjetasBancarias, tarjeta, \n ['id','activa', 'caducidad', 'cvv', 'numero', 'id_usuario']\n )\n }\n\n public existsTarjetaBancaria(tarjeta: UsuarioTarjetaBancaria){ \n let exists = _.find(this.usuarioTarjetasBancarias, (o: UsuarioTarjetaBancaria) => {\n return o.numero === tarjeta.numero &&\n o.cvv === tarjeta.cvv &&\n o.caducidad.toDateString() === tarjeta.caducidad.toDateString()\n })\n\n return exists !== undefined\n }\n\n public onRemoveTarjeta(tarjeta: any){\n if(tarjeta.activa === true){\n if(this.usuarioTarjetasBancarias.length > 0){\n this.usuarioTarjetasBancarias[0].activa = true;\n }\n }\n }\n\n //#endregion\n\n //#region Vehículos\n\n public addVehiculo(vehiculo: any){\n this.addElement(this.usuarioVehiculos, vehiculo, \n ['id','marca', 'modelo', 'matricula']\n )\n }\n\n public existsVehiculo(vehiculo: UsuarioVehiculo){ \n return this.usuarioVehiculos\n .some((x: UsuarioVehiculo) => x.matricula === vehiculo.matricula)\n }\n\n public removeVehiculoByMatricula(matricula: string){\n let element = _.find(this.usuarioVehiculos, (o: any) => o.matricula === matricula)\n\n if(element !== undefined){\n _.remove(this.usuarioVehiculos, (o: any) => o.matricula === matricula)\n return\n }\n }\n\n //#endregion\n\n //#region Validaciones\n\n public isValid(){\n if (this.nombre !== null && this.nombre !== undefined && this.nombre.trim() === '') return false;\n if (this.tipoDocumento !== null && this.tipoDocumento !== undefined && this.tipoDocumento.trim() === '') return false;\n if (this.documento !== null && this.documento !== undefined && this.documento.trim() === '') return false;\n if (this.documento !== null && this.documento !== undefined && this.documento.trim() !== '' && !this.checkDocumento()) return false;\n if (this.checkAnyDocumentosSinDocumento()) return false;\n if (!this.validateTipologiaServicioAndGremio()) return false;\n\n if(this.isEntidad()){\n if (this.usuarioDirecciones.length === 0) return false;\n // if (this.usuarioCuentasBancarias.length === 0) return false;\n if(!this.usuarioComunicaciones.some((x: any) => x.tipo.startsWith('T'))) return false;\n }else{\n if (this.login === '') return false;\n // Consultar si existe algun email\n if(!this.usuarioComunicaciones.some((x: any) => x.tipo === 'E')) return false;\n if(!this.existsComunicacionWithAviso()) return false;\n\n if((this.rolId !== RolEnum.Cliente && this.rolId !== RolEnum.ClienteCandidato) && \n !this.usuarioComunicaciones.some((x: any) => x.tipo.startsWith('T'))) return false;\n \n if (this.fechaNacimiento !== undefined && this.fechaNacimiento !== null) {\n let fechaActual = moment();\n let fechaNacimiento = moment(this.fechaNacimiento);\n if(fechaActual.diff(fechaNacimiento, 'day') < (365 * 18)) return false;\n }\n }\n\n return true;\n }\n\n public checkDocumento(){\n if(this.documento !== undefined && this.documento !== null){\n this.documento = this.documento.toUpperCase();\n\n return (/^[0-9]{8}[TRWAGMYFPDXBNJZSQVHLCKE]$/i).test(this.documento) ||\n (/^([ABCDEFGHJKLMNPQRSUVW])(\\d{7})([0-9A-J])$/).test(this.documento) ||\n (/^[XYZ][0-9]{7}[TRWAGMYFPDXBNJZSQVHLCKE]$/i).test(this.documento);\n }else{\n return false;\n } \n }\n\n public checkDocumentoWithType(){\n if(this.documento !== undefined && this.documento !== null){\n this.documento = this.documento.toUpperCase();\n\n if(this.tipoDocumento === 'D')\n return (/^[0-9]{8}[TRWAGMYFPDXBNJZSQVHLCKE]$/i).test(this.documento);\n\n if(this.tipoDocumento === 'C')\n return (/^([ABCDEFGHJKLMNPQRSUVW])(\\d{7})([0-9A-J])$/).test(this.documento);\n\n if(this.tipoDocumento === 'N')\n return (/^[XYZ][0-9]{7}[TRWAGMYFPDXBNJZSQVHLCKE]$/i).test(this.documento);\n\n return false;\n }else{\n return false;\n } \n }\n\n public checkTelefonoMovil(){\n var regexTelefono = /^[67]{1}[0-9]{8}$/;\n return regexTelefono.test(this.login.trim())\n }\n\n public checkTelefonoFijo(){\n var regexTelefono = /^[89]{1}[0-9]{8}$/;\n\n return regexTelefono.test(this.login.trim())\n }\n\n public checkEmail(){\n var regexEmail = /\\S+@\\S+\\.\\S+/;\n return regexEmail.test(this.login.trim())\n }\n\n //#endregion\n\n //#region Documentos\n\n public getUsuarioDocumentos(){\n if(this.rol!.tipo === 'C'){\n if(this.documento !== null && this.documento.trim() !== '' && this.checkDocumento()){\n let entidadJuridica = this.tipoDocumento == \"C\" ? \"EMPRESA\" : \"AUTONOMO\";\n\n return _.filter(this.usuarioDocumentos, (obj: UsuarioDocumento) => \n obj.tipoDocumento.entidadJuridica === entidadJuridica || obj.tipoDocumento.entidadJuridica === 'TODAS');\n }else{\n return [];\n }\n }else{\n return this.usuarioDocumentos;\n }\n }\n\n public checkAllDocumentosAceptados(){\n const findUsuarioDocumentos = _.find(this.getUsuarioDocumentos(), (d: UsuarioDocumento) => {\n return d.estadoDocumentoId !== EstadoDocumentoEnum.Aceptado && !d.baja\n })\n\n if(findUsuarioDocumentos !== undefined)\n return false;\n\n return true;\n }\n\n public checkAllDocumentosConDocumento(){\n const findUsuarioDocumentos = _.find(this.getUsuarioDocumentos(), (d: UsuarioDocumento) => {\n return d.estadoDocumentoId !== EstadoDocumentoEnum.ConDocumento && !d.baja\n })\n\n if(findUsuarioDocumentos !== undefined)\n return false;\n\n return true;\n }\n\n public checkAnyDocumentosSinDocumento(){\n const findUsuarioDocumentos = _.find(this.getUsuarioDocumentos(), (d: UsuarioDocumento) => {\n return d.estadoDocumentoId === EstadoDocumentoEnum.SinDocumento && !d.baja\n })\n\n if(findUsuarioDocumentos !== undefined)\n return true;\n\n return false;\n }\n\n public checkAnyDocumentosRechazado(){\n const findUsuarioDocumentos = _.find(this.getUsuarioDocumentos(), (d: UsuarioDocumento) => {\n return d.estadoDocumentoId === EstadoDocumentoEnum.Rechazado && !d.baja\n })\n\n if(findUsuarioDocumentos !== undefined)\n return true;\n\n return false;\n }\n\n \n\n get vinculacion(){\n if(this.delegacionId != undefined && this.delegacionId != null && this.delegacionId > 0)\n {\n return this.delegacion.nombre;\n }\n\n if (this.colaboradorId != undefined && this.colaboradorId != null && this.colaboradorId > 0)\n {\n return this.colaborador.nombre;\n }\n\n if (this.subcomercialId != undefined && this.subcomercialId != null && this.subcomercialId > 0)\n {\n return this.subcomercial.nombre;\n }\n\n if (this.comercialId != undefined && this.comercialId != null && this.comercialId > 0)\n {\n return this.comercial.nombre;\n }\n\n return \"Sistema\";\n }\n\n set vinculacion(obj: any){\n\n }\n\n //#endregion\n\n //#region Permisos\n\n hasPermisoActividad(actividadId: number){\n\n if(this.isSistema()) return true;\n \n const usuarioActividad = this.usuarioActividades.find((x: UsuarioActividad) => x.actividadId === actividadId)\n\n if(usuarioActividad){\n return usuarioActividad.usuarioServicioTipos.some((x: UsuarioServicioTipo) => x.gestionar || x.realizar || x.abrir)\n }else{\n return false;\n }\n }\n\n \n //#endregion\n\n //#endregion\n\n //#region Private\n\n private addElement(ds: any[], datarow: any, fields: any[]) {\n const exists = _.findIndex(ds, { id: datarow.id })\n if (datarow.id == 0) {\n const exists = _.findIndex(ds, { idTemp: datarow.idTemp })\n if (exists == -1) {\n let row: any = {}\n fields.forEach(element => {\n row[element] = datarow[element]\n })\n row.idTemp = -(ds.length + 1) //$util.UID;\n ds.push(row)\n } else {\n fields.forEach(element => (ds[exists][element] = datarow[element]))\n }\n } else {\n fields.forEach(element => (ds[exists][element] = datarow[element]))\n }\n }\n\n private validateTipologiaServicioAndGremio(){\n\n for (let i = 0; i < this.usuarioActividades.length; i++) {\n const usuarioActividad = this.usuarioActividades[i];\n\n if(usuarioActividad.usuarioGremios.length > 0){\n let findedTipologiaServicioAbrir = _.filter(usuarioActividad.usuarioServicioTipos, \n (o: UsuarioServicioTipo) => o.abrir === true)\n\n let findedGremiosAbrir = _.filter(usuarioActividad.usuarioGremios, \n (o: UsuarioGremio) => o.abrir === true)\n\n if(findedTipologiaServicioAbrir !== undefined && findedGremiosAbrir !== undefined){\n if(!((findedTipologiaServicioAbrir.length > 0 && findedGremiosAbrir.length > 0) ||\n (findedTipologiaServicioAbrir.length === 0 && findedGremiosAbrir.length === 0)))\n {\n return false;\n }\n }\n\n let findedTipologiaServicioGestionar = _.filter(usuarioActividad.usuarioServicioTipos, \n (o: UsuarioServicioTipo) => o.gestionar === true)\n\n let findedGremiosGestionar = _.filter(usuarioActividad.usuarioGremios, (o: UsuarioGremio) =>{\n return o.gestionar === true;\n })\n\n if(findedTipologiaServicioGestionar !== undefined && findedGremiosGestionar !== undefined){\n if(!((findedTipologiaServicioGestionar.length > 0 && findedGremiosGestionar.length > 0) ||\n (findedTipologiaServicioGestionar.length === 0 && findedGremiosGestionar.length === 0)))\n {\n return false;\n }\n }\n\n let findedTipologiaServicioRealizar = _.filter(usuarioActividad.usuarioServicioTipos, \n (o: UsuarioServicioTipo) => o.realizar === true)\n\n let findedGremiosRealizar = _.filter(usuarioActividad.usuarioGremios, \n (o: UsuarioGremio) => o.realizar === true)\n\n if(findedTipologiaServicioRealizar !== undefined && findedGremiosRealizar !== undefined){\n if(!((findedTipologiaServicioRealizar.length > 0 && findedGremiosRealizar.length > 0) ||\n (findedTipologiaServicioRealizar.length === 0 && findedGremiosRealizar.length === 0)))\n {\n return false;\n }\n }\n }\n }\n\n return true;\n }\n\n //#endregion\n}\n\n\n\n\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.conf.mode === 'password')?_c('div',[_c('dx-text-box',{ref:\"input\",staticStyle:{\"min-height\":\"28px\"},attrs:{\"mode\":\"password\",\"inputAttr\":_vm.inputAttr,\"showClearButton\":_vm.showClearButton || false,\"placeholder\":_vm.placeholder || '',\"tabIndex\":_vm.tabindex,\"readOnly\":_vm.readonly || false,\"maxLength\":_vm.conf.m || 0,\"value\":_vm.value,\"width\":_vm.conf.w || '100%'},on:{\"focusIn\":_vm.focusIn,\"focusOut\":_vm.focusOut,\"enterKey\":function($event){return _vm.$emit('enterKey',$event)},\"valueChanged\":_vm.updateControl,\"keyDown\":function($event){return _vm.$emit('keyDown',$event)}}})],1):_vm._e(),(_vm.conf.mode !== 'password')?_c('div',[_c('dx-text-box',{ref:\"input\",staticStyle:{\"min-height\":\"28px\"},attrs:{\"inputAttr\":_vm.inputAttr,\"showClearButton\":_vm.showClearButton || false,\"placeholder\":_vm.placeholder || '',\"tabIndex\":_vm.tabindex,\"readOnly\":_vm.readonly || false,\"maxLength\":_vm.conf.m || 0,\"value\":_vm.value,\"width\":_vm.conf.w || '100%'},on:{\"focusIn\":_vm.focusIn,\"focusOut\":_vm.focusOut,\"enterKey\":function($event){return _vm.$emit('enterKey',$event)},\"valueChanged\":_vm.updateControl,\"keyDown\":_vm.keyDown}})],1):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./xi-text.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./xi-text.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./xi-text.vue?vue&type=template&id=42190f88&\"\nimport script from \"./xi-text.vue?vue&type=script&lang=js&\"\nexport * from \"./xi-text.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dx-date-box',{ref:\"dateb\",staticStyle:{\"min-height\":\"28px\"},attrs:{\"readOnly\":_vm.readonly,\"value\":_vm.value,\"width\":_vm.conf.w || '100%',\"placeholder\":_vm.placeholder || ''},on:{\"valueChanged\":_vm.updateControl,\"enterKey\":function($event){return _vm.$emit('enterKey',$event)},\"keyDown\":function($event){return _vm.$emit('keyDown',$event)}}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./xi-date.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./xi-date.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./xi-date.vue?vue&type=template&id=bf1b0dba&\"\nimport script from \"./xi-date.vue?vue&type=script&lang=js&\"\nexport * from \"./xi-date.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('dx-number-box',{ref:\"num\",staticStyle:{\"min-height\":\"28px\"},attrs:{\"inputAttr\":_vm.inputAttr,\"readOnly\":_vm.readonly || false,\"format\":_vm.formato,\"tabIndex\":_vm.tabindex,\"max\":_vm.max,\"min\":_vm.min,\"value\":_vm.value,\"width\":_vm.conf.w || '100%'},on:{\"valueChanged\":_vm.updateControl,\"enterKey\":function($event){return _vm.$emit('enterKey',$event)}}})}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./xi-number.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./xi-number.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./xi-number.vue?vue&type=template&id=c12abc0c&\"\nimport script from \"./xi-number.vue?vue&type=script&lang=js&\"\nexport * from \"./xi-number.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('dx-check-box',{ref:\"input\",staticStyle:{\"min-height\":\"28px\"},attrs:{\"inputAttr\":_vm.inputAttr,\"tabIndex\":_vm.tabindex,\"readOnly\":_vm.readonly || false,\"value\":_vm.value},on:{\"valueChanged\":_vm.updateControl}}),_c('span',{staticStyle:{\"margin-left\":\"10px\"}},[_vm._v(_vm._s(_vm.conf.label))])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n \n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./xi-check-box.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./xi-check-box.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./xi-check-box.vue?vue&type=template&id=b4af979c&\"\nimport script from \"./xi-check-box.vue?vue&type=script&lang=js&\"\nexport * from \"./xi-check-box.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('vs-row',{staticClass:\"row-item\",staticStyle:{\"margin-top\":\"10px\"},attrs:{\"vs-w\":_vm.w,\"vs-justify\":\"space-between\"}},_vm._l((_vm.layout),function(item){return _c('vs-col',{key:item.id,class:item.notPaddingLateral ? 'padding-right-0 padding-left-0' : '',attrs:{\"vs-type\":\"flex\",\"vs-justify\":item.a=='c' ? 'center' :'',\"vs-align\":\"center\",\"vs-w\":item.sl}},[_c('div',{staticStyle:{\"width\":\"100%\",\"margin-top\":\"5px\"}},[_c('vs-col',{staticStyle:{\"padding\":\"0px\"},attrs:{\"vs-xs\":\"12\"}},[(item.t !=='b' && item.label !== undefined && item.label !== '' && (item.visible==undefined || item.visible))?_c('span',{staticStyle:{\"font-size\":\"14px\"}},[_vm._v(_vm._s(item.label))]):_vm._e(),(item.showinfo || false)?_c('vs-button',{staticStyle:{\"margin-left\":\"0px\",\"padding\":\"0px 5px 0px 5px\"},attrs:{\"type\":\"flat\"},on:{\"click\":function($event){return _vm.showInfo(item.info)}}},[_c('vs-icon',{attrs:{\"icon\":\"info\",\"size\":\"small\",\"color\":\"dark\"}})],1):_vm._e(),(!(item.t !=='b' && item.label !== undefined && item.label !== '' && (item.visible==undefined || item.visible)))?_c('br'):_vm._e()],1),_c('vs-col',{staticStyle:{\"padding\":\"0px\"},attrs:{\"vs-xs\":\"12\"}},[(item.t=='t' && (item.visible==undefined || item.visible ))?_c('xi-text',{ref:item.df,refInFor:true,attrs:{\"conf\":item,\"focus\":item.focus,\"placeholder\":item.placeholder,\"show-clear-button\":item.showClearButton,\"data-cy\":'field-'+item.df},on:{\"enterKey\":function($event){return _vm.enterKey(item,$event)},\"keyDown\":function($event){return _vm.keyDown(item,$event)},\"valueChanged\":function($event){return _vm.valueChanged(item,$event)}},model:{value:(_vm.model[item.df]),callback:function ($$v) {_vm.$set(_vm.model, item.df, $$v)},expression:\"model[item.df]\"}}):_vm._e(),(item.t=='n')?_c('xi-number',{ref:item.df,refInFor:true,attrs:{\"conf\":item,\"data-cy\":'field-'+item.df},model:{value:(_vm.model[item.df]),callback:function ($$v) {_vm.$set(_vm.model, item.df, $$v)},expression:\"model[item.df]\"}}):_vm._e(),(item.t=='d')?_c('xi-date',{ref:item.df,refInFor:true,attrs:{\"conf\":item,\"placeholder\":item.placeholder,\"data-cy\":'field-'+item.df},on:{\"valueChanged\":function($event){return _vm.valueChanged(item,$event)}},model:{value:(_vm.model[item.df]),callback:function ($$v) {_vm.$set(_vm.model, item.df, $$v)},expression:\"model[item.df]\"}}):_vm._e(),(item.t=='b')?_c('xi-check-box',{ref:item.df,refInFor:true,attrs:{\"conf\":item,\"data-cy\":'field-'+item.df},model:{value:(_vm.model[item.df]),callback:function ($$v) {_vm.$set(_vm.model, item.df, $$v)},expression:\"model[item.df]\"}}):_vm._e(),(item.t=='bt')?_c('div',[_c('dx-button',{directives:[{name:\"show\",rawName:\"v-show\",value:((item.visible || (item.visible==true) )),expression:\"(item.visible || (item.visible==true) )\"}],ref:item.df,refInFor:true,attrs:{\"focus-state-enabled\":false,\"type\":\"back\",\"icon\":item.icon,\"hint\":item.hint,\"disabled\":(item.disabled || (item.disabled==true))},on:{\"click\":function($event){return _vm.clickButton(item,$event)}}})],1):_vm._e(),(item.t=='btn')?_c('div',[_c('dx-button',{directives:[{name:\"show\",rawName:\"v-show\",value:((item.visible || (item.visible==true) )),expression:\"(item.visible || (item.visible==true) )\"}],ref:item.df,refInFor:true,attrs:{\"tab-index\":item.tabindex,\"focus-state-enabled\":false,\"text\":item.text || '',\"icon\":item.icon,\"hint\":item.hint},on:{\"click\":function($event){return _vm.clickButton(item,$event)}}})],1):_vm._e(),(item.t=='slb')?_c('dx-select-box',{ref:item.slb,refInFor:true,staticStyle:{\"min-height\":\"28px\"},attrs:{\"tab-index\":item.tabindex,\"width\":\"100%\",\"show-clear-button\":item.showClearButton || false,\"items\":item.items,\"read-only\":item.readonly || false,\"search-enabled\":_vm.selectBoxSearchEnabled(item),\"value-expr\":item.value || 'id',\"display-expr\":item.display || 'des',\"placeholder\":item.placeholder,\"data-cy\":'field-'+item.df,\"name\":'field-'+item.df},on:{\"value-changed\":function($event){return _vm.valueChanged(item,$event)}},model:{value:(_vm.model[item.df]),callback:function ($$v) {_vm.$set(_vm.model, item.df, $$v)},expression:\"model[item.df]\"}}):_vm._e(),(item.t=='ta')?_c('dx-text-area',{attrs:{\"auto-resize-enabled\":true,\"max-length\":50000,\"width\":\"100%\",\"height\":item.height || '6em',\"read-only\":item.readonly || false,\"data-cy\":'field-'+item.df,\"name\":'field-'+item.df},on:{\"enterKey\":function($event){return _vm.enterKey(item,$event)},\"keyDown\":function($event){return _vm.keyDown(item,$event)},\"valueChanged\":function($event){return _vm.valueChanged(item,$event)}},model:{value:(_vm.model[item.df]),callback:function ($$v) {_vm.$set(_vm.model, item.df, $$v)},expression:\"model[item.df]\"}}):_vm._e(),(item.t=='lbl')?_c('div',{staticStyle:{\"margin-top\":\"1em\",\"margin-left\":\"1em\",\"margin-bottom\":\"-1em\"}},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:((item.visible || (item.visible==true) )),expression:\"(item.visible || (item.visible==true) )\"}],ref:item.df,refInFor:true,staticStyle:{\"margin-top\":\"1em\",\"margin-left\":\"1em\",\"margin-bottom\":\"-1em\"},attrs:{\"height\":\"6em\"}},[_vm._v(_vm._s(item.label))])]):_vm._e()],1)],1)])}),1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Prop } from 'vue-property-decorator'\nimport { DxButton, DxSelectBox, DxTextArea } from 'devextreme-vue'\nimport xiText from '@/components/xlm-common-ui/xi-text.vue'\nimport xiDate from '@/components/xlm-common-ui/xi-date.vue'\nimport xiNumber from '@/components/xlm-common-ui/xi-number.vue'\nimport xiCheckBox from '@/components/xlm-common-ui/xi-check-box.vue'\nimport { $util } from '@/services/util.service'\nimport { Info } from '@/models/Info'\n\n@Component({\n components: {\n DxButton,\n DxSelectBox,\n xiText,\n xiDate,\n xiNumber,\n xiCheckBox,\n DxTextArea,\n },\n})\nexport default class xiLayoutItem extends Vue {\n @Prop({ type: Array, default: [] }) layout!: any[]\n\n @Prop({ type: Object, default: {} }) model!: any\n\n @Prop({ type: Number, default: 12 }) w!: Number\n\n mounted() {\n const found = this.layout.find((item: any) => item.focus || false)\n if (found !== undefined && this.$refs[found.df] != undefined) {\n (this.$refs[found.df] as any)[0].focus()\n // (this.$refs[found.df] as any)[0].selectall();\n }\n }\n\n valueChanged(item: any, e: any) {\n if (item.valueChanged) {\n item.valueChanged(item, e)\n }\n }\n\n enterKey(item: any, e: any) {\n if (item.enterKey) {\n item.enterKey(item, e)\n }\n }\n\n keyDown(item: any, e: any) {\n if (item.keyDown != undefined && e.event.key == 'Tab') {\n item.keyDown(item, e)\n }\n }\n\n clickButton(item: any, e: any) {\n if (item.click) {\n item.click(item, e)\n }\n }\n\n async showInfo(info: Info) {\n const resp = await $util.modalInfo({\n title: info.titulo,\n name: info.nombre,\n descripcion: info.descripcion,\n })\n }\n\n selectBoxSearchEnabled(item: any) {\n return item.searchEnabled !== undefined ? item.searchEnabled : true\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./xi-layout-item.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./xi-layout-item.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./xi-layout-item.vue?vue&type=template&id=3bdd71b7&scoped=true&\"\nimport script from \"./xi-layout-item.vue?vue&type=script&lang=ts&\"\nexport * from \"./xi-layout-item.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./xi-layout-item.vue?vue&type=style&index=0&id=3bdd71b7&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3bdd71b7\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('vx-card',{staticClass:\"fondo\",on:{\"keyup\":_vm.keyHandler}},[_c('vs-row',{attrs:{\"vs-w\":\"12\",\"vs-justify\":\"space-between\"}},[_c('vs-col',{staticClass:\"padding-left-0\",attrs:{\"vs-w\":\"2\",\"vs-justify\":\"flex-begin\"}},[_vm._t(\"header-left\")],2),_c('vs-col',{attrs:{\"vs-w\":\"8\",\"vs-type\":\"flex\",\"vs-justify\":\"center\"}},[_c('h5',[_vm._v(_vm._s(_vm.conf.title || ''))])]),_c('vs-col',{attrs:{\"vs-w\":\"2\",\"vs-type\":\"flex\",\"vs-justify\":\"flex-end\"}},[_c('span',{on:{\"click\":_vm.cerrar}},[_c('vs-icon',{staticClass:\"icon\",attrs:{\"icon\":\"close\",\"data-cy\":\"clickClosePopup\"}})],1)])],1),_c('vs-divider'),_vm._t(\"default\"),_c('vs-row',{staticStyle:{\"margin-top\":\"1em\"},style:(_vm.footerVisible),attrs:{\"vs-w\":\"12\",\"vs-justify\":\"space-between\"}},[_c('vs-col',{attrs:{\"vs-type\":\"flex\",\"vs-justify\":\"center\",\"vs-align\":\"center\",\"vs-wg\":\"12\"}},[_c('vs-button',{staticStyle:{\"width\":\"50%\"},attrs:{\"color\":_vm.colorButton(),\"data-cy\":\"clickGuardarPopup\"},on:{\"click\":_vm.guardar}},[_vm._v(_vm._s(_vm.conf.captionGuardar || 'Guardar'))])],1)],1),_vm._t(\"footer\")],2)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator'\nimport { $util } from '@/services/util.service'\n\n@Component({\n \n})\nexport default class XiPopup extends Vue {\n\n @Prop({required:true, default:{name:'',title:'',captionGuardar:'',model:{}, footer:true} }) \n conf!:{name:string,title:string,captionGuardar:string, model:any, footer:boolean};// Object;\n @Prop({default:true}) formularioValidado!:Boolean;\n @Prop({default:true}) formularioModificado!:Boolean;\n \n keyHandler(evento:any) {\n if (evento.keyCode===27)\n this.salir({});\n }\n\n mounted(){\n }\n\n destroyed(){\n $util.off('refresh-pop');\n }\n \n async salir(params:any) {\n if(params.confirm !== undefined && params.confirm === true){\n const resp = await $util.modalConfirm({\n title: 'Atención',\n name: 'popConfirmarSalir',\n descripcion: [\n 'Si cierras la ventana, los cambios realizados se perderán',\n '¿Quieres continuar?',\n ],\n OK: 'Sí',\n CANCEL: 'No',\n })\n\n if (resp.params.valor == 'S') {\n this.$modal.hide(this.conf.name,params);\n }\n }else{\n this.$modal.hide(this.conf.name,params);\n }\n } \n\n cerrar(params:any) {\n this.$emit('cerrar');\n }\n\n async guardar(){\n if(this.formularioValidado && this.formularioModificado){\n this.$emit('guardar');\n }else{\n this.$emit('validacion');\n }\n } \n\n get footerVisible(){\n if ( this.conf.footer==undefined || this.conf.footer)\n return {};\n else {\n return {display:'none'}; \n }\n }\n\n colorButton(){\n return this.formularioValidado && this.formularioModificado ? 'success' : '#90E0B4'\n }\n \n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./xi-popup.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./xi-popup.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./xi-popup.vue?vue&type=template&id=73893aa8&scoped=true&\"\nimport script from \"./xi-popup.vue?vue&type=script&lang=ts&\"\nexport * from \"./xi-popup.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./xi-popup.vue?vue&type=style&index=0&id=73893aa8&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"73893aa8\",\n null\n \n)\n\nexport default component.exports","// Theme Colors\n// Initially this will be blank. Later on when app is initialized we will assign bootstrap colors to this from CSS variables.\nexport const $themeColors = {\n primary: '#7367F0',\n\tsuccess: '#28C76F',\n\tdanger: '#EA5455',\n\twarning: '#FF9F43',\n\tdark: '#1E1E1E',\n}\n\n// App Breakpoints\n// Initially this will be blank. Later on when app is initialized we will assign bootstrap breakpoints to this object from CSS variables.\nexport const $themeBreakpoints = {}\n\n// APP CONFIG\nexport const $themeConfig = {\n app: {\n appName: 'Seguribo', // Will update name in navigation menu (Branding)\n // eslint-disable-next-line global-require\n appLogoImage: require('@/assets/images/logo/logo.png'), // Will update logo in navigation menu (Branding)\n },\n layout: {\n isRTL: false,\n skin: 'light', // light, dark, bordered, semi-dark\n routerTransition: 'zoom-fade', // zoom-fade, slide-fade, fade-bottom, fade, zoom-out, none\n type: 'vertical', // vertical, horizontal\n contentWidth: 'full', // full, boxed\n menu: {\n hidden: false,\n isCollapsed: true,\n },\n navbar: {\n // ? For horizontal menu, navbar type will work for navMenu type\n type: 'floating', // static , sticky , floating, hidden\n backgroundColor: '', // BS color options [primary, success, etc]\n },\n footer: {\n type: 'static', // static, sticky, hidden\n },\n customizer: true,\n enableScrollToTop: true,\n },\n}\n","\nexport default class CambiarAsignacionOfertaDtoIn {\n delegacionId!: number\n gestorId!: number\n entidadOfertaGestorId!: number\n entidadAbreId!: number\n entidadAbreGestorId!: number\n servicioId!: number\n}","import { Http } from '@/services/http.service'\nimport '@/services/util.service'\nimport Servicio from '@/models/entities/Servicio'\nimport GenericService from '@/services/generic.service'\nimport CambiarAsignacionOfertaDtoIn from '@/models/dtos/in/CambiarAsignacionOfertaDtoIn'\n\nexport class OfertaService extends GenericService {\n\n constructor(){\n super('oferta')\n }\n\n public GetOfertasReparaciones(): any {\n const params = {\n api: 'Oferta/reparaciones?sort=%5B%7B%22selector%22%3A%22id%22%2C%22desc%22%3Atrue%7D%5D',\n key: 'id',\n loadParams: {},\n }\n return Http.AspNetData(params)\n } \n\n public GetOfertasTaller(): any {\n const params = {\n api: 'Oferta/taller?sort=%5B%7B%22selector%22%3A%22id%22%2C%22desc%22%3Atrue%7D%5D',\n key: 'id',\n loadParams: {},\n }\n return Http.AspNetData(params)\n } \n\n public GetOfertasByActividad(actividadId: number): any {\n const params = {\n api: `Oferta/actividad/${actividadId}/?sort=%5B%7B%22selector%22%3A%22id%22%2C%22desc%22%3Atrue%7D%5D`,\n key: 'id',\n loadParams: {},\n }\n return Http.AspNetData(params)\n } \n\n public GetOfertaUsuarios(id: number): Promise> {\n return Http.Get({\n url: this.entity+\"/reparaciones/\"+id+\"/usuarios\",\n loading: false\n });\n }\n\n public async AceptarOferta(servicio: Servicio, listaCitasActualizar: any[]) {\n return (await Http.Post({\n url: `${this.entity}/AceptarOferta`,\n data: { \"servicio\": servicio, \"citasActualizar\": listaCitasActualizar },\n }))\n } \n\n public async RechazarOferta(id: Number) {\n return (await Http.Post({\n url: `${this.entity}/RechazarOferta`,\n query: { id },\n }))\n } \n \n public async BloquearOferta(id: number): Promise {\n return await Http.Post({\n url: `${this.entity}/BloquearOferta`,\n query: { id },\n loading: false\n })\n }\n\n public async DesbloquearOferta(id: number) {\n return (await Http.Post({\n url: `${this.entity}/DesbloquearOferta`,\n query: { id },\n loading: false\n }))\n } \n\n public async EstaOfertaBloqueada(id: number) {\n return (await Http.Post({\n url: `${this.entity}/EstaOfertaBloqueada`,\n query: { id },\n loading: false\n }))\n } \n \n public async CambiarGremio(gremioId: Number, servicioId: Number){\n return (await Http.Post({\n url: `${this.entity}/CambiarGremio`,\n data: { \"gremioId\": gremioId, \"servicioId\": servicioId },\n }))\n }\n\n public async CambiarAsignacion(servicio: Servicio){\n let dto = new CambiarAsignacionOfertaDtoIn();\n dto.servicioId = servicio.id;\n dto.delegacionId = servicio.delegacionId;\n dto.gestorId = servicio.gestorId;\n dto.entidadOfertaGestorId = servicio.entidadOfertaGestorId;\n dto.entidadAbreId = servicio.entidadAbreId;\n dto.entidadAbreGestorId = servicio.entidadAbreGestorId;\n\n return (await Http.Post({\n url: `${this.entity}/CambiarAsignacion`,\n data: dto,\n }))\n }\n \n public async CambiarEntidad(servicioId: Number, entidadId: Number, tiempoMinutos: number){\n return (await Http.Post({\n url: `${this.entity}/CambiarEntidad`,\n data: { \"entidadId\": entidadId, \"servicioId\": servicioId, \"tiempoMinutos\": tiempoMinutos },\n }))\n }\n\n public GetIdsUsuariosCanDeleteOferta(id: number): Promise> {\n return Http.Get({\n url: this.entity+\"/usuarios-can-delete-oferta/\"+id,\n loading: false\n });\n }\n\n public CheckOfertasEntidad(entidadId: number): Promise> {\n return Http.Get({\n url: this.entity+\"/check-ofertas-entidad/\"+entidadId,\n loading: false\n });\n }\n\n public EntidadSuperaLimitesAsignacion(entidadId: number): Promise {\n return Http.Get({\n url: this.entity+\"/entidad-supera-limites-asignacion/\"+entidadId,\n loading: false\n });\n }\n\n public get APIKEY(){\n return Http.APIKEY;\n }\n}\n\nexport const ofertaService = new OfertaService()\n","\nexport enum IvaConst {\n Iva = 0.21,\n IvaReducido = 0.1,\n}","\nexport enum EstadoCitaEnum{\n Pendiente = \"PENDIENTE\",\n Cancelada = \"CANCELADA\",\n Enviada = \"ENVIADA\",\n Rechazada = \"RECHAZADA\",\n Aceptada = \"ACEPTADA\",\n Caducada = \"CADUCADA\",\n Visita = \"VISITA\"\n}","\nimport '@/services/util.service'\nimport { servicioService } from '@/services/servicio.service'\nimport { documentoService } from '@/services/documento.service'\n\nimport Servicio from '@/models/entities/Servicio'\nimport Actividad from '@/models/entities/Actividad'\nimport Gremio from '@/models/entities/Gremio'\nimport ServicioTipo from '@/models/entities/ServicioTipo'\nimport Aseguradora from '@/models/entities/Aseguradora'\nimport Usuario from '@/models/entities/Usuario'\nimport ServicioDireccion from '@/models/entities/ServicioDireccion'\nimport ServicioComunicacion from '@/models/entities/ServicioComunicacion'\nimport ServicioPerjudicado from '@/models/entities/ServicioPerjudicado';\nimport { TipologiaServicioEnum } from '@/models/enums/TipologiaServicioEnum'\nimport UsuarioVehiculo from '@/models/entities/UsuarioVehiculo'\n\nexport class ServicioApplicationService {\n\n public async nuevoServicioTipoCliente(servicio: Servicio, servicioPrincipal: Servicio) {\n \n await this.GuardarServicio(servicio);\n\n servicio.actividad = servicioPrincipal.actividad || new Actividad()\n servicio.servicioTipo = new ServicioTipo()\n servicio.delegacionId = servicioPrincipal.delegacionId;\n\n servicio.cliente = new Usuario();\n Object.assign(servicio.cliente, servicioPrincipal.cliente)\n\n servicio.servicioDireccion = new ServicioDireccion();\n Object.assign(servicio.servicioDireccion, servicioPrincipal.servicioDireccion)\n servicio.servicioDireccion.id = 0\n servicio.servicioDireccion.servicioId = servicio.id\n\n servicio.servicioComunicacion = new ServicioComunicacion();\n Object.assign(servicio.servicioComunicacion, servicioPrincipal.servicioComunicacion)\n servicio.servicioComunicacion.id = 0\n servicio.servicioComunicacion.servicioId = servicio.id\n \n Object.assign(servicio.servicioPerjudicados, servicioPrincipal.servicioPerjudicados)\n servicio.resetPerjudicados(); \n }\n\n public async nuevoSubservicio(servicio: Servicio, servicioPrincipal: Servicio) {\n servicio.servicioId = servicioPrincipal.principal ? servicioPrincipal.id : servicioPrincipal.servicioId;\n servicio.principal = false\n\n Object.assign(servicio.servicioPerjudicados, servicioPrincipal.servicioPerjudicados)\n servicio.resetPerjudicados(); \n \n const resp = await this.GuardarServicio(servicio);\n\n servicio.actividad = servicioPrincipal.actividad || new Actividad()\n servicio.actividadId = servicioPrincipal.actividadId;\n servicio.servicioTipo = servicioPrincipal.servicioTipo || new ServicioTipo()\n servicio.aseguradora = servicioPrincipal.aseguradora || new Aseguradora()\n servicio.asistencia = servicioPrincipal.asistencia || new Usuario()\n servicio.delegacionId = servicioPrincipal.delegacionId;\n servicio.colaboradorId = servicioPrincipal.colaboradorId;\n\n //Gestores\n servicio.gestorId = servicioPrincipal.gestorId;\n servicio.entidadAbreGestorId = servicioPrincipal.entidadAbreGestorId;\n\n servicio.poliza = servicioPrincipal.poliza\n servicio.expediente = servicioPrincipal.expediente\n servicio.franquicia = servicioPrincipal.franquicia\n servicio.limiteCapital = servicioPrincipal.limiteCapital\n servicio.garantiaCoberturas = servicioPrincipal.garantiaCoberturas\n servicio.solicitaPeritacion = servicioPrincipal.solicitaPeritacion\n servicio.aportaPeritacion = servicioPrincipal.aportaPeritacion\n servicio.gestionCobro = servicioPrincipal.gestionCobro\n servicio.pagoComercial = servicioPrincipal.pagoComercial\n\n servicio.cliente = new Usuario();\n Object.assign(servicio.cliente, servicioPrincipal.cliente)\n\n servicio.servicioDireccion = new ServicioDireccion();\n \n Object.assign(servicio.servicioDireccion, servicioPrincipal.servicioDireccion)\n servicio.servicioDireccion.id = 0\n servicio.servicioDireccion.servicioId = servicio.id\n\n servicio.servicioComunicacion = new ServicioComunicacion();\n Object.assign(servicio.servicioComunicacion, servicioPrincipal.servicioComunicacion)\n servicio.servicioComunicacion.id = 0\n servicio.servicioComunicacion.servicioId = servicio.id \n \n for (let i = 0; i < resp.servicioPerjudicados.length; i++) {\n const perjudicadoResp = resp.servicioPerjudicados[i];\n \n let finded = servicio.servicioPerjudicados\n .find((x: ServicioPerjudicado) => x.usuarioId === perjudicadoResp.usuarioId)\n\n if(finded !== undefined){\n finded.id = perjudicadoResp.id;\n finded.servicioId = servicio.id;\n }\n }\n }\n\n public async nuevoSubservicioRelacionado(servicio: Servicio, servicioPrincipalId: number, \n servicioDireccion: ServicioDireccion, servicioComunicacion: ServicioComunicacion) {\n\n const resp = await servicioService.DeleteById(servicio.id)\n\n if (resp.error) return;\n\n servicio.id = 0;\n servicio.servicioId = servicioPrincipalId;\n servicio.principal = false;\n servicio.actividadId = servicio.actividad.id\n servicio.servicioTipoId = servicio.servicioTipo.id;\n\n if(servicio.asistencia.id !== undefined && servicio.asistencia.id !== null){\n servicio.asistenciaId = servicio.asistencia.id\n }else{\n servicio.asistenciaId = 0;\n }\n\n if(servicio.aseguradora.id !== undefined && servicio.aseguradora.id !== null){\n servicio.aseguradoraId = servicio.aseguradora.id\n }else{\n servicio.aseguradoraId = 0;\n }\n \n servicio.clienteId = servicio.cliente.id\n servicio.destinatarioId = servicio.destinatario.id\n servicio.gremioId = servicio.gremio.id\n\n if(servicio.servicioTipo.id === TipologiaServicioEnum.Cliente){\n if(servicio.clienteId === servicio.destinatarioId){\n\n const respPadre: Servicio = await servicioService.GetById(servicioPrincipalId)\n \n if(respPadre.servicioDireccion !== undefined && respPadre.servicioDireccion !== null){\n servicio.servicioDireccion = respPadre.servicioDireccion\n servicio.servicioDireccion.servicioId = servicio.id\n }\n \n if(respPadre.servicioComunicacion !== undefined && respPadre.servicioComunicacion !== null){\n servicio.servicioComunicacion = respPadre.servicioComunicacion\n servicio.servicioComunicacion.servicioId = servicio.id\n }\n servicio.delegacionId = respPadre.delegacionId;\n servicio.colaboradorId = respPadre.colaboradorId;\n servicio.gestionCobro = respPadre.gestionCobro\n servicio.pagoComercial = respPadre.pagoComercial\n\n servicio.tab = 'GREMIO,CLIENTE,CLIENTE_TRABAJOS,CLIENTE_TRABAJOS'\n }else{\n servicio.tab = 'GREMIO,CLIENTE,CLIENTE'\n }\n }else{\n if(servicioDireccion !== undefined && servicioDireccion !== null){\n servicio.servicioDireccion = servicioDireccion\n servicio.servicioDireccion.servicioId = servicio.id\n }\n \n if(servicioComunicacion !== undefined && servicioComunicacion !== null){\n servicio.servicioComunicacion = servicioComunicacion\n servicio.servicioComunicacion.servicioId = servicio.id\n }\n }\n\n const respGuardar = await this.GuardarServicio(servicio); \n\n for (let i = 0; i < respGuardar.servicioPerjudicados.length; i++) {\n const perjudicadoResp = respGuardar.servicioPerjudicados[i];\n \n let finded = servicio.servicioPerjudicados\n .find((x: ServicioPerjudicado) => x.usuarioId === perjudicadoResp.usuarioId)\n\n if(finded !== undefined){\n finded.id = perjudicadoResp.id;\n finded.servicioId = servicio.id;\n }\n }\n }\n\n public async nuevoSubservicioRelacionadoPoliza(servicio: Servicio, servicioPrincipal: Servicio) {\n\n const resp = await servicioService.DeleteById(servicio.id)\n\n if (resp.error) return;\n\n servicio.id = 0;\n servicio.servicioId = servicioPrincipal.id;\n servicio.principal = false;\n servicio.actividadId = servicioPrincipal.actividadId;\n servicio.gremioId = servicio.gremio.id\n servicio.servicioTipoId = servicioPrincipal.servicioTipoId;\n servicio.delegacionId = servicioPrincipal.delegacionId;\n servicio.colaboradorId = servicioPrincipal.colaboradorId;\n\n //Gestores\n servicio.gestorId = servicioPrincipal.gestorId;\n servicio.entidadAbreGestorId = servicioPrincipal.entidadAbreGestorId;\n\n servicio.gestionCobro = servicioPrincipal.gestionCobro\n servicio.pagoComercial = servicioPrincipal.pagoComercial\n\n if(servicioPrincipal.asistenciaId !== undefined && servicioPrincipal.asistenciaId !== null){\n servicio.asistenciaId = servicioPrincipal.asistenciaId\n }else{\n servicio.asistenciaId = 0;\n }\n\n if(servicioPrincipal.aseguradoraId !== undefined && servicioPrincipal.aseguradoraId !== null){\n servicio.aseguradoraId = servicioPrincipal.aseguradoraId;\n }else{\n servicio.aseguradoraId = 0;\n }\n\n if(servicioPrincipal.servicioDireccion !== undefined && servicioPrincipal.servicioDireccion !== null){\n servicio.servicioDireccion = servicioPrincipal.servicioDireccion\n servicio.servicioDireccion.servicioId = servicio.id\n }\n \n if(servicioPrincipal.servicioComunicacion !== undefined && servicioPrincipal.servicioComunicacion !== null){\n servicio.servicioComunicacion = servicioPrincipal.servicioComunicacion\n servicio.servicioComunicacion.servicioId = servicio.id\n }\n \n servicio.clienteId = servicioPrincipal.clienteId;\n servicio.tab = 'GREMIO,CLIENTE,CLIENTE'\n servicio.destinatarioId = 0;\n\n const respGuardar = await this.GuardarServicio(servicio); \n\n for (let i = 0; i < respGuardar.servicioPerjudicados.length; i++) {\n const perjudicadoResp = respGuardar.servicioPerjudicados[i];\n \n let finded = servicio.servicioPerjudicados\n .find((x: ServicioPerjudicado) => x.usuarioId === perjudicadoResp.usuarioId)\n\n if(finded !== undefined){\n finded.id = perjudicadoResp.id;\n finded.servicioId = servicio.id;\n }\n }\n }\n\n public async GuardarServicio(servicio: Servicio) {\n const resp = await servicioService.GuardarServicioAsistente(servicio)\n\n servicio.id = resp.id;\n servicio.referencia = resp.referencia;\n servicio.numero = resp.numero;\n servicio.documento = resp.documento;\n servicio.usuarioAlta = resp.usuarioAlta;\n servicio.fechaAlta = resp.fechaAlta;\n servicio.entidadAbreId = resp.entidadAbreId;\n\n return resp;\n }\n \n public async GetById(id: number): Promise{\n let servicio = new Servicio();\n const resp: Servicio = await servicioService.GetById(id)\n\n console.log(resp);\n\n if (resp === null || resp === undefined) return servicio;\n\n Object.assign(servicio, resp) \n \n servicio.actividad = resp.actividad || new Actividad()\n servicio.gremio = resp.gremio || new Gremio()\n servicio.servicioTipo = resp.servicioTipo || new ServicioTipo()\n servicio.aseguradora = resp.aseguradora || new Aseguradora()\n servicio.asistencia = resp.asistencia || new Usuario()\n\n servicio.gestor = resp.gestor || new Usuario()\n servicio.reparador = resp.reparador || new Usuario()\n\n servicio.cliente = new Usuario();\n servicio.usuarioVehiculo = resp.usuarioVehiculo || new UsuarioVehiculo();\n // Cliente\n Object.assign(servicio.cliente, resp.cliente)\n \n servicio.destinatario = new Usuario();\n Object.assign(servicio.destinatario, resp.destinatario)\n\n // Fotos\n await this.cargaFotos(servicio.fotos);\n\n return servicio;\n }\n\n public async cargaFotos(pfotos: Array) { \n for (let i = 0; i < pfotos.length; i++) {\n const el = pfotos[i];\n const file = await documentoService.Download(el.guid)\n\n if (file && file.data) {\n el.imageSrc = URL.createObjectURL(file.data)\n }else{\n console.log(\"Archivo no encontrado\")\n }\n } \n }\n}\n\nexport const servicioApplicationService = new ServicioApplicationService()\n","import Usuario from './Usuario';\nimport EntityIdBase from './EntityIdBase';\n\nexport default class UsuarioVehiculo extends EntityIdBase {\n usuarioId: number = 0\n usuario?: Usuario;\n marca: string = ''\n modelo: string = ''\n matricula: string = ''\n}","import Vue from 'vue'\nimport store from '@/store'\nimport Component from 'vue-class-component'\nimport { State, Action, Getter, namespace } from 'vuex-class'\nimport DxCheckBox from 'devextreme-vue/check-box';\nimport DxTabPanel from 'devextreme-vue/tab-panel';\n\nimport {\n DxDataGrid, DxColumn, DxPaging, DxPager, DxSelection, DxFilterRow, DxEditing,\n DxScrolling, DxStateStoring\n} from 'devextreme-vue/data-grid'\n\nimport { DxButton, DxPopup, DxSelectBox, DxDateBox, DxList, DxTagBox, DxNumberBox, DxTextArea, DxFileUploader, DxGallery } from 'devextreme-vue'\nimport DataGrid from 'devextreme/ui/data_grid'\nimport List from \"devextreme/ui/list\";\n\nimport { $util } from '@/services/util.service'\nimport custom_store from 'devextreme/data/data_source'\nimport {\n xiPopup, xiText, xiDate, xiNumber, xiCheckBox, xiLayoutItem, xiPopupConfirm,\n} from '@/components/xlm-common-ui'\nimport Usuario from '@/models/entities/Usuario';\n\nimport {\n BBreadcrumb, BBreadcrumbItem, BRow, BCol, BDropdown, BDropdownItem, BButton,\n BCard, BCardHeader, BCardBody, BCollapse, BTabs, BTab, BContainer, \n BFormDatepicker, BInputGroup, BInputGroupAppend, BFormInput, BFormTimepicker,\n BLink, BCardTitle, BCardText, BImg, BForm, BFormGroup, BFormCheckbox, BButtonGroup,\n BAvatar, BBadge, BInputGroupPrepend, BNavItemDropdown, BMedia\n } from 'bootstrap-vue'\nimport SquaredRoundedSvg from '@/assets/images/SquareRoundedSvg.vue';\nimport VuePerfectScrollbar from 'vue-perfect-scrollbar'\nimport { RolEnum } from '@/models/enums/RolEnum';\nimport ConfigProvider from '@/config/configProvider';\nimport { documentoService } from '@/services/documento.service';\nimport { DocumentDto } from '@/models/dtos/DocumentDto';\nimport MaestrosModule from '@/store/Modules/Maestros'\nimport UsuarioComunicacion from '@/models/entities/UsuarioComunicacion';\n\nconst AppModule = namespace('APP')\n\n@Component({\n components: {\n DxDataGrid, DxScrolling, DxColumn, DxPaging, DxPager, DxFilterRow, DxSelection,\n DxStateStoring, DxButton, DxPopup, DxSelectBox, DxEditing, DxDateBox, DxList,\n DxTagBox, DxCheckBox, DxTabPanel, DxNumberBox, DxTextArea, DxFileUploader, DxGallery,\n\n xiPopup, xiText, xiDate, xiNumber, xiCheckBox, xiLayoutItem, xiPopupConfirm,\n \n BRow, BCol, BDropdown, BDropdownItem, BButton, BCard, BCardHeader, BCardBody, BCollapse,\n BTabs, BTab, BContainer, BButtonGroup, BAvatar, BBadge, BInputGroupPrepend, BBreadcrumb,\n BFormDatepicker, BInputGroup, BInputGroupAppend, BFormInput, BFormTimepicker,\n BLink, BCardTitle, BCardText, BImg, BForm, BFormGroup, BFormCheckbox, BBreadcrumbItem,\n BNavItemDropdown, BMedia,\n\n SquaredRoundedSvg, VuePerfectScrollbar\n },\n})\nexport class appMixin extends Vue {\n @AppModule.Getter('userLogged') private userLoggedStore!: Usuario\n\n private windowWidth: number = 0\n\n onWidthChange(){\n this.windowWidth = window.innerWidth\n }\n\n get isMobile(){\n const size = store.getters['app/currentBreakPoint']\n return size === 'xs' || size === 'sm'\n }\n\n get isTablet(){\n // return this.windowWidth >= 768 && this.windowWidth < 992\n const size = store.getters['app/currentBreakPoint']\n return size === 'ml'\n }\n\n get isWeb(){\n // return this.windowWidth >= 992\n const size = store.getters['app/currentBreakPoint']\n return size === 'xl'\n }\n \n $custom_store(request: Promise, key = 'id'): custom_store {\n return new custom_store({\n loadMode: 'raw',\n key,\n load: () => request,\n })\n }\n\n $grid_addUppRow(ds: any[], datarow: any, fields: any[]) {\n const exists = _.findIndex(ds, { id: datarow.id })\n if (exists == -1) {\n let row: any = {}\n row['id'] = -(ds.length + 1)\n fields.forEach(element => {\n row[element] = datarow[element]\n })\n ds.push(row)\n } else {\n fields.forEach(element => (ds[exists][element] = datarow[element]))\n }\n } \n\n get $util() {\n return $util\n }\n\n get userLogged(): Usuario {\n let userLogged = new Usuario();\n Object.assign(userLogged, this.userLoggedStore)\n return userLogged;\n }\n\n get userLoggedIsSistema() {\n return this.userLogged.rolId == RolEnum.AdmSistema || this.userLogged.rolId == RolEnum.GestorSistema\n }\n\n get showGremios(){\n switch (this.userLogged.rolId) {\n case RolEnum.AdmSistema:\n case RolEnum.GestorSistema:\n case RolEnum.AdmDelegacion:\n case RolEnum.GestorDelegacion:\n case RolEnum.AdmComercial:\n case RolEnum.GestorComercial:\n case RolEnum.AdmSubComercial:\n case RolEnum.GestorSubComercial:\n return false;\n case RolEnum.OperarioDelegacion:\n case RolEnum.AdmColaborador:\n case RolEnum.GestorColaborador:\n case RolEnum.OperarioColaborador:\n case RolEnum.Cliente:\n case RolEnum.ClienteCandidato:\n return true;\n }\n }\n\n get canShowPrincipal(){\n return !this.showGremios\n }\n\n getDireccionCompletaConvert(item: any){\n return (item && item.municipio !== undefined && item.municipio.provincia !== undefined) ? \n `${item.direccion}, ${item.municipio.codigoPostal} - ${item.municipio.nombre}, ${item.municipio.provincia.descripcion}` : \"\";\n }\n\n getTelefonoUsuario(usuario: Usuario){\n if(usuario && usuario.usuarioComunicaciones){\n let telefono = usuario.usuarioComunicaciones\n .find((x: UsuarioComunicacion) => x.tipo.startsWith('T'))\n return telefono !== undefined ? telefono.valor : '';\n }else{\n return '';\n }\n }\n\n getDireccionCompleta(item: any){\n return (item !== undefined && item !== null) ? item.direccionCompleta : \"\";\n }\n\n getDescripcionVehiculo(item: any): string {\n return (item !== undefined && item !== null) ? `${ item.marca } ${ item.modelo } - ${ item.matricula }` : ''\n }\n\n getNombreEstadoServicio(id: number){\n const res = MaestrosModule.ESTADOS_SERVICIO.find((x: any) => x.id === id);\n return res ? res.descripcion : '';\n }\n\n isProduction(){\n return ConfigProvider.value('tokenName') === \"token-ultron-seguribo\"\n }\n\n async openDocumentoById(documentoId: number){\n const file = await documentoService.DownloadById(documentoId);\n const documento = await documentoService.GetById(documentoId);\n\n this.openDocumento(file, documento);\n }\n\n async openDocumentoByGuid(guid: string){\n const file = await documentoService.Download(guid);\n const documento = await documentoService.GetByGuid(guid);\n\n this.openDocumento(file, documento);\n }\n \n async openDocumento(file: any, documento: any){\n if (file && file.data) {\n let filename = documento.nombreOriginal;\n\n if(documento.extension === 'application/pdf'){\n if ((window.navigator).msSaveOrOpenBlob) {\n (window.navigator).msSaveOrOpenBlob(file.data, filename);\n } else {\n const objectUrl = URL.createObjectURL(file.data)\n window.open(objectUrl, '_blank')\n }\n }else{\n await this.downloadDocumento(file, documento)\n }\n }\n }\n\n async getURLDocumentoById(documentoId: number): Promise {\n const file = await documentoService.DownloadById(documentoId);\n const documento = await documentoService.GetById(documentoId, false);\n const documentoURL = await this.getURLDocumento(file)\n\n return { \n documentoURL,\n documento\n }\n }\n\n async getURLDocumentoByGuid(guid: string): Promise {\n const file = await documentoService.Download(guid);\n const documento = await documentoService.GetByGuid(guid);\n\n const documentoURL = await this.getURLDocumento(file)\n\n return { \n documentoURL,\n documento\n }\n }\n \n async getURLDocumento(file: any){\n if (file && file.data) {\n return URL.createObjectURL(file.data)\n }else{\n return ''\n }\n }\n\n async downloadDocumentoById(documentoId: number){\n const file = await documentoService.DownloadById(documentoId);\n const documento = await documentoService.GetById(documentoId);\n\n this.downloadDocumento(file, documento);\n }\n\n async downloadDocumentoByGuid(guid: string){\n const file = await documentoService.Download(guid);\n const documento = await documentoService.GetByGuid(guid);\n\n this.downloadDocumento(file, documento);\n }\n \n async downloadDocumento(file: any, documento: any){\n if (file && file.data) {\n let filename = documento.nombreOriginal;\n\n if ((window.navigator).msSaveOrOpenBlob) {\n (window.navigator).msSaveOrOpenBlob(file.data, filename);\n } else {\n const a = document.createElement('a');\n document.body.appendChild(a);\n const url = window.URL.createObjectURL(file.data);\n a.href = url;\n a.download = filename;\n a.click();\n setTimeout(() => {\n window.URL.revokeObjectURL(url);\n document.body.removeChild(a);\n }, 0)\n }\n }\n }\n\n isToday (date: Date) {\n const today = new Date()\n return (\n /* eslint-disable operator-linebreak */\n date.getDate() === today.getDate() &&\n date.getMonth() === today.getMonth() &&\n date.getFullYear() === today.getFullYear()\n /* eslint-enable */\n )\n }\n\n formatDateToMonthShort (value: string, toTimeForCurrentDay = true) {\n const date = new Date(value)\n let formatting = { month: 'short', day: 'numeric' }\n \n if (toTimeForCurrentDay && this.isToday(date)) {\n formatting = { hour: 'numeric', minute: 'numeric' }\n }\n \n return new Intl.DateTimeFormat('es-ES', formatting).format(new Date(value))\n }\n}\nexport {\n custom_store,\n DataGrid,\n List,\n State,\n Action,\n Getter,\n namespace,\n xiPopup,\n xiPopupConfirm,\n}\n","import QueryRealizarServicioEnDireccionDtoOut from '../dtos/out/QueryRealizarServicioEnDireccionDtoOut';\nimport ServicioCita from '../entities/ServicioCita';\nimport ServicioDocumento from '../entities/ServicioDocumento';\nimport ServicioVisita from '../entities/ServicioVisita';\nimport VisitaMvvm from './VisitaMvvm';\n\nexport default class VisitaMvvmBackup{\n model: ServicioVisita = new ServicioVisita();\n\n cita: ServicioCita = new ServicioCita();\n citasArray: Array = [];\n\n typeGallery: string = '';\n showGallery: boolean = false;\n gremiosSelected: Array = [];\n gremiosNuevos: Array = [];\n gremiosNuevosWithId: Array = [];\n codigosCobrados: boolean = false;\n nuevoServicio: boolean = false;\n editingTarifaCodigoId = 0;\n editingTarifaCodigoDescripcion = '';\n realizarServicioEnDireccion!: QueryRealizarServicioEnDireccionDtoOut\n\n visitaIniciada: boolean = false;\n visitaPausada: boolean = false;\n contadorVisita: any = null\n contadorVisitaInterval: any = null\n tiempoEnSegundos: number = 0;\n\n documentos: Array = [];\n documentosOrigin: Array = [];\n conforme: number = 0;\n\n adapt(mvvm: VisitaMvvm){\n this.model = mvvm.model;\n this.cita = mvvm.cita;\n this.citasArray = mvvm.citasArray;\n this.typeGallery = mvvm.typeGallery;\n this.showGallery = mvvm.showGallery;\n this.gremiosSelected = mvvm.gremiosSelected;\n this.gremiosNuevos = mvvm.gremiosNuevos;\n this.gremiosNuevosWithId = mvvm.gremiosNuevosWithId;\n this.codigosCobrados = mvvm.codigosCobrados;\n this.nuevoServicio = mvvm.nuevoServicio;\n this.editingTarifaCodigoId = mvvm.editingTarifaCodigoId;\n this.editingTarifaCodigoDescripcion = mvvm.editingTarifaCodigoDescripcion;\n this.realizarServicioEnDireccion = mvvm.realizarServicioEnDireccion;\n this.visitaIniciada = mvvm.visitaIniciada;\n this.visitaPausada = mvvm.visitaPausada;\n this.contadorVisita = mvvm.contadorVisita;\n this.contadorVisitaInterval = mvvm.contadorVisitaInterval;\n this.tiempoEnSegundos = mvvm.tiempoEnSegundos;\n this.documentos = mvvm.documentos;\n this.documentosOrigin = mvvm.documentosOrigin;\n this.conforme = mvvm.conforme;\n }\n}","\nimport { $util } from '@/services/util.service'\nimport { servicioApplicationService } from '@/services/application/servicio.application.service'\nimport { servicioVisitaService } from '@/services/servicioVisita.service'\nimport { servicioService } from '@/services/servicio.service'\nimport { servicioCitaService } from '@/services/servicioCita.service'\nimport { ofertaService } from '@/services/oferta.service'\nimport { distanceService } from '@/services/distance.service'\n\nimport VisitaMvvm from '@/models/mvvm/VisitaMvvm'\nimport ServicioVisita from '@/models/entities/ServicioVisita'\nimport Usuario from '@/models/entities/Usuario';\nimport Servicio from '@/models/entities/Servicio';\nimport ServicioCita from '@/models/entities/ServicioCita'\nimport { TipologiaServicioEnum } from '@/models/enums/TipologiaServicioEnum'\nimport { EstadoServicioEnum } from '@/models/enums/EstadoServicioEnum'\nimport { EstadoCitaEnum } from '@/models/enums/EstadoCitaEnum'\nimport QueryRealizarServicioEnDireccionDtoIn from '@/models/dtos/in/QueryRealizarServicioEnDireccionDtoIn'\nlet moment = require('moment');\n\nimport AsyncLocalStorage from '@createnextapp/async-local-storage'\nimport { RolEnum } from '@/models/enums/RolEnum'\nimport VisitaMvvmBackup from '@/models/mvvm/VisitaMvvmBackup'\n\nexport class ServicioVisitaApplicationService {\n\n //#region Terminar\n\n public async terminar(servicioVisita: ServicioVisita) {\n if($util.online()){\n return await this.saveRemoteTerminar(servicioVisita);\n }else{\n return false;\n }\n }\n\n private async saveRemoteTerminar(servicioVisita: ServicioVisita){\n\n $util.debug('Se intenta terminar la visita', 'visita-tabs.vue - terminar()', servicioVisita);\n\n const res = await servicioVisitaService.terminar(servicioVisita);\n\n if (res && !res.error) {\n $util.notify({ text: 'Visita terminada correctamente', title: 'Terminar' });\n return true;\n }else{\n return false;\n }\n }\n \n //#endregion\n \n //#region Backup\n\n public async existsBackup(usuario: Usuario) {\n const roles = [RolEnum.AdmColaborador, RolEnum.OperarioDelegacion, RolEnum.OperarioColaborador];\n const isOperario = roles.includes(usuario.rolId);\n\n if(!isOperario) return false;\n\n if($util.online()){\n if(!await this.existsLocal()){\n const backup = await servicioVisitaService.existsBackup();\n\n if(backup){\n await AsyncLocalStorage.setItem('visita-pendiente', backup)\n return true\n }else{\n return false;\n }\n }else{\n return true;\n }\n }else{\n return false;\n }\n }\n\n public async getPausadaBackup(usuario: Usuario) {\n const roles = [RolEnum.AdmColaborador, RolEnum.OperarioDelegacion, RolEnum.OperarioColaborador];\n const isOperario = roles.includes(usuario.rolId);\n\n if(!isOperario) return false;\n\n if($util.online()){\n const backup = await servicioVisitaService.getBackupPausada();\n\n if(backup){\n await AsyncLocalStorage.setItem('visita-pendiente', backup)\n return true\n }else{\n return false;\n }\n }else{\n return false;\n }\n }\n\n public async backup(mvvm: VisitaMvvm) {\n if($util.online()){\n let backup = new VisitaMvvmBackup();\n backup.adapt(mvvm);\n \n servicioVisitaService.backup(mvvm.model.id, JSON.stringify(backup));\n return true\n }else{\n return false;\n }\n }\n\n //#endregion\n\n\n public async existsLocal(){\n try {\n let visita = await AsyncLocalStorage.getItem('visita-pendiente')\n return visita !== null && visita !== undefined;\n } catch (error) {\n $util.error(\"Error al comprovar la visita en local\", \"ServicioVisitaApplicationService.existsLocal\", \"\", error);\n }\n }\n\n public async removeLocal(){\n if(await this.existsLocal()){\n try {\n await AsyncLocalStorage.removeItem('visita-pendiente');\n } catch (error) {\n $util.error(\"Error al eliminar la visita en local\", \"ServicioVisitaApplicationService.removeLocal\", \"\", error);\n }\n }\n }\n\n public async getLocal(){\n let mvvm = await AsyncLocalStorage.getItem('visita-pendiente') || \"\";\n return mvvm !== undefined && mvvm !== null && mvvm !== \"\" ? (JSON.parse(mvvm)) : undefined;\n }\n\n public async getVisitaIdLocal(){\n let mvvm = await this.getLocal();\n\n if(mvvm !== undefined && mvvm !== null){\n return mvvm.model.id;\n }else{\n return 0;\n }\n }\n\n public async cancelar(servicioVisita: ServicioVisita) {\n let res: any\n res = await servicioVisitaService.Update(servicioVisita)\n\n if (res && !res.error) {\n $util.notify({ text: 'Visita cancelada correctamente', title: 'Cancelar' });\n return true;\n }\n return false;\n }\n\n public async nuevoGremio(servicioPrincipal: Servicio, operarioId: number, entidadId: number) {\n if($util.online()){\n let dto = new QueryRealizarServicioEnDireccionDtoIn();\n dto.servicioDireccion = servicioPrincipal.servicioDireccion;\n dto.servicioTipoId = TipologiaServicioEnum.Cliente;\n dto.gremioId = servicioPrincipal.gremioId;\n dto.actividadId = servicioPrincipal.actividadId;\n\n if(!await distanceService.ValidarRealizarServicioEnDireccion(dto)){\n $util.notifyError(\"Lo sentimos mucho, pero no podemos atender esta clase de servicio en la dirección indicada. Estamos trabajando para ampliar nuestra zona de actuación, disculpa las molestias.\")\n return null;\n } \n\n // Duplicar el servicio\n let servicio = new Servicio();\n await servicioApplicationService.nuevoServicioTipoCliente(servicio, servicioPrincipal); \n servicio.entidadAbreId = servicioPrincipal.entidadAbreId;\n \n // Crear una oferta exclusiva\n Object.assign(servicio.servicioDireccion, servicioPrincipal.servicioDireccion)\n Object.assign(servicio.servicioComunicacion, servicioPrincipal.servicioComunicacion)\n\n servicio.trabajos = servicioPrincipal.trabajos;\n \n // Crear una cita\n let cita = new ServicioCita();\n cita.fechaAlta = new Date();\n cita.usuarioAlta = operarioId;\n cita.deUsuarioId = operarioId;\n cita.paraUsuarioId = servicioPrincipal.destinatario.id;\n cita.urgente = true\n cita.fechaCita = moment().add(3,'hours');\n cita.referencia = servicio.referencia;\n servicio.servicioCitas.push(cita);\n\n servicio.actividadId = servicioPrincipal.actividadId \n servicio.gremioId = servicioPrincipal.gremioId \n servicio.servicioTipoId = TipologiaServicioEnum.Cliente\n servicio.clienteId = servicioPrincipal.clienteId\n servicio.destinatarioId = servicioPrincipal.destinatarioId\n servicio.estadoServicioId = EstadoServicioEnum.Enviado\n servicio.delegacionId = servicioPrincipal.delegacionId\n servicio.gestorId = servicioPrincipal.gestorId\n servicio.entidadOfertaId = entidadId;\n \n const oferta = await servicioService.GuardarServicioAsistenteSync(servicio) \n \n if(oferta && !oferta.error){\n Object.assign(servicio, oferta)\n \n // Aceptar la oferta\n servicio.reparadorId = operarioId;\n await ofertaService.AceptarOferta(servicio,[])\n \n // Iniciar la visita\n let citaAceptada = servicio.servicioCitas[0];\n citaAceptada.estado = EstadoCitaEnum.Visita\n \n return await servicioCitaService.ConvertToVisita(citaAceptada);\n }else{\n return null;\n }\n }else{\n return null;\n }\n }\n}\n\nexport const servicioVisitaApplicationService = new ServicioVisitaApplicationService()\n","import Usuario from './Usuario';\nimport EntityIdBase from './EntityIdBase';\n\nexport default class UsuarioComunicacion extends EntityIdBase {\n usuarioId : number = 0\n usuario?: Usuario;\n principal:boolean=false\n tipo:string=\"\"\n alias:string=\"\"\n contacto:string=\"\"\n valor:string=\"D\"\n valorConfirmacion:string=\"\"\n\n constructor(){\n super();\n }\n}\n","import axios, { AxiosInstance, AxiosResponse, AxiosRequestConfig } from 'axios'\nimport decode from 'jwt-decode'\nimport { $util } from '@/services/util.service'\nimport * as AspNetD from 'devextreme-aspnet-data-nojquery'\nimport DataSource from 'devextreme/data/data_source'\nimport { Response } from '@/models/Response';\nimport ConfigProvider from '@/config/configProvider';\nimport { webSocketService } from '@/services/WebSocketService';\n\nimport APP from '@/store/Modules/App'\nconst AUTH_KEY = 'Authorization'\n\nexport default class HttpService {\n private _APIKEY: string = ''\n private _instance: AxiosInstance\n\n constructor() {\n this._instance = axios.create({\n baseURL: ConfigProvider.value('endpointAPI') + '/api',\n headers: { 'Content-Type': 'application/json' },\n })\n this.request()\n }\n\n protected request() {\n this._instance.interceptors.request.use(\n (config: AxiosRequestConfig) => {\n config.headers[AUTH_KEY] = this.APIKEY || ''\n config.headers['Content-Type'] = 'application/json'\n config.headers.signalR = webSocketService.connectionId;\n\n // const requestId = $util.UID\n // config.headers.requestId = requestId;\n // $util.addDuration(requestId);\n \n return config\n },\n (err: any) => {\n console.log('AXIOS REQUEST ERRROR')\n return Promise.reject(err)\n }\n )\n\n this._instance.interceptors.response.use(\n (response: AxiosResponse) => {\n // const requestId = response.config.headers.requestId;\n\n // const duration = $util.getDuration(requestId);\n \n // if(duration) {\n // const message = duration+\"s - \"+response.request.responseURL\n \n // if(5 < duration && duration < 10) {\n // $util.info(message, 'duration')\n // }\n\n // if(10 < duration) {\n // $util.error(message, 'duration')\n // }\n // }\n \n return response\n },\n (err: any) => {\n if (err.response && err.response.status == 401) {\n this.removeToken()\n }\n return Promise.reject(err)\n }\n )\n }\n\n public queryString(params: any): string {\n return Object.keys(params)\n .map(key => {\n return ( encodeURIComponent(key) + '=' + encodeURIComponent(params[key])\n )\n })\n .join('&')\n }\n\n\n private processResponse(response: AxiosResponse): Promise {\n return new Promise((resolve: any, reject: any) => {\n\n const res = response.data;\n\n if(res.level){\n if(res.level.toLowerCase() === 'warn' && res.message === 'No autorizado'){\n $util.emit('unauthorized', true)\n }else{\n $util.notify({ text: res.message, title: 'Atención', color: res.level.toLowerCase() === 'warn' ? 'error' : res.level.toLowerCase(), })\n }\n }\n \n if (res.body !== undefined) {\n resolve(res.body);\n }\n else {\n reject(res);\n }\n });\n }\n\n private processError(error: any) {\n if (error && error.response) {\n if(error.response.status === 401) return;\n\n if(error.response.status === 500){\n if(error.response && error.response.data && error.response.data.level === 'Error' && error.response.data.message){\n $util.notifyError(error.response.data.message)\n } else {\n $util.notifyError('Ha ocurrido un error en el servidor.')\n }\n }\n } else if (error && error.request) {\n console.log(error.request);\n }\n console.log(error);\n }\n \n public async Get(param: iUrl): Promise {\n \n const loading = param.loading === undefined ? true : param.loading\n try {\n if (loading) $util.loading()\n\n const aurl = param.url + (param.query ? `?${this.queryString(param.query)}` : '')\n const response: AxiosResponse = await this._instance.get(aurl || '')\n\n if (loading) $util.loading(false)\n\n return this.processResponse(response);\n } catch (error) {\n if (loading) $util.loading(false)\n return this.processError(error);\n }\n }\n\n public async Post(param: iUrl): Promise {\n const loading = param.loading === undefined ? true : param.loading\n try {\n if (loading) $util.loading()\n const aurl = param.url + (param.query ? `?${this.queryString(param.query)}` : '')\n\n const response: AxiosResponse = await this._instance.post(aurl || '', param.data || '')\n\n if (loading) $util.loading(false)\n \n return this.processResponse(response);\n } catch (error) {\n if (loading) $util.loading(false)\n return this.processError(error);\n }\n }\n\n public async Put(param: iUrl): Promise {\n const loading = param.loading === undefined ? true : param.loading\n try {\n if (loading) $util.loading()\n const aurl = param.url + (param.query ? `?${this.queryString(param.query)}` : '')\n\n const response: AxiosResponse = await this._instance.put(aurl || '', param.data || '')\n\n if (loading) $util.loading(false)\n \n return this.processResponse(response);\n } catch (error) {\n if (loading) $util.loading(false)\n return this.processError(error);\n }\n }\n\n \n public async Delete(param: iUrl): Promise {\n const loading = param.loading === undefined ? true : param.loading\n try {\n if (loading) $util.loading()\n\n const aurl = param.url + (param.query ? `?${this.queryString(param.query)}` : '')\n const response: AxiosResponse = await this._instance.delete(aurl || '')\n\n if (loading) $util.loading(false)\n\n return this.processResponse(response);\n } catch (error) {\n if (loading) $util.loading(false)\n return this.processError(error);\n }\n }\n\n public async DownloadFile(param: iUrl): Promise {\n const loading = param.loading === undefined ? true : param.loading\n try {\n if (loading) $util.loading()\n\n const aurl =\n param.url +\n (param.query ? `?${this.queryString(param.query)}` : '')\n const response: AxiosResponse = await this._instance.get(\n aurl || '',\n {\n responseType: 'blob', // important\n }\n )\n if (loading) $util.loading(false)\n \n return response;\n // return this.processResponse(response);\n } catch (error) {\n if (loading) $util.loading(false)\n return this.processError(error);\n return null\n }\n }\n\n get APIKEY(): string {\n if (this._APIKEY || this._APIKEY === '') {\n this._APIKEY = localStorage.getItem(ConfigProvider.value('tokenName') || 'APP_TOKEN') || '';\n\n const claims = this.decodeToken(this._APIKEY) as any\n if (claims == null) return ''\n\n APP.AUSER_INFO({\n ID: claims.ID,\n ID_ROL: claims.ID_ROL,\n ROL: claims.ROL,\n NOMBRE: claims.USUARIO,\n ID_ESTADO: claims.ID_ESTADO,\n ID_DELEGACION: claims.ID_DELEGACION,\n ID_COMERCIAL: claims.ID_COMERCIAL,\n ID_SUBCOMERCIAL: claims.ID_SUBCOMERCIAL,\n ID_COLABORADOR: claims.ID_COLABORADOR\n })\n }\n return this._APIKEY\n }\n\n public removeToken() {\n this._APIKEY = ''\n localStorage.removeItem(ConfigProvider.value('tokenName'))\n }\n\n public decodeToken(encodedToken: string): string | null {\n let token\n try {\n return decode(encodedToken)\n } catch (error) {\n return null\n }\n }\n\n public get isTokenExpired(): boolean {\n const expirationDate = this.getTokenExpirationDate(this.APIKEY)\n return expirationDate == null ? true : expirationDate < new Date()\n }\n\n private getTokenExpirationDate(encodedToken: string): Date | null {\n let token: any\n try {\n token = decode(encodedToken)\n } catch (error) {\n return null\n }\n if (token.exp == undefined) {\n let dt = new Date()\n return new Date(dt.setFullYear(dt.getFullYear() + 20))\n }\n if (!token.exp) {\n return null\n }\n const date = new Date(0)\n date.setUTCSeconds(token.exp)\n return date\n }\n\n AspNetData(params: {\n api: string\n key?: string\n pageSize?: any\n loadParams?: any\n }): DataSource {\n const { api, key = 'Id', pageSize = 15, loadParams } = params\n const url = ConfigProvider.value('endpointAPI') + `/api/${api}`\n const options = {\n key,\n loadUrl: url,\n loadParams,\n onBeforeSend: (operation, ajaxSettings) => {\n ajaxSettings.headers = {}\n ajaxSettings.headers[AUTH_KEY] = this._APIKEY\n },\n } as AspNetD.Options\n\n return new DataSource({\n store: AspNetD.createStore(options),\n paginate: true,\n pageSize,\n })\n }\n}\n\nexport interface iUrl {\n url?: string\n query?: object\n data?: any\n xret?: boolean\n loading?: boolean\n}\n\nexport class XRet {\n data?: any\n error?: boolean\n msg: any\n severidad?: number\n}\n\nexport const Http = new HttpService()\n\n","import GenericService from '@/services/generic.service'\nimport '@/services/util.service'\nimport { Http } from '@/services/http.service'\nimport ServicioVisita from '@/models/entities/ServicioVisita'\nimport VisitaFotosMvvm from '@/models/mvvm/VisitaFotosMvvm'\nimport ServicioCobro from '@/models/entities/ServicioCobro'\n\nexport class ServicioVisitaService extends GenericService {\n constructor() {\n super('serviciovisita')\n }\n\n public GetWithFotosByIdAsync(id: number): Promise {\n return Http.Get({ url: `${this.entity}/${id}/with-fotos`, loading: false })\n }\n\n public GetFotosById(id: number): Promise {\n return Http.Get({ url: `${this.entity}/fotos/${id}`, loading: false })\n }\n\n public GetByGremio(servicioId: number): Promise> {\n return Http.Get({ url: `${this.entity}/gremio/${servicioId}`, loading: false })\n }\n\n public GetDtoByGremio(servicioId: number): Promise> {\n return Http.Get({ url: `${this.entity}/gremio/${servicioId}/dto`, loading: false })\n }\n\n public GetByReferencia(referencia: number): Promise> {\n return Http.Get({ url: `${this.entity}/servicio/${referencia}`, loading: false })\n }\n\n public GetDtoByReferencia(referencia: number): Promise> {\n return Http.Get({ url: `${this.entity}/servicio/${referencia}/dto`, loading: false })\n }\n\n public GetFirstVisitaByGremio(servicioId: number): Promise {\n return Http.Get({ url: `${this.entity}/gremio/${servicioId}/first`, loading: false })\n }\n\n public GetLastVisitaByGremio(servicioId: number): Promise {\n return Http.Get({ url: `${this.entity}/gremio/${servicioId}/last`, loading: false })\n }\n\n public GetDtoLastVisitaByGremio(servicioId: number): Promise {\n return Http.Get({ url: `${this.entity}/gremio/${servicioId}/last/dto`, loading: false })\n }\n\n public GetLastVisitaGremioByReferencia(referencia: number): Promise> {\n return Http.Get({ url: `${this.entity}/servicio/${referencia}/last`, loading: false })\n }\n\n public GetLastVisitaGremioWithFotosByReferencia(referencia: number): Promise> {\n return Http.Get({ url: `${this.entity}/servicio/${referencia}/last-with-fotos`, loading: false })\n }\n\n public async iniciar(id: number) {\n return ( await Http.Get({\n url: `${this.entity}/${id}/iniciar`,\n }))\n }\n\n public async pausar(id: number) {\n return (await Http.Get({\n url: `${this.entity}/${id}/pausar`,\n }))\n }\n\n public async cancelar(obj: ServicioVisita) {\n return ( await Http.Post({\n url: `${this.entity}/cancelar`,\n data: obj,\n }))\n }\n\n public async continuar(id: number) {\n return (await Http.Get({\n url: `${this.entity}/${id}/continuar`,\n }))\n }\n\n public async terminar(obj: ServicioVisita) {\n return (await Http.Post({\n url: `${this.entity}/terminar`,\n data: obj,\n }))\n }\n\n public async backup(id: number, backup: string) {\n return (await Http.Post({\n url: `${this.entity}/backup`,\n data: {\n servicioVisitaId: id,\n backup,\n },\n loading: false,\n }))\n }\n\n public async existsBackup() {\n return (await Http.Get({\n url: `${this.entity}/exists-backup`,\n loading: false,\n }))\n }\n\n public async existsPausada() {\n return ( await Http.Get({\n url: `${this.entity}/exists-pausada`,\n loading: false,\n }))\n }\n\n public async getBackupPausada() {\n return (await Http.Get({\n url: `${this.entity}/backup-pausada`,\n loading: false,\n }))\n }\n\n public async getIdPausada() {\n return ( await Http.Get({\n url: `${this.entity}/get-id-pausada`,\n loading: false,\n }))\n }\n\n public async terminarAndNuevoGremio(obj: ServicioVisita) {\n return (await Http.Post({\n url: `${this.entity}/terminar-and-nuevo-gremio`,\n data: obj,\n }))\n }\n\n public async cobrarCodigos(servicioCobro: ServicioCobro): Promise {\n return (await Http.Post({\n url: `${this.entity}/cobrar-codigos`,\n data: servicioCobro,\n }))\n }\n\n public async UpdateCodigoCobrar(id: number, cobrar: boolean) {\n return (await Http.Get({\n url: `${this.entity}/${id}/UpdateCodigoCobrar`,\n query: { cobrar },\n }))\n }\n\n public async generarFactura(id: number) {\n return ( await Http.Post({\n url: `${this.entity}/${id}/generar-factura`,\n }))\n }\n\n public async setTrabajosTerminados(id: number) {\n return (await Http.Post({\n url: `${this.entity}/${id}/set-trabajos-terminados`,\n }))\n }\n\n public async createPresupuesto(servicioId: number): Promise {\n return await Http.Post({\n url: `${this.entity}/${servicioId}/create-presupuesto`,\n })\n }\n}\n\nexport const servicioVisitaService = new ServicioVisitaService()\n","var map = {\n\t\"./af\": \"2bfb\",\n\t\"./af.js\": \"2bfb\",\n\t\"./ar\": \"8e73\",\n\t\"./ar-dz\": \"a356\",\n\t\"./ar-dz.js\": \"a356\",\n\t\"./ar-kw\": \"423e\",\n\t\"./ar-kw.js\": \"423e\",\n\t\"./ar-ly\": \"1cfd\",\n\t\"./ar-ly.js\": \"1cfd\",\n\t\"./ar-ma\": \"0a84\",\n\t\"./ar-ma.js\": \"0a84\",\n\t\"./ar-sa\": \"8230\",\n\t\"./ar-sa.js\": \"8230\",\n\t\"./ar-tn\": \"6d833\",\n\t\"./ar-tn.js\": \"6d833\",\n\t\"./ar.js\": \"8e73\",\n\t\"./az\": \"485c\",\n\t\"./az.js\": \"485c\",\n\t\"./be\": \"1fc1\",\n\t\"./be.js\": \"1fc1\",\n\t\"./bg\": \"84aa\",\n\t\"./bg.js\": \"84aa\",\n\t\"./bm\": \"a7fa\",\n\t\"./bm.js\": \"a7fa\",\n\t\"./bn\": \"9043\",\n\t\"./bn-bd\": \"9686\",\n\t\"./bn-bd.js\": \"9686\",\n\t\"./bn.js\": \"9043\",\n\t\"./bo\": \"d26a\",\n\t\"./bo.js\": \"d26a\",\n\t\"./br\": \"6887\",\n\t\"./br.js\": \"6887\",\n\t\"./bs\": \"2554\",\n\t\"./bs.js\": \"2554\",\n\t\"./ca\": \"d716\",\n\t\"./ca.js\": \"d716\",\n\t\"./cs\": \"3c0d\",\n\t\"./cs.js\": \"3c0d\",\n\t\"./cv\": \"03ec\",\n\t\"./cv.js\": \"03ec\",\n\t\"./cy\": \"9797\",\n\t\"./cy.js\": \"9797\",\n\t\"./da\": \"0f14\",\n\t\"./da.js\": \"0f14\",\n\t\"./de\": \"b469\",\n\t\"./de-at\": \"b3eb\",\n\t\"./de-at.js\": \"b3eb\",\n\t\"./de-ch\": \"bb71\",\n\t\"./de-ch.js\": \"bb71\",\n\t\"./de.js\": \"b469\",\n\t\"./dv\": \"598a\",\n\t\"./dv.js\": \"598a\",\n\t\"./el\": \"8d47\",\n\t\"./el.js\": \"8d47\",\n\t\"./en-au\": \"0e6b\",\n\t\"./en-au.js\": \"0e6b\",\n\t\"./en-ca\": \"3886\",\n\t\"./en-ca.js\": \"3886\",\n\t\"./en-gb\": \"39a6\",\n\t\"./en-gb.js\": \"39a6\",\n\t\"./en-ie\": \"e1d3\",\n\t\"./en-ie.js\": \"e1d3\",\n\t\"./en-il\": \"73332\",\n\t\"./en-il.js\": \"73332\",\n\t\"./en-in\": \"ec2e\",\n\t\"./en-in.js\": \"ec2e\",\n\t\"./en-nz\": \"6f50\",\n\t\"./en-nz.js\": \"6f50\",\n\t\"./en-sg\": \"b7e9\",\n\t\"./en-sg.js\": \"b7e9\",\n\t\"./eo\": \"65db\",\n\t\"./eo.js\": \"65db\",\n\t\"./es\": \"898b\",\n\t\"./es-do\": \"0a3c\",\n\t\"./es-do.js\": \"0a3c\",\n\t\"./es-mx\": \"b5b7\",\n\t\"./es-mx.js\": \"b5b7\",\n\t\"./es-us\": \"55c9\",\n\t\"./es-us.js\": \"55c9\",\n\t\"./es.js\": \"898b\",\n\t\"./et\": \"ec18\",\n\t\"./et.js\": \"ec18\",\n\t\"./eu\": \"0ff2\",\n\t\"./eu.js\": \"0ff2\",\n\t\"./fa\": \"8df4\",\n\t\"./fa.js\": \"8df4\",\n\t\"./fi\": \"81e9\",\n\t\"./fi.js\": \"81e9\",\n\t\"./fil\": \"d69a\",\n\t\"./fil.js\": \"d69a\",\n\t\"./fo\": \"0721\",\n\t\"./fo.js\": \"0721\",\n\t\"./fr\": \"9f26\",\n\t\"./fr-ca\": \"d9f8\",\n\t\"./fr-ca.js\": \"d9f8\",\n\t\"./fr-ch\": \"0e49\",\n\t\"./fr-ch.js\": \"0e49\",\n\t\"./fr.js\": \"9f26\",\n\t\"./fy\": \"7118\",\n\t\"./fy.js\": \"7118\",\n\t\"./ga\": \"5120\",\n\t\"./ga.js\": \"5120\",\n\t\"./gd\": \"f6b4\",\n\t\"./gd.js\": \"f6b4\",\n\t\"./gl\": \"8840\",\n\t\"./gl.js\": \"8840\",\n\t\"./gom-deva\": \"aaf2\",\n\t\"./gom-deva.js\": \"aaf2\",\n\t\"./gom-latn\": \"0caa\",\n\t\"./gom-latn.js\": \"0caa\",\n\t\"./gu\": \"e0c5\",\n\t\"./gu.js\": \"e0c5\",\n\t\"./he\": \"c7aa\",\n\t\"./he.js\": \"c7aa\",\n\t\"./hi\": \"dc4d\",\n\t\"./hi.js\": \"dc4d\",\n\t\"./hr\": \"4ba9\",\n\t\"./hr.js\": \"4ba9\",\n\t\"./hu\": \"5b14\",\n\t\"./hu.js\": \"5b14\",\n\t\"./hy-am\": \"d6b6\",\n\t\"./hy-am.js\": \"d6b6\",\n\t\"./id\": \"5038\",\n\t\"./id.js\": \"5038\",\n\t\"./is\": \"0558\",\n\t\"./is.js\": \"0558\",\n\t\"./it\": \"6e98\",\n\t\"./it-ch\": \"6f12\",\n\t\"./it-ch.js\": \"6f12\",\n\t\"./it.js\": \"6e98\",\n\t\"./ja\": \"079e\",\n\t\"./ja.js\": \"079e\",\n\t\"./jv\": \"b540\",\n\t\"./jv.js\": \"b540\",\n\t\"./ka\": \"201b\",\n\t\"./ka.js\": \"201b\",\n\t\"./kk\": \"6d79\",\n\t\"./kk.js\": \"6d79\",\n\t\"./km\": \"e81d\",\n\t\"./km.js\": \"e81d\",\n\t\"./kn\": \"3e92\",\n\t\"./kn.js\": \"3e92\",\n\t\"./ko\": \"22f8\",\n\t\"./ko.js\": \"22f8\",\n\t\"./ku\": \"2421\",\n\t\"./ku.js\": \"2421\",\n\t\"./ky\": \"9609\",\n\t\"./ky.js\": \"9609\",\n\t\"./lb\": \"440c\",\n\t\"./lb.js\": \"440c\",\n\t\"./lo\": \"b29d\",\n\t\"./lo.js\": \"b29d\",\n\t\"./lt\": \"26f9\",\n\t\"./lt.js\": \"26f9\",\n\t\"./lv\": \"b97c\",\n\t\"./lv.js\": \"b97c\",\n\t\"./me\": \"293c\",\n\t\"./me.js\": \"293c\",\n\t\"./mi\": \"688b\",\n\t\"./mi.js\": \"688b\",\n\t\"./mk\": \"6909\",\n\t\"./mk.js\": \"6909\",\n\t\"./ml\": \"02fb\",\n\t\"./ml.js\": \"02fb\",\n\t\"./mn\": \"958b\",\n\t\"./mn.js\": \"958b\",\n\t\"./mr\": \"39bd\",\n\t\"./mr.js\": \"39bd\",\n\t\"./ms\": \"ebe4\",\n\t\"./ms-my\": \"6403\",\n\t\"./ms-my.js\": \"6403\",\n\t\"./ms.js\": \"ebe4\",\n\t\"./mt\": \"1b45\",\n\t\"./mt.js\": \"1b45\",\n\t\"./my\": \"8689\",\n\t\"./my.js\": \"8689\",\n\t\"./nb\": \"6ce3\",\n\t\"./nb.js\": \"6ce3\",\n\t\"./ne\": \"3a39\",\n\t\"./ne.js\": \"3a39\",\n\t\"./nl\": \"facd\",\n\t\"./nl-be\": \"db29\",\n\t\"./nl-be.js\": \"db29\",\n\t\"./nl.js\": \"facd\",\n\t\"./nn\": \"b84c\",\n\t\"./nn.js\": \"b84c\",\n\t\"./oc-lnc\": \"167b\",\n\t\"./oc-lnc.js\": \"167b\",\n\t\"./pa-in\": \"f3ff\",\n\t\"./pa-in.js\": \"f3ff\",\n\t\"./pl\": \"8d57\",\n\t\"./pl.js\": \"8d57\",\n\t\"./pt\": \"f260\",\n\t\"./pt-br\": \"d2d4\",\n\t\"./pt-br.js\": \"d2d4\",\n\t\"./pt.js\": \"f260\",\n\t\"./ro\": \"972c\",\n\t\"./ro.js\": \"972c\",\n\t\"./ru\": \"957c\",\n\t\"./ru.js\": \"957c\",\n\t\"./sd\": \"6784\",\n\t\"./sd.js\": \"6784\",\n\t\"./se\": \"ffff\",\n\t\"./se.js\": \"ffff\",\n\t\"./si\": \"eda5\",\n\t\"./si.js\": \"eda5\",\n\t\"./sk\": \"7be6\",\n\t\"./sk.js\": \"7be6\",\n\t\"./sl\": \"8155\",\n\t\"./sl.js\": \"8155\",\n\t\"./sq\": \"c8f3\",\n\t\"./sq.js\": \"c8f3\",\n\t\"./sr\": \"cf1e\",\n\t\"./sr-cyrl\": \"13e9\",\n\t\"./sr-cyrl.js\": \"13e9\",\n\t\"./sr.js\": \"cf1e\",\n\t\"./ss\": \"52bd\",\n\t\"./ss.js\": \"52bd\",\n\t\"./sv\": \"5fbd\",\n\t\"./sv.js\": \"5fbd\",\n\t\"./sw\": \"74dc\",\n\t\"./sw.js\": \"74dc\",\n\t\"./ta\": \"3de5\",\n\t\"./ta.js\": \"3de5\",\n\t\"./te\": \"5cbb\",\n\t\"./te.js\": \"5cbb\",\n\t\"./tet\": \"576c\",\n\t\"./tet.js\": \"576c\",\n\t\"./tg\": \"3b1b\",\n\t\"./tg.js\": \"3b1b\",\n\t\"./th\": \"10e8\",\n\t\"./th.js\": \"10e8\",\n\t\"./tk\": \"5aff\",\n\t\"./tk.js\": \"5aff\",\n\t\"./tl-ph\": \"0f38\",\n\t\"./tl-ph.js\": \"0f38\",\n\t\"./tlh\": \"cf755\",\n\t\"./tlh.js\": \"cf755\",\n\t\"./tr\": \"0e81\",\n\t\"./tr.js\": \"0e81\",\n\t\"./tzl\": \"cf51\",\n\t\"./tzl.js\": \"cf51\",\n\t\"./tzm\": \"c109\",\n\t\"./tzm-latn\": \"b53d\",\n\t\"./tzm-latn.js\": \"b53d\",\n\t\"./tzm.js\": \"c109\",\n\t\"./ug-cn\": \"6117\",\n\t\"./ug-cn.js\": \"6117\",\n\t\"./uk\": \"ada2\",\n\t\"./uk.js\": \"ada2\",\n\t\"./ur\": \"5294\",\n\t\"./ur.js\": \"5294\",\n\t\"./uz\": \"2e8c\",\n\t\"./uz-latn\": \"010e\",\n\t\"./uz-latn.js\": \"010e\",\n\t\"./uz.js\": \"2e8c\",\n\t\"./vi\": \"2921\",\n\t\"./vi.js\": \"2921\",\n\t\"./x-pseudo\": \"fd7e\",\n\t\"./x-pseudo.js\": \"fd7e\",\n\t\"./yo\": \"7f33\",\n\t\"./yo.js\": \"7f33\",\n\t\"./zh-cn\": \"5c3a\",\n\t\"./zh-cn.js\": \"5c3a\",\n\t\"./zh-hk\": \"49ab\",\n\t\"./zh-hk.js\": \"49ab\",\n\t\"./zh-mo\": \"3a6c\",\n\t\"./zh-mo.js\": \"3a6c\",\n\t\"./zh-tw\": \"90ea\",\n\t\"./zh-tw.js\": \"90ea\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"4678\";","var map = {\n\t\"./en.json\": \"edd4\",\n\t\"./es.json\": \"a306\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"49f8\";","import EntityIdBase from './EntityIdBase';\nimport UsuarioComunicacion from './UsuarioComunicacion';\n\nexport default class ServicioComunicacion extends EntityIdBase {\n servicioId : number = 0\n principal:boolean=false\n tipo:string=\"\"\n alias:string=\"\"\n contacto:string=\"\"\n valor:string=\"D\"\n\n convert(usuarioComunication: UsuarioComunicacion){\n this.principal = usuarioComunication.principal;\n this.tipo = usuarioComunication.tipo;\n this.alias = usuarioComunication.alias;\n this.contacto = usuarioComunication.contacto;\n this.valor = usuarioComunication.valor;\n }\n}\n","import Municipio from './Municipio'\nimport Usuario from './Usuario'\nimport EntityIdBase from './EntityIdBase'\n\nexport default class UsuarioDireccion extends EntityIdBase {\n usuarioId : number = 0\n facturacion:boolean=false\n alias:string=\"\"\n direccion:string=\"\"\n direccionCompleta:string=\"\"\n municipioId:number=0\n esPrimera:boolean=false\n usuario?: Usuario;\n municipio?: Municipio;\n latitud: number = 0;\n longitud: number = 0;\n\n constructor(){\n super();\n this.municipio = new Municipio();\n }\n }\n \n ","export enum RolEnum\n{\n Sistema = 0,\n AdmSistema = 1,\n GestorSistema = 2,\n Delegacion = 10,\n AdmDelegacion = 20,\n GestorDelegacion = 30,\n OperarioDelegacion = 40,\n Colaborador = 50,\n AdmColaborador = 60,\n GestorColaborador = 70,\n OperarioColaborador = 80,\n Comercial = 90,\n AdmComercial = 100,\n GestorComercial = 110,\n SubComercial = 120,\n AdmSubComercial = 130,\n GestorSubComercial = 140,\n Cliente = 200,\n ClienteCandidato = 201,\n Proveedor = 210,\n EmpresaAsistencia = 220,\n}","export * from \"-!../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=style&index=0&id=48749672&scoped=true&lang=css&\"","import Servicio from './Servicio';\nimport EntityIdBase from './EntityIdBase';\nimport Usuario from './Usuario';\nimport { EstadoCitaEnum } from '../enums/EstadoCitaEnum';\nimport { ActividadEnum } from '../enums/ActividadEnum';\nlet moment = require('moment');\n\nexport default class ServicioCita extends EntityIdBase {\n servicioId: number = 0;\n servicio!: Servicio\n referencia: number = 0\n\n deUsuarioId!: number;\n deUsuario!: Usuario\n\n paraUsuarioId!: number;\n paraUsuario!: Usuario\n \n urgente: boolean = false;\n obligada: boolean = false;\n propuesta: boolean = false;\n fechaCita!: Date | null;\n estado: string = 'PENDIENTE';\n usuarioAlta: number | null = 0;\n fechaAlta: Date | string | null = '';\n cortesia: number | null = 30;\n\n bloqueoUsuario!: number\n bloqueoUsuarioSignalId!: string\n bloqueoUsuarioFecha!: Date;\n\n //Variables front\n disabled: boolean = false;\n\n getTipoCita(): string{\n return this.urgente ? 'Urgente' : this.obligada ? 'Obligatoria' : 'Propuesta'\n }\n\n public validate(actividadId: number): Array{\n let tipoError = Array();\n //Control Fecha Cita Superior a actual\n var dt = moment();\n dt = this.fechaCita;\n\n switch (actividadId) {\n case ActividadEnum.Reparaciones:\n if(!(this.urgente || this.propuesta || this.obligada)) \n tipoError.push(\"Debes seleccionar un tipo de cita\");\n\n if(dt){\n if(dt < moment()){\n tipoError.push(\"Fecha de cita debe ser superior a la fecha actual\");\n }else{\n // La cita propuesta no puede darse con menos de 24 horas vista.\n if(this.propuesta === true && dt < moment().add(3,'hours'))\n tipoError.push(\"La cita propuesta no puede darse con menos de 3 horas vista.\");\n \n // La cita obligatoria no puede darse con menos de 3 horas vista sino es un servicio de urgencia.\n if(this.obligada == true && this.urgente == false && dt < moment().add(3,'hours'))\n tipoError.push(\"La cita obligatoria no puede darse con menos de 3 horas vista sino es un servicio de urgencia.\");\n }\n }else{\n tipoError.push(\"Fecha de cita debe tener un valor\");\n }\n\n break;\n case ActividadEnum.Taller:\n if(dt){\n if(dt < moment()){\n tipoError.push(\"Fecha de cita debe ser superior a la fecha actual\");\n }\n }else{\n tipoError.push(\"Fecha de cita debe tener un valor\");\n }\n break;\n }\n \n return tipoError;\n }\n\n public isActive(){\n return !(this.estado === EstadoCitaEnum.Rechazada ||\n this.estado === EstadoCitaEnum.Cancelada ||\n this.estado === EstadoCitaEnum.Caducada)\n }\n}","import {\n Module,\n VuexModule,\n Mutation,\n Action,\n getModule,\n MutationAction,\n} from 'vuex-module-decorators'\nimport store from '@/store'\nimport { MaestrosService } from '@/services/maestros.service'\n\n@Module({ dynamic: true, store, name: 'MAESTROS', namespaced: true })\nclass MaestrosModule extends VuexModule {\n ESTADOS: any[] = []\n ESTADOS_SERVICIO: any[] = []\n TIPO_DOCUMENTO = [{ id: 'D', des: 'DNI' }, { id: 'C', des: 'CIF' }, { id: 'N', des: 'NIE' }]\n TIPO_SEXO = [{ id: 'V', des: 'HOMBRE' }, { id: 'M', des: 'MUJER' }, { id: 'O', des: 'OTRO' }]\n ROLES = []\n TIPOS_COMUNICACIONES = [\n { id: 'TM', des: 'Teléfono móvil' },\n { id: 'TF', des: 'Teléfono fijo' },\n { id: 'E', des: 'Email' },\n ]\n ACTIVIDADES = []\n GREMIOS = []\n SERVICIO_TIPO = []\n TIEMPOS_CORTESIA =[\n {id: 30 , des: '30 minutos'},\n {id: 60 , des:'60 minutos'}]\n TIEMPOS_OFERTA_EXCLUSIVA =[\n {id: 15 , des: '15 minutos'},\n {id: 30 , des: '30 minutos'},\n {id: 45 , des: '45 minutos'},\n {id: 60 , des: '1 hora'},\n {id: 180 , des: '3 horas'},\n {id: 720 , des: '12 horas'},\n {id: 1440 , des: '24 horas'}]\n ENTIDAD_JURIDICA = [\n { id: 'TODAS', des: 'TODAS' },\n { id: 'EMPRESA', des: 'EMPRESA' }, \n { id: 'AUTONOMO', des: 'AUTONOMO' }]\n ESTADOS_DOCUMENTO = []\n // Mutations\n\n @Mutation\n UPDATE_ESTADOS(payload: any) {\n this.ESTADOS = payload\n }\n\n @Mutation\n UPDATE_ESTADOS_SERVICIO(payload: any) {\n this.ESTADOS_SERVICIO = payload\n }\n\n @Mutation\n UPDATE_ROLES(payload: any) {\n this.ROLES = payload\n }\n\n @Mutation\n UPDATE_ACTIVIDADES(payload: any) {\n this.ACTIVIDADES = payload\n }\n\n @Mutation\n UPDATE_GREMIOS(payload: any) {\n this.GREMIOS = payload\n }\n\n @Mutation\n UPDATE_SERVICIO_TIPO(payload: any) {\n this.SERVICIO_TIPO = payload\n }\n\n @Mutation\n UPDATE_ESTADOS_DOCUMENTO(payload: any) {\n this.ESTADOS_DOCUMENTO = payload\n }\n\n // Actions\n\n @Action\n async setEstados() {\n if (this.ESTADOS.length != 0) {\n return\n }\n this.context.commit(\n 'UPDATE_ESTADOS',\n await MaestrosService.GetService('GetEstados')\n )\n }\n\n @Action\n async setEstadosServicio() {\n if (this.ESTADOS_SERVICIO.length != 0) {\n return\n }\n this.context.commit(\n 'UPDATE_ESTADOS_SERVICIO',\n await MaestrosService.GetService('GetEstadosServicio')\n )\n }\n\n @Action({ commit: 'UPDATE_ROLES' })\n setRoles(payload: any) {\n return payload\n }\n\n @Action\n async setActividades() {\n if (this.ACTIVIDADES.length != 0) {\n return\n }\n this.context.commit(\n 'UPDATE_ACTIVIDADES',\n await MaestrosService.GetService('GetActividades')\n )\n }\n\n @Action\n async setGremios() {\n if (this.GREMIOS.length != 0) {\n return\n }\n this.context.commit(\n 'UPDATE_GREMIOS',\n await MaestrosService.GetService('GetGremios')\n )\n }\n\n @Action\n async setServicioTipo() {\n if (this.SERVICIO_TIPO.length != 0) {\n return\n }\n this.context.commit(\n 'UPDATE_SERVICIO_TIPO',\n await MaestrosService.GetService('GetServicioTipo')\n )\n }\n\n @Action({ commit: 'UPDATE_ESTADOS_DOCUMENTO' })\n setEstadosDocumento(payload: any) {\n return payload\n }\n\n // Getters\n\n // @MutationAction({ mutate: ['ACTIVIDADES'] })\n // async setActividades() {\n // return { ACTIVIDADES: await MaestrosService.GetActividades() };\n // }\n\n // @MutationAction({ mutate: ['GREMIOS'] })\n // async setGremios(actividad:Number) {\n // return { GREMIOS: await MaestrosService.GetGremios() };\n // }\n}\n\nexport default getModule(MaestrosModule)\n","import ServicioDireccion from '@/models/entities/ServicioDireccion'\n\nexport default class QueryRealizarServicioEnDireccionDtoIn {\n actividadId: number = 0;\n servicioDireccion!: ServicioDireccion;\n servicioTipoId: number = 0\n gremioId: number = 0\n}","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./xi-popup-info-textarea.vue?vue&type=style&index=0&id=2091b6c1&scoped=true&lang=css&\"","\nexport class Log {\n id: number = 0;\n app: string = \"\";\n metodo: string = \"\";\n params: string = \"\";\n mensaje: string = \"\";\n usuario: string = \"\";\n login: string = \"\";\n fecha: Date = new Date();\n nivel: string = \"\";\n servicioId: number = 0;\n}","import { Log } from '@/models/entities/Log';\nimport { Http } from '@/services/http.service'\nimport ConfigProvider from '@/config/configProvider';\n\nexport class LogService {\n private _levels: string = \"fatal,error,warn,info,debug\";\n private _app: string = \"\";\n private _user: string = \"\";\n private _delay: number = 10000;\n private list: Array = [];\n\n constructor(){\n this.InitSaveBuffer()\n }\n\n public debug(message: string, method: string = \"\", parameters: any = null, servicioId: number = 0){\n if(this._levels.indexOf('debug') === -1) return;\n\n if(parameters !== null)\n console.log(method + \" \" + message, parameters);\n else\n console.log(method + \" \" + message);\n\n this.Save(message, method, parameters, \"Debug\", servicioId);\n }\n\n public info(message: string, method: string = \"\", parameters: any = null, servicioId: number = 0){\n if(this._levels.indexOf('info') === -1) return;\n\n if(parameters !== null)\n console.log(method + \" \" + message, parameters);\n else\n console.log(method + \" \" + message);\n\n this.Save(message, method, parameters, \"Info\", servicioId);\n }\n\n public warn(message: string, method: string = \"\", parameters: any = null, servicioId: number = 0){\n if(this._levels.indexOf('warn') === -1) return;\n\n if(parameters !== null)\n console.warn(method + \" \" + message, parameters);\n else\n console.warn(method + \" \" + message);\n\n this.Save(message, method, parameters, \"Warn\", servicioId);\n }\n\n public error(message: string, method: string = \"\", parameters: any = null, error: any = {}, servicioId: number = 0){\n if(this._levels.indexOf('error') === -1) return;\n console.error(method + \" \" + message+\"\\n\"+JSON.stringify(error));\n this.Save(message+\"\\n\"+JSON.stringify(error), method, parameters, \"Error\", servicioId);\n }\n\n public fatal(message: string, method: string = \"\", parameters: any = null, error: any = {}, servicioId: number = 0){\n if(this._levels.indexOf('fatal') === -1) return;\n console.error(method + \" \" + message+\"\\n\"+JSON.stringify(error));\n this.Save(message+\"\\n\"+JSON.stringify(error), method, parameters, \"Fatal\", servicioId);\n }\n\n private Save(message: string, method: string, parameters: any, level: string, servicioId: number) {\n let log = new Log();\n log.app = \"Frontend - Seguribo\"\n log.metodo = method;\n log.mensaje = message;\n log.usuario = this.user;\n log.nivel = level;\n log.params = parameters !== null ? JSON.stringify(parameters) : \"\";\n log.servicioId = servicioId;\n \n this.list.push(log);\n }\n\n public InitSaveBuffer(){\n let levels = ConfigProvider.value('logLevels');\n if(levels !== undefined && levels !== null && levels !== \"\")\n this._levels = levels\n\n let delay = ConfigProvider.value('logDelay');\n if(delay !== undefined && delay !== null && delay !== \"\")\n this._delay = Number(delay)\n\n setInterval(()=>{\n let length = this.list.length;\n if(length > 0){\n let enviar: any = [];\n\n for (let i = 0; i < length; i++) {\n enviar.push(this.list.shift());\n }\n return Http.Post({url:\"log/collection\", data: enviar, loading: false})\n }\n \n }, this.delay)\n }\n\n \n public GetById(id: number, loading: boolean = true): Promise {\n return Http.Get({url: \"log/\"+id, loading: loading});\n }\n\n set app(valor: string) {\n this._app = valor;\n }\n\n get app() {\n return this._app;\n }\n\n set user(valor: string) {\n this._user = valor;\n }\n\n get user() {\n return this._user;\n }\n\n set delay(valor: number) {\n this._delay = valor;\n }\n\n get delay() {\n return this._delay;\n }\n}\n\nexport const logService = new LogService();","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('vx-card',{staticClass:\"fondo\",on:{\"keyup\":_vm.keyHandler}},[_c('vs-row',{attrs:{\"vs-w\":\"12\",\"vs-justify\":\"space-between\"}},[_c('vs-col',{attrs:{\"vs-w\":\"2\"}}),_c('vs-col',{attrs:{\"vs-w\":\"8\",\"vs-type\":\"flex\",\"vs-justify\":\"center\"}},[_c('h5',[_vm._v(_vm._s(_vm.conf.title || ''))])]),_c('vs-col',{attrs:{\"vs-w\":\"2\",\"vs-type\":\"flex\",\"vs-justify\":\"flex-end\"}},[_c('span',{on:{\"click\":_vm.salir}},[_c('vs-icon',{staticClass:\"icon\",attrs:{\"icon\":\"close\",\"data-cy\":\"clickClosePopupConfirm\"}})],1)])],1),_c('vs-divider'),_vm._l((_vm.conf.descripcion),function(item){return _c('div',{key:item.id},[_c('p',{staticStyle:{\"margin-bottom\":\"15px\",\"text-align\":\"center\"},domProps:{\"innerHTML\":_vm._s(item)}})])}),(_vm.conf.confirm === true)?_c('div',{staticStyle:{\"margin-top\":\"1em\"}},[_c('vs-row',{attrs:{\"vs-w\":\"12\",\"vs-justify\":\"space-between\"}},[_c('vs-col',{attrs:{\"vs-type\":\"flex\",\"vs-justify\":\"center\",\"vs-align\":\"center\",\"vs-w\":\"6\"}},[_c('vs-button',{staticStyle:{\"width\":\"75%\"},attrs:{\"color\":\"danger\",\"data-cy\":\"clickCancelarPopupConfirm\"},on:{\"click\":function($event){return _vm.guardar('N')}}},[_vm._v(_vm._s(_vm.conf.CANCEL || 'Cancelar'))])],1),_c('vs-col',{attrs:{\"vs-type\":\"flex\",\"vs-justify\":\"center\",\"vs-align\":\"center\",\"vs-w\":\"6\"}},[_c('vs-button',{staticStyle:{\"width\":\"75%\"},attrs:{\"color\":\"primary\",\"data-cy\":\"clickOKPopupConfirm\"},on:{\"click\":function($event){return _vm.guardar('S')}}},[_vm._v(_vm._s(_vm.conf.OK || 'OK'))])],1)],1)],1):_vm._e(),(_vm.conf.confirm !== true)?_c('div',{staticStyle:{\"margin-top\":\"1em\"}},[_c('vs-row',{attrs:{\"vs-w\":\"12\",\"vs-justify\":\"space-between\"}},[_c('vs-col',{attrs:{\"vs-type\":\"flex\",\"vs-justify\":\"center\",\"vs-align\":\"center\",\"vs-w\":\"6\"}},[_c('vs-button',{staticStyle:{\"width\":\"75%\"},attrs:{\"color\":\"primary\",\"data-cy\":\"clickCancelarPopupConfirm\"},on:{\"click\":function($event){return _vm.guardar('N')}}},[_vm._v(_vm._s(_vm.conf.CANCEL || 'Cancelar'))])],1),_c('vs-col',{attrs:{\"vs-type\":\"flex\",\"vs-justify\":\"center\",\"vs-align\":\"center\",\"vs-w\":\"6\"}},[_c('vs-button',{staticStyle:{\"width\":\"75%\"},attrs:{\"color\":\"danger\",\"data-cy\":\"clickOKPopupConfirm\"},on:{\"click\":function($event){return _vm.guardar('S')}}},[_vm._v(_vm._s(_vm.conf.OK || 'OK'))])],1)],1)],1):_vm._e()],2)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Prop, Watch } from 'vue-property-decorator'\n@Component({\n \n})\nexport default class XiPopupConfirm extends Vue {\n\n @Prop({required:true, default:{name:'',descripcion:[],OK:'',CANCEL:'',model:{}, confirm: false } }) \n conf!:{name:string,descripcion:string[] , OK:string, CANCEL:string, model:any, confirm: boolean};// Object;\n \n keyHandler(evento:any) {\n if (evento.keyCode===27)\n this.salir({});\n }\n\n salir(params:any) {\n this.$modal.hide(this.conf.name,{valor:'C'});\n } \n\n async guardar(valor:boolean){\n this.$modal.hide(this.conf.name,{valor});\n } \n \n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./xi-popup-confirm.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./xi-popup-confirm.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./xi-popup-confirm.vue?vue&type=template&id=e7a93434&scoped=true&\"\nimport script from \"./xi-popup-confirm.vue?vue&type=script&lang=ts&\"\nexport * from \"./xi-popup-confirm.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./xi-popup-confirm.vue?vue&type=style&index=0&id=e7a93434&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"e7a93434\",\n null\n \n)\n\nexport default component.exports","\n\nimport { Http } from \"@/services/http.service\";\nimport { usuarioService } from \"@/services/usuario.service\";\nimport APP from '@/store/Modules/App'\nimport Menu from '@/models/entities/Menu';\nimport Usuario from \"@/models/entities/Usuario\";\n\nclass ApplicationService {\n\n public async setUserInfo(): Promise {\n const apikey = Http.APIKEY;\n\n const claims = Http.decodeToken(apikey) as any\n\n if (claims == null) Promise.reject({});\n\n let id = claims.ID;\n\n const userLoggedResp = await usuarioService.GetByIdWithPermisos(id);\n\n await APP.userLoggedAction(userLoggedResp);\n\n await this.setMenu(userLoggedResp.menuPermisosUsuario\n .filter((x: any) => x.permitido === true)\n .map(item => { return item.menu;}));\n\n return userLoggedResp;\n }\n\n private async setMenu(menus: Array){\n\t\tlet items = _.filter(menus, (item: any) => item.padreId === null).map(\n (i: any) => {\n let imenu: any = {\n url: i.url,\n name: i.name,\n title: i.name,\n route: i.splug,\n splug: i.splug,\n icon: i.icon || '',\n i18n: i.i18n,\n orden: i.orden,\n }\n // Nivel 1\n const submenu = _.filter(menus, (item: any) => item.padreId == i.id)\n\n if (submenu.length !== 0) {\n imenu['children'] = submenu.map((x: any) => {\n return {\n url: x.url,\n name: x.name,\n title: x.name,\n route: x.splug,\n splug: x.splug,\n icon: x.icon || '',\n i18n: x.i18n,\n orden: x.orden,\n }\n })\n }\n return imenu\n }\n );\n\n items = _.sortBy(items, (item: any) => { return item.orden;});\n\n await APP.UPDATE_MENU(items || [])\n\t}\n}\n\nexport const applicationService = new ApplicationService();","import GenericService from '@/services/generic.service';\nimport \"@/services/util.service\";\nimport { Http } from '@/services/http.service'\nimport ServicioCita from '@/models/entities/ServicioCita';\n\n\nexport class ServicioCitaService extends GenericService{\n \n constructor(){\n super('serviciocita')\n }\n\n public GetByUsuario(): Promise> {\n return Http.Get({url: `${this.entity}/usuario`, loading: false});\n }\n\n public GetByGremio(servicioId: number): Promise> {\n return Http.Get({url: `${this.entity}/gremio/${servicioId}`, loading: false});\n }\n\n public GetDtoByGremio(servicioId: number): Promise> {\n return Http.Get({url: `${this.entity}/gremio/${servicioId}/dto`, loading: false});\n }\n\n public GetByReferencia(referencia: number): Promise> {\n return Http.Get({url: `${this.entity}/servicio/${referencia}`, loading: false});\n }\n\n public GetDtoByReferencia(referencia: number): Promise> {\n return Http.Get({url: `${this.entity}/servicio/${referencia}/dto`, loading: false});\n }\n\n public async ConvertToVisita(obj: ServicioCita) {\n return await Http.Post({\n url: `${this.entity}/convert-to-visita`,\n data: obj,\n })\n }\n \n public async BloquearCita(id: number) {\n return (await Http.Post({\n url: `${this.entity}/BloquearCita`,\n query: { id },\n loading: false\n }))\n } \n\n public async DesbloquearCita(id: number) {\n return (await Http.Post({\n url: `${this.entity}/DesbloquearCita`,\n query: { id },\n loading: false\n }))\n } \n\n public async EstaCitaBloqueada(id: number) {\n return (await Http.Post({\n url: `${this.entity}/EstaCitaBloqueada`,\n query: { id },\n loading: false\n }))\n } \n}\n\nexport const servicioCitaService = new ServicioCitaService();","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VxCard.vue?vue&type=style&index=0&lang=scss&\"","import { Http } from '@/services/http.service'\nimport '@/services/util.service'\n\nimport MAESTROS from '@/store/Modules/Maestros'\n\nclass Service {\n private entidad = 'maestros'\n\n public async GetEstados(): Promise {\n const datos = MAESTROS.ESTADOS as any[]\n if (datos.length != 0) return\n const resp = await Http.Post({\n url: `${this.entidad}/GetEstados`,\n loading: false,\n })\n MAESTROS.UPDATE_ESTADOS(resp || [])\n return true\n }\n\n public async GetEntidades(id_rol: Number): Promise {\n return await Http.Post({\n url: `${this.entidad}/GetEntidades`,\n query: { id_rol },\n loading: false,\n })\n }\n\n public async Municipios(\n codigoPostal: string,\n municipio: string\n ): Promise {\n return await Http.Post({\n url: `${this.entidad}/Municipios`,\n query: { codigoPostal, municipio },\n })\n }\n\n public async GetProvincias(): Promise {\n return await Http.Post({\n url: `${this.entidad}/GetProvincias`,\n })\n }\n\n public async GetMuniciosByProvinciaLike(\n codprov: string,\n descripcion: string\n ): Promise {\n return await Http.Post({\n url: `${this.entidad}/GetMuniciosByProvinciaLike`,\n query: { codprov, descripcion },\n })\n }\n\n // public async GetActividades(): Promise {\n // const resp = (await Http.Post({\n // url: `${this.entidad}/GetActividades`,\n // })).data\n // return resp\n // }\n\n // public async GetGremios(): Promise {\n // const resp = (await Http.Post({\n // url: `${this.entidad}/GetGremios`,\n // })).data\n // return resp\n // }\n\n public GetServicioTipo(): Promise {\n return Http.Post({ url: `${this.entidad}/GetServicioTipo`})\n }\n\n public async GetGremiosDisponibles(actividadId: number): Promise {\n const resp = await Http.Post({\n url: `${this.entidad}/GetGremiosDisponibles/${actividadId}`, loading: false\n })\n return resp\n }\n\n public async GetServicioTipoDisponiblesWithoutGremio(actividadId: number): Promise {\n const resp = await Http.Post({\n url: `${this.entidad}/GetServicioTipoDisponibles/${actividadId}`,\n })\n return resp\n }\n\n public async GetServicioTipoDisponibles(actividadId: number, gremioId: number): Promise {\n const resp = await Http.Post({\n url: `${this.entidad}/GetServicioTipoDisponibles/${actividadId}/${gremioId}`,\n })\n return resp\n }\n\n public async GetService(name:string): Promise {\n const resp = await Http.Post({\n url: `${this.entidad}/${name}`,\n loading: false\n })\n return resp\n } \n \n public async GetEstadosDocumento(): Promise {\n const datos = MAESTROS.ESTADOS_DOCUMENTO as any[]\n if (datos.length != 0) return\n const resp = await Http.Post({\n url: `${this.entidad}/GetEstadosDocumento`,\n loading: false,\n })\n MAESTROS.setEstadosDocumento(resp || [])\n return true\n }\n \n public async ClearService(): Promise {\n return await Http.Get({\n url: `${this.entidad}/clear-services-db`,\n loading: false,\n })\n }\n \n public async InitRoles(): Promise {\n return await Http.Get({\n url: `${this.entidad}/init-roles`,\n loading: false,\n })\n }\n}\n\nexport const MaestrosService = new Service()\n","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FeatherIcon.vue?vue&type=style&index=0&lang=scss&\"","import { Module, VuexModule, Mutation, Action, getModule } from 'vuex-module-decorators'\nimport store from '@/store';\nimport Usuario from '@/models/entities/Usuario';\n\n@Module({ dynamic: true, store, name: 'APP', namespaced:true })\nclass appModule extends VuexModule {\n\n stateInstance = {\n menu: [],\n user_info: {\n ID: 0\n },\n perfil: false,\n userLogged: new Usuario()\n }\n\n get USER_INFO() {\n return this.stateInstance.user_info\n }\n\n get PERFIL() {\n return this.stateInstance.perfil\n }\n\n get MENU() {\n return this.stateInstance.menu\n }\n\n get userLogged(){\n return this.stateInstance.userLogged;\n }\n\n @Mutation\n updateUserLogged(obj: Usuario){\n this.stateInstance.userLogged = obj;\n }\n\n @Mutation\n UPDATE_USER_INFO(payload: any) {\n this.stateInstance.user_info = payload\n }\n\n @Mutation\n UPDATE_PERFIL(payload: any) {\n this.stateInstance.perfil = !this.stateInstance.perfil;\n }\n\n @Mutation\n UPDATE_MENU(payload: any) {\n this.stateInstance.menu = payload\n }\n\n @Mutation\n clearStateMutation(){\n Object.assign(this.stateInstance, {\n menu: [],\n user_info: {\n ID: 0\n },\n perfil: false,\n userLogged: new Usuario()\n })\n }\n\n @Action({ commit: 'updateUserLogged' })\n userLoggedAction(payload: Usuario) {\n return payload\n }\n\n @Action({ commit: 'UPDATE_USER_INFO' })\n AUSER_INFO(payload: any) {\n return payload\n }\n \n @Action({ commit: 'UPDATE_PERFIL' })\n AUPDATE_PERFIL() {\n }\n\n @Action({ commit: 'UPDATE_MENU' })\n AUPDATE_MENU(payload: any) {\n return payload\n }\n\n @Action\n clearAction(){\n this.context.commit( 'clearStateMutation')\n }\n}\n\nexport default getModule(appModule);\n","\nexport enum EstadoUsuarioEnum\n{\n Solicitud = 10,\n ProcesandoSolicitud = 15,\n Activo = 20,\n Rechazado = 30,\n PendDoc = 40,\n DocEnRevision = 45,\n DocRechazada = 48,\n Bloqueado = 50,\n Baja = 60,\n Restringido = 70\n}","\nexport enum EstadoServicioEnum\n{\n Enviado = 1,\n Guardado = 2,\n Cancelado = 3,\n Oferta = 4,\n EnCursoSinCita = 5,\n EnCursoConCita = 6,\n Cobro = 7,\n Cerrado = 8,\n Liquidado = 9,\n EnCurso = 10,\n Revision = 11\n}","\nexport default class EntityIdBase{\n id: number = 0\n idTemp: number = 0\n usuarioModificacion!: number\n fechaModificacion!: Date;\n baja: boolean = false;\n\n get isNew(){\n return this.id === 0;\n }\n\n set isNew(obj: any){\n \n }\n\n equalId(obj: EntityIdBase): boolean{\n if(!this.isNew && !obj.isNew){\n return this.id == obj.id;\n }else{\n if(this.isNew && obj.isNew){\n return this.idTemp == obj.idTemp;\n }else{\n return false;\n }\n }\n }\n}","\nexport enum ActividadEnum\n{\n Reparaciones = 1,\n Taller = 2,\n Abogados = 3,\n ClinicaRehabilitacion = 4,\n Peritos = 5,\n Prevencion = 6,\n Financiacion = 7,\n Energia = 8,\n Telefonia = 9,\n Informatica = 10\n}","import { Http } from '@/services/http.service'\nimport '@/services/util.service'\nimport Servicio from '@/models/entities/Servicio'\nimport GenericService from '@/services/generic.service'\nimport UpdateAsignacionesDtoIn from '@/models/dtos/in/UpdateAsignacionesDtoIn';\nimport UpdateAsignacionesGestorDtoIn from '@/models/dtos/in/UpdateAsignacionesGestorDtoIn';\n\nexport class ServicioService extends GenericService {\n\n constructor(){\n super('servicio')\n }\n\n public GetServiciosReparaciones(): any {\n const params = {\n api: 'Servicio/servicios-reparaciones',\n key: 'id',\n loadParams: {},\n }\n return Http.AspNetData(params)\n }\n\n public GetGremiosReparaciones(): any {\n const params = {\n api: 'Servicio/gremios-reparaciones',\n key: 'id',\n loadParams: {},\n }\n return Http.AspNetData(params)\n }\n\n public GetServiciosTaller(): any {\n const params = {\n api: 'Servicio/servicios-taller',\n key: 'id',\n loadParams: {},\n }\n return Http.AspNetData(params)\n }\n\n public GetServiciosByActividad(actividadId: number): any {\n const params = {\n api: `Servicio/servicios/actividad/${actividadId}`,\n key: 'id',\n loadParams: {},\n }\n return Http.AspNetData(params)\n }\n\n\n public GetServiciosReparacionesByEstados(estados: Array): any {\n const params = {\n api: 'Servicio/servicios-reparaciones-by-estados?' + Http.queryString({ estados: estados.join(',')}) + '&sort=%5B%7B%22selector%22%3A%22id%22%2C%22desc%22%3Atrue%7D%5D',\n key: 'id',\n loadParams: {},\n }\n return Http.AspNetData(params)\n }\n\n public GetGremiosReparacionesByEstados(estados: Array): any {\n const params = {\n api: 'Servicio/gremios-reparaciones-by-estados?' + Http.queryString({ estados: estados.join(',') }) + '&sort=%5B%7B%22selector%22%3A%22id%22%2C%22desc%22%3Atrue%7D%5D',\n key: 'id',\n loadParams: {},\n }\n return Http.AspNetData(params)\n }\n\n public GetServiciosTallerByEstados(estados: Array): any {\n const params = {\n api: 'Servicio/servicios-taller-by-estados?' + Http.queryString({ estados: estados.join(',')}) + '&sort=%5B%7B%22selector%22%3A%22id%22%2C%22desc%22%3Atrue%7D%5D',\n key: 'id',\n loadParams: {},\n }\n return Http.AspNetData(params)\n }\n\n public GetServiciosByEstadosAndActividad(estados: Array, actividadId: number): any {\n const params = {\n api: `Servicio/servicios-by-estados-and-actividad/${actividadId}?${Http.queryString({ estados: estados.join(',')})}&sort=%5B%7B%22selector%22%3A%22id%22%2C%22desc%22%3Atrue%7D%5D`,\n key: 'id',\n loadParams: {},\n }\n return Http.AspNetData(params)\n }\n\n public GetReparacionesByIdWithoutFotos(id: number, loading: boolean = true): Promise {\n return Http.Get({url: this.entity+\"/\"+id+\"/reparaciones/without-fotos\", loading: loading});\n }\n \n \n public GetTallerByIdWithoutFotos(id: number, loading: boolean = true): Promise {\n return Http.Get({url: this.entity+\"/\"+id+\"/taller/without-fotos\", loading: loading});\n }\n \n public GetByIdWithSubservicios(id: number, loading: boolean = true): Promise {\n return Http.Get({url: this.entity+\"/\"+id+\"/with-subservicios\", loading: loading});\n }\n\n public GetReparacionesDtoByIdWithSubservicios(id: number, loading: boolean = true): Promise {\n return Http.Get({url: this.entity+\"/\"+id+\"/reparaciones/dto-with-subservicios\", loading: loading});\n }\n\n public GetTallerDtoById(id: number, loading: boolean = true): Promise {\n return Http.Get({url: this.entity+\"/\"+id+\"/taller/dto\", loading: loading});\n }\n\n public GetReparacionesDtoByIdWithSubserviciosWithoutFotos(id: number, loading: boolean = true): Promise {\n return Http.Get({url: this.entity+\"/\"+id+\"/reparaciones/dto-with-subservicios-without-fotos\", loading: loading});\n }\n\n public GetDtoByIdWithSubserviciosWithoutFotos(id: number, loading: boolean = true): Promise {\n return Http.Get({url: this.entity+\"/\"+id+\"/dto-with-subservicios-without-fotos\", loading: loading});\n }\n \n public GetByIdWithSubserviciosAndVisitas(id: number): Promise {\n return Http.Get({url: this.entity+\"/\"+id+\"/with-subservicios-and-visitas\", loading: false});\n }\n \n public GetDtoByIdWithSubserviciosAndVisitas(id: number): Promise {\n return Http.Get({url: this.entity+\"/\"+id+\"/with-subservicios-and-visitas/dto\", loading: false});\n }\n \n public GetDtoByIdWithVisitas(id: number): Promise {\n return Http.Get({url: this.entity+\"/\"+id+\"/with-visitas/dto\", loading: false});\n }\n \n public GetGremiosBySinCita(): Promise> {\n return Http.Get({url: this.entity+\"/gremios-sin-cita\", loading: false});\n }\n\n public GetContactosDtoByIdPrincipal(id: number, loading: boolean = true): Promise {\n return Http.Get({url: this.entity+\"/\"+id+\"/contactos\", loading: loading});\n }\n\n public isComercialEntidadAbre(entidadAbreId: number): Promise {\n return Http.Get({url: this.entity+\"/IsComercialEntidadAbre/\"+entidadAbreId, loading: false});\n }\n\n public async GuardarServicioAsistente(payload: Servicio) {\n return await Http.Post({\n url: `${this.entity}/GuardarServicioAsistente`,\n data: payload,\n })\n }\n\n public async GuardarServicioAsistenteSync(payload: Servicio) {\n return await Http.Post({\n url: `${this.entity}/GuardarServicioAsistente/sync`,\n data: payload,\n })\n }\n \n public async existsByPoliza(\n servicioId: Number, \n asistenciaId: Number,\n aseguradoraId: Number,\n poliza: string, \n expediente: string): Promise{\n return (await Http.Post({\n url: `${this.entity}/ExistsByPoliza`,\n data: { \"id\": servicioId, \"poliza\": poliza, \"expediente\": expediente, \"asistenciaId\": asistenciaId, \"aseguradoraId\": aseguradoraId },\n }))\n }\n \n public async existsRelacionado(\n servicioId: Number, \n clienteId: Number, \n servicioTipoId: Number,\n asistenciaId: Number,\n aseguradoraId: Number,\n poliza: string, \n expediente: string,\n direccionCompleta: string): Promise{\n return (await Http.Post({\n url: `${this.entity}/ExistsRelacionado`,\n data: { \n \"id\": servicioId, \n clienteId,\n servicioTipoId,\n asistenciaId,\n aseguradoraId,\n poliza, \n expediente, \n direccionCompleta\n },\n }))\n }\n \n public async getRelacionados(\n servicioId: Number, \n clienteId: Number, \n servicioTipoId: Number,\n asistenciaId: Number,\n aseguradoraId: Number,\n poliza: string, \n expediente: string,\n direccionCompleta: string): Promise>{\n return (await Http.Post({\n url: `${this.entity}/GetRelacionados`,\n data: { \n \"id\": servicioId, \n clienteId,\n servicioTipoId,\n asistenciaId,\n aseguradoraId,\n poliza, \n expediente, \n direccionCompleta\n },\n }))\n }\n \n public async getRelacionadosWithCerradosAndLiquidados(\n servicioId: Number, \n clienteId: Number, \n servicioTipoId: Number,\n asistenciaId: Number,\n aseguradoraId: Number,\n poliza: string, \n expediente: string,\n direccionCompleta: string): Promise>{\n return (await Http.Post({\n url: `${this.entity}/GetRelacionadosWithCerradosAndLiquidados`,\n data: { \n \"id\": servicioId, \n clienteId,\n servicioTipoId,\n asistenciaId,\n aseguradoraId,\n poliza, \n expediente, \n direccionCompleta\n },\n }))\n }\n \n public relacionar(id: number, servicioRelacionadoId: number): Promise {\n return Http.Get({url: this.entity+\"/\"+id+\"/relacionar/\"+servicioRelacionadoId, loading: true});\n }\n \n public quitarRelacion(id: number): Promise {\n return Http.Get({url: this.entity+\"/\"+id+\"/quitar-relacion\", loading: true});\n }\n \n public async updateAsignaciones(dto: UpdateAsignacionesDtoIn): Promise{\n return (await Http.Post({\n url: `${this.entity}/update-asignaciones`,\n data: dto,\n }))\n }\n \n public async updateAsignacionesGestor(dto: UpdateAsignacionesGestorDtoIn): Promise{\n return (await Http.Post({\n url: `${this.entity}/update-asignaciones-gestor`,\n data: dto,\n loading: false\n }))\n }\n \n public setAsignacionReparador(id: number, reparadorId: number): Promise {\n return Http.Put({url: this.entity+\"/\"+id+\"/asignar-reparador/\"+reparadorId, loading: true});\n }\n \n public setAsignacionDelegacion(id: number, delegacionId: number): Promise {\n return Http.Post({\n url: this.entity+\"/\"+id+\"/asignar-delegacion/\"+delegacionId, loading: true});\n }\n \n public setAsignacionGestor(id: number, gestorId: number, accion: string): Promise {\n return Http.Put({url: this.entity+\"/\"+id+\"/asignar-gestor/\"+gestorId+\"/\"+accion, loading: true});\n }\n \n public checkSetAsignacionReparador(id: number): Promise {\n return Http.Get({url: this.entity+\"/\"+id+\"/check-asignar-reparador\", loading: false});\n }\n \n public SetGestionCobro(referencia: number, gestionCobro: boolean): Promise {\n return Http.Get({url: this.entity+\"/\"+referencia+\"/set-gestion-cobro\", query: {gestionCobro}});\n }\n \n public SetPagoComercial(referencia: number, pagoComercial: boolean): Promise {\n return Http.Get({url: this.entity+\"/\"+referencia+\"/set-pago-comercial\", query: {pagoComercial}});\n }\n \n public cancelar(id: number): Promise {\n return Http.Get({url: this.entity+\"/\"+id+\"/cancelar\", loading: true});\n }\n\n public async EliminarDocumento(uuid: string) {\n return (await Http.Post({\n url: `${this.entity}/EliminarDocumento`,\n query: { uuid },\n }))\n }\n\n public async DescargarDocumento(uuid: string) {\n return (await Http.DownloadFile({\n url: `${this.entity}/DescargarDocumento`,\n query: { uuid },\n }))\n } \n \n public async Bloquear(id: number): Promise {\n return await Http.Post({\n url: `${this.entity}/Bloquear`,\n query: { id },\n loading: false\n })\n }\n\n public async Desbloquear(id: number) {\n return (await Http.Post({\n url: `${this.entity}/Desbloquear`,\n query: { id },\n loading: false\n }))\n } \n\n public async EstaBloqueado(id: number) {\n return (await Http.Post({\n url: `${this.entity}/EstaBloqueado`,\n query: { id },\n loading: false\n }))\n } \n \n \n public async BloquearReferencia(id: number): Promise {\n return await Http.Post({\n url: `${this.entity}/BloquearReferencia`,\n query: { id },\n loading: false\n })\n }\n\n public async DesbloquearReferencia(id: number) {\n return (await Http.Post({\n url: `${this.entity}/DesbloquearReferencia`,\n query: { id },\n loading: false\n }))\n } \n\n public async EstaBloqueadoReferencia(id: number) {\n return (await Http.Post({\n url: `${this.entity}/EstaBloqueadoReferencia`,\n query: { id },\n loading: false\n }))\n } \n\n public async SetTrabajosTerminados(id: number) {\n return (await Http.Post({\n url: `${this.entity}/${id}/trabajos-terminados`,\n loading: true\n }))\n } \n\n public async SetComisiones(id: number, dto: any) {\n return (await Http.Post({\n url: `${this.entity}/${id}/comisiones`,\n data: dto,\n loading: true\n }))\n } \n\n public get APIKEY(){\n return Http.APIKEY;\n }\n}\n\nexport const servicioService = new ServicioService()\n","import Servicio from './Servicio';\nimport EntityIdBase from './EntityIdBase';\nimport Usuario from './Usuario';\nimport Documento from './Documento';\nimport ServicioTarifaCodigo from './ServicioTarifaCodigo';\nimport ServicioCobro from './ServicioCobro';\n\nexport default class ServicioVisita extends EntityIdBase {\n codigo: string = ''\n citaId: number = 0;\n\n servicioId: number = 0;\n servicio!: Servicio\n referencia: number = 0\n\n operarioId: number = 0;\n operario!: Usuario\n\n tiempoCortesia: Date | string | null = '';\n fechaInicio: Date | string | null = '';\n fechaFin!: Date;\n\n tiempoEnSegundos: number = 0;\n estado: string = 'PENDIENTE'\n\n soloLecturaCobertura: boolean = true;\n conCobertura: boolean = false;\n sinCobertura: boolean = false;\n sinDeterminarCobertura: boolean = false;\n\n trabajosRealizadosPresupuesto: string = '';\n trabajosRealizadosFacturacion: string = '';\n trabajosRealizadosFacturacionHistorico: string = '';\n trabajosPendientes: string = '';\n trabajosTerminados: boolean = false;\n formaPago: string = '';\n\n ningunGremio: boolean = false;\n gremiosNecesarios: string = '';\n iva: number = -1;\n\n fotosPrevias: Array = []\n fotosAntes: Array = []\n fotosDurante: Array = []\n fotosDespues: Array = []\n servicioTarifaCodigos: Array = []\n servicioCobros: Array = []\n}","\nexport enum EstadoDocumentoEnum\n{\n SinDocumento = 1,\n ConDocumento = 2,\n Aceptado = 3,\n Rechazado = 4\n}","module.exports = __webpack_public_path__ + \"img/logo.f88b1c56.png\";","import * as signalR from \"@microsoft/signalr\";\nimport { Response } from \"@/models/Response\"\nimport ConfigProvider from '@/config/configProvider';\nimport { $util } from '@/services/util.service';\n\nexport class WebSocketService {\n\n private connection!: signalR.HubConnection;\n private _apiKey: string = ''\n private methodsArray: Array = [];\n\n constructor(){\n\n }\n\n async start() : Promise {\n\n if(this.apiKey !== ''){\n if (this.connection === undefined || this.connection.state === \"Disconnected\") {\n this.connection = new signalR.HubConnectionBuilder()\n .withUrl(ConfigProvider.value('endpointAPI') + \"/signalr\", \n { \n transport: signalR.HttpTransportType.WebSockets, \n accessTokenFactory: () => this.apiKey \n })\n .configureLogging(signalR.LogLevel.Information)\n .build();\n\n if(this.connection){\n try {\n await this.connection.start();\n\n console.log(\"SignalR connected\");\n\n $util.emit('signalrConnected', true)\n \n if(this.methodsArray.length > 0)\n this.methodsArray.forEach((x: any) => this.on(x.id, x.idSource, x.callback));\n \n } catch (err) {\n console.log(err);\n setTimeout(() => this.start(), 15000);\n }\n this.connection.onclose(async () => {\n await this.start();\n });\n }\n }\n }else{\n console.log(\"No hay usuario, no se puede conectar con SignalR\", this.start.name);\n }\n return this.connectionId;\n }\n\n on(id: string, idSource: string, callback: Function){\n if(this.connection && this.connection.state === \"Connected\"){\n \n if(!_.some(this.methodsArray, (x: any) => x.id === id && x.idSource === idSource))\n this.methodsArray.push({id: id, idSource: idSource, callback: callback});\n\n this.connection.on(id, (ret: string) => {\n let response = JSON.parse(ret);\n \n if(response.message !== null && response.message !== undefined && response.message !== \"\"){\n this.processError(response.message)\n }else{\n callback(response.body);\n }\n });\n }\n } \n\n off(id: string, idSource: string){\n if(this.connection && this.connection.state === \"Connected\"){\n if(_.some(this.methodsArray, (x: any) => x.id === id && x.idSource === idSource))\n _.remove(this.methodsArray, (x: any) => x.id === id && x.idSource === idSource)\n\n if(!_.some(this.methodsArray, (x: any) => x.id === id))\n this.connection.off(id); \n }\n }\n\n async disconnect() {\n if (this.connection) {\n this._apiKey = '';\n this.methodsArray = [];\n await this.connection.stop();\n console.log(\"SignalR disconnected\");\n }\n }\n\n online(): boolean {\n return this.connection && this.connection.state === \"Connected\";\n }\n\n get getOnline(): boolean {\n return this.connection && this.connection.state === \"Connected\";\n }\n\n get connectionId(): string | null {\n if (this.connection)\n return this.connection.connectionId;\n \n return '';\n }\n\n get apiKey(): string {\n if(this._apiKey === ''){\n this._apiKey = localStorage.getItem(ConfigProvider.value('tokenName')) || ''\n this._apiKey = this._apiKey.replace('Bearer ', '');\n }\n return this._apiKey\n }\n\n private processError(error: any) {\n if(error.level === 'Error'){\n $util.notifyError('Ha ocurrido un error en el servidor.')\n }else{\n $util.notifyError(error.message)\n }\n console.error(error.message);\n }\n}\n\nexport const webSocketService = new WebSocketService();","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./xi-popup-confirm.vue?vue&type=style&index=0&id=e7a93434&scoped=true&lang=css&\"","import { Http } from '@/services/http.service'\nimport '@/services/util.service'\nimport QueryRealizarServicioEnDireccionDtoIn from '@/models/dtos/in/QueryRealizarServicioEnDireccionDtoIn'\nimport QueryRealizarServicioEnDireccionDtoOut from '@/models/dtos/out/QueryRealizarServicioEnDireccionDtoOut';\nimport UsuarioDireccion from '@/models/entities/UsuarioDireccion';\nimport QueryDireccionesRealizarServicioByUsuarioDtoIn from '@/models/dtos/in/QueryDireccionesRealizarServicioByUsuarioDtoIn';\nimport TallerDto from '@/models/dtos/out/TallerDto';\nimport QueryTallerDtoIn from '@/models/dtos/in/QueryTallerDtoIn';\n\n\nexport class DistanceService {\n \n constructor(){\n }\n\n public GetDireccionesRealizarServicioByUsuario(dto: QueryDireccionesRealizarServicioByUsuarioDtoIn): Promise> {\n return Http.Post({url: 'distance/direcciones-realizar-servicio-by-usuario', data: dto, loading: false});\n }\n\n public GetUsuariosRealizarServicioEnDireccion(dto: QueryRealizarServicioEnDireccionDtoIn): Promise {\n return Http.Post({url: 'distance/usuarios-realizar-servicio-en-direccion', data: dto, loading: false});\n }\n\n public GetUsuariosRealizarServicioEnDireccionVista(dto: QueryRealizarServicioEnDireccionDtoIn): Promise {\n return Http.Post({url: 'distance/usuarios-realizar-servicio-en-direccion-vista', data: dto, loading: false});\n }\n\n public ValidarRealizarServicioEnDireccion(dto: QueryRealizarServicioEnDireccionDtoIn): Promise {\n return Http.Post({url: 'distance/validar-realizar-servicio-en-direccion', data: dto, loading: false});\n }\n\n public CheckEntidadRealizarServicioEnDireccion(dto: QueryRealizarServicioEnDireccionDtoIn): Promise {\n return Http.Post({url: 'distance/check-entidad-realizar-servicio-en-direccion', data: dto, loading: false});\n }\n\n public GeolocalizarUsuarioDireccion(dto: UsuarioDireccion): Promise {\n return Http.Post({url: 'distance/geolocalizar-usuario-direccion', data: dto, loading: false});\n }\n\n public GetDelegacionMasCercana(dto: QueryRealizarServicioEnDireccionDtoIn): Promise {\n return Http.Post({url: 'distance/delegacion-mas-cercana', data: dto, loading: false});\n }\n\n public GetTalleres(dto: QueryTallerDtoIn): Promise> {\n return Http.Post({url: 'distance/talleres', data: dto, loading: false});\n }\n}\n\nexport const distanceService = new DistanceService()\n","import Vue from 'vue'\nimport VueRouter from 'vue-router'\n\nimport { Http } from '@/services/http.service'\n// @ts-ignore\nimport NProgress from 'nprogress'\nimport store from '@/store'\nimport { $util } from '@/services/util.service'\nimport { webSocketService } from '@/services/WebSocketService'\nimport { servicioVisitaApplicationService } from '@/services/application/servicioVisita.application.service'\nimport Password from '@/views/pages/entidad/password.vue'\nimport { EstadoUsuarioEnum } from '@/models/enums/EstadoUsuarioEnum'\n\nconst inicio = () => import(/* webpackChunkName: \"inicio\" */'@/views/pages/dashboard/inicio.vue')\nconst home = () => import(/* webpackChunkName: \"inicio\" */'@/views/Home.vue')\nconst redirectTo = () => import(/* webpackChunkName: \"inicio\" */'@/views/pages/redirectTo.vue')\nconst clientes = () => import(/* webpackChunkName: \"clientes\" */'@/views/pages/clientes/clientes.vue')\nconst clienteEdit = () => import(/* webpackChunkName: \"clienteEdit\" */'@/views/pages/clientes/cliente-edit.vue')\nconst zonas = () => import(/* webpackChunkName: \"zonas\" */'@/views/pages/zonas/zonas.vue')\nconst zonaEdit = () => import(/* webpackChunkName: \"zonas\" */'@/views/pages/zonas/zona-edit.vue')\nconst usuarioEditTabs = () => import(/* webpackChunkName: \"usuarioEdit\" */'@/views/pages/usuarios/usuario-edit-tabs.vue')\nconst servicios = () => import(/* webpackChunkName: \"servicios\" */'@/views/pages/servicios/servicios.vue')\nconst asistente = () => import(/* webpackChunkName: \"asistente\" */'@/views/pages/servicios/asistente/asistente.vue')\n\nconst asistenteSubservicio = () => import(/* webpackChunkName: \"asistenteSubservicio\" */'@/views/pages/servicios/asistente/reparaciones/asistente-subservicio.vue')\nconst ofertaReparaciones = () => import(/* webpackChunkName: \"ofertaReparaciones\" */'@/views/pages/servicios/oferta/oferta-detail/oferta-detail-reparaciones.vue')\nconst ofertaTaller = () => import(/* webpackChunkName: \"ofertaTaller\" */'@/views/pages/servicios/oferta/oferta-detail/oferta-detail-taller.vue')\nconst ofertaAbogados = () => import(/* webpackChunkName: \"ofertaAbogados\" */'@/views/pages/servicios/oferta/oferta-detail/oferta-detail-abogados.vue')\nconst ofertaClinicaRehabilitacion = () => import(/* webpackChunkName: \"ofertaClinicaRehabilitacion\" */'@/views/pages/servicios/oferta/oferta-detail/oferta-detail-clinica-rehabilitacion.vue')\nconst ofertaPeritos = () => import(/* webpackChunkName: \"ofertaPeritos\" */'@/views/pages/servicios/oferta/oferta-detail/oferta-detail-peritos.vue')\nconst ofertaPrevencion = () => import(/* webpackChunkName: \"ofertaPrevencion\" */'@/views/pages/servicios/oferta/oferta-detail/oferta-detail-prevencion.vue')\nconst ofertaFinanciacion = () => import(/* webpackChunkName: \"ofertaFinanciacion\" */'@/views/pages/servicios/oferta/oferta-detail/oferta-detail-financiacion.vue')\nconst ofertaEnergia = () => import(/* webpackChunkName: \"ofertaEnergia\" */'@/views/pages/servicios/oferta/oferta-detail/oferta-detail-energia.vue')\nconst ofertaTelefonia = () => import(/* webpackChunkName: \"ofertaTelefonia\" */'@/views/pages/servicios/oferta/oferta-detail/oferta-detail-telefonia.vue')\nconst ofertaInformatica = () => import(/* webpackChunkName: \"ofertaInformatica\" */'@/views/pages/servicios/oferta/oferta-detail/oferta-detail-informatica.vue')\nconst ofertaList = () => import(/* webpackChunkName: \"ofertaList\" */'@/views/pages/servicios/oferta/oferta-list.vue')\n\nconst servicioDetailReparacionesTabs = () => import(/* webpackChunkName: \"servicioDetailReparacionesTabs\" */'@/views/pages/servicios/detail/reparaciones/servicio-detail-reparaciones-tabs.vue')\nconst servicioDetailTallerTabs = () => import(/* webpackChunkName: \"servicioDetailTallerTabs\" */'@/views/pages/servicios/detail/taller/servicio-detail-taller-tabs.vue')\nconst servicioDetailAbogadosTabs = () => import(/* webpackChunkName: \"servicioDetailAbogadosTabs\" */'@/views/pages/servicios/detail/abogados/servicio-detail-abogados-tabs.vue')\nconst servicioDetailClinicaRehabilitacionTabs = () => import(/* webpackChunkName: \"servicioDetailClinicaRehabilitacionTabs\" */'@/views/pages/servicios/detail/clinica-rehabilitacion/servicio-detail-clinica-rehabilitacion-tabs.vue')\nconst servicioDetailPeritosTabs = () => import(/* webpackChunkName: \"servicioDetailPeritosTabs\" */'@/views/pages/servicios/detail/peritos/servicio-detail-peritos-tabs.vue')\nconst servicioDetailPrevencionTabs = () => import(/* webpackChunkName: \"servicioDetailPrevencionTabs\" */'@/views/pages/servicios/detail/prevencion/servicio-detail-prevencion-tabs.vue')\nconst servicioDetailFinanciacionTabs = () => import(/* webpackChunkName: \"servicioDetailFinanciacionTabs\" */'@/views/pages/servicios/detail/financiacion/servicio-detail-financiacion-tabs.vue')\nconst servicioDetailEnergiaTabs = () => import(/* webpackChunkName: \"servicioDetailEnergiaTabs\" */'@/views/pages/servicios/detail/energia/servicio-detail-energia-tabs.vue')\nconst servicioDetailTelefoniaTabs = () => import(/* webpackChunkName: \"servicioDetailTelefoniaTabs\" */'@/views/pages/servicios/detail/telefonia/servicio-detail-telefonia-tabs.vue')\nconst servicioDetailInformaticaTabs = () => import(/* webpackChunkName: \"servicioDetailInformaticaTabs\" */'@/views/pages/servicios/detail/informatica/servicio-detail-informatica-tabs.vue')\n\nconst grupoConfiguracion = () => import(/* webpackChunkName: \"grupoConfiguracionView\" */'@/views/pages/maestros/configuracion-usuarios/grupoConfiguracionView.vue')\nconst configuracion = () => import(/* webpackChunkName: \"configuracionView\" */ '@/views/pages/maestros/configuracion-usuarios/configuracionView.vue')\nconst tipoDocumento = () => import(/* webpackChunkName: \"tipoDocumentoView\" */'@/views/pages/maestros/configuracion-documentacion/tipoDocumentoView.vue')\nconst empresaAsistenciaList = () => import(/* webpackChunkName: \"empresaAsistenciaListView\" */'@/views/pages/maestros/empresa-asistencia/empresa-asistencia-list.vue')\nconst empresaAsistenciaEdit = () => import(/* webpackChunkName: \"empresaAsistenciaEditView\" */'@/views/pages/maestros/empresa-asistencia/empresa-asistencia-edit-tabs.vue')\nconst configuracionRolList = () => import(/* webpackChunkName: \"configuracionRolList\" */'@/views/pages/maestros/configuracion-rol/configuracion-rol-list.vue')\nconst configuracionRolEdit = () => import(/* webpackChunkName: \"configuracionRolEdit\" */'@/views/pages/maestros/configuracion-rol/configuracion-rol-edit-tabs.vue')\nconst aseguradoraList = () => import(/* webpackChunkName: \"aseguradoraListView\" */'@/views/pages/maestros/aseguradora/aseguradoraListView.vue')\nconst tarifaList = () => import(/* webpackChunkName: \"tarifaListView\" */'@/views/pages/tarifas/tarifa-list.vue')\nconst tarifaDetail = () => import(/* webpackChunkName: \"tarifaDetail\" */'@/views/pages/tarifas/tarifa-detail-tabs.vue')\nconst maestrosTarifaList = () => import(/* webpackChunkName: \"maestrosTarifaList\" */'@/views/pages/maestros/tarifas/tarifa-list.vue')\nconst tarifaCreate = () => import(/* webpackChunkName: \"tarifaCreate\" */'@/views/pages/maestros/tarifas/tarifa-create-tabs.vue')\nconst tarifaEdit = () => import(/* webpackChunkName: \"tarifaEdit\" */'@/views/pages/maestros/tarifas/tarifa-edit-tabs.vue')\nconst test = () => import(/* webpackChunkName: \"testView\" */'@/views/pages/test/test.vue')\nconst tipoAvisoList = () => import(/* webpackChunkName: \"tipoAvisoListView\" */'@/views/pages/maestros/tipo-aviso/tipo-aviso-list.vue')\nconst visitaTabs = () => import(/* webpackChunkName: \"visitaTabs\" */'@/views/pages/servicios/visita/visita-tabs.vue')\nconst liquidaciones = () => import(/* webpackChunkName: \"liquidaciones\" */'@/views/pages/liquidaciones/liquidaciones.vue')\nconst liquidacionesHistorico = () => import(/* webpackChunkName: \"liquidacionesHistorico\" */'@/views/pages/liquidaciones/liquidaciones-historico.vue')\nconst liquidacionesHistoricoDetail = () => import(/* webpackChunkName: \"liquidacionesHistoricoDetail\" */'@/views/pages/liquidaciones/liquidaciones-historico-detail.vue')\nconst ayudaMaestros = () => import(/* webpackChunkName: \"ayudaMaestros\" */'@/views/pages/maestros/ayuda/ayuda-list.vue')\nconst ayuda = () => import(/* webpackChunkName: \"ayudaView\" */'@/views/pages/ayuda/ayuda.vue')\nconst logsList = () => import(/* webpackChunkName: \"logsList\" */'@/views/pages/logs/logs-list.vue')\nconst facturaListView = () => import(/* webpackChunkName: \"facturaListView\" */'@/views/pages/facturas/facturas-list-view.vue')\nconst facturaClienteDetail = () => import(/* webpackChunkName: \"facturaClienteDetail\" */'@/views/pages/facturas/factura-cliente-detail.vue')\nconst facturaLiquidacionDetail = () => import(/* webpackChunkName: \"facturaLiquidacionDetail\" */'@/views/pages/facturas/factura-liquidacion-detail.vue')\nconst servicioDetailReparacionesPresupuestoDetail = () => import(/* webpackChunkName: \"servicioDetailReparacionesPresupuestoDetail\" */'@/views/pages/servicios/detail/reparaciones/presupuesto/servicio-detail-reparaciones-presupuesto-detail.vue')\nconst servicioDetailTallerPresupuestoDetail = () => import(/* webpackChunkName: \"servicioDetailTallerPresupuestoDetail\" */'@/views/pages/servicios/detail/base/presupuesto/servicio-detail-base-presupuesto-detail.vue')\nconst servicioDocumentoViewer = () => import(/* webpackChunkName: \"servicioDocumentoViewer\" */'@/views/pages/servicios/documento/servicio-documento-viewer.vue')\nconst servicioDocumentoViewerReparacionesInformeAseguradora = () => import(/* webpackChunkName: \"servicioDocumentoViewerReparacionesInformeAseguradora\" */'@/views/pages/servicios/documento/servicio-documento-viewer-reparaciones-informe-aseguradora.vue')\nconst servicioDocumentoViewerTallerInformeAseguradora = () => import(/* webpackChunkName: \"servicioDocumentoViewerTallerInformeAseguradora\" */'@/views/pages/servicios/documento/servicio-documento-viewer-taller-informe-aseguradora.vue')\n\nconst meta = { requiresAuth: true }\n\nVue.use(VueRouter)\n\nconst router = new VueRouter({\n mode: 'history',\n base: process.env.BASE_URL,\n scrollBehavior() {\n return { x: 0, y: 0 }\n },\n routes: [\n {\n path: '/', redirect: '/servicios', meta,\n },\n {\n path: '/inicio', name: 'inicio', component: inicio, meta,\n },\n {\n path: '/home', name: 'home', component: home, meta,\n },\n {\n path: '/r', name: 'redirectTo', component: redirectTo, meta,\n },\n {\n path: '/avisos',\n name: 'avisos',\n component: () => import(/* webpackChunkName: \"avisos\" */ '@/views/pages/avisos/avisos.vue'),\n meta,\n },\n {\n path: '/servicios',\n name: 'servicios',\n component: servicios,\n meta,\n },\n {\n path: '/citas',\n name: 'citas',\n component: () => import(/* webpackChunkName: \"citas\" */ '@/views/pages/citas/citas.vue'),\n meta,\n },\n {\n path: '/usuarios',\n name: 'usuarios',\n component: () => import(/* webpackChunkName: \"usuarios\" */ '@/views/pages/usuarios/usuarios.vue'),\n meta,\n },\n {\n path: '/clientes',\n name: 'clientes',\n component: clientes,\n meta,\n },\n {\n path: '/maestros/zonas',\n name: 'zonas',\n component: zonas,\n meta,\n },\n {\n path: '/maestros/zonas/edit/:id',\n name: 'zona-edit',\n component: zonaEdit,\n meta,\n },\n {\n path: '/cliente/edit/:id',\n name: 'cliente-edit',\n component: clienteEdit,\n meta,\n },\n {\n path: '/usuario/edit/:id',\n name: 'usuario-edit',\n component: usuarioEditTabs,\n meta,\n },\n {\n path: '/servicios/nuevo',\n name: 'servicio-nuevo',\n component: asistente,\n meta,\n },\n {\n path: '/servicios/nuevo-cliente',\n name: 'servicio-nuevo-cliente',\n component: asistente,\n meta,\n },\n {\n path: '/servicios/nuevo/:servicioId',\n name: 'servicio-nuevo-subservicio',\n component: asistenteSubservicio,\n meta,\n },\n {\n path: '/servicios/guardado/:servicioId',\n name: 'servicio-guardado',\n component: asistente,\n meta,\n },\n {\n path: '/servicios/guardado-cliente/:servicioId',\n name: 'servicio-guardado-cliente',\n component: asistente,\n meta,\n },\n {\n path: '/servicios/guardado/:servicioId',\n name: 'subservicio-guardado',\n component: asistenteSubservicio,\n meta,\n },\n {\n path: '/servicios/gremio/guardado/:servicioId',\n name: 'subservicio-gremio-guardado',\n component: asistenteSubservicio,\n meta,\n },\n {\n path: '/servicios/oferta/:servicioId',\n name: 'servicio-oferta',\n component: ofertaReparaciones,\n meta,\n },\n {\n path: '/servicios/oferta-reparaciones/:servicioId',\n name: 'servicio-oferta-reparaciones',\n component: ofertaReparaciones,\n meta,\n },\n {\n path: '/servicios/oferta-taller/:servicioId',\n name: 'servicio-oferta-taller',\n component: ofertaTaller,\n meta,\n },\n {\n path: '/servicios/oferta-abogados/:servicioId',\n name: 'servicio-oferta-abogados',\n component: ofertaAbogados,\n meta,\n },\n {\n path: '/servicios/oferta-clinica-rehabilitacion/:servicioId',\n name: 'servicio-oferta-clinica-rehabilitacion',\n component: ofertaClinicaRehabilitacion,\n meta,\n },\n {\n path: '/servicios/oferta-peritos/:servicioId',\n name: 'servicio-oferta-peritos',\n component: ofertaPeritos,\n meta,\n },\n {\n path: '/servicios/oferta-prevencion/:servicioId',\n name: 'servicio-oferta-prevencion',\n component: ofertaPrevencion,\n meta,\n },\n {\n path: '/servicios/oferta-financiacion/:servicioId',\n name: 'servicio-oferta-financiacion',\n component: ofertaFinanciacion,\n meta,\n },\n {\n path: '/servicios/oferta-energia/:servicioId',\n name: 'servicio-oferta-energia',\n component: ofertaEnergia,\n meta,\n },\n {\n path: '/servicios/oferta-telefonia/:servicioId',\n name: 'servicio-oferta-telefonia',\n component: ofertaTelefonia,\n meta,\n },\n {\n path: '/servicios/oferta-informatica/:servicioId',\n name: 'servicio-oferta-informatica',\n component: ofertaInformatica,\n meta,\n },\n {\n path: '/servicios/oferta-reparaciones/:servicioId',\n name: 'servicio-enviado-taller',\n component: ofertaTaller,\n meta,\n },\n {\n path: '/ofertas',\n name: 'ofertas',\n component: ofertaList,\n meta,\n },\n {\n path: '/servicios/servicio-reparaciones/:servicioId',\n name: 'servicio-detalle-reparaciones',\n component: servicioDetailReparacionesTabs,\n meta,\n },\n {\n path: '/servicios/servicio-taller/:servicioId',\n name: 'servicio-detalle-taller',\n component: servicioDetailTallerTabs,\n meta,\n },\n {\n path: '/servicios/servicio-abogados/:servicioId',\n name: 'servicio-detalle-abogados',\n component: servicioDetailAbogadosTabs,\n meta,\n },\n {\n path: '/servicios/servicio-clinica-rehabilitacion/:servicioId',\n name: 'servicio-detalle-clinica-rehabilitacion',\n component: servicioDetailClinicaRehabilitacionTabs,\n meta,\n },\n {\n path: '/servicios/servicio-peritos/:servicioId',\n name: 'servicio-detalle-peritos',\n component: servicioDetailPeritosTabs,\n meta,\n },\n {\n path: '/servicios/servicio-prevencion/:servicioId',\n name: 'servicio-detalle-prevencion',\n component: servicioDetailPrevencionTabs,\n meta,\n },\n {\n path: '/servicios/servicio-financiacion/:servicioId',\n name: 'servicio-detalle-financiacion',\n component: servicioDetailFinanciacionTabs,\n meta,\n },\n {\n path: '/servicios/servicio-energia/:servicioId',\n name: 'servicio-detalle-energia',\n component: servicioDetailEnergiaTabs,\n meta,\n },\n {\n path: '/servicios/servicio-telefonia/:servicioId',\n name: 'servicio-detalle-telefonia',\n component: servicioDetailTelefoniaTabs,\n meta,\n },\n {\n path: '/servicios/servicio-informatica/:servicioId',\n name: 'servicio-detalle-informatica',\n component: servicioDetailInformaticaTabs,\n meta,\n },\n {\n path: '/servicios/servicio-reparaciones/gremio/:servicioId',\n name: 'servicio-detalle-reparaciones-gremio',\n component: servicioDetailReparacionesTabs,\n meta,\n },\n {\n path: '/servicios/visita/:visitaId',\n name: 'visita',\n component: visitaTabs,\n meta,\n },\n {\n path: '/servicios/servicio-reparaciones/:servicioId/documento/:id',\n name: 'servicio-detalle-reparaciones-documento',\n component: servicioDocumentoViewer,\n meta,\n },\n {\n path: '/servicios/servicio-reparaciones/gremio/:servicioId/documento/:id',\n name: 'servicio-detalle-reparaciones-gremio-documento',\n component: servicioDocumentoViewer,\n meta,\n },\n {\n path: '/servicios/servicio-reparaciones/:servicioId/documento-informe-aseguradora',\n name: 'servicio-detalle-reparaciones-documento-informe-aseguradora',\n component: servicioDocumentoViewerReparacionesInformeAseguradora,\n meta,\n },\n {\n path: '/servicios/servicio-taller/:servicioId/documento/:id',\n name: 'servicio-detalle-taller-documento',\n component: servicioDocumentoViewer,\n meta,\n },\n {\n path: '/servicios/servicio-taller/gremio/:servicioId/documento/:id',\n name: 'servicio-detalle-taller-gremio-documento',\n component: servicioDocumentoViewer,\n meta,\n },\n {\n path: '/servicios/servicio-taller/:servicioId/documento-informe-aseguradora',\n name: 'servicio-detalle-taller-documento-informe-aseguradora',\n component: servicioDocumentoViewerTallerInformeAseguradora,\n meta,\n },\n\n {\n path: '/servicios/servicio-abogados/:servicioId/documento/:id',\n name: 'servicio-detalle-abogados-documento',\n component: servicioDocumentoViewer,\n meta,\n },\n {\n path: '/servicios/servicio-abogados/gremio/:servicioId/documento/:id',\n name: 'servicio-detalle-abogados-gremio-documento',\n component: servicioDocumentoViewer,\n meta,\n },\n {\n path: '/servicios/servicio-abogados/:servicioId/documento-informe-aseguradora',\n name: 'servicio-detalle-abogados-documento-informe-aseguradora',\n component: servicioDocumentoViewerTallerInformeAseguradora,\n meta,\n },\n\n {\n path: '/servicios/servicio-clinica-rehabilitacion/:servicioId/documento/:id',\n name: 'servicio-detalle-clinica-rehabilitacion-documento',\n component: servicioDocumentoViewer,\n meta,\n },\n {\n path: '/servicios/servicio-clinica-rehabilitacion/gremio/:servicioId/documento/:id',\n name: 'servicio-detalle-clinica-rehabilitacion-gremio-documento',\n component: servicioDocumentoViewer,\n meta,\n },\n {\n path: '/servicios/servicio-clinica-rehabilitacion/:servicioId/documento-informe-aseguradora',\n name: 'servicio-detalle-clinica-rehabilitacion-documento-informe-aseguradora',\n component: servicioDocumentoViewerTallerInformeAseguradora,\n meta,\n },\n\n {\n path: '/servicios/servicio-peritos/:servicioId/documento/:id',\n name: 'servicio-detalle-peritos-documento',\n component: servicioDocumentoViewer,\n meta,\n },\n {\n path: '/servicios/servicio-peritos/gremio/:servicioId/documento/:id',\n name: 'servicio-detalle-peritos-gremio-documento',\n component: servicioDocumentoViewer,\n meta,\n },\n {\n path: '/servicios/servicio-peritos/:servicioId/documento-informe-aseguradora',\n name: 'servicio-detalle-peritos-documento-informe-aseguradora',\n component: servicioDocumentoViewerTallerInformeAseguradora,\n meta,\n },\n\n {\n path: '/servicios/servicio-prevencion/:servicioId/documento/:id',\n name: 'servicio-detalle-prevencion-documento',\n component: servicioDocumentoViewer,\n meta,\n },\n {\n path: '/servicios/servicio-prevencion/gremio/:servicioId/documento/:id',\n name: 'servicio-detalle-prevencion-gremio-documento',\n component: servicioDocumentoViewer,\n meta,\n },\n {\n path: '/servicios/servicio-prevencion/:servicioId/documento-informe-aseguradora',\n name: 'servicio-detalle-prevencion-documento-informe-aseguradora',\n component: servicioDocumentoViewerTallerInformeAseguradora,\n meta,\n },\n\n {\n path: '/servicios/servicio-financiacion/:servicioId/documento/:id',\n name: 'servicio-detalle-financiacion-documento',\n component: servicioDocumentoViewer,\n meta,\n },\n {\n path: '/servicios/servicio-financiacion/gremio/:servicioId/documento/:id',\n name: 'servicio-detalle-financiacion-gremio-documento',\n component: servicioDocumentoViewer,\n meta,\n },\n {\n path: '/servicios/servicio-financiacion/:servicioId/documento-informe-aseguradora',\n name: 'servicio-detalle-financiacion-documento-informe-aseguradora',\n component: servicioDocumentoViewerTallerInformeAseguradora,\n meta,\n },\n\n {\n path: '/servicios/servicio-energia/:servicioId/documento/:id',\n name: 'servicio-detalle-energia-documento',\n component: servicioDocumentoViewer,\n meta,\n },\n {\n path: '/servicios/servicio-energia/gremio/:servicioId/documento/:id',\n name: 'servicio-detalle-energia-gremio-documento',\n component: servicioDocumentoViewer,\n meta,\n },\n {\n path: '/servicios/servicio-energia/:servicioId/documento-informe-aseguradora',\n name: 'servicio-detalle-energia-documento-informe-aseguradora',\n component: servicioDocumentoViewerTallerInformeAseguradora,\n meta,\n },\n\n {\n path: '/servicios/servicio-telefonia/:servicioId/documento/:id',\n name: 'servicio-detalle-telefonia-documento',\n component: servicioDocumentoViewer,\n meta,\n },\n {\n path: '/servicios/servicio-telefonia/gremio/:servicioId/documento/:id',\n name: 'servicio-detalle-telefonia-gremio-documento',\n component: servicioDocumentoViewer,\n meta,\n },\n {\n path: '/servicios/servicio-telefonia/:servicioId/documento-informe-aseguradora',\n name: 'servicio-detalle-telefonia-documento-informe-aseguradora',\n component: servicioDocumentoViewerTallerInformeAseguradora,\n meta,\n },\n\n {\n path: '/servicios/servicio-informatica/:servicioId/documento/:id',\n name: 'servicio-detalle-informatica-documento',\n component: servicioDocumentoViewer,\n meta,\n },\n {\n path: '/servicios/servicio-informatica/gremio/:servicioId/documento/:id',\n name: 'servicio-detalle-informatica-gremio-documento',\n component: servicioDocumentoViewer,\n meta,\n },\n {\n path: '/servicios/servicio-informatica/:servicioId/documento-informe-aseguradora',\n name: 'servicio-detalle-informatica-documento-informe-aseguradora',\n component: servicioDocumentoViewerTallerInformeAseguradora,\n meta,\n },\n\n {\n path: '/maestros/documentos',\n name: 'maestros-documentos',\n component: tipoDocumento,\n meta,\n },\n {\n path: '/maestros/empresa-asistencia',\n name: 'maestros-empresa-asistencia',\n component: empresaAsistenciaList,\n meta,\n },\n {\n path: '/maestros/empresa-asistencia/edit/:id',\n name: 'empresa-asistencia-edit',\n component: empresaAsistenciaEdit,\n meta,\n },\n {\n path: '/maestros/taricom',\n name: 'maestros-taricom',\n component: maestrosTarifaList,\n meta,\n },\n {\n path: '/maestros/taricom/nuevo',\n name: 'maestros-taricom-create',\n component: tarifaCreate,\n meta,\n },\n {\n path: '/maestros/taricom/edit/:id',\n name: 'maestros-taricom-edit',\n component: tarifaEdit,\n meta,\n },\n {\n path: '/tarifas',\n name: 'tarifas',\n component: tarifaList,\n meta,\n },\n {\n path: '/tarifas/:id',\n name: 'taricom-detail',\n component: tarifaDetail,\n meta,\n },\n {\n path: '/maestros/usuarios',\n name: 'maestros-usuarios',\n component: configuracionRolList,\n meta,\n },\n {\n path: '/maestros/usuarios/edit/:id',\n name: 'configuracion-rol-edit',\n component: configuracionRolEdit,\n meta,\n },\n {\n path: '/maestros/aseguradora',\n name: 'maestros-companyias-aseguradoras',\n component: aseguradoraList,\n meta,\n },\n {\n path: '/maestros/tipos-aviso',\n name: 'tipos-aviso',\n component: tipoAvisoList,\n meta,\n },\n {\n path: '/test',\n name: 'test',\n component: test,\n meta,\n },\n {\n path: '/configuracion',\n name: 'configuracion',\n component: configuracion,\n meta,\n },\n {\n path: '/grupoConfiguracion',\n name: 'grupoConfiguracion',\n component: grupoConfiguracion,\n meta,\n },\n {\n path: '/liquidaciones',\n name: 'liquidaciones',\n component: liquidaciones,\n meta,\n },\n {\n path: '/liquidaciones/historico',\n name: 'liquidaciones-historico',\n component: liquidacionesHistorico,\n meta,\n },\n {\n path: '/liquidaciones/historico/:id',\n name: 'liquidaciones-historico-detail',\n component: liquidacionesHistoricoDetail,\n meta,\n },\n {\n path: '/maestros/ayuda',\n name: 'maestros-ayuda',\n component: ayudaMaestros,\n meta,\n },\n {\n path: '/ayuda',\n name: 'ayuda',\n component: ayuda,\n meta,\n },\n {\n path: '/logs',\n name: 'logs',\n component: logsList,\n meta,\n },\n {\n path: '/facturacion',\n name: 'facturacion',\n component: facturaListView,\n meta,\n },\n {\n path: '/facturas/:id/cliente',\n name: 'factura-cliente-detail',\n component: facturaClienteDetail,\n meta,\n },\n {\n path: '/facturas/:id/liquidacion/:tipo',\n name: 'factura-liquidacion-detail',\n component: facturaLiquidacionDetail,\n meta,\n },\n {\n path: '/presupuestos-reparaciones/:id',\n name: 'servicio-detail-reparaciones-presupuesto-detail',\n component: servicioDetailReparacionesPresupuestoDetail,\n meta,\n },\n {\n path: '/presupuestos-taller/:id',\n name: 'servicio-detail-taller-presupuesto-detail',\n component: servicioDetailTallerPresupuestoDetail,\n meta,\n },\n {\n path: '/presupuestos-abogados/:id',\n name: 'servicio-detail-abogados-presupuesto-detail',\n component: servicioDetailTallerPresupuestoDetail,\n meta,\n },\n {\n path: '/presupuestos-clinica-rehabilitacion/:id',\n name: 'servicio-detail-clinica-rehabilitacion-presupuesto-detail',\n component: servicioDetailTallerPresupuestoDetail,\n meta,\n },\n {\n path: '/presupuestos-peritos/:id',\n name: 'servicio-detail-peritos-presupuesto-detail',\n component: servicioDetailTallerPresupuestoDetail,\n meta,\n },\n {\n path: '/presupuestos-prevencion/:id',\n name: 'servicio-detail-prevencion-presupuesto-detail',\n component: servicioDetailTallerPresupuestoDetail,\n meta,\n },\n {\n path: '/presupuestos-financiacion/:id',\n name: 'servicio-detail-financiacion-presupuesto-detail',\n component: servicioDetailTallerPresupuestoDetail,\n meta,\n },\n {\n path: '/presupuestos-energia/:id',\n name: 'servicio-detail-energia-presupuesto-detail',\n component: servicioDetailTallerPresupuestoDetail,\n meta,\n },\n {\n path: '/presupuestos-telefonia/:id',\n name: 'servicio-detail-telefonia-presupuesto-detail',\n component: servicioDetailTallerPresupuestoDetail,\n meta,\n },\n {\n path: '/presupuestos-informatica/:id',\n name: 'servicio-detail-informatica-presupuesto-detail',\n component: servicioDetailTallerPresupuestoDetail,\n meta,\n },\n {\n path: '/login',\n name: 'login',\n component: () => import('@/views/Login.vue'),\n meta: {\n layout: 'full',\n },\n },\n {\n path: '/forgot-password',\n name: 'forgot-password',\n component: () => import('@/views/ForgotPassword.vue'),\n meta: {\n layout: 'full',\n },\n },\n {\n path: '/error-404',\n name: 'error-404',\n component: () => import('@/views/error/Error404.vue'),\n meta: {\n layout: 'full',\n },\n },\n {\n path: '*',\n redirect: 'error-404',\n },\n ],\n})\nconst checkSavePaths = [\n 'servicio-guardado', 'servicio-nuevo', 'usuario-edit', 'cliente-edit', 'configuracion-rol-edit',\n 'empresa-asistencia-edit', 'maestros-taricom-create', 'maestros-taricom-edit',\n]\n\nrouter.beforeEach(async (to, from, next) => {\n const { currentWarningScreen } = (store).state\n\n if (from.name && checkSavePaths.includes(`${from.name}`) && from.name === currentWarningScreen) {\n const resp = await $util.modalConfirmSave()\n\n if (resp.params.valor == 'N') { store.dispatch('updatecurrentWarningScreen', '') }\n\n if (resp.params.valor == 'S') $util.emit('guardar-router', true)\n\n if (resp.params.valor == 'C') return\n\n await webSocketService.start()\n return next()\n }\n\n if (to.matched.some((record:any) => record.meta.requiresAuth)) {\n if (Http.isTokenExpired) {\n await webSocketService.disconnect()\n next({\n path: '/login',\n query: { redirect: to.fullPath },\n })\n return\n }\n\n await webSocketService.start()\n\n const userLogged = store.getters['APP/userLogged']\n\n if ((userLogged.estadoUsuarioId === EstadoUsuarioEnum.Solicitud\n || userLogged.estadoUsuarioId === EstadoUsuarioEnum.Rechazado\n || userLogged.estadoUsuarioId === EstadoUsuarioEnum.ProcesandoSolicitud)\n && to.path === '/servicios') {\n next({ name: 'home' })\n return\n }\n\n if (to.name !== undefined && to.name !== 'visita' && await servicioVisitaApplicationService.existsBackup(userLogged)) {\n $util.notifyError('Tienes una visita pendiente de Terminar')\n const visitaId = await servicioVisitaApplicationService.getVisitaIdLocal()\n\n next({ name: 'visita', params: { visitaId: visitaId.toString() } })\n return\n }\n\n if (userLogged.passwordTemporal) {\n $util.$modal.show(\n Password, {\n passwordTemporal: true,\n },\n {\n scrollable: true,\n adaptative: true,\n name: 'password-modal',\n height: 'auto',\n width: '400px',\n clickToClose: false,\n },\n )\n }\n\n return next()\n }\n\n return next()\n})\n\nrouter.beforeResolve((to, from, next) => {\n if (to.name) {\n NProgress.start()\n }\n next()\n})\n\nrouter.afterEach((to, from) => {\n store.dispatch('updatecurrentWarningScreen', to.name)\n NProgress.done()\n})\n\nNProgress.configure({ showSpinner: false })\n\nexport default router\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./xi-layout-item.vue?vue&type=style&index=0&id=3bdd71b7&scoped=true&lang=css&\"","import { computed, watch } from '@vue/composition-api'\nimport store from '@/store'\n\nexport default function usAppConfig() {\n // ------------------------------------------------\n // isVerticalMenuCollapsed\n // ------------------------------------------------\n const isVerticalMenuCollapsed = computed({\n get: () => store.state.verticalMenu.isVerticalMenuCollapsed,\n set: val => {\n store.commit('verticalMenu/UPDATE_VERTICAL_MENU_COLLAPSED', val)\n },\n })\n\n // ------------------------------------------------\n // RTL\n // ------------------------------------------------\n const isRTL = computed({\n get: () => store.state.appConfig.layout.isRTL,\n set: val => {\n store.commit('appConfig/TOGGLE_RTL', val)\n },\n })\n\n // ------------------------------------------------\n // Skin\n // ------------------------------------------------\n const skin = computed({\n get: () => store.state.appConfig.layout.skin,\n set: val => {\n store.commit('appConfig/UPDATE_SKIN', val)\n },\n })\n\n const skinClasses = computed(() => {\n if (skin.value === 'bordered') return 'bordered-layout'\n if (skin.value === 'semi-dark') return 'semi-dark-layout'\n\n // Do not return any class for dark layout because dark layout updates class in body\n // Do not return any class for light layout as that is default layout\n return null\n })\n\n // ------------------------------------------------\n // routerTransition\n // ------------------------------------------------\n const routerTransition = computed({\n get: () => store.state.appConfig.layout.routerTransition,\n set: val => {\n store.commit('appConfig/UPDATE_ROUTER_TRANSITION', val)\n },\n })\n\n // *===============================================---*\n // *--------- LAYOUT ---------------------------------------*\n // *===============================================---*\n\n // ------------------------------------------------\n // layoutType\n // ------------------------------------------------\n\n const layoutType = computed({\n get: () => store.state.appConfig.layout.type,\n set: val => {\n store.commit('appConfig/UPDATE_LAYOUT_TYPE', val)\n },\n })\n\n // Reset skin if skin is semi-dark and move to horizontal layout\n watch(layoutType, val => {\n if (val === 'horizontal' && skin.value === 'semi-dark') skin.value = 'light'\n })\n\n // ------------------------------------------------\n // Content Width (Full/Boxed)\n // ------------------------------------------------\n const contentWidth = computed({\n get: () => store.state.appConfig.layout.contentWidth,\n set: val => {\n store.commit('appConfig/UPDATE_CONTENT_WIDTH', val)\n },\n })\n\n // ------------------------------------------------\n // isNavMenuHidden\n // ------------------------------------------------\n const isNavMenuHidden = computed({\n get: () => store.state.appConfig.layout.menu.hidden,\n set: val => {\n store.commit('appConfig/UPDATE_NAV_MENU_HIDDEN', val)\n },\n })\n\n // *===============================================---*\n // *--------- NAVBAR ---------------------------------------*\n // *===============================================---*\n\n const navbarBackgroundColor = computed({\n get: () => store.state.appConfig.layout.navbar.backgroundColor,\n set: val => {\n store.commit('appConfig/UPDATE_NAVBAR_CONFIG', { backgroundColor: val })\n },\n })\n\n const navbarType = computed({\n get: () => store.state.appConfig.layout.navbar.type,\n set: val => {\n store.commit('appConfig/UPDATE_NAVBAR_CONFIG', { type: val })\n },\n })\n\n // *===============================================---*\n // *--------- FOOTER ---------------------------------------*\n // *===============================================---*\n\n const footerType = computed({\n get: () => store.state.appConfig.layout.footer.type,\n set: val => {\n store.commit('appConfig/UPDATE_FOOTER_CONFIG', { type: val })\n },\n })\n\n return {\n isVerticalMenuCollapsed,\n isRTL,\n skin,\n skinClasses,\n routerTransition,\n\n // Navbar\n navbarBackgroundColor,\n navbarType,\n\n // Footer\n footerType,\n\n // Layout\n layoutType,\n contentWidth,\n isNavMenuHidden,\n }\n}\n","\nexport enum TipologiaServicioEnum\n{\n EmpresaAsistencia = 1,\n CompanyaAseguradora = 2,\n Cliente = 3\n}","import { Http } from '@/services/http.service'\n\nexport default class GenericService{\n constructor(public entity: string) {\n\n }\n\n public GetAll(): Promise> {\n return Http.Get({url: this.entity});\n }\n\n // public GetAllPaged(queryString: string = \"\"): Promise> {\n // return httpService.get(this.entity+queryString);\n // }\n\n public GetById(id: number, loading: boolean = true): Promise {\n return Http.Get({url: this.entity+\"/\"+id, loading: loading});\n }\n\n public GetSimpleById(id: number, loading: boolean = true): Promise {\n return Http.Get({url: this.entity+\"/\"+id+\"/simple\", loading: loading});\n }\n\n public Insert(obj: T, loading: boolean = true): Promise {\n return Http.Post({url:this.entity, data: obj, loading: loading})\n }\n\n public Update(obj: T, loading: boolean = true): Promise {\n return Http.Put({url:this.entity, data: obj, loading: loading})\n }\n\n public DeleteById(id: number, loading: boolean = true): Promise {\n return Http.Delete({url: this.entity+\"/\"+id, loading: loading});\n }\n\n public DeleteByIdLogic(id: number, loading: boolean = true): Promise {\n return Http.Delete({url: this.entity+\"/\"+id+\"/logic\", loading: loading});\n }\n\n public UndeleteById(id: number, loading: boolean = true): Promise {\n return Http.Get({url: this.entity+\"/\"+id+\"/undelete\", loading: loading});\n }\n \n public get APIKEY(){\n return Http.APIKEY;\n } \n}","import EntityIdBase from './EntityIdBase'\nimport RolServicioTipo from './RolServicioTipo'\n\nexport default class ServicioTipo extends EntityIdBase {\n descripcion: string = ''\n RolesServicioTipos: Array = []\n}","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"h-100\",class:[_vm.skinClasses],attrs:{\"id\":\"app\"}},[_c(_vm.layout,{tag:\"component\"},[_c('router-view')],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../node_modules/cache-loader/dist/cjs.js??ref--12-0!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js!../node_modules/cache-loader/dist/cjs.js??ref--0-0!../node_modules/vue-loader/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=48749672&scoped=true&\"\nimport script from \"./App.vue?vue&type=script&lang=js&\"\nexport * from \"./App.vue?vue&type=script&lang=js&\"\nimport style0 from \"./App.vue?vue&type=style&index=0&id=48749672&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"48749672\",\n null\n \n)\n\nexport default component.exports","import Vue from 'vue'\nimport VueI18n from 'vue-i18n'\n\nVue.use(VueI18n)\n\nfunction loadLocaleMessages () {\n const locales = require.context('@/locales', true, /[A-Za-z0-9-_,\\s]+\\.json$/i)\n const messages:any = {}\n locales.keys().forEach((key) => {\n const matched = key.match(/([a-z0-9]+)\\./i)\n if (matched && matched.length > 1) {\n const locale = matched[1]\n messages[locale] = locales(key)\n }\n })\n return messages\n}\n\nexport const i18n:any = new VueI18n({\n locale: 'es',\n fallbackLocale: 'es',\n messages: loadLocaleMessages()\n})\n","import Vue from 'vue';\nimport lodash from 'lodash';\nVue.prototype.$_ = lodash;","import 'devextreme/dist/css/dx.common.css';\nimport 'devextreme/dist/css/dx.light.compact.css';\nimport 'devextreme-intl';\nimport messagesEs from 'devextreme/localization/messages/es.json';\nimport { locale, loadMessages } from 'devextreme/localization';\nloadMessages(messagesEs);\nlocale(navigator.language)\n","var render, staticRenderFns\nimport script from \"./FeatherIcon.vue?vue&type=script&lang=js&\"\nexport * from \"./FeatherIcon.vue?vue&type=script&lang=js&\"\nimport style0 from \"./FeatherIcon.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{ref:\"card\",staticClass:\"vx-card\",class:[\n\t\t{'overflow-hidden': _vm.tempHidden},\n\t\t{'no-shadow': _vm.noShadow},\n\t\t{'rounded-none': _vm.noRadius},\n\t\t{'card-border': _vm.cardBorder},\n {'with-hover': _vm.withHover},\n _vm.cardClasses ],style:(_vm.cardStyles),on:{\"click\":_vm.onClick}},[(_vm.hasHeader)?_c('div',{staticClass:\"vx-card__header\"},[_c('div',{staticClass:\"vx-card__title\"},[(this.$props.title)?_c('h4',{class:_vm.titleClasses,style:(_vm.titleStyles)},[_vm._v(_vm._s(_vm.title))]):_vm._e(),(this.$props.subtitle)?_c('h6',{class:_vm.subtitleClasses,style:(_vm.subtitleStyles)},[_vm._v(_vm._s(_vm.subtitle))]):_vm._e()]),(_vm.hasAction)?_c('div',{staticClass:\"vx-card__actions\"},[_vm._t(\"actions\",[((_vm.actionButtons || _vm.collapseAction || _vm.refreshContentAction || _vm.removeCardAction) && !_vm.codeToggler)?_c('div',{staticClass:\"vx-card__action-buttons\"},[(_vm.actionButtons || _vm.collapseAction)?_c('feather-icon',{staticClass:\"ml-4\",class:{rotate180: !_vm.isContentCollapsed},attrs:{\"icon\":\"ChevronUpIcon\"},on:{\"click\":_vm.toggleContent}}):_vm._e(),(_vm.actionButtons || _vm.refreshContentAction)?_c('feather-icon',{staticClass:\"ml-4\",attrs:{\"icon\":\"RotateCwIcon\"},on:{\"click\":_vm.refreshcard}}):_vm._e(),(_vm.actionButtons || _vm.removeCardAction)?_c('feather-icon',{staticClass:\"ml-4\",attrs:{\"icon\":\"XIcon\"},on:{\"click\":_vm.removeCard}}):_vm._e()],1):_vm._e(),(_vm.codeToggler && !_vm.actionButtons)?_c('div',{staticClass:\"vx-card__code-toggler sm:block hidden\"},[_c('feather-icon',{class:{'border border-solid border-primary border-t-0 border-r-0 border-l-0': _vm.showCode},attrs:{\"icon\":\"CodeIcon\"},on:{\"click\":_vm.toggleCode}})],1):_vm._e()])],2):_vm._e()]):_vm._e(),(_vm.hasHeaderSlot)?_c('div',{staticStyle:{\"padding\":\"1em\"}},[_vm._t(\"header\")],2):_vm._e(),_c('div',{ref:\"content\",staticClass:\"vx-card__collapsible-content vs-con-loading__container\",class:[{collapsed: _vm.isContentCollapsed}, {'overflow-hidden': _vm.tempHidden}],style:(_vm.StyleItems)},[(_vm.hasNoBodySlot)?_c('div',{staticStyle:{\"padding-bottom\":\"1em\"}},[_vm._t(\"no-body\")],2):_vm._e(),(this.$slots.default)?_c('div',{staticClass:\"vx-card__body\"},[_vm._t(\"default\")],2):_vm._e(),_vm._t(\"no-body-bottom\"),(this.$slots.footer)?_c('div',{staticClass:\"vx-card__footer\"},[_vm._t(\"footer\")],2):_vm._e()],2),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(this.$slots.codeContainer),expression:\"this.$slots.codeContainer\"}],ref:\"codeContainer\",staticClass:\"vx-card__code-container\",class:{collapsed: !_vm.showCode},style:(_vm.codeContainerStyles)},[_c('div',{staticClass:\"code-content\"},[_c('prism',{attrs:{\"language\":_vm.codeLanguage}},[_vm._t(\"codeContainer\")],2)],1)])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export default {\r\n darken(color, percent) {\r\n var f=color.split(\",\"),t=percent<0?0:255,p=percent<0?percent*-1:percent,R=parseInt(f[0].slice(4)),G=parseInt(f[1]),B=parseInt(f[2]);\r\n return \"rgb(\"+(Math.round((t-R)*p)+R)+\",\"+(Math.round((t-G)*p)+G)+\",\"+(Math.round((t-B)*p)+B)+\")\";\r\n },\r\n getColor(colorx, alphax = 1, defaultx = true){\r\n // change color hex to RGB\r\n if(/^[#]/.test(colorx)){\r\n let c = this.hexToRgb(colorx)\r\n\r\n if(alphax == 1){\r\n colorx = `rgb(${c.r},${c.g},${c.b})`\r\n\r\n } else {\r\n colorx = `rgba(${c.r},${c.g},${c.b},${alphax})`\r\n\r\n }\r\n } else if (/^rgba/.test(colorx)) {\r\n\r\n if(colorx.search(/.([0-9]\\))$/)==-1 && !defaultx){\r\n colorx = colorx.replace(/.?([0-9]\\))$/,`${alphax})`)\r\n }\r\n\r\n\r\n } else if (/^(rgb)/.test(colorx)) {\r\n // change rgb and rgba\r\n if(alphax != 1){\r\n colorx = colorx.replace(/^(rgb)/,`rgba`)\r\n colorx = colorx.replace(/\\)$/,`,${alphax})`)\r\n }\r\n\r\n }\r\n return colorx\r\n },\r\n isColor(colorx){\r\n let vscolors = ['primary','secondary','success','danger','warning','dark', 'light']\r\n return vscolors.includes(colorx)\r\n },\r\n RandomColor(){\r\n function getRandomInt(min, max) {\r\n return Math.floor(Math.random() * (max - min)) + min;\r\n }\r\n return `rgb(${getRandomInt(0,255)},${getRandomInt(0,255)},${getRandomInt(0,255)})`\r\n },\r\n rColor(colorx,opacity=1){\r\n if(/^[#]/.test(colorx)){\r\n let c = this.hexToRgb(colorx)\r\n colorx = `rgba(${c.r},${c.g},${c.b},${opacity})`\r\n } else if (/^[rgb]/.test(colorx)){\r\n let colorSplit = colorx.split(')')[0]\r\n if(!/^[rgba]/.test(colorx)){\r\n colorSplit.replace('rgb','rgba')\r\n colorSplit += `,${opacity})`\r\n } else {\r\n // colorSplit.replace('rgb','rgba')\r\n colorSplit += `)`\r\n }\r\n colorx = colorSplit\r\n }\r\n\r\n let vscolors = ['primary','success','danger','warning','dark']\r\n if(colorx){\r\n if(/[#()]/.test(colorx)){\r\n return colorx\r\n } else {\r\n if(vscolors.includes(colorx)){\r\n return `rgba(var(--${colorx}),${opacity})`\r\n } else {\r\n return `rgba(var(--primary),${opacity})`\r\n }\r\n }\r\n } else {\r\n return `rgba(var(--primary),${opacity})`\r\n }\r\n },\r\n contrastColor(elementx) {\r\n let c = elementx\r\n if(/[#]/g.test(elementx)){\r\n let rgbx = this.hexToRgb(elementx)\r\n c = `rgb(${rgbx.r},${rgbx.g},${rgbx.b})`\r\n }\r\n var rgb = c.replace(/^(rgb|rgba)\\(/,'').replace(/\\)$/,'').replace(/\\s/g,'').split(',');\r\n var yiq = ((rgb[0]*299)+(rgb[1]*587)+(rgb[2]*114))/1000;\r\n if(yiq >= 128){\r\n return true\r\n } else {\r\n return false\r\n }\r\n },\r\n setCssVariable(propertyName, value) {\r\n if(typeof window !== 'undefined'){\r\n document.documentElement.style.setProperty(propertyName, value);\r\n }\r\n },\r\n hexToRgb(hex) {\r\n // Expand shorthand form (e.g. \"03F\") to full form (e.g. \"0033FF\")\r\n var shorthandRegex = /^#?([a-f\\d])([a-f\\d])([a-f\\d])$/i;\r\n hex = hex.replace(shorthandRegex, function(m, r, g, b) {\r\n return r + r + g + g + b + b;\r\n });\r\n\r\n var result = /^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$/i.exec(hex);\r\n return result ? {\r\n r: parseInt(result[1], 16),\r\n g: parseInt(result[2], 16),\r\n b: parseInt(result[3], 16)\r\n } : null;\r\n },\r\n getVariable(styles, propertyName) {\r\n return String(styles.getPropertyValue(propertyName)).trim();\r\n },\r\n changeColor(colorInicial){\r\n let colores = ['primary','success','danger','warning','dark']\r\n let colorx\r\n\r\n if(colores.includes(colorInicial)){\r\n let style = getComputedStyle(document.documentElement)\r\n colorx = this.getVariable(style,'--'+colorInicial)\r\n } else {\r\n if(/[rgb()]/g.test(colorInicial)){\r\n colorx = colorInicial.replace(/[rgb()]/g,'')\r\n } else if(/[#]/g.test(colorInicial)){\r\n let rgbx = this.hexToRgb(colorInicial)\r\n colorx = `${rgbx.r},${rgbx.g},${rgbx.b}`\r\n } else {\r\n colorx = '--'+colorInicial\r\n }\r\n }\r\n return colorx\r\n // this.setCssVariable('--'+clave,colorx)\r\n }\r\n}\r\n","\r\n\r\n \r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VxCard.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./VxCard.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./VxCard.vue?vue&type=template&id=d1d39484&\"\nimport script from \"./VxCard.vue?vue&type=script&lang=js&\"\nexport * from \"./VxCard.vue?vue&type=script&lang=js&\"\nimport style0 from \"./VxCard.vue?vue&type=style&index=0&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FeatherIcon.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FeatherIcon.vue?vue&type=script&lang=js&\"","import Vue from 'vue'\nimport VxCard from '@/components/vx-card/VxCard.vue'\nimport FeatherIcon from '@core/components/feather-icon/FeatherIcon.vue'\n\nVue.component(FeatherIcon.name, FeatherIcon)\nVue.component(VxCard.name, VxCard)\n","import Vue from 'vue'\nimport PortalVue from 'portal-vue'\n\nVue.use(PortalVue)\n","import Vue from 'vue'\nimport { ToastPlugin, ModalPlugin, BootstrapVue, BootstrapVueIcons } from 'bootstrap-vue'\nimport VueCompositionAPI from '@vue/composition-api'\n\nimport router from './router'\nimport store from './store';\nimport App from './App.vue'\n\nimport { i18n } from '@/plugins/i18n';\nimport \"@/plugins/loadash\";\nimport \"@/plugins/devextreme\";\n\n\nvar moment = require('moment-timezone');\nmoment.tz.setDefault(\"Europe/Madrid\");\n\n/** Old template */\n//@ts-ignore\nimport Vuesax from 'vuesax';\nlet colors = {\n\tprimary: '#7367F0',\n\tsuccess: '#28C76F',\n\tdanger: '#EA5455',\n\twarning: '#FF9F43',\n\tdark: '#1E1E1E',\n}\nVue.use(Vuesax, { theme:{ colors } })\nimport 'material-icons/iconfont/material-icons.css' //Material Icons\nimport 'vuesax/dist/vuesax.css'; // Vuesax\nimport '@/assets/css/main.css'; // tailwind\nimport 'prismjs';\nimport 'prismjs/themes/prism.css';\nimport '@/assets/scss/main.scss'\n/** Fin Old template */\n\n// Global Components\nimport './global-components'\n\n// 3rd party plugins\nimport '@/libs/portal-vue'\n\n// import core styles\nrequire('@core/scss/core.scss')\n\n// import assets styles\nrequire('@/assets/scss/style.scss')\n\nimport '@/assets/css/vue-datetime.css'\n\n\n// BSV Plugin Registration\nVue.use(ToastPlugin)\nVue.use(ModalPlugin)\nVue.use(BootstrapVue)\nVue.use(BootstrapVueIcons)\n\n// Composition API\nVue.use(VueCompositionAPI)\n\nimport { applicationService } from \"@/services/application.service\";\nimport { logService } from \"@/services/log.service\";\n\n//@ts-ignore\n// import FlagIcon from 'vue-flag-icon';\nimport '@/assets/css/iconfont.css'; \n\nVue.use(require('vue-moment'));\n\nimport VModal from 'vue-js-modal';\nimport ConfigProvider from './config/configProvider';\nVue.use(VModal, { dynamic: true, injectModalsContainer: true, dialog: true });\n\nimport VueSignature from \"vue-signature-pad\";\nVue.use(VueSignature);\n\nimport VueYouTubeEmbed from 'vue-youtube-embed'\nVue.use(VueYouTubeEmbed, { global: true })\n\nVue.config.productionTip = false\n\ninit();\n\nasync function setUserInfo(){\n \n if (localStorage.getItem(ConfigProvider.value('tokenName'))) {\n let setUserInfoRes = await applicationService.setUserInfo();\n }\n}\n\nasync function init(){\n \n await setUserInfo();\n\n new Vue({\n router,\n store,\n i18n,\n render: h => h(App),\n mounted(){\n // console.log(\"app mounted\")\n // debugger\n // document.addEventListener(\"touchstart\", (e) => {\n // debugger\n // console.log(e.defaultPrevented); // will be false\n // e.preventDefault(); // does nothing since the listener is passive\n // console.log(e.defaultPrevented); // still false\n // }, {capture: true});\n // document.addEventListener(\"wheel\", (e) => {\n // debugger\n // console.log(e.defaultPrevented); // will be false\n // e.preventDefault(); // does nothing since the listener is passive\n // console.log(e.defaultPrevented); // still false\n // }, {capture: true});\n }\n }).$mount('#app')\n\n \n logService.info(\"Web iniciada\");\n}\n\n\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./xi-popup.vue?vue&type=style&index=0&id=73893aa8&scoped=true&lang=css&\"","import dotenv from 'dotenv';\ndotenv.config();\n\nexport default class ConfigProvider {\n public static get CONFIG(): any {\n return {\n endpointAPI: '$VUE_APP_ROOT_API',\n tokenName: '$VUE_APP_TOKEN_NAME',\n stripeApiKey: '$VUE_APP_STRIPE_APIKEY',\n logLevels: '$VUE_APP_LOG_LEVELS',\n logDelay: '$VUE_APP_LOG_DELAY',\n };\n }\n\n public static value(name: any) {\n if (!(name in this.CONFIG)) {\n return;\n }\n\n const value = this.CONFIG[name];\n\n if (!value) {\n return;\n }\n\n if (value.startsWith('$VUE_APP_')) {\n const envName = value.substr(1);\n const envValue = process.env[envName];\n if (envValue) {\n return envValue;\n } else {\n return\n }\n } else {\n return value;\n }\n }\n}","import ZonaMunicipio from './ZonaMunicipio'\nimport EntityIdBase from './EntityIdBase'\nimport Provincia from './Provincia'\n\nexport default class Municipio extends EntityIdBase {\n nombre: string = ''\n codigoPostal: string = ''\n latitud: string = ''\n longitud: string = ''\n provinciaId: number =0\n provincia!: Provincia\n\n zonasMunicipios: Array = []\n}","import UsuarioGremio from './UsuarioGremio'\nimport Actividad from './Actividad'\nimport EntityIdBase from './EntityIdBase'\nimport RolGremio from './RolGremio'\nimport TarifaGremio from './Tarifas/TarifaGremio'\n\nexport default class Gremio extends EntityIdBase {\n actividadId: number = 0\n nombrePc: string = ''\n nombreMobil: string = ''\n nombreVerde: string = ''\n imagenAzul: string = ''\n imagenVerde: string = ''\n imagenGris: string = ''\n imagenBlanco: string = ''\n baja: boolean = false\n actividad?: Actividad;\n\n rolesGremios: Array = []\n tarifasGremios: Array = []\n usuariosGremios: Array = []\n}","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"fondo\",on:{\"keyup\":_vm.keyHandler}},[_c('vs-row',{attrs:{\"vs-w\":\"12\",\"vs-justify\":\"space-between\"}},[_c('vs-col',{attrs:{\"vs-w\":\"10\",\"vs-type\":\"flex\",\"vs-justify\":\"center\"}},[_c('h5',[_vm._v(\"Cambio Contraseña\")])]),_c('vs-col',{attrs:{\"vs-w\":\"2\",\"vs-type\":\"flex\",\"vs-justify\":\"flex-end\"}},[_c('span',{on:{\"click\":_vm.salir}},[_c('vs-icon',{staticClass:\"icon\",attrs:{\"icon\":\"close\"}})],1)])],1),_c('vs-divider'),_c('vx-card',{attrs:{\"cardBorder\":\"\"}},[_c('xi-layout-item',{attrs:{\"model\":_vm.model,\"layout\":[\n {sl:12,t:'t',w:'100%',m:20,label:'Contraseña actual',df:'passwordActual', focus:true, tabindex:0, mode: 'password' },\n {sl:12,t:'t',w:'100%',m:20,label:'Contraseña nueva',df:'passwordNuevo', mode: 'password'},\n {sl:12,t:'t',w:'100%',m:20,label:'Contraseña confirmación',df:'passwordConfirmacion', mode: 'password'}\n ]}})],1),_c('vs-divider',{staticStyle:{\"margin-top\":\"1em\"}}),_c('vs-row',{attrs:{\"vs-w\":\"12\",\"vs-justify\":\"space-between\"}},[_c('vs-col',{attrs:{\"vs-type\":\"flex\",\"vs-justify\":\"center\",\"vs-align\":\"center\",\"vs-wg\":\"12\"}},[_c('vs-button',{attrs:{\"color\":_vm.colorButton},on:{\"click\":_vm.guardar}},[_vm._v(\"Cambiar\")])],1)],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\nexport default class CambiarPasswordDtoIn{\n passwordActual: string = \"\";\n passwordNuevo: string = \"\";\n passwordConfirmacion: string = \"\";\n}","\n\n\nimport { Component, Vue, Prop , Mixins } from 'vue-property-decorator'\nimport { appMixin } from \"@/mixins/appMixin\";\nimport { usuarioService } from \"@/services/usuario.service\";\nimport CambiarPasswordDtoIn from '@/models/dtos/in/CambiarPasswordDtoIn';\nimport { applicationService } from \"@/services/application.service\";\n\n@Component\nexport default class Password extends Mixins(appMixin) {\n @Prop({required: false, type: Boolean, default: false }) \n passwordTemporal!: boolean;\n\n model: CambiarPasswordDtoIn = new CambiarPasswordDtoIn();\n private textoValidacion: string = '';\n\n created(){\n if(this.passwordTemporal){\n this.notifyPassword();\n }\n }\n\n async guardar(){\n\n if(!this.validacion(true)) return;\n\n const resp = await usuarioService.CambiarPassword(this.model);\n if(resp && !resp.error){\n this.$util.notify({text:\"Actualización correcta\",title:\"Guardar\"});\n await applicationService.setUserInfo();\n this.$modal.hide(\"password-modal\");\n if(this.passwordTemporal){\n this.$router.push({\n name: 'usuario-edit',\n params: {\n id: this.userLogged.id+'',\n tituloentidad: 'Usuarios',\n },\n });\n }\n }\n }\n\n get formularioValidado() {\n return this.validacion(false);\n }\n\n validacion(notify: boolean){\n this.textoValidacion = '';\n let tipoError = Array();\n\n if(this.model.passwordActual === undefined || this.model.passwordActual === null || this.model.passwordActual === \"\"){\n tipoError.push(\"Debe introducir la contraseña actual\")\n } \n\n if(this.model.passwordNuevo === undefined || this.model.passwordNuevo === null || this.model.passwordNuevo === \"\"){\n tipoError.push(\"Debe introducir la contraseña nueva\")\n }\n\n if(this.model.passwordConfirmacion === undefined || this.model.passwordConfirmacion === null || this.model.passwordConfirmacion === \"\"){\n tipoError.push(\"Debe introducir la confirmación de contraseña\")\n } \n\n if(this.model.passwordNuevo !== this.model.passwordConfirmacion){\n tipoError.push(\"La contraseña nueva y la confirmación deben coincidir\")\n }\n\n if(this.model.passwordNuevo === this.model.passwordActual){\n tipoError.push(\"La contraseña nueva y la actual no deben coincidir\")\n }\n\n if (tipoError.length > 0) {\n let text = 'Por favor, verifique los datos introducidos:
';\n tipoError.forEach((error) => {\n text += '- ' + error.toString() + '
';\n });\n this.textoValidacion = text;\n }\n\n if(this.textoValidacion !== '') {\n if(notify) this.$util.notifyError(this.textoValidacion);\n return false\n }else{\n return true\n }\n }\n\n get colorButton(){\n return !this.formularioValidado ? '#90E0B4' : 'success'\n }\n\n\n keyHandler(evento:any) {\n if (evento.keyCode===27)\n this.salir();\n }\n \n salir() {\n if(this.passwordTemporal){\n this.notifyPassword();\n }else{\n this.$modal.hide(\"password-modal\");\n }\n } \n \n notifyPassword(){\n this.$util.notifyError(\"Por motivos de seguridad, debes cambiar la contraseña\");\n }\n\n}\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./password.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--13-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./password.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./password.html?vue&type=template&id=af0b205a&scoped=true&\"\nimport script from \"./password.vue?vue&type=script&lang=ts&\"\nexport * from \"./password.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./password.vue?vue&type=style&index=0&id=af0b205a&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"af0b205a\",\n null\n \n)\n\nexport default component.exports","import EntityIdBase from './EntityIdBase'\nimport TarifaAseguradora from './Tarifas/TarifaAseguradora'\n\nexport default class Aseguradora extends EntityIdBase {\n tipoDocumento: string = '' \n documento: string = '' \n nombre: string = '' \n\n aseguradoraTarifas: Array = [] \n}","import { Http } from \"@/services/http.service\";\nimport \"@/services/util.service\";\nimport GenericService from '@/services/generic.service';\nimport Usuario from '@/models/entities/Usuario';\nimport CambiarPasswordDtoIn from '@/models/dtos/in/CambiarPasswordDtoIn';\nimport UsuarioDocumento from \"@/models/entities/UsuarioDocumento\";\n\n\nexport class UsuarioService extends GenericService{\n\n constructor(){\n super('usuario')\n }\n\n public GetByIdWithPermisos(id: number): Promise {\n return Http.Get({url: this.entity+\"/\"+id+\"/permisos\"});\n }\n\n public GetByLogin(login: string): Promise {\n return Http.Get({url: this.entity+\"/\"+login+\"/login\"});\n }\n\n public GetInfoSistema(): Promise {\n return Http.Get({url: this.entity+\"/info-sistema\"});\n }\n\n public SetToProcesandoSolicitud(obj: Usuario): Promise {\n return Http.Put({url:`${this.entity}/procesando-solicitud`, data: obj})\n }\n\n public SetToRechazado(obj: Usuario): Promise {\n return Http.Put({url:`${this.entity}/rechazado`, data: obj})\n }\n\n public SetToActivo(obj: Usuario): Promise {\n return Http.Put({url:`${this.entity}/activo`, data: obj})\n }\n\n public SetToDocEnRevision(obj: Usuario): Promise {\n return Http.Put({url:`${this.entity}/doc-revision`, data: obj})\n }\n\n public SetToDocRechazada(obj: Usuario): Promise {\n return Http.Put({url:`${this.entity}/doc-rechazada`, data: obj})\n }\n\n public async CambiarPassword(payload: CambiarPasswordDtoIn) {\n return (await Http.Post({url : `${this.entity}/CambiarPassword`, data:payload }));\n }\n\n public async Baja(id:Number) {\n return (await Http.Get({url : `${this.entity}/Baja/${id}` }));\n }\n\n public async BajaEntidad(id:Number) {\n return (await Http.Get({url : `${this.entity}/BajaEntidad/${id}` }));\n }\n\n // Comunicaciones\n public async Comunicaciones(id:Number):Promise {\n return (await Http.Post({url : `${this.entity}/Comunicaciones`, query:{id} }));\n }\n \n public async ExistsComunicacion(usuarioId:Number, valor: string):Promise {\n return (await Http.Get({url : `${this.entity}/ExistsComunicacion`, query:{usuarioId, valor} }));\n } \n \n public async GetByEntidad(entidadId:Number):Promise {\n return (await Http.Get({\n url : `${this.entity}/usuarios-entidad/${entidadId}`, \n loading: false }\n ));\n }\n\n public async OperariosDelegacionColaborador(): Promise> {\n return (await Http.Post({\n url: `${this.entity}/OperariosDelegacionColaborador`,\n loading: false\n }))\n } \n \n public async OperariosEntidadCanRealizar(actividadId: number, servicioTipoId:Number, gremioId: Number):Promise {\n return (await Http.Get({\n url : `${this.entity}/OperariosEntidadCanRealizar`, \n query: { actividadId, servicioTipoId, gremioId },\n loading: false }\n ));\n }\n \n public async OperariosEntidadCanRealizarByEntidad(entidadId: number, actividadId: number, servicioTipoId: number, gremioId: number):Promise {\n return (await Http.Get({\n url : `${this.entity}/OperariosEntidadCanRealizar/${entidadId}`, \n query:{ actividadId, servicioTipoId, gremioId },\n loading: false }\n ));\n }\n\n public async Comerciales() {\n return (await Http.Post({\n url: `${this.entity}/Comerciales`,\n loading: false\n }))\n } \n \n public async Subcomerciales() {\n return (await Http.Post({\n url: `${this.entity}/Subcomerciales`,\n loading: false\n }))\n }\n\n public async Gestores(id_delegacion: Number) {\n return (await Http.Post({\n url: `${this.entity}/Gestores`,\n data: id_delegacion,\n loading: false\n }))\n } \n \n public async GestoresDelegacionCanGestionar(delegacionId: Number, actividadId: Number, servicioTipoId:Number, gremioId: Number):Promise {\n return (await Http.Get({\n url : `${this.entity}/GestoresDelegacionCanGestionar`, \n query:{ delegacionId, actividadId, servicioTipoId, gremioId },\n loading: false }\n ));\n }\n \n public async GetEntidadesCanAbrir(actividadId: Number, servicioTipoId:Number, gremioId: Number):Promise {\n return (await Http.Get({\n url : `${this.entity}/GetEntidadesCanAbrir`, \n query:{ actividadId, servicioTipoId, gremioId },\n loading: false }\n ));\n }\n\n public async Delegaciones() {\n return (await Http.Post({\n url: `${this.entity}/Delegaciones`,\n loading: false\n }))\n } \n \n public async GestoresEntidadCanGestionar(entidadId: Number, actividadId: Number, servicioTipoId:Number, gremioId: Number):Promise {\n return (await Http.Get({\n url : `${this.entity}/GestoresEntidadCanGestionar`, \n query:{ entidadId, actividadId, servicioTipoId, gremioId},\n loading: false }\n ));\n }\n\n public async GetSubcomercialesByComercial(idComercial: Number) {\n return (await Http.Post({\n url: `${this.entity}/GetSubcomercialesByComercial`,\n data: idComercial,\n loading: false\n }))\n } \n\n public async GetEmpresasAsistencia() {\n return (await Http.Get({ url: `${this.entity}/GetEmpresasAsistencia`}))\n } \n\n public async IsLastAdminEntidad(entidadId: Number) {\n return (await Http.Get({url : `${this.entity}/IsLastAdminEntidad/${entidadId}` }))\n } \n \n\n public InsertEmpresaAsistencia(obj: Usuario): Promise {\n return Http.Post({url:`${this.entity}/insert/empresa-asistencia`, data: obj})\n }\n\n public async ExistsOperariosEntidad(entidadId: Number) {\n return (await Http.Get({url : `${this.entity}/ExistsOperariosEntidad/${entidadId}` }))\n } \n \n public async existsUsuarioCuentaBancaria(iban: string, entidad: string, oficina: string, dc: string, cuenta: string): Promise{\n return (await Http.Post({\n url: `${this.entity}/ExistsUsuarioCuentaBancaria`,\n data: { \n \"iban\": iban, \n \"entidad\": entidad,\n \"oficina\": oficina,\n \"dc\": dc,\n \"cuenta\": cuenta\n },\n }))\n }\n\n public SetComisionista(entidadId: Number): Promise {\n return Http.Get({url : `${this.entity}/set-comisionista/${entidadId}` })\n }\n\n public GetUsuarioDocumentosByTipo(usuarioId: number, tipoDocumentoId: number): Promise> {\n return Http.Get({url: `${this.entity}/${usuarioId}/usuario-documentos/${tipoDocumentoId}`});\n }\n}\n\nexport const usuarioService = new UsuarioService();","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./password.vue?vue&type=style&index=0&id=af0b205a&scoped=true&lang=css&\"","import UsuarioVehiculo from '@/models/entities/UsuarioVehiculo'\nimport Usuario from '@/models/entities/Usuario'\nimport ServicioPerjudicado from '@/models/entities/ServicioPerjudicado'\nimport Actividad from './Actividad'\nimport Gremio from './Gremio'\nimport ServicioTipo from './ServicioTipo'\nimport Aseguradora from './Aseguradora'\nimport ServicioCita from './ServicioCita'\nimport Documento from './Documento'\nimport { EstadoServicioEnum } from '../enums/EstadoServicioEnum'\nimport EstadoServicio from './EstadoServicio'\nimport EntityIdBase from './EntityIdBase'\nimport ServicioComunicacion from './ServicioComunicacion'\nimport ServicioDireccion from './ServicioDireccion'\nimport UsuarioOferta from './UsuarioOferta'\nimport ServicioVisita from './ServicioVisita'\nimport ServicioCobro from './ServicioCobro'\nimport ServicioComisionOpcionRol from './ServicioComisionOpcionRol'\nimport ServicioLiquidacionDetalle from './ServicioLiquidacionDetalle'\nimport Tarifa from './Tarifas/Tarifa'\nimport Factura from './Factura'\nimport ServicioDocumento from './ServicioDocumento'\nimport ServicioGremio from './ServicioGremio'\nimport { TipologiaServicioEnum } from '../enums/TipologiaServicioEnum'\n\nexport default class Servicio extends EntityIdBase {\n referencia: number = 0\n\n numero: number = 0\n\n actividadId: number = 0\n\n actividad: Actividad\n\n servicioTipoId: number = 0\n\n servicioTipo: ServicioTipo\n\n asistenciaId: number = 0\n\n asistencia : Usuario\n\n aseguradoraId: number = 0\n\n aseguradora: Aseguradora\n\n gremioId: number = 0\n\n gremio: Gremio\n\n estadoServicioId: number = EstadoServicioEnum.Guardado\n\n estadoServicio?: EstadoServicio;\n\n clienteId: number = 0\n\n cliente: Usuario\n\n colaboradorId: number = 0\n\n colaborador: Usuario\n\n // Poliza\n poliza: string = ''\n\n expediente: string = ''\n\n franquicia: number = 0\n\n limiteCapital: number = 0\n\n garantiaCoberturas:string=''\n\n solicitaPeritacion:boolean=false\n\n aportaPeritacion:boolean=false\n\n fechaPeritacion!: Date;\n\n // Pago comercial\n pagoComercialTipo: string = ''\n\n pagoComercialPorcentaje: number = 0\n\n pagoComercialImporte: number = 0\n\n pagoComercial: boolean = false\n\n pagocomercialPerceptorId: number = 0\n\n presupuesto:boolean=false\n\n destinatarioId: number = 0\n\n destinatario: Usuario\n\n trabajos: string =''\n\n servicioDireccionId: number = 0\n\n servicioDireccion!: ServicioDireccion\n\n servicioComunicacionId: number = 0\n\n servicioComunicacion!: ServicioComunicacion\n\n // Entidad que gestiona\n entidadGestionEstadoServicioId!: number\n\n delegacionId: number = 0\n\n delegacion: Usuario\n\n gestorId : number=0\n\n gestor: Usuario\n\n // Entidad que realiza\n entidadOfertaEstadoServicioId!: number\n\n entidadOfertaId: number = 0;\n\n entidadOferta: Usuario\n\n entidadOfertaGestorId: number = 0;\n\n entidadOfertaGestor!: Usuario\n\n reparadorId: number = 0\n\n reparador: Usuario\n\n // Entidad que abre\n entidadAbreEstadoServicioId!: number\n\n entidadAbreId: number = 0;\n\n entidadAbre!: Usuario\n\n comercialGestorId: number = 0;\n\n entidadAbreGestorId: number = 0;\n\n entidadAbreGestor!: Usuario\n\n // Atributos de la oferta\n entidadOfertaTiempoMinutos: number = 15\n\n entidadOfertaFechaCaducidad!: Date\n\n fechaOferta!: Date;\n\n fechaOfertaChecked!: Date;\n\n usuarioVehiculoId : number = 0\n\n usuarioVehiculo!: UsuarioVehiculo\n\n usuarioAlta!: number\n\n fechaAlta!: Date;\n\n principal: boolean = true\n\n principalEstadoServicioId: number = EstadoServicioEnum.Guardado\n\n principalFechaAceptacion!: Date;\n\n principalFechaCierre!: Date;\n\n servicioId : number=0\n\n padre!: Servicio\n\n servicioRelacionadoId!: number\n\n documento: string =''\n\n tab : string = ''\n\n gestionCobro:boolean=false\n\n cita:Boolean=false\n\n bloqueoUsuario!: number\n\n bloqueoUsuarioSignalId!: string\n\n bloqueoUsuarioFecha!: Date;\n\n usuarioAceptacion!: number\n\n fechaAceptacion!: Date;\n\n usuarioCierre!: number\n\n fechaCierre!: Date;\n\n tarifaId! : number;\n\n tarifa!: Tarifa\n\n trabajosTerminados: boolean = false;\n\n fechaTrabajosTerminados!: Date;\n\n baseImponibleMo: number = 0;\n\n baseImponibleMat: number = 0;\n\n baseImponibleMomat: number = 0;\n\n baseImponible: number = 0;\n\n iva: number = -1;\n\n totalIva: number = 0;\n\n total: number = 0;\n\n existsLiquidacion:boolean=false\n\n fotos: Array\n\n servicioCitas: Array\n\n servicioPerjudicados: Array\n\n ofertaUsuarios: Array\n\n subservicios: Array\n\n visitas: Array\n\n servicioCobros: Array\n\n servicioLiquidacionDetalles: Array\n\n servicioComisionOpcionesRol: Array\n\n facturas: Array\n\n documentos: Array\n\n especialidadesTaller: Array\n\n constructor() {\n super()\n this.actividad = new Actividad()\n this.gremio = new Gremio()\n this.servicioTipo = new ServicioTipo()\n this.asistencia = new Usuario()\n this.aseguradora = new Aseguradora()\n this.cliente = new Usuario()\n this.destinatario = new Usuario()\n this.trabajos = ''\n this.reparadorId = 0\n this.colaboradorId = 0\n this.entidadOfertaId = 0\n this.entidadAbreId = 0\n this.entidadOfertaGestorId = 0\n this.entidadAbreGestorId = 0\n this.comercialGestorId = 0\n this.gestorId = 0\n this.estadoServicioId = EstadoServicioEnum.Guardado\n this.tab = ''\n this.servicioDireccionId = 0\n this.servicioComunicacionId = 0\n this.fotos = []\n this.presupuesto = false\n this.gestionCobro = false\n this.servicioCitas = Array()\n this.servicioPerjudicados = Array()\n this.ofertaUsuarios = Array()\n this.subservicios = Array()\n this.visitas = Array()\n this.servicioCobros = Array()\n this.servicioLiquidacionDetalles = Array()\n this.servicioComisionOpcionesRol = Array()\n this.facturas = Array()\n this.documentos = Array()\n this.especialidadesTaller = Array()\n\n this.delegacionId = 0\n\n this.delegacion = new Usuario()\n this.colaborador = new Usuario()\n\n this.gestor = new Usuario()\n this.reparador = new Usuario()\n this.entidadOferta = new Usuario()\n this.usuarioVehiculo = new UsuarioVehiculo()\n }\n\n static getNew(): Servicio {\n return new Servicio()\n }\n\n public reset() {\n this.servicioTipo = new ServicioTipo()\n this.asistencia = new Usuario()\n this.aseguradora = new Aseguradora()\n this.trabajos = ''\n this.reparadorId = 0\n this.colaboradorId = 0\n this.gestorId = 0\n this.entidadOfertaId = 0\n this.fotos = []\n this.presupuesto = false\n this.gestionCobro = false\n this.servicioCitas = Array()\n this.delegacionId = 0\n\n this.poliza = ''\n this.expediente = ''\n this.franquicia = 0\n this.limiteCapital = 0\n this.garantiaCoberturas = ''\n this.solicitaPeritacion = false\n this.aportaPeritacion = false\n\n this.delegacion = new Usuario()\n this.colaborador = new Usuario()\n\n this.gestor = new Usuario()\n this.reparador = new Usuario()\n this.entidadOferta = new Usuario()\n this.usuarioVehiculo = new UsuarioVehiculo()\n }\n\n public resetTipologiaNoCliente() {\n this.servicioTipo = new ServicioTipo()\n this.asistencia = new Usuario()\n this.reparadorId = 0\n this.colaboradorId = 0\n this.gestorId = 0\n this.entidadOfertaId = 0\n this.presupuesto = false\n this.gestionCobro = false\n this.servicioCitas = Array()\n this.delegacionId = 0\n\n this.delegacion = new Usuario()\n this.colaborador = new Usuario()\n\n this.gestor = new Usuario()\n this.reparador = new Usuario()\n this.entidadOferta = new Usuario()\n }\n\n public resetCliente() {\n this.reparadorId = 0\n this.colaboradorId = 0\n this.gestorId = 0\n this.entidadOfertaId = 0\n this.servicioCitas = Array()\n this.delegacionId = 0\n\n this.servicioDireccionId = 0\n this.servicioDireccion = new ServicioDireccion()\n\n this.servicioComunicacionId = 0\n this.servicioComunicacion = new ServicioComunicacion()\n\n this.delegacion = new Usuario()\n this.colaborador = new Usuario()\n\n this.gestor = new Usuario()\n this.reparador = new Usuario()\n this.entidadOferta = new Usuario()\n }\n\n public resetPerjudicados() {\n for (let i = 0; i < this.servicioPerjudicados.length; i++) {\n this.servicioPerjudicados[i].id = 0\n this.servicioPerjudicados[i].servicioId = 0\n }\n }\n\n public getTaller() {\n return `${this.entidadOferta ? this.entidadOferta.nombre : ''} - ${this.servicioDireccion ? this.servicioDireccion.direccionCompleta : ''}`\n }\n\n public isLeroyMerlin() {\n if (this.servicioTipoId === TipologiaServicioEnum.EmpresaAsistencia) {\n return this.asistencia && this.asistencia.nombre\n ? this.asistencia.nombre.toLowerCase().includes('leroy')\n : false\n }\n return false\n }\n\n public isSigma() {\n if (this.servicioTipoId === TipologiaServicioEnum.EmpresaAsistencia) {\n return this.asistencia && this.asistencia.nombre\n ? this.asistencia.nombre.toLowerCase().includes('sigma')\n : false\n }\n return false\n }\n}\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('vx-card',{staticClass:\"fondo\",on:{\"keyup\":_vm.keyHandler}},[_c('vs-row',{attrs:{\"vs-w\":\"12\",\"vs-justify\":\"space-between\"}},[_c('vs-col',{attrs:{\"vs-w\":\"2\"}}),_c('vs-col',{attrs:{\"vs-w\":\"8\",\"vs-type\":\"flex\",\"vs-justify\":\"center\"}},[_c('h5',[_vm._v(_vm._s(_vm.conf.title || ''))])]),_c('vs-col',{attrs:{\"vs-w\":\"2\",\"vs-type\":\"flex\",\"vs-justify\":\"flex-end\"}},[_c('span',{on:{\"click\":_vm.salir}},[_c('vs-icon',{staticClass:\"icon\",attrs:{\"icon\":\"close\"}})],1)])],1),_c('vs-divider'),_vm._l((_vm.conf.descripcion),function(item){return _c('div',{key:item.id},[_c('p',{staticStyle:{\"margin-bottom\":\"15px\"},domProps:{\"innerHTML\":_vm._s(item)}})])})],2)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Prop } from 'vue-property-decorator'\n@Component({\n \n})\nexport default class XiPopupInfo extends Vue {\n\n @Prop({required:true, default:{name:'',descripcion:[],model:{} } }) \n conf!:{name:string,descripcion:string[] , model:any};// Object;\n \n keyHandler(evento:any) {\n if (evento.keyCode===27)\n this.salir({});\n }\n\n salir(params:any) {\n this.$modal.hide(this.conf.name,{valor:'C'});\n } \n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./xi-popup-info.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./xi-popup-info.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./xi-popup-info.vue?vue&type=template&id=014a66ee&scoped=true&\"\nimport script from \"./xi-popup-info.vue?vue&type=script&lang=ts&\"\nexport * from \"./xi-popup-info.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./xi-popup-info.vue?vue&type=style&index=0&id=014a66ee&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"014a66ee\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('vx-card',{staticClass:\"fondo\",on:{\"keyup\":_vm.keyHandler}},[_c('vs-row',{attrs:{\"vs-w\":\"12\",\"vs-justify\":\"space-between\"}},[_c('vs-col',{attrs:{\"vs-w\":\"2\"}}),_c('vs-col',{attrs:{\"vs-w\":\"8\",\"vs-type\":\"flex\",\"vs-justify\":\"center\"}},[_c('h5',[_vm._v(_vm._s(_vm.conf.title || ''))])]),_c('vs-col',{attrs:{\"vs-w\":\"2\",\"vs-type\":\"flex\",\"vs-justify\":\"flex-end\"}},[_c('span',{on:{\"click\":_vm.salir}},[_c('vs-icon',{staticClass:\"icon\",attrs:{\"icon\":\"close\"}})],1)])],1),_c('vs-divider'),_vm._l((_vm.conf.descripcion),function(item){return _c('div',{key:item.id},[_c('dx-text-area',{attrs:{\"value\":item,\"autoResizeEnabled\":true,\"max-length\":50000,\"width\":\"100%\",\"height\":'25em',\"readOnly\":true}})],1)})],2)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { Component, Vue, Prop } from 'vue-property-decorator'\nimport { DxTextArea } from 'devextreme-vue'\n\n@Component({\n components: {\n DxTextArea,\n },\n})\nexport default class XiPopupInfoTextarea extends Vue {\n\n @Prop({required:true, default:{name:'',descripcion:[],model:{} } }) \n conf!:{name:string,descripcion:string[] , model:any};// Object;\n \n keyHandler(evento:any) {\n if (evento.keyCode===27)\n this.salir({});\n }\n\n salir(params:any) {\n this.$modal.hide(this.conf.name,{valor:'C'});\n } \n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./xi-popup-info-textarea.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./xi-popup-info-textarea.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./xi-popup-info-textarea.vue?vue&type=template&id=2091b6c1&scoped=true&\"\nimport script from \"./xi-popup-info-textarea.vue?vue&type=script&lang=ts&\"\nexport * from \"./xi-popup-info-textarea.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./xi-popup-info-textarea.vue?vue&type=style&index=0&id=2091b6c1&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2091b6c1\",\n null\n \n)\n\nexport default component.exports","import { Vue } from 'vue-property-decorator'\nimport XiPopupConfirm from '@/components/xlm-common-ui/xi-popup-confirm.vue'\nimport XiPopupInfo from '@/components/xlm-common-ui/xi-popup-info.vue'\nimport XiPopupInfoTextarea from '@/components/xlm-common-ui/xi-popup-info-textarea.vue'\nimport notify from 'devextreme/ui/notify'\nimport { logService } from '@/services/log.service'\nimport { webSocketService } from '@/services/WebSocketService'\n\nclass UtilService extends Vue {\n // #region Notificaciones\n\n public notifyValidation(obj: Array): boolean {\n let textoValidacion = ''\n\n if (obj.length > 0) {\n let text = 'Por favor, verifique los datos introducidos:
'\n obj.forEach(error => {\n text += `- ${error.toString()}
`\n })\n textoValidacion = text\n }\n\n if (textoValidacion !== '') {\n this.notifyError(textoValidacion)\n this.debug(textoValidacion)\n return true\n }\n return false\n }\n\n public notifyWarning(text:string) {\n this.notify({\n text,\n title: 'Atención',\n color: 'warning',\n })\n }\n\n public notifyError(text:string) {\n this.notify({\n text,\n title: 'Atención',\n color: 'error',\n })\n this.debug(text, 'notifyError()')\n }\n\n public notify(value: {\n text: any\n title: any\n color?: string\n position?: string\n }) {\n let valueColor = ''\n switch (value.color) {\n case 'info':\n valueColor = 'primary'\n break\n case 'warn':\n valueColor = 'warning'\n break\n case 'error':\n valueColor = 'danger'\n break\n case 'fatal':\n valueColor = 'danger'\n break\n default:\n valueColor = value.color || 'primary'\n break\n }\n this.debug(`${value.title} - ${value.text}`, `notify(${value.color})`)\n // @ts-ignore\n this.$vs.notify({\n title: value.title || '',\n text: value.text,\n color: valueColor,\n position: value.position || 'top-right',\n time: 10000,\n })\n }\n\n notifyDx(msg:string, type:string) {\n notify(msg, type, 5000)\n }\n\n // #endregion\n\n // #region Grid\n\n public rowdoubleclick(e: any) {\n const { component } = e\n const prevClickTime = component.lastClickTime\n component.lastClickTime = new Date()\n if (prevClickTime && component.lastClickTime - prevClickTime < 300) {\n return true\n }\n return false\n }\n\n public refs(self: Vue, control: string) {\n return self.$refs[control] ? (self.$refs[control] as any).instance : undefined\n }\n\n // #endregion\n\n // #region Modals\n\n public modal(\n PopupComponent: any,\n conf: { title?: string; name?: string; captionGuardar?: string, footer?: boolean },\n model: any,\n beforeClose: Function,\n width: string = '90%',\n height: string = 'auto',\n ) {\n this.$modal.show(\n PopupComponent,\n { conf, model },\n {\n scrollable: true,\n adaptive: false,\n name: conf.name,\n height,\n width,\n clickToClose: false,\n },\n {\n 'before-close': beforeClose,\n },\n )\n }\n\n public modalWithParams(\n PopupComponent: any,\n conf: { title?: string; name?: string; captionGuardar?: string, footer?: boolean },\n params: any,\n beforeClose: Function,\n width: string = '400px',\n ) {\n this.$modal.show(\n PopupComponent,\n { conf, params },\n {\n scrollable: true,\n adaptive: false,\n name: conf.name,\n height: 'auto',\n width,\n clickToClose: false,\n },\n {\n 'before-close': beforeClose,\n },\n )\n }\n\n public modalPromise(\n PopupComponent: any,\n conf: { title?: string; name?: string; captionGuardar?: string, footer?: boolean },\n model: any,\n width: string = '400px',\n ): Promise {\n return new Promise(resolve => {\n this.$modal.show(\n PopupComponent,\n { conf, model },\n {\n scrollable: true,\n adaptive: false,\n name: conf.name,\n height: 'auto',\n width,\n clickToClose: false,\n },\n {\n 'before-close': (param: any) => { resolve(param) },\n },\n )\n })\n }\n\n public modalConfirm(\n conf: {\n title?: string\n name?: string\n descripcion?: string[]\n OK?: string\n CANCEL?: string,\n confirm?: boolean\n },\n width: string = '90%',\n ): Promise {\n return new Promise(resolve => {\n this.$modal.show(\n XiPopupConfirm,\n { conf },\n {\n scrollable: true,\n adaptative: true,\n name: conf.name,\n height: 'auto',\n width,\n clickToClose: false,\n },\n {\n 'before-close': (param: any) => { resolve(param) },\n },\n )\n })\n }\n\n public modalConfirmSave(): Promise {\n return this.modalConfirm({\n title: 'Atención',\n name: 'modalConfirmSave',\n descripcion: [\n 'No has guardado los cambios realizados.',\n '¿Quieres guardarlos ahora?',\n ],\n OK: 'Sí',\n CANCEL: 'No',\n confirm: true,\n })\n }\n\n public modalInfo(\n conf: {\n title?: string\n name?: string\n descripcion?: string[]\n },\n width: string = '400px',\n ): Promise {\n return new Promise(resolve => {\n this.$modal.show(\n XiPopupInfo,\n { conf },\n {\n scrollable: true,\n adaptative: true,\n name: conf.name,\n height: 'auto',\n width,\n clickToClose: false,\n },\n {\n 'before-close': (param: any) => {\n resolve(param)\n },\n },\n )\n })\n }\n\n public modalInfoTextArea(\n conf: {\n title?: string\n name?: string\n descripcion?: string[]\n },\n width: string = '400px',\n ): Promise {\n return new Promise(resolve => {\n this.$modal.show(\n XiPopupInfoTextarea,\n { conf },\n {\n scrollable: true,\n adaptative: true,\n name: conf.name,\n height: 'auto',\n width,\n clickToClose: false,\n },\n {\n 'before-close': (param: any) => {\n resolve(param)\n },\n },\n )\n })\n }\n\n // #endregion\n\n // #region Eventos\n\n public emit(name: string, event: any) {\n this.$emit(name, event)\n }\n\n public on(name: string, callBack: Function) {\n this.$on(name, (event: any) => callBack(event))\n }\n\n public off(name: string) {\n this.$off(name)\n }\n\n // #endregion\n\n // #region SignalR\n\n public onSignal(name: string, idSource: string, callBack: Function) {\n webSocketService.on(name, idSource, callBack)\n }\n\n public offSignal(name: string, idSource: string) {\n webSocketService.off(name, idSource)\n }\n\n public online(): boolean {\n return webSocketService.online()\n }\n\n public getOnline(): boolean {\n return webSocketService.getOnline\n }\n\n // #endregion\n\n // #region Logger\n\n public debug(message: string, method: string = '', parameters: any = null, servicioId: number = 0) {\n logService.debug(message, method, parameters, servicioId)\n }\n\n public info(message: string, method: string = '', parameters: any = null, servicioId: number = 0) {\n logService.info(message, method, parameters, servicioId)\n }\n\n public warn(message: string, method: string = '', parameters: any = null, servicioId: number = 0) {\n logService.warn(message, method, parameters, servicioId)\n }\n\n public error(message: string, method: string = '', parameters: any = null, error: any = {}, servicioId: number = 0) {\n logService.error(message, method, parameters, error, servicioId)\n }\n\n public fatal(message: string, method: string = '', parameters: any = null, error: any = {}, servicioId: number = 0) {\n logService.fatal(message, method, parameters, error, servicioId)\n }\n\n // #endregion\n\n // #region Documentos\n\n public downloadFile(params: {data:any, type:string, filename:string}): void {\n // type : 'text/csv'\n const blob: Blob = new Blob([params.data], { type: params.type })\n const fileName: string = params.filename || 'fichero'\n const objectUrl: string = URL.createObjectURL(blob)\n const a: HTMLAnchorElement = document.createElement('a') as HTMLAnchorElement\n\n a.href = objectUrl\n a.download = fileName\n document.body.appendChild(a)\n a.click()\n\n document.body.removeChild(a)\n URL.revokeObjectURL(objectUrl)\n }\n\n public fileToImage(file: File): Promise {\n return new Promise(resolve => {\n const reader = new FileReader()\n reader.readAsDataURL(file)\n reader.onload = (_event: any) => {\n resolve(reader.result)\n }\n })\n }\n\n public blobToFile(theBlob: Blob, fileName: string): File {\n const b: any = theBlob\n // A Blob() is almost a File() - it's just missing the two properties below which we will add\n b.lastModifiedDate = new Date()\n b.name = fileName\n\n // Cast to a File() type\n return theBlob\n }\n\n private dataURItoBlob(dataURI: any): Blob {\n // convert base64/URLEncoded data component to raw binary data held in a string\n let byteString\n if (dataURI.split(',')[0].indexOf('base64') >= 0) { byteString = atob(dataURI.split(',')[1]) } else byteString = unescape(dataURI.split(',')[1])\n // separate out the mime component\n const mimeString = dataURI\n .split(',')[0]\n .split(':')[1]\n .split(';')[0]\n // write the bytes of the string to a typed array\n const ia = new Uint8Array(byteString.length)\n for (let i = 0; i < byteString.length; i++) {\n ia[i] = byteString.charCodeAt(i)\n }\n return new Blob([ia], { type: mimeString })\n }\n\n // #endregion\n\n // #region Otros\n\n private registerTime: any | null;\n\n public duration() {\n if (this.registerTime === null || this.registerTime === undefined) {\n this.registerTime = this.$moment()\n } else {\n const endTime = this.$moment()\n const duration = this.$moment.duration(endTime.diff(this.registerTime))\n console.log(`Duration: ${duration.asSeconds()}s`)\n this.registerTime = null\n }\n }\n\n private durations: Array = [];\n\n public addDuration(guid: string) {\n this.durations.push({\n guid,\n time: this.$moment(),\n })\n }\n\n public getDuration(guid: string) {\n const duration = this.durations.find((x: any) => x.guid === guid)\n\n if (duration) {\n const endTime = this.$moment()\n const seconds = this.$moment.duration(endTime.diff(this.registerTime)).asSeconds()\n _.remove(this.durations, (x: any) => x.guid === guid)\n\n return seconds\n }\n return 0\n }\n\n public loading(value: boolean = true) {\n if (value)\n // @ts-ignore\n { this.$vs.loading() }\n // @ts-ignore\n else this.$vs.loading.close()\n }\n\n public get UID() {\n return (\n Math.random()\n .toString(36)\n .substring(2) + new Date().getTime().toString(36)\n )\n }\n\n // #endregion\n}\nexport const $util = new UtilService()\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./xi-popup-info.vue?vue&type=style&index=0&id=014a66ee&scoped=true&lang=css&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{attrs:{\"height\":\"100%\",\"width\":\"100%\"}},[_c('rect',{attrs:{\"x\":\"0\",\"y\":\"0\",\"width\":\"100%\",\"height\":\"100%\",\"rx\":\"20%\",\"ry\":\"20%\",\"fill\":_vm.color}})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SquareRoundedSvg.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SquareRoundedSvg.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SquareRoundedSvg.vue?vue&type=template&id=cd4f71e8&\"\nimport script from \"./SquareRoundedSvg.vue?vue&type=script&lang=js&\"\nexport * from \"./SquareRoundedSvg.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}