import{d as l,m as p,k as d,a8 as a,D as s,o,h as i,p as m,V as u}from"./zEcrVex8.js";const h={flex:"~ gap4","items-center":""},g=l({__name:"NNavbar",props:{search:{},noPadding:{type:Boolean}},emits:["update:search"],setup(f,{emit:n}){const r=n;function t(e){r("update:search",e.target.value)}return(e,v)=>{const c=u;return o(),p("div",{flex:"~ col gap2",border:"b base","flex-1":"","n-navbar-glass":"",class:s([{p4:!e.noPadding}])},[d("div",h,[a(e.$slots,"search",{},()=>[e.search!==void 0?(o(),i(c,{key:0,placeholder:"Search...",icon:"carbon-search",n:"primary","flex-auto":"",class:s({"px-5 py-2":!e.noPadding}),value:e.search,onInput:t},null,8,["class","value"])):m("",!0)]),a(e.$slots,"actions")]),a(e.$slots,"default")],2)}}});export{g as _};
