import { defineComponent as l, ref as n, createElementBlock as s, openBlock as c, normalizeStyle as a, normalizeClass as f, renderSlot as m, nextTick as d } from "vue";
import { tapIf as i } from "@milaboratories/helpers";
const k = /* @__PURE__ */ l({
  __name: "TrBody",
  props: {
    row: {}
  },
  setup(t) {
    const o = n(), r = () => {
      d().then(() => {
        i(o.value, (e) => e.scrollLeft = 0);
      });
    };
    return (e, p) => (c(), s("div", {
      ref_key: "trRef",
      ref: o,
      class: f(["tr-body", { selected: t.row.selected }]),
      scroll: "no",
      style: a(t.row.style),
      onScroll: r
    }, [
      m(e.$slots, "default")
    ], 38));
  }
});
export {
  k as default
};
//# sourceMappingURL=TrBody.vue.js.map
