@orangelogic/design-system 3.0.0 → 3.2.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.D--xQVgR.js → asset-link-format.BnIUG_vO.js} +19 -18
- package/library/chunks/{button.BnkkUqiI.js → button.CpY4FCwE.js} +1 -1
- package/library/chunks/{color-swatch-group.CCgwey9f.js → color-swatch-group.CTcv62MK.js} +367 -330
- package/library/chunks/{color-swatch.D6Gg5bpz.js → color-swatch.Caved2kL.js} +1 -1
- package/library/chunks/{confirm-popover.CrQKEChc.js → confirm-popover.BSS1VhB2.js} +3 -3
- package/library/chunks/content-builder.BX4pHujE.js +60 -0
- package/library/chunks/{dialog.CWGtufDA.js → dialog.ICoCAj6Z.js} +4 -4
- package/library/chunks/{document-viewer.C90j1Xrr.js → document-viewer.D6PxGcEL.js} +8 -7
- package/library/chunks/{dot-pagination.BqGFeFXK.js → dot-pagination.CzVpiv00.js} +1 -1
- package/library/chunks/{folder-select.CIqVGGFl.js → folder-select.DN-JomDt.js} +4 -4
- package/library/chunks/{header.CWlWNree.js → header.BQg_JjHw.js} +1 -1
- package/library/chunks/{i18n.DbXTTLXx.js → i18n.BA19xtyU.js} +6 -3
- package/library/chunks/{icon-button.CVrxJcZq.js → icon-button.BWJ1Vqn5.js} +17 -11
- package/library/chunks/{iframe.-GCTFas1.js → iframe.Dm-nXSBv.js} +1 -1
- package/library/chunks/{image.CTMzUqCC.js → image.B-4cVbol.js} +187 -188
- package/library/chunks/{input.33UmFGqR.js → input.xgeLCG8I.js} +1 -1
- package/library/chunks/{markdown.DOHru2Rz.js → markdown.bkEjjjS9.js} +2 -2
- package/library/chunks/menu-item.DgUMVYe5.js +493 -0
- package/library/chunks/{option.B6odSlS2.js → option.jeaj7_Lr.js} +1 -1
- package/library/chunks/{pagination.mzolTIpF.js → pagination.CSPKsj4y.js} +5 -5
- package/library/chunks/{tab-group.uSHlsFu8.js → tab-group.BSl6GdIO.js} +4 -4
- package/library/chunks/{toast.CXEAfCvN.js → toast.C5Ir5yKA.js} +1 -1
- package/library/chunks/transformation.CWKaoGaY.js +254 -0
- package/library/chunks/{tree.CmEdKtzK.js → tree.DYFFjW1-.js} +1 -1
- package/library/components/alert.js +2 -2
- package/library/components/asset-link-format.js +4 -4
- package/library/components/atoms.js +31 -31
- package/library/components/audio.js +2 -2
- package/library/components/border-input-group.js +2 -2
- package/library/components/breadcrumb.js +1 -1
- package/library/components/button.js +2 -2
- package/library/components/color-picker.js +3 -3
- package/library/components/color-swatch-group.js +5 -5
- package/library/components/color-swatch.js +2 -2
- package/library/components/confirm-popover.js +4 -4
- package/library/components/copy-button.js +1 -1
- package/library/components/corner-position-input-group.js +3 -3
- package/library/components/date-calendar.js +1 -1
- package/library/components/details.js +1 -1
- package/library/components/dialog.js +3 -3
- package/library/components/document-viewer.js +3 -3
- package/library/components/dot-pagination.js +2 -2
- package/library/components/drawer.js +4 -4
- package/library/components/dropdown.js +2 -2
- package/library/components/dynamic-select.js +4 -4
- package/library/components/e-chart.js +1 -1
- package/library/components/element-clamp.js +2 -2
- package/library/components/file-on-demand.js +9 -9
- package/library/components/folder-select.js +4 -4
- package/library/components/format-bytes.js +1 -1
- package/library/components/format-date.js +1 -1
- package/library/components/format-number.js +1 -1
- package/library/components/format-time.js +1 -1
- package/library/components/header.js +2 -2
- package/library/components/icon-button.js +2 -2
- package/library/components/iframe.js +2 -2
- package/library/components/image-comparer.js +1 -1
- package/library/components/image.js +3 -4
- package/library/components/input.js +2 -2
- package/library/components/line-clamp.js +1 -1
- package/library/components/markdown.js +3 -3
- package/library/components/masonry.js +113 -100
- package/library/components/menu-item.js +15 -483
- package/library/components/menu.js +20 -20
- package/library/components/molecules.js +3 -3
- package/library/components/option.js +2 -2
- package/library/components/organisms.js +2 -2
- package/library/components/padding-input-group.js +1 -1
- package/library/components/pagination.js +6 -6
- package/library/components/popup.js +101 -98
- package/library/components/position-picker.js +1 -1
- package/library/components/progress-bar.js +1 -1
- package/library/components/progress-ring.js +1 -1
- package/library/components/range.js +1 -1
- package/library/components/rating.js +1 -1
- package/library/components/relative-time.js +1 -1
- package/library/components/select.js +18 -13
- package/library/components/shadow-input-group.js +1 -1
- package/library/components/share-option-list.js +1 -1
- package/library/components/sidebar.js +1 -1
- package/library/components/size-input-group.js +3 -3
- package/library/components/spinner.js +1 -1
- package/library/components/split-panel.js +1 -1
- package/library/components/tab-group.js +5 -5
- package/library/components/tab.js +2 -2
- package/library/components/tag.js +2 -2
- package/library/components/tooltip.js +1 -1
- package/library/components/tree-item.js +2 -2
- package/library/components/tree.js +2 -2
- package/library/components/typeface.js +2 -2
- package/library/components/types.js +18617 -18388
- package/library/components/video.js +2 -2
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/icon-button/icon-button.d.ts +11 -0
- package/library/packages/atoms/src/components/image/image.d.ts +30 -4
- package/library/packages/atoms/src/components/menu-item/menu-item.d.ts +5 -2
- package/library/packages/atoms/src/components/menu-item/submenu-controller.d.ts +1 -0
- package/library/packages/atoms/src/components/popup/popup.d.ts +11 -0
- package/library/packages/atoms/src/components/select/select.d.ts +8 -0
- package/library/packages/hybrid/table-core/src/table/styles/table-frozen.styles.d.ts +4 -4
- package/library/packages/hybrid/table-core/src/table/styles/table-overlay-scrollbar.styles.d.ts +8 -5
- package/library/packages/hybrid/table-core/src/table/table.d.ts +2 -12
- package/library/packages/hybrid/table-core/src/tabulator-tables/core/RowManager.d.ts +1 -0
- package/library/packages/hybrid/table-core/src/tabulator-tables/modules/ResizeColumns/ResizeColumns.d.ts +5 -3
- package/library/packages/molecules/src/gallery-item/gallery-item.d.ts +10 -0
- package/library/packages/molecules/src/icon-picker/icon-picker.d.ts +1 -0
- package/library/packages/molecules/src/masonry/masonry.d.ts +9 -0
- package/library/packages/molecules/src/view-and-sort/view-and-sort.d.ts +8 -0
- package/library/packages/organisms/src/bento-grid/bento-grid.d.ts +88 -0
- package/library/packages/organisms/src/comment/components/comment-menu/comment-menu.d.ts +10 -0
- package/library/packages/organisms/src/content-builder/blocks/image/image.d.ts +11 -1
- package/library/packages/organisms/src/content-builder/content-builder.d.ts +31 -6
- package/library/packages/organisms/src/downloader/downloader.d.ts +1 -1
- package/library/packages/types/src/menu-item.d.ts +12 -1
- package/library/packages/utils/src/custom-element/i18n.d.ts +3 -0
- package/library/packages/utils/src/transformation/transformation.d.ts +52 -0
- package/library/react-web-component.d.ts +25 -1
- package/library/utils.js +173 -167
- package/package.json +1 -1
- package/library/chunks/transformation.8uLv6uwG.js +0 -264
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import Ri from "../components/space.js";
|
|
2
|
-
import { C as
|
|
2
|
+
import { C as Pr, T as En } from "./typography.IqHbnd3C.js";
|
|
3
3
|
import { n as m, C as Pe } from "./lib-cortex-element.CVMmyPMC.js";
|
|
4
|
-
import { C as
|
|
4
|
+
import { C as Ir, a as es } from "./color-swatch.Caved2kL.js";
|
|
5
5
|
import { c as $e } from "./component.styles.CRO4Odto.js";
|
|
6
|
-
import { C as Et } from "./button.
|
|
7
|
-
import { C as
|
|
8
|
-
import { C as oi } from "./icon-button.
|
|
6
|
+
import { C as Et } from "./button.CpY4FCwE.js";
|
|
7
|
+
import { C as xn, o as Rn, O as Sn } from "./dialog.ICoCAj6Z.js";
|
|
8
|
+
import { C as oi } from "./icon-button.BWJ1Vqn5.js";
|
|
9
9
|
import Pt from "../components/tooltip.js";
|
|
10
|
-
import { i as
|
|
10
|
+
import { i as Hr, r as kn, f as Jt, m as Tn, a as Dn, t as Nr, g as Mn, b as Fn, c as Ln } from "./toast.C5Ir5yKA.js";
|
|
11
11
|
import { c as Ie } from "./custom-element.L4WJXn1j.js";
|
|
12
|
-
import { L as tt } from "./i18n.
|
|
13
|
-
import { b as zn, S as _n, c as
|
|
12
|
+
import { L as tt } from "./i18n.BA19xtyU.js";
|
|
13
|
+
import { b as zn, S as _n, c as No, p as On, w as V, E as An } from "./watch.DJF5K-8U.js";
|
|
14
14
|
import { i as q, x, E as ut, B as Pn } from "./lit-element.jLBm65_O.js";
|
|
15
15
|
import { r as F } from "./state.CSDxrqLd.js";
|
|
16
16
|
import { e as ue } from "./query.BBf1UFkC.js";
|
|
17
17
|
import { a as In, b as Hn } from "./_baseXor.DixEm6JQ.js";
|
|
18
|
-
import { a as ji, i as zt, b as
|
|
19
|
-
import { b as Gi, a as Nn, c as
|
|
18
|
+
import { a as ji, i as zt, b as Vr } from "./isArrayLikeObject.D7afXo-f.js";
|
|
19
|
+
import { b as Gi, a as Nn, c as Br, t as Vn } from "./_baseIteratee.sC2wLi2m.js";
|
|
20
20
|
import { l as si, i as Bn, f as $n } from "./_flatRest.D3ZVApI5.js";
|
|
21
21
|
import { a as ao } from "./toString.B1zKIiZc.js";
|
|
22
22
|
import { a as Wn, b as jn } from "./_baseUniq.lwMgmtt2.js";
|
|
23
23
|
import { C as gt } from "./icon.CpHbi8tH.js";
|
|
24
|
-
import { C as
|
|
25
|
-
import { d as
|
|
24
|
+
import { C as $r } from "./input.xgeLCG8I.js";
|
|
25
|
+
import { d as Wr } from "./debounce.DaHuiSGU.js";
|
|
26
26
|
import { e as Ze } from "./class-map.BiVq-cVR.js";
|
|
27
27
|
import { c as Ke } from "./repeat.CFjcER6_.js";
|
|
28
28
|
import { n as J } from "./when.Dr1es41R.js";
|
|
@@ -32,38 +32,39 @@ import { S as Xn } from "./sortable.esm.oSzf6C5Q.js";
|
|
|
32
32
|
import Jn from "../components/line-clamp.js";
|
|
33
33
|
import { o as Yn } from "./unsafe-html.Dff7-rCx.js";
|
|
34
34
|
import ri from "../components/menu.js";
|
|
35
|
-
import ni from "
|
|
35
|
+
import { C as ni } from "./menu-item.DgUMVYe5.js";
|
|
36
36
|
import Zn from "../components/popup.js";
|
|
37
37
|
import { r as Qn } from "./choose.BTbF6BAn.js";
|
|
38
38
|
import { o as Z } from "./if-defined.BRoBj_Rp.js";
|
|
39
39
|
import { o as ft } from "./style-map.llVFPd__.js";
|
|
40
40
|
import ai from "../components/dropdown.js";
|
|
41
41
|
import ea from "../components/menu-section.js";
|
|
42
|
-
import
|
|
43
|
-
import { C as ta, P as ia } from "./pagination.
|
|
44
|
-
import { H as
|
|
45
|
-
import { g as B, a as
|
|
42
|
+
import jr from "../components/checkbox.js";
|
|
43
|
+
import { C as ta, P as ia } from "./pagination.CSPKsj4y.js";
|
|
44
|
+
import { H as Gr } from "./slot.j5oheLJC.js";
|
|
45
|
+
import { g as B, a as Vo } from "./dom.gRV2cDjL.js";
|
|
46
46
|
import "./browser.BHOCIF_A.js";
|
|
47
47
|
import "./form.DSsy3Fcy.js";
|
|
48
48
|
import "./purify.es.BIuh5IAZ.js";
|
|
49
|
-
import { D as
|
|
50
|
-
import { D as Ti } from "./
|
|
51
|
-
import
|
|
49
|
+
import { D as Ur, a as sa, t as oa, b as Kr } from "./date-picker.BGHn6qg8.js";
|
|
50
|
+
import { D as Ti } from "./content-builder.BX4pHujE.js";
|
|
51
|
+
import "./transformation.CWKaoGaY.js";
|
|
52
|
+
import { s as P, h as Bo, b as Ui, c as lo } from "./string.CfI2ejyR.js";
|
|
52
53
|
import { a as ra } from "./_commonjsHelpers.DQNKXVTB.js";
|
|
53
54
|
import { d as na } from "./debounce.Bv1rtE8D.js";
|
|
54
55
|
import aa from "../components/divider.js";
|
|
55
56
|
import la from "../components/format-number.js";
|
|
56
57
|
import ha from "../components/select.js";
|
|
57
|
-
import
|
|
58
|
+
import qr from "../components/spinner.js";
|
|
58
59
|
import ca from "../components/badge.js";
|
|
59
60
|
import da from "../components/details.js";
|
|
60
61
|
import ua from "../components/tag.js";
|
|
61
62
|
import { c as pa } from "./date.iWq_pkIk.js";
|
|
62
63
|
import { r as fa } from "./query-all.i3PyvTUQ.js";
|
|
63
|
-
import { i as
|
|
64
|
-
var
|
|
64
|
+
import { i as $o } from "./guard.D4axKaMo.js";
|
|
65
|
+
var Wo = ji(function(n, e) {
|
|
65
66
|
var t = si(e);
|
|
66
|
-
return zt(t) && (t = void 0), zt(n) ? In(n,
|
|
67
|
+
return zt(t) && (t = void 0), zt(n) ? In(n, Vr(e, 1, zt, !0), Gi(t)) : [];
|
|
67
68
|
}), ma = Math.min;
|
|
68
69
|
function ga(n, e, t) {
|
|
69
70
|
for (var i = Wn, s = n[0].length, o = n.length, r = o, a = Array(o), l = 1 / 0, h = []; r--; ) {
|
|
@@ -75,10 +76,10 @@ function ga(n, e, t) {
|
|
|
75
76
|
e:
|
|
76
77
|
for (; ++d < s && h.length < l; ) {
|
|
77
78
|
var u = c[d], f = e ? e(u) : u;
|
|
78
|
-
if (u = u !== 0 ? u : 0, !(p ?
|
|
79
|
+
if (u = u !== 0 ? u : 0, !(p ? No(p, f) : i(h, f))) {
|
|
79
80
|
for (r = o; --r; ) {
|
|
80
81
|
var w = a[r];
|
|
81
|
-
if (!(w ?
|
|
82
|
+
if (!(w ? No(w, f) : i(n[r], f)))
|
|
82
83
|
continue e;
|
|
83
84
|
}
|
|
84
85
|
p && p.push(f), h.push(u);
|
|
@@ -94,7 +95,7 @@ var wa = ji(function(n) {
|
|
|
94
95
|
return e === si(t) ? e = void 0 : t.pop(), t.length && t[0] === n[0] ? ga(t, Gi(e)) : [];
|
|
95
96
|
}), va = ji(function(n) {
|
|
96
97
|
var e = si(n);
|
|
97
|
-
return zt(e) && (e = void 0), jn(
|
|
98
|
+
return zt(e) && (e = void 0), jn(Vr(n, 1, zt, !0), Gi(e));
|
|
98
99
|
}), ya = ji(function(n) {
|
|
99
100
|
var e = si(n);
|
|
100
101
|
return zt(e) && (e = void 0), Hn(On(n, zt), Gi(e));
|
|
@@ -103,18 +104,18 @@ function Ca(n, e) {
|
|
|
103
104
|
return e.length < 2 ? n : Nn(n, qn(e, 0, -1));
|
|
104
105
|
}
|
|
105
106
|
function Ea(n, e) {
|
|
106
|
-
return e =
|
|
107
|
+
return e = Br(e, n), n = Ca(n, e), n == null || delete n[Vn(si(e))];
|
|
107
108
|
}
|
|
108
109
|
function xa(n) {
|
|
109
110
|
return Bn(n) ? void 0 : n;
|
|
110
111
|
}
|
|
111
|
-
var Ra = 1, Sa = 2, ka = 4,
|
|
112
|
+
var Ra = 1, Sa = 2, ka = 4, jo = $n(function(n, e) {
|
|
112
113
|
var t = {};
|
|
113
114
|
if (n == null)
|
|
114
115
|
return t;
|
|
115
116
|
var i = !1;
|
|
116
117
|
e = ao(e, function(o) {
|
|
117
|
-
return o =
|
|
118
|
+
return o = Br(o, n), i || (i = o.length > 1), o;
|
|
118
119
|
}), Gn(n, Un(n), t), i && (t = Kn(t, Ra | Sa | ka, xa));
|
|
119
120
|
for (var s = e.length; s--; )
|
|
120
121
|
Ea(t, e[s]);
|
|
@@ -319,7 +320,7 @@ let $ = class extends Pe {
|
|
|
319
320
|
let o = t.selectedItemAsArray;
|
|
320
321
|
o.includes(s) || (o = [s]);
|
|
321
322
|
const r = o.length > 1, a = Number(n.newIndex) - 1 + this.start, l = this.resolveRealInsertIndex(a);
|
|
322
|
-
e =
|
|
323
|
+
e = Hr(e, l, o), this.handleUpdateEvent(e, n.type, r, l);
|
|
323
324
|
}
|
|
324
325
|
async handleEnd(n) {
|
|
325
326
|
this.isDragging = !1, await this.updateComplete;
|
|
@@ -349,7 +350,7 @@ let $ = class extends Pe {
|
|
|
349
350
|
}
|
|
350
351
|
handleDefaultSelect(n) {
|
|
351
352
|
const e = n.dataset.id;
|
|
352
|
-
this._selectedItems[e] ? (this._selectedItems =
|
|
353
|
+
this._selectedItems[e] ? (this._selectedItems = jo(this._selectedItems, [e]), this._selectedItemOrder = jo(this._selectedItemOrder, [e])) : (this._selectedItems = {
|
|
353
354
|
...this._selectedItems,
|
|
354
355
|
[e]: !0
|
|
355
356
|
}, this._selectedItemOrder = {
|
|
@@ -568,7 +569,7 @@ $.dependencies = {
|
|
|
568
569
|
"cx-board-list-item": Ee,
|
|
569
570
|
"cx-icon": gt,
|
|
570
571
|
"cx-icon-button": oi,
|
|
571
|
-
"cx-input":
|
|
572
|
+
"cx-input": $r,
|
|
572
573
|
"cx-tooltip": Pt
|
|
573
574
|
};
|
|
574
575
|
X([
|
|
@@ -668,12 +669,12 @@ X([
|
|
|
668
669
|
V(["data", "group"])
|
|
669
670
|
], $.prototype, "onItemsChanged", 1);
|
|
670
671
|
X([
|
|
671
|
-
|
|
672
|
+
Wr(200, !0)
|
|
672
673
|
], $.prototype, "handleShiftSelect", 1);
|
|
673
674
|
$ = X([
|
|
674
675
|
Ie("cx-board")
|
|
675
676
|
], $);
|
|
676
|
-
const Aa = 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}`,
|
|
677
|
+
const Aa = 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}`, Go = (n, e) => n.group && e.group && n.group !== e.group ? n.group.localeCompare(e.group) : n.text.localeCompare(e.text);
|
|
677
678
|
var Pa = Object.defineProperty, Ia = Object.getOwnPropertyDescriptor, qe = (n, e, t, i) => {
|
|
678
679
|
for (var s = i > 1 ? void 0 : i ? Ia(e, t) : e, o = n.length - 1, r; o >= 0; o--)
|
|
679
680
|
(r = n[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
|
|
@@ -713,10 +714,10 @@ let De = class extends Pe {
|
|
|
713
714
|
if (this.addLimit || this.addLimit === 0) {
|
|
714
715
|
let i = [];
|
|
715
716
|
if (t === "add" ? i = n : t === "remove" && (i = va(
|
|
716
|
-
|
|
717
|
+
Wo(e, n),
|
|
717
718
|
this.secondColumnItemIds
|
|
718
|
-
)),
|
|
719
|
-
return
|
|
719
|
+
)), Wo(i, this.initialSecondColumnItems).length > this.addLimit)
|
|
720
|
+
return Nr(this.localize.term("addLimitExceeded", this.addLimit), {
|
|
720
721
|
notificationType: "warning"
|
|
721
722
|
}), !1;
|
|
722
723
|
}
|
|
@@ -729,7 +730,7 @@ let De = class extends Pe {
|
|
|
729
730
|
if (e === this.secondColumnData.id && (r = this.secondColumnData, a = this.firstColumnData), o === "add") {
|
|
730
731
|
const l = this.selectedItems[a.id];
|
|
731
732
|
let h = r.items.map((c) => c.id);
|
|
732
|
-
if (h =
|
|
733
|
+
if (h = Hr(
|
|
733
734
|
h,
|
|
734
735
|
s === h.length - 1 ? s : s ?? 0,
|
|
735
736
|
l
|
|
@@ -890,7 +891,7 @@ let De = class extends Pe {
|
|
|
890
891
|
items: ya(this.firstColumnData.items, i, "id")
|
|
891
892
|
}, e = !0);
|
|
892
893
|
}
|
|
893
|
-
e && (this.board1Data = this.firstColumnData.sort ?? !0 ? this.firstColumnData.items : [...this.firstColumnData.items].sort(
|
|
894
|
+
e && (this.board1Data = this.firstColumnData.sort ?? !0 ? this.firstColumnData.items : [...this.firstColumnData.items].sort(Go)), t && (this.board2Data = this.secondColumnData.sort ?? !0 ? this.secondColumnData.items : [...this.secondColumnData.items].sort(Go));
|
|
894
895
|
}
|
|
895
896
|
render() {
|
|
896
897
|
const n = this.selectedItems[this.firstColumnData.id] ?? [], e = this.selectedItems[this.secondColumnData.id] ?? [];
|
|
@@ -1016,7 +1017,7 @@ let Qe = class extends Pe {
|
|
|
1016
1017
|
Qe.styles = [$e, Ha];
|
|
1017
1018
|
Qe.dependencies = {
|
|
1018
1019
|
"cx-button": Et,
|
|
1019
|
-
"cx-dialog":
|
|
1020
|
+
"cx-dialog": xn,
|
|
1020
1021
|
"cx-multi-select": De
|
|
1021
1022
|
};
|
|
1022
1023
|
It([
|
|
@@ -1047,7 +1048,7 @@ var cs = /* @__PURE__ */ ((n) => (n.Search = "search-keyword", n))(cs || {}), Ki
|
|
|
1047
1048
|
const ds = 36;
|
|
1048
1049
|
var fi = /* @__PURE__ */ ((n) => (n.IsoDate = "iso-date", n.IsoDateTime = "iso-datetime", n.Timestamp = "timestamp", n))(fi || {});
|
|
1049
1050
|
const Ba = 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
|
-
var $a = Object.defineProperty, Wa = Object.getOwnPropertyDescriptor,
|
|
1051
|
+
var $a = Object.defineProperty, Wa = Object.getOwnPropertyDescriptor, Xr = (n, e, t, i) => {
|
|
1051
1052
|
for (var s = i > 1 ? void 0 : i ? Wa(e, t) : e, o = n.length - 1, r; o >= 0; o--)
|
|
1052
1053
|
(r = n[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
|
|
1053
1054
|
return i && s && $a(e, t, s), s;
|
|
@@ -1061,10 +1062,10 @@ let Ci = class extends Pe {
|
|
|
1061
1062
|
}
|
|
1062
1063
|
};
|
|
1063
1064
|
Ci.styles = [$e, Ba];
|
|
1064
|
-
|
|
1065
|
+
Xr([
|
|
1065
1066
|
m({ attribute: "pagination-placement", reflect: !0, type: String })
|
|
1066
1067
|
], Ci.prototype, "paginationPlacement", 2);
|
|
1067
|
-
Ci =
|
|
1068
|
+
Ci = Xr([
|
|
1068
1069
|
Ie("cx-table-footer")
|
|
1069
1070
|
], Ci);
|
|
1070
1071
|
const ja = q`:host{display:contents}cx-popup::part(popup){z-index:var(--cx-z-index-dropdown)}`;
|
|
@@ -1607,7 +1608,7 @@ var rl = Object.defineProperty, nl = Object.getOwnPropertyDescriptor, ie = (n, e
|
|
|
1607
1608
|
};
|
|
1608
1609
|
let ee = class extends Pe {
|
|
1609
1610
|
constructor() {
|
|
1610
|
-
super(...arguments), this.localize = new tt(this), this.hasSlotController = new
|
|
1611
|
+
super(...arguments), this.localize = new tt(this), this.hasSlotController = new Gr(
|
|
1611
1612
|
this,
|
|
1612
1613
|
"label",
|
|
1613
1614
|
"pagination",
|
|
@@ -1751,11 +1752,11 @@ let ee = class extends Pe {
|
|
|
1751
1752
|
ee.styles = [$e, ol];
|
|
1752
1753
|
ee.dependencies = {
|
|
1753
1754
|
"cx-button": Et,
|
|
1754
|
-
"cx-checkbox":
|
|
1755
|
+
"cx-checkbox": jr,
|
|
1755
1756
|
"cx-dropdown": ai,
|
|
1756
1757
|
"cx-icon": gt,
|
|
1757
1758
|
"cx-icon-button": oi,
|
|
1758
|
-
"cx-input":
|
|
1759
|
+
"cx-input": $r,
|
|
1759
1760
|
"cx-menu": ri,
|
|
1760
1761
|
"cx-menu-item": ni,
|
|
1761
1762
|
"cx-pagination": ta,
|
|
@@ -1764,7 +1765,7 @@ ee.dependencies = {
|
|
|
1764
1765
|
"cx-table-group-by-dropdown": At,
|
|
1765
1766
|
"cx-table-saved-search-dropdown": Be,
|
|
1766
1767
|
"cx-tooltip": Pt,
|
|
1767
|
-
"cx-typography":
|
|
1768
|
+
"cx-typography": Pr
|
|
1768
1769
|
};
|
|
1769
1770
|
ie([
|
|
1770
1771
|
ue("#search-form")
|
|
@@ -2027,8 +2028,8 @@ class Q {
|
|
|
2027
2028
|
return t;
|
|
2028
2029
|
}
|
|
2029
2030
|
}
|
|
2030
|
-
const
|
|
2031
|
-
let al = class
|
|
2031
|
+
const Uo = process.env.NODE_ENV === "development";
|
|
2032
|
+
let al = class Jr extends Me {
|
|
2032
2033
|
constructor(e, t, i = null) {
|
|
2033
2034
|
super(e), this.reversedX = !1, this.childPopup = null, this.blurable = !1, this.blurCallback = null, this.blurEventsBound = !1, this.renderedCallback = null, this.visible = !1, this.hideable = !0, this.destroyed = !1, this.element = t, this.container = this._lookupContainer(), this.parent = i, this.element.classList.add("tabulator-popup-container"), this.blurEvent = this.hide.bind(this, !1), this.escEvent = this._escapeCheck.bind(this), this.destroyBinding = this.tableDestroyed.bind(this);
|
|
2034
2035
|
}
|
|
@@ -2037,11 +2038,11 @@ let al = class Yr extends Me {
|
|
|
2037
2038
|
}
|
|
2038
2039
|
_lookupContainer() {
|
|
2039
2040
|
let e = this.table.options.popupContainer;
|
|
2040
|
-
return typeof e == "string" ? (e = document.querySelector(e),
|
|
2041
|
+
return typeof e == "string" ? (e = document.querySelector(e), Uo && !e && console.warn(
|
|
2041
2042
|
"Menu Error - no container element found matching selector:",
|
|
2042
2043
|
this.table.options.popupContainer,
|
|
2043
2044
|
"(defaulting to document body)"
|
|
2044
|
-
)) : e === !0 && (e = this.table.element), e && !(e instanceof HTMLElement) && (e = null), e && !this._checkContainerIsParent(e) && (e = null,
|
|
2045
|
+
)) : e === !0 && (e = this.table.element), e && !(e instanceof HTMLElement) && (e = null), e && !this._checkContainerIsParent(e) && (e = null, Uo && console.warn(
|
|
2045
2046
|
"Menu Error - container element does not contain this table:",
|
|
2046
2047
|
this.table.options.popupContainer,
|
|
2047
2048
|
"(defaulting to document body)"
|
|
@@ -2151,7 +2152,7 @@ let al = class Yr extends Me {
|
|
|
2151
2152
|
), this.unsubscribe("cell-editing", this.blurEvent), this.blurEventsBound = !1), this.childPopup && this.childPopup.hide(), this.parent && (this.parent.childPopup = null), this.element.parentNode && this.element.parentNode.removeChild(this.element), this.visible = !1, this.blurCallback && !e && this.blurCallback(), this.unsubscribe("table-destroy", this.destroyBinding)), this;
|
|
2152
2153
|
}
|
|
2153
2154
|
child(e) {
|
|
2154
|
-
return this.childPopup && this.childPopup.hide(), this.childPopup = new
|
|
2155
|
+
return this.childPopup && this.childPopup.hide(), this.childPopup = new Jr(this.table, e, this), this.childPopup;
|
|
2155
2156
|
}
|
|
2156
2157
|
};
|
|
2157
2158
|
const ll = process.env.NODE_ENV === "development";
|
|
@@ -2239,7 +2240,7 @@ const bo = class bo extends I {
|
|
|
2239
2240
|
};
|
|
2240
2241
|
bo.moduleName = "accessibility";
|
|
2241
2242
|
let us = bo;
|
|
2242
|
-
const hl = "tabulator-clickable-cell", cl = 'button, [role="button"], cx-button, cx-menu-item, cx-dropdown', dl = "hoverMenu",
|
|
2243
|
+
const hl = "tabulator-clickable-cell", cl = 'button, [role="button"], cx-button, cx-menu-item, cx-dropdown', dl = "hoverMenu", Ko = "cx-table-row-action-click", wo = class wo extends I {
|
|
2243
2244
|
constructor(e) {
|
|
2244
2245
|
super(e), this.cellKeyHandlers = /* @__PURE__ */ new WeakMap(), this.registerColumnOption("clickable"), this.registerColumnOption("clickableActionName"), this.registerColumnOption("clickableEventName");
|
|
2245
2246
|
}
|
|
@@ -2309,11 +2310,11 @@ const hl = "tabulator-clickable-cell", cl = 'button, [role="button"], cx-button,
|
|
|
2309
2310
|
row: e.row.getComponent()
|
|
2310
2311
|
}, s = this.getCxTableHost();
|
|
2311
2312
|
if (s) {
|
|
2312
|
-
s.emit(
|
|
2313
|
+
s.emit(Ko, { detail: i });
|
|
2313
2314
|
return;
|
|
2314
2315
|
}
|
|
2315
2316
|
this.table.element.dispatchEvent(
|
|
2316
|
-
new CustomEvent(
|
|
2317
|
+
new CustomEvent(Ko, {
|
|
2317
2318
|
bubbles: !0,
|
|
2318
2319
|
composed: !0,
|
|
2319
2320
|
detail: i
|
|
@@ -2523,7 +2524,7 @@ let ms = ei;
|
|
|
2523
2524
|
const ml = {
|
|
2524
2525
|
method: "GET"
|
|
2525
2526
|
};
|
|
2526
|
-
function
|
|
2527
|
+
function Yr(n) {
|
|
2527
2528
|
return n instanceof File || n instanceof Blob;
|
|
2528
2529
|
}
|
|
2529
2530
|
function gs(n, e = "") {
|
|
@@ -2537,7 +2538,7 @@ function gs(n, e = "") {
|
|
|
2537
2538
|
)
|
|
2538
2539
|
);
|
|
2539
2540
|
});
|
|
2540
|
-
else if (
|
|
2541
|
+
else if (Yr(n))
|
|
2541
2542
|
t.push({ key: e, value: n });
|
|
2542
2543
|
else if (typeof n == "object" && n !== null)
|
|
2543
2544
|
for (const i in n)
|
|
@@ -2558,7 +2559,7 @@ const gl = {
|
|
|
2558
2559
|
return i.forEach((o) => {
|
|
2559
2560
|
s.append(
|
|
2560
2561
|
o.key,
|
|
2561
|
-
|
|
2562
|
+
Yr(o.value) ? o.value : String(o.value)
|
|
2562
2563
|
);
|
|
2563
2564
|
}), s;
|
|
2564
2565
|
},
|
|
@@ -2604,7 +2605,7 @@ function bl(n) {
|
|
|
2604
2605
|
);
|
|
2605
2606
|
}), t.join("&");
|
|
2606
2607
|
}
|
|
2607
|
-
const
|
|
2608
|
+
const Zr = function(n, e, t) {
|
|
2608
2609
|
if (n && t && Object.keys(t).length && (!e.method || e.method.toLowerCase() === "get")) {
|
|
2609
2610
|
e.method = "get";
|
|
2610
2611
|
const [i, s] = n.split("#", 2), o = bl(t);
|
|
@@ -2668,7 +2669,7 @@ const Qr = function(n, e, t) {
|
|
|
2668
2669
|
)), s)) : Promise.reject();
|
|
2669
2670
|
}
|
|
2670
2671
|
};
|
|
2671
|
-
ot.moduleName = "ajax", ot.defaultConfig = ml, ot.defaultURLGenerator =
|
|
2672
|
+
ot.moduleName = "ajax", ot.defaultConfig = ml, ot.defaultURLGenerator = Zr, ot.contentTypeFormatters = gl, ot.defaultLoaderPromise = function(e, t, i) {
|
|
2672
2673
|
let s;
|
|
2673
2674
|
return new Promise((o, r) => {
|
|
2674
2675
|
if (!this.urlGenerator) {
|
|
@@ -2720,7 +2721,7 @@ function ho(n) {
|
|
|
2720
2721
|
}), t = t.parent;
|
|
2721
2722
|
return e;
|
|
2722
2723
|
}
|
|
2723
|
-
function
|
|
2724
|
+
function Qr(n) {
|
|
2724
2725
|
return JSON.stringify(n);
|
|
2725
2726
|
}
|
|
2726
2727
|
function wl(n, e) {
|
|
@@ -2730,11 +2731,11 @@ function vl(n) {
|
|
|
2730
2731
|
const e = ho(n);
|
|
2731
2732
|
return {
|
|
2732
2733
|
path: e,
|
|
2733
|
-
pathKey:
|
|
2734
|
+
pathKey: Qr(e),
|
|
2734
2735
|
rowCount: n.getRowCount()
|
|
2735
2736
|
};
|
|
2736
2737
|
}
|
|
2737
|
-
class
|
|
2738
|
+
class en {
|
|
2738
2739
|
constructor(e) {
|
|
2739
2740
|
return this._group = e, this.type = "GroupComponent", new Proxy(this, {
|
|
2740
2741
|
get: function(t, i) {
|
|
@@ -3050,8 +3051,8 @@ const El = {
|
|
|
3050
3051
|
actions: Rl,
|
|
3051
3052
|
bindings: Sl
|
|
3052
3053
|
}
|
|
3053
|
-
},
|
|
3054
|
-
function
|
|
3054
|
+
}, qo = process.env.NODE_ENV === "development";
|
|
3055
|
+
function Xo(n) {
|
|
3055
3056
|
const e = globalThis.clipboardData, t = n;
|
|
3056
3057
|
return e ?? n.clipboardData ?? t.originalEvent?.clipboardData ?? void 0;
|
|
3057
3058
|
}
|
|
@@ -3066,8 +3067,8 @@ const kt = class kt extends I {
|
|
|
3066
3067
|
this.rowRange,
|
|
3067
3068
|
"clipboard"
|
|
3068
3069
|
), i = this.table.modules.export?.generateHTMLTable(s), t = i ? this.generatePlainContent(s) : "", this.table.options.clipboardCopyFormatter && typeof this.table.options.clipboardCopyFormatter == "function" && (t = this.table.options.clipboardCopyFormatter("plain", t), i = this.table.options.clipboardCopyFormatter("html", i ?? "")));
|
|
3069
|
-
const o =
|
|
3070
|
-
o?.setData && (o.setData("text/plain", t), i && o.setData("text/html", i),
|
|
3070
|
+
const o = Xo(e);
|
|
3071
|
+
o?.setData && (o.setData("text/plain", t), i && o.setData("text/html", i), Nr("Copied to clipboard", {
|
|
3071
3072
|
notificationType: "success"
|
|
3072
3073
|
})), this.dispatchExternal("clipboardCopied", t, i), this.reset();
|
|
3073
3074
|
}
|
|
@@ -3098,7 +3099,7 @@ const kt = class kt extends I {
|
|
|
3098
3099
|
const s = [];
|
|
3099
3100
|
i.columns.forEach((o) => {
|
|
3100
3101
|
let r = "";
|
|
3101
|
-
o && (i.type === "group" && (o.value = o.component instanceof
|
|
3102
|
+
o && (i.type === "group" && (o.value = o.component instanceof en ? o.component.getKey() : ""), typeof o.value == "object" ? r = JSON.stringify(o.value) : o.value != null && (r = String(o.value))), s.push(r);
|
|
3102
3103
|
}), t.push(s.join(" "));
|
|
3103
3104
|
}), t.join(`
|
|
3104
3105
|
`);
|
|
@@ -3118,7 +3119,7 @@ const kt = class kt extends I {
|
|
|
3118
3119
|
switch (typeof e) {
|
|
3119
3120
|
case "string": {
|
|
3120
3121
|
const t = kt.pasteActions[e];
|
|
3121
|
-
t ? this.pasteAction = t :
|
|
3122
|
+
t ? this.pasteAction = t : qo && console.warn("Clipboard Error - No such paste action found:", e);
|
|
3122
3123
|
break;
|
|
3123
3124
|
}
|
|
3124
3125
|
case "function":
|
|
@@ -3130,7 +3131,7 @@ const kt = class kt extends I {
|
|
|
3130
3131
|
switch (typeof e) {
|
|
3131
3132
|
case "string": {
|
|
3132
3133
|
const t = kt.pasteParsers[e];
|
|
3133
|
-
t ? this.pasteParser = t :
|
|
3134
|
+
t ? this.pasteParser = t : qo && console.warn("Clipboard Error - No such paste parser found:", e);
|
|
3134
3135
|
break;
|
|
3135
3136
|
}
|
|
3136
3137
|
case "function":
|
|
@@ -3162,7 +3163,7 @@ const kt = class kt extends I {
|
|
|
3162
3163
|
}
|
|
3163
3164
|
getPasteData(e) {
|
|
3164
3165
|
let t;
|
|
3165
|
-
const i =
|
|
3166
|
+
const i = Xo(e);
|
|
3166
3167
|
return i?.getData && (t = i.getData("text/plain")), t;
|
|
3167
3168
|
}
|
|
3168
3169
|
};
|
|
@@ -3424,7 +3425,7 @@ class ki extends Me {
|
|
|
3424
3425
|
return this.component ??= new co(this), this.component;
|
|
3425
3426
|
}
|
|
3426
3427
|
}
|
|
3427
|
-
const
|
|
3428
|
+
const tn = {
|
|
3428
3429
|
columns: void 0,
|
|
3429
3430
|
cssClass: void 0,
|
|
3430
3431
|
editableTitle: void 0,
|
|
@@ -3922,7 +3923,7 @@ const sn = {
|
|
|
3922
3923
|
return this.parent instanceof ke ? this.parent.getComponent() : !1;
|
|
3923
3924
|
}
|
|
3924
3925
|
};
|
|
3925
|
-
ke.defaultOptionList =
|
|
3926
|
+
ke.defaultOptionList = tn;
|
|
3926
3927
|
let Ve = ke;
|
|
3927
3928
|
class uo {
|
|
3928
3929
|
constructor(e) {
|
|
@@ -3998,7 +3999,7 @@ class uo {
|
|
|
3998
3999
|
return e && e.getComponent();
|
|
3999
4000
|
}
|
|
4000
4001
|
}
|
|
4001
|
-
const
|
|
4002
|
+
const Jo = process.env.NODE_ENV === "development";
|
|
4002
4003
|
class Te extends Me {
|
|
4003
4004
|
constructor(e, t, i = "row") {
|
|
4004
4005
|
super(t.table), this.parent = t, this.data = {}, this.type = i, this.element = !1, this.modules = {}, this.cells = [], this.height = 0, this.heightStyled = "", this.manualHeight = !1, this.outerHeight = 0, this.initialized = !1, this.heightInitialized = !1, this.position = 0, this.positionWatchers = [], this.component = null, this.created = !1, this.setData(e);
|
|
@@ -4119,7 +4120,7 @@ class Te extends Me {
|
|
|
4119
4120
|
try {
|
|
4120
4121
|
e = JSON.parse(e);
|
|
4121
4122
|
} catch (r) {
|
|
4122
|
-
|
|
4123
|
+
Jo && console.warn(
|
|
4123
4124
|
"Row updateData - invalid JSON string, skipping update",
|
|
4124
4125
|
r
|
|
4125
4126
|
), o();
|
|
@@ -4177,7 +4178,7 @@ class Te extends Me {
|
|
|
4177
4178
|
}
|
|
4178
4179
|
moveToRow(e, t) {
|
|
4179
4180
|
const i = this.table.rowManager?.findRow(e);
|
|
4180
|
-
i ? (this.table.rowManager?.moveRowActual(this, i, !t), this.table.rowManager?.refreshActiveData("display", !1, !0)) :
|
|
4181
|
+
i ? (this.table.rowManager?.moveRowActual(this, i, !t), this.table.rowManager?.refreshActiveData("display", !1, !0)) : Jo && console.warn(`Move Error - No matching row found: ${e}`);
|
|
4181
4182
|
}
|
|
4182
4183
|
// /////////////////// Actions /////////////////////
|
|
4183
4184
|
delete() {
|
|
@@ -4311,7 +4312,7 @@ const Fl = {
|
|
|
4311
4312
|
unique: function(n, e, t) {
|
|
4312
4313
|
return n.filter((s, o) => !(s == null || typeof s == "string" && s.trim() === "") && n.indexOf(s) === o).length;
|
|
4313
4314
|
}
|
|
4314
|
-
},
|
|
4315
|
+
}, Yo = process.env.NODE_ENV === "development", Tt = class Tt extends I {
|
|
4315
4316
|
constructor(e) {
|
|
4316
4317
|
super(e), this.topCalcs = [], this.botCalcs = [], this.genColumn = !1, this.topElement = this.createElement(), this.botElement = this.createElement(), this.topRow = !1, this.botRow = !1, this.topInitialized = !1, this.botInitialized = !1, this.blocked = !1, this.recalcAfterBlock = !1, this.registerTableOption("columnCalcs", !0), this.registerColumnOption("topCalc"), this.registerColumnOption("topCalcParams"), this.registerColumnOption("topCalcFormatter"), this.registerColumnOption("topCalcFormatterParams"), this.registerColumnOption("bottomCalc"), this.registerColumnOption("bottomCalcParams"), this.registerColumnOption("bottomCalcFormatter"), this.registerColumnOption("bottomCalcFormatterParams");
|
|
4317
4318
|
}
|
|
@@ -4373,7 +4374,7 @@ const Fl = {
|
|
|
4373
4374
|
if (t.topCalc) {
|
|
4374
4375
|
switch (typeof t.topCalc) {
|
|
4375
4376
|
case "string":
|
|
4376
|
-
Tt.calculations[t.topCalc] ? i.topCalc = Tt.calculations[t.topCalc] :
|
|
4377
|
+
Tt.calculations[t.topCalc] ? i.topCalc = Tt.calculations[t.topCalc] : Yo && console.warn(
|
|
4377
4378
|
"Column Calc Error - No such calculation found, ignoring: ",
|
|
4378
4379
|
t.topCalc
|
|
4379
4380
|
);
|
|
@@ -4387,7 +4388,7 @@ const Fl = {
|
|
|
4387
4388
|
if (t.bottomCalc) {
|
|
4388
4389
|
switch (typeof t.bottomCalc) {
|
|
4389
4390
|
case "string":
|
|
4390
|
-
Tt.calculations[t.bottomCalc] ? i.botCalc = Tt.calculations[t.bottomCalc] :
|
|
4391
|
+
Tt.calculations[t.bottomCalc] ? i.botCalc = Tt.calculations[t.bottomCalc] : Yo && console.warn(
|
|
4391
4392
|
"Column Calc Error - No such calculation found, ignoring: ",
|
|
4392
4393
|
t.bottomCalc
|
|
4393
4394
|
);
|
|
@@ -4988,18 +4989,18 @@ const Ll = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
|
|
|
4988
4989
|
};
|
|
4989
4990
|
vo.moduleName = "dataTree";
|
|
4990
4991
|
let xs = vo;
|
|
4991
|
-
const
|
|
4992
|
+
const Zo = process.env.NODE_ENV === "development", Nl = function(n, e = {}, t) {
|
|
4992
4993
|
const i = e.delimiter ? e.delimiter : ",", s = [], o = [];
|
|
4993
4994
|
n.forEach((a) => {
|
|
4994
4995
|
const l = [];
|
|
4995
4996
|
switch (a.type) {
|
|
4996
4997
|
case "group":
|
|
4997
|
-
|
|
4998
|
+
Zo && console.warn(
|
|
4998
4999
|
"Download Warning - CSV downloader cannot process row groups"
|
|
4999
5000
|
);
|
|
5000
5001
|
break;
|
|
5001
5002
|
case "calc":
|
|
5002
|
-
|
|
5003
|
+
Zo && console.warn(
|
|
5003
5004
|
"Download Warning - CSV downloader cannot process column calculations"
|
|
5004
5005
|
);
|
|
5005
5006
|
break;
|
|
@@ -5033,7 +5034,7 @@ const Qo = process.env.NODE_ENV === "development", Nl = function(n, e = {}, t) {
|
|
|
5033
5034
|
const i = this;
|
|
5034
5035
|
let s = "";
|
|
5035
5036
|
i.modExists("export", !0) && (s = i.modules.export?.generateHTMLTable(n) || ""), t(s, "text/html");
|
|
5036
|
-
},
|
|
5037
|
+
}, Qo = process.env.NODE_ENV === "development", Bl = function(n, e, t) {
|
|
5037
5038
|
const i = [];
|
|
5038
5039
|
n.forEach((o) => {
|
|
5039
5040
|
const r = {};
|
|
@@ -5041,12 +5042,12 @@ const Qo = process.env.NODE_ENV === "development", Nl = function(n, e = {}, t) {
|
|
|
5041
5042
|
case "header":
|
|
5042
5043
|
break;
|
|
5043
5044
|
case "group":
|
|
5044
|
-
|
|
5045
|
+
Qo && console.warn(
|
|
5045
5046
|
"Download Warning - JSON downloader cannot process row groups"
|
|
5046
5047
|
);
|
|
5047
5048
|
break;
|
|
5048
5049
|
case "calc":
|
|
5049
|
-
|
|
5050
|
+
Qo && console.warn(
|
|
5050
5051
|
"Download Warning - JSON downloader cannot process column calculations"
|
|
5051
5052
|
);
|
|
5052
5053
|
break;
|
|
@@ -5059,7 +5060,7 @@ const Qo = process.env.NODE_ENV === "development", Nl = function(n, e = {}, t) {
|
|
|
5059
5060
|
});
|
|
5060
5061
|
const s = JSON.stringify(i, null, " ");
|
|
5061
5062
|
t(s, "application/json");
|
|
5062
|
-
},
|
|
5063
|
+
}, er = process.env.NODE_ENV === "development", $l = function(n, e, t) {
|
|
5063
5064
|
const i = [];
|
|
5064
5065
|
n.forEach((s) => {
|
|
5065
5066
|
const o = {};
|
|
@@ -5067,12 +5068,12 @@ const Qo = process.env.NODE_ENV === "development", Nl = function(n, e = {}, t) {
|
|
|
5067
5068
|
case "header":
|
|
5068
5069
|
break;
|
|
5069
5070
|
case "group":
|
|
5070
|
-
|
|
5071
|
+
er && console.warn(
|
|
5071
5072
|
"Download Warning - JSON downloader cannot process row groups"
|
|
5072
5073
|
);
|
|
5073
5074
|
break;
|
|
5074
5075
|
case "calc":
|
|
5075
|
-
|
|
5076
|
+
er && console.warn(
|
|
5076
5077
|
"Download Warning - JSON downloader cannot process column calculations"
|
|
5077
5078
|
);
|
|
5078
5079
|
break;
|
|
@@ -5552,9 +5553,9 @@ const eh = function(n, e, t, i, s) {
|
|
|
5552
5553
|
}
|
|
5553
5554
|
}), s.mask && po(r, s), r;
|
|
5554
5555
|
}, th = process.env.NODE_ENV === "development";
|
|
5555
|
-
let
|
|
5556
|
+
let sn = null;
|
|
5556
5557
|
function ih(n) {
|
|
5557
|
-
|
|
5558
|
+
sn = n;
|
|
5558
5559
|
}
|
|
5559
5560
|
const sh = {
|
|
5560
5561
|
/**
|
|
@@ -5562,7 +5563,7 @@ const sh = {
|
|
|
5562
5563
|
* by {@link setDefaultFormattersRegistry}
|
|
5563
5564
|
*/
|
|
5564
5565
|
lookupFormatter(n, e) {
|
|
5565
|
-
const t = e ??
|
|
5566
|
+
const t = e ?? sn;
|
|
5566
5567
|
if (!t)
|
|
5567
5568
|
throw new Error(
|
|
5568
5569
|
"defaultFormatterRegistry is not initialized; ensure ./defaults/formatters has finished loading."
|
|
@@ -5666,17 +5667,17 @@ function ph(n, e, t) {
|
|
|
5666
5667
|
r
|
|
5667
5668
|
);
|
|
5668
5669
|
}
|
|
5669
|
-
function
|
|
5670
|
+
function tr({
|
|
5670
5671
|
elementConfig: n,
|
|
5671
5672
|
elementValue: e,
|
|
5672
5673
|
rowData: t
|
|
5673
5674
|
}) {
|
|
5674
5675
|
return !!(n.shouldHide?.(e, t) || n.hideValues !== void 0 && (Array.isArray(n.hideValues) ? n.hideValues : [n.hideValues]).includes(e) || n.shouldShow && !n.shouldShow(e, t) || n.showValues !== void 0 && !(Array.isArray(n.showValues) ? n.showValues : [n.showValues]).includes(e));
|
|
5675
5676
|
}
|
|
5676
|
-
function
|
|
5677
|
+
function ir(n) {
|
|
5677
5678
|
return n == null || n === "";
|
|
5678
5679
|
}
|
|
5679
|
-
function
|
|
5680
|
+
function sr({
|
|
5680
5681
|
cell: n,
|
|
5681
5682
|
elementConfig: e,
|
|
5682
5683
|
rowData: t,
|
|
@@ -5688,18 +5689,18 @@ function fh(n, e, t) {
|
|
|
5688
5689
|
if (!e?.elements || !Array.isArray(e.elements) || e.elements.length === 0)
|
|
5689
5690
|
return;
|
|
5690
5691
|
const i = n.getData(), s = this.table, o = typeof s.options.nestedFieldSeparator == "string" ? s.options.nestedFieldSeparator : void 0, r = n.getValue(), a = e.elements.some((L) => {
|
|
5691
|
-
const ge =
|
|
5692
|
+
const ge = sr({
|
|
5692
5693
|
cell: n,
|
|
5693
5694
|
elementConfig: L,
|
|
5694
5695
|
rowData: i,
|
|
5695
5696
|
separator: o
|
|
5696
5697
|
});
|
|
5697
|
-
if (
|
|
5698
|
+
if (tr({ elementConfig: L, elementValue: ge, rowData: i }))
|
|
5698
5699
|
return !1;
|
|
5699
5700
|
let Y = ge;
|
|
5700
|
-
return L.valueMap && (Y = L.valueMap[String(Y)] ?? Y), !
|
|
5701
|
+
return L.valueMap && (Y = L.valueMap[String(Y)] ?? Y), !ir(Y);
|
|
5701
5702
|
});
|
|
5702
|
-
if (
|
|
5703
|
+
if (ir(r) && !a && e.placeholder !== void 0)
|
|
5703
5704
|
return ph.call(this, n, e, t);
|
|
5704
5705
|
const h = n.getRow(), {
|
|
5705
5706
|
align: c,
|
|
@@ -5711,13 +5712,13 @@ function fh(n, e, t) {
|
|
|
5711
5712
|
wrap: E
|
|
5712
5713
|
} = e, y = x`<cx-space class="tabulator-composite" style=${ft(p ?? {})} align-items=${c ?? "center"} ?block=${d} direction=${Z(u)} justify-content=${Z(w)} spacing=${f ?? "3x-small"} wrap=${E ?? "nowrap"}></cx-space>`, k = B(y), D = [];
|
|
5713
5714
|
return e.elements.forEach((L) => {
|
|
5714
|
-
const ge =
|
|
5715
|
+
const ge = sr({
|
|
5715
5716
|
cell: n,
|
|
5716
5717
|
elementConfig: L,
|
|
5717
5718
|
rowData: i,
|
|
5718
5719
|
separator: o
|
|
5719
5720
|
});
|
|
5720
|
-
if (
|
|
5721
|
+
if (tr({ elementConfig: L, elementValue: ge, rowData: i }))
|
|
5721
5722
|
return;
|
|
5722
5723
|
let Y = ge;
|
|
5723
5724
|
L.valueMap && (Y = L.valueMap[String(Y)] ?? Y);
|
|
@@ -5803,11 +5804,11 @@ function yh(n, e, t) {
|
|
|
5803
5804
|
return i.isDateTime(h) ? d = h : s === "iso" ? d = i.fromISO(String(h)) : d = i.fromFormat(String(h), s), d.isValid ? l ? d.diff(c, a).toHuman() + (r ? " " + r : "") : Number.parseInt(String(d.diff(c, a)[a]), 10) + (r ? " " + r : "") : o === !0 ? h : typeof o == "function" ? o(h) : o;
|
|
5804
5805
|
}
|
|
5805
5806
|
}
|
|
5806
|
-
function
|
|
5807
|
+
function or(n, e) {
|
|
5807
5808
|
return n == null ? "" : Array.isArray(n) ? n.join(e) : String(n);
|
|
5808
5809
|
}
|
|
5809
5810
|
function Ch(n, e) {
|
|
5810
|
-
const t = e ?? {}, i = t.arraySeparator ?? ", ", s = (c) => typeof c == "function" ? c(n) : c, o =
|
|
5811
|
+
const t = e ?? {}, i = t.arraySeparator ?? ", ", s = (c) => typeof c == "function" ? c(n) : c, o = or(s(t.newValue) ?? n.getValue(), i), r = or(s(t.oldValue) ?? "", i), a = Bo(r), l = Bo(o), h = a && l ? `${a} ${l}` : l || a;
|
|
5811
5812
|
return B(x`<cx-line-clamp lines="1" clamped-tooltip=${h}><cx-diff old-value=${r} new-value=${o}></cx-diff></cx-line-clamp>`);
|
|
5812
5813
|
}
|
|
5813
5814
|
function Eh(n, e, t) {
|
|
@@ -6067,7 +6068,7 @@ function Vh(n, e, t) {
|
|
|
6067
6068
|
}
|
|
6068
6069
|
return o && (o.style.whiteSpace = "nowrap", o.style.overflow = "hidden", o.style.textOverflow = "ellipsis"), s && s.setAttribute("aria-label", String(i)), a;
|
|
6069
6070
|
}
|
|
6070
|
-
const
|
|
6071
|
+
const rr = "cx-table-switch-change", Bh = x`<cx-switch></cx-switch>`;
|
|
6071
6072
|
function $h(n) {
|
|
6072
6073
|
const e = Object.prototype.hasOwnProperty.call(n, "onValue") ? n.onValue : !0;
|
|
6073
6074
|
return { offValue: Object.prototype.hasOwnProperty.call(n, "offValue") ? n.offValue : !1, onValue: e };
|
|
@@ -6075,11 +6076,11 @@ function $h(n) {
|
|
|
6075
6076
|
function Wh(n, e) {
|
|
6076
6077
|
const t = n.getTable().element, i = t.getRootNode(), s = i instanceof ShadowRoot ? i.host : null;
|
|
6077
6078
|
if (s && typeof s.emit == "function") {
|
|
6078
|
-
s.emit(
|
|
6079
|
+
s.emit(rr, { detail: e });
|
|
6079
6080
|
return;
|
|
6080
6081
|
}
|
|
6081
6082
|
t.dispatchEvent(
|
|
6082
|
-
new CustomEvent(
|
|
6083
|
+
new CustomEvent(rr, {
|
|
6083
6084
|
bubbles: !0,
|
|
6084
6085
|
composed: !0,
|
|
6085
6086
|
detail: e
|
|
@@ -6211,7 +6212,7 @@ function oc(n, e) {
|
|
|
6211
6212
|
return;
|
|
6212
6213
|
const i = e ?? {};
|
|
6213
6214
|
let s;
|
|
6214
|
-
i.getVariant && (s = i.getVariant(t)), !s && i.variantMap && (s = i.variantMap[t]), !s && i.variant && (s = i.variant), s ??=
|
|
6215
|
+
i.getVariant && (s = i.getVariant(t)), !s && i.variantMap && (s = i.variantMap[t]), !s && i.variant && (s = i.variant), s ??= En.Body1;
|
|
6215
6216
|
const o = x`<cx-line-clamp lines="1"><cx-typography style=${ft(i.style ?? {})}></cx-typography></cx-line-clamp>`, r = B(o), a = r.querySelector(
|
|
6216
6217
|
"cx-typography"
|
|
6217
6218
|
);
|
|
@@ -6219,7 +6220,7 @@ function oc(n, e) {
|
|
|
6219
6220
|
let l = String(t);
|
|
6220
6221
|
return i.prefix && (l = i.prefix + l), i.suffix && (l = l + i.suffix), a.textContent = l, r;
|
|
6221
6222
|
}
|
|
6222
|
-
const
|
|
6223
|
+
const on = {
|
|
6223
6224
|
adaptable: oh,
|
|
6224
6225
|
array: rh,
|
|
6225
6226
|
avatar: nh,
|
|
@@ -6253,7 +6254,7 @@ const rn = {
|
|
|
6253
6254
|
traffic: sc,
|
|
6254
6255
|
typography: oc
|
|
6255
6256
|
};
|
|
6256
|
-
ih(
|
|
6257
|
+
ih(on);
|
|
6257
6258
|
const Dt = class Dt extends I {
|
|
6258
6259
|
constructor(e) {
|
|
6259
6260
|
super(e), this.registerColumnOption("formatter"), this.registerColumnOption("formatterParams"), this.registerColumnOption("formatterPrint"), this.registerColumnOption("formatterPrintParams"), this.registerColumnOption("formatterClipboard"), this.registerColumnOption("formatterClipboardParams"), this.registerColumnOption("formatterHtmlOutput"), this.registerColumnOption("formatterHtmlOutputParams"), this.registerColumnOption("titleFormatter"), this.registerColumnOption("titleFormatterParams"), this.registerColumnOption("textFormatParams"), this.registerColumnOption("cellClass"), this.registerColumnOption("cellStyle");
|
|
@@ -6356,7 +6357,7 @@ const Dt = class Dt extends I {
|
|
|
6356
6357
|
return this.formatValue(e);
|
|
6357
6358
|
}
|
|
6358
6359
|
};
|
|
6359
|
-
Dt.moduleName = "format", Dt.formatters =
|
|
6360
|
+
Dt.moduleName = "format", Dt.formatters = on;
|
|
6360
6361
|
let Hi = Dt;
|
|
6361
6362
|
const ht = process.env.NODE_ENV === "development", rc = x`<cx-option></cx-option>`, nc = x`<cx-divider></cx-divider>`;
|
|
6362
6363
|
class ac {
|
|
@@ -6424,7 +6425,7 @@ class ac {
|
|
|
6424
6425
|
if (!e)
|
|
6425
6426
|
return null;
|
|
6426
6427
|
let t;
|
|
6427
|
-
return typeof e == "string" ? t =
|
|
6428
|
+
return typeof e == "string" ? t = Vo(e) : t = e, t && (t.slot = "prefix"), t;
|
|
6428
6429
|
}
|
|
6429
6430
|
_createSelectElement() {
|
|
6430
6431
|
const {
|
|
@@ -6520,7 +6521,7 @@ class ac {
|
|
|
6520
6521
|
}
|
|
6521
6522
|
async _ajaxRequest(e, t) {
|
|
6522
6523
|
const { ajaxResponse: i, filterRemote: s } = this.params, o = s ? { term: t } : {};
|
|
6523
|
-
e =
|
|
6524
|
+
e = Zr(e, {}, o);
|
|
6524
6525
|
let r = [];
|
|
6525
6526
|
try {
|
|
6526
6527
|
if (!this.fetchApi)
|
|
@@ -6743,7 +6744,7 @@ class ac {
|
|
|
6743
6744
|
i && typeof i == "object" && "nodeType" in i && i instanceof HTMLElement ? t.appendChild(i) : t.innerHTML = P(String(i || ""));
|
|
6744
6745
|
const s = this.params.fallbackOption?.prefix;
|
|
6745
6746
|
if (e.isFallbackOption && s) {
|
|
6746
|
-
const o =
|
|
6747
|
+
const o = Vo(
|
|
6747
6748
|
`<div style="display: inline-flex" slot="prefix">${P(s)}</div>`
|
|
6748
6749
|
);
|
|
6749
6750
|
o && t.prepend(o);
|
|
@@ -7248,7 +7249,7 @@ const lc = function(n, e, t, i, s) {
|
|
|
7248
7249
|
textarea: pc,
|
|
7249
7250
|
tickCross: fc,
|
|
7250
7251
|
time: gc
|
|
7251
|
-
}, Di = process.env.NODE_ENV === "development",
|
|
7252
|
+
}, Di = process.env.NODE_ENV === "development", rn = "tabulator-edit-list-trigger", wc = "tabulator-edit-list-trigger-caret", vc = x`<button aria-label="Open list editor" class=${rn} tabindex="-1" type="button"><cx-icon aria-hidden="true" class=${wc} name="arrow_drop_down"></cx-icon></button>`, mi = class mi extends I {
|
|
7252
7253
|
constructor(e) {
|
|
7253
7254
|
super(e), this.currentCell = !1, this.mouseClick = !1, this.recursionBlock = !1, this.invalidEdit = !1, this.editedCells = [], this.convertEmptyValues = !1, this.editors = mi.editors, this.registerTableOption("editTriggerEvent", "focus"), this.registerTableOption("editorEmptyValue"), this.registerTableOption(
|
|
7254
7255
|
"editorEmptyValueFunc",
|
|
@@ -7513,7 +7514,7 @@ const lc = function(n, e, t, i, s) {
|
|
|
7513
7514
|
if (e.column.definition.editor !== "list")
|
|
7514
7515
|
return;
|
|
7515
7516
|
const t = e.getElement(!0);
|
|
7516
|
-
if (!t || t.classList.contains("tabulator-editing") || t.querySelector(`.${
|
|
7517
|
+
if (!t || t.classList.contains("tabulator-editing") || t.querySelector(`.${rn}`))
|
|
7517
7518
|
return;
|
|
7518
7519
|
const i = B(
|
|
7519
7520
|
vc
|
|
@@ -7680,7 +7681,7 @@ class ts {
|
|
|
7680
7681
|
this.value = e, this.component = t, this.width = i ?? 1, this.height = s ?? 1, this.depth = o ?? 1;
|
|
7681
7682
|
}
|
|
7682
7683
|
}
|
|
7683
|
-
class
|
|
7684
|
+
class nr {
|
|
7684
7685
|
constructor(e, t, i, s) {
|
|
7685
7686
|
this.type = e, this.columns = t, this.component = i ?? !1, this.indent = s ?? 0;
|
|
7686
7687
|
}
|
|
@@ -7786,7 +7787,7 @@ const Ec = process.env.NODE_ENV === "development", Mt = class Mt extends I {
|
|
|
7786
7787
|
);
|
|
7787
7788
|
} else
|
|
7788
7789
|
a.push(null);
|
|
7789
|
-
}), s.push(new
|
|
7790
|
+
}), s.push(new nr("header", a));
|
|
7790
7791
|
}), s;
|
|
7791
7792
|
}
|
|
7792
7793
|
bodyToExportRows(e, t = []) {
|
|
@@ -7831,7 +7832,7 @@ const Ec = process.env.NODE_ENV === "development", Mt = class Mt extends I {
|
|
|
7831
7832
|
break;
|
|
7832
7833
|
}
|
|
7833
7834
|
i.push(
|
|
7834
|
-
new
|
|
7835
|
+
new nr(
|
|
7835
7836
|
r.type,
|
|
7836
7837
|
l,
|
|
7837
7838
|
r.getComponent(),
|
|
@@ -8143,7 +8144,7 @@ const Ec = process.env.NODE_ENV === "development", Mt = class Mt extends I {
|
|
|
8143
8144
|
};
|
|
8144
8145
|
Mt.moduleName = "export", Mt.columnLookups = yc, Mt.rowLookups = Cc;
|
|
8145
8146
|
let ks = Mt;
|
|
8146
|
-
const
|
|
8147
|
+
const ar = process.env.NODE_ENV === "development", xc = {
|
|
8147
8148
|
// not equal to
|
|
8148
8149
|
"!=": function(n, e, t, i) {
|
|
8149
8150
|
return e != n;
|
|
@@ -8174,7 +8175,7 @@ const lr = process.env.NODE_ENV === "development", xc = {
|
|
|
8174
8175
|
},
|
|
8175
8176
|
// in array
|
|
8176
8177
|
in: function(n, e, t, i) {
|
|
8177
|
-
return Array.isArray(n) ? n.length ? n.includes(e) : !0 : (
|
|
8178
|
+
return Array.isArray(n) ? n.length ? n.includes(e) : !0 : (ar && console.warn("Filter Error - filter value is not an array:", n), !1);
|
|
8178
8179
|
},
|
|
8179
8180
|
// contains the keywords
|
|
8180
8181
|
keywords: function(n, e, t, i) {
|
|
@@ -8198,7 +8199,7 @@ const lr = process.env.NODE_ENV === "development", xc = {
|
|
|
8198
8199
|
try {
|
|
8199
8200
|
return typeof n == "string" ? s = new RegExp(n) : s = n, s.test(String(e));
|
|
8200
8201
|
} catch {
|
|
8201
|
-
return
|
|
8202
|
+
return ar && console.warn("Filter Error - invalid regular expression:", n), !1;
|
|
8202
8203
|
}
|
|
8203
8204
|
},
|
|
8204
8205
|
// starts with the string
|
|
@@ -8222,10 +8223,10 @@ function Oe(n) {
|
|
|
8222
8223
|
return;
|
|
8223
8224
|
}
|
|
8224
8225
|
}
|
|
8225
|
-
const
|
|
8226
|
+
const nn = Symbol("skip-composite-element");
|
|
8226
8227
|
function kc(n, e, t, i, s) {
|
|
8227
8228
|
if (typeof n?.getValue == "function")
|
|
8228
|
-
return
|
|
8229
|
+
return nn;
|
|
8229
8230
|
if (n?.value !== void 0)
|
|
8230
8231
|
return n.value;
|
|
8231
8232
|
const o = n?.field;
|
|
@@ -8249,7 +8250,7 @@ function Dc(n, e) {
|
|
|
8249
8250
|
s,
|
|
8250
8251
|
o
|
|
8251
8252
|
);
|
|
8252
|
-
if (c ===
|
|
8253
|
+
if (c === nn)
|
|
8253
8254
|
continue;
|
|
8254
8255
|
let d = c;
|
|
8255
8256
|
const p = h?.valueMap;
|
|
@@ -8344,7 +8345,7 @@ function _c(n) {
|
|
|
8344
8345
|
return i.negativeSign === !0 ? (y = "(" + y + ")", [h ? y + l : l + y]) : [h ? p + y + l : p + l + y];
|
|
8345
8346
|
}
|
|
8346
8347
|
const is = /* @__PURE__ */ new WeakMap();
|
|
8347
|
-
function
|
|
8348
|
+
function lr(n) {
|
|
8348
8349
|
const e = {
|
|
8349
8350
|
style: n.type ?? "decimal",
|
|
8350
8351
|
useGrouping: !n.noGrouping
|
|
@@ -8363,10 +8364,10 @@ function hr(n) {
|
|
|
8363
8364
|
}
|
|
8364
8365
|
function Oc(n) {
|
|
8365
8366
|
if (!n || typeof n != "object")
|
|
8366
|
-
return Oe(() => new Intl.NumberFormat(void 0,
|
|
8367
|
+
return Oe(() => new Intl.NumberFormat(void 0, lr({}))) ?? null;
|
|
8367
8368
|
if (is.has(n))
|
|
8368
8369
|
return is.get(n) ?? null;
|
|
8369
|
-
const e = Oe(() => new Intl.NumberFormat(void 0,
|
|
8370
|
+
const e = Oe(() => new Intl.NumberFormat(void 0, lr(n))) ?? null;
|
|
8370
8371
|
return is.set(n, e), e;
|
|
8371
8372
|
}
|
|
8372
8373
|
function Ac(n) {
|
|
@@ -8382,36 +8383,36 @@ function Ac(n) {
|
|
|
8382
8383
|
const o = Oe(() => s.format(i));
|
|
8383
8384
|
return o ? [o] : [];
|
|
8384
8385
|
}
|
|
8385
|
-
function
|
|
8386
|
+
function an(n) {
|
|
8386
8387
|
return n?.dependencyRegistry?.lookup?.(
|
|
8387
8388
|
["luxon", "DateTime"],
|
|
8388
8389
|
"DateTime"
|
|
8389
8390
|
);
|
|
8390
8391
|
}
|
|
8391
|
-
function
|
|
8392
|
+
function ln(n, e, t) {
|
|
8392
8393
|
return n.isDateTime(e) ? e : t === "iso" ? n.fromISO(String(e)) : n.fromFormat(String(e), t);
|
|
8393
8394
|
}
|
|
8394
8395
|
function Oi(n, e) {
|
|
8395
8396
|
return typeof n == "string" && n.length > 0 && n !== e ? [n] : [];
|
|
8396
8397
|
}
|
|
8397
8398
|
function Pc(n) {
|
|
8398
|
-
const { formatterParams: e, rawValue: t, table: i } = n, s =
|
|
8399
|
+
const { formatterParams: e, rawValue: t, table: i } = n, s = an(i), o = e ?? {}, r = o.invalidPlaceholder ?? "";
|
|
8399
8400
|
if (!s)
|
|
8400
8401
|
return [];
|
|
8401
|
-
const a = o.inputFormat ?? "yyyy-MM-dd HH:mm:ss", l = o.outputFormat ?? "dd/MM/yyyy HH:mm:ss", h = Oe(() =>
|
|
8402
|
+
const a = o.inputFormat ?? "yyyy-MM-dd HH:mm:ss", l = o.outputFormat ?? "dd/MM/yyyy HH:mm:ss", h = Oe(() => ln(s, t, a));
|
|
8402
8403
|
if (!h?.isValid)
|
|
8403
8404
|
return Oi(r, t);
|
|
8404
8405
|
const c = o.timezone ? Oe(() => h.setZone(o.timezone)) ?? h : h, d = Oe(() => c.toFormat(l));
|
|
8405
8406
|
return d ? [d] : [];
|
|
8406
8407
|
}
|
|
8407
8408
|
function Ic(n) {
|
|
8408
|
-
const { formatterParams: e, rawValue: t, table: i } = n, s =
|
|
8409
|
+
const { formatterParams: e, rawValue: t, table: i } = n, s = an(i), o = e ?? {}, r = o.invalidPlaceholder ?? "";
|
|
8409
8410
|
if (!s)
|
|
8410
8411
|
return Oi(r, t);
|
|
8411
8412
|
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 ? Oe(() => s.now()) : o.date;
|
|
8412
8413
|
if (!d)
|
|
8413
8414
|
return Oi(r, t);
|
|
8414
|
-
const p = Oe(() =>
|
|
8415
|
+
const p = Oe(() => ln(s, t, a));
|
|
8415
8416
|
if (!p?.isValid)
|
|
8416
8417
|
return Oi(r, t);
|
|
8417
8418
|
const u = Oe(() => c ? p.diff(d, h).toHuman() + (l ? " " + l : "") : Number.parseInt(String(p.diff(d, h)[h]), 10) + (l ? " " + l : ""));
|
|
@@ -8424,21 +8425,21 @@ function Hc(n, e) {
|
|
|
8424
8425
|
const i = e?.prefix, s = e?.suffix;
|
|
8425
8426
|
return typeof i == "string" && i.length > 0 && (t = i + t), typeof s == "string" && s.length > 0 && (t = t + s), t;
|
|
8426
8427
|
}
|
|
8427
|
-
function
|
|
8428
|
+
function hn(n) {
|
|
8428
8429
|
const { formatterParams: e, rawValue: t } = n, i = Hc(t, e);
|
|
8429
8430
|
return i === void 0 || i === String(t) ? [] : [i];
|
|
8430
8431
|
}
|
|
8431
8432
|
function Nc(n) {
|
|
8432
|
-
return
|
|
8433
|
+
return hn(n);
|
|
8433
8434
|
}
|
|
8434
|
-
function
|
|
8435
|
+
function cn(n) {
|
|
8435
8436
|
if (typeof n.rawValue != "string" || !n.rawValue.includes("<"))
|
|
8436
8437
|
return [];
|
|
8437
8438
|
const e = Sc(n.rawValue);
|
|
8438
8439
|
return !e || e === n.rawValue ? [] : [e];
|
|
8439
8440
|
}
|
|
8440
8441
|
function Vc(n) {
|
|
8441
|
-
return
|
|
8442
|
+
return cn(n);
|
|
8442
8443
|
}
|
|
8443
8444
|
function Bc(n) {
|
|
8444
8445
|
const { formatterParams: e, rawValue: t } = n, i = e ?? {}, s = i.indent ?? " ", o = i.replacer ?? null, r = Oe(() => JSON.stringify(t, o, s));
|
|
@@ -8485,13 +8486,13 @@ const Wc = {
|
|
|
8485
8486
|
array: Fc,
|
|
8486
8487
|
datetime: Pc,
|
|
8487
8488
|
datetimediff: Ic,
|
|
8488
|
-
html:
|
|
8489
|
+
html: cn,
|
|
8489
8490
|
json: Bc,
|
|
8490
8491
|
link: zc,
|
|
8491
8492
|
lookup: Mc,
|
|
8492
8493
|
money: _c,
|
|
8493
8494
|
number: Ac,
|
|
8494
|
-
plaintext:
|
|
8495
|
+
plaintext: hn,
|
|
8495
8496
|
tag: Lc,
|
|
8496
8497
|
textarea: Vc,
|
|
8497
8498
|
typography: Nc
|
|
@@ -9316,7 +9317,10 @@ const Gc = process.env.NODE_ENV === "development", yo = class yo extends I {
|
|
|
9316
9317
|
}
|
|
9317
9318
|
}
|
|
9318
9319
|
adjustForScrollbar(e) {
|
|
9319
|
-
this.
|
|
9320
|
+
this.table.element?.style.setProperty(
|
|
9321
|
+
"--frozen-scrollbar-width",
|
|
9322
|
+
e + "px"
|
|
9323
|
+
), this.rightColumns.length && this.table.columnManager?.getContentsElement() && (this.table.columnManager.getContentsElement().style.width = "calc(100% - " + e + "px)");
|
|
9320
9324
|
}
|
|
9321
9325
|
getFrozenColumns() {
|
|
9322
9326
|
return this.leftColumns.concat(this.rightColumns);
|
|
@@ -9330,7 +9334,7 @@ const Gc = process.env.NODE_ENV === "development", yo = class yo extends I {
|
|
|
9330
9334
|
};
|
|
9331
9335
|
yo.moduleName = "frozenColumns";
|
|
9332
9336
|
let Ts = yo;
|
|
9333
|
-
const
|
|
9337
|
+
const hr = process.env.NODE_ENV === "development", Co = class Co extends I {
|
|
9334
9338
|
constructor(e) {
|
|
9335
9339
|
super(e), this.topElement = document.createElement("div"), this.rows = [], this.registerComponentFunction("row", "freeze", this.freezeRow.bind(this)), this.registerComponentFunction(
|
|
9336
9340
|
"row",
|
|
@@ -9395,11 +9399,11 @@ const cr = process.env.NODE_ENV === "development", Co = class Co extends I {
|
|
|
9395
9399
|
}
|
|
9396
9400
|
freezeRow(e) {
|
|
9397
9401
|
const t = e._getSelf ? e._getSelf() : e._row;
|
|
9398
|
-
t && (t.modules.frozen ?
|
|
9402
|
+
t && (t.modules.frozen ? hr && console.warn("Freeze Error - Row is already frozen") : (t.modules.frozen = !0, this.topElement.appendChild(t.getElement()), t.initialize(), t.normalizeHeight(), this.rows.push(t), this.refreshData(!1, "display"), this.table.rowManager?.adjustTableSize(), this.styleRows()));
|
|
9399
9403
|
}
|
|
9400
9404
|
unfreezeRow(e) {
|
|
9401
9405
|
const t = e._getSelf ? e._getSelf() : e._row;
|
|
9402
|
-
t && (t.modules.frozen ? (t.modules.frozen = !1, this.detachRow(t), this.table.rowManager?.adjustTableSize(), this.refreshData(!1, "display"), this.rows.length && this.styleRows()) :
|
|
9406
|
+
t && (t.modules.frozen ? (t.modules.frozen = !1, this.detachRow(t), this.table.rowManager?.adjustTableSize(), this.refreshData(!1, "display"), this.rows.length && this.styleRows()) : hr && console.warn("Freeze Error - Row is already unfrozen"));
|
|
9403
9407
|
}
|
|
9404
9408
|
detachRow(e) {
|
|
9405
9409
|
const t = this.rows.indexOf(e);
|
|
@@ -9545,7 +9549,7 @@ class Yt {
|
|
|
9545
9549
|
this.groups[t] && (delete this.groups[t], i = this.groupList.indexOf(e), i > -1 && this.groupList.splice(i, 1), this.groupList.length || (this.parent ? this.parent.removeGroup(this) : this.groupManager.removeGroup(this)));
|
|
9546
9550
|
}
|
|
9547
9551
|
getPathKey() {
|
|
9548
|
-
return
|
|
9552
|
+
return Qr(ho(this));
|
|
9549
9553
|
}
|
|
9550
9554
|
getLoadMoreState() {
|
|
9551
9555
|
return wl(
|
|
@@ -9797,7 +9801,7 @@ class Yt {
|
|
|
9797
9801
|
}
|
|
9798
9802
|
// ////////////// Object Generation /////////////////
|
|
9799
9803
|
getComponent() {
|
|
9800
|
-
return this.component ??= new
|
|
9804
|
+
return this.component ??= new en(this), this.component;
|
|
9801
9805
|
}
|
|
9802
9806
|
}
|
|
9803
9807
|
const ss = process.env.NODE_ENV === "development", Eo = class Eo extends I {
|
|
@@ -10292,7 +10296,7 @@ const Yc = {
|
|
|
10292
10296
|
actions: Qc,
|
|
10293
10297
|
bindings: ed
|
|
10294
10298
|
}
|
|
10295
|
-
},
|
|
10299
|
+
}, cr = process.env.NODE_ENV === "development", dt = class dt extends I {
|
|
10296
10300
|
constructor(e) {
|
|
10297
10301
|
super(e), this.history = [], this.index = -1, this.registerTableOption("history", !1);
|
|
10298
10302
|
}
|
|
@@ -10374,7 +10378,7 @@ const Yc = {
|
|
|
10374
10378
|
e.component.getComponent(),
|
|
10375
10379
|
e.data
|
|
10376
10380
|
), !0;
|
|
10377
|
-
} else
|
|
10381
|
+
} else cr && console.warn(
|
|
10378
10382
|
this.options("history") ? "History Undo Error - No more history to undo" : "History module not enabled"
|
|
10379
10383
|
);
|
|
10380
10384
|
return !1;
|
|
@@ -10390,7 +10394,7 @@ const Yc = {
|
|
|
10390
10394
|
e.component.getComponent(),
|
|
10391
10395
|
e.data
|
|
10392
10396
|
), !0;
|
|
10393
|
-
} else
|
|
10397
|
+
} else cr && console.warn(
|
|
10394
10398
|
this.options("history") ? "History Redo Error - No more history to redo" : "History module not enabled"
|
|
10395
10399
|
);
|
|
10396
10400
|
return !1;
|
|
@@ -10503,9 +10507,9 @@ v5.5.4
|
|
|
10503
10507
|
https://github.com/mholt/PapaParse
|
|
10504
10508
|
License: MIT
|
|
10505
10509
|
*/
|
|
10506
|
-
var od = Ai.exports,
|
|
10510
|
+
var od = Ai.exports, dr;
|
|
10507
10511
|
function rd() {
|
|
10508
|
-
return
|
|
10512
|
+
return dr || (dr = 1, function(n, e) {
|
|
10509
10513
|
((t, i) => {
|
|
10510
10514
|
n.exports = i();
|
|
10511
10515
|
})(od, function t() {
|
|
@@ -10933,13 +10937,13 @@ async function hd(n) {
|
|
|
10933
10937
|
throw ld && console.warn("JSON Import Error - File contents is invalid JSON", e), new Error("Invalid JSON format");
|
|
10934
10938
|
}
|
|
10935
10939
|
}
|
|
10936
|
-
const
|
|
10940
|
+
const ur = process.env.NODE_ENV === "development", cd = function(n) {
|
|
10937
10941
|
const t = this.dependencyRegistry.lookup("XLSX");
|
|
10938
10942
|
if (!t)
|
|
10939
|
-
return
|
|
10943
|
+
return ur && console.warn("XLSX library not found in dependency registry"), [];
|
|
10940
10944
|
const i = t.read(n);
|
|
10941
10945
|
if (!i.SheetNames || i.SheetNames.length === 0)
|
|
10942
|
-
return
|
|
10946
|
+
return ur && console.warn("XLSX workbook contains no sheets"), [];
|
|
10943
10947
|
const s = i.Sheets[i.SheetNames[0]];
|
|
10944
10948
|
return t.utils.sheet_to_json(s, { header: 1 });
|
|
10945
10949
|
}, dd = {
|
|
@@ -12433,7 +12437,7 @@ const To = class To extends I {
|
|
|
12433
12437
|
};
|
|
12434
12438
|
To.moduleName = "page";
|
|
12435
12439
|
let Ns = To;
|
|
12436
|
-
const
|
|
12440
|
+
const pr = process.env.NODE_ENV === "development", vd = {
|
|
12437
12441
|
cookie: function(n, e) {
|
|
12438
12442
|
let t = document.cookie;
|
|
12439
12443
|
const i = n + "-" + e, s = t.indexOf(i + "=");
|
|
@@ -12448,7 +12452,7 @@ const fr = process.env.NODE_ENV === "development", vd = {
|
|
|
12448
12452
|
try {
|
|
12449
12453
|
return JSON.parse(r);
|
|
12450
12454
|
} catch (a) {
|
|
12451
|
-
return
|
|
12455
|
+
return pr && console.error("Failed to parse cookie data:", a), !1;
|
|
12452
12456
|
}
|
|
12453
12457
|
},
|
|
12454
12458
|
local: function(n, e) {
|
|
@@ -12458,7 +12462,7 @@ const fr = process.env.NODE_ENV === "development", vd = {
|
|
|
12458
12462
|
try {
|
|
12459
12463
|
return JSON.parse(t);
|
|
12460
12464
|
} catch (i) {
|
|
12461
|
-
return
|
|
12465
|
+
return pr && console.error("Failed to parse localStorage data:", i), !1;
|
|
12462
12466
|
}
|
|
12463
12467
|
}
|
|
12464
12468
|
}, yd = {
|
|
@@ -12800,7 +12804,7 @@ const Do = class Do extends I {
|
|
|
12800
12804
|
};
|
|
12801
12805
|
Do.moduleName = "popup";
|
|
12802
12806
|
let Bs = Do;
|
|
12803
|
-
const
|
|
12807
|
+
const fr = process.env.NODE_ENV === "development", Mo = class Mo extends I {
|
|
12804
12808
|
constructor(e) {
|
|
12805
12809
|
super(e), this.element = !1, this.manualBlock = !1, this.beforeprintEventHandler = null, this.afterprintEventHandler = null, this.registerTableOption("printAsHtml", !1), this.registerTableOption("printFormatter", !1), this.registerTableOption("printHeader", !1), this.registerTableOption("printFooter", !1), this.registerTableOption("printStyled", !0), this.registerTableOption("printRowRange", "visible"), this.registerTableOption("printConfig", {}), this.registerColumnOption("print"), this.registerColumnOption("titlePrint");
|
|
12806
12810
|
}
|
|
@@ -12832,7 +12836,7 @@ const mr = process.env.NODE_ENV === "development", Mo = class Mo extends I {
|
|
|
12832
12836
|
if (!this.manualBlock) {
|
|
12833
12837
|
const e = this.table.modules.export;
|
|
12834
12838
|
if (!e || typeof e.generateTable != "function") {
|
|
12835
|
-
|
|
12839
|
+
fr && console.error(
|
|
12836
12840
|
"Print Error - Export module not available, cannot generate print table."
|
|
12837
12841
|
);
|
|
12838
12842
|
return;
|
|
@@ -12856,7 +12860,7 @@ const mr = process.env.NODE_ENV === "development", Mo = class Mo extends I {
|
|
|
12856
12860
|
printFullscreen(e, t, i) {
|
|
12857
12861
|
const s = window.scrollX, o = window.scrollY, r = document.createElement("div"), a = document.createElement("div"), l = this.table.modules.export;
|
|
12858
12862
|
if (!l || typeof l.generateTable != "function") {
|
|
12859
|
-
|
|
12863
|
+
fr && console.error(
|
|
12860
12864
|
"Print Error - Export module not available, cannot generate print table."
|
|
12861
12865
|
);
|
|
12862
12866
|
return;
|
|
@@ -13096,7 +13100,7 @@ const Lo = class Lo extends I {
|
|
|
13096
13100
|
return typeof e?.clientX == "number" ? e.clientX : e?.touches?.[0] ? e.touches[0].clientX : e?.changedTouches?.[0] ? e.changedTouches[0].clientX : null;
|
|
13097
13101
|
}
|
|
13098
13102
|
initializeEventWatchers() {
|
|
13099
|
-
this.initialized || (this.subscribe("cell-rendered", this.layoutCellHandles.bind(this)), this.subscribe("cell-delete", this.deInitializeComponent.bind(this)), this.subscribe("cell-height", this.resizeHandle.bind(this)), this.subscribe("column-moved", this.columnLayoutUpdated.bind(this)), this.subscribe("column-hide", this.deInitializeColumn.bind(this)), this.subscribe("column-show", this.columnLayoutUpdated.bind(this)), this.subscribe("column-width", this.columnWidthUpdated.bind(this)), this.subscribe("column-delete", this.deInitializeComponent.bind(this)), this.subscribe("column-height", this.resizeHandle.bind(this)), this.initialized = !0);
|
|
13103
|
+
this.initialized || (this.subscribe("cell-rendered", this.layoutCellHandles.bind(this)), this.subscribe("cell-delete", this.deInitializeComponent.bind(this)), this.subscribe("cell-height", this.resizeHandle.bind(this)), this.subscribe("column-moved", this.columnLayoutUpdated.bind(this)), this.subscribe("column-hide", this.deInitializeColumn.bind(this)), this.subscribe("column-show", this.columnLayoutUpdated.bind(this)), this.subscribe("column-width", this.columnWidthUpdated.bind(this)), this.subscribe("column-delete", this.deInitializeComponent.bind(this)), this.subscribe("column-height", this.resizeHandle.bind(this)), this.subscribe("layout-refreshed", this.repinFrozenHandles.bind(this)), this.subscribe("columns-loaded", this.repinFrozenHandles.bind(this)), this.subscribe("table-layout", this.repinFrozenHandles.bind(this)), this.subscribe("table-redraw", this.repinFrozenHandles.bind(this)), this.initialized = !0);
|
|
13100
13104
|
}
|
|
13101
13105
|
layoutCellHandles(e) {
|
|
13102
13106
|
e.row.type === "row" && e.element && (this.deInitializeComponent(e), this.initializeColumn("cell", e, e.column, e.element));
|
|
@@ -13133,24 +13137,62 @@ const Lo = class Lo extends I {
|
|
|
13133
13137
|
}
|
|
13134
13138
|
return !1;
|
|
13135
13139
|
}
|
|
13140
|
+
pinHandle(e, t, i) {
|
|
13141
|
+
const s = t.modules.frozen;
|
|
13142
|
+
if (typeof s?.marginValue != "number") {
|
|
13143
|
+
e.style.position = "", e.style.left = "", e.style.right = "";
|
|
13144
|
+
return;
|
|
13145
|
+
}
|
|
13146
|
+
const r = (this.table.rtl ? !i : i) ? "right" : "left", a = s.marginValue + t.getWidth() - 3 + "px";
|
|
13147
|
+
e.style.position === "sticky" && e.style[r] === a || (e.style.position = "sticky", e.style[r === "right" ? "left" : "right"] = "", e.style[r] = a);
|
|
13148
|
+
}
|
|
13149
|
+
repinFrozenHandles() {
|
|
13150
|
+
const e = this.table.modules.frozenColumns;
|
|
13151
|
+
if (!e?.active)
|
|
13152
|
+
return;
|
|
13153
|
+
const t = [
|
|
13154
|
+
...e.leftColumns ?? [],
|
|
13155
|
+
...e.rightColumns ?? []
|
|
13156
|
+
].filter((s) => !s.hidden).map((s) => ({ column: s, isPinnedEnd: this.isPinnedEnd(s) }));
|
|
13157
|
+
if (!t.length)
|
|
13158
|
+
return;
|
|
13159
|
+
t.forEach(({ column: s, isPinnedEnd: o }) => {
|
|
13160
|
+
s.modules.resize?.handleEl && this.pinHandle(s.modules.resize.handleEl, s, o);
|
|
13161
|
+
}), (this.table.rowManager?.getVisibleRows(!0) ?? []).forEach((s) => {
|
|
13162
|
+
s.type === "row" && t.forEach(({ column: o, isPinnedEnd: r }) => {
|
|
13163
|
+
const a = s.getCell(o);
|
|
13164
|
+
a && a.modules.resize?.handleEl && this.pinHandle(a.modules.resize.handleEl, o, r);
|
|
13165
|
+
});
|
|
13166
|
+
});
|
|
13167
|
+
}
|
|
13136
13168
|
/**
|
|
13137
13169
|
* The in-flow handle goes right after the element it resizes — except for an end-pinned column,
|
|
13138
13170
|
* whose right edge is the table edge: its handle goes before the element, onto the freeze
|
|
13139
13171
|
* divider (drag deltas invert to match, see `resize`). Callers resolve `isPinnedEnd` once.
|
|
13140
13172
|
*/
|
|
13141
|
-
attachHandle(e, t, i) {
|
|
13142
|
-
|
|
13173
|
+
attachHandle(e, t, i, s) {
|
|
13174
|
+
s ? (t.classList.add("tabulator-col-resize-handle-pinned-end"), e.before(t)) : (t.classList.remove("tabulator-col-resize-handle-pinned-end"), e.after(t)), this.pinHandle(t, i, s);
|
|
13143
13175
|
}
|
|
13144
13176
|
/**
|
|
13145
|
-
* Re-inserts handles next to the element they resize
|
|
13146
|
-
*
|
|
13147
|
-
*
|
|
13177
|
+
* Re-inserts handles next to the element they resize and re-pins the frozen ones. Runs off
|
|
13178
|
+
* `column-width`, which `FrozenColumns` subscribes to first (in `initialize()`, whereas this
|
|
13179
|
+
* module subscribes lazily from `column-rendered`), so the margins read here are already current.
|
|
13148
13180
|
*/
|
|
13149
13181
|
reinitializeColumn(e) {
|
|
13150
13182
|
const t = this.isPinnedEnd(e);
|
|
13151
13183
|
e.cells.forEach((i) => {
|
|
13152
|
-
i.modules.resize && i.modules.resize.handleEl && i.element && this.attachHandle(
|
|
13153
|
-
|
|
13184
|
+
i.modules.resize && i.modules.resize.handleEl && i.element && this.attachHandle(
|
|
13185
|
+
i.element,
|
|
13186
|
+
i.modules.resize.handleEl,
|
|
13187
|
+
e,
|
|
13188
|
+
t
|
|
13189
|
+
);
|
|
13190
|
+
}), e.modules.resize && e.modules.resize.handleEl && e.element && this.attachHandle(
|
|
13191
|
+
e.element,
|
|
13192
|
+
e.modules.resize.handleEl,
|
|
13193
|
+
e,
|
|
13194
|
+
t
|
|
13195
|
+
);
|
|
13154
13196
|
}
|
|
13155
13197
|
initializeColumn(e, t, i, s) {
|
|
13156
13198
|
let o = !1;
|
|
@@ -13170,7 +13212,12 @@ const Lo = class Lo extends I {
|
|
|
13170
13212
|
c.addEventListener("mousedown", d), c.addEventListener("touchstart", d, { passive: !0 }), c.addEventListener("dblclick", async (p) => {
|
|
13171
13213
|
const u = l.getWidth();
|
|
13172
13214
|
p.stopPropagation(), await l.reinitializeWidth(!0), u !== l.getWidth() && (this.dispatch("column-resized", l), this.dispatchExternal("columnResized", l.getComponent()));
|
|
13173
|
-
}), a.handleEl = c, s.parentNode && !i.hidden && this.attachHandle(
|
|
13215
|
+
}), a.handleEl = c, s.parentNode && !i.hidden && this.attachHandle(
|
|
13216
|
+
s,
|
|
13217
|
+
c,
|
|
13218
|
+
l,
|
|
13219
|
+
this.isPinnedEnd(l)
|
|
13220
|
+
);
|
|
13174
13221
|
}
|
|
13175
13222
|
t.modules.resize = a;
|
|
13176
13223
|
}
|
|
@@ -13610,7 +13657,7 @@ const Sd = {
|
|
|
13610
13657
|
rowSelection: Rd
|
|
13611
13658
|
}
|
|
13612
13659
|
}
|
|
13613
|
-
},
|
|
13660
|
+
}, mr = process.env.NODE_ENV === "development", $i = class $i extends I {
|
|
13614
13661
|
// hold header select element (cx-checkbox)
|
|
13615
13662
|
constructor(e) {
|
|
13616
13663
|
super(e), this.selecting = !1, this.lastClickedRow = !1, this.selectPrev = [], this.selectedRows = [], this.headerCheckboxElement = null, this.registerTableOption("selectableRows", "highlight"), this.registerTableOption("selectableRowsRangeMode", "drag"), this.registerTableOption("selectableRowsRollingSelection", !0), this.registerTableOption("selectableRowsPersistence", !0), this.registerTableOption(
|
|
@@ -13747,7 +13794,7 @@ const Sd = {
|
|
|
13747
13794
|
if (o) {
|
|
13748
13795
|
if (this.selectedRows.indexOf(o) === -1)
|
|
13749
13796
|
return o.getElement().classList.add("tabulator-selected"), o.modules.select || (o.modules.select = {}), o.modules.select.selected = !0, o.modules.select.checkboxEl && (o.modules.select.checkboxEl.checked = !0), this.selectedRows.push(o), this.table.options.dataTreeSelectPropagate && this.childRowSelection(o, !0), this.dispatchExternal("rowSelected", o.getComponent()), this._rowSelectionChanged(t, [o], []), o;
|
|
13750
|
-
} else !t &&
|
|
13797
|
+
} else !t && mr && console.warn(
|
|
13751
13798
|
"Selection Error - No such row found, ignoring selection:" + e
|
|
13752
13799
|
);
|
|
13753
13800
|
return !1;
|
|
@@ -13784,7 +13831,7 @@ const Sd = {
|
|
|
13784
13831
|
if (i) {
|
|
13785
13832
|
if (s = this.selectedRows.findIndex((r) => r === i), s > -1)
|
|
13786
13833
|
return o = i.getElement(), o && o.classList.remove("tabulator-selected"), i.modules.select || (i.modules.select = {}), i.modules.select.selected = !1, i.modules.select.checkboxEl && (i.modules.select.checkboxEl.checked = !1), this.selectedRows.splice(s, 1), this.table.options.dataTreeSelectPropagate && this.childRowSelection(i, !1), this.dispatchExternal("rowDeselected", i.getComponent()), this._rowSelectionChanged(t, [], [i]), i;
|
|
13787
|
-
} else !t &&
|
|
13834
|
+
} else !t && mr && console.warn(
|
|
13788
13835
|
"Deselection Error - No such row found, ignoring selection:" + e
|
|
13789
13836
|
);
|
|
13790
13837
|
return !1;
|
|
@@ -14014,7 +14061,7 @@ class Od {
|
|
|
14014
14061
|
this._range.destroyedGuard("remove") && this._range.destroy(!0);
|
|
14015
14062
|
}
|
|
14016
14063
|
}
|
|
14017
|
-
const
|
|
14064
|
+
const gr = process.env.NODE_ENV === "development";
|
|
14018
14065
|
class Ad extends Me {
|
|
14019
14066
|
constructor(e, t, i, s) {
|
|
14020
14067
|
super(e), this.rangeManager = t, this.element = null, this.initialized = !1, this.initializing = {
|
|
@@ -14145,7 +14192,7 @@ class Ad extends Me {
|
|
|
14145
14192
|
end: null,
|
|
14146
14193
|
start: null
|
|
14147
14194
|
};
|
|
14148
|
-
return t.length ? (i.start = t[0], i.end = t.at(-1)) :
|
|
14195
|
+
return t.length ? (i.start = t[0], i.end = t.at(-1)) : gr && console.warn("No bounds defined on range"), i;
|
|
14149
14196
|
}
|
|
14150
14197
|
getComponent() {
|
|
14151
14198
|
return this.component ??= new Od(this), this.component;
|
|
@@ -14154,7 +14201,7 @@ class Ad extends Me {
|
|
|
14154
14201
|
this.destroyed = !0, this.element && this.element.remove(), e && this.rangeManager.rangeRemoved(this), this.initialized && this.dispatchExternal("rangeRemoved", this.getComponent());
|
|
14155
14202
|
}
|
|
14156
14203
|
destroyedGuard(e) {
|
|
14157
|
-
return this.destroyed &&
|
|
14204
|
+
return this.destroyed && gr && console.warn(
|
|
14158
14205
|
"You cannot call the " + e + " function on a destroyed range"
|
|
14159
14206
|
), !this.destroyed;
|
|
14160
14207
|
}
|
|
@@ -14883,7 +14930,7 @@ const Ud = {
|
|
|
14883
14930
|
number: Wd,
|
|
14884
14931
|
string: jd,
|
|
14885
14932
|
time: Gd
|
|
14886
|
-
},
|
|
14933
|
+
}, br = process.env.NODE_ENV === "development", Kd = {
|
|
14887
14934
|
asc: "ascending",
|
|
14888
14935
|
desc: "descending",
|
|
14889
14936
|
none: "none"
|
|
@@ -14922,7 +14969,7 @@ const Ud = {
|
|
|
14922
14969
|
let t = !1, i, s;
|
|
14923
14970
|
switch (typeof e.definition.sorter) {
|
|
14924
14971
|
case "string":
|
|
14925
|
-
e.definition.sorter && Gt.sorters[e.definition.sorter] ? t = Gt.sorters[e.definition.sorter] :
|
|
14972
|
+
e.definition.sorter && Gt.sorters[e.definition.sorter] ? t = Gt.sorters[e.definition.sorter] : br && console.warn(
|
|
14926
14973
|
"Sort Error - No such sorter found: ",
|
|
14927
14974
|
e.definition.sorter
|
|
14928
14975
|
);
|
|
@@ -15026,7 +15073,7 @@ const Ud = {
|
|
|
15026
15073
|
column: o,
|
|
15027
15074
|
dir: a
|
|
15028
15075
|
}), this.changed = !0;
|
|
15029
|
-
} else
|
|
15076
|
+
} else br && console.warn(
|
|
15030
15077
|
"Sort Warning - Sort field does not exist and is being ignored: ",
|
|
15031
15078
|
s.column
|
|
15032
15079
|
);
|
|
@@ -15175,7 +15222,7 @@ class qd {
|
|
|
15175
15222
|
this.columnCount = e;
|
|
15176
15223
|
}
|
|
15177
15224
|
}
|
|
15178
|
-
class
|
|
15225
|
+
class dn {
|
|
15179
15226
|
constructor(e) {
|
|
15180
15227
|
return this._sheet = e, new Proxy(this, {
|
|
15181
15228
|
get: function(t, i) {
|
|
@@ -15224,7 +15271,7 @@ class un {
|
|
|
15224
15271
|
return this._sheet.setColumns(e);
|
|
15225
15272
|
}
|
|
15226
15273
|
}
|
|
15227
|
-
class
|
|
15274
|
+
class wr extends Me {
|
|
15228
15275
|
constructor(e, t) {
|
|
15229
15276
|
super(e.table), this.spreadsheetManager = e, this.definition = t, this.title = this.definition.title || "", this.key = this.definition.key || this.definition.title || "", this.rowCount = this.definition.rows, this.columnCount = this.definition.columns, this.data = this.definition.data || [], this.element = null, this.isActive = !1, this.grid = new qd(this.columnCount, this.rowCount), this.defaultColumnDefinition = {
|
|
15230
15277
|
headerHozAlign: "center",
|
|
@@ -15281,7 +15328,7 @@ class vr extends Me {
|
|
|
15281
15328
|
}
|
|
15282
15329
|
// #region Helper Functions
|
|
15283
15330
|
getComponent() {
|
|
15284
|
-
return new
|
|
15331
|
+
return new dn(this);
|
|
15285
15332
|
}
|
|
15286
15333
|
getDefinition() {
|
|
15287
15334
|
return {
|
|
@@ -15418,7 +15465,7 @@ Data: `,
|
|
|
15418
15465
|
columns: this.options("spreadsheetColumns") || 50,
|
|
15419
15466
|
rows: this.options("spreadsheetRows") || 50,
|
|
15420
15467
|
...e
|
|
15421
|
-
}, i = new
|
|
15468
|
+
}, i = new wr(this, t);
|
|
15422
15469
|
return this.sheets.push(i), this.element && i.element && this.element.appendChild(i.element), i;
|
|
15423
15470
|
}
|
|
15424
15471
|
removeSheet(e) {
|
|
@@ -15427,7 +15474,7 @@ Data: `,
|
|
|
15427
15474
|
this.sheets.length > 1 ? t > -1 && (this.sheets.splice(t, 1), e.destroy(), this.activeSheet === e && (i = this.sheets[t - 1] || this.sheets[0], i ? this.loadSheet(i) : this.activeSheet = null)) : Rt && console.warn("Unable to remove sheet, at least one sheet must be active");
|
|
15428
15475
|
}
|
|
15429
15476
|
lookupSheet(e) {
|
|
15430
|
-
return e ? e instanceof
|
|
15477
|
+
return e ? e instanceof wr ? e : e instanceof dn ? e._sheet : this.sheets.find((t) => t.key === e) ?? null : this.activeSheet;
|
|
15431
15478
|
}
|
|
15432
15479
|
/**
|
|
15433
15480
|
* Public Functions
|
|
@@ -15544,7 +15591,7 @@ let Ys = Ao;
|
|
|
15544
15591
|
function Re(n) {
|
|
15545
15592
|
return n === "" || n === null || n === void 0;
|
|
15546
15593
|
}
|
|
15547
|
-
function
|
|
15594
|
+
function vr(n) {
|
|
15548
15595
|
return Number.isFinite(Number(n));
|
|
15549
15596
|
}
|
|
15550
15597
|
function os(n, e) {
|
|
@@ -15591,7 +15638,7 @@ function Zd(n, e) {
|
|
|
15591
15638
|
const h = new Date(i, s - 1, o, r, a, l);
|
|
15592
15639
|
return h.getFullYear() === i && h.getMonth() === s - 1 && h.getDate() === o;
|
|
15593
15640
|
}
|
|
15594
|
-
const
|
|
15641
|
+
const un = {
|
|
15595
15642
|
// must be alphanumeric
|
|
15596
15643
|
alphanumeric(n) {
|
|
15597
15644
|
return Re(n) ? !0 : /^[a-z0-9]+$/i.test(String(n));
|
|
@@ -15633,7 +15680,7 @@ const pn = {
|
|
|
15633
15680
|
if (Re(n))
|
|
15634
15681
|
return !0;
|
|
15635
15682
|
const t = Number(n);
|
|
15636
|
-
return
|
|
15683
|
+
return vr(n) && t % 1 !== 0 && os(n, e);
|
|
15637
15684
|
},
|
|
15638
15685
|
// in provided value list
|
|
15639
15686
|
in(n, e) {
|
|
@@ -15647,7 +15694,7 @@ const pn = {
|
|
|
15647
15694
|
if (Re(n))
|
|
15648
15695
|
return !0;
|
|
15649
15696
|
const t = Number(n);
|
|
15650
|
-
return
|
|
15697
|
+
return vr(n) && Math.floor(t) === t && os(n, e);
|
|
15651
15698
|
},
|
|
15652
15699
|
// maximum value (legacy standalone rule; prefer numeric/integer { max })
|
|
15653
15700
|
max(n, e) {
|
|
@@ -15709,7 +15756,7 @@ const pn = {
|
|
|
15709
15756
|
};
|
|
15710
15757
|
function ze(n) {
|
|
15711
15758
|
return function(e, t, i) {
|
|
15712
|
-
return
|
|
15759
|
+
return un[n](t, i);
|
|
15713
15760
|
};
|
|
15714
15761
|
}
|
|
15715
15762
|
const Qd = {
|
|
@@ -15736,7 +15783,7 @@ const Qd = {
|
|
|
15736
15783
|
return this.table.rowManager?.rows.forEach((r) => {
|
|
15737
15784
|
const a = r.getData();
|
|
15738
15785
|
a !== i && o.push(s.getFieldValue(a));
|
|
15739
|
-
}),
|
|
15786
|
+
}), un.unique(e, t, { columnValues: o });
|
|
15740
15787
|
}
|
|
15741
15788
|
};
|
|
15742
15789
|
function eu(n) {
|
|
@@ -15750,7 +15797,7 @@ function eu(n) {
|
|
|
15750
15797
|
const tu = "cx-validation-request", iu = "cx-validation-response";
|
|
15751
15798
|
let St, su = 0;
|
|
15752
15799
|
const xi = /* @__PURE__ */ new Map();
|
|
15753
|
-
function
|
|
15800
|
+
function yr() {
|
|
15754
15801
|
xi.forEach(
|
|
15755
15802
|
(n) => n.reject(new Error("Validation worker failed"))
|
|
15756
15803
|
), xi.clear(), St?.terminate(), St = void 0;
|
|
@@ -15761,9 +15808,9 @@ function ou() {
|
|
|
15761
15808
|
return;
|
|
15762
15809
|
const { done: e, id: t, results: i } = n.data.payload, s = xi.get(t);
|
|
15763
15810
|
s && (s.accumulatedResults.push(...i), s.onChunk?.(i), e && (xi.delete(t), s.resolve(s.accumulatedResults)));
|
|
15764
|
-
}), St.addEventListener("error",
|
|
15811
|
+
}), St.addEventListener("error", yr), St.addEventListener("messageerror", yr)), St;
|
|
15765
15812
|
}
|
|
15766
|
-
function
|
|
15813
|
+
function pn(n, e) {
|
|
15767
15814
|
return new Promise((t, i) => {
|
|
15768
15815
|
let s;
|
|
15769
15816
|
try {
|
|
@@ -15781,9 +15828,9 @@ function fn(n, e) {
|
|
|
15781
15828
|
}), s.postMessage({ payload: { fields: n, id: o }, type: tu });
|
|
15782
15829
|
});
|
|
15783
15830
|
}
|
|
15784
|
-
const
|
|
15831
|
+
const Cr = process.env.NODE_ENV === "development", Er = 2e3, xr = 1e3, Zt = "data-validation-message", wi = class wi extends I {
|
|
15785
15832
|
constructor(e) {
|
|
15786
|
-
super(e), this.invalidState = /* @__PURE__ */ new Map(), this.mutateOnValidateColumns = /* @__PURE__ */ new Set(), this.validationGeneration = 0, this.suppressValidationChanged = !1, this.registerTableOption("validationMode", "blocking"), this.registerTableOption("validateOnLoad", !1), this.registerTableOption("validationWorkerThreshold",
|
|
15833
|
+
super(e), this.invalidState = /* @__PURE__ */ new Map(), this.mutateOnValidateColumns = /* @__PURE__ */ new Set(), this.validationGeneration = 0, this.suppressValidationChanged = !1, this.registerTableOption("validationMode", "blocking"), this.registerTableOption("validateOnLoad", !1), this.registerTableOption("validationWorkerThreshold", Er), this.registerColumnOption("validator"), this.registerColumnOption("mutateOnValidate"), this.registerTableFunction(
|
|
15787
15834
|
"getInvalidCells",
|
|
15788
15835
|
this.getInvalidCells.bind(this)
|
|
15789
15836
|
), this.registerTableFunction(
|
|
@@ -15883,7 +15930,7 @@ const Er = process.env.NODE_ENV === "development", xr = 2e3, Rr = 1e3, Zt = "dat
|
|
|
15883
15930
|
this.validationGeneration++;
|
|
15884
15931
|
const e = this.invalidState.size > 0;
|
|
15885
15932
|
this.invalidState.clear(), this.table.options.validateOnLoad ? this.validateAsync().catch((t) => {
|
|
15886
|
-
|
|
15933
|
+
Cr && console.warn("Validate-on-load failed:", t);
|
|
15887
15934
|
}) : e && this.dispatchValidationChanged();
|
|
15888
15935
|
}
|
|
15889
15936
|
// /////////////////////////////////
|
|
@@ -15947,7 +15994,7 @@ const Er = process.env.NODE_ENV === "development", xr = 2e3, Rr = 1e3, Zt = "dat
|
|
|
15947
15994
|
* chunks). Superseded runs (new validation or data reload) are discarded.
|
|
15948
15995
|
*/
|
|
15949
15996
|
async validateAsync() {
|
|
15950
|
-
const e = ++this.validationGeneration, t = this.table.rowManager ? [...this.table.rowManager.rows] : [], i = this.table.options.validationWorkerThreshold ??
|
|
15997
|
+
const e = ++this.validationGeneration, t = this.table.rowManager ? [...this.table.rowManager.rows] : [], i = this.table.options.validationWorkerThreshold ?? Er;
|
|
15951
15998
|
if (this.runSuppressed(() => {
|
|
15952
15999
|
this.invalidCells.forEach((a) => this.clearValidation(a));
|
|
15953
16000
|
}), this.invalidState.clear(), i === !1 || t.length <= i)
|
|
@@ -16009,7 +16056,7 @@ const Er = process.env.NODE_ENV === "development", xr = 2e3, Rr = 1e3, Zt = "dat
|
|
|
16009
16056
|
message: i,
|
|
16010
16057
|
params: t,
|
|
16011
16058
|
type: typeof e == "function" ? "function" : e
|
|
16012
|
-
} : (
|
|
16059
|
+
} : (Cr && console.warn(
|
|
16013
16060
|
"Validator Setup Error - No matching validator found:",
|
|
16014
16061
|
e
|
|
16015
16062
|
), !1);
|
|
@@ -16087,7 +16134,7 @@ const Er = process.env.NODE_ENV === "development", xr = 2e3, Rr = 1e3, Zt = "dat
|
|
|
16087
16134
|
})),
|
|
16088
16135
|
values: t.map((r) => o.getFieldValue(r.data))
|
|
16089
16136
|
}));
|
|
16090
|
-
await
|
|
16137
|
+
await pn(s, (o) => {
|
|
16091
16138
|
i === this.validationGeneration && this.applyWorkerResults(o, t, e);
|
|
16092
16139
|
});
|
|
16093
16140
|
}
|
|
@@ -16110,10 +16157,10 @@ const Er = process.env.NODE_ENV === "development", xr = 2e3, Rr = 1e3, Zt = "dat
|
|
|
16110
16157
|
* responsive.
|
|
16111
16158
|
*/
|
|
16112
16159
|
async validateColumnsOnMainThread(e, t, i) {
|
|
16113
|
-
for (let s = 0; s < t.length && e.length; s +=
|
|
16160
|
+
for (let s = 0; s < t.length && e.length; s += xr) {
|
|
16114
16161
|
if (i !== this.validationGeneration)
|
|
16115
16162
|
return;
|
|
16116
|
-
const o = Math.min(s +
|
|
16163
|
+
const o = Math.min(s + xr, t.length);
|
|
16117
16164
|
this.runSuppressed(() => {
|
|
16118
16165
|
for (let r = s; r < o; r++) {
|
|
16119
16166
|
const a = t[r];
|
|
@@ -16534,7 +16581,7 @@ class nu extends Ji {
|
|
|
16534
16581
|
}
|
|
16535
16582
|
}
|
|
16536
16583
|
const au = process.env.NODE_ENV === "development";
|
|
16537
|
-
class
|
|
16584
|
+
class fn {
|
|
16538
16585
|
constructor(e, t, i = {}) {
|
|
16539
16586
|
this.registeredDefaults = {}, this.table = e, this.msgType = t, this.registeredDefaults = { ...i };
|
|
16540
16587
|
}
|
|
@@ -16551,13 +16598,13 @@ class mn {
|
|
|
16551
16598
|
return i;
|
|
16552
16599
|
}
|
|
16553
16600
|
}
|
|
16554
|
-
const
|
|
16601
|
+
const Rr = process.env.NODE_ENV === "development";
|
|
16555
16602
|
class lu extends Me {
|
|
16556
16603
|
constructor(e) {
|
|
16557
|
-
super(e), this.blockHozScrollEvent = !1, this.headersElement = null, this.contentsElement = null, this.rowHeader = null, this.columns = [], this.columnsByIndex = [], this.columnsByField = {}, this.scrollLeft = 0, this.optionsList = new
|
|
16604
|
+
super(e), this.blockHozScrollEvent = !1, this.headersElement = null, this.contentsElement = null, this.rowHeader = null, this.columns = [], this.columnsByIndex = [], this.columnsByField = {}, this.scrollLeft = 0, this.optionsList = new fn(
|
|
16558
16605
|
this.table,
|
|
16559
16606
|
"column definition",
|
|
16560
|
-
|
|
16607
|
+
tn
|
|
16561
16608
|
), this.redrawBlock = !1, this.redrawBlockUpdate = null, this.renderer = null;
|
|
16562
16609
|
}
|
|
16563
16610
|
// //////////// Setup Functions /////////////////
|
|
@@ -16584,7 +16631,7 @@ class lu extends Me {
|
|
|
16584
16631
|
basic: ru,
|
|
16585
16632
|
virtual: nu
|
|
16586
16633
|
};
|
|
16587
|
-
typeof this.table.options.renderHorizontal == "string" ? e = t[this.table.options.renderHorizontal] : e = this.table.options.renderHorizontal, e ? (this.renderer = new e(this.table), this.renderer.initialize()) :
|
|
16634
|
+
typeof this.table.options.renderHorizontal == "string" ? e = t[this.table.options.renderHorizontal] : e = this.table.options.renderHorizontal, e ? (this.renderer = new e(this.table), this.renderer.initialize()) : Rr && console.error(
|
|
16588
16635
|
"Unable to find matching renderer:",
|
|
16589
16636
|
this.table.options.renderHorizontal
|
|
16590
16637
|
);
|
|
@@ -16861,7 +16908,7 @@ class lu extends Me {
|
|
|
16861
16908
|
return;
|
|
16862
16909
|
}
|
|
16863
16910
|
if (e.hidden)
|
|
16864
|
-
|
|
16911
|
+
Rr && console.warn("Scroll Error - Column not visible"), o("Scroll Error - Column not visible");
|
|
16865
16912
|
else {
|
|
16866
16913
|
let r = 0;
|
|
16867
16914
|
const a = e.getLeftOffset();
|
|
@@ -17401,10 +17448,23 @@ class fu extends Me {
|
|
|
17401
17448
|
this.initializePlaceholder(), this.initializeRenderer(), this.element.appendChild(this.tableElement), this.firstRender = !0, this.element.addEventListener("scroll", () => {
|
|
17402
17449
|
const e = this.element.scrollLeft, t = this.scrollLeft > e, i = this.element.scrollTop, s = this.scrollTop > i;
|
|
17403
17450
|
this.scrollLeft != e && (this.scrollLeft = e, this.dispatch("scroll-horizontal", e, t), this.dispatchExternal("scrollHorizontal", e, t), this._positionPlaceholder()), this.scrollTop != i && (this.scrollTop = i, this.renderer?.scrollRows(i, s), this.dispatch("scroll-vertical", i, s), this.dispatchExternal("scrollVertical", i, s));
|
|
17404
|
-
}), this.subscribe("table-initialized", () => {
|
|
17451
|
+
}), this.initializeWheelWatcher(), this.subscribe("table-initialized", () => {
|
|
17405
17452
|
this.table.destroyed || this.syncPlaceholderInitializationState();
|
|
17406
17453
|
}), this.subscribe("column-show", this.checkPlaceholder.bind(this)), this.subscribe("column-hide", this.checkPlaceholder.bind(this)), this.subscribe("columns-loaded", this.checkPlaceholder.bind(this)), this.subscribe("table-destroy", this.disconnectHeaderWidthObserver.bind(this));
|
|
17407
17454
|
}
|
|
17455
|
+
initializeWheelWatcher() {
|
|
17456
|
+
this.element.addEventListener(
|
|
17457
|
+
"wheel",
|
|
17458
|
+
(e) => {
|
|
17459
|
+
const t = e.deltaMode === WheelEvent.DOM_DELTA_LINE ? 40 : 1, i = (e.deltaX || (e.shiftKey ? e.deltaY : 0)) * t;
|
|
17460
|
+
if (!i || e.ctrlKey)
|
|
17461
|
+
return;
|
|
17462
|
+
const s = this.element.scrollLeft;
|
|
17463
|
+
this.element.scrollLeft = s + i, this.element.scrollLeft !== s && (e.preventDefault(), !e.shiftKey && e.deltaY && (this.element.scrollTop += e.deltaY * t));
|
|
17464
|
+
},
|
|
17465
|
+
{ passive: !1 }
|
|
17466
|
+
);
|
|
17467
|
+
}
|
|
17408
17468
|
/**
|
|
17409
17469
|
* IRow Manipulation
|
|
17410
17470
|
*/
|
|
@@ -17963,13 +18023,13 @@ class mu extends Me {
|
|
|
17963
18023
|
this.dispatch("alert-hide", this.type), this.element.parentNode && this.element.parentNode.removeChild(this.element), this.element.classList.remove(this._typeClass()), this.msgElement.classList.remove(this._typeClass()), this.type = null;
|
|
17964
18024
|
}
|
|
17965
18025
|
}
|
|
17966
|
-
const
|
|
18026
|
+
const Sr = process.env.NODE_ENV === "development";
|
|
17967
18027
|
class gu {
|
|
17968
18028
|
constructor(e) {
|
|
17969
18029
|
this.bindings = {}, this.table = e;
|
|
17970
18030
|
}
|
|
17971
18031
|
bind(e, t, i) {
|
|
17972
|
-
this.bindings[e] || (this.bindings[e] = {}), this.bindings[e][t] ?
|
|
18032
|
+
this.bindings[e] || (this.bindings[e] = {}), this.bindings[e][t] ? Sr && console.warn(
|
|
17973
18033
|
"Unable to bind component handler, a matching function name is already bound",
|
|
17974
18034
|
e,
|
|
17975
18035
|
t,
|
|
@@ -17980,7 +18040,7 @@ class gu {
|
|
|
17980
18040
|
if (typeof i == "string") {
|
|
17981
18041
|
if (this.bindings[e]?.[i] && typeof this.bindings[e][i].bind == "function")
|
|
17982
18042
|
return this.bindings[e][i].bind(null, t);
|
|
17983
|
-
|
|
18043
|
+
Sr && i !== "then" && !i.startsWith("_") && this.table.options.debugInvalidComponentFuncs && console.error(
|
|
17984
18044
|
"The " + e + " component does not have a " + i + " function, have you checked that you have the correct Tabulator module installed?"
|
|
17985
18045
|
);
|
|
17986
18046
|
}
|
|
@@ -18570,7 +18630,7 @@ function Su(n) {
|
|
|
18570
18630
|
async function ku(n, e) {
|
|
18571
18631
|
e && this.table.columnManager?.renderer && await this.table.columnManager.renderer.reinitializeColumnWidths(n), this.table.options.responsiveLayout && this.table.modExists("responsiveLayout", !0) && this.table.modules.responsiveLayout.update();
|
|
18572
18632
|
}
|
|
18573
|
-
async function
|
|
18633
|
+
async function kr(n) {
|
|
18574
18634
|
for (const e of n)
|
|
18575
18635
|
await e.reinitializeWidth();
|
|
18576
18636
|
this.table.options.responsiveLayout && this.table.modExists("responsiveLayout", !0) && this.table.modules.responsiveLayout.update();
|
|
@@ -18591,9 +18651,9 @@ async function Tu(n) {
|
|
|
18591
18651
|
const Du = {
|
|
18592
18652
|
fitColumns: Su,
|
|
18593
18653
|
fitData: ku,
|
|
18594
|
-
fitDataFill:
|
|
18654
|
+
fitDataFill: kr,
|
|
18595
18655
|
fitDataStretch: Tu,
|
|
18596
|
-
fitDataTable:
|
|
18656
|
+
fitDataTable: kr
|
|
18597
18657
|
}, Mu = process.env.NODE_ENV === "development", Ut = class Ut extends I {
|
|
18598
18658
|
constructor(e) {
|
|
18599
18659
|
super(e), this.mode = null, this.registerTableOption("layout", "fitData"), this.registerTableOption("layoutColumnsOnNewData", !1), this.registerColumnOption("widthGrow"), this.registerColumnOption("widthShrink");
|
|
@@ -18663,7 +18723,7 @@ const Fu = {
|
|
|
18663
18723
|
prev_title: "Prev Page"
|
|
18664
18724
|
}
|
|
18665
18725
|
}
|
|
18666
|
-
},
|
|
18726
|
+
}, Tr = process.env.NODE_ENV === "development", vi = class vi extends I {
|
|
18667
18727
|
constructor(e) {
|
|
18668
18728
|
super(e), this.locale = "default", this.lang = !1, this.bindings = {}, this.langList = {}, this.registerTableOption("locale", !1), this.registerTableOption("langs", {});
|
|
18669
18729
|
}
|
|
@@ -18697,11 +18757,11 @@ const Fu = {
|
|
|
18697
18757
|
};
|
|
18698
18758
|
if (t && !this.langList[t]) {
|
|
18699
18759
|
const s = t.split("-")[0];
|
|
18700
|
-
this.langList[s] ? (
|
|
18760
|
+
this.langList[s] ? (Tr && console.warn(
|
|
18701
18761
|
"Localization Error - Exact matching locale not found, using closest match: ",
|
|
18702
18762
|
t,
|
|
18703
18763
|
s
|
|
18704
|
-
), t = s) : (
|
|
18764
|
+
), t = s) : (Tr && console.warn(
|
|
18705
18765
|
"Localization Error - Matching locale not found, using default: ",
|
|
18706
18766
|
t
|
|
18707
18767
|
), t = "default");
|
|
@@ -18745,7 +18805,7 @@ const Fu = {
|
|
|
18745
18805
|
};
|
|
18746
18806
|
vi.moduleName = "localize", vi.langs = Fu;
|
|
18747
18807
|
let to = vi;
|
|
18748
|
-
const
|
|
18808
|
+
const Dr = process.env.NODE_ENV === "development", Po = class Po extends I {
|
|
18749
18809
|
constructor(e) {
|
|
18750
18810
|
super(e);
|
|
18751
18811
|
}
|
|
@@ -18762,7 +18822,7 @@ const Mr = process.env.NODE_ENV === "development", Po = class Po extends I {
|
|
|
18762
18822
|
const o = this.getConnections(e);
|
|
18763
18823
|
o.forEach((r) => {
|
|
18764
18824
|
r.tableComms(this.table.element, t, i, s);
|
|
18765
|
-
}), !o.length && e &&
|
|
18825
|
+
}), !o.length && e && Dr && console.warn(
|
|
18766
18826
|
"Table Connection Error - No tables matching selector found",
|
|
18767
18827
|
e
|
|
18768
18828
|
);
|
|
@@ -18770,7 +18830,7 @@ const Mr = process.env.NODE_ENV === "development", Po = class Po extends I {
|
|
|
18770
18830
|
receive(e, t, i, s) {
|
|
18771
18831
|
if (this.table.modExists(t))
|
|
18772
18832
|
return this.table.modules[t]?.commsReceived?.(e, i, s);
|
|
18773
|
-
|
|
18833
|
+
Dr && console.warn("Inter-table Comms Error - no such module:", t);
|
|
18774
18834
|
}
|
|
18775
18835
|
};
|
|
18776
18836
|
Po.moduleName = "comms";
|
|
@@ -18908,7 +18968,7 @@ const le = process.env.NODE_ENV === "development", yt = class yt extends oo {
|
|
|
18908
18968
|
yt.initializeModuleBinder(), yt._registerModule(...e);
|
|
18909
18969
|
}
|
|
18910
18970
|
constructor(e, t, i) {
|
|
18911
|
-
super(), yt.initializeModuleBinder(i), this.options = {}, this.columnManager = null, this.rowManager = null, this.footerManager = null, this.alertManager = null, this.vdomHoz = null, this.externalEvents = null, this.eventBus = null, this.interactionMonitor = !1, this.browser = "", this.browserSlow = !1, this.browserMobile = !1, this.rtl = !1, this.originalElement = null, this.componentFunctionBinder = new gu(this), this.dataLoader = null, this.modules = {}, this.modulesCore = [], this.modulesRegular = [], this.deprecationAdvisor = new yu(this), this.optionsList = new
|
|
18971
|
+
super(), yt.initializeModuleBinder(i), this.options = {}, this.columnManager = null, this.rowManager = null, this.footerManager = null, this.alertManager = null, this.vdomHoz = null, this.externalEvents = null, this.eventBus = null, this.interactionMonitor = !1, this.browser = "", this.browserSlow = !1, this.browserMobile = !1, this.rtl = !1, this.originalElement = null, this.componentFunctionBinder = new gu(this), this.dataLoader = null, this.modules = {}, this.modulesCore = [], this.modulesRegular = [], this.deprecationAdvisor = new yu(this), this.optionsList = new fn(this, "table constructor"), this.dependencyRegistry = new wu(this), this.initialized = !1, this.destroyed = !1, this.initializeElement(e) && (this.initializeCoreSystems(t), setTimeout(() => {
|
|
18912
18972
|
this._create();
|
|
18913
18973
|
})), this.constructor.registry.register(this);
|
|
18914
18974
|
}
|
|
@@ -19313,7 +19373,7 @@ class _u extends Lt {
|
|
|
19313
19373
|
// #endregion
|
|
19314
19374
|
}
|
|
19315
19375
|
var _t = /* @__PURE__ */ ((n) => (n.Multiple = "multiple", n.Single = "single", n))(_t || {}), rt = /* @__PURE__ */ ((n) => (n.Checkbox = "checkbox", n.DatePicker = "date-picker", n.DateRange = "date-range", n))(rt || {}), Pi = /* @__PURE__ */ ((n) => (n.Checkbox = "checkbox", n.DatePicker = "datePicker", n.DateRangePicker = "dateRangePicker", n))(Pi || {}), Ii = /* @__PURE__ */ ((n) => (n.ShowPreset = "showPreset", n.ShowTime = "showTime", n))(Ii || {});
|
|
19316
|
-
class
|
|
19376
|
+
class mn {
|
|
19317
19377
|
#e;
|
|
19318
19378
|
#i;
|
|
19319
19379
|
#s = /* @__PURE__ */ new Set();
|
|
@@ -19384,11 +19444,11 @@ function Ou(n, e) {
|
|
|
19384
19444
|
}
|
|
19385
19445
|
function Au(n, e) {
|
|
19386
19446
|
const t = n.facetDetails;
|
|
19387
|
-
return x`<cx-facet-date-picker field=${t.facetFieldName} display-name=${t.displayName} display-format=${Z(t.displayFormat)} value=${e.dateRange?.fromDate ?? ""} from-time=${e.dateRange?.fromTime ??
|
|
19447
|
+
return x`<cx-facet-date-picker field=${t.facetFieldName} display-name=${t.displayName} display-format=${Z(t.displayFormat)} value=${e.dateRange?.fromDate ?? ""} from-time=${e.dateRange?.fromTime ?? Ur} min=${t.min ?? ""} max=${t.max ?? ""} ?show-time=${t.showTime ?? !1}></cx-facet-date-picker>`;
|
|
19388
19448
|
}
|
|
19389
19449
|
function Pu(n, e) {
|
|
19390
19450
|
const t = n.facetDetails;
|
|
19391
|
-
return x`<cx-facet-date-range field=${t.facetFieldName} display-name=${t.displayName} display-format=${Z(t.displayFormat)} from-date=${e.dateRange?.fromDate ?? ""} to-date=${e.dateRange?.toDate ?? ""} from-time=${e.dateRange?.fromTime ??
|
|
19451
|
+
return x`<cx-facet-date-range field=${t.facetFieldName} display-name=${t.displayName} display-format=${Z(t.displayFormat)} from-date=${e.dateRange?.fromDate ?? ""} to-date=${e.dateRange?.toDate ?? ""} from-time=${e.dateRange?.fromTime ?? Ur} to-time=${e.dateRange?.toTime ?? sa} preset=${e.dateRange?.preset ?? ""} min=${t.min ?? ""} max=${t.max ?? ""} ?show-time=${t.showTime ?? !1} ?show-preset=${t.showPreset ?? !1}></cx-facet-date-range>`;
|
|
19392
19452
|
}
|
|
19393
19453
|
const Iu = {
|
|
19394
19454
|
[rt.Checkbox]: Ou,
|
|
@@ -19402,7 +19462,7 @@ var Nu = Object.defineProperty, Vu = Object.getOwnPropertyDescriptor, ye = (n, e
|
|
|
19402
19462
|
};
|
|
19403
19463
|
let he = class extends Pe {
|
|
19404
19464
|
constructor() {
|
|
19405
|
-
super(...arguments), this.localize = new tt(this), this.shadowRootAutoloader = new
|
|
19465
|
+
super(...arguments), this.localize = new tt(this), this.shadowRootAutoloader = new mn(
|
|
19406
19466
|
this
|
|
19407
19467
|
), 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();
|
|
19408
19468
|
}
|
|
@@ -19550,7 +19610,7 @@ let he = class extends Pe {
|
|
|
19550
19610
|
*/
|
|
19551
19611
|
getDateFacetPattern(n) {
|
|
19552
19612
|
const e = n && "displayFormat" in n ? n.displayFormat : void 0;
|
|
19553
|
-
return oa(e ??
|
|
19613
|
+
return oa(e ?? Kr.DdMmYyyy);
|
|
19554
19614
|
}
|
|
19555
19615
|
formatDateRangeDisplay(n, e) {
|
|
19556
19616
|
const t = (i, s) => {
|
|
@@ -19632,7 +19692,7 @@ he.dependencies = {
|
|
|
19632
19692
|
"cx-icon": gt,
|
|
19633
19693
|
"cx-icon-button": oi,
|
|
19634
19694
|
"cx-space": Ri,
|
|
19635
|
-
"cx-spinner":
|
|
19695
|
+
"cx-spinner": qr,
|
|
19636
19696
|
"cx-tag": ua,
|
|
19637
19697
|
"cx-tooltip": Pt
|
|
19638
19698
|
};
|
|
@@ -19695,7 +19755,7 @@ ye([
|
|
|
19695
19755
|
he = ye([
|
|
19696
19756
|
Ie("cx-faceted-filter")
|
|
19697
19757
|
], he);
|
|
19698
|
-
const Bu = new Set(Object.values(
|
|
19758
|
+
const Bu = new Set(Object.values(Kr));
|
|
19699
19759
|
class $u {
|
|
19700
19760
|
constructor(e) {
|
|
19701
19761
|
this.facets = [], this.availableFacets = [], this.host = e, e.addController(this);
|
|
@@ -19733,13 +19793,13 @@ function Wu(n) {
|
|
|
19733
19793
|
selection: ju(h),
|
|
19734
19794
|
type: rt.Checkbox
|
|
19735
19795
|
}) : l === Pi.DatePicker ? e.set(r, {
|
|
19736
|
-
displayFormat:
|
|
19796
|
+
displayFormat: Mr(h),
|
|
19737
19797
|
displayName: a,
|
|
19738
19798
|
facetFieldName: r,
|
|
19739
19799
|
showTime: h.includes(Ii.ShowTime),
|
|
19740
19800
|
type: rt.DatePicker
|
|
19741
19801
|
}) : l === Pi.DateRangePicker && e.set(r, {
|
|
19742
|
-
displayFormat:
|
|
19802
|
+
displayFormat: Mr(h),
|
|
19743
19803
|
displayName: a,
|
|
19744
19804
|
facetFieldName: r,
|
|
19745
19805
|
showPreset: h.includes(Ii.ShowPreset),
|
|
@@ -19752,7 +19812,7 @@ function Wu(n) {
|
|
|
19752
19812
|
function ju(n) {
|
|
19753
19813
|
return n.includes(_t.Multiple) ? _t.Multiple : _t.Single;
|
|
19754
19814
|
}
|
|
19755
|
-
function
|
|
19815
|
+
function Mr(n) {
|
|
19756
19816
|
return n.find((e) => Bu.has(e));
|
|
19757
19817
|
}
|
|
19758
19818
|
function Gu(n, e) {
|
|
@@ -20176,7 +20236,7 @@ class qu {
|
|
|
20176
20236
|
)?.formatterParams?.disabled;
|
|
20177
20237
|
}
|
|
20178
20238
|
}
|
|
20179
|
-
const Xu = 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)}`, Ju = 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}`, Yu = 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}`, Zu = 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)}`, Qu = 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}`, ep = 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)}`, tp = 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}`, ip = 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}`, sp = 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}`, op = 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)}`, rp = 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}`, np = 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}`, ap = 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)}`, lp = 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}`, hp = 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)}`, cp = 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)}`, dp = 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)}`, up = 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)}`, pp = 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}`, fp = 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}`, mp = 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}`, gp = 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}`, bp = 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)}`, wp = 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)}`, vp = [
|
|
20239
|
+
const Xu = 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)}`, Ju = 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);border-inline:var(--border-width) solid transparent;flex-direction:column;line-height:normal;display:flex;position:relative;overflow:hidden}.tabulator.tabulator-overflow-x{border-inline-color: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:fit-content;max-width:100%;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;min-width:0;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}`, Yu = 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}`, Zu = 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)}`, Qu = 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}`, ep = 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)}`, tp = 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}`, ip = 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}`, sp = q`.tabulator:has(.tabulator-frozen) .tabulator-tableholder-wrapper:before,.tabulator:has(.tabulator-frozen) .tabulator-header: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) + var(--frozen-scrollbar-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}.tabulator:has(.tabulator-frozen) .tabulator-tableholder::-webkit-scrollbar-track:horizontal{margin-left:var(--frozen-left-width,0px);margin-right:var(--frozen-right-width,0px)}.tabulator.tabulator-rtl:has(.tabulator-frozen) .tabulator-tableholder::-webkit-scrollbar-track:horizontal{margin-left:var(--frozen-right-width,0px);margin-right:var(--frozen-left-width,0px)}.tabulator:has(.tabulator-frozen)>.os-scrollbar-horizontal{margin-left:var(--frozen-left-width,0px);margin-right:var(--frozen-right-width,0px)}.tabulator.tabulator-rtl:has(.tabulator-frozen)>.os-scrollbar-horizontal{margin-left:var(--frozen-right-width,0px);margin-right:var(--frozen-left-width,0px)}`, op = 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)}`, rp = 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:fit-content;max-width:100%;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:100%;position:relative;overflow:hidden}.tabulator .tabulator-header: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}`, np = 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}`, ap = 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)}`, lp = 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}.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}`, hp = 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)}`, cp = 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: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)}`, dp = 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)}`, up = 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)}`, pp = 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}`, fp = 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}`, mp = 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}`, gp = 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}`, bp = 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)}`, wp = 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)}`, vp = [
|
|
20180
20240
|
Ju,
|
|
20181
20241
|
lp,
|
|
20182
20242
|
rp,
|
|
@@ -20269,7 +20329,7 @@ function Rp(n, e) {
|
|
|
20269
20329
|
x`<cx-icon name=${t} aria-hidden="true"></cx-icon>`
|
|
20270
20330
|
);
|
|
20271
20331
|
}
|
|
20272
|
-
function
|
|
20332
|
+
function Fr(n, e, t, i = 500) {
|
|
20273
20333
|
return new Promise((s, o) => {
|
|
20274
20334
|
if (!Number.isInteger(i) || i < 1) {
|
|
20275
20335
|
o(new RangeError("chunkSize must be a positive integer"));
|
|
@@ -20306,19 +20366,19 @@ function Lr(n, e, t, i = 500) {
|
|
|
20306
20366
|
});
|
|
20307
20367
|
});
|
|
20308
20368
|
}
|
|
20309
|
-
async function
|
|
20369
|
+
async function Lr(n, e, t, i = 500, s = "") {
|
|
20310
20370
|
if (!Number.isInteger(i) || i < 1)
|
|
20311
20371
|
throw new RangeError("chunkSize must be a positive integer");
|
|
20312
|
-
const { columns: o, rows: r } =
|
|
20372
|
+
const { columns: o, rows: r } = wn(n, s);
|
|
20313
20373
|
e(o);
|
|
20314
20374
|
for (let a = 0; a < r.length; a += i)
|
|
20315
20375
|
await t(r.slice(a, a + i));
|
|
20316
20376
|
return r.length;
|
|
20317
20377
|
}
|
|
20318
|
-
async function
|
|
20378
|
+
async function zr(n, e, t, i = 500, s = "") {
|
|
20319
20379
|
if (!Number.isInteger(i) || i < 1)
|
|
20320
20380
|
throw new RangeError("chunkSize must be a positive integer");
|
|
20321
|
-
const o = JSON.parse(n), { columns: r, rows: a } =
|
|
20381
|
+
const o = JSON.parse(n), { columns: r, rows: a } = bn(o, s);
|
|
20322
20382
|
e(r);
|
|
20323
20383
|
for (let l = 0; l < a.length; l += i)
|
|
20324
20384
|
await t(a.slice(l, l + i));
|
|
@@ -20327,16 +20387,16 @@ async function _r(n, e, t, i = 500, s = "") {
|
|
|
20327
20387
|
function hs(n) {
|
|
20328
20388
|
return typeof n == "object" && n !== null && !Array.isArray(n);
|
|
20329
20389
|
}
|
|
20330
|
-
function
|
|
20390
|
+
function gn(n) {
|
|
20331
20391
|
return n.split(/[./]/).filter((e) => e.length > 0);
|
|
20332
20392
|
}
|
|
20333
20393
|
function Sp(n, e) {
|
|
20334
|
-
return
|
|
20394
|
+
return gn(e).reduce((t, i) => {
|
|
20335
20395
|
if (!(t === null || typeof t != "object"))
|
|
20336
20396
|
return t[i];
|
|
20337
20397
|
}, n);
|
|
20338
20398
|
}
|
|
20339
|
-
function
|
|
20399
|
+
function bn(n, e = "") {
|
|
20340
20400
|
if (e) {
|
|
20341
20401
|
const i = Sp(n, e);
|
|
20342
20402
|
if (!Array.isArray(i))
|
|
@@ -20391,39 +20451,39 @@ function Tp(n) {
|
|
|
20391
20451
|
return kp(e.data);
|
|
20392
20452
|
}
|
|
20393
20453
|
function Dp(n) {
|
|
20394
|
-
const e = JSON.parse(n), { columns: t, rows: i } =
|
|
20454
|
+
const e = JSON.parse(n), { columns: t, rows: i } = bn(e);
|
|
20395
20455
|
return { columns: t, data: i };
|
|
20396
20456
|
}
|
|
20397
20457
|
function Mp(n) {
|
|
20398
|
-
const { columns: e, rows: t } =
|
|
20458
|
+
const { columns: e, rows: t } = wn(n);
|
|
20399
20459
|
return { columns: e, data: t };
|
|
20400
20460
|
}
|
|
20401
20461
|
function Fp(n, e) {
|
|
20402
|
-
const t =
|
|
20462
|
+
const t = gn(e).reduce((i, s) => i ? /^\d+$/.test(s) ? i.children[Number(s)] ?? null : ro(i, s) : null, n);
|
|
20403
20463
|
if (!t)
|
|
20404
20464
|
throw new Error(`Data path "${e}" did not resolve to an element`);
|
|
20405
20465
|
return t;
|
|
20406
20466
|
}
|
|
20407
|
-
function
|
|
20467
|
+
function wn(n, e = "") {
|
|
20408
20468
|
const t = new DOMParser().parseFromString(n, "text/xml"), i = t.querySelector("parsererror");
|
|
20409
20469
|
if (i)
|
|
20410
20470
|
throw new Error(`XML parse error: ${i.textContent?.trim() ?? "unknown error"}`);
|
|
20411
20471
|
const s = t.documentElement;
|
|
20412
20472
|
if (e)
|
|
20413
|
-
return
|
|
20473
|
+
return _r(Array.from(Fp(s, e).children));
|
|
20414
20474
|
const o = ro(s, "columns"), r = ro(s, "rows");
|
|
20415
20475
|
if (o && r) {
|
|
20416
20476
|
const a = Array.from(o.children).map((h) => ({
|
|
20417
20477
|
field: h.getAttribute("field") ?? h.tagName,
|
|
20418
20478
|
title: h.getAttribute("title") ?? h.getAttribute("field") ?? h.tagName
|
|
20419
20479
|
})), l = Array.from(r.children).map(
|
|
20420
|
-
(h) =>
|
|
20480
|
+
(h) => vn(h, a.map((c) => c.field).filter((c) => c !== void 0))
|
|
20421
20481
|
);
|
|
20422
20482
|
return { columns: a, rows: l };
|
|
20423
20483
|
}
|
|
20424
|
-
return
|
|
20484
|
+
return _r(Array.from(s.children));
|
|
20425
20485
|
}
|
|
20426
|
-
function
|
|
20486
|
+
function _r(n) {
|
|
20427
20487
|
if (n.length === 0)
|
|
20428
20488
|
return { columns: [], rows: [] };
|
|
20429
20489
|
const e = /* @__PURE__ */ new Set(), t = [];
|
|
@@ -20432,7 +20492,7 @@ function Or(n) {
|
|
|
20432
20492
|
e.has(r.tagName) || (e.add(r.tagName), t.push(r.tagName));
|
|
20433
20493
|
if (t.length === 0)
|
|
20434
20494
|
return { columns: [], rows: [] };
|
|
20435
|
-
const i = t.map((o) => ({ field: o, title: o })), s = n.map((o) =>
|
|
20495
|
+
const i = t.map((o) => ({ field: o, title: o })), s = n.map((o) => vn(o, t));
|
|
20436
20496
|
return { columns: i, rows: s };
|
|
20437
20497
|
}
|
|
20438
20498
|
function ro(n, e) {
|
|
@@ -20454,7 +20514,7 @@ function Lp(n) {
|
|
|
20454
20514
|
const t = Number(e);
|
|
20455
20515
|
return !Number.isNaN(t) && Number.isFinite(t) ? t : n;
|
|
20456
20516
|
}
|
|
20457
|
-
function
|
|
20517
|
+
function vn(n, e) {
|
|
20458
20518
|
const t = /* @__PURE__ */ new Map();
|
|
20459
20519
|
for (const i of Array.from(n.children))
|
|
20460
20520
|
t.set(i.tagName, Lp(i.textContent ?? ""));
|
|
@@ -20477,26 +20537,26 @@ function zp(n, e) {
|
|
|
20477
20537
|
function _p(n, e, t) {
|
|
20478
20538
|
return n !== ve.Auto ? n : zp(e, t);
|
|
20479
20539
|
}
|
|
20480
|
-
var Op = Object.defineProperty, Ap = Object.getOwnPropertyDescriptor,
|
|
20540
|
+
var Op = Object.defineProperty, Ap = Object.getOwnPropertyDescriptor, yn = (n) => {
|
|
20481
20541
|
throw TypeError(n);
|
|
20482
20542
|
}, v = (n, e, t, i) => {
|
|
20483
20543
|
for (var s = i > 1 ? void 0 : i ? Ap(e, t) : e, o = n.length - 1, r; o >= 0; o--)
|
|
20484
20544
|
(r = n[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
|
|
20485
20545
|
return i && s && Op(e, t, s), s;
|
|
20486
|
-
}, Pp = (n, e, t) => e.has(n) ||
|
|
20546
|
+
}, Pp = (n, e, t) => e.has(n) || yn("Cannot " + t), Ip = (n, e, t) => (Pp(n, e, "read from private field"), t ? t.call(n) : e.get(n)), Hp = (n, e, t) => e.has(n) ? yn("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(n) : e.set(n, t), no, Cn;
|
|
20487
20547
|
let g = class extends Pe {
|
|
20488
20548
|
constructor() {
|
|
20489
|
-
super(), Hp(this, no), this.localize = new tt(this), this.hasSlotController = new
|
|
20549
|
+
super(), Hp(this, no), this.localize = new tt(this), this.hasSlotController = new Gr(this, "add-action"), this.osInstance = null, this.resizeObserver = null, this.overflowObserver = null, this.ajaxFacetsController = new $u(this), this.filterController = new Ku(this), this.ajaxFacetFilterController = new Uu(this, this.filterController), this.selectAllController = new qu(this), this.shadowRootAutoloader = new mn(
|
|
20490
20550
|
this
|
|
20491
20551
|
), this.validationTooltipAnchor = null, this.validationTooltipHidePromise = null, this.movableRows = !1, this.movableColumns = !1, this.data = void 0, this.rowHeight = 48, this.layout = "fitColumns", this.columns = [], this.footerElement = void 0, this.responsiveLayout = !1, this.responsiveLayoutCollapseFormatter = void 0, this.responsiveLayoutCollapseUseFormatters = void 0, this.rowHeader = void 0, this.noHeader = !1, this.textDirection = void 0, this.responsiveLayoutCollapseStartOpen = void 0, this.renderVerticalBuffer = void 0, this.renderVertical = "virtual", this.validateOnLoad = !1, this.validationWorkerThreshold = void 0, this.columnDefaults = {}, this.headerContextMenu = !1, this.canSearch = !1, this.noAdvancedSearch = !1, this.showSavedSearch = !1, this.searchFields = [], this.searchMatchAnyKeyword = !1, this.canAdd = !1, this.addLabel = this.localize.term("add"), this.canExportCsv = !1, this.canExportXml = !1, this.canExportPdf = !1, this.canExportCustom = !1, this.canSaveReport = !1, this.savedSearchURL = "", this.savedSearchItems = [], this.savedSearchPageSizeParam = "PageSize", this.savedSearchPageSize = 10, this.savedSearchPageNumberParam = "PageNumber", this.dropdownFilters = [], this.groupByOptions = [], this.ajaxURL = void 0, this.ajaxMethod = "GET", this.ajaxURLGenerator = void 0, this.ajaxParams = void 0, this.ajaxResponse = void 0, this.facetConfig = void 0, this.additionalAppliedFilters = [], this.dataSendParams = void 0, this.dataReceiveParams = void 0, this.noAutoResize = !1, this.resizableRows = !1, this.resizableColumnFit = !1, this.resizableColumnGuide = !1, this.resizableRowGuide = !1, this.frozenRows = void 0, this.frozenRowsField = "id", this.placeholder = this.localize.term("noData"), this.groupBy = void 0, this.groupHeader = void 0, this.groupHeaderCount = !1, this.groupHeaderUseFormatter = !1, this.groupIndent = 36, this.groupHeaderPrint = void 0, this.groupHeaderClipboard = void 0, this.groupHeaderDownload = void 0, this.groupHeaderHtmlOutput = void 0, this.groupStartOpen = !1, this.groupStartOpenValues = void 0, this.groupToggleElement = "arrow", this.groupValues = [], this.groupUpdateOnCellEdit = !1, this.groupLoadMoreMeta = {}, this.dataTree = !1, this.dataTreeChildField = "_children", this.dataTreeLoadingField = "loading", this.dataTreeHasMoreField = "hasMore", this.dataTreeFilter = !1, this.dataTreeSort = !1, this.dataTreeElementColumn = void 0, this.dataTreeChildIndent = 9, this.dataTreeStartExpanded = !1, this.dataTreeSelectPropagate = !1, this.dataTreeExpandElement = void 0, this.dataTreeCollapseElement = void 0, this.spreadsheet = !1, this.spreadsheetColumns = 50, this.spreadsheetRows = 50, this.spreadsheetColumnDefinition = void 0, this.spreadsheetOutputFull = !1, this.editorEmptyValue = "", this.spreadsheetSheets = void 0, this.spreadsheetSheetTabs = !1, this.spreadsheetData = void 0, this.selectableRange = 1, this.noSelectable = !1, this.selectableRangeColumns = !1, this.selectableRangeRows = !1, this.selectableRangeClearCells = !1, this.editTriggerEvent = "dblclick", this.selectableRangeAutoFocus = !1, this.noClipboard = !1, this.clipboardAction = pi.Both, this.clipboardCopyRowRange = "range", this.clipboardPasteParser = void 0, this.clipboardPasteAction = "insert", this.clipboardCopyConfig = { columnHeaders: !1 }, this.clipboardNoCopyStyled = !1, this.pagination = !1, this.paginationMode = pt.Local, this.paginationSize = void 0, this.paginationInitialPage = 1, this.paginationButtonCount = 5, this.showPaginationButtons = !1, this.hidePaginationInput = !1, this.pageSizeOptions = void 0, this.paginationAddRow = "page", this.paginationCounter = ia.Both, this.paginationShowFirst = !1, this.paginationShowLast = !1, this.paginationPlacement = Ki.TopEnd, this.noHeaderRowReserve = !1, this.hoverMenu = void 0, this.label = "", this.tabulatorRole = "grid", this.columnGroupRole = "columngroup", this.columnHeaderRole = "columnheader", this.rowRole = "row", this.rowGroupRole = "rowgroup", this.cellRole = "gridcell", this.filterMode = pt.Local, this.placeholderHeaderFilter = "No matching data", this.noColumnPlaceholderText = this.localize.term("noColumnsVisible"), this.useOverlayScrollbar = !1, this.loading = !1, this.canSelectAll = !1, this.rowIdField = "id", this.dataUrl = "", this.dateFilterCompareFormat = fi.IsoDateTime, this.dataFormat = ve.Auto, this.dataUrlPath = "", this.preserveColumnsOnLoad = !1, this.tabulatorInstance = null, this.watchedEvents = /* @__PURE__ */ new Set(), this.activeSearchValue = "", this.dataUrlRequestId = 0, this.inMemoryDataUrlRows = null, this.inMemoryValidationResult = null, this.internalAjaxRequestFunc = void 0, this.lastAttemptedDataUrl = null, this.hasFacets = !1, this.headerMenuOpen = !1, this.headerMenuField = "", this.headerMenuPointX = 0, this.headerMenuPointY = 0, this.headerMenuHideDisabled = !1, this.columnEditorOpen = !1, this.columnEditorEntries = [], this.handleTableBuilt = () => {
|
|
20492
|
-
this.
|
|
20552
|
+
this.initScrollbars(), this.initOverflowObserver(), this.tabulatorInstance?.setColumns(this.columns ?? []), this.validateOnLoad && this.tabulatorInstance?.validateAsync(), this.filterController.syncDropdownFilterSources(this.dropdownFilters), this.handleSearch(), this.filterController.applyFilters(), this.placePaginator(), this.dataUrl && (!this.pagination || this.lastAttemptedDataUrl !== this.dataUrl.trim()) && this.loadFromDataUrl();
|
|
20493
20553
|
}, this.handleValidationChanged = (t) => {
|
|
20494
20554
|
this.validationTooltipAnchor && !this.validationTooltipAnchor.isConnected && this.hideValidationTooltip(), this.emit("cx-table-validation-change", { detail: t });
|
|
20495
20555
|
}, this.checkHorizontalOverflow = () => {
|
|
20496
20556
|
if (!this.tabulatorElement || !this.tabulatorHolder)
|
|
20497
20557
|
return;
|
|
20498
|
-
const t = this.tabulatorHolder.scrollWidth > this.
|
|
20499
|
-
this.tabulatorElement.classList.toggle("tabulator-overflow-x", t)
|
|
20558
|
+
const t = this.tabulatorHolder.scrollWidth > this.tabulatorHolder.clientWidth;
|
|
20559
|
+
this.tabulatorElement.classList.toggle("tabulator-overflow-x", t);
|
|
20500
20560
|
};
|
|
20501
20561
|
const e = this.addEventListener;
|
|
20502
20562
|
this.addEventListener = (t, i, ...s) => {
|
|
@@ -20511,7 +20571,7 @@ let g = class extends Pe {
|
|
|
20511
20571
|
});
|
|
20512
20572
|
}
|
|
20513
20573
|
)), e.call(this, t, i, ...s);
|
|
20514
|
-
}, this.
|
|
20574
|
+
}, this.handleSelectableRowsCheck = this.handleSelectableRowsCheck.bind(this);
|
|
20515
20575
|
}
|
|
20516
20576
|
get initialized() {
|
|
20517
20577
|
return this.tabulatorInstance?.initialized;
|
|
@@ -20607,7 +20667,7 @@ let g = class extends Pe {
|
|
|
20607
20667
|
}
|
|
20608
20668
|
}
|
|
20609
20669
|
async initTable() {
|
|
20610
|
-
this.tabulatorInstance && (this.selectAllController.resetSelection(), this.overflowObserver?.disconnect(), this.
|
|
20670
|
+
this.tabulatorInstance && (this.selectAllController.resetSelection(), this.overflowObserver?.disconnect(), this.osInstance?.destroy(), this.tabulatorInstance.off("tableBuilt"), this.tabulatorInstance.destroy()), !this.pagination || !this.dataUrl?.trim() ? (this.internalAjaxRequestFunc = void 0, this.inMemoryDataUrlRows = null, this.inMemoryValidationResult = null, this.lastAttemptedDataUrl = null) : this.internalAjaxRequestFunc || (this.internalAjaxRequestFunc = this.createInMemoryAjaxRequestFunc());
|
|
20611
20671
|
let e = this.rowHeader;
|
|
20612
20672
|
e == null && (this.movableRows ? e = yp : this.responsiveLayout === "collapse" && (e = {
|
|
20613
20673
|
formatter: "responsiveCollapse"
|
|
@@ -20664,7 +20724,7 @@ let g = class extends Pe {
|
|
|
20664
20724
|
groupHeaderUseFormatter: this.groupHeaderUseFormatter,
|
|
20665
20725
|
groupIndent: this.groupIndent,
|
|
20666
20726
|
groupLoadMoreMeta: this.groupLoadMoreMeta,
|
|
20667
|
-
groupStartOpen: Ip(this, no,
|
|
20727
|
+
groupStartOpen: Ip(this, no, Cn),
|
|
20668
20728
|
groupToggleElement: this.groupToggleElement,
|
|
20669
20729
|
groupUpdateOnCellEdit: this.groupUpdateOnCellEdit,
|
|
20670
20730
|
groupValues: this.groupValues,
|
|
@@ -20730,7 +20790,7 @@ let g = class extends Pe {
|
|
|
20730
20790
|
}), this.filterController.resetAppliedFilterBaseline(), this.loading && this.tabulatorInstance.dataLoader?.setExternalLoading(!0), this.canSelectAll && this.selectAllController.onTableInit(), this.registerEventListeners(), this.tabulatorInstance.on("tableBuilt", this.handleTableBuilt), this.tabulatorInstance.on("validationChanged", this.handleValidationChanged);
|
|
20731
20791
|
}
|
|
20732
20792
|
handleUseOverlayScrollbarChange() {
|
|
20733
|
-
this.
|
|
20793
|
+
this.initialized && this.initScrollbars();
|
|
20734
20794
|
}
|
|
20735
20795
|
connectedCallback() {
|
|
20736
20796
|
super.connectedCallback(), this.hasUpdated && this.initTableWhenSized();
|
|
@@ -20797,61 +20857,38 @@ let g = class extends Pe {
|
|
|
20797
20857
|
}, 150));
|
|
20798
20858
|
}
|
|
20799
20859
|
disconnectedCallback() {
|
|
20800
|
-
super.disconnectedCallback(), globalThis.clearTimeout(this.validationTooltipHideTimeout), this.tabulatorInstance?.destroy(), this.
|
|
20860
|
+
super.disconnectedCallback(), globalThis.clearTimeout(this.validationTooltipHideTimeout), this.tabulatorInstance?.destroy(), this.osInstance?.destroy(), this.resizeObserver?.disconnect(), this.resizeObserver = null, this.overflowObserver?.disconnect(), this.overflowObserver = null, this.watchedEvents.forEach((e) => {
|
|
20801
20861
|
this.tabulatorInstance?.off(e);
|
|
20802
20862
|
});
|
|
20803
20863
|
}
|
|
20804
|
-
|
|
20805
|
-
!this.tabulatorHolder || !this.tabulatorInstance?.initialized
|
|
20806
|
-
{
|
|
20807
|
-
|
|
20808
|
-
|
|
20809
|
-
|
|
20810
|
-
|
|
20811
|
-
|
|
20812
|
-
|
|
20813
|
-
|
|
20814
|
-
|
|
20815
|
-
|
|
20816
|
-
|
|
20817
|
-
|
|
20818
|
-
|
|
20864
|
+
initScrollbars() {
|
|
20865
|
+
if (!(!this.tabulatorHolder || !this.tabulatorInstance?.initialized)) {
|
|
20866
|
+
if (this.osInstance?.destroy(), this.osInstance = null, !this.useOverlayScrollbar) {
|
|
20867
|
+
this.tabulatorInstance.redraw();
|
|
20868
|
+
return;
|
|
20869
|
+
}
|
|
20870
|
+
this.osInstance = Sn(
|
|
20871
|
+
{
|
|
20872
|
+
elements: {
|
|
20873
|
+
viewport: this.tabulatorHolder
|
|
20874
|
+
},
|
|
20875
|
+
scrollbars: {
|
|
20876
|
+
slot: this.table
|
|
20877
|
+
},
|
|
20878
|
+
target: this.tabulatorHolder
|
|
20819
20879
|
},
|
|
20820
|
-
|
|
20821
|
-
|
|
20822
|
-
|
|
20880
|
+
{
|
|
20881
|
+
overflow: {
|
|
20882
|
+
x: "scroll",
|
|
20883
|
+
y: "scroll"
|
|
20884
|
+
},
|
|
20885
|
+
scrollbars: {
|
|
20886
|
+
autoHide: "never",
|
|
20887
|
+
autoHideDelay: 1e3
|
|
20888
|
+
}
|
|
20823
20889
|
}
|
|
20824
|
-
|
|
20825
|
-
|
|
20826
|
-
}
|
|
20827
|
-
initHorizontalScrollbar() {
|
|
20828
|
-
!this.tabulatorElement || !this.tabulatorInstance?.initialized || (this.frozenScrollOff?.(), this.horizontalOsInstance?.destroy(), this.horizontalOsInstance = No(this.tabulatorElement, {
|
|
20829
|
-
overflow: {
|
|
20830
|
-
x: "scroll",
|
|
20831
|
-
y: "hidden"
|
|
20832
|
-
},
|
|
20833
|
-
scrollbars: {
|
|
20834
|
-
autoHide: "leave",
|
|
20835
|
-
autoHideDelay: 1e3
|
|
20836
|
-
}
|
|
20837
|
-
}), this.frozenScrollOff = this.horizontalOsInstance.on("scroll", this.syncFrozenOffset), this.syncFrozenOffset());
|
|
20838
|
-
}
|
|
20839
|
-
/**
|
|
20840
|
-
* Mirrors the horizontal scroller's offset into `--frozen-offset-start/end` so
|
|
20841
|
-
* `table-frozen.styles.ts` can pin frozen columns. Deliberately not debounced: the offset must
|
|
20842
|
-
* land in the same frame as the scroll, and it is only two custom-property writes.
|
|
20843
|
-
*/
|
|
20844
|
-
syncFrozenOffset() {
|
|
20845
|
-
if (!this.tabulatorElement || !this.horizontalOsInstance || !this.tabulatorInstance?.modules?.frozenColumns?.active)
|
|
20846
|
-
return;
|
|
20847
|
-
const t = this.horizontalOsInstance.elements().scrollOffsetElement, i = t.scrollWidth - t.clientWidth, s = this.tabulatorElement.classList.contains("tabulator-rtl") ? t.scrollLeft + i : t.scrollLeft - i;
|
|
20848
|
-
this.tabulatorElement.style.setProperty(
|
|
20849
|
-
"--frozen-offset-start",
|
|
20850
|
-
`${t.scrollLeft}px`
|
|
20851
|
-
), this.tabulatorElement.style.setProperty(
|
|
20852
|
-
"--frozen-offset-end",
|
|
20853
|
-
`${s}px`
|
|
20854
|
-
);
|
|
20890
|
+
), this.tabulatorInstance.redraw();
|
|
20891
|
+
}
|
|
20855
20892
|
}
|
|
20856
20893
|
initOverflowObserver() {
|
|
20857
20894
|
!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());
|
|
@@ -21073,7 +21110,7 @@ let g = class extends Pe {
|
|
|
21073
21110
|
h
|
|
21074
21111
|
) && i === this.dataUrlRequestId && a(l.length, h), await new Promise((D) => requestAnimationFrame(() => D()));
|
|
21075
21112
|
}, w = g.IN_MEMORY_PARSE_CHUNK_SIZE;
|
|
21076
|
-
return t === ve.Csv ? await
|
|
21113
|
+
return t === ve.Csv ? await Fr(e, u, f, w) : t === ve.Json ? await zr(e, u, f, w, this.dataUrlPath) : t === ve.Xml && await Lr(e, u, f, w, this.dataUrlPath), p || r(c, l), { columns: c, rows: l, validationResult: h };
|
|
21077
21114
|
}
|
|
21078
21115
|
/**
|
|
21079
21116
|
* Applies whatever search/header/dropdown filter and sort is currently
|
|
@@ -21221,7 +21258,7 @@ let g = class extends Pe {
|
|
|
21221
21258
|
return !1;
|
|
21222
21259
|
let a;
|
|
21223
21260
|
try {
|
|
21224
|
-
a = await
|
|
21261
|
+
a = await pn(o);
|
|
21225
21262
|
} catch {
|
|
21226
21263
|
return !1;
|
|
21227
21264
|
}
|
|
@@ -21296,7 +21333,7 @@ let g = class extends Pe {
|
|
|
21296
21333
|
}
|
|
21297
21334
|
async streamCsvData(e, t) {
|
|
21298
21335
|
let i = !0;
|
|
21299
|
-
const o = await
|
|
21336
|
+
const o = await Fr(
|
|
21300
21337
|
e,
|
|
21301
21338
|
(r) => {
|
|
21302
21339
|
t === this.dataUrlRequestId && (this.columns = this.resolveColumnsAfterLoad(r));
|
|
@@ -21317,7 +21354,7 @@ let g = class extends Pe {
|
|
|
21317
21354
|
};
|
|
21318
21355
|
let r;
|
|
21319
21356
|
try {
|
|
21320
|
-
r = await
|
|
21357
|
+
r = await zr(
|
|
21321
21358
|
e,
|
|
21322
21359
|
(a) => {
|
|
21323
21360
|
t === this.dataUrlRequestId && (this.columns = this.resolveColumnsAfterLoad(a));
|
|
@@ -21343,7 +21380,7 @@ let g = class extends Pe {
|
|
|
21343
21380
|
};
|
|
21344
21381
|
let r;
|
|
21345
21382
|
try {
|
|
21346
|
-
r = await
|
|
21383
|
+
r = await Lr(
|
|
21347
21384
|
e,
|
|
21348
21385
|
(a) => {
|
|
21349
21386
|
t === this.dataUrlRequestId && (this.columns = this.resolveColumnsAfterLoad(a));
|
|
@@ -21554,17 +21591,17 @@ let g = class extends Pe {
|
|
|
21554
21591
|
}
|
|
21555
21592
|
};
|
|
21556
21593
|
no = /* @__PURE__ */ new WeakSet();
|
|
21557
|
-
|
|
21594
|
+
Cn = function() {
|
|
21558
21595
|
return this.groupStartOpenValues !== void 0 && this.groupStartOpenValues !== null ? (n) => this.groupStartOpenValues?.includes(n) ?? !1 : this.groupStartOpen;
|
|
21559
21596
|
};
|
|
21560
21597
|
g.styles = [
|
|
21561
21598
|
$e,
|
|
21562
21599
|
vp,
|
|
21563
|
-
|
|
21600
|
+
Rn
|
|
21564
21601
|
];
|
|
21565
21602
|
g.dependencies = {
|
|
21566
21603
|
"cx-button": Et,
|
|
21567
|
-
"cx-checkbox":
|
|
21604
|
+
"cx-checkbox": jr,
|
|
21568
21605
|
"cx-divider": aa,
|
|
21569
21606
|
"cx-faceted-filter": he,
|
|
21570
21607
|
"cx-format-number": la,
|
|
@@ -21572,7 +21609,7 @@ g.dependencies = {
|
|
|
21572
21609
|
"cx-icon-button": oi,
|
|
21573
21610
|
"cx-select": ha,
|
|
21574
21611
|
"cx-space": Ri,
|
|
21575
|
-
"cx-spinner":
|
|
21612
|
+
"cx-spinner": qr,
|
|
21576
21613
|
"cx-table-column-editor": Qe,
|
|
21577
21614
|
"cx-table-footer": Ci,
|
|
21578
21615
|
"cx-table-header-menu": et,
|
|
@@ -22649,7 +22686,7 @@ g = v([
|
|
|
22649
22686
|
], g);
|
|
22650
22687
|
const Np = g;
|
|
22651
22688
|
var Je = /* @__PURE__ */ ((n) => (n.Circles = "circles", n.Grid = "grid", n.Table = "table", n))(Je || {});
|
|
22652
|
-
const
|
|
22689
|
+
const Or = 165, Vp = ["HEX", "RGB", "CMYK", "PMS"], Bp = {
|
|
22653
22690
|
resizable: !1
|
|
22654
22691
|
}, $p = {
|
|
22655
22692
|
field: "name",
|
|
@@ -22766,7 +22803,7 @@ var Up = Object.defineProperty, Kp = Object.getOwnPropertyDescriptor, xe = (n, e
|
|
|
22766
22803
|
(r = n[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
|
|
22767
22804
|
return i && s && Up(e, t, s), s;
|
|
22768
22805
|
};
|
|
22769
|
-
const
|
|
22806
|
+
const Ar = "unnamed";
|
|
22770
22807
|
let me = class extends Pe {
|
|
22771
22808
|
constructor() {
|
|
22772
22809
|
super(), this.localize = new tt(this), this.variant = Je.Table, this.data = [], this.maxCol = 4, this.canCopy = !1, this.showCodes = ["HEX", "RGB", "CMYK", "PMS"], this.multiLanguage = !1, this.breakpoints = [350, 696, 1024], this.deviceType = Ti.Desktop, this.currentCol = 0, this.isFocused = !1, this.canFocusContainer = !0, this.isContainerFocused = !1, this.handleWindowResize = this.handleWindowResize.bind(this);
|
|
@@ -22794,7 +22831,7 @@ let me = class extends Pe {
|
|
|
22794
22831
|
getComputedStyle(this.containerEl).getPropertyValue("--grid-gap")
|
|
22795
22832
|
);
|
|
22796
22833
|
this.currentCol = Math.floor(
|
|
22797
|
-
(n + e) / (
|
|
22834
|
+
(n + e) / (Or + e)
|
|
22798
22835
|
);
|
|
22799
22836
|
break;
|
|
22800
22837
|
}
|
|
@@ -22805,7 +22842,7 @@ let me = class extends Pe {
|
|
|
22805
22842
|
}
|
|
22806
22843
|
}
|
|
22807
22844
|
handleKeyDown(n) {
|
|
22808
|
-
!(n.target instanceof
|
|
22845
|
+
!(n.target instanceof Ir) && !n.target?.closest(
|
|
22809
22846
|
"[data-table-container]"
|
|
22810
22847
|
) || (n.key === "Enter" || n.key === " ") && (this.isFocused = !0);
|
|
22811
22848
|
}
|
|
@@ -22836,7 +22873,7 @@ let me = class extends Pe {
|
|
|
22836
22873
|
categorizeByPalette() {
|
|
22837
22874
|
return Object.values(
|
|
22838
22875
|
this.data.reduce((n, e) => {
|
|
22839
|
-
const t = e.palette?.trim() ? e.palette :
|
|
22876
|
+
const t = e.palette?.trim() ? e.palette : Ar;
|
|
22840
22877
|
return n[t] || (n[t] = { colors: [], palette: t }), n[t].colors.push(e), n;
|
|
22841
22878
|
}, {})
|
|
22842
22879
|
);
|
|
@@ -22874,7 +22911,7 @@ let me = class extends Pe {
|
|
|
22874
22911
|
return x`
|
|
22875
22912
|
${J(
|
|
22876
22913
|
this.variant === Je.Table,
|
|
22877
|
-
() => x`<cx-space class="color-swatch-group__swatches" direction="vertical" spacing="2x-small">${
|
|
22914
|
+
() => x`<cx-space class="color-swatch-group__swatches" direction="vertical" spacing="2x-small">${$o(
|
|
22878
22915
|
[this.data, this.canCopy],
|
|
22879
22916
|
() => this.categorizeByPalette().map(
|
|
22880
22917
|
(t) => {
|
|
@@ -22884,7 +22921,7 @@ let me = class extends Pe {
|
|
|
22884
22921
|
})) : t.colors;
|
|
22885
22922
|
return x`<div tabindex=${Z(
|
|
22886
22923
|
this.canFocusContainer ? "0" : void 0
|
|
22887
|
-
)} data-table-container class="color-swatch-group__table-container" @focusin=${this.handleFocusIn} @focusout=${this.handleFocusOut} @keydown=${this.handleKeyDown}><cx-typography class="color-swatch-group__title" variant="h3">${t.palette ===
|
|
22924
|
+
)} data-table-container class="color-swatch-group__table-container" @focusin=${this.handleFocusIn} @focusout=${this.handleFocusOut} @keydown=${this.handleKeyDown}><cx-typography class="color-swatch-group__title" variant="h3">${t.palette === Ar ? 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=${$o(
|
|
22888
22925
|
[this.showCodes, this.canCopy, this.localize],
|
|
22889
22926
|
() => this.getTableColumns(t.palette)
|
|
22890
22927
|
)} .columnDefaults=${Bp} .rowHeight=${void 0} .data=${i} class="color-swatch-group__table"></cx-table></div>`;
|
|
@@ -22896,7 +22933,7 @@ let me = class extends Pe {
|
|
|
22896
22933
|
"color-swatch-group__swatches--grid": this.variant === Je.Grid,
|
|
22897
22934
|
[`color-swatch-group__swatches--circles--${n}`]: this.variant === Je.Circles
|
|
22898
22935
|
})} style=${ft({
|
|
22899
|
-
gridTemplateColumns: this.currentCol >= this.maxCol ? `repeat(${this.maxCol}, 1fr)` : `repeat(auto-fit, minmax(${
|
|
22936
|
+
gridTemplateColumns: this.currentCol >= this.maxCol ? `repeat(${this.maxCol}, 1fr)` : `repeat(auto-fit, minmax(${Or}px, 1fr))`
|
|
22900
22937
|
})}>${Ke(
|
|
22901
22938
|
this.data,
|
|
22902
22939
|
(t) => t.name,
|
|
@@ -22915,10 +22952,10 @@ let me = class extends Pe {
|
|
|
22915
22952
|
};
|
|
22916
22953
|
me.styles = [$e, Gp];
|
|
22917
22954
|
me.dependencies = {
|
|
22918
|
-
"cx-color-swatch":
|
|
22955
|
+
"cx-color-swatch": Ir,
|
|
22919
22956
|
"cx-space": Ri,
|
|
22920
22957
|
"cx-table": Np,
|
|
22921
|
-
"cx-typography":
|
|
22958
|
+
"cx-typography": Pr
|
|
22922
22959
|
};
|
|
22923
22960
|
xe([
|
|
22924
22961
|
ue(".color-swatch-group__swatches")
|
|
@@ -22970,7 +23007,7 @@ xe([
|
|
|
22970
23007
|
F()
|
|
22971
23008
|
], me.prototype, "isContainerFocused", 2);
|
|
22972
23009
|
xe([
|
|
22973
|
-
|
|
23010
|
+
Wr(100)
|
|
22974
23011
|
], me.prototype, "handleWindowResize", 1);
|
|
22975
23012
|
xe([
|
|
22976
23013
|
V("variant", { waitUntilFirstUpdate: !0 })
|
|
@@ -22988,8 +23025,8 @@ export {
|
|
|
22988
23025
|
_t as a,
|
|
22989
23026
|
Np as b,
|
|
22990
23027
|
Je as c,
|
|
22991
|
-
|
|
23028
|
+
Wo as d,
|
|
22992
23029
|
he as e,
|
|
22993
23030
|
De as f,
|
|
22994
|
-
|
|
23031
|
+
jo as o
|
|
22995
23032
|
};
|