PageSourceSearch

https://www.swp.de/static/assets/X9MRHzqW.js

js swp.de collected 2026-09-24 08:42:39 UTC 1,340 bytes, 1 lines download raw bytes

1import{d as b,r as _,K as g,A as v,c as a,e as l,f as i,t,M as y,aO as V,g as u,k as m,F as h,l as M,O,n as k}from"./wGaC-Zcn.js";const B=["for"],q=["id","required"],L={key:0,disabled:"",value:""},S=["value","disabled"],C={key:0,class:"u-form__error-message"},A=b({__name:"Select",props:{name:{},label:{},modelValue:{},options:{},errorMessage:{default:""},emptyOptionLabel:{},required:{type:Boolean},isValidated:{type:Boolean,default:!1}},emits:["update:modelValue","change"],setup(c,{emit:p}){const o=c,n=p,r=_(o.modelValue),f=g(()=>o.options.map(e=>typeof e=="string"?{value:e,label:e}:e));return v(r,e=>{n("update:modelValue",e),n("change",e)}),(e,d)=>(a(),l("div",{class:k(["u-select",{"u-select--error":e.isValidated&&!!e.errorMessage,"u-select--success":e.isValidated&&!e.errorMessage}])},[i("label",{class:"u-select__label",for:e.name},t(e.label),9,B),y(i("select",{class:"u-select__select",id:e.name,"onUpdate:modelValue":d[0]||(d[0]=s=>O(r)?r.value=s:null),required:e.required},[e.emptyOptionLabel?(a(),l("option",L,t(e.emptyOptionLabel),1)):m("",!0),(a(!0),l(h,null,M(u(f),s=>(a(),l("option",{key:s.value,value:s.value,disabled:s.disabled===!0},t(s.label),9,S))),128))],8,q),[[V,u(r)]]),e.isValidated&&e.errorMessage?(a(),l("span",C,t(e.errorMessage),1)):m("",!0)],2))}}),F=Object.assign(A,{__name:"AtomsSelect"});export{F as _};

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.