import { aQ as A, aR as R, aS as g, aT as w, _ as v, d as _, aU as m, aV as j, aW as U, aX as M, aY as G, aZ as V, a_ as D } from "./index2.js"; import { defineComponent as t, createVNode as p } from "vue"; const F = t({ compatConfig: { MODE: 3 }, name: "ATableSummaryRow", setup(n, l) { let { slots: o } = l; return () => { var e; return p("tr", null, [(e = o.default) === null || e === void 0 ? void 0 : e.call(o)]); }; } }), P = 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 p(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 = F, i = P, d = _(D, { Cell: i, Row: C, name: "ATableSummary" }), Q = _(m, { SELECTION_ALL: V, 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 _ };