System.register(["./page_layout-legacy.js?v=1753954525509","./vue-legacy.js?v=1753954525509","./naive-legacy.js?v=1753954525509"],(function(e,a){"use strict";var t,s,r,n,u,l,i,c,o,f,p,v,d,x,y;return{setters:[e=>{t=e._},e=>{s=e.k,r=e.r,n=e.af,u=e.U,l=e.a1,i=e.ax,c=e.a2,o=e.W,f=e.Q,p=e.s,v=e.at,d=e.X,x=e.ah},e=>{y=e.aq}],execute:function(){e("_",s({__name:"index",props:{value:{default:""},width:{default:240},prefix:{type:Boolean,default:!1}},emits:["search","update:value"],setup(e,{expose:a,emit:s}){const m=e,h=r(null);a({focus:()=>{h.value?.focus()}});const _=s,k=n(m,"value"),g=()=>{_("search",k.value)};return(e,a)=>{const s=t,r=y;return u(),l(r,p({value:d(k),"onUpdate:value":a[0]||(a[0]=e=>x(k)?k.value=e:null)},e.$attrs,{ref_key:"inputRef",ref:h,class:"bt-search",style:{width:`${e.width}px`},onKeyup:v(g,["enter"])}),i({_:2},[e.prefix?{name:"prefix",fn:c((()=>[o("div",{class:"flex items-center cursor-pointer",onClick:g},[f(s,{name:"search",size:"16"})])])),key:"0"}:void 0,e.prefix?void 0:{name:"suffix",fn:c((()=>[o("div",{class:"flex items-center cursor-pointer",onClick:g},[f(s,{name:"search",size:"16"})])])),key:"1"}]),1040,["value","style"])}}}))}}}));
