import { aP as A, aQ as R, aR as g, aS as w, _ as v, d as p, aT as m, aU as j, aV as U, aW as M, aX as G, aY as P, aZ as V } from "./index2.js"; import { defineComponent as t, createVNode as _ } from "vue"; const D = t({ compatConfig: { MODE: 3 }, name: "ATableSummaryRow", setup(n, l) { let { slots: o } = l; return () => { var e; return _("tr", null, [(e = o.default) === null || e === void 0 ? void 0 : e.call(o)]); }; } }), F = t({ name: "ATableSummaryCell", props: ["index", "colSpan", "rowSpan", "align"], setup(n, l) { let { attrs: o, slots: e } = l; const T = A(), x = R(); return () => { const { index: a, colSpan: s = 1, rowSpan: b, align: f } = n, { prefixCls: E, direction: I } = T, { scrollColumnIndex: N, stickyOffsets: O, flattenColumns: y } = x, S = a + s - 1 + 1 === N ? s + 1 : s, L = g(a, a + S - 1, y, O, I); return _(w, v({ class: o.class, index: a, component: "td", prefixCls: E, record: null, dataIndex: null, align: f, colSpan: S, rowSpan: b, customRender: () => { var r; return (r = e.default) === null || r === void 0 ? void 0 : r.call(e); } }, L), null); }; } }), u = t({ name: "ATableColumn", slots: Object, render() { return null; } }), c = t({ name: "ATableColumnGroup", slots: Object, __ANT_TABLE_COLUMN_GROUP: !0, render() { return null; } }), C = D, i = F, d = p(V, { Cell: i, Row: C, name: "ATableSummary" }), Q = p(m, { SELECTION_ALL: P, SELECTION_INVERT: G, SELECTION_NONE: M, SELECTION_COLUMN: U, EXPAND_COLUMN: j, Column: u, ColumnGroup: c, Summary: d, install: (n) => (n.component(d.name, d), n.component(i.name, i), n.component(C.name, C), n.component(m.name, m), n.component(u.name, u), n.component(c.name, c), n) }); export { Q as _ };