import{z as l}from"./ebt3cj6n.js";import{p,W as d,X as i,Y as a,a0 as s,U as o,P as m,Z as u}from"./vendor/json-editor-vue-kcahofzr.js";const f={flex:"~ gap4 wrap","items-center":""},b=p({__name:"NNavbar",props:{search:{},noPadding:{type:Boolean}},emits:["update:search"],setup(h,{emit:n}){const r=n;function t(e){r("update:search",e.target.value)}return(e,_)=>{const c=l;return o(),d("div",{flex:"~ col gap2 wrap",border:"b base","flex-1":"","n-navbar-glass":"",class:s([{p4:!e.noPadding}])},[i("div",f,[a(e.$slots,"search",{},()=>[e.search!==void 0?(o(),m(c,{key:0,placeholder:"Search...",icon:"carbon-search",n:"primary","flex-auto":"",class:s({"px-3 py-2":!e.noPadding}),value:e.search,onInput:t},null,8,["class","value"])):u("",!0)]),a(e.$slots,"actions")]),a(e.$slots,"default")],2)}}});export{b as _};
