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