PageSourceSearch

https://www.odlesdolomites.com/_nuxt/BlksHWg7.js

js odlesdolomites.com collected 2026-10-09 05:04:55 UTC 1,994 bytes, 1 lines download raw bytes

1import{_ as D}from"./mjIBEeip.js";import{d as K,r as L,a2 as C,c as F,k as j,h as n,j as q,A as l,g as m,l as A,K as d,q as B,m as t,F as I,D as N,a3 as S,B as T,a4 as z,ae as H,J}from"./ijRJCMGj.js";import{u as w,a as P}from"./_M425FRe.js";const U={class:"container"},G=["for"],O={class:"option"},Q=["for"],W=["id","value","name","onChange"],X={key:0,class:"error"},Y=K({__name:"Radio",props:{field:{},header:{},headerLayout:{},headerPosition:{},headerLink:{},subheader:{},uid:{},index:{},appearance:{}},setup(E){var _;const o=E,r=L(""),{value:i,meta:p,errorMessage:u}=w(()=>o.field.name??"",(_=o.field.label)!=null&&_.mandatory?C().required():C()),{value:v}=w((o.field.name??"")+"[title]"),c=F(()=>{var a;if(!u.value)return"";if(!((a=o.field.label)!=null&&a.title))return u;const e=u.value.split(" ");return e[0]=o.field.label.title,e.join(" ")}),M=P(),h=F(()=>p.dirty||p.validated||M.value);for(const e of o.field.options??[])if(e.isSelected){i.value=r.value=e.value,v.value=e.label??i.value;break}function R(e){i.value=r.value,v.value=e??i.value}return(e,a)=>{const V=D;return n(),j(V,{class:B(["item-"+e.field.marker,e.field.css])},{default:q(()=>{var b,k;return[l("div",U,[l("label",{for:"field-"+e.field.marker,class:"group-label"},d((b=e.field.label)==null?void 0:b.title)+d((k=e.field.label)!=null&&k.mandatory?"*":""),9,G),l("div",{class:B(["radio-options",t(h)&&t(c)?"hasError":""])}
1,[(n(!0),m(I,null,N(e.field.options,({value:f,label:g})=>(n(),m("div",O,[l("label",{for:"option-"+f+"-"+e.field.marker,class:"label",tabindex:"0",onKeyup:a[0]||(a[0]=T(s=>{var y;(y=s==null?void 0:s.target)==null||y.click()},["enter"]))},d(g),41,Q),S(l("input",{id:"option-"+f+"-"+e.field.marker,"onUpdate:modelValue":a[1]||(a[1]=s=>z(r)?r.value=s:null),value:f,name:e.field.name,type:"radio",onChange:s=>R(g),tabindex:"-1"},null,40,W),[[H,t(r)]])]))),256))],2),t(h)&&t(c)?(n(),m("div",X,d(t(c)),1)):A("",!0)])]}),_:1},8,["class"])}}}),ee=J(Y,[["__scopeId","data-v-ddbce583"]]);export{ee 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.