1import{_ as l,c as d,a as n,n as r,e as u,t as m,q as c,v as f,o}from"./C_dDoqqV.js";const k=["SM","MD"],h={name:"RadioButton",props:{label:{type:String,default:""},checked:{type:Boolean,default:!1},size:{type:String,validator:i=>k.includes(i),default:"MD"}},computed:{sizeRadio(){return this.size==="SM"?"w-md h-md":"w-5 h-5"},sizeChecked(){return this.size==="SM"?"w-xs h-xs":"w-2.5 h-2.5"},textSize(){return this.size==="SM"?"body-sm":"body-md"}},methods:{selectRadio(){this.$emit("click")}}};function x(i,t,a,z,p,e){return o(),d("div",{class:"flex items-center gap-xs cursor-pointer",tabindex:"0",onClick:t[0]||(t[0]=(...s)=>e.selectRadio&&e.selectRadio(...s)),onKeyup:[t[1]||(t[1]=c((...s)=>e.selectRadio&&e.selectRadio(...s),["enter"])),t[2]||(t[2]=c(f((...s)=>e.selectRadio&&e.selectRadio(...s),["prevent"]),["space"]))]},[n("div",{class:r(["border-md color-stroke-3 rounded-pill flex justify-center items-center cursor-pointer hover:background-elevation-4",[e.sizeRadio,{"background-1 color-stroke-accent":a.checked}]])},[a.checked?(o(),d("div",{key:0,class:r(["background-accent-1 rounded-pill",e.sizeChecked])},null,2)):u("",!0)],2),n("span",{class:r(["leading-none",e.textSize])},m(a.label),3)],32)}const b=Object.assign(l(h,[["render",x]]),{__name:"RadioButton"});export{b 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.