import"./rolldown-runtime-BM3Ffeng.js";import{o as e}from"./element-plus-vendor-BF9PNysW.js";import{A as t,D as n,E as r,I as i,O as a,Pt as o,Xt as s,bt as c,et as l,ht as u,k as d,qt as f}from"./vue-vendor-DMUmTARL.js";import{Tt as p}from"./index-y6crcKNt.js";var m={class:`zf-filter-segment__item`},h=p(i({__name:`ZFilterSegment`,props:{modelValue:{},options:{},ariaLabel:{}},emits:[`update:modelValue`],setup(i,{emit:p}){let h=i,g=p,_=r({get:()=>h.modelValue,set:e=>g(`update:modelValue`,e)}),v=r(()=>h.options.find(e=>e.value===h.modelValue)?.variant??`default`);return(r,p)=>{let h=e;return l(),a(h,{modelValue:o(_),"onUpdate:modelValue":p[0]||=e=>c(_)?_.value=e:null,options:i.options,"aria-label":i.ariaLabel,class:f([`zf-filter-segment`,`zf-filter-segment--${o(v)}`])},{default:u(({item:e})=>[n(`span`,m,[e.dot?(l(),t(`span`,{key:0,class:f([`status-dot-sm`,e.dot]),"aria-hidden":`true`},null,2)):d(``,!0),n(`span`,null,s(e.label),1)])]),_:1},8,[`modelValue`,`options`,`aria-label`,`class`])}}}),[[`__scopeId`,`data-v-e4f7d9e0`]]);export{h as t};