import{d as r,o as s,c as t,F as i,e as d,n as o,t as m,_ as u}from"./index-DO6SfH87.js";const p=["onClick"],g=r({__name:"index",props:{options:{},modelValue:{},size:{default:"medium"}},emits:["update:modelValue","change"],setup(_,{emit:n}){const l=n,c=e=>{l("update:modelValue",e),l("change",e)};return(e,f)=>(s(),t("div",{class:o(["chart-toggle",`size-${e.size}`])},[(s(!0),t(i,null,d(e.options,a=>(s(),t("div",{key:a.value,class:o(["toggle-btn",{active:e.modelValue===a.value}]),onClick:h=>c(a.value)},m(a.label),11,p))),128))],2))}}),C=u(g,[["__scopeId","data-v-f2cd568f"]]);export{C};
