| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- import { aX as A, aY as g, aZ as w, a_ as R, _ as v, d as _, a$ as m, b0 as j, b1 as M, b2 as U, b3 as G, b4 as D, b5 as F } from "./index2.js";
- import { defineComponent as a, createVNode as p } from "vue";
- const P = a({
- 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)]);
- };
- }
- }), V = a({
- name: "ATableSummaryCell",
- props: ["index", "colSpan", "rowSpan", "align"],
- setup(n, l) {
- let {
- attrs: o,
- slots: e
- } = l;
- const b = A(), T = g();
- return () => {
- const {
- index: t,
- colSpan: s = 1,
- rowSpan: x,
- align: f
- } = n, {
- prefixCls: E,
- direction: I
- } = b, {
- scrollColumnIndex: N,
- stickyOffsets: O,
- flattenColumns: y
- } = T, S = t + s - 1 + 1 === N ? s + 1 : s, L = w(t, t + S - 1, y, O, I);
- return p(R, v({
- class: o.class,
- index: t,
- component: "td",
- prefixCls: E,
- record: null,
- dataIndex: null,
- align: f,
- colSpan: S,
- rowSpan: x,
- customRender: () => {
- var r;
- return (r = e.default) === null || r === void 0 ? void 0 : r.call(e);
- }
- }, L), null);
- };
- }
- }), u = a({
- name: "ATableColumn",
- slots: Object,
- render() {
- return null;
- }
- }), c = a({
- name: "ATableColumnGroup",
- slots: Object,
- __ANT_TABLE_COLUMN_GROUP: !0,
- render() {
- return null;
- }
- }), C = P, i = V, d = _(F, {
- Cell: i,
- Row: C,
- name: "ATableSummary"
- }), Y = _(m, {
- SELECTION_ALL: D,
- SELECTION_INVERT: G,
- SELECTION_NONE: U,
- SELECTION_COLUMN: M,
- 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 {
- Y as _
- };
|