import{E as e,Mt as t,Qt as n,W as r,Y as i,c as a,ft as o,h as s,tn as c,v as l,vt as u}from"./vendor/json-editor-vue-eojr4v24.js";import{D as d}from"./ready-dadbdj5i.js";import{P as f}from"./client-nwyjxodt.js";var p={class:`n-select-tabs flex flex-inline flex-wrap items-center border n-border-base rounded n-bg-base`},m=[`disabled`,`title`],h=[`disabled`,`value`,`title`],g=e({__name:`NSelectTabs`,props:{modelValue:{default:void 0},disabled:{type:Boolean,default:!1},options:{}},setup(e,{emit:g}){let _=f(e,`modelValue`,g,{passive:!0});return(f,g)=>(r(),l(`fieldset`,p,[(r(!0),l(a,null,i(e.options,(i,a)=>(r(),l(`label`,{key:i.label,disabled:e.disabled,class:n([`relative n-border-base px-0.5em py-0.1em hover:n-bg-active`,[a?`border-l n-border-base ml--1px`:``,i.value===t(_)?`n-bg-active`:``]]),title:i.label},[s(`div`,{class:n([i.value===t(_)?``:`op35`])},c(i.label),3),o(s(`input`,{"onUpdate:modelValue":g[0]||=e=>u(_)?_.value=e:null,type:`radio`,disabled:e.disabled,value:i.value,title:i.label,class:`absolute inset-0 op-0.1`},null,8,h),[[d,t(_)]])],10,m))),128))]))}}),_=Object.assign(g,{__name:`NSelectTabs`});export{_ as t};