PageSourceSearch

https://twenty20.de/_nuxt/CD3HtmdY.js

js twenty20.de collected 2026-09-29 12:42:22 UTC 2,861 bytes, 1 lines download raw bytes

1import{c,o as l,a as o,f as y,k as i,w as t,m as a,g as b,d as w,t as d,b as s,A as _,n as u,F as x,a9 as V}from"#entry";import{E as k,j as B,A as C,F as M,r as F,I as L}from"./Bxof4GPl.js";function j(r,m){return l(),c("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true","data-slot":"icon"},[o("path",{"fill-rule":"evenodd",d:"M5.22 10.22a.75.75 0 0 1 1.06 0L8 11.94l1.72-1.72a.75.75 0 1 1 1.06 1.06l-2.25 2.25a.75.75 0 0 1-1.06 0l-2.25-2.25a.75.75 0 0 1 0-1.06ZM10.78 5.78a.75.75 0 0 1-1.06 0L8 4.06 6.28 5.78a.75.75 0 0 1-1.06-1.06l2.25-2.25a.75.75 0 0 1 1.06 0l2.25 2.25a.75.75 0 0 1 0 1.06Z","clip-rule":"evenodd"})])}const z={class:"relative mt-0.5"},N={class:"col-start-1 row-start-1 truncate pr-6"},A=y({__name:"CustomListBox",props:{modelValue:{},options:{},label:{},disabled:{type:Boolean,default:!1},placeholder:{default:"Bitte wählen..."},formatModel:{type:Function,default:r=>String(r)}},emits:["update:modelValue"],setup(r,{emit:m}){const g=m,v=e=>{g("update:modelValue",e)};return(e,E)=>(l(),i(a(L),{as:"div",class:"py-2","model-value":e.modelValue,"onUpdate:modelValue":v,disabled:e.disabled},{default:t(()=>[e.label?(l(),i(a(k),{key:0,class:"block text-sm mb-1"},{default:t(()=>[w(d(e.label),1)]),_:1})):b("",!0),o("div",z,[s(a(B),{class:"grid w-full grid-cols-1 rounded-md bg-white py-1.5 pl-3 pr-2 text-left text-gray-900 cursor-pointer outline outline-1 -outline-offset-1 outline-gray-300 focus-visible:outline focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-indigo-600 disabled:cursor-not-allowed disabled:bg-gray-100 disabled:text-gray-500"},{default:t(()=>[o("span",N,d(e.modelValue?e.formatModel(e.modelValue):e.placeholder),1),s(a(j),{class:"col-start-1 row-start-1 size-5 self-center justify-self-end text-gray-500","aria-hidden":"true"})]),_:1}),s(V,{"leave-active-class":"transition ease-in duration-100","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:t(()=>[s(a(C),{class:"absolute z-10 mt-1 max-h-60 w-full overflow-auto rounded-md bg-white py-1 text-lg shadow-lg outline outline-1 outline-black/5 sm:text-sm"},{default:t(()=>[(l(!0),c(x,null,_(e.options,(n,h)=>(l(),i(a(M),{as:"template",key:String(e.formatModel(n)+h),value:n},{default:t(({active:f,selected:p})=>[o("li",{class:u([f?"bg-green text-white outline-none":"text-gray-900","relative cursor-pointer select-none py-2 pl-8 pr-4"])},[o("span",{class:u([p?"font-semibold":"font-normal","block truncate"])},d(e.formatModel?.(n)),3),p?(l(),c("span",{key:0,class:u([f?"text-white":"text-indigo-600","absolute inset-y-0 left-0 flex items-center pl-1.5"])},[s(a(F),{class:"size-5","aria-hidden":"true"})],2)):b("",!0)],2)]),_:2},1032,["value"]))),128))]),_:1})]),_:1})])]),_:1},8,["model-value","disabled"]))}}),T=Object.assign(A,{__name:"CustomListBox"});export{T 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.