import{B as t}from"./p-105f7627.js";var s;!function(t){t.Unix="unix",t.ISO="iso"}(s||(s={}));class e extends t{constructor(t,e,i,r){super(t,"date"),this.dateFormat="YYYY-MM-DD",this.timeFormat="HH:mm:ss",this.inputType="date",this.dateDataType=s.ISO,this.title=e,this.placeholder=i,this.description=r}setDataType(t){return this.dateDataType=t,this}setDateFormat(t){return this.dateFormat=t,this}setInputType(t){return this.inputType=t,this}setTimeFormat(t){return this.timeFormat=t,this}setTimePlaceholder(t){return this.timePlaceholder=t,this}showPreview(){return this.preview=!0,this}}e.type="date";export{e as D,s as a}