UNPKG

@progress/kendo-vue-grid

Version:
47 lines (46 loc) 1.24 kB
/** * @license *------------------------------------------------------------------------------------------- * Copyright © 2026 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the package root for more information *------------------------------------------------------------------------------------------- */ import { defineComponent as r, inject as c, createVNode as a } from "vue"; import { TableSelection as o } from "@progress/kendo-vue-data-tools"; const m = /* @__PURE__ */ r({ name: "GridTableScrollable", inheritAttrs: !1, props: { selectable: Object, tableClassName: Object, tableStyle: Object }, setup(e, { slots: t }) { const { selectionRelease: b } = c("gridContext", {}); return () => { const n = { ...e.tableStyle }; return a(o, { selectable: e.selectable, onRelease: b }, { default: () => { var l; return [a("table", { role: "none", class: e.tableClassName, style: n }, [(l = t.default) == null ? void 0 : l.call(t)])]; } }); }; } }); export { m as GridTableScrollable };