PageSourceSearch

https://wr.group/_nuxt/Baxy6tE1.js

js wr.group collected 2026-10-09 23:45:47 UTC 1,114 bytes, 1 lines download raw bytes

1import{_ as o,d as n,i as a,g as l,N as i,e as u,t as s,ap as p,W as c,n as d}from"./BVbENzJI.js";const m={name:"WrInput",inheritAttrs:!1,props:{type:{type:String,default:"text"},label:{type:String,required:!0},modelValue:{type:String,default:""},error:{type:String,default:""}},emits:["update:modelValue","update:error"],computed:{component(){const e={tag:"input",attrs:{}};return this.type==="textarea"?e.tag="textarea":e.attrs.type=this.type,e}},methods:{onInput(e){this.error&&this.$emit("update:error",""),this.$emit("update:modelValue",e.target.value)},onInvalid(e){e.preventDefault(),this.$emit("update:error",e.target.validationMessage)}}},_={class:"sr-only"},g={key:0,class:"wr-input__error"};function h(e,f,t,y,I,r){return a(),n("label",{class:d(["wr-input",[{"wr-input--error":!!t.error},e.$attrs.class]])},[l("span",_,s(t.label),1),(a(),i(c(r.component.tag),p({...e.$attrs,...r.component.attrs},{placeholder:t.label,onInput:r.onInput,onInvalid:r.onInvalid}),null,16,["placeholder","onInput","onInvalid"])),t.error?(a(),n("span",g,s(t.error),1)):u("",!0)],2)}const x=o(m,[["render",h]]);export{x 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.