1import{_ as g}from"./qnjlBmsb.js";import{_ as D}from"./Cr-IQ5dp.js";import{_ as z}from"./C5I4_hgx.js";import{d as S,o as B,C,h as t,e as l,g as y,E as i,f as o,t as T,B as s}from"./ryoqzJ8o.js";import"./DcuHH1vY.js";const k={class:"d-flex flex-column ga-1"},R={class:"fs-12 text-gray-450"},W=S({__name:"radio",setup(q){const u=[{id:"id_card",name:"ID-каÑÑка"},{id:"passport_old_type",name:"ÐаÑпоÑÑ + ÐÐÐ"}],b=[{id:1,name:"Ðазовий"},{id:2,name:"ÐпÑималÑний"},{id:3,name:"ÐакÑималÑний"}],v=[{id:1,name:"Ðазовий"},{id:2,name:"ÐпÑималÑний"},{id:3,name:"ÐакÑималÑний",disabled:!0}],U=[{slug:"zaporizhzhia",title:"ÐапоÑÑжжÑ"},{slug:"kyiv",title:"ÐиÑв"}],m=s("id_card"),r=s("id_card"),p=s(1),_=s(2),c=s(1),f=s("zaporizhzhia"),V=s(null);return(I,e)=>{const n=g,d=D,x=z;return B(),C(x,{title:"UiRadio",path:"components/ui/radio",description:"РадÑо-гÑÑпа на наÑивниÑ
input[type=radio] (без v-radio â не ÑÑгнемо деÑолÑний mdi-глÑÑ Ð·Ð°Ñади CSS-кола). Props: items (обов'Ñзковий), item-text / item-value (клÑÑÑ Ð¿Ð¾Ð»Ñв, Ñк Ñ UiSelect â деÑолÑи 'name' / 'id'), label, name, inline (деÑÐ¾Ð»Ñ true), disabled, required, error-messages. v-model â знаÑÐµÐ½Ð½Ñ Ð¾Ð±Ñаного пÑнкÑÑ. ÐÑÐ½ÐºÑ Ð¼Ð¾Ð¶Ð½Ð° вимкнÑÑи полем disabled в items."},{default:t(()=>[l(d,{label:"inline (деÑолÑ)"},{default:t(()=>[y("div",k,[l(n,{modelValue:o(m),"onUpdate:modelValue":e[0]||(e[0]=a=>i(m)?m.value=a:null),items:u,name:"document_type"},null,8,["modelValue"]),y("span",R,"docType: "+T(o(m)),1)])]),_:1}),l(d,{label:"колонкоÑ"},{default:t(()=>[l(n,{modelValue:o(p),"onUpdate:modelValue":e[1]||(e[1]=a=>i(p)?p.value=a:null),items:b,name:"plan",inline:!1},null,8,["modelValue"])]),_:1}),l(d,{label:"з label"},{default:t(()=>[l(n,{modelValue:o(_),"onUpdate:modelValue":e[2]||(e[2]=a=>i(_)?_.value=a:null),items:b,name:"plan-label",label:"ТаÑиÑний план",required:""},null,8,["modelValue"])]),_:1}),l(d,{label:"влаÑÐ½Ñ ÐºÐ»ÑÑÑ Ð¿Ð¾Ð»Ñв"},{default:t(()=>[l(n,{modelValue:o(f),"onUpdate:modelValue":e[3]||(e[3]=a=>i(f)?f.value=a:null),items:U,"item-text":"title","item-value":"slug",name:"city"},null,8,["modelValue"])]),_:1}),l(d,{label:"disabled пÑнкÑ"},{default:t(()=>[l(n,{modelValue:o(c),"onUpdate:modelValue":e[4]||(e[4]=a=>i(c)?c.value=a:null),items:v,name:"plan-dis"},null,8,["modelValue"])]),_:1}),l(d,{label:"disabled вÑÑ Ð³ÑÑпа"},{default:t(()=>[l(n,{modelValue:o(r),"onUpdate:modelValue":e[5]||(e[5]=a=>i(r)?r.value=a:null),items:u,name:"doc-dis",disabled:""},null,8,["modelValue"])]),_:1}),l(d,{label:"error-messages"},{default:t(()=>[l(n,{modelValue:o(V),"onUpdate:modelValue":e[6]||(e[6]=a=>i(V)?V.value=a:null),items:u,name:"doc-err","error-messages":["ÐбеÑÑÑÑ Ñип докÑменÑа"]},null,8,["modelValue"])]),_:1})]),_:1})}}});
1export{W 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.