@mhmo91/schmancy 0.2.175 → 0.2.177

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 (34) hide show
  1. package/dist/{avatar-CTucKkA4.js → avatar-CbR-jibC.js} +3 -3
  2. package/dist/{avatar-CTucKkA4.js.map → avatar-CbR-jibC.js.map} +1 -1
  3. package/dist/{avatar-hg0j8zki.cjs → avatar-DnFccDmD.cjs} +2 -2
  4. package/dist/{avatar-hg0j8zki.cjs.map → avatar-DnFccDmD.cjs.map} +1 -1
  5. package/dist/badge.cjs +1 -1
  6. package/dist/badge.js +1 -1
  7. package/dist/card.cjs +1 -1
  8. package/dist/card.js +1 -1
  9. package/dist/content-drawer.cjs +1 -1
  10. package/dist/content-drawer.js +1 -1
  11. package/dist/{dialog-service-B7mtryVn.js → dialog-service-B9Pp1DY4.js} +18 -13
  12. package/dist/dialog-service-B9Pp1DY4.js.map +1 -0
  13. package/dist/dialog-service-BiNwFtwm.cjs +65 -0
  14. package/dist/dialog-service-BiNwFtwm.cjs.map +1 -0
  15. package/dist/dialog.cjs +1 -1
  16. package/dist/dialog.js +1 -1
  17. package/dist/index.cjs +1 -1
  18. package/dist/index.js +3 -3
  19. package/dist/nav-drawer.cjs +1 -1
  20. package/dist/nav-drawer.js +1 -1
  21. package/dist/{table-Cfe1Zloe.cjs → table-BA5yn5_q.cjs} +12 -12
  22. package/dist/{table-Cfe1Zloe.cjs.map → table-BA5yn5_q.cjs.map} +1 -1
  23. package/dist/{table-DPXzmJkJ.js → table-CRLXjzqK.js} +73 -66
  24. package/dist/{table-DPXzmJkJ.js.map → table-CRLXjzqK.js.map} +1 -1
  25. package/dist/table.cjs +1 -1
  26. package/dist/table.js +1 -1
  27. package/dist/teleport.cjs +1 -1
  28. package/dist/teleport.js +1 -1
  29. package/package.json +1 -1
  30. package/types/src/dialog/dialog-service.d.ts +11 -0
  31. package/types/src/table/table.d.ts +4 -0
  32. package/dist/dialog-service-B7mtryVn.js.map +0 -1
  33. package/dist/dialog-service-Bju5U74b.cjs +0 -65
  34. package/dist/dialog-service-Bju5U74b.cjs.map +0 -1
@@ -1,21 +1,21 @@
1
- import { _ as y } from "./tslib.es6-ujVQHAQ4.js";
2
- import { html as h, noChange as j, LitElement as H } from "lit";
3
- import { property as g } from "lit/decorators/property.js";
1
+ import { _ as g } from "./tslib.es6-ujVQHAQ4.js";
2
+ import { html as c, noChange as P, LitElement as H } from "lit";
3
+ import { property as f } from "lit/decorators/property.js";
4
4
  import { directive as W, PartType as q } from "lit/directive.js";
5
5
  import { AsyncDirective as U } from "lit/async-directive.js";
6
6
  import { repeat as G } from "lit/directives/repeat.js";
7
- import { $ as M } from "./litElement.mixin-DJC1EaoO.js";
8
- import { property as _, customElement as D, state as L } from "lit/decorators.js";
9
- var J = Object.defineProperty, X = Object.getOwnPropertyDescriptor, v = (s, t, e, i) => {
7
+ import { $ as D } from "./litElement.mixin-DJC1EaoO.js";
8
+ import { property as _, customElement as M, state as z } from "lit/decorators.js";
9
+ var J = Object.defineProperty, X = Object.getOwnPropertyDescriptor, b = (s, t, e, i) => {
10
10
  for (var r, l = i > 1 ? void 0 : i ? X(t, e) : t, o = s.length - 1; o >= 0; o--) (r = s[o]) && (l = (i ? r(t, e, l) : r(l)) || l);
11
11
  return i && l && J(t, e, l), l;
12
12
  };
13
- let f = class extends M() {
13
+ let v = class extends D() {
14
14
  constructor() {
15
15
  super(...arguments), this.columns = [], this.cols = this.columns.map(() => "1fr").join(" ");
16
16
  }
17
17
  renderCell(s) {
18
- if (s.render) return h`
18
+ if (s.render) return c`
19
19
  <div class="overflow-hidden text-ellipsis">
20
20
  <schmancy-typography align="${s.align || "left"}" maxLines="2" weight="${s.weight || "normal"}">
21
21
  ${s.render(this.item)}
@@ -23,7 +23,7 @@ let f = class extends M() {
23
23
  </div>
24
24
  `;
25
25
  const t = s.key ? this.item[s.key] : "";
26
- return h`
26
+ return c`
27
27
  <div class="overflow-hidden text-ellipsis">
28
28
  <schmancy-typography align="${s.align || "left"}" maxLines="2" weight="${s.weight || "normal"}">
29
29
  ${t}
@@ -32,7 +32,7 @@ let f = class extends M() {
32
32
  `;
33
33
  }
34
34
  render() {
35
- return h`
35
+ return c`
36
36
  <schmancy-list-item class="w-full">
37
37
  <schmancy-grid .cols=${this.cols} align="center" gap="md">
38
38
  ${this.columns.map((s) => this.renderCell(s))}
@@ -41,25 +41,25 @@ let f = class extends M() {
41
41
  `;
42
42
  }
43
43
  };
44
- v([_({ type: Array, attribute: !1 })], f.prototype, "columns", 2), v([_({ type: Object, attribute: !1 })], f.prototype, "item", 2), v([_({ type: String })], f.prototype, "cols", 2), f = v([D("schmancy-table-row")], f);
45
- class C extends Event {
46
- constructor(t) {
47
- super(C.eventName, { bubbles: !1 }), this.first = t.first, this.last = t.last;
48
- }
49
- }
50
- C.eventName = "rangeChanged";
44
+ b([_({ type: Array, attribute: !1 })], v.prototype, "columns", 2), b([_({ type: Object, attribute: !1 })], v.prototype, "item", 2), b([_({ type: String })], v.prototype, "cols", 2), v = b([M("schmancy-table-row")], v);
51
45
  class S extends Event {
52
46
  constructor(t) {
53
47
  super(S.eventName, { bubbles: !1 }), this.first = t.first, this.last = t.last;
54
48
  }
55
49
  }
56
- S.eventName = "visibilityChanged";
50
+ S.eventName = "rangeChanged";
57
51
  class E extends Event {
52
+ constructor(t) {
53
+ super(E.eventName, { bubbles: !1 }), this.first = t.first, this.last = t.last;
54
+ }
55
+ }
56
+ E.eventName = "visibilityChanged";
57
+ class L extends Event {
58
58
  constructor() {
59
- super(E.eventName, { bubbles: !1 });
59
+ super(L.eventName, { bubbles: !1 });
60
60
  }
61
61
  }
62
- E.eventName = "unpinned";
62
+ L.eventName = "unpinned";
63
63
  class Y {
64
64
  constructor(t) {
65
65
  this._element = null;
@@ -153,7 +153,7 @@ class K extends Y {
153
153
  }
154
154
  }
155
155
  let k = typeof window < "u" ? window.ResizeObserver : void 0;
156
- const z = Symbol("virtualizerRef"), b = "virtualizer-sizer";
156
+ const x = Symbol("virtualizerRef"), w = "virtualizer-sizer";
157
157
  let O;
158
158
  class Q {
159
159
  constructor(t) {
@@ -174,7 +174,7 @@ class Q {
174
174
  }
175
175
  _initHostElement(t) {
176
176
  const e = this._hostElement = t.hostElement;
177
- this._applyVirtualizerStyles(), e[z] = this;
177
+ this._applyVirtualizerStyles(), e[x] = this;
178
178
  }
179
179
  connected() {
180
180
  this._initObservers();
@@ -182,10 +182,10 @@ class Q {
182
182
  this._clippingAncestors = function(e, i = !1) {
183
183
  let r = !1;
184
184
  return function(l, o = !1) {
185
- const c = [];
186
- let a = o ? l : V(l);
187
- for (; a !== null; ) c.push(a), a = V(a);
188
- return c;
185
+ const a = [];
186
+ let h = o ? l : V(l);
187
+ for (; h !== null; ) a.push(h), h = V(h);
188
+ return a;
189
189
  }(e, i).filter((l) => {
190
190
  if (r) return !1;
191
191
  const o = getComputedStyle(l);
@@ -209,8 +209,8 @@ class Q {
209
209
  _getSizer() {
210
210
  const t = this._hostElement;
211
211
  if (!this._sizer) {
212
- let e = t.querySelector(`[${b}]`);
213
- e || (e = document.createElement("div"), e.setAttribute(b, ""), t.appendChild(e)), Object.assign(e.style, { position: "absolute", margin: "-2px 0 0 0", padding: 0, visibility: "hidden", fontSize: "2px" }), e.textContent = "&nbsp;", e.setAttribute(b, ""), this._sizer = e;
212
+ let e = t.querySelector(`[${w}]`);
213
+ e || (e = document.createElement("div"), e.setAttribute(w, ""), t.appendChild(e)), Object.assign(e.style, { position: "absolute", margin: "-2px 0 0 0", padding: 0, visibility: "hidden", fontSize: "2px" }), e.textContent = "&nbsp;", e.setAttribute(w, ""), this._sizer = e;
214
214
  }
215
215
  return this._sizer;
216
216
  }
@@ -254,7 +254,7 @@ class Q {
254
254
  const { width: e, height: i } = t.getBoundingClientRect();
255
255
  return Object.assign({ width: e, height: i }, function(r) {
256
256
  const l = window.getComputedStyle(r);
257
- return { marginTop: w(l.marginTop), marginRight: w(l.marginRight), marginBottom: w(l.marginBottom), marginLeft: w(l.marginLeft) };
257
+ return { marginTop: C(l.marginTop), marginRight: C(l.marginRight), marginBottom: C(l.marginBottom), marginLeft: C(l.marginLeft) };
258
258
  }(t));
259
259
  }
260
260
  async _schedule(t) {
@@ -286,26 +286,26 @@ class Q {
286
286
  t.type === "scroll" && (t.currentTarget === window || this._clippingAncestors.includes(t.currentTarget)) && this._handleScrollEvent();
287
287
  }
288
288
  _handleLayoutMessage(t) {
289
- t.type === "stateChanged" ? this._updateDOM(t) : t.type === "visibilityChanged" ? (this._firstVisible = t.firstVisible, this._lastVisible = t.lastVisible, this._notifyVisibility()) : t.type === "unpinned" && this._hostElement.dispatchEvent(new E());
289
+ t.type === "stateChanged" ? this._updateDOM(t) : t.type === "visibilityChanged" ? (this._firstVisible = t.firstVisible, this._lastVisible = t.lastVisible, this._notifyVisibility()) : t.type === "unpinned" && this._hostElement.dispatchEvent(new L());
290
290
  }
291
291
  get _children() {
292
292
  const t = [];
293
293
  let e = this._hostElement.firstElementChild;
294
- for (; e; ) e.hasAttribute(b) || t.push(e), e = e.nextElementSibling;
294
+ for (; e; ) e.hasAttribute(w) || t.push(e), e = e.nextElementSibling;
295
295
  return t;
296
296
  }
297
297
  _updateView() {
298
298
  var r;
299
299
  const t = this._hostElement, e = (r = this._scrollerController) == null ? void 0 : r.element, i = this._layout;
300
300
  if (t && e && i) {
301
- let l, o, c, a;
301
+ let l, o, a, h;
302
302
  const n = t.getBoundingClientRect();
303
- l = 0, o = 0, c = window.innerHeight, a = window.innerWidth;
304
- const x = this._clippingAncestors.map((m) => m.getBoundingClientRect());
305
- x.unshift(n);
306
- for (const m of x) l = Math.max(l, m.top), o = Math.max(o, m.left), c = Math.min(c, m.bottom), a = Math.min(a, m.right);
307
- const T = e.getBoundingClientRect(), $ = { left: n.left - T.left, top: n.top - T.top }, A = { width: e.scrollWidth, height: e.scrollHeight }, F = l - n.top + t.scrollTop, B = o - n.left + t.scrollLeft, N = Math.max(0, c - l), P = Math.max(0, a - o);
308
- i.viewportSize = { width: P, height: N }, i.viewportScroll = { top: F, left: B }, i.totalScrollSize = A, i.offsetWithinScroller = $;
303
+ l = 0, o = 0, a = window.innerHeight, h = window.innerWidth;
304
+ const y = this._clippingAncestors.map((m) => m.getBoundingClientRect());
305
+ y.unshift(n);
306
+ for (const m of y) l = Math.max(l, m.top), o = Math.max(o, m.left), a = Math.min(a, m.bottom), h = Math.min(h, m.right);
307
+ const T = e.getBoundingClientRect(), $ = { left: n.left - T.left, top: n.top - T.top }, F = { width: e.scrollWidth, height: e.scrollHeight }, N = l - n.top + t.scrollTop, A = o - n.left + t.scrollLeft, B = Math.max(0, a - l), j = Math.max(0, h - o);
308
+ i.viewportSize = { width: j, height: B }, i.viewportScroll = { top: N, left: A }, i.totalScrollSize = F, i.offsetWithinScroller = $;
309
309
  }
310
310
  }
311
311
  _sizeHostElement(t) {
@@ -317,9 +317,9 @@ class Q {
317
317
  }
318
318
  }
319
319
  _positionChildren(t) {
320
- t && t.forEach(({ top: e, left: i, width: r, height: l, xOffset: o, yOffset: c }, a) => {
321
- const n = this._children[a - this._first];
322
- n && (n.style.position = "absolute", n.style.boxSizing = "border-box", n.style.transform = `translate(${i}px, ${e}px)`, r !== void 0 && (n.style.width = r + "px"), l !== void 0 && (n.style.height = l + "px"), n.style.left = o === void 0 ? null : o + "px", n.style.top = c === void 0 ? null : c + "px");
320
+ t && t.forEach(({ top: e, left: i, width: r, height: l, xOffset: o, yOffset: a }, h) => {
321
+ const n = this._children[h - this._first];
322
+ n && (n.style.position = "absolute", n.style.boxSizing = "border-box", n.style.transform = `translate(${i}px, ${e}px)`, r !== void 0 && (n.style.width = r + "px"), l !== void 0 && (n.style.height = l + "px"), n.style.left = o === void 0 ? null : o + "px", n.style.top = a === void 0 ? null : a + "px");
323
323
  });
324
324
  }
325
325
  async _adjustRange(t) {
@@ -348,10 +348,10 @@ class Q {
348
348
  e && (t != null && t.has(e)) && this._updateScrollIntoViewCoordinates(this._layout.getScrollIntoViewCoordinates(this._scrollIntoViewTarget));
349
349
  }
350
350
  _notifyRange() {
351
- this._hostElement.dispatchEvent(new C({ first: this._first, last: this._last }));
351
+ this._hostElement.dispatchEvent(new S({ first: this._first, last: this._last }));
352
352
  }
353
353
  _notifyVisibility() {
354
- this._hostElement.dispatchEvent(new S({ first: this._firstVisible, last: this._lastVisible }));
354
+ this._hostElement.dispatchEvent(new E({ first: this._firstVisible, last: this._lastVisible }));
355
355
  }
356
356
  get layoutComplete() {
357
357
  return this._layoutCompletePromise || (this._layoutCompletePromise = new Promise((t, e) => {
@@ -384,7 +384,7 @@ class Q {
384
384
  this._scheduleLayoutComplete(), this._itemsChanged = !1, this._rangeChanged = !1;
385
385
  }
386
386
  }
387
- function w(s) {
387
+ function C(s) {
388
388
  const t = s ? parseFloat(s) : NaN;
389
389
  return Number.isNaN(t) ? 0 : t;
390
390
  }
@@ -394,7 +394,7 @@ function V(s) {
394
394
  const t = s.parentNode;
395
395
  return t && t.nodeType === Node.DOCUMENT_FRAGMENT_NODE && t.host || null;
396
396
  }
397
- const R = (s) => s, I = (s, t) => h`${t}: ${JSON.stringify(s, null, 2)}`, Z = W(class extends U {
397
+ const R = (s) => s, I = (s, t) => c`${t}: ${JSON.stringify(s, null, 2)}`, Z = W(class extends U {
398
398
  constructor(s) {
399
399
  if (super(s), this._virtualizer = null, this._first = 0, this._last = -1, this._renderItem = (t, e) => I(t, e + this._first), this._keyFunction = (t, e) => R(t, this._first), this._items = [], s.type !== q.CHILD) throw new Error("The virtualize directive can only be used in child expressions");
400
400
  }
@@ -407,7 +407,7 @@ const R = (s) => s, I = (s, t) => h`${t}: ${JSON.stringify(s, null, 2)}`, Z = W(
407
407
  update(s, [t]) {
408
408
  this._setFunctions(t);
409
409
  const e = this._items !== t.items;
410
- return this._items = t.items || [], this._virtualizer ? this._updateVirtualizerConfig(s, t) : this._initialize(s, t), e ? j : this.render();
410
+ return this._items = t.items || [], this._virtualizer ? this._updateVirtualizerConfig(s, t) : this._initialize(s, t), e ? P : this.render();
411
411
  }
412
412
  async _updateVirtualizerConfig(s, t) {
413
413
  if (!await this._virtualizer.updateLayoutConfig(t.layout || {})) {
@@ -449,44 +449,51 @@ class p extends H {
449
449
  }
450
450
  render() {
451
451
  const { items: t, renderItem: e, keyFunction: i, layout: r, scroller: l } = this;
452
- return h`${Z({ items: t, renderItem: e, keyFunction: i, layout: r, scroller: l })}`;
452
+ return c`${Z({ items: t, renderItem: e, keyFunction: i, layout: r, scroller: l })}`;
453
453
  }
454
454
  element(t) {
455
455
  var e;
456
- return (e = this[z]) == null ? void 0 : e.element(t);
456
+ return (e = this[x]) == null ? void 0 : e.element(t);
457
457
  }
458
458
  get layoutComplete() {
459
459
  var t;
460
- return (t = this[z]) == null ? void 0 : t.layoutComplete;
460
+ return (t = this[x]) == null ? void 0 : t.layoutComplete;
461
461
  }
462
462
  scrollToIndex(t, e = "start") {
463
463
  var i;
464
464
  (i = this.element(t)) == null || i.scrollIntoView({ block: e });
465
465
  }
466
466
  }
467
- y([g({ attribute: !1 })], p.prototype, "items", void 0), y([g()], p.prototype, "renderItem", void 0), y([g()], p.prototype, "keyFunction", void 0), y([g({ attribute: !1 })], p.prototype, "layout", void 0), y([g({ reflect: !0, type: Boolean })], p.prototype, "scroller", void 0), customElements.define("lit-virtualizer", p);
467
+ g([f({ attribute: !1 })], p.prototype, "items", void 0), g([f()], p.prototype, "renderItem", void 0), g([f()], p.prototype, "keyFunction", void 0), g([f({ attribute: !1 })], p.prototype, "layout", void 0), g([f({ reflect: !0, type: Boolean })], p.prototype, "scroller", void 0), customElements.define("lit-virtualizer", p);
468
468
  var tt = Object.defineProperty, et = Object.getOwnPropertyDescriptor, d = (s, t, e, i) => {
469
469
  for (var r, l = i > 1 ? void 0 : i ? et(t, e) : t, o = s.length - 1; o >= 0; o--) (r = s[o]) && (l = (i ? r(t, e, l) : r(l)) || l);
470
470
  return i && l && tt(t, e, l), l;
471
471
  };
472
- let u = class extends M() {
472
+ let u = class extends D() {
473
473
  constructor() {
474
474
  super(), this.columns = [], this.data = [], this.keyField = "id", this.cols = "1fr", this.sortable = !1, this.sortColumn = null, this.sortDirection = null, this.filteredData = [], this.filteredData = this.data;
475
475
  }
476
476
  willUpdate(s) {
477
477
  (s.has("data") || s.has("sortColumn") || s.has("sortDirection")) && this.processData();
478
478
  }
479
+ isDate(s) {
480
+ return s && typeof s == "object" && Object.prototype.toString.call(s) === "[object Date]";
481
+ }
479
482
  processData() {
480
483
  let s = [...this.data];
481
484
  this.sortable && this.sortColumn && this.sortDirection && s.sort((t, e) => {
482
485
  const i = t[this.sortColumn], r = e[this.sortColumn];
483
- if (typeof i == "string" && typeof r == "string") return this.sortDirection === "asc" ? i.localeCompare(r) : r.localeCompare(i);
486
+ if (i == null) return this.sortDirection === "asc" ? 1 : -1;
487
+ if (r == null) return this.sortDirection === "asc" ? -1 : 1;
484
488
  if (typeof i == "number" && typeof r == "number") return this.sortDirection === "asc" ? i - r : r - i;
485
- if (i && r && i instanceof Date && r instanceof Date) return this.sortDirection === "asc" ? i.getTime() - r.getTime() : r.getTime() - i.getTime();
486
- {
487
- const l = String(i || ""), o = String(r || "");
488
- return this.sortDirection === "asc" ? l.localeCompare(o) : o.localeCompare(l);
489
+ const l = typeof i == "string" && !isNaN(Number(i)), o = typeof r == "string" && !isNaN(Number(r));
490
+ if (l && o) {
491
+ const n = parseFloat(i), y = parseFloat(r);
492
+ return this.sortDirection === "asc" ? n - y : y - n;
489
493
  }
494
+ if (this.isDate(i) && this.isDate(r)) return this.sortDirection === "asc" ? i.getTime() - r.getTime() : r.getTime() - i.getTime();
495
+ const a = String(i), h = String(r);
496
+ return this.sortDirection === "asc" ? a.localeCompare(h) : h.localeCompare(a);
490
497
  }), this.filteredData = s;
491
498
  }
492
499
  toggleSort(s) {
@@ -495,20 +502,20 @@ let u = class extends M() {
495
502
  t === this.sortColumn ? this.sortDirection === "asc" ? this.sortDirection = "desc" : this.sortDirection === "desc" ? this.sortDirection = null : this.sortDirection = "asc" : (this.sortColumn = t, this.sortDirection = "asc"), this.dispatchEvent(new CustomEvent("sort-change", { detail: { column: this.sortColumn, direction: this.sortDirection }, bubbles: !0, composed: !0 }));
496
503
  }
497
504
  renderSortIndicator(s) {
498
- return this.sortable && s.sortable !== !1 && s.key && s.key === this.sortColumn ? h`
505
+ return this.sortable && s.sortable !== !1 && s.key && s.key === this.sortColumn ? c`
499
506
  <span class="ml-1">
500
- ${this.sortDirection === "asc" ? h`<schmancy-icon size="16px">arrow_upward</schmancy-icon>` : this.sortDirection === "desc" ? h`<schmancy-icon size="16px">arrow_downward</schmancy-icon>` : null}
507
+ ${this.sortDirection === "asc" ? c`<schmancy-icon size="16px">arrow_upward</schmancy-icon>` : this.sortDirection === "desc" ? c`<schmancy-icon size="16px">arrow_downward</schmancy-icon>` : null}
501
508
  </span>
502
509
  ` : null;
503
510
  }
504
511
  render() {
505
512
  const s = (t) => ({ "flex items-center": !0, "cursor-pointer gap-1": this.sortable && t.sortable !== !1 && t.key });
506
- return h`
513
+ return c`
507
514
  <schmancy-surface fill="all" type="container" rounded="all" elevation="2">
508
515
  <schmancy-grid class="h-full w-full" cols="1fr" rows="auto 1fr">
509
516
  <schmancy-surface rounded="top" elevation="1" type="containerHighest" class="sticky top-0 z-10">
510
517
  <schmancy-grid align="center" class="px-4 py-3" .cols=${this.cols} gap="md" rows="1fr">
511
- ${this.columns.map((t) => h`
518
+ ${this.columns.map((t) => c`
512
519
  <div
513
520
  class=${this.classMap(s(t))}
514
521
  @click=${() => this.sortable && t.sortable !== !1 ? this.toggleSort(t) : null}
@@ -522,12 +529,12 @@ let u = class extends M() {
522
529
  </schmancy-grid>
523
530
  </schmancy-surface>
524
531
 
525
- ${this.filteredData.length > 0 ? h`
532
+ ${this.filteredData.length > 0 ? c`
526
533
  <lit-virtualizer
527
534
  scroller
528
535
  class="w-full h-full relative overflow-auto"
529
536
  .items=${this.filteredData}
530
- .renderItem=${(t, e) => h`
537
+ .renderItem=${(t, e) => c`
531
538
  <schmancy-table-row
532
539
  class="w-full border-b border-solid border-outlineVariant"
533
540
  .columns=${this.columns}
@@ -540,7 +547,7 @@ let u = class extends M() {
540
547
  ></schmancy-table-row>
541
548
  `}
542
549
  ></lit-virtualizer>
543
- ` : h`
550
+ ` : c`
544
551
  <div class="flex items-center justify-center w-full h-full p-8 text-center">
545
552
  <schmancy-typography type="body" token="lg"> No data available </schmancy-typography>
546
553
  </div>
@@ -550,9 +557,9 @@ let u = class extends M() {
550
557
  `;
551
558
  }
552
559
  };
553
- d([_({ type: Array, attribute: !1 })], u.prototype, "columns", 2), d([_({ type: Array, attribute: !1 })], u.prototype, "data", 2), d([_({ type: String })], u.prototype, "keyField", 2), d([_({ type: String })], u.prototype, "cols", 2), d([_({ type: Boolean })], u.prototype, "sortable", 2), d([L()], u.prototype, "sortColumn", 2), d([L()], u.prototype, "sortDirection", 2), d([L()], u.prototype, "filteredData", 2), u = d([D("schmancy-table")], u);
560
+ d([_({ type: Array, attribute: !1 })], u.prototype, "columns", 2), d([_({ type: Array, attribute: !1 })], u.prototype, "data", 2), d([_({ type: String })], u.prototype, "keyField", 2), d([_({ type: String })], u.prototype, "cols", 2), d([_({ type: Boolean })], u.prototype, "sortable", 2), d([z()], u.prototype, "sortColumn", 2), d([z()], u.prototype, "sortDirection", 2), d([z()], u.prototype, "filteredData", 2), u = d([M("schmancy-table")], u);
554
561
  export {
555
- f as S,
562
+ v as S,
556
563
  u as a
557
564
  };
558
- //# sourceMappingURL=table-DPXzmJkJ.js.map
565
+ //# sourceMappingURL=table-CRLXjzqK.js.map