import { cD as A, cE as g, cF as w, cG as R, _ as v, d as p, cH as m, cI as j, cJ as M, cK as G, cL as U, cM as D, cN as F } from "./index2.js"; import { defineComponent as l, createVNode as _ } from "vue"; const P = l({ compatConfig: { MODE: 3 }, name: "ATableSummaryRow", setup(n, a) { let { slots: o } = a; return () => { var e; return _("tr", null, [(e = o.default) === null || e === void 0 ? void 0 : e.call(o)]); }; } }), V = l({ name: "ATableSummaryCell", props: ["index", "colSpan", "rowSpan", "align"], setup(n, a) { let { attrs: o, slots: e } = a; const T = A(), x = g(); return () => { const { index: t, colSpan: s = 1, rowSpan: b, align: f } = n, { prefixCls: E, direction: I } = T, { scrollColumnIndex: N, stickyOffsets: O, flattenColumns: y } = x, S = t + s - 1 + 1 === N ? s + 1 : s, L = w(t, t + S - 1, y, O, I); return _(R, v({ class: o.class, index: t, 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); }; } }), c = l({ name: "ATableColumn", slots: Object, render() { return null; } }), u = l({ name: "ATableColumnGroup", slots: Object, __ANT_TABLE_COLUMN_GROUP: !0, render() { return null; } }), C = P, i = V, d = p(F, { Cell: i, Row: C, name: "ATableSummary" }), J = p(m, { SELECTION_ALL: D, SELECTION_INVERT: U, SELECTION_NONE: G, SELECTION_COLUMN: M, EXPAND_COLUMN: j, Column: c, ColumnGroup: u, 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(c.name, c), n.component(u.name, u), n) }); export { J as _ };