PageSourceSearch

https://nanocad.ru/_nuxt/BrndRadio.97ebf025.js

js nanocad.ru collected 2026-10-02 04:41:46 UTC 1,175 bytes, 1 lines download raw bytes

1import{c as o,o as s,b as u,g as r,N as n,L as p,k as b}from"./entry.2673b88e.js";const m={class:"group flex cursor-pointer text-body-2"},g={key:0,class:"ml-2"},h=["checked","value"],f={__name:"BrndRadio",props:{modelValue:{type:[String,Number],required:!0},value:{type:[String,Number],required:!0},disabled:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(l,{emit:d}){const e=l,a=o(()=>e.value==e.modelValue),c=o(()=>[a.value?"bg-blue border-blue text-white":"bg-white text-gray-dark group-hover:border-blue group-hover:text-blue",e.disabled&&"!text-gray-border !bg-gray-background !border-gray-border"]),i=t=>{e.disabled||d("update:modelValue",t.target.value)};return(t,v)=>(s(),u("label",m,[r("span",{class:n(["relative mt-[2px] flex h-[18px] w-[18px] shrink-0 items-center justify-center rounded-full border transition-all duration-100",c.value])},[r("span",{class:n(["h-2 w-2 rounded-full bg-current transition-all duration-100",!a.value&&"opacity-0"])},null,2)],2),t.$slots.default?(s(),u("span",g,[p(t.$slots,"default")])):b("",!0),r("input",{class:"sr-only",type:"radio",checked:a.value,value:l.value,onChange:i},null,40,h)]))}},_=f;export{_ 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.