@orangelogic/design-system 2.115.0 → 2.117.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/library/chunks/asset-link-format.QzzboHHE.js +6 -0
- package/library/chunks/asset.CIWxY-Aw.js +469 -0
- package/library/chunks/{color-swatch-group.DjjSIHSV.js → color-swatch-group.BvLicLI4.js} +1 -1
- package/library/chunks/{document-viewer.BIC9iYpZ.js → document-viewer.CKCX8ueu.js} +1118 -1106
- package/library/chunks/{endpoints.CDX5PgQz.js → endpoints.D4h8hp1m.js} +271 -271
- package/library/chunks/{folder-select.8xNjeJfp.js → folder-select.CrWjwQcw.js} +2 -2
- package/library/chunks/{list-editor.7zNWfBuW.js → list-editor.BfpDIsU5.js} +120 -115
- package/library/chunks/{table.BvbReIZh.js → table.GCs54Y2t.js} +725 -628
- package/library/chunks/{transformation.BlQCWMfI.js → transformation.c-RS37zA.js} +1 -1
- package/library/components/asset-link-format.js +3 -3
- package/library/components/atoms.js +2 -2
- package/library/components/audio.js +164 -102
- package/library/components/color-swatch-group.js +2 -2
- package/library/components/cropper.js +1 -1
- package/library/components/document-viewer.js +1 -1
- package/library/components/folder-select.js +2 -2
- package/library/components/list-editor.js +2 -2
- package/library/components/molecules.js +2 -2
- package/library/components/organisms.js +1 -1
- package/library/components/select.js +107 -107
- package/library/components/table.js +1 -1
- package/library/components/types.js +26050 -26258
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/audio/audio.d.ts +32 -5
- package/library/packages/atoms/src/components/table/table-data-loader.d.ts +1 -0
- package/library/packages/atoms/src/components/table/table.d.ts +1 -0
- package/library/packages/hybrid/book-reader/src/react/components/Controller/PageControl.d.ts +2 -1
- package/library/packages/hybrid/book-reader/src/react/hooks/useBreakpoint.d.ts +5 -1
- package/library/packages/molecules/src/asset-data-display/asset-data-display.d.ts +2 -1
- package/library/packages/molecules/src/asset-picker/asset-picker.d.ts +2 -0
- package/library/packages/molecules/src/index.d.ts +0 -1
- package/library/packages/molecules/src/page-outline/page-outline.d.ts +1 -2
- package/library/packages/organisms/src/asset-transformation-dialog/asset-transformation-dialog.d.ts +5 -2
- package/library/packages/organisms/src/content-builder/components/gallery-config/gallery-config.d.ts +0 -1
- package/library/packages/organisms/src/content-builder/components/page-picker/page-picker.d.ts +0 -1
- package/library/packages/organisms/src/content-builder/configs/audio.d.ts +1 -0
- package/library/packages/organisms/src/content-builder/configs-controller.d.ts +2 -0
- package/library/packages/organisms/src/content-builder/styleController.d.ts +1 -0
- package/library/packages/services/src/api/asset/asset.d.ts +7 -6
- package/library/packages/services/src/api/endpoints.d.ts +2 -3
- package/library/packages/tools/src/fetch-asset/fetch-asset.d.ts +6 -7
- package/library/packages/tools/src/fetch-image/fetch-image.d.ts +6 -11
- package/library/packages/types/src/asset-link-format.d.ts +1 -0
- package/library/packages/types/src/content-builder.d.ts +4 -0
- package/library/react-web-component.d.ts +741 -721
- package/library/utils.js +1 -1
- package/package.json +1 -1
- package/library/chunks/asset-link-format.B0c92pSs.js +0 -6
- package/library/chunks/asset.CtPQLZOf.js +0 -607
- package/library/packages/molecules/src/timeline/timeline.d.ts +0 -71
- package/library/packages/molecules/src/timeline/timeline.styles.d.ts +0 -2
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { C as Et } from "./button.DwJEeW2t.js";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { C as
|
|
6
|
-
import
|
|
2
|
+
import qo from "../components/checkbox.js";
|
|
3
|
+
import Xo from "../components/divider.js";
|
|
4
|
+
import Jo from "../components/format-number.js";
|
|
5
|
+
import { C as ko } from "./icon-button.CQiBjznj.js";
|
|
6
|
+
import Yo from "../components/select.js";
|
|
7
7
|
import us from "../components/space.js";
|
|
8
|
-
import
|
|
8
|
+
import Qo from "../components/spinner.js";
|
|
9
9
|
import { n as y, C as xt } from "./lib-cortex-element.CVMmyPMC.js";
|
|
10
10
|
import { c as At } from "./component.styles.CRO4Odto.js";
|
|
11
|
-
import { o as
|
|
11
|
+
import { o as Zo, O as Gs } from "./overlayscrollbars.BMav4RQ4.js";
|
|
12
12
|
import { g as G, a as $s } from "./dom.0RpWet6y.js";
|
|
13
|
-
import { x as M, i as te, E as
|
|
13
|
+
import { x as M, i as te, E as er } from "./lit-element.jLBm65_O.js";
|
|
14
14
|
import "./debounce.CIEhztrj.js";
|
|
15
15
|
import "./form.B-5nQJva.js";
|
|
16
16
|
import { L as Zt } from "./i18n.CH-wak_P.js";
|
|
@@ -18,30 +18,30 @@ import "./purify.es.BIuh5IAZ.js";
|
|
|
18
18
|
import "./date-picker.D0SJADN6.js";
|
|
19
19
|
import "./content-builder.OsUmm8Wu.js";
|
|
20
20
|
import "./unsafe-html.Dff7-rCx.js";
|
|
21
|
-
import { t as
|
|
21
|
+
import { t as tr, g as ir } from "./toast.D3AW3RWv.js";
|
|
22
22
|
import { s as H, c as ei, d as ps } from "./string.DUgD4c9f.js";
|
|
23
23
|
import { o as Be } from "./if-defined.BRoBj_Rp.js";
|
|
24
24
|
import { o as ut } from "./style-map.llVFPd__.js";
|
|
25
|
-
import { T as
|
|
26
|
-
import { a as
|
|
27
|
-
import { d as
|
|
28
|
-
import { C as
|
|
25
|
+
import { T as sr, C as or } from "./typography.DJC_UXgs.js";
|
|
26
|
+
import { a as rr } from "./_commonjsHelpers.DQNKXVTB.js";
|
|
27
|
+
import { d as nr } from "./debounce.C_J-9zJi.js";
|
|
28
|
+
import { C as ar, P as lr } from "./pagination.zQ2FFtxB.js";
|
|
29
29
|
import { c as Rt } from "./custom-element.L4WJXn1j.js";
|
|
30
30
|
import { w as ne } from "./watch.CThbualB.js";
|
|
31
31
|
import { r as _e } from "./state.CSDxrqLd.js";
|
|
32
32
|
import { e as St } from "./query.BBf1UFkC.js";
|
|
33
33
|
import { e as $t } from "./class-map.BiVq-cVR.js";
|
|
34
|
-
import { n as
|
|
34
|
+
import { n as Ce } from "./when.Dr1es41R.js";
|
|
35
35
|
import { C as ti } from "./icon.DnBh6-56.js";
|
|
36
36
|
import fs from "../components/tooltip.js";
|
|
37
|
-
import { r as
|
|
37
|
+
import { r as hr } from "./choose.BTbF6BAn.js";
|
|
38
38
|
import { c as Ct } from "./repeat.DbF2p5ae.js";
|
|
39
39
|
import ii from "../components/dropdown.js";
|
|
40
40
|
import si from "../components/menu.js";
|
|
41
41
|
import oi from "../components/menu-item.js";
|
|
42
|
-
import
|
|
43
|
-
import { C as
|
|
44
|
-
import { H as
|
|
42
|
+
import cr from "../components/menu-section.js";
|
|
43
|
+
import { C as dr } from "./input.CH4lKxPM.js";
|
|
44
|
+
import { H as ur } from "./slot.j5oheLJC.js";
|
|
45
45
|
class fe {
|
|
46
46
|
constructor(e) {
|
|
47
47
|
this.table = e;
|
|
@@ -187,7 +187,7 @@ class U {
|
|
|
187
187
|
}
|
|
188
188
|
}
|
|
189
189
|
const Us = process.env.NODE_ENV === "development";
|
|
190
|
-
let
|
|
190
|
+
let pr = class To extends fe {
|
|
191
191
|
constructor(e, t, i = null) {
|
|
192
192
|
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);
|
|
193
193
|
}
|
|
@@ -310,10 +310,10 @@ let cr = class So extends fe {
|
|
|
310
310
|
), this.unsubscribe("cell-editing", this.blurEvent), this.blurEventsBound = !1), this.childPopup && this.childPopup.hide(), this.parent && (this.parent.childPopup = null), this.element.parentNode && this.element.parentNode.removeChild(this.element), this.visible = !1, this.blurCallback && !e && this.blurCallback(), this.unsubscribe("table-destroy", this.destroyBinding)), this;
|
|
311
311
|
}
|
|
312
312
|
child(e) {
|
|
313
|
-
return this.childPopup && this.childPopup.hide(), this.childPopup = new
|
|
313
|
+
return this.childPopup && this.childPopup.hide(), this.childPopup = new To(this.table, e, this), this.childPopup;
|
|
314
314
|
}
|
|
315
315
|
};
|
|
316
|
-
const
|
|
316
|
+
const fr = process.env.NODE_ENV === "development";
|
|
317
317
|
class P extends fe {
|
|
318
318
|
constructor(e) {
|
|
319
319
|
super(e);
|
|
@@ -334,7 +334,7 @@ class P extends fe {
|
|
|
334
334
|
*/
|
|
335
335
|
registerTableFunction(e, t) {
|
|
336
336
|
const i = this.table;
|
|
337
|
-
i[e] === void 0 || i[e] === null ? i[e] = (...s) => (this.table.initGuard?.(e), t.apply(this, s)) :
|
|
337
|
+
i[e] === void 0 || i[e] === null ? i[e] = (...s) => (this.table.initGuard?.(e), t.apply(this, s)) : fr && console.warn("Unable to bind table function, name already in use:", e);
|
|
338
338
|
}
|
|
339
339
|
registerComponentFunction(e, t, i) {
|
|
340
340
|
return this.table.componentFunctionBinder.bind(e, t, i);
|
|
@@ -379,7 +379,7 @@ class P extends fe {
|
|
|
379
379
|
* Popups Management
|
|
380
380
|
*/
|
|
381
381
|
popup(e, t) {
|
|
382
|
-
return new
|
|
382
|
+
return new pr(this.table, e, t);
|
|
383
383
|
}
|
|
384
384
|
/**
|
|
385
385
|
* Alert Management
|
|
@@ -398,7 +398,7 @@ const Es = class Es extends P {
|
|
|
398
398
|
};
|
|
399
399
|
Es.moduleName = "accessibility";
|
|
400
400
|
let mi = Es;
|
|
401
|
-
const
|
|
401
|
+
const gr = "tabulator-clickable-cell", mr = 'button, [role="button"], cx-button, cx-menu-item, cx-dropdown', br = "hoverMenu", Ks = "cx-table-row-action-click", xs = class xs extends P {
|
|
402
402
|
constructor(e) {
|
|
403
403
|
super(e), this.cellKeyHandlers = /* @__PURE__ */ new WeakMap(), this.registerColumnOption("clickable"), this.registerColumnOption("clickableActionName"), this.registerColumnOption("clickableEventName");
|
|
404
404
|
}
|
|
@@ -415,7 +415,7 @@ const ur = "tabulator-clickable-cell", pr = 'button, [role="button"], cx-button,
|
|
|
415
415
|
if (!e.element)
|
|
416
416
|
return;
|
|
417
417
|
const t = e.element, i = !!e.column.definition.clickable, s = this.cellKeyHandlers.get(t);
|
|
418
|
-
if (s && (t.removeEventListener("keydown", s), this.cellKeyHandlers.delete(t)), t.classList.toggle(
|
|
418
|
+
if (s && (t.removeEventListener("keydown", s), this.cellKeyHandlers.delete(t)), t.classList.toggle(gr, i), !i) {
|
|
419
419
|
t.removeAttribute("tabindex"), t.removeAttribute("role");
|
|
420
420
|
return;
|
|
421
421
|
}
|
|
@@ -448,7 +448,7 @@ const ur = "tabulator-clickable-cell", pr = 'button, [role="button"], cx-button,
|
|
|
448
448
|
s = r;
|
|
449
449
|
break;
|
|
450
450
|
}
|
|
451
|
-
if (r instanceof Element && r.matches(
|
|
451
|
+
if (r instanceof Element && r.matches(mr))
|
|
452
452
|
return;
|
|
453
453
|
}
|
|
454
454
|
if (e.ctrlKey || e.metaKey) {
|
|
@@ -491,7 +491,7 @@ const ur = "tabulator-clickable-cell", pr = 'button, [role="button"], cx-button,
|
|
|
491
491
|
return i || (this.resolveAction(e, t)?.name ?? null);
|
|
492
492
|
}
|
|
493
493
|
resolveAction(e, t) {
|
|
494
|
-
const i = this.table.options.hoverMenuField ??
|
|
494
|
+
const i = this.table.options.hoverMenuField ?? br, s = e.column.definition.hoverMenu;
|
|
495
495
|
if (s)
|
|
496
496
|
return this.pickAction(s, t);
|
|
497
497
|
const o = e.row.getData(), r = Object.hasOwn(
|
|
@@ -507,8 +507,8 @@ const ur = "tabulator-clickable-cell", pr = 'button, [role="button"], cx-button,
|
|
|
507
507
|
};
|
|
508
508
|
xs.moduleName = "clickableCell";
|
|
509
509
|
let bi = xs;
|
|
510
|
-
var $e = /* @__PURE__ */ ((n) => (n.Bottom = "bottom", n.Center = "center", n.Nearest = "nearest", n.Top = "top", n))($e || {}), Me = /* @__PURE__ */ ((n) => (n.All = "all", n.Cell = "cell", n.Column = "column", n.Row = "row", n))(Me || {}), zt = /* @__PURE__ */ ((n) => (n.Both = "both", n.Copy = "copy", n.Paste = "paste", n))(zt || {}),
|
|
511
|
-
const
|
|
510
|
+
var $e = /* @__PURE__ */ ((n) => (n.Bottom = "bottom", n.Center = "center", n.Nearest = "nearest", n.Top = "top", n))($e || {}), Me = /* @__PURE__ */ ((n) => (n.All = "all", n.Cell = "cell", n.Column = "column", n.Row = "row", n))(Me || {}), zt = /* @__PURE__ */ ((n) => (n.Both = "both", n.Copy = "copy", n.Paste = "paste", n))(zt || {}), we = /* @__PURE__ */ ((n) => (n.Auto = "auto", n.Csv = "csv", n.Json = "json", n.Xml = "xml", n))(we || {}), at = /* @__PURE__ */ ((n) => (n.Left = "left", n.Right = "right", n))(at || {}), Ke = /* @__PURE__ */ ((n) => (n.Local = "local", n.Remote = "remote", n))(Ke || {}), be = /* @__PURE__ */ ((n) => (n.Asc = "asc", n.Desc = "desc", n.None = "none", n))(be || {}), dt = /* @__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))(dt || {});
|
|
511
|
+
const Mo = 36, wr = M`<cx-table-row-actions></cx-table-row-actions>`, bt = class bt extends P {
|
|
512
512
|
constructor(e) {
|
|
513
513
|
super(e), this.registerTableOption("hoverMenu", !1), this.registerTableOption("hoverMenuField", "hoverMenu"), this.registerColumnOption("hoverMenu");
|
|
514
514
|
}
|
|
@@ -558,7 +558,7 @@ const ko = 36, gr = M`<cx-table-row-actions></cx-table-row-actions>`, bt = class
|
|
|
558
558
|
i && i.classList.remove("tabulator-hover-menu--active");
|
|
559
559
|
}
|
|
560
560
|
createCxTableRowActions() {
|
|
561
|
-
const e = G(
|
|
561
|
+
const e = G(wr);
|
|
562
562
|
return e.classList.add("tabulator-hover-menu"), e;
|
|
563
563
|
}
|
|
564
564
|
layoutRow(e) {
|
|
@@ -598,12 +598,12 @@ const ko = 36, gr = M`<cx-table-row-actions></cx-table-row-actions>`, bt = class
|
|
|
598
598
|
};
|
|
599
599
|
bt.moduleName = "hoverMenu", bt.placementDataAttribute = "hoverMenuPlacement";
|
|
600
600
|
let wi = bt;
|
|
601
|
-
const
|
|
601
|
+
const vr = {
|
|
602
602
|
rownum: function(n, e, t, i, s, o) {
|
|
603
603
|
const r = o?.getPosition();
|
|
604
604
|
return typeof r == "number" ? r : 0;
|
|
605
605
|
}
|
|
606
|
-
},
|
|
606
|
+
}, yr = process.env.NODE_ENV === "development", wt = class wt extends P {
|
|
607
607
|
// list of accessor types
|
|
608
608
|
constructor(e) {
|
|
609
609
|
super(e), this.allowedTypes = [
|
|
@@ -641,7 +641,7 @@ const mr = {
|
|
|
641
641
|
let t = !1;
|
|
642
642
|
switch (typeof e) {
|
|
643
643
|
case "string":
|
|
644
|
-
wt.accessors[e] ? t = wt.accessors[e] :
|
|
644
|
+
wt.accessors[e] ? t = wt.accessors[e] : yr && console.warn(
|
|
645
645
|
"Accessor Error - No such accessor found, ignoring: ",
|
|
646
646
|
e
|
|
647
647
|
);
|
|
@@ -678,12 +678,12 @@ const mr = {
|
|
|
678
678
|
}), o;
|
|
679
679
|
}
|
|
680
680
|
};
|
|
681
|
-
wt.moduleName = "accessor", wt.accessors =
|
|
681
|
+
wt.moduleName = "accessor", wt.accessors = vr;
|
|
682
682
|
let vi = wt;
|
|
683
|
-
const
|
|
683
|
+
const Cr = {
|
|
684
684
|
method: "GET"
|
|
685
685
|
};
|
|
686
|
-
function
|
|
686
|
+
function Do(n) {
|
|
687
687
|
return n instanceof File || n instanceof Blob;
|
|
688
688
|
}
|
|
689
689
|
function yi(n, e = "") {
|
|
@@ -697,7 +697,7 @@ function yi(n, e = "") {
|
|
|
697
697
|
)
|
|
698
698
|
);
|
|
699
699
|
});
|
|
700
|
-
else if (
|
|
700
|
+
else if (Do(n))
|
|
701
701
|
t.push({ key: e, value: n });
|
|
702
702
|
else if (typeof n == "object" && n !== null)
|
|
703
703
|
for (const i in n)
|
|
@@ -711,14 +711,14 @@ function yi(n, e = "") {
|
|
|
711
711
|
t.push({ key: e, value: n });
|
|
712
712
|
return t;
|
|
713
713
|
}
|
|
714
|
-
const
|
|
714
|
+
const Er = {
|
|
715
715
|
form: {
|
|
716
716
|
body: function(n, e, t) {
|
|
717
717
|
const i = yi(t), s = new FormData();
|
|
718
718
|
return i.forEach((o) => {
|
|
719
719
|
s.append(
|
|
720
720
|
o.key,
|
|
721
|
-
|
|
721
|
+
Do(o.value) ? o.value : String(o.value)
|
|
722
722
|
);
|
|
723
723
|
}), s;
|
|
724
724
|
},
|
|
@@ -756,7 +756,7 @@ function Ci(n, e = "") {
|
|
|
756
756
|
t.push({ key: e, value: n });
|
|
757
757
|
return t;
|
|
758
758
|
}
|
|
759
|
-
function
|
|
759
|
+
function xr(n) {
|
|
760
760
|
const e = Ci(n), t = [];
|
|
761
761
|
return e.forEach((i) => {
|
|
762
762
|
t.push(
|
|
@@ -764,10 +764,10 @@ function yr(n) {
|
|
|
764
764
|
);
|
|
765
765
|
}), t.join("&");
|
|
766
766
|
}
|
|
767
|
-
const
|
|
767
|
+
const Lo = function(n, e, t) {
|
|
768
768
|
if (n && t && Object.keys(t).length && (!e.method || e.method.toLowerCase() === "get")) {
|
|
769
769
|
e.method = "get";
|
|
770
|
-
const [i, s] = n.split("#", 2), o =
|
|
770
|
+
const [i, s] = n.split("#", 2), o = xr(t);
|
|
771
771
|
n = i + (i.includes("?") ? "&" : "?") + o + (s ? "#" + s : "");
|
|
772
772
|
}
|
|
773
773
|
return n;
|
|
@@ -828,7 +828,7 @@ const Mo = function(n, e, t) {
|
|
|
828
828
|
)), s)) : Promise.reject();
|
|
829
829
|
}
|
|
830
830
|
};
|
|
831
|
-
Oe.moduleName = "ajax", Oe.defaultConfig =
|
|
831
|
+
Oe.moduleName = "ajax", Oe.defaultConfig = Cr, Oe.defaultURLGenerator = Lo, Oe.contentTypeFormatters = Er, Oe.defaultLoaderPromise = function(e, t, i) {
|
|
832
832
|
let s;
|
|
833
833
|
return new Promise((o, r) => {
|
|
834
834
|
if (!this.urlGenerator) {
|
|
@@ -880,21 +880,21 @@ function gs(n) {
|
|
|
880
880
|
}), t = t.parent;
|
|
881
881
|
return e;
|
|
882
882
|
}
|
|
883
|
-
function
|
|
883
|
+
function zo(n) {
|
|
884
884
|
return JSON.stringify(n);
|
|
885
885
|
}
|
|
886
|
-
function
|
|
886
|
+
function Rr(n, e) {
|
|
887
887
|
return n?.[e];
|
|
888
888
|
}
|
|
889
|
-
function
|
|
889
|
+
function Sr(n) {
|
|
890
890
|
const e = gs(n);
|
|
891
891
|
return {
|
|
892
892
|
path: e,
|
|
893
|
-
pathKey:
|
|
893
|
+
pathKey: zo(e),
|
|
894
894
|
rowCount: n.getRowCount()
|
|
895
895
|
};
|
|
896
896
|
}
|
|
897
|
-
class
|
|
897
|
+
class Fo {
|
|
898
898
|
constructor(e) {
|
|
899
899
|
return this._group = e, this.type = "GroupComponent", new Proxy(this, {
|
|
900
900
|
get: function(t, i) {
|
|
@@ -960,7 +960,7 @@ class Lo {
|
|
|
960
960
|
return this._group.groupManager.table;
|
|
961
961
|
}
|
|
962
962
|
}
|
|
963
|
-
const
|
|
963
|
+
const kr = process.env.NODE_ENV === "development";
|
|
964
964
|
class xi {
|
|
965
965
|
constructor(e) {
|
|
966
966
|
return this._column = e, this.type = "ColumnComponent", new Proxy(this, {
|
|
@@ -1040,7 +1040,7 @@ class xi {
|
|
|
1040
1040
|
this._column,
|
|
1041
1041
|
i,
|
|
1042
1042
|
t
|
|
1043
|
-
) :
|
|
1043
|
+
) : kr && console.warn(`Move Error - No matching column found: ${e}`);
|
|
1044
1044
|
}
|
|
1045
1045
|
getNextColumn() {
|
|
1046
1046
|
const e = this._column.nextColumn();
|
|
@@ -1061,7 +1061,7 @@ class xi {
|
|
|
1061
1061
|
return e === !0 ? t = await this._column.reinitializeWidth(!0) : t = this._column.setWidth(e), this._column.table.columnManager?.rerenderColumns(!0), t;
|
|
1062
1062
|
}
|
|
1063
1063
|
}
|
|
1064
|
-
const
|
|
1064
|
+
const Tr = process.env.NODE_ENV === "development";
|
|
1065
1065
|
class ri extends fe {
|
|
1066
1066
|
// 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)
|
|
1067
1067
|
constructor(e) {
|
|
@@ -1163,11 +1163,11 @@ class ri extends fe {
|
|
|
1163
1163
|
}
|
|
1164
1164
|
s();
|
|
1165
1165
|
} else
|
|
1166
|
-
|
|
1166
|
+
Tr && console.warn("Scroll Error - Row not visible"), o("Scroll Error - Row not visible");
|
|
1167
1167
|
});
|
|
1168
1168
|
}
|
|
1169
1169
|
}
|
|
1170
|
-
const
|
|
1170
|
+
const Mr = {
|
|
1171
1171
|
insert: function(n) {
|
|
1172
1172
|
return this.table.addData(n);
|
|
1173
1173
|
},
|
|
@@ -1177,7 +1177,7 @@ const Sr = {
|
|
|
1177
1177
|
update: function(n) {
|
|
1178
1178
|
return this.table.updateOrAddData(n);
|
|
1179
1179
|
}
|
|
1180
|
-
},
|
|
1180
|
+
}, Dr = {
|
|
1181
1181
|
table: function(n) {
|
|
1182
1182
|
const e = [];
|
|
1183
1183
|
let t = !0;
|
|
@@ -1199,16 +1199,16 @@ const Sr = {
|
|
|
1199
1199
|
}), o.push(l);
|
|
1200
1200
|
}), o) : !1;
|
|
1201
1201
|
}
|
|
1202
|
-
},
|
|
1202
|
+
}, Lr = {
|
|
1203
1203
|
copyToClipboard: function(n) {
|
|
1204
1204
|
this.table.modules.edit?.currentCell || this.table.modExists("clipboard", !0) && (n.preventDefault(), this.table.modules.clipboard?.copy(void 0, !0));
|
|
1205
1205
|
}
|
|
1206
|
-
},
|
|
1206
|
+
}, zr = {
|
|
1207
1207
|
copyToClipboard: ["ctrl + 67", "meta + 67"]
|
|
1208
|
-
},
|
|
1208
|
+
}, Fr = {
|
|
1209
1209
|
keybindings: {
|
|
1210
|
-
actions:
|
|
1211
|
-
bindings:
|
|
1210
|
+
actions: Lr,
|
|
1211
|
+
bindings: zr
|
|
1212
1212
|
}
|
|
1213
1213
|
}, qs = process.env.NODE_ENV === "development";
|
|
1214
1214
|
function Xs(n) {
|
|
@@ -1227,7 +1227,7 @@ const Ye = class Ye extends P {
|
|
|
1227
1227
|
"clipboard"
|
|
1228
1228
|
), i = this.table.modules.export?.generateHTMLTable(s), t = i ? this.generatePlainContent(s) : "", this.table.options.clipboardCopyFormatter && typeof this.table.options.clipboardCopyFormatter == "function" && (t = this.table.options.clipboardCopyFormatter("plain", t), i = this.table.options.clipboardCopyFormatter("html", i ?? "")));
|
|
1229
1229
|
const o = Xs(e);
|
|
1230
|
-
o?.setData && (o.setData("text/plain", t), i && o.setData("text/html", i),
|
|
1230
|
+
o?.setData && (o.setData("text/plain", t), i && o.setData("text/html", i), tr("Copied to clipboard", {
|
|
1231
1231
|
notificationType: "success"
|
|
1232
1232
|
})), this.dispatchExternal("clipboardCopied", t, i), this.reset();
|
|
1233
1233
|
}
|
|
@@ -1258,7 +1258,7 @@ const Ye = class Ye extends P {
|
|
|
1258
1258
|
const s = [];
|
|
1259
1259
|
i.columns.forEach((o) => {
|
|
1260
1260
|
let r = "";
|
|
1261
|
-
o && (i.type === "group" && (o.value = o.component instanceof
|
|
1261
|
+
o && (i.type === "group" && (o.value = o.component instanceof Fo ? o.component.getKey() : ""), typeof o.value == "object" ? r = JSON.stringify(o.value) : o.value != null && (r = String(o.value))), s.push(r);
|
|
1262
1262
|
}), t.push(s.join(" "));
|
|
1263
1263
|
}), t.join(`
|
|
1264
1264
|
`);
|
|
@@ -1326,7 +1326,7 @@ const Ye = class Ye extends P {
|
|
|
1326
1326
|
return i?.getData && (t = i.getData("text/plain")), t;
|
|
1327
1327
|
}
|
|
1328
1328
|
};
|
|
1329
|
-
Ye.moduleName = "clipboard", Ye.moduleExtensions =
|
|
1329
|
+
Ye.moduleName = "clipboard", Ye.moduleExtensions = Fr, Ye.pasteActions = Mr, Ye.pasteParsers = Dr;
|
|
1330
1330
|
let Ri = Ye;
|
|
1331
1331
|
class ms {
|
|
1332
1332
|
constructor(e) {
|
|
@@ -1392,7 +1392,7 @@ class ms {
|
|
|
1392
1392
|
return this._cell;
|
|
1393
1393
|
}
|
|
1394
1394
|
}
|
|
1395
|
-
const
|
|
1395
|
+
const Or = M`<div class="tabulator-cell"></div>`, _r = process.env.NODE_ENV === "development";
|
|
1396
1396
|
class Nt extends fe {
|
|
1397
1397
|
constructor(e, t) {
|
|
1398
1398
|
super(e.table), this.table = e.table, this.column = e, this.row = t, this.element = null, this.contentElement = null, this.value = null, this.oldValue = null, this.modules = {}, this.height = null, this.width = null, this.minWidth = null, this.component = null, this.loaded = !1, this.hoverMenuElement = null, this.build();
|
|
@@ -1405,7 +1405,7 @@ class Nt extends fe {
|
|
|
1405
1405
|
this.generateElement(), this.setWidth(), this._configureCell(), this.setValueActual(this.column.getFieldValue(this.row.data)), this.initialValue = this.value;
|
|
1406
1406
|
}
|
|
1407
1407
|
generateElement() {
|
|
1408
|
-
if (this.element = G(
|
|
1408
|
+
if (this.element = G(Or), this.element.setAttribute(
|
|
1409
1409
|
"role",
|
|
1410
1410
|
this.table.options.cellRole ?? "gridcell"
|
|
1411
1411
|
), this.column.modules.format?.cellClass) {
|
|
@@ -1458,7 +1458,7 @@ class Nt extends fe {
|
|
|
1458
1458
|
this.contentElement.firstChild.remove();
|
|
1459
1459
|
this.contentElement.appendChild(e);
|
|
1460
1460
|
} else
|
|
1461
|
-
this.contentElement.innerHTML = "", e != null &&
|
|
1461
|
+
this.contentElement.innerHTML = "", e != null && _r && console.warn(
|
|
1462
1462
|
"Format Error - Formatter has returned a type of object, the only valid formatter object return is an instance of Node, the formatter returned:",
|
|
1463
1463
|
e
|
|
1464
1464
|
);
|
|
@@ -1551,7 +1551,7 @@ class Nt extends fe {
|
|
|
1551
1551
|
return this.component ??= new ms(this), this.component;
|
|
1552
1552
|
}
|
|
1553
1553
|
}
|
|
1554
|
-
const
|
|
1554
|
+
const Oo = {
|
|
1555
1555
|
columns: void 0,
|
|
1556
1556
|
cssClass: void 0,
|
|
1557
1557
|
editableTitle: void 0,
|
|
@@ -2049,7 +2049,7 @@ const zo = {
|
|
|
2049
2049
|
return this.parent instanceof ue ? this.parent.getComponent() : !1;
|
|
2050
2050
|
}
|
|
2051
2051
|
};
|
|
2052
|
-
ue.defaultOptionList =
|
|
2052
|
+
ue.defaultOptionList = Oo;
|
|
2053
2053
|
let Re = ue;
|
|
2054
2054
|
class bs {
|
|
2055
2055
|
constructor(e) {
|
|
@@ -2350,7 +2350,7 @@ class pe extends fe {
|
|
|
2350
2350
|
return this.component || (this.component = new bs(this)), this.component;
|
|
2351
2351
|
}
|
|
2352
2352
|
}
|
|
2353
|
-
class
|
|
2353
|
+
class Pr {
|
|
2354
2354
|
constructor(e) {
|
|
2355
2355
|
return this._row = e, new Proxy(this, {
|
|
2356
2356
|
get: (t, i) => typeof i != "string" || typeof t[i] < "u" ? t[i] : t._row.table.componentFunctionBinder.handle(
|
|
@@ -2383,7 +2383,7 @@ class Fr {
|
|
|
2383
2383
|
return this._row;
|
|
2384
2384
|
}
|
|
2385
2385
|
}
|
|
2386
|
-
const
|
|
2386
|
+
const Hr = {
|
|
2387
2387
|
avg: function(n, e, t) {
|
|
2388
2388
|
let i = 0;
|
|
2389
2389
|
const s = typeof t == "object" && "precision" in t ? t.precision : 2;
|
|
@@ -2603,7 +2603,7 @@ const Or = {
|
|
|
2603
2603
|
const i = this.generateRowData(e, t);
|
|
2604
2604
|
this.table.modExists("mutator") && this.table.modules.mutator?.disable();
|
|
2605
2605
|
const s = new pe(i, this, "calc");
|
|
2606
|
-
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
|
|
2606
|
+
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 Pr(s)), s.component), s.generateCells = () => {
|
|
2607
2607
|
const o = [];
|
|
2608
2608
|
this.table.columnManager?.columnsByIndex.forEach((r) => {
|
|
2609
2609
|
if (this.genColumn) {
|
|
@@ -2675,7 +2675,7 @@ const Or = {
|
|
|
2675
2675
|
this.botRow && (this.table.rtl ? this.botElement.style.paddingLeft = e + "px" : this.botElement.style.paddingRight = e + "px");
|
|
2676
2676
|
}
|
|
2677
2677
|
};
|
|
2678
|
-
Qe.moduleName = "columnCalcs", Qe.calculations =
|
|
2678
|
+
Qe.moduleName = "columnCalcs", Qe.calculations = Hr;
|
|
2679
2679
|
let Si = Qe;
|
|
2680
2680
|
class ki extends pe {
|
|
2681
2681
|
constructor(e = {}, t) {
|
|
@@ -2724,9 +2724,9 @@ class ki extends pe {
|
|
|
2724
2724
|
this.element?.parentNode && this.element.parentNode.removeChild(this.element);
|
|
2725
2725
|
}
|
|
2726
2726
|
}
|
|
2727
|
-
const
|
|
2727
|
+
const Ar = M`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-button name="keyboard_arrow_down"></cx-icon-button></span>`, Nr = M`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-button name="keyboard_arrow_right"></cx-icon-button></span>`, Vr = M`<span class="tabulator-data-tree-control tabulator-data-tree-control-placeholder" aria-hidden="true"></span>`, Ir = M`<div class="tabulator-data-tree-branch"></div>`, Br = M`<div class="tabulator-data-tree-branch-empty"></div>`, Wr = M`<cx-button size="small"><cx-icon slot="prefix" name="add" variant="outlined"></cx-icon>
|
|
2728
2728
|
Load More
|
|
2729
|
-
</cx-button>`,
|
|
2729
|
+
</cx-button>`, jr = M`<div class="tabulator-data-tree-loading">Loading...</div>`, Gr = process.env.NODE_ENV === "development", Rs = class Rs extends P {
|
|
2730
2730
|
constructor(e) {
|
|
2731
2731
|
super(e), this.indent = 10, this.field = "", this.collapseEl = null, this.expandEl = null, this.branchEl = null, this.elementField = !1, this.startOpen = function() {
|
|
2732
2732
|
return !1;
|
|
@@ -2764,9 +2764,9 @@ const _r = M`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
|
|
|
2764
2764
|
if (this.table.options.dataTree) {
|
|
2765
2765
|
let e = null;
|
|
2766
2766
|
const t = this.table.options;
|
|
2767
|
-
switch (this.field = t.dataTreeChildField || "_children", this.indent = t.dataTreeChildIndent || 9, this.loadingField = t.dataTreeLoadingField || "loading", this.hasMoreField = t.dataTreeHasMoreField || "hasMore", this.options("movableRows") &&
|
|
2767
|
+
switch (this.field = t.dataTreeChildField || "_children", this.indent = t.dataTreeChildIndent || 9, this.loadingField = t.dataTreeLoadingField || "loading", this.hasMoreField = t.dataTreeHasMoreField || "hasMore", this.options("movableRows") && Gr && console.warn(
|
|
2768
2768
|
"The movableRows option is not available with dataTree enabled, moving of child rows could result in unpredictable behavior"
|
|
2769
|
-
), t.dataTreeBranchElement ? t.dataTreeBranchElement === !0 ? this.branchEl = G(
|
|
2769
|
+
), t.dataTreeBranchElement ? t.dataTreeBranchElement === !0 ? this.branchEl = G(Ir) : typeof t.dataTreeBranchElement == "string" ? (e = document.createElement("div"), e.innerHTML = H(t.dataTreeBranchElement), this.branchEl = e.firstChild) : this.branchEl = t.dataTreeBranchElement : this.branchEl = G(Br), t.dataTreeCollapseElement ? typeof t.dataTreeCollapseElement == "string" ? (e = document.createElement("div"), e.innerHTML = H(t.dataTreeCollapseElement), this.collapseEl = e.firstChild) : this.collapseEl = t.dataTreeCollapseElement : this.collapseEl = G(Ar), t.dataTreeExpandElement ? typeof t.dataTreeExpandElement == "string" ? (e = document.createElement("div"), e.innerHTML = H(t.dataTreeExpandElement), this.expandEl = e.firstChild) : this.expandEl = t.dataTreeExpandElement : this.expandEl = G(Nr), typeof t.dataTreeStartExpanded) {
|
|
2770
2770
|
case "boolean":
|
|
2771
2771
|
this.startOpen = function() {
|
|
2772
2772
|
return t.dataTreeStartExpanded;
|
|
@@ -2866,7 +2866,7 @@ const _r = M`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
|
|
|
2866
2866
|
r.stopPropagation();
|
|
2867
2867
|
});
|
|
2868
2868
|
} else
|
|
2869
|
-
o = G(
|
|
2869
|
+
o = G(Vr);
|
|
2870
2870
|
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);
|
|
2871
2871
|
}
|
|
2872
2872
|
}
|
|
@@ -2928,7 +2928,7 @@ const _r = M`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
|
|
|
2928
2928
|
this.table.rowManager
|
|
2929
2929
|
);
|
|
2930
2930
|
i.create(), i.modules.dataTree.index = e, i.modules.dataTree.parent = t, i.modules.dataTree.children = !1, i.modules.dataTree.open = !0;
|
|
2931
|
-
const s = G(
|
|
2931
|
+
const s = G(Wr);
|
|
2932
2932
|
return i.getElement()?.classList.add("tabulator-tree-level-" + e), i.element.appendChild(s), s.style.setProperty(
|
|
2933
2933
|
"--tabulator-tree-level",
|
|
2934
2934
|
String(e + 1)
|
|
@@ -2957,7 +2957,7 @@ const _r = M`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
|
|
|
2957
2957
|
this.table.rowManager
|
|
2958
2958
|
);
|
|
2959
2959
|
i.create(), i.modules.dataTree.index = e, i.modules.dataTree.parent = t, i.modules.dataTree.children = !1, i.modules.dataTree.open = !0;
|
|
2960
|
-
const s = G(
|
|
2960
|
+
const s = G(jr);
|
|
2961
2961
|
return i.element.appendChild(s), i.getElement()?.classList.add("tabulator-tree-level-" + e), s.style.setProperty(
|
|
2962
2962
|
"--tabulator-tree-level",
|
|
2963
2963
|
String(e + 1)
|
|
@@ -3112,7 +3112,7 @@ const _r = M`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
|
|
|
3112
3112
|
};
|
|
3113
3113
|
Rs.moduleName = "dataTree";
|
|
3114
3114
|
let Ti = Rs;
|
|
3115
|
-
const Qs = process.env.NODE_ENV === "development",
|
|
3115
|
+
const Qs = process.env.NODE_ENV === "development", $r = function(n, e = {}, t) {
|
|
3116
3116
|
const i = e.delimiter ? e.delimiter : ",", s = [], o = [];
|
|
3117
3117
|
n.forEach((a) => {
|
|
3118
3118
|
const l = [];
|
|
@@ -3153,11 +3153,11 @@ const Qs = process.env.NODE_ENV === "development", Wr = function(n, e = {}, t) {
|
|
|
3153
3153
|
let r = s.join(`
|
|
3154
3154
|
`);
|
|
3155
3155
|
e.bom && (r = "\uFEFF" + r), t(r, "text/csv");
|
|
3156
|
-
},
|
|
3156
|
+
}, Ur = function(n, e, t) {
|
|
3157
3157
|
const i = this;
|
|
3158
3158
|
let s = "";
|
|
3159
3159
|
i.modExists("export", !0) && (s = i.modules.export?.generateHTMLTable(n) || ""), t(s, "text/html");
|
|
3160
|
-
}, Zs = process.env.NODE_ENV === "development",
|
|
3160
|
+
}, Zs = process.env.NODE_ENV === "development", Kr = function(n, e, t) {
|
|
3161
3161
|
const i = [];
|
|
3162
3162
|
n.forEach((o) => {
|
|
3163
3163
|
const r = {};
|
|
@@ -3183,7 +3183,7 @@ const Qs = process.env.NODE_ENV === "development", Wr = function(n, e = {}, t) {
|
|
|
3183
3183
|
});
|
|
3184
3184
|
const s = JSON.stringify(i, null, " ");
|
|
3185
3185
|
t(s, "application/json");
|
|
3186
|
-
}, eo = process.env.NODE_ENV === "development",
|
|
3186
|
+
}, eo = process.env.NODE_ENV === "development", qr = function(n, e, t) {
|
|
3187
3187
|
const i = [];
|
|
3188
3188
|
n.forEach((s) => {
|
|
3189
3189
|
const o = {};
|
|
@@ -3208,7 +3208,7 @@ const Qs = process.env.NODE_ENV === "development", Wr = function(n, e = {}, t) {
|
|
|
3208
3208
|
}
|
|
3209
3209
|
}), t(i.join(`
|
|
3210
3210
|
`), "application/x-ndjson");
|
|
3211
|
-
},
|
|
3211
|
+
}, Xr = process.env.NODE_ENV === "development", Jr = function(n, e = {}, t) {
|
|
3212
3212
|
const i = this, s = [], o = [];
|
|
3213
3213
|
let r = {};
|
|
3214
3214
|
const a = e.rowGroupStyles || {
|
|
@@ -3263,7 +3263,7 @@ const Qs = process.env.NODE_ENV === "development", Wr = function(n, e = {}, t) {
|
|
|
3263
3263
|
});
|
|
3264
3264
|
const p = i.dependencyRegistry.lookup("jspdf", "jsPDF");
|
|
3265
3265
|
if (!p) {
|
|
3266
|
-
|
|
3266
|
+
Xr && console.error(
|
|
3267
3267
|
"Download Error - 'pdf' downloader requires jspdf library to be registered"
|
|
3268
3268
|
);
|
|
3269
3269
|
return;
|
|
@@ -3272,10 +3272,10 @@ const Qs = process.env.NODE_ENV === "development", Wr = function(n, e = {}, t) {
|
|
|
3272
3272
|
e.autoTable && (typeof e.autoTable == "function" ? r = e.autoTable(u) || {} : r = e.autoTable), c && (r.didDrawPage = function(f) {
|
|
3273
3273
|
u.text(c, 40, 30);
|
|
3274
3274
|
}), r.head = s, r.body = o, u.autoTable(r), e.documentProcessing && e.documentProcessing(u), t(u.output("arraybuffer"), "application/pdf");
|
|
3275
|
-
},
|
|
3275
|
+
}, Yr = process.env.NODE_ENV === "development", Qr = function(n, e, t) {
|
|
3276
3276
|
const i = this, s = e.sheetName || "Sheet1", o = i.dependencyRegistry.lookup("XLSX");
|
|
3277
3277
|
if (!o?.utils?.book_new) {
|
|
3278
|
-
|
|
3278
|
+
Yr && console.error(
|
|
3279
3279
|
"Download Error - 'xlsx' downloader requires XLSX library to be registered"
|
|
3280
3280
|
);
|
|
3281
3281
|
return;
|
|
@@ -3336,14 +3336,14 @@ const Qs = process.env.NODE_ENV === "development", Wr = function(n, e = {}, t) {
|
|
|
3336
3336
|
}
|
|
3337
3337
|
const u = o.write(r, h);
|
|
3338
3338
|
t(p(u), "application/octet-stream");
|
|
3339
|
-
},
|
|
3340
|
-
csv:
|
|
3341
|
-
html:
|
|
3342
|
-
json:
|
|
3343
|
-
jsonLines:
|
|
3344
|
-
pdf:
|
|
3345
|
-
xlsx:
|
|
3346
|
-
},
|
|
3339
|
+
}, Zr = {
|
|
3340
|
+
csv: $r,
|
|
3341
|
+
html: Ur,
|
|
3342
|
+
json: Kr,
|
|
3343
|
+
jsonLines: qr,
|
|
3344
|
+
pdf: Jr,
|
|
3345
|
+
xlsx: Qr
|
|
3346
|
+
}, en = process.env.NODE_ENV === "development", vt = class vt extends P {
|
|
3347
3347
|
constructor(e) {
|
|
3348
3348
|
super(e), this.registerTableOption(
|
|
3349
3349
|
"downloadEncoder",
|
|
@@ -3370,7 +3370,7 @@ const Qs = process.env.NODE_ENV === "development", Wr = function(n, e = {}, t) {
|
|
|
3370
3370
|
const a = (l, h) => {
|
|
3371
3371
|
o ? o === !0 ? this.triggerDownload(l, h, e, t, !0) : o(l) : this.triggerDownload(l, h, e, t);
|
|
3372
3372
|
};
|
|
3373
|
-
if (typeof e == "function" ? r = e : vt.downloaders[e] ? r = vt.downloaders[e] :
|
|
3373
|
+
if (typeof e == "function" ? r = e : vt.downloaders[e] ? r = vt.downloaders[e] : en && console.warn("Download Error - No such download type found: ", e), r) {
|
|
3374
3374
|
const l = this.generateExportList(s);
|
|
3375
3375
|
r.call(this.table, l, i || {}, a.bind(this));
|
|
3376
3376
|
}
|
|
@@ -3420,9 +3420,9 @@ const Qs = process.env.NODE_ENV === "development", Wr = function(n, e = {}, t) {
|
|
|
3420
3420
|
}
|
|
3421
3421
|
}
|
|
3422
3422
|
};
|
|
3423
|
-
vt.moduleName = "download", vt.downloaders =
|
|
3423
|
+
vt.moduleName = "download", vt.downloaders = Zr;
|
|
3424
3424
|
let Mi = vt;
|
|
3425
|
-
const
|
|
3425
|
+
const tn = function(n, e, t, i, s = {}) {
|
|
3426
3426
|
const o = this, r = n._getSelf().column;
|
|
3427
3427
|
let a;
|
|
3428
3428
|
function l(d) {
|
|
@@ -3456,7 +3456,7 @@ const Qr = function(n, e, t, i, s = {}) {
|
|
|
3456
3456
|
i,
|
|
3457
3457
|
a || {}
|
|
3458
3458
|
) : !1;
|
|
3459
|
-
},
|
|
3459
|
+
}, sn = process.env.NODE_ENV === "development", on = function(n, e, t, i, s) {
|
|
3460
3460
|
const o = s.format, r = s.verticalNavigation || "editor", a = typeof globalThis.window > "u" ? globalThis : window, l = o ? a.DateTime || a.luxon?.DateTime : null;
|
|
3461
3461
|
let h = n.getValue();
|
|
3462
3462
|
const c = document.createElement("input");
|
|
@@ -3489,7 +3489,7 @@ const Qr = function(n, e, t, i, s = {}) {
|
|
|
3489
3489
|
);
|
|
3490
3490
|
} else
|
|
3491
3491
|
c.setAttribute(f, s.elementAttributes[f]);
|
|
3492
|
-
h = h ?? "", o && (l ? h = p(h) :
|
|
3492
|
+
h = h ?? "", o && (l ? h = p(h) : sn && console.error(
|
|
3493
3493
|
"Editor Error - 'date' editor 'format' param is dependent on luxon.js"
|
|
3494
3494
|
)), c.value = String(h), e(() => {
|
|
3495
3495
|
n.getType() === "cell" && (c.focus({ preventScroll: !0 }), c.style.height = "100%", s.selectContents && c.select());
|
|
@@ -3536,7 +3536,7 @@ const Qr = function(n, e, t, i, s = {}) {
|
|
|
3536
3536
|
break;
|
|
3537
3537
|
}
|
|
3538
3538
|
}), c;
|
|
3539
|
-
},
|
|
3539
|
+
}, rn = process.env.NODE_ENV === "development", nn = function(n, e, t, i, s) {
|
|
3540
3540
|
const o = this, r = s.format, a = s.verticalNavigation || "editor", l = r ? o.table.dependencyRegistry.lookup(["luxon", "DateTime"], "DateTime") : null;
|
|
3541
3541
|
let h, c = n.getValue();
|
|
3542
3542
|
const d = document.createElement("input");
|
|
@@ -3550,7 +3550,7 @@ const Qr = function(n, e, t, i, s = {}) {
|
|
|
3550
3550
|
);
|
|
3551
3551
|
} else
|
|
3552
3552
|
d.setAttribute(u, s.elementAttributes[u]);
|
|
3553
|
-
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 &&
|
|
3553
|
+
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 && rn && console.error(
|
|
3554
3554
|
"Editor Error - 'datetime' editor 'format' param is dependent on luxon.js"
|
|
3555
3555
|
), d.value = String(c), e(() => {
|
|
3556
3556
|
n.getType() === "cell" && (d.focus({ preventScroll: !0 }), d.style.height = "100%", s.selectContents && d.select());
|
|
@@ -3634,7 +3634,7 @@ function ws(n, e) {
|
|
|
3634
3634
|
(a.keyCode || 0) > 46 && e.maskAutoFill && r(n.value.length);
|
|
3635
3635
|
}), n.placeholder || (n.placeholder = t), e.maskAutoFill && r(n.value.length);
|
|
3636
3636
|
}
|
|
3637
|
-
const
|
|
3637
|
+
const an = function(n, e, t, i, s) {
|
|
3638
3638
|
let o = n.getValue();
|
|
3639
3639
|
const r = document.createElement("input");
|
|
3640
3640
|
if (r.setAttribute(
|
|
@@ -3671,18 +3671,18 @@ const on = function(n, e, t, i, s) {
|
|
|
3671
3671
|
break;
|
|
3672
3672
|
}
|
|
3673
3673
|
}), s.mask && ws(r, s), r;
|
|
3674
|
-
},
|
|
3675
|
-
let
|
|
3676
|
-
function
|
|
3677
|
-
|
|
3674
|
+
}, ln = process.env.NODE_ENV === "development";
|
|
3675
|
+
let _o = null;
|
|
3676
|
+
function hn(n) {
|
|
3677
|
+
_o = n;
|
|
3678
3678
|
}
|
|
3679
|
-
const
|
|
3679
|
+
const cn = {
|
|
3680
3680
|
/**
|
|
3681
3681
|
* @param explicitRegistry - When provided, that map is used. When omitted, uses the registry set
|
|
3682
3682
|
* by {@link setDefaultFormattersRegistry}
|
|
3683
3683
|
*/
|
|
3684
3684
|
lookupFormatter(n, e) {
|
|
3685
|
-
const t = e ??
|
|
3685
|
+
const t = e ?? _o;
|
|
3686
3686
|
if (!t)
|
|
3687
3687
|
throw new Error(
|
|
3688
3688
|
"defaultFormatterRegistry is not initialized; ensure ./defaults/formatters has finished loading."
|
|
@@ -3690,7 +3690,7 @@ const an = {
|
|
|
3690
3690
|
let i;
|
|
3691
3691
|
switch (typeof n) {
|
|
3692
3692
|
case "string":
|
|
3693
|
-
t[n] ? i = t[n] : (
|
|
3693
|
+
t[n] ? i = t[n] : (ln && console.warn("Formatter Error - No such formatter found: ", n), i = t.plaintext);
|
|
3694
3694
|
break;
|
|
3695
3695
|
case "function":
|
|
3696
3696
|
i = n;
|
|
@@ -3703,9 +3703,9 @@ const an = {
|
|
|
3703
3703
|
}
|
|
3704
3704
|
};
|
|
3705
3705
|
function ni(n, e) {
|
|
3706
|
-
return
|
|
3706
|
+
return cn.lookupFormatter(n, e);
|
|
3707
3707
|
}
|
|
3708
|
-
function
|
|
3708
|
+
function dn(n, e = {}, t) {
|
|
3709
3709
|
let i;
|
|
3710
3710
|
function s(a) {
|
|
3711
3711
|
const l = a.getValue();
|
|
@@ -3724,7 +3724,7 @@ function ln(n, e = {}, t) {
|
|
|
3724
3724
|
const o = e.formatterLookup ? e.formatterLookup(n) : s(n);
|
|
3725
3725
|
return e.paramsLookup && (i = typeof e.paramsLookup == "function" ? e.paramsLookup(o, n) : e.paramsLookup[o]), ni(o).call(this, n, i || {}, t);
|
|
3726
3726
|
}
|
|
3727
|
-
function
|
|
3727
|
+
function un(n, e, t) {
|
|
3728
3728
|
const i = e.delimiter ?? ",";
|
|
3729
3729
|
let s = n.getValue();
|
|
3730
3730
|
const o = this.table;
|
|
@@ -3737,28 +3737,28 @@ function hn(n, e, t) {
|
|
|
3737
3737
|
));
|
|
3738
3738
|
} : r = e.valueMap), Array.isArray(s) ? (r && (s = r(s)), s.join(i)) : s;
|
|
3739
3739
|
}
|
|
3740
|
-
function
|
|
3740
|
+
function pn(n, e, t) {
|
|
3741
3741
|
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>';
|
|
3742
3742
|
}
|
|
3743
|
-
function
|
|
3743
|
+
function fn(n, e, t) {
|
|
3744
3744
|
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>';
|
|
3745
3745
|
}
|
|
3746
|
-
function
|
|
3746
|
+
function gn(n, e, t) {
|
|
3747
3747
|
const i = n.getContentElement?.() ?? n.getElement(), s = n.getValue();
|
|
3748
|
-
return i && (
|
|
3748
|
+
return i && (mn(s) ? i.style.backgroundColor = s : i.style.backgroundColor = ""), "";
|
|
3749
3749
|
}
|
|
3750
|
-
function
|
|
3750
|
+
function mn(n) {
|
|
3751
3751
|
return !n || typeof n != "string" ? !1 : /^(#[0-9A-Fa-f]{3,8}|rgb\(|rgba\(|hsl\(|hsla\(|[a-z]+)$/i.test(n.trim());
|
|
3752
3752
|
}
|
|
3753
|
-
const
|
|
3754
|
-
function
|
|
3753
|
+
const bn = M`<span style="display: inline-flex; align-items: center;"></span>`;
|
|
3754
|
+
function wn({
|
|
3755
3755
|
spacing: n,
|
|
3756
3756
|
style: e
|
|
3757
3757
|
}) {
|
|
3758
|
-
const t = G(
|
|
3758
|
+
const t = G(bn);
|
|
3759
3759
|
return n && (t.style.margin = n), e && Object.assign(t.style, e), t;
|
|
3760
3760
|
}
|
|
3761
|
-
function
|
|
3761
|
+
function vn(n, e, t) {
|
|
3762
3762
|
const i = ni("plaintext"), s = {
|
|
3763
3763
|
style: {
|
|
3764
3764
|
color: "var(--cx-color-neutral-500)",
|
|
@@ -3800,7 +3800,7 @@ function so({
|
|
|
3800
3800
|
}) {
|
|
3801
3801
|
return e.value !== void 0 ? e.value : e.getValue ? e.getValue(n, t) : e.field ? U.retrieveNestedData(i, e.field, t) : n.getValue();
|
|
3802
3802
|
}
|
|
3803
|
-
function
|
|
3803
|
+
function yn(n, e, t) {
|
|
3804
3804
|
if (!e?.elements || !Array.isArray(e.elements) || e.elements.length === 0)
|
|
3805
3805
|
return;
|
|
3806
3806
|
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) => {
|
|
@@ -3816,7 +3816,7 @@ function bn(n, e, t) {
|
|
|
3816
3816
|
return L.valueMap && ($ = L.valueMap[String($)] ?? $), !io($);
|
|
3817
3817
|
});
|
|
3818
3818
|
if (io(r) && !a && e.placeholder !== void 0)
|
|
3819
|
-
return
|
|
3819
|
+
return vn.call(this, n, e, t);
|
|
3820
3820
|
const h = n.getRow(), {
|
|
3821
3821
|
align: c,
|
|
3822
3822
|
block: d,
|
|
@@ -3862,7 +3862,7 @@ function bn(n, e, t) {
|
|
|
3862
3862
|
}
|
|
3863
3863
|
if (R == null)
|
|
3864
3864
|
return;
|
|
3865
|
-
const F =
|
|
3865
|
+
const F = wn({
|
|
3866
3866
|
spacing: L.spacing,
|
|
3867
3867
|
style: L.style
|
|
3868
3868
|
});
|
|
@@ -3878,14 +3878,14 @@ function bn(n, e, t) {
|
|
|
3878
3878
|
return typeof $ == "string" ? m.textContent = $ : m.appendChild($.cloneNode(!0)), [z, m];
|
|
3879
3879
|
}).forEach((L) => S.appendChild(L)), S);
|
|
3880
3880
|
}
|
|
3881
|
-
const
|
|
3882
|
-
function
|
|
3881
|
+
const Cn = process.env.NODE_ENV === "development";
|
|
3882
|
+
function En(n, e, t) {
|
|
3883
3883
|
const i = this.table.dependencyRegistry.lookup(
|
|
3884
3884
|
["luxon", "DateTime"],
|
|
3885
3885
|
"DateTime"
|
|
3886
3886
|
), s = e.inputFormat || "yyyy-MM-dd HH:mm:ss", o = e.outputFormat || "dd/MM/yyyy HH:mm:ss", r = e.invalidPlaceholder ?? "", a = n.getValue();
|
|
3887
3887
|
if (i == null)
|
|
3888
|
-
return
|
|
3888
|
+
return Cn && console.error(
|
|
3889
3889
|
"Format Error - 'datetime' formatter is dependent on luxon.js"
|
|
3890
3890
|
), a;
|
|
3891
3891
|
{
|
|
@@ -3893,14 +3893,14 @@ function vn(n, e, t) {
|
|
|
3893
3893
|
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;
|
|
3894
3894
|
}
|
|
3895
3895
|
}
|
|
3896
|
-
const
|
|
3897
|
-
function
|
|
3896
|
+
const xn = process.env.NODE_ENV === "development";
|
|
3897
|
+
function Rn(n, e, t) {
|
|
3898
3898
|
const i = this.table.dependencyRegistry.lookup(
|
|
3899
3899
|
["luxon", "DateTime"],
|
|
3900
3900
|
"DateTime"
|
|
3901
3901
|
), 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();
|
|
3902
3902
|
if (i == null)
|
|
3903
|
-
return
|
|
3903
|
+
return xn && console.error(
|
|
3904
3904
|
"Format Error - 'datetimediff' formatter is dependent on luxon.js"
|
|
3905
3905
|
), o;
|
|
3906
3906
|
{
|
|
@@ -3909,20 +3909,20 @@ function Cn(n, e, t) {
|
|
|
3909
3909
|
return i.isDateTime(h) ? d = h : s === "iso" ? d = i.fromISO(String(h)) : d = i.fromFormat(String(h), s), d.isValid ? l ? d.diff(c, a).toHuman() + (r ? " " + r : "") : Number.parseInt(String(d.diff(c, a)[a]), 10) + (r ? " " + r : "") : o === !0 ? h : typeof o == "function" ? o(h) : o;
|
|
3910
3910
|
}
|
|
3911
3911
|
}
|
|
3912
|
-
function
|
|
3912
|
+
function Sn(n, e, t) {
|
|
3913
3913
|
const i = n.getElement();
|
|
3914
3914
|
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>";
|
|
3915
3915
|
}
|
|
3916
|
-
function
|
|
3916
|
+
function kn(n, e, t) {
|
|
3917
3917
|
return n.getValue();
|
|
3918
3918
|
}
|
|
3919
|
-
const
|
|
3920
|
-
function
|
|
3919
|
+
const Tn = M`<cx-icon></cx-icon>`;
|
|
3920
|
+
function Mn(n, e) {
|
|
3921
3921
|
const t = n.getValue(), i = e ?? {};
|
|
3922
3922
|
let s;
|
|
3923
3923
|
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)
|
|
3924
3924
|
return;
|
|
3925
|
-
const o = G(
|
|
3925
|
+
const o = G(Tn);
|
|
3926
3926
|
if (o.name = s, i.size !== void 0)
|
|
3927
3927
|
switch (typeof i.size) {
|
|
3928
3928
|
case "number":
|
|
@@ -3934,12 +3934,12 @@ function Sn(n, e) {
|
|
|
3934
3934
|
}
|
|
3935
3935
|
return i.class && (o.className = i.class), i.style && Object.assign(o.style, i.style), o;
|
|
3936
3936
|
}
|
|
3937
|
-
const
|
|
3938
|
-
function
|
|
3937
|
+
const Dn = M`<div style="display: flex; align-items: center; justify-content: center;"><img style="max-width: 100%; max-height: 100%; object-fit: cover;"></div>`;
|
|
3938
|
+
function Ln(n, e) {
|
|
3939
3939
|
let t = n.getValue();
|
|
3940
3940
|
if (!t)
|
|
3941
3941
|
return null;
|
|
3942
|
-
const i = G(
|
|
3942
|
+
const i = G(Dn), s = i.querySelector("img"), o = e ?? {};
|
|
3943
3943
|
switch (o.urlPrefix && (t = o.urlPrefix + n.getValue()), o.urlSuffix && (t = t + o.urlSuffix), s.setAttribute("src", String(t)), typeof o.height) {
|
|
3944
3944
|
case "number":
|
|
3945
3945
|
i.style.height = o.height + "px";
|
|
@@ -3960,8 +3960,8 @@ function Tn(n, e) {
|
|
|
3960
3960
|
n.getRow()?.normalizeHeight();
|
|
3961
3961
|
}), i;
|
|
3962
3962
|
}
|
|
3963
|
-
const
|
|
3964
|
-
function
|
|
3963
|
+
const zn = process.env.NODE_ENV === "development";
|
|
3964
|
+
function Fn(n, e, t) {
|
|
3965
3965
|
const {
|
|
3966
3966
|
indent: i = " ",
|
|
3967
3967
|
multiline: s = !0,
|
|
@@ -3974,11 +3974,11 @@ function Dn(n, e, t) {
|
|
|
3974
3974
|
try {
|
|
3975
3975
|
return JSON.stringify(r, o, i);
|
|
3976
3976
|
} catch (a) {
|
|
3977
|
-
return
|
|
3977
|
+
return zn && console.warn("JSON Format Error - Failed to format value", a), String(r);
|
|
3978
3978
|
}
|
|
3979
3979
|
}
|
|
3980
|
-
const
|
|
3981
|
-
function
|
|
3980
|
+
const On = process.env.NODE_ENV === "development";
|
|
3981
|
+
function _n(n, e, t) {
|
|
3982
3982
|
let i = n.getValue();
|
|
3983
3983
|
const s = e.urlPrefix || "";
|
|
3984
3984
|
let o = e.download, r = i;
|
|
@@ -4018,16 +4018,16 @@ function zn(n, e, t) {
|
|
|
4018
4018
|
break;
|
|
4019
4019
|
}
|
|
4020
4020
|
const c = String(s + i), d = document.createElement("a");
|
|
4021
|
-
return d.href = c, ["http:", "https:", "mailto:", "tel:", ""].includes(d.protocol) || c.startsWith("#") ? a.setAttribute("href", c) : (
|
|
4021
|
+
return d.href = c, ["http:", "https:", "mailto:", "tel:", ""].includes(d.protocol) || c.startsWith("#") ? a.setAttribute("href", c) : (On && 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 = ei(H(r)), a;
|
|
4022
4022
|
} else
|
|
4023
4023
|
return " ";
|
|
4024
4024
|
}
|
|
4025
|
-
const
|
|
4026
|
-
function
|
|
4025
|
+
const Pn = process.env.NODE_ENV === "development";
|
|
4026
|
+
function Hn(n, e, t) {
|
|
4027
4027
|
const i = n.getValue();
|
|
4028
|
-
return !e || typeof e != "object" && typeof e != "function" || e[i] === void 0 || e[i] === null ? (
|
|
4028
|
+
return !e || typeof e != "object" && typeof e != "function" || e[i] === void 0 || e[i] === null ? (Pn && console.warn("Missing display value for " + i), i) : e[i];
|
|
4029
4029
|
}
|
|
4030
|
-
function
|
|
4030
|
+
function An(n, e, t) {
|
|
4031
4031
|
let i = parseFloat(n.getValue()), s = "", o, r, a, l;
|
|
4032
4032
|
const h = e.decimal || ".", c = e.thousand || ",", d = e.negativeSign || "-", p = e.symbol || "", u = !!e.symbolAfter, f = typeof e.precision < "u" ? e.precision : 2;
|
|
4033
4033
|
if (isNaN(i))
|
|
@@ -4039,15 +4039,15 @@ function _n(n, e, t) {
|
|
|
4039
4039
|
r = r.replace(a, "$1" + c + "$2");
|
|
4040
4040
|
return l = r + w, e.negativeSign === !0 ? (l = "(" + l + ")", u ? l + p : p + l) : u ? s + l + p : s + p + l;
|
|
4041
4041
|
}
|
|
4042
|
-
const
|
|
4043
|
-
function
|
|
4042
|
+
const Nn = M`<cx-format-number></cx-format-number>`;
|
|
4043
|
+
function Vn(n, e) {
|
|
4044
4044
|
const t = n.getValue();
|
|
4045
4045
|
if (t == null || t === "")
|
|
4046
4046
|
return;
|
|
4047
4047
|
const i = Number(t);
|
|
4048
4048
|
if (Number.isNaN(i))
|
|
4049
4049
|
return;
|
|
4050
|
-
const s = e ?? {}, o = G(
|
|
4050
|
+
const s = e ?? {}, o = G(Nn);
|
|
4051
4051
|
o.value = i;
|
|
4052
4052
|
for (const r of Object.keys(s)) {
|
|
4053
4053
|
const a = s[r];
|
|
@@ -4055,14 +4055,14 @@ function Hn(n, e) {
|
|
|
4055
4055
|
}
|
|
4056
4056
|
return o;
|
|
4057
4057
|
}
|
|
4058
|
-
function
|
|
4058
|
+
function In(n, e) {
|
|
4059
4059
|
let t = ei(H(ps(n.getValue())));
|
|
4060
4060
|
const i = e ?? {};
|
|
4061
4061
|
i.prefix && (t = i.prefix + t), i.suffix && (t = t + i.suffix);
|
|
4062
4062
|
const s = M`<cx-line-clamp lines="1"><span style=${ut(i.style ?? {})}>${t}</span></cx-line-clamp>`;
|
|
4063
4063
|
return G(s);
|
|
4064
4064
|
}
|
|
4065
|
-
function
|
|
4065
|
+
function Bn(n, e = {}, t) {
|
|
4066
4066
|
const i = H(n.getValue()) || 0, s = n.getElement(), o = e.max ? e.max : 100, r = e.min ? e.min : 0, a = e.legendAlign ? e.legendAlign : "center";
|
|
4067
4067
|
let l, h, c = !1, d;
|
|
4068
4068
|
l = parseFloat(String(i)) <= o ? parseFloat(String(i)) : o, l = parseFloat(String(l)) >= r ? parseFloat(String(l)) : r;
|
|
@@ -4141,13 +4141,13 @@ function Nn(n, e = {}, t) {
|
|
|
4141
4141
|
E && (E.appendChild(f), f.appendChild(u), c && w && f.appendChild(w));
|
|
4142
4142
|
}), "";
|
|
4143
4143
|
}
|
|
4144
|
-
function
|
|
4144
|
+
function Wn(n, e = {}, t) {
|
|
4145
4145
|
const i = document.createElement("span"), s = n.getRow(), o = n.getTable();
|
|
4146
4146
|
return s.watchPosition((r) => {
|
|
4147
4147
|
e.relativeToPage && o.modules.page && (r += o.modules.page.getPageSize() * (o.modules.page.getPage() - 1)), i.innerText = String(r);
|
|
4148
4148
|
}), i;
|
|
4149
4149
|
}
|
|
4150
|
-
function
|
|
4150
|
+
function jn(n, e, t) {
|
|
4151
4151
|
let i = n.getValue();
|
|
4152
4152
|
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 "/>';
|
|
4153
4153
|
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";
|
|
@@ -4159,8 +4159,8 @@ function In(n, e, t) {
|
|
|
4159
4159
|
}
|
|
4160
4160
|
return o && (o.style.whiteSpace = "nowrap", o.style.overflow = "hidden", o.style.textOverflow = "ellipsis"), s && s.setAttribute("aria-label", String(i)), a;
|
|
4161
4161
|
}
|
|
4162
|
-
const
|
|
4163
|
-
function
|
|
4162
|
+
const Gn = M`<cx-tag></cx-tag>`;
|
|
4163
|
+
function $n(n, e) {
|
|
4164
4164
|
const t = n.getValue();
|
|
4165
4165
|
if (t == null || t === "")
|
|
4166
4166
|
return;
|
|
@@ -4169,26 +4169,26 @@ function Wn(n, e) {
|
|
|
4169
4169
|
removable: !1,
|
|
4170
4170
|
size: "medium",
|
|
4171
4171
|
variant: "neutral"
|
|
4172
|
-
}, s = G(
|
|
4172
|
+
}, s = G(Gn);
|
|
4173
4173
|
return Object.assign(s, i), s.textContent = e?.getTagContent?.(t) ?? e?.tagContentMap?.[t] ?? String(t), s;
|
|
4174
4174
|
}
|
|
4175
|
-
function
|
|
4175
|
+
function Un(n) {
|
|
4176
4176
|
return ei(H(ps(n.getValue())));
|
|
4177
4177
|
}
|
|
4178
|
-
function
|
|
4178
|
+
function Kn(n, e, t) {
|
|
4179
4179
|
const i = n.getValue(), s = n.getElement(), o = e.allowEmpty, r = e.allowTruthy, a = Object.prototype.hasOwnProperty.call(
|
|
4180
4180
|
e,
|
|
4181
4181
|
"trueValue"
|
|
4182
4182
|
), l = (typeof e.tickElement == "string" ? H(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" ? H(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>';
|
|
4183
4183
|
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 || "");
|
|
4184
4184
|
}
|
|
4185
|
-
function
|
|
4185
|
+
function qn(n) {
|
|
4186
4186
|
if (n == null || n === "")
|
|
4187
4187
|
return null;
|
|
4188
4188
|
const e = Number(n);
|
|
4189
4189
|
return Number.isFinite(e) ? e : null;
|
|
4190
4190
|
}
|
|
4191
|
-
function
|
|
4191
|
+
function Xn(n, e) {
|
|
4192
4192
|
const t = e.getValue(), i = e.getRow().getData(), {
|
|
4193
4193
|
getParams: s,
|
|
4194
4194
|
paramsMap: o,
|
|
@@ -4201,17 +4201,17 @@ function Un(n, e) {
|
|
|
4201
4201
|
...c
|
|
4202
4202
|
};
|
|
4203
4203
|
}
|
|
4204
|
-
function
|
|
4204
|
+
function Jn(n) {
|
|
4205
4205
|
const e = {
|
|
4206
4206
|
...n.style ?? {}
|
|
4207
4207
|
};
|
|
4208
4208
|
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;
|
|
4209
4209
|
}
|
|
4210
|
-
function
|
|
4211
|
-
const t =
|
|
4210
|
+
function Yn(n, e) {
|
|
4211
|
+
const t = Xn(e ?? {}, n), i = qn(n.getValue()), s = Jn(t);
|
|
4212
4212
|
return G(M`<cx-format-time .duration=${i} display-style=${Be(t.displayStyle)} input-unit=${Be(t.inputUnit)} locale=${Be(t.locale)} placeholder=${Be(t.placeholder)} units-format=${Be(t.unitsFormat)} style=${ut(s)}></cx-format-time>`);
|
|
4213
4213
|
}
|
|
4214
|
-
function
|
|
4214
|
+
function Qn(n, e, t) {
|
|
4215
4215
|
const i = e.size || 15, s = i + "px", o = Object.prototype.hasOwnProperty.call(
|
|
4216
4216
|
e,
|
|
4217
4217
|
"onValue"
|
|
@@ -4229,12 +4229,12 @@ function Xn(n, e, t) {
|
|
|
4229
4229
|
const c = document.createElement("div");
|
|
4230
4230
|
return c.classList.add("tabulator-toggle-switch"), c.style.height = s, c.style.width = s, c.style.borderRadius = s, h.appendChild(c), h;
|
|
4231
4231
|
}
|
|
4232
|
-
const
|
|
4233
|
-
function
|
|
4232
|
+
const Zn = M`<span class="tabulator-traffic-light-container"><span class="tabulator-traffic-light"></span><span class="tabulator-traffic-light-text"></span></span>`;
|
|
4233
|
+
function ea(n, e, t, i) {
|
|
4234
4234
|
const s = n.getValue();
|
|
4235
4235
|
if (s == null || s === "")
|
|
4236
4236
|
return;
|
|
4237
|
-
const o = G(
|
|
4237
|
+
const o = G(Zn), r = e?.getColor?.(s) ?? e?.colorMap?.[s];
|
|
4238
4238
|
if (r) {
|
|
4239
4239
|
const l = o.querySelector(
|
|
4240
4240
|
".tabulator-traffic-light"
|
|
@@ -4246,13 +4246,13 @@ function Yn(n, e, t, i) {
|
|
|
4246
4246
|
);
|
|
4247
4247
|
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;
|
|
4248
4248
|
}
|
|
4249
|
-
function
|
|
4249
|
+
function ta(n, e) {
|
|
4250
4250
|
const t = n.getValue();
|
|
4251
4251
|
if (t == null || t === "")
|
|
4252
4252
|
return;
|
|
4253
4253
|
const i = e ?? {};
|
|
4254
4254
|
let s;
|
|
4255
|
-
i.getVariant && (s = i.getVariant(t)), !s && i.variantMap && (s = i.variantMap[t]), !s && i.variant && (s = i.variant), s ??=
|
|
4255
|
+
i.getVariant && (s = i.getVariant(t)), !s && i.variantMap && (s = i.variantMap[t]), !s && i.variant && (s = i.variant), s ??= sr.Body1;
|
|
4256
4256
|
const o = M`<cx-line-clamp lines="1"><cx-typography style=${ut(i.style ?? {})}></cx-typography></cx-line-clamp>`, r = G(o), a = r.querySelector(
|
|
4257
4257
|
"cx-typography"
|
|
4258
4258
|
);
|
|
@@ -4260,37 +4260,37 @@ function Qn(n, e) {
|
|
|
4260
4260
|
let l = String(t);
|
|
4261
4261
|
return i.prefix && (l = i.prefix + l), i.suffix && (l = l + i.suffix), a.textContent = l, r;
|
|
4262
4262
|
}
|
|
4263
|
-
const
|
|
4264
|
-
adaptable:
|
|
4265
|
-
array:
|
|
4266
|
-
buttonCross:
|
|
4267
|
-
buttonTick:
|
|
4268
|
-
color:
|
|
4269
|
-
composite:
|
|
4270
|
-
datetime:
|
|
4271
|
-
datetimediff:
|
|
4272
|
-
handle:
|
|
4273
|
-
html:
|
|
4274
|
-
icon:
|
|
4275
|
-
image:
|
|
4276
|
-
json:
|
|
4277
|
-
link:
|
|
4278
|
-
lookup:
|
|
4279
|
-
money:
|
|
4280
|
-
number:
|
|
4281
|
-
plaintext:
|
|
4282
|
-
progress:
|
|
4283
|
-
rownum:
|
|
4284
|
-
star:
|
|
4285
|
-
tag:
|
|
4286
|
-
textarea:
|
|
4287
|
-
tickCross:
|
|
4288
|
-
time:
|
|
4289
|
-
toggle:
|
|
4290
|
-
traffic:
|
|
4291
|
-
typography:
|
|
4263
|
+
const Po = {
|
|
4264
|
+
adaptable: dn,
|
|
4265
|
+
array: un,
|
|
4266
|
+
buttonCross: pn,
|
|
4267
|
+
buttonTick: fn,
|
|
4268
|
+
color: gn,
|
|
4269
|
+
composite: yn,
|
|
4270
|
+
datetime: En,
|
|
4271
|
+
datetimediff: Rn,
|
|
4272
|
+
handle: Sn,
|
|
4273
|
+
html: kn,
|
|
4274
|
+
icon: Mn,
|
|
4275
|
+
image: Ln,
|
|
4276
|
+
json: Fn,
|
|
4277
|
+
link: _n,
|
|
4278
|
+
lookup: Hn,
|
|
4279
|
+
money: An,
|
|
4280
|
+
number: Vn,
|
|
4281
|
+
plaintext: In,
|
|
4282
|
+
progress: Bn,
|
|
4283
|
+
rownum: Wn,
|
|
4284
|
+
star: jn,
|
|
4285
|
+
tag: $n,
|
|
4286
|
+
textarea: Un,
|
|
4287
|
+
tickCross: Kn,
|
|
4288
|
+
time: Yn,
|
|
4289
|
+
toggle: Qn,
|
|
4290
|
+
traffic: ea,
|
|
4291
|
+
typography: ta
|
|
4292
4292
|
};
|
|
4293
|
-
|
|
4293
|
+
hn(Po);
|
|
4294
4294
|
const Ze = class Ze extends P {
|
|
4295
4295
|
constructor(e) {
|
|
4296
4296
|
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");
|
|
@@ -4393,10 +4393,10 @@ const Ze = class Ze extends P {
|
|
|
4393
4393
|
return this.formatValue(e);
|
|
4394
4394
|
}
|
|
4395
4395
|
};
|
|
4396
|
-
Ze.moduleName = "format", Ze.formatters =
|
|
4396
|
+
Ze.moduleName = "format", Ze.formatters = Po;
|
|
4397
4397
|
let qt = Ze;
|
|
4398
|
-
const Ne = process.env.NODE_ENV === "development",
|
|
4399
|
-
class
|
|
4398
|
+
const Ne = process.env.NODE_ENV === "development", ia = M`<cx-option></cx-option>`, sa = M`<cx-divider></cx-divider>`;
|
|
4399
|
+
class oa {
|
|
4400
4400
|
constructor(e, t, i, s, o, r) {
|
|
4401
4401
|
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 = {
|
|
4402
4402
|
cancel: o,
|
|
@@ -4557,7 +4557,7 @@ class ta {
|
|
|
4557
4557
|
}
|
|
4558
4558
|
async _ajaxRequest(e, t) {
|
|
4559
4559
|
const { ajaxResponse: i, filterRemote: s } = this.params, o = s ? { term: t } : {};
|
|
4560
|
-
e =
|
|
4560
|
+
e = Lo(e, {}, o);
|
|
4561
4561
|
let r = [];
|
|
4562
4562
|
try {
|
|
4563
4563
|
if (!this.fetchApi)
|
|
@@ -4765,7 +4765,7 @@ class ta {
|
|
|
4765
4765
|
}
|
|
4766
4766
|
}
|
|
4767
4767
|
_appendDivider() {
|
|
4768
|
-
const e = G(
|
|
4768
|
+
const e = G(sa);
|
|
4769
4769
|
this.input.appendChild(e);
|
|
4770
4770
|
}
|
|
4771
4771
|
_appendSectionLabel(e) {
|
|
@@ -4775,7 +4775,7 @@ class ta {
|
|
|
4775
4775
|
_appendLeafOption(e) {
|
|
4776
4776
|
let t = e.element;
|
|
4777
4777
|
if (!t) {
|
|
4778
|
-
t = G(
|
|
4778
|
+
t = G(ia), t.getTextLabel = () => e.label, t.value = this.sanitizeValue(e.value);
|
|
4779
4779
|
const i = this.formatItemLabel(e, t);
|
|
4780
4780
|
i && typeof i == "object" && "nodeType" in i && i instanceof HTMLElement ? t.appendChild(i) : t.innerHTML = H(String(i || ""));
|
|
4781
4781
|
const s = this.params.fallbackOption?.prefix;
|
|
@@ -4911,8 +4911,8 @@ class ta {
|
|
|
4911
4911
|
}
|
|
4912
4912
|
}
|
|
4913
4913
|
}
|
|
4914
|
-
const
|
|
4915
|
-
return new
|
|
4914
|
+
const ra = function(n, e, t, i, s) {
|
|
4915
|
+
return new oa(
|
|
4916
4916
|
// eslint-disable-next-line no-invalid-this
|
|
4917
4917
|
this,
|
|
4918
4918
|
n instanceof ms ? n._getSelf() : n,
|
|
@@ -4921,7 +4921,7 @@ const ia = function(n, e, t, i, s) {
|
|
|
4921
4921
|
i,
|
|
4922
4922
|
s
|
|
4923
4923
|
).input;
|
|
4924
|
-
},
|
|
4924
|
+
}, na = function(n, e, t, i, s) {
|
|
4925
4925
|
let o = n.getValue();
|
|
4926
4926
|
const r = s.verticalNavigation || "editor", a = document.createElement("input");
|
|
4927
4927
|
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")
|
|
@@ -4970,7 +4970,7 @@ const ia = function(n, e, t, i, s) {
|
|
|
4970
4970
|
break;
|
|
4971
4971
|
}
|
|
4972
4972
|
}), s.mask && ws(a, s), a;
|
|
4973
|
-
},
|
|
4973
|
+
}, aa = function(n, e, t, i, s) {
|
|
4974
4974
|
const o = n.getElement();
|
|
4975
4975
|
if (!o)
|
|
4976
4976
|
return !1;
|
|
@@ -5024,7 +5024,7 @@ const ia = function(n, e, t, i, s) {
|
|
|
5024
5024
|
}), o.addEventListener("blur", () => {
|
|
5025
5025
|
i();
|
|
5026
5026
|
}), p;
|
|
5027
|
-
},
|
|
5027
|
+
}, la = function(n, e, t, i, s) {
|
|
5028
5028
|
let o = n.getValue();
|
|
5029
5029
|
const r = document.createElement("input");
|
|
5030
5030
|
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")
|
|
@@ -5056,7 +5056,7 @@ const ia = function(n, e, t, i, s) {
|
|
|
5056
5056
|
break;
|
|
5057
5057
|
}
|
|
5058
5058
|
}), r;
|
|
5059
|
-
},
|
|
5059
|
+
}, ha = function(n, e, t, i, s) {
|
|
5060
5060
|
const o = this, r = n.getElement();
|
|
5061
5061
|
if (!r)
|
|
5062
5062
|
return !1;
|
|
@@ -5127,7 +5127,7 @@ const ia = function(n, e, t, i, s) {
|
|
|
5127
5127
|
break;
|
|
5128
5128
|
}
|
|
5129
5129
|
}), d;
|
|
5130
|
-
},
|
|
5130
|
+
}, ca = function(n, e, t, i, s) {
|
|
5131
5131
|
let o = n.getValue();
|
|
5132
5132
|
const r = s.verticalNavigation || "hybrid", a = String(o ?? ""), l = document.createElement("textarea");
|
|
5133
5133
|
let h = 0;
|
|
@@ -5173,7 +5173,7 @@ const ia = function(n, e, t, i, s) {
|
|
|
5173
5173
|
break;
|
|
5174
5174
|
}
|
|
5175
5175
|
}), s.mask && ws(l, s), l;
|
|
5176
|
-
},
|
|
5176
|
+
}, da = function(n, e, t, i, s) {
|
|
5177
5177
|
const o = n.getValue(), r = document.createElement("input"), a = s.tristate, l = typeof s.indeterminateValue > "u" ? null : s.indeterminateValue;
|
|
5178
5178
|
let h = !1;
|
|
5179
5179
|
const c = Object.keys(s).includes("trueValue"), d = Object.keys(s).includes("falseValue");
|
|
@@ -5203,7 +5203,7 @@ const ia = function(n, e, t, i, s) {
|
|
|
5203
5203
|
}), r.addEventListener("keydown", (f) => {
|
|
5204
5204
|
f.keyCode === 13 && t(u(!1)), f.keyCode === 27 && i();
|
|
5205
5205
|
}), r;
|
|
5206
|
-
},
|
|
5206
|
+
}, ua = process.env.NODE_ENV === "development", pa = function(n, e, t, i, s) {
|
|
5207
5207
|
const o = s.format, r = s.verticalNavigation || "editor", a = o ? typeof window < "u" && window.DateTime || typeof globalThis < "u" && globalThis.luxon?.DateTime : null;
|
|
5208
5208
|
let l, h = n.getValue();
|
|
5209
5209
|
const c = document.createElement("input");
|
|
@@ -5218,7 +5218,7 @@ const ia = function(n, e, t, i, s) {
|
|
|
5218
5218
|
} else
|
|
5219
5219
|
c.setAttribute(f, s.elementAttributes[f]);
|
|
5220
5220
|
const d = String(h ?? "");
|
|
5221
|
-
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 &&
|
|
5221
|
+
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 && ua && console.error(
|
|
5222
5222
|
"Editor Error - 'time' editor 'format' param is dependent on luxon.js"
|
|
5223
5223
|
);
|
|
5224
5224
|
const p = String(h ?? "");
|
|
@@ -5268,20 +5268,20 @@ const ia = function(n, e, t, i, s) {
|
|
|
5268
5268
|
break;
|
|
5269
5269
|
}
|
|
5270
5270
|
}), c;
|
|
5271
|
-
},
|
|
5272
|
-
adaptable:
|
|
5273
|
-
date:
|
|
5274
|
-
datetime:
|
|
5275
|
-
input:
|
|
5276
|
-
list:
|
|
5277
|
-
number:
|
|
5278
|
-
progress:
|
|
5279
|
-
range:
|
|
5280
|
-
star:
|
|
5281
|
-
textarea:
|
|
5282
|
-
tickCross:
|
|
5283
|
-
time:
|
|
5284
|
-
}, It = process.env.NODE_ENV === "development",
|
|
5271
|
+
}, fa = {
|
|
5272
|
+
adaptable: tn,
|
|
5273
|
+
date: on,
|
|
5274
|
+
datetime: nn,
|
|
5275
|
+
input: an,
|
|
5276
|
+
list: ra,
|
|
5277
|
+
number: na,
|
|
5278
|
+
progress: aa,
|
|
5279
|
+
range: la,
|
|
5280
|
+
star: ha,
|
|
5281
|
+
textarea: ca,
|
|
5282
|
+
tickCross: da,
|
|
5283
|
+
time: pa
|
|
5284
|
+
}, It = process.env.NODE_ENV === "development", Ho = "tabulator-edit-list-trigger", ga = "tabulator-edit-list-trigger-caret", ma = M`<button aria-label="Open list editor" class=${Ho} tabindex="-1" type="button"><cx-icon aria-hidden="true" class=${ga} name="arrow_drop_down"></cx-icon></button>`, Ft = class Ft extends P {
|
|
5285
5285
|
constructor(e) {
|
|
5286
5286
|
super(e), this.currentCell = !1, this.mouseClick = !1, this.recursionBlock = !1, this.invalidEdit = !1, this.editedCells = [], this.convertEmptyValues = !1, this.editors = Ft.editors, this.registerTableOption("editTriggerEvent", "focus"), this.registerTableOption("editorEmptyValue"), this.registerTableOption(
|
|
5287
5287
|
"editorEmptyValueFunc",
|
|
@@ -5538,10 +5538,10 @@ const ia = function(n, e, t, i, s) {
|
|
|
5538
5538
|
if (e.column.definition.editor !== "list")
|
|
5539
5539
|
return;
|
|
5540
5540
|
const t = e.getElement(!0);
|
|
5541
|
-
if (!t || t.classList.contains("tabulator-editing") || t.querySelector(`.${
|
|
5541
|
+
if (!t || t.classList.contains("tabulator-editing") || t.querySelector(`.${Ho}`))
|
|
5542
5542
|
return;
|
|
5543
5543
|
const i = G(
|
|
5544
|
-
|
|
5544
|
+
ma
|
|
5545
5545
|
);
|
|
5546
5546
|
i.addEventListener("mousedown", (s) => {
|
|
5547
5547
|
s.preventDefault(), s.stopPropagation();
|
|
@@ -5682,9 +5682,9 @@ const ia = function(n, e, t, i, s) {
|
|
|
5682
5682
|
t > -1 && this.editedCells.splice(t, 1);
|
|
5683
5683
|
}
|
|
5684
5684
|
};
|
|
5685
|
-
Ft.moduleName = "edit", Ft.editors =
|
|
5685
|
+
Ft.moduleName = "edit", Ft.editors = fa;
|
|
5686
5686
|
let Di = Ft;
|
|
5687
|
-
const
|
|
5687
|
+
const ba = {}, wa = {
|
|
5688
5688
|
active: function() {
|
|
5689
5689
|
return this.options.pagination ? this.rowManager?.getDisplayRows(
|
|
5690
5690
|
this.rowManager.displayRows.length - 2
|
|
@@ -5710,7 +5710,7 @@ class oo {
|
|
|
5710
5710
|
this.type = e, this.columns = t, this.component = i ?? !1, this.indent = s ?? 0;
|
|
5711
5711
|
}
|
|
5712
5712
|
}
|
|
5713
|
-
const
|
|
5713
|
+
const va = process.env.NODE_ENV === "development", et = class et extends P {
|
|
5714
5714
|
constructor(e) {
|
|
5715
5715
|
super(e), this.config = {}, this.cloneTableStyle = !0, this.colVisProp = "", this.colVisPropAttach = "", this.registerTableOption("htmlOutputConfig", !1), this.registerColumnOption("htmlOutput"), this.registerColumnOption("titleHtmlOutput");
|
|
5716
5716
|
}
|
|
@@ -5879,7 +5879,7 @@ const ma = process.env.NODE_ENV === "development", et = class et extends P {
|
|
|
5879
5879
|
"font-weight",
|
|
5880
5880
|
"font-family",
|
|
5881
5881
|
"font-size"
|
|
5882
|
-
]), e.length > 1e3 &&
|
|
5882
|
+
]), e.length > 1e3 && va && console.warn(
|
|
5883
5883
|
"It may take a long time to render an HTML table with more than 1000 rows"
|
|
5884
5884
|
), e.forEach((h, c) => {
|
|
5885
5885
|
let d;
|
|
@@ -6166,9 +6166,9 @@ const ma = process.env.NODE_ENV === "development", et = class et extends P {
|
|
|
6166
6166
|
}
|
|
6167
6167
|
}
|
|
6168
6168
|
};
|
|
6169
|
-
et.moduleName = "export", et.columnLookups =
|
|
6169
|
+
et.moduleName = "export", et.columnLookups = ba, et.rowLookups = wa;
|
|
6170
6170
|
let Li = et;
|
|
6171
|
-
const ro = process.env.NODE_ENV === "development",
|
|
6171
|
+
const ro = process.env.NODE_ENV === "development", ya = {
|
|
6172
6172
|
// not equal to
|
|
6173
6173
|
"!=": function(n, e, t, i) {
|
|
6174
6174
|
return e != n;
|
|
@@ -6230,51 +6230,51 @@ const ro = process.env.NODE_ENV === "development", ba = {
|
|
|
6230
6230
|
starts: function(n, e, t, i) {
|
|
6231
6231
|
return n == null ? e === n : e != null ? String(e).toLowerCase().startsWith(n.toLowerCase()) : !1;
|
|
6232
6232
|
}
|
|
6233
|
-
},
|
|
6233
|
+
}, Ca = /<[^>]*>/g;
|
|
6234
6234
|
function ai(n) {
|
|
6235
6235
|
return !!n && typeof n == "object" && !Array.isArray(n) && typeof n != "function";
|
|
6236
6236
|
}
|
|
6237
6237
|
function Xt(n, e, t) {
|
|
6238
6238
|
e != null && (t !== void 0 && e === t || n.push(e));
|
|
6239
6239
|
}
|
|
6240
|
-
function
|
|
6241
|
-
return n == null ? "" : String(n).replace(
|
|
6240
|
+
function Ea(n) {
|
|
6241
|
+
return n == null ? "" : String(n).replace(Ca, "");
|
|
6242
6242
|
}
|
|
6243
|
-
function
|
|
6243
|
+
function ve(n) {
|
|
6244
6244
|
try {
|
|
6245
6245
|
return n();
|
|
6246
6246
|
} catch {
|
|
6247
6247
|
return;
|
|
6248
6248
|
}
|
|
6249
6249
|
}
|
|
6250
|
-
const
|
|
6251
|
-
function
|
|
6250
|
+
const Ao = Symbol("skip-composite-element");
|
|
6251
|
+
function xa(n, e, t, i, s) {
|
|
6252
6252
|
if (typeof n?.getValue == "function")
|
|
6253
|
-
return
|
|
6253
|
+
return Ao;
|
|
6254
6254
|
if (n?.value !== void 0)
|
|
6255
6255
|
return n.value;
|
|
6256
6256
|
const o = n?.field;
|
|
6257
6257
|
return typeof o == "string" && o.length > 0 ? o === e ? t : s ? U.retrieveNestedData(s, o, i) : i[o] : t;
|
|
6258
6258
|
}
|
|
6259
|
-
function
|
|
6260
|
-
return !!(typeof n?.shouldHide == "function" &&
|
|
6259
|
+
function Ra(n, e, t) {
|
|
6260
|
+
return !!(typeof n?.shouldHide == "function" && ve(() => n.shouldHide(e, t)) || n?.hideValues !== void 0 && (Array.isArray(n.hideValues) ? n.hideValues : [n.hideValues]).includes(e) || typeof n?.shouldShow == "function" && !ve(
|
|
6261
6261
|
() => n.shouldShow(e, t)
|
|
6262
6262
|
) || n?.showValues !== void 0 && !(Array.isArray(n.showValues) ? n.showValues : [n.showValues]).includes(e));
|
|
6263
6263
|
}
|
|
6264
|
-
function
|
|
6264
|
+
function Sa(n, e) {
|
|
6265
6265
|
const { formatterParams: t, rawValue: i, rowData: s, separator: o, table: r } = n, a = t?.elements;
|
|
6266
6266
|
if (!Array.isArray(a))
|
|
6267
6267
|
return [];
|
|
6268
6268
|
const l = [];
|
|
6269
6269
|
for (const h of a) {
|
|
6270
|
-
const c =
|
|
6270
|
+
const c = xa(
|
|
6271
6271
|
h,
|
|
6272
6272
|
e,
|
|
6273
6273
|
i,
|
|
6274
6274
|
s,
|
|
6275
6275
|
o
|
|
6276
6276
|
);
|
|
6277
|
-
if (c ===
|
|
6277
|
+
if (c === Ao)
|
|
6278
6278
|
continue;
|
|
6279
6279
|
let d = c;
|
|
6280
6280
|
const p = h?.valueMap;
|
|
@@ -6282,7 +6282,7 @@ function Ea(n, e) {
|
|
|
6282
6282
|
const u = p[String(c)];
|
|
6283
6283
|
u !== void 0 && (d = u);
|
|
6284
6284
|
}
|
|
6285
|
-
if (!
|
|
6285
|
+
if (!Ra(h, d, s) && (d !== c && Xt(l, d, c), h?.formatter !== void 0)) {
|
|
6286
6286
|
const u = vs({
|
|
6287
6287
|
columnField: e,
|
|
6288
6288
|
formatter: h.formatter,
|
|
@@ -6298,14 +6298,14 @@ function Ea(n, e) {
|
|
|
6298
6298
|
}
|
|
6299
6299
|
return l;
|
|
6300
6300
|
}
|
|
6301
|
-
function
|
|
6301
|
+
function ka(n) {
|
|
6302
6302
|
const { formatterParams: e, rawValue: t } = n;
|
|
6303
6303
|
if (!ai(e))
|
|
6304
6304
|
return [];
|
|
6305
6305
|
const i = e[String(t)];
|
|
6306
6306
|
return i == null || i === t ? [] : [i];
|
|
6307
6307
|
}
|
|
6308
|
-
function
|
|
6308
|
+
function Ta(n) {
|
|
6309
6309
|
const { formatterParams: e, rawValue: t, separator: i, table: s } = n;
|
|
6310
6310
|
if (!Array.isArray(t))
|
|
6311
6311
|
return [];
|
|
@@ -6317,18 +6317,18 @@ function Ra(n) {
|
|
|
6317
6317
|
(c) => U.retrieveNestedData(h, l, c)
|
|
6318
6318
|
);
|
|
6319
6319
|
} else if (typeof r == "function") {
|
|
6320
|
-
const l =
|
|
6320
|
+
const l = ve(() => r(t));
|
|
6321
6321
|
Array.isArray(l) && (a = l);
|
|
6322
6322
|
}
|
|
6323
6323
|
return [a.join(o)];
|
|
6324
6324
|
}
|
|
6325
|
-
function
|
|
6325
|
+
function Ma(n) {
|
|
6326
6326
|
const { formatterParams: e, rawValue: t } = n;
|
|
6327
6327
|
if (t == null || t === "")
|
|
6328
6328
|
return [];
|
|
6329
6329
|
const i = [], s = e?.getTagContent;
|
|
6330
6330
|
if (typeof s == "function") {
|
|
6331
|
-
const r =
|
|
6331
|
+
const r = ve(() => s(t));
|
|
6332
6332
|
if (typeof r == "string" && r.length > 0)
|
|
6333
6333
|
return Xt(i, r, t), i;
|
|
6334
6334
|
}
|
|
@@ -6339,7 +6339,7 @@ function Sa(n) {
|
|
|
6339
6339
|
}
|
|
6340
6340
|
return i;
|
|
6341
6341
|
}
|
|
6342
|
-
function
|
|
6342
|
+
function Da(n) {
|
|
6343
6343
|
const { formatterParams: e, rawValue: t, rowData: i, separator: s, table: o } = n;
|
|
6344
6344
|
if (!e)
|
|
6345
6345
|
return [];
|
|
@@ -6350,7 +6350,7 @@ function ka(n) {
|
|
|
6350
6350
|
}
|
|
6351
6351
|
return typeof e.label == "string" && (r = e.label, a = !0), a ? r != null && r !== t ? [r] : [] : [];
|
|
6352
6352
|
}
|
|
6353
|
-
function
|
|
6353
|
+
function La(n) {
|
|
6354
6354
|
const { formatterParams: e, rawValue: t } = n, i = e ?? {}, s = parseFloat(String(t));
|
|
6355
6355
|
if (Number.isNaN(s))
|
|
6356
6356
|
return [];
|
|
@@ -6386,97 +6386,97 @@ function no(n) {
|
|
|
6386
6386
|
n[i] !== void 0 && (e[i] = n[i]);
|
|
6387
6387
|
return e.style === "currency" && e.currency === void 0 && (e.currency = "USD"), e;
|
|
6388
6388
|
}
|
|
6389
|
-
function
|
|
6389
|
+
function za(n) {
|
|
6390
6390
|
if (!n || typeof n != "object")
|
|
6391
|
-
return
|
|
6391
|
+
return ve(() => new Intl.NumberFormat(void 0, no({}))) ?? null;
|
|
6392
6392
|
if (di.has(n))
|
|
6393
6393
|
return di.get(n) ?? null;
|
|
6394
|
-
const e =
|
|
6394
|
+
const e = ve(() => new Intl.NumberFormat(void 0, no(n))) ?? null;
|
|
6395
6395
|
return di.set(n, e), e;
|
|
6396
6396
|
}
|
|
6397
|
-
function
|
|
6397
|
+
function Fa(n) {
|
|
6398
6398
|
const { formatterParams: e, rawValue: t } = n;
|
|
6399
6399
|
if (t == null || t === "")
|
|
6400
6400
|
return [];
|
|
6401
6401
|
const i = Number(t);
|
|
6402
6402
|
if (Number.isNaN(i))
|
|
6403
6403
|
return [];
|
|
6404
|
-
const s =
|
|
6404
|
+
const s = za(e);
|
|
6405
6405
|
if (!s)
|
|
6406
6406
|
return [];
|
|
6407
|
-
const o =
|
|
6407
|
+
const o = ve(() => s.format(i));
|
|
6408
6408
|
return o ? [o] : [];
|
|
6409
6409
|
}
|
|
6410
|
-
function
|
|
6410
|
+
function No(n) {
|
|
6411
6411
|
return n?.dependencyRegistry?.lookup?.(
|
|
6412
6412
|
["luxon", "DateTime"],
|
|
6413
6413
|
"DateTime"
|
|
6414
6414
|
);
|
|
6415
6415
|
}
|
|
6416
|
-
function
|
|
6416
|
+
function Vo(n, e, t) {
|
|
6417
6417
|
return n.isDateTime(e) ? e : t === "iso" ? n.fromISO(String(e)) : n.fromFormat(String(e), t);
|
|
6418
6418
|
}
|
|
6419
6419
|
function Ut(n, e) {
|
|
6420
6420
|
return typeof n == "string" && n.length > 0 && n !== e ? [n] : [];
|
|
6421
6421
|
}
|
|
6422
|
-
function
|
|
6423
|
-
const { formatterParams: e, rawValue: t, table: i } = n, s =
|
|
6422
|
+
function Oa(n) {
|
|
6423
|
+
const { formatterParams: e, rawValue: t, table: i } = n, s = No(i), o = e ?? {}, r = o.invalidPlaceholder ?? "";
|
|
6424
6424
|
if (!s)
|
|
6425
6425
|
return [];
|
|
6426
|
-
const a = o.inputFormat ?? "yyyy-MM-dd HH:mm:ss", l = o.outputFormat ?? "dd/MM/yyyy HH:mm:ss", h =
|
|
6426
|
+
const a = o.inputFormat ?? "yyyy-MM-dd HH:mm:ss", l = o.outputFormat ?? "dd/MM/yyyy HH:mm:ss", h = ve(() => Vo(s, t, a));
|
|
6427
6427
|
if (!h?.isValid)
|
|
6428
6428
|
return Ut(r, t);
|
|
6429
|
-
const c = o.timezone ?
|
|
6429
|
+
const c = o.timezone ? ve(() => h.setZone(o.timezone)) ?? h : h, d = ve(() => c.toFormat(l));
|
|
6430
6430
|
return d ? [d] : [];
|
|
6431
6431
|
}
|
|
6432
|
-
function
|
|
6433
|
-
const { formatterParams: e, rawValue: t, table: i } = n, s =
|
|
6432
|
+
function _a(n) {
|
|
6433
|
+
const { formatterParams: e, rawValue: t, table: i } = n, s = No(i), o = e ?? {}, r = o.invalidPlaceholder ?? "";
|
|
6434
6434
|
if (!s)
|
|
6435
6435
|
return Ut(r, t);
|
|
6436
|
-
const a = o.inputFormat ?? "yyyy-MM-dd HH:mm:ss", l = o.suffix === void 0 || o.suffix === null ? !1 : o.suffix, h = o.unit === void 0 || o.unit === null ? "days" : o.unit, c = o.humanize === void 0 || o.humanize === null ? !1 : o.humanize, d = o.date === void 0 || o.date === null ?
|
|
6436
|
+
const a = o.inputFormat ?? "yyyy-MM-dd HH:mm:ss", l = o.suffix === void 0 || o.suffix === null ? !1 : o.suffix, h = o.unit === void 0 || o.unit === null ? "days" : o.unit, c = o.humanize === void 0 || o.humanize === null ? !1 : o.humanize, d = o.date === void 0 || o.date === null ? ve(() => s.now()) : o.date;
|
|
6437
6437
|
if (!d)
|
|
6438
6438
|
return Ut(r, t);
|
|
6439
|
-
const p =
|
|
6439
|
+
const p = ve(() => Vo(s, t, a));
|
|
6440
6440
|
if (!p?.isValid)
|
|
6441
6441
|
return Ut(r, t);
|
|
6442
|
-
const u =
|
|
6442
|
+
const u = ve(() => c ? p.diff(d, h).toHuman() + (l ? " " + l : "") : Number.parseInt(String(p.diff(d, h)[h]), 10) + (l ? " " + l : ""));
|
|
6443
6443
|
return u != null ? [u] : [];
|
|
6444
6444
|
}
|
|
6445
|
-
function
|
|
6445
|
+
function Pa(n, e) {
|
|
6446
6446
|
if (n == null)
|
|
6447
6447
|
return;
|
|
6448
6448
|
let t = String(n);
|
|
6449
6449
|
const i = e?.prefix, s = e?.suffix;
|
|
6450
6450
|
return typeof i == "string" && i.length > 0 && (t = i + t), typeof s == "string" && s.length > 0 && (t = t + s), t;
|
|
6451
6451
|
}
|
|
6452
|
-
function
|
|
6453
|
-
const { formatterParams: e, rawValue: t } = n, i =
|
|
6452
|
+
function Io(n) {
|
|
6453
|
+
const { formatterParams: e, rawValue: t } = n, i = Pa(t, e);
|
|
6454
6454
|
return i === void 0 || i === String(t) ? [] : [i];
|
|
6455
6455
|
}
|
|
6456
|
-
function
|
|
6457
|
-
return
|
|
6456
|
+
function Ha(n) {
|
|
6457
|
+
return Io(n);
|
|
6458
6458
|
}
|
|
6459
|
-
function
|
|
6459
|
+
function Bo(n) {
|
|
6460
6460
|
if (typeof n.rawValue != "string" || !n.rawValue.includes("<"))
|
|
6461
6461
|
return [];
|
|
6462
|
-
const e =
|
|
6462
|
+
const e = Ea(n.rawValue);
|
|
6463
6463
|
return !e || e === n.rawValue ? [] : [e];
|
|
6464
6464
|
}
|
|
6465
|
-
function
|
|
6466
|
-
return
|
|
6465
|
+
function Aa(n) {
|
|
6466
|
+
return Bo(n);
|
|
6467
6467
|
}
|
|
6468
|
-
function
|
|
6469
|
-
const { formatterParams: e, rawValue: t } = n, i = e ?? {}, s = i.indent ?? " ", o = i.replacer ?? null, r =
|
|
6468
|
+
function Na(n) {
|
|
6469
|
+
const { formatterParams: e, rawValue: t } = n, i = e ?? {}, s = i.indent ?? " ", o = i.replacer ?? null, r = ve(() => JSON.stringify(t, o, s));
|
|
6470
6470
|
return r === void 0 || r === t ? [] : [r];
|
|
6471
6471
|
}
|
|
6472
|
-
function
|
|
6472
|
+
function Va(n, e) {
|
|
6473
6473
|
const { formatterParams: t, rawValue: i, rowData: s, separator: o, table: r } = n, a = t ?? {};
|
|
6474
6474
|
let l;
|
|
6475
6475
|
if (typeof a.formatterLookup == "function") {
|
|
6476
6476
|
const c = {
|
|
6477
6477
|
getData: () => s,
|
|
6478
6478
|
getValue: () => i
|
|
6479
|
-
}, d =
|
|
6479
|
+
}, d = ve(() => a.formatterLookup(c));
|
|
6480
6480
|
typeof d == "string" && (l = d);
|
|
6481
6481
|
} else
|
|
6482
6482
|
switch (typeof i) {
|
|
@@ -6493,7 +6493,7 @@ function Ha(n, e) {
|
|
|
6493
6493
|
if (!l)
|
|
6494
6494
|
return [];
|
|
6495
6495
|
let h;
|
|
6496
|
-
return a.paramsLookup && (typeof a.paramsLookup == "function" ? h =
|
|
6496
|
+
return a.paramsLookup && (typeof a.paramsLookup == "function" ? h = ve(() => a.paramsLookup(l, {
|
|
6497
6497
|
getData: () => s,
|
|
6498
6498
|
getValue: () => i
|
|
6499
6499
|
})) : ai(a.paramsLookup) && (h = a.paramsLookup[l])), vs({
|
|
@@ -6506,20 +6506,20 @@ function Ha(n, e) {
|
|
|
6506
6506
|
table: r
|
|
6507
6507
|
});
|
|
6508
6508
|
}
|
|
6509
|
-
const
|
|
6510
|
-
array:
|
|
6511
|
-
datetime:
|
|
6512
|
-
datetimediff:
|
|
6513
|
-
html:
|
|
6514
|
-
json:
|
|
6515
|
-
link:
|
|
6516
|
-
lookup:
|
|
6517
|
-
money:
|
|
6518
|
-
number:
|
|
6519
|
-
plaintext:
|
|
6520
|
-
tag:
|
|
6521
|
-
textarea:
|
|
6522
|
-
typography:
|
|
6509
|
+
const Ia = {
|
|
6510
|
+
array: Ta,
|
|
6511
|
+
datetime: Oa,
|
|
6512
|
+
datetimediff: _a,
|
|
6513
|
+
html: Bo,
|
|
6514
|
+
json: Na,
|
|
6515
|
+
link: Da,
|
|
6516
|
+
lookup: ka,
|
|
6517
|
+
money: La,
|
|
6518
|
+
number: Fa,
|
|
6519
|
+
plaintext: Io,
|
|
6520
|
+
tag: Ma,
|
|
6521
|
+
textarea: Aa,
|
|
6522
|
+
typography: Ha
|
|
6523
6523
|
};
|
|
6524
6524
|
function vs(n) {
|
|
6525
6525
|
const e = n.formatter;
|
|
@@ -6533,13 +6533,13 @@ function vs(n) {
|
|
|
6533
6533
|
table: n.table
|
|
6534
6534
|
};
|
|
6535
6535
|
if (e === "composite")
|
|
6536
|
-
return
|
|
6536
|
+
return Sa(t, n.columnField);
|
|
6537
6537
|
if (e === "adaptable")
|
|
6538
|
-
return
|
|
6539
|
-
const i =
|
|
6538
|
+
return Va(t, n.columnField);
|
|
6539
|
+
const i = Ia[e];
|
|
6540
6540
|
return i ? i(t) : [];
|
|
6541
6541
|
}
|
|
6542
|
-
function
|
|
6542
|
+
function Ba(n, e, t, i, s) {
|
|
6543
6543
|
let o;
|
|
6544
6544
|
s?.has(e) ? o = s.get(e) : (o = n?.columnManager?.getColumnByField?.(e) ?? null, s?.set(e, o ?? null));
|
|
6545
6545
|
const r = o?.definition;
|
|
@@ -6556,7 +6556,7 @@ function Na(n, e, t, i, s) {
|
|
|
6556
6556
|
table: n
|
|
6557
6557
|
});
|
|
6558
6558
|
}
|
|
6559
|
-
const
|
|
6559
|
+
const ye = process.env.NODE_ENV === "development", Ve = class Ve extends P {
|
|
6560
6560
|
constructor(e) {
|
|
6561
6561
|
super(e), this.filterList = [], this.headerFilters = {}, this.headerFilterColumns = [], this.prevHeaderFilterChangeCheck = "", this.prevHeaderFilterChangeCheck = "{}", this.changed = !1, this.tableInitialized = !1, this.registerTableOption("filterMode", "local"), this.registerTableOption("initialFilter", !1), this.registerTableOption("initialHeaderFilter", !1), this.registerTableOption("headerFilterLiveFilterDelay", 300), this.registerTableOption("placeholderHeaderFilter", !1), this.registerColumnOption("headerFilter"), this.registerColumnOption("headerFilterPlaceholder"), this.registerColumnOption("headerFilterParams"), this.registerColumnOption("headerFilterEmptyCheck"), this.registerColumnOption("headerFilterFunc"), this.registerColumnOption("headerFilterFuncParams"), this.registerColumnOption("headerFilterLiveFilter"), this.registerTableFunction("searchRows", this.searchRows.bind(this)), this.registerTableFunction("searchData", this.searchData.bind(this)), this.registerTableFunction("setFilter", this.userSetFilter.bind(this)), this.registerTableFunction("createFilterFieldFunction", this.createFilterFieldFunction.bind(this)), this.registerTableFunction(
|
|
6562
6562
|
"refreshFilter",
|
|
@@ -6618,7 +6618,7 @@ const ve = process.env.NODE_ENV === "development", Ve = class Ve extends P {
|
|
|
6618
6618
|
if (t)
|
|
6619
6619
|
this.setHeaderFilterValue(t, e.value);
|
|
6620
6620
|
else
|
|
6621
|
-
return
|
|
6621
|
+
return ye && console.warn(
|
|
6622
6622
|
"Column Filter Error - No matching column found:",
|
|
6623
6623
|
e.field
|
|
6624
6624
|
), !1;
|
|
@@ -6664,7 +6664,7 @@ const ve = process.env.NODE_ENV === "development", Ve = class Ve extends P {
|
|
|
6664
6664
|
if (t)
|
|
6665
6665
|
this.setHeaderFilterFocus(t);
|
|
6666
6666
|
else {
|
|
6667
|
-
|
|
6667
|
+
ye && console.warn(
|
|
6668
6668
|
"Column Filter Focus Error - No matching column found:",
|
|
6669
6669
|
e
|
|
6670
6670
|
);
|
|
@@ -6675,14 +6675,14 @@ const ve = process.env.NODE_ENV === "development", Ve = class Ve extends P {
|
|
|
6675
6675
|
const t = this.table.columnManager?.findColumn(e);
|
|
6676
6676
|
if (t)
|
|
6677
6677
|
return this.getHeaderFilterValue(t);
|
|
6678
|
-
|
|
6678
|
+
ye && console.warn("Column Filter Error - No matching column found:", e);
|
|
6679
6679
|
}
|
|
6680
6680
|
userSetHeaderFilterValue(e, t) {
|
|
6681
6681
|
const i = this.table.columnManager?.findColumn(e);
|
|
6682
6682
|
if (i)
|
|
6683
6683
|
this.setHeaderFilterValue(i, t);
|
|
6684
6684
|
else {
|
|
6685
|
-
|
|
6685
|
+
ye && console.warn("Column Filter Error - No matching column found:", e);
|
|
6686
6686
|
return;
|
|
6687
6687
|
}
|
|
6688
6688
|
}
|
|
@@ -6729,7 +6729,7 @@ const ve = process.env.NODE_ENV === "development", Ve = class Ve extends P {
|
|
|
6729
6729
|
let u = e.definition.headerFilterFuncParams || {};
|
|
6730
6730
|
const f = e.getFieldValue(p);
|
|
6731
6731
|
return u = typeof u == "function" ? u(r, f, p) : u, Ve.filters[e.definition.headerFilterFunc](r, f, p, u);
|
|
6732
|
-
}) :
|
|
6732
|
+
}) : ye && console.warn(
|
|
6733
6733
|
"Header Filter Error - Matching filter function not found: ",
|
|
6734
6734
|
e.definition.headerFilterFunc
|
|
6735
6735
|
);
|
|
@@ -6798,7 +6798,7 @@ const ve = process.env.NODE_ENV === "development", Ve = class Ve extends P {
|
|
|
6798
6798
|
case "string":
|
|
6799
6799
|
s.table.modules.edit.editors[e.definition.headerFilter] ? (l = s.table.modules.edit.editors[e.definition.headerFilter], (e.definition.headerFilter === "tick" || e.definition.headerFilter === "tickCross") && !e.definition.headerFilterEmptyCheck && (e.modules.filter.emptyFunc = function(b) {
|
|
6800
6800
|
return b !== !0 && b !== !1;
|
|
6801
|
-
})) :
|
|
6801
|
+
})) : ye && console.warn(
|
|
6802
6802
|
"Filter Error - Cannot build header filter, No such editor found: ",
|
|
6803
6803
|
e.definition.editor
|
|
6804
6804
|
);
|
|
@@ -6842,13 +6842,13 @@ const ve = process.env.NODE_ENV === "development", Ve = class Ve extends P {
|
|
|
6842
6842
|
w,
|
|
6843
6843
|
u
|
|
6844
6844
|
), !h) {
|
|
6845
|
-
|
|
6845
|
+
ye && console.warn(
|
|
6846
6846
|
"Filter Error - Cannot add filter to " + r + " column, editor returned a value of false"
|
|
6847
6847
|
);
|
|
6848
6848
|
return;
|
|
6849
6849
|
}
|
|
6850
6850
|
if (!(h instanceof Node)) {
|
|
6851
|
-
|
|
6851
|
+
ye && console.warn(
|
|
6852
6852
|
"Filter Error - Cannot add filter to " + r + " column, editor should return an instance of Node, the editor returned:",
|
|
6853
6853
|
h
|
|
6854
6854
|
);
|
|
@@ -6880,7 +6880,7 @@ const ve = process.env.NODE_ENV === "development", Ve = class Ve extends P {
|
|
|
6880
6880
|
b.stopPropagation();
|
|
6881
6881
|
})), a && h && a.appendChild(h), e.contentElement && a && e.contentElement.appendChild(a), i || s.headerFilterColumns.push(e), f && f();
|
|
6882
6882
|
}
|
|
6883
|
-
} else
|
|
6883
|
+
} else ye && console.warn(
|
|
6884
6884
|
"Filter Error - Cannot add header filter, column has no field set:",
|
|
6885
6885
|
e.definition.title
|
|
6886
6886
|
);
|
|
@@ -6899,7 +6899,7 @@ const ve = process.env.NODE_ENV === "development", Ve = class Ve extends P {
|
|
|
6899
6899
|
}
|
|
6900
6900
|
// programmatically set focus of header filter
|
|
6901
6901
|
setHeaderFilterFocus(e) {
|
|
6902
|
-
e.modules.filter && e.modules.filter.headerElement ? e.modules.filter.headerElement.focus() :
|
|
6902
|
+
e.modules.filter && e.modules.filter.headerElement ? e.modules.filter.headerElement.focus() : ye && console.warn(
|
|
6903
6903
|
"Column Filter Focus Error - No header filter set on column:",
|
|
6904
6904
|
e.getField()
|
|
6905
6905
|
);
|
|
@@ -6908,14 +6908,14 @@ const ve = process.env.NODE_ENV === "development", Ve = class Ve extends P {
|
|
|
6908
6908
|
getHeaderFilterValue(e) {
|
|
6909
6909
|
if (e.modules.filter && e.modules.filter.headerElement)
|
|
6910
6910
|
return e.modules.filter.value;
|
|
6911
|
-
|
|
6911
|
+
ye && console.warn(
|
|
6912
6912
|
"Column Filter Error - No header filter set on column:",
|
|
6913
6913
|
e.getField()
|
|
6914
6914
|
);
|
|
6915
6915
|
}
|
|
6916
6916
|
// programmatically set value of header filter
|
|
6917
6917
|
setHeaderFilterValue(e, t) {
|
|
6918
|
-
e && (e.modules.filter && e.modules.filter.headerElement ? (this.generateHeaderFilterElement(e, t, !0), e.modules.filter.success(t)) :
|
|
6918
|
+
e && (e.modules.filter && e.modules.filter.headerElement ? (this.generateHeaderFilterElement(e, t, !0), e.modules.filter.success(t)) : ye && console.warn(
|
|
6919
6919
|
"Column Filter Error - No header filter set on column:",
|
|
6920
6920
|
e.getField()
|
|
6921
6921
|
));
|
|
@@ -6925,7 +6925,7 @@ const ve = process.env.NODE_ENV === "development", Ve = class Ve extends P {
|
|
|
6925
6925
|
e,
|
|
6926
6926
|
e.modules.filter.value,
|
|
6927
6927
|
!0
|
|
6928
|
-
) :
|
|
6928
|
+
) : ye && console.warn(
|
|
6929
6929
|
"Column Filter Error - No header filter set on column:",
|
|
6930
6930
|
e.getField()
|
|
6931
6931
|
));
|
|
@@ -6979,7 +6979,7 @@ const ve = process.env.NODE_ENV === "development", Ve = class Ve extends P {
|
|
|
6979
6979
|
}
|
|
6980
6980
|
if (h(l.value, f, a, c))
|
|
6981
6981
|
return !0;
|
|
6982
|
-
const w =
|
|
6982
|
+
const w = Ba(
|
|
6983
6983
|
t,
|
|
6984
6984
|
u,
|
|
6985
6985
|
f,
|
|
@@ -7074,7 +7074,7 @@ const ve = process.env.NODE_ENV === "development", Ve = class Ve extends P {
|
|
|
7074
7074
|
a.params || {}
|
|
7075
7075
|
);
|
|
7076
7076
|
};
|
|
7077
|
-
} else
|
|
7077
|
+
} else ye && console.warn(
|
|
7078
7078
|
"Filter Error - No such filter type found, ignoring: ",
|
|
7079
7079
|
e.type
|
|
7080
7080
|
);
|
|
@@ -7121,7 +7121,7 @@ const ve = process.env.NODE_ENV === "development", Ve = class Ve extends P {
|
|
|
7121
7121
|
removeFilter(e, t, i) {
|
|
7122
7122
|
Array.isArray(e) || (e = [{ field: e, type: t, value: i }]), e.forEach((s) => {
|
|
7123
7123
|
let o = -1;
|
|
7124
|
-
typeof s.field == "object" ? o = this.filterList.findIndex((r) => s === r) : o = this.filterList.findIndex((r) => s.field === r.field && s.type === r.type && s.value === r.value), o > -1 ? this.filterList.splice(o, 1) :
|
|
7124
|
+
typeof s.field == "object" ? o = this.filterList.findIndex((r) => s === r) : o = this.filterList.findIndex((r) => s.field === r.field && s.type === r.type && s.value === r.value), o > -1 ? this.filterList.splice(o, 1) : ye && console.warn(
|
|
7125
7125
|
"Filter Error - No matching filter type found, ignoring: ",
|
|
7126
7126
|
s.type
|
|
7127
7127
|
);
|
|
@@ -7185,9 +7185,9 @@ const ve = process.env.NODE_ENV === "development", Ve = class Ve extends P {
|
|
|
7185
7185
|
}) : i = e.func(t), i;
|
|
7186
7186
|
}
|
|
7187
7187
|
};
|
|
7188
|
-
Ve.moduleName = "filter", Ve.filters =
|
|
7188
|
+
Ve.moduleName = "filter", Ve.filters = ya;
|
|
7189
7189
|
let zi = Ve;
|
|
7190
|
-
const
|
|
7190
|
+
const Wa = process.env.NODE_ENV === "development", Ss = class Ss extends P {
|
|
7191
7191
|
constructor(e) {
|
|
7192
7192
|
super(e), this.leftColumns = [], this.rightColumns = [], this.initializationMode = "left", this.active = !1, this.blocked = !0, this.registerColumnOption("frozen");
|
|
7193
7193
|
}
|
|
@@ -7218,7 +7218,7 @@ const Va = process.env.NODE_ENV === "development", Ss = class Ss extends P {
|
|
|
7218
7218
|
e.isGroup || (this.frozenCheck(e) ? (t.position = this.initializationMode, this.initializationMode === "left" ? this.leftColumns.push(e) : this.rightColumns.unshift(e), this.active = !0, e.modules.frozen = t) : this.initializationMode = "right");
|
|
7219
7219
|
}
|
|
7220
7220
|
frozenCheck(e) {
|
|
7221
|
-
return e.parent instanceof Re && e.parent.isGroup && e.definition.frozen &&
|
|
7221
|
+
return e.parent instanceof Re && e.parent.isGroup && e.definition.frozen && Wa && console.warn(
|
|
7222
7222
|
"Frozen Column Error - Parent column group must be frozen, not individual columns or sub column groups"
|
|
7223
7223
|
), e.parent instanceof Re && e.parent.isGroup ? this.frozenCheck(e.parent) : !!e.definition.frozen;
|
|
7224
7224
|
}
|
|
@@ -7400,9 +7400,9 @@ const ao = process.env.NODE_ENV === "development", ks = class ks extends P {
|
|
|
7400
7400
|
};
|
|
7401
7401
|
ks.moduleName = "frozenRows";
|
|
7402
7402
|
let Oi = ks;
|
|
7403
|
-
const
|
|
7403
|
+
const ja = process.env.NODE_ENV === "development", Ga = M`<cx-icon-button class="tabulator-group-toggle" name="keyboard_arrow_down"></cx-icon-button>`, $a = M`<div class="tabulator-group-level-indent"></div>`, Ua = M`<cx-button size="small"><cx-icon slot="prefix" name="add" variant="outlined"></cx-icon>
|
|
7404
7404
|
Load More
|
|
7405
|
-
</cx-button>`,
|
|
7405
|
+
</cx-button>`, Ka = M`<div class="tabulator-data-tree-loading">Loading...</div>`;
|
|
7406
7406
|
class mt {
|
|
7407
7407
|
constructor(e, t, i, s, o, r, a) {
|
|
7408
7408
|
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();
|
|
@@ -7421,7 +7421,7 @@ class mt {
|
|
|
7421
7421
|
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(
|
|
7422
7422
|
"role",
|
|
7423
7423
|
this.groupManager.table.options.rowGroupRole ?? "rowgroup"
|
|
7424
|
-
), this.arrowElement = G(
|
|
7424
|
+
), this.arrowElement = G(Ga), this.groupManager.table.options.movableRows !== !1 && this.groupManager.table.modExists("moveRow") && this.groupManager.table.modules.moveRow.initializeGroupHeader(
|
|
7425
7425
|
this
|
|
7426
7426
|
);
|
|
7427
7427
|
}
|
|
@@ -7485,7 +7485,7 @@ class mt {
|
|
|
7485
7485
|
let s = i.querySelector(
|
|
7486
7486
|
".tabulator-group-level-indent"
|
|
7487
7487
|
);
|
|
7488
|
-
s || (s = G(
|
|
7488
|
+
s || (s = G($a), i.insertBefore(s, i.firstChild)), s.style.marginLeft = `${(this.level + 1) * (this.groupManager.table.options.groupIndent ?? 36)}px`, s.dataset.groupLevel = this.level.toString();
|
|
7489
7489
|
}
|
|
7490
7490
|
}
|
|
7491
7491
|
insertRow(e, t, i) {
|
|
@@ -7506,7 +7506,7 @@ class mt {
|
|
|
7506
7506
|
}
|
|
7507
7507
|
// update row data to match grouping constraints
|
|
7508
7508
|
conformRowData(e) {
|
|
7509
|
-
return this.field ? e[this.field] = this.key :
|
|
7509
|
+
return this.field ? e[this.field] = this.key : ja && console.warn(
|
|
7510
7510
|
"Data Conforming Error - Cannot conform row data to match new group as groupBy is a function"
|
|
7511
7511
|
), this.parent && (e = this.parent.conformRowData(e)), e;
|
|
7512
7512
|
}
|
|
@@ -7522,16 +7522,16 @@ class mt {
|
|
|
7522
7522
|
this.groups[t] && (delete this.groups[t], i = this.groupList.indexOf(e), i > -1 && this.groupList.splice(i, 1), this.groupList.length || (this.parent ? this.parent.removeGroup(this) : this.groupManager.removeGroup(this)));
|
|
7523
7523
|
}
|
|
7524
7524
|
getPathKey() {
|
|
7525
|
-
return
|
|
7525
|
+
return zo(gs(this));
|
|
7526
7526
|
}
|
|
7527
7527
|
getLoadMoreState() {
|
|
7528
|
-
return
|
|
7528
|
+
return Rr(
|
|
7529
7529
|
this.groupManager.table.options.groupLoadMoreMeta,
|
|
7530
7530
|
this.getPathKey()
|
|
7531
7531
|
);
|
|
7532
7532
|
}
|
|
7533
7533
|
getGroupLoadMoreEventPayload() {
|
|
7534
|
-
return
|
|
7534
|
+
return Sr(this);
|
|
7535
7535
|
}
|
|
7536
7536
|
generateLoadMoreRow() {
|
|
7537
7537
|
const e = this.getLoadMoreState(), t = `hasMore:${!!e?.hasMore}|loading:${!!e?.loading}`;
|
|
@@ -7544,12 +7544,12 @@ class mt {
|
|
|
7544
7544
|
const s = new ki(
|
|
7545
7545
|
{ id: `group-load-more:${this.getPathKey()}` },
|
|
7546
7546
|
i
|
|
7547
|
-
), o = (this.level + 1) * (this.groupManager.table.options.groupIndent ??
|
|
7547
|
+
), o = (this.level + 1) * (this.groupManager.table.options.groupIndent ?? Mo);
|
|
7548
7548
|
if (s.create(), e.loading) {
|
|
7549
|
-
const l = G(
|
|
7549
|
+
const l = G(Ka);
|
|
7550
7550
|
return s.element.appendChild(l), this.applyGroupIndent(l, o), this._loadMoreRow = s, s;
|
|
7551
7551
|
}
|
|
7552
|
-
const r = G(
|
|
7552
|
+
const r = G(Ua), a = this.getGroupLoadMoreEventPayload();
|
|
7553
7553
|
return s.element.appendChild(r), this.applyGroupIndent(r, o), r.addEventListener("click", (l) => {
|
|
7554
7554
|
l.preventDefault(), l.stopPropagation(), l.stopImmediatePropagation(), this.groupManager.table.externalEvents?.dispatch("groupLoadMore", a);
|
|
7555
7555
|
}), this._loadMoreRow = s, s;
|
|
@@ -7768,7 +7768,7 @@ class mt {
|
|
|
7768
7768
|
}
|
|
7769
7769
|
// ////////////// Object Generation /////////////////
|
|
7770
7770
|
getComponent() {
|
|
7771
|
-
return this.component ??= new
|
|
7771
|
+
return this.component ??= new Fo(this), this.component;
|
|
7772
7772
|
}
|
|
7773
7773
|
}
|
|
7774
7774
|
const ui = process.env.NODE_ENV === "development", Ts = class Ts extends P {
|
|
@@ -7781,7 +7781,7 @@ const ui = process.env.NODE_ENV === "development", Ts = class Ts extends P {
|
|
|
7781
7781
|
function() {
|
|
7782
7782
|
return "";
|
|
7783
7783
|
}
|
|
7784
|
-
], this.groupList = [], this.allowedValues = !1, this.groups = {}, this.displayHandler = this.getRows.bind(this), this.blockRedraw = !1, this.initialized = !1, this.registerTableOption("groupBy", !1), this.registerTableOption("groupStartOpen", !0), this.registerTableOption("groupValues", !1), this.registerTableOption("groupUpdateOnCellEdit", !1), this.registerTableOption("groupHeader", !1), this.registerTableOption("groupHeaderPrint", null), this.registerTableOption("groupHeaderClipboard", null), this.registerTableOption("groupHeaderHtmlOutput", null), this.registerTableOption("groupHeaderDownload", null), this.registerTableOption("groupToggleElement", "arrow"), this.registerTableOption("groupClosedShowCalcs", !1), this.registerTableOption("groupHeaderCount", !1), this.registerTableOption("groupIndent",
|
|
7784
|
+
], this.groupList = [], this.allowedValues = !1, this.groups = {}, this.displayHandler = this.getRows.bind(this), this.blockRedraw = !1, this.initialized = !1, this.registerTableOption("groupBy", !1), this.registerTableOption("groupStartOpen", !0), this.registerTableOption("groupValues", !1), this.registerTableOption("groupUpdateOnCellEdit", !1), this.registerTableOption("groupHeader", !1), this.registerTableOption("groupHeaderPrint", null), this.registerTableOption("groupHeaderClipboard", null), this.registerTableOption("groupHeaderHtmlOutput", null), this.registerTableOption("groupHeaderDownload", null), this.registerTableOption("groupToggleElement", "arrow"), this.registerTableOption("groupClosedShowCalcs", !1), this.registerTableOption("groupHeaderCount", !1), this.registerTableOption("groupIndent", Mo), this.registerTableOption("groupLoadMoreMeta", {}), this.registerTableFunction("setGroupBy", this.setGroupBy.bind(this)), this.registerTableFunction(
|
|
7785
7785
|
"setGroupValues",
|
|
7786
7786
|
this.setGroupValues.bind(this)
|
|
7787
7787
|
), this.registerTableFunction(
|
|
@@ -8141,7 +8141,7 @@ const ui = process.env.NODE_ENV === "development", Ts = class Ts extends P {
|
|
|
8141
8141
|
};
|
|
8142
8142
|
Ts.moduleName = "groupRows";
|
|
8143
8143
|
let _i = Ts;
|
|
8144
|
-
const
|
|
8144
|
+
const qa = {
|
|
8145
8145
|
cellEdit: function(n) {
|
|
8146
8146
|
"setValueProcessData" in n.component && (n.component.setValueProcessData(n.data.newValue), n.component.cellRendered());
|
|
8147
8147
|
},
|
|
@@ -8168,7 +8168,7 @@ const $a = {
|
|
|
8168
8168
|
), this.table.rowManager.regenerateRowPositions(), this.table.rowManager.reRenderInPosition());
|
|
8169
8169
|
}
|
|
8170
8170
|
}
|
|
8171
|
-
},
|
|
8171
|
+
}, Xa = {
|
|
8172
8172
|
cellEdit: function(n) {
|
|
8173
8173
|
"setValueProcessData" in n.component && (n.component.setValueProcessData(n.data.oldValue), n.component.cellRendered());
|
|
8174
8174
|
},
|
|
@@ -8195,7 +8195,7 @@ const $a = {
|
|
|
8195
8195
|
), this.table.rowManager.regenerateRowPositions(), this.table.rowManager.reRenderInPosition());
|
|
8196
8196
|
}
|
|
8197
8197
|
}
|
|
8198
|
-
},
|
|
8198
|
+
}, Ja = {
|
|
8199
8199
|
redo: function(n) {
|
|
8200
8200
|
let e;
|
|
8201
8201
|
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()));
|
|
@@ -8204,13 +8204,13 @@ const $a = {
|
|
|
8204
8204
|
let e;
|
|
8205
8205
|
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()));
|
|
8206
8206
|
}
|
|
8207
|
-
},
|
|
8207
|
+
}, Ya = {
|
|
8208
8208
|
redo: ["ctrl + 89", "meta + 89"],
|
|
8209
8209
|
undo: ["ctrl + 90", "meta + 90"]
|
|
8210
|
-
},
|
|
8210
|
+
}, Qa = {
|
|
8211
8211
|
keybindings: {
|
|
8212
|
-
actions:
|
|
8213
|
-
bindings:
|
|
8212
|
+
actions: Ja,
|
|
8213
|
+
bindings: Ya
|
|
8214
8214
|
}
|
|
8215
8215
|
}, lo = process.env.NODE_ENV === "development", Ie = class Ie extends P {
|
|
8216
8216
|
constructor(e) {
|
|
@@ -8330,9 +8330,9 @@ const $a = {
|
|
|
8330
8330
|
});
|
|
8331
8331
|
}
|
|
8332
8332
|
};
|
|
8333
|
-
Ie.moduleName = "history", Ie.moduleExtensions =
|
|
8333
|
+
Ie.moduleName = "history", Ie.moduleExtensions = Qa, Ie.undoers = Xa, Ie.redoers = qa;
|
|
8334
8334
|
let Pi = Ie;
|
|
8335
|
-
const
|
|
8335
|
+
const Za = process.env.NODE_ENV === "development", Ms = class Ms extends P {
|
|
8336
8336
|
constructor(e) {
|
|
8337
8337
|
super(e), this.fieldIndex = [], this.hasIndex = !1;
|
|
8338
8338
|
}
|
|
@@ -8340,7 +8340,7 @@ const Ja = process.env.NODE_ENV === "development", Ms = class Ms extends P {
|
|
|
8340
8340
|
this.tableElementCheck();
|
|
8341
8341
|
}
|
|
8342
8342
|
tableElementCheck() {
|
|
8343
|
-
this.table.originalElement?.tagName === "TABLE" && (this.table.originalElement.childNodes.length ? this.parseTable() :
|
|
8343
|
+
this.table.originalElement?.tagName === "TABLE" && (this.table.originalElement.childNodes.length ? this.parseTable() : Za && console.warn(
|
|
8344
8344
|
"Unable to parse data from empty table tag, Tabulator should be initialized on a div tag unless importing data from a table element."
|
|
8345
8345
|
));
|
|
8346
8346
|
}
|
|
@@ -8413,7 +8413,7 @@ const Ja = process.env.NODE_ENV === "development", Ms = class Ms extends P {
|
|
|
8413
8413
|
};
|
|
8414
8414
|
Ms.moduleName = "htmlTableImport";
|
|
8415
8415
|
let Hi = Ms;
|
|
8416
|
-
function
|
|
8416
|
+
function el(n) {
|
|
8417
8417
|
return n;
|
|
8418
8418
|
}
|
|
8419
8419
|
var Kt = { exports: {} };
|
|
@@ -8423,12 +8423,12 @@ v5.5.4
|
|
|
8423
8423
|
https://github.com/mholt/PapaParse
|
|
8424
8424
|
License: MIT
|
|
8425
8425
|
*/
|
|
8426
|
-
var
|
|
8427
|
-
function
|
|
8426
|
+
var tl = Kt.exports, ho;
|
|
8427
|
+
function il() {
|
|
8428
8428
|
return ho || (ho = 1, function(n, e) {
|
|
8429
8429
|
((t, i) => {
|
|
8430
8430
|
n.exports = i();
|
|
8431
|
-
})(
|
|
8431
|
+
})(tl, function t() {
|
|
8432
8432
|
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 = {};
|
|
8433
8433
|
function c(g) {
|
|
8434
8434
|
return g.charCodeAt(0) === 65279 ? g.slice(1) : g;
|
|
@@ -8837,23 +8837,23 @@ function Za() {
|
|
|
8837
8837
|
});
|
|
8838
8838
|
}(Kt)), Kt.exports;
|
|
8839
8839
|
}
|
|
8840
|
-
var
|
|
8841
|
-
const ys = /* @__PURE__ */
|
|
8842
|
-
function
|
|
8840
|
+
var sl = il();
|
|
8841
|
+
const ys = /* @__PURE__ */ rr(sl);
|
|
8842
|
+
function ol(n) {
|
|
8843
8843
|
const e = ys.parse(n, { header: !1, skipEmptyLines: !0 }), t = e.errors.filter((i) => i.code !== "UndetectableDelimiter");
|
|
8844
8844
|
if (t.length > 0)
|
|
8845
8845
|
throw new Error(`CSV parse error: ${t[0].message}`);
|
|
8846
8846
|
return e.data;
|
|
8847
8847
|
}
|
|
8848
|
-
const
|
|
8849
|
-
async function
|
|
8848
|
+
const rl = process.env.NODE_ENV === "development";
|
|
8849
|
+
async function nl(n) {
|
|
8850
8850
|
try {
|
|
8851
8851
|
return JSON.parse(n);
|
|
8852
8852
|
} catch (e) {
|
|
8853
|
-
throw
|
|
8853
|
+
throw rl && console.warn("JSON Import Error - File contents is invalid JSON", e), new Error("Invalid JSON format");
|
|
8854
8854
|
}
|
|
8855
8855
|
}
|
|
8856
|
-
const co = process.env.NODE_ENV === "development",
|
|
8856
|
+
const co = process.env.NODE_ENV === "development", al = function(n) {
|
|
8857
8857
|
const t = this.dependencyRegistry.lookup("XLSX");
|
|
8858
8858
|
if (!t)
|
|
8859
8859
|
return co && console.warn("XLSX library not found in dependency registry"), [];
|
|
@@ -8862,11 +8862,11 @@ const co = process.env.NODE_ENV === "development", ol = function(n) {
|
|
|
8862
8862
|
return co && console.warn("XLSX workbook contains no sheets"), [];
|
|
8863
8863
|
const s = i.Sheets[i.SheetNames[0]];
|
|
8864
8864
|
return t.utils.sheet_to_json(s, { header: 1 });
|
|
8865
|
-
},
|
|
8866
|
-
array:
|
|
8867
|
-
csv:
|
|
8868
|
-
json:
|
|
8869
|
-
xlsx:
|
|
8865
|
+
}, ll = {
|
|
8866
|
+
array: el,
|
|
8867
|
+
csv: ol,
|
|
8868
|
+
json: nl,
|
|
8869
|
+
xlsx: al
|
|
8870
8870
|
}, Dt = process.env.NODE_ENV === "development", Ot = class Ot extends P {
|
|
8871
8871
|
constructor(e) {
|
|
8872
8872
|
super(e), this.registerTableOption("importFormat"), this.registerTableOption("importReader", "text"), this.registerTableOption("importHeaderTransform"), this.registerTableOption("importValueTransform"), this.registerTableOption("importDataValidator"), this.registerTableOption("importFileValidator");
|
|
@@ -9023,7 +9023,7 @@ const co = process.env.NODE_ENV === "development", ol = function(n) {
|
|
|
9023
9023
|
return this.dispatch("import-imported", e), this.dispatchExternal("importImported", e), this.table.dataLoader?.clearAlert(), this.table.setData(e);
|
|
9024
9024
|
}
|
|
9025
9025
|
};
|
|
9026
|
-
Ot.moduleName = "import", Ot.importers =
|
|
9026
|
+
Ot.moduleName = "import", Ot.importers = ll;
|
|
9027
9027
|
let Ai = Ot;
|
|
9028
9028
|
const Ds = class Ds extends P {
|
|
9029
9029
|
constructor(e) {
|
|
@@ -9209,7 +9209,7 @@ const Ds = class Ds extends P {
|
|
|
9209
9209
|
};
|
|
9210
9210
|
Ds.moduleName = "interaction";
|
|
9211
9211
|
let Ni = Ds;
|
|
9212
|
-
const
|
|
9212
|
+
const hl = {
|
|
9213
9213
|
keyBlock: function(n) {
|
|
9214
9214
|
n.stopPropagation(), n.preventDefault();
|
|
9215
9215
|
},
|
|
@@ -9257,7 +9257,7 @@ const nl = {
|
|
|
9257
9257
|
const e = this.table.rowManager;
|
|
9258
9258
|
e && (n.preventDefault(), e.displayRowsCount && e.scrollToRow(e.getDisplayRows()[0]), this.table.element.focus());
|
|
9259
9259
|
}
|
|
9260
|
-
},
|
|
9260
|
+
}, cl = {
|
|
9261
9261
|
navDown: 40,
|
|
9262
9262
|
navLeft: 37,
|
|
9263
9263
|
navNext: 9,
|
|
@@ -9268,7 +9268,7 @@ const nl = {
|
|
|
9268
9268
|
scrollPageUp: 33,
|
|
9269
9269
|
scrollToEnd: 35,
|
|
9270
9270
|
scrollToStart: 36
|
|
9271
|
-
},
|
|
9271
|
+
}, dl = process.env.NODE_ENV === "development", tt = class tt extends P {
|
|
9272
9272
|
constructor(e) {
|
|
9273
9273
|
super(e), this.watchKeys = null, this.pressedKeys = null, this.keyupBinding = !1, this.keydownBinding = !1, this.registerTableOption("keybindings", {}), this.registerTableOption("tabEndNewRow", !1);
|
|
9274
9274
|
}
|
|
@@ -9282,7 +9282,7 @@ const nl = {
|
|
|
9282
9282
|
(Array.isArray(i) ? i : [i]).forEach((o) => {
|
|
9283
9283
|
this.mapBinding(t, o);
|
|
9284
9284
|
});
|
|
9285
|
-
})) :
|
|
9285
|
+
})) : dl && console.warn("Key Binding Error - no such action:", t);
|
|
9286
9286
|
}
|
|
9287
9287
|
mapBinding(e, t) {
|
|
9288
9288
|
const i = {
|
|
@@ -9335,7 +9335,7 @@ const nl = {
|
|
|
9335
9335
|
}), i && t.action.call(this, e), !0) : !1;
|
|
9336
9336
|
}
|
|
9337
9337
|
};
|
|
9338
|
-
tt.moduleName = "keybindings", tt.bindings =
|
|
9338
|
+
tt.moduleName = "keybindings", tt.bindings = cl, tt.actions = hl;
|
|
9339
9339
|
let Vi = tt;
|
|
9340
9340
|
const Ls = class Ls extends P {
|
|
9341
9341
|
constructor(e) {
|
|
@@ -9620,7 +9620,7 @@ const zs = class zs extends P {
|
|
|
9620
9620
|
};
|
|
9621
9621
|
zs.moduleName = "moveColumn";
|
|
9622
9622
|
let Bi = zs;
|
|
9623
|
-
const
|
|
9623
|
+
const ul = {
|
|
9624
9624
|
add: function(n, e, t) {
|
|
9625
9625
|
return n && this.table.addRow(n.getData("")), !0;
|
|
9626
9626
|
},
|
|
@@ -9633,7 +9633,7 @@ const hl = {
|
|
|
9633
9633
|
update: function(n, e, t) {
|
|
9634
9634
|
return e && n ? (e.update(n.getData("")), !0) : !1;
|
|
9635
9635
|
}
|
|
9636
|
-
},
|
|
9636
|
+
}, pl = {
|
|
9637
9637
|
delete: function(n, e, t) {
|
|
9638
9638
|
n && n.delete();
|
|
9639
9639
|
}
|
|
@@ -9979,9 +9979,9 @@ const hl = {
|
|
|
9979
9979
|
}
|
|
9980
9980
|
}
|
|
9981
9981
|
};
|
|
9982
|
-
lt.moduleName = "moveRow", lt.senders =
|
|
9982
|
+
lt.moduleName = "moveRow", lt.senders = pl, lt.receivers = ul;
|
|
9983
9983
|
let Wi = lt;
|
|
9984
|
-
const
|
|
9984
|
+
const fl = {}, gl = process.env.NODE_ENV === "development", yt = class yt extends P {
|
|
9985
9985
|
constructor(e) {
|
|
9986
9986
|
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");
|
|
9987
9987
|
}
|
|
@@ -10007,7 +10007,7 @@ const dl = {}, ul = process.env.NODE_ENV === "development", yt = class yt extend
|
|
|
10007
10007
|
let t = !1;
|
|
10008
10008
|
switch (typeof e) {
|
|
10009
10009
|
case "string":
|
|
10010
|
-
yt.mutators[e] ? t = yt.mutators[e] :
|
|
10010
|
+
yt.mutators[e] ? t = yt.mutators[e] : gl && console.warn(
|
|
10011
10011
|
"Mutator Error - No such mutator found, ignoring: ",
|
|
10012
10012
|
e
|
|
10013
10013
|
);
|
|
@@ -10070,7 +10070,7 @@ const dl = {}, ul = process.env.NODE_ENV === "development", yt = class yt extend
|
|
|
10070
10070
|
this.enabled = !1;
|
|
10071
10071
|
}
|
|
10072
10072
|
};
|
|
10073
|
-
yt.moduleName = "mutator", yt.mutators =
|
|
10073
|
+
yt.moduleName = "mutator", yt.mutators = fl;
|
|
10074
10074
|
let ji = yt;
|
|
10075
10075
|
const Fs = class Fs extends P {
|
|
10076
10076
|
constructor(e) {
|
|
@@ -10351,7 +10351,7 @@ const Fs = class Fs extends P {
|
|
|
10351
10351
|
};
|
|
10352
10352
|
Fs.moduleName = "page";
|
|
10353
10353
|
let Gi = Fs;
|
|
10354
|
-
const uo = process.env.NODE_ENV === "development",
|
|
10354
|
+
const uo = process.env.NODE_ENV === "development", ml = {
|
|
10355
10355
|
cookie: function(n, e) {
|
|
10356
10356
|
let t = document.cookie;
|
|
10357
10357
|
const i = n + "-" + e, s = t.indexOf(i + "=");
|
|
@@ -10379,7 +10379,7 @@ const uo = process.env.NODE_ENV === "development", pl = {
|
|
|
10379
10379
|
return uo && console.error("Failed to parse localStorage data:", i), !1;
|
|
10380
10380
|
}
|
|
10381
10381
|
}
|
|
10382
|
-
},
|
|
10382
|
+
}, bl = {
|
|
10383
10383
|
cookie: function(n, e, t) {
|
|
10384
10384
|
const i = /* @__PURE__ */ new Date();
|
|
10385
10385
|
i.setDate(i.getDate() + 1e4), document.cookie = n + "-" + e + "=" + encodeURIComponent(JSON.stringify(t)) + "; expires=" + i.toUTCString();
|
|
@@ -10594,7 +10594,7 @@ const uo = process.env.NODE_ENV === "development", pl = {
|
|
|
10594
10594
|
}), t;
|
|
10595
10595
|
}
|
|
10596
10596
|
};
|
|
10597
|
-
xe.moduleName = "persistence", xe.moduleInitOrder = -10, xe.readers =
|
|
10597
|
+
xe.moduleName = "persistence", xe.moduleInitOrder = -10, xe.readers = ml, xe.writers = bl;
|
|
10598
10598
|
let $i = xe;
|
|
10599
10599
|
const Os = class Os extends P {
|
|
10600
10600
|
constructor(e) {
|
|
@@ -11286,7 +11286,7 @@ const Ns = class Ns extends P {
|
|
|
11286
11286
|
};
|
|
11287
11287
|
Ns.moduleName = "resizeTable";
|
|
11288
11288
|
let Yi = Ns;
|
|
11289
|
-
function
|
|
11289
|
+
function wl(n) {
|
|
11290
11290
|
const e = document.createElement("div"), t = n.getRow()._row.modules.responsiveLayout;
|
|
11291
11291
|
e.classList.add("tabulator-responsive-collapse-toggle"), e.innerHTML = `<svg class='tabulator-responsive-collapse-toggle-open' viewBox="0 0 24 24">
|
|
11292
11292
|
<line x1="7" y1="12" x2="17" y2="12" fill="none" stroke-width="3" stroke-linecap="round" />
|
|
@@ -11304,10 +11304,10 @@ function gl(n) {
|
|
|
11304
11304
|
s.stopImmediatePropagation(), i(!t.open), n.getTable()?.rowManager?.adjustTableSize();
|
|
11305
11305
|
}), i(t.open), e;
|
|
11306
11306
|
}
|
|
11307
|
-
const
|
|
11307
|
+
const vl = {
|
|
11308
11308
|
format: {
|
|
11309
11309
|
formatters: {
|
|
11310
|
-
responsiveCollapse:
|
|
11310
|
+
responsiveCollapse: wl
|
|
11311
11311
|
}
|
|
11312
11312
|
}
|
|
11313
11313
|
}, Jt = class Jt extends P {
|
|
@@ -11469,11 +11469,11 @@ const ml = {
|
|
|
11469
11469
|
}), Object.keys(e).length ? t : "";
|
|
11470
11470
|
}
|
|
11471
11471
|
};
|
|
11472
|
-
Jt.moduleName = "responsiveLayout", Jt.moduleExtensions =
|
|
11472
|
+
Jt.moduleName = "responsiveLayout", Jt.moduleExtensions = vl;
|
|
11473
11473
|
let Qi = Jt;
|
|
11474
|
-
const
|
|
11475
|
-
function
|
|
11476
|
-
const t = G(
|
|
11474
|
+
const yl = M`<cx-checkbox></cx-checkbox>`;
|
|
11475
|
+
function Cl(n, e) {
|
|
11476
|
+
const t = G(yl);
|
|
11477
11477
|
let i = t, s = !1;
|
|
11478
11478
|
t.setAttribute("aria-label", "Select Row"), t.size = "small";
|
|
11479
11479
|
const o = this.table;
|
|
@@ -11493,10 +11493,10 @@ function wl(n, e) {
|
|
|
11493
11493
|
}), o.modules.selectRow?.registerHeaderSelectCheckbox(t);
|
|
11494
11494
|
return i;
|
|
11495
11495
|
}
|
|
11496
|
-
const
|
|
11496
|
+
const El = {
|
|
11497
11497
|
format: {
|
|
11498
11498
|
formatters: {
|
|
11499
|
-
rowSelection:
|
|
11499
|
+
rowSelection: Cl
|
|
11500
11500
|
}
|
|
11501
11501
|
}
|
|
11502
11502
|
}, fo = process.env.NODE_ENV === "development", Yt = class Yt extends P {
|
|
@@ -11722,9 +11722,9 @@ const vl = {
|
|
|
11722
11722
|
this._deselectRow(s, !0);
|
|
11723
11723
|
}
|
|
11724
11724
|
};
|
|
11725
|
-
Yt.moduleName = "selectRow", Yt.moduleExtensions =
|
|
11725
|
+
Yt.moduleName = "selectRow", Yt.moduleExtensions = El;
|
|
11726
11726
|
let Zi = Yt;
|
|
11727
|
-
const
|
|
11727
|
+
const xl = {
|
|
11728
11728
|
range: function(n) {
|
|
11729
11729
|
if (!n || n.length === 0)
|
|
11730
11730
|
return [];
|
|
@@ -11744,7 +11744,7 @@ const yl = {
|
|
|
11744
11744
|
}
|
|
11745
11745
|
return e;
|
|
11746
11746
|
}
|
|
11747
|
-
},
|
|
11747
|
+
}, Rl = {
|
|
11748
11748
|
range: function(n) {
|
|
11749
11749
|
const e = [], t = [], i = this.table.modules.selectRange.activeRange;
|
|
11750
11750
|
let s = !1, o, r, a, l, h;
|
|
@@ -11766,16 +11766,16 @@ const yl = {
|
|
|
11766
11766
|
}
|
|
11767
11767
|
return !1;
|
|
11768
11768
|
}
|
|
11769
|
-
},
|
|
11769
|
+
}, Sl = {
|
|
11770
11770
|
range: function() {
|
|
11771
11771
|
const n = this.modules.selectRange.selectedColumns();
|
|
11772
11772
|
return this.columnManager?.rowHeader && n.unshift(this.columnManager.rowHeader), n;
|
|
11773
11773
|
}
|
|
11774
|
-
},
|
|
11774
|
+
}, kl = process.env.NODE_ENV === "development", Tl = {
|
|
11775
11775
|
range: function() {
|
|
11776
|
-
return this.modules?.selectRange ? this.modules.selectRange.selectedRows() : (
|
|
11776
|
+
return this.modules?.selectRange ? this.modules.selectRange.selectedRows() : (kl && console.warn("SelectRange module not loaded"), []);
|
|
11777
11777
|
}
|
|
11778
|
-
},
|
|
11778
|
+
}, Ml = {
|
|
11779
11779
|
rangeExpandDown: function(n) {
|
|
11780
11780
|
this.dispatch("keybinding-nav-range", n, "down", !1, !0);
|
|
11781
11781
|
},
|
|
@@ -11812,7 +11812,7 @@ const yl = {
|
|
|
11812
11812
|
rangeJumpUp: function(n) {
|
|
11813
11813
|
this.dispatch("keybinding-nav-range", n, "up", !0, !1);
|
|
11814
11814
|
}
|
|
11815
|
-
},
|
|
11815
|
+
}, Dl = {
|
|
11816
11816
|
rangeExpandDown: "shift + 40",
|
|
11817
11817
|
rangeExpandJumpDown: ["ctrl + shift + 40", "meta + shift + 40"],
|
|
11818
11818
|
rangeExpandJumpLeft: ["ctrl + shift + 37", "meta + shift + 37"],
|
|
@@ -11825,21 +11825,21 @@ const yl = {
|
|
|
11825
11825
|
rangeJumpLeft: ["ctrl + 37", "meta + 37"],
|
|
11826
11826
|
rangeJumpRight: ["ctrl + 39", "meta + 39"],
|
|
11827
11827
|
rangeJumpUp: ["ctrl + 38", "meta + 38"]
|
|
11828
|
-
},
|
|
11828
|
+
}, Ll = {
|
|
11829
11829
|
clipboard: {
|
|
11830
|
-
pasteActions:
|
|
11831
|
-
pasteParsers:
|
|
11830
|
+
pasteActions: xl,
|
|
11831
|
+
pasteParsers: Rl
|
|
11832
11832
|
},
|
|
11833
11833
|
export: {
|
|
11834
|
-
columnLookups:
|
|
11835
|
-
rowLookups:
|
|
11834
|
+
columnLookups: Sl,
|
|
11835
|
+
rowLookups: Tl
|
|
11836
11836
|
},
|
|
11837
11837
|
keybindings: {
|
|
11838
|
-
actions:
|
|
11839
|
-
bindings:
|
|
11838
|
+
actions: Ml,
|
|
11839
|
+
bindings: Dl
|
|
11840
11840
|
}
|
|
11841
11841
|
};
|
|
11842
|
-
class
|
|
11842
|
+
class zl {
|
|
11843
11843
|
constructor(e) {
|
|
11844
11844
|
return this._range = e, new Proxy(this, {
|
|
11845
11845
|
get: function(t, i) {
|
|
@@ -11904,7 +11904,7 @@ class Ml {
|
|
|
11904
11904
|
}
|
|
11905
11905
|
}
|
|
11906
11906
|
const go = process.env.NODE_ENV === "development";
|
|
11907
|
-
class
|
|
11907
|
+
class Fl extends fe {
|
|
11908
11908
|
constructor(e, t, i, s) {
|
|
11909
11909
|
super(e), this.rangeManager = t, this.element = null, this.initialized = !1, this.initializing = {
|
|
11910
11910
|
end: !1,
|
|
@@ -12037,7 +12037,7 @@ class Dl extends fe {
|
|
|
12037
12037
|
return t.length ? (i.start = t[0], i.end = t.at(-1)) : go && console.warn("No bounds defined on range"), i;
|
|
12038
12038
|
}
|
|
12039
12039
|
getComponent() {
|
|
12040
|
-
return this.component ??= new
|
|
12040
|
+
return this.component ??= new zl(this), this.component;
|
|
12041
12041
|
}
|
|
12042
12042
|
destroy(e) {
|
|
12043
12043
|
this.destroyed = !0, this.element && this.element.remove(), e && this.rangeManager.rangeRemoved(this), this.initialized && this.dispatchExternal("rangeRemoved", this.getComponent());
|
|
@@ -12048,9 +12048,9 @@ class Dl extends fe {
|
|
|
12048
12048
|
), !this.destroyed;
|
|
12049
12049
|
}
|
|
12050
12050
|
}
|
|
12051
|
-
const rt = process.env.NODE_ENV === "development",
|
|
12051
|
+
const rt = process.env.NODE_ENV === "development", Ol = M`<div class="tabulator-range-cell-hover"></div>`, _t = class _t extends P {
|
|
12052
12052
|
constructor(e) {
|
|
12053
|
-
super(e), this.selecting = Me.Cell, this.mousedown = !1, this.ranges = [], this.overlay = null, this.rowHeader = null, this.debouncedLayoutRanges =
|
|
12053
|
+
super(e), this.selecting = Me.Cell, this.mousedown = !1, this.ranges = [], this.overlay = null, this.rowHeader = null, this.debouncedLayoutRanges = nr(() => {
|
|
12054
12054
|
this.layoutRanges();
|
|
12055
12055
|
}, 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(
|
|
12056
12056
|
"addRange",
|
|
@@ -12084,7 +12084,7 @@ const rt = process.env.NODE_ENV === "development", Ll = M`<div class="tabulator-
|
|
|
12084
12084
|
));
|
|
12085
12085
|
}
|
|
12086
12086
|
initializeTable() {
|
|
12087
|
-
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 = G(
|
|
12087
|
+
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 = G(Ol), this.overlay.appendChild(this.rangeContainer), this.overlay.appendChild(this.hoverRangeCellElement), this.overlay.appendChild(this.activeRangeCellElement), this.table.rowManager?.element && this.table.rowManager.element.addEventListener(
|
|
12088
12088
|
"keydown",
|
|
12089
12089
|
this.keyDownEvent
|
|
12090
12090
|
), 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");
|
|
@@ -12560,7 +12560,7 @@ const rt = process.env.NODE_ENV === "development", Ll = M`<div class="tabulator-
|
|
|
12560
12560
|
const s = this.ranges.shift();
|
|
12561
12561
|
s && s.destroy(!1);
|
|
12562
12562
|
}
|
|
12563
|
-
const i = new
|
|
12563
|
+
const i = new Fl(this.table, this, e, t);
|
|
12564
12564
|
return this.activeRange = i, this.ranges.push(i), this.rangeContainer && i.element && this.rangeContainer.appendChild(i.element), i;
|
|
12565
12565
|
}
|
|
12566
12566
|
resetRanges() {
|
|
@@ -12593,9 +12593,9 @@ const rt = process.env.NODE_ENV === "development", Ll = M`<div class="tabulator-
|
|
|
12593
12593
|
return e == null || e === "";
|
|
12594
12594
|
}
|
|
12595
12595
|
};
|
|
12596
|
-
_t.moduleName = "selectRange", _t.moduleInitOrder = 1, _t.moduleExtensions =
|
|
12596
|
+
_t.moduleName = "selectRange", _t.moduleInitOrder = 1, _t.moduleExtensions = Ll;
|
|
12597
12597
|
let es = _t;
|
|
12598
|
-
function
|
|
12598
|
+
function _l(n, e, t, i, s, o, r) {
|
|
12599
12599
|
const a = r.alignEmptyValues;
|
|
12600
12600
|
let l = 0;
|
|
12601
12601
|
if (!n && n !== 0)
|
|
@@ -12633,7 +12633,7 @@ function zl(n, e, t, i, s, o, r) {
|
|
|
12633
12633
|
}
|
|
12634
12634
|
return (a === "top" && o === "desc" || a === "bottom" && o === "asc") && (l *= -1), l;
|
|
12635
12635
|
}
|
|
12636
|
-
function
|
|
12636
|
+
function Pl(n, e, t, i, s, o, r) {
|
|
12637
12637
|
const a = r.type || "length", l = r.alignEmptyValues;
|
|
12638
12638
|
let h = 0;
|
|
12639
12639
|
const c = this.table;
|
|
@@ -12681,10 +12681,10 @@ function Fl(n, e, t, i, s, o, r) {
|
|
|
12681
12681
|
return a === "string" ? String(p(n)).toLowerCase().localeCompare(String(p(e)).toLowerCase()) : p(e) - p(n);
|
|
12682
12682
|
return (l === "top" && o === "desc" || l === "bottom" && o === "asc") && (h *= -1), h;
|
|
12683
12683
|
}
|
|
12684
|
-
function
|
|
12684
|
+
function Hl(n, e, t, i, s, o, r) {
|
|
12685
12685
|
return (n === !0 || n === "true" || n === "True" || n === 1 ? 1 : 0) - (e === !0 || e === "true" || e === "True" || e === 1 ? 1 : 0);
|
|
12686
12686
|
}
|
|
12687
|
-
const
|
|
12687
|
+
const Al = process.env.NODE_ENV === "development";
|
|
12688
12688
|
function Cs(n, e, t, i, s, o, r) {
|
|
12689
12689
|
const { alignEmptyValues: a, format: l = "dd/MM/yyyy HH:mm:ss" } = r || {}, h = this.table.dependencyRegistry.lookup(
|
|
12690
12690
|
["luxon", "DateTime"],
|
|
@@ -12702,17 +12702,17 @@ function Cs(n, e, t, i, s, o, r) {
|
|
|
12702
12702
|
}
|
|
12703
12703
|
return (a === "top" && o === "desc" || a === "bottom" && o === "asc") && (c *= -1), c;
|
|
12704
12704
|
} else
|
|
12705
|
-
return
|
|
12705
|
+
return Al && console.error("Sort Error - 'datetime' sorter is dependent on luxon.js"), 0;
|
|
12706
12706
|
}
|
|
12707
|
-
function
|
|
12707
|
+
function Nl(n, e, t, i, s, o, r) {
|
|
12708
12708
|
const a = r ?? {};
|
|
12709
12709
|
return a.format || (a.format = "dd/MM/yyyy"), Cs.call(this, n, e, t, i, s, o, a);
|
|
12710
12710
|
}
|
|
12711
|
-
function
|
|
12711
|
+
function Vl(n, e, t, i, s, o, r) {
|
|
12712
12712
|
const a = (c) => c === null || typeof c > "u" || c === "", l = a(n) ? 0 : 1, h = a(e) ? 0 : 1;
|
|
12713
12713
|
return l - h;
|
|
12714
12714
|
}
|
|
12715
|
-
function
|
|
12715
|
+
function Il(n, e, t, i, s, o, r) {
|
|
12716
12716
|
const a = r ?? {}, l = a.alignEmptyValues, h = a.decimalSeparator, c = a.thousandSeparator;
|
|
12717
12717
|
let d = 0, p = String(n), u = String(e);
|
|
12718
12718
|
c && (p = p.split(c).join(""), u = u.split(c).join("")), h && (p = p.split(h).join("."), u = u.split(h).join("."));
|
|
@@ -12725,7 +12725,7 @@ function Al(n, e, t, i, s, o, r) {
|
|
|
12725
12725
|
return f - w;
|
|
12726
12726
|
return (l === "top" && o === "desc" || l === "bottom" && o === "asc") && (d *= -1), d;
|
|
12727
12727
|
}
|
|
12728
|
-
function
|
|
12728
|
+
function Bl(n, e, t, i, s, o, r = {}) {
|
|
12729
12729
|
const a = r.alignEmptyValues;
|
|
12730
12730
|
let l = 0, h;
|
|
12731
12731
|
const c = (d) => d == null || d === "";
|
|
@@ -12746,21 +12746,21 @@ function Nl(n, e, t, i, s, o, r = {}) {
|
|
|
12746
12746
|
}
|
|
12747
12747
|
return (a === "top" && o === "desc" || a === "bottom" && o === "asc") && (l *= -1), l;
|
|
12748
12748
|
}
|
|
12749
|
-
function
|
|
12749
|
+
function Wl(n, e, t, i, s, o, r) {
|
|
12750
12750
|
const a = r ?? {}, l = a.format ? a : { ...a, format: "HH:mm" };
|
|
12751
12751
|
return Cs.call(this, n, e, t, i, s, o, l);
|
|
12752
12752
|
}
|
|
12753
|
-
const
|
|
12754
|
-
alphanum:
|
|
12755
|
-
array:
|
|
12756
|
-
boolean:
|
|
12757
|
-
date:
|
|
12753
|
+
const jl = {
|
|
12754
|
+
alphanum: _l,
|
|
12755
|
+
array: Pl,
|
|
12756
|
+
boolean: Hl,
|
|
12757
|
+
date: Nl,
|
|
12758
12758
|
datetime: Cs,
|
|
12759
|
-
exists:
|
|
12760
|
-
number:
|
|
12761
|
-
string:
|
|
12762
|
-
time:
|
|
12763
|
-
}, mo = process.env.NODE_ENV === "development",
|
|
12759
|
+
exists: Vl,
|
|
12760
|
+
number: Il,
|
|
12761
|
+
string: Bl,
|
|
12762
|
+
time: Wl
|
|
12763
|
+
}, mo = process.env.NODE_ENV === "development", Gl = {
|
|
12764
12764
|
asc: "ascending",
|
|
12765
12765
|
desc: "descending",
|
|
12766
12766
|
none: "none"
|
|
@@ -12956,7 +12956,7 @@ const Il = {
|
|
|
12956
12956
|
}
|
|
12957
12957
|
// set the column header sort direction
|
|
12958
12958
|
setColumnHeader(e, t) {
|
|
12959
|
-
e.modules.sort.dir = t, e.getElement().setAttribute("aria-sort",
|
|
12959
|
+
e.modules.sort.dir = t, e.getElement().setAttribute("aria-sort", Gl[t]), this.setColumnHeaderSortIcon(e, t);
|
|
12960
12960
|
}
|
|
12961
12961
|
setColumnHeaderSortIcon(e, t) {
|
|
12962
12962
|
const i = e.modules.sort.element;
|
|
@@ -13012,9 +13012,9 @@ const Il = {
|
|
|
13012
13012
|
return 0;
|
|
13013
13013
|
}
|
|
13014
13014
|
};
|
|
13015
|
-
ht.moduleName = "sort", ht.sorters =
|
|
13015
|
+
ht.moduleName = "sort", ht.sorters = jl;
|
|
13016
13016
|
let ts = ht;
|
|
13017
|
-
class
|
|
13017
|
+
class $l {
|
|
13018
13018
|
constructor(e, t) {
|
|
13019
13019
|
this.columnCount = e, this.rowCount = t, this.columnString = [], this.columns = [], this.rows = [];
|
|
13020
13020
|
}
|
|
@@ -13052,7 +13052,7 @@ class Wl {
|
|
|
13052
13052
|
this.columnCount = e;
|
|
13053
13053
|
}
|
|
13054
13054
|
}
|
|
13055
|
-
class
|
|
13055
|
+
class Wo {
|
|
13056
13056
|
constructor(e) {
|
|
13057
13057
|
return this._sheet = e, new Proxy(this, {
|
|
13058
13058
|
get: function(t, i) {
|
|
@@ -13103,7 +13103,7 @@ class Io {
|
|
|
13103
13103
|
}
|
|
13104
13104
|
class bo extends fe {
|
|
13105
13105
|
constructor(e, t) {
|
|
13106
|
-
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
|
|
13106
|
+
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 $l(this.columnCount, this.rowCount), this.defaultColumnDefinition = {
|
|
13107
13107
|
headerHozAlign: "center",
|
|
13108
13108
|
headerSort: !1,
|
|
13109
13109
|
title: "",
|
|
@@ -13158,7 +13158,7 @@ class bo extends fe {
|
|
|
13158
13158
|
}
|
|
13159
13159
|
// #region Helper Functions
|
|
13160
13160
|
getComponent() {
|
|
13161
|
-
return new
|
|
13161
|
+
return new Wo(this);
|
|
13162
13162
|
}
|
|
13163
13163
|
getDefinition() {
|
|
13164
13164
|
return {
|
|
@@ -13304,7 +13304,7 @@ Data: `,
|
|
|
13304
13304
|
this.sheets.length > 1 ? t > -1 && (this.sheets.splice(t, 1), e.destroy(), this.activeSheet === e && (i = this.sheets[t - 1] || this.sheets[0], i ? this.loadSheet(i) : this.activeSheet = null)) : Je && console.warn("Unable to remove sheet, at least one sheet must be active");
|
|
13305
13305
|
}
|
|
13306
13306
|
lookupSheet(e) {
|
|
13307
|
-
return e ? e instanceof bo ? e : e instanceof
|
|
13307
|
+
return e ? e instanceof bo ? e : e instanceof Wo ? e._sheet : this.sheets.find((t) => t.key === e) ?? null : this.activeSheet;
|
|
13308
13308
|
}
|
|
13309
13309
|
/**
|
|
13310
13310
|
* Public Functions
|
|
@@ -13418,7 +13418,7 @@ const Is = class Is extends P {
|
|
|
13418
13418
|
};
|
|
13419
13419
|
Is.moduleName = "tooltip";
|
|
13420
13420
|
let ss = Is;
|
|
13421
|
-
const
|
|
13421
|
+
const Ul = {
|
|
13422
13422
|
// must be alphanumeric
|
|
13423
13423
|
alphanumeric: function(n, e, t) {
|
|
13424
13424
|
return e === "" || e === null || typeof e > "u" ? !0 : new RegExp(/^[a-z0-9]+$/i).test(e);
|
|
@@ -13498,7 +13498,7 @@ const jl = {
|
|
|
13498
13498
|
a !== s && e === o.getFieldValue(a) && (i = !1);
|
|
13499
13499
|
}), i;
|
|
13500
13500
|
}
|
|
13501
|
-
},
|
|
13501
|
+
}, Kl = process.env.NODE_ENV === "development", Pt = class Pt extends P {
|
|
13502
13502
|
constructor(e) {
|
|
13503
13503
|
super(e), this.invalidCells = [], this.registerTableOption("validationMode", "blocking"), this.registerColumnOption("validator"), this.registerTableFunction(
|
|
13504
13504
|
"getInvalidCells",
|
|
@@ -13629,7 +13629,7 @@ const jl = {
|
|
|
13629
13629
|
func: i,
|
|
13630
13630
|
params: t,
|
|
13631
13631
|
type: typeof e == "function" ? "function" : e
|
|
13632
|
-
} : (
|
|
13632
|
+
} : (Kl && console.warn(
|
|
13633
13633
|
"Validator Setup Error - No matching validator found:",
|
|
13634
13634
|
e
|
|
13635
13635
|
), !1);
|
|
@@ -13669,7 +13669,7 @@ const jl = {
|
|
|
13669
13669
|
}
|
|
13670
13670
|
}
|
|
13671
13671
|
};
|
|
13672
|
-
Pt.moduleName = "validate", Pt.validators =
|
|
13672
|
+
Pt.moduleName = "validate", Pt.validators = Ul;
|
|
13673
13673
|
let os = Pt;
|
|
13674
13674
|
const pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
13675
13675
|
__proto__: null,
|
|
@@ -13714,7 +13714,7 @@ const pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
13714
13714
|
TooltipModule: ss,
|
|
13715
13715
|
ValidateModule: os
|
|
13716
13716
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
13717
|
-
class
|
|
13717
|
+
class ql extends ri {
|
|
13718
13718
|
constructor(e) {
|
|
13719
13719
|
super(e);
|
|
13720
13720
|
}
|
|
@@ -13734,7 +13734,7 @@ class $l extends ri {
|
|
|
13734
13734
|
}
|
|
13735
13735
|
}
|
|
13736
13736
|
const fi = process.env.NODE_ENV === "development";
|
|
13737
|
-
class
|
|
13737
|
+
class Xl extends ri {
|
|
13738
13738
|
constructor(e) {
|
|
13739
13739
|
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 = [];
|
|
13740
13740
|
}
|
|
@@ -14033,8 +14033,8 @@ class Ul extends ri {
|
|
|
14033
14033
|
}
|
|
14034
14034
|
}
|
|
14035
14035
|
}
|
|
14036
|
-
const
|
|
14037
|
-
class
|
|
14036
|
+
const Jl = process.env.NODE_ENV === "development";
|
|
14037
|
+
class jo {
|
|
14038
14038
|
constructor(e, t, i = {}) {
|
|
14039
14039
|
this.registeredDefaults = {}, this.table = e, this.msgType = t, this.registeredDefaults = { ...i };
|
|
14040
14040
|
}
|
|
@@ -14045,19 +14045,19 @@ class Bo {
|
|
|
14045
14045
|
const i = { ...this.registeredDefaults }, s = this.table.options.debugInvalidOptions || t.debugInvalidOptions === !0;
|
|
14046
14046
|
Object.assign(i, e);
|
|
14047
14047
|
for (const o in t)
|
|
14048
|
-
Object.hasOwn(t, o) && (Object.hasOwn(i, o) || (
|
|
14048
|
+
Object.hasOwn(t, o) && (Object.hasOwn(i, o) || (Jl && s && console.warn("Invalid " + this.msgType + " option:", o), i[o] = t[o]));
|
|
14049
14049
|
for (const o in i)
|
|
14050
14050
|
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]);
|
|
14051
14051
|
return i;
|
|
14052
14052
|
}
|
|
14053
14053
|
}
|
|
14054
14054
|
const wo = process.env.NODE_ENV === "development";
|
|
14055
|
-
class
|
|
14055
|
+
class Yl extends fe {
|
|
14056
14056
|
constructor(e) {
|
|
14057
|
-
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
|
|
14057
|
+
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 jo(
|
|
14058
14058
|
this.table,
|
|
14059
14059
|
"column definition",
|
|
14060
|
-
|
|
14060
|
+
Oo
|
|
14061
14061
|
), this.redrawBlock = !1, this.redrawBlockUpdate = null, this.renderer = null;
|
|
14062
14062
|
}
|
|
14063
14063
|
// //////////// Setup Functions /////////////////
|
|
@@ -14080,8 +14080,8 @@ class ql extends fe {
|
|
|
14080
14080
|
initializeRenderer() {
|
|
14081
14081
|
let e;
|
|
14082
14082
|
const t = {
|
|
14083
|
-
basic:
|
|
14084
|
-
virtual:
|
|
14083
|
+
basic: ql,
|
|
14084
|
+
virtual: Xl
|
|
14085
14085
|
};
|
|
14086
14086
|
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()) : wo && console.error(
|
|
14087
14087
|
"Unable to find matching renderer:",
|
|
@@ -14431,7 +14431,7 @@ class ql extends fe {
|
|
|
14431
14431
|
this.element && U.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();
|
|
14432
14432
|
}
|
|
14433
14433
|
}
|
|
14434
|
-
const
|
|
14434
|
+
const Ql = {
|
|
14435
14435
|
debugEventsExternal: !1,
|
|
14436
14436
|
// flag to console log events
|
|
14437
14437
|
debugEventsInternal: !1,
|
|
@@ -14491,7 +14491,7 @@ const Xl = {
|
|
|
14491
14491
|
dataReceiveParams: {}
|
|
14492
14492
|
// dependencies: {},
|
|
14493
14493
|
};
|
|
14494
|
-
class
|
|
14494
|
+
class Zl extends fe {
|
|
14495
14495
|
constructor(e) {
|
|
14496
14496
|
super(e), this.active = !1, this.element = this.createElement(), this.containerElement = this.createContainerElement(), this.external = !1;
|
|
14497
14497
|
}
|
|
@@ -14549,7 +14549,7 @@ class Jl extends fe {
|
|
|
14549
14549
|
this.dispatch("footer-redraw");
|
|
14550
14550
|
}
|
|
14551
14551
|
}
|
|
14552
|
-
class
|
|
14552
|
+
class eh extends ri {
|
|
14553
14553
|
constructor(e) {
|
|
14554
14554
|
super(e), this.scrollTop = 0, this.scrollLeft = 0, this.verticalFillMode = "fill";
|
|
14555
14555
|
}
|
|
@@ -14598,7 +14598,7 @@ class Yl extends ri {
|
|
|
14598
14598
|
return this.rows();
|
|
14599
14599
|
}
|
|
14600
14600
|
}
|
|
14601
|
-
class
|
|
14601
|
+
class th extends ri {
|
|
14602
14602
|
// total scroll height of virtual DOM
|
|
14603
14603
|
constructor(e) {
|
|
14604
14604
|
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";
|
|
@@ -14844,8 +14844,8 @@ class Ql extends ri {
|
|
|
14844
14844
|
t.setCellHeight();
|
|
14845
14845
|
}
|
|
14846
14846
|
}
|
|
14847
|
-
const nt = process.env.NODE_ENV === "development",
|
|
14848
|
-
class
|
|
14847
|
+
const nt = process.env.NODE_ENV === "development", ih = M`<div class="tabulator-tableholder-wrapper"></div>`;
|
|
14848
|
+
class sh extends fe {
|
|
14849
14849
|
/**
|
|
14850
14850
|
* True when table has an explicit height (--table-height is set to a non-auto value (e.g. 100%, 500px));
|
|
14851
14851
|
* false when height is variable (--table-height is "auto" or unset).
|
|
@@ -14859,7 +14859,7 @@ class eh extends fe {
|
|
|
14859
14859
|
}
|
|
14860
14860
|
// ////////////// Setup Functions /////////////////
|
|
14861
14861
|
createWrapperElement() {
|
|
14862
|
-
return G(
|
|
14862
|
+
return G(ih);
|
|
14863
14863
|
}
|
|
14864
14864
|
createHolderElement() {
|
|
14865
14865
|
const e = document.createElement("div");
|
|
@@ -15290,8 +15290,8 @@ Data: `,
|
|
|
15290
15290
|
initializeRenderer() {
|
|
15291
15291
|
let e;
|
|
15292
15292
|
const t = {
|
|
15293
|
-
basic:
|
|
15294
|
-
virtual:
|
|
15293
|
+
basic: eh,
|
|
15294
|
+
virtual: th
|
|
15295
15295
|
};
|
|
15296
15296
|
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()) : nt && console.error(
|
|
15297
15297
|
"Unable to find matching renderer:",
|
|
@@ -15421,7 +15421,7 @@ Data: `,
|
|
|
15421
15421
|
this.element.dispatchEvent(new Event("scroll"));
|
|
15422
15422
|
}
|
|
15423
15423
|
}
|
|
15424
|
-
class
|
|
15424
|
+
class oh extends fe {
|
|
15425
15425
|
constructor(e) {
|
|
15426
15426
|
super(e), this.type = null, this.element = this._createAlertElement(), this.msgElement = this._createMsgElement(), this.element.appendChild(this.msgElement);
|
|
15427
15427
|
}
|
|
@@ -15450,7 +15450,7 @@ class th extends fe {
|
|
|
15450
15450
|
}
|
|
15451
15451
|
}
|
|
15452
15452
|
const vo = process.env.NODE_ENV === "development";
|
|
15453
|
-
class
|
|
15453
|
+
class rh {
|
|
15454
15454
|
constructor(e) {
|
|
15455
15455
|
this.bindings = {}, this.table = e;
|
|
15456
15456
|
}
|
|
@@ -15598,8 +15598,8 @@ const jt = process.env.NODE_ENV === "development", Qt = class Qt extends fe {
|
|
|
15598
15598
|
};
|
|
15599
15599
|
Qt.DEBOUNCE_DELAY = 500;
|
|
15600
15600
|
let rs = Qt;
|
|
15601
|
-
const
|
|
15602
|
-
class
|
|
15601
|
+
const nh = process.env.NODE_ENV === "development";
|
|
15602
|
+
class ah extends fe {
|
|
15603
15603
|
constructor(e) {
|
|
15604
15604
|
super(e), this.deps = {}, this.props = {};
|
|
15605
15605
|
}
|
|
@@ -15634,20 +15634,20 @@ class oh extends fe {
|
|
|
15634
15634
|
return this.deps[e] ? i = this.deps[e] : globalThis[e] ? (this.deps[e] = globalThis[e], i = this.deps[e]) : t || this.error(e), i;
|
|
15635
15635
|
}
|
|
15636
15636
|
error(e) {
|
|
15637
|
-
|
|
15637
|
+
nh && console.error(
|
|
15638
15638
|
"Unable to find dependency",
|
|
15639
15639
|
e,
|
|
15640
15640
|
"Please check documentation and ensure you have imported the required library into your project"
|
|
15641
15641
|
);
|
|
15642
15642
|
}
|
|
15643
15643
|
}
|
|
15644
|
-
const
|
|
15645
|
-
class
|
|
15644
|
+
const lh = process.env.NODE_ENV === "development";
|
|
15645
|
+
class hh extends fe {
|
|
15646
15646
|
constructor(e) {
|
|
15647
15647
|
super(e);
|
|
15648
15648
|
}
|
|
15649
15649
|
_warnUser(...e) {
|
|
15650
|
-
this.options("debugDeprecation") &&
|
|
15650
|
+
this.options("debugDeprecation") && lh && console.warn(...e);
|
|
15651
15651
|
}
|
|
15652
15652
|
check(e, t, i) {
|
|
15653
15653
|
if (this.options(e) === void 0 || this.options(e) === null)
|
|
@@ -15680,7 +15680,7 @@ class nh extends fe {
|
|
|
15680
15680
|
}
|
|
15681
15681
|
}
|
|
15682
15682
|
const gi = process.env.NODE_ENV === "development";
|
|
15683
|
-
class
|
|
15683
|
+
class ch {
|
|
15684
15684
|
constructor(e, t, i) {
|
|
15685
15685
|
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;
|
|
15686
15686
|
}
|
|
@@ -15733,8 +15733,8 @@ class ah {
|
|
|
15733
15733
|
return gi && (this.debug === !0 || Array.isArray(this.debug) && this.debug.includes(e)) && console.log(i, ...t), this._dispatch(e, ...t);
|
|
15734
15734
|
}
|
|
15735
15735
|
}
|
|
15736
|
-
const
|
|
15737
|
-
class
|
|
15736
|
+
const dh = process.env.NODE_ENV === "development";
|
|
15737
|
+
class uh extends fe {
|
|
15738
15738
|
constructor(e) {
|
|
15739
15739
|
super(e), this.el = null, this.abortClasses = ["tabulator-headers", "tabulator-table"], this.previousTargets = {}, this.listeners = [
|
|
15740
15740
|
"click",
|
|
@@ -15885,7 +15885,7 @@ class hh extends fe {
|
|
|
15885
15885
|
s.components.includes("column") && (h = this.table.columnManager?.findColumn(c));
|
|
15886
15886
|
break;
|
|
15887
15887
|
case "cell":
|
|
15888
|
-
s.components.includes("cell") && (o.row instanceof pe ? h = o.row.findCell(c) :
|
|
15888
|
+
s.components.includes("cell") && (o.row instanceof pe ? h = o.row.findCell(c) : dh && t.row && console.warn(
|
|
15889
15889
|
"Event Target Lookup Error - The row this cell is attached to cannot be found, has the table been reinitialized without being destroyed first?"
|
|
15890
15890
|
));
|
|
15891
15891
|
break;
|
|
@@ -15916,7 +15916,7 @@ class hh extends fe {
|
|
|
15916
15916
|
}
|
|
15917
15917
|
}
|
|
15918
15918
|
const Lt = process.env.NODE_ENV === "development";
|
|
15919
|
-
class
|
|
15919
|
+
class ph {
|
|
15920
15920
|
constructor(e) {
|
|
15921
15921
|
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;
|
|
15922
15922
|
}
|
|
@@ -15989,7 +15989,7 @@ class ch {
|
|
|
15989
15989
|
return Lt && (this.debug === !0 || Array.isArray(this.debug) && this.debug.includes(e)) && console.log(i, t), this._confirm(e, t);
|
|
15990
15990
|
}
|
|
15991
15991
|
}
|
|
15992
|
-
function
|
|
15992
|
+
function fh(n) {
|
|
15993
15993
|
let e = this.table.element?.clientWidth || 0;
|
|
15994
15994
|
const t = this.table.columnManager?.contentsElement;
|
|
15995
15995
|
if (t) {
|
|
@@ -16053,7 +16053,7 @@ function dh(n) {
|
|
|
16053
16053
|
w.column.setWidth(w.width);
|
|
16054
16054
|
});
|
|
16055
16055
|
}
|
|
16056
|
-
async function
|
|
16056
|
+
async function gh(n, e) {
|
|
16057
16057
|
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();
|
|
16058
16058
|
}
|
|
16059
16059
|
async function yo(n) {
|
|
@@ -16061,7 +16061,7 @@ async function yo(n) {
|
|
|
16061
16061
|
await e.reinitializeWidth();
|
|
16062
16062
|
this.table.options.responsiveLayout && this.table.modExists("responsiveLayout", !0) && this.table.modules.responsiveLayout.update();
|
|
16063
16063
|
}
|
|
16064
|
-
async function
|
|
16064
|
+
async function mh(n) {
|
|
16065
16065
|
let e = 0, t = this.table.element?.clientWidth || 0;
|
|
16066
16066
|
const i = this.table.columnManager?.contentsElement;
|
|
16067
16067
|
if (i) {
|
|
@@ -16074,20 +16074,20 @@ async function ph(n) {
|
|
|
16074
16074
|
a.widthFixed || await a.reinitializeWidth(), (this.table.options.responsiveLayout ? a.modules.responsive.visible : !a.hidden) && (r = a), a.hidden || (e += a.getWidth());
|
|
16075
16075
|
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();
|
|
16076
16076
|
}
|
|
16077
|
-
const
|
|
16078
|
-
fitColumns:
|
|
16079
|
-
fitData:
|
|
16077
|
+
const bh = {
|
|
16078
|
+
fitColumns: fh,
|
|
16079
|
+
fitData: gh,
|
|
16080
16080
|
fitDataFill: yo,
|
|
16081
|
-
fitDataStretch:
|
|
16081
|
+
fitDataStretch: mh,
|
|
16082
16082
|
fitDataTable: yo
|
|
16083
|
-
},
|
|
16083
|
+
}, wh = process.env.NODE_ENV === "development", ct = class ct extends P {
|
|
16084
16084
|
constructor(e) {
|
|
16085
16085
|
super(e), this.mode = null, this.registerTableOption("layout", "fitData"), this.registerTableOption("layoutColumnsOnNewData", !1), this.registerColumnOption("widthGrow"), this.registerColumnOption("widthShrink");
|
|
16086
16086
|
}
|
|
16087
16087
|
// initialize layout system
|
|
16088
16088
|
initialize() {
|
|
16089
16089
|
const e = this.table.options.layout;
|
|
16090
|
-
e && ct.modes[e] ? this.mode = e : (
|
|
16090
|
+
e && ct.modes[e] ? this.mode = e : (wh && console.warn(
|
|
16091
16091
|
"Layout Error - invalid mode set, defaulting to 'fitData' : " + e
|
|
16092
16092
|
), this.mode = "fitData"), this.table.element.setAttribute("tabulator-layout", this.mode), this.subscribe("column-init", this.initializeColumn.bind(this));
|
|
16093
16093
|
}
|
|
@@ -16111,9 +16111,9 @@ const fh = {
|
|
|
16111
16111
|
), t && this.table.rowManager?.normalizeHeight(!0), this.dispatch("layout-refreshed");
|
|
16112
16112
|
}
|
|
16113
16113
|
};
|
|
16114
|
-
ct.moduleName = "layout", ct.modes =
|
|
16114
|
+
ct.moduleName = "layout", ct.modes = bh;
|
|
16115
16115
|
let ns = ct;
|
|
16116
|
-
const
|
|
16116
|
+
const vh = {
|
|
16117
16117
|
default: {
|
|
16118
16118
|
columns: {},
|
|
16119
16119
|
data: {
|
|
@@ -16229,7 +16229,7 @@ const mh = {
|
|
|
16229
16229
|
});
|
|
16230
16230
|
}
|
|
16231
16231
|
};
|
|
16232
|
-
Ht.moduleName = "localize", Ht.langs =
|
|
16232
|
+
Ht.moduleName = "localize", Ht.langs = vh;
|
|
16233
16233
|
let as = Ht;
|
|
16234
16234
|
const Eo = process.env.NODE_ENV === "development", Bs = class Bs extends P {
|
|
16235
16235
|
constructor(e) {
|
|
@@ -16261,12 +16261,12 @@ const Eo = process.env.NODE_ENV === "development", Bs = class Bs extends P {
|
|
|
16261
16261
|
};
|
|
16262
16262
|
Bs.moduleName = "comms";
|
|
16263
16263
|
let ls = Bs;
|
|
16264
|
-
const
|
|
16264
|
+
const yh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16265
16265
|
__proto__: null,
|
|
16266
16266
|
CommsModule: ls,
|
|
16267
16267
|
LayoutModule: ns,
|
|
16268
16268
|
LocalizeModule: as
|
|
16269
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
16269
|
+
}, Symbol.toStringTag, { value: "Module" })), Ch = process.env.NODE_ENV === "development", Le = class Le {
|
|
16270
16270
|
static findTable(e) {
|
|
16271
16271
|
const t = Le.registry.lookupTable(e, !0);
|
|
16272
16272
|
return Array.isArray(t) && !t.length ? !1 : t;
|
|
@@ -16287,7 +16287,7 @@ Le.registry = {
|
|
|
16287
16287
|
} else typeof HTMLElement < "u" && e instanceof HTMLElement || e instanceof Le ? (o = Le.registry.matchElement(e), o && i.push(o)) : Array.isArray(e) ? e.forEach((r) => {
|
|
16288
16288
|
const a = Le.registry.lookupTable(r, !0);
|
|
16289
16289
|
i.push(...a);
|
|
16290
|
-
}) :
|
|
16290
|
+
}) : Ch && !t && console.warn("Table Connection Error - Invalid Selector", e);
|
|
16291
16291
|
return i;
|
|
16292
16292
|
},
|
|
16293
16293
|
matchElement(e) {
|
|
@@ -16304,7 +16304,7 @@ const Gt = process.env.NODE_ENV === "development", K = class K extends hs {
|
|
|
16304
16304
|
super(), this.modulesCore = [], this.modulesRegular = [];
|
|
16305
16305
|
}
|
|
16306
16306
|
static initializeModuleBinder(e) {
|
|
16307
|
-
K.modulesRegistered || (K.modulesRegistered = !0, K._registerModules(
|
|
16307
|
+
K.modulesRegistered || (K.modulesRegistered = !0, K._registerModules(yh, !0), e && K._registerModules(e));
|
|
16308
16308
|
}
|
|
16309
16309
|
static _extendModule(e, t, i) {
|
|
16310
16310
|
if (K.moduleBindings[e]) {
|
|
@@ -16394,7 +16394,7 @@ const Z = process.env.NODE_ENV === "development", Ue = class Ue extends cs {
|
|
|
16394
16394
|
Ue.initializeModuleBinder(), Ue._registerModule(...e);
|
|
16395
16395
|
}
|
|
16396
16396
|
constructor(e, t, i) {
|
|
16397
|
-
super(), Ue.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
|
|
16397
|
+
super(), Ue.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 rh(this), this.dataLoader = null, this.modules = {}, this.modulesCore = [], this.modulesRegular = [], this.deprecationAdvisor = new hh(this), this.optionsList = new jo(this, "table constructor"), this.dependencyRegistry = new ah(this), this.initialized = !1, this.destroyed = !1, this.initializeElement(e) && (this.initializeCoreSystems(t), setTimeout(() => {
|
|
16398
16398
|
this._create();
|
|
16399
16399
|
})), this.constructor.registry.register(this);
|
|
16400
16400
|
}
|
|
@@ -16414,11 +16414,11 @@ const Z = process.env.NODE_ENV === "development", Ue = class Ue extends cs {
|
|
|
16414
16414
|
), !1;
|
|
16415
16415
|
}
|
|
16416
16416
|
initializeCoreSystems(e) {
|
|
16417
|
-
this.columnManager = new
|
|
16417
|
+
this.columnManager = new Yl(this), this.rowManager = new sh(this), this.footerManager = new Zl(this), this.dataLoader = new rs(this), this.alertManager = new oh(this), this.toolbar = e?.toolbarElement, this._bindModules(), this.options = this.optionsList.generate(Ue.defaultOptions, e), this._clearObjectPointers(), this._mapDeprecatedFunctionality(), this.externalEvents = new ch(
|
|
16418
16418
|
this,
|
|
16419
16419
|
this.options,
|
|
16420
16420
|
this.options.debugEventsExternal
|
|
16421
|
-
), this.eventBus = new
|
|
16421
|
+
), this.eventBus = new ph(this.options.debugEventsInternal), this.interactionMonitor = new uh(this), this.dataLoader.initialize(), this.footerManager.initialize(), this.dependencyRegistry.initialize();
|
|
16422
16422
|
}
|
|
16423
16423
|
// convert deprecated functionality to new functions
|
|
16424
16424
|
_mapDeprecatedFunctionality() {
|
|
@@ -16784,9 +16784,9 @@ const Z = process.env.NODE_ENV === "development", Ue = class Ue extends cs {
|
|
|
16784
16784
|
return !t && Z && console.error("Tabulator module not installed: " + e), t;
|
|
16785
16785
|
}
|
|
16786
16786
|
};
|
|
16787
|
-
Ue.defaultOptions =
|
|
16787
|
+
Ue.defaultOptions = Ql;
|
|
16788
16788
|
let it = Ue;
|
|
16789
|
-
class
|
|
16789
|
+
class Eh extends it {
|
|
16790
16790
|
static extendModule(...e) {
|
|
16791
16791
|
it.initializeModuleBinder(pi), it._extendModule(...e);
|
|
16792
16792
|
}
|
|
@@ -16798,7 +16798,7 @@ class vh extends it {
|
|
|
16798
16798
|
}
|
|
16799
16799
|
// #endregion
|
|
16800
16800
|
}
|
|
16801
|
-
class
|
|
16801
|
+
class gd {
|
|
16802
16802
|
constructor(e) {
|
|
16803
16803
|
this.type = e, this.element = this._createElement();
|
|
16804
16804
|
}
|
|
@@ -16838,7 +16838,7 @@ class dd {
|
|
|
16838
16838
|
rendered() {
|
|
16839
16839
|
}
|
|
16840
16840
|
}
|
|
16841
|
-
class
|
|
16841
|
+
class xh {
|
|
16842
16842
|
#e;
|
|
16843
16843
|
#i;
|
|
16844
16844
|
#s = /* @__PURE__ */ new Set();
|
|
@@ -16904,11 +16904,11 @@ class yh {
|
|
|
16904
16904
|
return t.includes("-") && !customElements.get(t);
|
|
16905
16905
|
}
|
|
16906
16906
|
}
|
|
16907
|
-
const
|
|
16908
|
-
var
|
|
16909
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
16907
|
+
const Rh = te`.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}`;
|
|
16908
|
+
var Sh = Object.defineProperty, kh = Object.getOwnPropertyDescriptor, pt = (n, e, t, i) => {
|
|
16909
|
+
for (var s = i > 1 ? void 0 : i ? kh(e, t) : e, o = n.length - 1, r; o >= 0; o--)
|
|
16910
16910
|
(r = n[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
|
|
16911
|
-
return i && s &&
|
|
16911
|
+
return i && s && Sh(e, t, s), s;
|
|
16912
16912
|
};
|
|
16913
16913
|
let We = class extends xt {
|
|
16914
16914
|
constructor() {
|
|
@@ -16918,7 +16918,7 @@ let We = class extends xt {
|
|
|
16918
16918
|
return this;
|
|
16919
16919
|
}
|
|
16920
16920
|
handleActionChange() {
|
|
16921
|
-
this.groupedDropdownItems =
|
|
16921
|
+
this.groupedDropdownItems = ir(
|
|
16922
16922
|
this.action?.options?.dropdownItems ?? [],
|
|
16923
16923
|
"section"
|
|
16924
16924
|
), this.sections = Object.keys(this.groupedDropdownItems);
|
|
@@ -16937,7 +16937,7 @@ let We = class extends xt {
|
|
|
16937
16937
|
return Ct(
|
|
16938
16938
|
n,
|
|
16939
16939
|
(e) => e.name,
|
|
16940
|
-
(e) => M`<cx-menu-item class="table-row-actions__menu-item" data-action=${e.name} style=${ut(e.style ?? {})} @click=${this.handleActionClick}>${
|
|
16940
|
+
(e) => M`<cx-menu-item class="table-row-actions__menu-item" data-action=${e.name} style=${ut(e.style ?? {})} @click=${this.handleActionClick}>${Ce(
|
|
16941
16941
|
e.prefixIcon,
|
|
16942
16942
|
() => M`<cx-icon name=${e.prefixIcon} slot="prefix"></cx-icon>`
|
|
16943
16943
|
)}
|
|
@@ -16949,7 +16949,7 @@ let We = class extends xt {
|
|
|
16949
16949
|
}
|
|
16950
16950
|
render() {
|
|
16951
16951
|
if (!this.action)
|
|
16952
|
-
return
|
|
16952
|
+
return er;
|
|
16953
16953
|
const n = this.action?.icon ?? "more_horiz";
|
|
16954
16954
|
return M`<cx-dropdown hoist><cx-tooltip slot="trigger" hoist content=${this.action?.tooltip} ?disabled=${!this.action?.tooltip?.trim()}><cx-button class="table-row-actions__dropdown__trigger" aria-label=${this.action?.tooltip ?? this.action?.name ?? this.localize.term("more")}><cx-icon name=${n} style=${ut(this.action.options?.iconStyle ?? {})}></cx-icon></cx-button></cx-tooltip><cx-menu>${Ct(
|
|
16955
16955
|
this.sections,
|
|
@@ -16968,7 +16968,7 @@ We.dependencies = {
|
|
|
16968
16968
|
"cx-icon": ti,
|
|
16969
16969
|
"cx-menu": si,
|
|
16970
16970
|
"cx-menu-item": oi,
|
|
16971
|
-
"cx-menu-section":
|
|
16971
|
+
"cx-menu-section": cr,
|
|
16972
16972
|
"cx-tooltip": fs
|
|
16973
16973
|
};
|
|
16974
16974
|
pt([
|
|
@@ -16996,10 +16996,10 @@ pt([
|
|
|
16996
16996
|
We = pt([
|
|
16997
16997
|
Rt("cx-table-row-actions-dropdown")
|
|
16998
16998
|
], We);
|
|
16999
|
-
var
|
|
17000
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
16999
|
+
var Th = Object.defineProperty, Mh = Object.getOwnPropertyDescriptor, li = (n, e, t, i) => {
|
|
17000
|
+
for (var s = i > 1 ? void 0 : i ? Mh(e, t) : e, o = n.length - 1, r; o >= 0; o--)
|
|
17001
17001
|
(r = n[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
|
|
17002
|
-
return i && s &&
|
|
17002
|
+
return i && s && Th(e, t, s), s;
|
|
17003
17003
|
};
|
|
17004
17004
|
let st = class extends xt {
|
|
17005
17005
|
constructor() {
|
|
@@ -17025,7 +17025,7 @@ let st = class extends xt {
|
|
|
17025
17025
|
return M`<cx-space spacing="2x-small">${Ct(
|
|
17026
17026
|
this.actions,
|
|
17027
17027
|
(n) => n.name,
|
|
17028
|
-
(n) =>
|
|
17028
|
+
(n) => hr(n.type ?? "button", [
|
|
17029
17029
|
[
|
|
17030
17030
|
"button",
|
|
17031
17031
|
() => this.renderButton(n)
|
|
@@ -17038,7 +17038,7 @@ let st = class extends xt {
|
|
|
17038
17038
|
)}</cx-space>`;
|
|
17039
17039
|
}
|
|
17040
17040
|
};
|
|
17041
|
-
st.styles = [At,
|
|
17041
|
+
st.styles = [At, Rh];
|
|
17042
17042
|
st.dependencies = {
|
|
17043
17043
|
"cx-button": Et,
|
|
17044
17044
|
"cx-icon": ti,
|
|
@@ -17062,10 +17062,10 @@ li([
|
|
|
17062
17062
|
st = li([
|
|
17063
17063
|
Rt("cx-table-row-actions")
|
|
17064
17064
|
], st);
|
|
17065
|
-
var
|
|
17066
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
17065
|
+
var Dh = Object.defineProperty, Lh = Object.getOwnPropertyDescriptor, Vt = (n, e, t, i) => {
|
|
17066
|
+
for (var s = i > 1 ? void 0 : i ? Lh(e, t) : e, o = n.length - 1, r; o >= 0; o--)
|
|
17067
17067
|
(r = n[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
|
|
17068
|
-
return i && s &&
|
|
17068
|
+
return i && s && Dh(e, t, s), s;
|
|
17069
17069
|
};
|
|
17070
17070
|
let qe = class extends xt {
|
|
17071
17071
|
constructor() {
|
|
@@ -17143,10 +17143,10 @@ Vt([
|
|
|
17143
17143
|
qe = Vt([
|
|
17144
17144
|
Rt("cx-table-dropdown-filter")
|
|
17145
17145
|
], qe);
|
|
17146
|
-
var
|
|
17147
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
17146
|
+
var zh = Object.defineProperty, Fh = Object.getOwnPropertyDescriptor, je = (n, e, t, i) => {
|
|
17147
|
+
for (var s = i > 1 ? void 0 : i ? Fh(e, t) : e, o = n.length - 1, r; o >= 0; o--)
|
|
17148
17148
|
(r = n[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
|
|
17149
|
-
return i && s &&
|
|
17149
|
+
return i && s && zh(e, t, s), s;
|
|
17150
17150
|
};
|
|
17151
17151
|
let Se = class extends xt {
|
|
17152
17152
|
constructor() {
|
|
@@ -17200,7 +17200,7 @@ let Se = class extends xt {
|
|
|
17200
17200
|
t && this.emit("cx-table-save-search-select", { detail: { id: t } });
|
|
17201
17201
|
}
|
|
17202
17202
|
render() {
|
|
17203
|
-
return M`<cx-dropdown hoist class="header-actions__saved-search"><cx-button slot="trigger" caret>${this.localize.term("savedSearches")}</cx-button><cx-menu @cx-select=${this.handleSavedSearchItemSelect}>${
|
|
17203
|
+
return M`<cx-dropdown hoist class="header-actions__saved-search"><cx-button slot="trigger" caret>${this.localize.term("savedSearches")}</cx-button><cx-menu @cx-select=${this.handleSavedSearchItemSelect}>${Ce(
|
|
17204
17204
|
this.savedSearchItems.length === 0 && !this.loading,
|
|
17205
17205
|
() => M`<cx-menu-item disabled=disabled>${this.localize.term("noSavedSearch")}</cx-menu-item>`
|
|
17206
17206
|
)}
|
|
@@ -17209,7 +17209,7 @@ let Se = class extends xt {
|
|
|
17209
17209
|
(n) => n.recordID,
|
|
17210
17210
|
(n) => M`<cx-menu-item data-id=${n.recordID}><cx-icon name="search" slot="prefix"></cx-icon>${n.name}</cx-menu-item>`
|
|
17211
17211
|
)}
|
|
17212
|
-
${
|
|
17212
|
+
${Ce(
|
|
17213
17213
|
this.hasMore,
|
|
17214
17214
|
() => M`<cx-button class="header-actions__saved-search__load-more" variant="text" @click=${this.handleLoadMore} ?loading=${this.loading}>${this.localize.term("more")}</cx-button>`
|
|
17215
17215
|
)}</cx-menu></cx-dropdown>`;
|
|
@@ -17253,15 +17253,15 @@ je([
|
|
|
17253
17253
|
Se = je([
|
|
17254
17254
|
Rt("cx-table-saved-search-dropdown")
|
|
17255
17255
|
], Se);
|
|
17256
|
-
const
|
|
17257
|
-
var
|
|
17258
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
17256
|
+
const Oh = te`.header{display:none}.header--has-label,.header--has-pagination{display:flex}.header-actions{flex:1}.search{flex:1;max-width:500px}.header-actions__left{flex:1}.search__input{max-width:500px}.search__icon{--font-size:var(--cx-font-size-medium)}.search__icon--search{margin-inline-start:var(--cx-spacing-2x-small)}.search__icon--advanced-search{margin-inline-end:var(--cx-spacing-2x-small)}.header-actions__dropdown::part(trigger){line-height:1}.table-dropdown-filter__trigger,.header-actions__saved-search{--cx-button-text-transform:none}.header-actions__saved-search{--checked-icon-display:none}.header-actions__saved-search__load-more{width:100%;padding:0 var(--cx-spacing-x-small)}`;
|
|
17257
|
+
var _h = Object.defineProperty, Ph = Object.getOwnPropertyDescriptor, he = (n, e, t, i) => {
|
|
17258
|
+
for (var s = i > 1 ? void 0 : i ? Ph(e, t) : e, o = n.length - 1, r; o >= 0; o--)
|
|
17259
17259
|
(r = n[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
|
|
17260
|
-
return i && s &&
|
|
17260
|
+
return i && s && _h(e, t, s), s;
|
|
17261
17261
|
};
|
|
17262
17262
|
let ee = class extends xt {
|
|
17263
17263
|
constructor() {
|
|
17264
|
-
super(...arguments), this.localize = new Zt(this), this.hasSlotController = new
|
|
17264
|
+
super(...arguments), this.localize = new Zt(this), this.hasSlotController = new ur(
|
|
17265
17265
|
this,
|
|
17266
17266
|
"label",
|
|
17267
17267
|
"pagination"
|
|
@@ -17295,7 +17295,7 @@ let ee = class extends xt {
|
|
|
17295
17295
|
return M`<form class="search" id="search-form" @submit=${this.handleSearchSubmit}><cx-input class="search__input" placeholder=${this.localize.term("typeYourSearchHere")} value=${this.searchValue} clearable @cx-clear=${this.handleClearSearch}><cx-icon-button class=${$t({
|
|
17296
17296
|
search__icon: !0,
|
|
17297
17297
|
"search__icon--search": !0
|
|
17298
|
-
})} name="search" slot="prefix" size="small"></cx-icon-button>${
|
|
17298
|
+
})} name="search" slot="prefix" size="small"></cx-icon-button>${Ce(
|
|
17299
17299
|
!this.noAdvancedSearch,
|
|
17300
17300
|
() => M`<cx-tooltip slot="suffix" hoist content=${this.localize.term("advancedSearch")}><cx-icon-button class=${$t({
|
|
17301
17301
|
search__icon: !0,
|
|
@@ -17310,19 +17310,19 @@ let ee = class extends xt {
|
|
|
17310
17310
|
return M`<cx-table-saved-search-dropdown saved-search-url=${this.savedSearchURL} .savedSearchItems=${this.savedSearchItems} saved-search-page-size-param=${this.savedSearchPageSizeParam} saved-search-page-size=${this.savedSearchPageSize} saved-search-page-number-param=${this.savedSearchPageNumberParam}></cx-table-saved-search-dropdown>`;
|
|
17311
17311
|
}
|
|
17312
17312
|
renderExportDropdown() {
|
|
17313
|
-
return M`<cx-dropdown hoist placement="bottom-end" distance="4" class="header-actions__dropdown"><cx-icon-button name="more_horiz" slot="trigger" outline></cx-icon-button><cx-menu>${
|
|
17313
|
+
return M`<cx-dropdown hoist placement="bottom-end" distance="4" class="header-actions__dropdown"><cx-icon-button name="more_horiz" slot="trigger" outline></cx-icon-button><cx-menu>${Ce(
|
|
17314
17314
|
this.canExportCsv,
|
|
17315
17315
|
() => M`<cx-menu-item @click=${this.handleExportCsv}>${this.localize.term("exportAsCsv")}</cx-menu-item>`
|
|
17316
17316
|
)}
|
|
17317
|
-
${
|
|
17317
|
+
${Ce(
|
|
17318
17318
|
this.canExportXml,
|
|
17319
17319
|
() => M`<cx-menu-item @click=${this.handleExportXml}>${this.localize.term("exportAsXml")}</cx-menu-item>`
|
|
17320
17320
|
)}
|
|
17321
|
-
${
|
|
17321
|
+
${Ce(
|
|
17322
17322
|
this.canExportCustom,
|
|
17323
17323
|
() => M`<cx-menu-item @click=${this.handleExportCustom}>${this.localize.term("customExport")}</cx-menu-item>`
|
|
17324
17324
|
)}
|
|
17325
|
-
${
|
|
17325
|
+
${Ce(
|
|
17326
17326
|
this.canSaveReport,
|
|
17327
17327
|
() => M`<cx-menu-item data-testid="save-report-menu-item" @click=${this.handleSaveReport}>${this.localize.term("saveReport")}</cx-menu-item>`
|
|
17328
17328
|
)}</cx-menu></cx-dropdown>`;
|
|
@@ -17340,30 +17340,30 @@ let ee = class extends xt {
|
|
|
17340
17340
|
header: !0,
|
|
17341
17341
|
"header--has-label": e,
|
|
17342
17342
|
"header--has-pagination": t
|
|
17343
|
-
})} justify-content="space-between"><div><slot name="label">${
|
|
17343
|
+
})} justify-content="space-between"><div><slot name="label">${Ce(
|
|
17344
17344
|
this.label,
|
|
17345
17345
|
() => M`<cx-typography variant="h3">${this.label}</cx-typography>`
|
|
17346
|
-
)}</slot></div><slot name="pagination"></slot></cx-space><cx-space class="header-actions" justify-content="space-between" align-items="center"><cx-space class="header-actions__left" align-items="center" spacing="x-small">${
|
|
17347
|
-
${
|
|
17348
|
-
${
|
|
17349
|
-
${
|
|
17346
|
+
)}</slot></div><slot name="pagination"></slot></cx-space><cx-space class="header-actions" justify-content="space-between" align-items="center"><cx-space class="header-actions__left" align-items="center" spacing="x-small">${Ce(this.canSearch, () => this.renderSearch())}
|
|
17347
|
+
${Ce(this.dropdownFilters.length, () => this.renderDropdownFilters())}
|
|
17348
|
+
${Ce(this.showSavedSearch, () => this.renderSavedSearchDropdown())}</cx-space><cx-space class="header-actions__right" align-items="center" spacing="x-small">${Ce(this.canAdd, () => this.renderAddButton())}
|
|
17349
|
+
${Ce(n, () => this.renderExportDropdown())}</cx-space></cx-space></cx-space>`;
|
|
17350
17350
|
}
|
|
17351
17351
|
};
|
|
17352
|
-
ee.styles = [At,
|
|
17352
|
+
ee.styles = [At, Oh];
|
|
17353
17353
|
ee.dependencies = {
|
|
17354
17354
|
"cx-button": Et,
|
|
17355
17355
|
"cx-dropdown": ii,
|
|
17356
17356
|
"cx-icon": ti,
|
|
17357
|
-
"cx-icon-button":
|
|
17358
|
-
"cx-input":
|
|
17357
|
+
"cx-icon-button": ko,
|
|
17358
|
+
"cx-input": dr,
|
|
17359
17359
|
"cx-menu": si,
|
|
17360
17360
|
"cx-menu-item": oi,
|
|
17361
|
-
"cx-pagination":
|
|
17361
|
+
"cx-pagination": ar,
|
|
17362
17362
|
"cx-space": us,
|
|
17363
17363
|
"cx-table-dropdown-filter": qe,
|
|
17364
17364
|
"cx-table-saved-search-dropdown": Se,
|
|
17365
17365
|
"cx-tooltip": fs,
|
|
17366
|
-
"cx-typography":
|
|
17366
|
+
"cx-typography": or
|
|
17367
17367
|
};
|
|
17368
17368
|
he([
|
|
17369
17369
|
St("#search-form")
|
|
@@ -17455,7 +17455,7 @@ he([
|
|
|
17455
17455
|
ee = he([
|
|
17456
17456
|
Rt("cx-table-toolbar")
|
|
17457
17457
|
], ee);
|
|
17458
|
-
class
|
|
17458
|
+
class Hh {
|
|
17459
17459
|
constructor(e) {
|
|
17460
17460
|
this.filters = /* @__PURE__ */ new Map(), this.isConnected = !1, this.host = e, this.host.addController(this);
|
|
17461
17461
|
}
|
|
@@ -17586,30 +17586,30 @@ class Oh {
|
|
|
17586
17586
|
e.setFilter(s);
|
|
17587
17587
|
}
|
|
17588
17588
|
}
|
|
17589
|
-
const _h = te`.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)}`, Ph = te`: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-700);--background-color:var(--cx-color-neutral-0);--border-width:var(--cx-input-border-width);--border-color:var(--cx-color-neutral-200);--outer-border-color:var(--border-color);--border-radius:var(--cx-border-radius-medium);--row-background-color:var(--cx-color-neutral-0);--row-even-background-color:var(--cx-color-neutral-0);--row-hover-background-color:var(--cx-color-neutral-0);--row-even-hover-background-color:var(--cx-color-neutral-0);--frozen-border-color:var(--cx-color-neutral-200);--header-background-color:var(--cx-color-neutral-50);--header-hover-background-color:var(--cx-color-primary-50);--header-font-weight:var(--cx-font-weight-medium);--header-font-size:var(--cx-font-size-x-small);--header-color:var(--cx-color-neutral-700);--header-border-right:1px solid var(--cx-color-neutral-200);--header-border-bottom:none;--header-height:var(--cx-spacing-3x-large);--header-horizontal-padding:var(--cx-spacing-large);--body-background-color:var(--cx-color-neutral-0);--cell-border-color:transparent;--cell-bottom-border-color:var(--cx-color-neutral-200);--cell-horizontal-padding:var(--cx-spacing-large);--cell-font-size:var(--cx-font-size-small);--cell-font-weight:var(--cx-font-weight-regular);--cell-line-height:normal;--cell-hover-background-color:var(--cx-color-neutral-50);--group-count-color:var(--cx-color-danger-500);--group-row-background-color:var(--row-background-color);--group-row-hover-background-color:var(--row-hover-background-color);--group-row-border-color:var(--cx-color-neutral-200);--group-row-color:var(--cx-color-neutral-900);--group-row-font-weight:var(--cx-font-weight-medium);--row-header-border-color:var(--cx-color-neutral-200);--tabulator-tree-control-width:18px;--tabulator-tree-child-indent:9px;--tabulator-tree-step:calc(var(--tabulator-tree-control-width) + var(--tabulator-tree-child-indent));isolation:isolate;width:var(--width);display:block}.container{height:100%}.tabulator{background-color:var(--background-color);font-size:var(--font-size,var(--cx-font-size-small));text-align:left;height:var(--table-height);min-height:var(--table-min-height);max-height:var(--table-max-height);border-radius:var(--cx-border-radius-medium);flex-direction:column;line-height:normal;display:flex;position:relative;overflow:hidden}.tabulator[data-overlayscrollbars]{flex-direction:column}.tabulator[data-overlayscrollbars-viewport="scrollbarHidden overflowXHidden overflowYHidden"]{display:flex}.tabulator>[data-overlayscrollbars-viewport]{flex-direction:column;display:flex}.tabulator.tabulator-overflow-x{border-inline:var(--border-width) solid var(--outer-border-color);border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.tabulator[tabulator-layout=fitDataFill] .tabulator-tableholder .tabulator-table{min-width:100%}.tabulator[tabulator-layout=fitDataTable]{display:inline-block}.tabulator.tabulator-block-select,.tabulator.tabulator-ranges .tabulator-cell:not(.tabulator-editing){user-select:none}.tabulator .tabulator-tableholder-wrapper{flex:1;width:max-content;display:flex;position:relative;overflow:hidden}.tabulator .tabulator-tableholder{white-space:nowrap;-webkit-overflow-scrolling:touch;border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);flex:1;width:max-content;position:relative;overflow:auto}.tabulator .tabulator-tableholder-wrapper:before{content:"";z-index:1;pointer-events:none;border:var(--border-width) solid var(--outer-border-color);border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);width:100%;height:100%;display:block;position:absolute;top:0;left:0}.tabulator.tabulator-header-hidden .tabulator-tableholder-wrapper:before{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.tabulator .tabulator-tableholder:focus{outline:none}.tabulator .tabulator-tableholder .tabulator-table{background-color:var(--body-background-color,var(--cx-color-neutral-0));white-space:nowrap;color:var(--color);min-width:100%;display:inline-block;position:relative;overflow:visible}`, Hh = te`.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}`, Ah = te`.tabulator-clickable-cell{color:var(--clickable-cell-color,var(--cx-color-primary-600));cursor:pointer}.tabulator-clickable-cell:hover{text-decoration:underline}`, Nh = te`.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}`, Vh = te`.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)}.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)}`, Ih = te`.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}`, Bh = te`.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}`, Wh = te`.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 span{margin-left:var(--cx-spacing-small);color:var(--group-count-color)}`, jh = te`:host{--selected-column-header-background-color:var(--header-background-color);--selected-column-header-color:var(--header-color)}.tabulator .tabulator-header{box-sizing:border-box;width:max-content;font-weight:var(--header-font-weight);font-size:var(--header-font-size);color:var(--header-color);white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-khtml-user-select:none;-o-user-select:none;outline:none;position:relative}.tabulator .tabulator-header.tabulator-header-hidden{display:none}.tabulator .tabulator-header .tabulator-header-contents{box-sizing:border-box;width:max-content;position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-header-contents:before{content:"";z-index:1;pointer-events:none;border:var(--border-width) solid var(--outer-border-color);border-bottom:var(--header-border-bottom);border-top-right-radius:var(--border-radius);border-top-left-radius:var(--border-radius);width:100%;height:100%;display:block;position:absolute;top:0;left:0}.tabulator .tabulator-header .tabulator-col:last-of-type{border-right:none}.tabulator .tabulator-header .tabulator-header-contents .tabulator-headers{background-color:var(--header-background-color);display:inline-block}.tabulator .tabulator-header .tabulator-col{box-sizing:border-box;border-right:var(--header-border-right);background:var(--header-background-color);text-align:left;vertical-align:bottom;height:var(--header-height);flex-direction:column;justify-content:center;display:inline-flex;position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-col.tabulator-moving{border:solid var(--border-width) var(--border-color);background:var(--cx-color-neutral-300);pointer-events:none;position:absolute}.tabulator .tabulator-header .tabulator-col.tabulator-range-highlight{background-color:var(--selected-column-header-background-color);color:var(--selected-column-header-color)}.tabulator .tabulator-header .tabulator-col.tabulator-range-selected{background-color:var(--cx-color-primary-500);color:var(--cx-color-neutral-0)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content{box-sizing:border-box;padding:var(--cx-spacing-2x-small) var(--header-horizontal-padding);position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button{padding:0 var(--cx-spacing-x-small)}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button:hover{cursor:pointer;opacity:.6}}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title-holder{position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title{box-sizing:border-box;white-space:nowrap;text-overflow:ellipsis;vertical-align:bottom;width:100%;overflow:hidden}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title.tabulator-col-title-wrap{white-space:normal;text-overflow:initial}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-title-editor{box-sizing:border-box;border:solid var(--border-width) var(--border-color);width:100%;padding:var(--cx-spacing-3x-small);background:var(--cx-color-neutral-0)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-header-popup-button+.tabulator-title-editor{width:calc(100% - 22px)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{align-items:center;display:flex;position:absolute;top:0;bottom:0;right:4px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-left:6px solid #0000;border-right:6px solid #0000;border-bottom:6px solid var(--cx-color-neutral-200);width:0;height:0}.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{border-top:1px solid var(--cx-color-neutral-400);margin-right:-1px;display:flex;position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter{box-sizing:border-box;margin-top:var(--cx-spacing-3x-small);text-align:center;width:100%;position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter textarea{height:auto!important}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter svg{margin-top:var(--cx-spacing-3x-small)}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input::-ms-clear{width:0;height:0}.tabulator .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:var(--cx-spacing-x-large)}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable.tabulator-col-sorter-element:hover{cursor:pointer}.tabulator .tabulator-header .tabulator-col:hover{background-color:var(--header-hover-background-color)}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter{color:var(--cx-color-neutral-200)}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-bottom:6px solid var(--cx-color-neutral-500)}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid var(--cx-color-neutral-200)}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter{color:var(--cx-color-neutral-600)}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-bottom:6px solid var(--cx-color-neutral-500)}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid var(--cx-color-neutral-600)}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter{color:var(--cx-color-neutral-600)}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-top:6px solid var(--cx-color-neutral-500)}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-bottom:none;border-top:6px solid var(--cx-color-neutral-600);color:var(--cx-color-neutral-600)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical .tabulator-col-content .tabulator-col-title{writing-mode:vertical-rl;text-orientation:mixed;justify-content:center;align-items:center;display:flex}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-col-vertical-flip .tabulator-col-title{transform:rotate(180deg)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-title{padding-right:0;padding-top:var(--cx-spacing-large)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable.tabulator-col-vertical-flip .tabulator-col-title{padding-right:0;padding-bottom:var(--cx-spacing-large)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-sorter{justify-content:center;inset:4px 0 auto}.tabulator .tabulator-header .tabulator-frozen{z-index:11;position:sticky;left:0}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-left{border-right:2px solid var(--frozen-border-color)}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-right{border-left:2px solid var(--frozen-border-color)}.tabulator .tabulator-header .tabulator-frozen-rows-holder{border-bottom:2px solid var(--frozen-border-color);display:inline-block}.tabulator .tabulator-header .tabulator-frozen-rows-holder:empty{display:none}`, Gh = te`: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}`, $h = te`.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)}`, Uh = te`.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)}`, Kh = te`: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)}`, qh = te`.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)}`, Xh = te`.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)}`, Jh = te`.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}`, Yh = te`.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle{-webkit-user-select:none;-moz-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}`, Qh = te`.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-row.tabulator-selected{background-color:var(--cx-color-primary-200)}@media (hover:hover) and (pointer:fine){.tabulator-row.tabulator-selected: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:hover,.tabulator-row .tabulator-cell.tabulator-frozen:hover{background-color:var(--cell-hover-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}`, Zh = te`.tabulator.tabulator-ltr{direction:ltr}.tabulator.tabulator-rtl{text-align:initial;direction:rtl}.tabulator.tabulator-rtl .tabulator-header .tabulator-col{text-align:initial;border-left:var(--border-width) solid var(--cx-color-neutral-400);border-right:initial}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{margin-right:initial;margin-left:-1px}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:0;padding-left:var(--cx-spacing-x-large)}.tabulator.tabulator-rtl .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{left:8px;right:initial}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell{border-right:initial;border-left:var(--border-width) solid var(--cell-border-color)}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-branch{margin-right:initial;margin-left:var(--cx-spacing-2x-small);border-bottom-left-radius:initial;border-left:initial;border-right:2px solid var(--cx-color-neutral-400);border-bottom-right-radius:1px}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-left:2px solid var(--cx-color-neutral-400)}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-right:2px solid var(--cx-color-neutral-400)}.tabulator.tabulator-rtl .tabulator-row .tabulator-col-resize-handle:last-of-type{width:3px;margin-left:0;margin-right:-3px}.tabulator.tabulator-rtl .tabulator-footer .tabulator-calcs-holder{text-align:initial}`, ec = te`: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){background-color:var(--table-selected-range-cell-background-color)}.tabulator-row .tabulator-cell.tabulator-range-selection-start:not(.tabulator-range-row-header){background-color:var(--table-selected-range-selection-start-cell-background-color)}.tabulator-row .tabulator-cell.tabulator-range-selected:not(.tabulator-range-row-header):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: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){background-color:var(--table-editable-only-cell-selected-background-color)}.tabulator-row .tabulator-cell.tabulator-editable.tabulator-range-selected:not(.tabulator-range-row-header):hover{background-color:var(--table-editable-cell-hover-background-color)}`, tc = te`.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)}`, ic = [
|
|
17590
|
-
|
|
17591
|
-
jh,
|
|
17592
|
-
Kh,
|
|
17593
|
-
Hh,
|
|
17594
|
-
ec,
|
|
17595
|
-
Ih,
|
|
17596
|
-
tc,
|
|
17589
|
+
const Ah = te`.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)}`, Nh = te`: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-700);--background-color:var(--cx-color-neutral-0);--border-width:var(--cx-input-border-width);--border-color:var(--cx-color-neutral-200);--outer-border-color:var(--border-color);--border-radius:var(--cx-border-radius-medium);--row-background-color:var(--cx-color-neutral-0);--row-even-background-color:var(--cx-color-neutral-0);--row-hover-background-color:var(--cx-color-neutral-0);--row-even-hover-background-color:var(--cx-color-neutral-0);--frozen-border-color:var(--cx-color-neutral-200);--header-background-color:var(--cx-color-neutral-50);--header-hover-background-color:var(--cx-color-primary-50);--header-font-weight:var(--cx-font-weight-medium);--header-font-size:var(--cx-font-size-x-small);--header-color:var(--cx-color-neutral-700);--header-border-right:1px solid var(--cx-color-neutral-200);--header-border-bottom:none;--header-height:var(--cx-spacing-3x-large);--header-horizontal-padding:var(--cx-spacing-large);--body-background-color:var(--cx-color-neutral-0);--cell-border-color:transparent;--cell-bottom-border-color:var(--cx-color-neutral-200);--cell-horizontal-padding:var(--cx-spacing-large);--cell-font-size:var(--cx-font-size-small);--cell-font-weight:var(--cx-font-weight-regular);--cell-line-height:normal;--cell-hover-background-color:var(--cx-color-neutral-50);--group-count-color:var(--cx-color-danger-500);--group-row-background-color:var(--row-background-color);--group-row-hover-background-color:var(--row-hover-background-color);--group-row-border-color:var(--cx-color-neutral-200);--group-row-color:var(--cx-color-neutral-900);--group-row-font-weight:var(--cx-font-weight-medium);--row-header-border-color:var(--cx-color-neutral-200);--tabulator-tree-control-width:18px;--tabulator-tree-child-indent:9px;--tabulator-tree-step:calc(var(--tabulator-tree-control-width) + var(--tabulator-tree-child-indent));isolation:isolate;width:var(--width);display:block}.container{height:100%}.tabulator{background-color:var(--background-color);font-size:var(--font-size,var(--cx-font-size-small));text-align:left;height:var(--table-height);min-height:var(--table-min-height);max-height:var(--table-max-height);border-radius:var(--cx-border-radius-medium);flex-direction:column;line-height:normal;display:flex;position:relative;overflow:hidden}.tabulator[data-overlayscrollbars]{flex-direction:column}.tabulator[data-overlayscrollbars-viewport="scrollbarHidden overflowXHidden overflowYHidden"]{display:flex}.tabulator>[data-overlayscrollbars-viewport]{flex-direction:column;display:flex}.tabulator.tabulator-overflow-x{border-inline:var(--border-width) solid var(--outer-border-color);border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.tabulator[tabulator-layout=fitDataFill] .tabulator-tableholder .tabulator-table{min-width:100%}.tabulator[tabulator-layout=fitDataTable]{display:inline-block}.tabulator.tabulator-block-select,.tabulator.tabulator-ranges .tabulator-cell:not(.tabulator-editing){user-select:none}.tabulator .tabulator-tableholder-wrapper{flex:1;width:max-content;display:flex;position:relative;overflow:hidden}.tabulator .tabulator-tableholder{white-space:nowrap;-webkit-overflow-scrolling:touch;border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);flex:1;width:max-content;position:relative;overflow:auto}.tabulator .tabulator-tableholder-wrapper:before{content:"";z-index:1;pointer-events:none;border:var(--border-width) solid var(--outer-border-color);border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);width:100%;height:100%;display:block;position:absolute;top:0;left:0}.tabulator.tabulator-header-hidden .tabulator-tableholder-wrapper:before{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.tabulator .tabulator-tableholder:focus{outline:none}.tabulator .tabulator-tableholder .tabulator-table{background-color:var(--body-background-color,var(--cx-color-neutral-0));white-space:nowrap;color:var(--color);min-width:100%;display:inline-block;position:relative;overflow:visible}`, Vh = te`.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}`, Ih = te`.tabulator-clickable-cell{color:var(--clickable-cell-color,var(--cx-color-primary-600));cursor:pointer}.tabulator-clickable-cell:hover{text-decoration:underline}`, Bh = te`.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}`, Wh = te`.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)}.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)}`, jh = te`.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}`, Gh = te`.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}`, $h = te`.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 span{margin-left:var(--cx-spacing-small);color:var(--group-count-color)}`, Uh = te`:host{--selected-column-header-background-color:var(--header-background-color);--selected-column-header-color:var(--header-color)}.tabulator .tabulator-header{box-sizing:border-box;width:max-content;font-weight:var(--header-font-weight);font-size:var(--header-font-size);color:var(--header-color);white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-khtml-user-select:none;-o-user-select:none;outline:none;position:relative}.tabulator .tabulator-header.tabulator-header-hidden{display:none}.tabulator .tabulator-header .tabulator-header-contents{box-sizing:border-box;width:max-content;position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-header-contents:before{content:"";z-index:1;pointer-events:none;border:var(--border-width) solid var(--outer-border-color);border-bottom:var(--header-border-bottom);border-top-right-radius:var(--border-radius);border-top-left-radius:var(--border-radius);width:100%;height:100%;display:block;position:absolute;top:0;left:0}.tabulator .tabulator-header .tabulator-col:last-of-type{border-right:none}.tabulator .tabulator-header .tabulator-header-contents .tabulator-headers{background-color:var(--header-background-color);display:inline-block}.tabulator .tabulator-header .tabulator-col{box-sizing:border-box;border-right:var(--header-border-right);background:var(--header-background-color);text-align:left;vertical-align:bottom;height:var(--header-height);flex-direction:column;justify-content:center;display:inline-flex;position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-col.tabulator-moving{border:solid var(--border-width) var(--border-color);background:var(--cx-color-neutral-300);pointer-events:none;position:absolute}.tabulator .tabulator-header .tabulator-col.tabulator-range-highlight{background-color:var(--selected-column-header-background-color);color:var(--selected-column-header-color)}.tabulator .tabulator-header .tabulator-col.tabulator-range-selected{background-color:var(--cx-color-primary-500);color:var(--cx-color-neutral-0)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content{box-sizing:border-box;padding:var(--cx-spacing-2x-small) var(--header-horizontal-padding);position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button{padding:0 var(--cx-spacing-x-small)}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button:hover{cursor:pointer;opacity:.6}}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title-holder{position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title{box-sizing:border-box;white-space:nowrap;text-overflow:ellipsis;vertical-align:bottom;width:100%;overflow:hidden}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title.tabulator-col-title-wrap{white-space:normal;text-overflow:initial}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-title-editor{box-sizing:border-box;border:solid var(--border-width) var(--border-color);width:100%;padding:var(--cx-spacing-3x-small);background:var(--cx-color-neutral-0)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-header-popup-button+.tabulator-title-editor{width:calc(100% - 22px)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{align-items:center;display:flex;position:absolute;top:0;bottom:0;right:4px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-left:6px solid #0000;border-right:6px solid #0000;border-bottom:6px solid var(--cx-color-neutral-200);width:0;height:0}.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{border-top:1px solid var(--cx-color-neutral-400);margin-right:-1px;display:flex;position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter{box-sizing:border-box;margin-top:var(--cx-spacing-3x-small);text-align:center;width:100%;position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter textarea{height:auto!important}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter svg{margin-top:var(--cx-spacing-3x-small)}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input::-ms-clear{width:0;height:0}.tabulator .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:var(--cx-spacing-x-large)}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable.tabulator-col-sorter-element:hover{cursor:pointer}.tabulator .tabulator-header .tabulator-col:hover{background-color:var(--header-hover-background-color)}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter{color:var(--cx-color-neutral-200)}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-bottom:6px solid var(--cx-color-neutral-500)}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid var(--cx-color-neutral-200)}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter{color:var(--cx-color-neutral-600)}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-bottom:6px solid var(--cx-color-neutral-500)}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid var(--cx-color-neutral-600)}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter{color:var(--cx-color-neutral-600)}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-top:6px solid var(--cx-color-neutral-500)}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-bottom:none;border-top:6px solid var(--cx-color-neutral-600);color:var(--cx-color-neutral-600)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical .tabulator-col-content .tabulator-col-title{writing-mode:vertical-rl;text-orientation:mixed;justify-content:center;align-items:center;display:flex}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-col-vertical-flip .tabulator-col-title{transform:rotate(180deg)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-title{padding-right:0;padding-top:var(--cx-spacing-large)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable.tabulator-col-vertical-flip .tabulator-col-title{padding-right:0;padding-bottom:var(--cx-spacing-large)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-sorter{justify-content:center;inset:4px 0 auto}.tabulator .tabulator-header .tabulator-frozen{z-index:11;position:sticky;left:0}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-left{border-right:2px solid var(--frozen-border-color)}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-right{border-left:2px solid var(--frozen-border-color)}.tabulator .tabulator-header .tabulator-frozen-rows-holder{border-bottom:2px solid var(--frozen-border-color);display:inline-block}.tabulator .tabulator-header .tabulator-frozen-rows-holder:empty{display:none}`, Kh = te`: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}`, qh = te`.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)}`, Xh = te`.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)}`, Jh = te`: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)}`, Yh = te`.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)}`, Qh = te`.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)}`, Zh = te`.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}`, ec = te`.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle{-webkit-user-select:none;-moz-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}`, tc = te`.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-row.tabulator-selected{background-color:var(--cx-color-primary-200)}@media (hover:hover) and (pointer:fine){.tabulator-row.tabulator-selected: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:hover,.tabulator-row .tabulator-cell.tabulator-frozen:hover{background-color:var(--cell-hover-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}`, ic = te`.tabulator.tabulator-ltr{direction:ltr}.tabulator.tabulator-rtl{text-align:initial;direction:rtl}.tabulator.tabulator-rtl .tabulator-header .tabulator-col{text-align:initial;border-left:var(--border-width) solid var(--cx-color-neutral-400);border-right:initial}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{margin-right:initial;margin-left:-1px}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:0;padding-left:var(--cx-spacing-x-large)}.tabulator.tabulator-rtl .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{left:8px;right:initial}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell{border-right:initial;border-left:var(--border-width) solid var(--cell-border-color)}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-branch{margin-right:initial;margin-left:var(--cx-spacing-2x-small);border-bottom-left-radius:initial;border-left:initial;border-right:2px solid var(--cx-color-neutral-400);border-bottom-right-radius:1px}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-left:2px solid var(--cx-color-neutral-400)}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-right:2px solid var(--cx-color-neutral-400)}.tabulator.tabulator-rtl .tabulator-row .tabulator-col-resize-handle:last-of-type{width:3px;margin-left:0;margin-right:-3px}.tabulator.tabulator-rtl .tabulator-footer .tabulator-calcs-holder{text-align:initial}`, sc = te`: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){background-color:var(--table-selected-range-cell-background-color)}.tabulator-row .tabulator-cell.tabulator-range-selection-start:not(.tabulator-range-row-header){background-color:var(--table-selected-range-selection-start-cell-background-color)}.tabulator-row .tabulator-cell.tabulator-range-selected:not(.tabulator-range-row-header):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: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){background-color:var(--table-editable-only-cell-selected-background-color)}.tabulator-row .tabulator-cell.tabulator-editable.tabulator-range-selected:not(.tabulator-range-row-header):hover{background-color:var(--table-editable-cell-hover-background-color)}`, oc = te`.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)}`, rc = [
|
|
17590
|
+
Nh,
|
|
17597
17591
|
Uh,
|
|
17598
17592
|
Jh,
|
|
17599
|
-
_h,
|
|
17600
|
-
Qh,
|
|
17601
17593
|
Vh,
|
|
17602
|
-
|
|
17603
|
-
|
|
17604
|
-
|
|
17605
|
-
|
|
17594
|
+
sc,
|
|
17595
|
+
jh,
|
|
17596
|
+
oc,
|
|
17597
|
+
Xh,
|
|
17598
|
+
Zh,
|
|
17599
|
+
Ah,
|
|
17600
|
+
tc,
|
|
17606
17601
|
Wh,
|
|
17607
17602
|
qh,
|
|
17608
|
-
|
|
17609
|
-
|
|
17603
|
+
Bh,
|
|
17604
|
+
ec,
|
|
17610
17605
|
Gh,
|
|
17611
|
-
|
|
17612
|
-
|
|
17606
|
+
$h,
|
|
17607
|
+
Yh,
|
|
17608
|
+
ic,
|
|
17609
|
+
Qh,
|
|
17610
|
+
Kh,
|
|
17611
|
+
Ih
|
|
17612
|
+
], nc = {
|
|
17613
17613
|
formatter: function() {
|
|
17614
17614
|
const n = document.createElement("div");
|
|
17615
17615
|
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";
|
|
@@ -17622,7 +17622,7 @@ const _h = te`.tabulator .tabulator-alert{z-index:100;background:color-mix(in sr
|
|
|
17622
17622
|
rowHandle: !0,
|
|
17623
17623
|
title: "",
|
|
17624
17624
|
width: 40
|
|
17625
|
-
},
|
|
17625
|
+
}, ac = {
|
|
17626
17626
|
fromAttribute: (n) => {
|
|
17627
17627
|
if (typeof n == "string") {
|
|
17628
17628
|
if (!n.trim())
|
|
@@ -17639,7 +17639,7 @@ const _h = te`.tabulator .tabulator-alert{z-index:100;background:color-mix(in sr
|
|
|
17639
17639
|
return n;
|
|
17640
17640
|
},
|
|
17641
17641
|
toAttribute: (n) => typeof n == "function" ? "" : Array.isArray(n) ? JSON.stringify(n) : typeof n == "number" ? n.toString() : n
|
|
17642
|
-
},
|
|
17642
|
+
}, lc = {
|
|
17643
17643
|
fromAttribute: (n) => {
|
|
17644
17644
|
if (typeof n == "string") {
|
|
17645
17645
|
if (!n.trim())
|
|
@@ -17655,7 +17655,7 @@ const _h = te`.tabulator .tabulator-alert{z-index:100;background:color-mix(in sr
|
|
|
17655
17655
|
return n;
|
|
17656
17656
|
},
|
|
17657
17657
|
toAttribute: (n) => typeof n == "function" ? "" : Array.isArray(n) ? JSON.stringify(n) : typeof n == "boolean" ? n.toString() : n
|
|
17658
|
-
},
|
|
17658
|
+
}, hc = {
|
|
17659
17659
|
fromAttribute: (n) => {
|
|
17660
17660
|
if (typeof n == "string") {
|
|
17661
17661
|
if (!n.trim())
|
|
@@ -17671,7 +17671,7 @@ const _h = te`.tabulator .tabulator-alert{z-index:100;background:color-mix(in sr
|
|
|
17671
17671
|
},
|
|
17672
17672
|
toAttribute: (n) => typeof n == "function" ? "" : Array.isArray(n) ? JSON.stringify(n) : n
|
|
17673
17673
|
};
|
|
17674
|
-
function
|
|
17674
|
+
function cc(n, e, t, i = 500) {
|
|
17675
17675
|
return new Promise((s, o) => {
|
|
17676
17676
|
if (!Number.isInteger(i) || i < 1) {
|
|
17677
17677
|
o(new RangeError("chunkSize must be a positive integer"));
|
|
@@ -17708,10 +17708,19 @@ function ac(n, e, t, i = 500) {
|
|
|
17708
17708
|
});
|
|
17709
17709
|
});
|
|
17710
17710
|
}
|
|
17711
|
-
async function
|
|
17711
|
+
async function dc(n, e, t, i = 500) {
|
|
17712
17712
|
if (!Number.isInteger(i) || i < 1)
|
|
17713
17713
|
throw new RangeError("chunkSize must be a positive integer");
|
|
17714
|
-
const
|
|
17714
|
+
const { columns: s, rows: o } = $o(n);
|
|
17715
|
+
e(s);
|
|
17716
|
+
for (let r = 0; r < o.length; r += i)
|
|
17717
|
+
await t(o.slice(r, r + i));
|
|
17718
|
+
return o.length;
|
|
17719
|
+
}
|
|
17720
|
+
async function uc(n, e, t, i = 500) {
|
|
17721
|
+
if (!Number.isInteger(i) || i < 1)
|
|
17722
|
+
throw new RangeError("chunkSize must be a positive integer");
|
|
17723
|
+
const s = JSON.parse(n), { columns: o, rows: r } = Go(s);
|
|
17715
17724
|
e(o);
|
|
17716
17725
|
for (let a = 0; a < r.length; a += i)
|
|
17717
17726
|
await t(r.slice(a, a + i));
|
|
@@ -17720,7 +17729,7 @@ async function lc(n, e, t, i = 500) {
|
|
|
17720
17729
|
function xo(n) {
|
|
17721
17730
|
return typeof n == "object" && n !== null && !Array.isArray(n);
|
|
17722
17731
|
}
|
|
17723
|
-
function
|
|
17732
|
+
function Go(n) {
|
|
17724
17733
|
if (Array.isArray(n)) {
|
|
17725
17734
|
if (n.length === 0)
|
|
17726
17735
|
return { columns: [], rows: [] };
|
|
@@ -17737,7 +17746,7 @@ function Wo(n) {
|
|
|
17737
17746
|
return { columns: e.columns, rows: e.data };
|
|
17738
17747
|
throw new Error("JSON data must be an array of row objects or a { columns, data } envelope");
|
|
17739
17748
|
}
|
|
17740
|
-
function
|
|
17749
|
+
function pc(n) {
|
|
17741
17750
|
if (n.length === 0)
|
|
17742
17751
|
return { columns: [], data: [] };
|
|
17743
17752
|
const t = n[0].map((a, l) => {
|
|
@@ -17754,48 +17763,98 @@ function hc(n) {
|
|
|
17754
17763
|
);
|
|
17755
17764
|
return { columns: o, data: r };
|
|
17756
17765
|
}
|
|
17757
|
-
function
|
|
17766
|
+
function fc(n) {
|
|
17758
17767
|
const e = ys.parse(n, { header: !1, skipEmptyLines: !0 }), t = e.errors.filter((i) => i.code !== "UndetectableDelimiter");
|
|
17759
17768
|
if (t.length > 0)
|
|
17760
17769
|
throw new Error(`CSV parse error: ${t[0].message}`);
|
|
17761
|
-
return
|
|
17770
|
+
return pc(e.data);
|
|
17762
17771
|
}
|
|
17763
|
-
function
|
|
17764
|
-
const e = JSON.parse(n), { columns: t, rows: i } =
|
|
17772
|
+
function gc(n) {
|
|
17773
|
+
const e = JSON.parse(n), { columns: t, rows: i } = Go(e);
|
|
17765
17774
|
return { columns: t, data: i };
|
|
17766
17775
|
}
|
|
17767
|
-
function
|
|
17768
|
-
|
|
17776
|
+
function mc(n) {
|
|
17777
|
+
const { columns: e, rows: t } = $o(n);
|
|
17778
|
+
return { columns: e, data: t };
|
|
17769
17779
|
}
|
|
17770
|
-
|
|
17771
|
-
|
|
17772
|
-
|
|
17773
|
-
|
|
17774
|
-
|
|
17775
|
-
|
|
17780
|
+
function $o(n) {
|
|
17781
|
+
const e = new DOMParser().parseFromString(n, "text/xml"), t = e.querySelector("parsererror");
|
|
17782
|
+
if (t)
|
|
17783
|
+
throw new Error(`XML parse error: ${t.textContent?.trim() ?? "unknown error"}`);
|
|
17784
|
+
const i = e.documentElement, s = Ro(i, "columns"), o = Ro(i, "rows");
|
|
17785
|
+
if (s && o) {
|
|
17786
|
+
const d = Array.from(s.children).map((u) => ({
|
|
17787
|
+
field: u.getAttribute("field") ?? u.tagName,
|
|
17788
|
+
title: u.getAttribute("title") ?? u.getAttribute("field") ?? u.tagName
|
|
17789
|
+
})), p = Array.from(o.children).map(
|
|
17790
|
+
(u) => So(u, d.map((f) => f.field).filter((f) => f !== void 0))
|
|
17791
|
+
);
|
|
17792
|
+
return { columns: d, rows: p };
|
|
17793
|
+
}
|
|
17794
|
+
const r = Array.from(i.children);
|
|
17795
|
+
if (r.length === 0)
|
|
17796
|
+
return { columns: [], rows: [] };
|
|
17797
|
+
const a = /* @__PURE__ */ new Set(), l = [];
|
|
17798
|
+
for (const d of r)
|
|
17799
|
+
for (const p of Array.from(d.children))
|
|
17800
|
+
a.has(p.tagName) || (a.add(p.tagName), l.push(p.tagName));
|
|
17801
|
+
if (l.length === 0)
|
|
17802
|
+
return { columns: [], rows: [] };
|
|
17803
|
+
const h = l.map((d) => ({ field: d, title: d })), c = r.map((d) => So(d, l));
|
|
17804
|
+
return { columns: h, rows: c };
|
|
17805
|
+
}
|
|
17806
|
+
function Ro(n, e) {
|
|
17807
|
+
for (const t of Array.from(n.children))
|
|
17808
|
+
if (t.tagName.toLowerCase() === e.toLowerCase())
|
|
17809
|
+
return t;
|
|
17810
|
+
return null;
|
|
17811
|
+
}
|
|
17812
|
+
function bc(n) {
|
|
17813
|
+
const e = n.trim();
|
|
17814
|
+
if (e.length === 0)
|
|
17815
|
+
return n;
|
|
17816
|
+
if (e === "true")
|
|
17817
|
+
return !0;
|
|
17818
|
+
if (e === "false")
|
|
17819
|
+
return !1;
|
|
17820
|
+
if (e === "null")
|
|
17821
|
+
return null;
|
|
17822
|
+
const t = Number(e);
|
|
17823
|
+
return !Number.isNaN(t) && Number.isFinite(t) ? t : n;
|
|
17824
|
+
}
|
|
17825
|
+
function So(n, e) {
|
|
17826
|
+
const t = /* @__PURE__ */ new Map();
|
|
17827
|
+
for (const i of Array.from(n.children))
|
|
17828
|
+
t.set(i.tagName, bc(i.textContent ?? ""));
|
|
17829
|
+
return Object.fromEntries(
|
|
17830
|
+
e.map((i) => [i, t.has(i) ? t.get(i) : ""])
|
|
17831
|
+
);
|
|
17832
|
+
}
|
|
17833
|
+
we.Csv + "", we.Json + "", we.Xml + "";
|
|
17834
|
+
function wc(n, e) {
|
|
17776
17835
|
const i = n.toLowerCase().split("?")[0].split("#")[0].split(".").pop() ?? "";
|
|
17777
17836
|
if (i === "csv")
|
|
17778
|
-
return
|
|
17837
|
+
return we.Csv;
|
|
17779
17838
|
if (i === "json")
|
|
17780
|
-
return
|
|
17839
|
+
return we.Json;
|
|
17781
17840
|
if (i === "xml")
|
|
17782
|
-
return
|
|
17841
|
+
return we.Xml;
|
|
17783
17842
|
const s = (e ?? "").toLowerCase();
|
|
17784
|
-
return s.includes("text/csv") ?
|
|
17843
|
+
return s.includes("text/csv") ? we.Csv : s.includes("application/json") || s.includes("text/json") || s.includes("+json") ? we.Json : s.includes("application/xml") || s.includes("text/xml") || s.includes("+xml") ? we.Xml : we.Csv;
|
|
17785
17844
|
}
|
|
17786
|
-
function
|
|
17787
|
-
return n !==
|
|
17845
|
+
function vc(n, e, t) {
|
|
17846
|
+
return n !== we.Auto ? n : wc(e, t);
|
|
17788
17847
|
}
|
|
17789
|
-
var
|
|
17848
|
+
var yc = Object.defineProperty, Cc = Object.getOwnPropertyDescriptor, Uo = (n) => {
|
|
17790
17849
|
throw TypeError(n);
|
|
17791
17850
|
}, C = (n, e, t, i) => {
|
|
17792
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
17851
|
+
for (var s = i > 1 ? void 0 : i ? Cc(e, t) : e, o = n.length - 1, r; o >= 0; o--)
|
|
17793
17852
|
(r = n[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
|
|
17794
|
-
return i && s &&
|
|
17795
|
-
},
|
|
17853
|
+
return i && s && yc(e, t, s), s;
|
|
17854
|
+
}, Ec = (n, e, t) => e.has(n) || Uo("Cannot " + t), xc = (n, e, t) => (Ec(n, e, "read from private field"), t ? t.call(n) : e.get(n)), Rc = (n, e, t) => e.has(n) ? Uo("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(n) : e.set(n, t), ds, Ko;
|
|
17796
17855
|
let v = class extends xt {
|
|
17797
17856
|
constructor() {
|
|
17798
|
-
super(),
|
|
17857
|
+
super(), Rc(this, ds), this.localize = new Zt(this), this.verticalOsInstance = null, this.horizontalOsInstance = null, this.resizeObserver = null, this.overflowObserver = null, this.filterController = new Hh(this), this.shadowRootAutoloader = new xh(this), 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.columnDefaults = {}, 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.canExportCustom = !1, this.canSaveReport = !1, this.savedSearchURL = "", this.savedSearchItems = [], this.savedSearchPageSizeParam = "PageSize", this.savedSearchPageSize = 10, this.savedSearchPageNumberParam = "PageNumber", this.dropdownFilters = [], this.ajaxURL = void 0, this.ajaxURLGenerator = void 0, this.ajaxParams = void 0, this.ajaxResponse = void 0, 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.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 = zt.Both, this.clipboardCopyRowRange = "range", this.clipboardPasteParser = void 0, this.clipboardPasteAction = "insert", this.clipboardCopyConfig = { columnHeaders: !1 }, this.clipboardNoCopyStyled = !1, this.pagination = !1, this.paginationMode = Ke.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 = lr.Both, this.paginationShowFirst = !1, this.paginationShowLast = !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 = Ke.Local, this.placeholderHeaderFilter = "No matching data", this.noColumnPlaceholderText = this.localize.term("noColumnsVisible"), this.useOverlayScrollbar = !1, this.loading = !1, this.dataUrl = "", this.dataFormat = we.Auto, this.tabulatorInstance = null, this.watchedEvents = /* @__PURE__ */ new Set(), this.activeSearchValue = "", this.dataUrlRequestId = 0, this.handleTableBuilt = () => {
|
|
17799
17858
|
this.useOverlayScrollbar ? this.initVerticalScrollbar() : this.verticalOsInstance?.destroy(), this.initHorizontalScrollbar(), this.initOverflowObserver(), this.filterController.syncDropdownFilterSources(this.dropdownFilters), this.handleSearch(), this.filterController.applyFilters(), this.attachPaginatorToToolbar(), this.dataUrl && this.loadFromDataUrl();
|
|
17800
17859
|
}, this.checkHorizontalOverflow = () => {
|
|
17801
17860
|
if (!this.tabulatorElement || !this.tabulatorHolder)
|
|
@@ -17843,9 +17902,9 @@ let v = class extends xt {
|
|
|
17843
17902
|
async initTable() {
|
|
17844
17903
|
this.tabulatorInstance && (this.overflowObserver?.disconnect(), this.verticalOsInstance?.destroy(), this.horizontalOsInstance?.destroy(), this.tabulatorInstance.destroy());
|
|
17845
17904
|
let n = this.rowHeader;
|
|
17846
|
-
n == null && (this.movableRows ? n =
|
|
17905
|
+
n == null && (this.movableRows ? n = nc : this.responsiveLayout === "collapse" && (n = {
|
|
17847
17906
|
formatter: "responsiveCollapse"
|
|
17848
|
-
})), this.tabulatorInstance = new
|
|
17907
|
+
})), this.tabulatorInstance = new Eh(this.table, {
|
|
17849
17908
|
ajaxParams: this.ajaxParams,
|
|
17850
17909
|
ajaxResponse: this.ajaxResponse,
|
|
17851
17910
|
ajaxURL: this.ajaxURL,
|
|
@@ -17894,7 +17953,7 @@ let v = class extends xt {
|
|
|
17894
17953
|
groupHeaderPrint: this.groupHeaderPrint,
|
|
17895
17954
|
groupIndent: this.groupIndent,
|
|
17896
17955
|
groupLoadMoreMeta: this.groupLoadMoreMeta,
|
|
17897
|
-
groupStartOpen:
|
|
17956
|
+
groupStartOpen: xc(this, ds, Ko),
|
|
17898
17957
|
groupToggleElement: this.groupToggleElement,
|
|
17899
17958
|
groupUpdateOnCellEdit: this.groupUpdateOnCellEdit,
|
|
17900
17959
|
groupValues: this.groupValues,
|
|
@@ -18129,7 +18188,7 @@ let v = class extends xt {
|
|
|
18129
18188
|
}
|
|
18130
18189
|
async streamCsvData(n, e) {
|
|
18131
18190
|
let t = !0;
|
|
18132
|
-
const s = await
|
|
18191
|
+
const s = await cc(
|
|
18133
18192
|
n,
|
|
18134
18193
|
(o) => {
|
|
18135
18194
|
e === this.dataUrlRequestId && (this.columns = o);
|
|
@@ -18150,7 +18209,31 @@ let v = class extends xt {
|
|
|
18150
18209
|
};
|
|
18151
18210
|
let o;
|
|
18152
18211
|
try {
|
|
18153
|
-
o = await
|
|
18212
|
+
o = await uc(
|
|
18213
|
+
n,
|
|
18214
|
+
(r) => {
|
|
18215
|
+
e === this.dataUrlRequestId && (this.columns = r);
|
|
18216
|
+
},
|
|
18217
|
+
s
|
|
18218
|
+
);
|
|
18219
|
+
} catch (r) {
|
|
18220
|
+
if (r === t)
|
|
18221
|
+
return 0;
|
|
18222
|
+
throw r;
|
|
18223
|
+
}
|
|
18224
|
+
return i && e === this.dataUrlRequestId && await this.tabulatorInstance?.setData([]), o;
|
|
18225
|
+
}
|
|
18226
|
+
async streamXmlData(n, e) {
|
|
18227
|
+
const t = new Error("table data request superseded");
|
|
18228
|
+
let i = !0;
|
|
18229
|
+
const s = async (r) => {
|
|
18230
|
+
if (e !== this.dataUrlRequestId)
|
|
18231
|
+
throw t;
|
|
18232
|
+
i ? (await this.tabulatorInstance?.setData(r), i = !1) : await this.tabulatorInstance?.addData(r), await new Promise((a) => requestAnimationFrame(() => a()));
|
|
18233
|
+
};
|
|
18234
|
+
let o;
|
|
18235
|
+
try {
|
|
18236
|
+
o = await dc(
|
|
18154
18237
|
n,
|
|
18155
18238
|
(r) => {
|
|
18156
18239
|
e === this.dataUrlRequestId && (this.columns = r);
|
|
@@ -18172,25 +18255,39 @@ let v = class extends xt {
|
|
|
18172
18255
|
const t = await fetch(n);
|
|
18173
18256
|
if (!t.ok)
|
|
18174
18257
|
throw new Error(`Failed to fetch data: ${t.status} ${t.statusText}`);
|
|
18175
|
-
const i = t.headers.get("content-type"), s =
|
|
18258
|
+
const i = t.headers.get("content-type"), s = vc(this.dataFormat, n, i);
|
|
18176
18259
|
if (e !== this.dataUrlRequestId)
|
|
18177
18260
|
return;
|
|
18178
18261
|
const o = await t.text();
|
|
18179
18262
|
if (e !== this.dataUrlRequestId)
|
|
18180
18263
|
return;
|
|
18181
|
-
if (s ===
|
|
18264
|
+
if (s === we.Csv) {
|
|
18182
18265
|
const r = await this.streamCsvData(o, e);
|
|
18183
|
-
e === this.dataUrlRequestId && (this.tabulatorInstance?.redraw(!0), this.emit("cx-table-data-load", {
|
|
18184
|
-
|
|
18266
|
+
e === this.dataUrlRequestId && (this.tabulatorInstance?.redraw(!0), this.emit("cx-table-data-load", {
|
|
18267
|
+
detail: {
|
|
18268
|
+
format: s,
|
|
18269
|
+
rowCount: r,
|
|
18270
|
+
url: n
|
|
18271
|
+
}
|
|
18272
|
+
}));
|
|
18273
|
+
} else if (s === we.Json) {
|
|
18185
18274
|
const r = await this.streamJsonData(o, e);
|
|
18186
|
-
e === this.dataUrlRequestId && (this.tabulatorInstance?.redraw(!0), this.emit("cx-table-data-load", {
|
|
18187
|
-
|
|
18188
|
-
|
|
18189
|
-
|
|
18190
|
-
|
|
18191
|
-
|
|
18192
|
-
|
|
18193
|
-
|
|
18275
|
+
e === this.dataUrlRequestId && (this.tabulatorInstance?.redraw(!0), this.emit("cx-table-data-load", {
|
|
18276
|
+
detail: {
|
|
18277
|
+
format: s,
|
|
18278
|
+
rowCount: r,
|
|
18279
|
+
url: n
|
|
18280
|
+
}
|
|
18281
|
+
}));
|
|
18282
|
+
} else if (s === we.Xml) {
|
|
18283
|
+
const r = await this.streamXmlData(o, e);
|
|
18284
|
+
e === this.dataUrlRequestId && (this.tabulatorInstance?.redraw(!0), this.emit("cx-table-data-load", {
|
|
18285
|
+
detail: {
|
|
18286
|
+
format: s,
|
|
18287
|
+
rowCount: r,
|
|
18288
|
+
url: n
|
|
18289
|
+
}
|
|
18290
|
+
}));
|
|
18194
18291
|
}
|
|
18195
18292
|
} catch (t) {
|
|
18196
18293
|
e === this.dataUrlRequestId && this.emit("cx-table-data-load-error", { detail: { error: t, url: this.dataUrl } });
|
|
@@ -18203,30 +18300,30 @@ let v = class extends xt {
|
|
|
18203
18300
|
return M`<cx-space part="base" direction="vertical" spacing="large" wrap="nowrap" class=${$t({
|
|
18204
18301
|
container: !0,
|
|
18205
18302
|
"container--overlay-scrollbar": this.useOverlayScrollbar
|
|
18206
|
-
})}>${
|
|
18303
|
+
})}>${Ce(
|
|
18207
18304
|
this.showTableToolbar,
|
|
18208
18305
|
() => M`<cx-table-toolbar label=${this.label} ?can-search=${this.canSearch} search-value=${this.searchValue} ?can-add=${this.canAdd} add-label=${this.addLabel} ?can-export-csv=${this.canExportCsv} ?can-export-xml=${this.canExportXml} ?can-export-custom=${this.canExportCustom} ?can-save-report=${this.canSaveReport} ?show-saved-search=${this.showSavedSearch} ?no-advanced-search=${this.noAdvancedSearch} .dropdownFilters=${this.dropdownFilters} saved-search-url=${this.savedSearchURL} .savedSearchItems=${this.savedSearchItems} saved-search-page-size-param=${this.savedSearchPageSizeParam} saved-search-page-size=${this.savedSearchPageSize} saved-search-page-number-param=${this.savedSearchPageNumberParam} @cx-search=${this.handleSearch} @cx-table-export=${this.handleTableExport} @cx-table-dropdown-filter-change=${this.handleDropdownFilterChange}></cx-table-toolbar>`
|
|
18209
18306
|
)}<div part="table" class="table"></div></cx-space>`;
|
|
18210
18307
|
}
|
|
18211
18308
|
};
|
|
18212
18309
|
ds = /* @__PURE__ */ new WeakSet();
|
|
18213
|
-
|
|
18310
|
+
Ko = function() {
|
|
18214
18311
|
return this.groupStartOpenValues !== void 0 && this.groupStartOpenValues !== null ? (n) => this.groupStartOpenValues?.includes(n) ?? !1 : this.groupStartOpen;
|
|
18215
18312
|
};
|
|
18216
18313
|
v.styles = [
|
|
18217
18314
|
At,
|
|
18218
|
-
|
|
18219
|
-
|
|
18315
|
+
rc,
|
|
18316
|
+
Zo
|
|
18220
18317
|
];
|
|
18221
18318
|
v.dependencies = {
|
|
18222
18319
|
"cx-button": Et,
|
|
18223
|
-
"cx-checkbox":
|
|
18224
|
-
"cx-divider":
|
|
18225
|
-
"cx-format-number":
|
|
18226
|
-
"cx-icon-button":
|
|
18227
|
-
"cx-select":
|
|
18320
|
+
"cx-checkbox": qo,
|
|
18321
|
+
"cx-divider": Xo,
|
|
18322
|
+
"cx-format-number": Jo,
|
|
18323
|
+
"cx-icon-button": ko,
|
|
18324
|
+
"cx-select": Yo,
|
|
18228
18325
|
"cx-space": us,
|
|
18229
|
-
"cx-spinner":
|
|
18326
|
+
"cx-spinner": Qo,
|
|
18230
18327
|
"cx-table-row-actions": st,
|
|
18231
18328
|
"cx-table-toolbar": ee
|
|
18232
18329
|
};
|
|
@@ -18517,7 +18614,7 @@ C([
|
|
|
18517
18614
|
C([
|
|
18518
18615
|
y({
|
|
18519
18616
|
attribute: "frozen-rows",
|
|
18520
|
-
converter:
|
|
18617
|
+
converter: ac
|
|
18521
18618
|
})
|
|
18522
18619
|
], v.prototype, "frozenRows", 2);
|
|
18523
18620
|
C([
|
|
@@ -18535,7 +18632,7 @@ C([
|
|
|
18535
18632
|
C([
|
|
18536
18633
|
y({
|
|
18537
18634
|
attribute: "group-by",
|
|
18538
|
-
converter:
|
|
18635
|
+
converter: hc
|
|
18539
18636
|
})
|
|
18540
18637
|
], v.prototype, "groupBy", 2);
|
|
18541
18638
|
C([
|
|
@@ -18684,7 +18781,7 @@ C([
|
|
|
18684
18781
|
C([
|
|
18685
18782
|
y({
|
|
18686
18783
|
attribute: "data-tree-start-expanded",
|
|
18687
|
-
converter:
|
|
18784
|
+
converter: lc
|
|
18688
18785
|
})
|
|
18689
18786
|
], v.prototype, "dataTreeStartExpanded", 2);
|
|
18690
18787
|
C([
|
|
@@ -19186,7 +19283,7 @@ export {
|
|
|
19186
19283
|
Ti as D,
|
|
19187
19284
|
Di as E,
|
|
19188
19285
|
zi as F,
|
|
19189
|
-
|
|
19286
|
+
Fo as G,
|
|
19190
19287
|
at as H,
|
|
19191
19288
|
Ai as I,
|
|
19192
19289
|
ji as J,
|
|
@@ -19195,10 +19292,10 @@ export {
|
|
|
19195
19292
|
P as M,
|
|
19196
19293
|
$i as N,
|
|
19197
19294
|
Ui as O,
|
|
19198
|
-
|
|
19295
|
+
gd as P,
|
|
19199
19296
|
Ki as Q,
|
|
19200
19297
|
bs as R,
|
|
19201
|
-
|
|
19298
|
+
xh as S,
|
|
19202
19299
|
it as T,
|
|
19203
19300
|
qi as U,
|
|
19204
19301
|
Xi as V,
|
|
@@ -19207,7 +19304,7 @@ export {
|
|
|
19207
19304
|
Qi as Y,
|
|
19208
19305
|
Zi as Z,
|
|
19209
19306
|
es as _,
|
|
19210
|
-
|
|
19307
|
+
Eh as a,
|
|
19211
19308
|
is as a0,
|
|
19212
19309
|
ss as a1,
|
|
19213
19310
|
os as a2,
|
|
@@ -19215,9 +19312,9 @@ export {
|
|
|
19215
19312
|
ee as a4,
|
|
19216
19313
|
ms as b,
|
|
19217
19314
|
xi as c,
|
|
19218
|
-
|
|
19219
|
-
|
|
19220
|
-
|
|
19315
|
+
Pr as d,
|
|
19316
|
+
zl as e,
|
|
19317
|
+
Wo as f,
|
|
19221
19318
|
pe as g,
|
|
19222
19319
|
Nt as h,
|
|
19223
19320
|
ri as i,
|