@orangelogic/design-system 2.155.0 → 2.157.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.
- package/library/chunks/{color-swatch-group.Gh-drOGJ.js → color-swatch-group.oFxwjebo.js} +344 -336
- package/library/chunks/{document-viewer.BN-OQfid.js → document-viewer.DXtjdvqe.js} +1 -1
- package/library/chunks/{image.DazATuAV.js → image.BO6NWyIo.js} +1 -1
- package/library/components/atoms.js +2 -2
- package/library/components/color-swatch-group.js +1 -1
- package/library/components/document-viewer.js +2 -2
- package/library/components/image.js +1 -1
- package/library/components/masonry.js +1 -1
- package/library/components/organisms.js +1 -1
- package/library/components/types.js +5273 -5248
- package/library/components/video.js +1 -1
- package/library/package.json +1 -1
- package/library/packages/hybrid/table-core/src/table/table.d.ts +2 -0
- package/library/packages/hybrid/table-core/src/table/table.utils.d.ts +2 -1
- package/library/packages/organisms/src/comment/comment.d.ts +11 -0
- package/library/packages/organisms/src/video-editor/components/video-editor-tracks/video-editor-tracks.d.ts +0 -3
- package/library/packages/organisms/src/video-editor/components/video-editor-transition/video-editor-transition.d.ts +6 -4
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@ import { c as $e } from "./component.styles.CRO4Odto.js";
|
|
|
6
6
|
import { C as Et } from "./button.8syoJXYs.js";
|
|
7
7
|
import { C as ta, o as ia, O as Yo } from "./dialog.Bzf4-IgH.js";
|
|
8
8
|
import { C as oi } from "./icon-button.DbVIFgu7.js";
|
|
9
|
-
import
|
|
9
|
+
import It from "../components/tooltip.js";
|
|
10
10
|
import { i as nn, r as sa, f as Yt, m as oa, a as ra, t as an, g as na, b as aa, c as la } from "./toast.TDU3wVhq.js";
|
|
11
11
|
import { c as Ie } from "./custom-element.L4WJXn1j.js";
|
|
12
12
|
import { L as tt } from "./i18n.Bchq8v1d.js";
|
|
@@ -14,11 +14,11 @@ import { b as uo, a as ha, c as Qo, h as ca, o as da, k as ln, p as hn, q as ua,
|
|
|
14
14
|
import { i as Z, x, E as wt, B as xa } from "./lit-element.jLBm65_O.js";
|
|
15
15
|
import { r as L } from "./state.CSDxrqLd.js";
|
|
16
16
|
import { e as pe } from "./query.BBf1UFkC.js";
|
|
17
|
-
import { b as Ui, i as
|
|
17
|
+
import { b as Ui, i as zt, c as Ra, d as fo, a as Sa, e as er, s as Ta, o as ka } from "./_baseXor.VohG8cOH.js";
|
|
18
18
|
import { b as Ki, a as Da, c as dn, t as Ma } from "./_baseIteratee.BdKyHJ5i.js";
|
|
19
19
|
import { a as mo } from "./toString.Dcbz5jVT.js";
|
|
20
20
|
import { a as La, b as Fa } from "./_baseUniq.je-HWbb3.js";
|
|
21
|
-
import { C as
|
|
21
|
+
import { C as xt } from "./icon.mxNZ85k0.js";
|
|
22
22
|
import { C as un } from "./input.BcyLZUmv.js";
|
|
23
23
|
import { d as pn } from "./debounce.DaHuiSGU.js";
|
|
24
24
|
import { e as rt } from "./class-map.BiVq-cVR.js";
|
|
@@ -40,7 +40,7 @@ import Va from "../components/menu-section.js";
|
|
|
40
40
|
import { C as fn, a as Ba } from "./checkbox.3i2j3PHc.js";
|
|
41
41
|
import { C as $a, P as ja } from "./pagination.Cupa46TN.js";
|
|
42
42
|
import { H as mn } from "./slot.j5oheLJC.js";
|
|
43
|
-
import { g as
|
|
43
|
+
import { g as B, a as ir } from "./dom.C5aVLhKS.js";
|
|
44
44
|
import "./browser.BHOCIF_A.js";
|
|
45
45
|
import "./form.CP9KLGjF.js";
|
|
46
46
|
import "./purify.es.BIuh5IAZ.js";
|
|
@@ -65,7 +65,7 @@ function si(r) {
|
|
|
65
65
|
}
|
|
66
66
|
var rr = Ui(function(r, e) {
|
|
67
67
|
var t = si(e);
|
|
68
|
-
return
|
|
68
|
+
return zt(t) && (t = void 0), zt(r) ? Ra(r, fo(e, 1, zt, !0), Ki(t)) : [];
|
|
69
69
|
}), il = Math.min;
|
|
70
70
|
function sl(r, e, t) {
|
|
71
71
|
for (var i = La, s = r[0].length, o = r.length, n = o, a = Array(o), l = 1 / 0, h = []; n--; ) {
|
|
@@ -89,17 +89,17 @@ function sl(r, e, t) {
|
|
|
89
89
|
return h;
|
|
90
90
|
}
|
|
91
91
|
function ol(r) {
|
|
92
|
-
return
|
|
92
|
+
return zt(r) ? r : [];
|
|
93
93
|
}
|
|
94
94
|
var rl = Ui(function(r) {
|
|
95
95
|
var e = si(r), t = mo(r, ol);
|
|
96
96
|
return e === si(t) ? e = void 0 : t.pop(), t.length && t[0] === r[0] ? sl(t, Ki(e)) : [];
|
|
97
97
|
}), nl = Ui(function(r) {
|
|
98
98
|
var e = si(r);
|
|
99
|
-
return
|
|
99
|
+
return zt(e) && (e = void 0), Fa(fo(r, 1, zt, !0), Ki(e));
|
|
100
100
|
}), al = Ui(function(r) {
|
|
101
101
|
var e = si(r);
|
|
102
|
-
return
|
|
102
|
+
return zt(e) && (e = void 0), Sa(ca(r, zt), Ki(e));
|
|
103
103
|
});
|
|
104
104
|
function ll(r, e) {
|
|
105
105
|
for (var t = -1, i = r == null ? 0 : r.length; ++t < i && e(r[t], t, r) !== !1; )
|
|
@@ -382,10 +382,10 @@ let Ee = class extends Pe {
|
|
|
382
382
|
};
|
|
383
383
|
Ee.styles = [$e, Gh];
|
|
384
384
|
Ee.dependencies = {
|
|
385
|
-
"cx-icon":
|
|
385
|
+
"cx-icon": xt,
|
|
386
386
|
"cx-icon-button": oi,
|
|
387
387
|
"cx-line-clamp": Pa,
|
|
388
|
-
"cx-tooltip":
|
|
388
|
+
"cx-tooltip": It
|
|
389
389
|
};
|
|
390
390
|
je([
|
|
391
391
|
pe('[part="config-button"]')
|
|
@@ -440,7 +440,7 @@ var Yh = Object.defineProperty, Qh = Object.getOwnPropertyDescriptor, q = (r, e,
|
|
|
440
440
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
441
441
|
return i && s && Yh(e, t, s), s;
|
|
442
442
|
};
|
|
443
|
-
let
|
|
443
|
+
let $ = class extends Pe {
|
|
444
444
|
constructor() {
|
|
445
445
|
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);
|
|
446
446
|
}
|
|
@@ -785,123 +785,123 @@ let B = class extends Pe {
|
|
|
785
785
|
)}<div style="height: ${40 * (this.filteredItems.length - this.end > 0 ? this.filteredItems.length - this.end : 0)}px"></div></div><div class="board__footer">${r ? x`<div class="board__footer__text">${this.localize.term("selected")}: ${r}</div>` : x`<span></span>`}<div class="board__footer__text">${this.localize.term("total")}: ${this.totalDisplayedCount}</div></div></div>`;
|
|
786
786
|
}
|
|
787
787
|
};
|
|
788
|
-
|
|
789
|
-
|
|
788
|
+
$.styles = [$e, qh];
|
|
789
|
+
$.dependencies = {
|
|
790
790
|
"cx-board-list-item": Ee,
|
|
791
|
-
"cx-icon":
|
|
791
|
+
"cx-icon": xt,
|
|
792
792
|
"cx-icon-button": oi,
|
|
793
793
|
"cx-input": un,
|
|
794
|
-
"cx-tooltip":
|
|
794
|
+
"cx-tooltip": It
|
|
795
795
|
};
|
|
796
796
|
q([
|
|
797
797
|
pe(".board")
|
|
798
|
-
],
|
|
798
|
+
], $.prototype, "board", 2);
|
|
799
799
|
q([
|
|
800
800
|
pe('[part="search-input"]')
|
|
801
|
-
],
|
|
801
|
+
], $.prototype, "searchInput", 2);
|
|
802
802
|
q([
|
|
803
803
|
pe('[part="search-input-clear"]')
|
|
804
|
-
],
|
|
804
|
+
], $.prototype, "searchInputClear", 2);
|
|
805
805
|
q([
|
|
806
806
|
pe('[part="list"]')
|
|
807
|
-
],
|
|
807
|
+
], $.prototype, "list", 2);
|
|
808
808
|
q([
|
|
809
809
|
pe('[part="select-all"]')
|
|
810
|
-
],
|
|
810
|
+
], $.prototype, "selectAllCheckBox", 2);
|
|
811
811
|
q([
|
|
812
812
|
f({ attribute: "title", reflect: !0, type: String })
|
|
813
|
-
],
|
|
813
|
+
], $.prototype, "boardTitle", 2);
|
|
814
814
|
q([
|
|
815
815
|
f({ type: String })
|
|
816
|
-
],
|
|
816
|
+
], $.prototype, "name", 2);
|
|
817
817
|
q([
|
|
818
818
|
f({ attribute: "ignore-types", type: Array })
|
|
819
|
-
],
|
|
819
|
+
], $.prototype, "ignoreTypes", 2);
|
|
820
820
|
q([
|
|
821
821
|
f({ type: Array })
|
|
822
|
-
],
|
|
822
|
+
], $.prototype, "data", 2);
|
|
823
823
|
q([
|
|
824
824
|
f({ reflect: !0, type: Boolean })
|
|
825
|
-
],
|
|
825
|
+
], $.prototype, "sort", 2);
|
|
826
826
|
q([
|
|
827
827
|
f({ reflect: !0, type: Boolean })
|
|
828
|
-
],
|
|
828
|
+
], $.prototype, "group", 2);
|
|
829
829
|
q([
|
|
830
830
|
f({ type: Boolean })
|
|
831
|
-
],
|
|
831
|
+
], $.prototype, "configurable", 2);
|
|
832
832
|
q([
|
|
833
833
|
f({ reflect: !0, type: Boolean })
|
|
834
|
-
],
|
|
834
|
+
], $.prototype, "all", 2);
|
|
835
835
|
q([
|
|
836
836
|
f({ attribute: "allow-search", type: Boolean })
|
|
837
|
-
],
|
|
837
|
+
], $.prototype, "allowSearch", 2);
|
|
838
838
|
q([
|
|
839
839
|
L()
|
|
840
|
-
],
|
|
840
|
+
], $.prototype, "abortDrag", 2);
|
|
841
841
|
q([
|
|
842
842
|
L()
|
|
843
|
-
],
|
|
843
|
+
], $.prototype, "items", 2);
|
|
844
844
|
q([
|
|
845
845
|
L()
|
|
846
|
-
],
|
|
846
|
+
], $.prototype, "_allItems", 2);
|
|
847
847
|
q([
|
|
848
848
|
L()
|
|
849
|
-
],
|
|
849
|
+
], $.prototype, "_filteredItems", 2);
|
|
850
850
|
q([
|
|
851
851
|
L()
|
|
852
|
-
],
|
|
852
|
+
], $.prototype, "_selectedItems", 2);
|
|
853
853
|
q([
|
|
854
854
|
L()
|
|
855
|
-
],
|
|
855
|
+
], $.prototype, "_selectedItemOrder", 2);
|
|
856
856
|
q([
|
|
857
857
|
L()
|
|
858
|
-
],
|
|
858
|
+
], $.prototype, "searchValue", 2);
|
|
859
859
|
q([
|
|
860
860
|
L()
|
|
861
|
-
],
|
|
861
|
+
], $.prototype, "sortable", 2);
|
|
862
862
|
q([
|
|
863
863
|
L()
|
|
864
|
-
],
|
|
864
|
+
], $.prototype, "_totalCount", 2);
|
|
865
865
|
q([
|
|
866
866
|
L()
|
|
867
|
-
],
|
|
867
|
+
], $.prototype, "_totalDisplayedCount", 2);
|
|
868
868
|
q([
|
|
869
869
|
L()
|
|
870
|
-
],
|
|
870
|
+
], $.prototype, "_indexMap", 2);
|
|
871
871
|
q([
|
|
872
872
|
L()
|
|
873
|
-
],
|
|
873
|
+
], $.prototype, "isDragging", 2);
|
|
874
874
|
q([
|
|
875
875
|
L()
|
|
876
|
-
],
|
|
876
|
+
], $.prototype, "start", 2);
|
|
877
877
|
q([
|
|
878
878
|
L()
|
|
879
|
-
],
|
|
879
|
+
], $.prototype, "end", 2);
|
|
880
880
|
q([
|
|
881
881
|
L()
|
|
882
|
-
],
|
|
882
|
+
], $.prototype, "previous", 2);
|
|
883
883
|
q([
|
|
884
884
|
L()
|
|
885
|
-
],
|
|
885
|
+
], $.prototype, "lastSelectedItem", 2);
|
|
886
886
|
q([
|
|
887
887
|
V(["items", "searchValue"], { waitUntilFirstUpdate: !0 })
|
|
888
|
-
],
|
|
888
|
+
], $.prototype, "onSearchValueChanged", 1);
|
|
889
889
|
q([
|
|
890
890
|
V(["data", "group"])
|
|
891
|
-
],
|
|
891
|
+
], $.prototype, "onItemsChanged", 1);
|
|
892
892
|
q([
|
|
893
893
|
pn(200, !0)
|
|
894
|
-
],
|
|
895
|
-
|
|
894
|
+
], $.prototype, "handleShiftSelect", 1);
|
|
895
|
+
$ = q([
|
|
896
896
|
Ie("cx-board")
|
|
897
|
-
],
|
|
897
|
+
], $);
|
|
898
898
|
const Zh = Z`:host{height:100%;display:block}.multi-select{gap:var(--cx-spacing-medium);width:100%;height:100%;display:flex}.multi-select__control{gap:var(--cx-spacing-small);flex-direction:column;align-self:center;display:flex}`, mr = (r, e) => r.group && e.group && r.group !== e.group ? r.group.localeCompare(e.group) : r.text.localeCompare(e.text);
|
|
899
899
|
var ec = Object.defineProperty, tc = Object.getOwnPropertyDescriptor, Xe = (r, e, t, i) => {
|
|
900
900
|
for (var s = i > 1 ? void 0 : i ? tc(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
901
901
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
902
902
|
return i && s && ec(e, t, s), s;
|
|
903
903
|
};
|
|
904
|
-
let
|
|
904
|
+
let De = class extends Pe {
|
|
905
905
|
constructor() {
|
|
906
906
|
super(...arguments), this.localize = new tt(this), this.firstColumnData = {
|
|
907
907
|
id: "",
|
|
@@ -1119,51 +1119,51 @@ let ke = class extends Pe {
|
|
|
1119
1119
|
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=${!r.length}><cx-icon-button class="multi-select__control__move-button" name="arrow_forward_ios" label=${this.localize.term("moveSelectedItemRight")} @click=${this.handleMoveItemsRight} ?disabled=${!r.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>`;
|
|
1120
1120
|
}
|
|
1121
1121
|
};
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
"cx-board":
|
|
1122
|
+
De.styles = [$e, Zh];
|
|
1123
|
+
De.dependencies = {
|
|
1124
|
+
"cx-board": $,
|
|
1125
1125
|
"cx-icon-button": oi,
|
|
1126
|
-
"cx-tooltip":
|
|
1126
|
+
"cx-tooltip": It
|
|
1127
1127
|
};
|
|
1128
1128
|
Xe([
|
|
1129
1129
|
pe(".multi-select")
|
|
1130
|
-
],
|
|
1130
|
+
], De.prototype, "multiSelect", 2);
|
|
1131
1131
|
Xe([
|
|
1132
1132
|
pe('[part~="board-1"]')
|
|
1133
|
-
],
|
|
1133
|
+
], De.prototype, "board1", 2);
|
|
1134
1134
|
Xe([
|
|
1135
1135
|
pe('[part~="board-2"]')
|
|
1136
|
-
],
|
|
1136
|
+
], De.prototype, "board2", 2);
|
|
1137
1137
|
Xe([
|
|
1138
1138
|
f({ attribute: "first-column-data", type: Object })
|
|
1139
|
-
],
|
|
1139
|
+
], De.prototype, "firstColumnData", 2);
|
|
1140
1140
|
Xe([
|
|
1141
1141
|
f({ attribute: "second-column-data", type: Object })
|
|
1142
|
-
],
|
|
1142
|
+
], De.prototype, "secondColumnData", 2);
|
|
1143
1143
|
Xe([
|
|
1144
1144
|
f({ attribute: "configurable", type: Boolean })
|
|
1145
|
-
],
|
|
1145
|
+
], De.prototype, "configurable", 2);
|
|
1146
1146
|
Xe([
|
|
1147
1147
|
f({ attribute: "ignored-types", type: Array })
|
|
1148
|
-
],
|
|
1148
|
+
], De.prototype, "ignoreTypes", 2);
|
|
1149
1149
|
Xe([
|
|
1150
1150
|
f({ attribute: "add-limit", type: Number })
|
|
1151
|
-
],
|
|
1151
|
+
], De.prototype, "addLimit", 2);
|
|
1152
1152
|
Xe([
|
|
1153
1153
|
L()
|
|
1154
|
-
],
|
|
1154
|
+
], De.prototype, "itemMap", 2);
|
|
1155
1155
|
Xe([
|
|
1156
1156
|
L()
|
|
1157
|
-
],
|
|
1157
|
+
], De.prototype, "selectedItems", 2);
|
|
1158
1158
|
Xe([
|
|
1159
1159
|
L()
|
|
1160
|
-
],
|
|
1160
|
+
], De.prototype, "initialSecondColumnItems", 2);
|
|
1161
1161
|
Xe([
|
|
1162
1162
|
V("secondColumnData")
|
|
1163
|
-
],
|
|
1164
|
-
|
|
1163
|
+
], De.prototype, "onSecondColumnDataChange", 1);
|
|
1164
|
+
De = Xe([
|
|
1165
1165
|
Ie("cx-multi-select")
|
|
1166
|
-
],
|
|
1166
|
+
], De);
|
|
1167
1167
|
var jt = /* @__PURE__ */ ((r) => (r.Available = "available", r.Visible = "visible", r))(jt || {});
|
|
1168
1168
|
const ic = Z`: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}`;
|
|
1169
1169
|
var sc = Object.defineProperty, oc = Object.getOwnPropertyDescriptor, Ht = (r, e, t, i) => {
|
|
@@ -1239,7 +1239,7 @@ Ze.styles = [$e, ic];
|
|
|
1239
1239
|
Ze.dependencies = {
|
|
1240
1240
|
"cx-button": Et,
|
|
1241
1241
|
"cx-dialog": ta,
|
|
1242
|
-
"cx-multi-select":
|
|
1242
|
+
"cx-multi-select": De
|
|
1243
1243
|
};
|
|
1244
1244
|
Ht([
|
|
1245
1245
|
pe("cx-dialog")
|
|
@@ -1265,7 +1265,7 @@ Ht([
|
|
|
1265
1265
|
Ze = Ht([
|
|
1266
1266
|
Ie("cx-table-column-editor")
|
|
1267
1267
|
], Ze);
|
|
1268
|
-
var us = /* @__PURE__ */ ((r) => (r.Search = "search-keyword", r))(us || {}), Xi = /* @__PURE__ */ ((r) => (r.BottomCenter = "bottom-center", r.BottomEnd = "bottom-end", r.BottomStart = "bottom-start", r.TopCenter = "top-center", r.TopEnd = "top-end", r.TopStart = "top-start", r))(Xi || {}), vt = /* @__PURE__ */ ((r) => (r.Bottom = "bottom", r.Center = "center", r.Nearest = "nearest", r.Top = "top", r))(vt || {}), Ue = /* @__PURE__ */ ((r) => (r.All = "all", r.Cell = "cell", r.Column = "column", r.Row = "row", r))(Ue || {}), pi = /* @__PURE__ */ ((r) => (r.Both = "both", r.Copy = "copy", r.Paste = "paste", r))(pi || {}), ze = /* @__PURE__ */ ((r) => (r.Auto = "auto", r.Csv = "csv", r.Json = "json", r.Xml = "xml", r))(ze || {}), Ci = /* @__PURE__ */ ((r) => (r.EditColumns = "edit-columns", r.HideColumn = "hide-column", r))(Ci || {}), Wt = /* @__PURE__ */ ((r) => (r.Left = "left", r.Right = "right", r))(Wt || {}), pt = /* @__PURE__ */ ((r) => (r.Local = "local", r.Remote = "remote", r))(pt || {}),
|
|
1268
|
+
var us = /* @__PURE__ */ ((r) => (r.Search = "search-keyword", r))(us || {}), Xi = /* @__PURE__ */ ((r) => (r.BottomCenter = "bottom-center", r.BottomEnd = "bottom-end", r.BottomStart = "bottom-start", r.TopCenter = "top-center", r.TopEnd = "top-end", r.TopStart = "top-start", r))(Xi || {}), vt = /* @__PURE__ */ ((r) => (r.Bottom = "bottom", r.Center = "center", r.Nearest = "nearest", r.Top = "top", r))(vt || {}), Ue = /* @__PURE__ */ ((r) => (r.All = "all", r.Cell = "cell", r.Column = "column", r.Row = "row", r))(Ue || {}), pi = /* @__PURE__ */ ((r) => (r.Both = "both", r.Copy = "copy", r.Paste = "paste", r))(pi || {}), ze = /* @__PURE__ */ ((r) => (r.Auto = "auto", r.Csv = "csv", r.Json = "json", r.Xml = "xml", r))(ze || {}), Ci = /* @__PURE__ */ ((r) => (r.EditColumns = "edit-columns", r.HideColumn = "hide-column", r))(Ci || {}), Wt = /* @__PURE__ */ ((r) => (r.Left = "left", r.Right = "right", r))(Wt || {}), pt = /* @__PURE__ */ ((r) => (r.Local = "local", r.Remote = "remote", r))(pt || {}), Se = /* @__PURE__ */ ((r) => (r.Asc = "asc", r.Desc = "desc", r.None = "none", r))(Se || {}), Ke = /* @__PURE__ */ ((r) => (r.Ends = "ends", r.Equal = "=", r.GreaterOrEqual = ">=", r.GreaterThan = ">", r.In = "in", r.Keywords = "keywords", r.LessOrEqual = "<=", r.LessThan = "<", r.Like = "like", r.NotEqual = "!=", r.Regex = "regex", r.Starts = "starts", r))(Ke || {});
|
|
1269
1269
|
const ps = 36;
|
|
1270
1270
|
var fi = /* @__PURE__ */ ((r) => (r.IsoDate = "iso-date", r.IsoDateTime = "iso-datetime", r.Timestamp = "timestamp", r))(fi || {});
|
|
1271
1271
|
const rc = Z`: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}`;
|
|
@@ -1341,7 +1341,7 @@ let et = class extends Pe {
|
|
|
1341
1341
|
};
|
|
1342
1342
|
et.styles = [$e, lc];
|
|
1343
1343
|
et.dependencies = {
|
|
1344
|
-
"cx-icon":
|
|
1344
|
+
"cx-icon": xt,
|
|
1345
1345
|
"cx-menu": ri,
|
|
1346
1346
|
"cx-menu-item": ni,
|
|
1347
1347
|
"cx-popup": Ha
|
|
@@ -1431,11 +1431,11 @@ let mt = class extends Pe {
|
|
|
1431
1431
|
mt.dependencies = {
|
|
1432
1432
|
"cx-button": Et,
|
|
1433
1433
|
"cx-dropdown": ai,
|
|
1434
|
-
"cx-icon":
|
|
1434
|
+
"cx-icon": xt,
|
|
1435
1435
|
"cx-menu": ri,
|
|
1436
1436
|
"cx-menu-item": ni,
|
|
1437
1437
|
"cx-menu-section": Va,
|
|
1438
|
-
"cx-tooltip":
|
|
1438
|
+
"cx-tooltip": It
|
|
1439
1439
|
};
|
|
1440
1440
|
qt([
|
|
1441
1441
|
f({
|
|
@@ -1469,7 +1469,7 @@ var fc = Object.defineProperty, mc = Object.getOwnPropertyDescriptor, Ji = (r, e
|
|
|
1469
1469
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
1470
1470
|
return i && s && fc(e, t, s), s;
|
|
1471
1471
|
};
|
|
1472
|
-
let
|
|
1472
|
+
let At = class extends Pe {
|
|
1473
1473
|
constructor() {
|
|
1474
1474
|
super(...arguments), this.actions = [];
|
|
1475
1475
|
}
|
|
@@ -1506,30 +1506,30 @@ let Ot = class extends Pe {
|
|
|
1506
1506
|
)}</cx-space>`;
|
|
1507
1507
|
}
|
|
1508
1508
|
};
|
|
1509
|
-
|
|
1510
|
-
|
|
1509
|
+
At.styles = [$e, dc];
|
|
1510
|
+
At.dependencies = {
|
|
1511
1511
|
"cx-button": Et,
|
|
1512
|
-
"cx-icon":
|
|
1512
|
+
"cx-icon": xt,
|
|
1513
1513
|
"cx-space": Ri,
|
|
1514
1514
|
"cx-table-row-actions-dropdown": mt,
|
|
1515
|
-
"cx-tooltip":
|
|
1515
|
+
"cx-tooltip": It
|
|
1516
1516
|
};
|
|
1517
1517
|
Ji([
|
|
1518
1518
|
f({ type: Array })
|
|
1519
|
-
],
|
|
1519
|
+
], At.prototype, "actions", 2);
|
|
1520
1520
|
Ji([
|
|
1521
1521
|
f({
|
|
1522
1522
|
type: Object
|
|
1523
1523
|
})
|
|
1524
|
-
],
|
|
1524
|
+
], At.prototype, "row", 2);
|
|
1525
1525
|
Ji([
|
|
1526
1526
|
f({
|
|
1527
1527
|
type: Object
|
|
1528
1528
|
})
|
|
1529
|
-
],
|
|
1530
|
-
|
|
1529
|
+
], At.prototype, "cell", 2);
|
|
1530
|
+
At = Ji([
|
|
1531
1531
|
Ie("cx-table-row-actions")
|
|
1532
|
-
],
|
|
1532
|
+
], At);
|
|
1533
1533
|
var gc = Object.defineProperty, bc = Object.getOwnPropertyDescriptor, Ti = (r, e, t, i) => {
|
|
1534
1534
|
for (var s = i > 1 ? void 0 : i ? bc(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
1535
1535
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
@@ -1616,7 +1616,7 @@ var wc = Object.defineProperty, vc = Object.getOwnPropertyDescriptor, Yi = (r, e
|
|
|
1616
1616
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
1617
1617
|
return i && s && wc(e, t, s), s;
|
|
1618
1618
|
};
|
|
1619
|
-
let
|
|
1619
|
+
let Pt = class extends Pe {
|
|
1620
1620
|
constructor() {
|
|
1621
1621
|
super(...arguments), this.localize = new tt(this), this.groupByOptionIdSet = /* @__PURE__ */ new Set(), this.groupByOptions = [], this.groupByValue = "";
|
|
1622
1622
|
}
|
|
@@ -1673,8 +1673,8 @@ let At = class extends Pe {
|
|
|
1673
1673
|
)}</cx-menu></cx-dropdown>`;
|
|
1674
1674
|
}
|
|
1675
1675
|
};
|
|
1676
|
-
|
|
1677
|
-
|
|
1676
|
+
Pt.styles = [$e];
|
|
1677
|
+
Pt.dependencies = {
|
|
1678
1678
|
"cx-button": Et,
|
|
1679
1679
|
"cx-dropdown": ai,
|
|
1680
1680
|
"cx-menu": ri,
|
|
@@ -1682,16 +1682,16 @@ At.dependencies = {
|
|
|
1682
1682
|
};
|
|
1683
1683
|
Yi([
|
|
1684
1684
|
V("groupByOptions")
|
|
1685
|
-
],
|
|
1685
|
+
], Pt.prototype, "handleGroupByOptionsChange", 1);
|
|
1686
1686
|
Yi([
|
|
1687
1687
|
f({ attribute: !1, type: Array })
|
|
1688
|
-
],
|
|
1688
|
+
], Pt.prototype, "groupByOptions", 2);
|
|
1689
1689
|
Yi([
|
|
1690
1690
|
f({ attribute: "group-by-value", type: String })
|
|
1691
|
-
],
|
|
1692
|
-
|
|
1691
|
+
], Pt.prototype, "groupByValue", 2);
|
|
1692
|
+
Pt = Yi([
|
|
1693
1693
|
Ie("cx-table-group-by-dropdown")
|
|
1694
|
-
],
|
|
1694
|
+
], Pt);
|
|
1695
1695
|
var yc = Object.defineProperty, Cc = Object.getOwnPropertyDescriptor, gt = (r, e, t, i) => {
|
|
1696
1696
|
for (var s = i > 1 ? void 0 : i ? Cc(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
1697
1697
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
@@ -1769,7 +1769,7 @@ Be.styles = [$e];
|
|
|
1769
1769
|
Be.dependencies = {
|
|
1770
1770
|
"cx-button": Et,
|
|
1771
1771
|
"cx-dropdown": ai,
|
|
1772
|
-
"cx-icon":
|
|
1772
|
+
"cx-icon": xt,
|
|
1773
1773
|
"cx-menu": ri,
|
|
1774
1774
|
"cx-menu-item": ni
|
|
1775
1775
|
};
|
|
@@ -1957,7 +1957,7 @@ Q.dependencies = {
|
|
|
1957
1957
|
"cx-button": Et,
|
|
1958
1958
|
"cx-checkbox": fn,
|
|
1959
1959
|
"cx-dropdown": ai,
|
|
1960
|
-
"cx-icon":
|
|
1960
|
+
"cx-icon": xt,
|
|
1961
1961
|
"cx-icon-button": oi,
|
|
1962
1962
|
"cx-input": un,
|
|
1963
1963
|
"cx-menu": ri,
|
|
@@ -1965,9 +1965,9 @@ Q.dependencies = {
|
|
|
1965
1965
|
"cx-pagination": $a,
|
|
1966
1966
|
"cx-space": Ri,
|
|
1967
1967
|
"cx-table-dropdown-filter": Ct,
|
|
1968
|
-
"cx-table-group-by-dropdown":
|
|
1968
|
+
"cx-table-group-by-dropdown": Pt,
|
|
1969
1969
|
"cx-table-saved-search-dropdown": Be,
|
|
1970
|
-
"cx-tooltip":
|
|
1970
|
+
"cx-tooltip": It,
|
|
1971
1971
|
"cx-typography": on
|
|
1972
1972
|
};
|
|
1973
1973
|
ie([
|
|
@@ -2087,7 +2087,7 @@ ie([
|
|
|
2087
2087
|
Q = ie([
|
|
2088
2088
|
Ie("cx-table-toolbar")
|
|
2089
2089
|
], Q);
|
|
2090
|
-
class
|
|
2090
|
+
class Me {
|
|
2091
2091
|
constructor(e) {
|
|
2092
2092
|
this.table = e;
|
|
2093
2093
|
}
|
|
@@ -2232,7 +2232,7 @@ class Y {
|
|
|
2232
2232
|
}
|
|
2233
2233
|
}
|
|
2234
2234
|
const gr = process.env.NODE_ENV === "development";
|
|
2235
|
-
let Sc = class Mn extends
|
|
2235
|
+
let Sc = class Mn extends Me {
|
|
2236
2236
|
constructor(e, t, i = null) {
|
|
2237
2237
|
super(e), this.reversedX = !1, this.childPopup = null, this.blurable = !1, this.blurCallback = null, this.blurEventsBound = !1, this.renderedCallback = null, this.visible = !1, this.hideable = !0, this.destroyed = !1, this.element = t, this.container = this._lookupContainer(), this.parent = i, this.element.classList.add("tabulator-popup-container"), this.blurEvent = this.hide.bind(this, !1), this.escEvent = this._escapeCheck.bind(this), this.destroyBinding = this.tableDestroyed.bind(this);
|
|
2238
2238
|
}
|
|
@@ -2359,7 +2359,7 @@ let Sc = class Mn extends De {
|
|
|
2359
2359
|
}
|
|
2360
2360
|
};
|
|
2361
2361
|
const Tc = process.env.NODE_ENV === "development";
|
|
2362
|
-
class I extends
|
|
2362
|
+
class I extends Me {
|
|
2363
2363
|
constructor(e) {
|
|
2364
2364
|
super(e);
|
|
2365
2365
|
}
|
|
@@ -2602,7 +2602,7 @@ const Lc = x`<cx-table-row-actions></cx-table-row-actions>`, Zt = class Zt exten
|
|
|
2602
2602
|
i && i.classList.remove("tabulator-hover-menu--active");
|
|
2603
2603
|
}
|
|
2604
2604
|
createCxTableRowActions() {
|
|
2605
|
-
const e =
|
|
2605
|
+
const e = B(Lc);
|
|
2606
2606
|
return e.classList.add("tabulator-hover-menu"), e;
|
|
2607
2607
|
}
|
|
2608
2608
|
layoutRow(e) {
|
|
@@ -3106,7 +3106,7 @@ class Cs {
|
|
|
3106
3106
|
}
|
|
3107
3107
|
}
|
|
3108
3108
|
const Nc = process.env.NODE_ENV === "development";
|
|
3109
|
-
class Qi extends
|
|
3109
|
+
class Qi extends Me {
|
|
3110
3110
|
// used by row manager to determine how to size the render area ("fit" - fits container to the contents, "fill" - fills the container without resizing it)
|
|
3111
3111
|
constructor(e) {
|
|
3112
3112
|
super(e), this.elementVertical = e.rowManager?.element, this.elementHorizontal = e.columnManager?.element, this.tableElement = e.rowManager?.tableElement, this.verticalFillMode = "fit";
|
|
@@ -3259,7 +3259,7 @@ function vr(r) {
|
|
|
3259
3259
|
const e = globalThis.clipboardData, t = r;
|
|
3260
3260
|
return e ?? r.clipboardData ?? t.originalEvent?.clipboardData ?? void 0;
|
|
3261
3261
|
}
|
|
3262
|
-
const
|
|
3262
|
+
const kt = class kt extends I {
|
|
3263
3263
|
// block copy actions not originating from this command
|
|
3264
3264
|
handleCopyEvent(e) {
|
|
3265
3265
|
let t, i, s;
|
|
@@ -3321,7 +3321,7 @@ const Tt = class Tt extends I {
|
|
|
3321
3321
|
setPasteAction(e) {
|
|
3322
3322
|
switch (typeof e) {
|
|
3323
3323
|
case "string": {
|
|
3324
|
-
const t =
|
|
3324
|
+
const t = kt.pasteActions[e];
|
|
3325
3325
|
t ? this.pasteAction = t : wr && console.warn("Clipboard Error - No such paste action found:", e);
|
|
3326
3326
|
break;
|
|
3327
3327
|
}
|
|
@@ -3333,7 +3333,7 @@ const Tt = class Tt extends I {
|
|
|
3333
3333
|
setPasteParser(e) {
|
|
3334
3334
|
switch (typeof e) {
|
|
3335
3335
|
case "string": {
|
|
3336
|
-
const t =
|
|
3336
|
+
const t = kt.pasteParsers[e];
|
|
3337
3337
|
t ? this.pasteParser = t : wr && console.warn("Clipboard Error - No such paste parser found:", e);
|
|
3338
3338
|
break;
|
|
3339
3339
|
}
|
|
@@ -3370,8 +3370,8 @@ const Tt = class Tt extends I {
|
|
|
3370
3370
|
return i?.getData && (t = i.getData("text/plain")), t;
|
|
3371
3371
|
}
|
|
3372
3372
|
};
|
|
3373
|
-
|
|
3374
|
-
let Es =
|
|
3373
|
+
kt.moduleName = "clipboard", kt.moduleExtensions = Wc, kt.pasteActions = Vc, kt.pasteParsers = Bc;
|
|
3374
|
+
let Es = kt;
|
|
3375
3375
|
class xo {
|
|
3376
3376
|
constructor(e) {
|
|
3377
3377
|
return this._cell = e, new Proxy(this, {
|
|
@@ -3437,7 +3437,7 @@ class xo {
|
|
|
3437
3437
|
}
|
|
3438
3438
|
}
|
|
3439
3439
|
const Gc = x`<div class="tabulator-cell"></div>`, Uc = process.env.NODE_ENV === "development";
|
|
3440
|
-
class ki extends
|
|
3440
|
+
class ki extends Me {
|
|
3441
3441
|
constructor(e, t) {
|
|
3442
3442
|
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();
|
|
3443
3443
|
}
|
|
@@ -3449,7 +3449,7 @@ class ki extends De {
|
|
|
3449
3449
|
this.generateElement(), this.setWidth(), this._configureCell(), this.setValueActual(this.column.getFieldValue(this.row.data)), this.initialValue = this.value;
|
|
3450
3450
|
}
|
|
3451
3451
|
generateElement() {
|
|
3452
|
-
if (this.element =
|
|
3452
|
+
if (this.element = B(Gc), this.element.setAttribute(
|
|
3453
3453
|
"role",
|
|
3454
3454
|
this.table.options.cellRole ?? "gridcell"
|
|
3455
3455
|
), this.column.modules.format?.cellClass) {
|
|
@@ -3612,10 +3612,10 @@ const On = {
|
|
|
3612
3612
|
variableHeight: void 0,
|
|
3613
3613
|
vertAlign: void 0,
|
|
3614
3614
|
width: void 0
|
|
3615
|
-
}, Vt = process.env.NODE_ENV === "development",
|
|
3615
|
+
}, Vt = process.env.NODE_ENV === "development", Te = class Te extends Me {
|
|
3616
3616
|
constructor(e, t, i) {
|
|
3617
3617
|
super(t.table), this.definition = e, this.parent = t, this.type = "column", this.columns = [], this.cells = [], this.isGroup = !1, this.isRowHeader = i ?? !1, this.element = this.createElement(), this.contentElement = !1, this.titleHolderElement = !1, this.titleElement = !1, this.groupElement = this.createGroupElement(), this.hozAlign = "", this.vertAlign = "", this.field = !1, this.fieldStructure = [], this.getFieldValue = this._getFlatData, this.setFieldValue = this._setFlatData, this.titleDownload = null, this.titleFormatterRendered = !1, this.mapDefinitions(), this.setField(this.definition.field), this.modules = {}, this.width = null, this.widthStyled = "", this.maxWidth = null, this.maxWidthStyled = "", this.maxInitialWidth = null, this.minWidth = null, this.minWidthStyled = "", this.widthFixed = !1, this.hidden = !1, this.component = null, this.definition.columns ? (this.isGroup = !0, this.definition.columns.forEach((s) => {
|
|
3618
|
-
const o = new
|
|
3618
|
+
const o = new Te(s, this);
|
|
3619
3619
|
this.attachColumn(o);
|
|
3620
3620
|
}), this.checkColumnVisibility()) : t.registerColumnField(this), this._initialize();
|
|
3621
3621
|
}
|
|
@@ -3644,13 +3644,13 @@ const On = {
|
|
|
3644
3644
|
for (const t in e)
|
|
3645
3645
|
Object.hasOwn(e, t) && (this.definition[t] === void 0 || this.definition[t] === null) && (this.definition[t] = e[t]);
|
|
3646
3646
|
this.definition = this.table.columnManager?.optionsList.generate(
|
|
3647
|
-
|
|
3647
|
+
Te.defaultOptionList,
|
|
3648
3648
|
this.definition
|
|
3649
3649
|
);
|
|
3650
3650
|
}
|
|
3651
3651
|
checkDefinition() {
|
|
3652
3652
|
Object.keys(this.definition).forEach((e) => {
|
|
3653
|
-
Vt && !(e in
|
|
3653
|
+
Vt && !(e in Te.defaultOptionList) && console.warn(
|
|
3654
3654
|
`Invalid column definition option in '${this.field || this.definition.title}' column: ${e}`
|
|
3655
3655
|
);
|
|
3656
3656
|
});
|
|
@@ -3820,7 +3820,7 @@ const On = {
|
|
|
3820
3820
|
if (!this.element)
|
|
3821
3821
|
return;
|
|
3822
3822
|
let i;
|
|
3823
|
-
if (this.parent instanceof
|
|
3823
|
+
if (this.parent instanceof Te && this.parent.isGroup)
|
|
3824
3824
|
i = this.parent.getGroupElement().clientHeight;
|
|
3825
3825
|
else if ("getHeadersElement" in this.parent) {
|
|
3826
3826
|
const s = this.parent.getHeadersElement();
|
|
@@ -3907,29 +3907,29 @@ const On = {
|
|
|
3907
3907
|
}
|
|
3908
3908
|
// show column
|
|
3909
3909
|
async show(e, t) {
|
|
3910
|
-
this.hidden && (this.hidden = !1, this.element && (this.element.style.display = ""), this.parent instanceof
|
|
3910
|
+
this.hidden && (this.hidden = !1, this.element && (this.element.style.display = ""), this.parent instanceof Te && this.parent.isGroup && await this.parent.checkColumnVisibility(), this.cells.forEach((i) => {
|
|
3911
3911
|
i.show();
|
|
3912
3912
|
}), !this.isGroup && this.width === null && await this.reinitializeWidth(), this.table.columnManager?.verticalAlignHeaders(), this.dispatch("column-show", this, t), e || this.dispatchExternal(
|
|
3913
3913
|
"columnVisibilityChanged",
|
|
3914
3914
|
this.getComponent(),
|
|
3915
3915
|
!0
|
|
3916
|
-
), this.parent instanceof
|
|
3916
|
+
), this.parent instanceof Te && this.parent.isGroup && this.parent.matchChildWidths(), this.silent || (this.layoutMode() === "fitColumns" ? this.table.columnManager?.refreshVisibilityLayout() : this.table.columnManager?.rerenderColumns()));
|
|
3917
3917
|
}
|
|
3918
3918
|
// hide column
|
|
3919
3919
|
hide(e, t) {
|
|
3920
|
-
this.hidden || (this.hidden = !0, this.element && (this.element.style.display = "none"), this.table.columnManager?.verticalAlignHeaders(), this.parent instanceof
|
|
3920
|
+
this.hidden || (this.hidden = !0, this.element && (this.element.style.display = "none"), this.table.columnManager?.verticalAlignHeaders(), this.parent instanceof Te && this.parent.isGroup && this.parent.checkColumnVisibility(), this.cells.forEach((i) => {
|
|
3921
3921
|
i.hide();
|
|
3922
3922
|
}), this.dispatch("column-hide", this, t), e || this.dispatchExternal(
|
|
3923
3923
|
"columnVisibilityChanged",
|
|
3924
3924
|
this.getComponent(),
|
|
3925
3925
|
!1
|
|
3926
|
-
), this.parent instanceof
|
|
3926
|
+
), this.parent instanceof Te && this.parent.isGroup && this.parent.matchChildWidths(), this.silent || (this.layoutMode() === "fitColumns" ? this.table.columnManager?.refreshVisibilityLayout() : this.table.columnManager?.rerenderColumns()));
|
|
3927
3927
|
}
|
|
3928
3928
|
matchChildWidths() {
|
|
3929
3929
|
let e = 0;
|
|
3930
3930
|
this.contentElement && this.columns.length && (this.columns.forEach((t) => {
|
|
3931
3931
|
t.hidden || (e += t.getWidth());
|
|
3932
|
-
}), this.contentElement.style.maxWidth = e - 1 + "px", this.table.initialized && this.element && (this.element.style.width = e + "px"), this.parent instanceof
|
|
3932
|
+
}), this.contentElement.style.maxWidth = e - 1 + "px", this.table.initialized && this.element && (this.element.style.width = e + "px"), this.parent instanceof Te && this.parent.isGroup && this.parent.matchChildWidths());
|
|
3933
3933
|
}
|
|
3934
3934
|
removeChild(e) {
|
|
3935
3935
|
const t = this.columns.indexOf(e);
|
|
@@ -3944,7 +3944,7 @@ const On = {
|
|
|
3944
3944
|
this.table.element.clientWidth / 100 * parseInt(e, 10)
|
|
3945
3945
|
) : t = Number(e) : t = e, this.minWidth !== null && (t = Math.max(this.minWidth, t)), this.maxWidth && (t = Math.min(this.maxWidth, t)), this.width = t, this.widthStyled = t ? t + "px" : "", this.element && (this.element.style.width = this.widthStyled), this.isGroup || this.cells.forEach((i) => {
|
|
3946
3946
|
i.setWidth();
|
|
3947
|
-
}), this.parent instanceof
|
|
3947
|
+
}), this.parent instanceof Te && this.parent.isGroup && this.parent.matchChildWidths(), this.dispatch("column-width", this), this.subscribedExternal("columnWidth") && this.dispatchExternal("columnWidth", this.getComponent());
|
|
3948
3948
|
}
|
|
3949
3949
|
checkCellHeights() {
|
|
3950
3950
|
const e = [];
|
|
@@ -3966,7 +3966,7 @@ const On = {
|
|
|
3966
3966
|
if (!this.element)
|
|
3967
3967
|
return 0;
|
|
3968
3968
|
let e = this.element.offsetLeft;
|
|
3969
|
-
return this.parent instanceof
|
|
3969
|
+
return this.parent instanceof Te && this.parent.isGroup && (e += this.parent.getLeftOffset()), e;
|
|
3970
3970
|
}
|
|
3971
3971
|
getHeight() {
|
|
3972
3972
|
return this.element ? Math.ceil(this.element.getBoundingClientRect().height) : 0;
|
|
@@ -4001,7 +4001,7 @@ const On = {
|
|
|
4001
4001
|
const t = this.cells.length;
|
|
4002
4002
|
for (let i = 0; i < t; i++)
|
|
4003
4003
|
this.cells[0].delete();
|
|
4004
|
-
this.element && this.element.parentNode && this.element.parentNode.removeChild(this.element), this.element = !1, this.contentElement = !1, this.titleElement = !1, this.groupElement = !1, this.parent instanceof
|
|
4004
|
+
this.element && this.element.parentNode && this.element.parentNode.removeChild(this.element), this.element = !1, this.contentElement = !1, this.titleElement = !1, this.groupElement = !1, this.parent instanceof Te && this.parent.isGroup && this.parent.removeChild(this), this.table.columnManager?.deregisterColumn(this), this.table.columnManager?.rerenderColumns(!0), this.dispatch("column-deleted", this), e();
|
|
4005
4005
|
});
|
|
4006
4006
|
}
|
|
4007
4007
|
columnRendered() {
|
|
@@ -4066,7 +4066,7 @@ const On = {
|
|
|
4066
4066
|
), Promise.reject(
|
|
4067
4067
|
"Column Update Error - The updateDefinition function is only available on columns, not column groups"
|
|
4068
4068
|
);
|
|
4069
|
-
if (!(this.parent instanceof
|
|
4069
|
+
if (!(this.parent instanceof Te) || !this.parent.isGroup) {
|
|
4070
4070
|
const t = { ...this.getDefinition() }, i = Object.assign(t, e);
|
|
4071
4071
|
return this.table.columnManager ? this.table.columnManager.addColumn(i, !1, this).then((s) => (i.field == this.field && (this.field = !1), this.delete().then(() => s.getComponent()))) : Promise.reject("ColumnManager not available");
|
|
4072
4072
|
} else
|
|
@@ -4090,11 +4090,11 @@ const On = {
|
|
|
4090
4090
|
return (this.table.columnManager?.getVisibleColumnsByIndex().indexOf(this) ?? -1) + 1;
|
|
4091
4091
|
}
|
|
4092
4092
|
getParentComponent() {
|
|
4093
|
-
return this.parent instanceof
|
|
4093
|
+
return this.parent instanceof Te ? this.parent.getComponent() : !1;
|
|
4094
4094
|
}
|
|
4095
4095
|
};
|
|
4096
|
-
|
|
4097
|
-
let Ve =
|
|
4096
|
+
Te.defaultOptionList = On;
|
|
4097
|
+
let Ve = Te;
|
|
4098
4098
|
class Ro {
|
|
4099
4099
|
constructor(e) {
|
|
4100
4100
|
return this._row = e, new Proxy(this, {
|
|
@@ -4170,7 +4170,7 @@ class Ro {
|
|
|
4170
4170
|
}
|
|
4171
4171
|
}
|
|
4172
4172
|
const yr = process.env.NODE_ENV === "development";
|
|
4173
|
-
class
|
|
4173
|
+
class ke extends Me {
|
|
4174
4174
|
constructor(e, t, i = "row") {
|
|
4175
4175
|
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);
|
|
4176
4176
|
}
|
|
@@ -4479,7 +4479,7 @@ const qc = {
|
|
|
4479
4479
|
unique: function(r, e, t) {
|
|
4480
4480
|
return r.filter((s, o) => !(s == null || typeof s == "string" && s.trim() === "") && r.indexOf(s) === o).length;
|
|
4481
4481
|
}
|
|
4482
|
-
}, Cr = process.env.NODE_ENV === "development",
|
|
4482
|
+
}, Cr = process.env.NODE_ENV === "development", Dt = class Dt extends I {
|
|
4483
4483
|
constructor(e) {
|
|
4484
4484
|
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");
|
|
4485
4485
|
}
|
|
@@ -4541,7 +4541,7 @@ const qc = {
|
|
|
4541
4541
|
if (t.topCalc) {
|
|
4542
4542
|
switch (typeof t.topCalc) {
|
|
4543
4543
|
case "string":
|
|
4544
|
-
|
|
4544
|
+
Dt.calculations[t.topCalc] ? i.topCalc = Dt.calculations[t.topCalc] : Cr && console.warn(
|
|
4545
4545
|
"Column Calc Error - No such calculation found, ignoring: ",
|
|
4546
4546
|
t.topCalc
|
|
4547
4547
|
);
|
|
@@ -4555,7 +4555,7 @@ const qc = {
|
|
|
4555
4555
|
if (t.bottomCalc) {
|
|
4556
4556
|
switch (typeof t.bottomCalc) {
|
|
4557
4557
|
case "string":
|
|
4558
|
-
|
|
4558
|
+
Dt.calculations[t.bottomCalc] ? i.botCalc = Dt.calculations[t.bottomCalc] : Cr && console.warn(
|
|
4559
4559
|
"Column Calc Error - No such calculation found, ignoring: ",
|
|
4560
4560
|
t.bottomCalc
|
|
4561
4561
|
);
|
|
@@ -4646,7 +4646,7 @@ const qc = {
|
|
|
4646
4646
|
generateRow(e, t) {
|
|
4647
4647
|
const i = this.generateRowData(e, t);
|
|
4648
4648
|
this.table.modExists("mutator") && this.table.modules.mutator?.disable();
|
|
4649
|
-
const s = new
|
|
4649
|
+
const s = new ke(i, this, "calc");
|
|
4650
4650
|
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 Kc(s)), s.component), s.generateCells = () => {
|
|
4651
4651
|
const o = [];
|
|
4652
4652
|
this.table.columnManager?.columnsByIndex.forEach((n) => {
|
|
@@ -4719,9 +4719,9 @@ const qc = {
|
|
|
4719
4719
|
this.botRow && (this.table.rtl ? this.botElement.style.paddingLeft = e + "px" : this.botElement.style.paddingRight = e + "px");
|
|
4720
4720
|
}
|
|
4721
4721
|
};
|
|
4722
|
-
|
|
4723
|
-
let xs =
|
|
4724
|
-
class Rs extends
|
|
4722
|
+
Dt.moduleName = "columnCalcs", Dt.calculations = qc;
|
|
4723
|
+
let xs = Dt;
|
|
4724
|
+
class Rs extends ke {
|
|
4725
4725
|
constructor(e = {}, t) {
|
|
4726
4726
|
super(e, t), this.type = "placeholder", this.height = 0, this.outerHeight = 0, this.initialized = !1, this.modules = {}, this.cells = [];
|
|
4727
4727
|
}
|
|
@@ -4810,7 +4810,7 @@ const Xc = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
|
|
|
4810
4810
|
const t = this.table.options;
|
|
4811
4811
|
switch (this.field = t.dataTreeChildField || "_children", this.indent = t.dataTreeChildIndent || 9, this.loadingField = t.dataTreeLoadingField || "loading", this.hasMoreField = t.dataTreeHasMoreField || "hasMore", this.options("movableRows") && id && console.warn(
|
|
4812
4812
|
"The movableRows option is not available with dataTree enabled, moving of child rows could result in unpredictable behavior"
|
|
4813
|
-
), t.dataTreeBranchElement ? t.dataTreeBranchElement === !0 ? this.branchEl =
|
|
4813
|
+
), t.dataTreeBranchElement ? t.dataTreeBranchElement === !0 ? this.branchEl = B(Qc) : typeof t.dataTreeBranchElement == "string" ? (e = document.createElement("div"), e.innerHTML = P(t.dataTreeBranchElement), this.branchEl = e.firstChild) : this.branchEl = t.dataTreeBranchElement : this.branchEl = B(Zc), t.dataTreeCollapseElement ? typeof t.dataTreeCollapseElement == "string" ? (e = document.createElement("div"), e.innerHTML = P(t.dataTreeCollapseElement), this.collapseEl = e.firstChild) : this.collapseEl = t.dataTreeCollapseElement : this.collapseEl = B(Xc), t.dataTreeExpandElement ? typeof t.dataTreeExpandElement == "string" ? (e = document.createElement("div"), e.innerHTML = P(t.dataTreeExpandElement), this.expandEl = e.firstChild) : this.expandEl = t.dataTreeExpandElement : this.expandEl = B(Jc), typeof t.dataTreeStartExpanded) {
|
|
4814
4814
|
case "boolean":
|
|
4815
4815
|
this.startOpen = function() {
|
|
4816
4816
|
return t.dataTreeStartExpanded;
|
|
@@ -4910,7 +4910,7 @@ const Xc = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
|
|
|
4910
4910
|
n.stopPropagation();
|
|
4911
4911
|
});
|
|
4912
4912
|
} else
|
|
4913
|
-
o =
|
|
4913
|
+
o = B(Yc);
|
|
4914
4914
|
o.style.setProperty("margin-inline-end", `${this.indent}px`), o.style.setProperty("margin-inline-start", "0px"), e.modules.dataTree.controlEl = o, s && s.parentNode === t ? s.parentNode.replaceChild(o, s) : t.insertBefore(o, t.firstChild);
|
|
4915
4915
|
}
|
|
4916
4916
|
}
|
|
@@ -4918,7 +4918,7 @@ const Xc = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
|
|
|
4918
4918
|
const t = [];
|
|
4919
4919
|
return e.forEach((i) => {
|
|
4920
4920
|
let s, o;
|
|
4921
|
-
t.push(i), i instanceof
|
|
4921
|
+
t.push(i), i instanceof ke && (i.create(), s = i.modules.dataTree, !s.index && s.children !== !1 && (o = this.getChildren(i, !1, !0), o.forEach((n) => {
|
|
4922
4922
|
n.create(), t.push(n);
|
|
4923
4923
|
})));
|
|
4924
4924
|
}), t;
|
|
@@ -4941,7 +4941,7 @@ const Xc = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
|
|
|
4941
4941
|
Array.isArray(i) || (i = i ? [i] : []);
|
|
4942
4942
|
const s = e.modules.dataTree.index + 1;
|
|
4943
4943
|
if (i.forEach((o) => {
|
|
4944
|
-
const n = new
|
|
4944
|
+
const n = new ke(o || {}, this.table.rowManager);
|
|
4945
4945
|
n.create(), n.modules.dataTree.index = s, n.modules.dataTree.parent = e, n.modules.dataTree.children && (n.modules.dataTree.open = this.startOpen(
|
|
4946
4946
|
n.getComponent(),
|
|
4947
4947
|
n.modules.dataTree.index
|
|
@@ -4972,7 +4972,7 @@ const Xc = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
|
|
|
4972
4972
|
this.table.rowManager
|
|
4973
4973
|
);
|
|
4974
4974
|
i.create(), i.modules.dataTree.index = e, i.modules.dataTree.parent = t, i.modules.dataTree.children = !1, i.modules.dataTree.open = !0;
|
|
4975
|
-
const s =
|
|
4975
|
+
const s = B(ed);
|
|
4976
4976
|
return i.getElement()?.classList.add("tabulator-tree-level-" + e), i.element.appendChild(s), s.style.setProperty(
|
|
4977
4977
|
"--tabulator-tree-level",
|
|
4978
4978
|
String(e + 1)
|
|
@@ -5001,7 +5001,7 @@ const Xc = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
|
|
|
5001
5001
|
this.table.rowManager
|
|
5002
5002
|
);
|
|
5003
5003
|
i.create(), i.modules.dataTree.index = e, i.modules.dataTree.parent = t, i.modules.dataTree.children = !1, i.modules.dataTree.open = !0;
|
|
5004
|
-
const s =
|
|
5004
|
+
const s = B(td);
|
|
5005
5005
|
return i.element.appendChild(s), i.getElement()?.classList.add("tabulator-tree-level-" + e), s.style.setProperty(
|
|
5006
5006
|
"--tabulator-tree-level",
|
|
5007
5007
|
String(e + 1)
|
|
@@ -5084,13 +5084,13 @@ const Xc = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
|
|
|
5084
5084
|
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(
|
|
5085
5085
|
e.modules.dataTree.children
|
|
5086
5086
|
) || [] : s = e.modules.dataTree.children, s.forEach((o) => {
|
|
5087
|
-
o instanceof
|
|
5087
|
+
o instanceof ke && i.push(o);
|
|
5088
5088
|
})), i;
|
|
5089
5089
|
}
|
|
5090
5090
|
rowDeleting(e) {
|
|
5091
5091
|
const t = e.modules.dataTree;
|
|
5092
5092
|
t && t.children && Array.isArray(t.children) && t.children.forEach((i) => {
|
|
5093
|
-
i instanceof
|
|
5093
|
+
i instanceof ke && i.wipe();
|
|
5094
5094
|
});
|
|
5095
5095
|
}
|
|
5096
5096
|
rowDelete(e) {
|
|
@@ -5112,14 +5112,14 @@ const Xc = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
|
|
|
5112
5112
|
findChildIndex(e, t) {
|
|
5113
5113
|
let i = !1;
|
|
5114
5114
|
if (typeof e == "object")
|
|
5115
|
-
if (e instanceof
|
|
5115
|
+
if (e instanceof ke)
|
|
5116
5116
|
i = e.data;
|
|
5117
5117
|
else if (e._getSelf)
|
|
5118
5118
|
i = e._getSelf().data;
|
|
5119
5119
|
else if (typeof HTMLElement < "u" && e instanceof HTMLElement) {
|
|
5120
5120
|
const s = t.modules.dataTree;
|
|
5121
5121
|
if (s) {
|
|
5122
|
-
const o = s.children?.find((n) => n instanceof
|
|
5122
|
+
const o = s.children?.find((n) => n instanceof ke ? n.element === e : !1);
|
|
5123
5123
|
o && (i = o.data);
|
|
5124
5124
|
}
|
|
5125
5125
|
} else e === null && (i = !1);
|
|
@@ -5140,7 +5140,7 @@ const Xc = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
|
|
|
5140
5140
|
getTreeChildren(e, t, i) {
|
|
5141
5141
|
const s = e.modules.dataTree, o = [];
|
|
5142
5142
|
return s?.children && (Array.isArray(s.children) || (e.modules.dataTree.children = this.generateChildren(e)), s.children.forEach((n) => {
|
|
5143
|
-
n instanceof
|
|
5143
|
+
n instanceof ke && (t ? o.push(n.getComponent()) : o.push(n), i && this.getTreeChildren(n, t, i).forEach(
|
|
5144
5144
|
(a) => {
|
|
5145
5145
|
o.push(a);
|
|
5146
5146
|
}
|
|
@@ -5325,7 +5325,7 @@ const Er = process.env.NODE_ENV === "development", sd = function(r, e = {}, t) {
|
|
|
5325
5325
|
return;
|
|
5326
5326
|
}
|
|
5327
5327
|
let n = o.utils.book_new();
|
|
5328
|
-
const a = new
|
|
5328
|
+
const a = new Me(i), l = "compress" in e ? e.compress : !0, h = e.writeOptions || {
|
|
5329
5329
|
bookSST: !0,
|
|
5330
5330
|
bookType: "xlsx",
|
|
5331
5331
|
compression: l
|
|
@@ -5787,7 +5787,7 @@ function xd(r, e, t) {
|
|
|
5787
5787
|
}
|
|
5788
5788
|
function Rd(r, e) {
|
|
5789
5789
|
const t = e ?? {}, i = r.getValue(), s = i != null && i !== "", o = !!t.initials;
|
|
5790
|
-
return !s && !o ? "" :
|
|
5790
|
+
return !s && !o ? "" : B(x`<cx-avatar image=${te(s ? String(i) : void 0)} initials=${te(t.initials)} label=${te(t.label)} shape=${te(t.shape)} style="--size: ${t.size ?? "2rem"}"></cx-avatar>`);
|
|
5791
5791
|
}
|
|
5792
5792
|
function Sd(r, e, t) {
|
|
5793
5793
|
return '<svg enable-background="new 0 0 24 24" height="14" width="14" viewBox="0 0 24 24" xml:space="preserve" ><path fill="#CE1515" d="M22.245,4.015c0.313,0.313,0.313,0.826,0,1.139l-6.276,6.27c-0.313,0.312-0.313,0.826,0,1.14l6.273,6.272 c0.313,0.313,0.313,0.826,0,1.14l-2.285,2.277c-0.314,0.312-0.828,0.312-1.142,0l-6.271-6.271c-0.313-0.313-0.828-0.313-1.141,0 l-6.276,6.267c-0.313,0.313-0.828,0.313-1.141,0l-2.282-2.28c-0.313-0.313-0.313-0.826,0-1.14l6.278-6.269 c0.313-0.312,0.313-0.826,0-1.14L1.709,5.147c-0.314-0.313-0.314-0.827,0-1.14l2.284-2.278C4.308,1.417,4.821,1.417,5.135,1.73 L11.405,8c0.314,0.314,0.828,0.314,1.141,0.001l6.276-6.267c0.312-0.312,0.826-0.312,1.141,0L22.245,4.015z"/></svg>';
|
|
@@ -5807,7 +5807,7 @@ function Ld({
|
|
|
5807
5807
|
spacing: r,
|
|
5808
5808
|
style: e
|
|
5809
5809
|
}) {
|
|
5810
|
-
const t =
|
|
5810
|
+
const t = B(Md);
|
|
5811
5811
|
return r && (t.style.margin = r), e && Object.assign(t.style, e), t;
|
|
5812
5812
|
}
|
|
5813
5813
|
function Fd(r, e, t) {
|
|
@@ -5877,7 +5877,7 @@ function _d(r, e, t) {
|
|
|
5877
5877
|
gap: m,
|
|
5878
5878
|
justifyContent: v,
|
|
5879
5879
|
wrap: E
|
|
5880
|
-
} = e, y = x`<cx-space class="tabulator-composite" style=${ft(p ?? {})} align-items=${c ?? "center"} ?block=${d} direction=${te(u)} justify-content=${te(v)} spacing=${m ?? "3x-small"} wrap=${E ?? "nowrap"}></cx-space>`, T =
|
|
5880
|
+
} = e, y = x`<cx-space class="tabulator-composite" style=${ft(p ?? {})} align-items=${c ?? "center"} ?block=${d} direction=${te(u)} justify-content=${te(v)} spacing=${m ?? "3x-small"} wrap=${E ?? "nowrap"}></cx-space>`, T = B(y), D = [];
|
|
5881
5881
|
return e.elements.forEach((F) => {
|
|
5882
5882
|
const be = kr({
|
|
5883
5883
|
cell: r,
|
|
@@ -5938,7 +5938,7 @@ function zd(r) {
|
|
|
5938
5938
|
}
|
|
5939
5939
|
function Od(r, e) {
|
|
5940
5940
|
const t = e ?? {}, i = zd(r.getValue());
|
|
5941
|
-
return i === void 0 ? "" :
|
|
5941
|
+
return i === void 0 ? "" : B(x`<cx-format-date date=${i.toISOString()} weekday=${te(t.weekday)} era=${te(t.era)} year=${te(t.year)} month=${te(t.month)} day=${te(t.day)} hour=${te(t.hour)} minute=${te(t.minute)} second=${te(t.second)} time-zone-name=${te(t.timeZoneName)} time-zone=${te(t.timeZone)} hour-format=${te(t.hourFormat)} ?no-datetime-separator=${t.noDatetimeSeparator ?? !1}></cx-format-date>`);
|
|
5942
5942
|
}
|
|
5943
5943
|
const Ad = process.env.NODE_ENV === "development";
|
|
5944
5944
|
function Pd(r, e, t) {
|
|
@@ -5976,7 +5976,7 @@ function Dr(r, e) {
|
|
|
5976
5976
|
}
|
|
5977
5977
|
function Nd(r, e) {
|
|
5978
5978
|
const t = e ?? {}, i = t.arraySeparator ?? ", ", s = (c) => typeof c == "function" ? c(r) : c, o = Dr(s(t.newValue) ?? r.getValue(), i), n = Dr(s(t.oldValue) ?? "", i), a = sr(n), l = sr(o), h = a && l ? `${a} ${l}` : l || a;
|
|
5979
|
-
return
|
|
5979
|
+
return B(x`<cx-line-clamp lines="1" clamped-tooltip=${h}><cx-diff old-value=${n} new-value=${o}></cx-diff></cx-line-clamp>`);
|
|
5980
5980
|
}
|
|
5981
5981
|
function Vd(r, e, t) {
|
|
5982
5982
|
const i = r.getElement();
|
|
@@ -5991,7 +5991,7 @@ function jd(r, e) {
|
|
|
5991
5991
|
let s;
|
|
5992
5992
|
if (i.getIcon ? s = i.getIcon(t) : typeof i.icon == "function" ? s = i.icon(t) : i.iconMap ? s = i.iconMap[t] : i.icon ? s = i.icon : s = t ? String(t) : void 0, !s)
|
|
5993
5993
|
return;
|
|
5994
|
-
const o =
|
|
5994
|
+
const o = B($d);
|
|
5995
5995
|
if (o.name = s, i.size !== void 0)
|
|
5996
5996
|
switch (typeof i.size) {
|
|
5997
5997
|
case "number":
|
|
@@ -6008,7 +6008,7 @@ function Gd(r, e) {
|
|
|
6008
6008
|
let t = r.getValue();
|
|
6009
6009
|
if (!t)
|
|
6010
6010
|
return null;
|
|
6011
|
-
const i =
|
|
6011
|
+
const i = B(Wd), s = i.querySelector("img"), o = e ?? {};
|
|
6012
6012
|
switch (o.urlPrefix && (t = o.urlPrefix + r.getValue()), o.urlSuffix && (t = t + o.urlSuffix), s.setAttribute("src", String(t)), typeof o.height) {
|
|
6013
6013
|
case "number":
|
|
6014
6014
|
i.style.height = o.height + "px";
|
|
@@ -6116,7 +6116,7 @@ function eu(r, e) {
|
|
|
6116
6116
|
const i = Number(t);
|
|
6117
6117
|
if (Number.isNaN(i))
|
|
6118
6118
|
return;
|
|
6119
|
-
const s = e ?? {}, o =
|
|
6119
|
+
const s = e ?? {}, o = B(Zd);
|
|
6120
6120
|
o.value = i;
|
|
6121
6121
|
for (const n of Object.keys(s)) {
|
|
6122
6122
|
const a = s[n];
|
|
@@ -6129,7 +6129,7 @@ function tu(r, e) {
|
|
|
6129
6129
|
const i = e ?? {};
|
|
6130
6130
|
i.prefix && (t = i.prefix + t), i.suffix && (t = t + i.suffix);
|
|
6131
6131
|
const s = x`<cx-line-clamp lines="1"><span style=${ft(i.style ?? {})}>${t}</span></cx-line-clamp>`;
|
|
6132
|
-
return
|
|
6132
|
+
return B(s);
|
|
6133
6133
|
}
|
|
6134
6134
|
function iu(r, e = {}, t) {
|
|
6135
6135
|
const i = P(r.getValue()) || 0, s = r.getElement(), o = e.max ? e.max : 100, n = e.min ? e.min : 0, a = e.legendAlign ? e.legendAlign : "center";
|
|
@@ -6274,7 +6274,7 @@ function cu(r, e) {
|
|
|
6274
6274
|
const n = document.createElement("span");
|
|
6275
6275
|
return n.textContent = String(r.getValue() ?? ""), n;
|
|
6276
6276
|
}
|
|
6277
|
-
const t =
|
|
6277
|
+
const t = B(ru), { offValue: i, onValue: s } = nu(e);
|
|
6278
6278
|
e.size && (t.size = e.size);
|
|
6279
6279
|
const o = typeof e.disabled == "function" ? e.disabled : () => !1;
|
|
6280
6280
|
return t.disabled = o(r), hu(t, r, s, i), t;
|
|
@@ -6289,7 +6289,7 @@ function uu(r, e) {
|
|
|
6289
6289
|
removable: !1,
|
|
6290
6290
|
size: "medium",
|
|
6291
6291
|
variant: "neutral"
|
|
6292
|
-
}, s =
|
|
6292
|
+
}, s = B(du);
|
|
6293
6293
|
return Object.assign(s, i), s.textContent = e?.getTagContent?.(t) ?? e?.tagContentMap?.[t] ?? String(t), s;
|
|
6294
6294
|
}
|
|
6295
6295
|
function pu(r) {
|
|
@@ -6329,7 +6329,7 @@ function bu(r) {
|
|
|
6329
6329
|
}
|
|
6330
6330
|
function wu(r, e) {
|
|
6331
6331
|
const t = gu(e ?? {}, r), i = mu(r.getValue()), s = bu(t);
|
|
6332
|
-
return
|
|
6332
|
+
return B(x`<cx-format-time .duration=${i} display-style=${te(t.displayStyle)} input-unit=${te(t.inputUnit)} locale=${te(t.locale)} placeholder=${te(t.placeholder)} units-format=${te(t.unitsFormat)} style=${ft(s)}></cx-format-time>`);
|
|
6333
6333
|
}
|
|
6334
6334
|
function vu(r, e, t) {
|
|
6335
6335
|
const i = e.size || 15, s = i + "px", o = Object.prototype.hasOwnProperty.call(
|
|
@@ -6354,7 +6354,7 @@ function Cu(r, e, t, i) {
|
|
|
6354
6354
|
const s = r.getValue();
|
|
6355
6355
|
if (s == null || s === "")
|
|
6356
6356
|
return;
|
|
6357
|
-
const o =
|
|
6357
|
+
const o = B(yu), n = e?.getColor?.(s) ?? e?.colorMap?.[s];
|
|
6358
6358
|
if (n) {
|
|
6359
6359
|
const l = o.querySelector(
|
|
6360
6360
|
".tabulator-traffic-light"
|
|
@@ -6373,7 +6373,7 @@ function Eu(r, e) {
|
|
|
6373
6373
|
const i = e ?? {};
|
|
6374
6374
|
let s;
|
|
6375
6375
|
i.getVariant && (s = i.getVariant(t)), !s && i.variantMap && (s = i.variantMap[t]), !s && i.variant && (s = i.variant), s ??= ea.Body1;
|
|
6376
|
-
const o = x`<cx-line-clamp lines="1"><cx-typography style=${ft(i.style ?? {})}></cx-typography></cx-line-clamp>`, n =
|
|
6376
|
+
const o = x`<cx-line-clamp lines="1"><cx-typography style=${ft(i.style ?? {})}></cx-typography></cx-line-clamp>`, n = B(o), a = n.querySelector(
|
|
6377
6377
|
"cx-typography"
|
|
6378
6378
|
);
|
|
6379
6379
|
a.variant = s;
|
|
@@ -6415,7 +6415,7 @@ const Pn = {
|
|
|
6415
6415
|
typography: Eu
|
|
6416
6416
|
};
|
|
6417
6417
|
yd(Pn);
|
|
6418
|
-
const
|
|
6418
|
+
const Mt = class Mt extends I {
|
|
6419
6419
|
constructor(e) {
|
|
6420
6420
|
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");
|
|
6421
6421
|
}
|
|
@@ -6435,14 +6435,14 @@ const Dt = class Dt extends I {
|
|
|
6435
6435
|
}
|
|
6436
6436
|
lookupTypeFormatter(e, t) {
|
|
6437
6437
|
const i = "formatter" + t + "Params", s = {
|
|
6438
|
-
formatter:
|
|
6438
|
+
formatter: Mt.formatters.plaintext,
|
|
6439
6439
|
params: e.definition[i] || {},
|
|
6440
6440
|
textFormatParams: e.definition.textFormatParams || {}
|
|
6441
6441
|
}, o = e.definition["formatter" + t];
|
|
6442
|
-
return s.formatter =
|
|
6442
|
+
return s.formatter = Mt.lookupFormatter(o), s;
|
|
6443
6443
|
}
|
|
6444
6444
|
static lookupFormatter(e) {
|
|
6445
|
-
return Zi(e,
|
|
6445
|
+
return Zi(e, Mt.formatters);
|
|
6446
6446
|
}
|
|
6447
6447
|
cellRendered(e) {
|
|
6448
6448
|
const t = e.modules.format;
|
|
@@ -6457,7 +6457,7 @@ const Dt = class Dt extends I {
|
|
|
6457
6457
|
*/
|
|
6458
6458
|
formatHeader(e, t, i) {
|
|
6459
6459
|
let s, o, n, a;
|
|
6460
|
-
return e.definition.titleFormatter ? (s =
|
|
6460
|
+
return e.definition.titleFormatter ? (s = Mt.lookupFormatter(e.definition.titleFormatter), n = (l) => {
|
|
6461
6461
|
e.titleFormatterRendered = l;
|
|
6462
6462
|
}, a = {
|
|
6463
6463
|
getColumn: function() {
|
|
@@ -6517,8 +6517,8 @@ const Dt = class Dt extends I {
|
|
|
6517
6517
|
return this.formatValue(e);
|
|
6518
6518
|
}
|
|
6519
6519
|
};
|
|
6520
|
-
|
|
6521
|
-
let Bi =
|
|
6520
|
+
Mt.moduleName = "format", Mt.formatters = Pn;
|
|
6521
|
+
let Bi = Mt;
|
|
6522
6522
|
const ct = process.env.NODE_ENV === "development", xu = x`<cx-option></cx-option>`, Ru = x`<cx-divider></cx-divider>`;
|
|
6523
6523
|
class Su {
|
|
6524
6524
|
constructor(e, t, i, s, o, n) {
|
|
@@ -6594,7 +6594,7 @@ class Su {
|
|
|
6594
6594
|
fallbackOption: i,
|
|
6595
6595
|
freeWidth: s,
|
|
6596
6596
|
placeholder: o
|
|
6597
|
-
} = this.params, n = x`<cx-select style="width: 100%; margin: auto;" hoist ?clearable=${t} ?free-width=${s ?? !1} placeholder=${te(o)}></cx-select>`, a =
|
|
6597
|
+
} = this.params, n = x`<cx-select style="width: 100%; margin: auto;" hoist ?clearable=${t} ?free-width=${s ?? !1} placeholder=${te(o)}></cx-select>`, a = B(n);
|
|
6598
6598
|
i?.value != null && (a.fallbackOptionValue = this.sanitizeValue(i.value));
|
|
6599
6599
|
const l = this.createPrefixElement();
|
|
6600
6600
|
return l && a.prepend(l), e || (a.style.cursor = "default", a.style.caretColor = "transparent"), this._bindInputEvents(a), a;
|
|
@@ -6889,7 +6889,7 @@ class Su {
|
|
|
6889
6889
|
}
|
|
6890
6890
|
}
|
|
6891
6891
|
_appendDivider() {
|
|
6892
|
-
const e =
|
|
6892
|
+
const e = B(Ru);
|
|
6893
6893
|
this.input.appendChild(e);
|
|
6894
6894
|
}
|
|
6895
6895
|
_appendSectionLabel(e) {
|
|
@@ -6899,7 +6899,7 @@ class Su {
|
|
|
6899
6899
|
_appendLeafOption(e) {
|
|
6900
6900
|
let t = e.element;
|
|
6901
6901
|
if (!t) {
|
|
6902
|
-
t =
|
|
6902
|
+
t = B(xu), t.getTextLabel = () => e.label, t.value = this.sanitizeValue(e.value);
|
|
6903
6903
|
const i = this.formatItemLabel(e, t);
|
|
6904
6904
|
i && typeof i == "object" && "nodeType" in i && i instanceof HTMLElement ? t.appendChild(i) : t.innerHTML = P(String(i || ""));
|
|
6905
6905
|
const s = this.params.fallbackOption?.prefix;
|
|
@@ -7668,7 +7668,7 @@ const Tu = function(r, e, t, i, s) {
|
|
|
7668
7668
|
const t = e.getElement(!0);
|
|
7669
7669
|
if (!t || t.classList.contains("tabulator-editing") || t.querySelector(`.${In}`))
|
|
7670
7670
|
return;
|
|
7671
|
-
const i =
|
|
7671
|
+
const i = B(
|
|
7672
7672
|
Iu
|
|
7673
7673
|
);
|
|
7674
7674
|
i.addEventListener("mousedown", (s) => {
|
|
@@ -7838,7 +7838,7 @@ class Lr {
|
|
|
7838
7838
|
this.type = e, this.columns = t, this.component = i ?? !1, this.indent = s ?? 0;
|
|
7839
7839
|
}
|
|
7840
7840
|
}
|
|
7841
|
-
const Vu = process.env.NODE_ENV === "development",
|
|
7841
|
+
const Vu = process.env.NODE_ENV === "development", Lt = class Lt extends I {
|
|
7842
7842
|
constructor(e) {
|
|
7843
7843
|
super(e), this.config = {}, this.cloneTableStyle = !0, this.colVisProp = "", this.colVisPropAttach = "", this.registerTableOption("htmlOutputConfig", !1), this.registerColumnOption("htmlOutput"), this.registerColumnOption("titleHtmlOutput");
|
|
7844
7844
|
}
|
|
@@ -7850,7 +7850,7 @@ const Vu = process.env.NODE_ENV === "development", Mt = class Mt extends I {
|
|
|
7850
7850
|
// /////////////////////////////////
|
|
7851
7851
|
generateExportList(e, t, i, s) {
|
|
7852
7852
|
let o, n;
|
|
7853
|
-
this.cloneTableStyle = t, this.config = e || {}, this.colVisProp = s, this.colVisPropAttach = this.colVisProp.charAt(0).toUpperCase() + this.colVisProp.slice(1), typeof i == "string" && (n =
|
|
7853
|
+
this.cloneTableStyle = t, this.config = e || {}, this.colVisProp = s, this.colVisPropAttach = this.colVisProp.charAt(0).toUpperCase() + this.colVisProp.slice(1), typeof i == "string" && (n = Lt.columnLookups[i]), n && (o = n.call(this.table), o = o.filter((c) => this.columnVisCheck(c)));
|
|
7854
7854
|
const a = this.config?.columnHeaders === !1 ? [] : this.headersToExportRows(this.generateColumnGroupHeaders(o)), l = o ? o.map((c) => c.getComponent()) : [], h = this.bodyToExportRows(this.rowLookup(i), l);
|
|
7855
7855
|
return a.concat(h);
|
|
7856
7856
|
}
|
|
@@ -7866,7 +7866,7 @@ const Vu = process.env.NODE_ENV === "development", Mt = class Mt extends I {
|
|
|
7866
7866
|
const o = this.table.rowManager?.findRow(s);
|
|
7867
7867
|
o && t.push(o);
|
|
7868
7868
|
});
|
|
7869
|
-
else if (i =
|
|
7869
|
+
else if (i = Lt.rowLookups[e] || Lt.rowLookups.active, i) {
|
|
7870
7870
|
const s = i.call(this.table);
|
|
7871
7871
|
Array.isArray(s) && t.push(...s);
|
|
7872
7872
|
}
|
|
@@ -8294,8 +8294,8 @@ const Vu = process.env.NODE_ENV === "development", Mt = class Mt extends I {
|
|
|
8294
8294
|
}
|
|
8295
8295
|
}
|
|
8296
8296
|
};
|
|
8297
|
-
|
|
8298
|
-
let Ds =
|
|
8297
|
+
Lt.moduleName = "export", Lt.columnLookups = Hu, Lt.rowLookups = Nu;
|
|
8298
|
+
let Ds = Lt;
|
|
8299
8299
|
const Fr = process.env.NODE_ENV === "development", Bu = {
|
|
8300
8300
|
// not equal to
|
|
8301
8301
|
"!=": function(r, e, t, i) {
|
|
@@ -9553,7 +9553,7 @@ class Qt {
|
|
|
9553
9553
|
this.element = document.createElement("div"), this.element.classList.add("tabulator-row"), this.element.classList.add("tabulator-group"), this.element.classList.add("tabulator-group-level-" + this.level), this.element.setAttribute(
|
|
9554
9554
|
"role",
|
|
9555
9555
|
this.groupManager.table.options.rowGroupRole ?? "rowgroup"
|
|
9556
|
-
), this.arrowElement =
|
|
9556
|
+
), this.arrowElement = B(dp), this.groupManager.table.options.movableRows !== !1 && this.groupManager.table.modExists("moveRow") && this.groupManager.table.modules.moveRow.initializeGroupHeader(
|
|
9557
9557
|
this
|
|
9558
9558
|
);
|
|
9559
9559
|
}
|
|
@@ -9620,7 +9620,7 @@ class Qt {
|
|
|
9620
9620
|
let s = i.querySelector(
|
|
9621
9621
|
".tabulator-group-level-indent"
|
|
9622
9622
|
);
|
|
9623
|
-
s || (s =
|
|
9623
|
+
s || (s = B(up), i.insertBefore(s, i.firstChild)), this.applyGroupIndent(
|
|
9624
9624
|
s,
|
|
9625
9625
|
(this.level + 1) * (this.groupManager.table.options.groupIndent ?? ps)
|
|
9626
9626
|
), s.dataset.groupLevel = this.level.toString();
|
|
@@ -9684,10 +9684,10 @@ class Qt {
|
|
|
9684
9684
|
i
|
|
9685
9685
|
), o = (this.level + 1) * (this.groupManager.table.options.groupIndent ?? ps);
|
|
9686
9686
|
if (s.create(), e.loading) {
|
|
9687
|
-
const l =
|
|
9687
|
+
const l = B(fp);
|
|
9688
9688
|
return s.element.appendChild(l), this.applyGroupIndent(l, o), this._loadMoreRow = s, s;
|
|
9689
9689
|
}
|
|
9690
|
-
const n =
|
|
9690
|
+
const n = B(pp), a = this.getGroupLoadMoreEventPayload();
|
|
9691
9691
|
return s.element.appendChild(n), this.applyGroupIndent(n, o), n.addEventListener("click", (l) => {
|
|
9692
9692
|
l.preventDefault(), l.stopPropagation(), l.stopImmediatePropagation(), this.groupManager.table.externalEvents?.dispatch("groupLoadMore", a);
|
|
9693
9693
|
}), this._loadMoreRow = s, s;
|
|
@@ -10513,7 +10513,7 @@ const mp = {
|
|
|
10513
10513
|
// rebind rows to new element after deletion
|
|
10514
10514
|
_rebindRow(e, t) {
|
|
10515
10515
|
this.history.forEach((i) => {
|
|
10516
|
-
if (i.component instanceof
|
|
10516
|
+
if (i.component instanceof ke)
|
|
10517
10517
|
i.component === e && (i.component = t);
|
|
10518
10518
|
else if (i.component instanceof ki && i.component.row === e) {
|
|
10519
10519
|
const s = i.component.column.getField();
|
|
@@ -10736,7 +10736,7 @@ function xp() {
|
|
|
10736
10736
|
}, this);
|
|
10737
10737
|
}
|
|
10738
10738
|
function E(b) {
|
|
10739
|
-
var C, R, k, S, z = Math.pow(2, 53), ne = -z, We = /^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/, Je = /^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/, j = this, fe = 0, O = 0,
|
|
10739
|
+
var C, R, k, S, z = Math.pow(2, 53), ne = -z, We = /^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/, Je = /^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/, j = this, fe = 0, O = 0, Le = !1, H = !1, W = [], M = { data: [], errors: [], meta: {} };
|
|
10740
10740
|
function Ge(K) {
|
|
10741
10741
|
return b.skipEmptyLines === "greedy" ? K.join("").trim() === "" : K.length === 1 && K[0].length === 0;
|
|
10742
10742
|
}
|
|
@@ -10775,21 +10775,21 @@ function xp() {
|
|
|
10775
10775
|
M = K, we() ? ae() : (ae(), M.data.length !== 0 && (fe += K.data.length, b.preview && fe > b.preview ? R.abort() : (M.data = M.data[0], S(M, j))));
|
|
10776
10776
|
}), this.parse = function(K, G, me) {
|
|
10777
10777
|
var A = b.quoteChar || '"', A = (b.newline || (b.newline = this.guessLineEndings(K, A)), k = !1, b.delimiter ? _(b.delimiter) && (b.delimiter = b.delimiter(K), M.meta.delimiter = b.delimiter) : ((A = ((le, ve, se, oe, U) => {
|
|
10778
|
-
var st, N, de,
|
|
10778
|
+
var st, N, de, Rt;
|
|
10779
10779
|
U = U || [",", " ", "|", ";", h.RECORD_SEP, h.UNIT_SEP];
|
|
10780
10780
|
for (var Xt = 0; Xt < U.length; Xt++) {
|
|
10781
|
-
for (var at, li = U[Xt],
|
|
10782
|
-
0 < He.data.length && (lt /= He.data.length - Ce), (N === void 0 ||
|
|
10781
|
+
for (var at, li = U[Xt], Fe = 0, lt = 0, Ce = 0, He = (de = void 0, new T({ comments: oe, delimiter: li, newline: ve, preview: 10 }).parse(le)), bt = 0; bt < He.data.length; bt++) se && Ge(He.data[bt]) ? Ce++ : (at = He.data[bt].length, lt += at, de === void 0 ? de = at : 0 < at && (Fe += Math.abs(at - de), de = at));
|
|
10782
|
+
0 < He.data.length && (lt /= He.data.length - Ce), (N === void 0 || Fe <= N) && (Rt === void 0 || Rt < lt) && 1.99 < lt && (N = Fe, st = li, Rt = lt);
|
|
10783
10783
|
}
|
|
10784
10784
|
return { successful: !!(b.delimiter = st), bestDelimiter: st };
|
|
10785
10785
|
})(K, b.newline, b.skipEmptyLines, b.comments, b.delimitersToGuess)).successful ? b.delimiter = A.bestDelimiter : (k = !0, b.delimiter = h.DefaultDelimiter), M.meta.delimiter = b.delimiter), be(b));
|
|
10786
|
-
return b.preview && b.header && A.preview++, C = K, R = new T(A), M = R.parse(C, G, me), ae(),
|
|
10786
|
+
return b.preview && b.header && A.preview++, C = K, R = new T(A), M = R.parse(C, G, me), ae(), Le ? { meta: { paused: !0 } } : M || { meta: { paused: !1 } };
|
|
10787
10787
|
}, this.paused = function() {
|
|
10788
|
-
return
|
|
10788
|
+
return Le;
|
|
10789
10789
|
}, this.pause = function() {
|
|
10790
|
-
|
|
10790
|
+
Le = !0, R.abort(), C = _(b.chunk) ? "" : C.substring(R.getCharIndex());
|
|
10791
10791
|
}, this.resume = function() {
|
|
10792
|
-
j.streamer._halted ? (
|
|
10792
|
+
j.streamer._halted ? (Le = !1, j.streamer.parseChunk(C, !0)) : setTimeout(j.resume, 3);
|
|
10793
10793
|
}, this.aborted = function() {
|
|
10794
10794
|
return H;
|
|
10795
10795
|
}, this.abort = function() {
|
|
@@ -10816,23 +10816,23 @@ function xp() {
|
|
|
10816
10816
|
` && R !== "\r" && R !== `\r
|
|
10817
10817
|
` && (R = `
|
|
10818
10818
|
`);
|
|
10819
|
-
var O = 0,
|
|
10819
|
+
var O = 0, Le = !1;
|
|
10820
10820
|
this.parse = function(H, W, M) {
|
|
10821
10821
|
if (typeof H != "string") throw new Error("Input must be a string");
|
|
10822
10822
|
var Ge = H.length, ae = C.length, we = R.length, it = k.length, K = _(S), G = [], me = [], A = [], le = O = 0;
|
|
10823
|
-
if (!H) return
|
|
10823
|
+
if (!H) return Fe();
|
|
10824
10824
|
if (ne || ne !== !1 && H.indexOf(j) === -1) {
|
|
10825
10825
|
for (var ve = H.split(R), se = 0; se < ve.length; se++) {
|
|
10826
10826
|
if (A = ve[se], O += A.length, se !== ve.length - 1) O += R.length;
|
|
10827
|
-
else if (M) return
|
|
10827
|
+
else if (M) return Fe();
|
|
10828
10828
|
if (!k || A.substring(0, it) !== k) {
|
|
10829
10829
|
if (K) {
|
|
10830
|
-
if (G = [],
|
|
10831
|
-
} else
|
|
10832
|
-
if (z && z <= se) return G = G.slice(0, z),
|
|
10830
|
+
if (G = [], Rt(A.split(C)), lt(), Le) return Fe();
|
|
10831
|
+
} else Rt(A.split(C));
|
|
10832
|
+
if (z && z <= se) return G = G.slice(0, z), Fe(!0);
|
|
10833
10833
|
}
|
|
10834
10834
|
}
|
|
10835
|
-
return
|
|
10835
|
+
return Fe();
|
|
10836
10836
|
}
|
|
10837
10837
|
for (var oe = H.indexOf(C, O), U = H.indexOf(R, O), st = new RegExp(y(fe) + y(j), "g"), N = H.indexOf(j, O); ; ) if (H[O] === j) for (N = O, O++; ; ) {
|
|
10838
10838
|
if ((N = H.indexOf(j, N + 1)) === -1) return M || me.push({ type: "Quotes", code: "MissingQuotes", message: "Quoted field unterminated", row: G.length, index: O }), at();
|
|
@@ -10846,24 +10846,24 @@ function xp() {
|
|
|
10846
10846
|
break;
|
|
10847
10847
|
}
|
|
10848
10848
|
if (de = Xt(U), H.substring(N + 1 + de, N + 1 + de + we) === R) {
|
|
10849
|
-
if (A.push(H.substring(O, N).replace(st, j)), li(N + 1 + de + we), oe = H.indexOf(C, O), N = H.indexOf(j, O), K && (lt(),
|
|
10850
|
-
if (z && G.length >= z) return
|
|
10849
|
+
if (A.push(H.substring(O, N).replace(st, j)), li(N + 1 + de + we), oe = H.indexOf(C, O), N = H.indexOf(j, O), K && (lt(), Le)) return Fe();
|
|
10850
|
+
if (z && G.length >= z) return Fe(!0);
|
|
10851
10851
|
break;
|
|
10852
10852
|
}
|
|
10853
10853
|
me.push({ type: "Quotes", code: "InvalidQuotes", message: "Trailing quote on quoted field is malformed", row: G.length, index: O }), N++;
|
|
10854
10854
|
}
|
|
10855
10855
|
}
|
|
10856
10856
|
else if (k && A.length === 0 && H.substring(O, O + it) === k) {
|
|
10857
|
-
if (U === -1) return
|
|
10857
|
+
if (U === -1) return Fe();
|
|
10858
10858
|
O = U + we, U = H.indexOf(R, O), oe = H.indexOf(C, O);
|
|
10859
10859
|
} else if (oe !== -1 && (oe < U || U === -1)) A.push(H.substring(O, oe)), O = oe + ae, oe = H.indexOf(C, O);
|
|
10860
10860
|
else {
|
|
10861
10861
|
if (U === -1) break;
|
|
10862
|
-
if (A.push(H.substring(O, U)), li(U + we), K && (lt(),
|
|
10863
|
-
if (z && G.length >= z) return
|
|
10862
|
+
if (A.push(H.substring(O, U)), li(U + we), K && (lt(), Le)) return Fe();
|
|
10863
|
+
if (z && G.length >= z) return Fe(!0);
|
|
10864
10864
|
}
|
|
10865
10865
|
return at();
|
|
10866
|
-
function
|
|
10866
|
+
function Rt(Ce) {
|
|
10867
10867
|
G.push(Ce), le = O;
|
|
10868
10868
|
}
|
|
10869
10869
|
function Xt(Ce) {
|
|
@@ -10871,12 +10871,12 @@ function xp() {
|
|
|
10871
10871
|
return He = Ce !== -1 && (Ce = H.substring(N + 1, Ce)) && Ce.trim() === "" ? Ce.length : He;
|
|
10872
10872
|
}
|
|
10873
10873
|
function at(Ce) {
|
|
10874
|
-
return M || (Ce === void 0 && (Ce = H.substring(O)), A.push(Ce), O = Ge,
|
|
10874
|
+
return M || (Ce === void 0 && (Ce = H.substring(O)), A.push(Ce), O = Ge, Rt(A), K && lt()), Fe();
|
|
10875
10875
|
}
|
|
10876
10876
|
function li(Ce) {
|
|
10877
|
-
O = Ce,
|
|
10877
|
+
O = Ce, Rt(A), A = [], U = H.indexOf(R, O);
|
|
10878
10878
|
}
|
|
10879
|
-
function
|
|
10879
|
+
function Fe(Ce) {
|
|
10880
10880
|
if (b.header && !W && G.length && !Je) {
|
|
10881
10881
|
var He = G[0], bt = /* @__PURE__ */ Object.create(null), ts = new Set(He);
|
|
10882
10882
|
let Xo = !1;
|
|
@@ -10891,13 +10891,13 @@ function xp() {
|
|
|
10891
10891
|
}
|
|
10892
10892
|
Xo && console.warn("Duplicate headers found and renamed."), Je = !0;
|
|
10893
10893
|
}
|
|
10894
|
-
return { data: G, errors: me, meta: { delimiter: C, linebreak: R, aborted:
|
|
10894
|
+
return { data: G, errors: me, meta: { delimiter: C, linebreak: R, aborted: Le, truncated: !!Ce, cursor: le + (W || 0), renamedHeaders: We } };
|
|
10895
10895
|
}
|
|
10896
10896
|
function lt() {
|
|
10897
|
-
S(
|
|
10897
|
+
S(Fe()), G = [], me = [];
|
|
10898
10898
|
}
|
|
10899
10899
|
}, this.abort = function() {
|
|
10900
|
-
|
|
10900
|
+
Le = !0;
|
|
10901
10901
|
}, this.getCharIndex = function() {
|
|
10902
10902
|
return O;
|
|
10903
10903
|
};
|
|
@@ -10961,11 +10961,11 @@ function xp() {
|
|
|
10961
10961
|
}
|
|
10962
10962
|
})(), new RegExp(y(ne), "g"));
|
|
10963
10963
|
if (typeof b == "string" && (b = JSON.parse(b)), Array.isArray(b)) {
|
|
10964
|
-
if (!b.length || Array.isArray(b[0])) return
|
|
10965
|
-
if (typeof b[0] == "object") return
|
|
10966
|
-
} else if (typeof b == "object") return typeof b.data == "string" && (b.data = JSON.parse(b.data)), Array.isArray(b.data) && (b.fields || (b.fields = b.meta && b.meta.fields || j), b.fields || (b.fields = Array.isArray(b.data[0]) ? b.fields : typeof b.data[0] == "object" ? Object.keys(b.data[0]) : []), Array.isArray(b.data[0]) || typeof b.data[0] == "object" || (b.data = [b.data])),
|
|
10964
|
+
if (!b.length || Array.isArray(b[0])) return Le(null, b, Je);
|
|
10965
|
+
if (typeof b[0] == "object") return Le(j || Object.keys(b[0]), b, Je);
|
|
10966
|
+
} else if (typeof b == "object") return typeof b.data == "string" && (b.data = JSON.parse(b.data)), Array.isArray(b.data) && (b.fields || (b.fields = b.meta && b.meta.fields || j), b.fields || (b.fields = Array.isArray(b.data[0]) ? b.fields : typeof b.data[0] == "object" ? Object.keys(b.data[0]) : []), Array.isArray(b.data[0]) || typeof b.data[0] == "object" || (b.data = [b.data])), Le(b.fields || [], b.data || [], Je);
|
|
10967
10967
|
throw new Error("Unable to serialize unrecognized input");
|
|
10968
|
-
function
|
|
10968
|
+
function Le(W, M, Ge) {
|
|
10969
10969
|
var ae = "", we = (typeof W == "string" && (W = JSON.parse(W)), typeof M == "string" && (M = JSON.parse(M)), Array.isArray(W) && 0 < W.length), it = !Array.isArray(M[0]);
|
|
10970
10970
|
if (we && k) {
|
|
10971
10971
|
for (var K = 0; K < W.length; K++) 0 < K && (ae += S), ae += H(W[K], K);
|
|
@@ -11018,8 +11018,8 @@ function xp() {
|
|
|
11018
11018
|
} else if (fe === "skip") return void S();
|
|
11019
11019
|
}
|
|
11020
11020
|
var O = j.instanceConfig.complete;
|
|
11021
|
-
j.instanceConfig.complete = function(
|
|
11022
|
-
_(O) && O(
|
|
11021
|
+
j.instanceConfig.complete = function(Le) {
|
|
11022
|
+
_(O) && O(Le, j.file, j.inputElem), S();
|
|
11023
11023
|
}, h.parse(j.file, j.instanceConfig);
|
|
11024
11024
|
}
|
|
11025
11025
|
}
|
|
@@ -11463,17 +11463,17 @@ const Lp = {
|
|
|
11463
11463
|
scrollPageUp: 33,
|
|
11464
11464
|
scrollToEnd: 35,
|
|
11465
11465
|
scrollToStart: 36
|
|
11466
|
-
}, _p = process.env.NODE_ENV === "development",
|
|
11466
|
+
}, _p = process.env.NODE_ENV === "development", Ft = class Ft extends I {
|
|
11467
11467
|
constructor(e) {
|
|
11468
11468
|
super(e), this.watchKeys = null, this.pressedKeys = null, this.keyupBinding = !1, this.keydownBinding = !1, this.registerTableOption("keybindings", {}), this.registerTableOption("tabEndNewRow", !1);
|
|
11469
11469
|
}
|
|
11470
11470
|
initialize() {
|
|
11471
11471
|
const e = this.table.options.keybindings, t = {};
|
|
11472
|
-
this.watchKeys = {}, this.pressedKeys = [], e !== !1 && (Object.assign(t,
|
|
11472
|
+
this.watchKeys = {}, this.pressedKeys = [], e !== !1 && (Object.assign(t, Ft.bindings), Object.assign(t, e), this.mapBindings(t), this.bindEvents()), this.subscribe("table-destroy", this.clearBindings.bind(this));
|
|
11473
11473
|
}
|
|
11474
11474
|
mapBindings(e) {
|
|
11475
11475
|
for (const t in e)
|
|
11476
|
-
|
|
11476
|
+
Ft.actions[t] ? e[t] && (typeof e[t] != "object" && (e[t] = [e[t]]), e[t].forEach((i) => {
|
|
11477
11477
|
(Array.isArray(i) ? i : [i]).forEach((o) => {
|
|
11478
11478
|
this.mapBinding(t, o);
|
|
11479
11479
|
});
|
|
@@ -11481,7 +11481,7 @@ const Lp = {
|
|
|
11481
11481
|
}
|
|
11482
11482
|
mapBinding(e, t) {
|
|
11483
11483
|
const i = {
|
|
11484
|
-
action:
|
|
11484
|
+
action: Ft.actions[e],
|
|
11485
11485
|
ctrl: !1,
|
|
11486
11486
|
keys: [],
|
|
11487
11487
|
meta: !1,
|
|
@@ -11530,8 +11530,8 @@ const Lp = {
|
|
|
11530
11530
|
}), i && t.action.call(this, e), !0) : !1;
|
|
11531
11531
|
}
|
|
11532
11532
|
};
|
|
11533
|
-
|
|
11534
|
-
let Is =
|
|
11533
|
+
Ft.moduleName = "keybindings", Ft.bindings = Fp, Ft.actions = Lp;
|
|
11534
|
+
let Is = Ft;
|
|
11535
11535
|
const Io = class Io extends I {
|
|
11536
11536
|
constructor(e) {
|
|
11537
11537
|
super(e), this.menuContainer = null, this.nestedMenuBlock = !1, this.currentComponent = null, this.rootPopup = null, this.columnSubscribers = {}, this.registerTableOption("rowContextMenu", !1), this.registerTableOption("rowClickMenu", !1), this.registerTableOption("rowDblClickMenu", !1), this.registerTableOption("groupContextMenu", !1), this.registerTableOption("groupClickMenu", !1), this.registerTableOption("groupDblClickMenu", !1), this.registerColumnOption("headerContextMenu"), this.registerColumnOption("headerClickMenu"), this.registerColumnOption("headerDblClickMenu"), this.registerColumnOption("headerMenu"), this.registerColumnOption("headerMenuIcon"), this.registerColumnOption("contextMenu"), this.registerColumnOption("clickMenu"), this.registerColumnOption("dblClickMenu");
|
|
@@ -12375,7 +12375,7 @@ const No = class No extends I {
|
|
|
12375
12375
|
}
|
|
12376
12376
|
createElements() {
|
|
12377
12377
|
const e = x`<cx-pagination back-icon-name="arrow_back" next-icon-name="arrow_forward" icon-button-size="small"></cx-pagination>`, t = x`<div slot="pagination" class="tabulator-paginator"></div>`;
|
|
12378
|
-
this.element =
|
|
12378
|
+
this.element = B(t), this.paginationElement = B(e), this.table.options.paginationShowFirst && this.paginationElement.setAttribute("show-first", ""), this.table.options.paginationShowLast && this.paginationElement.setAttribute("show-last", ""), this.table.options.showPaginationButtons && (this.paginationElement.setAttribute("show-pagination-buttons", ""), this.paginationElement.setAttribute(
|
|
12379
12379
|
"pagination-button-count",
|
|
12380
12380
|
this.count.toString()
|
|
12381
12381
|
)), this.table.options.showPaginationInput && this.paginationElement.setAttribute("show-pagination-input", ""), this.paginationElement.setAttribute("label", ""), this.paginationElement.classList.add("tabulator-paginator-pagination");
|
|
@@ -13668,7 +13668,7 @@ ji.moduleName = "responsiveLayout", ji.moduleExtensions = Vp;
|
|
|
13668
13668
|
let Js = ji;
|
|
13669
13669
|
const Bp = x`<cx-checkbox></cx-checkbox>`;
|
|
13670
13670
|
function $p(r, e, t) {
|
|
13671
|
-
const i =
|
|
13671
|
+
const i = B(Bp);
|
|
13672
13672
|
let s = i, o = !1;
|
|
13673
13673
|
i.setAttribute("aria-label", "Select Row"), i.size = Ba.Small;
|
|
13674
13674
|
const n = this.table;
|
|
@@ -14105,7 +14105,7 @@ class Qp {
|
|
|
14105
14105
|
}
|
|
14106
14106
|
}
|
|
14107
14107
|
const Vr = process.env.NODE_ENV === "development";
|
|
14108
|
-
class Zp extends
|
|
14108
|
+
class Zp extends Me {
|
|
14109
14109
|
constructor(e, t, i, s) {
|
|
14110
14110
|
super(e), this.rangeManager = t, this.element = null, this.initialized = !1, this.initializing = {
|
|
14111
14111
|
end: !1,
|
|
@@ -14285,7 +14285,7 @@ const Bt = process.env.NODE_ENV === "development", ef = x`<div class="tabulator-
|
|
|
14285
14285
|
));
|
|
14286
14286
|
}
|
|
14287
14287
|
initializeTable() {
|
|
14288
|
-
this.overlay = document.createElement("div"), this.overlay.classList.add("tabulator-range-overlay"), this.rangeContainer = document.createElement("div"), this.rangeContainer.classList.add("tabulator-range-container"), this.activeRangeCellElement = document.createElement("div"), this.activeRangeCellElement.classList.add("tabulator-range-cell-active"), this.hoverRangeCellElement =
|
|
14288
|
+
this.overlay = document.createElement("div"), this.overlay.classList.add("tabulator-range-overlay"), this.rangeContainer = document.createElement("div"), this.rangeContainer.classList.add("tabulator-range-container"), this.activeRangeCellElement = document.createElement("div"), this.activeRangeCellElement.classList.add("tabulator-range-cell-active"), this.hoverRangeCellElement = B(ef), this.overlay.appendChild(this.rangeContainer), this.overlay.appendChild(this.hoverRangeCellElement), this.overlay.appendChild(this.activeRangeCellElement), this.table.rowManager?.element && this.table.rowManager.element.addEventListener(
|
|
14289
14289
|
"keydown",
|
|
14290
14290
|
this.keyDownEvent
|
|
14291
14291
|
), this.resetRanges(), this.table.rowManager?.element && this.overlay && this.table.rowManager.element.appendChild(this.overlay), this.table.columnManager?.element && this.table.columnManager.element.setAttribute("tabindex", "0"), this.table.element.classList.add("tabulator-ranges");
|
|
@@ -15014,7 +15014,7 @@ const df = {
|
|
|
15014
15014
|
break;
|
|
15015
15015
|
}
|
|
15016
15016
|
if (e.modules.sort = {
|
|
15017
|
-
dir:
|
|
15017
|
+
dir: Se.None,
|
|
15018
15018
|
params: e.definition.sorterParams || {},
|
|
15019
15019
|
sorter: t,
|
|
15020
15020
|
startingDir: e.definition.headerSortStartingDir || "asc",
|
|
@@ -15045,20 +15045,20 @@ const df = {
|
|
|
15045
15045
|
this.table.options.headerSortElement || ""
|
|
15046
15046
|
);
|
|
15047
15047
|
}
|
|
15048
|
-
e.titleHolderElement && e.titleHolderElement.appendChild(s), e.modules.sort.element = s, this.setColumnHeaderSortIcon(e,
|
|
15048
|
+
e.titleHolderElement && e.titleHolderElement.appendChild(s), e.modules.sort.element = s, this.setColumnHeaderSortIcon(e, Se.None), this.table.options.headerSortClickElement === "icon" && s.addEventListener("mousedown", (o) => {
|
|
15049
15049
|
o.stopPropagation();
|
|
15050
15050
|
}), (this.table.options.headerSortClickElement === "icon" ? s : i).addEventListener("click", (o) => {
|
|
15051
|
-
let n =
|
|
15051
|
+
let n = Se.None, a = !1;
|
|
15052
15052
|
if (e.modules.sort) {
|
|
15053
15053
|
if (e.modules.sort.tristate)
|
|
15054
|
-
e.modules.sort.dir ==
|
|
15054
|
+
e.modules.sort.dir == Se.None ? n = e.modules.sort.startingDir : e.modules.sort.dir == e.modules.sort.startingDir ? n = e.modules.sort.dir == Se.Asc ? Se.Desc : Se.Asc : n = Se.None;
|
|
15055
15055
|
else
|
|
15056
15056
|
switch (e.modules.sort.dir) {
|
|
15057
15057
|
case "asc":
|
|
15058
|
-
n =
|
|
15058
|
+
n = Se.Desc;
|
|
15059
15059
|
break;
|
|
15060
15060
|
case "desc":
|
|
15061
|
-
n =
|
|
15061
|
+
n = Se.Asc;
|
|
15062
15062
|
break;
|
|
15063
15063
|
default:
|
|
15064
15064
|
n = e.modules.sort.startingDir;
|
|
@@ -15102,7 +15102,7 @@ const df = {
|
|
|
15102
15102
|
Array.isArray(e) || (e = [{ column: e, dir: t }]), e.forEach((s) => {
|
|
15103
15103
|
const o = this.table.columnManager?.findColumn(s.column);
|
|
15104
15104
|
if (o) {
|
|
15105
|
-
const n = o.modules.sort, a = s.dir ?? n?.startingDir ?? n?.dir ??
|
|
15105
|
+
const n = o.modules.sort, a = s.dir ?? n?.startingDir ?? n?.dir ?? Se.Asc;
|
|
15106
15106
|
i.push({
|
|
15107
15107
|
...s,
|
|
15108
15108
|
column: o,
|
|
@@ -15156,7 +15156,7 @@ const df = {
|
|
|
15156
15156
|
// clear sort arrows on columns
|
|
15157
15157
|
clearColumnHeaders() {
|
|
15158
15158
|
this.table.columnManager?.getRealColumns().forEach((e) => {
|
|
15159
|
-
e.modules.sort && (e.modules.sort.dir =
|
|
15159
|
+
e.modules.sort && (e.modules.sort.dir = Se.None, e.getElement().setAttribute("aria-sort", "none"), this.setColumnHeaderSortIcon(e, Se.None));
|
|
15160
15160
|
});
|
|
15161
15161
|
}
|
|
15162
15162
|
// set the column header sort direction
|
|
@@ -15197,7 +15197,7 @@ const df = {
|
|
|
15197
15197
|
}
|
|
15198
15198
|
// process individual rows for a sort function on active data
|
|
15199
15199
|
_sortRow(e, t, i, s, o) {
|
|
15200
|
-
const n = s ===
|
|
15200
|
+
const n = s === Se.Asc ? e : t, a = s === Se.Asc ? t : e;
|
|
15201
15201
|
let l = i.getFieldValue(n.getData()), h = i.getFieldValue(a.getData());
|
|
15202
15202
|
l = l ?? "", h = h ?? "";
|
|
15203
15203
|
const c = n.getComponent(), d = a.getComponent(), p = i.modules.sort.sorter;
|
|
@@ -15306,7 +15306,7 @@ class jn {
|
|
|
15306
15306
|
return this._sheet.setColumns(e);
|
|
15307
15307
|
}
|
|
15308
15308
|
}
|
|
15309
|
-
class $r extends
|
|
15309
|
+
class $r extends Me {
|
|
15310
15310
|
constructor(e, t) {
|
|
15311
15311
|
super(e.table), this.spreadsheetManager = e, this.definition = t, this.title = this.definition.title || "", this.key = this.definition.key || this.definition.title || "", this.rowCount = this.definition.rows, this.columnCount = this.definition.columns, this.data = this.definition.data || [], this.element = null, this.isActive = !1, this.grid = new pf(this.columnCount, this.rowCount), this.defaultColumnDefinition = {
|
|
15312
15312
|
headerHozAlign: "center",
|
|
@@ -15411,7 +15411,7 @@ class $r extends De {
|
|
|
15411
15411
|
}
|
|
15412
15412
|
// #endregion
|
|
15413
15413
|
}
|
|
15414
|
-
const
|
|
15414
|
+
const St = process.env.NODE_ENV === "development", Uo = class Uo extends I {
|
|
15415
15415
|
constructor(e) {
|
|
15416
15416
|
super(e), this.sheets = [], this.element = null, this.registerTableOption("spreadsheet", !1), this.registerTableOption("spreadsheetRows", 50), this.registerTableOption("spreadsheetColumns", 50), this.registerTableOption("spreadsheetColumnDefinition", {}), this.registerTableOption("spreadsheetOutputFull", !1), this.registerTableOption("spreadsheetData", !1), this.registerTableOption("spreadsheetSheets", !1), this.registerTableOption("spreadsheetSheetTabs", !1), this.registerTableOption("spreadsheetSheetTabsElement", !1), this.registerTableFunction("setSheets", this.setSheets.bind(this)), this.registerTableFunction("addSheet", this.addSheet.bind(this)), this.registerTableFunction("getSheets", this.getSheets.bind(this)), this.registerTableFunction(
|
|
15417
15417
|
"getSheetDefinitions",
|
|
@@ -15422,18 +15422,18 @@ const Rt = process.env.NODE_ENV === "development", Uo = class Uo extends I {
|
|
|
15422
15422
|
// //// Module Initialization //////
|
|
15423
15423
|
// /////////////////////////////////
|
|
15424
15424
|
initialize() {
|
|
15425
|
-
this.options("spreadsheet") && (this.subscribe("table-initialized", this.tableInitialized.bind(this)), this.subscribe("data-loaded", this.loadRemoteData.bind(this)), this.table.options.index = "_id", this.options("spreadsheetData") && this.options("spreadsheetSheets") && (
|
|
15425
|
+
this.options("spreadsheet") && (this.subscribe("table-initialized", this.tableInitialized.bind(this)), this.subscribe("data-loaded", this.loadRemoteData.bind(this)), this.table.options.index = "_id", this.options("spreadsheetData") && this.options("spreadsheetSheets") && (St && console.warn(
|
|
15426
15426
|
"You cannot use spreadsheetData and spreadsheetSheets at the same time, ignoring spreadsheetData"
|
|
15427
15427
|
), this.table.options.spreadsheetData = void 0), this.compatibilityCheck(), this.options("spreadsheetSheetTabs") && this.initializeTabset());
|
|
15428
15428
|
}
|
|
15429
15429
|
compatibilityCheck() {
|
|
15430
|
-
this.options("data") &&
|
|
15430
|
+
this.options("data") && St && console.warn(
|
|
15431
15431
|
"Do not use the data option when working with spreadsheets, use either spreadsheetData or spreadsheetSheets to pass data into the table"
|
|
15432
|
-
), this.options("pagination") &&
|
|
15432
|
+
), this.options("pagination") && St && console.warn(
|
|
15433
15433
|
"The spreadsheet module is not compatible with the pagination module"
|
|
15434
|
-
), this.options("groupBy") &&
|
|
15434
|
+
), this.options("groupBy") && St && console.warn(
|
|
15435
15435
|
"The spreadsheet module is not compatible with the row grouping module"
|
|
15436
|
-
), this.options("responsiveLayout") === "collapse" &&
|
|
15436
|
+
), this.options("responsiveLayout") === "collapse" && St && console.warn(
|
|
15437
15437
|
"The spreadsheet module is not compatible with the responsive collapse module"
|
|
15438
15438
|
);
|
|
15439
15439
|
}
|
|
@@ -15444,7 +15444,7 @@ const Rt = process.env.NODE_ENV === "development", Uo = class Uo extends I {
|
|
|
15444
15444
|
);
|
|
15445
15445
|
if (e && !(e instanceof HTMLElement)) {
|
|
15446
15446
|
const t = document.querySelector(e);
|
|
15447
|
-
t ? e = t : (
|
|
15447
|
+
t ? e = t : (St && console.warn(
|
|
15448
15448
|
"Unable to find element matching spreadsheetSheetTabsElement selector:",
|
|
15449
15449
|
this.options("spreadsheetSheetTabsElement")
|
|
15450
15450
|
), e = !1);
|
|
@@ -15463,7 +15463,7 @@ const Rt = process.env.NODE_ENV === "development", Uo = class Uo extends I {
|
|
|
15463
15463
|
* Ajax Parsing
|
|
15464
15464
|
*/
|
|
15465
15465
|
loadRemoteData(e) {
|
|
15466
|
-
return Array.isArray(e) ? (this.table.dataLoader?.clearAlert(), this.dispatchExternal("dataLoaded", e), !e.length || Array.isArray(e[0]) ? this.loadData(e) : this.loadSheets(e)) :
|
|
15466
|
+
return Array.isArray(e) ? (this.table.dataLoader?.clearAlert(), this.dispatchExternal("dataLoaded", e), !e.length || Array.isArray(e[0]) ? this.loadData(e) : this.loadSheets(e)) : St && console.error(
|
|
15467
15467
|
`Spreadsheet Loading Error - Unable to process remote data due to invalid data type
|
|
15468
15468
|
Expecting: array
|
|
15469
15469
|
Received: `,
|
|
@@ -15506,7 +15506,7 @@ Data: `,
|
|
|
15506
15506
|
removeSheet(e) {
|
|
15507
15507
|
const t = this.sheets.indexOf(e);
|
|
15508
15508
|
let i;
|
|
15509
|
-
this.sheets.length > 1 ? t > -1 && (this.sheets.splice(t, 1), e.destroy(), this.activeSheet === e && (i = this.sheets[t - 1] || this.sheets[0], i ? this.loadSheet(i) : this.activeSheet = null)) :
|
|
15509
|
+
this.sheets.length > 1 ? t > -1 && (this.sheets.splice(t, 1), e.destroy(), this.activeSheet === e && (i = this.sheets[t - 1] || this.sheets[0], i ? this.loadSheet(i) : this.activeSheet = null)) : St && console.warn("Unable to remove sheet, at least one sheet must be active");
|
|
15510
15510
|
}
|
|
15511
15511
|
lookupSheet(e) {
|
|
15512
15512
|
return e ? e instanceof $r ? e : e instanceof jn ? e._sheet : this.sheets.find((t) => t.key === e) ?? null : this.activeSheet;
|
|
@@ -15789,28 +15789,28 @@ const Wn = {
|
|
|
15789
15789
|
);
|
|
15790
15790
|
}
|
|
15791
15791
|
};
|
|
15792
|
-
function
|
|
15792
|
+
function _e(r) {
|
|
15793
15793
|
return function(e, t, i) {
|
|
15794
15794
|
return Wn[r](t, i);
|
|
15795
15795
|
};
|
|
15796
15796
|
}
|
|
15797
15797
|
const wf = {
|
|
15798
|
-
alphanumeric:
|
|
15799
|
-
boolean:
|
|
15800
|
-
date:
|
|
15801
|
-
ends:
|
|
15802
|
-
float:
|
|
15803
|
-
in:
|
|
15804
|
-
integer:
|
|
15805
|
-
max:
|
|
15806
|
-
maxLength:
|
|
15807
|
-
min:
|
|
15808
|
-
minLength:
|
|
15809
|
-
numeric:
|
|
15810
|
-
regex:
|
|
15811
|
-
required:
|
|
15812
|
-
starts:
|
|
15813
|
-
string:
|
|
15798
|
+
alphanumeric: _e("alphanumeric"),
|
|
15799
|
+
boolean: _e("boolean"),
|
|
15800
|
+
date: _e("date"),
|
|
15801
|
+
ends: _e("ends"),
|
|
15802
|
+
float: _e("float"),
|
|
15803
|
+
in: _e("in"),
|
|
15804
|
+
integer: _e("integer"),
|
|
15805
|
+
max: _e("max"),
|
|
15806
|
+
maxLength: _e("maxLength"),
|
|
15807
|
+
min: _e("min"),
|
|
15808
|
+
minLength: _e("minLength"),
|
|
15809
|
+
numeric: _e("numeric"),
|
|
15810
|
+
regex: _e("regex"),
|
|
15811
|
+
required: _e("required"),
|
|
15812
|
+
starts: _e("starts"),
|
|
15813
|
+
string: _e("string"),
|
|
15814
15814
|
// value must be unique in this column; reads sibling rows from the table,
|
|
15815
15815
|
// which is why it stays main-thread-only here.
|
|
15816
15816
|
unique(r, e, t) {
|
|
@@ -15830,20 +15830,20 @@ function vf(r) {
|
|
|
15830
15830
|
);
|
|
15831
15831
|
}
|
|
15832
15832
|
const yf = "cx-validation-request", Cf = "cx-validation-response";
|
|
15833
|
-
let
|
|
15833
|
+
let Tt, Ef = 0;
|
|
15834
15834
|
const xi = /* @__PURE__ */ new Map();
|
|
15835
15835
|
function Wr() {
|
|
15836
15836
|
xi.forEach(
|
|
15837
15837
|
(r) => r.reject(new Error("Validation worker failed"))
|
|
15838
|
-
), xi.clear(),
|
|
15838
|
+
), xi.clear(), Tt?.terminate(), Tt = void 0;
|
|
15839
15839
|
}
|
|
15840
15840
|
function xf() {
|
|
15841
|
-
return
|
|
15841
|
+
return Tt || (Tt = new vf(), Tt.addEventListener("message", (r) => {
|
|
15842
15842
|
if (r.origin !== "" || r.data?.type !== Cf)
|
|
15843
15843
|
return;
|
|
15844
15844
|
const { done: e, id: t, results: i } = r.data.payload, s = xi.get(t);
|
|
15845
15845
|
s && (s.accumulatedResults.push(...i), s.onChunk?.(i), e && (xi.delete(t), s.resolve(s.accumulatedResults)));
|
|
15846
|
-
}),
|
|
15846
|
+
}), Tt.addEventListener("error", Wr), Tt.addEventListener("messageerror", Wr)), Tt;
|
|
15847
15847
|
}
|
|
15848
15848
|
function Rf(r, e) {
|
|
15849
15849
|
return new Promise((t, i) => {
|
|
@@ -16620,7 +16620,7 @@ class Gn {
|
|
|
16620
16620
|
}
|
|
16621
16621
|
}
|
|
16622
16622
|
const qr = process.env.NODE_ENV === "development";
|
|
16623
|
-
class Df extends
|
|
16623
|
+
class Df extends Me {
|
|
16624
16624
|
constructor(e) {
|
|
16625
16625
|
super(e), this.blockHozScrollEvent = !1, this.headersElement = null, this.contentsElement = null, this.rowHeader = null, this.columns = [], this.columnsByIndex = [], this.columnsByField = {}, this.scrollLeft = 0, this.optionsList = new Gn(
|
|
16626
16626
|
this.table,
|
|
@@ -17059,7 +17059,7 @@ const Mf = {
|
|
|
17059
17059
|
dataReceiveParams: {}
|
|
17060
17060
|
// dependencies: {},
|
|
17061
17061
|
};
|
|
17062
|
-
class Lf extends
|
|
17062
|
+
class Lf extends Me {
|
|
17063
17063
|
constructor(e) {
|
|
17064
17064
|
super(e), this.active = !1, this.element = this.createElement(), this.containerElement = this.createContainerElement(), this.external = !1;
|
|
17065
17065
|
}
|
|
@@ -17413,7 +17413,7 @@ class _f extends Qi {
|
|
|
17413
17413
|
}
|
|
17414
17414
|
}
|
|
17415
17415
|
const $t = process.env.NODE_ENV === "development", zf = x`<div class="tabulator-tableholder-wrapper"></div>`;
|
|
17416
|
-
class Of extends
|
|
17416
|
+
class Of extends Me {
|
|
17417
17417
|
/**
|
|
17418
17418
|
* True when table has an explicit height (--table-height is set to a non-auto value (e.g. 100%, 500px));
|
|
17419
17419
|
* false when height is variable (--table-height is "auto" or unset).
|
|
@@ -17427,7 +17427,7 @@ class Of extends De {
|
|
|
17427
17427
|
}
|
|
17428
17428
|
// ////////////// Setup Functions /////////////////
|
|
17429
17429
|
createWrapperElement() {
|
|
17430
|
-
return
|
|
17430
|
+
return B(zf);
|
|
17431
17431
|
}
|
|
17432
17432
|
createHolderElement() {
|
|
17433
17433
|
const e = document.createElement("div");
|
|
@@ -17474,7 +17474,7 @@ class Of extends De {
|
|
|
17474
17474
|
*/
|
|
17475
17475
|
findRow(e) {
|
|
17476
17476
|
if (typeof e == "object") {
|
|
17477
|
-
if (e instanceof
|
|
17477
|
+
if (e instanceof ke)
|
|
17478
17478
|
return e;
|
|
17479
17479
|
if (e instanceof Ro)
|
|
17480
17480
|
return e._getSelf() || !1;
|
|
@@ -17576,7 +17576,7 @@ class Of extends De {
|
|
|
17576
17576
|
_setDataActual(e, t) {
|
|
17577
17577
|
this.dispatchExternal("dataProcessing", e), this._wipeElements(), Array.isArray(e) ? (this.dispatch("data-processing", e), e.forEach((i) => {
|
|
17578
17578
|
if (i && typeof i == "object") {
|
|
17579
|
-
const s = new
|
|
17579
|
+
const s = new ke(i, this);
|
|
17580
17580
|
this.rows.push(s), this.registerRowInMap(s);
|
|
17581
17581
|
} else $t && console.warn(
|
|
17582
17582
|
"Data Loading Warning - Invalid row data detected and ignored, expecting object but received:",
|
|
@@ -17629,7 +17629,7 @@ Data: `,
|
|
|
17629
17629
|
return (e ?? this.table.options.addRowPos) === "top";
|
|
17630
17630
|
}
|
|
17631
17631
|
addRowActual(e, t, i, s) {
|
|
17632
|
-
const o = e instanceof
|
|
17632
|
+
const o = e instanceof ke ? e : new ke(e || {}, this);
|
|
17633
17633
|
let n = t, a = -1, l, h;
|
|
17634
17634
|
return i || (h = this.chain("row-adding-position", [o, n], null, {
|
|
17635
17635
|
index: i,
|
|
@@ -17675,12 +17675,12 @@ Data: `,
|
|
|
17675
17675
|
nextDisplayRow(e, t) {
|
|
17676
17676
|
const i = this.getDisplayRowIndex(e);
|
|
17677
17677
|
let s = !1;
|
|
17678
|
-
return i !== !1 && i < this.displayRowsCount - 1 && (s = this.getDisplayRows()[i + 1]), s && (!(s instanceof
|
|
17678
|
+
return i !== !1 && i < this.displayRowsCount - 1 && (s = this.getDisplayRows()[i + 1]), s && (!(s instanceof ke) || s.type != "row") ? this.nextDisplayRow(s, t) : s;
|
|
17679
17679
|
}
|
|
17680
17680
|
prevDisplayRow(e, t) {
|
|
17681
17681
|
const i = this.getDisplayRowIndex(e);
|
|
17682
17682
|
let s = !1;
|
|
17683
|
-
return i && (s = this.getDisplayRows()[i - 1]), t && s && (!(s instanceof
|
|
17683
|
+
return i && (s = this.getDisplayRows()[i - 1]), t && s && (!(s instanceof ke) || s.type != "row") ? this.prevDisplayRow(s, t) : s;
|
|
17684
17684
|
}
|
|
17685
17685
|
findRowIndex(e, t) {
|
|
17686
17686
|
let i;
|
|
@@ -17989,7 +17989,7 @@ Data: `,
|
|
|
17989
17989
|
this.element.dispatchEvent(new Event("scroll"));
|
|
17990
17990
|
}
|
|
17991
17991
|
}
|
|
17992
|
-
class Af extends
|
|
17992
|
+
class Af extends Me {
|
|
17993
17993
|
constructor(e) {
|
|
17994
17994
|
super(e), this.type = null, this.element = this._createAlertElement(), this.msgElement = this._createMsgElement(), this.element.appendChild(this.msgElement);
|
|
17995
17995
|
}
|
|
@@ -18040,7 +18040,7 @@ class Pf {
|
|
|
18040
18040
|
}
|
|
18041
18041
|
}
|
|
18042
18042
|
}
|
|
18043
|
-
const _i = process.env.NODE_ENV === "development", Gi = class Gi extends
|
|
18043
|
+
const _i = process.env.NODE_ENV === "development", Gi = class Gi extends Me {
|
|
18044
18044
|
constructor(e) {
|
|
18045
18045
|
super(e), this.debounceTimer = null, this.pendingPromise = null, this.pendingResolve = null, this.pendingReject = null, this.requestOrder = 0, this.loading = !1, this.externalLoading = !1;
|
|
18046
18046
|
}
|
|
@@ -18148,7 +18148,7 @@ const _i = process.env.NODE_ENV === "development", Gi = class Gi extends De {
|
|
|
18148
18148
|
alertLoader() {
|
|
18149
18149
|
if ((this.pendingPromise || this.loading || this.externalLoading) && this.table.alertManager?.element.parentNode)
|
|
18150
18150
|
return;
|
|
18151
|
-
const e = typeof this.table.options.dataLoader == "function" ? this.table.options.dataLoader() : this.table.options.dataLoader, t = x`<cx-spinner aria-hidden="true"></cx-spinner>`, i =
|
|
18151
|
+
const e = typeof this.table.options.dataLoader == "function" ? this.table.options.dataLoader() : this.table.options.dataLoader, t = x`<cx-spinner aria-hidden="true"></cx-spinner>`, i = B(t);
|
|
18152
18152
|
e && this.table.alertManager?.alert(
|
|
18153
18153
|
this.table.options.dataLoaderLoading || i,
|
|
18154
18154
|
"loading"
|
|
@@ -18167,7 +18167,7 @@ const _i = process.env.NODE_ENV === "development", Gi = class Gi extends De {
|
|
|
18167
18167
|
Gi.DEBOUNCE_DELAY = 500;
|
|
18168
18168
|
let so = Gi;
|
|
18169
18169
|
const If = process.env.NODE_ENV === "development";
|
|
18170
|
-
class Hf extends
|
|
18170
|
+
class Hf extends Me {
|
|
18171
18171
|
constructor(e) {
|
|
18172
18172
|
super(e), this.deps = {}, this.props = {};
|
|
18173
18173
|
}
|
|
@@ -18210,7 +18210,7 @@ class Hf extends De {
|
|
|
18210
18210
|
}
|
|
18211
18211
|
}
|
|
18212
18212
|
const Nf = process.env.NODE_ENV === "development";
|
|
18213
|
-
class Vf extends
|
|
18213
|
+
class Vf extends Me {
|
|
18214
18214
|
constructor(e) {
|
|
18215
18215
|
super(e);
|
|
18216
18216
|
}
|
|
@@ -18302,7 +18302,7 @@ class Bf {
|
|
|
18302
18302
|
}
|
|
18303
18303
|
}
|
|
18304
18304
|
const $f = process.env.NODE_ENV === "development";
|
|
18305
|
-
class jf extends
|
|
18305
|
+
class jf extends Me {
|
|
18306
18306
|
constructor(e) {
|
|
18307
18307
|
super(e), this.el = null, this.abortClasses = ["tabulator-headers", "tabulator-table"], this.previousTargets = {}, this.listeners = [
|
|
18308
18308
|
"click",
|
|
@@ -18453,7 +18453,7 @@ class jf extends De {
|
|
|
18453
18453
|
s.components.includes("column") && (h = this.table.columnManager?.findColumn(c));
|
|
18454
18454
|
break;
|
|
18455
18455
|
case "cell":
|
|
18456
|
-
s.components.includes("cell") && (o.row instanceof
|
|
18456
|
+
s.components.includes("cell") && (o.row instanceof ke ? h = o.row.findCell(c) : $f && t.row && console.warn(
|
|
18457
18457
|
"Event Target Lookup Error - The row this cell is attached to cannot be found, has the table been reinitialized without being destroyed first?"
|
|
18458
18458
|
));
|
|
18459
18459
|
break;
|
|
@@ -18859,7 +18859,7 @@ Qe.registry = {
|
|
|
18859
18859
|
return i;
|
|
18860
18860
|
},
|
|
18861
18861
|
matchElement(e) {
|
|
18862
|
-
return Qe.registry.tables.find((t) => e instanceof
|
|
18862
|
+
return Qe.registry.tables.find((t) => e instanceof _t ? t === e : t.element === e);
|
|
18863
18863
|
},
|
|
18864
18864
|
register(e) {
|
|
18865
18865
|
Qe.registry.tables.push(e);
|
|
@@ -19353,20 +19353,20 @@ const he = process.env.NODE_ENV === "development", yt = class yt extends lo {
|
|
|
19353
19353
|
}
|
|
19354
19354
|
};
|
|
19355
19355
|
yt.defaultOptions = Mf;
|
|
19356
|
-
let
|
|
19357
|
-
class Zf extends
|
|
19356
|
+
let _t = yt;
|
|
19357
|
+
class Zf extends _t {
|
|
19358
19358
|
static extendModule(...e) {
|
|
19359
|
-
|
|
19359
|
+
_t.initializeModuleBinder(ls), _t._extendModule(...e);
|
|
19360
19360
|
}
|
|
19361
19361
|
static registerModule(...e) {
|
|
19362
|
-
|
|
19362
|
+
_t.initializeModuleBinder(ls), _t._registerModule(...e);
|
|
19363
19363
|
}
|
|
19364
19364
|
constructor(e, t) {
|
|
19365
19365
|
super(e, t, ls);
|
|
19366
19366
|
}
|
|
19367
19367
|
// #endregion
|
|
19368
19368
|
}
|
|
19369
|
-
var
|
|
19369
|
+
var Ot = /* @__PURE__ */ ((r) => (r.Multiple = "multiple", r.Single = "single", r))(Ot || {}), nt = /* @__PURE__ */ ((r) => (r.Checkbox = "checkbox", r.DatePicker = "date-picker", r.DateRange = "date-range", r))(nt || {}), Hi = /* @__PURE__ */ ((r) => (r.Checkbox = "checkbox", r.DatePicker = "datePicker", r.DateRangePicker = "dateRangePicker", r))(Hi || {}), Ni = /* @__PURE__ */ ((r) => (r.ShowPreset = "showPreset", r.ShowTime = "showTime", r))(Ni || {});
|
|
19370
19370
|
class Un {
|
|
19371
19371
|
#e;
|
|
19372
19372
|
#i;
|
|
@@ -19458,7 +19458,7 @@ let ue = class extends Pe {
|
|
|
19458
19458
|
constructor() {
|
|
19459
19459
|
super(...arguments), this.localize = new tt(this), this.shadowRootAutoloader = new Un(
|
|
19460
19460
|
this
|
|
19461
|
-
), this.facets = [], this.availableFacets = [], this.selectedFacets = {}, this.selectedDateRanges = {}, this.selection =
|
|
19461
|
+
), this.facets = [], this.availableFacets = [], this.selectedFacets = {}, this.selectedDateRanges = {}, this.selection = Ot.Single, this.loading = !1, this.externalFilters = [], this.appliedFiltersCount = 0, this.internalSelection = {}, this.internalDateRanges = {}, this.mappedDisplayNames = {}, this.facetDetailsByField = /* @__PURE__ */ new Map();
|
|
19462
19462
|
}
|
|
19463
19463
|
handleFacetsChange() {
|
|
19464
19464
|
this.mappedDisplayNames = this.facets.reduce(
|
|
@@ -19525,7 +19525,7 @@ let ue = class extends Pe {
|
|
|
19525
19525
|
const t = r.target.type;
|
|
19526
19526
|
if (!t)
|
|
19527
19527
|
return;
|
|
19528
|
-
const i = this.getFacetSelectionMode(t) ===
|
|
19528
|
+
const i = this.getFacetSelectionMode(t) === Ot.Single;
|
|
19529
19529
|
let s = r.detail.selection;
|
|
19530
19530
|
if (i && s.length > 1) {
|
|
19531
19531
|
const n = new Set(this.internalSelection[t] ?? []), a = s.find(
|
|
@@ -19680,12 +19680,12 @@ ue.dependencies = {
|
|
|
19680
19680
|
"cx-button": Et,
|
|
19681
19681
|
"cx-details": Qa,
|
|
19682
19682
|
"cx-dropdown": ai,
|
|
19683
|
-
"cx-icon":
|
|
19683
|
+
"cx-icon": xt,
|
|
19684
19684
|
"cx-icon-button": oi,
|
|
19685
19685
|
"cx-space": Ri,
|
|
19686
19686
|
"cx-spinner": wn,
|
|
19687
19687
|
"cx-tag": Za,
|
|
19688
|
-
"cx-tooltip":
|
|
19688
|
+
"cx-tooltip": It
|
|
19689
19689
|
};
|
|
19690
19690
|
ye([
|
|
19691
19691
|
f({ type: Array })
|
|
@@ -19778,7 +19778,7 @@ function hm(r) {
|
|
|
19778
19778
|
if (i === -1)
|
|
19779
19779
|
continue;
|
|
19780
19780
|
const s = t.slice(0, i), o = s.indexOf("|"), n = o === -1 ? s : s.slice(0, o), a = o === -1 ? n : s.slice(o + 1), [l, ...h] = t.slice(i + 1).split("-");
|
|
19781
|
-
l === Hi.Checkbox && (h.includes(
|
|
19781
|
+
l === Hi.Checkbox && (h.includes(Ot.Single) || h.includes(Ot.Multiple)) ? e.set(n, {
|
|
19782
19782
|
displayName: a,
|
|
19783
19783
|
facetFieldName: n,
|
|
19784
19784
|
selection: cm(h),
|
|
@@ -19801,7 +19801,7 @@ function hm(r) {
|
|
|
19801
19801
|
return e;
|
|
19802
19802
|
}
|
|
19803
19803
|
function cm(r) {
|
|
19804
|
-
return r.includes(
|
|
19804
|
+
return r.includes(Ot.Multiple) ? Ot.Multiple : Ot.Single;
|
|
19805
19805
|
}
|
|
19806
19806
|
function Zr(r) {
|
|
19807
19807
|
return r.find((e) => am.has(e));
|
|
@@ -20227,7 +20227,7 @@ class fm {
|
|
|
20227
20227
|
)?.formatterParams?.disabled;
|
|
20228
20228
|
}
|
|
20229
20229
|
}
|
|
20230
|
-
const mm = Z`.tabulator .tabulator-alert{z-index:100;background:color-mix(in srgb, var(--cx-color-neutral-0) 40%, transparent);text-align:center;align-items:center;width:100%;height:100%;display:flex;position:absolute;top:0;left:0}.tabulator .tabulator-alert.tabulator-alert-state-loading{--loading-offset:var(--cx-spacing-x-small);top:calc(var(--header-height,var(--cx-spacing-3x-large)) + var(--border-width) + var(--loading-offset));height:calc(100% - var(--header-height,var(--cx-spacing-3x-large)) - var(--border-width) - var(--loading-offset))}.tabulator.tabulator-header-hidden .tabulator-alert.tabulator-alert-state-loading{height:100%;top:0}.tabulator .tabulator-alert .tabulator-alert-msg{padding:var(--cx-spacing-small) var(--cx-spacing-large);border-radius:var(--cx-border-radius-x-large);background:var(--cx-color-neutral-0);font-weight:700;font-size:var(--cx-font-size-medium);margin:0 auto;display:inline-block}.tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-msg{color:var(--cx-color-neutral-1000)}.tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-error{border:4px solid var(--cx-color-danger);color:var(--cx-color-danger-900)}`, gm = Z`:host{--width:100%;--table-height:var(--height,auto);--table-min-height:var(--min-height,0);--table-max-height:var(--max-height,auto);--color:var(--cx-color-neutral-900);--background-color:var(--cx-color-neutral-0);--border-width:var(--cx-input-border-width);--border-color:var(--cx-color-neutral-200);--outer-border-color:var(--border-color);--border-radius:var(--cx-border-radius-medium);--row-background-color:var(--cx-color-neutral-0);--row-even-background-color:var(--cx-color-neutral-0);--row-hover-background-color:var(--cx-color-neutral-0);--row-even-hover-background-color:var(--cx-color-neutral-0);--frozen-border-color:var(--cx-color-neutral-200);--header-background-color:var(--cx-color-neutral-50);--header-hover-background-color:var(--cx-color-primary-50);--header-font-weight:var(--cx-font-weight-medium);--header-font-size:var(--cx-font-size-x-small);--header-color:var(--cx-color-neutral-700);--header-border-right:1px solid var(--cx-color-neutral-200);--header-border-bottom:none;--header-height:var(--cx-spacing-3x-large);--header-horizontal-padding:var(--cx-spacing-large);--body-background-color:var(--cx-color-neutral-0);--cell-border-color:transparent;--cell-bottom-border-color:var(--cx-color-neutral-200);--cell-horizontal-padding:var(--cx-spacing-large);--cell-font-size:var(--cx-font-size-small);--cell-font-weight:var(--cx-font-weight-regular);--cell-line-height:normal;--cell-hover-background-color:var(--cx-color-neutral-50);--group-count-color:var(--cx-color-danger-500);--group-row-background-color:var(--row-background-color);--group-row-hover-background-color:var(--row-hover-background-color);--group-row-border-color:var(--cx-color-neutral-200);--group-row-color:var(--cx-color-neutral-900);--group-row-font-weight:var(--cx-font-weight-medium);--row-header-border-color:var(--cx-color-neutral-200);--tabulator-tree-control-width:18px;--tabulator-tree-child-indent:9px;--tabulator-tree-step:calc(var(--tabulator-tree-control-width) + var(--tabulator-tree-child-indent));isolation:isolate;width:var(--width);display:block}.container{height:100%}.tabulator{background-color:var(--background-color);font-size:var(--font-size,var(--cx-font-size-small));text-align:left;height:var(--table-height);min-height:var(--table-min-height);max-height:var(--table-max-height);border-radius:var(--cx-border-radius-medium);flex-direction:column;line-height:normal;display:flex;position:relative;overflow:hidden}.tabulator[data-overlayscrollbars]{flex-direction:column}.tabulator[data-overlayscrollbars-viewport="scrollbarHidden overflowXHidden overflowYHidden"]{display:flex}.tabulator>[data-overlayscrollbars-viewport]{flex-direction:column;display:flex}.tabulator.tabulator-overflow-x{border-inline:var(--border-width) solid var(--outer-border-color);border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.tabulator[tabulator-layout=fitDataFill] .tabulator-tableholder .tabulator-table{min-width:100%}.tabulator[tabulator-layout=fitDataTable]{display:inline-block}.tabulator.tabulator-block-select,.tabulator.tabulator-ranges .tabulator-cell:not(.tabulator-editing){user-select:none}.tabulator .tabulator-tableholder-wrapper{flex:1;width:max-content;display:flex;position:relative;overflow:hidden}.tabulator .tabulator-tableholder{white-space:nowrap;-webkit-overflow-scrolling:touch;border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);flex:1;width:max-content;position:relative;overflow:auto}.tabulator .tabulator-tableholder-wrapper:before{content:"";z-index:1;pointer-events:none;border:var(--border-width) solid var(--outer-border-color);border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);width:100%;height:100%;display:block;position:absolute;top:0;left:0}.tabulator.tabulator-header-hidden .tabulator-tableholder-wrapper:before{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.tabulator .tabulator-tableholder:focus{outline:none}.tabulator .tabulator-tableholder .tabulator-table{background-color:var(--body-background-color,var(--cx-color-neutral-0));white-space:nowrap;color:var(--color);min-width:100%;display:inline-block;position:relative;overflow:visible}`, bm = Z`.tabulator .tabulator-header .tabulator-calcs-holder{box-sizing:border-box;border-top:var(--border-width) solid var(--cx-color-neutral-400);border-bottom:var(--border-width) solid var(--cx-color-neutral-400);display:inline-block;background:var(--cx-color-neutral-100)!important}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row{background:var(--cx-color-neutral-100)!important}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs{font-weight:700;background:var(--cx-color-neutral-200)!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-top{border-bottom:2px solid var(--cx-color-neutral-400)}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-bottom{border-top:2px solid var(--cx-color-neutral-400)}.tabulator .tabulator-footer .tabulator-calcs-holder{box-sizing:border-box;text-align:left;border-bottom:1px solid var(--cx-color-neutral-400);border-top:1px solid var(--cx-color-neutral-400);width:100%;overflow:hidden;background:var(--cx-color-neutral-100)!important}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row{display:inline-block;background:var(--cx-color-neutral-100)!important}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-footer .tabulator-calcs-holder:only-child{border-bottom:none;margin-bottom:-5px}`, wm = Z`.tabulator-clickable-cell{color:var(--clickable-cell-color,var(--cx-color-primary-600));cursor:pointer}.tabulator-clickable-cell:hover{text-decoration:underline}.tabulator-clickable-cell cx-icon,.tabulator-clickable-cell cx-icon-button{color:var(--color)}`, vm = Z`.tabulator-row .tabulator-cell .tabulator-data-tree-branch-empty{display:none}.tabulator-row .tabulator-cell .tabulator-data-tree-branch{border-left:2px solid var(--cx-color-neutral-400);border-bottom:2px solid var(--cx-color-neutral-400);border-bottom-left-radius:1px;width:7px;height:9px;margin-top:-9px;position:absolute}.tabulator-row .tabulator-cell .tabulator-data-tree-control{flex:0 0 var(--tabulator-tree-control-width);vertical-align:middle;width:var(--tabulator-tree-control-width);justify-content:center;align-items:center;display:inline-flex}`, ym = Z`.tabulator-row .tabulator-cell.tabulator-editing{padding:0 var(--cell-horizontal-padding);outline:none}.tabulator:not(.tabulator-ranges) .tabulator-row .tabulator-cell.tabulator-editing input,.tabulator:not(.tabulator-ranges) .tabulator-row .tabulator-cell.tabulator-editing select{font-size:inherit;color:inherit;border-radius:var(--cx-input-border-radius-medium);background:0 0;border:none;outline:none;padding:0;font-family:inherit}.tabulator-ranges .tabulator-row .tabulator-cell.tabulator-editing input,.tabulator-ranges .tabulator-row .tabulator-cell.tabulator-editing select{border:var(--border-width) solid var(--border-color);background:0 0;outline:none}.tabulator-row .tabulator-cell.tabulator-validation-fail{border:var(--border-width) solid var(--cx-color-danger);background:var(--cx-color-danger-100)}.tabulator-row .tabulator-cell.tabulator-validation-fail input,.tabulator-row .tabulator-cell.tabulator-validation-fail select{border:var(--border-width) solid var(--border-color);color:var(--cx-color-danger);background:0 0}.tabulator-row .tabulator-cell.tabulator-editing.tabulator-edit-list{padding:0 var(--cx-spacing-x-small)}.tabulator-edit-list{position:relative}.tabulator-edit-list:not(.tabulator-editing) .tabulator-cell-content{padding-right:var(--cx-spacing-large)}.tabulator-edit-list-trigger{top:50%;right:var(--cx-spacing-small);width:var(--cx-spacing-large);appearance:none;height:100%;color:inherit;cursor:pointer;font:inherit;background:0 0;border:none;justify-content:center;align-items:center;padding:0;display:inline-flex;position:absolute;transform:translateY(-50%)}.tabulator-edit-list.tabulator-editing .tabulator-edit-list-trigger{display:none}.tabulator-edit-list-trigger-caret{--font-size:var(--cx-font-size-medium);color:var(--cx-color-neutral-500)}`, Cm = Z`.tabulator .tabulator-footer{border-top:1px solid var(--cx-color-neutral-400);background-color:var(--cx-color-neutral-200);color:var(--cx-color-neutral-500);white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;user-select:none;-khtml-user-select:none;-o-user-select:none;font-weight:700}.tabulator .tabulator-footer .tabulator-footer-contents{padding:var(--cx-spacing-2x-small) var(--cx-spacing-small);flex-direction:row;justify-content:space-between;align-items:center;display:flex}.tabulator .tabulator-footer .tabulator-footer-contents:empty{display:none}`, Em = Z`.tabulator-row .tabulator-cell a{color:var(--cx-color-primary-600);text-decoration:none}.tabulator-row .tabulator-cell a:hover{text-decoration:underline}.tabulator-row .tabulator-cell .tabulator-traffic-light-container{align-items:center;gap:var(--cx-spacing-x-small);display:inline-flex}.tabulator-row .tabulator-cell .tabulator-traffic-light{border-radius:var(--cx-border-radius-x-large);width:14px;height:14px;display:inline-block}.tabulator-composite,.tabulator-composite>span,.tabulator-composite>span>cx-line-clamp{min-width:0}.tabulator-composite,.tabulator-composite>span{overflow:hidden}.tabulator-composite>span:has(cx-icon,img,cx-avatar,cx-switch){flex-shrink:0}`, xm = Z`.tabulator-row.tabulator-group{box-sizing:border-box;border-bottom:var(--border-width) solid var(--group-row-border-color);border-right:var(--border-width) solid var(--group-row-border-color);padding:var(--cx-spacing-2x-small);padding-left:var(--cx-spacing-small);background:var(--group-row-background-color);min-width:100%;line-height:var(--header-height);color:var(--group-row-color);font-weight:var(--group-row-font-weight)}.tabulator-row.tabulator-group.tabulator-row-last{border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius)}@media (hover:hover) and (pointer:fine){.tabulator-row.tabulator-group:hover{cursor:pointer;background-color:var(--group-row-hover-background-color)}}.tabulator-row.tabulator-group.tabulator-group-level-1{padding-left:30px}.tabulator-row.tabulator-group.tabulator-group-level-2{padding-left:50px}.tabulator-row.tabulator-group.tabulator-group-level-3{padding-left:70px}.tabulator-row.tabulator-group.tabulator-group-level-4{padding-left:90px}.tabulator-row.tabulator-group.tabulator-group-level-5{padding-left:110px}.tabulator-row.tabulator-group .tabulator-group-toggle{display:inline-flex}.tabulator-row.tabulator-group .tabulator-group-count{margin-left:var(--cx-spacing-small);color:var(--group-count-color)}`, Rm = Z`:host{--selected-column-header-background-color:var(--header-background-color);--selected-column-header-color:var(--header-color)}.tabulator .tabulator-header{box-sizing:border-box;width:max-content;font-weight:var(--header-font-weight);font-size:var(--header-font-size);color:var(--header-color);white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-khtml-user-select:none;-o-user-select:none;outline:none;position:relative}.tabulator .tabulator-header.tabulator-header-hidden{display:none}.tabulator .tabulator-header .tabulator-header-contents{box-sizing:border-box;width:max-content;position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-header-contents:before{content:"";z-index:1;pointer-events:none;border:var(--border-width) solid var(--outer-border-color);border-bottom:var(--header-border-bottom);border-top-right-radius:var(--border-radius);border-top-left-radius:var(--border-radius);width:100%;height:100%;display:block;position:absolute;top:0;left:0}.tabulator .tabulator-header .tabulator-col:last-of-type{border-right:none}.tabulator .tabulator-header .tabulator-header-contents .tabulator-headers{background-color:var(--header-background-color);display:inline-block}.tabulator .tabulator-header .tabulator-col{box-sizing:border-box;border-right:var(--header-border-right);background:var(--header-background-color);text-align:left;vertical-align:bottom;height:var(--header-height);flex-direction:column;justify-content:center;display:inline-flex;position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-col.tabulator-moving{border:solid var(--border-width) var(--border-color);background:var(--cx-color-neutral-300);pointer-events:none;position:absolute}.tabulator .tabulator-header .tabulator-col.tabulator-range-highlight{background-color:var(--selected-column-header-background-color);color:var(--selected-column-header-color)}.tabulator .tabulator-header .tabulator-col.tabulator-range-selected{background-color:var(--cx-color-primary-500);color:var(--cx-color-neutral-0)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content{box-sizing:border-box;padding:var(--cx-spacing-2x-small) var(--header-horizontal-padding);position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button{padding:0 var(--cx-spacing-x-small)}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button:hover{cursor:pointer;opacity:.6}}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title-holder{position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title{box-sizing:border-box;white-space:nowrap;text-overflow:ellipsis;vertical-align:bottom;width:100%;overflow:hidden}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title.tabulator-col-title-wrap{white-space:normal;text-overflow:initial}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-title-editor{box-sizing:border-box;border:solid var(--border-width) var(--border-color);width:100%;padding:var(--cx-spacing-3x-small);background:var(--cx-color-neutral-0)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-header-popup-button+.tabulator-title-editor{width:calc(100% - 22px)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{align-items:center;display:flex;position:absolute;top:0;bottom:0;right:4px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-left:6px solid #0000;border-right:6px solid #0000;border-bottom:6px solid var(--cx-color-neutral-200);width:0;height:0}.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{border-top:1px solid var(--cx-color-neutral-400);margin-right:-1px;display:flex;position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter{box-sizing:border-box;margin-top:var(--cx-spacing-3x-small);text-align:center;width:100%;position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter textarea{height:auto!important}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter svg{margin-top:var(--cx-spacing-3x-small)}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input::-ms-clear{width:0;height:0}.tabulator .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:var(--cx-spacing-x-large)}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable.tabulator-col-sorter-element:hover{cursor:pointer}.tabulator .tabulator-header .tabulator-col:hover{background-color:var(--header-hover-background-color)}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter{color:var(--cx-color-neutral-200)}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-bottom:6px solid var(--cx-color-neutral-500)}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid var(--cx-color-neutral-200)}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter{color:var(--cx-color-neutral-600)}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-bottom:6px solid var(--cx-color-neutral-500)}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid var(--cx-color-neutral-600)}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter{color:var(--cx-color-neutral-600)}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-top:6px solid var(--cx-color-neutral-500)}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-bottom:none;border-top:6px solid var(--cx-color-neutral-600);color:var(--cx-color-neutral-600)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical .tabulator-col-content .tabulator-col-title{writing-mode:vertical-rl;text-orientation:mixed;justify-content:center;align-items:center;display:flex}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-col-vertical-flip .tabulator-col-title{transform:rotate(180deg)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-title{padding-right:0;padding-top:var(--cx-spacing-large)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable.tabulator-col-vertical-flip .tabulator-col-title{padding-right:0;padding-bottom:var(--cx-spacing-large)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-sorter{justify-content:center;inset:4px 0 auto}.tabulator .tabulator-header .tabulator-frozen{z-index:11;position:sticky;left:0}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-left{border-right:2px solid var(--frozen-border-color)}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-right{border-left:2px solid var(--frozen-border-color)}.tabulator .tabulator-header .tabulator-frozen-rows-holder{border-bottom:2px solid var(--frozen-border-color);display:inline-block}.tabulator .tabulator-header .tabulator-frozen-rows-holder:empty{display:none}`, Sm = Z`:host{--hover-menu-background-color:transparent}.tabulator-hover-menu{padding-left:var(--cell-horizontal-padding);padding-right:var(--cell-horizontal-padding);background-color:var(--hover-menu-background-color);opacity:0;pointer-events:none;z-index:12;align-items:center;height:100%;display:flex;position:absolute;top:0}.tabulator:not(.tabulator-editing) .tabulator-hover-menu--active{opacity:1;pointer-events:auto}`, Tm = Z`.tabulator-row .tabulator-cell.tabulator-row-handle{-webkit-user-select:none;-moz-user-select:none;-khtml-user-select:none;-o-user-select:none;justify-content:center;align-items:center;display:inline-flex}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box{width:80%}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box .tabulator-row-handle-bar{width:100%;height:3px;margin-top:var(--cx-spacing-3x-small);background:var(--cx-color-neutral-600)}`, km = Z`.tabulator .tabulator-footer .tabulator-paginator{flex:1}.tabulator .tabulator-footer .tabulator-paginator-pagination{margin-left:auto}.tabulator-paginator-pagination{--font-size:var(--cx-font-size-x-small);--pagination-input-font-size:var(--cx-font-size-x-small)}.tabulator-paginator-pagination::part(back-icon),.tabulator-paginator-pagination::part(next-icon){--font-size:var(--cx-font-size-medium)}`, Dm = Z`:host{--placeholder-color:var(--cx-color-neutral-800);--placeholder-font-weight:var(--cx-font-weight-regular);--placeholder-font-size:var(--cx-font-size-small)}.tabulator .tabulator-tableholder-wrapper .tabulator-placeholder{box-sizing:border-box;justify-content:center;align-items:center;width:100%;min-width:100%;display:flex}.tabulator .tabulator-tableholder-wrapper .tabulator-placeholder[tabulator-render-mode=virtual]{min-height:100%}.tabulator .tabulator-placeholder .tabulator-placeholder-contents{height:100%;padding:var(--cx-spacing-small);color:var(--placeholder-color);font-weight:var(--placeholder-font-weight);font-size:var(--placeholder-font-size);white-space:normal;justify-content:center;align-items:center;display:flex}.tabulator .tabulator-tableholder-wrapper .tabulator-placeholder.tabulator-placeholder--initializing .tabulator-placeholder-contents{visibility:hidden}.tabulator.tabulator-all-columns-hidden .tabulator-header{width:100%;height:var(--header-height);min-height:var(--header-height)}.tabulator.tabulator-all-columns-hidden .tabulator-header .tabulator-header-contents{background-color:var(--header-background-color);flex-direction:column;width:100%;height:100%;min-height:0;display:flex}.tabulator.tabulator-all-columns-hidden .tabulator-header .tabulator-header-contents:before{box-sizing:border-box;width:auto;height:auto;inset:0}.tabulator.tabulator-all-columns-hidden .tabulator-header .tabulator-header-contents .tabulator-headers{box-sizing:border-box;flex:1;align-self:stretch;width:100%;min-height:0;display:flex}.tabulator.tabulator-all-columns-hidden .tabulator-tableholder-wrapper{width:100%}.tabulator-row.tabulator-placeholder-row{border-left:var(--border-width) solid var(--cell-border-color);border-right:var(--border-width) solid var(--cell-border-color);border-bottom:var(--border-width) solid var(--cell-bottom-border-color);padding:var(--cx-spacing-2x-small) var(--cell-horizontal-padding)}`, Mm = Z`.tabulator-toggle{box-sizing:border-box;border:var(--border-width) solid var(--cx-color-neutral-300);background:var(--cx-color-neutral-200);flex-direction:row;display:flex}.tabulator-toggle.tabulator-toggle-on{background:var(--cx-color-primary-700)}.tabulator-toggle .tabulator-toggle-switch{box-sizing:border-box;border:var(--border-width) solid var(--cx-color-neutral-300);background:var(--cx-color-neutral-0)}.tabulator-popup-container{box-sizing:border-box;background:var(--cx-color-neutral-0);border:var(--border-width) solid var(--cx-color-neutral-400);font-size:var(--cx-font-size-small);-webkit-overflow-scrolling:touch;z-index:10000;display:inline-block;position:absolute;overflow-y:auto;box-shadow:0 0 5px #0003}.tabulator-popup{padding:var(--cx-spacing-2x-small);border-radius:var(--cx-border-radius-small)}.tabulator-tooltip{max-width:min(500px,100%);padding:var(--cx-spacing-3x-small) var(--cx-spacing-2x-small);border-radius:var(--cx-border-radius-small);box-shadow:none;font-size:var(--cx-font-size-x-small);pointer-events:none}.tabulator-menu .tabulator-menu-item{box-sizing:border-box;padding:var(--cx-spacing-2x-small) var(--cx-spacing-small);user-select:none;position:relative}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-disabled{opacity:.5}@media (hover:hover) and (pointer:fine){.tabulator-menu .tabulator-menu-item:not(.tabulator-menu-item-disabled):hover{cursor:pointer;background:var(--cx-color-neutral-50)}}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu{padding-right:var(--cx-spacing-x-large)}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu:after{content:"";border-width:var(--border-width) var(--border-width) 0 0;border-style:solid;border-color:var(--cx-color-neutral-400);vertical-align:top;width:7px;height:7px;display:inline-block;position:absolute;top:calc(5px + .4em);right:10px;transform:rotate(45deg)}.tabulator-menu .tabulator-menu-separator{border-top:var(--border-width) solid var(--cx-color-neutral-400)}`, Lm = Z`.tabulator-print-fullscreen{z-index:10000;position:absolute;inset:0}body.tabulator-print-fullscreen-hide>:not(.tabulator-print-fullscreen){display:none!important}.tabulator-print-table{border-collapse:collapse}.tabulator-print-table .tabulator-data-tree-branch{vertical-align:middle;width:7px;height:9px;margin-top:-9px;margin-right:var(--cx-spacing-2x-small);border-left:2px solid var(--cx-color-neutral-400);border-bottom:2px solid var(--cx-color-neutral-400);border-bottom-left-radius:1px;display:inline-block}.tabulator-print-table .tabulator-print-table-group{box-sizing:border-box;border-bottom:var(--border-width) solid var(--cx-color-neutral-400);border-right:var(--border-width) solid var(--cx-color-neutral-400);border-top:var(--border-width) solid var(--cx-color-neutral-400);padding:var(--cx-spacing-2x-small);padding-left:var(--cx-spacing-small);background:var(--cx-color-neutral-300);min-width:100%;font-weight:700}@media (hover:hover) and (pointer:fine){.tabulator-print-table .tabulator-print-table-group:hover{cursor:pointer;background-color:#0000001a}}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-1 td{padding-left:30px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-2 td{padding-left:50px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-3 td{padding-left:70px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-4 td{padding-left:90px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-5 td{padding-left:110px!important}.tabulator-print-table .tabulator-print-table-group .tabulator-group-toggle{display:inline-block}.tabulator-print-table .tabulator-print-table-group span{margin-left:var(--cx-spacing-small);color:var(--cx-color-danger)}`, Fm = Z`.tabulator .tabulator-col-resize-handle{z-index:11;vertical-align:middle;width:6px;margin-left:-3px;margin-right:-3px;display:inline-block;position:relative}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-col-resize-handle:hover{cursor:ew-resize}}.tabulator .tabulator-col-resize-handle:last-of-type{width:3px;margin-right:0}.tabulator .tabulator-col-resize-guide{background-color:var(--cx-color-neutral-400);opacity:.5;width:4px;height:100%;margin-left:-.5px;position:absolute;top:0}.tabulator .tabulator-row-resize-guide{background-color:var(--cx-color-neutral-400);opacity:.5;width:100%;height:4px;margin-top:-.5px;position:absolute;left:0}`, _m = Z`.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle{-webkit-user-select:none;-moz-user-select:none;user-select:none;-khtml-user-select:none;-o-user-select:none;border-radius:var(--cx-border-radius-x-large);background:var(--cx-color-neutral-600);width:15px;height:15px;color:var(--cx-color-neutral-0);justify-content:center;align-items:center;font-size:1.1em;font-weight:700;display:inline-flex}@media (hover:hover) and (pointer:fine){.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle:hover{opacity:.7;cursor:pointer}}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-close{display:initial}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-open{display:none}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle svg{stroke:var(--cx-color-neutral-0)}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle .tabulator-responsive-collapse-toggle-close{display:none}`, zm = Z`.tabulator-row{box-sizing:border-box;background-color:var(--row-background-color);min-height:22px;display:flex;position:relative}.tabulator-row .tabulator-cell-first{border-left:var(--border-width) solid var(--outer-border-color)}.tabulator-row.tabulator-row-even{background-color:var(--row-even-background-color)}@media (hover:hover) and (pointer:fine){.tabulator-row.tabulator-selectable:hover{background-color:var(--row-hover-background-color);cursor:pointer}.tabulator-row.tabulator-row-even.tabulator-selectable:hover{background-color:var(--row-even-hover-background-color);cursor:pointer}}.tabulator-cell.tabulator-selection-cell-disabled cx-checkbox{--cx-checkbox-disabled-background:var(--cx-color-neutral-100);--cx-checkbox-disabled-border-color:var(--cx-color-neutral-200)}.tabulator-row.tabulator-selected:not(:has(cx-checkbox)){background-color:var(--cx-color-primary-200)}@media (hover:hover) and (pointer:fine){.tabulator-row.tabulator-selected:not(:has(cx-checkbox)):hover{background-color:var(--cx-color-primary-300);cursor:pointer}}.tabulator-row.tabulator-row-moving{border:var(--border-width) solid var(--cx-color-neutral-1000);background:var(--cx-color-neutral-0)}.tabulator-row.tabulator-moving{border-top:var(--border-width) solid var(--cx-color-neutral-400);border-bottom:var(--border-width) solid var(--cx-color-neutral-400);pointer-events:none;z-index:15;position:absolute}.tabulator-header-hidden .tabulator-row.tabulator-row-first .tabulator-cell.tabulator-cell-last{border-top-right-radius:var(--border-radius)}.tabulator-row .tabulator-row-resize-handle{height:5px;position:absolute;bottom:0;left:0;right:0}.tabulator-row .tabulator-row-resize-handle.prev{top:0;bottom:auto}@media (hover:hover) and (pointer:fine){.tabulator-row .tabulator-row-resize-handle:hover{cursor:ns-resize}}.tabulator-row .tabulator-responsive-collapse{box-sizing:border-box;padding:var(--cx-spacing-2x-small);border-top:var(--border-width) solid var(--cx-color-neutral-400);border-bottom:var(--border-width) solid var(--cx-color-neutral-400)}.tabulator-row .tabulator-responsive-collapse:empty{display:none}.tabulator-row .tabulator-responsive-collapse table{font-size:var(--cx-font-size-small)}.tabulator-row .tabulator-responsive-collapse table tr td{position:relative}.tabulator-row .tabulator-responsive-collapse table tr td:first-of-type{padding-right:var(--cx-spacing-small)}.tabulator-row .tabulator-cell{vertical-align:middle;box-sizing:border-box;padding:var(--cx-spacing-2x-small) var(--cell-horizontal-padding);border-right:var(--border-width) solid var(--cell-border-color);border-bottom:var(--border-width) solid var(--cell-bottom-border-color);display:inline-flex;position:relative}@media (hover:hover) and (pointer:fine){.tabulator-row .tabulator-cell:not(:has(cx-checkbox)):hover,.tabulator-row .tabulator-cell.tabulator-frozen:not(:has(cx-checkbox)):hover{background-color:var(--cell-hover-background-color)}.tabulator-row .tabulator-cell.tabulator-selection-cell-disabled:hover{cursor:default}}.tabulator-row .tabulator-cell:has(cx-checkbox),.tabulator-row .tabulator-cell.tabulator-frozen:has(cx-checkbox){background-color:var(--row-background-color)}.tabulator-row.tabulator-row-even .tabulator-cell:has(cx-checkbox),.tabulator-row.tabulator-row-even .tabulator-cell.tabulator-frozen:has(cx-checkbox){background-color:var(--row-even-background-color)}.tabulator-row .tabulator-cell .tabulator-cell-content{width:100%;height:100%;font-size:var(--cell-font-size);font-weight:var(--cell-font-weight);line-height:var(--cell-line-height);align-items:center;display:inline-flex}.tabulator-row .tabulator-cell .tabulator-cell-content cx-line-clamp{width:100%;max-width:max-content}.tabulator-row .tabulator-cell.tabulator-row-header{border-right:var(--border-width) solid var(--row-header-border-color)}.tabulator-row .tabulator-cell.tabulator-frozen{background-color:inherit;z-index:11;display:inline-block;position:sticky;left:0}.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-right:2px solid var(--frozen-border-color)}.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-left:2px solid var(--frozen-border-color)}.tabulator-row:has(+.tabulator-placeholder-row) .tabulator-cell{border-bottom:none}`, Om = Z`.tabulator.tabulator-ltr{direction:ltr}.tabulator.tabulator-rtl{text-align:initial;direction:rtl}.tabulator.tabulator-rtl .tabulator-header .tabulator-col{text-align:initial;border-left:var(--border-width) solid var(--cx-color-neutral-400);border-right:initial}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{margin-right:initial;margin-left:-1px}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:0;padding-left:var(--cx-spacing-x-large)}.tabulator.tabulator-rtl .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{left:8px;right:initial}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell{border-right:initial;border-left:var(--border-width) solid var(--cell-border-color)}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-branch{margin-right:initial;margin-left:var(--cx-spacing-2x-small);border-bottom-left-radius:initial;border-left:initial;border-right:2px solid var(--cx-color-neutral-400);border-bottom-right-radius:1px}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-left:2px solid var(--cx-color-neutral-400)}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-right:2px solid var(--cx-color-neutral-400)}.tabulator.tabulator-rtl .tabulator-row .tabulator-col-resize-handle:last-of-type{width:3px;margin-left:0;margin-right:-3px}.tabulator.tabulator-rtl .tabulator-footer .tabulator-calcs-holder{text-align:initial}`, Am = Z`:host{--table-active-cell-border-color:var(--border-color);--table-selected-cell-border-width:1px;--table-selected-cell-border-style:solid;--table-selected-only-cell-background-color:transparent;--table-selected-range-cell-background-color:var(--cx-color-neutral-100);--table-selected-range-selection-start-cell-background-color:var(--cx-color-neutral-50);--table-selected-cell-hover-background-color:var(--cx-color-neutral-50);--table-editable-only-cell-selected-background-color:var(--cx-color-primary-50);--table-editable-cell-hover-background-color:var(--cx-color-primary-50);--table-editable-only-cell-active-border-color:var(--cx-color-primary-600)}.tabulator .tabulator-tableholder .tabulator-range-overlay{z-index:10;pointer-events:none;position:absolute;inset:0}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range{box-sizing:border-box;position:absolute}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range-cell-active,.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range-cell-hover{box-sizing:border-box;border-color:var(--table-active-cell-border-color);border-style:var(--table-selected-cell-border-style);border-width:var(--table-selected-cell-border-width);background-color:var(--table-selected-only-cell-background-color);position:absolute}.tabulator-row.tabulator-range-highlight .tabulator-cell.tabulator-range-row-header{background-color:var(--cx-color-neutral-300);color:var(--cx-color-neutral-1000)}.tabulator-row.tabulator-range-highlight.tabulator-range-selected .tabulator-cell.tabulator-range-row-header,.tabulator-row.tabulator-range-selected .tabulator-cell.tabulator-range-row-header{background-color:var(--cx-color-primary-500);color:var(--cx-color-neutral-0)}.tabulator-row .tabulator-cell.tabulator-range-selected:not(.tabulator-range-row-header):not(:has(cx-checkbox)){background-color:var(--table-selected-range-cell-background-color)}.tabulator-row .tabulator-cell.tabulator-range-selection-start:not(.tabulator-range-row-header):not(:has(cx-checkbox)){background-color:var(--table-selected-range-selection-start-cell-background-color)}.tabulator-row .tabulator-cell.tabulator-range-selected:not(.tabulator-range-row-header):not(:has(cx-checkbox)):hover{background-color:var(--table-selected-cell-hover-background-color)}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-editable.tabulator-range-only-cell-active.tabulator-range-cell-active{border-color:var(--table-editable-only-cell-active-border-color)}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-editable.tabulator-range-cell-hover{border:var(--border-width) solid var(--table-editable-only-cell-active-border-color)}.tabulator-row .tabulator-cell.tabulator-editable:not(:has(cx-checkbox)):hover{background-color:var(--table-editable-cell-hover-background-color)}.tabulator-row .tabulator-cell.tabulator-editable.tabulator-range-only-cell-selected:not(.tabulator-range-row-header):not(:has(cx-checkbox)){background-color:var(--table-editable-only-cell-selected-background-color)}.tabulator-row .tabulator-cell.tabulator-editable.tabulator-range-selected:not(.tabulator-range-row-header):not(:has(cx-checkbox)):hover{background-color:var(--table-editable-cell-hover-background-color)}`, Pm = Z`.tabulator .tabulator-footer .tabulator-spreadsheet-tabs{margin-top:-5px;overflow-x:auto}.tabulator .tabulator-footer .tabulator-spreadsheet-tabs .tabulator-spreadsheet-tab{padding:var(--cx-spacing-2x-small);border:solid var(--border-width) var(--border-color);border-top:none;border-bottom-right-radius:5px;border-bottom-left-radius:5px;font-size:.9em;display:inline-block}.tabulator .tabulator-footer .tabulator-spreadsheet-tabs .tabulator-spreadsheet-tab:hover{cursor:pointer;opacity:.7}.tabulator .tabulator-footer .tabulator-spreadsheet-tabs .tabulator-spreadsheet-tab.tabulator-spreadsheet-tab-active{background:var(--cx-color-neutral-0)}`, Im = [
|
|
20230
|
+
const mm = Z`.tabulator .tabulator-alert{z-index:100;background:color-mix(in srgb, var(--cx-color-neutral-0) 40%, transparent);text-align:center;align-items:center;width:100%;height:100%;display:flex;position:absolute;top:0;left:0}.tabulator .tabulator-alert.tabulator-alert-state-loading{--loading-offset:var(--cx-spacing-x-small);top:calc(var(--header-height,var(--cx-spacing-3x-large)) + var(--border-width) + var(--loading-offset));height:calc(100% - var(--header-height,var(--cx-spacing-3x-large)) - var(--border-width) - var(--loading-offset))}.tabulator.tabulator-header-hidden .tabulator-alert.tabulator-alert-state-loading{height:100%;top:0}.tabulator .tabulator-alert .tabulator-alert-msg{padding:var(--cx-spacing-small) var(--cx-spacing-large);border-radius:var(--cx-border-radius-x-large);background:var(--cx-color-neutral-0);font-weight:700;font-size:var(--cx-font-size-medium);margin:0 auto;display:inline-block}.tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-msg{color:var(--cx-color-neutral-1000)}.tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-error{border:4px solid var(--cx-color-danger);color:var(--cx-color-danger-900)}`, gm = Z`:host{--width:100%;--table-height:var(--height,auto);--table-min-height:var(--min-height,0);--table-max-height:var(--max-height,auto);--color:var(--cx-color-neutral-900);--background-color:var(--cx-color-neutral-0);--border-width:var(--cx-input-border-width);--border-color:var(--cx-color-neutral-200);--outer-border-color:var(--border-color);--border-radius:var(--cx-border-radius-medium);--row-background-color:var(--cx-color-neutral-0);--row-even-background-color:var(--cx-color-neutral-0);--row-hover-background-color:var(--cx-color-neutral-0);--row-even-hover-background-color:var(--cx-color-neutral-0);--frozen-border-color:var(--cx-color-neutral-200);--header-background-color:var(--cx-color-neutral-50);--header-hover-background-color:var(--cx-color-primary-50);--header-font-weight:var(--cx-font-weight-medium);--header-font-size:var(--cx-font-size-x-small);--header-color:var(--cx-color-neutral-700);--header-border-right:1px solid var(--cx-color-neutral-200);--header-border-bottom:none;--header-height:var(--cx-spacing-3x-large);--header-horizontal-padding:var(--cx-spacing-large);--body-background-color:var(--cx-color-neutral-0);--cell-border-color:transparent;--cell-bottom-border-color:var(--cx-color-neutral-200);--cell-horizontal-padding:var(--cx-spacing-large);--cell-font-size:var(--cx-font-size-small);--cell-font-weight:var(--cx-font-weight-regular);--cell-line-height:normal;--cell-hover-background-color:var(--cx-color-neutral-50);--group-count-color:var(--cx-color-danger-500);--group-row-background-color:var(--row-background-color);--group-row-hover-background-color:var(--row-hover-background-color);--group-row-border-color:var(--cx-color-neutral-200);--group-row-color:var(--cx-color-neutral-900);--group-row-font-weight:var(--cx-font-weight-medium);--row-header-border-color:var(--cx-color-neutral-200);--tabulator-tree-control-width:18px;--tabulator-tree-child-indent:9px;--tabulator-tree-step:calc(var(--tabulator-tree-control-width) + var(--tabulator-tree-child-indent));isolation:isolate;width:var(--width);display:block}.container{height:100%}.tabulator{background-color:var(--background-color);font-size:var(--font-size,var(--cx-font-size-small));text-align:left;height:var(--table-height);min-height:var(--table-min-height);max-height:var(--table-max-height);border-radius:var(--cx-border-radius-medium);flex-direction:column;line-height:normal;display:flex;position:relative;overflow:hidden}.tabulator[data-overlayscrollbars]{flex-direction:column}.tabulator[data-overlayscrollbars-viewport="scrollbarHidden overflowXHidden overflowYHidden"]{display:flex}.tabulator>[data-overlayscrollbars-viewport]{flex-direction:column;display:flex}.tabulator.tabulator-overflow-x{border-inline:var(--border-width) solid var(--outer-border-color);border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.tabulator[tabulator-layout=fitDataFill] .tabulator-tableholder .tabulator-table{min-width:100%}.tabulator[tabulator-layout=fitDataTable]{display:inline-block}.tabulator.tabulator-block-select,.tabulator.tabulator-ranges .tabulator-cell:not(.tabulator-editing){user-select:none}.tabulator .tabulator-tableholder-wrapper{flex:1;width:max-content;display:flex;position:relative;overflow:hidden}.tabulator .tabulator-tableholder{white-space:nowrap;-webkit-overflow-scrolling:touch;border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);flex:1;width:max-content;position:relative;overflow:auto}.tabulator .tabulator-tableholder-wrapper:before{content:"";z-index:1;pointer-events:none;border:var(--border-width) solid var(--outer-border-color);border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);width:100%;height:100%;display:block;position:absolute;top:0;left:0}.tabulator.tabulator-header-hidden .tabulator-tableholder-wrapper:before{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.tabulator .tabulator-tableholder:focus{outline:none}.tabulator .tabulator-tableholder .tabulator-table{background-color:var(--body-background-color,var(--cx-color-neutral-0));white-space:nowrap;color:var(--color);min-width:100%;display:inline-block;position:relative;overflow:visible}`, bm = Z`.tabulator .tabulator-header .tabulator-calcs-holder{box-sizing:border-box;border-top:var(--border-width) solid var(--cx-color-neutral-400);border-bottom:var(--border-width) solid var(--cx-color-neutral-400);display:inline-block;background:var(--cx-color-neutral-100)!important}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row{background:var(--cx-color-neutral-100)!important}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs{font-weight:700;background:var(--cx-color-neutral-200)!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-top{border-bottom:2px solid var(--cx-color-neutral-400)}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-bottom{border-top:2px solid var(--cx-color-neutral-400)}.tabulator .tabulator-footer .tabulator-calcs-holder{box-sizing:border-box;text-align:left;border-bottom:1px solid var(--cx-color-neutral-400);border-top:1px solid var(--cx-color-neutral-400);width:100%;overflow:hidden;background:var(--cx-color-neutral-100)!important}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row{display:inline-block;background:var(--cx-color-neutral-100)!important}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-footer .tabulator-calcs-holder:only-child{border-bottom:none;margin-bottom:-5px}`, wm = Z`.tabulator-clickable-cell{color:var(--clickable-cell-color,var(--cx-color-primary-600));cursor:pointer}.tabulator-clickable-cell:hover{text-decoration:underline}.tabulator-clickable-cell cx-icon,.tabulator-clickable-cell cx-icon-button{color:var(--color)}`, vm = Z`.tabulator-row .tabulator-cell .tabulator-data-tree-branch-empty{display:none}.tabulator-row .tabulator-cell .tabulator-data-tree-branch{border-left:2px solid var(--cx-color-neutral-400);border-bottom:2px solid var(--cx-color-neutral-400);border-bottom-left-radius:1px;width:7px;height:9px;margin-top:-9px;position:absolute}.tabulator-row .tabulator-cell .tabulator-data-tree-control{flex:0 0 var(--tabulator-tree-control-width);vertical-align:middle;width:var(--tabulator-tree-control-width);justify-content:center;align-items:center;display:inline-flex}`, ym = Z`.tabulator-row .tabulator-cell.tabulator-editing{padding:0 var(--cell-horizontal-padding);outline:none}.tabulator:not(.tabulator-ranges) .tabulator-row .tabulator-cell.tabulator-editing input,.tabulator:not(.tabulator-ranges) .tabulator-row .tabulator-cell.tabulator-editing select{font-size:inherit;color:inherit;border-radius:var(--cx-input-border-radius-medium);background:0 0;border:none;outline:none;padding:0;font-family:inherit}.tabulator-ranges .tabulator-row .tabulator-cell.tabulator-editing input,.tabulator-ranges .tabulator-row .tabulator-cell.tabulator-editing select{border:var(--border-width) solid var(--border-color);background:0 0;outline:none}.tabulator-row .tabulator-cell.tabulator-validation-fail{border:var(--border-width) solid var(--cx-color-danger);background:var(--cx-color-danger-100)}.tabulator-row .tabulator-cell.tabulator-validation-fail input,.tabulator-row .tabulator-cell.tabulator-validation-fail select{border:var(--border-width) solid var(--border-color);color:var(--cx-color-danger);background:0 0}.tabulator-row .tabulator-cell.tabulator-editing.tabulator-edit-list{padding:0 var(--cx-spacing-x-small)}.tabulator-edit-list{position:relative}.tabulator-edit-list:not(.tabulator-editing) .tabulator-cell-content{padding-right:var(--cx-spacing-large)}.tabulator-edit-list-trigger{top:50%;right:var(--cx-spacing-small);width:var(--cx-spacing-large);appearance:none;height:100%;color:inherit;cursor:pointer;font:inherit;background:0 0;border:none;justify-content:center;align-items:center;padding:0;display:inline-flex;position:absolute;transform:translateY(-50%)}.tabulator-edit-list.tabulator-editing .tabulator-edit-list-trigger{display:none}.tabulator-edit-list-trigger-caret{--font-size:var(--cx-font-size-medium);color:var(--cx-color-neutral-500)}`, Cm = Z`.tabulator .tabulator-footer{border-top:1px solid var(--cx-color-neutral-400);background-color:var(--cx-color-neutral-200);color:var(--cx-color-neutral-500);white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;user-select:none;-khtml-user-select:none;-o-user-select:none;font-weight:700}.tabulator .tabulator-footer .tabulator-footer-contents{padding:var(--cx-spacing-2x-small) var(--cx-spacing-small);flex-direction:row;justify-content:space-between;align-items:center;display:flex}.tabulator .tabulator-footer .tabulator-footer-contents:empty{display:none}`, Em = Z`.tabulator-row .tabulator-cell a{color:var(--cx-color-primary-600);text-decoration:none}.tabulator-row .tabulator-cell a:hover{text-decoration:underline}.tabulator-row .tabulator-cell .tabulator-traffic-light-container{align-items:center;gap:var(--cx-spacing-x-small);display:inline-flex}.tabulator-row .tabulator-cell .tabulator-traffic-light{border-radius:var(--cx-border-radius-x-large);width:14px;height:14px;display:inline-block}.tabulator-composite,.tabulator-composite>span,.tabulator-composite>span>cx-line-clamp{min-width:0}.tabulator-composite,.tabulator-composite>span{overflow:hidden}.tabulator-composite>span:has(cx-icon,img,cx-avatar,cx-switch){flex-shrink:0}`, xm = Z`.tabulator-row.tabulator-group{box-sizing:border-box;border-bottom:var(--border-width) solid var(--group-row-border-color);border-right:var(--border-width) solid var(--group-row-border-color);padding:var(--cx-spacing-2x-small);padding-left:var(--cx-spacing-small);background:var(--group-row-background-color);min-width:100%;line-height:var(--header-height);color:var(--group-row-color);font-weight:var(--group-row-font-weight)}.tabulator-row.tabulator-group.tabulator-row-last{border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius)}@media (hover:hover) and (pointer:fine){.tabulator-row.tabulator-group:hover{cursor:pointer;background-color:var(--group-row-hover-background-color)}}.tabulator-row.tabulator-group.tabulator-group-level-1{padding-left:30px}.tabulator-row.tabulator-group.tabulator-group-level-2{padding-left:50px}.tabulator-row.tabulator-group.tabulator-group-level-3{padding-left:70px}.tabulator-row.tabulator-group.tabulator-group-level-4{padding-left:90px}.tabulator-row.tabulator-group.tabulator-group-level-5{padding-left:110px}.tabulator-row.tabulator-group .tabulator-group-toggle{display:inline-flex}.tabulator-row.tabulator-group .tabulator-group-count{margin-left:var(--cx-spacing-small);color:var(--group-count-color)}`, Rm = Z`:host{--selected-column-header-background-color:var(--header-background-color);--selected-column-header-color:var(--header-color)}.tabulator .tabulator-header{box-sizing:border-box;width:max-content;font-weight:var(--header-font-weight);font-size:var(--header-font-size);color:var(--header-color);white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-khtml-user-select:none;-o-user-select:none;outline:none;position:relative}.tabulator .tabulator-header.tabulator-header-hidden{display:none}.tabulator .tabulator-header .tabulator-header-contents{box-sizing:border-box;width:max-content;position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-header-contents:before{content:"";z-index:1;pointer-events:none;border:var(--border-width) solid var(--outer-border-color);border-bottom:var(--header-border-bottom);border-top-right-radius:var(--border-radius);border-top-left-radius:var(--border-radius);width:100%;height:100%;display:block;position:absolute;top:0;left:0}.tabulator .tabulator-header .tabulator-col:last-of-type{border-right:none}.tabulator .tabulator-header .tabulator-header-contents .tabulator-headers{background-color:var(--header-background-color);display:inline-block}.tabulator .tabulator-header .tabulator-col{box-sizing:border-box;border-right:var(--header-border-right);background:var(--header-background-color);text-align:left;vertical-align:bottom;height:var(--header-height);flex-direction:column;justify-content:center;display:inline-flex;position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-col.tabulator-moving{border:solid var(--border-width) var(--border-color);background:var(--cx-color-neutral-300);pointer-events:none;position:absolute}.tabulator .tabulator-header .tabulator-col.tabulator-range-highlight{background-color:var(--selected-column-header-background-color);color:var(--selected-column-header-color)}.tabulator .tabulator-header .tabulator-col.tabulator-range-selected{background-color:var(--cx-color-primary-500);color:var(--cx-color-neutral-0)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content{box-sizing:border-box;padding:var(--cx-spacing-2x-small) var(--header-horizontal-padding);position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button{padding:0 var(--cx-spacing-x-small)}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button:hover{cursor:pointer;opacity:.6}}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title-holder{align-items:center;gap:var(--cx-spacing-2x-small);display:flex;position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title{box-sizing:border-box;white-space:nowrap;text-overflow:ellipsis;vertical-align:bottom;flex:auto;width:100%;min-width:0;overflow:hidden}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title.tabulator-col-title-wrap{white-space:normal;text-overflow:initial}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-title-editor{box-sizing:border-box;border:solid var(--border-width) var(--border-color);width:100%;padding:var(--cx-spacing-3x-small);background:var(--cx-color-neutral-0)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-header-popup-button+.tabulator-title-editor{width:calc(100% - 22px)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{inline-size:var(--cx-spacing-medium);block-size:var(--cx-spacing-medium);flex:none;order:-1;justify-content:center;align-items:center;display:flex;position:static}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter cx-icon{--font-size:var(--cx-font-size-medium);color:var(--cx-color-neutral-400)}.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{border-top:1px solid var(--cx-color-neutral-400);margin-right:-1px;display:flex;position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter{box-sizing:border-box;margin-top:var(--cx-spacing-3x-small);text-align:center;width:100%;position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter textarea{height:auto!important}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter svg{margin-top:var(--cx-spacing-3x-small)}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input::-ms-clear{width:0;height:0}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable.tabulator-col-sorter-element:hover{cursor:pointer}.tabulator .tabulator-header .tabulator-col:hover{background-color:var(--header-hover-background-color)}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter cx-icon{visibility:hidden}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none]:hover .tabulator-col-content .tabulator-col-sorter cx-icon{visibility:visible}}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical .tabulator-col-content .tabulator-col-title{writing-mode:vertical-rl;text-orientation:mixed;justify-content:center;align-items:center;display:flex}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-col-vertical-flip .tabulator-col-title{transform:rotate(180deg)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-title{padding-right:0;padding-top:var(--cx-spacing-large)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable.tabulator-col-vertical-flip .tabulator-col-title{padding-right:0;padding-bottom:var(--cx-spacing-large)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-sorter{justify-content:center;inline-size:auto;position:absolute;inset:4px 0 auto}.tabulator .tabulator-header .tabulator-frozen{z-index:11;position:sticky;left:0}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-left{border-right:2px solid var(--frozen-border-color)}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-right{border-left:2px solid var(--frozen-border-color)}.tabulator .tabulator-header .tabulator-frozen-rows-holder{border-bottom:2px solid var(--frozen-border-color);display:inline-block}.tabulator .tabulator-header .tabulator-frozen-rows-holder:empty{display:none}`, Sm = Z`:host{--hover-menu-background-color:transparent}.tabulator-hover-menu{padding-left:var(--cell-horizontal-padding);padding-right:var(--cell-horizontal-padding);background-color:var(--hover-menu-background-color);opacity:0;pointer-events:none;z-index:12;align-items:center;height:100%;display:flex;position:absolute;top:0}.tabulator:not(.tabulator-editing) .tabulator-hover-menu--active{opacity:1;pointer-events:auto}`, Tm = Z`.tabulator-row .tabulator-cell.tabulator-row-handle{-webkit-user-select:none;-moz-user-select:none;-khtml-user-select:none;-o-user-select:none;justify-content:center;align-items:center;display:inline-flex}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box{width:80%}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box .tabulator-row-handle-bar{width:100%;height:3px;margin-top:var(--cx-spacing-3x-small);background:var(--cx-color-neutral-600)}`, km = Z`.tabulator .tabulator-footer .tabulator-paginator{flex:1}.tabulator .tabulator-footer .tabulator-paginator-pagination{margin-left:auto}.tabulator-paginator-pagination{--font-size:var(--cx-font-size-x-small);--pagination-input-font-size:var(--cx-font-size-x-small)}.tabulator-paginator-pagination::part(back-icon),.tabulator-paginator-pagination::part(next-icon){--font-size:var(--cx-font-size-medium)}`, Dm = Z`:host{--placeholder-color:var(--cx-color-neutral-800);--placeholder-font-weight:var(--cx-font-weight-regular);--placeholder-font-size:var(--cx-font-size-small)}.tabulator .tabulator-tableholder-wrapper .tabulator-placeholder{box-sizing:border-box;justify-content:center;align-items:center;width:100%;min-width:100%;display:flex}.tabulator .tabulator-tableholder-wrapper .tabulator-placeholder[tabulator-render-mode=virtual]{min-height:100%}.tabulator .tabulator-placeholder .tabulator-placeholder-contents{height:100%;padding:var(--cx-spacing-small);color:var(--placeholder-color);font-weight:var(--placeholder-font-weight);font-size:var(--placeholder-font-size);white-space:normal;justify-content:center;align-items:center;display:flex}.tabulator .tabulator-tableholder-wrapper .tabulator-placeholder.tabulator-placeholder--initializing .tabulator-placeholder-contents{visibility:hidden}.tabulator.tabulator-all-columns-hidden .tabulator-header{width:100%;height:var(--header-height);min-height:var(--header-height)}.tabulator.tabulator-all-columns-hidden .tabulator-header .tabulator-header-contents{background-color:var(--header-background-color);flex-direction:column;width:100%;height:100%;min-height:0;display:flex}.tabulator.tabulator-all-columns-hidden .tabulator-header .tabulator-header-contents:before{box-sizing:border-box;width:auto;height:auto;inset:0}.tabulator.tabulator-all-columns-hidden .tabulator-header .tabulator-header-contents .tabulator-headers{box-sizing:border-box;flex:1;align-self:stretch;width:100%;min-height:0;display:flex}.tabulator.tabulator-all-columns-hidden .tabulator-tableholder-wrapper{width:100%}.tabulator-row.tabulator-placeholder-row{border-left:var(--border-width) solid var(--cell-border-color);border-right:var(--border-width) solid var(--cell-border-color);border-bottom:var(--border-width) solid var(--cell-bottom-border-color);padding:var(--cx-spacing-2x-small) var(--cell-horizontal-padding)}`, Mm = Z`.tabulator-toggle{box-sizing:border-box;border:var(--border-width) solid var(--cx-color-neutral-300);background:var(--cx-color-neutral-200);flex-direction:row;display:flex}.tabulator-toggle.tabulator-toggle-on{background:var(--cx-color-primary-700)}.tabulator-toggle .tabulator-toggle-switch{box-sizing:border-box;border:var(--border-width) solid var(--cx-color-neutral-300);background:var(--cx-color-neutral-0)}.tabulator-popup-container{box-sizing:border-box;background:var(--cx-color-neutral-0);border:var(--border-width) solid var(--cx-color-neutral-400);font-size:var(--cx-font-size-small);-webkit-overflow-scrolling:touch;z-index:10000;display:inline-block;position:absolute;overflow-y:auto;box-shadow:0 0 5px #0003}.tabulator-popup{padding:var(--cx-spacing-2x-small);border-radius:var(--cx-border-radius-small)}.tabulator-tooltip{max-width:min(500px,100%);padding:var(--cx-spacing-3x-small) var(--cx-spacing-2x-small);border-radius:var(--cx-border-radius-small);box-shadow:none;font-size:var(--cx-font-size-x-small);pointer-events:none}.tabulator-menu .tabulator-menu-item{box-sizing:border-box;padding:var(--cx-spacing-2x-small) var(--cx-spacing-small);user-select:none;position:relative}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-disabled{opacity:.5}@media (hover:hover) and (pointer:fine){.tabulator-menu .tabulator-menu-item:not(.tabulator-menu-item-disabled):hover{cursor:pointer;background:var(--cx-color-neutral-50)}}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu{padding-right:var(--cx-spacing-x-large)}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu:after{content:"";border-width:var(--border-width) var(--border-width) 0 0;border-style:solid;border-color:var(--cx-color-neutral-400);vertical-align:top;width:7px;height:7px;display:inline-block;position:absolute;top:calc(5px + .4em);right:10px;transform:rotate(45deg)}.tabulator-menu .tabulator-menu-separator{border-top:var(--border-width) solid var(--cx-color-neutral-400)}`, Lm = Z`.tabulator-print-fullscreen{z-index:10000;position:absolute;inset:0}body.tabulator-print-fullscreen-hide>:not(.tabulator-print-fullscreen){display:none!important}.tabulator-print-table{border-collapse:collapse}.tabulator-print-table .tabulator-data-tree-branch{vertical-align:middle;width:7px;height:9px;margin-top:-9px;margin-right:var(--cx-spacing-2x-small);border-left:2px solid var(--cx-color-neutral-400);border-bottom:2px solid var(--cx-color-neutral-400);border-bottom-left-radius:1px;display:inline-block}.tabulator-print-table .tabulator-print-table-group{box-sizing:border-box;border-bottom:var(--border-width) solid var(--cx-color-neutral-400);border-right:var(--border-width) solid var(--cx-color-neutral-400);border-top:var(--border-width) solid var(--cx-color-neutral-400);padding:var(--cx-spacing-2x-small);padding-left:var(--cx-spacing-small);background:var(--cx-color-neutral-300);min-width:100%;font-weight:700}@media (hover:hover) and (pointer:fine){.tabulator-print-table .tabulator-print-table-group:hover{cursor:pointer;background-color:#0000001a}}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-1 td{padding-left:30px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-2 td{padding-left:50px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-3 td{padding-left:70px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-4 td{padding-left:90px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-5 td{padding-left:110px!important}.tabulator-print-table .tabulator-print-table-group .tabulator-group-toggle{display:inline-block}.tabulator-print-table .tabulator-print-table-group span{margin-left:var(--cx-spacing-small);color:var(--cx-color-danger)}`, Fm = Z`.tabulator .tabulator-col-resize-handle{z-index:11;vertical-align:middle;width:6px;margin-left:-3px;margin-right:-3px;display:inline-block;position:relative}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-col-resize-handle:hover{cursor:ew-resize}}.tabulator .tabulator-col-resize-handle:last-of-type{width:3px;margin-right:0}.tabulator .tabulator-col-resize-guide{background-color:var(--cx-color-neutral-400);opacity:.5;width:4px;height:100%;margin-left:-.5px;position:absolute;top:0}.tabulator .tabulator-row-resize-guide{background-color:var(--cx-color-neutral-400);opacity:.5;width:100%;height:4px;margin-top:-.5px;position:absolute;left:0}`, _m = Z`.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle{-webkit-user-select:none;-moz-user-select:none;user-select:none;-khtml-user-select:none;-o-user-select:none;border-radius:var(--cx-border-radius-x-large);background:var(--cx-color-neutral-600);width:15px;height:15px;color:var(--cx-color-neutral-0);justify-content:center;align-items:center;font-size:1.1em;font-weight:700;display:inline-flex}@media (hover:hover) and (pointer:fine){.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle:hover{opacity:.7;cursor:pointer}}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-close{display:initial}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-open{display:none}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle svg{stroke:var(--cx-color-neutral-0)}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle .tabulator-responsive-collapse-toggle-close{display:none}`, zm = Z`.tabulator-row{box-sizing:border-box;background-color:var(--row-background-color);min-height:22px;display:flex;position:relative}.tabulator-row .tabulator-cell-first{border-left:var(--border-width) solid var(--outer-border-color)}.tabulator-row.tabulator-row-even{background-color:var(--row-even-background-color)}@media (hover:hover) and (pointer:fine){.tabulator-row.tabulator-selectable:hover{background-color:var(--row-hover-background-color);cursor:pointer}.tabulator-row.tabulator-row-even.tabulator-selectable:hover{background-color:var(--row-even-hover-background-color);cursor:pointer}}.tabulator-cell.tabulator-selection-cell-disabled cx-checkbox{--cx-checkbox-disabled-background:var(--cx-color-neutral-100);--cx-checkbox-disabled-border-color:var(--cx-color-neutral-200)}.tabulator-row.tabulator-selected:not(:has(cx-checkbox)){background-color:var(--cx-color-primary-200)}@media (hover:hover) and (pointer:fine){.tabulator-row.tabulator-selected:not(:has(cx-checkbox)):hover{background-color:var(--cx-color-primary-300);cursor:pointer}}.tabulator-row.tabulator-row-moving{border:var(--border-width) solid var(--cx-color-neutral-1000);background:var(--cx-color-neutral-0)}.tabulator-row.tabulator-moving{border-top:var(--border-width) solid var(--cx-color-neutral-400);border-bottom:var(--border-width) solid var(--cx-color-neutral-400);pointer-events:none;z-index:15;position:absolute}.tabulator-header-hidden .tabulator-row.tabulator-row-first .tabulator-cell.tabulator-cell-last{border-top-right-radius:var(--border-radius)}.tabulator-row .tabulator-row-resize-handle{height:5px;position:absolute;bottom:0;left:0;right:0}.tabulator-row .tabulator-row-resize-handle.prev{top:0;bottom:auto}@media (hover:hover) and (pointer:fine){.tabulator-row .tabulator-row-resize-handle:hover{cursor:ns-resize}}.tabulator-row .tabulator-responsive-collapse{box-sizing:border-box;padding:var(--cx-spacing-2x-small);border-top:var(--border-width) solid var(--cx-color-neutral-400);border-bottom:var(--border-width) solid var(--cx-color-neutral-400)}.tabulator-row .tabulator-responsive-collapse:empty{display:none}.tabulator-row .tabulator-responsive-collapse table{font-size:var(--cx-font-size-small)}.tabulator-row .tabulator-responsive-collapse table tr td{position:relative}.tabulator-row .tabulator-responsive-collapse table tr td:first-of-type{padding-right:var(--cx-spacing-small)}.tabulator-row .tabulator-cell{vertical-align:middle;box-sizing:border-box;padding:var(--cx-spacing-2x-small) var(--cell-horizontal-padding);border-right:var(--border-width) solid var(--cell-border-color);border-bottom:var(--border-width) solid var(--cell-bottom-border-color);display:inline-flex;position:relative}@media (hover:hover) and (pointer:fine){.tabulator-row .tabulator-cell:not(:has(cx-checkbox)):hover,.tabulator-row .tabulator-cell.tabulator-frozen:not(:has(cx-checkbox)):hover{background-color:var(--cell-hover-background-color)}.tabulator-row .tabulator-cell.tabulator-selection-cell-disabled:hover{cursor:default}}.tabulator-row .tabulator-cell:has(cx-checkbox),.tabulator-row .tabulator-cell.tabulator-frozen:has(cx-checkbox){background-color:var(--row-background-color)}.tabulator-row.tabulator-row-even .tabulator-cell:has(cx-checkbox),.tabulator-row.tabulator-row-even .tabulator-cell.tabulator-frozen:has(cx-checkbox){background-color:var(--row-even-background-color)}.tabulator-row .tabulator-cell .tabulator-cell-content{width:100%;height:100%;font-size:var(--cell-font-size);font-weight:var(--cell-font-weight);line-height:var(--cell-line-height);align-items:center;display:inline-flex}.tabulator-row .tabulator-cell .tabulator-cell-content cx-line-clamp{width:100%;max-width:max-content}.tabulator-row .tabulator-cell.tabulator-row-header{border-right:var(--border-width) solid var(--row-header-border-color)}.tabulator-row .tabulator-cell.tabulator-frozen{background-color:inherit;z-index:11;display:inline-block;position:sticky;left:0}.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-right:2px solid var(--frozen-border-color)}.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-left:2px solid var(--frozen-border-color)}.tabulator-row:has(+.tabulator-placeholder-row) .tabulator-cell{border-bottom:none}`, Om = Z`.tabulator.tabulator-ltr{direction:ltr}.tabulator.tabulator-rtl{text-align:initial;direction:rtl}.tabulator.tabulator-rtl .tabulator-header .tabulator-col{text-align:initial;border-left:var(--border-width) solid var(--cx-color-neutral-400);border-right:initial}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{margin-right:initial;margin-left:-1px}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell{border-right:initial;border-left:var(--border-width) solid var(--cell-border-color)}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-branch{margin-right:initial;margin-left:var(--cx-spacing-2x-small);border-bottom-left-radius:initial;border-left:initial;border-right:2px solid var(--cx-color-neutral-400);border-bottom-right-radius:1px}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-left:2px solid var(--cx-color-neutral-400)}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-right:2px solid var(--cx-color-neutral-400)}.tabulator.tabulator-rtl .tabulator-row .tabulator-col-resize-handle:last-of-type{width:3px;margin-left:0;margin-right:-3px}.tabulator.tabulator-rtl .tabulator-footer .tabulator-calcs-holder{text-align:initial}`, Am = Z`:host{--table-active-cell-border-color:var(--border-color);--table-selected-cell-border-width:1px;--table-selected-cell-border-style:solid;--table-selected-only-cell-background-color:transparent;--table-selected-range-cell-background-color:var(--cx-color-neutral-100);--table-selected-range-selection-start-cell-background-color:var(--cx-color-neutral-50);--table-selected-cell-hover-background-color:var(--cx-color-neutral-50);--table-editable-only-cell-selected-background-color:var(--cx-color-primary-50);--table-editable-cell-hover-background-color:var(--cx-color-primary-50);--table-editable-only-cell-active-border-color:var(--cx-color-primary-600)}.tabulator .tabulator-tableholder .tabulator-range-overlay{z-index:10;pointer-events:none;position:absolute;inset:0}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range{box-sizing:border-box;position:absolute}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range-cell-active,.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range-cell-hover{box-sizing:border-box;border-color:var(--table-active-cell-border-color);border-style:var(--table-selected-cell-border-style);border-width:var(--table-selected-cell-border-width);background-color:var(--table-selected-only-cell-background-color);position:absolute}.tabulator-row.tabulator-range-highlight .tabulator-cell.tabulator-range-row-header{background-color:var(--cx-color-neutral-300);color:var(--cx-color-neutral-1000)}.tabulator-row.tabulator-range-highlight.tabulator-range-selected .tabulator-cell.tabulator-range-row-header,.tabulator-row.tabulator-range-selected .tabulator-cell.tabulator-range-row-header{background-color:var(--cx-color-primary-500);color:var(--cx-color-neutral-0)}.tabulator-row .tabulator-cell.tabulator-range-selected:not(.tabulator-range-row-header):not(:has(cx-checkbox)){background-color:var(--table-selected-range-cell-background-color)}.tabulator-row .tabulator-cell.tabulator-range-selection-start:not(.tabulator-range-row-header):not(:has(cx-checkbox)){background-color:var(--table-selected-range-selection-start-cell-background-color)}.tabulator-row .tabulator-cell.tabulator-range-selected:not(.tabulator-range-row-header):not(:has(cx-checkbox)):hover{background-color:var(--table-selected-cell-hover-background-color)}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-editable.tabulator-range-only-cell-active.tabulator-range-cell-active{border-color:var(--table-editable-only-cell-active-border-color)}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-editable.tabulator-range-cell-hover{border:var(--border-width) solid var(--table-editable-only-cell-active-border-color)}.tabulator-row .tabulator-cell.tabulator-editable:not(:has(cx-checkbox)):hover{background-color:var(--table-editable-cell-hover-background-color)}.tabulator-row .tabulator-cell.tabulator-editable.tabulator-range-only-cell-selected:not(.tabulator-range-row-header):not(:has(cx-checkbox)){background-color:var(--table-editable-only-cell-selected-background-color)}.tabulator-row .tabulator-cell.tabulator-editable.tabulator-range-selected:not(.tabulator-range-row-header):not(:has(cx-checkbox)):hover{background-color:var(--table-editable-cell-hover-background-color)}`, Pm = Z`.tabulator .tabulator-footer .tabulator-spreadsheet-tabs{margin-top:-5px;overflow-x:auto}.tabulator .tabulator-footer .tabulator-spreadsheet-tabs .tabulator-spreadsheet-tab{padding:var(--cx-spacing-2x-small);border:solid var(--border-width) var(--border-color);border-top:none;border-bottom-right-radius:5px;border-bottom-left-radius:5px;font-size:.9em;display:inline-block}.tabulator .tabulator-footer .tabulator-spreadsheet-tabs .tabulator-spreadsheet-tab:hover{cursor:pointer;opacity:.7}.tabulator .tabulator-footer .tabulator-spreadsheet-tabs .tabulator-spreadsheet-tab.tabulator-spreadsheet-tab-active{background:var(--cx-color-neutral-0)}`, Im = [
|
|
20231
20231
|
gm,
|
|
20232
20232
|
Rm,
|
|
20233
20233
|
Dm,
|
|
@@ -20312,7 +20312,13 @@ const mm = Z`.tabulator .tabulator-alert{z-index:100;background:color-mix(in srg
|
|
|
20312
20312
|
},
|
|
20313
20313
|
toAttribute: (r) => typeof r == "function" ? "" : Array.isArray(r) ? JSON.stringify(r) : r
|
|
20314
20314
|
};
|
|
20315
|
-
function $m(r, e
|
|
20315
|
+
function $m(r, e) {
|
|
20316
|
+
const t = e === Se.Desc ? "arrow_downward" : "arrow_upward";
|
|
20317
|
+
return B(
|
|
20318
|
+
x`<cx-icon name=${t} aria-hidden="true"></cx-icon>`
|
|
20319
|
+
);
|
|
20320
|
+
}
|
|
20321
|
+
function jm(r, e, t, i = 500) {
|
|
20316
20322
|
return new Promise((s, o) => {
|
|
20317
20323
|
if (!Number.isInteger(i) || i < 1) {
|
|
20318
20324
|
o(new RangeError("chunkSize must be a positive integer"));
|
|
@@ -20349,7 +20355,7 @@ function $m(r, e, t, i = 500) {
|
|
|
20349
20355
|
});
|
|
20350
20356
|
});
|
|
20351
20357
|
}
|
|
20352
|
-
async function
|
|
20358
|
+
async function Wm(r, e, t, i = 500, s = "") {
|
|
20353
20359
|
if (!Number.isInteger(i) || i < 1)
|
|
20354
20360
|
throw new RangeError("chunkSize must be a positive integer");
|
|
20355
20361
|
const { columns: o, rows: n } = Xn(r, s);
|
|
@@ -20358,7 +20364,7 @@ async function jm(r, e, t, i = 500, s = "") {
|
|
|
20358
20364
|
await t(n.slice(a, a + i));
|
|
20359
20365
|
return n.length;
|
|
20360
20366
|
}
|
|
20361
|
-
async function
|
|
20367
|
+
async function Gm(r, e, t, i = 500, s = "") {
|
|
20362
20368
|
if (!Number.isInteger(i) || i < 1)
|
|
20363
20369
|
throw new RangeError("chunkSize must be a positive integer");
|
|
20364
20370
|
const o = JSON.parse(r), { columns: n, rows: a } = qn(o, s);
|
|
@@ -20373,7 +20379,7 @@ function ds(r) {
|
|
|
20373
20379
|
function Kn(r) {
|
|
20374
20380
|
return r.split(/[./]/).filter((e) => e.length > 0);
|
|
20375
20381
|
}
|
|
20376
|
-
function
|
|
20382
|
+
function Um(r, e) {
|
|
20377
20383
|
return Kn(e).reduce((t, i) => {
|
|
20378
20384
|
if (!(t === null || typeof t != "object"))
|
|
20379
20385
|
return t[i];
|
|
@@ -20381,7 +20387,7 @@ function Gm(r, e) {
|
|
|
20381
20387
|
}
|
|
20382
20388
|
function qn(r, e = "") {
|
|
20383
20389
|
if (e) {
|
|
20384
|
-
const i =
|
|
20390
|
+
const i = Um(r, e);
|
|
20385
20391
|
if (!Array.isArray(i))
|
|
20386
20392
|
throw new Error(`Data path "${e}" did not resolve to an array`);
|
|
20387
20393
|
if (i.length === 0)
|
|
@@ -20410,7 +20416,7 @@ function qn(r, e = "") {
|
|
|
20410
20416
|
return { columns: t.columns, rows: t.data };
|
|
20411
20417
|
throw new Error("JSON data must be an array of row objects or a { columns, data } envelope");
|
|
20412
20418
|
}
|
|
20413
|
-
function
|
|
20419
|
+
function Km(r) {
|
|
20414
20420
|
if (r.length === 0)
|
|
20415
20421
|
return { columns: [], data: [] };
|
|
20416
20422
|
const t = r[0].map((a, l) => {
|
|
@@ -20427,21 +20433,21 @@ function Um(r) {
|
|
|
20427
20433
|
);
|
|
20428
20434
|
return { columns: o, data: n };
|
|
20429
20435
|
}
|
|
20430
|
-
function
|
|
20436
|
+
function qm(r) {
|
|
20431
20437
|
const e = ko.parse(r, { header: !1, skipEmptyLines: !0 }), t = e.errors.filter((i) => i.code !== "UndetectableDelimiter");
|
|
20432
20438
|
if (t.length > 0)
|
|
20433
20439
|
throw new Error(`CSV parse error: ${t[0].message}`);
|
|
20434
|
-
return
|
|
20440
|
+
return Km(e.data);
|
|
20435
20441
|
}
|
|
20436
|
-
function
|
|
20442
|
+
function Xm(r) {
|
|
20437
20443
|
const e = JSON.parse(r), { columns: t, rows: i } = qn(e);
|
|
20438
20444
|
return { columns: t, data: i };
|
|
20439
20445
|
}
|
|
20440
|
-
function
|
|
20446
|
+
function Jm(r) {
|
|
20441
20447
|
const { columns: e, rows: t } = Xn(r);
|
|
20442
20448
|
return { columns: e, data: t };
|
|
20443
20449
|
}
|
|
20444
|
-
function
|
|
20450
|
+
function Ym(r, e) {
|
|
20445
20451
|
const t = Kn(e).reduce((i, s) => i ? /^\d+$/.test(s) ? i.children[Number(s)] ?? null : ho(i, s) : null, r);
|
|
20446
20452
|
if (!t)
|
|
20447
20453
|
throw new Error(`Data path "${e}" did not resolve to an element`);
|
|
@@ -20453,7 +20459,7 @@ function Xn(r, e = "") {
|
|
|
20453
20459
|
throw new Error(`XML parse error: ${i.textContent?.trim() ?? "unknown error"}`);
|
|
20454
20460
|
const s = t.documentElement;
|
|
20455
20461
|
if (e)
|
|
20456
|
-
return en(Array.from(
|
|
20462
|
+
return en(Array.from(Ym(s, e).children));
|
|
20457
20463
|
const o = ho(s, "columns"), n = ho(s, "rows");
|
|
20458
20464
|
if (o && n) {
|
|
20459
20465
|
const a = Array.from(o.children).map((h) => ({
|
|
@@ -20484,7 +20490,7 @@ function ho(r, e) {
|
|
|
20484
20490
|
return t;
|
|
20485
20491
|
return null;
|
|
20486
20492
|
}
|
|
20487
|
-
function
|
|
20493
|
+
function Qm(r) {
|
|
20488
20494
|
const e = r.trim();
|
|
20489
20495
|
if (e.length === 0)
|
|
20490
20496
|
return r;
|
|
@@ -20500,13 +20506,13 @@ function Ym(r) {
|
|
|
20500
20506
|
function Jn(r, e) {
|
|
20501
20507
|
const t = /* @__PURE__ */ new Map();
|
|
20502
20508
|
for (const i of Array.from(r.children))
|
|
20503
|
-
t.set(i.tagName,
|
|
20509
|
+
t.set(i.tagName, Qm(i.textContent ?? ""));
|
|
20504
20510
|
return Object.fromEntries(
|
|
20505
20511
|
e.map((i) => [i, t.has(i) ? t.get(i) : ""])
|
|
20506
20512
|
);
|
|
20507
20513
|
}
|
|
20508
20514
|
ze.Csv + "", ze.Json + "", ze.Xml + "";
|
|
20509
|
-
function
|
|
20515
|
+
function Zm(r, e) {
|
|
20510
20516
|
const i = r.toLowerCase().split("?")[0].split("#")[0].split(".").pop() ?? "";
|
|
20511
20517
|
if (i === "csv")
|
|
20512
20518
|
return ze.Csv;
|
|
@@ -20517,19 +20523,19 @@ function Qm(r, e) {
|
|
|
20517
20523
|
const s = (e ?? "").toLowerCase();
|
|
20518
20524
|
return s.includes("text/csv") ? ze.Csv : s.includes("application/json") || s.includes("text/json") || s.includes("+json") ? ze.Json : s.includes("application/xml") || s.includes("text/xml") || s.includes("+xml") ? ze.Xml : ze.Csv;
|
|
20519
20525
|
}
|
|
20520
|
-
function
|
|
20521
|
-
return r !== ze.Auto ? r :
|
|
20526
|
+
function eg(r, e, t) {
|
|
20527
|
+
return r !== ze.Auto ? r : Zm(e, t);
|
|
20522
20528
|
}
|
|
20523
|
-
var
|
|
20529
|
+
var tg = Object.defineProperty, ig = Object.getOwnPropertyDescriptor, Yn = (r) => {
|
|
20524
20530
|
throw TypeError(r);
|
|
20525
20531
|
}, w = (r, e, t, i) => {
|
|
20526
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
20532
|
+
for (var s = i > 1 ? void 0 : i ? ig(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
20527
20533
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
20528
|
-
return i && s &&
|
|
20529
|
-
},
|
|
20534
|
+
return i && s && tg(e, t, s), s;
|
|
20535
|
+
}, sg = (r, e, t) => e.has(r) || Yn("Cannot " + t), og = (r, e, t) => (sg(r, e, "read from private field"), t ? t.call(r) : e.get(r)), rg = (r, e, t) => e.has(r) ? Yn("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(r) : e.set(r, t), co, Qn;
|
|
20530
20536
|
let g = class extends Pe {
|
|
20531
20537
|
constructor() {
|
|
20532
|
-
super(),
|
|
20538
|
+
super(), rg(this, co), this.localize = new tt(this), this.hasSlotController = new mn(this, "add-action"), this.verticalOsInstance = null, this.horizontalOsInstance = null, this.resizeObserver = null, this.overflowObserver = null, this.ajaxFacetsController = new lm(this), this.filterController = new pm(this), this.ajaxFacetFilterController = new um(this, this.filterController), this.selectAllController = new fm(this), this.shadowRootAutoloader = new Un(
|
|
20533
20539
|
this
|
|
20534
20540
|
), this.validationTooltipAnchor = null, this.validationTooltipHidePromise = null, this.movableRows = !1, this.movableColumns = !1, this.data = void 0, this.rowHeight = 48, this.layout = "fitColumns", this.columns = [], this.footerElement = void 0, this.responsiveLayout = !1, this.responsiveLayoutCollapseFormatter = void 0, this.responsiveLayoutCollapseUseFormatters = void 0, this.rowHeader = void 0, this.noHeader = !1, this.textDirection = void 0, this.responsiveLayoutCollapseStartOpen = void 0, this.renderVerticalBuffer = void 0, this.renderVertical = "virtual", this.validateOnLoad = !1, this.validationWorkerThreshold = void 0, this.columnDefaults = {}, this.headerContextMenu = !1, this.canSearch = !1, this.noAdvancedSearch = !1, this.showSavedSearch = !1, this.searchFields = [], this.searchMatchAnyKeyword = !1, this.canAdd = !1, this.addLabel = this.localize.term("add"), this.canExportCsv = !1, this.canExportXml = !1, this.canExportPdf = !1, this.canExportCustom = !1, this.canSaveReport = !1, this.savedSearchURL = "", this.savedSearchItems = [], this.savedSearchPageSizeParam = "PageSize", this.savedSearchPageSize = 10, this.savedSearchPageNumberParam = "PageNumber", this.dropdownFilters = [], this.groupByOptions = [], this.ajaxURL = void 0, this.ajaxMethod = "GET", this.ajaxURLGenerator = void 0, this.ajaxParams = void 0, this.ajaxResponse = void 0, this.facetConfig = void 0, this.additionalAppliedFilters = [], this.dataSendParams = void 0, this.dataReceiveParams = void 0, this.noAutoResize = !1, this.resizableRows = !1, this.resizableColumnFit = !1, this.resizableColumnGuide = !1, this.resizableRowGuide = !1, this.frozenRows = void 0, this.frozenRowsField = "id", this.placeholder = this.localize.term("noData"), this.groupBy = void 0, this.groupHeader = void 0, this.groupHeaderCount = !1, this.groupHeaderUseFormatter = !1, this.groupIndent = 36, this.groupHeaderPrint = void 0, this.groupHeaderClipboard = void 0, this.groupHeaderDownload = void 0, this.groupHeaderHtmlOutput = void 0, this.groupStartOpen = !1, this.groupStartOpenValues = void 0, this.groupToggleElement = "arrow", this.groupValues = [], this.groupUpdateOnCellEdit = !1, this.groupLoadMoreMeta = {}, this.dataTree = !1, this.dataTreeChildField = "_children", this.dataTreeLoadingField = "loading", this.dataTreeHasMoreField = "hasMore", this.dataTreeFilter = !1, this.dataTreeSort = !1, this.dataTreeElementColumn = void 0, this.dataTreeChildIndent = 9, this.dataTreeStartExpanded = !1, this.dataTreeSelectPropagate = !1, this.dataTreeExpandElement = void 0, this.dataTreeCollapseElement = void 0, this.spreadsheet = !1, this.spreadsheetColumns = 50, this.spreadsheetRows = 50, this.spreadsheetColumnDefinition = void 0, this.spreadsheetOutputFull = !1, this.editorEmptyValue = "", this.spreadsheetSheets = void 0, this.spreadsheetSheetTabs = !1, this.spreadsheetData = void 0, this.selectableRange = 1, this.noSelectable = !1, this.selectableRangeColumns = !1, this.selectableRangeRows = !1, this.selectableRangeClearCells = !1, this.editTriggerEvent = "dblclick", this.selectableRangeAutoFocus = !1, this.noClipboard = !1, this.clipboardAction = pi.Both, this.clipboardCopyRowRange = "range", this.clipboardPasteParser = void 0, this.clipboardPasteAction = "insert", this.clipboardCopyConfig = { columnHeaders: !1 }, this.clipboardNoCopyStyled = !1, this.pagination = !1, this.paginationMode = pt.Local, this.paginationSize = void 0, this.paginationInitialPage = 1, this.paginationButtonCount = 5, this.showPaginationButtons = !1, this.hidePaginationInput = !1, this.pageSizeOptions = void 0, this.paginationAddRow = "page", this.paginationCounter = ja.Both, this.paginationShowFirst = !1, this.paginationShowLast = !1, this.paginationPlacement = Xi.TopEnd, this.noHeaderRowReserve = !1, this.hoverMenu = void 0, this.label = "", this.tabulatorRole = "grid", this.columnGroupRole = "columngroup", this.columnHeaderRole = "columnheader", this.rowRole = "row", this.rowGroupRole = "rowgroup", this.cellRole = "gridcell", this.filterMode = pt.Local, this.placeholderHeaderFilter = "No matching data", this.noColumnPlaceholderText = this.localize.term("noColumnsVisible"), this.useOverlayScrollbar = !1, this.loading = !1, this.canSelectAll = !1, this.rowIdField = "id", this.dataUrl = "", this.dateFilterCompareFormat = fi.IsoDateTime, this.dataFormat = ze.Auto, this.dataUrlPath = "", this.preserveColumnsOnLoad = !1, this.tabulatorInstance = null, this.watchedEvents = /* @__PURE__ */ new Set(), this.activeSearchValue = "", this.dataUrlRequestId = 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 = () => {
|
|
20535
20541
|
this.useOverlayScrollbar ? this.initVerticalScrollbar() : this.verticalOsInstance?.destroy(), this.initHorizontalScrollbar(), 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();
|
|
@@ -20706,12 +20712,13 @@ let g = class extends Pe {
|
|
|
20706
20712
|
groupHeaderUseFormatter: this.groupHeaderUseFormatter,
|
|
20707
20713
|
groupIndent: this.groupIndent,
|
|
20708
20714
|
groupLoadMoreMeta: this.groupLoadMoreMeta,
|
|
20709
|
-
groupStartOpen:
|
|
20715
|
+
groupStartOpen: og(this, co, Qn),
|
|
20710
20716
|
groupToggleElement: this.groupToggleElement,
|
|
20711
20717
|
groupUpdateOnCellEdit: this.groupUpdateOnCellEdit,
|
|
20712
20718
|
groupValues: this.groupValues,
|
|
20713
20719
|
headerFilterLiveFilterDelay: this.headerFilterLiveFilterDelay,
|
|
20714
20720
|
headerHidden: this.noHeader,
|
|
20721
|
+
headerSortElement: $m,
|
|
20715
20722
|
hoverMenu: this.hoverMenu,
|
|
20716
20723
|
index: this.rowIdField,
|
|
20717
20724
|
initialFilter: this.initialFilter,
|
|
@@ -21034,7 +21041,7 @@ let g = class extends Pe {
|
|
|
21034
21041
|
}
|
|
21035
21042
|
async streamCsvData(e, t) {
|
|
21036
21043
|
let i = !0;
|
|
21037
|
-
const o = await
|
|
21044
|
+
const o = await jm(
|
|
21038
21045
|
e,
|
|
21039
21046
|
(n) => {
|
|
21040
21047
|
t === this.dataUrlRequestId && (this.columns = this.resolveColumnsAfterLoad(n));
|
|
@@ -21055,7 +21062,7 @@ let g = class extends Pe {
|
|
|
21055
21062
|
};
|
|
21056
21063
|
let n;
|
|
21057
21064
|
try {
|
|
21058
|
-
n = await
|
|
21065
|
+
n = await Gm(
|
|
21059
21066
|
e,
|
|
21060
21067
|
(a) => {
|
|
21061
21068
|
t === this.dataUrlRequestId && (this.columns = this.resolveColumnsAfterLoad(a));
|
|
@@ -21081,7 +21088,7 @@ let g = class extends Pe {
|
|
|
21081
21088
|
};
|
|
21082
21089
|
let n;
|
|
21083
21090
|
try {
|
|
21084
|
-
n = await
|
|
21091
|
+
n = await Wm(
|
|
21085
21092
|
e,
|
|
21086
21093
|
(a) => {
|
|
21087
21094
|
t === this.dataUrlRequestId && (this.columns = this.resolveColumnsAfterLoad(a));
|
|
@@ -21105,7 +21112,7 @@ let g = class extends Pe {
|
|
|
21105
21112
|
const i = await fetch(e);
|
|
21106
21113
|
if (!i.ok)
|
|
21107
21114
|
throw new Error(`Failed to fetch data: ${i.status} ${i.statusText}`);
|
|
21108
|
-
const s = i.headers.get("content-type"), o =
|
|
21115
|
+
const s = i.headers.get("content-type"), o = eg(this.dataFormat, e, s);
|
|
21109
21116
|
if (t !== this.dataUrlRequestId)
|
|
21110
21117
|
return;
|
|
21111
21118
|
const n = await i.text();
|
|
@@ -21268,6 +21275,7 @@ g.dependencies = {
|
|
|
21268
21275
|
"cx-divider": qa,
|
|
21269
21276
|
"cx-faceted-filter": ue,
|
|
21270
21277
|
"cx-format-number": Xa,
|
|
21278
|
+
"cx-icon": xt,
|
|
21271
21279
|
"cx-icon-button": oi,
|
|
21272
21280
|
"cx-select": Ja,
|
|
21273
21281
|
"cx-space": Ri,
|
|
@@ -21275,9 +21283,9 @@ g.dependencies = {
|
|
|
21275
21283
|
"cx-table-column-editor": Ze,
|
|
21276
21284
|
"cx-table-footer": Ei,
|
|
21277
21285
|
"cx-table-header-menu": et,
|
|
21278
|
-
"cx-table-row-actions":
|
|
21286
|
+
"cx-table-row-actions": At,
|
|
21279
21287
|
"cx-table-toolbar": Q,
|
|
21280
|
-
"cx-tooltip":
|
|
21288
|
+
"cx-tooltip": It
|
|
21281
21289
|
};
|
|
21282
21290
|
w([
|
|
21283
21291
|
pe(".tabulator-tableholder")
|
|
@@ -22344,9 +22352,9 @@ w([
|
|
|
22344
22352
|
g = w([
|
|
22345
22353
|
Ie("cx-table")
|
|
22346
22354
|
], g);
|
|
22347
|
-
const
|
|
22355
|
+
const ng = g;
|
|
22348
22356
|
var Ye = /* @__PURE__ */ ((r) => (r.Circles = "circles", r.Grid = "grid", r.Table = "table", r))(Ye || {});
|
|
22349
|
-
const tn = 165,
|
|
22357
|
+
const tn = 165, ag = ["HEX", "RGB", "CMYK", "PMS"], lg = {
|
|
22350
22358
|
resizable: !1
|
|
22351
22359
|
}, Zn = [
|
|
22352
22360
|
{
|
|
@@ -22423,7 +22431,7 @@ function Oi(r, e, t) {
|
|
|
22423
22431
|
})}>${i}</span></cx-copy-button>`, o = document.createDocumentFragment();
|
|
22424
22432
|
return xa(s, o), o.firstElementChild;
|
|
22425
22433
|
}
|
|
22426
|
-
const
|
|
22434
|
+
const hg = (r, e) => [
|
|
22427
22435
|
...Zn.slice(0, 2),
|
|
22428
22436
|
{
|
|
22429
22437
|
field: "hex",
|
|
@@ -22461,11 +22469,11 @@ const lg = (r, e) => [
|
|
|
22461
22469
|
title: "PMS",
|
|
22462
22470
|
widthGrow: 2
|
|
22463
22471
|
}
|
|
22464
|
-
],
|
|
22465
|
-
var
|
|
22466
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
22472
|
+
], cg = Z`:host{--grid-gap:var(--cx-spacing-medium);--padding:0;--swatch-min-height:50px;--swatch-font-size:var(--cx-font-size-medium);padding:var(--cx-focus-ring-width);width:100%;min-width:0;display:block;overflow:auto}.color-swatch-group__swatches{padding:var(--padding,0);width:100%;max-width:100%;height:100%}.color-swatch-group__table-container{max-width:100%}.color-swatch-group__table-container:focus-visible{outline:var(--cx-focus-ring);outline-offset:var(--cx-focus-ring-offset)}.color-swatch-group__swatches--circles--horizontal>cx-color-swatch:not(:first-child){margin-left:var(--swatch-group-horizontal-gap,-100px)}.color-swatch-group__swatches--circles--vertical>cx-color-swatch:not(:first-child){margin-top:var(--swatch-group-vertical-gap,-50px)}.color-swatch-group__swatches--circles--horizontal__item{--swatch-content-padding:0 min(calc(var(--swatch-group-horizontal-gap,-100px) * -.5), 0) 0 0}.color-swatch-group__swatches--circles--vertical__item{--swatch-content-padding:0 0 min(calc(var(--swatch-group-vertical-gap,-50px) * -.5), 0) 0}.color-swatch-group__swatches--circles--vertical__item--mobile{--swatch-size:100%}.color-swatch-group__swatches--grid{gap:var(--grid-gap,var(--cx-spacing-medium));display:grid}.color-swatch-group__table{--body-background-color:transparent;--row-background-color:transparent;--row-even-background-color:transparent;--row-hover-background-color:var(--cx-color-neutral-50);--row-even-hover-background-color:var(--cx-color-neutral-50);--header-background-color:transparent;--group-row-background-color:transparent;--cell-border-color:transparent;--cell-bottom-border-color:transparent;--header-font-size:var(--cx-font-size-large);--header-font-weight:var(--cx-font-weight-semibold);--header-border-right:none;--cell-font-size:var(--cx-font-size-large);--cell-font-weight:var(--cx-font-weight-regular);--cell-line-height:40px;--cell-hover-background-color:transparent;--placeholder-font-size:var(--cx-font-size-medium-large);--cell-horizontal-padding:var(--cx-spacing-2x-small);--header-horizontal-padding:var(--cx-spacing-2x-small);--header-border-bottom:1px solid var(--cx-color-neutral-200);--hover-menu-background-color:var(--row-hover-background-color);--outer-border-color:transparent}.color-swatch-group__table::part(table){background-color:#0000}`;
|
|
22473
|
+
var dg = Object.defineProperty, ug = Object.getOwnPropertyDescriptor, xe = (r, e, t, i) => {
|
|
22474
|
+
for (var s = i > 1 ? void 0 : i ? ug(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
22467
22475
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
22468
|
-
return i && s &&
|
|
22476
|
+
return i && s && dg(e, t, s), s;
|
|
22469
22477
|
};
|
|
22470
22478
|
const sn = "unnamed";
|
|
22471
22479
|
let ge = class extends Pe {
|
|
@@ -22522,7 +22530,7 @@ let ge = class extends Pe {
|
|
|
22522
22530
|
* Filter out the columns that are not in the showCodes
|
|
22523
22531
|
*/
|
|
22524
22532
|
getTableColumns(r) {
|
|
22525
|
-
const e = this.canCopy ?
|
|
22533
|
+
const e = this.canCopy ? hg(this.localize, r) : Zn;
|
|
22526
22534
|
return [
|
|
22527
22535
|
...e.slice(0, 2),
|
|
22528
22536
|
...e.slice(2).filter(
|
|
@@ -22587,7 +22595,7 @@ let ge = class extends Pe {
|
|
|
22587
22595
|
)} data-table-container class="color-swatch-group__table-container" @focusin=${this.handleFocusIn} @focusout=${this.handleFocusOut} @keydown=${this.handleKeyDown}><cx-typography variant="h3">${t.palette === sn ? this.localize.term("noPalette") : this.localize.term("shadesPalette", t.palette)}</cx-typography><cx-table part="table" tabindex=${this.isFocused ? void 0 : "-1"} no-selectable layout="fitColumns" .columns=${or(
|
|
22588
22596
|
[this.showCodes, this.canCopy, this.localize],
|
|
22589
22597
|
() => this.getTableColumns(t.palette)
|
|
22590
|
-
)} .columnDefaults=${
|
|
22598
|
+
)} .columnDefaults=${lg} .rowHeight=${48} .data=${i} class="color-swatch-group__table"></cx-table></div>`;
|
|
22591
22599
|
}
|
|
22592
22600
|
)
|
|
22593
22601
|
)}</cx-space>`,
|
|
@@ -22613,11 +22621,11 @@ let ge = class extends Pe {
|
|
|
22613
22621
|
`;
|
|
22614
22622
|
}
|
|
22615
22623
|
};
|
|
22616
|
-
ge.styles = [$e,
|
|
22624
|
+
ge.styles = [$e, cg];
|
|
22617
22625
|
ge.dependencies = {
|
|
22618
22626
|
"cx-color-swatch": rn,
|
|
22619
22627
|
"cx-space": Ri,
|
|
22620
|
-
"cx-table":
|
|
22628
|
+
"cx-table": ng,
|
|
22621
22629
|
"cx-typography": on
|
|
22622
22630
|
};
|
|
22623
22631
|
xe([
|
|
@@ -22642,7 +22650,7 @@ xe([
|
|
|
22642
22650
|
f({
|
|
22643
22651
|
attribute: "show-codes",
|
|
22644
22652
|
converter: {
|
|
22645
|
-
fromAttribute: (r) => (r?.split(" ") ?? []).filter((t) =>
|
|
22653
|
+
fromAttribute: (r) => (r?.split(" ") ?? []).filter((t) => ag.includes(t)),
|
|
22646
22654
|
toAttribute: (r) => r.join(" ")
|
|
22647
22655
|
},
|
|
22648
22656
|
reflect: !0
|
|
@@ -22685,8 +22693,8 @@ export {
|
|
|
22685
22693
|
ge as C,
|
|
22686
22694
|
nt as F,
|
|
22687
22695
|
Wt as H,
|
|
22688
|
-
|
|
22689
|
-
|
|
22696
|
+
Ot as a,
|
|
22697
|
+
ng as b,
|
|
22690
22698
|
yn as c,
|
|
22691
22699
|
Ye as d,
|
|
22692
22700
|
rr as e,
|
|
@@ -22694,6 +22702,6 @@ export {
|
|
|
22694
22702
|
xn as g,
|
|
22695
22703
|
Ai as h,
|
|
22696
22704
|
ue as i,
|
|
22697
|
-
|
|
22705
|
+
De as j,
|
|
22698
22706
|
fr as o
|
|
22699
22707
|
};
|