import{q as n,X as u}from"./icons-CbZw_MCi.js";import{d as m,o as l,c as r,e as s,b as d,a as i,s as p}from"./index-p1BAR2Hc.js";import{_ as f}from"./_plugin-vue_export-helper-DlAUqK2U.js";const V={class:"project-search-field"},h=["value","placeholder"],_=m({__name:"ProjectSearchField",props:{modelValue:{},placeholder:{default:"搜索项目"}},emits:["update:modelValue"],setup(t,{emit:c}){const o=c;return(v,e)=>(l(),r("div",V,[s(d(n),{size:17}),i("input",{value:t.modelValue,type:"search",placeholder:t.placeholder,onInput:e[0]||(e[0]=a=>o("update:modelValue",a.target.value))},null,40,h),t.modelValue?(l(),r("button",{key:0,type:"button",title:"清空搜索",onClick:e[1]||(e[1]=a=>o("update:modelValue",""))},[s(d(u),{size:16})])):p("",!0)]))}}),x=f(_,[["__scopeId","data-v-0e2390f7"]]);export{x as P};
