text: (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[123],{d36e:function(e,t,a){"use strict";a.r(t);var i=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"row justify-center full-width"},[a("q-calendar",{directives:[{name:"touch-swipe",rawName:"v-touch-swipe.mouse.left.right",value:e.handleSwipe,expression:"handleSwipe",modifiers:{mouse:!0,left:!0,right:!0}}],ref:"calendar",staticStyle:{height:"200px","max-width":"800px",width:"100%"},attrs:{view:"day-resource",resources:e.resources,"resource-height":50,locale:"en-us",sticky:"",animated:"","transition-prev":"slide-right","transition-next":"slide-left"},model:{value:e.selectedDate,callback:function(t){e.selectedDate=t},expression:"selectedDate"}})],1)},r=[],l=a("4082"),s=a.n(l),n={data(){return{selectedDate:"2019-04-01",resources:[{label:"John"},{label:"Mary"},{label:"Susan"},{label:"Olivia"},{label:"Board Room"},{label:"Room-1"},{label:"Room-2"}],dragging:!1,ignoreNextSwipe:!1}},methods:{calendarNext(){this.$refs.calendar.next()},calendarPrev(){this.$refs.calendar.prev()},handleSwipe(e){let{evt:t}=e,a=s()(e,["evt"]);!1===this.dragging&&(a.duration>=30&&!1===this.ignoreNextSwipe?"right"===a.direction?this.calendarPrev():"left"===a.direction&&this.calendarNext():this.ignoreNextSwipe=!1),!1!==t.cancelable&&t.preventDefault(),t.stopPropagation()}}},o=n,c=a("2877"),d=a("12c5"),u=a("eebe"),h=a.n(u),p=Object(c["a"])(o,i,r,!1,null,null,null);t["default"]=p.exports;h()(p,"directives",{TouchSwipe:d["a"]})}}]);