@orangelogic/design-system 2.154.0 → 2.156.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/active-elements.jTVWtBDp.js +10 -0
- package/library/chunks/{color-swatch-group.BX90sRwa.js → color-swatch-group.oFxwjebo.js} +354 -343
- package/library/chunks/{confirm-popover.BFBhjDQ9.js → confirm-popover.C-eHPJaU.js} +1 -1
- package/library/chunks/{dialog.DIXmnVis.js → dialog.Bzf4-IgH.js} +1 -1
- package/library/chunks/{document-viewer.BN-OQfid.js → document-viewer.DXtjdvqe.js} +1 -1
- package/library/chunks/{header.DpBmcfR_.js → header.x8SZLjAG.js} +30 -3
- package/library/chunks/{image.DazATuAV.js → image.BO6NWyIo.js} +1 -1
- package/library/chunks/{modal.U1QltQKe.js → modal.jdGhujoh.js} +28 -35
- package/library/chunks/{tabbable.CcMz3mIL.js → tabbable.BwnZBHrm.js} +2 -2
- package/library/components/atoms.js +4 -4
- package/library/components/color-swatch-group.js +1 -1
- package/library/components/confirm-popover.js +2 -2
- package/library/components/dialog.js +2 -2
- package/library/components/document-viewer.js +2 -2
- package/library/components/drawer.js +1 -1
- package/library/components/dropdown.js +1 -1
- package/library/components/file-on-demand.js +2 -2
- package/library/components/header.js +1 -1
- package/library/components/image.js +1 -1
- package/library/components/masonry.js +1 -1
- package/library/components/menu-item.js +12 -6
- package/library/components/molecules.js +1 -1
- package/library/components/organisms.js +1 -1
- package/library/components/popup.js +37 -34
- package/library/components/select.js +34 -31
- package/library/components/types.js +6223 -6187
- package/library/components/video.js +1 -1
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/menu-item/submenu-controller.d.ts +1 -0
- package/library/packages/atoms/src/components/popup/popup.d.ts +1 -0
- 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/molecules/src/multi-select/components/board/board.utils.d.ts +7 -0
- package/library/packages/organisms/src/content-builder/components/config-manager/config-manager.d.ts +1 -1
- package/library/packages/organisms/src/content-builder/components/gallery-picker/gallery-picker.d.ts +1 -1
- package/library/packages/organisms/src/content-builder/configs/search-box.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/configs-controller.d.ts +2 -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/library/packages/services/src/api/endpoints.d.ts +1 -1
- package/library/utils.js +142 -141
- package/package.json +1 -1
|
@@ -4,9 +4,9 @@ import { n as f, C as Pe } from "./lib-cortex-element.CVMmyPMC.js";
|
|
|
4
4
|
import { C as rn, a as is } from "./color-swatch.BhBZe8OE.js";
|
|
5
5
|
import { c as $e } from "./component.styles.CRO4Odto.js";
|
|
6
6
|
import { C as Et } from "./button.8syoJXYs.js";
|
|
7
|
-
import { C as ta, o as ia, O as Yo } from "./dialog.
|
|
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"]')
|
|
@@ -432,13 +432,15 @@ Ee = je([
|
|
|
432
432
|
const qh = Z`:host{--cx-tooltip-arrow-size:0;flex:1;display:block}.board{--toggle-size:var(--cx-toggle-size-medium);background-color:var(--cx-color-neutral-100);border:1px solid var(--cx-color-neutral-300);border-radius:4px;flex-direction:column;height:100%;padding:16px 16px 0;display:flex}.board--dragging cx-input{pointer-events:none}.board__header{align-items:center;gap:16px;width:100%;height:40px;margin-bottom:16px;display:flex}.board__list{flex:1;max-height:500px;padding-left:0;overflow:hidden scroll}.board__header__text{-webkit-line-clamp:2;color:var(--cx-color-neutral);font-family:var(--cx-font-sans);text-overflow:ellipsis;white-space:pre-wrap;-webkit-box-orient:vertical;flex:1;font-weight:700;display:-webkit-box;overflow:hidden}.board__header__search{flex:0 0 160px}.board__footer{justify-content:space-between;align-items:center;height:40px;display:flex}.board__footer__text{font-family:var(--cx-font-sans)}.board__select-all{width:var(--toggle-size);height:var(--toggle-size);border:solid var(--cx-input-border-width) var(--cx-input-border-color);background-color:var(--cx-input-background-color);color:var(--cx-color-neutral-0);cursor:pointer;transition:var(--cx-transition-fast) border-color, var(--cx-transition-fast) background-color, var(--cx-transition-fast) color, var(--cx-transition-fast) box-shadow;border-radius:2px;flex:none;justify-content:center;align-items:center;display:inline-flex;position:relative}.board--checked .board__select-all{border-color:var(--cx-color-primary);background-color:var(--cx-color-primary)}.board__select-all:focus-visible{outline:var(--cx-focus-ring);outline-offset:var(--cx-focus-ring-offset)}.board__checked-icon{display:inline-flex}`, Xh = (r) => {
|
|
433
433
|
const e = r.getRootNode();
|
|
434
434
|
return e instanceof ShadowRoot ? e.host : null;
|
|
435
|
-
}
|
|
435
|
+
};
|
|
436
|
+
navigator.userAgent.match(/safari/i) && !navigator.userAgent.match(/chrome/i) && navigator.userAgent.match(/android/i);
|
|
437
|
+
const Jh = /mac os x/i.test(navigator.userAgent) && !/iphone|ipad/i.test(navigator.userAgent);
|
|
436
438
|
var Yh = Object.defineProperty, Qh = Object.getOwnPropertyDescriptor, q = (r, e, t, i) => {
|
|
437
439
|
for (var s = i > 1 ? void 0 : i ? Qh(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
438
440
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
439
441
|
return i && s && Yh(e, t, s), s;
|
|
440
442
|
};
|
|
441
|
-
let
|
|
443
|
+
let $ = class extends Pe {
|
|
442
444
|
constructor() {
|
|
443
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);
|
|
444
446
|
}
|
|
@@ -747,7 +749,7 @@ let B = class extends Pe {
|
|
|
747
749
|
dataIdAttr: "data-id",
|
|
748
750
|
draggable: "cx-board-list-item[data-id]:not([readonly])",
|
|
749
751
|
forceFallback: Jh,
|
|
750
|
-
//
|
|
752
|
+
// avoid native HTML5 drag image fly-in animation on macOS (https://link.orangelogic.com/Tasks/41N1B6)
|
|
751
753
|
group: "shared",
|
|
752
754
|
multiDrag: !0,
|
|
753
755
|
onAdd: this.handleAdd,
|
|
@@ -783,123 +785,123 @@ let B = class extends Pe {
|
|
|
783
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>`;
|
|
784
786
|
}
|
|
785
787
|
};
|
|
786
|
-
|
|
787
|
-
|
|
788
|
+
$.styles = [$e, qh];
|
|
789
|
+
$.dependencies = {
|
|
788
790
|
"cx-board-list-item": Ee,
|
|
789
|
-
"cx-icon":
|
|
791
|
+
"cx-icon": xt,
|
|
790
792
|
"cx-icon-button": oi,
|
|
791
793
|
"cx-input": un,
|
|
792
|
-
"cx-tooltip":
|
|
794
|
+
"cx-tooltip": It
|
|
793
795
|
};
|
|
794
796
|
q([
|
|
795
797
|
pe(".board")
|
|
796
|
-
],
|
|
798
|
+
], $.prototype, "board", 2);
|
|
797
799
|
q([
|
|
798
800
|
pe('[part="search-input"]')
|
|
799
|
-
],
|
|
801
|
+
], $.prototype, "searchInput", 2);
|
|
800
802
|
q([
|
|
801
803
|
pe('[part="search-input-clear"]')
|
|
802
|
-
],
|
|
804
|
+
], $.prototype, "searchInputClear", 2);
|
|
803
805
|
q([
|
|
804
806
|
pe('[part="list"]')
|
|
805
|
-
],
|
|
807
|
+
], $.prototype, "list", 2);
|
|
806
808
|
q([
|
|
807
809
|
pe('[part="select-all"]')
|
|
808
|
-
],
|
|
810
|
+
], $.prototype, "selectAllCheckBox", 2);
|
|
809
811
|
q([
|
|
810
812
|
f({ attribute: "title", reflect: !0, type: String })
|
|
811
|
-
],
|
|
813
|
+
], $.prototype, "boardTitle", 2);
|
|
812
814
|
q([
|
|
813
815
|
f({ type: String })
|
|
814
|
-
],
|
|
816
|
+
], $.prototype, "name", 2);
|
|
815
817
|
q([
|
|
816
818
|
f({ attribute: "ignore-types", type: Array })
|
|
817
|
-
],
|
|
819
|
+
], $.prototype, "ignoreTypes", 2);
|
|
818
820
|
q([
|
|
819
821
|
f({ type: Array })
|
|
820
|
-
],
|
|
822
|
+
], $.prototype, "data", 2);
|
|
821
823
|
q([
|
|
822
824
|
f({ reflect: !0, type: Boolean })
|
|
823
|
-
],
|
|
825
|
+
], $.prototype, "sort", 2);
|
|
824
826
|
q([
|
|
825
827
|
f({ reflect: !0, type: Boolean })
|
|
826
|
-
],
|
|
828
|
+
], $.prototype, "group", 2);
|
|
827
829
|
q([
|
|
828
830
|
f({ type: Boolean })
|
|
829
|
-
],
|
|
831
|
+
], $.prototype, "configurable", 2);
|
|
830
832
|
q([
|
|
831
833
|
f({ reflect: !0, type: Boolean })
|
|
832
|
-
],
|
|
834
|
+
], $.prototype, "all", 2);
|
|
833
835
|
q([
|
|
834
836
|
f({ attribute: "allow-search", type: Boolean })
|
|
835
|
-
],
|
|
837
|
+
], $.prototype, "allowSearch", 2);
|
|
836
838
|
q([
|
|
837
839
|
L()
|
|
838
|
-
],
|
|
840
|
+
], $.prototype, "abortDrag", 2);
|
|
839
841
|
q([
|
|
840
842
|
L()
|
|
841
|
-
],
|
|
843
|
+
], $.prototype, "items", 2);
|
|
842
844
|
q([
|
|
843
845
|
L()
|
|
844
|
-
],
|
|
846
|
+
], $.prototype, "_allItems", 2);
|
|
845
847
|
q([
|
|
846
848
|
L()
|
|
847
|
-
],
|
|
849
|
+
], $.prototype, "_filteredItems", 2);
|
|
848
850
|
q([
|
|
849
851
|
L()
|
|
850
|
-
],
|
|
852
|
+
], $.prototype, "_selectedItems", 2);
|
|
851
853
|
q([
|
|
852
854
|
L()
|
|
853
|
-
],
|
|
855
|
+
], $.prototype, "_selectedItemOrder", 2);
|
|
854
856
|
q([
|
|
855
857
|
L()
|
|
856
|
-
],
|
|
858
|
+
], $.prototype, "searchValue", 2);
|
|
857
859
|
q([
|
|
858
860
|
L()
|
|
859
|
-
],
|
|
861
|
+
], $.prototype, "sortable", 2);
|
|
860
862
|
q([
|
|
861
863
|
L()
|
|
862
|
-
],
|
|
864
|
+
], $.prototype, "_totalCount", 2);
|
|
863
865
|
q([
|
|
864
866
|
L()
|
|
865
|
-
],
|
|
867
|
+
], $.prototype, "_totalDisplayedCount", 2);
|
|
866
868
|
q([
|
|
867
869
|
L()
|
|
868
|
-
],
|
|
870
|
+
], $.prototype, "_indexMap", 2);
|
|
869
871
|
q([
|
|
870
872
|
L()
|
|
871
|
-
],
|
|
873
|
+
], $.prototype, "isDragging", 2);
|
|
872
874
|
q([
|
|
873
875
|
L()
|
|
874
|
-
],
|
|
876
|
+
], $.prototype, "start", 2);
|
|
875
877
|
q([
|
|
876
878
|
L()
|
|
877
|
-
],
|
|
879
|
+
], $.prototype, "end", 2);
|
|
878
880
|
q([
|
|
879
881
|
L()
|
|
880
|
-
],
|
|
882
|
+
], $.prototype, "previous", 2);
|
|
881
883
|
q([
|
|
882
884
|
L()
|
|
883
|
-
],
|
|
885
|
+
], $.prototype, "lastSelectedItem", 2);
|
|
884
886
|
q([
|
|
885
887
|
V(["items", "searchValue"], { waitUntilFirstUpdate: !0 })
|
|
886
|
-
],
|
|
888
|
+
], $.prototype, "onSearchValueChanged", 1);
|
|
887
889
|
q([
|
|
888
890
|
V(["data", "group"])
|
|
889
|
-
],
|
|
891
|
+
], $.prototype, "onItemsChanged", 1);
|
|
890
892
|
q([
|
|
891
893
|
pn(200, !0)
|
|
892
|
-
],
|
|
893
|
-
|
|
894
|
+
], $.prototype, "handleShiftSelect", 1);
|
|
895
|
+
$ = q([
|
|
894
896
|
Ie("cx-board")
|
|
895
|
-
],
|
|
897
|
+
], $);
|
|
896
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);
|
|
897
899
|
var ec = Object.defineProperty, tc = Object.getOwnPropertyDescriptor, Xe = (r, e, t, i) => {
|
|
898
900
|
for (var s = i > 1 ? void 0 : i ? tc(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
899
901
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
900
902
|
return i && s && ec(e, t, s), s;
|
|
901
903
|
};
|
|
902
|
-
let
|
|
904
|
+
let De = class extends Pe {
|
|
903
905
|
constructor() {
|
|
904
906
|
super(...arguments), this.localize = new tt(this), this.firstColumnData = {
|
|
905
907
|
id: "",
|
|
@@ -1117,51 +1119,51 @@ let ke = class extends Pe {
|
|
|
1117
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>`;
|
|
1118
1120
|
}
|
|
1119
1121
|
};
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
"cx-board":
|
|
1122
|
+
De.styles = [$e, Zh];
|
|
1123
|
+
De.dependencies = {
|
|
1124
|
+
"cx-board": $,
|
|
1123
1125
|
"cx-icon-button": oi,
|
|
1124
|
-
"cx-tooltip":
|
|
1126
|
+
"cx-tooltip": It
|
|
1125
1127
|
};
|
|
1126
1128
|
Xe([
|
|
1127
1129
|
pe(".multi-select")
|
|
1128
|
-
],
|
|
1130
|
+
], De.prototype, "multiSelect", 2);
|
|
1129
1131
|
Xe([
|
|
1130
1132
|
pe('[part~="board-1"]')
|
|
1131
|
-
],
|
|
1133
|
+
], De.prototype, "board1", 2);
|
|
1132
1134
|
Xe([
|
|
1133
1135
|
pe('[part~="board-2"]')
|
|
1134
|
-
],
|
|
1136
|
+
], De.prototype, "board2", 2);
|
|
1135
1137
|
Xe([
|
|
1136
1138
|
f({ attribute: "first-column-data", type: Object })
|
|
1137
|
-
],
|
|
1139
|
+
], De.prototype, "firstColumnData", 2);
|
|
1138
1140
|
Xe([
|
|
1139
1141
|
f({ attribute: "second-column-data", type: Object })
|
|
1140
|
-
],
|
|
1142
|
+
], De.prototype, "secondColumnData", 2);
|
|
1141
1143
|
Xe([
|
|
1142
1144
|
f({ attribute: "configurable", type: Boolean })
|
|
1143
|
-
],
|
|
1145
|
+
], De.prototype, "configurable", 2);
|
|
1144
1146
|
Xe([
|
|
1145
1147
|
f({ attribute: "ignored-types", type: Array })
|
|
1146
|
-
],
|
|
1148
|
+
], De.prototype, "ignoreTypes", 2);
|
|
1147
1149
|
Xe([
|
|
1148
1150
|
f({ attribute: "add-limit", type: Number })
|
|
1149
|
-
],
|
|
1151
|
+
], De.prototype, "addLimit", 2);
|
|
1150
1152
|
Xe([
|
|
1151
1153
|
L()
|
|
1152
|
-
],
|
|
1154
|
+
], De.prototype, "itemMap", 2);
|
|
1153
1155
|
Xe([
|
|
1154
1156
|
L()
|
|
1155
|
-
],
|
|
1157
|
+
], De.prototype, "selectedItems", 2);
|
|
1156
1158
|
Xe([
|
|
1157
1159
|
L()
|
|
1158
|
-
],
|
|
1160
|
+
], De.prototype, "initialSecondColumnItems", 2);
|
|
1159
1161
|
Xe([
|
|
1160
1162
|
V("secondColumnData")
|
|
1161
|
-
],
|
|
1162
|
-
|
|
1163
|
+
], De.prototype, "onSecondColumnDataChange", 1);
|
|
1164
|
+
De = Xe([
|
|
1163
1165
|
Ie("cx-multi-select")
|
|
1164
|
-
],
|
|
1166
|
+
], De);
|
|
1165
1167
|
var jt = /* @__PURE__ */ ((r) => (r.Available = "available", r.Visible = "visible", r))(jt || {});
|
|
1166
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}`;
|
|
1167
1169
|
var sc = Object.defineProperty, oc = Object.getOwnPropertyDescriptor, Ht = (r, e, t, i) => {
|
|
@@ -1237,7 +1239,7 @@ Ze.styles = [$e, ic];
|
|
|
1237
1239
|
Ze.dependencies = {
|
|
1238
1240
|
"cx-button": Et,
|
|
1239
1241
|
"cx-dialog": ta,
|
|
1240
|
-
"cx-multi-select":
|
|
1242
|
+
"cx-multi-select": De
|
|
1241
1243
|
};
|
|
1242
1244
|
Ht([
|
|
1243
1245
|
pe("cx-dialog")
|
|
@@ -1263,7 +1265,7 @@ Ht([
|
|
|
1263
1265
|
Ze = Ht([
|
|
1264
1266
|
Ie("cx-table-column-editor")
|
|
1265
1267
|
], Ze);
|
|
1266
|
-
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 || {});
|
|
1267
1269
|
const ps = 36;
|
|
1268
1270
|
var fi = /* @__PURE__ */ ((r) => (r.IsoDate = "iso-date", r.IsoDateTime = "iso-datetime", r.Timestamp = "timestamp", r))(fi || {});
|
|
1269
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}`;
|
|
@@ -1339,7 +1341,7 @@ let et = class extends Pe {
|
|
|
1339
1341
|
};
|
|
1340
1342
|
et.styles = [$e, lc];
|
|
1341
1343
|
et.dependencies = {
|
|
1342
|
-
"cx-icon":
|
|
1344
|
+
"cx-icon": xt,
|
|
1343
1345
|
"cx-menu": ri,
|
|
1344
1346
|
"cx-menu-item": ni,
|
|
1345
1347
|
"cx-popup": Ha
|
|
@@ -1429,11 +1431,11 @@ let mt = class extends Pe {
|
|
|
1429
1431
|
mt.dependencies = {
|
|
1430
1432
|
"cx-button": Et,
|
|
1431
1433
|
"cx-dropdown": ai,
|
|
1432
|
-
"cx-icon":
|
|
1434
|
+
"cx-icon": xt,
|
|
1433
1435
|
"cx-menu": ri,
|
|
1434
1436
|
"cx-menu-item": ni,
|
|
1435
1437
|
"cx-menu-section": Va,
|
|
1436
|
-
"cx-tooltip":
|
|
1438
|
+
"cx-tooltip": It
|
|
1437
1439
|
};
|
|
1438
1440
|
qt([
|
|
1439
1441
|
f({
|
|
@@ -1467,7 +1469,7 @@ var fc = Object.defineProperty, mc = Object.getOwnPropertyDescriptor, Ji = (r, e
|
|
|
1467
1469
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
1468
1470
|
return i && s && fc(e, t, s), s;
|
|
1469
1471
|
};
|
|
1470
|
-
let
|
|
1472
|
+
let At = class extends Pe {
|
|
1471
1473
|
constructor() {
|
|
1472
1474
|
super(...arguments), this.actions = [];
|
|
1473
1475
|
}
|
|
@@ -1504,30 +1506,30 @@ let Ot = class extends Pe {
|
|
|
1504
1506
|
)}</cx-space>`;
|
|
1505
1507
|
}
|
|
1506
1508
|
};
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
+
At.styles = [$e, dc];
|
|
1510
|
+
At.dependencies = {
|
|
1509
1511
|
"cx-button": Et,
|
|
1510
|
-
"cx-icon":
|
|
1512
|
+
"cx-icon": xt,
|
|
1511
1513
|
"cx-space": Ri,
|
|
1512
1514
|
"cx-table-row-actions-dropdown": mt,
|
|
1513
|
-
"cx-tooltip":
|
|
1515
|
+
"cx-tooltip": It
|
|
1514
1516
|
};
|
|
1515
1517
|
Ji([
|
|
1516
1518
|
f({ type: Array })
|
|
1517
|
-
],
|
|
1519
|
+
], At.prototype, "actions", 2);
|
|
1518
1520
|
Ji([
|
|
1519
1521
|
f({
|
|
1520
1522
|
type: Object
|
|
1521
1523
|
})
|
|
1522
|
-
],
|
|
1524
|
+
], At.prototype, "row", 2);
|
|
1523
1525
|
Ji([
|
|
1524
1526
|
f({
|
|
1525
1527
|
type: Object
|
|
1526
1528
|
})
|
|
1527
|
-
],
|
|
1528
|
-
|
|
1529
|
+
], At.prototype, "cell", 2);
|
|
1530
|
+
At = Ji([
|
|
1529
1531
|
Ie("cx-table-row-actions")
|
|
1530
|
-
],
|
|
1532
|
+
], At);
|
|
1531
1533
|
var gc = Object.defineProperty, bc = Object.getOwnPropertyDescriptor, Ti = (r, e, t, i) => {
|
|
1532
1534
|
for (var s = i > 1 ? void 0 : i ? bc(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
1533
1535
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
@@ -1614,7 +1616,7 @@ var wc = Object.defineProperty, vc = Object.getOwnPropertyDescriptor, Yi = (r, e
|
|
|
1614
1616
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
1615
1617
|
return i && s && wc(e, t, s), s;
|
|
1616
1618
|
};
|
|
1617
|
-
let
|
|
1619
|
+
let Pt = class extends Pe {
|
|
1618
1620
|
constructor() {
|
|
1619
1621
|
super(...arguments), this.localize = new tt(this), this.groupByOptionIdSet = /* @__PURE__ */ new Set(), this.groupByOptions = [], this.groupByValue = "";
|
|
1620
1622
|
}
|
|
@@ -1671,8 +1673,8 @@ let At = class extends Pe {
|
|
|
1671
1673
|
)}</cx-menu></cx-dropdown>`;
|
|
1672
1674
|
}
|
|
1673
1675
|
};
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
+
Pt.styles = [$e];
|
|
1677
|
+
Pt.dependencies = {
|
|
1676
1678
|
"cx-button": Et,
|
|
1677
1679
|
"cx-dropdown": ai,
|
|
1678
1680
|
"cx-menu": ri,
|
|
@@ -1680,16 +1682,16 @@ At.dependencies = {
|
|
|
1680
1682
|
};
|
|
1681
1683
|
Yi([
|
|
1682
1684
|
V("groupByOptions")
|
|
1683
|
-
],
|
|
1685
|
+
], Pt.prototype, "handleGroupByOptionsChange", 1);
|
|
1684
1686
|
Yi([
|
|
1685
1687
|
f({ attribute: !1, type: Array })
|
|
1686
|
-
],
|
|
1688
|
+
], Pt.prototype, "groupByOptions", 2);
|
|
1687
1689
|
Yi([
|
|
1688
1690
|
f({ attribute: "group-by-value", type: String })
|
|
1689
|
-
],
|
|
1690
|
-
|
|
1691
|
+
], Pt.prototype, "groupByValue", 2);
|
|
1692
|
+
Pt = Yi([
|
|
1691
1693
|
Ie("cx-table-group-by-dropdown")
|
|
1692
|
-
],
|
|
1694
|
+
], Pt);
|
|
1693
1695
|
var yc = Object.defineProperty, Cc = Object.getOwnPropertyDescriptor, gt = (r, e, t, i) => {
|
|
1694
1696
|
for (var s = i > 1 ? void 0 : i ? Cc(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
1695
1697
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
@@ -1767,7 +1769,7 @@ Be.styles = [$e];
|
|
|
1767
1769
|
Be.dependencies = {
|
|
1768
1770
|
"cx-button": Et,
|
|
1769
1771
|
"cx-dropdown": ai,
|
|
1770
|
-
"cx-icon":
|
|
1772
|
+
"cx-icon": xt,
|
|
1771
1773
|
"cx-menu": ri,
|
|
1772
1774
|
"cx-menu-item": ni
|
|
1773
1775
|
};
|
|
@@ -1955,7 +1957,7 @@ Q.dependencies = {
|
|
|
1955
1957
|
"cx-button": Et,
|
|
1956
1958
|
"cx-checkbox": fn,
|
|
1957
1959
|
"cx-dropdown": ai,
|
|
1958
|
-
"cx-icon":
|
|
1960
|
+
"cx-icon": xt,
|
|
1959
1961
|
"cx-icon-button": oi,
|
|
1960
1962
|
"cx-input": un,
|
|
1961
1963
|
"cx-menu": ri,
|
|
@@ -1963,9 +1965,9 @@ Q.dependencies = {
|
|
|
1963
1965
|
"cx-pagination": $a,
|
|
1964
1966
|
"cx-space": Ri,
|
|
1965
1967
|
"cx-table-dropdown-filter": Ct,
|
|
1966
|
-
"cx-table-group-by-dropdown":
|
|
1968
|
+
"cx-table-group-by-dropdown": Pt,
|
|
1967
1969
|
"cx-table-saved-search-dropdown": Be,
|
|
1968
|
-
"cx-tooltip":
|
|
1970
|
+
"cx-tooltip": It,
|
|
1969
1971
|
"cx-typography": on
|
|
1970
1972
|
};
|
|
1971
1973
|
ie([
|
|
@@ -2085,7 +2087,7 @@ ie([
|
|
|
2085
2087
|
Q = ie([
|
|
2086
2088
|
Ie("cx-table-toolbar")
|
|
2087
2089
|
], Q);
|
|
2088
|
-
class
|
|
2090
|
+
class Me {
|
|
2089
2091
|
constructor(e) {
|
|
2090
2092
|
this.table = e;
|
|
2091
2093
|
}
|
|
@@ -2230,7 +2232,7 @@ class Y {
|
|
|
2230
2232
|
}
|
|
2231
2233
|
}
|
|
2232
2234
|
const gr = process.env.NODE_ENV === "development";
|
|
2233
|
-
let Sc = class Mn extends
|
|
2235
|
+
let Sc = class Mn extends Me {
|
|
2234
2236
|
constructor(e, t, i = null) {
|
|
2235
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);
|
|
2236
2238
|
}
|
|
@@ -2357,7 +2359,7 @@ let Sc = class Mn extends De {
|
|
|
2357
2359
|
}
|
|
2358
2360
|
};
|
|
2359
2361
|
const Tc = process.env.NODE_ENV === "development";
|
|
2360
|
-
class I extends
|
|
2362
|
+
class I extends Me {
|
|
2361
2363
|
constructor(e) {
|
|
2362
2364
|
super(e);
|
|
2363
2365
|
}
|
|
@@ -2600,7 +2602,7 @@ const Lc = x`<cx-table-row-actions></cx-table-row-actions>`, Zt = class Zt exten
|
|
|
2600
2602
|
i && i.classList.remove("tabulator-hover-menu--active");
|
|
2601
2603
|
}
|
|
2602
2604
|
createCxTableRowActions() {
|
|
2603
|
-
const e =
|
|
2605
|
+
const e = B(Lc);
|
|
2604
2606
|
return e.classList.add("tabulator-hover-menu"), e;
|
|
2605
2607
|
}
|
|
2606
2608
|
layoutRow(e) {
|
|
@@ -3104,7 +3106,7 @@ class Cs {
|
|
|
3104
3106
|
}
|
|
3105
3107
|
}
|
|
3106
3108
|
const Nc = process.env.NODE_ENV === "development";
|
|
3107
|
-
class Qi extends
|
|
3109
|
+
class Qi extends Me {
|
|
3108
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)
|
|
3109
3111
|
constructor(e) {
|
|
3110
3112
|
super(e), this.elementVertical = e.rowManager?.element, this.elementHorizontal = e.columnManager?.element, this.tableElement = e.rowManager?.tableElement, this.verticalFillMode = "fit";
|
|
@@ -3257,7 +3259,7 @@ function vr(r) {
|
|
|
3257
3259
|
const e = globalThis.clipboardData, t = r;
|
|
3258
3260
|
return e ?? r.clipboardData ?? t.originalEvent?.clipboardData ?? void 0;
|
|
3259
3261
|
}
|
|
3260
|
-
const
|
|
3262
|
+
const kt = class kt extends I {
|
|
3261
3263
|
// block copy actions not originating from this command
|
|
3262
3264
|
handleCopyEvent(e) {
|
|
3263
3265
|
let t, i, s;
|
|
@@ -3319,7 +3321,7 @@ const Tt = class Tt extends I {
|
|
|
3319
3321
|
setPasteAction(e) {
|
|
3320
3322
|
switch (typeof e) {
|
|
3321
3323
|
case "string": {
|
|
3322
|
-
const t =
|
|
3324
|
+
const t = kt.pasteActions[e];
|
|
3323
3325
|
t ? this.pasteAction = t : wr && console.warn("Clipboard Error - No such paste action found:", e);
|
|
3324
3326
|
break;
|
|
3325
3327
|
}
|
|
@@ -3331,7 +3333,7 @@ const Tt = class Tt extends I {
|
|
|
3331
3333
|
setPasteParser(e) {
|
|
3332
3334
|
switch (typeof e) {
|
|
3333
3335
|
case "string": {
|
|
3334
|
-
const t =
|
|
3336
|
+
const t = kt.pasteParsers[e];
|
|
3335
3337
|
t ? this.pasteParser = t : wr && console.warn("Clipboard Error - No such paste parser found:", e);
|
|
3336
3338
|
break;
|
|
3337
3339
|
}
|
|
@@ -3368,8 +3370,8 @@ const Tt = class Tt extends I {
|
|
|
3368
3370
|
return i?.getData && (t = i.getData("text/plain")), t;
|
|
3369
3371
|
}
|
|
3370
3372
|
};
|
|
3371
|
-
|
|
3372
|
-
let Es =
|
|
3373
|
+
kt.moduleName = "clipboard", kt.moduleExtensions = Wc, kt.pasteActions = Vc, kt.pasteParsers = Bc;
|
|
3374
|
+
let Es = kt;
|
|
3373
3375
|
class xo {
|
|
3374
3376
|
constructor(e) {
|
|
3375
3377
|
return this._cell = e, new Proxy(this, {
|
|
@@ -3435,7 +3437,7 @@ class xo {
|
|
|
3435
3437
|
}
|
|
3436
3438
|
}
|
|
3437
3439
|
const Gc = x`<div class="tabulator-cell"></div>`, Uc = process.env.NODE_ENV === "development";
|
|
3438
|
-
class ki extends
|
|
3440
|
+
class ki extends Me {
|
|
3439
3441
|
constructor(e, t) {
|
|
3440
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();
|
|
3441
3443
|
}
|
|
@@ -3447,7 +3449,7 @@ class ki extends De {
|
|
|
3447
3449
|
this.generateElement(), this.setWidth(), this._configureCell(), this.setValueActual(this.column.getFieldValue(this.row.data)), this.initialValue = this.value;
|
|
3448
3450
|
}
|
|
3449
3451
|
generateElement() {
|
|
3450
|
-
if (this.element =
|
|
3452
|
+
if (this.element = B(Gc), this.element.setAttribute(
|
|
3451
3453
|
"role",
|
|
3452
3454
|
this.table.options.cellRole ?? "gridcell"
|
|
3453
3455
|
), this.column.modules.format?.cellClass) {
|
|
@@ -3610,10 +3612,10 @@ const On = {
|
|
|
3610
3612
|
variableHeight: void 0,
|
|
3611
3613
|
vertAlign: void 0,
|
|
3612
3614
|
width: void 0
|
|
3613
|
-
}, Vt = process.env.NODE_ENV === "development",
|
|
3615
|
+
}, Vt = process.env.NODE_ENV === "development", Te = class Te extends Me {
|
|
3614
3616
|
constructor(e, t, i) {
|
|
3615
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) => {
|
|
3616
|
-
const o = new
|
|
3618
|
+
const o = new Te(s, this);
|
|
3617
3619
|
this.attachColumn(o);
|
|
3618
3620
|
}), this.checkColumnVisibility()) : t.registerColumnField(this), this._initialize();
|
|
3619
3621
|
}
|
|
@@ -3642,13 +3644,13 @@ const On = {
|
|
|
3642
3644
|
for (const t in e)
|
|
3643
3645
|
Object.hasOwn(e, t) && (this.definition[t] === void 0 || this.definition[t] === null) && (this.definition[t] = e[t]);
|
|
3644
3646
|
this.definition = this.table.columnManager?.optionsList.generate(
|
|
3645
|
-
|
|
3647
|
+
Te.defaultOptionList,
|
|
3646
3648
|
this.definition
|
|
3647
3649
|
);
|
|
3648
3650
|
}
|
|
3649
3651
|
checkDefinition() {
|
|
3650
3652
|
Object.keys(this.definition).forEach((e) => {
|
|
3651
|
-
Vt && !(e in
|
|
3653
|
+
Vt && !(e in Te.defaultOptionList) && console.warn(
|
|
3652
3654
|
`Invalid column definition option in '${this.field || this.definition.title}' column: ${e}`
|
|
3653
3655
|
);
|
|
3654
3656
|
});
|
|
@@ -3818,7 +3820,7 @@ const On = {
|
|
|
3818
3820
|
if (!this.element)
|
|
3819
3821
|
return;
|
|
3820
3822
|
let i;
|
|
3821
|
-
if (this.parent instanceof
|
|
3823
|
+
if (this.parent instanceof Te && this.parent.isGroup)
|
|
3822
3824
|
i = this.parent.getGroupElement().clientHeight;
|
|
3823
3825
|
else if ("getHeadersElement" in this.parent) {
|
|
3824
3826
|
const s = this.parent.getHeadersElement();
|
|
@@ -3905,29 +3907,29 @@ const On = {
|
|
|
3905
3907
|
}
|
|
3906
3908
|
// show column
|
|
3907
3909
|
async show(e, t) {
|
|
3908
|
-
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) => {
|
|
3909
3911
|
i.show();
|
|
3910
3912
|
}), !this.isGroup && this.width === null && await this.reinitializeWidth(), this.table.columnManager?.verticalAlignHeaders(), this.dispatch("column-show", this, t), e || this.dispatchExternal(
|
|
3911
3913
|
"columnVisibilityChanged",
|
|
3912
3914
|
this.getComponent(),
|
|
3913
3915
|
!0
|
|
3914
|
-
), 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()));
|
|
3915
3917
|
}
|
|
3916
3918
|
// hide column
|
|
3917
3919
|
hide(e, t) {
|
|
3918
|
-
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) => {
|
|
3919
3921
|
i.hide();
|
|
3920
3922
|
}), this.dispatch("column-hide", this, t), e || this.dispatchExternal(
|
|
3921
3923
|
"columnVisibilityChanged",
|
|
3922
3924
|
this.getComponent(),
|
|
3923
3925
|
!1
|
|
3924
|
-
), 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()));
|
|
3925
3927
|
}
|
|
3926
3928
|
matchChildWidths() {
|
|
3927
3929
|
let e = 0;
|
|
3928
3930
|
this.contentElement && this.columns.length && (this.columns.forEach((t) => {
|
|
3929
3931
|
t.hidden || (e += t.getWidth());
|
|
3930
|
-
}), 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());
|
|
3931
3933
|
}
|
|
3932
3934
|
removeChild(e) {
|
|
3933
3935
|
const t = this.columns.indexOf(e);
|
|
@@ -3942,7 +3944,7 @@ const On = {
|
|
|
3942
3944
|
this.table.element.clientWidth / 100 * parseInt(e, 10)
|
|
3943
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) => {
|
|
3944
3946
|
i.setWidth();
|
|
3945
|
-
}), 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());
|
|
3946
3948
|
}
|
|
3947
3949
|
checkCellHeights() {
|
|
3948
3950
|
const e = [];
|
|
@@ -3964,7 +3966,7 @@ const On = {
|
|
|
3964
3966
|
if (!this.element)
|
|
3965
3967
|
return 0;
|
|
3966
3968
|
let e = this.element.offsetLeft;
|
|
3967
|
-
return this.parent instanceof
|
|
3969
|
+
return this.parent instanceof Te && this.parent.isGroup && (e += this.parent.getLeftOffset()), e;
|
|
3968
3970
|
}
|
|
3969
3971
|
getHeight() {
|
|
3970
3972
|
return this.element ? Math.ceil(this.element.getBoundingClientRect().height) : 0;
|
|
@@ -3999,7 +4001,7 @@ const On = {
|
|
|
3999
4001
|
const t = this.cells.length;
|
|
4000
4002
|
for (let i = 0; i < t; i++)
|
|
4001
4003
|
this.cells[0].delete();
|
|
4002
|
-
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();
|
|
4003
4005
|
});
|
|
4004
4006
|
}
|
|
4005
4007
|
columnRendered() {
|
|
@@ -4064,7 +4066,7 @@ const On = {
|
|
|
4064
4066
|
), Promise.reject(
|
|
4065
4067
|
"Column Update Error - The updateDefinition function is only available on columns, not column groups"
|
|
4066
4068
|
);
|
|
4067
|
-
if (!(this.parent instanceof
|
|
4069
|
+
if (!(this.parent instanceof Te) || !this.parent.isGroup) {
|
|
4068
4070
|
const t = { ...this.getDefinition() }, i = Object.assign(t, e);
|
|
4069
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");
|
|
4070
4072
|
} else
|
|
@@ -4088,11 +4090,11 @@ const On = {
|
|
|
4088
4090
|
return (this.table.columnManager?.getVisibleColumnsByIndex().indexOf(this) ?? -1) + 1;
|
|
4089
4091
|
}
|
|
4090
4092
|
getParentComponent() {
|
|
4091
|
-
return this.parent instanceof
|
|
4093
|
+
return this.parent instanceof Te ? this.parent.getComponent() : !1;
|
|
4092
4094
|
}
|
|
4093
4095
|
};
|
|
4094
|
-
|
|
4095
|
-
let Ve =
|
|
4096
|
+
Te.defaultOptionList = On;
|
|
4097
|
+
let Ve = Te;
|
|
4096
4098
|
class Ro {
|
|
4097
4099
|
constructor(e) {
|
|
4098
4100
|
return this._row = e, new Proxy(this, {
|
|
@@ -4168,7 +4170,7 @@ class Ro {
|
|
|
4168
4170
|
}
|
|
4169
4171
|
}
|
|
4170
4172
|
const yr = process.env.NODE_ENV === "development";
|
|
4171
|
-
class
|
|
4173
|
+
class ke extends Me {
|
|
4172
4174
|
constructor(e, t, i = "row") {
|
|
4173
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);
|
|
4174
4176
|
}
|
|
@@ -4477,7 +4479,7 @@ const qc = {
|
|
|
4477
4479
|
unique: function(r, e, t) {
|
|
4478
4480
|
return r.filter((s, o) => !(s == null || typeof s == "string" && s.trim() === "") && r.indexOf(s) === o).length;
|
|
4479
4481
|
}
|
|
4480
|
-
}, Cr = process.env.NODE_ENV === "development",
|
|
4482
|
+
}, Cr = process.env.NODE_ENV === "development", Dt = class Dt extends I {
|
|
4481
4483
|
constructor(e) {
|
|
4482
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");
|
|
4483
4485
|
}
|
|
@@ -4539,7 +4541,7 @@ const qc = {
|
|
|
4539
4541
|
if (t.topCalc) {
|
|
4540
4542
|
switch (typeof t.topCalc) {
|
|
4541
4543
|
case "string":
|
|
4542
|
-
|
|
4544
|
+
Dt.calculations[t.topCalc] ? i.topCalc = Dt.calculations[t.topCalc] : Cr && console.warn(
|
|
4543
4545
|
"Column Calc Error - No such calculation found, ignoring: ",
|
|
4544
4546
|
t.topCalc
|
|
4545
4547
|
);
|
|
@@ -4553,7 +4555,7 @@ const qc = {
|
|
|
4553
4555
|
if (t.bottomCalc) {
|
|
4554
4556
|
switch (typeof t.bottomCalc) {
|
|
4555
4557
|
case "string":
|
|
4556
|
-
|
|
4558
|
+
Dt.calculations[t.bottomCalc] ? i.botCalc = Dt.calculations[t.bottomCalc] : Cr && console.warn(
|
|
4557
4559
|
"Column Calc Error - No such calculation found, ignoring: ",
|
|
4558
4560
|
t.bottomCalc
|
|
4559
4561
|
);
|
|
@@ -4644,7 +4646,7 @@ const qc = {
|
|
|
4644
4646
|
generateRow(e, t) {
|
|
4645
4647
|
const i = this.generateRowData(e, t);
|
|
4646
4648
|
this.table.modExists("mutator") && this.table.modules.mutator?.disable();
|
|
4647
|
-
const s = new
|
|
4649
|
+
const s = new ke(i, this, "calc");
|
|
4648
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 = () => {
|
|
4649
4651
|
const o = [];
|
|
4650
4652
|
this.table.columnManager?.columnsByIndex.forEach((n) => {
|
|
@@ -4717,9 +4719,9 @@ const qc = {
|
|
|
4717
4719
|
this.botRow && (this.table.rtl ? this.botElement.style.paddingLeft = e + "px" : this.botElement.style.paddingRight = e + "px");
|
|
4718
4720
|
}
|
|
4719
4721
|
};
|
|
4720
|
-
|
|
4721
|
-
let xs =
|
|
4722
|
-
class Rs extends
|
|
4722
|
+
Dt.moduleName = "columnCalcs", Dt.calculations = qc;
|
|
4723
|
+
let xs = Dt;
|
|
4724
|
+
class Rs extends ke {
|
|
4723
4725
|
constructor(e = {}, t) {
|
|
4724
4726
|
super(e, t), this.type = "placeholder", this.height = 0, this.outerHeight = 0, this.initialized = !1, this.modules = {}, this.cells = [];
|
|
4725
4727
|
}
|
|
@@ -4808,7 +4810,7 @@ const Xc = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
|
|
|
4808
4810
|
const t = this.table.options;
|
|
4809
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(
|
|
4810
4812
|
"The movableRows option is not available with dataTree enabled, moving of child rows could result in unpredictable behavior"
|
|
4811
|
-
), 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) {
|
|
4812
4814
|
case "boolean":
|
|
4813
4815
|
this.startOpen = function() {
|
|
4814
4816
|
return t.dataTreeStartExpanded;
|
|
@@ -4908,7 +4910,7 @@ const Xc = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
|
|
|
4908
4910
|
n.stopPropagation();
|
|
4909
4911
|
});
|
|
4910
4912
|
} else
|
|
4911
|
-
o =
|
|
4913
|
+
o = B(Yc);
|
|
4912
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);
|
|
4913
4915
|
}
|
|
4914
4916
|
}
|
|
@@ -4916,7 +4918,7 @@ const Xc = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
|
|
|
4916
4918
|
const t = [];
|
|
4917
4919
|
return e.forEach((i) => {
|
|
4918
4920
|
let s, o;
|
|
4919
|
-
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) => {
|
|
4920
4922
|
n.create(), t.push(n);
|
|
4921
4923
|
})));
|
|
4922
4924
|
}), t;
|
|
@@ -4939,7 +4941,7 @@ const Xc = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
|
|
|
4939
4941
|
Array.isArray(i) || (i = i ? [i] : []);
|
|
4940
4942
|
const s = e.modules.dataTree.index + 1;
|
|
4941
4943
|
if (i.forEach((o) => {
|
|
4942
|
-
const n = new
|
|
4944
|
+
const n = new ke(o || {}, this.table.rowManager);
|
|
4943
4945
|
n.create(), n.modules.dataTree.index = s, n.modules.dataTree.parent = e, n.modules.dataTree.children && (n.modules.dataTree.open = this.startOpen(
|
|
4944
4946
|
n.getComponent(),
|
|
4945
4947
|
n.modules.dataTree.index
|
|
@@ -4970,7 +4972,7 @@ const Xc = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
|
|
|
4970
4972
|
this.table.rowManager
|
|
4971
4973
|
);
|
|
4972
4974
|
i.create(), i.modules.dataTree.index = e, i.modules.dataTree.parent = t, i.modules.dataTree.children = !1, i.modules.dataTree.open = !0;
|
|
4973
|
-
const s =
|
|
4975
|
+
const s = B(ed);
|
|
4974
4976
|
return i.getElement()?.classList.add("tabulator-tree-level-" + e), i.element.appendChild(s), s.style.setProperty(
|
|
4975
4977
|
"--tabulator-tree-level",
|
|
4976
4978
|
String(e + 1)
|
|
@@ -4999,7 +5001,7 @@ const Xc = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
|
|
|
4999
5001
|
this.table.rowManager
|
|
5000
5002
|
);
|
|
5001
5003
|
i.create(), i.modules.dataTree.index = e, i.modules.dataTree.parent = t, i.modules.dataTree.children = !1, i.modules.dataTree.open = !0;
|
|
5002
|
-
const s =
|
|
5004
|
+
const s = B(td);
|
|
5003
5005
|
return i.element.appendChild(s), i.getElement()?.classList.add("tabulator-tree-level-" + e), s.style.setProperty(
|
|
5004
5006
|
"--tabulator-tree-level",
|
|
5005
5007
|
String(e + 1)
|
|
@@ -5082,13 +5084,13 @@ const Xc = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
|
|
|
5082
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(
|
|
5083
5085
|
e.modules.dataTree.children
|
|
5084
5086
|
) || [] : s = e.modules.dataTree.children, s.forEach((o) => {
|
|
5085
|
-
o instanceof
|
|
5087
|
+
o instanceof ke && i.push(o);
|
|
5086
5088
|
})), i;
|
|
5087
5089
|
}
|
|
5088
5090
|
rowDeleting(e) {
|
|
5089
5091
|
const t = e.modules.dataTree;
|
|
5090
5092
|
t && t.children && Array.isArray(t.children) && t.children.forEach((i) => {
|
|
5091
|
-
i instanceof
|
|
5093
|
+
i instanceof ke && i.wipe();
|
|
5092
5094
|
});
|
|
5093
5095
|
}
|
|
5094
5096
|
rowDelete(e) {
|
|
@@ -5110,14 +5112,14 @@ const Xc = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
|
|
|
5110
5112
|
findChildIndex(e, t) {
|
|
5111
5113
|
let i = !1;
|
|
5112
5114
|
if (typeof e == "object")
|
|
5113
|
-
if (e instanceof
|
|
5115
|
+
if (e instanceof ke)
|
|
5114
5116
|
i = e.data;
|
|
5115
5117
|
else if (e._getSelf)
|
|
5116
5118
|
i = e._getSelf().data;
|
|
5117
5119
|
else if (typeof HTMLElement < "u" && e instanceof HTMLElement) {
|
|
5118
5120
|
const s = t.modules.dataTree;
|
|
5119
5121
|
if (s) {
|
|
5120
|
-
const o = s.children?.find((n) => n instanceof
|
|
5122
|
+
const o = s.children?.find((n) => n instanceof ke ? n.element === e : !1);
|
|
5121
5123
|
o && (i = o.data);
|
|
5122
5124
|
}
|
|
5123
5125
|
} else e === null && (i = !1);
|
|
@@ -5138,7 +5140,7 @@ const Xc = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
|
|
|
5138
5140
|
getTreeChildren(e, t, i) {
|
|
5139
5141
|
const s = e.modules.dataTree, o = [];
|
|
5140
5142
|
return s?.children && (Array.isArray(s.children) || (e.modules.dataTree.children = this.generateChildren(e)), s.children.forEach((n) => {
|
|
5141
|
-
n instanceof
|
|
5143
|
+
n instanceof ke && (t ? o.push(n.getComponent()) : o.push(n), i && this.getTreeChildren(n, t, i).forEach(
|
|
5142
5144
|
(a) => {
|
|
5143
5145
|
o.push(a);
|
|
5144
5146
|
}
|
|
@@ -5323,7 +5325,7 @@ const Er = process.env.NODE_ENV === "development", sd = function(r, e = {}, t) {
|
|
|
5323
5325
|
return;
|
|
5324
5326
|
}
|
|
5325
5327
|
let n = o.utils.book_new();
|
|
5326
|
-
const a = new
|
|
5328
|
+
const a = new Me(i), l = "compress" in e ? e.compress : !0, h = e.writeOptions || {
|
|
5327
5329
|
bookSST: !0,
|
|
5328
5330
|
bookType: "xlsx",
|
|
5329
5331
|
compression: l
|
|
@@ -5785,7 +5787,7 @@ function xd(r, e, t) {
|
|
|
5785
5787
|
}
|
|
5786
5788
|
function Rd(r, e) {
|
|
5787
5789
|
const t = e ?? {}, i = r.getValue(), s = i != null && i !== "", o = !!t.initials;
|
|
5788
|
-
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>`);
|
|
5789
5791
|
}
|
|
5790
5792
|
function Sd(r, e, t) {
|
|
5791
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>';
|
|
@@ -5805,7 +5807,7 @@ function Ld({
|
|
|
5805
5807
|
spacing: r,
|
|
5806
5808
|
style: e
|
|
5807
5809
|
}) {
|
|
5808
|
-
const t =
|
|
5810
|
+
const t = B(Md);
|
|
5809
5811
|
return r && (t.style.margin = r), e && Object.assign(t.style, e), t;
|
|
5810
5812
|
}
|
|
5811
5813
|
function Fd(r, e, t) {
|
|
@@ -5875,7 +5877,7 @@ function _d(r, e, t) {
|
|
|
5875
5877
|
gap: m,
|
|
5876
5878
|
justifyContent: v,
|
|
5877
5879
|
wrap: E
|
|
5878
|
-
} = 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 = [];
|
|
5879
5881
|
return e.elements.forEach((F) => {
|
|
5880
5882
|
const be = kr({
|
|
5881
5883
|
cell: r,
|
|
@@ -5936,7 +5938,7 @@ function zd(r) {
|
|
|
5936
5938
|
}
|
|
5937
5939
|
function Od(r, e) {
|
|
5938
5940
|
const t = e ?? {}, i = zd(r.getValue());
|
|
5939
|
-
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>`);
|
|
5940
5942
|
}
|
|
5941
5943
|
const Ad = process.env.NODE_ENV === "development";
|
|
5942
5944
|
function Pd(r, e, t) {
|
|
@@ -5974,7 +5976,7 @@ function Dr(r, e) {
|
|
|
5974
5976
|
}
|
|
5975
5977
|
function Nd(r, e) {
|
|
5976
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;
|
|
5977
|
-
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>`);
|
|
5978
5980
|
}
|
|
5979
5981
|
function Vd(r, e, t) {
|
|
5980
5982
|
const i = r.getElement();
|
|
@@ -5989,7 +5991,7 @@ function jd(r, e) {
|
|
|
5989
5991
|
let s;
|
|
5990
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)
|
|
5991
5993
|
return;
|
|
5992
|
-
const o =
|
|
5994
|
+
const o = B($d);
|
|
5993
5995
|
if (o.name = s, i.size !== void 0)
|
|
5994
5996
|
switch (typeof i.size) {
|
|
5995
5997
|
case "number":
|
|
@@ -6006,7 +6008,7 @@ function Gd(r, e) {
|
|
|
6006
6008
|
let t = r.getValue();
|
|
6007
6009
|
if (!t)
|
|
6008
6010
|
return null;
|
|
6009
|
-
const i =
|
|
6011
|
+
const i = B(Wd), s = i.querySelector("img"), o = e ?? {};
|
|
6010
6012
|
switch (o.urlPrefix && (t = o.urlPrefix + r.getValue()), o.urlSuffix && (t = t + o.urlSuffix), s.setAttribute("src", String(t)), typeof o.height) {
|
|
6011
6013
|
case "number":
|
|
6012
6014
|
i.style.height = o.height + "px";
|
|
@@ -6114,7 +6116,7 @@ function eu(r, e) {
|
|
|
6114
6116
|
const i = Number(t);
|
|
6115
6117
|
if (Number.isNaN(i))
|
|
6116
6118
|
return;
|
|
6117
|
-
const s = e ?? {}, o =
|
|
6119
|
+
const s = e ?? {}, o = B(Zd);
|
|
6118
6120
|
o.value = i;
|
|
6119
6121
|
for (const n of Object.keys(s)) {
|
|
6120
6122
|
const a = s[n];
|
|
@@ -6127,7 +6129,7 @@ function tu(r, e) {
|
|
|
6127
6129
|
const i = e ?? {};
|
|
6128
6130
|
i.prefix && (t = i.prefix + t), i.suffix && (t = t + i.suffix);
|
|
6129
6131
|
const s = x`<cx-line-clamp lines="1"><span style=${ft(i.style ?? {})}>${t}</span></cx-line-clamp>`;
|
|
6130
|
-
return
|
|
6132
|
+
return B(s);
|
|
6131
6133
|
}
|
|
6132
6134
|
function iu(r, e = {}, t) {
|
|
6133
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";
|
|
@@ -6272,7 +6274,7 @@ function cu(r, e) {
|
|
|
6272
6274
|
const n = document.createElement("span");
|
|
6273
6275
|
return n.textContent = String(r.getValue() ?? ""), n;
|
|
6274
6276
|
}
|
|
6275
|
-
const t =
|
|
6277
|
+
const t = B(ru), { offValue: i, onValue: s } = nu(e);
|
|
6276
6278
|
e.size && (t.size = e.size);
|
|
6277
6279
|
const o = typeof e.disabled == "function" ? e.disabled : () => !1;
|
|
6278
6280
|
return t.disabled = o(r), hu(t, r, s, i), t;
|
|
@@ -6287,7 +6289,7 @@ function uu(r, e) {
|
|
|
6287
6289
|
removable: !1,
|
|
6288
6290
|
size: "medium",
|
|
6289
6291
|
variant: "neutral"
|
|
6290
|
-
}, s =
|
|
6292
|
+
}, s = B(du);
|
|
6291
6293
|
return Object.assign(s, i), s.textContent = e?.getTagContent?.(t) ?? e?.tagContentMap?.[t] ?? String(t), s;
|
|
6292
6294
|
}
|
|
6293
6295
|
function pu(r) {
|
|
@@ -6327,7 +6329,7 @@ function bu(r) {
|
|
|
6327
6329
|
}
|
|
6328
6330
|
function wu(r, e) {
|
|
6329
6331
|
const t = gu(e ?? {}, r), i = mu(r.getValue()), s = bu(t);
|
|
6330
|
-
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>`);
|
|
6331
6333
|
}
|
|
6332
6334
|
function vu(r, e, t) {
|
|
6333
6335
|
const i = e.size || 15, s = i + "px", o = Object.prototype.hasOwnProperty.call(
|
|
@@ -6352,7 +6354,7 @@ function Cu(r, e, t, i) {
|
|
|
6352
6354
|
const s = r.getValue();
|
|
6353
6355
|
if (s == null || s === "")
|
|
6354
6356
|
return;
|
|
6355
|
-
const o =
|
|
6357
|
+
const o = B(yu), n = e?.getColor?.(s) ?? e?.colorMap?.[s];
|
|
6356
6358
|
if (n) {
|
|
6357
6359
|
const l = o.querySelector(
|
|
6358
6360
|
".tabulator-traffic-light"
|
|
@@ -6371,7 +6373,7 @@ function Eu(r, e) {
|
|
|
6371
6373
|
const i = e ?? {};
|
|
6372
6374
|
let s;
|
|
6373
6375
|
i.getVariant && (s = i.getVariant(t)), !s && i.variantMap && (s = i.variantMap[t]), !s && i.variant && (s = i.variant), s ??= ea.Body1;
|
|
6374
|
-
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(
|
|
6375
6377
|
"cx-typography"
|
|
6376
6378
|
);
|
|
6377
6379
|
a.variant = s;
|
|
@@ -6413,7 +6415,7 @@ const Pn = {
|
|
|
6413
6415
|
typography: Eu
|
|
6414
6416
|
};
|
|
6415
6417
|
yd(Pn);
|
|
6416
|
-
const
|
|
6418
|
+
const Mt = class Mt extends I {
|
|
6417
6419
|
constructor(e) {
|
|
6418
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");
|
|
6419
6421
|
}
|
|
@@ -6433,14 +6435,14 @@ const Dt = class Dt extends I {
|
|
|
6433
6435
|
}
|
|
6434
6436
|
lookupTypeFormatter(e, t) {
|
|
6435
6437
|
const i = "formatter" + t + "Params", s = {
|
|
6436
|
-
formatter:
|
|
6438
|
+
formatter: Mt.formatters.plaintext,
|
|
6437
6439
|
params: e.definition[i] || {},
|
|
6438
6440
|
textFormatParams: e.definition.textFormatParams || {}
|
|
6439
6441
|
}, o = e.definition["formatter" + t];
|
|
6440
|
-
return s.formatter =
|
|
6442
|
+
return s.formatter = Mt.lookupFormatter(o), s;
|
|
6441
6443
|
}
|
|
6442
6444
|
static lookupFormatter(e) {
|
|
6443
|
-
return Zi(e,
|
|
6445
|
+
return Zi(e, Mt.formatters);
|
|
6444
6446
|
}
|
|
6445
6447
|
cellRendered(e) {
|
|
6446
6448
|
const t = e.modules.format;
|
|
@@ -6455,7 +6457,7 @@ const Dt = class Dt extends I {
|
|
|
6455
6457
|
*/
|
|
6456
6458
|
formatHeader(e, t, i) {
|
|
6457
6459
|
let s, o, n, a;
|
|
6458
|
-
return e.definition.titleFormatter ? (s =
|
|
6460
|
+
return e.definition.titleFormatter ? (s = Mt.lookupFormatter(e.definition.titleFormatter), n = (l) => {
|
|
6459
6461
|
e.titleFormatterRendered = l;
|
|
6460
6462
|
}, a = {
|
|
6461
6463
|
getColumn: function() {
|
|
@@ -6515,8 +6517,8 @@ const Dt = class Dt extends I {
|
|
|
6515
6517
|
return this.formatValue(e);
|
|
6516
6518
|
}
|
|
6517
6519
|
};
|
|
6518
|
-
|
|
6519
|
-
let Bi =
|
|
6520
|
+
Mt.moduleName = "format", Mt.formatters = Pn;
|
|
6521
|
+
let Bi = Mt;
|
|
6520
6522
|
const ct = process.env.NODE_ENV === "development", xu = x`<cx-option></cx-option>`, Ru = x`<cx-divider></cx-divider>`;
|
|
6521
6523
|
class Su {
|
|
6522
6524
|
constructor(e, t, i, s, o, n) {
|
|
@@ -6536,7 +6538,7 @@ class Su {
|
|
|
6536
6538
|
let e = this.cell.getValue();
|
|
6537
6539
|
await this.rebuildOptionsList();
|
|
6538
6540
|
const { defaultValue: t } = this.params;
|
|
6539
|
-
e == null && t != null && (e = t), this.initialValue = e, e == null ? (this.initialValues = [], this.input.value = []) : (this.initialValues = this._getSanitizedInitialValues(e), this.input.value = this.initialValues), this.input.handleValueChange(), this.isHeaderFilter && this.headerFilterInitialListGen();
|
|
6541
|
+
e == null && t != null && (e = t), this.initialValue = e, e == null ? (this.initialValues = [], this.input.value = []) : (this.initialValues = this._getSanitizedInitialValues(e), this.input.value = this.initialValues), this.input.handleValueChange?.(), this.isHeaderFilter && this.headerFilterInitialListGen();
|
|
6540
6542
|
}
|
|
6541
6543
|
_getSanitizedInitialValues(e) {
|
|
6542
6544
|
return (Array.isArray(e) ? e : [e]).map((i) => this.sanitizeValue(i));
|
|
@@ -6592,7 +6594,7 @@ class Su {
|
|
|
6592
6594
|
fallbackOption: i,
|
|
6593
6595
|
freeWidth: s,
|
|
6594
6596
|
placeholder: o
|
|
6595
|
-
} = 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);
|
|
6596
6598
|
i?.value != null && (a.fallbackOptionValue = this.sanitizeValue(i.value));
|
|
6597
6599
|
const l = this.createPrefixElement();
|
|
6598
6600
|
return l && a.prepend(l), e || (a.style.cursor = "default", a.style.caretColor = "transparent"), this._bindInputEvents(a), a;
|
|
@@ -6887,7 +6889,7 @@ class Su {
|
|
|
6887
6889
|
}
|
|
6888
6890
|
}
|
|
6889
6891
|
_appendDivider() {
|
|
6890
|
-
const e =
|
|
6892
|
+
const e = B(Ru);
|
|
6891
6893
|
this.input.appendChild(e);
|
|
6892
6894
|
}
|
|
6893
6895
|
_appendSectionLabel(e) {
|
|
@@ -6897,7 +6899,7 @@ class Su {
|
|
|
6897
6899
|
_appendLeafOption(e) {
|
|
6898
6900
|
let t = e.element;
|
|
6899
6901
|
if (!t) {
|
|
6900
|
-
t =
|
|
6902
|
+
t = B(xu), t.getTextLabel = () => e.label, t.value = this.sanitizeValue(e.value);
|
|
6901
6903
|
const i = this.formatItemLabel(e, t);
|
|
6902
6904
|
i && typeof i == "object" && "nodeType" in i && i instanceof HTMLElement ? t.appendChild(i) : t.innerHTML = P(String(i || ""));
|
|
6903
6905
|
const s = this.params.fallbackOption?.prefix;
|
|
@@ -7666,7 +7668,7 @@ const Tu = function(r, e, t, i, s) {
|
|
|
7666
7668
|
const t = e.getElement(!0);
|
|
7667
7669
|
if (!t || t.classList.contains("tabulator-editing") || t.querySelector(`.${In}`))
|
|
7668
7670
|
return;
|
|
7669
|
-
const i =
|
|
7671
|
+
const i = B(
|
|
7670
7672
|
Iu
|
|
7671
7673
|
);
|
|
7672
7674
|
i.addEventListener("mousedown", (s) => {
|
|
@@ -7836,7 +7838,7 @@ class Lr {
|
|
|
7836
7838
|
this.type = e, this.columns = t, this.component = i ?? !1, this.indent = s ?? 0;
|
|
7837
7839
|
}
|
|
7838
7840
|
}
|
|
7839
|
-
const Vu = process.env.NODE_ENV === "development",
|
|
7841
|
+
const Vu = process.env.NODE_ENV === "development", Lt = class Lt extends I {
|
|
7840
7842
|
constructor(e) {
|
|
7841
7843
|
super(e), this.config = {}, this.cloneTableStyle = !0, this.colVisProp = "", this.colVisPropAttach = "", this.registerTableOption("htmlOutputConfig", !1), this.registerColumnOption("htmlOutput"), this.registerColumnOption("titleHtmlOutput");
|
|
7842
7844
|
}
|
|
@@ -7848,7 +7850,7 @@ const Vu = process.env.NODE_ENV === "development", Mt = class Mt extends I {
|
|
|
7848
7850
|
// /////////////////////////////////
|
|
7849
7851
|
generateExportList(e, t, i, s) {
|
|
7850
7852
|
let o, n;
|
|
7851
|
-
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)));
|
|
7852
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);
|
|
7853
7855
|
return a.concat(h);
|
|
7854
7856
|
}
|
|
@@ -7864,7 +7866,7 @@ const Vu = process.env.NODE_ENV === "development", Mt = class Mt extends I {
|
|
|
7864
7866
|
const o = this.table.rowManager?.findRow(s);
|
|
7865
7867
|
o && t.push(o);
|
|
7866
7868
|
});
|
|
7867
|
-
else if (i =
|
|
7869
|
+
else if (i = Lt.rowLookups[e] || Lt.rowLookups.active, i) {
|
|
7868
7870
|
const s = i.call(this.table);
|
|
7869
7871
|
Array.isArray(s) && t.push(...s);
|
|
7870
7872
|
}
|
|
@@ -8292,8 +8294,8 @@ const Vu = process.env.NODE_ENV === "development", Mt = class Mt extends I {
|
|
|
8292
8294
|
}
|
|
8293
8295
|
}
|
|
8294
8296
|
};
|
|
8295
|
-
|
|
8296
|
-
let Ds =
|
|
8297
|
+
Lt.moduleName = "export", Lt.columnLookups = Hu, Lt.rowLookups = Nu;
|
|
8298
|
+
let Ds = Lt;
|
|
8297
8299
|
const Fr = process.env.NODE_ENV === "development", Bu = {
|
|
8298
8300
|
// not equal to
|
|
8299
8301
|
"!=": function(r, e, t, i) {
|
|
@@ -9551,7 +9553,7 @@ class Qt {
|
|
|
9551
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(
|
|
9552
9554
|
"role",
|
|
9553
9555
|
this.groupManager.table.options.rowGroupRole ?? "rowgroup"
|
|
9554
|
-
), this.arrowElement =
|
|
9556
|
+
), this.arrowElement = B(dp), this.groupManager.table.options.movableRows !== !1 && this.groupManager.table.modExists("moveRow") && this.groupManager.table.modules.moveRow.initializeGroupHeader(
|
|
9555
9557
|
this
|
|
9556
9558
|
);
|
|
9557
9559
|
}
|
|
@@ -9618,7 +9620,7 @@ class Qt {
|
|
|
9618
9620
|
let s = i.querySelector(
|
|
9619
9621
|
".tabulator-group-level-indent"
|
|
9620
9622
|
);
|
|
9621
|
-
s || (s =
|
|
9623
|
+
s || (s = B(up), i.insertBefore(s, i.firstChild)), this.applyGroupIndent(
|
|
9622
9624
|
s,
|
|
9623
9625
|
(this.level + 1) * (this.groupManager.table.options.groupIndent ?? ps)
|
|
9624
9626
|
), s.dataset.groupLevel = this.level.toString();
|
|
@@ -9682,10 +9684,10 @@ class Qt {
|
|
|
9682
9684
|
i
|
|
9683
9685
|
), o = (this.level + 1) * (this.groupManager.table.options.groupIndent ?? ps);
|
|
9684
9686
|
if (s.create(), e.loading) {
|
|
9685
|
-
const l =
|
|
9687
|
+
const l = B(fp);
|
|
9686
9688
|
return s.element.appendChild(l), this.applyGroupIndent(l, o), this._loadMoreRow = s, s;
|
|
9687
9689
|
}
|
|
9688
|
-
const n =
|
|
9690
|
+
const n = B(pp), a = this.getGroupLoadMoreEventPayload();
|
|
9689
9691
|
return s.element.appendChild(n), this.applyGroupIndent(n, o), n.addEventListener("click", (l) => {
|
|
9690
9692
|
l.preventDefault(), l.stopPropagation(), l.stopImmediatePropagation(), this.groupManager.table.externalEvents?.dispatch("groupLoadMore", a);
|
|
9691
9693
|
}), this._loadMoreRow = s, s;
|
|
@@ -10511,7 +10513,7 @@ const mp = {
|
|
|
10511
10513
|
// rebind rows to new element after deletion
|
|
10512
10514
|
_rebindRow(e, t) {
|
|
10513
10515
|
this.history.forEach((i) => {
|
|
10514
|
-
if (i.component instanceof
|
|
10516
|
+
if (i.component instanceof ke)
|
|
10515
10517
|
i.component === e && (i.component = t);
|
|
10516
10518
|
else if (i.component instanceof ki && i.component.row === e) {
|
|
10517
10519
|
const s = i.component.column.getField();
|
|
@@ -10734,7 +10736,7 @@ function xp() {
|
|
|
10734
10736
|
}, this);
|
|
10735
10737
|
}
|
|
10736
10738
|
function E(b) {
|
|
10737
|
-
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: {} };
|
|
10738
10740
|
function Ge(K) {
|
|
10739
10741
|
return b.skipEmptyLines === "greedy" ? K.join("").trim() === "" : K.length === 1 && K[0].length === 0;
|
|
10740
10742
|
}
|
|
@@ -10773,21 +10775,21 @@ function xp() {
|
|
|
10773
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))));
|
|
10774
10776
|
}), this.parse = function(K, G, me) {
|
|
10775
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) => {
|
|
10776
|
-
var st, N, de,
|
|
10778
|
+
var st, N, de, Rt;
|
|
10777
10779
|
U = U || [",", " ", "|", ";", h.RECORD_SEP, h.UNIT_SEP];
|
|
10778
10780
|
for (var Xt = 0; Xt < U.length; Xt++) {
|
|
10779
|
-
for (var at, li = U[Xt],
|
|
10780
|
-
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);
|
|
10781
10783
|
}
|
|
10782
10784
|
return { successful: !!(b.delimiter = st), bestDelimiter: st };
|
|
10783
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));
|
|
10784
|
-
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 } };
|
|
10785
10787
|
}, this.paused = function() {
|
|
10786
|
-
return
|
|
10788
|
+
return Le;
|
|
10787
10789
|
}, this.pause = function() {
|
|
10788
|
-
|
|
10790
|
+
Le = !0, R.abort(), C = _(b.chunk) ? "" : C.substring(R.getCharIndex());
|
|
10789
10791
|
}, this.resume = function() {
|
|
10790
|
-
j.streamer._halted ? (
|
|
10792
|
+
j.streamer._halted ? (Le = !1, j.streamer.parseChunk(C, !0)) : setTimeout(j.resume, 3);
|
|
10791
10793
|
}, this.aborted = function() {
|
|
10792
10794
|
return H;
|
|
10793
10795
|
}, this.abort = function() {
|
|
@@ -10814,23 +10816,23 @@ function xp() {
|
|
|
10814
10816
|
` && R !== "\r" && R !== `\r
|
|
10815
10817
|
` && (R = `
|
|
10816
10818
|
`);
|
|
10817
|
-
var O = 0,
|
|
10819
|
+
var O = 0, Le = !1;
|
|
10818
10820
|
this.parse = function(H, W, M) {
|
|
10819
10821
|
if (typeof H != "string") throw new Error("Input must be a string");
|
|
10820
10822
|
var Ge = H.length, ae = C.length, we = R.length, it = k.length, K = _(S), G = [], me = [], A = [], le = O = 0;
|
|
10821
|
-
if (!H) return
|
|
10823
|
+
if (!H) return Fe();
|
|
10822
10824
|
if (ne || ne !== !1 && H.indexOf(j) === -1) {
|
|
10823
10825
|
for (var ve = H.split(R), se = 0; se < ve.length; se++) {
|
|
10824
10826
|
if (A = ve[se], O += A.length, se !== ve.length - 1) O += R.length;
|
|
10825
|
-
else if (M) return
|
|
10827
|
+
else if (M) return Fe();
|
|
10826
10828
|
if (!k || A.substring(0, it) !== k) {
|
|
10827
10829
|
if (K) {
|
|
10828
|
-
if (G = [],
|
|
10829
|
-
} else
|
|
10830
|
-
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);
|
|
10831
10833
|
}
|
|
10832
10834
|
}
|
|
10833
|
-
return
|
|
10835
|
+
return Fe();
|
|
10834
10836
|
}
|
|
10835
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++; ; ) {
|
|
10836
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();
|
|
@@ -10844,24 +10846,24 @@ function xp() {
|
|
|
10844
10846
|
break;
|
|
10845
10847
|
}
|
|
10846
10848
|
if (de = Xt(U), H.substring(N + 1 + de, N + 1 + de + we) === R) {
|
|
10847
|
-
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(),
|
|
10848
|
-
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);
|
|
10849
10851
|
break;
|
|
10850
10852
|
}
|
|
10851
10853
|
me.push({ type: "Quotes", code: "InvalidQuotes", message: "Trailing quote on quoted field is malformed", row: G.length, index: O }), N++;
|
|
10852
10854
|
}
|
|
10853
10855
|
}
|
|
10854
10856
|
else if (k && A.length === 0 && H.substring(O, O + it) === k) {
|
|
10855
|
-
if (U === -1) return
|
|
10857
|
+
if (U === -1) return Fe();
|
|
10856
10858
|
O = U + we, U = H.indexOf(R, O), oe = H.indexOf(C, O);
|
|
10857
10859
|
} else if (oe !== -1 && (oe < U || U === -1)) A.push(H.substring(O, oe)), O = oe + ae, oe = H.indexOf(C, O);
|
|
10858
10860
|
else {
|
|
10859
10861
|
if (U === -1) break;
|
|
10860
|
-
if (A.push(H.substring(O, U)), li(U + we), K && (lt(),
|
|
10861
|
-
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);
|
|
10862
10864
|
}
|
|
10863
10865
|
return at();
|
|
10864
|
-
function
|
|
10866
|
+
function Rt(Ce) {
|
|
10865
10867
|
G.push(Ce), le = O;
|
|
10866
10868
|
}
|
|
10867
10869
|
function Xt(Ce) {
|
|
@@ -10869,12 +10871,12 @@ function xp() {
|
|
|
10869
10871
|
return He = Ce !== -1 && (Ce = H.substring(N + 1, Ce)) && Ce.trim() === "" ? Ce.length : He;
|
|
10870
10872
|
}
|
|
10871
10873
|
function at(Ce) {
|
|
10872
|
-
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();
|
|
10873
10875
|
}
|
|
10874
10876
|
function li(Ce) {
|
|
10875
|
-
O = Ce,
|
|
10877
|
+
O = Ce, Rt(A), A = [], U = H.indexOf(R, O);
|
|
10876
10878
|
}
|
|
10877
|
-
function
|
|
10879
|
+
function Fe(Ce) {
|
|
10878
10880
|
if (b.header && !W && G.length && !Je) {
|
|
10879
10881
|
var He = G[0], bt = /* @__PURE__ */ Object.create(null), ts = new Set(He);
|
|
10880
10882
|
let Xo = !1;
|
|
@@ -10889,13 +10891,13 @@ function xp() {
|
|
|
10889
10891
|
}
|
|
10890
10892
|
Xo && console.warn("Duplicate headers found and renamed."), Je = !0;
|
|
10891
10893
|
}
|
|
10892
|
-
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 } };
|
|
10893
10895
|
}
|
|
10894
10896
|
function lt() {
|
|
10895
|
-
S(
|
|
10897
|
+
S(Fe()), G = [], me = [];
|
|
10896
10898
|
}
|
|
10897
10899
|
}, this.abort = function() {
|
|
10898
|
-
|
|
10900
|
+
Le = !0;
|
|
10899
10901
|
}, this.getCharIndex = function() {
|
|
10900
10902
|
return O;
|
|
10901
10903
|
};
|
|
@@ -10959,11 +10961,11 @@ function xp() {
|
|
|
10959
10961
|
}
|
|
10960
10962
|
})(), new RegExp(y(ne), "g"));
|
|
10961
10963
|
if (typeof b == "string" && (b = JSON.parse(b)), Array.isArray(b)) {
|
|
10962
|
-
if (!b.length || Array.isArray(b[0])) return
|
|
10963
|
-
if (typeof b[0] == "object") return
|
|
10964
|
-
} 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);
|
|
10965
10967
|
throw new Error("Unable to serialize unrecognized input");
|
|
10966
|
-
function
|
|
10968
|
+
function Le(W, M, Ge) {
|
|
10967
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]);
|
|
10968
10970
|
if (we && k) {
|
|
10969
10971
|
for (var K = 0; K < W.length; K++) 0 < K && (ae += S), ae += H(W[K], K);
|
|
@@ -11016,8 +11018,8 @@ function xp() {
|
|
|
11016
11018
|
} else if (fe === "skip") return void S();
|
|
11017
11019
|
}
|
|
11018
11020
|
var O = j.instanceConfig.complete;
|
|
11019
|
-
j.instanceConfig.complete = function(
|
|
11020
|
-
_(O) && O(
|
|
11021
|
+
j.instanceConfig.complete = function(Le) {
|
|
11022
|
+
_(O) && O(Le, j.file, j.inputElem), S();
|
|
11021
11023
|
}, h.parse(j.file, j.instanceConfig);
|
|
11022
11024
|
}
|
|
11023
11025
|
}
|
|
@@ -11461,17 +11463,17 @@ const Lp = {
|
|
|
11461
11463
|
scrollPageUp: 33,
|
|
11462
11464
|
scrollToEnd: 35,
|
|
11463
11465
|
scrollToStart: 36
|
|
11464
|
-
}, _p = process.env.NODE_ENV === "development",
|
|
11466
|
+
}, _p = process.env.NODE_ENV === "development", Ft = class Ft extends I {
|
|
11465
11467
|
constructor(e) {
|
|
11466
11468
|
super(e), this.watchKeys = null, this.pressedKeys = null, this.keyupBinding = !1, this.keydownBinding = !1, this.registerTableOption("keybindings", {}), this.registerTableOption("tabEndNewRow", !1);
|
|
11467
11469
|
}
|
|
11468
11470
|
initialize() {
|
|
11469
11471
|
const e = this.table.options.keybindings, t = {};
|
|
11470
|
-
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));
|
|
11471
11473
|
}
|
|
11472
11474
|
mapBindings(e) {
|
|
11473
11475
|
for (const t in e)
|
|
11474
|
-
|
|
11476
|
+
Ft.actions[t] ? e[t] && (typeof e[t] != "object" && (e[t] = [e[t]]), e[t].forEach((i) => {
|
|
11475
11477
|
(Array.isArray(i) ? i : [i]).forEach((o) => {
|
|
11476
11478
|
this.mapBinding(t, o);
|
|
11477
11479
|
});
|
|
@@ -11479,7 +11481,7 @@ const Lp = {
|
|
|
11479
11481
|
}
|
|
11480
11482
|
mapBinding(e, t) {
|
|
11481
11483
|
const i = {
|
|
11482
|
-
action:
|
|
11484
|
+
action: Ft.actions[e],
|
|
11483
11485
|
ctrl: !1,
|
|
11484
11486
|
keys: [],
|
|
11485
11487
|
meta: !1,
|
|
@@ -11528,8 +11530,8 @@ const Lp = {
|
|
|
11528
11530
|
}), i && t.action.call(this, e), !0) : !1;
|
|
11529
11531
|
}
|
|
11530
11532
|
};
|
|
11531
|
-
|
|
11532
|
-
let Is =
|
|
11533
|
+
Ft.moduleName = "keybindings", Ft.bindings = Fp, Ft.actions = Lp;
|
|
11534
|
+
let Is = Ft;
|
|
11533
11535
|
const Io = class Io extends I {
|
|
11534
11536
|
constructor(e) {
|
|
11535
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");
|
|
@@ -12373,7 +12375,7 @@ const No = class No extends I {
|
|
|
12373
12375
|
}
|
|
12374
12376
|
createElements() {
|
|
12375
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>`;
|
|
12376
|
-
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(
|
|
12377
12379
|
"pagination-button-count",
|
|
12378
12380
|
this.count.toString()
|
|
12379
12381
|
)), this.table.options.showPaginationInput && this.paginationElement.setAttribute("show-pagination-input", ""), this.paginationElement.setAttribute("label", ""), this.paginationElement.classList.add("tabulator-paginator-pagination");
|
|
@@ -13666,7 +13668,7 @@ ji.moduleName = "responsiveLayout", ji.moduleExtensions = Vp;
|
|
|
13666
13668
|
let Js = ji;
|
|
13667
13669
|
const Bp = x`<cx-checkbox></cx-checkbox>`;
|
|
13668
13670
|
function $p(r, e, t) {
|
|
13669
|
-
const i =
|
|
13671
|
+
const i = B(Bp);
|
|
13670
13672
|
let s = i, o = !1;
|
|
13671
13673
|
i.setAttribute("aria-label", "Select Row"), i.size = Ba.Small;
|
|
13672
13674
|
const n = this.table;
|
|
@@ -14103,7 +14105,7 @@ class Qp {
|
|
|
14103
14105
|
}
|
|
14104
14106
|
}
|
|
14105
14107
|
const Vr = process.env.NODE_ENV === "development";
|
|
14106
|
-
class Zp extends
|
|
14108
|
+
class Zp extends Me {
|
|
14107
14109
|
constructor(e, t, i, s) {
|
|
14108
14110
|
super(e), this.rangeManager = t, this.element = null, this.initialized = !1, this.initializing = {
|
|
14109
14111
|
end: !1,
|
|
@@ -14283,7 +14285,7 @@ const Bt = process.env.NODE_ENV === "development", ef = x`<div class="tabulator-
|
|
|
14283
14285
|
));
|
|
14284
14286
|
}
|
|
14285
14287
|
initializeTable() {
|
|
14286
|
-
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(
|
|
14287
14289
|
"keydown",
|
|
14288
14290
|
this.keyDownEvent
|
|
14289
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");
|
|
@@ -15012,7 +15014,7 @@ const df = {
|
|
|
15012
15014
|
break;
|
|
15013
15015
|
}
|
|
15014
15016
|
if (e.modules.sort = {
|
|
15015
|
-
dir:
|
|
15017
|
+
dir: Se.None,
|
|
15016
15018
|
params: e.definition.sorterParams || {},
|
|
15017
15019
|
sorter: t,
|
|
15018
15020
|
startingDir: e.definition.headerSortStartingDir || "asc",
|
|
@@ -15043,20 +15045,20 @@ const df = {
|
|
|
15043
15045
|
this.table.options.headerSortElement || ""
|
|
15044
15046
|
);
|
|
15045
15047
|
}
|
|
15046
|
-
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) => {
|
|
15047
15049
|
o.stopPropagation();
|
|
15048
15050
|
}), (this.table.options.headerSortClickElement === "icon" ? s : i).addEventListener("click", (o) => {
|
|
15049
|
-
let n =
|
|
15051
|
+
let n = Se.None, a = !1;
|
|
15050
15052
|
if (e.modules.sort) {
|
|
15051
15053
|
if (e.modules.sort.tristate)
|
|
15052
|
-
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;
|
|
15053
15055
|
else
|
|
15054
15056
|
switch (e.modules.sort.dir) {
|
|
15055
15057
|
case "asc":
|
|
15056
|
-
n =
|
|
15058
|
+
n = Se.Desc;
|
|
15057
15059
|
break;
|
|
15058
15060
|
case "desc":
|
|
15059
|
-
n =
|
|
15061
|
+
n = Se.Asc;
|
|
15060
15062
|
break;
|
|
15061
15063
|
default:
|
|
15062
15064
|
n = e.modules.sort.startingDir;
|
|
@@ -15100,7 +15102,7 @@ const df = {
|
|
|
15100
15102
|
Array.isArray(e) || (e = [{ column: e, dir: t }]), e.forEach((s) => {
|
|
15101
15103
|
const o = this.table.columnManager?.findColumn(s.column);
|
|
15102
15104
|
if (o) {
|
|
15103
|
-
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;
|
|
15104
15106
|
i.push({
|
|
15105
15107
|
...s,
|
|
15106
15108
|
column: o,
|
|
@@ -15154,7 +15156,7 @@ const df = {
|
|
|
15154
15156
|
// clear sort arrows on columns
|
|
15155
15157
|
clearColumnHeaders() {
|
|
15156
15158
|
this.table.columnManager?.getRealColumns().forEach((e) => {
|
|
15157
|
-
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));
|
|
15158
15160
|
});
|
|
15159
15161
|
}
|
|
15160
15162
|
// set the column header sort direction
|
|
@@ -15195,7 +15197,7 @@ const df = {
|
|
|
15195
15197
|
}
|
|
15196
15198
|
// process individual rows for a sort function on active data
|
|
15197
15199
|
_sortRow(e, t, i, s, o) {
|
|
15198
|
-
const n = s ===
|
|
15200
|
+
const n = s === Se.Asc ? e : t, a = s === Se.Asc ? t : e;
|
|
15199
15201
|
let l = i.getFieldValue(n.getData()), h = i.getFieldValue(a.getData());
|
|
15200
15202
|
l = l ?? "", h = h ?? "";
|
|
15201
15203
|
const c = n.getComponent(), d = a.getComponent(), p = i.modules.sort.sorter;
|
|
@@ -15304,7 +15306,7 @@ class jn {
|
|
|
15304
15306
|
return this._sheet.setColumns(e);
|
|
15305
15307
|
}
|
|
15306
15308
|
}
|
|
15307
|
-
class $r extends
|
|
15309
|
+
class $r extends Me {
|
|
15308
15310
|
constructor(e, t) {
|
|
15309
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 = {
|
|
15310
15312
|
headerHozAlign: "center",
|
|
@@ -15409,7 +15411,7 @@ class $r extends De {
|
|
|
15409
15411
|
}
|
|
15410
15412
|
// #endregion
|
|
15411
15413
|
}
|
|
15412
|
-
const
|
|
15414
|
+
const St = process.env.NODE_ENV === "development", Uo = class Uo extends I {
|
|
15413
15415
|
constructor(e) {
|
|
15414
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(
|
|
15415
15417
|
"getSheetDefinitions",
|
|
@@ -15420,18 +15422,18 @@ const Rt = process.env.NODE_ENV === "development", Uo = class Uo extends I {
|
|
|
15420
15422
|
// //// Module Initialization //////
|
|
15421
15423
|
// /////////////////////////////////
|
|
15422
15424
|
initialize() {
|
|
15423
|
-
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(
|
|
15424
15426
|
"You cannot use spreadsheetData and spreadsheetSheets at the same time, ignoring spreadsheetData"
|
|
15425
15427
|
), this.table.options.spreadsheetData = void 0), this.compatibilityCheck(), this.options("spreadsheetSheetTabs") && this.initializeTabset());
|
|
15426
15428
|
}
|
|
15427
15429
|
compatibilityCheck() {
|
|
15428
|
-
this.options("data") &&
|
|
15430
|
+
this.options("data") && St && console.warn(
|
|
15429
15431
|
"Do not use the data option when working with spreadsheets, use either spreadsheetData or spreadsheetSheets to pass data into the table"
|
|
15430
|
-
), this.options("pagination") &&
|
|
15432
|
+
), this.options("pagination") && St && console.warn(
|
|
15431
15433
|
"The spreadsheet module is not compatible with the pagination module"
|
|
15432
|
-
), this.options("groupBy") &&
|
|
15434
|
+
), this.options("groupBy") && St && console.warn(
|
|
15433
15435
|
"The spreadsheet module is not compatible with the row grouping module"
|
|
15434
|
-
), this.options("responsiveLayout") === "collapse" &&
|
|
15436
|
+
), this.options("responsiveLayout") === "collapse" && St && console.warn(
|
|
15435
15437
|
"The spreadsheet module is not compatible with the responsive collapse module"
|
|
15436
15438
|
);
|
|
15437
15439
|
}
|
|
@@ -15442,7 +15444,7 @@ const Rt = process.env.NODE_ENV === "development", Uo = class Uo extends I {
|
|
|
15442
15444
|
);
|
|
15443
15445
|
if (e && !(e instanceof HTMLElement)) {
|
|
15444
15446
|
const t = document.querySelector(e);
|
|
15445
|
-
t ? e = t : (
|
|
15447
|
+
t ? e = t : (St && console.warn(
|
|
15446
15448
|
"Unable to find element matching spreadsheetSheetTabsElement selector:",
|
|
15447
15449
|
this.options("spreadsheetSheetTabsElement")
|
|
15448
15450
|
), e = !1);
|
|
@@ -15461,7 +15463,7 @@ const Rt = process.env.NODE_ENV === "development", Uo = class Uo extends I {
|
|
|
15461
15463
|
* Ajax Parsing
|
|
15462
15464
|
*/
|
|
15463
15465
|
loadRemoteData(e) {
|
|
15464
|
-
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(
|
|
15465
15467
|
`Spreadsheet Loading Error - Unable to process remote data due to invalid data type
|
|
15466
15468
|
Expecting: array
|
|
15467
15469
|
Received: `,
|
|
@@ -15504,7 +15506,7 @@ Data: `,
|
|
|
15504
15506
|
removeSheet(e) {
|
|
15505
15507
|
const t = this.sheets.indexOf(e);
|
|
15506
15508
|
let i;
|
|
15507
|
-
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");
|
|
15508
15510
|
}
|
|
15509
15511
|
lookupSheet(e) {
|
|
15510
15512
|
return e ? e instanceof $r ? e : e instanceof jn ? e._sheet : this.sheets.find((t) => t.key === e) ?? null : this.activeSheet;
|
|
@@ -15787,28 +15789,28 @@ const Wn = {
|
|
|
15787
15789
|
);
|
|
15788
15790
|
}
|
|
15789
15791
|
};
|
|
15790
|
-
function
|
|
15792
|
+
function _e(r) {
|
|
15791
15793
|
return function(e, t, i) {
|
|
15792
15794
|
return Wn[r](t, i);
|
|
15793
15795
|
};
|
|
15794
15796
|
}
|
|
15795
15797
|
const wf = {
|
|
15796
|
-
alphanumeric:
|
|
15797
|
-
boolean:
|
|
15798
|
-
date:
|
|
15799
|
-
ends:
|
|
15800
|
-
float:
|
|
15801
|
-
in:
|
|
15802
|
-
integer:
|
|
15803
|
-
max:
|
|
15804
|
-
maxLength:
|
|
15805
|
-
min:
|
|
15806
|
-
minLength:
|
|
15807
|
-
numeric:
|
|
15808
|
-
regex:
|
|
15809
|
-
required:
|
|
15810
|
-
starts:
|
|
15811
|
-
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"),
|
|
15812
15814
|
// value must be unique in this column; reads sibling rows from the table,
|
|
15813
15815
|
// which is why it stays main-thread-only here.
|
|
15814
15816
|
unique(r, e, t) {
|
|
@@ -15828,20 +15830,20 @@ function vf(r) {
|
|
|
15828
15830
|
);
|
|
15829
15831
|
}
|
|
15830
15832
|
const yf = "cx-validation-request", Cf = "cx-validation-response";
|
|
15831
|
-
let
|
|
15833
|
+
let Tt, Ef = 0;
|
|
15832
15834
|
const xi = /* @__PURE__ */ new Map();
|
|
15833
15835
|
function Wr() {
|
|
15834
15836
|
xi.forEach(
|
|
15835
15837
|
(r) => r.reject(new Error("Validation worker failed"))
|
|
15836
|
-
), xi.clear(),
|
|
15838
|
+
), xi.clear(), Tt?.terminate(), Tt = void 0;
|
|
15837
15839
|
}
|
|
15838
15840
|
function xf() {
|
|
15839
|
-
return
|
|
15841
|
+
return Tt || (Tt = new vf(), Tt.addEventListener("message", (r) => {
|
|
15840
15842
|
if (r.origin !== "" || r.data?.type !== Cf)
|
|
15841
15843
|
return;
|
|
15842
15844
|
const { done: e, id: t, results: i } = r.data.payload, s = xi.get(t);
|
|
15843
15845
|
s && (s.accumulatedResults.push(...i), s.onChunk?.(i), e && (xi.delete(t), s.resolve(s.accumulatedResults)));
|
|
15844
|
-
}),
|
|
15846
|
+
}), Tt.addEventListener("error", Wr), Tt.addEventListener("messageerror", Wr)), Tt;
|
|
15845
15847
|
}
|
|
15846
15848
|
function Rf(r, e) {
|
|
15847
15849
|
return new Promise((t, i) => {
|
|
@@ -16618,7 +16620,7 @@ class Gn {
|
|
|
16618
16620
|
}
|
|
16619
16621
|
}
|
|
16620
16622
|
const qr = process.env.NODE_ENV === "development";
|
|
16621
|
-
class Df extends
|
|
16623
|
+
class Df extends Me {
|
|
16622
16624
|
constructor(e) {
|
|
16623
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(
|
|
16624
16626
|
this.table,
|
|
@@ -17057,7 +17059,7 @@ const Mf = {
|
|
|
17057
17059
|
dataReceiveParams: {}
|
|
17058
17060
|
// dependencies: {},
|
|
17059
17061
|
};
|
|
17060
|
-
class Lf extends
|
|
17062
|
+
class Lf extends Me {
|
|
17061
17063
|
constructor(e) {
|
|
17062
17064
|
super(e), this.active = !1, this.element = this.createElement(), this.containerElement = this.createContainerElement(), this.external = !1;
|
|
17063
17065
|
}
|
|
@@ -17411,7 +17413,7 @@ class _f extends Qi {
|
|
|
17411
17413
|
}
|
|
17412
17414
|
}
|
|
17413
17415
|
const $t = process.env.NODE_ENV === "development", zf = x`<div class="tabulator-tableholder-wrapper"></div>`;
|
|
17414
|
-
class Of extends
|
|
17416
|
+
class Of extends Me {
|
|
17415
17417
|
/**
|
|
17416
17418
|
* True when table has an explicit height (--table-height is set to a non-auto value (e.g. 100%, 500px));
|
|
17417
17419
|
* false when height is variable (--table-height is "auto" or unset).
|
|
@@ -17425,7 +17427,7 @@ class Of extends De {
|
|
|
17425
17427
|
}
|
|
17426
17428
|
// ////////////// Setup Functions /////////////////
|
|
17427
17429
|
createWrapperElement() {
|
|
17428
|
-
return
|
|
17430
|
+
return B(zf);
|
|
17429
17431
|
}
|
|
17430
17432
|
createHolderElement() {
|
|
17431
17433
|
const e = document.createElement("div");
|
|
@@ -17472,7 +17474,7 @@ class Of extends De {
|
|
|
17472
17474
|
*/
|
|
17473
17475
|
findRow(e) {
|
|
17474
17476
|
if (typeof e == "object") {
|
|
17475
|
-
if (e instanceof
|
|
17477
|
+
if (e instanceof ke)
|
|
17476
17478
|
return e;
|
|
17477
17479
|
if (e instanceof Ro)
|
|
17478
17480
|
return e._getSelf() || !1;
|
|
@@ -17574,7 +17576,7 @@ class Of extends De {
|
|
|
17574
17576
|
_setDataActual(e, t) {
|
|
17575
17577
|
this.dispatchExternal("dataProcessing", e), this._wipeElements(), Array.isArray(e) ? (this.dispatch("data-processing", e), e.forEach((i) => {
|
|
17576
17578
|
if (i && typeof i == "object") {
|
|
17577
|
-
const s = new
|
|
17579
|
+
const s = new ke(i, this);
|
|
17578
17580
|
this.rows.push(s), this.registerRowInMap(s);
|
|
17579
17581
|
} else $t && console.warn(
|
|
17580
17582
|
"Data Loading Warning - Invalid row data detected and ignored, expecting object but received:",
|
|
@@ -17627,7 +17629,7 @@ Data: `,
|
|
|
17627
17629
|
return (e ?? this.table.options.addRowPos) === "top";
|
|
17628
17630
|
}
|
|
17629
17631
|
addRowActual(e, t, i, s) {
|
|
17630
|
-
const o = e instanceof
|
|
17632
|
+
const o = e instanceof ke ? e : new ke(e || {}, this);
|
|
17631
17633
|
let n = t, a = -1, l, h;
|
|
17632
17634
|
return i || (h = this.chain("row-adding-position", [o, n], null, {
|
|
17633
17635
|
index: i,
|
|
@@ -17673,12 +17675,12 @@ Data: `,
|
|
|
17673
17675
|
nextDisplayRow(e, t) {
|
|
17674
17676
|
const i = this.getDisplayRowIndex(e);
|
|
17675
17677
|
let s = !1;
|
|
17676
|
-
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;
|
|
17677
17679
|
}
|
|
17678
17680
|
prevDisplayRow(e, t) {
|
|
17679
17681
|
const i = this.getDisplayRowIndex(e);
|
|
17680
17682
|
let s = !1;
|
|
17681
|
-
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;
|
|
17682
17684
|
}
|
|
17683
17685
|
findRowIndex(e, t) {
|
|
17684
17686
|
let i;
|
|
@@ -17987,7 +17989,7 @@ Data: `,
|
|
|
17987
17989
|
this.element.dispatchEvent(new Event("scroll"));
|
|
17988
17990
|
}
|
|
17989
17991
|
}
|
|
17990
|
-
class Af extends
|
|
17992
|
+
class Af extends Me {
|
|
17991
17993
|
constructor(e) {
|
|
17992
17994
|
super(e), this.type = null, this.element = this._createAlertElement(), this.msgElement = this._createMsgElement(), this.element.appendChild(this.msgElement);
|
|
17993
17995
|
}
|
|
@@ -18038,7 +18040,7 @@ class Pf {
|
|
|
18038
18040
|
}
|
|
18039
18041
|
}
|
|
18040
18042
|
}
|
|
18041
|
-
const _i = process.env.NODE_ENV === "development", Gi = class Gi extends
|
|
18043
|
+
const _i = process.env.NODE_ENV === "development", Gi = class Gi extends Me {
|
|
18042
18044
|
constructor(e) {
|
|
18043
18045
|
super(e), this.debounceTimer = null, this.pendingPromise = null, this.pendingResolve = null, this.pendingReject = null, this.requestOrder = 0, this.loading = !1, this.externalLoading = !1;
|
|
18044
18046
|
}
|
|
@@ -18146,7 +18148,7 @@ const _i = process.env.NODE_ENV === "development", Gi = class Gi extends De {
|
|
|
18146
18148
|
alertLoader() {
|
|
18147
18149
|
if ((this.pendingPromise || this.loading || this.externalLoading) && this.table.alertManager?.element.parentNode)
|
|
18148
18150
|
return;
|
|
18149
|
-
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);
|
|
18150
18152
|
e && this.table.alertManager?.alert(
|
|
18151
18153
|
this.table.options.dataLoaderLoading || i,
|
|
18152
18154
|
"loading"
|
|
@@ -18165,7 +18167,7 @@ const _i = process.env.NODE_ENV === "development", Gi = class Gi extends De {
|
|
|
18165
18167
|
Gi.DEBOUNCE_DELAY = 500;
|
|
18166
18168
|
let so = Gi;
|
|
18167
18169
|
const If = process.env.NODE_ENV === "development";
|
|
18168
|
-
class Hf extends
|
|
18170
|
+
class Hf extends Me {
|
|
18169
18171
|
constructor(e) {
|
|
18170
18172
|
super(e), this.deps = {}, this.props = {};
|
|
18171
18173
|
}
|
|
@@ -18208,7 +18210,7 @@ class Hf extends De {
|
|
|
18208
18210
|
}
|
|
18209
18211
|
}
|
|
18210
18212
|
const Nf = process.env.NODE_ENV === "development";
|
|
18211
|
-
class Vf extends
|
|
18213
|
+
class Vf extends Me {
|
|
18212
18214
|
constructor(e) {
|
|
18213
18215
|
super(e);
|
|
18214
18216
|
}
|
|
@@ -18300,7 +18302,7 @@ class Bf {
|
|
|
18300
18302
|
}
|
|
18301
18303
|
}
|
|
18302
18304
|
const $f = process.env.NODE_ENV === "development";
|
|
18303
|
-
class jf extends
|
|
18305
|
+
class jf extends Me {
|
|
18304
18306
|
constructor(e) {
|
|
18305
18307
|
super(e), this.el = null, this.abortClasses = ["tabulator-headers", "tabulator-table"], this.previousTargets = {}, this.listeners = [
|
|
18306
18308
|
"click",
|
|
@@ -18451,7 +18453,7 @@ class jf extends De {
|
|
|
18451
18453
|
s.components.includes("column") && (h = this.table.columnManager?.findColumn(c));
|
|
18452
18454
|
break;
|
|
18453
18455
|
case "cell":
|
|
18454
|
-
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(
|
|
18455
18457
|
"Event Target Lookup Error - The row this cell is attached to cannot be found, has the table been reinitialized without being destroyed first?"
|
|
18456
18458
|
));
|
|
18457
18459
|
break;
|
|
@@ -18857,7 +18859,7 @@ Qe.registry = {
|
|
|
18857
18859
|
return i;
|
|
18858
18860
|
},
|
|
18859
18861
|
matchElement(e) {
|
|
18860
|
-
return Qe.registry.tables.find((t) => e instanceof
|
|
18862
|
+
return Qe.registry.tables.find((t) => e instanceof _t ? t === e : t.element === e);
|
|
18861
18863
|
},
|
|
18862
18864
|
register(e) {
|
|
18863
18865
|
Qe.registry.tables.push(e);
|
|
@@ -19351,20 +19353,20 @@ const he = process.env.NODE_ENV === "development", yt = class yt extends lo {
|
|
|
19351
19353
|
}
|
|
19352
19354
|
};
|
|
19353
19355
|
yt.defaultOptions = Mf;
|
|
19354
|
-
let
|
|
19355
|
-
class Zf extends
|
|
19356
|
+
let _t = yt;
|
|
19357
|
+
class Zf extends _t {
|
|
19356
19358
|
static extendModule(...e) {
|
|
19357
|
-
|
|
19359
|
+
_t.initializeModuleBinder(ls), _t._extendModule(...e);
|
|
19358
19360
|
}
|
|
19359
19361
|
static registerModule(...e) {
|
|
19360
|
-
|
|
19362
|
+
_t.initializeModuleBinder(ls), _t._registerModule(...e);
|
|
19361
19363
|
}
|
|
19362
19364
|
constructor(e, t) {
|
|
19363
19365
|
super(e, t, ls);
|
|
19364
19366
|
}
|
|
19365
19367
|
// #endregion
|
|
19366
19368
|
}
|
|
19367
|
-
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 || {});
|
|
19368
19370
|
class Un {
|
|
19369
19371
|
#e;
|
|
19370
19372
|
#i;
|
|
@@ -19456,7 +19458,7 @@ let ue = class extends Pe {
|
|
|
19456
19458
|
constructor() {
|
|
19457
19459
|
super(...arguments), this.localize = new tt(this), this.shadowRootAutoloader = new Un(
|
|
19458
19460
|
this
|
|
19459
|
-
), 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();
|
|
19460
19462
|
}
|
|
19461
19463
|
handleFacetsChange() {
|
|
19462
19464
|
this.mappedDisplayNames = this.facets.reduce(
|
|
@@ -19523,7 +19525,7 @@ let ue = class extends Pe {
|
|
|
19523
19525
|
const t = r.target.type;
|
|
19524
19526
|
if (!t)
|
|
19525
19527
|
return;
|
|
19526
|
-
const i = this.getFacetSelectionMode(t) ===
|
|
19528
|
+
const i = this.getFacetSelectionMode(t) === Ot.Single;
|
|
19527
19529
|
let s = r.detail.selection;
|
|
19528
19530
|
if (i && s.length > 1) {
|
|
19529
19531
|
const n = new Set(this.internalSelection[t] ?? []), a = s.find(
|
|
@@ -19678,12 +19680,12 @@ ue.dependencies = {
|
|
|
19678
19680
|
"cx-button": Et,
|
|
19679
19681
|
"cx-details": Qa,
|
|
19680
19682
|
"cx-dropdown": ai,
|
|
19681
|
-
"cx-icon":
|
|
19683
|
+
"cx-icon": xt,
|
|
19682
19684
|
"cx-icon-button": oi,
|
|
19683
19685
|
"cx-space": Ri,
|
|
19684
19686
|
"cx-spinner": wn,
|
|
19685
19687
|
"cx-tag": Za,
|
|
19686
|
-
"cx-tooltip":
|
|
19688
|
+
"cx-tooltip": It
|
|
19687
19689
|
};
|
|
19688
19690
|
ye([
|
|
19689
19691
|
f({ type: Array })
|
|
@@ -19776,7 +19778,7 @@ function hm(r) {
|
|
|
19776
19778
|
if (i === -1)
|
|
19777
19779
|
continue;
|
|
19778
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("-");
|
|
19779
|
-
l === Hi.Checkbox && (h.includes(
|
|
19781
|
+
l === Hi.Checkbox && (h.includes(Ot.Single) || h.includes(Ot.Multiple)) ? e.set(n, {
|
|
19780
19782
|
displayName: a,
|
|
19781
19783
|
facetFieldName: n,
|
|
19782
19784
|
selection: cm(h),
|
|
@@ -19799,7 +19801,7 @@ function hm(r) {
|
|
|
19799
19801
|
return e;
|
|
19800
19802
|
}
|
|
19801
19803
|
function cm(r) {
|
|
19802
|
-
return r.includes(
|
|
19804
|
+
return r.includes(Ot.Multiple) ? Ot.Multiple : Ot.Single;
|
|
19803
19805
|
}
|
|
19804
19806
|
function Zr(r) {
|
|
19805
19807
|
return r.find((e) => am.has(e));
|
|
@@ -20051,8 +20053,9 @@ class fm {
|
|
|
20051
20053
|
constructor(e) {
|
|
20052
20054
|
this.isSelectAllMode = !1, this.deselectedIds = /* @__PURE__ */ new Set(), this.selectedIdsForRemote = /* @__PURE__ */ new Set(), this.remoteTotalCount = 0, this.selectedRowsCount = 0, this.selectionSyncSkip = !1, this.isPageTransition = !1, this.host = e, this.host.addController(this), this.handleRowSelectionChanged = this.handleRowSelectionChanged.bind(this), this.handleDataLoaded = this.handleDataLoaded.bind(this), this.handleDataLoading = this.handleDataLoading.bind(this);
|
|
20053
20055
|
}
|
|
20054
|
-
// Tabulator.destroy()
|
|
20055
|
-
//
|
|
20056
|
+
// Tabulator.destroy() does NOT remove `.on()` subscriptions — ExternalEventBus is
|
|
20057
|
+
// never cleared, so a destroyed instance can still dispatch to the handlers below.
|
|
20058
|
+
// No manual off() needed: onTableInit() re-subscribes against each new instance.
|
|
20056
20059
|
hostConnected() {
|
|
20057
20060
|
}
|
|
20058
20061
|
hostDisconnected() {
|
|
@@ -20224,7 +20227,7 @@ class fm {
|
|
|
20224
20227
|
)?.formatterParams?.disabled;
|
|
20225
20228
|
}
|
|
20226
20229
|
}
|
|
20227
|
-
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 = [
|
|
20228
20231
|
gm,
|
|
20229
20232
|
Rm,
|
|
20230
20233
|
Dm,
|
|
@@ -20309,7 +20312,13 @@ const mm = Z`.tabulator .tabulator-alert{z-index:100;background:color-mix(in srg
|
|
|
20309
20312
|
},
|
|
20310
20313
|
toAttribute: (r) => typeof r == "function" ? "" : Array.isArray(r) ? JSON.stringify(r) : r
|
|
20311
20314
|
};
|
|
20312
|
-
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) {
|
|
20313
20322
|
return new Promise((s, o) => {
|
|
20314
20323
|
if (!Number.isInteger(i) || i < 1) {
|
|
20315
20324
|
o(new RangeError("chunkSize must be a positive integer"));
|
|
@@ -20346,7 +20355,7 @@ function $m(r, e, t, i = 500) {
|
|
|
20346
20355
|
});
|
|
20347
20356
|
});
|
|
20348
20357
|
}
|
|
20349
|
-
async function
|
|
20358
|
+
async function Wm(r, e, t, i = 500, s = "") {
|
|
20350
20359
|
if (!Number.isInteger(i) || i < 1)
|
|
20351
20360
|
throw new RangeError("chunkSize must be a positive integer");
|
|
20352
20361
|
const { columns: o, rows: n } = Xn(r, s);
|
|
@@ -20355,7 +20364,7 @@ async function jm(r, e, t, i = 500, s = "") {
|
|
|
20355
20364
|
await t(n.slice(a, a + i));
|
|
20356
20365
|
return n.length;
|
|
20357
20366
|
}
|
|
20358
|
-
async function
|
|
20367
|
+
async function Gm(r, e, t, i = 500, s = "") {
|
|
20359
20368
|
if (!Number.isInteger(i) || i < 1)
|
|
20360
20369
|
throw new RangeError("chunkSize must be a positive integer");
|
|
20361
20370
|
const o = JSON.parse(r), { columns: n, rows: a } = qn(o, s);
|
|
@@ -20370,7 +20379,7 @@ function ds(r) {
|
|
|
20370
20379
|
function Kn(r) {
|
|
20371
20380
|
return r.split(/[./]/).filter((e) => e.length > 0);
|
|
20372
20381
|
}
|
|
20373
|
-
function
|
|
20382
|
+
function Um(r, e) {
|
|
20374
20383
|
return Kn(e).reduce((t, i) => {
|
|
20375
20384
|
if (!(t === null || typeof t != "object"))
|
|
20376
20385
|
return t[i];
|
|
@@ -20378,7 +20387,7 @@ function Gm(r, e) {
|
|
|
20378
20387
|
}
|
|
20379
20388
|
function qn(r, e = "") {
|
|
20380
20389
|
if (e) {
|
|
20381
|
-
const i =
|
|
20390
|
+
const i = Um(r, e);
|
|
20382
20391
|
if (!Array.isArray(i))
|
|
20383
20392
|
throw new Error(`Data path "${e}" did not resolve to an array`);
|
|
20384
20393
|
if (i.length === 0)
|
|
@@ -20407,7 +20416,7 @@ function qn(r, e = "") {
|
|
|
20407
20416
|
return { columns: t.columns, rows: t.data };
|
|
20408
20417
|
throw new Error("JSON data must be an array of row objects or a { columns, data } envelope");
|
|
20409
20418
|
}
|
|
20410
|
-
function
|
|
20419
|
+
function Km(r) {
|
|
20411
20420
|
if (r.length === 0)
|
|
20412
20421
|
return { columns: [], data: [] };
|
|
20413
20422
|
const t = r[0].map((a, l) => {
|
|
@@ -20424,21 +20433,21 @@ function Um(r) {
|
|
|
20424
20433
|
);
|
|
20425
20434
|
return { columns: o, data: n };
|
|
20426
20435
|
}
|
|
20427
|
-
function
|
|
20436
|
+
function qm(r) {
|
|
20428
20437
|
const e = ko.parse(r, { header: !1, skipEmptyLines: !0 }), t = e.errors.filter((i) => i.code !== "UndetectableDelimiter");
|
|
20429
20438
|
if (t.length > 0)
|
|
20430
20439
|
throw new Error(`CSV parse error: ${t[0].message}`);
|
|
20431
|
-
return
|
|
20440
|
+
return Km(e.data);
|
|
20432
20441
|
}
|
|
20433
|
-
function
|
|
20442
|
+
function Xm(r) {
|
|
20434
20443
|
const e = JSON.parse(r), { columns: t, rows: i } = qn(e);
|
|
20435
20444
|
return { columns: t, data: i };
|
|
20436
20445
|
}
|
|
20437
|
-
function
|
|
20446
|
+
function Jm(r) {
|
|
20438
20447
|
const { columns: e, rows: t } = Xn(r);
|
|
20439
20448
|
return { columns: e, data: t };
|
|
20440
20449
|
}
|
|
20441
|
-
function
|
|
20450
|
+
function Ym(r, e) {
|
|
20442
20451
|
const t = Kn(e).reduce((i, s) => i ? /^\d+$/.test(s) ? i.children[Number(s)] ?? null : ho(i, s) : null, r);
|
|
20443
20452
|
if (!t)
|
|
20444
20453
|
throw new Error(`Data path "${e}" did not resolve to an element`);
|
|
@@ -20450,7 +20459,7 @@ function Xn(r, e = "") {
|
|
|
20450
20459
|
throw new Error(`XML parse error: ${i.textContent?.trim() ?? "unknown error"}`);
|
|
20451
20460
|
const s = t.documentElement;
|
|
20452
20461
|
if (e)
|
|
20453
|
-
return en(Array.from(
|
|
20462
|
+
return en(Array.from(Ym(s, e).children));
|
|
20454
20463
|
const o = ho(s, "columns"), n = ho(s, "rows");
|
|
20455
20464
|
if (o && n) {
|
|
20456
20465
|
const a = Array.from(o.children).map((h) => ({
|
|
@@ -20481,7 +20490,7 @@ function ho(r, e) {
|
|
|
20481
20490
|
return t;
|
|
20482
20491
|
return null;
|
|
20483
20492
|
}
|
|
20484
|
-
function
|
|
20493
|
+
function Qm(r) {
|
|
20485
20494
|
const e = r.trim();
|
|
20486
20495
|
if (e.length === 0)
|
|
20487
20496
|
return r;
|
|
@@ -20497,13 +20506,13 @@ function Ym(r) {
|
|
|
20497
20506
|
function Jn(r, e) {
|
|
20498
20507
|
const t = /* @__PURE__ */ new Map();
|
|
20499
20508
|
for (const i of Array.from(r.children))
|
|
20500
|
-
t.set(i.tagName,
|
|
20509
|
+
t.set(i.tagName, Qm(i.textContent ?? ""));
|
|
20501
20510
|
return Object.fromEntries(
|
|
20502
20511
|
e.map((i) => [i, t.has(i) ? t.get(i) : ""])
|
|
20503
20512
|
);
|
|
20504
20513
|
}
|
|
20505
20514
|
ze.Csv + "", ze.Json + "", ze.Xml + "";
|
|
20506
|
-
function
|
|
20515
|
+
function Zm(r, e) {
|
|
20507
20516
|
const i = r.toLowerCase().split("?")[0].split("#")[0].split(".").pop() ?? "";
|
|
20508
20517
|
if (i === "csv")
|
|
20509
20518
|
return ze.Csv;
|
|
@@ -20514,19 +20523,19 @@ function Qm(r, e) {
|
|
|
20514
20523
|
const s = (e ?? "").toLowerCase();
|
|
20515
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;
|
|
20516
20525
|
}
|
|
20517
|
-
function
|
|
20518
|
-
return r !== ze.Auto ? r :
|
|
20526
|
+
function eg(r, e, t) {
|
|
20527
|
+
return r !== ze.Auto ? r : Zm(e, t);
|
|
20519
20528
|
}
|
|
20520
|
-
var
|
|
20529
|
+
var tg = Object.defineProperty, ig = Object.getOwnPropertyDescriptor, Yn = (r) => {
|
|
20521
20530
|
throw TypeError(r);
|
|
20522
20531
|
}, w = (r, e, t, i) => {
|
|
20523
|
-
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--)
|
|
20524
20533
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
20525
|
-
return i && s &&
|
|
20526
|
-
},
|
|
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;
|
|
20527
20536
|
let g = class extends Pe {
|
|
20528
20537
|
constructor() {
|
|
20529
|
-
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(
|
|
20530
20539
|
this
|
|
20531
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 = () => {
|
|
20532
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();
|
|
@@ -20647,7 +20656,7 @@ let g = class extends Pe {
|
|
|
20647
20656
|
}
|
|
20648
20657
|
}
|
|
20649
20658
|
async initTable() {
|
|
20650
|
-
this.tabulatorInstance && (this.selectAllController.resetSelection(), this.overflowObserver?.disconnect(), this.verticalOsInstance?.destroy(), this.horizontalOsInstance?.destroy(), this.tabulatorInstance.destroy());
|
|
20659
|
+
this.tabulatorInstance && (this.selectAllController.resetSelection(), this.overflowObserver?.disconnect(), this.verticalOsInstance?.destroy(), this.horizontalOsInstance?.destroy(), this.tabulatorInstance.off("tableBuilt"), this.tabulatorInstance.destroy());
|
|
20651
20660
|
let e = this.rowHeader;
|
|
20652
20661
|
e == null && (this.movableRows ? e = Hm : this.responsiveLayout === "collapse" && (e = {
|
|
20653
20662
|
formatter: "responsiveCollapse"
|
|
@@ -20703,12 +20712,13 @@ let g = class extends Pe {
|
|
|
20703
20712
|
groupHeaderUseFormatter: this.groupHeaderUseFormatter,
|
|
20704
20713
|
groupIndent: this.groupIndent,
|
|
20705
20714
|
groupLoadMoreMeta: this.groupLoadMoreMeta,
|
|
20706
|
-
groupStartOpen:
|
|
20715
|
+
groupStartOpen: og(this, co, Qn),
|
|
20707
20716
|
groupToggleElement: this.groupToggleElement,
|
|
20708
20717
|
groupUpdateOnCellEdit: this.groupUpdateOnCellEdit,
|
|
20709
20718
|
groupValues: this.groupValues,
|
|
20710
20719
|
headerFilterLiveFilterDelay: this.headerFilterLiveFilterDelay,
|
|
20711
20720
|
headerHidden: this.noHeader,
|
|
20721
|
+
headerSortElement: $m,
|
|
20712
20722
|
hoverMenu: this.hoverMenu,
|
|
20713
20723
|
index: this.rowIdField,
|
|
20714
20724
|
initialFilter: this.initialFilter,
|
|
@@ -21031,7 +21041,7 @@ let g = class extends Pe {
|
|
|
21031
21041
|
}
|
|
21032
21042
|
async streamCsvData(e, t) {
|
|
21033
21043
|
let i = !0;
|
|
21034
|
-
const o = await
|
|
21044
|
+
const o = await jm(
|
|
21035
21045
|
e,
|
|
21036
21046
|
(n) => {
|
|
21037
21047
|
t === this.dataUrlRequestId && (this.columns = this.resolveColumnsAfterLoad(n));
|
|
@@ -21052,7 +21062,7 @@ let g = class extends Pe {
|
|
|
21052
21062
|
};
|
|
21053
21063
|
let n;
|
|
21054
21064
|
try {
|
|
21055
|
-
n = await
|
|
21065
|
+
n = await Gm(
|
|
21056
21066
|
e,
|
|
21057
21067
|
(a) => {
|
|
21058
21068
|
t === this.dataUrlRequestId && (this.columns = this.resolveColumnsAfterLoad(a));
|
|
@@ -21078,7 +21088,7 @@ let g = class extends Pe {
|
|
|
21078
21088
|
};
|
|
21079
21089
|
let n;
|
|
21080
21090
|
try {
|
|
21081
|
-
n = await
|
|
21091
|
+
n = await Wm(
|
|
21082
21092
|
e,
|
|
21083
21093
|
(a) => {
|
|
21084
21094
|
t === this.dataUrlRequestId && (this.columns = this.resolveColumnsAfterLoad(a));
|
|
@@ -21102,7 +21112,7 @@ let g = class extends Pe {
|
|
|
21102
21112
|
const i = await fetch(e);
|
|
21103
21113
|
if (!i.ok)
|
|
21104
21114
|
throw new Error(`Failed to fetch data: ${i.status} ${i.statusText}`);
|
|
21105
|
-
const s = i.headers.get("content-type"), o =
|
|
21115
|
+
const s = i.headers.get("content-type"), o = eg(this.dataFormat, e, s);
|
|
21106
21116
|
if (t !== this.dataUrlRequestId)
|
|
21107
21117
|
return;
|
|
21108
21118
|
const n = await i.text();
|
|
@@ -21265,6 +21275,7 @@ g.dependencies = {
|
|
|
21265
21275
|
"cx-divider": qa,
|
|
21266
21276
|
"cx-faceted-filter": ue,
|
|
21267
21277
|
"cx-format-number": Xa,
|
|
21278
|
+
"cx-icon": xt,
|
|
21268
21279
|
"cx-icon-button": oi,
|
|
21269
21280
|
"cx-select": Ja,
|
|
21270
21281
|
"cx-space": Ri,
|
|
@@ -21272,9 +21283,9 @@ g.dependencies = {
|
|
|
21272
21283
|
"cx-table-column-editor": Ze,
|
|
21273
21284
|
"cx-table-footer": Ei,
|
|
21274
21285
|
"cx-table-header-menu": et,
|
|
21275
|
-
"cx-table-row-actions":
|
|
21286
|
+
"cx-table-row-actions": At,
|
|
21276
21287
|
"cx-table-toolbar": Q,
|
|
21277
|
-
"cx-tooltip":
|
|
21288
|
+
"cx-tooltip": It
|
|
21278
21289
|
};
|
|
21279
21290
|
w([
|
|
21280
21291
|
pe(".tabulator-tableholder")
|
|
@@ -22341,9 +22352,9 @@ w([
|
|
|
22341
22352
|
g = w([
|
|
22342
22353
|
Ie("cx-table")
|
|
22343
22354
|
], g);
|
|
22344
|
-
const
|
|
22355
|
+
const ng = g;
|
|
22345
22356
|
var Ye = /* @__PURE__ */ ((r) => (r.Circles = "circles", r.Grid = "grid", r.Table = "table", r))(Ye || {});
|
|
22346
|
-
const tn = 165,
|
|
22357
|
+
const tn = 165, ag = ["HEX", "RGB", "CMYK", "PMS"], lg = {
|
|
22347
22358
|
resizable: !1
|
|
22348
22359
|
}, Zn = [
|
|
22349
22360
|
{
|
|
@@ -22420,7 +22431,7 @@ function Oi(r, e, t) {
|
|
|
22420
22431
|
})}>${i}</span></cx-copy-button>`, o = document.createDocumentFragment();
|
|
22421
22432
|
return xa(s, o), o.firstElementChild;
|
|
22422
22433
|
}
|
|
22423
|
-
const
|
|
22434
|
+
const hg = (r, e) => [
|
|
22424
22435
|
...Zn.slice(0, 2),
|
|
22425
22436
|
{
|
|
22426
22437
|
field: "hex",
|
|
@@ -22458,11 +22469,11 @@ const lg = (r, e) => [
|
|
|
22458
22469
|
title: "PMS",
|
|
22459
22470
|
widthGrow: 2
|
|
22460
22471
|
}
|
|
22461
|
-
],
|
|
22462
|
-
var
|
|
22463
|
-
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--)
|
|
22464
22475
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
22465
|
-
return i && s &&
|
|
22476
|
+
return i && s && dg(e, t, s), s;
|
|
22466
22477
|
};
|
|
22467
22478
|
const sn = "unnamed";
|
|
22468
22479
|
let ge = class extends Pe {
|
|
@@ -22519,7 +22530,7 @@ let ge = class extends Pe {
|
|
|
22519
22530
|
* Filter out the columns that are not in the showCodes
|
|
22520
22531
|
*/
|
|
22521
22532
|
getTableColumns(r) {
|
|
22522
|
-
const e = this.canCopy ?
|
|
22533
|
+
const e = this.canCopy ? hg(this.localize, r) : Zn;
|
|
22523
22534
|
return [
|
|
22524
22535
|
...e.slice(0, 2),
|
|
22525
22536
|
...e.slice(2).filter(
|
|
@@ -22584,7 +22595,7 @@ let ge = class extends Pe {
|
|
|
22584
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(
|
|
22585
22596
|
[this.showCodes, this.canCopy, this.localize],
|
|
22586
22597
|
() => this.getTableColumns(t.palette)
|
|
22587
|
-
)} .columnDefaults=${
|
|
22598
|
+
)} .columnDefaults=${lg} .rowHeight=${48} .data=${i} class="color-swatch-group__table"></cx-table></div>`;
|
|
22588
22599
|
}
|
|
22589
22600
|
)
|
|
22590
22601
|
)}</cx-space>`,
|
|
@@ -22610,11 +22621,11 @@ let ge = class extends Pe {
|
|
|
22610
22621
|
`;
|
|
22611
22622
|
}
|
|
22612
22623
|
};
|
|
22613
|
-
ge.styles = [$e,
|
|
22624
|
+
ge.styles = [$e, cg];
|
|
22614
22625
|
ge.dependencies = {
|
|
22615
22626
|
"cx-color-swatch": rn,
|
|
22616
22627
|
"cx-space": Ri,
|
|
22617
|
-
"cx-table":
|
|
22628
|
+
"cx-table": ng,
|
|
22618
22629
|
"cx-typography": on
|
|
22619
22630
|
};
|
|
22620
22631
|
xe([
|
|
@@ -22639,7 +22650,7 @@ xe([
|
|
|
22639
22650
|
f({
|
|
22640
22651
|
attribute: "show-codes",
|
|
22641
22652
|
converter: {
|
|
22642
|
-
fromAttribute: (r) => (r?.split(" ") ?? []).filter((t) =>
|
|
22653
|
+
fromAttribute: (r) => (r?.split(" ") ?? []).filter((t) => ag.includes(t)),
|
|
22643
22654
|
toAttribute: (r) => r.join(" ")
|
|
22644
22655
|
},
|
|
22645
22656
|
reflect: !0
|
|
@@ -22682,8 +22693,8 @@ export {
|
|
|
22682
22693
|
ge as C,
|
|
22683
22694
|
nt as F,
|
|
22684
22695
|
Wt as H,
|
|
22685
|
-
|
|
22686
|
-
|
|
22696
|
+
Ot as a,
|
|
22697
|
+
ng as b,
|
|
22687
22698
|
yn as c,
|
|
22688
22699
|
Ye as d,
|
|
22689
22700
|
rr as e,
|
|
@@ -22691,6 +22702,6 @@ export {
|
|
|
22691
22702
|
xn as g,
|
|
22692
22703
|
Ai as h,
|
|
22693
22704
|
ue as i,
|
|
22694
|
-
|
|
22705
|
+
De as j,
|
|
22695
22706
|
fr as o
|
|
22696
22707
|
};
|