import{_ as a,p as s}from"./page_layout.js?v=1764233927359";import{av as e,au as o,dZ as t}from"./naive.js?v=1764233927359";import{k as p,a2 as r,V as l,a3 as n,W as i,s as c,q as u,R as m,a4 as d}from"./vue.js?v=1764233927359";const f={key:1},_=s(p({__name:"index",props:{text:{},iconName:{},placeholder:{default:""},inputProps:{}},emits:["click"],setup(s,{emit:p}){const _=p,x=()=>{_("click")};return(s,p)=>{const _=o,k=a,v=t,h=e;return l(),r(h,null,{default:n(()=>[i(_,c(s.$attrs,{placeholder:s.placeholder,"input-props":s.inputProps}),{suffix:n(()=>[u(s.$slots,"suffix",{},void 0,!0)]),_:3},16,["placeholder","input-props"]),i(v,{class:"flex-center w-42px cursor-pointer",onClick:x},{default:n(()=>[s.iconName?(l(),r(k,{key:0,name:s.iconName,size:"16",color:"#909399"},null,8,["name"])):(l(),m("span",f,d(s.text),1))]),_:1})]),_:3})}}}),[["__scopeId","data-v-4e9017bd"]]);export{_};
