@orangelogic/design-system 4.0.0-ci.1 → 4.0.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,23 +1,23 @@
1
1
  import Di from "../components/space.js";
2
- import { C as Xr, T as On } from "./typography.T72DuoCa.js";
2
+ import { C as qr, T as On } from "./typography.T72DuoCa.js";
3
3
  import { n as m, C as Ie } from "./lib-cortex-element.CVMmyPMC.js";
4
- import { C as Jr, a as ss } from "./color-swatch.DdsUysbF.js";
4
+ import { C as Xr, a as ss } from "./color-swatch.DdsUysbF.js";
5
5
  import { c as We } from "./component.styles.CAS3c9pM.js";
6
6
  import { C as xt } from "./button.D1YIxtv-.js";
7
7
  import { C as An, o as Pn, O as In } from "./dialog.BbQ4Du0M.js";
8
8
  import { C as lt } from "./icon.BLXWp6CU.js";
9
9
  import { C as ri } from "./icon-button.CbUddcgI.js";
10
- import { C as uo } from "./input.D1FFprPl.js";
10
+ import { C as co } from "./input.D1FFprPl.js";
11
11
  import It from "../components/tooltip.js";
12
12
  import Hn from "../components/badge.js";
13
13
  import Nn from "../components/details.js";
14
14
  import ni from "../components/dropdown.js";
15
- import Yr from "../components/spinner.js";
15
+ import Jr from "../components/spinner.js";
16
16
  import Vn from "../components/tag.js";
17
- import { D as Zr, a as Bn, t as $n, b as Qr } from "./date-picker.BGHn6qg8.js";
17
+ import { D as Yr, a as Bn, t as $n, b as Zr } from "./date-picker.BGHn6qg8.js";
18
18
  import { c as He } from "./custom-element.L4WJXn1j.js";
19
19
  import { L as tt } from "./i18n.rtxrs1c1.js";
20
- import { w as H, b as Wn, S as jn, c as Go, p as Gn, E as Un } from "./watch.DJF5K-8U.js";
20
+ import { w as H, b as Wn, S as jn, c as jo, p as Gn, E as Un } from "./watch.DJF5K-8U.js";
21
21
  import { c as Kn } from "./date.iWq_pkIk.js";
22
22
  import { x, i as Y, E as rt, B as qn } from "./lit-element.jLBm65_O.js";
23
23
  import { r as M } from "./state.CSDxrqLd.js";
@@ -25,16 +25,16 @@ import { e as Xe } from "./class-map.BiVq-cVR.js";
25
25
  import { c as qe } from "./repeat.CFjcER6_.js";
26
26
  import { n as q } from "./when.Dr1es41R.js";
27
27
  import { o as J } from "./if-defined.BRoBj_Rp.js";
28
- import { i as en, r as Xn, f as Yt, m as Jn, a as Yn, t as tn, g as Zn, b as Qn, c as ea } from "./toast.BxiewnAG.js";
28
+ import { i as Qr, r as Xn, f as Yt, m as Jn, a as Yn, t as en, g as Zn, b as Qn, c as ea } from "./toast.BxiewnAG.js";
29
29
  import { e as pe } from "./query.BBf1UFkC.js";
30
30
  import { a as ta, b as ia } from "./_baseXor.DixEm6JQ.js";
31
- import { a as Ki, i as Ot, b as sn } from "./isArrayLikeObject.D7afXo-f.js";
32
- import { b as qi, a as sa, c as on, t as oa } from "./_baseIteratee.sC2wLi2m.js";
31
+ import { a as Ki, i as Ot, b as tn } from "./isArrayLikeObject.D7afXo-f.js";
32
+ import { b as qi, a as sa, c as sn, t as oa } from "./_baseIteratee.sC2wLi2m.js";
33
33
  import { l as oi, i as ra, f as na } from "./_flatRest.ZYRhuYq_.js";
34
- import { a as po } from "./toString.B1zKIiZc.js";
34
+ import { a as uo } from "./toString.B1zKIiZc.js";
35
35
  import { a as aa, b as la } from "./_baseUniq.lwMgmtt2.js";
36
- import rn from "../components/divider.js";
37
- import { d as nn } from "./debounce.DaHuiSGU.js";
36
+ import on from "../components/divider.js";
37
+ import { d as rn } from "./debounce.DaHuiSGU.js";
38
38
  import { o as at } from "./style-map.llVFPd__.js";
39
39
  import { e as ha, c as ca, b as da } from "./_baseClone.ipmFlCAx.js";
40
40
  import { b as ua } from "./capitalize.CIBKBL10.js";
@@ -46,23 +46,23 @@ import { C as li } from "./menu-item.0TbnDEDp.js";
46
46
  import ga from "../components/popup.js";
47
47
  import { r as ba } from "./choose.BTbF6BAn.js";
48
48
  import wa from "../components/menu-section.js";
49
- import an from "../components/checkbox.js";
50
- import { C as va, P as ya } from "./pagination.BhO8EWnO.js";
51
- import { H as ln } from "./slot.j5oheLJC.js";
52
- import { g as $, a as Uo } from "./dom.DL-cNKsj.js";
49
+ import nn from "../components/checkbox.js";
50
+ import { C as va, P as ya } from "./pagination.D0BeaEIi.js";
51
+ import { H as an } from "./slot.j5oheLJC.js";
52
+ import { g as $, a as Go } from "./dom.DL-cNKsj.js";
53
53
  import "./browser.BHOCIF_A.js";
54
54
  import "./form.DN2v7-DH.js";
55
55
  import "./purify.es.BIuh5IAZ.js";
56
56
  import { D as Mi } from "./transformation.CjWnFhab.js";
57
- import { s as P, h as Ko, b as Xi, c as fo } from "./string.Demn8Xmk.js";
57
+ import { s as P, h as Uo, b as Xi, c as po } from "./string.Demn8Xmk.js";
58
58
  import { a as Ca } from "./_commonjsHelpers.DQNKXVTB.js";
59
59
  import { d as Ea } from "./debounce.Bv1rtE8D.js";
60
60
  import xa from "../components/format-number.js";
61
61
  import Ra from "../components/select.js";
62
62
  import { r as Sa } from "./query-all.i3PyvTUQ.js";
63
- import { i as qo } from "./guard.D4axKaMo.js";
63
+ import { i as Ko } from "./guard.D4axKaMo.js";
64
64
  var Ct = /* @__PURE__ */ ((r) => (r.Multiple = "multiple", r.Single = "single", r))(Ct || {}), nt = /* @__PURE__ */ ((r) => (r.Checkbox = "checkbox", r.DatePicker = "date-picker", r.DateRange = "date-range", r))(nt || {}), Ii = /* @__PURE__ */ ((r) => (r.Checkbox = "checkbox", r.DatePicker = "datePicker", r.DateRangePicker = "dateRangePicker", r))(Ii || {}), Hi = /* @__PURE__ */ ((r) => (r.ShowPreset = "showPreset", r.ShowTime = "showTime", r))(Hi || {});
65
- class hn {
65
+ class ln {
66
66
  #e;
67
67
  #i;
68
68
  #s = /* @__PURE__ */ new Set();
@@ -133,11 +133,11 @@ function Da(r, e) {
133
133
  }
134
134
  function ka(r, e) {
135
135
  const t = r.facetDetails;
136
- return x`<cx-facet-date-picker field=${t.facetFieldName} display-name=${t.displayName} display-format=${J(t.displayFormat)} value=${e.dateRange?.fromDate ?? ""} from-time=${e.dateRange?.fromTime ?? Zr} min=${t.min ?? ""} max=${t.max ?? ""} ?show-time=${t.showTime ?? !1}></cx-facet-date-picker>`;
136
+ return x`<cx-facet-date-picker field=${t.facetFieldName} display-name=${t.displayName} display-format=${J(t.displayFormat)} value=${e.dateRange?.fromDate ?? ""} from-time=${e.dateRange?.fromTime ?? Yr} min=${t.min ?? ""} max=${t.max ?? ""} ?show-time=${t.showTime ?? !1}></cx-facet-date-picker>`;
137
137
  }
138
138
  function Ta(r, e) {
139
139
  const t = r.facetDetails;
140
- return x`<cx-facet-date-range field=${t.facetFieldName} display-name=${t.displayName} display-format=${J(t.displayFormat)} from-date=${e.dateRange?.fromDate ?? ""} to-date=${e.dateRange?.toDate ?? ""} from-time=${e.dateRange?.fromTime ?? Zr} to-time=${e.dateRange?.toTime ?? Bn} preset=${e.dateRange?.preset ?? ""} min=${t.min ?? ""} max=${t.max ?? ""} ?show-time=${t.showTime ?? !1} ?show-preset=${t.showPreset ?? !1}></cx-facet-date-range>`;
140
+ return x`<cx-facet-date-range field=${t.facetFieldName} display-name=${t.displayName} display-format=${J(t.displayFormat)} from-date=${e.dateRange?.fromDate ?? ""} to-date=${e.dateRange?.toDate ?? ""} from-time=${e.dateRange?.fromTime ?? Yr} to-time=${e.dateRange?.toTime ?? Bn} preset=${e.dateRange?.preset ?? ""} min=${t.min ?? ""} max=${t.max ?? ""} ?show-time=${t.showTime ?? !1} ?show-preset=${t.showPreset ?? !1}></cx-facet-date-range>`;
141
141
  }
142
142
  const Ma = {
143
143
  [nt.Checkbox]: Da,
@@ -151,7 +151,7 @@ var La = Object.defineProperty, za = Object.getOwnPropertyDescriptor, Ee = (r, e
151
151
  };
152
152
  let re = class extends Ie {
153
153
  constructor() {
154
- super(...arguments), this.localize = new tt(this), this.shadowRootAutoloader = new hn(
154
+ super(...arguments), this.localize = new tt(this), this.shadowRootAutoloader = new ln(
155
155
  this
156
156
  ), this.facets = [], this.availableFacets = [], this.selectedFacets = {}, this.selectedDateRanges = {}, this.selection = Ct.Single, this.loading = !1, this.externalFilters = [], this.appliedFiltersCount = 0, this.internalSelection = {}, this.internalDateRanges = {}, this.mappedDisplayNames = {}, this.facetDetailsByField = /* @__PURE__ */ new Map();
157
157
  }
@@ -299,7 +299,7 @@ let re = class extends Ie {
299
299
  */
300
300
  getDateFacetPattern(r) {
301
301
  const e = r && "displayFormat" in r ? r.displayFormat : void 0;
302
- return $n(e ?? Qr.DdMmYyyy);
302
+ return $n(e ?? Zr.DdMmYyyy);
303
303
  }
304
304
  formatDateRangeDisplay(r, e) {
305
305
  const t = (i, s) => {
@@ -381,7 +381,7 @@ re.dependencies = {
381
381
  "cx-icon": lt,
382
382
  "cx-icon-button": ri,
383
383
  "cx-space": Di,
384
- "cx-spinner": Yr,
384
+ "cx-spinner": Jr,
385
385
  "cx-tag": Vn,
386
386
  "cx-tooltip": It
387
387
  };
@@ -444,26 +444,26 @@ Ee([
444
444
  re = Ee([
445
445
  He("cx-faceted-filter")
446
446
  ], re);
447
- var Ci = /* @__PURE__ */ ((r) => (r.Search = "search-keyword", r))(Ci || {}), Ji = /* @__PURE__ */ ((r) => (r.BottomCenter = "bottom-center", r.BottomEnd = "bottom-end", r.BottomStart = "bottom-start", r.TopCenter = "top-center", r.TopEnd = "top-end", r.TopStart = "top-start", r))(Ji || {}), vt = /* @__PURE__ */ ((r) => (r.Bottom = "bottom", r.Center = "center", r.Nearest = "nearest", r.Top = "top", r))(vt || {}), Ke = /* @__PURE__ */ ((r) => (r.All = "all", r.Cell = "cell", r.Column = "column", r.Row = "row", r))(Ke || {}), fi = /* @__PURE__ */ ((r) => (r.Both = "both", r.Copy = "copy", r.Paste = "paste", r))(fi || {}), Ce = /* @__PURE__ */ ((r) => (r.Auto = "auto", r.Csv = "csv", r.Json = "json", r.Xml = "xml", r))(Ce || {}), Ei = /* @__PURE__ */ ((r) => (r.EditColumns = "edit-columns", r.HideColumn = "hide-column", r))(Ei || {}), Wt = /* @__PURE__ */ ((r) => (r.Left = "left", r.Right = "right", r))(Wt || {}), mt = /* @__PURE__ */ ((r) => (r.Local = "local", r.Remote = "remote", r))(mt || {}), Te = /* @__PURE__ */ ((r) => (r.Asc = "asc", r.Desc = "desc", r.None = "none", r))(Te || {}), Re = /* @__PURE__ */ ((r) => (r.Ends = "ends", r.Equal = "=", r.GreaterOrEqual = ">=", r.GreaterThan = ">", r.In = "in", r.Keywords = "keywords", r.LessOrEqual = "<=", r.LessThan = "<", r.Like = "like", r.NotEqual = "!=", r.Regex = "regex", r.Starts = "starts", r))(Re || {});
447
+ var Ci = /* @__PURE__ */ ((r) => (r.Search = "search-keyword", r))(Ci || {}), Ji = /* @__PURE__ */ ((r) => (r.BottomCenter = "bottom-center", r.BottomEnd = "bottom-end", r.BottomStart = "bottom-start", r.TopCenter = "top-center", r.TopEnd = "top-end", r.TopStart = "top-start", r))(Ji || {}), vt = /* @__PURE__ */ ((r) => (r.Bottom = "bottom", r.Center = "center", r.Nearest = "nearest", r.Top = "top", r))(vt || {}), Ke = /* @__PURE__ */ ((r) => (r.All = "all", r.Cell = "cell", r.Column = "column", r.Row = "row", r))(Ke || {}), fi = /* @__PURE__ */ ((r) => (r.Both = "both", r.Copy = "copy", r.Paste = "paste", r))(fi || {}), Ce = /* @__PURE__ */ ((r) => (r.Auto = "auto", r.Csv = "csv", r.Json = "json", r.Xml = "xml", r))(Ce || {}), Ei = /* @__PURE__ */ ((r) => (r.EditColumns = "edit-columns", r.HideColumn = "hide-column", r))(Ei || {}), Wt = /* @__PURE__ */ ((r) => (r.Left = "left", r.Right = "right", r))(Wt || {}), mt = /* @__PURE__ */ ((r) => (r.Local = "local", r.Remote = "remote", r))(mt || {}), ke = /* @__PURE__ */ ((r) => (r.Asc = "asc", r.Desc = "desc", r.None = "none", r))(ke || {}), Oe = /* @__PURE__ */ ((r) => (r.Ends = "ends", r.Equal = "=", r.GreaterOrEqual = ">=", r.GreaterThan = ">", r.In = "in", r.Keywords = "keywords", r.LessOrEqual = "<=", r.LessThan = "<", r.Like = "like", r.NotEqual = "!=", r.Regex = "regex", r.Starts = "starts", r))(Oe || {});
448
448
  const fs = 36;
449
- var mi = /* @__PURE__ */ ((r) => (r.IsoDate = "iso-date", r.IsoDateTime = "iso-datetime", r.Timestamp = "timestamp", r))(mi || {}), Xo = Ki(function(r, e) {
449
+ var mi = /* @__PURE__ */ ((r) => (r.IsoDate = "iso-date", r.IsoDateTime = "iso-datetime", r.Timestamp = "timestamp", r))(mi || {}), qo = Ki(function(r, e) {
450
450
  var t = oi(e);
451
- return Ot(t) && (t = void 0), Ot(r) ? ta(r, sn(e, 1, Ot, !0), qi(t)) : [];
451
+ return Ot(t) && (t = void 0), Ot(r) ? ta(r, tn(e, 1, Ot, !0), qi(t)) : [];
452
452
  }), _a = Math.min;
453
453
  function Oa(r, e, t) {
454
454
  for (var i = aa, s = r[0].length, o = r.length, n = o, a = Array(o), l = 1 / 0, h = []; n--; ) {
455
455
  var c = r[n];
456
- n && e && (c = po(c, Wn(e))), l = _a(c.length, l), a[n] = e || s >= 120 && c.length >= 120 ? new jn(n && c) : void 0;
456
+ n && e && (c = uo(c, Wn(e))), l = _a(c.length, l), a[n] = e || s >= 120 && c.length >= 120 ? new jn(n && c) : void 0;
457
457
  }
458
458
  c = r[0];
459
459
  var d = -1, p = a[0];
460
460
  e:
461
461
  for (; ++d < s && h.length < l; ) {
462
462
  var u = c[d], f = e ? e(u) : u;
463
- if (u = u !== 0 ? u : 0, !(p ? Go(p, f) : i(h, f))) {
463
+ if (u = u !== 0 ? u : 0, !(p ? jo(p, f) : i(h, f))) {
464
464
  for (n = o; --n; ) {
465
465
  var w = a[n];
466
- if (!(w ? Go(w, f) : i(r[n], f)))
466
+ if (!(w ? jo(w, f) : i(r[n], f)))
467
467
  continue e;
468
468
  }
469
469
  p && p.push(f), h.push(u);
@@ -475,11 +475,11 @@ function Aa(r) {
475
475
  return Ot(r) ? r : [];
476
476
  }
477
477
  var Pa = Ki(function(r) {
478
- var e = oi(r), t = po(r, Aa);
478
+ var e = oi(r), t = uo(r, Aa);
479
479
  return e === oi(t) ? e = void 0 : t.pop(), t.length && t[0] === r[0] ? Oa(t, qi(e)) : [];
480
480
  }), Ia = Ki(function(r) {
481
481
  var e = oi(r);
482
- return Ot(e) && (e = void 0), la(sn(r, 1, Ot, !0), qi(e));
482
+ return Ot(e) && (e = void 0), la(tn(r, 1, Ot, !0), qi(e));
483
483
  }), Ha = Ki(function(r) {
484
484
  var e = oi(r);
485
485
  return Ot(e) && (e = void 0), ia(Gn(r, Ot), qi(e));
@@ -488,18 +488,18 @@ function Na(r, e) {
488
488
  return e.length < 2 ? r : sa(r, ua(e, 0, -1));
489
489
  }
490
490
  function Va(r, e) {
491
- return e = on(e, r), r = Na(r, e), r == null || delete r[oa(oi(e))];
491
+ return e = sn(e, r), r = Na(r, e), r == null || delete r[oa(oi(e))];
492
492
  }
493
493
  function Ba(r) {
494
494
  return ra(r) ? void 0 : r;
495
495
  }
496
- var $a = 1, Wa = 2, ja = 4, Jo = na(function(r, e) {
496
+ var $a = 1, Wa = 2, ja = 4, Xo = na(function(r, e) {
497
497
  var t = {};
498
498
  if (r == null)
499
499
  return t;
500
500
  var i = !1;
501
- e = po(e, function(o) {
502
- return o = on(o, r), i || (i = o.length > 1), o;
501
+ e = uo(e, function(o) {
502
+ return o = sn(o, r), i || (i = o.length > 1), o;
503
503
  }), ha(r, ca(r), t), i && (t = da(t, $a | Wa | ja, Ba));
504
504
  for (var s = e.length; s--; )
505
505
  Va(t, e[s]);
@@ -511,7 +511,7 @@ var Ua = Object.defineProperty, Ka = Object.getOwnPropertyDescriptor, je = (r, e
511
511
  (n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
512
512
  return i && s && Ua(e, t, s), s;
513
513
  };
514
- let Se = class extends Ie {
514
+ let Re = class extends Ie {
515
515
  constructor() {
516
516
  super(...arguments), this.localize = new tt(this), this.text = "", this.tooltip = "", this.readonly = !1, this.placeholder = !1, this.selected = !1, this.configurable = !1, this.disabledTooltip = !1, this.isGroup = !1;
517
517
  }
@@ -543,8 +543,8 @@ let Se = class extends Ie {
543
543
  })}><span class="board-list-item__control">${this.selected ? x`<cx-icon class="board-list-item__checked-icon" name="check"></cx-icon>` : ""}</span><div part="text" class="board-list-item__text" @mouseenter=${this.onTextMouseEnter} @mouseleave=${this.onTextMouseLeave}><cx-line-clamp part="text-content" class="board-list-item__text__content" lines="2" ?disabled-tooltip=${!!this.tooltip} disabled-hover-bridge>${this.text}</cx-line-clamp><cx-tooltip part="tooltip" hoist trigger="manual" ?disabled=${this.disabledTooltip || !this.tooltip} disabled-hover-bridge><div class="board-list-item__text__anchor"></div><div slot="content">${ma(this.tooltip)}</div></cx-tooltip></div>${this.configurable && !this.readonly ? x`<cx-icon-button part="config-button" name="settings" label=${this.localize.term("configure")} @click=${this.onConfigButtonClick}></cx-icon-button>` : ""}</div>`;
544
544
  }
545
545
  };
546
- Se.styles = [We, Ga];
547
- Se.dependencies = {
546
+ Re.styles = [We, Ga];
547
+ Re.dependencies = {
548
548
  "cx-icon": lt,
549
549
  "cx-icon-button": ri,
550
550
  "cx-line-clamp": fa,
@@ -552,46 +552,46 @@ Se.dependencies = {
552
552
  };
553
553
  je([
554
554
  pe('[part="config-button"]')
555
- ], Se.prototype, "configButton", 2);
555
+ ], Re.prototype, "configButton", 2);
556
556
  je([
557
557
  pe('[part="text"]')
558
- ], Se.prototype, "textElement", 2);
558
+ ], Re.prototype, "textElement", 2);
559
559
  je([
560
560
  pe('[part="tooltip"]')
561
- ], Se.prototype, "tooltipElement", 2);
561
+ ], Re.prototype, "tooltipElement", 2);
562
562
  je([
563
563
  pe(".board-list-item__control")
564
- ], Se.prototype, "controlElement", 2);
564
+ ], Re.prototype, "controlElement", 2);
565
565
  je([
566
566
  m({ type: String })
567
- ], Se.prototype, "text", 2);
567
+ ], Re.prototype, "text", 2);
568
568
  je([
569
569
  m({ type: String })
570
- ], Se.prototype, "tooltip", 2);
570
+ ], Re.prototype, "tooltip", 2);
571
571
  je([
572
572
  m({ type: Boolean })
573
- ], Se.prototype, "readonly", 2);
573
+ ], Re.prototype, "readonly", 2);
574
574
  je([
575
575
  m({ type: Boolean })
576
- ], Se.prototype, "placeholder", 2);
576
+ ], Re.prototype, "placeholder", 2);
577
577
  je([
578
578
  m({ type: Boolean })
579
- ], Se.prototype, "selected", 2);
579
+ ], Re.prototype, "selected", 2);
580
580
  je([
581
581
  m({ type: Boolean })
582
- ], Se.prototype, "configurable", 2);
582
+ ], Re.prototype, "configurable", 2);
583
583
  je([
584
584
  m({ attribute: "disabled-tooltip", type: Boolean })
585
- ], Se.prototype, "disabledTooltip", 2);
585
+ ], Re.prototype, "disabledTooltip", 2);
586
586
  je([
587
587
  m({ attribute: "is-group", type: Boolean })
588
- ], Se.prototype, "isGroup", 2);
588
+ ], Re.prototype, "isGroup", 2);
589
589
  je([
590
590
  H("disabledTooltip")
591
- ], Se.prototype, "handleDisabledTooltipChange", 1);
592
- Se = je([
591
+ ], Re.prototype, "handleDisabledTooltipChange", 1);
592
+ Re = je([
593
593
  He("cx-board-list-item")
594
- ], Se);
594
+ ], Re);
595
595
  const qa = Y`:host{--cx-tooltip-arrow-size:0;flex:1;display:block}.board{--toggle-size:var(--cx-toggle-size-medium);background-color:var(--cx-color-neutral-100);border:1px solid var(--cx-color-neutral-300);border-radius:4px;flex-direction:column;height:100%;padding:16px 16px 0;display:flex}.board--dragging cx-input{pointer-events:none}.board__header{align-items:center;gap:16px;width:100%;height:40px;margin-bottom:16px;display:flex}.board__header--divided{margin-bottom:0}.board__divider{--spacing:0;margin-bottom:16px}.board__list{flex:1;max-height:500px;padding-left:0;overflow:hidden scroll}.board__header__text{-webkit-line-clamp:2;color:var(--cx-color-neutral);font-family:var(--cx-font-sans);text-overflow:ellipsis;white-space:pre-wrap;-webkit-box-orient:vertical;flex:1;font-weight:700;display:-webkit-box;overflow:hidden}.board__header__search{flex:0 0 160px}.board__footer{justify-content:space-between;align-items:center;height:40px;display:flex}.board__footer__text{font-family:var(--cx-font-sans)}.board__select-all{width:var(--toggle-size);height:var(--toggle-size);border:solid var(--cx-input-border-width) var(--cx-input-border-color);background-color:var(--cx-input-background-color);color:var(--cx-color-neutral-0);cursor:pointer;transition:var(--cx-transition-fast) border-color, var(--cx-transition-fast) background-color, var(--cx-transition-fast) color, var(--cx-transition-fast) box-shadow;border-radius:2px;flex:none;justify-content:center;align-items:center;display:inline-flex;position:relative}.board--checked .board__select-all{border-color:var(--cx-color-primary);background-color:var(--cx-color-primary)}.board__select-all:focus-visible{outline:var(--cx-focus-ring);outline-offset:var(--cx-focus-ring-offset)}.board__checked-icon{display:inline-flex}`, Xa = (r) => {
596
596
  const e = r.getRootNode();
597
597
  return e instanceof ShadowRoot ? e.host : null;
@@ -719,7 +719,7 @@ let N = class extends Ie {
719
719
  let o = t.selectedItemAsArray;
720
720
  o.includes(s) || (o = [s]);
721
721
  const n = o.length > 1, a = Number(r.newIndex) - 1 + this.start, l = this.resolveRealInsertIndex(a);
722
- e = en(e, l, o), this.handleUpdateEvent(e, r.type, n, l);
722
+ e = Qr(e, l, o), this.handleUpdateEvent(e, r.type, n, l);
723
723
  }
724
724
  async handleEnd(r) {
725
725
  this.isDragging = !1, await this.updateComplete;
@@ -749,7 +749,7 @@ let N = class extends Ie {
749
749
  }
750
750
  handleDefaultSelect(r) {
751
751
  const e = r.dataset.id;
752
- this._selectedItems[e] ? (this._selectedItems = Jo(this._selectedItems, [e]), this._selectedItemOrder = Jo(this._selectedItemOrder, [e])) : (this._selectedItems = {
752
+ this._selectedItems[e] ? (this._selectedItems = Xo(this._selectedItems, [e]), this._selectedItemOrder = Xo(this._selectedItemOrder, [e])) : (this._selectedItems = {
753
753
  ...this._selectedItems,
754
754
  [e]: !0
755
755
  }, this._selectedItemOrder = {
@@ -987,11 +987,11 @@ let N = class extends Ie {
987
987
  };
988
988
  N.styles = [We, qa];
989
989
  N.dependencies = {
990
- "cx-board-list-item": Se,
991
- "cx-divider": rn,
990
+ "cx-board-list-item": Re,
991
+ "cx-divider": on,
992
992
  "cx-icon": lt,
993
993
  "cx-icon-button": ri,
994
- "cx-input": uo,
994
+ "cx-input": co,
995
995
  "cx-tooltip": It
996
996
  };
997
997
  W([
@@ -1100,7 +1100,7 @@ W([
1100
1100
  H(["data", "group"])
1101
1101
  ], N.prototype, "onItemsChanged", 1);
1102
1102
  W([
1103
- nn(200, !0)
1103
+ rn(200, !0)
1104
1104
  ], N.prototype, "handleShiftSelect", 1);
1105
1105
  N = W([
1106
1106
  He("cx-board")
@@ -1190,14 +1190,14 @@ class Qa {
1190
1190
  return !0;
1191
1191
  }
1192
1192
  }
1193
- const el = Y`:host{--search-width-default:227px;height:100%;display:block}.multi-select{gap:var(--cx-spacing-medium);flex-direction:column;width:100%;height:100%;display:flex}.multi-select__toolbar{align-items:center;gap:var(--cx-spacing-medium);display:flex}.multi-select__search{flex:0 0 var(--search-width,var(--search-width-default))}.multi-select__boards{gap:var(--cx-spacing-medium);flex:1;width:100%;min-height:0;display:flex}.multi-select__control{gap:var(--cx-spacing-small);flex-direction:column;align-self:center;display:flex}`, Yo = (r, e) => r.group && e.group && r.group !== e.group ? r.group.localeCompare(e.group) : r.text.localeCompare(e.text);
1193
+ const el = Y`:host{--search-width-default:227px;height:100%;display:block}.multi-select{gap:var(--cx-spacing-medium);flex-direction:column;width:100%;height:100%;display:flex}.multi-select__toolbar{align-items:center;gap:var(--cx-spacing-medium);display:flex}.multi-select__search{flex:0 0 var(--search-width,var(--search-width-default))}.multi-select__boards{gap:var(--cx-spacing-medium);flex:1;width:100%;min-height:0;display:flex}.multi-select__control{gap:var(--cx-spacing-small);flex-direction:column;align-self:center;display:flex}`, Jo = (r, e) => r.group && e.group && r.group !== e.group ? r.group.localeCompare(e.group) : r.text.localeCompare(e.text);
1194
1194
  function tl(r) {
1195
1195
  const e = /* @__PURE__ */ new Map();
1196
1196
  return Object.entries(r).forEach(([t, i]) => {
1197
1197
  i.length > 0 && e.set(t, new Set(i));
1198
1198
  }), e;
1199
1199
  }
1200
- function Zo(r, e, t) {
1200
+ function Yo(r, e, t) {
1201
1201
  const i = r.get(e);
1202
1202
  !t || !i || i.set(t, (i.get(t) ?? 0) + 1);
1203
1203
  }
@@ -1218,9 +1218,9 @@ function il(r, e, t = {}) {
1218
1218
  if (!(l > 1))
1219
1219
  if (a === null)
1220
1220
  for (const h of i)
1221
- Zo(o, h, n.metadata?.[h]);
1221
+ Yo(o, h, n.metadata?.[h]);
1222
1222
  else
1223
- Zo(o, a, n.metadata?.[a]);
1223
+ Yo(o, a, n.metadata?.[a]);
1224
1224
  }
1225
1225
  for (const [n, a] of s) {
1226
1226
  const l = o.get(n);
@@ -1259,7 +1259,7 @@ function ol(r, e) {
1259
1259
  });
1260
1260
  }), { availableFacets: t, facets: i };
1261
1261
  }
1262
- function Qo(r, e) {
1262
+ function Zo(r, e) {
1263
1263
  return r.length === e.length && r.every((i, s) => i === e[s]) ? e : r;
1264
1264
  }
1265
1265
  function rl(r, e, t) {
@@ -1289,7 +1289,7 @@ function nl(r, e, t) {
1289
1289
  a.push(...l);
1290
1290
  return a.push(...n), a;
1291
1291
  }
1292
- function er(r, e, t, i) {
1292
+ function Qo(r, e, t, i) {
1293
1293
  const s = new Set(e.map((h) => h.id)), o = r.filter(
1294
1294
  (h) => !s.has(h)
1295
1295
  ).length;
@@ -1378,10 +1378,10 @@ let ne = class extends Ie {
1378
1378
  if (this.addLimit || this.addLimit === 0) {
1379
1379
  let i = [];
1380
1380
  if (t === "add" ? i = r : t === "remove" && (i = Ia(
1381
- Xo(e, r),
1381
+ qo(e, r),
1382
1382
  this.secondColumnItemIds
1383
- )), Xo(i, this.initialSecondColumnItems).length > this.addLimit)
1384
- return tn(this.localize.term("addLimitExceeded", this.addLimit), {
1383
+ )), qo(i, this.initialSecondColumnItems).length > this.addLimit)
1384
+ return en(this.localize.term("addLimitExceeded", this.addLimit), {
1385
1385
  notificationType: "warning"
1386
1386
  }), !1;
1387
1387
  }
@@ -1394,7 +1394,7 @@ let ne = class extends Ie {
1394
1394
  if (e === this.secondColumnData.id && (l = this.secondColumnData, h = this.firstColumnData), o === "add") {
1395
1395
  const c = this.selectedItems[h.id];
1396
1396
  let d = l.items.map((p) => p.id);
1397
- if (d = en(
1397
+ if (d = Qr(
1398
1398
  d,
1399
1399
  rl(s ?? 0, a, l.items),
1400
1400
  c
@@ -1620,10 +1620,10 @@ let ne = class extends Ie {
1620
1620
  */
1621
1621
  recomputeBoardData() {
1622
1622
  const r = this.filters.filterItems(this.board1OriginalData), e = this.filters.filterItems(this.board2OriginalData);
1623
- this.board1Data = Qo(
1623
+ this.board1Data = Zo(
1624
1624
  r ?? this.board1OriginalData,
1625
1625
  this.board1Data
1626
- ), this.board2Data = Qo(
1626
+ ), this.board2Data = Zo(
1627
1627
  e ?? this.board2OriginalData,
1628
1628
  this.board2Data
1629
1629
  );
@@ -1675,7 +1675,7 @@ let ne = class extends Ie {
1675
1675
  [this.secondColumnData.id]: []
1676
1676
  };
1677
1677
  }
1678
- e && (this.board1OriginalData = this.firstColumnData.sort ?? !0 ? this.firstColumnData.items : [...this.firstColumnData.items].sort(Yo)), t && (this.board2OriginalData = this.secondColumnData.sort ?? !0 ? this.secondColumnData.items : [...this.secondColumnData.items].sort(Yo)), (e || t || r.has("labelMap")) && (this.rebuildMetadataFacets(), this.recomputeBoardData());
1678
+ e && (this.board1OriginalData = this.firstColumnData.sort ?? !0 ? this.firstColumnData.items : [...this.firstColumnData.items].sort(Jo)), t && (this.board2OriginalData = this.secondColumnData.sort ?? !0 ? this.secondColumnData.items : [...this.secondColumnData.items].sort(Jo)), (e || t || r.has("labelMap")) && (this.rebuildMetadataFacets(), this.recomputeBoardData());
1679
1679
  }
1680
1680
  /**
1681
1681
  * The filter panel is rendered whenever the toolbar is, even with no facets to tick.
@@ -1694,12 +1694,12 @@ let ne = class extends Ie {
1694
1694
  )}<cx-faceted-filter part="faceted-filter" selection="multiple" .facets=${this.metadataFacets} .availableFacets=${this.metadataFacetDetails} .selectedFacets=${this.selectedMetadataFacets} .externalFilters=${this.appliedFilterTags} @cx-faceted-filter-change=${this.handleMetadataFacetChange} @cx-faceted-filter-remove=${this.handleAppliedFilterRemove}></cx-faceted-filter></div>`;
1695
1695
  }
1696
1696
  render() {
1697
- const r = this.selectedItems[this.firstColumnData.id] ?? [], e = this.selectedItems[this.secondColumnData.id] ?? [], t = this.boardsWithOwnSearch, i = er(
1697
+ const r = this.selectedItems[this.firstColumnData.id] ?? [], e = this.selectedItems[this.secondColumnData.id] ?? [], t = this.boardsWithOwnSearch, i = Qo(
1698
1698
  r,
1699
1699
  this.board1Data,
1700
1700
  this.firstColumnData.items,
1701
1701
  this.ignoreTypes
1702
- ), s = er(
1702
+ ), s = Qo(
1703
1703
  e,
1704
1704
  this.board2Data,
1705
1705
  this.secondColumnData.items,
@@ -1715,7 +1715,7 @@ ne.dependencies = {
1715
1715
  "cx-faceted-filter": re,
1716
1716
  "cx-icon": lt,
1717
1717
  "cx-icon-button": ri,
1718
- "cx-input": uo,
1718
+ "cx-input": co,
1719
1719
  "cx-tooltip": It
1720
1720
  };
1721
1721
  be([
@@ -1883,7 +1883,7 @@ Qe = Ht([
1883
1883
  He("cx-table-column-editor")
1884
1884
  ], Qe);
1885
1885
  const ul = Y`: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}`;
1886
- var pl = Object.defineProperty, fl = Object.getOwnPropertyDescriptor, cn = (r, e, t, i) => {
1886
+ var pl = Object.defineProperty, fl = Object.getOwnPropertyDescriptor, hn = (r, e, t, i) => {
1887
1887
  for (var s = i > 1 ? void 0 : i ? fl(e, t) : e, o = r.length - 1, n; o >= 0; o--)
1888
1888
  (n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
1889
1889
  return i && s && pl(e, t, s), s;
@@ -1897,10 +1897,10 @@ let xi = class extends Ie {
1897
1897
  }
1898
1898
  };
1899
1899
  xi.styles = [We, ul];
1900
- cn([
1900
+ hn([
1901
1901
  m({ attribute: "pagination-placement", reflect: !0, type: String })
1902
1902
  ], xi.prototype, "paginationPlacement", 2);
1903
- xi = cn([
1903
+ xi = hn([
1904
1904
  He("cx-table-footer")
1905
1905
  ], xi);
1906
1906
  const ml = Y`:host{display:contents}cx-popup::part(popup){z-index:var(--cx-z-index-dropdown)}`;
@@ -2171,10 +2171,6 @@ let Et = class extends Ie {
2171
2171
  get showCaret() {
2172
2172
  return this.data.caret ?? !this.data.icon;
2173
2173
  }
2174
- /** The icon is the trigger's only content — no label beside it and no caret after it. */
2175
- get isIconAlone() {
2176
- return this.isIconOnly && !this.showCaret;
2177
- }
2178
2174
  createRenderRoot() {
2179
2175
  return this;
2180
2176
  }
@@ -2220,7 +2216,6 @@ let Et = class extends Ie {
2220
2216
  const r = this.isIconOnly ? this.triggerText : void 0;
2221
2217
  return x`<div class="table-dropdown-filter"><cx-dropdown hoist><cx-button class=${Xe({
2222
2218
  "table-dropdown-filter__trigger": !0,
2223
- "table-dropdown-filter__trigger--icon-alone": this.isIconAlone,
2224
2219
  "table-dropdown-filter__trigger--icon-only": this.isIconOnly
2225
2220
  })} slot="trigger" label=${J(r)} title=${J(r)} ?caret=${this.showCaret} outline>${this.renderTriggerIcon()}${q(!this.isIconOnly, () => this.triggerText)}</cx-button><cx-menu @cx-select=${this.handleMenuSelect}>${this.renderMenuItems()}</cx-menu></cx-dropdown></div>`;
2226
2221
  }
@@ -2440,7 +2435,7 @@ bt([
2440
2435
  $e = bt([
2441
2436
  He("cx-table-saved-search-dropdown")
2442
2437
  ], $e);
2443
- const Ml = Y`:host{container-type:inline-size}.header{align-items:center;gap:var(--cx-spacing-small);flex-wrap:wrap;display:none}.header--has-label,.header--has-pagination{display:flex}:host([pagination]) .header{min-height:var(--cx-input-height-medium);display:flex}:host([pagination][no-header-row-reserve][pagination-placement^=bottom]) .header:not(.header--has-label):not(.header--has-pagination){display:none}.header__label{flex:auto;align-items:center;min-width:0;display:flex}.header:not(.header--has-label) .header__label{display:none}.header:not(.header--has-label){justify-content:flex-end}.header__pagination{flex-shrink:0;align-items:center;display:flex}:host([pagination-placement=top-start]) .header__label,:host([pagination-placement=top-center]) .header__label{flex-basis:100%}:host([pagination-placement=top-start]) .header:not(.header--has-label){justify-content:flex-start}:host([pagination-placement=top-center]) .header:not(.header--has-label){justify-content:center}@container (width>=480px){:host([pagination-placement=top-center]) .header.header--has-label,:host([pagination-placement=top-center]) .header.header--has-pagination{grid-template-columns:1fr auto 1fr;display:grid}:host([pagination-placement=top-center]) .header__pagination{grid-column:2}}.header-actions{flex:1}.search{flex:1;max-width:500px}.header-actions__left{flex:1}.search__input{max-width:500px}.search__input:focus-within{border-radius:var(--cx-input-border-radius-medium);--cx-input-border-color-focus:var(--search-border-color-focus,var(--cx-color-primary-600));outline:var(--search-border-width-focus,0) solid var(--cx-input-border-color-focus)}.search__icon{--font-size:var(--cx-font-size-medium)}.search__icon--search{margin-inline-start:var(--cx-spacing-2x-small)}.search__icon--advanced-search{margin-inline-end:var(--cx-spacing-2x-small)}.header-actions__dropdown::part(trigger){line-height:1}.table-dropdown-filter__trigger{--cx-button-text-transform:none}.table-dropdown-filter__trigger--icon-only{--padding:0 var(--cx-spacing-x-small)}.table-dropdown-filter__trigger--icon-alone::part(base){gap:0}.table-dropdown-filter__icon{--font-size:var(--dropdown-filter-icon-size,var(--cx-font-size-large));color:var(--dropdown-filter-icon-color,currentColor)}.header-actions__group-by{--cx-button-text-transform:none}.header-actions__group-by .group-by-option--selected{--label-color:var(--cx-color-primary-600)}.header-actions__group-by .group-by-option{--checked-icon-size:20px;--checked-icon-color:var(--cx-color-primary-600)}.toolbar__select-all-checkbox{flex-shrink:0}.header-actions__saved-search{--cx-button-text-transform:none;--checked-icon-display:none}.header-actions__saved-search__load-more{width:100%;padding:0 var(--cx-spacing-x-small)}`;
2438
+ const Ml = Y`:host{container-type:inline-size}.header{align-items:center;gap:var(--cx-spacing-small);flex-wrap:wrap;display:none}.header--has-label,.header--has-pagination{display:flex}:host([pagination]) .header{min-height:var(--cx-input-height-medium);display:flex}:host([pagination][no-header-row-reserve][pagination-placement^=bottom]) .header:not(.header--has-label):not(.header--has-pagination){display:none}.header__label{flex:auto;align-items:center;min-width:0;display:flex}.header:not(.header--has-label) .header__label{display:none}.header:not(.header--has-label){justify-content:flex-end}.header__pagination{flex-shrink:0;align-items:center;display:flex}:host([pagination-placement=top-start]) .header__label,:host([pagination-placement=top-center]) .header__label{flex-basis:100%}:host([pagination-placement=top-start]) .header:not(.header--has-label){justify-content:flex-start}:host([pagination-placement=top-center]) .header:not(.header--has-label){justify-content:center}@container (width>=480px){:host([pagination-placement=top-center]) .header.header--has-label,:host([pagination-placement=top-center]) .header.header--has-pagination{grid-template-columns:1fr auto 1fr;display:grid}:host([pagination-placement=top-center]) .header__pagination{grid-column:2}}.header-actions{flex:1}.search{flex:1;max-width:500px}.header-actions__left{flex:1}.search__input{max-width:500px}.search__input:focus-within{border-radius:var(--cx-input-border-radius-medium);--cx-input-border-color-focus:var(--search-border-color-focus,var(--cx-color-primary-600));outline:var(--search-border-width-focus,0) solid var(--cx-input-border-color-focus)}.search__icon{--font-size:var(--cx-font-size-medium)}.search__icon--search{margin-inline-start:var(--cx-spacing-2x-small)}.search__icon--advanced-search{margin-inline-end:var(--cx-spacing-2x-small)}.header-actions__dropdown::part(trigger){line-height:1}.table-dropdown-filter__trigger{--cx-button-text-transform:none}.table-dropdown-filter__trigger--icon-only{--padding:0 var(--cx-spacing-x-small)}.table-dropdown-filter__icon{--font-size:var(--dropdown-filter-icon-size,var(--cx-font-size-large));color:var(--dropdown-filter-icon-color,currentColor)}.header-actions__group-by{--cx-button-text-transform:none}.header-actions__group-by .group-by-option--selected{--label-color:var(--cx-color-primary-600)}.header-actions__group-by .group-by-option{--checked-icon-size:20px;--checked-icon-color:var(--cx-color-primary-600)}.toolbar__select-all-checkbox{flex-shrink:0}.header-actions__saved-search{--cx-button-text-transform:none;--checked-icon-display:none}.header-actions__saved-search__load-more{width:100%;padding:0 var(--cx-spacing-x-small)}`;
2444
2439
  var Fl = Object.defineProperty, Ll = Object.getOwnPropertyDescriptor, ie = (r, e, t, i) => {
2445
2440
  for (var s = i > 1 ? void 0 : i ? Ll(e, t) : e, o = r.length - 1, n; o >= 0; o--)
2446
2441
  (n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
@@ -2448,7 +2443,7 @@ var Fl = Object.defineProperty, Ll = Object.getOwnPropertyDescriptor, ie = (r, e
2448
2443
  };
2449
2444
  let ee = class extends Ie {
2450
2445
  constructor() {
2451
- super(...arguments), this.localize = new tt(this), this.hasSlotController = new ln(
2446
+ super(...arguments), this.localize = new tt(this), this.hasSlotController = new an(
2452
2447
  this,
2453
2448
  "label",
2454
2449
  "pagination",
@@ -2592,11 +2587,11 @@ let ee = class extends Ie {
2592
2587
  ee.styles = [We, Ml];
2593
2588
  ee.dependencies = {
2594
2589
  "cx-button": xt,
2595
- "cx-checkbox": an,
2590
+ "cx-checkbox": nn,
2596
2591
  "cx-dropdown": ni,
2597
2592
  "cx-icon": lt,
2598
2593
  "cx-icon-button": ri,
2599
- "cx-input": uo,
2594
+ "cx-input": co,
2600
2595
  "cx-menu": ai,
2601
2596
  "cx-menu-item": li,
2602
2597
  "cx-pagination": va,
@@ -2605,7 +2600,7 @@ ee.dependencies = {
2605
2600
  "cx-table-group-by-dropdown": Pt,
2606
2601
  "cx-table-saved-search-dropdown": $e,
2607
2602
  "cx-tooltip": It,
2608
- "cx-typography": Xr
2603
+ "cx-typography": qr
2609
2604
  };
2610
2605
  ie([
2611
2606
  pe("#search-form")
@@ -2724,7 +2719,7 @@ ie([
2724
2719
  ee = ie([
2725
2720
  He("cx-table-toolbar")
2726
2721
  ], ee);
2727
- class Le {
2722
+ class Fe {
2728
2723
  constructor(e) {
2729
2724
  this.table = e;
2730
2725
  }
@@ -2868,8 +2863,8 @@ class Q {
2868
2863
  return t;
2869
2864
  }
2870
2865
  }
2871
- const tr = process.env.NODE_ENV === "development";
2872
- let zl = class dn extends Le {
2866
+ const er = process.env.NODE_ENV === "development";
2867
+ let zl = class cn extends Fe {
2873
2868
  constructor(e, t, i = null) {
2874
2869
  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);
2875
2870
  }
@@ -2878,11 +2873,11 @@ let zl = class dn extends Le {
2878
2873
  }
2879
2874
  _lookupContainer() {
2880
2875
  let e = this.table.options.popupContainer;
2881
- return typeof e == "string" ? (e = document.querySelector(e), tr && !e && console.warn(
2876
+ return typeof e == "string" ? (e = document.querySelector(e), er && !e && console.warn(
2882
2877
  "Menu Error - no container element found matching selector:",
2883
2878
  this.table.options.popupContainer,
2884
2879
  "(defaulting to document body)"
2885
- )) : e === !0 && (e = this.table.element), e && !(e instanceof HTMLElement) && (e = null), e && !this._checkContainerIsParent(e) && (e = null, tr && console.warn(
2880
+ )) : e === !0 && (e = this.table.element), e && !(e instanceof HTMLElement) && (e = null), e && !this._checkContainerIsParent(e) && (e = null, er && console.warn(
2886
2881
  "Menu Error - container element does not contain this table:",
2887
2882
  this.table.options.popupContainer,
2888
2883
  "(defaulting to document body)"
@@ -2992,11 +2987,11 @@ let zl = class dn extends Le {
2992
2987
  ), 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;
2993
2988
  }
2994
2989
  child(e) {
2995
- return this.childPopup && this.childPopup.hide(), this.childPopup = new dn(this.table, e, this), this.childPopup;
2990
+ return this.childPopup && this.childPopup.hide(), this.childPopup = new cn(this.table, e, this), this.childPopup;
2996
2991
  }
2997
2992
  };
2998
2993
  const _l = process.env.NODE_ENV === "development";
2999
- class I extends Le {
2994
+ class I extends Fe {
3000
2995
  constructor(e) {
3001
2996
  super(e);
3002
2997
  }
@@ -3073,14 +3068,14 @@ class I extends Le {
3073
3068
  this.table.alertManager?.clear();
3074
3069
  }
3075
3070
  }
3076
- const xo = class xo extends I {
3071
+ const Eo = class Eo extends I {
3077
3072
  constructor(e) {
3078
3073
  super(e), this.registerTableOption("tabulatorRole", "grid"), this.registerTableOption("columnGroupRole", "columngroup"), this.registerTableOption("columnHeaderRole", "columnheader"), this.registerTableOption("rowRole", "row"), this.registerTableOption("rowGroupRole", "rowgroup"), this.registerTableOption("cellRole", "gridcell");
3079
3074
  }
3080
3075
  };
3081
- xo.moduleName = "accessibility";
3082
- let ms = xo;
3083
- const Ol = "tabulator-clickable-cell", Al = 'button, [role="button"], cx-button, cx-menu-item, cx-dropdown', Pl = "hoverMenu", ir = "cx-table-row-action-click", Ro = class Ro extends I {
3076
+ Eo.moduleName = "accessibility";
3077
+ let ms = Eo;
3078
+ const Ol = "tabulator-clickable-cell", Al = 'button, [role="button"], cx-button, cx-menu-item, cx-dropdown', Pl = "hoverMenu", tr = "cx-table-row-action-click", xo = class xo extends I {
3084
3079
  constructor(e) {
3085
3080
  super(e), this.cellKeyHandlers = /* @__PURE__ */ new WeakMap(), this.registerColumnOption("clickable"), this.registerColumnOption("clickableActionName"), this.registerColumnOption("clickableEventName");
3086
3081
  }
@@ -3150,11 +3145,11 @@ const Ol = "tabulator-clickable-cell", Al = 'button, [role="button"], cx-button,
3150
3145
  row: e.row.getComponent()
3151
3146
  }, s = this.getCxTableHost();
3152
3147
  if (s) {
3153
- s.emit(ir, { detail: i });
3148
+ s.emit(tr, { detail: i });
3154
3149
  return;
3155
3150
  }
3156
3151
  this.table.element.dispatchEvent(
3157
- new CustomEvent(ir, {
3152
+ new CustomEvent(tr, {
3158
3153
  bubbles: !0,
3159
3154
  composed: !0,
3160
3155
  detail: i
@@ -3187,8 +3182,8 @@ const Ol = "tabulator-clickable-cell", Al = 'button, [role="button"], cx-button,
3187
3182
  return !i || i.length === 0 ? null : t ? i.find((s) => s.name === t) ?? null : i[0] ?? null;
3188
3183
  }
3189
3184
  };
3190
- Ro.moduleName = "clickableCell";
3191
- let gs = Ro;
3185
+ xo.moduleName = "clickableCell";
3186
+ let gs = xo;
3192
3187
  const Il = x`<cx-table-row-actions></cx-table-row-actions>`, Qt = class Qt extends I {
3193
3188
  constructor(e) {
3194
3189
  super(e), this.registerTableOption("hoverMenu", !1), this.registerTableOption("hoverMenuField", "hoverMenu"), this.registerColumnOption("hoverMenu");
@@ -3364,7 +3359,7 @@ let ws = ei;
3364
3359
  const Vl = {
3365
3360
  method: "GET"
3366
3361
  };
3367
- function un(r) {
3362
+ function dn(r) {
3368
3363
  return r instanceof File || r instanceof Blob;
3369
3364
  }
3370
3365
  function vs(r, e = "") {
@@ -3378,7 +3373,7 @@ function vs(r, e = "") {
3378
3373
  )
3379
3374
  );
3380
3375
  });
3381
- else if (un(r))
3376
+ else if (dn(r))
3382
3377
  t.push({ key: e, value: r });
3383
3378
  else if (typeof r == "object" && r !== null)
3384
3379
  for (const i in r)
@@ -3399,7 +3394,7 @@ const Bl = {
3399
3394
  return i.forEach((o) => {
3400
3395
  s.append(
3401
3396
  o.key,
3402
- un(o.value) ? o.value : String(o.value)
3397
+ dn(o.value) ? o.value : String(o.value)
3403
3398
  );
3404
3399
  }), s;
3405
3400
  },
@@ -3445,7 +3440,7 @@ function $l(r) {
3445
3440
  );
3446
3441
  }), t.join("&");
3447
3442
  }
3448
- const pn = function(r, e, t) {
3443
+ const un = function(r, e, t) {
3449
3444
  if (r && t && Object.keys(t).length && (!e.method || e.method.toLowerCase() === "get")) {
3450
3445
  e.method = "get";
3451
3446
  const [i, s] = r.split("#", 2), o = $l(t);
@@ -3509,7 +3504,7 @@ const pn = function(r, e, t) {
3509
3504
  )), s)) : Promise.reject();
3510
3505
  }
3511
3506
  };
3512
- ot.moduleName = "ajax", ot.defaultConfig = Vl, ot.defaultURLGenerator = pn, ot.contentTypeFormatters = Bl, ot.defaultLoaderPromise = function(e, t, i) {
3507
+ ot.moduleName = "ajax", ot.defaultConfig = Vl, ot.defaultURLGenerator = un, ot.contentTypeFormatters = Bl, ot.defaultLoaderPromise = function(e, t, i) {
3513
3508
  let s;
3514
3509
  return new Promise((o, n) => {
3515
3510
  if (!this.urlGenerator) {
@@ -3551,7 +3546,7 @@ ot.moduleName = "ajax", ot.defaultConfig = Vl, ot.defaultURLGenerator = pn, ot.c
3551
3546
  });
3552
3547
  };
3553
3548
  let Cs = ot;
3554
- function mo(r) {
3549
+ function fo(r) {
3555
3550
  const e = [];
3556
3551
  let t = r;
3557
3552
  for (; t; )
@@ -3561,21 +3556,21 @@ function mo(r) {
3561
3556
  }), t = t.parent;
3562
3557
  return e;
3563
3558
  }
3564
- function fn(r) {
3559
+ function pn(r) {
3565
3560
  return JSON.stringify(r);
3566
3561
  }
3567
3562
  function Wl(r, e) {
3568
3563
  return r?.[e];
3569
3564
  }
3570
3565
  function jl(r) {
3571
- const e = mo(r);
3566
+ const e = fo(r);
3572
3567
  return {
3573
3568
  path: e,
3574
- pathKey: fn(e),
3569
+ pathKey: pn(e),
3575
3570
  rowCount: r.getRowCount()
3576
3571
  };
3577
3572
  }
3578
- class mn {
3573
+ class fn {
3579
3574
  constructor(e) {
3580
3575
  return this._group = e, this.type = "GroupComponent", new Proxy(this, {
3581
3576
  get: function(t, i) {
@@ -3609,7 +3604,7 @@ class mn {
3609
3604
  return this._group.parent ? this._group.parent.getComponent() : !1;
3610
3605
  }
3611
3606
  getPath() {
3612
- return mo(this._group);
3607
+ return fo(this._group);
3613
3608
  }
3614
3609
  getPathKey() {
3615
3610
  return this._group.getPathKey();
@@ -3743,7 +3738,7 @@ class Es {
3743
3738
  }
3744
3739
  }
3745
3740
  const Ul = process.env.NODE_ENV === "development";
3746
- class Qi extends Le {
3741
+ class Qi extends Fe {
3747
3742
  // used by row manager to determine how to size the render area ("fit" - fits container to the contents, "fill" - fills the container without resizing it)
3748
3743
  constructor(e) {
3749
3744
  super(e), this.elementVertical = e.rowManager?.element, this.elementHorizontal = e.columnManager?.element, this.tableElement = e.rowManager?.tableElement, this.verticalFillMode = "fit";
@@ -3891,8 +3886,8 @@ const Kl = {
3891
3886
  actions: Xl,
3892
3887
  bindings: Jl
3893
3888
  }
3894
- }, sr = process.env.NODE_ENV === "development";
3895
- function or(r) {
3889
+ }, ir = process.env.NODE_ENV === "development";
3890
+ function sr(r) {
3896
3891
  const e = globalThis.clipboardData, t = r;
3897
3892
  return e ?? r.clipboardData ?? t.originalEvent?.clipboardData ?? void 0;
3898
3893
  }
@@ -3907,8 +3902,8 @@ const kt = class kt extends I {
3907
3902
  this.rowRange,
3908
3903
  "clipboard"
3909
3904
  ), 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 ?? "")));
3910
- const o = or(e);
3911
- o?.setData && (o.setData("text/plain", t), i && o.setData("text/html", i), tn("Copied to clipboard", {
3905
+ const o = sr(e);
3906
+ o?.setData && (o.setData("text/plain", t), i && o.setData("text/html", i), en("Copied to clipboard", {
3912
3907
  notificationType: "success"
3913
3908
  })), this.dispatchExternal("clipboardCopied", t, i), this.reset();
3914
3909
  }
@@ -3939,7 +3934,7 @@ const kt = class kt extends I {
3939
3934
  const s = [];
3940
3935
  i.columns.forEach((o) => {
3941
3936
  let n = "";
3942
- o && (i.type === "group" && (o.value = o.component instanceof mn ? o.component.getKey() : ""), typeof o.value == "object" ? n = JSON.stringify(o.value) : o.value != null && (n = String(o.value))), s.push(n);
3937
+ o && (i.type === "group" && (o.value = o.component instanceof fn ? o.component.getKey() : ""), typeof o.value == "object" ? n = JSON.stringify(o.value) : o.value != null && (n = String(o.value))), s.push(n);
3943
3938
  }), t.push(s.join(" "));
3944
3939
  }), t.join(`
3945
3940
  `);
@@ -3959,7 +3954,7 @@ const kt = class kt extends I {
3959
3954
  switch (typeof e) {
3960
3955
  case "string": {
3961
3956
  const t = kt.pasteActions[e];
3962
- t ? this.pasteAction = t : sr && console.warn("Clipboard Error - No such paste action found:", e);
3957
+ t ? this.pasteAction = t : ir && console.warn("Clipboard Error - No such paste action found:", e);
3963
3958
  break;
3964
3959
  }
3965
3960
  case "function":
@@ -3971,7 +3966,7 @@ const kt = class kt extends I {
3971
3966
  switch (typeof e) {
3972
3967
  case "string": {
3973
3968
  const t = kt.pasteParsers[e];
3974
- t ? this.pasteParser = t : sr && console.warn("Clipboard Error - No such paste parser found:", e);
3969
+ t ? this.pasteParser = t : ir && console.warn("Clipboard Error - No such paste parser found:", e);
3975
3970
  break;
3976
3971
  }
3977
3972
  case "function":
@@ -4003,13 +3998,13 @@ const kt = class kt extends I {
4003
3998
  }
4004
3999
  getPasteData(e) {
4005
4000
  let t;
4006
- const i = or(e);
4001
+ const i = sr(e);
4007
4002
  return i?.getData && (t = i.getData("text/plain")), t;
4008
4003
  }
4009
4004
  };
4010
4005
  kt.moduleName = "clipboard", kt.moduleExtensions = Yl, kt.pasteActions = Kl, kt.pasteParsers = ql;
4011
4006
  let xs = kt;
4012
- class go {
4007
+ class mo {
4013
4008
  constructor(e) {
4014
4009
  return this._cell = e, new Proxy(this, {
4015
4010
  get: function(t, i) {
@@ -4074,7 +4069,7 @@ class go {
4074
4069
  }
4075
4070
  }
4076
4071
  const Zl = x`<div class="tabulator-cell"></div>`, Ql = process.env.NODE_ENV === "development";
4077
- class Ti extends Le {
4072
+ class Ti extends Fe {
4078
4073
  constructor(e, t) {
4079
4074
  super(e.table), this.table = e.table, this.column = e, this.row = t, this.element = null, this.contentElement = null, this.value = null, this.oldValue = null, this.modules = {}, this.height = null, this.width = null, this.minWidth = null, this.component = null, this.loaded = !1, this.hoverMenuElement = null, this.deleted = !1, this.build();
4080
4075
  }
@@ -4262,10 +4257,10 @@ class Ti extends Le {
4262
4257
  * Object Generation
4263
4258
  */
4264
4259
  getComponent() {
4265
- return this.component ??= new go(this), this.component;
4260
+ return this.component ??= new mo(this), this.component;
4266
4261
  }
4267
4262
  }
4268
- const gn = {
4263
+ const mn = {
4269
4264
  columns: void 0,
4270
4265
  cssClass: void 0,
4271
4266
  editableTitle: void 0,
@@ -4282,10 +4277,10 @@ const gn = {
4282
4277
  variableHeight: void 0,
4283
4278
  vertAlign: void 0,
4284
4279
  width: void 0
4285
- }, Vt = process.env.NODE_ENV === "development", Me = class Me extends Le {
4280
+ }, Vt = process.env.NODE_ENV === "development", Te = class Te extends Fe {
4286
4281
  constructor(e, t, i) {
4287
4282
  super(t.table), this.definition = e, this.parent = t, this.type = "column", this.columns = [], this.cells = [], this.isGroup = !1, this.isRowHeader = i ?? !1, this.element = this.createElement(), this.contentElement = !1, this.titleHolderElement = !1, this.titleElement = !1, this.groupElement = this.createGroupElement(), this.hozAlign = "", this.vertAlign = "", this.field = !1, this.fieldStructure = [], this.getFieldValue = this._getFlatData, this.setFieldValue = this._setFlatData, this.titleDownload = null, this.titleFormatterRendered = !1, this.mapDefinitions(), this.setField(this.definition.field), this.modules = {}, this.width = null, this.widthStyled = "", this.maxWidth = null, this.maxWidthStyled = "", this.maxInitialWidth = null, this.minWidth = null, this.minWidthStyled = "", this.widthFixed = !1, this.hidden = !1, this.component = null, this.definition.columns ? (this.isGroup = !0, this.definition.columns.forEach((s) => {
4288
- const o = new Me(s, this);
4283
+ const o = new Te(s, this);
4289
4284
  this.attachColumn(o);
4290
4285
  }), this.checkColumnVisibility()) : t.registerColumnField(this), this._initialize();
4291
4286
  }
@@ -4314,13 +4309,13 @@ const gn = {
4314
4309
  for (const t in e)
4315
4310
  Object.hasOwn(e, t) && (this.definition[t] === void 0 || this.definition[t] === null) && (this.definition[t] = e[t]);
4316
4311
  this.definition = this.table.columnManager?.optionsList.generate(
4317
- Me.defaultOptionList,
4312
+ Te.defaultOptionList,
4318
4313
  this.definition
4319
4314
  );
4320
4315
  }
4321
4316
  checkDefinition() {
4322
4317
  Object.keys(this.definition).forEach((e) => {
4323
- Vt && !(e in Me.defaultOptionList) && console.warn(
4318
+ Vt && !(e in Te.defaultOptionList) && console.warn(
4324
4319
  `Invalid column definition option in '${this.field || this.definition.title}' column: ${e}`
4325
4320
  );
4326
4321
  });
@@ -4490,7 +4485,7 @@ const gn = {
4490
4485
  if (!this.element)
4491
4486
  return;
4492
4487
  let i;
4493
- if (this.parent instanceof Me && this.parent.isGroup)
4488
+ if (this.parent instanceof Te && this.parent.isGroup)
4494
4489
  i = this.parent.getGroupElement().clientHeight;
4495
4490
  else if ("getHeadersElement" in this.parent) {
4496
4491
  const s = this.parent.getHeadersElement();
@@ -4577,29 +4572,29 @@ const gn = {
4577
4572
  }
4578
4573
  // show column
4579
4574
  async show(e, t) {
4580
- this.hidden && (this.hidden = !1, this.element && (this.element.style.display = ""), this.parent instanceof Me && this.parent.isGroup && await this.parent.checkColumnVisibility(), this.cells.forEach((i) => {
4575
+ this.hidden && (this.hidden = !1, this.element && (this.element.style.display = ""), this.parent instanceof Te && this.parent.isGroup && await this.parent.checkColumnVisibility(), this.cells.forEach((i) => {
4581
4576
  i.show();
4582
4577
  }), !this.isGroup && this.width === null && await this.reinitializeWidth(), this.table.columnManager?.verticalAlignHeaders(), this.dispatch("column-show", this, t), e || this.dispatchExternal(
4583
4578
  "columnVisibilityChanged",
4584
4579
  this.getComponent(),
4585
4580
  !0
4586
- ), this.parent instanceof Me && this.parent.isGroup && this.parent.matchChildWidths(), this.silent || (this.layoutMode() === "fitColumns" ? this.table.columnManager?.refreshVisibilityLayout() : this.table.columnManager?.rerenderColumns()));
4581
+ ), this.parent instanceof Te && this.parent.isGroup && this.parent.matchChildWidths(), this.silent || (this.layoutMode() === "fitColumns" ? this.table.columnManager?.refreshVisibilityLayout() : this.table.columnManager?.rerenderColumns()));
4587
4582
  }
4588
4583
  // hide column
4589
4584
  hide(e, t) {
4590
- this.hidden || (this.hidden = !0, this.element && (this.element.style.display = "none"), this.table.columnManager?.verticalAlignHeaders(), this.parent instanceof Me && this.parent.isGroup && this.parent.checkColumnVisibility(), this.cells.forEach((i) => {
4585
+ this.hidden || (this.hidden = !0, this.element && (this.element.style.display = "none"), this.table.columnManager?.verticalAlignHeaders(), this.parent instanceof Te && this.parent.isGroup && this.parent.checkColumnVisibility(), this.cells.forEach((i) => {
4591
4586
  i.hide();
4592
4587
  }), this.dispatch("column-hide", this, t), e || this.dispatchExternal(
4593
4588
  "columnVisibilityChanged",
4594
4589
  this.getComponent(),
4595
4590
  !1
4596
- ), this.parent instanceof Me && this.parent.isGroup && this.parent.matchChildWidths(), this.silent || (this.layoutMode() === "fitColumns" ? this.table.columnManager?.refreshVisibilityLayout() : this.table.columnManager?.rerenderColumns()));
4591
+ ), this.parent instanceof Te && this.parent.isGroup && this.parent.matchChildWidths(), this.silent || (this.layoutMode() === "fitColumns" ? this.table.columnManager?.refreshVisibilityLayout() : this.table.columnManager?.rerenderColumns()));
4597
4592
  }
4598
4593
  matchChildWidths() {
4599
4594
  let e = 0;
4600
4595
  this.contentElement && this.columns.length && (this.columns.forEach((t) => {
4601
4596
  t.hidden || (e += t.getWidth());
4602
- }), this.contentElement.style.maxWidth = e - 1 + "px", this.table.initialized && this.element && (this.element.style.width = e + "px"), this.parent instanceof Me && this.parent.isGroup && this.parent.matchChildWidths());
4597
+ }), this.contentElement.style.maxWidth = e - 1 + "px", this.table.initialized && this.element && (this.element.style.width = e + "px"), this.parent instanceof Te && this.parent.isGroup && this.parent.matchChildWidths());
4603
4598
  }
4604
4599
  removeChild(e) {
4605
4600
  const t = this.columns.indexOf(e);
@@ -4614,7 +4609,7 @@ const gn = {
4614
4609
  this.table.element.clientWidth / 100 * parseInt(e, 10)
4615
4610
  ) : t = Number(e) : t = e, this.minWidth !== null && (t = Math.max(this.minWidth, t)), this.maxWidth && (t = Math.min(this.maxWidth, t)), this.width = t, this.widthStyled = t ? t + "px" : "", this.element && (this.element.style.width = this.widthStyled), this.isGroup || this.cells.forEach((i) => {
4616
4611
  i.setWidth();
4617
- }), this.parent instanceof Me && this.parent.isGroup && this.parent.matchChildWidths(), this.dispatch("column-width", this), this.subscribedExternal("columnWidth") && this.dispatchExternal("columnWidth", this.getComponent());
4612
+ }), this.parent instanceof Te && this.parent.isGroup && this.parent.matchChildWidths(), this.dispatch("column-width", this), this.subscribedExternal("columnWidth") && this.dispatchExternal("columnWidth", this.getComponent());
4618
4613
  }
4619
4614
  checkCellHeights() {
4620
4615
  const e = [];
@@ -4636,7 +4631,7 @@ const gn = {
4636
4631
  if (!this.element)
4637
4632
  return 0;
4638
4633
  let e = this.element.offsetLeft;
4639
- return this.parent instanceof Me && this.parent.isGroup && (e += this.parent.getLeftOffset()), e;
4634
+ return this.parent instanceof Te && this.parent.isGroup && (e += this.parent.getLeftOffset()), e;
4640
4635
  }
4641
4636
  getHeight() {
4642
4637
  return this.element ? Math.ceil(this.element.getBoundingClientRect().height) : 0;
@@ -4671,7 +4666,7 @@ const gn = {
4671
4666
  const t = this.cells.length;
4672
4667
  for (let i = 0; i < t; i++)
4673
4668
  this.cells[0].delete();
4674
- this.element && this.element.parentNode && this.element.parentNode.removeChild(this.element), this.element = !1, this.contentElement = !1, this.titleElement = !1, this.groupElement = !1, this.parent instanceof Me && this.parent.isGroup && this.parent.removeChild(this), this.table.columnManager?.deregisterColumn(this), this.table.columnManager?.rerenderColumns(!0), this.dispatch("column-deleted", this), e();
4669
+ this.element && this.element.parentNode && this.element.parentNode.removeChild(this.element), this.element = !1, this.contentElement = !1, this.titleElement = !1, this.groupElement = !1, this.parent instanceof Te && this.parent.isGroup && this.parent.removeChild(this), this.table.columnManager?.deregisterColumn(this), this.table.columnManager?.rerenderColumns(!0), this.dispatch("column-deleted", this), e();
4675
4670
  });
4676
4671
  }
4677
4672
  columnRendered() {
@@ -4736,7 +4731,7 @@ const gn = {
4736
4731
  ), Promise.reject(
4737
4732
  "Column Update Error - The updateDefinition function is only available on columns, not column groups"
4738
4733
  );
4739
- if (!(this.parent instanceof Me) || !this.parent.isGroup) {
4734
+ if (!(this.parent instanceof Te) || !this.parent.isGroup) {
4740
4735
  const t = { ...this.getDefinition() }, i = Object.assign(t, e);
4741
4736
  return this.table.columnManager ? this.table.columnManager.addColumn(i, !1, this).then((s) => (i.field == this.field && (this.field = !1), this.delete().then(() => s.getComponent()))) : Promise.reject("ColumnManager not available");
4742
4737
  } else
@@ -4760,12 +4755,12 @@ const gn = {
4760
4755
  return (this.table.columnManager?.getVisibleColumnsByIndex().indexOf(this) ?? -1) + 1;
4761
4756
  }
4762
4757
  getParentComponent() {
4763
- return this.parent instanceof Me ? this.parent.getComponent() : !1;
4758
+ return this.parent instanceof Te ? this.parent.getComponent() : !1;
4764
4759
  }
4765
4760
  };
4766
- Me.defaultOptionList = gn;
4767
- let Be = Me;
4768
- class bo {
4761
+ Te.defaultOptionList = mn;
4762
+ let Be = Te;
4763
+ class go {
4769
4764
  constructor(e) {
4770
4765
  return this._row = e, new Proxy(this, {
4771
4766
  get(t, i, s) {
@@ -4839,8 +4834,8 @@ class bo {
4839
4834
  return e && e.getComponent();
4840
4835
  }
4841
4836
  }
4842
- const rr = process.env.NODE_ENV === "development";
4843
- class Fe extends Le {
4837
+ const or = process.env.NODE_ENV === "development";
4838
+ class Me extends Fe {
4844
4839
  constructor(e, t, i = "row") {
4845
4840
  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);
4846
4841
  }
@@ -4960,7 +4955,7 @@ class Fe extends Le {
4960
4955
  try {
4961
4956
  e = JSON.parse(e);
4962
4957
  } catch (n) {
4963
- rr && console.warn(
4958
+ or && console.warn(
4964
4959
  "Row updateData - invalid JSON string, skipping update",
4965
4960
  n
4966
4961
  ), o();
@@ -5018,7 +5013,7 @@ class Fe extends Le {
5018
5013
  }
5019
5014
  moveToRow(e, t) {
5020
5015
  const i = this.table.rowManager?.findRow(e);
5021
- i ? (this.table.rowManager?.moveRowActual(this, i, !t), this.table.rowManager?.refreshActiveData("display", !1, !0)) : rr && console.warn(`Move Error - No matching row found: ${e}`);
5016
+ i ? (this.table.rowManager?.moveRowActual(this, i, !t), this.table.rowManager?.refreshActiveData("display", !1, !0)) : or && console.warn(`Move Error - No matching row found: ${e}`);
5022
5017
  }
5023
5018
  // /////////////////// Actions /////////////////////
5024
5019
  delete() {
@@ -5064,7 +5059,7 @@ class Fe extends Le {
5064
5059
  * Object Generation
5065
5060
  */
5066
5061
  getComponent() {
5067
- return this.component || (this.component = new bo(this)), this.component;
5062
+ return this.component || (this.component = new go(this)), this.component;
5068
5063
  }
5069
5064
  }
5070
5065
  class eh {
@@ -5152,7 +5147,7 @@ const th = {
5152
5147
  unique: function(r, e, t) {
5153
5148
  return r.filter((s, o) => !(s == null || typeof s == "string" && s.trim() === "") && r.indexOf(s) === o).length;
5154
5149
  }
5155
- }, nr = process.env.NODE_ENV === "development", Tt = class Tt extends I {
5150
+ }, rr = process.env.NODE_ENV === "development", Tt = class Tt extends I {
5156
5151
  constructor(e) {
5157
5152
  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");
5158
5153
  }
@@ -5214,7 +5209,7 @@ const th = {
5214
5209
  if (t.topCalc) {
5215
5210
  switch (typeof t.topCalc) {
5216
5211
  case "string":
5217
- Tt.calculations[t.topCalc] ? i.topCalc = Tt.calculations[t.topCalc] : nr && console.warn(
5212
+ Tt.calculations[t.topCalc] ? i.topCalc = Tt.calculations[t.topCalc] : rr && console.warn(
5218
5213
  "Column Calc Error - No such calculation found, ignoring: ",
5219
5214
  t.topCalc
5220
5215
  );
@@ -5228,7 +5223,7 @@ const th = {
5228
5223
  if (t.bottomCalc) {
5229
5224
  switch (typeof t.bottomCalc) {
5230
5225
  case "string":
5231
- Tt.calculations[t.bottomCalc] ? i.botCalc = Tt.calculations[t.bottomCalc] : nr && console.warn(
5226
+ Tt.calculations[t.bottomCalc] ? i.botCalc = Tt.calculations[t.bottomCalc] : rr && console.warn(
5232
5227
  "Column Calc Error - No such calculation found, ignoring: ",
5233
5228
  t.bottomCalc
5234
5229
  );
@@ -5319,7 +5314,7 @@ const th = {
5319
5314
  generateRow(e, t) {
5320
5315
  const i = this.generateRowData(e, t);
5321
5316
  this.table.modExists("mutator") && this.table.modules.mutator?.disable();
5322
- const s = new Fe(i, this, "calc");
5317
+ const s = new Me(i, this, "calc");
5323
5318
  return this.table.modExists("mutator") && this.table.modules.mutator?.enable(), s.getElement().classList.add("tabulator-calcs", "tabulator-calcs-" + e), s.component = null, s.getComponent = () => (s.component || (s.component = new eh(s)), s.component), s.generateCells = () => {
5324
5319
  const o = [];
5325
5320
  this.table.columnManager?.columnsByIndex.forEach((n) => {
@@ -5394,7 +5389,7 @@ const th = {
5394
5389
  };
5395
5390
  Tt.moduleName = "columnCalcs", Tt.calculations = th;
5396
5391
  let Rs = Tt;
5397
- class Ss extends Fe {
5392
+ class Ss extends Me {
5398
5393
  constructor(e = {}, t) {
5399
5394
  super(e, t), this.type = "placeholder", this.height = 0, this.outerHeight = 0, this.initialized = !1, this.modules = {}, this.cells = [];
5400
5395
  }
@@ -5443,7 +5438,7 @@ class Ss extends Fe {
5443
5438
  }
5444
5439
  const ih = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-button name="keyboard_arrow_down"></cx-icon-button></span>`, sh = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-button name="keyboard_arrow_right"></cx-icon-button></span>`, oh = x`<span class="tabulator-data-tree-control tabulator-data-tree-control-placeholder" aria-hidden="true"></span>`, rh = x`<div class="tabulator-data-tree-branch"></div>`, nh = x`<div class="tabulator-data-tree-branch-empty"></div>`, ah = x`<cx-button size="small"><cx-icon slot="prefix" name="add" variant="outlined"></cx-icon>
5445
5440
  Load More
5446
- </cx-button>`, lh = x`<div class="tabulator-data-tree-loading">Loading...</div>`, hh = process.env.NODE_ENV === "development", So = class So extends I {
5441
+ </cx-button>`, lh = x`<div class="tabulator-data-tree-loading">Loading...</div>`, hh = process.env.NODE_ENV === "development", Ro = class Ro extends I {
5447
5442
  constructor(e) {
5448
5443
  super(e), this.indent = 10, this.field = "", this.collapseEl = null, this.expandEl = null, this.branchEl = null, this.elementField = !1, this.startOpen = function() {
5449
5444
  return !1;
@@ -5591,7 +5586,7 @@ const ih = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
5591
5586
  const t = [];
5592
5587
  return e.forEach((i) => {
5593
5588
  let s, o;
5594
- t.push(i), i instanceof Fe && (i.create(), s = i.modules.dataTree, !s.index && s.children !== !1 && (o = this.getChildren(i, !1, !0), o.forEach((n) => {
5589
+ t.push(i), i instanceof Me && (i.create(), s = i.modules.dataTree, !s.index && s.children !== !1 && (o = this.getChildren(i, !1, !0), o.forEach((n) => {
5595
5590
  n.create(), t.push(n);
5596
5591
  })));
5597
5592
  }), t;
@@ -5614,7 +5609,7 @@ const ih = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
5614
5609
  Array.isArray(i) || (i = i ? [i] : []);
5615
5610
  const s = e.modules.dataTree.index + 1;
5616
5611
  if (i.forEach((o) => {
5617
- const n = new Fe(o || {}, this.table.rowManager);
5612
+ const n = new Me(o || {}, this.table.rowManager);
5618
5613
  n.create(), n.modules.dataTree.index = s, n.modules.dataTree.parent = e, n.modules.dataTree.children && (n.modules.dataTree.open = this.startOpen(
5619
5614
  n.getComponent(),
5620
5615
  n.modules.dataTree.index
@@ -5757,13 +5752,13 @@ const ih = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
5757
5752
  return t.children && (Array.isArray(t.children) || (e.modules.dataTree.children = this.generateChildren(e)), this.table.modExists("filter") && this.table.options.dataTreeFilter ? s = this.table.modules.filter?.filter(
5758
5753
  e.modules.dataTree.children
5759
5754
  ) || [] : s = e.modules.dataTree.children, s.forEach((o) => {
5760
- o instanceof Fe && i.push(o);
5755
+ o instanceof Me && i.push(o);
5761
5756
  })), i;
5762
5757
  }
5763
5758
  rowDeleting(e) {
5764
5759
  const t = e.modules.dataTree;
5765
5760
  t && t.children && Array.isArray(t.children) && t.children.forEach((i) => {
5766
- i instanceof Fe && i.wipe();
5761
+ i instanceof Me && i.wipe();
5767
5762
  });
5768
5763
  }
5769
5764
  rowDelete(e) {
@@ -5785,14 +5780,14 @@ const ih = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
5785
5780
  findChildIndex(e, t) {
5786
5781
  let i = !1;
5787
5782
  if (typeof e == "object")
5788
- if (e instanceof Fe)
5783
+ if (e instanceof Me)
5789
5784
  i = e.data;
5790
5785
  else if (e._getSelf)
5791
5786
  i = e._getSelf().data;
5792
5787
  else if (typeof HTMLElement < "u" && e instanceof HTMLElement) {
5793
5788
  const s = t.modules.dataTree;
5794
5789
  if (s) {
5795
- const o = s.children?.find((n) => n instanceof Fe ? n.element === e : !1);
5790
+ const o = s.children?.find((n) => n instanceof Me ? n.element === e : !1);
5796
5791
  o && (i = o.data);
5797
5792
  }
5798
5793
  } else e === null && (i = !1);
@@ -5813,7 +5808,7 @@ const ih = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
5813
5808
  getTreeChildren(e, t, i) {
5814
5809
  const s = e.modules.dataTree, o = [];
5815
5810
  return s?.children && (Array.isArray(s.children) || (e.modules.dataTree.children = this.generateChildren(e)), s.children.forEach((n) => {
5816
- n instanceof Fe && (t ? o.push(n.getComponent()) : o.push(n), i && this.getTreeChildren(n, t, i).forEach(
5811
+ n instanceof Me && (t ? o.push(n.getComponent()) : o.push(n), i && this.getTreeChildren(n, t, i).forEach(
5817
5812
  (a) => {
5818
5813
  o.push(a);
5819
5814
  }
@@ -5827,20 +5822,20 @@ const ih = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
5827
5822
  return (this.field ? e[this.field] !== void 0 && e[this.field] !== null : !1) || (this.elementField ? e[this.elementField] !== void 0 && e[this.elementField] !== null : !1) || (this.loadingField ? e[this.loadingField] !== void 0 && e[this.loadingField] !== null : !1) || (this.hasMoreField ? e[this.hasMoreField] !== void 0 && e[this.hasMoreField] !== null : !1);
5828
5823
  }
5829
5824
  };
5830
- So.moduleName = "dataTree";
5831
- let Ds = So;
5832
- const ar = process.env.NODE_ENV === "development", ch = function(r, e = {}, t) {
5825
+ Ro.moduleName = "dataTree";
5826
+ let Ds = Ro;
5827
+ const nr = process.env.NODE_ENV === "development", ch = function(r, e = {}, t) {
5833
5828
  const i = e.delimiter ? e.delimiter : ",", s = [], o = [];
5834
5829
  r.forEach((a) => {
5835
5830
  const l = [];
5836
5831
  switch (a.type) {
5837
5832
  case "group":
5838
- ar && console.warn(
5833
+ nr && console.warn(
5839
5834
  "Download Warning - CSV downloader cannot process row groups"
5840
5835
  );
5841
5836
  break;
5842
5837
  case "calc":
5843
- ar && console.warn(
5838
+ nr && console.warn(
5844
5839
  "Download Warning - CSV downloader cannot process column calculations"
5845
5840
  );
5846
5841
  break;
@@ -5874,7 +5869,7 @@ const ar = process.env.NODE_ENV === "development", ch = function(r, e = {}, t) {
5874
5869
  const i = this;
5875
5870
  let s = "";
5876
5871
  i.modExists("export", !0) && (s = i.modules.export?.generateHTMLTable(r) || ""), t(s, "text/html");
5877
- }, lr = process.env.NODE_ENV === "development", uh = function(r, e, t) {
5872
+ }, ar = process.env.NODE_ENV === "development", uh = function(r, e, t) {
5878
5873
  const i = [];
5879
5874
  r.forEach((o) => {
5880
5875
  const n = {};
@@ -5882,12 +5877,12 @@ const ar = process.env.NODE_ENV === "development", ch = function(r, e = {}, t) {
5882
5877
  case "header":
5883
5878
  break;
5884
5879
  case "group":
5885
- lr && console.warn(
5880
+ ar && console.warn(
5886
5881
  "Download Warning - JSON downloader cannot process row groups"
5887
5882
  );
5888
5883
  break;
5889
5884
  case "calc":
5890
- lr && console.warn(
5885
+ ar && console.warn(
5891
5886
  "Download Warning - JSON downloader cannot process column calculations"
5892
5887
  );
5893
5888
  break;
@@ -5900,7 +5895,7 @@ const ar = process.env.NODE_ENV === "development", ch = function(r, e = {}, t) {
5900
5895
  });
5901
5896
  const s = JSON.stringify(i, null, " ");
5902
5897
  t(s, "application/json");
5903
- }, hr = process.env.NODE_ENV === "development", ph = function(r, e, t) {
5898
+ }, lr = process.env.NODE_ENV === "development", ph = function(r, e, t) {
5904
5899
  const i = [];
5905
5900
  r.forEach((s) => {
5906
5901
  const o = {};
@@ -5908,12 +5903,12 @@ const ar = process.env.NODE_ENV === "development", ch = function(r, e = {}, t) {
5908
5903
  case "header":
5909
5904
  break;
5910
5905
  case "group":
5911
- hr && console.warn(
5906
+ lr && console.warn(
5912
5907
  "Download Warning - JSON downloader cannot process row groups"
5913
5908
  );
5914
5909
  break;
5915
5910
  case "calc":
5916
- hr && console.warn(
5911
+ lr && console.warn(
5917
5912
  "Download Warning - JSON downloader cannot process column calculations"
5918
5913
  );
5919
5914
  break;
@@ -5998,7 +5993,7 @@ const ar = process.env.NODE_ENV === "development", ch = function(r, e = {}, t) {
5998
5993
  return;
5999
5994
  }
6000
5995
  let n = o.utils.book_new();
6001
- const a = new Le(i), l = "compress" in e ? e.compress : !0, h = e.writeOptions || {
5996
+ const a = new Fe(i), l = "compress" in e ? e.compress : !0, h = e.writeOptions || {
6002
5997
  bookSST: !0,
6003
5998
  bookType: "xlsx",
6004
5999
  compression: l
@@ -6313,7 +6308,7 @@ const yh = function(r, e, t, i, s = {}) {
6313
6308
  }
6314
6309
  }), d;
6315
6310
  };
6316
- function wo(r, e) {
6311
+ function bo(r, e) {
6317
6312
  const t = e.mask, i = typeof e.maskLetterChar < "u" ? e.maskLetterChar : "A", s = typeof e.maskNumberChar < "u" ? e.maskNumberChar : "9", o = typeof e.maskWildcardChar < "u" ? e.maskWildcardChar : "*";
6318
6313
  function n(a) {
6319
6314
  const l = t[a];
@@ -6391,11 +6386,11 @@ const Sh = function(r, e, t, i, s) {
6391
6386
  l.stopPropagation();
6392
6387
  break;
6393
6388
  }
6394
- }), s.mask && wo(n, s), n;
6389
+ }), s.mask && bo(n, s), n;
6395
6390
  }, Dh = process.env.NODE_ENV === "development";
6396
- let bn = null;
6391
+ let gn = null;
6397
6392
  function kh(r) {
6398
- bn = r;
6393
+ gn = r;
6399
6394
  }
6400
6395
  const Th = {
6401
6396
  /**
@@ -6403,7 +6398,7 @@ const Th = {
6403
6398
  * by {@link setDefaultFormattersRegistry}
6404
6399
  */
6405
6400
  lookupFormatter(r, e) {
6406
- const t = e ?? bn;
6401
+ const t = e ?? gn;
6407
6402
  if (!t)
6408
6403
  throw new Error(
6409
6404
  "defaultFormatterRegistry is not initialized; ensure ./defaults/formatters has finished loading."
@@ -6507,17 +6502,17 @@ function Hh(r, e, t) {
6507
6502
  n
6508
6503
  );
6509
6504
  }
6510
- function cr({
6505
+ function hr({
6511
6506
  elementConfig: r,
6512
6507
  elementValue: e,
6513
6508
  rowData: t
6514
6509
  }) {
6515
6510
  return !!(r.shouldHide?.(e, t) || r.hideValues !== void 0 && (Array.isArray(r.hideValues) ? r.hideValues : [r.hideValues]).includes(e) || r.shouldShow && !r.shouldShow(e, t) || r.showValues !== void 0 && !(Array.isArray(r.showValues) ? r.showValues : [r.showValues]).includes(e));
6516
6511
  }
6517
- function dr(r) {
6512
+ function cr(r) {
6518
6513
  return r == null || r === "";
6519
6514
  }
6520
- function ur({
6515
+ function dr({
6521
6516
  cell: r,
6522
6517
  elementConfig: e,
6523
6518
  rowData: t,
@@ -6529,18 +6524,18 @@ function Nh(r, e, t) {
6529
6524
  if (!e?.elements || !Array.isArray(e.elements) || e.elements.length === 0)
6530
6525
  return;
6531
6526
  const i = r.getData(), s = this.table, o = typeof s.options.nestedFieldSeparator == "string" ? s.options.nestedFieldSeparator : void 0, n = r.getValue(), a = e.elements.some((L) => {
6532
- const we = ur({
6527
+ const we = dr({
6533
6528
  cell: r,
6534
6529
  elementConfig: L,
6535
6530
  rowData: i,
6536
6531
  separator: o
6537
6532
  });
6538
- if (cr({ elementConfig: L, elementValue: we, rowData: i }))
6533
+ if (hr({ elementConfig: L, elementValue: we, rowData: i }))
6539
6534
  return !1;
6540
6535
  let Z = we;
6541
- return L.valueMap && (Z = L.valueMap[String(Z)] ?? Z), !dr(Z);
6536
+ return L.valueMap && (Z = L.valueMap[String(Z)] ?? Z), !cr(Z);
6542
6537
  });
6543
- if (dr(n) && !a && e.placeholder !== void 0)
6538
+ if (cr(n) && !a && e.placeholder !== void 0)
6544
6539
  return Hh.call(this, r, e, t);
6545
6540
  const h = r.getRow(), {
6546
6541
  align: c,
@@ -6552,13 +6547,13 @@ function Nh(r, e, t) {
6552
6547
  wrap: E
6553
6548
  } = e, y = x`<cx-space class="tabulator-composite" style=${at(p ?? {})} align-items=${c ?? "center"} ?block=${d} direction=${J(u)} justify-content=${J(w)} spacing=${f ?? "3x-small"} wrap=${E ?? "nowrap"}></cx-space>`, D = $(y), T = [];
6554
6549
  return e.elements.forEach((L) => {
6555
- const we = ur({
6550
+ const we = dr({
6556
6551
  cell: r,
6557
6552
  elementConfig: L,
6558
6553
  rowData: i,
6559
6554
  separator: o
6560
6555
  });
6561
- if (cr({ elementConfig: L, elementValue: we, rowData: i }))
6556
+ if (hr({ elementConfig: L, elementValue: we, rowData: i }))
6562
6557
  return;
6563
6558
  let Z = we;
6564
6559
  L.valueMap && (Z = L.valueMap[String(Z)] ?? Z);
@@ -6644,11 +6639,11 @@ function Gh(r, e, t) {
6644
6639
  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() + (n ? " " + n : "") : Number.parseInt(String(d.diff(c, a)[a]), 10) + (n ? " " + n : "") : o === !0 ? h : typeof o == "function" ? o(h) : o;
6645
6640
  }
6646
6641
  }
6647
- function pr(r, e) {
6642
+ function ur(r, e) {
6648
6643
  return r == null ? "" : Array.isArray(r) ? r.join(e) : String(r);
6649
6644
  }
6650
6645
  function Uh(r, e) {
6651
- const t = e ?? {}, i = t.arraySeparator ?? ", ", s = (c) => typeof c == "function" ? c(r) : c, o = pr(s(t.newValue) ?? r.getValue(), i), n = pr(s(t.oldValue) ?? "", i), a = Ko(n), l = Ko(o), h = a && l ? `${a} ${l}` : l || a;
6646
+ const t = e ?? {}, i = t.arraySeparator ?? ", ", s = (c) => typeof c == "function" ? c(r) : c, o = ur(s(t.newValue) ?? r.getValue(), i), n = ur(s(t.oldValue) ?? "", i), a = Uo(n), l = Uo(o), h = a && l ? `${a} ${l}` : l || a;
6652
6647
  return $(x`<cx-line-clamp lines="1" clamped-tooltip=${h}><cx-diff old-value=${n} new-value=${o}></cx-diff></cx-line-clamp>`);
6653
6648
  }
6654
6649
  function Kh(r, e, t) {
@@ -6780,7 +6775,7 @@ function rc(r, e, t) {
6780
6775
  let i = parseFloat(r.getValue()), s = "", o, n, a, l;
6781
6776
  const h = e.decimal || ".", c = e.thousand || ",", d = e.negativeSign || "-", p = e.symbol || "", u = !!e.symbolAfter, f = typeof e.precision < "u" ? e.precision : 2;
6782
6777
  if (isNaN(i))
6783
- return Xi(P(fo(r.getValue())));
6778
+ return Xi(P(po(r.getValue())));
6784
6779
  i < 0 && (i = Math.abs(i), s = d), o = f !== !1 ? i.toFixed(f) : String(i), o = String(o).split("."), n = o[0];
6785
6780
  const w = o.length > 1 ? h + o[1] : "";
6786
6781
  if (e.thousand !== !1)
@@ -6805,7 +6800,7 @@ function ac(r, e) {
6805
6800
  return o;
6806
6801
  }
6807
6802
  function lc(r, e) {
6808
- let t = Xi(P(fo(r.getValue())));
6803
+ let t = Xi(P(po(r.getValue())));
6809
6804
  const i = e ?? {};
6810
6805
  i.prefix && (t = i.prefix + t), i.suffix && (t = t + i.suffix);
6811
6806
  const s = x`<cx-line-clamp lines="1"><span style=${at(i.style ?? {})}>${t}</span></cx-line-clamp>`;
@@ -6881,7 +6876,7 @@ function hc(r, e = {}, t) {
6881
6876
  if (!s)
6882
6877
  return;
6883
6878
  let E;
6884
- if (r instanceof go)
6879
+ if (r instanceof mo)
6885
6880
  E = r.getContentElement();
6886
6881
  else {
6887
6882
  const y = document.createElement("div");
@@ -6908,7 +6903,7 @@ function dc(r, e, t) {
6908
6903
  }
6909
6904
  return o && (o.style.whiteSpace = "nowrap", o.style.overflow = "hidden", o.style.textOverflow = "ellipsis"), s && s.setAttribute("aria-label", String(i)), a;
6910
6905
  }
6911
- const fr = "cx-table-switch-change", uc = x`<cx-switch></cx-switch>`;
6906
+ const pr = "cx-table-switch-change", uc = x`<cx-switch></cx-switch>`;
6912
6907
  function pc(r) {
6913
6908
  const e = Object.prototype.hasOwnProperty.call(r, "onValue") ? r.onValue : !0;
6914
6909
  return { offValue: Object.prototype.hasOwnProperty.call(r, "offValue") ? r.offValue : !1, onValue: e };
@@ -6916,11 +6911,11 @@ function pc(r) {
6916
6911
  function fc(r, e) {
6917
6912
  const t = r.getTable().element, i = t.getRootNode(), s = i instanceof ShadowRoot ? i.host : null;
6918
6913
  if (s && typeof s.emit == "function") {
6919
- s.emit(fr, { detail: e });
6914
+ s.emit(pr, { detail: e });
6920
6915
  return;
6921
6916
  }
6922
6917
  t.dispatchEvent(
6923
- new CustomEvent(fr, {
6918
+ new CustomEvent(pr, {
6924
6919
  bubbles: !0,
6925
6920
  composed: !0,
6926
6921
  detail: e
@@ -6973,7 +6968,7 @@ function vc(r, e) {
6973
6968
  return Object.assign(s, i), s.textContent = e?.getTagContent?.(t) ?? e?.tagContentMap?.[t] ?? String(t), s;
6974
6969
  }
6975
6970
  function yc(r) {
6976
- return Xi(P(fo(r.getValue())));
6971
+ return Xi(P(po(r.getValue())));
6977
6972
  }
6978
6973
  function Cc(r, e, t) {
6979
6974
  const i = r.getValue(), s = r.getElement(), o = e.allowEmpty, n = e.allowTruthy, a = Object.prototype.hasOwnProperty.call(
@@ -7060,7 +7055,7 @@ function Mc(r, e) {
7060
7055
  let l = String(t);
7061
7056
  return i.prefix && (l = i.prefix + l), i.suffix && (l = l + i.suffix), a.textContent = l, n;
7062
7057
  }
7063
- const wn = {
7058
+ const bn = {
7064
7059
  adaptable: Mh,
7065
7060
  array: Fh,
7066
7061
  avatar: Lh,
@@ -7094,7 +7089,7 @@ const wn = {
7094
7089
  traffic: Tc,
7095
7090
  typography: Mc
7096
7091
  };
7097
- kh(wn);
7092
+ kh(bn);
7098
7093
  const Mt = class Mt extends I {
7099
7094
  constructor(e) {
7100
7095
  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");
@@ -7197,7 +7192,7 @@ const Mt = class Mt extends I {
7197
7192
  return this.formatValue(e);
7198
7193
  }
7199
7194
  };
7200
- Mt.moduleName = "format", Mt.formatters = wn;
7195
+ Mt.moduleName = "format", Mt.formatters = bn;
7201
7196
  let Bi = Mt;
7202
7197
  const ut = process.env.NODE_ENV === "development", Fc = x`<cx-option></cx-option>`, Lc = x`<cx-divider></cx-divider>`;
7203
7198
  class zc {
@@ -7265,7 +7260,7 @@ class zc {
7265
7260
  if (!e)
7266
7261
  return null;
7267
7262
  let t;
7268
- return typeof e == "string" ? t = Uo(e) : t = e, t && (t.slot = "prefix"), t;
7263
+ return typeof e == "string" ? t = Go(e) : t = e, t && (t.slot = "prefix"), t;
7269
7264
  }
7270
7265
  _createSelectElement() {
7271
7266
  const {
@@ -7361,7 +7356,7 @@ class zc {
7361
7356
  }
7362
7357
  async _ajaxRequest(e, t) {
7363
7358
  const { ajaxResponse: i, filterRemote: s } = this.params, o = s ? { term: t } : {};
7364
- e = pn(e, {}, o);
7359
+ e = un(e, {}, o);
7365
7360
  let n = [];
7366
7361
  try {
7367
7362
  if (!this.fetchApi)
@@ -7584,7 +7579,7 @@ class zc {
7584
7579
  i && typeof i == "object" && "nodeType" in i && i instanceof HTMLElement ? t.appendChild(i) : t.innerHTML = P(String(i || ""));
7585
7580
  const s = this.params.fallbackOption?.prefix;
7586
7581
  if (e.isFallbackOption && s) {
7587
- const o = Uo(
7582
+ const o = Go(
7588
7583
  `<div style="display: inline-flex" slot="prefix">${P(s)}</div>`
7589
7584
  );
7590
7585
  o && t.prepend(o);
@@ -7719,7 +7714,7 @@ const _c = function(r, e, t, i, s) {
7719
7714
  return new zc(
7720
7715
  // eslint-disable-next-line no-invalid-this
7721
7716
  this,
7722
- r instanceof go ? r._getSelf() : r,
7717
+ r instanceof mo ? r._getSelf() : r,
7723
7718
  e,
7724
7719
  t,
7725
7720
  i,
@@ -7773,7 +7768,7 @@ const _c = function(r, e, t, i, s) {
7773
7768
  p.stopPropagation();
7774
7769
  break;
7775
7770
  }
7776
- }), s.mask && wo(a, s), a;
7771
+ }), s.mask && bo(a, s), a;
7777
7772
  }, Ac = function(r, e, t, i, s) {
7778
7773
  const o = r.getElement();
7779
7774
  if (!o)
@@ -7980,7 +7975,7 @@ const _c = function(r, e, t, i, s) {
7980
7975
  d.stopPropagation();
7981
7976
  break;
7982
7977
  }
7983
- }), s.mask && wo(l, s), l;
7978
+ }), s.mask && bo(l, s), l;
7984
7979
  }, Nc = function(r, e, t, i, s) {
7985
7980
  const o = r.getValue(), n = document.createElement("input"), a = s.tristate, l = typeof s.indeterminateValue > "u" ? null : s.indeterminateValue;
7986
7981
  let h = !1;
@@ -8089,7 +8084,7 @@ const _c = function(r, e, t, i, s) {
8089
8084
  textarea: Hc,
8090
8085
  tickCross: Nc,
8091
8086
  time: Bc
8092
- }, Li = process.env.NODE_ENV === "development", vn = "tabulator-edit-list-trigger", Wc = "tabulator-edit-list-trigger-caret", jc = x`<button aria-label="Open list editor" class=${vn} tabindex="-1" type="button"><cx-icon aria-hidden="true" class=${Wc} name="arrow_drop_down"></cx-icon></button>`, gi = class gi extends I {
8087
+ }, Li = process.env.NODE_ENV === "development", wn = "tabulator-edit-list-trigger", Wc = "tabulator-edit-list-trigger-caret", jc = x`<button aria-label="Open list editor" class=${wn} tabindex="-1" type="button"><cx-icon aria-hidden="true" class=${Wc} name="arrow_drop_down"></cx-icon></button>`, gi = class gi extends I {
8093
8088
  constructor(e) {
8094
8089
  super(e), this.currentCell = !1, this.mouseClick = !1, this.recursionBlock = !1, this.invalidEdit = !1, this.editedCells = [], this.convertEmptyValues = !1, this.editors = gi.editors, this.registerTableOption("editTriggerEvent", "focus"), this.registerTableOption("editorEmptyValue"), this.registerTableOption(
8095
8090
  "editorEmptyValueFunc",
@@ -8354,7 +8349,7 @@ const _c = function(r, e, t, i, s) {
8354
8349
  if (e.column.definition.editor !== "list")
8355
8350
  return;
8356
8351
  const t = e.getElement(!0);
8357
- if (!t || t.classList.contains("tabulator-editing") || t.querySelector(`.${vn}`))
8352
+ if (!t || t.classList.contains("tabulator-editing") || t.querySelector(`.${wn}`))
8358
8353
  return;
8359
8354
  const i = $(
8360
8355
  jc
@@ -8521,7 +8516,7 @@ class rs {
8521
8516
  this.value = e, this.component = t, this.width = i ?? 1, this.height = s ?? 1, this.depth = o ?? 1;
8522
8517
  }
8523
8518
  }
8524
- class mr {
8519
+ class fr {
8525
8520
  constructor(e, t, i, s) {
8526
8521
  this.type = e, this.columns = t, this.component = i ?? !1, this.indent = s ?? 0;
8527
8522
  }
@@ -8627,7 +8622,7 @@ const Kc = process.env.NODE_ENV === "development", Ft = class Ft extends I {
8627
8622
  );
8628
8623
  } else
8629
8624
  a.push(null);
8630
- }), s.push(new mr("header", a));
8625
+ }), s.push(new fr("header", a));
8631
8626
  }), s;
8632
8627
  }
8633
8628
  bodyToExportRows(e, t = []) {
@@ -8672,7 +8667,7 @@ const Kc = process.env.NODE_ENV === "development", Ft = class Ft extends I {
8672
8667
  break;
8673
8668
  }
8674
8669
  i.push(
8675
- new mr(
8670
+ new fr(
8676
8671
  n.type,
8677
8672
  l,
8678
8673
  n.getComponent(),
@@ -8984,7 +8979,7 @@ const Kc = process.env.NODE_ENV === "development", Ft = class Ft extends I {
8984
8979
  };
8985
8980
  Ft.moduleName = "export", Ft.columnLookups = Gc, Ft.rowLookups = Uc;
8986
8981
  let Ms = Ft;
8987
- const gr = process.env.NODE_ENV === "development", qc = {
8982
+ const mr = process.env.NODE_ENV === "development", qc = {
8988
8983
  // not equal to
8989
8984
  "!=": function(r, e, t, i) {
8990
8985
  return e != r;
@@ -9015,7 +9010,7 @@ const gr = process.env.NODE_ENV === "development", qc = {
9015
9010
  },
9016
9011
  // in array
9017
9012
  in: function(r, e, t, i) {
9018
- return Array.isArray(r) ? r.length ? r.includes(e) : !0 : (gr && console.warn("Filter Error - filter value is not an array:", r), !1);
9013
+ return Array.isArray(r) ? r.length ? r.includes(e) : !0 : (mr && console.warn("Filter Error - filter value is not an array:", r), !1);
9019
9014
  },
9020
9015
  // contains the keywords
9021
9016
  keywords: function(r, e, t, i) {
@@ -9039,7 +9034,7 @@ const gr = process.env.NODE_ENV === "development", qc = {
9039
9034
  try {
9040
9035
  return typeof r == "string" ? s = new RegExp(r) : s = r, s.test(String(e));
9041
9036
  } catch {
9042
- return gr && console.warn("Filter Error - invalid regular expression:", r), !1;
9037
+ return mr && console.warn("Filter Error - invalid regular expression:", r), !1;
9043
9038
  }
9044
9039
  },
9045
9040
  // starts with the string
@@ -9063,10 +9058,10 @@ function Ae(r) {
9063
9058
  return;
9064
9059
  }
9065
9060
  }
9066
- const yn = Symbol("skip-composite-element");
9061
+ const vn = Symbol("skip-composite-element");
9067
9062
  function Yc(r, e, t, i, s) {
9068
9063
  if (typeof r?.getValue == "function")
9069
- return yn;
9064
+ return vn;
9070
9065
  if (r?.value !== void 0)
9071
9066
  return r.value;
9072
9067
  const o = r?.field;
@@ -9090,7 +9085,7 @@ function Qc(r, e) {
9090
9085
  s,
9091
9086
  o
9092
9087
  );
9093
- if (c === yn)
9088
+ if (c === vn)
9094
9089
  continue;
9095
9090
  let d = c;
9096
9091
  const p = h?.valueMap;
@@ -9099,7 +9094,7 @@ function Qc(r, e) {
9099
9094
  u !== void 0 && (d = u);
9100
9095
  }
9101
9096
  if (!Zc(h, d, s) && (d !== c && $i(l, d, c), h?.formatter !== void 0)) {
9102
- const u = vo({
9097
+ const u = wo({
9103
9098
  columnField: e,
9104
9099
  formatter: h.formatter,
9105
9100
  formatterParams: h.formatterParams,
@@ -9185,7 +9180,7 @@ function od(r) {
9185
9180
  return i.negativeSign === !0 ? (y = "(" + y + ")", [h ? y + l : l + y]) : [h ? p + y + l : p + l + y];
9186
9181
  }
9187
9182
  const ns = /* @__PURE__ */ new WeakMap();
9188
- function br(r) {
9183
+ function gr(r) {
9189
9184
  const e = {
9190
9185
  style: r.type ?? "decimal",
9191
9186
  useGrouping: !r.noGrouping
@@ -9204,10 +9199,10 @@ function br(r) {
9204
9199
  }
9205
9200
  function rd(r) {
9206
9201
  if (!r || typeof r != "object")
9207
- return Ae(() => new Intl.NumberFormat(void 0, br({}))) ?? null;
9202
+ return Ae(() => new Intl.NumberFormat(void 0, gr({}))) ?? null;
9208
9203
  if (ns.has(r))
9209
9204
  return ns.get(r) ?? null;
9210
- const e = Ae(() => new Intl.NumberFormat(void 0, br(r))) ?? null;
9205
+ const e = Ae(() => new Intl.NumberFormat(void 0, gr(r))) ?? null;
9211
9206
  return ns.set(r, e), e;
9212
9207
  }
9213
9208
  function nd(r) {
@@ -9223,36 +9218,36 @@ function nd(r) {
9223
9218
  const o = Ae(() => s.format(i));
9224
9219
  return o ? [o] : [];
9225
9220
  }
9226
- function Cn(r) {
9221
+ function yn(r) {
9227
9222
  return r?.dependencyRegistry?.lookup?.(
9228
9223
  ["luxon", "DateTime"],
9229
9224
  "DateTime"
9230
9225
  );
9231
9226
  }
9232
- function En(r, e, t) {
9227
+ function Cn(r, e, t) {
9233
9228
  return r.isDateTime(e) ? e : t === "iso" ? r.fromISO(String(e)) : r.fromFormat(String(e), t);
9234
9229
  }
9235
9230
  function Ni(r, e) {
9236
9231
  return typeof r == "string" && r.length > 0 && r !== e ? [r] : [];
9237
9232
  }
9238
9233
  function ad(r) {
9239
- const { formatterParams: e, rawValue: t, table: i } = r, s = Cn(i), o = e ?? {}, n = o.invalidPlaceholder ?? "";
9234
+ const { formatterParams: e, rawValue: t, table: i } = r, s = yn(i), o = e ?? {}, n = o.invalidPlaceholder ?? "";
9240
9235
  if (!s)
9241
9236
  return [];
9242
- const a = o.inputFormat ?? "yyyy-MM-dd HH:mm:ss", l = o.outputFormat ?? "dd/MM/yyyy HH:mm:ss", h = Ae(() => En(s, t, a));
9237
+ const a = o.inputFormat ?? "yyyy-MM-dd HH:mm:ss", l = o.outputFormat ?? "dd/MM/yyyy HH:mm:ss", h = Ae(() => Cn(s, t, a));
9243
9238
  if (!h?.isValid)
9244
9239
  return Ni(n, t);
9245
9240
  const c = o.timezone ? Ae(() => h.setZone(o.timezone)) ?? h : h, d = Ae(() => c.toFormat(l));
9246
9241
  return d ? [d] : [];
9247
9242
  }
9248
9243
  function ld(r) {
9249
- const { formatterParams: e, rawValue: t, table: i } = r, s = Cn(i), o = e ?? {}, n = o.invalidPlaceholder ?? "";
9244
+ const { formatterParams: e, rawValue: t, table: i } = r, s = yn(i), o = e ?? {}, n = o.invalidPlaceholder ?? "";
9250
9245
  if (!s)
9251
9246
  return Ni(n, t);
9252
9247
  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 ? Ae(() => s.now()) : o.date;
9253
9248
  if (!d)
9254
9249
  return Ni(n, t);
9255
- const p = Ae(() => En(s, t, a));
9250
+ const p = Ae(() => Cn(s, t, a));
9256
9251
  if (!p?.isValid)
9257
9252
  return Ni(n, t);
9258
9253
  const u = Ae(() => c ? p.diff(d, h).toHuman() + (l ? " " + l : "") : Number.parseInt(String(p.diff(d, h)[h]), 10) + (l ? " " + l : ""));
@@ -9265,21 +9260,21 @@ function hd(r, e) {
9265
9260
  const i = e?.prefix, s = e?.suffix;
9266
9261
  return typeof i == "string" && i.length > 0 && (t = i + t), typeof s == "string" && s.length > 0 && (t = t + s), t;
9267
9262
  }
9268
- function xn(r) {
9263
+ function En(r) {
9269
9264
  const { formatterParams: e, rawValue: t } = r, i = hd(t, e);
9270
9265
  return i === void 0 || i === String(t) ? [] : [i];
9271
9266
  }
9272
9267
  function cd(r) {
9273
- return xn(r);
9268
+ return En(r);
9274
9269
  }
9275
- function Rn(r) {
9270
+ function xn(r) {
9276
9271
  if (typeof r.rawValue != "string" || !r.rawValue.includes("<"))
9277
9272
  return [];
9278
9273
  const e = Jc(r.rawValue);
9279
9274
  return !e || e === r.rawValue ? [] : [e];
9280
9275
  }
9281
9276
  function dd(r) {
9282
- return Rn(r);
9277
+ return xn(r);
9283
9278
  }
9284
9279
  function ud(r) {
9285
9280
  const { formatterParams: e, rawValue: t } = r, i = e ?? {}, s = i.indent ?? " ", o = i.replacer ?? null, n = Ae(() => JSON.stringify(t, o, s));
@@ -9312,7 +9307,7 @@ function pd(r, e) {
9312
9307
  return a.paramsLookup && (typeof a.paramsLookup == "function" ? h = Ae(() => a.paramsLookup(l, {
9313
9308
  getData: () => s,
9314
9309
  getValue: () => i
9315
- })) : ts(a.paramsLookup) && (h = a.paramsLookup[l])), vo({
9310
+ })) : ts(a.paramsLookup) && (h = a.paramsLookup[l])), wo({
9316
9311
  columnField: e,
9317
9312
  formatter: l,
9318
9313
  formatterParams: h,
@@ -9326,18 +9321,18 @@ const fd = {
9326
9321
  array: td,
9327
9322
  datetime: ad,
9328
9323
  datetimediff: ld,
9329
- html: Rn,
9324
+ html: xn,
9330
9325
  json: ud,
9331
9326
  link: sd,
9332
9327
  lookup: ed,
9333
9328
  money: od,
9334
9329
  number: nd,
9335
- plaintext: xn,
9330
+ plaintext: En,
9336
9331
  tag: id,
9337
9332
  textarea: dd,
9338
9333
  typography: cd
9339
9334
  };
9340
- function vo(r) {
9335
+ function wo(r) {
9341
9336
  const e = r.formatter;
9342
9337
  if (typeof e != "string")
9343
9338
  return [];
@@ -9362,7 +9357,7 @@ function md(r, e, t, i, s) {
9362
9357
  if (!n)
9363
9358
  return [];
9364
9359
  const a = r?.options?.nestedFieldSeparator, l = typeof a == "string" ? a : void 0;
9365
- return vo({
9360
+ return wo({
9366
9361
  columnField: e,
9367
9362
  formatter: n.formatter,
9368
9363
  formatterParams: n.formatterParams,
@@ -9453,10 +9448,10 @@ const Pe = process.env.NODE_ENV === "development", pt = class pt extends I {
9453
9448
  const o = this.getFilters(!0, !0);
9454
9449
  let n = "";
9455
9450
  o.forEach((l) => {
9456
- (l.type === Re.Keywords || l.type === Re.Like) && (n = l.value);
9451
+ (l.type === Oe.Keywords || l.type === Oe.Like) && (n = l.value);
9457
9452
  }), n.trim() && (s.SearchText = n);
9458
9453
  const a = o.filter(
9459
- (l) => l.type !== Re.Keywords && l.type !== Re.Like
9454
+ (l) => l.type !== Oe.Keywords && l.type !== Oe.Like
9460
9455
  );
9461
9456
  return a.length && (s.filters = a), s;
9462
9457
  }
@@ -9573,12 +9568,12 @@ const Pe = process.env.NODE_ENV === "development", pt = class pt extends I {
9573
9568
  c = function(p) {
9574
9569
  const u = e.getFieldValue(p);
9575
9570
  return typeof u < "u" && u !== null ? String(u).toLowerCase().indexOf(String(n).toLowerCase()) > -1 : !1;
9576
- }, l = Re.Like;
9571
+ }, l = Oe.Like;
9577
9572
  break;
9578
9573
  default:
9579
9574
  c = function(p) {
9580
9575
  return e.getFieldValue(p) == n;
9581
- }, l = Re.Equal;
9576
+ }, l = Oe.Equal;
9582
9577
  }
9583
9578
  i.headerFilters[s || ""] = {
9584
9579
  func: c,
@@ -10007,7 +10002,7 @@ const Pe = process.env.NODE_ENV === "development", pt = class pt extends I {
10007
10002
  };
10008
10003
  pt.moduleName = "filter", pt.filters = qc;
10009
10004
  let Wi = pt;
10010
- const gd = process.env.NODE_ENV === "development", Do = class Do extends I {
10005
+ const gd = process.env.NODE_ENV === "development", So = class So extends I {
10011
10006
  constructor(e) {
10012
10007
  super(e), this.leftColumns = [], this.rightColumns = [], this.active = !1, this.blocked = !0, this.registerColumnOption("frozen");
10013
10008
  }
@@ -10172,9 +10167,9 @@ const gd = process.env.NODE_ENV === "development", Do = class Do extends I {
10172
10167
  return i;
10173
10168
  }
10174
10169
  };
10175
- Do.moduleName = "frozenColumns";
10176
- let Fs = Do;
10177
- const wr = process.env.NODE_ENV === "development", ko = class ko extends I {
10170
+ So.moduleName = "frozenColumns";
10171
+ let Fs = So;
10172
+ const br = process.env.NODE_ENV === "development", Do = class Do extends I {
10178
10173
  constructor(e) {
10179
10174
  super(e), this.topElement = document.createElement("div"), this.rows = [], this.registerComponentFunction("row", "freeze", this.freezeRow.bind(this)), this.registerComponentFunction(
10180
10175
  "row",
@@ -10239,11 +10234,11 @@ const wr = process.env.NODE_ENV === "development", ko = class ko extends I {
10239
10234
  }
10240
10235
  freezeRow(e) {
10241
10236
  const t = e._getSelf ? e._getSelf() : e._row;
10242
- t && (t.modules.frozen ? wr && 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()));
10237
+ t && (t.modules.frozen ? br && 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()));
10243
10238
  }
10244
10239
  unfreezeRow(e) {
10245
10240
  const t = e._getSelf ? e._getSelf() : e._row;
10246
- t && (t.modules.frozen ? (t.modules.frozen = !1, this.detachRow(t), this.table.rowManager?.adjustTableSize(), this.refreshData(!1, "display"), this.rows.length && this.styleRows()) : wr && console.warn("Freeze Error - Row is already unfrozen"));
10241
+ t && (t.modules.frozen ? (t.modules.frozen = !1, this.detachRow(t), this.table.rowManager?.adjustTableSize(), this.refreshData(!1, "display"), this.rows.length && this.styleRows()) : br && console.warn("Freeze Error - Row is already unfrozen"));
10247
10242
  }
10248
10243
  detachRow(e) {
10249
10244
  const t = this.rows.indexOf(e);
@@ -10259,8 +10254,8 @@ const wr = process.env.NODE_ENV === "development", ko = class ko extends I {
10259
10254
  });
10260
10255
  }
10261
10256
  };
10262
- ko.moduleName = "frozenRows";
10263
- let Ls = ko;
10257
+ Do.moduleName = "frozenRows";
10258
+ let Ls = Do;
10264
10259
  const bd = process.env.NODE_ENV === "development", wd = x`<cx-icon-button class="tabulator-group-toggle" name="keyboard_arrow_down"></cx-icon-button>`, vd = x`<div class="tabulator-group-level-indent"></div>`, yd = x`<cx-button size="small"><cx-icon slot="prefix" name="add" variant="outlined"></cx-icon>
10265
10260
  Load More
10266
10261
  </cx-button>`, Cd = x`<div class="tabulator-data-tree-loading">Loading...</div>`;
@@ -10389,7 +10384,7 @@ class Zt {
10389
10384
  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)));
10390
10385
  }
10391
10386
  getPathKey() {
10392
- return fn(mo(this));
10387
+ return pn(fo(this));
10393
10388
  }
10394
10389
  getLoadMoreState() {
10395
10390
  return Wl(
@@ -10641,10 +10636,10 @@ class Zt {
10641
10636
  }
10642
10637
  // ////////////// Object Generation /////////////////
10643
10638
  getComponent() {
10644
- return this.component ??= new mn(this), this.component;
10639
+ return this.component ??= new fn(this), this.component;
10645
10640
  }
10646
10641
  }
10647
- const as = process.env.NODE_ENV === "development", To = class To extends I {
10642
+ const as = process.env.NODE_ENV === "development", ko = class ko extends I {
10648
10643
  constructor(e) {
10649
10644
  super(e), this.groupIDLookups = !1, this.startOpen = [
10650
10645
  function() {
@@ -11063,8 +11058,8 @@ const as = process.env.NODE_ENV === "development", To = class To extends I {
11063
11058
  }), e && (t ? e.style.minWidth = (this.table.columnManager?.getWidth() || 0) + "px" : e.style.minWidth = "");
11064
11059
  }
11065
11060
  };
11066
- To.moduleName = "groupRows";
11067
- let zs = To;
11061
+ ko.moduleName = "groupRows";
11062
+ let zs = ko;
11068
11063
  const Ed = {
11069
11064
  cellEdit: function(r) {
11070
11065
  "setValueProcessData" in r.component && (r.component.setValueProcessData(r.data.newValue), r.component.cellRendered());
@@ -11136,7 +11131,7 @@ const Ed = {
11136
11131
  actions: Rd,
11137
11132
  bindings: Sd
11138
11133
  }
11139
- }, vr = process.env.NODE_ENV === "development", ft = class ft extends I {
11134
+ }, wr = process.env.NODE_ENV === "development", ft = class ft extends I {
11140
11135
  constructor(e) {
11141
11136
  super(e), this.history = [], this.index = -1, this.registerTableOption("history", !1);
11142
11137
  }
@@ -11218,7 +11213,7 @@ const Ed = {
11218
11213
  e.component.getComponent(),
11219
11214
  e.data
11220
11215
  ), !0;
11221
- } else vr && console.warn(
11216
+ } else wr && console.warn(
11222
11217
  this.options("history") ? "History Undo Error - No more history to undo" : "History module not enabled"
11223
11218
  );
11224
11219
  return !1;
@@ -11234,7 +11229,7 @@ const Ed = {
11234
11229
  e.component.getComponent(),
11235
11230
  e.data
11236
11231
  ), !0;
11237
- } else vr && console.warn(
11232
+ } else wr && console.warn(
11238
11233
  this.options("history") ? "History Redo Error - No more history to redo" : "History module not enabled"
11239
11234
  );
11240
11235
  return !1;
@@ -11242,7 +11237,7 @@ const Ed = {
11242
11237
  // rebind rows to new element after deletion
11243
11238
  _rebindRow(e, t) {
11244
11239
  this.history.forEach((i) => {
11245
- if (i.component instanceof Fe)
11240
+ if (i.component instanceof Me)
11246
11241
  i.component === e && (i.component = t);
11247
11242
  else if (i.component instanceof Ti && i.component.row === e) {
11248
11243
  const s = i.component.column.getField();
@@ -11256,7 +11251,7 @@ const Ed = {
11256
11251
  };
11257
11252
  ft.moduleName = "history", ft.moduleExtensions = Dd, ft.undoers = xd, ft.redoers = Ed;
11258
11253
  let _s = ft;
11259
- const kd = process.env.NODE_ENV === "development", Mo = class Mo extends I {
11254
+ const kd = process.env.NODE_ENV === "development", To = class To extends I {
11260
11255
  constructor(e) {
11261
11256
  super(e), this.fieldIndex = [], this.hasIndex = !1;
11262
11257
  }
@@ -11335,8 +11330,8 @@ const kd = process.env.NODE_ENV === "development", Mo = class Mo extends I {
11335
11330
  }
11336
11331
  }
11337
11332
  };
11338
- Mo.moduleName = "htmlTableImport";
11339
- let Os = Mo;
11333
+ To.moduleName = "htmlTableImport";
11334
+ let Os = To;
11340
11335
  function Td(r) {
11341
11336
  return r;
11342
11337
  }
@@ -11347,9 +11342,9 @@ v5.5.4
11347
11342
  https://github.com/mholt/PapaParse
11348
11343
  License: MIT
11349
11344
  */
11350
- var Md = Vi.exports, yr;
11345
+ var Md = Vi.exports, vr;
11351
11346
  function Fd() {
11352
- return yr || (yr = 1, function(r, e) {
11347
+ return vr || (vr = 1, function(r, e) {
11353
11348
  ((t, i) => {
11354
11349
  r.exports = i();
11355
11350
  })(Md, function t() {
@@ -11465,7 +11460,7 @@ function Fd() {
11465
11460
  }, this);
11466
11461
  }
11467
11462
  function E(b) {
11468
- var C, R, k, S, _ = Math.pow(2, 53), ae = -_, Ge = /^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/, Je = /^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/, j = this, fe = 0, O = 0, ze = !1, V = !1, G = [], F = { data: [], errors: [], meta: {} };
11463
+ var C, R, k, S, _ = Math.pow(2, 53), ae = -_, Ge = /^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/, Je = /^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/, j = this, fe = 0, O = 0, Le = !1, V = !1, G = [], F = { data: [], errors: [], meta: {} };
11469
11464
  function Ue(X) {
11470
11465
  return b.skipEmptyLines === "greedy" ? X.join("").trim() === "" : X.length === 1 && X[0].length === 0;
11471
11466
  }
@@ -11507,18 +11502,18 @@ function Fd() {
11507
11502
  var st, B, ue, Rt;
11508
11503
  K = K || [",", " ", "|", ";", h.RECORD_SEP, h.UNIT_SEP];
11509
11504
  for (var Xt = 0; Xt < K.length; Xt++) {
11510
- for (var ht, hi = K[Xt], _e = 0, ct = 0, xe = 0, Ne = (ue = void 0, new D({ comments: oe, delimiter: hi, newline: ye, preview: 10 }).parse(he)), wt = 0; wt < Ne.data.length; wt++) se && Ue(Ne.data[wt]) ? xe++ : (ht = Ne.data[wt].length, ct += ht, ue === void 0 ? ue = ht : 0 < ht && (_e += Math.abs(ht - ue), ue = ht));
11511
- 0 < Ne.data.length && (ct /= Ne.data.length - xe), (B === void 0 || _e <= B) && (Rt === void 0 || Rt < ct) && 1.99 < ct && (B = _e, st = hi, Rt = ct);
11505
+ for (var ht, hi = K[Xt], ze = 0, ct = 0, xe = 0, Ne = (ue = void 0, new D({ comments: oe, delimiter: hi, newline: ye, preview: 10 }).parse(he)), wt = 0; wt < Ne.data.length; wt++) se && Ue(Ne.data[wt]) ? xe++ : (ht = Ne.data[wt].length, ct += ht, ue === void 0 ? ue = ht : 0 < ht && (ze += Math.abs(ht - ue), ue = ht));
11506
+ 0 < Ne.data.length && (ct /= Ne.data.length - xe), (B === void 0 || ze <= B) && (Rt === void 0 || Rt < ct) && 1.99 < ct && (B = ze, st = hi, Rt = ct);
11512
11507
  }
11513
11508
  return { successful: !!(b.delimiter = st), bestDelimiter: st };
11514
11509
  })(X, b.newline, b.skipEmptyLines, b.comments, b.delimitersToGuess)).successful ? b.delimiter = A.bestDelimiter : (k = !0, b.delimiter = h.DefaultDelimiter), F.meta.delimiter = b.delimiter), we(b));
11515
- return b.preview && b.header && A.preview++, C = X, R = new D(A), F = R.parse(C, U, me), le(), ze ? { meta: { paused: !0 } } : F || { meta: { paused: !1 } };
11510
+ return b.preview && b.header && A.preview++, C = X, R = new D(A), F = R.parse(C, U, me), le(), Le ? { meta: { paused: !0 } } : F || { meta: { paused: !1 } };
11516
11511
  }, this.paused = function() {
11517
- return ze;
11512
+ return Le;
11518
11513
  }, this.pause = function() {
11519
- ze = !0, R.abort(), C = z(b.chunk) ? "" : C.substring(R.getCharIndex());
11514
+ Le = !0, R.abort(), C = z(b.chunk) ? "" : C.substring(R.getCharIndex());
11520
11515
  }, this.resume = function() {
11521
- j.streamer._halted ? (ze = !1, j.streamer.parseChunk(C, !0)) : setTimeout(j.resume, 3);
11516
+ j.streamer._halted ? (Le = !1, j.streamer.parseChunk(C, !0)) : setTimeout(j.resume, 3);
11522
11517
  }, this.aborted = function() {
11523
11518
  return V;
11524
11519
  }, this.abort = function() {
@@ -11545,23 +11540,23 @@ function Fd() {
11545
11540
  ` && R !== "\r" && R !== `\r
11546
11541
  ` && (R = `
11547
11542
  `);
11548
- var O = 0, ze = !1;
11543
+ var O = 0, Le = !1;
11549
11544
  this.parse = function(V, G, F) {
11550
11545
  if (typeof V != "string") throw new Error("Input must be a string");
11551
11546
  var Ue = V.length, le = C.length, ve = R.length, it = k.length, X = z(S), U = [], me = [], A = [], he = O = 0;
11552
- if (!V) return _e();
11547
+ if (!V) return ze();
11553
11548
  if (ae || ae !== !1 && V.indexOf(j) === -1) {
11554
11549
  for (var ye = V.split(R), se = 0; se < ye.length; se++) {
11555
11550
  if (A = ye[se], O += A.length, se !== ye.length - 1) O += R.length;
11556
- else if (F) return _e();
11551
+ else if (F) return ze();
11557
11552
  if (!k || A.substring(0, it) !== k) {
11558
11553
  if (X) {
11559
- if (U = [], Rt(A.split(C)), ct(), ze) return _e();
11554
+ if (U = [], Rt(A.split(C)), ct(), Le) return ze();
11560
11555
  } else Rt(A.split(C));
11561
- if (_ && _ <= se) return U = U.slice(0, _), _e(!0);
11556
+ if (_ && _ <= se) return U = U.slice(0, _), ze(!0);
11562
11557
  }
11563
11558
  }
11564
- return _e();
11559
+ return ze();
11565
11560
  }
11566
11561
  for (var oe = V.indexOf(C, O), K = V.indexOf(R, O), st = new RegExp(y(fe) + y(j), "g"), B = V.indexOf(j, O); ; ) if (V[O] === j) for (B = O, O++; ; ) {
11567
11562
  if ((B = V.indexOf(j, B + 1)) === -1) return F || me.push({ type: "Quotes", code: "MissingQuotes", message: "Quoted field unterminated", row: U.length, index: O }), ht();
@@ -11575,21 +11570,21 @@ function Fd() {
11575
11570
  break;
11576
11571
  }
11577
11572
  if (ue = Xt(K), V.substring(B + 1 + ue, B + 1 + ue + ve) === R) {
11578
- if (A.push(V.substring(O, B).replace(st, j)), hi(B + 1 + ue + ve), oe = V.indexOf(C, O), B = V.indexOf(j, O), X && (ct(), ze)) return _e();
11579
- if (_ && U.length >= _) return _e(!0);
11573
+ if (A.push(V.substring(O, B).replace(st, j)), hi(B + 1 + ue + ve), oe = V.indexOf(C, O), B = V.indexOf(j, O), X && (ct(), Le)) return ze();
11574
+ if (_ && U.length >= _) return ze(!0);
11580
11575
  break;
11581
11576
  }
11582
11577
  me.push({ type: "Quotes", code: "InvalidQuotes", message: "Trailing quote on quoted field is malformed", row: U.length, index: O }), B++;
11583
11578
  }
11584
11579
  }
11585
11580
  else if (k && A.length === 0 && V.substring(O, O + it) === k) {
11586
- if (K === -1) return _e();
11581
+ if (K === -1) return ze();
11587
11582
  O = K + ve, K = V.indexOf(R, O), oe = V.indexOf(C, O);
11588
11583
  } else if (oe !== -1 && (oe < K || K === -1)) A.push(V.substring(O, oe)), O = oe + le, oe = V.indexOf(C, O);
11589
11584
  else {
11590
11585
  if (K === -1) break;
11591
- if (A.push(V.substring(O, K)), hi(K + ve), X && (ct(), ze)) return _e();
11592
- if (_ && U.length >= _) return _e(!0);
11586
+ if (A.push(V.substring(O, K)), hi(K + ve), X && (ct(), Le)) return ze();
11587
+ if (_ && U.length >= _) return ze(!0);
11593
11588
  }
11594
11589
  return ht();
11595
11590
  function Rt(xe) {
@@ -11600,33 +11595,33 @@ function Fd() {
11600
11595
  return Ne = xe !== -1 && (xe = V.substring(B + 1, xe)) && xe.trim() === "" ? xe.length : Ne;
11601
11596
  }
11602
11597
  function ht(xe) {
11603
- return F || (xe === void 0 && (xe = V.substring(O)), A.push(xe), O = Ue, Rt(A), X && ct()), _e();
11598
+ return F || (xe === void 0 && (xe = V.substring(O)), A.push(xe), O = Ue, Rt(A), X && ct()), ze();
11604
11599
  }
11605
11600
  function hi(xe) {
11606
11601
  O = xe, Rt(A), A = [], K = V.indexOf(R, O);
11607
11602
  }
11608
- function _e(xe) {
11603
+ function ze(xe) {
11609
11604
  if (b.header && !G && U.length && !Je) {
11610
11605
  var Ne = U[0], wt = /* @__PURE__ */ Object.create(null), is = new Set(Ne);
11611
- let Wo = !1;
11606
+ let $o = !1;
11612
11607
  for (let Jt = 0; Jt < Ne.length; Jt++) {
11613
11608
  let dt = c(Ne[Jt]);
11614
11609
  if (wt[dt = z(b.transformHeader) ? b.transformHeader(dt, Jt) : dt]) {
11615
- let ci, jo = wt[dt];
11616
- for (; ci = dt + "_" + jo, jo++, is.has(ci); ) ;
11617
- is.add(ci), Ne[Jt] = ci, wt[dt]++, Wo = !0, (Ge = Ge === null ? {} : Ge)[ci] = dt;
11610
+ let ci, Wo = wt[dt];
11611
+ for (; ci = dt + "_" + Wo, Wo++, is.has(ci); ) ;
11612
+ is.add(ci), Ne[Jt] = ci, wt[dt]++, $o = !0, (Ge = Ge === null ? {} : Ge)[ci] = dt;
11618
11613
  } else wt[dt] = 1, Ne[Jt] = dt;
11619
11614
  is.add(dt);
11620
11615
  }
11621
- Wo && console.warn("Duplicate headers found and renamed."), Je = !0;
11616
+ $o && console.warn("Duplicate headers found and renamed."), Je = !0;
11622
11617
  }
11623
- return { data: U, errors: me, meta: { delimiter: C, linebreak: R, aborted: ze, truncated: !!xe, cursor: he + (G || 0), renamedHeaders: Ge } };
11618
+ return { data: U, errors: me, meta: { delimiter: C, linebreak: R, aborted: Le, truncated: !!xe, cursor: he + (G || 0), renamedHeaders: Ge } };
11624
11619
  }
11625
11620
  function ct() {
11626
- S(_e()), U = [], me = [];
11621
+ S(ze()), U = [], me = [];
11627
11622
  }
11628
11623
  }, this.abort = function() {
11629
- ze = !0;
11624
+ Le = !0;
11630
11625
  }, this.getCharIndex = function() {
11631
11626
  return O;
11632
11627
  };
@@ -11690,11 +11685,11 @@ function Fd() {
11690
11685
  }
11691
11686
  })(), new RegExp(y(ae), "g"));
11692
11687
  if (typeof b == "string" && (b = JSON.parse(b)), Array.isArray(b)) {
11693
- if (!b.length || Array.isArray(b[0])) return ze(null, b, Je);
11694
- if (typeof b[0] == "object") return ze(j || Object.keys(b[0]), b, Je);
11695
- } else if (typeof b == "object") return typeof b.data == "string" && (b.data = JSON.parse(b.data)), Array.isArray(b.data) && (b.fields || (b.fields = b.meta && b.meta.fields || j), b.fields || (b.fields = Array.isArray(b.data[0]) ? b.fields : typeof b.data[0] == "object" ? Object.keys(b.data[0]) : []), Array.isArray(b.data[0]) || typeof b.data[0] == "object" || (b.data = [b.data])), ze(b.fields || [], b.data || [], Je);
11688
+ if (!b.length || Array.isArray(b[0])) return Le(null, b, Je);
11689
+ if (typeof b[0] == "object") return Le(j || Object.keys(b[0]), b, Je);
11690
+ } else if (typeof b == "object") return typeof b.data == "string" && (b.data = JSON.parse(b.data)), Array.isArray(b.data) && (b.fields || (b.fields = b.meta && b.meta.fields || j), b.fields || (b.fields = Array.isArray(b.data[0]) ? b.fields : typeof b.data[0] == "object" ? Object.keys(b.data[0]) : []), Array.isArray(b.data[0]) || typeof b.data[0] == "object" || (b.data = [b.data])), Le(b.fields || [], b.data || [], Je);
11696
11691
  throw new Error("Unable to serialize unrecognized input");
11697
- function ze(G, F, Ue) {
11692
+ function Le(G, F, Ue) {
11698
11693
  var le = "", ve = (typeof G == "string" && (G = JSON.parse(G)), typeof F == "string" && (F = JSON.parse(F)), Array.isArray(G) && 0 < G.length), it = !Array.isArray(F[0]);
11699
11694
  if (ve && k) {
11700
11695
  for (var X = 0; X < G.length; X++) 0 < X && (le += S), le += V(G[X], X);
@@ -11747,8 +11742,8 @@ function Fd() {
11747
11742
  } else if (fe === "skip") return void S();
11748
11743
  }
11749
11744
  var O = j.instanceConfig.complete;
11750
- j.instanceConfig.complete = function(ze) {
11751
- z(O) && O(ze, j.file, j.inputElem), S();
11745
+ j.instanceConfig.complete = function(Le) {
11746
+ z(O) && O(Le, j.file, j.inputElem), S();
11752
11747
  }, h.parse(j.file, j.instanceConfig);
11753
11748
  }
11754
11749
  }
@@ -11762,9 +11757,9 @@ function Fd() {
11762
11757
  }(Vi)), Vi.exports;
11763
11758
  }
11764
11759
  var Ld = Fd();
11765
- const yo = /* @__PURE__ */ Ca(Ld);
11760
+ const vo = /* @__PURE__ */ Ca(Ld);
11766
11761
  function zd(r) {
11767
- const e = yo.parse(r, { header: !1, skipEmptyLines: !0 }), t = e.errors.filter((i) => i.code !== "UndetectableDelimiter");
11762
+ const e = vo.parse(r, { header: !1, skipEmptyLines: !0 }), t = e.errors.filter((i) => i.code !== "UndetectableDelimiter");
11768
11763
  if (t.length > 0)
11769
11764
  throw new Error(`CSV parse error: ${t[0].message}`);
11770
11765
  return e.data;
@@ -11777,13 +11772,13 @@ async function Od(r) {
11777
11772
  throw _d && console.warn("JSON Import Error - File contents is invalid JSON", e), new Error("Invalid JSON format");
11778
11773
  }
11779
11774
  }
11780
- const Cr = process.env.NODE_ENV === "development", Ad = function(r) {
11775
+ const yr = process.env.NODE_ENV === "development", Ad = function(r) {
11781
11776
  const t = this.dependencyRegistry.lookup("XLSX");
11782
11777
  if (!t)
11783
- return Cr && console.warn("XLSX library not found in dependency registry"), [];
11778
+ return yr && console.warn("XLSX library not found in dependency registry"), [];
11784
11779
  const i = t.read(r);
11785
11780
  if (!i.SheetNames || i.SheetNames.length === 0)
11786
- return Cr && console.warn("XLSX workbook contains no sheets"), [];
11781
+ return yr && console.warn("XLSX workbook contains no sheets"), [];
11787
11782
  const s = i.Sheets[i.SheetNames[0]];
11788
11783
  return t.utils.sheet_to_json(s, { header: 1 });
11789
11784
  }, Pd = {
@@ -11949,7 +11944,7 @@ const Cr = process.env.NODE_ENV === "development", Ad = function(r) {
11949
11944
  };
11950
11945
  bi.moduleName = "import", bi.importers = Pd;
11951
11946
  let As = bi;
11952
- const Fo = class Fo extends I {
11947
+ const Mo = class Mo extends I {
11953
11948
  constructor(e) {
11954
11949
  super(e), this.eventMap = {
11955
11950
  // cell events
@@ -12131,8 +12126,8 @@ const Fo = class Fo extends I {
12131
12126
  this.columnSubscribers[e] && (i instanceof Ti ? o = i.column.definition[e] : i instanceof Be && (o = i.definition[e]), o && o(t, s)), this.dispatchExternal(e, t, s);
12132
12127
  }
12133
12128
  };
12134
- Fo.moduleName = "interaction";
12135
- let Ps = Fo;
12129
+ Mo.moduleName = "interaction";
12130
+ let Ps = Mo;
12136
12131
  const Id = {
12137
12132
  keyBlock: function(r) {
12138
12133
  r.stopPropagation(), r.preventDefault();
@@ -12261,7 +12256,7 @@ const Id = {
12261
12256
  };
12262
12257
  Lt.moduleName = "keybindings", Lt.bindings = Hd, Lt.actions = Id;
12263
12258
  let Is = Lt;
12264
- const Lo = class Lo extends I {
12259
+ const Fo = class Fo extends I {
12265
12260
  constructor(e) {
12266
12261
  super(e), this.menuContainer = null, this.nestedMenuBlock = !1, this.currentComponent = null, this.rootPopup = null, this.columnSubscribers = {}, this.registerTableOption("rowContextMenu", !1), this.registerTableOption("rowClickMenu", !1), this.registerTableOption("rowDblClickMenu", !1), this.registerTableOption("groupContextMenu", !1), this.registerTableOption("groupClickMenu", !1), this.registerTableOption("groupDblClickMenu", !1), this.registerColumnOption("headerContextMenu"), this.registerColumnOption("headerClickMenu"), this.registerColumnOption("headerDblClickMenu"), this.registerColumnOption("headerMenu"), this.registerColumnOption("headerMenuIcon"), this.registerColumnOption("contextMenu"), this.registerColumnOption("clickMenu"), this.registerColumnOption("dblClickMenu");
12267
12262
  }
@@ -12384,9 +12379,9 @@ const Lo = class Lo extends I {
12384
12379
  }
12385
12380
  }
12386
12381
  };
12387
- Lo.moduleName = "menu";
12388
- let Hs = Lo;
12389
- const zo = class zo extends I {
12382
+ Fo.moduleName = "menu";
12383
+ let Hs = Fo;
12384
+ const Lo = class Lo extends I {
12390
12385
  constructor(e) {
12391
12386
  super(e), this.placeholderElement = this.createPlaceholderElement(), this.hoverElement = !1, this.checkTimeout = !1, this.checkPeriod = 250, this.moving = !1, this.toCol = !1, this.toColAfter = !1, this.startX = 0, this.autoScrollMargin = 40, this.autoScrollStep = 5, this.autoScrollTimeout = !1, this.touchMove = !1, this.moveHover = this.moveHover.bind(this), this.endMove = this.endMove.bind(this), this.registerTableOption("movableColumns", !1);
12392
12387
  }
@@ -12542,8 +12537,8 @@ const zo = class zo extends I {
12542
12537
  }, 1)));
12543
12538
  }
12544
12539
  };
12545
- zo.moduleName = "moveColumn";
12546
- let Ns = zo;
12540
+ Lo.moduleName = "moveColumn";
12541
+ let Ns = Lo;
12547
12542
  const Vd = {
12548
12543
  add: function(r, e, t) {
12549
12544
  return r && this.table.addRow(r.getData("")), !0;
@@ -12996,7 +12991,7 @@ const $d = {}, Wd = process.env.NODE_ENV === "development", ii = class ii extend
12996
12991
  };
12997
12992
  ii.moduleName = "mutator", ii.mutators = $d;
12998
12993
  let Bs = ii;
12999
- const _o = class _o extends I {
12994
+ const zo = class zo extends I {
13000
12995
  constructor(e) {
13001
12996
  super(e), this.element = null, this.size = 0, this.page = 1, this.count = 5, this.max = 1, this.remoteRowCountEstimate = null, this.initialLoad = !0, this.progressiveLoad = !1, this.dataChanging = !1, this.pageSizes = [], this.mode = "local", this.rowsUpdatedScheduled = !1, this.setPage = (t) => {
13002
12997
  if (typeof t == "string") {
@@ -13275,9 +13270,9 @@ const _o = class _o extends I {
13275
13270
  return e.data;
13276
13271
  }
13277
13272
  };
13278
- _o.moduleName = "page";
13279
- let $s = _o;
13280
- const Er = process.env.NODE_ENV === "development", jd = {
13273
+ zo.moduleName = "page";
13274
+ let $s = zo;
13275
+ const Cr = process.env.NODE_ENV === "development", jd = {
13281
13276
  cookie: function(r, e) {
13282
13277
  let t = document.cookie;
13283
13278
  const i = r + "-" + e, s = t.indexOf(i + "=");
@@ -13292,7 +13287,7 @@ const Er = process.env.NODE_ENV === "development", jd = {
13292
13287
  try {
13293
13288
  return JSON.parse(n);
13294
13289
  } catch (a) {
13295
- return Er && console.error("Failed to parse cookie data:", a), !1;
13290
+ return Cr && console.error("Failed to parse cookie data:", a), !1;
13296
13291
  }
13297
13292
  },
13298
13293
  local: function(r, e) {
@@ -13302,7 +13297,7 @@ const Er = process.env.NODE_ENV === "development", jd = {
13302
13297
  try {
13303
13298
  return JSON.parse(t);
13304
13299
  } catch (i) {
13305
- return Er && console.error("Failed to parse localStorage data:", i), !1;
13300
+ return Cr && console.error("Failed to parse localStorage data:", i), !1;
13306
13301
  }
13307
13302
  }
13308
13303
  }, Gd = {
@@ -13522,7 +13517,7 @@ const Er = process.env.NODE_ENV === "development", jd = {
13522
13517
  };
13523
13518
  Ve.moduleName = "persistence", Ve.moduleInitOrder = -10, Ve.readers = jd, Ve.writers = Gd;
13524
13519
  let Ws = Ve;
13525
- const Oo = class Oo extends I {
13520
+ const _o = class _o extends I {
13526
13521
  constructor(e) {
13527
13522
  super(e), this.columnSubscribers = {}, this.registerTableOption("rowContextPopup", !1), this.registerTableOption("rowClickPopup", !1), this.registerTableOption("rowDblClickPopup", !1), this.registerTableOption("groupContextPopup", !1), this.registerTableOption("groupClickPopup", !1), this.registerTableOption("groupDblClickPopup", !1), this.registerColumnOption("headerContextPopup"), this.registerColumnOption("headerClickPopup"), this.registerColumnOption("headerDblClickPopup"), this.registerColumnOption("headerPopup"), this.registerColumnOption("headerPopupIcon"), this.registerColumnOption("contextPopup"), this.registerColumnOption("clickPopup"), this.registerColumnOption("dblClickPopup"), this.registerComponentFunction(
13528
13523
  "cell",
@@ -13642,9 +13637,9 @@ const Oo = class Oo extends I {
13642
13637
  }), this.dispatchExternal("popupOpened", t.getComponent());
13643
13638
  }
13644
13639
  };
13645
- Oo.moduleName = "popup";
13646
- let js = Oo;
13647
- const xr = process.env.NODE_ENV === "development", Ao = class Ao extends I {
13640
+ _o.moduleName = "popup";
13641
+ let js = _o;
13642
+ const Er = process.env.NODE_ENV === "development", Oo = class Oo extends I {
13648
13643
  constructor(e) {
13649
13644
  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");
13650
13645
  }
@@ -13676,7 +13671,7 @@ const xr = process.env.NODE_ENV === "development", Ao = class Ao extends I {
13676
13671
  if (!this.manualBlock) {
13677
13672
  const e = this.table.modules.export;
13678
13673
  if (!e || typeof e.generateTable != "function") {
13679
- xr && console.error(
13674
+ Er && console.error(
13680
13675
  "Print Error - Export module not available, cannot generate print table."
13681
13676
  );
13682
13677
  return;
@@ -13700,7 +13695,7 @@ const xr = process.env.NODE_ENV === "development", Ao = class Ao extends I {
13700
13695
  printFullscreen(e, t, i) {
13701
13696
  const s = window.scrollX, o = window.scrollY, n = document.createElement("div"), a = document.createElement("div"), l = this.table.modules.export;
13702
13697
  if (!l || typeof l.generateTable != "function") {
13703
- xr && console.error(
13698
+ Er && console.error(
13704
13699
  "Print Error - Export module not available, cannot generate print table."
13705
13700
  );
13706
13701
  return;
@@ -13720,9 +13715,9 @@ const xr = process.env.NODE_ENV === "development", Ao = class Ao extends I {
13720
13715
  }
13721
13716
  }
13722
13717
  };
13723
- Ao.moduleName = "print";
13724
- let Gs = Ao;
13725
- const Po = class Po extends I {
13718
+ Oo.moduleName = "print";
13719
+ let Gs = Oo;
13720
+ const Ao = class Ao extends I {
13726
13721
  constructor(e) {
13727
13722
  super(e), this.data = !1, this.blocked = !1, this.origFuncs = {}, this.currentVersion = 0, this.registerTableOption("reactiveData", !1);
13728
13723
  }
@@ -13925,9 +13920,9 @@ const Po = class Po extends I {
13925
13920
  this.blocked === e && (this.blocked = !1);
13926
13921
  }
13927
13922
  };
13928
- Po.moduleName = "reactiveData";
13929
- let Us = Po;
13930
- const Io = class Io extends I {
13923
+ Ao.moduleName = "reactiveData";
13924
+ let Us = Ao;
13925
+ const Po = class Po extends I {
13931
13926
  constructor(e) {
13932
13927
  super(e), this.startColumn = !1, this.startX = !1, this.startWidth = !1, this.startColumnPinnedEnd = !1, this.latestX = !1, this.handle = null, this.initialNextColumn = null, this.nextColumn = null, this.initialized = !1, this.registerColumnOption("resizable", !0), this.registerTableOption("resizableColumnFit", !1), this.registerTableOption("resizableColumnGuide", !1);
13933
13928
  }
@@ -14118,9 +14113,9 @@ const Io = class Io extends I {
14118
14113
  a !== null && (this.startX = a, this.latestX = this.startX, this.startWidth = t.getWidth(), this.startColumnPinnedEnd = this.isPinnedEnd(t), document.body.addEventListener("mousemove", o), document.body.addEventListener("mouseup", n), i.addEventListener("touchmove", o, { passive: !0 }), i.addEventListener("touchend", n));
14119
14114
  }
14120
14115
  };
14121
- Io.moduleName = "resizeColumns";
14122
- let Ks = Io;
14123
- const Ho = class Ho extends I {
14116
+ Po.moduleName = "resizeColumns";
14117
+ let Ks = Po;
14118
+ const Io = class Io extends I {
14124
14119
  constructor(e) {
14125
14120
  super(e), this.startRow = !1, this.startY = !1, this.startHeight = !1, this.handle = null, this.prevHandle = null, this.registerTableOption("resizableRows", !1), this.registerTableOption("resizableRowGuide", !1);
14126
14121
  }
@@ -14196,9 +14191,9 @@ const Ho = class Ho extends I {
14196
14191
  }), i.addEventListener("touchend", n));
14197
14192
  }
14198
14193
  };
14199
- Ho.moduleName = "resizeRows";
14200
- let qs = Ho;
14201
- const No = class No extends I {
14194
+ Io.moduleName = "resizeRows";
14195
+ let qs = Io;
14196
+ const Ho = class Ho extends I {
14202
14197
  constructor(e) {
14203
14198
  super(e), this.pendingRedraw = !1, this.pendingForceRedraw = !1, this.boundHandleTableInitialized = this.handleTableInitialized.bind(this), this.binding = !1, this.visibilityObserver = !1, this.resizeObserver = !1, this.containerObserver = !1, this.tableHeight = 0, this.tableWidth = 0, this.containerHeight = 0, this.containerWidth = 0, this.autoResize = !1, this.visible = !1, this.initialized = !1, this.initialRedraw = !1, this.registerTableOption("autoResize", !0);
14204
14199
  }
@@ -14276,8 +14271,8 @@ const No = class No extends I {
14276
14271
  this.flushPendingRedraw();
14277
14272
  }
14278
14273
  };
14279
- No.moduleName = "resizeTable";
14280
- let Xs = No;
14274
+ Ho.moduleName = "resizeTable";
14275
+ let Xs = Ho;
14281
14276
  function Ud(r) {
14282
14277
  const e = document.createElement("div"), t = r.getRow()._row.modules.responsiveLayout;
14283
14278
  e.classList.add("tabulator-responsive-collapse-toggle"), e.setAttribute("role", "button"), e.setAttribute("aria-label", "Toggle row details"), e.innerHTML = `<svg class='tabulator-responsive-collapse-toggle-open' viewBox="0 0 24 24" aria-hidden="true">
@@ -14476,7 +14471,7 @@ function Xd(r, e, t) {
14476
14471
  const a = typeof r.getRow == "function" ? r.getRow() : null;
14477
14472
  if (a === null)
14478
14473
  return "";
14479
- if (a instanceof bo) {
14474
+ if (a instanceof go) {
14480
14475
  const l = e.disabled?.(a.getData()) ?? !1;
14481
14476
  i.disabled = l, t(() => {
14482
14477
  const h = a._row.element, c = r.getElement();
@@ -14497,7 +14492,7 @@ const Jd = {
14497
14492
  rowSelection: Xd
14498
14493
  }
14499
14494
  }
14500
- }, Rr = process.env.NODE_ENV === "development", Gi = class Gi extends I {
14495
+ }, xr = process.env.NODE_ENV === "development", Gi = class Gi extends I {
14501
14496
  // hold header select element (cx-checkbox)
14502
14497
  constructor(e) {
14503
14498
  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(
@@ -14634,7 +14629,7 @@ const Jd = {
14634
14629
  if (o) {
14635
14630
  if (this.selectedRows.indexOf(o) === -1)
14636
14631
  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;
14637
- } else !t && Rr && console.warn(
14632
+ } else !t && xr && console.warn(
14638
14633
  "Selection Error - No such row found, ignoring selection:" + e
14639
14634
  );
14640
14635
  return !1;
@@ -14671,7 +14666,7 @@ const Jd = {
14671
14666
  if (i) {
14672
14667
  if (s = this.selectedRows.findIndex((n) => n === i), s > -1)
14673
14668
  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;
14674
- } else !t && Rr && console.warn(
14669
+ } else !t && xr && console.warn(
14675
14670
  "Deselection Error - No such row found, ignoring selection:" + e
14676
14671
  );
14677
14672
  return !1;
@@ -14901,8 +14896,8 @@ class ru {
14901
14896
  this._range.destroyedGuard("remove") && this._range.destroy(!0);
14902
14897
  }
14903
14898
  }
14904
- const Sr = process.env.NODE_ENV === "development";
14905
- class nu extends Le {
14899
+ const Rr = process.env.NODE_ENV === "development";
14900
+ class nu extends Fe {
14906
14901
  constructor(e, t, i, s) {
14907
14902
  super(e), this.rangeManager = t, this.element = null, this.initialized = !1, this.initializing = {
14908
14903
  end: !1,
@@ -15032,7 +15027,7 @@ class nu extends Le {
15032
15027
  end: null,
15033
15028
  start: null
15034
15029
  };
15035
- return t.length ? (i.start = t[0], i.end = t.at(-1)) : Sr && console.warn("No bounds defined on range"), i;
15030
+ return t.length ? (i.start = t[0], i.end = t.at(-1)) : Rr && console.warn("No bounds defined on range"), i;
15036
15031
  }
15037
15032
  getComponent() {
15038
15033
  return this.component ??= new ru(this), this.component;
@@ -15041,7 +15036,7 @@ class nu extends Le {
15041
15036
  this.destroyed = !0, this.element && this.element.remove(), e && this.rangeManager.rangeRemoved(this), this.initialized && this.dispatchExternal("rangeRemoved", this.getComponent());
15042
15037
  }
15043
15038
  destroyedGuard(e) {
15044
- return this.destroyed && Sr && console.warn(
15039
+ return this.destroyed && Rr && console.warn(
15045
15040
  "You cannot call the " + e + " function on a destroyed range"
15046
15041
  ), !this.destroyed;
15047
15042
  }
@@ -15699,7 +15694,7 @@ function cu(r, e, t, i, s, o, n) {
15699
15694
  return (r === !0 || r === "true" || r === "True" || r === 1 ? 1 : 0) - (e === !0 || e === "true" || e === "True" || e === 1 ? 1 : 0);
15700
15695
  }
15701
15696
  const du = process.env.NODE_ENV === "development";
15702
- function Co(r, e, t, i, s, o, n) {
15697
+ function yo(r, e, t, i, s, o, n) {
15703
15698
  const { alignEmptyValues: a, format: l = "dd/MM/yyyy HH:mm:ss" } = n || {}, h = this.table.dependencyRegistry.lookup(
15704
15699
  ["luxon", "DateTime"],
15705
15700
  "DateTime"
@@ -15720,7 +15715,7 @@ function Co(r, e, t, i, s, o, n) {
15720
15715
  }
15721
15716
  function uu(r, e, t, i, s, o, n) {
15722
15717
  const a = n ?? {};
15723
- return a.format || (a.format = "dd/MM/yyyy"), Co.call(this, r, e, t, i, s, o, a);
15718
+ return a.format || (a.format = "dd/MM/yyyy"), yo.call(this, r, e, t, i, s, o, a);
15724
15719
  }
15725
15720
  function pu(r, e, t, i, s, o, n) {
15726
15721
  const a = (c) => c === null || typeof c > "u" || c === "", l = a(r) ? 0 : 1, h = a(e) ? 0 : 1;
@@ -15762,19 +15757,19 @@ function mu(r, e, t, i, s, o, n = {}) {
15762
15757
  }
15763
15758
  function gu(r, e, t, i, s, o, n) {
15764
15759
  const a = n ?? {}, l = a.format ? a : { ...a, format: "HH:mm" };
15765
- return Co.call(this, r, e, t, i, s, o, l);
15760
+ return yo.call(this, r, e, t, i, s, o, l);
15766
15761
  }
15767
15762
  const bu = {
15768
15763
  alphanum: lu,
15769
15764
  array: hu,
15770
15765
  boolean: cu,
15771
15766
  date: uu,
15772
- datetime: Co,
15767
+ datetime: yo,
15773
15768
  exists: pu,
15774
15769
  number: fu,
15775
15770
  string: mu,
15776
15771
  time: gu
15777
- }, Dr = process.env.NODE_ENV === "development", wu = {
15772
+ }, Sr = process.env.NODE_ENV === "development", wu = {
15778
15773
  asc: "ascending",
15779
15774
  desc: "descending",
15780
15775
  none: "none"
@@ -15813,7 +15808,7 @@ const bu = {
15813
15808
  let t = !1, i, s;
15814
15809
  switch (typeof e.definition.sorter) {
15815
15810
  case "string":
15816
- e.definition.sorter && Ut.sorters[e.definition.sorter] ? t = Ut.sorters[e.definition.sorter] : Dr && console.warn(
15811
+ e.definition.sorter && Ut.sorters[e.definition.sorter] ? t = Ut.sorters[e.definition.sorter] : Sr && console.warn(
15817
15812
  "Sort Error - No such sorter found: ",
15818
15813
  e.definition.sorter
15819
15814
  );
@@ -15823,7 +15818,7 @@ const bu = {
15823
15818
  break;
15824
15819
  }
15825
15820
  if (e.modules.sort = {
15826
- dir: Te.None,
15821
+ dir: ke.None,
15827
15822
  params: e.definition.sorterParams || {},
15828
15823
  sorter: t,
15829
15824
  startingDir: e.definition.headerSortStartingDir || "asc",
@@ -15854,20 +15849,20 @@ const bu = {
15854
15849
  this.table.options.headerSortElement || ""
15855
15850
  );
15856
15851
  }
15857
- e.titleHolderElement && e.titleHolderElement.appendChild(s), e.modules.sort.element = s, this.setColumnHeaderSortIcon(e, Te.None), this.table.options.headerSortClickElement === "icon" && s.addEventListener("mousedown", (o) => {
15852
+ e.titleHolderElement && e.titleHolderElement.appendChild(s), e.modules.sort.element = s, this.setColumnHeaderSortIcon(e, ke.None), this.table.options.headerSortClickElement === "icon" && s.addEventListener("mousedown", (o) => {
15858
15853
  o.stopPropagation();
15859
15854
  }), (this.table.options.headerSortClickElement === "icon" ? s : i).addEventListener("click", (o) => {
15860
- let n = Te.None, a = !1;
15855
+ let n = ke.None, a = !1;
15861
15856
  if (e.modules.sort) {
15862
15857
  if (e.modules.sort.tristate)
15863
- e.modules.sort.dir == Te.None ? n = e.modules.sort.startingDir : e.modules.sort.dir == e.modules.sort.startingDir ? n = e.modules.sort.dir == Te.Asc ? Te.Desc : Te.Asc : n = Te.None;
15858
+ e.modules.sort.dir == ke.None ? n = e.modules.sort.startingDir : e.modules.sort.dir == e.modules.sort.startingDir ? n = e.modules.sort.dir == ke.Asc ? ke.Desc : ke.Asc : n = ke.None;
15864
15859
  else
15865
15860
  switch (e.modules.sort.dir) {
15866
15861
  case "asc":
15867
- n = Te.Desc;
15862
+ n = ke.Desc;
15868
15863
  break;
15869
15864
  case "desc":
15870
- n = Te.Asc;
15865
+ n = ke.Asc;
15871
15866
  break;
15872
15867
  default:
15873
15868
  n = e.modules.sort.startingDir;
@@ -15911,13 +15906,13 @@ const bu = {
15911
15906
  Array.isArray(e) || (e = [{ column: e, dir: t }]), e.forEach((s) => {
15912
15907
  const o = this.table.columnManager?.findColumn(s.column);
15913
15908
  if (o) {
15914
- const n = o.modules.sort, a = s.dir ?? n?.startingDir ?? n?.dir ?? Te.Asc;
15909
+ const n = o.modules.sort, a = s.dir ?? n?.startingDir ?? n?.dir ?? ke.Asc;
15915
15910
  i.push({
15916
15911
  ...s,
15917
15912
  column: o,
15918
15913
  dir: a
15919
15914
  }), this.changed = !0;
15920
- } else Dr && console.warn(
15915
+ } else Sr && console.warn(
15921
15916
  "Sort Warning - Sort field does not exist and is being ignored: ",
15922
15917
  s.column
15923
15918
  );
@@ -15965,7 +15960,7 @@ const bu = {
15965
15960
  // clear sort arrows on columns
15966
15961
  clearColumnHeaders() {
15967
15962
  this.table.columnManager?.getRealColumns().forEach((e) => {
15968
- e.modules.sort && (e.modules.sort.dir = Te.None, e.getElement().setAttribute("aria-sort", "none"), this.setColumnHeaderSortIcon(e, Te.None));
15963
+ e.modules.sort && (e.modules.sort.dir = ke.None, e.getElement().setAttribute("aria-sort", "none"), this.setColumnHeaderSortIcon(e, ke.None));
15969
15964
  });
15970
15965
  }
15971
15966
  // set the column header sort direction
@@ -16006,7 +16001,7 @@ const bu = {
16006
16001
  }
16007
16002
  // process individual rows for a sort function on active data
16008
16003
  _sortRow(e, t, i, s, o) {
16009
- const n = s === Te.Asc ? e : t, a = s === Te.Asc ? t : e;
16004
+ const n = s === ke.Asc ? e : t, a = s === ke.Asc ? t : e;
16010
16005
  let l = i.getFieldValue(n.getData()), h = i.getFieldValue(a.getData());
16011
16006
  l = l ?? "", h = h ?? "";
16012
16007
  const c = n.getComponent(), d = a.getComponent(), p = i.modules.sort.sorter;
@@ -16066,7 +16061,7 @@ class vu {
16066
16061
  this.columnCount = e;
16067
16062
  }
16068
16063
  }
16069
- class Sn {
16064
+ class Rn {
16070
16065
  constructor(e) {
16071
16066
  return this._sheet = e, new Proxy(this, {
16072
16067
  get: function(t, i) {
@@ -16115,7 +16110,7 @@ class Sn {
16115
16110
  return this._sheet.setColumns(e);
16116
16111
  }
16117
16112
  }
16118
- class kr extends Le {
16113
+ class Dr extends Fe {
16119
16114
  constructor(e, t) {
16120
16115
  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 vu(this.columnCount, this.rowCount), this.defaultColumnDefinition = {
16121
16116
  headerHozAlign: "center",
@@ -16172,7 +16167,7 @@ class kr extends Le {
16172
16167
  }
16173
16168
  // #region Helper Functions
16174
16169
  getComponent() {
16175
- return new Sn(this);
16170
+ return new Rn(this);
16176
16171
  }
16177
16172
  getDefinition() {
16178
16173
  return {
@@ -16220,7 +16215,7 @@ class kr extends Le {
16220
16215
  }
16221
16216
  // #endregion
16222
16217
  }
16223
- const St = process.env.NODE_ENV === "development", Vo = class Vo extends I {
16218
+ const St = process.env.NODE_ENV === "development", No = class No extends I {
16224
16219
  constructor(e) {
16225
16220
  super(e), this.sheets = [], this.element = null, this.registerTableOption("spreadsheet", !1), this.registerTableOption("spreadsheetRows", 50), this.registerTableOption("spreadsheetColumns", 50), this.registerTableOption("spreadsheetColumnDefinition", {}), this.registerTableOption("spreadsheetOutputFull", !1), this.registerTableOption("spreadsheetData", !1), this.registerTableOption("spreadsheetSheets", !1), this.registerTableOption("spreadsheetSheetTabs", !1), this.registerTableOption("spreadsheetSheetTabsElement", !1), this.registerTableFunction("setSheets", this.setSheets.bind(this)), this.registerTableFunction("addSheet", this.addSheet.bind(this)), this.registerTableFunction("getSheets", this.getSheets.bind(this)), this.registerTableFunction(
16226
16221
  "getSheetDefinitions",
@@ -16309,7 +16304,7 @@ Data: `,
16309
16304
  columns: this.options("spreadsheetColumns") || 50,
16310
16305
  rows: this.options("spreadsheetRows") || 50,
16311
16306
  ...e
16312
- }, i = new kr(this, t);
16307
+ }, i = new Dr(this, t);
16313
16308
  return this.sheets.push(i), this.element && i.element && this.element.appendChild(i.element), i;
16314
16309
  }
16315
16310
  removeSheet(e) {
@@ -16318,7 +16313,7 @@ Data: `,
16318
16313
  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)) : St && console.warn("Unable to remove sheet, at least one sheet must be active");
16319
16314
  }
16320
16315
  lookupSheet(e) {
16321
- return e ? e instanceof kr ? e : e instanceof Sn ? e._sheet : this.sheets.find((t) => t.key === e) ?? null : this.activeSheet;
16316
+ return e ? e instanceof Dr ? e : e instanceof Rn ? e._sheet : this.sheets.find((t) => t.key === e) ?? null : this.activeSheet;
16322
16317
  }
16323
16318
  /**
16324
16319
  * Public Functions
@@ -16375,9 +16370,9 @@ Data: `,
16375
16370
  return t && this.loadSheet(t), !1;
16376
16371
  }
16377
16372
  };
16378
- Vo.moduleName = "spreadsheet";
16379
- let Qs = Vo;
16380
- const Bo = class Bo extends I {
16373
+ No.moduleName = "spreadsheet";
16374
+ let Qs = No;
16375
+ const Vo = class Vo extends I {
16381
16376
  constructor(e) {
16382
16377
  super(e), this.tooltipSubscriber = !1, this.headerSubscriber = !1, this.timeout = null, this.popupInstance = null, this.registerTableOption("tooltipDelay", 300), this.registerColumnOption("tooltip"), this.registerColumnOption("headerTooltip");
16383
16378
  }
@@ -16430,12 +16425,12 @@ const Bo = class Bo extends I {
16430
16425
  }), this.dispatchExternal("tooltipOpened", t.getComponent()));
16431
16426
  }
16432
16427
  };
16433
- Bo.moduleName = "tooltip";
16434
- let eo = Bo;
16435
- function ke(r) {
16428
+ Vo.moduleName = "tooltip";
16429
+ let eo = Vo;
16430
+ function De(r) {
16436
16431
  return r === "" || r === null || r === void 0;
16437
16432
  }
16438
- function Tr(r) {
16433
+ function kr(r) {
16439
16434
  return Number.isFinite(Number(r));
16440
16435
  }
16441
16436
  function ls(r, e) {
@@ -16482,19 +16477,19 @@ function xu(r, e) {
16482
16477
  const h = new Date(i, s - 1, o, n, a, l);
16483
16478
  return h.getFullYear() === i && h.getMonth() === s - 1 && h.getDate() === o;
16484
16479
  }
16485
- const Eo = {
16480
+ const Co = {
16486
16481
  // must be alphanumeric
16487
16482
  alphanumeric(r) {
16488
- return ke(r) ? !0 : /^[a-z0-9]+$/i.test(String(r));
16483
+ return De(r) ? !0 : /^[a-z0-9]+$/i.test(String(r));
16489
16484
  },
16490
16485
  // must be a boolean (or the strings 'true' / 'false')
16491
16486
  boolean(r) {
16492
- return ke(r) ? !0 : typeof r == "boolean" || r === "true" || r === "false";
16487
+ return De(r) ? !0 : typeof r == "boolean" || r === "true" || r === "false";
16493
16488
  },
16494
16489
  // must be a parsable date; optional inclusive range via { starts, ends }
16495
16490
  // and/or an exact shape via { format } (e.g. 'MM/DD/YYYY')
16496
16491
  date(r, e) {
16497
- if (ke(r))
16492
+ if (De(r))
16498
16493
  return !0;
16499
16494
  if (e && typeof e == "object" && e.format !== void 0 && !xu(String(r), e.format))
16500
16495
  return !1;
@@ -16517,52 +16512,52 @@ const Eo = {
16517
16512
  },
16518
16513
  // ends with value (legacy string-suffix rule)
16519
16514
  ends(r, e) {
16520
- return ke(r) ? !0 : String(r).toLowerCase().endsWith(String(e).toLowerCase());
16515
+ return De(r) ? !0 : String(r).toLowerCase().endsWith(String(e).toLowerCase());
16521
16516
  },
16522
16517
  // is float; optional range via { min, max }
16523
16518
  float(r, e) {
16524
- if (ke(r))
16519
+ if (De(r))
16525
16520
  return !0;
16526
16521
  const t = Number(r);
16527
- return Tr(r) && t % 1 !== 0 && ls(r, e);
16522
+ return kr(r) && t % 1 !== 0 && ls(r, e);
16528
16523
  },
16529
16524
  // in provided value list
16530
16525
  in(r, e) {
16531
- if (ke(r))
16526
+ if (De(r))
16532
16527
  return !0;
16533
16528
  const t = typeof e == "string" ? e.split("|") : e;
16534
16529
  return Array.isArray(t) && t.includes(r);
16535
16530
  },
16536
16531
  // is integer; optional range via { min, max }
16537
16532
  integer(r, e) {
16538
- if (ke(r))
16533
+ if (De(r))
16539
16534
  return !0;
16540
16535
  const t = Number(r);
16541
- return Tr(r) && Math.floor(t) === t && ls(r, e);
16536
+ return kr(r) && Math.floor(t) === t && ls(r, e);
16542
16537
  },
16543
16538
  // maximum value (legacy standalone rule; prefer numeric/integer { max })
16544
16539
  max(r, e) {
16545
- return ke(r) ? !0 : Number.parseFloat(String(r)) <= Number(e);
16540
+ return De(r) ? !0 : Number.parseFloat(String(r)) <= Number(e);
16546
16541
  },
16547
16542
  // maximum string length (legacy standalone rule; prefer string { maxLength })
16548
16543
  maxLength(r, e) {
16549
- return ke(r) ? !0 : String(r).length <= Number(e);
16544
+ return De(r) ? !0 : String(r).length <= Number(e);
16550
16545
  },
16551
16546
  // minimum value (legacy standalone rule; prefer numeric/integer { min })
16552
16547
  min(r, e) {
16553
- return ke(r) ? !0 : Number.parseFloat(String(r)) >= Number(e);
16548
+ return De(r) ? !0 : Number.parseFloat(String(r)) >= Number(e);
16554
16549
  },
16555
16550
  // minimum string length (legacy standalone rule; prefer string { minLength })
16556
16551
  minLength(r, e) {
16557
- return ke(r) ? !0 : String(r).length >= Number(e);
16552
+ return De(r) ? !0 : String(r).length >= Number(e);
16558
16553
  },
16559
16554
  // must be a number; optional range via { min, max }
16560
16555
  numeric(r, e) {
16561
- return ke(r) ? !0 : !Number.isNaN(Number(r)) && ls(r, e);
16556
+ return De(r) ? !0 : !Number.isNaN(Number(r)) && ls(r, e);
16562
16557
  },
16563
16558
  // must match provided regex
16564
16559
  regex(r, e) {
16565
- if (ke(r))
16560
+ if (De(r))
16566
16561
  return !0;
16567
16562
  let t;
16568
16563
  e instanceof RegExp ? t = e : e === void 0 ? t = "" : t = String(e);
@@ -16574,15 +16569,15 @@ const Eo = {
16574
16569
  },
16575
16570
  // must have a value
16576
16571
  required(r) {
16577
- return !ke(r);
16572
+ return !De(r);
16578
16573
  },
16579
16574
  // starts with value (legacy string-prefix rule)
16580
16575
  starts(r, e) {
16581
- return ke(r) ? !0 : String(r).toLowerCase().startsWith(String(e).toLowerCase());
16576
+ return De(r) ? !0 : String(r).toLowerCase().startsWith(String(e).toLowerCase());
16582
16577
  },
16583
16578
  // must be a string; optional length constraints via { minLength, maxLength }
16584
16579
  string(r, e) {
16585
- if (ke(r))
16580
+ if (De(r))
16586
16581
  return !0;
16587
16582
  if (!Number.isNaN(Number(r)))
16588
16583
  return !1;
@@ -16593,33 +16588,33 @@ const Eo = {
16593
16588
  },
16594
16589
  // value must be unique within its column (column values via context)
16595
16590
  unique(r, e, t) {
16596
- return ke(r) || !t?.columnValues ? !0 : !t.columnValues.some(
16591
+ return De(r) || !t?.columnValues ? !0 : !t.columnValues.some(
16597
16592
  (i) => i === r
16598
16593
  );
16599
16594
  }
16600
16595
  };
16601
- function Oe(r) {
16596
+ function _e(r) {
16602
16597
  return function(e, t, i) {
16603
- return Eo[r](t, i);
16598
+ return Co[r](t, i);
16604
16599
  };
16605
16600
  }
16606
16601
  const Ru = {
16607
- alphanumeric: Oe("alphanumeric"),
16608
- boolean: Oe("boolean"),
16609
- date: Oe("date"),
16610
- ends: Oe("ends"),
16611
- float: Oe("float"),
16612
- in: Oe("in"),
16613
- integer: Oe("integer"),
16614
- max: Oe("max"),
16615
- maxLength: Oe("maxLength"),
16616
- min: Oe("min"),
16617
- minLength: Oe("minLength"),
16618
- numeric: Oe("numeric"),
16619
- regex: Oe("regex"),
16620
- required: Oe("required"),
16621
- starts: Oe("starts"),
16622
- string: Oe("string"),
16602
+ alphanumeric: _e("alphanumeric"),
16603
+ boolean: _e("boolean"),
16604
+ date: _e("date"),
16605
+ ends: _e("ends"),
16606
+ float: _e("float"),
16607
+ in: _e("in"),
16608
+ integer: _e("integer"),
16609
+ max: _e("max"),
16610
+ maxLength: _e("maxLength"),
16611
+ min: _e("min"),
16612
+ minLength: _e("minLength"),
16613
+ numeric: _e("numeric"),
16614
+ regex: _e("regex"),
16615
+ required: _e("required"),
16616
+ starts: _e("starts"),
16617
+ string: _e("string"),
16623
16618
  // value must be unique in this column; reads sibling rows from the table,
16624
16619
  // which is why it stays main-thread-only here.
16625
16620
  unique(r, e, t) {
@@ -16627,7 +16622,7 @@ const Ru = {
16627
16622
  return this.table.rowManager?.rows.forEach((n) => {
16628
16623
  const a = n.getData();
16629
16624
  a !== i && o.push(s.getFieldValue(a));
16630
- }), Eo.unique(e, t, { columnValues: o });
16625
+ }), Co.unique(e, t, { columnValues: o });
16631
16626
  }
16632
16627
  };
16633
16628
  function Su(r) {
@@ -16641,7 +16636,7 @@ function Su(r) {
16641
16636
  const Du = "cx-validation-request", ku = "cx-validation-response";
16642
16637
  let Dt, Tu = 0;
16643
16638
  const Si = /* @__PURE__ */ new Map();
16644
- function Mr() {
16639
+ function Tr() {
16645
16640
  Si.forEach(
16646
16641
  (r) => r.reject(new Error("Validation worker failed"))
16647
16642
  ), Si.clear(), Dt?.terminate(), Dt = void 0;
@@ -16652,9 +16647,9 @@ function Mu() {
16652
16647
  return;
16653
16648
  const { done: e, id: t, results: i } = r.data.payload, s = Si.get(t);
16654
16649
  s && (s.accumulatedResults.push(...i), s.onChunk?.(i), e && (Si.delete(t), s.resolve(s.accumulatedResults)));
16655
- }), Dt.addEventListener("error", Mr), Dt.addEventListener("messageerror", Mr)), Dt;
16650
+ }), Dt.addEventListener("error", Tr), Dt.addEventListener("messageerror", Tr)), Dt;
16656
16651
  }
16657
- function Dn(r, e) {
16652
+ function Sn(r, e) {
16658
16653
  return new Promise((t, i) => {
16659
16654
  let s;
16660
16655
  try {
@@ -16672,9 +16667,9 @@ function Dn(r, e) {
16672
16667
  }), s.postMessage({ payload: { fields: r, id: o }, type: Du });
16673
16668
  });
16674
16669
  }
16675
- const Fr = process.env.NODE_ENV === "development", Lr = 2e3, zr = 1e3, si = "data-validation-message", vi = class vi extends I {
16670
+ const Mr = process.env.NODE_ENV === "development", Fr = 2e3, Lr = 1e3, si = "data-validation-message", vi = class vi extends I {
16676
16671
  constructor(e) {
16677
- 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", Lr), this.registerColumnOption("validator"), this.registerColumnOption("mutateOnValidate"), this.registerTableFunction(
16672
+ 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", Fr), this.registerColumnOption("validator"), this.registerColumnOption("mutateOnValidate"), this.registerTableFunction(
16678
16673
  "getInvalidCells",
16679
16674
  this.getInvalidCells.bind(this)
16680
16675
  ), this.registerTableFunction(
@@ -16774,7 +16769,7 @@ const Fr = process.env.NODE_ENV === "development", Lr = 2e3, zr = 1e3, si = "dat
16774
16769
  this.validationGeneration++;
16775
16770
  const e = this.invalidState.size > 0;
16776
16771
  this.invalidState.clear(), this.table.options.validateOnLoad ? this.validateAsync().catch((t) => {
16777
- Fr && console.warn("Validate-on-load failed:", t);
16772
+ Mr && console.warn("Validate-on-load failed:", t);
16778
16773
  }) : e && this.dispatchValidationChanged();
16779
16774
  }
16780
16775
  // /////////////////////////////////
@@ -16838,7 +16833,7 @@ const Fr = process.env.NODE_ENV === "development", Lr = 2e3, zr = 1e3, si = "dat
16838
16833
  * chunks). Superseded runs (new validation or data reload) are discarded.
16839
16834
  */
16840
16835
  async validateAsync() {
16841
- const e = ++this.validationGeneration, t = this.table.rowManager ? [...this.table.rowManager.rows] : [], i = this.table.options.validationWorkerThreshold ?? Lr;
16836
+ const e = ++this.validationGeneration, t = this.table.rowManager ? [...this.table.rowManager.rows] : [], i = this.table.options.validationWorkerThreshold ?? Fr;
16842
16837
  if (this.runSuppressed(() => {
16843
16838
  this.invalidCells.forEach((a) => this.clearValidation(a));
16844
16839
  }), this.invalidState.clear(), i === !1 || t.length <= i)
@@ -16900,7 +16895,7 @@ const Fr = process.env.NODE_ENV === "development", Lr = 2e3, zr = 1e3, si = "dat
16900
16895
  message: i,
16901
16896
  params: t,
16902
16897
  type: typeof e == "function" ? "function" : e
16903
- } : (Fr && console.warn(
16898
+ } : (Mr && console.warn(
16904
16899
  "Validator Setup Error - No matching validator found:",
16905
16900
  e
16906
16901
  ), !1);
@@ -16978,7 +16973,7 @@ const Fr = process.env.NODE_ENV === "development", Lr = 2e3, zr = 1e3, si = "dat
16978
16973
  })),
16979
16974
  values: t.map((n) => o.getFieldValue(n.data))
16980
16975
  }));
16981
- await Dn(s, (o) => {
16976
+ await Sn(s, (o) => {
16982
16977
  i === this.validationGeneration && this.applyWorkerResults(o, t, e);
16983
16978
  });
16984
16979
  }
@@ -17001,10 +16996,10 @@ const Fr = process.env.NODE_ENV === "development", Lr = 2e3, zr = 1e3, si = "dat
17001
16996
  * responsive.
17002
16997
  */
17003
16998
  async validateColumnsOnMainThread(e, t, i) {
17004
- for (let s = 0; s < t.length && e.length; s += zr) {
16999
+ for (let s = 0; s < t.length && e.length; s += Lr) {
17005
17000
  if (i !== this.validationGeneration)
17006
17001
  return;
17007
- const o = Math.min(s + zr, t.length);
17002
+ const o = Math.min(s + Lr, t.length);
17008
17003
  this.runSuppressed(() => {
17009
17004
  for (let n = s; n < o; n++) {
17010
17005
  const a = t[n];
@@ -17425,7 +17420,7 @@ class Lu extends Qi {
17425
17420
  }
17426
17421
  }
17427
17422
  const zu = process.env.NODE_ENV === "development";
17428
- class kn {
17423
+ class Dn {
17429
17424
  constructor(e, t, i = {}) {
17430
17425
  this.registeredDefaults = {}, this.table = e, this.msgType = t, this.registeredDefaults = { ...i };
17431
17426
  }
@@ -17442,13 +17437,13 @@ class kn {
17442
17437
  return i;
17443
17438
  }
17444
17439
  }
17445
- const _r = process.env.NODE_ENV === "development";
17446
- class _u extends Le {
17440
+ const zr = process.env.NODE_ENV === "development";
17441
+ class _u extends Fe {
17447
17442
  constructor(e) {
17448
- 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 kn(
17443
+ 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 Dn(
17449
17444
  this.table,
17450
17445
  "column definition",
17451
- gn
17446
+ mn
17452
17447
  ), this.redrawBlock = !1, this.redrawBlockUpdate = null, this.renderer = null;
17453
17448
  }
17454
17449
  // //////////// Setup Functions /////////////////
@@ -17475,7 +17470,7 @@ class _u extends Le {
17475
17470
  basic: Fu,
17476
17471
  virtual: Lu
17477
17472
  };
17478
- 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()) : _r && console.error(
17473
+ 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()) : zr && console.error(
17479
17474
  "Unable to find matching renderer:",
17480
17475
  this.table.options.renderHorizontal
17481
17476
  );
@@ -17752,7 +17747,7 @@ class _u extends Le {
17752
17747
  return;
17753
17748
  }
17754
17749
  if (e.hidden)
17755
- _r && console.warn("Scroll Error - Column not visible"), o("Scroll Error - Column not visible");
17750
+ zr && console.warn("Scroll Error - Column not visible"), o("Scroll Error - Column not visible");
17756
17751
  else {
17757
17752
  let n = 0;
17758
17753
  const a = e.getLeftOffset();
@@ -17883,7 +17878,7 @@ const Ou = {
17883
17878
  dataReceiveParams: {}
17884
17879
  // dependencies: {},
17885
17880
  };
17886
- class Au extends Le {
17881
+ class Au extends Fe {
17887
17882
  constructor(e) {
17888
17883
  super(e), this.active = !1, this.element = this.createElement(), this.containerElement = this.createContainerElement(), this.external = !1;
17889
17884
  }
@@ -18240,7 +18235,7 @@ class Iu extends Qi {
18240
18235
  }
18241
18236
  }
18242
18237
  const $t = process.env.NODE_ENV === "development", Hu = x`<div class="tabulator-tableholder-wrapper"></div>`;
18243
- class Nu extends Le {
18238
+ class Nu extends Fe {
18244
18239
  constructor(e) {
18245
18240
  super(e), this.headerWidthObserver = null, this.headerWidthSyncFrame = null, this.element = this.createHolderElement(), this.wrapperElement = this.createWrapperElement(), this.wrapperElement.appendChild(this.element), this.tableElement = this.createTableElement(), this.heightFixer = this.createTableElement(), this.placeholder = null, this.placeholderContents = null, this.firstRender = !1, this.renderMode = "virtual", this.rows = [], this.activeRowsPipeline = [], this.activeRows = [], this.activeRowsCount = 0, this.displayRows = [], this.displayRowsCount = 0, this.scrollTop = 0, this.scrollLeft = 0, this.redrawBlock = !1, this.redrawBlockRestoreConfig = !1, this.redrawBlockRenderInPosition = !1, this.dataPipeline = [], this.displayPipeline = [], this.scrollbarWidth = 0, this.renderer = null, this.rowIndexMap = /* @__PURE__ */ new Map();
18246
18241
  }
@@ -18314,9 +18309,9 @@ class Nu extends Le {
18314
18309
  */
18315
18310
  findRow(e) {
18316
18311
  if (typeof e == "object") {
18317
- if (e instanceof Fe)
18312
+ if (e instanceof Me)
18318
18313
  return e;
18319
- if (e instanceof bo)
18314
+ if (e instanceof go)
18320
18315
  return e._getSelf() || !1;
18321
18316
  if (typeof HTMLElement < "u" && e instanceof HTMLElement)
18322
18317
  return this.findRowByElement(e, this.rows);
@@ -18416,7 +18411,7 @@ class Nu extends Le {
18416
18411
  _setDataActual(e, t) {
18417
18412
  this.dispatchExternal("dataProcessing", e), this._wipeElements(), Array.isArray(e) ? (this.dispatch("data-processing", e), e.forEach((i) => {
18418
18413
  if (i && typeof i == "object") {
18419
- const s = new Fe(i, this);
18414
+ const s = new Me(i, this);
18420
18415
  this.rows.push(s), this.registerRowInMap(s);
18421
18416
  } else $t && console.warn(
18422
18417
  "Data Loading Warning - Invalid row data detected and ignored, expecting object but received:",
@@ -18469,7 +18464,7 @@ Data: `,
18469
18464
  return (e ?? this.table.options.addRowPos) === "top";
18470
18465
  }
18471
18466
  addRowActual(e, t, i, s) {
18472
- const o = e instanceof Fe ? e : new Fe(e || {}, this);
18467
+ const o = e instanceof Me ? e : new Me(e || {}, this);
18473
18468
  let n = t, a = -1, l, h;
18474
18469
  return i || (h = this.chain("row-adding-position", [o, n], null, {
18475
18470
  index: i,
@@ -18515,12 +18510,12 @@ Data: `,
18515
18510
  nextDisplayRow(e, t) {
18516
18511
  const i = this.getDisplayRowIndex(e);
18517
18512
  let s = !1;
18518
- return i !== !1 && i < this.displayRowsCount - 1 && (s = this.getDisplayRows()[i + 1]), s && (!(s instanceof Fe) || s.type != "row") ? this.nextDisplayRow(s, t) : s;
18513
+ return i !== !1 && i < this.displayRowsCount - 1 && (s = this.getDisplayRows()[i + 1]), s && (!(s instanceof Me) || s.type != "row") ? this.nextDisplayRow(s, t) : s;
18519
18514
  }
18520
18515
  prevDisplayRow(e, t) {
18521
18516
  const i = this.getDisplayRowIndex(e);
18522
18517
  let s = !1;
18523
- return i && (s = this.getDisplayRows()[i - 1]), t && s && (!(s instanceof Fe) || s.type != "row") ? this.prevDisplayRow(s, t) : s;
18518
+ return i && (s = this.getDisplayRows()[i - 1]), t && s && (!(s instanceof Me) || s.type != "row") ? this.prevDisplayRow(s, t) : s;
18524
18519
  }
18525
18520
  findRowIndex(e, t) {
18526
18521
  let i;
@@ -18839,7 +18834,7 @@ Data: `,
18839
18834
  this.element.dispatchEvent(new Event("scroll"));
18840
18835
  }
18841
18836
  }
18842
- class Vu extends Le {
18837
+ class Vu extends Fe {
18843
18838
  constructor(e) {
18844
18839
  super(e), this.type = null, this.element = this._createAlertElement(), this.msgElement = this._createMsgElement(), this.element.appendChild(this.msgElement);
18845
18840
  }
@@ -18867,13 +18862,13 @@ class Vu extends Le {
18867
18862
  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;
18868
18863
  }
18869
18864
  }
18870
- const Or = process.env.NODE_ENV === "development";
18865
+ const _r = process.env.NODE_ENV === "development";
18871
18866
  class Bu {
18872
18867
  constructor(e) {
18873
18868
  this.bindings = {}, this.table = e;
18874
18869
  }
18875
18870
  bind(e, t, i) {
18876
- this.bindings[e] || (this.bindings[e] = {}), this.bindings[e][t] ? Or && console.warn(
18871
+ this.bindings[e] || (this.bindings[e] = {}), this.bindings[e][t] ? _r && console.warn(
18877
18872
  "Unable to bind component handler, a matching function name is already bound",
18878
18873
  e,
18879
18874
  t,
@@ -18884,13 +18879,13 @@ class Bu {
18884
18879
  if (typeof i == "string") {
18885
18880
  if (this.bindings[e]?.[i] && typeof this.bindings[e][i].bind == "function")
18886
18881
  return this.bindings[e][i].bind(null, t);
18887
- Or && i !== "then" && !i.startsWith("_") && this.table.options.debugInvalidComponentFuncs && console.error(
18882
+ _r && i !== "then" && !i.startsWith("_") && this.table.options.debugInvalidComponentFuncs && console.error(
18888
18883
  "The " + e + " component does not have a " + i + " function, have you checked that you have the correct Tabulator module installed?"
18889
18884
  );
18890
18885
  }
18891
18886
  }
18892
18887
  }
18893
- const Oi = process.env.NODE_ENV === "development", Ui = class Ui extends Le {
18888
+ const Oi = process.env.NODE_ENV === "development", Ui = class Ui extends Fe {
18894
18889
  constructor(e) {
18895
18890
  super(e), this.debounceTimer = null, this.pendingPromise = null, this.pendingResolve = null, this.pendingReject = null, this.requestOrder = 0, this.loading = !1, this.externalLoading = !1;
18896
18891
  }
@@ -19017,7 +19012,7 @@ const Oi = process.env.NODE_ENV === "development", Ui = class Ui extends Le {
19017
19012
  Ui.DEBOUNCE_DELAY = 500;
19018
19013
  let io = Ui;
19019
19014
  const $u = process.env.NODE_ENV === "development";
19020
- class Wu extends Le {
19015
+ class Wu extends Fe {
19021
19016
  constructor(e) {
19022
19017
  super(e), this.deps = {}, this.props = {};
19023
19018
  }
@@ -19060,7 +19055,7 @@ class Wu extends Le {
19060
19055
  }
19061
19056
  }
19062
19057
  const ju = process.env.NODE_ENV === "development";
19063
- class Gu extends Le {
19058
+ class Gu extends Fe {
19064
19059
  constructor(e) {
19065
19060
  super(e);
19066
19061
  }
@@ -19152,7 +19147,7 @@ class Uu {
19152
19147
  }
19153
19148
  }
19154
19149
  const Ku = process.env.NODE_ENV === "development";
19155
- class qu extends Le {
19150
+ class qu extends Fe {
19156
19151
  constructor(e) {
19157
19152
  super(e), this.el = null, this.abortClasses = ["tabulator-headers", "tabulator-table"], this.previousTargets = {}, this.listeners = [
19158
19153
  "click",
@@ -19303,7 +19298,7 @@ class qu extends Le {
19303
19298
  s.components.includes("column") && (h = this.table.columnManager?.findColumn(c));
19304
19299
  break;
19305
19300
  case "cell":
19306
- s.components.includes("cell") && (o.row instanceof Fe ? h = o.row.findCell(c) : Ku && t.row && console.warn(
19301
+ s.components.includes("cell") && (o.row instanceof Me ? h = o.row.findCell(c) : Ku && t.row && console.warn(
19307
19302
  "Event Target Lookup Error - The row this cell is attached to cannot be found, has the table been reinitialized without being destroyed first?"
19308
19303
  ));
19309
19304
  break;
@@ -19474,7 +19469,7 @@ function Ju(r) {
19474
19469
  async function Yu(r, e) {
19475
19470
  e && this.table.columnManager?.renderer && await this.table.columnManager.renderer.reinitializeColumnWidths(r), this.table.options.responsiveLayout && this.table.modExists("responsiveLayout", !0) && this.table.modules.responsiveLayout.update();
19476
19471
  }
19477
- async function Ar(r) {
19472
+ async function Or(r) {
19478
19473
  for (const e of r)
19479
19474
  await e.reinitializeWidth();
19480
19475
  this.table.options.responsiveLayout && this.table.modExists("responsiveLayout", !0) && this.table.modules.responsiveLayout.update();
@@ -19495,9 +19490,9 @@ async function Zu(r) {
19495
19490
  const Qu = {
19496
19491
  fitColumns: Ju,
19497
19492
  fitData: Yu,
19498
- fitDataFill: Ar,
19493
+ fitDataFill: Or,
19499
19494
  fitDataStretch: Zu,
19500
- fitDataTable: Ar
19495
+ fitDataTable: Or
19501
19496
  }, ep = process.env.NODE_ENV === "development", Kt = class Kt extends I {
19502
19497
  constructor(e) {
19503
19498
  super(e), this.mode = null, this.registerTableOption("layout", "fitData"), this.registerTableOption("layoutColumnsOnNewData", !1), this.registerColumnOption("widthGrow"), this.registerColumnOption("widthShrink");
@@ -19567,7 +19562,7 @@ const tp = {
19567
19562
  prev_title: "Prev Page"
19568
19563
  }
19569
19564
  }
19570
- }, Pr = process.env.NODE_ENV === "development", yi = class yi extends I {
19565
+ }, Ar = process.env.NODE_ENV === "development", yi = class yi extends I {
19571
19566
  constructor(e) {
19572
19567
  super(e), this.locale = "default", this.lang = !1, this.bindings = {}, this.langList = {}, this.registerTableOption("locale", !1), this.registerTableOption("langs", {});
19573
19568
  }
@@ -19601,11 +19596,11 @@ const tp = {
19601
19596
  };
19602
19597
  if (t && !this.langList[t]) {
19603
19598
  const s = t.split("-")[0];
19604
- this.langList[s] ? (Pr && console.warn(
19599
+ this.langList[s] ? (Ar && console.warn(
19605
19600
  "Localization Error - Exact matching locale not found, using closest match: ",
19606
19601
  t,
19607
19602
  s
19608
- ), t = s) : (Pr && console.warn(
19603
+ ), t = s) : (Ar && console.warn(
19609
19604
  "Localization Error - Matching locale not found, using default: ",
19610
19605
  t
19611
19606
  ), t = "default");
@@ -19649,7 +19644,7 @@ const tp = {
19649
19644
  };
19650
19645
  yi.moduleName = "localize", yi.langs = tp;
19651
19646
  let oo = yi;
19652
- const Ir = process.env.NODE_ENV === "development", $o = class $o extends I {
19647
+ const Pr = process.env.NODE_ENV === "development", Bo = class Bo extends I {
19653
19648
  constructor(e) {
19654
19649
  super(e);
19655
19650
  }
@@ -19666,7 +19661,7 @@ const Ir = process.env.NODE_ENV === "development", $o = class $o extends I {
19666
19661
  const o = this.getConnections(e);
19667
19662
  o.forEach((n) => {
19668
19663
  n.tableComms(this.table.element, t, i, s);
19669
- }), !o.length && e && Ir && console.warn(
19664
+ }), !o.length && e && Pr && console.warn(
19670
19665
  "Table Connection Error - No tables matching selector found",
19671
19666
  e
19672
19667
  );
@@ -19674,11 +19669,11 @@ const Ir = process.env.NODE_ENV === "development", $o = class $o extends I {
19674
19669
  receive(e, t, i, s) {
19675
19670
  if (this.table.modExists(t))
19676
19671
  return this.table.modules[t]?.commsReceived?.(e, i, s);
19677
- Ir && console.warn("Inter-table Comms Error - no such module:", t);
19672
+ Pr && console.warn("Inter-table Comms Error - no such module:", t);
19678
19673
  }
19679
19674
  };
19680
- $o.moduleName = "comms";
19681
- let ro = $o;
19675
+ Bo.moduleName = "comms";
19676
+ let ro = Bo;
19682
19677
  const ip = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
19683
19678
  __proto__: null,
19684
19679
  CommsModule: ro,
@@ -19812,7 +19807,7 @@ const ce = process.env.NODE_ENV === "development", yt = class yt extends ao {
19812
19807
  yt.initializeModuleBinder(), yt._registerModule(...e);
19813
19808
  }
19814
19809
  constructor(e, t, i) {
19815
- 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 Bu(this), this.dataLoader = null, this.modules = {}, this.modulesCore = [], this.modulesRegular = [], this.deprecationAdvisor = new Gu(this), this.optionsList = new kn(this, "table constructor"), this.dependencyRegistry = new Wu(this), this.initialized = !1, this.destroyed = !1, this.initializeElement(e) && (this.initializeCoreSystems(t), setTimeout(() => {
19810
+ 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 Bu(this), this.dataLoader = null, this.modules = {}, this.modulesCore = [], this.modulesRegular = [], this.deprecationAdvisor = new Gu(this), this.optionsList = new Dn(this, "table constructor"), this.dependencyRegistry = new Wu(this), this.initialized = !1, this.destroyed = !1, this.initializeElement(e) && (this.initializeCoreSystems(t), setTimeout(() => {
19816
19811
  this._create();
19817
19812
  })), this.constructor.registry.register(this);
19818
19813
  }
@@ -20216,7 +20211,7 @@ class op extends zt {
20216
20211
  }
20217
20212
  // #endregion
20218
20213
  }
20219
- const rp = new Set(Object.values(Qr));
20214
+ const rp = new Set(Object.values(Zr));
20220
20215
  class np {
20221
20216
  constructor(e) {
20222
20217
  this.facets = [], this.availableFacets = [], this.host = e, e.addController(this);
@@ -20254,13 +20249,13 @@ function ap(r) {
20254
20249
  selection: lp(h),
20255
20250
  type: nt.Checkbox
20256
20251
  }) : l === Ii.DatePicker ? e.set(n, {
20257
- displayFormat: Hr(h),
20252
+ displayFormat: Ir(h),
20258
20253
  displayName: a,
20259
20254
  facetFieldName: n,
20260
20255
  showTime: h.includes(Hi.ShowTime),
20261
20256
  type: nt.DatePicker
20262
20257
  }) : l === Ii.DateRangePicker && e.set(n, {
20263
- displayFormat: Hr(h),
20258
+ displayFormat: Ir(h),
20264
20259
  displayName: a,
20265
20260
  facetFieldName: n,
20266
20261
  showPreset: h.includes(Hi.ShowPreset),
@@ -20273,7 +20268,7 @@ function ap(r) {
20273
20268
  function lp(r) {
20274
20269
  return r.includes(Ct.Multiple) ? Ct.Multiple : Ct.Single;
20275
20270
  }
20276
- function Hr(r) {
20271
+ function Ir(r) {
20277
20272
  return r.find((e) => rp.has(e));
20278
20273
  }
20279
20274
  function hp(r, e) {
@@ -20400,7 +20395,7 @@ class dp {
20400
20395
  for (const s of i) {
20401
20396
  const o = `${t}${s}`;
20402
20397
  this.filters.set(o, [
20403
- { field: s, type: Re.In, value: e[s] }
20398
+ { field: s, type: Oe.In, value: e[s] }
20404
20399
  ]);
20405
20400
  }
20406
20401
  this.applyFilters();
@@ -20431,15 +20426,15 @@ class dp {
20431
20426
  const n = e[o], a = `${i}${o}`, l = [], h = (c, d) => t === mi.Timestamp ? (/* @__PURE__ */ new Date(`${c}T${d}`)).getTime() : t === mi.IsoDateTime ? `${c}T${d}` : c;
20432
20427
  n.type === nt.DatePicker ? n.fromDate && l.push({
20433
20428
  field: o,
20434
- type: Re.Equal,
20429
+ type: Oe.Equal,
20435
20430
  value: h(n.fromDate, n.fromTime)
20436
20431
  }) : (n.fromDate && l.push({
20437
20432
  field: o,
20438
- type: Re.GreaterOrEqual,
20433
+ type: Oe.GreaterOrEqual,
20439
20434
  value: h(n.fromDate, n.fromTime)
20440
20435
  }), n.toDate && l.push({
20441
20436
  field: o,
20442
- type: Re.LessOrEqual,
20437
+ type: Oe.LessOrEqual,
20443
20438
  value: h(n.toDate, n.toTime)
20444
20439
  })), this.filters.set(a, l);
20445
20440
  }
@@ -20785,12 +20780,12 @@ const pp = Y`.tabulator .tabulator-alert{z-index:100;background:color-mix(in srg
20785
20780
  toAttribute: (r) => typeof r == "function" ? "" : Array.isArray(r) ? JSON.stringify(r) : r
20786
20781
  };
20787
20782
  function $p(r, e) {
20788
- const t = e === Te.Desc ? "arrow_downward" : "arrow_upward";
20783
+ const t = e === ke.Desc ? "arrow_downward" : "arrow_upward";
20789
20784
  return $(
20790
20785
  x`<cx-icon name=${t} aria-hidden="true"></cx-icon>`
20791
20786
  );
20792
20787
  }
20793
- function Nr(r, e, t, i = 500) {
20788
+ function Hr(r, e, t, i = 500) {
20794
20789
  return new Promise((s, o) => {
20795
20790
  if (!Number.isInteger(i) || i < 1) {
20796
20791
  o(new RangeError("chunkSize must be a positive integer"));
@@ -20800,7 +20795,7 @@ function Nr(r, e, t, i = 500) {
20800
20795
  const d = (p) => {
20801
20796
  c = c.then(() => t(p));
20802
20797
  };
20803
- yo.parse(r, {
20798
+ vo.parse(r, {
20804
20799
  complete() {
20805
20800
  l.length > 0 && (d([...l]), l = []), c.then(() => s(h)).catch(o);
20806
20801
  },
@@ -20827,19 +20822,19 @@ function Nr(r, e, t, i = 500) {
20827
20822
  });
20828
20823
  });
20829
20824
  }
20830
- async function Vr(r, e, t, i = 500, s = "") {
20825
+ async function Nr(r, e, t, i = 500, s = "") {
20831
20826
  if (!Number.isInteger(i) || i < 1)
20832
20827
  throw new RangeError("chunkSize must be a positive integer");
20833
- const { columns: o, rows: n } = Fn(r, s);
20828
+ const { columns: o, rows: n } = Mn(r, s);
20834
20829
  e(o);
20835
20830
  for (let a = 0; a < n.length; a += i)
20836
20831
  await t(n.slice(a, a + i));
20837
20832
  return n.length;
20838
20833
  }
20839
- async function Br(r, e, t, i = 500, s = "") {
20834
+ async function Vr(r, e, t, i = 500, s = "") {
20840
20835
  if (!Number.isInteger(i) || i < 1)
20841
20836
  throw new RangeError("chunkSize must be a positive integer");
20842
- const o = JSON.parse(r), { columns: n, rows: a } = Mn(o, s);
20837
+ const o = JSON.parse(r), { columns: n, rows: a } = Tn(o, s);
20843
20838
  e(n);
20844
20839
  for (let l = 0; l < a.length; l += i)
20845
20840
  await t(a.slice(l, l + i));
@@ -20848,16 +20843,16 @@ async function Br(r, e, t, i = 500, s = "") {
20848
20843
  function ps(r) {
20849
20844
  return typeof r == "object" && r !== null && !Array.isArray(r);
20850
20845
  }
20851
- function Tn(r) {
20846
+ function kn(r) {
20852
20847
  return r.split(/[./]/).filter((e) => e.length > 0);
20853
20848
  }
20854
20849
  function Wp(r, e) {
20855
- return Tn(e).reduce((t, i) => {
20850
+ return kn(e).reduce((t, i) => {
20856
20851
  if (!(t === null || typeof t != "object"))
20857
20852
  return t[i];
20858
20853
  }, r);
20859
20854
  }
20860
- function Mn(r, e = "") {
20855
+ function Tn(r, e = "") {
20861
20856
  if (e) {
20862
20857
  const i = Wp(r, e);
20863
20858
  if (!Array.isArray(i))
@@ -20906,45 +20901,45 @@ function jp(r) {
20906
20901
  return { columns: o, data: n };
20907
20902
  }
20908
20903
  function Gp(r) {
20909
- const e = yo.parse(r, { header: !1, skipEmptyLines: !0 }), t = e.errors.filter((i) => i.code !== "UndetectableDelimiter");
20904
+ const e = vo.parse(r, { header: !1, skipEmptyLines: !0 }), t = e.errors.filter((i) => i.code !== "UndetectableDelimiter");
20910
20905
  if (t.length > 0)
20911
20906
  throw new Error(`CSV parse error: ${t[0].message}`);
20912
20907
  return jp(e.data);
20913
20908
  }
20914
20909
  function Up(r) {
20915
- const e = JSON.parse(r), { columns: t, rows: i } = Mn(e);
20910
+ const e = JSON.parse(r), { columns: t, rows: i } = Tn(e);
20916
20911
  return { columns: t, data: i };
20917
20912
  }
20918
20913
  function Kp(r) {
20919
- const { columns: e, rows: t } = Fn(r);
20914
+ const { columns: e, rows: t } = Mn(r);
20920
20915
  return { columns: e, data: t };
20921
20916
  }
20922
20917
  function qp(r, e) {
20923
- const t = Tn(e).reduce((i, s) => i ? /^\d+$/.test(s) ? i.children[Number(s)] ?? null : lo(i, s) : null, r);
20918
+ const t = kn(e).reduce((i, s) => i ? /^\d+$/.test(s) ? i.children[Number(s)] ?? null : lo(i, s) : null, r);
20924
20919
  if (!t)
20925
20920
  throw new Error(`Data path "${e}" did not resolve to an element`);
20926
20921
  return t;
20927
20922
  }
20928
- function Fn(r, e = "") {
20923
+ function Mn(r, e = "") {
20929
20924
  const t = new DOMParser().parseFromString(r, "text/xml"), i = t.querySelector("parsererror");
20930
20925
  if (i)
20931
20926
  throw new Error(`XML parse error: ${i.textContent?.trim() ?? "unknown error"}`);
20932
20927
  const s = t.documentElement;
20933
20928
  if (e)
20934
- return $r(Array.from(qp(s, e).children));
20929
+ return Br(Array.from(qp(s, e).children));
20935
20930
  const o = lo(s, "columns"), n = lo(s, "rows");
20936
20931
  if (o && n) {
20937
20932
  const a = Array.from(o.children).map((h) => ({
20938
20933
  field: h.getAttribute("field") ?? h.tagName,
20939
20934
  title: h.getAttribute("title") ?? h.getAttribute("field") ?? h.tagName
20940
20935
  })), l = Array.from(n.children).map(
20941
- (h) => Ln(h, a.map((c) => c.field).filter((c) => c !== void 0))
20936
+ (h) => Fn(h, a.map((c) => c.field).filter((c) => c !== void 0))
20942
20937
  );
20943
20938
  return { columns: a, rows: l };
20944
20939
  }
20945
- return $r(Array.from(s.children));
20940
+ return Br(Array.from(s.children));
20946
20941
  }
20947
- function $r(r) {
20942
+ function Br(r) {
20948
20943
  if (r.length === 0)
20949
20944
  return { columns: [], rows: [] };
20950
20945
  const e = /* @__PURE__ */ new Set(), t = [];
@@ -20953,7 +20948,7 @@ function $r(r) {
20953
20948
  e.has(n.tagName) || (e.add(n.tagName), t.push(n.tagName));
20954
20949
  if (t.length === 0)
20955
20950
  return { columns: [], rows: [] };
20956
- const i = t.map((o) => ({ field: o, title: o })), s = r.map((o) => Ln(o, t));
20951
+ const i = t.map((o) => ({ field: o, title: o })), s = r.map((o) => Fn(o, t));
20957
20952
  return { columns: i, rows: s };
20958
20953
  }
20959
20954
  function lo(r, e) {
@@ -20975,7 +20970,7 @@ function Xp(r) {
20975
20970
  const t = Number(e);
20976
20971
  return !Number.isNaN(t) && Number.isFinite(t) ? t : r;
20977
20972
  }
20978
- function Ln(r, e) {
20973
+ function Fn(r, e) {
20979
20974
  const t = /* @__PURE__ */ new Map();
20980
20975
  for (const i of Array.from(r.children))
20981
20976
  t.set(i.tagName, Xp(i.textContent ?? ""));
@@ -20998,15 +20993,15 @@ function Jp(r, e) {
20998
20993
  function Yp(r, e, t) {
20999
20994
  return r !== Ce.Auto ? r : Jp(e, t);
21000
20995
  }
21001
- const Wr = 2e3;
21002
- function ho(r, e, t) {
20996
+ const $r = 2e3;
20997
+ function Ln(r, e, t) {
21003
20998
  let i = r;
21004
20999
  const s = typeof e.SearchText == "string" ? e.SearchText : "";
21005
21000
  if (s && t.tabulatorInstance) {
21006
21001
  const a = t.tabulatorInstance.createFilterFieldFunction(t.searchFields), l = {
21007
21002
  field: a,
21008
21003
  params: { matchAll: !t.searchMatchAnyKeyword },
21009
- type: Re.Keywords,
21004
+ type: Oe.Keywords,
21010
21005
  value: s
21011
21006
  };
21012
21007
  i = i.filter((h) => a(h, l));
@@ -21045,7 +21040,7 @@ function ho(r, e, t) {
21045
21040
  }
21046
21041
  function Zp(r, e) {
21047
21042
  return async (t, i, s) => {
21048
- const o = r() ?? [], n = s ?? {}, a = ho(o, n, e()), l = Number(n.PageNumber) || 1, h = Number(n.PageSize) || a.length || 1, c = (l - 1) * h;
21043
+ const o = r() ?? [], n = s ?? {}, a = Ln(o, n, e()), l = Number(n.PageNumber) || 1, h = Number(n.PageSize) || a.length || 1, c = (l - 1) * h;
21049
21044
  return {
21050
21045
  data: a.slice(c, c + h),
21051
21046
  totalCount: a.length
@@ -21066,23 +21061,23 @@ function Qp(r) {
21066
21061
  } else typeof i == "object" && typeof i.type == "string" && t.push({ message: i.message, parameters: i.parameters, type: i.type });
21067
21062
  }), t;
21068
21063
  }
21069
- function jr(r) {
21064
+ function Wr(r) {
21070
21065
  return r === "" || r === null || r === void 0;
21071
21066
  }
21072
- function Gr(r) {
21067
+ function jr(r) {
21073
21068
  const e = [];
21074
21069
  return r.forEach((t, i) => {
21075
21070
  const s = t.rules.some((n) => n.type === "unique"), o = /* @__PURE__ */ new Map();
21076
21071
  s && t.values.forEach((n) => {
21077
- jr(n) || o.set(n, (o.get(n) ?? 0) + 1);
21072
+ Wr(n) || o.set(n, (o.get(n) ?? 0) + 1);
21078
21073
  }), t.values.forEach((n, a) => {
21079
21074
  const l = [];
21080
21075
  t.rules.forEach((h) => {
21081
21076
  let c;
21082
21077
  if (h.type === "unique")
21083
- c = jr(n) || (o.get(n) ?? 0) <= 1;
21078
+ c = Wr(n) || (o.get(n) ?? 0) <= 1;
21084
21079
  else {
21085
- const d = Eo[h.type];
21080
+ const d = Co[h.type];
21086
21081
  c = d ? d(n, h.parameters) : !0;
21087
21082
  }
21088
21083
  c || l.push({
@@ -21094,7 +21089,7 @@ function Gr(r) {
21094
21089
  });
21095
21090
  }), e;
21096
21091
  }
21097
- async function ef(r, e, t, i, s, o = Wr) {
21092
+ async function ef(r, e, t, i, s, o = $r) {
21098
21093
  const n = [], a = [];
21099
21094
  if (e.forEach((d) => {
21100
21095
  if (typeof d.field != "string" || d.field === "")
@@ -21114,16 +21109,16 @@ async function ef(r, e, t, i, s, o = Wr) {
21114
21109
  }), a.push(d.field);
21115
21110
  }), n.length === 0)
21116
21111
  return !1;
21117
- const l = o ?? Wr, h = l !== !1 && r.length > l;
21112
+ const l = o ?? $r, h = l !== !1 && r.length > l;
21118
21113
  let c;
21119
21114
  if (h)
21120
21115
  try {
21121
- c = await Dn(n);
21116
+ c = await Sn(n);
21122
21117
  } catch {
21123
- c = Gr(n);
21118
+ c = jr(n);
21124
21119
  }
21125
21120
  else
21126
- c = Gr(n);
21121
+ c = jr(n);
21127
21122
  return c.forEach((d) => {
21128
21123
  const p = a[d.fieldIndex];
21129
21124
  if (!p)
@@ -21168,7 +21163,7 @@ function of(r, e) {
21168
21163
  const t = e?.modules?.mutator;
21169
21164
  t && r.forEach((i) => t.transformRow(i, "data"));
21170
21165
  }
21171
- function Ur(r, e, t, i, s) {
21166
+ function Gr(r, e, t, i, s) {
21172
21167
  const o = e.filter(
21173
21168
  (a) => a.mutateOnValidate && typeof a.field == "string" && a.field !== "" && typeof a.mutator == "function"
21174
21169
  );
@@ -21209,13 +21204,13 @@ var rf = Object.defineProperty, nf = Object.getOwnPropertyDescriptor, zn = (r) =
21209
21204
  for (var s = i > 1 ? void 0 : i ? nf(e, t) : e, o = r.length - 1, n; o >= 0; o--)
21210
21205
  (n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
21211
21206
  return i && s && rf(e, t, s), s;
21212
- }, af = (r, e, t) => e.has(r) || zn("Cannot " + t), lf = (r, e, t) => (af(r, e, "read from private field"), t ? t.call(r) : e.get(r)), hf = (r, e, t) => e.has(r) ? zn("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(r) : e.set(r, t), co, _n;
21207
+ }, af = (r, e, t) => e.has(r) || zn("Cannot " + t), lf = (r, e, t) => (af(r, e, "read from private field"), t ? t.call(r) : e.get(r)), hf = (r, e, t) => e.has(r) ? zn("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(r) : e.set(r, t), ho, _n;
21213
21208
  let g = class extends Ie {
21214
21209
  constructor() {
21215
- super(), hf(this, co), this.localize = new tt(this), this.hasSlotController = new ln(this, "add-action"), this.osInstance = null, this.resizeObserver = null, this.overflowObserver = null, this.ajaxFacetsController = new np(this), this.filterController = new dp(this), this.ajaxFacetFilterController = new cp(this, this.filterController), this.selectAllController = new up(this), this.shadowRootAutoloader = new hn(
21210
+ super(), hf(this, ho), this.localize = new tt(this), this.hasSlotController = new an(this, "add-action"), this.osInstance = null, this.resizeObserver = null, this.overflowObserver = null, this.ajaxFacetsController = new np(this), this.filterController = new dp(this), this.ajaxFacetFilterController = new cp(this, this.filterController), this.selectAllController = new up(this), this.shadowRootAutoloader = new ln(
21216
21211
  this
21217
21212
  ), 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 = fi.Both, this.clipboardCopyRowRange = "range", this.clipboardPasteParser = void 0, this.clipboardPasteAction = "insert", this.clipboardCopyConfig = { columnHeaders: !1 }, this.clipboardNoCopyStyled = !1, this.pagination = !1, this.paginationMode = mt.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 = ya.Both, this.paginationShowFirst = !1, this.paginationShowLast = !1, this.paginationPlacement = Ji.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 = mt.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 = mi.IsoDateTime, this.dataFormat = Ce.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 = () => {
21218
- 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.refreshInMemoryPaginationCount(), this.placePaginator(), this.dataUrl && (!this.pagination || this.lastAttemptedDataUrl !== this.dataUrl.trim()) && this.loadFromDataUrl();
21213
+ 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();
21219
21214
  }, this.handleValidationChanged = (t) => {
21220
21215
  this.validationTooltipAnchor && !this.validationTooltipAnchor.isConnected && this.hideValidationTooltip(), this.emit("cx-table-validation-change", { detail: t });
21221
21216
  }, this.checkHorizontalOverflow = () => {
@@ -21393,7 +21388,7 @@ let g = class extends Ie {
21393
21388
  groupHeaderUseFormatter: this.groupHeaderUseFormatter,
21394
21389
  groupIndent: this.groupIndent,
21395
21390
  groupLoadMoreMeta: this.groupLoadMoreMeta,
21396
- groupStartOpen: lf(this, co, _n),
21391
+ groupStartOpen: lf(this, ho, _n),
21397
21392
  groupToggleElement: this.groupToggleElement,
21398
21393
  groupUpdateOnCellEdit: this.groupUpdateOnCellEdit,
21399
21394
  groupValues: this.groupValues,
@@ -21686,7 +21681,7 @@ let g = class extends Ie {
21686
21681
  {
21687
21682
  field: i,
21688
21683
  params: { matchAll: !this.searchMatchAnyKeyword },
21689
- type: Re.Keywords,
21684
+ type: Oe.Keywords,
21690
21685
  value: this.activeSearchValue
21691
21686
  }
21692
21687
  ]);
@@ -21697,7 +21692,7 @@ let g = class extends Ie {
21697
21692
  {
21698
21693
  field: t,
21699
21694
  params: { matchAll: !this.searchMatchAnyKeyword },
21700
- type: Re.Keywords,
21695
+ type: Oe.Keywords,
21701
21696
  value: this.activeSearchValue
21702
21697
  }
21703
21698
  ]);
@@ -21722,12 +21717,12 @@ let g = class extends Ie {
21722
21717
  handleTableExport(e) {
21723
21718
  if (e.stopPropagation(), !this.tabulatorInstance)
21724
21719
  return;
21725
- const t = this.inMemoryDataUrlRows ? ho(
21720
+ const t = this.inMemoryDataUrlRows ? Ln(
21726
21721
  this.inMemoryDataUrlRows,
21727
21722
  {
21728
21723
  SearchText: this.activeSearchValue,
21729
21724
  Sort: this.buildActiveSortParam(),
21730
- filters: this.tabulatorInstance.getFilters(!0).filter((i) => i.type !== Re.Keywords && i.type !== Re.Like)
21725
+ filters: this.tabulatorInstance.getFilters(!0).filter((i) => i.type !== Oe.Keywords && i.type !== Oe.Like)
21731
21726
  },
21732
21727
  this.inMemoryFilterSortContext
21733
21728
  ) : this.tabulatorInstance.getData("active");
@@ -21776,7 +21771,7 @@ let g = class extends Ie {
21776
21771
  const y = l.length;
21777
21772
  E.forEach((T) => {
21778
21773
  T.__cxRowIndex = l.length, l.push(T);
21779
- }), of(E, this.tabulatorInstance), !p && l.length >= s && (p = !0, n(c, l)), p && !this.hasActiveDataFilter && this.updatePaginationCountLive(l.length), await ef(
21774
+ }), of(E, this.tabulatorInstance), !p && l.length >= s && (p = !0, n(c, l)), p && this.updatePaginationCountLive(l.length), await ef(
21780
21775
  E,
21781
21776
  d,
21782
21777
  y,
@@ -21785,7 +21780,7 @@ let g = class extends Ie {
21785
21780
  this.validationWorkerThreshold
21786
21781
  ) && i === this.dataUrlRequestId && a(l.length, h), await new Promise((T) => requestAnimationFrame(() => T()));
21787
21782
  }, w = g.IN_MEMORY_PARSE_CHUNK_SIZE;
21788
- return t === Ce.Csv ? await Nr(e, u, f, w) : t === Ce.Json ? await Br(e, u, f, w, this.dataUrlPath) : t === Ce.Xml && await Vr(e, u, f, w, this.dataUrlPath), p || n(c, l), { columns: c, rows: l, validationResult: h };
21783
+ return t === Ce.Csv ? await Hr(e, u, f, w) : t === Ce.Json ? await Vr(e, u, f, w, this.dataUrlPath) : t === Ce.Xml && await Nr(e, u, f, w, this.dataUrlPath), p || n(c, l), { columns: c, rows: l, validationResult: h };
21789
21784
  }
21790
21785
  /**
21791
21786
  * The host state `applyInMemoryFilterAndSort` reads — built fresh per call
@@ -21799,60 +21794,12 @@ let g = class extends Ie {
21799
21794
  tabulatorInstance: this.tabulatorInstance
21800
21795
  };
21801
21796
  }
21802
- /**
21803
- * Every filter narrowing the rows the table serves — search, dropdown/facet,
21804
- * `initialFilter`, header filters.
21805
- *
21806
- * Once the instance is built it is the authority. Before that it has not been
21807
- * handed anything yet, so fall back to what `FilterController` already holds
21808
- * and `handleTableBuilt` is about to push: a `dataUrl` parse can outrun the
21809
- * Tabulator build, and asking an unbuilt instance answers "no filters" — the
21810
- * exact wrong answer for the counter, on top of an `initGuard` warning.
21811
- */
21812
- get activeDataFilters() {
21813
- return this.tabulatorInstance?.initialized ? this.tabulatorInstance.getFilters(!0) : [...this.initialFilter || [], ...this.filterController.getFilters()];
21814
- }
21815
- /** Whether anything is narrowing the rows, making a raw parsed-row count the wrong total to show. */
21816
- get hasActiveDataFilter() {
21817
- return this.activeDataFilters.length > 0 || !!this.activeSearchValue;
21818
- }
21819
- /**
21820
- * How many in-memory `dataUrl` rows survive the filters currently applied —
21821
- * the figure the paginator has to report. Runs the same pass
21822
- * `createInMemoryAjaxRequestFunc` serves pages from, minus the sort (which
21823
- * cannot change a count) and minus the slice, so the two can never disagree.
21824
- */
21825
- countFilteredInMemoryRows(e) {
21826
- const t = this.activeDataFilters.filter(
21827
- (i) => i.type !== Re.Keywords && i.type !== Re.Like
21828
- );
21829
- return ho(
21830
- e,
21831
- { SearchText: this.activeSearchValue, filters: t },
21832
- this.inMemoryFilterSortContext
21833
- ).length;
21834
- }
21835
- /**
21836
- * Recomputes the paginator's total from the rows parsed so far. Called from
21837
- * both sides of the race — the end of the parse and `handleTableBuilt` — so
21838
- * whichever lands last leaves the counter agreeing with the filters that are
21839
- * actually applied. A no-op before any `dataUrl` rows exist.
21840
- */
21841
- refreshInMemoryPaginationCount() {
21842
- this.inMemoryDataUrlRows && this.updatePaginationCountLive(
21843
- this.countFilteredInMemoryRows(this.inMemoryDataUrlRows)
21844
- );
21845
- }
21846
21797
  /**
21847
21798
  * Updates the pagination control's displayed count and max page from a
21848
- * plain row count — cheap (a couple of field writes), so it is safe to call
21849
- * on every streamed chunk while `dataUrl` parsing continues in the
21850
- * background after the first page is already shown, keeping "X of Y"
21851
- * current.
21852
- *
21853
- * The caller owns the number: it has to be the count of what the table
21854
- * actually serves, so pass {@link countFilteredInMemoryRows} rather than the
21855
- * parsed-row total whenever a filter is active.
21799
+ * row count that has not gone through any redraw/filter/sort pipeline —
21800
+ * cheap (a couple of field writes), so it is safe to call on every
21801
+ * streamed chunk while `dataUrl` parsing continues in the background
21802
+ * after the first page is already shown, keeping "X of Y" current.
21856
21803
  */
21857
21804
  updatePaginationCountLive(e) {
21858
21805
  const t = this.tabulatorInstance?.modules?.page;
@@ -21860,7 +21807,7 @@ let g = class extends Ie {
21860
21807
  }
21861
21808
  async streamCsvData(e, t) {
21862
21809
  let i = !0;
21863
- const o = await Nr(
21810
+ const o = await Hr(
21864
21811
  e,
21865
21812
  (n) => {
21866
21813
  t === this.dataUrlRequestId && (this.columns = this.resolveColumnsAfterLoad(n));
@@ -21881,7 +21828,7 @@ let g = class extends Ie {
21881
21828
  };
21882
21829
  let n;
21883
21830
  try {
21884
- n = await Br(
21831
+ n = await Vr(
21885
21832
  e,
21886
21833
  (a) => {
21887
21834
  t === this.dataUrlRequestId && (this.columns = this.resolveColumnsAfterLoad(a));
@@ -21907,7 +21854,7 @@ let g = class extends Ie {
21907
21854
  };
21908
21855
  let n;
21909
21856
  try {
21910
- n = await Vr(
21857
+ n = await Nr(
21911
21858
  e,
21912
21859
  (a) => {
21913
21860
  t === this.dataUrlRequestId && (this.columns = this.resolveColumnsAfterLoad(a));
@@ -21943,7 +21890,7 @@ let g = class extends Ie {
21943
21890
  const d = (w, E) => {
21944
21891
  if (t !== this.dataUrlRequestId)
21945
21892
  return;
21946
- this.inMemoryValidationResult = E, this.inMemoryDataUrlRows && (Ur(
21893
+ this.inMemoryValidationResult = E, this.inMemoryDataUrlRows && (Gr(
21947
21894
  this.inMemoryDataUrlRows,
21948
21895
  h,
21949
21896
  c,
@@ -21975,13 +21922,13 @@ let g = class extends Ie {
21975
21922
  );
21976
21923
  if (t !== this.dataUrlRequestId)
21977
21924
  return;
21978
- this.inMemoryValidationResult = f, Ur(
21925
+ this.inMemoryValidationResult = f, Gr(
21979
21926
  u,
21980
21927
  h,
21981
21928
  c,
21982
21929
  u.length,
21983
21930
  f
21984
- ), this.refreshInMemoryPaginationCount(), t === this.dataUrlRequestId && await this.tabulatorInstance?.setData(void 0), t === this.dataUrlRequestId && this.emit("cx-table-data-load", {
21931
+ ), t === this.dataUrlRequestId && this.emit("cx-table-data-load", {
21985
21932
  detail: {
21986
21933
  format: o,
21987
21934
  rowCount: u.length,
@@ -22132,7 +22079,7 @@ let g = class extends Ie {
22132
22079
  })}>${q(this.showTableToolbar, () => this.renderToolbar())}<div part="table" class="table" @mouseover=${this.handleValidationMouseOver} @mouseout=${this.handleValidationMouseOut} @contextmenu=${this.handleHeaderContextMenu}></div>${q(this.showPaginationFooter, () => this.renderPaginationFooter())}</cx-space><cx-tooltip class="validation-tooltip" trigger="manual" disabled-hover-bridge></cx-tooltip><cx-table-header-menu ?open=${this.headerMenuOpen} point-x=${this.headerMenuPointX} point-y=${this.headerMenuPointY} field=${this.headerMenuField} ?hide-disabled=${this.headerMenuHideDisabled} @cx-table-header-menu-select=${this.handleHeaderMenuSelect} @cx-table-header-menu-close=${this.handleHeaderMenuClose}></cx-table-header-menu><cx-table-column-editor ?open=${this.columnEditorOpen} .entries=${this.columnEditorEntries} @cx-table-column-editor-apply=${this.handleColumnEditorApply} @cx-table-column-editor-cancel=${this.handleColumnEditorCancel}></cx-table-column-editor>`;
22133
22080
  }
22134
22081
  };
22135
- co = /* @__PURE__ */ new WeakSet();
22082
+ ho = /* @__PURE__ */ new WeakSet();
22136
22083
  _n = function() {
22137
22084
  return this.groupStartOpenValues !== void 0 && this.groupStartOpenValues !== null ? (r) => this.groupStartOpenValues?.includes(r) ?? !1 : this.groupStartOpen;
22138
22085
  };
@@ -22143,15 +22090,15 @@ g.styles = [
22143
22090
  ];
22144
22091
  g.dependencies = {
22145
22092
  "cx-button": xt,
22146
- "cx-checkbox": an,
22147
- "cx-divider": rn,
22093
+ "cx-checkbox": nn,
22094
+ "cx-divider": on,
22148
22095
  "cx-faceted-filter": re,
22149
22096
  "cx-format-number": xa,
22150
22097
  "cx-icon": lt,
22151
22098
  "cx-icon-button": ri,
22152
22099
  "cx-select": Ra,
22153
22100
  "cx-space": Di,
22154
- "cx-spinner": Yr,
22101
+ "cx-spinner": Jr,
22155
22102
  "cx-table-column-editor": Qe,
22156
22103
  "cx-table-footer": xi,
22157
22104
  "cx-table-header-menu": et,
@@ -23228,7 +23175,7 @@ g = v([
23228
23175
  ], g);
23229
23176
  const cf = g;
23230
23177
  var Ye = /* @__PURE__ */ ((r) => (r.Circles = "circles", r.Grid = "grid", r.Table = "table", r))(Ye || {});
23231
- const Kr = 165, df = ["HEX", "RGB", "CMYK", "PMS"], uf = {
23178
+ const Ur = 165, df = ["HEX", "RGB", "CMYK", "PMS"], uf = {
23232
23179
  resizable: !1
23233
23180
  }, pf = {
23234
23181
  field: "name",
@@ -23340,12 +23287,12 @@ const mf = (r, e) => [
23340
23287
  widthGrow: 2
23341
23288
  }
23342
23289
  ], gf = Y`:host{--grid-gap:var(--cx-spacing-medium);--padding:0;--swatch-min-height:50px;--swatch-font-size:var(--cx-font-size-medium);padding:var(--cx-focus-ring-width);width:100%;min-width:0;display:block;overflow:auto}.color-swatch-group__swatches{padding:var(--padding,0);width:100%;max-width:100%;height:100%}.color-swatch-group__table-container{max-width:100%}.color-swatch-group__title{--font-family:var(--swatch-font-family), var(--cx-font-sans)}.color-swatch-group__table-container:focus-visible{outline:var(--cx-focus-ring);outline-offset:var(--cx-focus-ring-offset)}.color-swatch-group__swatches--circles--horizontal>cx-color-swatch:not(:first-child){margin-left:var(--swatch-group-horizontal-gap,-100px)}.color-swatch-group__swatches--circles--vertical>cx-color-swatch:not(:first-child){margin-top:var(--swatch-group-vertical-gap,-50px)}.color-swatch-group__swatches--circles--horizontal__item{--swatch-content-padding:0 min(calc(var(--swatch-group-horizontal-gap,-100px) * -.5), 0) 0 0}.color-swatch-group__swatches--circles--vertical__item{--swatch-content-padding:0 0 min(calc(var(--swatch-group-vertical-gap,-50px) * -.5), 0) 0}.color-swatch-group__swatches--circles--vertical__item--mobile{--swatch-size:100%}.color-swatch-group__swatches--grid{align-items:stretch;gap:var(--grid-gap,var(--cx-spacing-medium));display:grid}.color-swatch-group__table{font-family:var(--swatch-font-family,var(--cx-font-sans));font-style:var(--swatch-font-style,normal);--body-background-color:transparent;--row-background-color:transparent;--row-even-background-color:transparent;--row-hover-background-color:var(--cx-color-neutral-50);--row-even-hover-background-color:var(--cx-color-neutral-50);--header-background-color:transparent;--group-row-background-color:transparent;--cell-border-color:transparent;--cell-bottom-border-color:transparent;--header-font-size:var(--swatch-font-size,var(--cx-font-size-large));--header-font-weight:var(--swatch-font-weight,var(--cx-font-weight-semibold));--header-border-right:none;--cell-font-size:var(--swatch-font-size,var(--cx-font-size-large));--cell-font-weight:var(--swatch-font-weight,var(--cx-font-weight-regular));--cell-line-height:normal;--cell-hover-background-color:transparent;--placeholder-font-size:var(--cx-font-size-medium-large);--cell-horizontal-padding:var(--cx-spacing-2x-small);--header-horizontal-padding:var(--cx-spacing-2x-small);--header-border-bottom:1px solid var(--cx-color-neutral-200);--hover-menu-background-color:var(--row-hover-background-color);--outer-border-color:transparent}.color-swatch-group__table::part(table){background-color:#0000}`;
23343
- var bf = Object.defineProperty, wf = Object.getOwnPropertyDescriptor, De = (r, e, t, i) => {
23290
+ var bf = Object.defineProperty, wf = Object.getOwnPropertyDescriptor, Se = (r, e, t, i) => {
23344
23291
  for (var s = i > 1 ? void 0 : i ? wf(e, t) : e, o = r.length - 1, n; o >= 0; o--)
23345
23292
  (n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
23346
23293
  return i && s && bf(e, t, s), s;
23347
23294
  };
23348
- const qr = "unnamed";
23295
+ const Kr = "unnamed";
23349
23296
  let ge = class extends Ie {
23350
23297
  constructor() {
23351
23298
  super(), this.localize = new tt(this), this.variant = Ye.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 = Mi.Desktop, this.currentCol = 0, this.isFocused = !1, this.canFocusContainer = !0, this.isContainerFocused = !1, this.handleWindowResize = this.handleWindowResize.bind(this);
@@ -23373,7 +23320,7 @@ let ge = class extends Ie {
23373
23320
  getComputedStyle(this.containerEl).getPropertyValue("--grid-gap")
23374
23321
  );
23375
23322
  this.currentCol = Math.floor(
23376
- (r + e) / (Kr + e)
23323
+ (r + e) / (Ur + e)
23377
23324
  );
23378
23325
  break;
23379
23326
  }
@@ -23384,7 +23331,7 @@ let ge = class extends Ie {
23384
23331
  }
23385
23332
  }
23386
23333
  handleKeyDown(r) {
23387
- !(r.target instanceof Jr) && !r.target?.closest(
23334
+ !(r.target instanceof Xr) && !r.target?.closest(
23388
23335
  "[data-table-container]"
23389
23336
  ) || (r.key === "Enter" || r.key === " ") && (this.isFocused = !0);
23390
23337
  }
@@ -23415,7 +23362,7 @@ let ge = class extends Ie {
23415
23362
  categorizeByPalette() {
23416
23363
  return Object.values(
23417
23364
  this.data.reduce((r, e) => {
23418
- const t = e.palette?.trim() ? e.palette : qr;
23365
+ const t = e.palette?.trim() ? e.palette : Kr;
23419
23366
  return r[t] || (r[t] = { colors: [], palette: t }), r[t].colors.push(e), r;
23420
23367
  }, {})
23421
23368
  );
@@ -23453,7 +23400,7 @@ let ge = class extends Ie {
23453
23400
  return x`
23454
23401
  ${q(
23455
23402
  this.variant === Ye.Table,
23456
- () => x`<cx-space class="color-swatch-group__swatches" direction="vertical" spacing="2x-small">${qo(
23403
+ () => x`<cx-space class="color-swatch-group__swatches" direction="vertical" spacing="2x-small">${Ko(
23457
23404
  [this.data, this.canCopy],
23458
23405
  () => this.categorizeByPalette().map(
23459
23406
  (t) => {
@@ -23463,7 +23410,7 @@ let ge = class extends Ie {
23463
23410
  })) : t.colors;
23464
23411
  return x`<div tabindex=${J(
23465
23412
  this.canFocusContainer ? "0" : void 0
23466
- )} 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 === qr ? 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=${qo(
23413
+ )} 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 === Kr ? 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=${Ko(
23467
23414
  [this.showCodes, this.canCopy, this.localize],
23468
23415
  () => this.getTableColumns(t.palette)
23469
23416
  )} .columnDefaults=${uf} .rowHeight=${void 0} .data=${i} class="color-swatch-group__table"></cx-table></div>`;
@@ -23475,7 +23422,7 @@ let ge = class extends Ie {
23475
23422
  "color-swatch-group__swatches--grid": this.variant === Ye.Grid,
23476
23423
  [`color-swatch-group__swatches--circles--${r}`]: this.variant === Ye.Circles
23477
23424
  })} style=${at({
23478
- gridTemplateColumns: this.currentCol >= this.maxCol ? `repeat(${this.maxCol}, 1fr)` : `repeat(auto-fit, minmax(${Kr}px, 1fr))`
23425
+ gridTemplateColumns: this.currentCol >= this.maxCol ? `repeat(${this.maxCol}, 1fr)` : `repeat(auto-fit, minmax(${Ur}px, 1fr))`
23479
23426
  })}>${qe(
23480
23427
  this.data,
23481
23428
  (t) => t.name,
@@ -23494,30 +23441,30 @@ let ge = class extends Ie {
23494
23441
  };
23495
23442
  ge.styles = [We, gf];
23496
23443
  ge.dependencies = {
23497
- "cx-color-swatch": Jr,
23444
+ "cx-color-swatch": Xr,
23498
23445
  "cx-space": Di,
23499
23446
  "cx-table": cf,
23500
- "cx-typography": Xr
23447
+ "cx-typography": qr
23501
23448
  };
23502
- De([
23449
+ Se([
23503
23450
  pe(".color-swatch-group__swatches")
23504
23451
  ], ge.prototype, "containerEl", 2);
23505
- De([
23452
+ Se([
23506
23453
  Sa("cx-table")
23507
23454
  ], ge.prototype, "tableEls", 2);
23508
- De([
23455
+ Se([
23509
23456
  m({ reflect: !0, type: String })
23510
23457
  ], ge.prototype, "variant", 2);
23511
- De([
23458
+ Se([
23512
23459
  m({ reflect: !0, type: Array })
23513
23460
  ], ge.prototype, "data", 2);
23514
- De([
23461
+ Se([
23515
23462
  m({ attribute: "max-col", reflect: !0, type: Number })
23516
23463
  ], ge.prototype, "maxCol", 2);
23517
- De([
23464
+ Se([
23518
23465
  m({ attribute: "can-copy", reflect: !0, type: Boolean })
23519
23466
  ], ge.prototype, "canCopy", 2);
23520
- De([
23467
+ Se([
23521
23468
  m({
23522
23469
  attribute: "show-codes",
23523
23470
  converter: {
@@ -23527,37 +23474,37 @@ De([
23527
23474
  reflect: !0
23528
23475
  })
23529
23476
  ], ge.prototype, "showCodes", 2);
23530
- De([
23477
+ Se([
23531
23478
  m({ attribute: "multi-language", reflect: !0, type: Boolean })
23532
23479
  ], ge.prototype, "multiLanguage", 2);
23533
- De([
23480
+ Se([
23534
23481
  M()
23535
23482
  ], ge.prototype, "breakpoints", 2);
23536
- De([
23483
+ Se([
23537
23484
  M()
23538
23485
  ], ge.prototype, "deviceType", 2);
23539
- De([
23486
+ Se([
23540
23487
  M()
23541
23488
  ], ge.prototype, "currentCol", 2);
23542
- De([
23489
+ Se([
23543
23490
  M()
23544
23491
  ], ge.prototype, "isFocused", 2);
23545
- De([
23492
+ Se([
23546
23493
  M()
23547
23494
  ], ge.prototype, "canFocusContainer", 2);
23548
- De([
23495
+ Se([
23549
23496
  M()
23550
23497
  ], ge.prototype, "isContainerFocused", 2);
23551
- De([
23552
- nn(100)
23498
+ Se([
23499
+ rn(100)
23553
23500
  ], ge.prototype, "handleWindowResize", 1);
23554
- De([
23501
+ Se([
23555
23502
  H("variant", { waitUntilFirstUpdate: !0 })
23556
23503
  ], ge.prototype, "handleResize", 1);
23557
- De([
23504
+ Se([
23558
23505
  H("isFocused", { waitUntilFirstUpdate: !0 })
23559
23506
  ], ge.prototype, "handleIsFocusedChange", 1);
23560
- ge = De([
23507
+ ge = Se([
23561
23508
  He("cx-color-swatch-group")
23562
23509
  ], ge);
23563
23510
  export {
@@ -23567,8 +23514,8 @@ export {
23567
23514
  cf as a,
23568
23515
  Ct as b,
23569
23516
  Ye as c,
23570
- Xo as d,
23517
+ qo as d,
23571
23518
  re as e,
23572
23519
  ne as f,
23573
- Jo as o
23520
+ Xo as o
23574
23521
  };