overview-components 1.0.75 → 1.0.77
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/_virtual/FileSaver.min.js +4 -0
- package/dist/_virtual/_commonjsHelpers.js +4 -0
- package/dist/assets/icons/iconGlyphs.js +680 -0
- package/dist/components/lit-attachments-tab.js +11 -7
- package/dist/components/lit-badge.js +10 -7
- package/dist/components/lit-case-variables-tab.js +23 -19
- package/dist/components/lit-chart.js +24 -21
- package/dist/components/lit-data-grid-tanstack.js +42 -37
- package/dist/components/lit-filter-modal.js +6 -2
- package/dist/components/lit-multiselect-item.js +7 -3
- package/dist/components/lit-section-tab.js +15 -11
- package/dist/components/lit-tabs-overview.js +9 -5
- package/dist/components/react-wrappers/attachments-tab.js +1 -1
- package/dist/components/react-wrappers/badge.js +1 -1
- package/dist/components/react-wrappers/button.js +3 -3
- package/dist/components/react-wrappers/case-variables-tab.js +3 -3
- package/dist/components/react-wrappers/chart.js +3 -3
- package/dist/components/react-wrappers/data-grid-tanstack.js +1 -1
- package/dist/components/react-wrappers/filter-modal.js +4 -4
- package/dist/components/react-wrappers/progress-bar.js +5 -5
- package/dist/components/react-wrappers/section-tab.js +4 -4
- package/dist/components/react-wrappers/tabs-overview.js +3 -3
- package/dist/index.d.ts +18 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +51 -32
- package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +432 -0
- package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +390 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +131 -0
- package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +128 -0
- package/dist/node_modules/@lit/localize/init/install.js +11 -0
- package/dist/node_modules/@lit/localize/init/runtime.js +42 -0
- package/dist/node_modules/@lit/localize/internal/default-msg.js +10 -0
- package/dist/node_modules/@lit/localize/internal/deferred.js +21 -0
- package/dist/node_modules/@lit/localize/internal/fnv1a64.js +17 -0
- package/dist/node_modules/@lit/localize/internal/id-generation.js +14 -0
- package/dist/node_modules/@lit/localize/internal/locale-status-event.js +9 -0
- package/dist/node_modules/@lit/localize/internal/runtime-msg.js +42 -0
- package/dist/node_modules/@lit/localize/internal/str-tag.js +15 -0
- package/dist/node_modules/@lit/react/create-component.js +35 -0
- package/dist/node_modules/@lit/reactive-element/css-tag.js +32 -24
- package/dist/node_modules/@lit/reactive-element/reactive-element.js +4 -3
- package/dist/node_modules/@tanstack/lit-table/build/lib/index.js +104 -0
- package/dist/node_modules/@tanstack/lit-virtual/dist/esm/index.js +40 -0
- package/dist/node_modules/@tanstack/table-core/build/lib/index.js +1956 -0
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/index.js +490 -0
- package/dist/node_modules/@tanstack/virtual-core/dist/esm/utils.js +52 -0
- package/dist/node_modules/file-saver/dist/FileSaver.min.js +74 -0
- package/dist/node_modules/lit-element/lit-element.js +51 -0
- package/dist/node_modules/lit-html/directives/class-map.js +34 -0
- package/dist/node_modules/lit-html/lit-html.js +75 -74
- package/dist/node_modules/luxon/src/datetime.js +1793 -0
- package/dist/node_modules/luxon/src/duration.js +723 -0
- package/dist/node_modules/luxon/src/errors.js +40 -0
- package/dist/node_modules/luxon/src/impl/conversions.js +92 -0
- package/dist/node_modules/luxon/src/impl/diff.js +36 -0
- package/dist/node_modules/luxon/src/impl/digits.js +74 -0
- package/dist/node_modules/luxon/src/impl/english.js +138 -0
- package/dist/node_modules/luxon/src/impl/formats.js +150 -0
- package/dist/node_modules/luxon/src/impl/formatter.js +245 -0
- package/dist/node_modules/luxon/src/impl/invalid.js +11 -0
- package/dist/node_modules/luxon/src/impl/locale.js +282 -0
- package/dist/node_modules/luxon/src/impl/regexParser.js +202 -0
- package/dist/node_modules/luxon/src/impl/tokenParser.js +329 -0
- package/dist/node_modules/luxon/src/impl/util.js +206 -0
- package/dist/node_modules/luxon/src/impl/zoneUtil.js +19 -0
- package/dist/node_modules/luxon/src/info.js +180 -0
- package/dist/node_modules/luxon/src/interval.js +466 -0
- package/dist/node_modules/luxon/src/settings.js +150 -0
- package/dist/node_modules/luxon/src/zone.js +88 -0
- package/dist/node_modules/luxon/src/zones/IANAZone.js +178 -0
- package/dist/node_modules/luxon/src/zones/fixedOffsetZone.js +125 -0
- package/dist/node_modules/luxon/src/zones/invalidZone.js +41 -0
- package/dist/node_modules/luxon/src/zones/systemZone.js +47 -0
- package/dist/node_modules/sortablejs/modular/sortable.esm.js +1261 -0
- package/dist/shared/lit-button.js +11 -8
- package/dist/shared/lit-checkbox.js +155 -0
- package/dist/shared/lit-icon.js +282 -0
- package/dist/shared/lit-input.js +211 -0
- package/dist/shared/lit-menu.js +40 -0
- package/dist/shared/lit-modal.js +128 -0
- package/dist/shared/lit-pill.js +86 -0
- package/dist/shared/lit-progress-bar.js +10 -7
- package/dist/shared/lit-select.js +339 -0
- package/dist/shared/lit-tooltip.js +137 -0
- package/dist/shared/simple-tooltip.js +33 -31
- package/dist/shared/styles/button-shared-styles.js +6 -3
- package/dist/styles.js +174 -0
- package/dist/utils/custom-filters.js +8 -7
- package/dist/utils/date.js +6 -5
- package/dist/utils/getOperatorByType.js +4 -3
- package/dist/utils/localization.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2020 Google LLC
|
|
4
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
5
|
+
*/
|
|
6
|
+
class r {
|
|
7
|
+
constructor() {
|
|
8
|
+
this.settled = !1, this.promise = new Promise((e, t) => {
|
|
9
|
+
this._resolve = e, this._reject = t;
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
resolve(e) {
|
|
13
|
+
this.settled = !0, this._resolve(e);
|
|
14
|
+
}
|
|
15
|
+
reject(e) {
|
|
16
|
+
this.settled = !0, this._reject(e);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export {
|
|
20
|
+
r as Deferred
|
|
21
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2014 Travis Webb
|
|
4
|
+
* SPDX-License-Identifier: MIT
|
|
5
|
+
*/
|
|
6
|
+
const t = [];
|
|
7
|
+
for (let e = 0; e < 256; e++)
|
|
8
|
+
t[e] = (e >> 4 & 15).toString(16) + (e & 15).toString(16);
|
|
9
|
+
function g(e) {
|
|
10
|
+
let l = 0, n = 8997, c = 0, o = 33826, r = 0, f = 40164, v = 0, i = 52210;
|
|
11
|
+
for (let x = 0; x < e.length; x++)
|
|
12
|
+
n ^= e.charCodeAt(x), l = n * 435, c = o * 435, r = f * 435, v = i * 435, r += n << 8, v += o << 8, c += l >>> 16, n = l & 65535, r += c >>> 16, o = c & 65535, i = v + (r >>> 16) & 65535, f = r & 65535;
|
|
13
|
+
return t[i >> 8] + t[i & 255] + t[f >> 8] + t[f & 255] + t[o >> 8] + t[o & 255] + t[n >> 8] + t[n & 255];
|
|
14
|
+
}
|
|
15
|
+
export {
|
|
16
|
+
g as fnv1a64
|
|
17
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { fnv1a64 as t } from "./fnv1a64.js";
|
|
2
|
+
/**
|
|
3
|
+
* @license
|
|
4
|
+
* Copyright 2020 Google LLC
|
|
5
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
6
|
+
*/
|
|
7
|
+
const e = "", I = "h", r = "s";
|
|
8
|
+
function f(o, n) {
|
|
9
|
+
return (n ? I : r) + t(typeof o == "string" ? o : o.join(e));
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
e as HASH_DELIMITER,
|
|
13
|
+
f as generateMsgId
|
|
14
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { defaultMsg as d } from "./default-msg.js";
|
|
2
|
+
import { joinStringsAndValues as o } from "./str-tag.js";
|
|
3
|
+
import { generateMsgId as a } from "./id-generation.js";
|
|
4
|
+
/**
|
|
5
|
+
* @license
|
|
6
|
+
* Copyright 2021 Google LLC
|
|
7
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
8
|
+
*/
|
|
9
|
+
const t = /* @__PURE__ */ new WeakMap(), f = /* @__PURE__ */ new Map();
|
|
10
|
+
function h(n, e, s) {
|
|
11
|
+
if (n) {
|
|
12
|
+
const u = (s == null ? void 0 : s.id) ?? c(e), r = n[u];
|
|
13
|
+
if (r) {
|
|
14
|
+
if (typeof r == "string")
|
|
15
|
+
return r;
|
|
16
|
+
if ("strTag" in r)
|
|
17
|
+
return o(
|
|
18
|
+
r.strings,
|
|
19
|
+
// Cast `template` because its type wasn't automatically narrowed (but
|
|
20
|
+
// we know it must be the same type as `localized`).
|
|
21
|
+
e.values,
|
|
22
|
+
r.values
|
|
23
|
+
);
|
|
24
|
+
{
|
|
25
|
+
let i = t.get(r);
|
|
26
|
+
return i === void 0 && (i = r.values, t.set(r, i)), {
|
|
27
|
+
...r,
|
|
28
|
+
values: i.map((g) => e.values[g])
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
return d(e);
|
|
34
|
+
}
|
|
35
|
+
function c(n) {
|
|
36
|
+
const e = typeof n == "string" ? n : n.strings;
|
|
37
|
+
let s = f.get(e);
|
|
38
|
+
return s === void 0 && (s = a(e, typeof n != "string" && !("strTag" in n)), f.set(e, s)), s;
|
|
39
|
+
}
|
|
40
|
+
export {
|
|
41
|
+
h as runtimeMsg
|
|
42
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2021 Google LLC
|
|
4
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
5
|
+
*/
|
|
6
|
+
const g = (t) => typeof t != "string" && "strTag" in t, i = (t, c, e) => {
|
|
7
|
+
let o = t[0];
|
|
8
|
+
for (let n = 1; n < t.length; n++)
|
|
9
|
+
o += c[e ? e[n - 1] : n - 1], o += t[n];
|
|
10
|
+
return o;
|
|
11
|
+
};
|
|
12
|
+
export {
|
|
13
|
+
g as isStrTagged,
|
|
14
|
+
i as joinStringsAndValues
|
|
15
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2018 Google LLC
|
|
4
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
5
|
+
*/
|
|
6
|
+
const w = /* @__PURE__ */ new Set(["children", "localName", "ref", "style", "className"]), v = /* @__PURE__ */ new WeakMap(), y = (r, l, a, i, d) => {
|
|
7
|
+
const f = d == null ? void 0 : d[l];
|
|
8
|
+
f === void 0 ? (r[l] = a, a == null && l in HTMLElement.prototype && r.removeAttribute(l)) : a !== i && ((u, c, o) => {
|
|
9
|
+
let s = v.get(u);
|
|
10
|
+
s === void 0 && v.set(u, s = /* @__PURE__ */ new Map());
|
|
11
|
+
let t = s.get(c);
|
|
12
|
+
o !== void 0 ? t === void 0 ? (s.set(c, t = { handleEvent: o }), u.addEventListener(c, t)) : t.handleEvent = o : t !== void 0 && (s.delete(c), u.removeEventListener(c, t));
|
|
13
|
+
})(r, f, a);
|
|
14
|
+
}, h = ({ react: r, tagName: l, elementClass: a, events: i, displayName: d }) => {
|
|
15
|
+
const f = new Set(Object.keys(i ?? {})), u = r.forwardRef((c, o) => {
|
|
16
|
+
const s = r.useRef(/* @__PURE__ */ new Map()), t = r.useRef(null), p = {}, m = {};
|
|
17
|
+
for (const [e, n] of Object.entries(c)) w.has(e) ? p[e === "className" ? "class" : e] = n : f.has(e) || e in a.prototype ? m[e] = n : p[e] = n;
|
|
18
|
+
return r.useLayoutEffect(() => {
|
|
19
|
+
if (t.current === null) return;
|
|
20
|
+
const e = /* @__PURE__ */ new Map();
|
|
21
|
+
for (const n in m) y(t.current, n, c[n], s.current.get(n), i), s.current.delete(n), e.set(n, c[n]);
|
|
22
|
+
for (const [n, E] of s.current) y(t.current, n, void 0, E, i);
|
|
23
|
+
s.current = e;
|
|
24
|
+
}), r.useLayoutEffect(() => {
|
|
25
|
+
var e;
|
|
26
|
+
(e = t.current) == null || e.removeAttribute("defer-hydration");
|
|
27
|
+
}, []), p.suppressHydrationWarning = !0, r.createElement(l, { ...p, ref: r.useCallback((e) => {
|
|
28
|
+
t.current = e, typeof o == "function" ? o(e) : o !== null && (o.current = e);
|
|
29
|
+
}, [o]) });
|
|
30
|
+
});
|
|
31
|
+
return u.displayName = d ?? a.name, u;
|
|
32
|
+
};
|
|
33
|
+
export {
|
|
34
|
+
h as createComponent
|
|
35
|
+
};
|
|
@@ -3,18 +3,18 @@
|
|
|
3
3
|
* Copyright 2019 Google LLC
|
|
4
4
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
5
5
|
*/
|
|
6
|
-
const
|
|
7
|
-
class
|
|
8
|
-
constructor(s,
|
|
9
|
-
if (this._$cssResult$ = !0, o !==
|
|
10
|
-
this.cssText = s, this.t =
|
|
6
|
+
const r = globalThis, c = r.ShadowRoot && (r.ShadyCSS === void 0 || r.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, a = Symbol(), i = /* @__PURE__ */ new WeakMap();
|
|
7
|
+
class l {
|
|
8
|
+
constructor(s, t, o) {
|
|
9
|
+
if (this._$cssResult$ = !0, o !== a) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
|
|
10
|
+
this.cssText = s, this.t = t;
|
|
11
11
|
}
|
|
12
12
|
get styleSheet() {
|
|
13
13
|
let s = this.o;
|
|
14
|
-
const
|
|
15
|
-
if (
|
|
16
|
-
const o =
|
|
17
|
-
o && (s =
|
|
14
|
+
const t = this.t;
|
|
15
|
+
if (c && s === void 0) {
|
|
16
|
+
const o = t !== void 0 && t.length === 1;
|
|
17
|
+
o && (s = i.get(t)), s === void 0 && ((this.o = s = new CSSStyleSheet()).replaceSync(this.cssText), o && i.set(t, s));
|
|
18
18
|
}
|
|
19
19
|
return s;
|
|
20
20
|
}
|
|
@@ -22,21 +22,29 @@ class a {
|
|
|
22
22
|
return this.cssText;
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
const
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
25
|
+
const h = (e) => new l(typeof e == "string" ? e : e + "", void 0, a), p = (e, ...s) => {
|
|
26
|
+
const t = e.length === 1 ? e[0] : s.reduce((o, S, u) => o + ((n) => {
|
|
27
|
+
if (n._$cssResult$ === !0) return n.cssText;
|
|
28
|
+
if (typeof n == "number") return n;
|
|
29
|
+
throw Error("Value passed to 'css' function must be a 'css' function result: " + n + ". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.");
|
|
30
|
+
})(S) + e[u + 1], e[0]);
|
|
31
|
+
return new l(t, e, a);
|
|
32
|
+
}, d = (e, s) => {
|
|
33
|
+
if (c) e.adoptedStyleSheets = s.map((t) => t instanceof CSSStyleSheet ? t : t.styleSheet);
|
|
34
|
+
else for (const t of s) {
|
|
35
|
+
const o = document.createElement("style"), S = r.litNonce;
|
|
36
|
+
S !== void 0 && o.setAttribute("nonce", S), o.textContent = t.cssText, e.appendChild(o);
|
|
30
37
|
}
|
|
31
|
-
},
|
|
32
|
-
let
|
|
33
|
-
for (const o of s.cssRules)
|
|
34
|
-
return
|
|
35
|
-
})(
|
|
38
|
+
}, y = c ? (e) => e : (e) => e instanceof CSSStyleSheet ? ((s) => {
|
|
39
|
+
let t = "";
|
|
40
|
+
for (const o of s.cssRules) t += o.cssText;
|
|
41
|
+
return h(t);
|
|
42
|
+
})(e) : e;
|
|
36
43
|
export {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
44
|
+
l as CSSResult,
|
|
45
|
+
d as adoptStyles,
|
|
46
|
+
p as css,
|
|
47
|
+
y as getCompatibleStyle,
|
|
48
|
+
c as supportsAdoptingStyleSheets,
|
|
49
|
+
h as unsafeCSS
|
|
42
50
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { getCompatibleStyle as f, adoptStyles as y } from "./css-tag.js";
|
|
2
|
-
import { CSSResult as C,
|
|
2
|
+
import { CSSResult as C, css as M, supportsAdoptingStyleSheets as R, unsafeCSS as z } from "./css-tag.js";
|
|
3
3
|
/**
|
|
4
4
|
* @license
|
|
5
5
|
* Copyright 2017 Google LLC
|
|
@@ -241,9 +241,10 @@ export {
|
|
|
241
241
|
C as CSSResult,
|
|
242
242
|
l as ReactiveElement,
|
|
243
243
|
y as adoptStyles,
|
|
244
|
+
M as css,
|
|
244
245
|
u as defaultConverter,
|
|
245
246
|
f as getCompatibleStyle,
|
|
246
247
|
$ as notEqual,
|
|
247
|
-
|
|
248
|
-
|
|
248
|
+
R as supportsAdoptingStyleSheets,
|
|
249
|
+
z as unsafeCSS
|
|
249
250
|
};
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
var o = Object.defineProperty;
|
|
2
|
+
var i = (t, e, n) => e in t ? o(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
|
|
3
|
+
var l = (t, e, n) => i(t, typeof e != "symbol" ? e + "" : e, n);
|
|
4
|
+
import { createTable as r } from "../../../table-core/build/lib/index.js";
|
|
5
|
+
import { ColumnFaceting as h, ColumnFiltering as S, ColumnGrouping as m, ColumnOrdering as R, ColumnPinning as w, ColumnSizing as C, ColumnVisibility as f, GlobalFaceting as F, GlobalFiltering as p, Headers as M, RowExpanding as x, RowPagination as I, RowPinning as _, RowSelection as G, RowSorting as v, _getVisibleLeafColumns as y, aggregationFns as O, buildHeaderGroups as U, createCell as V, createColumn as A, createRow as E, defaultColumnSizing as P, expandRows as k, filterFns as q, flattenBy as z, functionalUpdate as H, getCoreRowModel as N, getExpandedRowModel as T, getFacetedRowModel as B, getFacetedUniqueValues as D, getFilteredRowModel as L, getGroupedRowModel as j, getMemoOptions as J, getSortedRowModel as K, isFunction as Q, isNumberArray as W, isRowSelected as X, isSubRowSelected as Y, makeStateUpdater as Z, memo as $, orderColumns as ee, passiveEventSupported as te, reSplitAlphaNumeric as ne, selectRowsFn as le, shouldAutoRemoveFilter as ae, sortingFns as oe } from "../../../table-core/build/lib/index.js";
|
|
6
|
+
/**
|
|
7
|
+
* lit-table
|
|
8
|
+
*
|
|
9
|
+
* Copyright (c) TanStack
|
|
10
|
+
*
|
|
11
|
+
* This source code is licensed under the MIT license found in the
|
|
12
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
13
|
+
*
|
|
14
|
+
* @license MIT
|
|
15
|
+
*/
|
|
16
|
+
function d(t, e) {
|
|
17
|
+
return t ? typeof t == "function" ? t(e) : t : null;
|
|
18
|
+
}
|
|
19
|
+
class c {
|
|
20
|
+
constructor(e) {
|
|
21
|
+
l(this, "tableInstance", null);
|
|
22
|
+
l(this, "_tableState", null);
|
|
23
|
+
(this.host = e).addController(this);
|
|
24
|
+
}
|
|
25
|
+
table(e) {
|
|
26
|
+
if (!this.tableInstance) {
|
|
27
|
+
const n = {
|
|
28
|
+
state: {},
|
|
29
|
+
onStateChange: () => {
|
|
30
|
+
},
|
|
31
|
+
// noop
|
|
32
|
+
renderFallbackValue: null,
|
|
33
|
+
...e
|
|
34
|
+
};
|
|
35
|
+
this.tableInstance = r(n), this._tableState = {
|
|
36
|
+
...this.tableInstance.initialState,
|
|
37
|
+
...e.state
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
return this.tableInstance.setOptions((n) => ({
|
|
41
|
+
...n,
|
|
42
|
+
state: {
|
|
43
|
+
...this._tableState,
|
|
44
|
+
...e.state
|
|
45
|
+
},
|
|
46
|
+
onStateChange: (a) => {
|
|
47
|
+
this._tableState = a(this._tableState), this.host.requestUpdate(), e.onStateChange == null || e.onStateChange(a);
|
|
48
|
+
}
|
|
49
|
+
})), this.tableInstance;
|
|
50
|
+
}
|
|
51
|
+
hostDisconnected() {
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
export {
|
|
55
|
+
h as ColumnFaceting,
|
|
56
|
+
S as ColumnFiltering,
|
|
57
|
+
m as ColumnGrouping,
|
|
58
|
+
R as ColumnOrdering,
|
|
59
|
+
w as ColumnPinning,
|
|
60
|
+
C as ColumnSizing,
|
|
61
|
+
f as ColumnVisibility,
|
|
62
|
+
F as GlobalFaceting,
|
|
63
|
+
p as GlobalFiltering,
|
|
64
|
+
M as Headers,
|
|
65
|
+
x as RowExpanding,
|
|
66
|
+
I as RowPagination,
|
|
67
|
+
_ as RowPinning,
|
|
68
|
+
G as RowSelection,
|
|
69
|
+
v as RowSorting,
|
|
70
|
+
c as TableController,
|
|
71
|
+
y as _getVisibleLeafColumns,
|
|
72
|
+
O as aggregationFns,
|
|
73
|
+
U as buildHeaderGroups,
|
|
74
|
+
V as createCell,
|
|
75
|
+
A as createColumn,
|
|
76
|
+
E as createRow,
|
|
77
|
+
r as createTable,
|
|
78
|
+
P as defaultColumnSizing,
|
|
79
|
+
k as expandRows,
|
|
80
|
+
q as filterFns,
|
|
81
|
+
z as flattenBy,
|
|
82
|
+
d as flexRender,
|
|
83
|
+
H as functionalUpdate,
|
|
84
|
+
N as getCoreRowModel,
|
|
85
|
+
T as getExpandedRowModel,
|
|
86
|
+
B as getFacetedRowModel,
|
|
87
|
+
D as getFacetedUniqueValues,
|
|
88
|
+
L as getFilteredRowModel,
|
|
89
|
+
j as getGroupedRowModel,
|
|
90
|
+
J as getMemoOptions,
|
|
91
|
+
K as getSortedRowModel,
|
|
92
|
+
Q as isFunction,
|
|
93
|
+
W as isNumberArray,
|
|
94
|
+
X as isRowSelected,
|
|
95
|
+
Y as isSubRowSelected,
|
|
96
|
+
Z as makeStateUpdater,
|
|
97
|
+
$ as memo,
|
|
98
|
+
ee as orderColumns,
|
|
99
|
+
te as passiveEventSupported,
|
|
100
|
+
ne as reSplitAlphaNumeric,
|
|
101
|
+
le as selectRowsFn,
|
|
102
|
+
ae as shouldAutoRemoveFilter,
|
|
103
|
+
oe as sortingFns
|
|
104
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { elementScroll as n, observeElementOffset as a, observeElementRect as h, Virtualizer as u } from "../../../virtual-core/dist/esm/index.js";
|
|
2
|
+
class c {
|
|
3
|
+
constructor(t, e) {
|
|
4
|
+
this.cleanup = () => {
|
|
5
|
+
}, (this.host = t).addController(this);
|
|
6
|
+
const s = {
|
|
7
|
+
...e,
|
|
8
|
+
onChange: (i, o) => {
|
|
9
|
+
var r;
|
|
10
|
+
this.host.updateComplete.then(() => this.host.requestUpdate()), (r = e.onChange) == null || r.call(e, i, o);
|
|
11
|
+
}
|
|
12
|
+
};
|
|
13
|
+
this.virtualizer = new u(s);
|
|
14
|
+
}
|
|
15
|
+
getVirtualizer() {
|
|
16
|
+
return this.virtualizer;
|
|
17
|
+
}
|
|
18
|
+
async hostConnected() {
|
|
19
|
+
this.cleanup = this.virtualizer._didMount();
|
|
20
|
+
}
|
|
21
|
+
hostUpdated() {
|
|
22
|
+
this.virtualizer._willUpdate();
|
|
23
|
+
}
|
|
24
|
+
hostDisconnected() {
|
|
25
|
+
this.cleanup();
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
class p extends c {
|
|
29
|
+
constructor(t, e) {
|
|
30
|
+
super(t, {
|
|
31
|
+
observeElementRect: h,
|
|
32
|
+
observeElementOffset: a,
|
|
33
|
+
scrollToFn: n,
|
|
34
|
+
...e
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
export {
|
|
39
|
+
p as VirtualizerController
|
|
40
|
+
};
|