"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../../../config-provider/index.js");const d=require("../../../config-provider/hooks/use-namespace.js"),p=e.defineComponent({__name:"index",props:{params:{}},setup(a){const s=a,r=e.ref(!1),{e:i}=d.useNamespace("ag-grid");return e.onMounted(()=>{const{rowIndex:l,column:o,gridWrapperRef:c,lineClamp:u}=s.params,t=e.unref(c)?.querySelector(`div.ag-row[row-index="${l}"] .ag-cell[col-id="${o.colId}"] span.ag-cell-value`);if(!t){r.value=!0;return}const n=u===1?"Width":"Height";r.value=t[`scroll${n}`]>t[`client${n}`]}),(l,o)=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(e.unref(i)("tooltip"))},e.toDisplayString(a.params.value),3)),[[e.vShow,r.value]])}});exports.default=p;
