import{C as o}from"./index-ec1fe160.js";import{n as r}from"./index-d59a8220.js";import"./vuedraggable.umd-61856d1f.js";import"./mdi-a5604f04.js";const n={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 s=function(){var e=this,l=e._self._c;return l("v-card-text",[l("v-form",{model:{value:e.valid,callback:function(a){e.valid=a},expression:"valid"}},[l("v-row",[l("v-col",[l("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(a){e.$set(e.value,"from",a)},expression:"value.from"}}),l("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(a){e.$set(e.value,"to",a)},expression:"value.to"}})],1)],1)],1)],1)},u=[],i=r(n,s,u,!1,null,null,null,null);const f=i.exports;export{f as default};
