@orangelogic/design-system 2.174.0 → 2.176.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/library/chunks/{color-swatch-group.C01UAz1A.js → color-swatch-group.NJnbc24w.js} +696 -699
- package/library/chunks/{color-swatch.DpzAGKQx.js → color-swatch.D6Gg5bpz.js} +1 -1
- package/library/chunks/{folder-select.BgWvY0t0.js → folder-select.Di9wfqIU.js} +77 -72
- package/library/components/color-swatch-group.js +2 -2
- package/library/components/color-swatch.js +1 -1
- package/library/components/copy-button.js +1 -1
- package/library/components/folder-select.js +1 -1
- package/library/components/molecules.js +2 -2
- package/library/components/organisms.js +1 -1
- package/library/components/types.js +16162 -16098
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/copy-button/copy-button.d.ts +3 -0
- package/library/packages/organisms/src/color-swatch-group/color-swatch-group.constants.d.ts +10 -66
- package/library/packages/organisms/src/content-builder/components/config-form/config-form-controller.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/content-builder.utils.d.ts +9 -0
- package/library/packages/organisms/src/content-builder/plugins/{telemetry.d.ts → telemetry/index.d.ts} +2 -0
- package/library/packages/organisms/src/content-builder/{content-builder.telemetry.d.ts → plugins/telemetry/measure.d.ts} +7 -19
- package/library/packages/organisms/src/content-builder/plugins/telemetry/metrics.d.ts +106 -0
- package/library/packages/utils/src/font/font.d.ts +23 -8
- package/library/utils.js +322 -311
- package/package.json +1 -1
|
@@ -1,74 +1,74 @@
|
|
|
1
1
|
import Ri from "../components/space.js";
|
|
2
|
-
import { C as Ir, T as
|
|
2
|
+
import { C as Ir, T as xn } from "./typography.IqHbnd3C.js";
|
|
3
3
|
import { n as m, C as Pe } from "./lib-cortex-element.CVMmyPMC.js";
|
|
4
|
-
import { C as Hr, a as es } from "./color-swatch.
|
|
4
|
+
import { C as Hr, a as es } from "./color-swatch.D6Gg5bpz.js";
|
|
5
5
|
import { c as $e } from "./component.styles.CRO4Odto.js";
|
|
6
6
|
import { C as Et } from "./button.zWaIO1sl.js";
|
|
7
|
-
import { C as
|
|
7
|
+
import { C as Rn, o as Sn, O as No } from "./dialog.clJBka-1.js";
|
|
8
8
|
import { C as oi } from "./icon-button.BWToMtdK.js";
|
|
9
9
|
import Pt from "../components/tooltip.js";
|
|
10
|
-
import { i as Nr, r as
|
|
10
|
+
import { i as Nr, r as kn, f as Jt, m as Tn, a as Dn, t as Vr, g as Mn, b as Fn, c as Ln } from "./toast.CXEAfCvN.js";
|
|
11
11
|
import { c as Ie } from "./custom-element.L4WJXn1j.js";
|
|
12
12
|
import { L as tt } from "./i18n.DbXTTLXx.js";
|
|
13
|
-
import { b as
|
|
14
|
-
import { i as q, x, E as ut, B as
|
|
13
|
+
import { b as zn, S as _n, c as Vo, p as On, w as V, E as An } from "./watch.DJF5K-8U.js";
|
|
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
|
-
import { a as
|
|
17
|
+
import { a as In, b as Hn } from "./_baseXor.DixEm6JQ.js";
|
|
18
18
|
import { a as ji, i as zt, b as Br } from "./isArrayLikeObject.D7afXo-f.js";
|
|
19
|
-
import { b as Gi, a as
|
|
20
|
-
import { l as si, i as
|
|
19
|
+
import { b as Gi, a as Nn, c as $r, t as Vn } from "./_baseIteratee.sC2wLi2m.js";
|
|
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
|
-
import { a as
|
|
22
|
+
import { a as Wn, b as jn } from "./_baseUniq.lwMgmtt2.js";
|
|
23
23
|
import { C as gt } from "./icon.D5iM9wXS.js";
|
|
24
24
|
import { C as Wr } from "./input.B-c9KEAH.js";
|
|
25
25
|
import { d as jr } 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";
|
|
29
|
-
import { d as
|
|
30
|
-
import { b as
|
|
31
|
-
import { S as
|
|
32
|
-
import
|
|
33
|
-
import { o as
|
|
29
|
+
import { d as Gn, j as Un, b as Kn } from "./_baseClone.BHNjfIdS.js";
|
|
30
|
+
import { b as qn } from "./capitalize.CIBKBL10.js";
|
|
31
|
+
import { S as Xn } from "./sortable.esm.oSzf6C5Q.js";
|
|
32
|
+
import Jn from "../components/line-clamp.js";
|
|
33
|
+
import { o as Yn } from "./unsafe-html.Dff7-rCx.js";
|
|
34
34
|
import ri from "../components/menu.js";
|
|
35
35
|
import ni from "../components/menu-item.js";
|
|
36
|
-
import
|
|
37
|
-
import { r as
|
|
36
|
+
import Zn from "../components/popup.js";
|
|
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
|
-
import
|
|
41
|
+
import ea from "../components/menu-section.js";
|
|
42
42
|
import Gr from "../components/checkbox.js";
|
|
43
|
-
import { C as
|
|
43
|
+
import { C as ta, P as ia } from "./pagination.Do36kaZK.js";
|
|
44
44
|
import { H as Ur } from "./slot.j5oheLJC.js";
|
|
45
45
|
import { g as B, a as Bo } from "./dom.C5aVLhKS.js";
|
|
46
46
|
import "./browser.BHOCIF_A.js";
|
|
47
47
|
import "./form.CP9KLGjF.js";
|
|
48
48
|
import "./purify.es.BIuh5IAZ.js";
|
|
49
|
-
import { D as Kr, a as
|
|
49
|
+
import { D as Kr, a as sa, t as oa, b as qr } from "./date-picker.BGHn6qg8.js";
|
|
50
50
|
import { D as Ti } from "./transformation.8uLv6uwG.js";
|
|
51
51
|
import { s as P, h as $o, b as Ui, c as lo } from "./string.BhJ0Zogu.js";
|
|
52
|
-
import { a as
|
|
53
|
-
import { d as
|
|
54
|
-
import
|
|
55
|
-
import
|
|
56
|
-
import
|
|
52
|
+
import { a as ra } from "./_commonjsHelpers.DQNKXVTB.js";
|
|
53
|
+
import { d as na } from "./debounce.Bv1rtE8D.js";
|
|
54
|
+
import aa from "../components/divider.js";
|
|
55
|
+
import la from "../components/format-number.js";
|
|
56
|
+
import ha from "../components/select.js";
|
|
57
57
|
import Xr from "../components/spinner.js";
|
|
58
|
-
import
|
|
59
|
-
import
|
|
60
|
-
import
|
|
61
|
-
import { c as
|
|
62
|
-
import { r as
|
|
58
|
+
import ca from "../components/badge.js";
|
|
59
|
+
import da from "../components/details.js";
|
|
60
|
+
import ua from "../components/tag.js";
|
|
61
|
+
import { c as pa } from "./date.iWq_pkIk.js";
|
|
62
|
+
import { r as fa } from "./query-all.i3PyvTUQ.js";
|
|
63
63
|
import { i as Wo } from "./guard.D4axKaMo.js";
|
|
64
64
|
var jo = ji(function(n, e) {
|
|
65
65
|
var t = si(e);
|
|
66
|
-
return zt(t) && (t = void 0), zt(n) ?
|
|
67
|
-
}),
|
|
68
|
-
function
|
|
69
|
-
for (var i =
|
|
66
|
+
return zt(t) && (t = void 0), zt(n) ? In(n, Br(e, 1, zt, !0), Gi(t)) : [];
|
|
67
|
+
}), ma = Math.min;
|
|
68
|
+
function ga(n, e, t) {
|
|
69
|
+
for (var i = Wn, s = n[0].length, o = n.length, r = o, a = Array(o), l = 1 / 0, h = []; r--; ) {
|
|
70
70
|
var c = n[r];
|
|
71
|
-
r && e && (c = ao(c,
|
|
71
|
+
r && e && (c = ao(c, zn(e))), l = ma(c.length, l), a[r] = e || s >= 120 && c.length >= 120 ? new _n(r && c) : void 0;
|
|
72
72
|
}
|
|
73
73
|
c = n[0];
|
|
74
74
|
var d = -1, p = a[0];
|
|
@@ -86,45 +86,45 @@ function ba(n, e, t) {
|
|
|
86
86
|
}
|
|
87
87
|
return h;
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function ba(n) {
|
|
90
90
|
return zt(n) ? n : [];
|
|
91
91
|
}
|
|
92
|
-
var
|
|
93
|
-
var e = si(n), t = ao(n,
|
|
94
|
-
return e === si(t) ? e = void 0 : t.pop(), t.length && t[0] === n[0] ?
|
|
95
|
-
}),
|
|
92
|
+
var wa = ji(function(n) {
|
|
93
|
+
var e = si(n), t = ao(n, ba);
|
|
94
|
+
return e === si(t) ? e = void 0 : t.pop(), t.length && t[0] === n[0] ? ga(t, Gi(e)) : [];
|
|
95
|
+
}), va = ji(function(n) {
|
|
96
96
|
var e = si(n);
|
|
97
|
-
return zt(e) && (e = void 0),
|
|
98
|
-
}),
|
|
97
|
+
return zt(e) && (e = void 0), jn(Br(n, 1, zt, !0), Gi(e));
|
|
98
|
+
}), ya = ji(function(n) {
|
|
99
99
|
var e = si(n);
|
|
100
|
-
return zt(e) && (e = void 0),
|
|
100
|
+
return zt(e) && (e = void 0), Hn(On(n, zt), Gi(e));
|
|
101
101
|
});
|
|
102
|
-
function
|
|
103
|
-
return e.length < 2 ? n :
|
|
102
|
+
function Ca(n, e) {
|
|
103
|
+
return e.length < 2 ? n : Nn(n, qn(e, 0, -1));
|
|
104
104
|
}
|
|
105
|
-
function
|
|
106
|
-
return e = $r(e, n), n =
|
|
105
|
+
function Ea(n, e) {
|
|
106
|
+
return e = $r(e, n), n = Ca(n, e), n == null || delete n[Vn(si(e))];
|
|
107
107
|
}
|
|
108
|
-
function
|
|
109
|
-
return
|
|
108
|
+
function xa(n) {
|
|
109
|
+
return Bn(n) ? void 0 : n;
|
|
110
110
|
}
|
|
111
|
-
var
|
|
111
|
+
var Ra = 1, Sa = 2, ka = 4, Go = $n(function(n, e) {
|
|
112
112
|
var t = {};
|
|
113
113
|
if (n == null)
|
|
114
114
|
return t;
|
|
115
115
|
var i = !1;
|
|
116
116
|
e = ao(e, function(o) {
|
|
117
117
|
return o = $r(o, n), i || (i = o.length > 1), o;
|
|
118
|
-
}),
|
|
118
|
+
}), Gn(n, Un(n), t), i && (t = Kn(t, Ra | Sa | ka, xa));
|
|
119
119
|
for (var s = e.length; s--; )
|
|
120
|
-
|
|
120
|
+
Ea(t, e[s]);
|
|
121
121
|
return t;
|
|
122
122
|
});
|
|
123
|
-
const
|
|
124
|
-
var
|
|
125
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
123
|
+
const Ta = q`:host{min-height:40px;display:block}.board-list-item{--toggle-size:var(--cx-toggle-size-medium);border:1px solid #0000;border-bottom-color:var(--cx-color-neutral-300);font-family:var(--cx-font-sans);min-height:40px;padding-left:var(--cx-spacing-3x-small);background-color:var(--cx-color-neutral-100);align-items:center;gap:16px;display:flex;overflow:hidden}.board-list-item--placeholder{border-bottom-color:#0000}.board-list-item--placeholder .board-list-item__control{display:none}.board-list-item:not(.board-list-item--group):not(.board-list-item--placeholder):hover{transition:var(--cx-transition-slow);background-color:var(--cx-color-primary-50);cursor:grab;border:1px solid var(--cx-color-primary-300)}.board-list-item__control{width:var(--toggle-size);height:var(--toggle-size);border:solid var(--cx-input-border-width) var(--cx-input-border-color);background-color:var(--cx-input-background-color);color:var(--cx-color-neutral-0);transition:var(--cx-transition-fast) border-color, var(--cx-transition-fast) background-color, var(--cx-transition-fast) color, var(--cx-transition-fast) box-shadow;cursor:pointer;border-radius:2px;flex:none;justify-content:center;align-items:center;display:inline-flex;position:relative}.board-list-item__text{flex:1;align-items:center;width:0;height:100%;display:flex;position:relative}.board-list-item__text__content{font-weight:var(--cx-font-weight-regular);line-height:var(--cx-item-line-height,1.4);text-overflow:ellipsis;z-index:1;display:block;position:relative;overflow:hidden}.board-list-item__text__anchor{z-index:0;width:100%;height:100%;display:block;position:absolute;top:0;left:0}.board-list-item__checked-icon{display:inline-flex}.board-list-item--group{background-color:var(--cx-color-neutral-300)}.board-list-item:not(.board-list-item--checked):not(.board-list-item--readonly) .board-list-item__control:hover{border-color:var(--cx-input-border-color-hover);background-color:var(--cx-input-background-color-hover)}.board-list-item--checked .board-list-item__control{border-color:var(--cx-color-primary);background-color:var(--cx-color-primary)}.board-list-item--readonly .board-list-item__control{cursor:default;background-color:#0000;border-color:#0000}:host(:focus-visible){outline:var(--cx-focus-ring);outline-offset:calc(-1 * var(--cx-focus-ring-width));border-radius:2px}`;
|
|
124
|
+
var Da = Object.defineProperty, Ma = Object.getOwnPropertyDescriptor, We = (n, e, t, i) => {
|
|
125
|
+
for (var s = i > 1 ? void 0 : i ? Ma(e, t) : e, o = n.length - 1, r; o >= 0; o--)
|
|
126
126
|
(r = n[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
|
|
127
|
-
return i && s &&
|
|
127
|
+
return i && s && Da(e, t, s), s;
|
|
128
128
|
};
|
|
129
129
|
let Ee = class extends Pe {
|
|
130
130
|
constructor() {
|
|
@@ -155,14 +155,14 @@ let Ee = class extends Pe {
|
|
|
155
155
|
"board-list-item--group": this.isGroup,
|
|
156
156
|
"board-list-item--placeholder": this.placeholder,
|
|
157
157
|
"board-list-item--readonly": this.readonly
|
|
158
|
-
})}><span class="board-list-item__control">${this.selected ? x`<cx-icon class="board-list-item__checked-icon" name="check"></cx-icon>` : ""}</span><div part="text" class="board-list-item__text" @mouseenter=${this.onTextMouseEnter} @mouseleave=${this.onTextMouseLeave}><cx-line-clamp part="text-content" class="board-list-item__text__content" lines="2" ?disabled-tooltip=${!!this.tooltip} disabled-hover-bridge>${this.text}</cx-line-clamp><cx-tooltip part="tooltip" hoist trigger="manual" ?disabled=${this.disabledTooltip || !this.tooltip} disabled-hover-bridge><div class="board-list-item__text__anchor"></div><div slot="content">${
|
|
158
|
+
})}><span class="board-list-item__control">${this.selected ? x`<cx-icon class="board-list-item__checked-icon" name="check"></cx-icon>` : ""}</span><div part="text" class="board-list-item__text" @mouseenter=${this.onTextMouseEnter} @mouseleave=${this.onTextMouseLeave}><cx-line-clamp part="text-content" class="board-list-item__text__content" lines="2" ?disabled-tooltip=${!!this.tooltip} disabled-hover-bridge>${this.text}</cx-line-clamp><cx-tooltip part="tooltip" hoist trigger="manual" ?disabled=${this.disabledTooltip || !this.tooltip} disabled-hover-bridge><div class="board-list-item__text__anchor"></div><div slot="content">${Yn(this.tooltip)}</div></cx-tooltip></div>${this.configurable && !this.readonly ? x`<cx-icon-button part="config-button" name="settings" label=${this.localize.term("configure")} @click=${this.onConfigButtonClick}></cx-icon-button>` : ""}</div>`;
|
|
159
159
|
}
|
|
160
160
|
};
|
|
161
|
-
Ee.styles = [$e,
|
|
161
|
+
Ee.styles = [$e, Ta];
|
|
162
162
|
Ee.dependencies = {
|
|
163
163
|
"cx-icon": gt,
|
|
164
164
|
"cx-icon-button": oi,
|
|
165
|
-
"cx-line-clamp":
|
|
165
|
+
"cx-line-clamp": Jn,
|
|
166
166
|
"cx-tooltip": Pt
|
|
167
167
|
};
|
|
168
168
|
We([
|
|
@@ -207,16 +207,16 @@ We([
|
|
|
207
207
|
Ee = We([
|
|
208
208
|
Ie("cx-board-list-item")
|
|
209
209
|
], Ee);
|
|
210
|
-
const
|
|
210
|
+
const Fa = q`:host{--cx-tooltip-arrow-size:0;flex:1;display:block}.board{--toggle-size:var(--cx-toggle-size-medium);background-color:var(--cx-color-neutral-100);border:1px solid var(--cx-color-neutral-300);border-radius:4px;flex-direction:column;height:100%;padding:16px 16px 0;display:flex}.board--dragging cx-input{pointer-events:none}.board__header{align-items:center;gap:16px;width:100%;height:40px;margin-bottom:16px;display:flex}.board__list{flex:1;max-height:500px;padding-left:0;overflow:hidden scroll}.board__header__text{-webkit-line-clamp:2;color:var(--cx-color-neutral);font-family:var(--cx-font-sans);text-overflow:ellipsis;white-space:pre-wrap;-webkit-box-orient:vertical;flex:1;font-weight:700;display:-webkit-box;overflow:hidden}.board__header__search{flex:0 0 160px}.board__footer{justify-content:space-between;align-items:center;height:40px;display:flex}.board__footer__text{font-family:var(--cx-font-sans)}.board__select-all{width:var(--toggle-size);height:var(--toggle-size);border:solid var(--cx-input-border-width) var(--cx-input-border-color);background-color:var(--cx-input-background-color);color:var(--cx-color-neutral-0);cursor:pointer;transition:var(--cx-transition-fast) border-color, var(--cx-transition-fast) background-color, var(--cx-transition-fast) color, var(--cx-transition-fast) box-shadow;border-radius:2px;flex:none;justify-content:center;align-items:center;display:inline-flex;position:relative}.board--checked .board__select-all{border-color:var(--cx-color-primary);background-color:var(--cx-color-primary)}.board__select-all:focus-visible{outline:var(--cx-focus-ring);outline-offset:var(--cx-focus-ring-offset)}.board__checked-icon{display:inline-flex}`, La = (n) => {
|
|
211
211
|
const e = n.getRootNode();
|
|
212
212
|
return e instanceof ShadowRoot ? e.host : null;
|
|
213
213
|
};
|
|
214
214
|
navigator.userAgent.match(/safari/i) && !navigator.userAgent.match(/chrome/i) && navigator.userAgent.match(/android/i);
|
|
215
|
-
const
|
|
216
|
-
var
|
|
217
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
215
|
+
const za = /mac os x/i.test(navigator.userAgent) && !/iphone|ipad/i.test(navigator.userAgent);
|
|
216
|
+
var _a = Object.defineProperty, Oa = Object.getOwnPropertyDescriptor, X = (n, e, t, i) => {
|
|
217
|
+
for (var s = i > 1 ? void 0 : i ? Oa(e, t) : e, o = n.length - 1, r; o >= 0; o--)
|
|
218
218
|
(r = n[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
|
|
219
|
-
return i && s &&
|
|
219
|
+
return i && s && _a(e, t, s), s;
|
|
220
220
|
};
|
|
221
221
|
let $ = class extends Pe {
|
|
222
222
|
constructor() {
|
|
@@ -312,7 +312,7 @@ let $ = class extends Pe {
|
|
|
312
312
|
}
|
|
313
313
|
handleAdd(n) {
|
|
314
314
|
let e = this.items.map((h) => h.id);
|
|
315
|
-
const t =
|
|
315
|
+
const t = La(n.from);
|
|
316
316
|
if (!t)
|
|
317
317
|
return;
|
|
318
318
|
const s = n.item.dataset.id;
|
|
@@ -342,7 +342,7 @@ let $ = class extends Pe {
|
|
|
342
342
|
let s = this.selectedItemAsArray;
|
|
343
343
|
s.includes(i) || (s = [i]);
|
|
344
344
|
const o = s.length > 1;
|
|
345
|
-
e =
|
|
345
|
+
e = kn(
|
|
346
346
|
e,
|
|
347
347
|
s.map((r) => Jt(this.items, "id", r))
|
|
348
348
|
), this.handleUpdateEvent(e, n.type, o, n.newIndex);
|
|
@@ -369,7 +369,7 @@ let $ = class extends Pe {
|
|
|
369
369
|
this.handleDefaultSelect(n);
|
|
370
370
|
return;
|
|
371
371
|
}
|
|
372
|
-
const s =
|
|
372
|
+
const s = Tn(
|
|
373
373
|
this.selectedItemAsArray,
|
|
374
374
|
n.dataset.id,
|
|
375
375
|
e
|
|
@@ -453,7 +453,7 @@ let $ = class extends Pe {
|
|
|
453
453
|
r ? s - 1 : s
|
|
454
454
|
);
|
|
455
455
|
}
|
|
456
|
-
e =
|
|
456
|
+
e = Dn(
|
|
457
457
|
e,
|
|
458
458
|
t.map((r) => Jt(this.items, "id", r)),
|
|
459
459
|
o
|
|
@@ -521,12 +521,12 @@ let $ = class extends Pe {
|
|
|
521
521
|
return this.indexAfterLastVisibleRealItem();
|
|
522
522
|
}
|
|
523
523
|
initSortable() {
|
|
524
|
-
this.sortable =
|
|
524
|
+
this.sortable = Xn.create(this.list, {
|
|
525
525
|
animation: 100,
|
|
526
526
|
avoidImplicitDeselect: !0,
|
|
527
527
|
dataIdAttr: "data-id",
|
|
528
528
|
draggable: "cx-board-list-item[data-id]:not([readonly])",
|
|
529
|
-
forceFallback:
|
|
529
|
+
forceFallback: za,
|
|
530
530
|
// avoid native HTML5 drag image fly-in animation on macOS (https://link.orangelogic.com/Tasks/41N1B6)
|
|
531
531
|
group: "shared",
|
|
532
532
|
multiDrag: !0,
|
|
@@ -563,7 +563,7 @@ let $ = class extends Pe {
|
|
|
563
563
|
)}<div style="height: ${40 * (this.filteredItems.length - this.end > 0 ? this.filteredItems.length - this.end : 0)}px"></div></div><div class="board__footer">${n ? x`<div class="board__footer__text">${this.localize.term("selected")}: ${n}</div>` : x`<span></span>`}<div class="board__footer__text">${this.localize.term("total")}: ${this.totalDisplayedCount}</div></div></div>`;
|
|
564
564
|
}
|
|
565
565
|
};
|
|
566
|
-
$.styles = [$e,
|
|
566
|
+
$.styles = [$e, Fa];
|
|
567
567
|
$.dependencies = {
|
|
568
568
|
"cx-board-list-item": Ee,
|
|
569
569
|
"cx-icon": gt,
|
|
@@ -673,11 +673,11 @@ X([
|
|
|
673
673
|
$ = X([
|
|
674
674
|
Ie("cx-board")
|
|
675
675
|
], $);
|
|
676
|
-
const
|
|
677
|
-
var
|
|
678
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
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}`, Uo = (n, e) => n.group && e.group && n.group !== e.group ? n.group.localeCompare(e.group) : n.text.localeCompare(e.text);
|
|
677
|
+
var Pa = Object.defineProperty, Ia = Object.getOwnPropertyDescriptor, qe = (n, e, t, i) => {
|
|
678
|
+
for (var s = i > 1 ? void 0 : i ? Ia(e, t) : e, o = n.length - 1, r; o >= 0; o--)
|
|
679
679
|
(r = n[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
|
|
680
|
-
return i && s &&
|
|
680
|
+
return i && s && Pa(e, t, s), s;
|
|
681
681
|
};
|
|
682
682
|
let De = class extends Pe {
|
|
683
683
|
constructor() {
|
|
@@ -712,7 +712,7 @@ let De = class extends Pe {
|
|
|
712
712
|
isValidChanges(n, e, t) {
|
|
713
713
|
if (this.addLimit || this.addLimit === 0) {
|
|
714
714
|
let i = [];
|
|
715
|
-
if (t === "add" ? i = n : t === "remove" && (i =
|
|
715
|
+
if (t === "add" ? i = n : t === "remove" && (i = va(
|
|
716
716
|
jo(e, n),
|
|
717
717
|
this.secondColumnItemIds
|
|
718
718
|
)), jo(i, this.initialSecondColumnItems).length > this.addLimit)
|
|
@@ -880,14 +880,14 @@ let De = class extends Pe {
|
|
|
880
880
|
(s, o) => (s[o.id] = o, s),
|
|
881
881
|
{}
|
|
882
882
|
);
|
|
883
|
-
const i =
|
|
883
|
+
const i = wa(
|
|
884
884
|
this.firstColumnData.items,
|
|
885
885
|
this.secondColumnData.items,
|
|
886
886
|
"id"
|
|
887
887
|
);
|
|
888
888
|
i.length > 0 && (this.firstColumnData = {
|
|
889
889
|
...this.firstColumnData,
|
|
890
|
-
items:
|
|
890
|
+
items: ya(this.firstColumnData.items, i, "id")
|
|
891
891
|
}, e = !0);
|
|
892
892
|
}
|
|
893
893
|
e && (this.board1Data = this.firstColumnData.sort ?? !0 ? this.firstColumnData.items : [...this.firstColumnData.items].sort(Uo)), t && (this.board2Data = this.secondColumnData.sort ?? !0 ? this.secondColumnData.items : [...this.secondColumnData.items].sort(Uo));
|
|
@@ -897,7 +897,7 @@ let De = class extends Pe {
|
|
|
897
897
|
return x`<div class="multi-select" @cx-board-change=${this.handleBoardChange} @cx-board-selected-change=${this.handleSelectedChange}><cx-board part="board-1" title=${this.firstColumnData.title} name=${this.firstColumnData.id} all .data=${this.board1Data} ?sort=${this.firstColumnData.sort ?? !1} .ignore-types=${this.ignoreTypes} allow-search></cx-board><div class="multi-select__control"><cx-tooltip part="tooltip" content=${this.localize.term("moveSelectedItemRight")} hoist ?disabled=${!n.length}><cx-icon-button class="multi-select__control__move-button" name="arrow_forward_ios" label=${this.localize.term("moveSelectedItemRight")} @click=${this.handleMoveItemsRight} ?disabled=${!n.length}></cx-icon-button></cx-tooltip><cx-tooltip part="tooltip" content=${this.localize.term("moveSelectedItemLeft")} hoist ?disabled=${!e.length}><cx-icon-button class="multi-select__control__move-button" name="arrow_back_ios" label=${this.localize.term("moveSelectedItemLeft")} @click=${this.handleMoveItemsLeft} ?disabled=${!e.length}></cx-icon-button></cx-tooltip></div><cx-board part="board-2" title=${this.secondColumnData.title} name=${this.secondColumnData.id} all .data=${this.board2Data} ?configurable=${this.configurable} ?sort=${this.secondColumnData.sort ?? !0}></cx-board></div>`;
|
|
898
898
|
}
|
|
899
899
|
};
|
|
900
|
-
De.styles = [$e,
|
|
900
|
+
De.styles = [$e, Aa];
|
|
901
901
|
De.dependencies = {
|
|
902
902
|
"cx-board": $,
|
|
903
903
|
"cx-icon-button": oi,
|
|
@@ -943,11 +943,11 @@ De = qe([
|
|
|
943
943
|
Ie("cx-multi-select")
|
|
944
944
|
], De);
|
|
945
945
|
var $t = /* @__PURE__ */ ((n) => (n.Available = "available", n.Visible = "visible", n))($t || {});
|
|
946
|
-
const
|
|
947
|
-
var
|
|
948
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
946
|
+
const Ha = q`:host{display:contents}cx-dialog{--width:800px}cx-multi-select{height:28rem;display:block}.table-column-editor__note{color:var(--cx-color-neutral-600);font-size:var(--cx-font-size-small);margin:0}.table-column-editor__footer{gap:var(--cx-spacing-small);justify-content:flex-end;display:flex}`;
|
|
947
|
+
var Na = Object.defineProperty, Va = Object.getOwnPropertyDescriptor, It = (n, e, t, i) => {
|
|
948
|
+
for (var s = i > 1 ? void 0 : i ? Va(e, t) : e, o = n.length - 1, r; o >= 0; o--)
|
|
949
949
|
(r = n[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
|
|
950
|
-
return i && s &&
|
|
950
|
+
return i && s && Na(e, t, s), s;
|
|
951
951
|
};
|
|
952
952
|
let Qe = class extends Pe {
|
|
953
953
|
constructor() {
|
|
@@ -1013,10 +1013,10 @@ let Qe = class extends Pe {
|
|
|
1013
1013
|
)}<div slot="footer" class="table-column-editor__footer"><cx-button @click=${this.handleCancel}>${this.localize.term("cancel")}</cx-button><cx-button variant="primary" ?disabled=${!this.canApply} @click=${this.handleApply}>${this.localize.term("apply")}</cx-button></div></cx-dialog>`;
|
|
1014
1014
|
}
|
|
1015
1015
|
};
|
|
1016
|
-
Qe.styles = [$e,
|
|
1016
|
+
Qe.styles = [$e, Ha];
|
|
1017
1017
|
Qe.dependencies = {
|
|
1018
1018
|
"cx-button": Et,
|
|
1019
|
-
"cx-dialog":
|
|
1019
|
+
"cx-dialog": Rn,
|
|
1020
1020
|
"cx-multi-select": De
|
|
1021
1021
|
};
|
|
1022
1022
|
It([
|
|
@@ -1046,11 +1046,11 @@ Qe = It([
|
|
|
1046
1046
|
var cs = /* @__PURE__ */ ((n) => (n.Search = "search-keyword", n))(cs || {}), Ki = /* @__PURE__ */ ((n) => (n.BottomCenter = "bottom-center", n.BottomEnd = "bottom-end", n.BottomStart = "bottom-start", n.TopCenter = "top-center", n.TopEnd = "top-end", n.TopStart = "top-start", n))(Ki || {}), vt = /* @__PURE__ */ ((n) => (n.Bottom = "bottom", n.Center = "center", n.Nearest = "nearest", n.Top = "top", n))(vt || {}), Ue = /* @__PURE__ */ ((n) => (n.All = "all", n.Cell = "cell", n.Column = "column", n.Row = "row", n))(Ue || {}), pi = /* @__PURE__ */ ((n) => (n.Both = "both", n.Copy = "copy", n.Paste = "paste", n))(pi || {}), ve = /* @__PURE__ */ ((n) => (n.Auto = "auto", n.Csv = "csv", n.Json = "json", n.Xml = "xml", n))(ve || {}), yi = /* @__PURE__ */ ((n) => (n.EditColumns = "edit-columns", n.HideColumn = "hide-column", n))(yi || {}), Wt = /* @__PURE__ */ ((n) => (n.Left = "left", n.Right = "right", n))(Wt || {}), pt = /* @__PURE__ */ ((n) => (n.Local = "local", n.Remote = "remote", n))(pt || {}), Se = /* @__PURE__ */ ((n) => (n.Asc = "asc", n.Desc = "desc", n.None = "none", n))(Se || {}), _e = /* @__PURE__ */ ((n) => (n.Ends = "ends", n.Equal = "=", n.GreaterOrEqual = ">=", n.GreaterThan = ">", n.In = "in", n.Keywords = "keywords", n.LessOrEqual = "<=", n.LessThan = "<", n.Like = "like", n.NotEqual = "!=", n.Regex = "regex", n.Starts = "starts", n))(_e || {});
|
|
1047
1047
|
const ds = 36;
|
|
1048
1048
|
var fi = /* @__PURE__ */ ((n) => (n.IsoDate = "iso-date", n.IsoDateTime = "iso-datetime", n.Timestamp = "timestamp", n))(fi || {});
|
|
1049
|
-
const
|
|
1050
|
-
var
|
|
1051
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
1049
|
+
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, Jr = (n, e, t, i) => {
|
|
1051
|
+
for (var s = i > 1 ? void 0 : i ? Wa(e, t) : e, o = n.length - 1, r; o >= 0; o--)
|
|
1052
1052
|
(r = n[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
|
|
1053
|
-
return i && s &&
|
|
1053
|
+
return i && s && $a(e, t, s), s;
|
|
1054
1054
|
};
|
|
1055
1055
|
let Ci = class extends Pe {
|
|
1056
1056
|
constructor() {
|
|
@@ -1060,18 +1060,18 @@ let Ci = class extends Pe {
|
|
|
1060
1060
|
return x`<slot name="pagination"></slot>`;
|
|
1061
1061
|
}
|
|
1062
1062
|
};
|
|
1063
|
-
Ci.styles = [$e,
|
|
1063
|
+
Ci.styles = [$e, Ba];
|
|
1064
1064
|
Jr([
|
|
1065
1065
|
m({ attribute: "pagination-placement", reflect: !0, type: String })
|
|
1066
1066
|
], Ci.prototype, "paginationPlacement", 2);
|
|
1067
1067
|
Ci = Jr([
|
|
1068
1068
|
Ie("cx-table-footer")
|
|
1069
1069
|
], Ci);
|
|
1070
|
-
const
|
|
1071
|
-
var
|
|
1072
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
1070
|
+
const ja = q`:host{display:contents}cx-popup::part(popup){z-index:var(--cx-z-index-dropdown)}`;
|
|
1071
|
+
var Ga = Object.defineProperty, Ua = Object.getOwnPropertyDescriptor, Ht = (n, e, t, i) => {
|
|
1072
|
+
for (var s = i > 1 ? void 0 : i ? Ua(e, t) : e, o = n.length - 1, r; o >= 0; o--)
|
|
1073
1073
|
(r = n[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
|
|
1074
|
-
return i && s &&
|
|
1074
|
+
return i && s && Ga(e, t, s), s;
|
|
1075
1075
|
};
|
|
1076
1076
|
let et = class extends Pe {
|
|
1077
1077
|
constructor() {
|
|
@@ -1117,12 +1117,12 @@ let et = class extends Pe {
|
|
|
1117
1117
|
return x`<cx-popup ?active=${this.open} .anchor=${this.virtualAnchor} strategy="overlay" placement="bottom-start" flip shift @cx-opened=${this.handlePopupOpened}><cx-menu @cx-select=${this.handleMenuSelect}><cx-menu-item data-action=${yi.EditColumns}><cx-icon slot="prefix" name="edit"></cx-icon>${this.localize.term("editColumns")}</cx-menu-item><cx-menu-item data-action=${yi.HideColumn} ?disabled=${this.hideDisabled}><cx-icon slot="prefix" name="visibility_off"></cx-icon>${this.localize.term("hideColumn")}</cx-menu-item></cx-menu></cx-popup>`;
|
|
1118
1118
|
}
|
|
1119
1119
|
};
|
|
1120
|
-
et.styles = [$e,
|
|
1120
|
+
et.styles = [$e, ja];
|
|
1121
1121
|
et.dependencies = {
|
|
1122
1122
|
"cx-icon": gt,
|
|
1123
1123
|
"cx-menu": ri,
|
|
1124
1124
|
"cx-menu-item": ni,
|
|
1125
|
-
"cx-popup":
|
|
1125
|
+
"cx-popup": Zn
|
|
1126
1126
|
};
|
|
1127
1127
|
Ht([
|
|
1128
1128
|
ue("cx-menu-item")
|
|
@@ -1148,11 +1148,11 @@ Ht([
|
|
|
1148
1148
|
et = Ht([
|
|
1149
1149
|
Ie("cx-table-header-menu")
|
|
1150
1150
|
], et);
|
|
1151
|
-
const
|
|
1152
|
-
var
|
|
1153
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
1151
|
+
const Ka = q`.table-row-actions__button::part(label),.table-row-actions__dropdown__trigger::part(label){padding:0 var(--cx-spacing-x-small)}.table-row-actions__menu-item::part(checked-icon){display:none}`;
|
|
1152
|
+
var qa = Object.defineProperty, Xa = Object.getOwnPropertyDescriptor, Kt = (n, e, t, i) => {
|
|
1153
|
+
for (var s = i > 1 ? void 0 : i ? Xa(e, t) : e, o = n.length - 1, r; o >= 0; o--)
|
|
1154
1154
|
(r = n[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
|
|
1155
|
-
return i && s &&
|
|
1155
|
+
return i && s && qa(e, t, s), s;
|
|
1156
1156
|
};
|
|
1157
1157
|
let mt = class extends Pe {
|
|
1158
1158
|
constructor() {
|
|
@@ -1162,7 +1162,7 @@ let mt = class extends Pe {
|
|
|
1162
1162
|
return this;
|
|
1163
1163
|
}
|
|
1164
1164
|
handleActionChange() {
|
|
1165
|
-
this.groupedDropdownItems =
|
|
1165
|
+
this.groupedDropdownItems = Mn(
|
|
1166
1166
|
this.action?.options?.dropdownItems ?? [],
|
|
1167
1167
|
"section"
|
|
1168
1168
|
), this.sections = Object.keys(this.groupedDropdownItems);
|
|
@@ -1212,7 +1212,7 @@ mt.dependencies = {
|
|
|
1212
1212
|
"cx-icon": gt,
|
|
1213
1213
|
"cx-menu": ri,
|
|
1214
1214
|
"cx-menu-item": ni,
|
|
1215
|
-
"cx-menu-section":
|
|
1215
|
+
"cx-menu-section": ea,
|
|
1216
1216
|
"cx-tooltip": Pt
|
|
1217
1217
|
};
|
|
1218
1218
|
Kt([
|
|
@@ -1242,10 +1242,10 @@ Kt([
|
|
|
1242
1242
|
mt = Kt([
|
|
1243
1243
|
Ie("cx-table-row-actions-dropdown")
|
|
1244
1244
|
], mt);
|
|
1245
|
-
var
|
|
1246
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
1245
|
+
var Ja = Object.defineProperty, Ya = Object.getOwnPropertyDescriptor, qi = (n, e, t, i) => {
|
|
1246
|
+
for (var s = i > 1 ? void 0 : i ? Ya(e, t) : e, o = n.length - 1, r; o >= 0; o--)
|
|
1247
1247
|
(r = n[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
|
|
1248
|
-
return i && s &&
|
|
1248
|
+
return i && s && Ja(e, t, s), s;
|
|
1249
1249
|
};
|
|
1250
1250
|
let Ot = class extends Pe {
|
|
1251
1251
|
constructor() {
|
|
@@ -1271,7 +1271,7 @@ let Ot = class extends Pe {
|
|
|
1271
1271
|
return x`<cx-space spacing="2x-small">${Ke(
|
|
1272
1272
|
this.actions,
|
|
1273
1273
|
(n) => n.name,
|
|
1274
|
-
(n) =>
|
|
1274
|
+
(n) => Qn(n.type ?? "button", [
|
|
1275
1275
|
[
|
|
1276
1276
|
"button",
|
|
1277
1277
|
() => this.renderButton(n)
|
|
@@ -1284,7 +1284,7 @@ let Ot = class extends Pe {
|
|
|
1284
1284
|
)}</cx-space>`;
|
|
1285
1285
|
}
|
|
1286
1286
|
};
|
|
1287
|
-
Ot.styles = [$e,
|
|
1287
|
+
Ot.styles = [$e, Ka];
|
|
1288
1288
|
Ot.dependencies = {
|
|
1289
1289
|
"cx-button": Et,
|
|
1290
1290
|
"cx-icon": gt,
|
|
@@ -1308,10 +1308,10 @@ qi([
|
|
|
1308
1308
|
Ot = qi([
|
|
1309
1309
|
Ie("cx-table-row-actions")
|
|
1310
1310
|
], Ot);
|
|
1311
|
-
var
|
|
1312
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
1311
|
+
var Za = Object.defineProperty, Qa = Object.getOwnPropertyDescriptor, Si = (n, e, t, i) => {
|
|
1312
|
+
for (var s = i > 1 ? void 0 : i ? Qa(e, t) : e, o = n.length - 1, r; o >= 0; o--)
|
|
1313
1313
|
(r = n[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
|
|
1314
|
-
return i && s &&
|
|
1314
|
+
return i && s && Za(e, t, s), s;
|
|
1315
1315
|
};
|
|
1316
1316
|
let Ct = class extends Pe {
|
|
1317
1317
|
constructor() {
|
|
@@ -1407,10 +1407,10 @@ Si([
|
|
|
1407
1407
|
Ct = Si([
|
|
1408
1408
|
Ie("cx-table-dropdown-filter")
|
|
1409
1409
|
], Ct);
|
|
1410
|
-
var
|
|
1411
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
1410
|
+
var el = Object.defineProperty, tl = Object.getOwnPropertyDescriptor, Xi = (n, e, t, i) => {
|
|
1411
|
+
for (var s = i > 1 ? void 0 : i ? tl(e, t) : e, o = n.length - 1, r; o >= 0; o--)
|
|
1412
1412
|
(r = n[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
|
|
1413
|
-
return i && s &&
|
|
1413
|
+
return i && s && el(e, t, s), s;
|
|
1414
1414
|
};
|
|
1415
1415
|
let At = class extends Pe {
|
|
1416
1416
|
constructor() {
|
|
@@ -1488,10 +1488,10 @@ Xi([
|
|
|
1488
1488
|
At = Xi([
|
|
1489
1489
|
Ie("cx-table-group-by-dropdown")
|
|
1490
1490
|
], At);
|
|
1491
|
-
var
|
|
1492
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
1491
|
+
var il = Object.defineProperty, sl = Object.getOwnPropertyDescriptor, bt = (n, e, t, i) => {
|
|
1492
|
+
for (var s = i > 1 ? void 0 : i ? sl(e, t) : e, o = n.length - 1, r; o >= 0; o--)
|
|
1493
1493
|
(r = n[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
|
|
1494
|
-
return i && s &&
|
|
1494
|
+
return i && s && il(e, t, s), s;
|
|
1495
1495
|
};
|
|
1496
1496
|
let Be = class extends Pe {
|
|
1497
1497
|
constructor() {
|
|
@@ -1599,11 +1599,11 @@ bt([
|
|
|
1599
1599
|
Be = bt([
|
|
1600
1600
|
Ie("cx-table-saved-search-dropdown")
|
|
1601
1601
|
], Be);
|
|
1602
|
-
const
|
|
1603
|
-
var
|
|
1604
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
1602
|
+
const ol = q`:host{container-type:inline-size}.header{align-items:center;gap:var(--cx-spacing-small);flex-wrap:wrap;display:none}.header--has-label,.header--has-pagination{display:flex}:host([pagination]) .header{min-height:var(--cx-input-height-medium);display:flex}:host([pagination][no-header-row-reserve][pagination-placement^=bottom]) .header:not(.header--has-label):not(.header--has-pagination){display:none}.header__label{flex:auto;align-items:center;min-width:0;display:flex}.header:not(.header--has-label) .header__label{display:none}.header:not(.header--has-label){justify-content:flex-end}.header__pagination{flex-shrink:0;align-items:center;display:flex}:host([pagination-placement=top-start]) .header__label,:host([pagination-placement=top-center]) .header__label{flex-basis:100%}:host([pagination-placement=top-start]) .header:not(.header--has-label){justify-content:flex-start}:host([pagination-placement=top-center]) .header:not(.header--has-label){justify-content:center}@container (width>=480px){:host([pagination-placement=top-center]) .header.header--has-label,:host([pagination-placement=top-center]) .header.header--has-pagination{grid-template-columns:1fr auto 1fr;display:grid}:host([pagination-placement=top-center]) .header__pagination{grid-column:2}}.header-actions{flex:1}.search{flex:1;max-width:500px}.header-actions__left{flex:1}.search__input{max-width:500px}.search__icon{--font-size:var(--cx-font-size-medium)}.search__icon--search{margin-inline-start:var(--cx-spacing-2x-small)}.search__icon--advanced-search{margin-inline-end:var(--cx-spacing-2x-small)}.header-actions__dropdown::part(trigger){line-height:1}.table-dropdown-filter__trigger{--cx-button-text-transform:none}.table-dropdown-filter__trigger--icon-only{--padding:0 var(--cx-spacing-x-small)}.table-dropdown-filter__icon{--font-size:var(--dropdown-filter-icon-size,var(--cx-font-size-large));color:var(--dropdown-filter-icon-color,currentColor)}.header-actions__group-by{--cx-button-text-transform:none}.header-actions__group-by .group-by-option--selected{--label-color:var(--cx-color-primary-600)}.header-actions__group-by .group-by-option{--checked-icon-size:20px;--checked-icon-color:var(--cx-color-primary-600)}.toolbar__select-all-checkbox{flex-shrink:0}.header-actions__saved-search{--cx-button-text-transform:none;--checked-icon-display:none}.header-actions__saved-search__load-more{width:100%;padding:0 var(--cx-spacing-x-small)}`;
|
|
1603
|
+
var rl = Object.defineProperty, nl = Object.getOwnPropertyDescriptor, ie = (n, e, t, i) => {
|
|
1604
|
+
for (var s = i > 1 ? void 0 : i ? nl(e, t) : e, o = n.length - 1, r; o >= 0; o--)
|
|
1605
1605
|
(r = n[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
|
|
1606
|
-
return i && s &&
|
|
1606
|
+
return i && s && rl(e, t, s), s;
|
|
1607
1607
|
};
|
|
1608
1608
|
let ee = class extends Pe {
|
|
1609
1609
|
constructor() {
|
|
@@ -1748,7 +1748,7 @@ let ee = class extends Pe {
|
|
|
1748
1748
|
${J(this.hasHeaderActions, () => this.renderHeaderActions())}</cx-space>`;
|
|
1749
1749
|
}
|
|
1750
1750
|
};
|
|
1751
|
-
ee.styles = [$e,
|
|
1751
|
+
ee.styles = [$e, ol];
|
|
1752
1752
|
ee.dependencies = {
|
|
1753
1753
|
"cx-button": Et,
|
|
1754
1754
|
"cx-checkbox": Gr,
|
|
@@ -1758,7 +1758,7 @@ ee.dependencies = {
|
|
|
1758
1758
|
"cx-input": Wr,
|
|
1759
1759
|
"cx-menu": ri,
|
|
1760
1760
|
"cx-menu-item": ni,
|
|
1761
|
-
"cx-pagination":
|
|
1761
|
+
"cx-pagination": ta,
|
|
1762
1762
|
"cx-space": Ri,
|
|
1763
1763
|
"cx-table-dropdown-filter": Ct,
|
|
1764
1764
|
"cx-table-group-by-dropdown": At,
|
|
@@ -2028,7 +2028,7 @@ class Q {
|
|
|
2028
2028
|
}
|
|
2029
2029
|
}
|
|
2030
2030
|
const Ko = process.env.NODE_ENV === "development";
|
|
2031
|
-
let
|
|
2031
|
+
let al = class Yr extends Me {
|
|
2032
2032
|
constructor(e, t, i = null) {
|
|
2033
2033
|
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
2034
|
}
|
|
@@ -2154,7 +2154,7 @@ let ll = class Yr extends Me {
|
|
|
2154
2154
|
return this.childPopup && this.childPopup.hide(), this.childPopup = new Yr(this.table, e, this), this.childPopup;
|
|
2155
2155
|
}
|
|
2156
2156
|
};
|
|
2157
|
-
const
|
|
2157
|
+
const ll = process.env.NODE_ENV === "development";
|
|
2158
2158
|
class I extends Me {
|
|
2159
2159
|
constructor(e) {
|
|
2160
2160
|
super(e);
|
|
@@ -2175,7 +2175,7 @@ class I extends Me {
|
|
|
2175
2175
|
*/
|
|
2176
2176
|
registerTableFunction(e, t) {
|
|
2177
2177
|
const i = this.table;
|
|
2178
|
-
i[e] === void 0 || i[e] === null ? i[e] = (...s) => (this.table.initGuard?.(e), t.apply(this, s)) :
|
|
2178
|
+
i[e] === void 0 || i[e] === null ? i[e] = (...s) => (this.table.initGuard?.(e), t.apply(this, s)) : ll && console.warn("Unable to bind table function, name already in use:", e);
|
|
2179
2179
|
}
|
|
2180
2180
|
registerComponentFunction(e, t, i) {
|
|
2181
2181
|
return this.table.componentFunctionBinder.bind(e, t, i);
|
|
@@ -2220,7 +2220,7 @@ class I extends Me {
|
|
|
2220
2220
|
* Popups Management
|
|
2221
2221
|
*/
|
|
2222
2222
|
popup(e, t) {
|
|
2223
|
-
return new
|
|
2223
|
+
return new al(this.table, e, t);
|
|
2224
2224
|
}
|
|
2225
2225
|
/**
|
|
2226
2226
|
* Alert Management
|
|
@@ -2239,7 +2239,7 @@ const bo = class bo extends I {
|
|
|
2239
2239
|
};
|
|
2240
2240
|
bo.moduleName = "accessibility";
|
|
2241
2241
|
let us = bo;
|
|
2242
|
-
const
|
|
2242
|
+
const hl = "tabulator-clickable-cell", cl = 'button, [role="button"], cx-button, cx-menu-item, cx-dropdown', dl = "hoverMenu", qo = "cx-table-row-action-click", wo = class wo extends I {
|
|
2243
2243
|
constructor(e) {
|
|
2244
2244
|
super(e), this.cellKeyHandlers = /* @__PURE__ */ new WeakMap(), this.registerColumnOption("clickable"), this.registerColumnOption("clickableActionName"), this.registerColumnOption("clickableEventName");
|
|
2245
2245
|
}
|
|
@@ -2256,7 +2256,7 @@ const cl = "tabulator-clickable-cell", dl = 'button, [role="button"], cx-button,
|
|
|
2256
2256
|
if (!e.element)
|
|
2257
2257
|
return;
|
|
2258
2258
|
const t = e.element, i = !!e.column.definition.clickable, s = this.cellKeyHandlers.get(t);
|
|
2259
|
-
if (s && (t.removeEventListener("keydown", s), this.cellKeyHandlers.delete(t)), t.classList.toggle(
|
|
2259
|
+
if (s && (t.removeEventListener("keydown", s), this.cellKeyHandlers.delete(t)), t.classList.toggle(hl, i), !i) {
|
|
2260
2260
|
t.removeAttribute("tabindex"), t.removeAttribute("role");
|
|
2261
2261
|
return;
|
|
2262
2262
|
}
|
|
@@ -2289,7 +2289,7 @@ const cl = "tabulator-clickable-cell", dl = 'button, [role="button"], cx-button,
|
|
|
2289
2289
|
s = r;
|
|
2290
2290
|
break;
|
|
2291
2291
|
}
|
|
2292
|
-
if (r instanceof Element && r.matches(
|
|
2292
|
+
if (r instanceof Element && r.matches(cl))
|
|
2293
2293
|
return;
|
|
2294
2294
|
}
|
|
2295
2295
|
if (e.ctrlKey || e.metaKey) {
|
|
@@ -2332,7 +2332,7 @@ const cl = "tabulator-clickable-cell", dl = 'button, [role="button"], cx-button,
|
|
|
2332
2332
|
return i || (this.resolveAction(e, t)?.name ?? null);
|
|
2333
2333
|
}
|
|
2334
2334
|
resolveAction(e, t) {
|
|
2335
|
-
const i = this.table.options.hoverMenuField ??
|
|
2335
|
+
const i = this.table.options.hoverMenuField ?? dl, s = e.column.definition.hoverMenu;
|
|
2336
2336
|
if (s)
|
|
2337
2337
|
return this.pickAction(s, t);
|
|
2338
2338
|
const o = e.row.getData(), r = Object.hasOwn(
|
|
@@ -2348,7 +2348,7 @@ const cl = "tabulator-clickable-cell", dl = 'button, [role="button"], cx-button,
|
|
|
2348
2348
|
};
|
|
2349
2349
|
wo.moduleName = "clickableCell";
|
|
2350
2350
|
let ps = wo;
|
|
2351
|
-
const
|
|
2351
|
+
const ul = x`<cx-table-row-actions></cx-table-row-actions>`, Qt = class Qt extends I {
|
|
2352
2352
|
constructor(e) {
|
|
2353
2353
|
super(e), this.registerTableOption("hoverMenu", !1), this.registerTableOption("hoverMenuField", "hoverMenu"), this.registerColumnOption("hoverMenu");
|
|
2354
2354
|
}
|
|
@@ -2398,7 +2398,7 @@ const pl = x`<cx-table-row-actions></cx-table-row-actions>`, Qt = class Qt exten
|
|
|
2398
2398
|
i && i.classList.remove("tabulator-hover-menu--active");
|
|
2399
2399
|
}
|
|
2400
2400
|
createCxTableRowActions() {
|
|
2401
|
-
const e = B(
|
|
2401
|
+
const e = B(ul);
|
|
2402
2402
|
return e.classList.add("tabulator-hover-menu"), e;
|
|
2403
2403
|
}
|
|
2404
2404
|
layoutRow(e) {
|
|
@@ -2438,12 +2438,12 @@ const pl = x`<cx-table-row-actions></cx-table-row-actions>`, Qt = class Qt exten
|
|
|
2438
2438
|
};
|
|
2439
2439
|
Qt.moduleName = "hoverMenu", Qt.placementDataAttribute = "hoverMenuPlacement";
|
|
2440
2440
|
let fs = Qt;
|
|
2441
|
-
const
|
|
2441
|
+
const pl = {
|
|
2442
2442
|
rownum: function(n, e, t, i, s, o) {
|
|
2443
2443
|
const r = o?.getPosition();
|
|
2444
2444
|
return typeof r == "number" ? r : 0;
|
|
2445
2445
|
}
|
|
2446
|
-
},
|
|
2446
|
+
}, fl = process.env.NODE_ENV === "development", ei = class ei extends I {
|
|
2447
2447
|
// list of accessor types
|
|
2448
2448
|
constructor(e) {
|
|
2449
2449
|
super(e), this.allowedTypes = [
|
|
@@ -2481,7 +2481,7 @@ const fl = {
|
|
|
2481
2481
|
let t = !1;
|
|
2482
2482
|
switch (typeof e) {
|
|
2483
2483
|
case "string":
|
|
2484
|
-
ei.accessors[e] ? t = ei.accessors[e] :
|
|
2484
|
+
ei.accessors[e] ? t = ei.accessors[e] : fl && console.warn(
|
|
2485
2485
|
"Accessor Error - No such accessor found, ignoring: ",
|
|
2486
2486
|
e
|
|
2487
2487
|
);
|
|
@@ -2518,9 +2518,9 @@ const fl = {
|
|
|
2518
2518
|
}), o;
|
|
2519
2519
|
}
|
|
2520
2520
|
};
|
|
2521
|
-
ei.moduleName = "accessor", ei.accessors =
|
|
2521
|
+
ei.moduleName = "accessor", ei.accessors = pl;
|
|
2522
2522
|
let ms = ei;
|
|
2523
|
-
const
|
|
2523
|
+
const ml = {
|
|
2524
2524
|
method: "GET"
|
|
2525
2525
|
};
|
|
2526
2526
|
function Zr(n) {
|
|
@@ -2551,7 +2551,7 @@ function gs(n, e = "") {
|
|
|
2551
2551
|
t.push({ key: e, value: n });
|
|
2552
2552
|
return t;
|
|
2553
2553
|
}
|
|
2554
|
-
const
|
|
2554
|
+
const gl = {
|
|
2555
2555
|
form: {
|
|
2556
2556
|
body: function(n, e, t) {
|
|
2557
2557
|
const i = gs(t), s = new FormData();
|
|
@@ -2596,7 +2596,7 @@ function bs(n, e = "") {
|
|
|
2596
2596
|
t.push({ key: e, value: n });
|
|
2597
2597
|
return t;
|
|
2598
2598
|
}
|
|
2599
|
-
function
|
|
2599
|
+
function bl(n) {
|
|
2600
2600
|
const e = bs(n), t = [];
|
|
2601
2601
|
return e.forEach((i) => {
|
|
2602
2602
|
t.push(
|
|
@@ -2607,7 +2607,7 @@ function wl(n) {
|
|
|
2607
2607
|
const Qr = function(n, e, t) {
|
|
2608
2608
|
if (n && t && Object.keys(t).length && (!e.method || e.method.toLowerCase() === "get")) {
|
|
2609
2609
|
e.method = "get";
|
|
2610
|
-
const [i, s] = n.split("#", 2), o =
|
|
2610
|
+
const [i, s] = n.split("#", 2), o = bl(t);
|
|
2611
2611
|
n = i + (i.includes("?") ? "&" : "?") + o + (s ? "#" + s : "");
|
|
2612
2612
|
}
|
|
2613
2613
|
return n;
|
|
@@ -2668,7 +2668,7 @@ const Qr = function(n, e, t) {
|
|
|
2668
2668
|
)), s)) : Promise.reject();
|
|
2669
2669
|
}
|
|
2670
2670
|
};
|
|
2671
|
-
ot.moduleName = "ajax", ot.defaultConfig =
|
|
2671
|
+
ot.moduleName = "ajax", ot.defaultConfig = ml, ot.defaultURLGenerator = Qr, ot.contentTypeFormatters = gl, ot.defaultLoaderPromise = function(e, t, i) {
|
|
2672
2672
|
let s;
|
|
2673
2673
|
return new Promise((o, r) => {
|
|
2674
2674
|
if (!this.urlGenerator) {
|
|
@@ -2723,10 +2723,10 @@ function ho(n) {
|
|
|
2723
2723
|
function en(n) {
|
|
2724
2724
|
return JSON.stringify(n);
|
|
2725
2725
|
}
|
|
2726
|
-
function
|
|
2726
|
+
function wl(n, e) {
|
|
2727
2727
|
return n?.[e];
|
|
2728
2728
|
}
|
|
2729
|
-
function
|
|
2729
|
+
function vl(n) {
|
|
2730
2730
|
const e = ho(n);
|
|
2731
2731
|
return {
|
|
2732
2732
|
path: e,
|
|
@@ -2800,7 +2800,7 @@ class tn {
|
|
|
2800
2800
|
return this._group.groupManager.table;
|
|
2801
2801
|
}
|
|
2802
2802
|
}
|
|
2803
|
-
const
|
|
2803
|
+
const yl = process.env.NODE_ENV === "development";
|
|
2804
2804
|
class vs {
|
|
2805
2805
|
constructor(e) {
|
|
2806
2806
|
return this._column = e, this.type = "ColumnComponent", new Proxy(this, {
|
|
@@ -2880,7 +2880,7 @@ class vs {
|
|
|
2880
2880
|
this._column,
|
|
2881
2881
|
i,
|
|
2882
2882
|
t
|
|
2883
|
-
) :
|
|
2883
|
+
) : yl && console.warn(`Move Error - No matching column found: ${e}`);
|
|
2884
2884
|
}
|
|
2885
2885
|
getNextColumn() {
|
|
2886
2886
|
const e = this._column.nextColumn();
|
|
@@ -2901,7 +2901,7 @@ class vs {
|
|
|
2901
2901
|
return e === !0 ? t = await this._column.reinitializeWidth(!0) : t = this._column.setWidth(e), this._column.table.columnManager?.rerenderColumns(!0), t;
|
|
2902
2902
|
}
|
|
2903
2903
|
}
|
|
2904
|
-
const
|
|
2904
|
+
const Cl = process.env.NODE_ENV === "development";
|
|
2905
2905
|
class Ji extends Me {
|
|
2906
2906
|
// used by row manager to determine how to size the render area ("fit" - fits container to the contents, "fill" - fills the container without resizing it)
|
|
2907
2907
|
constructor(e) {
|
|
@@ -3003,11 +3003,11 @@ class Ji extends Me {
|
|
|
3003
3003
|
}
|
|
3004
3004
|
s();
|
|
3005
3005
|
} else
|
|
3006
|
-
|
|
3006
|
+
Cl && console.warn("Scroll Error - Row not visible"), o("Scroll Error - Row not visible");
|
|
3007
3007
|
});
|
|
3008
3008
|
}
|
|
3009
3009
|
}
|
|
3010
|
-
const
|
|
3010
|
+
const El = {
|
|
3011
3011
|
insert: function(n) {
|
|
3012
3012
|
return this.table.addData(n);
|
|
3013
3013
|
},
|
|
@@ -3017,7 +3017,7 @@ const xl = {
|
|
|
3017
3017
|
update: function(n) {
|
|
3018
3018
|
return this.table.updateOrAddData(n);
|
|
3019
3019
|
}
|
|
3020
|
-
},
|
|
3020
|
+
}, xl = {
|
|
3021
3021
|
table: function(n) {
|
|
3022
3022
|
const e = [];
|
|
3023
3023
|
let t = !0;
|
|
@@ -3039,16 +3039,16 @@ const xl = {
|
|
|
3039
3039
|
}), o.push(l);
|
|
3040
3040
|
}), o) : !1;
|
|
3041
3041
|
}
|
|
3042
|
-
},
|
|
3042
|
+
}, Rl = {
|
|
3043
3043
|
copyToClipboard: function(n) {
|
|
3044
3044
|
this.table.modules.edit?.currentCell || this.table.modExists("clipboard", !0) && (n.preventDefault(), this.table.modules.clipboard?.copy(void 0, !0));
|
|
3045
3045
|
}
|
|
3046
|
-
},
|
|
3046
|
+
}, Sl = {
|
|
3047
3047
|
copyToClipboard: ["ctrl + 67", "meta + 67"]
|
|
3048
|
-
},
|
|
3048
|
+
}, kl = {
|
|
3049
3049
|
keybindings: {
|
|
3050
|
-
actions:
|
|
3051
|
-
bindings:
|
|
3050
|
+
actions: Rl,
|
|
3051
|
+
bindings: Sl
|
|
3052
3052
|
}
|
|
3053
3053
|
}, Xo = process.env.NODE_ENV === "development";
|
|
3054
3054
|
function Jo(n) {
|
|
@@ -3166,7 +3166,7 @@ const kt = class kt extends I {
|
|
|
3166
3166
|
return i?.getData && (t = i.getData("text/plain")), t;
|
|
3167
3167
|
}
|
|
3168
3168
|
};
|
|
3169
|
-
kt.moduleName = "clipboard", kt.moduleExtensions =
|
|
3169
|
+
kt.moduleName = "clipboard", kt.moduleExtensions = kl, kt.pasteActions = El, kt.pasteParsers = xl;
|
|
3170
3170
|
let ys = kt;
|
|
3171
3171
|
class co {
|
|
3172
3172
|
constructor(e) {
|
|
@@ -3232,7 +3232,7 @@ class co {
|
|
|
3232
3232
|
return this._cell;
|
|
3233
3233
|
}
|
|
3234
3234
|
}
|
|
3235
|
-
const
|
|
3235
|
+
const Tl = x`<div class="tabulator-cell"></div>`, Dl = process.env.NODE_ENV === "development";
|
|
3236
3236
|
class ki extends Me {
|
|
3237
3237
|
constructor(e, t) {
|
|
3238
3238
|
super(e.table), this.table = e.table, this.column = e, this.row = t, this.element = null, this.contentElement = null, this.value = null, this.oldValue = null, this.modules = {}, this.height = null, this.width = null, this.minWidth = null, this.component = null, this.loaded = !1, this.hoverMenuElement = null, this.deleted = !1, this.build();
|
|
@@ -3248,7 +3248,7 @@ class ki extends Me {
|
|
|
3248
3248
|
this.generateElement(), this.setWidth(), this._configureCell();
|
|
3249
3249
|
}
|
|
3250
3250
|
generateElement() {
|
|
3251
|
-
if (this.element = B(
|
|
3251
|
+
if (this.element = B(Tl), this.element.setAttribute(
|
|
3252
3252
|
"role",
|
|
3253
3253
|
this.table.options.cellRole ?? "gridcell"
|
|
3254
3254
|
), this.column.modules.format?.cellClass) {
|
|
@@ -3315,7 +3315,7 @@ class ki extends Me {
|
|
|
3315
3315
|
this.contentElement.firstChild.remove();
|
|
3316
3316
|
this.contentElement.appendChild(e);
|
|
3317
3317
|
} else
|
|
3318
|
-
this.contentElement.innerHTML = "", e != null &&
|
|
3318
|
+
this.contentElement.innerHTML = "", e != null && Dl && console.warn(
|
|
3319
3319
|
"Format Error - Formatter has returned a type of object, the only valid formatter object return is an instance of Node, the formatter returned:",
|
|
3320
3320
|
e
|
|
3321
3321
|
);
|
|
@@ -4226,7 +4226,7 @@ class Te extends Me {
|
|
|
4226
4226
|
return this.component || (this.component = new uo(this)), this.component;
|
|
4227
4227
|
}
|
|
4228
4228
|
}
|
|
4229
|
-
class
|
|
4229
|
+
class Ml {
|
|
4230
4230
|
constructor(e) {
|
|
4231
4231
|
return this._row = e, new Proxy(this, {
|
|
4232
4232
|
get: (t, i) => typeof i != "string" || typeof t[i] < "u" ? t[i] : t._row.table.componentFunctionBinder.handle(
|
|
@@ -4259,7 +4259,7 @@ class Fl {
|
|
|
4259
4259
|
return this._row;
|
|
4260
4260
|
}
|
|
4261
4261
|
}
|
|
4262
|
-
const
|
|
4262
|
+
const Fl = {
|
|
4263
4263
|
avg: function(n, e, t) {
|
|
4264
4264
|
let i = 0;
|
|
4265
4265
|
const s = typeof t == "object" && "precision" in t ? t.precision : 2;
|
|
@@ -4479,7 +4479,7 @@ const Ll = {
|
|
|
4479
4479
|
const i = this.generateRowData(e, t);
|
|
4480
4480
|
this.table.modExists("mutator") && this.table.modules.mutator?.disable();
|
|
4481
4481
|
const s = new Te(i, this, "calc");
|
|
4482
|
-
return this.table.modExists("mutator") && this.table.modules.mutator?.enable(), s.getElement().classList.add("tabulator-calcs", "tabulator-calcs-" + e), s.component = null, s.getComponent = () => (s.component || (s.component = new
|
|
4482
|
+
return this.table.modExists("mutator") && this.table.modules.mutator?.enable(), s.getElement().classList.add("tabulator-calcs", "tabulator-calcs-" + e), s.component = null, s.getComponent = () => (s.component || (s.component = new Ml(s)), s.component), s.generateCells = () => {
|
|
4483
4483
|
const o = [];
|
|
4484
4484
|
this.table.columnManager?.columnsByIndex.forEach((r) => {
|
|
4485
4485
|
if (this.genColumn) {
|
|
@@ -4551,7 +4551,7 @@ const Ll = {
|
|
|
4551
4551
|
this.botRow && (this.table.rtl ? this.botElement.style.paddingLeft = e + "px" : this.botElement.style.paddingRight = e + "px");
|
|
4552
4552
|
}
|
|
4553
4553
|
};
|
|
4554
|
-
Tt.moduleName = "columnCalcs", Tt.calculations =
|
|
4554
|
+
Tt.moduleName = "columnCalcs", Tt.calculations = Fl;
|
|
4555
4555
|
let Cs = Tt;
|
|
4556
4556
|
class Es extends Te {
|
|
4557
4557
|
constructor(e = {}, t) {
|
|
@@ -4600,9 +4600,9 @@ class Es extends Te {
|
|
|
4600
4600
|
this.element?.parentNode && this.element.parentNode.removeChild(this.element);
|
|
4601
4601
|
}
|
|
4602
4602
|
}
|
|
4603
|
-
const
|
|
4603
|
+
const Ll = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-button name="keyboard_arrow_down"></cx-icon-button></span>`, zl = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-button name="keyboard_arrow_right"></cx-icon-button></span>`, _l = x`<span class="tabulator-data-tree-control tabulator-data-tree-control-placeholder" aria-hidden="true"></span>`, Ol = x`<div class="tabulator-data-tree-branch"></div>`, Al = x`<div class="tabulator-data-tree-branch-empty"></div>`, Pl = x`<cx-button size="small"><cx-icon slot="prefix" name="add" variant="outlined"></cx-icon>
|
|
4604
4604
|
Load More
|
|
4605
|
-
</cx-button>`,
|
|
4605
|
+
</cx-button>`, Il = x`<div class="tabulator-data-tree-loading">Loading...</div>`, Hl = process.env.NODE_ENV === "development", vo = class vo extends I {
|
|
4606
4606
|
constructor(e) {
|
|
4607
4607
|
super(e), this.indent = 10, this.field = "", this.collapseEl = null, this.expandEl = null, this.branchEl = null, this.elementField = !1, this.startOpen = function() {
|
|
4608
4608
|
return !1;
|
|
@@ -4640,9 +4640,9 @@ const zl = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
|
|
|
4640
4640
|
if (this.table.options.dataTree) {
|
|
4641
4641
|
let e = null;
|
|
4642
4642
|
const t = this.table.options;
|
|
4643
|
-
switch (this.field = t.dataTreeChildField || "_children", this.indent = t.dataTreeChildIndent || 9, this.loadingField = t.dataTreeLoadingField || "loading", this.hasMoreField = t.dataTreeHasMoreField || "hasMore", this.options("movableRows") &&
|
|
4643
|
+
switch (this.field = t.dataTreeChildField || "_children", this.indent = t.dataTreeChildIndent || 9, this.loadingField = t.dataTreeLoadingField || "loading", this.hasMoreField = t.dataTreeHasMoreField || "hasMore", this.options("movableRows") && Hl && console.warn(
|
|
4644
4644
|
"The movableRows option is not available with dataTree enabled, moving of child rows could result in unpredictable behavior"
|
|
4645
|
-
), t.dataTreeBranchElement ? t.dataTreeBranchElement === !0 ? this.branchEl = B(
|
|
4645
|
+
), t.dataTreeBranchElement ? t.dataTreeBranchElement === !0 ? this.branchEl = B(Ol) : typeof t.dataTreeBranchElement == "string" ? (e = document.createElement("div"), e.innerHTML = P(t.dataTreeBranchElement), this.branchEl = e.firstChild) : this.branchEl = t.dataTreeBranchElement : this.branchEl = B(Al), t.dataTreeCollapseElement ? typeof t.dataTreeCollapseElement == "string" ? (e = document.createElement("div"), e.innerHTML = P(t.dataTreeCollapseElement), this.collapseEl = e.firstChild) : this.collapseEl = t.dataTreeCollapseElement : this.collapseEl = B(Ll), t.dataTreeExpandElement ? typeof t.dataTreeExpandElement == "string" ? (e = document.createElement("div"), e.innerHTML = P(t.dataTreeExpandElement), this.expandEl = e.firstChild) : this.expandEl = t.dataTreeExpandElement : this.expandEl = B(zl), typeof t.dataTreeStartExpanded) {
|
|
4646
4646
|
case "boolean":
|
|
4647
4647
|
this.startOpen = function() {
|
|
4648
4648
|
return t.dataTreeStartExpanded;
|
|
@@ -4742,7 +4742,7 @@ const zl = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
|
|
|
4742
4742
|
r.stopPropagation();
|
|
4743
4743
|
});
|
|
4744
4744
|
} else
|
|
4745
|
-
o = B(
|
|
4745
|
+
o = B(_l);
|
|
4746
4746
|
o.style.setProperty("margin-inline-end", `${this.indent}px`), o.style.setProperty("margin-inline-start", "0px"), e.modules.dataTree.controlEl = o, s && s.parentNode === t ? s.parentNode.replaceChild(o, s) : t.insertBefore(o, t.firstChild);
|
|
4747
4747
|
}
|
|
4748
4748
|
}
|
|
@@ -4804,7 +4804,7 @@ const zl = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
|
|
|
4804
4804
|
this.table.rowManager
|
|
4805
4805
|
);
|
|
4806
4806
|
i.create(), i.modules.dataTree.index = e, i.modules.dataTree.parent = t, i.modules.dataTree.children = !1, i.modules.dataTree.open = !0;
|
|
4807
|
-
const s = B(
|
|
4807
|
+
const s = B(Pl);
|
|
4808
4808
|
return i.getElement()?.classList.add("tabulator-tree-level-" + e), i.element.appendChild(s), s.style.setProperty(
|
|
4809
4809
|
"--tabulator-tree-level",
|
|
4810
4810
|
String(e + 1)
|
|
@@ -4833,7 +4833,7 @@ const zl = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
|
|
|
4833
4833
|
this.table.rowManager
|
|
4834
4834
|
);
|
|
4835
4835
|
i.create(), i.modules.dataTree.index = e, i.modules.dataTree.parent = t, i.modules.dataTree.children = !1, i.modules.dataTree.open = !0;
|
|
4836
|
-
const s = B(
|
|
4836
|
+
const s = B(Il);
|
|
4837
4837
|
return i.element.appendChild(s), i.getElement()?.classList.add("tabulator-tree-level-" + e), s.style.setProperty(
|
|
4838
4838
|
"--tabulator-tree-level",
|
|
4839
4839
|
String(e + 1)
|
|
@@ -4988,7 +4988,7 @@ const zl = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
|
|
|
4988
4988
|
};
|
|
4989
4989
|
vo.moduleName = "dataTree";
|
|
4990
4990
|
let xs = vo;
|
|
4991
|
-
const Qo = process.env.NODE_ENV === "development",
|
|
4991
|
+
const Qo = process.env.NODE_ENV === "development", Nl = function(n, e = {}, t) {
|
|
4992
4992
|
const i = e.delimiter ? e.delimiter : ",", s = [], o = [];
|
|
4993
4993
|
n.forEach((a) => {
|
|
4994
4994
|
const l = [];
|
|
@@ -5029,11 +5029,11 @@ const Qo = process.env.NODE_ENV === "development", Vl = function(n, e = {}, t) {
|
|
|
5029
5029
|
let r = s.join(`
|
|
5030
5030
|
`);
|
|
5031
5031
|
e.bom && (r = "\uFEFF" + r), t(r, "text/csv");
|
|
5032
|
-
},
|
|
5032
|
+
}, Vl = function(n, e, t) {
|
|
5033
5033
|
const i = this;
|
|
5034
5034
|
let s = "";
|
|
5035
5035
|
i.modExists("export", !0) && (s = i.modules.export?.generateHTMLTable(n) || ""), t(s, "text/html");
|
|
5036
|
-
}, er = process.env.NODE_ENV === "development",
|
|
5036
|
+
}, er = process.env.NODE_ENV === "development", Bl = function(n, e, t) {
|
|
5037
5037
|
const i = [];
|
|
5038
5038
|
n.forEach((o) => {
|
|
5039
5039
|
const r = {};
|
|
@@ -5059,7 +5059,7 @@ const Qo = process.env.NODE_ENV === "development", Vl = function(n, e = {}, t) {
|
|
|
5059
5059
|
});
|
|
5060
5060
|
const s = JSON.stringify(i, null, " ");
|
|
5061
5061
|
t(s, "application/json");
|
|
5062
|
-
}, tr = process.env.NODE_ENV === "development",
|
|
5062
|
+
}, tr = process.env.NODE_ENV === "development", $l = function(n, e, t) {
|
|
5063
5063
|
const i = [];
|
|
5064
5064
|
n.forEach((s) => {
|
|
5065
5065
|
const o = {};
|
|
@@ -5084,7 +5084,7 @@ const Qo = process.env.NODE_ENV === "development", Vl = function(n, e = {}, t) {
|
|
|
5084
5084
|
}
|
|
5085
5085
|
}), t(i.join(`
|
|
5086
5086
|
`), "application/x-ndjson");
|
|
5087
|
-
},
|
|
5087
|
+
}, Wl = process.env.NODE_ENV === "development", jl = function(n, e = {}, t) {
|
|
5088
5088
|
const i = this, s = [], o = [];
|
|
5089
5089
|
let r = {};
|
|
5090
5090
|
const a = e.rowGroupStyles || {
|
|
@@ -5139,7 +5139,7 @@ const Qo = process.env.NODE_ENV === "development", Vl = function(n, e = {}, t) {
|
|
|
5139
5139
|
});
|
|
5140
5140
|
const p = i.dependencyRegistry.lookup("jspdf", "jsPDF");
|
|
5141
5141
|
if (!p) {
|
|
5142
|
-
|
|
5142
|
+
Wl && console.error(
|
|
5143
5143
|
"Download Error - 'pdf' downloader requires jspdf library to be registered"
|
|
5144
5144
|
);
|
|
5145
5145
|
return;
|
|
@@ -5148,10 +5148,10 @@ const Qo = process.env.NODE_ENV === "development", Vl = function(n, e = {}, t) {
|
|
|
5148
5148
|
e.autoTable && (typeof e.autoTable == "function" ? r = e.autoTable(u) || {} : r = e.autoTable), c && (r.didDrawPage = function(f) {
|
|
5149
5149
|
u.text(c, 40, 30);
|
|
5150
5150
|
}), r.head = s, r.body = o, u.autoTable(r), e.documentProcessing && e.documentProcessing(u), t(u.output("arraybuffer"), "application/pdf");
|
|
5151
|
-
},
|
|
5151
|
+
}, Gl = process.env.NODE_ENV === "development", Ul = function(n, e, t) {
|
|
5152
5152
|
const i = this, s = e.sheetName || "Sheet1", o = i.dependencyRegistry.lookup("XLSX");
|
|
5153
5153
|
if (!o?.utils?.book_new) {
|
|
5154
|
-
|
|
5154
|
+
Gl && console.error(
|
|
5155
5155
|
"Download Error - 'xlsx' downloader requires XLSX library to be registered"
|
|
5156
5156
|
);
|
|
5157
5157
|
return;
|
|
@@ -5212,14 +5212,14 @@ const Qo = process.env.NODE_ENV === "development", Vl = function(n, e = {}, t) {
|
|
|
5212
5212
|
}
|
|
5213
5213
|
const u = o.write(r, h);
|
|
5214
5214
|
t(p(u), "application/octet-stream");
|
|
5215
|
-
},
|
|
5216
|
-
csv:
|
|
5217
|
-
html:
|
|
5218
|
-
json:
|
|
5219
|
-
jsonLines:
|
|
5220
|
-
pdf:
|
|
5221
|
-
xlsx:
|
|
5222
|
-
},
|
|
5215
|
+
}, Kl = {
|
|
5216
|
+
csv: Nl,
|
|
5217
|
+
html: Vl,
|
|
5218
|
+
json: Bl,
|
|
5219
|
+
jsonLines: $l,
|
|
5220
|
+
pdf: jl,
|
|
5221
|
+
xlsx: Ul
|
|
5222
|
+
}, ql = process.env.NODE_ENV === "development", ti = class ti extends I {
|
|
5223
5223
|
constructor(e) {
|
|
5224
5224
|
super(e), this.registerTableOption(
|
|
5225
5225
|
"downloadEncoder",
|
|
@@ -5246,7 +5246,7 @@ const Qo = process.env.NODE_ENV === "development", Vl = function(n, e = {}, t) {
|
|
|
5246
5246
|
const a = (l, h) => {
|
|
5247
5247
|
o ? o === !0 ? this.triggerDownload(l, h, e, t, !0) : o(l) : this.triggerDownload(l, h, e, t);
|
|
5248
5248
|
};
|
|
5249
|
-
if (typeof e == "function" ? r = e : ti.downloaders[e] ? r = ti.downloaders[e] :
|
|
5249
|
+
if (typeof e == "function" ? r = e : ti.downloaders[e] ? r = ti.downloaders[e] : ql && console.warn("Download Error - No such download type found: ", e), r) {
|
|
5250
5250
|
const l = this.generateExportList(s);
|
|
5251
5251
|
r.call(this.table, l, i || {}, a.bind(this));
|
|
5252
5252
|
}
|
|
@@ -5296,9 +5296,9 @@ const Qo = process.env.NODE_ENV === "development", Vl = function(n, e = {}, t) {
|
|
|
5296
5296
|
}
|
|
5297
5297
|
}
|
|
5298
5298
|
};
|
|
5299
|
-
ti.moduleName = "download", ti.downloaders =
|
|
5299
|
+
ti.moduleName = "download", ti.downloaders = Kl;
|
|
5300
5300
|
let Rs = ti;
|
|
5301
|
-
const
|
|
5301
|
+
const Xl = function(n, e, t, i, s = {}) {
|
|
5302
5302
|
const o = this, r = n._getSelf().column;
|
|
5303
5303
|
let a;
|
|
5304
5304
|
function l(d) {
|
|
@@ -5332,7 +5332,7 @@ const Jl = function(n, e, t, i, s = {}) {
|
|
|
5332
5332
|
i,
|
|
5333
5333
|
a || {}
|
|
5334
5334
|
) : !1;
|
|
5335
|
-
},
|
|
5335
|
+
}, Jl = process.env.NODE_ENV === "development", Yl = function(n, e, t, i, s) {
|
|
5336
5336
|
const o = s.format, r = s.verticalNavigation || "editor", a = typeof globalThis.window > "u" ? globalThis : window, l = o ? a.DateTime || a.luxon?.DateTime : null;
|
|
5337
5337
|
let h = n.getValue();
|
|
5338
5338
|
const c = document.createElement("input");
|
|
@@ -5365,7 +5365,7 @@ const Jl = function(n, e, t, i, s = {}) {
|
|
|
5365
5365
|
);
|
|
5366
5366
|
} else
|
|
5367
5367
|
c.setAttribute(f, s.elementAttributes[f]);
|
|
5368
|
-
h = h ?? "", o && (l ? h = p(h) :
|
|
5368
|
+
h = h ?? "", o && (l ? h = p(h) : Jl && console.error(
|
|
5369
5369
|
"Editor Error - 'date' editor 'format' param is dependent on luxon.js"
|
|
5370
5370
|
)), c.value = String(h), e(() => {
|
|
5371
5371
|
n.getType() === "cell" && (c.focus({ preventScroll: !0 }), c.style.height = "100%", s.selectContents && c.select());
|
|
@@ -5412,7 +5412,7 @@ const Jl = function(n, e, t, i, s = {}) {
|
|
|
5412
5412
|
break;
|
|
5413
5413
|
}
|
|
5414
5414
|
}), c;
|
|
5415
|
-
},
|
|
5415
|
+
}, Zl = process.env.NODE_ENV === "development", Ql = function(n, e, t, i, s) {
|
|
5416
5416
|
const o = this, r = s.format, a = s.verticalNavigation || "editor", l = r ? o.table.dependencyRegistry.lookup(["luxon", "DateTime"], "DateTime") : null;
|
|
5417
5417
|
let h, c = n.getValue();
|
|
5418
5418
|
const d = document.createElement("input");
|
|
@@ -5426,7 +5426,7 @@ const Jl = function(n, e, t, i, s = {}) {
|
|
|
5426
5426
|
);
|
|
5427
5427
|
} else
|
|
5428
5428
|
d.setAttribute(u, s.elementAttributes[u]);
|
|
5429
|
-
c = c ?? "", r && l ? (l.isDateTime?.(c) ? h = c : r === "iso" ? h = l.fromISO(String(c)) : h = l.fromFormat(String(c), r), c = h.toFormat("yyyy-MM-dd") + "T" + h.toFormat("HH:mm")) : r && !l &&
|
|
5429
|
+
c = c ?? "", r && l ? (l.isDateTime?.(c) ? h = c : r === "iso" ? h = l.fromISO(String(c)) : h = l.fromFormat(String(c), r), c = h.toFormat("yyyy-MM-dd") + "T" + h.toFormat("HH:mm")) : r && !l && Zl && console.error(
|
|
5430
5430
|
"Editor Error - 'datetime' editor 'format' param is dependent on luxon.js"
|
|
5431
5431
|
), d.value = String(c), e(() => {
|
|
5432
5432
|
n.getType() === "cell" && (d.focus({ preventScroll: !0 }), d.style.height = "100%", s.selectContents && d.select());
|
|
@@ -5510,7 +5510,7 @@ function po(n, e) {
|
|
|
5510
5510
|
(a.keyCode || 0) > 46 && e.maskAutoFill && r(n.value.length);
|
|
5511
5511
|
}), n.placeholder || (n.placeholder = t), e.maskAutoFill && r(n.value.length);
|
|
5512
5512
|
}
|
|
5513
|
-
const
|
|
5513
|
+
const eh = function(n, e, t, i, s) {
|
|
5514
5514
|
let o = n.getValue();
|
|
5515
5515
|
const r = document.createElement("input");
|
|
5516
5516
|
if (r.setAttribute(
|
|
@@ -5551,12 +5551,12 @@ const th = function(n, e, t, i, s) {
|
|
|
5551
5551
|
break;
|
|
5552
5552
|
}
|
|
5553
5553
|
}), s.mask && po(r, s), r;
|
|
5554
|
-
},
|
|
5554
|
+
}, th = process.env.NODE_ENV === "development";
|
|
5555
5555
|
let on = null;
|
|
5556
|
-
function
|
|
5556
|
+
function ih(n) {
|
|
5557
5557
|
on = n;
|
|
5558
5558
|
}
|
|
5559
|
-
const
|
|
5559
|
+
const sh = {
|
|
5560
5560
|
/**
|
|
5561
5561
|
* @param explicitRegistry - When provided, that map is used. When omitted, uses the registry set
|
|
5562
5562
|
* by {@link setDefaultFormattersRegistry}
|
|
@@ -5570,7 +5570,7 @@ const oh = {
|
|
|
5570
5570
|
let i;
|
|
5571
5571
|
switch (typeof n) {
|
|
5572
5572
|
case "string":
|
|
5573
|
-
t[n] ? i = t[n] : (
|
|
5573
|
+
t[n] ? i = t[n] : (th && console.warn("Formatter Error - No such formatter found: ", n), i = t.plaintext);
|
|
5574
5574
|
break;
|
|
5575
5575
|
case "function":
|
|
5576
5576
|
i = n;
|
|
@@ -5583,9 +5583,9 @@ const oh = {
|
|
|
5583
5583
|
}
|
|
5584
5584
|
};
|
|
5585
5585
|
function Yi(n, e) {
|
|
5586
|
-
return
|
|
5586
|
+
return sh.lookupFormatter(n, e);
|
|
5587
5587
|
}
|
|
5588
|
-
function
|
|
5588
|
+
function oh(n, e = {}, t) {
|
|
5589
5589
|
let i;
|
|
5590
5590
|
function s(a) {
|
|
5591
5591
|
const l = a.getValue();
|
|
@@ -5604,7 +5604,7 @@ function rh(n, e = {}, t) {
|
|
|
5604
5604
|
const o = e.formatterLookup ? e.formatterLookup(n) : s(n);
|
|
5605
5605
|
return e.paramsLookup && (i = typeof e.paramsLookup == "function" ? e.paramsLookup(o, n) : e.paramsLookup[o]), Yi(o).call(this, n, i || {}, t);
|
|
5606
5606
|
}
|
|
5607
|
-
function
|
|
5607
|
+
function rh(n, e, t) {
|
|
5608
5608
|
const i = e.delimiter ?? ",";
|
|
5609
5609
|
let s = n.getValue();
|
|
5610
5610
|
const o = this.table;
|
|
@@ -5617,32 +5617,32 @@ function nh(n, e, t) {
|
|
|
5617
5617
|
));
|
|
5618
5618
|
} : r = e.valueMap), Array.isArray(s) ? (r && (s = r(s)), s.join(i)) : s;
|
|
5619
5619
|
}
|
|
5620
|
-
function
|
|
5620
|
+
function nh(n, e) {
|
|
5621
5621
|
const t = e ?? {}, i = n.getValue(), s = i != null && i !== "", o = !!t.initials;
|
|
5622
5622
|
return !s && !o ? "" : B(x`<cx-avatar image=${Z(s ? String(i) : void 0)} initials=${Z(t.initials)} label=${Z(t.label)} shape=${Z(t.shape)} style="--size: ${t.size ?? "2rem"}"></cx-avatar>`);
|
|
5623
5623
|
}
|
|
5624
|
-
function
|
|
5624
|
+
function ah(n, e, t) {
|
|
5625
5625
|
return '<svg enable-background="new 0 0 24 24" height="14" width="14" viewBox="0 0 24 24" xml:space="preserve" ><path fill="#CE1515" d="M22.245,4.015c0.313,0.313,0.313,0.826,0,1.139l-6.276,6.27c-0.313,0.312-0.313,0.826,0,1.14l6.273,6.272 c0.313,0.313,0.313,0.826,0,1.14l-2.285,2.277c-0.314,0.312-0.828,0.312-1.142,0l-6.271-6.271c-0.313-0.313-0.828-0.313-1.141,0 l-6.276,6.267c-0.313,0.313-0.828,0.313-1.141,0l-2.282-2.28c-0.313-0.313-0.313-0.826,0-1.14l6.278-6.269 c0.313-0.312,0.313-0.826,0-1.14L1.709,5.147c-0.314-0.313-0.314-0.827,0-1.14l2.284-2.278C4.308,1.417,4.821,1.417,5.135,1.73 L11.405,8c0.314,0.314,0.828,0.314,1.141,0.001l6.276-6.267c0.312-0.312,0.826-0.312,1.141,0L22.245,4.015z"/></svg>';
|
|
5626
5626
|
}
|
|
5627
|
-
function
|
|
5627
|
+
function lh(n, e, t) {
|
|
5628
5628
|
return '<svg enable-background="new 0 0 24 24" height="14" width="14" viewBox="0 0 24 24" xml:space="preserve" ><path fill="#2DC214" clip-rule="evenodd" d="M21.652,3.211c-0.293-0.295-0.77-0.295-1.061,0L9.41,14.34 c-0.293,0.297-0.771,0.297-1.062,0L3.449,9.351C3.304,9.203,3.114,9.13,2.923,9.129C2.73,9.128,2.534,9.201,2.387,9.351 l-2.165,1.946C0.078,11.445,0,11.63,0,11.823c0,0.194,0.078,0.397,0.223,0.544l4.94,5.184c0.292,0.296,0.771,0.776,1.062,1.07 l2.124,2.141c0.292,0.293,0.769,0.293,1.062,0l14.366-14.34c0.293-0.294,0.293-0.777,0-1.071L21.652,3.211z" fill-rule="evenodd"/></svg>';
|
|
5629
5629
|
}
|
|
5630
|
-
function
|
|
5630
|
+
function hh(n, e, t) {
|
|
5631
5631
|
const i = n.getContentElement?.() ?? n.getElement(), s = n.getValue();
|
|
5632
|
-
return i && (
|
|
5632
|
+
return i && (ch(s) ? i.style.backgroundColor = s : i.style.backgroundColor = ""), "";
|
|
5633
5633
|
}
|
|
5634
|
-
function
|
|
5634
|
+
function ch(n) {
|
|
5635
5635
|
return !n || typeof n != "string" ? !1 : /^(#[0-9A-Fa-f]{3,8}|rgb\(|rgba\(|hsl\(|hsla\(|[a-z]+)$/i.test(n.trim());
|
|
5636
5636
|
}
|
|
5637
|
-
const
|
|
5638
|
-
function
|
|
5637
|
+
const dh = x`<span style="display: inline-flex; align-items: center;"></span>`;
|
|
5638
|
+
function uh({
|
|
5639
5639
|
spacing: n,
|
|
5640
5640
|
style: e
|
|
5641
5641
|
}) {
|
|
5642
|
-
const t = B(
|
|
5642
|
+
const t = B(dh);
|
|
5643
5643
|
return n && (t.style.margin = n), e && Object.assign(t.style, e), t;
|
|
5644
5644
|
}
|
|
5645
|
-
function
|
|
5645
|
+
function ph(n, e, t) {
|
|
5646
5646
|
const i = Yi("plaintext"), s = {
|
|
5647
5647
|
style: {
|
|
5648
5648
|
color: "var(--cx-color-neutral-500)",
|
|
@@ -5684,7 +5684,7 @@ function or({
|
|
|
5684
5684
|
}) {
|
|
5685
5685
|
return e.value !== void 0 ? e.value : e.getValue ? e.getValue(n, t) : e.field ? Q.retrieveNestedData(i, e.field, t) : n.getValue();
|
|
5686
5686
|
}
|
|
5687
|
-
function
|
|
5687
|
+
function fh(n, e, t) {
|
|
5688
5688
|
if (!e?.elements || !Array.isArray(e.elements) || e.elements.length === 0)
|
|
5689
5689
|
return;
|
|
5690
5690
|
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) => {
|
|
@@ -5700,7 +5700,7 @@ function mh(n, e, t) {
|
|
|
5700
5700
|
return L.valueMap && (Y = L.valueMap[String(Y)] ?? Y), !sr(Y);
|
|
5701
5701
|
});
|
|
5702
5702
|
if (sr(r) && !a && e.placeholder !== void 0)
|
|
5703
|
-
return
|
|
5703
|
+
return ph.call(this, n, e, t);
|
|
5704
5704
|
const h = n.getRow(), {
|
|
5705
5705
|
align: c,
|
|
5706
5706
|
block: d,
|
|
@@ -5746,7 +5746,7 @@ function mh(n, e, t) {
|
|
|
5746
5746
|
}
|
|
5747
5747
|
if (S == null)
|
|
5748
5748
|
return;
|
|
5749
|
-
const _ =
|
|
5749
|
+
const _ = uh({
|
|
5750
5750
|
spacing: L.spacing,
|
|
5751
5751
|
style: L.style
|
|
5752
5752
|
});
|
|
@@ -5762,24 +5762,24 @@ function mh(n, e, t) {
|
|
|
5762
5762
|
return typeof Y == "string" ? C.textContent = Y : C.appendChild(Y.cloneNode(!0)), [z, C];
|
|
5763
5763
|
}).forEach((L) => k.appendChild(L)), k);
|
|
5764
5764
|
}
|
|
5765
|
-
function
|
|
5765
|
+
function mh(n) {
|
|
5766
5766
|
if (n == null || n === "")
|
|
5767
5767
|
return;
|
|
5768
5768
|
const e = n instanceof Date ? n : new Date(typeof n == "number" ? n : String(n));
|
|
5769
5769
|
return isNaN(e.getTime()) ? void 0 : e;
|
|
5770
5770
|
}
|
|
5771
|
-
function
|
|
5772
|
-
const t = e ?? {}, i =
|
|
5771
|
+
function gh(n, e) {
|
|
5772
|
+
const t = e ?? {}, i = mh(n.getValue());
|
|
5773
5773
|
return i === void 0 ? "" : B(x`<cx-format-date date=${i.toISOString()} weekday=${Z(t.weekday)} era=${Z(t.era)} year=${Z(t.year)} month=${Z(t.month)} day=${Z(t.day)} hour=${Z(t.hour)} minute=${Z(t.minute)} second=${Z(t.second)} time-zone-name=${Z(t.timeZoneName)} time-zone=${Z(t.timeZone)} hour-format=${Z(t.hourFormat)} ?no-datetime-separator=${t.noDatetimeSeparator ?? !1}></cx-format-date>`);
|
|
5774
5774
|
}
|
|
5775
|
-
const
|
|
5776
|
-
function
|
|
5775
|
+
const bh = process.env.NODE_ENV === "development";
|
|
5776
|
+
function wh(n, e, t) {
|
|
5777
5777
|
const i = this.table.dependencyRegistry.lookup(
|
|
5778
5778
|
["luxon", "DateTime"],
|
|
5779
5779
|
"DateTime"
|
|
5780
5780
|
), s = e.inputFormat || "yyyy-MM-dd HH:mm:ss", o = e.outputFormat || "dd/MM/yyyy HH:mm:ss", r = e.invalidPlaceholder ?? "", a = n.getValue();
|
|
5781
5781
|
if (i == null)
|
|
5782
|
-
return
|
|
5782
|
+
return bh && console.error(
|
|
5783
5783
|
"Format Error - 'datetime' formatter is dependent on luxon.js"
|
|
5784
5784
|
), a;
|
|
5785
5785
|
{
|
|
@@ -5787,14 +5787,14 @@ function vh(n, e, t) {
|
|
|
5787
5787
|
return i.isDateTime(a) ? l = a : s === "iso" ? l = i.fromISO(String(a)) : l = i.fromFormat(String(a), s), l.isValid ? (e.timezone && (l = l.setZone(e.timezone)), l.toFormat(o)) : r === !0 || !a ? a : typeof r == "function" ? r(a) : r;
|
|
5788
5788
|
}
|
|
5789
5789
|
}
|
|
5790
|
-
const
|
|
5791
|
-
function
|
|
5790
|
+
const vh = process.env.NODE_ENV === "development";
|
|
5791
|
+
function yh(n, e, t) {
|
|
5792
5792
|
const i = this.table.dependencyRegistry.lookup(
|
|
5793
5793
|
["luxon", "DateTime"],
|
|
5794
5794
|
"DateTime"
|
|
5795
5795
|
), s = e.inputFormat || "yyyy-MM-dd HH:mm:ss", o = e.invalidPlaceholder ?? "", r = e.suffix === void 0 || e.suffix === null ? !1 : e.suffix, a = e.unit === void 0 || e.unit === null ? "days" : e.unit, l = e.humanize === void 0 || e.humanize === null ? !1 : e.humanize, h = n.getValue();
|
|
5796
5796
|
if (i == null)
|
|
5797
|
-
return
|
|
5797
|
+
return vh && console.error(
|
|
5798
5798
|
"Format Error - 'datetimediff' formatter is dependent on luxon.js"
|
|
5799
5799
|
), o;
|
|
5800
5800
|
{
|
|
@@ -5806,24 +5806,24 @@ function Ch(n, e, t) {
|
|
|
5806
5806
|
function rr(n, e) {
|
|
5807
5807
|
return n == null ? "" : Array.isArray(n) ? n.join(e) : String(n);
|
|
5808
5808
|
}
|
|
5809
|
-
function
|
|
5809
|
+
function Ch(n, e) {
|
|
5810
5810
|
const t = e ?? {}, i = t.arraySeparator ?? ", ", s = (c) => typeof c == "function" ? c(n) : c, o = rr(s(t.newValue) ?? n.getValue(), i), r = rr(s(t.oldValue) ?? "", i), a = $o(r), l = $o(o), h = a && l ? `${a} ${l}` : l || a;
|
|
5811
5811
|
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
5812
|
}
|
|
5813
|
-
function
|
|
5813
|
+
function Eh(n, e, t) {
|
|
5814
5814
|
const i = n.getElement();
|
|
5815
5815
|
return i && i.classList.add("tabulator-row-handle"), "<div class='tabulator-row-handle-box'><div class='tabulator-row-handle-bar'></div><div class='tabulator-row-handle-bar'></div><div class='tabulator-row-handle-bar'></div></div>";
|
|
5816
5816
|
}
|
|
5817
|
-
function
|
|
5817
|
+
function xh(n, e, t) {
|
|
5818
5818
|
return n.getValue();
|
|
5819
5819
|
}
|
|
5820
|
-
const
|
|
5821
|
-
function
|
|
5820
|
+
const Rh = x`<cx-icon></cx-icon>`;
|
|
5821
|
+
function Sh(n, e) {
|
|
5822
5822
|
const t = n.getValue(), i = e ?? {};
|
|
5823
5823
|
let s;
|
|
5824
5824
|
if (i.getIcon ? s = i.getIcon(t) : typeof i.icon == "function" ? s = i.icon(t) : i.iconMap ? s = i.iconMap[t] : i.icon ? s = i.icon : s = t ? String(t) : void 0, !s)
|
|
5825
5825
|
return;
|
|
5826
|
-
const o = B(
|
|
5826
|
+
const o = B(Rh);
|
|
5827
5827
|
if (o.name = s, i.size !== void 0)
|
|
5828
5828
|
switch (typeof i.size) {
|
|
5829
5829
|
case "number":
|
|
@@ -5835,12 +5835,12 @@ function kh(n, e) {
|
|
|
5835
5835
|
}
|
|
5836
5836
|
return i.class && (o.className = i.class), i.style && Object.assign(o.style, i.style), o;
|
|
5837
5837
|
}
|
|
5838
|
-
const
|
|
5839
|
-
function
|
|
5838
|
+
const kh = x`<div style="display: flex; align-items: center; justify-content: center;"><img style="max-width: 100%; max-height: 100%; object-fit: cover;"></div>`;
|
|
5839
|
+
function Th(n, e) {
|
|
5840
5840
|
let t = n.getValue();
|
|
5841
5841
|
if (!t)
|
|
5842
5842
|
return null;
|
|
5843
|
-
const i = B(
|
|
5843
|
+
const i = B(kh), s = i.querySelector("img"), o = e ?? {};
|
|
5844
5844
|
switch (o.urlPrefix && (t = o.urlPrefix + n.getValue()), o.urlSuffix && (t = t + o.urlSuffix), s.setAttribute("src", String(t)), typeof o.height) {
|
|
5845
5845
|
case "number":
|
|
5846
5846
|
i.style.height = o.height + "px";
|
|
@@ -5861,8 +5861,8 @@ function Dh(n, e) {
|
|
|
5861
5861
|
n.getRow()?.normalizeHeight();
|
|
5862
5862
|
}), i;
|
|
5863
5863
|
}
|
|
5864
|
-
const
|
|
5865
|
-
function
|
|
5864
|
+
const Dh = process.env.NODE_ENV === "development";
|
|
5865
|
+
function Mh(n, e, t) {
|
|
5866
5866
|
const {
|
|
5867
5867
|
indent: i = " ",
|
|
5868
5868
|
multiline: s = !0,
|
|
@@ -5875,11 +5875,11 @@ function Fh(n, e, t) {
|
|
|
5875
5875
|
try {
|
|
5876
5876
|
return JSON.stringify(r, o, i);
|
|
5877
5877
|
} catch (a) {
|
|
5878
|
-
return
|
|
5878
|
+
return Dh && console.warn("JSON Format Error - Failed to format value", a), String(r);
|
|
5879
5879
|
}
|
|
5880
5880
|
}
|
|
5881
|
-
const
|
|
5882
|
-
function
|
|
5881
|
+
const Fh = process.env.NODE_ENV === "development";
|
|
5882
|
+
function Lh(n, e, t) {
|
|
5883
5883
|
let i = n.getValue();
|
|
5884
5884
|
const s = e.urlPrefix || "";
|
|
5885
5885
|
let o = e.download, r = i;
|
|
@@ -5919,7 +5919,7 @@ function zh(n, e, t) {
|
|
|
5919
5919
|
break;
|
|
5920
5920
|
}
|
|
5921
5921
|
const c = String(s + i), d = document.createElement("a");
|
|
5922
|
-
d.href = c, ["http:", "https:", "mailto:", "tel:", ""].includes(d.protocol) || c.startsWith("#") ? a.setAttribute("href", c) : (
|
|
5922
|
+
d.href = c, ["http:", "https:", "mailto:", "tel:", ""].includes(d.protocol) || c.startsWith("#") ? a.setAttribute("href", c) : (Fh && console.warn("Link formatter blocked potentially unsafe URL:", c), a.setAttribute("href", "#")), e.target && a.setAttribute("target", e.target), e.rel && a.setAttribute("rel", e.rel), e.download && (typeof o == "function" ? o = o(n) : o = o === !0 ? "" : o, a.setAttribute("download", String(o))), a.innerHTML = Ui(P(r));
|
|
5923
5923
|
const u = B(
|
|
5924
5924
|
x`<cx-line-clamp lines="1"></cx-line-clamp>`
|
|
5925
5925
|
);
|
|
@@ -5927,12 +5927,12 @@ function zh(n, e, t) {
|
|
|
5927
5927
|
} else
|
|
5928
5928
|
return " ";
|
|
5929
5929
|
}
|
|
5930
|
-
const
|
|
5931
|
-
function
|
|
5930
|
+
const zh = process.env.NODE_ENV === "development";
|
|
5931
|
+
function _h(n, e, t) {
|
|
5932
5932
|
const i = n.getValue();
|
|
5933
|
-
return !e || typeof e != "object" && typeof e != "function" || e[i] === void 0 || e[i] === null ? (
|
|
5933
|
+
return !e || typeof e != "object" && typeof e != "function" || e[i] === void 0 || e[i] === null ? (zh && console.warn("Missing display value for " + i), i) : e[i];
|
|
5934
5934
|
}
|
|
5935
|
-
function
|
|
5935
|
+
function Oh(n, e, t) {
|
|
5936
5936
|
let i = parseFloat(n.getValue()), s = "", o, r, a, l;
|
|
5937
5937
|
const h = e.decimal || ".", c = e.thousand || ",", d = e.negativeSign || "-", p = e.symbol || "", u = !!e.symbolAfter, f = typeof e.precision < "u" ? e.precision : 2;
|
|
5938
5938
|
if (isNaN(i))
|
|
@@ -5944,15 +5944,15 @@ function Ah(n, e, t) {
|
|
|
5944
5944
|
r = r.replace(a, "$1" + c + "$2");
|
|
5945
5945
|
return l = r + w, e.negativeSign === !0 ? (l = "(" + l + ")", u ? l + p : p + l) : u ? s + l + p : s + p + l;
|
|
5946
5946
|
}
|
|
5947
|
-
const
|
|
5948
|
-
function
|
|
5947
|
+
const Ah = x`<cx-format-number></cx-format-number>`;
|
|
5948
|
+
function Ph(n, e) {
|
|
5949
5949
|
const t = n.getValue();
|
|
5950
5950
|
if (t == null || t === "")
|
|
5951
5951
|
return;
|
|
5952
5952
|
const i = Number(t);
|
|
5953
5953
|
if (Number.isNaN(i))
|
|
5954
5954
|
return;
|
|
5955
|
-
const s = e ?? {}, o = B(
|
|
5955
|
+
const s = e ?? {}, o = B(Ah);
|
|
5956
5956
|
o.value = i;
|
|
5957
5957
|
for (const r of Object.keys(s)) {
|
|
5958
5958
|
const a = s[r];
|
|
@@ -5960,14 +5960,14 @@ function Ih(n, e) {
|
|
|
5960
5960
|
}
|
|
5961
5961
|
return o;
|
|
5962
5962
|
}
|
|
5963
|
-
function
|
|
5963
|
+
function Ih(n, e) {
|
|
5964
5964
|
let t = Ui(P(lo(n.getValue())));
|
|
5965
5965
|
const i = e ?? {};
|
|
5966
5966
|
i.prefix && (t = i.prefix + t), i.suffix && (t = t + i.suffix);
|
|
5967
5967
|
const s = x`<cx-line-clamp lines="1"><span style=${ft(i.style ?? {})}>${t}</span></cx-line-clamp>`;
|
|
5968
5968
|
return B(s);
|
|
5969
5969
|
}
|
|
5970
|
-
function
|
|
5970
|
+
function Hh(n, e = {}, t) {
|
|
5971
5971
|
const i = P(n.getValue()) || 0, s = n.getElement(), o = e.max ? e.max : 100, r = e.min ? e.min : 0, a = e.legendAlign ? e.legendAlign : "center";
|
|
5972
5972
|
let l, h, c = !1, d;
|
|
5973
5973
|
l = parseFloat(String(i)) <= o ? parseFloat(String(i)) : o, l = parseFloat(String(l)) >= r ? parseFloat(String(l)) : r;
|
|
@@ -6046,13 +6046,13 @@ function Nh(n, e = {}, t) {
|
|
|
6046
6046
|
E && (E.appendChild(f), f.appendChild(u), c && w && f.appendChild(w));
|
|
6047
6047
|
}), "";
|
|
6048
6048
|
}
|
|
6049
|
-
function
|
|
6049
|
+
function Nh(n, e = {}, t) {
|
|
6050
6050
|
const i = document.createElement("span"), s = n.getRow(), o = n.getTable();
|
|
6051
6051
|
return s.watchPosition((r) => {
|
|
6052
6052
|
e.relativeToPage && o.modules.page && (r += o.modules.page.getPageSize() * (o.modules.page.getPage() - 1)), i.innerText = String(r);
|
|
6053
6053
|
}), i;
|
|
6054
6054
|
}
|
|
6055
|
-
function
|
|
6055
|
+
function Vh(n, e, t) {
|
|
6056
6056
|
let i = n.getValue();
|
|
6057
6057
|
const s = n.getElement(), o = n.getContentElement?.() ?? s, r = e && e.stars ? e.stars : 5, a = document.createElement("span"), l = document.createElementNS("http://www.w3.org/2000/svg", "svg"), h = '<polygon fill="#FFEA00" stroke="#C1AB60" stroke-width="37.6152" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" points="259.216,29.942 330.27,173.919 489.16,197.007 374.185,309.08 401.33,467.31 259.216,392.612 117.104,467.31 144.25,309.08 29.274,197.007 188.165,173.919 "/>', c = '<polygon fill="#D2D2D2" stroke="#686868" stroke-width="37.6152" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" points="259.216,29.942 330.27,173.919 489.16,197.007 374.185,309.08 401.33,467.31 259.216,392.612 117.104,467.31 144.25,309.08 29.274,197.007 188.165,173.919 "/>';
|
|
6058
6058
|
a.style.verticalAlign = "middle", l.setAttribute("width", "14"), l.setAttribute("height", "14"), l.setAttribute("viewBox", "0 0 512 512"), l.setAttribute("xml:space", "preserve"), l.style.padding = "0 1px";
|
|
@@ -6064,12 +6064,12 @@ function Bh(n, e, t) {
|
|
|
6064
6064
|
}
|
|
6065
6065
|
return o && (o.style.whiteSpace = "nowrap", o.style.overflow = "hidden", o.style.textOverflow = "ellipsis"), s && s.setAttribute("aria-label", String(i)), a;
|
|
6066
6066
|
}
|
|
6067
|
-
const nr = "cx-table-switch-change",
|
|
6068
|
-
function
|
|
6067
|
+
const nr = "cx-table-switch-change", Bh = x`<cx-switch></cx-switch>`;
|
|
6068
|
+
function $h(n) {
|
|
6069
6069
|
const e = Object.prototype.hasOwnProperty.call(n, "onValue") ? n.onValue : !0;
|
|
6070
6070
|
return { offValue: Object.prototype.hasOwnProperty.call(n, "offValue") ? n.offValue : !1, onValue: e };
|
|
6071
6071
|
}
|
|
6072
|
-
function
|
|
6072
|
+
function Wh(n, e) {
|
|
6073
6073
|
const t = n.getTable().element, i = t.getRootNode(), s = i instanceof ShadowRoot ? i.host : null;
|
|
6074
6074
|
if (s && typeof s.emit == "function") {
|
|
6075
6075
|
s.emit(nr, { detail: e });
|
|
@@ -6083,40 +6083,40 @@ function jh(n, e) {
|
|
|
6083
6083
|
})
|
|
6084
6084
|
);
|
|
6085
6085
|
}
|
|
6086
|
-
function
|
|
6086
|
+
function jh(n) {
|
|
6087
6087
|
n.addEventListener("click", (e) => {
|
|
6088
6088
|
e.stopPropagation();
|
|
6089
6089
|
}), n.addEventListener("keydown", (e) => {
|
|
6090
6090
|
(e.key === "ArrowLeft" || e.key === "ArrowRight") && e.stopPropagation();
|
|
6091
6091
|
});
|
|
6092
6092
|
}
|
|
6093
|
-
function
|
|
6094
|
-
n.checked = e.getValue() === t, n.setAttribute("aria-label", "Toggle"),
|
|
6093
|
+
function Gh(n, e, t, i) {
|
|
6094
|
+
n.checked = e.getValue() === t, n.setAttribute("aria-label", "Toggle"), jh(n), n.addEventListener("cx-change", () => {
|
|
6095
6095
|
if (n.disabled)
|
|
6096
6096
|
return;
|
|
6097
6097
|
const s = n.checked, o = s ? t : i;
|
|
6098
6098
|
if (e.getValue() === o)
|
|
6099
6099
|
return;
|
|
6100
6100
|
const r = e.getRow();
|
|
6101
|
-
e.setValue(o),
|
|
6101
|
+
e.setValue(o), Wh(e, {
|
|
6102
6102
|
checked: s,
|
|
6103
6103
|
data: r.getData(),
|
|
6104
6104
|
field: e.getField()
|
|
6105
6105
|
});
|
|
6106
6106
|
});
|
|
6107
6107
|
}
|
|
6108
|
-
function
|
|
6108
|
+
function Uh(n, e) {
|
|
6109
6109
|
if (n.getType() === "header") {
|
|
6110
6110
|
const r = document.createElement("span");
|
|
6111
6111
|
return r.textContent = String(n.getValue() ?? ""), r;
|
|
6112
6112
|
}
|
|
6113
|
-
const t = B(
|
|
6113
|
+
const t = B(Bh), { offValue: i, onValue: s } = $h(e);
|
|
6114
6114
|
e.size && (t.size = e.size);
|
|
6115
6115
|
const o = typeof e.disabled == "function" ? e.disabled : () => !1;
|
|
6116
|
-
return t.disabled = o(n),
|
|
6116
|
+
return t.disabled = o(n), Gh(t, n, s, i), t;
|
|
6117
6117
|
}
|
|
6118
|
-
const
|
|
6119
|
-
function
|
|
6118
|
+
const Kh = x`<cx-tag></cx-tag>`;
|
|
6119
|
+
function qh(n, e) {
|
|
6120
6120
|
const t = n.getValue();
|
|
6121
6121
|
if (t == null || t === "")
|
|
6122
6122
|
return;
|
|
@@ -6125,26 +6125,26 @@ function Xh(n, e) {
|
|
|
6125
6125
|
removable: !1,
|
|
6126
6126
|
size: "medium",
|
|
6127
6127
|
variant: "neutral"
|
|
6128
|
-
}, s = B(
|
|
6128
|
+
}, s = B(Kh);
|
|
6129
6129
|
return Object.assign(s, i), s.textContent = e?.getTagContent?.(t) ?? e?.tagContentMap?.[t] ?? String(t), s;
|
|
6130
6130
|
}
|
|
6131
|
-
function
|
|
6131
|
+
function Xh(n) {
|
|
6132
6132
|
return Ui(P(lo(n.getValue())));
|
|
6133
6133
|
}
|
|
6134
|
-
function
|
|
6134
|
+
function Jh(n, e, t) {
|
|
6135
6135
|
const i = n.getValue(), s = n.getElement(), o = e.allowEmpty, r = e.allowTruthy, a = Object.prototype.hasOwnProperty.call(
|
|
6136
6136
|
e,
|
|
6137
6137
|
"trueValue"
|
|
6138
6138
|
), l = (typeof e.tickElement == "string" ? P(e.tickElement) : e.tickElement) ?? '<svg enable-background="new 0 0 24 24" height="14" width="14" viewBox="0 0 24 24" xml:space="preserve" ><path fill="#2DC214" clip-rule="evenodd" d="M21.652,3.211c-0.293-0.295-0.77-0.295-1.061,0L9.41,14.34 c-0.293,0.297-0.771,0.297-1.062,0L3.449,9.351C3.304,9.203,3.114,9.13,2.923,9.129C2.73,9.128,2.534,9.201,2.387,9.351 l-2.165,1.946C0.078,11.445,0,11.63,0,11.823c0,0.194,0.078,0.397,0.223,0.544l4.94,5.184c0.292,0.296,0.771,0.776,1.062,1.07 l2.124,2.141c0.292,0.293,0.769,0.293,1.062,0l14.366-14.34c0.293-0.294,0.293-0.777,0-1.071L21.652,3.211z" fill-rule="evenodd"/></svg>', h = (typeof e.crossElement == "string" ? P(e.crossElement) : e.crossElement) ?? '<svg enable-background="new 0 0 24 24" height="14" width="14" viewBox="0 0 24 24" xml:space="preserve" ><path fill="#CE1515" d="M22.245,4.015c0.313,0.313,0.313,0.826,0,1.139l-6.276,6.27c-0.313,0.312-0.313,0.826,0,1.14l6.273,6.272 c0.313,0.313,0.313,0.826,0,1.14l-2.285,2.277c-0.314,0.312-0.828,0.312-1.142,0l-6.271-6.271c-0.313-0.313-0.828-0.313-1.141,0 l-6.276,6.267c-0.313,0.313-0.828,0.313-1.141,0l-2.282-2.28c-0.313-0.313-0.313-0.826,0-1.14l6.278-6.269 c0.313-0.312,0.313-0.826,0-1.14L1.709,5.147c-0.314-0.313-0.314-0.827,0-1.14l2.284-2.278C4.308,1.417,4.821,1.417,5.135,1.73 L11.405,8c0.314,0.314,0.828,0.314,1.141,0.001l6.276-6.267c0.312-0.312,0.826-0.312,1.141,0L22.245,4.015z"/></svg>';
|
|
6139
6139
|
return a && i === e.trueValue || !a && (r && i || i === !0 || i === "true" || i === "True" || i === 1 || i === "1") ? (s && s.setAttribute("aria-checked", "true"), l || "") : o && (i === "null" || i === "" || i === null || typeof i > "u") ? (s && s.setAttribute("aria-checked", "mixed"), "") : (s && s.setAttribute("aria-checked", "false"), h || "");
|
|
6140
6140
|
}
|
|
6141
|
-
function
|
|
6141
|
+
function Yh(n) {
|
|
6142
6142
|
if (n == null || n === "")
|
|
6143
6143
|
return null;
|
|
6144
6144
|
const e = Number(n);
|
|
6145
6145
|
return Number.isFinite(e) ? e : null;
|
|
6146
6146
|
}
|
|
6147
|
-
function
|
|
6147
|
+
function Zh(n, e) {
|
|
6148
6148
|
const t = e.getValue(), i = e.getRow().getData(), {
|
|
6149
6149
|
getParams: s,
|
|
6150
6150
|
paramsMap: o,
|
|
@@ -6157,17 +6157,17 @@ function Qh(n, e) {
|
|
|
6157
6157
|
...c
|
|
6158
6158
|
};
|
|
6159
6159
|
}
|
|
6160
|
-
function
|
|
6160
|
+
function Qh(n) {
|
|
6161
6161
|
const e = {
|
|
6162
6162
|
...n.style ?? {}
|
|
6163
6163
|
};
|
|
6164
6164
|
return n.color && (e["--cx-format-time-color"] = n.color), n.fontSize && (e["--cx-format-time-font-size"] = n.fontSize), n.fontWeight && (e["--cx-format-time-font-weight"] = n.fontWeight), e;
|
|
6165
6165
|
}
|
|
6166
|
-
function
|
|
6167
|
-
const t =
|
|
6166
|
+
function ec(n, e) {
|
|
6167
|
+
const t = Zh(e ?? {}, n), i = Yh(n.getValue()), s = Qh(t);
|
|
6168
6168
|
return B(x`<cx-format-time .duration=${i} display-style=${Z(t.displayStyle)} input-unit=${Z(t.inputUnit)} locale=${Z(t.locale)} placeholder=${Z(t.placeholder)} units-format=${Z(t.unitsFormat)} style=${ft(s)}></cx-format-time>`);
|
|
6169
6169
|
}
|
|
6170
|
-
function
|
|
6170
|
+
function tc(n, e, t) {
|
|
6171
6171
|
const i = e.size || 15, s = i + "px", o = Object.prototype.hasOwnProperty.call(
|
|
6172
6172
|
e,
|
|
6173
6173
|
"onValue"
|
|
@@ -6185,12 +6185,12 @@ function ic(n, e, t) {
|
|
|
6185
6185
|
const c = document.createElement("div");
|
|
6186
6186
|
return c.classList.add("tabulator-toggle-switch"), c.style.height = s, c.style.width = s, c.style.borderRadius = s, h.appendChild(c), h;
|
|
6187
6187
|
}
|
|
6188
|
-
const
|
|
6189
|
-
function
|
|
6188
|
+
const ic = x`<span class="tabulator-traffic-light-container"><span class="tabulator-traffic-light"></span><span class="tabulator-traffic-light-text"></span></span>`;
|
|
6189
|
+
function sc(n, e, t, i) {
|
|
6190
6190
|
const s = n.getValue();
|
|
6191
6191
|
if (s == null || s === "")
|
|
6192
6192
|
return;
|
|
6193
|
-
const o = B(
|
|
6193
|
+
const o = B(ic), r = e?.getColor?.(s) ?? e?.colorMap?.[s];
|
|
6194
6194
|
if (r) {
|
|
6195
6195
|
const l = o.querySelector(
|
|
6196
6196
|
".tabulator-traffic-light"
|
|
@@ -6202,13 +6202,13 @@ function oc(n, e, t, i) {
|
|
|
6202
6202
|
);
|
|
6203
6203
|
return a && (a.textContent = String(s)), i?.getColor ? a.style.color = i.getColor(n) : i?.colorMap ? a.style.color = i.colorMap[n.getValue()] : i?.color && (a.style.color = i.color), o;
|
|
6204
6204
|
}
|
|
6205
|
-
function
|
|
6205
|
+
function oc(n, e) {
|
|
6206
6206
|
const t = n.getValue();
|
|
6207
6207
|
if (t == null || t === "")
|
|
6208
6208
|
return;
|
|
6209
6209
|
const i = e ?? {};
|
|
6210
6210
|
let s;
|
|
6211
|
-
i.getVariant && (s = i.getVariant(t)), !s && i.variantMap && (s = i.variantMap[t]), !s && i.variant && (s = i.variant), s ??=
|
|
6211
|
+
i.getVariant && (s = i.getVariant(t)), !s && i.variantMap && (s = i.variantMap[t]), !s && i.variant && (s = i.variant), s ??= xn.Body1;
|
|
6212
6212
|
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(
|
|
6213
6213
|
"cx-typography"
|
|
6214
6214
|
);
|
|
@@ -6217,40 +6217,40 @@ function rc(n, e) {
|
|
|
6217
6217
|
return i.prefix && (l = i.prefix + l), i.suffix && (l = l + i.suffix), a.textContent = l, r;
|
|
6218
6218
|
}
|
|
6219
6219
|
const rn = {
|
|
6220
|
-
adaptable:
|
|
6221
|
-
array:
|
|
6222
|
-
avatar:
|
|
6223
|
-
buttonCross:
|
|
6224
|
-
buttonTick:
|
|
6225
|
-
color:
|
|
6226
|
-
composite:
|
|
6227
|
-
date:
|
|
6228
|
-
datetime:
|
|
6229
|
-
datetimediff:
|
|
6230
|
-
diff:
|
|
6231
|
-
handle:
|
|
6232
|
-
html:
|
|
6233
|
-
icon:
|
|
6234
|
-
image:
|
|
6235
|
-
json:
|
|
6236
|
-
link:
|
|
6237
|
-
lookup:
|
|
6238
|
-
money:
|
|
6239
|
-
number:
|
|
6240
|
-
plaintext:
|
|
6241
|
-
progress:
|
|
6242
|
-
rownum:
|
|
6243
|
-
star:
|
|
6244
|
-
switch:
|
|
6245
|
-
tag:
|
|
6246
|
-
textarea:
|
|
6247
|
-
tickCross:
|
|
6248
|
-
time:
|
|
6249
|
-
toggle:
|
|
6250
|
-
traffic:
|
|
6251
|
-
typography:
|
|
6220
|
+
adaptable: oh,
|
|
6221
|
+
array: rh,
|
|
6222
|
+
avatar: nh,
|
|
6223
|
+
buttonCross: ah,
|
|
6224
|
+
buttonTick: lh,
|
|
6225
|
+
color: hh,
|
|
6226
|
+
composite: fh,
|
|
6227
|
+
date: gh,
|
|
6228
|
+
datetime: wh,
|
|
6229
|
+
datetimediff: yh,
|
|
6230
|
+
diff: Ch,
|
|
6231
|
+
handle: Eh,
|
|
6232
|
+
html: xh,
|
|
6233
|
+
icon: Sh,
|
|
6234
|
+
image: Th,
|
|
6235
|
+
json: Mh,
|
|
6236
|
+
link: Lh,
|
|
6237
|
+
lookup: _h,
|
|
6238
|
+
money: Oh,
|
|
6239
|
+
number: Ph,
|
|
6240
|
+
plaintext: Ih,
|
|
6241
|
+
progress: Hh,
|
|
6242
|
+
rownum: Nh,
|
|
6243
|
+
star: Vh,
|
|
6244
|
+
switch: Uh,
|
|
6245
|
+
tag: qh,
|
|
6246
|
+
textarea: Xh,
|
|
6247
|
+
tickCross: Jh,
|
|
6248
|
+
time: ec,
|
|
6249
|
+
toggle: tc,
|
|
6250
|
+
traffic: sc,
|
|
6251
|
+
typography: oc
|
|
6252
6252
|
};
|
|
6253
|
-
|
|
6253
|
+
ih(rn);
|
|
6254
6254
|
const Dt = class Dt extends I {
|
|
6255
6255
|
constructor(e) {
|
|
6256
6256
|
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");
|
|
@@ -6355,8 +6355,8 @@ const Dt = class Dt extends I {
|
|
|
6355
6355
|
};
|
|
6356
6356
|
Dt.moduleName = "format", Dt.formatters = rn;
|
|
6357
6357
|
let Hi = Dt;
|
|
6358
|
-
const ht = process.env.NODE_ENV === "development",
|
|
6359
|
-
class
|
|
6358
|
+
const ht = process.env.NODE_ENV === "development", rc = x`<cx-option></cx-option>`, nc = x`<cx-divider></cx-divider>`;
|
|
6359
|
+
class ac {
|
|
6360
6360
|
constructor(e, t, i, s, o, r) {
|
|
6361
6361
|
this._itemsMap = /* @__PURE__ */ new Map(), this.table = e.table, this.cell = t, this.params = this._initializeParams(r), this.fetchApi = typeof globalThis.fetch == "function" ? globalThis.fetch.bind(globalThis) : void 0, this.data = [], this.displayItems = [], this.focusedItem = null, this.input = this._createSelectElement(), this.initialValue = void 0, this.initialValues = [], this.isHeaderFilter = t.row?.type === "header", this.typing = !1, this.listIteration = 0, this.lastAction = "", this.actions = {
|
|
6362
6362
|
cancel: o,
|
|
@@ -6725,7 +6725,7 @@ class lc {
|
|
|
6725
6725
|
}
|
|
6726
6726
|
}
|
|
6727
6727
|
_appendDivider() {
|
|
6728
|
-
const e = B(
|
|
6728
|
+
const e = B(nc);
|
|
6729
6729
|
this.input.appendChild(e);
|
|
6730
6730
|
}
|
|
6731
6731
|
_appendSectionLabel(e) {
|
|
@@ -6735,7 +6735,7 @@ class lc {
|
|
|
6735
6735
|
_appendLeafOption(e) {
|
|
6736
6736
|
let t = e.element;
|
|
6737
6737
|
if (!t) {
|
|
6738
|
-
t = B(
|
|
6738
|
+
t = B(rc), t.getTextLabel = () => e.label, t.value = this.sanitizeValue(e.value);
|
|
6739
6739
|
const i = this.formatItemLabel(e, t);
|
|
6740
6740
|
i && typeof i == "object" && "nodeType" in i && i instanceof HTMLElement ? t.appendChild(i) : t.innerHTML = P(String(i || ""));
|
|
6741
6741
|
const s = this.params.fallbackOption?.prefix;
|
|
@@ -6871,8 +6871,8 @@ class lc {
|
|
|
6871
6871
|
}
|
|
6872
6872
|
}
|
|
6873
6873
|
}
|
|
6874
|
-
const
|
|
6875
|
-
return new
|
|
6874
|
+
const lc = function(n, e, t, i, s) {
|
|
6875
|
+
return new ac(
|
|
6876
6876
|
// eslint-disable-next-line no-invalid-this
|
|
6877
6877
|
this,
|
|
6878
6878
|
n instanceof co ? n._getSelf() : n,
|
|
@@ -6881,7 +6881,7 @@ const hc = function(n, e, t, i, s) {
|
|
|
6881
6881
|
i,
|
|
6882
6882
|
s
|
|
6883
6883
|
).input;
|
|
6884
|
-
},
|
|
6884
|
+
}, hc = function(n, e, t, i, s) {
|
|
6885
6885
|
let o = n.getValue();
|
|
6886
6886
|
const r = s.verticalNavigation || "editor", a = document.createElement("input");
|
|
6887
6887
|
if (a.setAttribute("type", "number"), typeof s.max < "u" && a.setAttribute("max", String(s.max)), typeof s.min < "u" && a.setAttribute("min", String(s.min)), typeof s.step < "u" && a.setAttribute("step", String(s.step)), a.style.padding = "4px", a.style.width = "100%", a.style.boxSizing = "border-box", s.elementAttributes && typeof s.elementAttributes == "object")
|
|
@@ -6930,7 +6930,7 @@ const hc = function(n, e, t, i, s) {
|
|
|
6930
6930
|
break;
|
|
6931
6931
|
}
|
|
6932
6932
|
}), s.mask && po(a, s), a;
|
|
6933
|
-
},
|
|
6933
|
+
}, cc = function(n, e, t, i, s) {
|
|
6934
6934
|
const o = n.getElement();
|
|
6935
6935
|
if (!o)
|
|
6936
6936
|
return !1;
|
|
@@ -6984,7 +6984,7 @@ const hc = function(n, e, t, i, s) {
|
|
|
6984
6984
|
}), o.addEventListener("blur", () => {
|
|
6985
6985
|
i();
|
|
6986
6986
|
}), p;
|
|
6987
|
-
},
|
|
6987
|
+
}, dc = function(n, e, t, i, s) {
|
|
6988
6988
|
let o = n.getValue();
|
|
6989
6989
|
const r = document.createElement("input");
|
|
6990
6990
|
if (r.setAttribute("type", "range"), typeof s.max < "u" && r.setAttribute("max", String(s.max)), typeof s.min < "u" && r.setAttribute("min", String(s.min)), typeof s.step < "u" && r.setAttribute("step", String(s.step)), r.style.padding = "4px", r.style.width = "100%", r.style.boxSizing = "border-box", s.elementAttributes && typeof s.elementAttributes == "object")
|
|
@@ -7016,7 +7016,7 @@ const hc = function(n, e, t, i, s) {
|
|
|
7016
7016
|
break;
|
|
7017
7017
|
}
|
|
7018
7018
|
}), r;
|
|
7019
|
-
},
|
|
7019
|
+
}, uc = function(n, e, t, i, s) {
|
|
7020
7020
|
const o = this, r = n.getElement();
|
|
7021
7021
|
if (!r)
|
|
7022
7022
|
return !1;
|
|
@@ -7087,7 +7087,7 @@ const hc = function(n, e, t, i, s) {
|
|
|
7087
7087
|
break;
|
|
7088
7088
|
}
|
|
7089
7089
|
}), d;
|
|
7090
|
-
},
|
|
7090
|
+
}, pc = function(n, e, t, i, s) {
|
|
7091
7091
|
let o = n.getValue();
|
|
7092
7092
|
const r = s.verticalNavigation || "hybrid", a = String(o ?? ""), l = document.createElement("textarea");
|
|
7093
7093
|
let h = 0;
|
|
@@ -7137,7 +7137,7 @@ const hc = function(n, e, t, i, s) {
|
|
|
7137
7137
|
break;
|
|
7138
7138
|
}
|
|
7139
7139
|
}), s.mask && po(l, s), l;
|
|
7140
|
-
},
|
|
7140
|
+
}, fc = function(n, e, t, i, s) {
|
|
7141
7141
|
const o = n.getValue(), r = document.createElement("input"), a = s.tristate, l = typeof s.indeterminateValue > "u" ? null : s.indeterminateValue;
|
|
7142
7142
|
let h = !1;
|
|
7143
7143
|
const c = Object.keys(s).includes("trueValue"), d = Object.keys(s).includes("falseValue");
|
|
@@ -7167,7 +7167,7 @@ const hc = function(n, e, t, i, s) {
|
|
|
7167
7167
|
}), r.addEventListener("keydown", (f) => {
|
|
7168
7168
|
f.keyCode === 13 && t(u(!1)), f.keyCode === 27 && i();
|
|
7169
7169
|
}), r;
|
|
7170
|
-
},
|
|
7170
|
+
}, mc = process.env.NODE_ENV === "development", gc = function(n, e, t, i, s) {
|
|
7171
7171
|
const o = s.format, r = s.verticalNavigation || "editor", a = o ? typeof window < "u" && window.DateTime || typeof globalThis < "u" && globalThis.luxon?.DateTime : null;
|
|
7172
7172
|
let l, h = n.getValue();
|
|
7173
7173
|
const c = document.createElement("input");
|
|
@@ -7182,7 +7182,7 @@ const hc = function(n, e, t, i, s) {
|
|
|
7182
7182
|
} else
|
|
7183
7183
|
c.setAttribute(f, s.elementAttributes[f]);
|
|
7184
7184
|
const d = String(h ?? "");
|
|
7185
|
-
o && a && d !== "" ? (a.isDateTime?.(h) ? l = h : o === "iso" ? l = a.fromISO(d) : l = a.fromFormat(d, o), h = l.toFormat("HH:mm")) : o && !a &&
|
|
7185
|
+
o && a && d !== "" ? (a.isDateTime?.(h) ? l = h : o === "iso" ? l = a.fromISO(d) : l = a.fromFormat(d, o), h = l.toFormat("HH:mm")) : o && !a && mc && console.error(
|
|
7186
7186
|
"Editor Error - 'time' editor 'format' param is dependent on luxon.js"
|
|
7187
7187
|
);
|
|
7188
7188
|
const p = String(h ?? "");
|
|
@@ -7232,20 +7232,20 @@ const hc = function(n, e, t, i, s) {
|
|
|
7232
7232
|
break;
|
|
7233
7233
|
}
|
|
7234
7234
|
}), c;
|
|
7235
|
-
},
|
|
7236
|
-
adaptable:
|
|
7237
|
-
date:
|
|
7238
|
-
datetime:
|
|
7239
|
-
input:
|
|
7240
|
-
list:
|
|
7241
|
-
number:
|
|
7242
|
-
progress:
|
|
7243
|
-
range:
|
|
7244
|
-
star:
|
|
7245
|
-
textarea:
|
|
7246
|
-
tickCross:
|
|
7247
|
-
time:
|
|
7248
|
-
}, Di = process.env.NODE_ENV === "development", nn = "tabulator-edit-list-trigger",
|
|
7235
|
+
}, bc = {
|
|
7236
|
+
adaptable: Xl,
|
|
7237
|
+
date: Yl,
|
|
7238
|
+
datetime: Ql,
|
|
7239
|
+
input: eh,
|
|
7240
|
+
list: lc,
|
|
7241
|
+
number: hc,
|
|
7242
|
+
progress: cc,
|
|
7243
|
+
range: dc,
|
|
7244
|
+
star: uc,
|
|
7245
|
+
textarea: pc,
|
|
7246
|
+
tickCross: fc,
|
|
7247
|
+
time: gc
|
|
7248
|
+
}, Di = process.env.NODE_ENV === "development", nn = "tabulator-edit-list-trigger", wc = "tabulator-edit-list-trigger-caret", vc = x`<button aria-label="Open list editor" class=${nn} tabindex="-1" type="button"><cx-icon aria-hidden="true" class=${wc} name="arrow_drop_down"></cx-icon></button>`, mi = class mi extends I {
|
|
7249
7249
|
constructor(e) {
|
|
7250
7250
|
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(
|
|
7251
7251
|
"editorEmptyValueFunc",
|
|
@@ -7513,7 +7513,7 @@ const hc = function(n, e, t, i, s) {
|
|
|
7513
7513
|
if (!t || t.classList.contains("tabulator-editing") || t.querySelector(`.${nn}`))
|
|
7514
7514
|
return;
|
|
7515
7515
|
const i = B(
|
|
7516
|
-
|
|
7516
|
+
vc
|
|
7517
7517
|
);
|
|
7518
7518
|
i.addEventListener("mousedown", (s) => {
|
|
7519
7519
|
s.preventDefault(), s.stopPropagation();
|
|
@@ -7654,9 +7654,9 @@ const hc = function(n, e, t, i, s) {
|
|
|
7654
7654
|
t > -1 && this.editedCells.splice(t, 1);
|
|
7655
7655
|
}
|
|
7656
7656
|
};
|
|
7657
|
-
mi.moduleName = "edit", mi.editors =
|
|
7657
|
+
mi.moduleName = "edit", mi.editors = bc;
|
|
7658
7658
|
let Ss = mi;
|
|
7659
|
-
const
|
|
7659
|
+
const yc = {}, Cc = {
|
|
7660
7660
|
active: function() {
|
|
7661
7661
|
return this.options.pagination ? this.rowManager?.getDisplayRows(
|
|
7662
7662
|
this.rowManager.displayRows.length - 2
|
|
@@ -7682,7 +7682,7 @@ class ar {
|
|
|
7682
7682
|
this.type = e, this.columns = t, this.component = i ?? !1, this.indent = s ?? 0;
|
|
7683
7683
|
}
|
|
7684
7684
|
}
|
|
7685
|
-
const
|
|
7685
|
+
const Ec = process.env.NODE_ENV === "development", Mt = class Mt extends I {
|
|
7686
7686
|
constructor(e) {
|
|
7687
7687
|
super(e), this.config = {}, this.cloneTableStyle = !0, this.colVisProp = "", this.colVisPropAttach = "", this.registerTableOption("htmlOutputConfig", !1), this.registerColumnOption("htmlOutput"), this.registerColumnOption("titleHtmlOutput");
|
|
7688
7688
|
}
|
|
@@ -7851,7 +7851,7 @@ const xc = process.env.NODE_ENV === "development", Mt = class Mt extends I {
|
|
|
7851
7851
|
"font-weight",
|
|
7852
7852
|
"font-family",
|
|
7853
7853
|
"font-size"
|
|
7854
|
-
]), e.length > 1e3 &&
|
|
7854
|
+
]), e.length > 1e3 && Ec && console.warn(
|
|
7855
7855
|
"It may take a long time to render an HTML table with more than 1000 rows"
|
|
7856
7856
|
), e.forEach((h, c) => {
|
|
7857
7857
|
let d;
|
|
@@ -8138,9 +8138,9 @@ const xc = process.env.NODE_ENV === "development", Mt = class Mt extends I {
|
|
|
8138
8138
|
}
|
|
8139
8139
|
}
|
|
8140
8140
|
};
|
|
8141
|
-
Mt.moduleName = "export", Mt.columnLookups =
|
|
8141
|
+
Mt.moduleName = "export", Mt.columnLookups = yc, Mt.rowLookups = Cc;
|
|
8142
8142
|
let ks = Mt;
|
|
8143
|
-
const lr = process.env.NODE_ENV === "development",
|
|
8143
|
+
const lr = process.env.NODE_ENV === "development", xc = {
|
|
8144
8144
|
// not equal to
|
|
8145
8145
|
"!=": function(n, e, t, i) {
|
|
8146
8146
|
return e != n;
|
|
@@ -8202,15 +8202,15 @@ const lr = process.env.NODE_ENV === "development", Rc = {
|
|
|
8202
8202
|
starts: function(n, e, t, i) {
|
|
8203
8203
|
return n == null ? e === n : e != null ? String(e).toLowerCase().startsWith(n.toLowerCase()) : !1;
|
|
8204
8204
|
}
|
|
8205
|
-
},
|
|
8205
|
+
}, Rc = /<[^>]*>/g;
|
|
8206
8206
|
function Zi(n) {
|
|
8207
8207
|
return !!n && typeof n == "object" && !Array.isArray(n) && typeof n != "function";
|
|
8208
8208
|
}
|
|
8209
8209
|
function Ni(n, e, t) {
|
|
8210
8210
|
e != null && (t !== void 0 && e === t || n.push(e));
|
|
8211
8211
|
}
|
|
8212
|
-
function
|
|
8213
|
-
return n == null ? "" : String(n).replace(
|
|
8212
|
+
function Sc(n) {
|
|
8213
|
+
return n == null ? "" : String(n).replace(Rc, "");
|
|
8214
8214
|
}
|
|
8215
8215
|
function Oe(n) {
|
|
8216
8216
|
try {
|
|
@@ -8220,7 +8220,7 @@ function Oe(n) {
|
|
|
8220
8220
|
}
|
|
8221
8221
|
}
|
|
8222
8222
|
const an = Symbol("skip-composite-element");
|
|
8223
|
-
function
|
|
8223
|
+
function kc(n, e, t, i, s) {
|
|
8224
8224
|
if (typeof n?.getValue == "function")
|
|
8225
8225
|
return an;
|
|
8226
8226
|
if (n?.value !== void 0)
|
|
@@ -8228,18 +8228,18 @@ function Tc(n, e, t, i, s) {
|
|
|
8228
8228
|
const o = n?.field;
|
|
8229
8229
|
return typeof o == "string" && o.length > 0 ? o === e ? t : s ? Q.retrieveNestedData(s, o, i) : i[o] : t;
|
|
8230
8230
|
}
|
|
8231
|
-
function
|
|
8231
|
+
function Tc(n, e, t) {
|
|
8232
8232
|
return !!(typeof n?.shouldHide == "function" && Oe(() => n.shouldHide(e, t)) || n?.hideValues !== void 0 && (Array.isArray(n.hideValues) ? n.hideValues : [n.hideValues]).includes(e) || typeof n?.shouldShow == "function" && !Oe(
|
|
8233
8233
|
() => n.shouldShow(e, t)
|
|
8234
8234
|
) || n?.showValues !== void 0 && !(Array.isArray(n.showValues) ? n.showValues : [n.showValues]).includes(e));
|
|
8235
8235
|
}
|
|
8236
|
-
function
|
|
8236
|
+
function Dc(n, e) {
|
|
8237
8237
|
const { formatterParams: t, rawValue: i, rowData: s, separator: o, table: r } = n, a = t?.elements;
|
|
8238
8238
|
if (!Array.isArray(a))
|
|
8239
8239
|
return [];
|
|
8240
8240
|
const l = [];
|
|
8241
8241
|
for (const h of a) {
|
|
8242
|
-
const c =
|
|
8242
|
+
const c = kc(
|
|
8243
8243
|
h,
|
|
8244
8244
|
e,
|
|
8245
8245
|
i,
|
|
@@ -8254,7 +8254,7 @@ function Mc(n, e) {
|
|
|
8254
8254
|
const u = p[String(c)];
|
|
8255
8255
|
u !== void 0 && (d = u);
|
|
8256
8256
|
}
|
|
8257
|
-
if (!
|
|
8257
|
+
if (!Tc(h, d, s) && (d !== c && Ni(l, d, c), h?.formatter !== void 0)) {
|
|
8258
8258
|
const u = fo({
|
|
8259
8259
|
columnField: e,
|
|
8260
8260
|
formatter: h.formatter,
|
|
@@ -8270,14 +8270,14 @@ function Mc(n, e) {
|
|
|
8270
8270
|
}
|
|
8271
8271
|
return l;
|
|
8272
8272
|
}
|
|
8273
|
-
function
|
|
8273
|
+
function Mc(n) {
|
|
8274
8274
|
const { formatterParams: e, rawValue: t } = n;
|
|
8275
8275
|
if (!Zi(e))
|
|
8276
8276
|
return [];
|
|
8277
8277
|
const i = e[String(t)];
|
|
8278
8278
|
return i == null || i === t ? [] : [i];
|
|
8279
8279
|
}
|
|
8280
|
-
function
|
|
8280
|
+
function Fc(n) {
|
|
8281
8281
|
const { formatterParams: e, rawValue: t, separator: i, table: s } = n;
|
|
8282
8282
|
if (!Array.isArray(t))
|
|
8283
8283
|
return [];
|
|
@@ -8294,7 +8294,7 @@ function Lc(n) {
|
|
|
8294
8294
|
}
|
|
8295
8295
|
return [a.join(o)];
|
|
8296
8296
|
}
|
|
8297
|
-
function
|
|
8297
|
+
function Lc(n) {
|
|
8298
8298
|
const { formatterParams: e, rawValue: t } = n;
|
|
8299
8299
|
if (t == null || t === "")
|
|
8300
8300
|
return [];
|
|
@@ -8311,7 +8311,7 @@ function zc(n) {
|
|
|
8311
8311
|
}
|
|
8312
8312
|
return i;
|
|
8313
8313
|
}
|
|
8314
|
-
function
|
|
8314
|
+
function zc(n) {
|
|
8315
8315
|
const { formatterParams: e, rawValue: t, rowData: i, separator: s, table: o } = n;
|
|
8316
8316
|
if (!e)
|
|
8317
8317
|
return [];
|
|
@@ -8322,7 +8322,7 @@ function _c(n) {
|
|
|
8322
8322
|
}
|
|
8323
8323
|
return typeof e.label == "string" && (r = e.label, a = !0), a ? r != null && r !== t ? [r] : [] : [];
|
|
8324
8324
|
}
|
|
8325
|
-
function
|
|
8325
|
+
function _c(n) {
|
|
8326
8326
|
const { formatterParams: e, rawValue: t } = n, i = e ?? {}, s = parseFloat(String(t));
|
|
8327
8327
|
if (Number.isNaN(s))
|
|
8328
8328
|
return [];
|
|
@@ -8358,7 +8358,7 @@ function hr(n) {
|
|
|
8358
8358
|
n[i] !== void 0 && (e[i] = n[i]);
|
|
8359
8359
|
return e.style === "currency" && e.currency === void 0 && (e.currency = "USD"), e;
|
|
8360
8360
|
}
|
|
8361
|
-
function
|
|
8361
|
+
function Oc(n) {
|
|
8362
8362
|
if (!n || typeof n != "object")
|
|
8363
8363
|
return Oe(() => new Intl.NumberFormat(void 0, hr({}))) ?? null;
|
|
8364
8364
|
if (is.has(n))
|
|
@@ -8366,14 +8366,14 @@ function Ac(n) {
|
|
|
8366
8366
|
const e = Oe(() => new Intl.NumberFormat(void 0, hr(n))) ?? null;
|
|
8367
8367
|
return is.set(n, e), e;
|
|
8368
8368
|
}
|
|
8369
|
-
function
|
|
8369
|
+
function Ac(n) {
|
|
8370
8370
|
const { formatterParams: e, rawValue: t } = n;
|
|
8371
8371
|
if (t == null || t === "")
|
|
8372
8372
|
return [];
|
|
8373
8373
|
const i = Number(t);
|
|
8374
8374
|
if (Number.isNaN(i))
|
|
8375
8375
|
return [];
|
|
8376
|
-
const s =
|
|
8376
|
+
const s = Oc(e);
|
|
8377
8377
|
if (!s)
|
|
8378
8378
|
return [];
|
|
8379
8379
|
const o = Oe(() => s.format(i));
|
|
@@ -8391,7 +8391,7 @@ function hn(n, e, t) {
|
|
|
8391
8391
|
function Oi(n, e) {
|
|
8392
8392
|
return typeof n == "string" && n.length > 0 && n !== e ? [n] : [];
|
|
8393
8393
|
}
|
|
8394
|
-
function
|
|
8394
|
+
function Pc(n) {
|
|
8395
8395
|
const { formatterParams: e, rawValue: t, table: i } = n, s = ln(i), o = e ?? {}, r = o.invalidPlaceholder ?? "";
|
|
8396
8396
|
if (!s)
|
|
8397
8397
|
return [];
|
|
@@ -8401,7 +8401,7 @@ function Ic(n) {
|
|
|
8401
8401
|
const c = o.timezone ? Oe(() => h.setZone(o.timezone)) ?? h : h, d = Oe(() => c.toFormat(l));
|
|
8402
8402
|
return d ? [d] : [];
|
|
8403
8403
|
}
|
|
8404
|
-
function
|
|
8404
|
+
function Ic(n) {
|
|
8405
8405
|
const { formatterParams: e, rawValue: t, table: i } = n, s = ln(i), o = e ?? {}, r = o.invalidPlaceholder ?? "";
|
|
8406
8406
|
if (!s)
|
|
8407
8407
|
return Oi(r, t);
|
|
@@ -8414,7 +8414,7 @@ function Hc(n) {
|
|
|
8414
8414
|
const u = Oe(() => c ? p.diff(d, h).toHuman() + (l ? " " + l : "") : Number.parseInt(String(p.diff(d, h)[h]), 10) + (l ? " " + l : ""));
|
|
8415
8415
|
return u != null ? [u] : [];
|
|
8416
8416
|
}
|
|
8417
|
-
function
|
|
8417
|
+
function Hc(n, e) {
|
|
8418
8418
|
if (n == null)
|
|
8419
8419
|
return;
|
|
8420
8420
|
let t = String(n);
|
|
@@ -8422,26 +8422,26 @@ function Nc(n, e) {
|
|
|
8422
8422
|
return typeof i == "string" && i.length > 0 && (t = i + t), typeof s == "string" && s.length > 0 && (t = t + s), t;
|
|
8423
8423
|
}
|
|
8424
8424
|
function cn(n) {
|
|
8425
|
-
const { formatterParams: e, rawValue: t } = n, i =
|
|
8425
|
+
const { formatterParams: e, rawValue: t } = n, i = Hc(t, e);
|
|
8426
8426
|
return i === void 0 || i === String(t) ? [] : [i];
|
|
8427
8427
|
}
|
|
8428
|
-
function
|
|
8428
|
+
function Nc(n) {
|
|
8429
8429
|
return cn(n);
|
|
8430
8430
|
}
|
|
8431
8431
|
function dn(n) {
|
|
8432
8432
|
if (typeof n.rawValue != "string" || !n.rawValue.includes("<"))
|
|
8433
8433
|
return [];
|
|
8434
|
-
const e =
|
|
8434
|
+
const e = Sc(n.rawValue);
|
|
8435
8435
|
return !e || e === n.rawValue ? [] : [e];
|
|
8436
8436
|
}
|
|
8437
|
-
function
|
|
8437
|
+
function Vc(n) {
|
|
8438
8438
|
return dn(n);
|
|
8439
8439
|
}
|
|
8440
|
-
function
|
|
8440
|
+
function Bc(n) {
|
|
8441
8441
|
const { formatterParams: e, rawValue: t } = n, i = e ?? {}, s = i.indent ?? " ", o = i.replacer ?? null, r = Oe(() => JSON.stringify(t, o, s));
|
|
8442
8442
|
return r === void 0 || r === t ? [] : [r];
|
|
8443
8443
|
}
|
|
8444
|
-
function
|
|
8444
|
+
function $c(n, e) {
|
|
8445
8445
|
const { formatterParams: t, rawValue: i, rowData: s, separator: o, table: r } = n, a = t ?? {};
|
|
8446
8446
|
let l;
|
|
8447
8447
|
if (typeof a.formatterLookup == "function") {
|
|
@@ -8478,20 +8478,20 @@ function Wc(n, e) {
|
|
|
8478
8478
|
table: r
|
|
8479
8479
|
});
|
|
8480
8480
|
}
|
|
8481
|
-
const
|
|
8482
|
-
array:
|
|
8483
|
-
datetime:
|
|
8484
|
-
datetimediff:
|
|
8481
|
+
const Wc = {
|
|
8482
|
+
array: Fc,
|
|
8483
|
+
datetime: Pc,
|
|
8484
|
+
datetimediff: Ic,
|
|
8485
8485
|
html: dn,
|
|
8486
|
-
json:
|
|
8487
|
-
link:
|
|
8488
|
-
lookup:
|
|
8489
|
-
money:
|
|
8490
|
-
number:
|
|
8486
|
+
json: Bc,
|
|
8487
|
+
link: zc,
|
|
8488
|
+
lookup: Mc,
|
|
8489
|
+
money: _c,
|
|
8490
|
+
number: Ac,
|
|
8491
8491
|
plaintext: cn,
|
|
8492
|
-
tag:
|
|
8493
|
-
textarea:
|
|
8494
|
-
typography:
|
|
8492
|
+
tag: Lc,
|
|
8493
|
+
textarea: Vc,
|
|
8494
|
+
typography: Nc
|
|
8495
8495
|
};
|
|
8496
8496
|
function fo(n) {
|
|
8497
8497
|
const e = n.formatter;
|
|
@@ -8505,13 +8505,13 @@ function fo(n) {
|
|
|
8505
8505
|
table: n.table
|
|
8506
8506
|
};
|
|
8507
8507
|
if (e === "composite")
|
|
8508
|
-
return
|
|
8508
|
+
return Dc(t, n.columnField);
|
|
8509
8509
|
if (e === "adaptable")
|
|
8510
|
-
return
|
|
8511
|
-
const i =
|
|
8510
|
+
return $c(t, n.columnField);
|
|
8511
|
+
const i = Wc[e];
|
|
8512
8512
|
return i ? i(t) : [];
|
|
8513
8513
|
}
|
|
8514
|
-
function
|
|
8514
|
+
function jc(n, e, t, i, s) {
|
|
8515
8515
|
let o;
|
|
8516
8516
|
s?.has(e) ? o = s.get(e) : (o = n?.columnManager?.getColumnByField?.(e) ?? null, s?.set(e, o ?? null));
|
|
8517
8517
|
const r = o?.definition;
|
|
@@ -8955,7 +8955,7 @@ const Ae = process.env.NODE_ENV === "development", ct = class ct extends I {
|
|
|
8955
8955
|
}
|
|
8956
8956
|
if (h(l.value, f, a, c))
|
|
8957
8957
|
return !0;
|
|
8958
|
-
const w =
|
|
8958
|
+
const w = jc(
|
|
8959
8959
|
t,
|
|
8960
8960
|
u,
|
|
8961
8961
|
f,
|
|
@@ -9161,9 +9161,9 @@ const Ae = process.env.NODE_ENV === "development", ct = class ct extends I {
|
|
|
9161
9161
|
}) : i = e.func(t), i;
|
|
9162
9162
|
}
|
|
9163
9163
|
};
|
|
9164
|
-
ct.moduleName = "filter", ct.filters =
|
|
9164
|
+
ct.moduleName = "filter", ct.filters = xc;
|
|
9165
9165
|
let Vi = ct;
|
|
9166
|
-
const
|
|
9166
|
+
const Gc = process.env.NODE_ENV === "development", yo = class yo extends I {
|
|
9167
9167
|
constructor(e) {
|
|
9168
9168
|
super(e), this.leftColumns = [], this.rightColumns = [], this.active = !1, this.blocked = !0, this.registerColumnOption("frozen");
|
|
9169
9169
|
}
|
|
@@ -9220,7 +9220,7 @@ const Uc = process.env.NODE_ENV === "development", yo = class yo extends I {
|
|
|
9220
9220
|
e.isGroup || !this.frozenCheck(e) || (this.rebuildFrozenLists(), this.layout());
|
|
9221
9221
|
}
|
|
9222
9222
|
frozenCheck(e) {
|
|
9223
|
-
return e.parent instanceof Ve && e.parent.isGroup && e.definition.frozen &&
|
|
9223
|
+
return e.parent instanceof Ve && e.parent.isGroup && e.definition.frozen && Gc && console.warn(
|
|
9224
9224
|
"Frozen Column Error - Parent column group must be frozen, not individual columns or sub column groups"
|
|
9225
9225
|
), e.parent instanceof Ve && e.parent.isGroup ? this.frozenCheck(e.parent) : !!e.definition.frozen;
|
|
9226
9226
|
}
|
|
@@ -9414,9 +9414,9 @@ const cr = process.env.NODE_ENV === "development", Co = class Co extends I {
|
|
|
9414
9414
|
};
|
|
9415
9415
|
Co.moduleName = "frozenRows";
|
|
9416
9416
|
let Ds = Co;
|
|
9417
|
-
const
|
|
9417
|
+
const Uc = process.env.NODE_ENV === "development", Kc = x`<cx-icon-button class="tabulator-group-toggle" name="keyboard_arrow_down"></cx-icon-button>`, qc = x`<div class="tabulator-group-level-indent"></div>`, Xc = x`<cx-button size="small"><cx-icon slot="prefix" name="add" variant="outlined"></cx-icon>
|
|
9418
9418
|
Load More
|
|
9419
|
-
</cx-button>`,
|
|
9419
|
+
</cx-button>`, Jc = x`<div class="tabulator-data-tree-loading">Loading...</div>`;
|
|
9420
9420
|
class Yt {
|
|
9421
9421
|
constructor(e, t, i, s, o, r, a) {
|
|
9422
9422
|
this._loadMoreRow = !1, this._loadMoreStateKey = "", this.groupManager = e, this.parent = t, this.key = s, this.level = i, this.field = o, this.hasSubGroups = e.groupIDLookups !== !1 && i < e.groupIDLookups.length - 1, this.addRow = this.hasSubGroups ? this._addRowToGroup : this._addRow, this.type = "group", this.old = a, this.rows = [], this.groups = {}, this.groupList = [], this.generator = r, this.element = !1, this.elementContents = !1, this.height = 0, this.outerHeight = 0, this.initialized = !1, this.heightInitialized = !1, this.calcs = {}, this.modules = {}, this.arrowElement = !1, this.visible = a ? a.visible : e.startOpen[i] === void 0 || e.startOpen[i] === null ? e.startOpen[0] : e.startOpen[i], this.component = null, this.createElements(), this.addBindings(), this.createValueGroups();
|
|
@@ -9435,7 +9435,7 @@ class Yt {
|
|
|
9435
9435
|
this.element = document.createElement("div"), this.element.classList.add("tabulator-row"), this.element.classList.add("tabulator-group"), this.element.classList.add("tabulator-group-level-" + this.level), this.element.setAttribute(
|
|
9436
9436
|
"role",
|
|
9437
9437
|
this.groupManager.table.options.rowGroupRole ?? "rowgroup"
|
|
9438
|
-
), this.arrowElement = B(
|
|
9438
|
+
), this.arrowElement = B(Kc), this.groupManager.table.options.movableRows !== !1 && this.groupManager.table.modExists("moveRow") && this.groupManager.table.modules.moveRow.initializeGroupHeader(
|
|
9439
9439
|
this
|
|
9440
9440
|
);
|
|
9441
9441
|
}
|
|
@@ -9502,7 +9502,7 @@ class Yt {
|
|
|
9502
9502
|
let s = i.querySelector(
|
|
9503
9503
|
".tabulator-group-level-indent"
|
|
9504
9504
|
);
|
|
9505
|
-
s || (s = B(
|
|
9505
|
+
s || (s = B(qc), i.insertBefore(s, i.firstChild)), this.applyGroupIndent(
|
|
9506
9506
|
s,
|
|
9507
9507
|
(this.level + 1) * (this.groupManager.table.options.groupIndent ?? ds)
|
|
9508
9508
|
), s.dataset.groupLevel = this.level.toString();
|
|
@@ -9526,7 +9526,7 @@ class Yt {
|
|
|
9526
9526
|
}
|
|
9527
9527
|
// update row data to match grouping constraints
|
|
9528
9528
|
conformRowData(e) {
|
|
9529
|
-
return this.field ? e[this.field] = this.key :
|
|
9529
|
+
return this.field ? e[this.field] = this.key : Uc && console.warn(
|
|
9530
9530
|
"Data Conforming Error - Cannot conform row data to match new group as groupBy is a function"
|
|
9531
9531
|
), this.parent && (e = this.parent.conformRowData(e)), e;
|
|
9532
9532
|
}
|
|
@@ -9545,13 +9545,13 @@ class Yt {
|
|
|
9545
9545
|
return en(ho(this));
|
|
9546
9546
|
}
|
|
9547
9547
|
getLoadMoreState() {
|
|
9548
|
-
return
|
|
9548
|
+
return wl(
|
|
9549
9549
|
this.groupManager.table.options.groupLoadMoreMeta,
|
|
9550
9550
|
this.getPathKey()
|
|
9551
9551
|
);
|
|
9552
9552
|
}
|
|
9553
9553
|
getGroupLoadMoreEventPayload() {
|
|
9554
|
-
return
|
|
9554
|
+
return vl(this);
|
|
9555
9555
|
}
|
|
9556
9556
|
generateLoadMoreRow() {
|
|
9557
9557
|
const e = this.getLoadMoreState(), t = `hasMore:${!!e?.hasMore}|loading:${!!e?.loading}`;
|
|
@@ -9566,10 +9566,10 @@ class Yt {
|
|
|
9566
9566
|
i
|
|
9567
9567
|
), o = (this.level + 1) * (this.groupManager.table.options.groupIndent ?? ds);
|
|
9568
9568
|
if (s.create(), e.loading) {
|
|
9569
|
-
const l = B(
|
|
9569
|
+
const l = B(Jc);
|
|
9570
9570
|
return s.element.appendChild(l), this.applyGroupIndent(l, o), this._loadMoreRow = s, s;
|
|
9571
9571
|
}
|
|
9572
|
-
const r = B(
|
|
9572
|
+
const r = B(Xc), a = this.getGroupLoadMoreEventPayload();
|
|
9573
9573
|
return s.element.appendChild(r), this.applyGroupIndent(r, o), r.addEventListener("click", (l) => {
|
|
9574
9574
|
l.preventDefault(), l.stopPropagation(), l.stopImmediatePropagation(), this.groupManager.table.externalEvents?.dispatch("groupLoadMore", a);
|
|
9575
9575
|
}), this._loadMoreRow = s, s;
|
|
@@ -10218,7 +10218,7 @@ const ss = process.env.NODE_ENV === "development", Eo = class Eo extends I {
|
|
|
10218
10218
|
};
|
|
10219
10219
|
Eo.moduleName = "groupRows";
|
|
10220
10220
|
let Ms = Eo;
|
|
10221
|
-
const
|
|
10221
|
+
const Yc = {
|
|
10222
10222
|
cellEdit: function(n) {
|
|
10223
10223
|
"setValueProcessData" in n.component && (n.component.setValueProcessData(n.data.newValue), n.component.cellRendered());
|
|
10224
10224
|
},
|
|
@@ -10245,7 +10245,7 @@ const Zc = {
|
|
|
10245
10245
|
), this.table.rowManager.regenerateRowPositions(), this.table.rowManager.reRenderInPosition());
|
|
10246
10246
|
}
|
|
10247
10247
|
}
|
|
10248
|
-
},
|
|
10248
|
+
}, Zc = {
|
|
10249
10249
|
cellEdit: function(n) {
|
|
10250
10250
|
"setValueProcessData" in n.component && (n.component.setValueProcessData(n.data.oldValue), n.component.cellRendered());
|
|
10251
10251
|
},
|
|
@@ -10272,7 +10272,7 @@ const Zc = {
|
|
|
10272
10272
|
), this.table.rowManager.regenerateRowPositions(), this.table.rowManager.reRenderInPosition());
|
|
10273
10273
|
}
|
|
10274
10274
|
}
|
|
10275
|
-
},
|
|
10275
|
+
}, Qc = {
|
|
10276
10276
|
redo: function(n) {
|
|
10277
10277
|
let e;
|
|
10278
10278
|
this.table.options.history && this.table.modExists("history") && this.table.modExists("edit") && (e = this.table.modules.edit?.currentCell, e || (n.preventDefault(), this.table.modules.history?.redo()));
|
|
@@ -10281,13 +10281,13 @@ const Zc = {
|
|
|
10281
10281
|
let e;
|
|
10282
10282
|
this.table.options.history && this.table.modExists("history") && this.table.modExists("edit") && (e = this.table.modules.edit?.currentCell, e || (n.preventDefault(), this.table.modules.history?.undo()));
|
|
10283
10283
|
}
|
|
10284
|
-
},
|
|
10284
|
+
}, ed = {
|
|
10285
10285
|
redo: ["ctrl + 89", "meta + 89"],
|
|
10286
10286
|
undo: ["ctrl + 90", "meta + 90"]
|
|
10287
|
-
},
|
|
10287
|
+
}, td = {
|
|
10288
10288
|
keybindings: {
|
|
10289
|
-
actions:
|
|
10290
|
-
bindings:
|
|
10289
|
+
actions: Qc,
|
|
10290
|
+
bindings: ed
|
|
10291
10291
|
}
|
|
10292
10292
|
}, dr = process.env.NODE_ENV === "development", dt = class dt extends I {
|
|
10293
10293
|
constructor(e) {
|
|
@@ -10407,9 +10407,9 @@ const Zc = {
|
|
|
10407
10407
|
});
|
|
10408
10408
|
}
|
|
10409
10409
|
};
|
|
10410
|
-
dt.moduleName = "history", dt.moduleExtensions =
|
|
10410
|
+
dt.moduleName = "history", dt.moduleExtensions = td, dt.undoers = Zc, dt.redoers = Yc;
|
|
10411
10411
|
let Fs = dt;
|
|
10412
|
-
const
|
|
10412
|
+
const id = process.env.NODE_ENV === "development", xo = class xo extends I {
|
|
10413
10413
|
constructor(e) {
|
|
10414
10414
|
super(e), this.fieldIndex = [], this.hasIndex = !1;
|
|
10415
10415
|
}
|
|
@@ -10417,7 +10417,7 @@ const sd = process.env.NODE_ENV === "development", xo = class xo extends I {
|
|
|
10417
10417
|
this.tableElementCheck();
|
|
10418
10418
|
}
|
|
10419
10419
|
tableElementCheck() {
|
|
10420
|
-
this.table.originalElement?.tagName === "TABLE" && (this.table.originalElement.childNodes.length ? this.parseTable() :
|
|
10420
|
+
this.table.originalElement?.tagName === "TABLE" && (this.table.originalElement.childNodes.length ? this.parseTable() : id && console.warn(
|
|
10421
10421
|
"Unable to parse data from empty table tag, Tabulator should be initialized on a div tag unless importing data from a table element."
|
|
10422
10422
|
));
|
|
10423
10423
|
}
|
|
@@ -10490,7 +10490,7 @@ const sd = process.env.NODE_ENV === "development", xo = class xo extends I {
|
|
|
10490
10490
|
};
|
|
10491
10491
|
xo.moduleName = "htmlTableImport";
|
|
10492
10492
|
let Ls = xo;
|
|
10493
|
-
function
|
|
10493
|
+
function sd(n) {
|
|
10494
10494
|
return n;
|
|
10495
10495
|
}
|
|
10496
10496
|
var Ai = { exports: {} };
|
|
@@ -10500,12 +10500,12 @@ v5.5.4
|
|
|
10500
10500
|
https://github.com/mholt/PapaParse
|
|
10501
10501
|
License: MIT
|
|
10502
10502
|
*/
|
|
10503
|
-
var
|
|
10504
|
-
function
|
|
10503
|
+
var od = Ai.exports, ur;
|
|
10504
|
+
function rd() {
|
|
10505
10505
|
return ur || (ur = 1, function(n, e) {
|
|
10506
10506
|
((t, i) => {
|
|
10507
10507
|
n.exports = i();
|
|
10508
|
-
})(
|
|
10508
|
+
})(od, function t() {
|
|
10509
10509
|
var i = typeof self < "u" ? self : typeof window < "u" ? window : i !== void 0 ? i : {}, s, o = !i.document && !!i.postMessage, r = i.IS_PAPA_WORKER || !1, a = {}, l = 0, h = {};
|
|
10510
10510
|
function c(b) {
|
|
10511
10511
|
return b.charCodeAt(0) === 65279 ? b.slice(1) : b;
|
|
@@ -10914,23 +10914,23 @@ function nd() {
|
|
|
10914
10914
|
});
|
|
10915
10915
|
}(Ai)), Ai.exports;
|
|
10916
10916
|
}
|
|
10917
|
-
var
|
|
10918
|
-
const mo = /* @__PURE__ */
|
|
10919
|
-
function
|
|
10917
|
+
var nd = rd();
|
|
10918
|
+
const mo = /* @__PURE__ */ ra(nd);
|
|
10919
|
+
function ad(n) {
|
|
10920
10920
|
const e = mo.parse(n, { header: !1, skipEmptyLines: !0 }), t = e.errors.filter((i) => i.code !== "UndetectableDelimiter");
|
|
10921
10921
|
if (t.length > 0)
|
|
10922
10922
|
throw new Error(`CSV parse error: ${t[0].message}`);
|
|
10923
10923
|
return e.data;
|
|
10924
10924
|
}
|
|
10925
|
-
const
|
|
10926
|
-
async function
|
|
10925
|
+
const ld = process.env.NODE_ENV === "development";
|
|
10926
|
+
async function hd(n) {
|
|
10927
10927
|
try {
|
|
10928
10928
|
return JSON.parse(n);
|
|
10929
10929
|
} catch (e) {
|
|
10930
|
-
throw
|
|
10930
|
+
throw ld && console.warn("JSON Import Error - File contents is invalid JSON", e), new Error("Invalid JSON format");
|
|
10931
10931
|
}
|
|
10932
10932
|
}
|
|
10933
|
-
const pr = process.env.NODE_ENV === "development",
|
|
10933
|
+
const pr = process.env.NODE_ENV === "development", cd = function(n) {
|
|
10934
10934
|
const t = this.dependencyRegistry.lookup("XLSX");
|
|
10935
10935
|
if (!t)
|
|
10936
10936
|
return pr && console.warn("XLSX library not found in dependency registry"), [];
|
|
@@ -10939,11 +10939,11 @@ const pr = process.env.NODE_ENV === "development", dd = function(n) {
|
|
|
10939
10939
|
return pr && console.warn("XLSX workbook contains no sheets"), [];
|
|
10940
10940
|
const s = i.Sheets[i.SheetNames[0]];
|
|
10941
10941
|
return t.utils.sheet_to_json(s, { header: 1 });
|
|
10942
|
-
},
|
|
10943
|
-
array:
|
|
10944
|
-
csv:
|
|
10945
|
-
json:
|
|
10946
|
-
xlsx:
|
|
10942
|
+
}, dd = {
|
|
10943
|
+
array: sd,
|
|
10944
|
+
csv: ad,
|
|
10945
|
+
json: hd,
|
|
10946
|
+
xlsx: cd
|
|
10947
10947
|
}, di = process.env.NODE_ENV === "development", gi = class gi extends I {
|
|
10948
10948
|
constructor(e) {
|
|
10949
10949
|
super(e), this.registerTableOption("importFormat"), this.registerTableOption("importReader", "text"), this.registerTableOption("importHeaderTransform"), this.registerTableOption("importValueTransform"), this.registerTableOption("importDataValidator"), this.registerTableOption("importFileValidator");
|
|
@@ -11100,7 +11100,7 @@ const pr = process.env.NODE_ENV === "development", dd = function(n) {
|
|
|
11100
11100
|
return this.dispatch("import-imported", e), this.dispatchExternal("importImported", e), this.table.dataLoader?.clearAlert(), this.table.setData(e);
|
|
11101
11101
|
}
|
|
11102
11102
|
};
|
|
11103
|
-
gi.moduleName = "import", gi.importers =
|
|
11103
|
+
gi.moduleName = "import", gi.importers = dd;
|
|
11104
11104
|
let zs = gi;
|
|
11105
11105
|
const Ro = class Ro extends I {
|
|
11106
11106
|
constructor(e) {
|
|
@@ -11286,7 +11286,7 @@ const Ro = class Ro extends I {
|
|
|
11286
11286
|
};
|
|
11287
11287
|
Ro.moduleName = "interaction";
|
|
11288
11288
|
let _s = Ro;
|
|
11289
|
-
const
|
|
11289
|
+
const ud = {
|
|
11290
11290
|
keyBlock: function(n) {
|
|
11291
11291
|
n.stopPropagation(), n.preventDefault();
|
|
11292
11292
|
},
|
|
@@ -11334,7 +11334,7 @@ const pd = {
|
|
|
11334
11334
|
const e = this.table.rowManager;
|
|
11335
11335
|
e && (n.preventDefault(), e.displayRowsCount && e.scrollToRow(e.getDisplayRows()[0]), this.table.element.focus());
|
|
11336
11336
|
}
|
|
11337
|
-
},
|
|
11337
|
+
}, pd = {
|
|
11338
11338
|
navDown: 40,
|
|
11339
11339
|
navLeft: 37,
|
|
11340
11340
|
navNext: 9,
|
|
@@ -11345,7 +11345,7 @@ const pd = {
|
|
|
11345
11345
|
scrollPageUp: 33,
|
|
11346
11346
|
scrollToEnd: 35,
|
|
11347
11347
|
scrollToStart: 36
|
|
11348
|
-
},
|
|
11348
|
+
}, fd = process.env.NODE_ENV === "development", Ft = class Ft extends I {
|
|
11349
11349
|
constructor(e) {
|
|
11350
11350
|
super(e), this.watchKeys = null, this.pressedKeys = null, this.keyupBinding = !1, this.keydownBinding = !1, this.registerTableOption("keybindings", {}), this.registerTableOption("tabEndNewRow", !1);
|
|
11351
11351
|
}
|
|
@@ -11359,7 +11359,7 @@ const pd = {
|
|
|
11359
11359
|
(Array.isArray(i) ? i : [i]).forEach((o) => {
|
|
11360
11360
|
this.mapBinding(t, o);
|
|
11361
11361
|
});
|
|
11362
|
-
})) :
|
|
11362
|
+
})) : fd && console.warn("Key Binding Error - no such action:", t);
|
|
11363
11363
|
}
|
|
11364
11364
|
mapBinding(e, t) {
|
|
11365
11365
|
const i = {
|
|
@@ -11412,7 +11412,7 @@ const pd = {
|
|
|
11412
11412
|
}), i && t.action.call(this, e), !0) : !1;
|
|
11413
11413
|
}
|
|
11414
11414
|
};
|
|
11415
|
-
Ft.moduleName = "keybindings", Ft.bindings =
|
|
11415
|
+
Ft.moduleName = "keybindings", Ft.bindings = pd, Ft.actions = ud;
|
|
11416
11416
|
let Os = Ft;
|
|
11417
11417
|
const So = class So extends I {
|
|
11418
11418
|
constructor(e) {
|
|
@@ -11697,7 +11697,7 @@ const ko = class ko extends I {
|
|
|
11697
11697
|
};
|
|
11698
11698
|
ko.moduleName = "moveColumn";
|
|
11699
11699
|
let Ps = ko;
|
|
11700
|
-
const
|
|
11700
|
+
const md = {
|
|
11701
11701
|
add: function(n, e, t) {
|
|
11702
11702
|
return n && this.table.addRow(n.getData("")), !0;
|
|
11703
11703
|
},
|
|
@@ -11710,7 +11710,7 @@ const gd = {
|
|
|
11710
11710
|
update: function(n, e, t) {
|
|
11711
11711
|
return e && n ? (e.update(n.getData("")), !0) : !1;
|
|
11712
11712
|
}
|
|
11713
|
-
},
|
|
11713
|
+
}, gd = {
|
|
11714
11714
|
delete: function(n, e, t) {
|
|
11715
11715
|
n && n.delete();
|
|
11716
11716
|
}
|
|
@@ -12056,9 +12056,9 @@ const gd = {
|
|
|
12056
12056
|
}
|
|
12057
12057
|
}
|
|
12058
12058
|
};
|
|
12059
|
-
jt.moduleName = "moveRow", jt.senders =
|
|
12059
|
+
jt.moduleName = "moveRow", jt.senders = gd, jt.receivers = md;
|
|
12060
12060
|
let Is = jt;
|
|
12061
|
-
const
|
|
12061
|
+
const bd = {}, wd = process.env.NODE_ENV === "development", ii = class ii extends I {
|
|
12062
12062
|
constructor(e) {
|
|
12063
12063
|
super(e), this.allowedTypes = ["", "data", "edit", "clipboard", "import"], this.enabled = !0, this.registerColumnOption("mutator"), this.registerColumnOption("mutatorParams"), this.registerColumnOption("mutatorData"), this.registerColumnOption("mutatorDataParams"), this.registerColumnOption("mutatorEdit"), this.registerColumnOption("mutatorEditParams"), this.registerColumnOption("mutatorClipboard"), this.registerColumnOption("mutatorClipboardParams"), this.registerColumnOption("mutatorImport"), this.registerColumnOption("mutatorImportParams"), this.registerColumnOption("mutateLink");
|
|
12064
12064
|
}
|
|
@@ -12084,7 +12084,7 @@ const wd = {}, vd = process.env.NODE_ENV === "development", ii = class ii extend
|
|
|
12084
12084
|
let t = !1;
|
|
12085
12085
|
switch (typeof e) {
|
|
12086
12086
|
case "string":
|
|
12087
|
-
ii.mutators[e] ? t = ii.mutators[e] :
|
|
12087
|
+
ii.mutators[e] ? t = ii.mutators[e] : wd && console.warn(
|
|
12088
12088
|
"Mutator Error - No such mutator found, ignoring: ",
|
|
12089
12089
|
e
|
|
12090
12090
|
);
|
|
@@ -12147,7 +12147,7 @@ const wd = {}, vd = process.env.NODE_ENV === "development", ii = class ii extend
|
|
|
12147
12147
|
this.enabled = !1;
|
|
12148
12148
|
}
|
|
12149
12149
|
};
|
|
12150
|
-
ii.moduleName = "mutator", ii.mutators =
|
|
12150
|
+
ii.moduleName = "mutator", ii.mutators = bd;
|
|
12151
12151
|
let Hs = ii;
|
|
12152
12152
|
const To = class To extends I {
|
|
12153
12153
|
constructor(e) {
|
|
@@ -12430,7 +12430,7 @@ const To = class To extends I {
|
|
|
12430
12430
|
};
|
|
12431
12431
|
To.moduleName = "page";
|
|
12432
12432
|
let Ns = To;
|
|
12433
|
-
const fr = process.env.NODE_ENV === "development",
|
|
12433
|
+
const fr = process.env.NODE_ENV === "development", vd = {
|
|
12434
12434
|
cookie: function(n, e) {
|
|
12435
12435
|
let t = document.cookie;
|
|
12436
12436
|
const i = n + "-" + e, s = t.indexOf(i + "=");
|
|
@@ -12458,7 +12458,7 @@ const fr = process.env.NODE_ENV === "development", yd = {
|
|
|
12458
12458
|
return fr && console.error("Failed to parse localStorage data:", i), !1;
|
|
12459
12459
|
}
|
|
12460
12460
|
}
|
|
12461
|
-
},
|
|
12461
|
+
}, yd = {
|
|
12462
12462
|
cookie: function(n, e, t) {
|
|
12463
12463
|
const i = /* @__PURE__ */ new Date();
|
|
12464
12464
|
i.setDate(i.getDate() + 1e4), document.cookie = n + "-" + e + "=" + encodeURIComponent(JSON.stringify(t)) + "; expires=" + i.toUTCString();
|
|
@@ -12673,7 +12673,7 @@ const fr = process.env.NODE_ENV === "development", yd = {
|
|
|
12673
12673
|
}), t;
|
|
12674
12674
|
}
|
|
12675
12675
|
};
|
|
12676
|
-
Ne.moduleName = "persistence", Ne.moduleInitOrder = -10, Ne.readers =
|
|
12676
|
+
Ne.moduleName = "persistence", Ne.moduleInitOrder = -10, Ne.readers = vd, Ne.writers = yd;
|
|
12677
12677
|
let Vs = Ne;
|
|
12678
12678
|
const Do = class Do extends I {
|
|
12679
12679
|
constructor(e) {
|
|
@@ -13388,7 +13388,7 @@ const _o = class _o extends I {
|
|
|
13388
13388
|
};
|
|
13389
13389
|
_o.moduleName = "resizeTable";
|
|
13390
13390
|
let Us = _o;
|
|
13391
|
-
function
|
|
13391
|
+
function Cd(n) {
|
|
13392
13392
|
const e = document.createElement("div"), t = n.getRow()._row.modules.responsiveLayout;
|
|
13393
13393
|
e.classList.add("tabulator-responsive-collapse-toggle"), e.innerHTML = `<svg class='tabulator-responsive-collapse-toggle-open' viewBox="0 0 24 24">
|
|
13394
13394
|
<line x1="7" y1="12" x2="17" y2="12" fill="none" stroke-width="3" stroke-linecap="round" />
|
|
@@ -13406,10 +13406,10 @@ function Ed(n) {
|
|
|
13406
13406
|
s.stopImmediatePropagation(), i(!t.open), n.getTable()?.rowManager?.adjustTableSize();
|
|
13407
13407
|
}), i(t.open), e;
|
|
13408
13408
|
}
|
|
13409
|
-
const
|
|
13409
|
+
const Ed = {
|
|
13410
13410
|
format: {
|
|
13411
13411
|
formatters: {
|
|
13412
|
-
responsiveCollapse:
|
|
13412
|
+
responsiveCollapse: Cd
|
|
13413
13413
|
}
|
|
13414
13414
|
}
|
|
13415
13415
|
}, Bi = class Bi extends I {
|
|
@@ -13571,11 +13571,11 @@ const xd = {
|
|
|
13571
13571
|
}), Object.keys(e).length ? t : "";
|
|
13572
13572
|
}
|
|
13573
13573
|
};
|
|
13574
|
-
Bi.moduleName = "responsiveLayout", Bi.moduleExtensions =
|
|
13574
|
+
Bi.moduleName = "responsiveLayout", Bi.moduleExtensions = Ed;
|
|
13575
13575
|
let Ks = Bi;
|
|
13576
|
-
const
|
|
13577
|
-
function
|
|
13578
|
-
const i = B(
|
|
13576
|
+
const xd = x`<cx-checkbox></cx-checkbox>`;
|
|
13577
|
+
function Rd(n, e, t) {
|
|
13578
|
+
const i = B(xd);
|
|
13579
13579
|
let s = i, o = !1;
|
|
13580
13580
|
i.setAttribute("aria-label", "Select Row");
|
|
13581
13581
|
const r = this.table;
|
|
@@ -13601,10 +13601,10 @@ function Sd(n, e, t) {
|
|
|
13601
13601
|
}
|
|
13602
13602
|
return s;
|
|
13603
13603
|
}
|
|
13604
|
-
const
|
|
13604
|
+
const Sd = {
|
|
13605
13605
|
format: {
|
|
13606
13606
|
formatters: {
|
|
13607
|
-
rowSelection:
|
|
13607
|
+
rowSelection: Rd
|
|
13608
13608
|
}
|
|
13609
13609
|
}
|
|
13610
13610
|
}, gr = process.env.NODE_ENV === "development", $i = class $i extends I {
|
|
@@ -13830,9 +13830,9 @@ const kd = {
|
|
|
13830
13830
|
this._deselectRow(s, !0);
|
|
13831
13831
|
}
|
|
13832
13832
|
};
|
|
13833
|
-
$i.moduleName = "selectRow", $i.moduleExtensions =
|
|
13833
|
+
$i.moduleName = "selectRow", $i.moduleExtensions = Sd;
|
|
13834
13834
|
let qs = $i;
|
|
13835
|
-
const
|
|
13835
|
+
const kd = {
|
|
13836
13836
|
range: function(n) {
|
|
13837
13837
|
if (!n || n.length === 0)
|
|
13838
13838
|
return [];
|
|
@@ -13852,7 +13852,7 @@ const Td = {
|
|
|
13852
13852
|
}
|
|
13853
13853
|
return e;
|
|
13854
13854
|
}
|
|
13855
|
-
},
|
|
13855
|
+
}, Td = {
|
|
13856
13856
|
range: function(n) {
|
|
13857
13857
|
const e = [], t = [], i = this.table.modules.selectRange.activeRange;
|
|
13858
13858
|
let s = !1, o, r, a, l, h;
|
|
@@ -13874,16 +13874,16 @@ const Td = {
|
|
|
13874
13874
|
}
|
|
13875
13875
|
return !1;
|
|
13876
13876
|
}
|
|
13877
|
-
},
|
|
13877
|
+
}, Dd = {
|
|
13878
13878
|
range: function() {
|
|
13879
13879
|
const n = this.modules.selectRange.selectedColumns();
|
|
13880
13880
|
return this.columnManager?.rowHeader && n.unshift(this.columnManager.rowHeader), n;
|
|
13881
13881
|
}
|
|
13882
|
-
},
|
|
13882
|
+
}, Md = process.env.NODE_ENV === "development", Fd = {
|
|
13883
13883
|
range: function() {
|
|
13884
|
-
return this.modules?.selectRange ? this.modules.selectRange.selectedRows() : (
|
|
13884
|
+
return this.modules?.selectRange ? this.modules.selectRange.selectedRows() : (Md && console.warn("SelectRange module not loaded"), []);
|
|
13885
13885
|
}
|
|
13886
|
-
},
|
|
13886
|
+
}, Ld = {
|
|
13887
13887
|
rangeExpandDown: function(n) {
|
|
13888
13888
|
this.dispatch("keybinding-nav-range", n, "down", !1, !0);
|
|
13889
13889
|
},
|
|
@@ -13920,7 +13920,7 @@ const Td = {
|
|
|
13920
13920
|
rangeJumpUp: function(n) {
|
|
13921
13921
|
this.dispatch("keybinding-nav-range", n, "up", !0, !1);
|
|
13922
13922
|
}
|
|
13923
|
-
},
|
|
13923
|
+
}, zd = {
|
|
13924
13924
|
rangeExpandDown: "shift + 40",
|
|
13925
13925
|
rangeExpandJumpDown: ["ctrl + shift + 40", "meta + shift + 40"],
|
|
13926
13926
|
rangeExpandJumpLeft: ["ctrl + shift + 37", "meta + shift + 37"],
|
|
@@ -13933,21 +13933,21 @@ const Td = {
|
|
|
13933
13933
|
rangeJumpLeft: ["ctrl + 37", "meta + 37"],
|
|
13934
13934
|
rangeJumpRight: ["ctrl + 39", "meta + 39"],
|
|
13935
13935
|
rangeJumpUp: ["ctrl + 38", "meta + 38"]
|
|
13936
|
-
},
|
|
13936
|
+
}, _d = {
|
|
13937
13937
|
clipboard: {
|
|
13938
|
-
pasteActions:
|
|
13939
|
-
pasteParsers:
|
|
13938
|
+
pasteActions: kd,
|
|
13939
|
+
pasteParsers: Td
|
|
13940
13940
|
},
|
|
13941
13941
|
export: {
|
|
13942
|
-
columnLookups:
|
|
13943
|
-
rowLookups:
|
|
13942
|
+
columnLookups: Dd,
|
|
13943
|
+
rowLookups: Fd
|
|
13944
13944
|
},
|
|
13945
13945
|
keybindings: {
|
|
13946
|
-
actions:
|
|
13947
|
-
bindings:
|
|
13946
|
+
actions: Ld,
|
|
13947
|
+
bindings: zd
|
|
13948
13948
|
}
|
|
13949
13949
|
};
|
|
13950
|
-
class
|
|
13950
|
+
class Od {
|
|
13951
13951
|
constructor(e) {
|
|
13952
13952
|
return this._range = e, new Proxy(this, {
|
|
13953
13953
|
get: function(t, i) {
|
|
@@ -14012,7 +14012,7 @@ class Ad {
|
|
|
14012
14012
|
}
|
|
14013
14013
|
}
|
|
14014
14014
|
const br = process.env.NODE_ENV === "development";
|
|
14015
|
-
class
|
|
14015
|
+
class Ad extends Me {
|
|
14016
14016
|
constructor(e, t, i, s) {
|
|
14017
14017
|
super(e), this.rangeManager = t, this.element = null, this.initialized = !1, this.initializing = {
|
|
14018
14018
|
end: !1,
|
|
@@ -14145,7 +14145,7 @@ class Pd extends Me {
|
|
|
14145
14145
|
return t.length ? (i.start = t[0], i.end = t.at(-1)) : br && console.warn("No bounds defined on range"), i;
|
|
14146
14146
|
}
|
|
14147
14147
|
getComponent() {
|
|
14148
|
-
return this.component ??= new
|
|
14148
|
+
return this.component ??= new Od(this), this.component;
|
|
14149
14149
|
}
|
|
14150
14150
|
destroy(e) {
|
|
14151
14151
|
this.destroyed = !0, this.element && this.element.remove(), e && this.rangeManager.rangeRemoved(this), this.initialized && this.dispatchExternal("rangeRemoved", this.getComponent());
|
|
@@ -14156,9 +14156,9 @@ class Pd extends Me {
|
|
|
14156
14156
|
), !this.destroyed;
|
|
14157
14157
|
}
|
|
14158
14158
|
}
|
|
14159
|
-
const Vt = process.env.NODE_ENV === "development",
|
|
14159
|
+
const Vt = process.env.NODE_ENV === "development", Pd = x`<div class="tabulator-range-cell-hover"></div>`, bi = class bi extends I {
|
|
14160
14160
|
constructor(e) {
|
|
14161
|
-
super(e), this.selecting = Ue.Cell, this.mousedown = !1, this.ranges = [], this.overlay = null, this.rowHeader = null, this.debouncedLayoutRanges =
|
|
14161
|
+
super(e), this.selecting = Ue.Cell, this.mousedown = !1, this.ranges = [], this.overlay = null, this.rowHeader = null, this.debouncedLayoutRanges = na(() => {
|
|
14162
14162
|
this.layoutRanges();
|
|
14163
14163
|
}, 200), this.layoutChangeRaf = null, this.columnSelection = !1, this.rowSelection = !1, this.maxRanges = 0, this.activeRange = !1, this.blockKeydown = !1, this.rangeContainer = null, this.activeRangeCellElement = null, this.hoverRangeCellElement = null, this.hoveredCell = null, this.keyDownEvent = this._handleKeyDown.bind(this), this.mouseUpEvent = this._handleMouseUp.bind(this), this.registerTableOption("selectableRange", !1), this.registerTableOption("selectableRangeColumns", !1), this.registerTableOption("selectableRangeRows", !1), this.registerTableOption("selectableRangeClearCells", !1), this.registerTableOption("selectableRangeClearCellsValue", void 0), this.registerTableOption("selectableRangeAutoFocus", !0), this.registerTableFunction("getRangesData", this.getRangesData.bind(this)), this.registerTableFunction("getRanges", this.getRanges.bind(this)), this.registerTableFunction(
|
|
14164
14164
|
"addRange",
|
|
@@ -14192,7 +14192,7 @@ const Vt = process.env.NODE_ENV === "development", Id = x`<div class="tabulator-
|
|
|
14192
14192
|
));
|
|
14193
14193
|
}
|
|
14194
14194
|
initializeTable() {
|
|
14195
|
-
this.overlay = document.createElement("div"), this.overlay.classList.add("tabulator-range-overlay"), this.rangeContainer = document.createElement("div"), this.rangeContainer.classList.add("tabulator-range-container"), this.activeRangeCellElement = document.createElement("div"), this.activeRangeCellElement.classList.add("tabulator-range-cell-active"), this.hoverRangeCellElement = B(
|
|
14195
|
+
this.overlay = document.createElement("div"), this.overlay.classList.add("tabulator-range-overlay"), this.rangeContainer = document.createElement("div"), this.rangeContainer.classList.add("tabulator-range-container"), this.activeRangeCellElement = document.createElement("div"), this.activeRangeCellElement.classList.add("tabulator-range-cell-active"), this.hoverRangeCellElement = B(Pd), this.overlay.appendChild(this.rangeContainer), this.overlay.appendChild(this.hoverRangeCellElement), this.overlay.appendChild(this.activeRangeCellElement), this.table.rowManager?.element && this.table.rowManager.element.addEventListener(
|
|
14196
14196
|
"keydown",
|
|
14197
14197
|
this.keyDownEvent
|
|
14198
14198
|
), this.resetRanges(), this.table.rowManager?.element && this.overlay && this.table.rowManager.element.appendChild(this.overlay), this.table.columnManager?.element && this.table.columnManager.element.setAttribute("tabindex", "0"), this.table.element.classList.add("tabulator-ranges");
|
|
@@ -14680,7 +14680,7 @@ const Vt = process.env.NODE_ENV === "development", Id = x`<div class="tabulator-
|
|
|
14680
14680
|
const s = this.ranges.shift();
|
|
14681
14681
|
s && s.destroy(!1);
|
|
14682
14682
|
}
|
|
14683
|
-
const i = new
|
|
14683
|
+
const i = new Ad(this.table, this, e, t);
|
|
14684
14684
|
return this.activeRange = i, this.ranges.push(i), this.rangeContainer && i.element && this.rangeContainer.appendChild(i.element), i;
|
|
14685
14685
|
}
|
|
14686
14686
|
resetRanges() {
|
|
@@ -14713,9 +14713,9 @@ const Vt = process.env.NODE_ENV === "development", Id = x`<div class="tabulator-
|
|
|
14713
14713
|
return e == null || e === "";
|
|
14714
14714
|
}
|
|
14715
14715
|
};
|
|
14716
|
-
bi.moduleName = "selectRange", bi.moduleInitOrder = 1, bi.moduleExtensions =
|
|
14716
|
+
bi.moduleName = "selectRange", bi.moduleInitOrder = 1, bi.moduleExtensions = _d;
|
|
14717
14717
|
let Xs = bi;
|
|
14718
|
-
function
|
|
14718
|
+
function Id(n, e, t, i, s, o, r) {
|
|
14719
14719
|
const a = r.alignEmptyValues;
|
|
14720
14720
|
let l = 0;
|
|
14721
14721
|
if (!n && n !== 0)
|
|
@@ -14753,7 +14753,7 @@ function Hd(n, e, t, i, s, o, r) {
|
|
|
14753
14753
|
}
|
|
14754
14754
|
return (a === "top" && o === "desc" || a === "bottom" && o === "asc") && (l *= -1), l;
|
|
14755
14755
|
}
|
|
14756
|
-
function
|
|
14756
|
+
function Hd(n, e, t, i, s, o, r) {
|
|
14757
14757
|
const a = r.type || "length", l = r.alignEmptyValues;
|
|
14758
14758
|
let h = 0;
|
|
14759
14759
|
const c = this.table;
|
|
@@ -14801,10 +14801,10 @@ function Nd(n, e, t, i, s, o, r) {
|
|
|
14801
14801
|
return a === "string" ? String(p(n)).toLowerCase().localeCompare(String(p(e)).toLowerCase()) : p(e) - p(n);
|
|
14802
14802
|
return (l === "top" && o === "desc" || l === "bottom" && o === "asc") && (h *= -1), h;
|
|
14803
14803
|
}
|
|
14804
|
-
function
|
|
14804
|
+
function Nd(n, e, t, i, s, o, r) {
|
|
14805
14805
|
return (n === !0 || n === "true" || n === "True" || n === 1 ? 1 : 0) - (e === !0 || e === "true" || e === "True" || e === 1 ? 1 : 0);
|
|
14806
14806
|
}
|
|
14807
|
-
const
|
|
14807
|
+
const Vd = process.env.NODE_ENV === "development";
|
|
14808
14808
|
function go(n, e, t, i, s, o, r) {
|
|
14809
14809
|
const { alignEmptyValues: a, format: l = "dd/MM/yyyy HH:mm:ss" } = r || {}, h = this.table.dependencyRegistry.lookup(
|
|
14810
14810
|
["luxon", "DateTime"],
|
|
@@ -14822,17 +14822,17 @@ function go(n, e, t, i, s, o, r) {
|
|
|
14822
14822
|
}
|
|
14823
14823
|
return (a === "top" && o === "desc" || a === "bottom" && o === "asc") && (c *= -1), c;
|
|
14824
14824
|
} else
|
|
14825
|
-
return
|
|
14825
|
+
return Vd && console.error("Sort Error - 'datetime' sorter is dependent on luxon.js"), 0;
|
|
14826
14826
|
}
|
|
14827
|
-
function
|
|
14827
|
+
function Bd(n, e, t, i, s, o, r) {
|
|
14828
14828
|
const a = r ?? {};
|
|
14829
14829
|
return a.format || (a.format = "dd/MM/yyyy"), go.call(this, n, e, t, i, s, o, a);
|
|
14830
14830
|
}
|
|
14831
|
-
function
|
|
14831
|
+
function $d(n, e, t, i, s, o, r) {
|
|
14832
14832
|
const a = (c) => c === null || typeof c > "u" || c === "", l = a(n) ? 0 : 1, h = a(e) ? 0 : 1;
|
|
14833
14833
|
return l - h;
|
|
14834
14834
|
}
|
|
14835
|
-
function
|
|
14835
|
+
function Wd(n, e, t, i, s, o, r) {
|
|
14836
14836
|
const a = r ?? {}, l = a.alignEmptyValues, h = a.decimalSeparator, c = a.thousandSeparator;
|
|
14837
14837
|
let d = 0, p = String(n), u = String(e);
|
|
14838
14838
|
c && (p = p.split(c).join(""), u = u.split(c).join("")), h && (p = p.split(h).join("."), u = u.split(h).join("."));
|
|
@@ -14845,7 +14845,7 @@ function jd(n, e, t, i, s, o, r) {
|
|
|
14845
14845
|
return f - w;
|
|
14846
14846
|
return (l === "top" && o === "desc" || l === "bottom" && o === "asc") && (d *= -1), d;
|
|
14847
14847
|
}
|
|
14848
|
-
function
|
|
14848
|
+
function jd(n, e, t, i, s, o, r = {}) {
|
|
14849
14849
|
const a = r.alignEmptyValues;
|
|
14850
14850
|
let l = 0, h;
|
|
14851
14851
|
const c = (d) => d == null || d === "";
|
|
@@ -14866,21 +14866,21 @@ function Gd(n, e, t, i, s, o, r = {}) {
|
|
|
14866
14866
|
}
|
|
14867
14867
|
return (a === "top" && o === "desc" || a === "bottom" && o === "asc") && (l *= -1), l;
|
|
14868
14868
|
}
|
|
14869
|
-
function
|
|
14869
|
+
function Gd(n, e, t, i, s, o, r) {
|
|
14870
14870
|
const a = r ?? {}, l = a.format ? a : { ...a, format: "HH:mm" };
|
|
14871
14871
|
return go.call(this, n, e, t, i, s, o, l);
|
|
14872
14872
|
}
|
|
14873
|
-
const
|
|
14874
|
-
alphanum:
|
|
14875
|
-
array:
|
|
14876
|
-
boolean:
|
|
14877
|
-
date:
|
|
14873
|
+
const Ud = {
|
|
14874
|
+
alphanum: Id,
|
|
14875
|
+
array: Hd,
|
|
14876
|
+
boolean: Nd,
|
|
14877
|
+
date: Bd,
|
|
14878
14878
|
datetime: go,
|
|
14879
|
-
exists:
|
|
14880
|
-
number:
|
|
14881
|
-
string:
|
|
14882
|
-
time:
|
|
14883
|
-
}, wr = process.env.NODE_ENV === "development",
|
|
14879
|
+
exists: $d,
|
|
14880
|
+
number: Wd,
|
|
14881
|
+
string: jd,
|
|
14882
|
+
time: Gd
|
|
14883
|
+
}, wr = process.env.NODE_ENV === "development", Kd = {
|
|
14884
14884
|
asc: "ascending",
|
|
14885
14885
|
desc: "descending",
|
|
14886
14886
|
none: "none"
|
|
@@ -15076,7 +15076,7 @@ const Kd = {
|
|
|
15076
15076
|
}
|
|
15077
15077
|
// set the column header sort direction
|
|
15078
15078
|
setColumnHeader(e, t) {
|
|
15079
|
-
e.modules.sort.dir = t, e.getElement().setAttribute("aria-sort",
|
|
15079
|
+
e.modules.sort.dir = t, e.getElement().setAttribute("aria-sort", Kd[t]), this.setColumnHeaderSortIcon(e, t);
|
|
15080
15080
|
}
|
|
15081
15081
|
setColumnHeaderSortIcon(e, t) {
|
|
15082
15082
|
const i = e.modules.sort.element;
|
|
@@ -15132,9 +15132,9 @@ const Kd = {
|
|
|
15132
15132
|
return 0;
|
|
15133
15133
|
}
|
|
15134
15134
|
};
|
|
15135
|
-
Gt.moduleName = "sort", Gt.sorters =
|
|
15135
|
+
Gt.moduleName = "sort", Gt.sorters = Ud;
|
|
15136
15136
|
let Ei = Gt;
|
|
15137
|
-
class
|
|
15137
|
+
class qd {
|
|
15138
15138
|
constructor(e, t) {
|
|
15139
15139
|
this.columnCount = e, this.rowCount = t, this.columnString = [], this.columns = [], this.rows = [];
|
|
15140
15140
|
}
|
|
@@ -15223,7 +15223,7 @@ class un {
|
|
|
15223
15223
|
}
|
|
15224
15224
|
class vr extends Me {
|
|
15225
15225
|
constructor(e, t) {
|
|
15226
|
-
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
|
|
15226
|
+
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 = {
|
|
15227
15227
|
headerHozAlign: "center",
|
|
15228
15228
|
headerSort: !1,
|
|
15229
15229
|
title: "",
|
|
@@ -15553,7 +15553,7 @@ function os(n, e) {
|
|
|
15553
15553
|
function rs(n) {
|
|
15554
15554
|
return n instanceof Date ? n.getTime() : typeof n == "number" ? Number.isFinite(n) ? n : NaN : typeof n == "string" ? Date.parse(n) : NaN;
|
|
15555
15555
|
}
|
|
15556
|
-
const
|
|
15556
|
+
const Xd = [
|
|
15557
15557
|
{ groupName: "year", token: "YYYY" },
|
|
15558
15558
|
{ groupName: "month", token: "MM" },
|
|
15559
15559
|
{ groupName: "day", token: "DD" },
|
|
@@ -15561,25 +15561,25 @@ const Jd = [
|
|
|
15561
15561
|
{ groupName: "minute", token: "mm" },
|
|
15562
15562
|
{ groupName: "second", token: "ss" }
|
|
15563
15563
|
];
|
|
15564
|
-
function
|
|
15564
|
+
function Jd(n) {
|
|
15565
15565
|
return n.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
15566
15566
|
}
|
|
15567
|
-
function
|
|
15567
|
+
function Yd(n) {
|
|
15568
15568
|
let e = "", t = 0;
|
|
15569
15569
|
for (; t < n.length; ) {
|
|
15570
|
-
const i =
|
|
15570
|
+
const i = Xd.find(
|
|
15571
15571
|
({ token: s }) => n.startsWith(s, t)
|
|
15572
15572
|
);
|
|
15573
15573
|
if (i) {
|
|
15574
15574
|
const s = i.token.length;
|
|
15575
15575
|
e += `(?<${i.groupName}>\\d{${s}})`, t += s;
|
|
15576
15576
|
} else
|
|
15577
|
-
e +=
|
|
15577
|
+
e += Jd(n[t]), t += 1;
|
|
15578
15578
|
}
|
|
15579
15579
|
return new RegExp(`^${e}$`);
|
|
15580
15580
|
}
|
|
15581
|
-
function
|
|
15582
|
-
const t =
|
|
15581
|
+
function Zd(n, e) {
|
|
15582
|
+
const t = Yd(e).exec(n);
|
|
15583
15583
|
if (!t?.groups)
|
|
15584
15584
|
return !1;
|
|
15585
15585
|
const i = Number(t.groups.year ?? "1970"), s = Number(t.groups.month ?? "1"), o = Number(t.groups.day ?? "1"), r = Number(t.groups.hour ?? "0"), a = Number(t.groups.minute ?? "0"), l = Number(t.groups.second ?? "0");
|
|
@@ -15602,7 +15602,7 @@ const pn = {
|
|
|
15602
15602
|
date(n, e) {
|
|
15603
15603
|
if (Re(n))
|
|
15604
15604
|
return !0;
|
|
15605
|
-
if (e && typeof e == "object" && e.format !== void 0 && !
|
|
15605
|
+
if (e && typeof e == "object" && e.format !== void 0 && !Zd(String(n), e.format))
|
|
15606
15606
|
return !1;
|
|
15607
15607
|
const t = rs(n);
|
|
15608
15608
|
if (Number.isNaN(t))
|
|
@@ -15709,7 +15709,7 @@ function ze(n) {
|
|
|
15709
15709
|
return pn[n](t, i);
|
|
15710
15710
|
};
|
|
15711
15711
|
}
|
|
15712
|
-
const
|
|
15712
|
+
const Qd = {
|
|
15713
15713
|
alphanumeric: ze("alphanumeric"),
|
|
15714
15714
|
boolean: ze("boolean"),
|
|
15715
15715
|
date: ze("date"),
|
|
@@ -15736,7 +15736,7 @@ const eu = {
|
|
|
15736
15736
|
}), pn.unique(e, t, { columnValues: o });
|
|
15737
15737
|
}
|
|
15738
15738
|
};
|
|
15739
|
-
function
|
|
15739
|
+
function eu(n) {
|
|
15740
15740
|
return new Worker(
|
|
15741
15741
|
"https://design-system.orangelogic.com/assets/validation.worker-D3_lxKZ_.js",
|
|
15742
15742
|
{
|
|
@@ -15744,17 +15744,17 @@ function tu(n) {
|
|
|
15744
15744
|
}
|
|
15745
15745
|
);
|
|
15746
15746
|
}
|
|
15747
|
-
const
|
|
15748
|
-
let St,
|
|
15747
|
+
const tu = "cx-validation-request", iu = "cx-validation-response";
|
|
15748
|
+
let St, su = 0;
|
|
15749
15749
|
const xi = /* @__PURE__ */ new Map();
|
|
15750
15750
|
function Cr() {
|
|
15751
15751
|
xi.forEach(
|
|
15752
15752
|
(n) => n.reject(new Error("Validation worker failed"))
|
|
15753
15753
|
), xi.clear(), St?.terminate(), St = void 0;
|
|
15754
15754
|
}
|
|
15755
|
-
function
|
|
15756
|
-
return St || (St = new
|
|
15757
|
-
if (n.origin !== "" || n.data?.type !==
|
|
15755
|
+
function ou() {
|
|
15756
|
+
return St || (St = new eu(), St.addEventListener("message", (n) => {
|
|
15757
|
+
if (n.origin !== "" || n.data?.type !== iu)
|
|
15758
15758
|
return;
|
|
15759
15759
|
const { done: e, id: t, results: i } = n.data.payload, s = xi.get(t);
|
|
15760
15760
|
s && (s.accumulatedResults.push(...i), s.onChunk?.(i), e && (xi.delete(t), s.resolve(s.accumulatedResults)));
|
|
@@ -15764,18 +15764,18 @@ function fn(n, e) {
|
|
|
15764
15764
|
return new Promise((t, i) => {
|
|
15765
15765
|
let s;
|
|
15766
15766
|
try {
|
|
15767
|
-
s =
|
|
15767
|
+
s = ou();
|
|
15768
15768
|
} catch (r) {
|
|
15769
15769
|
i(r instanceof Error ? r : new Error(String(r)));
|
|
15770
15770
|
return;
|
|
15771
15771
|
}
|
|
15772
|
-
const o = ++
|
|
15772
|
+
const o = ++su;
|
|
15773
15773
|
xi.set(o, {
|
|
15774
15774
|
accumulatedResults: [],
|
|
15775
15775
|
onChunk: e,
|
|
15776
15776
|
reject: i,
|
|
15777
15777
|
resolve: t
|
|
15778
|
-
}), s.postMessage({ payload: { fields: n, id: o }, type:
|
|
15778
|
+
}), s.postMessage({ payload: { fields: n, id: o }, type: tu });
|
|
15779
15779
|
});
|
|
15780
15780
|
}
|
|
15781
15781
|
const Er = process.env.NODE_ENV === "development", xr = 2e3, Rr = 1e3, Zt = "data-validation-message", wi = class wi extends I {
|
|
@@ -16162,7 +16162,7 @@ const Er = process.env.NODE_ENV === "development", xr = 2e3, Rr = 1e3, Zt = "dat
|
|
|
16162
16162
|
this.suppressValidationChanged || this.dispatchExternal("validationChanged", this.getValidationSummary());
|
|
16163
16163
|
}
|
|
16164
16164
|
};
|
|
16165
|
-
wi.moduleName = "validate", wi.validators =
|
|
16165
|
+
wi.moduleName = "validate", wi.validators = Qd;
|
|
16166
16166
|
let Zs = wi;
|
|
16167
16167
|
const ns = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16168
16168
|
__proto__: null,
|
|
@@ -16207,7 +16207,7 @@ const ns = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16207
16207
|
TooltipModule: Ys,
|
|
16208
16208
|
ValidateModule: Zs
|
|
16209
16209
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
16210
|
-
class
|
|
16210
|
+
class ru extends Ji {
|
|
16211
16211
|
constructor(e) {
|
|
16212
16212
|
super(e);
|
|
16213
16213
|
}
|
|
@@ -16229,7 +16229,7 @@ class nu extends Ji {
|
|
|
16229
16229
|
}
|
|
16230
16230
|
}
|
|
16231
16231
|
const as = process.env.NODE_ENV === "development";
|
|
16232
|
-
class
|
|
16232
|
+
class nu extends Ji {
|
|
16233
16233
|
constructor(e) {
|
|
16234
16234
|
super(e), this.leftCol = 0, this.rightCol = 0, this.scrollLeft = 0, this.vDomScrollPosLeft = 0, this.vDomScrollPosRight = 0, this.vDomPadLeft = 0, this.vDomPadRight = 0, this.fitDataColAvg = 0, this.windowBuffer = 200, this.visibleRowsCache = null, this.initialized = !1, this.isFitData = !1, this.columns = [];
|
|
16235
16235
|
}
|
|
@@ -16530,7 +16530,7 @@ class au extends Ji {
|
|
|
16530
16530
|
}
|
|
16531
16531
|
}
|
|
16532
16532
|
}
|
|
16533
|
-
const
|
|
16533
|
+
const au = process.env.NODE_ENV === "development";
|
|
16534
16534
|
class mn {
|
|
16535
16535
|
constructor(e, t, i = {}) {
|
|
16536
16536
|
this.registeredDefaults = {}, this.table = e, this.msgType = t, this.registeredDefaults = { ...i };
|
|
@@ -16542,14 +16542,14 @@ class mn {
|
|
|
16542
16542
|
const i = { ...this.registeredDefaults }, s = this.table.options.debugInvalidOptions || t.debugInvalidOptions === !0;
|
|
16543
16543
|
Object.assign(i, e);
|
|
16544
16544
|
for (const o in t)
|
|
16545
|
-
Object.hasOwn(t, o) && (Object.hasOwn(i, o) || (
|
|
16545
|
+
Object.hasOwn(t, o) && (Object.hasOwn(i, o) || (au && s && console.warn("Invalid " + this.msgType + " option:", o), i[o] = t[o]));
|
|
16546
16546
|
for (const o in i)
|
|
16547
16547
|
Object.hasOwn(i, o) && (o in t ? i[o] = t[o] : Array.isArray(i[o]) ? i[o] = Object.assign([], i[o]) : typeof i[o] == "object" && i[o] !== null ? i[o] = { ...i[o] } : (i[o] === void 0 || i[o] === null) && delete i[o]);
|
|
16548
16548
|
return i;
|
|
16549
16549
|
}
|
|
16550
16550
|
}
|
|
16551
16551
|
const Sr = process.env.NODE_ENV === "development";
|
|
16552
|
-
class
|
|
16552
|
+
class lu extends Me {
|
|
16553
16553
|
constructor(e) {
|
|
16554
16554
|
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 mn(
|
|
16555
16555
|
this.table,
|
|
@@ -16578,8 +16578,8 @@ class hu extends Me {
|
|
|
16578
16578
|
initializeRenderer() {
|
|
16579
16579
|
let e;
|
|
16580
16580
|
const t = {
|
|
16581
|
-
basic:
|
|
16582
|
-
virtual:
|
|
16581
|
+
basic: ru,
|
|
16582
|
+
virtual: nu
|
|
16583
16583
|
};
|
|
16584
16584
|
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()) : Sr && console.error(
|
|
16585
16585
|
"Unable to find matching renderer:",
|
|
@@ -16929,7 +16929,7 @@ class hu extends Me {
|
|
|
16929
16929
|
this.element && Q.elVisible(this.element) && this.verticalAlignHeaders(), e && (this.table.rowManager?.resetScroll(), this.table.rowManager?.reinitialize()), this.confirm("table-redrawing", e) || this.layoutRefresh(e || !1), this.dispatch("table-redraw", e), this.table.footerManager?.redraw();
|
|
16930
16930
|
}
|
|
16931
16931
|
}
|
|
16932
|
-
const
|
|
16932
|
+
const hu = {
|
|
16933
16933
|
debugEventsExternal: !1,
|
|
16934
16934
|
// flag to console log events
|
|
16935
16935
|
debugEventsInternal: !1,
|
|
@@ -16989,7 +16989,7 @@ const cu = {
|
|
|
16989
16989
|
dataReceiveParams: {}
|
|
16990
16990
|
// dependencies: {},
|
|
16991
16991
|
};
|
|
16992
|
-
class
|
|
16992
|
+
class cu extends Me {
|
|
16993
16993
|
constructor(e) {
|
|
16994
16994
|
super(e), this.active = !1, this.element = this.createElement(), this.containerElement = this.createContainerElement(), this.external = !1;
|
|
16995
16995
|
}
|
|
@@ -17047,7 +17047,7 @@ class du extends Me {
|
|
|
17047
17047
|
this.dispatch("footer-redraw");
|
|
17048
17048
|
}
|
|
17049
17049
|
}
|
|
17050
|
-
class
|
|
17050
|
+
class du extends Ji {
|
|
17051
17051
|
constructor(e) {
|
|
17052
17052
|
super(e), this.scrollTop = 0, this.scrollLeft = 0, this.verticalFillMode = "fill";
|
|
17053
17053
|
}
|
|
@@ -17096,7 +17096,7 @@ class uu extends Ji {
|
|
|
17096
17096
|
return this.rows();
|
|
17097
17097
|
}
|
|
17098
17098
|
}
|
|
17099
|
-
class
|
|
17099
|
+
class uu extends Ji {
|
|
17100
17100
|
// total scroll height of virtual DOM
|
|
17101
17101
|
constructor(e) {
|
|
17102
17102
|
super(e), this.scrollTop = 0, this.scrollLeft = 0, this.vDomRowHeight = 20, this.vDomTop = 0, this.vDomBottom = 0, this.vDomScrollPosTop = 0, this.vDomScrollPosBottom = 0, this.vDomTopPad = 0, this.vDomBottomPad = 0, this.vDomMaxRenderChain = 90, this.vDomWindowBuffer = 0, this.vDomWindowMinTotalRows = 20, this.vDomWindowMinMarginRows = 5, this.vDomTopNewRows = [], this.vDomBottomNewRows = [], this.vDomScrollHeight = 0, this.verticalFillMode = "fill";
|
|
@@ -17345,8 +17345,8 @@ class pu extends Ji {
|
|
|
17345
17345
|
t.setCellHeight();
|
|
17346
17346
|
}
|
|
17347
17347
|
}
|
|
17348
|
-
const Bt = process.env.NODE_ENV === "development",
|
|
17349
|
-
class
|
|
17348
|
+
const Bt = process.env.NODE_ENV === "development", pu = x`<div class="tabulator-tableholder-wrapper"></div>`;
|
|
17349
|
+
class fu extends Me {
|
|
17350
17350
|
/**
|
|
17351
17351
|
* True when table has an explicit height (--table-height is set to a non-auto value (e.g. 100%, 500px));
|
|
17352
17352
|
* false when height is variable (--table-height is "auto" or unset).
|
|
@@ -17360,7 +17360,7 @@ class mu extends Me {
|
|
|
17360
17360
|
}
|
|
17361
17361
|
// ////////////// Setup Functions /////////////////
|
|
17362
17362
|
createWrapperElement() {
|
|
17363
|
-
return B(
|
|
17363
|
+
return B(pu);
|
|
17364
17364
|
}
|
|
17365
17365
|
createHolderElement() {
|
|
17366
17366
|
const e = document.createElement("div");
|
|
@@ -17791,8 +17791,8 @@ Data: `,
|
|
|
17791
17791
|
initializeRenderer() {
|
|
17792
17792
|
let e;
|
|
17793
17793
|
const t = {
|
|
17794
|
-
basic:
|
|
17795
|
-
virtual:
|
|
17794
|
+
basic: du,
|
|
17795
|
+
virtual: uu
|
|
17796
17796
|
};
|
|
17797
17797
|
typeof this.table.options.renderVertical == "string" ? e = t[this.table.options.renderVertical] : e = this.table.options.renderVertical, e ? (this.renderMode = this.table.options.renderVertical, this.renderer = new e(this.table, this.element, this.tableElement), this.renderer?.initialize()) : Bt && console.error(
|
|
17798
17798
|
"Unable to find matching renderer:",
|
|
@@ -17922,7 +17922,7 @@ Data: `,
|
|
|
17922
17922
|
this.element.dispatchEvent(new Event("scroll"));
|
|
17923
17923
|
}
|
|
17924
17924
|
}
|
|
17925
|
-
class
|
|
17925
|
+
class mu extends Me {
|
|
17926
17926
|
constructor(e) {
|
|
17927
17927
|
super(e), this.type = null, this.element = this._createAlertElement(), this.msgElement = this._createMsgElement(), this.element.appendChild(this.msgElement);
|
|
17928
17928
|
}
|
|
@@ -17951,7 +17951,7 @@ class gu extends Me {
|
|
|
17951
17951
|
}
|
|
17952
17952
|
}
|
|
17953
17953
|
const kr = process.env.NODE_ENV === "development";
|
|
17954
|
-
class
|
|
17954
|
+
class gu {
|
|
17955
17955
|
constructor(e) {
|
|
17956
17956
|
this.bindings = {}, this.table = e;
|
|
17957
17957
|
}
|
|
@@ -18099,8 +18099,8 @@ const Li = process.env.NODE_ENV === "development", Wi = class Wi extends Me {
|
|
|
18099
18099
|
};
|
|
18100
18100
|
Wi.DEBOUNCE_DELAY = 500;
|
|
18101
18101
|
let Qs = Wi;
|
|
18102
|
-
const
|
|
18103
|
-
class
|
|
18102
|
+
const bu = process.env.NODE_ENV === "development";
|
|
18103
|
+
class wu extends Me {
|
|
18104
18104
|
constructor(e) {
|
|
18105
18105
|
super(e), this.deps = {}, this.props = {};
|
|
18106
18106
|
}
|
|
@@ -18135,20 +18135,20 @@ class vu extends Me {
|
|
|
18135
18135
|
return this.deps[e] ? i = this.deps[e] : globalThis[e] ? (this.deps[e] = globalThis[e], i = this.deps[e]) : t || this.error(e), i;
|
|
18136
18136
|
}
|
|
18137
18137
|
error(e) {
|
|
18138
|
-
|
|
18138
|
+
bu && console.error(
|
|
18139
18139
|
"Unable to find dependency",
|
|
18140
18140
|
e,
|
|
18141
18141
|
"Please check documentation and ensure you have imported the required library into your project"
|
|
18142
18142
|
);
|
|
18143
18143
|
}
|
|
18144
18144
|
}
|
|
18145
|
-
const
|
|
18146
|
-
class
|
|
18145
|
+
const vu = process.env.NODE_ENV === "development";
|
|
18146
|
+
class yu extends Me {
|
|
18147
18147
|
constructor(e) {
|
|
18148
18148
|
super(e);
|
|
18149
18149
|
}
|
|
18150
18150
|
_warnUser(...e) {
|
|
18151
|
-
this.options("debugDeprecation") &&
|
|
18151
|
+
this.options("debugDeprecation") && vu && console.warn(...e);
|
|
18152
18152
|
}
|
|
18153
18153
|
check(e, t, i) {
|
|
18154
18154
|
if (this.options(e) === void 0 || this.options(e) === null)
|
|
@@ -18181,7 +18181,7 @@ class Cu extends Me {
|
|
|
18181
18181
|
}
|
|
18182
18182
|
}
|
|
18183
18183
|
const ls = process.env.NODE_ENV === "development";
|
|
18184
|
-
class
|
|
18184
|
+
class Cu {
|
|
18185
18185
|
constructor(e, t, i) {
|
|
18186
18186
|
this.events = {}, this.subscriptionNotifiers = {}, this.table = e, this.events = {}, this.optionsList = t || {}, this.subscriptionNotifiers = {}, this.dispatch = i ? this._debugDispatch.bind(this) : this._dispatch.bind(this), this.debug = i;
|
|
18187
18187
|
}
|
|
@@ -18234,8 +18234,8 @@ class Eu {
|
|
|
18234
18234
|
return ls && (this.debug === !0 || Array.isArray(this.debug) && this.debug.includes(e)) && console.log(i, ...t), this._dispatch(e, ...t);
|
|
18235
18235
|
}
|
|
18236
18236
|
}
|
|
18237
|
-
const
|
|
18238
|
-
class
|
|
18237
|
+
const Eu = process.env.NODE_ENV === "development";
|
|
18238
|
+
class xu extends Me {
|
|
18239
18239
|
constructor(e) {
|
|
18240
18240
|
super(e), this.el = null, this.abortClasses = ["tabulator-headers", "tabulator-table"], this.previousTargets = {}, this.listeners = [
|
|
18241
18241
|
"click",
|
|
@@ -18386,7 +18386,7 @@ class Ru extends Me {
|
|
|
18386
18386
|
s.components.includes("column") && (h = this.table.columnManager?.findColumn(c));
|
|
18387
18387
|
break;
|
|
18388
18388
|
case "cell":
|
|
18389
|
-
s.components.includes("cell") && (o.row instanceof Te ? h = o.row.findCell(c) :
|
|
18389
|
+
s.components.includes("cell") && (o.row instanceof Te ? h = o.row.findCell(c) : Eu && t.row && console.warn(
|
|
18390
18390
|
"Event Target Lookup Error - The row this cell is attached to cannot be found, has the table been reinitialized without being destroyed first?"
|
|
18391
18391
|
));
|
|
18392
18392
|
break;
|
|
@@ -18417,7 +18417,7 @@ class Ru extends Me {
|
|
|
18417
18417
|
}
|
|
18418
18418
|
}
|
|
18419
18419
|
const ui = process.env.NODE_ENV === "development";
|
|
18420
|
-
class
|
|
18420
|
+
class Ru {
|
|
18421
18421
|
constructor(e) {
|
|
18422
18422
|
this.events = {}, this.subscriptionNotifiers = {}, this.events = {}, this.subscriptionNotifiers = {}, this.dispatch = e ? this._debugDispatch.bind(this) : this._dispatch.bind(this), this.chain = e ? this._debugChain.bind(this) : this._chain.bind(this), this.confirm = e ? this._debugConfirm.bind(this) : this._confirm.bind(this), this.debug = e;
|
|
18423
18423
|
}
|
|
@@ -18490,7 +18490,7 @@ class Su {
|
|
|
18490
18490
|
return ui && (this.debug === !0 || Array.isArray(this.debug) && this.debug.includes(e)) && console.log(i, t), this._confirm(e, t);
|
|
18491
18491
|
}
|
|
18492
18492
|
}
|
|
18493
|
-
function
|
|
18493
|
+
function Su(n) {
|
|
18494
18494
|
let e = this.table.element?.clientWidth || 0;
|
|
18495
18495
|
const t = this.table.columnManager?.contentsElement;
|
|
18496
18496
|
if (t) {
|
|
@@ -18554,7 +18554,7 @@ function ku(n) {
|
|
|
18554
18554
|
w.column.setWidth(w.width);
|
|
18555
18555
|
});
|
|
18556
18556
|
}
|
|
18557
|
-
async function
|
|
18557
|
+
async function ku(n, e) {
|
|
18558
18558
|
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();
|
|
18559
18559
|
}
|
|
18560
18560
|
async function Tr(n) {
|
|
@@ -18562,7 +18562,7 @@ async function Tr(n) {
|
|
|
18562
18562
|
await e.reinitializeWidth();
|
|
18563
18563
|
this.table.options.responsiveLayout && this.table.modExists("responsiveLayout", !0) && this.table.modules.responsiveLayout.update();
|
|
18564
18564
|
}
|
|
18565
|
-
async function
|
|
18565
|
+
async function Tu(n) {
|
|
18566
18566
|
let e = 0, t = this.table.element?.clientWidth || 0;
|
|
18567
18567
|
const i = this.table.columnManager?.contentsElement;
|
|
18568
18568
|
if (i) {
|
|
@@ -18575,20 +18575,20 @@ async function Du(n) {
|
|
|
18575
18575
|
a.widthFixed || await a.reinitializeWidth(), (this.table.options.responsiveLayout ? a.modules.responsive.visible : !a.hidden) && (r = a), a.hidden || (e += a.getWidth());
|
|
18576
18576
|
r ? (o = s - e + r.getWidth(), this.table.options.responsiveLayout && this.table.modExists("responsiveLayout", !0) && (r.setWidth(0), this.table.modules.responsiveLayout?.update()), o > 0 ? r.setWidth(o) : await r.reinitializeWidth()) : this.table.options.responsiveLayout && this.table.modExists("responsiveLayout", !0) && this.table.modules.responsiveLayout.update();
|
|
18577
18577
|
}
|
|
18578
|
-
const
|
|
18579
|
-
fitColumns:
|
|
18580
|
-
fitData:
|
|
18578
|
+
const Du = {
|
|
18579
|
+
fitColumns: Su,
|
|
18580
|
+
fitData: ku,
|
|
18581
18581
|
fitDataFill: Tr,
|
|
18582
|
-
fitDataStretch:
|
|
18582
|
+
fitDataStretch: Tu,
|
|
18583
18583
|
fitDataTable: Tr
|
|
18584
|
-
},
|
|
18584
|
+
}, Mu = process.env.NODE_ENV === "development", Ut = class Ut extends I {
|
|
18585
18585
|
constructor(e) {
|
|
18586
18586
|
super(e), this.mode = null, this.registerTableOption("layout", "fitData"), this.registerTableOption("layoutColumnsOnNewData", !1), this.registerColumnOption("widthGrow"), this.registerColumnOption("widthShrink");
|
|
18587
18587
|
}
|
|
18588
18588
|
// initialize layout system
|
|
18589
18589
|
initialize() {
|
|
18590
18590
|
const e = this.table.options.layout;
|
|
18591
|
-
e && Ut.modes[e] ? this.mode = e : (
|
|
18591
|
+
e && Ut.modes[e] ? this.mode = e : (Mu && console.warn(
|
|
18592
18592
|
"Layout Error - invalid mode set, defaulting to 'fitData' : " + e
|
|
18593
18593
|
), this.mode = "fitData"), this.table.element.setAttribute("tabulator-layout", this.mode), this.subscribe("column-init", this.initializeColumn.bind(this));
|
|
18594
18594
|
}
|
|
@@ -18612,9 +18612,9 @@ const Mu = {
|
|
|
18612
18612
|
), t && this.table.rowManager?.normalizeHeight(!0), this.dispatch("layout-refreshed");
|
|
18613
18613
|
}
|
|
18614
18614
|
};
|
|
18615
|
-
Ut.moduleName = "layout", Ut.modes =
|
|
18615
|
+
Ut.moduleName = "layout", Ut.modes = Du;
|
|
18616
18616
|
let eo = Ut;
|
|
18617
|
-
const
|
|
18617
|
+
const Fu = {
|
|
18618
18618
|
default: {
|
|
18619
18619
|
columns: {},
|
|
18620
18620
|
data: {
|
|
@@ -18730,7 +18730,7 @@ const Lu = {
|
|
|
18730
18730
|
});
|
|
18731
18731
|
}
|
|
18732
18732
|
};
|
|
18733
|
-
vi.moduleName = "localize", vi.langs =
|
|
18733
|
+
vi.moduleName = "localize", vi.langs = Fu;
|
|
18734
18734
|
let to = vi;
|
|
18735
18735
|
const Mr = process.env.NODE_ENV === "development", Po = class Po extends I {
|
|
18736
18736
|
constructor(e) {
|
|
@@ -18762,12 +18762,12 @@ const Mr = process.env.NODE_ENV === "development", Po = class Po extends I {
|
|
|
18762
18762
|
};
|
|
18763
18763
|
Po.moduleName = "comms";
|
|
18764
18764
|
let io = Po;
|
|
18765
|
-
const
|
|
18765
|
+
const Lu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
18766
18766
|
__proto__: null,
|
|
18767
18767
|
CommsModule: io,
|
|
18768
18768
|
LayoutModule: eo,
|
|
18769
18769
|
LocalizeModule: to
|
|
18770
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
18770
|
+
}, Symbol.toStringTag, { value: "Module" })), zu = process.env.NODE_ENV === "development", Ye = class Ye {
|
|
18771
18771
|
static findTable(e) {
|
|
18772
18772
|
const t = Ye.registry.lookupTable(e, !0);
|
|
18773
18773
|
return Array.isArray(t) && !t.length ? !1 : t;
|
|
@@ -18788,7 +18788,7 @@ Ye.registry = {
|
|
|
18788
18788
|
} else typeof HTMLElement < "u" && e instanceof HTMLElement || e instanceof Ye ? (o = Ye.registry.matchElement(e), o && i.push(o)) : Array.isArray(e) ? e.forEach((r) => {
|
|
18789
18789
|
const a = Ye.registry.lookupTable(r, !0);
|
|
18790
18790
|
i.push(...a);
|
|
18791
|
-
}) :
|
|
18791
|
+
}) : zu && !t && console.warn("Table Connection Error - Invalid Selector", e);
|
|
18792
18792
|
return i;
|
|
18793
18793
|
},
|
|
18794
18794
|
matchElement(e) {
|
|
@@ -18805,7 +18805,7 @@ const zi = process.env.NODE_ENV === "development", te = class te extends so {
|
|
|
18805
18805
|
super(), this.modulesCore = [], this.modulesRegular = [];
|
|
18806
18806
|
}
|
|
18807
18807
|
static initializeModuleBinder(e) {
|
|
18808
|
-
te.modulesRegistered || (te.modulesRegistered = !0, te._registerModules(
|
|
18808
|
+
te.modulesRegistered || (te.modulesRegistered = !0, te._registerModules(Lu, !0), e && te._registerModules(e));
|
|
18809
18809
|
}
|
|
18810
18810
|
static _extendModule(e, t, i) {
|
|
18811
18811
|
if (te.moduleBindings[e]) {
|
|
@@ -18895,7 +18895,7 @@ const le = process.env.NODE_ENV === "development", yt = class yt extends oo {
|
|
|
18895
18895
|
yt.initializeModuleBinder(), yt._registerModule(...e);
|
|
18896
18896
|
}
|
|
18897
18897
|
constructor(e, t, i) {
|
|
18898
|
-
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
|
|
18898
|
+
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 mn(this, "table constructor"), this.dependencyRegistry = new wu(this), this.initialized = !1, this.destroyed = !1, this.initializeElement(e) && (this.initializeCoreSystems(t), setTimeout(() => {
|
|
18899
18899
|
this._create();
|
|
18900
18900
|
})), this.constructor.registry.register(this);
|
|
18901
18901
|
}
|
|
@@ -18915,11 +18915,11 @@ const le = process.env.NODE_ENV === "development", yt = class yt extends oo {
|
|
|
18915
18915
|
), !1;
|
|
18916
18916
|
}
|
|
18917
18917
|
initializeCoreSystems(e) {
|
|
18918
|
-
this.columnManager = new
|
|
18918
|
+
this.columnManager = new lu(this), this.rowManager = new fu(this), this.footerManager = new cu(this), this.dataLoader = new Qs(this), this.alertManager = new mu(this), this.toolbar = e?.toolbarElement, this._bindModules(), this.options = this.optionsList.generate(yt.defaultOptions, e), this._clearObjectPointers(), this._mapDeprecatedFunctionality(), this.externalEvents = new Cu(
|
|
18919
18919
|
this,
|
|
18920
18920
|
this.options,
|
|
18921
18921
|
this.options.debugEventsExternal
|
|
18922
|
-
), this.eventBus = new
|
|
18922
|
+
), this.eventBus = new Ru(this.options.debugEventsInternal), this.interactionMonitor = new xu(this), this.dataLoader.initialize(), this.footerManager.initialize(), this.dependencyRegistry.initialize();
|
|
18923
18923
|
}
|
|
18924
18924
|
// convert deprecated functionality to new functions
|
|
18925
18925
|
_mapDeprecatedFunctionality() {
|
|
@@ -19285,9 +19285,9 @@ const le = process.env.NODE_ENV === "development", yt = class yt extends oo {
|
|
|
19285
19285
|
return !t && le && console.error("Tabulator module not installed: " + e), t;
|
|
19286
19286
|
}
|
|
19287
19287
|
};
|
|
19288
|
-
yt.defaultOptions =
|
|
19288
|
+
yt.defaultOptions = hu;
|
|
19289
19289
|
let Lt = yt;
|
|
19290
|
-
class
|
|
19290
|
+
class _u extends Lt {
|
|
19291
19291
|
static extendModule(...e) {
|
|
19292
19292
|
Lt.initializeModuleBinder(ns), Lt._extendModule(...e);
|
|
19293
19293
|
}
|
|
@@ -19366,26 +19366,26 @@ class gn {
|
|
|
19366
19366
|
return t.includes("-") && !customElements.get(t);
|
|
19367
19367
|
}
|
|
19368
19368
|
}
|
|
19369
|
-
function
|
|
19369
|
+
function Ou(n, e) {
|
|
19370
19370
|
return x`<cx-faceted-filter-facet display-name=${n.facetDetails.displayName} type=${n.facetDetails.facetFieldName} selection=${n.facetDetails.selection ?? e.defaultSelection} .collections=${e.selectionValues} .values=${n.values}></cx-faceted-filter-facet>`;
|
|
19371
19371
|
}
|
|
19372
|
-
function
|
|
19372
|
+
function Au(n, e) {
|
|
19373
19373
|
const t = n.facetDetails;
|
|
19374
19374
|
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 ?? Kr} min=${t.min ?? ""} max=${t.max ?? ""} ?show-time=${t.showTime ?? !1}></cx-facet-date-picker>`;
|
|
19375
19375
|
}
|
|
19376
|
-
function
|
|
19376
|
+
function Pu(n, e) {
|
|
19377
19377
|
const t = n.facetDetails;
|
|
19378
|
-
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 ?? Kr} to-time=${e.dateRange?.toTime ??
|
|
19378
|
+
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 ?? Kr} 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>`;
|
|
19379
19379
|
}
|
|
19380
|
-
const
|
|
19381
|
-
[rt.Checkbox]:
|
|
19382
|
-
[rt.DatePicker]:
|
|
19383
|
-
[rt.DateRange]:
|
|
19384
|
-
},
|
|
19385
|
-
var
|
|
19386
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
19380
|
+
const Iu = {
|
|
19381
|
+
[rt.Checkbox]: Ou,
|
|
19382
|
+
[rt.DatePicker]: Au,
|
|
19383
|
+
[rt.DateRange]: Pu
|
|
19384
|
+
}, Hu = q`:host{display:contents}cx-dropdown{--panel-overflow:hidden}cx-details{--expand-icon-size:24px}.panel{--header-background-color:transparent;--header-font-size:var(--cx-font-size-medium);--panel-width:min(280px, 90dvw);width:var(--panel-width);max-height:var(--panel-max-height,600px);position:relative}.panel:has(cx-facet-date-range[show-time],cx-facet-date-picker[show-time]){--panel-width:min(385px, 90dvw)}.panel__content{max-height:var(--panel-max-height,600px);flex-direction:column;display:flex}.panel__header{flex-shrink:0}.panel__body{flex:1;min-height:0;overflow-y:auto}.panel__footer{padding:var(--cx-spacing-x-small) var(--cx-spacing-medium);border-top:1px solid var(--cx-color-neutral-200);flex-shrink:0;display:flex}.applied-filters__summary{align-items:center;gap:var(--cx-spacing-2x-small);display:inline-flex}.applied-filters__title{font-weight:var(--cx-font-weight-medium);color:var(--cx-color-neutral-900)}.applied-filters__loading{align-items:center;display:inline-flex}.applied-filters{--content-padding:0 var(--cx-spacing-medium);min-width:100%;width:var(--panel-width)}.applied-filters::part(summary){flex:none}.applied-filters::part(base),cx-faceted-filter-facet::part(base){border-top-width:0;border-left-width:0;border-right-width:0}.applied-filters--empty::part(content){display:none}.faceted-filter__trigger{--font-size:var(--trigger-icon-size,var(--cx-font-size-large))}.faceted-filter__trigger::part(base){background-color:var(--cx-color-neutral-100)}.faceted-filter__trigger-badge{margin-block-start:calc(-1 * var(--cx-spacing-x-small));margin-inline-end:calc(-1 * var(--cx-spacing-x-small))}.applied-filters__tags{max-width:var(--panel-width);padding-bottom:var(--cx-spacing-x-small)}.panel__clear-all-button{--cx-button-text-transform:none;padding-top:var(--cx-spacing-2x-small);padding-bottom:var(--cx-spacing-2x-small)}.panel__clear-all-button::part(label){text-decoration:underline}.panel__clear-all-button:not([disabled])::part(base):hover{color:var(--cx-color-neutral-800);background-color:#0000;border-color:#0000}cx-tag::part(remove-button){font-size:var(--cx-font-size-x-small)}cx-tag::part(remove-button__base){min-height:unset;min-width:unset;padding:var(--cx-spacing-3x-small)}`;
|
|
19385
|
+
var Nu = Object.defineProperty, Vu = Object.getOwnPropertyDescriptor, ye = (n, e, t, i) => {
|
|
19386
|
+
for (var s = i > 1 ? void 0 : i ? Vu(e, t) : e, o = n.length - 1, r; o >= 0; o--)
|
|
19387
19387
|
(r = n[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
|
|
19388
|
-
return i && s &&
|
|
19388
|
+
return i && s && Nu(e, t, s), s;
|
|
19389
19389
|
};
|
|
19390
19390
|
let de = class extends Pe {
|
|
19391
19391
|
constructor() {
|
|
@@ -19534,11 +19534,11 @@ let de = class extends Pe {
|
|
|
19534
19534
|
*/
|
|
19535
19535
|
getDateFacetPattern(n) {
|
|
19536
19536
|
const e = n && "displayFormat" in n ? n.displayFormat : void 0;
|
|
19537
|
-
return
|
|
19537
|
+
return oa(e ?? qr.DdMmYyyy);
|
|
19538
19538
|
}
|
|
19539
19539
|
formatDateRangeDisplay(n, e) {
|
|
19540
19540
|
const t = (i, s) => {
|
|
19541
|
-
const o =
|
|
19541
|
+
const o = pa(i, e);
|
|
19542
19542
|
return n.showTime ? `${o} ${s}` : o;
|
|
19543
19543
|
};
|
|
19544
19544
|
return n.type === rt.DatePicker ? t(n.fromDate, n.fromTime) : `${t(n.fromDate, n.fromTime)} – ${t(n.toDate, n.toTime)}`;
|
|
@@ -19593,7 +19593,7 @@ let de = class extends Pe {
|
|
|
19593
19593
|
);
|
|
19594
19594
|
if (!e)
|
|
19595
19595
|
return ut;
|
|
19596
|
-
const t = n.type ?? rt.Checkbox, i =
|
|
19596
|
+
const t = n.type ?? rt.Checkbox, i = Iu[t];
|
|
19597
19597
|
return i ? i(
|
|
19598
19598
|
{
|
|
19599
19599
|
facetDetails: n,
|
|
@@ -19607,17 +19607,17 @@ let de = class extends Pe {
|
|
|
19607
19607
|
)}</div>${this.renderFooter()}</div></div></cx-dropdown>`;
|
|
19608
19608
|
}
|
|
19609
19609
|
};
|
|
19610
|
-
de.styles = [$e,
|
|
19610
|
+
de.styles = [$e, Hu];
|
|
19611
19611
|
de.dependencies = {
|
|
19612
|
-
"cx-badge":
|
|
19612
|
+
"cx-badge": ca,
|
|
19613
19613
|
"cx-button": Et,
|
|
19614
|
-
"cx-details":
|
|
19614
|
+
"cx-details": da,
|
|
19615
19615
|
"cx-dropdown": ai,
|
|
19616
19616
|
"cx-icon": gt,
|
|
19617
19617
|
"cx-icon-button": oi,
|
|
19618
19618
|
"cx-space": Ri,
|
|
19619
19619
|
"cx-spinner": Xr,
|
|
19620
|
-
"cx-tag":
|
|
19620
|
+
"cx-tag": ua,
|
|
19621
19621
|
"cx-tooltip": Pt
|
|
19622
19622
|
};
|
|
19623
19623
|
ye([
|
|
@@ -19679,8 +19679,8 @@ ye([
|
|
|
19679
19679
|
de = ye([
|
|
19680
19680
|
Ie("cx-faceted-filter")
|
|
19681
19681
|
], de);
|
|
19682
|
-
const
|
|
19683
|
-
class
|
|
19682
|
+
const Bu = new Set(Object.values(qr));
|
|
19683
|
+
class $u {
|
|
19684
19684
|
constructor(e) {
|
|
19685
19685
|
this.facets = [], this.availableFacets = [], this.host = e, e.addController(this);
|
|
19686
19686
|
}
|
|
@@ -19698,11 +19698,11 @@ class Wu {
|
|
|
19698
19698
|
if (!i && !this.host.facetConfig)
|
|
19699
19699
|
return;
|
|
19700
19700
|
i && (this.host.hasFacets = !0);
|
|
19701
|
-
const s =
|
|
19701
|
+
const s = Wu(this.host.facetConfig ?? ""), o = Gu(i ?? {}, s);
|
|
19702
19702
|
this.facets = o, this.availableFacets = o.map((r) => r.facetDetails), this.host.requestUpdate();
|
|
19703
19703
|
}
|
|
19704
19704
|
}
|
|
19705
|
-
function
|
|
19705
|
+
function Wu(n) {
|
|
19706
19706
|
const e = /* @__PURE__ */ new Map();
|
|
19707
19707
|
if (!n.trim())
|
|
19708
19708
|
return e;
|
|
@@ -19714,7 +19714,7 @@ function ju(n) {
|
|
|
19714
19714
|
l === Pi.Checkbox && (h.includes(_t.Single) || h.includes(_t.Multiple)) ? e.set(r, {
|
|
19715
19715
|
displayName: a,
|
|
19716
19716
|
facetFieldName: r,
|
|
19717
|
-
selection:
|
|
19717
|
+
selection: ju(h),
|
|
19718
19718
|
type: rt.Checkbox
|
|
19719
19719
|
}) : l === Pi.DatePicker ? e.set(r, {
|
|
19720
19720
|
displayFormat: Fr(h),
|
|
@@ -19733,13 +19733,13 @@ function ju(n) {
|
|
|
19733
19733
|
}
|
|
19734
19734
|
return e;
|
|
19735
19735
|
}
|
|
19736
|
-
function
|
|
19736
|
+
function ju(n) {
|
|
19737
19737
|
return n.includes(_t.Multiple) ? _t.Multiple : _t.Single;
|
|
19738
19738
|
}
|
|
19739
19739
|
function Fr(n) {
|
|
19740
|
-
return n.find((e) =>
|
|
19740
|
+
return n.find((e) => Bu.has(e));
|
|
19741
19741
|
}
|
|
19742
|
-
function
|
|
19742
|
+
function Gu(n, e) {
|
|
19743
19743
|
const t = new Set(Object.keys(n));
|
|
19744
19744
|
for (const [i, s] of e)
|
|
19745
19745
|
s.type !== rt.Checkbox && t.add(i);
|
|
@@ -19755,7 +19755,7 @@ function Uu(n, e) {
|
|
|
19755
19755
|
return { facetDetails: s, values: r };
|
|
19756
19756
|
});
|
|
19757
19757
|
}
|
|
19758
|
-
class
|
|
19758
|
+
class Uu {
|
|
19759
19759
|
constructor(e, t) {
|
|
19760
19760
|
this.host = e, this.filterController = t, this.handleFacetedFilterChange = this.handleFacetedFilterChange.bind(this), e.addController(this);
|
|
19761
19761
|
}
|
|
@@ -19779,7 +19779,7 @@ class Ku {
|
|
|
19779
19779
|
);
|
|
19780
19780
|
}
|
|
19781
19781
|
}
|
|
19782
|
-
class
|
|
19782
|
+
class Ku {
|
|
19783
19783
|
constructor(e) {
|
|
19784
19784
|
this.filters = /* @__PURE__ */ new Map(), this.isConnected = !1, this.lastAppliedFilters = null, this.host = e, this.host.addController(this);
|
|
19785
19785
|
}
|
|
@@ -19973,7 +19973,7 @@ class qu {
|
|
|
19973
19973
|
if (!e?.initialized)
|
|
19974
19974
|
return;
|
|
19975
19975
|
const t = this.getFilters(), s = [...this.host.initialFilter || [], ...t];
|
|
19976
|
-
if (!
|
|
19976
|
+
if (!An(s, this.lastAppliedFilters)) {
|
|
19977
19977
|
if (this.lastAppliedFilters === null && t.length === 0) {
|
|
19978
19978
|
this.lastAppliedFilters = s;
|
|
19979
19979
|
return;
|
|
@@ -19982,7 +19982,7 @@ class qu {
|
|
|
19982
19982
|
}
|
|
19983
19983
|
}
|
|
19984
19984
|
}
|
|
19985
|
-
class
|
|
19985
|
+
class qu {
|
|
19986
19986
|
constructor(e) {
|
|
19987
19987
|
this.isSelectAllMode = !1, this.deselectedIds = /* @__PURE__ */ new Set(), this.selectedIdsForRemote = /* @__PURE__ */ new Set(), this.remoteTotalCount = 0, this.selectedRowsCount = 0, this.selectionSyncSkip = !1, this.isPageTransition = !1, this.host = e, this.host.addController(this), this.handleRowSelectionChanged = this.handleRowSelectionChanged.bind(this), this.handleDataLoaded = this.handleDataLoaded.bind(this), this.handleDataLoading = this.handleDataLoading.bind(this);
|
|
19988
19988
|
}
|
|
@@ -20160,32 +20160,32 @@ class Xu {
|
|
|
20160
20160
|
)?.formatterParams?.disabled;
|
|
20161
20161
|
}
|
|
20162
20162
|
}
|
|
20163
|
-
const Ju = 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)}`, Yu = 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}`, Zu = 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}`, Qu = 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)}`, ep = 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}`, tp = 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)}`, ip = 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}`, sp = 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}`, op = 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}`, rp = 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)}`, np = 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}`, ap = 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}`, lp = 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)}`, hp = 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}`, cp = 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)}`, dp = 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)}`, up = 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)}`, pp = 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)}`, fp = 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}`, mp = 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}`, gp = 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}`, bp = 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}`, wp = 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)}`, vp = 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)}`, yp = [
|
|
20164
|
-
Yu,
|
|
20165
|
-
hp,
|
|
20166
|
-
np,
|
|
20167
|
-
dp,
|
|
20168
|
-
Zu,
|
|
20169
|
-
wp,
|
|
20170
|
-
ip,
|
|
20171
|
-
vp,
|
|
20172
|
-
cp,
|
|
20173
|
-
fp,
|
|
20163
|
+
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 = [
|
|
20174
20164
|
Ju,
|
|
20175
|
-
gp,
|
|
20176
|
-
tp,
|
|
20177
20165
|
lp,
|
|
20178
|
-
ep,
|
|
20179
|
-
mp,
|
|
20180
|
-
sp,
|
|
20181
20166
|
rp,
|
|
20182
|
-
|
|
20167
|
+
cp,
|
|
20168
|
+
Yu,
|
|
20183
20169
|
bp,
|
|
20170
|
+
tp,
|
|
20171
|
+
wp,
|
|
20172
|
+
hp,
|
|
20184
20173
|
pp,
|
|
20174
|
+
Xu,
|
|
20175
|
+
mp,
|
|
20176
|
+
ep,
|
|
20185
20177
|
ap,
|
|
20186
20178
|
Qu,
|
|
20187
|
-
|
|
20188
|
-
|
|
20179
|
+
fp,
|
|
20180
|
+
ip,
|
|
20181
|
+
op,
|
|
20182
|
+
dp,
|
|
20183
|
+
gp,
|
|
20184
|
+
up,
|
|
20185
|
+
np,
|
|
20186
|
+
Zu,
|
|
20187
|
+
sp
|
|
20188
|
+
], yp = {
|
|
20189
20189
|
formatter: function() {
|
|
20190
20190
|
const n = document.createElement("div");
|
|
20191
20191
|
n.style.display = "flex", n.style.alignItems = "center", n.style.justifyContent = "center", n.style.width = "100%", n.style.height = "100%", n.style.userSelect = "none", n.dataset.testid = "movable-row-button";
|
|
@@ -20198,7 +20198,7 @@ const Ju = q`.tabulator .tabulator-alert{z-index:100;background:color-mix(in srg
|
|
|
20198
20198
|
rowHandle: !0,
|
|
20199
20199
|
title: "",
|
|
20200
20200
|
width: 40
|
|
20201
|
-
},
|
|
20201
|
+
}, Cp = {
|
|
20202
20202
|
fromAttribute: (n) => {
|
|
20203
20203
|
if (typeof n == "string") {
|
|
20204
20204
|
if (!n.trim())
|
|
@@ -20215,7 +20215,7 @@ const Ju = q`.tabulator .tabulator-alert{z-index:100;background:color-mix(in srg
|
|
|
20215
20215
|
return n;
|
|
20216
20216
|
},
|
|
20217
20217
|
toAttribute: (n) => typeof n == "function" ? "" : Array.isArray(n) ? JSON.stringify(n) : typeof n == "number" ? n.toString() : n
|
|
20218
|
-
},
|
|
20218
|
+
}, Ep = {
|
|
20219
20219
|
fromAttribute: (n) => {
|
|
20220
20220
|
if (typeof n == "string") {
|
|
20221
20221
|
if (!n.trim())
|
|
@@ -20231,7 +20231,7 @@ const Ju = q`.tabulator .tabulator-alert{z-index:100;background:color-mix(in srg
|
|
|
20231
20231
|
return n;
|
|
20232
20232
|
},
|
|
20233
20233
|
toAttribute: (n) => typeof n == "function" ? "" : Array.isArray(n) ? JSON.stringify(n) : typeof n == "boolean" ? n.toString() : n
|
|
20234
|
-
},
|
|
20234
|
+
}, xp = {
|
|
20235
20235
|
fromAttribute: (n) => {
|
|
20236
20236
|
if (typeof n == "string") {
|
|
20237
20237
|
if (!n.trim())
|
|
@@ -20247,7 +20247,7 @@ const Ju = q`.tabulator .tabulator-alert{z-index:100;background:color-mix(in srg
|
|
|
20247
20247
|
},
|
|
20248
20248
|
toAttribute: (n) => typeof n == "function" ? "" : Array.isArray(n) ? JSON.stringify(n) : n
|
|
20249
20249
|
};
|
|
20250
|
-
function
|
|
20250
|
+
function Rp(n, e) {
|
|
20251
20251
|
const t = e === Se.Desc ? "arrow_downward" : "arrow_upward";
|
|
20252
20252
|
return B(
|
|
20253
20253
|
x`<cx-icon name=${t} aria-hidden="true"></cx-icon>`
|
|
@@ -20314,7 +20314,7 @@ function hs(n) {
|
|
|
20314
20314
|
function bn(n) {
|
|
20315
20315
|
return n.split(/[./]/).filter((e) => e.length > 0);
|
|
20316
20316
|
}
|
|
20317
|
-
function
|
|
20317
|
+
function Sp(n, e) {
|
|
20318
20318
|
return bn(e).reduce((t, i) => {
|
|
20319
20319
|
if (!(t === null || typeof t != "object"))
|
|
20320
20320
|
return t[i];
|
|
@@ -20322,7 +20322,7 @@ function kp(n, e) {
|
|
|
20322
20322
|
}
|
|
20323
20323
|
function wn(n, e = "") {
|
|
20324
20324
|
if (e) {
|
|
20325
|
-
const i =
|
|
20325
|
+
const i = Sp(n, e);
|
|
20326
20326
|
if (!Array.isArray(i))
|
|
20327
20327
|
throw new Error(`Data path "${e}" did not resolve to an array`);
|
|
20328
20328
|
if (i.length === 0)
|
|
@@ -20351,7 +20351,7 @@ function wn(n, e = "") {
|
|
|
20351
20351
|
return { columns: t.columns, rows: t.data };
|
|
20352
20352
|
throw new Error("JSON data must be an array of row objects or a { columns, data } envelope");
|
|
20353
20353
|
}
|
|
20354
|
-
function
|
|
20354
|
+
function kp(n) {
|
|
20355
20355
|
if (n.length === 0)
|
|
20356
20356
|
return { columns: [], data: [] };
|
|
20357
20357
|
const t = n[0].map((a, l) => {
|
|
@@ -20368,21 +20368,21 @@ function Tp(n) {
|
|
|
20368
20368
|
);
|
|
20369
20369
|
return { columns: o, data: r };
|
|
20370
20370
|
}
|
|
20371
|
-
function
|
|
20371
|
+
function Tp(n) {
|
|
20372
20372
|
const e = mo.parse(n, { header: !1, skipEmptyLines: !0 }), t = e.errors.filter((i) => i.code !== "UndetectableDelimiter");
|
|
20373
20373
|
if (t.length > 0)
|
|
20374
20374
|
throw new Error(`CSV parse error: ${t[0].message}`);
|
|
20375
|
-
return
|
|
20375
|
+
return kp(e.data);
|
|
20376
20376
|
}
|
|
20377
|
-
function
|
|
20377
|
+
function Dp(n) {
|
|
20378
20378
|
const e = JSON.parse(n), { columns: t, rows: i } = wn(e);
|
|
20379
20379
|
return { columns: t, data: i };
|
|
20380
20380
|
}
|
|
20381
|
-
function
|
|
20381
|
+
function Mp(n) {
|
|
20382
20382
|
const { columns: e, rows: t } = vn(n);
|
|
20383
20383
|
return { columns: e, data: t };
|
|
20384
20384
|
}
|
|
20385
|
-
function
|
|
20385
|
+
function Fp(n, e) {
|
|
20386
20386
|
const t = bn(e).reduce((i, s) => i ? /^\d+$/.test(s) ? i.children[Number(s)] ?? null : ro(i, s) : null, n);
|
|
20387
20387
|
if (!t)
|
|
20388
20388
|
throw new Error(`Data path "${e}" did not resolve to an element`);
|
|
@@ -20394,7 +20394,7 @@ function vn(n, e = "") {
|
|
|
20394
20394
|
throw new Error(`XML parse error: ${i.textContent?.trim() ?? "unknown error"}`);
|
|
20395
20395
|
const s = t.documentElement;
|
|
20396
20396
|
if (e)
|
|
20397
|
-
return Or(Array.from(
|
|
20397
|
+
return Or(Array.from(Fp(s, e).children));
|
|
20398
20398
|
const o = ro(s, "columns"), r = ro(s, "rows");
|
|
20399
20399
|
if (o && r) {
|
|
20400
20400
|
const a = Array.from(o.children).map((h) => ({
|
|
@@ -20425,7 +20425,7 @@ function ro(n, e) {
|
|
|
20425
20425
|
return t;
|
|
20426
20426
|
return null;
|
|
20427
20427
|
}
|
|
20428
|
-
function
|
|
20428
|
+
function Lp(n) {
|
|
20429
20429
|
const e = n.trim();
|
|
20430
20430
|
if (e.length === 0)
|
|
20431
20431
|
return n;
|
|
@@ -20441,13 +20441,13 @@ function zp(n) {
|
|
|
20441
20441
|
function yn(n, e) {
|
|
20442
20442
|
const t = /* @__PURE__ */ new Map();
|
|
20443
20443
|
for (const i of Array.from(n.children))
|
|
20444
|
-
t.set(i.tagName,
|
|
20444
|
+
t.set(i.tagName, Lp(i.textContent ?? ""));
|
|
20445
20445
|
return Object.fromEntries(
|
|
20446
20446
|
e.map((i) => [i, t.has(i) ? t.get(i) : ""])
|
|
20447
20447
|
);
|
|
20448
20448
|
}
|
|
20449
20449
|
ve.Csv + "", ve.Json + "", ve.Xml + "";
|
|
20450
|
-
function
|
|
20450
|
+
function zp(n, e) {
|
|
20451
20451
|
const i = n.toLowerCase().split("?")[0].split("#")[0].split(".").pop() ?? "";
|
|
20452
20452
|
if (i === "csv")
|
|
20453
20453
|
return ve.Csv;
|
|
@@ -20458,21 +20458,21 @@ function _p(n, e) {
|
|
|
20458
20458
|
const s = (e ?? "").toLowerCase();
|
|
20459
20459
|
return s.includes("text/csv") ? ve.Csv : s.includes("application/json") || s.includes("text/json") || s.includes("+json") ? ve.Json : s.includes("application/xml") || s.includes("text/xml") || s.includes("+xml") ? ve.Xml : ve.Csv;
|
|
20460
20460
|
}
|
|
20461
|
-
function
|
|
20462
|
-
return n !== ve.Auto ? n :
|
|
20461
|
+
function _p(n, e, t) {
|
|
20462
|
+
return n !== ve.Auto ? n : zp(e, t);
|
|
20463
20463
|
}
|
|
20464
|
-
var
|
|
20464
|
+
var Op = Object.defineProperty, Ap = Object.getOwnPropertyDescriptor, Cn = (n) => {
|
|
20465
20465
|
throw TypeError(n);
|
|
20466
20466
|
}, v = (n, e, t, i) => {
|
|
20467
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
20467
|
+
for (var s = i > 1 ? void 0 : i ? Ap(e, t) : e, o = n.length - 1, r; o >= 0; o--)
|
|
20468
20468
|
(r = n[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
|
|
20469
|
-
return i && s &&
|
|
20470
|
-
},
|
|
20469
|
+
return i && s && Op(e, t, s), s;
|
|
20470
|
+
}, Pp = (n, e, t) => e.has(n) || Cn("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) ? Cn("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(n) : e.set(n, t), no, En;
|
|
20471
20471
|
let g = class extends Pe {
|
|
20472
20472
|
constructor() {
|
|
20473
|
-
super(),
|
|
20473
|
+
super(), Hp(this, no), this.localize = new tt(this), this.hasSlotController = new Ur(this, "add-action"), this.verticalOsInstance = null, this.horizontalOsInstance = null, this.frozenScrollOff = null, this.resizeObserver = null, this.overflowObserver = null, this.ajaxFacetsController = new $u(this), this.filterController = new Ku(this), this.ajaxFacetFilterController = new Uu(this, this.filterController), this.selectAllController = new qu(this), this.shadowRootAutoloader = new gn(
|
|
20474
20474
|
this
|
|
20475
|
-
), 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 =
|
|
20475
|
+
), 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 = () => {
|
|
20476
20476
|
this.initHorizontalScrollbar(), this.useOverlayScrollbar ? this.initVerticalScrollbar() : this.verticalOsInstance?.destroy(), this.initOverflowObserver(), this.tabulatorInstance?.setColumns(this.columns ?? []), this.validateOnLoad && this.tabulatorInstance?.validateAsync(), this.filterController.syncDropdownFilterSources(this.dropdownFilters), this.handleSearch(), this.filterController.applyFilters(), this.placePaginator(), this.dataUrl && (!this.pagination || this.lastAttemptedDataUrl !== this.dataUrl.trim()) && this.loadFromDataUrl();
|
|
20477
20477
|
}, this.handleValidationChanged = (t) => {
|
|
20478
20478
|
this.validationTooltipAnchor && !this.validationTooltipAnchor.isConnected && this.hideValidationTooltip(), this.emit("cx-table-validation-change", { detail: t });
|
|
@@ -20593,9 +20593,9 @@ let g = class extends Pe {
|
|
|
20593
20593
|
async initTable() {
|
|
20594
20594
|
this.tabulatorInstance && (this.selectAllController.resetSelection(), this.overflowObserver?.disconnect(), this.verticalOsInstance?.destroy(), this.horizontalOsInstance?.destroy(), this.tabulatorInstance.off("tableBuilt"), this.tabulatorInstance.destroy()), !this.pagination || !this.dataUrl?.trim() ? (this.internalAjaxRequestFunc = void 0, this.inMemoryDataUrlRows = null, this.inMemoryValidationResult = null, this.lastAttemptedDataUrl = null) : this.internalAjaxRequestFunc || (this.internalAjaxRequestFunc = this.createInMemoryAjaxRequestFunc());
|
|
20595
20595
|
let e = this.rowHeader;
|
|
20596
|
-
e == null && (this.movableRows ? e =
|
|
20596
|
+
e == null && (this.movableRows ? e = yp : this.responsiveLayout === "collapse" && (e = {
|
|
20597
20597
|
formatter: "responsiveCollapse"
|
|
20598
|
-
})), this.tabulatorInstance = new
|
|
20598
|
+
})), this.tabulatorInstance = new _u(this.table, {
|
|
20599
20599
|
ajaxConfig: { method: this.ajaxMethod },
|
|
20600
20600
|
ajaxContentType: this.ajaxMethod?.toUpperCase() === "POST" ? "json" : "form",
|
|
20601
20601
|
ajaxParams: this.ajaxParams,
|
|
@@ -20648,13 +20648,13 @@ let g = class extends Pe {
|
|
|
20648
20648
|
groupHeaderUseFormatter: this.groupHeaderUseFormatter,
|
|
20649
20649
|
groupIndent: this.groupIndent,
|
|
20650
20650
|
groupLoadMoreMeta: this.groupLoadMoreMeta,
|
|
20651
|
-
groupStartOpen:
|
|
20651
|
+
groupStartOpen: Ip(this, no, En),
|
|
20652
20652
|
groupToggleElement: this.groupToggleElement,
|
|
20653
20653
|
groupUpdateOnCellEdit: this.groupUpdateOnCellEdit,
|
|
20654
20654
|
groupValues: this.groupValues,
|
|
20655
20655
|
headerFilterLiveFilterDelay: this.headerFilterLiveFilterDelay,
|
|
20656
20656
|
headerHidden: this.noHeader,
|
|
20657
|
-
headerSortElement:
|
|
20657
|
+
headerSortElement: Rp,
|
|
20658
20658
|
hoverMenu: this.hoverMenu,
|
|
20659
20659
|
index: this.rowIdField,
|
|
20660
20660
|
initialFilter: this.initialFilter,
|
|
@@ -21351,7 +21351,7 @@ let g = class extends Pe {
|
|
|
21351
21351
|
const i = await fetch(e);
|
|
21352
21352
|
if (!i.ok)
|
|
21353
21353
|
throw new Error(`Failed to fetch data: ${i.status} ${i.statusText}`);
|
|
21354
|
-
const s = i.headers.get("content-type"), o =
|
|
21354
|
+
const s = i.headers.get("content-type"), o = _p(this.dataFormat, e, s);
|
|
21355
21355
|
if (t !== this.dataUrlRequestId)
|
|
21356
21356
|
return;
|
|
21357
21357
|
const r = await i.text();
|
|
@@ -21543,18 +21543,18 @@ En = function() {
|
|
|
21543
21543
|
};
|
|
21544
21544
|
g.styles = [
|
|
21545
21545
|
$e,
|
|
21546
|
-
|
|
21547
|
-
|
|
21546
|
+
vp,
|
|
21547
|
+
Sn
|
|
21548
21548
|
];
|
|
21549
21549
|
g.dependencies = {
|
|
21550
21550
|
"cx-button": Et,
|
|
21551
21551
|
"cx-checkbox": Gr,
|
|
21552
|
-
"cx-divider":
|
|
21552
|
+
"cx-divider": aa,
|
|
21553
21553
|
"cx-faceted-filter": de,
|
|
21554
|
-
"cx-format-number":
|
|
21554
|
+
"cx-format-number": la,
|
|
21555
21555
|
"cx-icon": gt,
|
|
21556
21556
|
"cx-icon-button": oi,
|
|
21557
|
-
"cx-select":
|
|
21557
|
+
"cx-select": ha,
|
|
21558
21558
|
"cx-space": Ri,
|
|
21559
21559
|
"cx-spinner": Xr,
|
|
21560
21560
|
"cx-table-column-editor": Qe,
|
|
@@ -21901,7 +21901,7 @@ v([
|
|
|
21901
21901
|
v([
|
|
21902
21902
|
m({
|
|
21903
21903
|
attribute: "frozen-rows",
|
|
21904
|
-
converter:
|
|
21904
|
+
converter: Cp
|
|
21905
21905
|
})
|
|
21906
21906
|
], g.prototype, "frozenRows", 2);
|
|
21907
21907
|
v([
|
|
@@ -21919,7 +21919,7 @@ v([
|
|
|
21919
21919
|
v([
|
|
21920
21920
|
m({
|
|
21921
21921
|
attribute: "group-by",
|
|
21922
|
-
converter:
|
|
21922
|
+
converter: xp
|
|
21923
21923
|
})
|
|
21924
21924
|
], g.prototype, "groupBy", 2);
|
|
21925
21925
|
v([
|
|
@@ -22074,7 +22074,7 @@ v([
|
|
|
22074
22074
|
v([
|
|
22075
22075
|
m({
|
|
22076
22076
|
attribute: "data-tree-start-expanded",
|
|
22077
|
-
converter:
|
|
22077
|
+
converter: Ep
|
|
22078
22078
|
})
|
|
22079
22079
|
], g.prototype, "dataTreeStartExpanded", 2);
|
|
22080
22080
|
v([
|
|
@@ -22631,35 +22631,29 @@ v([
|
|
|
22631
22631
|
g = v([
|
|
22632
22632
|
Ie("cx-table")
|
|
22633
22633
|
], g);
|
|
22634
|
-
const
|
|
22634
|
+
const Np = g;
|
|
22635
22635
|
var Je = /* @__PURE__ */ ((n) => (n.Circles = "circles", n.Grid = "grid", n.Table = "table", n))(Je || {});
|
|
22636
|
-
const Ar = 165,
|
|
22636
|
+
const Ar = 165, Vp = ["HEX", "RGB", "CMYK", "PMS"], Bp = {
|
|
22637
22637
|
resizable: !1
|
|
22638
|
-
},
|
|
22639
|
-
|
|
22640
|
-
|
|
22641
|
-
|
|
22642
|
-
|
|
22643
|
-
|
|
22644
|
-
|
|
22645
|
-
|
|
22646
|
-
|
|
22647
|
-
headerHozAlign: "center",
|
|
22648
|
-
headerSort: !1,
|
|
22649
|
-
hozAlign: "center",
|
|
22650
|
-
title: "Name",
|
|
22651
|
-
width: 80
|
|
22652
|
-
},
|
|
22653
|
-
{
|
|
22654
|
-
field: "name",
|
|
22655
|
-
headerHozAlign: "center",
|
|
22656
|
-
headerSort: !1,
|
|
22657
|
-
hozAlign: "left",
|
|
22658
|
-
widthGrow: 3
|
|
22638
|
+
}, $p = {
|
|
22639
|
+
field: "name",
|
|
22640
|
+
formatter: (n) => {
|
|
22641
|
+
const e = n.getRow().getData(), t = document.createElement("div");
|
|
22642
|
+
t.style.display = "flex", t.style.alignItems = "center", t.style.gap = "var(--cx-spacing-medium)", t.style.width = "100%", t.style.userSelect = "none";
|
|
22643
|
+
const i = document.createElement("div");
|
|
22644
|
+
i.style.backgroundColor = e.hex ?? "", i.style.flex = "0 0 auto", i.style.width = "64px", i.style.height = "32px", i.style.borderRadius = "var(--cx-border-radius-large)", t.appendChild(i);
|
|
22645
|
+
const s = document.createElement("span");
|
|
22646
|
+
return s.textContent = e.name ?? "", s.style.overflow = "hidden", s.style.textOverflow = "ellipsis", s.style.whiteSpace = "nowrap", t.appendChild(s), t;
|
|
22659
22647
|
},
|
|
22648
|
+
headerHozAlign: "left",
|
|
22649
|
+
headerSort: !1,
|
|
22650
|
+
hozAlign: "left",
|
|
22651
|
+
title: "Name",
|
|
22652
|
+
widthGrow: 4
|
|
22653
|
+
}, Wp = [
|
|
22660
22654
|
{
|
|
22661
22655
|
field: "hex",
|
|
22662
|
-
headerHozAlign: "
|
|
22656
|
+
headerHozAlign: "left",
|
|
22663
22657
|
headerSort: !1,
|
|
22664
22658
|
hozAlign: "center",
|
|
22665
22659
|
minWidth: 130,
|
|
@@ -22667,7 +22661,7 @@ const Ar = 165, Bp = ["HEX", "RGB", "CMYK", "PMS"], $p = {
|
|
|
22667
22661
|
},
|
|
22668
22662
|
{
|
|
22669
22663
|
field: "rgb",
|
|
22670
|
-
headerHozAlign: "
|
|
22664
|
+
headerHozAlign: "left",
|
|
22671
22665
|
headerSort: !1,
|
|
22672
22666
|
hozAlign: "center",
|
|
22673
22667
|
minWidth: 130,
|
|
@@ -22675,7 +22669,7 @@ const Ar = 165, Bp = ["HEX", "RGB", "CMYK", "PMS"], $p = {
|
|
|
22675
22669
|
},
|
|
22676
22670
|
{
|
|
22677
22671
|
field: "cmyk",
|
|
22678
|
-
headerHozAlign: "
|
|
22672
|
+
headerHozAlign: "left",
|
|
22679
22673
|
headerSort: !1,
|
|
22680
22674
|
hozAlign: "center",
|
|
22681
22675
|
minWidth: 150,
|
|
@@ -22683,7 +22677,7 @@ const Ar = 165, Bp = ["HEX", "RGB", "CMYK", "PMS"], $p = {
|
|
|
22683
22677
|
},
|
|
22684
22678
|
{
|
|
22685
22679
|
field: "pms",
|
|
22686
|
-
headerHozAlign: "
|
|
22680
|
+
headerHozAlign: "left",
|
|
22687
22681
|
headerSort: !1,
|
|
22688
22682
|
hozAlign: "center",
|
|
22689
22683
|
responsive: 0,
|
|
@@ -22697,7 +22691,10 @@ function _i(n, e, t) {
|
|
|
22697
22691
|
return null;
|
|
22698
22692
|
const s = x`<cx-copy-button copy-label=${n.term("clickToCopy")} focus-copy-label=${n.term("pressEnterOrCtrlCToCopy")} hoist label=${`${t}, ${e.getField()} ${n.term("code")} ${i}. ${n.term("clickOrPressCtrlCToCopy")}`} no-icon tooltip-distance="0" value=${i} style=${ft({
|
|
22699
22693
|
"--button-background-color": "transparent",
|
|
22700
|
-
"--button-font-
|
|
22694
|
+
"--button-font-family": "var(--swatch-font-family, var(--cx-font-sans))",
|
|
22695
|
+
"--button-font-size": "var(--swatch-font-size, var(--cx-font-size-large))",
|
|
22696
|
+
"--button-font-style": "var(--swatch-font-style, normal)",
|
|
22697
|
+
"--button-font-weight": "var(--swatch-font-weight, var(--cx-font-weight-regular))",
|
|
22701
22698
|
"--button-padding": "0",
|
|
22702
22699
|
"max-width": "100%"
|
|
22703
22700
|
})}><span style=${ft({
|
|
@@ -22708,14 +22705,13 @@ function _i(n, e, t) {
|
|
|
22708
22705
|
verticalAlign: "middle",
|
|
22709
22706
|
whiteSpace: "nowrap"
|
|
22710
22707
|
})}>${i}</span></cx-copy-button>`, o = document.createDocumentFragment();
|
|
22711
|
-
return
|
|
22708
|
+
return Pn(s, o), o.firstElementChild;
|
|
22712
22709
|
}
|
|
22713
|
-
const
|
|
22714
|
-
...xn.slice(0, 2),
|
|
22710
|
+
const jp = (n, e) => [
|
|
22715
22711
|
{
|
|
22716
22712
|
field: "hex",
|
|
22717
22713
|
formatter: (t) => _i(n, t, e),
|
|
22718
|
-
headerHozAlign: "
|
|
22714
|
+
headerHozAlign: "left",
|
|
22719
22715
|
headerSort: !1,
|
|
22720
22716
|
hozAlign: "center",
|
|
22721
22717
|
minWidth: 130,
|
|
@@ -22724,7 +22720,7 @@ const Wp = (n, e) => [
|
|
|
22724
22720
|
{
|
|
22725
22721
|
field: "rgb",
|
|
22726
22722
|
formatter: (t) => _i(n, t, e),
|
|
22727
|
-
headerHozAlign: "
|
|
22723
|
+
headerHozAlign: "left",
|
|
22728
22724
|
headerSort: !1,
|
|
22729
22725
|
hozAlign: "center",
|
|
22730
22726
|
minWidth: 130,
|
|
@@ -22733,7 +22729,7 @@ const Wp = (n, e) => [
|
|
|
22733
22729
|
{
|
|
22734
22730
|
field: "cmyk",
|
|
22735
22731
|
formatter: (t) => _i(n, t, e),
|
|
22736
|
-
headerHozAlign: "
|
|
22732
|
+
headerHozAlign: "left",
|
|
22737
22733
|
headerSort: !1,
|
|
22738
22734
|
hozAlign: "center",
|
|
22739
22735
|
minWidth: 150,
|
|
@@ -22742,17 +22738,17 @@ const Wp = (n, e) => [
|
|
|
22742
22738
|
{
|
|
22743
22739
|
field: "pms",
|
|
22744
22740
|
formatter: (t) => _i(n, t, e),
|
|
22745
|
-
headerHozAlign: "
|
|
22741
|
+
headerHozAlign: "left",
|
|
22746
22742
|
headerSort: !1,
|
|
22747
22743
|
hozAlign: "center",
|
|
22748
22744
|
title: "PMS",
|
|
22749
22745
|
widthGrow: 2
|
|
22750
22746
|
}
|
|
22751
|
-
],
|
|
22752
|
-
var
|
|
22753
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
22747
|
+
], Gp = q`:host{--grid-gap:var(--cx-spacing-medium);--padding:0;--swatch-min-height:50px;--swatch-font-size:var(--cx-font-size-medium);padding:var(--cx-focus-ring-width);width:100%;min-width:0;display:block;overflow:auto}.color-swatch-group__swatches{padding:var(--padding,0);width:100%;max-width:100%;height:100%}.color-swatch-group__table-container{max-width:100%}.color-swatch-group__table-container:focus-visible{outline:var(--cx-focus-ring);outline-offset:var(--cx-focus-ring-offset)}.color-swatch-group__swatches--circles--horizontal>cx-color-swatch:not(:first-child){margin-left:var(--swatch-group-horizontal-gap,-100px)}.color-swatch-group__swatches--circles--vertical>cx-color-swatch:not(:first-child){margin-top:var(--swatch-group-vertical-gap,-50px)}.color-swatch-group__swatches--circles--horizontal__item{--swatch-content-padding:0 min(calc(var(--swatch-group-horizontal-gap,-100px) * -.5), 0) 0 0}.color-swatch-group__swatches--circles--vertical__item{--swatch-content-padding:0 0 min(calc(var(--swatch-group-vertical-gap,-50px) * -.5), 0) 0}.color-swatch-group__swatches--circles--vertical__item--mobile{--swatch-size:100%}.color-swatch-group__swatches--grid{align-items:stretch;gap:var(--grid-gap,var(--cx-spacing-medium));display:grid}.color-swatch-group__table{font-family:var(--swatch-font-family,var(--cx-font-sans));font-style:var(--swatch-font-style,normal);--body-background-color:transparent;--row-background-color:transparent;--row-even-background-color:transparent;--row-hover-background-color:var(--cx-color-neutral-50);--row-even-hover-background-color:var(--cx-color-neutral-50);--header-background-color:transparent;--group-row-background-color:transparent;--cell-border-color:transparent;--cell-bottom-border-color:transparent;--header-font-size:var(--swatch-font-size,var(--cx-font-size-large));--header-font-weight:var(--swatch-font-weight,var(--cx-font-weight-semibold));--header-border-right:none;--cell-font-size:var(--swatch-font-size,var(--cx-font-size-large));--cell-font-weight:var(--swatch-font-weight,var(--cx-font-weight-regular));--cell-line-height:normal;--cell-hover-background-color:transparent;--placeholder-font-size:var(--cx-font-size-medium-large);--cell-horizontal-padding:var(--cx-spacing-2x-small);--header-horizontal-padding:var(--cx-spacing-2x-small);--header-border-bottom:1px solid var(--cx-color-neutral-200);--hover-menu-background-color:var(--row-hover-background-color);--outer-border-color:transparent}.color-swatch-group__table::part(table){background-color:#0000}`;
|
|
22748
|
+
var Up = Object.defineProperty, Kp = Object.getOwnPropertyDescriptor, xe = (n, e, t, i) => {
|
|
22749
|
+
for (var s = i > 1 ? void 0 : i ? Kp(e, t) : e, o = n.length - 1, r; o >= 0; o--)
|
|
22754
22750
|
(r = n[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
|
|
22755
|
-
return i && s &&
|
|
22751
|
+
return i && s && Up(e, t, s), s;
|
|
22756
22752
|
};
|
|
22757
22753
|
const Pr = "unnamed";
|
|
22758
22754
|
let me = class extends Pe {
|
|
@@ -22763,7 +22759,7 @@ let me = class extends Pe {
|
|
|
22763
22759
|
this.setAttribute("role", "region"), this.setAttribute("aria-label", this.localize.term("colorSwatches")), this.setAttribute(
|
|
22764
22760
|
"aria-roledescription",
|
|
22765
22761
|
this.localize.term("colorSwatches")
|
|
22766
|
-
), this.breakpoints =
|
|
22762
|
+
), this.breakpoints = Fn(this, this.breakpoints), this.handleResize();
|
|
22767
22763
|
}
|
|
22768
22764
|
runConnectedCallback() {
|
|
22769
22765
|
window.addEventListener("resize", this.handleWindowResize);
|
|
@@ -22787,7 +22783,7 @@ let me = class extends Pe {
|
|
|
22787
22783
|
break;
|
|
22788
22784
|
}
|
|
22789
22785
|
case Je.Circles: {
|
|
22790
|
-
this.deviceType =
|
|
22786
|
+
this.deviceType = Ln(this.breakpoints);
|
|
22791
22787
|
break;
|
|
22792
22788
|
}
|
|
22793
22789
|
}
|
|
@@ -22809,10 +22805,11 @@ let me = class extends Pe {
|
|
|
22809
22805
|
* Filter out the columns that are not in the showCodes
|
|
22810
22806
|
*/
|
|
22811
22807
|
getTableColumns(n) {
|
|
22812
|
-
const e = this.canCopy ?
|
|
22808
|
+
const e = this.canCopy ? jp(this.localize, n) : Wp;
|
|
22813
22809
|
return [
|
|
22814
|
-
|
|
22815
|
-
|
|
22810
|
+
// Single "Name" column (color swatch + name) always shown first.
|
|
22811
|
+
$p,
|
|
22812
|
+
...e.filter(
|
|
22816
22813
|
(t) => this.showCodes.includes(t.field.toUpperCase())
|
|
22817
22814
|
)
|
|
22818
22815
|
];
|
|
@@ -22874,7 +22871,7 @@ let me = class extends Pe {
|
|
|
22874
22871
|
)} data-table-container class="color-swatch-group__table-container" @focusin=${this.handleFocusIn} @focusout=${this.handleFocusOut} @keydown=${this.handleKeyDown}><cx-typography variant="h3">${t.palette === Pr ? this.localize.term("noPalette") : this.localize.term("shadesPalette", t.palette)}</cx-typography><cx-table part="table" tabindex=${this.isFocused ? void 0 : "-1"} no-selectable layout="fitColumns" .columns=${Wo(
|
|
22875
22872
|
[this.showCodes, this.canCopy, this.localize],
|
|
22876
22873
|
() => this.getTableColumns(t.palette)
|
|
22877
|
-
)} .columnDefaults=${
|
|
22874
|
+
)} .columnDefaults=${Bp} .rowHeight=${void 0} .data=${i} class="color-swatch-group__table"></cx-table></div>`;
|
|
22878
22875
|
}
|
|
22879
22876
|
)
|
|
22880
22877
|
)}</cx-space>`,
|
|
@@ -22900,18 +22897,18 @@ let me = class extends Pe {
|
|
|
22900
22897
|
`;
|
|
22901
22898
|
}
|
|
22902
22899
|
};
|
|
22903
|
-
me.styles = [$e,
|
|
22900
|
+
me.styles = [$e, Gp];
|
|
22904
22901
|
me.dependencies = {
|
|
22905
22902
|
"cx-color-swatch": Hr,
|
|
22906
22903
|
"cx-space": Ri,
|
|
22907
|
-
"cx-table":
|
|
22904
|
+
"cx-table": Np,
|
|
22908
22905
|
"cx-typography": Ir
|
|
22909
22906
|
};
|
|
22910
22907
|
xe([
|
|
22911
22908
|
ue(".color-swatch-group__swatches")
|
|
22912
22909
|
], me.prototype, "containerEl", 2);
|
|
22913
22910
|
xe([
|
|
22914
|
-
|
|
22911
|
+
fa("cx-table")
|
|
22915
22912
|
], me.prototype, "tableEls", 2);
|
|
22916
22913
|
xe([
|
|
22917
22914
|
m({ reflect: !0, type: String })
|
|
@@ -22929,7 +22926,7 @@ xe([
|
|
|
22929
22926
|
m({
|
|
22930
22927
|
attribute: "show-codes",
|
|
22931
22928
|
converter: {
|
|
22932
|
-
fromAttribute: (n) => (n?.split(" ") ?? []).filter((t) =>
|
|
22929
|
+
fromAttribute: (n) => (n?.split(" ") ?? []).filter((t) => Vp.includes(t)),
|
|
22933
22930
|
toAttribute: (n) => n.join(" ")
|
|
22934
22931
|
},
|
|
22935
22932
|
reflect: !0
|
|
@@ -22973,7 +22970,7 @@ export {
|
|
|
22973
22970
|
rt as F,
|
|
22974
22971
|
Wt as H,
|
|
22975
22972
|
_t as a,
|
|
22976
|
-
|
|
22973
|
+
Np as b,
|
|
22977
22974
|
Je as c,
|
|
22978
22975
|
jo as d,
|
|
22979
22976
|
de as e,
|