import{Y as l}from"./element-plus-z3MwpXC9.js";import{d as i,b as p,o as u,L as c,u as f,i as T}from"./@vue-TMcuEboY.js";const k=i({__name:"index",props:{startTime:{default:""},endTime:{default:""}},emits:["update:startTime","update:endTime"],setup(o,{emit:s}){const n=o,e=s,a=p({get:()=>[n.startTime,n.endTime],set:t=>{t===null?(e("update:startTime",""),e("update:endTime","")):(e("update:startTime",t[0]),e("update:endTime",t[1]))}});return(t,r)=>{const m=l;return u(),c(m,{modelValue:f(a),"onUpdate:modelValue":r[0]||(r[0]=d=>T(a)?a.value=d:null),type:"datetimerange","range-separator":"-","start-placeholder":"开始时间","end-placeholder":"结束时间","value-format":"YYYY-MM-DD HH:mm:ss",clearable:""},null,8,["modelValue"])}}});export{k as _};
