@orangelogic/design-system 2.167.0 → 2.169.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 (99) hide show
  1. package/library/chunks/{asset-link-format.DZxMYHXr.js → asset-link-format.BSo7khRt.js} +5 -5
  2. package/library/chunks/{button.0_maNYUS.js → button.DDem_XZq.js} +1 -1
  3. package/library/chunks/{color-swatch-group.Bf3Y6g59.js → color-swatch-group.C_PwK2oY.js} +420 -366
  4. package/library/chunks/{color-swatch.QsHoy_K1.js → color-swatch.DpzAGKQx.js} +1 -1
  5. package/library/chunks/{confirm-popover.B0QtiuAB.js → confirm-popover.Cx6BUoTL.js} +3 -3
  6. package/library/chunks/{dialog.05FgdLBZ.js → dialog.B_v8598F.js} +2 -2
  7. package/library/chunks/{document-viewer.CLgrca4F.js → document-viewer.BT1kp8Ig.js} +5 -5
  8. package/library/chunks/{dot-pagination.Pg9O0nIh.js → dot-pagination.BqGFeFXK.js} +1 -1
  9. package/library/chunks/{folder-select.BSFjkzJr.js → folder-select.B9qqU1CQ.js} +139 -107
  10. package/library/chunks/{header.DDI0MfJA.js → header.CWlWNree.js} +1 -1
  11. package/library/chunks/{i18n.Bchq8v1d.js → i18n.DbXTTLXx.js} +1 -0
  12. package/library/chunks/{icon-button.BwmMJ0bI.js → icon-button.DJvfUmOl.js} +1 -1
  13. package/library/chunks/{iframe.Cc-xZIm_.js → iframe.-GCTFas1.js} +1 -1
  14. package/library/chunks/{image.BgODrAzQ.js → image.mG-NXUWX.js} +1 -1
  15. package/library/chunks/{input.DOorVTYZ.js → input.B-c9KEAH.js} +1 -1
  16. package/library/chunks/{markdown.I1AJG75v.js → markdown.qQGMz1OY.js} +2 -2
  17. package/library/chunks/{option.DyNR1vzy.js → option.Bvyag0r1.js} +1 -1
  18. package/library/chunks/{pagination.CuoIeOp9.js → pagination.TxcRv9BL.js} +5 -5
  19. package/library/chunks/{tab-group.f6LdzCbP.js → tab-group.BdWDbwBy.js} +3 -3
  20. package/library/chunks/{tree.vn5sHbdt.js → tree.B0-6Ny9b.js} +31 -31
  21. package/library/components/alert.js +2 -2
  22. package/library/components/asset-link-format.js +3 -3
  23. package/library/components/atoms.js +14 -14
  24. package/library/components/audio.js +2 -2
  25. package/library/components/border-input-group.js +2 -2
  26. package/library/components/breadcrumb.js +1 -1
  27. package/library/components/button.js +2 -2
  28. package/library/components/color-picker.js +3 -3
  29. package/library/components/color-swatch-group.js +3 -3
  30. package/library/components/color-swatch.js +2 -2
  31. package/library/components/confirm-popover.js +4 -4
  32. package/library/components/copy-button.js +1 -1
  33. package/library/components/corner-position-input-group.js +3 -3
  34. package/library/components/date-calendar.js +1 -1
  35. package/library/components/details.js +1 -1
  36. package/library/components/dialog.js +3 -3
  37. package/library/components/document-viewer.js +3 -3
  38. package/library/components/dot-pagination.js +2 -2
  39. package/library/components/drawer.js +2 -2
  40. package/library/components/dropdown.js +2 -2
  41. package/library/components/dynamic-select.js +4 -4
  42. package/library/components/e-chart.js +1 -1
  43. package/library/components/element-clamp.js +2 -2
  44. package/library/components/file-on-demand.js +9 -9
  45. package/library/components/folder-select.js +6 -5
  46. package/library/components/format-bytes.js +1 -1
  47. package/library/components/format-date.js +1 -1
  48. package/library/components/format-number.js +1 -1
  49. package/library/components/format-time.js +1 -1
  50. package/library/components/header.js +2 -2
  51. package/library/components/icon-button.js +2 -2
  52. package/library/components/iframe.js +2 -2
  53. package/library/components/image-comparer.js +1 -1
  54. package/library/components/image.js +2 -2
  55. package/library/components/input.js +2 -2
  56. package/library/components/line-clamp.js +1 -1
  57. package/library/components/markdown.js +3 -3
  58. package/library/components/masonry.js +2 -2
  59. package/library/components/menu-item.js +1 -1
  60. package/library/components/menu.js +1 -1
  61. package/library/components/molecules.js +3 -3
  62. package/library/components/option.js +2 -2
  63. package/library/components/organisms.js +2 -2
  64. package/library/components/padding-input-group.js +1 -1
  65. package/library/components/pagination.js +6 -6
  66. package/library/components/popup.js +1 -1
  67. package/library/components/position-picker.js +1 -1
  68. package/library/components/progress-bar.js +1 -1
  69. package/library/components/progress-ring.js +1 -1
  70. package/library/components/range.js +1 -1
  71. package/library/components/rating.js +1 -1
  72. package/library/components/relative-time.js +1 -1
  73. package/library/components/select.js +2 -2
  74. package/library/components/shadow-input-group.js +1 -1
  75. package/library/components/share-option-list.js +1 -1
  76. package/library/components/sidebar.js +1 -1
  77. package/library/components/size-input-group.js +3 -3
  78. package/library/components/spinner.js +1 -1
  79. package/library/components/split-panel.js +1 -1
  80. package/library/components/tab-group.js +4 -4
  81. package/library/components/tab.js +2 -2
  82. package/library/components/tag.js +18 -18
  83. package/library/components/tooltip.js +1 -1
  84. package/library/components/tree-item.js +2 -2
  85. package/library/components/tree.js +2 -2
  86. package/library/components/typeface.js +2 -2
  87. package/library/components/types.js +1993 -1977
  88. package/library/components/video.js +2 -2
  89. package/library/package.json +1 -1
  90. package/library/packages/hybrid/table-core/src/table/table.d.ts +5 -4
  91. package/library/packages/hybrid/table-core/src/tabulator-tables/core/cell/Cell.d.ts +5 -1
  92. package/library/packages/molecules/src/faceted-filter/components/facet/facet.d.ts +1 -0
  93. package/library/packages/molecules/src/folder-select/components/folder-select-tree/folder-select-tree.d.ts +7 -0
  94. package/library/packages/molecules/src/folder-select/folder-select.d.ts +9 -0
  95. package/library/packages/organisms/src/xml-editor/components/element-tag/element-tag.d.ts +3 -0
  96. package/library/packages/types/src/table.d.ts +3 -1
  97. package/library/packages/utils/src/custom-element/i18n.d.ts +1 -0
  98. package/library/utils.js +1 -1
  99. package/package.json +1 -1
@@ -1,15 +1,15 @@
1
1
  import Ri from "../components/space.js";
2
2
  import { C as Ir, T as Rn } from "./typography.IqHbnd3C.js";
3
3
  import { n as m, C as Pe } from "./lib-cortex-element.CVMmyPMC.js";
4
- import { C as Hr, a as es } from "./color-swatch.QsHoy_K1.js";
4
+ import { C as Hr, a as es } from "./color-swatch.DpzAGKQx.js";
5
5
  import { c as $e } from "./component.styles.CRO4Odto.js";
6
- import { C as Ct } from "./button.0_maNYUS.js";
7
- import { C as Sn, o as kn, O as No } from "./dialog.05FgdLBZ.js";
8
- import { C as oi } from "./icon-button.BwmMJ0bI.js";
6
+ import { C as Ct } from "./button.DDem_XZq.js";
7
+ import { C as Sn, o as kn, O as No } from "./dialog.B_v8598F.js";
8
+ import { C as oi } from "./icon-button.DJvfUmOl.js";
9
9
  import Pt from "../components/tooltip.js";
10
- import { i as Nr, r as Tn, f as Jt, m as Dn, a as Mn, t as Vr, g as Fn, b as Ln, c as zn } from "./toast.CXEAfCvN.js";
10
+ import { i as Nr, r as Dn, f as Jt, m as Tn, a as Mn, t as Vr, g as Fn, b as Ln, c as zn } from "./toast.CXEAfCvN.js";
11
11
  import { c as Ie } from "./custom-element.L4WJXn1j.js";
12
- import { L as tt } from "./i18n.Bchq8v1d.js";
12
+ import { L as et } from "./i18n.DbXTTLXx.js";
13
13
  import { b as _n, S as On, c as Vo, p as An, w as V, E as Pn } from "./watch.DJF5K-8U.js";
14
14
  import { i as q, x, E as bt, B as In } from "./lit-element.jLBm65_O.js";
15
15
  import { r as F } from "./state.CSDxrqLd.js";
@@ -21,9 +21,9 @@ import { l as si, i as $n, f as Wn } from "./_flatRest.D3ZVApI5.js";
21
21
  import { a as ao } from "./toString.B1zKIiZc.js";
22
22
  import { a as jn, b as Gn } from "./_baseUniq.lwMgmtt2.js";
23
23
  import { C as Et } from "./icon.D5iM9wXS.js";
24
- import { C as Wr } from "./input.DOorVTYZ.js";
24
+ import { C as Wr } from "./input.B-c9KEAH.js";
25
25
  import { d as jr } from "./debounce.DaHuiSGU.js";
26
- import { e as rt } from "./class-map.BiVq-cVR.js";
26
+ import { e as ot } from "./class-map.BiVq-cVR.js";
27
27
  import { c as Ke } from "./repeat.CFjcER6_.js";
28
28
  import { n as Y } from "./when.Dr1es41R.js";
29
29
  import { d as Un, j as Kn, b as qn } from "./_baseClone.BHNjfIdS.js";
@@ -40,14 +40,14 @@ import { o as pt } from "./style-map.llVFPd__.js";
40
40
  import ai from "../components/dropdown.js";
41
41
  import ta from "../components/menu-section.js";
42
42
  import Gr from "../components/checkbox.js";
43
- import { C as ia, P as sa } from "./pagination.CuoIeOp9.js";
43
+ import { C as ia, P as sa } from "./pagination.TxcRv9BL.js";
44
44
  import { H as Ur } from "./slot.j5oheLJC.js";
45
45
  import { g as B, a as Bo } from "./dom.C5aVLhKS.js";
46
46
  import "./browser.BHOCIF_A.js";
47
47
  import "./form.CP9KLGjF.js";
48
48
  import "./purify.es.BIuh5IAZ.js";
49
49
  import { D as Kr, a as oa, t as ra, b as qr } from "./date-picker.BGHn6qg8.js";
50
- import { D as Ti } from "./transformation.8uLv6uwG.js";
50
+ import { D as Di } from "./transformation.8uLv6uwG.js";
51
51
  import { s as P, h as $o, b as Ui, c as lo } from "./string.BhJ0Zogu.js";
52
52
  import { a as na } from "./_commonjsHelpers.DQNKXVTB.js";
53
53
  import { d as aa } from "./debounce.Bv1rtE8D.js";
@@ -108,19 +108,19 @@ function xa(n, e) {
108
108
  function Ra(n) {
109
109
  return $n(n) ? void 0 : n;
110
110
  }
111
- var Sa = 1, ka = 2, Ta = 4, Go = Wn(function(n, e) {
111
+ var Sa = 1, ka = 2, Da = 4, Go = Wn(function(n, e) {
112
112
  var t = {};
113
113
  if (n == null)
114
114
  return t;
115
115
  var i = !1;
116
116
  e = ao(e, function(o) {
117
117
  return o = $r(o, n), i || (i = o.length > 1), o;
118
- }), Un(n, Kn(n), t), i && (t = qn(t, Sa | ka | Ta, Ra));
118
+ }), Un(n, Kn(n), t), i && (t = qn(t, Sa | ka | Da, Ra));
119
119
  for (var s = e.length; s--; )
120
120
  xa(t, e[s]);
121
121
  return t;
122
122
  });
123
- const Da = q`:host{min-height:40px;display:block}.board-list-item{--toggle-size:var(--cx-toggle-size-medium);border:1px solid #0000;border-bottom-color:var(--cx-color-neutral-300);font-family:var(--cx-font-sans);min-height:40px;padding-left:var(--cx-spacing-3x-small);background-color:var(--cx-color-neutral-100);align-items:center;gap:16px;display:flex;overflow:hidden}.board-list-item--placeholder{border-bottom-color:#0000}.board-list-item--placeholder .board-list-item__control{display:none}.board-list-item:not(.board-list-item--group):not(.board-list-item--placeholder):hover{transition:var(--cx-transition-slow);background-color:var(--cx-color-primary-50);cursor:grab;border:1px solid var(--cx-color-primary-300)}.board-list-item__control{width:var(--toggle-size);height:var(--toggle-size);border:solid var(--cx-input-border-width) var(--cx-input-border-color);background-color:var(--cx-input-background-color);color:var(--cx-color-neutral-0);transition:var(--cx-transition-fast) border-color, var(--cx-transition-fast) background-color, var(--cx-transition-fast) color, var(--cx-transition-fast) box-shadow;cursor:pointer;border-radius:2px;flex:none;justify-content:center;align-items:center;display:inline-flex;position:relative}.board-list-item__text{flex:1;align-items:center;width:0;height:100%;display:flex;position:relative}.board-list-item__text__content{font-weight:var(--cx-font-weight-regular);line-height:var(--cx-item-line-height,1.4);text-overflow:ellipsis;z-index:1;display:block;position:relative;overflow:hidden}.board-list-item__text__anchor{z-index:0;width:100%;height:100%;display:block;position:absolute;top:0;left:0}.board-list-item__checked-icon{display:inline-flex}.board-list-item--group{background-color:var(--cx-color-neutral-300)}.board-list-item:not(.board-list-item--checked):not(.board-list-item--readonly) .board-list-item__control:hover{border-color:var(--cx-input-border-color-hover);background-color:var(--cx-input-background-color-hover)}.board-list-item--checked .board-list-item__control{border-color:var(--cx-color-primary);background-color:var(--cx-color-primary)}.board-list-item--readonly .board-list-item__control{cursor:default;background-color:#0000;border-color:#0000}:host(:focus-visible){outline:var(--cx-focus-ring);outline-offset:calc(-1 * var(--cx-focus-ring-width));border-radius:2px}`;
123
+ const Ta = q`:host{min-height:40px;display:block}.board-list-item{--toggle-size:var(--cx-toggle-size-medium);border:1px solid #0000;border-bottom-color:var(--cx-color-neutral-300);font-family:var(--cx-font-sans);min-height:40px;padding-left:var(--cx-spacing-3x-small);background-color:var(--cx-color-neutral-100);align-items:center;gap:16px;display:flex;overflow:hidden}.board-list-item--placeholder{border-bottom-color:#0000}.board-list-item--placeholder .board-list-item__control{display:none}.board-list-item:not(.board-list-item--group):not(.board-list-item--placeholder):hover{transition:var(--cx-transition-slow);background-color:var(--cx-color-primary-50);cursor:grab;border:1px solid var(--cx-color-primary-300)}.board-list-item__control{width:var(--toggle-size);height:var(--toggle-size);border:solid var(--cx-input-border-width) var(--cx-input-border-color);background-color:var(--cx-input-background-color);color:var(--cx-color-neutral-0);transition:var(--cx-transition-fast) border-color, var(--cx-transition-fast) background-color, var(--cx-transition-fast) color, var(--cx-transition-fast) box-shadow;cursor:pointer;border-radius:2px;flex:none;justify-content:center;align-items:center;display:inline-flex;position:relative}.board-list-item__text{flex:1;align-items:center;width:0;height:100%;display:flex;position:relative}.board-list-item__text__content{font-weight:var(--cx-font-weight-regular);line-height:var(--cx-item-line-height,1.4);text-overflow:ellipsis;z-index:1;display:block;position:relative;overflow:hidden}.board-list-item__text__anchor{z-index:0;width:100%;height:100%;display:block;position:absolute;top:0;left:0}.board-list-item__checked-icon{display:inline-flex}.board-list-item--group{background-color:var(--cx-color-neutral-300)}.board-list-item:not(.board-list-item--checked):not(.board-list-item--readonly) .board-list-item__control:hover{border-color:var(--cx-input-border-color-hover);background-color:var(--cx-input-background-color-hover)}.board-list-item--checked .board-list-item__control{border-color:var(--cx-color-primary);background-color:var(--cx-color-primary)}.board-list-item--readonly .board-list-item__control{cursor:default;background-color:#0000;border-color:#0000}:host(:focus-visible){outline:var(--cx-focus-ring);outline-offset:calc(-1 * var(--cx-focus-ring-width));border-radius:2px}`;
124
124
  var Ma = Object.defineProperty, Fa = Object.getOwnPropertyDescriptor, We = (n, e, t, i) => {
125
125
  for (var s = i > 1 ? void 0 : i ? Fa(e, t) : e, o = n.length - 1, r; o >= 0; o--)
126
126
  (r = n[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
@@ -128,7 +128,7 @@ var Ma = Object.defineProperty, Fa = Object.getOwnPropertyDescriptor, We = (n, e
128
128
  };
129
129
  let Ee = class extends Pe {
130
130
  constructor() {
131
- super(...arguments), this.localize = new tt(this), this.text = "", this.tooltip = "", this.readonly = !1, this.placeholder = !1, this.selected = !1, this.configurable = !1, this.disabledTooltip = !1, this.isGroup = !1;
131
+ super(...arguments), this.localize = new et(this), this.text = "", this.tooltip = "", this.readonly = !1, this.placeholder = !1, this.selected = !1, this.configurable = !1, this.disabledTooltip = !1, this.isGroup = !1;
132
132
  }
133
133
  onConfigButtonClick(n) {
134
134
  n.stopPropagation(), this.emit("cx-multi-select-configure", {
@@ -149,7 +149,7 @@ let Ee = class extends Pe {
149
149
  this.tooltipElement && (this.tooltipElement.open = !1);
150
150
  }
151
151
  render() {
152
- return x`<div class=${rt({
152
+ return x`<div class=${ot({
153
153
  "board-list-item": !0,
154
154
  "board-list-item--checked": this.selected,
155
155
  "board-list-item--group": this.isGroup,
@@ -158,7 +158,7 @@ let Ee = class extends Pe {
158
158
  })}><span class="board-list-item__control">${this.selected ? x`<cx-icon class="board-list-item__checked-icon" name="check"></cx-icon>` : ""}</span><div part="text" class="board-list-item__text" @mouseenter=${this.onTextMouseEnter} @mouseleave=${this.onTextMouseLeave}><cx-line-clamp part="text-content" class="board-list-item__text__content" lines="2" ?disabled-tooltip=${!!this.tooltip} disabled-hover-bridge>${this.text}</cx-line-clamp><cx-tooltip part="tooltip" hoist trigger="manual" ?disabled=${this.disabledTooltip || !this.tooltip} disabled-hover-bridge><div class="board-list-item__text__anchor"></div><div slot="content">${Zn(this.tooltip)}</div></cx-tooltip></div>${this.configurable && !this.readonly ? x`<cx-icon-button part="config-button" name="settings" label=${this.localize.term("configure")} @click=${this.onConfigButtonClick}></cx-icon-button>` : ""}</div>`;
159
159
  }
160
160
  };
161
- Ee.styles = [$e, Da];
161
+ Ee.styles = [$e, Ta];
162
162
  Ee.dependencies = {
163
163
  "cx-icon": Et,
164
164
  "cx-icon-button": oi,
@@ -220,7 +220,7 @@ var Oa = Object.defineProperty, Aa = Object.getOwnPropertyDescriptor, X = (n, e,
220
220
  };
221
221
  let $ = class extends Pe {
222
222
  constructor() {
223
- super(), this.localize = new tt(this), this.boardTitle = "", this.name = "", this.ignoreTypes = [], this.data = [], this.sort = !1, this.group = !1, this.configurable = !1, this.all = !1, this.allowSearch = !1, this.abortDrag = !1, this.items = [], this._allItems = [], this._filteredItems = [], this._selectedItems = {}, this._selectedItemOrder = {}, this.searchValue = "", this.sortable = null, this._totalCount = 0, this._totalDisplayedCount = 0, this._indexMap = {}, this.isDragging = !1, this.start = 0, this.end = 20, this.previous = [], this.lastSelectedItem = null, this.handleAdd = this.handleAdd.bind(this), this.handleEnd = this.handleEnd.bind(this), this.handleMove = this.handleMove.bind(this), this.handleRemove = this.handleRemove.bind(this), this.handleStart = this.handleStart.bind(this), this.handleUpdate = this.handleUpdate.bind(this), this.handleSelectAll = this.handleSelectAll.bind(this);
223
+ super(), this.localize = new et(this), this.boardTitle = "", this.name = "", this.ignoreTypes = [], this.data = [], this.sort = !1, this.group = !1, this.configurable = !1, this.all = !1, this.allowSearch = !1, this.abortDrag = !1, this.items = [], this._allItems = [], this._filteredItems = [], this._selectedItems = {}, this._selectedItemOrder = {}, this.searchValue = "", this.sortable = null, this._totalCount = 0, this._totalDisplayedCount = 0, this._indexMap = {}, this.isDragging = !1, this.start = 0, this.end = 20, this.previous = [], this.lastSelectedItem = null, this.handleAdd = this.handleAdd.bind(this), this.handleEnd = this.handleEnd.bind(this), this.handleMove = this.handleMove.bind(this), this.handleRemove = this.handleRemove.bind(this), this.handleStart = this.handleStart.bind(this), this.handleUpdate = this.handleUpdate.bind(this), this.handleSelectAll = this.handleSelectAll.bind(this);
224
224
  }
225
225
  get allItems() {
226
226
  return this._allItems;
@@ -342,7 +342,7 @@ let $ = class extends Pe {
342
342
  let s = this.selectedItemAsArray;
343
343
  s.includes(i) || (s = [i]);
344
344
  const o = s.length > 1;
345
- e = Tn(
345
+ e = Dn(
346
346
  e,
347
347
  s.map((r) => Jt(this.items, "id", r))
348
348
  ), this.handleUpdateEvent(e, n.type, o, n.newIndex);
@@ -369,7 +369,7 @@ let $ = class extends Pe {
369
369
  this.handleDefaultSelect(n);
370
370
  return;
371
371
  }
372
- const s = Dn(
372
+ const s = Tn(
373
373
  this.selectedItemAsArray,
374
374
  n.dataset.id,
375
375
  e
@@ -546,7 +546,7 @@ let $ = class extends Pe {
546
546
  }
547
547
  render() {
548
548
  const n = this.selectedCount, e = this.isAllSelected ? x`<cx-icon class="board__checked-icon" name="check"></cx-icon>` : this.isPartiallySelected ? x`<cx-icon class="board__checked-icon" name="remove"></cx-icon>` : bt;
549
- return x`<div class=${rt({
549
+ return x`<div class=${ot({
550
550
  board: !0,
551
551
  "board--checked": this.all && n,
552
552
  "board--dragging": this.isDragging
@@ -679,9 +679,9 @@ var Ia = Object.defineProperty, Ha = Object.getOwnPropertyDescriptor, qe = (n, e
679
679
  (r = n[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
680
680
  return i && s && Ia(e, t, s), s;
681
681
  };
682
- let De = class extends Pe {
682
+ let Te = class extends Pe {
683
683
  constructor() {
684
- super(...arguments), this.localize = new tt(this), this.firstColumnData = {
684
+ super(...arguments), this.localize = new et(this), this.firstColumnData = {
685
685
  id: "",
686
686
  items: [],
687
687
  sort: !0,
@@ -897,51 +897,51 @@ let De = class extends Pe {
897
897
  return x`<div class="multi-select" @cx-board-change=${this.handleBoardChange} @cx-board-selected-change=${this.handleSelectedChange}><cx-board part="board-1" title=${this.firstColumnData.title} name=${this.firstColumnData.id} all .data=${this.board1Data} ?sort=${this.firstColumnData.sort ?? !1} .ignore-types=${this.ignoreTypes} allow-search></cx-board><div class="multi-select__control"><cx-tooltip part="tooltip" content=${this.localize.term("moveSelectedItemRight")} hoist ?disabled=${!n.length}><cx-icon-button class="multi-select__control__move-button" name="arrow_forward_ios" label=${this.localize.term("moveSelectedItemRight")} @click=${this.handleMoveItemsRight} ?disabled=${!n.length}></cx-icon-button></cx-tooltip><cx-tooltip part="tooltip" content=${this.localize.term("moveSelectedItemLeft")} hoist ?disabled=${!e.length}><cx-icon-button class="multi-select__control__move-button" name="arrow_back_ios" label=${this.localize.term("moveSelectedItemLeft")} @click=${this.handleMoveItemsLeft} ?disabled=${!e.length}></cx-icon-button></cx-tooltip></div><cx-board part="board-2" title=${this.secondColumnData.title} name=${this.secondColumnData.id} all .data=${this.board2Data} ?configurable=${this.configurable} ?sort=${this.secondColumnData.sort ?? !0}></cx-board></div>`;
898
898
  }
899
899
  };
900
- De.styles = [$e, Pa];
901
- De.dependencies = {
900
+ Te.styles = [$e, Pa];
901
+ Te.dependencies = {
902
902
  "cx-board": $,
903
903
  "cx-icon-button": oi,
904
904
  "cx-tooltip": Pt
905
905
  };
906
906
  qe([
907
907
  ue(".multi-select")
908
- ], De.prototype, "multiSelect", 2);
908
+ ], Te.prototype, "multiSelect", 2);
909
909
  qe([
910
910
  ue('[part~="board-1"]')
911
- ], De.prototype, "board1", 2);
911
+ ], Te.prototype, "board1", 2);
912
912
  qe([
913
913
  ue('[part~="board-2"]')
914
- ], De.prototype, "board2", 2);
914
+ ], Te.prototype, "board2", 2);
915
915
  qe([
916
916
  m({ attribute: "first-column-data", type: Object })
917
- ], De.prototype, "firstColumnData", 2);
917
+ ], Te.prototype, "firstColumnData", 2);
918
918
  qe([
919
919
  m({ attribute: "second-column-data", type: Object })
920
- ], De.prototype, "secondColumnData", 2);
920
+ ], Te.prototype, "secondColumnData", 2);
921
921
  qe([
922
922
  m({ attribute: "configurable", type: Boolean })
923
- ], De.prototype, "configurable", 2);
923
+ ], Te.prototype, "configurable", 2);
924
924
  qe([
925
925
  m({ attribute: "ignored-types", type: Array })
926
- ], De.prototype, "ignoreTypes", 2);
926
+ ], Te.prototype, "ignoreTypes", 2);
927
927
  qe([
928
928
  m({ attribute: "add-limit", type: Number })
929
- ], De.prototype, "addLimit", 2);
929
+ ], Te.prototype, "addLimit", 2);
930
930
  qe([
931
931
  F()
932
- ], De.prototype, "itemMap", 2);
932
+ ], Te.prototype, "itemMap", 2);
933
933
  qe([
934
934
  F()
935
- ], De.prototype, "selectedItems", 2);
935
+ ], Te.prototype, "selectedItems", 2);
936
936
  qe([
937
937
  F()
938
- ], De.prototype, "initialSecondColumnItems", 2);
938
+ ], Te.prototype, "initialSecondColumnItems", 2);
939
939
  qe([
940
940
  V("secondColumnData")
941
- ], De.prototype, "onSecondColumnDataChange", 1);
942
- De = qe([
941
+ ], Te.prototype, "onSecondColumnDataChange", 1);
942
+ Te = qe([
943
943
  Ie("cx-multi-select")
944
- ], De);
944
+ ], Te);
945
945
  var $t = /* @__PURE__ */ ((n) => (n.Available = "available", n.Visible = "visible", n))($t || {});
946
946
  const Na = q`:host{display:contents}cx-dialog{--width:800px}cx-multi-select{height:28rem;display:block}.table-column-editor__note{color:var(--cx-color-neutral-600);font-size:var(--cx-font-size-small);margin:0}.table-column-editor__footer{gap:var(--cx-spacing-small);justify-content:flex-end;display:flex}`;
947
947
  var Va = Object.defineProperty, Ba = Object.getOwnPropertyDescriptor, It = (n, e, t, i) => {
@@ -949,9 +949,9 @@ var Va = Object.defineProperty, Ba = Object.getOwnPropertyDescriptor, It = (n, e
949
949
  (r = n[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
950
950
  return i && s && Va(e, t, s), s;
951
951
  };
952
- let Qe = class extends Pe {
952
+ let Ze = class extends Pe {
953
953
  constructor() {
954
- super(...arguments), this.localize = new tt(this), this.open = !1, this.entries = [], this.firstColumnData = {
954
+ super(...arguments), this.localize = new et(this), this.open = !1, this.entries = [], this.firstColumnData = {
955
955
  id: $t.Available,
956
956
  items: [],
957
957
  sort: !1,
@@ -1013,37 +1013,37 @@ let Qe = class extends Pe {
1013
1013
  )}<div slot="footer" class="table-column-editor__footer"><cx-button @click=${this.handleCancel}>${this.localize.term("cancel")}</cx-button><cx-button variant="primary" ?disabled=${!this.canApply} @click=${this.handleApply}>${this.localize.term("apply")}</cx-button></div></cx-dialog>`;
1014
1014
  }
1015
1015
  };
1016
- Qe.styles = [$e, Na];
1017
- Qe.dependencies = {
1016
+ Ze.styles = [$e, Na];
1017
+ Ze.dependencies = {
1018
1018
  "cx-button": Ct,
1019
1019
  "cx-dialog": Sn,
1020
- "cx-multi-select": De
1020
+ "cx-multi-select": Te
1021
1021
  };
1022
1022
  It([
1023
1023
  ue("cx-dialog")
1024
- ], Qe.prototype, "dialogEl", 2);
1024
+ ], Ze.prototype, "dialogEl", 2);
1025
1025
  It([
1026
1026
  m({ reflect: !0, type: Boolean })
1027
- ], Qe.prototype, "open", 2);
1027
+ ], Ze.prototype, "open", 2);
1028
1028
  It([
1029
1029
  m({ attribute: !1 })
1030
- ], Qe.prototype, "entries", 2);
1030
+ ], Ze.prototype, "entries", 2);
1031
1031
  It([
1032
1032
  F()
1033
- ], Qe.prototype, "firstColumnData", 2);
1033
+ ], Ze.prototype, "firstColumnData", 2);
1034
1034
  It([
1035
1035
  F()
1036
- ], Qe.prototype, "secondColumnData", 2);
1036
+ ], Ze.prototype, "secondColumnData", 2);
1037
1037
  It([
1038
1038
  F()
1039
- ], Qe.prototype, "visibleFields", 2);
1039
+ ], Ze.prototype, "visibleFields", 2);
1040
1040
  It([
1041
1041
  V("entries")
1042
- ], Qe.prototype, "handleEntriesChange", 1);
1043
- Qe = It([
1042
+ ], Ze.prototype, "handleEntriesChange", 1);
1043
+ Ze = It([
1044
1044
  Ie("cx-table-column-editor")
1045
- ], Qe);
1046
- var cs = /* @__PURE__ */ ((n) => (n.Search = "search-keyword", n))(cs || {}), Ki = /* @__PURE__ */ ((n) => (n.BottomCenter = "bottom-center", n.BottomEnd = "bottom-end", n.BottomStart = "bottom-start", n.TopCenter = "top-center", n.TopEnd = "top-end", n.TopStart = "top-start", n))(Ki || {}), wt = /* @__PURE__ */ ((n) => (n.Bottom = "bottom", n.Center = "center", n.Nearest = "nearest", n.Top = "top", n))(wt || {}), Ue = /* @__PURE__ */ ((n) => (n.All = "all", n.Cell = "cell", n.Column = "column", n.Row = "row", n))(Ue || {}), pi = /* @__PURE__ */ ((n) => (n.Both = "both", n.Copy = "copy", n.Paste = "paste", n))(pi || {}), ve = /* @__PURE__ */ ((n) => (n.Auto = "auto", n.Csv = "csv", n.Json = "json", n.Xml = "xml", n))(ve || {}), yi = /* @__PURE__ */ ((n) => (n.EditColumns = "edit-columns", n.HideColumn = "hide-column", n))(yi || {}), Wt = /* @__PURE__ */ ((n) => (n.Left = "left", n.Right = "right", n))(Wt || {}), Ze = /* @__PURE__ */ ((n) => (n.Local = "local", n.Remote = "remote", n))(Ze || {}), Se = /* @__PURE__ */ ((n) => (n.Asc = "asc", n.Desc = "desc", n.None = "none", n))(Se || {}), _e = /* @__PURE__ */ ((n) => (n.Ends = "ends", n.Equal = "=", n.GreaterOrEqual = ">=", n.GreaterThan = ">", n.In = "in", n.Keywords = "keywords", n.LessOrEqual = "<=", n.LessThan = "<", n.Like = "like", n.NotEqual = "!=", n.Regex = "regex", n.Starts = "starts", n))(_e || {});
1045
+ ], Ze);
1046
+ var cs = /* @__PURE__ */ ((n) => (n.Search = "search-keyword", n))(cs || {}), Ki = /* @__PURE__ */ ((n) => (n.BottomCenter = "bottom-center", n.BottomEnd = "bottom-end", n.BottomStart = "bottom-start", n.TopCenter = "top-center", n.TopEnd = "top-end", n.TopStart = "top-start", n))(Ki || {}), wt = /* @__PURE__ */ ((n) => (n.Bottom = "bottom", n.Center = "center", n.Nearest = "nearest", n.Top = "top", n))(wt || {}), Ue = /* @__PURE__ */ ((n) => (n.All = "all", n.Cell = "cell", n.Column = "column", n.Row = "row", n))(Ue || {}), pi = /* @__PURE__ */ ((n) => (n.Both = "both", n.Copy = "copy", n.Paste = "paste", n))(pi || {}), ve = /* @__PURE__ */ ((n) => (n.Auto = "auto", n.Csv = "csv", n.Json = "json", n.Xml = "xml", n))(ve || {}), yi = /* @__PURE__ */ ((n) => (n.EditColumns = "edit-columns", n.HideColumn = "hide-column", n))(yi || {}), Wt = /* @__PURE__ */ ((n) => (n.Left = "left", n.Right = "right", n))(Wt || {}), ut = /* @__PURE__ */ ((n) => (n.Local = "local", n.Remote = "remote", n))(ut || {}), Se = /* @__PURE__ */ ((n) => (n.Asc = "asc", n.Desc = "desc", n.None = "none", n))(Se || {}), _e = /* @__PURE__ */ ((n) => (n.Ends = "ends", n.Equal = "=", n.GreaterOrEqual = ">=", n.GreaterThan = ">", n.In = "in", n.Keywords = "keywords", n.LessOrEqual = "<=", n.LessThan = "<", n.Like = "like", n.NotEqual = "!=", n.Regex = "regex", n.Starts = "starts", n))(_e || {});
1047
1047
  const ds = 36;
1048
1048
  var fi = /* @__PURE__ */ ((n) => (n.IsoDate = "iso-date", n.IsoDateTime = "iso-datetime", n.Timestamp = "timestamp", n))(fi || {});
1049
1049
  const $a = q`:host{align-items:center;width:100%;display:flex}:host([pagination-placement=bottom-start]){justify-content:flex-start}:host([pagination-placement=bottom-center]){justify-content:center}:host([pagination-placement=bottom-end]){justify-content:flex-end}`;
@@ -1073,9 +1073,9 @@ var Ua = Object.defineProperty, Ka = Object.getOwnPropertyDescriptor, Ht = (n, e
1073
1073
  (r = n[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
1074
1074
  return i && s && Ua(e, t, s), s;
1075
1075
  };
1076
- let et = class extends Pe {
1076
+ let Qe = class extends Pe {
1077
1077
  constructor() {
1078
- super(), this.localize = new tt(this), this.virtualAnchor = {
1078
+ super(), this.localize = new et(this), this.virtualAnchor = {
1079
1079
  getBoundingClientRect: () => new DOMRect(this.pointX, this.pointY, 0, 0)
1080
1080
  }, this.open = !1, this.pointX = 0, this.pointY = 0, this.field = "", this.hideDisabled = !1, this.handleDocumentMouseDown = this.handleDocumentMouseDown.bind(this), this.handleDocumentKeyDown = this.handleDocumentKeyDown.bind(this);
1081
1081
  }
@@ -1117,8 +1117,8 @@ let et = class extends Pe {
1117
1117
  return x`<cx-popup ?active=${this.open} .anchor=${this.virtualAnchor} strategy="overlay" placement="bottom-start" flip shift @cx-opened=${this.handlePopupOpened}><cx-menu @cx-select=${this.handleMenuSelect}><cx-menu-item data-action=${yi.EditColumns}><cx-icon slot="prefix" name="edit"></cx-icon>${this.localize.term("editColumns")}</cx-menu-item><cx-menu-item data-action=${yi.HideColumn} ?disabled=${this.hideDisabled}><cx-icon slot="prefix" name="visibility_off"></cx-icon>${this.localize.term("hideColumn")}</cx-menu-item></cx-menu></cx-popup>`;
1118
1118
  }
1119
1119
  };
1120
- et.styles = [$e, Ga];
1121
- et.dependencies = {
1120
+ Qe.styles = [$e, Ga];
1121
+ Qe.dependencies = {
1122
1122
  "cx-icon": Et,
1123
1123
  "cx-menu": ri,
1124
1124
  "cx-menu-item": ni,
@@ -1126,28 +1126,28 @@ et.dependencies = {
1126
1126
  };
1127
1127
  Ht([
1128
1128
  ue("cx-menu-item")
1129
- ], et.prototype, "firstMenuItem", 2);
1129
+ ], Qe.prototype, "firstMenuItem", 2);
1130
1130
  Ht([
1131
1131
  m({ reflect: !0, type: Boolean })
1132
- ], et.prototype, "open", 2);
1132
+ ], Qe.prototype, "open", 2);
1133
1133
  Ht([
1134
1134
  m({ attribute: "point-x", type: Number })
1135
- ], et.prototype, "pointX", 2);
1135
+ ], Qe.prototype, "pointX", 2);
1136
1136
  Ht([
1137
1137
  m({ attribute: "point-y", type: Number })
1138
- ], et.prototype, "pointY", 2);
1138
+ ], Qe.prototype, "pointY", 2);
1139
1139
  Ht([
1140
1140
  m({ type: String })
1141
- ], et.prototype, "field", 2);
1141
+ ], Qe.prototype, "field", 2);
1142
1142
  Ht([
1143
1143
  m({ attribute: "hide-disabled", type: Boolean })
1144
- ], et.prototype, "hideDisabled", 2);
1144
+ ], Qe.prototype, "hideDisabled", 2);
1145
1145
  Ht([
1146
1146
  V("open", { waitUntilFirstUpdate: !0 })
1147
- ], et.prototype, "handleOpenChange", 1);
1148
- et = Ht([
1147
+ ], Qe.prototype, "handleOpenChange", 1);
1148
+ Qe = Ht([
1149
1149
  Ie("cx-table-header-menu")
1150
- ], et);
1150
+ ], Qe);
1151
1151
  const qa = q`.table-row-actions__button::part(label),.table-row-actions__dropdown__trigger::part(label){padding:0 var(--cx-spacing-x-small)}.table-row-actions__menu-item::part(checked-icon){display:none}`;
1152
1152
  var Xa = Object.defineProperty, Ja = Object.getOwnPropertyDescriptor, Kt = (n, e, t, i) => {
1153
1153
  for (var s = i > 1 ? void 0 : i ? Ja(e, t) : e, o = n.length - 1, r; o >= 0; o--)
@@ -1156,7 +1156,7 @@ var Xa = Object.defineProperty, Ja = Object.getOwnPropertyDescriptor, Kt = (n, e
1156
1156
  };
1157
1157
  let ft = class extends Pe {
1158
1158
  constructor() {
1159
- super(...arguments), this.localize = new tt(this), this.groupedDropdownItems = {}, this.sections = [];
1159
+ super(...arguments), this.localize = new et(this), this.groupedDropdownItems = {}, this.sections = [];
1160
1160
  }
1161
1161
  createRenderRoot() {
1162
1162
  return this;
@@ -1396,7 +1396,7 @@ var tl = Object.defineProperty, il = Object.getOwnPropertyDescriptor, Xi = (n, e
1396
1396
  };
1397
1397
  let At = class extends Pe {
1398
1398
  constructor() {
1399
- super(...arguments), this.localize = new tt(this), this.groupByOptionIdSet = /* @__PURE__ */ new Set(), this.groupByOptions = [], this.groupByValue = "";
1399
+ super(...arguments), this.localize = new et(this), this.groupByOptionIdSet = /* @__PURE__ */ new Set(), this.groupByOptions = [], this.groupByValue = "";
1400
1400
  }
1401
1401
  handleGroupByOptionsChange() {
1402
1402
  this.groupByOptionIdSet = new Set(this.groupByOptions.map((n) => n.id));
@@ -1422,14 +1422,14 @@ let At = class extends Pe {
1422
1422
  }
1423
1423
  renderOption(n, e, t) {
1424
1424
  const i = t === n;
1425
- return x`<cx-menu-item class=${rt({
1425
+ return x`<cx-menu-item class=${ot({
1426
1426
  "group-by-option": !0,
1427
1427
  "group-by-option--selected": i
1428
1428
  })} data-option-id=${n} type="checkbox" ?checked=${i}>${e}</cx-menu-item>`;
1429
1429
  }
1430
1430
  renderOffOption(n) {
1431
1431
  const e = n === null;
1432
- return x`<cx-menu-item class=${rt({
1432
+ return x`<cx-menu-item class=${ot({
1433
1433
  "group-by-option": !0,
1434
1434
  "group-by-option--selected": e
1435
1435
  })} data-group-by-action="off" type="checkbox" ?checked=${e}>${this.localize.term("off")}</cx-menu-item>`;
@@ -1477,7 +1477,7 @@ var sl = Object.defineProperty, ol = Object.getOwnPropertyDescriptor, mt = (n, e
1477
1477
  };
1478
1478
  let Be = class extends Pe {
1479
1479
  constructor() {
1480
- super(...arguments), this.localize = new tt(this), this.fetchController = null, this.requestId = 0, this.savedSearchURL = "", this.savedSearchItems = [], this.savedSearchPageSizeParam = "PageSize", this.savedSearchPageSize = 10, this.savedSearchPageNumberParam = "PageNumber", this.totalCount = 0, this.loading = !1, this.currentPage = 1;
1480
+ super(...arguments), this.localize = new et(this), this.fetchController = null, this.requestId = 0, this.savedSearchURL = "", this.savedSearchItems = [], this.savedSearchPageSizeParam = "PageSize", this.savedSearchPageSize = 10, this.savedSearchPageNumberParam = "PageNumber", this.totalCount = 0, this.loading = !1, this.currentPage = 1;
1481
1481
  }
1482
1482
  createRenderRoot() {
1483
1483
  return this;
@@ -1589,7 +1589,7 @@ var nl = Object.defineProperty, al = Object.getOwnPropertyDescriptor, ie = (n, e
1589
1589
  };
1590
1590
  let Q = class extends Pe {
1591
1591
  constructor() {
1592
- super(...arguments), this.localize = new tt(this), this.hasSlotController = new Ur(
1592
+ super(...arguments), this.localize = new et(this), this.hasSlotController = new Ur(
1593
1593
  this,
1594
1594
  "label",
1595
1595
  "pagination",
@@ -1634,12 +1634,12 @@ let Q = class extends Pe {
1634
1634
  this.emit("cx-table-export", { detail: { type: "report" } });
1635
1635
  }
1636
1636
  renderSearch() {
1637
- return x`<form class="search" id="search-form" @submit=${this.handleSearchSubmit}><cx-input class="search__input" placeholder=${this.localize.term("typeYourSearchHere")} value=${this.searchValue} clearable @cx-clear=${this.handleClearSearch}><cx-icon-button class=${rt({
1637
+ return x`<form class="search" id="search-form" @submit=${this.handleSearchSubmit}><cx-input class="search__input" placeholder=${this.localize.term("typeYourSearchHere")} value=${this.searchValue} clearable @cx-clear=${this.handleClearSearch}><cx-icon-button class=${ot({
1638
1638
  search__icon: !0,
1639
1639
  "search__icon--search": !0
1640
1640
  })} name="search" slot="prefix" size="small"></cx-icon-button>${Y(
1641
1641
  !this.noAdvancedSearch,
1642
- () => x`<cx-tooltip slot="suffix" hoist content=${this.localize.term("advancedSearch")}><cx-icon-button class=${rt({
1642
+ () => x`<cx-tooltip slot="suffix" hoist content=${this.localize.term("advancedSearch")}><cx-icon-button class=${ot({
1643
1643
  search__icon: !0,
1644
1644
  "search__icon--advanced-search": !0
1645
1645
  })} name="tune" @click=${this.handleAdvancedSearchClick} size="small"></cx-icon-button></cx-tooltip>`
@@ -1685,7 +1685,7 @@ let Q = class extends Pe {
1685
1685
  }
1686
1686
  renderHeaderRow() {
1687
1687
  const n = !!this.label || this.hasSlotController.test("label"), e = this.hasSlotController.test("pagination");
1688
- return x`<div class=${rt({
1688
+ return x`<div class=${ot({
1689
1689
  header: !0,
1690
1690
  "header--has-label": n,
1691
1691
  "header--has-pagination": e
@@ -2593,14 +2593,14 @@ const Qr = function(n, e, t) {
2593
2593
  n = i + (i.includes("?") ? "&" : "?") + o + (s ? "#" + s : "");
2594
2594
  }
2595
2595
  return n;
2596
- }, ci = process.env.NODE_ENV === "development", ot = class ot extends I {
2596
+ }, ci = process.env.NODE_ENV === "development", st = class st extends I {
2597
2597
  constructor(e) {
2598
2598
  super(e), this.fetchApi = typeof globalThis.fetch == "function" ? globalThis.fetch.bind(globalThis) : void 0, this.config = {}, this.url = "", this.urlGenerator = !1, this.params = !1, this.loaderPromise = !1, this.registerTableOption("ajaxURL", !1), this.registerTableOption("ajaxURLGenerator", !1), this.registerTableOption("ajaxParams", {}), this.registerTableOption("ajaxConfig", "get"), this.registerTableOption("ajaxContentType", "form"), this.registerTableOption("ajaxRequestFunc", !1), this.registerTableOption("ajaxRequesting", () => {
2599
- }), this.registerTableOption("ajaxResponse", !1), this.contentTypeFormatters = ot.contentTypeFormatters;
2599
+ }), this.registerTableOption("ajaxResponse", !1), this.contentTypeFormatters = st.contentTypeFormatters;
2600
2600
  }
2601
2601
  // initialize setup options
2602
2602
  initialize() {
2603
- this.urlGenerator = this.table.options.ajaxURLGenerator || ot.defaultURLGenerator, this.loaderPromise = this.table.options.ajaxRequestFunc || ot.defaultLoaderPromise.bind(this), (this.table.options.ajaxURL || this.table.options.ajaxRequestFunc) && (this.table.options.filterMode = Ze.Remote, this.table.options.sortMode = Ze.Remote, this.table.options.paginationMode = Ze.Remote, this.table.options.ajaxURL && this.setUrl(this.table.options.ajaxURL)), this.setDefaultConfig(this.table.options.ajaxConfig), this.registerTableFunction("getAjaxUrl", this.getUrl.bind(this)), this.subscribe("data-loading", this.requestDataCheck.bind(this)), this.subscribe("data-params", this.requestParams.bind(this)), this.subscribe("data-load", this.requestData.bind(this));
2603
+ this.urlGenerator = this.table.options.ajaxURLGenerator || st.defaultURLGenerator, this.loaderPromise = this.table.options.ajaxRequestFunc || st.defaultLoaderPromise.bind(this), (this.table.options.ajaxURL || this.table.options.ajaxRequestFunc) && (this.table.options.filterMode = ut.Remote, this.table.options.sortMode = ut.Remote, this.table.options.paginationMode = ut.Remote, this.table.options.ajaxURL && this.setUrl(this.table.options.ajaxURL)), this.setDefaultConfig(this.table.options.ajaxConfig), this.registerTableFunction("getAjaxUrl", this.getUrl.bind(this)), this.subscribe("data-loading", this.requestDataCheck.bind(this)), this.subscribe("data-params", this.requestParams.bind(this)), this.subscribe("data-load", this.requestData.bind(this));
2604
2604
  }
2605
2605
  requestParams(e, t, i, s) {
2606
2606
  const o = this.table.options.ajaxParams;
@@ -2619,7 +2619,7 @@ const Qr = function(n, e, t) {
2619
2619
  ) ? (e && this.setUrl(e), r = this.generateConfig(i), this.sendRequest(this.url, t, r)) : o;
2620
2620
  }
2621
2621
  setDefaultConfig(e = {}) {
2622
- this.config = Object.assign({}, ot.defaultConfig), typeof e == "string" ? this.config.method = e : Object.assign(this.config, e);
2622
+ this.config = Object.assign({}, st.defaultConfig), typeof e == "string" ? this.config.method = e : Object.assign(this.config, e);
2623
2623
  }
2624
2624
  // load config object
2625
2625
  generateConfig(e = {}) {
@@ -2650,7 +2650,7 @@ const Qr = function(n, e, t) {
2650
2650
  )), s)) : Promise.reject();
2651
2651
  }
2652
2652
  };
2653
- ot.moduleName = "ajax", ot.defaultConfig = gl, ot.defaultURLGenerator = Qr, ot.contentTypeFormatters = bl, ot.defaultLoaderPromise = function(e, t, i) {
2653
+ st.moduleName = "ajax", st.defaultConfig = gl, st.defaultURLGenerator = Qr, st.contentTypeFormatters = bl, st.defaultLoaderPromise = function(e, t, i) {
2654
2654
  let s;
2655
2655
  return new Promise((o, r) => {
2656
2656
  if (!this.urlGenerator) {
@@ -2691,7 +2691,7 @@ ot.moduleName = "ajax", ot.defaultConfig = gl, ot.defaultURLGenerator = Qr, ot.c
2691
2691
  ci && console.warn("Ajax Load Error - No URL Set"), o([]);
2692
2692
  });
2693
2693
  };
2694
- let ws = ot;
2694
+ let ws = st;
2695
2695
  function ho(n) {
2696
2696
  const e = [];
2697
2697
  let t = n;
@@ -3027,7 +3027,7 @@ const xl = {
3027
3027
  }
3028
3028
  }, kl = {
3029
3029
  copyToClipboard: ["ctrl + 67", "meta + 67"]
3030
- }, Tl = {
3030
+ }, Dl = {
3031
3031
  keybindings: {
3032
3032
  actions: Sl,
3033
3033
  bindings: kl
@@ -3148,7 +3148,7 @@ const kt = class kt extends I {
3148
3148
  return i?.getData && (t = i.getData("text/plain")), t;
3149
3149
  }
3150
3150
  };
3151
- kt.moduleName = "clipboard", kt.moduleExtensions = Tl, kt.pasteActions = xl, kt.pasteParsers = Rl;
3151
+ kt.moduleName = "clipboard", kt.moduleExtensions = Dl, kt.pasteActions = xl, kt.pasteParsers = Rl;
3152
3152
  let ys = kt;
3153
3153
  class co {
3154
3154
  constructor(e) {
@@ -3214,20 +3214,23 @@ class co {
3214
3214
  return this._cell;
3215
3215
  }
3216
3216
  }
3217
- const Dl = x`<div class="tabulator-cell"></div>`, Ml = process.env.NODE_ENV === "development";
3217
+ const Tl = x`<div class="tabulator-cell"></div>`, Ml = process.env.NODE_ENV === "development";
3218
3218
  class ki extends Me {
3219
3219
  constructor(e, t) {
3220
- 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();
3220
+ super(e.table), this.table = e.table, this.column = e, this.row = t, this.element = null, this.contentElement = null, this.value = null, this.oldValue = null, this.modules = {}, this.height = null, this.width = null, this.minWidth = null, this.component = null, this.loaded = !1, this.hoverMenuElement = null, this.deleted = !1, this.build();
3221
3221
  }
3222
3222
  /**
3223
3223
  * Setup Functions
3224
3224
  */
3225
3225
  // generate element
3226
3226
  build() {
3227
- this.generateElement(), this.setWidth(), this._configureCell(), this.setValueActual(this.column.getFieldValue(this.row.data)), this.initialValue = this.value;
3227
+ this.column.hidden || this.buildElement(), this.setValueActual(this.column.getFieldValue(this.row.data)), this.initialValue = this.value;
3228
+ }
3229
+ buildElement() {
3230
+ this.generateElement(), this.setWidth(), this._configureCell();
3228
3231
  }
3229
3232
  generateElement() {
3230
- if (this.element = B(Dl), this.element.setAttribute(
3233
+ if (this.element = B(Tl), this.element.setAttribute(
3231
3234
  "role",
3232
3235
  this.table.options.cellRole ?? "gridcell"
3233
3236
  ), this.column.modules.format?.cellClass) {
@@ -3252,11 +3255,25 @@ class ki extends Me {
3252
3255
  r && e.classList.add(r);
3253
3256
  }), this.dispatch("cell-init", this), this.column.hidden && this.hide(), this.updateCellClass();
3254
3257
  }
3255
- updateCellClass() {
3258
+ updateCellClass(e, t) {
3256
3259
  if (!this.element)
3257
3260
  return;
3258
- const e = this.table.columnManager?.getVisibleColumnsByIndex() || [], t = e.at(-1), i = e[0];
3259
- this.column === i ? this.element.classList.add("tabulator-cell-first") : this.element.classList.remove("tabulator-cell-first"), this.column === t ? this.element.classList.add("tabulator-cell-last") : this.element.classList.remove("tabulator-cell-last");
3261
+ if (this.column.hidden) {
3262
+ this.element.classList.remove(
3263
+ "tabulator-cell-first",
3264
+ "tabulator-cell-last"
3265
+ );
3266
+ return;
3267
+ }
3268
+ let i = e, s = t;
3269
+ if (!i || !s) {
3270
+ const o = this.table.columnManager?.getVisibleColumnsByIndex() || [];
3271
+ i = o[0], s = o.at(-1);
3272
+ }
3273
+ this.element.classList.toggle(
3274
+ "tabulator-cell-first",
3275
+ this.column === i
3276
+ ), this.element.classList.toggle("tabulator-cell-last", this.column === s);
3260
3277
  }
3261
3278
  getTextFormat() {
3262
3279
  return this.column.definition.textFormatParams ? this.column.definition.textFormatParams.getColor ? {
@@ -3303,7 +3320,7 @@ class ki extends Me {
3303
3320
  * Getters
3304
3321
  */
3305
3322
  getElement(e) {
3306
- return this.loaded || (this.loaded = !0, e || this.layoutElement()), this.element;
3323
+ return !this.element && !this.deleted && this.buildElement(), !this.loaded && !e && (this.loaded = !0, this.layoutElement()), this.element;
3307
3324
  }
3308
3325
  getValue() {
3309
3326
  return this.value;
@@ -3355,13 +3372,29 @@ class ki extends Me {
3355
3372
  return this.element ? this.height || this.element.offsetHeight : 0;
3356
3373
  }
3357
3374
  show() {
3358
- this.element && (this.element.style.display = this.column.vertAlign ? "inline-flex" : "");
3375
+ const e = this.getElement();
3376
+ e && (this.attachToRow(e), e.style.display = this.column.vertAlign ? "inline-flex" : "");
3377
+ }
3378
+ attachToRow(e) {
3379
+ const t = this.row.element;
3380
+ if (!t || e.parentNode === t)
3381
+ return;
3382
+ const i = this.row.getCellIndex(this);
3383
+ let s = t.firstChild;
3384
+ for (let o = i - 1; o >= 0; o--) {
3385
+ const r = this.row.cells[o]?.element;
3386
+ if (r?.parentNode === t) {
3387
+ s = r.nextSibling;
3388
+ break;
3389
+ }
3390
+ }
3391
+ t.insertBefore(e, s), this.cellRendered(), this.row.heightInitialized && this.setHeight();
3359
3392
  }
3360
3393
  hide() {
3361
3394
  this.element && (this.element.style.display = "none");
3362
3395
  }
3363
3396
  delete() {
3364
- this.dispatch("cell-delete", this), !this.table.rowManager?.redrawBlock && this.element && this.element.parentNode && this.element.parentNode.removeChild(this.element), this.element = null, this.contentElement = null, this.column.deleteCell(this), this.row.deleteCell(this), this.calcs = {};
3397
+ this.deleted = !0, this.dispatch("cell-delete", this), !this.table.rowManager?.redrawBlock && this.element && this.element.parentNode && this.element.parentNode.removeChild(this.element), this.element = null, this.contentElement = null, this.column.deleteCell(this), this.row.deleteCell(this), this.calcs = {};
3365
3398
  }
3366
3399
  getIndex() {
3367
3400
  return this.row.getCellIndex(this);
@@ -3948,7 +3981,7 @@ class uo {
3948
3981
  }
3949
3982
  }
3950
3983
  const Yo = process.env.NODE_ENV === "development";
3951
- class Te extends Me {
3984
+ class De extends Me {
3952
3985
  constructor(e, t, i = "row") {
3953
3986
  super(t.table), this.parent = t, this.data = {}, this.type = i, this.element = !1, this.modules = {}, this.cells = [], this.height = 0, this.heightStyled = "", this.manualHeight = !1, this.outerHeight = 0, this.initialized = !1, this.heightInitialized = !1, this.position = 0, this.positionWatchers = [], this.component = null, this.created = !1, this.setData(e);
3954
3987
  }
@@ -3985,7 +4018,7 @@ class Te extends Me {
3985
4018
  }
3986
4019
  rendered() {
3987
4020
  this.cells.forEach((e) => {
3988
- e.cellRendered();
4021
+ e.column.hidden || e.cellRendered();
3989
4022
  });
3990
4023
  }
3991
4024
  reinitializeHeight() {
@@ -4260,7 +4293,7 @@ const Ll = {
4260
4293
  unique: function(n, e, t) {
4261
4294
  return n.filter((s, o) => !(s == null || typeof s == "string" && s.trim() === "") && n.indexOf(s) === o).length;
4262
4295
  }
4263
- }, Zo = process.env.NODE_ENV === "development", Tt = class Tt extends I {
4296
+ }, Zo = process.env.NODE_ENV === "development", Dt = class Dt extends I {
4264
4297
  constructor(e) {
4265
4298
  super(e), this.topCalcs = [], this.botCalcs = [], this.genColumn = !1, this.topElement = this.createElement(), this.botElement = this.createElement(), this.topRow = !1, this.botRow = !1, this.topInitialized = !1, this.botInitialized = !1, this.blocked = !1, this.recalcAfterBlock = !1, this.registerTableOption("columnCalcs", !0), this.registerColumnOption("topCalc"), this.registerColumnOption("topCalcParams"), this.registerColumnOption("topCalcFormatter"), this.registerColumnOption("topCalcFormatterParams"), this.registerColumnOption("bottomCalc"), this.registerColumnOption("bottomCalcParams"), this.registerColumnOption("bottomCalcFormatter"), this.registerColumnOption("bottomCalcFormatterParams");
4266
4299
  }
@@ -4322,7 +4355,7 @@ const Ll = {
4322
4355
  if (t.topCalc) {
4323
4356
  switch (typeof t.topCalc) {
4324
4357
  case "string":
4325
- Tt.calculations[t.topCalc] ? i.topCalc = Tt.calculations[t.topCalc] : Zo && console.warn(
4358
+ Dt.calculations[t.topCalc] ? i.topCalc = Dt.calculations[t.topCalc] : Zo && console.warn(
4326
4359
  "Column Calc Error - No such calculation found, ignoring: ",
4327
4360
  t.topCalc
4328
4361
  );
@@ -4336,7 +4369,7 @@ const Ll = {
4336
4369
  if (t.bottomCalc) {
4337
4370
  switch (typeof t.bottomCalc) {
4338
4371
  case "string":
4339
- Tt.calculations[t.bottomCalc] ? i.botCalc = Tt.calculations[t.bottomCalc] : Zo && console.warn(
4372
+ Dt.calculations[t.bottomCalc] ? i.botCalc = Dt.calculations[t.bottomCalc] : Zo && console.warn(
4340
4373
  "Column Calc Error - No such calculation found, ignoring: ",
4341
4374
  t.bottomCalc
4342
4375
  );
@@ -4427,7 +4460,7 @@ const Ll = {
4427
4460
  generateRow(e, t) {
4428
4461
  const i = this.generateRowData(e, t);
4429
4462
  this.table.modExists("mutator") && this.table.modules.mutator?.disable();
4430
- const s = new Te(i, this, "calc");
4463
+ const s = new De(i, this, "calc");
4431
4464
  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 Fl(s)), s.component), s.generateCells = () => {
4432
4465
  const o = [];
4433
4466
  this.table.columnManager?.columnsByIndex.forEach((r) => {
@@ -4500,9 +4533,9 @@ const Ll = {
4500
4533
  this.botRow && (this.table.rtl ? this.botElement.style.paddingLeft = e + "px" : this.botElement.style.paddingRight = e + "px");
4501
4534
  }
4502
4535
  };
4503
- Tt.moduleName = "columnCalcs", Tt.calculations = Ll;
4504
- let Cs = Tt;
4505
- class Es extends Te {
4536
+ Dt.moduleName = "columnCalcs", Dt.calculations = Ll;
4537
+ let Cs = Dt;
4538
+ class Es extends De {
4506
4539
  constructor(e = {}, t) {
4507
4540
  super(e, t), this.type = "placeholder", this.height = 0, this.outerHeight = 0, this.initialized = !1, this.modules = {}, this.cells = [];
4508
4541
  }
@@ -4699,7 +4732,7 @@ const zl = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
4699
4732
  const t = [];
4700
4733
  return e.forEach((i) => {
4701
4734
  let s, o;
4702
- t.push(i), i instanceof Te && (i.create(), s = i.modules.dataTree, !s.index && s.children !== !1 && (o = this.getChildren(i, !1, !0), o.forEach((r) => {
4735
+ t.push(i), i instanceof De && (i.create(), s = i.modules.dataTree, !s.index && s.children !== !1 && (o = this.getChildren(i, !1, !0), o.forEach((r) => {
4703
4736
  r.create(), t.push(r);
4704
4737
  })));
4705
4738
  }), t;
@@ -4722,7 +4755,7 @@ const zl = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
4722
4755
  Array.isArray(i) || (i = i ? [i] : []);
4723
4756
  const s = e.modules.dataTree.index + 1;
4724
4757
  if (i.forEach((o) => {
4725
- const r = new Te(o || {}, this.table.rowManager);
4758
+ const r = new De(o || {}, this.table.rowManager);
4726
4759
  r.create(), r.modules.dataTree.index = s, r.modules.dataTree.parent = e, r.modules.dataTree.children && (r.modules.dataTree.open = this.startOpen(
4727
4760
  r.getComponent(),
4728
4761
  r.modules.dataTree.index
@@ -4865,13 +4898,13 @@ const zl = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
4865
4898
  return t.children && (Array.isArray(t.children) || (e.modules.dataTree.children = this.generateChildren(e)), this.table.modExists("filter") && this.table.options.dataTreeFilter ? s = this.table.modules.filter?.filter(
4866
4899
  e.modules.dataTree.children
4867
4900
  ) || [] : s = e.modules.dataTree.children, s.forEach((o) => {
4868
- o instanceof Te && i.push(o);
4901
+ o instanceof De && i.push(o);
4869
4902
  })), i;
4870
4903
  }
4871
4904
  rowDeleting(e) {
4872
4905
  const t = e.modules.dataTree;
4873
4906
  t && t.children && Array.isArray(t.children) && t.children.forEach((i) => {
4874
- i instanceof Te && i.wipe();
4907
+ i instanceof De && i.wipe();
4875
4908
  });
4876
4909
  }
4877
4910
  rowDelete(e) {
@@ -4893,14 +4926,14 @@ const zl = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
4893
4926
  findChildIndex(e, t) {
4894
4927
  let i = !1;
4895
4928
  if (typeof e == "object")
4896
- if (e instanceof Te)
4929
+ if (e instanceof De)
4897
4930
  i = e.data;
4898
4931
  else if (e._getSelf)
4899
4932
  i = e._getSelf().data;
4900
4933
  else if (typeof HTMLElement < "u" && e instanceof HTMLElement) {
4901
4934
  const s = t.modules.dataTree;
4902
4935
  if (s) {
4903
- const o = s.children?.find((r) => r instanceof Te ? r.element === e : !1);
4936
+ const o = s.children?.find((r) => r instanceof De ? r.element === e : !1);
4904
4937
  o && (i = o.data);
4905
4938
  }
4906
4939
  } else e === null && (i = !1);
@@ -4921,7 +4954,7 @@ const zl = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
4921
4954
  getTreeChildren(e, t, i) {
4922
4955
  const s = e.modules.dataTree, o = [];
4923
4956
  return s?.children && (Array.isArray(s.children) || (e.modules.dataTree.children = this.generateChildren(e)), s.children.forEach((r) => {
4924
- r instanceof Te && (t ? o.push(r.getComponent()) : o.push(r), i && this.getTreeChildren(r, t, i).forEach(
4957
+ r instanceof De && (t ? o.push(r.getComponent()) : o.push(r), i && this.getTreeChildren(r, t, i).forEach(
4925
4958
  (a) => {
4926
4959
  o.push(a);
4927
4960
  }
@@ -5053,18 +5086,18 @@ const Qo = process.env.NODE_ENV === "development", Vl = function(n, e = {}, t) {
5053
5086
  return f.columns.forEach((y) => {
5054
5087
  let k;
5055
5088
  if (y) {
5056
- let D = y.value;
5057
- switch (typeof D) {
5089
+ let T = y.value;
5090
+ switch (typeof T) {
5058
5091
  case "object":
5059
- D = D !== null ? JSON.stringify(D) : "";
5092
+ T = T !== null ? JSON.stringify(T) : "";
5060
5093
  break;
5061
5094
  case "undefined":
5062
- D = "";
5095
+ T = "";
5063
5096
  break;
5064
5097
  }
5065
5098
  k = {
5066
5099
  colSpan: y.width,
5067
- content: D,
5100
+ content: T,
5068
5101
  rowSpan: y.height
5069
5102
  }, w && (k.styles = w), E.push(k);
5070
5103
  }
@@ -5116,21 +5149,21 @@ const Qo = process.env.NODE_ENV === "development", Vl = function(n, e = {}, t) {
5116
5149
  const f = [], w = [], E = {}, y = {
5117
5150
  e: {
5118
5151
  c: n[0] ? n[0].columns.reduce(
5119
- (k, D) => k + (D?.width ? D.width : 1),
5152
+ (k, T) => k + (T?.width ? T.width : 1),
5120
5153
  0
5121
5154
  ) : 0,
5122
5155
  r: n.length
5123
5156
  },
5124
5157
  s: { c: 0, r: 0 }
5125
5158
  };
5126
- return n.forEach((k, D) => {
5159
+ return n.forEach((k, T) => {
5127
5160
  const he = [];
5128
5161
  k.columns.forEach((L, ge) => {
5129
5162
  L ? (he.push(
5130
5163
  !(L.value instanceof Date) && typeof L.value == "object" ? JSON.stringify(L.value) : L.value
5131
5164
  ), (L.width > 1 || L.height > -1) && (L.height > 1 || L.width > 1) && w.push({
5132
- e: { c: ge + L.width - 1, r: D + L.height - 1 },
5133
- s: { c: ge, r: D }
5165
+ e: { c: ge + L.width - 1, r: T + L.height - 1 },
5166
+ s: { c: ge, r: T }
5134
5167
  })) : he.push("");
5135
5168
  }), f.push(he);
5136
5169
  }), o.utils.sheet_add_aoa(E, f), E["!ref"] = o.utils.encode_range(y), w.length && (E["!merges"] = w), E;
@@ -5658,7 +5691,7 @@ function mh(n, e, t) {
5658
5691
  gap: f,
5659
5692
  justifyContent: w,
5660
5693
  wrap: E
5661
- } = e, y = x`<cx-space class="tabulator-composite" style=${pt(p ?? {})} align-items=${c ?? "center"} ?block=${d} direction=${te(u)} justify-content=${te(w)} spacing=${f ?? "3x-small"} wrap=${E ?? "nowrap"}></cx-space>`, k = B(y), D = [];
5694
+ } = e, y = x`<cx-space class="tabulator-composite" style=${pt(p ?? {})} align-items=${c ?? "center"} ?block=${d} direction=${te(u)} justify-content=${te(w)} spacing=${f ?? "3x-small"} wrap=${E ?? "nowrap"}></cx-space>`, k = B(y), T = [];
5662
5695
  return e.elements.forEach((L) => {
5663
5696
  const ge = or({
5664
5697
  cell: n,
@@ -5679,7 +5712,7 @@ function mh(n, e, t) {
5679
5712
  getType: () => "cell",
5680
5713
  getValue: () => J,
5681
5714
  value: J
5682
- }, R = typeof L.formatterParams == "function" ? L.formatterParams(C) : L.formatterParams ?? {}, T = (re) => {
5715
+ }, R = typeof L.formatterParams == "function" ? L.formatterParams(C) : L.formatterParams ?? {}, D = (re) => {
5683
5716
  t && t(re);
5684
5717
  };
5685
5718
  let S;
@@ -5688,7 +5721,7 @@ function mh(n, e, t) {
5688
5721
  this,
5689
5722
  C,
5690
5723
  R,
5691
- T
5724
+ D
5692
5725
  );
5693
5726
  } catch {
5694
5727
  S = String(J ?? "");
@@ -5699,12 +5732,12 @@ function mh(n, e, t) {
5699
5732
  spacing: L.spacing,
5700
5733
  style: L.style
5701
5734
  });
5702
- typeof S == "string" ? _.textContent = S : S instanceof Node && _.appendChild(S), D.push({
5735
+ typeof S == "string" ? _.textContent = S : S instanceof Node && _.appendChild(S), T.push({
5703
5736
  separator: L.separator,
5704
5737
  wrapper: _
5705
5738
  });
5706
- }), D.length === 0 ? void 0 : (D.flatMap((L, ge) => {
5707
- const { separator: J, wrapper: z } = L, b = ge === D.length - 1;
5739
+ }), T.length === 0 ? void 0 : (T.flatMap((L, ge) => {
5740
+ const { separator: J, wrapper: z } = L, b = ge === T.length - 1;
5708
5741
  if (!J || b)
5709
5742
  return [z];
5710
5743
  const C = document.createElement("span");
@@ -5784,12 +5817,12 @@ function kh(n, e) {
5784
5817
  }
5785
5818
  return i.class && (o.className = i.class), i.style && Object.assign(o.style, i.style), o;
5786
5819
  }
5787
- const Th = x`<div style="display: flex; align-items: center; justify-content: center;"><img style="max-width: 100%; max-height: 100%; object-fit: cover;"></div>`;
5788
- function Dh(n, e) {
5820
+ const Dh = x`<div style="display: flex; align-items: center; justify-content: center;"><img style="max-width: 100%; max-height: 100%; object-fit: cover;"></div>`;
5821
+ function Th(n, e) {
5789
5822
  let t = n.getValue();
5790
5823
  if (!t)
5791
5824
  return null;
5792
- const i = B(Th), s = i.querySelector("img"), o = e ?? {};
5825
+ const i = B(Dh), s = i.querySelector("img"), o = e ?? {};
5793
5826
  switch (o.urlPrefix && (t = o.urlPrefix + n.getValue()), o.urlSuffix && (t = t + o.urlSuffix), s.setAttribute("src", String(t)), typeof o.height) {
5794
5827
  case "number":
5795
5828
  i.style.height = o.height + "px";
@@ -6180,7 +6213,7 @@ const rn = {
6180
6213
  handle: xh,
6181
6214
  html: Rh,
6182
6215
  icon: kh,
6183
- image: Dh,
6216
+ image: Th,
6184
6217
  json: Fh,
6185
6218
  link: zh,
6186
6219
  lookup: Oh,
@@ -6200,7 +6233,7 @@ const rn = {
6200
6233
  typography: rc
6201
6234
  };
6202
6235
  sh(rn);
6203
- const Dt = class Dt extends I {
6236
+ const Tt = class Tt extends I {
6204
6237
  constructor(e) {
6205
6238
  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");
6206
6239
  }
@@ -6220,14 +6253,14 @@ const Dt = class Dt extends I {
6220
6253
  }
6221
6254
  lookupTypeFormatter(e, t) {
6222
6255
  const i = "formatter" + t + "Params", s = {
6223
- formatter: Dt.formatters.plaintext,
6256
+ formatter: Tt.formatters.plaintext,
6224
6257
  params: e.definition[i] || {},
6225
6258
  textFormatParams: e.definition.textFormatParams || {}
6226
6259
  }, o = e.definition["formatter" + t];
6227
- return s.formatter = Dt.lookupFormatter(o), s;
6260
+ return s.formatter = Tt.lookupFormatter(o), s;
6228
6261
  }
6229
6262
  static lookupFormatter(e) {
6230
- return Yi(e, Dt.formatters);
6263
+ return Yi(e, Tt.formatters);
6231
6264
  }
6232
6265
  cellRendered(e) {
6233
6266
  const t = e.modules.format;
@@ -6242,7 +6275,7 @@ const Dt = class Dt extends I {
6242
6275
  */
6243
6276
  formatHeader(e, t, i) {
6244
6277
  let s, o, r, a;
6245
- return e.definition.titleFormatter ? (s = Dt.lookupFormatter(e.definition.titleFormatter), r = (l) => {
6278
+ return e.definition.titleFormatter ? (s = Tt.lookupFormatter(e.definition.titleFormatter), r = (l) => {
6246
6279
  e.titleFormatterRendered = l;
6247
6280
  }, a = {
6248
6281
  getColumn: function() {
@@ -6302,9 +6335,9 @@ const Dt = class Dt extends I {
6302
6335
  return this.formatValue(e);
6303
6336
  }
6304
6337
  };
6305
- Dt.moduleName = "format", Dt.formatters = rn;
6306
- let Hi = Dt;
6307
- const ct = process.env.NODE_ENV === "development", nc = x`<cx-option></cx-option>`, ac = x`<cx-divider></cx-divider>`;
6338
+ Tt.moduleName = "format", Tt.formatters = rn;
6339
+ let Hi = Tt;
6340
+ const ht = process.env.NODE_ENV === "development", nc = x`<cx-option></cx-option>`, ac = x`<cx-divider></cx-divider>`;
6308
6341
  class lc {
6309
6342
  constructor(e, t, i, s, o, r) {
6310
6343
  this._itemsMap = /* @__PURE__ */ new Map(), this.table = e.table, this.cell = t, this.params = this._initializeParams(r), this.fetchApi = typeof globalThis.fetch == "function" ? globalThis.fetch.bind(globalThis) : void 0, this.data = [], this.displayItems = [], this.focusedItem = null, this.input = this._createSelectElement(), this.initialValue = void 0, this.initialValues = [], this.isHeaderFilter = t.row?.type === "header", this.typing = !1, this.listIteration = 0, this.lastAction = "", this.actions = {
@@ -6390,15 +6423,15 @@ class lc {
6390
6423
  const i = Object.keys(e).filter(
6391
6424
  (s) => t.has(s)
6392
6425
  ).length;
6393
- return i ? i > 1 && ct && console.warn(
6426
+ return i ? i > 1 && ht && console.warn(
6394
6427
  "list editor config error - only one of the values, valuesURL, or valuesLookup options can be set on the same editor"
6395
- ) : ct && console.warn(
6428
+ ) : ht && console.warn(
6396
6429
  "list editor config error - either the values, valuesURL, or valuesLookup option must be set"
6397
- ), e.autocomplete || (e.freetext && (e.freetext = !1, ct && console.warn(
6430
+ ), e.autocomplete || (e.freetext && (e.freetext = !1, ht && console.warn(
6398
6431
  "list editor config error - freetext option is only available when autocomplete is enabled"
6399
- )), e.filterRemote && (e.filterRemote = !1, ct && console.warn(
6432
+ )), e.filterRemote && (e.filterRemote = !1, ht && console.warn(
6400
6433
  "list editor config error - filterRemote option is only available when autocomplete is enabled"
6401
- )), e.listOnEmpty && (e.listOnEmpty = !1, ct && console.warn(
6434
+ )), e.listOnEmpty && (e.listOnEmpty = !1, ht && console.warn(
6402
6435
  "list editor config error - listOnEmpty option is only available when autocomplete is enabled"
6403
6436
  ))), e;
6404
6437
  }
@@ -6438,7 +6471,7 @@ class lc {
6438
6471
  const e = await this._generateOptions(), t = this._sortOptions(e);
6439
6472
  this._buildList(t), await this.input.updateComplete;
6440
6473
  } catch (e) {
6441
- ct && console.error("List generation error", e);
6474
+ ht && console.error("List generation error", e);
6442
6475
  }
6443
6476
  }
6444
6477
  async _generateOptions() {
@@ -6473,7 +6506,7 @@ class lc {
6473
6506
  throw new Error("fetch is not available");
6474
6507
  const a = await this.fetchApi(e);
6475
6508
  if (!a.ok)
6476
- return ct && console.error(
6509
+ return ht && console.error(
6477
6510
  "List Ajax Load Error - Connection Error: " + a.status,
6478
6511
  a.statusText
6479
6512
  ), [];
@@ -6481,10 +6514,10 @@ class lc {
6481
6514
  try {
6482
6515
  return r = await a.json(), i && (r = i(e, o, r)), r;
6483
6516
  } catch (l) {
6484
- ct && console.warn("List Ajax Load Error - Invalid JSON returned", l);
6517
+ ht && console.warn("List Ajax Load Error - Invalid JSON returned", l);
6485
6518
  }
6486
6519
  } catch (a) {
6487
- ct && console.error("List Ajax Load Error - Connection Error: ", a);
6520
+ ht && console.error("List Ajax Load Error - Connection Error: ", a);
6488
6521
  }
6489
6522
  return r;
6490
6523
  }
@@ -6497,7 +6530,7 @@ class lc {
6497
6530
  this._emptyValueCheck(l) || (t[l] = !0);
6498
6531
  });
6499
6532
  else
6500
- return ct && console.warn(
6533
+ return ht && console.warn(
6501
6534
  "unable to find matching column to create select lookup list:",
6502
6535
  e
6503
6536
  ), [];
@@ -6634,9 +6667,9 @@ class lc {
6634
6667
  return i > s ? 1 : -1;
6635
6668
  for (i = y.join(""), s = k.join(""), l = Math.min(i.length, s.length); a < l; )
6636
6669
  if (o = i[a], r = s[a++], o !== r) {
6637
- const D = Number(o), he = Number(r);
6638
- if (Number.isFinite(D) && Number.isFinite(he) && !Number.isNaN(D) && !Number.isNaN(he)) {
6639
- const L = o.startsWith("0") ? Number.parseFloat("." + o) : D, ge = r.startsWith("0") ? Number.parseFloat("." + r) : he;
6670
+ const T = Number(o), he = Number(r);
6671
+ if (Number.isFinite(T) && Number.isFinite(he) && !Number.isNaN(T) && !Number.isNaN(he)) {
6672
+ const L = o.startsWith("0") ? Number.parseFloat("." + o) : T, ge = r.startsWith("0") ? Number.parseFloat("." + r) : he;
6640
6673
  return L - ge;
6641
6674
  } else
6642
6675
  return o > r ? 1 : -1;
@@ -6987,12 +7020,12 @@ const hc = function(n, e, t, i, s) {
6987
7020
  }
6988
7021
  function f(E) {
6989
7022
  const y = document.createElement("span"), k = p.cloneNode(!0);
6990
- c.push(k), y.addEventListener("mouseenter", (D) => {
6991
- D.stopPropagation(), D.stopImmediatePropagation(), u(E);
6992
- }), y.addEventListener("mousemove", (D) => {
6993
- D.stopPropagation(), D.stopImmediatePropagation();
6994
- }), y.addEventListener("click", (D) => {
6995
- D.stopPropagation(), D.stopImmediatePropagation(), t(E), r.blur();
7023
+ c.push(k), y.addEventListener("mouseenter", (T) => {
7024
+ T.stopPropagation(), T.stopImmediatePropagation(), u(E);
7025
+ }), y.addEventListener("mousemove", (T) => {
7026
+ T.stopPropagation(), T.stopImmediatePropagation();
7027
+ }), y.addEventListener("click", (T) => {
7028
+ T.stopPropagation(), T.stopImmediatePropagation(), t(E), r.blur();
6996
7029
  }), y.appendChild(k), d.appendChild(y);
6997
7030
  }
6998
7031
  function w(E) {
@@ -7194,7 +7227,7 @@ const hc = function(n, e, t, i, s) {
7194
7227
  textarea: fc,
7195
7228
  tickCross: mc,
7196
7229
  time: bc
7197
- }, Di = process.env.NODE_ENV === "development", nn = "tabulator-edit-list-trigger", vc = "tabulator-edit-list-trigger-caret", yc = x`<button aria-label="Open list editor" class=${nn} tabindex="-1" type="button"><cx-icon aria-hidden="true" class=${vc} name="arrow_drop_down"></cx-icon></button>`, mi = class mi extends I {
7230
+ }, Ti = process.env.NODE_ENV === "development", nn = "tabulator-edit-list-trigger", vc = "tabulator-edit-list-trigger-caret", yc = x`<button aria-label="Open list editor" class=${nn} tabindex="-1" type="button"><cx-icon aria-hidden="true" class=${vc} name="arrow_drop_down"></cx-icon></button>`, mi = class mi extends I {
7198
7231
  constructor(e) {
7199
7232
  super(e), this.currentCell = !1, this.mouseClick = !1, this.recursionBlock = !1, this.invalidEdit = !1, this.editedCells = [], this.convertEmptyValues = !1, this.editors = mi.editors, this.registerTableOption("editTriggerEvent", "focus"), this.registerTableOption("editorEmptyValue"), this.registerTableOption(
7200
7233
  "editorEmptyValueFunc",
@@ -7279,7 +7312,7 @@ const hc = function(n, e, t, i, s) {
7279
7312
  return !!e._getSelf().modules.edit && e._getSelf().modules.edit.edited;
7280
7313
  }
7281
7314
  cellCancelEdit(e) {
7282
- e._getSelf() === this.currentCell ? this.cancelEdit() : Di && console.warn(
7315
+ e._getSelf() === this.currentCell ? this.cancelEdit() : Ti && console.warn(
7283
7316
  "Cancel Editor Error - This cell is not currently being edited "
7284
7317
  );
7285
7318
  }
@@ -7288,7 +7321,9 @@ const hc = function(n, e, t, i, s) {
7288
7321
  // /////// Table Functions /////////
7289
7322
  // /////////////////////////////////
7290
7323
  updateCellClass(e) {
7291
- const t = e.getElement();
7324
+ if (e.column.hidden && !e.element)
7325
+ return;
7326
+ const t = e.getElement(!0);
7292
7327
  t && (this.allowEdit(e) ? t.classList.add("tabulator-editable") : t.classList.remove("tabulator-editable"));
7293
7328
  }
7294
7329
  clearCellEdited(e) {
@@ -7336,7 +7371,10 @@ const hc = function(n, e, t, i, s) {
7336
7371
  let i = !1;
7337
7372
  if (t < e.cells.length - 1)
7338
7373
  for (let s = t + 1; s < e.cells.length; s++) {
7339
- const o = e.cells[s], r = o.getElement();
7374
+ const o = e.cells[s];
7375
+ if (o.column.hidden)
7376
+ continue;
7377
+ const r = o.getElement();
7340
7378
  if (o.column.modules.edit && r && Z.elVisible(r) && this.allowEdit(o)) {
7341
7379
  i = o;
7342
7380
  break;
@@ -7348,7 +7386,10 @@ const hc = function(n, e, t, i, s) {
7348
7386
  let i = !1;
7349
7387
  if (t > 0)
7350
7388
  for (let s = t - 1; s >= 0; s--) {
7351
- const o = e.cells[s], r = o.getElement();
7389
+ const o = e.cells[s];
7390
+ if (o.column.hidden)
7391
+ continue;
7392
+ const r = o.getElement();
7352
7393
  if (o.column.modules.edit && r && Z.elVisible(r) && this.allowEdit(o)) {
7353
7394
  i = o;
7354
7395
  break;
@@ -7370,7 +7411,7 @@ const hc = function(n, e, t, i, s) {
7370
7411
  }
7371
7412
  rowEditableCheck(e) {
7372
7413
  e.getCells().forEach((t) => {
7373
- t.column.modules.edit && typeof t.column.modules.edit.check == "function" && this.updateCellClass(t);
7414
+ !t.column.hidden && t.column.modules.edit && typeof t.column.modules.edit.check == "function" && this.updateCellClass(t);
7374
7415
  });
7375
7416
  }
7376
7417
  // initialize column editor
@@ -7392,13 +7433,13 @@ const hc = function(n, e, t, i, s) {
7392
7433
  let i = !1;
7393
7434
  switch (typeof e) {
7394
7435
  case "string":
7395
- this.editors[e] ? i = this.editors[e] : Di && console.warn("Editor Error - No such editor found: ", e);
7436
+ this.editors[e] ? i = this.editors[e] : Ti && console.warn("Editor Error - No such editor found: ", e);
7396
7437
  break;
7397
7438
  case "function":
7398
7439
  i = e;
7399
7440
  break;
7400
7441
  case "boolean":
7401
- e === !0 && (typeof t.definition.formatter == "function" ? Di && console.warn(
7442
+ e === !0 && (typeof t.definition.formatter == "function" ? Ti && console.warn(
7402
7443
  "Editor Error - Cannot auto lookup editor for a custom formatter: ",
7403
7444
  t.definition.formatter
7404
7445
  ) : t.definition.formatter && this.editors[t.definition.formatter] ? i = this.editors[t.definition.formatter] : i = this.editors.input);
@@ -7562,7 +7603,7 @@ const hc = function(n, e, t, i, s) {
7562
7603
  k.stopPropagation();
7563
7604
  });
7564
7605
  } else
7565
- return Di && console.warn(
7606
+ return Ti && console.warn(
7566
7607
  "Edit Error - Editor should return an instance of Node, the editor returned:",
7567
7608
  l
7568
7609
  ), this.blur(r), !1;
@@ -8161,7 +8202,7 @@ function Oe(n) {
8161
8202
  }
8162
8203
  }
8163
8204
  const an = Symbol("skip-composite-element");
8164
- function Tc(n, e, t, i, s) {
8205
+ function Dc(n, e, t, i, s) {
8165
8206
  if (typeof n?.getValue == "function")
8166
8207
  return an;
8167
8208
  if (n?.value !== void 0)
@@ -8169,7 +8210,7 @@ function Tc(n, e, t, i, s) {
8169
8210
  const o = n?.field;
8170
8211
  return typeof o == "string" && o.length > 0 ? o === e ? t : s ? Z.retrieveNestedData(s, o, i) : i[o] : t;
8171
8212
  }
8172
- function Dc(n, e, t) {
8213
+ function Tc(n, e, t) {
8173
8214
  return !!(typeof n?.shouldHide == "function" && Oe(() => n.shouldHide(e, t)) || n?.hideValues !== void 0 && (Array.isArray(n.hideValues) ? n.hideValues : [n.hideValues]).includes(e) || typeof n?.shouldShow == "function" && !Oe(
8174
8215
  () => n.shouldShow(e, t)
8175
8216
  ) || n?.showValues !== void 0 && !(Array.isArray(n.showValues) ? n.showValues : [n.showValues]).includes(e));
@@ -8180,7 +8221,7 @@ function Mc(n, e) {
8180
8221
  return [];
8181
8222
  const l = [];
8182
8223
  for (const h of a) {
8183
- const c = Tc(
8224
+ const c = Dc(
8184
8225
  h,
8185
8226
  e,
8186
8227
  i,
@@ -8195,7 +8236,7 @@ function Mc(n, e) {
8195
8236
  const u = p[String(c)];
8196
8237
  u !== void 0 && (d = u);
8197
8238
  }
8198
- if (!Dc(h, d, s) && (d !== c && Ni(l, d, c), h?.formatter !== void 0)) {
8239
+ if (!Tc(h, d, s) && (d !== c && Ni(l, d, c), h?.formatter !== void 0)) {
8199
8240
  const u = fo({
8200
8241
  columnField: e,
8201
8242
  formatter: h.formatter,
@@ -8469,7 +8510,7 @@ function Gc(n, e, t, i, s) {
8469
8510
  table: n
8470
8511
  });
8471
8512
  }
8472
- const Ae = process.env.NODE_ENV === "development", dt = class dt extends I {
8513
+ const Ae = process.env.NODE_ENV === "development", ct = class ct extends I {
8473
8514
  constructor(e) {
8474
8515
  super(e), this.filterList = [], this.headerFilters = {}, this.headerFilterColumns = [], this.prevHeaderFilterChangeCheck = "", this.prevHeaderFilterChangeCheck = "{}", this.changed = !1, this.tableInitialized = !1, this.registerTableOption("filterMode", "local"), this.registerTableOption("initialFilter", !1), this.registerTableOption("initialHeaderFilter", !1), this.registerTableOption("headerFilterLiveFilterDelay", 300), this.registerTableOption("placeholderHeaderFilter", !1), this.registerColumnOption("headerFilter"), this.registerColumnOption("headerFilterPlaceholder"), this.registerColumnOption("headerFilterParams"), this.registerColumnOption("headerFilterEmptyCheck"), this.registerColumnOption("headerFilterFunc"), this.registerColumnOption("headerFilterFuncParams"), this.registerColumnOption("headerFilterLiveFilter"), this.registerTableFunction("searchRows", this.searchRows.bind(this)), this.registerTableFunction("searchData", this.searchData.bind(this)), this.registerTableFunction("setFilter", this.userSetFilter.bind(this)), this.registerTableFunction("createFilterFieldFunction", this.createFilterFieldFunction.bind(this)), this.registerTableFunction(
8475
8516
  "refreshFilter",
@@ -8517,7 +8558,7 @@ const Ae = process.env.NODE_ENV === "development", dt = class dt extends I {
8517
8558
  ), this.subscribe(
8518
8559
  "column-width-fit-after",
8519
8560
  this.showHeaderFilterElements.bind(this)
8520
- ), this.subscribe("table-built", this.tableBuilt.bind(this)), this.subscribe("placeholder", this.generatePlaceholder.bind(this)), this.table.options.filterMode === Ze.Remote && this.subscribe("data-params", this.remoteFilterParams.bind(this)), this.registerDataHandler(
8561
+ ), this.subscribe("table-built", this.tableBuilt.bind(this)), this.subscribe("placeholder", this.generatePlaceholder.bind(this)), this.table.options.filterMode === ut.Remote && this.subscribe("data-params", this.remoteFilterParams.bind(this)), this.registerDataHandler(
8521
8562
  this.filter.bind(this),
8522
8563
  10
8523
8564
  );
@@ -8642,10 +8683,10 @@ const Ae = process.env.NODE_ENV === "development", dt = class dt extends I {
8642
8683
  if (d && !d(r)) {
8643
8684
  switch (e.modules.filter.value = r, typeof e.definition.headerFilterFunc) {
8644
8685
  case "string":
8645
- dt.filters[e.definition.headerFilterFunc] ? (l = e.definition.headerFilterFunc, c = function(p) {
8686
+ ct.filters[e.definition.headerFilterFunc] ? (l = e.definition.headerFilterFunc, c = function(p) {
8646
8687
  let u = e.definition.headerFilterFuncParams || {};
8647
8688
  const f = e.getFieldValue(p);
8648
- return u = typeof u == "function" ? u(r, f, p) : u, dt.filters[e.definition.headerFilterFunc](r, f, p, u);
8689
+ return u = typeof u == "function" ? u(r, f, p) : u, ct.filters[e.definition.headerFilterFunc](r, f, p, u);
8649
8690
  }) : Ae && console.warn(
8650
8691
  "Header Filter Error - Matching filter function not found: ",
8651
8692
  e.definition.headerFilterFunc
@@ -8784,8 +8825,8 @@ const Ae = process.env.NODE_ENV === "development", dt = class dt extends I {
8784
8825
  }), h.addEventListener("focus", () => {
8785
8826
  const y = this.table.columnManager?.contentsElement, k = this.table.rowManager?.element;
8786
8827
  if (y && k && this.table.rowManager && this.table.columnManager) {
8787
- const D = y.scrollLeft, he = k.scrollLeft;
8788
- D !== he && (this.table.rowManager.scrollHorizontal(D), this.table.columnManager.scrollHorizontal(D));
8828
+ const T = y.scrollLeft, he = k.scrollLeft;
8829
+ T !== he && (this.table.rowManager.scrollHorizontal(T), this.table.columnManager.scrollHorizontal(T));
8789
8830
  }
8790
8831
  }), d = !1, p = function(y) {
8791
8832
  d && clearTimeout(d), d = setTimeout(() => {
@@ -8848,7 +8889,7 @@ const Ae = process.env.NODE_ENV === "development", dt = class dt extends I {
8848
8889
  ));
8849
8890
  }
8850
8891
  refreshFilter() {
8851
- this.tableInitialized && (this.table.options.filterMode === Ze.Remote ? this.reloadData(null, !1, !1) : this.refreshData(!0));
8892
+ this.tableInitialized && (this.table.options.filterMode === ut.Remote ? this.reloadData(null, !1, !1) : this.refreshData(!0));
8852
8893
  }
8853
8894
  // check if the filters has changed since last use
8854
8895
  trackChanges() {
@@ -8875,7 +8916,7 @@ const Ae = process.env.NODE_ENV === "development", dt = class dt extends I {
8875
8916
  createFilterFieldFunction(e) {
8876
8917
  const t = this.table, i = /* @__PURE__ */ new Map(), o = !(e && e.length) ? Object.keys(t.columnManager?.columnsByField ?? {}) : e;
8877
8918
  return function(a, l) {
8878
- const h = typeof l.type == "function" ? l.type : dt.filters[l.type];
8919
+ const h = typeof l.type == "function" ? l.type : ct.filters[l.type];
8879
8920
  if (!h)
8880
8921
  return !1;
8881
8922
  const c = l.params || {}, d = o.length > 0, p = d ? o : Object.keys(a);
@@ -8946,12 +8987,12 @@ const Ae = process.env.NODE_ENV === "development", dt = class dt extends I {
8946
8987
  e || {}
8947
8988
  );
8948
8989
  };
8949
- else if (dt.filters[e.type])
8990
+ else if (ct.filters[e.type])
8950
8991
  if (t = this.table.columnManager?.getColumnByField(e.field) || void 0, t) {
8951
8992
  const o = t;
8952
8993
  i = function(r) {
8953
8994
  const a = e;
8954
- return dt.filters[e.type](
8995
+ return ct.filters[e.type](
8955
8996
  e.value,
8956
8997
  o.getFieldValue(r),
8957
8998
  r,
@@ -8961,7 +9002,7 @@ const Ae = process.env.NODE_ENV === "development", dt = class dt extends I {
8961
9002
  } else
8962
9003
  i = function(o) {
8963
9004
  const r = e;
8964
- return dt.filters[e.type](
9005
+ return ct.filters[e.type](
8965
9006
  e.value,
8966
9007
  o[e.field],
8967
9008
  o,
@@ -9073,7 +9114,7 @@ const Ae = process.env.NODE_ENV === "development", dt = class dt extends I {
9073
9114
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
9074
9115
  filter(e, t) {
9075
9116
  const i = [], s = [];
9076
- return this.subscribedExternal("dataFiltering") && this.dispatchExternal("dataFiltering", this.getFilters(!0)), this.table.options.filterMode !== Ze.Remote && (this.filterList.length || Object.keys(this.headerFilters).length) ? e.forEach((o) => {
9117
+ return this.subscribedExternal("dataFiltering") && this.dispatchExternal("dataFiltering", this.getFilters(!0)), this.table.options.filterMode !== ut.Remote && (this.filterList.length || Object.keys(this.headerFilters).length) ? e.forEach((o) => {
9077
9118
  this.filterRow(o) && i.push(o);
9078
9119
  }) : e.forEach((o) => i.push(o)), this.subscribedExternal("dataFiltered") && (i.forEach((o) => {
9079
9120
  s.push(o.getComponent());
@@ -9102,8 +9143,8 @@ const Ae = process.env.NODE_ENV === "development", dt = class dt extends I {
9102
9143
  }) : i = e.func(t), i;
9103
9144
  }
9104
9145
  };
9105
- dt.moduleName = "filter", dt.filters = Rc;
9106
- let Vi = dt;
9146
+ ct.moduleName = "filter", ct.filters = Rc;
9147
+ let Vi = ct;
9107
9148
  const Uc = process.env.NODE_ENV === "development", yo = class yo extends I {
9108
9149
  constructor(e) {
9109
9150
  super(e), this.leftColumns = [], this.rightColumns = [], this.active = !1, this.blocked = !0, this.registerColumnOption("frozen");
@@ -9119,7 +9160,7 @@ const Uc = process.env.NODE_ENV === "development", yo = class yo extends I {
9119
9160
  this.blocked = !0;
9120
9161
  }
9121
9162
  unblockLayout() {
9122
- this.blocked = !1;
9163
+ this.blocked = !1, this.layout();
9123
9164
  }
9124
9165
  layoutCell(e) {
9125
9166
  this.layoutElement(e.element, e.column);
@@ -9193,12 +9234,12 @@ const Uc = process.env.NODE_ENV === "development", yo = class yo extends I {
9193
9234
  );
9194
9235
  } else
9195
9236
  this.layoutElement(o.getElement(), o);
9196
- e && o.cells.forEach((l) => {
9237
+ e && !o.hidden && o.cells.forEach((l) => {
9197
9238
  this.layoutElement(l.getElement(!0), o);
9198
9239
  });
9199
9240
  }), this.rightColumns.forEach((o, r) => {
9200
9241
  const a = o.modules.frozen;
9201
- a.marginValue = s, a.margin = a.marginValue + "px", o.hidden || (s += o.getWidth()), r === this.rightColumns.length - 1 ? a.edge = !0 : a.edge = !1, o.parent instanceof Ve && o.parent.isGroup ? this.layoutElement(this.getColGroupParentElement(o), o) : this.layoutElement(o.getElement(), o), e && o.cells.forEach((l) => {
9242
+ a.marginValue = s, a.margin = a.marginValue + "px", o.hidden || (s += o.getWidth()), r === this.rightColumns.length - 1 ? a.edge = !0 : a.edge = !1, o.parent instanceof Ve && o.parent.isGroup ? this.layoutElement(this.getColGroupParentElement(o), o) : this.layoutElement(o.getElement(), o), e && !o.hidden && o.cells.forEach((l) => {
9202
9243
  this.layoutElement(l.getElement(!0), o);
9203
9244
  });
9204
9245
  }), this.rightMargin = s + "px", this.table.element?.style.setProperty(
@@ -9226,10 +9267,10 @@ const Uc = process.env.NODE_ENV === "development", yo = class yo extends I {
9226
9267
  }
9227
9268
  layoutRow(e) {
9228
9269
  this.table.options.layout === "fitDataFill" && this.rightColumns.length && this.table.rowManager?.getTableElement() && (this.table.rowManager.getTableElement().style.minWidth = "calc(100% - " + this.rightMargin + ")"), this.leftColumns.forEach((t) => {
9229
- const i = e.getCell(t);
9270
+ const i = t.hidden ? void 0 : e.getCell(t);
9230
9271
  i && this.layoutElement(i.getElement(!0), t);
9231
9272
  }), this.rightColumns.forEach((t) => {
9232
- const i = e.getCell(t);
9273
+ const i = t.hidden ? void 0 : e.getCell(t);
9233
9274
  i && this.layoutElement(i.getElement(!0), t);
9234
9275
  });
9235
9276
  }
@@ -9267,7 +9308,7 @@ const Uc = process.env.NODE_ENV === "development", yo = class yo extends I {
9267
9308
  }
9268
9309
  };
9269
9310
  yo.moduleName = "frozenColumns";
9270
- let Ts = yo;
9311
+ let Ds = yo;
9271
9312
  const cr = process.env.NODE_ENV === "development", Co = class Co extends I {
9272
9313
  constructor(e) {
9273
9314
  super(e), this.topElement = document.createElement("div"), this.rows = [], this.registerComponentFunction("row", "freeze", this.freezeRow.bind(this)), this.registerComponentFunction(
@@ -9354,7 +9395,7 @@ const cr = process.env.NODE_ENV === "development", Co = class Co extends I {
9354
9395
  }
9355
9396
  };
9356
9397
  Co.moduleName = "frozenRows";
9357
- let Ds = Co;
9398
+ let Ts = Co;
9358
9399
  const Kc = process.env.NODE_ENV === "development", qc = x`<cx-icon-button class="tabulator-group-toggle" name="keyboard_arrow_down"></cx-icon-button>`, Xc = x`<div class="tabulator-group-level-indent"></div>`, Jc = x`<cx-button size="small"><cx-icon slot="prefix" name="add" variant="outlined"></cx-icon>
9359
9400
  Load More
9360
9401
  </cx-button>`, Yc = x`<div class="tabulator-data-tree-loading">Loading...</div>`;
@@ -10230,7 +10271,7 @@ const Zc = {
10230
10271
  actions: ed,
10231
10272
  bindings: td
10232
10273
  }
10233
- }, dr = process.env.NODE_ENV === "development", ut = class ut extends I {
10274
+ }, dr = process.env.NODE_ENV === "development", dt = class dt extends I {
10234
10275
  constructor(e) {
10235
10276
  super(e), this.history = [], this.index = -1, this.registerTableOption("history", !1);
10236
10277
  }
@@ -10305,8 +10346,8 @@ const Zc = {
10305
10346
  undo() {
10306
10347
  if (this.index > -1) {
10307
10348
  const e = this.history[this.index];
10308
- if (ut.undoers[e.type])
10309
- return ut.undoers[e.type].call(this, e), this.index--, this.dispatchExternal(
10349
+ if (dt.undoers[e.type])
10350
+ return dt.undoers[e.type].call(this, e), this.index--, this.dispatchExternal(
10310
10351
  "historyUndo",
10311
10352
  e.type,
10312
10353
  e.component.getComponent(),
@@ -10321,8 +10362,8 @@ const Zc = {
10321
10362
  if (this.history.length - 1 > this.index) {
10322
10363
  this.index++;
10323
10364
  const e = this.history[this.index];
10324
- if (ut.redoers[e.type])
10325
- return ut.redoers[e.type].call(this, e), this.dispatchExternal(
10365
+ if (dt.redoers[e.type])
10366
+ return dt.redoers[e.type].call(this, e), this.dispatchExternal(
10326
10367
  "historyRedo",
10327
10368
  e.type,
10328
10369
  e.component.getComponent(),
@@ -10336,7 +10377,7 @@ const Zc = {
10336
10377
  // rebind rows to new element after deletion
10337
10378
  _rebindRow(e, t) {
10338
10379
  this.history.forEach((i) => {
10339
- if (i.component instanceof Te)
10380
+ if (i.component instanceof De)
10340
10381
  i.component === e && (i.component = t);
10341
10382
  else if (i.component instanceof ki && i.component.row === e) {
10342
10383
  const s = i.component.column.getField();
@@ -10348,8 +10389,8 @@ const Zc = {
10348
10389
  });
10349
10390
  }
10350
10391
  };
10351
- ut.moduleName = "history", ut.moduleExtensions = id, ut.undoers = Qc, ut.redoers = Zc;
10352
- let Fs = ut;
10392
+ dt.moduleName = "history", dt.moduleExtensions = id, dt.undoers = Qc, dt.redoers = Zc;
10393
+ let Fs = dt;
10353
10394
  const sd = process.env.NODE_ENV === "development", xo = class xo extends I {
10354
10395
  constructor(e) {
10355
10396
  super(e), this.fieldIndex = [], this.hasIndex = !1;
@@ -10456,20 +10497,20 @@ function nd() {
10456
10497
  var R = ge(C);
10457
10498
  R.chunkSize = parseInt(R.chunkSize), C.step || C.chunk || (R.chunkSize = null), this._handle = new E(R), (this._handle.streamer = this)._config = R;
10458
10499
  }).call(this, b), this.parseChunk = function(C, R) {
10459
- var T = parseInt(this._config.skipFirstNLines) || 0;
10460
- if (this.isFirstChunk && 0 < T) {
10500
+ var D = parseInt(this._config.skipFirstNLines) || 0;
10501
+ if (this.isFirstChunk && 0 < D) {
10461
10502
  let _ = this._config.newline;
10462
- _ || (S = this._config.quoteChar || '"', _ = this._handle.guessLineEndings(C, S)), C = [...C.split(_).slice(T)].join(_);
10503
+ _ || (S = this._config.quoteChar || '"', _ = this._handle.guessLineEndings(C, S)), C = [...C.split(_).slice(D)].join(_);
10463
10504
  }
10464
10505
  this.isFirstChunk && z(this._config.beforeFirstChunk) && (S = this._config.beforeFirstChunk(C)) !== void 0 && (C = S), this.isFirstChunk = !1, this._halted = !1;
10465
- var T = this._partialLine + C, S = (this._partialLine = "", this._handle.parse(T, this._baseIndex, !this._finished));
10506
+ var D = this._partialLine + C, S = (this._partialLine = "", this._handle.parse(D, this._baseIndex, !this._finished));
10466
10507
  if (!this._handle.paused() && !this._handle.aborted()) {
10467
- if (C = S.meta.cursor, T = (this._finished || (this._partialLine = T.substring(C - this._baseIndex), this._baseIndex = C), S && S.data && (this._rowCount += S.data.length), this._finished || this._config.preview && this._rowCount >= this._config.preview), r) i.postMessage({ results: S, workerId: h.WORKER_ID, finished: T });
10508
+ if (C = S.meta.cursor, D = (this._finished || (this._partialLine = D.substring(C - this._baseIndex), this._baseIndex = C), S && S.data && (this._rowCount += S.data.length), this._finished || this._config.preview && this._rowCount >= this._config.preview), r) i.postMessage({ results: S, workerId: h.WORKER_ID, finished: D });
10468
10509
  else if (z(this._config.chunk) && !R) {
10469
10510
  if (this._config.chunk(S, this._handle), this._handle.paused() || this._handle.aborted()) return void (this._halted = !0);
10470
10511
  this._completeResults = S = void 0;
10471
10512
  }
10472
- return this._config.step || this._config.chunk || (this._completeResults.data = this._completeResults.data.concat(S.data), this._completeResults.errors = this._completeResults.errors.concat(S.errors), this._completeResults.meta = S.meta), this._completed || !T || !z(this._config.complete) || S && S.meta.aborted || (this._config.complete(this._completeResults, this._input), this._completed = !0), T || S && S.meta.paused || this._nextChunk(), S;
10513
+ return this._config.step || this._config.chunk || (this._completeResults.data = this._completeResults.data.concat(S.data), this._completeResults.errors = this._completeResults.errors.concat(S.errors), this._completeResults.meta = S.meta), this._completed || !D || !z(this._config.complete) || S && S.meta.aborted || (this._config.complete(this._completeResults, this._input), this._completed = !0), D || S && S.meta.paused || this._nextChunk(), S;
10473
10514
  }
10474
10515
  this._halted = !0;
10475
10516
  }, this._sendError = function(C) {
@@ -10488,8 +10529,8 @@ function nd() {
10488
10529
  if (this._finished) this._chunkLoaded();
10489
10530
  else {
10490
10531
  if (C = new XMLHttpRequest(), this._config.withCredentials && (C.withCredentials = this._config.withCredentials), o || (C.onload = J(this._chunkLoaded, this), C.onerror = J(this._chunkError, this)), C.open(this._config.downloadRequestBody ? "POST" : "GET", this._input, !o), this._config.downloadRequestHeaders) {
10491
- var R, T = this._config.downloadRequestHeaders;
10492
- for (R in T) C.setRequestHeader(R, T[R]);
10532
+ var R, D = this._config.downloadRequestHeaders;
10533
+ for (R in D) C.setRequestHeader(R, D[R]);
10493
10534
  }
10494
10535
  var S;
10495
10536
  this._config.chunkSize && (S = this._start + this._config.chunkSize - 1, C.setRequestHeader("Range", "bytes=" + this._start + "-" + S));
@@ -10508,14 +10549,14 @@ function nd() {
10508
10549
  }
10509
10550
  function u(b) {
10510
10551
  (b = b || {}).chunkSize || (b.chunkSize = h.LocalChunkSize), d.call(this, b);
10511
- var C, R, T = typeof FileReader < "u";
10552
+ var C, R, D = typeof FileReader < "u";
10512
10553
  this.stream = function(S) {
10513
- this._input = S, R = S.slice || S.webkitSlice || S.mozSlice, T ? ((C = new FileReader()).onload = J(this._chunkLoaded, this), C.onerror = J(this._chunkError, this)) : C = new FileReaderSync(), this._nextChunk();
10554
+ this._input = S, R = S.slice || S.webkitSlice || S.mozSlice, D ? ((C = new FileReader()).onload = J(this._chunkLoaded, this), C.onerror = J(this._chunkError, this)) : C = new FileReaderSync(), this._nextChunk();
10514
10555
  }, this._nextChunk = function() {
10515
10556
  this._finished || this._config.preview && !(this._rowCount < this._config.preview) || this._readChunk();
10516
10557
  }, this._readChunk = function() {
10517
10558
  var S = this._input, _ = (this._config.chunkSize && (_ = Math.min(this._start + this._config.chunkSize, this._input.size), S = R.call(S, this._start, _)), C.readAsText(S, this._config.encoding));
10518
- T || this._chunkLoaded({ target: { result: _ } });
10559
+ D || this._chunkLoaded({ target: { result: _ } });
10519
10560
  }, this._chunkLoaded = function(S) {
10520
10561
  this._start += this._config.chunkSize, this._finished = !this._config.chunkSize || this._start >= this._input.size, this.parseChunk(S.target.result);
10521
10562
  }, this._chunkError = function() {
@@ -10527,13 +10568,13 @@ function nd() {
10527
10568
  d.call(this, b = b || {}), this.stream = function(R) {
10528
10569
  return C = R, this._nextChunk();
10529
10570
  }, this._nextChunk = function() {
10530
- var R, T;
10531
- if (!this._finished) return R = this._config.chunkSize, C = R ? (T = C.substring(0, R), C.substring(R)) : (T = C, ""), this._finished = !C, this.parseChunk(T);
10571
+ var R, D;
10572
+ if (!this._finished) return R = this._config.chunkSize, C = R ? (D = C.substring(0, R), C.substring(R)) : (D = C, ""), this._finished = !C, this.parseChunk(D);
10532
10573
  };
10533
10574
  }
10534
10575
  function w(b) {
10535
10576
  d.call(this, b = b || {});
10536
- var C = [], R = !0, T = !1;
10577
+ var C = [], R = !0, D = !1;
10537
10578
  this.pause = function() {
10538
10579
  d.prototype.pause.apply(this, arguments), this._input.pause();
10539
10580
  }, this.resume = function() {
@@ -10541,7 +10582,7 @@ function nd() {
10541
10582
  }, this.stream = function(S) {
10542
10583
  this._input = S, this._input.on("data", this._streamData), this._input.on("end", this._streamEnd), this._input.on("error", this._streamError);
10543
10584
  }, this._checkIsFinished = function() {
10544
- T && C.length === 1 && (this._finished = !0);
10585
+ D && C.length === 1 && (this._finished = !0);
10545
10586
  }, this._nextChunk = function() {
10546
10587
  this._checkIsFinished(), C.length ? this.parseChunk(C.shift()) : R = !0;
10547
10588
  }, this._streamData = J(function(S) {
@@ -10553,18 +10594,18 @@ function nd() {
10553
10594
  }, this), this._streamError = J(function(S) {
10554
10595
  this._streamCleanUp(), this._sendError(S);
10555
10596
  }, this), this._streamEnd = J(function() {
10556
- this._streamCleanUp(), T = !0, this._streamData("");
10597
+ this._streamCleanUp(), D = !0, this._streamData("");
10557
10598
  }, this), this._streamCleanUp = J(function() {
10558
10599
  this._input.removeListener("data", this._streamData), this._input.removeListener("end", this._streamEnd), this._input.removeListener("error", this._streamError);
10559
10600
  }, this);
10560
10601
  }
10561
10602
  function E(b) {
10562
- var C, R, T, S, _ = Math.pow(2, 53), re = -_, je = /^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/, Xe = /^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/, W = this, pe = 0, O = 0, Fe = !1, H = !1, j = [], M = { data: [], errors: [], meta: {} };
10603
+ var C, R, D, S, _ = Math.pow(2, 53), re = -_, je = /^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/, Xe = /^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/, W = this, pe = 0, O = 0, Fe = !1, H = !1, j = [], M = { data: [], errors: [], meta: {} };
10563
10604
  function Ge(K) {
10564
10605
  return b.skipEmptyLines === "greedy" ? K.join("").trim() === "" : K.length === 1 && K[0].length === 0;
10565
10606
  }
10566
10607
  function ne() {
10567
- if (M && T && (it("Delimiter", "UndetectableDelimiter", "Unable to auto-detect delimiting character; defaulted to '" + h.DefaultDelimiter + "'"), T = !1), b.skipEmptyLines && (M.data = M.data.filter(function(A) {
10608
+ if (M && D && (tt("Delimiter", "UndetectableDelimiter", "Unable to auto-detect delimiting character; defaulted to '" + h.DefaultDelimiter + "'"), D = !1), b.skipEmptyLines && (M.data = M.data.filter(function(A) {
10568
10609
  return !Ge(A);
10569
10610
  })), be()) {
10570
10611
  let A = function(ae, we) {
@@ -10577,13 +10618,13 @@ function nd() {
10577
10618
  }
10578
10619
  function G(A, ae) {
10579
10620
  for (var we = b.header ? {} : [], se = 0; se < A.length; se++) {
10580
- var oe = se, U = A[se], U = ((st, N) => ((ce) => (b.dynamicTypingFunction && b.dynamicTyping[ce] === void 0 && (b.dynamicTyping[ce] = b.dynamicTypingFunction(ce)), (b.dynamicTyping[ce] || b.dynamicTyping) === !0))(st) ? N === "true" || N === "TRUE" || N !== "false" && N !== "FALSE" && (((ce) => {
10621
+ var oe = se, U = A[se], U = ((it, N) => ((ce) => (b.dynamicTypingFunction && b.dynamicTyping[ce] === void 0 && (b.dynamicTyping[ce] = b.dynamicTypingFunction(ce)), (b.dynamicTyping[ce] || b.dynamicTyping) === !0))(it) ? N === "true" || N === "TRUE" || N !== "false" && N !== "FALSE" && (((ce) => {
10581
10622
  if (je.test(ce) && (ce = parseFloat(ce), re < ce && ce < _))
10582
10623
  return 1;
10583
10624
  })(N) ? parseFloat(N) : Xe.test(N) ? new Date(N) : N === "" ? null : N) : N)(oe = b.header ? se >= j.length ? "__parsed_extra" : j[se] : oe, U = b.transform ? b.transform(U, oe) : U);
10584
10625
  oe === "__parsed_extra" ? (we[oe] = we[oe] || [], we[oe].push(U)) : we[oe] = U;
10585
10626
  }
10586
- return b.header && (se > j.length ? it("FieldMismatch", "TooManyFields", "Too many fields: expected " + j.length + " fields but parsed " + se, O + ae) : se < j.length && it("FieldMismatch", "TooFewFields", "Too few fields: expected " + j.length + " fields but parsed " + se, O + ae)), we;
10627
+ return b.header && (se > j.length ? tt("FieldMismatch", "TooManyFields", "Too many fields: expected " + j.length + " fields but parsed " + se, O + ae) : se < j.length && tt("FieldMismatch", "TooFewFields", "Too few fields: expected " + j.length + " fields but parsed " + se, O + ae)), we;
10587
10628
  }
10588
10629
  var fe;
10589
10630
  M && (b.header || b.dynamicTyping || b.transform) && (fe = 1, !M.data.length || Array.isArray(M.data[0]) ? (M.data = M.data.map(G), fe = M.data.length) : M.data = G(M.data, 0), b.header && M.meta && (M.meta.fields = j), O += fe);
@@ -10591,21 +10632,21 @@ function nd() {
10591
10632
  function be() {
10592
10633
  return b.header && j.length === 0;
10593
10634
  }
10594
- function it(K, G, fe, A) {
10635
+ function tt(K, G, fe, A) {
10595
10636
  K = { type: K, code: G, message: fe }, A !== void 0 && (K.row = A), M.errors.push(K);
10596
10637
  }
10597
10638
  z(b.step) && (S = b.step, b.step = function(K) {
10598
10639
  M = K, be() ? ne() : (ne(), M.data.length !== 0 && (pe += K.data.length, b.preview && pe > b.preview ? R.abort() : (M.data = M.data[0], S(M, W))));
10599
10640
  }), this.parse = function(K, G, fe) {
10600
- var A = b.quoteChar || '"', A = (b.newline || (b.newline = this.guessLineEndings(K, A)), T = !1, b.delimiter ? z(b.delimiter) && (b.delimiter = b.delimiter(K), M.meta.delimiter = b.delimiter) : ((A = ((ae, we, se, oe, U) => {
10601
- var st, N, ce, xt;
10641
+ var A = b.quoteChar || '"', A = (b.newline || (b.newline = this.guessLineEndings(K, A)), D = !1, b.delimiter ? z(b.delimiter) && (b.delimiter = b.delimiter(K), M.meta.delimiter = b.delimiter) : ((A = ((ae, we, se, oe, U) => {
10642
+ var it, N, ce, xt;
10602
10643
  U = U || [",", " ", "|", ";", h.RECORD_SEP, h.UNIT_SEP];
10603
10644
  for (var qt = 0; qt < U.length; qt++) {
10604
- for (var at, li = U[qt], Le = 0, lt = 0, Ce = 0, He = (ce = void 0, new k({ comments: oe, delimiter: li, newline: we, preview: 10 }).parse(ae)), gt = 0; gt < He.data.length; gt++) se && Ge(He.data[gt]) ? Ce++ : (at = He.data[gt].length, lt += at, ce === void 0 ? ce = at : 0 < at && (Le += Math.abs(at - ce), ce = at));
10605
- 0 < He.data.length && (lt /= He.data.length - Ce), (N === void 0 || Le <= N) && (xt === void 0 || xt < lt) && 1.99 < lt && (N = Le, st = li, xt = lt);
10645
+ for (var nt, li = U[qt], Le = 0, at = 0, Ce = 0, He = (ce = void 0, new k({ comments: oe, delimiter: li, newline: we, preview: 10 }).parse(ae)), gt = 0; gt < He.data.length; gt++) se && Ge(He.data[gt]) ? Ce++ : (nt = He.data[gt].length, at += nt, ce === void 0 ? ce = nt : 0 < nt && (Le += Math.abs(nt - ce), ce = nt));
10646
+ 0 < He.data.length && (at /= He.data.length - Ce), (N === void 0 || Le <= N) && (xt === void 0 || xt < at) && 1.99 < at && (N = Le, it = li, xt = at);
10606
10647
  }
10607
- return { successful: !!(b.delimiter = st), bestDelimiter: st };
10608
- })(K, b.newline, b.skipEmptyLines, b.comments, b.delimitersToGuess)).successful ? b.delimiter = A.bestDelimiter : (T = !0, b.delimiter = h.DefaultDelimiter), M.meta.delimiter = b.delimiter), ge(b));
10648
+ return { successful: !!(b.delimiter = it), bestDelimiter: it };
10649
+ })(K, b.newline, b.skipEmptyLines, b.comments, b.delimitersToGuess)).successful ? b.delimiter = A.bestDelimiter : (D = !0, b.delimiter = h.DefaultDelimiter), M.meta.delimiter = b.delimiter), ge(b));
10609
10650
  return b.preview && b.header && A.preview++, C = K, R = new k(A), M = R.parse(C, G, fe), ne(), Fe ? { meta: { paused: !0 } } : M || { meta: { paused: !1 } };
10610
10651
  }, this.paused = function() {
10611
10652
  return Fe;
@@ -10633,59 +10674,59 @@ function nd() {
10633
10674
  return b.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
10634
10675
  }
10635
10676
  function k(b) {
10636
- var C = (b = b || {}).delimiter, R = b.newline, T = b.comments, S = b.step, _ = b.preview, re = b.fastMode, je = null, Xe = !1, W = b.quoteChar == null ? '"' : b.quoteChar, pe = W;
10637
- if (b.escapeChar !== void 0 && (pe = b.escapeChar), (typeof C != "string" || -1 < h.BAD_DELIMITERS.indexOf(C)) && (C = ","), T === C) throw new Error("Comment character same as delimiter");
10638
- T === !0 ? T = "#" : (typeof T != "string" || -1 < h.BAD_DELIMITERS.indexOf(T)) && (T = !1), R !== `
10677
+ var C = (b = b || {}).delimiter, R = b.newline, D = b.comments, S = b.step, _ = b.preview, re = b.fastMode, je = null, Xe = !1, W = b.quoteChar == null ? '"' : b.quoteChar, pe = W;
10678
+ if (b.escapeChar !== void 0 && (pe = b.escapeChar), (typeof C != "string" || -1 < h.BAD_DELIMITERS.indexOf(C)) && (C = ","), D === C) throw new Error("Comment character same as delimiter");
10679
+ D === !0 ? D = "#" : (typeof D != "string" || -1 < h.BAD_DELIMITERS.indexOf(D)) && (D = !1), R !== `
10639
10680
  ` && R !== "\r" && R !== `\r
10640
10681
  ` && (R = `
10641
10682
  `);
10642
10683
  var O = 0, Fe = !1;
10643
10684
  this.parse = function(H, j, M) {
10644
10685
  if (typeof H != "string") throw new Error("Input must be a string");
10645
- var Ge = H.length, ne = C.length, be = R.length, it = T.length, K = z(S), G = [], fe = [], A = [], ae = O = 0;
10686
+ var Ge = H.length, ne = C.length, be = R.length, tt = D.length, K = z(S), G = [], fe = [], A = [], ae = O = 0;
10646
10687
  if (!H) return Le();
10647
10688
  if (re || re !== !1 && H.indexOf(W) === -1) {
10648
10689
  for (var we = H.split(R), se = 0; se < we.length; se++) {
10649
10690
  if (A = we[se], O += A.length, se !== we.length - 1) O += R.length;
10650
10691
  else if (M) return Le();
10651
- if (!T || A.substring(0, it) !== T) {
10692
+ if (!D || A.substring(0, tt) !== D) {
10652
10693
  if (K) {
10653
- if (G = [], xt(A.split(C)), lt(), Fe) return Le();
10694
+ if (G = [], xt(A.split(C)), at(), Fe) return Le();
10654
10695
  } else xt(A.split(C));
10655
10696
  if (_ && _ <= se) return G = G.slice(0, _), Le(!0);
10656
10697
  }
10657
10698
  }
10658
10699
  return Le();
10659
10700
  }
10660
- for (var oe = H.indexOf(C, O), U = H.indexOf(R, O), st = new RegExp(y(pe) + y(W), "g"), N = H.indexOf(W, O); ; ) if (H[O] === W) for (N = O, O++; ; ) {
10661
- if ((N = H.indexOf(W, N + 1)) === -1) return M || fe.push({ type: "Quotes", code: "MissingQuotes", message: "Quoted field unterminated", row: G.length, index: O }), at();
10662
- if (N === Ge - 1) return at(H.substring(O, N).replace(st, W));
10701
+ for (var oe = H.indexOf(C, O), U = H.indexOf(R, O), it = new RegExp(y(pe) + y(W), "g"), N = H.indexOf(W, O); ; ) if (H[O] === W) for (N = O, O++; ; ) {
10702
+ if ((N = H.indexOf(W, N + 1)) === -1) return M || fe.push({ type: "Quotes", code: "MissingQuotes", message: "Quoted field unterminated", row: G.length, index: O }), nt();
10703
+ if (N === Ge - 1) return nt(H.substring(O, N).replace(it, W));
10663
10704
  if (W === pe && H[N + 1] === pe) N++;
10664
10705
  else if (W === pe || N === 0 || H[N - 1] !== pe) {
10665
10706
  oe !== -1 && oe < N + 1 && (oe = H.indexOf(C, N + 1));
10666
10707
  var ce = qt((U = U !== -1 && U < N + 1 ? H.indexOf(R, N + 1) : U) === -1 ? oe : Math.min(oe, U));
10667
10708
  if (H.substr(N + 1 + ce, ne) === C) {
10668
- A.push(H.substring(O, N).replace(st, W)), H[O = N + 1 + ce + ne] !== W && (N = H.indexOf(W, O)), oe = H.indexOf(C, O), U = H.indexOf(R, O);
10709
+ A.push(H.substring(O, N).replace(it, W)), H[O = N + 1 + ce + ne] !== W && (N = H.indexOf(W, O)), oe = H.indexOf(C, O), U = H.indexOf(R, O);
10669
10710
  break;
10670
10711
  }
10671
10712
  if (ce = qt(U), H.substring(N + 1 + ce, N + 1 + ce + be) === R) {
10672
- if (A.push(H.substring(O, N).replace(st, W)), li(N + 1 + ce + be), oe = H.indexOf(C, O), N = H.indexOf(W, O), K && (lt(), Fe)) return Le();
10713
+ if (A.push(H.substring(O, N).replace(it, W)), li(N + 1 + ce + be), oe = H.indexOf(C, O), N = H.indexOf(W, O), K && (at(), Fe)) return Le();
10673
10714
  if (_ && G.length >= _) return Le(!0);
10674
10715
  break;
10675
10716
  }
10676
10717
  fe.push({ type: "Quotes", code: "InvalidQuotes", message: "Trailing quote on quoted field is malformed", row: G.length, index: O }), N++;
10677
10718
  }
10678
10719
  }
10679
- else if (T && A.length === 0 && H.substring(O, O + it) === T) {
10720
+ else if (D && A.length === 0 && H.substring(O, O + tt) === D) {
10680
10721
  if (U === -1) return Le();
10681
10722
  O = U + be, U = H.indexOf(R, O), oe = H.indexOf(C, O);
10682
10723
  } else if (oe !== -1 && (oe < U || U === -1)) A.push(H.substring(O, oe)), O = oe + ne, oe = H.indexOf(C, O);
10683
10724
  else {
10684
10725
  if (U === -1) break;
10685
- if (A.push(H.substring(O, U)), li(U + be), K && (lt(), Fe)) return Le();
10726
+ if (A.push(H.substring(O, U)), li(U + be), K && (at(), Fe)) return Le();
10686
10727
  if (_ && G.length >= _) return Le(!0);
10687
10728
  }
10688
- return at();
10729
+ return nt();
10689
10730
  function xt(Ce) {
10690
10731
  G.push(Ce), ae = O;
10691
10732
  }
@@ -10693,8 +10734,8 @@ function nd() {
10693
10734
  var He = 0;
10694
10735
  return He = Ce !== -1 && (Ce = H.substring(N + 1, Ce)) && Ce.trim() === "" ? Ce.length : He;
10695
10736
  }
10696
- function at(Ce) {
10697
- return M || (Ce === void 0 && (Ce = H.substring(O)), A.push(Ce), O = Ge, xt(A), K && lt()), Le();
10737
+ function nt(Ce) {
10738
+ return M || (Ce === void 0 && (Ce = H.substring(O)), A.push(Ce), O = Ge, xt(A), K && at()), Le();
10698
10739
  }
10699
10740
  function li(Ce) {
10700
10741
  O = Ce, xt(A), A = [], U = H.indexOf(R, O);
@@ -10704,19 +10745,19 @@ function nd() {
10704
10745
  var He = G[0], gt = /* @__PURE__ */ Object.create(null), Qi = new Set(He);
10705
10746
  let Io = !1;
10706
10747
  for (let Xt = 0; Xt < He.length; Xt++) {
10707
- let ht = c(He[Xt]);
10708
- if (gt[ht = z(b.transformHeader) ? b.transformHeader(ht, Xt) : ht]) {
10709
- let hi, Ho = gt[ht];
10710
- for (; hi = ht + "_" + Ho, Ho++, Qi.has(hi); ) ;
10711
- Qi.add(hi), He[Xt] = hi, gt[ht]++, Io = !0, (je = je === null ? {} : je)[hi] = ht;
10712
- } else gt[ht] = 1, He[Xt] = ht;
10713
- Qi.add(ht);
10748
+ let lt = c(He[Xt]);
10749
+ if (gt[lt = z(b.transformHeader) ? b.transformHeader(lt, Xt) : lt]) {
10750
+ let hi, Ho = gt[lt];
10751
+ for (; hi = lt + "_" + Ho, Ho++, Qi.has(hi); ) ;
10752
+ Qi.add(hi), He[Xt] = hi, gt[lt]++, Io = !0, (je = je === null ? {} : je)[hi] = lt;
10753
+ } else gt[lt] = 1, He[Xt] = lt;
10754
+ Qi.add(lt);
10714
10755
  }
10715
10756
  Io && console.warn("Duplicate headers found and renamed."), Xe = !0;
10716
10757
  }
10717
10758
  return { data: G, errors: fe, meta: { delimiter: C, linebreak: R, aborted: Fe, truncated: !!Ce, cursor: ae + (j || 0), renamedHeaders: je } };
10718
10759
  }
10719
- function lt() {
10760
+ function at() {
10720
10761
  S(Le()), G = [], fe = [];
10721
10762
  }
10722
10763
  }, this.abort = function() {
@@ -10725,19 +10766,19 @@ function nd() {
10725
10766
  return O;
10726
10767
  };
10727
10768
  }
10728
- function D(b) {
10729
- var C = b.data, R = a[C.workerId], T = !1;
10769
+ function T(b) {
10770
+ var C = b.data, R = a[C.workerId], D = !1;
10730
10771
  if (C.error) R.userError(C.error, C.file);
10731
10772
  else if (C.results && C.results.data) {
10732
10773
  var S = { abort: function() {
10733
- T = !0, he(C.workerId, { data: [], errors: [], meta: { aborted: !0 } });
10774
+ D = !0, he(C.workerId, { data: [], errors: [], meta: { aborted: !0 } });
10734
10775
  }, pause: L, resume: L };
10735
10776
  if (z(R.userStep)) {
10736
- for (var _ = 0; _ < C.results.data.length && (R.userStep({ data: C.results.data[_], errors: C.results.errors, meta: C.results.meta }, S), !T); _++) ;
10777
+ for (var _ = 0; _ < C.results.data.length && (R.userStep({ data: C.results.data[_], errors: C.results.errors, meta: C.results.meta }, S), !D); _++) ;
10737
10778
  delete C.results;
10738
10779
  } else z(R.userChunk) && (R.userChunk(C.results, S, C.file), delete C.results);
10739
10780
  }
10740
- C.finished && !T && he(C.workerId, C.results);
10781
+ C.finished && !D && he(C.workerId, C.results);
10741
10782
  }
10742
10783
  function he(b, C) {
10743
10784
  var R = a[b];
@@ -10764,19 +10805,19 @@ function nd() {
10764
10805
  var R = (C = C || {}).dynamicTyping || !1;
10765
10806
  if (z(R) && (C.dynamicTypingFunction = R, R = {}), C.dynamicTyping = R, C.transform = !!z(C.transform) && C.transform, !C.worker || !h.WORKERS_SUPPORTED) return R = null, h.NODE_STREAM_INPUT, typeof b == "string" ? (b = c(b), R = new (C.download ? p : f)(C)) : b.readable === !0 && z(b.read) && z(b.on) ? R = new w(C) : (i.File && b instanceof File || b instanceof Object) && (R = new u(C)), R.stream(b);
10766
10807
  (R = (() => {
10767
- var T;
10768
- return !!h.WORKERS_SUPPORTED && (T = (() => {
10808
+ var D;
10809
+ return !!h.WORKERS_SUPPORTED && (D = (() => {
10769
10810
  var S = i.URL || i.webkitURL || null, _ = t.toString();
10770
10811
  return h.BLOB_URL || (h.BLOB_URL = S.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ", "(", _, ")();"], { type: "text/javascript" })));
10771
- })(), (T = new i.Worker(T)).onmessage = D, T.id = l++, a[T.id] = T);
10812
+ })(), (D = new i.Worker(D)).onmessage = T, D.id = l++, a[D.id] = D);
10772
10813
  })()).userStep = C.step, R.userChunk = C.chunk, R.userComplete = C.complete, R.userError = C.error, C.step = z(C.step), C.chunk = z(C.chunk), C.complete = z(C.complete), C.error = z(C.error), delete C.worker, R.postMessage({ input: b, config: C, workerId: R.id });
10773
10814
  }, h.unparse = function(b, C) {
10774
- var R = !1, T = !0, S = ",", _ = `\r
10815
+ var R = !1, D = !0, S = ",", _ = `\r
10775
10816
  `, re = '"', je = re + re, Xe = !1, W = null, pe = !1, O = ((() => {
10776
10817
  if (typeof C == "object") {
10777
10818
  if (typeof C.delimiter != "string" || h.BAD_DELIMITERS.filter(function(j) {
10778
10819
  return C.delimiter.indexOf(j) !== -1;
10779
- }).length || (S = C.delimiter), typeof C.quotes != "boolean" && typeof C.quotes != "function" && !Array.isArray(C.quotes) || (R = C.quotes), typeof C.skipEmptyLines != "boolean" && typeof C.skipEmptyLines != "string" || (Xe = C.skipEmptyLines), typeof C.newline == "string" && (_ = C.newline), typeof C.quoteChar == "string" && (re = C.quoteChar, je = re + re), typeof C.header == "boolean" && (T = C.header), Array.isArray(C.columns)) {
10820
+ }).length || (S = C.delimiter), typeof C.quotes != "boolean" && typeof C.quotes != "function" && !Array.isArray(C.quotes) || (R = C.quotes), typeof C.skipEmptyLines != "boolean" && typeof C.skipEmptyLines != "string" || (Xe = C.skipEmptyLines), typeof C.newline == "string" && (_ = C.newline), typeof C.quoteChar == "string" && (re = C.quoteChar, je = re + re), typeof C.header == "boolean" && (D = C.header), Array.isArray(C.columns)) {
10780
10821
  if (C.columns.length === 0) throw new Error("Option columns is empty");
10781
10822
  W = C.columns;
10782
10823
  }
@@ -10789,8 +10830,8 @@ function nd() {
10789
10830
  } else if (typeof b == "object") return typeof b.data == "string" && (b.data = JSON.parse(b.data)), Array.isArray(b.data) && (b.fields || (b.fields = b.meta && b.meta.fields || W), b.fields || (b.fields = Array.isArray(b.data[0]) ? b.fields : typeof b.data[0] == "object" ? Object.keys(b.data[0]) : []), Array.isArray(b.data[0]) || typeof b.data[0] == "object" || (b.data = [b.data])), Fe(b.fields || [], b.data || [], Xe);
10790
10831
  throw new Error("Unable to serialize unrecognized input");
10791
10832
  function Fe(j, M, Ge) {
10792
- var ne = "", be = (typeof j == "string" && (j = JSON.parse(j)), typeof M == "string" && (M = JSON.parse(M)), Array.isArray(j) && 0 < j.length), it = !Array.isArray(M[0]);
10793
- if (be && T) {
10833
+ var ne = "", be = (typeof j == "string" && (j = JSON.parse(j)), typeof M == "string" && (M = JSON.parse(M)), Array.isArray(j) && 0 < j.length), tt = !Array.isArray(M[0]);
10834
+ if (be && D) {
10794
10835
  for (var K = 0; K < j.length; K++) 0 < K && (ne += S), ne += H(j[K], K);
10795
10836
  0 < M.length && (ne += _);
10796
10837
  }
@@ -10798,7 +10839,7 @@ function nd() {
10798
10839
  var fe = (be ? j : M[G]).length, A = !1, ae = be ? Object.keys(M[G]).length === 0 : M[G].length === 0;
10799
10840
  if (Ge && !be && (A = Ge === "greedy" ? M[G].join("").trim() === "" : M[G].length === 1 && M[G][0].length === 0), Ge === "greedy" && be) {
10800
10841
  for (var we = [], se = 0; se < fe; se++) {
10801
- var oe = it ? j[se] : se;
10842
+ var oe = tt ? j[se] : se;
10802
10843
  we.push(M[G][oe]);
10803
10844
  }
10804
10845
  A = we.join("").trim() === "";
@@ -10806,8 +10847,8 @@ function nd() {
10806
10847
  if (!A) {
10807
10848
  for (var U = 0; U < fe; U++) {
10808
10849
  0 < U && !ae && (ne += S);
10809
- var st = be && it ? j[U] : U;
10810
- ne += H(M[G][st], U);
10850
+ var it = be && tt ? j[U] : U;
10851
+ ne += H(M[G][it], U);
10811
10852
  }
10812
10853
  G < M.length - 1 && (!Ge || 0 < fe && !ae) && (ne += _);
10813
10854
  }
@@ -10816,8 +10857,8 @@ function nd() {
10816
10857
  }
10817
10858
  function H(j, M) {
10818
10859
  var Ge, ne, be;
10819
- return j == null ? "" : j.constructor === Date ? JSON.stringify(j).slice(1, 25) : (be = !1, pe && typeof j == "string" && pe.test(j) && (j = "'" + j, be = !0), ne = (Ge = j.toString()).replace(O, je), (be = be || R === !0 || typeof R == "function" && R(j, M) || Array.isArray(R) && R[M] || ((it, K) => {
10820
- for (var G = 0; G < K.length; G++) if (-1 < it.indexOf(K[G])) return !0;
10860
+ return j == null ? "" : j.constructor === Date ? JSON.stringify(j).slice(1, 25) : (be = !1, pe && typeof j == "string" && pe.test(j) && (j = "'" + j, be = !0), ne = (Ge = j.toString()).replace(O, je), (be = be || R === !0 || typeof R == "function" && R(j, M) || Array.isArray(R) && R[M] || ((tt, K) => {
10861
+ for (var G = 0; G < K.length; G++) if (-1 < tt.indexOf(K[G])) return !0;
10821
10862
  return !1;
10822
10863
  })(ne, h.BAD_DELIMITERS) || -1 < ne.indexOf(S) || -1 < Ge.indexOf(re) || ne.charAt(0) === " " || ne.charAt(ne.length - 1) === " ") ? re + ne + re : ne);
10823
10864
  }
@@ -10827,8 +10868,8 @@ function nd() {
10827
10868
  return this.each(function(_) {
10828
10869
  if (!(s(this).prop("tagName").toUpperCase() === "INPUT" && s(this).attr("type").toLowerCase() === "file" && i.FileReader) || !this.files || this.files.length === 0) return !0;
10829
10870
  for (var re = 0; re < this.files.length; re++) R.push({ file: this.files[re], inputElem: this, instanceConfig: s.extend({}, C) });
10830
- }), T(), this;
10831
- function T() {
10871
+ }), D(), this;
10872
+ function D() {
10832
10873
  if (R.length === 0) z(b.complete) && b.complete();
10833
10874
  else {
10834
10875
  var _, re, je, Xe, W = R[0];
@@ -10847,7 +10888,7 @@ function nd() {
10847
10888
  }
10848
10889
  }
10849
10890
  function S() {
10850
- R.splice(0, 1), T();
10891
+ R.splice(0, 1), D();
10851
10892
  }
10852
10893
  }), r && (i.onmessage = function(b) {
10853
10894
  b = b.data, h.WORKER_ID === void 0 && b && (h.WORKER_ID = b.workerId), typeof b.input == "string" ? i.postMessage({ workerId: h.WORKER_ID, results: h.parse(b.input, b.config), finished: !0 }) : (i.File && b.input instanceof File || b.input instanceof Object) && (b = h.parse(b.input, b.config)) && i.postMessage({ workerId: h.WORKER_ID, results: b, finished: !0 });
@@ -12090,7 +12131,7 @@ const wd = {}, vd = process.env.NODE_ENV === "development", ii = class ii extend
12090
12131
  };
12091
12132
  ii.moduleName = "mutator", ii.mutators = wd;
12092
12133
  let Hs = ii;
12093
- const To = class To extends I {
12134
+ const Do = class Do extends I {
12094
12135
  constructor(e) {
12095
12136
  super(e), this.element = null, this.size = 0, this.page = 1, this.count = 5, this.max = 1, this.remoteRowCountEstimate = null, this.initialLoad = !0, this.progressiveLoad = !1, this.dataChanging = !1, this.pageSizes = [], this.mode = "local", this.rowsUpdatedScheduled = !1, this.setPage = (t) => {
12096
12137
  if (typeof t == "string") {
@@ -12369,8 +12410,8 @@ const To = class To extends I {
12369
12410
  return e.data;
12370
12411
  }
12371
12412
  };
12372
- To.moduleName = "page";
12373
- let Ns = To;
12413
+ Do.moduleName = "page";
12414
+ let Ns = Do;
12374
12415
  const fr = process.env.NODE_ENV === "development", yd = {
12375
12416
  cookie: function(n, e) {
12376
12417
  let t = document.cookie;
@@ -12616,7 +12657,7 @@ const fr = process.env.NODE_ENV === "development", yd = {
12616
12657
  };
12617
12658
  Ne.moduleName = "persistence", Ne.moduleInitOrder = -10, Ne.readers = yd, Ne.writers = Cd;
12618
12659
  let Vs = Ne;
12619
- const Do = class Do extends I {
12660
+ const To = class To extends I {
12620
12661
  constructor(e) {
12621
12662
  super(e), this.columnSubscribers = {}, this.registerTableOption("rowContextPopup", !1), this.registerTableOption("rowClickPopup", !1), this.registerTableOption("rowDblClickPopup", !1), this.registerTableOption("groupContextPopup", !1), this.registerTableOption("groupClickPopup", !1), this.registerTableOption("groupDblClickPopup", !1), this.registerColumnOption("headerContextPopup"), this.registerColumnOption("headerClickPopup"), this.registerColumnOption("headerDblClickPopup"), this.registerColumnOption("headerPopup"), this.registerColumnOption("headerPopupIcon"), this.registerColumnOption("contextPopup"), this.registerColumnOption("clickPopup"), this.registerColumnOption("dblClickPopup"), this.registerComponentFunction(
12622
12663
  "cell",
@@ -12736,8 +12777,8 @@ const Do = class Do extends I {
12736
12777
  }), this.dispatchExternal("popupOpened", t.getComponent());
12737
12778
  }
12738
12779
  };
12739
- Do.moduleName = "popup";
12740
- let Bs = Do;
12780
+ To.moduleName = "popup";
12781
+ let Bs = To;
12741
12782
  const mr = process.env.NODE_ENV === "development", Mo = class Mo extends I {
12742
12783
  constructor(e) {
12743
12784
  super(e), this.element = !1, this.manualBlock = !1, this.beforeprintEventHandler = null, this.afterprintEventHandler = null, this.registerTableOption("printAsHtml", !1), this.registerTableOption("printFormatter", !1), this.registerTableOption("printHeader", !1), this.registerTableOption("printFooter", !1), this.registerTableOption("printStyled", !0), this.registerTableOption("printRowRange", "visible"), this.registerTableOption("printConfig", {}), this.registerColumnOption("print"), this.registerColumnOption("titlePrint");
@@ -13773,7 +13814,7 @@ const kd = {
13773
13814
  };
13774
13815
  $i.moduleName = "selectRow", $i.moduleExtensions = kd;
13775
13816
  let qs = $i;
13776
- const Td = {
13817
+ const Dd = {
13777
13818
  range: function(n) {
13778
13819
  if (!n || n.length === 0)
13779
13820
  return [];
@@ -13793,7 +13834,7 @@ const Td = {
13793
13834
  }
13794
13835
  return e;
13795
13836
  }
13796
- }, Dd = {
13837
+ }, Td = {
13797
13838
  range: function(n) {
13798
13839
  const e = [], t = [], i = this.table.modules.selectRange.activeRange;
13799
13840
  let s = !1, o, r, a, l, h;
@@ -13876,8 +13917,8 @@ const Td = {
13876
13917
  rangeJumpUp: ["ctrl + 38", "meta + 38"]
13877
13918
  }, Od = {
13878
13919
  clipboard: {
13879
- pasteActions: Td,
13880
- pasteParsers: Dd
13920
+ pasteActions: Dd,
13921
+ pasteParsers: Td
13881
13922
  },
13882
13923
  export: {
13883
13924
  columnLookups: Md,
@@ -14251,6 +14292,14 @@ const Vt = process.env.NODE_ENV === "development", Id = x`<div class="tabulator-
14251
14292
  // ////// Cell Functionality ///////
14252
14293
  // /////////////////////////////////
14253
14294
  renderCell(e) {
14295
+ if (e.column.hidden) {
14296
+ e.element && (e.element.classList.remove(
14297
+ "tabulator-range-selected",
14298
+ "tabulator-range-only-cell-selected",
14299
+ "tabulator-range-selection-start"
14300
+ ), e.element.dataset.range = "-1");
14301
+ return;
14302
+ }
14254
14303
  const t = e.getElement(), i = this.ranges.findIndex(
14255
14304
  (o) => o.occupies(e)
14256
14305
  ), s = i > -1 ? this.ranges[i] : null;
@@ -14353,8 +14402,8 @@ const Vt = process.env.NODE_ENV === "development", Id = x`<div class="tabulator-
14353
14402
  if (this.rowHeader && r === 0 && (r = 1), t || u.setStart(o, r), u.setEnd(o, r), t || (this.selecting = Ue.Cell), s = f.top !== u.top || f.bottom !== u.bottom || f.left !== u.left || f.right !== u.right, s) {
14354
14403
  const E = u.end.row ?? 0, y = u.end.col ?? 0;
14355
14404
  a = this.getRowByRangePos(E), l = this.getColumnByRangePos(y);
14356
- const k = a.getElement(), D = l.getElement(), he = this.table.rowManager?.getElement(), L = this.table.columnManager?.getElement();
14357
- k && D && he && L && (h = k.getBoundingClientRect(), d = D.getBoundingClientRect(), c = he.getBoundingClientRect(), p = L.getBoundingClientRect(), h.top >= c.top && h.bottom <= c.bottom || (k.parentNode && D.parentNode ? this.autoScroll(u, k, D) : a.getComponent().scrollTo(void 0, !1)), d.left >= p.left + this.getRowHeaderWidth() && d.right <= p.right || (k.parentNode && D.parentNode ? this.autoScroll(u, k, D) : l.getComponent().scrollTo(void 0, !1))), this.layoutElement();
14405
+ const k = a.getElement(), T = l.getElement(), he = this.table.rowManager?.getElement(), L = this.table.columnManager?.getElement();
14406
+ k && T && he && L && (h = k.getBoundingClientRect(), d = T.getBoundingClientRect(), c = he.getBoundingClientRect(), p = L.getBoundingClientRect(), h.top >= c.top && h.bottom <= c.bottom || (k.parentNode && T.parentNode ? this.autoScroll(u, k, T) : a.getComponent().scrollTo(void 0, !1)), d.left >= p.left + this.getRowHeaderWidth() && d.right <= p.right || (k.parentNode && T.parentNode ? this.autoScroll(u, k, T) : l.getComponent().scrollTo(void 0, !1))), this.layoutElement();
14358
14407
  }
14359
14408
  return !0;
14360
14409
  }
@@ -14673,8 +14722,8 @@ function Hd(n, e, t, i, s, o, r) {
14673
14722
  let y = u[E];
14674
14723
  const k = f[E++];
14675
14724
  if (y !== k) {
14676
- const D = Number(y), he = Number(k);
14677
- if (isFinite(D) && isFinite(he)) {
14725
+ const T = Number(y), he = Number(k);
14726
+ if (isFinite(T) && isFinite(he)) {
14678
14727
  y.charAt(0) === "0" && (y = "." + y);
14679
14728
  const L = k.charAt(0) === "0" ? "." + k : k;
14680
14729
  return Number(y) - Number(L);
@@ -16111,8 +16160,8 @@ const ns = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
16111
16160
  ExportModule: ks,
16112
16161
  FilterModule: Vi,
16113
16162
  FormatModule: Hi,
16114
- FrozenColumnsModule: Ts,
16115
- FrozenRowsModule: Ds,
16163
+ FrozenColumnsModule: Ds,
16164
+ FrozenRowsModule: Ts,
16116
16165
  GroupRowsModule: Ms,
16117
16166
  HistoryModule: Fs,
16118
16167
  HoverMenuModule: fs,
@@ -16147,12 +16196,14 @@ class nu extends Ji {
16147
16196
  renderRowCells(e, t) {
16148
16197
  const i = document.createDocumentFragment();
16149
16198
  e.cells.forEach((o) => {
16199
+ if (o.column.hidden)
16200
+ return;
16150
16201
  const r = o.getElement();
16151
16202
  r && i.appendChild(r);
16152
16203
  });
16153
16204
  const s = e.getElement();
16154
16205
  s && s.appendChild(i), t || e.cells.forEach((o) => {
16155
- o.cellRendered();
16206
+ o.column.hidden || o.cellRendered();
16156
16207
  });
16157
16208
  }
16158
16209
  async reinitializeColumnWidths(e) {
@@ -16224,12 +16275,14 @@ class au extends Ji {
16224
16275
  else {
16225
16276
  const t = document.createDocumentFragment();
16226
16277
  e.cells.forEach((s) => {
16278
+ if (s.column.hidden)
16279
+ return;
16227
16280
  const o = s.getElement();
16228
16281
  o && t.appendChild(o);
16229
16282
  });
16230
16283
  const i = e.getElement();
16231
16284
  i && i.appendChild(t), e.cells.forEach((s) => {
16232
- s.cellRendered();
16285
+ s.column.hidden || s.cellRendered();
16233
16286
  });
16234
16287
  }
16235
16288
  }
@@ -16494,9 +16547,10 @@ class hu extends Me {
16494
16547
  ), this.element.insertBefore(this.contentsElement, this.element.firstChild), this.initializeScrollWheelWatcher(), this.subscribe("scroll-horizontal", this.scrollHorizontal.bind(this)), this.subscribe("scrollbar-vertical", this.padVerticalScrollbar.bind(this)), this.subscribe("column-show", this.updateLastCellClass.bind(this)), this.subscribe("column-hide", this.updateLastCellClass.bind(this));
16495
16548
  }
16496
16549
  updateLastCellClass() {
16497
- this.columnsByIndex.forEach((e) => {
16498
- e.cells.forEach((t) => {
16499
- t.updateCellClass();
16550
+ const e = this.getVisibleColumnsByIndex(), t = e[0], i = e.at(-1);
16551
+ this.columnsByIndex.forEach((s) => {
16552
+ s.cells.forEach((o) => {
16553
+ o.updateCellClass(t, i);
16500
16554
  });
16501
16555
  });
16502
16556
  }
@@ -17128,7 +17182,7 @@ class pu extends Ji {
17128
17182
  const s = this.tableElement, o = this.elementVertical;
17129
17183
  let r = 0, a = 0, l = 0, h = 0, c = 0, d = 0;
17130
17184
  const p = this.rows(), u = p.length;
17131
- let f = 0, w, E, y = [], k = 0, D = 0;
17185
+ let f = 0, w, E, y = [], k = 0, T = 0;
17132
17186
  const he = this.table.rowManager?.fixedHeight ?? !1, L = this.table.element ? globalThis.getComputedStyle(this.table.element).getPropertyValue("--table-max-height").trim() : "", J = he || L !== "" && L !== "auto";
17133
17187
  let z = this.elementVertical?.clientHeight ?? 0, b = this.table.options.rowHeight, C = !0;
17134
17188
  if (e = e || 0, i = i || 0, !e)
@@ -17148,24 +17202,24 @@ class pu extends Ji {
17148
17202
  }
17149
17203
  const R = !this.table.initialized || !!t;
17150
17204
  if (u && this.elementVertical && (Z.elVisible(this.elementVertical) || R)) {
17151
- for (this.vDomTop = e, this.vDomBottom = e - 1, J ? (b && (D = z / b + this.vDomWindowBuffer / b), D = Math.max(
17205
+ for (this.vDomTop = e, this.vDomBottom = e - 1, J ? (b && (T = z / b + this.vDomWindowBuffer / b), T = Math.max(
17152
17206
  this.vDomWindowMinTotalRows,
17153
- Math.ceil(D)
17154
- )) : D = u; (D == u || a <= z + this.vDomWindowBuffer || k < this.vDomWindowMinTotalRows) && this.vDomBottom < u - 1; ) {
17155
- for (y = [], E = document.createDocumentFragment(), d = 0; d < D && this.vDomBottom < u - 1; ) {
17207
+ Math.ceil(T)
17208
+ )) : T = u; (T == u || a <= z + this.vDomWindowBuffer || k < this.vDomWindowMinTotalRows) && this.vDomBottom < u - 1; ) {
17209
+ for (y = [], E = document.createDocumentFragment(), d = 0; d < T && this.vDomBottom < u - 1; ) {
17156
17210
  f = this.vDomBottom + 1, w = p[f], this.styleRow(w, f), w.initialize(!1, !0), !w.heightInitialized && !this.table.options.rowHeight && w.clearCellHeight();
17157
- const T = w.getElement();
17158
- T && E.appendChild(T), y.push(w), this.vDomBottom++, d++;
17211
+ const D = w.getElement();
17212
+ D && E.appendChild(D), y.push(w), this.vDomBottom++, d++;
17159
17213
  }
17160
17214
  if (!y.length)
17161
17215
  break;
17162
- s?.appendChild(E), y.forEach((T) => {
17163
- T.rendered(), T.heightInitialized || T.calcHeight(!0);
17164
- }), y.forEach((T) => {
17165
- T.heightInitialized || T.setCellHeight();
17166
- }), y.forEach((T) => {
17167
- l = T.getHeight(), k < r ? c += l : a += l, l > this.vDomWindowBuffer && (this.vDomWindowBuffer = l * 2), k++;
17168
- }), C = this.table.rowManager?.adjustTableSize() || !1, z = this.elementVertical.clientHeight, C && J && (b = a / k, D = Math.max(
17216
+ s?.appendChild(E), y.forEach((D) => {
17217
+ D.rendered(), D.heightInitialized || D.calcHeight(!0);
17218
+ }), y.forEach((D) => {
17219
+ D.heightInitialized || D.setCellHeight();
17220
+ }), y.forEach((D) => {
17221
+ l = D.getHeight(), k < r ? c += l : a += l, l > this.vDomWindowBuffer && (this.vDomWindowBuffer = l * 2), k++;
17222
+ }), C = this.table.rowManager?.adjustTableSize() || !1, z = this.elementVertical.clientHeight, C && J && (b = a / k, T = Math.max(
17169
17223
  this.vDomWindowMinTotalRows,
17170
17224
  Math.ceil(
17171
17225
  z / b + this.vDomWindowBuffer / b
@@ -17335,7 +17389,7 @@ class mu extends Me {
17335
17389
  */
17336
17390
  findRow(e) {
17337
17391
  if (typeof e == "object") {
17338
- if (e instanceof Te)
17392
+ if (e instanceof De)
17339
17393
  return e;
17340
17394
  if (e instanceof uo)
17341
17395
  return e._getSelf() || !1;
@@ -17437,7 +17491,7 @@ class mu extends Me {
17437
17491
  _setDataActual(e, t) {
17438
17492
  this.dispatchExternal("dataProcessing", e), this._wipeElements(), Array.isArray(e) ? (this.dispatch("data-processing", e), e.forEach((i) => {
17439
17493
  if (i && typeof i == "object") {
17440
- const s = new Te(i, this);
17494
+ const s = new De(i, this);
17441
17495
  this.rows.push(s), this.registerRowInMap(s);
17442
17496
  } else Bt && console.warn(
17443
17497
  "Data Loading Warning - Invalid row data detected and ignored, expecting object but received:",
@@ -17490,7 +17544,7 @@ Data: `,
17490
17544
  return (e ?? this.table.options.addRowPos) === "top";
17491
17545
  }
17492
17546
  addRowActual(e, t, i, s) {
17493
- const o = e instanceof Te ? e : new Te(e || {}, this);
17547
+ const o = e instanceof De ? e : new De(e || {}, this);
17494
17548
  let r = t, a = -1, l, h;
17495
17549
  return i || (h = this.chain("row-adding-position", [o, r], null, {
17496
17550
  index: i,
@@ -17536,12 +17590,12 @@ Data: `,
17536
17590
  nextDisplayRow(e, t) {
17537
17591
  const i = this.getDisplayRowIndex(e);
17538
17592
  let s = !1;
17539
- return i !== !1 && i < this.displayRowsCount - 1 && (s = this.getDisplayRows()[i + 1]), s && (!(s instanceof Te) || s.type != "row") ? this.nextDisplayRow(s, t) : s;
17593
+ return i !== !1 && i < this.displayRowsCount - 1 && (s = this.getDisplayRows()[i + 1]), s && (!(s instanceof De) || s.type != "row") ? this.nextDisplayRow(s, t) : s;
17540
17594
  }
17541
17595
  prevDisplayRow(e, t) {
17542
17596
  const i = this.getDisplayRowIndex(e);
17543
17597
  let s = !1;
17544
- return i && (s = this.getDisplayRows()[i - 1]), t && s && (!(s instanceof Te) || s.type != "row") ? this.prevDisplayRow(s, t) : s;
17598
+ return i && (s = this.getDisplayRows()[i - 1]), t && s && (!(s instanceof De) || s.type != "row") ? this.prevDisplayRow(s, t) : s;
17545
17599
  }
17546
17600
  findRowIndex(e, t) {
17547
17601
  let i;
@@ -18314,7 +18368,7 @@ class Ru extends Me {
18314
18368
  s.components.includes("column") && (h = this.table.columnManager?.findColumn(c));
18315
18369
  break;
18316
18370
  case "cell":
18317
- s.components.includes("cell") && (o.row instanceof Te ? h = o.row.findCell(c) : xu && t.row && console.warn(
18371
+ s.components.includes("cell") && (o.row instanceof De ? h = o.row.findCell(c) : xu && t.row && console.warn(
18318
18372
  "Event Target Lookup Error - The row this cell is attached to cannot be found, has the table been reinitialized without being destroyed first?"
18319
18373
  ));
18320
18374
  break;
@@ -18433,19 +18487,19 @@ function ku(n) {
18433
18487
  return typeof w == "string" ? w.indexOf("%") > -1 ? E = i / 100 * parseInt(w, 10) : E = parseInt(w, 10) : E = w || 0, E;
18434
18488
  }
18435
18489
  function f(w, E, y, k) {
18436
- const D = [];
18490
+ const T = [];
18437
18491
  let he = 0, L = 0, ge = 0, J = r, z = 0, b = 0;
18438
18492
  const C = [];
18439
18493
  function R(S) {
18440
18494
  return y * (S.column.definition.widthGrow || 1);
18441
18495
  }
18442
- function T(S) {
18496
+ function D(S) {
18443
18497
  return u(S.width) - y * (S.column.definition.widthShrink || 0);
18444
18498
  }
18445
18499
  return w.forEach((S) => {
18446
- const _ = k ? T(S) : R(S);
18447
- S.column.minWidth && S.column.minWidth >= _ ? D.push(S) : S.column.maxWidth && S.column.maxWidth < _ ? (S.width = S.column.maxWidth, E -= S.column.maxWidth, J -= k ? S.column.definition.widthShrink || 1 : S.column.definition.widthGrow || 1, J && (y = Math.floor(E / J))) : (C.push(S), b += k ? S.column.definition.widthShrink || 1 : S.column.definition.widthGrow || 1);
18448
- }), D.length ? (D.forEach((S) => {
18500
+ const _ = k ? D(S) : R(S);
18501
+ S.column.minWidth && S.column.minWidth >= _ ? T.push(S) : S.column.maxWidth && S.column.maxWidth < _ ? (S.width = S.column.maxWidth, E -= S.column.maxWidth, J -= k ? S.column.definition.widthShrink || 1 : S.column.definition.widthGrow || 1, J && (y = Math.floor(E / J))) : (C.push(S), b += k ? S.column.definition.widthShrink || 1 : S.column.definition.widthGrow || 1);
18502
+ }), T.length ? (T.forEach((S) => {
18449
18503
  he += k ? S.width - (S.column.minWidth ?? 0) : S.column.minWidth ?? 0, S.width = S.column.minWidth ?? 0;
18450
18504
  }), L = E - he, ge = b ? Math.floor(L / b) : L, z = f(
18451
18505
  C,
@@ -18453,7 +18507,7 @@ function ku(n) {
18453
18507
  ge,
18454
18508
  k
18455
18509
  )) : (z = b ? E - Math.floor(E / b) * b : E, C.forEach((S) => {
18456
- S.width = k ? T(S) : R(S);
18510
+ S.width = k ? D(S) : R(S);
18457
18511
  })), z;
18458
18512
  }
18459
18513
  if (this.table.options.responsiveLayout && this.table.modExists("responsiveLayout", !0) && this.table.modules.responsiveLayout?.update(), this.table.rowManager?.element && this.table.rowManager.element.scrollHeight > this.table.rowManager.element.clientHeight) {
@@ -18482,15 +18536,15 @@ function ku(n) {
18482
18536
  w.column.setWidth(w.width);
18483
18537
  });
18484
18538
  }
18485
- async function Tu(n, e) {
18539
+ async function Du(n, e) {
18486
18540
  e && this.table.columnManager?.renderer && await this.table.columnManager.renderer.reinitializeColumnWidths(n), this.table.options.responsiveLayout && this.table.modExists("responsiveLayout", !0) && this.table.modules.responsiveLayout.update();
18487
18541
  }
18488
- async function Tr(n) {
18542
+ async function Dr(n) {
18489
18543
  for (const e of n)
18490
18544
  await e.reinitializeWidth();
18491
18545
  this.table.options.responsiveLayout && this.table.modExists("responsiveLayout", !0) && this.table.modules.responsiveLayout.update();
18492
18546
  }
18493
- async function Du(n) {
18547
+ async function Tu(n) {
18494
18548
  let e = 0, t = this.table.element?.clientWidth || 0;
18495
18549
  const i = this.table.columnManager?.contentsElement;
18496
18550
  if (i) {
@@ -18505,10 +18559,10 @@ async function Du(n) {
18505
18559
  }
18506
18560
  const Mu = {
18507
18561
  fitColumns: ku,
18508
- fitData: Tu,
18509
- fitDataFill: Tr,
18510
- fitDataStretch: Du,
18511
- fitDataTable: Tr
18562
+ fitData: Du,
18563
+ fitDataFill: Dr,
18564
+ fitDataStretch: Tu,
18565
+ fitDataTable: Dr
18512
18566
  }, Fu = process.env.NODE_ENV === "development", Ut = class Ut extends I {
18513
18567
  constructor(e) {
18514
18568
  super(e), this.mode = null, this.registerTableOption("layout", "fitData"), this.registerTableOption("layoutColumnsOnNewData", !1), this.registerColumnOption("widthGrow"), this.registerColumnOption("widthShrink");
@@ -18578,7 +18632,7 @@ const Lu = {
18578
18632
  prev_title: "Prev Page"
18579
18633
  }
18580
18634
  }
18581
- }, Dr = process.env.NODE_ENV === "development", vi = class vi extends I {
18635
+ }, Tr = process.env.NODE_ENV === "development", vi = class vi extends I {
18582
18636
  constructor(e) {
18583
18637
  super(e), this.locale = "default", this.lang = !1, this.bindings = {}, this.langList = {}, this.registerTableOption("locale", !1), this.registerTableOption("langs", {});
18584
18638
  }
@@ -18612,11 +18666,11 @@ const Lu = {
18612
18666
  };
18613
18667
  if (t && !this.langList[t]) {
18614
18668
  const s = t.split("-")[0];
18615
- this.langList[s] ? (Dr && console.warn(
18669
+ this.langList[s] ? (Tr && console.warn(
18616
18670
  "Localization Error - Exact matching locale not found, using closest match: ",
18617
18671
  t,
18618
18672
  s
18619
- ), t = s) : (Dr && console.warn(
18673
+ ), t = s) : (Tr && console.warn(
18620
18674
  "Localization Error - Matching locale not found, using default: ",
18621
18675
  t
18622
18676
  ), t = "default");
@@ -19227,7 +19281,7 @@ class Ou extends Lt {
19227
19281
  }
19228
19282
  // #endregion
19229
19283
  }
19230
- var _t = /* @__PURE__ */ ((n) => (n.Multiple = "multiple", n.Single = "single", n))(_t || {}), nt = /* @__PURE__ */ ((n) => (n.Checkbox = "checkbox", n.DatePicker = "date-picker", n.DateRange = "date-range", n))(nt || {}), Pi = /* @__PURE__ */ ((n) => (n.Checkbox = "checkbox", n.DatePicker = "datePicker", n.DateRangePicker = "dateRangePicker", n))(Pi || {}), Ii = /* @__PURE__ */ ((n) => (n.ShowPreset = "showPreset", n.ShowTime = "showTime", n))(Ii || {});
19284
+ var _t = /* @__PURE__ */ ((n) => (n.Multiple = "multiple", n.Single = "single", n))(_t || {}), rt = /* @__PURE__ */ ((n) => (n.Checkbox = "checkbox", n.DatePicker = "date-picker", n.DateRange = "date-range", n))(rt || {}), Pi = /* @__PURE__ */ ((n) => (n.Checkbox = "checkbox", n.DatePicker = "datePicker", n.DateRangePicker = "dateRangePicker", n))(Pi || {}), Ii = /* @__PURE__ */ ((n) => (n.ShowPreset = "showPreset", n.ShowTime = "showTime", n))(Ii || {});
19231
19285
  class gn {
19232
19286
  #e;
19233
19287
  #i;
@@ -19306,9 +19360,9 @@ function Iu(n, e) {
19306
19360
  return x`<cx-facet-date-range field=${t.facetFieldName} display-name=${t.displayName} display-format=${te(t.displayFormat)} from-date=${e.dateRange?.fromDate ?? ""} to-date=${e.dateRange?.toDate ?? ""} from-time=${e.dateRange?.fromTime ?? Kr} to-time=${e.dateRange?.toTime ?? oa} preset=${e.dateRange?.preset ?? ""} min=${t.min ?? ""} max=${t.max ?? ""} ?show-time=${t.showTime ?? !1} ?show-preset=${t.showPreset ?? !1}></cx-facet-date-range>`;
19307
19361
  }
19308
19362
  const Hu = {
19309
- [nt.Checkbox]: Au,
19310
- [nt.DatePicker]: Pu,
19311
- [nt.DateRange]: Iu
19363
+ [rt.Checkbox]: Au,
19364
+ [rt.DatePicker]: Pu,
19365
+ [rt.DateRange]: Iu
19312
19366
  }, Nu = q`:host{display:contents}cx-dropdown{--panel-overflow:hidden}cx-details{--expand-icon-size:24px}.panel{--header-background-color:transparent;--header-font-size:var(--cx-font-size-medium);--panel-width:min(280px, 90dvw);width:var(--panel-width);max-height:var(--panel-max-height,600px);position:relative}.panel:has(cx-facet-date-range[show-time],cx-facet-date-picker[show-time]){--panel-width:min(385px, 90dvw)}.panel__content{max-height:var(--panel-max-height,600px);flex-direction:column;display:flex}.panel__header{flex-shrink:0}.panel__body{flex:1;min-height:0;overflow-y:auto}.panel__footer{padding:var(--cx-spacing-x-small) var(--cx-spacing-medium);border-top:1px solid var(--cx-color-neutral-200);flex-shrink:0;display:flex}.applied-filters__summary{align-items:center;gap:var(--cx-spacing-2x-small);display:inline-flex}.applied-filters__title{font-weight:var(--cx-font-weight-medium);color:var(--cx-color-neutral-900)}.applied-filters__loading{align-items:center;display:inline-flex}.applied-filters{--content-padding:0 var(--cx-spacing-medium);min-width:100%;width:var(--panel-width)}.applied-filters::part(summary){flex:none}.applied-filters::part(base),cx-faceted-filter-facet::part(base){border-top-width:0;border-left-width:0;border-right-width:0}.applied-filters--empty::part(content){display:none}.faceted-filter__trigger-wrapper{display:inline-block;position:relative}.faceted-filter__trigger::part(base){background-color:var(--cx-color-neutral-100)}.faceted-filter__trigger-badge{position:absolute;top:-15px;right:-15px}.applied-filters__tags{max-width:var(--panel-width);padding-bottom:var(--cx-spacing-x-small)}.panel__clear-all-button{--cx-button-text-transform:none;padding-top:var(--cx-spacing-2x-small);padding-bottom:var(--cx-spacing-2x-small)}.panel__clear-all-button::part(label){text-decoration:underline}.panel__clear-all-button:not([disabled])::part(base):hover{color:var(--cx-color-neutral-800);background-color:#0000;border-color:#0000}cx-tag::part(remove-button){font-size:var(--cx-font-size-x-small)}cx-tag::part(remove-button__base){min-height:unset;min-width:unset;padding:var(--cx-spacing-3x-small)}`;
19313
19367
  var Vu = Object.defineProperty, Bu = Object.getOwnPropertyDescriptor, ye = (n, e, t, i) => {
19314
19368
  for (var s = i > 1 ? void 0 : i ? Bu(e, t) : e, o = n.length - 1, r; o >= 0; o--)
@@ -19317,7 +19371,7 @@ var Vu = Object.defineProperty, Bu = Object.getOwnPropertyDescriptor, ye = (n, e
19317
19371
  };
19318
19372
  let de = class extends Pe {
19319
19373
  constructor() {
19320
- super(...arguments), this.localize = new tt(this), this.shadowRootAutoloader = new gn(
19374
+ super(...arguments), this.localize = new et(this), this.shadowRootAutoloader = new gn(
19321
19375
  this
19322
19376
  ), this.facets = [], this.availableFacets = [], this.selectedFacets = {}, this.selectedDateRanges = {}, this.selection = _t.Single, this.loading = !1, this.externalFilters = [], this.appliedFiltersCount = 0, this.internalSelection = {}, this.internalDateRanges = {}, this.mappedDisplayNames = {}, this.facetDetailsByField = /* @__PURE__ */ new Map();
19323
19377
  }
@@ -19444,7 +19498,7 @@ let de = class extends Pe {
19444
19498
  });
19445
19499
  }
19446
19500
  renderAppliedFilters() {
19447
- return x`<cx-details aria-busy=${this.loading ? "true" : "false"} class=${rt({
19501
+ return x`<cx-details aria-busy=${this.loading ? "true" : "false"} class=${ot({
19448
19502
  "applied-filters": !0,
19449
19503
  "applied-filters--empty": this.appliedFiltersCount === 0
19450
19504
  })}><span slot="summary" class="applied-filters__summary"><span class="applied-filters__title">${this.localize.term("appliedFilters")}${this.appliedFiltersCount > 0 ? ` (${this.appliedFiltersCount})` : bt}</span>${Y(
@@ -19469,7 +19523,7 @@ let de = class extends Pe {
19469
19523
  const o = fa(i, e);
19470
19524
  return n.showTime ? `${o} ${s}` : o;
19471
19525
  };
19472
- return n.type === nt.DatePicker ? t(n.fromDate, n.fromTime) : `${t(n.fromDate, n.fromTime)} – ${t(n.toDate, n.toTime)}`;
19526
+ return n.type === rt.DatePicker ? t(n.fromDate, n.fromTime) : `${t(n.fromDate, n.fromTime)} – ${t(n.toDate, n.toTime)}`;
19473
19527
  }
19474
19528
  renderDateTags() {
19475
19529
  const n = this.facetDetailsByField;
@@ -19521,7 +19575,7 @@ let de = class extends Pe {
19521
19575
  );
19522
19576
  if (!e)
19523
19577
  return bt;
19524
- const t = n.type ?? nt.Checkbox, i = Hu[t];
19578
+ const t = n.type ?? rt.Checkbox, i = Hu[t];
19525
19579
  return i ? i(
19526
19580
  {
19527
19581
  facetDetails: n,
@@ -19643,20 +19697,20 @@ function ju(n) {
19643
19697
  displayName: a,
19644
19698
  facetFieldName: r,
19645
19699
  selection: Gu(h),
19646
- type: nt.Checkbox
19700
+ type: rt.Checkbox
19647
19701
  }) : l === Pi.DatePicker ? e.set(r, {
19648
19702
  displayFormat: Fr(h),
19649
19703
  displayName: a,
19650
19704
  facetFieldName: r,
19651
19705
  showTime: h.includes(Ii.ShowTime),
19652
- type: nt.DatePicker
19706
+ type: rt.DatePicker
19653
19707
  }) : l === Pi.DateRangePicker && e.set(r, {
19654
19708
  displayFormat: Fr(h),
19655
19709
  displayName: a,
19656
19710
  facetFieldName: r,
19657
19711
  showPreset: h.includes(Ii.ShowPreset),
19658
19712
  showTime: h.includes(Ii.ShowTime),
19659
- type: nt.DateRange
19713
+ type: rt.DateRange
19660
19714
  });
19661
19715
  }
19662
19716
  return e;
@@ -19670,7 +19724,7 @@ function Fr(n) {
19670
19724
  function Uu(n, e) {
19671
19725
  const t = new Set(Object.keys(n));
19672
19726
  for (const [i, s] of e)
19673
- s.type !== nt.Checkbox && t.add(i);
19727
+ s.type !== rt.Checkbox && t.add(i);
19674
19728
  return [...t].map((i) => {
19675
19729
  const s = e.get(i) ?? {
19676
19730
  displayName: i,
@@ -19820,7 +19874,7 @@ class qu {
19820
19874
  }
19821
19875
  for (const o of s) {
19822
19876
  const r = e[o], a = `${i}${o}`, l = [], h = (c, d) => t === fi.Timestamp ? (/* @__PURE__ */ new Date(`${c}T${d}`)).getTime() : t === fi.IsoDateTime ? `${c}T${d}` : c;
19823
- r.type === nt.DatePicker ? r.fromDate && l.push({
19877
+ r.type === rt.DatePicker ? r.fromDate && l.push({
19824
19878
  field: o,
19825
19879
  type: _e.Equal,
19826
19880
  value: h(r.fromDate, r.fromTime)
@@ -20206,10 +20260,10 @@ function Lr(n, e, t, i = 500) {
20206
20260
  }
20207
20261
  const w = p.data;
20208
20262
  if (!r) {
20209
- const E = w.map((k, D) => k.trim() || `column_${D}`), y = /* @__PURE__ */ new Map();
20263
+ const E = w.map((k, T) => k.trim() || `column_${T}`), y = /* @__PURE__ */ new Map();
20210
20264
  a = E.map((k) => {
20211
- const D = y.get(k) ?? 0;
20212
- return y.set(k, D + 1), D === 0 ? k : `${k}_${D}`;
20265
+ const T = y.get(k) ?? 0;
20266
+ return y.set(k, T + 1), T === 0 ? k : `${k}_${T}`;
20213
20267
  }), e(a.map((k) => ({ field: k, title: k }))), r = !0;
20214
20268
  return;
20215
20269
  }
@@ -20279,7 +20333,7 @@ function wn(n, e = "") {
20279
20333
  return { columns: t.columns, rows: t.data };
20280
20334
  throw new Error("JSON data must be an array of row objects or a { columns, data } envelope");
20281
20335
  }
20282
- function Tp(n) {
20336
+ function Dp(n) {
20283
20337
  if (n.length === 0)
20284
20338
  return { columns: [], data: [] };
20285
20339
  const t = n[0].map((a, l) => {
@@ -20296,11 +20350,11 @@ function Tp(n) {
20296
20350
  );
20297
20351
  return { columns: o, data: r };
20298
20352
  }
20299
- function Dp(n) {
20353
+ function Tp(n) {
20300
20354
  const e = mo.parse(n, { header: !1, skipEmptyLines: !0 }), t = e.errors.filter((i) => i.code !== "UndetectableDelimiter");
20301
20355
  if (t.length > 0)
20302
20356
  throw new Error(`CSV parse error: ${t[0].message}`);
20303
- return Tp(e.data);
20357
+ return Dp(e.data);
20304
20358
  }
20305
20359
  function Mp(n) {
20306
20360
  const e = JSON.parse(n), { columns: t, rows: i } = wn(e);
@@ -20398,10 +20452,10 @@ var Ap = Object.defineProperty, Pp = Object.getOwnPropertyDescriptor, Cn = (n) =
20398
20452
  }, Ip = (n, e, t) => e.has(n) || Cn("Cannot " + t), Hp = (n, e, t) => (Ip(n, e, "read from private field"), t ? t.call(n) : e.get(n)), Np = (n, e, t) => e.has(n) ? Cn("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(n) : e.set(n, t), no, En;
20399
20453
  let g = class extends Pe {
20400
20454
  constructor() {
20401
- super(), Np(this, no), this.localize = new tt(this), this.hasSlotController = new Ur(this, "add-action"), this.verticalOsInstance = null, this.horizontalOsInstance = null, this.frozenScrollOff = null, this.resizeObserver = null, this.overflowObserver = null, this.ajaxFacetsController = new Wu(this), this.filterController = new qu(this), this.ajaxFacetFilterController = new Ku(this, this.filterController), this.selectAllController = new Xu(this), this.shadowRootAutoloader = new gn(
20455
+ super(), Np(this, no), this.localize = new et(this), this.hasSlotController = new Ur(this, "add-action"), this.verticalOsInstance = null, this.horizontalOsInstance = null, this.frozenScrollOff = null, this.resizeObserver = null, this.overflowObserver = null, this.ajaxFacetsController = new Wu(this), this.filterController = new qu(this), this.ajaxFacetFilterController = new Ku(this, this.filterController), this.selectAllController = new Xu(this), this.shadowRootAutoloader = new gn(
20402
20456
  this
20403
- ), this.validationTooltipAnchor = null, this.validationTooltipHidePromise = null, this.movableRows = !1, this.movableColumns = !1, this.data = void 0, this.rowHeight = 48, this.layout = "fitColumns", this.columns = [], this.footerElement = void 0, this.responsiveLayout = !1, this.responsiveLayoutCollapseFormatter = void 0, this.responsiveLayoutCollapseUseFormatters = void 0, this.rowHeader = void 0, this.noHeader = !1, this.textDirection = void 0, this.responsiveLayoutCollapseStartOpen = void 0, this.renderVerticalBuffer = void 0, this.renderVertical = "virtual", this.validateOnLoad = !1, this.validationWorkerThreshold = void 0, this.columnDefaults = {}, this.headerContextMenu = !1, this.canSearch = !1, this.noAdvancedSearch = !1, this.showSavedSearch = !1, this.searchFields = [], this.searchMatchAnyKeyword = !1, this.canAdd = !1, this.addLabel = this.localize.term("add"), this.canExportCsv = !1, this.canExportXml = !1, this.canExportPdf = !1, this.canExportCustom = !1, this.canSaveReport = !1, this.savedSearchURL = "", this.savedSearchItems = [], this.savedSearchPageSizeParam = "PageSize", this.savedSearchPageSize = 10, this.savedSearchPageNumberParam = "PageNumber", this.dropdownFilters = [], this.groupByOptions = [], this.ajaxURL = void 0, this.ajaxMethod = "GET", this.ajaxURLGenerator = void 0, this.ajaxParams = void 0, this.ajaxResponse = void 0, this.facetConfig = void 0, this.additionalAppliedFilters = [], this.dataSendParams = void 0, this.dataReceiveParams = void 0, this.noAutoResize = !1, this.resizableRows = !1, this.resizableColumnFit = !1, this.resizableColumnGuide = !1, this.resizableRowGuide = !1, this.frozenRows = void 0, this.frozenRowsField = "id", this.placeholder = this.localize.term("noData"), this.groupBy = void 0, this.groupHeader = void 0, this.groupHeaderCount = !1, this.groupHeaderUseFormatter = !1, this.groupIndent = 36, this.groupHeaderPrint = void 0, this.groupHeaderClipboard = void 0, this.groupHeaderDownload = void 0, this.groupHeaderHtmlOutput = void 0, this.groupStartOpen = !1, this.groupStartOpenValues = void 0, this.groupToggleElement = "arrow", this.groupValues = [], this.groupUpdateOnCellEdit = !1, this.groupLoadMoreMeta = {}, this.dataTree = !1, this.dataTreeChildField = "_children", this.dataTreeLoadingField = "loading", this.dataTreeHasMoreField = "hasMore", this.dataTreeFilter = !1, this.dataTreeSort = !1, this.dataTreeElementColumn = void 0, this.dataTreeChildIndent = 9, this.dataTreeStartExpanded = !1, this.dataTreeSelectPropagate = !1, this.dataTreeExpandElement = void 0, this.dataTreeCollapseElement = void 0, this.spreadsheet = !1, this.spreadsheetColumns = 50, this.spreadsheetRows = 50, this.spreadsheetColumnDefinition = void 0, this.spreadsheetOutputFull = !1, this.editorEmptyValue = "", this.spreadsheetSheets = void 0, this.spreadsheetSheetTabs = !1, this.spreadsheetData = void 0, this.selectableRange = 1, this.noSelectable = !1, this.selectableRangeColumns = !1, this.selectableRangeRows = !1, this.selectableRangeClearCells = !1, this.editTriggerEvent = "dblclick", this.selectableRangeAutoFocus = !1, this.noClipboard = !1, this.clipboardAction = pi.Both, this.clipboardCopyRowRange = "range", this.clipboardPasteParser = void 0, this.clipboardPasteAction = "insert", this.clipboardCopyConfig = { columnHeaders: !1 }, this.clipboardNoCopyStyled = !1, this.pagination = !1, this.paginationMode = Ze.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 = sa.Both, this.paginationShowFirst = !1, this.paginationShowLast = !1, this.paginationPlacement = Ki.TopEnd, this.noHeaderRowReserve = !1, this.hoverMenu = void 0, this.label = "", this.tabulatorRole = "grid", this.columnGroupRole = "columngroup", this.columnHeaderRole = "columnheader", this.rowRole = "row", this.rowGroupRole = "rowgroup", this.cellRole = "gridcell", this.filterMode = Ze.Local, this.placeholderHeaderFilter = "No matching data", this.noColumnPlaceholderText = this.localize.term("noColumnsVisible"), this.useOverlayScrollbar = !1, this.loading = !1, this.canSelectAll = !1, this.rowIdField = "id", this.dataUrl = "", this.dateFilterCompareFormat = fi.IsoDateTime, this.dataFormat = ve.Auto, this.dataUrlPath = "", this.preserveColumnsOnLoad = !1, this.tabulatorInstance = null, this.watchedEvents = /* @__PURE__ */ new Set(), this.activeSearchValue = "", this.dataUrlRequestId = 0, this.inMemoryDataUrlRows = null, this.inMemoryValidationResult = null, this.internalAjaxRequestFunc = void 0, this.hasFacets = !1, this.headerMenuOpen = !1, this.headerMenuField = "", this.headerMenuPointX = 0, this.headerMenuPointY = 0, this.headerMenuHideDisabled = !1, this.columnEditorOpen = !1, this.columnEditorEntries = [], this.handleTableBuilt = () => {
20404
- this.initHorizontalScrollbar(), this.useOverlayScrollbar ? this.initVerticalScrollbar() : this.verticalOsInstance?.destroy(), this.initOverflowObserver(), this.tabulatorInstance?.setColumns(this.columns ?? []), this.validateOnLoad && this.tabulatorInstance?.validateAsync(), this.filterController.syncDropdownFilterSources(this.dropdownFilters), this.handleSearch(), this.filterController.applyFilters(), this.placePaginator(), this.dataUrl && this.loadFromDataUrl();
20457
+ ), this.validationTooltipAnchor = null, this.validationTooltipHidePromise = null, this.movableRows = !1, this.movableColumns = !1, this.data = void 0, this.rowHeight = 48, this.layout = "fitColumns", this.columns = [], this.footerElement = void 0, this.responsiveLayout = !1, this.responsiveLayoutCollapseFormatter = void 0, this.responsiveLayoutCollapseUseFormatters = void 0, this.rowHeader = void 0, this.noHeader = !1, this.textDirection = void 0, this.responsiveLayoutCollapseStartOpen = void 0, this.renderVerticalBuffer = void 0, this.renderVertical = "virtual", this.validateOnLoad = !1, this.validationWorkerThreshold = void 0, this.columnDefaults = {}, this.headerContextMenu = !1, this.canSearch = !1, this.noAdvancedSearch = !1, this.showSavedSearch = !1, this.searchFields = [], this.searchMatchAnyKeyword = !1, this.canAdd = !1, this.addLabel = this.localize.term("add"), this.canExportCsv = !1, this.canExportXml = !1, this.canExportPdf = !1, this.canExportCustom = !1, this.canSaveReport = !1, this.savedSearchURL = "", this.savedSearchItems = [], this.savedSearchPageSizeParam = "PageSize", this.savedSearchPageSize = 10, this.savedSearchPageNumberParam = "PageNumber", this.dropdownFilters = [], this.groupByOptions = [], this.ajaxURL = void 0, this.ajaxMethod = "GET", this.ajaxURLGenerator = void 0, this.ajaxParams = void 0, this.ajaxResponse = void 0, this.facetConfig = void 0, this.additionalAppliedFilters = [], this.dataSendParams = void 0, this.dataReceiveParams = void 0, this.noAutoResize = !1, this.resizableRows = !1, this.resizableColumnFit = !1, this.resizableColumnGuide = !1, this.resizableRowGuide = !1, this.frozenRows = void 0, this.frozenRowsField = "id", this.placeholder = this.localize.term("noData"), this.groupBy = void 0, this.groupHeader = void 0, this.groupHeaderCount = !1, this.groupHeaderUseFormatter = !1, this.groupIndent = 36, this.groupHeaderPrint = void 0, this.groupHeaderClipboard = void 0, this.groupHeaderDownload = void 0, this.groupHeaderHtmlOutput = void 0, this.groupStartOpen = !1, this.groupStartOpenValues = void 0, this.groupToggleElement = "arrow", this.groupValues = [], this.groupUpdateOnCellEdit = !1, this.groupLoadMoreMeta = {}, this.dataTree = !1, this.dataTreeChildField = "_children", this.dataTreeLoadingField = "loading", this.dataTreeHasMoreField = "hasMore", this.dataTreeFilter = !1, this.dataTreeSort = !1, this.dataTreeElementColumn = void 0, this.dataTreeChildIndent = 9, this.dataTreeStartExpanded = !1, this.dataTreeSelectPropagate = !1, this.dataTreeExpandElement = void 0, this.dataTreeCollapseElement = void 0, this.spreadsheet = !1, this.spreadsheetColumns = 50, this.spreadsheetRows = 50, this.spreadsheetColumnDefinition = void 0, this.spreadsheetOutputFull = !1, this.editorEmptyValue = "", this.spreadsheetSheets = void 0, this.spreadsheetSheetTabs = !1, this.spreadsheetData = void 0, this.selectableRange = 1, this.noSelectable = !1, this.selectableRangeColumns = !1, this.selectableRangeRows = !1, this.selectableRangeClearCells = !1, this.editTriggerEvent = "dblclick", this.selectableRangeAutoFocus = !1, this.noClipboard = !1, this.clipboardAction = pi.Both, this.clipboardCopyRowRange = "range", this.clipboardPasteParser = void 0, this.clipboardPasteAction = "insert", this.clipboardCopyConfig = { columnHeaders: !1 }, this.clipboardNoCopyStyled = !1, this.pagination = !1, this.paginationMode = ut.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 = sa.Both, this.paginationShowFirst = !1, this.paginationShowLast = !1, this.paginationPlacement = Ki.TopEnd, this.noHeaderRowReserve = !1, this.hoverMenu = void 0, this.label = "", this.tabulatorRole = "grid", this.columnGroupRole = "columngroup", this.columnHeaderRole = "columnheader", this.rowRole = "row", this.rowGroupRole = "rowgroup", this.cellRole = "gridcell", this.filterMode = ut.Local, this.placeholderHeaderFilter = "No matching data", this.noColumnPlaceholderText = this.localize.term("noColumnsVisible"), this.useOverlayScrollbar = !1, this.loading = !1, this.canSelectAll = !1, this.rowIdField = "id", this.dataUrl = "", this.dateFilterCompareFormat = fi.IsoDateTime, this.dataFormat = ve.Auto, this.dataUrlPath = "", this.preserveColumnsOnLoad = !1, this.tabulatorInstance = null, this.watchedEvents = /* @__PURE__ */ new Set(), this.activeSearchValue = "", this.dataUrlRequestId = 0, this.inMemoryDataUrlRows = null, this.inMemoryValidationResult = null, this.internalAjaxRequestFunc = void 0, this.lastAttemptedDataUrl = null, this.hasFacets = !1, this.headerMenuOpen = !1, this.headerMenuField = "", this.headerMenuPointX = 0, this.headerMenuPointY = 0, this.headerMenuHideDisabled = !1, this.columnEditorOpen = !1, this.columnEditorEntries = [], this.handleTableBuilt = () => {
20458
+ this.initHorizontalScrollbar(), this.useOverlayScrollbar ? this.initVerticalScrollbar() : this.verticalOsInstance?.destroy(), this.initOverflowObserver(), this.tabulatorInstance?.setColumns(this.columns ?? []), this.validateOnLoad && this.tabulatorInstance?.validateAsync(), this.filterController.syncDropdownFilterSources(this.dropdownFilters), this.handleSearch(), this.filterController.applyFilters(), this.placePaginator(), this.dataUrl && (!this.pagination || this.lastAttemptedDataUrl !== this.dataUrl.trim()) && this.loadFromDataUrl();
20405
20459
  }, this.handleValidationChanged = (t) => {
20406
20460
  this.validationTooltipAnchor && !this.validationTooltipAnchor.isConnected && this.hideValidationTooltip(), this.emit("cx-table-validation-change", { detail: t });
20407
20461
  }, this.checkHorizontalOverflow = () => {
@@ -20456,7 +20510,7 @@ let g = class extends Pe {
20456
20510
  * the `ajaxURL` term is what catches the ajax case.
20457
20511
  */
20458
20512
  get isRemotePagination() {
20459
- return this.pagination && (!!this.ajaxURL || this.paginationMode === Ze.Remote);
20513
+ return this.pagination && (!!this.ajaxURL || !!this.internalAjaxRequestFunc || this.paginationMode === ut.Remote);
20460
20514
  }
20461
20515
  /**
20462
20516
  * Whether pagination alone should render the toolbar. A top-placed paginator
@@ -20519,7 +20573,7 @@ let g = class extends Pe {
20519
20573
  }
20520
20574
  }
20521
20575
  async initTable() {
20522
- this.tabulatorInstance && (this.selectAllController.resetSelection(), this.overflowObserver?.disconnect(), this.verticalOsInstance?.destroy(), this.horizontalOsInstance?.destroy(), this.tabulatorInstance.off("tableBuilt"), this.tabulatorInstance.destroy());
20576
+ this.tabulatorInstance && (this.selectAllController.resetSelection(), this.overflowObserver?.disconnect(), this.verticalOsInstance?.destroy(), this.horizontalOsInstance?.destroy(), this.tabulatorInstance.off("tableBuilt"), this.tabulatorInstance.destroy()), !this.pagination || !this.dataUrl?.trim() ? (this.internalAjaxRequestFunc = void 0, this.inMemoryDataUrlRows = null, this.inMemoryValidationResult = null, this.lastAttemptedDataUrl = null) : this.internalAjaxRequestFunc || (this.internalAjaxRequestFunc = this.createInMemoryAjaxRequestFunc());
20523
20577
  let e = this.rowHeader;
20524
20578
  e == null && (this.movableRows ? e = Cp : this.responsiveLayout === "collapse" && (e = {
20525
20579
  formatter: "responsiveCollapse"
@@ -20976,14 +21030,14 @@ let g = class extends Pe {
20976
21030
  if (i !== this.dataUrlRequestId)
20977
21031
  return;
20978
21032
  const y = l.length;
20979
- E.forEach((D) => {
20980
- D.__cxRowIndex = l.length, l.push(D);
21033
+ E.forEach((T) => {
21034
+ T.__cxRowIndex = l.length, l.push(T);
20981
21035
  }), !p && l.length >= s && (p = !0, r(c, l)), p && this.updatePaginationCountLive(l.length), await this.validateInMemoryRowsChunk(
20982
21036
  E,
20983
21037
  d,
20984
21038
  y,
20985
21039
  h
20986
- ) && i === this.dataUrlRequestId && a(l.length, h), await new Promise((D) => requestAnimationFrame(() => D()));
21040
+ ) && i === this.dataUrlRequestId && a(l.length, h), await new Promise((T) => requestAnimationFrame(() => T()));
20987
21041
  }, w = g.IN_MEMORY_PARSE_CHUNK_SIZE;
20988
21042
  return t === ve.Csv ? await Lr(e, u, f, w) : t === ve.Json ? await _r(e, u, f, w, this.dataUrlPath) : t === ve.Xml && await zr(e, u, f, w, this.dataUrlPath), p || r(c, l), { columns: c, rows: l, validationResult: h };
20989
21043
  }
@@ -21274,7 +21328,7 @@ let g = class extends Pe {
21274
21328
  async loadFromDataUrl() {
21275
21329
  const e = this.dataUrl?.trim(), t = ++this.dataUrlRequestId;
21276
21330
  if (e) {
21277
- this.setLoading(!0);
21331
+ this.setLoading(!0), this.pagination && (this.lastAttemptedDataUrl = e, this.tabulatorInstance?.options.ajaxRequestFunc || this.initTableWhenSized());
21278
21332
  try {
21279
21333
  const i = await fetch(e);
21280
21334
  if (!i.ok)
@@ -21299,7 +21353,7 @@ let g = class extends Pe {
21299
21353
  detail: { invalidCellCount: E, invalidCells: [] }
21300
21354
  }), l && (this.refreshInMemoryMutateOnValidateColumns(h), this.tabulatorInstance?.redraw(!0));
21301
21355
  }, d = (f, w) => {
21302
- l || t !== this.dataUrlRequestId || (l = !0, this.inMemoryDataUrlRows = w, this.internalAjaxRequestFunc = this.createInMemoryAjaxRequestFunc(), this.columns = h, this.paginationMode !== Ze.Remote ? this.paginationMode = Ze.Remote : this.tabulatorInstance?.setData(void 0), this.setLoading(!1));
21356
+ l || t !== this.dataUrlRequestId || (l = !0, this.inMemoryDataUrlRows = w, this.columns = h, this.tabulatorInstance?.setData(void 0), this.setLoading(!1));
21303
21357
  }, { rows: p, validationResult: u } = await this.parseDataUrlIntoMemory(
21304
21358
  r,
21305
21359
  o,
@@ -21352,7 +21406,7 @@ let g = class extends Pe {
21352
21406
  }));
21353
21407
  }
21354
21408
  } catch (i) {
21355
- t === this.dataUrlRequestId && this.emit("cx-table-data-load-error", { detail: { error: i, url: this.dataUrl } });
21409
+ t === this.dataUrlRequestId && (this.lastAttemptedDataUrl = null, this.emit("cx-table-data-load-error", { detail: { error: i, url: this.dataUrl } }));
21356
21410
  } finally {
21357
21411
  t === this.dataUrlRequestId && this.setLoading(!1);
21358
21412
  }
@@ -21459,7 +21513,7 @@ let g = class extends Pe {
21459
21513
  });
21460
21514
  }
21461
21515
  render() {
21462
- return x`<cx-space part="base" direction="vertical" spacing="large" wrap="nowrap" class=${rt({
21516
+ return x`<cx-space part="base" direction="vertical" spacing="large" wrap="nowrap" class=${ot({
21463
21517
  container: !0,
21464
21518
  "container--overlay-scrollbar": this.useOverlayScrollbar
21465
21519
  })}>${Y(this.showTableToolbar, () => this.renderToolbar())}<div part="table" class="table" @mouseover=${this.handleValidationMouseOver} @mouseout=${this.handleValidationMouseOut} @contextmenu=${this.handleHeaderContextMenu}></div>${Y(this.showPaginationFooter, () => this.renderPaginationFooter())}</cx-space><cx-tooltip class="validation-tooltip" trigger="manual" disabled-hover-bridge></cx-tooltip><cx-table-header-menu ?open=${this.headerMenuOpen} point-x=${this.headerMenuPointX} point-y=${this.headerMenuPointY} field=${this.headerMenuField} ?hide-disabled=${this.headerMenuHideDisabled} @cx-table-header-menu-select=${this.handleHeaderMenuSelect} @cx-table-header-menu-close=${this.handleHeaderMenuClose}></cx-table-header-menu><cx-table-column-editor ?open=${this.columnEditorOpen} .entries=${this.columnEditorEntries} @cx-table-column-editor-apply=${this.handleColumnEditorApply} @cx-table-column-editor-cancel=${this.handleColumnEditorCancel}></cx-table-column-editor>`;
@@ -21485,9 +21539,9 @@ g.dependencies = {
21485
21539
  "cx-select": ca,
21486
21540
  "cx-space": Ri,
21487
21541
  "cx-spinner": Xr,
21488
- "cx-table-column-editor": Qe,
21542
+ "cx-table-column-editor": Ze,
21489
21543
  "cx-table-footer": Ci,
21490
- "cx-table-header-menu": et,
21544
+ "cx-table-header-menu": Qe,
21491
21545
  "cx-table-row-actions": Ot,
21492
21546
  "cx-table-toolbar": Q,
21493
21547
  "cx-tooltip": Pt
@@ -22685,7 +22739,7 @@ var Gp = Object.defineProperty, Up = Object.getOwnPropertyDescriptor, xe = (n, e
22685
22739
  const Pr = "unnamed";
22686
22740
  let me = class extends Pe {
22687
22741
  constructor() {
22688
- super(), this.localize = new tt(this), this.variant = Je.Table, this.data = [], this.maxCol = 4, this.canCopy = !1, this.showCodes = ["HEX", "RGB", "CMYK", "PMS"], this.multiLanguage = !1, this.breakpoints = [350, 696, 1024], this.deviceType = Ti.Desktop, this.currentCol = 0, this.isFocused = !1, this.canFocusContainer = !0, this.isContainerFocused = !1, this.handleWindowResize = this.handleWindowResize.bind(this);
22742
+ super(), this.localize = new et(this), this.variant = Je.Table, this.data = [], this.maxCol = 4, this.canCopy = !1, this.showCodes = ["HEX", "RGB", "CMYK", "PMS"], this.multiLanguage = !1, this.breakpoints = [350, 696, 1024], this.deviceType = Di.Desktop, this.currentCol = 0, this.isFocused = !1, this.canFocusContainer = !0, this.isContainerFocused = !1, this.handleWindowResize = this.handleWindowResize.bind(this);
22689
22743
  }
22690
22744
  runFirstUpdated() {
22691
22745
  this.setAttribute("role", "region"), this.setAttribute("aria-label", this.localize.term("colorSwatches")), this.setAttribute(
@@ -22769,7 +22823,7 @@ let me = class extends Pe {
22769
22823
  * Get current direction of the color swatch group
22770
22824
  */
22771
22825
  get currentDirection() {
22772
- return this.variant === Je.Circles && this.deviceType !== Ti.Desktop ? "vertical" : "horizontal";
22826
+ return this.variant === Je.Circles && this.deviceType !== Di.Desktop ? "vertical" : "horizontal";
22773
22827
  }
22774
22828
  /**
22775
22829
  * Get the variant of the color swatch
@@ -22777,7 +22831,7 @@ let me = class extends Pe {
22777
22831
  get swatchVariant() {
22778
22832
  switch (this.variant) {
22779
22833
  case Je.Circles:
22780
- return this.deviceType === Ti.Tablet ? es.Oval : es.Circle;
22834
+ return this.deviceType === Di.Tablet ? es.Oval : es.Circle;
22781
22835
  case Je.Grid:
22782
22836
  return es.GridItem;
22783
22837
  default:
@@ -22806,7 +22860,7 @@ let me = class extends Pe {
22806
22860
  }
22807
22861
  )
22808
22862
  )}</cx-space>`,
22809
- () => x`<cx-space part="color-swatch" role="list" aria-label=${this.localize.term("listOfColors")} aria-roledescription=${this.localize.term("listOfColors")} direction=${n} justify-content="flex-start" wrap=${this.variant === "circles" ? "nowrap" : "wrap"} class=${rt({
22863
+ () => x`<cx-space part="color-swatch" role="list" aria-label=${this.localize.term("listOfColors")} aria-roledescription=${this.localize.term("listOfColors")} direction=${n} justify-content="flex-start" wrap=${this.variant === "circles" ? "nowrap" : "wrap"} class=${ot({
22810
22864
  "color-swatch-group__swatches": !0,
22811
22865
  "color-swatch-group__swatches--grid": this.variant === Je.Grid,
22812
22866
  [`color-swatch-group__swatches--circles--${n}`]: this.variant === Je.Circles
@@ -22819,9 +22873,9 @@ let me = class extends Pe {
22819
22873
  "colorOfTotal",
22820
22874
  i + 1,
22821
22875
  this.data.length
22822
- )} hex=${t.hex} rgb=${t.rgb} cmyk=${t.cmyk} pms=${t.pms} name=${this.multiLanguage && e ? t[`name-${e.toLowerCase()}`] ?? t.name : t.name} variant=${this.swatchVariant} ?can-copy=${this.canCopy} ?can-focus-code-only=${this.isFocused} .showCodes=${this.showCodes} no-auto-convert class=${rt({
22876
+ )} hex=${t.hex} rgb=${t.rgb} cmyk=${t.cmyk} pms=${t.pms} name=${this.multiLanguage && e ? t[`name-${e.toLowerCase()}`] ?? t.name : t.name} variant=${this.swatchVariant} ?can-copy=${this.canCopy} ?can-focus-code-only=${this.isFocused} .showCodes=${this.showCodes} no-auto-convert class=${ot({
22823
22877
  [`color-swatch-group__swatches--circles--${n}__item`]: this.variant === Je.Circles,
22824
- "color-swatch-group__swatches--circles--vertical__item--mobile": this.variant === Je.Circles && this.deviceType === Ti.Mobile
22878
+ "color-swatch-group__swatches--circles--vertical__item--mobile": this.variant === Je.Circles && this.deviceType === Di.Mobile
22825
22879
  })} @keydown=${this.handleKeyDown} @focusout=${this.handleFocusOut}></cx-color-swatch>`
22826
22880
  )}</cx-space>`
22827
22881
  )}
@@ -22898,13 +22952,13 @@ me = xe([
22898
22952
  ], me);
22899
22953
  export {
22900
22954
  me as C,
22901
- nt as F,
22955
+ rt as F,
22902
22956
  Wt as H,
22903
22957
  _t as a,
22904
22958
  Vp as b,
22905
22959
  Je as c,
22906
22960
  jo as d,
22907
22961
  de as e,
22908
- De as f,
22962
+ Te as f,
22909
22963
  Go as o
22910
22964
  };