import{v as l}from"./er2hcepb.js";import{k as p,S as i,U as d,V as a,Y as s,Q as o,M as m,W as u}from"./vendor/json-editor-vue-gv8v06ez.js";const f={flex:"~ gap4","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,v)=>{const c=l;return o(),i("div",{flex:"~ col gap2",border:"b base","flex-1":"","n-navbar-glass":"",class:s([{p4:!e.noPadding}])},[d("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-5 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 _};
