@svgrid/grid-wc 3.0.1 → 3.0.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/README.md +24 -1
- package/dist/GridMenus-DMkf7UMn.js +1086 -0
- package/dist/SvChartMenu-DkSyLWYH.js +413 -0
- package/dist/SvDateRangeInput-BrYTQEMM.js +197 -0
- package/dist/SvDateTimePicker-Czin1Ead.js +766 -0
- package/dist/SvField-Bmzp3ObZ.js +147 -0
- package/dist/SvGridCellEditor-DhXEIlyE.js +560 -0
- package/dist/SvGridChart-BMdCbrqb.js +3702 -0
- package/dist/SvGridChartBuilder-Chp_MD1B.js +1166 -0
- package/dist/SvGridChartPanel-BIV2O2Lp.js +1743 -0
- package/dist/SvGridChartView-DyhkumD-.js +45 -0
- package/dist/SvGridDropdown-BwPpGwLz.js +257 -0
- package/dist/angular/fesm2022/svgrid-grid-wc-angular.mjs +212 -7
- package/dist/angular/fesm2022/svgrid-grid-wc-angular.mjs.map +1 -1
- package/dist/angular/types/svgrid-grid-wc-angular.d.ts +92 -2
- package/dist/{cell-formatting-Eypm-id0.js → cell-formatting-CBfgahv1.js} +1 -1
- package/dist/chart/SvChartMenu-DslxOgPN.js +590 -0
- package/dist/chart/chart-export-BHGuh_kZ.js +127 -0
- package/dist/chart/chart-export-pdf-BjkkIEkE.js +104 -0
- package/dist/chart/chart-summary-6Xu2JoNC.js +137 -0
- package/dist/chart/chart-trend-7fxtAqEl.js +56 -0
- package/dist/chart/chart-validate-CD6ptiwg.js +180 -0
- package/dist/chart/client-BuB0wIgc.js +2757 -0
- package/dist/chart/sv-chart-element.d.ts +98 -0
- package/dist/chart/sv-chart-element.js +7282 -0
- package/dist/chart-D_LKA1fr.js +4398 -0
- package/dist/chart-export-pdf-9OCvhzr0.js +104 -0
- package/dist/chart-summary-v3Lhe8YD.js +137 -0
- package/dist/chart-validate-CD6ptiwg.js +180 -0
- package/dist/{shadow/client-DjwUji8D.js → client-DEF0GRjE.js} +1 -1
- package/dist/{shadow/column-resize-DvCRUrN3.js → column-resize-DUPgynvc.js} +3 -3
- package/dist/date-format-DMTwV8NC.js +1128 -0
- package/dist/{shadow/dismissable-DvhBKm3q.js → dismissable-CQ6XFXsk.js} +5 -1
- package/dist/{export-format-uGayRKWM.js → export-format-CAi1mp-1.js} +1 -1
- package/dist/focus-trap-Dbb2tJxb.js +65 -0
- package/dist/list-option-DrRyivWp.js +82 -0
- package/dist/react/chart.d.ts +99 -0
- package/dist/react/chart.js +49 -0
- package/dist/react/index.d.ts +72 -0
- package/dist/react/index.js +8 -1
- package/dist/row-resize-limG_N1z.js +111 -0
- package/dist/shadow/GridMenus-DMkf7UMn.js +1086 -0
- package/dist/shadow/SvChartMenu-DkSyLWYH.js +413 -0
- package/dist/shadow/SvDateRangeInput-BrYTQEMM.js +197 -0
- package/dist/shadow/SvDateTimePicker-Czin1Ead.js +766 -0
- package/dist/shadow/SvField-Bmzp3ObZ.js +147 -0
- package/dist/shadow/SvGridCellEditor-DhXEIlyE.js +560 -0
- package/dist/shadow/SvGridChart-BMdCbrqb.js +3702 -0
- package/dist/shadow/SvGridChartBuilder-Chp_MD1B.js +1166 -0
- package/dist/shadow/SvGridChartPanel-BIV2O2Lp.js +1743 -0
- package/dist/shadow/SvGridChartView-DyhkumD-.js +45 -0
- package/dist/shadow/SvGridDropdown-BwPpGwLz.js +257 -0
- package/dist/shadow/{cell-formatting-Eypm-id0.js → cell-formatting-CBfgahv1.js} +1 -1
- package/dist/shadow/chart-D_LKA1fr.js +4398 -0
- package/dist/shadow/chart-export-pdf-9OCvhzr0.js +104 -0
- package/dist/shadow/chart-summary-v3Lhe8YD.js +137 -0
- package/dist/shadow/chart-validate-CD6ptiwg.js +180 -0
- package/dist/{client-DjwUji8D.js → shadow/client-DEF0GRjE.js} +1 -1
- package/dist/{column-resize-DvCRUrN3.js → shadow/column-resize-DUPgynvc.js} +3 -3
- package/dist/shadow/date-format-DMTwV8NC.js +1128 -0
- package/dist/{dismissable-DvhBKm3q.js → shadow/dismissable-CQ6XFXsk.js} +5 -1
- package/dist/shadow/{export-format-DhdZREP1.js → export-format-mnW_rVBZ.js} +1 -1
- package/dist/shadow/focus-trap-Dbb2tJxb.js +65 -0
- package/dist/shadow/list-option-DrRyivWp.js +82 -0
- package/dist/shadow/row-resize-limG_N1z.js +111 -0
- package/dist/shadow/sv-grid-shadow-element.d.ts +41 -0
- package/dist/shadow/sv-grid-shadow-element.js +5905 -3986
- package/dist/shadow/{svelte-virtualizer.svelte-DZ9UcyfT.js → svelte-virtualizer.svelte-CnGhFGDc.js} +37 -34
- package/dist/shadow/validate-BqDthkNr.js +88 -0
- package/dist/sv-grid-element.d.ts +41 -0
- package/dist/sv-grid-element.js +5874 -3985
- package/dist/{svelte-virtualizer.svelte-DZ9UcyfT.js → svelte-virtualizer.svelte-CnGhFGDc.js} +37 -34
- package/dist/validate-BqDthkNr.js +88 -0
- package/dist/vue/chart.d.ts +64 -0
- package/dist/vue/chart.js +41 -0
- package/dist/vue/index.d.ts +26 -2
- package/dist/vue/index.js +1 -22
- package/package.json +18 -5
- package/dist/GridMenus-YwTw9Upd.js +0 -1123
- package/dist/SvDateRangeInput-CrxeppBV.js +0 -196
- package/dist/SvDateTimePicker-xAO-Pb4S.js +0 -765
- package/dist/SvField-CE345DyF.js +0 -146
- package/dist/SvGridCellEditor-D7SyHtff.js +0 -550
- package/dist/SvGridChart-CMaVmlso.js +0 -1477
- package/dist/SvGridChartPanel-Pc_IW0eA.js +0 -833
- package/dist/SvGridChartView-DLhhzmFy.js +0 -52
- package/dist/SvGridDropdown-DUncHqM-.js +0 -256
- package/dist/chart-GRBAgN1M.js +0 -1658
- package/dist/date-format-D_oQ5Yw0.js +0 -1127
- package/dist/row-resize-D-8s3cqT.js +0 -94
- package/dist/shadow/GridMenus-YwTw9Upd.js +0 -1123
- package/dist/shadow/SvDateRangeInput-CrxeppBV.js +0 -196
- package/dist/shadow/SvDateTimePicker-xAO-Pb4S.js +0 -765
- package/dist/shadow/SvField-CE345DyF.js +0 -146
- package/dist/shadow/SvGridCellEditor-D7SyHtff.js +0 -550
- package/dist/shadow/SvGridChart-CMaVmlso.js +0 -1477
- package/dist/shadow/SvGridChartPanel-Pc_IW0eA.js +0 -833
- package/dist/shadow/SvGridChartView-DLhhzmFy.js +0 -52
- package/dist/shadow/SvGridDropdown-DUncHqM-.js +0 -256
- package/dist/shadow/chart-GRBAgN1M.js +0 -1658
- package/dist/shadow/date-format-D_oQ5Yw0.js +0 -1127
- package/dist/shadow/row-resize-D-8s3cqT.js +0 -94
- package/dist/shadow/validate-CgmAtX1A.js +0 -75
- package/dist/validate-CgmAtX1A.js +0 -75
package/dist/shadow/{svelte-virtualizer.svelte-DZ9UcyfT.js → svelte-virtualizer.svelte-CnGhFGDc.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Q as e, R as t, Z as n } from "./client-DEF0GRjE.js";
|
|
2
2
|
//#region ../grid/dist/sv-grid-scrollbar.js
|
|
3
3
|
var r = 16, i = 280, a = 50, o = "http://www.w3.org/2000/svg";
|
|
4
4
|
function s() {
|
|
@@ -343,44 +343,47 @@ function x(e, t) {
|
|
|
343
343
|
if (e.totalSize !== t.totalSize || e.startIndex !== t.startIndex || e.endIndex !== t.endIndex || e.viewportHeight !== t.viewportHeight || e.items.length !== t.items.length) return !1;
|
|
344
344
|
for (let n = 0; n < e.items.length; n += 1) {
|
|
345
345
|
let r = e.items[n], i = t.items[n];
|
|
346
|
-
if (r.index !== i.index || r.start !== i.start || r.size !== i.size) return !1;
|
|
346
|
+
if (r.index !== i.index || r.start !== i.start || r.size !== i.size || r.key !== i.key) return !1;
|
|
347
347
|
}
|
|
348
348
|
return !0;
|
|
349
349
|
}
|
|
350
|
-
function S(e, t
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
350
|
+
function S(e, t) {
|
|
351
|
+
return `virtual_slot_${e % t}`;
|
|
352
|
+
}
|
|
353
|
+
function C(e, t, n) {
|
|
354
|
+
let r = [], i = t - e + 1;
|
|
355
|
+
for (let a = e; a <= t; a += 1) {
|
|
356
|
+
let e = a * n;
|
|
354
357
|
r.push({
|
|
355
|
-
index:
|
|
356
|
-
start:
|
|
358
|
+
index: a,
|
|
359
|
+
start: e,
|
|
357
360
|
size: n,
|
|
358
|
-
end:
|
|
359
|
-
key:
|
|
361
|
+
end: e + n,
|
|
362
|
+
key: S(a, i)
|
|
360
363
|
});
|
|
361
364
|
}
|
|
362
365
|
return r;
|
|
363
366
|
}
|
|
364
|
-
function
|
|
367
|
+
function w(e, t, n, r) {
|
|
365
368
|
if (e <= 0) return [];
|
|
366
|
-
let i = Math.max(t, 1), a = Math.ceil(Math.max(n, 0) / i)
|
|
367
|
-
return
|
|
369
|
+
let i = Math.max(t, 1), a = Math.ceil(Math.max(n, 0) / i);
|
|
370
|
+
return C(0, Math.max(Math.min(a + Math.max(r, 0), e - 1), 0), i);
|
|
368
371
|
}
|
|
369
|
-
function
|
|
370
|
-
let r = [];
|
|
371
|
-
for (let
|
|
372
|
-
let
|
|
372
|
+
function T(e, t, n) {
|
|
373
|
+
let r = [], i = t - e + 1;
|
|
374
|
+
for (let a = e; a <= t; a += 1) {
|
|
375
|
+
let e = n[a] ?? 0, t = n[a + 1] ?? e;
|
|
373
376
|
r.push({
|
|
374
|
-
index:
|
|
375
|
-
start:
|
|
376
|
-
size:
|
|
377
|
-
end:
|
|
378
|
-
key:
|
|
377
|
+
index: a,
|
|
378
|
+
start: e,
|
|
379
|
+
size: t - e,
|
|
380
|
+
end: t,
|
|
381
|
+
key: S(a, i)
|
|
379
382
|
});
|
|
380
383
|
}
|
|
381
384
|
return r;
|
|
382
385
|
}
|
|
383
|
-
function
|
|
386
|
+
function E(e, t) {
|
|
384
387
|
let n = Math.max(e.count, 0), r = Math.max(e.overscan ?? 6, 0), i = Math.max(e.viewportHeight, 0);
|
|
385
388
|
if (typeof e.estimateSize == "function" && t) {
|
|
386
389
|
let a = t[n] ?? 0, o = Math.max(a - i, 0), s = y(e.scrollOffset ?? 0, 0, o), c = 0, l = n;
|
|
@@ -395,7 +398,7 @@ function T(e, t) {
|
|
|
395
398
|
}
|
|
396
399
|
let f = Math.max(c - 1, u), p = n === 0 ? 0 : y(u - r, 0, n - 1), m = n === 0 ? -1 : y(f + r, 0, n - 1);
|
|
397
400
|
return {
|
|
398
|
-
items: m >= p ?
|
|
401
|
+
items: m >= p ? T(p, m, t) : [],
|
|
399
402
|
totalSize: a,
|
|
400
403
|
startIndex: p,
|
|
401
404
|
endIndex: m,
|
|
@@ -405,7 +408,7 @@ function T(e, t) {
|
|
|
405
408
|
}
|
|
406
409
|
let a = Math.max(typeof e.estimateSize == "number" ? e.estimateSize : 1, 1), o = n * a, s = Math.max(o - i, 0), c = y(e.scrollOffset ?? 0, 0, s), l = Math.floor(c / a), u = Math.ceil(i / a), d = Math.min(l + u, Math.max(n - 1, 0)), f = n === 0 ? 0 : y(l - r, 0, n - 1), p = n === 0 ? -1 : y(d + r, 0, n - 1);
|
|
407
410
|
return {
|
|
408
|
-
items: p >= f ?
|
|
411
|
+
items: p >= f ? C(f, p, a) : [],
|
|
409
412
|
totalSize: o,
|
|
410
413
|
startIndex: f,
|
|
411
414
|
endIndex: p,
|
|
@@ -413,7 +416,7 @@ function T(e, t) {
|
|
|
413
416
|
viewportHeight: i
|
|
414
417
|
};
|
|
415
418
|
}
|
|
416
|
-
function
|
|
419
|
+
function D(e) {
|
|
417
420
|
let t = e, n = null;
|
|
418
421
|
function r() {
|
|
419
422
|
if (typeof t.estimateSize != "function") return null;
|
|
@@ -421,19 +424,19 @@ function E(e) {
|
|
|
421
424
|
if (n && n.fn === t.estimateSize && n.count === e) return n.offsets;
|
|
422
425
|
let r = t.estimateSize, i = Array(e + 1);
|
|
423
426
|
i[0] = 0;
|
|
424
|
-
for (let t = 0; t < e; t += 1) i[t + 1] = i[t] + Math.max(r(t),
|
|
427
|
+
for (let t = 0; t < e; t += 1) i[t + 1] = i[t] + Math.max(r(t), 0);
|
|
425
428
|
return n = {
|
|
426
429
|
fn: r,
|
|
427
430
|
count: e,
|
|
428
431
|
offsets: i
|
|
429
432
|
}, i;
|
|
430
433
|
}
|
|
431
|
-
let i =
|
|
434
|
+
let i = E(t, r()), a = /* @__PURE__ */ new Set();
|
|
432
435
|
function o() {
|
|
433
436
|
a.forEach((e) => e());
|
|
434
437
|
}
|
|
435
438
|
function s() {
|
|
436
|
-
let e =
|
|
439
|
+
let e = E(t, r());
|
|
437
440
|
x(i, e) || (i = e, o());
|
|
438
441
|
}
|
|
439
442
|
return {
|
|
@@ -504,13 +507,13 @@ function E(e) {
|
|
|
504
507
|
}
|
|
505
508
|
//#endregion
|
|
506
509
|
//#region ../grid/dist/virtualization/svelte-virtualizer.svelte.js
|
|
507
|
-
function
|
|
508
|
-
let i =
|
|
510
|
+
function O(r) {
|
|
511
|
+
let i = D(r), a = e(0);
|
|
509
512
|
return i.subscribe(() => {
|
|
510
|
-
|
|
513
|
+
n(a, t(a) + 1);
|
|
511
514
|
}), {
|
|
512
515
|
get version() {
|
|
513
|
-
return
|
|
516
|
+
return t(a);
|
|
514
517
|
},
|
|
515
518
|
setOptions: i.setOptions,
|
|
516
519
|
setScrollOffset: i.setScrollOffset,
|
|
@@ -524,4 +527,4 @@ function D(r) {
|
|
|
524
527
|
};
|
|
525
528
|
}
|
|
526
529
|
//#endregion
|
|
527
|
-
export { h as a, g as c, v as i,
|
|
530
|
+
export { h as a, g as c, v as i, w as n, f as o, D as r, m as s, O as t };
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
//#region ../grid/dist/server-block-cache.js
|
|
2
|
+
var e = Symbol.for("svgrid.rowPlaceholder");
|
|
3
|
+
Object.freeze({ [e]: "loading" }), Object.freeze({ [e]: "failed" });
|
|
4
|
+
function t(t) {
|
|
5
|
+
if (typeof t != "object" || !t) return null;
|
|
6
|
+
let n = t[e];
|
|
7
|
+
return n === "loading" || n === "failed" ? n : null;
|
|
8
|
+
}
|
|
9
|
+
//#endregion
|
|
10
|
+
//#region ../grid/dist/validate.js
|
|
11
|
+
var n = 10, r = "https://svgrid.com/docs/getting-started/3-data-and-columns/";
|
|
12
|
+
function i(e, t = []) {
|
|
13
|
+
for (let n of e) n.columns?.length ? i(n.columns, t) : t.push(n);
|
|
14
|
+
return t;
|
|
15
|
+
}
|
|
16
|
+
function a(e) {
|
|
17
|
+
let a = [], s = i(e.columns ?? []), c = [];
|
|
18
|
+
for (let r of e.data ?? []) {
|
|
19
|
+
if (c.length >= n) break;
|
|
20
|
+
t(r) || c.push(r);
|
|
21
|
+
}
|
|
22
|
+
if (c.length && !e.serverGroup) {
|
|
23
|
+
let e = /* @__PURE__ */ new Set();
|
|
24
|
+
for (let t of c) if (t && typeof t == "object") for (let n of Object.keys(t)) e.add(n);
|
|
25
|
+
for (let t of s) {
|
|
26
|
+
let n = t.field;
|
|
27
|
+
if (!n || t.fieldFn || e.has(n)) continue;
|
|
28
|
+
let i = o(n, [...e]);
|
|
29
|
+
a.push(`[svgrid] Column field "${n}" does not exist on your row data, so that column renders empty.${i ? ` Did you mean "${i}"?` : ""} Available keys: ${[...e].slice(0, 12).join(", ")}. See ${r}`);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
let l = /* @__PURE__ */ new Map();
|
|
33
|
+
for (let e of s) {
|
|
34
|
+
let t = e.id ?? e.field;
|
|
35
|
+
t && l.set(t, (l.get(t) ?? 0) + 1);
|
|
36
|
+
}
|
|
37
|
+
for (let [e, t] of l) t > 1 && a.push(`[svgrid] ${t} columns share the id "${e}". Column state (sorting, filtering, pinning, width) is keyed by id, so they will act as one. Give each an explicit \`id\`. See ${r}`);
|
|
38
|
+
let u = e.pageable === void 0 && e.showPagination === void 0;
|
|
39
|
+
e.pageSize !== void 0 && u && a.push("[svgrid] `pageSize` is set but pagination was never turned on, so it has no effect and every row renders. Add `pageable` to switch the pager on."), !(e.sortable === !0 || e.features?.rowSortingFeature) && s.some((e) => e.sortable === !0) && a.push("[svgrid] A column sets `sortable: true`, but sorting is not enabled on the grid, so its header does nothing. Add `sortable` to <SvGrid> (it registers the sorting feature for you).");
|
|
40
|
+
let d = /* @__PURE__ */ new Set();
|
|
41
|
+
for (let e of s) {
|
|
42
|
+
let t = e.id ?? e.field;
|
|
43
|
+
t && d.add(t);
|
|
44
|
+
}
|
|
45
|
+
for (let t of e.groupBy ?? []) {
|
|
46
|
+
if (d.has(t)) continue;
|
|
47
|
+
let e = o(t, [...d]);
|
|
48
|
+
a.push(`[svgrid] \`groupBy\` refers to column "${t}", which does not exist, so that grouping level is ignored.${e ? ` Did you mean "${e}"?` : ""} Column ids: ${[...d].slice(0, 12).join(", ")}`);
|
|
49
|
+
}
|
|
50
|
+
let f = e.treeData?.column;
|
|
51
|
+
if (f && !d.has(f) && a.push(`[svgrid] \`treeData.column\` refers to column "${f}", which does not exist, so the expander falls back to the first visible column.`), c.length && e.treeData) {
|
|
52
|
+
let t = /* @__PURE__ */ new Set();
|
|
53
|
+
for (let e of c) if (e && typeof e == "object") for (let n of Object.keys(e)) t.add(n);
|
|
54
|
+
let n = e.treeData.parentField;
|
|
55
|
+
if (n && !t.has(n)) {
|
|
56
|
+
let e = o(n, [...t]);
|
|
57
|
+
a.push(`[svgrid] \`treeData.parentField\` is "${n}", which is not on your row data, so every row becomes a root and no hierarchy appears.${e ? ` Did you mean "${e}"?` : ""}`);
|
|
58
|
+
}
|
|
59
|
+
let r = e.treeData.idField;
|
|
60
|
+
r && !t.has(r) && a.push(`[svgrid] \`treeData.idField\` is "${r}", which is not on your row data, so parent lookups cannot match and the tree stays flat.`);
|
|
61
|
+
}
|
|
62
|
+
return e.gantt && e.treeData && a.push("[svgrid] `gantt` and `treeData` are both set. The Gantt builds its own work-breakdown tree from `gantt.parentField` and needs every descendant row, but `treeData` hides collapsed children from the view, so summary bars will under-report. Remove `treeData` and set `gantt.parentField` instead."), (e.initialColumnPinning?.left?.length ?? 0) + (e.initialColumnPinning?.right?.length ?? 0) > 0 && e.columnVirtualization !== !1 && a.push("[svgrid] `initialColumnPinning` is set while column virtualization is on (its default), so the pinned columns will not stick - the virtualizer recycles column nodes. Add `columnVirtualization={false}`."), e.externalPagination === !0 && e.rowCount === void 0 && a.push("[svgrid] `externalPagination` is on but `rowCount` is not set, so the pager cannot know how many pages exist. Pass the server total as `rowCount`."), e.externalSort === !0 && !e.onSortingChange && a.push("[svgrid] `externalSort` is on but there is no `onSortingChange` handler, so clicking a header changes nothing - the grid stopped sorting and nobody is listening. Add `onSortingChange` and re-fetch in your handler."), e.externalFilter === !0 && !e.onFiltersChange && a.push("[svgrid] `externalFilter` is on but there is no `onFiltersChange` handler, so filtering the grid changes nothing. Add `onFiltersChange` and re-fetch in your handler."), a;
|
|
63
|
+
}
|
|
64
|
+
function o(e, t) {
|
|
65
|
+
let n, r = Infinity;
|
|
66
|
+
for (let i of t) {
|
|
67
|
+
let t = s(e.toLowerCase(), i.toLowerCase());
|
|
68
|
+
t < r && (r = t, n = i);
|
|
69
|
+
}
|
|
70
|
+
let i = Math.min(3, Math.floor(e.length / 3) + 1);
|
|
71
|
+
return r <= i ? n : void 0;
|
|
72
|
+
}
|
|
73
|
+
function s(e, t) {
|
|
74
|
+
if (e === t) return 0;
|
|
75
|
+
let n = Array(t.length + 1);
|
|
76
|
+
for (let e = 0; e <= t.length; e++) n[e] = e;
|
|
77
|
+
for (let r = 1; r <= e.length; r++) {
|
|
78
|
+
let i = n[0];
|
|
79
|
+
n[0] = r;
|
|
80
|
+
for (let a = 1; a <= t.length; a++) {
|
|
81
|
+
let o = Math.min(n[a] + 1, n[a - 1] + 1, i + (e[r - 1] === t[a - 1] ? 0 : 1));
|
|
82
|
+
i = n[a], n[a] = o;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
return n[t.length];
|
|
86
|
+
}
|
|
87
|
+
//#endregion
|
|
88
|
+
export { a as validateGridConfig };
|
|
@@ -21,6 +21,8 @@ export interface SvGridElement extends HTMLElement {
|
|
|
21
21
|
/** property only - an attribute cannot hold this */
|
|
22
22
|
scheduler: unknown
|
|
23
23
|
/** property only - an attribute cannot hold this */
|
|
24
|
+
gantt: unknown
|
|
25
|
+
/** property only - an attribute cannot hold this */
|
|
24
26
|
chart: unknown
|
|
25
27
|
/** property only - an attribute cannot hold this */
|
|
26
28
|
pivot: unknown
|
|
@@ -135,9 +137,19 @@ export interface SvGridElement extends HTMLElement {
|
|
|
135
137
|
/** attribute `copy-headers-to-clipboard` */
|
|
136
138
|
copyHeadersToClipboard: boolean
|
|
137
139
|
/** property only - an attribute cannot hold this */
|
|
140
|
+
processCellForFill: unknown
|
|
141
|
+
/** property only - an attribute cannot hold this */
|
|
138
142
|
processCellForClipboard: unknown
|
|
143
|
+
/** property only - an attribute cannot hold this */
|
|
144
|
+
includeCollapsedRows: unknown
|
|
145
|
+
/** property only - an attribute cannot hold this */
|
|
146
|
+
clipboardHtml: unknown
|
|
147
|
+
/** property only - an attribute cannot hold this */
|
|
148
|
+
processCellFromClipboard: unknown
|
|
139
149
|
/** attribute `enable-inline-editing` */
|
|
140
150
|
enableInlineEditing: boolean
|
|
151
|
+
/** attribute `edit-on-second-click` */
|
|
152
|
+
editOnSecondClick: boolean
|
|
141
153
|
/** attribute `full-row-editing` */
|
|
142
154
|
fullRowEditing: boolean
|
|
143
155
|
/** attribute `enable-row-summaries` */
|
|
@@ -185,13 +197,35 @@ export interface SvGridElement extends HTMLElement {
|
|
|
185
197
|
/** attribute `conditional-stat-scope` */
|
|
186
198
|
conditionalStatScope: "filtered" | "visible" | "all"
|
|
187
199
|
/** property only - an attribute cannot hold this */
|
|
200
|
+
rowPlaceholder: unknown
|
|
201
|
+
/** property only - an attribute cannot hold this */
|
|
202
|
+
rowModel: unknown
|
|
203
|
+
/** property only - an attribute cannot hold this */
|
|
204
|
+
pivotResultColumns: readonly unknown[]
|
|
205
|
+
/** property only - an attribute cannot hold this */
|
|
206
|
+
rowSelectionModel: unknown
|
|
207
|
+
/** property only - an attribute cannot hold this */
|
|
188
208
|
isDetailRow: unknown
|
|
209
|
+
/** attribute `detail-row-height` */
|
|
210
|
+
detailRowHeight: number
|
|
211
|
+
/** attribute `show-detail-toggle` */
|
|
212
|
+
showDetailToggle: boolean
|
|
213
|
+
/** property only - an attribute cannot hold this */
|
|
214
|
+
isDetailOpen: unknown
|
|
215
|
+
/** property only - an attribute cannot hold this */
|
|
216
|
+
hasDetail: unknown
|
|
189
217
|
/** property only - an attribute cannot hold this */
|
|
190
218
|
serverGroup: unknown
|
|
191
219
|
/** property only - an attribute cannot hold this */
|
|
192
220
|
serverFilterValues: unknown
|
|
193
221
|
/** property only - an attribute cannot hold this */
|
|
194
222
|
pinnedTopRows: readonly unknown[]
|
|
223
|
+
/** attribute `frozen-rows` */
|
|
224
|
+
frozenRows: number
|
|
225
|
+
/** attribute `sticky-group-rows` */
|
|
226
|
+
stickyGroupRows: boolean
|
|
227
|
+
/** property only - an attribute cannot hold this */
|
|
228
|
+
mergedCells: readonly unknown[]
|
|
195
229
|
/** property only - an attribute cannot hold this */
|
|
196
230
|
pinnedBottomRows: readonly unknown[]
|
|
197
231
|
/** attribute `enable-column-reorder` */
|
|
@@ -223,6 +257,9 @@ declare global {
|
|
|
223
257
|
pivotmodechange: CustomEvent<unknown>
|
|
224
258
|
expandedchange: CustomEvent<unknown>
|
|
225
259
|
paginationchange: CustomEvent<unknown>
|
|
260
|
+
columnresize: CustomEvent<unknown>
|
|
261
|
+
rowresize: CustomEvent<unknown>
|
|
262
|
+
pasteclipboard: CustomEvent<unknown>
|
|
226
263
|
apiready: CustomEvent<unknown>
|
|
227
264
|
rowselectionchange: CustomEvent<unknown>
|
|
228
265
|
cellselectionchange: CustomEvent<unknown>
|
|
@@ -237,8 +274,12 @@ declare global {
|
|
|
237
274
|
celldoubleclick: CustomEvent<unknown>
|
|
238
275
|
rowdoubleclick: CustomEvent<unknown>
|
|
239
276
|
scrollbottomreached: CustomEvent<unknown>
|
|
277
|
+
visiblerangechange: CustomEvent<unknown>
|
|
278
|
+
retryrow: CustomEvent<unknown>
|
|
279
|
+
detailtoggle: CustomEvent<unknown>
|
|
240
280
|
columnorderchange: CustomEvent<unknown>
|
|
241
281
|
rowdragend: CustomEvent<unknown>
|
|
282
|
+
rowdrop: CustomEvent<unknown>
|
|
242
283
|
selectionchange: CustomEvent<unknown>
|
|
243
284
|
}
|
|
244
285
|
}
|