@progress/kendo-vue-grid 8.1.0-develop.2 → 8.1.0-develop.3
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/Grid.d.ts +56 -5
- package/Grid.js +1 -1
- package/Grid.mjs +667 -649
- package/GridNav.d.ts +24 -4
- package/GridNav.js +1 -1
- package/GridNav.mjs +62 -22
- package/GridState.d.ts +4 -0
- package/RootGrid.d.ts +32 -11
- package/RootGrid.js +1 -1
- package/RootGrid.mjs +96 -57
- package/cells/GridCell.js +1 -1
- package/cells/GridCell.mjs +35 -26
- package/cells/GridGroupCell.d.ts +10 -0
- package/cells/GridGroupCell.js +1 -1
- package/cells/GridGroupCell.mjs +95 -53
- package/columnMenu/GridColumnMenuCheckboxFilter.d.ts +1 -1
- package/columnMenu/GridColumnMenuCheckboxFilter.js +1 -1
- package/columnMenu/GridColumnMenuCheckboxFilter.mjs +11 -11
- package/common.d.ts +2 -0
- package/common.js +1 -1
- package/common.mjs +2 -0
- package/components/StickyGroupTable.d.ts +85 -0
- package/components/StickyGroupTable.js +8 -0
- package/components/StickyGroupTable.mjs +113 -0
- package/dist/cdn/js/kendo-vue-grid.js +1 -1
- package/drag/ColumnResize.d.ts +10 -1
- package/drag/ColumnResize.js +1 -1
- package/drag/ColumnResize.mjs +129 -104
- package/drag/GroupingIndicator.d.ts +1 -0
- package/drag/GroupingIndicator.js +1 -1
- package/drag/GroupingIndicator.mjs +28 -18
- package/footer/FooterCell.d.ts +43 -0
- package/footer/FooterCell.js +8 -0
- package/footer/FooterCell.mjs +68 -0
- package/footer/FooterRow.d.ts +5 -6
- package/footer/FooterRow.js +1 -1
- package/footer/FooterRow.mjs +16 -39
- package/getRowContents.d.ts +85 -0
- package/getRowContents.js +8 -0
- package/getRowContents.mjs +172 -0
- package/header/GridHeaderGroupSpacerCell.d.ts +11 -0
- package/hooks/useStickyGroups.d.ts +72 -0
- package/hooks/useStickyGroups.js +8 -0
- package/hooks/useStickyGroups.mjs +350 -0
- package/index.d.mts +1 -0
- package/index.d.ts +1 -0
- package/index.js +1 -1
- package/index.mjs +74 -73
- package/interfaces/GridCellProps.d.ts +4 -0
- package/interfaces/GridCellsSettings.d.ts +320 -0
- package/interfaces/GridColumnProps.d.ts +11 -1
- package/interfaces/GridGroupableSettings.d.ts +23 -0
- package/interfaces/GridProps.d.ts +33 -0
- package/messages/main.d.ts +5 -0
- package/messages/main.js +2 -2
- package/messages/main.mjs +15 -13
- package/package-metadata.js +1 -1
- package/package-metadata.mjs +2 -2
- package/package.json +12 -12
- package/utils/main.js +1 -1
- package/utils/main.mjs +80 -76
|
@@ -0,0 +1,350 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
*-------------------------------------------------------------------------------------------
|
|
4
|
+
* Copyright © 2026 Progress Software Corporation. All rights reserved.
|
|
5
|
+
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
|
+
*-------------------------------------------------------------------------------------------
|
|
7
|
+
*/
|
|
8
|
+
import { ref as B, onUpdated as be, watch as Ce } from "vue";
|
|
9
|
+
import "@progress/kendo-vue-common";
|
|
10
|
+
import "@progress/kendo-vue-data-tools";
|
|
11
|
+
function Fe(d) {
|
|
12
|
+
const h = [], a = [];
|
|
13
|
+
for (let t = 0; t < d.length; t++) {
|
|
14
|
+
const n = d[t];
|
|
15
|
+
if (n.rowType === "groupHeader") {
|
|
16
|
+
for (let e = a.length - 1; e >= 0; e--)
|
|
17
|
+
if (a[e].level >= n.level) {
|
|
18
|
+
const r = a[e];
|
|
19
|
+
h.push({
|
|
20
|
+
headerIndex: r.headerIndex,
|
|
21
|
+
footerIndex: null,
|
|
22
|
+
firstChildIndex: r.headerIndex + 1,
|
|
23
|
+
lastChildIndex: t - 1,
|
|
24
|
+
level: r.level
|
|
25
|
+
}), a.splice(e, 1);
|
|
26
|
+
}
|
|
27
|
+
a.push({ headerIndex: t, level: n.level });
|
|
28
|
+
} else if (n.rowType === "groupFooter") {
|
|
29
|
+
for (let e = a.length - 1; e >= 0; e--)
|
|
30
|
+
if (a[e].level === n.level) {
|
|
31
|
+
const r = a[e];
|
|
32
|
+
h.push({
|
|
33
|
+
headerIndex: r.headerIndex,
|
|
34
|
+
footerIndex: t,
|
|
35
|
+
firstChildIndex: r.headerIndex + 1,
|
|
36
|
+
lastChildIndex: t - 1,
|
|
37
|
+
level: n.level
|
|
38
|
+
}), a.splice(e, 1);
|
|
39
|
+
break;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
for (const t of a)
|
|
44
|
+
h.push({
|
|
45
|
+
headerIndex: t.headerIndex,
|
|
46
|
+
footerIndex: null,
|
|
47
|
+
firstChildIndex: t.headerIndex + 1,
|
|
48
|
+
lastChildIndex: d.length - 1,
|
|
49
|
+
level: t.level
|
|
50
|
+
});
|
|
51
|
+
const p = /* @__PURE__ */ new Map();
|
|
52
|
+
for (const t of h)
|
|
53
|
+
p.set(t.headerIndex, t);
|
|
54
|
+
return p;
|
|
55
|
+
}
|
|
56
|
+
function $e(d, h, a, p, t) {
|
|
57
|
+
var I;
|
|
58
|
+
const n = [], e = t != null ? t : a, r = [];
|
|
59
|
+
for (const f of h.values())
|
|
60
|
+
if (f.headerIndex < a) {
|
|
61
|
+
const v = (I = f.footerIndex) != null ? I : f.lastChildIndex;
|
|
62
|
+
v > f.headerIndex && v >= e && r.push(f);
|
|
63
|
+
}
|
|
64
|
+
const o = /* @__PURE__ */ new Map();
|
|
65
|
+
for (const f of r) {
|
|
66
|
+
const v = o.get(f.level);
|
|
67
|
+
(!v || f.headerIndex > v.headerIndex) && o.set(f.level, f);
|
|
68
|
+
}
|
|
69
|
+
const c = Array.from(o.keys()).sort((f, v) => f - v);
|
|
70
|
+
for (const f of c) {
|
|
71
|
+
const v = o.get(f);
|
|
72
|
+
n.push({ item: d[v.headerIndex], flatIndex: v.headerIndex });
|
|
73
|
+
}
|
|
74
|
+
return n;
|
|
75
|
+
}
|
|
76
|
+
function Me(d, h, a, p) {
|
|
77
|
+
const t = [], n = [];
|
|
78
|
+
for (const o of h.values())
|
|
79
|
+
o.footerIndex !== null && o.footerIndex > p && o.headerIndex <= p && n.push(o);
|
|
80
|
+
const e = /* @__PURE__ */ new Map();
|
|
81
|
+
for (const o of n) {
|
|
82
|
+
const c = e.get(o.level);
|
|
83
|
+
(!c || o.footerIndex < c.footerIndex) && e.set(o.level, o);
|
|
84
|
+
}
|
|
85
|
+
const r = Array.from(e.keys()).sort((o, c) => c - o);
|
|
86
|
+
for (const o of r) {
|
|
87
|
+
const c = e.get(o);
|
|
88
|
+
t.push({ item: d[c.footerIndex], flatIndex: c.footerIndex });
|
|
89
|
+
}
|
|
90
|
+
return t;
|
|
91
|
+
}
|
|
92
|
+
function _(d, h) {
|
|
93
|
+
if (d.length !== h.length)
|
|
94
|
+
return !0;
|
|
95
|
+
for (let a = 0; a < d.length; a++)
|
|
96
|
+
if (d[a].flatIndex !== h[a].flatIndex)
|
|
97
|
+
return !0;
|
|
98
|
+
return !1;
|
|
99
|
+
}
|
|
100
|
+
function we(d, h) {
|
|
101
|
+
const a = d.querySelectorAll("tbody > tr");
|
|
102
|
+
let p = 0, t = !1;
|
|
103
|
+
for (let n = 0; n < a.length && n < h.length; n++) {
|
|
104
|
+
const e = a[n], r = e.offsetHeight || e.getBoundingClientRect().height, o = h[n];
|
|
105
|
+
if (o < 0) {
|
|
106
|
+
t = !0;
|
|
107
|
+
const c = -o, I = Math.max(r - c, 0);
|
|
108
|
+
p += I, I <= 0 ? (e.style.display = "none", e.style.transform = "", e.style.clipPath = "") : (e.style.display = "", e.style.transform = `translateY(${o}px)`, e.style.clipPath = `inset(${c}px 0 0 0)`);
|
|
109
|
+
} else
|
|
110
|
+
p += r, e.style.display = "", e.style.transform = "", e.style.clipPath = "";
|
|
111
|
+
}
|
|
112
|
+
d.style.height = t ? p + "px" : "";
|
|
113
|
+
}
|
|
114
|
+
function Pe(d, h) {
|
|
115
|
+
const a = d.querySelectorAll("tbody > tr");
|
|
116
|
+
let p = 0, t = !1, n = 0;
|
|
117
|
+
const e = [];
|
|
118
|
+
for (let r = 0; r < a.length && r < h.length; r++) {
|
|
119
|
+
const o = a[r], c = o.offsetHeight || o.getBoundingClientRect().height;
|
|
120
|
+
e.push(c);
|
|
121
|
+
const I = h[r];
|
|
122
|
+
if (I > 0) {
|
|
123
|
+
t = !0;
|
|
124
|
+
const f = Math.max(c - I, 0);
|
|
125
|
+
p += f, n += c - f;
|
|
126
|
+
} else
|
|
127
|
+
p += c;
|
|
128
|
+
}
|
|
129
|
+
for (let r = 0; r < a.length && r < h.length; r++) {
|
|
130
|
+
const o = a[r], c = h[r], I = e[r];
|
|
131
|
+
c > 0 ? Math.max(I - c, 0) <= 0 ? (o.style.display = "", o.style.transform = "", o.style.clipPath = "inset(0 0 100% 0)") : (o.style.display = "", o.style.transform = "", o.style.clipPath = `inset(0 0 ${c}px 0)`) : (o.style.display = "", o.style.transform = t ? `translateY(${-n}px)` : "", o.style.clipPath = "");
|
|
132
|
+
}
|
|
133
|
+
d.style.height = t ? p + "px" : "";
|
|
134
|
+
}
|
|
135
|
+
function Ae(d) {
|
|
136
|
+
const {
|
|
137
|
+
enabled: h,
|
|
138
|
+
enabledFooters: a,
|
|
139
|
+
flatData: p,
|
|
140
|
+
stickyHeaderRef: t,
|
|
141
|
+
stickyFooterRef: n,
|
|
142
|
+
containerRef: e,
|
|
143
|
+
tableBodyRef: r,
|
|
144
|
+
isGrouped: o,
|
|
145
|
+
virtualSkipRef: c,
|
|
146
|
+
rowHeight: I,
|
|
147
|
+
rowHeightServiceRef: f
|
|
148
|
+
} = d, v = h && o.value, O = !!a && o.value, V = B([]), ee = B([]), K = B([]), N = B([]), te = B([]), Q = B([]), oe = B(!1), se = B(!1);
|
|
149
|
+
be(() => {
|
|
150
|
+
var u;
|
|
151
|
+
oe.value && ((u = t.value) != null && u.$el) && ee.value.length > 0 && (we(t.value.$el, ee.value), oe.value = !1), t.value && e.value && (t.value.$el.scrollLeft = e.value.scrollLeft);
|
|
152
|
+
}), be(() => {
|
|
153
|
+
var u, H;
|
|
154
|
+
se.value && ((u = n.value) != null && u.$el) && te.value.length > 0 && (Pe((H = n.value) == null ? void 0 : H.$el, te.value), se.value = !1), n.value && e.value && (n.value.$el.scrollLeft = e.value.scrollLeft);
|
|
155
|
+
});
|
|
156
|
+
const ke = () => {
|
|
157
|
+
var ge, ve, pe, ye, me, xe, Ie;
|
|
158
|
+
if (!v && !O)
|
|
159
|
+
return;
|
|
160
|
+
const u = p.value, H = Fe(u);
|
|
161
|
+
if (H.size === 0)
|
|
162
|
+
return;
|
|
163
|
+
const L = /* @__PURE__ */ new Map();
|
|
164
|
+
if (O)
|
|
165
|
+
for (const s of H.values())
|
|
166
|
+
s.footerIndex !== null && L.set(s.footerIndex, s);
|
|
167
|
+
const k = e.value, G = r.value;
|
|
168
|
+
if (!k || !G)
|
|
169
|
+
return;
|
|
170
|
+
const b = k.scrollTop, q = k.clientHeight, Y = G.children;
|
|
171
|
+
if (Y.length === 0)
|
|
172
|
+
return;
|
|
173
|
+
const R = f == null ? void 0 : f.value, W = I || 36, g = (c == null ? void 0 : c.value) || 0, $ = k.getBoundingClientRect(), M = G.getBoundingClientRect().top - $.top + b, w = Y.length, z = new Array(w), X = new Array(w);
|
|
174
|
+
for (let s = 0; s < w; s++) {
|
|
175
|
+
const l = Y[s];
|
|
176
|
+
z[s] = M + l.offsetTop, X[s] = l.offsetHeight;
|
|
177
|
+
}
|
|
178
|
+
const le = (s) => {
|
|
179
|
+
const l = s - g;
|
|
180
|
+
return l >= 0 && l < w ? X[l] : R && s >= 0 && s < u.length ? R.height(s) : W;
|
|
181
|
+
}, ae = (s) => {
|
|
182
|
+
const l = s - g;
|
|
183
|
+
if (l >= 0 && l < w)
|
|
184
|
+
return z[l];
|
|
185
|
+
if (R && s >= 0 && s < u.length)
|
|
186
|
+
return R.offset(s);
|
|
187
|
+
}, Te = (s) => {
|
|
188
|
+
let l = 0, i = w;
|
|
189
|
+
for (; l < i; ) {
|
|
190
|
+
const y = l + i >> 1;
|
|
191
|
+
z[y] < s ? l = y + 1 : i = y;
|
|
192
|
+
}
|
|
193
|
+
return l;
|
|
194
|
+
}, ie = (s) => {
|
|
195
|
+
const l = Te(s);
|
|
196
|
+
return l < w ? g + l : g;
|
|
197
|
+
}, ce = (s) => {
|
|
198
|
+
let l = 0, i = w - 1;
|
|
199
|
+
for (; l <= i; ) {
|
|
200
|
+
const y = l + i >> 1;
|
|
201
|
+
z[y] + X[y] <= s ? l = y + 1 : i = y - 1;
|
|
202
|
+
}
|
|
203
|
+
return i >= 0 ? g + i : u.length - 1;
|
|
204
|
+
}, fe = Math.min(ie(b), u.length - 1);
|
|
205
|
+
let U = fe;
|
|
206
|
+
const he = (s) => {
|
|
207
|
+
const l = s.querySelectorAll("tbody > tr");
|
|
208
|
+
for (let i = 0; i < l.length; i++) {
|
|
209
|
+
const y = l[i];
|
|
210
|
+
y.style.transform = "", y.style.clipPath = "", y.style.display = "";
|
|
211
|
+
}
|
|
212
|
+
s.style.height = "";
|
|
213
|
+
};
|
|
214
|
+
if (v && t.value) {
|
|
215
|
+
let s = 0, l = [], i = [];
|
|
216
|
+
const y = (P) => {
|
|
217
|
+
var x;
|
|
218
|
+
const T = [];
|
|
219
|
+
let m = 0;
|
|
220
|
+
for (const C of P) {
|
|
221
|
+
const F = le(C);
|
|
222
|
+
let S = 0;
|
|
223
|
+
const A = H.get(C);
|
|
224
|
+
if (A) {
|
|
225
|
+
const Z = (x = A.footerIndex) != null ? x : A.lastChildIndex + 1, E = ae(Z);
|
|
226
|
+
if (E !== void 0) {
|
|
227
|
+
const J = m + F, He = E - b;
|
|
228
|
+
He < J && (S = He - J);
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
T.push(S), m += Math.max(F + S, 0);
|
|
232
|
+
}
|
|
233
|
+
return { totalHeight: m, offsets: T };
|
|
234
|
+
}, j = /* @__PURE__ */ new Set();
|
|
235
|
+
for (; ; ) {
|
|
236
|
+
U = Math.min(
|
|
237
|
+
ie(b + Math.max(s, 0)),
|
|
238
|
+
u.length - 1
|
|
239
|
+
);
|
|
240
|
+
const P = j.has(U);
|
|
241
|
+
j.add(U);
|
|
242
|
+
const T = Math.min(
|
|
243
|
+
ce(b + q),
|
|
244
|
+
u.length - 1
|
|
245
|
+
), m = $e(
|
|
246
|
+
u,
|
|
247
|
+
H,
|
|
248
|
+
U,
|
|
249
|
+
T,
|
|
250
|
+
fe
|
|
251
|
+
), x = y(m.map((F) => F.flatIndex)), C = !_(m, i) && Math.abs(x.totalHeight - s) < 1;
|
|
252
|
+
if (i = m, s = x.totalHeight, l = x.offsets, C || P)
|
|
253
|
+
break;
|
|
254
|
+
}
|
|
255
|
+
const ne = i.length > 0, re = V.value, D = _(i, re);
|
|
256
|
+
ne ? D ? (V.value = i, ee.value = l, oe.value = !0) : (t.value.$el.style.display = "", we((ve = t.value) == null ? void 0 : ve.$el, l)) : (t.value.$el.style.display = "none", he((ge = t.value) == null ? void 0 : ge.$el)), D && (K.value = i, V.value = i);
|
|
257
|
+
}
|
|
258
|
+
if (O && n.value) {
|
|
259
|
+
let s = 0, l = [], i = [];
|
|
260
|
+
const y = (P) => {
|
|
261
|
+
const T = [];
|
|
262
|
+
let m = 0;
|
|
263
|
+
for (let x = P.length - 1; x >= 0; x--) {
|
|
264
|
+
const C = P[x], F = le(C);
|
|
265
|
+
let S = 0;
|
|
266
|
+
const A = L.get(C);
|
|
267
|
+
if (A) {
|
|
268
|
+
const Z = ae(A.headerIndex);
|
|
269
|
+
if (Z !== void 0) {
|
|
270
|
+
const E = Z + le(A.headerIndex), J = b + q - m - F;
|
|
271
|
+
E > J && (S = E - J);
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
T[x] = S, m += Math.max(F - S, 0);
|
|
275
|
+
}
|
|
276
|
+
return { totalHeight: m, offsets: T };
|
|
277
|
+
}, j = /* @__PURE__ */ new Set();
|
|
278
|
+
for (; ; ) {
|
|
279
|
+
const P = Math.min(
|
|
280
|
+
ce(b + q - s),
|
|
281
|
+
u.length - 1
|
|
282
|
+
), T = j.has(P);
|
|
283
|
+
j.add(P);
|
|
284
|
+
const m = Me(
|
|
285
|
+
u,
|
|
286
|
+
H,
|
|
287
|
+
U,
|
|
288
|
+
P
|
|
289
|
+
), x = y(m.map((F) => F.flatIndex)), C = !_(m, i) && Math.abs(x.totalHeight - s) < 1;
|
|
290
|
+
if (i = m, s = x.totalHeight, l = x.offsets, C || T)
|
|
291
|
+
break;
|
|
292
|
+
}
|
|
293
|
+
const ne = i.length > 0, re = N.value, D = _(i, re);
|
|
294
|
+
ne ? D ? (N.value = i, te.value = l, se.value = !0) : (n.value.$el.style.display = "", Pe(n.value.$el, l)) : (n.value.$el.style.display = "none", he((pe = n.value) == null ? void 0 : pe.$el)), D && (Q.value = i, N.value = i);
|
|
295
|
+
}
|
|
296
|
+
const de = ((me = (ye = t.value) == null ? void 0 : ye.$el) == null ? void 0 : me.offsetHeight) || 0, ue = ((Ie = (xe = n.value) == null ? void 0 : xe.$el) == null ? void 0 : Ie.offsetHeight) || 0;
|
|
297
|
+
return k.style.scrollPaddingTop = de > 0 ? de + "px" : "", k.style.scrollPaddingBottom = ue > 0 ? ue + "px" : "", {
|
|
298
|
+
stickyHeaderItems: K,
|
|
299
|
+
stickyFooterItems: Q
|
|
300
|
+
};
|
|
301
|
+
}, Re = (u) => {
|
|
302
|
+
var W;
|
|
303
|
+
if (!v)
|
|
304
|
+
return;
|
|
305
|
+
const H = V.value.find(
|
|
306
|
+
(g) => {
|
|
307
|
+
var $, M;
|
|
308
|
+
return (($ = g.item.group) == null ? void 0 : $.field) === u.field && ((M = g.item.group) == null ? void 0 : M.value) === u.value;
|
|
309
|
+
}
|
|
310
|
+
);
|
|
311
|
+
if (!H)
|
|
312
|
+
return;
|
|
313
|
+
const L = e.value;
|
|
314
|
+
if (!L)
|
|
315
|
+
return;
|
|
316
|
+
let k = 0;
|
|
317
|
+
const G = I || 36, b = (W = t.value.$el) == null ? void 0 : W.querySelectorAll("tbody > tr"), q = V.value;
|
|
318
|
+
for (let g = 0; g < q.length; g++)
|
|
319
|
+
if (q[g].item.level < H.item.level) {
|
|
320
|
+
const $ = b && g < b.length && b[g].offsetHeight || G;
|
|
321
|
+
k += $;
|
|
322
|
+
}
|
|
323
|
+
const Y = f == null ? void 0 : f.value;
|
|
324
|
+
let R;
|
|
325
|
+
if (Y)
|
|
326
|
+
R = Y.offset(H.flatIndex);
|
|
327
|
+
else {
|
|
328
|
+
const g = r.value, $ = (c == null ? void 0 : c.value) || 0, M = H.flatIndex - $;
|
|
329
|
+
if (g && M >= 0 && M < g.children.length) {
|
|
330
|
+
const w = g.children[M], z = L.getBoundingClientRect();
|
|
331
|
+
R = g.getBoundingClientRect().top - z.top + L.scrollTop + w.offsetTop;
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
R !== void 0 && (L.scrollTop = R - k);
|
|
335
|
+
};
|
|
336
|
+
return Ce([() => v, () => O, e], () => {
|
|
337
|
+
v || (V.value = [], K.value = []), O || (N.value = [], Q.value = []), !v && !O && e.value && (e.value.style.scrollPaddingTop = "", e.value.style.scrollPaddingBottom = "");
|
|
338
|
+
}), {
|
|
339
|
+
stickyHeaderItems: K,
|
|
340
|
+
stickyFooterItems: Q,
|
|
341
|
+
scrollToStickyGroup: Re,
|
|
342
|
+
update: ke
|
|
343
|
+
};
|
|
344
|
+
}
|
|
345
|
+
export {
|
|
346
|
+
Fe as buildGroupRangeMap,
|
|
347
|
+
Me as computeStickyFooterItems,
|
|
348
|
+
$e as computeStickyItems,
|
|
349
|
+
Ae as useStickyGroups
|
|
350
|
+
};
|
package/index.d.mts
CHANGED
|
@@ -45,6 +45,7 @@ import { GridColumnMenuItemGroup } from './columnMenu/GridColumnMenuItemGroup.js
|
|
|
45
45
|
import { GridSearchBox, GridSearchBoxProps } from './GridSearchBox.js';
|
|
46
46
|
export * from './utils/main.js';
|
|
47
47
|
export * from './interfaces/events.js';
|
|
48
|
+
export * from './interfaces/GridCellsSettings.js';
|
|
48
49
|
export * from './StatusBar.js';
|
|
49
50
|
export { Grid, GridCell, GridEditCell, GridGroupCell, GridHierarchyCell, GridDetailRow, GridRow, GridFilterCell, GridHeaderCell, Footer, FooterRow, GridColumnMenuSort, sortGroupByField, GridColumnMenuFilter, filterGroupByField, GridColumnMenuItem, GridColumnMenuItemContent, GridColumnMenuItemGroup, GridColumnMenuFilterUI, GridColumnMenuFilterCell, GridColumnMenuCheckboxFilter, GridToolbar, GridNoRecords, GridSearchBox, };
|
|
50
51
|
export type { GridProps, GridColumnProps, GridCellProps, GridDetailRowProps, GridRowProps, GridFilterCellProps, GridHeaderCellProps, GridFooterCellProps, GridColumnMenuProps, GridColumnMenuCheckboxFilterProps, GridToolbarProps, GridNoRecordsProps, GridSortSettings, GridPagerSettings, GridGroupableSettings, GridSearchBoxProps, GridColumnState, GridColSpanProps, };
|
package/index.d.ts
CHANGED
|
@@ -45,6 +45,7 @@ import { GridColumnMenuItemGroup } from './columnMenu/GridColumnMenuItemGroup';
|
|
|
45
45
|
import { GridSearchBox, GridSearchBoxProps } from './GridSearchBox';
|
|
46
46
|
export * from './utils/main';
|
|
47
47
|
export * from './interfaces/events';
|
|
48
|
+
export * from './interfaces/GridCellsSettings';
|
|
48
49
|
export * from './StatusBar';
|
|
49
50
|
export { Grid, GridCell, GridEditCell, GridGroupCell, GridHierarchyCell, GridDetailRow, GridRow, GridFilterCell, GridHeaderCell, Footer, FooterRow, GridColumnMenuSort, sortGroupByField, GridColumnMenuFilter, filterGroupByField, GridColumnMenuItem, GridColumnMenuItemContent, GridColumnMenuItemGroup, GridColumnMenuFilterUI, GridColumnMenuFilterCell, GridColumnMenuCheckboxFilter, GridToolbar, GridNoRecords, GridSearchBox, };
|
|
50
51
|
export type { GridProps, GridColumnProps, GridCellProps, GridDetailRowProps, GridRowProps, GridFilterCellProps, GridHeaderCellProps, GridFooterCellProps, GridColumnMenuProps, GridColumnMenuCheckboxFilterProps, GridToolbarProps, GridNoRecordsProps, GridSortSettings, GridPagerSettings, GridGroupableSettings, GridSearchBoxProps, GridColumnState, GridColSpanProps, };
|
package/index.js
CHANGED
|
@@ -5,4 +5,4 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./RootGrid.js"),o=require("./columnMenu/GridColumnMenuSort.js"),t=require("./columnMenu/GridColumnMenuFilter.js"),l=require("./columnMenu/GridColumnMenuFilterUI.js"),u=require("./columnMenu/GridColumnMenuFilterCell.js"),n=require("./columnMenu/GridColumnMenuCheckboxFilter.js"),d=require("./cells/GridCell.js"),a=require("./cells/GridEditCell.js"),G=require("./cells/GridGroupCell.js"),C=require("./cells/GridHierarchyCell.js"),s=require("./cells/GridFilterCell.js"),m=require("./header/GridHeaderCell.js"),c=require("./footer/Footer.js"),p=require("./footer/FooterRow.js"),F=require("./rows/GridDetailRow.js"),M=require("./rows/GridRow.js"),
|
|
8
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./RootGrid.js"),o=require("./columnMenu/GridColumnMenuSort.js"),t=require("./columnMenu/GridColumnMenuFilter.js"),l=require("./columnMenu/GridColumnMenuFilterUI.js"),u=require("./columnMenu/GridColumnMenuFilterCell.js"),n=require("./columnMenu/GridColumnMenuCheckboxFilter.js"),d=require("./cells/GridCell.js"),a=require("./cells/GridEditCell.js"),G=require("./cells/GridGroupCell.js"),C=require("./cells/GridHierarchyCell.js"),s=require("./cells/GridFilterCell.js"),m=require("./header/GridHeaderCell.js"),c=require("./footer/Footer.js"),p=require("./footer/FooterRow.js"),F=require("./rows/GridDetailRow.js"),M=require("./rows/GridRow.js"),q=require("./GridToolbar.js"),g=require("./components/noRecords/GridNoRecords.js");require("@progress/kendo-vue-data-tools");const S=require("./columnMenu/GridColumnMenuItem.js"),R=require("./columnMenu/GridColumnMenuItemContent.js"),f=require("./columnMenu/GridColumnMenuItemGroup.js"),h=require("./GridSearchBox.js"),e=require("./utils/main.js"),r=require("./StatusBar.js");exports.Grid=i.RootGrid;exports.GridColumnMenuSort=o.GridColumnMenuSort;exports.sortGroupByField=o.sortGroupByField;exports.GridColumnMenuFilter=t.GridColumnMenuFilter;exports.filterGroupByField=t.filterGroupByField;exports.GridColumnMenuFilterUI=l.GridColumnMenuFilterUI;exports.GridColumnMenuFilterCell=u.GridColumnMenuFilterCell;exports.GridColumnMenuCheckboxFilter=n.GridColumnMenuCheckboxFilter;exports.GridCell=d.GridCell;exports.GridEditCell=a.GridEditCell;exports.GridGroupCell=G.GridGroupCell;exports.GridHierarchyCell=C.GridHierarchyCell;exports.GridFilterCell=s.GridFilterCell;exports.GridHeaderCell=m.GridHeaderCell;exports.Footer=c.Footer;exports.FooterRow=p.FooterRow;exports.GridDetailRow=F.GridDetailRow;exports.GridRow=M.GridRow;exports.GridToolbar=q.GridToolbar;exports.GridNoRecords=g.GridNoRecords;exports.GridColumnMenuItem=S.GridColumnMenuItem;exports.GridColumnMenuItemContent=R.GridColumnMenuItemContent;exports.GridColumnMenuItemGroup=f.GridColumnMenuItemGroup;exports.GridSearchBox=h.GridSearchBox;exports.applyExpandedState=e.applyExpandedState;exports.autoGenerateColumns=e.autoGenerateColumns;exports.calcRowHeight=e.calcRowHeight;exports.checkPropCompatibility=e.checkPropCompatibility;exports.firefox=e.firefox;exports.firefoxMaxHeight=e.firefoxMaxHeight;exports.flatData=e.flatData;exports.footerColumns=e.footerColumns;exports.getColSpan=e.getColSpan;exports.getColumnWidth=e.getColumnWidth;exports.getDataAsArray=e.getDataAsArray;exports.getFlatColumnsState=e.getFlatColumnsState;exports.getIndex=e.getIndex;exports.getNestedValue=e.getNestedValue;exports.getRowSpanOptions=e.getRowSpanOptions;exports.groupedFirstItemValue=e.groupedFirstItemValue;exports.isRtl=e.isRtl;exports.isSorted=e.isSorted;exports.mapColumns=e.mapColumns;exports.parsers=e.parsers;exports.readColumns=e.readColumns;exports.sanitizeColumns=e.sanitizeColumns;exports.StatusBar=r.StatusBar;exports.getStatusData=r.getStatusData;exports.leafColumns=r.leafColumns;
|
package/index.mjs
CHANGED
|
@@ -5,78 +5,79 @@
|
|
|
5
5
|
* Licensed under commercial license. See LICENSE.md in the package root for more information
|
|
6
6
|
*-------------------------------------------------------------------------------------------
|
|
7
7
|
*/
|
|
8
|
-
import { RootGrid as
|
|
9
|
-
import { GridColumnMenuSort as
|
|
10
|
-
import { GridColumnMenuFilter as
|
|
11
|
-
import { GridColumnMenuFilterUI as
|
|
12
|
-
import { GridColumnMenuFilterCell as
|
|
13
|
-
import { GridColumnMenuCheckboxFilter as
|
|
14
|
-
import { GridCell as
|
|
15
|
-
import { GridEditCell as
|
|
16
|
-
import { GridGroupCell as
|
|
17
|
-
import { GridHierarchyCell as
|
|
18
|
-
import { GridFilterCell as
|
|
19
|
-
import { GridHeaderCell as
|
|
20
|
-
import { Footer as
|
|
21
|
-
import { FooterRow as
|
|
22
|
-
import { GridDetailRow as
|
|
23
|
-
import { GridRow as
|
|
24
|
-
import { GridToolbar as
|
|
25
|
-
import { GridNoRecords as
|
|
26
|
-
import
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
8
|
+
import { RootGrid as t } from "./RootGrid.mjs";
|
|
9
|
+
import { GridColumnMenuSort as i, sortGroupByField as m } from "./columnMenu/GridColumnMenuSort.mjs";
|
|
10
|
+
import { GridColumnMenuFilter as a, filterGroupByField as d } from "./columnMenu/GridColumnMenuFilter.mjs";
|
|
11
|
+
import { GridColumnMenuFilterUI as n } from "./columnMenu/GridColumnMenuFilterUI.mjs";
|
|
12
|
+
import { GridColumnMenuFilterCell as x } from "./columnMenu/GridColumnMenuFilterCell.mjs";
|
|
13
|
+
import { GridColumnMenuCheckboxFilter as G } from "./columnMenu/GridColumnMenuCheckboxFilter.mjs";
|
|
14
|
+
import { GridCell as g } from "./cells/GridCell.mjs";
|
|
15
|
+
import { GridEditCell as M } from "./cells/GridEditCell.mjs";
|
|
16
|
+
import { GridGroupCell as c } from "./cells/GridGroupCell.mjs";
|
|
17
|
+
import { GridHierarchyCell as h } from "./cells/GridHierarchyCell.mjs";
|
|
18
|
+
import { GridFilterCell as I } from "./cells/GridFilterCell.mjs";
|
|
19
|
+
import { GridHeaderCell as B } from "./header/GridHeaderCell.mjs";
|
|
20
|
+
import { Footer as H } from "./footer/Footer.mjs";
|
|
21
|
+
import { FooterRow as k } from "./footer/FooterRow.mjs";
|
|
22
|
+
import { GridDetailRow as E } from "./rows/GridDetailRow.mjs";
|
|
23
|
+
import { GridRow as V } from "./rows/GridRow.mjs";
|
|
24
|
+
import { GridToolbar as O } from "./GridToolbar.mjs";
|
|
25
|
+
import { GridNoRecords as T } from "./components/noRecords/GridNoRecords.mjs";
|
|
26
|
+
import "@progress/kendo-vue-data-tools";
|
|
27
|
+
import { GridColumnMenuItem as W } from "./columnMenu/GridColumnMenuItem.mjs";
|
|
28
|
+
import { GridColumnMenuItemContent as q } from "./columnMenu/GridColumnMenuItemContent.mjs";
|
|
29
|
+
import { GridColumnMenuItemGroup as J } from "./columnMenu/GridColumnMenuItemGroup.mjs";
|
|
30
|
+
import { GridSearchBox as L } from "./GridSearchBox.mjs";
|
|
31
|
+
import { applyExpandedState as X, autoGenerateColumns as Y, calcRowHeight as Z, checkPropCompatibility as _, firefox as $, firefoxMaxHeight as rr, flatData as or, footerColumns as er, getColSpan as tr, getColumnWidth as lr, getDataAsArray as ir, getFlatColumnsState as mr, getIndex as pr, getNestedValue as ar, getRowSpanOptions as dr, groupedFirstItemValue as ur, isRtl as nr, isSorted as fr, mapColumns as xr, parsers as Cr, readColumns as Gr, sanitizeColumns as sr } from "./utils/main.mjs";
|
|
32
|
+
import { StatusBar as Fr, getStatusData as Mr, leafColumns as Sr } from "./StatusBar.mjs";
|
|
32
33
|
export {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
34
|
+
H as Footer,
|
|
35
|
+
k as FooterRow,
|
|
36
|
+
t as Grid,
|
|
37
|
+
g as GridCell,
|
|
38
|
+
G as GridColumnMenuCheckboxFilter,
|
|
39
|
+
a as GridColumnMenuFilter,
|
|
40
|
+
x as GridColumnMenuFilterCell,
|
|
41
|
+
n as GridColumnMenuFilterUI,
|
|
42
|
+
W as GridColumnMenuItem,
|
|
43
|
+
q as GridColumnMenuItemContent,
|
|
44
|
+
J as GridColumnMenuItemGroup,
|
|
45
|
+
i as GridColumnMenuSort,
|
|
46
|
+
E as GridDetailRow,
|
|
47
|
+
M as GridEditCell,
|
|
48
|
+
I as GridFilterCell,
|
|
49
|
+
c as GridGroupCell,
|
|
50
|
+
B as GridHeaderCell,
|
|
51
|
+
h as GridHierarchyCell,
|
|
52
|
+
T as GridNoRecords,
|
|
53
|
+
V as GridRow,
|
|
54
|
+
L as GridSearchBox,
|
|
55
|
+
O as GridToolbar,
|
|
56
|
+
Fr as StatusBar,
|
|
57
|
+
X as applyExpandedState,
|
|
58
|
+
Y as autoGenerateColumns,
|
|
59
|
+
Z as calcRowHeight,
|
|
60
|
+
_ as checkPropCompatibility,
|
|
61
|
+
d as filterGroupByField,
|
|
62
|
+
$ as firefox,
|
|
63
|
+
rr as firefoxMaxHeight,
|
|
64
|
+
or as flatData,
|
|
65
|
+
er as footerColumns,
|
|
66
|
+
tr as getColSpan,
|
|
67
|
+
lr as getColumnWidth,
|
|
68
|
+
ir as getDataAsArray,
|
|
69
|
+
mr as getFlatColumnsState,
|
|
70
|
+
pr as getIndex,
|
|
71
|
+
ar as getNestedValue,
|
|
72
|
+
dr as getRowSpanOptions,
|
|
73
|
+
Mr as getStatusData,
|
|
74
|
+
ur as groupedFirstItemValue,
|
|
75
|
+
nr as isRtl,
|
|
76
|
+
fr as isSorted,
|
|
77
|
+
Sr as leafColumns,
|
|
78
|
+
xr as mapColumns,
|
|
79
|
+
Cr as parsers,
|
|
80
|
+
Gr as readColumns,
|
|
81
|
+
sr as sanitizeColumns,
|
|
82
|
+
m as sortGroupByField
|
|
82
83
|
};
|