System.register(["./vue-core-legacy-Cn1vuJ3s.js?v=1773287522785","./naive-ui-legacy-BW82sq8q.js?v=1773287522785","./index-legacy-DQdImDha.js?v=1773287522785"],(function(a,t){"use strict";var e,n,b,l,s,d,o,i,r,p,v,c,u,m,f,y,g,h,w,x,k,_;return{setters:[a=>{e=a.k,n=a.an,b=a.$,l=a.a8,s=a.a9,d=a.Z,o=a.F,i=a.P,r=a.au,p=a.ad,v=a.s,c=a.ak,u=a.a0,m=a.j,f=a.aa,y=a.q,g=a.L,h=a.ao},a=>{w=a.$,x=a.n,k=a.Z},a=>{_=a.c}],execute:function(){var t=document.createElement("style");t.textContent=".bt-tabs-modal[data-v-9b556854]{--n-tab-gap-vertical: 0;--n-tab-border-color: var(--bt-tabs-modal-bg);--n-tab-color: var(--bt-tabs-modal-bg);--n-tab-border-radius: 0;--n-tab-text-color-active: var(--tabs-active-text-color);--n-tab-padding-vertical: 0 10px 0 20px;--n-tab-item-width: 170px;height:100%}.bt-tabs-modal[data-v-9b556854]>.n-tabs-nav{width:var(--n-tab-item-width);background-color:var(--bt-tabs-modal-bg)}.bt-tabs-modal[data-v-9b556854]>.n-tabs-nav .n-tabs-scroll-padding{border:none}.bt-tabs-modal[data-v-9b556854]>.n-tabs-nav .n-tabs-wrapper .n-tabs-tab-wrapper .n-tabs-tab{width:var(--n-tab-item-width);height:40px;border:none;justify-content:flex-start}.bt-tabs-modal[data-v-9b556854]>.n-tabs-nav .n-tabs-wrapper .n-tabs-tab-wrapper .n-tabs-tab.n-tabs-tab--active{background-color:var(--bt-tabs-modal-active-bg)}.bt-tabs-modal[data-v-9b556854]>.n-tabs-nav .n-tabs-wrapper .n-tabs-tab-wrapper .n-tabs-tab .n-tabs-tab__label{overflow:hidden}.bt-tabs-modal[data-v-9b556854]>.n-tab-pane{overflow:auto}.is-icon[data-v-9b556854]>.n-tabs-nav{width:81px}.is-icon[data-v-9b556854]>.n-tabs-nav .n-tabs-tab{width:81px!important;height:74px!important}\n/*$vite$:1*/",document.head.appendChild(t);const j=e({__name:"index",props:h({data:{default:()=>[]},isEllipsis:{type:Boolean,default:!1},isIcon:{type:Boolean,default:!1},panePadding:{default:"16px"}},{value:{},valueModifiers:{}}),emits:h(["click-self"],["update:value"]),setup(a,{expose:t,emit:e}){const h=e,_=n(a,"value"),j={},$=()=>{_.value&&j[_.value]?.init?.()};return t({init:$}),(a,t)=>{const e=x,n=w,C=k;return b(),l(C,{value:_.value,"onUpdate:value":t[0]||(t[0]=a=>_.value=a),class:g(["bt-tabs-modal",{"is-icon":a.isIcon}]),type:"card",placement:"left","pane-style":{padding:a.panePadding}},{default:s((()=>[(b(!0),d(o,null,i(a.data,(t=>(b(),d(o,null,[!1!==t.show?(b(),l(n,{key:t.key,name:t.key,tab:t.label,"display-directive":t.isLazy?"show:lazy":"if","tab-props":{onClick:a=>{t.key===_.value&&($(),h("click-self"))}}},r({default:s((()=>[t.component?(b(),l(p(t.component),v({key:0,ref_for:!0,ref:a=>((a,t)=>{j[t]=a})(a,t.key)},{ref_for:!0},{...t.data?t.data:{}}),null,16)):c("",!0)])),_:2},[a.isEllipsis?{name:"tab",fn:s((()=>[u(e,null,{default:s((()=>[m(f(t.label),1)])),_:2},1024)])),key:"0"}:void 0]),1032,["name","tab","display-directive","tab-props"])):c("",!0)],64)))),256)),y(a.$slots,"default",{},void 0,!0)])),_:3},8,["value","class","pane-style"])}}});a("_",_(j,[["__scopeId","data-v-9b556854"]]))}}}));
