1 |
- System.register(["./index-legacy-1934f85c.js","./index-legacy-e6915333.js"],(function(e,t){"use strict";var a,l,s,u,n,o,d;return{setters:[e=>{a=e.A},e=>{l=e.d,s=e.bM,u=e.x,n=e.f,o=e.t,d=e.F}],execute:function(){var t=document.createElement("style");t.textContent="._previewWindow_1jnin_1{width:100%;height:100%}\n",document.head.appendChild(t);const p="_previewWindow_1jnin_1";e("P",l({name:"preview-window",props:{show:{type:Boolean,default:!1},type:{type:String,default:""},params:{type:Object,default:()=>({})}},emit:["update:show"],setup(e,{emit:t}){const{show:l,type:i,params:r}=s(e);return console.log(i.value,"type"),u((()=>e.show),(()=>{l.value=e.show})),u((()=>e.type),(()=>{i.value=e.type})),u((()=>e.params),(()=>{r.value=e.params})),()=>n(d,null,[n(o,{show:l.value,"onUpdate:show":[e=>l.value=e,()=>{t("update:show",l.value)}],class:p,showIcon:!1,displayDirective:"show"},{default:()=>[n(d,null,[l.value?"attend"==i.value?n(a,{type:r.value.type||"",subjectId:r.value.subjectId||"",detailId:r.value.detailId||"",classGroupId:r.value.classGroupId||"",onClose:()=>t("update:show",!1)},null):"notation"==i.value?n("iframe",{src:r.value.src},null):"":""])]})])}}))}}}));
|