import{C as o}from"./index-BS9jO9ks.js";import{n as r}from"./index-Ms_1iFoB.js";import"./vuedraggable.umd-BPF4oUW7.js";const s={props:{value:{type:Object,default:()=>o.defaultFilter("string"),required:!0}},data(){return{valid:!1,rules:{from:[t=>!t||!this.value.to||t<=this.value.to||"From date should not be after to date"],to:[t=>!t||!this.value.from||t>=this.value.from||"To date should not be before from date"]}}},methods:{change(){this.$emit("change",this.value,this.valid)}}};var n=function(){var e=this,a=e._self._c;return a("v-card-text",[a("v-form",{model:{value:e.valid,callback:function(l){e.valid=l},expression:"valid"}},[a("v-row",[a("v-col",[a("v-text-field",{attrs:{type:"datetime-local",label:"From",rules:e.rules.from,clearable:""},on:{change:e.change},model:{value:e.value.from,callback:function(l){e.$set(e.value,"from",l)},expression:"value.from"}}),a("v-text-field",{attrs:{type:"datetime-local",label:"To",rules:e.rules.to,clearable:""},on:{change:e.change},model:{value:e.value.to,callback:function(l){e.$set(e.value,"to",l)},expression:"value.to"}})],1)],1)],1)],1)},u=[],i=r(s,n,u,!1,null,null);const d=i.exports;export{d as default};
