import{_ as m}from"./index-M_JNBppB.js";/* empty css                    */import{D as b,C as d}from"./element-3_pOinej.js";import{r as f,B as o,z as l,O as y,F as r,M as V,a7 as T,y as k,D as v,H as g,W as h,L as B}from"./vue-BJk78QHK.js";import"./threejs-BafxXW5-.js";import"./utils-YI6ye1sf.js";import"./vxe-Dx3zSILm.js";const C=["src"],F=Object.assign({name:"Tabs"},{__name:"Tabs",props:{element:{type:Object,default:()=>({})},propValue:{type:Object,default:()=>({})},editorpage:{type:Boolean,default:!1}},setup(e){const s=f(null);function i(n,t){}return(n,t)=>{const c=b,u=d;return l(),o("div",null,[y(u,{modelValue:e.propValue.activeTab,"onUpdate:modelValue":t[0]||(t[0]=a=>e.propValue.activeTab=a),type:"","tab-position":e.propValue.position,onTabClick:i},{default:r(()=>[(l(!0),o(V,null,T(e.propValue.tabs,(a,p)=>(l(),k(c,{key:a.title+p,label:a.title,name:a.url},{label:r(()=>[(l(),o("span",{key:e.propValue.activeTab,style:h({"font-size":`${e.propValue.fontZise}px`,color:a.url===e.propValue.activeTab?e.propValue.activColor:e.propValue.color})},B(a.title),5))]),default:r(()=>[v("iframe",{ref_for:!0,ref_key:"myFrame",ref:s,class:g(["iframe",{myFrame:e.editorpage}]),width:"100%",allowtransparency:"true",style:{"border-width":"0"},height:"100%",title:"myFrame",src:e.propValue.activeTab},null,10,C)]),_:2},1032,["label","name"]))),128))]),_:1},8,["modelValue","tab-position"])])}}}),L=m(F,[["__scopeId","data-v-49e5a39e"]]);export{L as default};
