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