import"./default.76e08716.js";import{I as k,_ as h,F as y}from"./index.0e96b1ad.js";import"./index.b2c65497.js";import"./index.5ec54e89.js";import{B as b}from"./index.0857d90f.js";import{u as x}from"./useSearch.2eb8f7a1.js";import{_ as C}from"./_plugin-vue_export-helper.cdc0426e.js";import{a as B,aT as q,o as l,b as E,e,w as a,a4 as g,aE as w,f as c,h as m}from"./index.ab0d47a4.js";import"./useFlexGapSupport.f5eec5c4.js";const F={class:"search"},I=m("\u67E5\u8BE2"),S=m("\u91CD\u7F6E"),U={__name:"user-search",emits:["queryClick","resetClick"],setup(D,{emit:i}){const t=B({username:"",nickname:""}),{formRef:u,queryEvent:p,resetEvent:f}=x(i,t);return(N,o)=>{const s=k,n=h,_=b,d=y,v=q("per");return l(),E("div",F,[e(d,{ref_key:"formRef",ref:u,layout:"inline",model:t,name:"search"},{default:a(()=>[e(n,{label:"\u7528\u6237\u540D",name:"username"},{default:a(()=>[e(s,{placeholder:"\u7528\u6237\u540D",value:t.username,"onUpdate:value":o[0]||(o[0]=r=>t.username=r)},null,8,["value"])]),_:1}),e(n,{label:"\u6635\u79F0",name:"nickname"},{default:a(()=>[e(s,{placeholder:"\u6635\u79F0",value:t.nickname,"onUpdate:value":o[1]||(o[1]=r=>t.nickname=r)},null,8,["value"])]),_:1}),g((l(),w(n,null,{default:a(()=>[e(_,{type:"primary",onClick:c(p)},{default:a(()=>[I]),_:1},8,["onClick"]),e(_,{style:{"margin-left":"10px"},onClick:c(f)},{default:a(()=>[S]),_:1},8,["onClick"])]),_:1})),[[v,"user:query"]])]),_:1},8,["model"])])}}},K=C(U,[["__scopeId","data-v-3a5631bb"]]);export{K as default};
