{"version":3,"sources":["./src/app/acepted-trips/acepted-trips.component.html","./src/app/app.component.html","./src/app/change-password/change_password.component.html","./src/app/counter/counter.component.html","./src/app/feed/feed.component.html","./src/app/fetch-data/fetch-data.component.html","./src/app/home/home.component.html","./src/app/login/login.component.html","./src/app/my-list/my-list.component.html","./src/app/nav-menu/nav-menu.component.html","./src/app/new-travels/new-travels.component.html","./src/app/offers-completed/offers-completed.component.html","./src/app/pending-trips/pending-trips.component.html","./src/app/recovery/recovery.component.html","./src/app/register/register.component.html","./src/app/vehicle-registration/vehicle-registration.component.html","./src/app/vehicles/vehicles.component.html","./src/$_lazy_route_resource lazy namespace object","./src/app/acepted-trips/acepted-trips.component.css","./src/app/acepted-trips/acepted-trips.component.ts","./src/app/app.component.ts","./src/app/app.module.ts","./src/app/change-password/change_password.component.css","./src/app/change-password/change_password.component.ts","./src/app/counter/counter.component.ts","./src/app/feed/feed.component.css","./src/app/feed/feed.component.ts","./src/app/fetch-data/fetch-data.component.ts","./src/app/home/home.component.ts","./src/app/login/login.component.css","./src/app/login/login.component.ts","./src/app/my-list/my-list.component.css","./src/app/my-list/my-list.component.ts","./src/app/nav-menu/nav-menu.component.css","./src/app/nav-menu/nav-menu.component.ts","./src/app/new-travels/new-travels.component.css","./src/app/new-travels/new-travels.component.ts","./src/app/offers-completed/offers-completed.component.css","./src/app/offers-completed/offers-completed.component.ts","./src/app/pending-trips/pending-trips.component.css","./src/app/pending-trips/pending-trips.component.ts","./src/app/recovery/recovery.component.css","./src/app/recovery/recovery.component.ts","./src/app/register/register.component.css","./src/app/register/register.component.ts","./src/app/services/feed/feed.service.ts","./src/app/services/login/login.service.ts","./src/app/vehicle-registration/vehicle-registration.component.css","./src/app/vehicle-registration/vehicle-registration.component.ts","./src/app/vehicles/vehicles.component.css","./src/app/vehicles/vehicles.component.ts","./src/environments/environment.ts","./src/main.ts"],"names":[],"mappings":";;;;;;;;;;AAAA;AAAe,2QAA4M,2FAA2F,0BAA0B,oEAAoE,oBAAoB,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AM,EAAmB,wDAAU;GAlC7G,QAAQ,CAykBpB;AAzkBoB;;;;;;;;;;;;;ACfrB;AAAA;AAAA,gFAAgF;AAChF,2EAA2E;AAC3E,gEAAgE;;;;AAEzD,MAAM,WAAW,GAAG;IACzB,UAAU,EAAE,KAAK;CAClB,CAAC;AAEF;;;;;GAKG;AACH,mEAAmE;;;;;;;;;;;;;;;;;;;;;;ACdpB;AAC4B;AAE9B;AACY;AAElD,SAAS,UAAU;IACxB,OAAO,QAAQ,CAAC,oBAAoB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;AACvD,CAAC;AAED,MAAM,SAAS,GAAG;IAChB,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU,EAAE,IAAI,EAAE,EAAE,EAAE;CAC1D,CAAC;AAEF,IAAI,qEAAW,CAAC,UAAU,EAAE;IAC1B,oEAAc,EAAE,CAAC;CAClB;AAED,gGAAsB,CAAC,SAAS,CAAC,CAAC,eAAe,CAAC,yDAAS,CAAC;KACzD,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,CAAC","file":"main-es2015.js","sourcesContent":["export default \"\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n {{ row.service_name }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n

{{ row.travel_name }}

\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n {{ 'tabla_todos_los_viajes.fecha_salida' | translate }}: {{ row.formatDate }} ({{ row.formatFlexibleDate }})\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{'tabla_todos_los_viajes.num_caballos' | translate}}: {{ row.horse_number }}\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ 'confirmacion_final.confirmar' | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ 'enviar_oferta.de' | translate }}: {{ row.travel_start_address }}\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ 'confirmacion_final.cancelar_viaje' | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ 'enviar_oferta.hasta' | translate }}: {{ row.travel_end_address}}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ 'idioma' | translate }}: {{ row.appLanguage}}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{'tabla_todos_los_viajes.distancia' | translate}}: {{ row.kmString }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ 'confirmacion_final.confirmar' | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ 'confirmacion_final.cancelar_viaje' | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n
\\r\\n
\\r\\n
{{ 'confirmacion_final.cual_es_el_motivo_de_cancelacion' | translate }}
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ 'enviar' | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n
\\r\\n
\\r\\n
{{ 'tabla_todos_los_viajes.detalles_viaje' | translate }}
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
{{ 'tabla_todos_los_viajes.nombre_viaje' | translate }}:
\\r\\n
{{ view_travel.travel_name }}
\\r\\n
\\r\\n \\r\\n
\\r\\n
{{ 'enviar_oferta.numero_caballos' | translate }}:
\\r\\n
{{ view_travel.horse_number }}
\\r\\n
\\r\\n
\\r\\n
{{ 'enviar_oferta.de' | translate }}:
\\r\\n
{{ view_travel.travel_start_address }}
\\r\\n
\\r\\n
\\r\\n
{{ 'enviar_oferta.hasta' | translate }}:
\\r\\n
{{ view_travel.travel_end_address }}
\\r\\n
\\r\\n
\\r\\n
{{ 'enviar_oferta.salida' | translate }}:
\\r\\n
{{ departure }}
\\r\\n
\\r\\n
\\r\\n
{{ 'enviar_oferta.tipo_servicio' | translate }}:
\\r\\n
{{ service_type }}
\\r\\n
\\r\\n
\\r\\n
{{ 'tabla_todos_los_viajes.distancia' | translate }}:
\\r\\n
{{ view_travel.distance }}
\\r\\n
\\r\\n
\\r\\n
{{ 'enviar_oferta.notas_viaje' | translate }}:
\\r\\n
{{ notes }}
\\r\\n
\\r\\n
\\r\\n
{{ 'enviar_oferta.nota_adicional' | translate }}:
\\r\\n
{{ lblofferNotes }}
\\r\\n
\\r\\n
\\r\\n
{{ 'oferta_enviada.oferta_enviada_por_ti' | translate }}:
\\r\\n
{{ offerSent }}
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n
\\r\\n \\\"\\\"\\r\\n
\\r\\n
\\r\\n\"","export default \"\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n\\r\\n\"","export default \"
\\r\\n
\\r\\n
\\r\\n
{{ 'recuperar_contrasena.cambio_contrasena' | translate }}
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n {{ 'recuperar_contrasena.confirmar_contrasena' | translate }}\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n {{ 'recuperar_contrasena.cambiar_contrasena' | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n \\r\\n
\\r\\n \\\"\\\"\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n\"","export default \"

Counter

\\r\\n\\r\\n

This is a simple example of an Angular component.

\\r\\n\\r\\n

Current count: {{ currentCount }}

\\r\\n\\r\\n\\r\\n\"","export default \"
\\r\\n
\\r\\n \\\"HorseLift\\\"\\r\\n
\\r\\n     \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n

\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n {{ 'fichas.termina_pronto' | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ 'fichas.filtro_tipo' | translate }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
    \\r\\n
  • \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
  • \\r\\n
  • \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
  • \\r\\n
  • \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
  • \\r\\n
  • \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
  • \\r\\n
  • \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
  • \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ 'fichas.filtro_fecha' | translate }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
    \\r\\n
  • \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
  • \\r\\n
  • \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
  • \\r\\n
  • \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
  • \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ 'fichas.filtro_num_caballos' | translate }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
    \\r\\n
  • \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
  • \\r\\n
  • \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
  • \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ 'fichas.filtro_distancia' | translate }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
    \\r\\n
  • \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
  • \\r\\n
  • \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
  • \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ 'fichas.filtro_pais' | translate }}\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
    \\r\\n
  • \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
  • \\r\\n
  • \\r\\n
    \\r\\n
    \\r\\n \\r\\n \\r\\n
    \\r\\n
    \\r\\n
  • \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ 'fichas.guardar_preferencias' | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n
\\r\\n
\\r\\n
{{ 'menu_superior.perfil' | translate }}
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n

{{ 'nuevo_registro.datos_usuario' | translate }}

\\r\\n
{{ 'nuevo_registro.nombre_completo' | translate }}:
\\r\\n
{{ userEnterpriseInfo.fullname }}
\\r\\n
{{ 'inicio_sesion.correo_electronico' | translate }}:
\\r\\n
{{ userEnterpriseInfo.email }}
\\r\\n
{{ 'nuevo_registro.num_telefonico' | translate }}:
\\r\\n
{{ userEnterpriseInfo.user_phone }}
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n

{{ 'nuevo_registro.datos_empresa' | translate }}

\\r\\n
{{ 'nuevo_registro.marca_comercial' | translate }}:
\\r\\n
{{ userEnterpriseInfo.trade_name }}
\\r\\n
{{ 'nuevo_registro.pagina_web' | translate }}:
\\r\\n
{{ userEnterpriseInfo.web_page }}
\\r\\n
{{ 'nuevo_registro.NIF' | translate }}:
\\r\\n
{{ userEnterpriseInfo.ciF_NIF }}
\\r\\n
{{ 'inicio_sesion.correo_electronico' | translate }}:
\\r\\n
{{ userEnterpriseInfo.enterprise_email }}
\\r\\n
{{ 'nuevo_registro.facebook' | translate }}:
\\r\\n
{{ userEnterpriseInfo.facebook_page }}
\\r\\n
{{ 'nuevo_registro.num_telefonico' | translate }}:
\\r\\n
{{ userEnterpriseInfo.phone_code }} {{ userEnterpriseInfo.enterprise_phone }}
\\r\\n
{{ 'nuevo_registro.direccion' | translate }}:
\\r\\n
{{ userEnterpriseInfo.enterprise_address }}
\\r\\n
{{ 'nuevo_registro.cp' | translate }}:
\\r\\n
{{ userEnterpriseInfo.postal_code }}
\\r\\n
{{ 'nuevo_registro.pais' | translate }}:
\\r\\n
{{ userEnterpriseInfo.countryName }} {{ userEnterpriseInfo.emoji }}
\\r\\n
{{ 'nuevo_registro.ciudad' | translate }}:
\\r\\n
{{ userEnterpriseInfo.enterprise_city }}
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n
\\r\\n \\\"\\\"\\r\\n
\\r\\n
\\r\\n\"","export default \"

Weather forecast

\\r\\n\\r\\n

This component demonstrates fetching data from the server.

\\r\\n\\r\\n

Loading...

\\r\\n\\r\\n\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
DateTemp. (C)Temp. (F)Summary
{{ forecast.date }}{{ forecast.temperatureC }}{{ forecast.temperatureF }}{{ forecast.summary }}
\\r\\n\"","export default \"

Hello, world!

\\r\\n

Welcome to your new single-page application, built with:

\\r\\n\\r\\n

To help you get started, we've also set up:

\\r\\n\\r\\n

The ClientApp subdirectory is a standard Angular CLI application. If you open a command prompt in that directory, you can run any ng command (e.g., ng test), or use npm to install extra packages into it.

\\r\\n\"","export default \"
\\r\\n
\\r\\n
\\r\\n \\\"\\\"\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ 'campo_obligatorio' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ 'campo_obligatorio' | translate }}\\r\\n \\r\\n \\r\\n {{ 'inicio_sesion.error_credenciales' | translate }}\\r\\n \\r\\n \\r\\n {{ 'inicio_sesion.cuenta_no_validada' | translate }}\\r\\n \\r\\n\\r\\n
\\r\\n {{ 'inicio_sesion.olvidar_contrasena' | translate }}\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n
\\r\\n \\\"\\\"\\r\\n
\\r\\n
\\r\\n\"","export default \"\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n {{ row.service_name }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n

{{ row.travel_name }}

\\r\\n
\\r\\n
\\r\\n \\\"Trash__Unselected\\\"\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ 'tabla_todos_los_viajes.fecha_salida' | translate }}: {{ row.formatDate }} ({{ row.formatFlexibleDate }})\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{'tabla_todos_los_viajes.num_caballos' | translate}}: {{ row.horse_number }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ 'enviar_oferta.de' | translate }}: {{ row.travel_start_address }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ 'enviar_oferta.hasta' | translate }}: {{ row.travel_end_address}}\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n {{ 'tabla_todos_los_viajes.distancia' | translate}}: {{ row.kmString }}\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ row.msg }}\\r\\n
\\r\\n
\\r\\n {{'tabla_todos_los_viajes.hacer_presupuesto' | translate}}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ row.msg }}\\r\\n
\\r\\n
\\r\\n {{'tabla_todos_los_viajes.hacer_presupuesto' | translate}}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n
\\r\\n
\\r\\n
{{ 'tabla_todos_los_viajes.detalles_viaje' | translate }}
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
{{ 'tabla_todos_los_viajes.nombre_viaje' | translate }}:
\\r\\n
{{ view_travel.travel_name }}
\\r\\n
\\r\\n \\r\\n
\\r\\n
{{ 'enviar_oferta.numero_caballos' | translate }}:
\\r\\n
{{ view_travel.horse_number }}
\\r\\n
\\r\\n
\\r\\n
{{ 'enviar_oferta.de' | translate }}:
\\r\\n
{{ view_travel.travel_start_address }}
\\r\\n
\\r\\n
\\r\\n
{{ 'enviar_oferta.hasta' | translate }}:
\\r\\n
{{ view_travel.travel_end_address }}
\\r\\n
\\r\\n
\\r\\n
{{ 'enviar_oferta.salida' | translate }}:
\\r\\n
{{ departure }}
\\r\\n
\\r\\n
\\r\\n
{{ 'enviar_oferta.tipo_servicio' | translate }}:
\\r\\n
{{ service_type }}
\\r\\n
\\r\\n
\\r\\n
{{ 'tabla_todos_los_viajes.distancia' | translate }}:
\\r\\n
{{ view_travel.distance }}
\\r\\n
\\r\\n
\\r\\n
{{ 'enviar_oferta.notas_viaje' | translate }}:
\\r\\n
{{ notes }}
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ 'campo_obligatorio' | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ descripcionServicio }}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n

\\r\\n {{ 'tabla_todos_los_viajes.comision' | translate }}\\r\\n

\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n {{ 'campo_obligatorio' | translate }}\\r\\n
\\r\\n \\r\\n {{ 'enviar_oferta.error_cantidad_oferta' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n
\\r\\n \\\"\\\"\\r\\n
\\r\\n
\\r\\n\"","export default \"
\\r\\n \\r\\n
\\r\\n \\r\\n HorseLiftPortal\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n\"","export default \"\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n {{ row.service_name }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n

{{ row.travel_name }}

\\r\\n
\\r\\n
\\r\\n \\\"Remove_from_List__Unselected\\\"\\r\\n \\\"Trash__Unselected\\\"\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ 'tabla_todos_los_viajes.fecha_salida' | translate }}: {{ row.formatDate }} ({{ row.formatFlexibleDate }})\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{'tabla_todos_los_viajes.num_caballos' | translate}}: {{ row.horse_number }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ 'enviar_oferta.de' | translate }}: {{ row.travel_start_address }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ 'enviar_oferta.hasta' | translate }}: {{ row.travel_end_address}}\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n {{ 'tabla_todos_los_viajes.distancia' | translate}}: {{ row.kmString }}\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ row.msg }}\\r\\n
\\r\\n
\\r\\n {{'tabla_todos_los_viajes.hacer_presupuesto' | translate}}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ row.msg }}\\r\\n
\\r\\n
\\r\\n {{'tabla_todos_los_viajes.hacer_presupuesto' | translate}}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n
\\r\\n
\\r\\n
{{ 'tabla_todos_los_viajes.detalles_viaje' | translate }}
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
{{ 'tabla_todos_los_viajes.nombre_viaje' | translate }}:
\\r\\n
{{ view_travel.travel_name }}
\\r\\n
\\r\\n \\r\\n
\\r\\n
{{ 'enviar_oferta.numero_caballos' | translate }}:
\\r\\n
{{ view_travel.horse_number }}
\\r\\n
\\r\\n
\\r\\n
{{ 'enviar_oferta.de' | translate }}:
\\r\\n
{{ view_travel.travel_start_address }}
\\r\\n
\\r\\n
\\r\\n
{{ 'enviar_oferta.hasta' | translate }}:
\\r\\n
{{ view_travel.travel_end_address }}
\\r\\n
\\r\\n
\\r\\n
{{ 'enviar_oferta.salida' | translate }}:
\\r\\n
{{ departure }}
\\r\\n
\\r\\n
\\r\\n
{{ 'enviar_oferta.tipo_servicio' | translate }}:
\\r\\n
{{ service_type }}
\\r\\n
\\r\\n
\\r\\n
{{ 'tabla_todos_los_viajes.distancia' | translate }}:
\\r\\n
{{ view_travel.distance }}
\\r\\n
\\r\\n
\\r\\n
{{ 'enviar_oferta.notas_viaje' | translate }}:
\\r\\n
{{ notes }}
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ 'campo_obligatorio' | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ descripcionServicio }}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n

\\r\\n {{ 'tabla_todos_los_viajes.comision' | translate }}\\r\\n

\\r\\n

\\r\\n {{ 'tabla_todos_los_viajes.excluir' | translate }}\\r\\n

\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n {{ 'campo_obligatorio' | translate }}\\r\\n
\\r\\n \\r\\n {{ 'enviar_oferta.error_cantidad_oferta' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n
\\r\\n \\\"\\\"\\r\\n
\\r\\n
\\r\\n\"","export default \"\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n {{ row.service_name }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n

{{ row.travel_name }}

\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n {{ 'tabla_todos_los_viajes.fecha_salida' | translate }}: {{ row.formatDate }} ({{ row.formatFlexibleDate }})\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{'tabla_todos_los_viajes.num_caballos' | translate}}: {{ row.horse_number }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ 'enviar_oferta.de' | translate }}: {{ row.travel_start_address }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ 'enviar_oferta.hasta' | translate }}: {{ row.travel_end_address}}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ 'idioma' | translate }}: {{ row.appLanguage}}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{'tabla_todos_los_viajes.distancia' | translate}}: {{ row.kmString }}\\r\\n
\\r\\n
\\r\\n
\\r\\n {{'tabla_todos_los_viajes.detalles_viaje' | translate}}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{'tabla_todos_los_viajes.detalles_viaje' | translate}}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n
\\r\\n
\\r\\n
{{ 'tabla_todos_los_viajes.detalles_viaje' | translate }}
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
{{ 'tabla_todos_los_viajes.nombre_viaje' | translate }}:
\\r\\n
{{ view_travel.travel_name }}
\\r\\n
\\r\\n \\r\\n
\\r\\n
{{ 'enviar_oferta.numero_caballos' | translate }}:
\\r\\n
{{ view_travel.horse_number }}
\\r\\n
\\r\\n
\\r\\n
{{ 'enviar_oferta.de' | translate }}:
\\r\\n
{{ view_travel.travel_start_address }}
\\r\\n
\\r\\n
\\r\\n
{{ 'enviar_oferta.hasta' | translate }}:
\\r\\n
{{ view_travel.travel_end_address }}
\\r\\n
\\r\\n \\r\\n
\\r\\n
{{ 'enviar_oferta.salida' | translate }}:
\\r\\n
{{ departure }}
\\r\\n
\\r\\n \\r\\n
\\r\\n
{{ 'enviar_oferta.tipo_servicio' | translate }}:
\\r\\n
{{ service_type }}
\\r\\n
\\r\\n
\\r\\n
{{ 'tabla_todos_los_viajes.distancia' | translate }}:
\\r\\n
{{ view_travel.distance }}
\\r\\n
\\r\\n
\\r\\n
{{ 'enviar_oferta.notas_viaje' | translate }}:
\\r\\n
{{ notes }}
\\r\\n
\\r\\n
\\r\\n
{{ 'oferta_enviada.estatus' | translate }}:
\\r\\n
{{ status }}
\\r\\n
\\r\\n
\\r\\n
{{ 'enviar_oferta.nota_adicional' | translate }}:
\\r\\n
{{ lblofferNotes }}
\\r\\n
\\r\\n
\\r\\n
{{ 'oferta_enviada.oferta_enviada_por_ti' | translate }}:
\\r\\n
{{ offerSent }}
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n
\\r\\n \\\"\\\"\\r\\n
\\r\\n
\\r\\n\"","export default \"\\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n {{ row.service_name }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n

{{ row.travel_name }}

\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n {{ 'tabla_todos_los_viajes.fecha_salida' | translate }}: {{ row.formatDate }} ({{ row.formatFlexibleDate }})\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{'tabla_todos_los_viajes.num_caballos' | translate}}: {{ row.horse_number }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ 'enviar_oferta.de' | translate }}: {{ row.travel_start_address }}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ 'enviar_oferta.hasta' | translate }}: {{ row.travel_end_address}}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ 'idioma' | translate }}: {{ row.appLanguage}}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{'tabla_todos_los_viajes.distancia' | translate}}: {{ row.kmString }}\\r\\n
\\r\\n
\\r\\n
\\r\\n {{'tabla_todos_los_viajes.detalles_viaje' | translate}}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n {{'tabla_todos_los_viajes.detalles_viaje' | translate}}\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n
\\r\\n
\\r\\n
{{ 'tabla_todos_los_viajes.detalles_viaje' | translate }}
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
{{ 'tabla_todos_los_viajes.nombre_viaje' | translate }}:
\\r\\n
{{ view_travel.travel_name }}
\\r\\n
\\r\\n \\r\\n
\\r\\n
{{ 'enviar_oferta.numero_caballos' | translate }}:
\\r\\n
{{ view_travel.horse_number }}
\\r\\n
\\r\\n
\\r\\n
{{ 'enviar_oferta.de' | translate }}:
\\r\\n
{{ view_travel.travel_start_address }}
\\r\\n
\\r\\n
\\r\\n
{{ 'enviar_oferta.hasta' | translate }}:
\\r\\n
{{ view_travel.travel_end_address }}
\\r\\n
\\r\\n
\\r\\n
{{ 'enviar_oferta.salida' | translate }}:
\\r\\n
{{ departure }}
\\r\\n
\\r\\n
\\r\\n
{{ 'enviar_oferta.tipo_servicio' | translate }}:
\\r\\n
{{ service_type }}
\\r\\n
\\r\\n
\\r\\n
{{ 'tabla_todos_los_viajes.distancia' | translate }}:
\\r\\n
{{ view_travel.distance }}
\\r\\n
\\r\\n
\\r\\n
{{ 'enviar_oferta.notas_viaje' | translate }}:
\\r\\n
{{ notes }}
\\r\\n
\\r\\n
\\r\\n
{{ 'oferta_enviada.estatus' | translate }}:
\\r\\n
{{ status }}
\\r\\n
\\r\\n
\\r\\n
{{ 'enviar_oferta.nota_adicional' | translate }}:
\\r\\n
{{ lblofferNotes }}
\\r\\n
\\r\\n
\\r\\n
{{ 'oferta_enviada.oferta_enviada_por_ti' | translate }}:
\\r\\n
{{ offerSent }}
\\r\\n
\\r\\n
\\r\\n
{{ 'nuevo_registro.vehiculo' | translate }}:
\\r\\n
{{ vehicleSent }}
\\r\\n
\\r\\n
\\r\\n
{{ 'tabla_todos_los_viajes.num_caballos' | translate }}:
\\r\\n
{{ numberHorsesSent }}
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n
\\r\\n \\\"\\\"\\r\\n
\\r\\n
\\r\\n\"","export default \"
\\r\\n
\\r\\n
\\r\\n
{{ instructions }}
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n
\\r\\n \\\"\\\"\\r\\n
\\r\\n
\\r\\n\"","export default \"
\\r\\n

{{ 'inicio_sesion.registro_empresa' | translate}}

\\r\\n
\\r\\n
\\r\\n

{{ 'nuevo_registro.datos_usuario' | translate }}

\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ 'campo_obligatorio' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ 'campo_obligatorio' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ 'campo_obligatorio' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ 'campo_obligatorio' | translate }}\\r\\n \\r\\n
\\r\\n {{ 'nuevo_registro.longitud_contrasena' | translate }}\\r\\n \\r\\n {{ 'nuevo_registro.contrasena_no_coincide' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ 'campo_obligatorio' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n

{{ 'nuevo_registro.datos_empresa' | translate }}

\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ 'campo_obligatorio' | translate }}\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ 'campo_obligatorio' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ 'campo_obligatorio' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ 'campo_obligatorio' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ 'campo_obligatorio' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ 'campo_obligatorio' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ 'campo_obligatorio' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ 'campo_obligatorio' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ 'campo_obligatorio' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n
\\r\\n \\\"\\\"\\r\\n
\\r\\n
\\r\\n\"","export default \"
\\r\\n
\\r\\n {{ 'nuevo_registro.agreadecimiento' | translate }}\\r\\n
\\r\\n
\\r\\n
\\r\\n

{{ 'nuevo_registro.datos_empresa' | translate }}

\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ 'campo_obligatorio' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ 'campo_obligatorio' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ 'campo_obligatorio' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ 'campo_obligatorio' | translate }}
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ 'campo_obligatorio' | translate }}
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
{{ 'nuevo_registro.vehiculo' | translate }} {{ item.vehicle_number }}
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
1\\\">\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ 'campo_obligatorio' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ 'campo_obligatorio' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ 'campo_obligatorio' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ 'campo_obligatorio' | translate }}
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
1\\\">\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
0\\\">\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ 'campo_obligatorio' | translate }}\\r\\n \\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ 'campo_obligatorio' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ 'campo_obligatorio' | translate }}
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ 'campo_obligatorio' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ 'campo_obligatorio' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ 'campo_obligatorio' | translate }}
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ 'campo_obligatorio' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n {{ 'fichas.premium' | translate }} ?\\r\\n

\\r\\n {{ 'nuevo_registro.descripcion_premium' | translate }}\\r\\n

\\r\\n

\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n {{ 'fichas.individual' | translate }} ?\\r\\n

\\r\\n {{ 'nuevo_registro.descripcion_individual' | translate }}\\r\\n

\\r\\n

\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n {{ 'fichas.individual' | translate }} ?\\r\\n

\\r\\n {{ 'nuevo_registro.descripcion_lift' | translate }}\\r\\n

\\r\\n

\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n {{ 'fichas.hopOnHopOff' | translate }} ?\\r\\n

\\r\\n {{ 'nuevo_registro.descripcion_hopOnHopOff' | translate }}\\r\\n

\\r\\n

\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n {{ 'fichas.guarantee' | translate }} ?\\r\\n

\\r\\n {{ 'nuevo_registro.descripcion_guarante' | translate }}\\r\\n

\\r\\n

\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ 'campo_obligatorio' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n

\\r\\n {{ 'nuevo_registro.responsable_de_la_info' | translate }}\\r\\n

\\r\\n

\\r\\n {{ 'nuevo_registro.asegura_datos_correctos' | translate }}\\r\\n

\\r\\n \\r\\n \\r\\n {{ 'nuevo_registro.valores_vacios' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n
\\r\\n \\\"\\\"\\r\\n
\\r\\n
\\r\\n\"","export default \"\\r\\n
\\r\\n
\\r\\n
\\r\\n {{ 'botones_navegacion.pagina_incio' | translate }}\\r\\n
\\r\\n

{{ 'nuevo_registro.agregar_vehiculo' | translate }}

\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
{{ 'nuevo_registro.vehiculo' | translate }} {{ item.vehicle_number }}
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ 'campo_obligatorio' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ 'campo_obligatorio' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ 'campo_obligatorio' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ 'campo_obligatorio' | translate }}
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n {{ 'nuevo_registro.valores_vacios' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n

{{ 'nuevo_registro.vehiculo_guardado' | translate }}

\\r\\n\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n
{{ 'nuevo_registro.vehiculo' | translate }} {{ item.vehicle_number }}
\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ 'campo_obligatorio' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ 'campo_obligatorio' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ 'campo_obligatorio' | translate }}\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n {{ 'campo_obligatorio' | translate }}
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n \\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n
\\r\\n \\r\\n
\\r\\n
\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n
\\r\\n \\\"\\\"\\r\\n
\\r\\n
\\r\\n\\r\\n\\r\\n\\r\\n\"","function webpackEmptyAsyncContext(req) {\n\t// Here Promise.resolve().then() is used instead of new Promise() to prevent\n\t// uncaught exception popping up in devtools\n\treturn Promise.resolve().then(function() {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t});\n}\nwebpackEmptyAsyncContext.keys = function() { return []; };\nwebpackEmptyAsyncContext.resolve = webpackEmptyAsyncContext;\nmodule.exports = webpackEmptyAsyncContext;\nwebpackEmptyAsyncContext.id = \"./src/$$_lazy_route_resource lazy recursive\";","export default \".cardItem {\\r\\n background-color: #ffffff;\\r\\n border-radius: 0px 15px 15px 0px;\\r\\n}\\r\\n\\r\\n.btnConfirmRight {\\r\\n background-color: #91d200;\\r\\n width: 60%;\\r\\n max-height: 45px;\\r\\n padding: 5px 5px 5px 5px;\\r\\n border-radius: 15px 15px 15px 15px\\r\\n}\\r\\n\\r\\n.btnConfirmRight:hover {\\r\\n cursor: pointer;\\r\\n}\\r\\n\\r\\n.btnConfirmBottom {\\r\\n background-color: #91d200;\\r\\n width: 100%;\\r\\n max-height: 45px;\\r\\n margin: 5px 5px 5px 5px;\\r\\n padding: 5px 5px 5px 5px;\\r\\n border-radius: 15px 15px 15px 15px;\\r\\n visibility: hidden;\\r\\n}\\r\\n\\r\\n.btnConfirmBottom:hover {\\r\\n cursor: pointer;\\r\\n}\\r\\n\\r\\n.btnCancelRight {\\r\\n margin-top: 5px;\\r\\n background-color: #f64300;\\r\\n width: 60%;\\r\\n max-height: 45px;\\r\\n padding: 5px 5px 5px 5px;\\r\\n border-radius: 15px 15px 15px 15px;\\r\\n color: white;\\r\\n}\\r\\n\\r\\n.btnCancelRight:hover {\\r\\n cursor: pointer;\\r\\n}\\r\\n\\r\\n.btnCancelBottom {\\r\\n margin-top: 5px;\\r\\n background-color: #f64300;\\r\\n width: 100%;\\r\\n max-height: 45px;\\r\\n margin: 5px 5px 5px 5px;\\r\\n padding: 5px 5px 5px 5px;\\r\\n border-radius: 15px 15px 15px 15px;\\r\\n color: white;\\r\\n visibility: hidden;\\r\\n}\\r\\n\\r\\n.btnCancelBottom:hover {\\r\\n cursor: pointer;\\r\\n}\\r\\n\\r\\n.inputReasonStyle {\\r\\n border-radius: 5px 5px 5px 5px;\\r\\n width: 100%;\\r\\n margin: 5px 5px 5px 5px;\\r\\n}\\r\\n\\r\\n.btnSend {\\r\\n background-color: #91d200;\\r\\n width: 100%;\\r\\n margin: 5px 5px 5px 5px;\\r\\n padding: 5px 5px 5px 5px;\\r\\n border-radius: 15px 15px 15px 15px;\\r\\n}\\r\\n\\r\\n.btnSend:hover {\\r\\n cursor: pointer;\\r\\n}\\r\\n\\r\\n@media only screen and (max-width: 850px) {\\r\\n .btnConfirmRight {\\r\\n visibility: hidden;\\r\\n }\\r\\n\\r\\n .btnConfirmBottom {\\r\\n visibility: visible;\\r\\n }\\r\\n\\r\\n .btnCancelRight {\\r\\n visibility: hidden;\\r\\n }\\r\\n\\r\\n .btnCancelBottom {\\r\\n visibility: visible;\\r\\n }\\r\\n}\\r\\n\\r\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvYWNlcHRlZC10cmlwcy9hY2VwdGVkLXRyaXBzLmNvbXBvbmVudC5jc3MiXSwibmFtZXMi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xuXHJcbkBtZWRpYSBvbmx5IHNjcmVlbiBhbmQgKG1heC13aWR0aDogODUwcHgpIHtcclxuICAuYnRuQ29uZmlybVJpZ2h0IHtcclxuICAgIHZpc2liaWxpdHk6IGhpZGRlbjtcclxuICB9XHJcblxyXG4gIC5idG5Db25maXJtQm90dG9tIHtcclxuICAgIHZpc2liaWxpdHk6IHZpc2libGU7XHJcbiAgfVxyXG5cclxuICAuYnRuQ2FuY2VsUmlnaHQge1xyXG4gICAgdmlzaWJpbGl0eTogaGlkZGVuO1xyXG4gIH1cclxuXHJcbiAgLmJ0bkNhbmNlbEJvdHRvbSB7XHJcbiAgICB2aXNpYmlsaXR5OiB2aXNpYmxlO1xyXG4gIH1cclxufVxyXG4iXX0= */\"","import { Component, OnInit, ElementRef, ViewEncapsulation, ViewChild, Renderer, Input } from '@angular/core';\r\nimport { Title } from '@angular/platform-browser';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { LoginServices } from '../services/login/login.service';\r\nimport { FeedServices } from '../services/feed/feed.service';\r\nimport { NgbModal, ModalDismissReasons, NgbModalRef } from '@ng-bootstrap/ng-bootstrap';\r\nimport { view_travel } from '../model/interfaces';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\n\r\n@Component({\r\n selector: 'acepted-trips',\r\n templateUrl: './acepted-trips.component.html',\r\n styleUrls: ['./acepted-trips.component.css'],\r\n encapsulation: ViewEncapsulation.None\r\n})\r\nexport class AceptedTripsComponent implements OnInit {\r\n @ViewChild(\"modalAceptUserOffer\", null) modalAceptUserOffer: NgbModalRef;\r\n @ViewChild(\"modalReasonCancellation\", null) modalReasonCancellation: NgbModalRef;\r\n @ViewChild(\"loadingModal\", null) loadingModal: NgbModalRef;\r\n\r\n @Input() updateChild: Date;\r\n // Get Set\r\n @Input()\r\n set elementToSearch(value: string) {\r\n //value = value || '';\r\n this._elementToSearch = value.toLowerCase();\r\n }\r\n get elementToSearch() {\r\n return this._elementToSearch;\r\n }\r\n\r\n private _elementToSearch: string;\r\n\r\n // Datos de la tabla\r\n rows = [];\r\n filterRows = [];\r\n linesTravels = [];\r\n isPendingTripsData: boolean = false;\r\n\r\n // Idiomas/etiquetas\r\n language: string = '';\r\n noFlexibleDate: string = '';\r\n\r\n // Valor global\r\n //guardar el index seleccionado para usarlo en el modal\r\n lineIndex: any;\r\n\r\n //datos modal\r\n view_travel = {} as view_travel;\r\n\r\n // Letreros individuales\r\n stall_type: string = '';\r\n truck: string = '';\r\n equipment: string = '';\r\n travel_type: string = '';\r\n service_type: string = '';\r\n status: string = '';\r\n notes: string = '';\r\n departure: string = '';\r\n return: string = '';\r\n arrivalOfDeparture: string = '';\r\n arrivalOfReturn: string = '';\r\n lblofferNotes: string = '';\r\n offerSent: string = '';\r\n\r\n // Traducciones\r\n individual: string = '';\r\n puesto_1_5: string = '';\r\n caja: string = '';\r\n si_pocos: string = '';\r\n si_muchos: string = '';\r\n ida: string = '';\r\n ida_vuelta: string = '';\r\n premium: string = '';\r\n lift: string = '';\r\n hopOnHopOff: string = '';\r\n guarantee: string = '';\r\n todos_los_viajes: string = '';\r\n cancelado_por_ti: string = '';\r\n cliente_rechazo_oferta: string = '';\r\n cliente_eliminado_anuncio: string = '';\r\n oferta_enviada: string = '';\r\n hecho: string = '';\r\n flexibleString: string = '';\r\n no: string = '';\r\n si: string = '';\r\n oferta_cancelada: string = '';\r\n oferta_no_cancelada: string = '';\r\n oferta_confirmada: string = '';\r\n oferta_no_confirmada: string = '';\r\n\r\n //Cancel reason\r\n txtReason: string = '';\r\n\r\n constructor(private translate: TranslateService, private loginServices: LoginServices, private feedServices: FeedServices, private element: ElementRef,\r\n private modalService: NgbModal, private titleService: Title, private activatedRoute: ActivatedRoute, private router: Router,\r\n private renderer: Renderer) {\r\n\r\n let _language = this.activatedRoute.snapshot.params.language != null ? this.activatedRoute.snapshot.params.language : this.translate.getBrowserLang();\r\n console.info('l => ' + _language);\r\n if (_language != 'es' && _language != 'en' && _language != 'it' && _language != 'de' && _language != 'pt') {\r\n this.language = 'de';//'en';\r\n } else {\r\n this.language = _language;\r\n }\r\n\r\n this.setAppLanguage();\r\n\r\n this.translate.get('tabla_todos_los_viajes').subscribe((translated) => {\r\n this.noFlexibleDate = translated.fecha_no_flexible;\r\n });\r\n\r\n this.translate.get('fichas').subscribe((translated) => {\r\n this.individual = translated.individual;\r\n this.premium = translated.premium;\r\n this.lift = translated.lift;\r\n this.hopOnHopOff = translated.hopOnHopOff;\r\n this.guarantee = translated.guarantee;\r\n this.todos_los_viajes = translated.todos_los_viajes;\r\n });\r\n\r\n this.translate.get('enviar_oferta').subscribe((translated) => {\r\n this.puesto_1_5 = translated.puestos_1_5;\r\n this.caja = translated.caja;\r\n this.no = translated.no;\r\n this.si = translated.si;\r\n this.si_pocos = translated.si_pocos;\r\n this.si_muchos = translated.si_muchos;\r\n this.ida = translated.ida;\r\n this.ida_vuelta = translated.ida_vuelta;\r\n this.flexibleString = translated.rango_fechas_flexible;\r\n });\r\n\r\n this.translate.get('oferta_enviada').subscribe((translated) => {\r\n this.cancelado_por_ti = translated.cancelado_por_ti;\r\n this.cliente_rechazo_oferta = translated.cliente_rechazo_oferta;\r\n this.cliente_eliminado_anuncio = translated.cliente_eliminado_anuncio;\r\n this.oferta_enviada = translated.oferta_enviada;\r\n this.hecho = translated.hecho;\r\n });\r\n\r\n this.translate.get('confirmacion_final').subscribe((translated) => {\r\n this.oferta_cancelada = translated.oferta_cancelada;\r\n this.oferta_no_cancelada = translated.oferta_no_cancelada;\r\n this.oferta_confirmada = translated.oferta_confirmada;\r\n this.oferta_no_confirmada = translated.oferta_no_confirmada;\r\n });\r\n }\r\n\r\n ngOnInit() { }\r\n\r\n ngOnChanges() {\r\n if (localStorage.getItem('wasLoaded') == '1')\r\n this.rows = this.filterItems(this._elementToSearch);\r\n else\r\n this.loadAcceptedTrips();\r\n }\r\n\r\n ngOnDestroy() {\r\n localStorage.removeItem('wasLoaded');\r\n }\r\n\r\n setAppLanguage() {\r\n this.translate.setDefaultLang(this.language);\r\n this.translate.use(this.language);\r\n }\r\n\r\n loadAcceptedTrips() {\r\n localStorage.setItem('wasLoaded', '1');\r\n this.openLoadingModal(this.loadingModal);\r\n this.feedServices.getOffersToConfirm()\r\n .then((result) => {\r\n this.rows = [];\r\n this.filterRows = [];\r\n\r\n if (result.success) {\r\n this.linesTravels = [];\r\n this.linesTravels = JSON.parse(result.data);\r\n this.linesTravels.sort(function (a, b) {\r\n if (a.id_travel > b.id_travel) {\r\n return 1;\r\n }\r\n if (a.id_travel < b.id_travel) {\r\n return -1;\r\n }\r\n return 0;\r\n });\r\n\r\n let position = 0;\r\n\r\n this.linesTravels.forEach(e => {\r\n //let formatDate = this.feedServices.dateFormat(e.travel_start_date);\r\n let formatDate = this.feedServices.dateFormat(e.transporter_date);\r\n formatDate = formatDate.toString().substr(0, 10);\r\n\r\n var km = (e.distance / 1000).toFixed(0);\r\n var kmString = new Intl.NumberFormat(\"de-DE\").format(parseInt(km)) + \" km\";\r\n var formatFlexibleDate = \"\";\r\n\r\n if (e.travel_flexible_date != null) {\r\n formatFlexibleDate = this.feedServices.dateFormat(e.travel_flexible_date);\r\n formatFlexibleDate = formatFlexibleDate.toString().substr(0, 10);\r\n } else {\r\n formatFlexibleDate = this.noFlexibleDate;\r\n }\r\n\r\n let service_name = '', class_service_type = '';\r\n\r\n switch (e.service_type) {\r\n case 1:\r\n service_name = this.premium;\r\n class_service_type = 'premiumServiceType';\r\n break;\r\n case 2:\r\n service_name = this.individual;\r\n class_service_type = 'individualServiceType';\r\n break;\r\n case 3:\r\n service_name = this.lift;\r\n class_service_type = 'liftServiceType';\r\n break;\r\n case 4:\r\n service_name = this.hopOnHopOff;\r\n class_service_type = 'hopServiceType';\r\n break;\r\n case 5:\r\n service_name = this.guarantee;\r\n class_service_type = 'guaranteeServiceType';\r\n }\r\n\r\n this.rows.push({\r\n \"position\": position,\r\n \"travel_name\": e.travel_name,\r\n \"travel_start_address\": e.travel_start_address,\r\n \"travel_end_address\": e.travel_end_address,\r\n \"formatDate\": formatDate,\r\n \"formatFlexibleDate\": formatFlexibleDate,\r\n \"horse_number\": e.horse_number,\r\n \"kmString\": kmString,\r\n \"class_service_type\": class_service_type,\r\n \"service_name\": service_name,\r\n \"appLanguage\": e.appLanguage\r\n });\r\n\r\n this.filterRows.push({\r\n \"position\": position,\r\n \"travel_name\": e.travel_name,\r\n \"travel_start_address\": e.travel_start_address,\r\n \"travel_end_address\": e.travel_end_address,\r\n \"formatDate\": formatDate,\r\n \"formatFlexibleDate\": formatFlexibleDate,\r\n \"horse_number\": e.horse_number,\r\n \"kmString\": kmString,\r\n \"class_service_type\": class_service_type,\r\n \"service_name\": service_name,\r\n \"appLanguage\": e.appLanguage\r\n });\r\n\r\n position++;\r\n });\r\n } else if (result.message == 'Unauthorized') {\r\n this.translate.get('sesion_caducada').subscribe(translated => {\r\n this.loginServices.logout();\r\n alert(translated);\r\n this.router.navigate([`../login/${this.language}`], { replaceUrl: true });\r\n });\r\n }\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n })\r\n .catch((error) => {\r\n console.error(error);\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n });\r\n }\r\n\r\n openDetailsUserOffer(viajeIndex) {\r\n this.lineIndex = viajeIndex;\r\n\r\n this.view_travel.travel_name = this.linesTravels[viajeIndex].travel_name;\r\n this.view_travel.fullname = this.linesTravels[viajeIndex].fullname;\r\n this.view_travel.horse_number = this.linesTravels[viajeIndex].horse_number;\r\n this.view_travel.travel_start_address = this.linesTravels[viajeIndex].travel_start_address;\r\n this.view_travel.travel_end_address = this.linesTravels[viajeIndex].travel_end_address;\r\n\r\n let km = (this.linesTravels[viajeIndex].distance / 1000).toFixed(0);\r\n let kmString = new Intl.NumberFormat(\"de-DE\").format(parseInt(km)) + \" km\";\r\n this.view_travel.distance = kmString;\r\n\r\n if (this.linesTravels[viajeIndex].box_type == 0) {\r\n this.stall_type = this.individual;\r\n } else if (this.linesTravels[viajeIndex].box_type == 1) {\r\n this.stall_type = this.puesto_1_5;\r\n } else if (this.linesTravels[viajeIndex].box_type == -1) {\r\n this.stall_type = '';\r\n } else {\r\n this.stall_type = this.caja;\r\n }\r\n\r\n if (this.linesTravels[viajeIndex].take_truck == 0) {\r\n this.truck = this.no;\r\n } else {\r\n this.truck = this.si;\r\n }\r\n\r\n if (this.linesTravels[viajeIndex].special_equipment == 0) {\r\n this.equipment = this.no;\r\n } else if (this.linesTravels[viajeIndex].special_equipment == 1) {\r\n this.equipment = this.si_pocos;\r\n } else {\r\n this.equipment = this.si_muchos;\r\n }\r\n\r\n if (this.linesTravels[viajeIndex].travel_type == 0) {\r\n this.travel_type = this.ida;\r\n } else {\r\n this.travel_type = this.ida_vuelta;\r\n }\r\n\r\n if (this.linesTravels[viajeIndex].service_type == 1) {\r\n this.service_type = this.premium;\r\n } else if (this.linesTravels[viajeIndex].service_type == 2) {\r\n this.service_type = this.individual;\r\n } else if (this.linesTravels[viajeIndex].service_type == 3) {\r\n this.service_type = this.lift;\r\n } else if (this.linesTravels[viajeIndex].service_type == 4) {\r\n this.service_type = this.hopOnHopOff;\r\n } else if (this.linesTravels[viajeIndex].service_type == 5) {\r\n this.service_type = this.guarantee;\r\n } else {\r\n this.service_type = this.todos_los_viajes;\r\n }\r\n\r\n if (this.linesTravels[viajeIndex].travel_notes != null && this.linesTravels[viajeIndex].travel_notes != \"\") {\r\n if (this.linesTravels[viajeIndex].travel_flexible_date != \"0001-01-01T00:00:00\") {\r\n this.notes = this.linesTravels[viajeIndex].travel_notes +\r\n \", \" +\r\n this.flexibleString +\r\n \" \" +\r\n this.feedServices.dateFormat(this.linesTravels[viajeIndex].travel_start_date).toString().substr(0, 10) +\r\n \" - \" +\r\n this.feedServices.dateFormat(this.linesTravels[viajeIndex].travel_flexible_date).toString().substr(0, 10);\r\n } else {\r\n this.notes = this.linesTravels[viajeIndex].travel_notes;\r\n }\r\n } else {\r\n if (this.linesTravels[viajeIndex].travel_flexible_date != \"0001-01-01T00:00:00\") {\r\n this.notes = this.flexibleString +\r\n \" \" +\r\n this.feedServices.dateFormat(this.linesTravels[viajeIndex].travel_start_date).toString().substr(0, 10) +\r\n \" - \" +\r\n this.feedServices.dateFormat(this.linesTravels[viajeIndex].travel_flexible_date).toString().substr(0, 10);\r\n } else {\r\n this.notes = '';\r\n }\r\n }\r\n\r\n //if (this.linesTravels[viajeIndex].travel_start_date == \"0001-01-01T00:00:00\") {\r\n // this.departure = '';\r\n //} else {\r\n // this.departure = this.feedServices.dateFormat(this.linesTravels[viajeIndex].travel_start_date).toString().substr(0, 10);\r\n \r\n if (this.linesTravels[viajeIndex].transporter_date == \"0001-01-01T00:00:00\") {\r\n this.departure = '';\r\n } else {\r\n this.departure = this.feedServices.dateFormat(this.linesTravels[viajeIndex].transporter_date).toString().substr(0, 10);\r\n }\r\n\r\n if (this.linesTravels[viajeIndex].travel_back_date == \"0001-01-01T00:00:00\") {\r\n this.return = '';\r\n } else {\r\n this.return = this.feedServices.dateFormat(this.linesTravels[viajeIndex].travel_back_date);\r\n }\r\n\r\n if (this.linesTravels[viajeIndex].travel_arrival_day == \"0001-01-01T00:00:00\") {\r\n this.arrivalOfDeparture = '';\r\n } else {\r\n this.arrivalOfDeparture = this.feedServices.dateFormat(this.linesTravels[viajeIndex].travel_arrival_day);\r\n }\r\n\r\n if (this.linesTravels[viajeIndex].travel_return_day == \"0001-01-01T00:00:00\") {\r\n this.arrivalOfReturn = '';\r\n } else {\r\n this.arrivalOfReturn = this.feedServices.dateFormat(this.linesTravels[viajeIndex].travel_return_day);\r\n }\r\n\r\n if (this.linesTravels[viajeIndex].offer_notes == \"\" || this.linesTravels[viajeIndex].offer_notes == null) {\r\n this.lblofferNotes = '-';\r\n } else {\r\n this.lblofferNotes = this.linesTravels[viajeIndex].offer_notes;\r\n }\r\n\r\n let twoDecimals = Number(this.linesTravels[viajeIndex].price).toFixed(2);\r\n twoDecimals = twoDecimals.replace('.', ',');\r\n\r\n let currency = this.linesTravels[viajeIndex].currency_type == 1 ? '€ ' : '£ ';\r\n\r\n this.offerSent = currency + twoDecimals;\r\n\r\n this.openModal(this.modalAceptUserOffer);\r\n }\r\n\r\n filterItems(query) {\r\n return this.filterRows.filter(function (el) {\r\n return el.travel_name.toLowerCase().indexOf(query) > -1 ||\r\n el.travel_start_address.toLowerCase().indexOf(query) > -1 ||\r\n el.travel_end_address.toLowerCase().indexOf(query) > -1 ||\r\n el.formatDate.toLowerCase().indexOf(query) > -1 ||\r\n el.formatFlexibleDate.toLowerCase().indexOf(query) > -1 ||\r\n el.appLanguage.toLowerCase().indexOf(query) > -1 ||\r\n el.kmString.toLowerCase().indexOf(query) > -1;\r\n });\r\n }\r\n\r\n handlerShowCancellationModal(viajeIndex) {\r\n this.lineIndex = viajeIndex;\r\n this.txtReason = '';\r\n this.openModal(this.modalReasonCancellation);\r\n }\r\n\r\n cancelTrip() {\r\n let ID = this.linesTravels[this.lineIndex].id_travel_offers;\r\n const cancelReason = {\r\n cancel_reason: this.txtReason,\r\n id_travel_offers: ID\r\n }\r\n\r\n this.openLoadingModal(this.loadingModal);\r\n\r\n this.feedServices.cancelOffer(\r\n cancelReason\r\n ).then((result) => {\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n\r\n if (result.data) {\r\n this.loadAcceptedTrips();\r\n alert(this.oferta_cancelada);\r\n } else {\r\n alert(this.oferta_no_cancelada);\r\n }\r\n }).catch((error) => {\r\n console.error(error);\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n });\r\n }\r\n\r\n confirmTrip(viajeIndex) {\r\n let ID = this.linesTravels[viajeIndex].id_travel_offers;\r\n this.openLoadingModal(this.loadingModal);\r\n\r\n this.feedServices.companyConfirmOffer(\r\n ID\r\n ).then((result) => {\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n\r\n if (result.data) {\r\n this.loadAcceptedTrips();\r\n alert(this.oferta_confirmada);\r\n } else {\r\n alert(this.oferta_no_confirmada);\r\n }\r\n }).catch((error) => {\r\n console.error(error);\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n });\r\n }\r\n\r\n openModal(modal) {\r\n this.modalService.open(modal, {\r\n ariaLabelledBy: 'modal-basic-title',\r\n centered: true,\r\n keyboard: true\r\n }).result.then((result) => {\r\n console.log(`Dismiss by ${result}`);\r\n }, (reason) => {\r\n console.log(`Dismiss by ${reason}`);\r\n });\r\n }\r\n\r\n openLoadingModal(modal) {\r\n this.modalService.open(modal, {\r\n ariaLabelledBy: 'modal-basic-title',\r\n centered: true,\r\n windowClass: 'transpModal',\r\n keyboard: false\r\n }).result.then((result) => {\r\n console.log(`Dismiss by ${result}`);\r\n }, (reason) => {\r\n console.log(`Dismiss by ${reason}`);\r\n });\r\n }\r\n}\r\n","import { Component, OnInit } from '@angular/core';\r\nimport { LoginServices } from './services/login/login.service';\r\n\r\n@Component({\r\n selector: 'app-root',\r\n templateUrl: './app.component.html'\r\n})\r\nexport class AppComponent implements OnInit {\r\n loggedIn: boolean = false;\r\n\r\n constructor(private loginServices: LoginServices) { }\r\n\r\n ngOnInit() {\r\n this.loggedIn = this.loginServices.getToken() != null ? true : false;\r\n }\r\n\r\n}\r\n","import { BrowserModule } from '@angular/platform-browser';\r\nimport { NgModule } from '@angular/core';\r\nimport { FormsModule } from '@angular/forms';\r\nimport { HttpClient, HttpClientModule } from '@angular/common/http';\r\nimport { RouterModule } from '@angular/router';\r\n\r\nimport { AppComponent } from './app.component';\r\nimport { NavMenuComponent } from './nav-menu/nav-menu.component';\r\nimport { HomeComponent } from './home/home.component';\r\nimport { CounterComponent } from './counter/counter.component';\r\nimport { FetchDataComponent } from './fetch-data/fetch-data.component';\r\nimport { LoginComponent } from './login/login.component';\r\nimport { RecoveryComponent } from './recovery/recovery.component';\r\nimport { RegisterComponent } from './register/register.component';\r\nimport { FeedComponent } from './feed/feed.component';\r\nimport { NewTravelsComponent } from './new-travels/new-travels.component';\r\nimport { PendingTripsComponent } from './pending-trips/pending-trips.component';\r\nimport { AceptedTripsComponent } from './acepted-trips/acepted-trips.component';\r\nimport { OffersCompletedComponent } from './offers-completed/offers-completed.component';\r\nimport { MyListComponent } from './my-list/my-list.component';\r\nimport { ChangePasswordComponent } from './change-password/change_password.component';\r\nimport { VehicleRegistration } from './vehicle-registration/vehicle-registration.component';\r\nimport { Vehicles } from './vehicles/vehicles.component';\r\n\r\n//Translation\r\nimport { TranslateLoader, TranslateModule } from '@ngx-translate/core';\r\nimport { TranslateHttpLoader } from '@ngx-translate/http-loader';\r\n\r\n// Modals\r\nimport { NgbModule } from '@ng-bootstrap/ng-bootstrap';\r\n\r\n\r\n@NgModule({\r\n declarations: [\r\n AppComponent,\r\n NavMenuComponent,\r\n HomeComponent,\r\n CounterComponent,\r\n FetchDataComponent,\r\n LoginComponent,\r\n RecoveryComponent,\r\n RegisterComponent,\r\n FeedComponent,\r\n NewTravelsComponent,\r\n PendingTripsComponent,\r\n AceptedTripsComponent,\r\n OffersCompletedComponent,\r\n MyListComponent,\r\n ChangePasswordComponent,\r\n VehicleRegistration,\r\n Vehicles\r\n ],\r\n imports: [\r\n BrowserModule.withServerTransition({ appId: 'ng-cli-universal' }),\r\n HttpClientModule,\r\n TranslateModule.forRoot({\r\n loader: {\r\n provide: TranslateLoader,\r\n useFactory: (http: HttpClient) => {\r\n return new TranslateHttpLoader(http);\r\n },\r\n deps: [HttpClient]\r\n }\r\n }),\r\n NgbModule,\r\n FormsModule,\r\n RouterModule.forRoot([\r\n { path: '', component: LoginComponent, pathMatch: 'full' },\r\n { path: 'login', component: LoginComponent },\r\n { path: 'login/:language', component: LoginComponent },\r\n { path: 'recovery', component: RecoveryComponent },\r\n { path: 'recovery/:language', component: RecoveryComponent },\r\n { path: 'register', component: RegisterComponent },\r\n { path: 'register/:language', component: RegisterComponent },\r\n { path: 'counter', component: CounterComponent },\r\n { path: 'fetch-data', component: FetchDataComponent },\r\n\r\n { path: 'feed/new-trips', component: FeedComponent },\r\n { path: 'feed/new-trips/:language', component: FeedComponent },\r\n\r\n { path: 'feed/pending-trips', component: FeedComponent },\r\n { path: 'feed/pending-trips/:language', component: FeedComponent },\r\n\r\n { path: 'feed/final-confirmation', component: FeedComponent },\r\n { path: 'feed/final-confirmation/:language', component: FeedComponent },\r\n\r\n { path: 'feed/hitory', component: FeedComponent },\r\n { path: 'feed/hitory/:language', component: FeedComponent },\r\n\r\n { path: 'feed/my-list', component: FeedComponent },\r\n { path: 'feed/my-list/:language', component: FeedComponent },\r\n\r\n { path: 'change_password', component: ChangePasswordComponent },\r\n { path: 'change_password/:language', component: ChangePasswordComponent },\r\n\r\n { path: 'vehicle-registration', component: VehicleRegistration },\r\n { path: 'vehicle-registration/:language', component: VehicleRegistration },\r\n\r\n { path: 'vehicles', component: Vehicles },\r\n { path: 'vehicles/:language', component: Vehicles }\r\n ])\r\n ],\r\n providers: [],\r\n bootstrap: [AppComponent]\r\n})\r\nexport class AppModule { }\r\n","export default \"html {\\r\\n margin: 0px;\\r\\n padding: 0px;\\r\\n}\\r\\n\\r\\nbody {\\r\\n margin: 0px;\\r\\n padding: 0px;\\r\\n padding-bottom: 50px;\\r\\n font-family: Arial, Helvetica, sans-serif;\\r\\n font-size: 9pt;\\r\\n background-color: #eaeff3;\\r\\n}\\r\\n\\r\\n.overlay {\\r\\n opacity: 0.8;\\r\\n position: fixed;\\r\\n width: 100%;\\r\\n height: 100%;\\r\\n top: 0px;\\r\\n left: 0px;\\r\\n z-index: 1000;\\r\\n}\\r\\n\\r\\n.row {\\r\\n margin: 0px;\\r\\n width: 100%;\\r\\n}\\r\\n\\r\\n.center {\\r\\n margin: 0;\\r\\n position: absolute;\\r\\n top: 50%;\\r\\n left: 50%;\\r\\n transform: translate(-50%, -50%);\\r\\n}\\r\\n\\r\\n.delete {\\r\\n opacity: 0;\\r\\n display: none;\\r\\n}\\r\\n\\r\\n.transpModal .modal-content {\\r\\n background: transparent !important;\\r\\n border: 0 !important;\\r\\n}\\r\\n\\r\\n.transpModal .modal-header,\\r\\n.transpModal .modal-body,\\r\\n.transpModal .modal-footer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aWY7XHJcbiAgZm9udC1zaXplOiA5cHQ7XHJcbiAgYmFja2dyb3VuZC1jb2xvcjogI2VhZWZmMztcclxufVxyXG5cclxuLm92ZXJsYXkge1xyXG4gIG9wYWNpdHk6IDAuODtcclxuICBwb3NpdGlvbjogZml4ZWQ7XHJcbiAgd2lkdGg6IDEwMCU7XHJcbiAgaGVpZ2h0OiAxMDAlO1xyXG4gIHRvcDogMHB4O1xyXG4gIGxlZnQ6IDBweDtcclxuICB6LWluZGV4OiAxMDAwO1xyXG59XHJcblxyXG4ucm93IHtcclxuICBtYXJnaW46IDBweDtcclxuICB3aWR0aDogMTAwJTtcclxufVxyXG5cclxuLmNlbnRlciB7XHJcbiAgbWFyZ2luOiAwO1xyXG4gIHBvc2l0aW9uOiBhYnNvbHV0ZTtcclxuICB0b3A6IDUwJTtcclxuICBsZWZ0OiA1MCU7XHJcbiAgdHJhbnNmb3JtOiB0cmFuc2xhdGUoLTUwJSwgLTUwJSk7XHJcbn1cclxuXHJcbi5kZWxldGUge1xyXG4gIG9wYWNpdHk6IDA7XHJcbiAgZGlzcGxheTogbm9uZTtcclxufVxyXG5cclxuLnRyYW5zcE1vZGFsIC5tb2RhbC1jb250ZW50IHtcclxuICBiYWNrZ3JvdW5kOiB0cmFuc3BhcmVudCAhaW1wb3J0YW50O1xyXG4gIGJvcmRlcjogMCAhaW1wb3J0YW50O1xyXG59XHJcblxyXG4udHJhbnNwTW9kYWwgLm1vZGFsLWhlYWRlcixcclxuLnRyYW5zcE1vZGFsIC5tb2RhbC1ib2R5LFxyXG4udHJhbnNwTW9kYWwgLm1vZGFsLWZvb3RlciB7XHJcbiAgYm9yZGVyOiAwICFpbXBvcnRhbnQ7XHJcbn1cclxuIl19 */\"","import { Component, OnInit, ElementRef, ViewEncapsulation, ViewChild } from '@angular/core';\r\nimport { Title } from '@angular/platform-browser';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { NgForm } from '@angular/forms';\r\nimport { LoginServices } from '../services/login/login.service';\r\nimport { NgbModal, ModalDismissReasons, NgbModalRef } from '@ng-bootstrap/ng-bootstrap';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\n\r\n@Component({\r\n selector: 'change_password',\r\n templateUrl: './change_password.component.html',\r\n styleUrls: ['./change_password.component.css'],\r\n encapsulation: ViewEncapsulation.None\r\n})\r\nexport class ChangePasswordComponent implements OnInit {\r\n @ViewChild(\"loadingModal\", null) modalContent: NgbModalRef;\r\n language: string = '';\r\n oldPass: string = '';\r\n newPass: string = '';\r\n confirmPass: string = '';\r\n classDelete: boolean = false;\r\n alertMessage: string = '';\r\n\r\n constructor(private translate: TranslateService, private loginServices: LoginServices, private element: ElementRef,\r\n private modalService: NgbModal, private titleService: Title, private activedRoute: ActivatedRoute, private router: Router) {\r\n\r\n let _language = this.activedRoute.snapshot.params.language != null ? this.activedRoute.snapshot.params.language : this.translate.getBrowserLang();\r\n console.info('l => ' + _language);\r\n if (_language != 'es' && _language != 'en' && _language != 'it' && _language != 'de' && _language != 'pt') {\r\n this.language = 'de';//'en';\r\n } else {\r\n this.language = _language;\r\n }\r\n\r\n this.setAppLanguage();\r\n this.translate.get('menu_superior.cambiar_contrasena').subscribe((translated: string) => {\r\n this.titleService.setTitle(translated);\r\n });\r\n }\r\n\r\n ngOnInit() {\r\n if (this.loginServices.getToken() == null) {\r\n this.router.navigate([`../login/${this.language}`], { replaceUrl: true });\r\n }\r\n }\r\n\r\n setAppLanguage() {\r\n this.translate.setDefaultLang(this.language);\r\n this.translate.use(this.language);\r\n }\r\n\r\n onSubmit(oldPasswordForm: NgForm) { }\r\n\r\n primerPaso() {\r\n this.openModal();\r\n this.loginServices.validateUserPassword(this.oldPass).then((result => {\r\n\r\n if (result.data) {\r\n this.classDelete = true;\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n\r\n } else {\r\n this.translate.get('recuperar_contrasena.contrasena_no_coincide').subscribe((translated: string) => {\r\n this.alertMessage = translated;\r\n });\r\n\r\n alert(this.alertMessage);\r\n }\r\n\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n })).catch((error => {\r\n console.error(error);\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n }));\r\n }\r\n\r\n segundoPaso() {\r\n this.alertMessage = '';\r\n if (this.newPass == this.confirmPass) {\r\n if (this.CheckPassword(this.newPass)) {\r\n if (this.newPass != this.oldPass) {\r\n\r\n this.loginServices.changePassword(this.newPass).then((result => {\r\n\r\n if (result.data) {\r\n this.router.navigate([`../feed/${this.language}`], { replaceUrl: true });\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n } else {\r\n this.translate.get('recuperar_contrasena.error_cambio_contrasena').subscribe((translated: string) => {\r\n this.alertMessage = translated;\r\n });\r\n alert(this.alertMessage);\r\n }\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n })).catch((error => {\r\n console.error(error); \r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n }));\r\n } else {\r\n this.translate.get('recuperar_contrasena.error_contrasenas_iguales').subscribe((translated: string) => {\r\n this.alertMessage = translated;\r\n });\r\n alert(this.alertMessage);\r\n }\r\n } else {\r\n this.translate.get('recuperar_contrasena.requisitos_contrasena').subscribe((translated: string) => {\r\n this.alertMessage = translated;\r\n });\r\n alert(this.alertMessage);\r\n }\r\n } else {\r\n this.translate.get('recuperar_contrasena.contrasena_no_coincide').subscribe((translated: string) => {\r\n this.alertMessage = translated;\r\n });\r\n alert(this.alertMessage);\r\n }\r\n }\r\n\r\n CheckPassword(inputtxt) {\r\n var passw = /^(?=.*\\d)(?=.*[ !$%&?._-])(?=.*[a-z])(?=.*[A-Z])(?=.*[a-zA-Z]).{6,20}$/;\r\n if (inputtxt.match(passw)) {\r\n return true;\r\n }\r\n else {\r\n return false;\r\n }\r\n }\r\n\r\n openModal() {\r\n this.modalService.open(this.modalContent, {\r\n ariaLabelledBy: 'modal-basic-title',\r\n centered: true,\r\n windowClass: 'transpModal',\r\n keyboard: false\r\n }).result.then((result) => {\r\n console.log(`Dismiss by ${result}`);\r\n }, (reason) => {\r\n console.log(`Dismiss by ${reason}`);\r\n });\r\n }\r\n\r\n}\r\n","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-counter-component',\r\n templateUrl: './counter.component.html'\r\n})\r\nexport class CounterComponent {\r\n public currentCount = 0;\r\n\r\n public incrementCounter() {\r\n this.currentCount++;\r\n }\r\n}\r\n","export default \"html {\\r\\n margin: 0px;\\r\\n padding: 0px;\\r\\n}\\r\\n\\r\\nbody {\\r\\n margin: 0px;\\r\\n padding: 0px;\\r\\n padding-bottom: 50px;\\r\\n font-family: Arial, Helvetica, sans-serif;\\r\\n font-size: 9pt;\\r\\n background-color: #eaeff3;\\r\\n}\\r\\n\\r\\n#barsUp {\\r\\n height: 50px;\\r\\n color: #FFFFFF;\\r\\n}\\r\\n\\r\\n#btnProfile:hover {\\r\\n cursor: pointer;\\r\\n}\\r\\n\\r\\n#separator {\\r\\n width: 10px;\\r\\n height: 10px;\\r\\n}\\r\\n\\r\\n.button-like-text {\\r\\n background: none;\\r\\n border: none;\\r\\n font: inherit;\\r\\n cursor: pointer;\\r\\n font-size: 18px;\\r\\n outline: none;\\r\\n}\\r\\n\\r\\n.row {\\r\\n margin: 0px;\\r\\n}\\r\\n\\r\\n.centertext {\\r\\n display: flex;\\r\\n justify-content: center;\\r\\n align-items: center;\\r\\n}\\r\\n\\r\\n.internalLogoImgSize {\\r\\n width: 100px;\\r\\n margin-left: 20px;\\r\\n}\\r\\n\\r\\n.tabImg {\\r\\n width: 28px;\\r\\n height: 28px;\\r\\n}\\r\\n\\r\\n.svgStyle {\\r\\n width: 14px;\\r\\n height: 14px;\\r\\n}\\r\\n\\r\\n.tabImg:hover {\\r\\n cursor: pointer;\\r\\n}\\r\\n\\r\\n.customHeadings {\\r\\n font-family: BebasNeue-Regular;\\r\\n font-size: 30pt;\\r\\n}\\r\\n\\r\\n.roundOutTextBoxes {\\r\\n border-radius: 25px;\\r\\n width: 194px;\\r\\n}\\r\\n\\r\\n.actionsImg {\\r\\n width: 28px;\\r\\n height: 28px;\\r\\n font-size: 1pt;\\r\\n margin: 5px 5px 5px 5px;\\r\\n}\\r\\n\\r\\n.actionsImg:hover {\\r\\n cursor: pointer;\\r\\n}\\r\\n\\r\\n.tabMenuScroll {\\r\\n display: flex;\\r\\n overflow: auto;\\r\\n white-space: nowrap;\\r\\n background-color: #eaeff3;\\r\\n}\\r\\n\\r\\n.tabMenuScroll div {\\r\\n text-align: center;\\r\\n padding: 5px;\\r\\n text-decoration: none;\\r\\n}\\r\\n\\r\\n.genericTabStyleUnselected {\\r\\n background-color: #999999;\\r\\n color: #ffffff;\\r\\n width: 150px;\\r\\n border-radius: 5px;\\r\\n}\\r\\n\\r\\n.genericTabStyleUnselected:hover {\\r\\n cursor: pointer;\\r\\n background-color: #333333;\\r\\n}\\r\\n\\r\\n.genericTabStyleSelected {\\r\\n background-color: #333333;\\r\\n color: #ffffff;\\r\\n width: 150px;\\r\\n border-radius: 5px;\\r\\n}\\r\\n\\r\\n.genericTabStyleSelected:hover {\\r\\n cursor: pointer;\\r\\n background-color: #999999;\\r\\n}\\r\\n\\r\\n.preferencesTabAlign {\\r\\n margin-left: auto;\\r\\n}\\r\\n\\r\\n.preferencesTabStyle {\\r\\n border-radius: 25px;\\r\\n border-color: #999999;\\r\\n border-width: 2px;\\r\\n border-style: solid;\\r\\n padding: 3px 3px 3px 3px;\\r\\n width: 170px;\\r\\n color: #999999;\\r\\n}\\r\\n\\r\\n.preferencesTabStyle:hover {\\r\\n background-color: #333333;\\r\\n border-color: #333333;\\r\\n color: #ffffff;\\r\\n cursor: pointer;\\r\\n}\\r\\n\\r\\n.customgroup {\\r\\n border: 1px solid lightgray;\\r\\n padding: 10px;\\r\\n margin-top: 20px;\\r\\n}\\r\\n\\r\\n.showInlineCurrentTab {\\r\\n display: none;\\r\\n}\\r\\n\\r\\n.hideListCurrentTab {\\r\\n display: inherit;\\r\\n}\\r\\n\\r\\n.subMenuDisabled {\\r\\n display: none;\\r\\n}\\r\\n\\r\\n.arrow-up {\\r\\n width: 0;\\r\\n height: 0;\\r\\n border-left: 7px solid transparent;\\r\\n border-right: 7px solid transparent;\\r\\n border-bottom: 7px solid black;\\r\\n margin: -4px 0px -4px 0px;\\r\\n position: absolute;\\r\\n z-index: 2;\\r\\n}\\r\\n\\r\\n.subMenuEnabled {\\r\\n position: absolute;\\r\\n background-color: #333333;\\r\\n color: #ffffff;\\r\\n border-radius: 10px;\\r\\n z-index: 1;\\r\\n width: 150px;\\r\\n margin-top: 10px;\\r\\n}\\r\\n\\r\\n.subMenuEnabled ul li {\\r\\n width: 140px;\\r\\n white-space: nowrap;\\r\\n text-overflow: ellipsis;\\r\\n overflow: hidden;\\r\\n}\\r\\n\\r\\n.titleListItems {\\r\\n width: 200px;\\r\\n white-space: nowrap;\\r\\n text-overflow: ellipsis;\\r\\n overflow: hidden;\\r\\n padding: 0 0 0 10px;\\r\\n}\\r\\n\\r\\n.subMenuProfileEnabled {\\r\\n position: absolute;\\r\\n background-color: #333333;\\r\\n color: #ffffff;\\r\\n border-radius: 10px;\\r\\n z-index: 1;\\r\\n width: 120px;\\r\\n margin-top: 10px;\\r\\n margin-left: -80px;\\r\\n}\\r\\n\\r\\n.arrow-up-profile {\\r\\n width: 0;\\r\\n height: 0;\\r\\n border-left: 7px solid transparent;\\r\\n border-right: 7px solid transparent;\\r\\n border-bottom: 7px solid black;\\r\\n margin: -4px 0px -4px 93px;\\r\\n position: absolute;\\r\\n z-index: 2;\\r\\n}\\r\\n\\r\\n.subMenuProfileEnabled label:hover {\\r\\n cursor: pointer;\\r\\n background-color: #999999;\\r\\n border-radius: 10px;\\r\\n}\\r\\n\\r\\n.subMenuEnabled li:hover {\\r\\n cursor: pointer;\\r\\n background-color: #999999;\\r\\n}\\r\\n\\r\\n/* Start table style */\\r\\n\\r\\n.premiumServiceType {\\r\\n background-color: #00c7ff;\\r\\n}\\r\\n\\r\\n.individualServiceType {\\r\\n background-color: #fdc900;\\r\\n}\\r\\n\\r\\n.liftServiceType {\\r\\n background-color: #91d200;\\r\\n}\\r\\n\\r\\n.hopServiceType {\\r\\n background-color: #f64300;\\r\\n}\\r\\n\\r\\n.guaranteeServiceType {\\r\\n background-color: #91d200;\\r\\n}\\r\\n\\r\\n.verticalText {\\r\\n -ms-writing-mode: tb-lr;\\r\\n writing-mode: vertical-lr;\\r\\n transform: rotate(180deg);\\r\\n color: #ffffff;\\r\\n text-align: center;\\r\\n border-radius: 0px 15px 15px 0px;\\r\\n font-family: BebasNeue-Regular;\\r\\n font-size: 30pt;\\r\\n padding-bottom: 10px;\\r\\n padding-top: 10px;\\r\\n}\\r\\n\\r\\n.btnContainer {\\r\\n display: none;\\r\\n}\\r\\n\\r\\n/* End table style*/\\r\\n\\r\\n.transpModal .modal-content {\\r\\n background: transparent !important;\\r\\n border: 0 !important;\\r\\n}\\r\\n\\r\\n.transpModal .modal-header,\\r\\n.transpModal .modal-body,\\r\\n.transpModal .modal-footer {\\r\\n border: 0 !important;\\r\\n}\\r\\n\\r\\n@media only screen and (max-width: 768px) {\\r\\n /*.imgActions {\\r\\n width: 23px;\\r\\n height: 23px;\\r\\n margin: 5px 5px 5px 5px;\\r\\n }*/\\r\\n\\r\\n .btnQuote {\\r\\n width: 100%;\\r\\n color: #ffffff;\\r\\n border-radius: 15px 15px 15px 15px;\\r\\n padding: 5px 10px 5px 10px;\\r\\n margin-bottom: 10px;\\r\\n }\\r\\n\\r\\n .verticalText {\\r\\n padding: 0;\\r\\n }\\r\\n}\\r\\n\\r\\n@media only screen and (max-width: 991px) {\\r\\n .showInlineCurrentTab {\\r\\n display: inherit;\\r\\n }\\r\\n\\r\\n .hideListCurrentTab {\\r\\n display: none;\\r\\n }\\r\\n .subMenuEnabled {\\r\\n position: relative;\\r\\n margin: auto;\\r\\n }\\r\\n .arrow-up {\\r\\n position: relative;\\r\\n margin: auto;\\r\\n }\\r\\n}\\r\\n\\r\\n@media only screen and (max-width: 850px) {\\r\\n .btn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IDE1cHg7XHJcbiAgICBwYWRkaW5nOiA1cHggMTBweCA1cHggMTBweDtcclxuICAgIG1hcmdpbi1ib3R0b206IDEwcHg7XHJcbiAgfVxyXG5cclxuICAudmVydGljYWxUZXh0IHtcclxuICAgICAgcGFkZGluZzogMDtcclxuICB9XHJcbn1cclxuXHJcbkBtZWRpYSBvbmx5IHNjcmVlbiBhbmQgKG1heC13aWR0aDogOTkxcHgpIHtcclxuICAuc2hvd0lubGluZUN1cnJlbnRUYWIge1xyXG4gICAgZGlzcGxheTogaW5oZXJpdDtcclxuICB9XHJcblxyXG4gIC5oaWRlTGlzdEN1cnJlbnRUYWIge1xyXG4gICAgZGlzcGxheTogbm9uZTtcclxuICB9XHJcbiAgLnN1Yk1lbnVFbmFibGVkIHtcclxuICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcclxuICAgIG1hcmdpbjogYXV0bztcclxuICB9XHJcbiAgLmFycm93LXVwIHtcclxuICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcclxuICAgIG1hcmdpbjogYXV0bztcclxuICB9XHJcbn1cclxuXHJcbkBtZWRpYSBvbmx5IHNjcmVlbiBhbmQgKG1heC13aWR0aDogODUwcHgpIHtcclxuICAuYnRuQ29udGFpbmVyIHtcclxuICAgIGRpc3BsYXk6IGluaGVyaXQ7XHJcbiAgfVxyXG59XHJcblxyXG5AZm9udC1mYWNlIHtcclxuICBmb250LWZhbWlseTogQmViYXNOZXVlLVJlZ3VsYXI7XHJcbiAgc3JjOiB1cmwoLi4vLi4vYXNzZXRzL2ZvbnRzL0JlYmFzTmV1ZS1SZWd1bGFyLnR0ZikgZm9ybWF0KCdvcGVudHlwZScpO1xyXG59XHJcbiJdfQ== */\"","import { Component, OnInit, ViewEncapsulation, ViewChild } from '@angular/core';\r\nimport { LoginServices } from '../services/login/login.service';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { User, UserEnterpriseInfo, CountTripsOffer } from '../model/interfaces';\r\nimport { Title } from '@angular/platform-browser';\r\nimport { FeedServices } from '../services/feed/feed.service';\r\nimport { ModalDismissReasons, NgbModal, NgbModalRef } from '@ng-bootstrap/ng-bootstrap';\r\n\r\n@Component({\r\n selector: 'feed',\r\n templateUrl: './feed.component.html',\r\n styleUrls: ['./feed.component.css'],\r\n encapsulation: ViewEncapsulation.None\r\n})\r\nexport class FeedComponent implements OnInit {\r\n // Acceso al DOM\r\n @ViewChild(\"modalProfile\", null) modalProfile: NgbModalRef;\r\n @ViewChild(\"loadingModal\", null) loadingModal: NgbModalRef;\r\n\r\n // Variables/etiquetas de traduccion\r\n language: string = '';\r\n\r\n // Variables/datos\r\n user = {} as User;\r\n userEnterpriseInfo = {} as UserEnterpriseInfo;\r\n\r\n // Variables GUI\r\n isExpanded = false;\r\n isNewTripActive = true;\r\n isOfferSentActive = false;\r\n isFinalConfActive = false;\r\n isHisActive = false;\r\n isMyListActive = false;\r\n viewServiceFilter: boolean = true;\r\n isNewTripData = false;\r\n isPendingTripsData = false;\r\n isAcceptedTripsData = false;\r\n isHistoryData = false;\r\n isMyListData = false;\r\n currentTab;\r\n tabTranslations: any = [];\r\n showTypesOfSubMenu: boolean = false;\r\n activeTypesFilter: boolean = false;\r\n showTimeSubMenu: boolean = false;\r\n activeTimeFilter: boolean = false;\r\n showNrHorsesSubMenu: boolean = false;\r\n activeNrHorsesFilter: boolean = false;\r\n showDistanceSubMenu: boolean = false;\r\n activeDistanceFilter: boolean = false;\r\n showCountrySubMenu: boolean = false;\r\n activeCountryFilter: boolean = false;\r\n showProfileSubMenu: boolean = false;\r\n isFiltersActive: boolean = false;\r\n chkPremiumTrip: string = '0';\r\n chkSingleTrip: string = '0';\r\n chkLiftTrip: string = '0';\r\n chkHopOnHopOffTrip: string = '0';\r\n chkGuaranteeTrip: string = '0';\r\n chkSoon: boolean = false;\r\n chkLater: boolean = false;\r\n chkDateSubmitted: boolean = false;\r\n chkLow: boolean = false;\r\n chkHigh: boolean = false;\r\n chkShortest: boolean = false;\r\n chkLongest: boolean = false;\r\n chkAZ: boolean = false;\r\n chkZA: boolean = false;\r\n\r\n // Variables a pasar a otros componentes\r\n elementToSearch: string = '';\r\n filters: any = {\r\n 'closing_soon': null,\r\n 'service_type': '00000',\r\n 'trip_time': '000',\r\n 'horse_number': '00',\r\n 'distance': '00',\r\n 'country': '00'\r\n };\r\n selectedServiceType: number;\r\n updateChild: Date;\r\n\r\n constructor(private translate: TranslateService, private loginServices: LoginServices, private activatedRoute: ActivatedRoute, private router: Router,\r\n private titleService: Title, private feedServices: FeedServices, private modalService: NgbModal) {\r\n let _language = this.activatedRoute.snapshot.params.language != null ? this.activatedRoute.snapshot.params.language : this.translate.getBrowserLang();\r\n console.info('l => ' + _language);\r\n if (_language != 'es' && _language != 'en' && _language != 'it' && _language != 'de' && _language != 'pt') {\r\n this.language = 'de';//'en';\r\n } else {\r\n this.language = _language;\r\n }\r\n\r\n this.setAppLanguage();\r\n\r\n if (loginServices.getToken() == null || loginServices.getToken() == '') {\r\n this.translate.get('sesion_caducada').subscribe(translated => {\r\n alert(translated);\r\n this.router.navigate([`../login/${this.language}`], { replaceUrl: true });\r\n });\r\n } else {\r\n this.translate.get('titulo_feed').subscribe((translated) => {\r\n if (this.user.user_type == 2) {\r\n this.titleService.setTitle(translated.viajes);\r\n }\r\n });\r\n\r\n this.translate.get('fichas').subscribe((translated) => {\r\n this.tabTranslations.push(translated.nuevo_viaje);\r\n this.tabTranslations.push(translated.ofertas_enviadas);\r\n this.tabTranslations.push(translated.confirmacion_final);\r\n this.tabTranslations.push(translated.ofertas_completadas);\r\n this.tabTranslations.push(translated.mi_lista);\r\n\r\n this.currentLocation(this.tabTranslations);\r\n });\r\n\r\n this.user = loginServices.getUser();\r\n }\r\n }\r\n\r\n changeIdiom(event) {\r\n this.language = event.target.value;\r\n this.setAppLanguage();\r\n let url = window.location.href;\r\n window.location.href = url.substring(0, url.length - 3) + '/' + this.language;\r\n }\r\n\r\n ngOnInit() {\r\n this.currentLocation(null);\r\n }\r\n \r\n setAppLanguage() {\r\n this.translate.setDefaultLang(this.language);\r\n this.translate.use(this.language);\r\n }\r\n\r\n logout() {\r\n this.loginServices.logout();\r\n this.router.navigate([`../login/${this.language}`], { replaceUrl: true });\r\n }\r\n\r\n toggle() {\r\n this.isExpanded = !this.isExpanded;\r\n }\r\n\r\n collapse() {\r\n this.isExpanded = false;\r\n }\r\n\r\n currentLocation(tabTranslations) {\r\n let urlLocation = ((this.activatedRoute.snapshot.url).toString().split(','))[1];\r\n\r\n if (urlLocation == 'new-trips') {\r\n this.loadNewTrips(6);\r\n this.currentTab = tabTranslations != null ? tabTranslations[0] : this.currentTab;\r\n\r\n let _initialFilters = {\r\n 'closing_soon': null,\r\n 'service_type': '00000',\r\n 'trip_time': '000',\r\n 'horse_number': '00',\r\n 'distance': '00',\r\n 'country': '00'\r\n };\r\n\r\n if (JSON.stringify(this.filters) == JSON.stringify(_initialFilters)) {\r\n this.feedServices.consultDriverPreferences()\r\n .then((result) => {\r\n if (result.success) {\r\n this.filters = result.data[0];\r\n this.setGUIPreferences();\r\n }\r\n })\r\n .catch((error) => {\r\n console.error(error);\r\n });\r\n }\r\n } else if (urlLocation == 'pending-trips') {\r\n this.loadPendingTrips();\r\n this.currentTab = tabTranslations != null ? tabTranslations[1] : this.currentTab;\r\n } else if (urlLocation == 'final-confirmation') {\r\n this.loadAcceptedTrips();\r\n this.currentTab = tabTranslations != null ? tabTranslations[2] : this.currentTab;\r\n } else if (urlLocation == 'hitory') {\r\n this.loadHistory();\r\n this.currentTab = tabTranslations != null ? tabTranslations[3] : this.currentTab;\r\n } else {\r\n this.loadMyList();\r\n this.currentTab = tabTranslations != null ? tabTranslations[4] : this.currentTab;\r\n }\r\n\r\n }\r\n\r\n loadNewTrips(selectedServiceType) {\r\n this.router.navigate([`../feed/new-trips/${this.language}`], { replaceUrl: true });\r\n\r\n this.elementToSearch = '';\r\n localStorage.removeItem('wasLoaded');\r\n this.selectedServiceType = selectedServiceType;\r\n\r\n if (localStorage.getItem('preferences') != null) {\r\n this.filters = JSON.parse(localStorage.getItem('preferences'));\r\n this.setGUIPreferences();\r\n }\r\n\r\n this.updateChild = new Date();\r\n\r\n this.isNewTripData = true;\r\n this.viewServiceFilter = true;\r\n this.isPendingTripsData = false\r\n this.isAcceptedTripsData = false;\r\n this.isHistoryData = false;\r\n this.isMyListData = false;\r\n\r\n this.isNewTripActive = true;\r\n this.isFinalConfActive = false;\r\n this.isOfferSentActive = false;\r\n this.isHisActive = false;\r\n this.isMyListActive = false;\r\n this.currentTab = this.tabTranslations[0];\r\n }\r\n\r\n loadPendingTrips() {\r\n this.router.navigate([`../feed/pending-trips/${this.language}`], { replaceUrl: true });\r\n\r\n this.elementToSearch = '';\r\n localStorage.removeItem('wasLoaded');\r\n this.updateChild = new Date();\r\n\r\n this.isPendingTripsData = true;\r\n this.isNewTripData = false;\r\n this.viewServiceFilter = false;\r\n this.isAcceptedTripsData = false;\r\n this.isHistoryData = false;\r\n this.isMyListData = false;\r\n\r\n this.isFinalConfActive = false;\r\n this.isNewTripActive = false;\r\n this.isOfferSentActive = true;\r\n this.isHisActive = false;\r\n this.isMyListActive = false;\r\n this.currentTab = this.tabTranslations[1];\r\n }\r\n\r\n loadAcceptedTrips() {\r\n this.router.navigate([`../feed/final-confirmation/${this.language}`], { replaceUrl: true });\r\n\r\n this.elementToSearch = '';\r\n localStorage.removeItem('wasLoaded');\r\n this.updateChild = new Date();\r\n\r\n this.isNewTripData = false;\r\n this.viewServiceFilter = false;\r\n this.isPendingTripsData = false;\r\n this.isAcceptedTripsData = true;\r\n this.isHistoryData = false;\r\n this.isMyListData = false;\r\n\r\n this.isNewTripActive = false;\r\n this.isFinalConfActive = true;\r\n this.isOfferSentActive = false;\r\n this.isHisActive = false;\r\n this.isMyListActive = false;\r\n this.currentTab = this.tabTranslations[2];\r\n }\r\n\r\n loadHistory() {\r\n this.router.navigate([`../feed/hitory/${this.language}`], { replaceUrl: true });\r\n\r\n this.elementToSearch = '';\r\n localStorage.removeItem('wasLoaded');\r\n this.updateChild = new Date();\r\n\r\n this.isPendingTripsData = false;\r\n this.isNewTripData = false;\r\n this.viewServiceFilter = false;\r\n this.isAcceptedTripsData = false;\r\n this.isHistoryData = true;\r\n this.isMyListData = false;\r\n\r\n this.isFinalConfActive = false;\r\n this.isNewTripActive = false;\r\n this.isOfferSentActive = false;\r\n this.isHisActive = true;\r\n this.isMyListActive = false;\r\n this.currentTab = this.tabTranslations[3];\r\n }\r\n\r\n loadMyList() {\r\n this.router.navigate([`../feed/my-list/${this.language}`], { replaceUrl: true });\r\n\r\n this.elementToSearch = '';\r\n localStorage.removeItem('wasLoaded');\r\n this.updateChild = new Date();\r\n\r\n this.isPendingTripsData = false;\r\n this.isNewTripData = false;\r\n this.viewServiceFilter = false;\r\n this.isAcceptedTripsData = false;\r\n this.isHistoryData = false;\r\n this.isMyListData = true;\r\n\r\n this.isFinalConfActive = false;\r\n this.isNewTripActive = false;\r\n this.isOfferSentActive = false;\r\n this.isHisActive = false;\r\n this.isMyListActive = true;\r\n this.currentTab = this.tabTranslations[4];\r\n }\r\n\r\n addEditVehicles() {\r\n this.router.navigate([`../vehicles/${this.language}`]);\r\n }\r\n\r\n changePasswordScreen() {\r\n this.router.navigate([`../change_password/${this.language}`]);\r\n }\r\n\r\n handlerClosingSoon() {\r\n this.filters.closing_soon = '100';\r\n this.filters.trip_time = null;\r\n this.chkSoon = false;\r\n this.chkLater = false;\r\n this.chkDateSubmitted = false;\r\n this.updateChild = new Date();\r\n }\r\n\r\n concatFilterType(event) {\r\n this.filters.service_type = this.chkPremiumTrip + '' + this.chkSingleTrip + '' + this.chkLiftTrip + '' + this.chkHopOnHopOffTrip + '' + this.chkGuaranteeTrip;\r\n\r\n if (this.chkPremiumTrip != '0' || this.chkSingleTrip != '0' || this.chkLiftTrip != '0' || this.chkHopOnHopOffTrip != '0' || this.chkGuaranteeTrip != '0')\r\n this.activeTypesFilter = true;\r\n else\r\n this.activeTypesFilter = false;\r\n\r\n this.updateChild = new Date();\r\n }\r\n\r\n concatFilterTime(check) {\r\n let time = '';\r\n\r\n switch (check) {\r\n case 'soon':\r\n time = '100';\r\n this.chkLater = false;\r\n this.chkDateSubmitted = false;\r\n break;\r\n case 'later':\r\n time = '020';\r\n this.chkSoon = false;\r\n this.chkDateSubmitted = false;\r\n break;\r\n case 'submitted':\r\n time = '003';\r\n this.chkSoon = false;\r\n this.chkLater = false;\r\n break;\r\n }\r\n\r\n if (!this.chkSoon && !this.chkLater && !this.chkDateSubmitted) {\r\n time = '000';\r\n this.activeTimeFilter = false;\r\n } else {\r\n this.activeTimeFilter = true;\r\n }\r\n\r\n this.filters.trip_time = time;\r\n this.filters.closing_soon = null;\r\n this.updateChild = new Date();\r\n }\r\n\r\n concatFilterNrHorses(check) {\r\n let qyt = '';\r\n \r\n switch (check) {\r\n case 'low':\r\n qyt = '10';\r\n this.chkHigh = false;\r\n break;\r\n case 'high':\r\n qyt = '02';\r\n this.chkLow = false;\r\n break;\r\n }\r\n\r\n if (!this.chkHigh && !this.chkLow) {\r\n qyt = '00';\r\n this.activeNrHorsesFilter = false;\r\n } else {\r\n this.activeNrHorsesFilter = true;\r\n }\r\n\r\n this.filters.horse_number = qyt;\r\n this.updateChild = new Date();\r\n }\r\n\r\n concatFilterDistance(check) {\r\n let qyt = '';\r\n\r\n switch (check) {\r\n case 'shortest':\r\n qyt = '10';\r\n this.chkLongest = false;\r\n break;\r\n case 'longest':\r\n qyt = '02';\r\n this.chkShortest = false;\r\n break;\r\n }\r\n\r\n if (!this.chkLongest && !this.chkShortest) {\r\n qyt = '00';\r\n this.activeDistanceFilter = false;\r\n } else {\r\n this.activeDistanceFilter = true;\r\n }\r\n\r\n this.filters.distance = qyt;\r\n this.updateChild = new Date();\r\n }\r\n\r\n concatFilterCountry(check) {\r\n let order = '';\r\n\r\n switch (check) {\r\n case 'az':\r\n order = '10';\r\n this.chkZA = false;\r\n break;\r\n case 'za':\r\n order = '02';\r\n this.chkAZ = false;\r\n break;\r\n }\r\n\r\n if (!this.chkAZ && !this.chkZA) {\r\n order = '00';\r\n this.activeCountryFilter = false;\r\n } else {\r\n this.activeCountryFilter = true;\r\n }\r\n \r\n this.filters.country = order;\r\n this.updateChild = new Date();\r\n }\r\n\r\n handlerSavePreferences() {\r\n this.openModal(this.loadingModal);\r\n this.feedServices.addDriverPreferences(\r\n this.filters\r\n ).then((result) => {\r\n this.loginServices.setPreferences(this.filters);\r\n this.setGUIPreferences();\r\n }).catch((error) => {\r\n console.error(error);\r\n });\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n }\r\n\r\n setGUIPreferences() {\r\n Object.entries(this.filters).forEach(([key, value]) => {\r\n switch (key) {\r\n case 'service_type':\r\n if (value) {\r\n this.chkPremiumTrip = value.toString()[0];\r\n this.chkSingleTrip = value.toString()[1];\r\n this.chkLiftTrip = value.toString()[2];\r\n this.chkHopOnHopOffTrip = value.toString()[3];\r\n this.chkGuaranteeTrip = value.toString()[4];\r\n\r\n if (this.chkPremiumTrip != '0' || this.chkSingleTrip != '0' || this.chkLiftTrip != '0' || this.chkHopOnHopOffTrip != '0' || this.chkGuaranteeTrip != '0')\r\n this.activeTypesFilter = true;\r\n else\r\n this.activeTypesFilter = false;\r\n }\r\n break;\r\n case 'trip_time':\r\n if (value) {\r\n this.chkSoon = value.toString()[0] == '0' ? false : true;\r\n this.chkLater = value.toString()[1] == '0' ? false : true;\r\n this.chkDateSubmitted = value.toString()[2] == '0' ? false : true;\r\n\r\n if (!this.chkSoon && !this.chkLater && !this.chkDateSubmitted)\r\n this.activeTimeFilter = false;\r\n else\r\n this.activeTimeFilter = true;\r\n }\r\n break;\r\n case 'horse_number':\r\n if (value) {\r\n this.chkLow = value.toString()[0] == '0' ? false : true;\r\n this.chkHigh = value.toString()[1] == '0' ? false : true;\r\n\r\n if (!this.chkHigh && !this.chkLow)\r\n this.activeNrHorsesFilter = false;\r\n else\r\n this.activeNrHorsesFilter = true;\r\n }\r\n break;\r\n case 'distance':\r\n if (value) {\r\n this.chkShortest = value.toString()[0] == '0' ? false : true;\r\n this.chkLongest = value.toString()[1] == '0' ? false : true;\r\n\r\n if (!this.chkLongest && !this.chkShortest)\r\n this.activeDistanceFilter = false;\r\n else\r\n this.activeDistanceFilter = true;\r\n }\r\n break;\r\n case 'country':\r\n if (value) {\r\n this.chkAZ = value.toString()[0] == '0' ? false : true;\r\n this.chkZA = value.toString()[1] == '0' ? false : true;\r\n\r\n if (!this.chkAZ && !this.chkZA)\r\n this.activeCountryFilter = false;\r\n else\r\n this.activeCountryFilter = true;\r\n }\r\n break;\r\n }\r\n if (this.chkPremiumTrip != '0' || this.chkSingleTrip != '0' || this.chkLiftTrip != '0' || this.chkHopOnHopOffTrip != '0' || this.chkGuaranteeTrip != '0' ||\r\n this.chkSoon || this.chkLater || this.chkDateSubmitted || this.chkHigh || this.chkLow || this.chkLongest || this.chkShortest || this.chkAZ || this.chkZA)\r\n this.isFiltersActive = true;\r\n else\r\n this.isFiltersActive = false;\r\n });\r\n }\r\n\r\n loadUserProfile() {\r\n this.openModal(this.modalProfile);\r\n\r\n this.feedServices.getUserProfileData(\r\n ).then((result) => {\r\n this.userEnterpriseInfo = JSON.parse(JSON.stringify(result.data));\r\n }).catch((error) => {\r\n console.error(error);\r\n });\r\n }\r\n\r\n openModal(modal) {\r\n this.modalService.open(modal, {\r\n ariaLabelledBy: 'modal-basic-title',\r\n centered: true,\r\n keyboard: true,\r\n size: 'lg'\r\n }).result.then((result) => {\r\n console.log(`Dismiss by ${result}`);\r\n }, (reason) => {\r\n console.log(`Dismiss by ${reason}`);\r\n });\r\n }\r\n}\r\n","import { Component, Inject } from '@angular/core';\r\nimport { HttpClient } from '@angular/common/http';\r\n\r\n@Component({\r\n selector: 'app-fetch-data',\r\n templateUrl: './fetch-data.component.html'\r\n})\r\nexport class FetchDataComponent {\r\n public forecasts: WeatherForecast[];\r\n\r\n constructor(http: HttpClient, @Inject('BASE_URL') baseUrl: string) {\r\n http.get(baseUrl + 'weatherforecast').subscribe(result => {\r\n this.forecasts = result;\r\n }, error => console.error(error));\r\n }\r\n}\r\n\r\ninterface WeatherForecast {\r\n date: string;\r\n temperatureC: number;\r\n temperatureF: number;\r\n summary: string;\r\n}\r\n","import { Component } from '@angular/core';\r\n\r\n@Component({\r\n selector: 'app-home',\r\n templateUrl: './home.component.html',\r\n})\r\nexport class HomeComponent {\r\n}\r\n","export default \"html {\\r\\n margin: 0px;\\r\\n padding: 0px;\\r\\n}\\r\\n\\r\\nbody {\\r\\n margin: 0px;\\r\\n padding: 0px;\\r\\n padding-bottom: 50px;\\r\\n font-family: Arial, Helvetica, sans-serif;\\r\\n font-size: 9pt;\\r\\n background-color: #eaeff3;\\r\\n}\\r\\n\\r\\nimg {\\r\\n width: 100%;\\r\\n}\\r\\n\\r\\n#img_login {\\r\\n margin-top: 50px;\\r\\n margin-bottom: 10px;\\r\\n text-align: center;\\r\\n}\\r\\n\\r\\n#btnRegister {\\r\\n margin-top: 20px;\\r\\n}\\r\\n\\r\\n.button-like-text {\\r\\n background: none;\\r\\n border: none;\\r\\n font: inherit;\\r\\n cursor: pointer;\\r\\n font-size: 18px;\\r\\n outline: none;\\r\\n}\\r\\n\\r\\n.row {\\r\\n margin: 0px;\\r\\n}\\r\\n\\r\\n.btn-primary {\\r\\n background-color: #265fbb;\\r\\n}\\r\\n\\r\\n.transpModal .modal-content {\\r\\n background: transparent !important;\\r\\n border: 0 !important;\\r\\n}\\r\\n\\r\\n.transpModal .modal-header,\\r\\n.transpModal .modal-body,\\r\\n.transpModal .modal-footer {\\r\\n border: 0 !important;\\r\\n}\\r\\n\\r\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvbG9naW4vbG9naW4uY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLFdBQVc7RUFDWCxZQUFZO0FBQ2Q7O0FBRUE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Z2lzdGVyIHtcclxuICBtYXJnaW4tdG9wOiAyMHB4O1xyXG59XHJcblxyXG4uYnV0dG9uLWxpa2UtdGV4dCB7XHJcbiAgYmFja2dyb3VuZDogbm9uZTtcclxuICBib3JkZXI6IG5vbmU7XHJcbiAgZm9udDogaW5oZXJpdDtcclxuICBjdXJzb3I6IHBvaW50ZXI7XHJcbiAgZm9udC1zaXplOiAxOHB4O1xyXG4gIG91dGxpbmU6IG5vbmU7XHJcbn1cclxuXHJcbi5yb3cge1xyXG4gIG1hcmdpbjogMHB4O1xyXG59XHJcblxyXG4uYnRuLXByaW1hcnkge1xyXG4gIGJhY2tncm91bmQtY29sb3I6ICMyNjVmYmI7XHJcbn1cclxuXHJcbi50cmFuc3BNb2RhbCAubW9kYWwtY29udGVudCB7XHJcbiAgYmFja2dyb3VuZDogdHJhbnNwYXJlbnQgIWltcG9ydGFudDtcclxuICBib3JkZXI6IDAgIWltcG9ydGFudDtcclxufVxyXG5cclxuLnRyYW5zcE1vZGFsIC5tb2RhbC1oZWFkZXIsXHJcbi50cmFuc3BNb2RhbCAubW9kYWwtYm9keSxcclxuLnRyYW5zcE1vZGFsIC5tb2RhbC1mb290ZXIge1xyXG4gIGJvcmRlcjogMCAhaW1wb3J0YW50O1xyXG59XHJcbiJdfQ== */\"","import { Component, OnInit, ElementRef, ViewEncapsulation, ViewChild } from '@angular/core';\r\nimport { Title } from '@angular/platform-browser';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { NgForm } from '@angular/forms';\r\nimport { LoginServices } from '../services/login/login.service';\r\nimport { NgbModal, ModalDismissReasons, NgbModalRef } from '@ng-bootstrap/ng-bootstrap';\r\nimport { User } from '../model/interfaces';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\n\r\n@Component({\r\n selector: 'login',\r\n templateUrl: './login.component.html',\r\n styleUrls: ['./login.component.css'],\r\n encapsulation: ViewEncapsulation.None\r\n})\r\nexport class LoginComponent implements OnInit {\r\n @ViewChild(\"loadingModal\", null) modalContent: NgbModalRef;\r\n language: string = '';\r\n user = {} as User;\r\n code001: boolean = false;\r\n code002: boolean = false;\r\n\r\n constructor(private translate: TranslateService, private loginServices: LoginServices, private element: ElementRef,\r\n private modalService: NgbModal, private titleService: Title, private activedRoute: ActivatedRoute, private router: Router) {\r\n\r\n let _language = this.activedRoute.snapshot.params.language != null ? this.activedRoute.snapshot.params.language : this.translate.getBrowserLang();\r\n console.info('l => ' + _language);\r\n if (_language != 'es' && _language != 'en' && _language != 'it' && _language != 'de' && _language != 'pt') {\r\n this.language = 'de';//'en';\r\n } else {\r\n this.language = _language;\r\n }\r\n\r\n this.setAppLanguage();\r\n this.translate.get('titulo_login').subscribe((translated: string) => {\r\n this.titleService.setTitle(translated);\r\n });\r\n }\r\n\r\n ngOnInit() {\r\n if (this.loginServices.getToken() != null) {\r\n this.router.navigate([`../feed/new-trips/${this.language}`], { replaceUrl: true });\r\n }\r\n }\r\n\r\n setAppLanguage() {\r\n this.translate.setDefaultLang(this.language);\r\n this.translate.use(this.language);\r\n }\r\n\r\n setLanguageOptions(idiom) {\r\n this.language = idiom;\r\n this.setAppLanguage();\r\n //this.translate.get('de').subscribe((t: string) => {\r\n // this.idioms.push({ key: 'de', value: t });\r\n //});\r\n //this.translate.get('en').subscribe((t: string) => {\r\n // this.idioms.push({ key: 'en', value: t });\r\n //});\r\n //this.translate.get('es').subscribe((t: string) => {\r\n // this.idioms.push({ key: 'es', value: t });\r\n //});\r\n //this.translate.get('it').subscribe((t: string) => {\r\n // this.idioms.push({ key: 'it', value: t });\r\n //});\r\n //this.translate.get('pt').subscribe((t: string) => {\r\n // this.idioms.push({ key: 'pt', value: t });\r\n //});\r\n }\r\n\r\n onSubmit(loginForm: NgForm) {\r\n this.code001 = false;\r\n this.code002 = false;\r\n\r\n if (loginForm.invalid) {\r\n for (const key of Object.keys(loginForm.controls)) {\r\n if (loginForm.controls[key].invalid) {\r\n const fieldElement = this.element.nativeElement.querySelector('[name=' + key + ']');\r\n loginForm.controls[key].markAsTouched();\r\n fieldElement.focus();\r\n break;\r\n }\r\n }\r\n } else {\r\n this.openModal();\r\n setTimeout(() => {\r\n this.user.email = loginForm.value['email'];\r\n this.user.pass = loginForm.value['password'];\r\n this.user.app_language = this.language;\r\n \r\n this.loginServices.login(\r\n this.user\r\n ).then((result) => {\r\n if (!result.success) {\r\n if (result.data == 'Code: 001')\r\n this.code001 = true;\r\n else if (result.data == 'Code: 002')\r\n this.code002 = true;\r\n else if (result.data.charAt(0) == '$') {\r\n localStorage.removeItem('keyVehicleRegistration');\r\n localStorage.setItem('keyVehicleRegistration', result.data);\r\n this.router.navigate([`../vehicle-registration/${this.language}`], { replaceUrl: false });\r\n }\r\n\r\n } else {\r\n let _user: User = JSON.parse(JSON.stringify(result.data));\r\n this.loginServices.setToken(_user.token);\r\n this.loginServices.setUser(_user);\r\n this.router.navigate([`../feed/new-trips/${this.language}`], { replaceUrl: true });\r\n }\r\n }).catch((error) => {\r\n console.error(error);\r\n });\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n }, 1500);\r\n }\r\n }\r\n\r\n changeIdiom(event) {\r\n this.language = event.target.value;\r\n this.setAppLanguage();\r\n }\r\n\r\n openModal() {\r\n this.modalService.open(this.modalContent, {\r\n ariaLabelledBy: 'modal-basic-title',\r\n centered: true,\r\n windowClass: 'transpModal',\r\n keyboard: false\r\n }).result.then((result) => {\r\n console.log(`Dismiss by ${result}`);\r\n }, (reason) => {\r\n console.log(`Dismiss by ${reason}`);\r\n });\r\n }\r\n}\r\n","export default \".tripsCosingSoon {\\r\\n background-color: #333333;\\r\\n}\\r\\n\\r\\n.firstSubmitOffer {\\r\\n background-color: #f64300;\\r\\n}\\r\\n\\r\\n.makeOffer {\\r\\n background-color: #333333;\\r\\n}\\r\\n\\r\\n.btnOfferRight {\\r\\n width: 60%;\\r\\n color: #ffffff;\\r\\n border-radius: 15px 15px 15px 15px;\\r\\n padding: 5px 10px 5px 10px;\\r\\n margin-bottom: 10px;\\r\\n}\\r\\n\\r\\n.btnOfferRight:hover {\\r\\n cursor: pointer;\\r\\n }\\r\\n\\r\\n.btnOfferBottom {\\r\\n width: 100%;\\r\\n color: #ffffff;\\r\\n border-radius: 15px 15px 15px 15px;\\r\\n margin: 5px 10px 5px 10px;\\r\\n padding: 5px 10px 5px 10px;\\r\\n margin-bottom: 10px;\\r\\n}\\r\\n\\r\\n.btnOfferBottom:hover {\\r\\n cursor: pointer;\\r\\n }\\r\\n\\r\\n.newTripCardItem {\\r\\n background-color: #ffffff;\\r\\n border-radius: 0px 15px 15px 0px;\\r\\n}\\r\\n\\r\\n@media only screen and (max-width: 850px) {\\r\\n .btnOfferRight {\\r\\n visibility: hidden;\\r\\n }\\r\\n\\r\\n .btnOfferBottom {\\r\\n visibility: visible;\\r\\n }\\r\\n}\\r\\n\\r\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvbXktbGlzdC9teS1saXN0LmNvbXBvbmVudC5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDRSx5QkFBeUI7QUFDM0I7O0FBRUE7RUFDRSx5QkFBeUI7QUFDM0I7O0FBRUE7RUFDRSx5QkFBeUI7QUFDM0I7O0FBRUE7RUFDRSxVQUFVO0VBQ1YsY0FBYztFQUNkLGtDQUFrQztFQUNsQywwQkFBMEI7RUFDMUIsbUJBQW1CO0FBQ3JCOztBQUVFO0lBQ0UsZUFBZTtFQUNqQjs7QUFFRjtFQUNFLFdBQVc7RUFDWCxjQUFjO0VBQ2Qsa0NBQWtDO0VBQ2xDLHlCQUF5QjtFQUN6QiwwQkFBMEI7RUFDMUIsbUJBQW1CO0FBQ3JCOztBQUVFO0lBQ0UsZUFBZTtFQUNqQjs7QUFFRjtFQUNFLHlCQUF5QjtFQUN6QixnQ0FBZ0M7QUFDbEM7O0FBRUE7RUFDRTtJQUNFLGtCQUFrQjtFQUNwQjs7RUFFQTtJQUNFLG1C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cmFkaXVzOiAwcHggMTVweCAxNXB4IDBweDtcclxufVxyXG5cclxuQG1lZGlhIG9ubHkgc2NyZWVuIGFuZCAobWF4LXdpZHRoOiA4NTBweCkge1xyXG4gIC5idG5PZmZlclJpZ2h0IHtcclxuICAgIHZpc2liaWxpdHk6IGhpZGRlbjtcclxuICB9XHJcblxyXG4gIC5idG5PZmZlckJvdHRvbSB7XHJcbiAgICB2aXNpYmlsaXR5OiB2aXNpYmxlO1xyXG4gIH1cclxufVxyXG4iXX0= */\"","import { Component, OnInit, ElementRef, ViewEncapsulation, ViewChild, Renderer, Input, Output, EventEmitter } from '@angular/core';\r\nimport { Title } from '@angular/platform-browser';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { LoginServices } from '../services/login/login.service';\r\nimport { FeedServices } from '../services/feed/feed.service';\r\nimport { NgbModal, ModalDismissReasons, NgbModalRef } from '@ng-bootstrap/ng-bootstrap';\r\nimport { Vehicles, view_travel } from '../model/interfaces';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\n\r\n@Component({\r\n selector: 'my-list',\r\n templateUrl: './my-list.component.html',\r\n styleUrls: ['./my-list.component.css'],\r\n encapsulation: ViewEncapsulation.None\r\n})\r\nexport class MyListComponent implements OnInit {\r\n @ViewChild(\"modalDetails\", null) modalDetails: NgbModalRef;\r\n @ViewChild(\"loadingModal\", null) loadingModal: NgbModalRef;\r\n\r\n // Valor global\r\n lineIndex: any;\r\n\r\n // Datos de entrada\r\n @Input() updateChild: Date;\r\n\r\n @Input()\r\n set elementToSearch(value: string) {\r\n this._elementToSearch = value.toLowerCase();\r\n }\r\n get elementToSearch() {\r\n return this._elementToSearch;\r\n }\r\n\r\n // Datos de la tabla\r\n rows = [];\r\n filterRows = [];\r\n linesTravels = [];\r\n isMyListTripData: boolean = false;\r\n view_travel = {} as view_travel;\r\n txtOfferNotes: string = '';\r\n offer: string = '';\r\n\r\n // Letreros individuales\r\n travel_type: string = '';\r\n departure: string = '';\r\n return: string = '';\r\n service_type: string = '';\r\n arrivalOfDeparture: string = '';\r\n arrivalOfReturn: string = '';\r\n stall_type: string = '';\r\n truck: string = '';\r\n equipment: string = '';\r\n notes: string = '';\r\n\r\n // Traducciones\r\n ida: string = '';\r\n ida_vuelta: string = '';\r\n premium: string = '';\r\n individual: string = '';\r\n lift: string = '';\r\n hopOnHopOff: string = '';\r\n guarantee: string = '';\r\n todos_los_viajes: string = '';\r\n puesto_individual: string = '';\r\n puesto_1_5: string = '';\r\n caja: string = '';\r\n no: string = '';\r\n si: string = '';\r\n si_pocos: string = '';\r\n si_muchos: string = '';\r\n flexibleString: string = '';\r\n no_puede_realizar_oferta: string = '';\r\n cuenta_no_pertenece: string = '';\r\n error_inesperado: string = '';\r\n error_cantidad_oferta: boolean = false;\r\n\r\n // Idiomas/etiquetas\r\n language: string = '';\r\n noFlexibleDate: string = '';\r\n deprecateMsg: string = '';\r\n beFirstMsg: string = '';\r\n\r\n private _elementToSearch: string;\r\n\r\n vehicleList = {} as Vehicles[];\r\n hours = [];\r\n minutes = [];\r\n\r\n txtArrivaDate = new Date().getFullYear() + '-' + String(new Date().getMonth() + 1).padStart(2, '0') + '-' + String(new Date().getDate()).padStart(2, '0');\r\n txtArrivaDateMin = new Date().getFullYear() + '-' + String(new Date().getMonth() + 1).padStart(2, '0') + '-' + String(new Date().getDate()).padStart(2, '0')\r\n txtArrivaDateMax = (new Date().getFullYear() + 1) + '-' + String(new Date().getMonth() + 1).padStart(2, '0') + '-' + String(new Date().getDate()).padStart(2, '0')\r\n\r\n selOfferType: string = '1';\r\n selVehicle: number = 0;\r\n selHour: string = '00';\r\n selMinute: string = '00';\r\n chkIva: number = 0;\r\n\r\n vehicle_type = [];\r\n vehicleVScapacity = [];\r\n filterCapacity = [];\r\n filterAdditionalHorses = [];\r\n selCapacity; string = '';\r\n selAdditionalHorses: string = '';\r\n solo_tu_caballo: string = '';\r\n descripcionServicio: string = '';\r\n service_type_labels = [];\r\n currentCurrency: string = '€';\r\n\r\n constructor(private translate: TranslateService, private loginServices: LoginServices, private feedServices: FeedServices, private element: ElementRef,\r\n private modalService: NgbModal, private titleService: Title, private activatedRoute: ActivatedRoute, private router: Router,\r\n private renderer: Renderer) {\r\n let _language = this.activatedRoute.snapshot.params.language != null ? this.activatedRoute.snapshot.params.language : this.translate.getBrowserLang();\r\n console.info('l => ' + _language);\r\n if (_language != 'es' && _language != 'en' && _language != 'it' && _language != 'de' && _language != 'pt') {\r\n this.language = 'de';//'en';\r\n } else {\r\n this.language = _language;\r\n }\r\n\r\n this.setAppLanguage();\r\n\r\n this.translate.get('tabla_todos_los_viajes').subscribe((translated) => {\r\n this.noFlexibleDate = translated.fecha_no_flexible;\r\n this.deprecateMsg = translated.caduca_pronto_msg;\r\n this.beFirstMsg = translated.ser_primero_oferta_msg;\r\n });\r\n\r\n this.translate.get('enviar_oferta').subscribe((translated) => {\r\n this.ida = translated.ida;\r\n this.ida_vuelta = translated.ida_vuelta;\r\n this.puesto_individual = translated.individual;\r\n this.puesto_1_5 = translated.puestos_1_5;\r\n this.caja = translated.caja;\r\n this.no = translated.no;\r\n this.si = translated.si;\r\n this.si_pocos = translated.si_pocos;\r\n this.si_muchos = translated.si_muchos;\r\n this.flexibleString = translated.rango_fechas_flexible;\r\n this.no_puede_realizar_oferta = translated.no_puede_realizar_oferta;\r\n this.cuenta_no_pertenece = translated.cuenta_no_pertenece;\r\n this.solo_tu_caballo = translated.solo_tu_caballo;\r\n });\r\n\r\n this.translate.get('nuevo_registro').subscribe((translated) => {\r\n this.error_inesperado = translated.error_inesperado;\r\n this.descripcionServicio = translated.descripcion_individual;\r\n\r\n this.service_type_labels.push({\r\n label: translated.descripcion_individual,\r\n value: 1,\r\n }, {\r\n label: translated.descripcion_premium,\r\n value: 2,\r\n }, {\r\n label: translated.descripcion_lift,\r\n value: 3,\r\n }, {\r\n label: translated.descripcion_hopOnHopOff,\r\n value: 4,\r\n }, {\r\n label: translated.descripcion_guarante,\r\n value: 5,\r\n });\r\n\r\n this.vehicle_type.push({\r\n label: translated.camion,\r\n value: 1\r\n }, {\r\n label: translated.furgoneta,\r\n value: 2\r\n }, {\r\n label: translated.remolque,\r\n value: 3\r\n });\r\n });\r\n\r\n this.translate.get('fichas').subscribe((translated) => {\r\n this.premium = translated.premium;\r\n this.individual = translated.individual;\r\n this.lift = translated.lift;\r\n this.hopOnHopOff = translated.hopOnHopOff;\r\n this.guarantee = translated.guarantee;\r\n this.todos_los_viajes = translated.todos_los_viajes;\r\n });\r\n\r\n for (let i = 0; i < 60; i++) {\r\n if (i < 24)\r\n this.hours.push({ hour: i, time_distinction: i < 12 ? 'a.m' : 'p.m' });\r\n this.minutes.push({ minute: i < 10 ? '0' + i : i });\r\n }\r\n }\r\n\r\n ngOnInit() { }\r\n\r\n ngOnChanges() {\r\n if (localStorage.getItem('wasLoaded') == '1') {\r\n this.rows = this.filterItemsByQuery(this._elementToSearch);\r\n }\r\n else\r\n this.loadMyListTrips();\r\n }\r\n\r\n ngOnDestroy() {\r\n localStorage.removeItem('wasLoaded');\r\n }\r\n\r\n setAppLanguage() {\r\n this.translate.setDefaultLang(this.language);\r\n this.translate.use(this.language);\r\n }\r\n\r\n loadMyListTrips() {\r\n localStorage.setItem('wasLoaded', '1');\r\n this.openLoadingModal(this.loadingModal);\r\n let _today = new Date();\r\n let dd = String(_today.getDate()).padStart(2, '0');\r\n let mm = String(_today.getMonth() + 1).padStart(2, '0');\r\n let yyyy = _today.getFullYear();\r\n\r\n let today = yyyy + '-' + mm + '-' + dd;\r\n\r\n this.feedServices.consultMyTripsList(\r\n today\r\n ).then((result) => {\r\n this.rows = [];\r\n this.filterRows = [];\r\n\r\n if (result.success) {\r\n this.linesTravels = [];\r\n this.linesTravels.push(...result.data);\r\n this.linesTravels.sort(function (a, b) {\r\n if (a.id_travel > b.id_travel) {\r\n return -1;\r\n }\r\n if (a.id_travel < b.id_travel) {\r\n return 1;\r\n }\r\n return 0;\r\n });\r\n\r\n\r\n this.isMyListTripData = this.linesTravels.length > 0 ? true : false;\r\n\r\n let position = 0;\r\n this.linesTravels.forEach(e => {\r\n let formatDate = this.feedServices.dateFormat(e.travel_start_date);\r\n formatDate = formatDate.toString().substr(0, 10);\r\n\r\n let formatTransporterDate = e.transporter_date != '' && e.transporter_date != null ? this.feedServices.dateFormat(e.transporter_date) : '';\r\n formatTransporterDate = e.transporter_date != '' && e.transporter_date != null ? formatTransporterDate.toString().substr(0, 10) : '01/01/2000';\r\n\r\n let km = (e.distance / 1000).toFixed(0);\r\n let kmString = new Intl.NumberFormat(\"de-DE\").format(parseInt(km)) + \" km\";\r\n\r\n let formatFlexibleDate = \"\";\r\n if (e.travel_flexible_date != \"0001-01-01T00:00:00\") {\r\n formatFlexibleDate = this.feedServices.dateFormat(e.travel_flexible_date);\r\n formatFlexibleDate = formatFlexibleDate.toString().substr(0, 10);\r\n } else {\r\n formatFlexibleDate = this.noFlexibleDate;\r\n }\r\n\r\n let todaySeven = this.feedServices.WithoutTime(new Date());\r\n todaySeven.setDate(todaySeven.getDate() + 7);\r\n let travelDateCadu = new Date(Date.parse(e.travel_start_date));\r\n\r\n let msg = '', tableClass = '1', style_msg = 'makeOffer';\r\n\r\n if (e.status == 7 || e.status == 4) {\r\n if (travelDateCadu >= this.feedServices.WithoutTime(new Date()) && travelDateCadu <= todaySeven) {\r\n msg = this.deprecateMsg;\r\n style_msg = 'tripsCosingSoon';\r\n } else if (e.first_offer == 0) {\r\n msg = this.beFirstMsg;\r\n style_msg = 'firstSubmitOffer';\r\n } else {\r\n tableClass = '0';\r\n }\r\n }\r\n\r\n let service_name = '', class_service_type = '';\r\n\r\n switch (e.service_type) {\r\n case 1:\r\n service_name = this.premium;\r\n class_service_type = 'premiumServiceType';\r\n break;\r\n case 2:\r\n service_name = this.individual;\r\n class_service_type = 'individualServiceType';\r\n break;\r\n case 3:\r\n service_name = this.lift;\r\n class_service_type = 'liftServiceType';\r\n break;\r\n case 4:\r\n service_name = this.hopOnHopOff;\r\n class_service_type = 'hopServiceType';\r\n break;\r\n case 5:\r\n service_name = this.guarantee;\r\n class_service_type = 'guaranteeServiceType';\r\n break;\r\n }\r\n\r\n this.rows.push({\r\n \"position\": position,\r\n \"travel_name\": e.travel_name,\r\n \"travel_start_address\": e.travel_start_address,\r\n \"travel_end_address\": e.travel_end_address,\r\n \"formatDate\": formatDate,\r\n \"travel_start_date\": Date.parse(formatDate.split('/')[2] + '-' + formatDate.split('/')[1] + '-' + formatDate.split('/')[0]),\r\n \"transporter_date\": Date.parse(formatTransporterDate.split('/')[2] + '-' + formatTransporterDate.split('/')[1] + '-' + formatTransporterDate.split('/')[0]),\r\n \"formatFlexibleDate\": formatFlexibleDate,\r\n \"horse_number\": e.horse_number,\r\n \"kmString\": kmString,\r\n \"distance\": km,\r\n \"msg\": msg,\r\n \"tableClass\": tableClass,\r\n \"class_service_type\": class_service_type,\r\n \"service_name\": service_name,\r\n \"style_msg\": style_msg\r\n //\"appLanguage\": e.appLanguage\r\n });\r\n this.filterRows.push({\r\n \"position\": position,\r\n \"travel_name\": e.travel_name,\r\n \"travel_start_address\": e.travel_start_address,\r\n \"travel_end_address\": e.travel_end_address,\r\n \"formatDate\": formatDate,\r\n \"travel_start_date\": Date.parse(formatDate.split('/')[2] + '-' + formatDate.split('/')[1] + '-' + formatDate.split('/')[0]),\r\n \"transporter_date\": Date.parse(formatTransporterDate.split('/')[2] + '-' + formatTransporterDate.split('/')[1] + '-' + formatTransporterDate.split('/')[0]),\r\n \"service_type\": e.service_type,\r\n \"formatFlexibleDate\": formatFlexibleDate,\r\n \"horse_number\": e.horse_number,\r\n \"kmString\": kmString,\r\n \"distance\": km,\r\n \"msg\": msg,\r\n \"tableClass\": tableClass,\r\n \"class_service_type\": class_service_type,\r\n \"service_name\": service_name,\r\n \"style_msg\": style_msg\r\n //\"appLanguage\": e.appLanguage\r\n });\r\n position++;\r\n\r\n });\r\n\r\n } else if (result.message == 'Unauthorized') {\r\n this.translate.get('sesion_caducada').subscribe(translated => {\r\n this.loginServices.logout();\r\n alert(translated);\r\n this.router.navigate([`../login/${this.language}`], { replaceUrl: true });\r\n });\r\n }\r\n\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n })\r\n .catch((error) => {\r\n console.error(error);\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n });\r\n }\r\n\r\n filterItemsByQuery(query) {\r\n return this.filterRows.filter(function (el) {\r\n return el.travel_name.toLowerCase().indexOf(query) > -1 ||\r\n el.travel_start_address.toLowerCase().indexOf(query) > -1 ||\r\n el.travel_end_address.toLowerCase().indexOf(query) > -1 ||\r\n el.formatDate.toLowerCase().indexOf(query) > -1 ||\r\n el.formatFlexibleDate.toLowerCase().indexOf(query) > -1 ||\r\n //el.appLanguage.toLowerCase().indexOf(query) > -1 ||\r\n el.kmString.toLowerCase().indexOf(query) > -1;\r\n });\r\n }\r\n\r\n openDetails(viajeIndex) {\r\n this.lineIndex = viajeIndex;\r\n\r\n this.view_travel.fullname = this.linesTravels[viajeIndex].fullname;\r\n this.view_travel.travel_name = this.linesTravels[viajeIndex].travel_name;\r\n this.view_travel.horse_number = this.linesTravels[viajeIndex].horse_number;\r\n this.view_travel.travel_start_address = this.linesTravels[viajeIndex].travel_start_address;\r\n this.view_travel.travel_end_address = this.linesTravels[viajeIndex].travel_end_address;\r\n\r\n let km = (this.linesTravels[viajeIndex].distance / 1000).toFixed(0);\r\n let kmString = new Intl.NumberFormat(\"de-DE\").format(parseInt(km)) + \" km\";\r\n\r\n this.view_travel.distance = kmString;\r\n\r\n if (this.linesTravels[viajeIndex].travel_type == 0) {\r\n this.travel_type = this.ida;\r\n } else {\r\n this.travel_type = this.ida_vuelta;\r\n }\r\n\r\n if (this.linesTravels[viajeIndex].travel_start_date == \"0001-01-01T00:00:00\") {\r\n this.departure = '';\r\n } else {\r\n this.departure = this.feedServices.dateFormat(this.linesTravels[viajeIndex].travel_start_date).toString().substr(0, 10);\r\n }\r\n\r\n //if (this.linesTravels[viajeIndex].transporter_date == \"0001-01-01T00:00:00\") {\r\n // this.departure = '';\r\n //} else {\r\n // this.departure = this.feedServices.dateFormat(this.linesTravels[viajeIndex].transporter_date).toString().substr(0, 10);\r\n //}\r\n\r\n if (this.linesTravels[viajeIndex].travel_back_date == \"0001-01-01T00:00:00\") {\r\n this.return = '';\r\n } else {\r\n this.return = this.feedServices.dateFormat(this.linesTravels[viajeIndex].travel_back_date);\r\n }\r\n\r\n if (this.linesTravels[viajeIndex].service_type == 1) {\r\n this.service_type = this.premium;\r\n } else if (this.linesTravels[viajeIndex].service_type == 2) {\r\n this.service_type = this.individual;\r\n } else if (this.linesTravels[viajeIndex].service_type == 3) {\r\n this.service_type = this.lift;\r\n } else if (this.linesTravels[viajeIndex].service_type == 4) {\r\n this.service_type = this.hopOnHopOff;\r\n } else if (this.linesTravels[viajeIndex].service_type == 5) {\r\n this.service_type = this.guarantee;\r\n } else {\r\n this.service_type = this.todos_los_viajes;\r\n }\r\n\r\n if (this.linesTravels[viajeIndex].travel_arrival_day == \"0001-01-01T00:00:00\") {\r\n this.arrivalOfDeparture = '';\r\n } else {\r\n this.arrivalOfDeparture = this.feedServices.dateFormat(this.linesTravels[viajeIndex].travel_arrival_day);\r\n }\r\n\r\n if (this.linesTravels[viajeIndex].travel_return_day == \"0001-01-01T00:00:00\") {\r\n this.arrivalOfReturn = '';\r\n } else {\r\n this.arrivalOfReturn = this.feedServices.dateFormat(this.linesTravels[viajeIndex].travel_return_day);\r\n }\r\n\r\n if (this.linesTravels[viajeIndex].box_type == 0) {\r\n this.stall_type = this.puesto_individual;\r\n } else if (this.linesTravels[viajeIndex].box_type == 1) {\r\n this.stall_type = this.puesto_1_5;\r\n } else if (this.linesTravels[viajeIndex].box_type == -1) {\r\n this.stall_type = '';\r\n } else {\r\n this.stall_type = this.caja;\r\n }\r\n\r\n if (this.linesTravels[viajeIndex].take_truck == 0) {\r\n this.truck = this.no;\r\n } else {\r\n this.truck = this.si;\r\n }\r\n\r\n if (this.linesTravels[viajeIndex].special_equipment == 0) {\r\n this.equipment = this.no;\r\n } else if (this.linesTravels[viajeIndex].special_equipment == 1) {\r\n this.equipment = this.si_pocos;\r\n } else {\r\n this.equipment = this.si_muchos;\r\n }\r\n\r\n if (this.linesTravels[viajeIndex].travel_notes != null && this.linesTravels[viajeIndex].travel_notes != \"\") {\r\n if (this.linesTravels[viajeIndex].travel_flexible_date != \"0001-01-01T00:00:00\") {\r\n this.notes = this.linesTravels[viajeIndex].travel_notes + \", \" +\r\n this.flexibleString + \" \" +\r\n this.feedServices.dateFormat(this.linesTravels[viajeIndex].travel_start_date).toString().substr(0, 10) +\r\n \" - \" +\r\n this.feedServices.dateFormat(this.linesTravels[viajeIndex].travel_flexible_date).toString().substr(0, 10);\r\n } else {\r\n this.notes = this.linesTravels[viajeIndex].travel_notes;\r\n }\r\n } else {\r\n if (this.linesTravels[viajeIndex].travel_flexible_date != \"0001-01-01T00:00:00\") {\r\n this.notes = this.flexibleString +\r\n \" \" +\r\n this.feedServices.dateFormat(this.linesTravels[viajeIndex].travel_start_date).toString().substr(0, 10) +\r\n \" - \" +\r\n this.feedServices.dateFormat(this.linesTravels[viajeIndex].travel_flexible_date).toString().substr(0, 10);\r\n } else {\r\n this.notes = '';\r\n }\r\n }\r\n\r\n this.feedServices.getVehiclesByEnterprise(\r\n this.language\r\n ).then((result => {\r\n if (result.success) {\r\n this.vehicleList = result.data;\r\n this.selVehicle = this.vehicleList[0].id_vehicle;\r\n let _camion = this.vehicle_type[0].label, _furgoneta = this.vehicle_type[1].label, _remolque = this.vehicle_type[2].label;\r\n this.vehicleVScapacity = [];\r\n\r\n this.vehicleList.forEach(item => {\r\n this.vehicleVScapacity.push({\r\n capacity: item.vehicle_capacity,\r\n id_vehicle: item.id_vehicle\r\n });\r\n\r\n item.vehicle_type = item.vehicle_type.replace('$', ' ');\r\n\r\n let valueVehicleType = item.vehicle_type.substring(item.vehicle_type.indexOf('$') + 1);\r\n let labelVehicleType = '';\r\n\r\n if (valueVehicleType == '1')\r\n labelVehicleType = _camion;\r\n else if (valueVehicleType == '2')\r\n labelVehicleType = _furgoneta;\r\n else\r\n labelVehicleType = _remolque;\r\n\r\n item.vehicle_type = item.vehicle_type.substring(0, item.vehicle_type.indexOf('$'));\r\n item.vehicle_type += ' ' + labelVehicleType;\r\n })\r\n this.setVehicleCapacity(this.selVehicle);\r\n this.descripcionServicio = this.service_type_labels[0].label;\r\n\r\n this.openModal(this.modalDetails);\r\n }\r\n this.offer = '';\r\n this.txtArrivaDate = '';\r\n })).catch((error => {\r\n console.error(error);\r\n }));\r\n }\r\n\r\n onSubmit(doOfferForm, inputOffer) {\r\n this.error_cantidad_oferta = false;\r\n\r\n if (doOfferForm.invalid) {\r\n for (const key of Object.keys(doOfferForm.controls)) {\r\n if (doOfferForm.controls[key].invalid || doOfferForm.controls[key].value < 50) {\r\n doOfferForm.controls[key].markAsTouched();\r\n inputOffer.focus();\r\n break;\r\n }\r\n }\r\n } else {\r\n if (parseFloat(doOfferForm.value['offer']) < 50.00) {\r\n this.error_cantidad_oferta = true;\r\n inputOffer.value = '';\r\n inputOffer.focus();\r\n } else {\r\n\r\n if (this.linesTravels[this.lineIndex].status == 4) {\r\n const offer = {\r\n fk_travel: this.linesTravels[this.lineIndex].id_travel,\r\n price: parseFloat(doOfferForm.value['offer']),\r\n offer_notes: this.txtOfferNotes,\r\n offer_type: parseInt(this.selOfferType),\r\n transporter_date: this.txtArrivaDate + ' ' + this.selHour + ':' + this.selMinute + ':00',\r\n vat_tolls: this.chkIva == 1 ? true : false,\r\n fk_vehicle: this.selVehicle,\r\n truck_capacity: this.selAdditionalHorses.toString(),\r\n currency_type: this.currentCurrency == '€' ? 1 : 2\r\n };\r\n\r\n this.openLoadingModal(this.loadingModal);\r\n\r\n this.feedServices.putChangeOffer(\r\n offer\r\n ).then((result) => {\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n\r\n if (result.success) {\r\n this.loadMyListTrips();\r\n } else if (JSON.parse(result.data) == \"Code: 001\") {\r\n alert(this.no_puede_realizar_oferta);\r\n } else if (JSON.parse(result.data) == \"Code: 002\") {\r\n alert(this.cuenta_no_pertenece);\r\n } else if (JSON.parse(result.data) == \"Code: 003\") {\r\n alert(this.error_inesperado);\r\n } else {\r\n alert(this.error_inesperado);\r\n }\r\n }).catch((error) => {\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n console.error(error);\r\n alert(this.error_inesperado);\r\n });\r\n } else {\r\n const offer = {\r\n fk_travel: this.linesTravels[this.lineIndex].id_travel,\r\n price: parseFloat(doOfferForm.value['offer']),\r\n offer_notes: this.txtOfferNotes,\r\n offer_type: parseInt(this.selOfferType),\r\n transporter_date: this.txtArrivaDate + ' ' + this.selHour + ':' + this.selMinute + ':00',\r\n vat_tolls: this.chkIva == 1 ? true : false,\r\n fk_vehicle: this.selVehicle,\r\n truck_capacity: this.selAdditionalHorses.toString(),\r\n currency_type: this.currentCurrency == '€' ? 1 : 2\r\n };\r\n\r\n this.openLoadingModal(this.loadingModal);\r\n\r\n this.feedServices.makeanOffer(\r\n offer\r\n ).then((result) => {\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n\r\n if (JSON.parse(result.data) == \"ok\") {\r\n this.loadMyListTrips();\r\n } else if (JSON.parse(result.data) == \"Code: 001\") {\r\n alert(this.no_puede_realizar_oferta);\r\n } else if (JSON.parse(result.data) == \"Code: 002\") {\r\n alert(this.cuenta_no_pertenece);\r\n } else if (JSON.parse(result.data) == \"Code: 003\") {\r\n alert(this.error_inesperado);\r\n } else if (JSON.parse(result.data) == \"Code: 004\") {\r\n alert(this.error_inesperado);\r\n } else if (JSON.parse(result.data) == \"Code: 005\") {\r\n alert('No se pudo guardar la informacion');\r\n } else {\r\n alert(this.error_inesperado);\r\n }\r\n }).catch((error) => {\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n alert(this.error_inesperado);\r\n });\r\n }\r\n doOfferForm.resetForm();\r\n }\r\n }\r\n }\r\n\r\n setVehicleCapacity(id_vehicle) {\r\n this.selVehicle = parseInt(id_vehicle);\r\n\r\n let currentVehicle = this.vehicleVScapacity.find(\r\n e => e.id_vehicle == id_vehicle\r\n );\r\n this.filterCapacity = [];\r\n this.filterAdditionalHorses = [];\r\n let five = 5, ten = 10;\r\n\r\n this.filterAdditionalHorses.push({\r\n label: this.solo_tu_caballo,\r\n value: 0\r\n })\r\n for (let i = 1; i < currentVehicle.capacity; i++) {\r\n if (i < 5) {\r\n this.filterCapacity.push({\r\n id_vehicle: id_vehicle,\r\n capacity: i.toString()\r\n });\r\n\r\n this.filterAdditionalHorses.push({\r\n label: i.toString(),\r\n value: i\r\n });\r\n } else {\r\n this.filterCapacity.push({\r\n id_vehicle: id_vehicle,\r\n capacity: five + ' - ' + ten\r\n });\r\n this.filterAdditionalHorses.push({\r\n label: i.toString(),\r\n value: i\r\n });\r\n i += 6;\r\n five = ten + 1;\r\n ten += 5;\r\n }\r\n }\r\n this.selCapacity = currentVehicle.capacity;\r\n this.selAdditionalHorses = this.filterAdditionalHorses[0].value;\r\n }\r\n\r\n changeServiceHandler(event) {\r\n this.selOfferType = event.target.value;\r\n\r\n switch (this.selOfferType) {\r\n case '1':\r\n this.descripcionServicio = this.service_type_labels[0].label;\r\n break;\r\n case '2':\r\n this.descripcionServicio = this.service_type_labels[1].label;\r\n break;\r\n case '3':\r\n this.descripcionServicio = this.service_type_labels[2].label;\r\n break;\r\n case '4':\r\n this.descripcionServicio = this.service_type_labels[3].label;\r\n break;\r\n case '5':\r\n this.descripcionServicio = this.service_type_labels[4].label;\r\n break;\r\n default:\r\n this.descripcionServicio = '';\r\n break;\r\n }\r\n }\r\n\r\n removeFromMyList(viajeIndex) {\r\n let id_travel = this.linesTravels[viajeIndex].id_travel;\r\n console.log(id_travel);\r\n\r\n this.feedServices.removeFromMyList(\r\n id_travel\r\n ).then((result) => {\r\n if (result.success) {\r\n this.loadMyListTrips();\r\n }\r\n }).catch((error) => {\r\n console.error(error);\r\n })\r\n }\r\n\r\n openModal(modal) {\r\n this.modalService.open(modal, {\r\n ariaLabelledBy: 'modal-basic-title',\r\n centered: true,\r\n keyboard: true\r\n }).result.then((result) => {\r\n console.log(`Dismiss by ${result}`);\r\n }, (reason) => {\r\n console.log(`Dismiss by ${reason}`);\r\n });\r\n }\r\n\r\n openLoadingModal(modal) {\r\n this.modalService.open(modal, {\r\n ariaLabelledBy: 'modal-basic-title',\r\n centered: true,\r\n windowClass: 'transpModal',\r\n keyboard: false\r\n }).result.then((result) => {\r\n console.log(`Dismiss by ${result}`);\r\n }, (reason) => {\r\n console.log(`Dismiss by ${reason}`);\r\n });\r\n }\r\n\r\n}\r\n","export default \"a.navbar-brand {\\r\\n white-space: normal;\\r\\n text-align: center;\\r\\n word-break: break-all;\\r\\n}\\r\\n\\r\\nhtml {\\r\\n font-size: 14px;\\r\\n}\\r\\n\\r\\n@media (min-width: 768px) {\\r\\n html {\\r\\n font-size: 16px;\\r\\n }\\r\\n}\\r\\n\\r\\n.box-shadow {\\r\\n box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);\\r\\n}\\r\\n\\r\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvbmF2LW1lbnUvbmF2LW1lbnUuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLG1CQUFtQjtFQUNuQixrQkFBa0I7RUFDbEIscUJBQXFCO0FBQ3ZCOztBQUVBO0VBQ0UsZUFBZTtBQUNqQjs7QUFDQTtFQUNFO0lBQ0UsZUFBZTtFQUNqQjtBQUNGOztBQUVBO0VBQ0UsOENBQThDO0FBQ2hEIiwiZmlsZSI6InNyYy9hcHAvbmF2LW1lbnUvbmF2LW1lbnUuY29tcG9uZW50LmNzcyIsInNvdXJjZXNDb250ZW50IjpbImEubmF2YmFyLWJyYW5kIHtcclxuICB3aGl0ZS1zcGFjZTogbm9ybWFsO1xyXG4gIHRleHQtYWxpZ246IGNlbnRlcjtcclxuICB3b3JkLWJyZWFrOiBicmVhay1hbGw7XHJcbn1cclxuXHJcbmh0bWwge1xyXG4gIGZvbnQtc2l6ZTogMTRweDtcclxufVxyXG5AbWVkaWEgKG1pbi13aWR0aDogNzY4cHgpIHtcclxuICBodG1sIHtcclxuICAgIGZvbnQtc2l6ZTogMTZweDtcclxuICB9XHJcbn1cclxuXHJcbi5ib3gtc2hhZG93IHtcclxuICBib3gtc2hhZG93OiAwIC4yNXJlbSAuNzVyZW0gcmdiYSgwLCAwLCAwLCAuMDUpO1xyXG59XHJcbiJdfQ== */\"","import { Component, OnInit } from '@angular/core';\r\nimport { Title } from '@angular/platform-browser';\r\nimport { TranslateService, DEFAULT_LANGUAGE } from '@ngx-translate/core';\r\nimport { LoginServices } from '../services/login/login.service';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\n\r\n@Component({\r\n selector: 'app-nav-menu',\r\n templateUrl: './nav-menu.component.html',\r\n styleUrls: ['./nav-menu.component.css']\r\n})\r\nexport class NavMenuComponent implements OnInit{\r\n isExpanded = false;\r\n language: string = '';\r\n\r\n constructor(private translate: TranslateService, private loginService: LoginServices, private activedRoute: ActivatedRoute, private router: Router,\r\n private titleService: Title) {\r\n let _language = this.activedRoute.snapshot.params.language != null ? this.activedRoute.snapshot.params.language : this.translate.getBrowserLang();\r\n\r\n if (_language != 'es' && _language != 'en' && _language != 'it' && _language != 'de') {\r\n this.language = 'en';\r\n } else {\r\n this.language = _language;\r\n }\r\n\r\n this.setAppLanguage();\r\n }\r\n\r\n ngOnInit() { }\r\n\r\n collapse() {\r\n this.isExpanded = false;\r\n }\r\n\r\n toggle() {\r\n this.isExpanded = !this.isExpanded;\r\n }\r\n\r\n setAppLanguage() {\r\n this.translate.setDefaultLang(this.language);\r\n this.translate.use(this.language);\r\n }\r\n}\r\n","export default \".tripsCosingSoon {\\r\\n background-color: #333333;\\r\\n}\\r\\n\\r\\n.firstSubmitOffer {\\r\\n background-color: #f64300;\\r\\n}\\r\\n\\r\\n.makeOffer {\\r\\n background-color: #333333;\\r\\n}\\r\\n\\r\\n.btnOfferRight {\\r\\n width: 60%;\\r\\n color: #ffffff;\\r\\n border-radius: 15px 15px 15px 15px;\\r\\n padding: 5px 10px 5px 10px;\\r\\n margin-bottom: 10px;\\r\\n}\\r\\n\\r\\n.btnOfferRight:hover {\\r\\n cursor: pointer;\\r\\n}\\r\\n\\r\\n.btnOfferBottom {\\r\\n width: 100%;\\r\\n color: #ffffff;\\r\\n border-radius: 15px 15px 15px 15px;\\r\\n margin: 5px 10px 5px 10px;\\r\\n padding: 5px 10px 5px 10px;\\r\\n margin-bottom: 10px;\\r\\n}\\r\\n\\r\\n.btnOfferBottom:hover {\\r\\n cursor: pointer;\\r\\n}\\r\\n\\r\\n.newTripCardItem {\\r\\n background-color: #ffffff;\\r\\n border-radius: 0px 15px 15px 0px;\\r\\n}\\r\\n\\r\\n@media only screen and (max-width: 850px) {\\r\\n .btnOfferRight {\\r\\n visibility: hidden;\\r\\n }\\r\\n\\r\\n .btnOfferBottom {\\r\\n visibility: visible;\\r\\n }\\r\\n}\\r\\n\\r\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvbmV3LXRyYXZlbHMvbmV3LXRyYXZlbHMuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLHlCQUF5QjtBQUMzQjs7QUFFQTtFQUNFLHlCQUF5QjtBQUMzQjs7QUFFQTtFQUNFLHlCQUF5QjtBQUMzQjs7QUFFQTtFQUNFLFVBQVU7RUFDVixjQUFjO0VBQ2Qsa0NBQWtDO0VBQ2xDLDBCQUEwQjtFQUMxQixtQkFBbUI7QUFDckI7O0FBRUE7RUFDRSxlQUFlO0FBQ2pCOztBQUVBO0VBQ0UsV0FBVztFQUNYLGNBQWM7RUFDZCxrQ0FBa0M7RUFDbEMseUJBQXlCO0VBQ3pCLDBCQUEwQjtFQUM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xuLmJ0bk9mZmVyQm90dG9tOmhvdmVyIHtcclxuICBjdXJzb3I6IHBvaW50ZXI7XHJcbn1cclxuXHJcbi5uZXdUcmlwQ2FyZEl0ZW0ge1xyXG4gIGJhY2tncm91bmQtY29sb3I6ICNmZmZmZmY7XHJcbiAgYm9yZGVyLXJhZGl1czogMHB4IDE1cHggMTVweCAwcHg7XHJcbn1cclxuXHJcbkBtZWRpYSBvbmx5IHNjcmVlbiBhbmQgKG1heC13aWR0aDogODUwcHgpIHtcclxuICAuYnRuT2ZmZXJSaWdodCB7XHJcbiAgICB2aXNpYmlsaXR5OiBoaWRkZW47XHJcbiAgfVxyXG5cclxuICAuYnRuT2ZmZXJCb3R0b20ge1xyXG4gICAgdmlzaWJpbGl0eTogdmlzaWJsZTtcclxuICB9XHJcbn1cclxuIl19 */\"","import { Component, OnInit, ElementRef, ViewEncapsulation, ViewChild, Renderer, Input, Output, EventEmitter } from '@angular/core';\r\nimport { Title } from '@angular/platform-browser';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { LoginServices } from '../services/login/login.service';\r\nimport { FeedServices } from '../services/feed/feed.service';\r\nimport { NgbModal, ModalDismissReasons, NgbModalRef } from '@ng-bootstrap/ng-bootstrap';\r\nimport { Vehicles, view_travel } from '../model/interfaces';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\n\r\n@Component({\r\n selector: 'new-travels',\r\n templateUrl: './new-travels.component.html',\r\n styleUrls: ['./new-travels.component.css'],\r\n encapsulation: ViewEncapsulation.None\r\n})\r\nexport class NewTravelsComponent implements OnInit {\r\n @ViewChild(\"modalDetails\", null) modalDetails: NgbModalRef;\r\n @ViewChild(\"loadingModal\", null) loadingModal: NgbModalRef;\r\n\r\n // Valor global\r\n lineIndex: any;\r\n\r\n // Datos de entrada\r\n @Input() _selectedServiceType: number;\r\n @Input() updateChild: Date;\r\n \r\n @Input()\r\n set elementToSearch(value: string) {\r\n this._elementToSearch = value.toLowerCase();\r\n }\r\n get elementToSearch() {\r\n return this._elementToSearch;\r\n }\r\n\r\n @Input()\r\n set selectedServiceType(value: number) {\r\n this._selectedServiceType = value;\r\n } get selectedServiceType() {\r\n return this._selectedServiceType;\r\n }\r\n\r\n @Input()\r\n set filters(value: any) {\r\n this._filters = value;\r\n }\r\n get filters() {\r\n return this._filters;\r\n }\r\n // Datos de la tabla\r\n rows = [];\r\n filterRows = [];\r\n linesTravels = [];\r\n isNewTripData: boolean = false;\r\n view_travel = {} as view_travel;\r\n txtOfferNotes: string = '';\r\n offer: string = '';\r\n\r\n // Letreros individuales\r\n travel_type: string = '';\r\n departure: string = '';\r\n return: string = '';\r\n service_type: string = '';\r\n arrivalOfDeparture: string = '';\r\n arrivalOfReturn: string = '';\r\n stall_type: string = '';\r\n truck: string = '';\r\n equipment: string = '';\r\n notes: string = '';\r\n\r\n // Traducciones\r\n ida: string = '';\r\n ida_vuelta: string = '';\r\n premium: string = '';\r\n individual: string = '';\r\n lift: string = '';\r\n hopOnHopOff: string = '';\r\n guarantee: string = '';\r\n todos_los_viajes: string = '';\r\n puesto_individual: string = '';\r\n puesto_1_5: string = '';\r\n caja: string = '';\r\n no: string = '';\r\n si: string = '';\r\n si_pocos: string = '';\r\n si_muchos: string = '';\r\n flexibleString: string = '';\r\n no_puede_realizar_oferta: string = '';\r\n cuenta_no_pertenece: string = '';\r\n error_inesperado: string = '';\r\n error_cantidad_oferta: boolean = false;\r\n\r\n // Idiomas/etiquetas\r\n language: string = '';\r\n noFlexibleDate: string = '';\r\n deprecateMsg: string = '';\r\n beFirstMsg: string = ''; \r\n\r\n private _elementToSearch: string;\r\n private _filters: any;\r\n\r\n vehicleList = {} as Vehicles[];\r\n hours = [];\r\n minutes = [];\r\n\r\n txtArrivaDate = new Date().getFullYear() + '-' + String(new Date().getMonth() + 1).padStart(2, '0') + '-' + String(new Date().getDate()).padStart(2, '0');\r\n txtArrivaDateMin = new Date().getFullYear() + '-' + String(new Date().getMonth() + 1).padStart(2, '0') + '-' + String(new Date().getDate()).padStart(2, '0')\r\n txtArrivaDateMax = (new Date().getFullYear() + 1) + '-' + String(new Date().getMonth() + 1).padStart(2, '0') + '-' + String(new Date().getDate()).padStart(2, '0')\r\n\r\n selOfferType: string = '1';\r\n selVehicle: number = 0;\r\n selHour: string = '13';\r\n selMinute: string = '00';\r\n //chkIva: number = 0;\r\n\r\n vehicle_type = [];\r\n vehicleVScapacity = [];\r\n filterCapacity = [];\r\n filterAdditionalHorses = [];\r\n selCapacity; string = '';\r\n selAdditionalHorses: string = '';\r\n solo_tu_caballo: string = '';\r\n descripcionServicio: string = '';\r\n service_type_labels = [];\r\n currentCurrency: string = '€';\r\n\r\n constructor(private translate: TranslateService, private loginServices: LoginServices, private feedServices: FeedServices, private element: ElementRef,\r\n private modalService: NgbModal, private titleService: Title, private activatedRoute: ActivatedRoute, private router: Router,\r\n private renderer: Renderer) {\r\n let _language = this.activatedRoute.snapshot.params.language != null ? this.activatedRoute.snapshot.params.language : this.translate.getBrowserLang();\r\n console.info('l => ' + _language);\r\n if (_language != 'es' && _language != 'en' && _language != 'it' && _language != 'de' && _language != 'pt') {\r\n this.language = 'de';//'en';\r\n } else {\r\n this.language = _language;\r\n }\r\n\r\n this.setAppLanguage();\r\n\r\n this.translate.get('tabla_todos_los_viajes').subscribe((translated) => {\r\n this.noFlexibleDate = translated.fecha_no_flexible;\r\n this.deprecateMsg = translated.caduca_pronto_msg;\r\n this.beFirstMsg = translated.ser_primero_oferta_msg;\r\n });\r\n\r\n this.translate.get('enviar_oferta').subscribe((translated) => {\r\n this.ida = translated.ida;\r\n this.ida_vuelta = translated.ida_vuelta;\r\n this.puesto_individual = translated.individual;\r\n this.puesto_1_5 = translated.puestos_1_5;\r\n this.caja = translated.caja;\r\n this.no = translated.no;\r\n this.si = translated.si;\r\n this.si_pocos = translated.si_pocos;\r\n this.si_muchos = translated.si_muchos;\r\n this.flexibleString = translated.rango_fechas_flexible;\r\n this.no_puede_realizar_oferta = translated.no_puede_realizar_oferta;\r\n this.cuenta_no_pertenece = translated.cuenta_no_pertenece;\r\n this.solo_tu_caballo = translated.solo_tu_caballo;\r\n });\r\n\r\n this.translate.get('nuevo_registro').subscribe((translated) => {\r\n this.error_inesperado = translated.error_inesperado;\r\n this.descripcionServicio = translated.descripcion_individual;\r\n\r\n this.service_type_labels.push({\r\n label: translated.descripcion_individual,\r\n value: 1,\r\n }, {\r\n label: translated.descripcion_premium,\r\n value: 2,\r\n }, {\r\n label: translated.descripcion_lift,\r\n value: 3,\r\n }, {\r\n label: translated.descripcion_hopOnHopOff,\r\n value: 4,\r\n }, {\r\n label: translated.descripcion_guarante,\r\n value: 5,\r\n });\r\n\r\n this.vehicle_type.push({\r\n label: translated.camion,\r\n value: 1\r\n }, {\r\n label: translated.furgoneta,\r\n value: 2\r\n }, {\r\n label: translated.remolque,\r\n value: 3\r\n });\r\n });\r\n\r\n this.translate.get('fichas').subscribe((translated) => {\r\n this.premium = translated.premium;\r\n this.individual = translated.individual;\r\n this.lift = translated.lift;\r\n this.hopOnHopOff = translated.hopOnHopOff;\r\n this.guarantee = translated.guarantee;\r\n this.todos_los_viajes = translated.todos_los_viajes;\r\n });\r\n\r\n for (let i = 0; i < 60; i++) {\r\n if (i < 24)\r\n this.hours.push({ hour: i, time_distinction: i < 12 ? 'a.m' : 'p.m' });\r\n this.minutes.push({ minute: i < 10 ? '0' + i : i });\r\n }\r\n }\r\n\r\n ngOnInit() { }\r\n\r\n ngOnChanges() {\r\n if (localStorage.getItem('wasLoaded') == '1') {\r\n this.setPrefences(this._filters);\r\n this.rows = this.filterItemsByQuery(this._elementToSearch);\r\n }\r\n else\r\n this.loadNewTrips(this._selectedServiceType);\r\n }\r\n\r\n ngOnDestroy() {\r\n localStorage.removeItem('wasLoaded');\r\n }\r\n\r\n setAppLanguage() {\r\n this.translate.setDefaultLang(this.language);\r\n this.translate.use(this.language);\r\n }\r\n\r\n loadNewTrips(selectedServiceType) {\r\n localStorage.setItem('wasLoaded', '1');\r\n this.openLoadingModal(this.loadingModal);\r\n let _today = new Date();\r\n let dd = String(_today.getDate()).padStart(2, '0');\r\n let mm = String(_today.getMonth() + 1).padStart(2, '0');\r\n let yyyy = _today.getFullYear();\r\n\r\n let today = yyyy + '-' + mm + '-' + dd;\r\n\r\n this.feedServices.getAllTripsStatus(selectedServiceType, today)\r\n .then((result) => {\r\n this.rows = [];\r\n this.filterRows = [];\r\n\r\n if (result.success) {\r\n this.linesTravels = [];\r\n this.linesTravels.push(...result.data);\r\n this.linesTravels.sort(function (a, b) {\r\n if (a.service_name < b.service_name) {\r\n return -1;\r\n }\r\n if (a.service_name > b.service_name) {\r\n return 1;\r\n }\r\n return 0;\r\n });\r\n\r\n\r\n this.isNewTripData = this.linesTravels.length > 0 ? true : false;\r\n\r\n let position = 0;\r\n this.linesTravels.forEach(e => {\r\n let formatDate = this.feedServices.dateFormat(e.travel_start_date);\r\n formatDate = formatDate.toString().substr(0, 10);\r\n\r\n let formatTransporterDate = e.transporter_date != '' && e.transporter_date != null ? this.feedServices.dateFormat(e.transporter_date) : '';\r\n formatTransporterDate = e.transporter_date != '' && e.transporter_date != null ? formatTransporterDate.toString().substr(0, 10) : '01/01/2000';\r\n\r\n let km = (e.distance / 1000).toFixed(0);\r\n let kmString = new Intl.NumberFormat(\"de-DE\").format(parseInt(km)) + \" km\";\r\n\r\n let formatFlexibleDate = \"\";\r\n if (e.travel_flexible_date != \"0001-01-01T00:00:00\") {\r\n formatFlexibleDate = this.feedServices.dateFormat(e.travel_flexible_date);\r\n formatFlexibleDate = formatFlexibleDate.toString().substr(0, 10);\r\n } else {\r\n formatFlexibleDate = this.noFlexibleDate;\r\n }\r\n\r\n let todaySeven = this.feedServices.WithoutTime(new Date());\r\n todaySeven.setDate(todaySeven.getDate() + 7);\r\n let travelDateCadu = new Date(Date.parse(e.travel_start_date));\r\n\r\n let msg = '', tableClass = '1', style_msg = 'makeOffer';\r\n\r\n if (e.status == 7 || e.status == 4) {\r\n if (travelDateCadu >= this.feedServices.WithoutTime(new Date()) && travelDateCadu <= todaySeven) {\r\n msg = this.deprecateMsg;\r\n style_msg = 'tripsCosingSoon';\r\n } else if (e.first_offer == 0) {\r\n msg = this.beFirstMsg;\r\n style_msg = 'firstSubmitOffer';\r\n } else {\r\n tableClass = '0';\r\n }\r\n }\r\n\r\n let service_name = '', class_service_type = '';\r\n\r\n switch (e.service_type) {\r\n case 1:\r\n service_name = this.premium;\r\n class_service_type = 'premiumServiceType';\r\n break;\r\n case 2:\r\n service_name = this.individual;\r\n class_service_type = 'individualServiceType';\r\n break;\r\n case 3:\r\n service_name = this.lift;\r\n class_service_type = 'liftServiceType';\r\n break;\r\n case 4:\r\n service_name = this.hopOnHopOff;\r\n class_service_type = 'hopServiceType';\r\n break;\r\n case 5:\r\n service_name = this.guarantee;\r\n class_service_type = 'guaranteeServiceType';\r\n break;\r\n }\r\n let travel_start_address = e.travel_start_address.split(',');\r\n let start_zip_code = travel_start_address.length > 0 ? travel_start_address[(travel_start_address.length - 2)] + ', ' + travel_start_address[(travel_start_address.length - 1)] : '';\r\n let travel_end_address = e.travel_end_address.split(',');\r\n let end_zip_code = travel_end_address.length > 0 ? travel_end_address[(travel_end_address.length - 2)] + ', ' + travel_end_address[(travel_end_address.length - 1)] : '';\r\n\r\n this.rows.push({\r\n \"position\": position,\r\n \"travel_name\": e.travel_name,\r\n // \"travel_start_address\": e.travel_start_address,\r\n \"travel_start_address\": start_zip_code,\r\n // \"travel_end_address\": e.travel_end_address,\r\n \"travel_end_address\": end_zip_code,\r\n \"formatDate\": formatDate,\r\n \"travel_start_date\": Date.parse(formatDate.split('/')[2] + '-' + formatDate.split('/')[1] + '-' + formatDate.split('/')[0]),\r\n \"transporter_date\": Date.parse(formatTransporterDate.split('/')[2] + '-' + formatTransporterDate.split('/')[1] + '-' + formatTransporterDate.split('/')[0]),\r\n \"formatFlexibleDate\": formatFlexibleDate,\r\n \"horse_number\": e.horse_number,\r\n \"kmString\": kmString,\r\n \"distance\": km,\r\n \"msg\": msg,\r\n \"tableClass\": tableClass,\r\n \"class_service_type\": class_service_type,\r\n \"service_name\": service_name,\r\n \"style_msg\": style_msg\r\n //\"appLanguage\": e.appLanguage\r\n });\r\n this.filterRows.push({\r\n \"position\": position,\r\n \"travel_name\": e.travel_name,\r\n //\"travel_start_address\": e.travel_start_address,\r\n \"travel_start_address\": start_zip_code,\r\n //\"travel_end_address\": e.travel_end_address,\r\n \"travel_end_address\": end_zip_code,\r\n \"formatDate\": formatDate,\r\n \"travel_start_date\": Date.parse(formatDate.split('/')[2] + '-' + formatDate.split('/')[1] + '-' + formatDate.split('/')[0]),\r\n \"transporter_date\": Date.parse(formatTransporterDate.split('/')[2] + '-' + formatTransporterDate.split('/')[1] + '-' + formatTransporterDate.split('/')[0]),\r\n \"service_type\": e.service_type,\r\n \"formatFlexibleDate\": formatFlexibleDate,\r\n \"horse_number\": e.horse_number,\r\n \"kmString\": kmString,\r\n \"distance\": km,\r\n \"msg\": msg,\r\n \"tableClass\": tableClass,\r\n \"class_service_type\": class_service_type,\r\n \"service_name\": service_name,\r\n \"style_msg\": style_msg\r\n //\"appLanguage\": e.appLanguage\r\n });\r\n position++;\r\n\r\n });\r\n\r\n if (this._filters != null) {\r\n this.setPrefences(this._filters);\r\n }\r\n\r\n } else if (result.message == 'Unauthorized') {\r\n this.translate.get('sesion_caducada').subscribe(translated => {\r\n this.loginServices.logout();\r\n alert(translated);\r\n this.router.navigate([`../login/${this.language}`], { replaceUrl: true });\r\n });\r\n }\r\n\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n })\r\n .catch((error) => {\r\n console.error(error);\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n });\r\n }\r\n\r\n setPrefences(preferences) {\r\n Object.entries(preferences).forEach(([key, value]) => {\r\n switch (key) {\r\n case 'closing_soon':\r\n if (value) {\r\n this.rows = this.orderItemByTime('100');\r\n }\r\n break;\r\n case 'service_type':\r\n if (value) {\r\n this.rows = this.filterItemsByServiceType(value.toString());\r\n }\r\n break;\r\n case 'trip_time':\r\n if (value) {\r\n this.rows = this.orderItemByTime(value.toString())\r\n }\r\n break;\r\n case 'horse_number':\r\n if (value) {\r\n this.orderItemByNumberHorses(value.toString())\r\n }\r\n break;\r\n case 'distance':\r\n if (value) {\r\n this.orderItemByDistance(value.toString())\r\n }\r\n break;\r\n case 'country':\r\n if (value) {\r\n this.orderItemByCountry(value.toString())\r\n }\r\n break;\r\n }\r\n });\r\n }\r\n\r\n filterItemsByQuery(query) {\r\n return this.rows.filter(function (el) {\r\n return el.travel_name.toLowerCase().indexOf(query) > -1 ||\r\n el.travel_start_address.toLowerCase().indexOf(query) > -1 ||\r\n el.travel_end_address.toLowerCase().indexOf(query) > -1 ||\r\n el.formatDate.toLowerCase().indexOf(query) > -1 ||\r\n el.formatFlexibleDate.toLowerCase().indexOf(query) > -1 ||\r\n //el.appLanguage.toLowerCase().indexOf(query) > -1 ||\r\n el.kmString.toLowerCase().indexOf(query) > -1;\r\n });\r\n }\r\n\r\n orderItemByTime(sortTypeByDate) {\r\n return this.rows.sort(function (a, b) {\r\n switch (sortTypeByDate) {\r\n case \"100\":\r\n if (a.travel_start_date > b.travel_start_date) {\r\n return 1;\r\n }\r\n if (a.formatDate < b.formatDate) {\r\n return -1;\r\n }\r\n return 0;\r\n case \"020\":\r\n if (a.travel_start_date < b.travel_start_date) {\r\n return 1;\r\n }\r\n if (a.formatDate > b.formatDate) {\r\n return -1;\r\n }\r\n return 0;\r\n case \"003\":\r\n if (a.transporter_date < b.transporter_date) {\r\n return 1;\r\n }\r\n if (a.transporter_date > b.transporter_date) {\r\n return -1;\r\n }\r\n return 0;\r\n }\r\n });\r\n }\r\n\r\n filterItemsByServiceType(sortServiceType) {\r\n if (sortServiceType == '00000') {\r\n return this.filterRows;\r\n } else {\r\n return this.filterRows.filter(function (el) {\r\n switch (sortServiceType) {\r\n case '00005':\r\n return el.service_type.toString().indexOf(\"5\") > -1;\r\n case '00040':\r\n return el.service_type.toString().indexOf(\"4\") > -1;\r\n case '00045':\r\n return el.service_type.toString().indexOf(\"4\") > -1 ||\r\n el.service_type.toString().indexOf(\"5\") > -1;\r\n case '00300':\r\n return el.service_type.toString().indexOf(\"3\") > -1;\r\n case '00305':\r\n return el.service_type.toString().indexOf(\"3\") > -1 ||\r\n el.service_type.toString().indexOf(\"5\") > -1;\r\n case '00340':\r\n return el.service_type.toString().indexOf(\"3\") > -1 ||\r\n el.service_type.toString().indexOf(\"4\") > -1;\r\n case '00345':\r\n return el.service_type.toString().indexOf(\"3\") > -1 ||\r\n el.service_type.toString().indexOf(\"4\") > -1 ||\r\n el.service_type.toString().indexOf(\"5\") > -1;\r\n case '02000':\r\n return el.service_type.toString().indexOf(\"2\") > -1;\r\n case '02005':\r\n return el.service_type.toString().indexOf(\"2\") > -1 ||\r\n el.service_type.toString().indexOf(\"5\") > -1;\r\n case '02040':\r\n return el.service_type.toString().indexOf(\"2\") > -1 ||\r\n el.service_type.toString().indexOf(\"4\") > -1;\r\n case '02045':\r\n return el.service_type.toString().indexOf(\"2\") > -1 ||\r\n el.service_type.toString().indexOf(\"4\") > -1 ||\r\n el.service_type.toString().indexOf(\"5\") > -1;\r\n case '02300':\r\n return el.service_type.toString().indexOf(\"2\") > -1 ||\r\n el.service_type.toString().indexOf(\"3\") > -1;\r\n case '02305':\r\n return el.service_type.toString().indexOf(\"2\") > -1 ||\r\n el.service_type.toString().indexOf(\"3\") > -1 ||\r\n el.service_type.toString().indexOf(\"5\") > -1;\r\n case '02340':\r\n return el.service_type.toString().indexOf(\"2\") > -1 ||\r\n el.service_type.toString().indexOf(\"3\") > -1 ||\r\n el.service_type.toString().indexOf(\"4\") > -1;\r\n case '02345':\r\n return el.service_type.toString().indexOf(\"2\") > -1 ||\r\n el.service_type.toString().indexOf(\"3\") > -1 ||\r\n el.service_type.toString().indexOf(\"4\") > -1 ||\r\n el.service_type.toString().indexOf(\"5\") > -1;\r\n case '10000':\r\n return el.service_type.toString().indexOf(\"1\") > -1;\r\n case '10005':\r\n return el.service_type.toString().indexOf(\"1\") > -1 ||\r\n el.service_type.toString().indexOf(\"5\") > -1;\r\n case '10040':\r\n return el.service_type.toString().indexOf(\"1\") > -1 ||\r\n el.service_type.toString().indexOf(\"4\") > -1;\r\n case '10045':\r\n return el.service_type.toString().indexOf(\"1\") > -1 ||\r\n el.service_type.toString().indexOf(\"4\") > -1 ||\r\n el.service_type.toString().indexOf(\"5\") > -1;\r\n case '10300':\r\n return el.service_type.toString().indexOf(\"1\") > -1 ||\r\n el.service_type.toString().indexOf(\"3\") > -1;\r\n case '10305':\r\n return el.service_type.toString().indexOf(\"1\") > -1 ||\r\n el.service_type.toString().indexOf(\"3\") > -1 ||\r\n el.service_type.toString().indexOf(\"5\") > -1;\r\n case '10340':\r\n return el.service_type.toString().indexOf(\"1\") > -1 ||\r\n el.service_type.toString().indexOf(\"3\") > -1 ||\r\n el.service_type.toString().indexOf(\"4\") > -1;\r\n case '10345':\r\n return el.service_type.toString().indexOf(\"1\") > -1 ||\r\n el.service_type.toString().indexOf(\"3\") > -1 ||\r\n el.service_type.toString().indexOf(\"4\") > -1 ||\r\n el.service_type.toString().indexOf(\"5\") > -1;\r\n case '12000':\r\n return el.service_type.toString().indexOf(\"1\") > -1 ||\r\n el.service_type.toString().indexOf(\"2\") > -1;\r\n case '12005':\r\n return el.service_type.toString().indexOf(\"1\") > -1 ||\r\n el.service_type.toString().indexOf(\"2\") > -1 ||\r\n el.service_type.toString().indexOf(\"5\") > -1;\r\n case '12040':\r\n return el.service_type.toString().indexOf(\"1\") > -1 ||\r\n el.service_type.toString().indexOf(\"2\") > -1 ||\r\n el.service_type.toString().indexOf(\"4\") > -1;\r\n case '12045':\r\n return el.service_type.toString().indexOf(\"1\") > -1 ||\r\n el.service_type.toString().indexOf(\"2\") > -1 ||\r\n el.service_type.toString().indexOf(\"4\") > -1 ||\r\n el.service_type.toString().indexOf(\"5\") > -1;\r\n case '12300':\r\n return el.service_type.toString().indexOf(\"1\") > -1 ||\r\n el.service_type.toString().indexOf(\"2\") > -1 ||\r\n el.service_type.toString().indexOf(\"3\") > -1;\r\n case '12305':\r\n return el.service_type.toString().indexOf(\"1\") > -1 ||\r\n el.service_type.toString().indexOf(\"2\") > -1 ||\r\n el.service_type.toString().indexOf(\"3\") > -1 ||\r\n el.service_type.toString().indexOf(\"5\") > -1;\r\n case '12340':\r\n return el.service_type.toString().indexOf(\"1\") > -1 ||\r\n el.service_type.toString().indexOf(\"2\") > -1 ||\r\n el.service_type.toString().indexOf(\"3\") > -1 ||\r\n el.service_type.toString().indexOf(\"4\") > -1;\r\n case '12345':\r\n return el.service_type.toString().indexOf(\"1\") > -1 ||\r\n el.service_type.toString().indexOf(\"2\") > -1 ||\r\n el.service_type.toString().indexOf(\"3\") > -1 ||\r\n el.service_type.toString().indexOf(\"4\") > -1 ||\r\n el.service_type.toString().indexOf(\"5\") > -1;\r\n }\r\n });\r\n }\r\n }\r\n\r\n orderItemByNumberHorses(sortTypeByNumber) {\r\n this.rows.sort(function (a, b) {\r\n switch (sortTypeByNumber) {\r\n case \"10\":\r\n if (a.horse_number > b.horse_number) {\r\n return 1;\r\n }\r\n if (a.horse_number < b.horse_number) {\r\n return -1;\r\n }\r\n return 0;\r\n case \"02\":\r\n if (a.horse_number < b.horse_number) {\r\n return 1;\r\n }\r\n if (a.horse_number > b.horse_number) {\r\n return -1;\r\n }\r\n return 0;\r\n }\r\n });\r\n }\r\n\r\n orderItemByDistance(sortTypeByDistance) {\r\n this.rows.sort(function (a, b) {\r\n switch (sortTypeByDistance) {\r\n case \"10\":\r\n if (a.distance > b.distance) {\r\n return 1;\r\n }\r\n if (a.distance < b.distance) {\r\n return -1;\r\n }\r\n return 0;\r\n case \"02\":\r\n if (a.distance < b.distance) {\r\n return 1;\r\n }\r\n if (a.distance > b.distance) {\r\n return -1;\r\n }\r\n return 0;\r\n }\r\n });\r\n }\r\n\r\n orderItemByCountry(sortTypeByCountry) {\r\n this.rows.sort(function (a, b) {\r\n switch (sortTypeByCountry) {\r\n case \"10\":\r\n if (a.travel_start_address.substring(a.travel_start_address.length -2) > b.travel_start_address.substring(b.travel_start_address.length -2)) {\r\n return 1;\r\n }\r\n if (a.travel_start_address.substring(a.travel_start_address.length -2) < b.travel_start_address.substring(b.travel_start_address.length -2)) {\r\n return -1;\r\n }\r\n return 0;\r\n case \"02\":\r\n if (a.travel_start_address.substring(a.travel_start_address.length -2) < b.travel_start_address.substring(b.travel_start_address.length -2)) {\r\n return 1;\r\n }\r\n if (a.travel_start_address.substring(a.travel_start_address.length -2) > b.travel_start_address.substring(b.travel_start_address.length -2)) {\r\n return -1;\r\n }\r\n return 0;\r\n }\r\n });\r\n }\r\n\r\n openDetails(viajeIndex) {\r\n this.lineIndex = viajeIndex;\r\n\r\n this.view_travel.fullname = this.linesTravels[viajeIndex].fullname;\r\n this.view_travel.travel_name = this.linesTravels[viajeIndex].travel_name;\r\n this.view_travel.horse_number = this.linesTravels[viajeIndex].horse_number;\r\n // this.view_travel.travel_start_address = this.linesTravels[viajeIndex].travel_start_address;\r\n // this.view_travel.travel_end_address = this.linesTravels[viajeIndex].travel_end_address;\r\n let travel_start_address = this.linesTravels[viajeIndex].travel_start_address.split(',');\r\n let start_zip_code = travel_start_address.length > 0 ? travel_start_address[(travel_start_address.length - 2)] + ', ' + travel_start_address[(travel_start_address.length - 1)] : '';\r\n let travel_end_address = this.linesTravels[viajeIndex].travel_end_address.split(',');\r\n let end_zip_code = travel_end_address.length > 0 ? travel_end_address[(travel_end_address.length - 2)] + ', ' + travel_end_address[(travel_end_address.length - 1)] : '';\r\n\r\n this.view_travel.travel_start_address = start_zip_code;\r\n this.view_travel.travel_end_address = end_zip_code;\r\n\r\n let km = (this.linesTravels[viajeIndex].distance / 1000).toFixed(0);\r\n let kmString = new Intl.NumberFormat(\"de-DE\").format(parseInt(km)) + \" km\";\r\n\r\n this.view_travel.distance = kmString;\r\n\r\n if (this.linesTravels[viajeIndex].travel_type == 0) {\r\n this.travel_type = this.ida;\r\n } else {\r\n this.travel_type = this.ida_vuelta;\r\n }\r\n\r\n if (this.linesTravels[viajeIndex].travel_start_date == \"0001-01-01T00:00:00\") {\r\n this.departure = '';\r\n } else {\r\n this.departure = this.feedServices.dateFormat(this.linesTravels[viajeIndex].travel_start_date).toString().substr(0, 10);\r\n }\r\n \r\n //if (this.linesTravels[viajeIndex].transporter_date == \"0001-01-01T00:00:00\") {\r\n // this.departure = '';\r\n //} else {\r\n // this.departure = this.feedServices.dateFormat(this.linesTravels[viajeIndex].transporter_date).toString().substr(0, 10);\r\n //}\r\n\r\n if (this.linesTravels[viajeIndex].travel_back_date == \"0001-01-01T00:00:00\") {\r\n this.return = '';\r\n } else {\r\n this.return = this.feedServices.dateFormat(this.linesTravels[viajeIndex].travel_back_date);\r\n }\r\n\r\n if (this.linesTravels[viajeIndex].service_type == 1) {\r\n this.service_type = this.premium;\r\n } else if (this.linesTravels[viajeIndex].service_type == 2) {\r\n this.service_type = this.individual;\r\n } else if (this.linesTravels[viajeIndex].service_type == 3) {\r\n this.service_type = this.lift;\r\n } else if (this.linesTravels[viajeIndex].service_type == 4) {\r\n this.service_type = this.hopOnHopOff;\r\n } else if (this.linesTravels[viajeIndex].service_type == 5) {\r\n this.service_type = this.guarantee;\r\n } else {\r\n this.service_type = this.todos_los_viajes;\r\n }\r\n\r\n if (this.linesTravels[viajeIndex].travel_arrival_day == \"0001-01-01T00:00:00\") {\r\n this.arrivalOfDeparture = '';\r\n } else {\r\n this.arrivalOfDeparture = this.feedServices.dateFormat(this.linesTravels[viajeIndex].travel_arrival_day);\r\n }\r\n\r\n if (this.linesTravels[viajeIndex].travel_return_day == \"0001-01-01T00:00:00\") {\r\n this.arrivalOfReturn = '';\r\n } else {\r\n this.arrivalOfReturn = this.feedServices.dateFormat(this.linesTravels[viajeIndex].travel_return_day);\r\n }\r\n\r\n if (this.linesTravels[viajeIndex].box_type == 0) {\r\n this.stall_type = this.puesto_individual;\r\n } else if (this.linesTravels[viajeIndex].box_type == 1) {\r\n this.stall_type = this.puesto_1_5;\r\n } else if (this.linesTravels[viajeIndex].box_type == -1) {\r\n this.stall_type = '';\r\n } else {\r\n this.stall_type = this.caja;\r\n }\r\n\r\n if (this.linesTravels[viajeIndex].take_truck == 0) {\r\n this.truck = this.no;\r\n } else {\r\n this.truck = this.si;\r\n }\r\n\r\n if (this.linesTravels[viajeIndex].special_equipment == 0) {\r\n this.equipment = this.no;\r\n } else if (this.linesTravels[viajeIndex].special_equipment == 1) {\r\n this.equipment = this.si_pocos;\r\n } else {\r\n this.equipment = this.si_muchos;\r\n }\r\n\r\n if (this.linesTravels[viajeIndex].travel_notes != null && this.linesTravels[viajeIndex].travel_notes != \"\") {\r\n if (this.linesTravels[viajeIndex].travel_flexible_date != \"0001-01-01T00:00:00\") {\r\n this.notes = this.linesTravels[viajeIndex].travel_notes + \", \" +\r\n this.flexibleString + \" \" +\r\n this.feedServices.dateFormat(this.linesTravels[viajeIndex].travel_start_date).toString().substr(0, 10) +\r\n \" - \" +\r\n this.feedServices.dateFormat(this.linesTravels[viajeIndex].travel_flexible_date).toString().substr(0, 10);\r\n } else {\r\n this.notes = this.linesTravels[viajeIndex].travel_notes;\r\n }\r\n } else {\r\n if (this.linesTravels[viajeIndex].travel_flexible_date != \"0001-01-01T00:00:00\") {\r\n this.notes = this.flexibleString +\r\n \" \" +\r\n this.feedServices.dateFormat(this.linesTravels[viajeIndex].travel_start_date).toString().substr(0, 10) +\r\n \" - \" +\r\n this.feedServices.dateFormat(this.linesTravels[viajeIndex].travel_flexible_date).toString().substr(0, 10);\r\n } else {\r\n this.notes = '';\r\n }\r\n }\r\n\r\n this.feedServices.getVehiclesByEnterprise(\r\n this.language\r\n ).then((result => {\r\n if (result.success) {\r\n this.vehicleList = result.data;\r\n this.selVehicle = this.vehicleList[0].id_vehicle;\r\n let _camion = this.vehicle_type[0].label, _furgoneta = this.vehicle_type[1].label, _remolque = this.vehicle_type[2].label;\r\n this.vehicleVScapacity = [];\r\n\r\n this.vehicleList.forEach(item => {\r\n this.vehicleVScapacity.push({\r\n capacity: item.vehicle_capacity,\r\n id_vehicle: item.id_vehicle\r\n });\r\n\r\n item.vehicle_type = item.vehicle_type.replace('$', ' ');\r\n\r\n let valueVehicleType = item.vehicle_type.substring(item.vehicle_type.indexOf('$') + 1);\r\n let labelVehicleType = '';\r\n\r\n if (valueVehicleType == '1')\r\n labelVehicleType = _camion;\r\n else if (valueVehicleType == '2')\r\n labelVehicleType = _furgoneta;\r\n else\r\n labelVehicleType = _remolque;\r\n\r\n item.vehicle_type = item.vehicle_type.substring(0, item.vehicle_type.indexOf('$'));\r\n item.vehicle_type += ' ' + labelVehicleType;\r\n })\r\n this.setVehicleCapacity(this.selVehicle);\r\n this.descripcionServicio = this.service_type_labels[0].label;\r\n \r\n this.openModal(this.modalDetails);\r\n }\r\n this.offer = '';\r\n this.txtArrivaDate = '';\r\n })).catch((error => {\r\n console.error(error);\r\n }));\r\n }\r\n\r\n onSubmit(doOfferForm, inputOffer) {\r\n this.error_cantidad_oferta = false;\r\n let temporalPreferences = null;\r\n\r\n if (doOfferForm.invalid) {\r\n for (const key of Object.keys(doOfferForm.controls)) {\r\n if (doOfferForm.controls[key].invalid || doOfferForm.controls[key].value < 50) {\r\n doOfferForm.controls[key].markAsTouched();\r\n inputOffer.focus();\r\n break;\r\n }\r\n }\r\n } else {\r\n if (parseFloat(doOfferForm.value['offer']) < 50.00) {\r\n this.error_cantidad_oferta = true;\r\n inputOffer.value = '';\r\n inputOffer.focus();\r\n } else {\r\n\r\n if (this.linesTravels[this.lineIndex].status == 4) {\r\n const offer = {\r\n fk_travel: this.linesTravels[this.lineIndex].id_travel,\r\n price: parseFloat(doOfferForm.value['offer']),\r\n offer_notes: this.txtOfferNotes,\r\n offer_type: parseInt(this.selOfferType),\r\n transporter_date: this.txtArrivaDate + ' ' + this.selHour + ':' + this.selMinute + ':00',\r\n vat_tolls: false,//this.chkIva == 1 ? true : false,\r\n fk_vehicle: this.selVehicle,\r\n truck_capacity: this.selAdditionalHorses.toString(),\r\n currency_type: this.currentCurrency == '€' ? 1 : 2\r\n };\r\n\r\n this.openLoadingModal(this.loadingModal);\r\n\r\n this.feedServices.putChangeOffer(\r\n offer\r\n ).then((result) => {\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n this.loadNewTrips(6);\r\n\r\n if (result.success) {\r\n temporalPreferences = JSON.parse(localStorage.getItem('preferences'));\r\n\r\n if (temporalPreferences != null)\r\n this.setPrefences(temporalPreferences);\r\n\r\n } else if (JSON.parse(result.data) == \"Code: 001\") {\r\n alert(this.no_puede_realizar_oferta);\r\n } else if (JSON.parse(result.data) == \"Code: 002\") {\r\n alert(this.cuenta_no_pertenece);\r\n } else if (JSON.parse(result.data) == \"Code: 003\") {\r\n //alert(this.error_inesperado);\r\n } else {\r\n //alert(this.error_inesperado);\r\n }\r\n }).catch((error) => {\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n console.error(error);\r\n //alert(this.error_inesperado);\r\n });\r\n } else {\r\n const offer = {\r\n fk_travel: this.linesTravels[this.lineIndex].id_travel,\r\n price: parseFloat(doOfferForm.value['offer']),\r\n offer_notes: this.txtOfferNotes,\r\n offer_type: parseInt(this.selOfferType),\r\n transporter_date: this.txtArrivaDate + ' ' + this.selHour + ':' + this.selMinute + ':00',\r\n vat_tolls: false,//this.chkIva == 1 ? true : false,\r\n fk_vehicle: this.selVehicle,\r\n truck_capacity: this.selAdditionalHorses.toString(),\r\n currency_type: this.currentCurrency == '€' ? 1 : 2\r\n };\r\n\r\n this.openLoadingModal(this.loadingModal);\r\n\r\n this.feedServices.makeanOffer(\r\n offer\r\n ).then((result) => {\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n this.loadNewTrips(6);\r\n\r\n if (result.data == \"ok\") {\r\n temporalPreferences = JSON.parse(localStorage.getItem('preferences'));\r\n\r\n if (temporalPreferences != null)\r\n this.setPrefences(temporalPreferences);\r\n\r\n } else if (result.data == \"Code: 001\") {\r\n alert(this.no_puede_realizar_oferta);\r\n } else if (result.data == \"Code: 002\") {\r\n alert(this.cuenta_no_pertenece);\r\n } else if (result.data == \"Code: 003\") {\r\n //alert(this.error_inesperado);\r\n } else if (result.data == \"Code: 004\") {\r\n //alert(this.error_inesperado);\r\n } else if (result.data == \"Code: 005\") {\r\n alert('No se pudo guardar la informacion');\r\n } else {\r\n //alert(this.error_inesperado);\r\n }\r\n }).catch((error) => {\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n //alert(this.error_inesperado);\r\n });\r\n }\r\n doOfferForm.resetForm();\r\n this.selHour = '13';\r\n this.selMinute = '00';\r\n }\r\n }\r\n }\r\n\r\n setVehicleCapacity(id_vehicle) {\r\n this.selVehicle = parseInt(id_vehicle);\r\n\r\n let currentVehicle = this.vehicleVScapacity.find(\r\n e => e.id_vehicle == id_vehicle\r\n );\r\n this.filterCapacity = [];\r\n this.filterAdditionalHorses = [];\r\n let five = 5, ten = 10;\r\n\r\n this.filterAdditionalHorses.push({\r\n label: this.solo_tu_caballo,\r\n value: 0\r\n })\r\n for (let i = 1; i < currentVehicle.capacity; i++) {\r\n if (i < 5) {\r\n this.filterCapacity.push({\r\n id_vehicle: id_vehicle,\r\n capacity: i.toString()\r\n });\r\n\r\n this.filterAdditionalHorses.push({\r\n label: i.toString(),\r\n value: i\r\n });\r\n } else {\r\n this.filterCapacity.push({\r\n id_vehicle: id_vehicle,\r\n capacity: five + ' - ' + ten\r\n });\r\n this.filterAdditionalHorses.push({\r\n label: i.toString(),\r\n value: i\r\n });\r\n i += 6;\r\n five = ten + 1;\r\n ten += 5;\r\n }\r\n }\r\n this.selCapacity = currentVehicle.capacity;\r\n this.selAdditionalHorses = this.filterAdditionalHorses[0].value;\r\n }\r\n\r\n changeServiceHandler(event) {\r\n this.selOfferType = event.target.value;\r\n\r\n switch (this.selOfferType) {\r\n case '1':\r\n this.descripcionServicio = this.service_type_labels[0].label;\r\n break;\r\n case '2':\r\n this.descripcionServicio = this.service_type_labels[1].label;\r\n break;\r\n case '3':\r\n this.descripcionServicio = this.service_type_labels[2].label;\r\n break;\r\n case '4':\r\n this.descripcionServicio = this.service_type_labels[3].label;\r\n break;\r\n case '5':\r\n this.descripcionServicio = this.service_type_labels[4].label;\r\n break;\r\n default:\r\n this.descripcionServicio = '';\r\n break;\r\n }\r\n }\r\n\r\n addToMyList(viajeIndex) {\r\n let id_travel = this.linesTravels[viajeIndex].id_travel;\r\n\r\n this.feedServices.addToMyList(\r\n id_travel\r\n ).then((result) => {\r\n if (result.success) {\r\n this.loadNewTrips(6);\r\n }\r\n }).catch((error) => {\r\n console.error(error);\r\n });\r\n }\r\n\r\n removeFromNewTravels(viajeIndex) {\r\n let id_travel = this.linesTravels[viajeIndex].id_travel;\r\n\r\n this.feedServices.removeTravelFromNewTrips(\r\n id_travel\r\n ).then((result) => {\r\n if (result.success) {\r\n this.loadNewTrips(6);\r\n }\r\n }).catch((error) => {\r\n console.error(error);\r\n });\r\n }\r\n\r\n openModal(modal) {\r\n this.modalService.open(modal, {\r\n ariaLabelledBy: 'modal-basic-title',\r\n centered: true,\r\n keyboard: true\r\n }).result.then((result) => {\r\n console.log(`Dismiss by ${result}`);\r\n }, (reason) => {\r\n console.log(`Dismiss by ${reason}`);\r\n });\r\n }\r\n\r\n openLoadingModal(modal) {\r\n this.modalService.open(modal, {\r\n ariaLabelledBy: 'modal-basic-title',\r\n centered: true,\r\n windowClass: 'transpModal',\r\n keyboard: false\r\n }).result.then((result) => {\r\n console.log(`Dismiss by ${result}`);\r\n }, (reason) => {\r\n console.log(`Dismiss by ${reason}`);\r\n });\r\n }\r\n\r\n}\r\n","export default \".cardItem {\\r\\n background-color: #d9d9d9;\\r\\n border-radius: 0px 15px 15px 0px;\\r\\n}\\r\\n\\r\\n.btnMoreDetailsRight {\\r\\n width: 60%;\\r\\n background-color: #999999;\\r\\n color: #ffffff;\\r\\n border-radius: 15px 15px 15px 15px;\\r\\n padding: 5px 10px 5px 10px;\\r\\n margin-bottom: 10px;\\r\\n}\\r\\n\\r\\n.btnMoreDetailsRight:hover {\\r\\n cursor: pointer;\\r\\n}\\r\\n\\r\\n.btnMoreDetailsBottom {\\r\\n width: 100%;\\r\\n background-color: #999999;\\r\\n color: #ffffff;\\r\\n border-radius: 15px 15px 15px 15px;\\r\\n margin: 5px 10px 5px 10px;\\r\\n padding: 5px 10px 5px 10px;\\r\\n margin-bottom: 10px;\\r\\n}\\r\\n\\r\\n.btnMoreDetailsBottom:hover {\\r\\n cursor: pointer;\\r\\n}\\r\\n\\r\\n@media only screen and (max-width: 850px) {\\r\\n .btnMoreDetailsRight {\\r\\n visibility: hidden;\\r\\n }\\r\\n\\r\\n .btnMoreDetailsBottom {\\r\\n visibility: visible;\\r\\n }\\r\\n}\\r\\n\\r\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvb2ZmZXJzLWNvbXBsZXRlZC9vZmZlcnMtY29tcGxldGVkLmNvbXBvbmVudC5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDRSx5QkFBeUI7RUFDekIsZ0NBQWdDO0FBQ2xDOztBQUVBO0VBQ0UsVUFBVTtFQUNWLHlCQUF5QjtFQUN6QixjQUFjO0VBQ2Qsa0NBQWtDO0VBQ2xDLDBCQUEwQjtFQUMxQixtQkFBbUI7QUFDckI7O0FBRUE7RUFDRSxlQUFlO0FBQ2pCOztBQUVBO0VBQ0UsV0FBVztFQUNYLHlCQUF5QjtFQUN6QixjQUFjO0VBQ2Qsa0NBQWtDO0VBQ2xDLHlCQUF5QjtFQUN6QiwwQkFBMEI7RUFDMUIsbUJBQW1CO0FBQ3JCOztBQUVBO0VBQ0UsZUFBZTtBQUNqQjs7QUFFQTtFQUNFO0lBQ0Usa0JBQWtCO0VBQ3BCOztFQUVBO0lBQ0UsbUJBQW1CO0VBQ3JCO0FBQ0YiLCJmaWxlIjoic3JjL2FwcC9vZmZlcnMtY29tcGxldGVkL29mZmVycy1jb21wbGV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AuYnRuTW9yZURldGFpbHNCb3R0b20ge1xyXG4gICAgdmlzaWJpbGl0eTogdmlzaWJsZTtcclxuICB9XHJcbn1cclxuIl19 */\"","import { Component, OnInit, ElementRef, ViewEncapsulation, ViewChild, Renderer, Input } from '@angular/core';\r\nimport { Title } from '@angular/platform-browser';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { LoginServices } from '../services/login/login.service';\r\nimport { FeedServices } from '../services/feed/feed.service';\r\nimport { NgbModal, ModalDismissReasons, NgbModalRef } from '@ng-bootstrap/ng-bootstrap';\r\nimport { view_travel } from '../model/interfaces';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\n\r\n@Component({\r\n selector: 'offers-completed',\r\n templateUrl: './offers-completed.component.html',\r\n styleUrls: ['./offers-completed.component.css'],\r\n encapsulation: ViewEncapsulation.None\r\n})\r\nexport class OffersCompletedComponent implements OnInit {\r\n @ViewChild(\"loadingModal\", null) loadingModal: NgbModalRef;\r\n @ViewChild(\"modalInfoTravel\", null) modalInfoTravel: NgbModalRef;\r\n @Input() updateChild: Date;\r\n @Input()\r\n set elementToSearch(value: string) {\r\n this._elementToSearch = value.toLowerCase();\r\n }\r\n get elementToSearch() {\r\n return this._elementToSearch;\r\n }\r\n\r\n private _elementToSearch: string;\r\n\r\n // Datos de la tabla\r\n rows = [];\r\n filterRows = [];\r\n linesTravels = [];\r\n\r\n // Idiomas/etiquetas\r\n language: string = '';\r\n noFlexibleDate: string = '';\r\n deprecateMsg: string = '';\r\n beFirstMsg: string = '';\r\n\r\n lineIndex: any;\r\n view_travel = {} as view_travel;\r\n\r\n // Letreros individuales\r\n stall_type: string = '';\r\n truck: string = '';\r\n equipment: string = '';\r\n travel_type: string = '';\r\n service_type: string = '';\r\n status: string = '';\r\n notes: string = '';\r\n departure: string = '';\r\n return: string = '';\r\n arrivalOfDeparture: string = '';\r\n arrivalOfReturn: string = '';\r\n lblofferNotes: string = '';\r\n offerSent: string = '';\r\n\r\n // Traducciones\r\n individual: string = '';\r\n puesto_1_5: string = '';\r\n caja: string = '';\r\n no: string = '';\r\n si: string = '';\r\n si_pocos: string = '';\r\n si_muchos: string = '';\r\n ida: string = '';\r\n ida_vuelta: string = '';\r\n premium: string = '';\r\n lift: string = '';\r\n hopOnHopOff: string = '';\r\n guarantee: string = '';\r\n todos_los_viajes: string = '';\r\n flexibleString: string = '';\r\n cancelado_por_ti: string = '';\r\n cliente_rechazo_oferta: string = '';\r\n cliente_eliminado_anuncio: string = '';\r\n oferta_enviada: string = '';\r\n hecho: string = '';\r\n\r\n constructor(private translate: TranslateService, private loginServices: LoginServices, private feedServices: FeedServices, private element: ElementRef,\r\n private modalService: NgbModal, private titleService: Title, private activatedRoute: ActivatedRoute, private router: Router,\r\n private renderer: Renderer) {\r\n let _language = this.activatedRoute.snapshot.params.language != null ? this.activatedRoute.snapshot.params.language : this.translate.getBrowserLang();\r\n console.info('l => ' + _language);\r\n if (_language != 'es' && _language != 'en' && _language != 'it' && _language != 'de' && _language != 'pt') {\r\n this.language = 'de';//'en';\r\n } else {\r\n this.language = _language;\r\n }\r\n\r\n this.setAppLanguage();\r\n\r\n this.translate.get('tabla_todos_los_viajes').subscribe((translated) => {\r\n this.noFlexibleDate = translated.fecha_no_flexible;\r\n this.deprecateMsg = translated.caduca_pronto_msg;\r\n this.beFirstMsg = translated.ser_primero_oferta_msg;\r\n });\r\n\r\n this.translate.get('fichas').subscribe((translated) => {\r\n this.individual = translated.individual;\r\n this.premium = translated.premium;\r\n this.lift = translated.lift;\r\n this.hopOnHopOff = translated.hopOnHopOff;\r\n this.guarantee = translated.guarantee;\r\n this.todos_los_viajes = translated.todos_los_viajes;\r\n });\r\n\r\n this.translate.get('enviar_oferta').subscribe((translated) => {\r\n this.puesto_1_5 = translated.puestos_1_5;\r\n this.caja = translated.caja;\r\n this.no = translated.no;\r\n this.si = translated.si;\r\n this.si_pocos = translated.si_pocos;\r\n this.si_muchos = translated.si_muchos;\r\n this.ida = translated.ida;\r\n this.ida_vuelta = translated.ida_vuelta;\r\n this.flexibleString = translated.rango_fechas_flexible;\r\n });\r\n\r\n this.translate.get('oferta_enviada').subscribe((translated) => {\r\n this.cancelado_por_ti = translated.cancelado_por_ti;\r\n this.cliente_rechazo_oferta = translated.cliente_rechazo_oferta;\r\n this.cliente_eliminado_anuncio = translated.cliente_eliminado_anuncio;\r\n this.oferta_enviada = translated.oferta_enviada;\r\n this.hecho = translated.hecho;\r\n });\r\n }\r\n\r\n ngOnInit() { }\r\n\r\n ngOnChanges() {\r\n if (localStorage.getItem('wasLoaded') == '1')\r\n this.rows = this.filterItems(this._elementToSearch);\r\n else\r\n this.loadHistory();\r\n }\r\n\r\n ngOnDestroy() {\r\n localStorage.removeItem('wasLoaded');\r\n }\r\n\r\n setAppLanguage() {\r\n this.translate.setDefaultLang(this.language);\r\n this.translate.use(this.language);\r\n }\r\n\r\n loadHistory() {\r\n localStorage.setItem('wasLoaded', '1');\r\n this.openLoadingModal(this.loadingModal);\r\n let _today = new Date();\r\n let dd = String(_today.getDate()).padStart(2, '0');\r\n let mm = String(_today.getMonth() + 1).padStart(2, '0');\r\n let yyyy = _today.getFullYear();\r\n\r\n let today = yyyy + '-' + mm + '-' + dd;\r\n\r\n this.feedServices.getAllHistoryCompany()\r\n .then((result) => {\r\n this.rows = [];\r\n this.filterRows = [];\r\n\r\n if (result.success) {\r\n this.linesTravels = [];\r\n this.linesTravels = JSON.parse(result.data);\r\n this.linesTravels.sort(function (a, b) {\r\n if (a.id_travel > b.id_travel) {\r\n return 1;\r\n }\r\n if (a.id_travel < b.id_travel) {\r\n return -1;\r\n }\r\n return 0;\r\n });\r\n\r\n let position = 0;\r\n\r\n this.linesTravels.forEach(e => {\r\n //let formatDate = this.feedServices.dateFormat(e.travel_start_date);\r\n let formatDate = this.feedServices.dateFormat(e.transporter_date);\r\n formatDate = formatDate.toString().substr(0, 10);\r\n\r\n let km = (e.distance / 1000).toFixed(0);\r\n let kmString = new Intl.NumberFormat(\"de-DE\").format(parseInt(km)) + \" km\";\r\n\r\n var formatFlexibleDate = \"\";\r\n if (e.travel_flexible_date != \"0001-01-01T00:00:00\") {\r\n formatFlexibleDate = this.feedServices.dateFormat(e.travel_flexible_date);\r\n formatFlexibleDate = formatFlexibleDate.toString().substr(0, 10);\r\n } else {\r\n formatFlexibleDate = this.noFlexibleDate;\r\n }\r\n\r\n let service_name = '', class_service_type = '';\r\n switch (e.service_type) {\r\n case 1:\r\n service_name = this.premium;\r\n class_service_type = 'premiumServiceType';\r\n break;\r\n case 2:\r\n service_name = this.individual;\r\n class_service_type = 'individualServiceType';\r\n break;\r\n case 3:\r\n service_name = this.lift;\r\n class_service_type = 'liftServiceType';\r\n break;\r\n case 4:\r\n service_name = this.hopOnHopOff;\r\n class_service_type = 'hopServiceType';\r\n break;\r\n case 5:\r\n service_name = this.guarantee;\r\n class_service_type = 'guaranteeServiceType';\r\n }\r\n\r\n this.rows.push({\r\n \"position\": position,\r\n \"travel_name\": e.travel_name,\r\n \"travel_start_address\": e.travel_start_address,\r\n \"travel_end_address\": e.travel_end_address,\r\n \"formatDate\": formatDate,\r\n \"formatFlexibleDate\": formatFlexibleDate,\r\n \"horse_number\": e.horse_number,\r\n \"kmString\": kmString,\r\n \"existOffer\": e.status == 2 || e.offer_status == 2 ? true : false,\r\n \"service_name\": service_name,\r\n \"class_service_type\": class_service_type,\r\n \"appLanguage\": e.appLanguage\r\n });\r\n\r\n this.filterRows.push({\r\n \"position\": position,\r\n \"travel_name\": e.travel_name,\r\n \"travel_start_address\": e.travel_start_address,\r\n \"travel_end_address\": e.travel_end_address,\r\n \"formatDate\": formatDate,\r\n \"formatFlexibleDate\": formatFlexibleDate,\r\n \"horse_number\": e.horse_number,\r\n \"kmString\": kmString,\r\n \"existOffer\": e.status == 2 || e.offer_status == 2 ? true : false,\r\n \"service_name\": service_name,\r\n \"class_service_type\": class_service_type,\r\n \"appLanguage\": e.appLanguage\r\n });\r\n\r\n position++;\r\n });\r\n } else if (result.message == 'Unauthorized') {\r\n this.translate.get('sesion_caducada').subscribe(translated => {\r\n this.loginServices.logout();\r\n alert(translated);\r\n this.router.navigate([`../login/${this.language}`], { replaceUrl: true });\r\n });\r\n }\r\n\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n })\r\n .catch((error) => {\r\n console.error(error);\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n });\r\n }\r\n\r\n filterItems(query) {\r\n return this.filterRows.filter(function (el) {\r\n return el.travel_name.toLowerCase().indexOf(query) > -1 ||\r\n el.travel_start_address.toLowerCase().indexOf(query) > -1 ||\r\n el.travel_end_address.toLowerCase().indexOf(query) > -1 ||\r\n el.formatDate.toLowerCase().indexOf(query) > -1 ||\r\n el.formatFlexibleDate.toLowerCase().indexOf(query) > -1 ||\r\n el.appLanguage.toLowerCase().indexOf(query) > -1 ||\r\n el.kmString.toLowerCase().indexOf(query) > -1;\r\n });\r\n }\r\n\r\n openDetailsGeneralTravel(viajeIndex) {\r\n this.lineIndex = viajeIndex;\r\n\r\n this.view_travel.travel_name = this.linesTravels[viajeIndex].travel_name;\r\n this.view_travel.fullname = this.linesTravels[viajeIndex].fullname;\r\n this.view_travel.horse_number = this.linesTravels[viajeIndex].horse_number;\r\n this.view_travel.travel_start_address = this.linesTravels[viajeIndex].travel_start_address;\r\n this.view_travel.travel_end_address = this.linesTravels[viajeIndex].travel_end_address;\r\n\r\n let km = (this.linesTravels[viajeIndex].distance / 1000).toFixed(0);\r\n let kmString = new Intl.NumberFormat(\"de-DE\").format(parseInt(km)) + \" km\";\r\n this.view_travel.distance = kmString;\r\n\r\n if (this.linesTravels[viajeIndex].box_type == 0) {\r\n this.stall_type = this.individual;\r\n } else if (this.linesTravels[viajeIndex].box_type == 1) {\r\n this.stall_type = this.puesto_1_5;\r\n } else if (this.linesTravels[viajeIndex].box_type == -1) {\r\n this.stall_type = '';\r\n } else {\r\n this.stall_type = this.caja;\r\n }\r\n\r\n if (this.linesTravels[viajeIndex].take_truck == 0) {\r\n this.truck = this.no;\r\n } else {\r\n this.truck = this.si;\r\n }\r\n\r\n if (this.linesTravels[viajeIndex].special_equipment == 0) {\r\n this.equipment = this.no;\r\n } else if (this.linesTravels[viajeIndex].special_equipment == 1) {\r\n this.equipment = this.si_pocos;\r\n } else {\r\n this.equipment = this.si_muchos;\r\n }\r\n\r\n if (this.linesTravels[viajeIndex].travel_type == 0) {\r\n this.travel_type = this.ida;\r\n } else {\r\n this.travel_type = this.ida_vuelta;\r\n }\r\n\r\n if (this.linesTravels[viajeIndex].service_type == 1) {\r\n this.service_type = this.premium;\r\n } else if (this.linesTravels[viajeIndex].service_type == 2) {\r\n this.service_type = this.individual;\r\n } else if (this.linesTravels[viajeIndex].service_type == 3) {\r\n this.service_type = this.lift;\r\n } else if (this.linesTravels[viajeIndex].service_type == 4) {\r\n this.service_type = this.hopOnHopOff;\r\n } else if (this.linesTravels[viajeIndex].service_type == 5) {\r\n this.service_type = this.guarantee;\r\n } else {\r\n this.service_type = this.todos_los_viajes;\r\n }\r\n\r\n let already = false;\r\n if (this.linesTravels[viajeIndex].offer_status == 2) {\r\n already = true;\r\n this.status = this.cancelado_por_ti;\r\n } else if (this.linesTravels[viajeIndex].offer_status == 4) {\r\n already = true;\r\n this.status = this.cliente_rechazo_oferta;\r\n } else if (this.linesTravels[viajeIndex].offer_status == 5) {\r\n already = true;\r\n this.status = this.cliente_eliminado_anuncio;\r\n } else if (this.linesTravels[viajeIndex].offer_status == 0) {\r\n already = true;\r\n this.status = this.oferta_enviada;\r\n } else if (this.linesTravels[viajeIndex].offer_status == 1) {\r\n already = true;\r\n this.status = this.oferta_enviada;\r\n } else if (this.linesTravels[viajeIndex].offer_status == 6) {\r\n already = true;\r\n this.status = this.hecho;\r\n }\r\n\r\n if (already == false) {\r\n if (this.linesTravels[viajeIndex].status == 2) {\r\n this.status = this.cancelado_por_ti;\r\n } else if (this.linesTravels[viajeIndex].status == 4) {\r\n this.status = this.cliente_rechazo_oferta;\r\n } else if (this.linesTravels[viajeIndex].status == 5) {\r\n this.status = this.cliente_eliminado_anuncio;\r\n } else if (this.linesTravels[viajeIndex].status == 0) {\r\n this.status = this.oferta_enviada;\r\n } else if (this.linesTravels[viajeIndex].status == 1) {\r\n this.status = this.oferta_enviada;\r\n } else if (this.linesTravels[viajeIndex].status == 6) {\r\n this.status = this.hecho;\r\n }\r\n }\r\n\r\n if (this.linesTravels[viajeIndex].travel_notes != null && this.linesTravels[viajeIndex].travel_notes != \"\") {\r\n if (this.linesTravels[viajeIndex].travel_flexible_date != \"0001-01-01T00:00:00\") {\r\n this.notes = this.linesTravels[viajeIndex].travel_notes +\r\n \", \" +\r\n this.flexibleString +\r\n \" \" +\r\n this.feedServices.dateFormat(this.linesTravels[viajeIndex].travel_start_date).toString().substr(0, 10) +\r\n \" - \" +\r\n this.feedServices.dateFormat(this.linesTravels[viajeIndex].travel_flexible_date).toString().substr(0, 10);\r\n } else {\r\n this.notes = this.linesTravels[viajeIndex].travel_notes;\r\n }\r\n } else {\r\n if (this.linesTravels[viajeIndex].travel_flexible_date != \"0001-01-01T00:00:00\") {\r\n this.notes = this.flexibleString +\r\n \" \" +\r\n this.feedServices.dateFormat(this.linesTravels[viajeIndex].travel_start_date).toString().substr(0, 10) +\r\n \" - \" +\r\n this.feedServices.dateFormat(this.linesTravels[viajeIndex].travel_flexible_date).toString().substr(0, 10);\r\n } else {\r\n this.notes = '';\r\n }\r\n }\r\n\r\n //if (this.linesTravels[viajeIndex].travel_start_date == \"0001-01-01T00:00:00\") {\r\n // this.departure = '';\r\n //} else {\r\n // this.departure = this.feedServices.dateFormat(this.linesTravels[viajeIndex].travel_start_date).toString().substr(0, 10);\r\n \r\n if (this.linesTravels[viajeIndex].transporter_date == \"0001-01-01T00:00:00\") {\r\n this.departure = '';\r\n } else {\r\n this.departure = this.feedServices.dateFormat(this.linesTravels[viajeIndex].transporter_date).toString().substr(0, 10);\r\n }\r\n\r\n if (this.linesTravels[viajeIndex].travel_back_date == \"0001-01-01T00:00:00\") {\r\n this.return = '';\r\n } else {\r\n this.return = this.feedServices.dateFormat(this.linesTravels[viajeIndex].travel_back_date);\r\n }\r\n\r\n if (this.linesTravels[viajeIndex].travel_arrival_day == \"0001-01-01T00:00:00\") {\r\n this.arrivalOfDeparture = '';\r\n } else {\r\n this.arrivalOfDeparture = this.feedServices.dateFormat(this.linesTravels[viajeIndex].travel_arrival_day);\r\n }\r\n\r\n if (this.linesTravels[viajeIndex].travel_return_day == \"0001-01-01T00:00:00\") {\r\n this.arrivalOfReturn = '';\r\n } else {\r\n this.arrivalOfReturn = this.feedServices.dateFormat(this.linesTravels[viajeIndex].travel_return_day);\r\n }\r\n\r\n if (this.linesTravels[viajeIndex].offer_notes == \"\" || this.linesTravels[viajeIndex].offer_notes == null) {\r\n this.lblofferNotes = '-';\r\n } else {\r\n this.lblofferNotes = this.linesTravels[viajeIndex].offer_notes;\r\n }\r\n\r\n let twoDecimals = Number(this.linesTravels[viajeIndex].price).toFixed(2);\r\n twoDecimals = twoDecimals.replace('.', ',');\r\n\r\n let currency = this.linesTravels[viajeIndex].currency_type == 1 ? '€ ' : '£ ';\r\n\r\n this.offerSent = currency + twoDecimals;\r\n\r\n this.openModal(this.modalInfoTravel);\r\n }\r\n\r\n removeFromNewTravels(viajeIndex) {\r\n let id_travel = this.linesTravels[viajeIndex].id_travel;\r\n\r\n this.feedServices.removeTravelFromNewTrips(\r\n id_travel\r\n ).then((result) => {\r\n if (result.success) {\r\n this.loadHistory();\r\n }\r\n }).catch((error) => {\r\n console.error(error);\r\n });\r\n }\r\n\r\n openModal(modal) {\r\n this.modalService.open(modal, {\r\n ariaLabelledBy: 'modal-basic-title',\r\n centered: true,\r\n keyboard: true\r\n }).result.then((result) => {\r\n console.log(`Dismiss by ${result}`);\r\n }, (reason) => {\r\n console.log(`Dismiss by ${reason}`);\r\n });\r\n }\r\n\r\n openLoadingModal(modal) {\r\n this.modalService.open(modal, {\r\n ariaLabelledBy: 'modal-basic-title',\r\n centered: true,\r\n windowClass: 'transpModal',\r\n keyboard: false\r\n }).result.then((result) => {\r\n console.log(`Dismiss by ${result}`);\r\n }, (reason) => {\r\n console.log(`Dismiss by ${reason}`);\r\n });\r\n }\r\n}\r\n","export default \".cardItem {\\r\\n background-color: #d9d9d9;\\r\\n border-radius: 0px 15px 15px 0px;\\r\\n}\\r\\n\\r\\n.btnMoreDetailsRight {\\r\\n width: 60%;\\r\\n background-color: #999999;\\r\\n color: #ffffff;\\r\\n border-radius: 15px 15px 15px 15px;\\r\\n padding: 5px 10px 5px 10px;\\r\\n margin-bottom: 10px;\\r\\n}\\r\\n\\r\\n.btnMoreDetailsRight:hover {\\r\\n cursor: pointer;\\r\\n}\\r\\n\\r\\n.btnMoreDetailsBottom {\\r\\n width: 100%;\\r\\n background-color: #999999;\\r\\n color: #ffffff;\\r\\n border-radius: 15px 15px 15px 15px;\\r\\n margin: 5px 10px 5px 10px;\\r\\n padding: 5px 10px 5px 10px;\\r\\n margin-bottom: 10px;\\r\\n}\\r\\n\\r\\n.btnMoreDetailsBottom:hover {\\r\\n cursor: pointer;\\r\\n}\\r\\n\\r\\n@media only screen and (max-width: 850px) {\\r\\n .btnMoreDetailsRight {\\r\\n visibility: hidden;\\r\\n }\\r\\n\\r\\n .btnMoreDetailsBottom {\\r\\n visibility: visible;\\r\\n }\\r\\n}\\r\\n\\r\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvcGVuZGluZy10cmlwcy9wZW5kaW5nLXRyaXBzLmNvbXBvbmVudC5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7RUFDRSx5QkFBeUI7RUFDekIsZ0NBQWdDO0FBQ2xDOztBQUVBO0VBQ0UsVUFBVTtFQUNWLHlCQUF5QjtFQUN6QixjQUFjO0VBQ2Qsa0NBQWtDO0VBQ2xDLDBCQUEwQjtFQUMxQixtQkFBbUI7QUFDckI7O0FBRUE7RUFDRSxlQUFlO0FBQ2pCOztBQ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B4IDEwcHggNXB4IDEwcHg7XHJcbiAgbWFyZ2luLWJvdHRvbTogMTBweDtcclxufVxyXG5cclxuLmJ0bk1vcmVEZXRhaWxzQm90dG9tOmhvdmVyIHtcclxuICBjdXJzb3I6IHBvaW50ZXI7XHJcbn1cclxuXHJcbkBtZWRpYSBvbmx5IHNjcmVlbiBhbmQgKG1heC13aWR0aDogODUwcHgpIHtcclxuICAuYnRuTW9yZURldGFpbHNSaWdodCB7XHJcbiAgICB2aXNpYmlsaXR5OiBoaWRkZW47XHJcbiAgfVxyXG5cclxuICAuYnRuTW9yZURldGFpbHNCb3R0b20ge1xyXG4gICAgdmlzaWJpbGl0eTogdmlzaWJsZTtcclxuICB9XHJcbn1cclxuIl19 */\"","import { Component, OnInit, ElementRef, ViewEncapsulation, ViewChild, Renderer, Input } from '@angular/core';\r\nimport { Title } from '@angular/platform-browser';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { LoginServices } from '../services/login/login.service';\r\nimport { FeedServices } from '../services/feed/feed.service';\r\nimport { NgbModal, ModalDismissReasons, NgbModalRef } from '@ng-bootstrap/ng-bootstrap';\r\nimport { view_travel } from '../model/interfaces';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\n\r\n@Component({\r\n selector: 'pending-trips',\r\n templateUrl: './pending-trips.component.html',\r\n styleUrls: ['./pending-trips.component.css'],\r\n encapsulation: ViewEncapsulation.None\r\n})\r\nexport class PendingTripsComponent implements OnInit {\r\n @ViewChild(\"modalInfoTravel\", null) modalInfoTravel: NgbModalRef;\r\n @ViewChild(\"loadingModal\", null) loadingModal: NgbModalRef;\r\n @Input() updateChild: Date;\r\n\r\n @Input()\r\n set elementToSearch(value: string) {\r\n this._elementToSearch = value.toLowerCase();\r\n }\r\n get elementToSearch() {\r\n return this._elementToSearch;\r\n }\r\n\r\n private _elementToSearch: string;\r\n\r\n // Datos de la tabla\r\n rows = [];\r\n filterRows = [];\r\n linesTravels = [];\r\n isPendingTripsData: boolean = false;\r\n\r\n // Idiomas/etiquetas\r\n language: string = '';\r\n noFlexibleDate: string = '';\r\n deprecateMsg: string = '';\r\n beFirstMsg: string = '';\r\n\r\n // Valor global\r\n lineIndex: any;\r\n\r\n //datos modal\r\n view_travel = {} as view_travel;\r\n\r\n // Letreros individuales\r\n stall_type: string = '';\r\n truck: string = '';\r\n equipment: string = '';\r\n travel_type: string = '';\r\n service_type: string = '';\r\n status: string = '';\r\n notes: string = '';\r\n departure: string = '';\r\n return: string = '';\r\n arrivalOfDeparture: string = '';\r\n arrivalOfReturn: string = '';\r\n lblofferNotes: string = '';\r\n offerSent: string = '';\r\n vehicleSent: string = '';\r\n numberHorsesSent: string = '';\r\n departureDateSent: string = '';\r\n \r\n // Traducciones\r\n individual: string = '';\r\n puesto_1_5: string = '';\r\n caja: string = '';\r\n si_pocos: string = '';\r\n si_muchos: string = '';\r\n ida: string = '';\r\n ida_vuelta: string = '';\r\n premium: string = '';\r\n lift: string = '';\r\n hopOnHopOff: string = '';\r\n guarantee: string = '';\r\n todos_los_viajes: string = '';\r\n cancelado_por_ti: string = '';\r\n cliente_rechazo_oferta: string = '';\r\n cliente_eliminado_anuncio: string = '';\r\n oferta_enviada: string = '';\r\n hecho: string = '';\r\n flexibleString: string = '';\r\n no: string = '';\r\n si: string = '';\r\n _camion: string = '';\r\n _furgoneta: string = '';\r\n _remolque: string = '';\r\n _soloMiCaballo: string = '';\r\n\r\n constructor(private translate: TranslateService, private loginServices: LoginServices, private feedServices: FeedServices, private element: ElementRef,\r\n private modalService: NgbModal, private titleService: Title, private activatedRoute: ActivatedRoute, private router: Router,\r\n private renderer: Renderer) {\r\n let _language = this.activatedRoute.snapshot.params.language != null ? this.activatedRoute.snapshot.params.language : this.translate.getBrowserLang();\r\n console.info('l => ' + _language);\r\n if (_language != 'es' && _language != 'en' && _language != 'it' && _language != 'de' && _language != 'pt') {\r\n this.language = 'de';//'en';\r\n } else {\r\n this.language = _language;\r\n }\r\n\r\n this.setAppLanguage();\r\n\r\n this.translate.get('tabla_todos_los_viajes').subscribe((translated) => {\r\n this.noFlexibleDate = translated.fecha_no_flexible;\r\n this.deprecateMsg = translated.caduca_pronto_msg;\r\n this.beFirstMsg = translated.ser_primero_oferta_msg;\r\n });\r\n\r\n this.translate.get('fichas').subscribe((translated) => {\r\n this.individual = translated.individual;\r\n this.premium = translated.premium;\r\n this.lift = translated.lift;\r\n this.hopOnHopOff = translated.hopOnHopOff;\r\n this.guarantee = translated.guarantee;\r\n this.todos_los_viajes = translated.todos_los_viajes;\r\n });\r\n\r\n this.translate.get('enviar_oferta').subscribe((translated) => {\r\n this.puesto_1_5 = translated.puestos_1_5;\r\n this.caja = translated.caja;\r\n this.no = translated.no;\r\n this.si = translated.si;\r\n this.si_pocos = translated.si_pocos;\r\n this.si_muchos = translated.si_muchos;\r\n this.ida = translated.ida;\r\n this.ida_vuelta = translated.ida_vuelta;\r\n this.flexibleString = translated.rango_fechas_flexible;\r\n this._soloMiCaballo = translated.solo_tu_caballo;\r\n });\r\n\r\n this.translate.get('oferta_enviada').subscribe((translated) => {\r\n this.cancelado_por_ti = translated.cancelado_por_ti;\r\n this.cliente_rechazo_oferta = translated.cliente_rechazo_oferta;\r\n this.cliente_eliminado_anuncio = translated.cliente_eliminado_anuncio;\r\n this.oferta_enviada = translated.oferta_enviada;\r\n this.hecho = translated.hecho;\r\n });\r\n\r\n this.translate.get('nuevo_registro').subscribe((translated) => {\r\n this._camion = translated.camion;\r\n this._furgoneta = translated.furgoneta;\r\n this._remolque = translated.remolque;\r\n });\r\n }\r\n\r\n ngOnInit() { }\r\n\r\n ngOnChanges() {\r\n if (localStorage.getItem('wasLoaded') == '1')\r\n this.rows = this.filterItems(this._elementToSearch);\r\n else \r\n this.loadPendingTrips();\r\n }\r\n\r\n ngOnDestroy() {\r\n localStorage.removeItem('wasLoaded');\r\n }\r\n\r\n setAppLanguage() {\r\n this.translate.setDefaultLang(this.language);\r\n this.translate.use(this.language);\r\n }\r\n\r\n loadPendingTrips() {\r\n localStorage.setItem('wasLoaded', '1');\r\n this.openLoadingModal(this.loadingModal);\r\n let _today = new Date();\r\n let dd = String(_today.getDate()).padStart(2, '0');\r\n let mm = String(_today.getMonth() + 1).padStart(2, '0');\r\n let yyyy = _today.getFullYear();\r\n\r\n let today = yyyy + '-' + mm + '-' + dd;\r\n\r\n this.feedServices.getAllTripsStatusCancel(today)\r\n .then((result) => {\r\n this.rows = [];\r\n this.filterRows = [];\r\n \r\n if (result.success) {\r\n this.linesTravels = [];\r\n this.linesTravels.push(...result.data);\r\n this.linesTravels.sort(function (a, b) {\r\n if (a.id_travel > b.id_travel) {\r\n return 1;\r\n }\r\n if (a.id_travel < b.id_travel) {\r\n return -1;\r\n }\r\n return 0;\r\n });\r\n\r\n this.isPendingTripsData = this.linesTravels.length > 0 ? true : false;\r\n let position = 0;\r\n\r\n this.linesTravels.forEach(e => {\r\n //let formatDate = this.feedServices.dateFormat(e.travel_start_date);\r\n let formatDate = this.feedServices.dateFormat(e.transporter_date);\r\n formatDate = formatDate.toString().substr(0, 10);\r\n\r\n let km = (e.distance / 1000).toFixed(0);\r\n let kmString = new Intl.NumberFormat(\"de-DE\").format(parseInt(km)) + \" km\";\r\n\r\n let formatFlexibleDate = \"\";\r\n if (e.travel_flexible_date != \"0001-01-01T00:00:00\") {\r\n formatFlexibleDate = this.feedServices.dateFormat(e.travel_flexible_date);\r\n formatFlexibleDate = formatFlexibleDate.toString().substr(0, 10);\r\n } else {\r\n formatFlexibleDate = this.noFlexibleDate;\r\n }\r\n\r\n let service_name = '', class_service_type = '';\r\n switch (e.service_type) {\r\n case 1:\r\n service_name = this.premium;\r\n class_service_type = 'premiumServiceType';\r\n break;\r\n case 2:\r\n service_name = this.individual;\r\n class_service_type = 'individualServiceType';\r\n break;\r\n case 3:\r\n service_name = this.lift;\r\n class_service_type = 'liftServiceType';\r\n break;\r\n case 4:\r\n service_name = this.hopOnHopOff;\r\n class_service_type = 'hopServiceType';\r\n break;\r\n case 5:\r\n service_name = this.guarantee;\r\n class_service_type = 'guaranteeServiceType';\r\n break;\r\n }\r\n\r\n if (e.status != 3 && e.status != 4) {\r\n this.rows.push({\r\n \"position\": position,\r\n \"travel_name\": e.travel_name,\r\n \"travel_start_address\": e.travel_start_address,\r\n \"travel_end_address\": e.travel_end_address,\r\n \"formatDate\": formatDate,\r\n \"formatFlexibleDate\": formatFlexibleDate,\r\n \"horse_number\": e.horse_number,\r\n \"kmString\": kmString,\r\n \"class_service_type\": class_service_type,\r\n \"service_name\": service_name,\r\n \"appLanguage\": e.appLanguage\r\n });\r\n this.filterRows.push({\r\n \"position\": position,\r\n \"travel_name\": e.travel_name,\r\n \"travel_start_address\": e.travel_start_address,\r\n \"travel_end_address\": e.travel_end_address,\r\n \"formatDate\": formatDate,\r\n \"formatFlexibleDate\": formatFlexibleDate,\r\n \"horse_number\": e.horse_number,\r\n \"kmString\": kmString,\r\n \"class_service_type\": class_service_type,\r\n \"service_name\": service_name,\r\n \"appLanguage\": e.appLanguage\r\n });\r\n }\r\n\r\n position++;\r\n });\r\n } else if (result.message == 'Unauthorized') {\r\n this.translate.get('sesion_caducada').subscribe(translated => {\r\n this.loginServices.logout();\r\n alert(translated);\r\n this.router.navigate([`../login/${this.language}`], { replaceUrl: true });\r\n });\r\n }\r\n\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n })\r\n .catch((error) => {\r\n console.error(error);\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n });\r\n }\r\n\r\n filterItems(query) {\r\n return this.filterRows.filter(function (el) {\r\n return el.travel_name.toLowerCase().indexOf(query) > -1 ||\r\n el.travel_start_address.toLowerCase().indexOf(query) > -1 ||\r\n el.travel_end_address.toLowerCase().indexOf(query) > -1 ||\r\n el.formatDate.toLowerCase().indexOf(query) > -1 ||\r\n el.formatFlexibleDate.toLowerCase().indexOf(query) > -1 ||\r\n el.appLanguage.toLowerCase().indexOf(query) > -1 ||\r\n el.kmString.toLowerCase().indexOf(query) > -1;\r\n });\r\n }\r\n\r\n openDetailsGeneralTravel(viajeIndex) {\r\n this.lineIndex = viajeIndex;\r\n\r\n this.view_travel.travel_name = this.linesTravels[viajeIndex].travel_name;\r\n this.view_travel.fullname = this.linesTravels[viajeIndex].fullname;\r\n this.view_travel.horse_number = this.linesTravels[viajeIndex].horse_number;\r\n this.view_travel.travel_start_address = this.linesTravels[viajeIndex].travel_start_address;\r\n this.view_travel.travel_end_address = this.linesTravels[viajeIndex].travel_end_address;\r\n\r\n let km = (this.linesTravels[viajeIndex].distance / 1000).toFixed(0);\r\n let kmString = new Intl.NumberFormat(\"de-DE\").format(parseInt(km)) + \" km\";\r\n this.view_travel.distance = kmString;\r\n\r\n if (this.linesTravels[viajeIndex].box_type == 0) {\r\n this.stall_type = this.individual;\r\n } else if (this.linesTravels[viajeIndex].box_type == 1) {\r\n this.stall_type = this.puesto_1_5;\r\n } else if (this.linesTravels[viajeIndex].box_type == -1) {\r\n this.stall_type = '';\r\n } else {\r\n this.stall_type = this.caja;\r\n }\r\n\r\n if (this.linesTravels[viajeIndex].take_truck == 0) {\r\n this.truck = this.no;\r\n } else {\r\n this.truck = this.si;\r\n }\r\n\r\n if (this.linesTravels[viajeIndex].special_equipment == 0) {\r\n this.equipment = this.no;\r\n } else if (this.linesTravels[viajeIndex].special_equipment == 1) {\r\n this.equipment = this.si_pocos;\r\n } else {\r\n this.equipment = this.si_muchos;\r\n }\r\n\r\n if (this.linesTravels[viajeIndex].travel_type == 0) {\r\n this.travel_type = this.ida;\r\n } else {\r\n this.travel_type = this.ida_vuelta;\r\n }\r\n\r\n if (this.linesTravels[viajeIndex].service_type == 1) {\r\n this.service_type = this.premium;\r\n } else if (this.linesTravels[viajeIndex].service_type == 2) {\r\n this.service_type = this.individual;\r\n } else if (this.linesTravels[viajeIndex].service_type == 3) {\r\n this.service_type = this.lift;\r\n } else if (this.linesTravels[viajeIndex].service_type == 4) {\r\n this.service_type = this.hopOnHopOff;\r\n } else if (this.linesTravels[viajeIndex].service_type == 5) {\r\n this.service_type = this.guarantee;\r\n } else {\r\n this.service_type = this.todos_los_viajes;\r\n }\r\n\r\n let already = false;\r\n if (this.linesTravels[viajeIndex].offer_status == 2) {\r\n already = true;\r\n this.status = this.cancelado_por_ti;\r\n } else if (this.linesTravels[viajeIndex].offer_status == 4) {\r\n already = true;\r\n this.status = this.cliente_rechazo_oferta;\r\n } else if (this.linesTravels[viajeIndex].offer_status == 5) {\r\n already = true;\r\n this.status = this.cliente_eliminado_anuncio;\r\n } else if (this.linesTravels[viajeIndex].offer_status == 0) {\r\n already = true;\r\n this.status = this.oferta_enviada;\r\n } else if (this.linesTravels[viajeIndex].offer_status == 1) {\r\n already = true;\r\n this.status = this.oferta_enviada;\r\n } else if (this.linesTravels[viajeIndex].offer_status == 6) {\r\n already = true;\r\n this.status = this.hecho;\r\n }\r\n\r\n if (!already) {\r\n if (this.linesTravels[viajeIndex].status == 2) {\r\n this.status = this.cancelado_por_ti;\r\n } else if (this.linesTravels[viajeIndex].status == 4) {\r\n this.status = this.cliente_rechazo_oferta;\r\n } else if (this.linesTravels[viajeIndex].status == 5) {\r\n this.status = this.cliente_eliminado_anuncio;\r\n } else if (this.linesTravels[viajeIndex].status == 0) {\r\n this.status = this.oferta_enviada;\r\n } else if (this.linesTravels[viajeIndex].status == 1) {\r\n this.status = this.oferta_enviada;\r\n } else if (this.linesTravels[viajeIndex].status == 6) {\r\n this.status = this.hecho;\r\n }\r\n }\r\n\r\n if (this.linesTravels[viajeIndex].travel_notes != null && this.linesTravels[viajeIndex].travel_notes != \"\") {\r\n if (this.linesTravels[viajeIndex].travel_flexible_date != \"0001-01-01T00:00:00\") {\r\n this.notes = this.linesTravels[viajeIndex].travel_notes +\r\n \", \" +\r\n this.flexibleString +\r\n \" \" +\r\n this.feedServices.dateFormat(this.linesTravels[viajeIndex].travel_start_date).toString().substr(0, 10) +\r\n \" - \" +\r\n this.feedServices.dateFormat(this.linesTravels[viajeIndex].travel_flexible_date).toString().substr(0, 10);\r\n } else {\r\n this.notes = this.linesTravels[viajeIndex].travel_notes;\r\n }\r\n } else {\r\n if (this.linesTravels[viajeIndex].travel_flexible_date != \"0001-01-01T00:00:00\") {\r\n this.notes = this.flexibleString +\r\n \" \" +\r\n this.feedServices.dateFormat(this.linesTravels[viajeIndex].travel_start_date).toString().substr(0, 10) +\r\n \" - \" +\r\n this.feedServices.dateFormat(this.linesTravels[viajeIndex].travel_flexible_date).toString().substr(0, 10);\r\n } else {\r\n this.notes = '';\r\n }\r\n }\r\n\r\n //if (this.linesTravels[viajeIndex].travel_start_date == \"0001-01-01T00:00:00\") {\r\n // this.departure = '';\r\n //} else {\r\n // this.departure = this.feedServices.dateFormat(this.linesTravels[viajeIndex].travel_start_date).toString().substr(0, 10);\r\n \r\n if (this.linesTravels[viajeIndex].transporter_date == \"0001-01-01T00:00:00\") {\r\n this.departure = '';\r\n } else {\r\n this.departure = this.feedServices.dateFormat(this.linesTravels[viajeIndex].transporter_date).toString().substr(0, 10);\r\n }\r\n\r\n if (this.linesTravels[viajeIndex].travel_back_date == \"0001-01-01T00:00:00\") {\r\n this.return = '';\r\n } else {\r\n this.return = this.feedServices.dateFormat(this.linesTravels[viajeIndex].travel_back_date);\r\n }\r\n\r\n if (this.linesTravels[viajeIndex].travel_arrival_day == \"0001-01-01T00:00:00\") {\r\n this.arrivalOfDeparture = '';\r\n } else {\r\n this.arrivalOfDeparture = this.feedServices.dateFormat(this.linesTravels[viajeIndex].travel_arrival_day);\r\n }\r\n\r\n if (this.linesTravels[viajeIndex].travel_return_day == \"0001-01-01T00:00:00\") {\r\n this.arrivalOfReturn = '';\r\n } else {\r\n this.arrivalOfReturn = this.feedServices.dateFormat(this.linesTravels[viajeIndex].travel_return_day);\r\n }\r\n\r\n if (this.linesTravels[viajeIndex].offer_notes == \"\" || this.linesTravels[viajeIndex].offer_notes == null) {\r\n this.lblofferNotes = '-';\r\n } else {\r\n this.lblofferNotes = this.linesTravels[viajeIndex].offer_notes;\r\n }\r\n\r\n let twoDecimals = Number(this.linesTravels[viajeIndex].price).toFixed(2);\r\n twoDecimals = twoDecimals.replace('.', ',');\r\n\r\n let currency = this.linesTravels[viajeIndex].currency_type == 1 ? '€ ' : '£ ';\r\n\r\n this.offerSent = currency + twoDecimals;\r\n\r\n let infoVehicle = [];\r\n infoVehicle = this.linesTravels[viajeIndex].vehicle.vehicle_type.split('$');\r\n let vehicleType = '';\r\n\r\n switch (infoVehicle[2]) {\r\n case '1':\r\n vehicleType = this._camion;\r\n break;\r\n case '2':\r\n vehicleType = this._furgoneta;\r\n break;\r\n case '3':\r\n vehicleType = this._remolque;\r\n default:\r\n vehicleType = '';\r\n }\r\n \r\n this.vehicleSent = this.linesTravels[viajeIndex].vehicle.vehicle_name + '/' + infoVehicle[0] + ' ' + infoVehicle[1] + ' ' + vehicleType;\r\n this.numberHorsesSent = this.linesTravels[viajeIndex].truck_capacity != 0 ? this.linesTravels[viajeIndex].truck_capacity : this._soloMiCaballo;\r\n this.departureDateSent = this.feedServices.dateFormat(this.linesTravels[viajeIndex].transporter_date).toString().substr(0, 10);\r\n\r\n this.openModal(this.modalInfoTravel);\r\n }\r\n\r\n openModal(modal) {\r\n this.modalService.open(modal, {\r\n ariaLabelledBy: 'modal-basic-title',\r\n centered: true,\r\n keyboard: true\r\n }).result.then((result) => {\r\n console.log(`Dismiss by ${result}`);\r\n }, (reason) => {\r\n console.log(`Dismiss by ${reason}`);\r\n });\r\n }\r\n\r\n openLoadingModal(modal) {\r\n this.modalService.open(modal, {\r\n ariaLabelledBy: 'modal-basic-title',\r\n centered: true,\r\n windowClass: 'transpModal',\r\n keyboard: false\r\n }).result.then((result) => {\r\n console.log(`Dismiss by ${result}`);\r\n }, (reason) => {\r\n console.log(`Dismiss by ${reason}`);\r\n });\r\n }\r\n}\r\n","export default \"html {\\r\\n margin: 0px;\\r\\n padding: 0px;\\r\\n}\\r\\n\\r\\nbody {\\r\\n margin: 0px;\\r\\n padding: 0px;\\r\\n padding-bottom: 50px;\\r\\n font-family: Arial, Helvetica, sans-serif;\\r\\n font-size: 9pt;\\r\\n background-color: #eaeff3;\\r\\n}\\r\\n\\r\\n.overlay {\\r\\n opacity: 0.8;\\r\\n position: fixed;\\r\\n width: 100%;\\r\\n height: 100%;\\r\\n top: 0px;\\r\\n left: 0px;\\r\\n z-index: 1000;\\r\\n}\\r\\n\\r\\n.row {\\r\\n margin: 0px;\\r\\n width: 100%;\\r\\n}\\r\\n\\r\\n.center {\\r\\n margin: 0;\\r\\n position: absolute;\\r\\n top: 50%;\\r\\n left: 50%;\\r\\n transform: translate(-50%, -50%);\\r\\n}\\r\\n\\r\\n.delete {\\r\\n opacity: 0;\\r\\n display: none;\\r\\n}\\r\\n\\r\\n.transpModal .modal-content {\\r\\n background: transparent !important;\\r\\n border: 0 !important;\\r\\n}\\r\\n\\r\\n.transpModal .modal-header,\\r\\n.transpModal .modal-body,\\r\\n.transpModal .modal-footer {\\r\\n border: 0 !important;\\r\\n}\\r\\n\\r\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvcmVjb3ZlcnkvcmVjb3ZlcnkuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLFdBQVc7RUFDWCxZQUFZO0FBQ2Q7O0FBRUE7RUFDRSxXQUFXO0VBQ1gsWUFBWTtFQUNaLG9CQUFvQjtFQUNwQix5Q0FBeUM7RUFDekMsY0FBYztFQUNkLHlCQUF5QjtBQUMzQjs7QUFFQTtFQUNFLFlBQVk7RUFDWixlQUFlO0VBQ2YsV0FBVztFQUNYLFlBQVk7RUFDWixRQUFRO0VBQ1IsU0FBUztFQUNULGFBQWE7QUFDZjs7QUFFQTtFQUNFLFdBQVc7RUFDWCxXQUFXO0FBQ2I7O0FBRUE7RUFDRSxTQUFTO0VBQ1Qsa0JBQWtCO0VBQ2xCLFFBQVE7RUFDUixTQUFTO0VBQ1QsZ0NBQWdDO0FBQ2xDOztBQU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NvbnRlbnQge1xyXG4gIGJhY2tncm91bmQ6IHRyYW5zcGFyZW50ICFpbXBvcnRhbnQ7XHJcbiAgYm9yZGVyOiAwICFpbXBvcnRhbnQ7XHJcbn1cclxuXHJcbi50cmFuc3BNb2RhbCAubW9kYWwtaGVhZGVyLFxyXG4udHJhbnNwTW9kYWwgLm1vZGFsLWJvZHksXHJcbi50cmFuc3BNb2RhbCAubW9kYWwtZm9vdGVyIHtcclxuICBib3JkZXI6IDAgIWltcG9ydGFudDtcclxufVxyXG4iXX0= */\"","import { Component, OnInit, ElementRef, ViewEncapsulation, ViewChild } from '@angular/core';\r\nimport { Title } from '@angular/platform-browser';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { NgForm } from '@angular/forms';\r\nimport { LoginServices } from '../services/login/login.service';\r\nimport { NgbModal, ModalDismissReasons, NgbModalRef } from '@ng-bootstrap/ng-bootstrap';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\n\r\n\r\n@Component({\r\n selector: 'recovery',\r\n templateUrl: './recovery.component.html',\r\n styleUrls: ['./recovery.component.css'],\r\n encapsulation: ViewEncapsulation.None\r\n})\r\nexport class RecoveryComponent implements OnInit {\r\n @ViewChild(\"loadingModal\", null) modalContent: NgbModalRef;\r\n language: string = '';\r\n secret_code: string = '000';\r\n user_email_conf: string = '';\r\n instructions: string = '';\r\n email_and_code: string = '';\r\n enter_email_and_code: string = '';\r\n txtEmailCode: string = '';\r\n txtConfirmPass: string = '';\r\n alertMessage: string = '';\r\n firstStep: boolean = true;\r\n secondStep: boolean = false;\r\n thirdStep: boolean = false;\r\n removeDeleteClass: boolean = false;\r\n\r\n constructor(private translate: TranslateService, private loginServices: LoginServices, private element: ElementRef,\r\n private modalService: NgbModal, private titleService: Title, private activedRoute: ActivatedRoute, private router: Router) {\r\n\r\n let _language = this.activedRoute.snapshot.params.language != null ? this.activedRoute.snapshot.params.language : this.translate.getBrowserLang();\r\n console.info('l => ' + _language);\r\n if (_language != 'es' && _language != 'en' && _language != 'it' && _language != 'de' && _language != 'pt') {\r\n this.language = 'de';//'en';\r\n } else {\r\n this.language = _language;\r\n }\r\n\r\n this.setAppLanguage();\r\n this.translate.get('recuperar_contrasena').subscribe((translated) => {\r\n this.titleService.setTitle(translated.titulo_recuperar);\r\n this.instructions = translated.cuerpo_mensaje;\r\n this.email_and_code = translated.direccion_correo;\r\n this.enter_email_and_code = translated.digite_email;\r\n });\r\n\r\n }\r\n\r\n ngOnInit() { }\r\n\r\n setAppLanguage() {\r\n this.translate.setDefaultLang(this.language);\r\n this.translate.use(this.language);\r\n }\r\n\r\n handlerPrimerPaso() {\r\n this.openModal();\r\n\r\n this.loginServices.recoveryPassword(this.txtEmailCode, this.language).then((result => {\r\n if (result.data) {\r\n this.firstStep = false;\r\n this.secondStep = true;\r\n this.removeDeleteClass = true;\r\n \r\n let txtEmail: any = document.getElementById('txtMail');\r\n txtEmail.type = 'number';\r\n\r\n this.translate.get('recuperar_contrasena').subscribe((translated) => {\r\n this.instructions = translated.introduce_codigo;\r\n this.email_and_code = translated.codigo;\r\n this.enter_email_and_code = translated.codigo;\r\n });\r\n }\r\n\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n })).catch((error => {\r\n console.error(error);\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n }));\r\n\r\n this.txtEmailCode = '';\r\n }\r\n\r\n handlerSegundoPaso() {\r\n this.openModal();\r\n\r\n if (this.txtEmailCode.indexOf('@') == -1 || this.txtEmailCode != '') {\r\n this.secret_code = this.txtEmailCode;\r\n\r\n this.loginServices.confirmCode(this.secret_code).then((result => {\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n\r\n if (result.data != \"false\") {\r\n this.user_email_conf = result.data;\r\n\r\n this.secondStep = false;\r\n this.thirdStep = true;\r\n \r\n let txtEmail: any = document.getElementById('txtMail');\r\n txtEmail.type = 'password';\r\n txtEmail.value = '';\r\n \r\n this.translate.get('recuperar_contrasena').subscribe((translated) => {\r\n this.instructions = translated.introducir_nueva_contrasena;\r\n this.email_and_code = translated.contrasena;\r\n this.enter_email_and_code = translated.contrasena;\r\n });\r\n }\r\n })).catch(function (res) {\r\n console.error(res);\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n });\r\n }\r\n }\r\n\r\n handlerTercerPaso() {\r\n if (this.txtEmailCode == this.txtConfirmPass) {\r\n if (this.CheckPassword(this.txtEmailCode)) {\r\n this.openModal();\r\n\r\n this.loginServices.changePasswords(this.user_email_conf, this.txtConfirmPass, this.secret_code).then((result => {\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n\r\n if (result.data == \"ok\") {\r\n this.router.navigate([`../login/${this.language}`], { replaceUrl: true });\r\n } else if (result.data == \"pass\") {\r\n this.translate.get('recuperar_contrasena.error_contrasenas_iguales').subscribe((translated: string) => {\r\n this.alertMessage = translated;\r\n });\r\n\r\n alert(this.alertMessage);\r\n\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n } else {\r\n\r\n this.translate.get('recuperar_contrasena.error_cambio_contrasena').subscribe((translated: string) => {\r\n this.alertMessage = translated;\r\n });\r\n\r\n alert(this.alertMessage);\r\n\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n }\r\n\r\n })).catch((error => {\r\n console.error(error);\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n }));\r\n } else {\r\n this.translate.get('recuperar_contrasena.requisitos_contrasena').subscribe((translated: string) => {\r\n this.alertMessage = translated;\r\n });\r\n\r\n alert(this.alertMessage);\r\n }\r\n } else {\r\n this.translate.get('recuperar_contrasena.contrasena_no_coincide').subscribe((translated: string) => {\r\n this.alertMessage = translated;\r\n });\r\n\r\n alert(this.alertMessage);\r\n }\r\n }\r\n\r\n CheckPassword(inputtxt) {\r\n var passw = /^(?=.*\\d)(?=.*[a-z])(?=.*[A-Z]).{6,20}$/;\r\n if (inputtxt.match(passw)) {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n openModal() {\r\n this.modalService.open(this.modalContent, {\r\n ariaLabelledBy: 'modal-basic-title',\r\n centered: true,\r\n windowClass: 'transpModal',\r\n keyboard: false\r\n }).result.then((result) => {\r\n console.log(`Dismiss by ${result}`);\r\n }, (reason) => {\r\n console.log(`Dismiss by ${reason}`);\r\n });\r\n }\r\n}\r\n","export default \"html {\\r\\n margin: 0px;\\r\\n padding: 0px;\\r\\n}\\r\\n\\r\\nbody {\\r\\n margin: 0px;\\r\\n padding: 0px;\\r\\n padding-bottom: 50px;\\r\\n font-family: Arial, Helvetica, sans-serif;\\r\\n font-size: 9pt;\\r\\n background-color: #eaeff3;\\r\\n}\\r\\n\\r\\nh3 {\\r\\n color: lightgray;\\r\\n}\\r\\n\\r\\n#register_form_label {\\r\\n margin-top: 50px;\\r\\n text-align: center;\\r\\n}\\r\\n\\r\\n#register_form {\\r\\n margin-bottom: 50px;\\r\\n}\\r\\n\\r\\n#btnRegister {\\r\\n margin-top: 20px;\\r\\n}\\r\\n\\r\\n.customgroup {\\r\\n border: 1px solid lightgray;\\r\\n padding: 10px;\\r\\n margin-top: 20px;\\r\\n}\\r\\n\\r\\n.terms_conditions {\\r\\n width: 100% !important;\\r\\n text-align: center;\\r\\n font-style: italic;\\r\\n}\\r\\n\\r\\n.terms_conditions > small {\\r\\n margin-top: 30px;\\r\\n}\\r\\n\\r\\n.terms_conditions > a {\\r\\n font-size: 13px;\\r\\n display: inherit;\\r\\n text-decoration: underline;\\r\\n}\\r\\n\\r\\n.btn-primary {\\r\\n background-color: #265fbb;\\r\\n}\\r\\n\\r\\n.transpModal .modal-content {\\r\\n background-color: transparent !important;\\r\\n border: 0px;\\r\\n}\\r\\n\\r\\n.transpModal .modal-header,\\r\\n.transpModal .modal-body,\\r\\n.transpModal .modal-footer {\\r\\n border: 0 !important;\\r\\n}\\r\\n\\r\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvcmVnaXN0ZXIvcmVnaXN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ZGFsIC5tb2RhbC1oZWFkZXIsXHJcbi50cmFuc3BNb2RhbCAubW9kYWwtYm9keSxcclxuLnRyYW5zcE1vZGFsIC5tb2RhbC1mb290ZXIge1xyXG4gIGJvcmRlcjogMCAhaW1wb3J0YW50O1xyXG59XHJcbiJdfQ== */\"","import { Component, OnInit, ElementRef, ViewEncapsulation, ViewChild } from '@angular/core';\r\nimport { Title } from '@angular/platform-browser';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { LoginServices } from '../services/login/login.service';\r\nimport { NgbModal, ModalDismissReasons, NgbModalRef } from '@ng-bootstrap/ng-bootstrap';\r\nimport { UserEnterprise, ImageClass, WpImageEnterprise } from '../model/interfaces';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\n\r\n@Component({\r\n selector: 'register',\r\n templateUrl: './register.component.html',\r\n styleUrls: ['./register.component.css'],\r\n encapsulation: ViewEncapsulation.None\r\n})\r\nexport class RegisterComponent implements OnInit {\r\n @ViewChild(\"registerModal\", null) modalContent: NgbModalRef;\r\n language: string = '';\r\n countries = [];\r\n phone_code: string;\r\n noIdenticalPassword: boolean = true;\r\n countrySelected: number = 0;\r\n enterpriseImage: any;\r\n byteImage: any;\r\n mimeType: string = '';\r\n\r\n constructor(private translate: TranslateService, private loginService: LoginServices, private element: ElementRef,\r\n private modalService: NgbModal, private titleService: Title, private activedRoute: ActivatedRoute, private router: Router) {\r\n let _language = this.activedRoute.snapshot.params.language != null ? this.activedRoute.snapshot.params.language : this.translate.getBrowserLang();\r\n console.info('l => ' + _language);\r\n if (_language != 'es' && _language != 'en' && _language != 'it' && _language != 'de' && _language != 'pt') {\r\n this.language = 'de';//'en';\r\n } else {\r\n this.language = _language;\r\n }\r\n\r\n this.setAppLanguage();\r\n this.translate.get('inicio_sesion.registro_empresa').subscribe((translated: string) => {\r\n this.titleService.setTitle(translated);\r\n });\r\n this.getCountryList(_language);\r\n }\r\n\r\n ngOnInit() {}\r\n\r\n setAppLanguage() {\r\n this.translate.setDefaultLang(this.language);\r\n this.translate.use(this.language);\r\n }\r\n\r\n getCountryList(language) {\r\n this.countries = [];\r\n this.loginService.getCountryByLanguage(\r\n language\r\n ).then((result) => {\r\n this.countries = JSON.parse(JSON.stringify(result.data));\r\n //console.log(JSON.stringify(this.countries))\r\n this.countries.sort(function (a, b) {\r\n if (a.country > b.country) return 1;\r\n if (a.country < b.country) return -1;\r\n return 0;\r\n });\r\n\r\n this.phone_code = this.countries[0].phone_code;\r\n this.countrySelected = this.countries[0].id_country;\r\n }).catch((error) => {\r\n console.error(error);\r\n });\r\n }\r\n\r\n changeCountry(countrySelected) {\r\n //this.phone_code = this.countries[countrySelected - 1].phone_code;\r\n this.phone_code = this.countries.find(country => country.id_country == countrySelected).phone_code;\r\n }\r\n\r\n loadFile(file) {\r\n this.mimeType = '';\r\n if (file.length === 0)\r\n return;\r\n\r\n this.mimeType = file[0].type;\r\n \r\n if (this.mimeType.match(/image\\/*/) == null) {\r\n console.error(\"Only images are supported.\");\r\n return;\r\n }\r\n var reader = new FileReader();\r\n reader.readAsDataURL(file[0]);\r\n reader.onload = (_event) => {\r\n this.enterpriseImage = reader.result;\r\n }\r\n\r\n let formData = new FormData();\r\n this.byteImage = formData.append('file', file[0]);\r\n }\r\n\r\n onSubmit(registerForm) {\r\n this.noIdenticalPassword = true;\r\n if (registerForm.invalid) {\r\n for (const key of Object.keys(registerForm.controls)) {\r\n if (registerForm.controls[key].invalid) {\r\n const fieldElement = this.element.nativeElement.querySelector('[name=' + key + ']');\r\n registerForm.controls[key].markAsTouched();\r\n fieldElement.focus();\r\n break;\r\n }\r\n }\r\n } else {\r\n this.openModal();\r\n\r\n if (registerForm.value['pwd'] == registerForm.value['confirmPwd']) {\r\n let contact_method = registerForm.value['chkPhone'] != undefined && registerForm.value['chkPhone'] ? '1' : '0';\r\n contact_method += registerForm.value['chkEmail'] != undefined && registerForm.value['chkEmail'] ? '$2' : '$0';\r\n contact_method += registerForm.value['chkSMS'] != undefined && registerForm.value['chkSMS'] ? '$3' : '$0';\r\n contact_method += registerForm.value['chkWhatsApp'] != undefined && registerForm.value['chkWhatsApp'] ? '$4' : '$0';\r\n \r\n setTimeout(() => {\r\n let userEnterprise: UserEnterprise = {\r\n trade_name: registerForm.value['tradeName'],\r\n web_page: registerForm.value['webPage'] == undefined ? '' : registerForm.value['webPage'],\r\n CIF_NIF: registerForm.value['NIF'],\r\n enterprise_email: registerForm.value['companyEmail'],\r\n facebook_page: registerForm.value['facebook'] == undefined ? '' : registerForm.value['facebook'],\r\n enterprise_phone: registerForm.value['companyPhone'],\r\n enterprise_address: registerForm.value['address'],\r\n postal_code: registerForm.value['zipCode'],\r\n enterprise_city: registerForm.value['city'],\r\n fullname: registerForm.value['fullname'],\r\n email: registerForm.value['emailUser'],\r\n pass: registerForm.value['pwd'],\r\n user_photo: 'nulo',\r\n user_phone: registerForm.value['phoneNumber'],\r\n fk_country: registerForm.value['countrySelected'].toString(),\r\n user_address: `${registerForm.value['address']},${registerForm.value['zipCode']},${registerForm.value['city']},${registerForm.value['countrySelected']}`,\r\n web_language: this.language,\r\n contact_method: contact_method\r\n };\r\n\r\n let imageClass: ImageClass = {\r\n fileAsBase64: this.enterpriseImage,\r\n mimeType: this.mimeType.substring(this.mimeType.indexOf('/') + 1)\r\n };\r\n let listImagClass = [];\r\n listImagClass.push(imageClass)\r\n\r\n let wpImageEnterprise: WpImageEnterprise = {\r\n userEnterprise: userEnterprise,\r\n wpImageClass: listImagClass\r\n };\r\n console.log('json: ' + JSON.stringify(wpImageEnterprise));\r\n this.loginService.enterpriseRegistration(\r\n wpImageEnterprise\r\n ).then((result) => {\r\n console.log('result chuy: ' + JSON.stringify(result));\r\n console.log('result chuy 2: ' + result.data);\r\n if (result.data.substring(0, 2) == 'OK') {\r\n localStorage.removeItem('keyVehicleRegistration');\r\n localStorage.setItem('keyVehicleRegistration', result.data);\r\n this.router.navigate([`../vehicle-registration/${this.language}`], { replaceUrl: true });\r\n } else if (result.data == 'Code: 001') {\r\n this.translate.get('nuevo_registro.correo_previamente_registrado').subscribe((translated: string) => {\r\n alert(translated);\r\n });\r\n } else if (result.data == \"Code: 002\") {\r\n this.translate.get('nuevo_registro.NIF_previamente_registrado').subscribe((translated: string) => {\r\n alert(translated);\r\n });\r\n } /*else {\r\n this.translate.get('nuevo_registro.error_inesperado').subscribe((translated: string) => {\r\n alert(translated);\r\n });\r\n }*/\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n }).catch((error) => {\r\n console.error(error);\r\n this.translate.get('nuevo_registro.error_inesperado').subscribe((translated: string) => {\r\n alert(translated);\r\n });\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n });\r\n }, 7000);\r\n } else {\r\n const fieldElement = this.element.nativeElement.querySelector('[name=pwd]');\r\n fieldElement.focus();\r\n this.noIdenticalPassword = false;\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n }\r\n }\r\n }\r\n\r\n openModal() {\r\n this.modalService.open(this.modalContent, {\r\n ariaLabelledBy: 'modal-basic-title',\r\n centered: true,\r\n windowClass: 'transpModal',\r\n keyboard: false\r\n }).result.then((result) => {\r\n console.log(`Dismiss by ${result}`);\r\n }, (reason) => {\r\n console.log(`Dismiss by ${reason}`);\r\n });\r\n }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { HttpClient, HttpHeaders, HttpParams } from '@angular/common/http';\r\nimport { Response, User } from '../../model/interfaces';\r\nimport { Observable } from 'rxjs';\r\n\r\n@Injectable({\r\n providedIn: 'root'\r\n}) export class FeedServices {\r\n baseUrl: string;\r\n constructor(protected http: HttpClient, @Inject('BASE_URL') baseUrl: string) {\r\n this.baseUrl = baseUrl;\r\n }\r\n\r\n public getUserProfileData(): Promise {\r\n let httpOptions = {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json; charset=utf-8',\r\n 'Authorization': localStorage.getItem('token')\r\n })\r\n };\r\n\r\n return this.http.get(\r\n this.baseUrl + 'api/Enterprise/GetUserProfileData/', httpOptions).toPromise();\r\n }\r\n\r\n public getAllTripsStatus(serviceTypeSelected, today): Promise {\r\n let httpOptions = {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json; charset=utf-8',\r\n 'Authorization': localStorage.getItem('token')\r\n })\r\n };\r\n\r\n return this.http.get(\r\n this.baseUrl + 'api/Travel/GetAllTripsStatus/' + serviceTypeSelected + '/' + today, httpOptions).toPromise();\r\n }\r\n\r\n public getAllTripsStatusCancel(today): Promise {\r\n let httpOptions = {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json; charset=utf-8',\r\n 'Authorization': localStorage.getItem('token')\r\n })\r\n };\r\n\r\n return this.http.get(\r\n this.baseUrl + 'api/Travel/GetAllTripsStatusCancel/' + today, httpOptions).toPromise();\r\n }\r\n\r\n public getOffersToConfirm(): Promise {\r\n let httpOptions = {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json; charset=utf-8',\r\n 'Authorization': localStorage.getItem('token')\r\n })\r\n };\r\n\r\n return this.http.get(\r\n this.baseUrl + 'api/Offers/GetOffersToConfirm', httpOptions).toPromise();\r\n }\r\n\r\n public getAllHistoryCompany(): Promise {\r\n let httpOptions = {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json; charset=utf-8',\r\n 'Authorization': localStorage.getItem('token')\r\n })\r\n };\r\n\r\n return this.http.get(\r\n this.baseUrl + 'api/Enterprise/GetAllHistoryCompany', httpOptions).toPromise();\r\n }\r\n\r\n public putChangeOffer(offer): Promise {\r\n let httpOptions = {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json; charset=utf-8',\r\n 'Authorization': localStorage.getItem('token')\r\n })\r\n };\r\n\r\n return this.http.put(\r\n this.baseUrl + 'api/Offers/ChangeOffer', JSON.stringify(offer), httpOptions).toPromise();\r\n }\r\n\r\n public makeanOffer(offer): Promise {\r\n let httpOptions = {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json; charset=utf-8',\r\n 'Authorization': localStorage.getItem('token')\r\n })\r\n };\r\n\r\n return this.http.post\r\n (this.baseUrl + 'api/Offers/MakeanOffer', JSON.stringify(offer), httpOptions).toPromise();\r\n }\r\n\r\n public cancelOffer(Id): Promise {\r\n let httpOptions = {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json; charset=utf-8',\r\n 'Authorization': localStorage.getItem('token')\r\n })\r\n };\r\n\r\n return this.http.put(\r\n this.baseUrl + 'api/Offers/CancelOffer', JSON.stringify(Id), httpOptions).toPromise();\r\n }\r\n\r\n public companyConfirmOffer(Id): Promise {\r\n let httpOptions = {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json; charset=utf-8',\r\n 'Authorization': localStorage.getItem('token')\r\n })\r\n };\r\n \r\n return this.http.put(\r\n this.baseUrl + 'api/Offers/CompanyConfirmOffer', JSON.stringify(Id), httpOptions).toPromise();\r\n }\r\n\r\n public getVehiclesByEnterprise(language): Promise {\r\n let httpOptions = {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json; charset=utf-8',\r\n 'Authorization': localStorage.getItem('token')\r\n })\r\n };\r\n \r\n return this.http.get(\r\n this.baseUrl + 'api/Enterprise/GetVehiclesByEnterprise/' + language, httpOptions).toPromise();\r\n }\r\n\r\n public addVehicle(vehicles): Promise {\r\n let httpOptions = {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json; charset=utf-8',\r\n 'Authorization': localStorage.getItem('token')\r\n })\r\n };\r\n\r\n return this.http.post\r\n (this.baseUrl + 'api/Enterprise/addVehicle', JSON.stringify(vehicles), httpOptions).toPromise();\r\n }\r\n\r\n public updateVehicle(vehicle): Promise {\r\n let httpOptions = {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json; charset=utf-8',\r\n 'Authorization': localStorage.getItem('token')\r\n })\r\n };\r\n\r\n return this.http.put(\r\n this.baseUrl + 'api/Enterprise/UpdateVehicle', JSON.stringify(vehicle), httpOptions).toPromise();\r\n }\r\n\r\n public addDriverPreferences(preferences): Promise {\r\n let httpOptions = {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json; charset=utf-8',\r\n 'Authorization': localStorage.getItem('token')\r\n })\r\n };\r\n\r\n return this.http.post(\r\n this.baseUrl + 'api/Enterprise/AddDriverPreferences', JSON.stringify(preferences), httpOptions).toPromise();\r\n }\r\n\r\n public consultDriverPreferences(): Promise {\r\n let httpOptions = {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json; charset=utf-8',\r\n 'Authorization': localStorage.getItem('token')\r\n })\r\n };\r\n\r\n return this.http.get(\r\n this.baseUrl + 'api/Enterprise/ConsultDriverPreferences', httpOptions).toPromise();\r\n }\r\n\r\n public addToMyList(id_travel): Promise {\r\n let httpOptions = {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json; charset=utf-8',\r\n 'Authorization': localStorage.getItem('token')\r\n })\r\n };\r\n\r\n return this.http.get(\r\n this.baseUrl + 'api/Travel/AddToMyList/' + id_travel, httpOptions).toPromise();\r\n }\r\n\r\n public removeFromMyList(id_travel): Promise {\r\n let httpOptions = {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json; charset=utf-8',\r\n 'Authorization': localStorage.getItem('token')\r\n })\r\n };\r\n\r\n return this.http.get(\r\n this.baseUrl + 'api/Travel/RemoveFromMyList/' + id_travel, httpOptions).toPromise();\r\n }\r\n\r\n public removeTravelFromNewTrips(id_travel): Promise {\r\n let httpOptions = {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json; charset=utf-8',\r\n 'Authorization': localStorage.getItem('token')\r\n })\r\n };\r\n\r\n return this.http.get(\r\n this.baseUrl + 'api/Travel/RemoveTravelFromNewTrips/' + id_travel, httpOptions).toPromise();\r\n }\r\n\r\n public consultMyTripsList(date): Promise {\r\n let httpOptions = {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json; charset=utf-8',\r\n 'Authorization': localStorage.getItem('token')\r\n })\r\n };\r\n\r\n return this.http.get(\r\n this.baseUrl + 'api/Travel/ConsultMyTripsList/' + date, httpOptions).toPromise();\r\n }\r\n\r\n public getCountTripsOffers(date): Promise {\r\n let httpOptions = {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json; charset=utf-8',\r\n 'Authorization': localStorage.getItem('token')\r\n })\r\n };\r\n\r\n return this.http.get(\r\n this.baseUrl + 'api/Travel/ConsultCountTripsOffers/' + date, httpOptions).toPromise();\r\n }\r\n\r\n // Funciones web\r\n public dateFormat(fecha) {\r\n let date = new Date(Date.parse(fecha));\r\n let day = date.getDate()\r\n let month = date.getMonth() + 1\r\n let year = date.getFullYear()\r\n let hour = date.getHours()\r\n let min = date.getMinutes()\r\n\r\n let newDay = \"\";\r\n if (day < 10) { newDay = `0${day}` }\r\n else { newDay = `${day}` }\r\n\r\n let newMonth = \"\";\r\n if (month < 10) { newMonth = `0${month}` }\r\n else { newMonth = `${month}` }\r\n\r\n let newHour = \"\";\r\n if (hour < 10) { newHour = `0${hour}` }\r\n else { newHour = `${hour}` }\r\n\r\n let newMin = \"\";\r\n if (min < 10) { newMin = `0${min}` }\r\n else { newMin = `${min}` }\r\n\r\n return `${newDay}/${newMonth}/${year}`;\r\n }\r\n\r\n public WithoutTime(dateTime) {\r\n let date = new Date(dateTime.getTime());\r\n date.setHours(0, 0, 0, 0);\r\n return date;\r\n }\r\n}\r\n","import { Injectable, Inject } from '@angular/core';\r\nimport { HttpClient, HttpHeaders, HttpParams } from '@angular/common/http';\r\nimport { Response, User } from '../../model/interfaces';\r\nimport { Local } from 'protractor/built/driverProviders';\r\n\r\nconst httpOptions = {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json; charset=utf-8'\r\n })\r\n\r\n}\r\n@Injectable({\r\n providedIn: 'root'\r\n}) export class LoginServices {\r\n baseUrl: string;\r\n constructor(protected http: HttpClient, @Inject('BASE_URL') baseUrl: string) {\r\n this.baseUrl = baseUrl;\r\n }\r\n\r\n public login(userInfo): Promise {\r\n return this.http.post\r\n (this.baseUrl + 'api/Account/Login/', JSON.stringify(userInfo), httpOptions).toPromise();\r\n }\r\n\r\n public setToken(token) {\r\n localStorage.setItem('token', JSON.stringify(token));\r\n }\r\n\r\n public getToken(): String {\r\n return JSON.parse(localStorage.getItem('token'));\r\n }\r\n\r\n public setUser(user) {\r\n localStorage.setItem('user', JSON.stringify(user));\r\n }\r\n\r\n public getUser(): User {\r\n return JSON.parse(localStorage.getItem('user'));\r\n }\r\n\r\n public setPreferences(preferences) {\r\n localStorage.setItem('preferences', JSON.stringify(preferences));\r\n }\r\n\r\n public getPreferences(): any {\r\n return JSON.parse(localStorage.getItem('preferences'));\r\n }\r\n\r\n public logout() {\r\n localStorage.removeItem('user');\r\n localStorage.removeItem('token');\r\n localStorage.removeItem('preferences');\r\n localStorage.removeItem('wasLoaded');\r\n }\r\n\r\n public getCountryByLanguage(language) {\r\n return this.http.get(this.baseUrl + 'api/Account/getCountryByLanguage/' + language).toPromise();\r\n }\r\n\r\n public enterpriseRegistration(wpImageEnterprise): Promise {\r\n return this.http.post\r\n (this.baseUrl + 'api/Account/EnterpriseRegistration/', JSON.stringify(wpImageEnterprise), httpOptions).toPromise();\r\n }\r\n\r\n public validateUserPassword(oldPassword): Promise {\r\n let httpOptions = {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json; charset=utf-8',\r\n 'Authorization': localStorage.getItem('token')\r\n })\r\n };\r\n console.log(this.baseUrl + 'api/User/ValidateUserWebPW/' + oldPassword);\r\n return this.http.get(this.baseUrl + 'api/User/ValidateUserWebPW/' + oldPassword, httpOptions).toPromise();\r\n }\r\n\r\n public changePassword(newPassword): Promise {\r\n let httpOptions = {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json; charset=utf-8',\r\n 'Authorization': localStorage.getItem('token')\r\n })\r\n };\r\n\r\n return this.http.get(this.baseUrl + 'api/User/ChangePw/' + newPassword, httpOptions).toPromise();\r\n }\r\n\r\n public recoveryPassword(email, language): Promise {\r\n let httpOptions = {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json; charset=utf-8'\r\n })\r\n };\r\n\r\n return this.http.get(this.baseUrl + 'api/Account/RecoveryPassword/' + email + '/' + language, httpOptions).toPromise();\r\n }\r\n\r\n public confirmCode(code): Promise {\r\n let httpOptions = {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json; charset=utf-8'\r\n })\r\n };\r\n\r\n return this.http.get(this.baseUrl + 'api/Account/ConfirmCode/' + code, httpOptions).toPromise();\r\n }\r\n\r\n public changePasswords(user_email, confirm_password, secret_code): Promise {\r\n let httpOptions = {\r\n headers: new HttpHeaders({\r\n 'Content-Type': 'application/json; charset=utf-8'\r\n })\r\n };\r\n\r\n return this.http.get(this.baseUrl + 'api/Account/ChangePasswords/' + user_email + '/' + confirm_password + '/' + secret_code, httpOptions).toPromise();\r\n }\r\n\r\n public companyInfoWeb(registerCompanyInfo): Promise {\r\n return this.http.post\r\n (this.baseUrl + 'api/Account/CompanyInfoWeb/', JSON.stringify(registerCompanyInfo), httpOptions).toPromise();\r\n }\r\n\r\n public consultFeatures(language): Promise {\r\n return this.http.get(this.baseUrl + 'api/Account/ConsultFeatures/' + language).toPromise();\r\n }\r\n}\r\n","export default \"html {\\r\\n margin: 0px;\\r\\n padding: 0px;\\r\\n}\\r\\n\\r\\nbody {\\r\\n margin: 0px;\\r\\n padding: 0px;\\r\\n padding-bottom: 50px;\\r\\n font-family: Arial, Helvetica, sans-serif;\\r\\n font-size: 9pt;\\r\\n background-color: #eaeff3;\\r\\n}\\r\\n\\r\\nh3 {\\r\\n color: lightgray;\\r\\n}\\r\\n\\r\\n#register_form_label {\\r\\n margin-top: 50px;\\r\\n text-align: center;\\r\\n}\\r\\n\\r\\n#register_form {\\r\\n margin-bottom: 50px;\\r\\n}\\r\\n\\r\\n#btnRegister {\\r\\n margin-top: 20px;\\r\\n}\\r\\n\\r\\n.customgroup {\\r\\n border: 1px solid lightgray;\\r\\n padding: 10px;\\r\\n margin-top: 20px;\\r\\n}\\r\\n\\r\\n.rowSlider {\\r\\n align-items: stretch;\\r\\n display: flex;\\r\\n flex-direction: row;\\r\\n flex-wrap: nowrap;\\r\\n overflow-x: auto;\\r\\n overflow-y: hidden;\\r\\n}\\r\\n\\r\\n.cardStyle {\\r\\n max-width: 80%;\\r\\n min-width: 700px;\\r\\n padding: .75rem;\\r\\n margin-bottom: 2rem;\\r\\n margin-left: 1rem;\\r\\n border: 1;\\r\\n flex-basis: 80%;\\r\\n flex-grow: 0;\\r\\n flex-shrink: 0;\\r\\n background-color: #eaeff3;\\r\\n}\\r\\n\\r\\n.middle-container {\\r\\n width: 50%;\\r\\n}\\r\\n\\r\\n.cardHeader {\\r\\n display: flex;\\r\\n justify-content: space-between | space-around;\\r\\n}\\r\\n\\r\\n.cardFooter {\\r\\n display: flex;\\r\\n justify-content: space-between | space-around;\\r\\n}\\r\\n\\r\\n.btn-primary {\\r\\n background-color: #265fbb;\\r\\n}\\r\\n\\r\\n.transpModal .modal-content {\\r\\n background-color: transparent !important;\\r\\n border: 0px;\\r\\n}\\r\\n\\r\\n.transpModal .modal-header,\\r\\n.transpModal .modal-body,\\r\\n.transpModal .modal-footer {\\r\\n border: 0 !important;\\r\\n}\\r\\n\\r\\n@media (max-width: 768px) {\\r\\n .cardStyle {\\r\\n max-width: 80%;\\r\\n min-width: 300px;\\r\\n padding: .75rem;\\r\\n margin-bottom: 2rem;\\r\\n margin-left: 1rem;\\r\\n border: 1;\\r\\n flex-basis: 80%;\\r\\n flex-grow: 0;\\r\\n flex-shrink: 0;\\r\\n }\\r\\n}\\r\\n\\r\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvdmVoaWNsZS1yZWdpc3RyYXRpb24vdmVoaWNsZS1yZWdpc3RyYXRpb24uY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLFdBQVc7RUFDWCxZQUFZO0FBQ2Q7O0FBRUE7RUFDRSxXQ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2lkdGg6IDgwJTtcclxuICAgIG1pbi13aWR0aDogMzAwcHg7XHJcbiAgICBwYWRkaW5nOiAuNzVyZW07XHJcbiAgICBtYXJnaW4tYm90dG9tOiAycmVtO1xyXG4gICAgbWFyZ2luLWxlZnQ6IDFyZW07XHJcbiAgICBib3JkZXI6IDE7XHJcbiAgICBmbGV4LWJhc2lzOiA4MCU7XHJcbiAgICBmbGV4LWdyb3c6IDA7XHJcbiAgICBmbGV4LXNocmluazogMDtcclxuICB9XHJcbn1cclxuIl19 */\"","import { Component, OnInit, ElementRef, ViewEncapsulation, ViewChild } from '@angular/core';\r\nimport { Title } from '@angular/platform-browser';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { LoginServices } from '../services/login/login.service';\r\nimport { NgbModal, ModalDismissReasons, NgbModalRef } from '@ng-bootstrap/ng-bootstrap';\r\nimport { RegisterCompanyInfo, RegisterVehicles, FeaturesVehicle, OtherFeatures } from '../model/interfaces';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\n\r\n@Component({\r\n selector: 'vehicle-registration',\r\n templateUrl: './vehicle-registration.component.html',\r\n styleUrls: ['./vehicle-registration.component.css'],\r\n encapsulation: ViewEncapsulation.None\r\n})\r\nexport class VehicleRegistration implements OnInit {\r\n @ViewChild(\"registerModal\", null) modalContent: NgbModalRef;\r\n language: string = '';\r\n licenseFile: any;\r\n vehicles = [{\r\n vehicle_name: '',\r\n idVehicle_name: 'vehicleName1',\r\n\r\n vehicle_type: '',\r\n idVehicle_type: 'vehicleType1',\r\n\r\n vehicle_capacity: 1,\r\n idVehicle_capacity: 'vehicleCapacity1',\r\n\r\n vehicle_features: '', \r\n\r\n directionHorseTravelForwards: 0,\r\n idDirectionHorseTravelForwards: 'directionHorseTravelForwards1',\r\n\r\n directionHorseTravelBackwards: 0,\r\n idDirectionHorseTravelBackwards: 'directionHorseTravelBackwards1',\r\n\r\n directionHorseTravelOnSide: 0,\r\n idDirectionHorseTravelOnSide: 'directionHorseTravelOnSide1',\r\n\r\n directionEntryExitHorseForwards: 0,\r\n idDirectionEntryExitHorseForwards: 'directionEntryExitHorseForwards1',\r\n\r\n directionEntryExitHorseBackwards: 0,\r\n idDirectionEntryExitHorseBackwards: 'directionEntryExitHorseBackwards1',\r\n\r\n directionEntryExitHorseOnSide: 0,\r\n idDirectionEntryExitHorseOnSide: 'directionEntryExitHorseOnSide1',\r\n\r\n vehicleFeatureCamera: 0,\r\n idVehicleFeatureCamera: 'vehicleFeatureCamera1',\r\n\r\n vehicleFeatureTemperature: 0,\r\n idVehicleFeatureTemperature: 'vehicleFeatureTemperature1',\r\n\r\n vehicleFeatureVentilation: 0,\r\n idVehicleFeatureVentilation: 'vehicleFeatureVentilation1',\r\n\r\n vehicleFeatureGPS: 0,\r\n idVehicleFeatureGPS: 'vehicleFeatureGPS1',\r\n\r\n vehicleFeatureNonSR: 0,\r\n idVehicleFeatureNonSR: 'vehicleFeatureNonSR1',\r\n\r\n aditionalSupport: 0,\r\n idAditionalSupport: 'aditionalSupport1',\r\n\r\n aditionalWater: 0,\r\n idAditionalWater: 'aditionalWater1',\r\n\r\n aditionalHay: 0,\r\n idAditionalHay: 'aditionalHay1',\r\n\r\n vehicle_number: 1,\r\n isLastItem: true,\r\n vehicle_year: '2021',\r\n vehicleType: '1'\r\n }];\r\n vehicleYear = [];\r\n vehicleType = [];\r\n submitAll: boolean = false;\r\n fieldEmpty: boolean = false;\r\n chkPremiumTrip: number = 0;\r\n chkSingleTrip: number = 0;\r\n chkLiftTrip: number = 0;\r\n chkHopOnHopOffTrip: number = 0;\r\n chkGuarantee: number = 0;\r\n numberVehicles: number = 1;\r\n featureCamera: string = '';\r\n featureTemperatureControl: string = '';\r\n featureVentilationSystem: string = '';\r\n featureGPS: string = '';\r\n featureNonSlidingRamps: string = '';\r\n featureAditionalSupport: string = '';\r\n featureAditionalWater: string = '';\r\n featureAditionalHay: string = '';\r\n vehicleFeatureOtherFeatures: string = '';\r\n aditionalSomething: string = '';\r\n showInsuranceQuestions = false;\r\n showQytAccidentalInsurance = false;\r\n qytAccidentalInsurance: string = '';\r\n showQytDeathInsurance = false;\r\n qytDeathInsurance: string = '';\r\n accidentalInsuranceFile: any;\r\n deathInsuranceFile: any;\r\n emptyFieldDirectionHorse: string = '';\r\n title_vehicle: string = '';\r\n\r\n constructor(private translate: TranslateService, private loginService: LoginServices, private element: ElementRef,\r\n private modalService: NgbModal, private titleService: Title, private activedRoute: ActivatedRoute, private router: Router) {\r\n let _language = this.activedRoute.snapshot.params.language != null ? this.activedRoute.snapshot.params.language : this.translate.getBrowserLang();\r\n console.info('l => ' + _language);\r\n if (_language != 'es' && _language != 'en' && _language != 'it' && _language != 'de' && _language != 'pt') {\r\n this.language = 'de';//'en';\r\n } else {\r\n this.language = _language;\r\n }\r\n\r\n this.setAppLanguage();\r\n this.translate.get('inicio_sesion.registro_empresa').subscribe((translated: string) => {\r\n this.titleService.setTitle(translated);\r\n });\r\n\r\n this.translate.get('nuevo_registro').subscribe((translated) => {\r\n this.emptyFieldDirectionHorse = translated.llenar_valor_de_seccion + ' \"' + translated.sentido_marcha + '\"';\r\n this.title_vehicle = translated.vehiculo;\r\n this.vehicleType.push({\r\n label: translated.camion,\r\n value: 1\r\n }, {\r\n label: translated.furgoneta,\r\n value: 2\r\n }, {\r\n label: translated.remolque,\r\n value: 3\r\n });\r\n });\r\n \r\n }\r\n\r\n ngOnInit() {\r\n if (localStorage.getItem('keyVehicleRegistration') == null || localStorage.getItem('keyVehicleRegistration') == '')\r\n this.router.navigate([`../login/${this.language}`], { replaceUrl: true });\r\n else {\r\n this.loginService.consultFeatures(this.language).then((result => {\r\n \r\n if (result.success) {\r\n this.featureCamera = result.data[0].feature;\r\n this.featureTemperatureControl = result.data[1].feature;\r\n this.featureVentilationSystem = result.data[2].feature;\r\n this.featureGPS = result.data[3].feature;\r\n this.featureNonSlidingRamps = result.data[4].feature;\r\n\r\n this.featureAditionalSupport = result.data[5].feature;\r\n this.featureAditionalWater = result.data[6].feature;\r\n this.featureAditionalHay = result.data[7].feature;\r\n }\r\n })).catch((error) => {\r\n console.error(error);\r\n });\r\n\r\n for (let i = new Date().getFullYear(); i >= 1886; i--) {\r\n this.vehicleYear.push({\r\n vehicle_year: i\r\n });\r\n }\r\n }\r\n }\r\n\r\n ngOnDestroy() {\r\n localStorage.removeItem('keyVehicleRegistration');\r\n }\r\n\r\n setAppLanguage() {\r\n this.translate.setDefaultLang(this.language);\r\n this.translate.use(this.language);\r\n }\r\n\r\n deleteVehicle(item) {\r\n let card = document.getElementById(item);\r\n card.remove();\r\n\r\n let currentVehiclePosition = this.vehicles.map(function (e) {\r\n return e.vehicle_number;\r\n }).indexOf(item);\r\n\r\n this.vehicles.splice(currentVehiclePosition, 1)\r\n\r\n this.numberVehicles--;\r\n\r\n let iterator = 1;\r\n this.vehicles.forEach(function (e) {\r\n e.vehicle_number = iterator;\r\n iterator++;\r\n });\r\n\r\n let newCurrentVehiclePosition = this.vehicles.find(\r\n element =>\r\n element.vehicle_number == Math.max.apply(\r\n Math,\r\n this.vehicles.map(\r\n e => e.vehicle_number\r\n )\r\n )\r\n );\r\n\r\n newCurrentVehiclePosition.isLastItem = true;\r\n\r\n }\r\n\r\n addVehicle(item) {\r\n this.numberVehicles++;\r\n let currentVehicle = this.vehicles.find(element => element.vehicle_number == item);\r\n currentVehicle.isLastItem = false;\r\n\r\n let newVehicle = {\r\n vehicle_name: '',\r\n idVehicle_name: 'vehicleName' + this.numberVehicles,\r\n\r\n vehicle_type: currentVehicle.vehicle_type,\r\n idVehicle_type: 'vehicleType' + this.numberVehicles,\r\n\r\n vehicle_capacity: currentVehicle.vehicle_capacity,\r\n idVehicle_capacity: 'vehicleCapacity' + this.numberVehicles,\r\n\r\n vehicle_features: '',\r\n\r\n directionHorseTravelForwards: currentVehicle.directionHorseTravelForwards,\r\n idDirectionHorseTravelForwards: 'directionHorseTravelForwards' + this.numberVehicles,\r\n\r\n directionHorseTravelBackwards: currentVehicle.directionHorseTravelBackwards,\r\n idDirectionHorseTravelBackwards: 'directionHorseTravelBackwards' + this.numberVehicles,\r\n\r\n directionHorseTravelOnSide: currentVehicle.directionHorseTravelOnSide,\r\n idDirectionHorseTravelOnSide: 'directionHorseTravelOnSide' + this.numberVehicles,\r\n\r\n directionEntryExitHorseForwards: currentVehicle.directionEntryExitHorseForwards,\r\n idDirectionEntryExitHorseForwards: 'directionEntryExitHorseForwards' + this.numberVehicles,\r\n\r\n directionEntryExitHorseBackwards: currentVehicle.directionEntryExitHorseBackwards,\r\n idDirectionEntryExitHorseBackwards: 'directionEntryExitHorseBackwards' + this.numberVehicles,\r\n\r\n directionEntryExitHorseOnSide: currentVehicle.directionEntryExitHorseOnSide,\r\n idDirectionEntryExitHorseOnSide: 'directionEntryExitHorseOnSide' + this.numberVehicles,\r\n\r\n vehicleFeatureCamera: currentVehicle.vehicleFeatureCamera,\r\n idVehicleFeatureCamera: 'vehicleFeatureCamera' + this.numberVehicles,\r\n\r\n vehicleFeatureTemperature: currentVehicle.vehicleFeatureTemperature,\r\n idVehicleFeatureTemperature: 'vehicleFeatureTemperature' + this.numberVehicles,\r\n\r\n vehicleFeatureVentilation: currentVehicle.vehicleFeatureVentilation,\r\n idVehicleFeatureVentilation: 'vehicleFeatureVentilation' + this.numberVehicles,\r\n\r\n vehicleFeatureGPS: currentVehicle.vehicleFeatureGPS,\r\n idVehicleFeatureGPS: 'vehicleFeatureGPS' + this.numberVehicles,\r\n\r\n vehicleFeatureNonSR: currentVehicle.vehicleFeatureNonSR,\r\n idVehicleFeatureNonSR: 'vehicleFeatureNonSR' + this.numberVehicles,\r\n\r\n aditionalSupport: currentVehicle.aditionalSupport,\r\n idAditionalSupport: 'aditionalSupport' + this.numberVehicles,\r\n\r\n aditionalWater: currentVehicle.aditionalWater,\r\n idAditionalWater: 'aditionalWater' + this.numberVehicles,\r\n\r\n aditionalHay: currentVehicle.aditionalHay,\r\n idAditionalHay: 'aditionalHay' + this.numberVehicles,\r\n\r\n vehicle_number: this.numberVehicles,\r\n isLastItem: true,\r\n vehicle_year: currentVehicle.vehicle_year,\r\n vehicleType: currentVehicle.vehicleType\r\n };\r\n\r\n this.vehicles.push(newVehicle); \r\n }\r\n\r\n onSubmit(registerForm) {\r\n this.openModal();\r\n this.submitAll = true;\r\n this.fieldEmpty = false;\r\n\r\n if (registerForm.invalid) {\r\n for (const key of Object.keys(registerForm.controls)) {\r\n if (registerForm.controls[key].invalid) {\r\n const fieldElement = this.element.nativeElement.querySelector('[name=' + key + ']');\r\n registerForm.controls[key].markAsTouched();\r\n fieldElement.focus();\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n break;\r\n }\r\n }\r\n } else {\r\n let _vehicles = [];\r\n\r\n for (let i = 0; i < this.vehicles.length; i++) {\r\n\r\n let emptyField = '';\r\n if (this.vehicles[i].vehicle_type == '')\r\n emptyField = this.vehicles[i].idVehicle_type;\r\n else if (this.vehicles[i].vehicle_name == '')\r\n emptyField = this.vehicles[i].idVehicle_name;\r\n else if (this.vehicles[i].vehicle_capacity.toString() == '' || this.vehicles[i].vehicle_capacity < 1)\r\n emptyField = this.vehicles[i].idVehicle_capacity;\r\n else if (this.vehicles[i].directionHorseTravelForwards == 0 && this.vehicles[i].directionHorseTravelBackwards == 0 &&\r\n this.vehicles[i].directionHorseTravelOnSide == 0 && this.vehicles[i].directionEntryExitHorseForwards == 0 &&\r\n this.vehicles[i].directionEntryExitHorseBackwards == 0 && this.vehicles[i].directionEntryExitHorseOnSide == 0) {\r\n emptyField = this.vehicles[i].idDirectionHorseTravelForwards;\r\n }\r\n\r\n if (emptyField != '') {\r\n if (emptyField == this.vehicles[i].idDirectionHorseTravelForwards) {\r\n alert(this.emptyFieldDirectionHorse + ' ' + '\\n' + this.title_vehicle + ': ' + this.vehicles[i].vehicle_name);\r\n }\r\n const fieldElement = this.element.nativeElement.querySelector('[id=' + emptyField + ']');\r\n fieldElement.focus();\r\n\r\n this.fieldEmpty = true;\r\n break;\r\n }\r\n\r\n let transport_direction = this.vehicles[i].directionHorseTravelForwards ? '1' : '0';\r\n transport_direction += '$';\r\n transport_direction += this.vehicles[i].directionHorseTravelBackwards ? '1' : '0';\r\n transport_direction += '$';\r\n transport_direction += this.vehicles[i].directionHorseTravelOnSide ? '1' : '0';\r\n transport_direction += '$';\r\n transport_direction += this.vehicles[i].directionEntryExitHorseForwards ? '1' : '0';\r\n transport_direction += '$';\r\n transport_direction += this.vehicles[i].directionEntryExitHorseBackwards ? '1' : '0';\r\n transport_direction += '$';\r\n transport_direction += this.vehicles[i].directionEntryExitHorseOnSide ? '1' : '0';\r\n\r\n let features: FeaturesVehicle[] = [{\r\n column_name: 'feature_0',\r\n value: this.vehicles[i].vehicleFeatureCamera == 1 ? true : false\r\n }, {\r\n column_name: 'feature_1',\r\n value: this.vehicles[i].vehicleFeatureTemperature == 1 ? true : false\r\n }, {\r\n column_name: 'feature_2',\r\n value: this.vehicles[i].vehicleFeatureVentilation == 1 ? true : false\r\n }, {\r\n column_name: 'feature_3',\r\n value: this.vehicles[i].vehicleFeatureGPS == 1 ? true : false\r\n }, {\r\n column_name: 'feature_4',\r\n value: this.vehicles[i].vehicleFeatureNonSR == 1 ? true : false\r\n }, {\r\n column_name: 'feature_5',\r\n value: this.vehicles[i].aditionalSupport == 1 ? true : false\r\n }, {\r\n column_name: 'feature_6',\r\n value: this.vehicles[i].aditionalWater == 1 ? true : false\r\n }, {\r\n column_name: 'feature_7',\r\n value: this.vehicles[i].aditionalHay == 1 ? true : false\r\n }];\r\n\r\n let registerVehicle: RegisterVehicles = {\r\n vehicle_name: this.vehicles[i].vehicle_name,\r\n vehicle_type: this.vehicles[i].vehicle_type + '$' + this.vehicles[i].vehicle_year + '$' + this.vehicles[i].vehicleType,\r\n vehicle_capacity: this.vehicles[i].vehicle_capacity.toString(),\r\n vehicles_number: this.vehicles[i].vehicle_number,\r\n transport_direction: transport_direction,\r\n features: features\r\n };\r\n\r\n _vehicles.push(registerVehicle);\r\n }\r\n\r\n let keyVehicleRegistration = localStorage.getItem('keyVehicleRegistration').split('$')[1];\r\n\r\n let otherFeatures: OtherFeatures = {\r\n fk_enterprise: keyVehicleRegistration,\r\n other_features: this.vehicleFeatureOtherFeatures != '' ? this.vehicleFeatureOtherFeatures : null,\r\n other_additional: this.aditionalSomething != '' ? this.aditionalSomething : null\r\n };\r\n\r\n let insurance_files = this.accidentalInsuranceFile != null ? this.accidentalInsuranceFile : null;\r\n insurance_files += '$';\r\n insurance_files += this.deathInsuranceFile != null ? this.deathInsuranceFile : null;\r\n\r\n let insurance_horse_description = this.qytAccidentalInsurance != '' ? this.qytAccidentalInsurance : '0';\r\n insurance_horse_description += '$';\r\n insurance_horse_description += this.qytDeathInsurance != '' ? this.qytDeathInsurance : '0';\r\n\r\n let services_type = this.chkPremiumTrip + '$';\r\n services_type += this.chkSingleTrip == 1 ? '2' : '0';\r\n services_type += '$';\r\n services_type += this.chkLiftTrip == 1 ? '3' : '0';\r\n services_type += '$';\r\n services_type += this.chkHopOnHopOffTrip == 1 ? '4' : '0';\r\n services_type += '$';\r\n services_type += this.chkGuarantee == 1 ? '5' : '0';\r\n\r\n let _insurance = this.showInsuranceQuestions && this.qytAccidentalInsurance != '' && this.qytDeathInsurance ? true : false;\r\n\r\n let registerCompanyInfo: RegisterCompanyInfo = {\r\n fk_license: parseInt(registerForm.value['selTypeOfLicense']),\r\n license_date: registerForm.value['txtValidUntil'], // Caducidad de la licencia\r\n license_file: this.licenseFile == null ? '' : this.licenseFile, // Archivos de licencia\r\n insurance_file: insurance_files, // Archivos del seguro\r\n insurance: _insurance, // Si es que tiene seguro o no\r\n insurance_horses_description: insurance_horse_description, // Manda cantidad monetaria de los seguros\r\n driving_time: registerForm.value['txtYearsOfExperience'].toString(), // Tiempo en años manejando\r\n horses_time: registerForm.value['txtYearsOfExperienceWithHorses'].toString(), // Tiempo en años trabajando con caballos\r\n service_type: services_type, // Premium, lift (1,2,3)\r\n professional_trainer: registerForm.value['txtProfessional'] == null || registerForm.value['txtProfessional'] != '' ? ' ' : registerForm.value['txtProfessional'], // Profesionales trabajando\r\n company_description: registerForm.value['txtBrief'], // Descripcion de la compania\r\n anything_else: registerForm.value['lblShareWithUs'], // Algo más como campo\r\n fk_enterprises: keyVehicleRegistration, // Id de la empresa que se registra\r\n vehicles: _vehicles, // cuerpo de vehiculos\r\n otherFeatures: this.vehicleFeatureOtherFeatures != '' &&\r\n this.aditionalSomething != '' ? otherFeatures : null // textos adicionales\r\n };\r\n\r\n if (!this.fieldEmpty) {\r\n this.loginService.companyInfoWeb(registerCompanyInfo).then((result => {\r\n if (result.data == 'Data validation') {\r\n alert('Data validation');\r\n } else if (result.data == 'OK') {\r\n this.translate.get('nuevo_registro.registro_exitoso').subscribe((translated: string) => {\r\n alert(translated);\r\n });\r\n localStorage.removeItem('keyVehicleRegistration');\r\n this.router.navigate(['/login/' + this.language]);\r\n } else if (result.data == 'Unregistered user') {\r\n alert('Unregistered user');\r\n } else if (result.data == 'already saved') {\r\n localStorage.removeItem('keyVehicleRegistration');\r\n this.router.navigate(['/login/' + this.language]);\r\n } else {\r\n this.translate.get('nuevo_registro.error_inesperado').subscribe((translated: string) => {\r\n alert(translated);\r\n });\r\n }\r\n\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n })).catch((error => {\r\n console.error(error);\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n this.translate.get('nuevo_registro.error_inesperado').subscribe((translated: string) => {\r\n alert(translated);\r\n });\r\n }))\r\n } else {\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n }\r\n }\r\n }\r\n\r\n validateNumber(event) {\r\n if (event.target.value !== '') {\r\n event.target.value = event.target.value < 1 || Number.parseFloat(event.target.value) < 1 ? 1 : event.target.value;\r\n }\r\n }\r\n\r\n actionInsuranceQuestions(value) {\r\n\r\n this.showInsuranceQuestions = value == 1 ? true : false;\r\n\r\n if (!this.showInsuranceQuestions) {\r\n this.showQytAccidentalInsurance = false;\r\n this.showQytDeathInsurance = false;\r\n }\r\n }\r\n\r\n actionAccidentalInsurance(value) {\r\n this.showQytAccidentalInsurance = value == 1 ? true : false;\r\n\r\n if (!this.showInsuranceQuestions) {\r\n this.qytAccidentalInsurance = '';\r\n }\r\n }\r\n\r\n actionDeathInsurance(value) {\r\n this.showQytDeathInsurance = value == 1 ? true : false;\r\n\r\n if (!this.showQytDeathInsurance) {\r\n this.qytDeathInsurance = '';\r\n }\r\n }\r\n\r\n loadFile(file, typeFile) {\r\n if (file.length === 0)\r\n return;\r\n\r\n let mimeType = file[0].type;\r\n\r\n if (mimeType.match(/image\\/*/) == null && mimeType != 'application/pdf') {\r\n return;\r\n }\r\n var reader = new FileReader();\r\n reader.readAsDataURL(file[0]);\r\n reader.onload = (_event) => {\r\n if (typeFile == 1) { // Accident insurace\r\n this.accidentalInsuranceFile = reader.result;\r\n } else if (typeFile == 2) { // Death insurance\r\n this.deathInsuranceFile = reader.result;\r\n } else { // License file\r\n this.licenseFile = reader.result;\r\n }\r\n }\r\n }\r\n\r\n openModal() {\r\n this.modalService.open(this.modalContent, {\r\n ariaLabelledBy: 'modal-basic-title',\r\n centered: true,\r\n windowClass: 'transpModal',\r\n keyboard: false\r\n }).result.then((result) => {\r\n console.log(`Dismiss by ${result}`);\r\n }, (reason) => {\r\n console.log(`Dismiss by ${reason}`);\r\n });\r\n }\r\n}\r\n","export default \"html {\\r\\n margin: 0px;\\r\\n padding: 0px;\\r\\n}\\r\\n\\r\\nbody {\\r\\n margin: 0px;\\r\\n padding: 0px;\\r\\n padding-bottom: 50px;\\r\\n font-family: Arial, Helvetica, sans-serif;\\r\\n font-size: 9pt;\\r\\n background-color: #eaeff3;\\r\\n}\\r\\n\\r\\nh3 {\\r\\n color: lightgray;\\r\\n}\\r\\n\\r\\n#register_form {\\r\\n margin-bottom: 50px;\\r\\n}\\r\\n\\r\\n#btnRegister {\\r\\n margin-top: 20px;\\r\\n}\\r\\n\\r\\n.customgroup {\\r\\n border: 1px solid lightgray;\\r\\n padding: 10px;\\r\\n margin-top: 20px;\\r\\n}\\r\\n\\r\\n.rowSlider {\\r\\n align-items: stretch;\\r\\n display: flex;\\r\\n flex-direction: row;\\r\\n flex-wrap: nowrap;\\r\\n overflow-x: auto;\\r\\n overflow-y: hidden;\\r\\n}\\r\\n\\r\\n.cardStyle {\\r\\n max-width: 80%;\\r\\n min-width: 700px;\\r\\n padding: .75rem;\\r\\n margin-bottom: 2rem;\\r\\n margin-left: 1rem;\\r\\n border: 1;\\r\\n flex-basis: 80%;\\r\\n flex-grow: 0;\\r\\n flex-shrink: 0;\\r\\n background-color: #eaeff3;\\r\\n}\\r\\n\\r\\n.middle-container {\\r\\n width: 50%;\\r\\n}\\r\\n\\r\\n.cardHeader {\\r\\n display: flex;\\r\\n justify-content: space-between | space-around;\\r\\n}\\r\\n\\r\\n.cardFooter {\\r\\n display: flex;\\r\\n justify-content: space-between | space-around;\\r\\n}\\r\\n\\r\\n.btn-primary {\\r\\n background-color: #265fbb;\\r\\n}\\r\\n\\r\\n.transpModal .modal-content {\\r\\n background-color: transparent !important;\\r\\n border: 0px;\\r\\n}\\r\\n\\r\\n.transpModal .modal-header,\\r\\n.transpModal .modal-body,\\r\\n.transpModal .modal-footer {\\r\\n border: 0 !important;\\r\\n}\\r\\n\\r\\n@media (max-width: 768px) {\\r\\n .cardStyle {\\r\\n max-width: 80%;\\r\\n min-width: 300px;\\r\\n padding: .75rem;\\r\\n margin-bottom: 2rem;\\r\\n margin-left: 1rem;\\r\\n border: 1;\\r\\n flex-basis: 80%;\\r\\n flex-grow: 0;\\r\\n flex-shrink: 0;\\r\\n }\\r\\n}\\r\\n\\r\\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvdmVoaWNsZXMvdmVoaWNsZXMuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtFQUNFLFdBQVc7RUFDWCxZQUFZO0FBQ2Q7O0FBRUE7RUFDRSxXQUFXO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1xyXG4gICAgZmxleC1iYXNpczogODAlO1xyXG4gICAgZmxleC1ncm93OiAwO1xyXG4gICAgZmxleC1zaHJpbms6IDA7XHJcbiAgfVxyXG59XHJcbiJdfQ== */\"","import { Component, OnInit, ViewEncapsulation, ViewChild, ElementRef } from '@angular/core';\r\nimport { Title } from '@angular/platform-browser';\r\nimport { TranslateService } from '@ngx-translate/core';\r\nimport { LoginServices } from '../services/login/login.service';\r\nimport { FeedServices } from '../services/feed/feed.service';\r\nimport { NgbModal, ModalDismissReasons, NgbModalRef } from '@ng-bootstrap/ng-bootstrap';\r\nimport { ActivatedRoute, Router } from '@angular/router';\r\nimport { VehicleByEnterprise, Features } from '../model/interfaces';\r\n\r\n@Component({\r\n selector: 'vehicles',\r\n templateUrl: './vehicles.component.html',\r\n styleUrls: ['./vehicles.component.css'],\r\n encapsulation: ViewEncapsulation.None\r\n})\r\nexport class Vehicles implements OnInit {\r\n @ViewChild(\"loadingModal\", null) modalContent: NgbModalRef;\r\n routerLinkReturn: string = '/feed/new-trips/';\r\n\r\n // get vehicle by enterprises\r\n vehicles = [];\r\n\r\n // add vehicles\r\n newVehicles = [];\r\n numberVehicles: number;\r\n submitAll: boolean = false;\r\n emptyField: boolean = false;\r\n\r\n // generic vehicle data\r\n vehicleYear = [];\r\n vehicleType = [];\r\n configured_feature: Features [];\r\n\r\n language: string = '';\r\n\r\n featureCamera: string = '';\r\n featureTemperatureControl: string = '';\r\n featureVentilationSystem: string = '';\r\n featureGPS: string = '';\r\n featureNonSlidingRamps: string = '';\r\n featureAditionalSupport: string = '';\r\n featureAditionalWater: string = '';\r\n featureAditionalHay: string = '';\r\n save_changes: string = '';\r\n done: string = '';\r\n emptyFieldDirectionHorse: string = '';\r\n title_vehicle: string = '';\r\n\r\n constructor(private translate: TranslateService, private loginService: LoginServices, private feedServices: FeedServices, private modalService: NgbModal,\r\n private titleService: Title, private activedRoute: ActivatedRoute, private router: Router, private element: ElementRef) {\r\n\r\n if (loginService.getToken() == null || loginService.getToken() == '') {\r\n this.translate.get('sesion_caducada').subscribe(translated => {\r\n alert(translated);\r\n this.loginService.logout();\r\n this.router.navigate([`../login/${this.language}`], { replaceUrl: true });\r\n });\r\n } else {\r\n let _language = this.activedRoute.snapshot.params.language != null ? this.activedRoute.snapshot.params.language : this.translate.getBrowserLang();\r\n console.info('l => ' + _language);\r\n if (_language != 'es' && _language != 'en' && _language != 'it' && _language != 'de' && _language != 'pt') {\r\n this.language = 'de';//'en';\r\n } else {\r\n this.language = _language;\r\n }\r\n\r\n this.setAppLanguage();\r\n this.translate.get('inicio_sesion.registro_empresa').subscribe((translated: string) => {\r\n this.titleService.setTitle(translated);\r\n });\r\n this.routerLinkReturn += this.language;\r\n this.translate.get('nuevo_registro').subscribe((translated) => {\r\n this.emptyFieldDirectionHorse = translated.llenar_valor_de_seccion + ' \"' + translated.sentido_marcha + '\"';\r\n this.title_vehicle = translated.vehiculo;\r\n this.save_changes = translated.guardar_cambios;\r\n this.done = translated.guardado_correctamente;\r\n this.vehicleType.push({\r\n label: translated.camion,\r\n value: 1\r\n }, {\r\n label: translated.furgoneta,\r\n value: 2\r\n }, {\r\n label: translated.remolque,\r\n value: 3\r\n });\r\n });\r\n }\r\n }\r\n\r\n ngOnInit() {\r\n this.getVehiclesByEnterprise('initial');\r\n }\r\n\r\n getVehiclesByEnterprise(configurationType) {\r\n this.openModal();\r\n this.feedServices.getVehiclesByEnterprise(\r\n this.language\r\n ).then((result => {\r\n if (result.message == 'Unauthorized') {\r\n this.translate.get('sesion_caducada').subscribe(translated => {\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n alert(translated);\r\n this.loginService.logout();\r\n this.router.navigate([`../login/${this.language}`], { replaceUrl: true });\r\n });\r\n } else if (result.success) {\r\n\r\n for (let i = new Date().getFullYear(); i >= 1886; i--) {\r\n this.vehicleYear.push({\r\n vehicle_year: i\r\n });\r\n }\r\n\r\n let _vehicleByEnterprise: VehicleByEnterprise[];\r\n _vehicleByEnterprise = result.data;\r\n let splitType, splitDirection, currentNumber;\r\n this.configured_feature = [];\r\n\r\n _vehicleByEnterprise.forEach((item) => {\r\n splitType = item.vehicle_type.split('$');\r\n splitDirection = item.transport_direction.split('$');\r\n currentNumber = item.vehicles_number + 1;\r\n\r\n this.vehicles.push({\r\n id_vehicle: item.id_vehicle,\r\n vehicle_name: item.vehicle_name,\r\n idVehicle_name: 'vehicleName' + item.vehicles_number,\r\n\r\n vehicle_type: splitType[0],\r\n idVehicle_type: 'vehicleType' + item.vehicles_number,\r\n\r\n vehicle_capacity: item.vehicle_capacity,\r\n idVehicle_capacity: 'vehicleCapacity' + item.vehicles_number,\r\n\r\n vehicle_features: item.features,\r\n\r\n directionHorseTravelForwards: splitDirection[0] == '0' ? false : true,\r\n idDirectionHorseTravelForwards: 'directionHorseTravelForwards' + item.vehicles_number,\r\n\r\n directionHorseTravelBackwards: splitDirection[1] == '0' ? false : true,\r\n idDirectionHorseTravelBackwards: 'directionHorseTravelBackwards' + item.vehicles_number,\r\n\r\n directionHorseTravelOnSide: splitDirection[2] == '0' ? false : true,\r\n idDirectionHorseTravelOnSide: 'directionHorseTravelOnSide' + item.vehicles_number,\r\n\r\n directionEntryExitHorseForwards: splitDirection[3] == '0' ? false : true,\r\n idDirectionEntryExitHorseForwards: 'directionEntryExitHorseForwards' + item.vehicles_number,\r\n\r\n directionEntryExitHorseBackwards: splitDirection[4] == '0' ? false : true,\r\n idDirectionEntryExitHorseBackwards: 'directionEntryExitHorseBackwards' + item.vehicles_number,\r\n\r\n directionEntryExitHorseOnSide: splitDirection[5] == '0' ? false : true,\r\n idDirectionEntryExitHorseOnSide: 'directionEntryExitHorseOnSide' + item.vehicles_number,\r\n\r\n vehicleFeatureCamera: item.features[0].value,\r\n idVehicleFeatureCamera: 'vehicleFeatureCamera' + item.vehicles_number,\r\n\r\n vehicleFeatureTemperature: item.features[1].value,\r\n idVehicleFeatureTemperature: 'vehicleFeatureTemperature' + item.vehicles_number,\r\n\r\n vehicleFeatureVentilation: item.features[2].value,\r\n idVehicleFeatureVentilation: 'vehicleFeatureVentilation' + item.vehicles_number,\r\n\r\n vehicleFeatureGPS: item.features[3].value,\r\n idVehicleFeatureGPS: 'vehicleFeatureGPS' + item.vehicles_number,\r\n\r\n vehicleFeatureNonSR: item.features[4].value,\r\n idVehicleFeatureNonSR: 'vehicleFeatureNonSR' + item.vehicles_number,\r\n\r\n aditionalSupport: item.features[5].value,\r\n idAditionalSupport: 'aditionalSupport' + item.vehicles_number,\r\n\r\n aditionalWater: item.features[6].value,\r\n idAditionalWater: 'aditionalWater' + item.vehicles_number,\r\n\r\n aditionalHay: item.features[7].value,\r\n idAditionalHay: 'aditionalHay' + item.vehicles_number,\r\n\r\n vehicle_number: item.vehicles_number,\r\n saveEditedValue: false,\r\n vehicle_year: splitType[1],\r\n vehicleType: splitType[2]\r\n });\r\n });\r\n\r\n if (configurationType == 'initial') {\r\n _vehicleByEnterprise[0].features.forEach((feature) => {\r\n this.configured_feature.push({\r\n feature_type: feature.feature_type,\r\n feature: feature.feature,\r\n id_feature: feature.id_feature,\r\n feature_colum: feature.feature_colum,\r\n value: false\r\n });\r\n });\r\n\r\n this.featureCamera = _vehicleByEnterprise[0].features[0].feature;\r\n this.featureTemperatureControl = _vehicleByEnterprise[0].features[1].feature;\r\n this.featureVentilationSystem = _vehicleByEnterprise[0].features[2].feature;\r\n this.featureGPS = _vehicleByEnterprise[0].features[3].feature;\r\n this.featureNonSlidingRamps = _vehicleByEnterprise[0].features[4].feature;\r\n\r\n this.featureAditionalSupport = _vehicleByEnterprise[0].features[5].feature;\r\n this.featureAditionalWater = _vehicleByEnterprise[0].features[6].feature;\r\n this.featureAditionalHay = _vehicleByEnterprise[0].features[7].feature;\r\n\r\n this.newVehicles.push(this.setDeaultVehicle(currentNumber, 'initial'));\r\n }\r\n\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n }\r\n })).catch((error) => {\r\n console.error(error);\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n });\r\n }\r\n\r\n onSubmit(registerForm) {\r\n this.openModal();\r\n this.submitAll = true;\r\n this.emptyField = false;\r\n\r\n if (registerForm.invalid) {\r\n for (const key of Object.keys(registerForm.controls)) {\r\n if (registerForm.controls[key].invalid) {\r\n const fieldElement = this.element.nativeElement.querySelector('[name=' + key + ']');\r\n registerForm.controls[key].markAsTouched();\r\n fieldElement.focus();\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n break;\r\n }\r\n }\r\n } else {\r\n let _vehicles = this.modelingVehicleData(this.newVehicles, 'insert');\r\n\r\n if (!this.emptyField && _vehicles != null) {\r\n this.feedServices.addVehicle(\r\n _vehicles\r\n ).then((result) => {\r\n if (result.success) {\r\n alert(this.done);\r\n this.vehicles = [];\r\n this.newVehicles = [];\r\n this.submitAll = false;\r\n this.getVehiclesByEnterprise('initial');\r\n }\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n }).catch((error) => {\r\n console.error(error);\r\n });\r\n } else {\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n }\r\n }\r\n }\r\n\r\n setAppLanguage() {\r\n this.translate.setDefaultLang(this.language);\r\n this.translate.use(this.language);\r\n }\r\n\r\n editVehicle(item) {\r\n this.openModal();\r\n let currentVehicle = [], vehicleToSave = [];\r\n currentVehicle.push(this.vehicles.find(element => element.vehicle_number == item));\r\n\r\n if (currentVehicle[0].vehicle_type == '' || currentVehicle[0].vehicle_name == '' || isNaN(Number.parseFloat(currentVehicle[0].vehicle_capacity))) {\r\n currentVehicle[0].saveEditedValue = false;\r\n\r\n let field = '';\r\n if (currentVehicle[0].vehicle_type == '') {\r\n field = currentVehicle[0].idVehicle_type;\r\n } else if (currentVehicle[0].vehicle_name == '') {\r\n field = currentVehicle[0].idVehicle_name;\r\n } else if (currentVehicle[0].vehicle_capacity.toString() == '' || currentVehicle[0].vehicle_capacity < 1) {\r\n field = currentVehicle[0].idVehicle_capacity;\r\n }\r\n \r\n const fieldElement = this.element.nativeElement.querySelector('[id=' + field + ']');\r\n fieldElement.focus();\r\n\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n } else {\r\n vehicleToSave = this.modelingVehicleData(currentVehicle, 'update');\r\n if (confirm(this.save_changes)) {\r\n this.feedServices.updateVehicle(\r\n vehicleToSave[0]\r\n ).then((result) => {\r\n if (result.data) {\r\n alert(this.done);\r\n currentVehicle[0].saveEditedValue = false;\r\n }\r\n\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n }).catch((error) => {\r\n console.error(error);\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n });\r\n } else {\r\n this.modalService.dismissAll(ModalDismissReasons.ESC);\r\n }\r\n }\r\n }\r\n\r\n modelingVehicleData(arrayVehicle, operation) {\r\n let _vehicles = [];\r\n\r\n for (let i = 0; i < arrayVehicle.length; i++) {\r\n let transport_direction = arrayVehicle[i].directionHorseTravelForwards ? '1' : '0';\r\n transport_direction += '$';\r\n transport_direction += arrayVehicle[i].directionHorseTravelBackwards ? '1' : '0';\r\n transport_direction += '$';\r\n transport_direction += arrayVehicle[i].directionHorseTravelOnSide ? '1' : '0';\r\n transport_direction += '$';\r\n transport_direction += arrayVehicle[i].directionEntryExitHorseForwards ? '1' : '0';\r\n transport_direction += '$';\r\n transport_direction += arrayVehicle[i].directionEntryExitHorseBackwards ? '1' : '0';\r\n transport_direction += '$';\r\n transport_direction += arrayVehicle[i].directionEntryExitHorseOnSide ? '1' : '0';\r\n\r\n let features: any;\r\n\r\n if (operation == 'insert') {\r\n let emptyField = '';\r\n\r\n if (arrayVehicle[i].vehicle_type == '')\r\n emptyField = arrayVehicle[i].idVehicle_type;\r\n else if (arrayVehicle[i].vehicle_name == '')\r\n emptyField = arrayVehicle[i].idVehicle_name;\r\n else if (arrayVehicle[i].vehicle_capacity.toString() == '' || arrayVehicle[i].vehicle_capacity < 1)\r\n emptyField = arrayVehicle[i].idVehicle_capacity;\r\n else if (arrayVehicle[i].directionHorseTravelForwards == 0 && arrayVehicle[i].directionHorseTravelBackwards == 0 &&\r\n arrayVehicle[i].directionHorseTravelOnSide == 0 && arrayVehicle[i].directionEntryExitHorseForwards == 0 &&\r\n arrayVehicle[i].directionEntryExitHorseBackwards == 0 && arrayVehicle[i].directionEntryExitHorseOnSide == 0) {\r\n emptyField = arrayVehicle[i].idDirectionHorseTravelForwards;\r\n }\r\n\r\n if (emptyField != '') {\r\n if (emptyField == arrayVehicle[i].idDirectionHorseTravelForwards) {\r\n alert(this.emptyFieldDirectionHorse + ' ' + '\\n' + this.title_vehicle + ': ' + arrayVehicle[i].vehicle_name);\r\n }\r\n const fieldElement = this.element.nativeElement.querySelector('[id=' + emptyField + ']');\r\n fieldElement.focus();\r\n \r\n this.emptyField = true;\r\n\r\n break;\r\n } else {\r\n features = [{\r\n column_name: arrayVehicle[i].vehicle_features[0].feature_colum,\r\n value: arrayVehicle[i].vehicleFeatureCamera == 1 ? true : false\r\n }, {\r\n column_name: arrayVehicle[i].vehicle_features[1].feature_colum,\r\n value: arrayVehicle[i].vehicleFeatureTemperature == 1 ? true : false\r\n }, {\r\n column_name: arrayVehicle[i].vehicle_features[2].feature_colum,\r\n value: arrayVehicle[i].vehicleFeatureVentilation == 1 ? true : false\r\n }, {\r\n column_name: arrayVehicle[i].vehicle_features[3].feature_colum,\r\n value: arrayVehicle[i].vehicleFeatureGPS == 1 ? true : false\r\n }, {\r\n column_name: arrayVehicle[i].vehicle_features[4].feature_colum,\r\n value: arrayVehicle[i].vehicleFeatureNonSR == 1 ? true : false\r\n }, {\r\n column_name: arrayVehicle[i].vehicle_features[5].feature_colum,\r\n value: arrayVehicle[i].aditionalSupport == 1 ? true : false\r\n }, {\r\n column_name: arrayVehicle[i].vehicle_features[6].feature_colum,\r\n value: arrayVehicle[i].aditionalWater == 1 ? true : false\r\n }, {\r\n column_name: arrayVehicle[i].vehicle_features[7].feature_colum,\r\n value: arrayVehicle[i].aditionalHay == 1 ? true : false\r\n }];\r\n }\r\n } else {\r\n features = [{\r\n feature_type: arrayVehicle[i].vehicle_features[0].feature_type,\r\n feature: arrayVehicle[i].vehicle_features[0].feature,\r\n id_feature: arrayVehicle[i].vehicle_features[0].id_feature,\r\n feature_colum: arrayVehicle[i].vehicle_features[0].feature_colum,\r\n value: arrayVehicle[i].vehicleFeatureCamera == 1 ? true : false\r\n }, {\r\n feature_type: arrayVehicle[i].vehicle_features[1].feature_type,\r\n feature: arrayVehicle[i].vehicle_features[1].feature,\r\n id_feature: arrayVehicle[i].vehicle_features[1].id_feature,\r\n feature_colum: arrayVehicle[i].vehicle_features[1].feature_colum,\r\n value: arrayVehicle[i].vehicleFeatureTemperature == 1 ? true : false\r\n }, {\r\n feature_type: arrayVehicle[i].vehicle_features[2].feature_type,\r\n feature: arrayVehicle[i].vehicle_features[2].feature,\r\n id_feature: arrayVehicle[i].vehicle_features[2].id_feature,\r\n feature_colum: arrayVehicle[i].vehicle_features[2].feature_colum,\r\n value: arrayVehicle[i].vehicleFeatureVentilation == 1 ? true : false\r\n }, {\r\n feature_type: arrayVehicle[i].vehicle_features[3].feature_type,\r\n feature: arrayVehicle[i].vehicle_features[3].feature,\r\n id_feature: arrayVehicle[i].vehicle_features[3].id_feature,\r\n feature_colum: arrayVehicle[i].vehicle_features[3].feature_colum,\r\n value: arrayVehicle[i].vehicleFeatureGPS == 1 ? true : false\r\n }, {\r\n feature_type: arrayVehicle[i].vehicle_features[4].feature_type,\r\n feature: arrayVehicle[i].vehicle_features[4].feature,\r\n id_feature: arrayVehicle[i].vehicle_features[4].id_feature,\r\n feature_colum: arrayVehicle[i].vehicle_features[4].feature_colum,\r\n value: arrayVehicle[i].vehicleFeatureNonSR == 1 ? true : false\r\n }, {\r\n feature_type: arrayVehicle[i].vehicle_features[5].feature_type,\r\n feature: arrayVehicle[i].vehicle_features[5].feature,\r\n id_feature: arrayVehicle[i].vehicle_features[5].id_feature,\r\n feature_colum: arrayVehicle[i].vehicle_features[5].feature_colum,\r\n value: arrayVehicle[i].aditionalSupport == 1 ? true : false\r\n }, {\r\n feature_type: arrayVehicle[i].vehicle_features[6].feature_type,\r\n feature: arrayVehicle[i].vehicle_features[6].feature,\r\n id_feature: arrayVehicle[i].vehicle_features[6].id_feature,\r\n feature_colum: arrayVehicle[i].vehicle_features[6].feature_colum,\r\n value: arrayVehicle[i].aditionalWater == 1 ? true : false\r\n }, {\r\n feature_type: arrayVehicle[i].vehicle_features[7].feature_type,\r\n feature: arrayVehicle[i].vehicle_features[7].feature,\r\n id_feature: arrayVehicle[i].vehicle_features[7].id_feature,\r\n feature_colum: arrayVehicle[i].vehicle_features[7].feature_colum,\r\n value: arrayVehicle[i].aditionalHay == 1 ? true : false\r\n }];\r\n }\r\n\r\n let registerVehicle: VehicleByEnterprise = {\r\n id_vehicle: arrayVehicle[i].id_vehicle,\r\n vehicle_name: arrayVehicle[i].vehicle_name,\r\n vehicle_type: arrayVehicle[i].vehicle_type + '$' + arrayVehicle[i].vehicle_year + '$' + arrayVehicle[i].vehicleType,\r\n vehicle_capacity: arrayVehicle[i].vehicle_capacity.toString(),\r\n vehicles_number: arrayVehicle[i].vehicle_number,\r\n transport_direction: transport_direction,\r\n features: features\r\n };\r\n\r\n _vehicles.push(registerVehicle);\r\n }\r\n\r\n return _vehicles;\r\n }\r\n\r\n validateNumber(event) {\r\n if (event.target.value !== '') {\r\n event.target.value = event.target.value < 1 || Number.parseFloat(event.target.value) < 1 ? 1 : event.target.value;\r\n }\r\n }\r\n\r\n setDeaultVehicle(currentNumber, configurationType) {\r\n this.numberVehicles = currentNumber;\r\n\r\n let vehicle_name = '', vehicle_type = '', vehicle_year = '2021', vehicleType = '1';\r\n let vehicle_capacity = 1, directionHorseTravelForwards = 0, directionHorseTravelBackwards = 0, directionHorseTravelOnSide = 0, directionEntryExitHorseForwards = 0,\r\n directionEntryExitHorseBackwards = 0, directionEntryExitHorseOnSide = 0, vehicleFeatureCamera = 0, vehicleFeatureTemperature = 0, vehicleFeatureVentilation = 0,\r\n vehicleFeatureGPS = 0, vehicleFeatureNonSR = 0, aditionalSupport = 0, aditionalWater = 0, aditionalHay = 0;\r\n let vehicle_features = this.configured_feature;\r\n \r\n if (configurationType != 'initial') {\r\n let currentVehicle = this.newVehicles.find(element => element.vehicle_number == this.numberVehicles - 1);\r\n\r\n vehicle_name = currentVehicle.vehicle_name;\r\n vehicle_type = currentVehicle.vehicle_type;\r\n vehicle_year = currentVehicle.vehicle_year;\r\n vehicleType = currentVehicle.vehicleType;\r\n \r\n vehicle_capacity = currentVehicle.vehicle_capacity;\r\n directionHorseTravelForwards = currentVehicle.directionHorseTravelForwards;\r\n directionHorseTravelBackwards = currentVehicle.directionHorseTravelBackwards;\r\n directionHorseTravelOnSide = currentVehicle.directionHorseTravelOnSide;\r\n directionEntryExitHorseForwards = currentVehicle.directionEntryExitHorseForwards;\r\n directionEntryExitHorseBackwards = currentVehicle.directionEntryExitHorseBackwards;\r\n directionEntryExitHorseOnSide = currentVehicle.directionEntryExitHorseOnSide;\r\n vehicleFeatureCamera = currentVehicle.vehicleFeatureCamera;\r\n vehicleFeatureTemperature = currentVehicle.vehicleFeatureTemperature;\r\n vehicleFeatureVentilation = currentVehicle.vehicleFeatureVentilation;\r\n vehicleFeatureGPS = currentVehicle.vehicleFeatureGPS;\r\n vehicleFeatureNonSR = currentVehicle.vehicleFeatureNonSR;\r\n aditionalSupport = currentVehicle.aditionalSupport;\r\n aditionalWater = currentVehicle.aditionalWater;\r\n aditionalHay = currentVehicle.aditionalHay;\r\n\r\n vehicle_features = currentVehicle.vehicle_features;\r\n }\r\n\r\n return {\r\n vehicle_name: vehicle_name,\r\n idVehicle_name: 'vehicleName' + currentNumber,\r\n\r\n vehicle_type: vehicle_type,\r\n idVehicle_type: 'vehicleType' + currentNumber,\r\n\r\n vehicle_capacity: vehicle_capacity,\r\n idVehicle_capacity: 'vehicleCapacity' + currentNumber,\r\n\r\n vehicle_features: vehicle_features,\r\n\r\n directionHorseTravelForwards: directionHorseTravelForwards,\r\n idDirectionHorseTravelForwards: 'directionHorseTravelForwards' + currentNumber,\r\n\r\n directionHorseTravelBackwards: directionHorseTravelBackwards,\r\n idDirectionHorseTravelBackwards: 'directionHorseTravelBackwards' + currentNumber,\r\n\r\n directionHorseTravelOnSide: directionHorseTravelOnSide,\r\n idDirectionHorseTravelOnSide: 'directionHorseTravelOnSide' + currentNumber,\r\n\r\n directionEntryExitHorseForwards: directionEntryExitHorseForwards,\r\n idDirectionEntryExitHorseForwards: 'directionEntryExitHorseForwards' + currentNumber,\r\n\r\n directionEntryExitHorseBackwards: directionEntryExitHorseBackwards,\r\n idDirectionEntryExitHorseBackwards: 'directionEntryExitHorseBackwards' + currentNumber,\r\n\r\n directionEntryExitHorseOnSide: directionEntryExitHorseOnSide,\r\n idDirectionEntryExitHorseOnSide: 'directionEntryExitHorseOnSide' + currentNumber,\r\n\r\n vehicleFeatureCamera: vehicleFeatureCamera,\r\n idVehicleFeatureCamera: 'vehicleFeatureCamera' + currentNumber,\r\n\r\n vehicleFeatureTemperature: vehicleFeatureTemperature,\r\n idVehicleFeatureTemperature: 'vehicleFeatureTemperature' + currentNumber,\r\n\r\n vehicleFeatureVentilation: vehicleFeatureVentilation,\r\n idVehicleFeatureVentilation: 'vehicleFeatureVentilation' + currentNumber,\r\n\r\n vehicleFeatureGPS: vehicleFeatureGPS,\r\n idVehicleFeatureGPS: 'vehicleFeatureGPS' + currentNumber,\r\n\r\n vehicleFeatureNonSR: vehicleFeatureNonSR,\r\n idVehicleFeatureNonSR: 'vehicleFeatureNonSR' + currentNumber,\r\n\r\n aditionalSupport: aditionalSupport,\r\n idAditionalSupport: 'aditionalSupport' + currentNumber,\r\n\r\n aditionalWater: aditionalWater,\r\n idAditionalWater: 'aditionalWater' + currentNumber,\r\n\r\n aditionalHay: aditionalHay,\r\n idAditionalHay: 'aditionalHay' + currentNumber,\r\n\r\n vehicle_number: currentNumber,\r\n isLastItem: true,\r\n isDelete: false,\r\n vehicle_year: vehicle_year,\r\n vehicleType: vehicleType\r\n };\r\n }\r\n\r\n addVehicle(item) {\r\n this.numberVehicles++;\r\n let currentVehicle = this.newVehicles.find(element => element.vehicle_number == item);\r\n currentVehicle.isLastItem = false;\r\n currentVehicle.isDelete = true;\r\n\r\n this.newVehicles.push(this.setDeaultVehicle(this.numberVehicles, 'aditional'));\r\n }\r\n\r\n deleteVehicle(item) {\r\n let card = document.getElementById(item);\r\n card.remove();\r\n\r\n let currentVehiclePosition = this.newVehicles.map(function (e) {\r\n return e.vehicle_number;\r\n }).indexOf(item);\r\n\r\n this.newVehicles.splice(currentVehiclePosition, 1);\r\n this.numberVehicles--;\r\n\r\n let iterator = this.vehicles[this.vehicles.length - 1].vehicle_number + 1;\r\n this.newVehicles.forEach(function (e) {\r\n e.vehicle_number = iterator;\r\n iterator++;\r\n });\r\n\r\n let newCurrentVehiclePosition = this.newVehicles.find(\r\n element =>\r\n element.vehicle_number == Math.max.apply(\r\n Math,\r\n this.newVehicles.map(\r\n e => e.vehicle_number\r\n )\r\n )\r\n );\r\n\r\n newCurrentVehiclePosition.isLastItem = true;\r\n newCurrentVehiclePosition.isDelete = this.newVehicles.length > 1 ? true : false;\r\n\r\n }\r\n\r\n openModal() {\r\n this.modalService.open(this.modalContent, {\r\n ariaLabelledBy: 'modal-basic-title',\r\n centered: true,\r\n windowClass: 'transpModal',\r\n keyboard: false\r\n }).result.then((result) => {\r\n console.log(`Dismiss by ${result}`);\r\n }, (reason) => {\r\n console.log(`Dismiss by ${reason}`);\r\n });\r\n }\r\n}\r\n","// This file can be replaced during build by using the `fileReplacements` array.\r\n// `ng build ---prod` replaces `environment.ts` with `environment.prod.ts`.\r\n// The list of file replacements can be found in `angular.json`.\r\n\r\nexport const environment = {\r\n production: false\r\n};\r\n\r\n/*\r\n * In development mode, to ignore zone related error stack frames such as\r\n * `zone.run`, `zoneDelegate.invokeTask` for easier debugging, you can\r\n * import the following file, but please comment it out in production mode\r\n * because it will have performance impact when throw error\r\n */\r\n// import 'zone.js/dist/zone-error'; // Included with Angular CLI.\r\n","import { enableProdMode } from '@angular/core';\r\nimport { platformBrowserDynamic } from '@angular/platform-browser-dynamic';\r\n\r\nimport { AppModule } from './app/app.module';\r\nimport { environment } from './environments/environment';\r\n\r\nexport function getBaseUrl() {\r\n return document.getElementsByTagName('base')[0].href;\r\n}\r\n\r\nconst providers = [\r\n { provide: 'BASE_URL', useFactory: getBaseUrl, deps: [] }\r\n];\r\n\r\nif (environment.production) {\r\n enableProdMode();\r\n}\r\n\r\nplatformBrowserDynamic(providers).bootstrapModule(AppModule)\r\n .catch(err => console.log(err));\r\n"],"sourceRoot":"webpack:///"}