import{C as o}from"./index-058acbdf.js";import{n as r}from"./index-009d300e.js";import"./vuedraggable.umd-b2447fd7.js";const n={props:{value:{type:Object,default:()=>o.defaultFilter("string"),required:!0}},data(){return{valid:!1,rules:{from:[l=>!l||!this.value.to||l<=this.value.to||"From date should not be after to date"],to:[l=>!l||!this.value.from||l>=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,t=e._self._c;return t("v-card-text",[t("v-form",{model:{value:e.valid,callback:function(a){e.valid=a},expression:"valid"}},[t("v-row",[t("v-col",[t("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"}}),t("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 d=i.exports;export{d as default};
