PageSourceSearch

https://skin.place/_nuxt/c0A8fNc1.js

js skin.place collected 2026-10-01 16:19:20 UTC 1,675 bytes, 1 lines download raw bytes

1import{Af as b,If as S,Md as v,Qd as _,Sf as F,Xd as o,Zd as V,on as w,sf as x,vf as B}from"./C_1SyR6j.js";var N=v("/images/commons/icons/search.svg"),z=Object.assign({name:"SearchField"},{__name:"SearchField",props:{size:{type:String,default:"default",validator:e=>["sm","default","lg"].includes(e)},width:{type:[String,Number],default:"100%"},customBackground:{type:String,default:"transparent"},maxWidth:{type:[Number,String],default:void 0},isTypeSecondary:{type:Boolean,default:null},height:{type:Number,default:null},placeholder:{type:String,default:"Search"},minWidth:{type:[Number,String],default:250},debounce:{type:Function,default:()=>{}},modelValue:{type:String,default:""}},emits:["search-input-focus","search-input-blur","update:modelValue"],setup(e,{expose:c,emit:s}){const t=e,d=s,i=x(),a=S(!1),r=o(()=>`opacity: ${t.modelValue.length>0?1:0}; cursor: ${t.modelValue.length>0?"pointer":"default"}`),f=o(()=>null);function m(){a.value=!0}function p(){a.value=!1}function l(n){d("update:modelValue",n)}function h(){l(""),t.debounce()}function g(){i.proxy.$el.querySelector("input")?.focus()}return c({isFocused:a,onFocus:m,onBlur:p,getStyles:f,clearBtnStyles:r,clearValue:h,focus:g}),(n,u)=>{const y=F("base-field");return B(),_(y,{id:"searchInput","model-value":e.modelValue,autocomplete:"off",size:e.size,width:e.width,placeholder:e.placeholder,"min-width":e.minWidth,"is-clearable":"",debounce:e.debounce,class:"search-field","onUpdate:modelValue":l},{icon:b(()=>[...u[0]||(u[0]=[V("img",{src:N,alt:"search"},null,-1)])]),_:1},8,["model-value","size","width","placeholder","min-width","debounce"])}}}),k=w(z,[["__scopeId","data-v-1c1c3727"]]);export{k as t};

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.