@orangelogic/design-system 2.77.0 → 2.78.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.
Files changed (40) hide show
  1. package/library/chunks/{button.csCRiZzY.js → button.DS64Tr8Z.js} +2 -4
  2. package/library/chunks/{color-swatch-group.CKdXj10T.js → color-swatch-group.C7T6-sY7.js} +1 -1
  3. package/library/chunks/{confirm-popover.Kx6YyQwp.js → confirm-popover.BNjRvnN0.js} +1 -1
  4. package/library/chunks/{file-on-demand.BJZ5E8XT.js → file-on-demand.BTTdth3o.js} +4 -4
  5. package/library/chunks/{folder-select.BqLmIlj6.js → folder-select.B2qxSKA5.js} +1 -1
  6. package/library/chunks/{index.VbMreXxL.js → index.Bx0otwQo.js} +1 -1
  7. package/library/chunks/{list-editor.BzzQoZe1.js → list-editor.DluUZa06.js} +2 -2
  8. package/library/chunks/{pagination.BXCr_5om.js → pagination.g4zErKN2.js} +1 -1
  9. package/library/chunks/{tab-group.G24wrely.js → tab-group.Dg6a82ei.js} +1 -1
  10. package/library/chunks/{table.34yySlt-.js → table.CcqrVieF.js} +530 -484
  11. package/library/chunks/url.Cj9cIQXJ.js +27 -0
  12. package/library/components/asset-link-format.js +1 -1
  13. package/library/components/atoms.js +4 -4
  14. package/library/components/button.js +1 -1
  15. package/library/components/color-picker.js +1 -1
  16. package/library/components/color-swatch-group.js +2 -2
  17. package/library/components/confirm-popover.js +2 -2
  18. package/library/components/dynamic-select.js +1 -1
  19. package/library/components/element-clamp.js +1 -1
  20. package/library/components/file-on-demand.js +5 -5
  21. package/library/components/folder-select.js +1 -1
  22. package/library/components/line-clamp.js +1 -1
  23. package/library/components/list-editor.js +3 -3
  24. package/library/components/molecules.js +3 -3
  25. package/library/components/organisms.js +2 -2
  26. package/library/components/pagination.js +2 -2
  27. package/library/components/tab-group.js +2 -2
  28. package/library/components/table.js +3 -3
  29. package/library/components/textarea.js +198 -170
  30. package/library/components/types.js +10217 -10205
  31. package/library/package.json +1 -1
  32. package/library/packages/atoms/src/components/table/tabulator-tables/modules/Edit/Edit.d.ts +1 -0
  33. package/library/packages/atoms/src/components/textarea/textarea.d.ts +19 -4
  34. package/library/packages/organisms/src/carousel/carousel.d.ts +2 -0
  35. package/library/packages/types/src/textarea.d.ts +4 -0
  36. package/library/packages/utils/src/url/url.d.ts +9 -0
  37. package/library/react-web-component.d.ts +3 -3
  38. package/library/utils.js +34 -33
  39. package/package.json +1 -1
  40. package/library/chunks/url.LjsR2sB5.js +0 -15
@@ -1,46 +1,46 @@
1
- import { C as _e } from "./button.csCRiZzY.js";
2
- import Hs from "../components/checkbox.js";
1
+ import { C as _e } from "./button.DS64Tr8Z.js";
2
+ import Ps from "../components/checkbox.js";
3
3
  import vs from "../components/divider.js";
4
- import Ps from "../components/format-number.js";
4
+ import As from "../components/format-number.js";
5
5
  import { C as ys } from "./icon-button.C3eqeQl9.js";
6
- import As from "../components/select.js";
6
+ import _s from "../components/select.js";
7
7
  import wi from "../components/space.js";
8
- import _s from "../components/spinner.js";
8
+ import Ns from "../components/spinner.js";
9
9
  import { n as g, C as Ne } from "./lib-cortex-element.CVMmyPMC.js";
10
10
  import { c as qe } from "./component.styles.DMSLciL5.js";
11
- import { o as Ns, O as $i } from "./overlayscrollbars.XhGWx9Zk.js";
12
- import { C as Vs, P as Is } from "./pagination.BXCr_5om.js";
11
+ import { o as Vs, O as $i } from "./overlayscrollbars.XhGWx9Zk.js";
12
+ import { C as Is, P as Bs } from "./pagination.g4zErKN2.js";
13
13
  import { c as Ve } from "./custom-element.L4WJXn1j.js";
14
14
  import { L as lt } from "./i18n.BUW7B9hr.js";
15
15
  import { w as _ } from "./watch.BCJD77bD.js";
16
- import { i as H, x, E as Bs } from "./lit-element.jLBm65_O.js";
16
+ import { i as H, x, E as Ws } from "./lit-element.jLBm65_O.js";
17
17
  import { r as re } from "./state.CSDxrqLd.js";
18
18
  import { e as Ie } from "./query.BBf1UFkC.js";
19
- import { e as Ws } from "./class-map.BiVq-cVR.js";
19
+ import { e as Gs } from "./class-map.BiVq-cVR.js";
20
20
  import { n as U } from "./when.Dr1es41R.js";
21
21
  import ht from "../components/icon.js";
22
22
  import vi from "../components/tooltip.js";
23
- import { r as Gs } from "./choose.BTbF6BAn.js";
23
+ import { r as js } from "./choose.BTbF6BAn.js";
24
24
  import { o as be } from "./if-defined.BRoBj_Rp.js";
25
25
  import { c as Ae } from "./repeat.DbF2p5ae.js";
26
26
  import { o as ke } from "./style-map.llVFPd__.js";
27
27
  import ct from "../components/dropdown.js";
28
28
  import dt from "../components/menu.js";
29
29
  import ut from "../components/menu-item.js";
30
- import js from "../components/menu-section.js";
31
- import { g as $s } from "./content-builder.B4Tqoc6M.js";
32
- import Us from "../components/input.js";
33
- import { C as Ks, T as Xs } from "./typography.oDzoLbZS.js";
34
- import { g as T, a as Js } from "./dom.BQVKDNd8.js";
30
+ import $s from "../components/menu-section.js";
31
+ import { g as Us } from "./content-builder.B4Tqoc6M.js";
32
+ import Ks from "../components/input.js";
33
+ import { C as Xs, T as Js } from "./typography.oDzoLbZS.js";
34
+ import { g as T, a as qs } from "./dom.BQVKDNd8.js";
35
35
  import "./browser.BHOCIF_A.js";
36
36
  import "./form.DgwYWi0O.js";
37
37
  import "./purify.es.BIuh5IAZ.js";
38
- import { t as qs } from "./toast.BXNbwZV8.js";
38
+ import { t as Ys } from "./toast.BXNbwZV8.js";
39
39
  import { s as S, a as pt } from "./string.B_rEG27K.js";
40
- import { C as Ys } from "./option.Csqefux_.js";
40
+ import { C as Qs } from "./option.Csqefux_.js";
41
41
  var ae = /* @__PURE__ */ ((a) => (a.Bottom = "bottom", a.Center = "center", a.Nearest = "nearest", a.Top = "top", a))(ae || {}), q = /* @__PURE__ */ ((a) => (a.All = "all", a.Cell = "cell", a.Column = "column", a.Row = "row", a))(q || {}), je = /* @__PURE__ */ ((a) => (a.Both = "both", a.Copy = "copy", a.Paste = "paste", a))(je || {}), xe = /* @__PURE__ */ ((a) => (a.Left = "left", a.Right = "right", a))(xe || {}), he = /* @__PURE__ */ ((a) => (a.Local = "local", a.Remote = "remote", a))(he || {}), W = /* @__PURE__ */ ((a) => (a.Asc = "asc", a.Desc = "desc", a.None = "none", a))(W || {}), Me = /* @__PURE__ */ ((a) => (a.Ends = "ends", a.Equal = "=", a.GreaterOrEqual = ">=", a.GreaterThan = ">", a.In = "in", a.Keywords = "keywords", a.LessOrEqual = "<=", a.LessThan = "<", a.Like = "like", a.NotEqual = "!=", a.Regex = "regex", a.Starts = "starts", a))(Me || {});
42
42
  const Cs = 36;
43
- class Qs {
43
+ class Zs {
44
44
  #e;
45
45
  #i;
46
46
  #s = /* @__PURE__ */ new Set();
@@ -106,7 +106,7 @@ class Qs {
106
106
  return t.includes("-") && !customElements.get(t);
107
107
  }
108
108
  }
109
- const Zs = H`
109
+ const eo = H`
110
110
  .table-row-actions__button::part(label),
111
111
  .table-row-actions__dropdown__trigger::part(label) {
112
112
  padding: 0 var(--cx-spacing-x-small);
@@ -116,10 +116,10 @@ const Zs = H`
116
116
  display: none;
117
117
  }
118
118
  `;
119
- var eo = Object.defineProperty, to = Object.getOwnPropertyDescriptor, Le = (a, e, t, i) => {
120
- for (var s = i > 1 ? void 0 : i ? to(e, t) : e, o = a.length - 1, r; o >= 0; o--)
119
+ var to = Object.defineProperty, io = Object.getOwnPropertyDescriptor, Le = (a, e, t, i) => {
120
+ for (var s = i > 1 ? void 0 : i ? io(e, t) : e, o = a.length - 1, r; o >= 0; o--)
121
121
  (r = a[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
122
- return i && s && eo(e, t, s), s;
122
+ return i && s && to(e, t, s), s;
123
123
  };
124
124
  let oe = class extends Ne {
125
125
  constructor() {
@@ -129,7 +129,7 @@ let oe = class extends Ne {
129
129
  return this;
130
130
  }
131
131
  handleActionChange() {
132
- this.groupedDropdownItems = $s(
132
+ this.groupedDropdownItems = Us(
133
133
  this.action?.options?.dropdownItems ?? [],
134
134
  "section"
135
135
  ), this.sections = Object.keys(this.groupedDropdownItems);
@@ -171,7 +171,7 @@ let oe = class extends Ne {
171
171
  }
172
172
  render() {
173
173
  if (!this.action)
174
- return Bs;
174
+ return Ws;
175
175
  const a = this.action?.icon ?? "more_horiz";
176
176
  return x`<cx-dropdown hoist>
177
177
  <cx-tooltip
@@ -210,7 +210,7 @@ oe.dependencies = {
210
210
  "cx-icon": ht,
211
211
  "cx-menu": dt,
212
212
  "cx-menu-item": ut,
213
- "cx-menu-section": js,
213
+ "cx-menu-section": $s,
214
214
  "cx-tooltip": vi
215
215
  };
216
216
  Le([
@@ -238,10 +238,10 @@ Le([
238
238
  oe = Le([
239
239
  Ve("cx-table-row-actions-dropdown")
240
240
  ], oe);
241
- var io = Object.defineProperty, so = Object.getOwnPropertyDescriptor, ft = (a, e, t, i) => {
242
- for (var s = i > 1 ? void 0 : i ? so(e, t) : e, o = a.length - 1, r; o >= 0; o--)
241
+ var so = Object.defineProperty, oo = Object.getOwnPropertyDescriptor, ft = (a, e, t, i) => {
242
+ for (var s = i > 1 ? void 0 : i ? oo(e, t) : e, o = a.length - 1, r; o >= 0; o--)
243
243
  (r = a[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
244
- return i && s && io(e, t, s), s;
244
+ return i && s && so(e, t, s), s;
245
245
  };
246
246
  let ve = class extends Ne {
247
247
  constructor() {
@@ -291,7 +291,7 @@ let ve = class extends Ne {
291
291
  ${Ae(
292
292
  this.actions,
293
293
  (a) => a.name,
294
- (a) => Gs(a.type ?? "button", [
294
+ (a) => js(a.type ?? "button", [
295
295
  [
296
296
  "button",
297
297
  () => this.renderButton(a)
@@ -305,7 +305,7 @@ let ve = class extends Ne {
305
305
  </cx-space>`;
306
306
  }
307
307
  };
308
- ve.styles = [qe, Zs];
308
+ ve.styles = [qe, eo];
309
309
  ve.dependencies = {
310
310
  "cx-button": _e,
311
311
  "cx-icon": ht,
@@ -329,10 +329,10 @@ ft([
329
329
  ve = ft([
330
330
  Ve("cx-table-row-actions")
331
331
  ], ve);
332
- var oo = Object.defineProperty, ro = Object.getOwnPropertyDescriptor, Ye = (a, e, t, i) => {
333
- for (var s = i > 1 ? void 0 : i ? ro(e, t) : e, o = a.length - 1, r; o >= 0; o--)
332
+ var ro = Object.defineProperty, no = Object.getOwnPropertyDescriptor, Ye = (a, e, t, i) => {
333
+ for (var s = i > 1 ? void 0 : i ? no(e, t) : e, o = a.length - 1, r; o >= 0; o--)
334
334
  (r = a[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
335
- return i && s && oo(e, t, s), s;
335
+ return i && s && ro(e, t, s), s;
336
336
  };
337
337
  let ce = class extends Ne {
338
338
  constructor() {
@@ -430,10 +430,10 @@ Ye([
430
430
  ce = Ye([
431
431
  Ve("cx-table-dropdown-filter")
432
432
  ], ce);
433
- var no = Object.defineProperty, ao = Object.getOwnPropertyDescriptor, ne = (a, e, t, i) => {
434
- for (var s = i > 1 ? void 0 : i ? ao(e, t) : e, o = a.length - 1, r; o >= 0; o--)
433
+ var ao = Object.defineProperty, lo = Object.getOwnPropertyDescriptor, ne = (a, e, t, i) => {
434
+ for (var s = i > 1 ? void 0 : i ? lo(e, t) : e, o = a.length - 1, r; o >= 0; o--)
435
435
  (r = a[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
436
- return i && s && no(e, t, s), s;
436
+ return i && s && ao(e, t, s), s;
437
437
  };
438
438
  let X = class extends Ne {
439
439
  constructor() {
@@ -553,7 +553,7 @@ ne([
553
553
  X = ne([
554
554
  Ve("cx-table-saved-search-dropdown")
555
555
  ], X);
556
- const lo = H`
556
+ const ho = H`
557
557
  .header-actions {
558
558
  padding-top: var(--cx-spacing-medium);
559
559
  }
@@ -592,10 +592,10 @@ const lo = H`
592
592
  padding: 0 var(--cx-spacing-x-small);
593
593
  }
594
594
  `;
595
- var ho = Object.defineProperty, co = Object.getOwnPropertyDescriptor, A = (a, e, t, i) => {
596
- for (var s = i > 1 ? void 0 : i ? co(e, t) : e, o = a.length - 1, r; o >= 0; o--)
595
+ var co = Object.defineProperty, uo = Object.getOwnPropertyDescriptor, A = (a, e, t, i) => {
596
+ for (var s = i > 1 ? void 0 : i ? uo(e, t) : e, o = a.length - 1, r; o >= 0; o--)
597
597
  (r = a[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
598
- return i && s && ho(e, t, s), s;
598
+ return i && s && co(e, t, s), s;
599
599
  };
600
600
  let O = class extends Ne {
601
601
  constructor() {
@@ -763,21 +763,21 @@ let O = class extends Ne {
763
763
  </div>`;
764
764
  }
765
765
  };
766
- O.styles = [qe, lo];
766
+ O.styles = [qe, ho];
767
767
  O.dependencies = {
768
768
  "cx-button": _e,
769
769
  "cx-dropdown": ct,
770
770
  "cx-icon": ht,
771
771
  "cx-icon-button": ys,
772
- "cx-input": Us,
772
+ "cx-input": Ks,
773
773
  "cx-menu": dt,
774
774
  "cx-menu-item": ut,
775
- "cx-pagination": Vs,
775
+ "cx-pagination": Is,
776
776
  "cx-space": wi,
777
777
  "cx-table-dropdown-filter": ce,
778
778
  "cx-table-saved-search-dropdown": X,
779
779
  "cx-tooltip": vi,
780
- "cx-typography": Ks
780
+ "cx-typography": Xs
781
781
  };
782
782
  A([
783
783
  Ie("#search-form")
@@ -869,7 +869,7 @@ A([
869
869
  O = A([
870
870
  Ve("cx-table-toolbar")
871
871
  ], O);
872
- class uo {
872
+ class po {
873
873
  constructor(e) {
874
874
  this.filters = /* @__PURE__ */ new Map(), this.isConnected = !1, this.host = e, this.host.addController(this);
875
875
  }
@@ -1145,7 +1145,7 @@ class L {
1145
1145
  }
1146
1146
  }
1147
1147
  const Ui = process.env.NODE_ENV === "development";
1148
- let po = class Es extends I {
1148
+ let fo = class Es extends I {
1149
1149
  constructor(e, t, i = null) {
1150
1150
  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);
1151
1151
  }
@@ -1271,7 +1271,7 @@ let po = class Es extends I {
1271
1271
  return this.childPopup && this.childPopup.hide(), this.childPopup = new Es(this.table, e, this), this.childPopup;
1272
1272
  }
1273
1273
  };
1274
- const fo = process.env.NODE_ENV === "development";
1274
+ const go = process.env.NODE_ENV === "development";
1275
1275
  class R extends I {
1276
1276
  constructor(e) {
1277
1277
  super(e);
@@ -1292,7 +1292,7 @@ class R extends I {
1292
1292
  */
1293
1293
  registerTableFunction(e, t) {
1294
1294
  const i = this.table;
1295
- i[e] === void 0 || i[e] === null ? i[e] = (...s) => (this.table.initGuard?.(e), t.apply(this, s)) : fo && console.warn("Unable to bind table function, name already in use:", e);
1295
+ i[e] === void 0 || i[e] === null ? i[e] = (...s) => (this.table.initGuard?.(e), t.apply(this, s)) : go && console.warn("Unable to bind table function, name already in use:", e);
1296
1296
  }
1297
1297
  registerComponentFunction(e, t, i) {
1298
1298
  return this.table.componentFunctionBinder.bind(e, t, i);
@@ -1337,7 +1337,7 @@ class R extends I {
1337
1337
  * Popups Management
1338
1338
  */
1339
1339
  popup(e, t) {
1340
- return new po(this.table, e, t);
1340
+ return new fo(this.table, e, t);
1341
1341
  }
1342
1342
  /**
1343
1343
  * Alert Management
@@ -1349,7 +1349,7 @@ class R extends I {
1349
1349
  this.table.alertManager?.clear();
1350
1350
  }
1351
1351
  }
1352
- const go = x`
1352
+ const mo = x`
1353
1353
  <cx-table-row-actions></cx-table-row-actions>
1354
1354
  `, Fe = class Fe extends R {
1355
1355
  constructor(e) {
@@ -1396,7 +1396,7 @@ const go = x`
1396
1396
  i && i.classList.remove("tabulator-hover-menu--active");
1397
1397
  }
1398
1398
  createHoverMenuElement() {
1399
- const e = T(go);
1399
+ const e = T(mo);
1400
1400
  return e.classList.add("tabulator-hover-menu"), e;
1401
1401
  }
1402
1402
  layoutRow(e) {
@@ -1436,7 +1436,7 @@ const go = x`
1436
1436
  };
1437
1437
  Fe.moduleName = "hoverMenu", Fe.placementDataAttribute = "hoverMenuPlacement";
1438
1438
  let xt = Fe;
1439
- const mo = H`
1439
+ const bo = H`
1440
1440
  .tabulator .tabulator-alert {
1441
1441
  position: absolute;
1442
1442
  display: flex;
@@ -1478,7 +1478,7 @@ const mo = H`
1478
1478
  border: 4px solid var(--cx-color-danger);
1479
1479
  color: var(--cx-color-danger-900);
1480
1480
  }
1481
- `, bo = H`
1481
+ `, wo = H`
1482
1482
  :host {
1483
1483
  display: block;
1484
1484
  --width: 100%;
@@ -1647,7 +1647,7 @@ const mo = H`
1647
1647
  color: var(--color);
1648
1648
  min-width: 100%;
1649
1649
  }
1650
- `, wo = H`
1650
+ `, vo = H`
1651
1651
  .tabulator .tabulator-header .tabulator-calcs-holder {
1652
1652
  box-sizing: border-box;
1653
1653
  display: inline-block;
@@ -1717,7 +1717,7 @@ const mo = H`
1717
1717
  margin-bottom: -5px;
1718
1718
  border-bottom: none;
1719
1719
  }
1720
- `, vo = H`
1720
+ `, yo = H`
1721
1721
  .tabulator-row .tabulator-cell .tabulator-data-tree-branch-empty {
1722
1722
  display: inline-block;
1723
1723
  width: 22px;
@@ -1743,7 +1743,7 @@ const mo = H`
1743
1743
  vertical-align: middle;
1744
1744
  width: 18px;
1745
1745
  }
1746
- `, yo = H`
1746
+ `, Co = H`
1747
1747
  .tabulator-row .tabulator-cell.tabulator-editing {
1748
1748
  outline: none;
1749
1749
  padding: 0 var(--cell-horizontal-padding);
@@ -1792,20 +1792,38 @@ const mo = H`
1792
1792
  position: relative;
1793
1793
  }
1794
1794
 
1795
- .tabulator-edit-list:not(.tabulator-editing)::after {
1796
- content: '';
1795
+ .tabulator-edit-list:not(.tabulator-editing) .tabulator-cell-content {
1796
+ padding-right: var(--cx-spacing-large);
1797
+ }
1798
+
1799
+ .tabulator-edit-list-trigger {
1800
+ display: inline-flex;
1801
+ align-items: center;
1802
+ justify-content: center;
1797
1803
  position: absolute;
1798
1804
  top: 50%;
1799
1805
  right: var(--cx-spacing-small);
1800
1806
  transform: translateY(-50%);
1801
- width: 0;
1802
- height: 0;
1803
- border-left: 4px solid transparent;
1804
- border-right: 4px solid transparent;
1805
- border-top: 5px solid var(--cx-color-neutral-500);
1806
- pointer-events: none;
1807
+ width: var(--cx-spacing-large);
1808
+ height: 100%;
1809
+ padding: 0;
1810
+ border: none;
1811
+ appearance: none;
1812
+ background: transparent;
1813
+ color: inherit;
1814
+ cursor: pointer;
1815
+ font: inherit;
1807
1816
  }
1808
- `, Co = H`
1817
+
1818
+ .tabulator-edit-list.tabulator-editing .tabulator-edit-list-trigger {
1819
+ display: none;
1820
+ }
1821
+
1822
+ .tabulator-edit-list-trigger-caret {
1823
+ --font-size: var(--cx-font-size-medium);
1824
+ color: var(--cx-color-neutral-500);
1825
+ }
1826
+ `, Eo = H`
1809
1827
  .tabulator .tabulator-footer {
1810
1828
  border-top: 1px solid var(--cx-color-neutral-400);
1811
1829
  background-color: var(--cx-color-neutral-200);
@@ -1831,7 +1849,7 @@ const mo = H`
1831
1849
  display: none;
1832
1850
  }
1833
1851
 
1834
- `, Eo = H`
1852
+ `, xo = H`
1835
1853
  .tabulator-row .tabulator-cell .tabulator-traffic-light-container {
1836
1854
  display: inline-flex;
1837
1855
  align-items: center;
@@ -1844,7 +1862,7 @@ const mo = H`
1844
1862
  width: 14px;
1845
1863
  border-radius: var(--cx-border-radius-x-large);
1846
1864
  }
1847
- `, xo = H`
1865
+ `, Ro = H`
1848
1866
  .tabulator-row.tabulator-group {
1849
1867
  box-sizing: border-box;
1850
1868
  border-bottom: var(--border-width) solid var(--group-row-border-color);
@@ -1898,7 +1916,7 @@ const mo = H`
1898
1916
  margin-left: var(--cx-spacing-small);
1899
1917
  color: var(--group-count-color);
1900
1918
  }
1901
- `, Ro = H`
1919
+ `, So = H`
1902
1920
  :host {
1903
1921
  /**
1904
1922
  * Column header highlight when the column is included in the current range selection.
@@ -2311,7 +2329,7 @@ const mo = H`
2311
2329
  .tabulator .tabulator-header .tabulator-frozen-rows-holder:empty {
2312
2330
  display: none;
2313
2331
  }
2314
- `, So = H`
2332
+ `, To = H`
2315
2333
  :host {
2316
2334
  --hover-menu-background-color: transparent;
2317
2335
  }
@@ -2334,7 +2352,7 @@ const mo = H`
2334
2352
  opacity: 1;
2335
2353
  pointer-events: auto;
2336
2354
  }
2337
- `, To = H`
2355
+ `, Mo = H`
2338
2356
  .tabulator-row .tabulator-cell.tabulator-row-handle {
2339
2357
  display: inline-flex;
2340
2358
  align-items: center;
@@ -2360,7 +2378,7 @@ const mo = H`
2360
2378
  margin-top: var(--cx-spacing-3x-small);
2361
2379
  background: var(--cx-color-neutral-600);
2362
2380
  }
2363
- `, Mo = H`
2381
+ `, ko = H`
2364
2382
  .tabulator .tabulator-footer .tabulator-paginator {
2365
2383
  flex: 1;
2366
2384
  }
@@ -2381,7 +2399,7 @@ const mo = H`
2381
2399
  .tabulator-paginator-pagination::part(next-icon) {
2382
2400
  --font-size: var(--cx-font-size-medium);
2383
2401
  }
2384
- `, ko = H`
2402
+ `, Lo = H`
2385
2403
  :host {
2386
2404
  --placeholder-color: var(--cx-color-neutral-800);
2387
2405
  --placeholder-font-weight: var(--cx-font-weight-regular);
@@ -2473,7 +2491,7 @@ const mo = H`
2473
2491
  border-bottom: var(--border-width) solid var(--cell-bottom-border-color);
2474
2492
  padding: var(--cx-spacing-2x-small) var(--cell-horizontal-padding);
2475
2493
  }
2476
- `, Lo = H`
2494
+ `, Do = H`
2477
2495
  .tabulator-toggle {
2478
2496
  box-sizing: border-box;
2479
2497
  display: flex;
@@ -2560,7 +2578,7 @@ const mo = H`
2560
2578
  .tabulator-menu .tabulator-menu-separator {
2561
2579
  border-top: var(--border-width) solid var(--cx-color-neutral-400);
2562
2580
  }
2563
- `, Do = H`
2581
+ `, zo = H`
2564
2582
  .tabulator-print-fullscreen {
2565
2583
  position: absolute;
2566
2584
  top: 0;
@@ -2647,7 +2665,7 @@ const mo = H`
2647
2665
  margin-left: var(--cx-spacing-small);
2648
2666
  color: var(--cx-color-danger);
2649
2667
  }
2650
- `, zo = H`
2668
+ `, Fo = H`
2651
2669
  .tabulator .tabulator-col-resize-handle {
2652
2670
  position: relative;
2653
2671
  display: inline-block;
@@ -2688,7 +2706,7 @@ const mo = H`
2688
2706
  background-color: var(--cx-color-neutral-400);
2689
2707
  opacity: 0.5;
2690
2708
  }
2691
- `, Fo = H`
2709
+ `, Oo = H`
2692
2710
  .tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle {
2693
2711
  display: inline-flex;
2694
2712
  align-items: center;
@@ -2737,7 +2755,7 @@ const mo = H`
2737
2755
  .tabulator-responsive-collapse-toggle-close {
2738
2756
  display: none;
2739
2757
  }
2740
- `, Oo = H`
2758
+ `, Ho = H`
2741
2759
  .tabulator-row {
2742
2760
  display: flex;
2743
2761
  position: relative;
@@ -2892,7 +2910,7 @@ const mo = H`
2892
2910
  }
2893
2911
 
2894
2912
 
2895
- `, Ho = H`
2913
+ `, Po = H`
2896
2914
  .tabulator.tabulator-ltr {
2897
2915
  direction: ltr;
2898
2916
  }
@@ -2973,7 +2991,7 @@ const mo = H`
2973
2991
  .tabulator.tabulator-rtl .tabulator-footer .tabulator-calcs-holder {
2974
2992
  text-align: initial;
2975
2993
  }
2976
- `, Po = H`
2994
+ `, Ao = H`
2977
2995
  :host {
2978
2996
  /**
2979
2997
  * Range overlay: active/hover cell border and single-cell fill when only one cell is selected.
@@ -3093,7 +3111,7 @@ const mo = H`
3093
3111
  ):hover {
3094
3112
  background-color: var(--table-editable-cell-hover-background-color);
3095
3113
  }
3096
- `, Ao = H`
3114
+ `, _o = H`
3097
3115
  .tabulator .tabulator-footer .tabulator-spreadsheet-tabs {
3098
3116
  margin-top: -5px;
3099
3117
  overflow-x: auto;
@@ -3126,29 +3144,29 @@ const mo = H`
3126
3144
  .tabulator-spreadsheet-tab.tabulator-spreadsheet-tab-active {
3127
3145
  background: var(--cx-color-neutral-0);
3128
3146
  }
3129
- `, _o = [
3130
- bo,
3131
- Ro,
3132
- ko,
3147
+ `, No = [
3133
3148
  wo,
3134
- Po,
3135
- Co,
3149
+ So,
3150
+ Lo,
3151
+ vo,
3136
3152
  Ao,
3153
+ Eo,
3154
+ _o,
3155
+ ko,
3156
+ Fo,
3157
+ bo,
3158
+ Ho,
3159
+ Co,
3137
3160
  Mo,
3138
- zo,
3139
- mo,
3140
- Oo,
3141
3161
  yo,
3142
- To,
3143
- vo,
3144
- Fo,
3145
- Eo,
3162
+ Oo,
3146
3163
  xo,
3147
- Lo,
3148
- Ho,
3164
+ Ro,
3149
3165
  Do,
3150
- So
3151
- ], No = {
3166
+ Po,
3167
+ zo,
3168
+ To
3169
+ ], Vo = {
3152
3170
  formatter: function() {
3153
3171
  const a = document.createElement("div");
3154
3172
  a.style.display = "flex", a.style.alignItems = "center", a.style.justifyContent = "center", a.style.width = "100%", a.style.height = "100%", a.style.userSelect = "none", a.dataset.testid = "movable-row-button";
@@ -3161,7 +3179,7 @@ const mo = H`
3161
3179
  rowHandle: !0,
3162
3180
  title: "",
3163
3181
  width: 40
3164
- }, Vo = {
3182
+ }, Io = {
3165
3183
  fromAttribute: (a) => {
3166
3184
  if (typeof a == "string") {
3167
3185
  if (!a.trim())
@@ -3178,7 +3196,7 @@ const mo = H`
3178
3196
  return a;
3179
3197
  },
3180
3198
  toAttribute: (a) => typeof a == "function" ? "" : Array.isArray(a) ? JSON.stringify(a) : typeof a == "number" ? a.toString() : a
3181
- }, Io = {
3199
+ }, Bo = {
3182
3200
  fromAttribute: (a) => {
3183
3201
  if (typeof a == "string") {
3184
3202
  if (!a.trim())
@@ -3194,7 +3212,7 @@ const mo = H`
3194
3212
  return a;
3195
3213
  },
3196
3214
  toAttribute: (a) => typeof a == "function" ? "" : Array.isArray(a) ? JSON.stringify(a) : typeof a == "boolean" ? a.toString() : a
3197
- }, Bo = {
3215
+ }, Wo = {
3198
3216
  fromAttribute: (a) => {
3199
3217
  if (typeof a == "string") {
3200
3218
  if (!a.trim())
@@ -3216,12 +3234,12 @@ const mo = H`
3216
3234
  };
3217
3235
  Si.moduleName = "accessibility";
3218
3236
  let Rt = Si;
3219
- const Wo = {
3237
+ const Go = {
3220
3238
  rownum: function(a, e, t, i, s, o) {
3221
3239
  const r = o?.getPosition();
3222
3240
  return typeof r == "number" ? r : 0;
3223
3241
  }
3224
- }, Go = process.env.NODE_ENV === "development", Oe = class Oe extends R {
3242
+ }, jo = process.env.NODE_ENV === "development", Oe = class Oe extends R {
3225
3243
  // list of accessor types
3226
3244
  constructor(e) {
3227
3245
  super(e), this.allowedTypes = [
@@ -3259,7 +3277,7 @@ const Wo = {
3259
3277
  let t = !1;
3260
3278
  switch (typeof e) {
3261
3279
  case "string":
3262
- Oe.accessors[e] ? t = Oe.accessors[e] : Go && console.warn(
3280
+ Oe.accessors[e] ? t = Oe.accessors[e] : jo && console.warn(
3263
3281
  "Accessor Error - No such accessor found, ignoring: ",
3264
3282
  e
3265
3283
  );
@@ -3296,9 +3314,9 @@ const Wo = {
3296
3314
  }), o;
3297
3315
  }
3298
3316
  };
3299
- Oe.moduleName = "accessor", Oe.accessors = Wo;
3317
+ Oe.moduleName = "accessor", Oe.accessors = Go;
3300
3318
  let St = Oe;
3301
- const jo = {
3319
+ const $o = {
3302
3320
  method: "GET"
3303
3321
  };
3304
3322
  function xs(a) {
@@ -3329,7 +3347,7 @@ function Tt(a, e = "") {
3329
3347
  t.push({ key: e, value: a });
3330
3348
  return t;
3331
3349
  }
3332
- const $o = {
3350
+ const Uo = {
3333
3351
  form: {
3334
3352
  body: function(a, e, t) {
3335
3353
  const i = Tt(t), s = new FormData();
@@ -3374,7 +3392,7 @@ function Mt(a, e = "") {
3374
3392
  t.push({ key: e, value: a });
3375
3393
  return t;
3376
3394
  }
3377
- function Uo(a) {
3395
+ function Ko(a) {
3378
3396
  const e = Mt(a), t = [];
3379
3397
  return e.forEach((i) => {
3380
3398
  t.push(
@@ -3385,7 +3403,7 @@ function Uo(a) {
3385
3403
  const Rs = function(a, e, t) {
3386
3404
  if (a && t && Object.keys(t).length && (!e.method || e.method.toLowerCase() === "get")) {
3387
3405
  e.method = "get";
3388
- const [i, s] = a.split("#", 2), o = Uo(t);
3406
+ const [i, s] = a.split("#", 2), o = Ko(t);
3389
3407
  a = i + (i.includes("?") ? "&" : "?") + o + (s ? "#" + s : "");
3390
3408
  }
3391
3409
  return a;
@@ -3446,7 +3464,7 @@ const Rs = function(a, e, t) {
3446
3464
  )), s)) : Promise.reject();
3447
3465
  }
3448
3466
  };
3449
- Z.moduleName = "ajax", Z.defaultConfig = jo, Z.defaultURLGenerator = Rs, Z.contentTypeFormatters = $o, Z.defaultLoaderPromise = function(e, t, i) {
3467
+ Z.moduleName = "ajax", Z.defaultConfig = $o, Z.defaultURLGenerator = Rs, Z.contentTypeFormatters = Uo, Z.defaultLoaderPromise = function(e, t, i) {
3450
3468
  let s;
3451
3469
  return new Promise((o, r) => {
3452
3470
  if (!this.urlGenerator) {
@@ -3494,10 +3512,10 @@ function yi(a) {
3494
3512
  function Ss(a) {
3495
3513
  return JSON.stringify(a);
3496
3514
  }
3497
- function Ko(a, e) {
3515
+ function Xo(a, e) {
3498
3516
  return a?.[e];
3499
3517
  }
3500
- function Xo(a) {
3518
+ function Jo(a) {
3501
3519
  const e = yi(a);
3502
3520
  return {
3503
3521
  path: e,
@@ -3571,7 +3589,7 @@ class Ts {
3571
3589
  return this._group.groupManager.table;
3572
3590
  }
3573
3591
  }
3574
- const Jo = process.env.NODE_ENV === "development";
3592
+ const qo = process.env.NODE_ENV === "development";
3575
3593
  class Lt {
3576
3594
  constructor(e) {
3577
3595
  return this._column = e, this.type = "ColumnComponent", new Proxy(this, {
@@ -3651,7 +3669,7 @@ class Lt {
3651
3669
  this._column,
3652
3670
  i,
3653
3671
  t
3654
- ) : Jo && console.warn(`Move Error - No matching column found: ${e}`);
3672
+ ) : qo && console.warn(`Move Error - No matching column found: ${e}`);
3655
3673
  }
3656
3674
  getNextColumn() {
3657
3675
  const e = this._column.nextColumn();
@@ -3672,7 +3690,7 @@ class Lt {
3672
3690
  return e === !0 ? t = await this._column.reinitializeWidth(!0) : t = this._column.setWidth(e), this._column.table.columnManager?.rerenderColumns(!0), t;
3673
3691
  }
3674
3692
  }
3675
- const qo = process.env.NODE_ENV === "development";
3693
+ const Yo = process.env.NODE_ENV === "development";
3676
3694
  class gt extends I {
3677
3695
  // 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)
3678
3696
  constructor(e) {
@@ -3774,11 +3792,11 @@ class gt extends I {
3774
3792
  }
3775
3793
  s();
3776
3794
  } else
3777
- qo && console.warn("Scroll Error - Row not visible"), o("Scroll Error - Row not visible");
3795
+ Yo && console.warn("Scroll Error - Row not visible"), o("Scroll Error - Row not visible");
3778
3796
  });
3779
3797
  }
3780
3798
  }
3781
- const Yo = {
3799
+ const Qo = {
3782
3800
  insert: function(a) {
3783
3801
  return this.table.addData(a);
3784
3802
  },
@@ -3788,7 +3806,7 @@ const Yo = {
3788
3806
  update: function(a) {
3789
3807
  return this.table.updateOrAddData(a);
3790
3808
  }
3791
- }, Qo = {
3809
+ }, Zo = {
3792
3810
  table: function(a) {
3793
3811
  const e = [];
3794
3812
  let t = !0;
@@ -3810,16 +3828,16 @@ const Yo = {
3810
3828
  }), o.push(l);
3811
3829
  }), o) : !1;
3812
3830
  }
3813
- }, Zo = {
3831
+ }, er = {
3814
3832
  copyToClipboard: function(a) {
3815
3833
  this.table.modules.edit?.currentCell || this.table.modExists("clipboard", !0) && (a.preventDefault(), this.table.modules.clipboard?.copy(void 0, !0));
3816
3834
  }
3817
- }, er = {
3818
- copyToClipboard: ["ctrl + 67", "meta + 67"]
3819
3835
  }, tr = {
3836
+ copyToClipboard: ["ctrl + 67", "meta + 67"]
3837
+ }, ir = {
3820
3838
  keybindings: {
3821
- actions: Zo,
3822
- bindings: er
3839
+ actions: er,
3840
+ bindings: tr
3823
3841
  }
3824
3842
  }, Ki = process.env.NODE_ENV === "development";
3825
3843
  function Xi(a) {
@@ -3838,7 +3856,7 @@ const ue = class ue extends R {
3838
3856
  "clipboard"
3839
3857
  ), 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 ?? "")));
3840
3858
  const o = Xi(e);
3841
- o?.setData && (o.setData("text/plain", t), i && o.setData("text/html", i), qs("Copied to clipboard", {
3859
+ o?.setData && (o.setData("text/plain", t), i && o.setData("text/html", i), Ys("Copied to clipboard", {
3842
3860
  notificationType: "success"
3843
3861
  })), this.dispatchExternal("clipboardCopied", t, i), this.reset();
3844
3862
  }
@@ -3937,7 +3955,7 @@ const ue = class ue extends R {
3937
3955
  return i?.getData && (t = i.getData("text/plain")), t;
3938
3956
  }
3939
3957
  };
3940
- ue.moduleName = "clipboard", ue.moduleExtensions = tr, ue.pasteActions = Yo, ue.pasteParsers = Qo;
3958
+ ue.moduleName = "clipboard", ue.moduleExtensions = ir, ue.pasteActions = Qo, ue.pasteParsers = Zo;
3941
3959
  let Dt = ue;
3942
3960
  class Ci {
3943
3961
  constructor(e) {
@@ -4003,7 +4021,7 @@ class Ci {
4003
4021
  return this._cell;
4004
4022
  }
4005
4023
  }
4006
- const ir = x`<div class="tabulator-cell"></div>`, sr = process.env.NODE_ENV === "development";
4024
+ const sr = x`<div class="tabulator-cell"></div>`, or = process.env.NODE_ENV === "development";
4007
4025
  class Qe extends I {
4008
4026
  constructor(e, t) {
4009
4027
  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.build();
@@ -4016,7 +4034,7 @@ class Qe extends I {
4016
4034
  this.generateElement(), this.setWidth(), this._configureCell(), this.setValueActual(this.column.getFieldValue(this.row.data)), this.initialValue = this.value;
4017
4035
  }
4018
4036
  generateElement() {
4019
- if (this.element = T(ir), this.element.setAttribute(
4037
+ if (this.element = T(sr), this.element.setAttribute(
4020
4038
  "role",
4021
4039
  this.table.options.cellRole ?? "gridcell"
4022
4040
  ), this.column.modules.format?.cellClass) {
@@ -4069,7 +4087,7 @@ class Qe extends I {
4069
4087
  this.contentElement.firstChild.remove();
4070
4088
  this.contentElement.appendChild(e);
4071
4089
  } else
4072
- this.contentElement.innerHTML = "", e != null && sr && console.warn(
4090
+ this.contentElement.innerHTML = "", e != null && or && console.warn(
4073
4091
  "Format Error - Formatter has returned a type of object, the only valid formatter object return is an instance of Node, the formatter returned:",
4074
4092
  e
4075
4093
  );
@@ -4961,7 +4979,7 @@ class V extends I {
4961
4979
  return this.component || (this.component = new Ei(this)), this.component;
4962
4980
  }
4963
4981
  }
4964
- class or {
4982
+ class rr {
4965
4983
  constructor(e) {
4966
4984
  return this._row = e, new Proxy(this, {
4967
4985
  get: (t, i) => typeof i != "string" || typeof t[i] < "u" ? t[i] : t._row.table.componentFunctionBinder.handle(
@@ -4994,7 +5012,7 @@ class or {
4994
5012
  return this._row;
4995
5013
  }
4996
5014
  }
4997
- const rr = {
5015
+ const nr = {
4998
5016
  avg: function(a, e, t) {
4999
5017
  let i = 0;
5000
5018
  const s = typeof t == "object" && "precision" in t ? t.precision : 2;
@@ -5214,7 +5232,7 @@ const rr = {
5214
5232
  const i = this.generateRowData(e, t);
5215
5233
  this.table.modExists("mutator") && this.table.modules.mutator?.disable();
5216
5234
  const s = new V(i, this, "calc");
5217
- 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 or(s)), s.component), s.generateCells = () => {
5235
+ 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 rr(s)), s.component), s.generateCells = () => {
5218
5236
  const o = [];
5219
5237
  this.table.columnManager?.columnsByIndex.forEach((r) => {
5220
5238
  if (this.genColumn) {
@@ -5286,7 +5304,7 @@ const rr = {
5286
5304
  this.botRow && (this.table.rtl ? this.botElement.style.paddingLeft = e + "px" : this.botElement.style.paddingRight = e + "px");
5287
5305
  }
5288
5306
  };
5289
- pe.moduleName = "columnCalcs", pe.calculations = rr;
5307
+ pe.moduleName = "columnCalcs", pe.calculations = nr;
5290
5308
  let zt = pe;
5291
5309
  class Ft extends V {
5292
5310
  constructor(e = {}, t) {
@@ -5335,22 +5353,22 @@ class Ft extends V {
5335
5353
  this.element?.parentNode && this.element.parentNode.removeChild(this.element);
5336
5354
  }
5337
5355
  }
5338
- const nr = x`<span
5356
+ const ar = x`<span
5339
5357
  class="tabulator-data-tree-control"
5340
5358
  tabindex="0"
5341
5359
  >
5342
5360
  <cx-icon-button name="keyboard_arrow_down"></cx-icon-button>
5343
- </span>`, ar = x`<span
5361
+ </span>`, lr = x`<span
5344
5362
  class="tabulator-data-tree-control"
5345
5363
  tabindex="0"
5346
5364
  >
5347
5365
  <cx-icon-button name="keyboard_arrow_right"></cx-icon-button>
5348
- </span>`, lr = x`<span class="tabulator-data-tree-control tabulator-data-tree-control-placeholder" aria-hidden="true"></span>`, hr = x`<div class="tabulator-data-tree-branch"></div>`, cr = x`<div class="tabulator-data-tree-branch-empty"></div>`, dr = x`
5366
+ </span>`, hr = x`<span class="tabulator-data-tree-control tabulator-data-tree-control-placeholder" aria-hidden="true"></span>`, cr = x`<div class="tabulator-data-tree-branch"></div>`, dr = x`<div class="tabulator-data-tree-branch-empty"></div>`, ur = x`
5349
5367
  <cx-button size="small">
5350
5368
  <cx-icon slot="prefix" name="add" variant="outlined" ></cx-icon>
5351
5369
  Load More
5352
5370
  </cx-button>
5353
- `, ur = x`<div class="tabulator-data-tree-loading">Loading...</div>`, pr = process.env.NODE_ENV === "development", bt = 18, Ti = class Ti extends R {
5371
+ `, pr = x`<div class="tabulator-data-tree-loading">Loading...</div>`, fr = process.env.NODE_ENV === "development", bt = 18, Ti = class Ti extends R {
5354
5372
  constructor(e) {
5355
5373
  super(e), this.indent = 10, this.field = "", this.collapseEl = null, this.expandEl = null, this.branchEl = null, this.elementField = !1, this.startOpen = function() {
5356
5374
  return !1;
@@ -5388,9 +5406,9 @@ const nr = x`<span
5388
5406
  if (this.table.options.dataTree) {
5389
5407
  let e = null;
5390
5408
  const t = this.table.options;
5391
- switch (this.field = t.dataTreeChildField || "_children", this.indent = t.dataTreeChildIndent || 9, this.loadingField = t.dataTreeLoadingField || "loading", this.hasMoreField = t.dataTreeHasMoreField || "hasMore", this.options("movableRows") && pr && console.warn(
5409
+ switch (this.field = t.dataTreeChildField || "_children", this.indent = t.dataTreeChildIndent || 9, this.loadingField = t.dataTreeLoadingField || "loading", this.hasMoreField = t.dataTreeHasMoreField || "hasMore", this.options("movableRows") && fr && console.warn(
5392
5410
  "The movableRows option is not available with dataTree enabled, moving of child rows could result in unpredictable behavior"
5393
- ), t.dataTreeBranchElement ? t.dataTreeBranchElement === !0 ? this.branchEl = T(hr) : typeof t.dataTreeBranchElement == "string" ? (e = document.createElement("div"), e.innerHTML = S(t.dataTreeBranchElement), this.branchEl = e.firstChild) : this.branchEl = t.dataTreeBranchElement : this.branchEl = T(cr), t.dataTreeCollapseElement ? typeof t.dataTreeCollapseElement == "string" ? (e = document.createElement("div"), e.innerHTML = S(t.dataTreeCollapseElement), this.collapseEl = e.firstChild) : this.collapseEl = t.dataTreeCollapseElement : this.collapseEl = T(nr), t.dataTreeExpandElement ? typeof t.dataTreeExpandElement == "string" ? (e = document.createElement("div"), e.innerHTML = S(t.dataTreeExpandElement), this.expandEl = e.firstChild) : this.expandEl = t.dataTreeExpandElement : this.expandEl = T(ar), typeof t.dataTreeStartExpanded) {
5411
+ ), t.dataTreeBranchElement ? t.dataTreeBranchElement === !0 ? this.branchEl = T(cr) : typeof t.dataTreeBranchElement == "string" ? (e = document.createElement("div"), e.innerHTML = S(t.dataTreeBranchElement), this.branchEl = e.firstChild) : this.branchEl = t.dataTreeBranchElement : this.branchEl = T(dr), t.dataTreeCollapseElement ? typeof t.dataTreeCollapseElement == "string" ? (e = document.createElement("div"), e.innerHTML = S(t.dataTreeCollapseElement), this.collapseEl = e.firstChild) : this.collapseEl = t.dataTreeCollapseElement : this.collapseEl = T(ar), t.dataTreeExpandElement ? typeof t.dataTreeExpandElement == "string" ? (e = document.createElement("div"), e.innerHTML = S(t.dataTreeExpandElement), this.expandEl = e.firstChild) : this.expandEl = t.dataTreeExpandElement : this.expandEl = T(lr), typeof t.dataTreeStartExpanded) {
5394
5412
  case "boolean":
5395
5413
  this.startOpen = function() {
5396
5414
  return t.dataTreeStartExpanded;
@@ -5497,7 +5515,7 @@ const nr = x`<span
5497
5515
  n.stopPropagation();
5498
5516
  });
5499
5517
  } else
5500
- o = T(lr);
5518
+ o = T(hr);
5501
5519
  const r = this.indent;
5502
5520
  this.table.rtl ? (o.style.marginLeft = r + "px", o.style.marginRight = "0px") : (o.style.marginRight = r + "px", o.style.marginLeft = "0px"), e.modules.dataTree.controlEl = o, s && s.parentNode === t ? s.parentNode.replaceChild(o, s) : t.insertBefore(o, t.firstChild);
5503
5521
  }
@@ -5559,7 +5577,7 @@ const nr = x`<span
5559
5577
  this.table.rowManager
5560
5578
  );
5561
5579
  i.create(), i.modules.dataTree.index = e, i.modules.dataTree.parent = t, i.modules.dataTree.children = !1, i.modules.dataTree.open = !0;
5562
- const s = T(dr);
5580
+ const s = T(ur);
5563
5581
  i.getElement()?.classList.add("tabulator-tree-level-" + e), i.element.appendChild(s);
5564
5582
  const o = (e + 1) * (bt + this.indent);
5565
5583
  return this.table.rtl ? s.style.marginRight = o + "px" : s.style.marginLeft = o + "px", s.addEventListener("click", () => {
@@ -5581,7 +5599,7 @@ const nr = x`<span
5581
5599
  this.table.rowManager
5582
5600
  );
5583
5601
  i.create(), i.modules.dataTree.index = e, i.modules.dataTree.parent = t, i.modules.dataTree.children = !1, i.modules.dataTree.open = !0;
5584
- const s = T(ur);
5602
+ const s = T(pr);
5585
5603
  i.element.appendChild(s), i.getElement()?.classList.add("tabulator-tree-level-" + e);
5586
5604
  const o = (e + 1) * (bt + this.indent);
5587
5605
  return this.table.rtl ? s.style.marginRight = o + "px" : s.style.marginLeft = o + "px", i;
@@ -5729,7 +5747,7 @@ const nr = x`<span
5729
5747
  };
5730
5748
  Ti.moduleName = "dataTree";
5731
5749
  let Ot = Ti;
5732
- const Yi = process.env.NODE_ENV === "development", fr = function(a, e = {}, t) {
5750
+ const Yi = process.env.NODE_ENV === "development", gr = function(a, e = {}, t) {
5733
5751
  const i = e.delimiter ? e.delimiter : ",", s = [], o = [];
5734
5752
  a.forEach((n) => {
5735
5753
  const l = [];
@@ -5770,11 +5788,11 @@ const Yi = process.env.NODE_ENV === "development", fr = function(a, e = {}, t) {
5770
5788
  let r = s.join(`
5771
5789
  `);
5772
5790
  e.bom && (r = "\uFEFF" + r), t(r, "text/csv");
5773
- }, gr = function(a, e, t) {
5791
+ }, mr = function(a, e, t) {
5774
5792
  const i = this;
5775
5793
  let s = "";
5776
5794
  i.modExists("export", !0) && (s = i.modules.export?.generateHTMLTable(a) || ""), t(s, "text/html");
5777
- }, Qi = process.env.NODE_ENV === "development", mr = function(a, e, t) {
5795
+ }, Qi = process.env.NODE_ENV === "development", br = function(a, e, t) {
5778
5796
  const i = [];
5779
5797
  a.forEach((o) => {
5780
5798
  const r = {};
@@ -5800,7 +5818,7 @@ const Yi = process.env.NODE_ENV === "development", fr = function(a, e = {}, t) {
5800
5818
  });
5801
5819
  const s = JSON.stringify(i, null, " ");
5802
5820
  t(s, "application/json");
5803
- }, Zi = process.env.NODE_ENV === "development", br = function(a, e, t) {
5821
+ }, Zi = process.env.NODE_ENV === "development", wr = function(a, e, t) {
5804
5822
  const i = [];
5805
5823
  a.forEach((s) => {
5806
5824
  const o = {};
@@ -5825,7 +5843,7 @@ const Yi = process.env.NODE_ENV === "development", fr = function(a, e = {}, t) {
5825
5843
  }
5826
5844
  }), t(i.join(`
5827
5845
  `), "application/x-ndjson");
5828
- }, wr = process.env.NODE_ENV === "development", vr = function(a, e = {}, t) {
5846
+ }, vr = process.env.NODE_ENV === "development", yr = function(a, e = {}, t) {
5829
5847
  const i = this, s = [], o = [];
5830
5848
  let r = {};
5831
5849
  const n = e.rowGroupStyles || {
@@ -5880,7 +5898,7 @@ const Yi = process.env.NODE_ENV === "development", fr = function(a, e = {}, t) {
5880
5898
  });
5881
5899
  const p = i.dependencyRegistry.lookup("jspdf", "jsPDF");
5882
5900
  if (!p) {
5883
- wr && console.error(
5901
+ vr && console.error(
5884
5902
  "Download Error - 'pdf' downloader requires jspdf library to be registered"
5885
5903
  );
5886
5904
  return;
@@ -5889,10 +5907,10 @@ const Yi = process.env.NODE_ENV === "development", fr = function(a, e = {}, t) {
5889
5907
  e.autoTable && (typeof e.autoTable == "function" ? r = e.autoTable(u) || {} : r = e.autoTable), c && (r.didDrawPage = function(f) {
5890
5908
  u.text(c, 40, 30);
5891
5909
  }), r.head = s, r.body = o, u.autoTable(r), e.documentProcessing && e.documentProcessing(u), t(u.output("arraybuffer"), "application/pdf");
5892
- }, yr = process.env.NODE_ENV === "development", Cr = function(a, e, t) {
5910
+ }, Cr = process.env.NODE_ENV === "development", Er = function(a, e, t) {
5893
5911
  const i = this, s = e.sheetName || "Sheet1", o = i.dependencyRegistry.lookup("XLSX");
5894
5912
  if (!o?.utils?.book_new) {
5895
- yr && console.error(
5913
+ Cr && console.error(
5896
5914
  "Download Error - 'xlsx' downloader requires XLSX library to be registered"
5897
5915
  );
5898
5916
  return;
@@ -5953,14 +5971,14 @@ const Yi = process.env.NODE_ENV === "development", fr = function(a, e = {}, t) {
5953
5971
  }
5954
5972
  const u = o.write(r, h);
5955
5973
  t(p(u), "application/octet-stream");
5956
- }, Er = {
5957
- csv: fr,
5958
- html: gr,
5959
- json: mr,
5960
- jsonLines: br,
5961
- pdf: vr,
5962
- xlsx: Cr
5963
- }, xr = process.env.NODE_ENV === "development", He = class He extends R {
5974
+ }, xr = {
5975
+ csv: gr,
5976
+ html: mr,
5977
+ json: br,
5978
+ jsonLines: wr,
5979
+ pdf: yr,
5980
+ xlsx: Er
5981
+ }, Rr = process.env.NODE_ENV === "development", He = class He extends R {
5964
5982
  constructor(e) {
5965
5983
  super(e), this.registerTableOption(
5966
5984
  "downloadEncoder",
@@ -5987,7 +6005,7 @@ const Yi = process.env.NODE_ENV === "development", fr = function(a, e = {}, t) {
5987
6005
  const n = (l, h) => {
5988
6006
  o ? o === !0 ? this.triggerDownload(l, h, e, t, !0) : o(l) : this.triggerDownload(l, h, e, t);
5989
6007
  };
5990
- if (typeof e == "function" ? r = e : He.downloaders[e] ? r = He.downloaders[e] : xr && console.warn("Download Error - No such download type found: ", e), r) {
6008
+ if (typeof e == "function" ? r = e : He.downloaders[e] ? r = He.downloaders[e] : Rr && console.warn("Download Error - No such download type found: ", e), r) {
5991
6009
  const l = this.generateExportList(s);
5992
6010
  r.call(this.table, l, i || {}, n.bind(this));
5993
6011
  }
@@ -6037,9 +6055,9 @@ const Yi = process.env.NODE_ENV === "development", fr = function(a, e = {}, t) {
6037
6055
  }
6038
6056
  }
6039
6057
  };
6040
- He.moduleName = "download", He.downloaders = Er;
6058
+ He.moduleName = "download", He.downloaders = xr;
6041
6059
  let Ht = He;
6042
- const Rr = function(a, e, t, i, s = {}) {
6060
+ const Sr = function(a, e, t, i, s = {}) {
6043
6061
  const o = this, r = a._getSelf().column;
6044
6062
  let n;
6045
6063
  function l(d) {
@@ -6073,7 +6091,7 @@ const Rr = function(a, e, t, i, s = {}) {
6073
6091
  i,
6074
6092
  n || {}
6075
6093
  ) : !1;
6076
- }, Sr = process.env.NODE_ENV === "development", Tr = function(a, e, t, i, s) {
6094
+ }, Tr = process.env.NODE_ENV === "development", Mr = function(a, e, t, i, s) {
6077
6095
  const o = s.format, r = s.verticalNavigation || "editor", n = typeof globalThis.window > "u" ? globalThis : window, l = o ? n.DateTime || n.luxon?.DateTime : null;
6078
6096
  let h = a.getValue();
6079
6097
  const c = document.createElement("input");
@@ -6106,7 +6124,7 @@ const Rr = function(a, e, t, i, s = {}) {
6106
6124
  );
6107
6125
  } else
6108
6126
  c.setAttribute(f, s.elementAttributes[f]);
6109
- h = h ?? "", o && (l ? h = p(h) : Sr && console.error(
6127
+ h = h ?? "", o && (l ? h = p(h) : Tr && console.error(
6110
6128
  "Editor Error - 'date' editor 'format' param is dependent on luxon.js"
6111
6129
  )), c.value = String(h), e(() => {
6112
6130
  a.getType() === "cell" && (c.focus({ preventScroll: !0 }), c.style.height = "100%", s.selectContents && c.select());
@@ -6153,7 +6171,7 @@ const Rr = function(a, e, t, i, s = {}) {
6153
6171
  break;
6154
6172
  }
6155
6173
  }), c;
6156
- }, Mr = process.env.NODE_ENV === "development", kr = function(a, e, t, i, s) {
6174
+ }, kr = process.env.NODE_ENV === "development", Lr = function(a, e, t, i, s) {
6157
6175
  const o = this, r = s.format, n = s.verticalNavigation || "editor", l = r ? o.table.dependencyRegistry.lookup(["luxon", "DateTime"], "DateTime") : null;
6158
6176
  let h, c = a.getValue();
6159
6177
  const d = document.createElement("input");
@@ -6167,7 +6185,7 @@ const Rr = function(a, e, t, i, s = {}) {
6167
6185
  );
6168
6186
  } else
6169
6187
  d.setAttribute(u, s.elementAttributes[u]);
6170
- c = c ?? "", r && l ? (l.isDateTime?.(c) ? h = c : r === "iso" ? h = l.fromISO(String(c)) : h = l.fromFormat(String(c), r), c = h.toFormat("yyyy-MM-dd") + "T" + h.toFormat("HH:mm")) : r && !l && Mr && console.error(
6188
+ c = c ?? "", r && l ? (l.isDateTime?.(c) ? h = c : r === "iso" ? h = l.fromISO(String(c)) : h = l.fromFormat(String(c), r), c = h.toFormat("yyyy-MM-dd") + "T" + h.toFormat("HH:mm")) : r && !l && kr && console.error(
6171
6189
  "Editor Error - 'datetime' editor 'format' param is dependent on luxon.js"
6172
6190
  ), d.value = String(c), e(() => {
6173
6191
  a.getType() === "cell" && (d.focus({ preventScroll: !0 }), d.style.height = "100%", s.selectContents && d.select());
@@ -6251,7 +6269,7 @@ function xi(a, e) {
6251
6269
  (n.keyCode || 0) > 46 && e.maskAutoFill && r(a.value.length);
6252
6270
  }), a.placeholder || (a.placeholder = t), e.maskAutoFill && r(a.value.length);
6253
6271
  }
6254
- const Lr = function(a, e, t, i, s) {
6272
+ const Dr = function(a, e, t, i, s) {
6255
6273
  let o = a.getValue();
6256
6274
  const r = document.createElement("input");
6257
6275
  if (r.setAttribute(
@@ -6288,12 +6306,12 @@ const Lr = function(a, e, t, i, s) {
6288
6306
  break;
6289
6307
  }
6290
6308
  }), s.mask && xi(r, s), r;
6291
- }, Dr = process.env.NODE_ENV === "development";
6309
+ }, zr = process.env.NODE_ENV === "development";
6292
6310
  let ks = null;
6293
- function zr(a) {
6311
+ function Fr(a) {
6294
6312
  ks = a;
6295
6313
  }
6296
- const Fr = {
6314
+ const Or = {
6297
6315
  /**
6298
6316
  * @param explicitRegistry - When provided, that map is used. When omitted, uses the registry set
6299
6317
  * by {@link setDefaultFormattersRegistry}
@@ -6307,7 +6325,7 @@ const Fr = {
6307
6325
  let i;
6308
6326
  switch (typeof a) {
6309
6327
  case "string":
6310
- t[a] ? i = t[a] : (Dr && console.warn("Formatter Error - No such formatter found: ", a), i = t.plaintext);
6328
+ t[a] ? i = t[a] : (zr && console.warn("Formatter Error - No such formatter found: ", a), i = t.plaintext);
6311
6329
  break;
6312
6330
  case "function":
6313
6331
  i = a;
@@ -6320,9 +6338,9 @@ const Fr = {
6320
6338
  }
6321
6339
  };
6322
6340
  function mt(a, e) {
6323
- return Fr.lookupFormatter(a, e);
6341
+ return Or.lookupFormatter(a, e);
6324
6342
  }
6325
- function Or(a, e = {}, t) {
6343
+ function Hr(a, e = {}, t) {
6326
6344
  let i;
6327
6345
  function s(n) {
6328
6346
  const l = n.getValue();
@@ -6341,7 +6359,7 @@ function Or(a, e = {}, t) {
6341
6359
  const o = e.formatterLookup ? e.formatterLookup(a) : s(a);
6342
6360
  return e.paramsLookup && (i = typeof e.paramsLookup == "function" ? e.paramsLookup(o, a) : e.paramsLookup[o]), mt(o).call(this, a, i || {}, t);
6343
6361
  }
6344
- function Hr(a, e, t) {
6362
+ function Pr(a, e, t) {
6345
6363
  const i = e.delimiter ?? ",";
6346
6364
  let s = a.getValue();
6347
6365
  const o = this.table;
@@ -6354,30 +6372,30 @@ function Hr(a, e, t) {
6354
6372
  ));
6355
6373
  } : r = e.valueMap), Array.isArray(s) ? (r && (s = r(s)), s.join(i)) : s;
6356
6374
  }
6357
- function Pr(a, e, t) {
6375
+ function Ar(a, e, t) {
6358
6376
  return '<svg enable-background="new 0 0 24 24" height="14" width="14" viewBox="0 0 24 24" xml:space="preserve" ><path fill="#CE1515" d="M22.245,4.015c0.313,0.313,0.313,0.826,0,1.139l-6.276,6.27c-0.313,0.312-0.313,0.826,0,1.14l6.273,6.272 c0.313,0.313,0.313,0.826,0,1.14l-2.285,2.277c-0.314,0.312-0.828,0.312-1.142,0l-6.271-6.271c-0.313-0.313-0.828-0.313-1.141,0 l-6.276,6.267c-0.313,0.313-0.828,0.313-1.141,0l-2.282-2.28c-0.313-0.313-0.313-0.826,0-1.14l6.278-6.269 c0.313-0.312,0.313-0.826,0-1.14L1.709,5.147c-0.314-0.313-0.314-0.827,0-1.14l2.284-2.278C4.308,1.417,4.821,1.417,5.135,1.73 L11.405,8c0.314,0.314,0.828,0.314,1.141,0.001l6.276-6.267c0.312-0.312,0.826-0.312,1.141,0L22.245,4.015z"/></svg>';
6359
6377
  }
6360
- function Ar(a, e, t) {
6378
+ function _r(a, e, t) {
6361
6379
  return '<svg enable-background="new 0 0 24 24" height="14" width="14" viewBox="0 0 24 24" xml:space="preserve" ><path fill="#2DC214" clip-rule="evenodd" d="M21.652,3.211c-0.293-0.295-0.77-0.295-1.061,0L9.41,14.34 c-0.293,0.297-0.771,0.297-1.062,0L3.449,9.351C3.304,9.203,3.114,9.13,2.923,9.129C2.73,9.128,2.534,9.201,2.387,9.351 l-2.165,1.946C0.078,11.445,0,11.63,0,11.823c0,0.194,0.078,0.397,0.223,0.544l4.94,5.184c0.292,0.296,0.771,0.776,1.062,1.07 l2.124,2.141c0.292,0.293,0.769,0.293,1.062,0l14.366-14.34c0.293-0.294,0.293-0.777,0-1.071L21.652,3.211z" fill-rule="evenodd"/></svg>';
6362
6380
  }
6363
- function _r(a, e, t) {
6381
+ function Nr(a, e, t) {
6364
6382
  const i = a.getContentElement?.() ?? a.getElement(), s = a.getValue();
6365
- return i && (Nr(s) ? i.style.backgroundColor = s : i.style.backgroundColor = ""), "";
6383
+ return i && (Vr(s) ? i.style.backgroundColor = s : i.style.backgroundColor = ""), "";
6366
6384
  }
6367
- function Nr(a) {
6385
+ function Vr(a) {
6368
6386
  return !a || typeof a != "string" ? !1 : /^(#[0-9A-Fa-f]{3,8}|rgb\(|rgba\(|hsl\(|hsla\(|[a-z]+)$/i.test(a.trim());
6369
6387
  }
6370
- const Vr = x`<span
6388
+ const Ir = x`<span
6371
6389
  style="display: inline-flex; align-items: center;"
6372
6390
  ></span>`;
6373
- function Ir({
6391
+ function Br({
6374
6392
  spacing: a,
6375
6393
  style: e
6376
6394
  }) {
6377
- const t = T(Vr);
6395
+ const t = T(Ir);
6378
6396
  return a && (t.style.margin = a), e && Object.assign(t.style, e), t;
6379
6397
  }
6380
- function Br(a, e, t) {
6398
+ function Wr(a, e, t) {
6381
6399
  const i = mt("plaintext"), s = {
6382
6400
  style: {
6383
6401
  color: "var(--cx-color-neutral-500)",
@@ -6401,7 +6419,7 @@ function Br(a, e, t) {
6401
6419
  r
6402
6420
  );
6403
6421
  }
6404
- function Wr({
6422
+ function Gr({
6405
6423
  elementConfig: a,
6406
6424
  elementValue: e,
6407
6425
  rowData: t
@@ -6419,7 +6437,7 @@ function ts({
6419
6437
  }) {
6420
6438
  return e.value !== void 0 ? e.value : e.getValue ? e.getValue(a, t) : e.field ? L.retrieveNestedData(i, e.field, t) : a.getValue();
6421
6439
  }
6422
- function Gr(a, e, t) {
6440
+ function jr(a, e, t) {
6423
6441
  if (!e?.elements || !Array.isArray(e.elements) || e.elements.length === 0)
6424
6442
  return;
6425
6443
  const i = a.getData(), s = this.table, o = typeof s.options.nestedFieldSeparator == "string" ? s.options.nestedFieldSeparator : void 0, r = a.getValue(), n = e.elements.some((C) => {
@@ -6432,7 +6450,7 @@ function Gr(a, e, t) {
6432
6450
  return C.valueMap && (E = C.valueMap[String(E)] ?? E), !es(E);
6433
6451
  });
6434
6452
  if (es(r) && !n && e.placeholder !== void 0)
6435
- return Br.call(this, a, e, t);
6453
+ return Wr.call(this, a, e, t);
6436
6454
  const h = a.getRow(), { align: c, containerStyle: d, direction: p, gap: u } = e, f = x`<cx-space
6437
6455
  style=${ke(d ?? {})}
6438
6456
  align-items=${c ?? "center"}
@@ -6446,7 +6464,7 @@ function Gr(a, e, t) {
6446
6464
  rowData: i,
6447
6465
  separator: o
6448
6466
  });
6449
- if (C.valueMap && (E = C.valueMap[String(E)] ?? E), Wr({ elementConfig: C, elementValue: E, rowData: i }))
6467
+ if (C.valueMap && (E = C.valueMap[String(E)] ?? E), Gr({ elementConfig: C, elementValue: E, rowData: i }))
6450
6468
  return;
6451
6469
  const z = C.formatter || "plaintext", M = mt(z), J = {
6452
6470
  getColumn: () => a.getColumn(),
@@ -6473,7 +6491,7 @@ function Gr(a, e, t) {
6473
6491
  }
6474
6492
  if (P == null)
6475
6493
  return;
6476
- const te = Ir({
6494
+ const te = Br({
6477
6495
  spacing: C.spacing,
6478
6496
  style: C.style
6479
6497
  });
@@ -6489,14 +6507,14 @@ function Gr(a, e, t) {
6489
6507
  return typeof z == "string" ? Y.textContent = z : Y.appendChild(z.cloneNode(!0)), [M, Y];
6490
6508
  }).forEach((C) => w.appendChild(C)), w);
6491
6509
  }
6492
- const jr = process.env.NODE_ENV === "development";
6493
- function $r(a, e, t) {
6510
+ const $r = process.env.NODE_ENV === "development";
6511
+ function Ur(a, e, t) {
6494
6512
  const i = this.table.dependencyRegistry.lookup(
6495
6513
  ["luxon", "DateTime"],
6496
6514
  "DateTime"
6497
6515
  ), s = e.inputFormat || "yyyy-MM-dd HH:mm:ss", o = e.outputFormat || "dd/MM/yyyy HH:mm:ss", r = e.invalidPlaceholder ?? "", n = a.getValue();
6498
6516
  if (i == null)
6499
- return jr && console.error(
6517
+ return $r && console.error(
6500
6518
  "Format Error - 'datetime' formatter is dependent on luxon.js"
6501
6519
  ), n;
6502
6520
  {
@@ -6504,14 +6522,14 @@ function $r(a, e, t) {
6504
6522
  return i.isDateTime(n) ? l = n : s === "iso" ? l = i.fromISO(String(n)) : l = i.fromFormat(String(n), s), l.isValid ? (e.timezone && (l = l.setZone(e.timezone)), l.toFormat(o)) : r === !0 || !n ? n : typeof r == "function" ? r(n) : r;
6505
6523
  }
6506
6524
  }
6507
- const Ur = process.env.NODE_ENV === "development";
6508
- function Kr(a, e, t) {
6525
+ const Kr = process.env.NODE_ENV === "development";
6526
+ function Xr(a, e, t) {
6509
6527
  const i = this.table.dependencyRegistry.lookup(
6510
6528
  ["luxon", "DateTime"],
6511
6529
  "DateTime"
6512
6530
  ), s = e.inputFormat || "yyyy-MM-dd HH:mm:ss", o = e.invalidPlaceholder ?? "", r = e.suffix === void 0 || e.suffix === null ? !1 : e.suffix, n = e.unit === void 0 || e.unit === null ? "days" : e.unit, l = e.humanize === void 0 || e.humanize === null ? !1 : e.humanize, h = a.getValue();
6513
6531
  if (i == null)
6514
- return Ur && console.error(
6532
+ return Kr && console.error(
6515
6533
  "Format Error - 'datetimediff' formatter is dependent on luxon.js"
6516
6534
  ), o;
6517
6535
  {
@@ -6520,20 +6538,20 @@ function Kr(a, e, t) {
6520
6538
  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, n).toHuman() + (r ? " " + r : "") : Number.parseInt(String(d.diff(c, n)[n]), 10) + (r ? " " + r : "") : o === !0 ? h : typeof o == "function" ? o(h) : o;
6521
6539
  }
6522
6540
  }
6523
- function Xr(a, e, t) {
6541
+ function Jr(a, e, t) {
6524
6542
  const i = a.getElement();
6525
6543
  return i && i.classList.add("tabulator-row-handle"), "<div class='tabulator-row-handle-box'><div class='tabulator-row-handle-bar'></div><div class='tabulator-row-handle-bar'></div><div class='tabulator-row-handle-bar'></div></div>";
6526
6544
  }
6527
- function Jr(a, e, t) {
6545
+ function qr(a, e, t) {
6528
6546
  return a.getValue();
6529
6547
  }
6530
- const qr = x`<cx-icon></cx-icon>`;
6531
- function Yr(a, e) {
6548
+ const Yr = x`<cx-icon></cx-icon>`;
6549
+ function Qr(a, e) {
6532
6550
  const t = a.getValue(), i = e ?? {};
6533
6551
  let s;
6534
6552
  if (i.getIcon ? s = i.getIcon(t) : typeof i.icon == "function" ? s = i.icon(t) : i.iconMap ? s = i.iconMap[t] : i.icon ? s = i.icon : s = t ? String(t) : void 0, !s)
6535
6553
  return;
6536
- const o = T(qr);
6554
+ const o = T(Yr);
6537
6555
  if (o.name = s, i.size !== void 0)
6538
6556
  switch (typeof i.size) {
6539
6557
  case "number":
@@ -6545,16 +6563,16 @@ function Yr(a, e) {
6545
6563
  }
6546
6564
  return i.class && (o.className = i.class), i.style && Object.assign(o.style, i.style), o;
6547
6565
  }
6548
- const Qr = x`<div
6566
+ const Zr = x`<div
6549
6567
  style="display: flex; align-items: center; justify-content: center;"
6550
6568
  >
6551
6569
  <img style="max-width: 100%; max-height: 100%; object-fit: cover;" />
6552
6570
  </div>`;
6553
- function Zr(a, e) {
6571
+ function en(a, e) {
6554
6572
  let t = a.getValue();
6555
6573
  if (!t)
6556
6574
  return null;
6557
- const i = T(Qr), s = i.querySelector("img"), o = e ?? {};
6575
+ const i = T(Zr), s = i.querySelector("img"), o = e ?? {};
6558
6576
  switch (o.urlPrefix && (t = o.urlPrefix + a.getValue()), o.urlSuffix && (t = t + o.urlSuffix), s.setAttribute("src", String(t)), typeof o.height) {
6559
6577
  case "number":
6560
6578
  i.style.height = o.height + "px";
@@ -6575,8 +6593,8 @@ function Zr(a, e) {
6575
6593
  a.getRow()?.normalizeHeight();
6576
6594
  }), i;
6577
6595
  }
6578
- const en = process.env.NODE_ENV === "development";
6579
- function tn(a, e, t) {
6596
+ const tn = process.env.NODE_ENV === "development";
6597
+ function sn(a, e, t) {
6580
6598
  const {
6581
6599
  indent: i = " ",
6582
6600
  multiline: s = !0,
@@ -6589,11 +6607,11 @@ function tn(a, e, t) {
6589
6607
  try {
6590
6608
  return JSON.stringify(r, o, i);
6591
6609
  } catch (n) {
6592
- return en && console.warn("JSON Format Error - Failed to format value", n), String(r);
6610
+ return tn && console.warn("JSON Format Error - Failed to format value", n), String(r);
6593
6611
  }
6594
6612
  }
6595
- const sn = process.env.NODE_ENV === "development";
6596
- function on(a, e, t) {
6613
+ const on = process.env.NODE_ENV === "development";
6614
+ function rn(a, e, t) {
6597
6615
  let i = a.getValue();
6598
6616
  const s = e.urlPrefix || "";
6599
6617
  let o = e.download, r = i;
@@ -6633,16 +6651,16 @@ function on(a, e, t) {
6633
6651
  break;
6634
6652
  }
6635
6653
  const c = String(s + i), d = document.createElement("a");
6636
- return d.href = c, ["http:", "https:", "mailto:", "tel:", ""].includes(d.protocol) || c.startsWith("#") ? n.setAttribute("href", c) : (sn && console.warn("Link formatter blocked potentially unsafe URL:", c), n.setAttribute("href", "#")), e.target && n.setAttribute("target", e.target), e.download && (typeof o == "function" ? o = o(a) : o = o === !0 ? "" : o, n.setAttribute("download", String(o))), n.innerHTML = pt(S(r)), n;
6654
+ return d.href = c, ["http:", "https:", "mailto:", "tel:", ""].includes(d.protocol) || c.startsWith("#") ? n.setAttribute("href", c) : (on && console.warn("Link formatter blocked potentially unsafe URL:", c), n.setAttribute("href", "#")), e.target && n.setAttribute("target", e.target), e.download && (typeof o == "function" ? o = o(a) : o = o === !0 ? "" : o, n.setAttribute("download", String(o))), n.innerHTML = pt(S(r)), n;
6637
6655
  } else
6638
6656
  return " ";
6639
6657
  }
6640
- const rn = process.env.NODE_ENV === "development";
6641
- function nn(a, e, t) {
6658
+ const nn = process.env.NODE_ENV === "development";
6659
+ function an(a, e, t) {
6642
6660
  const i = a.getValue();
6643
- return !e || typeof e != "object" && typeof e != "function" || e[i] === void 0 || e[i] === null ? (rn && console.warn("Missing display value for " + i), i) : e[i];
6661
+ return !e || typeof e != "object" && typeof e != "function" || e[i] === void 0 || e[i] === null ? (nn && console.warn("Missing display value for " + i), i) : e[i];
6644
6662
  }
6645
- function an(a, e, t) {
6663
+ function ln(a, e, t) {
6646
6664
  let i = parseFloat(a.getValue()), s = "", o, r, n, l;
6647
6665
  const h = e.decimal || ".", c = e.thousand || ",", d = e.negativeSign || "-", p = e.symbol || "", u = !!e.symbolAfter, f = typeof e.precision < "u" ? e.precision : 2;
6648
6666
  if (isNaN(i))
@@ -6654,15 +6672,15 @@ function an(a, e, t) {
6654
6672
  r = r.replace(n, "$1" + c + "$2");
6655
6673
  return l = r + w, e.negativeSign === !0 ? (l = "(" + l + ")", u ? l + p : p + l) : u ? s + l + p : s + p + l;
6656
6674
  }
6657
- const ln = x`<cx-format-number></cx-format-number>`;
6658
- function hn(a, e) {
6675
+ const hn = x`<cx-format-number></cx-format-number>`;
6676
+ function cn(a, e) {
6659
6677
  const t = a.getValue();
6660
6678
  if (t == null || t === "")
6661
6679
  return;
6662
6680
  const i = Number(t);
6663
6681
  if (Number.isNaN(i))
6664
6682
  return;
6665
- const s = e ?? {}, o = T(ln);
6683
+ const s = e ?? {}, o = T(hn);
6666
6684
  o.value = i;
6667
6685
  for (const r of Object.keys(s)) {
6668
6686
  const n = s[r];
@@ -6670,7 +6688,7 @@ function hn(a, e) {
6670
6688
  }
6671
6689
  return o;
6672
6690
  }
6673
- function cn(a, e) {
6691
+ function dn(a, e) {
6674
6692
  let t = pt(S(a.getValue()));
6675
6693
  const i = e ?? {};
6676
6694
  i.prefix && (t = i.prefix + t), i.suffix && (t = t + i.suffix);
@@ -6679,7 +6697,7 @@ function cn(a, e) {
6679
6697
  </cx-line-clamp>`;
6680
6698
  return T(s);
6681
6699
  }
6682
- function dn(a, e = {}, t) {
6700
+ function un(a, e = {}, t) {
6683
6701
  const i = S(a.getValue()) || 0, s = a.getElement(), o = e.max ? e.max : 100, r = e.min ? e.min : 0, n = e.legendAlign ? e.legendAlign : "center";
6684
6702
  let l, h, c = !1, d;
6685
6703
  l = parseFloat(String(i)) <= o ? parseFloat(String(i)) : o, l = parseFloat(String(l)) >= r ? parseFloat(String(l)) : r;
@@ -6758,13 +6776,13 @@ function dn(a, e = {}, t) {
6758
6776
  y && (y.appendChild(f), f.appendChild(u), c && w && f.appendChild(w));
6759
6777
  }), "";
6760
6778
  }
6761
- function un(a, e = {}, t) {
6779
+ function pn(a, e = {}, t) {
6762
6780
  const i = document.createElement("span"), s = a.getRow(), o = a.getTable();
6763
6781
  return s.watchPosition((r) => {
6764
6782
  e.relativeToPage && o.modules.page && (r += o.modules.page.getPageSize() * (o.modules.page.getPage() - 1)), i.innerText = String(r);
6765
6783
  }), i;
6766
6784
  }
6767
- function pn(a, e, t) {
6785
+ function fn(a, e, t) {
6768
6786
  let i = a.getValue();
6769
6787
  const s = a.getElement(), o = a.getContentElement?.() ?? s, r = e && e.stars ? e.stars : 5, n = document.createElement("span"), l = document.createElementNS("http://www.w3.org/2000/svg", "svg"), h = '<polygon fill="#FFEA00" stroke="#C1AB60" stroke-width="37.6152" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" points="259.216,29.942 330.27,173.919 489.16,197.007 374.185,309.08 401.33,467.31 259.216,392.612 117.104,467.31 144.25,309.08 29.274,197.007 188.165,173.919 "/>', c = '<polygon fill="#D2D2D2" stroke="#686868" stroke-width="37.6152" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" points="259.216,29.942 330.27,173.919 489.16,197.007 374.185,309.08 401.33,467.31 259.216,392.612 117.104,467.31 144.25,309.08 29.274,197.007 188.165,173.919 "/>';
6770
6788
  n.style.verticalAlign = "middle", l.setAttribute("width", "14"), l.setAttribute("height", "14"), l.setAttribute("viewBox", "0 0 512 512"), l.setAttribute("xml:space", "preserve"), l.style.padding = "0 1px";
@@ -6776,8 +6794,8 @@ function pn(a, e, t) {
6776
6794
  }
6777
6795
  return o && (o.style.whiteSpace = "nowrap", o.style.overflow = "hidden", o.style.textOverflow = "ellipsis"), s && s.setAttribute("aria-label", String(i)), n;
6778
6796
  }
6779
- const fn = x`<cx-tag></cx-tag>`;
6780
- function gn(a, e) {
6797
+ const gn = x`<cx-tag></cx-tag>`;
6798
+ function mn(a, e) {
6781
6799
  const t = a.getValue();
6782
6800
  if (t == null || t === "")
6783
6801
  return;
@@ -6786,26 +6804,26 @@ function gn(a, e) {
6786
6804
  removable: !1,
6787
6805
  size: "medium",
6788
6806
  variant: "neutral"
6789
- }, s = T(fn);
6807
+ }, s = T(gn);
6790
6808
  return Object.assign(s, i), s.textContent = e?.getTagContent?.(t) ?? e?.tagContentMap?.[t] ?? String(t), s;
6791
6809
  }
6792
- function mn(a) {
6810
+ function bn(a) {
6793
6811
  return pt(S(a.getValue()));
6794
6812
  }
6795
- function bn(a, e, t) {
6813
+ function wn(a, e, t) {
6796
6814
  const i = a.getValue(), s = a.getElement(), o = e.allowEmpty, r = e.allowTruthy, n = Object.prototype.hasOwnProperty.call(
6797
6815
  e,
6798
6816
  "trueValue"
6799
6817
  ), l = (typeof e.tickElement == "string" ? S(e.tickElement) : e.tickElement) ?? '<svg enable-background="new 0 0 24 24" height="14" width="14" viewBox="0 0 24 24" xml:space="preserve" ><path fill="#2DC214" clip-rule="evenodd" d="M21.652,3.211c-0.293-0.295-0.77-0.295-1.061,0L9.41,14.34 c-0.293,0.297-0.771,0.297-1.062,0L3.449,9.351C3.304,9.203,3.114,9.13,2.923,9.129C2.73,9.128,2.534,9.201,2.387,9.351 l-2.165,1.946C0.078,11.445,0,11.63,0,11.823c0,0.194,0.078,0.397,0.223,0.544l4.94,5.184c0.292,0.296,0.771,0.776,1.062,1.07 l2.124,2.141c0.292,0.293,0.769,0.293,1.062,0l14.366-14.34c0.293-0.294,0.293-0.777,0-1.071L21.652,3.211z" fill-rule="evenodd"/></svg>', h = (typeof e.crossElement == "string" ? S(e.crossElement) : e.crossElement) ?? '<svg enable-background="new 0 0 24 24" height="14" width="14" viewBox="0 0 24 24" xml:space="preserve" ><path fill="#CE1515" d="M22.245,4.015c0.313,0.313,0.313,0.826,0,1.139l-6.276,6.27c-0.313,0.312-0.313,0.826,0,1.14l6.273,6.272 c0.313,0.313,0.313,0.826,0,1.14l-2.285,2.277c-0.314,0.312-0.828,0.312-1.142,0l-6.271-6.271c-0.313-0.313-0.828-0.313-1.141,0 l-6.276,6.267c-0.313,0.313-0.828,0.313-1.141,0l-2.282-2.28c-0.313-0.313-0.313-0.826,0-1.14l6.278-6.269 c0.313-0.312,0.313-0.826,0-1.14L1.709,5.147c-0.314-0.313-0.314-0.827,0-1.14l2.284-2.278C4.308,1.417,4.821,1.417,5.135,1.73 L11.405,8c0.314,0.314,0.828,0.314,1.141,0.001l6.276-6.267c0.312-0.312,0.826-0.312,1.141,0L22.245,4.015z"/></svg>';
6800
6818
  return n && i === e.trueValue || !n && (r && i || i === !0 || i === "true" || i === "True" || i === 1 || i === "1") ? (s && s.setAttribute("aria-checked", "true"), l || "") : o && (i === "null" || i === "" || i === null || typeof i > "u") ? (s && s.setAttribute("aria-checked", "mixed"), "") : (s && s.setAttribute("aria-checked", "false"), h || "");
6801
6819
  }
6802
- function wn(a) {
6820
+ function vn(a) {
6803
6821
  if (a == null || a === "")
6804
6822
  return null;
6805
6823
  const e = Number(a);
6806
6824
  return Number.isFinite(e) ? e : null;
6807
6825
  }
6808
- function vn(a, e) {
6826
+ function yn(a, e) {
6809
6827
  const t = e.getValue(), i = e.getRow().getData(), {
6810
6828
  getParams: s,
6811
6829
  paramsMap: o,
@@ -6818,14 +6836,14 @@ function vn(a, e) {
6818
6836
  ...c
6819
6837
  };
6820
6838
  }
6821
- function yn(a) {
6839
+ function Cn(a) {
6822
6840
  const e = {
6823
6841
  ...a.style ?? {}
6824
6842
  };
6825
6843
  return a.color && (e["--cx-format-time-color"] = a.color), a.fontSize && (e["--cx-format-time-font-size"] = a.fontSize), a.fontWeight && (e["--cx-format-time-font-weight"] = a.fontWeight), e;
6826
6844
  }
6827
- function Cn(a, e) {
6828
- const t = vn(e ?? {}, a), i = wn(a.getValue()), s = yn(t);
6845
+ function En(a, e) {
6846
+ const t = yn(e ?? {}, a), i = vn(a.getValue()), s = Cn(t);
6829
6847
  return T(x`
6830
6848
  <cx-format-time
6831
6849
  .duration=${i}
@@ -6838,7 +6856,7 @@ function Cn(a, e) {
6838
6856
  ></cx-format-time>
6839
6857
  `);
6840
6858
  }
6841
- function En(a, e, t) {
6859
+ function xn(a, e, t) {
6842
6860
  const i = e.size || 15, s = i + "px", o = Object.prototype.hasOwnProperty.call(
6843
6861
  e,
6844
6862
  "onValue"
@@ -6856,15 +6874,15 @@ function En(a, e, t) {
6856
6874
  const c = document.createElement("div");
6857
6875
  return c.classList.add("tabulator-toggle-switch"), c.style.height = s, c.style.width = s, c.style.borderRadius = s, h.appendChild(c), h;
6858
6876
  }
6859
- const xn = x`<span class="tabulator-traffic-light-container">
6877
+ const Rn = x`<span class="tabulator-traffic-light-container">
6860
6878
  <span class="tabulator-traffic-light"></span>
6861
6879
  <span class="tabulator-traffic-light-text"></span>
6862
6880
  </span>`;
6863
- function Rn(a, e, t, i) {
6881
+ function Sn(a, e, t, i) {
6864
6882
  const s = a.getValue();
6865
6883
  if (s == null || s === "")
6866
6884
  return;
6867
- const o = T(xn), r = e?.getColor?.(s) ?? e?.colorMap?.[s];
6885
+ const o = T(Rn), r = e?.getColor?.(s) ?? e?.colorMap?.[s];
6868
6886
  if (r) {
6869
6887
  const l = o.querySelector(
6870
6888
  ".tabulator-traffic-light"
@@ -6876,13 +6894,13 @@ function Rn(a, e, t, i) {
6876
6894
  );
6877
6895
  return n && (n.textContent = String(s)), i?.getColor ? n.style.color = i.getColor(a) : i?.colorMap ? n.style.color = i.colorMap[a.getValue()] : i?.color && (n.style.color = i.color), o;
6878
6896
  }
6879
- function Sn(a, e) {
6897
+ function Tn(a, e) {
6880
6898
  const t = a.getValue();
6881
6899
  if (t == null || t === "")
6882
6900
  return;
6883
6901
  const i = e ?? {};
6884
6902
  let s;
6885
- i.getVariant && (s = i.getVariant(t)), !s && i.variantMap && (s = i.variantMap[t]), !s && i.variant && (s = i.variant), s ??= Xs.Body1;
6903
+ i.getVariant && (s = i.getVariant(t)), !s && i.variantMap && (s = i.variantMap[t]), !s && i.variant && (s = i.variant), s ??= Js.Body1;
6886
6904
  const o = x` <cx-line-clamp lines="1">
6887
6905
  <cx-typography style=${ke(i.style ?? {})}></cx-typography>
6888
6906
  </cx-line-clamp>`, r = T(o), n = r.querySelector(
@@ -6893,36 +6911,36 @@ function Sn(a, e) {
6893
6911
  return i.prefix && (l = i.prefix + l), i.suffix && (l = l + i.suffix), n.textContent = l, r;
6894
6912
  }
6895
6913
  const Ls = {
6896
- adaptable: Or,
6897
- array: Hr,
6898
- buttonCross: Pr,
6899
- buttonTick: Ar,
6900
- color: _r,
6901
- composite: Gr,
6902
- datetime: $r,
6903
- datetimediff: Kr,
6904
- handle: Xr,
6905
- html: Jr,
6906
- icon: Yr,
6907
- image: Zr,
6908
- json: tn,
6909
- link: on,
6910
- lookup: nn,
6911
- money: an,
6912
- number: hn,
6913
- plaintext: cn,
6914
- progress: dn,
6915
- rownum: un,
6916
- star: pn,
6917
- tag: gn,
6918
- textarea: mn,
6919
- tickCross: bn,
6920
- time: Cn,
6921
- toggle: En,
6922
- traffic: Rn,
6923
- typography: Sn
6914
+ adaptable: Hr,
6915
+ array: Pr,
6916
+ buttonCross: Ar,
6917
+ buttonTick: _r,
6918
+ color: Nr,
6919
+ composite: jr,
6920
+ datetime: Ur,
6921
+ datetimediff: Xr,
6922
+ handle: Jr,
6923
+ html: qr,
6924
+ icon: Qr,
6925
+ image: en,
6926
+ json: sn,
6927
+ link: rn,
6928
+ lookup: an,
6929
+ money: ln,
6930
+ number: cn,
6931
+ plaintext: dn,
6932
+ progress: un,
6933
+ rownum: pn,
6934
+ star: fn,
6935
+ tag: mn,
6936
+ textarea: bn,
6937
+ tickCross: wn,
6938
+ time: En,
6939
+ toggle: xn,
6940
+ traffic: Sn,
6941
+ typography: Tn
6924
6942
  };
6925
- zr(Ls);
6943
+ Fr(Ls);
6926
6944
  const fe = class fe extends R {
6927
6945
  constructor(e) {
6928
6946
  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");
@@ -7027,8 +7045,8 @@ const fe = class fe extends R {
7027
7045
  };
7028
7046
  fe.moduleName = "format", fe.formatters = Ls;
7029
7047
  let ot = fe;
7030
- const ie = process.env.NODE_ENV === "development", Tn = x` <cx-option></cx-option>`, Mn = x` <cx-divider></cx-divider>`;
7031
- class kn {
7048
+ const ie = process.env.NODE_ENV === "development", Mn = x` <cx-option></cx-option>`, kn = x` <cx-divider></cx-divider>`;
7049
+ class Ln {
7032
7050
  constructor(e, t, i, s, o, r) {
7033
7051
  this._itemsMap = /* @__PURE__ */ new Map(), this.fetchApi = fetch, this.table = e.table, this.cell = t, this.params = this._initializeParams(r), this.data = [], this.displayItems = [], this.focusedItem = null, this.input = this._createSelectElement(), this.initialValues = [], this.isHeaderFilter = t.row?.type === "header", this.typing = !1, this.listIteration = 0, this.lastAction = "", this.actions = {
7034
7052
  cancel: o,
@@ -7090,7 +7108,7 @@ class kn {
7090
7108
  if (!e)
7091
7109
  return null;
7092
7110
  let t;
7093
- return typeof e == "string" ? t = Js(e) : t = e, t && (t.slot = "prefix"), t;
7111
+ return typeof e == "string" ? t = qs(e) : t = e, t && (t.slot = "prefix"), t;
7094
7112
  }
7095
7113
  _createSelectElement() {
7096
7114
  const { autocomplete: e, clearable: t, freeWidth: i, placeholder: s } = this.params, o = x`
@@ -7324,7 +7342,7 @@ class kn {
7324
7342
  // ////////////////////////////////////
7325
7343
  _clearList() {
7326
7344
  for (const e of Array.from(this.input.children))
7327
- e.getAttribute("slot") !== "prefix" && (e instanceof Ys || e instanceof vs || e.tagName === "SMALL") && e.remove();
7345
+ e.getAttribute("slot") !== "prefix" && (e instanceof Qs || e instanceof vs || e.tagName === "SMALL") && e.remove();
7328
7346
  this.displayItems = [];
7329
7347
  }
7330
7348
  _buildList(e) {
@@ -7348,7 +7366,7 @@ class kn {
7348
7366
  }
7349
7367
  }
7350
7368
  _appendDivider() {
7351
- const e = T(Mn);
7369
+ const e = T(kn);
7352
7370
  this.input.appendChild(e);
7353
7371
  }
7354
7372
  _appendSectionLabel(e) {
@@ -7358,7 +7376,7 @@ class kn {
7358
7376
  _appendLeafOption(e) {
7359
7377
  let t = e.element;
7360
7378
  if (!t) {
7361
- t = T(Tn), t.getTextLabel = () => e.label, t.value = this.sanitizeValue(e.value);
7379
+ t = T(Mn), t.getTextLabel = () => e.label, t.value = this.sanitizeValue(e.value);
7362
7380
  const i = this.formatItemLabel(e, t);
7363
7381
  i && typeof i == "object" && "nodeType" in i && i instanceof HTMLElement ? t.appendChild(i) : t.innerHTML = S(String(i || "")), t.classList.add(
7364
7382
  "tabulator-edit-list-item",
@@ -7421,8 +7439,8 @@ class kn {
7421
7439
  }
7422
7440
  }
7423
7441
  }
7424
- const Ln = function(a, e, t, i, s) {
7425
- return new kn(
7442
+ const Dn = function(a, e, t, i, s) {
7443
+ return new Ln(
7426
7444
  // eslint-disable-next-line no-invalid-this
7427
7445
  this,
7428
7446
  a instanceof Ci ? a._getSelf() : a,
@@ -7431,7 +7449,7 @@ const Ln = function(a, e, t, i, s) {
7431
7449
  i,
7432
7450
  s
7433
7451
  ).input;
7434
- }, Dn = function(a, e, t, i, s) {
7452
+ }, zn = function(a, e, t, i, s) {
7435
7453
  let o = a.getValue();
7436
7454
  const r = s.verticalNavigation || "editor", n = document.createElement("input");
7437
7455
  if (n.setAttribute("type", "number"), typeof s.max < "u" && n.setAttribute("max", String(s.max)), typeof s.min < "u" && n.setAttribute("min", String(s.min)), typeof s.step < "u" && n.setAttribute("step", String(s.step)), n.style.padding = "4px", n.style.width = "100%", n.style.boxSizing = "border-box", s.elementAttributes && typeof s.elementAttributes == "object")
@@ -7480,7 +7498,7 @@ const Ln = function(a, e, t, i, s) {
7480
7498
  break;
7481
7499
  }
7482
7500
  }), s.mask && xi(n, s), n;
7483
- }, zn = function(a, e, t, i, s) {
7501
+ }, Fn = function(a, e, t, i, s) {
7484
7502
  const o = a.getElement();
7485
7503
  if (!o)
7486
7504
  return !1;
@@ -7534,7 +7552,7 @@ const Ln = function(a, e, t, i, s) {
7534
7552
  }), o.addEventListener("blur", () => {
7535
7553
  i();
7536
7554
  }), p;
7537
- }, Fn = function(a, e, t, i, s) {
7555
+ }, On = function(a, e, t, i, s) {
7538
7556
  let o = a.getValue();
7539
7557
  const r = document.createElement("input");
7540
7558
  if (r.setAttribute("type", "range"), typeof s.max < "u" && r.setAttribute("max", String(s.max)), typeof s.min < "u" && r.setAttribute("min", String(s.min)), typeof s.step < "u" && r.setAttribute("step", String(s.step)), r.style.padding = "4px", r.style.width = "100%", r.style.boxSizing = "border-box", s.elementAttributes && typeof s.elementAttributes == "object")
@@ -7566,7 +7584,7 @@ const Ln = function(a, e, t, i, s) {
7566
7584
  break;
7567
7585
  }
7568
7586
  }), r;
7569
- }, On = function(a, e, t, i, s) {
7587
+ }, Hn = function(a, e, t, i, s) {
7570
7588
  const o = this, r = a.getElement();
7571
7589
  if (!r)
7572
7590
  return !1;
@@ -7637,7 +7655,7 @@ const Ln = function(a, e, t, i, s) {
7637
7655
  break;
7638
7656
  }
7639
7657
  }), d;
7640
- }, Hn = function(a, e, t, i, s) {
7658
+ }, Pn = function(a, e, t, i, s) {
7641
7659
  let o = a.getValue();
7642
7660
  const r = s.verticalNavigation || "hybrid", n = String(o ?? ""), l = document.createElement("textarea");
7643
7661
  let h = 0;
@@ -7683,7 +7701,7 @@ const Ln = function(a, e, t, i, s) {
7683
7701
  break;
7684
7702
  }
7685
7703
  }), s.mask && xi(l, s), l;
7686
- }, Pn = function(a, e, t, i, s) {
7704
+ }, An = function(a, e, t, i, s) {
7687
7705
  const o = a.getValue(), r = document.createElement("input"), n = s.tristate, l = typeof s.indeterminateValue > "u" ? null : s.indeterminateValue;
7688
7706
  let h = !1;
7689
7707
  const c = Object.keys(s).includes("trueValue"), d = Object.keys(s).includes("falseValue");
@@ -7713,7 +7731,7 @@ const Ln = function(a, e, t, i, s) {
7713
7731
  }), r.addEventListener("keydown", (f) => {
7714
7732
  f.keyCode === 13 && t(u(!1)), f.keyCode === 27 && i();
7715
7733
  }), r;
7716
- }, An = process.env.NODE_ENV === "development", _n = function(a, e, t, i, s) {
7734
+ }, _n = process.env.NODE_ENV === "development", Nn = function(a, e, t, i, s) {
7717
7735
  const o = s.format, r = s.verticalNavigation || "editor", n = o ? typeof window < "u" && window.DateTime || typeof globalThis < "u" && globalThis.luxon?.DateTime : null;
7718
7736
  let l, h = a.getValue();
7719
7737
  const c = document.createElement("input");
@@ -7728,7 +7746,7 @@ const Ln = function(a, e, t, i, s) {
7728
7746
  } else
7729
7747
  c.setAttribute(f, s.elementAttributes[f]);
7730
7748
  const d = String(h ?? "");
7731
- o && n && d !== "" ? (n.isDateTime?.(h) ? l = h : o === "iso" ? l = n.fromISO(d) : l = n.fromFormat(d, o), h = l.toFormat("HH:mm")) : o && !n && An && console.error(
7749
+ o && n && d !== "" ? (n.isDateTime?.(h) ? l = h : o === "iso" ? l = n.fromISO(d) : l = n.fromFormat(d, o), h = l.toFormat("HH:mm")) : o && !n && _n && console.error(
7732
7750
  "Editor Error - 'time' editor 'format' param is dependent on luxon.js"
7733
7751
  );
7734
7752
  const p = String(h ?? "");
@@ -7778,20 +7796,33 @@ const Ln = function(a, e, t, i, s) {
7778
7796
  break;
7779
7797
  }
7780
7798
  }), c;
7781
- }, Nn = {
7782
- adaptable: Rr,
7783
- date: Tr,
7784
- datetime: kr,
7785
- input: Lr,
7786
- list: Ln,
7787
- number: Dn,
7788
- progress: zn,
7789
- range: Fn,
7790
- star: On,
7791
- textarea: Hn,
7792
- tickCross: Pn,
7793
- time: _n
7794
- }, Ze = process.env.NODE_ENV === "development", $e = class $e extends R {
7799
+ }, Vn = {
7800
+ adaptable: Sr,
7801
+ date: Mr,
7802
+ datetime: Lr,
7803
+ input: Dr,
7804
+ list: Dn,
7805
+ number: zn,
7806
+ progress: Fn,
7807
+ range: On,
7808
+ star: Hn,
7809
+ textarea: Pn,
7810
+ tickCross: An,
7811
+ time: Nn
7812
+ }, Ze = process.env.NODE_ENV === "development", Ds = "tabulator-edit-list-trigger", In = "tabulator-edit-list-trigger-caret", Bn = x`
7813
+ <button
7814
+ aria-label="Open list editor"
7815
+ class=${Ds}
7816
+ tabindex="-1"
7817
+ type="button"
7818
+ >
7819
+ <cx-icon
7820
+ aria-hidden="true"
7821
+ class=${In}
7822
+ name="arrow_drop_down"
7823
+ ></cx-icon>
7824
+ </button>
7825
+ `, $e = class $e extends R {
7795
7826
  constructor(e) {
7796
7827
  super(e), this.currentCell = !1, this.mouseClick = !1, this.recursionBlock = !1, this.invalidEdit = !1, this.editedCells = [], this.convertEmptyValues = !1, this.editors = $e.editors, this.registerTableOption("editTriggerEvent", "focus"), this.registerTableOption("editorEmptyValue"), this.registerTableOption(
7797
7828
  "editorEmptyValueFunc",
@@ -7841,7 +7872,7 @@ const Ln = function(a, e, t, i, s) {
7841
7872
  );
7842
7873
  }
7843
7874
  initialize() {
7844
- this.subscribe("cell-init", this.bindEditor.bind(this)), this.subscribe("cell-delete", this.clearEdited.bind(this)), this.subscribe("cell-value-changed", this.updateCellClass.bind(this)), this.subscribe("column-layout", this.initializeColumnCheck.bind(this)), this.subscribe("column-delete", this.columnDeleteCheck.bind(this)), this.subscribe("row-deleting", this.rowDeleteCheck.bind(this)), this.subscribe("row-layout", this.rowEditableCheck.bind(this)), this.subscribe("data-refreshing", this.cancelEdit.bind(this)), this.subscribe("clipboard-paste", this.pasteBlocker.bind(this)), this.subscribe(
7875
+ this.subscribe("cell-init", this.bindEditor.bind(this)), this.subscribe("cell-layout", this.addListEditorTrigger.bind(this)), this.subscribe("cell-delete", this.clearEdited.bind(this)), this.subscribe("cell-value-changed", this.updateCellClass.bind(this)), this.subscribe("column-layout", this.initializeColumnCheck.bind(this)), this.subscribe("column-delete", this.columnDeleteCheck.bind(this)), this.subscribe("row-deleting", this.rowDeleteCheck.bind(this)), this.subscribe("row-layout", this.rowEditableCheck.bind(this)), this.subscribe("data-refreshing", this.cancelEdit.bind(this)), this.subscribe("clipboard-paste", this.pasteBlocker.bind(this)), this.subscribe(
7845
7876
  "keybinding-nav-prev",
7846
7877
  this.navigatePrev.bind(this, void 0)
7847
7878
  ), this.subscribe(
@@ -8033,7 +8064,7 @@ const Ln = function(a, e, t, i, s) {
8033
8064
  return;
8034
8065
  this.updateCellClass(e), t.setAttribute("tabindex", "0"), typeof e.column.definition.editor == "string" && t.classList.add(
8035
8066
  `tabulator-edit-${e.column.definition.editor}`
8036
- ), t.addEventListener("mousedown", (i) => {
8067
+ ), this.addListEditorTrigger(e), t.addEventListener("mousedown", (i) => {
8037
8068
  i.button === 2 ? i.preventDefault() : this.mouseClick = !0;
8038
8069
  }), this.options("editTriggerEvent") === "dblclick" && t.addEventListener("dblclick", (i) => {
8039
8070
  t.classList.contains("tabulator-editing") || (t.focus({ preventScroll: !0 }), this.edit(e, i, !1));
@@ -8044,6 +8075,21 @@ const Ln = function(a, e, t, i, s) {
8044
8075
  });
8045
8076
  }
8046
8077
  }
8078
+ addListEditorTrigger(e) {
8079
+ if (e.column.definition.editor !== "list")
8080
+ return;
8081
+ const t = e.getElement(!0);
8082
+ if (!t || t.classList.contains("tabulator-editing") || t.querySelector(`.${Ds}`))
8083
+ return;
8084
+ const i = T(
8085
+ Bn
8086
+ );
8087
+ i.addEventListener("mousedown", (s) => {
8088
+ s.preventDefault(), s.stopPropagation();
8089
+ }), i.addEventListener("click", (s) => {
8090
+ s.stopPropagation(), t.classList.contains("tabulator-editing") || (t.focus({ preventScroll: !0 }), this.edit(e, s, !1));
8091
+ }), t.appendChild(i);
8092
+ }
8047
8093
  focusCellNoEvent(e, t = !1) {
8048
8094
  this.recursionBlock = !0, t && this.table.browser === "ie" || e.getElement()?.focus({ preventScroll: !0 }), this.recursionBlock = !1;
8049
8095
  }
@@ -8177,9 +8223,9 @@ const Ln = function(a, e, t, i, s) {
8177
8223
  t > -1 && this.editedCells.splice(t, 1);
8178
8224
  }
8179
8225
  };
8180
- $e.moduleName = "edit", $e.editors = Nn;
8226
+ $e.moduleName = "edit", $e.editors = Vn;
8181
8227
  let Pt = $e;
8182
- const Vn = {}, In = {
8228
+ const Wn = {}, Gn = {
8183
8229
  active: function() {
8184
8230
  return this.options.pagination ? this.rowManager?.getDisplayRows(
8185
8231
  this.rowManager.displayRows.length - 2
@@ -8205,7 +8251,7 @@ class is {
8205
8251
  this.type = e, this.columns = t, this.component = i ?? !1, this.indent = s ?? 0;
8206
8252
  }
8207
8253
  }
8208
- const Bn = process.env.NODE_ENV === "development", ge = class ge extends R {
8254
+ const jn = process.env.NODE_ENV === "development", ge = class ge extends R {
8209
8255
  constructor(e) {
8210
8256
  super(e), this.config = {}, this.cloneTableStyle = !0, this.colVisProp = "", this.colVisPropAttach = "", this.registerTableOption("htmlOutputConfig", !1), this.registerColumnOption("htmlOutput"), this.registerColumnOption("titleHtmlOutput");
8211
8257
  }
@@ -8374,7 +8420,7 @@ const Bn = process.env.NODE_ENV === "development", ge = class ge extends R {
8374
8420
  "font-weight",
8375
8421
  "font-family",
8376
8422
  "font-size"
8377
- ]), e.length > 1e3 && Bn && console.warn(
8423
+ ]), e.length > 1e3 && jn && console.warn(
8378
8424
  "It may take a long time to render an HTML table with more than 1000 rows"
8379
8425
  ), e.forEach((h, c) => {
8380
8426
  let d;
@@ -8661,9 +8707,9 @@ const Bn = process.env.NODE_ENV === "development", ge = class ge extends R {
8661
8707
  }
8662
8708
  }
8663
8709
  };
8664
- ge.moduleName = "export", ge.columnLookups = Vn, ge.rowLookups = In;
8710
+ ge.moduleName = "export", ge.columnLookups = Wn, ge.rowLookups = Gn;
8665
8711
  let At = ge;
8666
- const ss = process.env.NODE_ENV === "development", Wn = {
8712
+ const ss = process.env.NODE_ENV === "development", $n = {
8667
8713
  // not equal to
8668
8714
  "!=": function(a, e, t, i) {
8669
8715
  return e != a;
@@ -9324,9 +9370,9 @@ const ss = process.env.NODE_ENV === "development", Wn = {
9324
9370
  }) : i = e.func(t), i;
9325
9371
  }
9326
9372
  };
9327
- ee.moduleName = "filter", ee.filters = Wn;
9373
+ ee.moduleName = "filter", ee.filters = $n;
9328
9374
  let _t = ee;
9329
- const Gn = process.env.NODE_ENV === "development", Mi = class Mi extends R {
9375
+ const Un = process.env.NODE_ENV === "development", Mi = class Mi extends R {
9330
9376
  constructor(e) {
9331
9377
  super(e), this.leftColumns = [], this.rightColumns = [], this.initializationMode = "left", this.active = !1, this.blocked = !0, this.registerColumnOption("frozen");
9332
9378
  }
@@ -9357,7 +9403,7 @@ const Gn = process.env.NODE_ENV === "development", Mi = class Mi extends R {
9357
9403
  e.isGroup || (this.frozenCheck(e) ? (t.position = this.initializationMode, this.initializationMode === "left" ? this.leftColumns.push(e) : this.rightColumns.unshift(e), this.active = !0, e.modules.frozen = t) : this.initializationMode = "right");
9358
9404
  }
9359
9405
  frozenCheck(e) {
9360
- return e.parent instanceof K && e.parent.isGroup && e.definition.frozen && Gn && console.warn(
9406
+ return e.parent instanceof K && e.parent.isGroup && e.definition.frozen && Un && console.warn(
9361
9407
  "Frozen Column Error - Parent column group must be frozen, not individual columns or sub column groups"
9362
9408
  ), e.parent instanceof K && e.parent.isGroup ? this.frozenCheck(e.parent) : !!e.definition.frozen;
9363
9409
  }
@@ -9539,15 +9585,15 @@ const os = process.env.NODE_ENV === "development", ki = class ki extends R {
9539
9585
  };
9540
9586
  ki.moduleName = "frozenRows";
9541
9587
  let Vt = ki;
9542
- const jn = process.env.NODE_ENV === "development", $n = x`<cx-icon-button
9588
+ const Kn = process.env.NODE_ENV === "development", Xn = x`<cx-icon-button
9543
9589
  class="tabulator-group-toggle"
9544
9590
  name="keyboard_arrow_down"
9545
- ></cx-icon-button>`, Un = x`<div class="tabulator-group-level-indent"></div>`, Kn = x`
9591
+ ></cx-icon-button>`, Jn = x`<div class="tabulator-group-level-indent"></div>`, qn = x`
9546
9592
  <cx-button size="small">
9547
9593
  <cx-icon slot="prefix" name="add" variant="outlined" ></cx-icon>
9548
9594
  Load More
9549
9595
  </cx-button>
9550
- `, Xn = x`<div class="tabulator-data-tree-loading">Loading...</div>`;
9596
+ `, Yn = x`<div class="tabulator-data-tree-loading">Loading...</div>`;
9551
9597
  class ze {
9552
9598
  constructor(e, t, i, s, o, r, n) {
9553
9599
  this._loadMoreRow = !1, this._loadMoreStateKey = "", this.groupManager = e, this.parent = t, this.key = s, this.level = i, this.field = o, this.hasSubGroups = e.groupIDLookups !== !1 && i < e.groupIDLookups.length - 1, this.addRow = this.hasSubGroups ? this._addRowToGroup : this._addRow, this.type = "group", this.old = n, this.rows = [], this.groups = {}, this.groupList = [], this.generator = r, this.element = !1, this.elementContents = !1, this.height = 0, this.outerHeight = 0, this.initialized = !1, this.heightInitialized = !1, this.calcs = {}, this.modules = {}, this.arrowElement = !1, this.visible = n ? n.visible : e.startOpen[i] === void 0 || e.startOpen[i] === null ? e.startOpen[0] : e.startOpen[i], this.component = null, this.createElements(), this.addBindings(), this.createValueGroups();
@@ -9566,7 +9612,7 @@ class ze {
9566
9612
  this.element = document.createElement("div"), this.element.classList.add("tabulator-row"), this.element.classList.add("tabulator-group"), this.element.classList.add("tabulator-group-level-" + this.level), this.element.setAttribute(
9567
9613
  "role",
9568
9614
  this.groupManager.table.options.rowGroupRole ?? "rowgroup"
9569
- ), this.arrowElement = T($n), this.groupManager.table.options.movableRows !== !1 && this.groupManager.table.modExists("moveRow") && this.groupManager.table.modules.moveRow.initializeGroupHeader(
9615
+ ), this.arrowElement = T(Xn), this.groupManager.table.options.movableRows !== !1 && this.groupManager.table.modExists("moveRow") && this.groupManager.table.modules.moveRow.initializeGroupHeader(
9570
9616
  this
9571
9617
  );
9572
9618
  }
@@ -9630,7 +9676,7 @@ class ze {
9630
9676
  let s = i.querySelector(
9631
9677
  ".tabulator-group-level-indent"
9632
9678
  );
9633
- s || (s = T(Un), i.insertBefore(s, i.firstChild)), s.style.marginLeft = `${(this.level + 1) * (this.groupManager.table.options.groupIndent ?? 36)}px`, s.dataset.groupLevel = this.level.toString();
9679
+ s || (s = T(Jn), i.insertBefore(s, i.firstChild)), s.style.marginLeft = `${(this.level + 1) * (this.groupManager.table.options.groupIndent ?? 36)}px`, s.dataset.groupLevel = this.level.toString();
9634
9680
  }
9635
9681
  }
9636
9682
  insertRow(e, t, i) {
@@ -9651,7 +9697,7 @@ class ze {
9651
9697
  }
9652
9698
  // update row data to match grouping constraints
9653
9699
  conformRowData(e) {
9654
- return this.field ? e[this.field] = this.key : jn && console.warn(
9700
+ return this.field ? e[this.field] = this.key : Kn && console.warn(
9655
9701
  "Data Conforming Error - Cannot conform row data to match new group as groupBy is a function"
9656
9702
  ), this.parent && (e = this.parent.conformRowData(e)), e;
9657
9703
  }
@@ -9670,13 +9716,13 @@ class ze {
9670
9716
  return Ss(yi(this));
9671
9717
  }
9672
9718
  getLoadMoreState() {
9673
- return Ko(
9719
+ return Xo(
9674
9720
  this.groupManager.table.options.groupLoadMoreMeta,
9675
9721
  this.getPathKey()
9676
9722
  );
9677
9723
  }
9678
9724
  getGroupLoadMoreEventPayload() {
9679
- return Xo(this);
9725
+ return Jo(this);
9680
9726
  }
9681
9727
  generateLoadMoreRow() {
9682
9728
  const e = this.getLoadMoreState(), t = `hasMore:${!!e?.hasMore}|loading:${!!e?.loading}`;
@@ -9691,10 +9737,10 @@ class ze {
9691
9737
  i
9692
9738
  ), o = (this.level + 1) * (this.groupManager.table.options.groupIndent ?? Cs);
9693
9739
  if (s.create(), e.loading) {
9694
- const l = T(Xn);
9740
+ const l = T(Yn);
9695
9741
  return s.element.appendChild(l), this.applyGroupIndent(l, o), this._loadMoreRow = s, s;
9696
9742
  }
9697
- const r = T(Kn), n = this.getGroupLoadMoreEventPayload();
9743
+ const r = T(qn), n = this.getGroupLoadMoreEventPayload();
9698
9744
  return s.element.appendChild(r), this.applyGroupIndent(r, o), r.addEventListener("click", (l) => {
9699
9745
  l.preventDefault(), l.stopPropagation(), l.stopImmediatePropagation(), this.groupManager.table.externalEvents?.dispatch("groupLoadMore", n);
9700
9746
  }), this._loadMoreRow = s, s;
@@ -10286,7 +10332,7 @@ const vt = process.env.NODE_ENV === "development", Li = class Li extends R {
10286
10332
  };
10287
10333
  Li.moduleName = "groupRows";
10288
10334
  let It = Li;
10289
- const Jn = {
10335
+ const Qn = {
10290
10336
  cellEdit: function(a) {
10291
10337
  "setValueProcessData" in a.component && (a.component.setValueProcessData(a.data.newValue), a.component.cellRendered());
10292
10338
  },
@@ -10313,7 +10359,7 @@ const Jn = {
10313
10359
  ), this.table.rowManager.regenerateRowPositions(), this.table.rowManager.reRenderInPosition());
10314
10360
  }
10315
10361
  }
10316
- }, qn = {
10362
+ }, Zn = {
10317
10363
  cellEdit: function(a) {
10318
10364
  "setValueProcessData" in a.component && (a.component.setValueProcessData(a.data.oldValue), a.component.cellRendered());
10319
10365
  },
@@ -10340,7 +10386,7 @@ const Jn = {
10340
10386
  ), this.table.rowManager.regenerateRowPositions(), this.table.rowManager.reRenderInPosition());
10341
10387
  }
10342
10388
  }
10343
- }, Yn = {
10389
+ }, ea = {
10344
10390
  redo: function(a) {
10345
10391
  let e;
10346
10392
  this.table.options.history && this.table.modExists("history") && this.table.modExists("edit") && (e = this.table.modules.edit?.currentCell, e || (a.preventDefault(), this.table.modules.history?.redo()));
@@ -10349,13 +10395,13 @@ const Jn = {
10349
10395
  let e;
10350
10396
  this.table.options.history && this.table.modExists("history") && this.table.modExists("edit") && (e = this.table.modules.edit?.currentCell, e || (a.preventDefault(), this.table.modules.history?.undo()));
10351
10397
  }
10352
- }, Qn = {
10398
+ }, ta = {
10353
10399
  redo: ["ctrl + 89", "meta + 89"],
10354
10400
  undo: ["ctrl + 90", "meta + 90"]
10355
- }, Zn = {
10401
+ }, ia = {
10356
10402
  keybindings: {
10357
- actions: Yn,
10358
- bindings: Qn
10403
+ actions: ea,
10404
+ bindings: ta
10359
10405
  }
10360
10406
  }, rs = process.env.NODE_ENV === "development", se = class se extends R {
10361
10407
  constructor(e) {
@@ -10475,9 +10521,9 @@ const Jn = {
10475
10521
  });
10476
10522
  }
10477
10523
  };
10478
- se.moduleName = "history", se.moduleExtensions = Zn, se.undoers = qn, se.redoers = Jn;
10524
+ se.moduleName = "history", se.moduleExtensions = ia, se.undoers = Zn, se.redoers = Qn;
10479
10525
  let Bt = se;
10480
- const ea = process.env.NODE_ENV === "development", Di = class Di extends R {
10526
+ const sa = process.env.NODE_ENV === "development", Di = class Di extends R {
10481
10527
  constructor(e) {
10482
10528
  super(e), this.fieldIndex = [], this.hasIndex = !1;
10483
10529
  }
@@ -10485,7 +10531,7 @@ const ea = process.env.NODE_ENV === "development", Di = class Di extends R {
10485
10531
  this.tableElementCheck();
10486
10532
  }
10487
10533
  tableElementCheck() {
10488
- this.table.originalElement?.tagName === "TABLE" && (this.table.originalElement.childNodes.length ? this.parseTable() : ea && console.warn(
10534
+ this.table.originalElement?.tagName === "TABLE" && (this.table.originalElement.childNodes.length ? this.parseTable() : sa && console.warn(
10489
10535
  "Unable to parse data from empty table tag, Tabulator should be initialized on a div tag unless importing data from a table element."
10490
10536
  ));
10491
10537
  }
@@ -10558,10 +10604,10 @@ const ea = process.env.NODE_ENV === "development", Di = class Di extends R {
10558
10604
  };
10559
10605
  Di.moduleName = "htmlTableImport";
10560
10606
  let Wt = Di;
10561
- function ta(a) {
10607
+ function oa(a) {
10562
10608
  return a;
10563
10609
  }
10564
- function ia(a) {
10610
+ function ra(a) {
10565
10611
  const e = [];
10566
10612
  let t = 0, i = 0, s = !1;
10567
10613
  for (let o = 0; o < a.length; o++) {
@@ -10592,15 +10638,15 @@ function ia(a) {
10592
10638
  }
10593
10639
  return e;
10594
10640
  }
10595
- const sa = process.env.NODE_ENV === "development";
10596
- async function oa(a) {
10641
+ const na = process.env.NODE_ENV === "development";
10642
+ async function aa(a) {
10597
10643
  try {
10598
10644
  return JSON.parse(a);
10599
10645
  } catch (e) {
10600
- throw sa && console.warn("JSON Import Error - File contents is invalid JSON", e), new Error("Invalid JSON format");
10646
+ throw na && console.warn("JSON Import Error - File contents is invalid JSON", e), new Error("Invalid JSON format");
10601
10647
  }
10602
10648
  }
10603
- const ns = process.env.NODE_ENV === "development", ra = function(a) {
10649
+ const ns = process.env.NODE_ENV === "development", la = function(a) {
10604
10650
  const t = this.dependencyRegistry.lookup("XLSX");
10605
10651
  if (!t)
10606
10652
  return ns && console.warn("XLSX library not found in dependency registry"), [];
@@ -10609,11 +10655,11 @@ const ns = process.env.NODE_ENV === "development", ra = function(a) {
10609
10655
  return ns && console.warn("XLSX workbook contains no sheets"), [];
10610
10656
  const s = i.Sheets[i.SheetNames[0]];
10611
10657
  return t.utils.sheet_to_json(s, { header: 1 });
10612
- }, na = {
10613
- array: ta,
10614
- csv: ia,
10615
- json: oa,
10616
- xlsx: ra
10658
+ }, ha = {
10659
+ array: oa,
10660
+ csv: ra,
10661
+ json: aa,
10662
+ xlsx: la
10617
10663
  }, We = process.env.NODE_ENV === "development", Ue = class Ue extends R {
10618
10664
  constructor(e) {
10619
10665
  super(e), this.registerTableOption("importFormat"), this.registerTableOption("importReader", "text"), this.registerTableOption("importHeaderTransform"), this.registerTableOption("importValueTransform"), this.registerTableOption("importDataValidator"), this.registerTableOption("importFileValidator");
@@ -10770,7 +10816,7 @@ const ns = process.env.NODE_ENV === "development", ra = function(a) {
10770
10816
  return this.dispatch("import-imported", e), this.dispatchExternal("importImported", e), this.table.dataLoader?.clearAlert(), this.table.setData(e);
10771
10817
  }
10772
10818
  };
10773
- Ue.moduleName = "import", Ue.importers = na;
10819
+ Ue.moduleName = "import", Ue.importers = ha;
10774
10820
  let Gt = Ue;
10775
10821
  const zi = class zi extends R {
10776
10822
  constructor(e) {
@@ -10956,7 +11002,7 @@ const zi = class zi extends R {
10956
11002
  };
10957
11003
  zi.moduleName = "interaction";
10958
11004
  let jt = zi;
10959
- const aa = {
11005
+ const ca = {
10960
11006
  keyBlock: function(a) {
10961
11007
  a.stopPropagation(), a.preventDefault();
10962
11008
  },
@@ -11004,7 +11050,7 @@ const aa = {
11004
11050
  const e = this.table.rowManager;
11005
11051
  e && (a.preventDefault(), e.displayRowsCount && e.scrollToRow(e.getDisplayRows()[0]), this.table.element.focus());
11006
11052
  }
11007
- }, la = {
11053
+ }, da = {
11008
11054
  navDown: 40,
11009
11055
  navLeft: 37,
11010
11056
  navNext: 9,
@@ -11015,7 +11061,7 @@ const aa = {
11015
11061
  scrollPageUp: 33,
11016
11062
  scrollToEnd: 35,
11017
11063
  scrollToStart: 36
11018
- }, ha = process.env.NODE_ENV === "development", me = class me extends R {
11064
+ }, ua = process.env.NODE_ENV === "development", me = class me extends R {
11019
11065
  constructor(e) {
11020
11066
  super(e), this.watchKeys = null, this.pressedKeys = null, this.keyupBinding = !1, this.keydownBinding = !1, this.registerTableOption("keybindings", {}), this.registerTableOption("tabEndNewRow", !1);
11021
11067
  }
@@ -11029,7 +11075,7 @@ const aa = {
11029
11075
  (Array.isArray(i) ? i : [i]).forEach((o) => {
11030
11076
  this.mapBinding(t, o);
11031
11077
  });
11032
- })) : ha && console.warn("Key Binding Error - no such action:", t);
11078
+ })) : ua && console.warn("Key Binding Error - no such action:", t);
11033
11079
  }
11034
11080
  mapBinding(e, t) {
11035
11081
  const i = {
@@ -11082,7 +11128,7 @@ const aa = {
11082
11128
  }), i && t.action.call(this, e), !0) : !1;
11083
11129
  }
11084
11130
  };
11085
- me.moduleName = "keybindings", me.bindings = la, me.actions = aa;
11131
+ me.moduleName = "keybindings", me.bindings = da, me.actions = ca;
11086
11132
  let $t = me;
11087
11133
  const Fi = class Fi extends R {
11088
11134
  constructor(e) {
@@ -11367,7 +11413,7 @@ const Oi = class Oi extends R {
11367
11413
  };
11368
11414
  Oi.moduleName = "moveColumn";
11369
11415
  let Kt = Oi;
11370
- const ca = {
11416
+ const pa = {
11371
11417
  add: function(a, e, t) {
11372
11418
  return a && this.table.addRow(a.getData("")), !0;
11373
11419
  },
@@ -11380,7 +11426,7 @@ const ca = {
11380
11426
  update: function(a, e, t) {
11381
11427
  return e && a ? (e.update(a.getData("")), !0) : !1;
11382
11428
  }
11383
- }, da = {
11429
+ }, fa = {
11384
11430
  delete: function(a, e, t) {
11385
11431
  a && a.delete();
11386
11432
  }
@@ -11726,9 +11772,9 @@ const ca = {
11726
11772
  }
11727
11773
  }
11728
11774
  };
11729
- Re.moduleName = "moveRow", Re.senders = da, Re.receivers = ca;
11775
+ Re.moduleName = "moveRow", Re.senders = fa, Re.receivers = pa;
11730
11776
  let Xt = Re;
11731
- const ua = {}, pa = process.env.NODE_ENV === "development", Pe = class Pe extends R {
11777
+ const ga = {}, ma = process.env.NODE_ENV === "development", Pe = class Pe extends R {
11732
11778
  constructor(e) {
11733
11779
  super(e), this.allowedTypes = ["", "data", "edit", "clipboard", "import"], this.enabled = !0, this.registerColumnOption("mutator"), this.registerColumnOption("mutatorParams"), this.registerColumnOption("mutatorData"), this.registerColumnOption("mutatorDataParams"), this.registerColumnOption("mutatorEdit"), this.registerColumnOption("mutatorEditParams"), this.registerColumnOption("mutatorClipboard"), this.registerColumnOption("mutatorClipboardParams"), this.registerColumnOption("mutatorImport"), this.registerColumnOption("mutatorImportParams"), this.registerColumnOption("mutateLink");
11734
11780
  }
@@ -11754,7 +11800,7 @@ const ua = {}, pa = process.env.NODE_ENV === "development", Pe = class Pe extend
11754
11800
  let t = !1;
11755
11801
  switch (typeof e) {
11756
11802
  case "string":
11757
- Pe.mutators[e] ? t = Pe.mutators[e] : pa && console.warn(
11803
+ Pe.mutators[e] ? t = Pe.mutators[e] : ma && console.warn(
11758
11804
  "Mutator Error - No such mutator found, ignoring: ",
11759
11805
  e
11760
11806
  );
@@ -11817,7 +11863,7 @@ const ua = {}, pa = process.env.NODE_ENV === "development", Pe = class Pe extend
11817
11863
  this.enabled = !1;
11818
11864
  }
11819
11865
  };
11820
- Pe.moduleName = "mutator", Pe.mutators = ua;
11866
+ Pe.moduleName = "mutator", Pe.mutators = ga;
11821
11867
  let Jt = Pe;
11822
11868
  const Hi = class Hi extends R {
11823
11869
  constructor(e) {
@@ -12102,7 +12148,7 @@ const Hi = class Hi extends R {
12102
12148
  };
12103
12149
  Hi.moduleName = "page";
12104
12150
  let qt = Hi;
12105
- const as = process.env.NODE_ENV === "development", fa = {
12151
+ const as = process.env.NODE_ENV === "development", ba = {
12106
12152
  cookie: function(a, e) {
12107
12153
  let t = document.cookie;
12108
12154
  const i = a + "-" + e, s = t.indexOf(i + "=");
@@ -12130,7 +12176,7 @@ const as = process.env.NODE_ENV === "development", fa = {
12130
12176
  return as && console.error("Failed to parse localStorage data:", i), !1;
12131
12177
  }
12132
12178
  }
12133
- }, ga = {
12179
+ }, wa = {
12134
12180
  cookie: function(a, e, t) {
12135
12181
  const i = /* @__PURE__ */ new Date();
12136
12182
  i.setDate(i.getDate() + 1e4), document.cookie = a + "-" + e + "=" + encodeURIComponent(JSON.stringify(t)) + "; expires=" + i.toUTCString();
@@ -12345,7 +12391,7 @@ const as = process.env.NODE_ENV === "development", fa = {
12345
12391
  }), t;
12346
12392
  }
12347
12393
  };
12348
- $.moduleName = "persistence", $.moduleInitOrder = -10, $.readers = fa, $.writers = ga;
12394
+ $.moduleName = "persistence", $.moduleInitOrder = -10, $.readers = ba, $.writers = wa;
12349
12395
  let Yt = $;
12350
12396
  const Pi = class Pi extends R {
12351
12397
  constructor(e) {
@@ -12993,7 +13039,7 @@ const Ii = class Ii extends R {
12993
13039
  };
12994
13040
  Ii.moduleName = "resizeTable";
12995
13041
  let si = Ii;
12996
- function ma(a) {
13042
+ function va(a) {
12997
13043
  const e = document.createElement("div"), t = a.getRow()._row.modules.responsiveLayout;
12998
13044
  e.classList.add("tabulator-responsive-collapse-toggle"), e.innerHTML = `<svg class='tabulator-responsive-collapse-toggle-open' viewBox="0 0 24 24">
12999
13045
  <line x1="7" y1="12" x2="17" y2="12" fill="none" stroke-width="3" stroke-linecap="round" />
@@ -13011,10 +13057,10 @@ function ma(a) {
13011
13057
  s.stopImmediatePropagation(), i(!t.open), a.getTable()?.rowManager?.adjustTableSize();
13012
13058
  }), i(t.open), e;
13013
13059
  }
13014
- const ba = {
13060
+ const ya = {
13015
13061
  format: {
13016
13062
  formatters: {
13017
- responsiveCollapse: ma
13063
+ responsiveCollapse: va
13018
13064
  }
13019
13065
  }
13020
13066
  }, rt = class rt extends R {
@@ -13176,11 +13222,11 @@ const ba = {
13176
13222
  }), Object.keys(e).length ? t : "";
13177
13223
  }
13178
13224
  };
13179
- rt.moduleName = "responsiveLayout", rt.moduleExtensions = ba;
13225
+ rt.moduleName = "responsiveLayout", rt.moduleExtensions = ya;
13180
13226
  let oi = rt;
13181
- const wa = x`<cx-checkbox></cx-checkbox>`;
13182
- function va(a, e) {
13183
- const t = T(wa);
13227
+ const Ca = x`<cx-checkbox></cx-checkbox>`;
13228
+ function Ea(a, e) {
13229
+ const t = T(Ca);
13184
13230
  let i = t, s = !1;
13185
13231
  t.setAttribute("aria-label", "Select Row"), t.size = "small";
13186
13232
  const o = this.table;
@@ -13200,10 +13246,10 @@ function va(a, e) {
13200
13246
  }), o.modules.selectRow?.registerHeaderSelectCheckbox(t);
13201
13247
  return i;
13202
13248
  }
13203
- const ya = {
13249
+ const xa = {
13204
13250
  format: {
13205
13251
  formatters: {
13206
- rowSelection: va
13252
+ rowSelection: Ea
13207
13253
  }
13208
13254
  }
13209
13255
  }, hs = process.env.NODE_ENV === "development", nt = class nt extends R {
@@ -13429,9 +13475,9 @@ const ya = {
13429
13475
  this._deselectRow(s, !0);
13430
13476
  }
13431
13477
  };
13432
- nt.moduleName = "selectRow", nt.moduleExtensions = ya;
13478
+ nt.moduleName = "selectRow", nt.moduleExtensions = xa;
13433
13479
  let ri = nt;
13434
- const Ca = {
13480
+ const Ra = {
13435
13481
  range: function(a) {
13436
13482
  if (!a || a.length === 0)
13437
13483
  return [];
@@ -13451,7 +13497,7 @@ const Ca = {
13451
13497
  }
13452
13498
  return e;
13453
13499
  }
13454
- }, Ea = {
13500
+ }, Sa = {
13455
13501
  range: function(a) {
13456
13502
  const e = [], t = [], i = this.table.modules.selectRange.activeRange;
13457
13503
  let s = !1, o, r, n, l, h;
@@ -13473,16 +13519,16 @@ const Ca = {
13473
13519
  }
13474
13520
  return !1;
13475
13521
  }
13476
- }, xa = {
13522
+ }, Ta = {
13477
13523
  range: function() {
13478
13524
  const a = this.modules.selectRange.selectedColumns();
13479
13525
  return this.columnManager?.rowHeader && a.unshift(this.columnManager.rowHeader), a;
13480
13526
  }
13481
- }, Ra = process.env.NODE_ENV === "development", Sa = {
13527
+ }, Ma = process.env.NODE_ENV === "development", ka = {
13482
13528
  range: function() {
13483
- return this.modules?.selectRange ? this.modules.selectRange.selectedRows() : (Ra && console.warn("SelectRange module not loaded"), []);
13529
+ return this.modules?.selectRange ? this.modules.selectRange.selectedRows() : (Ma && console.warn("SelectRange module not loaded"), []);
13484
13530
  }
13485
- }, Ta = {
13531
+ }, La = {
13486
13532
  rangeExpandDown: function(a) {
13487
13533
  this.dispatch("keybinding-nav-range", a, "down", !1, !0);
13488
13534
  },
@@ -13519,7 +13565,7 @@ const Ca = {
13519
13565
  rangeJumpUp: function(a) {
13520
13566
  this.dispatch("keybinding-nav-range", a, "up", !0, !1);
13521
13567
  }
13522
- }, Ma = {
13568
+ }, Da = {
13523
13569
  rangeExpandDown: "shift + 40",
13524
13570
  rangeExpandJumpDown: ["ctrl + shift + 40", "meta + shift + 40"],
13525
13571
  rangeExpandJumpLeft: ["ctrl + shift + 37", "meta + shift + 37"],
@@ -13532,21 +13578,21 @@ const Ca = {
13532
13578
  rangeJumpLeft: ["ctrl + 37", "meta + 37"],
13533
13579
  rangeJumpRight: ["ctrl + 39", "meta + 39"],
13534
13580
  rangeJumpUp: ["ctrl + 38", "meta + 38"]
13535
- }, ka = {
13581
+ }, za = {
13536
13582
  clipboard: {
13537
- pasteActions: Ca,
13538
- pasteParsers: Ea
13583
+ pasteActions: Ra,
13584
+ pasteParsers: Sa
13539
13585
  },
13540
13586
  export: {
13541
- columnLookups: xa,
13542
- rowLookups: Sa
13587
+ columnLookups: Ta,
13588
+ rowLookups: ka
13543
13589
  },
13544
13590
  keybindings: {
13545
- actions: Ta,
13546
- bindings: Ma
13591
+ actions: La,
13592
+ bindings: Da
13547
13593
  }
13548
13594
  };
13549
- class La {
13595
+ class Fa {
13550
13596
  constructor(e) {
13551
13597
  return this._range = e, new Proxy(this, {
13552
13598
  get: function(t, i) {
@@ -13611,7 +13657,7 @@ class La {
13611
13657
  }
13612
13658
  }
13613
13659
  const cs = process.env.NODE_ENV === "development";
13614
- class Da extends I {
13660
+ class Oa extends I {
13615
13661
  constructor(e, t, i, s) {
13616
13662
  super(e), this.rangeManager = t, this.element = null, this.initialized = !1, this.initializing = {
13617
13663
  end: !1,
@@ -13744,7 +13790,7 @@ class Da extends I {
13744
13790
  return t.length ? (i.start = t[0], i.end = t.at(-1)) : cs && console.warn("No bounds defined on range"), i;
13745
13791
  }
13746
13792
  getComponent() {
13747
- return this.component ??= new La(this), this.component;
13793
+ return this.component ??= new Fa(this), this.component;
13748
13794
  }
13749
13795
  destroy(e) {
13750
13796
  this.destroyed = !0, this.element && this.element.remove(), e && this.rangeManager.rangeRemoved(this), this.initialized && this.dispatchExternal("rangeRemoved", this.getComponent());
@@ -13755,7 +13801,7 @@ class Da extends I {
13755
13801
  ), !this.destroyed;
13756
13802
  }
13757
13803
  }
13758
- const Ce = process.env.NODE_ENV === "development", za = x`<div class="tabulator-range-cell-hover"></div>`, Ke = class Ke extends R {
13804
+ const Ce = process.env.NODE_ENV === "development", Ha = x`<div class="tabulator-range-cell-hover"></div>`, Ke = class Ke extends R {
13759
13805
  constructor(e) {
13760
13806
  super(e), this.selecting = q.Cell, this.mousedown = !1, this.ranges = [], this.overlay = null, this.rowHeader = null, this.layoutChangeTimeout = null, this.columnSelection = !1, this.rowSelection = !1, this.maxRanges = 0, this.activeRange = !1, this.blockKeydown = !1, this.rangeContainer = null, this.activeRangeCellElement = null, this.hoverRangeCellElement = null, this.hoveredCell = null, this.keyDownEvent = this._handleKeyDown.bind(this), this.mouseUpEvent = this._handleMouseUp.bind(this), this.registerTableOption("selectableRange", !1), this.registerTableOption("selectableRangeColumns", !1), this.registerTableOption("selectableRangeRows", !1), this.registerTableOption("selectableRangeClearCells", !1), this.registerTableOption("selectableRangeClearCellsValue", void 0), this.registerTableOption("selectableRangeAutoFocus", !0), this.registerTableFunction("getRangesData", this.getRangesData.bind(this)), this.registerTableFunction("getRanges", this.getRanges.bind(this)), this.registerTableFunction(
13761
13807
  "addRange",
@@ -13789,7 +13835,7 @@ const Ce = process.env.NODE_ENV === "development", za = x`<div class="tabulator-
13789
13835
  ));
13790
13836
  }
13791
13837
  initializeTable() {
13792
- this.overlay = document.createElement("div"), this.overlay.classList.add("tabulator-range-overlay"), this.rangeContainer = document.createElement("div"), this.rangeContainer.classList.add("tabulator-range-container"), this.activeRangeCellElement = document.createElement("div"), this.activeRangeCellElement.classList.add("tabulator-range-cell-active"), this.hoverRangeCellElement = T(za), this.overlay.appendChild(this.rangeContainer), this.overlay.appendChild(this.hoverRangeCellElement), this.overlay.appendChild(this.activeRangeCellElement), this.table.rowManager?.element && this.table.rowManager.element.addEventListener(
13838
+ this.overlay = document.createElement("div"), this.overlay.classList.add("tabulator-range-overlay"), this.rangeContainer = document.createElement("div"), this.rangeContainer.classList.add("tabulator-range-container"), this.activeRangeCellElement = document.createElement("div"), this.activeRangeCellElement.classList.add("tabulator-range-cell-active"), this.hoverRangeCellElement = T(Ha), this.overlay.appendChild(this.rangeContainer), this.overlay.appendChild(this.hoverRangeCellElement), this.overlay.appendChild(this.activeRangeCellElement), this.table.rowManager?.element && this.table.rowManager.element.addEventListener(
13793
13839
  "keydown",
13794
13840
  this.keyDownEvent
13795
13841
  ), this.resetRanges(), this.table.rowManager?.element && this.overlay && this.table.rowManager.element.appendChild(this.overlay), this.table.columnManager?.element && this.table.columnManager.element.setAttribute("tabindex", "0"), this.table.element.classList.add("tabulator-ranges");
@@ -14257,7 +14303,7 @@ const Ce = process.env.NODE_ENV === "development", za = x`<div class="tabulator-
14257
14303
  const s = this.ranges.shift();
14258
14304
  s && s.destroy(!1);
14259
14305
  }
14260
- const i = new Da(this.table, this, e, t);
14306
+ const i = new Oa(this.table, this, e, t);
14261
14307
  return this.activeRange = i, this.ranges.push(i), this.rangeContainer && i.element && this.rangeContainer.appendChild(i.element), i;
14262
14308
  }
14263
14309
  resetRanges() {
@@ -14290,9 +14336,9 @@ const Ce = process.env.NODE_ENV === "development", za = x`<div class="tabulator-
14290
14336
  return e == null || e === "";
14291
14337
  }
14292
14338
  };
14293
- Ke.moduleName = "selectRange", Ke.moduleInitOrder = 1, Ke.moduleExtensions = ka;
14339
+ Ke.moduleName = "selectRange", Ke.moduleInitOrder = 1, Ke.moduleExtensions = za;
14294
14340
  let ni = Ke;
14295
- function Fa(a, e, t, i, s, o, r) {
14341
+ function Pa(a, e, t, i, s, o, r) {
14296
14342
  const n = r.alignEmptyValues;
14297
14343
  let l = 0;
14298
14344
  if (!a && a !== 0)
@@ -14330,7 +14376,7 @@ function Fa(a, e, t, i, s, o, r) {
14330
14376
  }
14331
14377
  return (n === "top" && o === "desc" || n === "bottom" && o === "asc") && (l *= -1), l;
14332
14378
  }
14333
- function Oa(a, e, t, i, s, o, r) {
14379
+ function Aa(a, e, t, i, s, o, r) {
14334
14380
  const n = r.type || "length", l = r.alignEmptyValues;
14335
14381
  let h = 0;
14336
14382
  const c = this.table;
@@ -14378,10 +14424,10 @@ function Oa(a, e, t, i, s, o, r) {
14378
14424
  return n === "string" ? String(p(a)).toLowerCase().localeCompare(String(p(e)).toLowerCase()) : p(e) - p(a);
14379
14425
  return (l === "top" && o === "desc" || l === "bottom" && o === "asc") && (h *= -1), h;
14380
14426
  }
14381
- function Ha(a, e, t, i, s, o, r) {
14427
+ function _a(a, e, t, i, s, o, r) {
14382
14428
  return (a === !0 || a === "true" || a === "True" || a === 1 ? 1 : 0) - (e === !0 || e === "true" || e === "True" || e === 1 ? 1 : 0);
14383
14429
  }
14384
- const Pa = process.env.NODE_ENV === "development";
14430
+ const Na = process.env.NODE_ENV === "development";
14385
14431
  function Ri(a, e, t, i, s, o, r) {
14386
14432
  const { alignEmptyValues: n, format: l = "dd/MM/yyyy HH:mm:ss" } = r || {}, h = this.table.dependencyRegistry.lookup(
14387
14433
  ["luxon", "DateTime"],
@@ -14399,17 +14445,17 @@ function Ri(a, e, t, i, s, o, r) {
14399
14445
  }
14400
14446
  return (n === "top" && o === "desc" || n === "bottom" && o === "asc") && (c *= -1), c;
14401
14447
  } else
14402
- return Pa && console.error("Sort Error - 'datetime' sorter is dependent on luxon.js"), 0;
14448
+ return Na && console.error("Sort Error - 'datetime' sorter is dependent on luxon.js"), 0;
14403
14449
  }
14404
- function Aa(a, e, t, i, s, o, r) {
14450
+ function Va(a, e, t, i, s, o, r) {
14405
14451
  const n = r ?? {};
14406
14452
  return n.format || (n.format = "dd/MM/yyyy"), Ri.call(this, a, e, t, i, s, o, n);
14407
14453
  }
14408
- function _a(a, e, t, i, s, o, r) {
14454
+ function Ia(a, e, t, i, s, o, r) {
14409
14455
  const n = (c) => c === null || typeof c > "u" || c === "", l = n(a) ? 0 : 1, h = n(e) ? 0 : 1;
14410
14456
  return l - h;
14411
14457
  }
14412
- function Na(a, e, t, i, s, o, r) {
14458
+ function Ba(a, e, t, i, s, o, r) {
14413
14459
  const n = r ?? {}, l = n.alignEmptyValues, h = n.decimalSeparator, c = n.thousandSeparator;
14414
14460
  let d = 0, p = String(a), u = String(e);
14415
14461
  c && (p = p.split(c).join(""), u = u.split(c).join("")), h && (p = p.split(h).join("."), u = u.split(h).join("."));
@@ -14422,7 +14468,7 @@ function Na(a, e, t, i, s, o, r) {
14422
14468
  return f - w;
14423
14469
  return (l === "top" && o === "desc" || l === "bottom" && o === "asc") && (d *= -1), d;
14424
14470
  }
14425
- function Va(a, e, t, i, s, o, r = {}) {
14471
+ function Wa(a, e, t, i, s, o, r = {}) {
14426
14472
  const n = r.alignEmptyValues;
14427
14473
  let l = 0, h;
14428
14474
  const c = (d) => d == null || d === "";
@@ -14443,21 +14489,21 @@ function Va(a, e, t, i, s, o, r = {}) {
14443
14489
  }
14444
14490
  return (n === "top" && o === "desc" || n === "bottom" && o === "asc") && (l *= -1), l;
14445
14491
  }
14446
- function Ia(a, e, t, i, s, o, r) {
14492
+ function Ga(a, e, t, i, s, o, r) {
14447
14493
  const n = r ?? {}, l = n.format ? n : { ...n, format: "HH:mm" };
14448
14494
  return Ri.call(this, a, e, t, i, s, o, l);
14449
14495
  }
14450
- const Ba = {
14451
- alphanum: Fa,
14452
- array: Oa,
14453
- boolean: Ha,
14454
- date: Aa,
14496
+ const ja = {
14497
+ alphanum: Pa,
14498
+ array: Aa,
14499
+ boolean: _a,
14500
+ date: Va,
14455
14501
  datetime: Ri,
14456
- exists: _a,
14457
- number: Na,
14458
- string: Va,
14459
- time: Ia
14460
- }, ds = process.env.NODE_ENV === "development", Wa = {
14502
+ exists: Ia,
14503
+ number: Ba,
14504
+ string: Wa,
14505
+ time: Ga
14506
+ }, ds = process.env.NODE_ENV === "development", $a = {
14461
14507
  asc: "ascending",
14462
14508
  desc: "descending",
14463
14509
  none: "none"
@@ -14653,7 +14699,7 @@ const Ba = {
14653
14699
  }
14654
14700
  // set the column header sort direction
14655
14701
  setColumnHeader(e, t) {
14656
- e.modules.sort.dir = t, e.getElement().setAttribute("aria-sort", Wa[t]), this.setColumnHeaderSortIcon(e, t);
14702
+ e.modules.sort.dir = t, e.getElement().setAttribute("aria-sort", $a[t]), this.setColumnHeaderSortIcon(e, t);
14657
14703
  }
14658
14704
  setColumnHeaderSortIcon(e, t) {
14659
14705
  const i = e.modules.sort.element;
@@ -14709,9 +14755,9 @@ const Ba = {
14709
14755
  return 0;
14710
14756
  }
14711
14757
  };
14712
- Se.moduleName = "sort", Se.sorters = Ba;
14758
+ Se.moduleName = "sort", Se.sorters = ja;
14713
14759
  let ai = Se;
14714
- class Ga {
14760
+ class Ua {
14715
14761
  constructor(e, t) {
14716
14762
  this.columnCount = e, this.rowCount = t, this.columnString = [], this.columns = [], this.rows = [];
14717
14763
  }
@@ -14749,7 +14795,7 @@ class Ga {
14749
14795
  this.columnCount = e;
14750
14796
  }
14751
14797
  }
14752
- class Ds {
14798
+ class zs {
14753
14799
  constructor(e) {
14754
14800
  return this._sheet = e, new Proxy(this, {
14755
14801
  get: function(t, i) {
@@ -14800,7 +14846,7 @@ class Ds {
14800
14846
  }
14801
14847
  class us extends I {
14802
14848
  constructor(e, t) {
14803
- 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 Ga(this.columnCount, this.rowCount), this.defaultColumnDefinition = {
14849
+ 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 Ua(this.columnCount, this.rowCount), this.defaultColumnDefinition = {
14804
14850
  headerHozAlign: "center",
14805
14851
  headerSort: !1,
14806
14852
  title: "",
@@ -14855,7 +14901,7 @@ class us extends I {
14855
14901
  }
14856
14902
  // #region Helper Functions
14857
14903
  getComponent() {
14858
- return new Ds(this);
14904
+ return new zs(this);
14859
14905
  }
14860
14906
  getDefinition() {
14861
14907
  return {
@@ -15001,7 +15047,7 @@ Data: `,
15001
15047
  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)) : de && console.warn("Unable to remove sheet, at least one sheet must be active");
15002
15048
  }
15003
15049
  lookupSheet(e) {
15004
- return e ? e instanceof us ? e : e instanceof Ds ? e._sheet : this.sheets.find((t) => t.key === e) ?? null : this.activeSheet;
15050
+ return e ? e instanceof us ? e : e instanceof zs ? e._sheet : this.sheets.find((t) => t.key === e) ?? null : this.activeSheet;
15005
15051
  }
15006
15052
  /**
15007
15053
  * Public Functions
@@ -15115,7 +15161,7 @@ const Wi = class Wi extends R {
15115
15161
  };
15116
15162
  Wi.moduleName = "tooltip";
15117
15163
  let hi = Wi;
15118
- const ja = {
15164
+ const Ka = {
15119
15165
  // must be alphanumeric
15120
15166
  alphanumeric: function(a, e, t) {
15121
15167
  return e === "" || e === null || typeof e > "u" ? !0 : new RegExp(/^[a-z0-9]+$/i).test(e);
@@ -15195,7 +15241,7 @@ const ja = {
15195
15241
  n !== s && e === o.getFieldValue(n) && (i = !1);
15196
15242
  }), i;
15197
15243
  }
15198
- }, $a = process.env.NODE_ENV === "development", Xe = class Xe extends R {
15244
+ }, Xa = process.env.NODE_ENV === "development", Xe = class Xe extends R {
15199
15245
  constructor(e) {
15200
15246
  super(e), this.invalidCells = [], this.registerTableOption("validationMode", "blocking"), this.registerColumnOption("validator"), this.registerTableFunction(
15201
15247
  "getInvalidCells",
@@ -15326,7 +15372,7 @@ const ja = {
15326
15372
  func: i,
15327
15373
  params: t,
15328
15374
  type: typeof e == "function" ? "function" : e
15329
- } : ($a && console.warn(
15375
+ } : (Xa && console.warn(
15330
15376
  "Validator Setup Error - No matching validator found:",
15331
15377
  e
15332
15378
  ), !1);
@@ -15366,7 +15412,7 @@ const ja = {
15366
15412
  }
15367
15413
  }
15368
15414
  };
15369
- Xe.moduleName = "validate", Xe.validators = ja;
15415
+ Xe.moduleName = "validate", Xe.validators = Ka;
15370
15416
  let ci = Xe;
15371
15417
  const yt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
15372
15418
  __proto__: null,
@@ -15409,7 +15455,7 @@ const yt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
15409
15455
  TooltipModule: hi,
15410
15456
  ValidateModule: ci
15411
15457
  }, Symbol.toStringTag, { value: "Module" }));
15412
- class Ua extends gt {
15458
+ class Ja extends gt {
15413
15459
  constructor(e) {
15414
15460
  super(e);
15415
15461
  }
@@ -15431,7 +15477,7 @@ class Ua extends gt {
15431
15477
  }
15432
15478
  }
15433
15479
  const Ct = process.env.NODE_ENV === "development";
15434
- class Ka extends gt {
15480
+ class qa extends gt {
15435
15481
  constructor(e) {
15436
15482
  super(e), this.leftCol = 0, this.rightCol = 0, this.scrollLeft = 0, this.vDomScrollPosLeft = 0, this.vDomScrollPosRight = 0, this.vDomPadLeft = 0, this.vDomPadRight = 0, this.fitDataColAvg = 0, this.windowBuffer = 200, this.visibleRowsCache = null, this.initialized = !1, this.isFitData = !1, this.columns = [];
15437
15483
  }
@@ -15730,8 +15776,8 @@ class Ka extends gt {
15730
15776
  }
15731
15777
  }
15732
15778
  }
15733
- const Xa = process.env.NODE_ENV === "development";
15734
- class zs {
15779
+ const Ya = process.env.NODE_ENV === "development";
15780
+ class Fs {
15735
15781
  constructor(e, t, i = {}) {
15736
15782
  this.registeredDefaults = {}, this.table = e, this.msgType = t, this.registeredDefaults = { ...i };
15737
15783
  }
@@ -15742,16 +15788,16 @@ class zs {
15742
15788
  const i = { ...this.registeredDefaults }, s = this.table.options.debugInvalidOptions || t.debugInvalidOptions === !0;
15743
15789
  Object.assign(i, e);
15744
15790
  for (const o in t)
15745
- Object.hasOwn(t, o) && (Object.hasOwn(i, o) || (Xa && s && console.warn("Invalid " + this.msgType + " option:", o), i[o] = t[o]));
15791
+ Object.hasOwn(t, o) && (Object.hasOwn(i, o) || (Ya && s && console.warn("Invalid " + this.msgType + " option:", o), i[o] = t[o]));
15746
15792
  for (const o in i)
15747
15793
  Object.hasOwn(i, o) && (o in t ? i[o] = t[o] : Array.isArray(i[o]) ? i[o] = Object.assign([], i[o]) : typeof i[o] == "object" && i[o] !== null ? i[o] = { ...i[o] } : (i[o] === void 0 || i[o] === null) && delete i[o]);
15748
15794
  return i;
15749
15795
  }
15750
15796
  }
15751
15797
  const ps = process.env.NODE_ENV === "development";
15752
- class Ja extends I {
15798
+ class Qa extends I {
15753
15799
  constructor(e) {
15754
- 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 zs(
15800
+ 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 Fs(
15755
15801
  this.table,
15756
15802
  "column definition",
15757
15803
  Ms
@@ -15777,8 +15823,8 @@ class Ja extends I {
15777
15823
  initializeRenderer() {
15778
15824
  let e;
15779
15825
  const t = {
15780
- basic: Ua,
15781
- virtual: Ka
15826
+ basic: Ja,
15827
+ virtual: qa
15782
15828
  };
15783
15829
  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()) : ps && console.error(
15784
15830
  "Unable to find matching renderer:",
@@ -16128,7 +16174,7 @@ class Ja extends I {
16128
16174
  this.element && L.elVisible(this.element) && this.verticalAlignHeaders(), e && (this.table.rowManager?.resetScroll(), this.table.rowManager?.reinitialize()), this.confirm("table-redrawing", e) || this.layoutRefresh(e || !1), this.dispatch("table-redraw", e), this.table.footerManager?.redraw();
16129
16175
  }
16130
16176
  }
16131
- const qa = {
16177
+ const Za = {
16132
16178
  debugEventsExternal: !1,
16133
16179
  // flag to console log events
16134
16180
  debugEventsInternal: !1,
@@ -16188,7 +16234,7 @@ const qa = {
16188
16234
  dataReceiveParams: {}
16189
16235
  // dependencies: {},
16190
16236
  };
16191
- class Ya extends I {
16237
+ class el extends I {
16192
16238
  constructor(e) {
16193
16239
  super(e), this.active = !1, this.element = this.createElement(), this.containerElement = this.createContainerElement(), this.external = !1;
16194
16240
  }
@@ -16246,7 +16292,7 @@ class Ya extends I {
16246
16292
  this.dispatch("footer-redraw");
16247
16293
  }
16248
16294
  }
16249
- class Qa extends gt {
16295
+ class tl extends gt {
16250
16296
  constructor(e) {
16251
16297
  super(e), this.scrollTop = 0, this.scrollLeft = 0, this.verticalFillMode = "fill";
16252
16298
  }
@@ -16295,7 +16341,7 @@ class Qa extends gt {
16295
16341
  return this.rows();
16296
16342
  }
16297
16343
  }
16298
- class Za extends gt {
16344
+ class il extends gt {
16299
16345
  // total scroll height of virtual DOM
16300
16346
  constructor(e) {
16301
16347
  super(e), this.scrollTop = 0, this.scrollLeft = 0, this.vDomRowHeight = 20, this.vDomTop = 0, this.vDomBottom = 0, this.vDomScrollPosTop = 0, this.vDomScrollPosBottom = 0, this.vDomTopPad = 0, this.vDomBottomPad = 0, this.vDomMaxRenderChain = 90, this.vDomWindowBuffer = 0, this.vDomWindowMinTotalRows = 20, this.vDomWindowMinMarginRows = 5, this.vDomTopNewRows = [], this.vDomBottomNewRows = [], this.vDomScrollHeight = 0, this.verticalFillMode = "fill";
@@ -16541,8 +16587,8 @@ class Za extends gt {
16541
16587
  t.setCellHeight();
16542
16588
  }
16543
16589
  }
16544
- const Ee = process.env.NODE_ENV === "development", el = x`<div class="tabulator-tableholder-wrapper"></div>`;
16545
- class tl extends I {
16590
+ const Ee = process.env.NODE_ENV === "development", sl = x`<div class="tabulator-tableholder-wrapper"></div>`;
16591
+ class ol extends I {
16546
16592
  /**
16547
16593
  * True when table has an explicit height (--table-height is set to a non-auto value (e.g. 100%, 500px));
16548
16594
  * false when height is variable (--table-height is "auto" or unset).
@@ -16556,7 +16602,7 @@ class tl extends I {
16556
16602
  }
16557
16603
  // ////////////// Setup Functions /////////////////
16558
16604
  createWrapperElement() {
16559
- return T(el);
16605
+ return T(sl);
16560
16606
  }
16561
16607
  createHolderElement() {
16562
16608
  const e = document.createElement("div");
@@ -16987,8 +17033,8 @@ Data: `,
16987
17033
  initializeRenderer() {
16988
17034
  let e;
16989
17035
  const t = {
16990
- basic: Qa,
16991
- virtual: Za
17036
+ basic: tl,
17037
+ virtual: il
16992
17038
  };
16993
17039
  typeof this.table.options.renderVertical == "string" ? e = t[this.table.options.renderVertical] : e = this.table.options.renderVertical, e ? (this.renderMode = this.table.options.renderVertical, this.renderer = new e(this.table, this.element, this.tableElement), this.renderer?.initialize()) : Ee && console.error(
16994
17040
  "Unable to find matching renderer:",
@@ -17118,7 +17164,7 @@ Data: `,
17118
17164
  this.element.dispatchEvent(new Event("scroll"));
17119
17165
  }
17120
17166
  }
17121
- class il extends I {
17167
+ class rl extends I {
17122
17168
  constructor(e) {
17123
17169
  super(e), this.type = null, this.element = this._createAlertElement(), this.msgElement = this._createMsgElement(), this.element.appendChild(this.msgElement);
17124
17170
  }
@@ -17147,7 +17193,7 @@ class il extends I {
17147
17193
  }
17148
17194
  }
17149
17195
  const fs = process.env.NODE_ENV === "development";
17150
- class sl {
17196
+ class nl {
17151
17197
  constructor(e) {
17152
17198
  this.bindings = {}, this.table = e;
17153
17199
  }
@@ -17295,8 +17341,8 @@ const it = process.env.NODE_ENV === "development", at = class at extends I {
17295
17341
  };
17296
17342
  at.DEBOUNCE_DELAY = 500;
17297
17343
  let di = at;
17298
- const ol = process.env.NODE_ENV === "development";
17299
- class rl extends I {
17344
+ const al = process.env.NODE_ENV === "development";
17345
+ class ll extends I {
17300
17346
  constructor(e) {
17301
17347
  super(e), this.deps = {}, this.props = {};
17302
17348
  }
@@ -17331,20 +17377,20 @@ class rl extends I {
17331
17377
  return this.deps[e] ? i = this.deps[e] : globalThis[e] ? (this.deps[e] = globalThis[e], i = this.deps[e]) : t || this.error(e), i;
17332
17378
  }
17333
17379
  error(e) {
17334
- ol && console.error(
17380
+ al && console.error(
17335
17381
  "Unable to find dependency",
17336
17382
  e,
17337
17383
  "Please check documentation and ensure you have imported the required library into your project"
17338
17384
  );
17339
17385
  }
17340
17386
  }
17341
- const nl = process.env.NODE_ENV === "development";
17342
- class al extends I {
17387
+ const hl = process.env.NODE_ENV === "development";
17388
+ class cl extends I {
17343
17389
  constructor(e) {
17344
17390
  super(e);
17345
17391
  }
17346
17392
  _warnUser(...e) {
17347
- this.options("debugDeprecation") && nl && console.warn(...e);
17393
+ this.options("debugDeprecation") && hl && console.warn(...e);
17348
17394
  }
17349
17395
  check(e, t, i) {
17350
17396
  if (this.options(e) === void 0 || this.options(e) === null)
@@ -17377,7 +17423,7 @@ class al extends I {
17377
17423
  }
17378
17424
  }
17379
17425
  const Et = process.env.NODE_ENV === "development";
17380
- class ll {
17426
+ class dl {
17381
17427
  constructor(e, t, i) {
17382
17428
  this.events = {}, this.subscriptionNotifiers = {}, this.table = e, this.events = {}, this.optionsList = t || {}, this.subscriptionNotifiers = {}, this.dispatch = i ? this._debugDispatch.bind(this) : this._dispatch.bind(this), this.debug = i;
17383
17429
  }
@@ -17430,8 +17476,8 @@ class ll {
17430
17476
  return Et && (this.debug === !0 || Array.isArray(this.debug) && this.debug.includes(e)) && console.log(i, ...t), this._dispatch(e, ...t);
17431
17477
  }
17432
17478
  }
17433
- const hl = process.env.NODE_ENV === "development";
17434
- class cl extends I {
17479
+ const ul = process.env.NODE_ENV === "development";
17480
+ class pl extends I {
17435
17481
  constructor(e) {
17436
17482
  super(e), this.el = null, this.abortClasses = ["tabulator-headers", "tabulator-table"], this.previousTargets = {}, this.listeners = [
17437
17483
  "click",
@@ -17582,7 +17628,7 @@ class cl extends I {
17582
17628
  s.components.includes("column") && (h = this.table.columnManager?.findColumn(c));
17583
17629
  break;
17584
17630
  case "cell":
17585
- s.components.includes("cell") && (o.row instanceof V ? h = o.row.findCell(c) : hl && t.row && console.warn(
17631
+ s.components.includes("cell") && (o.row instanceof V ? h = o.row.findCell(c) : ul && t.row && console.warn(
17586
17632
  "Event Target Lookup Error - The row this cell is attached to cannot be found, has the table been reinitialized without being destroyed first?"
17587
17633
  ));
17588
17634
  break;
@@ -17613,7 +17659,7 @@ class cl extends I {
17613
17659
  }
17614
17660
  }
17615
17661
  const Ge = process.env.NODE_ENV === "development";
17616
- class dl {
17662
+ class fl {
17617
17663
  constructor(e) {
17618
17664
  this.events = {}, this.subscriptionNotifiers = {}, this.events = {}, this.subscriptionNotifiers = {}, this.dispatch = e ? this._debugDispatch.bind(this) : this._dispatch.bind(this), this.chain = e ? this._debugChain.bind(this) : this._chain.bind(this), this.confirm = e ? this._debugConfirm.bind(this) : this._confirm.bind(this), this.debug = e;
17619
17665
  }
@@ -17686,7 +17732,7 @@ class dl {
17686
17732
  return Ge && (this.debug === !0 || Array.isArray(this.debug) && this.debug.includes(e)) && console.log(i, t), this._confirm(e, t);
17687
17733
  }
17688
17734
  }
17689
- function ul(a) {
17735
+ function gl(a) {
17690
17736
  let e = this.table.element?.clientWidth || 0;
17691
17737
  const t = this.table.columnManager?.contentsElement;
17692
17738
  if (t) {
@@ -17750,7 +17796,7 @@ function ul(a) {
17750
17796
  w.column.setWidth(w.width);
17751
17797
  });
17752
17798
  }
17753
- async function pl(a, e) {
17799
+ async function ml(a, e) {
17754
17800
  e && this.table.columnManager?.renderer && await this.table.columnManager.renderer.reinitializeColumnWidths(a), this.table.options.responsiveLayout && this.table.modExists("responsiveLayout", !0) && this.table.modules.responsiveLayout.update();
17755
17801
  }
17756
17802
  async function gs(a) {
@@ -17758,7 +17804,7 @@ async function gs(a) {
17758
17804
  await e.reinitializeWidth();
17759
17805
  this.table.options.responsiveLayout && this.table.modExists("responsiveLayout", !0) && this.table.modules.responsiveLayout.update();
17760
17806
  }
17761
- async function fl(a) {
17807
+ async function bl(a) {
17762
17808
  let e = 0, t = this.table.element?.clientWidth || 0;
17763
17809
  const i = this.table.columnManager?.contentsElement;
17764
17810
  if (i) {
@@ -17771,20 +17817,20 @@ async function fl(a) {
17771
17817
  n.widthFixed || await n.reinitializeWidth(), (this.table.options.responsiveLayout ? n.modules.responsive.visible : !n.hidden) && (r = n), n.hidden || (e += n.getWidth());
17772
17818
  r ? (o = s - e + r.getWidth(), this.table.options.responsiveLayout && this.table.modExists("responsiveLayout", !0) && (r.setWidth(0), this.table.modules.responsiveLayout?.update()), o > 0 ? r.setWidth(o) : await r.reinitializeWidth()) : this.table.options.responsiveLayout && this.table.modExists("responsiveLayout", !0) && this.table.modules.responsiveLayout.update();
17773
17819
  }
17774
- const gl = {
17775
- fitColumns: ul,
17776
- fitData: pl,
17820
+ const wl = {
17821
+ fitColumns: gl,
17822
+ fitData: ml,
17777
17823
  fitDataFill: gs,
17778
- fitDataStretch: fl,
17824
+ fitDataStretch: bl,
17779
17825
  fitDataTable: gs
17780
- }, ml = process.env.NODE_ENV === "development", Te = class Te extends R {
17826
+ }, vl = process.env.NODE_ENV === "development", Te = class Te extends R {
17781
17827
  constructor(e) {
17782
17828
  super(e), this.mode = null, this.registerTableOption("layout", "fitData"), this.registerTableOption("layoutColumnsOnNewData", !1), this.registerColumnOption("widthGrow"), this.registerColumnOption("widthShrink");
17783
17829
  }
17784
17830
  // initialize layout system
17785
17831
  initialize() {
17786
17832
  const e = this.table.options.layout;
17787
- e && Te.modes[e] ? this.mode = e : (ml && console.warn(
17833
+ e && Te.modes[e] ? this.mode = e : (vl && console.warn(
17788
17834
  "Layout Error - invalid mode set, defaulting to 'fitData' : " + e
17789
17835
  ), this.mode = "fitData"), this.table.element.setAttribute("tabulator-layout", this.mode), this.subscribe("column-init", this.initializeColumn.bind(this));
17790
17836
  }
@@ -17808,9 +17854,9 @@ const gl = {
17808
17854
  ), t && this.table.rowManager?.normalizeHeight(!0), this.dispatch("layout-refreshed");
17809
17855
  }
17810
17856
  };
17811
- Te.moduleName = "layout", Te.modes = gl;
17857
+ Te.moduleName = "layout", Te.modes = wl;
17812
17858
  let ui = Te;
17813
- const bl = {
17859
+ const yl = {
17814
17860
  default: {
17815
17861
  columns: {},
17816
17862
  data: {
@@ -17926,7 +17972,7 @@ const bl = {
17926
17972
  });
17927
17973
  }
17928
17974
  };
17929
- Je.moduleName = "localize", Je.langs = bl;
17975
+ Je.moduleName = "localize", Je.langs = yl;
17930
17976
  let pi = Je;
17931
17977
  const bs = process.env.NODE_ENV === "development", Gi = class Gi extends R {
17932
17978
  constructor(e) {
@@ -17958,12 +18004,12 @@ const bs = process.env.NODE_ENV === "development", Gi = class Gi extends R {
17958
18004
  };
17959
18005
  Gi.moduleName = "comms";
17960
18006
  let fi = Gi;
17961
- const wl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
18007
+ const Cl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
17962
18008
  __proto__: null,
17963
18009
  CommsModule: fi,
17964
18010
  LayoutModule: ui,
17965
18011
  LocalizeModule: pi
17966
- }, Symbol.toStringTag, { value: "Module" })), vl = process.env.NODE_ENV === "development", Q = class Q {
18012
+ }, Symbol.toStringTag, { value: "Module" })), El = process.env.NODE_ENV === "development", Q = class Q {
17967
18013
  static findTable(e) {
17968
18014
  const t = Q.registry.lookupTable(e, !0);
17969
18015
  return Array.isArray(t) && !t.length ? !1 : t;
@@ -17984,7 +18030,7 @@ Q.registry = {
17984
18030
  } else typeof HTMLElement < "u" && e instanceof HTMLElement || e instanceof Q ? (o = Q.registry.matchElement(e), o && i.push(o)) : Array.isArray(e) ? e.forEach((r) => {
17985
18031
  const n = Q.registry.lookupTable(r, !0);
17986
18032
  i.push(...n);
17987
- }) : vl && !t && console.warn("Table Connection Error - Invalid Selector", e);
18033
+ }) : El && !t && console.warn("Table Connection Error - Invalid Selector", e);
17988
18034
  return i;
17989
18035
  },
17990
18036
  matchElement(e) {
@@ -18001,7 +18047,7 @@ const st = process.env.NODE_ENV === "development", D = class D extends gi {
18001
18047
  super(), this.modulesCore = [], this.modulesRegular = [];
18002
18048
  }
18003
18049
  static initializeModuleBinder(e) {
18004
- D.modulesRegistered || (D.modulesRegistered = !0, D._registerModules(wl, !0), e && D._registerModules(e));
18050
+ D.modulesRegistered || (D.modulesRegistered = !0, D._registerModules(Cl, !0), e && D._registerModules(e));
18005
18051
  }
18006
18052
  static _extendModule(e, t, i) {
18007
18053
  if (D.moduleBindings[e]) {
@@ -18091,7 +18137,7 @@ const F = process.env.NODE_ENV === "development", le = class le extends mi {
18091
18137
  le.initializeModuleBinder(), le._registerModule(...e);
18092
18138
  }
18093
18139
  constructor(e, t, i) {
18094
- super(), le.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 sl(this), this.dataLoader = null, this.modules = {}, this.modulesCore = [], this.modulesRegular = [], this.deprecationAdvisor = new al(this), this.optionsList = new zs(this, "table constructor"), this.dependencyRegistry = new rl(this), this.initialized = !1, this.destroyed = !1, this.initializeElement(e) && (this.initializeCoreSystems(t), setTimeout(() => {
18140
+ super(), le.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 nl(this), this.dataLoader = null, this.modules = {}, this.modulesCore = [], this.modulesRegular = [], this.deprecationAdvisor = new cl(this), this.optionsList = new Fs(this, "table constructor"), this.dependencyRegistry = new ll(this), this.initialized = !1, this.destroyed = !1, this.initializeElement(e) && (this.initializeCoreSystems(t), setTimeout(() => {
18095
18141
  this._create();
18096
18142
  })), this.constructor.registry.register(this);
18097
18143
  }
@@ -18111,11 +18157,11 @@ const F = process.env.NODE_ENV === "development", le = class le extends mi {
18111
18157
  ), !1;
18112
18158
  }
18113
18159
  initializeCoreSystems(e) {
18114
- this.columnManager = new Ja(this), this.rowManager = new tl(this), this.footerManager = new Ya(this), this.dataLoader = new di(this), this.alertManager = new il(this), this.toolbar = e?.toolbarElement, this._bindModules(), this.options = this.optionsList.generate(le.defaultOptions, e), this._clearObjectPointers(), this._mapDeprecatedFunctionality(), this.externalEvents = new ll(
18160
+ this.columnManager = new Qa(this), this.rowManager = new ol(this), this.footerManager = new el(this), this.dataLoader = new di(this), this.alertManager = new rl(this), this.toolbar = e?.toolbarElement, this._bindModules(), this.options = this.optionsList.generate(le.defaultOptions, e), this._clearObjectPointers(), this._mapDeprecatedFunctionality(), this.externalEvents = new dl(
18115
18161
  this,
18116
18162
  this.options,
18117
18163
  this.options.debugEventsExternal
18118
- ), this.eventBus = new dl(this.options.debugEventsInternal), this.interactionMonitor = new cl(this), this.dataLoader.initialize(), this.footerManager.initialize(), this.dependencyRegistry.initialize();
18164
+ ), this.eventBus = new fl(this.options.debugEventsInternal), this.interactionMonitor = new pl(this), this.dataLoader.initialize(), this.footerManager.initialize(), this.dependencyRegistry.initialize();
18119
18165
  }
18120
18166
  // convert deprecated functionality to new functions
18121
18167
  _mapDeprecatedFunctionality() {
@@ -18481,7 +18527,7 @@ const F = process.env.NODE_ENV === "development", le = class le extends mi {
18481
18527
  return !t && F && console.error("Tabulator module not installed: " + e), t;
18482
18528
  }
18483
18529
  };
18484
- le.defaultOptions = qa;
18530
+ le.defaultOptions = Za;
18485
18531
  let we = le;
18486
18532
  class ws extends we {
18487
18533
  static extendModule(...e) {
@@ -18495,7 +18541,7 @@ class ws extends we {
18495
18541
  }
18496
18542
  // #endregion
18497
18543
  }
18498
- class dh {
18544
+ class fh {
18499
18545
  constructor(e) {
18500
18546
  this.type = e, this.element = this._createElement();
18501
18547
  }
@@ -18535,16 +18581,16 @@ class dh {
18535
18581
  rendered() {
18536
18582
  }
18537
18583
  }
18538
- var yl = Object.defineProperty, Cl = Object.getOwnPropertyDescriptor, Fs = (a) => {
18584
+ var xl = Object.defineProperty, Rl = Object.getOwnPropertyDescriptor, Os = (a) => {
18539
18585
  throw TypeError(a);
18540
18586
  }, b = (a, e, t, i) => {
18541
- for (var s = i > 1 ? void 0 : i ? Cl(e, t) : e, o = a.length - 1, r; o >= 0; o--)
18587
+ for (var s = i > 1 ? void 0 : i ? Rl(e, t) : e, o = a.length - 1, r; o >= 0; o--)
18542
18588
  (r = a[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
18543
- return i && s && yl(e, t, s), s;
18544
- }, El = (a, e, t) => e.has(a) || Fs("Cannot " + t), xl = (a, e, t) => (El(a, e, "read from private field"), t ? t.call(a) : e.get(a)), Rl = (a, e, t) => e.has(a) ? Fs("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(a) : e.set(a, t), bi, Os;
18589
+ return i && s && xl(e, t, s), s;
18590
+ }, Sl = (a, e, t) => e.has(a) || Os("Cannot " + t), Tl = (a, e, t) => (Sl(a, e, "read from private field"), t ? t.call(a) : e.get(a)), Ml = (a, e, t) => e.has(a) ? Os("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(a) : e.set(a, t), bi, Hs;
18545
18591
  let m = class extends Ne {
18546
18592
  constructor() {
18547
- super(), Rl(this, bi), this.localize = new lt(this), this.verticalOsInstance = null, this.horizontalOsInstance = null, this.resizeObserver = null, this.overflowObserver = null, this.filterController = new uo(this), this.shadowRootAutoloader = new Qs(this), 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.columnDefaults = {}, this.canSearch = !1, this.noAdvancedSearch = !1, this.showSavedSearch = !1, this.searchFields = [], this.canAdd = !1, this.addLabel = this.localize.term("add"), this.canExportCsv = !1, this.canExportXml = !1, this.canExportCustom = !1, this.canSaveReport = !1, this.savedSearchURL = "", this.savedSearchItems = [], this.savedSearchPageSizeParam = "PageSize", this.savedSearchPageSize = 10, this.savedSearchPageNumberParam = "PageNumber", this.dropdownFilters = [], this.ajaxURL = void 0, this.ajaxURLGenerator = void 0, this.ajaxParams = void 0, this.ajaxResponse = void 0, 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.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.dataTreeBranchElement = 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 = je.Both, this.clipboardCopyRowRange = "range", this.clipboardPasteParser = void 0, this.clipboardPasteAction = "insert", this.clipboardCopyConfig = { columnHeaders: !1 }, this.clipboardNoCopyStyled = !1, this.pagination = !1, this.paginationMode = he.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 = Is.Both, this.paginationShowFirst = !1, this.paginationShowLast = !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 = he.Local, this.placeholderHeaderFilter = "No matching data", this.noColumnPlaceholderText = this.localize.term("noColumnsVisible"), this.useOverlayScrollbar = !1, this.loading = !1, this.tabulatorInstance = null, this.watchedEvents = /* @__PURE__ */ new Set(), this.activeSearchValue = "", this.handleTableBuilt = () => {
18593
+ super(), Ml(this, bi), this.localize = new lt(this), this.verticalOsInstance = null, this.horizontalOsInstance = null, this.resizeObserver = null, this.overflowObserver = null, this.filterController = new po(this), this.shadowRootAutoloader = new Zs(this), 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.columnDefaults = {}, this.canSearch = !1, this.noAdvancedSearch = !1, this.showSavedSearch = !1, this.searchFields = [], this.canAdd = !1, this.addLabel = this.localize.term("add"), this.canExportCsv = !1, this.canExportXml = !1, this.canExportCustom = !1, this.canSaveReport = !1, this.savedSearchURL = "", this.savedSearchItems = [], this.savedSearchPageSizeParam = "PageSize", this.savedSearchPageSize = 10, this.savedSearchPageNumberParam = "PageNumber", this.dropdownFilters = [], this.ajaxURL = void 0, this.ajaxURLGenerator = void 0, this.ajaxParams = void 0, this.ajaxResponse = void 0, 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.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.dataTreeBranchElement = 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 = je.Both, this.clipboardCopyRowRange = "range", this.clipboardPasteParser = void 0, this.clipboardPasteAction = "insert", this.clipboardCopyConfig = { columnHeaders: !1 }, this.clipboardNoCopyStyled = !1, this.pagination = !1, this.paginationMode = he.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 = Bs.Both, this.paginationShowFirst = !1, this.paginationShowLast = !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 = he.Local, this.placeholderHeaderFilter = "No matching data", this.noColumnPlaceholderText = this.localize.term("noColumnsVisible"), this.useOverlayScrollbar = !1, this.loading = !1, this.tabulatorInstance = null, this.watchedEvents = /* @__PURE__ */ new Set(), this.activeSearchValue = "", this.handleTableBuilt = () => {
18548
18594
  this.useOverlayScrollbar ? this.initVerticalScrollbar() : this.verticalOsInstance?.destroy(), this.initHorizontalScrollbar(), this.initOverflowObserver(), this.filterController.syncDropdownFilterSources(this.dropdownFilters), this.handleSearch(), this.filterController.applyFilters();
18549
18595
  }, this.checkHorizontalOverflow = () => {
18550
18596
  if (!this.tabulatorElement || !this.tabulatorHolder)
@@ -18591,7 +18637,7 @@ let m = class extends Ne {
18591
18637
  }
18592
18638
  async initTable() {
18593
18639
  let a = this.rowHeader;
18594
- a == null && (this.movableRows ? a = No : this.responsiveLayout === "collapse" && (a = {
18640
+ a == null && (this.movableRows ? a = Vo : this.responsiveLayout === "collapse" && (a = {
18595
18641
  formatter: "responsiveCollapse"
18596
18642
  })), this.tabulatorInstance = new ws(this.table, {
18597
18643
  ajaxParams: this.ajaxParams,
@@ -18641,7 +18687,7 @@ let m = class extends Ne {
18641
18687
  groupHeaderPrint: this.groupHeaderPrint,
18642
18688
  groupIndent: this.groupIndent,
18643
18689
  groupLoadMoreMeta: this.groupLoadMoreMeta,
18644
- groupStartOpen: xl(this, bi, Os),
18690
+ groupStartOpen: Tl(this, bi, Hs),
18645
18691
  groupToggleElement: this.groupToggleElement,
18646
18692
  groupUpdateOnCellEdit: this.groupUpdateOnCellEdit,
18647
18693
  groupValues: this.groupValues,
@@ -18856,7 +18902,7 @@ let m = class extends Ne {
18856
18902
  direction="vertical"
18857
18903
  spacing="large"
18858
18904
  wrap="nowrap"
18859
- class=${Ws({
18905
+ class=${Gs({
18860
18906
  container: !0,
18861
18907
  "container--overlay-scrollbar": this.useOverlayScrollbar
18862
18908
  })}
@@ -18891,23 +18937,23 @@ let m = class extends Ne {
18891
18937
  }
18892
18938
  };
18893
18939
  bi = /* @__PURE__ */ new WeakSet();
18894
- Os = function() {
18940
+ Hs = function() {
18895
18941
  return this.groupStartOpenValues !== void 0 && this.groupStartOpenValues !== null ? (a) => this.groupStartOpenValues?.includes(a) ?? !1 : this.groupStartOpen;
18896
18942
  };
18897
18943
  m.styles = [
18898
18944
  qe,
18899
- _o,
18900
- Ns
18945
+ No,
18946
+ Vs
18901
18947
  ];
18902
18948
  m.dependencies = {
18903
18949
  "cx-button": _e,
18904
- "cx-checkbox": Hs,
18950
+ "cx-checkbox": Ps,
18905
18951
  "cx-divider": vs,
18906
- "cx-format-number": Ps,
18952
+ "cx-format-number": As,
18907
18953
  "cx-icon-button": ys,
18908
- "cx-select": As,
18954
+ "cx-select": _s,
18909
18955
  "cx-space": wi,
18910
- "cx-spinner": _s,
18956
+ "cx-spinner": Ns,
18911
18957
  "cx-table-row-actions": ve,
18912
18958
  "cx-table-toolbar": O
18913
18959
  };
@@ -19191,7 +19237,7 @@ b([
19191
19237
  b([
19192
19238
  g({
19193
19239
  attribute: "frozen-rows",
19194
- converter: Vo
19240
+ converter: Io
19195
19241
  })
19196
19242
  ], m.prototype, "frozenRows", 2);
19197
19243
  b([
@@ -19209,7 +19255,7 @@ b([
19209
19255
  b([
19210
19256
  g({
19211
19257
  attribute: "group-by",
19212
- converter: Bo
19258
+ converter: Wo
19213
19259
  })
19214
19260
  ], m.prototype, "groupBy", 2);
19215
19261
  b([
@@ -19364,7 +19410,7 @@ b([
19364
19410
  b([
19365
19411
  g({
19366
19412
  attribute: "data-tree-start-expanded",
19367
- converter: Io
19413
+ converter: Bo
19368
19414
  })
19369
19415
  ], m.prototype, "dataTreeStartExpanded", 2);
19370
19416
  b([
@@ -19858,10 +19904,10 @@ export {
19858
19904
  R as M,
19859
19905
  ei as N,
19860
19906
  ti as O,
19861
- dh as P,
19907
+ fh as P,
19862
19908
  ii as Q,
19863
19909
  Ei as R,
19864
- Ds as S,
19910
+ zs as S,
19865
19911
  we as T,
19866
19912
  si as U,
19867
19913
  oi as V,
@@ -19875,8 +19921,8 @@ export {
19875
19921
  O as a1,
19876
19922
  Ci as b,
19877
19923
  Lt as c,
19878
- or as d,
19879
- La as e,
19924
+ rr as d,
19925
+ Fa as e,
19880
19926
  V as f,
19881
19927
  Qe as g,
19882
19928
  gt as h,