{"version":3,"file":"useComputedHeight2.mjs","sources":["../../../../../../../../packages/components/table/src/hooks/useComputedHeight.ts"],"sourcesContent":["import { onMounted } from 'vue'\nexport function useComputedHeight(intance, minHeight) {\n  onMounted(() => {\n    const tableBoxEl = intance && intance.value\n    if (tableBoxEl) {\n      const currentHeight = tableBoxEl.offsetHeight\n      console.log(currentHeight, 'currentHeightcurrentHeight', minHeight)\n      tableBoxEl.style.height = currentHeight > minHeight ? `${currentHeight}px` : `${minHeight}px`\n    }\n  })\n}\n"],"names":[],"mappings":";;AACO,SAAS,iBAAiB,CAAC,OAAO,EAAE,SAAS,EAAE;AACtD,EAAE,SAAS,CAAC,MAAM;AAClB,IAAI,MAAM,UAAU,GAAG,OAAO,IAAI,OAAO,CAAC,KAAK,CAAC;AAChD,IAAI,IAAI,UAAU,EAAE;AACpB,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,YAAY,CAAC;AACpD,MAAM,OAAO,CAAC,GAAG,CAAC,aAAa,EAAE,4BAA4B,EAAE,SAAS,CAAC,CAAC;AAC1E,MAAM,UAAU,CAAC,KAAK,CAAC,MAAM,GAAG,aAAa,GAAG,SAAS,GAAG,CAAC,EAAE,aAAa,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,SAAS,CAAC,EAAE,CAAC,CAAC;AACpG,KAAK;AACL,GAAG,CAAC,CAAC;AACL;;;;"}