1import{C as i}from"./CalendarComponent.CG1BEvmN.js";import{J as s,O as u,V as d,W as p}from"./runtime-core.esm-bundler.B6keTsmA.js";import"./style.ByeKNX-J.js";import"./runtime-dom.esm-bundler.hR_rE5am.js";import"./translate.C4wggBpu.js";import"./_plugin-vue_export-helper.DlAUqK2U.js";const S=s({__name:"BaseCalendar",props:{date:{type:String,default:null},locale:{type:String,required:!1,default:"uk"},onDateChangeCallback:{type:String,required:!1,default:null}},setup(a){const n=a,o=e=>{if(!e)return;const t=window[n.onDateChangeCallback];if(typeof t=="function"){const l=e.getFullYear(),r=String(e.getMonth()+1).padStart(2,"0"),c=String(e.getDate()).padStart(2,"0");return t(l,r,c)}else console.warn(`Callback "${n.onDateChangeCallback}" is not a valid function or does not exist.`)};return(e,t)=>(u(),d(p(i),{date:a.date,locale:a.locale,"onUpdate:modelValue":o},null,8,["date","locale"]))}});export{S as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.