PageSourceSearch

https://assets.learn-at-home.at/lh-at/v1.8.116/_nuxt/BHOSNXQL.js

js learn-at-home.at collected 2026-09-25 03:18:12 UTC 1,614 bytes, 1 lines download raw bytes

1import{d as p,E as c,o as a,h as l,b as t,P as f,A as g,i as y,t as b,j as h}from"./C7GUgkXF.js";const v={class:"w-full"},V={class:"input-container relative w-full"},w=["for"],$=["type","id","placeholder","value","maxlength","autocomplete"],k={key:0,class:"text-xs text-red-500"},A=p({__name:"index",props:{label:{},type:{},placeholder:{},modelValue:{},error:{},maxlength:{},autocomplete:{}},emits:["update:modelValue","focusin","focusout"],setup(s,{emit:n}){const u=s,d=n,r=c(u.modelValue),i=e=>{const o=e.target;r.value=o.value,d("update:modelValue",o.value)};return(e,o)=>(a(),l("div",v,[t("div",V,[t("label",{for:e.label,class:"absolute h-4 flex items-center top-1/4 font-medium text-gray-400 bg-white rounded-sm px-1 transition-all duration-500 ease-in-out origin-top-left transform -translate-y-full text-xs opacity-100 left-2"},[f(e.$slots,"default")],8,w),t("input",{type:e.type??"text",id:e.label,placeholder:e.placeholder,value:e.modelValue,onInput:i,onFocusin:o[0]||(o[0]=m=>e.$emit("focusin")),onFocusout:o[1]||(o[1]=m=>e.$emit("focusout")),maxlength:e.maxlength,autocomplete:e.autocomplete,class:g(["mt-1 block w-full py-2 rounded-md px-3 shadow-sm border focus:bg-white focus:ring-1 placeholder-gray-400 transition-all duration-500 ease-in-out font-medium",[e.error?"border-red-500 bg-red-50 focus:ring-red-500 focus:border-red-500":"border-gray-100 bg-gray-50 focus:ring-secondary-500 focus:border-secondary-500",(e.type??"text")==="date"&&!y(r)?"text-gray-400":"text-gray-700"]])},null,42,$)]),e.error?(a(),l("span",k,b(Array.isArray(e.error)?e.error[0]:e.error),1)):h("",!0)]))}});export{A 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.