PageSourceSearch

https://www.skiworldahrntal.it/_nuxt/DOCGR6dH.js

js skiworldahrntal.it collected 2026-09-24 23:56:17 UTC 1,845 bytes, 1 lines download raw bytes

1import{_ as $}from"./CPlwdP3t.js";import{d as x,r as L,O as C,e as n,p as T,o as p,j as V,k as b,P as j,g as y,l as F,n as l,i as a,t as u,Q as A,R as D,x as N}from"./BTDG1Jc3.js";import{u as P,a as q}from"./sEjCqvXW.js";const z=["for"],H=["id","name"],O={key:1,class:"error"},Q=x({__name:"Input",props:{field:{},header:{},headerLayout:{},headerPosition:{},headerLink:{},subheader:{},uid:{},index:{},appearance:{}},setup(B){var g;const s=B,o=L(!1),{value:t,meta:v,errorMessage:d}=P(s.field.name??"",(g=s.field.label)!=null&&g.mandatory?C().required():C()),m=n(()=>{var r;if(!d.value)return"";if(!((r=s.field.label)!=null&&r.title))return d;const e=d.value.split(" ");return e[0]=s.field.label.title,e.join(" ")}),I=q(),h=n(()=>v.dirty||v.validated||I.value);function w(){M()}const i=n(()=>s.field.maxChars??0),c=n(()=>{var e;return i.value-(((e=t.value)==null?void 0:e.length)??0)}),E=n(()=>c.value<=0);function M(){i.value&&c.value<0&&(t.value=t.value.substring(0,i.value))}return(e,r)=>{const R=$;return p(),T(R,{class:l(["item-"+e.field.marker,e.field.css])},{default:V(()=>{var k,_;return[b("label",{for:"field-"+e.field.marker,class:l([a(o)?"active":"",a(t)?"hasContent":""])},u((k=e.field.label)==null?void 0:k.title)+u((_=e.field.label)!=null&&_.mandatory?"*":""),11,z),j(b("input",{id:"field-"+e.field.marker,"onUpdate:modelValue":r[0]||(r[0]=f=>A(t)?t.value=f:null),name:e.field.name,type:"text",onInput:w,onFocus:r[1]||(r[1]=f=>o.value=!0),onBlur:r[2]||(r[2]=f=>o.value=!1),class:l([a(h)&&a(m)?"hasError":"",a(o)?"active":""])},null,42,H),[[D,a(t),void 0,{trim:!0}]]),a(i)?(p(),y("div",{key:0,class:l(["chars-remaining",{warning:a(E)}])},u(e.$t("formField.charsRemaining",{count:a(c)})),3)):F("",!0),a(h)&&a(m)?(p(),y("div",O,u(a(m)),1)):F("",!0)]}),_:1},8,["class"])}}}),G=N(Q,[["__scopeId","data-v-a227fa31"]]);export{G 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.