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

//# sourceMappingURL=TrBody.vue2.js.map