"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const h=require("vue"),n=i=>{const l=h.shallowRef({width:0,height:0});function s(e){l.value={width:e.offsetWidth,height:e.offsetHeight}}return[h.computed(()=>{const e={};if(i.value){const{width:t,height:u}=l.value;i.value.includes("height")&&u?e.height=`${u}px`:i.value.includes("minHeight")&&u&&(e.minHeight=`${u}px`),i.value.includes("width")&&t?e.width=`${t}px`:i.value.includes("minWidth")&&t&&(e.minWidth=`${t}px`)}return e}),s]};exports.default=n;
