FitTrackee/fittrackee/dist/static/js/workouts.13789396.js

2 lines
83 KiB
JavaScript
Raw Normal View History

2021-11-03 09:10:23 +01:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["workouts"],{"0385":function(e,t,o){"use strict";o.r(t);var r=o("7a23"),a=Object(r["withScopeId"])("data-v-789e8e77");Object(r["pushScopeId"])("data-v-789e8e77");var n={key:0,id:"workouts",class:"view"},c={class:"container workouts-container"},l={class:"display-filters"},i={class:"list-container"};Object(r["popScopeId"])();var u=a((function(e,t,o,a,u,s){var d=Object(r["resolveComponent"])("WorkoutsFilters"),p=Object(r["resolveComponent"])("WorkoutsList");return e.authUser.username?(Object(r["openBlock"])(),Object(r["createBlock"])("div",n,[Object(r["createVNode"])("div",c,[Object(r["createVNode"])("div",{class:["filters-container",{hidden:e.hiddenFilters}]},[Object(r["createVNode"])(d,{sports:e.translatedSports,authUser:e.authUser,onFilter:e.toggleFilters},null,8,["sports","authUser","onFilter"])],2),Object(r["createVNode"])("div",l,[Object(r["createVNode"])("div",{onClick:t[1]||(t[1]=function(){return e.toggleFilters&&e.toggleFilters.apply(e,arguments)})},[Object(r["createVNode"])("i",{class:"fa fa-caret-".concat(e.hiddenFilters?"down":"up"),"aria-hidden":"true"},null,2),Object(r["createVNode"])("span",null,Object(r["toDisplayString"])(e.$t("workouts.".concat(e.hiddenFilters?"DISPLAY":"HIDE","_FILTERS"))),1)])]),Object(r["createVNode"])("div",i,[Object(r["createVNode"])(p,{user:e.authUser,sports:e.translatedSports},null,8,["user","sports"])])])])):Object(r["createCommentVNode"])("",!0)})),s=o("47e2"),d=(o("4de4"),o("caad"),o("2532"),Object(r["withScopeId"])("data-v-78f33062"));Object(r["pushScopeId"])("data-v-78f33062");var p={class:"workouts-filters"},b={class:"box"},O={class:"form"},j={class:"form-items-group"},m={class:"form-item"},f={class:"form-item"},k={class:"form-items-group"},g={class:"form-item"},y=Object(r["createVNode"])("option",{value:""},null,-1),v={class:"form-items-group"},w={class:"form-item"},h={class:"form-inputs-group"},N={class:"form-items-group"},S={class:"form-item"},T={class:"form-inputs-group"},V={class:"form-items-group"},D={class:"form-item"},C={class:"form-inputs-group"},_={class:"form-items-group"},E={class:"form-item"},x={class:"form-inputs-group"},A={class:"form-button"};Object(r["popScopeId"])();var B=d((function(e,t,o,a,n,c){return Object(r["openBlock"])(),Object(r["createBlock"])("div",p,[Object(r["createVNode"])("div",b,[Object(r["createVNode"])("div",O,[Object(r["createVNode"])("div",j,[Object(r["createVNode"])("div",m,[Object(r["createVNode"])("label",null,Object(r["toDisplayString"])(e.$t("workouts.FROM"))+": ",1),Object(r["createVNode"])("input",{name:"from",type:"date",value:e.$route.query.from,onChange:t[1]||(t[1]=function(){return e.handleFilterChange&&e.handleFilterChange.apply(e,arguments)})},null,40,["value"])]),Object(r["createVNode"])("div",f,[Object(r["createVNode"])("label",null,Object(r["toDisplayString"])(e.$t("workouts.TO"))+": ",1),Object(r["createVNode"])("input",{name:"to",type:"date",value:e.$route.query.to,onChange:t[2]||(t[2]=function(){return e.handleFilterChange&&e.handleFilterChange.apply(e,arguments)})},null,40,["value"])])]),Object(r["createVNode"])("div",k,[Object(r["createVNode"])("div",g,[Object(r["createVNode"])("label",null,Object(r["toDisplayString"])(e.$t("workouts.SPORT",1))+":",1),Object(r["createVNode"])("select",{name:"sport_id",value:e.$route.query.sport_id,onChange:t[3]||(t[3]=function(){return e.handleFilterChange&&e.handleFilterChange.apply(e,arguments)})},[y,(Object(r["openBlock"])(!0),Object(r["createBlock"])(r["Fragment"],null,Object(r["renderList"])(e.translatedSports.filter((function(t){return e.authUser.sports_list.includes(t.id)})),(function(e){return Object(r["openBlock"])(),Object(r["createBlock"])("option",{value:e.id,key:e.id},Object(r["toDisplayString"])(e.label),9,["value"])})),128))],40,["value"])])]),Object(r["createVNode"])("div",v,[Object(r["createVNode"])("div",w,[Object(r["createVNode"])("label",null,Object(r["toDisplayString"])(e.$t("workouts.DISTANCE"))+" (km): ",1),Object(r["createVNode"])("div",h,[Object(r["createVNode"])("input",{name:"distance_from",type:"num
//# sourceMappingURL=workouts.13789396.js.map