@vtable-guild/vtable-guild 2.7.1 → 2.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/css/presets/antdv.css +36 -0
- package/css/presets/element-plus.css +38 -0
- package/css/style.css +436 -0
- package/css/tailwind3-utilities.css +337 -0
- package/css/tailwind3.css +99 -0
- package/css/tailwind4.css +99 -0
- package/css/transitions.css +25 -0
- package/dist/core/src/components/VirtualList/VirtualList.d.ts +6 -3
- package/dist/core/src/components/VirtualList/VirtualList.d.ts.map +1 -1
- package/dist/core/src/components/VirtualList/VirtualList.mjs +187 -180
- package/dist/core/src/components/VirtualList/VirtualScrollBar.d.ts +1 -1
- package/dist/core/src/components/VirtualList/hooks/useChildren.d.ts +2 -2
- package/dist/core/src/components/VirtualList/hooks/useChildren.d.ts.map +1 -1
- package/dist/core/src/components/VirtualList/hooks/useChildren.mjs +12 -12
- package/dist/core/src/components/VirtualList/hooks/useGetSize.d.ts +1 -1
- package/dist/core/src/components/VirtualList/hooks/useGetSize.d.ts.map +1 -1
- package/dist/core/src/components/VirtualList/hooks/useGetSize.mjs +1 -1
- package/dist/core/src/components/VirtualList/hooks/useHeights.d.ts +2 -2
- package/dist/core/src/components/VirtualList/hooks/useHeights.d.ts.map +1 -1
- package/dist/core/src/components/VirtualList/hooks/useHeights.mjs +36 -36
- package/dist/core/src/components/VirtualList/hooks/useMobileTouchMove.d.ts.map +1 -1
- package/dist/core/src/components/VirtualList/hooks/useMobileTouchMove.mjs +11 -11
- package/dist/core/src/components/VirtualList/hooks/useMobileTouchMove.test.d.ts +2 -0
- package/dist/core/src/components/VirtualList/hooks/useMobileTouchMove.test.d.ts.map +1 -0
- package/dist/core/src/components/VirtualList/hooks/useScrollTo.d.ts +1 -1
- package/dist/core/src/components/VirtualList/hooks/useScrollTo.d.ts.map +1 -1
- package/dist/core/src/components/VirtualList/hooks/useScrollTo.mjs +30 -30
- package/dist/core/src/index.d.ts +1 -1
- package/dist/core/src/index.d.ts.map +1 -1
- package/dist/core/src/utils/types.d.ts +18 -0
- package/dist/core/src/utils/types.d.ts.map +1 -1
- package/dist/css/presets/antdv.css +36 -0
- package/dist/css/presets/element-plus.css +38 -0
- package/dist/css/style.css +436 -0
- package/dist/css/tailwind3-utilities.css +337 -0
- package/dist/css/tailwind3.css +99 -0
- package/dist/css/tailwind4.css +99 -0
- package/dist/css/transitions.css +25 -0
- package/dist/index.d.ts +0 -26
- package/dist/index.full.mjs +5116 -3769
- package/dist/index.mjs +85 -75
- package/dist/table/src/components/ColGroup.d.ts.map +1 -1
- package/dist/table/src/components/ColGroup.mjs +10 -10
- package/dist/table/src/components/ColumnWidthRow.d.ts +4 -0
- package/dist/table/src/components/ColumnWidthRow.d.ts.map +1 -0
- package/dist/table/src/components/ColumnWidthRow.mjs +23 -0
- package/dist/table/src/components/PaginationSizeSelect.d.ts +57 -0
- package/dist/table/src/components/PaginationSizeSelect.d.ts.map +1 -0
- package/dist/table/src/components/PaginationSizeSelect.mjs +138 -0
- package/dist/table/src/components/SelectionDropdown.d.ts +9 -0
- package/dist/table/src/components/SelectionDropdown.d.ts.map +1 -1
- package/dist/table/src/components/SelectionDropdown.mjs +32 -26
- package/dist/table/src/components/Table.d.ts +13 -2
- package/dist/table/src/components/Table.d.ts.map +1 -1
- package/dist/table/src/components/Table.mjs +496 -403
- package/dist/table/src/components/TableCell.d.ts.map +1 -1
- package/dist/table/src/components/TableCell.mjs +80 -74
- package/dist/table/src/components/TableHeaderCell.d.ts.map +1 -1
- package/dist/table/src/components/TableHeaderCell.mjs +85 -83
- package/dist/table/src/components/TablePagination.d.ts +74 -0
- package/dist/table/src/components/TablePagination.d.ts.map +1 -0
- package/dist/table/src/components/TablePagination.mjs +350 -0
- package/dist/table/src/components/TablePagination.test.d.ts +2 -0
- package/dist/table/src/components/TablePagination.test.d.ts.map +1 -0
- package/dist/table/src/components/TablePaginationCompatClass.test.d.ts +2 -0
- package/dist/table/src/components/TablePaginationCompatClass.test.d.ts.map +1 -0
- package/dist/table/src/components/TablePaginationLayout.test.d.ts +2 -0
- package/dist/table/src/components/TablePaginationLayout.test.d.ts.map +1 -0
- package/dist/table/src/components/VTable.vue.d.ts.map +1 -1
- package/dist/table/src/components/VTable.vue.mjs +34 -26
- package/dist/table/src/components/VTableMinWidth.test.d.ts +2 -0
- package/dist/table/src/components/VTableMinWidth.test.d.ts.map +1 -0
- package/dist/table/src/components/VTableSummary.d.ts +15 -75
- package/dist/table/src/components/VTableSummary.d.ts.map +1 -1
- package/dist/table/src/components/VTableSummary.mjs +7 -7
- package/dist/table/src/components/VTableSummaryCell.d.ts.map +1 -1
- package/dist/table/src/components/VTableSummaryCell.mjs +26 -24
- package/dist/table/src/components/VirtualTableBody.d.ts.map +1 -1
- package/dist/table/src/components/VirtualTableBody.mjs +107 -95
- package/dist/table/src/composables/useColumnLayout.d.ts +28 -0
- package/dist/table/src/composables/useColumnLayout.d.ts.map +1 -0
- package/dist/table/src/composables/useColumnLayout.mjs +259 -0
- package/dist/table/src/composables/useColumnLayout.test.d.ts +2 -0
- package/dist/table/src/composables/useColumnLayout.test.d.ts.map +1 -0
- package/dist/table/src/composables/useColumnMetrics.d.ts +5 -3
- package/dist/table/src/composables/useColumnMetrics.d.ts.map +1 -1
- package/dist/table/src/composables/useColumnMetrics.mjs +64 -55
- package/dist/table/src/composables/useExpand.d.ts +2 -0
- package/dist/table/src/composables/useExpand.d.ts.map +1 -1
- package/dist/table/src/composables/useExpand.mjs +42 -20
- package/dist/table/src/composables/usePagination.d.ts +15 -0
- package/dist/table/src/composables/usePagination.d.ts.map +1 -0
- package/dist/table/src/composables/usePagination.mjs +65 -0
- package/dist/table/src/composables/usePagination.test.d.ts +2 -0
- package/dist/table/src/composables/usePagination.test.d.ts.map +1 -0
- package/dist/table/src/composables/useResize.d.ts +1 -0
- package/dist/table/src/composables/useResize.d.ts.map +1 -1
- package/dist/table/src/composables/useResize.mjs +67 -39
- package/dist/table/src/composables/useScroll.d.ts +3 -0
- package/dist/table/src/composables/useScroll.d.ts.map +1 -1
- package/dist/table/src/composables/useScroll.mjs +43 -41
- package/dist/table/src/composables/useSelection.d.ts +2 -1
- package/dist/table/src/composables/useSelection.d.ts.map +1 -1
- package/dist/table/src/composables/useSelection.mjs +204 -155
- package/dist/table/src/composables/useTreeData.d.ts +4 -0
- package/dist/table/src/composables/useTreeData.d.ts.map +1 -1
- package/dist/table/src/composables/useTreeData.mjs +48 -43
- package/dist/table/src/context.d.ts +6 -1
- package/dist/table/src/context.d.ts.map +1 -1
- package/dist/table/src/index.d.ts +10 -87
- package/dist/table/src/index.d.ts.map +1 -1
- package/dist/table/src/index.mjs +12 -12
- package/dist/table/src/types/column.d.ts +8 -2
- package/dist/table/src/types/column.d.ts.map +1 -1
- package/dist/table/src/types/index.d.ts +1 -0
- package/dist/table/src/types/index.d.ts.map +1 -1
- package/dist/table/src/types/pagination.d.ts +66 -0
- package/dist/table/src/types/pagination.d.ts.map +1 -0
- package/dist/table/src/types/pagination.typecheck.d.ts +25 -0
- package/dist/table/src/types/pagination.typecheck.d.ts.map +1 -0
- package/dist/table/src/types/table.d.ts +8 -1
- package/dist/table/src/types/table.d.ts.map +1 -1
- package/dist/table/src/utils/columnWidth.d.ts +55 -7
- package/dist/table/src/utils/columnWidth.d.ts.map +1 -1
- package/dist/table/src/utils/columnWidth.mjs +91 -21
- package/dist/table/src/utils/paginationLayout.d.ts +13 -0
- package/dist/table/src/utils/paginationLayout.d.ts.map +1 -0
- package/dist/table/src/utils/paginationLayout.mjs +55 -0
- package/dist/table/src/utils/paginationLayout.test.d.ts +2 -0
- package/dist/table/src/utils/paginationLayout.test.d.ts.map +1 -0
- package/dist/table/src/utils/popupPosition.d.ts +4 -1
- package/dist/table/src/utils/popupPosition.d.ts.map +1 -1
- package/dist/table/src/utils/popupPosition.mjs +34 -15
- package/dist/theme/src/augment.d.ts +2 -0
- package/dist/theme/src/augment.d.ts.map +1 -1
- package/dist/theme/src/compat/antdv-pagination.d.ts +4 -0
- package/dist/theme/src/compat/antdv-pagination.d.ts.map +1 -0
- package/dist/theme/src/compat/antdv-pagination.mjs +29 -0
- package/dist/theme/src/index.d.ts +5 -0
- package/dist/theme/src/index.d.ts.map +1 -1
- package/dist/theme/src/pagination.d.ts +153 -0
- package/dist/theme/src/pagination.d.ts.map +1 -0
- package/dist/theme/src/pagination.mjs +144 -0
- package/dist/theme/src/presets/antdv/table-locale.d.ts +2 -2
- package/dist/theme/src/presets/antdv/table-locale.mjs +2 -2
- package/dist/theme/src/presets/antdv/table.d.ts +3 -0
- package/dist/theme/src/presets/antdv/table.d.ts.map +1 -1
- package/dist/theme/src/presets/antdv/table.mjs +3 -0
- package/dist/theme/src/presets/element-plus/table-locale.d.ts +2 -2
- package/dist/theme/src/presets/element-plus/table-locale.mjs +2 -2
- package/dist/theme/src/presets/element-plus/table.d.ts +3 -0
- package/dist/theme/src/presets/element-plus/table.d.ts.map +1 -1
- package/dist/theme/src/presets/element-plus/table.mjs +3 -0
- package/dist/theme/src/presets/index.d.ts.map +1 -1
- package/dist/theme/src/presets/index.mjs +60 -57
- package/dist/theme/src/presets/types.d.ts +1 -0
- package/dist/theme/src/presets/types.d.ts.map +1 -1
- package/dist/vtable-guild/src/augment.d.ts +15 -0
- package/dist/vtable-guild/src/augment.d.ts.map +1 -0
- package/dist/vtable-guild/src/index.d.ts +1 -0
- package/dist/vtable-guild/src/index.d.ts.map +1 -1
- package/package.json +4 -3
|
@@ -0,0 +1,350 @@
|
|
|
1
|
+
import { defineComponent as X, inject as ee, computed as _, ref as J, watch as te, createVNode as i, cloneVNode as K, isVNode as W, Fragment as A, Text as ne, createTextVNode as Z } from "vue";
|
|
2
|
+
import { cnByCssMode as H } from "../../../core/src/utils/classPrefix.mjs";
|
|
3
|
+
import { devWarn as ae } from "../../../core/src/utils/devWarn.mjs";
|
|
4
|
+
import { useTheme as ie } from "../../../core/src/composables/useTheme.mjs";
|
|
5
|
+
import { VTABLE_GUILD_INJECTION_KEY as le } from "../../../core/src/plugin/index.mjs";
|
|
6
|
+
import { resolvePaginationThemePreset as re, paginationZhCN as oe } from "../../../theme/src/pagination.mjs";
|
|
7
|
+
import { resolveBuiltInLocale as se } from "../../../theme/src/presets/index.mjs";
|
|
8
|
+
import { antdvPaginationCompatClasses as ue } from "../../../theme/src/compat/antdv-pagination.mjs";
|
|
9
|
+
import { resolvePaginationLayout as ce } from "../utils/paginationLayout.mjs";
|
|
10
|
+
import { ensureValidVNode as me } from "../utils/vnode.mjs";
|
|
11
|
+
import de from "./PaginationSizeSelect.mjs";
|
|
12
|
+
function L(e) {
|
|
13
|
+
return Array.isArray(e) ? e.some(L) : typeof e == "string" ? e.trim().length > 0 : W(e) && (e.type === A || e.type === ne) ? L(e.children) : me(e) !== null;
|
|
14
|
+
}
|
|
15
|
+
function fe(e, l, d) {
|
|
16
|
+
const r = d ? 1 : 2, o = [];
|
|
17
|
+
if (l <= r * 2 + 3) return Array.from({
|
|
18
|
+
length: l
|
|
19
|
+
}, (C, j) => ({
|
|
20
|
+
page: j + 1,
|
|
21
|
+
type: "page"
|
|
22
|
+
}));
|
|
23
|
+
const P = l - e <= r ? l - r * 2 : Math.max(1, e - r), k = e - 1 <= r ? r * 2 + 1 : Math.min(l, e + r);
|
|
24
|
+
P !== 1 && o.push({
|
|
25
|
+
page: 1,
|
|
26
|
+
type: "page"
|
|
27
|
+
}), e - 1 >= r * 2 && e !== 3 && o.push({
|
|
28
|
+
page: Math.max(1, e - (d ? 3 : 5)),
|
|
29
|
+
type: "jump-prev"
|
|
30
|
+
});
|
|
31
|
+
for (let C = P; C <= k; C++) o.push({
|
|
32
|
+
page: C,
|
|
33
|
+
type: "page"
|
|
34
|
+
});
|
|
35
|
+
return l - e >= r * 2 && e !== l - 2 && o.push({
|
|
36
|
+
page: Math.min(l, e + (d ? 3 : 5)),
|
|
37
|
+
type: "jump-next"
|
|
38
|
+
}), k !== l && o.push({
|
|
39
|
+
page: l,
|
|
40
|
+
type: "page"
|
|
41
|
+
}), o;
|
|
42
|
+
}
|
|
43
|
+
function ge(e, l, d = 7) {
|
|
44
|
+
const r = (d - 1) / 2, o = l > d && e > d - r, P = l > d && e < l - r, k = o ? P ? e - r + 1 : l - d + 2 : 2, C = P ? o ? e + r - 1 : d - 1 : l - 1, j = [{
|
|
45
|
+
page: 1,
|
|
46
|
+
type: "page"
|
|
47
|
+
}];
|
|
48
|
+
o && j.push({
|
|
49
|
+
page: Math.max(1, e - d + 2),
|
|
50
|
+
type: "jump-prev"
|
|
51
|
+
});
|
|
52
|
+
for (let N = k; N <= C; N++) j.push({
|
|
53
|
+
page: N,
|
|
54
|
+
type: "page"
|
|
55
|
+
});
|
|
56
|
+
return P && j.push({
|
|
57
|
+
page: Math.min(l, e + d - 2),
|
|
58
|
+
type: "jump-next"
|
|
59
|
+
}), l > 1 && j.push({
|
|
60
|
+
page: l,
|
|
61
|
+
type: "page"
|
|
62
|
+
}), j;
|
|
63
|
+
}
|
|
64
|
+
const Se = /* @__PURE__ */ X({
|
|
65
|
+
name: "TablePagination",
|
|
66
|
+
props: {
|
|
67
|
+
config: {
|
|
68
|
+
type: Object,
|
|
69
|
+
required: !0
|
|
70
|
+
},
|
|
71
|
+
state: {
|
|
72
|
+
type: Object,
|
|
73
|
+
required: !0
|
|
74
|
+
},
|
|
75
|
+
locale: {
|
|
76
|
+
type: Object,
|
|
77
|
+
required: !0
|
|
78
|
+
},
|
|
79
|
+
align: {
|
|
80
|
+
type: String,
|
|
81
|
+
default: "right"
|
|
82
|
+
},
|
|
83
|
+
position: {
|
|
84
|
+
type: String,
|
|
85
|
+
default: "bottomRight"
|
|
86
|
+
},
|
|
87
|
+
tableSize: String,
|
|
88
|
+
narrow: Boolean,
|
|
89
|
+
getPopupContainer: Function
|
|
90
|
+
},
|
|
91
|
+
emits: {
|
|
92
|
+
change: (e, l) => !0
|
|
93
|
+
},
|
|
94
|
+
slots: Object,
|
|
95
|
+
setup(e, {
|
|
96
|
+
emit: l,
|
|
97
|
+
slots: d
|
|
98
|
+
}) {
|
|
99
|
+
const r = ee(le, null), o = _(() => r?.themePreset === "element-plus"), P = _(() => {
|
|
100
|
+
const t = ce(e.config.layout, r?.themePreset ?? "antdv");
|
|
101
|
+
for (const a of t.warnings) ae();
|
|
102
|
+
return t;
|
|
103
|
+
}), k = _(() => {
|
|
104
|
+
const t = e.config.pagerCount;
|
|
105
|
+
if (t !== void 0 && typeof t == "number" && Number.isInteger(t) && t >= 5 && t <= 21 && t % 2 === 1)
|
|
106
|
+
return t;
|
|
107
|
+
}), C = _(() => k.value ?? (e.config.showLessItems ? 5 : 7)), j = _(() => o.value || k.value !== void 0), N = _(() => re(r?.themePreset)), f = r?.compatClass === !0 ? (t) => `ant-pagination-${t}` : void 0, {
|
|
108
|
+
slots: s
|
|
109
|
+
} = ie("pagination", N, {
|
|
110
|
+
get size() {
|
|
111
|
+
return e.config.size ?? (o.value && !(e.config.responsive && e.narrow) ? e.tableSize === "small" ? "small" : "default" : e.tableSize === "small" || e.tableSize === "middle" || e.config.responsive && e.narrow ? "small" : "default");
|
|
112
|
+
},
|
|
113
|
+
get align() {
|
|
114
|
+
return e.align;
|
|
115
|
+
},
|
|
116
|
+
get simple() {
|
|
117
|
+
return !!e.config.simple;
|
|
118
|
+
},
|
|
119
|
+
get disabled() {
|
|
120
|
+
return !!e.config.disabled;
|
|
121
|
+
},
|
|
122
|
+
get class() {
|
|
123
|
+
return e.config.class;
|
|
124
|
+
}
|
|
125
|
+
}, {
|
|
126
|
+
compatClasses: ue
|
|
127
|
+
}), v = _(() => Math.max(1, Math.ceil(e.state.total / e.state.pageSize))), T = J(""), $ = J(!1), I = J(String(e.state.current));
|
|
128
|
+
te(() => e.state.current, (t) => {
|
|
129
|
+
I.value = String(t), T.value = "", $.value = !1;
|
|
130
|
+
});
|
|
131
|
+
function M(t = !1, a = 0) {
|
|
132
|
+
const h = t ? I.value : o.value && !$.value ? String(e.state.current) : T.value, b = (o.value && !t ? Math.trunc(Number(h)) : Number(h)) + a;
|
|
133
|
+
if (!e.config.disabled && (h.trim() !== "" || o.value && !t) && Number.isSafeInteger(b)) {
|
|
134
|
+
const y = Math.max(1, Math.min(v.value, b));
|
|
135
|
+
y !== e.state.current && l("change", y);
|
|
136
|
+
}
|
|
137
|
+
T.value = "", $.value = !1, I.value = String(e.state.current);
|
|
138
|
+
}
|
|
139
|
+
function V(t, a, h, b) {
|
|
140
|
+
const y = e.config, g = a === "page", x = !!y.disabled || a === "prev" && e.state.current <= 1 || a === "next" && e.state.current >= v.value, m = e.locale, S = C.value - 2, F = (u) => {
|
|
141
|
+
if (S === 3) return u === "prev" ? m.prev_3 : m.next_3;
|
|
142
|
+
if (S === 5) return u === "prev" ? m.prev_5 : m.next_5;
|
|
143
|
+
const D = u === "prev" ? "prev_pages" : "next_pages", E = se(r?.themePreset, r?.locale)?.pagination ?? oe;
|
|
144
|
+
return (m[D] ?? E[D]).replace(/\{count\}/g, String(S));
|
|
145
|
+
}, B = g ? `${m.page} ${t}` : a === "prev" ? m.prev_page : a === "next" ? m.next_page : F(a === "jump-prev" ? "prev" : "next"), q = g ? t : a.startsWith("jump") ? i(A, null, [i("span", {
|
|
146
|
+
"aria-hidden": "true",
|
|
147
|
+
class: s.jumpEllipsis()
|
|
148
|
+
}, [Z("•••")]), i("svg", {
|
|
149
|
+
"aria-hidden": "true",
|
|
150
|
+
class: s.jumpIcon(),
|
|
151
|
+
viewBox: "0 0 16 16",
|
|
152
|
+
fill: "none",
|
|
153
|
+
stroke: "currentColor"
|
|
154
|
+
}, [i("path", {
|
|
155
|
+
d: a === "jump-prev" ? "m8 3-5 5 5 5m5-10-5 5 5 5" : "m3 3 5 5-5 5m5-10 5 5-5 5"
|
|
156
|
+
}, null)])]) : i("svg", {
|
|
157
|
+
"aria-hidden": "true",
|
|
158
|
+
class: s.icon(),
|
|
159
|
+
viewBox: "0 0 16 16",
|
|
160
|
+
fill: "none",
|
|
161
|
+
stroke: "currentColor"
|
|
162
|
+
}, [i("path", {
|
|
163
|
+
d: a === "prev" ? "M10 3 5 8l5 5" : "m6 3 5 5-5 5"
|
|
164
|
+
}, null)]), R = H(r?.cssMode ?? "prebuilt", r?.classPrefix ?? "vtg", s.item(), a.startsWith("jump") && s.jump(), g && t === e.state.current && s.active()), O = [...f ? [f(g ? "item" : a), g && f(`item-${t}`), g && t === e.state.current && f("item-active"), g && h === "jump-prev" && f("item-after-jump-prev"), g && b === "jump-next" && f("item-before-jump-next"), !g && f("item-link"), a.startsWith("jump") && f(`${a}-custom-icon`), a.startsWith("jump") && f("item-container"), x && (a === "prev" || a === "next") && f("disabled")] : [], R].filter(Boolean).join(" "), z = i("button", {
|
|
165
|
+
type: "button",
|
|
166
|
+
disabled: x,
|
|
167
|
+
title: g ? String(t) : B,
|
|
168
|
+
"aria-label": B,
|
|
169
|
+
"aria-current": g && t === e.state.current ? "page" : void 0,
|
|
170
|
+
class: O
|
|
171
|
+
}, [q]), n = y.itemRender ? y.itemRender({
|
|
172
|
+
page: t,
|
|
173
|
+
type: a,
|
|
174
|
+
originalElement: z
|
|
175
|
+
}) : z, p = W(n) ? n : i("span", null, [n]), c = p.type === "button";
|
|
176
|
+
return K(p, {
|
|
177
|
+
key: a + t,
|
|
178
|
+
class: O,
|
|
179
|
+
role: c ? void 0 : "button",
|
|
180
|
+
tabindex: x ? -1 : 0,
|
|
181
|
+
"aria-label": B,
|
|
182
|
+
title: g ? String(t) : B,
|
|
183
|
+
"aria-disabled": x,
|
|
184
|
+
"aria-current": g && t === e.state.current ? "page" : void 0,
|
|
185
|
+
onClickCapture: (u) => {
|
|
186
|
+
x && (u.preventDefault(), u.stopImmediatePropagation());
|
|
187
|
+
},
|
|
188
|
+
onClick: (u) => {
|
|
189
|
+
u.preventDefault(), !x && (!o.value || t !== e.state.current) && l("change", t);
|
|
190
|
+
},
|
|
191
|
+
onKeydown: (u) => {
|
|
192
|
+
!c && (u.key === "Enter" || u.key === " ") && (u.preventDefault(), !x && (!o.value || t !== e.state.current) && l("change", t));
|
|
193
|
+
}
|
|
194
|
+
});
|
|
195
|
+
}
|
|
196
|
+
return () => {
|
|
197
|
+
const t = e.config, {
|
|
198
|
+
current: a,
|
|
199
|
+
pageSize: h,
|
|
200
|
+
total: b
|
|
201
|
+
} = e.state;
|
|
202
|
+
if (t.hideOnSinglePage && v.value <= 1) return null;
|
|
203
|
+
const y = P.value, g = y.regions.some((n) => n.items.includes("pager")), x = b === 0 ? [0, 0] : [(a - 1) * h + 1, Math.min(a * h, b)], m = typeof t.showQuickJumper == "object" ? t.showQuickJumper.goButton : void 0, S = m !== void 0 && m !== !1 && m !== null, Q = {
|
|
204
|
+
total: () => {
|
|
205
|
+
if (t.simple || !t.showTotal) return null;
|
|
206
|
+
const n = t.showTotal(b, [...x]);
|
|
207
|
+
return L(n) ? i("span", {
|
|
208
|
+
class: s.total()
|
|
209
|
+
}, [n]) : null;
|
|
210
|
+
},
|
|
211
|
+
sizes: () => !t.simple && (t.showSizeChanger ?? b > (t.totalBoundaryShowSizeChanger ?? 50)) ? i(de, {
|
|
212
|
+
value: h,
|
|
213
|
+
options: t.pageSizeOptions ?? ["10", "20", "50", "100"],
|
|
214
|
+
disabled: t.disabled,
|
|
215
|
+
label: e.locale.page_size,
|
|
216
|
+
theme: s,
|
|
217
|
+
getPopupContainer: e.getPopupContainer,
|
|
218
|
+
renderText: (n) => t.buildOptionText ? t.buildOptionText({
|
|
219
|
+
value: n
|
|
220
|
+
}) : `${n}${o.value ? "" : " "}${e.locale.items_per_page}`,
|
|
221
|
+
onChange: (n) => l("change", a, n)
|
|
222
|
+
}, null) : null,
|
|
223
|
+
prev: () => V(a - 1, "prev"),
|
|
224
|
+
pager: () => i(A, null, [t.simple ? i("span", {
|
|
225
|
+
class: s.simpleControls(),
|
|
226
|
+
title: `${a}/${v.value}`
|
|
227
|
+
}, [i("input", {
|
|
228
|
+
class: H(r?.cssMode ?? "prebuilt", r?.classPrefix ?? "vtg", s.input(), s.simpleInput()),
|
|
229
|
+
"aria-label": e.locale.page,
|
|
230
|
+
inputmode: "numeric",
|
|
231
|
+
disabled: t.disabled,
|
|
232
|
+
value: I.value,
|
|
233
|
+
onInput: (n) => {
|
|
234
|
+
const p = n.target, c = p.value;
|
|
235
|
+
(c === "" || Number.isFinite(Number(c))) && (I.value = c === "" ? "" : String(Math.min(v.value, Number(c)))), p.value = I.value;
|
|
236
|
+
},
|
|
237
|
+
onKeydown: (n) => {
|
|
238
|
+
["Enter", "ArrowUp", "ArrowDown"].includes(n.key) && (n.preventDefault(), M(!0, n.key === "ArrowUp" ? -1 : n.key === "ArrowDown" ? 1 : 0));
|
|
239
|
+
}
|
|
240
|
+
}, null), i("span", {
|
|
241
|
+
class: s.slash()
|
|
242
|
+
}, [Z("/")]), i("span", null, [v.value])]) : (j.value ? ge(a, v.value, C.value) : fe(a, v.value, !!t.showLessItems)).map(({
|
|
243
|
+
page: n,
|
|
244
|
+
type: p
|
|
245
|
+
}, c, u) => V(n, p, u[c - 1]?.type, u[c + 1]?.type))]),
|
|
246
|
+
next: () => V(a + 1, "next"),
|
|
247
|
+
jumper: () => !t.showQuickJumper || t.simple && !S || t.simple && !g ? null : i("span", {
|
|
248
|
+
class: [s.controls(), t.simple ? f?.("simple-pager") : [f?.("options"), f?.("options-quick-jumper")]]
|
|
249
|
+
}, [!t.simple && i(A, null, [i("span", null, [e.locale.jump_to]), i("input", {
|
|
250
|
+
class: s.input(),
|
|
251
|
+
"aria-label": e.locale.jump_to,
|
|
252
|
+
type: o.value ? "number" : "text",
|
|
253
|
+
min: o.value ? 1 : void 0,
|
|
254
|
+
max: o.value ? v.value : void 0,
|
|
255
|
+
inputmode: "numeric",
|
|
256
|
+
disabled: t.disabled,
|
|
257
|
+
value: o.value && !$.value ? a : T.value,
|
|
258
|
+
onInput: (n) => {
|
|
259
|
+
T.value = n.target.value, $.value = !0;
|
|
260
|
+
},
|
|
261
|
+
onBlur: () => {
|
|
262
|
+
S || M();
|
|
263
|
+
},
|
|
264
|
+
onKeydown: (n) => {
|
|
265
|
+
n.key === "Enter" && M();
|
|
266
|
+
}
|
|
267
|
+
}, null), !(o.value && e.locale.page === "Page") && i("span", null, [e.locale.page])]), S && (W(m) ? K(m, {
|
|
268
|
+
class: s.item(),
|
|
269
|
+
role: "button",
|
|
270
|
+
tabindex: t.disabled ? -1 : 0,
|
|
271
|
+
"aria-disabled": t.disabled,
|
|
272
|
+
onClickCapture: (n) => {
|
|
273
|
+
t.disabled && (n.preventDefault(), n.stopImmediatePropagation());
|
|
274
|
+
},
|
|
275
|
+
onClick: () => M(!!t.simple),
|
|
276
|
+
onKeydown: (n) => {
|
|
277
|
+
m.type !== "button" && (n.key === "Enter" || n.key === " ") && (n.preventDefault(), M(!!t.simple));
|
|
278
|
+
}
|
|
279
|
+
}) : i("button", {
|
|
280
|
+
type: "button",
|
|
281
|
+
class: [s.go(), !t.simple && m === !0 && f?.("options-quick-jumper-button")],
|
|
282
|
+
disabled: t.disabled,
|
|
283
|
+
onClick: () => M(!!t.simple)
|
|
284
|
+
}, [m === !0 ? e.locale.jump_to_confirm : m]))])
|
|
285
|
+
};
|
|
286
|
+
function O(n, p) {
|
|
287
|
+
const c = [];
|
|
288
|
+
let u = [], D = "";
|
|
289
|
+
const E = () => {
|
|
290
|
+
u.length && (c.push(i("span", {
|
|
291
|
+
key: `pages:${D}`,
|
|
292
|
+
class: s.pages()
|
|
293
|
+
}, [u])), u = []);
|
|
294
|
+
};
|
|
295
|
+
for (const w of p) {
|
|
296
|
+
if (typeof w != "string") {
|
|
297
|
+
if (!d.paginationItem)
|
|
298
|
+
continue;
|
|
299
|
+
const Y = d.paginationItem({
|
|
300
|
+
name: w.slot,
|
|
301
|
+
current: a,
|
|
302
|
+
pageSize: h,
|
|
303
|
+
total: b,
|
|
304
|
+
pageCount: v.value,
|
|
305
|
+
range: [...x],
|
|
306
|
+
disabled: !!t.disabled,
|
|
307
|
+
position: e.position,
|
|
308
|
+
region: n
|
|
309
|
+
});
|
|
310
|
+
if (!L(Y)) continue;
|
|
311
|
+
E(), c.push(i("div", {
|
|
312
|
+
key: `slot:${w.slot}`,
|
|
313
|
+
class: s.extension()
|
|
314
|
+
}, [Y]));
|
|
315
|
+
continue;
|
|
316
|
+
}
|
|
317
|
+
const U = Q[w]();
|
|
318
|
+
if (!U) continue;
|
|
319
|
+
const G = K(U, {
|
|
320
|
+
key: w
|
|
321
|
+
});
|
|
322
|
+
w === "prev" || w === "pager" || w === "next" ? (u.length || (D = w), u.push(G)) : (E(), c.push(G));
|
|
323
|
+
}
|
|
324
|
+
return E(), c;
|
|
325
|
+
}
|
|
326
|
+
const z = y.regions.flatMap(({
|
|
327
|
+
name: n,
|
|
328
|
+
items: p
|
|
329
|
+
}) => {
|
|
330
|
+
const c = O(n, p);
|
|
331
|
+
return !c.length || n === "inline" ? c : i("div", {
|
|
332
|
+
key: n,
|
|
333
|
+
class: n === "left" ? s.left() : s.right()
|
|
334
|
+
}, [c]);
|
|
335
|
+
});
|
|
336
|
+
return z.length ? i("nav", {
|
|
337
|
+
"aria-label": e.locale.navigation,
|
|
338
|
+
class: s.root(),
|
|
339
|
+
style: t.style
|
|
340
|
+
}, [y.mode === "split" ? i("div", {
|
|
341
|
+
class: s.layout()
|
|
342
|
+
}, [z]) : z]) : null;
|
|
343
|
+
};
|
|
344
|
+
}
|
|
345
|
+
});
|
|
346
|
+
export {
|
|
347
|
+
Se as default,
|
|
348
|
+
ge as elementPlusPaginationItems,
|
|
349
|
+
fe as paginationItems
|
|
350
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TablePagination.test.d.ts","sourceRoot":"","sources":["../../../../../table/src/components/TablePagination.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TablePaginationCompatClass.test.d.ts","sourceRoot":"","sources":["../../../../../table/src/components/TablePaginationCompatClass.test.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TablePaginationLayout.test.d.ts","sourceRoot":"","sources":["../../../../../table/src/components/TablePaginationLayout.test.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VTable.vue.d.ts","sourceRoot":"","sources":["../../../../../table/src/components/VTable.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"VTable.vue.d.ts","sourceRoot":"","sources":["../../../../../table/src/components/VTable.vue"],"names":[],"mappings":"AAmJA,OAAO,KAAK,EACV,UAAU,EAEV,gBAAgB,EAGhB,gBAAgB,EAEhB,UAAU,EACV,cAAc,EACd,eAAe,EACf,kBAAkB,EACnB,MAAM,UAAU,CAAA;yBAGA,OAAO,SAAS,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAChE,aAAa,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,EAC9D,YAAY,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,EAC3G,eAAe,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,EACjE;WA0QO,mBAAmB,CAAC;;;;wMAAkE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;;;EAIP,KACQ,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AArRzE,wBAqR4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { defineComponent as h, getCurrentInstance as
|
|
2
|
-
import
|
|
3
|
-
const
|
|
1
|
+
import { defineComponent as h, getCurrentInstance as $, createBlock as F, openBlock as v, unref as B, mergeProps as b, createSlots as k, withCtx as t, renderSlot as l, normalizeProps as r, guardReactiveProps as a } from "vue";
|
|
2
|
+
import R from "./Table.mjs";
|
|
3
|
+
const P = /* @__PURE__ */ h({
|
|
4
4
|
name: "VTable",
|
|
5
5
|
__name: "VTable",
|
|
6
6
|
props: {
|
|
7
|
+
pagination: { type: [Boolean, Object] },
|
|
7
8
|
dataSource: {},
|
|
8
9
|
columns: {},
|
|
9
10
|
columnOrder: {},
|
|
@@ -47,11 +48,11 @@ const z = /* @__PURE__ */ h({
|
|
|
47
48
|
onExpandedRowsChange: { type: Function }
|
|
48
49
|
},
|
|
49
50
|
emits: ["change", "resizeColumn", "rowDragEnd"],
|
|
50
|
-
setup(S, { emit:
|
|
51
|
-
const
|
|
52
|
-
function
|
|
51
|
+
setup(S, { emit: p }) {
|
|
52
|
+
const s = p, u = $();
|
|
53
|
+
function d() {
|
|
53
54
|
const e = {};
|
|
54
|
-
for (const [n, o] of Object.entries(
|
|
55
|
+
for (const [n, o] of Object.entries(u?.vnode.props ?? {}))
|
|
55
56
|
n !== "onChange" && n !== "onResizeColumn" && n !== "onRowDragEnd" && (e[n] = o);
|
|
56
57
|
return e;
|
|
57
58
|
}
|
|
@@ -59,26 +60,26 @@ const z = /* @__PURE__ */ h({
|
|
|
59
60
|
return e;
|
|
60
61
|
}
|
|
61
62
|
function m(e, n, o) {
|
|
62
|
-
|
|
63
|
+
s(
|
|
63
64
|
"change",
|
|
64
65
|
e,
|
|
65
66
|
n,
|
|
66
67
|
o
|
|
67
68
|
);
|
|
68
69
|
}
|
|
69
|
-
function c(e, n) {
|
|
70
|
-
a("resizeColumn", e, n);
|
|
71
|
-
}
|
|
72
70
|
function y(e, n) {
|
|
73
|
-
|
|
71
|
+
s("resizeColumn", e, n);
|
|
72
|
+
}
|
|
73
|
+
function c(e, n) {
|
|
74
|
+
s("rowDragEnd", e, n);
|
|
74
75
|
}
|
|
75
76
|
function f(e) {
|
|
76
77
|
return e;
|
|
77
78
|
}
|
|
78
|
-
function
|
|
79
|
+
function g(e) {
|
|
79
80
|
return e;
|
|
80
81
|
}
|
|
81
|
-
function
|
|
82
|
+
function C(e) {
|
|
82
83
|
return e;
|
|
83
84
|
}
|
|
84
85
|
function w(e) {
|
|
@@ -87,22 +88,22 @@ const z = /* @__PURE__ */ h({
|
|
|
87
88
|
function i(e) {
|
|
88
89
|
return e;
|
|
89
90
|
}
|
|
90
|
-
return (e, n) => (v(),
|
|
91
|
+
return (e, n) => (v(), F(B(R), b(d(), {
|
|
91
92
|
onChange: m,
|
|
92
|
-
onResizeColumn:
|
|
93
|
-
onRowDragEnd:
|
|
94
|
-
}),
|
|
93
|
+
onResizeColumn: y,
|
|
94
|
+
onRowDragEnd: c
|
|
95
|
+
}), k({ _: 2 }, [
|
|
95
96
|
e.$slots.bodyCell ? {
|
|
96
97
|
name: "bodyCell",
|
|
97
98
|
fn: t((o) => [
|
|
98
|
-
l(e.$slots, "bodyCell", r(
|
|
99
|
+
l(e.$slots, "bodyCell", r(a(f(o))))
|
|
99
100
|
]),
|
|
100
101
|
key: "0"
|
|
101
102
|
} : void 0,
|
|
102
103
|
e.$slots.headerCell ? {
|
|
103
104
|
name: "headerCell",
|
|
104
105
|
fn: t((o) => [
|
|
105
|
-
l(e.$slots, "headerCell", r(
|
|
106
|
+
l(e.$slots, "headerCell", r(a(g(o))))
|
|
106
107
|
]),
|
|
107
108
|
key: "1"
|
|
108
109
|
} : void 0,
|
|
@@ -123,41 +124,48 @@ const z = /* @__PURE__ */ h({
|
|
|
123
124
|
e.$slots.customFilterDropdown ? {
|
|
124
125
|
name: "customFilterDropdown",
|
|
125
126
|
fn: t((o) => [
|
|
126
|
-
l(e.$slots, "customFilterDropdown", r(
|
|
127
|
+
l(e.$slots, "customFilterDropdown", r(a(C(o))))
|
|
127
128
|
]),
|
|
128
129
|
key: "4"
|
|
129
130
|
} : void 0,
|
|
130
131
|
e.$slots.customFilterIcon ? {
|
|
131
132
|
name: "customFilterIcon",
|
|
132
133
|
fn: t((o) => [
|
|
133
|
-
l(e.$slots, "customFilterIcon", r(
|
|
134
|
+
l(e.$slots, "customFilterIcon", r(a(w(o))))
|
|
134
135
|
]),
|
|
135
136
|
key: "5"
|
|
136
137
|
} : void 0,
|
|
137
138
|
e.$slots.title ? {
|
|
138
139
|
name: "title",
|
|
139
140
|
fn: t((o) => [
|
|
140
|
-
l(e.$slots, "title", r(
|
|
141
|
+
l(e.$slots, "title", r(a(i(o))))
|
|
141
142
|
]),
|
|
142
143
|
key: "6"
|
|
143
144
|
} : void 0,
|
|
144
145
|
e.$slots.footer ? {
|
|
145
146
|
name: "footer",
|
|
146
147
|
fn: t((o) => [
|
|
147
|
-
l(e.$slots, "footer", r(
|
|
148
|
+
l(e.$slots, "footer", r(a(i(o))))
|
|
148
149
|
]),
|
|
149
150
|
key: "7"
|
|
150
151
|
} : void 0,
|
|
152
|
+
e.$slots.paginationItem ? {
|
|
153
|
+
name: "paginationItem",
|
|
154
|
+
fn: t((o) => [
|
|
155
|
+
l(e.$slots, "paginationItem", r(a(o)))
|
|
156
|
+
]),
|
|
157
|
+
key: "8"
|
|
158
|
+
} : void 0,
|
|
151
159
|
e.$slots.summary ? {
|
|
152
160
|
name: "summary",
|
|
153
161
|
fn: t(() => [
|
|
154
162
|
l(e.$slots, "summary")
|
|
155
163
|
]),
|
|
156
|
-
key: "
|
|
164
|
+
key: "9"
|
|
157
165
|
} : void 0
|
|
158
166
|
]), 1040));
|
|
159
167
|
}
|
|
160
168
|
});
|
|
161
169
|
export {
|
|
162
|
-
|
|
170
|
+
P as default
|
|
163
171
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VTableMinWidth.test.d.ts","sourceRoot":"","sources":["../../../../../table/src/components/VTableMinWidth.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,85 +1,25 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
+
import { default as VTableSummaryRow } from './VTableSummaryRow';
|
|
3
|
+
import { default as VTableSummaryCell } from './VTableSummaryCell';
|
|
2
4
|
export type SummaryFixed = boolean | 'top' | 'bottom';
|
|
3
|
-
declare const
|
|
4
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
|
|
5
|
-
fixed: {
|
|
6
|
-
type: PropType<SummaryFixed>;
|
|
7
|
-
default: undefined;
|
|
8
|
-
};
|
|
9
|
-
}>> & Readonly<{}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
10
|
-
[key: string]: any;
|
|
11
|
-
}>[] | undefined, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
12
|
-
fixed: SummaryFixed;
|
|
13
|
-
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
14
|
-
P: {};
|
|
15
|
-
B: {};
|
|
16
|
-
D: {};
|
|
17
|
-
C: {};
|
|
18
|
-
M: {};
|
|
19
|
-
Defaults: {};
|
|
20
|
-
}, Readonly<import('vue').ExtractPropTypes<{
|
|
21
|
-
fixed: {
|
|
22
|
-
type: PropType<SummaryFixed>;
|
|
23
|
-
default: undefined;
|
|
24
|
-
};
|
|
25
|
-
}>> & Readonly<{}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
26
|
-
[key: string]: any;
|
|
27
|
-
}>[] | undefined, {}, {}, {}, {
|
|
28
|
-
fixed: SummaryFixed;
|
|
29
|
-
}>;
|
|
30
|
-
__isFragment?: never;
|
|
31
|
-
__isTeleport?: never;
|
|
32
|
-
__isSuspense?: never;
|
|
33
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
|
|
5
|
+
declare const VTableSummary: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
34
6
|
fixed: {
|
|
35
7
|
type: PropType<SummaryFixed>;
|
|
36
8
|
default: undefined;
|
|
37
9
|
};
|
|
38
|
-
}
|
|
10
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
39
11
|
[key: string]: any;
|
|
40
|
-
}>[] | undefined, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
12
|
+
}>[] | undefined, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
13
|
+
fixed: {
|
|
14
|
+
type: PropType<SummaryFixed>;
|
|
15
|
+
default: undefined;
|
|
16
|
+
};
|
|
17
|
+
}>> & Readonly<{}>, {
|
|
41
18
|
fixed: SummaryFixed;
|
|
42
|
-
}, {},
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
type: NumberConstructor;
|
|
47
|
-
required: true;
|
|
48
|
-
};
|
|
49
|
-
colSpan: {
|
|
50
|
-
type: NumberConstructor;
|
|
51
|
-
default: number;
|
|
52
|
-
};
|
|
53
|
-
rowSpan: {
|
|
54
|
-
type: NumberConstructor;
|
|
55
|
-
default: undefined;
|
|
56
|
-
};
|
|
57
|
-
align: {
|
|
58
|
-
type: PropType<import('../../../vtable-guild/src/index.ts').AlignType>;
|
|
59
|
-
default: undefined;
|
|
60
|
-
};
|
|
61
|
-
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
62
|
-
index: {
|
|
63
|
-
type: NumberConstructor;
|
|
64
|
-
required: true;
|
|
65
|
-
};
|
|
66
|
-
colSpan: {
|
|
67
|
-
type: NumberConstructor;
|
|
68
|
-
default: number;
|
|
69
|
-
};
|
|
70
|
-
rowSpan: {
|
|
71
|
-
type: NumberConstructor;
|
|
72
|
-
default: undefined;
|
|
73
|
-
};
|
|
74
|
-
align: {
|
|
75
|
-
type: PropType<import('../../../vtable-guild/src/index.ts').AlignType>;
|
|
76
|
-
default: undefined;
|
|
77
|
-
};
|
|
78
|
-
}>> & Readonly<{}>, {
|
|
79
|
-
align: import('../../../vtable-guild/src/index.ts').AlignType;
|
|
80
|
-
colSpan: number;
|
|
81
|
-
rowSpan: number;
|
|
82
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
19
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
20
|
+
declare const SummaryWithSubcomponents: typeof VTableSummary & {
|
|
21
|
+
Row: typeof VTableSummaryRow;
|
|
22
|
+
Cell: typeof VTableSummaryCell;
|
|
83
23
|
};
|
|
84
|
-
export default
|
|
24
|
+
export default SummaryWithSubcomponents;
|
|
85
25
|
//# sourceMappingURL=VTableSummary.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VTableSummary.d.ts","sourceRoot":"","sources":["../../../../../table/src/components/VTableSummary.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkC,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAA;
|
|
1
|
+
{"version":3,"file":"VTableSummary.d.ts","sourceRoot":"","sources":["../../../../../table/src/components/VTableSummary.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkC,KAAK,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnE,OAAO,gBAAgB,MAAM,oBAAoB,CAAA;AACjD,OAAO,iBAAiB,MAAM,qBAAqB,CAAA;AAEnD,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,KAAK,GAAG,QAAQ,CAAA;AAErD,QAAA,MAAM,aAAa;;cAIc,QAAQ,CAAC,YAAY,CAAC;;;;;;;cAAtB,QAAQ,CAAC,YAAY,CAAC;;;;;4EAiBrD,CAAA;AAGF,QAAA,MAAM,wBAAwB,EAAE,OAAO,aAAa,GAAG;IACrD,GAAG,EAAE,OAAO,gBAAgB,CAAA;IAC5B,IAAI,EAAE,OAAO,iBAAiB,CAAA;CAI9B,CAAA;AAEF,eAAe,wBAAwB,CAAA"}
|