import{U as p}from"./element-plus.4a7d92a3.js";import{d as l,b as i,o as c,K as T}from"./@vue.18505fe0.js";const g=l({__name:"index",props:{startTime:{default:""},endTime:{default:""},type:{default:"datetimerange"}},emits:["update:startTime","update:endTime","change"],setup(r,{emit:m}){const a=r,t=m,s=e=>{t("change",e)},n=i({get:()=>[a.startTime,a.endTime],set:e=>{e===null?(t("update:startTime",""),t("update:endTime","")):(t("update:startTime",e[0]),t("update:endTime",e[1]))}});return(e,o)=>{const u=p;return c(),T(u,{modelValue:n.value,"onUpdate:modelValue":o[0]||(o[0]=d=>n.value=d),type:e.type,"range-separator":"-","start-placeholder":"\u5F00\u59CB\u65F6\u95F4","end-placeholder":"\u7ED3\u675F\u65F6\u95F4","value-format":"YYYY-MM-DD HH:mm:ss",clearable:"",onChange:s},null,8,["modelValue","type"])}}});export{g as _};
