overview-components 1.0.80 → 1.0.82

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.
Files changed (73) hide show
  1. package/dist/schemas/lit-attachments-tab.schema.js +1 -1
  2. package/dist/schemas/lit-attachments-tab.schema.js.map +1 -1
  3. package/dist/schemas/lit-tabs-overview-tab-array.schema.js +1 -1
  4. package/dist/schemas/lit-tabs-overview-tab-array.schema.js.map +1 -1
  5. package/dist/schemas/lit-tabs-overview.schema.js +1 -1
  6. package/dist/schemas/lit-tabs-overview.schema.js.map +1 -1
  7. package/package.json +1 -1
  8. package/dist/_virtual/FileSaver.min.js +0 -4
  9. package/dist/_virtual/_commonjsHelpers.js +0 -8
  10. package/dist/_virtual/air-datepicker.js +0 -4
  11. package/dist/node_modules/@floating-ui/core/dist/floating-ui.core.js +0 -486
  12. package/dist/node_modules/@floating-ui/dom/dist/floating-ui.dom.js +0 -391
  13. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.js +0 -131
  14. package/dist/node_modules/@floating-ui/utils/dist/floating-ui.utils.js +0 -129
  15. package/dist/node_modules/@lit/localize/init/install.js +0 -11
  16. package/dist/node_modules/@lit/localize/init/runtime.js +0 -42
  17. package/dist/node_modules/@lit/localize/internal/default-msg.js +0 -10
  18. package/dist/node_modules/@lit/localize/internal/deferred.js +0 -21
  19. package/dist/node_modules/@lit/localize/internal/fnv1a64.js +0 -17
  20. package/dist/node_modules/@lit/localize/internal/id-generation.js +0 -14
  21. package/dist/node_modules/@lit/localize/internal/locale-status-event.js +0 -9
  22. package/dist/node_modules/@lit/localize/internal/runtime-msg.js +0 -42
  23. package/dist/node_modules/@lit/localize/internal/str-tag.js +0 -15
  24. package/dist/node_modules/@lit/react/create-component.js +0 -35
  25. package/dist/node_modules/@lit/reactive-element/css-tag.js +0 -50
  26. package/dist/node_modules/@lit/reactive-element/decorators/base.js +0 -9
  27. package/dist/node_modules/@lit/reactive-element/decorators/custom-element.js +0 -13
  28. package/dist/node_modules/@lit/reactive-element/decorators/property.js +0 -37
  29. package/dist/node_modules/@lit/reactive-element/decorators/query.js +0 -20
  30. package/dist/node_modules/@lit/reactive-element/decorators/state.js +0 -12
  31. package/dist/node_modules/@lit/reactive-element/reactive-element.js +0 -250
  32. package/dist/node_modules/@tanstack/lit-table/build/lib/index.js +0 -104
  33. package/dist/node_modules/@tanstack/lit-virtual/dist/esm/index.js +0 -40
  34. package/dist/node_modules/@tanstack/table-core/build/lib/index.js +0 -1956
  35. package/dist/node_modules/@tanstack/virtual-core/dist/esm/index.js +0 -490
  36. package/dist/node_modules/@tanstack/virtual-core/dist/esm/utils.js +0 -52
  37. package/dist/node_modules/air-datepicker/air-datepicker.js +0 -1147
  38. package/dist/node_modules/air-datepicker/index.es.js +0 -4
  39. package/dist/node_modules/file-saver/dist/FileSaver.min.js +0 -74
  40. package/dist/node_modules/lit-element/lit-element.js +0 -51
  41. package/dist/node_modules/lit-html/async-directive.js +0 -69
  42. package/dist/node_modules/lit-html/directive-helpers.js +0 -45
  43. package/dist/node_modules/lit-html/directive.js +0 -27
  44. package/dist/node_modules/lit-html/directives/class-map.js +0 -34
  45. package/dist/node_modules/lit-html/directives/ref.js +0 -42
  46. package/dist/node_modules/lit-html/directives/repeat.js +0 -61
  47. package/dist/node_modules/lit-html/directives/style-map.js +0 -36
  48. package/dist/node_modules/lit-html/directives/unsafe-html.js +0 -27
  49. package/dist/node_modules/lit-html/lit-html.js +0 -243
  50. package/dist/node_modules/luxon/src/datetime.js +0 -1793
  51. package/dist/node_modules/luxon/src/duration.js +0 -723
  52. package/dist/node_modules/luxon/src/errors.js +0 -40
  53. package/dist/node_modules/luxon/src/impl/conversions.js +0 -92
  54. package/dist/node_modules/luxon/src/impl/diff.js +0 -36
  55. package/dist/node_modules/luxon/src/impl/digits.js +0 -74
  56. package/dist/node_modules/luxon/src/impl/english.js +0 -138
  57. package/dist/node_modules/luxon/src/impl/formats.js +0 -150
  58. package/dist/node_modules/luxon/src/impl/formatter.js +0 -245
  59. package/dist/node_modules/luxon/src/impl/invalid.js +0 -11
  60. package/dist/node_modules/luxon/src/impl/locale.js +0 -282
  61. package/dist/node_modules/luxon/src/impl/regexParser.js +0 -202
  62. package/dist/node_modules/luxon/src/impl/tokenParser.js +0 -329
  63. package/dist/node_modules/luxon/src/impl/util.js +0 -206
  64. package/dist/node_modules/luxon/src/impl/zoneUtil.js +0 -19
  65. package/dist/node_modules/luxon/src/info.js +0 -180
  66. package/dist/node_modules/luxon/src/interval.js +0 -466
  67. package/dist/node_modules/luxon/src/settings.js +0 -150
  68. package/dist/node_modules/luxon/src/zone.js +0 -88
  69. package/dist/node_modules/luxon/src/zones/IANAZone.js +0 -178
  70. package/dist/node_modules/luxon/src/zones/fixedOffsetZone.js +0 -125
  71. package/dist/node_modules/luxon/src/zones/invalidZone.js +0 -41
  72. package/dist/node_modules/luxon/src/zones/systemZone.js +0 -47
  73. package/dist/node_modules/sortablejs/modular/sortable.esm.js +0 -1261
@@ -1,21 +0,0 @@
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
- };
@@ -1,17 +0,0 @@
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
- };
@@ -1,14 +0,0 @@
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
- };
@@ -1,9 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2021 Google LLC
4
- * SPDX-License-Identifier: BSD-3-Clause
5
- */
6
- const t = "lit-localize-status";
7
- export {
8
- t as LOCALE_STATUS_EVENT
9
- };
@@ -1,42 +0,0 @@
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
- };
@@ -1,15 +0,0 @@
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
- };
@@ -1,35 +0,0 @@
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
- };
@@ -1,50 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2019 Google LLC
4
- * SPDX-License-Identifier: BSD-3-Clause
5
- */
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
- }
12
- get styleSheet() {
13
- let s = this.o;
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
- }
19
- return s;
20
- }
21
- toString() {
22
- return this.cssText;
23
- }
24
- }
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);
37
- }
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;
43
- export {
44
- l as CSSResult,
45
- d as adoptStyles,
46
- p as css,
47
- y as getCompatibleStyle,
48
- c as supportsAdoptingStyleSheets,
49
- h as unsafeCSS
50
- };
@@ -1,9 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2017 Google LLC
4
- * SPDX-License-Identifier: BSD-3-Clause
5
- */
6
- const o = (r, t, e) => (e.configurable = !0, e.enumerable = !0, Reflect.decorate && typeof t != "object" && Object.defineProperty(r, t, e), e);
7
- export {
8
- o as desc
9
- };
@@ -1,13 +0,0 @@
1
- /**
2
- * @license
3
- * Copyright 2017 Google LLC
4
- * SPDX-License-Identifier: BSD-3-Clause
5
- */
6
- const s = (e) => (t, n) => {
7
- n !== void 0 ? n.addInitializer(() => {
8
- customElements.define(e, t);
9
- }) : customElements.define(e, t);
10
- };
11
- export {
12
- s as customElement
13
- };
@@ -1,37 +0,0 @@
1
- import { notEqual as p, defaultConverter as l } from "../reactive-element.js";
2
- /**
3
- * @license
4
- * Copyright 2017 Google LLC
5
- * SPDX-License-Identifier: BSD-3-Clause
6
- */
7
- const d = { attribute: !0, type: String, converter: l, reflect: !1, hasChanged: p }, u = (t = d, s, e) => {
8
- const { kind: n, metadata: i } = e;
9
- let r = globalThis.litPropertyMetadata.get(i);
10
- if (r === void 0 && globalThis.litPropertyMetadata.set(i, r = /* @__PURE__ */ new Map()), n === "setter" && ((t = Object.create(t)).wrapped = !0), r.set(e.name, t), n === "accessor") {
11
- const { name: o } = e;
12
- return { set(a) {
13
- const c = s.get.call(this);
14
- s.set.call(this, a), this.requestUpdate(o, c, t);
15
- }, init(a) {
16
- return a !== void 0 && this.C(o, void 0, t, a), a;
17
- } };
18
- }
19
- if (n === "setter") {
20
- const { name: o } = e;
21
- return function(a) {
22
- const c = this[o];
23
- s.call(this, a), this.requestUpdate(o, c, t);
24
- };
25
- }
26
- throw Error("Unsupported decorator location: " + n);
27
- };
28
- function f(t) {
29
- return (s, e) => typeof e == "object" ? u(t, s, e) : ((n, i, r) => {
30
- const o = i.hasOwnProperty(r);
31
- return i.constructor.createProperty(r, n), o ? Object.getOwnPropertyDescriptor(i, r) : void 0;
32
- })(t, s, e);
33
- }
34
- export {
35
- f as property,
36
- u as standardProperty
37
- };
@@ -1,20 +0,0 @@
1
- import { desc as s } from "./base.js";
2
- /**
3
- * @license
4
- * Copyright 2017 Google LLC
5
- * SPDX-License-Identifier: BSD-3-Clause
6
- */
7
- function a(e, c) {
8
- return (t, o, i) => {
9
- const n = (u) => {
10
- var r;
11
- return ((r = u.renderRoot) == null ? void 0 : r.querySelector(e)) ?? null;
12
- };
13
- return s(t, o, { get() {
14
- return n(this);
15
- } });
16
- };
17
- }
18
- export {
19
- a as query
20
- };
@@ -1,12 +0,0 @@
1
- import { property as r } from "./property.js";
2
- /**
3
- * @license
4
- * Copyright 2017 Google LLC
5
- * SPDX-License-Identifier: BSD-3-Clause
6
- */
7
- function a(t) {
8
- return r({ ...t, state: !0, attribute: !1 });
9
- }
10
- export {
11
- a as state
12
- };
@@ -1,250 +0,0 @@
1
- import { getCompatibleStyle as f, adoptStyles as y } from "./css-tag.js";
2
- import { CSSResult as C, css as M, supportsAdoptingStyleSheets as R, unsafeCSS as z } from "./css-tag.js";
3
- /**
4
- * @license
5
- * Copyright 2017 Google LLC
6
- * SPDX-License-Identifier: BSD-3-Clause
7
- */
8
- const { is: m, defineProperty: g, getOwnPropertyDescriptor: b, getOwnPropertyNames: P, getOwnPropertySymbols: v, getPrototypeOf: w } = Object, n = globalThis, E = n.trustedTypes, S = E ? E.emptyScript : "", d = n.reactiveElementPolyfillSupport, c = (a, t) => a, u = { toAttribute(a, t) {
9
- switch (t) {
10
- case Boolean:
11
- a = a ? S : null;
12
- break;
13
- case Object:
14
- case Array:
15
- a = a == null ? a : JSON.stringify(a);
16
- }
17
- return a;
18
- }, fromAttribute(a, t) {
19
- let e = a;
20
- switch (t) {
21
- case Boolean:
22
- e = a !== null;
23
- break;
24
- case Number:
25
- e = a === null ? null : Number(a);
26
- break;
27
- case Object:
28
- case Array:
29
- try {
30
- e = JSON.parse(a);
31
- } catch {
32
- e = null;
33
- }
34
- }
35
- return e;
36
- } }, $ = (a, t) => !m(a, t), _ = { attribute: !0, type: String, converter: u, reflect: !1, useDefault: !1, hasChanged: $ };
37
- Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), n.litPropertyMetadata ?? (n.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
38
- class l extends HTMLElement {
39
- static addInitializer(t) {
40
- this._$Ei(), (this.l ?? (this.l = [])).push(t);
41
- }
42
- static get observedAttributes() {
43
- return this.finalize(), this._$Eh && [...this._$Eh.keys()];
44
- }
45
- static createProperty(t, e = _) {
46
- if (e.state && (e.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(t) && ((e = Object.create(e)).wrapped = !0), this.elementProperties.set(t, e), !e.noAccessor) {
47
- const s = Symbol(), i = this.getPropertyDescriptor(t, s, e);
48
- i !== void 0 && g(this.prototype, t, i);
49
- }
50
- }
51
- static getPropertyDescriptor(t, e, s) {
52
- const { get: i, set: r } = b(this.prototype, t) ?? { get() {
53
- return this[e];
54
- }, set(o) {
55
- this[e] = o;
56
- } };
57
- return { get: i, set(o) {
58
- const h = i == null ? void 0 : i.call(this);
59
- r == null || r.call(this, o), this.requestUpdate(t, h, s);
60
- }, configurable: !0, enumerable: !0 };
61
- }
62
- static getPropertyOptions(t) {
63
- return this.elementProperties.get(t) ?? _;
64
- }
65
- static _$Ei() {
66
- if (this.hasOwnProperty(c("elementProperties"))) return;
67
- const t = w(this);
68
- t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
69
- }
70
- static finalize() {
71
- if (this.hasOwnProperty(c("finalized"))) return;
72
- if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(c("properties"))) {
73
- const e = this.properties, s = [...P(e), ...v(e)];
74
- for (const i of s) this.createProperty(i, e[i]);
75
- }
76
- const t = this[Symbol.metadata];
77
- if (t !== null) {
78
- const e = litPropertyMetadata.get(t);
79
- if (e !== void 0) for (const [s, i] of e) this.elementProperties.set(s, i);
80
- }
81
- this._$Eh = /* @__PURE__ */ new Map();
82
- for (const [e, s] of this.elementProperties) {
83
- const i = this._$Eu(e, s);
84
- i !== void 0 && this._$Eh.set(i, e);
85
- }
86
- this.elementStyles = this.finalizeStyles(this.styles);
87
- }
88
- static finalizeStyles(t) {
89
- const e = [];
90
- if (Array.isArray(t)) {
91
- const s = new Set(t.flat(1 / 0).reverse());
92
- for (const i of s) e.unshift(f(i));
93
- } else t !== void 0 && e.push(f(t));
94
- return e;
95
- }
96
- static _$Eu(t, e) {
97
- const s = e.attribute;
98
- return s === !1 ? void 0 : typeof s == "string" ? s : typeof t == "string" ? t.toLowerCase() : void 0;
99
- }
100
- constructor() {
101
- super(), this._$Ep = void 0, this.isUpdatePending = !1, this.hasUpdated = !1, this._$Em = null, this._$Ev();
102
- }
103
- _$Ev() {
104
- var t;
105
- this._$ES = new Promise((e) => this.enableUpdating = e), this._$AL = /* @__PURE__ */ new Map(), this._$E_(), this.requestUpdate(), (t = this.constructor.l) == null || t.forEach((e) => e(this));
106
- }
107
- addController(t) {
108
- var e;
109
- (this._$EO ?? (this._$EO = /* @__PURE__ */ new Set())).add(t), this.renderRoot !== void 0 && this.isConnected && ((e = t.hostConnected) == null || e.call(t));
110
- }
111
- removeController(t) {
112
- var e;
113
- (e = this._$EO) == null || e.delete(t);
114
- }
115
- _$E_() {
116
- const t = /* @__PURE__ */ new Map(), e = this.constructor.elementProperties;
117
- for (const s of e.keys()) this.hasOwnProperty(s) && (t.set(s, this[s]), delete this[s]);
118
- t.size > 0 && (this._$Ep = t);
119
- }
120
- createRenderRoot() {
121
- const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
122
- return y(t, this.constructor.elementStyles), t;
123
- }
124
- connectedCallback() {
125
- var t;
126
- this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), (t = this._$EO) == null || t.forEach((e) => {
127
- var s;
128
- return (s = e.hostConnected) == null ? void 0 : s.call(e);
129
- });
130
- }
131
- enableUpdating(t) {
132
- }
133
- disconnectedCallback() {
134
- var t;
135
- (t = this._$EO) == null || t.forEach((e) => {
136
- var s;
137
- return (s = e.hostDisconnected) == null ? void 0 : s.call(e);
138
- });
139
- }
140
- attributeChangedCallback(t, e, s) {
141
- this._$AK(t, s);
142
- }
143
- _$ET(t, e) {
144
- var r;
145
- const s = this.constructor.elementProperties.get(t), i = this.constructor._$Eu(t, s);
146
- if (i !== void 0 && s.reflect === !0) {
147
- const o = (((r = s.converter) == null ? void 0 : r.toAttribute) !== void 0 ? s.converter : u).toAttribute(e, s.type);
148
- this._$Em = t, o == null ? this.removeAttribute(i) : this.setAttribute(i, o), this._$Em = null;
149
- }
150
- }
151
- _$AK(t, e) {
152
- var r, o;
153
- const s = this.constructor, i = s._$Eh.get(t);
154
- if (i !== void 0 && this._$Em !== i) {
155
- const h = s.getPropertyOptions(i), p = typeof h.converter == "function" ? { fromAttribute: h.converter } : ((r = h.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? h.converter : u;
156
- this._$Em = i, this[i] = p.fromAttribute(e, h.type) ?? ((o = this._$Ej) == null ? void 0 : o.get(i)) ?? null, this._$Em = null;
157
- }
158
- }
159
- requestUpdate(t, e, s) {
160
- var i;
161
- if (t !== void 0) {
162
- const r = this.constructor, o = this[t];
163
- if (s ?? (s = r.getPropertyOptions(t)), !((s.hasChanged ?? $)(o, e) || s.useDefault && s.reflect && o === ((i = this._$Ej) == null ? void 0 : i.get(t)) && !this.hasAttribute(r._$Eu(t, s)))) return;
164
- this.C(t, e, s);
165
- }
166
- this.isUpdatePending === !1 && (this._$ES = this._$EP());
167
- }
168
- C(t, e, { useDefault: s, reflect: i, wrapped: r }, o) {
169
- s && !(this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Map())).has(t) && (this._$Ej.set(t, o ?? e ?? this[t]), r !== !0 || o !== void 0) || (this._$AL.has(t) || (this.hasUpdated || s || (e = void 0), this._$AL.set(t, e)), i === !0 && this._$Em !== t && (this._$Eq ?? (this._$Eq = /* @__PURE__ */ new Set())).add(t));
170
- }
171
- async _$EP() {
172
- this.isUpdatePending = !0;
173
- try {
174
- await this._$ES;
175
- } catch (e) {
176
- Promise.reject(e);
177
- }
178
- const t = this.scheduleUpdate();
179
- return t != null && await t, !this.isUpdatePending;
180
- }
181
- scheduleUpdate() {
182
- return this.performUpdate();
183
- }
184
- performUpdate() {
185
- var s;
186
- if (!this.isUpdatePending) return;
187
- if (!this.hasUpdated) {
188
- if (this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this._$Ep) {
189
- for (const [r, o] of this._$Ep) this[r] = o;
190
- this._$Ep = void 0;
191
- }
192
- const i = this.constructor.elementProperties;
193
- if (i.size > 0) for (const [r, o] of i) {
194
- const { wrapped: h } = o, p = this[r];
195
- h !== !0 || this._$AL.has(r) || p === void 0 || this.C(r, void 0, o, p);
196
- }
197
- }
198
- let t = !1;
199
- const e = this._$AL;
200
- try {
201
- t = this.shouldUpdate(e), t ? (this.willUpdate(e), (s = this._$EO) == null || s.forEach((i) => {
202
- var r;
203
- return (r = i.hostUpdate) == null ? void 0 : r.call(i);
204
- }), this.update(e)) : this._$EM();
205
- } catch (i) {
206
- throw t = !1, this._$EM(), i;
207
- }
208
- t && this._$AE(e);
209
- }
210
- willUpdate(t) {
211
- }
212
- _$AE(t) {
213
- var e;
214
- (e = this._$EO) == null || e.forEach((s) => {
215
- var i;
216
- return (i = s.hostUpdated) == null ? void 0 : i.call(s);
217
- }), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
218
- }
219
- _$EM() {
220
- this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
221
- }
222
- get updateComplete() {
223
- return this.getUpdateComplete();
224
- }
225
- getUpdateComplete() {
226
- return this._$ES;
227
- }
228
- shouldUpdate(t) {
229
- return !0;
230
- }
231
- update(t) {
232
- this._$Eq && (this._$Eq = this._$Eq.forEach((e) => this._$ET(e, this[e]))), this._$EM();
233
- }
234
- updated(t) {
235
- }
236
- firstUpdated(t) {
237
- }
238
- }
239
- l.elementStyles = [], l.shadowRootOptions = { mode: "open" }, l[c("elementProperties")] = /* @__PURE__ */ new Map(), l[c("finalized")] = /* @__PURE__ */ new Map(), d == null || d({ ReactiveElement: l }), (n.reactiveElementVersions ?? (n.reactiveElementVersions = [])).push("2.1.0");
240
- export {
241
- C as CSSResult,
242
- l as ReactiveElement,
243
- y as adoptStyles,
244
- M as css,
245
- u as defaultConverter,
246
- f as getCompatibleStyle,
247
- $ as notEqual,
248
- R as supportsAdoptingStyleSheets,
249
- z as unsafeCSS
250
- };
@@ -1,104 +0,0 @@
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
- };