@svgrid/grid-wc 3.0.46 → 3.0.47
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/dist/GridFind-C1YbloFh.js +39 -0
- package/dist/GridFooter-DOR8m9GQ.js +142 -0
- package/dist/GridMenus-Da8XGbc6.js +1461 -0
- package/dist/PinSplitter-Du4ZF8T3.js +178 -0
- package/dist/SvChartMenu-B6kpmwUv.js +401 -0
- package/dist/{SvDateRangeInput-Cpss2SsG.js → SvDateRangeInput-ByR-LFgf.js} +78 -77
- package/dist/SvDateTimePicker-BCxhFb5c.js +763 -0
- package/dist/{SvField-C--8r4go.js → SvField-CtzxdF7J.js} +100 -99
- package/dist/SvGridCellEditor-BUdVD7xM.js +594 -0
- package/dist/SvGridChart-DkKI8-bj.js +3684 -0
- package/dist/SvGridChartBuilder-BCQ3W8TY.js +1086 -0
- package/dist/SvGridChartPanel-uqul044E.js +1689 -0
- package/dist/{SvGridChartView-Bvacwk37.js → SvGridChartView-DWxEFzdM.js} +9 -8
- package/dist/SvGridDropdown-CnCQuXaI.js +258 -0
- package/dist/angular/fesm2022/svgrid-grid-wc-angular.mjs +12 -3
- package/dist/angular/fesm2022/svgrid-grid-wc-angular.mjs.map +1 -1
- package/dist/angular/types/svgrid-grid-wc-angular.d.ts +5 -1
- package/dist/chart/SvChartMenu-NxEyX5kU.js +635 -0
- package/dist/chart/{chart-export-C43UPY8D.js → chart-export-Dj_zVsjI.js} +5 -7
- package/dist/chart/chart-export-pdf-pmzjhHhB.js +156 -0
- package/dist/chart/{client-BuB0wIgc.js → client-Y303i9Lw.js} +1317 -1214
- package/dist/chart/sv-chart-element.js +2390 -2405
- package/dist/chart-export-pdf-DyuVs1gO.js +156 -0
- package/dist/client-OtsRxGjS.js +3075 -0
- package/dist/{column-resize-DUPgynvc.js → column-resize-SEn7el6C.js} +21 -9
- package/dist/{csv-injection-Ce26_TOb.js → csv-injection-Cxf6dMrr.js} +1 -1
- package/dist/{date-format-B0RznzxC.js → date-format-DngG1HJ5.js} +402 -407
- package/dist/{shadow/export-format-6jDuF2nb.js → export-format-7DhxeN27.js} +2 -2
- package/dist/{grid-extension.svelte-CBhmpjuc.js → grid-extension.svelte-DToFhcZv.js} +1 -1
- package/dist/grid-menu-messages-BEsB6Jhh.js +57 -0
- package/dist/history-Q12tf0k-.js +80 -0
- package/dist/list-option-DpIu99JN.js +203 -0
- package/dist/menu-focus-lmTebXyL.js +45 -0
- package/dist/range-commit-C6Rogxem.js +385 -0
- package/dist/react/index.d.ts +11 -0
- package/dist/react/index.js +2 -1
- package/dist/shadow/GridFind-CcoKoisE.js +39 -0
- package/dist/shadow/GridFooter-CDq71ytl.js +142 -0
- package/dist/shadow/GridMenus-RAp-E3hp.js +1461 -0
- package/dist/shadow/PinSplitter-BAYTAZtm.js +178 -0
- package/dist/shadow/SvChartMenu-C74rWwjU.js +401 -0
- package/dist/shadow/{SvDateRangeInput-Cpss2SsG.js → SvDateRangeInput-9Wq4E64y.js} +78 -77
- package/dist/shadow/SvDateTimePicker-y9jPLR19.js +763 -0
- package/dist/shadow/{SvField-C--8r4go.js → SvField-DGPj2clt.js} +100 -99
- package/dist/shadow/SvGridCellEditor-CzeBp9lp.js +594 -0
- package/dist/shadow/SvGridChart-zTsB6F3Y.js +3684 -0
- package/dist/shadow/SvGridChartBuilder-VUKgOcp7.js +1086 -0
- package/dist/shadow/SvGridChartPanel-DkjEUB7t.js +1689 -0
- package/dist/shadow/{SvGridChartView-Bvacwk37.js → SvGridChartView-DQmJahyT.js} +9 -8
- package/dist/shadow/SvGridDropdown-B_5kqHQE.js +258 -0
- package/dist/shadow/chart-export-pdf-BZy6f5QB.js +156 -0
- package/dist/shadow/client-OtsRxGjS.js +3075 -0
- package/dist/shadow/{column-resize-DUPgynvc.js → column-resize-SEn7el6C.js} +21 -9
- package/dist/shadow/{csv-injection-Ce26_TOb.js → csv-injection-Cxf6dMrr.js} +1 -1
- package/dist/shadow/{date-format-B0RznzxC.js → date-format-C9UkbCig.js} +402 -407
- package/dist/{export-format-6jDuF2nb.js → shadow/export-format-7DhxeN27.js} +2 -2
- package/dist/shadow/{grid-extension.svelte-CBhmpjuc.js → grid-extension.svelte-DToFhcZv.js} +1 -1
- package/dist/shadow/grid-menu-messages-BEsB6Jhh.js +57 -0
- package/dist/shadow/history-Q12tf0k-.js +80 -0
- package/dist/shadow/list-option-DpIu99JN.js +203 -0
- package/dist/shadow/menu-focus-lmTebXyL.js +45 -0
- package/dist/shadow/range-commit-C6Rogxem.js +385 -0
- package/dist/shadow/sv-grid-shadow-element.d.ts +7 -0
- package/dist/shadow/sv-grid-shadow-element.js +4236 -4469
- package/dist/shadow/{svelte-virtualizer.svelte-u-y0InK2.js → svelte-virtualizer.svelte-DWvD9wvL.js} +17 -12
- package/dist/sv-grid-element.d.ts +7 -0
- package/dist/sv-grid-element.js +4219 -4452
- package/dist/{svelte-virtualizer.svelte-u-y0InK2.js → svelte-virtualizer.svelte-DWvD9wvL.js} +17 -12
- package/dist/vue/index.d.ts +6 -2
- package/dist/vue/index.js +1 -1
- package/package.json +4 -4
- package/dist/GridFind-DianRZxS.js +0 -39
- package/dist/GridFooter-Bp3o5qJX.js +0 -162
- package/dist/GridMenus-BYkY3nhr.js +0 -1405
- package/dist/PinSplitter-CinhgIrH.js +0 -130
- package/dist/SvChartMenu-CgAcTloT.js +0 -413
- package/dist/SvDateTimePicker-DyRO_e91.js +0 -770
- package/dist/SvGridCellEditor-DHHGSjgp.js +0 -584
- package/dist/SvGridChart-BFQLtNmn.js +0 -3703
- package/dist/SvGridChartBuilder-CtGuoAOV.js +0 -1166
- package/dist/SvGridChartPanel-CeaXNzmV.js +0 -1743
- package/dist/SvGridDropdown-CrECQYeq.js +0 -257
- package/dist/chart/SvChartMenu-DslxOgPN.js +0 -590
- package/dist/chart/chart-export-pdf-C0_y8glC.js +0 -104
- package/dist/chart-export-pdf-DDVtypH7.js +0 -104
- package/dist/client-DtIdusS4.js +0 -2974
- package/dist/focus-trap-Dbb2tJxb.js +0 -65
- package/dist/list-option-DrRyivWp.js +0 -82
- package/dist/shadow/GridFind-DianRZxS.js +0 -39
- package/dist/shadow/GridFooter-DvMFqeNV.js +0 -162
- package/dist/shadow/GridMenus-DKLNTKDZ.js +0 -1405
- package/dist/shadow/PinSplitter-CinhgIrH.js +0 -130
- package/dist/shadow/SvChartMenu-CgAcTloT.js +0 -413
- package/dist/shadow/SvDateTimePicker-DyRO_e91.js +0 -770
- package/dist/shadow/SvGridCellEditor-DHHGSjgp.js +0 -584
- package/dist/shadow/SvGridChart-BFQLtNmn.js +0 -3703
- package/dist/shadow/SvGridChartBuilder-CtGuoAOV.js +0 -1166
- package/dist/shadow/SvGridChartPanel-CeaXNzmV.js +0 -1743
- package/dist/shadow/SvGridDropdown-CrECQYeq.js +0 -257
- package/dist/shadow/chart-export-pdf-DDVtypH7.js +0 -104
- package/dist/shadow/client-DtIdusS4.js +0 -2974
- package/dist/shadow/focus-trap-Dbb2tJxb.js +0 -65
- package/dist/shadow/list-option-DrRyivWp.js +0 -82
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
//#region ../grid/dist/a11y/focus-trap.js
|
|
2
|
-
var e = [
|
|
3
|
-
"a[href]",
|
|
4
|
-
"area[href]",
|
|
5
|
-
"button:not([disabled])",
|
|
6
|
-
"input:not([disabled])",
|
|
7
|
-
"select:not([disabled])",
|
|
8
|
-
"textarea:not([disabled])",
|
|
9
|
-
"iframe",
|
|
10
|
-
"audio[controls]",
|
|
11
|
-
"video[controls]",
|
|
12
|
-
"[contenteditable]:not([contenteditable=\"false\"])",
|
|
13
|
-
"[tabindex]"
|
|
14
|
-
].join(",");
|
|
15
|
-
function t(e) {
|
|
16
|
-
if (e.hasAttribute("disabled") || e.getAttribute("aria-hidden") === "true" || e.hidden || e.closest("[hidden]")) return !1;
|
|
17
|
-
let t = e.style;
|
|
18
|
-
return !(t.display === "none" || t.visibility === "hidden" || typeof e.getClientRects == "function" && e.getClientRects().length === 0 && document.body.getClientRects().length > 0);
|
|
19
|
-
}
|
|
20
|
-
function n(n) {
|
|
21
|
-
return Array.from(n.querySelectorAll(e)).filter((e) => {
|
|
22
|
-
let n = e.getAttribute("tabindex");
|
|
23
|
-
return n !== null && Number(n) < 0 ? !1 : t(e);
|
|
24
|
-
});
|
|
25
|
-
}
|
|
26
|
-
function r(e, t = {}) {
|
|
27
|
-
let { initialFocus: r = "first", returnFocus: i = !0 } = t, a = null, o = !1;
|
|
28
|
-
function s() {
|
|
29
|
-
let t = r;
|
|
30
|
-
return t === "container" ? e : t === "first" ? n(e)[0] ?? e : typeof t == "function" ? t() : t;
|
|
31
|
-
}
|
|
32
|
-
function c(r) {
|
|
33
|
-
if (!o) return;
|
|
34
|
-
if (r.key === "Escape" && t.onEscape) {
|
|
35
|
-
t.onEscape(r);
|
|
36
|
-
return;
|
|
37
|
-
}
|
|
38
|
-
if (r.key !== "Tab") return;
|
|
39
|
-
let i = n(e);
|
|
40
|
-
if (!i.length) {
|
|
41
|
-
r.preventDefault(), e.focus();
|
|
42
|
-
return;
|
|
43
|
-
}
|
|
44
|
-
let a = i[0], s = i[i.length - 1], c = document.activeElement;
|
|
45
|
-
if (!e.contains(c)) {
|
|
46
|
-
r.preventDefault(), a.focus();
|
|
47
|
-
return;
|
|
48
|
-
}
|
|
49
|
-
r.shiftKey && c === a ? (r.preventDefault(), s.focus()) : !r.shiftKey && c === s && (r.preventDefault(), a.focus());
|
|
50
|
-
}
|
|
51
|
-
function l() {
|
|
52
|
-
o || (o = !0, a = document.activeElement, e.hasAttribute("tabindex") || e.setAttribute("tabindex", "-1"), document.addEventListener("keydown", c, !0), queueMicrotask(() => {
|
|
53
|
-
o && s()?.focus();
|
|
54
|
-
}));
|
|
55
|
-
}
|
|
56
|
-
function u() {
|
|
57
|
-
o && (o = !1, document.removeEventListener("keydown", c, !0), i && a?.focus?.(), a = null);
|
|
58
|
-
}
|
|
59
|
-
return {
|
|
60
|
-
activate: l,
|
|
61
|
-
release: u
|
|
62
|
-
};
|
|
63
|
-
}
|
|
64
|
-
//#endregion
|
|
65
|
-
export { n, r as t };
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
//#region ../grid/dist/list-option.js
|
|
2
|
-
function e(e) {
|
|
3
|
-
return e ? e.map((e) => {
|
|
4
|
-
if (typeof e == "object" && e) {
|
|
5
|
-
let t = e, n = t.value ?? t.label ?? "";
|
|
6
|
-
return {
|
|
7
|
-
...t,
|
|
8
|
-
value: n,
|
|
9
|
-
label: t.label ?? String(n)
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
return {
|
|
13
|
-
value: e,
|
|
14
|
-
label: String(e)
|
|
15
|
-
};
|
|
16
|
-
}) : [];
|
|
17
|
-
}
|
|
18
|
-
function t(e) {
|
|
19
|
-
let t = [], n = /* @__PURE__ */ new Map();
|
|
20
|
-
return e.forEach((e, r) => {
|
|
21
|
-
let i = e.group ?? null, a = n.get(i);
|
|
22
|
-
a || (a = {
|
|
23
|
-
group: i,
|
|
24
|
-
options: []
|
|
25
|
-
}, n.set(i, a), t.push(a)), a.options.push({
|
|
26
|
-
...e,
|
|
27
|
-
index: r
|
|
28
|
-
});
|
|
29
|
-
}), t;
|
|
30
|
-
}
|
|
31
|
-
function n(e, n) {
|
|
32
|
-
let r = Math.max(1, n.groupHeaderHeight ?? 28), i = n.rowHeight, a = (e) => Math.max(1, typeof i == "function" ? i(e, e.index) : i), o = [], s = Array(e.length), c = !1;
|
|
33
|
-
for (let n of t(e)) {
|
|
34
|
-
n.group != null && (c = !0, o.push({
|
|
35
|
-
type: "group",
|
|
36
|
-
label: n.group,
|
|
37
|
-
size: r
|
|
38
|
-
}));
|
|
39
|
-
for (let e of n.options) s[e.index] = o.length, o.push({
|
|
40
|
-
type: "option",
|
|
41
|
-
opt: e,
|
|
42
|
-
size: a(e)
|
|
43
|
-
});
|
|
44
|
-
}
|
|
45
|
-
return {
|
|
46
|
-
entries: o,
|
|
47
|
-
hasGroups: c,
|
|
48
|
-
sizeAt: (e) => o[e]?.size ?? 0,
|
|
49
|
-
optionFlatIndex: s
|
|
50
|
-
};
|
|
51
|
-
}
|
|
52
|
-
function r(e, t, n) {
|
|
53
|
-
let r = t.trim().toLowerCase();
|
|
54
|
-
if (!r || !e.length) return -1;
|
|
55
|
-
let i = e.length;
|
|
56
|
-
for (let t = 1; t <= i; t++) {
|
|
57
|
-
let a = (n + t) % i, o = e[a];
|
|
58
|
-
if (o && !o.disabled && o.label.toLowerCase().startsWith(r)) return a;
|
|
59
|
-
}
|
|
60
|
-
return -1;
|
|
61
|
-
}
|
|
62
|
-
function i(e = 600) {
|
|
63
|
-
let t = "", n;
|
|
64
|
-
return {
|
|
65
|
-
get value() {
|
|
66
|
-
return t;
|
|
67
|
-
},
|
|
68
|
-
push(r) {
|
|
69
|
-
return t += r, n && clearTimeout(n), n = setTimeout(() => {
|
|
70
|
-
t = "";
|
|
71
|
-
}, e), t;
|
|
72
|
-
},
|
|
73
|
-
clear() {
|
|
74
|
-
t = "", n && clearTimeout(n);
|
|
75
|
-
}
|
|
76
|
-
};
|
|
77
|
-
}
|
|
78
|
-
function a(e) {
|
|
79
|
-
return e.key.length === 1 && !e.ctrlKey && !e.metaKey && !e.altKey && e.key !== " ";
|
|
80
|
-
}
|
|
81
|
-
//#endregion
|
|
82
|
-
export { r as a, a as i, n, e as o, t as r, i as t };
|