@orangelogic/design-system 2.127.0 → 2.128.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/library/chunks/{color-swatch-group.CQlKsT07.js → color-swatch-group.DPaKBfvX.js} +1 -1
- package/library/chunks/{folder-select.CDFQfcrG.js → folder-select.DMpO7oQF.js} +203 -185
- package/library/chunks/{list-editor.CyHNKjuZ.js → list-editor.C8SaStOE.js} +1 -1
- package/library/chunks/{table.CipCH4U5.js → table.Cf3C72Lv.js} +713 -661
- package/library/components/atoms.js +1 -1
- package/library/components/color-swatch-group.js +2 -2
- package/library/components/divider.js +14 -14
- package/library/components/drawer.js +25 -23
- package/library/components/folder-select.js +1 -1
- 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/table.js +1 -1
- package/library/components/types.js +42420 -41562
- package/library/components/video.js +2304 -2291
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/drawer/drawer.d.ts +1 -0
- package/library/packages/atoms/src/components/video/video.d.ts +6 -0
- package/library/packages/events/src/cx-table-switch-change.d.ts +10 -0
- package/library/packages/events/src/events.d.ts +1 -0
- package/library/packages/hybrid/table-core/src/tabulator-tables/modules/Format/defaults/formatters/switch.d.ts +3 -0
- package/library/packages/hybrid/table-core/src/tabulator-tables/modules/Format/defaults/formatters/toggle.d.ts +12 -0
- package/library/packages/hybrid/table-core/src/tabulator-tables/modules/Format/defaults/formatters.d.ts +2 -0
- package/library/packages/molecules/src/folder-select/components/folder-select-tree/folder-select-tree.d.ts +2 -0
- package/library/packages/molecules/src/folder-select/folder-select.d.ts +1 -0
- package/library/packages/organisms/src/annotator-comment/annotator-comment.constants.d.ts +6 -0
- package/library/packages/organisms/src/annotator-comment/annotator-comment.d.ts +82 -0
- package/library/packages/organisms/src/annotator-comment/annotator-comment.styles.d.ts +2 -0
- package/library/packages/organisms/src/annotator-comment/components/annotator-comment-menu.d.ts +69 -0
- package/library/packages/organisms/src/annotator-comment/components/annotator-comment-menu.styles.d.ts +2 -0
- package/library/packages/organisms/src/annotator-comment/extensions/history.d.ts +45 -0
- package/library/packages/organisms/src/annotator-comment/extensions/keyboard.d.ts +7 -0
- package/library/packages/organisms/src/annotator-comment/extensions/prosemirror-history.d.ts +19 -0
- package/library/packages/organisms/src/annotator-comment/extensions/time.d.ts +63 -0
- package/library/packages/organisms/src/annotator-comment/marker-controller.d.ts +45 -0
- package/library/packages/organisms/src/index.d.ts +1 -0
- package/library/packages/types/src/folder-select.d.ts +1 -1
- package/library/packages/types/src/table.d.ts +8 -2
- package/library/react-web-component.d.ts +228 -98
- package/package.json +1 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { C as St } from "./button.DcInI7IV.js";
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { C as
|
|
6
|
-
import
|
|
2
|
+
import Zo from "../components/checkbox.js";
|
|
3
|
+
import er from "../components/divider.js";
|
|
4
|
+
import tr from "../components/format-number.js";
|
|
5
|
+
import { C as Lo } from "./icon-button.COTH_z-J.js";
|
|
6
|
+
import ir from "../components/select.js";
|
|
7
7
|
import fs from "../components/space.js";
|
|
8
|
-
import
|
|
8
|
+
import sr from "../components/spinner.js";
|
|
9
9
|
import { n as y, C as pt } from "./lib-cortex-element.CVMmyPMC.js";
|
|
10
10
|
import { c as kt } from "./component.styles.CRO4Odto.js";
|
|
11
|
-
import { o as
|
|
12
|
-
import { g as
|
|
13
|
-
import { x as T, i as Y, E as
|
|
11
|
+
import { o as or, O as Us } from "./overlayscrollbars.BMav4RQ4.js";
|
|
12
|
+
import { g as j, a as Ks } from "./dom.BXeuEG1b.js";
|
|
13
|
+
import { x as T, i as Y, E as rr } from "./lit-element.jLBm65_O.js";
|
|
14
14
|
import "./browser.BHOCIF_A.js";
|
|
15
15
|
import "./form.3af0bYrm.js";
|
|
16
16
|
import { L as ei } from "./i18n.NAH4U8Lw.js";
|
|
@@ -18,14 +18,14 @@ import "./purify.es.BIuh5IAZ.js";
|
|
|
18
18
|
import "./date-picker.D0SJADN6.js";
|
|
19
19
|
import "./content-builder.BGzxZUgi.js";
|
|
20
20
|
import "./unsafe-html.Dff7-rCx.js";
|
|
21
|
-
import { t as
|
|
21
|
+
import { t as nr, g as ar } from "./toast.D3AW3RWv.js";
|
|
22
22
|
import { s as H, c as ti, d as gs } from "./string.CbnVBzsd.js";
|
|
23
23
|
import { o as _e } 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 lr, C as hr } from "./typography.DJC_UXgs.js";
|
|
26
|
+
import { a as cr } from "./_commonjsHelpers.DQNKXVTB.js";
|
|
27
|
+
import { d as dr } from "./debounce.C_J-9zJi.js";
|
|
28
|
+
import { C as ur, P as pr } from "./pagination.tSkuYrqk.js";
|
|
29
29
|
import { c as ft } from "./custom-element.L4WJXn1j.js";
|
|
30
30
|
import { w as ne } from "./watch.CThbualB.js";
|
|
31
31
|
import { r as Pe } from "./state.CSDxrqLd.js";
|
|
@@ -34,14 +34,14 @@ import { e as Ut } from "./class-map.BiVq-cVR.js";
|
|
|
34
34
|
import { n as we } from "./when.Dr1es41R.js";
|
|
35
35
|
import { C as ii } from "./icon.DnBh6-56.js";
|
|
36
36
|
import ms from "../components/tooltip.js";
|
|
37
|
-
import { r as
|
|
37
|
+
import { r as fr } from "./choose.BTbF6BAn.js";
|
|
38
38
|
import { c as Rt } from "./repeat.DbF2p5ae.js";
|
|
39
39
|
import si from "../components/dropdown.js";
|
|
40
40
|
import oi from "../components/menu.js";
|
|
41
41
|
import ri from "../components/menu-item.js";
|
|
42
|
-
import
|
|
43
|
-
import { C as
|
|
44
|
-
import { H as
|
|
42
|
+
import gr from "../components/menu-section.js";
|
|
43
|
+
import { C as mr } from "./input.BRgVRr2i.js";
|
|
44
|
+
import { H as br } 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 qs = process.env.NODE_ENV === "development";
|
|
190
|
-
let
|
|
190
|
+
let wr = class zo 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 br = class Lo 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 zo(this.table, e, this), this.childPopup;
|
|
314
314
|
}
|
|
315
315
|
};
|
|
316
|
-
const
|
|
316
|
+
const vr = 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)) : vr && 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 wr(this.table, e, t);
|
|
383
383
|
}
|
|
384
384
|
/**
|
|
385
385
|
* Alert Management
|
|
@@ -398,7 +398,7 @@ const Rs = class Rs extends P {
|
|
|
398
398
|
};
|
|
399
399
|
Rs.moduleName = "accessibility";
|
|
400
400
|
let wi = Rs;
|
|
401
|
-
const
|
|
401
|
+
const yr = "tabulator-clickable-cell", Cr = 'button, [role="button"], cx-button, cx-menu-item, cx-dropdown', Er = "hoverMenu", Xs = "cx-table-row-action-click", Ss = class Ss 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 vr = "tabulator-clickable-cell", yr = '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(yr, i), !i) {
|
|
419
419
|
t.removeAttribute("tabindex"), t.removeAttribute("role");
|
|
420
420
|
return;
|
|
421
421
|
}
|
|
@@ -448,7 +448,7 @@ const vr = "tabulator-clickable-cell", yr = '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(Cr))
|
|
452
452
|
return;
|
|
453
453
|
}
|
|
454
454
|
if (e.ctrlKey || e.metaKey) {
|
|
@@ -491,7 +491,7 @@ const vr = "tabulator-clickable-cell", yr = '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 ?? Er, 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(
|
|
@@ -508,7 +508,7 @@ const vr = "tabulator-clickable-cell", yr = 'button, [role="button"], cx-button,
|
|
|
508
508
|
Ss.moduleName = "clickableCell";
|
|
509
509
|
let vi = Ss;
|
|
510
510
|
var ni = /* @__PURE__ */ ((n) => (n.BottomCenter = "bottom-center", n.BottomEnd = "bottom-end", n.BottomStart = "bottom-start", n.TopCenter = "top-center", n.TopEnd = "top-end", n.TopStart = "top-start", n))(ni || {}), $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 || {}), Ft = /* @__PURE__ */ ((n) => (n.Both = "both", n.Copy = "copy", n.Paste = "paste", n))(Ft || {}), ve = /* @__PURE__ */ ((n) => (n.Auto = "auto", n.Csv = "csv", n.Json = "json", n.Xml = "xml", n))(ve || {}), 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
|
|
511
|
+
const Fo = 36, xr = T`<cx-table-row-actions></cx-table-row-actions>`, yt = class yt 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 zo = 36, Er = T`<cx-table-row-actions></cx-table-row-actions>`, yt = class
|
|
|
558
558
|
i && i.classList.remove("tabulator-hover-menu--active");
|
|
559
559
|
}
|
|
560
560
|
createCxTableRowActions() {
|
|
561
|
-
const e =
|
|
561
|
+
const e = j(xr);
|
|
562
562
|
return e.classList.add("tabulator-hover-menu"), e;
|
|
563
563
|
}
|
|
564
564
|
layoutRow(e) {
|
|
@@ -598,12 +598,12 @@ const zo = 36, Er = T`<cx-table-row-actions></cx-table-row-actions>`, yt = class
|
|
|
598
598
|
};
|
|
599
599
|
yt.moduleName = "hoverMenu", yt.placementDataAttribute = "hoverMenuPlacement";
|
|
600
600
|
let yi = yt;
|
|
601
|
-
const
|
|
601
|
+
const Rr = {
|
|
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
|
+
}, Sr = process.env.NODE_ENV === "development", Ct = class Ct extends P {
|
|
607
607
|
// list of accessor types
|
|
608
608
|
constructor(e) {
|
|
609
609
|
super(e), this.allowedTypes = [
|
|
@@ -641,7 +641,7 @@ const xr = {
|
|
|
641
641
|
let t = !1;
|
|
642
642
|
switch (typeof e) {
|
|
643
643
|
case "string":
|
|
644
|
-
Ct.accessors[e] ? t = Ct.accessors[e] :
|
|
644
|
+
Ct.accessors[e] ? t = Ct.accessors[e] : Sr && console.warn(
|
|
645
645
|
"Accessor Error - No such accessor found, ignoring: ",
|
|
646
646
|
e
|
|
647
647
|
);
|
|
@@ -678,12 +678,12 @@ const xr = {
|
|
|
678
678
|
}), o;
|
|
679
679
|
}
|
|
680
680
|
};
|
|
681
|
-
Ct.moduleName = "accessor", Ct.accessors =
|
|
681
|
+
Ct.moduleName = "accessor", Ct.accessors = Rr;
|
|
682
682
|
let Ci = Ct;
|
|
683
|
-
const
|
|
683
|
+
const kr = {
|
|
684
684
|
method: "GET"
|
|
685
685
|
};
|
|
686
|
-
function
|
|
686
|
+
function Oo(n) {
|
|
687
687
|
return n instanceof File || n instanceof Blob;
|
|
688
688
|
}
|
|
689
689
|
function Ei(n, e = "") {
|
|
@@ -697,7 +697,7 @@ function Ei(n, e = "") {
|
|
|
697
697
|
)
|
|
698
698
|
);
|
|
699
699
|
});
|
|
700
|
-
else if (
|
|
700
|
+
else if (Oo(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 Ei(n, e = "") {
|
|
|
711
711
|
t.push({ key: e, value: n });
|
|
712
712
|
return t;
|
|
713
713
|
}
|
|
714
|
-
const
|
|
714
|
+
const Tr = {
|
|
715
715
|
form: {
|
|
716
716
|
body: function(n, e, t) {
|
|
717
717
|
const i = Ei(t), s = new FormData();
|
|
718
718
|
return i.forEach((o) => {
|
|
719
719
|
s.append(
|
|
720
720
|
o.key,
|
|
721
|
-
|
|
721
|
+
Oo(o.value) ? o.value : String(o.value)
|
|
722
722
|
);
|
|
723
723
|
}), s;
|
|
724
724
|
},
|
|
@@ -756,7 +756,7 @@ function xi(n, e = "") {
|
|
|
756
756
|
t.push({ key: e, value: n });
|
|
757
757
|
return t;
|
|
758
758
|
}
|
|
759
|
-
function
|
|
759
|
+
function Mr(n) {
|
|
760
760
|
const e = xi(n), t = [];
|
|
761
761
|
return e.forEach((i) => {
|
|
762
762
|
t.push(
|
|
@@ -764,10 +764,10 @@ function Tr(n) {
|
|
|
764
764
|
);
|
|
765
765
|
}), t.join("&");
|
|
766
766
|
}
|
|
767
|
-
const
|
|
767
|
+
const _o = 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 = Mr(t);
|
|
771
771
|
n = i + (i.includes("?") ? "&" : "?") + o + (s ? "#" + s : "");
|
|
772
772
|
}
|
|
773
773
|
return n;
|
|
@@ -828,7 +828,7 @@ const Oo = 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 = kr, Oe.defaultURLGenerator = _o, Oe.contentTypeFormatters = Tr, 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 bs(n) {
|
|
|
880
880
|
}), t = t.parent;
|
|
881
881
|
return e;
|
|
882
882
|
}
|
|
883
|
-
function
|
|
883
|
+
function Po(n) {
|
|
884
884
|
return JSON.stringify(n);
|
|
885
885
|
}
|
|
886
|
-
function
|
|
886
|
+
function Dr(n, e) {
|
|
887
887
|
return n?.[e];
|
|
888
888
|
}
|
|
889
|
-
function
|
|
889
|
+
function Lr(n) {
|
|
890
890
|
const e = bs(n);
|
|
891
891
|
return {
|
|
892
892
|
path: e,
|
|
893
|
-
pathKey:
|
|
893
|
+
pathKey: Po(e),
|
|
894
894
|
rowCount: n.getRowCount()
|
|
895
895
|
};
|
|
896
896
|
}
|
|
897
|
-
class
|
|
897
|
+
class Ho {
|
|
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 Po {
|
|
|
960
960
|
return this._group.groupManager.table;
|
|
961
961
|
}
|
|
962
962
|
}
|
|
963
|
-
const
|
|
963
|
+
const zr = process.env.NODE_ENV === "development";
|
|
964
964
|
class Si {
|
|
965
965
|
constructor(e) {
|
|
966
966
|
return this._column = e, this.type = "ColumnComponent", new Proxy(this, {
|
|
@@ -1040,7 +1040,7 @@ class Si {
|
|
|
1040
1040
|
this._column,
|
|
1041
1041
|
i,
|
|
1042
1042
|
t
|
|
1043
|
-
) :
|
|
1043
|
+
) : zr && 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 Si {
|
|
|
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 Fr = process.env.NODE_ENV === "development";
|
|
1065
1065
|
class ai 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 ai extends fe {
|
|
|
1163
1163
|
}
|
|
1164
1164
|
s();
|
|
1165
1165
|
} else
|
|
1166
|
-
|
|
1166
|
+
Fr && console.warn("Scroll Error - Row not visible"), o("Scroll Error - Row not visible");
|
|
1167
1167
|
});
|
|
1168
1168
|
}
|
|
1169
1169
|
}
|
|
1170
|
-
const
|
|
1170
|
+
const Or = {
|
|
1171
1171
|
insert: function(n) {
|
|
1172
1172
|
return this.table.addData(n);
|
|
1173
1173
|
},
|
|
@@ -1177,7 +1177,7 @@ const Fr = {
|
|
|
1177
1177
|
update: function(n) {
|
|
1178
1178
|
return this.table.updateOrAddData(n);
|
|
1179
1179
|
}
|
|
1180
|
-
},
|
|
1180
|
+
}, _r = {
|
|
1181
1181
|
table: function(n) {
|
|
1182
1182
|
const e = [];
|
|
1183
1183
|
let t = !0;
|
|
@@ -1199,16 +1199,16 @@ const Fr = {
|
|
|
1199
1199
|
}), o.push(l);
|
|
1200
1200
|
}), o) : !1;
|
|
1201
1201
|
}
|
|
1202
|
-
},
|
|
1202
|
+
}, Pr = {
|
|
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
|
-
}, Pr = {
|
|
1207
|
-
copyToClipboard: ["ctrl + 67", "meta + 67"]
|
|
1208
1206
|
}, Hr = {
|
|
1207
|
+
copyToClipboard: ["ctrl + 67", "meta + 67"]
|
|
1208
|
+
}, Ar = {
|
|
1209
1209
|
keybindings: {
|
|
1210
|
-
actions:
|
|
1211
|
-
bindings:
|
|
1210
|
+
actions: Pr,
|
|
1211
|
+
bindings: Hr
|
|
1212
1212
|
}
|
|
1213
1213
|
}, Js = process.env.NODE_ENV === "development";
|
|
1214
1214
|
function Ys(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 = Ys(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), nr("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 Ho ? 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 = Ar, Ye.pasteActions = Or, Ye.pasteParsers = _r;
|
|
1330
1330
|
let ki = Ye;
|
|
1331
1331
|
class ws {
|
|
1332
1332
|
constructor(e) {
|
|
@@ -1392,7 +1392,7 @@ class ws {
|
|
|
1392
1392
|
return this._cell;
|
|
1393
1393
|
}
|
|
1394
1394
|
}
|
|
1395
|
-
const
|
|
1395
|
+
const Nr = T`<div class="tabulator-cell"></div>`, Vr = process.env.NODE_ENV === "development";
|
|
1396
1396
|
class Vt 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 Vt 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 =
|
|
1408
|
+
if (this.element = j(Nr), 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 Vt 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 && Vr && 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 Vt extends fe {
|
|
|
1551
1551
|
return this.component ??= new ws(this), this.component;
|
|
1552
1552
|
}
|
|
1553
1553
|
}
|
|
1554
|
-
const
|
|
1554
|
+
const Ao = {
|
|
1555
1555
|
columns: void 0,
|
|
1556
1556
|
cssClass: void 0,
|
|
1557
1557
|
editableTitle: void 0,
|
|
@@ -2049,7 +2049,7 @@ const Ho = {
|
|
|
2049
2049
|
return this.parent instanceof ue ? this.parent.getComponent() : !1;
|
|
2050
2050
|
}
|
|
2051
2051
|
};
|
|
2052
|
-
ue.defaultOptionList =
|
|
2052
|
+
ue.defaultOptionList = Ao;
|
|
2053
2053
|
let Re = ue;
|
|
2054
2054
|
class vs {
|
|
2055
2055
|
constructor(e) {
|
|
@@ -2350,7 +2350,7 @@ class pe extends fe {
|
|
|
2350
2350
|
return this.component || (this.component = new vs(this)), this.component;
|
|
2351
2351
|
}
|
|
2352
2352
|
}
|
|
2353
|
-
class
|
|
2353
|
+
class Ir {
|
|
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 Vr {
|
|
|
2383
2383
|
return this._row;
|
|
2384
2384
|
}
|
|
2385
2385
|
}
|
|
2386
|
-
const
|
|
2386
|
+
const Br = {
|
|
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 Ir = {
|
|
|
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 Ir(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 Ir = {
|
|
|
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 = Br;
|
|
2679
2679
|
let Ti = Qe;
|
|
2680
2680
|
class Mi extends pe {
|
|
2681
2681
|
constructor(e = {}, t) {
|
|
@@ -2724,9 +2724,9 @@ class Mi extends pe {
|
|
|
2724
2724
|
this.element?.parentNode && this.element.parentNode.removeChild(this.element);
|
|
2725
2725
|
}
|
|
2726
2726
|
}
|
|
2727
|
-
const
|
|
2727
|
+
const Wr = T`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-button name="keyboard_arrow_down"></cx-icon-button></span>`, jr = T`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-button name="keyboard_arrow_right"></cx-icon-button></span>`, Gr = T`<span class="tabulator-data-tree-control tabulator-data-tree-control-placeholder" aria-hidden="true"></span>`, $r = T`<div class="tabulator-data-tree-branch"></div>`, Ur = T`<div class="tabulator-data-tree-branch-empty"></div>`, Kr = T`<cx-button size="small"><cx-icon slot="prefix" name="add" variant="outlined"></cx-icon>
|
|
2728
2728
|
Load More
|
|
2729
|
-
</cx-button>`,
|
|
2729
|
+
</cx-button>`, qr = T`<div class="tabulator-data-tree-loading">Loading...</div>`, Xr = process.env.NODE_ENV === "development", ks = class ks 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 Br = T`<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") && Xr && 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 =
|
|
2769
|
+
), t.dataTreeBranchElement ? t.dataTreeBranchElement === !0 ? this.branchEl = j($r) : typeof t.dataTreeBranchElement == "string" ? (e = document.createElement("div"), e.innerHTML = H(t.dataTreeBranchElement), this.branchEl = e.firstChild) : this.branchEl = t.dataTreeBranchElement : this.branchEl = j(Ur), 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 = j(Wr), 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 = j(jr), typeof t.dataTreeStartExpanded) {
|
|
2770
2770
|
case "boolean":
|
|
2771
2771
|
this.startOpen = function() {
|
|
2772
2772
|
return t.dataTreeStartExpanded;
|
|
@@ -2866,7 +2866,7 @@ const Br = T`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
|
|
|
2866
2866
|
r.stopPropagation();
|
|
2867
2867
|
});
|
|
2868
2868
|
} else
|
|
2869
|
-
o =
|
|
2869
|
+
o = j(Gr);
|
|
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 Br = T`<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 =
|
|
2931
|
+
const s = j(Kr);
|
|
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 Br = T`<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 =
|
|
2960
|
+
const s = j(qr);
|
|
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 Br = T`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
|
|
|
3112
3112
|
};
|
|
3113
3113
|
ks.moduleName = "dataTree";
|
|
3114
3114
|
let Di = ks;
|
|
3115
|
-
const eo = process.env.NODE_ENV === "development",
|
|
3115
|
+
const eo = process.env.NODE_ENV === "development", Jr = 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 eo = process.env.NODE_ENV === "development", Xr = 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
|
+
}, Yr = 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
|
-
}, to = process.env.NODE_ENV === "development",
|
|
3160
|
+
}, to = process.env.NODE_ENV === "development", Qr = function(n, e, t) {
|
|
3161
3161
|
const i = [];
|
|
3162
3162
|
n.forEach((o) => {
|
|
3163
3163
|
const r = {};
|
|
@@ -3183,7 +3183,7 @@ const eo = process.env.NODE_ENV === "development", Xr = function(n, e = {}, t) {
|
|
|
3183
3183
|
});
|
|
3184
3184
|
const s = JSON.stringify(i, null, " ");
|
|
3185
3185
|
t(s, "application/json");
|
|
3186
|
-
}, io = process.env.NODE_ENV === "development",
|
|
3186
|
+
}, io = process.env.NODE_ENV === "development", Zr = function(n, e, t) {
|
|
3187
3187
|
const i = [];
|
|
3188
3188
|
n.forEach((s) => {
|
|
3189
3189
|
const o = {};
|
|
@@ -3208,7 +3208,7 @@ const eo = process.env.NODE_ENV === "development", Xr = function(n, e = {}, t) {
|
|
|
3208
3208
|
}
|
|
3209
3209
|
}), t(i.join(`
|
|
3210
3210
|
`), "application/x-ndjson");
|
|
3211
|
-
},
|
|
3211
|
+
}, en = process.env.NODE_ENV === "development", tn = 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 eo = process.env.NODE_ENV === "development", Xr = function(n, e = {}, t) {
|
|
|
3263
3263
|
});
|
|
3264
3264
|
const p = i.dependencyRegistry.lookup("jspdf", "jsPDF");
|
|
3265
3265
|
if (!p) {
|
|
3266
|
-
|
|
3266
|
+
en && console.error(
|
|
3267
3267
|
"Download Error - 'pdf' downloader requires jspdf library to be registered"
|
|
3268
3268
|
);
|
|
3269
3269
|
return;
|
|
@@ -3272,10 +3272,10 @@ const eo = process.env.NODE_ENV === "development", Xr = 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
|
+
}, sn = process.env.NODE_ENV === "development", on = 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
|
+
sn && console.error(
|
|
3279
3279
|
"Download Error - 'xlsx' downloader requires XLSX library to be registered"
|
|
3280
3280
|
);
|
|
3281
3281
|
return;
|
|
@@ -3336,14 +3336,14 @@ const eo = process.env.NODE_ENV === "development", Xr = 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
|
+
}, rn = {
|
|
3340
|
+
csv: Jr,
|
|
3341
|
+
html: Yr,
|
|
3342
|
+
json: Qr,
|
|
3343
|
+
jsonLines: Zr,
|
|
3344
|
+
pdf: tn,
|
|
3345
|
+
xlsx: on
|
|
3346
|
+
}, nn = process.env.NODE_ENV === "development", Et = class Et extends P {
|
|
3347
3347
|
constructor(e) {
|
|
3348
3348
|
super(e), this.registerTableOption(
|
|
3349
3349
|
"downloadEncoder",
|
|
@@ -3370,7 +3370,7 @@ const eo = process.env.NODE_ENV === "development", Xr = 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 : Et.downloaders[e] ? r = Et.downloaders[e] :
|
|
3373
|
+
if (typeof e == "function" ? r = e : Et.downloaders[e] ? r = Et.downloaders[e] : nn && 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 eo = process.env.NODE_ENV === "development", Xr = function(n, e = {}, t) {
|
|
|
3420
3420
|
}
|
|
3421
3421
|
}
|
|
3422
3422
|
};
|
|
3423
|
-
Et.moduleName = "download", Et.downloaders =
|
|
3423
|
+
Et.moduleName = "download", Et.downloaders = rn;
|
|
3424
3424
|
let Li = Et;
|
|
3425
|
-
const
|
|
3425
|
+
const an = 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 nn = function(n, e, t, i, s = {}) {
|
|
|
3456
3456
|
i,
|
|
3457
3457
|
a || {}
|
|
3458
3458
|
) : !1;
|
|
3459
|
-
},
|
|
3459
|
+
}, ln = process.env.NODE_ENV === "development", hn = 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 nn = 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) : ln && 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 nn = function(n, e, t, i, s = {}) {
|
|
|
3536
3536
|
break;
|
|
3537
3537
|
}
|
|
3538
3538
|
}), c;
|
|
3539
|
-
},
|
|
3539
|
+
}, cn = process.env.NODE_ENV === "development", dn = 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 nn = 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 && cn && 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 ys(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 un = 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 dn = function(n, e, t, i, s) {
|
|
|
3671
3671
|
break;
|
|
3672
3672
|
}
|
|
3673
3673
|
}), s.mask && ys(r, s), r;
|
|
3674
|
-
},
|
|
3675
|
-
let
|
|
3676
|
-
function
|
|
3677
|
-
|
|
3674
|
+
}, pn = process.env.NODE_ENV === "development";
|
|
3675
|
+
let No = null;
|
|
3676
|
+
function fn(n) {
|
|
3677
|
+
No = n;
|
|
3678
3678
|
}
|
|
3679
|
-
const
|
|
3679
|
+
const gn = {
|
|
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 ?? No;
|
|
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 fn = {
|
|
|
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] : (pn && 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 fn = {
|
|
|
3703
3703
|
}
|
|
3704
3704
|
};
|
|
3705
3705
|
function li(n, e) {
|
|
3706
|
-
return
|
|
3706
|
+
return gn.lookupFormatter(n, e);
|
|
3707
3707
|
}
|
|
3708
|
-
function
|
|
3708
|
+
function mn(n, e = {}, t) {
|
|
3709
3709
|
let i;
|
|
3710
3710
|
function s(a) {
|
|
3711
3711
|
const l = a.getValue();
|
|
@@ -3724,7 +3724,7 @@ function gn(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]), li(o).call(this, n, i || {}, t);
|
|
3726
3726
|
}
|
|
3727
|
-
function
|
|
3727
|
+
function bn(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 mn(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 wn(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 vn(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 yn(n, e, t) {
|
|
3747
3747
|
const i = n.getContentElement?.() ?? n.getElement(), s = n.getValue();
|
|
3748
|
-
return i && (
|
|
3748
|
+
return i && (Cn(s) ? i.style.backgroundColor = s : i.style.backgroundColor = ""), "";
|
|
3749
3749
|
}
|
|
3750
|
-
function
|
|
3750
|
+
function Cn(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 En = T`<span style="display: inline-flex; align-items: center;"></span>`;
|
|
3754
|
+
function xn({
|
|
3755
3755
|
spacing: n,
|
|
3756
3756
|
style: e
|
|
3757
3757
|
}) {
|
|
3758
|
-
const t =
|
|
3758
|
+
const t = j(En);
|
|
3759
3759
|
return n && (t.style.margin = n), e && Object.assign(t.style, e), t;
|
|
3760
3760
|
}
|
|
3761
|
-
function
|
|
3761
|
+
function Rn(n, e, t) {
|
|
3762
3762
|
const i = li("plaintext"), s = {
|
|
3763
3763
|
style: {
|
|
3764
3764
|
color: "var(--cx-color-neutral-500)",
|
|
@@ -3800,7 +3800,7 @@ function ro({
|
|
|
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 Sn(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 Rn(n, e, t) {
|
|
|
3816
3816
|
return L.valueMap && ($ = L.valueMap[String($)] ?? $), !oo($);
|
|
3817
3817
|
});
|
|
3818
3818
|
if (oo(r) && !a && e.placeholder !== void 0)
|
|
3819
|
-
return
|
|
3819
|
+
return Rn.call(this, n, e, t);
|
|
3820
3820
|
const h = n.getRow(), {
|
|
3821
3821
|
align: c,
|
|
3822
3822
|
block: d,
|
|
@@ -3825,7 +3825,7 @@ function Rn(n, e, t) {
|
|
|
3825
3825
|
gap: f,
|
|
3826
3826
|
justifyContent: w,
|
|
3827
3827
|
wrap: E
|
|
3828
|
-
} = e, b = T`<cx-space style=${ut(p ?? {})} align-items=${c ?? "center"} ?block=${d} direction=${_e(u)} justify-content=${_e(w)} spacing=${f ?? "3x-small"} wrap=${_e(E)}></cx-space>`, S =
|
|
3828
|
+
} = e, b = T`<cx-space style=${ut(p ?? {})} align-items=${c ?? "center"} ?block=${d} direction=${_e(u)} justify-content=${_e(w)} spacing=${f ?? "3x-small"} wrap=${_e(E)}></cx-space>`, S = j(b), M = [];
|
|
3829
3829
|
return e.elements.forEach((L) => {
|
|
3830
3830
|
const le = ro({
|
|
3831
3831
|
cell: n,
|
|
@@ -3862,7 +3862,7 @@ function Rn(n, e, t) {
|
|
|
3862
3862
|
}
|
|
3863
3863
|
if (R == null)
|
|
3864
3864
|
return;
|
|
3865
|
-
const F =
|
|
3865
|
+
const F = xn({
|
|
3866
3866
|
spacing: L.spacing,
|
|
3867
3867
|
style: L.style
|
|
3868
3868
|
});
|
|
@@ -3878,14 +3878,14 @@ function Rn(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 kn = process.env.NODE_ENV === "development";
|
|
3882
|
+
function Tn(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 kn && console.error(
|
|
3889
3889
|
"Format Error - 'datetime' formatter is dependent on luxon.js"
|
|
3890
3890
|
), a;
|
|
3891
3891
|
{
|
|
@@ -3893,14 +3893,14 @@ function kn(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 Mn = process.env.NODE_ENV === "development";
|
|
3897
|
+
function Dn(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 Mn && console.error(
|
|
3904
3904
|
"Format Error - 'datetimediff' formatter is dependent on luxon.js"
|
|
3905
3905
|
), o;
|
|
3906
3906
|
{
|
|
@@ -3912,24 +3912,24 @@ function Mn(n, e, t) {
|
|
|
3912
3912
|
function no(n, e) {
|
|
3913
3913
|
return n == null ? "" : Array.isArray(n) ? n.join(e) : String(n);
|
|
3914
3914
|
}
|
|
3915
|
-
function
|
|
3915
|
+
function Ln(n, e) {
|
|
3916
3916
|
const t = e ?? {}, i = t.arraySeparator ?? ", ", s = (a) => typeof a == "function" ? a(n) : a, o = no(s(t.newValue) ?? n.getValue(), i), r = no(s(t.oldValue) ?? "", i);
|
|
3917
|
-
return
|
|
3917
|
+
return j(T`<cx-diff old-value=${r} new-value=${o}></cx-diff>`);
|
|
3918
3918
|
}
|
|
3919
|
-
function
|
|
3919
|
+
function zn(n, e, t) {
|
|
3920
3920
|
const i = n.getElement();
|
|
3921
3921
|
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>";
|
|
3922
3922
|
}
|
|
3923
|
-
function
|
|
3923
|
+
function Fn(n, e, t) {
|
|
3924
3924
|
return n.getValue();
|
|
3925
3925
|
}
|
|
3926
|
-
const
|
|
3927
|
-
function
|
|
3926
|
+
const On = T`<cx-icon></cx-icon>`;
|
|
3927
|
+
function _n(n, e) {
|
|
3928
3928
|
const t = n.getValue(), i = e ?? {};
|
|
3929
3929
|
let s;
|
|
3930
3930
|
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)
|
|
3931
3931
|
return;
|
|
3932
|
-
const o =
|
|
3932
|
+
const o = j(On);
|
|
3933
3933
|
if (o.name = s, i.size !== void 0)
|
|
3934
3934
|
switch (typeof i.size) {
|
|
3935
3935
|
case "number":
|
|
@@ -3941,12 +3941,12 @@ function On(n, e) {
|
|
|
3941
3941
|
}
|
|
3942
3942
|
return i.class && (o.className = i.class), i.style && Object.assign(o.style, i.style), o;
|
|
3943
3943
|
}
|
|
3944
|
-
const
|
|
3945
|
-
function
|
|
3944
|
+
const Pn = T`<div style="display: flex; align-items: center; justify-content: center;"><img style="max-width: 100%; max-height: 100%; object-fit: cover;"></div>`;
|
|
3945
|
+
function Hn(n, e) {
|
|
3946
3946
|
let t = n.getValue();
|
|
3947
3947
|
if (!t)
|
|
3948
3948
|
return null;
|
|
3949
|
-
const i =
|
|
3949
|
+
const i = j(Pn), s = i.querySelector("img"), o = e ?? {};
|
|
3950
3950
|
switch (o.urlPrefix && (t = o.urlPrefix + n.getValue()), o.urlSuffix && (t = t + o.urlSuffix), s.setAttribute("src", String(t)), typeof o.height) {
|
|
3951
3951
|
case "number":
|
|
3952
3952
|
i.style.height = o.height + "px";
|
|
@@ -3967,8 +3967,8 @@ function Pn(n, e) {
|
|
|
3967
3967
|
n.getRow()?.normalizeHeight();
|
|
3968
3968
|
}), i;
|
|
3969
3969
|
}
|
|
3970
|
-
const
|
|
3971
|
-
function
|
|
3970
|
+
const An = process.env.NODE_ENV === "development";
|
|
3971
|
+
function Nn(n, e, t) {
|
|
3972
3972
|
const {
|
|
3973
3973
|
indent: i = " ",
|
|
3974
3974
|
multiline: s = !0,
|
|
@@ -3981,11 +3981,11 @@ function An(n, e, t) {
|
|
|
3981
3981
|
try {
|
|
3982
3982
|
return JSON.stringify(r, o, i);
|
|
3983
3983
|
} catch (a) {
|
|
3984
|
-
return
|
|
3984
|
+
return An && console.warn("JSON Format Error - Failed to format value", a), String(r);
|
|
3985
3985
|
}
|
|
3986
3986
|
}
|
|
3987
|
-
const
|
|
3988
|
-
function
|
|
3987
|
+
const Vn = process.env.NODE_ENV === "development";
|
|
3988
|
+
function In(n, e, t) {
|
|
3989
3989
|
let i = n.getValue();
|
|
3990
3990
|
const s = e.urlPrefix || "";
|
|
3991
3991
|
let o = e.download, r = i;
|
|
@@ -4025,16 +4025,16 @@ function Vn(n, e, t) {
|
|
|
4025
4025
|
break;
|
|
4026
4026
|
}
|
|
4027
4027
|
const c = String(s + i), d = document.createElement("a");
|
|
4028
|
-
return d.href = c, ["http:", "https:", "mailto:", "tel:", ""].includes(d.protocol) || c.startsWith("#") ? a.setAttribute("href", c) : (
|
|
4028
|
+
return d.href = c, ["http:", "https:", "mailto:", "tel:", ""].includes(d.protocol) || c.startsWith("#") ? a.setAttribute("href", c) : (Vn && 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 = ti(H(r)), a;
|
|
4029
4029
|
} else
|
|
4030
4030
|
return " ";
|
|
4031
4031
|
}
|
|
4032
|
-
const
|
|
4033
|
-
function
|
|
4032
|
+
const Bn = process.env.NODE_ENV === "development";
|
|
4033
|
+
function Wn(n, e, t) {
|
|
4034
4034
|
const i = n.getValue();
|
|
4035
|
-
return !e || typeof e != "object" && typeof e != "function" || e[i] === void 0 || e[i] === null ? (
|
|
4035
|
+
return !e || typeof e != "object" && typeof e != "function" || e[i] === void 0 || e[i] === null ? (Bn && console.warn("Missing display value for " + i), i) : e[i];
|
|
4036
4036
|
}
|
|
4037
|
-
function
|
|
4037
|
+
function jn(n, e, t) {
|
|
4038
4038
|
let i = parseFloat(n.getValue()), s = "", o, r, a, l;
|
|
4039
4039
|
const h = e.decimal || ".", c = e.thousand || ",", d = e.negativeSign || "-", p = e.symbol || "", u = !!e.symbolAfter, f = typeof e.precision < "u" ? e.precision : 2;
|
|
4040
4040
|
if (isNaN(i))
|
|
@@ -4046,15 +4046,15 @@ function Wn(n, e, t) {
|
|
|
4046
4046
|
r = r.replace(a, "$1" + c + "$2");
|
|
4047
4047
|
return l = r + w, e.negativeSign === !0 ? (l = "(" + l + ")", u ? l + p : p + l) : u ? s + l + p : s + p + l;
|
|
4048
4048
|
}
|
|
4049
|
-
const
|
|
4050
|
-
function
|
|
4049
|
+
const Gn = T`<cx-format-number></cx-format-number>`;
|
|
4050
|
+
function $n(n, e) {
|
|
4051
4051
|
const t = n.getValue();
|
|
4052
4052
|
if (t == null || t === "")
|
|
4053
4053
|
return;
|
|
4054
4054
|
const i = Number(t);
|
|
4055
4055
|
if (Number.isNaN(i))
|
|
4056
4056
|
return;
|
|
4057
|
-
const s = e ?? {}, o =
|
|
4057
|
+
const s = e ?? {}, o = j(Gn);
|
|
4058
4058
|
o.value = i;
|
|
4059
4059
|
for (const r of Object.keys(s)) {
|
|
4060
4060
|
const a = s[r];
|
|
@@ -4062,14 +4062,14 @@ function Gn(n, e) {
|
|
|
4062
4062
|
}
|
|
4063
4063
|
return o;
|
|
4064
4064
|
}
|
|
4065
|
-
function
|
|
4065
|
+
function Un(n, e) {
|
|
4066
4066
|
let t = ti(H(gs(n.getValue())));
|
|
4067
4067
|
const i = e ?? {};
|
|
4068
4068
|
i.prefix && (t = i.prefix + t), i.suffix && (t = t + i.suffix);
|
|
4069
4069
|
const s = T`<cx-line-clamp lines="1"><span style=${ut(i.style ?? {})}>${t}</span></cx-line-clamp>`;
|
|
4070
|
-
return
|
|
4070
|
+
return j(s);
|
|
4071
4071
|
}
|
|
4072
|
-
function
|
|
4072
|
+
function Kn(n, e = {}, t) {
|
|
4073
4073
|
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";
|
|
4074
4074
|
let l, h, c = !1, d;
|
|
4075
4075
|
l = parseFloat(String(i)) <= o ? parseFloat(String(i)) : o, l = parseFloat(String(l)) >= r ? parseFloat(String(l)) : r;
|
|
@@ -4148,13 +4148,13 @@ function Un(n, e = {}, t) {
|
|
|
4148
4148
|
E && (E.appendChild(f), f.appendChild(u), c && w && f.appendChild(w));
|
|
4149
4149
|
}), "";
|
|
4150
4150
|
}
|
|
4151
|
-
function
|
|
4151
|
+
function qn(n, e = {}, t) {
|
|
4152
4152
|
const i = document.createElement("span"), s = n.getRow(), o = n.getTable();
|
|
4153
4153
|
return s.watchPosition((r) => {
|
|
4154
4154
|
e.relativeToPage && o.modules.page && (r += o.modules.page.getPageSize() * (o.modules.page.getPage() - 1)), i.innerText = String(r);
|
|
4155
4155
|
}), i;
|
|
4156
4156
|
}
|
|
4157
|
-
function
|
|
4157
|
+
function Xn(n, e, t) {
|
|
4158
4158
|
let i = n.getValue();
|
|
4159
4159
|
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 "/>';
|
|
4160
4160
|
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";
|
|
@@ -4166,8 +4166,59 @@ function qn(n, e, t) {
|
|
|
4166
4166
|
}
|
|
4167
4167
|
return o && (o.style.whiteSpace = "nowrap", o.style.overflow = "hidden", o.style.textOverflow = "ellipsis"), s && s.setAttribute("aria-label", String(i)), a;
|
|
4168
4168
|
}
|
|
4169
|
-
const
|
|
4170
|
-
function
|
|
4169
|
+
const ao = "cx-table-switch-change", Jn = T`<cx-switch></cx-switch>`;
|
|
4170
|
+
function Yn(n) {
|
|
4171
|
+
const e = Object.prototype.hasOwnProperty.call(n, "onValue") ? n.onValue : !0;
|
|
4172
|
+
return { offValue: Object.prototype.hasOwnProperty.call(n, "offValue") ? n.offValue : !1, onValue: e };
|
|
4173
|
+
}
|
|
4174
|
+
function Qn(n, e) {
|
|
4175
|
+
const t = n.getTable().element, i = t.getRootNode(), s = i instanceof ShadowRoot ? i.host : null;
|
|
4176
|
+
if (s && typeof s.emit == "function") {
|
|
4177
|
+
s.emit(ao, { detail: e });
|
|
4178
|
+
return;
|
|
4179
|
+
}
|
|
4180
|
+
t.dispatchEvent(
|
|
4181
|
+
new CustomEvent(ao, {
|
|
4182
|
+
bubbles: !0,
|
|
4183
|
+
composed: !0,
|
|
4184
|
+
detail: e
|
|
4185
|
+
})
|
|
4186
|
+
);
|
|
4187
|
+
}
|
|
4188
|
+
function Zn(n) {
|
|
4189
|
+
n.addEventListener("click", (e) => {
|
|
4190
|
+
e.stopPropagation();
|
|
4191
|
+
}), n.addEventListener("keydown", (e) => {
|
|
4192
|
+
(e.key === "ArrowLeft" || e.key === "ArrowRight") && e.stopPropagation();
|
|
4193
|
+
});
|
|
4194
|
+
}
|
|
4195
|
+
function ea(n, e, t, i) {
|
|
4196
|
+
n.checked = e.getValue() === t, n.setAttribute("aria-label", "Toggle"), Zn(n), n.addEventListener("cx-change", () => {
|
|
4197
|
+
if (n.disabled)
|
|
4198
|
+
return;
|
|
4199
|
+
const s = n.checked, o = s ? t : i;
|
|
4200
|
+
if (e.getValue() === o)
|
|
4201
|
+
return;
|
|
4202
|
+
const r = e.getRow();
|
|
4203
|
+
e.setValue(o), Qn(e, {
|
|
4204
|
+
checked: s,
|
|
4205
|
+
data: r.getData(),
|
|
4206
|
+
field: e.getField()
|
|
4207
|
+
});
|
|
4208
|
+
});
|
|
4209
|
+
}
|
|
4210
|
+
function ta(n, e) {
|
|
4211
|
+
if (n.getType() === "header") {
|
|
4212
|
+
const r = document.createElement("span");
|
|
4213
|
+
return r.textContent = String(n.getValue() ?? ""), r;
|
|
4214
|
+
}
|
|
4215
|
+
const t = j(Jn), { offValue: i, onValue: s } = Yn(e);
|
|
4216
|
+
e.size && (t.size = e.size);
|
|
4217
|
+
const o = typeof e.disabled == "function" ? e.disabled : () => !1;
|
|
4218
|
+
return t.disabled = o(n), ea(t, n, s, i), t;
|
|
4219
|
+
}
|
|
4220
|
+
const ia = T`<cx-tag></cx-tag>`;
|
|
4221
|
+
function sa(n, e) {
|
|
4171
4222
|
const t = n.getValue();
|
|
4172
4223
|
if (t == null || t === "")
|
|
4173
4224
|
return;
|
|
@@ -4176,26 +4227,26 @@ function Jn(n, e) {
|
|
|
4176
4227
|
removable: !1,
|
|
4177
4228
|
size: "medium",
|
|
4178
4229
|
variant: "neutral"
|
|
4179
|
-
}, s =
|
|
4230
|
+
}, s = j(ia);
|
|
4180
4231
|
return Object.assign(s, i), s.textContent = e?.getTagContent?.(t) ?? e?.tagContentMap?.[t] ?? String(t), s;
|
|
4181
4232
|
}
|
|
4182
|
-
function
|
|
4233
|
+
function oa(n) {
|
|
4183
4234
|
return ti(H(gs(n.getValue())));
|
|
4184
4235
|
}
|
|
4185
|
-
function
|
|
4236
|
+
function ra(n, e, t) {
|
|
4186
4237
|
const i = n.getValue(), s = n.getElement(), o = e.allowEmpty, r = e.allowTruthy, a = Object.prototype.hasOwnProperty.call(
|
|
4187
4238
|
e,
|
|
4188
4239
|
"trueValue"
|
|
4189
4240
|
), 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>';
|
|
4190
4241
|
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 || "");
|
|
4191
4242
|
}
|
|
4192
|
-
function
|
|
4243
|
+
function na(n) {
|
|
4193
4244
|
if (n == null || n === "")
|
|
4194
4245
|
return null;
|
|
4195
4246
|
const e = Number(n);
|
|
4196
4247
|
return Number.isFinite(e) ? e : null;
|
|
4197
4248
|
}
|
|
4198
|
-
function
|
|
4249
|
+
function aa(n, e) {
|
|
4199
4250
|
const t = e.getValue(), i = e.getRow().getData(), {
|
|
4200
4251
|
getParams: s,
|
|
4201
4252
|
paramsMap: o,
|
|
@@ -4208,17 +4259,17 @@ function ea(n, e) {
|
|
|
4208
4259
|
...c
|
|
4209
4260
|
};
|
|
4210
4261
|
}
|
|
4211
|
-
function
|
|
4262
|
+
function la(n) {
|
|
4212
4263
|
const e = {
|
|
4213
4264
|
...n.style ?? {}
|
|
4214
4265
|
};
|
|
4215
4266
|
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;
|
|
4216
4267
|
}
|
|
4217
|
-
function
|
|
4218
|
-
const t =
|
|
4219
|
-
return
|
|
4268
|
+
function ha(n, e) {
|
|
4269
|
+
const t = aa(e ?? {}, n), i = na(n.getValue()), s = la(t);
|
|
4270
|
+
return j(T`<cx-format-time .duration=${i} display-style=${_e(t.displayStyle)} input-unit=${_e(t.inputUnit)} locale=${_e(t.locale)} placeholder=${_e(t.placeholder)} units-format=${_e(t.unitsFormat)} style=${ut(s)}></cx-format-time>`);
|
|
4220
4271
|
}
|
|
4221
|
-
function
|
|
4272
|
+
function ca(n, e, t) {
|
|
4222
4273
|
const i = e.size || 15, s = i + "px", o = Object.prototype.hasOwnProperty.call(
|
|
4223
4274
|
e,
|
|
4224
4275
|
"onValue"
|
|
@@ -4236,12 +4287,12 @@ function sa(n, e, t) {
|
|
|
4236
4287
|
const c = document.createElement("div");
|
|
4237
4288
|
return c.classList.add("tabulator-toggle-switch"), c.style.height = s, c.style.width = s, c.style.borderRadius = s, h.appendChild(c), h;
|
|
4238
4289
|
}
|
|
4239
|
-
const
|
|
4240
|
-
function
|
|
4290
|
+
const da = T`<span class="tabulator-traffic-light-container"><span class="tabulator-traffic-light"></span><span class="tabulator-traffic-light-text"></span></span>`;
|
|
4291
|
+
function ua(n, e, t, i) {
|
|
4241
4292
|
const s = n.getValue();
|
|
4242
4293
|
if (s == null || s === "")
|
|
4243
4294
|
return;
|
|
4244
|
-
const o =
|
|
4295
|
+
const o = j(da), r = e?.getColor?.(s) ?? e?.colorMap?.[s];
|
|
4245
4296
|
if (r) {
|
|
4246
4297
|
const l = o.querySelector(
|
|
4247
4298
|
".tabulator-traffic-light"
|
|
@@ -4253,52 +4304,53 @@ function ra(n, e, t, i) {
|
|
|
4253
4304
|
);
|
|
4254
4305
|
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;
|
|
4255
4306
|
}
|
|
4256
|
-
function
|
|
4307
|
+
function pa(n, e) {
|
|
4257
4308
|
const t = n.getValue();
|
|
4258
4309
|
if (t == null || t === "")
|
|
4259
4310
|
return;
|
|
4260
4311
|
const i = e ?? {};
|
|
4261
4312
|
let s;
|
|
4262
|
-
i.getVariant && (s = i.getVariant(t)), !s && i.variantMap && (s = i.variantMap[t]), !s && i.variant && (s = i.variant), s ??=
|
|
4263
|
-
const o = T`<cx-line-clamp lines="1"><cx-typography style=${ut(i.style ?? {})}></cx-typography></cx-line-clamp>`, r =
|
|
4313
|
+
i.getVariant && (s = i.getVariant(t)), !s && i.variantMap && (s = i.variantMap[t]), !s && i.variant && (s = i.variant), s ??= lr.Body1;
|
|
4314
|
+
const o = T`<cx-line-clamp lines="1"><cx-typography style=${ut(i.style ?? {})}></cx-typography></cx-line-clamp>`, r = j(o), a = r.querySelector(
|
|
4264
4315
|
"cx-typography"
|
|
4265
4316
|
);
|
|
4266
4317
|
a.variant = s;
|
|
4267
4318
|
let l = String(t);
|
|
4268
4319
|
return i.prefix && (l = i.prefix + l), i.suffix && (l = l + i.suffix), a.textContent = l, r;
|
|
4269
4320
|
}
|
|
4270
|
-
const
|
|
4271
|
-
adaptable:
|
|
4272
|
-
array:
|
|
4273
|
-
buttonCross:
|
|
4274
|
-
buttonTick:
|
|
4275
|
-
color:
|
|
4276
|
-
composite:
|
|
4277
|
-
datetime:
|
|
4278
|
-
datetimediff:
|
|
4279
|
-
diff:
|
|
4280
|
-
handle:
|
|
4281
|
-
html:
|
|
4282
|
-
icon:
|
|
4283
|
-
image:
|
|
4284
|
-
json:
|
|
4285
|
-
link:
|
|
4286
|
-
lookup:
|
|
4287
|
-
money:
|
|
4288
|
-
number:
|
|
4289
|
-
plaintext:
|
|
4290
|
-
progress:
|
|
4291
|
-
rownum:
|
|
4292
|
-
star:
|
|
4293
|
-
|
|
4294
|
-
|
|
4295
|
-
|
|
4296
|
-
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
|
|
4321
|
+
const Vo = {
|
|
4322
|
+
adaptable: mn,
|
|
4323
|
+
array: bn,
|
|
4324
|
+
buttonCross: wn,
|
|
4325
|
+
buttonTick: vn,
|
|
4326
|
+
color: yn,
|
|
4327
|
+
composite: Sn,
|
|
4328
|
+
datetime: Tn,
|
|
4329
|
+
datetimediff: Dn,
|
|
4330
|
+
diff: Ln,
|
|
4331
|
+
handle: zn,
|
|
4332
|
+
html: Fn,
|
|
4333
|
+
icon: _n,
|
|
4334
|
+
image: Hn,
|
|
4335
|
+
json: Nn,
|
|
4336
|
+
link: In,
|
|
4337
|
+
lookup: Wn,
|
|
4338
|
+
money: jn,
|
|
4339
|
+
number: $n,
|
|
4340
|
+
plaintext: Un,
|
|
4341
|
+
progress: Kn,
|
|
4342
|
+
rownum: qn,
|
|
4343
|
+
star: Xn,
|
|
4344
|
+
switch: ta,
|
|
4345
|
+
tag: sa,
|
|
4346
|
+
textarea: oa,
|
|
4347
|
+
tickCross: ra,
|
|
4348
|
+
time: ha,
|
|
4349
|
+
toggle: ca,
|
|
4350
|
+
traffic: ua,
|
|
4351
|
+
typography: pa
|
|
4300
4352
|
};
|
|
4301
|
-
|
|
4353
|
+
fn(Vo);
|
|
4302
4354
|
const Ze = class Ze extends P {
|
|
4303
4355
|
constructor(e) {
|
|
4304
4356
|
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");
|
|
@@ -4401,10 +4453,10 @@ const Ze = class Ze extends P {
|
|
|
4401
4453
|
return this.formatValue(e);
|
|
4402
4454
|
}
|
|
4403
4455
|
};
|
|
4404
|
-
Ze.moduleName = "format", Ze.formatters =
|
|
4456
|
+
Ze.moduleName = "format", Ze.formatters = Vo;
|
|
4405
4457
|
let Xt = Ze;
|
|
4406
|
-
const Ve = process.env.NODE_ENV === "development",
|
|
4407
|
-
class
|
|
4458
|
+
const Ve = process.env.NODE_ENV === "development", fa = T`<cx-option></cx-option>`, ga = T`<cx-divider></cx-divider>`;
|
|
4459
|
+
class ma {
|
|
4408
4460
|
constructor(e, t, i, s, o, r) {
|
|
4409
4461
|
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 = {
|
|
4410
4462
|
cancel: o,
|
|
@@ -4478,7 +4530,7 @@ class ha {
|
|
|
4478
4530
|
fallbackOption: i,
|
|
4479
4531
|
freeWidth: s,
|
|
4480
4532
|
placeholder: o
|
|
4481
|
-
} = this.params, r = T`<cx-select style="width: 100%; margin: auto;" hoist ?clearable=${t} ?free-width=${s ?? !1} placeholder=${_e(o)}></cx-select>`, a =
|
|
4533
|
+
} = this.params, r = T`<cx-select style="width: 100%; margin: auto;" hoist ?clearable=${t} ?free-width=${s ?? !1} placeholder=${_e(o)}></cx-select>`, a = j(r);
|
|
4482
4534
|
i?.value != null && (a.fallbackOptionValue = this.sanitizeValue(i.value));
|
|
4483
4535
|
const l = this.createPrefixElement();
|
|
4484
4536
|
return l && a.prepend(l), e || (a.style.cursor = "default", a.style.caretColor = "transparent"), this._bindInputEvents(a), a;
|
|
@@ -4565,7 +4617,7 @@ class ha {
|
|
|
4565
4617
|
}
|
|
4566
4618
|
async _ajaxRequest(e, t) {
|
|
4567
4619
|
const { ajaxResponse: i, filterRemote: s } = this.params, o = s ? { term: t } : {};
|
|
4568
|
-
e =
|
|
4620
|
+
e = _o(e, {}, o);
|
|
4569
4621
|
let r = [];
|
|
4570
4622
|
try {
|
|
4571
4623
|
if (!this.fetchApi)
|
|
@@ -4773,7 +4825,7 @@ class ha {
|
|
|
4773
4825
|
}
|
|
4774
4826
|
}
|
|
4775
4827
|
_appendDivider() {
|
|
4776
|
-
const e =
|
|
4828
|
+
const e = j(ga);
|
|
4777
4829
|
this.input.appendChild(e);
|
|
4778
4830
|
}
|
|
4779
4831
|
_appendSectionLabel(e) {
|
|
@@ -4783,7 +4835,7 @@ class ha {
|
|
|
4783
4835
|
_appendLeafOption(e) {
|
|
4784
4836
|
let t = e.element;
|
|
4785
4837
|
if (!t) {
|
|
4786
|
-
t =
|
|
4838
|
+
t = j(fa), t.getTextLabel = () => e.label, t.value = this.sanitizeValue(e.value);
|
|
4787
4839
|
const i = this.formatItemLabel(e, t);
|
|
4788
4840
|
i && typeof i == "object" && "nodeType" in i && i instanceof HTMLElement ? t.appendChild(i) : t.innerHTML = H(String(i || ""));
|
|
4789
4841
|
const s = this.params.fallbackOption?.prefix;
|
|
@@ -4919,8 +4971,8 @@ class ha {
|
|
|
4919
4971
|
}
|
|
4920
4972
|
}
|
|
4921
4973
|
}
|
|
4922
|
-
const
|
|
4923
|
-
return new
|
|
4974
|
+
const ba = function(n, e, t, i, s) {
|
|
4975
|
+
return new ma(
|
|
4924
4976
|
// eslint-disable-next-line no-invalid-this
|
|
4925
4977
|
this,
|
|
4926
4978
|
n instanceof ws ? n._getSelf() : n,
|
|
@@ -4929,7 +4981,7 @@ const ca = function(n, e, t, i, s) {
|
|
|
4929
4981
|
i,
|
|
4930
4982
|
s
|
|
4931
4983
|
).input;
|
|
4932
|
-
},
|
|
4984
|
+
}, wa = function(n, e, t, i, s) {
|
|
4933
4985
|
let o = n.getValue();
|
|
4934
4986
|
const r = s.verticalNavigation || "editor", a = document.createElement("input");
|
|
4935
4987
|
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")
|
|
@@ -4978,7 +5030,7 @@ const ca = function(n, e, t, i, s) {
|
|
|
4978
5030
|
break;
|
|
4979
5031
|
}
|
|
4980
5032
|
}), s.mask && ys(a, s), a;
|
|
4981
|
-
},
|
|
5033
|
+
}, va = function(n, e, t, i, s) {
|
|
4982
5034
|
const o = n.getElement();
|
|
4983
5035
|
if (!o)
|
|
4984
5036
|
return !1;
|
|
@@ -5032,7 +5084,7 @@ const ca = function(n, e, t, i, s) {
|
|
|
5032
5084
|
}), o.addEventListener("blur", () => {
|
|
5033
5085
|
i();
|
|
5034
5086
|
}), p;
|
|
5035
|
-
},
|
|
5087
|
+
}, ya = function(n, e, t, i, s) {
|
|
5036
5088
|
let o = n.getValue();
|
|
5037
5089
|
const r = document.createElement("input");
|
|
5038
5090
|
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")
|
|
@@ -5064,7 +5116,7 @@ const ca = function(n, e, t, i, s) {
|
|
|
5064
5116
|
break;
|
|
5065
5117
|
}
|
|
5066
5118
|
}), r;
|
|
5067
|
-
},
|
|
5119
|
+
}, Ca = function(n, e, t, i, s) {
|
|
5068
5120
|
const o = this, r = n.getElement();
|
|
5069
5121
|
if (!r)
|
|
5070
5122
|
return !1;
|
|
@@ -5135,7 +5187,7 @@ const ca = function(n, e, t, i, s) {
|
|
|
5135
5187
|
break;
|
|
5136
5188
|
}
|
|
5137
5189
|
}), d;
|
|
5138
|
-
},
|
|
5190
|
+
}, Ea = function(n, e, t, i, s) {
|
|
5139
5191
|
let o = n.getValue();
|
|
5140
5192
|
const r = s.verticalNavigation || "hybrid", a = String(o ?? ""), l = document.createElement("textarea");
|
|
5141
5193
|
let h = 0;
|
|
@@ -5181,7 +5233,7 @@ const ca = function(n, e, t, i, s) {
|
|
|
5181
5233
|
break;
|
|
5182
5234
|
}
|
|
5183
5235
|
}), s.mask && ys(l, s), l;
|
|
5184
|
-
},
|
|
5236
|
+
}, xa = function(n, e, t, i, s) {
|
|
5185
5237
|
const o = n.getValue(), r = document.createElement("input"), a = s.tristate, l = typeof s.indeterminateValue > "u" ? null : s.indeterminateValue;
|
|
5186
5238
|
let h = !1;
|
|
5187
5239
|
const c = Object.keys(s).includes("trueValue"), d = Object.keys(s).includes("falseValue");
|
|
@@ -5211,7 +5263,7 @@ const ca = function(n, e, t, i, s) {
|
|
|
5211
5263
|
}), r.addEventListener("keydown", (f) => {
|
|
5212
5264
|
f.keyCode === 13 && t(u(!1)), f.keyCode === 27 && i();
|
|
5213
5265
|
}), r;
|
|
5214
|
-
},
|
|
5266
|
+
}, Ra = process.env.NODE_ENV === "development", Sa = function(n, e, t, i, s) {
|
|
5215
5267
|
const o = s.format, r = s.verticalNavigation || "editor", a = o ? typeof window < "u" && window.DateTime || typeof globalThis < "u" && globalThis.luxon?.DateTime : null;
|
|
5216
5268
|
let l, h = n.getValue();
|
|
5217
5269
|
const c = document.createElement("input");
|
|
@@ -5226,7 +5278,7 @@ const ca = function(n, e, t, i, s) {
|
|
|
5226
5278
|
} else
|
|
5227
5279
|
c.setAttribute(f, s.elementAttributes[f]);
|
|
5228
5280
|
const d = String(h ?? "");
|
|
5229
|
-
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 &&
|
|
5281
|
+
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 && Ra && console.error(
|
|
5230
5282
|
"Editor Error - 'time' editor 'format' param is dependent on luxon.js"
|
|
5231
5283
|
);
|
|
5232
5284
|
const p = String(h ?? "");
|
|
@@ -5276,20 +5328,20 @@ const ca = function(n, e, t, i, s) {
|
|
|
5276
5328
|
break;
|
|
5277
5329
|
}
|
|
5278
5330
|
}), c;
|
|
5279
|
-
},
|
|
5280
|
-
adaptable:
|
|
5281
|
-
date:
|
|
5282
|
-
datetime:
|
|
5283
|
-
input:
|
|
5284
|
-
list:
|
|
5285
|
-
number:
|
|
5286
|
-
progress:
|
|
5287
|
-
range:
|
|
5288
|
-
star:
|
|
5289
|
-
textarea:
|
|
5290
|
-
tickCross:
|
|
5291
|
-
time:
|
|
5292
|
-
}, Bt = process.env.NODE_ENV === "development",
|
|
5331
|
+
}, ka = {
|
|
5332
|
+
adaptable: an,
|
|
5333
|
+
date: hn,
|
|
5334
|
+
datetime: dn,
|
|
5335
|
+
input: un,
|
|
5336
|
+
list: ba,
|
|
5337
|
+
number: wa,
|
|
5338
|
+
progress: va,
|
|
5339
|
+
range: ya,
|
|
5340
|
+
star: Ca,
|
|
5341
|
+
textarea: Ea,
|
|
5342
|
+
tickCross: xa,
|
|
5343
|
+
time: Sa
|
|
5344
|
+
}, Bt = process.env.NODE_ENV === "development", Io = "tabulator-edit-list-trigger", Ta = "tabulator-edit-list-trigger-caret", Ma = T`<button aria-label="Open list editor" class=${Io} tabindex="-1" type="button"><cx-icon aria-hidden="true" class=${Ta} name="arrow_drop_down"></cx-icon></button>`, Ot = class Ot extends P {
|
|
5293
5345
|
constructor(e) {
|
|
5294
5346
|
super(e), this.currentCell = !1, this.mouseClick = !1, this.recursionBlock = !1, this.invalidEdit = !1, this.editedCells = [], this.convertEmptyValues = !1, this.editors = Ot.editors, this.registerTableOption("editTriggerEvent", "focus"), this.registerTableOption("editorEmptyValue"), this.registerTableOption(
|
|
5295
5347
|
"editorEmptyValueFunc",
|
|
@@ -5546,10 +5598,10 @@ const ca = function(n, e, t, i, s) {
|
|
|
5546
5598
|
if (e.column.definition.editor !== "list")
|
|
5547
5599
|
return;
|
|
5548
5600
|
const t = e.getElement(!0);
|
|
5549
|
-
if (!t || t.classList.contains("tabulator-editing") || t.querySelector(`.${
|
|
5601
|
+
if (!t || t.classList.contains("tabulator-editing") || t.querySelector(`.${Io}`))
|
|
5550
5602
|
return;
|
|
5551
|
-
const i =
|
|
5552
|
-
|
|
5603
|
+
const i = j(
|
|
5604
|
+
Ma
|
|
5553
5605
|
);
|
|
5554
5606
|
i.addEventListener("mousedown", (s) => {
|
|
5555
5607
|
s.preventDefault(), s.stopPropagation();
|
|
@@ -5690,9 +5742,9 @@ const ca = function(n, e, t, i, s) {
|
|
|
5690
5742
|
t > -1 && this.editedCells.splice(t, 1);
|
|
5691
5743
|
}
|
|
5692
5744
|
};
|
|
5693
|
-
Ot.moduleName = "edit", Ot.editors =
|
|
5745
|
+
Ot.moduleName = "edit", Ot.editors = ka;
|
|
5694
5746
|
let zi = Ot;
|
|
5695
|
-
const
|
|
5747
|
+
const Da = {}, La = {
|
|
5696
5748
|
active: function() {
|
|
5697
5749
|
return this.options.pagination ? this.rowManager?.getDisplayRows(
|
|
5698
5750
|
this.rowManager.displayRows.length - 2
|
|
@@ -5713,12 +5765,12 @@ class ui {
|
|
|
5713
5765
|
this.value = e, this.component = t, this.width = i ?? 1, this.height = s ?? 1, this.depth = o ?? 1;
|
|
5714
5766
|
}
|
|
5715
5767
|
}
|
|
5716
|
-
class
|
|
5768
|
+
class lo {
|
|
5717
5769
|
constructor(e, t, i, s) {
|
|
5718
5770
|
this.type = e, this.columns = t, this.component = i ?? !1, this.indent = s ?? 0;
|
|
5719
5771
|
}
|
|
5720
5772
|
}
|
|
5721
|
-
const
|
|
5773
|
+
const za = process.env.NODE_ENV === "development", et = class et extends P {
|
|
5722
5774
|
constructor(e) {
|
|
5723
5775
|
super(e), this.config = {}, this.cloneTableStyle = !0, this.colVisProp = "", this.colVisPropAttach = "", this.registerTableOption("htmlOutputConfig", !1), this.registerColumnOption("htmlOutput"), this.registerColumnOption("titleHtmlOutput");
|
|
5724
5776
|
}
|
|
@@ -5819,7 +5871,7 @@ const Ra = process.env.NODE_ENV === "development", et = class et extends P {
|
|
|
5819
5871
|
);
|
|
5820
5872
|
} else
|
|
5821
5873
|
a.push(null);
|
|
5822
|
-
}), s.push(new
|
|
5874
|
+
}), s.push(new lo("header", a));
|
|
5823
5875
|
}), s;
|
|
5824
5876
|
}
|
|
5825
5877
|
bodyToExportRows(e, t = []) {
|
|
@@ -5864,7 +5916,7 @@ const Ra = process.env.NODE_ENV === "development", et = class et extends P {
|
|
|
5864
5916
|
break;
|
|
5865
5917
|
}
|
|
5866
5918
|
i.push(
|
|
5867
|
-
new
|
|
5919
|
+
new lo(
|
|
5868
5920
|
r.type,
|
|
5869
5921
|
l,
|
|
5870
5922
|
r.getComponent(),
|
|
@@ -5887,7 +5939,7 @@ const Ra = process.env.NODE_ENV === "development", et = class et extends P {
|
|
|
5887
5939
|
"font-weight",
|
|
5888
5940
|
"font-family",
|
|
5889
5941
|
"font-size"
|
|
5890
|
-
]), e.length > 1e3 &&
|
|
5942
|
+
]), e.length > 1e3 && za && console.warn(
|
|
5891
5943
|
"It may take a long time to render an HTML table with more than 1000 rows"
|
|
5892
5944
|
), e.forEach((h, c) => {
|
|
5893
5945
|
let d;
|
|
@@ -6174,9 +6226,9 @@ const Ra = process.env.NODE_ENV === "development", et = class et extends P {
|
|
|
6174
6226
|
}
|
|
6175
6227
|
}
|
|
6176
6228
|
};
|
|
6177
|
-
et.moduleName = "export", et.columnLookups =
|
|
6229
|
+
et.moduleName = "export", et.columnLookups = Da, et.rowLookups = La;
|
|
6178
6230
|
let Fi = et;
|
|
6179
|
-
const
|
|
6231
|
+
const ho = process.env.NODE_ENV === "development", Fa = {
|
|
6180
6232
|
// not equal to
|
|
6181
6233
|
"!=": function(n, e, t, i) {
|
|
6182
6234
|
return e != n;
|
|
@@ -6207,7 +6259,7 @@ const lo = process.env.NODE_ENV === "development", Sa = {
|
|
|
6207
6259
|
},
|
|
6208
6260
|
// in array
|
|
6209
6261
|
in: function(n, e, t, i) {
|
|
6210
|
-
return Array.isArray(n) ? n.length ? n.includes(e) : !0 : (
|
|
6262
|
+
return Array.isArray(n) ? n.length ? n.includes(e) : !0 : (ho && console.warn("Filter Error - filter value is not an array:", n), !1);
|
|
6211
6263
|
},
|
|
6212
6264
|
// contains the keywords
|
|
6213
6265
|
keywords: function(n, e, t, i) {
|
|
@@ -6231,22 +6283,22 @@ const lo = process.env.NODE_ENV === "development", Sa = {
|
|
|
6231
6283
|
try {
|
|
6232
6284
|
return typeof n == "string" ? s = new RegExp(n) : s = n, s.test(String(e));
|
|
6233
6285
|
} catch {
|
|
6234
|
-
return
|
|
6286
|
+
return ho && console.warn("Filter Error - invalid regular expression:", n), !1;
|
|
6235
6287
|
}
|
|
6236
6288
|
},
|
|
6237
6289
|
// starts with the string
|
|
6238
6290
|
starts: function(n, e, t, i) {
|
|
6239
6291
|
return n == null ? e === n : e != null ? String(e).toLowerCase().startsWith(n.toLowerCase()) : !1;
|
|
6240
6292
|
}
|
|
6241
|
-
},
|
|
6293
|
+
}, Oa = /<[^>]*>/g;
|
|
6242
6294
|
function hi(n) {
|
|
6243
6295
|
return !!n && typeof n == "object" && !Array.isArray(n) && typeof n != "function";
|
|
6244
6296
|
}
|
|
6245
6297
|
function Jt(n, e, t) {
|
|
6246
6298
|
e != null && (t !== void 0 && e === t || n.push(e));
|
|
6247
6299
|
}
|
|
6248
|
-
function
|
|
6249
|
-
return n == null ? "" : String(n).replace(
|
|
6300
|
+
function _a(n) {
|
|
6301
|
+
return n == null ? "" : String(n).replace(Oa, "");
|
|
6250
6302
|
}
|
|
6251
6303
|
function ye(n) {
|
|
6252
6304
|
try {
|
|
@@ -6255,34 +6307,34 @@ function ye(n) {
|
|
|
6255
6307
|
return;
|
|
6256
6308
|
}
|
|
6257
6309
|
}
|
|
6258
|
-
const
|
|
6259
|
-
function
|
|
6310
|
+
const Bo = Symbol("skip-composite-element");
|
|
6311
|
+
function Pa(n, e, t, i, s) {
|
|
6260
6312
|
if (typeof n?.getValue == "function")
|
|
6261
|
-
return
|
|
6313
|
+
return Bo;
|
|
6262
6314
|
if (n?.value !== void 0)
|
|
6263
6315
|
return n.value;
|
|
6264
6316
|
const o = n?.field;
|
|
6265
6317
|
return typeof o == "string" && o.length > 0 ? o === e ? t : s ? U.retrieveNestedData(s, o, i) : i[o] : t;
|
|
6266
6318
|
}
|
|
6267
|
-
function
|
|
6319
|
+
function Ha(n, e, t) {
|
|
6268
6320
|
return !!(typeof n?.shouldHide == "function" && ye(() => n.shouldHide(e, t)) || n?.hideValues !== void 0 && (Array.isArray(n.hideValues) ? n.hideValues : [n.hideValues]).includes(e) || typeof n?.shouldShow == "function" && !ye(
|
|
6269
6321
|
() => n.shouldShow(e, t)
|
|
6270
6322
|
) || n?.showValues !== void 0 && !(Array.isArray(n.showValues) ? n.showValues : [n.showValues]).includes(e));
|
|
6271
6323
|
}
|
|
6272
|
-
function
|
|
6324
|
+
function Aa(n, e) {
|
|
6273
6325
|
const { formatterParams: t, rawValue: i, rowData: s, separator: o, table: r } = n, a = t?.elements;
|
|
6274
6326
|
if (!Array.isArray(a))
|
|
6275
6327
|
return [];
|
|
6276
6328
|
const l = [];
|
|
6277
6329
|
for (const h of a) {
|
|
6278
|
-
const c =
|
|
6330
|
+
const c = Pa(
|
|
6279
6331
|
h,
|
|
6280
6332
|
e,
|
|
6281
6333
|
i,
|
|
6282
6334
|
s,
|
|
6283
6335
|
o
|
|
6284
6336
|
);
|
|
6285
|
-
if (c ===
|
|
6337
|
+
if (c === Bo)
|
|
6286
6338
|
continue;
|
|
6287
6339
|
let d = c;
|
|
6288
6340
|
const p = h?.valueMap;
|
|
@@ -6290,7 +6342,7 @@ function La(n, e) {
|
|
|
6290
6342
|
const u = p[String(c)];
|
|
6291
6343
|
u !== void 0 && (d = u);
|
|
6292
6344
|
}
|
|
6293
|
-
if (!
|
|
6345
|
+
if (!Ha(h, d, s) && (d !== c && Jt(l, d, c), h?.formatter !== void 0)) {
|
|
6294
6346
|
const u = Cs({
|
|
6295
6347
|
columnField: e,
|
|
6296
6348
|
formatter: h.formatter,
|
|
@@ -6306,14 +6358,14 @@ function La(n, e) {
|
|
|
6306
6358
|
}
|
|
6307
6359
|
return l;
|
|
6308
6360
|
}
|
|
6309
|
-
function
|
|
6361
|
+
function Na(n) {
|
|
6310
6362
|
const { formatterParams: e, rawValue: t } = n;
|
|
6311
6363
|
if (!hi(e))
|
|
6312
6364
|
return [];
|
|
6313
6365
|
const i = e[String(t)];
|
|
6314
6366
|
return i == null || i === t ? [] : [i];
|
|
6315
6367
|
}
|
|
6316
|
-
function
|
|
6368
|
+
function Va(n) {
|
|
6317
6369
|
const { formatterParams: e, rawValue: t, separator: i, table: s } = n;
|
|
6318
6370
|
if (!Array.isArray(t))
|
|
6319
6371
|
return [];
|
|
@@ -6330,7 +6382,7 @@ function Fa(n) {
|
|
|
6330
6382
|
}
|
|
6331
6383
|
return [a.join(o)];
|
|
6332
6384
|
}
|
|
6333
|
-
function
|
|
6385
|
+
function Ia(n) {
|
|
6334
6386
|
const { formatterParams: e, rawValue: t } = n;
|
|
6335
6387
|
if (t == null || t === "")
|
|
6336
6388
|
return [];
|
|
@@ -6347,7 +6399,7 @@ function Oa(n) {
|
|
|
6347
6399
|
}
|
|
6348
6400
|
return i;
|
|
6349
6401
|
}
|
|
6350
|
-
function
|
|
6402
|
+
function Ba(n) {
|
|
6351
6403
|
const { formatterParams: e, rawValue: t, rowData: i, separator: s, table: o } = n;
|
|
6352
6404
|
if (!e)
|
|
6353
6405
|
return [];
|
|
@@ -6358,7 +6410,7 @@ function _a(n) {
|
|
|
6358
6410
|
}
|
|
6359
6411
|
return typeof e.label == "string" && (r = e.label, a = !0), a ? r != null && r !== t ? [r] : [] : [];
|
|
6360
6412
|
}
|
|
6361
|
-
function
|
|
6413
|
+
function Wa(n) {
|
|
6362
6414
|
const { formatterParams: e, rawValue: t } = n, i = e ?? {}, s = parseFloat(String(t));
|
|
6363
6415
|
if (Number.isNaN(s))
|
|
6364
6416
|
return [];
|
|
@@ -6377,7 +6429,7 @@ function Pa(n) {
|
|
|
6377
6429
|
return i.negativeSign === !0 ? (b = "(" + b + ")", [h ? b + l : l + b]) : [h ? p + b + l : p + l + b];
|
|
6378
6430
|
}
|
|
6379
6431
|
const pi = /* @__PURE__ */ new WeakMap();
|
|
6380
|
-
function
|
|
6432
|
+
function co(n) {
|
|
6381
6433
|
const e = {
|
|
6382
6434
|
style: n.type ?? "decimal",
|
|
6383
6435
|
useGrouping: !n.noGrouping
|
|
@@ -6394,90 +6446,90 @@ function ho(n) {
|
|
|
6394
6446
|
n[i] !== void 0 && (e[i] = n[i]);
|
|
6395
6447
|
return e.style === "currency" && e.currency === void 0 && (e.currency = "USD"), e;
|
|
6396
6448
|
}
|
|
6397
|
-
function
|
|
6449
|
+
function ja(n) {
|
|
6398
6450
|
if (!n || typeof n != "object")
|
|
6399
|
-
return ye(() => new Intl.NumberFormat(void 0,
|
|
6451
|
+
return ye(() => new Intl.NumberFormat(void 0, co({}))) ?? null;
|
|
6400
6452
|
if (pi.has(n))
|
|
6401
6453
|
return pi.get(n) ?? null;
|
|
6402
|
-
const e = ye(() => new Intl.NumberFormat(void 0,
|
|
6454
|
+
const e = ye(() => new Intl.NumberFormat(void 0, co(n))) ?? null;
|
|
6403
6455
|
return pi.set(n, e), e;
|
|
6404
6456
|
}
|
|
6405
|
-
function
|
|
6457
|
+
function Ga(n) {
|
|
6406
6458
|
const { formatterParams: e, rawValue: t } = n;
|
|
6407
6459
|
if (t == null || t === "")
|
|
6408
6460
|
return [];
|
|
6409
6461
|
const i = Number(t);
|
|
6410
6462
|
if (Number.isNaN(i))
|
|
6411
6463
|
return [];
|
|
6412
|
-
const s =
|
|
6464
|
+
const s = ja(e);
|
|
6413
6465
|
if (!s)
|
|
6414
6466
|
return [];
|
|
6415
6467
|
const o = ye(() => s.format(i));
|
|
6416
6468
|
return o ? [o] : [];
|
|
6417
6469
|
}
|
|
6418
|
-
function
|
|
6470
|
+
function Wo(n) {
|
|
6419
6471
|
return n?.dependencyRegistry?.lookup?.(
|
|
6420
6472
|
["luxon", "DateTime"],
|
|
6421
6473
|
"DateTime"
|
|
6422
6474
|
);
|
|
6423
6475
|
}
|
|
6424
|
-
function
|
|
6476
|
+
function jo(n, e, t) {
|
|
6425
6477
|
return n.isDateTime(e) ? e : t === "iso" ? n.fromISO(String(e)) : n.fromFormat(String(e), t);
|
|
6426
6478
|
}
|
|
6427
6479
|
function Kt(n, e) {
|
|
6428
6480
|
return typeof n == "string" && n.length > 0 && n !== e ? [n] : [];
|
|
6429
6481
|
}
|
|
6430
|
-
function
|
|
6431
|
-
const { formatterParams: e, rawValue: t, table: i } = n, s =
|
|
6482
|
+
function $a(n) {
|
|
6483
|
+
const { formatterParams: e, rawValue: t, table: i } = n, s = Wo(i), o = e ?? {}, r = o.invalidPlaceholder ?? "";
|
|
6432
6484
|
if (!s)
|
|
6433
6485
|
return [];
|
|
6434
|
-
const a = o.inputFormat ?? "yyyy-MM-dd HH:mm:ss", l = o.outputFormat ?? "dd/MM/yyyy HH:mm:ss", h = ye(() =>
|
|
6486
|
+
const a = o.inputFormat ?? "yyyy-MM-dd HH:mm:ss", l = o.outputFormat ?? "dd/MM/yyyy HH:mm:ss", h = ye(() => jo(s, t, a));
|
|
6435
6487
|
if (!h?.isValid)
|
|
6436
6488
|
return Kt(r, t);
|
|
6437
6489
|
const c = o.timezone ? ye(() => h.setZone(o.timezone)) ?? h : h, d = ye(() => c.toFormat(l));
|
|
6438
6490
|
return d ? [d] : [];
|
|
6439
6491
|
}
|
|
6440
|
-
function
|
|
6441
|
-
const { formatterParams: e, rawValue: t, table: i } = n, s =
|
|
6492
|
+
function Ua(n) {
|
|
6493
|
+
const { formatterParams: e, rawValue: t, table: i } = n, s = Wo(i), o = e ?? {}, r = o.invalidPlaceholder ?? "";
|
|
6442
6494
|
if (!s)
|
|
6443
6495
|
return Kt(r, t);
|
|
6444
6496
|
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 ? ye(() => s.now()) : o.date;
|
|
6445
6497
|
if (!d)
|
|
6446
6498
|
return Kt(r, t);
|
|
6447
|
-
const p = ye(() =>
|
|
6499
|
+
const p = ye(() => jo(s, t, a));
|
|
6448
6500
|
if (!p?.isValid)
|
|
6449
6501
|
return Kt(r, t);
|
|
6450
6502
|
const u = ye(() => c ? p.diff(d, h).toHuman() + (l ? " " + l : "") : Number.parseInt(String(p.diff(d, h)[h]), 10) + (l ? " " + l : ""));
|
|
6451
6503
|
return u != null ? [u] : [];
|
|
6452
6504
|
}
|
|
6453
|
-
function
|
|
6505
|
+
function Ka(n, e) {
|
|
6454
6506
|
if (n == null)
|
|
6455
6507
|
return;
|
|
6456
6508
|
let t = String(n);
|
|
6457
6509
|
const i = e?.prefix, s = e?.suffix;
|
|
6458
6510
|
return typeof i == "string" && i.length > 0 && (t = i + t), typeof s == "string" && s.length > 0 && (t = t + s), t;
|
|
6459
6511
|
}
|
|
6460
|
-
function
|
|
6461
|
-
const { formatterParams: e, rawValue: t } = n, i =
|
|
6512
|
+
function Go(n) {
|
|
6513
|
+
const { formatterParams: e, rawValue: t } = n, i = Ka(t, e);
|
|
6462
6514
|
return i === void 0 || i === String(t) ? [] : [i];
|
|
6463
6515
|
}
|
|
6464
|
-
function
|
|
6465
|
-
return
|
|
6516
|
+
function qa(n) {
|
|
6517
|
+
return Go(n);
|
|
6466
6518
|
}
|
|
6467
|
-
function
|
|
6519
|
+
function $o(n) {
|
|
6468
6520
|
if (typeof n.rawValue != "string" || !n.rawValue.includes("<"))
|
|
6469
6521
|
return [];
|
|
6470
|
-
const e =
|
|
6522
|
+
const e = _a(n.rawValue);
|
|
6471
6523
|
return !e || e === n.rawValue ? [] : [e];
|
|
6472
6524
|
}
|
|
6473
|
-
function
|
|
6474
|
-
return
|
|
6525
|
+
function Xa(n) {
|
|
6526
|
+
return $o(n);
|
|
6475
6527
|
}
|
|
6476
|
-
function
|
|
6528
|
+
function Ja(n) {
|
|
6477
6529
|
const { formatterParams: e, rawValue: t } = n, i = e ?? {}, s = i.indent ?? " ", o = i.replacer ?? null, r = ye(() => JSON.stringify(t, o, s));
|
|
6478
6530
|
return r === void 0 || r === t ? [] : [r];
|
|
6479
6531
|
}
|
|
6480
|
-
function
|
|
6532
|
+
function Ya(n, e) {
|
|
6481
6533
|
const { formatterParams: t, rawValue: i, rowData: s, separator: o, table: r } = n, a = t ?? {};
|
|
6482
6534
|
let l;
|
|
6483
6535
|
if (typeof a.formatterLookup == "function") {
|
|
@@ -6514,20 +6566,20 @@ function Ga(n, e) {
|
|
|
6514
6566
|
table: r
|
|
6515
6567
|
});
|
|
6516
6568
|
}
|
|
6517
|
-
const
|
|
6518
|
-
array:
|
|
6519
|
-
datetime:
|
|
6520
|
-
datetimediff:
|
|
6521
|
-
html:
|
|
6522
|
-
json:
|
|
6523
|
-
link:
|
|
6524
|
-
lookup:
|
|
6525
|
-
money:
|
|
6526
|
-
number:
|
|
6527
|
-
plaintext:
|
|
6528
|
-
tag:
|
|
6529
|
-
textarea:
|
|
6530
|
-
typography:
|
|
6569
|
+
const Qa = {
|
|
6570
|
+
array: Va,
|
|
6571
|
+
datetime: $a,
|
|
6572
|
+
datetimediff: Ua,
|
|
6573
|
+
html: $o,
|
|
6574
|
+
json: Ja,
|
|
6575
|
+
link: Ba,
|
|
6576
|
+
lookup: Na,
|
|
6577
|
+
money: Wa,
|
|
6578
|
+
number: Ga,
|
|
6579
|
+
plaintext: Go,
|
|
6580
|
+
tag: Ia,
|
|
6581
|
+
textarea: Xa,
|
|
6582
|
+
typography: qa
|
|
6531
6583
|
};
|
|
6532
6584
|
function Cs(n) {
|
|
6533
6585
|
const e = n.formatter;
|
|
@@ -6541,13 +6593,13 @@ function Cs(n) {
|
|
|
6541
6593
|
table: n.table
|
|
6542
6594
|
};
|
|
6543
6595
|
if (e === "composite")
|
|
6544
|
-
return
|
|
6596
|
+
return Aa(t, n.columnField);
|
|
6545
6597
|
if (e === "adaptable")
|
|
6546
|
-
return
|
|
6547
|
-
const i =
|
|
6598
|
+
return Ya(t, n.columnField);
|
|
6599
|
+
const i = Qa[e];
|
|
6548
6600
|
return i ? i(t) : [];
|
|
6549
6601
|
}
|
|
6550
|
-
function
|
|
6602
|
+
function Za(n, e, t, i, s) {
|
|
6551
6603
|
let o;
|
|
6552
6604
|
s?.has(e) ? o = s.get(e) : (o = n?.columnManager?.getColumnByField?.(e) ?? null, s?.set(e, o ?? null));
|
|
6553
6605
|
const r = o?.definition;
|
|
@@ -6987,7 +7039,7 @@ const Ce = process.env.NODE_ENV === "development", Ie = class Ie extends P {
|
|
|
6987
7039
|
}
|
|
6988
7040
|
if (h(l.value, f, a, c))
|
|
6989
7041
|
return !0;
|
|
6990
|
-
const w =
|
|
7042
|
+
const w = Za(
|
|
6991
7043
|
t,
|
|
6992
7044
|
u,
|
|
6993
7045
|
f,
|
|
@@ -7193,9 +7245,9 @@ const Ce = process.env.NODE_ENV === "development", Ie = class Ie extends P {
|
|
|
7193
7245
|
}) : i = e.func(t), i;
|
|
7194
7246
|
}
|
|
7195
7247
|
};
|
|
7196
|
-
Ie.moduleName = "filter", Ie.filters =
|
|
7248
|
+
Ie.moduleName = "filter", Ie.filters = Fa;
|
|
7197
7249
|
let Oi = Ie;
|
|
7198
|
-
const
|
|
7250
|
+
const el = process.env.NODE_ENV === "development", Ts = class Ts extends P {
|
|
7199
7251
|
constructor(e) {
|
|
7200
7252
|
super(e), this.leftColumns = [], this.rightColumns = [], this.initializationMode = "left", this.active = !1, this.blocked = !0, this.registerColumnOption("frozen");
|
|
7201
7253
|
}
|
|
@@ -7226,7 +7278,7 @@ const Ka = process.env.NODE_ENV === "development", Ts = class Ts extends P {
|
|
|
7226
7278
|
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");
|
|
7227
7279
|
}
|
|
7228
7280
|
frozenCheck(e) {
|
|
7229
|
-
return e.parent instanceof Re && e.parent.isGroup && e.definition.frozen &&
|
|
7281
|
+
return e.parent instanceof Re && e.parent.isGroup && e.definition.frozen && el && console.warn(
|
|
7230
7282
|
"Frozen Column Error - Parent column group must be frozen, not individual columns or sub column groups"
|
|
7231
7283
|
), e.parent instanceof Re && e.parent.isGroup ? this.frozenCheck(e.parent) : !!e.definition.frozen;
|
|
7232
7284
|
}
|
|
@@ -7321,7 +7373,7 @@ const Ka = process.env.NODE_ENV === "development", Ts = class Ts extends P {
|
|
|
7321
7373
|
};
|
|
7322
7374
|
Ts.moduleName = "frozenColumns";
|
|
7323
7375
|
let _i = Ts;
|
|
7324
|
-
const
|
|
7376
|
+
const uo = process.env.NODE_ENV === "development", Ms = class Ms extends P {
|
|
7325
7377
|
constructor(e) {
|
|
7326
7378
|
super(e), this.topElement = document.createElement("div"), this.rows = [], this.registerComponentFunction("row", "freeze", this.freezeRow.bind(this)), this.registerComponentFunction(
|
|
7327
7379
|
"row",
|
|
@@ -7386,11 +7438,11 @@ const co = process.env.NODE_ENV === "development", Ms = class Ms extends P {
|
|
|
7386
7438
|
}
|
|
7387
7439
|
freezeRow(e) {
|
|
7388
7440
|
const t = e._getSelf ? e._getSelf() : e._row;
|
|
7389
|
-
t && (t.modules.frozen ?
|
|
7441
|
+
t && (t.modules.frozen ? uo && console.warn("Freeze Error - Row is already frozen") : (t.modules.frozen = !0, this.topElement.appendChild(t.getElement()), t.initialize(), t.normalizeHeight(), this.rows.push(t), this.refreshData(!1, "display"), this.table.rowManager?.adjustTableSize(), this.styleRows()));
|
|
7390
7442
|
}
|
|
7391
7443
|
unfreezeRow(e) {
|
|
7392
7444
|
const t = e._getSelf ? e._getSelf() : e._row;
|
|
7393
|
-
t && (t.modules.frozen ? (t.modules.frozen = !1, this.detachRow(t), this.table.rowManager?.adjustTableSize(), this.refreshData(!1, "display"), this.rows.length && this.styleRows()) :
|
|
7445
|
+
t && (t.modules.frozen ? (t.modules.frozen = !1, this.detachRow(t), this.table.rowManager?.adjustTableSize(), this.refreshData(!1, "display"), this.rows.length && this.styleRows()) : uo && console.warn("Freeze Error - Row is already unfrozen"));
|
|
7394
7446
|
}
|
|
7395
7447
|
detachRow(e) {
|
|
7396
7448
|
const t = this.rows.indexOf(e);
|
|
@@ -7408,9 +7460,9 @@ const co = process.env.NODE_ENV === "development", Ms = class Ms extends P {
|
|
|
7408
7460
|
};
|
|
7409
7461
|
Ms.moduleName = "frozenRows";
|
|
7410
7462
|
let Pi = Ms;
|
|
7411
|
-
const
|
|
7463
|
+
const tl = process.env.NODE_ENV === "development", il = T`<cx-icon-button class="tabulator-group-toggle" name="keyboard_arrow_down"></cx-icon-button>`, sl = T`<div class="tabulator-group-level-indent"></div>`, ol = T`<cx-button size="small"><cx-icon slot="prefix" name="add" variant="outlined"></cx-icon>
|
|
7412
7464
|
Load More
|
|
7413
|
-
</cx-button>`,
|
|
7465
|
+
</cx-button>`, rl = T`<div class="tabulator-data-tree-loading">Loading...</div>`;
|
|
7414
7466
|
class vt {
|
|
7415
7467
|
constructor(e, t, i, s, o, r, a) {
|
|
7416
7468
|
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();
|
|
@@ -7429,7 +7481,7 @@ class vt {
|
|
|
7429
7481
|
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(
|
|
7430
7482
|
"role",
|
|
7431
7483
|
this.groupManager.table.options.rowGroupRole ?? "rowgroup"
|
|
7432
|
-
), this.arrowElement =
|
|
7484
|
+
), this.arrowElement = j(il), this.groupManager.table.options.movableRows !== !1 && this.groupManager.table.modExists("moveRow") && this.groupManager.table.modules.moveRow.initializeGroupHeader(
|
|
7433
7485
|
this
|
|
7434
7486
|
);
|
|
7435
7487
|
}
|
|
@@ -7493,7 +7545,7 @@ class vt {
|
|
|
7493
7545
|
let s = i.querySelector(
|
|
7494
7546
|
".tabulator-group-level-indent"
|
|
7495
7547
|
);
|
|
7496
|
-
s || (s =
|
|
7548
|
+
s || (s = j(sl), i.insertBefore(s, i.firstChild)), s.style.marginLeft = `${(this.level + 1) * (this.groupManager.table.options.groupIndent ?? 36)}px`, s.dataset.groupLevel = this.level.toString();
|
|
7497
7549
|
}
|
|
7498
7550
|
}
|
|
7499
7551
|
insertRow(e, t, i) {
|
|
@@ -7514,7 +7566,7 @@ class vt {
|
|
|
7514
7566
|
}
|
|
7515
7567
|
// update row data to match grouping constraints
|
|
7516
7568
|
conformRowData(e) {
|
|
7517
|
-
return this.field ? e[this.field] = this.key :
|
|
7569
|
+
return this.field ? e[this.field] = this.key : tl && console.warn(
|
|
7518
7570
|
"Data Conforming Error - Cannot conform row data to match new group as groupBy is a function"
|
|
7519
7571
|
), this.parent && (e = this.parent.conformRowData(e)), e;
|
|
7520
7572
|
}
|
|
@@ -7530,16 +7582,16 @@ class vt {
|
|
|
7530
7582
|
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)));
|
|
7531
7583
|
}
|
|
7532
7584
|
getPathKey() {
|
|
7533
|
-
return
|
|
7585
|
+
return Po(bs(this));
|
|
7534
7586
|
}
|
|
7535
7587
|
getLoadMoreState() {
|
|
7536
|
-
return
|
|
7588
|
+
return Dr(
|
|
7537
7589
|
this.groupManager.table.options.groupLoadMoreMeta,
|
|
7538
7590
|
this.getPathKey()
|
|
7539
7591
|
);
|
|
7540
7592
|
}
|
|
7541
7593
|
getGroupLoadMoreEventPayload() {
|
|
7542
|
-
return
|
|
7594
|
+
return Lr(this);
|
|
7543
7595
|
}
|
|
7544
7596
|
generateLoadMoreRow() {
|
|
7545
7597
|
const e = this.getLoadMoreState(), t = `hasMore:${!!e?.hasMore}|loading:${!!e?.loading}`;
|
|
@@ -7552,12 +7604,12 @@ class vt {
|
|
|
7552
7604
|
const s = new Mi(
|
|
7553
7605
|
{ id: `group-load-more:${this.getPathKey()}` },
|
|
7554
7606
|
i
|
|
7555
|
-
), o = (this.level + 1) * (this.groupManager.table.options.groupIndent ??
|
|
7607
|
+
), o = (this.level + 1) * (this.groupManager.table.options.groupIndent ?? Fo);
|
|
7556
7608
|
if (s.create(), e.loading) {
|
|
7557
|
-
const l =
|
|
7609
|
+
const l = j(rl);
|
|
7558
7610
|
return s.element.appendChild(l), this.applyGroupIndent(l, o), this._loadMoreRow = s, s;
|
|
7559
7611
|
}
|
|
7560
|
-
const r =
|
|
7612
|
+
const r = j(ol), a = this.getGroupLoadMoreEventPayload();
|
|
7561
7613
|
return s.element.appendChild(r), this.applyGroupIndent(r, o), r.addEventListener("click", (l) => {
|
|
7562
7614
|
l.preventDefault(), l.stopPropagation(), l.stopImmediatePropagation(), this.groupManager.table.externalEvents?.dispatch("groupLoadMore", a);
|
|
7563
7615
|
}), this._loadMoreRow = s, s;
|
|
@@ -7776,7 +7828,7 @@ class vt {
|
|
|
7776
7828
|
}
|
|
7777
7829
|
// ////////////// Object Generation /////////////////
|
|
7778
7830
|
getComponent() {
|
|
7779
|
-
return this.component ??= new
|
|
7831
|
+
return this.component ??= new Ho(this), this.component;
|
|
7780
7832
|
}
|
|
7781
7833
|
}
|
|
7782
7834
|
const fi = process.env.NODE_ENV === "development", Ds = class Ds extends P {
|
|
@@ -7789,7 +7841,7 @@ const fi = process.env.NODE_ENV === "development", Ds = class Ds extends P {
|
|
|
7789
7841
|
function() {
|
|
7790
7842
|
return "";
|
|
7791
7843
|
}
|
|
7792
|
-
], 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",
|
|
7844
|
+
], 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", Fo), this.registerTableOption("groupLoadMoreMeta", {}), this.registerTableFunction("setGroupBy", this.setGroupBy.bind(this)), this.registerTableFunction(
|
|
7793
7845
|
"setGroupValues",
|
|
7794
7846
|
this.setGroupValues.bind(this)
|
|
7795
7847
|
), this.registerTableFunction(
|
|
@@ -8149,7 +8201,7 @@ const fi = process.env.NODE_ENV === "development", Ds = class Ds extends P {
|
|
|
8149
8201
|
};
|
|
8150
8202
|
Ds.moduleName = "groupRows";
|
|
8151
8203
|
let Hi = Ds;
|
|
8152
|
-
const
|
|
8204
|
+
const nl = {
|
|
8153
8205
|
cellEdit: function(n) {
|
|
8154
8206
|
"setValueProcessData" in n.component && (n.component.setValueProcessData(n.data.newValue), n.component.cellRendered());
|
|
8155
8207
|
},
|
|
@@ -8176,7 +8228,7 @@ const Za = {
|
|
|
8176
8228
|
), this.table.rowManager.regenerateRowPositions(), this.table.rowManager.reRenderInPosition());
|
|
8177
8229
|
}
|
|
8178
8230
|
}
|
|
8179
|
-
},
|
|
8231
|
+
}, al = {
|
|
8180
8232
|
cellEdit: function(n) {
|
|
8181
8233
|
"setValueProcessData" in n.component && (n.component.setValueProcessData(n.data.oldValue), n.component.cellRendered());
|
|
8182
8234
|
},
|
|
@@ -8203,7 +8255,7 @@ const Za = {
|
|
|
8203
8255
|
), this.table.rowManager.regenerateRowPositions(), this.table.rowManager.reRenderInPosition());
|
|
8204
8256
|
}
|
|
8205
8257
|
}
|
|
8206
|
-
},
|
|
8258
|
+
}, ll = {
|
|
8207
8259
|
redo: function(n) {
|
|
8208
8260
|
let e;
|
|
8209
8261
|
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()));
|
|
@@ -8212,15 +8264,15 @@ const Za = {
|
|
|
8212
8264
|
let e;
|
|
8213
8265
|
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()));
|
|
8214
8266
|
}
|
|
8215
|
-
},
|
|
8267
|
+
}, hl = {
|
|
8216
8268
|
redo: ["ctrl + 89", "meta + 89"],
|
|
8217
8269
|
undo: ["ctrl + 90", "meta + 90"]
|
|
8218
|
-
},
|
|
8270
|
+
}, cl = {
|
|
8219
8271
|
keybindings: {
|
|
8220
|
-
actions:
|
|
8221
|
-
bindings:
|
|
8272
|
+
actions: ll,
|
|
8273
|
+
bindings: hl
|
|
8222
8274
|
}
|
|
8223
|
-
},
|
|
8275
|
+
}, po = process.env.NODE_ENV === "development", Be = class Be extends P {
|
|
8224
8276
|
constructor(e) {
|
|
8225
8277
|
super(e), this.history = [], this.index = -1, this.registerTableOption("history", !1);
|
|
8226
8278
|
}
|
|
@@ -8302,7 +8354,7 @@ const Za = {
|
|
|
8302
8354
|
e.component.getComponent(),
|
|
8303
8355
|
e.data
|
|
8304
8356
|
), !0;
|
|
8305
|
-
} else
|
|
8357
|
+
} else po && console.warn(
|
|
8306
8358
|
this.options("history") ? "History Undo Error - No more history to undo" : "History module not enabled"
|
|
8307
8359
|
);
|
|
8308
8360
|
return !1;
|
|
@@ -8318,7 +8370,7 @@ const Za = {
|
|
|
8318
8370
|
e.component.getComponent(),
|
|
8319
8371
|
e.data
|
|
8320
8372
|
), !0;
|
|
8321
|
-
} else
|
|
8373
|
+
} else po && console.warn(
|
|
8322
8374
|
this.options("history") ? "History Redo Error - No more history to redo" : "History module not enabled"
|
|
8323
8375
|
);
|
|
8324
8376
|
return !1;
|
|
@@ -8338,9 +8390,9 @@ const Za = {
|
|
|
8338
8390
|
});
|
|
8339
8391
|
}
|
|
8340
8392
|
};
|
|
8341
|
-
Be.moduleName = "history", Be.moduleExtensions =
|
|
8393
|
+
Be.moduleName = "history", Be.moduleExtensions = cl, Be.undoers = al, Be.redoers = nl;
|
|
8342
8394
|
let Ai = Be;
|
|
8343
|
-
const
|
|
8395
|
+
const dl = process.env.NODE_ENV === "development", Ls = class Ls extends P {
|
|
8344
8396
|
constructor(e) {
|
|
8345
8397
|
super(e), this.fieldIndex = [], this.hasIndex = !1;
|
|
8346
8398
|
}
|
|
@@ -8348,7 +8400,7 @@ const ol = process.env.NODE_ENV === "development", Ls = class Ls extends P {
|
|
|
8348
8400
|
this.tableElementCheck();
|
|
8349
8401
|
}
|
|
8350
8402
|
tableElementCheck() {
|
|
8351
|
-
this.table.originalElement?.tagName === "TABLE" && (this.table.originalElement.childNodes.length ? this.parseTable() :
|
|
8403
|
+
this.table.originalElement?.tagName === "TABLE" && (this.table.originalElement.childNodes.length ? this.parseTable() : dl && console.warn(
|
|
8352
8404
|
"Unable to parse data from empty table tag, Tabulator should be initialized on a div tag unless importing data from a table element."
|
|
8353
8405
|
));
|
|
8354
8406
|
}
|
|
@@ -8421,7 +8473,7 @@ const ol = process.env.NODE_ENV === "development", Ls = class Ls extends P {
|
|
|
8421
8473
|
};
|
|
8422
8474
|
Ls.moduleName = "htmlTableImport";
|
|
8423
8475
|
let Ni = Ls;
|
|
8424
|
-
function
|
|
8476
|
+
function ul(n) {
|
|
8425
8477
|
return n;
|
|
8426
8478
|
}
|
|
8427
8479
|
var qt = { exports: {} };
|
|
@@ -8431,12 +8483,12 @@ v5.5.4
|
|
|
8431
8483
|
https://github.com/mholt/PapaParse
|
|
8432
8484
|
License: MIT
|
|
8433
8485
|
*/
|
|
8434
|
-
var
|
|
8435
|
-
function
|
|
8436
|
-
return
|
|
8486
|
+
var pl = qt.exports, fo;
|
|
8487
|
+
function fl() {
|
|
8488
|
+
return fo || (fo = 1, function(n, e) {
|
|
8437
8489
|
((t, i) => {
|
|
8438
8490
|
n.exports = i();
|
|
8439
|
-
})(
|
|
8491
|
+
})(pl, function t() {
|
|
8440
8492
|
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 = {};
|
|
8441
8493
|
function c(g) {
|
|
8442
8494
|
return g.charCodeAt(0) === 65279 ? g.slice(1) : g;
|
|
@@ -8550,8 +8602,8 @@ function al() {
|
|
|
8550
8602
|
}
|
|
8551
8603
|
function E(g) {
|
|
8552
8604
|
var m, x, k, R, F = Math.pow(2, 53), Q = -F, ke = /^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/, De = /^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/, V = this, oe = 0, O = 0, ge = !1, A = !1, I = [], D = { data: [], errors: [], meta: {} };
|
|
8553
|
-
function Te(
|
|
8554
|
-
return g.skipEmptyLines === "greedy" ?
|
|
8605
|
+
function Te(G) {
|
|
8606
|
+
return g.skipEmptyLines === "greedy" ? G.join("").trim() === "" : G.length === 1 && G[0].length === 0;
|
|
8555
8607
|
}
|
|
8556
8608
|
function Z() {
|
|
8557
8609
|
if (D && k && (ze("Delimiter", "UndetectableDelimiter", "Unable to auto-detect delimiting character; defaulted to '" + h.DefaultDelimiter + "'"), k = !1), g.skipEmptyLines && (D.data = D.data.filter(function(_) {
|
|
@@ -8561,7 +8613,7 @@ function al() {
|
|
|
8561
8613
|
ee = c(ee), z(g.transformHeader) && (ee = g.transformHeader(ee, ce)), I.push(ee);
|
|
8562
8614
|
};
|
|
8563
8615
|
if (D) if (Array.isArray(D.data[0])) {
|
|
8564
|
-
for (var
|
|
8616
|
+
for (var G = 0; he() && G < D.data.length; G++) D.data[G].forEach(_);
|
|
8565
8617
|
D.data.splice(0, 1);
|
|
8566
8618
|
} else D.data.forEach(_);
|
|
8567
8619
|
}
|
|
@@ -8581,13 +8633,13 @@ function al() {
|
|
|
8581
8633
|
function he() {
|
|
8582
8634
|
return g.header && I.length === 0;
|
|
8583
8635
|
}
|
|
8584
|
-
function ze(
|
|
8585
|
-
|
|
8636
|
+
function ze(G, B, re, _) {
|
|
8637
|
+
G = { type: G, code: B, message: re }, _ !== void 0 && (G.row = _), D.errors.push(G);
|
|
8586
8638
|
}
|
|
8587
|
-
z(g.step) && (R = g.step, g.step = function(
|
|
8588
|
-
D =
|
|
8589
|
-
}), this.parse = function(
|
|
8590
|
-
var _ = g.quoteChar || '"', _ = (g.newline || (g.newline = this.guessLineEndings(
|
|
8639
|
+
z(g.step) && (R = g.step, g.step = function(G) {
|
|
8640
|
+
D = G, he() ? Z() : (Z(), D.data.length !== 0 && (oe += G.data.length, g.preview && oe > g.preview ? x.abort() : (D.data = D.data[0], R(D, V))));
|
|
8641
|
+
}), this.parse = function(G, B, re) {
|
|
8642
|
+
var _ = g.quoteChar || '"', _ = (g.newline || (g.newline = this.guessLineEndings(G, _)), k = !1, g.delimiter ? z(g.delimiter) && (g.delimiter = g.delimiter(G), D.meta.delimiter = g.delimiter) : ((_ = ((ee, ce, q, X, W) => {
|
|
8591
8643
|
var Fe, N, se, Xe;
|
|
8592
8644
|
W = W || [",", " ", "|", ";", h.RECORD_SEP, h.UNIT_SEP];
|
|
8593
8645
|
for (var bt = 0; bt < W.length; bt++) {
|
|
@@ -8595,8 +8647,8 @@ function al() {
|
|
|
8595
8647
|
0 < Ee.data.length && (Ae /= Ee.data.length - de), (N === void 0 || me <= N) && (Xe === void 0 || Xe < Ae) && 1.99 < Ae && (N = me, Fe = Tt, Xe = Ae);
|
|
8596
8648
|
}
|
|
8597
8649
|
return { successful: !!(g.delimiter = Fe), bestDelimiter: Fe };
|
|
8598
|
-
})(
|
|
8599
|
-
return g.preview && g.header && _.preview++, m =
|
|
8650
|
+
})(G, g.newline, g.skipEmptyLines, g.comments, g.delimitersToGuess)).successful ? g.delimiter = _.bestDelimiter : (k = !0, g.delimiter = h.DefaultDelimiter), D.meta.delimiter = g.delimiter), le(g));
|
|
8651
|
+
return g.preview && g.header && _.preview++, m = G, x = new S(_), D = x.parse(m, B, re), Z(), ge ? { meta: { paused: !0 } } : D || { meta: { paused: !1 } };
|
|
8600
8652
|
}, this.paused = function() {
|
|
8601
8653
|
return ge;
|
|
8602
8654
|
}, this.pause = function() {
|
|
@@ -8632,14 +8684,14 @@ function al() {
|
|
|
8632
8684
|
var O = 0, ge = !1;
|
|
8633
8685
|
this.parse = function(A, I, D) {
|
|
8634
8686
|
if (typeof A != "string") throw new Error("Input must be a string");
|
|
8635
|
-
var Te = A.length, Z = m.length, he = x.length, ze = k.length,
|
|
8687
|
+
var Te = A.length, Z = m.length, he = x.length, ze = k.length, G = z(R), B = [], re = [], _ = [], ee = O = 0;
|
|
8636
8688
|
if (!A) return me();
|
|
8637
8689
|
if (Q || Q !== !1 && A.indexOf(V) === -1) {
|
|
8638
8690
|
for (var ce = A.split(x), q = 0; q < ce.length; q++) {
|
|
8639
8691
|
if (_ = ce[q], O += _.length, q !== ce.length - 1) O += x.length;
|
|
8640
8692
|
else if (D) return me();
|
|
8641
8693
|
if (!k || _.substring(0, ze) !== k) {
|
|
8642
|
-
if (
|
|
8694
|
+
if (G) {
|
|
8643
8695
|
if (B = [], Xe(_.split(m)), Ae(), ge) return me();
|
|
8644
8696
|
} else Xe(_.split(m));
|
|
8645
8697
|
if (F && F <= q) return B = B.slice(0, F), me(!0);
|
|
@@ -8659,7 +8711,7 @@ function al() {
|
|
|
8659
8711
|
break;
|
|
8660
8712
|
}
|
|
8661
8713
|
if (se = bt(W), A.substring(N + 1 + se, N + 1 + se + he) === x) {
|
|
8662
|
-
if (_.push(A.substring(O, N).replace(Fe, V)), Tt(N + 1 + se + he), X = A.indexOf(m, O), N = A.indexOf(V, O),
|
|
8714
|
+
if (_.push(A.substring(O, N).replace(Fe, V)), Tt(N + 1 + se + he), X = A.indexOf(m, O), N = A.indexOf(V, O), G && (Ae(), ge)) return me();
|
|
8663
8715
|
if (F && B.length >= F) return me(!0);
|
|
8664
8716
|
break;
|
|
8665
8717
|
}
|
|
@@ -8672,7 +8724,7 @@ function al() {
|
|
|
8672
8724
|
} else if (X !== -1 && (X < W || W === -1)) _.push(A.substring(O, X)), O = X + Z, X = A.indexOf(m, O);
|
|
8673
8725
|
else {
|
|
8674
8726
|
if (W === -1) break;
|
|
8675
|
-
if (_.push(A.substring(O, W)), Tt(W + he),
|
|
8727
|
+
if (_.push(A.substring(O, W)), Tt(W + he), G && (Ae(), ge)) return me();
|
|
8676
8728
|
if (F && B.length >= F) return me(!0);
|
|
8677
8729
|
}
|
|
8678
8730
|
return He();
|
|
@@ -8684,7 +8736,7 @@ function al() {
|
|
|
8684
8736
|
return Ee = de !== -1 && (de = A.substring(N + 1, de)) && de.trim() === "" ? de.length : Ee;
|
|
8685
8737
|
}
|
|
8686
8738
|
function He(de) {
|
|
8687
|
-
return D || (de === void 0 && (de = A.substring(O)), _.push(de), O = Te, Xe(_),
|
|
8739
|
+
return D || (de === void 0 && (de = A.substring(O)), _.push(de), O = Te, Xe(_), G && Ae()), me();
|
|
8688
8740
|
}
|
|
8689
8741
|
function Tt(de) {
|
|
8690
8742
|
O = de, Xe(_), _ = [], W = A.indexOf(x, O);
|
|
@@ -8781,7 +8833,7 @@ function al() {
|
|
|
8781
8833
|
function ge(I, D, Te) {
|
|
8782
8834
|
var Z = "", he = (typeof I == "string" && (I = JSON.parse(I)), typeof D == "string" && (D = JSON.parse(D)), Array.isArray(I) && 0 < I.length), ze = !Array.isArray(D[0]);
|
|
8783
8835
|
if (he && k) {
|
|
8784
|
-
for (var
|
|
8836
|
+
for (var G = 0; G < I.length; G++) 0 < G && (Z += R), Z += A(I[G], G);
|
|
8785
8837
|
0 < D.length && (Z += F);
|
|
8786
8838
|
}
|
|
8787
8839
|
for (var B = 0; B < D.length; B++) {
|
|
@@ -8806,8 +8858,8 @@ function al() {
|
|
|
8806
8858
|
}
|
|
8807
8859
|
function A(I, D) {
|
|
8808
8860
|
var Te, Z, he;
|
|
8809
|
-
return I == null ? "" : I.constructor === Date ? JSON.stringify(I).slice(1, 25) : (he = !1, oe && typeof I == "string" && oe.test(I) && (I = "'" + I, he = !0), Z = (Te = I.toString()).replace(O, ke), (he = he || x === !0 || typeof x == "function" && x(I, D) || Array.isArray(x) && x[D] || ((ze,
|
|
8810
|
-
for (var B = 0; B <
|
|
8861
|
+
return I == null ? "" : I.constructor === Date ? JSON.stringify(I).slice(1, 25) : (he = !1, oe && typeof I == "string" && oe.test(I) && (I = "'" + I, he = !0), Z = (Te = I.toString()).replace(O, ke), (he = he || x === !0 || typeof x == "function" && x(I, D) || Array.isArray(x) && x[D] || ((ze, G) => {
|
|
8862
|
+
for (var B = 0; B < G.length; B++) if (-1 < ze.indexOf(G[B])) return !0;
|
|
8811
8863
|
return !1;
|
|
8812
8864
|
})(Z, h.BAD_DELIMITERS) || -1 < Z.indexOf(R) || -1 < Te.indexOf(Q) || Z.charAt(0) === " " || Z.charAt(Z.length - 1) === " ") ? Q + Z + Q : Z);
|
|
8813
8865
|
}
|
|
@@ -8845,36 +8897,36 @@ function al() {
|
|
|
8845
8897
|
});
|
|
8846
8898
|
}(qt)), qt.exports;
|
|
8847
8899
|
}
|
|
8848
|
-
var
|
|
8849
|
-
const Es = /* @__PURE__ */
|
|
8850
|
-
function
|
|
8900
|
+
var gl = fl();
|
|
8901
|
+
const Es = /* @__PURE__ */ cr(gl);
|
|
8902
|
+
function ml(n) {
|
|
8851
8903
|
const e = Es.parse(n, { header: !1, skipEmptyLines: !0 }), t = e.errors.filter((i) => i.code !== "UndetectableDelimiter");
|
|
8852
8904
|
if (t.length > 0)
|
|
8853
8905
|
throw new Error(`CSV parse error: ${t[0].message}`);
|
|
8854
8906
|
return e.data;
|
|
8855
8907
|
}
|
|
8856
|
-
const
|
|
8857
|
-
async function
|
|
8908
|
+
const bl = process.env.NODE_ENV === "development";
|
|
8909
|
+
async function wl(n) {
|
|
8858
8910
|
try {
|
|
8859
8911
|
return JSON.parse(n);
|
|
8860
8912
|
} catch (e) {
|
|
8861
|
-
throw
|
|
8913
|
+
throw bl && console.warn("JSON Import Error - File contents is invalid JSON", e), new Error("Invalid JSON format");
|
|
8862
8914
|
}
|
|
8863
8915
|
}
|
|
8864
|
-
const
|
|
8916
|
+
const go = process.env.NODE_ENV === "development", vl = function(n) {
|
|
8865
8917
|
const t = this.dependencyRegistry.lookup("XLSX");
|
|
8866
8918
|
if (!t)
|
|
8867
|
-
return
|
|
8919
|
+
return go && console.warn("XLSX library not found in dependency registry"), [];
|
|
8868
8920
|
const i = t.read(n);
|
|
8869
8921
|
if (!i.SheetNames || i.SheetNames.length === 0)
|
|
8870
|
-
return
|
|
8922
|
+
return go && console.warn("XLSX workbook contains no sheets"), [];
|
|
8871
8923
|
const s = i.Sheets[i.SheetNames[0]];
|
|
8872
8924
|
return t.utils.sheet_to_json(s, { header: 1 });
|
|
8873
|
-
},
|
|
8874
|
-
array:
|
|
8875
|
-
csv:
|
|
8876
|
-
json:
|
|
8877
|
-
xlsx:
|
|
8925
|
+
}, yl = {
|
|
8926
|
+
array: ul,
|
|
8927
|
+
csv: ml,
|
|
8928
|
+
json: wl,
|
|
8929
|
+
xlsx: vl
|
|
8878
8930
|
}, Lt = process.env.NODE_ENV === "development", _t = class _t extends P {
|
|
8879
8931
|
constructor(e) {
|
|
8880
8932
|
super(e), this.registerTableOption("importFormat"), this.registerTableOption("importReader", "text"), this.registerTableOption("importHeaderTransform"), this.registerTableOption("importValueTransform"), this.registerTableOption("importDataValidator"), this.registerTableOption("importFileValidator");
|
|
@@ -9031,7 +9083,7 @@ const fo = process.env.NODE_ENV === "development", ul = function(n) {
|
|
|
9031
9083
|
return this.dispatch("import-imported", e), this.dispatchExternal("importImported", e), this.table.dataLoader?.clearAlert(), this.table.setData(e);
|
|
9032
9084
|
}
|
|
9033
9085
|
};
|
|
9034
|
-
_t.moduleName = "import", _t.importers =
|
|
9086
|
+
_t.moduleName = "import", _t.importers = yl;
|
|
9035
9087
|
let Vi = _t;
|
|
9036
9088
|
const zs = class zs extends P {
|
|
9037
9089
|
constructor(e) {
|
|
@@ -9217,7 +9269,7 @@ const zs = class zs extends P {
|
|
|
9217
9269
|
};
|
|
9218
9270
|
zs.moduleName = "interaction";
|
|
9219
9271
|
let Ii = zs;
|
|
9220
|
-
const
|
|
9272
|
+
const Cl = {
|
|
9221
9273
|
keyBlock: function(n) {
|
|
9222
9274
|
n.stopPropagation(), n.preventDefault();
|
|
9223
9275
|
},
|
|
@@ -9265,7 +9317,7 @@ const fl = {
|
|
|
9265
9317
|
const e = this.table.rowManager;
|
|
9266
9318
|
e && (n.preventDefault(), e.displayRowsCount && e.scrollToRow(e.getDisplayRows()[0]), this.table.element.focus());
|
|
9267
9319
|
}
|
|
9268
|
-
},
|
|
9320
|
+
}, El = {
|
|
9269
9321
|
navDown: 40,
|
|
9270
9322
|
navLeft: 37,
|
|
9271
9323
|
navNext: 9,
|
|
@@ -9276,7 +9328,7 @@ const fl = {
|
|
|
9276
9328
|
scrollPageUp: 33,
|
|
9277
9329
|
scrollToEnd: 35,
|
|
9278
9330
|
scrollToStart: 36
|
|
9279
|
-
},
|
|
9331
|
+
}, xl = process.env.NODE_ENV === "development", tt = class tt extends P {
|
|
9280
9332
|
constructor(e) {
|
|
9281
9333
|
super(e), this.watchKeys = null, this.pressedKeys = null, this.keyupBinding = !1, this.keydownBinding = !1, this.registerTableOption("keybindings", {}), this.registerTableOption("tabEndNewRow", !1);
|
|
9282
9334
|
}
|
|
@@ -9290,7 +9342,7 @@ const fl = {
|
|
|
9290
9342
|
(Array.isArray(i) ? i : [i]).forEach((o) => {
|
|
9291
9343
|
this.mapBinding(t, o);
|
|
9292
9344
|
});
|
|
9293
|
-
})) :
|
|
9345
|
+
})) : xl && console.warn("Key Binding Error - no such action:", t);
|
|
9294
9346
|
}
|
|
9295
9347
|
mapBinding(e, t) {
|
|
9296
9348
|
const i = {
|
|
@@ -9343,7 +9395,7 @@ const fl = {
|
|
|
9343
9395
|
}), i && t.action.call(this, e), !0) : !1;
|
|
9344
9396
|
}
|
|
9345
9397
|
};
|
|
9346
|
-
tt.moduleName = "keybindings", tt.bindings =
|
|
9398
|
+
tt.moduleName = "keybindings", tt.bindings = El, tt.actions = Cl;
|
|
9347
9399
|
let Bi = tt;
|
|
9348
9400
|
const Fs = class Fs extends P {
|
|
9349
9401
|
constructor(e) {
|
|
@@ -9628,7 +9680,7 @@ const Os = class Os extends P {
|
|
|
9628
9680
|
};
|
|
9629
9681
|
Os.moduleName = "moveColumn";
|
|
9630
9682
|
let ji = Os;
|
|
9631
|
-
const
|
|
9683
|
+
const Rl = {
|
|
9632
9684
|
add: function(n, e, t) {
|
|
9633
9685
|
return n && this.table.addRow(n.getData("")), !0;
|
|
9634
9686
|
},
|
|
@@ -9641,7 +9693,7 @@ const bl = {
|
|
|
9641
9693
|
update: function(n, e, t) {
|
|
9642
9694
|
return e && n ? (e.update(n.getData("")), !0) : !1;
|
|
9643
9695
|
}
|
|
9644
|
-
},
|
|
9696
|
+
}, Sl = {
|
|
9645
9697
|
delete: function(n, e, t) {
|
|
9646
9698
|
n && n.delete();
|
|
9647
9699
|
}
|
|
@@ -9987,9 +10039,9 @@ const bl = {
|
|
|
9987
10039
|
}
|
|
9988
10040
|
}
|
|
9989
10041
|
};
|
|
9990
|
-
lt.moduleName = "moveRow", lt.senders =
|
|
10042
|
+
lt.moduleName = "moveRow", lt.senders = Sl, lt.receivers = Rl;
|
|
9991
10043
|
let Gi = lt;
|
|
9992
|
-
const
|
|
10044
|
+
const kl = {}, Tl = process.env.NODE_ENV === "development", xt = class xt extends P {
|
|
9993
10045
|
constructor(e) {
|
|
9994
10046
|
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");
|
|
9995
10047
|
}
|
|
@@ -10015,7 +10067,7 @@ const vl = {}, yl = process.env.NODE_ENV === "development", xt = class xt extend
|
|
|
10015
10067
|
let t = !1;
|
|
10016
10068
|
switch (typeof e) {
|
|
10017
10069
|
case "string":
|
|
10018
|
-
xt.mutators[e] ? t = xt.mutators[e] :
|
|
10070
|
+
xt.mutators[e] ? t = xt.mutators[e] : Tl && console.warn(
|
|
10019
10071
|
"Mutator Error - No such mutator found, ignoring: ",
|
|
10020
10072
|
e
|
|
10021
10073
|
);
|
|
@@ -10078,7 +10130,7 @@ const vl = {}, yl = process.env.NODE_ENV === "development", xt = class xt extend
|
|
|
10078
10130
|
this.enabled = !1;
|
|
10079
10131
|
}
|
|
10080
10132
|
};
|
|
10081
|
-
xt.moduleName = "mutator", xt.mutators =
|
|
10133
|
+
xt.moduleName = "mutator", xt.mutators = kl;
|
|
10082
10134
|
let $i = xt;
|
|
10083
10135
|
const _s = class _s extends P {
|
|
10084
10136
|
constructor(e) {
|
|
@@ -10188,7 +10240,7 @@ const _s = class _s extends P {
|
|
|
10188
10240
|
}
|
|
10189
10241
|
createElements() {
|
|
10190
10242
|
const e = T`<cx-pagination back-icon-name="arrow_backward" next-icon-name="arrow_forward" icon-button-size="small"></cx-pagination>`, t = T`<div slot="pagination" class="tabulator-paginator"></div>`;
|
|
10191
|
-
this.element =
|
|
10243
|
+
this.element = j(t), this.paginationElement = j(e), this.table.options.paginationShowFirst && this.paginationElement.setAttribute("show-first", ""), this.table.options.paginationShowLast && this.paginationElement.setAttribute("show-last", ""), this.table.options.showPaginationButtons && (this.paginationElement.setAttribute("show-pagination-buttons", ""), this.paginationElement.setAttribute(
|
|
10192
10244
|
"pagination-button-count",
|
|
10193
10245
|
this.count.toString()
|
|
10194
10246
|
)), this.table.options.showPaginationInput && this.paginationElement.setAttribute("show-pagination-input", ""), this.paginationElement.setAttribute("label", ""), this.paginationElement.classList.add("tabulator-paginator-pagination");
|
|
@@ -10359,7 +10411,7 @@ const _s = class _s extends P {
|
|
|
10359
10411
|
};
|
|
10360
10412
|
_s.moduleName = "page";
|
|
10361
10413
|
let Ui = _s;
|
|
10362
|
-
const
|
|
10414
|
+
const mo = process.env.NODE_ENV === "development", Ml = {
|
|
10363
10415
|
cookie: function(n, e) {
|
|
10364
10416
|
let t = document.cookie;
|
|
10365
10417
|
const i = n + "-" + e, s = t.indexOf(i + "=");
|
|
@@ -10374,7 +10426,7 @@ const go = process.env.NODE_ENV === "development", Cl = {
|
|
|
10374
10426
|
try {
|
|
10375
10427
|
return JSON.parse(r);
|
|
10376
10428
|
} catch (a) {
|
|
10377
|
-
return
|
|
10429
|
+
return mo && console.error("Failed to parse cookie data:", a), !1;
|
|
10378
10430
|
}
|
|
10379
10431
|
},
|
|
10380
10432
|
local: function(n, e) {
|
|
@@ -10384,10 +10436,10 @@ const go = process.env.NODE_ENV === "development", Cl = {
|
|
|
10384
10436
|
try {
|
|
10385
10437
|
return JSON.parse(t);
|
|
10386
10438
|
} catch (i) {
|
|
10387
|
-
return
|
|
10439
|
+
return mo && console.error("Failed to parse localStorage data:", i), !1;
|
|
10388
10440
|
}
|
|
10389
10441
|
}
|
|
10390
|
-
},
|
|
10442
|
+
}, Dl = {
|
|
10391
10443
|
cookie: function(n, e, t) {
|
|
10392
10444
|
const i = /* @__PURE__ */ new Date();
|
|
10393
10445
|
i.setDate(i.getDate() + 1e4), document.cookie = n + "-" + e + "=" + encodeURIComponent(JSON.stringify(t)) + "; expires=" + i.toUTCString();
|
|
@@ -10602,7 +10654,7 @@ const go = process.env.NODE_ENV === "development", Cl = {
|
|
|
10602
10654
|
}), t;
|
|
10603
10655
|
}
|
|
10604
10656
|
};
|
|
10605
|
-
xe.moduleName = "persistence", xe.moduleInitOrder = -10, xe.readers =
|
|
10657
|
+
xe.moduleName = "persistence", xe.moduleInitOrder = -10, xe.readers = Ml, xe.writers = Dl;
|
|
10606
10658
|
let Ki = xe;
|
|
10607
10659
|
const Ps = class Ps extends P {
|
|
10608
10660
|
constructor(e) {
|
|
@@ -10726,7 +10778,7 @@ const Ps = class Ps extends P {
|
|
|
10726
10778
|
};
|
|
10727
10779
|
Ps.moduleName = "popup";
|
|
10728
10780
|
let qi = Ps;
|
|
10729
|
-
const
|
|
10781
|
+
const bo = process.env.NODE_ENV === "development", Hs = class Hs extends P {
|
|
10730
10782
|
constructor(e) {
|
|
10731
10783
|
super(e), this.element = !1, this.manualBlock = !1, this.beforeprintEventHandler = null, this.afterprintEventHandler = null, this.registerTableOption("printAsHtml", !1), this.registerTableOption("printFormatter", !1), this.registerTableOption("printHeader", !1), this.registerTableOption("printFooter", !1), this.registerTableOption("printStyled", !0), this.registerTableOption("printRowRange", "visible"), this.registerTableOption("printConfig", {}), this.registerColumnOption("print"), this.registerColumnOption("titlePrint");
|
|
10732
10784
|
}
|
|
@@ -10758,7 +10810,7 @@ const mo = process.env.NODE_ENV === "development", Hs = class Hs extends P {
|
|
|
10758
10810
|
if (!this.manualBlock) {
|
|
10759
10811
|
const e = this.table.modules.export;
|
|
10760
10812
|
if (!e || typeof e.generateTable != "function") {
|
|
10761
|
-
|
|
10813
|
+
bo && console.error(
|
|
10762
10814
|
"Print Error - Export module not available, cannot generate print table."
|
|
10763
10815
|
);
|
|
10764
10816
|
return;
|
|
@@ -10782,7 +10834,7 @@ const mo = process.env.NODE_ENV === "development", Hs = class Hs extends P {
|
|
|
10782
10834
|
printFullscreen(e, t, i) {
|
|
10783
10835
|
const s = window.scrollX, o = window.scrollY, r = document.createElement("div"), a = document.createElement("div"), l = this.table.modules.export;
|
|
10784
10836
|
if (!l || typeof l.generateTable != "function") {
|
|
10785
|
-
|
|
10837
|
+
bo && console.error(
|
|
10786
10838
|
"Print Error - Export module not available, cannot generate print table."
|
|
10787
10839
|
);
|
|
10788
10840
|
return;
|
|
@@ -11294,7 +11346,7 @@ const Is = class Is extends P {
|
|
|
11294
11346
|
};
|
|
11295
11347
|
Is.moduleName = "resizeTable";
|
|
11296
11348
|
let Zi = Is;
|
|
11297
|
-
function
|
|
11349
|
+
function Ll(n) {
|
|
11298
11350
|
const e = document.createElement("div"), t = n.getRow()._row.modules.responsiveLayout;
|
|
11299
11351
|
e.classList.add("tabulator-responsive-collapse-toggle"), e.innerHTML = `<svg class='tabulator-responsive-collapse-toggle-open' viewBox="0 0 24 24">
|
|
11300
11352
|
<line x1="7" y1="12" x2="17" y2="12" fill="none" stroke-width="3" stroke-linecap="round" />
|
|
@@ -11312,10 +11364,10 @@ function xl(n) {
|
|
|
11312
11364
|
s.stopImmediatePropagation(), i(!t.open), n.getTable()?.rowManager?.adjustTableSize();
|
|
11313
11365
|
}), i(t.open), e;
|
|
11314
11366
|
}
|
|
11315
|
-
const
|
|
11367
|
+
const zl = {
|
|
11316
11368
|
format: {
|
|
11317
11369
|
formatters: {
|
|
11318
|
-
responsiveCollapse:
|
|
11370
|
+
responsiveCollapse: Ll
|
|
11319
11371
|
}
|
|
11320
11372
|
}
|
|
11321
11373
|
}, Yt = class Yt extends P {
|
|
@@ -11477,11 +11529,11 @@ const Rl = {
|
|
|
11477
11529
|
}), Object.keys(e).length ? t : "";
|
|
11478
11530
|
}
|
|
11479
11531
|
};
|
|
11480
|
-
Yt.moduleName = "responsiveLayout", Yt.moduleExtensions =
|
|
11532
|
+
Yt.moduleName = "responsiveLayout", Yt.moduleExtensions = zl;
|
|
11481
11533
|
let es = Yt;
|
|
11482
|
-
const
|
|
11483
|
-
function
|
|
11484
|
-
const t =
|
|
11534
|
+
const Fl = T`<cx-checkbox></cx-checkbox>`;
|
|
11535
|
+
function Ol(n, e) {
|
|
11536
|
+
const t = j(Fl);
|
|
11485
11537
|
let i = t, s = !1;
|
|
11486
11538
|
t.setAttribute("aria-label", "Select Row"), t.size = "small";
|
|
11487
11539
|
const o = this.table;
|
|
@@ -11501,13 +11553,13 @@ function kl(n, e) {
|
|
|
11501
11553
|
}), o.modules.selectRow?.registerHeaderSelectCheckbox(t);
|
|
11502
11554
|
return i;
|
|
11503
11555
|
}
|
|
11504
|
-
const
|
|
11556
|
+
const _l = {
|
|
11505
11557
|
format: {
|
|
11506
11558
|
formatters: {
|
|
11507
|
-
rowSelection:
|
|
11559
|
+
rowSelection: Ol
|
|
11508
11560
|
}
|
|
11509
11561
|
}
|
|
11510
|
-
},
|
|
11562
|
+
}, wo = process.env.NODE_ENV === "development", Qt = class Qt extends P {
|
|
11511
11563
|
// hold header select element (cx-checkbox)
|
|
11512
11564
|
constructor(e) {
|
|
11513
11565
|
super(e), this.selecting = !1, this.lastClickedRow = !1, this.selectPrev = [], this.selectedRows = [], this.headerCheckboxElement = null, this.registerTableOption("selectableRows", "highlight"), this.registerTableOption("selectableRowsRangeMode", "drag"), this.registerTableOption("selectableRowsRollingSelection", !0), this.registerTableOption("selectableRowsPersistence", !0), this.registerTableOption(
|
|
@@ -11644,7 +11696,7 @@ const Tl = {
|
|
|
11644
11696
|
if (o) {
|
|
11645
11697
|
if (this.selectedRows.indexOf(o) === -1)
|
|
11646
11698
|
return o.getElement().classList.add("tabulator-selected"), o.modules.select || (o.modules.select = {}), o.modules.select.selected = !0, o.modules.select.checkboxEl && (o.modules.select.checkboxEl.checked = !0), this.selectedRows.push(o), this.table.options.dataTreeSelectPropagate && this.childRowSelection(o, !0), this.dispatchExternal("rowSelected", o.getComponent()), this._rowSelectionChanged(t, [o], []), o;
|
|
11647
|
-
} else !t &&
|
|
11699
|
+
} else !t && wo && console.warn(
|
|
11648
11700
|
"Selection Error - No such row found, ignoring selection:" + e
|
|
11649
11701
|
);
|
|
11650
11702
|
return !1;
|
|
@@ -11681,7 +11733,7 @@ const Tl = {
|
|
|
11681
11733
|
if (i) {
|
|
11682
11734
|
if (s = this.selectedRows.findIndex((r) => r === i), s > -1)
|
|
11683
11735
|
return o = i.getElement(), o && o.classList.remove("tabulator-selected"), i.modules.select || (i.modules.select = {}), i.modules.select.selected = !1, i.modules.select.checkboxEl && (i.modules.select.checkboxEl.checked = !1), this.selectedRows.splice(s, 1), this.table.options.dataTreeSelectPropagate && this.childRowSelection(i, !1), this.dispatchExternal("rowDeselected", i.getComponent()), this._rowSelectionChanged(t, [], [i]), i;
|
|
11684
|
-
} else !t &&
|
|
11736
|
+
} else !t && wo && console.warn(
|
|
11685
11737
|
"Deselection Error - No such row found, ignoring selection:" + e
|
|
11686
11738
|
);
|
|
11687
11739
|
return !1;
|
|
@@ -11730,9 +11782,9 @@ const Tl = {
|
|
|
11730
11782
|
this._deselectRow(s, !0);
|
|
11731
11783
|
}
|
|
11732
11784
|
};
|
|
11733
|
-
Qt.moduleName = "selectRow", Qt.moduleExtensions =
|
|
11785
|
+
Qt.moduleName = "selectRow", Qt.moduleExtensions = _l;
|
|
11734
11786
|
let ts = Qt;
|
|
11735
|
-
const
|
|
11787
|
+
const Pl = {
|
|
11736
11788
|
range: function(n) {
|
|
11737
11789
|
if (!n || n.length === 0)
|
|
11738
11790
|
return [];
|
|
@@ -11752,7 +11804,7 @@ const Ml = {
|
|
|
11752
11804
|
}
|
|
11753
11805
|
return e;
|
|
11754
11806
|
}
|
|
11755
|
-
},
|
|
11807
|
+
}, Hl = {
|
|
11756
11808
|
range: function(n) {
|
|
11757
11809
|
const e = [], t = [], i = this.table.modules.selectRange.activeRange;
|
|
11758
11810
|
let s = !1, o, r, a, l, h;
|
|
@@ -11774,16 +11826,16 @@ const Ml = {
|
|
|
11774
11826
|
}
|
|
11775
11827
|
return !1;
|
|
11776
11828
|
}
|
|
11777
|
-
},
|
|
11829
|
+
}, Al = {
|
|
11778
11830
|
range: function() {
|
|
11779
11831
|
const n = this.modules.selectRange.selectedColumns();
|
|
11780
11832
|
return this.columnManager?.rowHeader && n.unshift(this.columnManager.rowHeader), n;
|
|
11781
11833
|
}
|
|
11782
|
-
},
|
|
11834
|
+
}, Nl = process.env.NODE_ENV === "development", Vl = {
|
|
11783
11835
|
range: function() {
|
|
11784
|
-
return this.modules?.selectRange ? this.modules.selectRange.selectedRows() : (
|
|
11836
|
+
return this.modules?.selectRange ? this.modules.selectRange.selectedRows() : (Nl && console.warn("SelectRange module not loaded"), []);
|
|
11785
11837
|
}
|
|
11786
|
-
},
|
|
11838
|
+
}, Il = {
|
|
11787
11839
|
rangeExpandDown: function(n) {
|
|
11788
11840
|
this.dispatch("keybinding-nav-range", n, "down", !1, !0);
|
|
11789
11841
|
},
|
|
@@ -11820,7 +11872,7 @@ const Ml = {
|
|
|
11820
11872
|
rangeJumpUp: function(n) {
|
|
11821
11873
|
this.dispatch("keybinding-nav-range", n, "up", !0, !1);
|
|
11822
11874
|
}
|
|
11823
|
-
},
|
|
11875
|
+
}, Bl = {
|
|
11824
11876
|
rangeExpandDown: "shift + 40",
|
|
11825
11877
|
rangeExpandJumpDown: ["ctrl + shift + 40", "meta + shift + 40"],
|
|
11826
11878
|
rangeExpandJumpLeft: ["ctrl + shift + 37", "meta + shift + 37"],
|
|
@@ -11833,21 +11885,21 @@ const Ml = {
|
|
|
11833
11885
|
rangeJumpLeft: ["ctrl + 37", "meta + 37"],
|
|
11834
11886
|
rangeJumpRight: ["ctrl + 39", "meta + 39"],
|
|
11835
11887
|
rangeJumpUp: ["ctrl + 38", "meta + 38"]
|
|
11836
|
-
},
|
|
11888
|
+
}, Wl = {
|
|
11837
11889
|
clipboard: {
|
|
11838
|
-
pasteActions:
|
|
11839
|
-
pasteParsers:
|
|
11890
|
+
pasteActions: Pl,
|
|
11891
|
+
pasteParsers: Hl
|
|
11840
11892
|
},
|
|
11841
11893
|
export: {
|
|
11842
|
-
columnLookups:
|
|
11843
|
-
rowLookups:
|
|
11894
|
+
columnLookups: Al,
|
|
11895
|
+
rowLookups: Vl
|
|
11844
11896
|
},
|
|
11845
11897
|
keybindings: {
|
|
11846
|
-
actions:
|
|
11847
|
-
bindings:
|
|
11898
|
+
actions: Il,
|
|
11899
|
+
bindings: Bl
|
|
11848
11900
|
}
|
|
11849
11901
|
};
|
|
11850
|
-
class
|
|
11902
|
+
class jl {
|
|
11851
11903
|
constructor(e) {
|
|
11852
11904
|
return this._range = e, new Proxy(this, {
|
|
11853
11905
|
get: function(t, i) {
|
|
@@ -11911,8 +11963,8 @@ class Hl {
|
|
|
11911
11963
|
this._range.destroyedGuard("remove") && this._range.destroy(!0);
|
|
11912
11964
|
}
|
|
11913
11965
|
}
|
|
11914
|
-
const
|
|
11915
|
-
class
|
|
11966
|
+
const vo = process.env.NODE_ENV === "development";
|
|
11967
|
+
class Gl extends fe {
|
|
11916
11968
|
constructor(e, t, i, s) {
|
|
11917
11969
|
super(e), this.rangeManager = t, this.element = null, this.initialized = !1, this.initializing = {
|
|
11918
11970
|
end: !1,
|
|
@@ -12042,23 +12094,23 @@ class Al extends fe {
|
|
|
12042
12094
|
end: null,
|
|
12043
12095
|
start: null
|
|
12044
12096
|
};
|
|
12045
|
-
return t.length ? (i.start = t[0], i.end = t.at(-1)) :
|
|
12097
|
+
return t.length ? (i.start = t[0], i.end = t.at(-1)) : vo && console.warn("No bounds defined on range"), i;
|
|
12046
12098
|
}
|
|
12047
12099
|
getComponent() {
|
|
12048
|
-
return this.component ??= new
|
|
12100
|
+
return this.component ??= new jl(this), this.component;
|
|
12049
12101
|
}
|
|
12050
12102
|
destroy(e) {
|
|
12051
12103
|
this.destroyed = !0, this.element && this.element.remove(), e && this.rangeManager.rangeRemoved(this), this.initialized && this.dispatchExternal("rangeRemoved", this.getComponent());
|
|
12052
12104
|
}
|
|
12053
12105
|
destroyedGuard(e) {
|
|
12054
|
-
return this.destroyed &&
|
|
12106
|
+
return this.destroyed && vo && console.warn(
|
|
12055
12107
|
"You cannot call the " + e + " function on a destroyed range"
|
|
12056
12108
|
), !this.destroyed;
|
|
12057
12109
|
}
|
|
12058
12110
|
}
|
|
12059
|
-
const rt = process.env.NODE_ENV === "development",
|
|
12111
|
+
const rt = process.env.NODE_ENV === "development", $l = T`<div class="tabulator-range-cell-hover"></div>`, Pt = class Pt extends P {
|
|
12060
12112
|
constructor(e) {
|
|
12061
|
-
super(e), this.selecting = Me.Cell, this.mousedown = !1, this.ranges = [], this.overlay = null, this.rowHeader = null, this.debouncedLayoutRanges =
|
|
12113
|
+
super(e), this.selecting = Me.Cell, this.mousedown = !1, this.ranges = [], this.overlay = null, this.rowHeader = null, this.debouncedLayoutRanges = dr(() => {
|
|
12062
12114
|
this.layoutRanges();
|
|
12063
12115
|
}, 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(
|
|
12064
12116
|
"addRange",
|
|
@@ -12092,7 +12144,7 @@ const rt = process.env.NODE_ENV === "development", Nl = T`<div class="tabulator-
|
|
|
12092
12144
|
));
|
|
12093
12145
|
}
|
|
12094
12146
|
initializeTable() {
|
|
12095
|
-
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 =
|
|
12147
|
+
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 = j($l), this.overlay.appendChild(this.rangeContainer), this.overlay.appendChild(this.hoverRangeCellElement), this.overlay.appendChild(this.activeRangeCellElement), this.table.rowManager?.element && this.table.rowManager.element.addEventListener(
|
|
12096
12148
|
"keydown",
|
|
12097
12149
|
this.keyDownEvent
|
|
12098
12150
|
), 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");
|
|
@@ -12568,7 +12620,7 @@ const rt = process.env.NODE_ENV === "development", Nl = T`<div class="tabulator-
|
|
|
12568
12620
|
const s = this.ranges.shift();
|
|
12569
12621
|
s && s.destroy(!1);
|
|
12570
12622
|
}
|
|
12571
|
-
const i = new
|
|
12623
|
+
const i = new Gl(this.table, this, e, t);
|
|
12572
12624
|
return this.activeRange = i, this.ranges.push(i), this.rangeContainer && i.element && this.rangeContainer.appendChild(i.element), i;
|
|
12573
12625
|
}
|
|
12574
12626
|
resetRanges() {
|
|
@@ -12601,9 +12653,9 @@ const rt = process.env.NODE_ENV === "development", Nl = T`<div class="tabulator-
|
|
|
12601
12653
|
return e == null || e === "";
|
|
12602
12654
|
}
|
|
12603
12655
|
};
|
|
12604
|
-
Pt.moduleName = "selectRange", Pt.moduleInitOrder = 1, Pt.moduleExtensions =
|
|
12656
|
+
Pt.moduleName = "selectRange", Pt.moduleInitOrder = 1, Pt.moduleExtensions = Wl;
|
|
12605
12657
|
let is = Pt;
|
|
12606
|
-
function
|
|
12658
|
+
function Ul(n, e, t, i, s, o, r) {
|
|
12607
12659
|
const a = r.alignEmptyValues;
|
|
12608
12660
|
let l = 0;
|
|
12609
12661
|
if (!n && n !== 0)
|
|
@@ -12641,7 +12693,7 @@ function Vl(n, e, t, i, s, o, r) {
|
|
|
12641
12693
|
}
|
|
12642
12694
|
return (a === "top" && o === "desc" || a === "bottom" && o === "asc") && (l *= -1), l;
|
|
12643
12695
|
}
|
|
12644
|
-
function
|
|
12696
|
+
function Kl(n, e, t, i, s, o, r) {
|
|
12645
12697
|
const a = r.type || "length", l = r.alignEmptyValues;
|
|
12646
12698
|
let h = 0;
|
|
12647
12699
|
const c = this.table;
|
|
@@ -12689,10 +12741,10 @@ function Il(n, e, t, i, s, o, r) {
|
|
|
12689
12741
|
return a === "string" ? String(p(n)).toLowerCase().localeCompare(String(p(e)).toLowerCase()) : p(e) - p(n);
|
|
12690
12742
|
return (l === "top" && o === "desc" || l === "bottom" && o === "asc") && (h *= -1), h;
|
|
12691
12743
|
}
|
|
12692
|
-
function
|
|
12744
|
+
function ql(n, e, t, i, s, o, r) {
|
|
12693
12745
|
return (n === !0 || n === "true" || n === "True" || n === 1 ? 1 : 0) - (e === !0 || e === "true" || e === "True" || e === 1 ? 1 : 0);
|
|
12694
12746
|
}
|
|
12695
|
-
const
|
|
12747
|
+
const Xl = process.env.NODE_ENV === "development";
|
|
12696
12748
|
function xs(n, e, t, i, s, o, r) {
|
|
12697
12749
|
const { alignEmptyValues: a, format: l = "dd/MM/yyyy HH:mm:ss" } = r || {}, h = this.table.dependencyRegistry.lookup(
|
|
12698
12750
|
["luxon", "DateTime"],
|
|
@@ -12710,17 +12762,17 @@ function xs(n, e, t, i, s, o, r) {
|
|
|
12710
12762
|
}
|
|
12711
12763
|
return (a === "top" && o === "desc" || a === "bottom" && o === "asc") && (c *= -1), c;
|
|
12712
12764
|
} else
|
|
12713
|
-
return
|
|
12765
|
+
return Xl && console.error("Sort Error - 'datetime' sorter is dependent on luxon.js"), 0;
|
|
12714
12766
|
}
|
|
12715
|
-
function
|
|
12767
|
+
function Jl(n, e, t, i, s, o, r) {
|
|
12716
12768
|
const a = r ?? {};
|
|
12717
12769
|
return a.format || (a.format = "dd/MM/yyyy"), xs.call(this, n, e, t, i, s, o, a);
|
|
12718
12770
|
}
|
|
12719
|
-
function
|
|
12771
|
+
function Yl(n, e, t, i, s, o, r) {
|
|
12720
12772
|
const a = (c) => c === null || typeof c > "u" || c === "", l = a(n) ? 0 : 1, h = a(e) ? 0 : 1;
|
|
12721
12773
|
return l - h;
|
|
12722
12774
|
}
|
|
12723
|
-
function
|
|
12775
|
+
function Ql(n, e, t, i, s, o, r) {
|
|
12724
12776
|
const a = r ?? {}, l = a.alignEmptyValues, h = a.decimalSeparator, c = a.thousandSeparator;
|
|
12725
12777
|
let d = 0, p = String(n), u = String(e);
|
|
12726
12778
|
c && (p = p.split(c).join(""), u = u.split(c).join("")), h && (p = p.split(h).join("."), u = u.split(h).join("."));
|
|
@@ -12733,7 +12785,7 @@ function $l(n, e, t, i, s, o, r) {
|
|
|
12733
12785
|
return f - w;
|
|
12734
12786
|
return (l === "top" && o === "desc" || l === "bottom" && o === "asc") && (d *= -1), d;
|
|
12735
12787
|
}
|
|
12736
|
-
function
|
|
12788
|
+
function Zl(n, e, t, i, s, o, r = {}) {
|
|
12737
12789
|
const a = r.alignEmptyValues;
|
|
12738
12790
|
let l = 0, h;
|
|
12739
12791
|
const c = (d) => d == null || d === "";
|
|
@@ -12754,21 +12806,21 @@ function Ul(n, e, t, i, s, o, r = {}) {
|
|
|
12754
12806
|
}
|
|
12755
12807
|
return (a === "top" && o === "desc" || a === "bottom" && o === "asc") && (l *= -1), l;
|
|
12756
12808
|
}
|
|
12757
|
-
function
|
|
12809
|
+
function eh(n, e, t, i, s, o, r) {
|
|
12758
12810
|
const a = r ?? {}, l = a.format ? a : { ...a, format: "HH:mm" };
|
|
12759
12811
|
return xs.call(this, n, e, t, i, s, o, l);
|
|
12760
12812
|
}
|
|
12761
|
-
const
|
|
12762
|
-
alphanum:
|
|
12763
|
-
array:
|
|
12764
|
-
boolean:
|
|
12765
|
-
date:
|
|
12813
|
+
const th = {
|
|
12814
|
+
alphanum: Ul,
|
|
12815
|
+
array: Kl,
|
|
12816
|
+
boolean: ql,
|
|
12817
|
+
date: Jl,
|
|
12766
12818
|
datetime: xs,
|
|
12767
|
-
exists:
|
|
12768
|
-
number:
|
|
12769
|
-
string:
|
|
12770
|
-
time:
|
|
12771
|
-
},
|
|
12819
|
+
exists: Yl,
|
|
12820
|
+
number: Ql,
|
|
12821
|
+
string: Zl,
|
|
12822
|
+
time: eh
|
|
12823
|
+
}, yo = process.env.NODE_ENV === "development", ih = {
|
|
12772
12824
|
asc: "ascending",
|
|
12773
12825
|
desc: "descending",
|
|
12774
12826
|
none: "none"
|
|
@@ -12807,7 +12859,7 @@ const ql = {
|
|
|
12807
12859
|
let t = !1, i, s;
|
|
12808
12860
|
switch (typeof e.definition.sorter) {
|
|
12809
12861
|
case "string":
|
|
12810
|
-
e.definition.sorter && ht.sorters[e.definition.sorter] ? t = ht.sorters[e.definition.sorter] :
|
|
12862
|
+
e.definition.sorter && ht.sorters[e.definition.sorter] ? t = ht.sorters[e.definition.sorter] : yo && console.warn(
|
|
12811
12863
|
"Sort Error - No such sorter found: ",
|
|
12812
12864
|
e.definition.sorter
|
|
12813
12865
|
);
|
|
@@ -12911,7 +12963,7 @@ const ql = {
|
|
|
12911
12963
|
column: o,
|
|
12912
12964
|
dir: a
|
|
12913
12965
|
}), this.changed = !0;
|
|
12914
|
-
} else
|
|
12966
|
+
} else yo && console.warn(
|
|
12915
12967
|
"Sort Warning - Sort field does not exist and is being ignored: ",
|
|
12916
12968
|
s.column
|
|
12917
12969
|
);
|
|
@@ -12964,7 +13016,7 @@ const ql = {
|
|
|
12964
13016
|
}
|
|
12965
13017
|
// set the column header sort direction
|
|
12966
13018
|
setColumnHeader(e, t) {
|
|
12967
|
-
e.modules.sort.dir = t, e.getElement().setAttribute("aria-sort",
|
|
13019
|
+
e.modules.sort.dir = t, e.getElement().setAttribute("aria-sort", ih[t]), this.setColumnHeaderSortIcon(e, t);
|
|
12968
13020
|
}
|
|
12969
13021
|
setColumnHeaderSortIcon(e, t) {
|
|
12970
13022
|
const i = e.modules.sort.element;
|
|
@@ -13020,9 +13072,9 @@ const ql = {
|
|
|
13020
13072
|
return 0;
|
|
13021
13073
|
}
|
|
13022
13074
|
};
|
|
13023
|
-
ht.moduleName = "sort", ht.sorters =
|
|
13075
|
+
ht.moduleName = "sort", ht.sorters = th;
|
|
13024
13076
|
let ss = ht;
|
|
13025
|
-
class
|
|
13077
|
+
class sh {
|
|
13026
13078
|
constructor(e, t) {
|
|
13027
13079
|
this.columnCount = e, this.rowCount = t, this.columnString = [], this.columns = [], this.rows = [];
|
|
13028
13080
|
}
|
|
@@ -13060,7 +13112,7 @@ class Jl {
|
|
|
13060
13112
|
this.columnCount = e;
|
|
13061
13113
|
}
|
|
13062
13114
|
}
|
|
13063
|
-
class
|
|
13115
|
+
class Uo {
|
|
13064
13116
|
constructor(e) {
|
|
13065
13117
|
return this._sheet = e, new Proxy(this, {
|
|
13066
13118
|
get: function(t, i) {
|
|
@@ -13109,9 +13161,9 @@ class $o {
|
|
|
13109
13161
|
return this._sheet.setColumns(e);
|
|
13110
13162
|
}
|
|
13111
13163
|
}
|
|
13112
|
-
class
|
|
13164
|
+
class Co extends fe {
|
|
13113
13165
|
constructor(e, t) {
|
|
13114
|
-
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
|
|
13166
|
+
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 sh(this.columnCount, this.rowCount), this.defaultColumnDefinition = {
|
|
13115
13167
|
headerHozAlign: "center",
|
|
13116
13168
|
headerSort: !1,
|
|
13117
13169
|
title: "",
|
|
@@ -13166,7 +13218,7 @@ class yo extends fe {
|
|
|
13166
13218
|
}
|
|
13167
13219
|
// #region Helper Functions
|
|
13168
13220
|
getComponent() {
|
|
13169
|
-
return new
|
|
13221
|
+
return new Uo(this);
|
|
13170
13222
|
}
|
|
13171
13223
|
getDefinition() {
|
|
13172
13224
|
return {
|
|
@@ -13303,7 +13355,7 @@ Data: `,
|
|
|
13303
13355
|
columns: this.options("spreadsheetColumns") || 50,
|
|
13304
13356
|
rows: this.options("spreadsheetRows") || 50,
|
|
13305
13357
|
...e
|
|
13306
|
-
}, i = new
|
|
13358
|
+
}, i = new Co(this, t);
|
|
13307
13359
|
return this.sheets.push(i), this.element && i.element && this.element.appendChild(i.element), i;
|
|
13308
13360
|
}
|
|
13309
13361
|
removeSheet(e) {
|
|
@@ -13312,7 +13364,7 @@ Data: `,
|
|
|
13312
13364
|
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");
|
|
13313
13365
|
}
|
|
13314
13366
|
lookupSheet(e) {
|
|
13315
|
-
return e ? e instanceof
|
|
13367
|
+
return e ? e instanceof Co ? e : e instanceof Uo ? e._sheet : this.sheets.find((t) => t.key === e) ?? null : this.activeSheet;
|
|
13316
13368
|
}
|
|
13317
13369
|
/**
|
|
13318
13370
|
* Public Functions
|
|
@@ -13426,7 +13478,7 @@ const Ws = class Ws extends P {
|
|
|
13426
13478
|
};
|
|
13427
13479
|
Ws.moduleName = "tooltip";
|
|
13428
13480
|
let rs = Ws;
|
|
13429
|
-
const
|
|
13481
|
+
const oh = {
|
|
13430
13482
|
// must be alphanumeric
|
|
13431
13483
|
alphanumeric: function(n, e, t) {
|
|
13432
13484
|
return e === "" || e === null || typeof e > "u" ? !0 : new RegExp(/^[a-z0-9]+$/i).test(e);
|
|
@@ -13506,7 +13558,7 @@ const Yl = {
|
|
|
13506
13558
|
a !== s && e === o.getFieldValue(a) && (i = !1);
|
|
13507
13559
|
}), i;
|
|
13508
13560
|
}
|
|
13509
|
-
},
|
|
13561
|
+
}, rh = process.env.NODE_ENV === "development", Ht = class Ht extends P {
|
|
13510
13562
|
constructor(e) {
|
|
13511
13563
|
super(e), this.invalidCells = [], this.registerTableOption("validationMode", "blocking"), this.registerColumnOption("validator"), this.registerTableFunction(
|
|
13512
13564
|
"getInvalidCells",
|
|
@@ -13637,7 +13689,7 @@ const Yl = {
|
|
|
13637
13689
|
func: i,
|
|
13638
13690
|
params: t,
|
|
13639
13691
|
type: typeof e == "function" ? "function" : e
|
|
13640
|
-
} : (
|
|
13692
|
+
} : (rh && console.warn(
|
|
13641
13693
|
"Validator Setup Error - No matching validator found:",
|
|
13642
13694
|
e
|
|
13643
13695
|
), !1);
|
|
@@ -13677,7 +13729,7 @@ const Yl = {
|
|
|
13677
13729
|
}
|
|
13678
13730
|
}
|
|
13679
13731
|
};
|
|
13680
|
-
Ht.moduleName = "validate", Ht.validators =
|
|
13732
|
+
Ht.moduleName = "validate", Ht.validators = oh;
|
|
13681
13733
|
let ns = Ht;
|
|
13682
13734
|
const gi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
13683
13735
|
__proto__: null,
|
|
@@ -13722,7 +13774,7 @@ const gi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
13722
13774
|
TooltipModule: rs,
|
|
13723
13775
|
ValidateModule: ns
|
|
13724
13776
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
13725
|
-
class
|
|
13777
|
+
class nh extends ai {
|
|
13726
13778
|
constructor(e) {
|
|
13727
13779
|
super(e);
|
|
13728
13780
|
}
|
|
@@ -13742,7 +13794,7 @@ class Zl extends ai {
|
|
|
13742
13794
|
}
|
|
13743
13795
|
}
|
|
13744
13796
|
const mi = process.env.NODE_ENV === "development";
|
|
13745
|
-
class
|
|
13797
|
+
class ah extends ai {
|
|
13746
13798
|
constructor(e) {
|
|
13747
13799
|
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 = [];
|
|
13748
13800
|
}
|
|
@@ -14041,8 +14093,8 @@ class eh extends ai {
|
|
|
14041
14093
|
}
|
|
14042
14094
|
}
|
|
14043
14095
|
}
|
|
14044
|
-
const
|
|
14045
|
-
class
|
|
14096
|
+
const lh = process.env.NODE_ENV === "development";
|
|
14097
|
+
class Ko {
|
|
14046
14098
|
constructor(e, t, i = {}) {
|
|
14047
14099
|
this.registeredDefaults = {}, this.table = e, this.msgType = t, this.registeredDefaults = { ...i };
|
|
14048
14100
|
}
|
|
@@ -14053,19 +14105,19 @@ class Uo {
|
|
|
14053
14105
|
const i = { ...this.registeredDefaults }, s = this.table.options.debugInvalidOptions || t.debugInvalidOptions === !0;
|
|
14054
14106
|
Object.assign(i, e);
|
|
14055
14107
|
for (const o in t)
|
|
14056
|
-
Object.hasOwn(t, o) && (Object.hasOwn(i, o) || (
|
|
14108
|
+
Object.hasOwn(t, o) && (Object.hasOwn(i, o) || (lh && s && console.warn("Invalid " + this.msgType + " option:", o), i[o] = t[o]));
|
|
14057
14109
|
for (const o in i)
|
|
14058
14110
|
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]);
|
|
14059
14111
|
return i;
|
|
14060
14112
|
}
|
|
14061
14113
|
}
|
|
14062
|
-
const
|
|
14063
|
-
class
|
|
14114
|
+
const Eo = process.env.NODE_ENV === "development";
|
|
14115
|
+
class hh extends fe {
|
|
14064
14116
|
constructor(e) {
|
|
14065
|
-
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
|
|
14117
|
+
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 Ko(
|
|
14066
14118
|
this.table,
|
|
14067
14119
|
"column definition",
|
|
14068
|
-
|
|
14120
|
+
Ao
|
|
14069
14121
|
), this.redrawBlock = !1, this.redrawBlockUpdate = null, this.renderer = null;
|
|
14070
14122
|
}
|
|
14071
14123
|
// //////////// Setup Functions /////////////////
|
|
@@ -14088,10 +14140,10 @@ class ih extends fe {
|
|
|
14088
14140
|
initializeRenderer() {
|
|
14089
14141
|
let e;
|
|
14090
14142
|
const t = {
|
|
14091
|
-
basic:
|
|
14092
|
-
virtual:
|
|
14143
|
+
basic: nh,
|
|
14144
|
+
virtual: ah
|
|
14093
14145
|
};
|
|
14094
|
-
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()) :
|
|
14146
|
+
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()) : Eo && console.error(
|
|
14095
14147
|
"Unable to find matching renderer:",
|
|
14096
14148
|
this.table.options.renderHorizontal
|
|
14097
14149
|
);
|
|
@@ -14368,7 +14420,7 @@ class ih extends fe {
|
|
|
14368
14420
|
return;
|
|
14369
14421
|
}
|
|
14370
14422
|
if (e.hidden)
|
|
14371
|
-
|
|
14423
|
+
Eo && console.warn("Scroll Error - Column not visible"), o("Scroll Error - Column not visible");
|
|
14372
14424
|
else {
|
|
14373
14425
|
let r = 0;
|
|
14374
14426
|
const a = e.getLeftOffset();
|
|
@@ -14439,7 +14491,7 @@ class ih extends fe {
|
|
|
14439
14491
|
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();
|
|
14440
14492
|
}
|
|
14441
14493
|
}
|
|
14442
|
-
const
|
|
14494
|
+
const ch = {
|
|
14443
14495
|
debugEventsExternal: !1,
|
|
14444
14496
|
// flag to console log events
|
|
14445
14497
|
debugEventsInternal: !1,
|
|
@@ -14499,7 +14551,7 @@ const sh = {
|
|
|
14499
14551
|
dataReceiveParams: {}
|
|
14500
14552
|
// dependencies: {},
|
|
14501
14553
|
};
|
|
14502
|
-
class
|
|
14554
|
+
class dh extends fe {
|
|
14503
14555
|
constructor(e) {
|
|
14504
14556
|
super(e), this.active = !1, this.element = this.createElement(), this.containerElement = this.createContainerElement(), this.external = !1;
|
|
14505
14557
|
}
|
|
@@ -14557,7 +14609,7 @@ class oh extends fe {
|
|
|
14557
14609
|
this.dispatch("footer-redraw");
|
|
14558
14610
|
}
|
|
14559
14611
|
}
|
|
14560
|
-
class
|
|
14612
|
+
class uh extends ai {
|
|
14561
14613
|
constructor(e) {
|
|
14562
14614
|
super(e), this.scrollTop = 0, this.scrollLeft = 0, this.verticalFillMode = "fill";
|
|
14563
14615
|
}
|
|
@@ -14606,7 +14658,7 @@ class rh extends ai {
|
|
|
14606
14658
|
return this.rows();
|
|
14607
14659
|
}
|
|
14608
14660
|
}
|
|
14609
|
-
class
|
|
14661
|
+
class ph extends ai {
|
|
14610
14662
|
// total scroll height of virtual DOM
|
|
14611
14663
|
constructor(e) {
|
|
14612
14664
|
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";
|
|
@@ -14852,8 +14904,8 @@ class nh extends ai {
|
|
|
14852
14904
|
t.setCellHeight();
|
|
14853
14905
|
}
|
|
14854
14906
|
}
|
|
14855
|
-
const nt = process.env.NODE_ENV === "development",
|
|
14856
|
-
class
|
|
14907
|
+
const nt = process.env.NODE_ENV === "development", fh = T`<div class="tabulator-tableholder-wrapper"></div>`;
|
|
14908
|
+
class gh extends fe {
|
|
14857
14909
|
/**
|
|
14858
14910
|
* True when table has an explicit height (--table-height is set to a non-auto value (e.g. 100%, 500px));
|
|
14859
14911
|
* false when height is variable (--table-height is "auto" or unset).
|
|
@@ -14867,7 +14919,7 @@ class lh extends fe {
|
|
|
14867
14919
|
}
|
|
14868
14920
|
// ////////////// Setup Functions /////////////////
|
|
14869
14921
|
createWrapperElement() {
|
|
14870
|
-
return
|
|
14922
|
+
return j(fh);
|
|
14871
14923
|
}
|
|
14872
14924
|
createHolderElement() {
|
|
14873
14925
|
const e = document.createElement("div");
|
|
@@ -15298,8 +15350,8 @@ Data: `,
|
|
|
15298
15350
|
initializeRenderer() {
|
|
15299
15351
|
let e;
|
|
15300
15352
|
const t = {
|
|
15301
|
-
basic:
|
|
15302
|
-
virtual:
|
|
15353
|
+
basic: uh,
|
|
15354
|
+
virtual: ph
|
|
15303
15355
|
};
|
|
15304
15356
|
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(
|
|
15305
15357
|
"Unable to find matching renderer:",
|
|
@@ -15429,7 +15481,7 @@ Data: `,
|
|
|
15429
15481
|
this.element.dispatchEvent(new Event("scroll"));
|
|
15430
15482
|
}
|
|
15431
15483
|
}
|
|
15432
|
-
class
|
|
15484
|
+
class mh extends fe {
|
|
15433
15485
|
constructor(e) {
|
|
15434
15486
|
super(e), this.type = null, this.element = this._createAlertElement(), this.msgElement = this._createMsgElement(), this.element.appendChild(this.msgElement);
|
|
15435
15487
|
}
|
|
@@ -15457,13 +15509,13 @@ class hh extends fe {
|
|
|
15457
15509
|
this.dispatch("alert-hide", this.type), this.element.parentNode && this.element.parentNode.removeChild(this.element), this.element.classList.remove(this._typeClass()), this.msgElement.classList.remove(this._typeClass()), this.type = null;
|
|
15458
15510
|
}
|
|
15459
15511
|
}
|
|
15460
|
-
const
|
|
15461
|
-
class
|
|
15512
|
+
const xo = process.env.NODE_ENV === "development";
|
|
15513
|
+
class bh {
|
|
15462
15514
|
constructor(e) {
|
|
15463
15515
|
this.bindings = {}, this.table = e;
|
|
15464
15516
|
}
|
|
15465
15517
|
bind(e, t, i) {
|
|
15466
|
-
this.bindings[e] || (this.bindings[e] = {}), this.bindings[e][t] ?
|
|
15518
|
+
this.bindings[e] || (this.bindings[e] = {}), this.bindings[e][t] ? xo && console.warn(
|
|
15467
15519
|
"Unable to bind component handler, a matching function name is already bound",
|
|
15468
15520
|
e,
|
|
15469
15521
|
t,
|
|
@@ -15474,7 +15526,7 @@ class ch {
|
|
|
15474
15526
|
if (typeof i == "string") {
|
|
15475
15527
|
if (this.bindings[e]?.[i] && typeof this.bindings[e][i].bind == "function")
|
|
15476
15528
|
return this.bindings[e][i].bind(null, t);
|
|
15477
|
-
|
|
15529
|
+
xo && i !== "then" && !i.startsWith("_") && this.table.options.debugInvalidComponentFuncs && console.error(
|
|
15478
15530
|
"The " + e + " component does not have a " + i + " function, have you checked that you have the correct Tabulator module installed?"
|
|
15479
15531
|
);
|
|
15480
15532
|
}
|
|
@@ -15588,7 +15640,7 @@ const Gt = process.env.NODE_ENV === "development", Zt = class Zt extends fe {
|
|
|
15588
15640
|
alertLoader() {
|
|
15589
15641
|
if ((this.pendingPromise || this.loading || this.externalLoading) && this.table.alertManager?.element.parentNode)
|
|
15590
15642
|
return;
|
|
15591
|
-
const e = typeof this.table.options.dataLoader == "function" ? this.table.options.dataLoader() : this.table.options.dataLoader, t = T`<cx-spinner aria-hidden="true"></cx-spinner>`, i =
|
|
15643
|
+
const e = typeof this.table.options.dataLoader == "function" ? this.table.options.dataLoader() : this.table.options.dataLoader, t = T`<cx-spinner aria-hidden="true"></cx-spinner>`, i = j(t);
|
|
15592
15644
|
e && this.table.alertManager?.alert(
|
|
15593
15645
|
this.table.options.dataLoaderLoading || i,
|
|
15594
15646
|
"loading"
|
|
@@ -15606,8 +15658,8 @@ const Gt = process.env.NODE_ENV === "development", Zt = class Zt extends fe {
|
|
|
15606
15658
|
};
|
|
15607
15659
|
Zt.DEBOUNCE_DELAY = 500;
|
|
15608
15660
|
let as = Zt;
|
|
15609
|
-
const
|
|
15610
|
-
class
|
|
15661
|
+
const wh = process.env.NODE_ENV === "development";
|
|
15662
|
+
class vh extends fe {
|
|
15611
15663
|
constructor(e) {
|
|
15612
15664
|
super(e), this.deps = {}, this.props = {};
|
|
15613
15665
|
}
|
|
@@ -15642,20 +15694,20 @@ class uh extends fe {
|
|
|
15642
15694
|
return this.deps[e] ? i = this.deps[e] : globalThis[e] ? (this.deps[e] = globalThis[e], i = this.deps[e]) : t || this.error(e), i;
|
|
15643
15695
|
}
|
|
15644
15696
|
error(e) {
|
|
15645
|
-
|
|
15697
|
+
wh && console.error(
|
|
15646
15698
|
"Unable to find dependency",
|
|
15647
15699
|
e,
|
|
15648
15700
|
"Please check documentation and ensure you have imported the required library into your project"
|
|
15649
15701
|
);
|
|
15650
15702
|
}
|
|
15651
15703
|
}
|
|
15652
|
-
const
|
|
15653
|
-
class
|
|
15704
|
+
const yh = process.env.NODE_ENV === "development";
|
|
15705
|
+
class Ch extends fe {
|
|
15654
15706
|
constructor(e) {
|
|
15655
15707
|
super(e);
|
|
15656
15708
|
}
|
|
15657
15709
|
_warnUser(...e) {
|
|
15658
|
-
this.options("debugDeprecation") &&
|
|
15710
|
+
this.options("debugDeprecation") && yh && console.warn(...e);
|
|
15659
15711
|
}
|
|
15660
15712
|
check(e, t, i) {
|
|
15661
15713
|
if (this.options(e) === void 0 || this.options(e) === null)
|
|
@@ -15688,7 +15740,7 @@ class fh extends fe {
|
|
|
15688
15740
|
}
|
|
15689
15741
|
}
|
|
15690
15742
|
const bi = process.env.NODE_ENV === "development";
|
|
15691
|
-
class
|
|
15743
|
+
class Eh {
|
|
15692
15744
|
constructor(e, t, i) {
|
|
15693
15745
|
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;
|
|
15694
15746
|
}
|
|
@@ -15741,8 +15793,8 @@ class gh {
|
|
|
15741
15793
|
return bi && (this.debug === !0 || Array.isArray(this.debug) && this.debug.includes(e)) && console.log(i, ...t), this._dispatch(e, ...t);
|
|
15742
15794
|
}
|
|
15743
15795
|
}
|
|
15744
|
-
const
|
|
15745
|
-
class
|
|
15796
|
+
const xh = process.env.NODE_ENV === "development";
|
|
15797
|
+
class Rh extends fe {
|
|
15746
15798
|
constructor(e) {
|
|
15747
15799
|
super(e), this.el = null, this.abortClasses = ["tabulator-headers", "tabulator-table"], this.previousTargets = {}, this.listeners = [
|
|
15748
15800
|
"click",
|
|
@@ -15893,7 +15945,7 @@ class bh extends fe {
|
|
|
15893
15945
|
s.components.includes("column") && (h = this.table.columnManager?.findColumn(c));
|
|
15894
15946
|
break;
|
|
15895
15947
|
case "cell":
|
|
15896
|
-
s.components.includes("cell") && (o.row instanceof pe ? h = o.row.findCell(c) :
|
|
15948
|
+
s.components.includes("cell") && (o.row instanceof pe ? h = o.row.findCell(c) : xh && t.row && console.warn(
|
|
15897
15949
|
"Event Target Lookup Error - The row this cell is attached to cannot be found, has the table been reinitialized without being destroyed first?"
|
|
15898
15950
|
));
|
|
15899
15951
|
break;
|
|
@@ -15924,7 +15976,7 @@ class bh extends fe {
|
|
|
15924
15976
|
}
|
|
15925
15977
|
}
|
|
15926
15978
|
const zt = process.env.NODE_ENV === "development";
|
|
15927
|
-
class
|
|
15979
|
+
class Sh {
|
|
15928
15980
|
constructor(e) {
|
|
15929
15981
|
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;
|
|
15930
15982
|
}
|
|
@@ -15997,7 +16049,7 @@ class wh {
|
|
|
15997
16049
|
return zt && (this.debug === !0 || Array.isArray(this.debug) && this.debug.includes(e)) && console.log(i, t), this._confirm(e, t);
|
|
15998
16050
|
}
|
|
15999
16051
|
}
|
|
16000
|
-
function
|
|
16052
|
+
function kh(n) {
|
|
16001
16053
|
let e = this.table.element?.clientWidth || 0;
|
|
16002
16054
|
const t = this.table.columnManager?.contentsElement;
|
|
16003
16055
|
if (t) {
|
|
@@ -16061,15 +16113,15 @@ function vh(n) {
|
|
|
16061
16113
|
w.column.setWidth(w.width);
|
|
16062
16114
|
});
|
|
16063
16115
|
}
|
|
16064
|
-
async function
|
|
16116
|
+
async function Th(n, e) {
|
|
16065
16117
|
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();
|
|
16066
16118
|
}
|
|
16067
|
-
async function
|
|
16119
|
+
async function Ro(n) {
|
|
16068
16120
|
for (const e of n)
|
|
16069
16121
|
await e.reinitializeWidth();
|
|
16070
16122
|
this.table.options.responsiveLayout && this.table.modExists("responsiveLayout", !0) && this.table.modules.responsiveLayout.update();
|
|
16071
16123
|
}
|
|
16072
|
-
async function
|
|
16124
|
+
async function Mh(n) {
|
|
16073
16125
|
let e = 0, t = this.table.element?.clientWidth || 0;
|
|
16074
16126
|
const i = this.table.columnManager?.contentsElement;
|
|
16075
16127
|
if (i) {
|
|
@@ -16082,20 +16134,20 @@ async function Ch(n) {
|
|
|
16082
16134
|
a.widthFixed || await a.reinitializeWidth(), (this.table.options.responsiveLayout ? a.modules.responsive.visible : !a.hidden) && (r = a), a.hidden || (e += a.getWidth());
|
|
16083
16135
|
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();
|
|
16084
16136
|
}
|
|
16085
|
-
const
|
|
16086
|
-
fitColumns:
|
|
16087
|
-
fitData:
|
|
16088
|
-
fitDataFill:
|
|
16089
|
-
fitDataStretch:
|
|
16090
|
-
fitDataTable:
|
|
16091
|
-
},
|
|
16137
|
+
const Dh = {
|
|
16138
|
+
fitColumns: kh,
|
|
16139
|
+
fitData: Th,
|
|
16140
|
+
fitDataFill: Ro,
|
|
16141
|
+
fitDataStretch: Mh,
|
|
16142
|
+
fitDataTable: Ro
|
|
16143
|
+
}, Lh = process.env.NODE_ENV === "development", ct = class ct extends P {
|
|
16092
16144
|
constructor(e) {
|
|
16093
16145
|
super(e), this.mode = null, this.registerTableOption("layout", "fitData"), this.registerTableOption("layoutColumnsOnNewData", !1), this.registerColumnOption("widthGrow"), this.registerColumnOption("widthShrink");
|
|
16094
16146
|
}
|
|
16095
16147
|
// initialize layout system
|
|
16096
16148
|
initialize() {
|
|
16097
16149
|
const e = this.table.options.layout;
|
|
16098
|
-
e && ct.modes[e] ? this.mode = e : (
|
|
16150
|
+
e && ct.modes[e] ? this.mode = e : (Lh && console.warn(
|
|
16099
16151
|
"Layout Error - invalid mode set, defaulting to 'fitData' : " + e
|
|
16100
16152
|
), this.mode = "fitData"), this.table.element.setAttribute("tabulator-layout", this.mode), this.subscribe("column-init", this.initializeColumn.bind(this));
|
|
16101
16153
|
}
|
|
@@ -16119,9 +16171,9 @@ const Eh = {
|
|
|
16119
16171
|
), t && this.table.rowManager?.normalizeHeight(!0), this.dispatch("layout-refreshed");
|
|
16120
16172
|
}
|
|
16121
16173
|
};
|
|
16122
|
-
ct.moduleName = "layout", ct.modes =
|
|
16174
|
+
ct.moduleName = "layout", ct.modes = Dh;
|
|
16123
16175
|
let ls = ct;
|
|
16124
|
-
const
|
|
16176
|
+
const zh = {
|
|
16125
16177
|
default: {
|
|
16126
16178
|
columns: {},
|
|
16127
16179
|
data: {
|
|
@@ -16157,7 +16209,7 @@ const Rh = {
|
|
|
16157
16209
|
prev_title: "Prev Page"
|
|
16158
16210
|
}
|
|
16159
16211
|
}
|
|
16160
|
-
},
|
|
16212
|
+
}, So = process.env.NODE_ENV === "development", At = class At extends P {
|
|
16161
16213
|
constructor(e) {
|
|
16162
16214
|
super(e), this.locale = "default", this.lang = !1, this.bindings = {}, this.langList = {}, this.registerTableOption("locale", !1), this.registerTableOption("langs", {});
|
|
16163
16215
|
}
|
|
@@ -16191,11 +16243,11 @@ const Rh = {
|
|
|
16191
16243
|
};
|
|
16192
16244
|
if (t && !this.langList[t]) {
|
|
16193
16245
|
const s = t.split("-")[0];
|
|
16194
|
-
this.langList[s] ? (
|
|
16246
|
+
this.langList[s] ? (So && console.warn(
|
|
16195
16247
|
"Localization Error - Exact matching locale not found, using closest match: ",
|
|
16196
16248
|
t,
|
|
16197
16249
|
s
|
|
16198
|
-
), t = s) : (
|
|
16250
|
+
), t = s) : (So && console.warn(
|
|
16199
16251
|
"Localization Error - Matching locale not found, using default: ",
|
|
16200
16252
|
t
|
|
16201
16253
|
), t = "default");
|
|
@@ -16237,9 +16289,9 @@ const Rh = {
|
|
|
16237
16289
|
});
|
|
16238
16290
|
}
|
|
16239
16291
|
};
|
|
16240
|
-
At.moduleName = "localize", At.langs =
|
|
16292
|
+
At.moduleName = "localize", At.langs = zh;
|
|
16241
16293
|
let hs = At;
|
|
16242
|
-
const
|
|
16294
|
+
const ko = process.env.NODE_ENV === "development", js = class js extends P {
|
|
16243
16295
|
constructor(e) {
|
|
16244
16296
|
super(e);
|
|
16245
16297
|
}
|
|
@@ -16256,7 +16308,7 @@ const So = process.env.NODE_ENV === "development", js = class js extends P {
|
|
|
16256
16308
|
const o = this.getConnections(e);
|
|
16257
16309
|
o.forEach((r) => {
|
|
16258
16310
|
r.tableComms(this.table.element, t, i, s);
|
|
16259
|
-
}), !o.length && e &&
|
|
16311
|
+
}), !o.length && e && ko && console.warn(
|
|
16260
16312
|
"Table Connection Error - No tables matching selector found",
|
|
16261
16313
|
e
|
|
16262
16314
|
);
|
|
@@ -16264,17 +16316,17 @@ const So = process.env.NODE_ENV === "development", js = class js extends P {
|
|
|
16264
16316
|
receive(e, t, i, s) {
|
|
16265
16317
|
if (this.table.modExists(t))
|
|
16266
16318
|
return this.table.modules[t]?.commsReceived?.(e, i, s);
|
|
16267
|
-
|
|
16319
|
+
ko && console.warn("Inter-table Comms Error - no such module:", t);
|
|
16268
16320
|
}
|
|
16269
16321
|
};
|
|
16270
16322
|
js.moduleName = "comms";
|
|
16271
16323
|
let cs = js;
|
|
16272
|
-
const
|
|
16324
|
+
const Fh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16273
16325
|
__proto__: null,
|
|
16274
16326
|
CommsModule: cs,
|
|
16275
16327
|
LayoutModule: ls,
|
|
16276
16328
|
LocalizeModule: hs
|
|
16277
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
16329
|
+
}, Symbol.toStringTag, { value: "Module" })), Oh = process.env.NODE_ENV === "development", Le = class Le {
|
|
16278
16330
|
static findTable(e) {
|
|
16279
16331
|
const t = Le.registry.lookupTable(e, !0);
|
|
16280
16332
|
return Array.isArray(t) && !t.length ? !1 : t;
|
|
@@ -16295,7 +16347,7 @@ Le.registry = {
|
|
|
16295
16347
|
} 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) => {
|
|
16296
16348
|
const a = Le.registry.lookupTable(r, !0);
|
|
16297
16349
|
i.push(...a);
|
|
16298
|
-
}) :
|
|
16350
|
+
}) : Oh && !t && console.warn("Table Connection Error - Invalid Selector", e);
|
|
16299
16351
|
return i;
|
|
16300
16352
|
},
|
|
16301
16353
|
matchElement(e) {
|
|
@@ -16312,7 +16364,7 @@ const $t = process.env.NODE_ENV === "development", K = class K extends ds {
|
|
|
16312
16364
|
super(), this.modulesCore = [], this.modulesRegular = [];
|
|
16313
16365
|
}
|
|
16314
16366
|
static initializeModuleBinder(e) {
|
|
16315
|
-
K.modulesRegistered || (K.modulesRegistered = !0, K._registerModules(
|
|
16367
|
+
K.modulesRegistered || (K.modulesRegistered = !0, K._registerModules(Fh, !0), e && K._registerModules(e));
|
|
16316
16368
|
}
|
|
16317
16369
|
static _extendModule(e, t, i) {
|
|
16318
16370
|
if (K.moduleBindings[e]) {
|
|
@@ -16402,7 +16454,7 @@ const te = process.env.NODE_ENV === "development", Ue = class Ue extends us {
|
|
|
16402
16454
|
Ue.initializeModuleBinder(), Ue._registerModule(...e);
|
|
16403
16455
|
}
|
|
16404
16456
|
constructor(e, t, i) {
|
|
16405
|
-
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
|
|
16457
|
+
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 bh(this), this.dataLoader = null, this.modules = {}, this.modulesCore = [], this.modulesRegular = [], this.deprecationAdvisor = new Ch(this), this.optionsList = new Ko(this, "table constructor"), this.dependencyRegistry = new vh(this), this.initialized = !1, this.destroyed = !1, this.initializeElement(e) && (this.initializeCoreSystems(t), setTimeout(() => {
|
|
16406
16458
|
this._create();
|
|
16407
16459
|
})), this.constructor.registry.register(this);
|
|
16408
16460
|
}
|
|
@@ -16422,11 +16474,11 @@ const te = process.env.NODE_ENV === "development", Ue = class Ue extends us {
|
|
|
16422
16474
|
), !1;
|
|
16423
16475
|
}
|
|
16424
16476
|
initializeCoreSystems(e) {
|
|
16425
|
-
this.columnManager = new
|
|
16477
|
+
this.columnManager = new hh(this), this.rowManager = new gh(this), this.footerManager = new dh(this), this.dataLoader = new as(this), this.alertManager = new mh(this), this.toolbar = e?.toolbarElement, this._bindModules(), this.options = this.optionsList.generate(Ue.defaultOptions, e), this._clearObjectPointers(), this._mapDeprecatedFunctionality(), this.externalEvents = new Eh(
|
|
16426
16478
|
this,
|
|
16427
16479
|
this.options,
|
|
16428
16480
|
this.options.debugEventsExternal
|
|
16429
|
-
), this.eventBus = new
|
|
16481
|
+
), this.eventBus = new Sh(this.options.debugEventsInternal), this.interactionMonitor = new Rh(this), this.dataLoader.initialize(), this.footerManager.initialize(), this.dependencyRegistry.initialize();
|
|
16430
16482
|
}
|
|
16431
16483
|
// convert deprecated functionality to new functions
|
|
16432
16484
|
_mapDeprecatedFunctionality() {
|
|
@@ -16792,9 +16844,9 @@ const te = process.env.NODE_ENV === "development", Ue = class Ue extends us {
|
|
|
16792
16844
|
return !t && te && console.error("Tabulator module not installed: " + e), t;
|
|
16793
16845
|
}
|
|
16794
16846
|
};
|
|
16795
|
-
Ue.defaultOptions =
|
|
16847
|
+
Ue.defaultOptions = ch;
|
|
16796
16848
|
let it = Ue;
|
|
16797
|
-
class
|
|
16849
|
+
class _h extends it {
|
|
16798
16850
|
static extendModule(...e) {
|
|
16799
16851
|
it.initializeModuleBinder(gi), it._extendModule(...e);
|
|
16800
16852
|
}
|
|
@@ -16806,7 +16858,7 @@ class Th extends it {
|
|
|
16806
16858
|
}
|
|
16807
16859
|
// #endregion
|
|
16808
16860
|
}
|
|
16809
|
-
class
|
|
16861
|
+
class Ld {
|
|
16810
16862
|
constructor(e) {
|
|
16811
16863
|
this.type = e, this.element = this._createElement();
|
|
16812
16864
|
}
|
|
@@ -16846,7 +16898,7 @@ class xd {
|
|
|
16846
16898
|
rendered() {
|
|
16847
16899
|
}
|
|
16848
16900
|
}
|
|
16849
|
-
class
|
|
16901
|
+
class Ph {
|
|
16850
16902
|
#e;
|
|
16851
16903
|
#i;
|
|
16852
16904
|
#s = /* @__PURE__ */ new Set();
|
|
@@ -16912,11 +16964,11 @@ class Mh {
|
|
|
16912
16964
|
return t.includes("-") && !customElements.get(t);
|
|
16913
16965
|
}
|
|
16914
16966
|
}
|
|
16915
|
-
const
|
|
16916
|
-
var
|
|
16917
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
16967
|
+
const Hh = Y`:host{align-items:center;width:100%;display:flex}:host([pagination-placement=bottom-start]){justify-content:flex-start}:host([pagination-placement=bottom-center]){justify-content:center}:host([pagination-placement=bottom-end]){justify-content:flex-end}`;
|
|
16968
|
+
var Ah = Object.defineProperty, Nh = Object.getOwnPropertyDescriptor, qo = (n, e, t, i) => {
|
|
16969
|
+
for (var s = i > 1 ? void 0 : i ? Nh(e, t) : e, o = n.length - 1, r; o >= 0; o--)
|
|
16918
16970
|
(r = n[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
|
|
16919
|
-
return i && s &&
|
|
16971
|
+
return i && s && Ah(e, t, s), s;
|
|
16920
16972
|
};
|
|
16921
16973
|
let Nt = class extends pt {
|
|
16922
16974
|
constructor() {
|
|
@@ -16926,18 +16978,18 @@ let Nt = class extends pt {
|
|
|
16926
16978
|
return T`<slot name="pagination"></slot>`;
|
|
16927
16979
|
}
|
|
16928
16980
|
};
|
|
16929
|
-
Nt.styles = [kt,
|
|
16930
|
-
|
|
16981
|
+
Nt.styles = [kt, Hh];
|
|
16982
|
+
qo([
|
|
16931
16983
|
y({ attribute: "pagination-placement", reflect: !0, type: String })
|
|
16932
16984
|
], Nt.prototype, "paginationPlacement", 2);
|
|
16933
|
-
Nt =
|
|
16985
|
+
Nt = qo([
|
|
16934
16986
|
ft("cx-table-footer")
|
|
16935
16987
|
], Nt);
|
|
16936
|
-
const
|
|
16937
|
-
var
|
|
16938
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
16988
|
+
const Vh = Y`.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}`;
|
|
16989
|
+
var Ih = Object.defineProperty, Bh = Object.getOwnPropertyDescriptor, mt = (n, e, t, i) => {
|
|
16990
|
+
for (var s = i > 1 ? void 0 : i ? Bh(e, t) : e, o = n.length - 1, r; o >= 0; o--)
|
|
16939
16991
|
(r = n[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
|
|
16940
|
-
return i && s &&
|
|
16992
|
+
return i && s && Ih(e, t, s), s;
|
|
16941
16993
|
};
|
|
16942
16994
|
let We = class extends pt {
|
|
16943
16995
|
constructor() {
|
|
@@ -16947,7 +16999,7 @@ let We = class extends pt {
|
|
|
16947
16999
|
return this;
|
|
16948
17000
|
}
|
|
16949
17001
|
handleActionChange() {
|
|
16950
|
-
this.groupedDropdownItems =
|
|
17002
|
+
this.groupedDropdownItems = ar(
|
|
16951
17003
|
this.action?.options?.dropdownItems ?? [],
|
|
16952
17004
|
"section"
|
|
16953
17005
|
), this.sections = Object.keys(this.groupedDropdownItems);
|
|
@@ -16978,7 +17030,7 @@ let We = class extends pt {
|
|
|
16978
17030
|
}
|
|
16979
17031
|
render() {
|
|
16980
17032
|
if (!this.action)
|
|
16981
|
-
return
|
|
17033
|
+
return rr;
|
|
16982
17034
|
const n = this.action?.icon ?? "more_horiz";
|
|
16983
17035
|
return T`<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>${Rt(
|
|
16984
17036
|
this.sections,
|
|
@@ -16997,7 +17049,7 @@ We.dependencies = {
|
|
|
16997
17049
|
"cx-icon": ii,
|
|
16998
17050
|
"cx-menu": oi,
|
|
16999
17051
|
"cx-menu-item": ri,
|
|
17000
|
-
"cx-menu-section":
|
|
17052
|
+
"cx-menu-section": gr,
|
|
17001
17053
|
"cx-tooltip": ms
|
|
17002
17054
|
};
|
|
17003
17055
|
mt([
|
|
@@ -17025,10 +17077,10 @@ mt([
|
|
|
17025
17077
|
We = mt([
|
|
17026
17078
|
ft("cx-table-row-actions-dropdown")
|
|
17027
17079
|
], We);
|
|
17028
|
-
var
|
|
17029
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
17080
|
+
var Wh = Object.defineProperty, jh = Object.getOwnPropertyDescriptor, ci = (n, e, t, i) => {
|
|
17081
|
+
for (var s = i > 1 ? void 0 : i ? jh(e, t) : e, o = n.length - 1, r; o >= 0; o--)
|
|
17030
17082
|
(r = n[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
|
|
17031
|
-
return i && s &&
|
|
17083
|
+
return i && s && Wh(e, t, s), s;
|
|
17032
17084
|
};
|
|
17033
17085
|
let st = class extends pt {
|
|
17034
17086
|
constructor() {
|
|
@@ -17054,7 +17106,7 @@ let st = class extends pt {
|
|
|
17054
17106
|
return T`<cx-space spacing="2x-small">${Rt(
|
|
17055
17107
|
this.actions,
|
|
17056
17108
|
(n) => n.name,
|
|
17057
|
-
(n) =>
|
|
17109
|
+
(n) => fr(n.type ?? "button", [
|
|
17058
17110
|
[
|
|
17059
17111
|
"button",
|
|
17060
17112
|
() => this.renderButton(n)
|
|
@@ -17067,7 +17119,7 @@ let st = class extends pt {
|
|
|
17067
17119
|
)}</cx-space>`;
|
|
17068
17120
|
}
|
|
17069
17121
|
};
|
|
17070
|
-
st.styles = [kt,
|
|
17122
|
+
st.styles = [kt, Vh];
|
|
17071
17123
|
st.dependencies = {
|
|
17072
17124
|
"cx-button": St,
|
|
17073
17125
|
"cx-icon": ii,
|
|
@@ -17091,10 +17143,10 @@ ci([
|
|
|
17091
17143
|
st = ci([
|
|
17092
17144
|
ft("cx-table-row-actions")
|
|
17093
17145
|
], st);
|
|
17094
|
-
var
|
|
17095
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
17146
|
+
var Gh = Object.defineProperty, $h = Object.getOwnPropertyDescriptor, It = (n, e, t, i) => {
|
|
17147
|
+
for (var s = i > 1 ? void 0 : i ? $h(e, t) : e, o = n.length - 1, r; o >= 0; o--)
|
|
17096
17148
|
(r = n[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
|
|
17097
|
-
return i && s &&
|
|
17149
|
+
return i && s && Gh(e, t, s), s;
|
|
17098
17150
|
};
|
|
17099
17151
|
let qe = class extends pt {
|
|
17100
17152
|
constructor() {
|
|
@@ -17172,10 +17224,10 @@ It([
|
|
|
17172
17224
|
qe = It([
|
|
17173
17225
|
ft("cx-table-dropdown-filter")
|
|
17174
17226
|
], qe);
|
|
17175
|
-
var
|
|
17176
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
17227
|
+
var Uh = Object.defineProperty, Kh = Object.getOwnPropertyDescriptor, je = (n, e, t, i) => {
|
|
17228
|
+
for (var s = i > 1 ? void 0 : i ? Kh(e, t) : e, o = n.length - 1, r; o >= 0; o--)
|
|
17177
17229
|
(r = n[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
|
|
17178
|
-
return i && s &&
|
|
17230
|
+
return i && s && Uh(e, t, s), s;
|
|
17179
17231
|
};
|
|
17180
17232
|
let Se = class extends pt {
|
|
17181
17233
|
constructor() {
|
|
@@ -17282,15 +17334,15 @@ je([
|
|
|
17282
17334
|
Se = je([
|
|
17283
17335
|
ft("cx-table-saved-search-dropdown")
|
|
17284
17336
|
], Se);
|
|
17285
|
-
const
|
|
17286
|
-
var
|
|
17287
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
17337
|
+
const qh = Y`:host{container-type:inline-size}.header{align-items:center;gap:var(--cx-spacing-small);flex-wrap:wrap;display:none}.header--has-label,.header--has-pagination{display:flex}:host([pagination]) .header{min-height:var(--header-pagination-min-height,var(--cx-input-height-medium));display:flex}.header__label{flex:auto;align-items:center;min-width:0;display:flex}.header:not(.header--has-label) .header__label{display:none}.header:not(.header--has-label){justify-content:flex-end}.header__pagination{flex-shrink:0;align-items:center;display:flex}:host([pagination-placement=top-start]) .header__label,:host([pagination-placement=top-center]) .header__label{flex-basis:100%}:host([pagination-placement=top-start]) .header:not(.header--has-label){justify-content:flex-start}:host([pagination-placement=top-center]) .header:not(.header--has-label){justify-content:center}@container (width>=480px){:host([pagination-placement=top-center]) .header.header--has-label,:host([pagination-placement=top-center]) .header.header--has-pagination{grid-template-columns:1fr auto 1fr;display:grid}:host([pagination-placement=top-center]) .header__pagination{grid-column:2}}.header-actions{flex:1}.search{flex:1;max-width:500px}.header-actions__left{flex:1}.search__input{max-width:500px}.search__icon{--font-size:var(--cx-font-size-medium)}.search__icon--search{margin-inline-start:var(--cx-spacing-2x-small)}.search__icon--advanced-search{margin-inline-end:var(--cx-spacing-2x-small)}.header-actions__dropdown::part(trigger){line-height:1}.table-dropdown-filter__trigger,.header-actions__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)}`;
|
|
17338
|
+
var Xh = Object.defineProperty, Jh = Object.getOwnPropertyDescriptor, ae = (n, e, t, i) => {
|
|
17339
|
+
for (var s = i > 1 ? void 0 : i ? Jh(e, t) : e, o = n.length - 1, r; o >= 0; o--)
|
|
17288
17340
|
(r = n[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
|
|
17289
|
-
return i && s &&
|
|
17341
|
+
return i && s && Xh(e, t, s), s;
|
|
17290
17342
|
};
|
|
17291
17343
|
let J = class extends pt {
|
|
17292
17344
|
constructor() {
|
|
17293
|
-
super(...arguments), this.localize = new ei(this), this.hasSlotController = new
|
|
17345
|
+
super(...arguments), this.localize = new ei(this), this.hasSlotController = new br(
|
|
17294
17346
|
this,
|
|
17295
17347
|
"label",
|
|
17296
17348
|
"pagination"
|
|
@@ -17382,21 +17434,21 @@ let J = class extends pt {
|
|
|
17382
17434
|
${we(n, () => this.renderExportDropdown())}</cx-space></cx-space></cx-space>`;
|
|
17383
17435
|
}
|
|
17384
17436
|
};
|
|
17385
|
-
J.styles = [kt,
|
|
17437
|
+
J.styles = [kt, qh];
|
|
17386
17438
|
J.dependencies = {
|
|
17387
17439
|
"cx-button": St,
|
|
17388
17440
|
"cx-dropdown": si,
|
|
17389
17441
|
"cx-icon": ii,
|
|
17390
|
-
"cx-icon-button":
|
|
17391
|
-
"cx-input":
|
|
17442
|
+
"cx-icon-button": Lo,
|
|
17443
|
+
"cx-input": mr,
|
|
17392
17444
|
"cx-menu": oi,
|
|
17393
17445
|
"cx-menu-item": ri,
|
|
17394
|
-
"cx-pagination":
|
|
17446
|
+
"cx-pagination": ur,
|
|
17395
17447
|
"cx-space": fs,
|
|
17396
17448
|
"cx-table-dropdown-filter": qe,
|
|
17397
17449
|
"cx-table-saved-search-dropdown": Se,
|
|
17398
17450
|
"cx-tooltip": ms,
|
|
17399
|
-
"cx-typography":
|
|
17451
|
+
"cx-typography": hr
|
|
17400
17452
|
};
|
|
17401
17453
|
ae([
|
|
17402
17454
|
gt("#search-form")
|
|
@@ -17494,7 +17546,7 @@ ae([
|
|
|
17494
17546
|
J = ae([
|
|
17495
17547
|
ft("cx-table-toolbar")
|
|
17496
17548
|
], J);
|
|
17497
|
-
class
|
|
17549
|
+
class Yh {
|
|
17498
17550
|
constructor(e) {
|
|
17499
17551
|
this.filters = /* @__PURE__ */ new Map(), this.isConnected = !1, this.host = e, this.host.addController(this);
|
|
17500
17552
|
}
|
|
@@ -17625,30 +17677,30 @@ class Gh {
|
|
|
17625
17677
|
e.setFilter(s);
|
|
17626
17678
|
}
|
|
17627
17679
|
}
|
|
17628
|
-
const $h = Y`.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)}`, Uh = Y`: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}`, Kh = Y`.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}`, qh = Y`.tabulator-clickable-cell{color:var(--clickable-cell-color,var(--cx-color-primary-600));cursor:pointer}.tabulator-clickable-cell:hover{text-decoration:underline}`, Xh = Y`.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}`, Jh = Y`.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)}`, Yh = Y`.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}`, Qh = Y`.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}`, Zh = Y`.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)}`, ec = Y`: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}`, tc = Y`: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}`, ic = Y`.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)}`, sc = Y`.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)}`, oc = Y`: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)}`, rc = Y`.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)}`, nc = Y`.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)}`, ac = Y`.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}`, lc = Y`.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}`, hc = Y`.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}`, cc = Y`.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}`, dc = Y`: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)}`, uc = Y`.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)}`, pc = [
|
|
17629
|
-
|
|
17680
|
+
const Qh = Y`.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)}`, Zh = Y`: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}`, ec = Y`.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}`, tc = Y`.tabulator-clickable-cell{color:var(--clickable-cell-color,var(--cx-color-primary-600));cursor:pointer}.tabulator-clickable-cell:hover{text-decoration:underline}`, ic = Y`.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}`, sc = Y`.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)}`, oc = Y`.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}`, rc = Y`.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}`, nc = Y`.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)}`, ac = Y`: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}`, lc = Y`: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}`, hc = Y`.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)}`, cc = Y`.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)}`, dc = Y`: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)}`, uc = Y`.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)}`, pc = Y`.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)}`, fc = Y`.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}`, gc = Y`.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}`, mc = Y`.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}`, bc = Y`.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}`, wc = Y`: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)}`, vc = Y`.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)}`, yc = [
|
|
17681
|
+
Zh,
|
|
17682
|
+
ac,
|
|
17683
|
+
dc,
|
|
17630
17684
|
ec,
|
|
17685
|
+
wc,
|
|
17631
17686
|
oc,
|
|
17632
|
-
|
|
17633
|
-
|
|
17634
|
-
|
|
17635
|
-
|
|
17687
|
+
vc,
|
|
17688
|
+
cc,
|
|
17689
|
+
fc,
|
|
17690
|
+
Qh,
|
|
17691
|
+
mc,
|
|
17636
17692
|
sc,
|
|
17637
|
-
ac,
|
|
17638
|
-
$h,
|
|
17639
17693
|
hc,
|
|
17640
|
-
Jh,
|
|
17641
17694
|
ic,
|
|
17642
|
-
|
|
17643
|
-
lc,
|
|
17644
|
-
Qh,
|
|
17645
|
-
Zh,
|
|
17695
|
+
gc,
|
|
17646
17696
|
rc,
|
|
17647
|
-
cc,
|
|
17648
17697
|
nc,
|
|
17649
|
-
|
|
17650
|
-
|
|
17651
|
-
|
|
17698
|
+
uc,
|
|
17699
|
+
bc,
|
|
17700
|
+
pc,
|
|
17701
|
+
lc,
|
|
17702
|
+
tc
|
|
17703
|
+
], Cc = {
|
|
17652
17704
|
formatter: function() {
|
|
17653
17705
|
const n = document.createElement("div");
|
|
17654
17706
|
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";
|
|
@@ -17661,7 +17713,7 @@ const $h = Y`.tabulator .tabulator-alert{z-index:100;background:color-mix(in srg
|
|
|
17661
17713
|
rowHandle: !0,
|
|
17662
17714
|
title: "",
|
|
17663
17715
|
width: 40
|
|
17664
|
-
},
|
|
17716
|
+
}, Ec = {
|
|
17665
17717
|
fromAttribute: (n) => {
|
|
17666
17718
|
if (typeof n == "string") {
|
|
17667
17719
|
if (!n.trim())
|
|
@@ -17678,7 +17730,7 @@ const $h = Y`.tabulator .tabulator-alert{z-index:100;background:color-mix(in srg
|
|
|
17678
17730
|
return n;
|
|
17679
17731
|
},
|
|
17680
17732
|
toAttribute: (n) => typeof n == "function" ? "" : Array.isArray(n) ? JSON.stringify(n) : typeof n == "number" ? n.toString() : n
|
|
17681
|
-
},
|
|
17733
|
+
}, xc = {
|
|
17682
17734
|
fromAttribute: (n) => {
|
|
17683
17735
|
if (typeof n == "string") {
|
|
17684
17736
|
if (!n.trim())
|
|
@@ -17694,7 +17746,7 @@ const $h = Y`.tabulator .tabulator-alert{z-index:100;background:color-mix(in srg
|
|
|
17694
17746
|
return n;
|
|
17695
17747
|
},
|
|
17696
17748
|
toAttribute: (n) => typeof n == "function" ? "" : Array.isArray(n) ? JSON.stringify(n) : typeof n == "boolean" ? n.toString() : n
|
|
17697
|
-
},
|
|
17749
|
+
}, Rc = {
|
|
17698
17750
|
fromAttribute: (n) => {
|
|
17699
17751
|
if (typeof n == "string") {
|
|
17700
17752
|
if (!n.trim())
|
|
@@ -17710,7 +17762,7 @@ const $h = Y`.tabulator .tabulator-alert{z-index:100;background:color-mix(in srg
|
|
|
17710
17762
|
},
|
|
17711
17763
|
toAttribute: (n) => typeof n == "function" ? "" : Array.isArray(n) ? JSON.stringify(n) : n
|
|
17712
17764
|
};
|
|
17713
|
-
function
|
|
17765
|
+
function Sc(n, e, t, i = 500) {
|
|
17714
17766
|
return new Promise((s, o) => {
|
|
17715
17767
|
if (!Number.isInteger(i) || i < 1) {
|
|
17716
17768
|
o(new RangeError("chunkSize must be a positive integer"));
|
|
@@ -17747,32 +17799,32 @@ function wc(n, e, t, i = 500) {
|
|
|
17747
17799
|
});
|
|
17748
17800
|
});
|
|
17749
17801
|
}
|
|
17750
|
-
async function
|
|
17802
|
+
async function kc(n, e, t, i = 500) {
|
|
17751
17803
|
if (!Number.isInteger(i) || i < 1)
|
|
17752
17804
|
throw new RangeError("chunkSize must be a positive integer");
|
|
17753
|
-
const { columns: s, rows: o } =
|
|
17805
|
+
const { columns: s, rows: o } = Jo(n);
|
|
17754
17806
|
e(s);
|
|
17755
17807
|
for (let r = 0; r < o.length; r += i)
|
|
17756
17808
|
await t(o.slice(r, r + i));
|
|
17757
17809
|
return o.length;
|
|
17758
17810
|
}
|
|
17759
|
-
async function
|
|
17811
|
+
async function Tc(n, e, t, i = 500) {
|
|
17760
17812
|
if (!Number.isInteger(i) || i < 1)
|
|
17761
17813
|
throw new RangeError("chunkSize must be a positive integer");
|
|
17762
|
-
const s = JSON.parse(n), { columns: o, rows: r } =
|
|
17814
|
+
const s = JSON.parse(n), { columns: o, rows: r } = Xo(s);
|
|
17763
17815
|
e(o);
|
|
17764
17816
|
for (let a = 0; a < r.length; a += i)
|
|
17765
17817
|
await t(r.slice(a, a + i));
|
|
17766
17818
|
return r.length;
|
|
17767
17819
|
}
|
|
17768
|
-
function
|
|
17820
|
+
function To(n) {
|
|
17769
17821
|
return typeof n == "object" && n !== null && !Array.isArray(n);
|
|
17770
17822
|
}
|
|
17771
|
-
function
|
|
17823
|
+
function Xo(n) {
|
|
17772
17824
|
if (Array.isArray(n)) {
|
|
17773
17825
|
if (n.length === 0)
|
|
17774
17826
|
return { columns: [], rows: [] };
|
|
17775
|
-
if (!n.every(
|
|
17827
|
+
if (!n.every(To))
|
|
17776
17828
|
throw new Error("JSON array must contain row objects");
|
|
17777
17829
|
const t = n[0];
|
|
17778
17830
|
return {
|
|
@@ -17781,11 +17833,11 @@ function qo(n) {
|
|
|
17781
17833
|
};
|
|
17782
17834
|
}
|
|
17783
17835
|
const e = n;
|
|
17784
|
-
if (Array.isArray(e.columns) && Array.isArray(e.data) && e.data.every(
|
|
17836
|
+
if (Array.isArray(e.columns) && Array.isArray(e.data) && e.data.every(To))
|
|
17785
17837
|
return { columns: e.columns, rows: e.data };
|
|
17786
17838
|
throw new Error("JSON data must be an array of row objects or a { columns, data } envelope");
|
|
17787
17839
|
}
|
|
17788
|
-
function
|
|
17840
|
+
function Mc(n) {
|
|
17789
17841
|
if (n.length === 0)
|
|
17790
17842
|
return { columns: [], data: [] };
|
|
17791
17843
|
const t = n[0].map((a, l) => {
|
|
@@ -17802,31 +17854,31 @@ function Cc(n) {
|
|
|
17802
17854
|
);
|
|
17803
17855
|
return { columns: o, data: r };
|
|
17804
17856
|
}
|
|
17805
|
-
function
|
|
17857
|
+
function Dc(n) {
|
|
17806
17858
|
const e = Es.parse(n, { header: !1, skipEmptyLines: !0 }), t = e.errors.filter((i) => i.code !== "UndetectableDelimiter");
|
|
17807
17859
|
if (t.length > 0)
|
|
17808
17860
|
throw new Error(`CSV parse error: ${t[0].message}`);
|
|
17809
|
-
return
|
|
17861
|
+
return Mc(e.data);
|
|
17810
17862
|
}
|
|
17811
|
-
function
|
|
17812
|
-
const e = JSON.parse(n), { columns: t, rows: i } =
|
|
17863
|
+
function Lc(n) {
|
|
17864
|
+
const e = JSON.parse(n), { columns: t, rows: i } = Xo(e);
|
|
17813
17865
|
return { columns: t, data: i };
|
|
17814
17866
|
}
|
|
17815
|
-
function
|
|
17816
|
-
const { columns: e, rows: t } =
|
|
17867
|
+
function zc(n) {
|
|
17868
|
+
const { columns: e, rows: t } = Jo(n);
|
|
17817
17869
|
return { columns: e, data: t };
|
|
17818
17870
|
}
|
|
17819
|
-
function
|
|
17871
|
+
function Jo(n) {
|
|
17820
17872
|
const e = new DOMParser().parseFromString(n, "text/xml"), t = e.querySelector("parsererror");
|
|
17821
17873
|
if (t)
|
|
17822
17874
|
throw new Error(`XML parse error: ${t.textContent?.trim() ?? "unknown error"}`);
|
|
17823
|
-
const i = e.documentElement, s =
|
|
17875
|
+
const i = e.documentElement, s = Mo(i, "columns"), o = Mo(i, "rows");
|
|
17824
17876
|
if (s && o) {
|
|
17825
17877
|
const d = Array.from(s.children).map((u) => ({
|
|
17826
17878
|
field: u.getAttribute("field") ?? u.tagName,
|
|
17827
17879
|
title: u.getAttribute("title") ?? u.getAttribute("field") ?? u.tagName
|
|
17828
17880
|
})), p = Array.from(o.children).map(
|
|
17829
|
-
(u) =>
|
|
17881
|
+
(u) => Do(u, d.map((f) => f.field).filter((f) => f !== void 0))
|
|
17830
17882
|
);
|
|
17831
17883
|
return { columns: d, rows: p };
|
|
17832
17884
|
}
|
|
@@ -17839,16 +17891,16 @@ function Xo(n) {
|
|
|
17839
17891
|
a.has(p.tagName) || (a.add(p.tagName), l.push(p.tagName));
|
|
17840
17892
|
if (l.length === 0)
|
|
17841
17893
|
return { columns: [], rows: [] };
|
|
17842
|
-
const h = l.map((d) => ({ field: d, title: d })), c = r.map((d) =>
|
|
17894
|
+
const h = l.map((d) => ({ field: d, title: d })), c = r.map((d) => Do(d, l));
|
|
17843
17895
|
return { columns: h, rows: c };
|
|
17844
17896
|
}
|
|
17845
|
-
function
|
|
17897
|
+
function Mo(n, e) {
|
|
17846
17898
|
for (const t of Array.from(n.children))
|
|
17847
17899
|
if (t.tagName.toLowerCase() === e.toLowerCase())
|
|
17848
17900
|
return t;
|
|
17849
17901
|
return null;
|
|
17850
17902
|
}
|
|
17851
|
-
function
|
|
17903
|
+
function Fc(n) {
|
|
17852
17904
|
const e = n.trim();
|
|
17853
17905
|
if (e.length === 0)
|
|
17854
17906
|
return n;
|
|
@@ -17861,16 +17913,16 @@ function Sc(n) {
|
|
|
17861
17913
|
const t = Number(e);
|
|
17862
17914
|
return !Number.isNaN(t) && Number.isFinite(t) ? t : n;
|
|
17863
17915
|
}
|
|
17864
|
-
function
|
|
17916
|
+
function Do(n, e) {
|
|
17865
17917
|
const t = /* @__PURE__ */ new Map();
|
|
17866
17918
|
for (const i of Array.from(n.children))
|
|
17867
|
-
t.set(i.tagName,
|
|
17919
|
+
t.set(i.tagName, Fc(i.textContent ?? ""));
|
|
17868
17920
|
return Object.fromEntries(
|
|
17869
17921
|
e.map((i) => [i, t.has(i) ? t.get(i) : ""])
|
|
17870
17922
|
);
|
|
17871
17923
|
}
|
|
17872
17924
|
ve.Csv + "", ve.Json + "", ve.Xml + "";
|
|
17873
|
-
function
|
|
17925
|
+
function Oc(n, e) {
|
|
17874
17926
|
const i = n.toLowerCase().split("?")[0].split("#")[0].split(".").pop() ?? "";
|
|
17875
17927
|
if (i === "csv")
|
|
17876
17928
|
return ve.Csv;
|
|
@@ -17881,19 +17933,19 @@ function kc(n, e) {
|
|
|
17881
17933
|
const s = (e ?? "").toLowerCase();
|
|
17882
17934
|
return s.includes("text/csv") ? ve.Csv : s.includes("application/json") || s.includes("text/json") || s.includes("+json") ? ve.Json : s.includes("application/xml") || s.includes("text/xml") || s.includes("+xml") ? ve.Xml : ve.Csv;
|
|
17883
17935
|
}
|
|
17884
|
-
function
|
|
17885
|
-
return n !== ve.Auto ? n :
|
|
17936
|
+
function _c(n, e, t) {
|
|
17937
|
+
return n !== ve.Auto ? n : Oc(e, t);
|
|
17886
17938
|
}
|
|
17887
|
-
var
|
|
17939
|
+
var Pc = Object.defineProperty, Hc = Object.getOwnPropertyDescriptor, Yo = (n) => {
|
|
17888
17940
|
throw TypeError(n);
|
|
17889
17941
|
}, C = (n, e, t, i) => {
|
|
17890
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
17942
|
+
for (var s = i > 1 ? void 0 : i ? Hc(e, t) : e, o = n.length - 1, r; o >= 0; o--)
|
|
17891
17943
|
(r = n[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
|
|
17892
|
-
return i && s &&
|
|
17893
|
-
},
|
|
17944
|
+
return i && s && Pc(e, t, s), s;
|
|
17945
|
+
}, Ac = (n, e, t) => e.has(n) || Yo("Cannot " + t), Nc = (n, e, t) => (Ac(n, e, "read from private field"), t ? t.call(n) : e.get(n)), Vc = (n, e, t) => e.has(n) ? Yo("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(n) : e.set(n, t), ps, Qo;
|
|
17894
17946
|
let v = class extends pt {
|
|
17895
17947
|
constructor() {
|
|
17896
|
-
super(),
|
|
17948
|
+
super(), Vc(this, ps), this.localize = new ei(this), this.verticalOsInstance = null, this.horizontalOsInstance = null, this.resizeObserver = null, this.overflowObserver = null, this.filterController = new Yh(this), this.shadowRootAutoloader = new Ph(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 = Ft.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 = pr.Both, this.paginationShowFirst = !1, this.paginationShowLast = !1, this.paginationPlacement = ni.TopEnd, 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 = ve.Auto, this.tabulatorInstance = null, this.watchedEvents = /* @__PURE__ */ new Set(), this.activeSearchValue = "", this.dataUrlRequestId = 0, this.handleTableBuilt = () => {
|
|
17897
17949
|
this.useOverlayScrollbar ? this.initVerticalScrollbar() : this.verticalOsInstance?.destroy(), this.initHorizontalScrollbar(), this.initOverflowObserver(), this.filterController.syncDropdownFilterSources(this.dropdownFilters), this.handleSearch(), this.filterController.applyFilters(), this.placePaginator(), this.dataUrl && this.loadFromDataUrl();
|
|
17898
17950
|
}, this.checkHorizontalOverflow = () => {
|
|
17899
17951
|
if (!this.tabulatorElement || !this.tabulatorHolder)
|
|
@@ -17947,9 +17999,9 @@ let v = class extends pt {
|
|
|
17947
17999
|
async initTable() {
|
|
17948
18000
|
this.tabulatorInstance && (this.overflowObserver?.disconnect(), this.verticalOsInstance?.destroy(), this.horizontalOsInstance?.destroy(), this.tabulatorInstance.destroy());
|
|
17949
18001
|
let n = this.rowHeader;
|
|
17950
|
-
n == null && (this.movableRows ? n =
|
|
18002
|
+
n == null && (this.movableRows ? n = Cc : this.responsiveLayout === "collapse" && (n = {
|
|
17951
18003
|
formatter: "responsiveCollapse"
|
|
17952
|
-
})), this.tabulatorInstance = new
|
|
18004
|
+
})), this.tabulatorInstance = new _h(this.table, {
|
|
17953
18005
|
ajaxParams: this.ajaxParams,
|
|
17954
18006
|
ajaxResponse: this.ajaxResponse,
|
|
17955
18007
|
ajaxURL: this.ajaxURL,
|
|
@@ -17998,7 +18050,7 @@ let v = class extends pt {
|
|
|
17998
18050
|
groupHeaderPrint: this.groupHeaderPrint,
|
|
17999
18051
|
groupIndent: this.groupIndent,
|
|
18000
18052
|
groupLoadMoreMeta: this.groupLoadMoreMeta,
|
|
18001
|
-
groupStartOpen:
|
|
18053
|
+
groupStartOpen: Nc(this, ps, Qo),
|
|
18002
18054
|
groupToggleElement: this.groupToggleElement,
|
|
18003
18055
|
groupUpdateOnCellEdit: this.groupUpdateOnCellEdit,
|
|
18004
18056
|
groupValues: this.groupValues,
|
|
@@ -18239,7 +18291,7 @@ let v = class extends pt {
|
|
|
18239
18291
|
}
|
|
18240
18292
|
async streamCsvData(n, e) {
|
|
18241
18293
|
let t = !0;
|
|
18242
|
-
const s = await
|
|
18294
|
+
const s = await Sc(
|
|
18243
18295
|
n,
|
|
18244
18296
|
(o) => {
|
|
18245
18297
|
e === this.dataUrlRequestId && (this.columns = o);
|
|
@@ -18260,7 +18312,7 @@ let v = class extends pt {
|
|
|
18260
18312
|
};
|
|
18261
18313
|
let o;
|
|
18262
18314
|
try {
|
|
18263
|
-
o = await
|
|
18315
|
+
o = await Tc(
|
|
18264
18316
|
n,
|
|
18265
18317
|
(r) => {
|
|
18266
18318
|
e === this.dataUrlRequestId && (this.columns = r);
|
|
@@ -18284,7 +18336,7 @@ let v = class extends pt {
|
|
|
18284
18336
|
};
|
|
18285
18337
|
let o;
|
|
18286
18338
|
try {
|
|
18287
|
-
o = await
|
|
18339
|
+
o = await kc(
|
|
18288
18340
|
n,
|
|
18289
18341
|
(r) => {
|
|
18290
18342
|
e === this.dataUrlRequestId && (this.columns = r);
|
|
@@ -18306,7 +18358,7 @@ let v = class extends pt {
|
|
|
18306
18358
|
const t = await fetch(n);
|
|
18307
18359
|
if (!t.ok)
|
|
18308
18360
|
throw new Error(`Failed to fetch data: ${t.status} ${t.statusText}`);
|
|
18309
|
-
const i = t.headers.get("content-type"), s =
|
|
18361
|
+
const i = t.headers.get("content-type"), s = _c(this.dataFormat, n, i);
|
|
18310
18362
|
if (e !== this.dataUrlRequestId)
|
|
18311
18363
|
return;
|
|
18312
18364
|
const o = await t.text();
|
|
@@ -18363,23 +18415,23 @@ let v = class extends pt {
|
|
|
18363
18415
|
}
|
|
18364
18416
|
};
|
|
18365
18417
|
ps = /* @__PURE__ */ new WeakSet();
|
|
18366
|
-
|
|
18418
|
+
Qo = function() {
|
|
18367
18419
|
return this.groupStartOpenValues !== void 0 && this.groupStartOpenValues !== null ? (n) => this.groupStartOpenValues?.includes(n) ?? !1 : this.groupStartOpen;
|
|
18368
18420
|
};
|
|
18369
18421
|
v.styles = [
|
|
18370
18422
|
kt,
|
|
18371
|
-
|
|
18372
|
-
|
|
18423
|
+
yc,
|
|
18424
|
+
or
|
|
18373
18425
|
];
|
|
18374
18426
|
v.dependencies = {
|
|
18375
18427
|
"cx-button": St,
|
|
18376
|
-
"cx-checkbox":
|
|
18377
|
-
"cx-divider":
|
|
18378
|
-
"cx-format-number":
|
|
18379
|
-
"cx-icon-button":
|
|
18380
|
-
"cx-select":
|
|
18428
|
+
"cx-checkbox": Zo,
|
|
18429
|
+
"cx-divider": er,
|
|
18430
|
+
"cx-format-number": tr,
|
|
18431
|
+
"cx-icon-button": Lo,
|
|
18432
|
+
"cx-select": ir,
|
|
18381
18433
|
"cx-space": fs,
|
|
18382
|
-
"cx-spinner":
|
|
18434
|
+
"cx-spinner": sr,
|
|
18383
18435
|
"cx-table-footer": Nt,
|
|
18384
18436
|
"cx-table-row-actions": st,
|
|
18385
18437
|
"cx-table-toolbar": J
|
|
@@ -18674,7 +18726,7 @@ C([
|
|
|
18674
18726
|
C([
|
|
18675
18727
|
y({
|
|
18676
18728
|
attribute: "frozen-rows",
|
|
18677
|
-
converter:
|
|
18729
|
+
converter: Ec
|
|
18678
18730
|
})
|
|
18679
18731
|
], v.prototype, "frozenRows", 2);
|
|
18680
18732
|
C([
|
|
@@ -18692,7 +18744,7 @@ C([
|
|
|
18692
18744
|
C([
|
|
18693
18745
|
y({
|
|
18694
18746
|
attribute: "group-by",
|
|
18695
|
-
converter:
|
|
18747
|
+
converter: Rc
|
|
18696
18748
|
})
|
|
18697
18749
|
], v.prototype, "groupBy", 2);
|
|
18698
18750
|
C([
|
|
@@ -18841,7 +18893,7 @@ C([
|
|
|
18841
18893
|
C([
|
|
18842
18894
|
y({
|
|
18843
18895
|
attribute: "data-tree-start-expanded",
|
|
18844
|
-
converter:
|
|
18896
|
+
converter: xc
|
|
18845
18897
|
})
|
|
18846
18898
|
], v.prototype, "dataTreeStartExpanded", 2);
|
|
18847
18899
|
C([
|
|
@@ -19353,7 +19405,7 @@ export {
|
|
|
19353
19405
|
Di as D,
|
|
19354
19406
|
zi as E,
|
|
19355
19407
|
Oi as F,
|
|
19356
|
-
|
|
19408
|
+
Ho as G,
|
|
19357
19409
|
at as H,
|
|
19358
19410
|
Vi as I,
|
|
19359
19411
|
$i as J,
|
|
@@ -19362,10 +19414,10 @@ export {
|
|
|
19362
19414
|
P as M,
|
|
19363
19415
|
Ki as N,
|
|
19364
19416
|
qi as O,
|
|
19365
|
-
|
|
19417
|
+
Ld as P,
|
|
19366
19418
|
Xi as Q,
|
|
19367
19419
|
vs as R,
|
|
19368
|
-
|
|
19420
|
+
Ph as S,
|
|
19369
19421
|
it as T,
|
|
19370
19422
|
Ji as U,
|
|
19371
19423
|
Yi as V,
|
|
@@ -19374,7 +19426,7 @@ export {
|
|
|
19374
19426
|
es as Y,
|
|
19375
19427
|
ts as Z,
|
|
19376
19428
|
is as _,
|
|
19377
|
-
|
|
19429
|
+
_h as a,
|
|
19378
19430
|
os as a0,
|
|
19379
19431
|
rs as a1,
|
|
19380
19432
|
ns as a2,
|
|
@@ -19383,9 +19435,9 @@ export {
|
|
|
19383
19435
|
J as a5,
|
|
19384
19436
|
ws as b,
|
|
19385
19437
|
Si as c,
|
|
19386
|
-
|
|
19387
|
-
|
|
19388
|
-
|
|
19438
|
+
Ir as d,
|
|
19439
|
+
jl as e,
|
|
19440
|
+
Uo as f,
|
|
19389
19441
|
pe as g,
|
|
19390
19442
|
Vt as h,
|
|
19391
19443
|
ai as i,
|