1 |
- "use strict";(self["webpackChunkcimo"]=self["webpackChunkcimo"]||[]).push([[981],{47981:function(e,n,t){t.r(n),t.d(n,{default:function(){return l}});var a=t(74061),r=t(76661);const o=["src"];var i={__name:"files",setup(e){const n=(0,a.ref)(null),t=()=>{n.value&&(n.value.style.height="calc(100vh - 95px)")},i=e=>{(e.origin===window.location.origin||e.origin.includes("localhost"))&&e.data&&"resize"===e.data.type&&e.data.height&&n.value&&(n.value.style.height=e.data.height+"px")};return(0,a.onMounted)(()=>{window.addEventListener("message",i)}),(0,a.onBeforeUnmount)(()=>{window.removeEventListener("message",i)}),(e,i)=>((0,a.openBlock)(),(0,a.createElementBlock)("iframe",{ref_key:"counterFrame",ref:n,src:(0,a.unref)(r.c).baseURL+"/filemanager",width:"100%",frameborder:"0",scrolling:"yes",onLoad:t},null,40,o))}};const s=i;var l=s}}]);
|