(window.webpackJsonp=window.webpackJsonp||[]).push([[33],{557:function(e,t,n){"use strict";n.r(t);var r={name:"HourInput",props:{value:{type:Object,default:()=>{}}},data:()=>({time:{},startTimeMenu:!1,endTimeMenu:!1}),methods:{selectTime(e){this.$refs["".concat(e,"TimeMenu")].save(this.value[e]),this.$emit("input",this.value)}}},l=n(6),component=Object(l.a)(r,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-row",[n("v-col",{staticClass:"col-6"},[n("v-menu",{ref:"startTimeMenu",attrs:{"close-on-content-click":!1,transition:"slide-x-transition","return-value":e.value.start,"offset-y":"",absolute:"",top:"","max-width":"290px","min-width":"290px"},on:{"update:returnValue":function(t){return e.$set(e.value,"start",t)},"update:return-value":function(t){return e.$set(e.value,"start",t)}},scopedSlots:e._u([{key:"activator",fn:function(t){var r=t.on;return[n("v-text-field",e._g({attrs:{label:e.$t("event.from"),"prepend-icon":"mdi-clock",rules:[e.$validators.required("event.from")],value:e.value.start,clearable:""}},r))]}}]),model:{value:e.startTimeMenu,callback:function(t){e.startTimeMenu=t},expression:"startTimeMenu"}},[e.startTimeMenu?n("v-time-picker",{ref:"time_start",attrs:{label:e.$t("event.from"),format:"24hr","allowed-minutes":[0,5,10,15,20,25,30,35,40,45,50,55]},on:{"click:minute":function(t){return e.selectTime("start")}},model:{value:e.value.start,callback:function(t){e.$set(e.value,"start",t)},expression:"value.start"}}):e._e()],1)],1),n("v-col",{staticClass:"col-6"},[n("v-menu",{ref:"endTimeMenu",attrs:{"close-on-content-click":!1,transition:"slide-x-transition","return-value":e.time.end,"offset-y":"",absolute:"",top:"","max-width":"290px","min-width":"290px"},on:{"update:returnValue":function(t){return e.$set(e.time,"end",t)},"update:return-value":function(t){return e.$set(e.time,"end",t)}},scopedSlots:e._u([{key:"activator",fn:function(t){var r=t.on;return[n("v-text-field",e._g({attrs:{"prepend-icon":"mdi-clock",label:e.$t("event.due"),value:e.value.end,clearable:"",readonly:""}},r))]}}]),model:{value:e.endTimeMenu,callback:function(t){e.endTimeMenu=t},expression:"endTimeMenu"}},[e.endTimeMenu?n("v-time-picker",{attrs:{label:e.$t("event.due"),format:"24hr","allowed-minutes":[0,5,10,15,20,25,30,35,40,45,50,55]},on:{"click:minute":function(t){return e.selectTime("end")}},model:{value:e.value.end,callback:function(t){e.$set(e.value,"end",t)},expression:"value.end"}}):e._e()],1)],1)],1)}),[],!1,null,null,null);t.default=component.exports}}]);