import{H as t,P as s,M as e,N as a}from"./p-BD2o1F4P.js";import{s as i}from"./p-CwsaXXwG.js";import{B as c}from"./p-ByiN-QjD.js";import{a as h}from"./p-DBsOHTWj.js";const r=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?i(t):this.balSelectDay.emit(s)}}render(){const t=c.block("date-calendar-cell");return e(a,{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":h(this.selected),"aria-disabled":h(this.disabled),title:this.fullDate,onClick:t=>this.onClick(t,this.isoDate)},e("time",{key:"9f52e4756e920afd593cc0e189fb7a3a787f87f0",dateTime:this.isoDate},this.day))}};export{r as bal_date_calendar_cell}