@orangelogic/design-system 2.163.0 → 2.164.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/{asset-link-format.BdB6fQA_.js → asset-link-format.0q_MQOYh.js} +689 -633
- package/library/chunks/asset-link-format.ClaYu_v8.js +7 -0
- package/library/chunks/{color-swatch-group.w5DMzNco.js → color-swatch-group.ChP9amU9.js} +375 -296
- package/library/chunks/{document-viewer.gyH0NGM5.js → document-viewer.Cng07M-1.js} +1 -1
- package/library/chunks/{folder-select.Dh4SX0eU.js → folder-select.Dw1ZKZAq.js} +156 -136
- package/library/chunks/position-picker.DjnhxIKF.js +4 -0
- package/library/chunks/{toast.C5Ir5yKA.js → toast.CXEAfCvN.js} +1 -1
- package/library/chunks/transformation.8uLv6uwG.js +264 -0
- package/library/chunks/{tree.Dvnw_4vz.js → tree.vn5sHbdt.js} +120 -114
- package/library/components/asset-link-format.js +5 -4
- package/library/components/atoms.js +2 -2
- package/library/components/color-swatch-group.js +3 -3
- package/library/components/cropper.js +1 -1
- package/library/components/document-viewer.js +1 -1
- package/library/components/file-on-demand.js +1 -1
- package/library/components/folder-select.js +2 -2
- package/library/components/masonry.js +74 -71
- package/library/components/molecules.js +1 -1
- package/library/components/organisms.js +2 -2
- package/library/components/position-picker.js +25 -25
- package/library/components/tree-item.js +1 -1
- package/library/components/tree.js +1 -1
- package/library/components/types.js +10511 -10509
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/tree/tree.d.ts +7 -1
- package/library/packages/atoms/src/components/tree-item/tree-item.d.ts +11 -1
- package/library/packages/events/src/cx-folder-select-loading-change.d.ts +8 -0
- package/library/packages/events/src/events.d.ts +1 -0
- package/library/packages/hybrid/table-core/src/table/styles/table-frozen.styles.d.ts +8 -0
- package/library/packages/hybrid/table-core/src/table/table.d.ts +9 -1
- package/library/packages/hybrid/table-core/src/tabulator-tables/modules/FrozenColumns/FrozenColumns.d.ts +14 -1
- package/library/packages/hybrid/table-core/src/tabulator-tables/modules/ResizeColumns/ResizeColumns.d.ts +18 -1
- package/library/packages/molecules/src/folder-select/components/folder-select-tree/folder-select-tree.d.ts +7 -0
- package/library/packages/molecules/src/folder-select/folder-select.d.ts +7 -0
- package/library/packages/molecules/src/masonry/masonry.d.ts +5 -0
- package/library/packages/organisms/src/asset-link-format/asset-link-format.d.ts +9 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-crop/asset-link-format-crop.d.ts +30 -0
- package/library/packages/types/src/asset-link-format.d.ts +19 -0
- package/library/packages/types/src/tree-item.d.ts +12 -0
- package/library/react-web-component.d.ts +15 -3
- package/library/utils.js +63 -64
- package/package.json +1 -1
- package/library/chunks/asset-link-format.QzzboHHE.js +0 -6
- package/library/chunks/content-builder.BX4pHujE.js +0 -60
- package/library/chunks/transformation.D1alV_s4.js +0 -189
|
@@ -7,15 +7,15 @@ import { C as Ct } from "./button.DGyqdBou.js";
|
|
|
7
7
|
import { C as Cn, o as En, O as No } from "./dialog.05FgdLBZ.js";
|
|
8
8
|
import { C as si } from "./icon-button.BwmMJ0bI.js";
|
|
9
9
|
import Pt from "../components/tooltip.js";
|
|
10
|
-
import { i as Pr, r as xn, f as Jt, m as Rn, a as Sn, t as Ir, g as kn, b as Tn, c as Dn } from "./toast.
|
|
10
|
+
import { i as Pr, r as xn, f as Jt, m as Rn, a as Sn, t as Ir, g as kn, b as Tn, c as Dn } from "./toast.CXEAfCvN.js";
|
|
11
11
|
import { c as Pe } from "./custom-element.L4WJXn1j.js";
|
|
12
12
|
import { L as et } from "./i18n.Bchq8v1d.js";
|
|
13
|
-
import { b as Mn, S as Ln, c as Vo, p as Fn, w as V, E as
|
|
14
|
-
import { i as
|
|
13
|
+
import { b as Mn, S as Ln, c as Vo, p as Fn, w as V, E as zn } from "./watch.DJF5K-8U.js";
|
|
14
|
+
import { i as q, x, E as bt, B as _n } from "./lit-element.jLBm65_O.js";
|
|
15
15
|
import { r as L } from "./state.CSDxrqLd.js";
|
|
16
16
|
import { e as ue } from "./query.BBf1UFkC.js";
|
|
17
17
|
import { a as On, b as An } from "./_baseXor.DixEm6JQ.js";
|
|
18
|
-
import { a as $i, i as
|
|
18
|
+
import { a as $i, i as zt, b as Hr } from "./isArrayLikeObject.D7afXo-f.js";
|
|
19
19
|
import { b as Wi, a as Pn, c as Nr, t as In } from "./_baseIteratee.sC2wLi2m.js";
|
|
20
20
|
import { l as ii, i as Hn, f as Nn } from "./_flatRest.D3ZVApI5.js";
|
|
21
21
|
import { a as ao } from "./toString.B1zKIiZc.js";
|
|
@@ -47,7 +47,7 @@ import "./browser.BHOCIF_A.js";
|
|
|
47
47
|
import "./form.CP9KLGjF.js";
|
|
48
48
|
import "./purify.es.BIuh5IAZ.js";
|
|
49
49
|
import { D as jr, a as ea, t as ta, b as Gr } from "./date-picker.BGHn6qg8.js";
|
|
50
|
-
import { D as ki } from "./
|
|
50
|
+
import { D as ki } from "./transformation.8uLv6uwG.js";
|
|
51
51
|
import { s as P, h as $o, b as ji, c as lo } from "./string.BhJ0Zogu.js";
|
|
52
52
|
import { a as ia } from "./_commonjsHelpers.DQNKXVTB.js";
|
|
53
53
|
import { d as sa } from "./debounce.Bv1rtE8D.js";
|
|
@@ -63,7 +63,7 @@ import { r as da } from "./query-all.i3PyvTUQ.js";
|
|
|
63
63
|
import { i as Wo } from "./guard.D4axKaMo.js";
|
|
64
64
|
var jo = $i(function(r, e) {
|
|
65
65
|
var t = ii(e);
|
|
66
|
-
return
|
|
66
|
+
return zt(t) && (t = void 0), zt(r) ? On(r, Hr(e, 1, zt, !0), Wi(t)) : [];
|
|
67
67
|
}), ua = Math.min;
|
|
68
68
|
function pa(r, e, t) {
|
|
69
69
|
for (var i = Vn, s = r[0].length, o = r.length, n = o, a = Array(o), l = 1 / 0, h = []; n--; ) {
|
|
@@ -87,17 +87,17 @@ function pa(r, e, t) {
|
|
|
87
87
|
return h;
|
|
88
88
|
}
|
|
89
89
|
function fa(r) {
|
|
90
|
-
return
|
|
90
|
+
return zt(r) ? r : [];
|
|
91
91
|
}
|
|
92
92
|
var ma = $i(function(r) {
|
|
93
93
|
var e = ii(r), t = ao(r, fa);
|
|
94
94
|
return e === ii(t) ? e = void 0 : t.pop(), t.length && t[0] === r[0] ? pa(t, Wi(e)) : [];
|
|
95
95
|
}), ga = $i(function(r) {
|
|
96
96
|
var e = ii(r);
|
|
97
|
-
return
|
|
97
|
+
return zt(e) && (e = void 0), Bn(Hr(r, 1, zt, !0), Wi(e));
|
|
98
98
|
}), ba = $i(function(r) {
|
|
99
99
|
var e = ii(r);
|
|
100
|
-
return
|
|
100
|
+
return zt(e) && (e = void 0), An(Fn(r, zt), Wi(e));
|
|
101
101
|
});
|
|
102
102
|
function wa(r, e) {
|
|
103
103
|
return e.length < 2 ? r : Pn(r, Gn(e, 0, -1));
|
|
@@ -120,7 +120,7 @@ var Ca = 1, Ea = 2, xa = 4, Go = Nn(function(r, e) {
|
|
|
120
120
|
va(t, e[s]);
|
|
121
121
|
return t;
|
|
122
122
|
});
|
|
123
|
-
const Ra =
|
|
123
|
+
const Ra = q`:host{min-height:40px;display:block}.board-list-item{--toggle-size:var(--cx-toggle-size-medium);border:1px solid #0000;border-bottom-color:var(--cx-color-neutral-300);font-family:var(--cx-font-sans);min-height:40px;padding-left:var(--cx-spacing-3x-small);background-color:var(--cx-color-neutral-100);align-items:center;gap:16px;display:flex;overflow:hidden}.board-list-item--placeholder{border-bottom-color:#0000}.board-list-item--placeholder .board-list-item__control{display:none}.board-list-item:not(.board-list-item--group):not(.board-list-item--placeholder):hover{transition:var(--cx-transition-slow);background-color:var(--cx-color-primary-50);cursor:grab;border:1px solid var(--cx-color-primary-300)}.board-list-item__control{width:var(--toggle-size);height:var(--toggle-size);border:solid var(--cx-input-border-width) var(--cx-input-border-color);background-color:var(--cx-input-background-color);color:var(--cx-color-neutral-0);transition:var(--cx-transition-fast) border-color, var(--cx-transition-fast) background-color, var(--cx-transition-fast) color, var(--cx-transition-fast) box-shadow;cursor:pointer;border-radius:2px;flex:none;justify-content:center;align-items:center;display:inline-flex;position:relative}.board-list-item__text{flex:1;align-items:center;width:0;height:100%;display:flex;position:relative}.board-list-item__text__content{font-weight:var(--cx-font-weight-regular);line-height:var(--cx-item-line-height,1.4);text-overflow:ellipsis;z-index:1;display:block;position:relative;overflow:hidden}.board-list-item__text__anchor{z-index:0;width:100%;height:100%;display:block;position:absolute;top:0;left:0}.board-list-item__checked-icon{display:inline-flex}.board-list-item--group{background-color:var(--cx-color-neutral-300)}.board-list-item:not(.board-list-item--checked):not(.board-list-item--readonly) .board-list-item__control:hover{border-color:var(--cx-input-border-color-hover);background-color:var(--cx-input-background-color-hover)}.board-list-item--checked .board-list-item__control{border-color:var(--cx-color-primary);background-color:var(--cx-color-primary)}.board-list-item--readonly .board-list-item__control{cursor:default;background-color:#0000;border-color:#0000}:host(:focus-visible){outline:var(--cx-focus-ring);outline-offset:calc(-1 * var(--cx-focus-ring-width));border-radius:2px}`;
|
|
124
124
|
var Sa = Object.defineProperty, ka = Object.getOwnPropertyDescriptor, $e = (r, e, t, i) => {
|
|
125
125
|
for (var s = i > 1 ? void 0 : i ? ka(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
126
126
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
@@ -207,13 +207,13 @@ $e([
|
|
|
207
207
|
Ce = $e([
|
|
208
208
|
Pe("cx-board-list-item")
|
|
209
209
|
], Ce);
|
|
210
|
-
const Ta =
|
|
210
|
+
const Ta = q`: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}`, Da = (r) => {
|
|
211
211
|
const e = r.getRootNode();
|
|
212
212
|
return e instanceof ShadowRoot ? e.host : null;
|
|
213
213
|
};
|
|
214
214
|
navigator.userAgent.match(/safari/i) && !navigator.userAgent.match(/chrome/i) && navigator.userAgent.match(/android/i);
|
|
215
215
|
const Ma = /mac os x/i.test(navigator.userAgent) && !/iphone|ipad/i.test(navigator.userAgent);
|
|
216
|
-
var La = Object.defineProperty, Fa = Object.getOwnPropertyDescriptor,
|
|
216
|
+
var La = Object.defineProperty, Fa = Object.getOwnPropertyDescriptor, X = (r, e, t, i) => {
|
|
217
217
|
for (var s = i > 1 ? void 0 : i ? Fa(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
218
218
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
219
219
|
return i && s && La(e, t, s), s;
|
|
@@ -571,113 +571,113 @@ $.dependencies = {
|
|
|
571
571
|
"cx-input": Vr,
|
|
572
572
|
"cx-tooltip": Pt
|
|
573
573
|
};
|
|
574
|
-
|
|
574
|
+
X([
|
|
575
575
|
ue(".board")
|
|
576
576
|
], $.prototype, "board", 2);
|
|
577
|
-
|
|
577
|
+
X([
|
|
578
578
|
ue('[part="search-input"]')
|
|
579
579
|
], $.prototype, "searchInput", 2);
|
|
580
|
-
|
|
580
|
+
X([
|
|
581
581
|
ue('[part="search-input-clear"]')
|
|
582
582
|
], $.prototype, "searchInputClear", 2);
|
|
583
|
-
|
|
583
|
+
X([
|
|
584
584
|
ue('[part="list"]')
|
|
585
585
|
], $.prototype, "list", 2);
|
|
586
|
-
|
|
586
|
+
X([
|
|
587
587
|
ue('[part="select-all"]')
|
|
588
588
|
], $.prototype, "selectAllCheckBox", 2);
|
|
589
|
-
|
|
589
|
+
X([
|
|
590
590
|
f({ attribute: "title", reflect: !0, type: String })
|
|
591
591
|
], $.prototype, "boardTitle", 2);
|
|
592
|
-
|
|
592
|
+
X([
|
|
593
593
|
f({ type: String })
|
|
594
594
|
], $.prototype, "name", 2);
|
|
595
|
-
|
|
595
|
+
X([
|
|
596
596
|
f({ attribute: "ignore-types", type: Array })
|
|
597
597
|
], $.prototype, "ignoreTypes", 2);
|
|
598
|
-
|
|
598
|
+
X([
|
|
599
599
|
f({ type: Array })
|
|
600
600
|
], $.prototype, "data", 2);
|
|
601
|
-
|
|
601
|
+
X([
|
|
602
602
|
f({ reflect: !0, type: Boolean })
|
|
603
603
|
], $.prototype, "sort", 2);
|
|
604
|
-
|
|
604
|
+
X([
|
|
605
605
|
f({ reflect: !0, type: Boolean })
|
|
606
606
|
], $.prototype, "group", 2);
|
|
607
|
-
|
|
607
|
+
X([
|
|
608
608
|
f({ type: Boolean })
|
|
609
609
|
], $.prototype, "configurable", 2);
|
|
610
|
-
|
|
610
|
+
X([
|
|
611
611
|
f({ reflect: !0, type: Boolean })
|
|
612
612
|
], $.prototype, "all", 2);
|
|
613
|
-
|
|
613
|
+
X([
|
|
614
614
|
f({ attribute: "allow-search", type: Boolean })
|
|
615
615
|
], $.prototype, "allowSearch", 2);
|
|
616
|
-
|
|
616
|
+
X([
|
|
617
617
|
L()
|
|
618
618
|
], $.prototype, "abortDrag", 2);
|
|
619
|
-
|
|
619
|
+
X([
|
|
620
620
|
L()
|
|
621
621
|
], $.prototype, "items", 2);
|
|
622
|
-
|
|
622
|
+
X([
|
|
623
623
|
L()
|
|
624
624
|
], $.prototype, "_allItems", 2);
|
|
625
|
-
|
|
625
|
+
X([
|
|
626
626
|
L()
|
|
627
627
|
], $.prototype, "_filteredItems", 2);
|
|
628
|
-
|
|
628
|
+
X([
|
|
629
629
|
L()
|
|
630
630
|
], $.prototype, "_selectedItems", 2);
|
|
631
|
-
|
|
631
|
+
X([
|
|
632
632
|
L()
|
|
633
633
|
], $.prototype, "_selectedItemOrder", 2);
|
|
634
|
-
|
|
634
|
+
X([
|
|
635
635
|
L()
|
|
636
636
|
], $.prototype, "searchValue", 2);
|
|
637
|
-
|
|
637
|
+
X([
|
|
638
638
|
L()
|
|
639
639
|
], $.prototype, "sortable", 2);
|
|
640
|
-
|
|
640
|
+
X([
|
|
641
641
|
L()
|
|
642
642
|
], $.prototype, "_totalCount", 2);
|
|
643
|
-
|
|
643
|
+
X([
|
|
644
644
|
L()
|
|
645
645
|
], $.prototype, "_totalDisplayedCount", 2);
|
|
646
|
-
|
|
646
|
+
X([
|
|
647
647
|
L()
|
|
648
648
|
], $.prototype, "_indexMap", 2);
|
|
649
|
-
|
|
649
|
+
X([
|
|
650
650
|
L()
|
|
651
651
|
], $.prototype, "isDragging", 2);
|
|
652
|
-
|
|
652
|
+
X([
|
|
653
653
|
L()
|
|
654
654
|
], $.prototype, "start", 2);
|
|
655
|
-
|
|
655
|
+
X([
|
|
656
656
|
L()
|
|
657
657
|
], $.prototype, "end", 2);
|
|
658
|
-
|
|
658
|
+
X([
|
|
659
659
|
L()
|
|
660
660
|
], $.prototype, "previous", 2);
|
|
661
|
-
|
|
661
|
+
X([
|
|
662
662
|
L()
|
|
663
663
|
], $.prototype, "lastSelectedItem", 2);
|
|
664
|
-
|
|
664
|
+
X([
|
|
665
665
|
V(["items", "searchValue"], { waitUntilFirstUpdate: !0 })
|
|
666
666
|
], $.prototype, "onSearchValueChanged", 1);
|
|
667
|
-
|
|
667
|
+
X([
|
|
668
668
|
V(["data", "group"])
|
|
669
669
|
], $.prototype, "onItemsChanged", 1);
|
|
670
|
-
|
|
670
|
+
X([
|
|
671
671
|
Br(200, !0)
|
|
672
672
|
], $.prototype, "handleShiftSelect", 1);
|
|
673
|
-
$ =
|
|
673
|
+
$ = X([
|
|
674
674
|
Pe("cx-board")
|
|
675
675
|
], $);
|
|
676
|
-
const
|
|
677
|
-
var
|
|
676
|
+
const za = q`: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}`, Uo = (r, e) => r.group && e.group && r.group !== e.group ? r.group.localeCompare(e.group) : r.text.localeCompare(e.text);
|
|
677
|
+
var _a = Object.defineProperty, Oa = Object.getOwnPropertyDescriptor, qe = (r, e, t, i) => {
|
|
678
678
|
for (var s = i > 1 ? void 0 : i ? Oa(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
679
679
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
680
|
-
return i && s &&
|
|
680
|
+
return i && s && _a(e, t, s), s;
|
|
681
681
|
};
|
|
682
682
|
let Te = class extends Ae {
|
|
683
683
|
constructor() {
|
|
@@ -897,7 +897,7 @@ let Te = class extends Ae {
|
|
|
897
897
|
return x`<div class="multi-select" @cx-board-change=${this.handleBoardChange} @cx-board-selected-change=${this.handleSelectedChange}><cx-board part="board-1" title=${this.firstColumnData.title} name=${this.firstColumnData.id} all .data=${this.board1Data} ?sort=${this.firstColumnData.sort ?? !1} .ignore-types=${this.ignoreTypes} allow-search></cx-board><div class="multi-select__control"><cx-tooltip part="tooltip" content=${this.localize.term("moveSelectedItemRight")} hoist ?disabled=${!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>`;
|
|
898
898
|
}
|
|
899
899
|
};
|
|
900
|
-
Te.styles = [Be,
|
|
900
|
+
Te.styles = [Be, za];
|
|
901
901
|
Te.dependencies = {
|
|
902
902
|
"cx-board": $,
|
|
903
903
|
"cx-icon-button": si,
|
|
@@ -943,7 +943,7 @@ Te = qe([
|
|
|
943
943
|
Pe("cx-multi-select")
|
|
944
944
|
], Te);
|
|
945
945
|
var $t = /* @__PURE__ */ ((r) => (r.Available = "available", r.Visible = "visible", r))($t || {});
|
|
946
|
-
const Aa =
|
|
946
|
+
const Aa = q`:host{display:contents}cx-dialog{--width:800px}cx-multi-select{height:28rem;display:block}.table-column-editor__note{color:var(--cx-color-neutral-600);font-size:var(--cx-font-size-small);margin:0}.table-column-editor__footer{gap:var(--cx-spacing-small);justify-content:flex-end;display:flex}`;
|
|
947
947
|
var Pa = Object.defineProperty, Ia = Object.getOwnPropertyDescriptor, It = (r, e, t, i) => {
|
|
948
948
|
for (var s = i > 1 ? void 0 : i ? Ia(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
949
949
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
@@ -1043,10 +1043,10 @@ It([
|
|
|
1043
1043
|
Qe = It([
|
|
1044
1044
|
Pe("cx-table-column-editor")
|
|
1045
1045
|
], Qe);
|
|
1046
|
-
var ls = /* @__PURE__ */ ((r) => (r.Search = "search-keyword", r))(ls || {}), Gi = /* @__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))(Gi || {}), wt = /* @__PURE__ */ ((r) => (r.Bottom = "bottom", r.Center = "center", r.Nearest = "nearest", r.Top = "top", r))(wt || {}), Ge = /* @__PURE__ */ ((r) => (r.All = "all", r.Cell = "cell", r.Column = "column", r.Row = "row", r))(Ge || {}), ui = /* @__PURE__ */ ((r) => (r.Both = "both", r.Copy = "copy", r.Paste = "paste", r))(ui || {}),
|
|
1046
|
+
var ls = /* @__PURE__ */ ((r) => (r.Search = "search-keyword", r))(ls || {}), Gi = /* @__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))(Gi || {}), wt = /* @__PURE__ */ ((r) => (r.Bottom = "bottom", r.Center = "center", r.Nearest = "nearest", r.Top = "top", r))(wt || {}), Ge = /* @__PURE__ */ ((r) => (r.All = "all", r.Cell = "cell", r.Column = "column", r.Row = "row", r))(Ge || {}), ui = /* @__PURE__ */ ((r) => (r.Both = "both", r.Copy = "copy", r.Paste = "paste", r))(ui || {}), ze = /* @__PURE__ */ ((r) => (r.Auto = "auto", r.Csv = "csv", r.Json = "json", r.Xml = "xml", r))(ze || {}), yi = /* @__PURE__ */ ((r) => (r.EditColumns = "edit-columns", r.HideColumn = "hide-column", r))(yi || {}), Wt = /* @__PURE__ */ ((r) => (r.Left = "left", r.Right = "right", r))(Wt || {}), ut = /* @__PURE__ */ ((r) => (r.Local = "local", r.Remote = "remote", r))(ut || {}), Re = /* @__PURE__ */ ((r) => (r.Asc = "asc", r.Desc = "desc", r.None = "none", r))(Re || {}), Ue = /* @__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))(Ue || {});
|
|
1047
1047
|
const hs = 36;
|
|
1048
1048
|
var pi = /* @__PURE__ */ ((r) => (r.IsoDate = "iso-date", r.IsoDateTime = "iso-datetime", r.Timestamp = "timestamp", r))(pi || {});
|
|
1049
|
-
const Ha =
|
|
1049
|
+
const Ha = q`:host{align-items:center;width:100%;display:flex}:host([pagination-placement=bottom-start]){justify-content:flex-start}:host([pagination-placement=bottom-center]){justify-content:center}:host([pagination-placement=bottom-end]){justify-content:flex-end}`;
|
|
1050
1050
|
var Na = Object.defineProperty, Va = Object.getOwnPropertyDescriptor, Kr = (r, e, t, i) => {
|
|
1051
1051
|
for (var s = i > 1 ? void 0 : i ? Va(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
1052
1052
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
@@ -1067,7 +1067,7 @@ Kr([
|
|
|
1067
1067
|
Ci = Kr([
|
|
1068
1068
|
Pe("cx-table-footer")
|
|
1069
1069
|
], Ci);
|
|
1070
|
-
const Ba =
|
|
1070
|
+
const Ba = q`:host{display:contents}cx-popup::part(popup){z-index:var(--cx-z-index-dropdown)}`;
|
|
1071
1071
|
var $a = Object.defineProperty, Wa = Object.getOwnPropertyDescriptor, Ht = (r, e, t, i) => {
|
|
1072
1072
|
for (var s = i > 1 ? void 0 : i ? Wa(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
1073
1073
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
@@ -1148,7 +1148,7 @@ Ht([
|
|
|
1148
1148
|
Ze = Ht([
|
|
1149
1149
|
Pe("cx-table-header-menu")
|
|
1150
1150
|
], Ze);
|
|
1151
|
-
const ja =
|
|
1151
|
+
const ja = q`.table-row-actions__button::part(label),.table-row-actions__dropdown__trigger::part(label){padding:0 var(--cx-spacing-x-small)}.table-row-actions__menu-item::part(checked-icon){display:none}`;
|
|
1152
1152
|
var Ga = Object.defineProperty, Ua = Object.getOwnPropertyDescriptor, Kt = (r, e, t, i) => {
|
|
1153
1153
|
for (var s = i > 1 ? void 0 : i ? Ua(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
1154
1154
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
@@ -1581,7 +1581,7 @@ mt([
|
|
|
1581
1581
|
Ve = mt([
|
|
1582
1582
|
Pe("cx-table-saved-search-dropdown")
|
|
1583
1583
|
], Ve);
|
|
1584
|
-
const tl =
|
|
1584
|
+
const tl = q`:host{container-type:inline-size}.header{align-items:center;gap:var(--cx-spacing-small);flex-wrap:wrap;display:none}.header--has-label,.header--has-pagination{display:flex}:host([pagination]) .header{min-height:var(--cx-input-height-medium);display:flex}:host([pagination][no-header-row-reserve][pagination-placement^=bottom]) .header:not(.header--has-label):not(.header--has-pagination){display:none}.header__label{flex:auto;align-items:center;min-width:0;display:flex}.header:not(.header--has-label) .header__label{display:none}.header:not(.header--has-label){justify-content:flex-end}.header__pagination{flex-shrink:0;align-items:center;display:flex}:host([pagination-placement=top-start]) .header__label,:host([pagination-placement=top-center]) .header__label{flex-basis:100%}:host([pagination-placement=top-start]) .header:not(.header--has-label){justify-content:flex-start}:host([pagination-placement=top-center]) .header:not(.header--has-label){justify-content:center}@container (width>=480px){:host([pagination-placement=top-center]) .header.header--has-label,:host([pagination-placement=top-center]) .header.header--has-pagination{grid-template-columns:1fr auto 1fr;display:grid}:host([pagination-placement=top-center]) .header__pagination{grid-column:2}}.header-actions{flex:1}.search{flex:1;max-width:500px}.header-actions__left{flex:1}.search__input{max-width:500px}.search__icon{--font-size:var(--cx-font-size-medium)}.search__icon--search{margin-inline-start:var(--cx-spacing-2x-small)}.search__icon--advanced-search{margin-inline-end:var(--cx-spacing-2x-small)}.header-actions__dropdown::part(trigger){line-height:1}.table-dropdown-filter__trigger,.header-actions__group-by{--cx-button-text-transform:none}.header-actions__group-by .group-by-option--selected{--label-color:var(--cx-color-primary-600)}.header-actions__group-by .group-by-option{--checked-icon-size:20px;--checked-icon-color:var(--cx-color-primary-600)}.toolbar__select-all-checkbox{flex-shrink:0}.header-actions__saved-search{--cx-button-text-transform:none;--checked-icon-display:none}.header-actions__saved-search__load-more{width:100%;padding:0 var(--cx-spacing-x-small)}`;
|
|
1585
1585
|
var il = Object.defineProperty, sl = Object.getOwnPropertyDescriptor, ie = (r, e, t, i) => {
|
|
1586
1586
|
for (var s = i > 1 ? void 0 : i ? sl(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
1587
1587
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
@@ -4549,7 +4549,7 @@ class ys extends ke {
|
|
|
4549
4549
|
this.element?.parentNode && this.element.parentNode.removeChild(this.element);
|
|
4550
4550
|
}
|
|
4551
4551
|
}
|
|
4552
|
-
const Dl = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-button name="keyboard_arrow_down"></cx-icon-button></span>`, Ml = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-button name="keyboard_arrow_right"></cx-icon-button></span>`, Ll = x`<span class="tabulator-data-tree-control tabulator-data-tree-control-placeholder" aria-hidden="true"></span>`, Fl = x`<div class="tabulator-data-tree-branch"></div>`,
|
|
4552
|
+
const Dl = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-button name="keyboard_arrow_down"></cx-icon-button></span>`, Ml = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-button name="keyboard_arrow_right"></cx-icon-button></span>`, Ll = x`<span class="tabulator-data-tree-control tabulator-data-tree-control-placeholder" aria-hidden="true"></span>`, Fl = x`<div class="tabulator-data-tree-branch"></div>`, zl = x`<div class="tabulator-data-tree-branch-empty"></div>`, _l = x`<cx-button size="small"><cx-icon slot="prefix" name="add" variant="outlined"></cx-icon>
|
|
4553
4553
|
Load More
|
|
4554
4554
|
</cx-button>`, Ol = x`<div class="tabulator-data-tree-loading">Loading...</div>`, Al = process.env.NODE_ENV === "development", vo = class vo extends I {
|
|
4555
4555
|
constructor(e) {
|
|
@@ -4591,7 +4591,7 @@ const Dl = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
|
|
|
4591
4591
|
const t = this.table.options;
|
|
4592
4592
|
switch (this.field = t.dataTreeChildField || "_children", this.indent = t.dataTreeChildIndent || 9, this.loadingField = t.dataTreeLoadingField || "loading", this.hasMoreField = t.dataTreeHasMoreField || "hasMore", this.options("movableRows") && Al && console.warn(
|
|
4593
4593
|
"The movableRows option is not available with dataTree enabled, moving of child rows could result in unpredictable behavior"
|
|
4594
|
-
), t.dataTreeBranchElement ? t.dataTreeBranchElement === !0 ? this.branchEl = B(Fl) : typeof t.dataTreeBranchElement == "string" ? (e = document.createElement("div"), e.innerHTML = P(t.dataTreeBranchElement), this.branchEl = e.firstChild) : this.branchEl = t.dataTreeBranchElement : this.branchEl = B(
|
|
4594
|
+
), t.dataTreeBranchElement ? t.dataTreeBranchElement === !0 ? this.branchEl = B(Fl) : typeof t.dataTreeBranchElement == "string" ? (e = document.createElement("div"), e.innerHTML = P(t.dataTreeBranchElement), this.branchEl = e.firstChild) : this.branchEl = t.dataTreeBranchElement : this.branchEl = B(zl), 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(Dl), 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(Ml), typeof t.dataTreeStartExpanded) {
|
|
4595
4595
|
case "boolean":
|
|
4596
4596
|
this.startOpen = function() {
|
|
4597
4597
|
return t.dataTreeStartExpanded;
|
|
@@ -4753,7 +4753,7 @@ const Dl = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
|
|
|
4753
4753
|
this.table.rowManager
|
|
4754
4754
|
);
|
|
4755
4755
|
i.create(), i.modules.dataTree.index = e, i.modules.dataTree.parent = t, i.modules.dataTree.children = !1, i.modules.dataTree.open = !0;
|
|
4756
|
-
const s = B(
|
|
4756
|
+
const s = B(_l);
|
|
4757
4757
|
return i.getElement()?.classList.add("tabulator-tree-level-" + e), i.element.appendChild(s), s.style.setProperty(
|
|
4758
4758
|
"--tabulator-tree-level",
|
|
4759
4759
|
String(e + 1)
|
|
@@ -5670,7 +5670,7 @@ function dh(r, e, t) {
|
|
|
5670
5670
|
return;
|
|
5671
5671
|
let J = ge;
|
|
5672
5672
|
F.valueMap && (J = F.valueMap[String(J)] ?? J);
|
|
5673
|
-
const
|
|
5673
|
+
const z = F.formatter || "plaintext", b = Xi(z), v = {
|
|
5674
5674
|
getColumn: () => r.getColumn(),
|
|
5675
5675
|
getData: () => i,
|
|
5676
5676
|
getElement: () => r.getElement() || document.createElement("div"),
|
|
@@ -5695,20 +5695,20 @@ function dh(r, e, t) {
|
|
|
5695
5695
|
}
|
|
5696
5696
|
if (S == null)
|
|
5697
5697
|
return;
|
|
5698
|
-
const
|
|
5698
|
+
const _ = hh({
|
|
5699
5699
|
spacing: F.spacing,
|
|
5700
5700
|
style: F.style
|
|
5701
5701
|
});
|
|
5702
|
-
typeof S == "string" ?
|
|
5702
|
+
typeof S == "string" ? _.textContent = S : S instanceof Node && _.appendChild(S), D.push({
|
|
5703
5703
|
separator: F.separator,
|
|
5704
|
-
wrapper:
|
|
5704
|
+
wrapper: _
|
|
5705
5705
|
});
|
|
5706
5706
|
}), D.length === 0 ? void 0 : (D.flatMap((F, ge) => {
|
|
5707
|
-
const { separator: J, wrapper:
|
|
5707
|
+
const { separator: J, wrapper: z } = F, b = ge === D.length - 1;
|
|
5708
5708
|
if (!J || b)
|
|
5709
|
-
return [
|
|
5709
|
+
return [z];
|
|
5710
5710
|
const v = document.createElement("span");
|
|
5711
|
-
return typeof J == "string" ? v.textContent = J : v.appendChild(J.cloneNode(!0)), [
|
|
5711
|
+
return typeof J == "string" ? v.textContent = J : v.appendChild(J.cloneNode(!0)), [z, v];
|
|
5712
5712
|
}).forEach((F) => k.appendChild(F)), k);
|
|
5713
5713
|
}
|
|
5714
5714
|
function uh(r) {
|
|
@@ -5868,7 +5868,11 @@ function Dh(r, e, t) {
|
|
|
5868
5868
|
break;
|
|
5869
5869
|
}
|
|
5870
5870
|
const c = String(s + i), d = document.createElement("a");
|
|
5871
|
-
|
|
5871
|
+
d.href = c, ["http:", "https:", "mailto:", "tel:", ""].includes(d.protocol) || c.startsWith("#") ? a.setAttribute("href", c) : (Th && console.warn("Link formatter blocked potentially unsafe URL:", c), a.setAttribute("href", "#")), e.target && a.setAttribute("target", e.target), e.rel && a.setAttribute("rel", e.rel), e.download && (typeof o == "function" ? o = o(r) : o = o === !0 ? "" : o, a.setAttribute("download", String(o))), a.innerHTML = ji(P(n));
|
|
5872
|
+
const u = B(
|
|
5873
|
+
x`<cx-line-clamp lines="1"></cx-line-clamp>`
|
|
5874
|
+
);
|
|
5875
|
+
return u.appendChild(a), u;
|
|
5872
5876
|
} else
|
|
5873
5877
|
return " ";
|
|
5874
5878
|
}
|
|
@@ -5889,15 +5893,15 @@ function Fh(r, e, t) {
|
|
|
5889
5893
|
n = n.replace(a, "$1" + c + "$2");
|
|
5890
5894
|
return l = n + y, e.negativeSign === !0 ? (l = "(" + l + ")", u ? l + p : p + l) : u ? s + l + p : s + p + l;
|
|
5891
5895
|
}
|
|
5892
|
-
const
|
|
5893
|
-
function
|
|
5896
|
+
const zh = x`<cx-format-number></cx-format-number>`;
|
|
5897
|
+
function _h(r, e) {
|
|
5894
5898
|
const t = r.getValue();
|
|
5895
5899
|
if (t == null || t === "")
|
|
5896
5900
|
return;
|
|
5897
5901
|
const i = Number(t);
|
|
5898
5902
|
if (Number.isNaN(i))
|
|
5899
5903
|
return;
|
|
5900
|
-
const s = e ?? {}, o = B(
|
|
5904
|
+
const s = e ?? {}, o = B(zh);
|
|
5901
5905
|
o.value = i;
|
|
5902
5906
|
for (const n of Object.keys(s)) {
|
|
5903
5907
|
const a = s[n];
|
|
@@ -6181,7 +6185,7 @@ const tn = {
|
|
|
6181
6185
|
link: Dh,
|
|
6182
6186
|
lookup: Lh,
|
|
6183
6187
|
money: Fh,
|
|
6184
|
-
number:
|
|
6188
|
+
number: _h,
|
|
6185
6189
|
plaintext: Oh,
|
|
6186
6190
|
progress: Ah,
|
|
6187
6191
|
rownum: Ph,
|
|
@@ -8149,7 +8153,7 @@ function Hi(r, e, t) {
|
|
|
8149
8153
|
function Ec(r) {
|
|
8150
8154
|
return r == null ? "" : String(r).replace(Cc, "");
|
|
8151
8155
|
}
|
|
8152
|
-
function
|
|
8156
|
+
function _e(r) {
|
|
8153
8157
|
try {
|
|
8154
8158
|
return r();
|
|
8155
8159
|
} catch {
|
|
@@ -8166,7 +8170,7 @@ function xc(r, e, t, i, s) {
|
|
|
8166
8170
|
return typeof o == "string" && o.length > 0 ? o === e ? t : s ? Q.retrieveNestedData(s, o, i) : i[o] : t;
|
|
8167
8171
|
}
|
|
8168
8172
|
function Rc(r, e, t) {
|
|
8169
|
-
return !!(typeof r?.shouldHide == "function" &&
|
|
8173
|
+
return !!(typeof r?.shouldHide == "function" && _e(() => r.shouldHide(e, t)) || r?.hideValues !== void 0 && (Array.isArray(r.hideValues) ? r.hideValues : [r.hideValues]).includes(e) || typeof r?.shouldShow == "function" && !_e(
|
|
8170
8174
|
() => r.shouldShow(e, t)
|
|
8171
8175
|
) || r?.showValues !== void 0 && !(Array.isArray(r.showValues) ? r.showValues : [r.showValues]).includes(e));
|
|
8172
8176
|
}
|
|
@@ -8226,7 +8230,7 @@ function Tc(r) {
|
|
|
8226
8230
|
(c) => Q.retrieveNestedData(h, l, c)
|
|
8227
8231
|
);
|
|
8228
8232
|
} else if (typeof n == "function") {
|
|
8229
|
-
const l =
|
|
8233
|
+
const l = _e(() => n(t));
|
|
8230
8234
|
Array.isArray(l) && (a = l);
|
|
8231
8235
|
}
|
|
8232
8236
|
return [a.join(o)];
|
|
@@ -8237,7 +8241,7 @@ function Dc(r) {
|
|
|
8237
8241
|
return [];
|
|
8238
8242
|
const i = [], s = e?.getTagContent;
|
|
8239
8243
|
if (typeof s == "function") {
|
|
8240
|
-
const n =
|
|
8244
|
+
const n = _e(() => s(t));
|
|
8241
8245
|
if (typeof n == "string" && n.length > 0)
|
|
8242
8246
|
return Hi(i, n, t), i;
|
|
8243
8247
|
}
|
|
@@ -8297,13 +8301,13 @@ function hr(r) {
|
|
|
8297
8301
|
}
|
|
8298
8302
|
function Fc(r) {
|
|
8299
8303
|
if (!r || typeof r != "object")
|
|
8300
|
-
return
|
|
8304
|
+
return _e(() => new Intl.NumberFormat(void 0, hr({}))) ?? null;
|
|
8301
8305
|
if (es.has(r))
|
|
8302
8306
|
return es.get(r) ?? null;
|
|
8303
|
-
const e =
|
|
8307
|
+
const e = _e(() => new Intl.NumberFormat(void 0, hr(r))) ?? null;
|
|
8304
8308
|
return es.set(r, e), e;
|
|
8305
8309
|
}
|
|
8306
|
-
function
|
|
8310
|
+
function zc(r) {
|
|
8307
8311
|
const { formatterParams: e, rawValue: t } = r;
|
|
8308
8312
|
if (t == null || t === "")
|
|
8309
8313
|
return [];
|
|
@@ -8313,7 +8317,7 @@ function _c(r) {
|
|
|
8313
8317
|
const s = Fc(e);
|
|
8314
8318
|
if (!s)
|
|
8315
8319
|
return [];
|
|
8316
|
-
const o =
|
|
8320
|
+
const o = _e(() => s.format(i));
|
|
8317
8321
|
return o ? [o] : [];
|
|
8318
8322
|
}
|
|
8319
8323
|
function rn(r) {
|
|
@@ -8325,30 +8329,30 @@ function rn(r) {
|
|
|
8325
8329
|
function nn(r, e, t) {
|
|
8326
8330
|
return r.isDateTime(e) ? e : t === "iso" ? r.fromISO(String(e)) : r.fromFormat(String(e), t);
|
|
8327
8331
|
}
|
|
8328
|
-
function
|
|
8332
|
+
function _i(r, e) {
|
|
8329
8333
|
return typeof r == "string" && r.length > 0 && r !== e ? [r] : [];
|
|
8330
8334
|
}
|
|
8331
|
-
function
|
|
8335
|
+
function _c(r) {
|
|
8332
8336
|
const { formatterParams: e, rawValue: t, table: i } = r, s = rn(i), o = e ?? {}, n = o.invalidPlaceholder ?? "";
|
|
8333
8337
|
if (!s)
|
|
8334
8338
|
return [];
|
|
8335
|
-
const a = o.inputFormat ?? "yyyy-MM-dd HH:mm:ss", l = o.outputFormat ?? "dd/MM/yyyy HH:mm:ss", h =
|
|
8339
|
+
const a = o.inputFormat ?? "yyyy-MM-dd HH:mm:ss", l = o.outputFormat ?? "dd/MM/yyyy HH:mm:ss", h = _e(() => nn(s, t, a));
|
|
8336
8340
|
if (!h?.isValid)
|
|
8337
|
-
return
|
|
8338
|
-
const c = o.timezone ?
|
|
8341
|
+
return _i(n, t);
|
|
8342
|
+
const c = o.timezone ? _e(() => h.setZone(o.timezone)) ?? h : h, d = _e(() => c.toFormat(l));
|
|
8339
8343
|
return d ? [d] : [];
|
|
8340
8344
|
}
|
|
8341
8345
|
function Oc(r) {
|
|
8342
8346
|
const { formatterParams: e, rawValue: t, table: i } = r, s = rn(i), o = e ?? {}, n = o.invalidPlaceholder ?? "";
|
|
8343
8347
|
if (!s)
|
|
8344
|
-
return
|
|
8345
|
-
const a = o.inputFormat ?? "yyyy-MM-dd HH:mm:ss", l = o.suffix === void 0 || o.suffix === null ? !1 : o.suffix, h = o.unit === void 0 || o.unit === null ? "days" : o.unit, c = o.humanize === void 0 || o.humanize === null ? !1 : o.humanize, d = o.date === void 0 || o.date === null ?
|
|
8348
|
+
return _i(n, t);
|
|
8349
|
+
const a = o.inputFormat ?? "yyyy-MM-dd HH:mm:ss", l = o.suffix === void 0 || o.suffix === null ? !1 : o.suffix, h = o.unit === void 0 || o.unit === null ? "days" : o.unit, c = o.humanize === void 0 || o.humanize === null ? !1 : o.humanize, d = o.date === void 0 || o.date === null ? _e(() => s.now()) : o.date;
|
|
8346
8350
|
if (!d)
|
|
8347
|
-
return
|
|
8348
|
-
const p =
|
|
8351
|
+
return _i(n, t);
|
|
8352
|
+
const p = _e(() => nn(s, t, a));
|
|
8349
8353
|
if (!p?.isValid)
|
|
8350
|
-
return
|
|
8351
|
-
const u =
|
|
8354
|
+
return _i(n, t);
|
|
8355
|
+
const u = _e(() => c ? p.diff(d, h).toHuman() + (l ? " " + l : "") : Number.parseInt(String(p.diff(d, h)[h]), 10) + (l ? " " + l : ""));
|
|
8352
8356
|
return u != null ? [u] : [];
|
|
8353
8357
|
}
|
|
8354
8358
|
function Ac(r, e) {
|
|
@@ -8375,7 +8379,7 @@ function Ic(r) {
|
|
|
8375
8379
|
return ln(r);
|
|
8376
8380
|
}
|
|
8377
8381
|
function Hc(r) {
|
|
8378
|
-
const { formatterParams: e, rawValue: t } = r, i = e ?? {}, s = i.indent ?? " ", o = i.replacer ?? null, n =
|
|
8382
|
+
const { formatterParams: e, rawValue: t } = r, i = e ?? {}, s = i.indent ?? " ", o = i.replacer ?? null, n = _e(() => JSON.stringify(t, o, s));
|
|
8379
8383
|
return n === void 0 || n === t ? [] : [n];
|
|
8380
8384
|
}
|
|
8381
8385
|
function Nc(r, e) {
|
|
@@ -8385,7 +8389,7 @@ function Nc(r, e) {
|
|
|
8385
8389
|
const c = {
|
|
8386
8390
|
getData: () => s,
|
|
8387
8391
|
getValue: () => i
|
|
8388
|
-
}, d =
|
|
8392
|
+
}, d = _e(() => a.formatterLookup(c));
|
|
8389
8393
|
typeof d == "string" && (l = d);
|
|
8390
8394
|
} else
|
|
8391
8395
|
switch (typeof i) {
|
|
@@ -8402,7 +8406,7 @@ function Nc(r, e) {
|
|
|
8402
8406
|
if (!l)
|
|
8403
8407
|
return [];
|
|
8404
8408
|
let h;
|
|
8405
|
-
return a.paramsLookup && (typeof a.paramsLookup == "function" ? h =
|
|
8409
|
+
return a.paramsLookup && (typeof a.paramsLookup == "function" ? h = _e(() => a.paramsLookup(l, {
|
|
8406
8410
|
getData: () => s,
|
|
8407
8411
|
getValue: () => i
|
|
8408
8412
|
})) : Ji(a.paramsLookup) && (h = a.paramsLookup[l])), fo({
|
|
@@ -8417,14 +8421,14 @@ function Nc(r, e) {
|
|
|
8417
8421
|
}
|
|
8418
8422
|
const Vc = {
|
|
8419
8423
|
array: Tc,
|
|
8420
|
-
datetime:
|
|
8424
|
+
datetime: _c,
|
|
8421
8425
|
datetimediff: Oc,
|
|
8422
8426
|
html: ln,
|
|
8423
8427
|
json: Hc,
|
|
8424
8428
|
link: Mc,
|
|
8425
8429
|
lookup: kc,
|
|
8426
8430
|
money: Lc,
|
|
8427
|
-
number:
|
|
8431
|
+
number: zc,
|
|
8428
8432
|
plaintext: an,
|
|
8429
8433
|
tag: Dc,
|
|
8430
8434
|
textarea: Ic,
|
|
@@ -9102,11 +9106,11 @@ ct.moduleName = "filter", ct.filters = yc;
|
|
|
9102
9106
|
let Ss = ct;
|
|
9103
9107
|
const $c = process.env.NODE_ENV === "development", yo = class yo extends I {
|
|
9104
9108
|
constructor(e) {
|
|
9105
|
-
super(e), this.leftColumns = [], this.rightColumns = [], this.
|
|
9109
|
+
super(e), this.leftColumns = [], this.rightColumns = [], this.active = !1, this.blocked = !0, this.registerColumnOption("frozen");
|
|
9106
9110
|
}
|
|
9107
9111
|
// reset initial state
|
|
9108
9112
|
reset() {
|
|
9109
|
-
this.
|
|
9113
|
+
this.leftColumns = [], this.rightColumns = [], this.active = !1;
|
|
9110
9114
|
}
|
|
9111
9115
|
initialize() {
|
|
9112
9116
|
this.subscribe("cell-layout", this.layoutCell.bind(this)), this.subscribe("column-init", this.initializeColumn.bind(this)), this.subscribe("column-width", this.layout.bind(this)), this.subscribe("row-layout-after", this.layoutRow.bind(this)), this.subscribe("table-layout", this.layout.bind(this)), this.subscribe("columns-loading", this.reset.bind(this)), this.subscribe("column-add", this.reinitializeColumns.bind(this)), this.subscribe("column-deleted", this.reinitializeColumns.bind(this)), this.subscribe("column-hide", this.reinitializeColumns.bind(this)), this.subscribe("column-show", this.reinitializeColumns.bind(this)), this.subscribe("columns-loaded", this.reinitializeColumns.bind(this)), this.subscribe("table-redraw", this.layout.bind(this)), this.subscribe("layout-refreshing", this.blockLayout.bind(this)), this.subscribe("layout-refreshed", this.unblockLayout.bind(this)), this.subscribe("scrollbar-vertical", this.adjustForScrollbar.bind(this));
|
|
@@ -9121,14 +9125,40 @@ const $c = process.env.NODE_ENV === "development", yo = class yo extends I {
|
|
|
9121
9125
|
this.layoutElement(e.element, e.column);
|
|
9122
9126
|
}
|
|
9123
9127
|
reinitializeColumns() {
|
|
9124
|
-
this.
|
|
9125
|
-
|
|
9126
|
-
|
|
9128
|
+
this.rebuildFrozenLists(), this.layout();
|
|
9129
|
+
}
|
|
9130
|
+
/**
|
|
9131
|
+
* Rebuilds both frozen lists from column order, so the outcome never depends on the order
|
|
9132
|
+
* `column-init` events arrive in. They cannot be trusted: `Column._initialize` is async in this
|
|
9133
|
+
* fork, so they land after `columns-loaded` and may resolve out of order.
|
|
9134
|
+
*/
|
|
9135
|
+
rebuildFrozenLists() {
|
|
9136
|
+
this.leftColumns = [], this.rightColumns = [];
|
|
9137
|
+
let e = !1;
|
|
9138
|
+
(this.table.columnManager?.columnsByIndex ?? []).forEach((i) => {
|
|
9139
|
+
if (!this.frozenCheck(i)) {
|
|
9140
|
+
e = !0, delete i.modules.frozen;
|
|
9141
|
+
return;
|
|
9142
|
+
}
|
|
9143
|
+
this.pinColumn(i, e ? "right" : "left");
|
|
9144
|
+
}), this.active = this.leftColumns.length > 0 || this.rightColumns.length > 0;
|
|
9145
|
+
}
|
|
9146
|
+
/** Records which edge a frozen column belongs to and files it under the matching list. */
|
|
9147
|
+
pinColumn(e, t) {
|
|
9148
|
+
const i = e.modules.frozen ?? {
|
|
9149
|
+
edge: !1,
|
|
9150
|
+
margin: "0"
|
|
9151
|
+
};
|
|
9152
|
+
i.position = t, e.modules.frozen = i, t === "left" ? this.leftColumns.push(e) : this.rightColumns.unshift(e);
|
|
9127
9153
|
}
|
|
9128
|
-
|
|
9154
|
+
/**
|
|
9155
|
+
* Runs once per frozen column, whenever that column initializes. `column-init` lands after
|
|
9156
|
+
* `columns-loaded` in this fork (async `Column._initialize`), so this is what gets the margins
|
|
9157
|
+
* and edge flags recomputed after that late wave — `layout()` guards itself on `active` and
|
|
9158
|
+
* `blocked`, and non-frozen columns return before reaching it.
|
|
9159
|
+
*/
|
|
9129
9160
|
initializeColumn(e) {
|
|
9130
|
-
|
|
9131
|
-
e.isGroup || (this.frozenCheck(e) ? (t.position = this.initializationMode, this.initializationMode === "left" ? this.leftColumns.push(e) : this.rightColumns.unshift(e), this.active = !0, e.modules.frozen = t) : this.initializationMode = "right");
|
|
9161
|
+
e.isGroup || !this.frozenCheck(e) || (this.rebuildFrozenLists(), this.layout());
|
|
9132
9162
|
}
|
|
9133
9163
|
frozenCheck(e) {
|
|
9134
9164
|
return e.parent instanceof Ne && e.parent.isGroup && e.definition.frozen && $c && console.warn(
|
|
@@ -9171,7 +9201,13 @@ const $c = process.env.NODE_ENV === "development", yo = class yo extends I {
|
|
|
9171
9201
|
a.marginValue = s, a.margin = a.marginValue + "px", o.hidden || (s += o.getWidth()), n === this.rightColumns.length - 1 ? a.edge = !0 : a.edge = !1, o.parent instanceof Ne && o.parent.isGroup ? this.layoutElement(this.getColGroupParentElement(o), o) : this.layoutElement(o.getElement(), o), e && o.cells.forEach((l) => {
|
|
9172
9202
|
this.layoutElement(l.getElement(!0), o);
|
|
9173
9203
|
});
|
|
9174
|
-
}), this.rightMargin = s + "px"
|
|
9204
|
+
}), this.rightMargin = s + "px", this.table.element?.style.setProperty(
|
|
9205
|
+
"--frozen-left-width",
|
|
9206
|
+
i + "px"
|
|
9207
|
+
), this.table.element?.style.setProperty(
|
|
9208
|
+
"--frozen-right-width",
|
|
9209
|
+
s + "px"
|
|
9210
|
+
);
|
|
9175
9211
|
}
|
|
9176
9212
|
getColGroupParentElement(e) {
|
|
9177
9213
|
return e.parent instanceof Ne && e.parent.isGroup ? this.getColGroupParentElement(e.parent) : e.getElement();
|
|
@@ -9208,6 +9244,12 @@ const $c = process.env.NODE_ENV === "development", yo = class yo extends I {
|
|
|
9208
9244
|
), e.classList.toggle(
|
|
9209
9245
|
"tabulator-frozen-right",
|
|
9210
9246
|
s.edge && s.position === "right"
|
|
9247
|
+
), e.classList.toggle(
|
|
9248
|
+
"tabulator-frozen-pinned-end",
|
|
9249
|
+
s.position === "right"
|
|
9250
|
+
), e.classList.toggle(
|
|
9251
|
+
"tabulator-frozen-pinned-start",
|
|
9252
|
+
s.position !== "right"
|
|
9211
9253
|
);
|
|
9212
9254
|
}
|
|
9213
9255
|
}
|
|
@@ -10416,22 +10458,22 @@ function id() {
|
|
|
10416
10458
|
}).call(this, b), this.parseChunk = function(v, R) {
|
|
10417
10459
|
var T = parseInt(this._config.skipFirstNLines) || 0;
|
|
10418
10460
|
if (this.isFirstChunk && 0 < T) {
|
|
10419
|
-
let
|
|
10420
|
-
|
|
10461
|
+
let _ = this._config.newline;
|
|
10462
|
+
_ || (S = this._config.quoteChar || '"', _ = this._handle.guessLineEndings(v, S)), v = [...v.split(_).slice(T)].join(_);
|
|
10421
10463
|
}
|
|
10422
|
-
this.isFirstChunk &&
|
|
10464
|
+
this.isFirstChunk && z(this._config.beforeFirstChunk) && (S = this._config.beforeFirstChunk(v)) !== void 0 && (v = S), this.isFirstChunk = !1, this._halted = !1;
|
|
10423
10465
|
var T = this._partialLine + v, S = (this._partialLine = "", this._handle.parse(T, this._baseIndex, !this._finished));
|
|
10424
10466
|
if (!this._handle.paused() && !this._handle.aborted()) {
|
|
10425
10467
|
if (v = S.meta.cursor, T = (this._finished || (this._partialLine = T.substring(v - this._baseIndex), this._baseIndex = v), S && S.data && (this._rowCount += S.data.length), this._finished || this._config.preview && this._rowCount >= this._config.preview), n) i.postMessage({ results: S, workerId: h.WORKER_ID, finished: T });
|
|
10426
|
-
else if (
|
|
10468
|
+
else if (z(this._config.chunk) && !R) {
|
|
10427
10469
|
if (this._config.chunk(S, this._handle), this._handle.paused() || this._handle.aborted()) return void (this._halted = !0);
|
|
10428
10470
|
this._completeResults = S = void 0;
|
|
10429
10471
|
}
|
|
10430
|
-
return this._config.step || this._config.chunk || (this._completeResults.data = this._completeResults.data.concat(S.data), this._completeResults.errors = this._completeResults.errors.concat(S.errors), this._completeResults.meta = S.meta), this._completed || !T || !
|
|
10472
|
+
return this._config.step || this._config.chunk || (this._completeResults.data = this._completeResults.data.concat(S.data), this._completeResults.errors = this._completeResults.errors.concat(S.errors), this._completeResults.meta = S.meta), this._completed || !T || !z(this._config.complete) || S && S.meta.aborted || (this._config.complete(this._completeResults, this._input), this._completed = !0), T || S && S.meta.paused || this._nextChunk(), S;
|
|
10431
10473
|
}
|
|
10432
10474
|
this._halted = !0;
|
|
10433
10475
|
}, this._sendError = function(v) {
|
|
10434
|
-
|
|
10476
|
+
z(this._config.error) ? this._config.error(v) : n && this._config.error && i.postMessage({ workerId: h.WORKER_ID, error: v, finished: !1 });
|
|
10435
10477
|
};
|
|
10436
10478
|
}
|
|
10437
10479
|
function p(b) {
|
|
@@ -10453,8 +10495,8 @@ function id() {
|
|
|
10453
10495
|
this._config.chunkSize && (S = this._start + this._config.chunkSize - 1, v.setRequestHeader("Range", "bytes=" + this._start + "-" + S));
|
|
10454
10496
|
try {
|
|
10455
10497
|
v.send(this._config.downloadRequestBody);
|
|
10456
|
-
} catch (
|
|
10457
|
-
this._chunkError(
|
|
10498
|
+
} catch (_) {
|
|
10499
|
+
this._chunkError(_.message);
|
|
10458
10500
|
}
|
|
10459
10501
|
o && v.status === 0 && this._chunkError();
|
|
10460
10502
|
}
|
|
@@ -10472,8 +10514,8 @@ function id() {
|
|
|
10472
10514
|
}, this._nextChunk = function() {
|
|
10473
10515
|
this._finished || this._config.preview && !(this._rowCount < this._config.preview) || this._readChunk();
|
|
10474
10516
|
}, this._readChunk = function() {
|
|
10475
|
-
var S = this._input,
|
|
10476
|
-
T || this._chunkLoaded({ target: { result:
|
|
10517
|
+
var S = this._input, _ = (this._config.chunkSize && (_ = Math.min(this._start + this._config.chunkSize, this._input.size), S = R.call(S, this._start, _)), v.readAsText(S, this._config.encoding));
|
|
10518
|
+
T || this._chunkLoaded({ target: { result: _ } });
|
|
10477
10519
|
}, this._chunkLoaded = function(S) {
|
|
10478
10520
|
this._start += this._config.chunkSize, this._finished = !this._config.chunkSize || this._start >= this._input.size, this.parseChunk(S.target.result);
|
|
10479
10521
|
}, this._chunkError = function() {
|
|
@@ -10505,8 +10547,8 @@ function id() {
|
|
|
10505
10547
|
}, this._streamData = J(function(S) {
|
|
10506
10548
|
try {
|
|
10507
10549
|
v.push(typeof S == "string" ? S : S.toString(this._config.encoding)), R && (R = !1, this._checkIsFinished(), this.parseChunk(v.shift()));
|
|
10508
|
-
} catch (
|
|
10509
|
-
this._streamError(
|
|
10550
|
+
} catch (_) {
|
|
10551
|
+
this._streamError(_);
|
|
10510
10552
|
}
|
|
10511
10553
|
}, this), this._streamError = J(function(S) {
|
|
10512
10554
|
this._streamCleanUp(), this._sendError(S);
|
|
@@ -10517,7 +10559,7 @@ function id() {
|
|
|
10517
10559
|
}, this);
|
|
10518
10560
|
}
|
|
10519
10561
|
function E(b) {
|
|
10520
|
-
var v, R, T, S,
|
|
10562
|
+
var v, R, T, S, _ = Math.pow(2, 53), re = -_, We = /^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/, Xe = /^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/, W = this, pe = 0, O = 0, Me = !1, H = !1, j = [], M = { data: [], errors: [], meta: {} };
|
|
10521
10563
|
function je(K) {
|
|
10522
10564
|
return b.skipEmptyLines === "greedy" ? K.join("").trim() === "" : K.length === 1 && K[0].length === 0;
|
|
10523
10565
|
}
|
|
@@ -10526,7 +10568,7 @@ function id() {
|
|
|
10526
10568
|
return !je(A);
|
|
10527
10569
|
})), be()) {
|
|
10528
10570
|
let A = function(ae, we) {
|
|
10529
|
-
ae = c(ae),
|
|
10571
|
+
ae = c(ae), z(b.transformHeader) && (ae = b.transformHeader(ae, we)), j.push(ae);
|
|
10530
10572
|
};
|
|
10531
10573
|
if (M) if (Array.isArray(M.data[0])) {
|
|
10532
10574
|
for (var K = 0; be() && K < M.data.length; K++) M.data[K].forEach(A);
|
|
@@ -10536,7 +10578,7 @@ function id() {
|
|
|
10536
10578
|
function G(A, ae) {
|
|
10537
10579
|
for (var we = b.header ? {} : [], se = 0; se < A.length; se++) {
|
|
10538
10580
|
var oe = se, U = A[se], U = ((it, N) => ((ce) => (b.dynamicTypingFunction && b.dynamicTyping[ce] === void 0 && (b.dynamicTyping[ce] = b.dynamicTypingFunction(ce)), (b.dynamicTyping[ce] || b.dynamicTyping) === !0))(it) ? N === "true" || N === "TRUE" || N !== "false" && N !== "FALSE" && (((ce) => {
|
|
10539
|
-
if (We.test(ce) && (ce = parseFloat(ce), re < ce && ce <
|
|
10581
|
+
if (We.test(ce) && (ce = parseFloat(ce), re < ce && ce < _))
|
|
10540
10582
|
return 1;
|
|
10541
10583
|
})(N) ? parseFloat(N) : Xe.test(N) ? new Date(N) : N === "" ? null : N) : N)(oe = b.header ? se >= j.length ? "__parsed_extra" : j[se] : oe, U = b.transform ? b.transform(U, oe) : U);
|
|
10542
10584
|
oe === "__parsed_extra" ? (we[oe] = we[oe] || [], we[oe].push(U)) : we[oe] = U;
|
|
@@ -10552,10 +10594,10 @@ function id() {
|
|
|
10552
10594
|
function tt(K, G, fe, A) {
|
|
10553
10595
|
K = { type: K, code: G, message: fe }, A !== void 0 && (K.row = A), M.errors.push(K);
|
|
10554
10596
|
}
|
|
10555
|
-
|
|
10597
|
+
z(b.step) && (S = b.step, b.step = function(K) {
|
|
10556
10598
|
M = K, be() ? ne() : (ne(), M.data.length !== 0 && (pe += K.data.length, b.preview && pe > b.preview ? R.abort() : (M.data = M.data[0], S(M, W))));
|
|
10557
10599
|
}), this.parse = function(K, G, fe) {
|
|
10558
|
-
var A = b.quoteChar || '"', A = (b.newline || (b.newline = this.guessLineEndings(K, A)), T = !1, b.delimiter ?
|
|
10600
|
+
var A = b.quoteChar || '"', A = (b.newline || (b.newline = this.guessLineEndings(K, A)), T = !1, b.delimiter ? z(b.delimiter) && (b.delimiter = b.delimiter(K), M.meta.delimiter = b.delimiter) : ((A = ((ae, we, se, oe, U) => {
|
|
10559
10601
|
var it, N, ce, xt;
|
|
10560
10602
|
U = U || [",", " ", "|", ";", h.RECORD_SEP, h.UNIT_SEP];
|
|
10561
10603
|
for (var qt = 0; qt < U.length; qt++) {
|
|
@@ -10568,13 +10610,13 @@ function id() {
|
|
|
10568
10610
|
}, this.paused = function() {
|
|
10569
10611
|
return Me;
|
|
10570
10612
|
}, this.pause = function() {
|
|
10571
|
-
Me = !0, R.abort(), v =
|
|
10613
|
+
Me = !0, R.abort(), v = z(b.chunk) ? "" : v.substring(R.getCharIndex());
|
|
10572
10614
|
}, this.resume = function() {
|
|
10573
10615
|
W.streamer._halted ? (Me = !1, W.streamer.parseChunk(v, !0)) : setTimeout(W.resume, 3);
|
|
10574
10616
|
}, this.aborted = function() {
|
|
10575
10617
|
return H;
|
|
10576
10618
|
}, this.abort = function() {
|
|
10577
|
-
H = !0, R.abort(), M.meta.aborted = !0,
|
|
10619
|
+
H = !0, R.abort(), M.meta.aborted = !0, z(b.complete) && b.complete(M), v = "";
|
|
10578
10620
|
}, this.guessLineEndings = function(ae, A) {
|
|
10579
10621
|
ae = ae.substring(0, 1048576);
|
|
10580
10622
|
var A = new RegExp(C(A) + "([^]*?)" + C(A), "gm"), fe = (ae = ae.replace(A, "")).split("\r"), A = ae.split(`
|
|
@@ -10591,7 +10633,7 @@ function id() {
|
|
|
10591
10633
|
return b.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
10592
10634
|
}
|
|
10593
10635
|
function k(b) {
|
|
10594
|
-
var v = (b = b || {}).delimiter, R = b.newline, T = b.comments, S = b.step,
|
|
10636
|
+
var v = (b = b || {}).delimiter, R = b.newline, T = b.comments, S = b.step, _ = b.preview, re = b.fastMode, We = null, Xe = !1, W = b.quoteChar == null ? '"' : b.quoteChar, pe = W;
|
|
10595
10637
|
if (b.escapeChar !== void 0 && (pe = b.escapeChar), (typeof v != "string" || -1 < h.BAD_DELIMITERS.indexOf(v)) && (v = ","), T === v) throw new Error("Comment character same as delimiter");
|
|
10596
10638
|
T === !0 ? T = "#" : (typeof T != "string" || -1 < h.BAD_DELIMITERS.indexOf(T)) && (T = !1), R !== `
|
|
10597
10639
|
` && R !== "\r" && R !== `\r
|
|
@@ -10600,7 +10642,7 @@ function id() {
|
|
|
10600
10642
|
var O = 0, Me = !1;
|
|
10601
10643
|
this.parse = function(H, j, M) {
|
|
10602
10644
|
if (typeof H != "string") throw new Error("Input must be a string");
|
|
10603
|
-
var je = H.length, ne = v.length, be = R.length, tt = T.length, K =
|
|
10645
|
+
var je = H.length, ne = v.length, be = R.length, tt = T.length, K = z(S), G = [], fe = [], A = [], ae = O = 0;
|
|
10604
10646
|
if (!H) return Le();
|
|
10605
10647
|
if (re || re !== !1 && H.indexOf(W) === -1) {
|
|
10606
10648
|
for (var we = H.split(R), se = 0; se < we.length; se++) {
|
|
@@ -10610,7 +10652,7 @@ function id() {
|
|
|
10610
10652
|
if (K) {
|
|
10611
10653
|
if (G = [], xt(A.split(v)), at(), Me) return Le();
|
|
10612
10654
|
} else xt(A.split(v));
|
|
10613
|
-
if (
|
|
10655
|
+
if (_ && _ <= se) return G = G.slice(0, _), Le(!0);
|
|
10614
10656
|
}
|
|
10615
10657
|
}
|
|
10616
10658
|
return Le();
|
|
@@ -10628,7 +10670,7 @@ function id() {
|
|
|
10628
10670
|
}
|
|
10629
10671
|
if (ce = qt(U), H.substring(N + 1 + ce, N + 1 + ce + be) === R) {
|
|
10630
10672
|
if (A.push(H.substring(O, N).replace(it, W)), ai(N + 1 + ce + be), oe = H.indexOf(v, O), N = H.indexOf(W, O), K && (at(), Me)) return Le();
|
|
10631
|
-
if (
|
|
10673
|
+
if (_ && G.length >= _) return Le(!0);
|
|
10632
10674
|
break;
|
|
10633
10675
|
}
|
|
10634
10676
|
fe.push({ type: "Quotes", code: "InvalidQuotes", message: "Trailing quote on quoted field is malformed", row: G.length, index: O }), N++;
|
|
@@ -10641,7 +10683,7 @@ function id() {
|
|
|
10641
10683
|
else {
|
|
10642
10684
|
if (U === -1) break;
|
|
10643
10685
|
if (A.push(H.substring(O, U)), ai(U + be), K && (at(), Me)) return Le();
|
|
10644
|
-
if (
|
|
10686
|
+
if (_ && G.length >= _) return Le(!0);
|
|
10645
10687
|
}
|
|
10646
10688
|
return nt();
|
|
10647
10689
|
function xt(ye) {
|
|
@@ -10663,7 +10705,7 @@ function id() {
|
|
|
10663
10705
|
let Io = !1;
|
|
10664
10706
|
for (let Xt = 0; Xt < Ie.length; Xt++) {
|
|
10665
10707
|
let lt = c(Ie[Xt]);
|
|
10666
|
-
if (gt[lt =
|
|
10708
|
+
if (gt[lt = z(b.transformHeader) ? b.transformHeader(lt, Xt) : lt]) {
|
|
10667
10709
|
let li, Ho = gt[lt];
|
|
10668
10710
|
for (; li = lt + "_" + Ho, Ho++, Yi.has(li); ) ;
|
|
10669
10711
|
Yi.add(li), Ie[Xt] = li, gt[lt]++, Io = !0, (We = We === null ? {} : We)[li] = lt;
|
|
@@ -10690,16 +10732,16 @@ function id() {
|
|
|
10690
10732
|
var S = { abort: function() {
|
|
10691
10733
|
T = !0, he(v.workerId, { data: [], errors: [], meta: { aborted: !0 } });
|
|
10692
10734
|
}, pause: F, resume: F };
|
|
10693
|
-
if (
|
|
10694
|
-
for (var
|
|
10735
|
+
if (z(R.userStep)) {
|
|
10736
|
+
for (var _ = 0; _ < v.results.data.length && (R.userStep({ data: v.results.data[_], errors: v.results.errors, meta: v.results.meta }, S), !T); _++) ;
|
|
10695
10737
|
delete v.results;
|
|
10696
|
-
} else
|
|
10738
|
+
} else z(R.userChunk) && (R.userChunk(v.results, S, v.file), delete v.results);
|
|
10697
10739
|
}
|
|
10698
10740
|
v.finished && !T && he(v.workerId, v.results);
|
|
10699
10741
|
}
|
|
10700
10742
|
function he(b, v) {
|
|
10701
10743
|
var R = a[b];
|
|
10702
|
-
|
|
10744
|
+
z(R.userComplete) && R.userComplete(v), R.terminate(), delete a[b];
|
|
10703
10745
|
}
|
|
10704
10746
|
function F() {
|
|
10705
10747
|
throw new Error("Not implemented.");
|
|
@@ -10715,26 +10757,26 @@ function id() {
|
|
|
10715
10757
|
b.apply(v, arguments);
|
|
10716
10758
|
};
|
|
10717
10759
|
}
|
|
10718
|
-
function
|
|
10760
|
+
function z(b) {
|
|
10719
10761
|
return typeof b == "function";
|
|
10720
10762
|
}
|
|
10721
10763
|
return h.parse = function(b, v) {
|
|
10722
10764
|
var R = (v = v || {}).dynamicTyping || !1;
|
|
10723
|
-
if (
|
|
10765
|
+
if (z(R) && (v.dynamicTypingFunction = R, R = {}), v.dynamicTyping = R, v.transform = !!z(v.transform) && v.transform, !v.worker || !h.WORKERS_SUPPORTED) return R = null, h.NODE_STREAM_INPUT, typeof b == "string" ? (b = c(b), R = new (v.download ? p : m)(v)) : b.readable === !0 && z(b.read) && z(b.on) ? R = new y(v) : (i.File && b instanceof File || b instanceof Object) && (R = new u(v)), R.stream(b);
|
|
10724
10766
|
(R = (() => {
|
|
10725
10767
|
var T;
|
|
10726
10768
|
return !!h.WORKERS_SUPPORTED && (T = (() => {
|
|
10727
|
-
var S = i.URL || i.webkitURL || null,
|
|
10728
|
-
return h.BLOB_URL || (h.BLOB_URL = S.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ", "(",
|
|
10769
|
+
var S = i.URL || i.webkitURL || null, _ = t.toString();
|
|
10770
|
+
return h.BLOB_URL || (h.BLOB_URL = S.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ", "(", _, ")();"], { type: "text/javascript" })));
|
|
10729
10771
|
})(), (T = new i.Worker(T)).onmessage = D, T.id = l++, a[T.id] = T);
|
|
10730
|
-
})()).userStep = v.step, R.userChunk = v.chunk, R.userComplete = v.complete, R.userError = v.error, v.step =
|
|
10772
|
+
})()).userStep = v.step, R.userChunk = v.chunk, R.userComplete = v.complete, R.userError = v.error, v.step = z(v.step), v.chunk = z(v.chunk), v.complete = z(v.complete), v.error = z(v.error), delete v.worker, R.postMessage({ input: b, config: v, workerId: R.id });
|
|
10731
10773
|
}, h.unparse = function(b, v) {
|
|
10732
|
-
var R = !1, T = !0, S = ",",
|
|
10774
|
+
var R = !1, T = !0, S = ",", _ = `\r
|
|
10733
10775
|
`, re = '"', We = re + re, Xe = !1, W = null, pe = !1, O = ((() => {
|
|
10734
10776
|
if (typeof v == "object") {
|
|
10735
10777
|
if (typeof v.delimiter != "string" || h.BAD_DELIMITERS.filter(function(j) {
|
|
10736
10778
|
return v.delimiter.indexOf(j) !== -1;
|
|
10737
|
-
}).length || (S = v.delimiter), typeof v.quotes != "boolean" && typeof v.quotes != "function" && !Array.isArray(v.quotes) || (R = v.quotes), typeof v.skipEmptyLines != "boolean" && typeof v.skipEmptyLines != "string" || (Xe = v.skipEmptyLines), typeof v.newline == "string" && (
|
|
10779
|
+
}).length || (S = v.delimiter), typeof v.quotes != "boolean" && typeof v.quotes != "function" && !Array.isArray(v.quotes) || (R = v.quotes), typeof v.skipEmptyLines != "boolean" && typeof v.skipEmptyLines != "string" || (Xe = v.skipEmptyLines), typeof v.newline == "string" && (_ = v.newline), typeof v.quoteChar == "string" && (re = v.quoteChar, We = re + re), typeof v.header == "boolean" && (T = v.header), Array.isArray(v.columns)) {
|
|
10738
10780
|
if (v.columns.length === 0) throw new Error("Option columns is empty");
|
|
10739
10781
|
W = v.columns;
|
|
10740
10782
|
}
|
|
@@ -10750,7 +10792,7 @@ function id() {
|
|
|
10750
10792
|
var ne = "", be = (typeof j == "string" && (j = JSON.parse(j)), typeof M == "string" && (M = JSON.parse(M)), Array.isArray(j) && 0 < j.length), tt = !Array.isArray(M[0]);
|
|
10751
10793
|
if (be && T) {
|
|
10752
10794
|
for (var K = 0; K < j.length; K++) 0 < K && (ne += S), ne += H(j[K], K);
|
|
10753
|
-
0 < M.length && (ne +=
|
|
10795
|
+
0 < M.length && (ne += _);
|
|
10754
10796
|
}
|
|
10755
10797
|
for (var G = 0; G < M.length; G++) {
|
|
10756
10798
|
var fe = (be ? j : M[G]).length, A = !1, ae = be ? Object.keys(M[G]).length === 0 : M[G].length === 0;
|
|
@@ -10767,7 +10809,7 @@ function id() {
|
|
|
10767
10809
|
var it = be && tt ? j[U] : U;
|
|
10768
10810
|
ne += H(M[G][it], U);
|
|
10769
10811
|
}
|
|
10770
|
-
G < M.length - 1 && (!je || 0 < fe && !ae) && (ne +=
|
|
10812
|
+
G < M.length - 1 && (!je || 0 < fe && !ae) && (ne += _);
|
|
10771
10813
|
}
|
|
10772
10814
|
}
|
|
10773
10815
|
return ne;
|
|
@@ -10782,25 +10824,25 @@ function id() {
|
|
|
10782
10824
|
}, h.RECORD_SEP = "", h.UNIT_SEP = "", h.BYTE_ORDER_MARK = "\uFEFF", h.BAD_DELIMITERS = ["\r", `
|
|
10783
10825
|
`, '"', h.BYTE_ORDER_MARK], h.WORKERS_SUPPORTED = !o && !!i.Worker, h.NODE_STREAM_INPUT = 1, h.LocalChunkSize = 10485760, h.RemoteChunkSize = 5242880, h.DefaultDelimiter = ",", h.Parser = k, h.ParserHandle = E, h.NetworkStreamer = p, h.FileStreamer = u, h.StringStreamer = m, h.ReadableStreamStreamer = y, i.jQuery && ((s = i.jQuery).fn.parse = function(b) {
|
|
10784
10826
|
var v = b.config || {}, R = [];
|
|
10785
|
-
return this.each(function(
|
|
10827
|
+
return this.each(function(_) {
|
|
10786
10828
|
if (!(s(this).prop("tagName").toUpperCase() === "INPUT" && s(this).attr("type").toLowerCase() === "file" && i.FileReader) || !this.files || this.files.length === 0) return !0;
|
|
10787
10829
|
for (var re = 0; re < this.files.length; re++) R.push({ file: this.files[re], inputElem: this, instanceConfig: s.extend({}, v) });
|
|
10788
10830
|
}), T(), this;
|
|
10789
10831
|
function T() {
|
|
10790
|
-
if (R.length === 0)
|
|
10832
|
+
if (R.length === 0) z(b.complete) && b.complete();
|
|
10791
10833
|
else {
|
|
10792
|
-
var
|
|
10793
|
-
if (
|
|
10834
|
+
var _, re, We, Xe, W = R[0];
|
|
10835
|
+
if (z(b.before)) {
|
|
10794
10836
|
var pe = b.before(W.file, W.inputElem);
|
|
10795
10837
|
if (typeof pe == "object") {
|
|
10796
|
-
if (pe.action === "abort") return
|
|
10838
|
+
if (pe.action === "abort") return _ = "AbortError", re = W.file, We = W.inputElem, Xe = pe.reason, void (z(b.error) && b.error({ name: _ }, re, We, Xe));
|
|
10797
10839
|
if (pe.action === "skip") return void S();
|
|
10798
10840
|
typeof pe.config == "object" && (W.instanceConfig = s.extend(W.instanceConfig, pe.config));
|
|
10799
10841
|
} else if (pe === "skip") return void S();
|
|
10800
10842
|
}
|
|
10801
10843
|
var O = W.instanceConfig.complete;
|
|
10802
10844
|
W.instanceConfig.complete = function(Me) {
|
|
10803
|
-
|
|
10845
|
+
z(O) && O(Me, W.file, W.inputElem), S();
|
|
10804
10846
|
}, h.parse(W.file, W.instanceConfig);
|
|
10805
10847
|
}
|
|
10806
10848
|
}
|
|
@@ -11184,7 +11226,7 @@ const Ro = class Ro extends I {
|
|
|
11184
11226
|
}
|
|
11185
11227
|
};
|
|
11186
11228
|
Ro.moduleName = "interaction";
|
|
11187
|
-
let
|
|
11229
|
+
let zs = Ro;
|
|
11188
11230
|
const hd = {
|
|
11189
11231
|
keyBlock: function(r) {
|
|
11190
11232
|
r.stopPropagation(), r.preventDefault();
|
|
@@ -11312,7 +11354,7 @@ const hd = {
|
|
|
11312
11354
|
}
|
|
11313
11355
|
};
|
|
11314
11356
|
Lt.moduleName = "keybindings", Lt.bindings = cd, Lt.actions = hd;
|
|
11315
|
-
let
|
|
11357
|
+
let _s = Lt;
|
|
11316
11358
|
const So = class So extends I {
|
|
11317
11359
|
constructor(e) {
|
|
11318
11360
|
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");
|
|
@@ -12977,7 +13019,7 @@ Lo.moduleName = "reactiveData";
|
|
|
12977
13019
|
let $s = Lo;
|
|
12978
13020
|
const Fo = class Fo extends I {
|
|
12979
13021
|
constructor(e) {
|
|
12980
|
-
super(e), this.startColumn = !1, this.startX = !1, this.startWidth = !1, this.latestX = !1, this.handle = null, this.initialNextColumn = null, this.nextColumn = null, this.initialized = !1, this.registerColumnOption("resizable", !0), this.registerTableOption("resizableColumnFit", !1), this.registerTableOption("resizableColumnGuide", !1);
|
|
13022
|
+
super(e), this.startColumn = !1, this.startX = !1, this.startWidth = !1, this.startColumnPinnedEnd = !1, this.latestX = !1, this.handle = null, this.initialNextColumn = null, this.nextColumn = null, this.initialized = !1, this.registerColumnOption("resizable", !0), this.registerTableOption("resizableColumnFit", !1), this.registerTableOption("resizableColumnGuide", !1);
|
|
12981
13023
|
}
|
|
12982
13024
|
initialize() {
|
|
12983
13025
|
this.subscribe("column-rendered", this.layoutColumnHeader.bind(this));
|
|
@@ -13010,15 +13052,39 @@ const Fo = class Fo extends I {
|
|
|
13010
13052
|
});
|
|
13011
13053
|
}
|
|
13012
13054
|
}
|
|
13013
|
-
|
|
13055
|
+
/**
|
|
13056
|
+
* An end-pinned column's only draggable edge is its left one (the freeze divider). Derived from
|
|
13057
|
+
* `definition.frozen` + column order, not frozen-module state (event timing is unreliable), and
|
|
13058
|
+
* walks `columns` because `columnsByIndex` is still empty when `column-rendered` creates handles.
|
|
13059
|
+
*/
|
|
13060
|
+
isPinnedEnd(e) {
|
|
13014
13061
|
let t = !1;
|
|
13015
|
-
|
|
13062
|
+
const i = this.table.columnManager?.columns ?? [];
|
|
13063
|
+
for (const s of i) {
|
|
13064
|
+
if (s === e)
|
|
13065
|
+
return !!s.definition.frozen && t;
|
|
13066
|
+
s.definition.frozen || (t = !0);
|
|
13067
|
+
}
|
|
13068
|
+
return !1;
|
|
13016
13069
|
}
|
|
13070
|
+
/**
|
|
13071
|
+
* The in-flow handle goes right after the element it resizes — except for an end-pinned column,
|
|
13072
|
+
* whose right edge is the table edge: its handle goes before the element, onto the freeze
|
|
13073
|
+
* divider (drag deltas invert to match, see `resize`). Callers resolve `isPinnedEnd` once.
|
|
13074
|
+
*/
|
|
13075
|
+
attachHandle(e, t, i) {
|
|
13076
|
+
i ? (t.classList.add("tabulator-col-resize-handle-pinned-end"), e.before(t)) : (t.classList.remove("tabulator-col-resize-handle-pinned-end"), e.after(t));
|
|
13077
|
+
}
|
|
13078
|
+
/**
|
|
13079
|
+
* Re-inserts handles next to the element they resize. Upstream wrote `left`/`right` insets here
|
|
13080
|
+
* for frozen columns, which added to the flow position and pushed handles a column width off;
|
|
13081
|
+
* frozen handles travel via `table-frozen.styles.ts` instead (which also owns their z-index).
|
|
13082
|
+
*/
|
|
13017
13083
|
reinitializeColumn(e) {
|
|
13018
|
-
const t = this.
|
|
13084
|
+
const t = this.isPinnedEnd(e);
|
|
13019
13085
|
e.cells.forEach((i) => {
|
|
13020
|
-
i.modules.resize && i.modules.resize.handleEl && i.element && (
|
|
13021
|
-
}), e.modules.resize && e.modules.resize.handleEl && e.element && (
|
|
13086
|
+
i.modules.resize && i.modules.resize.handleEl && i.element && this.attachHandle(i.element, i.modules.resize.handleEl, t);
|
|
13087
|
+
}), e.modules.resize && e.modules.resize.handleEl && e.element && this.attachHandle(e.element, e.modules.resize.handleEl, t);
|
|
13022
13088
|
}
|
|
13023
13089
|
initializeColumn(e, t, i, s) {
|
|
13024
13090
|
let o = !1;
|
|
@@ -13035,15 +13101,10 @@ const Fo = class Fo extends I {
|
|
|
13035
13101
|
const u = l.nextColumn();
|
|
13036
13102
|
this.initialNextColumn = this.nextColumn = u === !1 ? null : u, this._mouseDown(p, l, c);
|
|
13037
13103
|
};
|
|
13038
|
-
|
|
13104
|
+
c.addEventListener("mousedown", d), c.addEventListener("touchstart", d, { passive: !0 }), c.addEventListener("dblclick", async (p) => {
|
|
13039
13105
|
const u = l.getWidth();
|
|
13040
13106
|
p.stopPropagation(), await l.reinitializeWidth(!0), u !== l.getWidth() && (this.dispatch("column-resized", l), this.dispatchExternal("columnResized", l.getComponent()));
|
|
13041
|
-
}), i.
|
|
13042
|
-
c.style.position = "sticky";
|
|
13043
|
-
const p = this.frozenColumnOffset(i);
|
|
13044
|
-
p && (c.style[i.modules.frozen.position] = p);
|
|
13045
|
-
}
|
|
13046
|
-
a.handleEl = c, s.parentNode && !i.hidden && s.after(c);
|
|
13107
|
+
}), a.handleEl = c, s.parentNode && !i.hidden && this.attachHandle(s, c, this.isPinnedEnd(l));
|
|
13047
13108
|
}
|
|
13048
13109
|
t.modules.resize = a;
|
|
13049
13110
|
}
|
|
@@ -13064,7 +13125,7 @@ const Fo = class Fo extends I {
|
|
|
13064
13125
|
if (i === null)
|
|
13065
13126
|
return;
|
|
13066
13127
|
let s = i - this.startX, o = i - this.latestX;
|
|
13067
|
-
this.latestX = i, this.table.rtl && (s = -s, o = -o);
|
|
13128
|
+
this.latestX = i, this.table.rtl && (s = -s, o = -o), this.startColumnPinnedEnd && (s = -s, o = -o);
|
|
13068
13129
|
const n = t.width == t.minWidth || t.width == t.maxWidth;
|
|
13069
13130
|
t.setWidth(this.startWidth + s);
|
|
13070
13131
|
const a = t.width == t.minWidth || t.width == t.maxWidth;
|
|
@@ -13101,12 +13162,12 @@ const Fo = class Fo extends I {
|
|
|
13101
13162
|
};
|
|
13102
13163
|
e.stopPropagation(), this.startColumn && this.startColumn.modules.edit && (this.startColumn.modules.edit.blocked = !0);
|
|
13103
13164
|
const a = this.getEventClientX(e);
|
|
13104
|
-
a !== null && (this.startX = a, this.latestX = this.startX, this.startWidth = t.getWidth(), document.body.addEventListener("mousemove", o), document.body.addEventListener("mouseup", n), i.addEventListener("touchmove", o, { passive: !0 }), i.addEventListener("touchend", n));
|
|
13165
|
+
a !== null && (this.startX = a, this.latestX = this.startX, this.startWidth = t.getWidth(), this.startColumnPinnedEnd = this.isPinnedEnd(t), document.body.addEventListener("mousemove", o), document.body.addEventListener("mouseup", n), i.addEventListener("touchmove", o, { passive: !0 }), i.addEventListener("touchend", n));
|
|
13105
13166
|
}
|
|
13106
13167
|
};
|
|
13107
13168
|
Fo.moduleName = "resizeColumns";
|
|
13108
13169
|
let Ws = Fo;
|
|
13109
|
-
const
|
|
13170
|
+
const zo = class zo extends I {
|
|
13110
13171
|
constructor(e) {
|
|
13111
13172
|
super(e), this.startRow = !1, this.startY = !1, this.startHeight = !1, this.handle = null, this.prevHandle = null, this.registerTableOption("resizableRows", !1), this.registerTableOption("resizableRowGuide", !1);
|
|
13112
13173
|
}
|
|
@@ -13182,9 +13243,9 @@ const _o = class _o extends I {
|
|
|
13182
13243
|
}), i.addEventListener("touchend", n));
|
|
13183
13244
|
}
|
|
13184
13245
|
};
|
|
13185
|
-
|
|
13186
|
-
let js =
|
|
13187
|
-
const
|
|
13246
|
+
zo.moduleName = "resizeRows";
|
|
13247
|
+
let js = zo;
|
|
13248
|
+
const _o = class _o extends I {
|
|
13188
13249
|
constructor(e) {
|
|
13189
13250
|
super(e), this.pendingRedraw = !1, this.pendingForceRedraw = !1, this.boundHandleTableInitialized = this.handleTableInitialized.bind(this), this.binding = !1, this.visibilityObserver = !1, this.resizeObserver = !1, this.containerObserver = !1, this.tableHeight = 0, this.tableWidth = 0, this.containerHeight = 0, this.containerWidth = 0, this.autoResize = !1, this.visible = !1, this.initialized = !1, this.initialRedraw = !1, this.registerTableOption("autoResize", !0);
|
|
13190
13251
|
}
|
|
@@ -13262,8 +13323,8 @@ const zo = class zo extends I {
|
|
|
13262
13323
|
this.flushPendingRedraw();
|
|
13263
13324
|
}
|
|
13264
13325
|
};
|
|
13265
|
-
|
|
13266
|
-
let Gs =
|
|
13326
|
+
_o.moduleName = "resizeTable";
|
|
13327
|
+
let Gs = _o;
|
|
13267
13328
|
function wd(r) {
|
|
13268
13329
|
const e = document.createElement("div"), t = r.getRow()._row.modules.responsiveLayout;
|
|
13269
13330
|
e.classList.add("tabulator-responsive-collapse-toggle"), e.innerHTML = `<svg class='tabulator-responsive-collapse-toggle-open' viewBox="0 0 24 24">
|
|
@@ -13888,7 +13949,7 @@ class Fd {
|
|
|
13888
13949
|
}
|
|
13889
13950
|
}
|
|
13890
13951
|
const br = process.env.NODE_ENV === "development";
|
|
13891
|
-
class
|
|
13952
|
+
class zd extends De {
|
|
13892
13953
|
constructor(e, t, i, s) {
|
|
13893
13954
|
super(e), this.rangeManager = t, this.element = null, this.initialized = !1, this.initializing = {
|
|
13894
13955
|
end: !1,
|
|
@@ -14032,7 +14093,7 @@ class _d extends De {
|
|
|
14032
14093
|
), !this.destroyed;
|
|
14033
14094
|
}
|
|
14034
14095
|
}
|
|
14035
|
-
const Vt = process.env.NODE_ENV === "development",
|
|
14096
|
+
const Vt = process.env.NODE_ENV === "development", _d = x`<div class="tabulator-range-cell-hover"></div>`, bi = class bi extends I {
|
|
14036
14097
|
constructor(e) {
|
|
14037
14098
|
super(e), this.selecting = Ge.Cell, this.mousedown = !1, this.ranges = [], this.overlay = null, this.rowHeader = null, this.debouncedLayoutRanges = sa(() => {
|
|
14038
14099
|
this.layoutRanges();
|
|
@@ -14068,7 +14129,7 @@ const Vt = process.env.NODE_ENV === "development", zd = x`<div class="tabulator-
|
|
|
14068
14129
|
));
|
|
14069
14130
|
}
|
|
14070
14131
|
initializeTable() {
|
|
14071
|
-
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(
|
|
14132
|
+
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(_d), this.overlay.appendChild(this.rangeContainer), this.overlay.appendChild(this.hoverRangeCellElement), this.overlay.appendChild(this.activeRangeCellElement), this.table.rowManager?.element && this.table.rowManager.element.addEventListener(
|
|
14072
14133
|
"keydown",
|
|
14073
14134
|
this.keyDownEvent
|
|
14074
14135
|
), 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");
|
|
@@ -14548,7 +14609,7 @@ const Vt = process.env.NODE_ENV === "development", zd = x`<div class="tabulator-
|
|
|
14548
14609
|
const s = this.ranges.shift();
|
|
14549
14610
|
s && s.destroy(!1);
|
|
14550
14611
|
}
|
|
14551
|
-
const i = new
|
|
14612
|
+
const i = new zd(this.table, this, e, t);
|
|
14552
14613
|
return this.activeRange = i, this.ranges.push(i), this.rangeContainer && i.element && this.rangeContainer.appendChild(i.element), i;
|
|
14553
14614
|
}
|
|
14554
14615
|
resetRanges() {
|
|
@@ -16053,8 +16114,8 @@ const os = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16053
16114
|
HoverMenuModule: us,
|
|
16054
16115
|
HtmlTableImportModule: Ls,
|
|
16055
16116
|
ImportModule: Fs,
|
|
16056
|
-
InteractionModule:
|
|
16057
|
-
KeybindingsModule:
|
|
16117
|
+
InteractionModule: zs,
|
|
16118
|
+
KeybindingsModule: _s,
|
|
16058
16119
|
MenuModule: Os,
|
|
16059
16120
|
MoveColumnsModule: As,
|
|
16060
16121
|
MoveRowsModule: Ps,
|
|
@@ -17065,14 +17126,14 @@ class cu extends qi {
|
|
|
17065
17126
|
const p = this.rows(), u = p.length;
|
|
17066
17127
|
let m = 0, y, E, C = [], k = 0, D = 0;
|
|
17067
17128
|
const he = this.table.rowManager?.fixedHeight ?? !1, F = this.table.element ? globalThis.getComputedStyle(this.table.element).getPropertyValue("--table-max-height").trim() : "", J = he || F !== "" && F !== "auto";
|
|
17068
|
-
let
|
|
17129
|
+
let z = this.elementVertical?.clientHeight ?? 0, b = this.table.options.rowHeight, v = !0;
|
|
17069
17130
|
if (e = e || 0, i = i || 0, !e)
|
|
17070
17131
|
this.clear();
|
|
17071
17132
|
else {
|
|
17072
17133
|
for (; s?.firstChild; )
|
|
17073
17134
|
s.removeChild(s.firstChild);
|
|
17074
|
-
h = (u - e + 1) * this.vDomRowHeight, h <
|
|
17075
|
-
(
|
|
17135
|
+
h = (u - e + 1) * this.vDomRowHeight, h < z && (e -= Math.ceil(
|
|
17136
|
+
(z - h) / this.vDomRowHeight
|
|
17076
17137
|
), e < 0 && (e = 0)), n = Math.min(
|
|
17077
17138
|
Math.max(
|
|
17078
17139
|
Math.floor(this.vDomWindowBuffer / this.vDomRowHeight),
|
|
@@ -17083,10 +17144,10 @@ class cu extends qi {
|
|
|
17083
17144
|
}
|
|
17084
17145
|
const R = !this.table.initialized || !!t;
|
|
17085
17146
|
if (u && this.elementVertical && (Q.elVisible(this.elementVertical) || R)) {
|
|
17086
|
-
for (this.vDomTop = e, this.vDomBottom = e - 1, J ? (b && (D =
|
|
17147
|
+
for (this.vDomTop = e, this.vDomBottom = e - 1, J ? (b && (D = z / b + this.vDomWindowBuffer / b), D = Math.max(
|
|
17087
17148
|
this.vDomWindowMinTotalRows,
|
|
17088
17149
|
Math.ceil(D)
|
|
17089
|
-
)) : D = u; (D == u || a <=
|
|
17150
|
+
)) : D = u; (D == u || a <= z + this.vDomWindowBuffer || k < this.vDomWindowMinTotalRows) && this.vDomBottom < u - 1; ) {
|
|
17090
17151
|
for (C = [], E = document.createDocumentFragment(), d = 0; d < D && this.vDomBottom < u - 1; ) {
|
|
17091
17152
|
m = this.vDomBottom + 1, y = p[m], this.styleRow(y, m), y.initialize(!1, !0), !y.heightInitialized && !this.table.options.rowHeight && y.clearCellHeight();
|
|
17092
17153
|
const T = y.getElement();
|
|
@@ -17100,10 +17161,10 @@ class cu extends qi {
|
|
|
17100
17161
|
T.heightInitialized || T.setCellHeight();
|
|
17101
17162
|
}), C.forEach((T) => {
|
|
17102
17163
|
l = T.getHeight(), k < n ? c += l : a += l, l > this.vDomWindowBuffer && (this.vDomWindowBuffer = l * 2), k++;
|
|
17103
|
-
}), v = this.table.rowManager?.adjustTableSize() || !1,
|
|
17164
|
+
}), v = this.table.rowManager?.adjustTableSize() || !1, z = this.elementVertical.clientHeight, v && J && (b = a / k, D = Math.max(
|
|
17104
17165
|
this.vDomWindowMinTotalRows,
|
|
17105
17166
|
Math.ceil(
|
|
17106
|
-
|
|
17167
|
+
z / b + this.vDomWindowBuffer / b
|
|
17107
17168
|
)
|
|
17108
17169
|
));
|
|
17109
17170
|
}
|
|
@@ -17112,10 +17173,10 @@ class cu extends qi {
|
|
|
17112
17173
|
0
|
|
17113
17174
|
)) : (this.vDomTopPad = 0, this.vDomRowHeight = Math.floor(
|
|
17114
17175
|
(a + c) / k
|
|
17115
|
-
), this.vDomBottomPad = this.vDomRowHeight * (u - this.vDomBottom - 1), this.vDomScrollHeight = c + a + this.vDomBottomPad -
|
|
17176
|
+
), this.vDomBottomPad = this.vDomRowHeight * (u - this.vDomBottom - 1), this.vDomScrollHeight = c + a + this.vDomBottomPad - z), s && (s.style.paddingTop = this.vDomTopPad + "px", s.style.paddingBottom = this.vDomBottomPad + "px"), t && (this.scrollTop = this.vDomTopPad + c + i - (this.elementVertical.scrollWidth > this.elementVertical.clientWidth ? this.elementVertical.offsetHeight - z : 0)), this.scrollTop = Math.min(
|
|
17116
17177
|
this.scrollTop,
|
|
17117
|
-
this.elementVertical.scrollHeight -
|
|
17118
|
-
), this.elementVertical.scrollWidth > this.elementVertical.clientWidth && t && (this.scrollTop += this.elementVertical.offsetHeight -
|
|
17178
|
+
this.elementVertical.scrollHeight - z
|
|
17179
|
+
), this.elementVertical.scrollWidth > this.elementVertical.clientWidth && t && (this.scrollTop += this.elementVertical.offsetHeight - z), this.vDomScrollPosTop = this.scrollTop, this.vDomScrollPosBottom = this.scrollTop, o && (o.scrollTop = this.scrollTop), this.dispatch("render-virtual-fill");
|
|
17119
17180
|
}
|
|
17120
17181
|
}
|
|
17121
17182
|
resolveRowHeight(e, t) {
|
|
@@ -18369,7 +18430,7 @@ function xu(r) {
|
|
|
18369
18430
|
}
|
|
18370
18431
|
function m(y, E, C, k) {
|
|
18371
18432
|
const D = [];
|
|
18372
|
-
let he = 0, F = 0, ge = 0, J = n,
|
|
18433
|
+
let he = 0, F = 0, ge = 0, J = n, z = 0, b = 0;
|
|
18373
18434
|
const v = [];
|
|
18374
18435
|
function R(S) {
|
|
18375
18436
|
return C * (S.column.definition.widthGrow || 1);
|
|
@@ -18378,18 +18439,18 @@ function xu(r) {
|
|
|
18378
18439
|
return u(S.width) - C * (S.column.definition.widthShrink || 0);
|
|
18379
18440
|
}
|
|
18380
18441
|
return y.forEach((S) => {
|
|
18381
|
-
const
|
|
18382
|
-
S.column.minWidth && S.column.minWidth >=
|
|
18442
|
+
const _ = k ? T(S) : R(S);
|
|
18443
|
+
S.column.minWidth && S.column.minWidth >= _ ? D.push(S) : S.column.maxWidth && S.column.maxWidth < _ ? (S.width = S.column.maxWidth, E -= S.column.maxWidth, J -= k ? S.column.definition.widthShrink || 1 : S.column.definition.widthGrow || 1, J && (C = Math.floor(E / J))) : (v.push(S), b += k ? S.column.definition.widthShrink || 1 : S.column.definition.widthGrow || 1);
|
|
18383
18444
|
}), D.length ? (D.forEach((S) => {
|
|
18384
18445
|
he += k ? S.width - (S.column.minWidth ?? 0) : S.column.minWidth ?? 0, S.width = S.column.minWidth ?? 0;
|
|
18385
|
-
}), F = E - he, ge = b ? Math.floor(F / b) : F,
|
|
18446
|
+
}), F = E - he, ge = b ? Math.floor(F / b) : F, z = m(
|
|
18386
18447
|
v,
|
|
18387
18448
|
F,
|
|
18388
18449
|
ge,
|
|
18389
18450
|
k
|
|
18390
|
-
)) : (
|
|
18451
|
+
)) : (z = b ? E - Math.floor(E / b) * b : E, v.forEach((S) => {
|
|
18391
18452
|
S.width = k ? T(S) : R(S);
|
|
18392
|
-
})),
|
|
18453
|
+
})), z;
|
|
18393
18454
|
}
|
|
18394
18455
|
if (this.table.options.responsiveLayout && this.table.modExists("responsiveLayout", !0) && this.table.modules.responsiveLayout?.update(), this.table.rowManager?.element && this.table.rowManager.element.scrollHeight > this.table.rowManager.element.clientHeight) {
|
|
18395
18456
|
const y = this.table.rowManager.element;
|
|
@@ -19162,7 +19223,7 @@ class Fu extends Ft {
|
|
|
19162
19223
|
}
|
|
19163
19224
|
// #endregion
|
|
19164
19225
|
}
|
|
19165
|
-
var
|
|
19226
|
+
var _t = /* @__PURE__ */ ((r) => (r.Multiple = "multiple", r.Single = "single", r))(_t || {}), rt = /* @__PURE__ */ ((r) => (r.Checkbox = "checkbox", r.DatePicker = "date-picker", r.DateRange = "date-range", r))(rt || {}), Ai = /* @__PURE__ */ ((r) => (r.Checkbox = "checkbox", r.DatePicker = "datePicker", r.DateRangePicker = "dateRangePicker", r))(Ai || {}), Pi = /* @__PURE__ */ ((r) => (r.ShowPreset = "showPreset", r.ShowTime = "showTime", r))(Pi || {});
|
|
19166
19227
|
class un {
|
|
19167
19228
|
#e;
|
|
19168
19229
|
#i;
|
|
@@ -19229,10 +19290,10 @@ class un {
|
|
|
19229
19290
|
return t.includes("-") && !customElements.get(t);
|
|
19230
19291
|
}
|
|
19231
19292
|
}
|
|
19232
|
-
function
|
|
19293
|
+
function zu(r, e) {
|
|
19233
19294
|
return x`<cx-faceted-filter-facet display-name=${r.facetDetails.displayName} type=${r.facetDetails.facetFieldName} selection=${r.facetDetails.selection ?? e.defaultSelection} .collections=${e.selectionValues} .values=${r.values}></cx-faceted-filter-facet>`;
|
|
19234
19295
|
}
|
|
19235
|
-
function
|
|
19296
|
+
function _u(r, e) {
|
|
19236
19297
|
const t = r.facetDetails;
|
|
19237
19298
|
return x`<cx-facet-date-picker field=${t.facetFieldName} display-name=${t.displayName} display-format=${te(t.displayFormat)} value=${e.dateRange?.fromDate ?? ""} from-time=${e.dateRange?.fromTime ?? jr} min=${t.min ?? ""} max=${t.max ?? ""} ?show-time=${t.showTime ?? !1}></cx-facet-date-picker>`;
|
|
19238
19299
|
}
|
|
@@ -19241,10 +19302,10 @@ function Ou(r, e) {
|
|
|
19241
19302
|
return x`<cx-facet-date-range field=${t.facetFieldName} display-name=${t.displayName} display-format=${te(t.displayFormat)} from-date=${e.dateRange?.fromDate ?? ""} to-date=${e.dateRange?.toDate ?? ""} from-time=${e.dateRange?.fromTime ?? jr} to-time=${e.dateRange?.toTime ?? ea} preset=${e.dateRange?.preset ?? ""} min=${t.min ?? ""} max=${t.max ?? ""} ?show-time=${t.showTime ?? !1} ?show-preset=${t.showPreset ?? !1}></cx-facet-date-range>`;
|
|
19242
19303
|
}
|
|
19243
19304
|
const Au = {
|
|
19244
|
-
[rt.Checkbox]:
|
|
19245
|
-
[rt.DatePicker]:
|
|
19305
|
+
[rt.Checkbox]: zu,
|
|
19306
|
+
[rt.DatePicker]: _u,
|
|
19246
19307
|
[rt.DateRange]: Ou
|
|
19247
|
-
}, Pu =
|
|
19308
|
+
}, Pu = q`:host{display:contents}cx-dropdown{--panel-overflow:hidden}cx-details{--expand-icon-size:24px}.panel{--header-background-color:transparent;--header-font-size:var(--cx-font-size-medium);--panel-width:min(280px, 90dvw);width:var(--panel-width);max-height:var(--panel-max-height,600px);position:relative}.panel:has(cx-facet-date-range[show-time],cx-facet-date-picker[show-time]){--panel-width:min(385px, 90dvw)}.panel__content{max-height:var(--panel-max-height,600px);flex-direction:column;display:flex}.panel__header{flex-shrink:0}.panel__body{flex:1;min-height:0;overflow-y:auto}.panel__footer{padding:var(--cx-spacing-x-small) var(--cx-spacing-medium);border-top:1px solid var(--cx-color-neutral-200);flex-shrink:0;display:flex}.applied-filters__summary{align-items:center;gap:var(--cx-spacing-2x-small);display:inline-flex}.applied-filters__title{font-weight:var(--cx-font-weight-medium);color:var(--cx-color-neutral-900)}.applied-filters__loading{align-items:center;display:inline-flex}.applied-filters{--content-padding:0 var(--cx-spacing-medium);min-width:100%;width:var(--panel-width)}.applied-filters::part(summary){flex:none}.applied-filters::part(base),cx-faceted-filter-facet::part(base){border-top-width:0;border-left-width:0;border-right-width:0}.applied-filters--empty::part(content){display:none}.faceted-filter__trigger-wrapper{display:inline-block;position:relative}.faceted-filter__trigger::part(base){background-color:var(--cx-color-neutral-100)}.faceted-filter__trigger-badge{position:absolute;top:-15px;right:-15px}.applied-filters__tags{max-width:var(--panel-width);padding-bottom:var(--cx-spacing-x-small)}.panel__clear-all-button{--cx-button-text-transform:none;padding-top:var(--cx-spacing-2x-small);padding-bottom:var(--cx-spacing-2x-small)}.panel__clear-all-button::part(label){text-decoration:underline}.panel__clear-all-button:not([disabled])::part(base):hover{color:var(--cx-color-neutral-800);background-color:#0000;border-color:#0000}cx-tag::part(remove-button){font-size:var(--cx-font-size-x-small)}cx-tag::part(remove-button__base){min-height:unset;min-width:unset;padding:var(--cx-spacing-3x-small)}`;
|
|
19248
19309
|
var Iu = Object.defineProperty, Hu = Object.getOwnPropertyDescriptor, ve = (r, e, t, i) => {
|
|
19249
19310
|
for (var s = i > 1 ? void 0 : i ? Hu(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
19250
19311
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
@@ -19254,7 +19315,7 @@ let de = class extends Ae {
|
|
|
19254
19315
|
constructor() {
|
|
19255
19316
|
super(...arguments), this.localize = new et(this), this.shadowRootAutoloader = new un(
|
|
19256
19317
|
this
|
|
19257
|
-
), this.facets = [], this.availableFacets = [], this.selectedFacets = {}, this.selectedDateRanges = {}, this.selection =
|
|
19318
|
+
), this.facets = [], this.availableFacets = [], this.selectedFacets = {}, this.selectedDateRanges = {}, this.selection = _t.Single, this.loading = !1, this.externalFilters = [], this.appliedFiltersCount = 0, this.internalSelection = {}, this.internalDateRanges = {}, this.mappedDisplayNames = {}, this.facetDetailsByField = /* @__PURE__ */ new Map();
|
|
19258
19319
|
}
|
|
19259
19320
|
handleFacetsChange() {
|
|
19260
19321
|
this.mappedDisplayNames = this.facets.reduce(
|
|
@@ -19321,7 +19382,7 @@ let de = class extends Ae {
|
|
|
19321
19382
|
const t = r.target.type;
|
|
19322
19383
|
if (!t)
|
|
19323
19384
|
return;
|
|
19324
|
-
const i = this.getFacetSelectionMode(t) ===
|
|
19385
|
+
const i = this.getFacetSelectionMode(t) === _t.Single;
|
|
19325
19386
|
let s = r.detail.selection;
|
|
19326
19387
|
if (i && s.length > 1) {
|
|
19327
19388
|
const n = new Set(this.internalSelection[t] ?? []), a = s.find(
|
|
@@ -19574,7 +19635,7 @@ function Bu(r) {
|
|
|
19574
19635
|
if (i === -1)
|
|
19575
19636
|
continue;
|
|
19576
19637
|
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("-");
|
|
19577
|
-
l === Ai.Checkbox && (h.includes(
|
|
19638
|
+
l === Ai.Checkbox && (h.includes(_t.Single) || h.includes(_t.Multiple)) ? e.set(n, {
|
|
19578
19639
|
displayName: a,
|
|
19579
19640
|
facetFieldName: n,
|
|
19580
19641
|
selection: $u(h),
|
|
@@ -19597,7 +19658,7 @@ function Bu(r) {
|
|
|
19597
19658
|
return e;
|
|
19598
19659
|
}
|
|
19599
19660
|
function $u(r) {
|
|
19600
|
-
return r.includes(
|
|
19661
|
+
return r.includes(_t.Multiple) ? _t.Multiple : _t.Single;
|
|
19601
19662
|
}
|
|
19602
19663
|
function Lr(r) {
|
|
19603
19664
|
return r.find((e) => Nu.has(e));
|
|
@@ -19836,7 +19897,7 @@ class Gu {
|
|
|
19836
19897
|
if (!e?.initialized)
|
|
19837
19898
|
return;
|
|
19838
19899
|
const t = this.getFilters(), s = [...this.host.initialFilter || [], ...t];
|
|
19839
|
-
if (!
|
|
19900
|
+
if (!zn(s, this.lastAppliedFilters)) {
|
|
19840
19901
|
if (this.lastAppliedFilters === null && t.length === 0) {
|
|
19841
19902
|
this.lastAppliedFilters = s;
|
|
19842
19903
|
return;
|
|
@@ -20023,31 +20084,32 @@ class Uu {
|
|
|
20023
20084
|
)?.formatterParams?.disabled;
|
|
20024
20085
|
}
|
|
20025
20086
|
}
|
|
20026
|
-
const Ku = X`.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)}`, qu = X`: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.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}`, Xu = X`.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}`, Ju = X`.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)}`, Yu = X`.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}`, Qu = X`.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)}`, Zu = X`.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}`, ep = X`.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}`, tp = X`.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)}`, ip = X`: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}`, sp = X`: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}`, op = X`.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)}`, rp = X`:host{--scrollbar-size:17px;--scrollbar-thumb-border-width:7px;--scrollbar-thumb-border-width-hover:4px;--scrollbar-thumb-border-color:#0000;--scrollbar-thumb-radius:13px;--scrollbar-thumb-min-size:50px}.table{position:relative}.tabulator[data-overlayscrollbars]{flex-direction:column}.tabulator[data-overlayscrollbars-viewport="scrollbarHidden overflowXHidden overflowYHidden"]{display:flex}.tabulator>[data-overlayscrollbars-viewport]{flex-direction:column;display:flex}.table>.os-scrollbar-vertical,.table>.os-scrollbar.os-scrollbar-vertical.os-scrollbar-cornerless{top:calc(var(--header-height) + var(--border-width))}.table.tabulator-header-hidden>.os-scrollbar-vertical,.table.tabulator-header-hidden>.os-scrollbar.os-scrollbar-vertical.os-scrollbar-cornerless{top:var(--border-width)}.table>.os-scrollbar{--os-size:var(--scrollbar-size);--os-padding-perpendicular:0px;--os-padding-axis:0px;--os-handle-border-radius:var(--scrollbar-thumb-radius);--os-handle-border:var(--scrollbar-thumb-border-width) solid var(--scrollbar-thumb-border-color);--os-handle-border-hover:var(--scrollbar-thumb-border-width-hover) solid var(--scrollbar-thumb-border-color);--os-handle-border-active:var(--scrollbar-thumb-border-width-hover) solid var(--scrollbar-thumb-border-color);--os-handle-min-size:var(--scrollbar-thumb-min-size)}.table>.os-scrollbar .os-scrollbar-handle{background-clip:padding-box}`, np = X`.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)}`, ap = X`: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)}`, lp = X`.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)}`, hp = X`.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)}`, cp = X`.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}`, dp = X`.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}`, up = X`.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}`, pp = X`.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}`, fp = X`: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)}`, mp = X`.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)}`, gp = [
|
|
20087
|
+
const Ku = q`.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)}`, qu = q`: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-300);--frozen-overlay-z-index:12;--frozen-divider-z-index:13;--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.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}`, Xu = q`.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}`, Ju = q`.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)}`, Yu = q`.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}`, Qu = q`.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)}`, Zu = q`.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}`, ep = q`.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}`, tp = q`.tabulator.tabulator-overflow-x .tabulator-frozen-pinned-start,.tabulator.tabulator-overflow-x .tabulator-frozen-pinned-start+.tabulator-col-resize-handle{transform:translateX(var(--frozen-offset-start,0px))}.tabulator.tabulator-overflow-x .tabulator-frozen-pinned-end,.tabulator.tabulator-overflow-x .tabulator-col-resize-handle-pinned-end{transform:translateX(var(--frozen-offset-end,0px))}@media print{.tabulator .tabulator-frozen-pinned-start,.tabulator .tabulator-frozen-pinned-end,.tabulator .tabulator-frozen-pinned-start+.tabulator-col-resize-handle,.tabulator .tabulator-col-resize-handle-pinned-end{transform:none}}.tabulator:has(.tabulator-frozen) .tabulator-tableholder-wrapper:before,.tabulator:has(.tabulator-frozen) .tabulator-header .tabulator-header-contents:before{z-index:var(--frozen-overlay-z-index)}.tabulator:not(.tabulator-rtl) .tabulator-header .tabulator-col.tabulator-frozen.tabulator-frozen-left,.tabulator:not(.tabulator-rtl) .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-right-color:#0000}.tabulator:not(.tabulator-rtl) .tabulator-header .tabulator-col.tabulator-frozen.tabulator-frozen-right,.tabulator:not(.tabulator-rtl) .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-left-color:#0000}.tabulator:not(.tabulator-rtl):has(.tabulator-frozen-pinned-start):before,.tabulator:not(.tabulator-rtl):has(.tabulator-frozen-pinned-end):after{content:"";background-color:var(--frozen-border-color);pointer-events:none;width:2px;z-index:var(--frozen-divider-z-index);position:absolute;top:0;bottom:0}.tabulator:not(.tabulator-rtl):has(.tabulator-frozen-pinned-start):before{left:calc(var(--frozen-left-width,0px) - 2px)}.tabulator:not(.tabulator-rtl):has(.tabulator-frozen-pinned-end):after{right:calc(var(--frozen-right-width,0px) - 2px)}.tabulator .tabulator-col-resize-handle.tabulator-col-resize-handle-pinned-end{width:6px;z-index:var(--frozen-overlay-z-index);margin-left:-3px;margin-right:-3px}`, ip = q`.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)}`, sp = q`: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}`, op = q`: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}`, rp = q`.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)}`, np = q`:host{--scrollbar-size:17px;--scrollbar-thumb-border-width:7px;--scrollbar-thumb-border-width-hover:4px;--scrollbar-thumb-border-color:#0000;--scrollbar-thumb-radius:13px;--scrollbar-thumb-min-size:50px}.table{position:relative}.tabulator[data-overlayscrollbars]{flex-direction:column}.tabulator[data-overlayscrollbars-viewport="scrollbarHidden overflowXHidden overflowYHidden"]{display:flex}.tabulator>[data-overlayscrollbars-viewport]{flex-direction:column;display:flex}.table>.os-scrollbar-vertical,.table>.os-scrollbar.os-scrollbar-vertical.os-scrollbar-cornerless{top:calc(var(--header-height) + var(--border-width))}.table.tabulator-header-hidden>.os-scrollbar-vertical,.table.tabulator-header-hidden>.os-scrollbar.os-scrollbar-vertical.os-scrollbar-cornerless{top:var(--border-width)}.table>.os-scrollbar{--os-size:var(--scrollbar-size);--os-padding-perpendicular:0px;--os-padding-axis:0px;--os-handle-border-radius:var(--scrollbar-thumb-radius);--os-handle-border:var(--scrollbar-thumb-border-width) solid var(--scrollbar-thumb-border-color);--os-handle-border-hover:var(--scrollbar-thumb-border-width-hover) solid var(--scrollbar-thumb-border-color);--os-handle-border-active:var(--scrollbar-thumb-border-width-hover) solid var(--scrollbar-thumb-border-color);--os-handle-min-size:var(--scrollbar-thumb-min-size)}.table>.os-scrollbar .os-scrollbar-handle{background-clip:padding-box}`, ap = q`.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)}`, lp = q`: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)}`, hp = q`.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)}`, cp = q`.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)}`, dp = q`.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}`, up = q`.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}`, pp = q`.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}`, fp = q`.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(--frozen-border-color)}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-right:2px solid var(--frozen-border-color)}.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}`, mp = q`: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)}`, gp = q`.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)}`, bp = [
|
|
20027
20088
|
qu,
|
|
20028
|
-
|
|
20029
|
-
|
|
20030
|
-
|
|
20089
|
+
np,
|
|
20090
|
+
sp,
|
|
20091
|
+
lp,
|
|
20031
20092
|
Xu,
|
|
20032
|
-
fp,
|
|
20033
|
-
Zu,
|
|
20034
20093
|
mp,
|
|
20035
|
-
|
|
20036
|
-
|
|
20094
|
+
Zu,
|
|
20095
|
+
gp,
|
|
20096
|
+
ap,
|
|
20097
|
+
dp,
|
|
20037
20098
|
Ku,
|
|
20038
|
-
|
|
20099
|
+
pp,
|
|
20039
20100
|
Qu,
|
|
20040
|
-
|
|
20101
|
+
rp,
|
|
20041
20102
|
Yu,
|
|
20042
|
-
|
|
20103
|
+
up,
|
|
20043
20104
|
ep,
|
|
20044
|
-
|
|
20045
|
-
lp,
|
|
20046
|
-
pp,
|
|
20105
|
+
ip,
|
|
20047
20106
|
hp,
|
|
20048
|
-
|
|
20049
|
-
|
|
20050
|
-
|
|
20107
|
+
fp,
|
|
20108
|
+
cp,
|
|
20109
|
+
op,
|
|
20110
|
+
Ju,
|
|
20111
|
+
tp
|
|
20112
|
+
], wp = {
|
|
20051
20113
|
formatter: function() {
|
|
20052
20114
|
const r = document.createElement("div");
|
|
20053
20115
|
r.style.display = "flex", r.style.alignItems = "center", r.style.justifyContent = "center", r.style.width = "100%", r.style.height = "100%", r.style.userSelect = "none", r.dataset.testid = "movable-row-button";
|
|
@@ -20060,7 +20122,7 @@ const Ku = X`.tabulator .tabulator-alert{z-index:100;background:color-mix(in srg
|
|
|
20060
20122
|
rowHandle: !0,
|
|
20061
20123
|
title: "",
|
|
20062
20124
|
width: 40
|
|
20063
|
-
},
|
|
20125
|
+
}, vp = {
|
|
20064
20126
|
fromAttribute: (r) => {
|
|
20065
20127
|
if (typeof r == "string") {
|
|
20066
20128
|
if (!r.trim())
|
|
@@ -20077,7 +20139,7 @@ const Ku = X`.tabulator .tabulator-alert{z-index:100;background:color-mix(in srg
|
|
|
20077
20139
|
return r;
|
|
20078
20140
|
},
|
|
20079
20141
|
toAttribute: (r) => typeof r == "function" ? "" : Array.isArray(r) ? JSON.stringify(r) : typeof r == "number" ? r.toString() : r
|
|
20080
|
-
},
|
|
20142
|
+
}, yp = {
|
|
20081
20143
|
fromAttribute: (r) => {
|
|
20082
20144
|
if (typeof r == "string") {
|
|
20083
20145
|
if (!r.trim())
|
|
@@ -20093,7 +20155,7 @@ const Ku = X`.tabulator .tabulator-alert{z-index:100;background:color-mix(in srg
|
|
|
20093
20155
|
return r;
|
|
20094
20156
|
},
|
|
20095
20157
|
toAttribute: (r) => typeof r == "function" ? "" : Array.isArray(r) ? JSON.stringify(r) : typeof r == "boolean" ? r.toString() : r
|
|
20096
|
-
},
|
|
20158
|
+
}, Cp = {
|
|
20097
20159
|
fromAttribute: (r) => {
|
|
20098
20160
|
if (typeof r == "string") {
|
|
20099
20161
|
if (!r.trim())
|
|
@@ -20109,13 +20171,13 @@ const Ku = X`.tabulator .tabulator-alert{z-index:100;background:color-mix(in srg
|
|
|
20109
20171
|
},
|
|
20110
20172
|
toAttribute: (r) => typeof r == "function" ? "" : Array.isArray(r) ? JSON.stringify(r) : r
|
|
20111
20173
|
};
|
|
20112
|
-
function
|
|
20174
|
+
function Ep(r, e) {
|
|
20113
20175
|
const t = e === Re.Desc ? "arrow_downward" : "arrow_upward";
|
|
20114
20176
|
return B(
|
|
20115
20177
|
x`<cx-icon name=${t} aria-hidden="true"></cx-icon>`
|
|
20116
20178
|
);
|
|
20117
20179
|
}
|
|
20118
|
-
function
|
|
20180
|
+
function xp(r, e, t, i = 500) {
|
|
20119
20181
|
return new Promise((s, o) => {
|
|
20120
20182
|
if (!Number.isInteger(i) || i < 1) {
|
|
20121
20183
|
o(new RangeError("chunkSize must be a positive integer"));
|
|
@@ -20152,7 +20214,7 @@ function Ep(r, e, t, i = 500) {
|
|
|
20152
20214
|
});
|
|
20153
20215
|
});
|
|
20154
20216
|
}
|
|
20155
|
-
async function
|
|
20217
|
+
async function Rp(r, e, t, i = 500, s = "") {
|
|
20156
20218
|
if (!Number.isInteger(i) || i < 1)
|
|
20157
20219
|
throw new RangeError("chunkSize must be a positive integer");
|
|
20158
20220
|
const { columns: o, rows: n } = mn(r, s);
|
|
@@ -20161,7 +20223,7 @@ async function xp(r, e, t, i = 500, s = "") {
|
|
|
20161
20223
|
await t(n.slice(a, a + i));
|
|
20162
20224
|
return n.length;
|
|
20163
20225
|
}
|
|
20164
|
-
async function
|
|
20226
|
+
async function Sp(r, e, t, i = 500, s = "") {
|
|
20165
20227
|
if (!Number.isInteger(i) || i < 1)
|
|
20166
20228
|
throw new RangeError("chunkSize must be a positive integer");
|
|
20167
20229
|
const o = JSON.parse(r), { columns: n, rows: a } = fn(o, s);
|
|
@@ -20176,7 +20238,7 @@ function as(r) {
|
|
|
20176
20238
|
function pn(r) {
|
|
20177
20239
|
return r.split(/[./]/).filter((e) => e.length > 0);
|
|
20178
20240
|
}
|
|
20179
|
-
function
|
|
20241
|
+
function kp(r, e) {
|
|
20180
20242
|
return pn(e).reduce((t, i) => {
|
|
20181
20243
|
if (!(t === null || typeof t != "object"))
|
|
20182
20244
|
return t[i];
|
|
@@ -20184,7 +20246,7 @@ function Sp(r, e) {
|
|
|
20184
20246
|
}
|
|
20185
20247
|
function fn(r, e = "") {
|
|
20186
20248
|
if (e) {
|
|
20187
|
-
const i =
|
|
20249
|
+
const i = kp(r, e);
|
|
20188
20250
|
if (!Array.isArray(i))
|
|
20189
20251
|
throw new Error(`Data path "${e}" did not resolve to an array`);
|
|
20190
20252
|
if (i.length === 0)
|
|
@@ -20213,7 +20275,7 @@ function fn(r, e = "") {
|
|
|
20213
20275
|
return { columns: t.columns, rows: t.data };
|
|
20214
20276
|
throw new Error("JSON data must be an array of row objects or a { columns, data } envelope");
|
|
20215
20277
|
}
|
|
20216
|
-
function
|
|
20278
|
+
function Tp(r) {
|
|
20217
20279
|
if (r.length === 0)
|
|
20218
20280
|
return { columns: [], data: [] };
|
|
20219
20281
|
const t = r[0].map((a, l) => {
|
|
@@ -20230,21 +20292,21 @@ function kp(r) {
|
|
|
20230
20292
|
);
|
|
20231
20293
|
return { columns: o, data: n };
|
|
20232
20294
|
}
|
|
20233
|
-
function
|
|
20295
|
+
function Dp(r) {
|
|
20234
20296
|
const e = mo.parse(r, { header: !1, skipEmptyLines: !0 }), t = e.errors.filter((i) => i.code !== "UndetectableDelimiter");
|
|
20235
20297
|
if (t.length > 0)
|
|
20236
20298
|
throw new Error(`CSV parse error: ${t[0].message}`);
|
|
20237
|
-
return
|
|
20299
|
+
return Tp(e.data);
|
|
20238
20300
|
}
|
|
20239
|
-
function
|
|
20301
|
+
function Mp(r) {
|
|
20240
20302
|
const e = JSON.parse(r), { columns: t, rows: i } = fn(e);
|
|
20241
20303
|
return { columns: t, data: i };
|
|
20242
20304
|
}
|
|
20243
|
-
function
|
|
20305
|
+
function Lp(r) {
|
|
20244
20306
|
const { columns: e, rows: t } = mn(r);
|
|
20245
20307
|
return { columns: e, data: t };
|
|
20246
20308
|
}
|
|
20247
|
-
function
|
|
20309
|
+
function Fp(r, e) {
|
|
20248
20310
|
const t = pn(e).reduce((i, s) => i ? /^\d+$/.test(s) ? i.children[Number(s)] ?? null : ro(i, s) : null, r);
|
|
20249
20311
|
if (!t)
|
|
20250
20312
|
throw new Error(`Data path "${e}" did not resolve to an element`);
|
|
@@ -20256,7 +20318,7 @@ function mn(r, e = "") {
|
|
|
20256
20318
|
throw new Error(`XML parse error: ${i.textContent?.trim() ?? "unknown error"}`);
|
|
20257
20319
|
const s = t.documentElement;
|
|
20258
20320
|
if (e)
|
|
20259
|
-
return Fr(Array.from(
|
|
20321
|
+
return Fr(Array.from(Fp(s, e).children));
|
|
20260
20322
|
const o = ro(s, "columns"), n = ro(s, "rows");
|
|
20261
20323
|
if (o && n) {
|
|
20262
20324
|
const a = Array.from(o.children).map((h) => ({
|
|
@@ -20287,7 +20349,7 @@ function ro(r, e) {
|
|
|
20287
20349
|
return t;
|
|
20288
20350
|
return null;
|
|
20289
20351
|
}
|
|
20290
|
-
function
|
|
20352
|
+
function zp(r) {
|
|
20291
20353
|
const e = r.trim();
|
|
20292
20354
|
if (e.length === 0)
|
|
20293
20355
|
return r;
|
|
@@ -20303,38 +20365,38 @@ function Fp(r) {
|
|
|
20303
20365
|
function gn(r, e) {
|
|
20304
20366
|
const t = /* @__PURE__ */ new Map();
|
|
20305
20367
|
for (const i of Array.from(r.children))
|
|
20306
|
-
t.set(i.tagName,
|
|
20368
|
+
t.set(i.tagName, zp(i.textContent ?? ""));
|
|
20307
20369
|
return Object.fromEntries(
|
|
20308
20370
|
e.map((i) => [i, t.has(i) ? t.get(i) : ""])
|
|
20309
20371
|
);
|
|
20310
20372
|
}
|
|
20311
|
-
|
|
20373
|
+
ze.Csv + "", ze.Json + "", ze.Xml + "";
|
|
20312
20374
|
function _p(r, e) {
|
|
20313
20375
|
const i = r.toLowerCase().split("?")[0].split("#")[0].split(".").pop() ?? "";
|
|
20314
20376
|
if (i === "csv")
|
|
20315
|
-
return
|
|
20377
|
+
return ze.Csv;
|
|
20316
20378
|
if (i === "json")
|
|
20317
|
-
return
|
|
20379
|
+
return ze.Json;
|
|
20318
20380
|
if (i === "xml")
|
|
20319
|
-
return
|
|
20381
|
+
return ze.Xml;
|
|
20320
20382
|
const s = (e ?? "").toLowerCase();
|
|
20321
|
-
return s.includes("text/csv") ?
|
|
20383
|
+
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;
|
|
20322
20384
|
}
|
|
20323
|
-
function
|
|
20324
|
-
return r !==
|
|
20385
|
+
function Op(r, e, t) {
|
|
20386
|
+
return r !== ze.Auto ? r : _p(e, t);
|
|
20325
20387
|
}
|
|
20326
|
-
var
|
|
20388
|
+
var Ap = Object.defineProperty, Pp = Object.getOwnPropertyDescriptor, bn = (r) => {
|
|
20327
20389
|
throw TypeError(r);
|
|
20328
20390
|
}, w = (r, e, t, i) => {
|
|
20329
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
20391
|
+
for (var s = i > 1 ? void 0 : i ? Pp(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
20330
20392
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
20331
|
-
return i && s &&
|
|
20332
|
-
},
|
|
20393
|
+
return i && s && Ap(e, t, s), s;
|
|
20394
|
+
}, Ip = (r, e, t) => e.has(r) || bn("Cannot " + t), Hp = (r, e, t) => (Ip(r, e, "read from private field"), t ? t.call(r) : e.get(r)), Np = (r, e, t) => e.has(r) ? bn("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(r) : e.set(r, t), no, wn;
|
|
20333
20395
|
let g = class extends Ae {
|
|
20334
20396
|
constructor() {
|
|
20335
|
-
super(),
|
|
20397
|
+
super(), Np(this, no), this.localize = new et(this), this.hasSlotController = new Wr(this, "add-action"), this.verticalOsInstance = null, this.horizontalOsInstance = null, this.frozenScrollOff = null, this.resizeObserver = null, this.overflowObserver = null, this.ajaxFacetsController = new Vu(this), this.filterController = new Gu(this), this.ajaxFacetFilterController = new ju(this, this.filterController), this.selectAllController = new Uu(this), this.shadowRootAutoloader = new un(
|
|
20336
20398
|
this
|
|
20337
|
-
), 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 = ui.Both, this.clipboardCopyRowRange = "range", this.clipboardPasteParser = void 0, this.clipboardPasteAction = "insert", this.clipboardCopyConfig = { columnHeaders: !1 }, this.clipboardNoCopyStyled = !1, this.pagination = !1, this.paginationMode = ut.Local, this.paginationSize = void 0, this.paginationInitialPage = 1, this.paginationButtonCount = 5, this.showPaginationButtons = !1, this.hidePaginationInput = !1, this.pageSizeOptions = void 0, this.paginationAddRow = "page", this.paginationCounter = Zn.Both, this.paginationShowFirst = !1, this.paginationShowLast = !1, this.paginationPlacement = Gi.TopEnd, this.noHeaderRowReserve = !1, this.hoverMenu = void 0, this.label = "", this.tabulatorRole = "grid", this.columnGroupRole = "columngroup", this.columnHeaderRole = "columnheader", this.rowRole = "row", this.rowGroupRole = "rowgroup", this.cellRole = "gridcell", this.filterMode = ut.Local, this.placeholderHeaderFilter = "No matching data", this.noColumnPlaceholderText = this.localize.term("noColumnsVisible"), this.useOverlayScrollbar = !1, this.loading = !1, this.canSelectAll = !1, this.rowIdField = "id", this.dataUrl = "", this.dateFilterCompareFormat = pi.IsoDateTime, this.dataFormat =
|
|
20399
|
+
), 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 = ui.Both, this.clipboardCopyRowRange = "range", this.clipboardPasteParser = void 0, this.clipboardPasteAction = "insert", this.clipboardCopyConfig = { columnHeaders: !1 }, this.clipboardNoCopyStyled = !1, this.pagination = !1, this.paginationMode = ut.Local, this.paginationSize = void 0, this.paginationInitialPage = 1, this.paginationButtonCount = 5, this.showPaginationButtons = !1, this.hidePaginationInput = !1, this.pageSizeOptions = void 0, this.paginationAddRow = "page", this.paginationCounter = Zn.Both, this.paginationShowFirst = !1, this.paginationShowLast = !1, this.paginationPlacement = Gi.TopEnd, this.noHeaderRowReserve = !1, this.hoverMenu = void 0, this.label = "", this.tabulatorRole = "grid", this.columnGroupRole = "columngroup", this.columnHeaderRole = "columnheader", this.rowRole = "row", this.rowGroupRole = "rowgroup", this.cellRole = "gridcell", this.filterMode = ut.Local, this.placeholderHeaderFilter = "No matching data", this.noColumnPlaceholderText = this.localize.term("noColumnsVisible"), this.useOverlayScrollbar = !1, this.loading = !1, this.canSelectAll = !1, this.rowIdField = "id", this.dataUrl = "", this.dateFilterCompareFormat = pi.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 = () => {
|
|
20338
20400
|
this.initHorizontalScrollbar(), this.useOverlayScrollbar ? this.initVerticalScrollbar() : this.verticalOsInstance?.destroy(), this.initOverflowObserver(), this.tabulatorInstance?.setColumns(this.columns ?? []), this.validateOnLoad && this.tabulatorInstance?.validateAsync(), this.filterController.syncDropdownFilterSources(this.dropdownFilters), this.handleSearch(), this.filterController.applyFilters(), this.placePaginator(), this.dataUrl && this.loadFromDataUrl();
|
|
20339
20401
|
}, this.handleValidationChanged = (t) => {
|
|
20340
20402
|
this.validationTooltipAnchor && !this.validationTooltipAnchor.isConnected && this.hideValidationTooltip(), this.emit("cx-table-validation-change", { detail: t });
|
|
@@ -20342,7 +20404,7 @@ let g = class extends Ae {
|
|
|
20342
20404
|
if (!this.tabulatorElement || !this.tabulatorHolder)
|
|
20343
20405
|
return;
|
|
20344
20406
|
const t = this.tabulatorHolder.scrollWidth > this.tabulatorElement.clientWidth;
|
|
20345
|
-
this.tabulatorElement.classList.toggle("tabulator-overflow-x", t);
|
|
20407
|
+
this.tabulatorElement.classList.toggle("tabulator-overflow-x", t), this.syncFrozenOffset();
|
|
20346
20408
|
};
|
|
20347
20409
|
const e = this.addEventListener;
|
|
20348
20410
|
this.addEventListener = (t, i, ...s) => {
|
|
@@ -20357,7 +20419,7 @@ let g = class extends Ae {
|
|
|
20357
20419
|
});
|
|
20358
20420
|
}
|
|
20359
20421
|
)), e.call(this, t, i, ...s);
|
|
20360
|
-
}, this.initVerticalScrollbar = this.initVerticalScrollbar.bind(this), this.initHorizontalScrollbar = this.initHorizontalScrollbar.bind(this), this.handleSelectableRowsCheck = this.handleSelectableRowsCheck.bind(this);
|
|
20422
|
+
}, this.initVerticalScrollbar = this.initVerticalScrollbar.bind(this), this.initHorizontalScrollbar = this.initHorizontalScrollbar.bind(this), this.handleSelectableRowsCheck = this.handleSelectableRowsCheck.bind(this), this.syncFrozenOffset = this.syncFrozenOffset.bind(this);
|
|
20361
20423
|
}
|
|
20362
20424
|
get initialized() {
|
|
20363
20425
|
return this.tabulatorInstance?.initialized;
|
|
@@ -20455,7 +20517,7 @@ let g = class extends Ae {
|
|
|
20455
20517
|
async initTable() {
|
|
20456
20518
|
this.tabulatorInstance && (this.selectAllController.resetSelection(), this.overflowObserver?.disconnect(), this.verticalOsInstance?.destroy(), this.horizontalOsInstance?.destroy(), this.tabulatorInstance.off("tableBuilt"), this.tabulatorInstance.destroy());
|
|
20457
20519
|
let e = this.rowHeader;
|
|
20458
|
-
e == null && (this.movableRows ? e =
|
|
20520
|
+
e == null && (this.movableRows ? e = wp : this.responsiveLayout === "collapse" && (e = {
|
|
20459
20521
|
formatter: "responsiveCollapse"
|
|
20460
20522
|
})), this.tabulatorInstance = new Fu(this.table, {
|
|
20461
20523
|
ajaxConfig: { method: this.ajaxMethod },
|
|
@@ -20509,13 +20571,13 @@ let g = class extends Ae {
|
|
|
20509
20571
|
groupHeaderUseFormatter: this.groupHeaderUseFormatter,
|
|
20510
20572
|
groupIndent: this.groupIndent,
|
|
20511
20573
|
groupLoadMoreMeta: this.groupLoadMoreMeta,
|
|
20512
|
-
groupStartOpen:
|
|
20574
|
+
groupStartOpen: Hp(this, no, wn),
|
|
20513
20575
|
groupToggleElement: this.groupToggleElement,
|
|
20514
20576
|
groupUpdateOnCellEdit: this.groupUpdateOnCellEdit,
|
|
20515
20577
|
groupValues: this.groupValues,
|
|
20516
20578
|
headerFilterLiveFilterDelay: this.headerFilterLiveFilterDelay,
|
|
20517
20579
|
headerHidden: this.noHeader,
|
|
20518
|
-
headerSortElement:
|
|
20580
|
+
headerSortElement: Ep,
|
|
20519
20581
|
hoverMenu: this.hoverMenu,
|
|
20520
20582
|
index: this.rowIdField,
|
|
20521
20583
|
initialFilter: this.initialFilter,
|
|
@@ -20642,7 +20704,7 @@ let g = class extends Ae {
|
|
|
20642
20704
|
}, 150));
|
|
20643
20705
|
}
|
|
20644
20706
|
disconnectedCallback() {
|
|
20645
|
-
super.disconnectedCallback(), globalThis.clearTimeout(this.validationTooltipHideTimeout), this.tabulatorInstance?.destroy(), this.verticalOsInstance?.destroy(), this.horizontalOsInstance?.destroy(), this.resizeObserver?.disconnect(), this.resizeObserver = null, this.overflowObserver?.disconnect(), this.overflowObserver = null, this.watchedEvents.forEach((e) => {
|
|
20707
|
+
super.disconnectedCallback(), globalThis.clearTimeout(this.validationTooltipHideTimeout), this.tabulatorInstance?.destroy(), this.frozenScrollOff?.(), this.frozenScrollOff = null, this.verticalOsInstance?.destroy(), this.horizontalOsInstance?.destroy(), this.resizeObserver?.disconnect(), this.resizeObserver = null, this.overflowObserver?.disconnect(), this.overflowObserver = null, this.watchedEvents.forEach((e) => {
|
|
20646
20708
|
this.tabulatorInstance?.off(e);
|
|
20647
20709
|
});
|
|
20648
20710
|
}
|
|
@@ -20670,7 +20732,7 @@ let g = class extends Ae {
|
|
|
20670
20732
|
), this.tabulatorInstance?.redraw());
|
|
20671
20733
|
}
|
|
20672
20734
|
initHorizontalScrollbar() {
|
|
20673
|
-
!this.tabulatorElement || !this.tabulatorInstance?.initialized || (this.horizontalOsInstance?.destroy(), this.horizontalOsInstance = No(this.tabulatorElement, {
|
|
20735
|
+
!this.tabulatorElement || !this.tabulatorInstance?.initialized || (this.frozenScrollOff?.(), this.horizontalOsInstance?.destroy(), this.horizontalOsInstance = No(this.tabulatorElement, {
|
|
20674
20736
|
overflow: {
|
|
20675
20737
|
x: "scroll",
|
|
20676
20738
|
y: "hidden"
|
|
@@ -20679,7 +20741,24 @@ let g = class extends Ae {
|
|
|
20679
20741
|
autoHide: "leave",
|
|
20680
20742
|
autoHideDelay: 1e3
|
|
20681
20743
|
}
|
|
20682
|
-
}));
|
|
20744
|
+
}), this.frozenScrollOff = this.horizontalOsInstance.on("scroll", this.syncFrozenOffset), this.syncFrozenOffset());
|
|
20745
|
+
}
|
|
20746
|
+
/**
|
|
20747
|
+
* Mirrors the horizontal scroller's offset into `--frozen-offset-start/end` so
|
|
20748
|
+
* `table-frozen.styles.ts` can pin frozen columns. Deliberately not debounced: the offset must
|
|
20749
|
+
* land in the same frame as the scroll, and it is only two custom-property writes.
|
|
20750
|
+
*/
|
|
20751
|
+
syncFrozenOffset() {
|
|
20752
|
+
if (!this.tabulatorElement || !this.horizontalOsInstance || !this.tabulatorInstance?.modules?.frozenColumns?.active)
|
|
20753
|
+
return;
|
|
20754
|
+
const t = this.horizontalOsInstance.elements().scrollOffsetElement, i = t.scrollWidth - t.clientWidth, s = this.tabulatorElement.classList.contains("tabulator-rtl") ? t.scrollLeft + i : t.scrollLeft - i;
|
|
20755
|
+
this.tabulatorElement.style.setProperty(
|
|
20756
|
+
"--frozen-offset-start",
|
|
20757
|
+
`${t.scrollLeft}px`
|
|
20758
|
+
), this.tabulatorElement.style.setProperty(
|
|
20759
|
+
"--frozen-offset-end",
|
|
20760
|
+
`${s}px`
|
|
20761
|
+
);
|
|
20683
20762
|
}
|
|
20684
20763
|
initOverflowObserver() {
|
|
20685
20764
|
!this.tabulatorHolder || !this.tabulatorElement || (this.overflowObserver?.disconnect(), this.overflowObserver = new ResizeObserver(this.checkHorizontalOverflow), this.overflowObserver.observe(this.tabulatorHolder), this.overflowObserver.observe(this.tabulatorElement), this.checkHorizontalOverflow());
|
|
@@ -20849,7 +20928,7 @@ let g = class extends Ae {
|
|
|
20849
20928
|
}
|
|
20850
20929
|
async streamCsvData(e, t) {
|
|
20851
20930
|
let i = !0;
|
|
20852
|
-
const o = await
|
|
20931
|
+
const o = await xp(
|
|
20853
20932
|
e,
|
|
20854
20933
|
(n) => {
|
|
20855
20934
|
t === this.dataUrlRequestId && (this.columns = this.resolveColumnsAfterLoad(n));
|
|
@@ -20870,7 +20949,7 @@ let g = class extends Ae {
|
|
|
20870
20949
|
};
|
|
20871
20950
|
let n;
|
|
20872
20951
|
try {
|
|
20873
|
-
n = await
|
|
20952
|
+
n = await Sp(
|
|
20874
20953
|
e,
|
|
20875
20954
|
(a) => {
|
|
20876
20955
|
t === this.dataUrlRequestId && (this.columns = this.resolveColumnsAfterLoad(a));
|
|
@@ -20896,7 +20975,7 @@ let g = class extends Ae {
|
|
|
20896
20975
|
};
|
|
20897
20976
|
let n;
|
|
20898
20977
|
try {
|
|
20899
|
-
n = await
|
|
20978
|
+
n = await Rp(
|
|
20900
20979
|
e,
|
|
20901
20980
|
(a) => {
|
|
20902
20981
|
t === this.dataUrlRequestId && (this.columns = this.resolveColumnsAfterLoad(a));
|
|
@@ -20920,13 +20999,13 @@ let g = class extends Ae {
|
|
|
20920
20999
|
const i = await fetch(e);
|
|
20921
21000
|
if (!i.ok)
|
|
20922
21001
|
throw new Error(`Failed to fetch data: ${i.status} ${i.statusText}`);
|
|
20923
|
-
const s = i.headers.get("content-type"), o =
|
|
21002
|
+
const s = i.headers.get("content-type"), o = Op(this.dataFormat, e, s);
|
|
20924
21003
|
if (t !== this.dataUrlRequestId)
|
|
20925
21004
|
return;
|
|
20926
21005
|
const n = await i.text();
|
|
20927
21006
|
if (t !== this.dataUrlRequestId)
|
|
20928
21007
|
return;
|
|
20929
|
-
if (o ===
|
|
21008
|
+
if (o === ze.Csv) {
|
|
20930
21009
|
const a = await this.streamCsvData(n, t);
|
|
20931
21010
|
t === this.dataUrlRequestId && (this.tabulatorInstance?.redraw(!0), this.emit("cx-table-data-load", {
|
|
20932
21011
|
detail: {
|
|
@@ -20935,7 +21014,7 @@ let g = class extends Ae {
|
|
|
20935
21014
|
url: e
|
|
20936
21015
|
}
|
|
20937
21016
|
}));
|
|
20938
|
-
} else if (o ===
|
|
21017
|
+
} else if (o === ze.Json) {
|
|
20939
21018
|
const a = await this.streamJsonData(n, t);
|
|
20940
21019
|
t === this.dataUrlRequestId && (this.tabulatorInstance?.redraw(!0), this.emit("cx-table-data-load", {
|
|
20941
21020
|
detail: {
|
|
@@ -20944,7 +21023,7 @@ let g = class extends Ae {
|
|
|
20944
21023
|
url: e
|
|
20945
21024
|
}
|
|
20946
21025
|
}));
|
|
20947
|
-
} else if (o ===
|
|
21026
|
+
} else if (o === ze.Xml) {
|
|
20948
21027
|
const a = await this.streamXmlData(n, t);
|
|
20949
21028
|
t === this.dataUrlRequestId && (this.tabulatorInstance?.redraw(!0), this.emit("cx-table-data-load", {
|
|
20950
21029
|
detail: {
|
|
@@ -21074,7 +21153,7 @@ wn = function() {
|
|
|
21074
21153
|
};
|
|
21075
21154
|
g.styles = [
|
|
21076
21155
|
Be,
|
|
21077
|
-
|
|
21156
|
+
bp,
|
|
21078
21157
|
En
|
|
21079
21158
|
];
|
|
21080
21159
|
g.dependencies = {
|
|
@@ -21431,7 +21510,7 @@ w([
|
|
|
21431
21510
|
w([
|
|
21432
21511
|
f({
|
|
21433
21512
|
attribute: "frozen-rows",
|
|
21434
|
-
converter:
|
|
21513
|
+
converter: vp
|
|
21435
21514
|
})
|
|
21436
21515
|
], g.prototype, "frozenRows", 2);
|
|
21437
21516
|
w([
|
|
@@ -21449,7 +21528,7 @@ w([
|
|
|
21449
21528
|
w([
|
|
21450
21529
|
f({
|
|
21451
21530
|
attribute: "group-by",
|
|
21452
|
-
converter:
|
|
21531
|
+
converter: Cp
|
|
21453
21532
|
})
|
|
21454
21533
|
], g.prototype, "groupBy", 2);
|
|
21455
21534
|
w([
|
|
@@ -21604,7 +21683,7 @@ w([
|
|
|
21604
21683
|
w([
|
|
21605
21684
|
f({
|
|
21606
21685
|
attribute: "data-tree-start-expanded",
|
|
21607
|
-
converter:
|
|
21686
|
+
converter: yp
|
|
21608
21687
|
})
|
|
21609
21688
|
], g.prototype, "dataTreeStartExpanded", 2);
|
|
21610
21689
|
w([
|
|
@@ -22160,9 +22239,9 @@ w([
|
|
|
22160
22239
|
g = w([
|
|
22161
22240
|
Pe("cx-table")
|
|
22162
22241
|
], g);
|
|
22163
|
-
const
|
|
22242
|
+
const Vp = g;
|
|
22164
22243
|
var Je = /* @__PURE__ */ ((r) => (r.Circles = "circles", r.Grid = "grid", r.Table = "table", r))(Je || {});
|
|
22165
|
-
const
|
|
22244
|
+
const zr = 165, Bp = ["HEX", "RGB", "CMYK", "PMS"], $p = {
|
|
22166
22245
|
resizable: !1
|
|
22167
22246
|
}, vn = [
|
|
22168
22247
|
{
|
|
@@ -22220,7 +22299,7 @@ const _r = 165, Vp = ["HEX", "RGB", "CMYK", "PMS"], Bp = {
|
|
|
22220
22299
|
widthGrow: 2
|
|
22221
22300
|
}
|
|
22222
22301
|
];
|
|
22223
|
-
function
|
|
22302
|
+
function zi(r, e, t) {
|
|
22224
22303
|
const i = e.getValue() ?? "";
|
|
22225
22304
|
if (!i)
|
|
22226
22305
|
return null;
|
|
@@ -22237,13 +22316,13 @@ function _i(r, e, t) {
|
|
|
22237
22316
|
verticalAlign: "middle",
|
|
22238
22317
|
whiteSpace: "nowrap"
|
|
22239
22318
|
})}>${i}</span></cx-copy-button>`, o = document.createDocumentFragment();
|
|
22240
|
-
return
|
|
22319
|
+
return _n(s, o), o.firstElementChild;
|
|
22241
22320
|
}
|
|
22242
|
-
const
|
|
22321
|
+
const Wp = (r, e) => [
|
|
22243
22322
|
...vn.slice(0, 2),
|
|
22244
22323
|
{
|
|
22245
22324
|
field: "hex",
|
|
22246
|
-
formatter: (t) =>
|
|
22325
|
+
formatter: (t) => zi(r, t, e),
|
|
22247
22326
|
headerHozAlign: "center",
|
|
22248
22327
|
headerSort: !1,
|
|
22249
22328
|
hozAlign: "center",
|
|
@@ -22252,7 +22331,7 @@ const $p = (r, e) => [
|
|
|
22252
22331
|
},
|
|
22253
22332
|
{
|
|
22254
22333
|
field: "rgb",
|
|
22255
|
-
formatter: (t) =>
|
|
22334
|
+
formatter: (t) => zi(r, t, e),
|
|
22256
22335
|
headerHozAlign: "center",
|
|
22257
22336
|
headerSort: !1,
|
|
22258
22337
|
hozAlign: "center",
|
|
@@ -22261,7 +22340,7 @@ const $p = (r, e) => [
|
|
|
22261
22340
|
},
|
|
22262
22341
|
{
|
|
22263
22342
|
field: "cmyk",
|
|
22264
|
-
formatter: (t) =>
|
|
22343
|
+
formatter: (t) => zi(r, t, e),
|
|
22265
22344
|
headerHozAlign: "center",
|
|
22266
22345
|
headerSort: !1,
|
|
22267
22346
|
hozAlign: "center",
|
|
@@ -22270,20 +22349,20 @@ const $p = (r, e) => [
|
|
|
22270
22349
|
},
|
|
22271
22350
|
{
|
|
22272
22351
|
field: "pms",
|
|
22273
|
-
formatter: (t) =>
|
|
22352
|
+
formatter: (t) => zi(r, t, e),
|
|
22274
22353
|
headerHozAlign: "center",
|
|
22275
22354
|
headerSort: !1,
|
|
22276
22355
|
hozAlign: "center",
|
|
22277
22356
|
title: "PMS",
|
|
22278
22357
|
widthGrow: 2
|
|
22279
22358
|
}
|
|
22280
|
-
],
|
|
22281
|
-
var
|
|
22282
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
22359
|
+
], jp = q`: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}`;
|
|
22360
|
+
var Gp = Object.defineProperty, Up = Object.getOwnPropertyDescriptor, Ee = (r, e, t, i) => {
|
|
22361
|
+
for (var s = i > 1 ? void 0 : i ? Up(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
22283
22362
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
22284
|
-
return i && s &&
|
|
22363
|
+
return i && s && Gp(e, t, s), s;
|
|
22285
22364
|
};
|
|
22286
|
-
const
|
|
22365
|
+
const _r = "unnamed";
|
|
22287
22366
|
let me = class extends Ae {
|
|
22288
22367
|
constructor() {
|
|
22289
22368
|
super(), this.localize = new et(this), this.variant = Je.Table, this.data = [], this.maxCol = 4, this.canCopy = !1, this.showCodes = ["HEX", "RGB", "CMYK", "PMS"], this.multiLanguage = !1, this.breakpoints = [350, 696, 1024], this.deviceType = ki.Desktop, this.currentCol = 0, this.isFocused = !1, this.canFocusContainer = !0, this.isContainerFocused = !1, this.handleWindowResize = this.handleWindowResize.bind(this);
|
|
@@ -22311,7 +22390,7 @@ let me = class extends Ae {
|
|
|
22311
22390
|
getComputedStyle(this.containerEl).getPropertyValue("--grid-gap")
|
|
22312
22391
|
);
|
|
22313
22392
|
this.currentCol = Math.floor(
|
|
22314
|
-
(r + e) / (
|
|
22393
|
+
(r + e) / (zr + e)
|
|
22315
22394
|
);
|
|
22316
22395
|
break;
|
|
22317
22396
|
}
|
|
@@ -22338,7 +22417,7 @@ let me = class extends Ae {
|
|
|
22338
22417
|
* Filter out the columns that are not in the showCodes
|
|
22339
22418
|
*/
|
|
22340
22419
|
getTableColumns(r) {
|
|
22341
|
-
const e = this.canCopy ?
|
|
22420
|
+
const e = this.canCopy ? Wp(this.localize, r) : vn;
|
|
22342
22421
|
return [
|
|
22343
22422
|
...e.slice(0, 2),
|
|
22344
22423
|
...e.slice(2).filter(
|
|
@@ -22352,7 +22431,7 @@ let me = class extends Ae {
|
|
|
22352
22431
|
categorizeByPalette() {
|
|
22353
22432
|
return Object.values(
|
|
22354
22433
|
this.data.reduce((r, e) => {
|
|
22355
|
-
const t = e.palette?.trim() ? e.palette :
|
|
22434
|
+
const t = e.palette?.trim() ? e.palette : _r;
|
|
22356
22435
|
return r[t] || (r[t] = { colors: [], palette: t }), r[t].colors.push(e), r;
|
|
22357
22436
|
}, {})
|
|
22358
22437
|
);
|
|
@@ -22400,10 +22479,10 @@ let me = class extends Ae {
|
|
|
22400
22479
|
})) : t.colors;
|
|
22401
22480
|
return x`<div tabindex=${te(
|
|
22402
22481
|
this.canFocusContainer ? "0" : void 0
|
|
22403
|
-
)} data-table-container class="color-swatch-group__table-container" @focusin=${this.handleFocusIn} @focusout=${this.handleFocusOut} @keydown=${this.handleKeyDown}><cx-typography variant="h3">${t.palette ===
|
|
22482
|
+
)} data-table-container class="color-swatch-group__table-container" @focusin=${this.handleFocusIn} @focusout=${this.handleFocusOut} @keydown=${this.handleKeyDown}><cx-typography variant="h3">${t.palette === _r ? 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=${Wo(
|
|
22404
22483
|
[this.showCodes, this.canCopy, this.localize],
|
|
22405
22484
|
() => this.getTableColumns(t.palette)
|
|
22406
|
-
)} .columnDefaults=${
|
|
22485
|
+
)} .columnDefaults=${$p} .rowHeight=${48} .data=${i} class="color-swatch-group__table"></cx-table></div>`;
|
|
22407
22486
|
}
|
|
22408
22487
|
)
|
|
22409
22488
|
)}</cx-space>`,
|
|
@@ -22412,7 +22491,7 @@ let me = class extends Ae {
|
|
|
22412
22491
|
"color-swatch-group__swatches--grid": this.variant === Je.Grid,
|
|
22413
22492
|
[`color-swatch-group__swatches--circles--${r}`]: this.variant === Je.Circles
|
|
22414
22493
|
})} style=${pt({
|
|
22415
|
-
gridTemplateColumns: this.currentCol >= this.maxCol ? `repeat(${this.maxCol}, 1fr)` : `repeat(auto-fit, minmax(${
|
|
22494
|
+
gridTemplateColumns: this.currentCol >= this.maxCol ? `repeat(${this.maxCol}, 1fr)` : `repeat(auto-fit, minmax(${zr}px, 1fr))`
|
|
22416
22495
|
})}>${Ke(
|
|
22417
22496
|
this.data,
|
|
22418
22497
|
(t) => t.name,
|
|
@@ -22429,11 +22508,11 @@ let me = class extends Ae {
|
|
|
22429
22508
|
`;
|
|
22430
22509
|
}
|
|
22431
22510
|
};
|
|
22432
|
-
me.styles = [Be,
|
|
22511
|
+
me.styles = [Be, jp];
|
|
22433
22512
|
me.dependencies = {
|
|
22434
22513
|
"cx-color-swatch": Ar,
|
|
22435
22514
|
"cx-space": xi,
|
|
22436
|
-
"cx-table":
|
|
22515
|
+
"cx-table": Vp,
|
|
22437
22516
|
"cx-typography": Or
|
|
22438
22517
|
};
|
|
22439
22518
|
Ee([
|
|
@@ -22458,7 +22537,7 @@ Ee([
|
|
|
22458
22537
|
f({
|
|
22459
22538
|
attribute: "show-codes",
|
|
22460
22539
|
converter: {
|
|
22461
|
-
fromAttribute: (r) => (r?.split(" ") ?? []).filter((t) =>
|
|
22540
|
+
fromAttribute: (r) => (r?.split(" ") ?? []).filter((t) => Bp.includes(t)),
|
|
22462
22541
|
toAttribute: (r) => r.join(" ")
|
|
22463
22542
|
},
|
|
22464
22543
|
reflect: !0
|
|
@@ -22501,8 +22580,8 @@ export {
|
|
|
22501
22580
|
me as C,
|
|
22502
22581
|
rt as F,
|
|
22503
22582
|
Wt as H,
|
|
22504
|
-
|
|
22505
|
-
|
|
22583
|
+
_t as a,
|
|
22584
|
+
Vp as b,
|
|
22506
22585
|
Je as c,
|
|
22507
22586
|
jo as d,
|
|
22508
22587
|
de as e,
|