@orangelogic/design-system 2.188.0 → 2.190.0

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.
@@ -1,28 +1,28 @@
1
1
  import Ri from "../components/space.js";
2
- import { C as Ir, T as xn } from "./typography.IqHbnd3C.js";
2
+ import { C as Pr, T as En } from "./typography.IqHbnd3C.js";
3
3
  import { n as m, C as Pe } from "./lib-cortex-element.CVMmyPMC.js";
4
- import { C as Hr, a as es } from "./color-swatch.D6Gg5bpz.js";
4
+ import { C as Ir, a as es } from "./color-swatch.D6Gg5bpz.js";
5
5
  import { c as $e } from "./component.styles.CRO4Odto.js";
6
6
  import { C as Et } from "./button.BnkkUqiI.js";
7
- import { C as Rn, o as Sn, O as No } from "./dialog.CWGtufDA.js";
7
+ import { C as xn, o as Rn, O as Sn } from "./dialog.CWGtufDA.js";
8
8
  import { C as oi } from "./icon-button.CVrxJcZq.js";
9
9
  import Pt from "../components/tooltip.js";
10
- import { i as Nr, r as kn, f as Jt, m as Tn, a as Dn, t as Vr, g as Mn, b as Fn, c as Ln } from "./toast.CXEAfCvN.js";
10
+ import { i as Hr, r as kn, f as Jt, m as Tn, a as Dn, t as Nr, g as Mn, b as Fn, c as Ln } from "./toast.CXEAfCvN.js";
11
11
  import { c as Ie } from "./custom-element.L4WJXn1j.js";
12
12
  import { L as tt } from "./i18n.DbXTTLXx.js";
13
- import { b as zn, S as _n, c as Vo, p as On, w as V, E as An } from "./watch.DJF5K-8U.js";
13
+ import { b as zn, S as _n, c as No, p as On, w as V, E as An } from "./watch.DJF5K-8U.js";
14
14
  import { i as q, x, E as ut, B as Pn } from "./lit-element.jLBm65_O.js";
15
15
  import { r as F } from "./state.CSDxrqLd.js";
16
16
  import { e as ue } from "./query.BBf1UFkC.js";
17
17
  import { a as In, b as Hn } from "./_baseXor.DixEm6JQ.js";
18
- import { a as ji, i as zt, b as Br } from "./isArrayLikeObject.D7afXo-f.js";
19
- import { b as Gi, a as Nn, c as $r, t as Vn } from "./_baseIteratee.sC2wLi2m.js";
18
+ import { a as ji, i as zt, b as Vr } from "./isArrayLikeObject.D7afXo-f.js";
19
+ import { b as Gi, a as Nn, c as Br, t as Vn } from "./_baseIteratee.sC2wLi2m.js";
20
20
  import { l as si, i as Bn, f as $n } from "./_flatRest.D3ZVApI5.js";
21
21
  import { a as ao } from "./toString.B1zKIiZc.js";
22
22
  import { a as Wn, b as jn } from "./_baseUniq.lwMgmtt2.js";
23
23
  import { C as gt } from "./icon.CpHbi8tH.js";
24
- import { C as Wr } from "./input.33UmFGqR.js";
25
- import { d as jr } from "./debounce.DaHuiSGU.js";
24
+ import { C as $r } from "./input.33UmFGqR.js";
25
+ import { d as Wr } from "./debounce.DaHuiSGU.js";
26
26
  import { e as Ze } from "./class-map.BiVq-cVR.js";
27
27
  import { c as Ke } from "./repeat.CFjcER6_.js";
28
28
  import { n as J } from "./when.Dr1es41R.js";
@@ -39,31 +39,31 @@ import { o as Z } from "./if-defined.BRoBj_Rp.js";
39
39
  import { o as ft } from "./style-map.llVFPd__.js";
40
40
  import ai from "../components/dropdown.js";
41
41
  import ea from "../components/menu-section.js";
42
- import Gr from "../components/checkbox.js";
42
+ import jr from "../components/checkbox.js";
43
43
  import { C as ta, P as ia } from "./pagination.mzolTIpF.js";
44
- import { H as Ur } from "./slot.j5oheLJC.js";
45
- import { g as B, a as Bo } from "./dom.gRV2cDjL.js";
44
+ import { H as Gr } from "./slot.j5oheLJC.js";
45
+ import { g as B, a as Vo } from "./dom.gRV2cDjL.js";
46
46
  import "./browser.BHOCIF_A.js";
47
47
  import "./form.DSsy3Fcy.js";
48
48
  import "./purify.es.BIuh5IAZ.js";
49
- import { D as Kr, a as sa, t as oa, b as qr } from "./date-picker.BGHn6qg8.js";
49
+ import { D as Ur, a as sa, t as oa, b as Kr } from "./date-picker.BGHn6qg8.js";
50
50
  import { D as Ti } from "./transformation.8uLv6uwG.js";
51
- import { s as P, h as $o, b as Ui, c as lo } from "./string.CfI2ejyR.js";
51
+ import { s as P, h as Bo, b as Ui, c as lo } from "./string.CfI2ejyR.js";
52
52
  import { a as ra } from "./_commonjsHelpers.DQNKXVTB.js";
53
53
  import { d as na } from "./debounce.Bv1rtE8D.js";
54
54
  import aa from "../components/divider.js";
55
55
  import la from "../components/format-number.js";
56
56
  import ha from "../components/select.js";
57
- import Xr from "../components/spinner.js";
57
+ import qr from "../components/spinner.js";
58
58
  import ca from "../components/badge.js";
59
59
  import da from "../components/details.js";
60
60
  import ua from "../components/tag.js";
61
61
  import { c as pa } from "./date.iWq_pkIk.js";
62
62
  import { r as fa } from "./query-all.i3PyvTUQ.js";
63
- import { i as Wo } from "./guard.D4axKaMo.js";
64
- var jo = ji(function(n, e) {
63
+ import { i as $o } from "./guard.D4axKaMo.js";
64
+ var Wo = ji(function(n, e) {
65
65
  var t = si(e);
66
- return zt(t) && (t = void 0), zt(n) ? In(n, Br(e, 1, zt, !0), Gi(t)) : [];
66
+ return zt(t) && (t = void 0), zt(n) ? In(n, Vr(e, 1, zt, !0), Gi(t)) : [];
67
67
  }), ma = Math.min;
68
68
  function ga(n, e, t) {
69
69
  for (var i = Wn, s = n[0].length, o = n.length, r = o, a = Array(o), l = 1 / 0, h = []; r--; ) {
@@ -75,10 +75,10 @@ function ga(n, e, t) {
75
75
  e:
76
76
  for (; ++d < s && h.length < l; ) {
77
77
  var u = c[d], f = e ? e(u) : u;
78
- if (u = u !== 0 ? u : 0, !(p ? Vo(p, f) : i(h, f))) {
78
+ if (u = u !== 0 ? u : 0, !(p ? No(p, f) : i(h, f))) {
79
79
  for (r = o; --r; ) {
80
80
  var w = a[r];
81
- if (!(w ? Vo(w, f) : i(n[r], f)))
81
+ if (!(w ? No(w, f) : i(n[r], f)))
82
82
  continue e;
83
83
  }
84
84
  p && p.push(f), h.push(u);
@@ -94,7 +94,7 @@ var wa = ji(function(n) {
94
94
  return e === si(t) ? e = void 0 : t.pop(), t.length && t[0] === n[0] ? ga(t, Gi(e)) : [];
95
95
  }), va = ji(function(n) {
96
96
  var e = si(n);
97
- return zt(e) && (e = void 0), jn(Br(n, 1, zt, !0), Gi(e));
97
+ return zt(e) && (e = void 0), jn(Vr(n, 1, zt, !0), Gi(e));
98
98
  }), ya = ji(function(n) {
99
99
  var e = si(n);
100
100
  return zt(e) && (e = void 0), Hn(On(n, zt), Gi(e));
@@ -103,18 +103,18 @@ function Ca(n, e) {
103
103
  return e.length < 2 ? n : Nn(n, qn(e, 0, -1));
104
104
  }
105
105
  function Ea(n, e) {
106
- return e = $r(e, n), n = Ca(n, e), n == null || delete n[Vn(si(e))];
106
+ return e = Br(e, n), n = Ca(n, e), n == null || delete n[Vn(si(e))];
107
107
  }
108
108
  function xa(n) {
109
109
  return Bn(n) ? void 0 : n;
110
110
  }
111
- var Ra = 1, Sa = 2, ka = 4, Go = $n(function(n, e) {
111
+ var Ra = 1, Sa = 2, ka = 4, jo = $n(function(n, e) {
112
112
  var t = {};
113
113
  if (n == null)
114
114
  return t;
115
115
  var i = !1;
116
116
  e = ao(e, function(o) {
117
- return o = $r(o, n), i || (i = o.length > 1), o;
117
+ return o = Br(o, n), i || (i = o.length > 1), o;
118
118
  }), Gn(n, Un(n), t), i && (t = Kn(t, Ra | Sa | ka, xa));
119
119
  for (var s = e.length; s--; )
120
120
  Ea(t, e[s]);
@@ -319,7 +319,7 @@ let $ = class extends Pe {
319
319
  let o = t.selectedItemAsArray;
320
320
  o.includes(s) || (o = [s]);
321
321
  const r = o.length > 1, a = Number(n.newIndex) - 1 + this.start, l = this.resolveRealInsertIndex(a);
322
- e = Nr(e, l, o), this.handleUpdateEvent(e, n.type, r, l);
322
+ e = Hr(e, l, o), this.handleUpdateEvent(e, n.type, r, l);
323
323
  }
324
324
  async handleEnd(n) {
325
325
  this.isDragging = !1, await this.updateComplete;
@@ -349,7 +349,7 @@ let $ = class extends Pe {
349
349
  }
350
350
  handleDefaultSelect(n) {
351
351
  const e = n.dataset.id;
352
- this._selectedItems[e] ? (this._selectedItems = Go(this._selectedItems, [e]), this._selectedItemOrder = Go(this._selectedItemOrder, [e])) : (this._selectedItems = {
352
+ this._selectedItems[e] ? (this._selectedItems = jo(this._selectedItems, [e]), this._selectedItemOrder = jo(this._selectedItemOrder, [e])) : (this._selectedItems = {
353
353
  ...this._selectedItems,
354
354
  [e]: !0
355
355
  }, this._selectedItemOrder = {
@@ -568,7 +568,7 @@ $.dependencies = {
568
568
  "cx-board-list-item": Ee,
569
569
  "cx-icon": gt,
570
570
  "cx-icon-button": oi,
571
- "cx-input": Wr,
571
+ "cx-input": $r,
572
572
  "cx-tooltip": Pt
573
573
  };
574
574
  X([
@@ -668,12 +668,12 @@ X([
668
668
  V(["data", "group"])
669
669
  ], $.prototype, "onItemsChanged", 1);
670
670
  X([
671
- jr(200, !0)
671
+ Wr(200, !0)
672
672
  ], $.prototype, "handleShiftSelect", 1);
673
673
  $ = X([
674
674
  Ie("cx-board")
675
675
  ], $);
676
- const Aa = q`:host{height:100%;display:block}.multi-select{gap:var(--cx-spacing-medium);width:100%;height:100%;display:flex}.multi-select__control{gap:var(--cx-spacing-small);flex-direction:column;align-self:center;display:flex}`, Uo = (n, e) => n.group && e.group && n.group !== e.group ? n.group.localeCompare(e.group) : n.text.localeCompare(e.text);
676
+ const Aa = q`:host{height:100%;display:block}.multi-select{gap:var(--cx-spacing-medium);width:100%;height:100%;display:flex}.multi-select__control{gap:var(--cx-spacing-small);flex-direction:column;align-self:center;display:flex}`, Go = (n, e) => n.group && e.group && n.group !== e.group ? n.group.localeCompare(e.group) : n.text.localeCompare(e.text);
677
677
  var Pa = Object.defineProperty, Ia = Object.getOwnPropertyDescriptor, qe = (n, e, t, i) => {
678
678
  for (var s = i > 1 ? void 0 : i ? Ia(e, t) : e, o = n.length - 1, r; o >= 0; o--)
679
679
  (r = n[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
@@ -713,10 +713,10 @@ let De = class extends Pe {
713
713
  if (this.addLimit || this.addLimit === 0) {
714
714
  let i = [];
715
715
  if (t === "add" ? i = n : t === "remove" && (i = va(
716
- jo(e, n),
716
+ Wo(e, n),
717
717
  this.secondColumnItemIds
718
- )), jo(i, this.initialSecondColumnItems).length > this.addLimit)
719
- return Vr(this.localize.term("addLimitExceeded", this.addLimit), {
718
+ )), Wo(i, this.initialSecondColumnItems).length > this.addLimit)
719
+ return Nr(this.localize.term("addLimitExceeded", this.addLimit), {
720
720
  notificationType: "warning"
721
721
  }), !1;
722
722
  }
@@ -729,7 +729,7 @@ let De = class extends Pe {
729
729
  if (e === this.secondColumnData.id && (r = this.secondColumnData, a = this.firstColumnData), o === "add") {
730
730
  const l = this.selectedItems[a.id];
731
731
  let h = r.items.map((c) => c.id);
732
- if (h = Nr(
732
+ if (h = Hr(
733
733
  h,
734
734
  s === h.length - 1 ? s : s ?? 0,
735
735
  l
@@ -890,7 +890,7 @@ let De = class extends Pe {
890
890
  items: ya(this.firstColumnData.items, i, "id")
891
891
  }, e = !0);
892
892
  }
893
- e && (this.board1Data = this.firstColumnData.sort ?? !0 ? this.firstColumnData.items : [...this.firstColumnData.items].sort(Uo)), t && (this.board2Data = this.secondColumnData.sort ?? !0 ? this.secondColumnData.items : [...this.secondColumnData.items].sort(Uo));
893
+ e && (this.board1Data = this.firstColumnData.sort ?? !0 ? this.firstColumnData.items : [...this.firstColumnData.items].sort(Go)), t && (this.board2Data = this.secondColumnData.sort ?? !0 ? this.secondColumnData.items : [...this.secondColumnData.items].sort(Go));
894
894
  }
895
895
  render() {
896
896
  const n = this.selectedItems[this.firstColumnData.id] ?? [], e = this.selectedItems[this.secondColumnData.id] ?? [];
@@ -1016,7 +1016,7 @@ let Qe = class extends Pe {
1016
1016
  Qe.styles = [$e, Ha];
1017
1017
  Qe.dependencies = {
1018
1018
  "cx-button": Et,
1019
- "cx-dialog": Rn,
1019
+ "cx-dialog": xn,
1020
1020
  "cx-multi-select": De
1021
1021
  };
1022
1022
  It([
@@ -1047,7 +1047,7 @@ var cs = /* @__PURE__ */ ((n) => (n.Search = "search-keyword", n))(cs || {}), Ki
1047
1047
  const ds = 36;
1048
1048
  var fi = /* @__PURE__ */ ((n) => (n.IsoDate = "iso-date", n.IsoDateTime = "iso-datetime", n.Timestamp = "timestamp", n))(fi || {});
1049
1049
  const Ba = q`:host{align-items:center;width:100%;display:flex}:host([pagination-placement=bottom-start]){justify-content:flex-start}:host([pagination-placement=bottom-center]){justify-content:center}:host([pagination-placement=bottom-end]){justify-content:flex-end}`;
1050
- var $a = Object.defineProperty, Wa = Object.getOwnPropertyDescriptor, Jr = (n, e, t, i) => {
1050
+ var $a = Object.defineProperty, Wa = Object.getOwnPropertyDescriptor, Xr = (n, e, t, i) => {
1051
1051
  for (var s = i > 1 ? void 0 : i ? Wa(e, t) : e, o = n.length - 1, r; o >= 0; o--)
1052
1052
  (r = n[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
1053
1053
  return i && s && $a(e, t, s), s;
@@ -1061,10 +1061,10 @@ let Ci = class extends Pe {
1061
1061
  }
1062
1062
  };
1063
1063
  Ci.styles = [$e, Ba];
1064
- Jr([
1064
+ Xr([
1065
1065
  m({ attribute: "pagination-placement", reflect: !0, type: String })
1066
1066
  ], Ci.prototype, "paginationPlacement", 2);
1067
- Ci = Jr([
1067
+ Ci = Xr([
1068
1068
  Ie("cx-table-footer")
1069
1069
  ], Ci);
1070
1070
  const ja = q`:host{display:contents}cx-popup::part(popup){z-index:var(--cx-z-index-dropdown)}`;
@@ -1607,7 +1607,7 @@ var rl = Object.defineProperty, nl = Object.getOwnPropertyDescriptor, ie = (n, e
1607
1607
  };
1608
1608
  let ee = class extends Pe {
1609
1609
  constructor() {
1610
- super(...arguments), this.localize = new tt(this), this.hasSlotController = new Ur(
1610
+ super(...arguments), this.localize = new tt(this), this.hasSlotController = new Gr(
1611
1611
  this,
1612
1612
  "label",
1613
1613
  "pagination",
@@ -1751,11 +1751,11 @@ let ee = class extends Pe {
1751
1751
  ee.styles = [$e, ol];
1752
1752
  ee.dependencies = {
1753
1753
  "cx-button": Et,
1754
- "cx-checkbox": Gr,
1754
+ "cx-checkbox": jr,
1755
1755
  "cx-dropdown": ai,
1756
1756
  "cx-icon": gt,
1757
1757
  "cx-icon-button": oi,
1758
- "cx-input": Wr,
1758
+ "cx-input": $r,
1759
1759
  "cx-menu": ri,
1760
1760
  "cx-menu-item": ni,
1761
1761
  "cx-pagination": ta,
@@ -1764,7 +1764,7 @@ ee.dependencies = {
1764
1764
  "cx-table-group-by-dropdown": At,
1765
1765
  "cx-table-saved-search-dropdown": Be,
1766
1766
  "cx-tooltip": Pt,
1767
- "cx-typography": Ir
1767
+ "cx-typography": Pr
1768
1768
  };
1769
1769
  ie([
1770
1770
  ue("#search-form")
@@ -2027,8 +2027,8 @@ class Q {
2027
2027
  return t;
2028
2028
  }
2029
2029
  }
2030
- const Ko = process.env.NODE_ENV === "development";
2031
- let al = class Yr extends Me {
2030
+ const Uo = process.env.NODE_ENV === "development";
2031
+ let al = class Jr extends Me {
2032
2032
  constructor(e, t, i = null) {
2033
2033
  super(e), this.reversedX = !1, this.childPopup = null, this.blurable = !1, this.blurCallback = null, this.blurEventsBound = !1, this.renderedCallback = null, this.visible = !1, this.hideable = !0, this.destroyed = !1, this.element = t, this.container = this._lookupContainer(), this.parent = i, this.element.classList.add("tabulator-popup-container"), this.blurEvent = this.hide.bind(this, !1), this.escEvent = this._escapeCheck.bind(this), this.destroyBinding = this.tableDestroyed.bind(this);
2034
2034
  }
@@ -2037,11 +2037,11 @@ let al = class Yr extends Me {
2037
2037
  }
2038
2038
  _lookupContainer() {
2039
2039
  let e = this.table.options.popupContainer;
2040
- return typeof e == "string" ? (e = document.querySelector(e), Ko && !e && console.warn(
2040
+ return typeof e == "string" ? (e = document.querySelector(e), Uo && !e && console.warn(
2041
2041
  "Menu Error - no container element found matching selector:",
2042
2042
  this.table.options.popupContainer,
2043
2043
  "(defaulting to document body)"
2044
- )) : e === !0 && (e = this.table.element), e && !(e instanceof HTMLElement) && (e = null), e && !this._checkContainerIsParent(e) && (e = null, Ko && console.warn(
2044
+ )) : e === !0 && (e = this.table.element), e && !(e instanceof HTMLElement) && (e = null), e && !this._checkContainerIsParent(e) && (e = null, Uo && console.warn(
2045
2045
  "Menu Error - container element does not contain this table:",
2046
2046
  this.table.options.popupContainer,
2047
2047
  "(defaulting to document body)"
@@ -2151,7 +2151,7 @@ let al = class Yr extends Me {
2151
2151
  ), this.unsubscribe("cell-editing", this.blurEvent), this.blurEventsBound = !1), this.childPopup && this.childPopup.hide(), this.parent && (this.parent.childPopup = null), this.element.parentNode && this.element.parentNode.removeChild(this.element), this.visible = !1, this.blurCallback && !e && this.blurCallback(), this.unsubscribe("table-destroy", this.destroyBinding)), this;
2152
2152
  }
2153
2153
  child(e) {
2154
- return this.childPopup && this.childPopup.hide(), this.childPopup = new Yr(this.table, e, this), this.childPopup;
2154
+ return this.childPopup && this.childPopup.hide(), this.childPopup = new Jr(this.table, e, this), this.childPopup;
2155
2155
  }
2156
2156
  };
2157
2157
  const ll = process.env.NODE_ENV === "development";
@@ -2239,7 +2239,7 @@ const bo = class bo extends I {
2239
2239
  };
2240
2240
  bo.moduleName = "accessibility";
2241
2241
  let us = bo;
2242
- const hl = "tabulator-clickable-cell", cl = 'button, [role="button"], cx-button, cx-menu-item, cx-dropdown', dl = "hoverMenu", qo = "cx-table-row-action-click", wo = class wo extends I {
2242
+ const hl = "tabulator-clickable-cell", cl = 'button, [role="button"], cx-button, cx-menu-item, cx-dropdown', dl = "hoverMenu", Ko = "cx-table-row-action-click", wo = class wo extends I {
2243
2243
  constructor(e) {
2244
2244
  super(e), this.cellKeyHandlers = /* @__PURE__ */ new WeakMap(), this.registerColumnOption("clickable"), this.registerColumnOption("clickableActionName"), this.registerColumnOption("clickableEventName");
2245
2245
  }
@@ -2309,11 +2309,11 @@ const hl = "tabulator-clickable-cell", cl = 'button, [role="button"], cx-button,
2309
2309
  row: e.row.getComponent()
2310
2310
  }, s = this.getCxTableHost();
2311
2311
  if (s) {
2312
- s.emit(qo, { detail: i });
2312
+ s.emit(Ko, { detail: i });
2313
2313
  return;
2314
2314
  }
2315
2315
  this.table.element.dispatchEvent(
2316
- new CustomEvent(qo, {
2316
+ new CustomEvent(Ko, {
2317
2317
  bubbles: !0,
2318
2318
  composed: !0,
2319
2319
  detail: i
@@ -2523,7 +2523,7 @@ let ms = ei;
2523
2523
  const ml = {
2524
2524
  method: "GET"
2525
2525
  };
2526
- function Zr(n) {
2526
+ function Yr(n) {
2527
2527
  return n instanceof File || n instanceof Blob;
2528
2528
  }
2529
2529
  function gs(n, e = "") {
@@ -2537,7 +2537,7 @@ function gs(n, e = "") {
2537
2537
  )
2538
2538
  );
2539
2539
  });
2540
- else if (Zr(n))
2540
+ else if (Yr(n))
2541
2541
  t.push({ key: e, value: n });
2542
2542
  else if (typeof n == "object" && n !== null)
2543
2543
  for (const i in n)
@@ -2558,7 +2558,7 @@ const gl = {
2558
2558
  return i.forEach((o) => {
2559
2559
  s.append(
2560
2560
  o.key,
2561
- Zr(o.value) ? o.value : String(o.value)
2561
+ Yr(o.value) ? o.value : String(o.value)
2562
2562
  );
2563
2563
  }), s;
2564
2564
  },
@@ -2604,7 +2604,7 @@ function bl(n) {
2604
2604
  );
2605
2605
  }), t.join("&");
2606
2606
  }
2607
- const Qr = function(n, e, t) {
2607
+ const Zr = function(n, e, t) {
2608
2608
  if (n && t && Object.keys(t).length && (!e.method || e.method.toLowerCase() === "get")) {
2609
2609
  e.method = "get";
2610
2610
  const [i, s] = n.split("#", 2), o = bl(t);
@@ -2668,7 +2668,7 @@ const Qr = function(n, e, t) {
2668
2668
  )), s)) : Promise.reject();
2669
2669
  }
2670
2670
  };
2671
- ot.moduleName = "ajax", ot.defaultConfig = ml, ot.defaultURLGenerator = Qr, ot.contentTypeFormatters = gl, ot.defaultLoaderPromise = function(e, t, i) {
2671
+ ot.moduleName = "ajax", ot.defaultConfig = ml, ot.defaultURLGenerator = Zr, ot.contentTypeFormatters = gl, ot.defaultLoaderPromise = function(e, t, i) {
2672
2672
  let s;
2673
2673
  return new Promise((o, r) => {
2674
2674
  if (!this.urlGenerator) {
@@ -2720,7 +2720,7 @@ function ho(n) {
2720
2720
  }), t = t.parent;
2721
2721
  return e;
2722
2722
  }
2723
- function en(n) {
2723
+ function Qr(n) {
2724
2724
  return JSON.stringify(n);
2725
2725
  }
2726
2726
  function wl(n, e) {
@@ -2730,11 +2730,11 @@ function vl(n) {
2730
2730
  const e = ho(n);
2731
2731
  return {
2732
2732
  path: e,
2733
- pathKey: en(e),
2733
+ pathKey: Qr(e),
2734
2734
  rowCount: n.getRowCount()
2735
2735
  };
2736
2736
  }
2737
- class tn {
2737
+ class en {
2738
2738
  constructor(e) {
2739
2739
  return this._group = e, this.type = "GroupComponent", new Proxy(this, {
2740
2740
  get: function(t, i) {
@@ -3050,8 +3050,8 @@ const El = {
3050
3050
  actions: Rl,
3051
3051
  bindings: Sl
3052
3052
  }
3053
- }, Xo = process.env.NODE_ENV === "development";
3054
- function Jo(n) {
3053
+ }, qo = process.env.NODE_ENV === "development";
3054
+ function Xo(n) {
3055
3055
  const e = globalThis.clipboardData, t = n;
3056
3056
  return e ?? n.clipboardData ?? t.originalEvent?.clipboardData ?? void 0;
3057
3057
  }
@@ -3066,8 +3066,8 @@ const kt = class kt extends I {
3066
3066
  this.rowRange,
3067
3067
  "clipboard"
3068
3068
  ), i = this.table.modules.export?.generateHTMLTable(s), t = i ? this.generatePlainContent(s) : "", this.table.options.clipboardCopyFormatter && typeof this.table.options.clipboardCopyFormatter == "function" && (t = this.table.options.clipboardCopyFormatter("plain", t), i = this.table.options.clipboardCopyFormatter("html", i ?? "")));
3069
- const o = Jo(e);
3070
- o?.setData && (o.setData("text/plain", t), i && o.setData("text/html", i), Vr("Copied to clipboard", {
3069
+ const o = Xo(e);
3070
+ o?.setData && (o.setData("text/plain", t), i && o.setData("text/html", i), Nr("Copied to clipboard", {
3071
3071
  notificationType: "success"
3072
3072
  })), this.dispatchExternal("clipboardCopied", t, i), this.reset();
3073
3073
  }
@@ -3098,7 +3098,7 @@ const kt = class kt extends I {
3098
3098
  const s = [];
3099
3099
  i.columns.forEach((o) => {
3100
3100
  let r = "";
3101
- o && (i.type === "group" && (o.value = o.component instanceof tn ? o.component.getKey() : ""), typeof o.value == "object" ? r = JSON.stringify(o.value) : o.value != null && (r = String(o.value))), s.push(r);
3101
+ o && (i.type === "group" && (o.value = o.component instanceof en ? o.component.getKey() : ""), typeof o.value == "object" ? r = JSON.stringify(o.value) : o.value != null && (r = String(o.value))), s.push(r);
3102
3102
  }), t.push(s.join(" "));
3103
3103
  }), t.join(`
3104
3104
  `);
@@ -3118,7 +3118,7 @@ const kt = class kt extends I {
3118
3118
  switch (typeof e) {
3119
3119
  case "string": {
3120
3120
  const t = kt.pasteActions[e];
3121
- t ? this.pasteAction = t : Xo && console.warn("Clipboard Error - No such paste action found:", e);
3121
+ t ? this.pasteAction = t : qo && console.warn("Clipboard Error - No such paste action found:", e);
3122
3122
  break;
3123
3123
  }
3124
3124
  case "function":
@@ -3130,7 +3130,7 @@ const kt = class kt extends I {
3130
3130
  switch (typeof e) {
3131
3131
  case "string": {
3132
3132
  const t = kt.pasteParsers[e];
3133
- t ? this.pasteParser = t : Xo && console.warn("Clipboard Error - No such paste parser found:", e);
3133
+ t ? this.pasteParser = t : qo && console.warn("Clipboard Error - No such paste parser found:", e);
3134
3134
  break;
3135
3135
  }
3136
3136
  case "function":
@@ -3162,7 +3162,7 @@ const kt = class kt extends I {
3162
3162
  }
3163
3163
  getPasteData(e) {
3164
3164
  let t;
3165
- const i = Jo(e);
3165
+ const i = Xo(e);
3166
3166
  return i?.getData && (t = i.getData("text/plain")), t;
3167
3167
  }
3168
3168
  };
@@ -3424,7 +3424,7 @@ class ki extends Me {
3424
3424
  return this.component ??= new co(this), this.component;
3425
3425
  }
3426
3426
  }
3427
- const sn = {
3427
+ const tn = {
3428
3428
  columns: void 0,
3429
3429
  cssClass: void 0,
3430
3430
  editableTitle: void 0,
@@ -3922,7 +3922,7 @@ const sn = {
3922
3922
  return this.parent instanceof ke ? this.parent.getComponent() : !1;
3923
3923
  }
3924
3924
  };
3925
- ke.defaultOptionList = sn;
3925
+ ke.defaultOptionList = tn;
3926
3926
  let Ve = ke;
3927
3927
  class uo {
3928
3928
  constructor(e) {
@@ -3998,7 +3998,7 @@ class uo {
3998
3998
  return e && e.getComponent();
3999
3999
  }
4000
4000
  }
4001
- const Yo = process.env.NODE_ENV === "development";
4001
+ const Jo = process.env.NODE_ENV === "development";
4002
4002
  class Te extends Me {
4003
4003
  constructor(e, t, i = "row") {
4004
4004
  super(t.table), this.parent = t, this.data = {}, this.type = i, this.element = !1, this.modules = {}, this.cells = [], this.height = 0, this.heightStyled = "", this.manualHeight = !1, this.outerHeight = 0, this.initialized = !1, this.heightInitialized = !1, this.position = 0, this.positionWatchers = [], this.component = null, this.created = !1, this.setData(e);
@@ -4119,7 +4119,7 @@ class Te extends Me {
4119
4119
  try {
4120
4120
  e = JSON.parse(e);
4121
4121
  } catch (r) {
4122
- Yo && console.warn(
4122
+ Jo && console.warn(
4123
4123
  "Row updateData - invalid JSON string, skipping update",
4124
4124
  r
4125
4125
  ), o();
@@ -4177,7 +4177,7 @@ class Te extends Me {
4177
4177
  }
4178
4178
  moveToRow(e, t) {
4179
4179
  const i = this.table.rowManager?.findRow(e);
4180
- i ? (this.table.rowManager?.moveRowActual(this, i, !t), this.table.rowManager?.refreshActiveData("display", !1, !0)) : Yo && console.warn(`Move Error - No matching row found: ${e}`);
4180
+ i ? (this.table.rowManager?.moveRowActual(this, i, !t), this.table.rowManager?.refreshActiveData("display", !1, !0)) : Jo && console.warn(`Move Error - No matching row found: ${e}`);
4181
4181
  }
4182
4182
  // /////////////////// Actions /////////////////////
4183
4183
  delete() {
@@ -4311,7 +4311,7 @@ const Fl = {
4311
4311
  unique: function(n, e, t) {
4312
4312
  return n.filter((s, o) => !(s == null || typeof s == "string" && s.trim() === "") && n.indexOf(s) === o).length;
4313
4313
  }
4314
- }, Zo = process.env.NODE_ENV === "development", Tt = class Tt extends I {
4314
+ }, Yo = process.env.NODE_ENV === "development", Tt = class Tt extends I {
4315
4315
  constructor(e) {
4316
4316
  super(e), this.topCalcs = [], this.botCalcs = [], this.genColumn = !1, this.topElement = this.createElement(), this.botElement = this.createElement(), this.topRow = !1, this.botRow = !1, this.topInitialized = !1, this.botInitialized = !1, this.blocked = !1, this.recalcAfterBlock = !1, this.registerTableOption("columnCalcs", !0), this.registerColumnOption("topCalc"), this.registerColumnOption("topCalcParams"), this.registerColumnOption("topCalcFormatter"), this.registerColumnOption("topCalcFormatterParams"), this.registerColumnOption("bottomCalc"), this.registerColumnOption("bottomCalcParams"), this.registerColumnOption("bottomCalcFormatter"), this.registerColumnOption("bottomCalcFormatterParams");
4317
4317
  }
@@ -4373,7 +4373,7 @@ const Fl = {
4373
4373
  if (t.topCalc) {
4374
4374
  switch (typeof t.topCalc) {
4375
4375
  case "string":
4376
- Tt.calculations[t.topCalc] ? i.topCalc = Tt.calculations[t.topCalc] : Zo && console.warn(
4376
+ Tt.calculations[t.topCalc] ? i.topCalc = Tt.calculations[t.topCalc] : Yo && console.warn(
4377
4377
  "Column Calc Error - No such calculation found, ignoring: ",
4378
4378
  t.topCalc
4379
4379
  );
@@ -4387,7 +4387,7 @@ const Fl = {
4387
4387
  if (t.bottomCalc) {
4388
4388
  switch (typeof t.bottomCalc) {
4389
4389
  case "string":
4390
- Tt.calculations[t.bottomCalc] ? i.botCalc = Tt.calculations[t.bottomCalc] : Zo && console.warn(
4390
+ Tt.calculations[t.bottomCalc] ? i.botCalc = Tt.calculations[t.bottomCalc] : Yo && console.warn(
4391
4391
  "Column Calc Error - No such calculation found, ignoring: ",
4392
4392
  t.bottomCalc
4393
4393
  );
@@ -4988,18 +4988,18 @@ const Ll = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
4988
4988
  };
4989
4989
  vo.moduleName = "dataTree";
4990
4990
  let xs = vo;
4991
- const Qo = process.env.NODE_ENV === "development", Nl = function(n, e = {}, t) {
4991
+ const Zo = process.env.NODE_ENV === "development", Nl = function(n, e = {}, t) {
4992
4992
  const i = e.delimiter ? e.delimiter : ",", s = [], o = [];
4993
4993
  n.forEach((a) => {
4994
4994
  const l = [];
4995
4995
  switch (a.type) {
4996
4996
  case "group":
4997
- Qo && console.warn(
4997
+ Zo && console.warn(
4998
4998
  "Download Warning - CSV downloader cannot process row groups"
4999
4999
  );
5000
5000
  break;
5001
5001
  case "calc":
5002
- Qo && console.warn(
5002
+ Zo && console.warn(
5003
5003
  "Download Warning - CSV downloader cannot process column calculations"
5004
5004
  );
5005
5005
  break;
@@ -5033,7 +5033,7 @@ const Qo = process.env.NODE_ENV === "development", Nl = function(n, e = {}, t) {
5033
5033
  const i = this;
5034
5034
  let s = "";
5035
5035
  i.modExists("export", !0) && (s = i.modules.export?.generateHTMLTable(n) || ""), t(s, "text/html");
5036
- }, er = process.env.NODE_ENV === "development", Bl = function(n, e, t) {
5036
+ }, Qo = process.env.NODE_ENV === "development", Bl = function(n, e, t) {
5037
5037
  const i = [];
5038
5038
  n.forEach((o) => {
5039
5039
  const r = {};
@@ -5041,12 +5041,12 @@ const Qo = process.env.NODE_ENV === "development", Nl = function(n, e = {}, t) {
5041
5041
  case "header":
5042
5042
  break;
5043
5043
  case "group":
5044
- er && console.warn(
5044
+ Qo && console.warn(
5045
5045
  "Download Warning - JSON downloader cannot process row groups"
5046
5046
  );
5047
5047
  break;
5048
5048
  case "calc":
5049
- er && console.warn(
5049
+ Qo && console.warn(
5050
5050
  "Download Warning - JSON downloader cannot process column calculations"
5051
5051
  );
5052
5052
  break;
@@ -5059,7 +5059,7 @@ const Qo = process.env.NODE_ENV === "development", Nl = function(n, e = {}, t) {
5059
5059
  });
5060
5060
  const s = JSON.stringify(i, null, " ");
5061
5061
  t(s, "application/json");
5062
- }, tr = process.env.NODE_ENV === "development", $l = function(n, e, t) {
5062
+ }, er = process.env.NODE_ENV === "development", $l = function(n, e, t) {
5063
5063
  const i = [];
5064
5064
  n.forEach((s) => {
5065
5065
  const o = {};
@@ -5067,12 +5067,12 @@ const Qo = process.env.NODE_ENV === "development", Nl = function(n, e = {}, t) {
5067
5067
  case "header":
5068
5068
  break;
5069
5069
  case "group":
5070
- tr && console.warn(
5070
+ er && console.warn(
5071
5071
  "Download Warning - JSON downloader cannot process row groups"
5072
5072
  );
5073
5073
  break;
5074
5074
  case "calc":
5075
- tr && console.warn(
5075
+ er && console.warn(
5076
5076
  "Download Warning - JSON downloader cannot process column calculations"
5077
5077
  );
5078
5078
  break;
@@ -5552,9 +5552,9 @@ const eh = function(n, e, t, i, s) {
5552
5552
  }
5553
5553
  }), s.mask && po(r, s), r;
5554
5554
  }, th = process.env.NODE_ENV === "development";
5555
- let on = null;
5555
+ let sn = null;
5556
5556
  function ih(n) {
5557
- on = n;
5557
+ sn = n;
5558
5558
  }
5559
5559
  const sh = {
5560
5560
  /**
@@ -5562,7 +5562,7 @@ const sh = {
5562
5562
  * by {@link setDefaultFormattersRegistry}
5563
5563
  */
5564
5564
  lookupFormatter(n, e) {
5565
- const t = e ?? on;
5565
+ const t = e ?? sn;
5566
5566
  if (!t)
5567
5567
  throw new Error(
5568
5568
  "defaultFormatterRegistry is not initialized; ensure ./defaults/formatters has finished loading."
@@ -5666,17 +5666,17 @@ function ph(n, e, t) {
5666
5666
  r
5667
5667
  );
5668
5668
  }
5669
- function ir({
5669
+ function tr({
5670
5670
  elementConfig: n,
5671
5671
  elementValue: e,
5672
5672
  rowData: t
5673
5673
  }) {
5674
5674
  return !!(n.shouldHide?.(e, t) || n.hideValues !== void 0 && (Array.isArray(n.hideValues) ? n.hideValues : [n.hideValues]).includes(e) || n.shouldShow && !n.shouldShow(e, t) || n.showValues !== void 0 && !(Array.isArray(n.showValues) ? n.showValues : [n.showValues]).includes(e));
5675
5675
  }
5676
- function sr(n) {
5676
+ function ir(n) {
5677
5677
  return n == null || n === "";
5678
5678
  }
5679
- function or({
5679
+ function sr({
5680
5680
  cell: n,
5681
5681
  elementConfig: e,
5682
5682
  rowData: t,
@@ -5688,18 +5688,18 @@ function fh(n, e, t) {
5688
5688
  if (!e?.elements || !Array.isArray(e.elements) || e.elements.length === 0)
5689
5689
  return;
5690
5690
  const i = n.getData(), s = this.table, o = typeof s.options.nestedFieldSeparator == "string" ? s.options.nestedFieldSeparator : void 0, r = n.getValue(), a = e.elements.some((L) => {
5691
- const ge = or({
5691
+ const ge = sr({
5692
5692
  cell: n,
5693
5693
  elementConfig: L,
5694
5694
  rowData: i,
5695
5695
  separator: o
5696
5696
  });
5697
- if (ir({ elementConfig: L, elementValue: ge, rowData: i }))
5697
+ if (tr({ elementConfig: L, elementValue: ge, rowData: i }))
5698
5698
  return !1;
5699
5699
  let Y = ge;
5700
- return L.valueMap && (Y = L.valueMap[String(Y)] ?? Y), !sr(Y);
5700
+ return L.valueMap && (Y = L.valueMap[String(Y)] ?? Y), !ir(Y);
5701
5701
  });
5702
- if (sr(r) && !a && e.placeholder !== void 0)
5702
+ if (ir(r) && !a && e.placeholder !== void 0)
5703
5703
  return ph.call(this, n, e, t);
5704
5704
  const h = n.getRow(), {
5705
5705
  align: c,
@@ -5711,13 +5711,13 @@ function fh(n, e, t) {
5711
5711
  wrap: E
5712
5712
  } = e, y = x`<cx-space class="tabulator-composite" style=${ft(p ?? {})} align-items=${c ?? "center"} ?block=${d} direction=${Z(u)} justify-content=${Z(w)} spacing=${f ?? "3x-small"} wrap=${E ?? "nowrap"}></cx-space>`, k = B(y), D = [];
5713
5713
  return e.elements.forEach((L) => {
5714
- const ge = or({
5714
+ const ge = sr({
5715
5715
  cell: n,
5716
5716
  elementConfig: L,
5717
5717
  rowData: i,
5718
5718
  separator: o
5719
5719
  });
5720
- if (ir({ elementConfig: L, elementValue: ge, rowData: i }))
5720
+ if (tr({ elementConfig: L, elementValue: ge, rowData: i }))
5721
5721
  return;
5722
5722
  let Y = ge;
5723
5723
  L.valueMap && (Y = L.valueMap[String(Y)] ?? Y);
@@ -5803,11 +5803,11 @@ function yh(n, e, t) {
5803
5803
  return i.isDateTime(h) ? d = h : s === "iso" ? d = i.fromISO(String(h)) : d = i.fromFormat(String(h), s), d.isValid ? l ? d.diff(c, a).toHuman() + (r ? " " + r : "") : Number.parseInt(String(d.diff(c, a)[a]), 10) + (r ? " " + r : "") : o === !0 ? h : typeof o == "function" ? o(h) : o;
5804
5804
  }
5805
5805
  }
5806
- function rr(n, e) {
5806
+ function or(n, e) {
5807
5807
  return n == null ? "" : Array.isArray(n) ? n.join(e) : String(n);
5808
5808
  }
5809
5809
  function Ch(n, e) {
5810
- const t = e ?? {}, i = t.arraySeparator ?? ", ", s = (c) => typeof c == "function" ? c(n) : c, o = rr(s(t.newValue) ?? n.getValue(), i), r = rr(s(t.oldValue) ?? "", i), a = $o(r), l = $o(o), h = a && l ? `${a} ${l}` : l || a;
5810
+ const t = e ?? {}, i = t.arraySeparator ?? ", ", s = (c) => typeof c == "function" ? c(n) : c, o = or(s(t.newValue) ?? n.getValue(), i), r = or(s(t.oldValue) ?? "", i), a = Bo(r), l = Bo(o), h = a && l ? `${a} ${l}` : l || a;
5811
5811
  return B(x`<cx-line-clamp lines="1" clamped-tooltip=${h}><cx-diff old-value=${r} new-value=${o}></cx-diff></cx-line-clamp>`);
5812
5812
  }
5813
5813
  function Eh(n, e, t) {
@@ -6067,7 +6067,7 @@ function Vh(n, e, t) {
6067
6067
  }
6068
6068
  return o && (o.style.whiteSpace = "nowrap", o.style.overflow = "hidden", o.style.textOverflow = "ellipsis"), s && s.setAttribute("aria-label", String(i)), a;
6069
6069
  }
6070
- const nr = "cx-table-switch-change", Bh = x`<cx-switch></cx-switch>`;
6070
+ const rr = "cx-table-switch-change", Bh = x`<cx-switch></cx-switch>`;
6071
6071
  function $h(n) {
6072
6072
  const e = Object.prototype.hasOwnProperty.call(n, "onValue") ? n.onValue : !0;
6073
6073
  return { offValue: Object.prototype.hasOwnProperty.call(n, "offValue") ? n.offValue : !1, onValue: e };
@@ -6075,11 +6075,11 @@ function $h(n) {
6075
6075
  function Wh(n, e) {
6076
6076
  const t = n.getTable().element, i = t.getRootNode(), s = i instanceof ShadowRoot ? i.host : null;
6077
6077
  if (s && typeof s.emit == "function") {
6078
- s.emit(nr, { detail: e });
6078
+ s.emit(rr, { detail: e });
6079
6079
  return;
6080
6080
  }
6081
6081
  t.dispatchEvent(
6082
- new CustomEvent(nr, {
6082
+ new CustomEvent(rr, {
6083
6083
  bubbles: !0,
6084
6084
  composed: !0,
6085
6085
  detail: e
@@ -6211,7 +6211,7 @@ function oc(n, e) {
6211
6211
  return;
6212
6212
  const i = e ?? {};
6213
6213
  let s;
6214
- i.getVariant && (s = i.getVariant(t)), !s && i.variantMap && (s = i.variantMap[t]), !s && i.variant && (s = i.variant), s ??= xn.Body1;
6214
+ i.getVariant && (s = i.getVariant(t)), !s && i.variantMap && (s = i.variantMap[t]), !s && i.variant && (s = i.variant), s ??= En.Body1;
6215
6215
  const o = x`<cx-line-clamp lines="1"><cx-typography style=${ft(i.style ?? {})}></cx-typography></cx-line-clamp>`, r = B(o), a = r.querySelector(
6216
6216
  "cx-typography"
6217
6217
  );
@@ -6219,7 +6219,7 @@ function oc(n, e) {
6219
6219
  let l = String(t);
6220
6220
  return i.prefix && (l = i.prefix + l), i.suffix && (l = l + i.suffix), a.textContent = l, r;
6221
6221
  }
6222
- const rn = {
6222
+ const on = {
6223
6223
  adaptable: oh,
6224
6224
  array: rh,
6225
6225
  avatar: nh,
@@ -6253,7 +6253,7 @@ const rn = {
6253
6253
  traffic: sc,
6254
6254
  typography: oc
6255
6255
  };
6256
- ih(rn);
6256
+ ih(on);
6257
6257
  const Dt = class Dt extends I {
6258
6258
  constructor(e) {
6259
6259
  super(e), this.registerColumnOption("formatter"), this.registerColumnOption("formatterParams"), this.registerColumnOption("formatterPrint"), this.registerColumnOption("formatterPrintParams"), this.registerColumnOption("formatterClipboard"), this.registerColumnOption("formatterClipboardParams"), this.registerColumnOption("formatterHtmlOutput"), this.registerColumnOption("formatterHtmlOutputParams"), this.registerColumnOption("titleFormatter"), this.registerColumnOption("titleFormatterParams"), this.registerColumnOption("textFormatParams"), this.registerColumnOption("cellClass"), this.registerColumnOption("cellStyle");
@@ -6356,7 +6356,7 @@ const Dt = class Dt extends I {
6356
6356
  return this.formatValue(e);
6357
6357
  }
6358
6358
  };
6359
- Dt.moduleName = "format", Dt.formatters = rn;
6359
+ Dt.moduleName = "format", Dt.formatters = on;
6360
6360
  let Hi = Dt;
6361
6361
  const ht = process.env.NODE_ENV === "development", rc = x`<cx-option></cx-option>`, nc = x`<cx-divider></cx-divider>`;
6362
6362
  class ac {
@@ -6424,7 +6424,7 @@ class ac {
6424
6424
  if (!e)
6425
6425
  return null;
6426
6426
  let t;
6427
- return typeof e == "string" ? t = Bo(e) : t = e, t && (t.slot = "prefix"), t;
6427
+ return typeof e == "string" ? t = Vo(e) : t = e, t && (t.slot = "prefix"), t;
6428
6428
  }
6429
6429
  _createSelectElement() {
6430
6430
  const {
@@ -6520,7 +6520,7 @@ class ac {
6520
6520
  }
6521
6521
  async _ajaxRequest(e, t) {
6522
6522
  const { ajaxResponse: i, filterRemote: s } = this.params, o = s ? { term: t } : {};
6523
- e = Qr(e, {}, o);
6523
+ e = Zr(e, {}, o);
6524
6524
  let r = [];
6525
6525
  try {
6526
6526
  if (!this.fetchApi)
@@ -6743,7 +6743,7 @@ class ac {
6743
6743
  i && typeof i == "object" && "nodeType" in i && i instanceof HTMLElement ? t.appendChild(i) : t.innerHTML = P(String(i || ""));
6744
6744
  const s = this.params.fallbackOption?.prefix;
6745
6745
  if (e.isFallbackOption && s) {
6746
- const o = Bo(
6746
+ const o = Vo(
6747
6747
  `<div style="display: inline-flex" slot="prefix">${P(s)}</div>`
6748
6748
  );
6749
6749
  o && t.prepend(o);
@@ -7248,7 +7248,7 @@ const lc = function(n, e, t, i, s) {
7248
7248
  textarea: pc,
7249
7249
  tickCross: fc,
7250
7250
  time: gc
7251
- }, Di = process.env.NODE_ENV === "development", nn = "tabulator-edit-list-trigger", wc = "tabulator-edit-list-trigger-caret", vc = x`<button aria-label="Open list editor" class=${nn} tabindex="-1" type="button"><cx-icon aria-hidden="true" class=${wc} name="arrow_drop_down"></cx-icon></button>`, mi = class mi extends I {
7251
+ }, Di = process.env.NODE_ENV === "development", rn = "tabulator-edit-list-trigger", wc = "tabulator-edit-list-trigger-caret", vc = x`<button aria-label="Open list editor" class=${rn} tabindex="-1" type="button"><cx-icon aria-hidden="true" class=${wc} name="arrow_drop_down"></cx-icon></button>`, mi = class mi extends I {
7252
7252
  constructor(e) {
7253
7253
  super(e), this.currentCell = !1, this.mouseClick = !1, this.recursionBlock = !1, this.invalidEdit = !1, this.editedCells = [], this.convertEmptyValues = !1, this.editors = mi.editors, this.registerTableOption("editTriggerEvent", "focus"), this.registerTableOption("editorEmptyValue"), this.registerTableOption(
7254
7254
  "editorEmptyValueFunc",
@@ -7513,7 +7513,7 @@ const lc = function(n, e, t, i, s) {
7513
7513
  if (e.column.definition.editor !== "list")
7514
7514
  return;
7515
7515
  const t = e.getElement(!0);
7516
- if (!t || t.classList.contains("tabulator-editing") || t.querySelector(`.${nn}`))
7516
+ if (!t || t.classList.contains("tabulator-editing") || t.querySelector(`.${rn}`))
7517
7517
  return;
7518
7518
  const i = B(
7519
7519
  vc
@@ -7680,7 +7680,7 @@ class ts {
7680
7680
  this.value = e, this.component = t, this.width = i ?? 1, this.height = s ?? 1, this.depth = o ?? 1;
7681
7681
  }
7682
7682
  }
7683
- class ar {
7683
+ class nr {
7684
7684
  constructor(e, t, i, s) {
7685
7685
  this.type = e, this.columns = t, this.component = i ?? !1, this.indent = s ?? 0;
7686
7686
  }
@@ -7786,7 +7786,7 @@ const Ec = process.env.NODE_ENV === "development", Mt = class Mt extends I {
7786
7786
  );
7787
7787
  } else
7788
7788
  a.push(null);
7789
- }), s.push(new ar("header", a));
7789
+ }), s.push(new nr("header", a));
7790
7790
  }), s;
7791
7791
  }
7792
7792
  bodyToExportRows(e, t = []) {
@@ -7831,7 +7831,7 @@ const Ec = process.env.NODE_ENV === "development", Mt = class Mt extends I {
7831
7831
  break;
7832
7832
  }
7833
7833
  i.push(
7834
- new ar(
7834
+ new nr(
7835
7835
  r.type,
7836
7836
  l,
7837
7837
  r.getComponent(),
@@ -8143,7 +8143,7 @@ const Ec = process.env.NODE_ENV === "development", Mt = class Mt extends I {
8143
8143
  };
8144
8144
  Mt.moduleName = "export", Mt.columnLookups = yc, Mt.rowLookups = Cc;
8145
8145
  let ks = Mt;
8146
- const lr = process.env.NODE_ENV === "development", xc = {
8146
+ const ar = process.env.NODE_ENV === "development", xc = {
8147
8147
  // not equal to
8148
8148
  "!=": function(n, e, t, i) {
8149
8149
  return e != n;
@@ -8174,7 +8174,7 @@ const lr = process.env.NODE_ENV === "development", xc = {
8174
8174
  },
8175
8175
  // in array
8176
8176
  in: function(n, e, t, i) {
8177
- return Array.isArray(n) ? n.length ? n.includes(e) : !0 : (lr && console.warn("Filter Error - filter value is not an array:", n), !1);
8177
+ return Array.isArray(n) ? n.length ? n.includes(e) : !0 : (ar && console.warn("Filter Error - filter value is not an array:", n), !1);
8178
8178
  },
8179
8179
  // contains the keywords
8180
8180
  keywords: function(n, e, t, i) {
@@ -8198,7 +8198,7 @@ const lr = process.env.NODE_ENV === "development", xc = {
8198
8198
  try {
8199
8199
  return typeof n == "string" ? s = new RegExp(n) : s = n, s.test(String(e));
8200
8200
  } catch {
8201
- return lr && console.warn("Filter Error - invalid regular expression:", n), !1;
8201
+ return ar && console.warn("Filter Error - invalid regular expression:", n), !1;
8202
8202
  }
8203
8203
  },
8204
8204
  // starts with the string
@@ -8222,10 +8222,10 @@ function Oe(n) {
8222
8222
  return;
8223
8223
  }
8224
8224
  }
8225
- const an = Symbol("skip-composite-element");
8225
+ const nn = Symbol("skip-composite-element");
8226
8226
  function kc(n, e, t, i, s) {
8227
8227
  if (typeof n?.getValue == "function")
8228
- return an;
8228
+ return nn;
8229
8229
  if (n?.value !== void 0)
8230
8230
  return n.value;
8231
8231
  const o = n?.field;
@@ -8249,7 +8249,7 @@ function Dc(n, e) {
8249
8249
  s,
8250
8250
  o
8251
8251
  );
8252
- if (c === an)
8252
+ if (c === nn)
8253
8253
  continue;
8254
8254
  let d = c;
8255
8255
  const p = h?.valueMap;
@@ -8344,7 +8344,7 @@ function _c(n) {
8344
8344
  return i.negativeSign === !0 ? (y = "(" + y + ")", [h ? y + l : l + y]) : [h ? p + y + l : p + l + y];
8345
8345
  }
8346
8346
  const is = /* @__PURE__ */ new WeakMap();
8347
- function hr(n) {
8347
+ function lr(n) {
8348
8348
  const e = {
8349
8349
  style: n.type ?? "decimal",
8350
8350
  useGrouping: !n.noGrouping
@@ -8363,10 +8363,10 @@ function hr(n) {
8363
8363
  }
8364
8364
  function Oc(n) {
8365
8365
  if (!n || typeof n != "object")
8366
- return Oe(() => new Intl.NumberFormat(void 0, hr({}))) ?? null;
8366
+ return Oe(() => new Intl.NumberFormat(void 0, lr({}))) ?? null;
8367
8367
  if (is.has(n))
8368
8368
  return is.get(n) ?? null;
8369
- const e = Oe(() => new Intl.NumberFormat(void 0, hr(n))) ?? null;
8369
+ const e = Oe(() => new Intl.NumberFormat(void 0, lr(n))) ?? null;
8370
8370
  return is.set(n, e), e;
8371
8371
  }
8372
8372
  function Ac(n) {
@@ -8382,36 +8382,36 @@ function Ac(n) {
8382
8382
  const o = Oe(() => s.format(i));
8383
8383
  return o ? [o] : [];
8384
8384
  }
8385
- function ln(n) {
8385
+ function an(n) {
8386
8386
  return n?.dependencyRegistry?.lookup?.(
8387
8387
  ["luxon", "DateTime"],
8388
8388
  "DateTime"
8389
8389
  );
8390
8390
  }
8391
- function hn(n, e, t) {
8391
+ function ln(n, e, t) {
8392
8392
  return n.isDateTime(e) ? e : t === "iso" ? n.fromISO(String(e)) : n.fromFormat(String(e), t);
8393
8393
  }
8394
8394
  function Oi(n, e) {
8395
8395
  return typeof n == "string" && n.length > 0 && n !== e ? [n] : [];
8396
8396
  }
8397
8397
  function Pc(n) {
8398
- const { formatterParams: e, rawValue: t, table: i } = n, s = ln(i), o = e ?? {}, r = o.invalidPlaceholder ?? "";
8398
+ const { formatterParams: e, rawValue: t, table: i } = n, s = an(i), o = e ?? {}, r = o.invalidPlaceholder ?? "";
8399
8399
  if (!s)
8400
8400
  return [];
8401
- const a = o.inputFormat ?? "yyyy-MM-dd HH:mm:ss", l = o.outputFormat ?? "dd/MM/yyyy HH:mm:ss", h = Oe(() => hn(s, t, a));
8401
+ const a = o.inputFormat ?? "yyyy-MM-dd HH:mm:ss", l = o.outputFormat ?? "dd/MM/yyyy HH:mm:ss", h = Oe(() => ln(s, t, a));
8402
8402
  if (!h?.isValid)
8403
8403
  return Oi(r, t);
8404
8404
  const c = o.timezone ? Oe(() => h.setZone(o.timezone)) ?? h : h, d = Oe(() => c.toFormat(l));
8405
8405
  return d ? [d] : [];
8406
8406
  }
8407
8407
  function Ic(n) {
8408
- const { formatterParams: e, rawValue: t, table: i } = n, s = ln(i), o = e ?? {}, r = o.invalidPlaceholder ?? "";
8408
+ const { formatterParams: e, rawValue: t, table: i } = n, s = an(i), o = e ?? {}, r = o.invalidPlaceholder ?? "";
8409
8409
  if (!s)
8410
8410
  return Oi(r, t);
8411
8411
  const a = o.inputFormat ?? "yyyy-MM-dd HH:mm:ss", l = o.suffix === void 0 || o.suffix === null ? !1 : o.suffix, h = o.unit === void 0 || o.unit === null ? "days" : o.unit, c = o.humanize === void 0 || o.humanize === null ? !1 : o.humanize, d = o.date === void 0 || o.date === null ? Oe(() => s.now()) : o.date;
8412
8412
  if (!d)
8413
8413
  return Oi(r, t);
8414
- const p = Oe(() => hn(s, t, a));
8414
+ const p = Oe(() => ln(s, t, a));
8415
8415
  if (!p?.isValid)
8416
8416
  return Oi(r, t);
8417
8417
  const u = Oe(() => c ? p.diff(d, h).toHuman() + (l ? " " + l : "") : Number.parseInt(String(p.diff(d, h)[h]), 10) + (l ? " " + l : ""));
@@ -8424,21 +8424,21 @@ function Hc(n, e) {
8424
8424
  const i = e?.prefix, s = e?.suffix;
8425
8425
  return typeof i == "string" && i.length > 0 && (t = i + t), typeof s == "string" && s.length > 0 && (t = t + s), t;
8426
8426
  }
8427
- function cn(n) {
8427
+ function hn(n) {
8428
8428
  const { formatterParams: e, rawValue: t } = n, i = Hc(t, e);
8429
8429
  return i === void 0 || i === String(t) ? [] : [i];
8430
8430
  }
8431
8431
  function Nc(n) {
8432
- return cn(n);
8432
+ return hn(n);
8433
8433
  }
8434
- function dn(n) {
8434
+ function cn(n) {
8435
8435
  if (typeof n.rawValue != "string" || !n.rawValue.includes("<"))
8436
8436
  return [];
8437
8437
  const e = Sc(n.rawValue);
8438
8438
  return !e || e === n.rawValue ? [] : [e];
8439
8439
  }
8440
8440
  function Vc(n) {
8441
- return dn(n);
8441
+ return cn(n);
8442
8442
  }
8443
8443
  function Bc(n) {
8444
8444
  const { formatterParams: e, rawValue: t } = n, i = e ?? {}, s = i.indent ?? " ", o = i.replacer ?? null, r = Oe(() => JSON.stringify(t, o, s));
@@ -8485,13 +8485,13 @@ const Wc = {
8485
8485
  array: Fc,
8486
8486
  datetime: Pc,
8487
8487
  datetimediff: Ic,
8488
- html: dn,
8488
+ html: cn,
8489
8489
  json: Bc,
8490
8490
  link: zc,
8491
8491
  lookup: Mc,
8492
8492
  money: _c,
8493
8493
  number: Ac,
8494
- plaintext: cn,
8494
+ plaintext: hn,
8495
8495
  tag: Lc,
8496
8496
  textarea: Vc,
8497
8497
  typography: Nc
@@ -9316,7 +9316,10 @@ const Gc = process.env.NODE_ENV === "development", yo = class yo extends I {
9316
9316
  }
9317
9317
  }
9318
9318
  adjustForScrollbar(e) {
9319
- this.rightColumns.length && this.table.columnManager?.getContentsElement() && (this.table.columnManager.getContentsElement().style.width = "calc(100% - " + e + "px)");
9319
+ this.table.element?.style.setProperty(
9320
+ "--frozen-scrollbar-width",
9321
+ e + "px"
9322
+ ), this.rightColumns.length && this.table.columnManager?.getContentsElement() && (this.table.columnManager.getContentsElement().style.width = "calc(100% - " + e + "px)");
9320
9323
  }
9321
9324
  getFrozenColumns() {
9322
9325
  return this.leftColumns.concat(this.rightColumns);
@@ -9330,7 +9333,7 @@ const Gc = process.env.NODE_ENV === "development", yo = class yo extends I {
9330
9333
  };
9331
9334
  yo.moduleName = "frozenColumns";
9332
9335
  let Ts = yo;
9333
- const cr = process.env.NODE_ENV === "development", Co = class Co extends I {
9336
+ const hr = process.env.NODE_ENV === "development", Co = class Co extends I {
9334
9337
  constructor(e) {
9335
9338
  super(e), this.topElement = document.createElement("div"), this.rows = [], this.registerComponentFunction("row", "freeze", this.freezeRow.bind(this)), this.registerComponentFunction(
9336
9339
  "row",
@@ -9395,11 +9398,11 @@ const cr = process.env.NODE_ENV === "development", Co = class Co extends I {
9395
9398
  }
9396
9399
  freezeRow(e) {
9397
9400
  const t = e._getSelf ? e._getSelf() : e._row;
9398
- t && (t.modules.frozen ? cr && console.warn("Freeze Error - Row is already frozen") : (t.modules.frozen = !0, this.topElement.appendChild(t.getElement()), t.initialize(), t.normalizeHeight(), this.rows.push(t), this.refreshData(!1, "display"), this.table.rowManager?.adjustTableSize(), this.styleRows()));
9401
+ t && (t.modules.frozen ? hr && console.warn("Freeze Error - Row is already frozen") : (t.modules.frozen = !0, this.topElement.appendChild(t.getElement()), t.initialize(), t.normalizeHeight(), this.rows.push(t), this.refreshData(!1, "display"), this.table.rowManager?.adjustTableSize(), this.styleRows()));
9399
9402
  }
9400
9403
  unfreezeRow(e) {
9401
9404
  const t = e._getSelf ? e._getSelf() : e._row;
9402
- t && (t.modules.frozen ? (t.modules.frozen = !1, this.detachRow(t), this.table.rowManager?.adjustTableSize(), this.refreshData(!1, "display"), this.rows.length && this.styleRows()) : cr && console.warn("Freeze Error - Row is already unfrozen"));
9405
+ t && (t.modules.frozen ? (t.modules.frozen = !1, this.detachRow(t), this.table.rowManager?.adjustTableSize(), this.refreshData(!1, "display"), this.rows.length && this.styleRows()) : hr && console.warn("Freeze Error - Row is already unfrozen"));
9403
9406
  }
9404
9407
  detachRow(e) {
9405
9408
  const t = this.rows.indexOf(e);
@@ -9545,7 +9548,7 @@ class Yt {
9545
9548
  this.groups[t] && (delete this.groups[t], i = this.groupList.indexOf(e), i > -1 && this.groupList.splice(i, 1), this.groupList.length || (this.parent ? this.parent.removeGroup(this) : this.groupManager.removeGroup(this)));
9546
9549
  }
9547
9550
  getPathKey() {
9548
- return en(ho(this));
9551
+ return Qr(ho(this));
9549
9552
  }
9550
9553
  getLoadMoreState() {
9551
9554
  return wl(
@@ -9797,7 +9800,7 @@ class Yt {
9797
9800
  }
9798
9801
  // ////////////// Object Generation /////////////////
9799
9802
  getComponent() {
9800
- return this.component ??= new tn(this), this.component;
9803
+ return this.component ??= new en(this), this.component;
9801
9804
  }
9802
9805
  }
9803
9806
  const ss = process.env.NODE_ENV === "development", Eo = class Eo extends I {
@@ -10292,7 +10295,7 @@ const Yc = {
10292
10295
  actions: Qc,
10293
10296
  bindings: ed
10294
10297
  }
10295
- }, dr = process.env.NODE_ENV === "development", dt = class dt extends I {
10298
+ }, cr = process.env.NODE_ENV === "development", dt = class dt extends I {
10296
10299
  constructor(e) {
10297
10300
  super(e), this.history = [], this.index = -1, this.registerTableOption("history", !1);
10298
10301
  }
@@ -10374,7 +10377,7 @@ const Yc = {
10374
10377
  e.component.getComponent(),
10375
10378
  e.data
10376
10379
  ), !0;
10377
- } else dr && console.warn(
10380
+ } else cr && console.warn(
10378
10381
  this.options("history") ? "History Undo Error - No more history to undo" : "History module not enabled"
10379
10382
  );
10380
10383
  return !1;
@@ -10390,7 +10393,7 @@ const Yc = {
10390
10393
  e.component.getComponent(),
10391
10394
  e.data
10392
10395
  ), !0;
10393
- } else dr && console.warn(
10396
+ } else cr && console.warn(
10394
10397
  this.options("history") ? "History Redo Error - No more history to redo" : "History module not enabled"
10395
10398
  );
10396
10399
  return !1;
@@ -10503,9 +10506,9 @@ v5.5.4
10503
10506
  https://github.com/mholt/PapaParse
10504
10507
  License: MIT
10505
10508
  */
10506
- var od = Ai.exports, ur;
10509
+ var od = Ai.exports, dr;
10507
10510
  function rd() {
10508
- return ur || (ur = 1, function(n, e) {
10511
+ return dr || (dr = 1, function(n, e) {
10509
10512
  ((t, i) => {
10510
10513
  n.exports = i();
10511
10514
  })(od, function t() {
@@ -10933,13 +10936,13 @@ async function hd(n) {
10933
10936
  throw ld && console.warn("JSON Import Error - File contents is invalid JSON", e), new Error("Invalid JSON format");
10934
10937
  }
10935
10938
  }
10936
- const pr = process.env.NODE_ENV === "development", cd = function(n) {
10939
+ const ur = process.env.NODE_ENV === "development", cd = function(n) {
10937
10940
  const t = this.dependencyRegistry.lookup("XLSX");
10938
10941
  if (!t)
10939
- return pr && console.warn("XLSX library not found in dependency registry"), [];
10942
+ return ur && console.warn("XLSX library not found in dependency registry"), [];
10940
10943
  const i = t.read(n);
10941
10944
  if (!i.SheetNames || i.SheetNames.length === 0)
10942
- return pr && console.warn("XLSX workbook contains no sheets"), [];
10945
+ return ur && console.warn("XLSX workbook contains no sheets"), [];
10943
10946
  const s = i.Sheets[i.SheetNames[0]];
10944
10947
  return t.utils.sheet_to_json(s, { header: 1 });
10945
10948
  }, dd = {
@@ -12433,7 +12436,7 @@ const To = class To extends I {
12433
12436
  };
12434
12437
  To.moduleName = "page";
12435
12438
  let Ns = To;
12436
- const fr = process.env.NODE_ENV === "development", vd = {
12439
+ const pr = process.env.NODE_ENV === "development", vd = {
12437
12440
  cookie: function(n, e) {
12438
12441
  let t = document.cookie;
12439
12442
  const i = n + "-" + e, s = t.indexOf(i + "=");
@@ -12448,7 +12451,7 @@ const fr = process.env.NODE_ENV === "development", vd = {
12448
12451
  try {
12449
12452
  return JSON.parse(r);
12450
12453
  } catch (a) {
12451
- return fr && console.error("Failed to parse cookie data:", a), !1;
12454
+ return pr && console.error("Failed to parse cookie data:", a), !1;
12452
12455
  }
12453
12456
  },
12454
12457
  local: function(n, e) {
@@ -12458,7 +12461,7 @@ const fr = process.env.NODE_ENV === "development", vd = {
12458
12461
  try {
12459
12462
  return JSON.parse(t);
12460
12463
  } catch (i) {
12461
- return fr && console.error("Failed to parse localStorage data:", i), !1;
12464
+ return pr && console.error("Failed to parse localStorage data:", i), !1;
12462
12465
  }
12463
12466
  }
12464
12467
  }, yd = {
@@ -12800,7 +12803,7 @@ const Do = class Do extends I {
12800
12803
  };
12801
12804
  Do.moduleName = "popup";
12802
12805
  let Bs = Do;
12803
- const mr = process.env.NODE_ENV === "development", Mo = class Mo extends I {
12806
+ const fr = process.env.NODE_ENV === "development", Mo = class Mo extends I {
12804
12807
  constructor(e) {
12805
12808
  super(e), this.element = !1, this.manualBlock = !1, this.beforeprintEventHandler = null, this.afterprintEventHandler = null, this.registerTableOption("printAsHtml", !1), this.registerTableOption("printFormatter", !1), this.registerTableOption("printHeader", !1), this.registerTableOption("printFooter", !1), this.registerTableOption("printStyled", !0), this.registerTableOption("printRowRange", "visible"), this.registerTableOption("printConfig", {}), this.registerColumnOption("print"), this.registerColumnOption("titlePrint");
12806
12809
  }
@@ -12832,7 +12835,7 @@ const mr = process.env.NODE_ENV === "development", Mo = class Mo extends I {
12832
12835
  if (!this.manualBlock) {
12833
12836
  const e = this.table.modules.export;
12834
12837
  if (!e || typeof e.generateTable != "function") {
12835
- mr && console.error(
12838
+ fr && console.error(
12836
12839
  "Print Error - Export module not available, cannot generate print table."
12837
12840
  );
12838
12841
  return;
@@ -12856,7 +12859,7 @@ const mr = process.env.NODE_ENV === "development", Mo = class Mo extends I {
12856
12859
  printFullscreen(e, t, i) {
12857
12860
  const s = window.scrollX, o = window.scrollY, r = document.createElement("div"), a = document.createElement("div"), l = this.table.modules.export;
12858
12861
  if (!l || typeof l.generateTable != "function") {
12859
- mr && console.error(
12862
+ fr && console.error(
12860
12863
  "Print Error - Export module not available, cannot generate print table."
12861
12864
  );
12862
12865
  return;
@@ -13096,7 +13099,7 @@ const Lo = class Lo extends I {
13096
13099
  return typeof e?.clientX == "number" ? e.clientX : e?.touches?.[0] ? e.touches[0].clientX : e?.changedTouches?.[0] ? e.changedTouches[0].clientX : null;
13097
13100
  }
13098
13101
  initializeEventWatchers() {
13099
- this.initialized || (this.subscribe("cell-rendered", this.layoutCellHandles.bind(this)), this.subscribe("cell-delete", this.deInitializeComponent.bind(this)), this.subscribe("cell-height", this.resizeHandle.bind(this)), this.subscribe("column-moved", this.columnLayoutUpdated.bind(this)), this.subscribe("column-hide", this.deInitializeColumn.bind(this)), this.subscribe("column-show", this.columnLayoutUpdated.bind(this)), this.subscribe("column-width", this.columnWidthUpdated.bind(this)), this.subscribe("column-delete", this.deInitializeComponent.bind(this)), this.subscribe("column-height", this.resizeHandle.bind(this)), this.initialized = !0);
13102
+ this.initialized || (this.subscribe("cell-rendered", this.layoutCellHandles.bind(this)), this.subscribe("cell-delete", this.deInitializeComponent.bind(this)), this.subscribe("cell-height", this.resizeHandle.bind(this)), this.subscribe("column-moved", this.columnLayoutUpdated.bind(this)), this.subscribe("column-hide", this.deInitializeColumn.bind(this)), this.subscribe("column-show", this.columnLayoutUpdated.bind(this)), this.subscribe("column-width", this.columnWidthUpdated.bind(this)), this.subscribe("column-delete", this.deInitializeComponent.bind(this)), this.subscribe("column-height", this.resizeHandle.bind(this)), this.subscribe("layout-refreshed", this.repinFrozenHandles.bind(this)), this.subscribe("columns-loaded", this.repinFrozenHandles.bind(this)), this.subscribe("table-layout", this.repinFrozenHandles.bind(this)), this.subscribe("table-redraw", this.repinFrozenHandles.bind(this)), this.initialized = !0);
13100
13103
  }
13101
13104
  layoutCellHandles(e) {
13102
13105
  e.row.type === "row" && e.element && (this.deInitializeComponent(e), this.initializeColumn("cell", e, e.column, e.element));
@@ -13133,24 +13136,62 @@ const Lo = class Lo extends I {
13133
13136
  }
13134
13137
  return !1;
13135
13138
  }
13139
+ pinHandle(e, t, i) {
13140
+ const s = t.modules.frozen;
13141
+ if (typeof s?.marginValue != "number") {
13142
+ e.style.position = "", e.style.left = "", e.style.right = "";
13143
+ return;
13144
+ }
13145
+ const r = (this.table.rtl ? !i : i) ? "right" : "left", a = s.marginValue + t.getWidth() - 3 + "px";
13146
+ e.style.position === "sticky" && e.style[r] === a || (e.style.position = "sticky", e.style[r === "right" ? "left" : "right"] = "", e.style[r] = a);
13147
+ }
13148
+ repinFrozenHandles() {
13149
+ const e = this.table.modules.frozenColumns;
13150
+ if (!e?.active)
13151
+ return;
13152
+ const t = [
13153
+ ...e.leftColumns ?? [],
13154
+ ...e.rightColumns ?? []
13155
+ ].filter((s) => !s.hidden).map((s) => ({ column: s, isPinnedEnd: this.isPinnedEnd(s) }));
13156
+ if (!t.length)
13157
+ return;
13158
+ t.forEach(({ column: s, isPinnedEnd: o }) => {
13159
+ s.modules.resize?.handleEl && this.pinHandle(s.modules.resize.handleEl, s, o);
13160
+ }), (this.table.rowManager?.getVisibleRows(!0) ?? []).forEach((s) => {
13161
+ s.type === "row" && t.forEach(({ column: o, isPinnedEnd: r }) => {
13162
+ const a = s.getCell(o);
13163
+ a && a.modules.resize?.handleEl && this.pinHandle(a.modules.resize.handleEl, o, r);
13164
+ });
13165
+ });
13166
+ }
13136
13167
  /**
13137
13168
  * The in-flow handle goes right after the element it resizes — except for an end-pinned column,
13138
13169
  * whose right edge is the table edge: its handle goes before the element, onto the freeze
13139
13170
  * divider (drag deltas invert to match, see `resize`). Callers resolve `isPinnedEnd` once.
13140
13171
  */
13141
- attachHandle(e, t, i) {
13142
- i ? (t.classList.add("tabulator-col-resize-handle-pinned-end"), e.before(t)) : (t.classList.remove("tabulator-col-resize-handle-pinned-end"), e.after(t));
13172
+ attachHandle(e, t, i, s) {
13173
+ s ? (t.classList.add("tabulator-col-resize-handle-pinned-end"), e.before(t)) : (t.classList.remove("tabulator-col-resize-handle-pinned-end"), e.after(t)), this.pinHandle(t, i, s);
13143
13174
  }
13144
13175
  /**
13145
- * Re-inserts handles next to the element they resize. Upstream wrote `left`/`right` insets here
13146
- * for frozen columns, which added to the flow position and pushed handles a column width off;
13147
- * frozen handles travel via `table-frozen.styles.ts` instead (which also owns their z-index).
13176
+ * Re-inserts handles next to the element they resize and re-pins the frozen ones. Runs off
13177
+ * `column-width`, which `FrozenColumns` subscribes to first (in `initialize()`, whereas this
13178
+ * module subscribes lazily from `column-rendered`), so the margins read here are already current.
13148
13179
  */
13149
13180
  reinitializeColumn(e) {
13150
13181
  const t = this.isPinnedEnd(e);
13151
13182
  e.cells.forEach((i) => {
13152
- i.modules.resize && i.modules.resize.handleEl && i.element && this.attachHandle(i.element, i.modules.resize.handleEl, t);
13153
- }), e.modules.resize && e.modules.resize.handleEl && e.element && this.attachHandle(e.element, e.modules.resize.handleEl, t);
13183
+ i.modules.resize && i.modules.resize.handleEl && i.element && this.attachHandle(
13184
+ i.element,
13185
+ i.modules.resize.handleEl,
13186
+ e,
13187
+ t
13188
+ );
13189
+ }), e.modules.resize && e.modules.resize.handleEl && e.element && this.attachHandle(
13190
+ e.element,
13191
+ e.modules.resize.handleEl,
13192
+ e,
13193
+ t
13194
+ );
13154
13195
  }
13155
13196
  initializeColumn(e, t, i, s) {
13156
13197
  let o = !1;
@@ -13170,7 +13211,12 @@ const Lo = class Lo extends I {
13170
13211
  c.addEventListener("mousedown", d), c.addEventListener("touchstart", d, { passive: !0 }), c.addEventListener("dblclick", async (p) => {
13171
13212
  const u = l.getWidth();
13172
13213
  p.stopPropagation(), await l.reinitializeWidth(!0), u !== l.getWidth() && (this.dispatch("column-resized", l), this.dispatchExternal("columnResized", l.getComponent()));
13173
- }), a.handleEl = c, s.parentNode && !i.hidden && this.attachHandle(s, c, this.isPinnedEnd(l));
13214
+ }), a.handleEl = c, s.parentNode && !i.hidden && this.attachHandle(
13215
+ s,
13216
+ c,
13217
+ l,
13218
+ this.isPinnedEnd(l)
13219
+ );
13174
13220
  }
13175
13221
  t.modules.resize = a;
13176
13222
  }
@@ -13610,7 +13656,7 @@ const Sd = {
13610
13656
  rowSelection: Rd
13611
13657
  }
13612
13658
  }
13613
- }, gr = process.env.NODE_ENV === "development", $i = class $i extends I {
13659
+ }, mr = process.env.NODE_ENV === "development", $i = class $i extends I {
13614
13660
  // hold header select element (cx-checkbox)
13615
13661
  constructor(e) {
13616
13662
  super(e), this.selecting = !1, this.lastClickedRow = !1, this.selectPrev = [], this.selectedRows = [], this.headerCheckboxElement = null, this.registerTableOption("selectableRows", "highlight"), this.registerTableOption("selectableRowsRangeMode", "drag"), this.registerTableOption("selectableRowsRollingSelection", !0), this.registerTableOption("selectableRowsPersistence", !0), this.registerTableOption(
@@ -13747,7 +13793,7 @@ const Sd = {
13747
13793
  if (o) {
13748
13794
  if (this.selectedRows.indexOf(o) === -1)
13749
13795
  return o.getElement().classList.add("tabulator-selected"), o.modules.select || (o.modules.select = {}), o.modules.select.selected = !0, o.modules.select.checkboxEl && (o.modules.select.checkboxEl.checked = !0), this.selectedRows.push(o), this.table.options.dataTreeSelectPropagate && this.childRowSelection(o, !0), this.dispatchExternal("rowSelected", o.getComponent()), this._rowSelectionChanged(t, [o], []), o;
13750
- } else !t && gr && console.warn(
13796
+ } else !t && mr && console.warn(
13751
13797
  "Selection Error - No such row found, ignoring selection:" + e
13752
13798
  );
13753
13799
  return !1;
@@ -13784,7 +13830,7 @@ const Sd = {
13784
13830
  if (i) {
13785
13831
  if (s = this.selectedRows.findIndex((r) => r === i), s > -1)
13786
13832
  return o = i.getElement(), o && o.classList.remove("tabulator-selected"), i.modules.select || (i.modules.select = {}), i.modules.select.selected = !1, i.modules.select.checkboxEl && (i.modules.select.checkboxEl.checked = !1), this.selectedRows.splice(s, 1), this.table.options.dataTreeSelectPropagate && this.childRowSelection(i, !1), this.dispatchExternal("rowDeselected", i.getComponent()), this._rowSelectionChanged(t, [], [i]), i;
13787
- } else !t && gr && console.warn(
13833
+ } else !t && mr && console.warn(
13788
13834
  "Deselection Error - No such row found, ignoring selection:" + e
13789
13835
  );
13790
13836
  return !1;
@@ -14014,7 +14060,7 @@ class Od {
14014
14060
  this._range.destroyedGuard("remove") && this._range.destroy(!0);
14015
14061
  }
14016
14062
  }
14017
- const br = process.env.NODE_ENV === "development";
14063
+ const gr = process.env.NODE_ENV === "development";
14018
14064
  class Ad extends Me {
14019
14065
  constructor(e, t, i, s) {
14020
14066
  super(e), this.rangeManager = t, this.element = null, this.initialized = !1, this.initializing = {
@@ -14145,7 +14191,7 @@ class Ad extends Me {
14145
14191
  end: null,
14146
14192
  start: null
14147
14193
  };
14148
- return t.length ? (i.start = t[0], i.end = t.at(-1)) : br && console.warn("No bounds defined on range"), i;
14194
+ return t.length ? (i.start = t[0], i.end = t.at(-1)) : gr && console.warn("No bounds defined on range"), i;
14149
14195
  }
14150
14196
  getComponent() {
14151
14197
  return this.component ??= new Od(this), this.component;
@@ -14154,7 +14200,7 @@ class Ad extends Me {
14154
14200
  this.destroyed = !0, this.element && this.element.remove(), e && this.rangeManager.rangeRemoved(this), this.initialized && this.dispatchExternal("rangeRemoved", this.getComponent());
14155
14201
  }
14156
14202
  destroyedGuard(e) {
14157
- return this.destroyed && br && console.warn(
14203
+ return this.destroyed && gr && console.warn(
14158
14204
  "You cannot call the " + e + " function on a destroyed range"
14159
14205
  ), !this.destroyed;
14160
14206
  }
@@ -14883,7 +14929,7 @@ const Ud = {
14883
14929
  number: Wd,
14884
14930
  string: jd,
14885
14931
  time: Gd
14886
- }, wr = process.env.NODE_ENV === "development", Kd = {
14932
+ }, br = process.env.NODE_ENV === "development", Kd = {
14887
14933
  asc: "ascending",
14888
14934
  desc: "descending",
14889
14935
  none: "none"
@@ -14922,7 +14968,7 @@ const Ud = {
14922
14968
  let t = !1, i, s;
14923
14969
  switch (typeof e.definition.sorter) {
14924
14970
  case "string":
14925
- e.definition.sorter && Gt.sorters[e.definition.sorter] ? t = Gt.sorters[e.definition.sorter] : wr && console.warn(
14971
+ e.definition.sorter && Gt.sorters[e.definition.sorter] ? t = Gt.sorters[e.definition.sorter] : br && console.warn(
14926
14972
  "Sort Error - No such sorter found: ",
14927
14973
  e.definition.sorter
14928
14974
  );
@@ -15026,7 +15072,7 @@ const Ud = {
15026
15072
  column: o,
15027
15073
  dir: a
15028
15074
  }), this.changed = !0;
15029
- } else wr && console.warn(
15075
+ } else br && console.warn(
15030
15076
  "Sort Warning - Sort field does not exist and is being ignored: ",
15031
15077
  s.column
15032
15078
  );
@@ -15175,7 +15221,7 @@ class qd {
15175
15221
  this.columnCount = e;
15176
15222
  }
15177
15223
  }
15178
- class un {
15224
+ class dn {
15179
15225
  constructor(e) {
15180
15226
  return this._sheet = e, new Proxy(this, {
15181
15227
  get: function(t, i) {
@@ -15224,7 +15270,7 @@ class un {
15224
15270
  return this._sheet.setColumns(e);
15225
15271
  }
15226
15272
  }
15227
- class vr extends Me {
15273
+ class wr extends Me {
15228
15274
  constructor(e, t) {
15229
15275
  super(e.table), this.spreadsheetManager = e, this.definition = t, this.title = this.definition.title || "", this.key = this.definition.key || this.definition.title || "", this.rowCount = this.definition.rows, this.columnCount = this.definition.columns, this.data = this.definition.data || [], this.element = null, this.isActive = !1, this.grid = new qd(this.columnCount, this.rowCount), this.defaultColumnDefinition = {
15230
15276
  headerHozAlign: "center",
@@ -15281,7 +15327,7 @@ class vr extends Me {
15281
15327
  }
15282
15328
  // #region Helper Functions
15283
15329
  getComponent() {
15284
- return new un(this);
15330
+ return new dn(this);
15285
15331
  }
15286
15332
  getDefinition() {
15287
15333
  return {
@@ -15418,7 +15464,7 @@ Data: `,
15418
15464
  columns: this.options("spreadsheetColumns") || 50,
15419
15465
  rows: this.options("spreadsheetRows") || 50,
15420
15466
  ...e
15421
- }, i = new vr(this, t);
15467
+ }, i = new wr(this, t);
15422
15468
  return this.sheets.push(i), this.element && i.element && this.element.appendChild(i.element), i;
15423
15469
  }
15424
15470
  removeSheet(e) {
@@ -15427,7 +15473,7 @@ Data: `,
15427
15473
  this.sheets.length > 1 ? t > -1 && (this.sheets.splice(t, 1), e.destroy(), this.activeSheet === e && (i = this.sheets[t - 1] || this.sheets[0], i ? this.loadSheet(i) : this.activeSheet = null)) : Rt && console.warn("Unable to remove sheet, at least one sheet must be active");
15428
15474
  }
15429
15475
  lookupSheet(e) {
15430
- return e ? e instanceof vr ? e : e instanceof un ? e._sheet : this.sheets.find((t) => t.key === e) ?? null : this.activeSheet;
15476
+ return e ? e instanceof wr ? e : e instanceof dn ? e._sheet : this.sheets.find((t) => t.key === e) ?? null : this.activeSheet;
15431
15477
  }
15432
15478
  /**
15433
15479
  * Public Functions
@@ -15544,7 +15590,7 @@ let Ys = Ao;
15544
15590
  function Re(n) {
15545
15591
  return n === "" || n === null || n === void 0;
15546
15592
  }
15547
- function yr(n) {
15593
+ function vr(n) {
15548
15594
  return Number.isFinite(Number(n));
15549
15595
  }
15550
15596
  function os(n, e) {
@@ -15591,7 +15637,7 @@ function Zd(n, e) {
15591
15637
  const h = new Date(i, s - 1, o, r, a, l);
15592
15638
  return h.getFullYear() === i && h.getMonth() === s - 1 && h.getDate() === o;
15593
15639
  }
15594
- const pn = {
15640
+ const un = {
15595
15641
  // must be alphanumeric
15596
15642
  alphanumeric(n) {
15597
15643
  return Re(n) ? !0 : /^[a-z0-9]+$/i.test(String(n));
@@ -15633,7 +15679,7 @@ const pn = {
15633
15679
  if (Re(n))
15634
15680
  return !0;
15635
15681
  const t = Number(n);
15636
- return yr(n) && t % 1 !== 0 && os(n, e);
15682
+ return vr(n) && t % 1 !== 0 && os(n, e);
15637
15683
  },
15638
15684
  // in provided value list
15639
15685
  in(n, e) {
@@ -15647,7 +15693,7 @@ const pn = {
15647
15693
  if (Re(n))
15648
15694
  return !0;
15649
15695
  const t = Number(n);
15650
- return yr(n) && Math.floor(t) === t && os(n, e);
15696
+ return vr(n) && Math.floor(t) === t && os(n, e);
15651
15697
  },
15652
15698
  // maximum value (legacy standalone rule; prefer numeric/integer { max })
15653
15699
  max(n, e) {
@@ -15709,7 +15755,7 @@ const pn = {
15709
15755
  };
15710
15756
  function ze(n) {
15711
15757
  return function(e, t, i) {
15712
- return pn[n](t, i);
15758
+ return un[n](t, i);
15713
15759
  };
15714
15760
  }
15715
15761
  const Qd = {
@@ -15736,7 +15782,7 @@ const Qd = {
15736
15782
  return this.table.rowManager?.rows.forEach((r) => {
15737
15783
  const a = r.getData();
15738
15784
  a !== i && o.push(s.getFieldValue(a));
15739
- }), pn.unique(e, t, { columnValues: o });
15785
+ }), un.unique(e, t, { columnValues: o });
15740
15786
  }
15741
15787
  };
15742
15788
  function eu(n) {
@@ -15750,7 +15796,7 @@ function eu(n) {
15750
15796
  const tu = "cx-validation-request", iu = "cx-validation-response";
15751
15797
  let St, su = 0;
15752
15798
  const xi = /* @__PURE__ */ new Map();
15753
- function Cr() {
15799
+ function yr() {
15754
15800
  xi.forEach(
15755
15801
  (n) => n.reject(new Error("Validation worker failed"))
15756
15802
  ), xi.clear(), St?.terminate(), St = void 0;
@@ -15761,9 +15807,9 @@ function ou() {
15761
15807
  return;
15762
15808
  const { done: e, id: t, results: i } = n.data.payload, s = xi.get(t);
15763
15809
  s && (s.accumulatedResults.push(...i), s.onChunk?.(i), e && (xi.delete(t), s.resolve(s.accumulatedResults)));
15764
- }), St.addEventListener("error", Cr), St.addEventListener("messageerror", Cr)), St;
15810
+ }), St.addEventListener("error", yr), St.addEventListener("messageerror", yr)), St;
15765
15811
  }
15766
- function fn(n, e) {
15812
+ function pn(n, e) {
15767
15813
  return new Promise((t, i) => {
15768
15814
  let s;
15769
15815
  try {
@@ -15781,9 +15827,9 @@ function fn(n, e) {
15781
15827
  }), s.postMessage({ payload: { fields: n, id: o }, type: tu });
15782
15828
  });
15783
15829
  }
15784
- const Er = process.env.NODE_ENV === "development", xr = 2e3, Rr = 1e3, Zt = "data-validation-message", wi = class wi extends I {
15830
+ const Cr = process.env.NODE_ENV === "development", Er = 2e3, xr = 1e3, Zt = "data-validation-message", wi = class wi extends I {
15785
15831
  constructor(e) {
15786
- super(e), this.invalidState = /* @__PURE__ */ new Map(), this.mutateOnValidateColumns = /* @__PURE__ */ new Set(), this.validationGeneration = 0, this.suppressValidationChanged = !1, this.registerTableOption("validationMode", "blocking"), this.registerTableOption("validateOnLoad", !1), this.registerTableOption("validationWorkerThreshold", xr), this.registerColumnOption("validator"), this.registerColumnOption("mutateOnValidate"), this.registerTableFunction(
15832
+ super(e), this.invalidState = /* @__PURE__ */ new Map(), this.mutateOnValidateColumns = /* @__PURE__ */ new Set(), this.validationGeneration = 0, this.suppressValidationChanged = !1, this.registerTableOption("validationMode", "blocking"), this.registerTableOption("validateOnLoad", !1), this.registerTableOption("validationWorkerThreshold", Er), this.registerColumnOption("validator"), this.registerColumnOption("mutateOnValidate"), this.registerTableFunction(
15787
15833
  "getInvalidCells",
15788
15834
  this.getInvalidCells.bind(this)
15789
15835
  ), this.registerTableFunction(
@@ -15883,7 +15929,7 @@ const Er = process.env.NODE_ENV === "development", xr = 2e3, Rr = 1e3, Zt = "dat
15883
15929
  this.validationGeneration++;
15884
15930
  const e = this.invalidState.size > 0;
15885
15931
  this.invalidState.clear(), this.table.options.validateOnLoad ? this.validateAsync().catch((t) => {
15886
- Er && console.warn("Validate-on-load failed:", t);
15932
+ Cr && console.warn("Validate-on-load failed:", t);
15887
15933
  }) : e && this.dispatchValidationChanged();
15888
15934
  }
15889
15935
  // /////////////////////////////////
@@ -15947,7 +15993,7 @@ const Er = process.env.NODE_ENV === "development", xr = 2e3, Rr = 1e3, Zt = "dat
15947
15993
  * chunks). Superseded runs (new validation or data reload) are discarded.
15948
15994
  */
15949
15995
  async validateAsync() {
15950
- const e = ++this.validationGeneration, t = this.table.rowManager ? [...this.table.rowManager.rows] : [], i = this.table.options.validationWorkerThreshold ?? xr;
15996
+ const e = ++this.validationGeneration, t = this.table.rowManager ? [...this.table.rowManager.rows] : [], i = this.table.options.validationWorkerThreshold ?? Er;
15951
15997
  if (this.runSuppressed(() => {
15952
15998
  this.invalidCells.forEach((a) => this.clearValidation(a));
15953
15999
  }), this.invalidState.clear(), i === !1 || t.length <= i)
@@ -16009,7 +16055,7 @@ const Er = process.env.NODE_ENV === "development", xr = 2e3, Rr = 1e3, Zt = "dat
16009
16055
  message: i,
16010
16056
  params: t,
16011
16057
  type: typeof e == "function" ? "function" : e
16012
- } : (Er && console.warn(
16058
+ } : (Cr && console.warn(
16013
16059
  "Validator Setup Error - No matching validator found:",
16014
16060
  e
16015
16061
  ), !1);
@@ -16087,7 +16133,7 @@ const Er = process.env.NODE_ENV === "development", xr = 2e3, Rr = 1e3, Zt = "dat
16087
16133
  })),
16088
16134
  values: t.map((r) => o.getFieldValue(r.data))
16089
16135
  }));
16090
- await fn(s, (o) => {
16136
+ await pn(s, (o) => {
16091
16137
  i === this.validationGeneration && this.applyWorkerResults(o, t, e);
16092
16138
  });
16093
16139
  }
@@ -16110,10 +16156,10 @@ const Er = process.env.NODE_ENV === "development", xr = 2e3, Rr = 1e3, Zt = "dat
16110
16156
  * responsive.
16111
16157
  */
16112
16158
  async validateColumnsOnMainThread(e, t, i) {
16113
- for (let s = 0; s < t.length && e.length; s += Rr) {
16159
+ for (let s = 0; s < t.length && e.length; s += xr) {
16114
16160
  if (i !== this.validationGeneration)
16115
16161
  return;
16116
- const o = Math.min(s + Rr, t.length);
16162
+ const o = Math.min(s + xr, t.length);
16117
16163
  this.runSuppressed(() => {
16118
16164
  for (let r = s; r < o; r++) {
16119
16165
  const a = t[r];
@@ -16534,7 +16580,7 @@ class nu extends Ji {
16534
16580
  }
16535
16581
  }
16536
16582
  const au = process.env.NODE_ENV === "development";
16537
- class mn {
16583
+ class fn {
16538
16584
  constructor(e, t, i = {}) {
16539
16585
  this.registeredDefaults = {}, this.table = e, this.msgType = t, this.registeredDefaults = { ...i };
16540
16586
  }
@@ -16551,13 +16597,13 @@ class mn {
16551
16597
  return i;
16552
16598
  }
16553
16599
  }
16554
- const Sr = process.env.NODE_ENV === "development";
16600
+ const Rr = process.env.NODE_ENV === "development";
16555
16601
  class lu extends Me {
16556
16602
  constructor(e) {
16557
- super(e), this.blockHozScrollEvent = !1, this.headersElement = null, this.contentsElement = null, this.rowHeader = null, this.columns = [], this.columnsByIndex = [], this.columnsByField = {}, this.scrollLeft = 0, this.optionsList = new mn(
16603
+ super(e), this.blockHozScrollEvent = !1, this.headersElement = null, this.contentsElement = null, this.rowHeader = null, this.columns = [], this.columnsByIndex = [], this.columnsByField = {}, this.scrollLeft = 0, this.optionsList = new fn(
16558
16604
  this.table,
16559
16605
  "column definition",
16560
- sn
16606
+ tn
16561
16607
  ), this.redrawBlock = !1, this.redrawBlockUpdate = null, this.renderer = null;
16562
16608
  }
16563
16609
  // //////////// Setup Functions /////////////////
@@ -16584,7 +16630,7 @@ class lu extends Me {
16584
16630
  basic: ru,
16585
16631
  virtual: nu
16586
16632
  };
16587
- typeof this.table.options.renderHorizontal == "string" ? e = t[this.table.options.renderHorizontal] : e = this.table.options.renderHorizontal, e ? (this.renderer = new e(this.table), this.renderer.initialize()) : Sr && console.error(
16633
+ typeof this.table.options.renderHorizontal == "string" ? e = t[this.table.options.renderHorizontal] : e = this.table.options.renderHorizontal, e ? (this.renderer = new e(this.table), this.renderer.initialize()) : Rr && console.error(
16588
16634
  "Unable to find matching renderer:",
16589
16635
  this.table.options.renderHorizontal
16590
16636
  );
@@ -16861,7 +16907,7 @@ class lu extends Me {
16861
16907
  return;
16862
16908
  }
16863
16909
  if (e.hidden)
16864
- Sr && console.warn("Scroll Error - Column not visible"), o("Scroll Error - Column not visible");
16910
+ Rr && console.warn("Scroll Error - Column not visible"), o("Scroll Error - Column not visible");
16865
16911
  else {
16866
16912
  let r = 0;
16867
16913
  const a = e.getLeftOffset();
@@ -17401,10 +17447,23 @@ class fu extends Me {
17401
17447
  this.initializePlaceholder(), this.initializeRenderer(), this.element.appendChild(this.tableElement), this.firstRender = !0, this.element.addEventListener("scroll", () => {
17402
17448
  const e = this.element.scrollLeft, t = this.scrollLeft > e, i = this.element.scrollTop, s = this.scrollTop > i;
17403
17449
  this.scrollLeft != e && (this.scrollLeft = e, this.dispatch("scroll-horizontal", e, t), this.dispatchExternal("scrollHorizontal", e, t), this._positionPlaceholder()), this.scrollTop != i && (this.scrollTop = i, this.renderer?.scrollRows(i, s), this.dispatch("scroll-vertical", i, s), this.dispatchExternal("scrollVertical", i, s));
17404
- }), this.subscribe("table-initialized", () => {
17450
+ }), this.initializeWheelWatcher(), this.subscribe("table-initialized", () => {
17405
17451
  this.table.destroyed || this.syncPlaceholderInitializationState();
17406
17452
  }), this.subscribe("column-show", this.checkPlaceholder.bind(this)), this.subscribe("column-hide", this.checkPlaceholder.bind(this)), this.subscribe("columns-loaded", this.checkPlaceholder.bind(this)), this.subscribe("table-destroy", this.disconnectHeaderWidthObserver.bind(this));
17407
17453
  }
17454
+ initializeWheelWatcher() {
17455
+ this.element.addEventListener(
17456
+ "wheel",
17457
+ (e) => {
17458
+ const t = e.deltaMode === WheelEvent.DOM_DELTA_LINE ? 40 : 1, i = (e.deltaX || (e.shiftKey ? e.deltaY : 0)) * t;
17459
+ if (!i || e.ctrlKey)
17460
+ return;
17461
+ const s = this.element.scrollLeft;
17462
+ this.element.scrollLeft = s + i, this.element.scrollLeft !== s && (e.preventDefault(), !e.shiftKey && e.deltaY && (this.element.scrollTop += e.deltaY * t));
17463
+ },
17464
+ { passive: !1 }
17465
+ );
17466
+ }
17408
17467
  /**
17409
17468
  * IRow Manipulation
17410
17469
  */
@@ -17963,13 +18022,13 @@ class mu extends Me {
17963
18022
  this.dispatch("alert-hide", this.type), this.element.parentNode && this.element.parentNode.removeChild(this.element), this.element.classList.remove(this._typeClass()), this.msgElement.classList.remove(this._typeClass()), this.type = null;
17964
18023
  }
17965
18024
  }
17966
- const kr = process.env.NODE_ENV === "development";
18025
+ const Sr = process.env.NODE_ENV === "development";
17967
18026
  class gu {
17968
18027
  constructor(e) {
17969
18028
  this.bindings = {}, this.table = e;
17970
18029
  }
17971
18030
  bind(e, t, i) {
17972
- this.bindings[e] || (this.bindings[e] = {}), this.bindings[e][t] ? kr && console.warn(
18031
+ this.bindings[e] || (this.bindings[e] = {}), this.bindings[e][t] ? Sr && console.warn(
17973
18032
  "Unable to bind component handler, a matching function name is already bound",
17974
18033
  e,
17975
18034
  t,
@@ -17980,7 +18039,7 @@ class gu {
17980
18039
  if (typeof i == "string") {
17981
18040
  if (this.bindings[e]?.[i] && typeof this.bindings[e][i].bind == "function")
17982
18041
  return this.bindings[e][i].bind(null, t);
17983
- kr && i !== "then" && !i.startsWith("_") && this.table.options.debugInvalidComponentFuncs && console.error(
18042
+ Sr && i !== "then" && !i.startsWith("_") && this.table.options.debugInvalidComponentFuncs && console.error(
17984
18043
  "The " + e + " component does not have a " + i + " function, have you checked that you have the correct Tabulator module installed?"
17985
18044
  );
17986
18045
  }
@@ -18570,7 +18629,7 @@ function Su(n) {
18570
18629
  async function ku(n, e) {
18571
18630
  e && this.table.columnManager?.renderer && await this.table.columnManager.renderer.reinitializeColumnWidths(n), this.table.options.responsiveLayout && this.table.modExists("responsiveLayout", !0) && this.table.modules.responsiveLayout.update();
18572
18631
  }
18573
- async function Tr(n) {
18632
+ async function kr(n) {
18574
18633
  for (const e of n)
18575
18634
  await e.reinitializeWidth();
18576
18635
  this.table.options.responsiveLayout && this.table.modExists("responsiveLayout", !0) && this.table.modules.responsiveLayout.update();
@@ -18591,9 +18650,9 @@ async function Tu(n) {
18591
18650
  const Du = {
18592
18651
  fitColumns: Su,
18593
18652
  fitData: ku,
18594
- fitDataFill: Tr,
18653
+ fitDataFill: kr,
18595
18654
  fitDataStretch: Tu,
18596
- fitDataTable: Tr
18655
+ fitDataTable: kr
18597
18656
  }, Mu = process.env.NODE_ENV === "development", Ut = class Ut extends I {
18598
18657
  constructor(e) {
18599
18658
  super(e), this.mode = null, this.registerTableOption("layout", "fitData"), this.registerTableOption("layoutColumnsOnNewData", !1), this.registerColumnOption("widthGrow"), this.registerColumnOption("widthShrink");
@@ -18663,7 +18722,7 @@ const Fu = {
18663
18722
  prev_title: "Prev Page"
18664
18723
  }
18665
18724
  }
18666
- }, Dr = process.env.NODE_ENV === "development", vi = class vi extends I {
18725
+ }, Tr = process.env.NODE_ENV === "development", vi = class vi extends I {
18667
18726
  constructor(e) {
18668
18727
  super(e), this.locale = "default", this.lang = !1, this.bindings = {}, this.langList = {}, this.registerTableOption("locale", !1), this.registerTableOption("langs", {});
18669
18728
  }
@@ -18697,11 +18756,11 @@ const Fu = {
18697
18756
  };
18698
18757
  if (t && !this.langList[t]) {
18699
18758
  const s = t.split("-")[0];
18700
- this.langList[s] ? (Dr && console.warn(
18759
+ this.langList[s] ? (Tr && console.warn(
18701
18760
  "Localization Error - Exact matching locale not found, using closest match: ",
18702
18761
  t,
18703
18762
  s
18704
- ), t = s) : (Dr && console.warn(
18763
+ ), t = s) : (Tr && console.warn(
18705
18764
  "Localization Error - Matching locale not found, using default: ",
18706
18765
  t
18707
18766
  ), t = "default");
@@ -18745,7 +18804,7 @@ const Fu = {
18745
18804
  };
18746
18805
  vi.moduleName = "localize", vi.langs = Fu;
18747
18806
  let to = vi;
18748
- const Mr = process.env.NODE_ENV === "development", Po = class Po extends I {
18807
+ const Dr = process.env.NODE_ENV === "development", Po = class Po extends I {
18749
18808
  constructor(e) {
18750
18809
  super(e);
18751
18810
  }
@@ -18762,7 +18821,7 @@ const Mr = process.env.NODE_ENV === "development", Po = class Po extends I {
18762
18821
  const o = this.getConnections(e);
18763
18822
  o.forEach((r) => {
18764
18823
  r.tableComms(this.table.element, t, i, s);
18765
- }), !o.length && e && Mr && console.warn(
18824
+ }), !o.length && e && Dr && console.warn(
18766
18825
  "Table Connection Error - No tables matching selector found",
18767
18826
  e
18768
18827
  );
@@ -18770,7 +18829,7 @@ const Mr = process.env.NODE_ENV === "development", Po = class Po extends I {
18770
18829
  receive(e, t, i, s) {
18771
18830
  if (this.table.modExists(t))
18772
18831
  return this.table.modules[t]?.commsReceived?.(e, i, s);
18773
- Mr && console.warn("Inter-table Comms Error - no such module:", t);
18832
+ Dr && console.warn("Inter-table Comms Error - no such module:", t);
18774
18833
  }
18775
18834
  };
18776
18835
  Po.moduleName = "comms";
@@ -18908,7 +18967,7 @@ const le = process.env.NODE_ENV === "development", yt = class yt extends oo {
18908
18967
  yt.initializeModuleBinder(), yt._registerModule(...e);
18909
18968
  }
18910
18969
  constructor(e, t, i) {
18911
- super(), yt.initializeModuleBinder(i), this.options = {}, this.columnManager = null, this.rowManager = null, this.footerManager = null, this.alertManager = null, this.vdomHoz = null, this.externalEvents = null, this.eventBus = null, this.interactionMonitor = !1, this.browser = "", this.browserSlow = !1, this.browserMobile = !1, this.rtl = !1, this.originalElement = null, this.componentFunctionBinder = new gu(this), this.dataLoader = null, this.modules = {}, this.modulesCore = [], this.modulesRegular = [], this.deprecationAdvisor = new yu(this), this.optionsList = new mn(this, "table constructor"), this.dependencyRegistry = new wu(this), this.initialized = !1, this.destroyed = !1, this.initializeElement(e) && (this.initializeCoreSystems(t), setTimeout(() => {
18970
+ super(), yt.initializeModuleBinder(i), this.options = {}, this.columnManager = null, this.rowManager = null, this.footerManager = null, this.alertManager = null, this.vdomHoz = null, this.externalEvents = null, this.eventBus = null, this.interactionMonitor = !1, this.browser = "", this.browserSlow = !1, this.browserMobile = !1, this.rtl = !1, this.originalElement = null, this.componentFunctionBinder = new gu(this), this.dataLoader = null, this.modules = {}, this.modulesCore = [], this.modulesRegular = [], this.deprecationAdvisor = new yu(this), this.optionsList = new fn(this, "table constructor"), this.dependencyRegistry = new wu(this), this.initialized = !1, this.destroyed = !1, this.initializeElement(e) && (this.initializeCoreSystems(t), setTimeout(() => {
18912
18971
  this._create();
18913
18972
  })), this.constructor.registry.register(this);
18914
18973
  }
@@ -19313,7 +19372,7 @@ class _u extends Lt {
19313
19372
  // #endregion
19314
19373
  }
19315
19374
  var _t = /* @__PURE__ */ ((n) => (n.Multiple = "multiple", n.Single = "single", n))(_t || {}), rt = /* @__PURE__ */ ((n) => (n.Checkbox = "checkbox", n.DatePicker = "date-picker", n.DateRange = "date-range", n))(rt || {}), Pi = /* @__PURE__ */ ((n) => (n.Checkbox = "checkbox", n.DatePicker = "datePicker", n.DateRangePicker = "dateRangePicker", n))(Pi || {}), Ii = /* @__PURE__ */ ((n) => (n.ShowPreset = "showPreset", n.ShowTime = "showTime", n))(Ii || {});
19316
- class gn {
19375
+ class mn {
19317
19376
  #e;
19318
19377
  #i;
19319
19378
  #s = /* @__PURE__ */ new Set();
@@ -19384,11 +19443,11 @@ function Ou(n, e) {
19384
19443
  }
19385
19444
  function Au(n, e) {
19386
19445
  const t = n.facetDetails;
19387
- return x`<cx-facet-date-picker field=${t.facetFieldName} display-name=${t.displayName} display-format=${Z(t.displayFormat)} value=${e.dateRange?.fromDate ?? ""} from-time=${e.dateRange?.fromTime ?? Kr} min=${t.min ?? ""} max=${t.max ?? ""} ?show-time=${t.showTime ?? !1}></cx-facet-date-picker>`;
19446
+ return x`<cx-facet-date-picker field=${t.facetFieldName} display-name=${t.displayName} display-format=${Z(t.displayFormat)} value=${e.dateRange?.fromDate ?? ""} from-time=${e.dateRange?.fromTime ?? Ur} min=${t.min ?? ""} max=${t.max ?? ""} ?show-time=${t.showTime ?? !1}></cx-facet-date-picker>`;
19388
19447
  }
19389
19448
  function Pu(n, e) {
19390
19449
  const t = n.facetDetails;
19391
- return x`<cx-facet-date-range field=${t.facetFieldName} display-name=${t.displayName} display-format=${Z(t.displayFormat)} from-date=${e.dateRange?.fromDate ?? ""} to-date=${e.dateRange?.toDate ?? ""} from-time=${e.dateRange?.fromTime ?? Kr} to-time=${e.dateRange?.toTime ?? sa} preset=${e.dateRange?.preset ?? ""} min=${t.min ?? ""} max=${t.max ?? ""} ?show-time=${t.showTime ?? !1} ?show-preset=${t.showPreset ?? !1}></cx-facet-date-range>`;
19450
+ return x`<cx-facet-date-range field=${t.facetFieldName} display-name=${t.displayName} display-format=${Z(t.displayFormat)} from-date=${e.dateRange?.fromDate ?? ""} to-date=${e.dateRange?.toDate ?? ""} from-time=${e.dateRange?.fromTime ?? Ur} to-time=${e.dateRange?.toTime ?? sa} preset=${e.dateRange?.preset ?? ""} min=${t.min ?? ""} max=${t.max ?? ""} ?show-time=${t.showTime ?? !1} ?show-preset=${t.showPreset ?? !1}></cx-facet-date-range>`;
19392
19451
  }
19393
19452
  const Iu = {
19394
19453
  [rt.Checkbox]: Ou,
@@ -19402,7 +19461,7 @@ var Nu = Object.defineProperty, Vu = Object.getOwnPropertyDescriptor, ye = (n, e
19402
19461
  };
19403
19462
  let he = class extends Pe {
19404
19463
  constructor() {
19405
- super(...arguments), this.localize = new tt(this), this.shadowRootAutoloader = new gn(
19464
+ super(...arguments), this.localize = new tt(this), this.shadowRootAutoloader = new mn(
19406
19465
  this
19407
19466
  ), this.facets = [], this.availableFacets = [], this.selectedFacets = {}, this.selectedDateRanges = {}, this.selection = _t.Single, this.loading = !1, this.externalFilters = [], this.appliedFiltersCount = 0, this.internalSelection = {}, this.internalDateRanges = {}, this.mappedDisplayNames = {}, this.facetDetailsByField = /* @__PURE__ */ new Map();
19408
19467
  }
@@ -19550,7 +19609,7 @@ let he = class extends Pe {
19550
19609
  */
19551
19610
  getDateFacetPattern(n) {
19552
19611
  const e = n && "displayFormat" in n ? n.displayFormat : void 0;
19553
- return oa(e ?? qr.DdMmYyyy);
19612
+ return oa(e ?? Kr.DdMmYyyy);
19554
19613
  }
19555
19614
  formatDateRangeDisplay(n, e) {
19556
19615
  const t = (i, s) => {
@@ -19632,7 +19691,7 @@ he.dependencies = {
19632
19691
  "cx-icon": gt,
19633
19692
  "cx-icon-button": oi,
19634
19693
  "cx-space": Ri,
19635
- "cx-spinner": Xr,
19694
+ "cx-spinner": qr,
19636
19695
  "cx-tag": ua,
19637
19696
  "cx-tooltip": Pt
19638
19697
  };
@@ -19695,7 +19754,7 @@ ye([
19695
19754
  he = ye([
19696
19755
  Ie("cx-faceted-filter")
19697
19756
  ], he);
19698
- const Bu = new Set(Object.values(qr));
19757
+ const Bu = new Set(Object.values(Kr));
19699
19758
  class $u {
19700
19759
  constructor(e) {
19701
19760
  this.facets = [], this.availableFacets = [], this.host = e, e.addController(this);
@@ -19733,13 +19792,13 @@ function Wu(n) {
19733
19792
  selection: ju(h),
19734
19793
  type: rt.Checkbox
19735
19794
  }) : l === Pi.DatePicker ? e.set(r, {
19736
- displayFormat: Fr(h),
19795
+ displayFormat: Mr(h),
19737
19796
  displayName: a,
19738
19797
  facetFieldName: r,
19739
19798
  showTime: h.includes(Ii.ShowTime),
19740
19799
  type: rt.DatePicker
19741
19800
  }) : l === Pi.DateRangePicker && e.set(r, {
19742
- displayFormat: Fr(h),
19801
+ displayFormat: Mr(h),
19743
19802
  displayName: a,
19744
19803
  facetFieldName: r,
19745
19804
  showPreset: h.includes(Ii.ShowPreset),
@@ -19752,7 +19811,7 @@ function Wu(n) {
19752
19811
  function ju(n) {
19753
19812
  return n.includes(_t.Multiple) ? _t.Multiple : _t.Single;
19754
19813
  }
19755
- function Fr(n) {
19814
+ function Mr(n) {
19756
19815
  return n.find((e) => Bu.has(e));
19757
19816
  }
19758
19817
  function Gu(n, e) {
@@ -20176,7 +20235,7 @@ class qu {
20176
20235
  )?.formatterParams?.disabled;
20177
20236
  }
20178
20237
  }
20179
- const Xu = q`.tabulator .tabulator-alert{z-index:100;background:color-mix(in srgb, var(--cx-color-neutral-0) 40%, transparent);text-align:center;align-items:center;width:100%;height:100%;display:flex;position:absolute;top:0;left:0}.tabulator .tabulator-alert.tabulator-alert-state-loading{--loading-offset:var(--cx-spacing-x-small);top:calc(var(--header-height,var(--cx-spacing-3x-large)) + var(--border-width) + var(--loading-offset));height:calc(100% - var(--header-height,var(--cx-spacing-3x-large)) - var(--border-width) - var(--loading-offset))}.tabulator.tabulator-header-hidden .tabulator-alert.tabulator-alert-state-loading{height:100%;top:0}.tabulator .tabulator-alert .tabulator-alert-msg{padding:var(--cx-spacing-small) var(--cx-spacing-large);border-radius:var(--cx-border-radius-x-large);background:var(--cx-color-neutral-0);font-weight:700;font-size:var(--cx-font-size-medium);margin:0 auto;display:inline-block}.tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-msg{color:var(--cx-color-neutral-1000)}.tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-error{border:4px solid var(--cx-color-danger);color:var(--cx-color-danger-900)}`, Ju = q`:host{--width:100%;--table-height:var(--height,auto);--table-min-height:var(--min-height,0);--table-max-height:var(--max-height,auto);--color:var(--cx-color-neutral-900);--background-color:var(--cx-color-neutral-0);--border-width:var(--cx-input-border-width);--border-color:var(--cx-color-neutral-200);--outer-border-color:var(--border-color);--border-radius:var(--cx-border-radius-medium);--row-background-color:var(--cx-color-neutral-0);--row-even-background-color:var(--cx-color-neutral-0);--row-hover-background-color:var(--cx-color-neutral-0);--row-even-hover-background-color:var(--cx-color-neutral-0);--frozen-border-color:var(--cx-color-neutral-300);--frozen-overlay-z-index:12;--frozen-divider-z-index:13;--header-background-color:var(--cx-color-neutral-50);--header-hover-background-color:var(--cx-color-primary-50);--header-font-weight:var(--cx-font-weight-medium);--header-font-size:var(--cx-font-size-x-small);--header-color:var(--cx-color-neutral-700);--header-border-right:1px solid var(--cx-color-neutral-200);--header-border-bottom:none;--header-height:var(--cx-spacing-3x-large);--header-horizontal-padding:var(--cx-spacing-large);--body-background-color:var(--cx-color-neutral-0);--cell-border-color:transparent;--cell-bottom-border-color:var(--cx-color-neutral-200);--cell-horizontal-padding:var(--cx-spacing-large);--cell-font-size:var(--cx-font-size-small);--cell-font-weight:var(--cx-font-weight-regular);--cell-line-height:normal;--cell-hover-background-color:var(--cx-color-neutral-50);--group-count-color:var(--cx-color-danger-500);--group-row-background-color:var(--row-background-color);--group-row-hover-background-color:var(--row-hover-background-color);--group-row-border-color:var(--cx-color-neutral-200);--group-row-color:var(--cx-color-neutral-900);--group-row-font-weight:var(--cx-font-weight-medium);--row-header-border-color:var(--cx-color-neutral-200);--tabulator-tree-control-width:18px;--tabulator-tree-child-indent:9px;--tabulator-tree-step:calc(var(--tabulator-tree-control-width) + var(--tabulator-tree-child-indent));isolation:isolate;width:var(--width);display:block}.container{height:100%}.tabulator{background-color:var(--background-color);font-size:var(--font-size,var(--cx-font-size-small));text-align:left;height:var(--table-height);min-height:var(--table-min-height);max-height:var(--table-max-height);border-radius:var(--cx-border-radius-medium);flex-direction:column;line-height:normal;display:flex;position:relative;overflow:hidden}.tabulator.tabulator-overflow-x{border-inline:var(--border-width) solid var(--outer-border-color);border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.tabulator[tabulator-layout=fitDataFill] .tabulator-tableholder .tabulator-table{min-width:100%}.tabulator[tabulator-layout=fitDataTable]{display:inline-block}.tabulator.tabulator-block-select,.tabulator.tabulator-ranges .tabulator-cell:not(.tabulator-editing){user-select:none}.tabulator .tabulator-tableholder-wrapper{flex:1;width:max-content;display:flex;position:relative;overflow:hidden}.tabulator .tabulator-tableholder{white-space:nowrap;-webkit-overflow-scrolling:touch;border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);flex:1;width:max-content;position:relative;overflow:auto}.tabulator .tabulator-tableholder-wrapper:before{content:"";z-index:1;pointer-events:none;border:var(--border-width) solid var(--outer-border-color);border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);width:100%;height:100%;display:block;position:absolute;top:0;left:0}.tabulator.tabulator-header-hidden .tabulator-tableholder-wrapper:before{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.tabulator .tabulator-tableholder:focus{outline:none}.tabulator .tabulator-tableholder .tabulator-table{background-color:var(--body-background-color,var(--cx-color-neutral-0));white-space:nowrap;color:var(--color);min-width:100%;display:inline-block;position:relative;overflow:visible}`, Yu = q`.tabulator .tabulator-header .tabulator-calcs-holder{box-sizing:border-box;border-top:var(--border-width) solid var(--cx-color-neutral-400);border-bottom:var(--border-width) solid var(--cx-color-neutral-400);display:inline-block;background:var(--cx-color-neutral-100)!important}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row{background:var(--cx-color-neutral-100)!important}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs{font-weight:700;background:var(--cx-color-neutral-200)!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-top{border-bottom:2px solid var(--cx-color-neutral-400)}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-bottom{border-top:2px solid var(--cx-color-neutral-400)}.tabulator .tabulator-footer .tabulator-calcs-holder{box-sizing:border-box;text-align:left;border-bottom:1px solid var(--cx-color-neutral-400);border-top:1px solid var(--cx-color-neutral-400);width:100%;overflow:hidden;background:var(--cx-color-neutral-100)!important}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row{display:inline-block;background:var(--cx-color-neutral-100)!important}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-footer .tabulator-calcs-holder:only-child{border-bottom:none;margin-bottom:-5px}`, Zu = q`.tabulator-clickable-cell{color:var(--clickable-cell-color,var(--cx-color-primary-600));cursor:pointer}.tabulator-clickable-cell:hover{text-decoration:underline}.tabulator-clickable-cell cx-icon,.tabulator-clickable-cell cx-icon-button{color:var(--color)}`, Qu = q`.tabulator-row .tabulator-cell .tabulator-data-tree-branch-empty{display:none}.tabulator-row .tabulator-cell .tabulator-data-tree-branch{border-left:2px solid var(--cx-color-neutral-400);border-bottom:2px solid var(--cx-color-neutral-400);border-bottom-left-radius:1px;width:7px;height:9px;margin-top:-9px;position:absolute}.tabulator-row .tabulator-cell .tabulator-data-tree-control{flex:0 0 var(--tabulator-tree-control-width);vertical-align:middle;width:var(--tabulator-tree-control-width);justify-content:center;align-items:center;display:inline-flex}`, ep = q`.tabulator-row .tabulator-cell.tabulator-editing{padding:0 var(--cell-horizontal-padding);outline:none}.tabulator:not(.tabulator-ranges) .tabulator-row .tabulator-cell.tabulator-editing input,.tabulator:not(.tabulator-ranges) .tabulator-row .tabulator-cell.tabulator-editing select{font-size:inherit;color:inherit;border-radius:var(--cx-input-border-radius-medium);background:0 0;border:none;outline:none;padding:0;font-family:inherit}.tabulator-ranges .tabulator-row .tabulator-cell.tabulator-editing input,.tabulator-ranges .tabulator-row .tabulator-cell.tabulator-editing select{border:var(--border-width) solid var(--border-color);background:0 0;outline:none}.tabulator-row .tabulator-cell.tabulator-validation-fail{border:var(--border-width) solid var(--cx-color-danger);background:var(--cx-color-danger-100)}.tabulator-row .tabulator-cell.tabulator-validation-fail input,.tabulator-row .tabulator-cell.tabulator-validation-fail select{border:var(--border-width) solid var(--border-color);color:var(--cx-color-danger);background:0 0}.tabulator-row .tabulator-cell.tabulator-editing.tabulator-edit-list{padding:0 var(--cx-spacing-x-small)}.tabulator-edit-list{position:relative}.tabulator-edit-list:not(.tabulator-editing) .tabulator-cell-content{padding-right:var(--cx-spacing-large)}.tabulator-edit-list-trigger{top:50%;right:var(--cx-spacing-small);width:var(--cx-spacing-large);appearance:none;height:100%;color:inherit;cursor:pointer;font:inherit;background:0 0;border:none;justify-content:center;align-items:center;padding:0;display:inline-flex;position:absolute;transform:translateY(-50%)}.tabulator-edit-list.tabulator-editing .tabulator-edit-list-trigger{display:none}.tabulator-edit-list-trigger-caret{--font-size:var(--cx-font-size-medium);color:var(--cx-color-neutral-500)}`, tp = q`.tabulator .tabulator-footer{border-top:1px solid var(--cx-color-neutral-400);background-color:var(--cx-color-neutral-200);color:var(--cx-color-neutral-500);white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;user-select:none;-khtml-user-select:none;-o-user-select:none;font-weight:700}.tabulator .tabulator-footer .tabulator-footer-contents{padding:var(--cx-spacing-2x-small) var(--cx-spacing-small);flex-direction:row;justify-content:space-between;align-items:center;display:flex}.tabulator .tabulator-footer .tabulator-footer-contents:empty{display:none}`, ip = q`.tabulator-row .tabulator-cell a{color:var(--cx-color-primary-600);text-decoration:none}.tabulator-row .tabulator-cell a:hover{text-decoration:underline}.tabulator-row .tabulator-cell .tabulator-traffic-light-container{align-items:center;gap:var(--cx-spacing-x-small);display:inline-flex}.tabulator-row .tabulator-cell .tabulator-traffic-light{border-radius:var(--cx-border-radius-x-large);width:14px;height:14px;display:inline-block}.tabulator-composite,.tabulator-composite>span,.tabulator-composite>span>cx-line-clamp{min-width:0}.tabulator-composite,.tabulator-composite>span{overflow:hidden}.tabulator-composite>span:has(cx-icon,img,cx-avatar,cx-switch){flex-shrink:0}`, sp = q`.tabulator.tabulator-overflow-x .tabulator-frozen-pinned-start,.tabulator.tabulator-overflow-x .tabulator-frozen-pinned-start+.tabulator-col-resize-handle{transform:translateX(var(--frozen-offset-start,0px))}.tabulator.tabulator-overflow-x .tabulator-frozen-pinned-end,.tabulator.tabulator-overflow-x .tabulator-col-resize-handle-pinned-end{transform:translateX(var(--frozen-offset-end,0px))}@media print{.tabulator .tabulator-frozen-pinned-start,.tabulator .tabulator-frozen-pinned-end,.tabulator .tabulator-frozen-pinned-start+.tabulator-col-resize-handle,.tabulator .tabulator-col-resize-handle-pinned-end{transform:none}}.tabulator:has(.tabulator-frozen) .tabulator-tableholder-wrapper:before,.tabulator:has(.tabulator-frozen) .tabulator-header .tabulator-header-contents:before{z-index:var(--frozen-overlay-z-index)}.tabulator:not(.tabulator-rtl) .tabulator-header .tabulator-col.tabulator-frozen.tabulator-frozen-left,.tabulator:not(.tabulator-rtl) .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-right-color:#0000}.tabulator:not(.tabulator-rtl) .tabulator-header .tabulator-col.tabulator-frozen.tabulator-frozen-right,.tabulator:not(.tabulator-rtl) .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-left-color:#0000}.tabulator:not(.tabulator-rtl):has(.tabulator-frozen-pinned-start):before,.tabulator:not(.tabulator-rtl):has(.tabulator-frozen-pinned-end):after{content:"";background-color:var(--frozen-border-color);pointer-events:none;width:2px;z-index:var(--frozen-divider-z-index);position:absolute;top:0;bottom:0}.tabulator:not(.tabulator-rtl):has(.tabulator-frozen-pinned-start):before{left:calc(var(--frozen-left-width,0px) - 2px)}.tabulator:not(.tabulator-rtl):has(.tabulator-frozen-pinned-end):after{right:calc(var(--frozen-right-width,0px) - 2px)}.tabulator .tabulator-col-resize-handle.tabulator-col-resize-handle-pinned-end{width:6px;z-index:var(--frozen-overlay-z-index);margin-left:-3px;margin-right:-3px}`, op = q`.tabulator-row.tabulator-group{box-sizing:border-box;border-bottom:var(--border-width) solid var(--group-row-border-color);border-right:var(--border-width) solid var(--group-row-border-color);padding:var(--cx-spacing-2x-small);padding-left:var(--cx-spacing-small);background:var(--group-row-background-color);min-width:100%;line-height:var(--header-height);color:var(--group-row-color);font-weight:var(--group-row-font-weight)}.tabulator-row.tabulator-group.tabulator-row-last{border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius)}@media (hover:hover) and (pointer:fine){.tabulator-row.tabulator-group:hover{cursor:pointer;background-color:var(--group-row-hover-background-color)}}.tabulator-row.tabulator-group.tabulator-group-level-1{padding-left:30px}.tabulator-row.tabulator-group.tabulator-group-level-2{padding-left:50px}.tabulator-row.tabulator-group.tabulator-group-level-3{padding-left:70px}.tabulator-row.tabulator-group.tabulator-group-level-4{padding-left:90px}.tabulator-row.tabulator-group.tabulator-group-level-5{padding-left:110px}.tabulator-row.tabulator-group .tabulator-group-toggle{display:inline-flex}.tabulator-row.tabulator-group .tabulator-group-count{margin-left:var(--cx-spacing-small);color:var(--group-count-color)}`, rp = q`:host{--selected-column-header-background-color:var(--header-background-color);--selected-column-header-color:var(--header-color)}.tabulator .tabulator-header{box-sizing:border-box;width:max-content;font-weight:var(--header-font-weight);font-size:var(--header-font-size);color:var(--header-color);white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-khtml-user-select:none;-o-user-select:none;outline:none;position:relative}.tabulator .tabulator-header.tabulator-header-hidden{display:none}.tabulator .tabulator-header .tabulator-header-contents{box-sizing:border-box;width:max-content;position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-header-contents:before{content:"";z-index:1;pointer-events:none;border:var(--border-width) solid var(--outer-border-color);border-bottom:var(--header-border-bottom);border-top-right-radius:var(--border-radius);border-top-left-radius:var(--border-radius);width:100%;height:100%;display:block;position:absolute;top:0;left:0}.tabulator .tabulator-header .tabulator-col:last-of-type{border-right:none}.tabulator .tabulator-header .tabulator-header-contents .tabulator-headers{background-color:var(--header-background-color);display:inline-block}.tabulator .tabulator-header .tabulator-col{box-sizing:border-box;border-right:var(--header-border-right);background:var(--header-background-color);text-align:left;vertical-align:bottom;height:var(--header-height);flex-direction:column;justify-content:center;display:inline-flex;position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-col.tabulator-moving{border:solid var(--border-width) var(--border-color);background:var(--cx-color-neutral-300);pointer-events:none;position:absolute}.tabulator .tabulator-header .tabulator-col.tabulator-range-highlight{background-color:var(--selected-column-header-background-color);color:var(--selected-column-header-color)}.tabulator .tabulator-header .tabulator-col.tabulator-range-selected{background-color:var(--cx-color-primary-500);color:var(--cx-color-neutral-0)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content{box-sizing:border-box;padding:var(--cx-spacing-2x-small) var(--header-horizontal-padding);position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button{padding:0 var(--cx-spacing-x-small)}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button:hover{cursor:pointer;opacity:.6}}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title-holder{align-items:center;gap:var(--cx-spacing-2x-small);display:flex;position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title{box-sizing:border-box;white-space:nowrap;text-overflow:ellipsis;vertical-align:bottom;flex:auto;width:100%;min-width:0;overflow:hidden}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title.tabulator-col-title-wrap{white-space:normal;text-overflow:initial}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-title-editor{box-sizing:border-box;border:solid var(--border-width) var(--border-color);width:100%;padding:var(--cx-spacing-3x-small);background:var(--cx-color-neutral-0)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-header-popup-button+.tabulator-title-editor{width:calc(100% - 22px)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{inline-size:var(--cx-spacing-medium);block-size:var(--cx-spacing-medium);flex:none;order:-1;justify-content:center;align-items:center;display:flex;position:static}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter cx-icon{--font-size:var(--cx-font-size-medium);color:var(--cx-color-neutral-400)}.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{border-top:1px solid var(--cx-color-neutral-400);margin-right:-1px;display:flex;position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter{box-sizing:border-box;margin-top:var(--cx-spacing-3x-small);text-align:center;width:100%;position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter textarea{height:auto!important}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter svg{margin-top:var(--cx-spacing-3x-small)}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input::-ms-clear{width:0;height:0}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable.tabulator-col-sorter-element:hover{cursor:pointer}.tabulator .tabulator-header .tabulator-col:hover{background-color:var(--header-hover-background-color)}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter cx-icon{visibility:hidden}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none]:hover .tabulator-col-content .tabulator-col-sorter cx-icon{visibility:visible}}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical .tabulator-col-content .tabulator-col-title{writing-mode:vertical-rl;text-orientation:mixed;justify-content:center;align-items:center;display:flex}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-col-vertical-flip .tabulator-col-title{transform:rotate(180deg)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-title{padding-right:0;padding-top:var(--cx-spacing-large)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable.tabulator-col-vertical-flip .tabulator-col-title{padding-right:0;padding-bottom:var(--cx-spacing-large)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-sorter{justify-content:center;inline-size:auto;position:absolute;inset:4px 0 auto}.tabulator .tabulator-header .tabulator-frozen{z-index:11;position:sticky;left:0}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-left{border-right:2px solid var(--frozen-border-color)}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-right{border-left:2px solid var(--frozen-border-color)}.tabulator .tabulator-header .tabulator-frozen-rows-holder{border-bottom:2px solid var(--frozen-border-color);display:inline-block}.tabulator .tabulator-header .tabulator-frozen-rows-holder:empty{display:none}`, np = q`:host{--hover-menu-background-color:transparent}.tabulator-hover-menu{padding-left:var(--cell-horizontal-padding);padding-right:var(--cell-horizontal-padding);background-color:var(--hover-menu-background-color);opacity:0;pointer-events:none;z-index:12;align-items:center;height:100%;display:flex;position:absolute;top:0}.tabulator:not(.tabulator-editing) .tabulator-hover-menu--active{opacity:1;pointer-events:auto}`, ap = q`.tabulator-row .tabulator-cell.tabulator-row-handle{-webkit-user-select:none;-moz-user-select:none;-khtml-user-select:none;-o-user-select:none;justify-content:center;align-items:center;display:inline-flex}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box{width:80%}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box .tabulator-row-handle-bar{width:100%;height:3px;margin-top:var(--cx-spacing-3x-small);background:var(--cx-color-neutral-600)}`, lp = q`:host{--scrollbar-size:17px;--scrollbar-thumb-border-width:7px;--scrollbar-thumb-border-width-hover:4px;--scrollbar-thumb-border-color:#0000;--scrollbar-thumb-radius:13px;--scrollbar-thumb-min-size:50px}.table{position:relative}.tabulator[data-overlayscrollbars]{flex-direction:column}.tabulator[data-overlayscrollbars-viewport="scrollbarHidden overflowXHidden overflowYHidden"]{display:flex}.tabulator>[data-overlayscrollbars-viewport]{flex-direction:column;display:flex}.table>.os-scrollbar-vertical,.table>.os-scrollbar.os-scrollbar-vertical.os-scrollbar-cornerless{top:calc(var(--header-height) + var(--border-width))}.table.tabulator-header-hidden>.os-scrollbar-vertical,.table.tabulator-header-hidden>.os-scrollbar.os-scrollbar-vertical.os-scrollbar-cornerless{top:var(--border-width)}.table>.os-scrollbar{--os-size:var(--scrollbar-size);--os-padding-perpendicular:0px;--os-padding-axis:0px;--os-handle-border-radius:var(--scrollbar-thumb-radius);--os-handle-border:var(--scrollbar-thumb-border-width) solid var(--scrollbar-thumb-border-color);--os-handle-border-hover:var(--scrollbar-thumb-border-width-hover) solid var(--scrollbar-thumb-border-color);--os-handle-border-active:var(--scrollbar-thumb-border-width-hover) solid var(--scrollbar-thumb-border-color);--os-handle-min-size:var(--scrollbar-thumb-min-size)}.table>.os-scrollbar .os-scrollbar-handle{background-clip:padding-box}`, hp = q`.tabulator .tabulator-footer .tabulator-paginator{flex:1}.tabulator .tabulator-footer .tabulator-paginator-pagination{margin-left:auto}.tabulator-paginator-pagination{--font-size:var(--cx-font-size-x-small);--pagination-input-font-size:var(--cx-font-size-x-small)}.tabulator-paginator-pagination::part(back-icon),.tabulator-paginator-pagination::part(next-icon){--font-size:var(--cx-font-size-medium)}`, cp = q`:host{--placeholder-color:var(--cx-color-neutral-800);--placeholder-font-weight:var(--cx-font-weight-regular);--placeholder-font-size:var(--cx-font-size-small)}.tabulator .tabulator-tableholder-wrapper .tabulator-placeholder{box-sizing:border-box;justify-content:center;align-items:center;width:100%;min-width:100%;display:flex}.tabulator .tabulator-tableholder-wrapper .tabulator-placeholder[tabulator-render-mode=virtual]{min-height:100%}.tabulator .tabulator-placeholder .tabulator-placeholder-contents{height:100%;padding:var(--cx-spacing-small);color:var(--placeholder-color);font-weight:var(--placeholder-font-weight);font-size:var(--placeholder-font-size);white-space:normal;justify-content:center;align-items:center;display:flex}.tabulator .tabulator-tableholder-wrapper .tabulator-placeholder.tabulator-placeholder--initializing .tabulator-placeholder-contents{visibility:hidden}.tabulator.tabulator-all-columns-hidden .tabulator-header{width:100%;height:var(--header-height);min-height:var(--header-height)}.tabulator.tabulator-all-columns-hidden .tabulator-header .tabulator-header-contents{background-color:var(--header-background-color);flex-direction:column;width:100%;height:100%;min-height:0;display:flex}.tabulator.tabulator-all-columns-hidden .tabulator-header .tabulator-header-contents:before{box-sizing:border-box;width:auto;height:auto;inset:0}.tabulator.tabulator-all-columns-hidden .tabulator-header .tabulator-header-contents .tabulator-headers{box-sizing:border-box;flex:1;align-self:stretch;width:100%;min-height:0;display:flex}.tabulator.tabulator-all-columns-hidden .tabulator-tableholder-wrapper{width:100%}.tabulator-row.tabulator-placeholder-row{border-left:var(--border-width) solid var(--cell-border-color);border-right:var(--border-width) solid var(--cell-border-color);border-bottom:var(--border-width) solid var(--cell-bottom-border-color);padding:var(--cx-spacing-2x-small) var(--cell-horizontal-padding)}`, dp = q`.tabulator-toggle{box-sizing:border-box;border:var(--border-width) solid var(--cx-color-neutral-300);background:var(--cx-color-neutral-200);flex-direction:row;display:flex}.tabulator-toggle.tabulator-toggle-on{background:var(--cx-color-primary-700)}.tabulator-toggle .tabulator-toggle-switch{box-sizing:border-box;border:var(--border-width) solid var(--cx-color-neutral-300);background:var(--cx-color-neutral-0)}.tabulator-popup-container{box-sizing:border-box;background:var(--cx-color-neutral-0);border:var(--border-width) solid var(--cx-color-neutral-400);font-size:var(--cx-font-size-small);-webkit-overflow-scrolling:touch;z-index:10000;display:inline-block;position:absolute;overflow-y:auto;box-shadow:0 0 5px #0003}.tabulator-popup{padding:var(--cx-spacing-2x-small);border-radius:var(--cx-border-radius-small)}.tabulator-tooltip{max-width:min(500px,100%);padding:var(--cx-spacing-3x-small) var(--cx-spacing-2x-small);border-radius:var(--cx-border-radius-small);box-shadow:none;font-size:var(--cx-font-size-x-small);pointer-events:none}.tabulator-menu .tabulator-menu-item{box-sizing:border-box;padding:var(--cx-spacing-2x-small) var(--cx-spacing-small);user-select:none;position:relative}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-disabled{opacity:.5}@media (hover:hover) and (pointer:fine){.tabulator-menu .tabulator-menu-item:not(.tabulator-menu-item-disabled):hover{cursor:pointer;background:var(--cx-color-neutral-50)}}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu{padding-right:var(--cx-spacing-x-large)}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu:after{content:"";border-width:var(--border-width) var(--border-width) 0 0;border-style:solid;border-color:var(--cx-color-neutral-400);vertical-align:top;width:7px;height:7px;display:inline-block;position:absolute;top:calc(5px + .4em);right:10px;transform:rotate(45deg)}.tabulator-menu .tabulator-menu-separator{border-top:var(--border-width) solid var(--cx-color-neutral-400)}`, up = q`.tabulator-print-fullscreen{z-index:10000;position:absolute;inset:0}body.tabulator-print-fullscreen-hide>:not(.tabulator-print-fullscreen){display:none!important}.tabulator-print-table{border-collapse:collapse}.tabulator-print-table .tabulator-data-tree-branch{vertical-align:middle;width:7px;height:9px;margin-top:-9px;margin-right:var(--cx-spacing-2x-small);border-left:2px solid var(--cx-color-neutral-400);border-bottom:2px solid var(--cx-color-neutral-400);border-bottom-left-radius:1px;display:inline-block}.tabulator-print-table .tabulator-print-table-group{box-sizing:border-box;border-bottom:var(--border-width) solid var(--cx-color-neutral-400);border-right:var(--border-width) solid var(--cx-color-neutral-400);border-top:var(--border-width) solid var(--cx-color-neutral-400);padding:var(--cx-spacing-2x-small);padding-left:var(--cx-spacing-small);background:var(--cx-color-neutral-300);min-width:100%;font-weight:700}@media (hover:hover) and (pointer:fine){.tabulator-print-table .tabulator-print-table-group:hover{cursor:pointer;background-color:#0000001a}}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-1 td{padding-left:30px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-2 td{padding-left:50px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-3 td{padding-left:70px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-4 td{padding-left:90px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-5 td{padding-left:110px!important}.tabulator-print-table .tabulator-print-table-group .tabulator-group-toggle{display:inline-block}.tabulator-print-table .tabulator-print-table-group span{margin-left:var(--cx-spacing-small);color:var(--cx-color-danger)}`, pp = q`.tabulator .tabulator-col-resize-handle{z-index:11;vertical-align:middle;width:6px;margin-left:-3px;margin-right:-3px;display:inline-block;position:relative}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-col-resize-handle:hover{cursor:ew-resize}}.tabulator .tabulator-col-resize-handle:last-of-type{width:3px;margin-right:0}.tabulator .tabulator-col-resize-guide{background-color:var(--cx-color-neutral-400);opacity:.5;width:4px;height:100%;margin-left:-.5px;position:absolute;top:0}.tabulator .tabulator-row-resize-guide{background-color:var(--cx-color-neutral-400);opacity:.5;width:100%;height:4px;margin-top:-.5px;position:absolute;left:0}`, fp = q`.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle{-webkit-user-select:none;-moz-user-select:none;user-select:none;-khtml-user-select:none;-o-user-select:none;border-radius:var(--cx-border-radius-x-large);background:var(--cx-color-neutral-600);width:15px;height:15px;color:var(--cx-color-neutral-0);justify-content:center;align-items:center;font-size:1.1em;font-weight:700;display:inline-flex}@media (hover:hover) and (pointer:fine){.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle:hover{opacity:.7;cursor:pointer}}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-close{display:initial}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-open{display:none}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle svg{stroke:var(--cx-color-neutral-0)}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle .tabulator-responsive-collapse-toggle-close{display:none}`, mp = q`.tabulator-row{box-sizing:border-box;background-color:var(--row-background-color);min-height:22px;display:flex;position:relative}.tabulator-row .tabulator-cell-first{border-left:var(--border-width) solid var(--outer-border-color)}.tabulator-row.tabulator-row-even{background-color:var(--row-even-background-color)}@media (hover:hover) and (pointer:fine){.tabulator-row.tabulator-selectable:hover{background-color:var(--row-hover-background-color);cursor:pointer}.tabulator-row.tabulator-row-even.tabulator-selectable:hover{background-color:var(--row-even-hover-background-color);cursor:pointer}}.tabulator-cell.tabulator-selection-cell-disabled cx-checkbox{--cx-checkbox-disabled-background:var(--cx-color-neutral-100);--cx-checkbox-disabled-border-color:var(--cx-color-neutral-200)}.tabulator-row.tabulator-selected:not(:has(cx-checkbox)){background-color:var(--cx-color-primary-200)}@media (hover:hover) and (pointer:fine){.tabulator-row.tabulator-selected:not(:has(cx-checkbox)):hover{background-color:var(--cx-color-primary-300);cursor:pointer}}.tabulator-row.tabulator-row-moving{border:var(--border-width) solid var(--cx-color-neutral-1000);background:var(--cx-color-neutral-0)}.tabulator-row.tabulator-moving{border-top:var(--border-width) solid var(--cx-color-neutral-400);border-bottom:var(--border-width) solid var(--cx-color-neutral-400);pointer-events:none;z-index:15;position:absolute}.tabulator-header-hidden .tabulator-row.tabulator-row-first .tabulator-cell.tabulator-cell-last{border-top-right-radius:var(--border-radius)}.tabulator-row .tabulator-row-resize-handle{height:5px;position:absolute;bottom:0;left:0;right:0}.tabulator-row .tabulator-row-resize-handle.prev{top:0;bottom:auto}@media (hover:hover) and (pointer:fine){.tabulator-row .tabulator-row-resize-handle:hover{cursor:ns-resize}}.tabulator-row .tabulator-responsive-collapse{box-sizing:border-box;padding:var(--cx-spacing-2x-small);border-top:var(--border-width) solid var(--cx-color-neutral-400);border-bottom:var(--border-width) solid var(--cx-color-neutral-400)}.tabulator-row .tabulator-responsive-collapse:empty{display:none}.tabulator-row .tabulator-responsive-collapse table{font-size:var(--cx-font-size-small)}.tabulator-row .tabulator-responsive-collapse table tr td{position:relative}.tabulator-row .tabulator-responsive-collapse table tr td:first-of-type{padding-right:var(--cx-spacing-small)}.tabulator-row .tabulator-cell{vertical-align:middle;box-sizing:border-box;padding:var(--cx-spacing-2x-small) var(--cell-horizontal-padding);border-right:var(--border-width) solid var(--cell-border-color);border-bottom:var(--border-width) solid var(--cell-bottom-border-color);display:inline-flex;position:relative}@media (hover:hover) and (pointer:fine){.tabulator-row .tabulator-cell:not(:has(cx-checkbox)):hover,.tabulator-row .tabulator-cell.tabulator-frozen:not(:has(cx-checkbox)):hover{background-color:var(--cell-hover-background-color)}.tabulator-row .tabulator-cell.tabulator-selection-cell-disabled:hover{cursor:default}}.tabulator-row .tabulator-cell:has(cx-checkbox),.tabulator-row .tabulator-cell.tabulator-frozen:has(cx-checkbox){background-color:var(--row-background-color)}.tabulator-row.tabulator-row-even .tabulator-cell:has(cx-checkbox),.tabulator-row.tabulator-row-even .tabulator-cell.tabulator-frozen:has(cx-checkbox){background-color:var(--row-even-background-color)}.tabulator-row .tabulator-cell .tabulator-cell-content{width:100%;height:100%;font-size:var(--cell-font-size);font-weight:var(--cell-font-weight);line-height:var(--cell-line-height);align-items:center;display:inline-flex}.tabulator-row .tabulator-cell .tabulator-cell-content cx-line-clamp{width:100%;max-width:max-content}.tabulator-row .tabulator-cell.tabulator-row-header{border-right:var(--border-width) solid var(--row-header-border-color)}.tabulator-row .tabulator-cell.tabulator-frozen{background-color:inherit;z-index:11;display:inline-block;position:sticky;left:0}.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-right:2px solid var(--frozen-border-color)}.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-left:2px solid var(--frozen-border-color)}.tabulator-row:has(+.tabulator-placeholder-row) .tabulator-cell{border-bottom:none}`, gp = q`.tabulator.tabulator-ltr{direction:ltr}.tabulator.tabulator-rtl{text-align:initial;direction:rtl}.tabulator.tabulator-rtl .tabulator-header .tabulator-col{text-align:initial;border-left:var(--border-width) solid var(--cx-color-neutral-400);border-right:initial}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{margin-right:initial;margin-left:-1px}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell{border-right:initial;border-left:var(--border-width) solid var(--cell-border-color)}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-branch{margin-right:initial;margin-left:var(--cx-spacing-2x-small);border-bottom-left-radius:initial;border-left:initial;border-right:2px solid var(--cx-color-neutral-400);border-bottom-right-radius:1px}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-left:2px solid var(--frozen-border-color)}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-right:2px solid var(--frozen-border-color)}.tabulator.tabulator-rtl .tabulator-row .tabulator-col-resize-handle:last-of-type{width:3px;margin-left:0;margin-right:-3px}.tabulator.tabulator-rtl .tabulator-footer .tabulator-calcs-holder{text-align:initial}`, bp = q`:host{--table-active-cell-border-color:var(--border-color);--table-selected-cell-border-width:1px;--table-selected-cell-border-style:solid;--table-selected-only-cell-background-color:transparent;--table-selected-range-cell-background-color:var(--cx-color-neutral-100);--table-selected-range-selection-start-cell-background-color:var(--cx-color-neutral-50);--table-selected-cell-hover-background-color:var(--cx-color-neutral-50);--table-editable-only-cell-selected-background-color:var(--cx-color-primary-50);--table-editable-cell-hover-background-color:var(--cx-color-primary-50);--table-editable-only-cell-active-border-color:var(--cx-color-primary-600)}.tabulator .tabulator-tableholder .tabulator-range-overlay{z-index:10;pointer-events:none;position:absolute;inset:0}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range{box-sizing:border-box;position:absolute}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range-cell-active,.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range-cell-hover{box-sizing:border-box;border-color:var(--table-active-cell-border-color);border-style:var(--table-selected-cell-border-style);border-width:var(--table-selected-cell-border-width);background-color:var(--table-selected-only-cell-background-color);position:absolute}.tabulator-row.tabulator-range-highlight .tabulator-cell.tabulator-range-row-header{background-color:var(--cx-color-neutral-300);color:var(--cx-color-neutral-1000)}.tabulator-row.tabulator-range-highlight.tabulator-range-selected .tabulator-cell.tabulator-range-row-header,.tabulator-row.tabulator-range-selected .tabulator-cell.tabulator-range-row-header{background-color:var(--cx-color-primary-500);color:var(--cx-color-neutral-0)}.tabulator-row .tabulator-cell.tabulator-range-selected:not(.tabulator-range-row-header):not(:has(cx-checkbox)){background-color:var(--table-selected-range-cell-background-color)}.tabulator-row .tabulator-cell.tabulator-range-selection-start:not(.tabulator-range-row-header):not(:has(cx-checkbox)){background-color:var(--table-selected-range-selection-start-cell-background-color)}.tabulator-row .tabulator-cell.tabulator-range-selected:not(.tabulator-range-row-header):not(:has(cx-checkbox)):hover{background-color:var(--table-selected-cell-hover-background-color)}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-editable.tabulator-range-only-cell-active.tabulator-range-cell-active{border-color:var(--table-editable-only-cell-active-border-color)}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-editable.tabulator-range-cell-hover{border:var(--border-width) solid var(--table-editable-only-cell-active-border-color)}.tabulator-row .tabulator-cell.tabulator-editable:not(:has(cx-checkbox)):hover{background-color:var(--table-editable-cell-hover-background-color)}.tabulator-row .tabulator-cell.tabulator-editable.tabulator-range-only-cell-selected:not(.tabulator-range-row-header):not(:has(cx-checkbox)){background-color:var(--table-editable-only-cell-selected-background-color)}.tabulator-row .tabulator-cell.tabulator-editable.tabulator-range-selected:not(.tabulator-range-row-header):not(:has(cx-checkbox)):hover{background-color:var(--table-editable-cell-hover-background-color)}`, wp = q`.tabulator .tabulator-footer .tabulator-spreadsheet-tabs{margin-top:-5px;overflow-x:auto}.tabulator .tabulator-footer .tabulator-spreadsheet-tabs .tabulator-spreadsheet-tab{padding:var(--cx-spacing-2x-small);border:solid var(--border-width) var(--border-color);border-top:none;border-bottom-right-radius:5px;border-bottom-left-radius:5px;font-size:.9em;display:inline-block}.tabulator .tabulator-footer .tabulator-spreadsheet-tabs .tabulator-spreadsheet-tab:hover{cursor:pointer;opacity:.7}.tabulator .tabulator-footer .tabulator-spreadsheet-tabs .tabulator-spreadsheet-tab.tabulator-spreadsheet-tab-active{background:var(--cx-color-neutral-0)}`, vp = [
20238
+ const Xu = q`.tabulator .tabulator-alert{z-index:100;background:color-mix(in srgb, var(--cx-color-neutral-0) 40%, transparent);text-align:center;align-items:center;width:100%;height:100%;display:flex;position:absolute;top:0;left:0}.tabulator .tabulator-alert.tabulator-alert-state-loading{--loading-offset:var(--cx-spacing-x-small);top:calc(var(--header-height,var(--cx-spacing-3x-large)) + var(--border-width) + var(--loading-offset));height:calc(100% - var(--header-height,var(--cx-spacing-3x-large)) - var(--border-width) - var(--loading-offset))}.tabulator.tabulator-header-hidden .tabulator-alert.tabulator-alert-state-loading{height:100%;top:0}.tabulator .tabulator-alert .tabulator-alert-msg{padding:var(--cx-spacing-small) var(--cx-spacing-large);border-radius:var(--cx-border-radius-x-large);background:var(--cx-color-neutral-0);font-weight:700;font-size:var(--cx-font-size-medium);margin:0 auto;display:inline-block}.tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-msg{color:var(--cx-color-neutral-1000)}.tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-error{border:4px solid var(--cx-color-danger);color:var(--cx-color-danger-900)}`, Ju = q`:host{--width:100%;--table-height:var(--height,auto);--table-min-height:var(--min-height,0);--table-max-height:var(--max-height,auto);--color:var(--cx-color-neutral-900);--background-color:var(--cx-color-neutral-0);--border-width:var(--cx-input-border-width);--border-color:var(--cx-color-neutral-200);--outer-border-color:var(--border-color);--border-radius:var(--cx-border-radius-medium);--row-background-color:var(--cx-color-neutral-0);--row-even-background-color:var(--cx-color-neutral-0);--row-hover-background-color:var(--cx-color-neutral-0);--row-even-hover-background-color:var(--cx-color-neutral-0);--frozen-border-color:var(--cx-color-neutral-300);--frozen-overlay-z-index:12;--frozen-divider-z-index:13;--header-background-color:var(--cx-color-neutral-50);--header-hover-background-color:var(--cx-color-primary-50);--header-font-weight:var(--cx-font-weight-medium);--header-font-size:var(--cx-font-size-x-small);--header-color:var(--cx-color-neutral-700);--header-border-right:1px solid var(--cx-color-neutral-200);--header-border-bottom:none;--header-height:var(--cx-spacing-3x-large);--header-horizontal-padding:var(--cx-spacing-large);--body-background-color:var(--cx-color-neutral-0);--cell-border-color:transparent;--cell-bottom-border-color:var(--cx-color-neutral-200);--cell-horizontal-padding:var(--cx-spacing-large);--cell-font-size:var(--cx-font-size-small);--cell-font-weight:var(--cx-font-weight-regular);--cell-line-height:normal;--cell-hover-background-color:var(--cx-color-neutral-50);--group-count-color:var(--cx-color-danger-500);--group-row-background-color:var(--row-background-color);--group-row-hover-background-color:var(--row-hover-background-color);--group-row-border-color:var(--cx-color-neutral-200);--group-row-color:var(--cx-color-neutral-900);--group-row-font-weight:var(--cx-font-weight-medium);--row-header-border-color:var(--cx-color-neutral-200);--tabulator-tree-control-width:18px;--tabulator-tree-child-indent:9px;--tabulator-tree-step:calc(var(--tabulator-tree-control-width) + var(--tabulator-tree-child-indent));isolation:isolate;width:var(--width);display:block}.container{height:100%}.tabulator{background-color:var(--background-color);font-size:var(--font-size,var(--cx-font-size-small));text-align:left;height:var(--table-height);min-height:var(--table-min-height);max-height:var(--table-max-height);border-radius:var(--cx-border-radius-medium);border-inline:var(--border-width) solid transparent;flex-direction:column;line-height:normal;display:flex;position:relative;overflow:hidden}.tabulator.tabulator-overflow-x{border-inline-color:var(--outer-border-color);border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.tabulator[tabulator-layout=fitDataFill] .tabulator-tableholder .tabulator-table{min-width:100%}.tabulator[tabulator-layout=fitDataTable]{display:inline-block}.tabulator.tabulator-block-select,.tabulator.tabulator-ranges .tabulator-cell:not(.tabulator-editing){user-select:none}.tabulator .tabulator-tableholder-wrapper{flex:1;width:fit-content;max-width:100%;display:flex;position:relative;overflow:hidden}.tabulator .tabulator-tableholder{white-space:nowrap;-webkit-overflow-scrolling:touch;border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);flex:1;min-width:0;position:relative;overflow:auto}.tabulator .tabulator-tableholder-wrapper:before{content:"";z-index:1;pointer-events:none;border:var(--border-width) solid var(--outer-border-color);border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);width:100%;height:100%;display:block;position:absolute;top:0;left:0}.tabulator.tabulator-header-hidden .tabulator-tableholder-wrapper:before{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.tabulator .tabulator-tableholder:focus{outline:none}.tabulator .tabulator-tableholder .tabulator-table{background-color:var(--body-background-color,var(--cx-color-neutral-0));white-space:nowrap;color:var(--color);min-width:100%;display:inline-block;position:relative;overflow:visible}`, Yu = q`.tabulator .tabulator-header .tabulator-calcs-holder{box-sizing:border-box;border-top:var(--border-width) solid var(--cx-color-neutral-400);border-bottom:var(--border-width) solid var(--cx-color-neutral-400);display:inline-block;background:var(--cx-color-neutral-100)!important}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row{background:var(--cx-color-neutral-100)!important}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs{font-weight:700;background:var(--cx-color-neutral-200)!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-top{border-bottom:2px solid var(--cx-color-neutral-400)}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-bottom{border-top:2px solid var(--cx-color-neutral-400)}.tabulator .tabulator-footer .tabulator-calcs-holder{box-sizing:border-box;text-align:left;border-bottom:1px solid var(--cx-color-neutral-400);border-top:1px solid var(--cx-color-neutral-400);width:100%;overflow:hidden;background:var(--cx-color-neutral-100)!important}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row{display:inline-block;background:var(--cx-color-neutral-100)!important}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-footer .tabulator-calcs-holder:only-child{border-bottom:none;margin-bottom:-5px}`, Zu = q`.tabulator-clickable-cell{color:var(--clickable-cell-color,var(--cx-color-primary-600));cursor:pointer}.tabulator-clickable-cell:hover{text-decoration:underline}.tabulator-clickable-cell cx-icon,.tabulator-clickable-cell cx-icon-button{color:var(--color)}`, Qu = q`.tabulator-row .tabulator-cell .tabulator-data-tree-branch-empty{display:none}.tabulator-row .tabulator-cell .tabulator-data-tree-branch{border-left:2px solid var(--cx-color-neutral-400);border-bottom:2px solid var(--cx-color-neutral-400);border-bottom-left-radius:1px;width:7px;height:9px;margin-top:-9px;position:absolute}.tabulator-row .tabulator-cell .tabulator-data-tree-control{flex:0 0 var(--tabulator-tree-control-width);vertical-align:middle;width:var(--tabulator-tree-control-width);justify-content:center;align-items:center;display:inline-flex}`, ep = q`.tabulator-row .tabulator-cell.tabulator-editing{padding:0 var(--cell-horizontal-padding);outline:none}.tabulator:not(.tabulator-ranges) .tabulator-row .tabulator-cell.tabulator-editing input,.tabulator:not(.tabulator-ranges) .tabulator-row .tabulator-cell.tabulator-editing select{font-size:inherit;color:inherit;border-radius:var(--cx-input-border-radius-medium);background:0 0;border:none;outline:none;padding:0;font-family:inherit}.tabulator-ranges .tabulator-row .tabulator-cell.tabulator-editing input,.tabulator-ranges .tabulator-row .tabulator-cell.tabulator-editing select{border:var(--border-width) solid var(--border-color);background:0 0;outline:none}.tabulator-row .tabulator-cell.tabulator-validation-fail{border:var(--border-width) solid var(--cx-color-danger);background:var(--cx-color-danger-100)}.tabulator-row .tabulator-cell.tabulator-validation-fail input,.tabulator-row .tabulator-cell.tabulator-validation-fail select{border:var(--border-width) solid var(--border-color);color:var(--cx-color-danger);background:0 0}.tabulator-row .tabulator-cell.tabulator-editing.tabulator-edit-list{padding:0 var(--cx-spacing-x-small)}.tabulator-edit-list{position:relative}.tabulator-edit-list:not(.tabulator-editing) .tabulator-cell-content{padding-right:var(--cx-spacing-large)}.tabulator-edit-list-trigger{top:50%;right:var(--cx-spacing-small);width:var(--cx-spacing-large);appearance:none;height:100%;color:inherit;cursor:pointer;font:inherit;background:0 0;border:none;justify-content:center;align-items:center;padding:0;display:inline-flex;position:absolute;transform:translateY(-50%)}.tabulator-edit-list.tabulator-editing .tabulator-edit-list-trigger{display:none}.tabulator-edit-list-trigger-caret{--font-size:var(--cx-font-size-medium);color:var(--cx-color-neutral-500)}`, tp = q`.tabulator .tabulator-footer{border-top:1px solid var(--cx-color-neutral-400);background-color:var(--cx-color-neutral-200);color:var(--cx-color-neutral-500);white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;user-select:none;-khtml-user-select:none;-o-user-select:none;font-weight:700}.tabulator .tabulator-footer .tabulator-footer-contents{padding:var(--cx-spacing-2x-small) var(--cx-spacing-small);flex-direction:row;justify-content:space-between;align-items:center;display:flex}.tabulator .tabulator-footer .tabulator-footer-contents:empty{display:none}`, ip = q`.tabulator-row .tabulator-cell a{color:var(--cx-color-primary-600);text-decoration:none}.tabulator-row .tabulator-cell a:hover{text-decoration:underline}.tabulator-row .tabulator-cell .tabulator-traffic-light-container{align-items:center;gap:var(--cx-spacing-x-small);display:inline-flex}.tabulator-row .tabulator-cell .tabulator-traffic-light{border-radius:var(--cx-border-radius-x-large);width:14px;height:14px;display:inline-block}.tabulator-composite,.tabulator-composite>span,.tabulator-composite>span>cx-line-clamp{min-width:0}.tabulator-composite,.tabulator-composite>span{overflow:hidden}.tabulator-composite>span:has(cx-icon,img,cx-avatar,cx-switch){flex-shrink:0}`, sp = q`.tabulator:has(.tabulator-frozen) .tabulator-tableholder-wrapper:before,.tabulator:has(.tabulator-frozen) .tabulator-header:before{z-index:var(--frozen-overlay-z-index)}.tabulator:not(.tabulator-rtl) .tabulator-header .tabulator-col.tabulator-frozen.tabulator-frozen-left,.tabulator:not(.tabulator-rtl) .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-right-color:#0000}.tabulator:not(.tabulator-rtl) .tabulator-header .tabulator-col.tabulator-frozen.tabulator-frozen-right,.tabulator:not(.tabulator-rtl) .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-left-color:#0000}.tabulator:not(.tabulator-rtl):has(.tabulator-frozen-pinned-start):before,.tabulator:not(.tabulator-rtl):has(.tabulator-frozen-pinned-end):after{content:"";background-color:var(--frozen-border-color);pointer-events:none;width:2px;z-index:var(--frozen-divider-z-index);position:absolute;top:0;bottom:0}.tabulator:not(.tabulator-rtl):has(.tabulator-frozen-pinned-start):before{left:calc(var(--frozen-left-width,0px) - 2px)}.tabulator:not(.tabulator-rtl):has(.tabulator-frozen-pinned-end):after{right:calc(var(--frozen-right-width,0px) + var(--frozen-scrollbar-width,0px) - 2px)}.tabulator .tabulator-col-resize-handle.tabulator-col-resize-handle-pinned-end{width:6px;z-index:var(--frozen-overlay-z-index);margin-left:-3px;margin-right:-3px}.tabulator:has(.tabulator-frozen) .tabulator-tableholder::-webkit-scrollbar-track:horizontal{margin-left:var(--frozen-left-width,0px);margin-right:var(--frozen-right-width,0px)}.tabulator.tabulator-rtl:has(.tabulator-frozen) .tabulator-tableholder::-webkit-scrollbar-track:horizontal{margin-left:var(--frozen-right-width,0px);margin-right:var(--frozen-left-width,0px)}.tabulator:has(.tabulator-frozen)>.os-scrollbar-horizontal{margin-left:var(--frozen-left-width,0px);margin-right:var(--frozen-right-width,0px)}.tabulator.tabulator-rtl:has(.tabulator-frozen)>.os-scrollbar-horizontal{margin-left:var(--frozen-right-width,0px);margin-right:var(--frozen-left-width,0px)}`, op = q`.tabulator-row.tabulator-group{box-sizing:border-box;border-bottom:var(--border-width) solid var(--group-row-border-color);border-right:var(--border-width) solid var(--group-row-border-color);padding:var(--cx-spacing-2x-small);padding-left:var(--cx-spacing-small);background:var(--group-row-background-color);min-width:100%;line-height:var(--header-height);color:var(--group-row-color);font-weight:var(--group-row-font-weight)}.tabulator-row.tabulator-group.tabulator-row-last{border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius)}@media (hover:hover) and (pointer:fine){.tabulator-row.tabulator-group:hover{cursor:pointer;background-color:var(--group-row-hover-background-color)}}.tabulator-row.tabulator-group.tabulator-group-level-1{padding-left:30px}.tabulator-row.tabulator-group.tabulator-group-level-2{padding-left:50px}.tabulator-row.tabulator-group.tabulator-group-level-3{padding-left:70px}.tabulator-row.tabulator-group.tabulator-group-level-4{padding-left:90px}.tabulator-row.tabulator-group.tabulator-group-level-5{padding-left:110px}.tabulator-row.tabulator-group .tabulator-group-toggle{display:inline-flex}.tabulator-row.tabulator-group .tabulator-group-count{margin-left:var(--cx-spacing-small);color:var(--group-count-color)}`, rp = q`:host{--selected-column-header-background-color:var(--header-background-color);--selected-column-header-color:var(--header-color)}.tabulator .tabulator-header{box-sizing:border-box;width:fit-content;max-width:100%;font-weight:var(--header-font-weight);font-size:var(--header-font-size);color:var(--header-color);white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-khtml-user-select:none;-o-user-select:none;outline:none;position:relative}.tabulator .tabulator-header.tabulator-header-hidden{display:none}.tabulator .tabulator-header .tabulator-header-contents{box-sizing:border-box;width:100%;position:relative;overflow:hidden}.tabulator .tabulator-header:before{content:"";z-index:1;pointer-events:none;border:var(--border-width) solid var(--outer-border-color);border-bottom:var(--header-border-bottom);border-top-right-radius:var(--border-radius);border-top-left-radius:var(--border-radius);width:100%;height:100%;display:block;position:absolute;top:0;left:0}.tabulator .tabulator-header .tabulator-col:last-of-type{border-right:none}.tabulator .tabulator-header .tabulator-header-contents .tabulator-headers{background-color:var(--header-background-color);display:inline-block}.tabulator .tabulator-header .tabulator-col{box-sizing:border-box;border-right:var(--header-border-right);background:var(--header-background-color);text-align:left;vertical-align:bottom;height:var(--header-height);flex-direction:column;justify-content:center;display:inline-flex;position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-col.tabulator-moving{border:solid var(--border-width) var(--border-color);background:var(--cx-color-neutral-300);pointer-events:none;position:absolute}.tabulator .tabulator-header .tabulator-col.tabulator-range-highlight{background-color:var(--selected-column-header-background-color);color:var(--selected-column-header-color)}.tabulator .tabulator-header .tabulator-col.tabulator-range-selected{background-color:var(--cx-color-primary-500);color:var(--cx-color-neutral-0)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content{box-sizing:border-box;padding:var(--cx-spacing-2x-small) var(--header-horizontal-padding);position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button{padding:0 var(--cx-spacing-x-small)}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button:hover{cursor:pointer;opacity:.6}}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title-holder{align-items:center;gap:var(--cx-spacing-2x-small);display:flex;position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title{box-sizing:border-box;white-space:nowrap;text-overflow:ellipsis;vertical-align:bottom;flex:auto;width:100%;min-width:0;overflow:hidden}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title.tabulator-col-title-wrap{white-space:normal;text-overflow:initial}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-title-editor{box-sizing:border-box;border:solid var(--border-width) var(--border-color);width:100%;padding:var(--cx-spacing-3x-small);background:var(--cx-color-neutral-0)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-header-popup-button+.tabulator-title-editor{width:calc(100% - 22px)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{inline-size:var(--cx-spacing-medium);block-size:var(--cx-spacing-medium);flex:none;order:-1;justify-content:center;align-items:center;display:flex;position:static}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter cx-icon{--font-size:var(--cx-font-size-medium);color:var(--cx-color-neutral-400)}.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{border-top:1px solid var(--cx-color-neutral-400);margin-right:-1px;display:flex;position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter{box-sizing:border-box;margin-top:var(--cx-spacing-3x-small);text-align:center;width:100%;position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter textarea{height:auto!important}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter svg{margin-top:var(--cx-spacing-3x-small)}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input::-ms-clear{width:0;height:0}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable.tabulator-col-sorter-element:hover{cursor:pointer}.tabulator .tabulator-header .tabulator-col:hover{background-color:var(--header-hover-background-color)}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter cx-icon{visibility:hidden}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none]:hover .tabulator-col-content .tabulator-col-sorter cx-icon{visibility:visible}}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical .tabulator-col-content .tabulator-col-title{writing-mode:vertical-rl;text-orientation:mixed;justify-content:center;align-items:center;display:flex}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-col-vertical-flip .tabulator-col-title{transform:rotate(180deg)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-title{padding-right:0;padding-top:var(--cx-spacing-large)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable.tabulator-col-vertical-flip .tabulator-col-title{padding-right:0;padding-bottom:var(--cx-spacing-large)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-sorter{justify-content:center;inline-size:auto;position:absolute;inset:4px 0 auto}.tabulator .tabulator-header .tabulator-frozen{z-index:11;position:sticky;left:0}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-left{border-right:2px solid var(--frozen-border-color)}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-right{border-left:2px solid var(--frozen-border-color)}.tabulator .tabulator-header .tabulator-frozen-rows-holder{border-bottom:2px solid var(--frozen-border-color);display:inline-block}.tabulator .tabulator-header .tabulator-frozen-rows-holder:empty{display:none}`, np = q`:host{--hover-menu-background-color:transparent}.tabulator-hover-menu{padding-left:var(--cell-horizontal-padding);padding-right:var(--cell-horizontal-padding);background-color:var(--hover-menu-background-color);opacity:0;pointer-events:none;z-index:12;align-items:center;height:100%;display:flex;position:absolute;top:0}.tabulator:not(.tabulator-editing) .tabulator-hover-menu--active{opacity:1;pointer-events:auto}`, ap = q`.tabulator-row .tabulator-cell.tabulator-row-handle{-webkit-user-select:none;-moz-user-select:none;-khtml-user-select:none;-o-user-select:none;justify-content:center;align-items:center;display:inline-flex}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box{width:80%}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box .tabulator-row-handle-bar{width:100%;height:3px;margin-top:var(--cx-spacing-3x-small);background:var(--cx-color-neutral-600)}`, lp = q`:host{--scrollbar-size:17px;--scrollbar-thumb-border-width:7px;--scrollbar-thumb-border-width-hover:4px;--scrollbar-thumb-border-color:#0000;--scrollbar-thumb-radius:13px;--scrollbar-thumb-min-size:50px}.table{position:relative}.table>.os-scrollbar-vertical,.table>.os-scrollbar.os-scrollbar-vertical.os-scrollbar-cornerless{top:calc(var(--header-height) + var(--border-width))}.table.tabulator-header-hidden>.os-scrollbar-vertical,.table.tabulator-header-hidden>.os-scrollbar.os-scrollbar-vertical.os-scrollbar-cornerless{top:var(--border-width)}.table>.os-scrollbar{--os-size:var(--scrollbar-size);--os-padding-perpendicular:0px;--os-padding-axis:0px;--os-handle-border-radius:var(--scrollbar-thumb-radius);--os-handle-border:var(--scrollbar-thumb-border-width) solid var(--scrollbar-thumb-border-color);--os-handle-border-hover:var(--scrollbar-thumb-border-width-hover) solid var(--scrollbar-thumb-border-color);--os-handle-border-active:var(--scrollbar-thumb-border-width-hover) solid var(--scrollbar-thumb-border-color);--os-handle-min-size:var(--scrollbar-thumb-min-size)}.table>.os-scrollbar .os-scrollbar-handle{background-clip:padding-box}`, hp = q`.tabulator .tabulator-footer .tabulator-paginator{flex:1}.tabulator .tabulator-footer .tabulator-paginator-pagination{margin-left:auto}.tabulator-paginator-pagination{--font-size:var(--cx-font-size-x-small);--pagination-input-font-size:var(--cx-font-size-x-small)}.tabulator-paginator-pagination::part(back-icon),.tabulator-paginator-pagination::part(next-icon){--font-size:var(--cx-font-size-medium)}`, cp = q`:host{--placeholder-color:var(--cx-color-neutral-800);--placeholder-font-weight:var(--cx-font-weight-regular);--placeholder-font-size:var(--cx-font-size-small)}.tabulator .tabulator-tableholder-wrapper .tabulator-placeholder{box-sizing:border-box;justify-content:center;align-items:center;width:100%;min-width:100%;display:flex}.tabulator .tabulator-tableholder-wrapper .tabulator-placeholder[tabulator-render-mode=virtual]{min-height:100%}.tabulator .tabulator-placeholder .tabulator-placeholder-contents{height:100%;padding:var(--cx-spacing-small);color:var(--placeholder-color);font-weight:var(--placeholder-font-weight);font-size:var(--placeholder-font-size);white-space:normal;justify-content:center;align-items:center;display:flex}.tabulator .tabulator-tableholder-wrapper .tabulator-placeholder.tabulator-placeholder--initializing .tabulator-placeholder-contents{visibility:hidden}.tabulator.tabulator-all-columns-hidden .tabulator-header{width:100%;height:var(--header-height);min-height:var(--header-height)}.tabulator.tabulator-all-columns-hidden .tabulator-header .tabulator-header-contents{background-color:var(--header-background-color);flex-direction:column;width:100%;height:100%;min-height:0;display:flex}.tabulator.tabulator-all-columns-hidden .tabulator-header:before{box-sizing:border-box;width:auto;height:auto;inset:0}.tabulator.tabulator-all-columns-hidden .tabulator-header .tabulator-header-contents .tabulator-headers{box-sizing:border-box;flex:1;align-self:stretch;width:100%;min-height:0;display:flex}.tabulator.tabulator-all-columns-hidden .tabulator-tableholder-wrapper{width:100%}.tabulator-row.tabulator-placeholder-row{border-left:var(--border-width) solid var(--cell-border-color);border-right:var(--border-width) solid var(--cell-border-color);border-bottom:var(--border-width) solid var(--cell-bottom-border-color);padding:var(--cx-spacing-2x-small) var(--cell-horizontal-padding)}`, dp = q`.tabulator-toggle{box-sizing:border-box;border:var(--border-width) solid var(--cx-color-neutral-300);background:var(--cx-color-neutral-200);flex-direction:row;display:flex}.tabulator-toggle.tabulator-toggle-on{background:var(--cx-color-primary-700)}.tabulator-toggle .tabulator-toggle-switch{box-sizing:border-box;border:var(--border-width) solid var(--cx-color-neutral-300);background:var(--cx-color-neutral-0)}.tabulator-popup-container{box-sizing:border-box;background:var(--cx-color-neutral-0);border:var(--border-width) solid var(--cx-color-neutral-400);font-size:var(--cx-font-size-small);-webkit-overflow-scrolling:touch;z-index:10000;display:inline-block;position:absolute;overflow-y:auto;box-shadow:0 0 5px #0003}.tabulator-popup{padding:var(--cx-spacing-2x-small);border-radius:var(--cx-border-radius-small)}.tabulator-tooltip{max-width:min(500px,100%);padding:var(--cx-spacing-3x-small) var(--cx-spacing-2x-small);border-radius:var(--cx-border-radius-small);box-shadow:none;font-size:var(--cx-font-size-x-small);pointer-events:none}.tabulator-menu .tabulator-menu-item{box-sizing:border-box;padding:var(--cx-spacing-2x-small) var(--cx-spacing-small);user-select:none;position:relative}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-disabled{opacity:.5}@media (hover:hover) and (pointer:fine){.tabulator-menu .tabulator-menu-item:not(.tabulator-menu-item-disabled):hover{cursor:pointer;background:var(--cx-color-neutral-50)}}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu{padding-right:var(--cx-spacing-x-large)}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu:after{content:"";border-width:var(--border-width) var(--border-width) 0 0;border-style:solid;border-color:var(--cx-color-neutral-400);vertical-align:top;width:7px;height:7px;display:inline-block;position:absolute;top:calc(5px + .4em);right:10px;transform:rotate(45deg)}.tabulator-menu .tabulator-menu-separator{border-top:var(--border-width) solid var(--cx-color-neutral-400)}`, up = q`.tabulator-print-fullscreen{z-index:10000;position:absolute;inset:0}body.tabulator-print-fullscreen-hide>:not(.tabulator-print-fullscreen){display:none!important}.tabulator-print-table{border-collapse:collapse}.tabulator-print-table .tabulator-data-tree-branch{vertical-align:middle;width:7px;height:9px;margin-top:-9px;margin-right:var(--cx-spacing-2x-small);border-left:2px solid var(--cx-color-neutral-400);border-bottom:2px solid var(--cx-color-neutral-400);border-bottom-left-radius:1px;display:inline-block}.tabulator-print-table .tabulator-print-table-group{box-sizing:border-box;border-bottom:var(--border-width) solid var(--cx-color-neutral-400);border-right:var(--border-width) solid var(--cx-color-neutral-400);border-top:var(--border-width) solid var(--cx-color-neutral-400);padding:var(--cx-spacing-2x-small);padding-left:var(--cx-spacing-small);background:var(--cx-color-neutral-300);min-width:100%;font-weight:700}@media (hover:hover) and (pointer:fine){.tabulator-print-table .tabulator-print-table-group:hover{cursor:pointer;background-color:#0000001a}}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-1 td{padding-left:30px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-2 td{padding-left:50px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-3 td{padding-left:70px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-4 td{padding-left:90px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-5 td{padding-left:110px!important}.tabulator-print-table .tabulator-print-table-group .tabulator-group-toggle{display:inline-block}.tabulator-print-table .tabulator-print-table-group span{margin-left:var(--cx-spacing-small);color:var(--cx-color-danger)}`, pp = q`.tabulator .tabulator-col-resize-handle{z-index:11;vertical-align:middle;width:6px;margin-left:-3px;margin-right:-3px;display:inline-block;position:relative}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-col-resize-handle:hover{cursor:ew-resize}}.tabulator .tabulator-col-resize-handle:last-of-type{width:3px;margin-right:0}.tabulator .tabulator-col-resize-guide{background-color:var(--cx-color-neutral-400);opacity:.5;width:4px;height:100%;margin-left:-.5px;position:absolute;top:0}.tabulator .tabulator-row-resize-guide{background-color:var(--cx-color-neutral-400);opacity:.5;width:100%;height:4px;margin-top:-.5px;position:absolute;left:0}`, fp = q`.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle{-webkit-user-select:none;-moz-user-select:none;user-select:none;-khtml-user-select:none;-o-user-select:none;border-radius:var(--cx-border-radius-x-large);background:var(--cx-color-neutral-600);width:15px;height:15px;color:var(--cx-color-neutral-0);justify-content:center;align-items:center;font-size:1.1em;font-weight:700;display:inline-flex}@media (hover:hover) and (pointer:fine){.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle:hover{opacity:.7;cursor:pointer}}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-close{display:initial}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-open{display:none}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle svg{stroke:var(--cx-color-neutral-0)}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle .tabulator-responsive-collapse-toggle-close{display:none}`, mp = q`.tabulator-row{box-sizing:border-box;background-color:var(--row-background-color);min-height:22px;display:flex;position:relative}.tabulator-row .tabulator-cell-first{border-left:var(--border-width) solid var(--outer-border-color)}.tabulator-row.tabulator-row-even{background-color:var(--row-even-background-color)}@media (hover:hover) and (pointer:fine){.tabulator-row.tabulator-selectable:hover{background-color:var(--row-hover-background-color);cursor:pointer}.tabulator-row.tabulator-row-even.tabulator-selectable:hover{background-color:var(--row-even-hover-background-color);cursor:pointer}}.tabulator-cell.tabulator-selection-cell-disabled cx-checkbox{--cx-checkbox-disabled-background:var(--cx-color-neutral-100);--cx-checkbox-disabled-border-color:var(--cx-color-neutral-200)}.tabulator-row.tabulator-selected:not(:has(cx-checkbox)){background-color:var(--cx-color-primary-200)}@media (hover:hover) and (pointer:fine){.tabulator-row.tabulator-selected:not(:has(cx-checkbox)):hover{background-color:var(--cx-color-primary-300);cursor:pointer}}.tabulator-row.tabulator-row-moving{border:var(--border-width) solid var(--cx-color-neutral-1000);background:var(--cx-color-neutral-0)}.tabulator-row.tabulator-moving{border-top:var(--border-width) solid var(--cx-color-neutral-400);border-bottom:var(--border-width) solid var(--cx-color-neutral-400);pointer-events:none;z-index:15;position:absolute}.tabulator-header-hidden .tabulator-row.tabulator-row-first .tabulator-cell.tabulator-cell-last{border-top-right-radius:var(--border-radius)}.tabulator-row .tabulator-row-resize-handle{height:5px;position:absolute;bottom:0;left:0;right:0}.tabulator-row .tabulator-row-resize-handle.prev{top:0;bottom:auto}@media (hover:hover) and (pointer:fine){.tabulator-row .tabulator-row-resize-handle:hover{cursor:ns-resize}}.tabulator-row .tabulator-responsive-collapse{box-sizing:border-box;padding:var(--cx-spacing-2x-small);border-top:var(--border-width) solid var(--cx-color-neutral-400);border-bottom:var(--border-width) solid var(--cx-color-neutral-400)}.tabulator-row .tabulator-responsive-collapse:empty{display:none}.tabulator-row .tabulator-responsive-collapse table{font-size:var(--cx-font-size-small)}.tabulator-row .tabulator-responsive-collapse table tr td{position:relative}.tabulator-row .tabulator-responsive-collapse table tr td:first-of-type{padding-right:var(--cx-spacing-small)}.tabulator-row .tabulator-cell{vertical-align:middle;box-sizing:border-box;padding:var(--cx-spacing-2x-small) var(--cell-horizontal-padding);border-right:var(--border-width) solid var(--cell-border-color);border-bottom:var(--border-width) solid var(--cell-bottom-border-color);display:inline-flex;position:relative}@media (hover:hover) and (pointer:fine){.tabulator-row .tabulator-cell:not(:has(cx-checkbox)):hover,.tabulator-row .tabulator-cell.tabulator-frozen:not(:has(cx-checkbox)):hover{background-color:var(--cell-hover-background-color)}.tabulator-row .tabulator-cell.tabulator-selection-cell-disabled:hover{cursor:default}}.tabulator-row .tabulator-cell:has(cx-checkbox),.tabulator-row .tabulator-cell.tabulator-frozen:has(cx-checkbox){background-color:var(--row-background-color)}.tabulator-row.tabulator-row-even .tabulator-cell:has(cx-checkbox),.tabulator-row.tabulator-row-even .tabulator-cell.tabulator-frozen:has(cx-checkbox){background-color:var(--row-even-background-color)}.tabulator-row .tabulator-cell .tabulator-cell-content{width:100%;height:100%;font-size:var(--cell-font-size);font-weight:var(--cell-font-weight);line-height:var(--cell-line-height);align-items:center;display:inline-flex}.tabulator-row .tabulator-cell .tabulator-cell-content cx-line-clamp{width:100%;max-width:max-content}.tabulator-row .tabulator-cell.tabulator-row-header{border-right:var(--border-width) solid var(--row-header-border-color)}.tabulator-row .tabulator-cell.tabulator-frozen{background-color:inherit;z-index:11;display:inline-block;position:sticky;left:0}.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-right:2px solid var(--frozen-border-color)}.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-left:2px solid var(--frozen-border-color)}.tabulator-row:has(+.tabulator-placeholder-row) .tabulator-cell{border-bottom:none}`, gp = q`.tabulator.tabulator-ltr{direction:ltr}.tabulator.tabulator-rtl{text-align:initial;direction:rtl}.tabulator.tabulator-rtl .tabulator-header .tabulator-col{text-align:initial;border-left:var(--border-width) solid var(--cx-color-neutral-400);border-right:initial}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{margin-right:initial;margin-left:-1px}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell{border-right:initial;border-left:var(--border-width) solid var(--cell-border-color)}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-branch{margin-right:initial;margin-left:var(--cx-spacing-2x-small);border-bottom-left-radius:initial;border-left:initial;border-right:2px solid var(--cx-color-neutral-400);border-bottom-right-radius:1px}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-left:2px solid var(--frozen-border-color)}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-right:2px solid var(--frozen-border-color)}.tabulator.tabulator-rtl .tabulator-row .tabulator-col-resize-handle:last-of-type{width:3px;margin-left:0;margin-right:-3px}.tabulator.tabulator-rtl .tabulator-footer .tabulator-calcs-holder{text-align:initial}`, bp = q`:host{--table-active-cell-border-color:var(--border-color);--table-selected-cell-border-width:1px;--table-selected-cell-border-style:solid;--table-selected-only-cell-background-color:transparent;--table-selected-range-cell-background-color:var(--cx-color-neutral-100);--table-selected-range-selection-start-cell-background-color:var(--cx-color-neutral-50);--table-selected-cell-hover-background-color:var(--cx-color-neutral-50);--table-editable-only-cell-selected-background-color:var(--cx-color-primary-50);--table-editable-cell-hover-background-color:var(--cx-color-primary-50);--table-editable-only-cell-active-border-color:var(--cx-color-primary-600)}.tabulator .tabulator-tableholder .tabulator-range-overlay{z-index:10;pointer-events:none;position:absolute;inset:0}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range{box-sizing:border-box;position:absolute}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range-cell-active,.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range-cell-hover{box-sizing:border-box;border-color:var(--table-active-cell-border-color);border-style:var(--table-selected-cell-border-style);border-width:var(--table-selected-cell-border-width);background-color:var(--table-selected-only-cell-background-color);position:absolute}.tabulator-row.tabulator-range-highlight .tabulator-cell.tabulator-range-row-header{background-color:var(--cx-color-neutral-300);color:var(--cx-color-neutral-1000)}.tabulator-row.tabulator-range-highlight.tabulator-range-selected .tabulator-cell.tabulator-range-row-header,.tabulator-row.tabulator-range-selected .tabulator-cell.tabulator-range-row-header{background-color:var(--cx-color-primary-500);color:var(--cx-color-neutral-0)}.tabulator-row .tabulator-cell.tabulator-range-selected:not(.tabulator-range-row-header):not(:has(cx-checkbox)){background-color:var(--table-selected-range-cell-background-color)}.tabulator-row .tabulator-cell.tabulator-range-selection-start:not(.tabulator-range-row-header):not(:has(cx-checkbox)){background-color:var(--table-selected-range-selection-start-cell-background-color)}.tabulator-row .tabulator-cell.tabulator-range-selected:not(.tabulator-range-row-header):not(:has(cx-checkbox)):hover{background-color:var(--table-selected-cell-hover-background-color)}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-editable.tabulator-range-only-cell-active.tabulator-range-cell-active{border-color:var(--table-editable-only-cell-active-border-color)}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-editable.tabulator-range-cell-hover{border:var(--border-width) solid var(--table-editable-only-cell-active-border-color)}.tabulator-row .tabulator-cell.tabulator-editable:not(:has(cx-checkbox)):hover{background-color:var(--table-editable-cell-hover-background-color)}.tabulator-row .tabulator-cell.tabulator-editable.tabulator-range-only-cell-selected:not(.tabulator-range-row-header):not(:has(cx-checkbox)){background-color:var(--table-editable-only-cell-selected-background-color)}.tabulator-row .tabulator-cell.tabulator-editable.tabulator-range-selected:not(.tabulator-range-row-header):not(:has(cx-checkbox)):hover{background-color:var(--table-editable-cell-hover-background-color)}`, wp = q`.tabulator .tabulator-footer .tabulator-spreadsheet-tabs{margin-top:-5px;overflow-x:auto}.tabulator .tabulator-footer .tabulator-spreadsheet-tabs .tabulator-spreadsheet-tab{padding:var(--cx-spacing-2x-small);border:solid var(--border-width) var(--border-color);border-top:none;border-bottom-right-radius:5px;border-bottom-left-radius:5px;font-size:.9em;display:inline-block}.tabulator .tabulator-footer .tabulator-spreadsheet-tabs .tabulator-spreadsheet-tab:hover{cursor:pointer;opacity:.7}.tabulator .tabulator-footer .tabulator-spreadsheet-tabs .tabulator-spreadsheet-tab.tabulator-spreadsheet-tab-active{background:var(--cx-color-neutral-0)}`, vp = [
20180
20239
  Ju,
20181
20240
  lp,
20182
20241
  rp,
@@ -20269,7 +20328,7 @@ function Rp(n, e) {
20269
20328
  x`<cx-icon name=${t} aria-hidden="true"></cx-icon>`
20270
20329
  );
20271
20330
  }
20272
- function Lr(n, e, t, i = 500) {
20331
+ function Fr(n, e, t, i = 500) {
20273
20332
  return new Promise((s, o) => {
20274
20333
  if (!Number.isInteger(i) || i < 1) {
20275
20334
  o(new RangeError("chunkSize must be a positive integer"));
@@ -20306,19 +20365,19 @@ function Lr(n, e, t, i = 500) {
20306
20365
  });
20307
20366
  });
20308
20367
  }
20309
- async function zr(n, e, t, i = 500, s = "") {
20368
+ async function Lr(n, e, t, i = 500, s = "") {
20310
20369
  if (!Number.isInteger(i) || i < 1)
20311
20370
  throw new RangeError("chunkSize must be a positive integer");
20312
- const { columns: o, rows: r } = vn(n, s);
20371
+ const { columns: o, rows: r } = wn(n, s);
20313
20372
  e(o);
20314
20373
  for (let a = 0; a < r.length; a += i)
20315
20374
  await t(r.slice(a, a + i));
20316
20375
  return r.length;
20317
20376
  }
20318
- async function _r(n, e, t, i = 500, s = "") {
20377
+ async function zr(n, e, t, i = 500, s = "") {
20319
20378
  if (!Number.isInteger(i) || i < 1)
20320
20379
  throw new RangeError("chunkSize must be a positive integer");
20321
- const o = JSON.parse(n), { columns: r, rows: a } = wn(o, s);
20380
+ const o = JSON.parse(n), { columns: r, rows: a } = bn(o, s);
20322
20381
  e(r);
20323
20382
  for (let l = 0; l < a.length; l += i)
20324
20383
  await t(a.slice(l, l + i));
@@ -20327,16 +20386,16 @@ async function _r(n, e, t, i = 500, s = "") {
20327
20386
  function hs(n) {
20328
20387
  return typeof n == "object" && n !== null && !Array.isArray(n);
20329
20388
  }
20330
- function bn(n) {
20389
+ function gn(n) {
20331
20390
  return n.split(/[./]/).filter((e) => e.length > 0);
20332
20391
  }
20333
20392
  function Sp(n, e) {
20334
- return bn(e).reduce((t, i) => {
20393
+ return gn(e).reduce((t, i) => {
20335
20394
  if (!(t === null || typeof t != "object"))
20336
20395
  return t[i];
20337
20396
  }, n);
20338
20397
  }
20339
- function wn(n, e = "") {
20398
+ function bn(n, e = "") {
20340
20399
  if (e) {
20341
20400
  const i = Sp(n, e);
20342
20401
  if (!Array.isArray(i))
@@ -20391,39 +20450,39 @@ function Tp(n) {
20391
20450
  return kp(e.data);
20392
20451
  }
20393
20452
  function Dp(n) {
20394
- const e = JSON.parse(n), { columns: t, rows: i } = wn(e);
20453
+ const e = JSON.parse(n), { columns: t, rows: i } = bn(e);
20395
20454
  return { columns: t, data: i };
20396
20455
  }
20397
20456
  function Mp(n) {
20398
- const { columns: e, rows: t } = vn(n);
20457
+ const { columns: e, rows: t } = wn(n);
20399
20458
  return { columns: e, data: t };
20400
20459
  }
20401
20460
  function Fp(n, e) {
20402
- const t = bn(e).reduce((i, s) => i ? /^\d+$/.test(s) ? i.children[Number(s)] ?? null : ro(i, s) : null, n);
20461
+ const t = gn(e).reduce((i, s) => i ? /^\d+$/.test(s) ? i.children[Number(s)] ?? null : ro(i, s) : null, n);
20403
20462
  if (!t)
20404
20463
  throw new Error(`Data path "${e}" did not resolve to an element`);
20405
20464
  return t;
20406
20465
  }
20407
- function vn(n, e = "") {
20466
+ function wn(n, e = "") {
20408
20467
  const t = new DOMParser().parseFromString(n, "text/xml"), i = t.querySelector("parsererror");
20409
20468
  if (i)
20410
20469
  throw new Error(`XML parse error: ${i.textContent?.trim() ?? "unknown error"}`);
20411
20470
  const s = t.documentElement;
20412
20471
  if (e)
20413
- return Or(Array.from(Fp(s, e).children));
20472
+ return _r(Array.from(Fp(s, e).children));
20414
20473
  const o = ro(s, "columns"), r = ro(s, "rows");
20415
20474
  if (o && r) {
20416
20475
  const a = Array.from(o.children).map((h) => ({
20417
20476
  field: h.getAttribute("field") ?? h.tagName,
20418
20477
  title: h.getAttribute("title") ?? h.getAttribute("field") ?? h.tagName
20419
20478
  })), l = Array.from(r.children).map(
20420
- (h) => yn(h, a.map((c) => c.field).filter((c) => c !== void 0))
20479
+ (h) => vn(h, a.map((c) => c.field).filter((c) => c !== void 0))
20421
20480
  );
20422
20481
  return { columns: a, rows: l };
20423
20482
  }
20424
- return Or(Array.from(s.children));
20483
+ return _r(Array.from(s.children));
20425
20484
  }
20426
- function Or(n) {
20485
+ function _r(n) {
20427
20486
  if (n.length === 0)
20428
20487
  return { columns: [], rows: [] };
20429
20488
  const e = /* @__PURE__ */ new Set(), t = [];
@@ -20432,7 +20491,7 @@ function Or(n) {
20432
20491
  e.has(r.tagName) || (e.add(r.tagName), t.push(r.tagName));
20433
20492
  if (t.length === 0)
20434
20493
  return { columns: [], rows: [] };
20435
- const i = t.map((o) => ({ field: o, title: o })), s = n.map((o) => yn(o, t));
20494
+ const i = t.map((o) => ({ field: o, title: o })), s = n.map((o) => vn(o, t));
20436
20495
  return { columns: i, rows: s };
20437
20496
  }
20438
20497
  function ro(n, e) {
@@ -20454,7 +20513,7 @@ function Lp(n) {
20454
20513
  const t = Number(e);
20455
20514
  return !Number.isNaN(t) && Number.isFinite(t) ? t : n;
20456
20515
  }
20457
- function yn(n, e) {
20516
+ function vn(n, e) {
20458
20517
  const t = /* @__PURE__ */ new Map();
20459
20518
  for (const i of Array.from(n.children))
20460
20519
  t.set(i.tagName, Lp(i.textContent ?? ""));
@@ -20477,26 +20536,26 @@ function zp(n, e) {
20477
20536
  function _p(n, e, t) {
20478
20537
  return n !== ve.Auto ? n : zp(e, t);
20479
20538
  }
20480
- var Op = Object.defineProperty, Ap = Object.getOwnPropertyDescriptor, Cn = (n) => {
20539
+ var Op = Object.defineProperty, Ap = Object.getOwnPropertyDescriptor, yn = (n) => {
20481
20540
  throw TypeError(n);
20482
20541
  }, v = (n, e, t, i) => {
20483
20542
  for (var s = i > 1 ? void 0 : i ? Ap(e, t) : e, o = n.length - 1, r; o >= 0; o--)
20484
20543
  (r = n[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
20485
20544
  return i && s && Op(e, t, s), s;
20486
- }, Pp = (n, e, t) => e.has(n) || Cn("Cannot " + t), Ip = (n, e, t) => (Pp(n, e, "read from private field"), t ? t.call(n) : e.get(n)), Hp = (n, e, t) => e.has(n) ? Cn("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(n) : e.set(n, t), no, En;
20545
+ }, Pp = (n, e, t) => e.has(n) || yn("Cannot " + t), Ip = (n, e, t) => (Pp(n, e, "read from private field"), t ? t.call(n) : e.get(n)), Hp = (n, e, t) => e.has(n) ? yn("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(n) : e.set(n, t), no, Cn;
20487
20546
  let g = class extends Pe {
20488
20547
  constructor() {
20489
- super(), Hp(this, no), this.localize = new tt(this), this.hasSlotController = new Ur(this, "add-action"), this.verticalOsInstance = null, this.horizontalOsInstance = null, this.frozenScrollOff = null, this.resizeObserver = null, this.overflowObserver = null, this.ajaxFacetsController = new $u(this), this.filterController = new Ku(this), this.ajaxFacetFilterController = new Uu(this, this.filterController), this.selectAllController = new qu(this), this.shadowRootAutoloader = new gn(
20548
+ super(), Hp(this, no), this.localize = new tt(this), this.hasSlotController = new Gr(this, "add-action"), this.osInstance = null, this.resizeObserver = null, this.overflowObserver = null, this.ajaxFacetsController = new $u(this), this.filterController = new Ku(this), this.ajaxFacetFilterController = new Uu(this, this.filterController), this.selectAllController = new qu(this), this.shadowRootAutoloader = new mn(
20490
20549
  this
20491
20550
  ), this.validationTooltipAnchor = null, this.validationTooltipHidePromise = null, this.movableRows = !1, this.movableColumns = !1, this.data = void 0, this.rowHeight = 48, this.layout = "fitColumns", this.columns = [], this.footerElement = void 0, this.responsiveLayout = !1, this.responsiveLayoutCollapseFormatter = void 0, this.responsiveLayoutCollapseUseFormatters = void 0, this.rowHeader = void 0, this.noHeader = !1, this.textDirection = void 0, this.responsiveLayoutCollapseStartOpen = void 0, this.renderVerticalBuffer = void 0, this.renderVertical = "virtual", this.validateOnLoad = !1, this.validationWorkerThreshold = void 0, this.columnDefaults = {}, this.headerContextMenu = !1, this.canSearch = !1, this.noAdvancedSearch = !1, this.showSavedSearch = !1, this.searchFields = [], this.searchMatchAnyKeyword = !1, this.canAdd = !1, this.addLabel = this.localize.term("add"), this.canExportCsv = !1, this.canExportXml = !1, this.canExportPdf = !1, this.canExportCustom = !1, this.canSaveReport = !1, this.savedSearchURL = "", this.savedSearchItems = [], this.savedSearchPageSizeParam = "PageSize", this.savedSearchPageSize = 10, this.savedSearchPageNumberParam = "PageNumber", this.dropdownFilters = [], this.groupByOptions = [], this.ajaxURL = void 0, this.ajaxMethod = "GET", this.ajaxURLGenerator = void 0, this.ajaxParams = void 0, this.ajaxResponse = void 0, this.facetConfig = void 0, this.additionalAppliedFilters = [], this.dataSendParams = void 0, this.dataReceiveParams = void 0, this.noAutoResize = !1, this.resizableRows = !1, this.resizableColumnFit = !1, this.resizableColumnGuide = !1, this.resizableRowGuide = !1, this.frozenRows = void 0, this.frozenRowsField = "id", this.placeholder = this.localize.term("noData"), this.groupBy = void 0, this.groupHeader = void 0, this.groupHeaderCount = !1, this.groupHeaderUseFormatter = !1, this.groupIndent = 36, this.groupHeaderPrint = void 0, this.groupHeaderClipboard = void 0, this.groupHeaderDownload = void 0, this.groupHeaderHtmlOutput = void 0, this.groupStartOpen = !1, this.groupStartOpenValues = void 0, this.groupToggleElement = "arrow", this.groupValues = [], this.groupUpdateOnCellEdit = !1, this.groupLoadMoreMeta = {}, this.dataTree = !1, this.dataTreeChildField = "_children", this.dataTreeLoadingField = "loading", this.dataTreeHasMoreField = "hasMore", this.dataTreeFilter = !1, this.dataTreeSort = !1, this.dataTreeElementColumn = void 0, this.dataTreeChildIndent = 9, this.dataTreeStartExpanded = !1, this.dataTreeSelectPropagate = !1, this.dataTreeExpandElement = void 0, this.dataTreeCollapseElement = void 0, this.spreadsheet = !1, this.spreadsheetColumns = 50, this.spreadsheetRows = 50, this.spreadsheetColumnDefinition = void 0, this.spreadsheetOutputFull = !1, this.editorEmptyValue = "", this.spreadsheetSheets = void 0, this.spreadsheetSheetTabs = !1, this.spreadsheetData = void 0, this.selectableRange = 1, this.noSelectable = !1, this.selectableRangeColumns = !1, this.selectableRangeRows = !1, this.selectableRangeClearCells = !1, this.editTriggerEvent = "dblclick", this.selectableRangeAutoFocus = !1, this.noClipboard = !1, this.clipboardAction = pi.Both, this.clipboardCopyRowRange = "range", this.clipboardPasteParser = void 0, this.clipboardPasteAction = "insert", this.clipboardCopyConfig = { columnHeaders: !1 }, this.clipboardNoCopyStyled = !1, this.pagination = !1, this.paginationMode = pt.Local, this.paginationSize = void 0, this.paginationInitialPage = 1, this.paginationButtonCount = 5, this.showPaginationButtons = !1, this.hidePaginationInput = !1, this.pageSizeOptions = void 0, this.paginationAddRow = "page", this.paginationCounter = ia.Both, this.paginationShowFirst = !1, this.paginationShowLast = !1, this.paginationPlacement = Ki.TopEnd, this.noHeaderRowReserve = !1, this.hoverMenu = void 0, this.label = "", this.tabulatorRole = "grid", this.columnGroupRole = "columngroup", this.columnHeaderRole = "columnheader", this.rowRole = "row", this.rowGroupRole = "rowgroup", this.cellRole = "gridcell", this.filterMode = pt.Local, this.placeholderHeaderFilter = "No matching data", this.noColumnPlaceholderText = this.localize.term("noColumnsVisible"), this.useOverlayScrollbar = !1, this.loading = !1, this.canSelectAll = !1, this.rowIdField = "id", this.dataUrl = "", this.dateFilterCompareFormat = fi.IsoDateTime, this.dataFormat = ve.Auto, this.dataUrlPath = "", this.preserveColumnsOnLoad = !1, this.tabulatorInstance = null, this.watchedEvents = /* @__PURE__ */ new Set(), this.activeSearchValue = "", this.dataUrlRequestId = 0, this.inMemoryDataUrlRows = null, this.inMemoryValidationResult = null, this.internalAjaxRequestFunc = void 0, this.lastAttemptedDataUrl = null, this.hasFacets = !1, this.headerMenuOpen = !1, this.headerMenuField = "", this.headerMenuPointX = 0, this.headerMenuPointY = 0, this.headerMenuHideDisabled = !1, this.columnEditorOpen = !1, this.columnEditorEntries = [], this.handleTableBuilt = () => {
20492
- this.initHorizontalScrollbar(), this.useOverlayScrollbar ? this.initVerticalScrollbar() : this.verticalOsInstance?.destroy(), this.initOverflowObserver(), this.tabulatorInstance?.setColumns(this.columns ?? []), this.validateOnLoad && this.tabulatorInstance?.validateAsync(), this.filterController.syncDropdownFilterSources(this.dropdownFilters), this.handleSearch(), this.filterController.applyFilters(), this.placePaginator(), this.dataUrl && (!this.pagination || this.lastAttemptedDataUrl !== this.dataUrl.trim()) && this.loadFromDataUrl();
20551
+ this.initScrollbars(), this.initOverflowObserver(), this.tabulatorInstance?.setColumns(this.columns ?? []), this.validateOnLoad && this.tabulatorInstance?.validateAsync(), this.filterController.syncDropdownFilterSources(this.dropdownFilters), this.handleSearch(), this.filterController.applyFilters(), this.placePaginator(), this.dataUrl && (!this.pagination || this.lastAttemptedDataUrl !== this.dataUrl.trim()) && this.loadFromDataUrl();
20493
20552
  }, this.handleValidationChanged = (t) => {
20494
20553
  this.validationTooltipAnchor && !this.validationTooltipAnchor.isConnected && this.hideValidationTooltip(), this.emit("cx-table-validation-change", { detail: t });
20495
20554
  }, this.checkHorizontalOverflow = () => {
20496
20555
  if (!this.tabulatorElement || !this.tabulatorHolder)
20497
20556
  return;
20498
- const t = this.tabulatorHolder.scrollWidth > this.tabulatorElement.clientWidth;
20499
- this.tabulatorElement.classList.toggle("tabulator-overflow-x", t), this.syncFrozenOffset();
20557
+ const t = this.tabulatorHolder.scrollWidth > this.tabulatorHolder.clientWidth;
20558
+ this.tabulatorElement.classList.toggle("tabulator-overflow-x", t);
20500
20559
  };
20501
20560
  const e = this.addEventListener;
20502
20561
  this.addEventListener = (t, i, ...s) => {
@@ -20511,7 +20570,7 @@ let g = class extends Pe {
20511
20570
  });
20512
20571
  }
20513
20572
  )), e.call(this, t, i, ...s);
20514
- }, this.initVerticalScrollbar = this.initVerticalScrollbar.bind(this), this.initHorizontalScrollbar = this.initHorizontalScrollbar.bind(this), this.handleSelectableRowsCheck = this.handleSelectableRowsCheck.bind(this), this.syncFrozenOffset = this.syncFrozenOffset.bind(this);
20573
+ }, this.handleSelectableRowsCheck = this.handleSelectableRowsCheck.bind(this);
20515
20574
  }
20516
20575
  get initialized() {
20517
20576
  return this.tabulatorInstance?.initialized;
@@ -20607,7 +20666,7 @@ let g = class extends Pe {
20607
20666
  }
20608
20667
  }
20609
20668
  async initTable() {
20610
- this.tabulatorInstance && (this.selectAllController.resetSelection(), this.overflowObserver?.disconnect(), this.verticalOsInstance?.destroy(), this.horizontalOsInstance?.destroy(), this.tabulatorInstance.off("tableBuilt"), this.tabulatorInstance.destroy()), !this.pagination || !this.dataUrl?.trim() ? (this.internalAjaxRequestFunc = void 0, this.inMemoryDataUrlRows = null, this.inMemoryValidationResult = null, this.lastAttemptedDataUrl = null) : this.internalAjaxRequestFunc || (this.internalAjaxRequestFunc = this.createInMemoryAjaxRequestFunc());
20669
+ this.tabulatorInstance && (this.selectAllController.resetSelection(), this.overflowObserver?.disconnect(), this.osInstance?.destroy(), this.tabulatorInstance.off("tableBuilt"), this.tabulatorInstance.destroy()), !this.pagination || !this.dataUrl?.trim() ? (this.internalAjaxRequestFunc = void 0, this.inMemoryDataUrlRows = null, this.inMemoryValidationResult = null, this.lastAttemptedDataUrl = null) : this.internalAjaxRequestFunc || (this.internalAjaxRequestFunc = this.createInMemoryAjaxRequestFunc());
20611
20670
  let e = this.rowHeader;
20612
20671
  e == null && (this.movableRows ? e = yp : this.responsiveLayout === "collapse" && (e = {
20613
20672
  formatter: "responsiveCollapse"
@@ -20664,7 +20723,7 @@ let g = class extends Pe {
20664
20723
  groupHeaderUseFormatter: this.groupHeaderUseFormatter,
20665
20724
  groupIndent: this.groupIndent,
20666
20725
  groupLoadMoreMeta: this.groupLoadMoreMeta,
20667
- groupStartOpen: Ip(this, no, En),
20726
+ groupStartOpen: Ip(this, no, Cn),
20668
20727
  groupToggleElement: this.groupToggleElement,
20669
20728
  groupUpdateOnCellEdit: this.groupUpdateOnCellEdit,
20670
20729
  groupValues: this.groupValues,
@@ -20730,7 +20789,7 @@ let g = class extends Pe {
20730
20789
  }), this.filterController.resetAppliedFilterBaseline(), this.loading && this.tabulatorInstance.dataLoader?.setExternalLoading(!0), this.canSelectAll && this.selectAllController.onTableInit(), this.registerEventListeners(), this.tabulatorInstance.on("tableBuilt", this.handleTableBuilt), this.tabulatorInstance.on("validationChanged", this.handleValidationChanged);
20731
20790
  }
20732
20791
  handleUseOverlayScrollbarChange() {
20733
- this.useOverlayScrollbar ? this.initialized ? this.initVerticalScrollbar() : this.tabulatorInstance?.on("tableBuilt", this.initVerticalScrollbar) : this.verticalOsInstance?.destroy(), this.initialized && this.tabulatorInstance?.redraw();
20792
+ this.initialized && this.initScrollbars();
20734
20793
  }
20735
20794
  connectedCallback() {
20736
20795
  super.connectedCallback(), this.hasUpdated && this.initTableWhenSized();
@@ -20797,61 +20856,38 @@ let g = class extends Pe {
20797
20856
  }, 150));
20798
20857
  }
20799
20858
  disconnectedCallback() {
20800
- super.disconnectedCallback(), globalThis.clearTimeout(this.validationTooltipHideTimeout), this.tabulatorInstance?.destroy(), this.frozenScrollOff?.(), this.frozenScrollOff = null, this.verticalOsInstance?.destroy(), this.horizontalOsInstance?.destroy(), this.resizeObserver?.disconnect(), this.resizeObserver = null, this.overflowObserver?.disconnect(), this.overflowObserver = null, this.watchedEvents.forEach((e) => {
20859
+ super.disconnectedCallback(), globalThis.clearTimeout(this.validationTooltipHideTimeout), this.tabulatorInstance?.destroy(), this.osInstance?.destroy(), this.resizeObserver?.disconnect(), this.resizeObserver = null, this.overflowObserver?.disconnect(), this.overflowObserver = null, this.watchedEvents.forEach((e) => {
20801
20860
  this.tabulatorInstance?.off(e);
20802
20861
  });
20803
20862
  }
20804
- initVerticalScrollbar() {
20805
- !this.tabulatorHolder || !this.tabulatorInstance?.initialized || (this.verticalOsInstance?.destroy(), this.verticalOsInstance = No(
20806
- {
20807
- elements: {
20808
- viewport: this.tabulatorHolder
20809
- },
20810
- scrollbars: {
20811
- slot: this.table
20812
- },
20813
- target: this.tabulatorHolder
20814
- },
20815
- {
20816
- overflow: {
20817
- x: "hidden",
20818
- y: "scroll"
20863
+ initScrollbars() {
20864
+ if (!(!this.tabulatorHolder || !this.tabulatorInstance?.initialized)) {
20865
+ if (this.osInstance?.destroy(), this.osInstance = null, !this.useOverlayScrollbar) {
20866
+ this.tabulatorInstance.redraw();
20867
+ return;
20868
+ }
20869
+ this.osInstance = Sn(
20870
+ {
20871
+ elements: {
20872
+ viewport: this.tabulatorHolder
20873
+ },
20874
+ scrollbars: {
20875
+ slot: this.table
20876
+ },
20877
+ target: this.tabulatorHolder
20819
20878
  },
20820
- scrollbars: {
20821
- autoHide: "never",
20822
- autoHideDelay: 1e3
20879
+ {
20880
+ overflow: {
20881
+ x: "scroll",
20882
+ y: "scroll"
20883
+ },
20884
+ scrollbars: {
20885
+ autoHide: "never",
20886
+ autoHideDelay: 1e3
20887
+ }
20823
20888
  }
20824
- }
20825
- ), this.tabulatorInstance?.redraw());
20826
- }
20827
- initHorizontalScrollbar() {
20828
- !this.tabulatorElement || !this.tabulatorInstance?.initialized || (this.frozenScrollOff?.(), this.horizontalOsInstance?.destroy(), this.horizontalOsInstance = No(this.tabulatorElement, {
20829
- overflow: {
20830
- x: "scroll",
20831
- y: "hidden"
20832
- },
20833
- scrollbars: {
20834
- autoHide: "leave",
20835
- autoHideDelay: 1e3
20836
- }
20837
- }), this.frozenScrollOff = this.horizontalOsInstance.on("scroll", this.syncFrozenOffset), this.syncFrozenOffset());
20838
- }
20839
- /**
20840
- * Mirrors the horizontal scroller's offset into `--frozen-offset-start/end` so
20841
- * `table-frozen.styles.ts` can pin frozen columns. Deliberately not debounced: the offset must
20842
- * land in the same frame as the scroll, and it is only two custom-property writes.
20843
- */
20844
- syncFrozenOffset() {
20845
- if (!this.tabulatorElement || !this.horizontalOsInstance || !this.tabulatorInstance?.modules?.frozenColumns?.active)
20846
- return;
20847
- const t = this.horizontalOsInstance.elements().scrollOffsetElement, i = t.scrollWidth - t.clientWidth, s = this.tabulatorElement.classList.contains("tabulator-rtl") ? t.scrollLeft + i : t.scrollLeft - i;
20848
- this.tabulatorElement.style.setProperty(
20849
- "--frozen-offset-start",
20850
- `${t.scrollLeft}px`
20851
- ), this.tabulatorElement.style.setProperty(
20852
- "--frozen-offset-end",
20853
- `${s}px`
20854
- );
20889
+ ), this.tabulatorInstance.redraw();
20890
+ }
20855
20891
  }
20856
20892
  initOverflowObserver() {
20857
20893
  !this.tabulatorHolder || !this.tabulatorElement || (this.overflowObserver?.disconnect(), this.overflowObserver = new ResizeObserver(this.checkHorizontalOverflow), this.overflowObserver.observe(this.tabulatorHolder), this.overflowObserver.observe(this.tabulatorElement), this.checkHorizontalOverflow());
@@ -21073,7 +21109,7 @@ let g = class extends Pe {
21073
21109
  h
21074
21110
  ) && i === this.dataUrlRequestId && a(l.length, h), await new Promise((D) => requestAnimationFrame(() => D()));
21075
21111
  }, w = g.IN_MEMORY_PARSE_CHUNK_SIZE;
21076
- return t === ve.Csv ? await Lr(e, u, f, w) : t === ve.Json ? await _r(e, u, f, w, this.dataUrlPath) : t === ve.Xml && await zr(e, u, f, w, this.dataUrlPath), p || r(c, l), { columns: c, rows: l, validationResult: h };
21112
+ return t === ve.Csv ? await Fr(e, u, f, w) : t === ve.Json ? await zr(e, u, f, w, this.dataUrlPath) : t === ve.Xml && await Lr(e, u, f, w, this.dataUrlPath), p || r(c, l), { columns: c, rows: l, validationResult: h };
21077
21113
  }
21078
21114
  /**
21079
21115
  * Applies whatever search/header/dropdown filter and sort is currently
@@ -21221,7 +21257,7 @@ let g = class extends Pe {
21221
21257
  return !1;
21222
21258
  let a;
21223
21259
  try {
21224
- a = await fn(o);
21260
+ a = await pn(o);
21225
21261
  } catch {
21226
21262
  return !1;
21227
21263
  }
@@ -21296,7 +21332,7 @@ let g = class extends Pe {
21296
21332
  }
21297
21333
  async streamCsvData(e, t) {
21298
21334
  let i = !0;
21299
- const o = await Lr(
21335
+ const o = await Fr(
21300
21336
  e,
21301
21337
  (r) => {
21302
21338
  t === this.dataUrlRequestId && (this.columns = this.resolveColumnsAfterLoad(r));
@@ -21317,7 +21353,7 @@ let g = class extends Pe {
21317
21353
  };
21318
21354
  let r;
21319
21355
  try {
21320
- r = await _r(
21356
+ r = await zr(
21321
21357
  e,
21322
21358
  (a) => {
21323
21359
  t === this.dataUrlRequestId && (this.columns = this.resolveColumnsAfterLoad(a));
@@ -21343,7 +21379,7 @@ let g = class extends Pe {
21343
21379
  };
21344
21380
  let r;
21345
21381
  try {
21346
- r = await zr(
21382
+ r = await Lr(
21347
21383
  e,
21348
21384
  (a) => {
21349
21385
  t === this.dataUrlRequestId && (this.columns = this.resolveColumnsAfterLoad(a));
@@ -21554,17 +21590,17 @@ let g = class extends Pe {
21554
21590
  }
21555
21591
  };
21556
21592
  no = /* @__PURE__ */ new WeakSet();
21557
- En = function() {
21593
+ Cn = function() {
21558
21594
  return this.groupStartOpenValues !== void 0 && this.groupStartOpenValues !== null ? (n) => this.groupStartOpenValues?.includes(n) ?? !1 : this.groupStartOpen;
21559
21595
  };
21560
21596
  g.styles = [
21561
21597
  $e,
21562
21598
  vp,
21563
- Sn
21599
+ Rn
21564
21600
  ];
21565
21601
  g.dependencies = {
21566
21602
  "cx-button": Et,
21567
- "cx-checkbox": Gr,
21603
+ "cx-checkbox": jr,
21568
21604
  "cx-divider": aa,
21569
21605
  "cx-faceted-filter": he,
21570
21606
  "cx-format-number": la,
@@ -21572,7 +21608,7 @@ g.dependencies = {
21572
21608
  "cx-icon-button": oi,
21573
21609
  "cx-select": ha,
21574
21610
  "cx-space": Ri,
21575
- "cx-spinner": Xr,
21611
+ "cx-spinner": qr,
21576
21612
  "cx-table-column-editor": Qe,
21577
21613
  "cx-table-footer": Ci,
21578
21614
  "cx-table-header-menu": et,
@@ -22649,7 +22685,7 @@ g = v([
22649
22685
  ], g);
22650
22686
  const Np = g;
22651
22687
  var Je = /* @__PURE__ */ ((n) => (n.Circles = "circles", n.Grid = "grid", n.Table = "table", n))(Je || {});
22652
- const Ar = 165, Vp = ["HEX", "RGB", "CMYK", "PMS"], Bp = {
22688
+ const Or = 165, Vp = ["HEX", "RGB", "CMYK", "PMS"], Bp = {
22653
22689
  resizable: !1
22654
22690
  }, $p = {
22655
22691
  field: "name",
@@ -22766,7 +22802,7 @@ var Up = Object.defineProperty, Kp = Object.getOwnPropertyDescriptor, xe = (n, e
22766
22802
  (r = n[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
22767
22803
  return i && s && Up(e, t, s), s;
22768
22804
  };
22769
- const Pr = "unnamed";
22805
+ const Ar = "unnamed";
22770
22806
  let me = class extends Pe {
22771
22807
  constructor() {
22772
22808
  super(), this.localize = new tt(this), this.variant = Je.Table, this.data = [], this.maxCol = 4, this.canCopy = !1, this.showCodes = ["HEX", "RGB", "CMYK", "PMS"], this.multiLanguage = !1, this.breakpoints = [350, 696, 1024], this.deviceType = Ti.Desktop, this.currentCol = 0, this.isFocused = !1, this.canFocusContainer = !0, this.isContainerFocused = !1, this.handleWindowResize = this.handleWindowResize.bind(this);
@@ -22794,7 +22830,7 @@ let me = class extends Pe {
22794
22830
  getComputedStyle(this.containerEl).getPropertyValue("--grid-gap")
22795
22831
  );
22796
22832
  this.currentCol = Math.floor(
22797
- (n + e) / (Ar + e)
22833
+ (n + e) / (Or + e)
22798
22834
  );
22799
22835
  break;
22800
22836
  }
@@ -22805,7 +22841,7 @@ let me = class extends Pe {
22805
22841
  }
22806
22842
  }
22807
22843
  handleKeyDown(n) {
22808
- !(n.target instanceof Hr) && !n.target?.closest(
22844
+ !(n.target instanceof Ir) && !n.target?.closest(
22809
22845
  "[data-table-container]"
22810
22846
  ) || (n.key === "Enter" || n.key === " ") && (this.isFocused = !0);
22811
22847
  }
@@ -22836,7 +22872,7 @@ let me = class extends Pe {
22836
22872
  categorizeByPalette() {
22837
22873
  return Object.values(
22838
22874
  this.data.reduce((n, e) => {
22839
- const t = e.palette?.trim() ? e.palette : Pr;
22875
+ const t = e.palette?.trim() ? e.palette : Ar;
22840
22876
  return n[t] || (n[t] = { colors: [], palette: t }), n[t].colors.push(e), n;
22841
22877
  }, {})
22842
22878
  );
@@ -22874,7 +22910,7 @@ let me = class extends Pe {
22874
22910
  return x`
22875
22911
  ${J(
22876
22912
  this.variant === Je.Table,
22877
- () => x`<cx-space class="color-swatch-group__swatches" direction="vertical" spacing="2x-small">${Wo(
22913
+ () => x`<cx-space class="color-swatch-group__swatches" direction="vertical" spacing="2x-small">${$o(
22878
22914
  [this.data, this.canCopy],
22879
22915
  () => this.categorizeByPalette().map(
22880
22916
  (t) => {
@@ -22884,7 +22920,7 @@ let me = class extends Pe {
22884
22920
  })) : t.colors;
22885
22921
  return x`<div tabindex=${Z(
22886
22922
  this.canFocusContainer ? "0" : void 0
22887
- )} data-table-container class="color-swatch-group__table-container" @focusin=${this.handleFocusIn} @focusout=${this.handleFocusOut} @keydown=${this.handleKeyDown}><cx-typography class="color-swatch-group__title" variant="h3">${t.palette === Pr ? this.localize.term("noPalette") : this.localize.term("shadesPalette", t.palette)}</cx-typography><cx-table part="table" tabindex=${this.isFocused ? void 0 : "-1"} no-selectable layout="fitColumns" .columns=${Wo(
22923
+ )} data-table-container class="color-swatch-group__table-container" @focusin=${this.handleFocusIn} @focusout=${this.handleFocusOut} @keydown=${this.handleKeyDown}><cx-typography class="color-swatch-group__title" variant="h3">${t.palette === Ar ? this.localize.term("noPalette") : this.localize.term("shadesPalette", t.palette)}</cx-typography><cx-table part="table" tabindex=${this.isFocused ? void 0 : "-1"} no-selectable layout="fitColumns" .columns=${$o(
22888
22924
  [this.showCodes, this.canCopy, this.localize],
22889
22925
  () => this.getTableColumns(t.palette)
22890
22926
  )} .columnDefaults=${Bp} .rowHeight=${void 0} .data=${i} class="color-swatch-group__table"></cx-table></div>`;
@@ -22896,7 +22932,7 @@ let me = class extends Pe {
22896
22932
  "color-swatch-group__swatches--grid": this.variant === Je.Grid,
22897
22933
  [`color-swatch-group__swatches--circles--${n}`]: this.variant === Je.Circles
22898
22934
  })} style=${ft({
22899
- gridTemplateColumns: this.currentCol >= this.maxCol ? `repeat(${this.maxCol}, 1fr)` : `repeat(auto-fit, minmax(${Ar}px, 1fr))`
22935
+ gridTemplateColumns: this.currentCol >= this.maxCol ? `repeat(${this.maxCol}, 1fr)` : `repeat(auto-fit, minmax(${Or}px, 1fr))`
22900
22936
  })}>${Ke(
22901
22937
  this.data,
22902
22938
  (t) => t.name,
@@ -22915,10 +22951,10 @@ let me = class extends Pe {
22915
22951
  };
22916
22952
  me.styles = [$e, Gp];
22917
22953
  me.dependencies = {
22918
- "cx-color-swatch": Hr,
22954
+ "cx-color-swatch": Ir,
22919
22955
  "cx-space": Ri,
22920
22956
  "cx-table": Np,
22921
- "cx-typography": Ir
22957
+ "cx-typography": Pr
22922
22958
  };
22923
22959
  xe([
22924
22960
  ue(".color-swatch-group__swatches")
@@ -22970,7 +23006,7 @@ xe([
22970
23006
  F()
22971
23007
  ], me.prototype, "isContainerFocused", 2);
22972
23008
  xe([
22973
- jr(100)
23009
+ Wr(100)
22974
23010
  ], me.prototype, "handleWindowResize", 1);
22975
23011
  xe([
22976
23012
  V("variant", { waitUntilFirstUpdate: !0 })
@@ -22988,8 +23024,8 @@ export {
22988
23024
  _t as a,
22989
23025
  Np as b,
22990
23026
  Je as c,
22991
- jo as d,
23027
+ Wo as d,
22992
23028
  he as e,
22993
23029
  De as f,
22994
- Go as o
23030
+ jo as o
22995
23031
  };