import{l as u,c as m}from"./index-BTglIPU2.js?v=1773287522785";import{b as d,av as f,au as g}from"./naive-ui--dJnpVcV.js?v=1773287522785";import{k,$ as o,a8 as t,a9 as e,a0 as s,s as h,q as N,Z as b,aa as v}from"./vue-core-DJjvd5ZC.js?v=1773287522785";const x={key:1},y=k({__name:"index",props:{text:{},iconName:{},placeholder:{default:""},inputProps:{}},emits:["click"],setup(B,{emit:p}){const a=p,_=()=>{a("click")};return(n,C)=>{const c=d,r=u,i=f,l=g;return o(),t(l,null,{default:e(()=>[s(c,h(n.$attrs,{placeholder:n.placeholder,"input-props":n.inputProps}),{suffix:e(()=>[N(n.$slots,"suffix",{},void 0,!0)]),_:3},16,["placeholder","input-props"]),s(i,{class:"flex-center cursor-pointer",onClick:_},{default:e(()=>[n.iconName?(o(),t(r,{key:0,name:n.iconName,size:"16",color:"#909399"},null,8,["name"])):(o(),b("span",x,v(n.text),1))]),_:1})]),_:3})}}}),q=m(y,[["__scopeId","data-v-7e68d329"]]);export{q as _};
