import{r as t,c as s,h as e,H as i}from"./p-BdVwMG9u.js";import{s as a}from"./p-CpDHeXfo.js";import{B as r}from"./p-ByiN-QjD.js";import{a as c}from"./p-DBsOHTWj.js";import"./p-Ba5qjFjW.js";import"./p-B1u-Mq75.js";import"./p-D7M-7v58.js";const h=class{constructor(e){t(this,e),this.balSelectDay=s(this,"balSelectDay"),this.selected=!1,this.today=!1,this.disabled=!1,this.onClick=(t,s)=>{this.disabled?a(t):this.balSelectDay.emit(s)}}render(){const t=r.block("date-calendar-cell");return e(i,{key:"d1db2d94effc57679d76eda478c58b8b249ec8f8",class:Object.assign(Object.assign(Object.assign(Object.assign({},t.class()),t.modifier("today").class(!this.disabled&&this.today)),t.modifier("selected").class(!this.disabled&&this.selected)),t.modifier("disabled").class(!0===this.disabled)),tabIndex:-1,type:"button",role:"button","aria-label":this.fullDate,"aria-selected":c(this.selected),"aria-disabled":c(this.disabled),title:this.fullDate,onClick:t=>this.onClick(t,this.isoDate)},e("time",{key:"9f52e4756e920afd593cc0e189fb7a3a787f87f0",dateTime:this.isoDate},this.day))}};export{h as bal_date_calendar_cell}