@orangelogic/design-system 3.26.0 → 3.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/library/chunks/{asset-link-format.B5E00Je6.js → asset-link-format.CekdzXsS.js} +5 -5
- package/library/chunks/{button.cbDkxJHn.js → button.CUeXJXcO.js} +1 -1
- package/library/chunks/{color-swatch-group.DDRy-3jm.js → color-swatch-group.CF0h4nhA.js} +491 -502
- package/library/chunks/{confirm-popover.Dvgoz-oA.js → confirm-popover.CeKZ8dF1.js} +3 -3
- package/library/chunks/{dialog.BvSMV36r.js → dialog.C2q9XwLW.js} +2 -2
- package/library/chunks/{document-viewer.Dm9pcb0o.js → document-viewer.BqhrUjS6.js} +6 -6
- package/library/chunks/{dot-pagination.CukHxNBk.js → dot-pagination.BclVUAf7.js} +1 -1
- package/library/chunks/{folder-select.BQqwlVaD.js → folder-select.DZZTtdAO.js} +4 -4
- package/library/chunks/{header.DWE-WJaC.js → header.BHwN2xMS.js} +1 -1
- package/library/chunks/{i18n.BSPmBQ73.js → i18n.D5L6xAYT.js} +1 -0
- package/library/chunks/{icon-button.DV5Fks8j.js → icon-button.BXs29IQE.js} +1 -1
- package/library/chunks/{iframe.ddX2kGu3.js → iframe.e5XdCox5.js} +1 -1
- package/library/chunks/{image.BM7bPTub.js → image.CjdSn_IT.js} +1 -1
- package/library/chunks/{index.CX67aZyU.js → index.BxaF24R5.js} +11 -11
- package/library/chunks/{input.7pumTpdu.js → input.zRoRq5mq.js} +1 -1
- package/library/chunks/{markdown.LHSzm035.js → markdown.Dh6DSJjb.js} +2 -2
- package/library/chunks/{menu-item.DsJZ7i0J.js → menu-item.Nj67PtZi.js} +1 -1
- package/library/chunks/{option.C5f7yDqN.js → option.D3Xzrd7-.js} +1 -1
- package/library/chunks/{pagination.CMwpX60h.js → pagination.Bp5AwTg7.js} +5 -5
- package/library/chunks/{tab-group.D_QAkP8s.js → tab-group.D-nBq01A.js} +4 -4
- package/library/chunks/{tree.BHrf5WIc.js → tree.pgckwdQo.js} +1 -1
- package/library/chunks/{types.4M23mr0R.js → types.DapQA7MU.js} +28 -25
- package/library/components/alert.js +2 -2
- package/library/components/asset-link-format.js +3 -3
- package/library/components/atoms.js +15 -15
- package/library/components/audio.js +2 -2
- package/library/components/border-input-group.js +2 -2
- package/library/components/breadcrumb.js +1 -1
- package/library/components/button.js +2 -2
- package/library/components/color-picker.js +6 -6
- package/library/components/color-swatch-group.js +2 -2
- package/library/components/color-swatch.js +1 -1
- package/library/components/confirm-popover.js +4 -4
- package/library/components/copy-button.js +1 -1
- package/library/components/corner-position-input-group.js +3 -3
- package/library/components/date-calendar.js +1 -1
- package/library/components/details.js +1 -1
- package/library/components/dialog.js +3 -3
- package/library/components/document-viewer.js +3 -3
- package/library/components/dot-pagination.js +2 -2
- package/library/components/drawer.js +2 -2
- package/library/components/dropdown.js +2 -2
- package/library/components/dynamic-select.js +4 -4
- package/library/components/e-chart.js +1 -1
- package/library/components/element-clamp.js +2 -2
- package/library/components/file-on-demand.js +9 -9
- package/library/components/folder-select.js +4 -4
- package/library/components/format-bytes.js +1 -1
- package/library/components/format-date.js +1 -1
- package/library/components/format-number.js +1 -1
- package/library/components/format-time.js +1 -1
- package/library/components/header.js +2 -2
- package/library/components/icon-button.js +2 -2
- package/library/components/iframe.js +2 -2
- package/library/components/image-comparer.js +1 -1
- package/library/components/image.js +2 -2
- package/library/components/input.js +2 -2
- package/library/components/line-clamp.js +1 -1
- package/library/components/markdown.js +3 -3
- package/library/components/masonry.js +2 -2
- package/library/components/menu-item.js +2 -2
- package/library/components/menu.js +2 -2
- package/library/components/molecules.js +2 -2
- package/library/components/option.js +2 -2
- package/library/components/organisms.js +2 -2
- package/library/components/padding-input-group.js +1 -1
- package/library/components/pagination.js +6 -6
- package/library/components/popup.js +1 -1
- package/library/components/position-picker.js +1 -1
- package/library/components/progress-bar.js +1 -1
- package/library/components/progress-ring.js +1 -1
- package/library/components/range.js +1 -1
- package/library/components/rating.js +1 -1
- package/library/components/relative-time.js +1 -1
- package/library/components/select.js +2 -2
- package/library/components/shadow-input-group.js +1 -1
- package/library/components/share-option-list.js +1 -1
- package/library/components/sidebar.js +1 -1
- package/library/components/size-input-group.js +3 -3
- package/library/components/spinner.js +1 -1
- package/library/components/split-panel.js +1 -1
- package/library/components/tab-group.js +5 -5
- package/library/components/tab.js +2 -2
- package/library/components/tag.js +2 -2
- package/library/components/tooltip.js +1 -1
- package/library/components/tree-item.js +2 -2
- package/library/components/tree.js +2 -2
- package/library/components/typeface.js +2 -2
- package/library/components/types.js +21 -21
- package/library/components/video.js +2 -2
- package/library/package.json +1 -1
- package/library/packages/organisms/src/color-swatch-group/color-swatch-group.d.ts +2 -9
- package/library/packages/utils/src/custom-element/i18n.d.ts +1 -0
- package/library/utils.js +1 -1
- package/package.json +1 -1
|
@@ -3,12 +3,12 @@ import { C as tn, T as Wn } from "./typography.BLYdTF0n.js";
|
|
|
3
3
|
import { n as f, C as Ie } from "./lib-cortex-element.CVMmyPMC.js";
|
|
4
4
|
import sn from "../components/color-swatch.js";
|
|
5
5
|
import { c as Ge } from "./component.styles.CAS3c9pM.js";
|
|
6
|
-
import { C as Et } from "./button.
|
|
7
|
-
import { C as jn, o as Gn, O as Un } from "./dialog.
|
|
6
|
+
import { C as Et } from "./button.CUeXJXcO.js";
|
|
7
|
+
import { C as jn, o as Gn, O as Un } from "./dialog.C2q9XwLW.js";
|
|
8
8
|
import { C as lt } from "./icon.BLXWp6CU.js";
|
|
9
|
-
import { C as li } from "./icon-button.
|
|
10
|
-
import { C as bo } from "./input.
|
|
11
|
-
import
|
|
9
|
+
import { C as li } from "./icon-button.BXs29IQE.js";
|
|
10
|
+
import { C as bo } from "./input.zRoRq5mq.js";
|
|
11
|
+
import Ht from "../components/tooltip.js";
|
|
12
12
|
import Kn from "../components/badge.js";
|
|
13
13
|
import qn from "../components/details.js";
|
|
14
14
|
import hi from "../components/dropdown.js";
|
|
@@ -16,7 +16,7 @@ import on from "../components/spinner.js";
|
|
|
16
16
|
import Xn from "../components/tag.js";
|
|
17
17
|
import { D as rn, a as Jn, t as Yn, b as nn } from "./date-picker.BGHn6qg8.js";
|
|
18
18
|
import { c as He } from "./custom-element.L4WJXn1j.js";
|
|
19
|
-
import { L as it } from "./i18n.
|
|
19
|
+
import { L as it } from "./i18n.D5L6xAYT.js";
|
|
20
20
|
import { w as H, b as Zn, S as Qn, c as Jo, p as ea, E as ta } from "./watch.DJF5K-8U.js";
|
|
21
21
|
import { c as ia } from "./date.iWq_pkIk.js";
|
|
22
22
|
import { x as E, i as Q, E as nt, B as an } from "./lit-element.jLBm65_O.js";
|
|
@@ -25,11 +25,11 @@ import { e as We } from "./class-map.BiVq-cVR.js";
|
|
|
25
25
|
import { c as Je } from "./repeat.CFjcER6_.js";
|
|
26
26
|
import { n as K } from "./when.Dr1es41R.js";
|
|
27
27
|
import { o as Z } from "./if-defined.BRoBj_Rp.js";
|
|
28
|
-
import { i as ln, r as sa, f as
|
|
28
|
+
import { i as ln, r as sa, f as Zt, m as oa, a as ra, t as hn, g as na } from "./toast.D3AW3RWv.js";
|
|
29
29
|
import { e as pe } from "./query.BBf1UFkC.js";
|
|
30
30
|
import { b as aa, a as la } from "./_baseXor.BCxbgizO.js";
|
|
31
|
-
import { a as
|
|
32
|
-
import { b as
|
|
31
|
+
import { a as Ji, i as At, b as cn } from "./isArrayLikeObject.D7afXo-f.js";
|
|
32
|
+
import { b as Yi, a as ha, c as dn, t as ca } from "./_baseIteratee.sC2wLi2m.js";
|
|
33
33
|
import { l as ni, i as da, f as ua } from "./_flatRest.ZYRhuYq_.js";
|
|
34
34
|
import { a as wo } from "./toString.B1zKIiZc.js";
|
|
35
35
|
import { a as pa, b as fa } from "./_baseUniq.lwMgmtt2.js";
|
|
@@ -42,12 +42,12 @@ import { S as va } from "./sortable.esm.oSzf6C5Q.js";
|
|
|
42
42
|
import ya from "../components/line-clamp.js";
|
|
43
43
|
import { o as Ca } from "./unsafe-html.Dff7-rCx.js";
|
|
44
44
|
import ci from "../components/menu.js";
|
|
45
|
-
import { C as di } from "./menu-item.
|
|
45
|
+
import { C as di } from "./menu-item.Nj67PtZi.js";
|
|
46
46
|
import xa from "../components/popup.js";
|
|
47
47
|
import { r as Ea } from "./choose.BTbF6BAn.js";
|
|
48
48
|
import Ra from "../components/menu-section.js";
|
|
49
49
|
import fn from "../components/checkbox.js";
|
|
50
|
-
import { C as Sa, P as Da } from "./pagination.
|
|
50
|
+
import { C as Sa, P as Da } from "./pagination.Bp5AwTg7.js";
|
|
51
51
|
import { H as mn } from "./slot.j5oheLJC.js";
|
|
52
52
|
import { g as W, a as Yo } from "./dom.D0lSUoEI.js";
|
|
53
53
|
import "./browser.BHOCIF_A.js";
|
|
@@ -55,16 +55,16 @@ import "./form.LpappO1d.js";
|
|
|
55
55
|
import "./purify.es.BIuh5IAZ.js";
|
|
56
56
|
import "./transformation.BwQ_H-4q.js";
|
|
57
57
|
import { D as zi } from "./content-builder.CBBdfVOl.js";
|
|
58
|
-
import { s as P, h as Zo, b as
|
|
59
|
-
import { a as
|
|
60
|
-
import { d as
|
|
58
|
+
import { s as P, h as Zo, b as Zi, c as vo } from "./string.CfI2ejyR.js";
|
|
59
|
+
import { a as ka } from "./_commonjsHelpers.DQNKXVTB.js";
|
|
60
|
+
import { d as Ma } from "./debounce.Bv1rtE8D.js";
|
|
61
61
|
import Ta from "../components/format-number.js";
|
|
62
62
|
import Fa from "../components/select.js";
|
|
63
|
-
import { f as gn, c as bn, a as La, b as za, g as _a, C as
|
|
63
|
+
import { f as gn, c as bn, a as La, b as za, g as _a, C as ns } from "./color.CIHdfM_a.js";
|
|
64
64
|
import { D as Oa, g as Aa, a as Pa } from "./responsive.DqF_v1XY.js";
|
|
65
65
|
import { r as Ia } from "./query-all.i3PyvTUQ.js";
|
|
66
66
|
import { i as Qo } from "./guard.D4axKaMo.js";
|
|
67
|
-
var Ct = /* @__PURE__ */ ((r) => (r.Multiple = "multiple", r.Single = "single", r))(Ct || {}), at = /* @__PURE__ */ ((r) => (r.Checkbox = "checkbox", r.DatePicker = "date-picker", r.DateRange = "date-range", r))(at || {}),
|
|
67
|
+
var Ct = /* @__PURE__ */ ((r) => (r.Multiple = "multiple", r.Single = "single", r))(Ct || {}), at = /* @__PURE__ */ ((r) => (r.Checkbox = "checkbox", r.DatePicker = "date-picker", r.DateRange = "date-range", r))(at || {}), Vi = /* @__PURE__ */ ((r) => (r.Checkbox = "checkbox", r.DatePicker = "datePicker", r.DateRangePicker = "dateRangePicker", r))(Vi || {}), Bi = /* @__PURE__ */ ((r) => (r.ShowPreset = "showPreset", r.ShowTime = "showTime", r))(Bi || {});
|
|
68
68
|
class wn {
|
|
69
69
|
#e;
|
|
70
70
|
#i;
|
|
@@ -386,7 +386,7 @@ ae.dependencies = {
|
|
|
386
386
|
"cx-space": Ti,
|
|
387
387
|
"cx-spinner": on,
|
|
388
388
|
"cx-tag": Xn,
|
|
389
|
-
"cx-tooltip":
|
|
389
|
+
"cx-tooltip": Ht
|
|
390
390
|
};
|
|
391
391
|
Ee([
|
|
392
392
|
f({ type: Array })
|
|
@@ -447,11 +447,11 @@ Ee([
|
|
|
447
447
|
ae = Ee([
|
|
448
448
|
He("cx-faceted-filter")
|
|
449
449
|
], ae);
|
|
450
|
-
var Ri = /* @__PURE__ */ ((r) => (r.Search = "search-keyword", r))(Ri || {}),
|
|
450
|
+
var Ri = /* @__PURE__ */ ((r) => (r.Search = "search-keyword", r))(Ri || {}), Qi = /* @__PURE__ */ ((r) => (r.BottomCenter = "bottom-center", r.BottomEnd = "bottom-end", r.BottomStart = "bottom-start", r.TopCenter = "top-center", r.TopEnd = "top-end", r.TopStart = "top-start", r))(Qi || {}), vt = /* @__PURE__ */ ((r) => (r.Bottom = "bottom", r.Center = "center", r.Nearest = "nearest", r.Top = "top", r))(vt || {}), Xe = /* @__PURE__ */ ((r) => (r.All = "all", r.Cell = "cell", r.Column = "column", r.Row = "row", r))(Xe || {}), bi = /* @__PURE__ */ ((r) => (r.Both = "both", r.Copy = "copy", r.Paste = "paste", r))(bi || {}), xe = /* @__PURE__ */ ((r) => (r.Auto = "auto", r.Csv = "csv", r.Json = "json", r.Xml = "xml", r))(xe || {}), Si = /* @__PURE__ */ ((r) => (r.EditColumns = "edit-columns", r.HideColumn = "hide-column", r))(Si || {}), jt = /* @__PURE__ */ ((r) => (r.Left = "left", r.Right = "right", r))(jt || {}), mt = /* @__PURE__ */ ((r) => (r.Local = "local", r.Remote = "remote", r))(mt || {}), Me = /* @__PURE__ */ ((r) => (r.Asc = "asc", r.Desc = "desc", r.None = "none", r))(Me || {}), Se = /* @__PURE__ */ ((r) => (r.Ends = "ends", r.Equal = "=", r.GreaterOrEqual = ">=", r.GreaterThan = ">", r.In = "in", r.Keywords = "keywords", r.LessOrEqual = "<=", r.LessThan = "<", r.Like = "like", r.NotEqual = "!=", r.Regex = "regex", r.Starts = "starts", r))(Se || {});
|
|
451
451
|
const ws = 36;
|
|
452
|
-
var wi = /* @__PURE__ */ ((r) => (r.IsoDate = "iso-date", r.IsoDateTime = "iso-datetime", r.Timestamp = "timestamp", r))(wi || {}), er =
|
|
452
|
+
var wi = /* @__PURE__ */ ((r) => (r.IsoDate = "iso-date", r.IsoDateTime = "iso-datetime", r.Timestamp = "timestamp", r))(wi || {}), er = Ji(function(r, e) {
|
|
453
453
|
var t = ni(e);
|
|
454
|
-
return
|
|
454
|
+
return At(t) && (t = void 0), At(r) ? aa(r, cn(e, 1, At, !0), Yi(t)) : [];
|
|
455
455
|
}), Ga = Math.min;
|
|
456
456
|
function Ua(r, e, t) {
|
|
457
457
|
for (var i = pa, s = r[0].length, o = r.length, n = o, a = Array(o), l = 1 / 0, h = []; n--; ) {
|
|
@@ -475,18 +475,18 @@ function Ua(r, e, t) {
|
|
|
475
475
|
return h;
|
|
476
476
|
}
|
|
477
477
|
function Ka(r) {
|
|
478
|
-
return
|
|
478
|
+
return At(r) ? r : [];
|
|
479
479
|
}
|
|
480
|
-
var qa =
|
|
480
|
+
var qa = Ji(function(r) {
|
|
481
481
|
var e = ni(r), t = wo(r, Ka);
|
|
482
|
-
return e === ni(t) ? e = void 0 : t.pop(), t.length && t[0] === r[0] ? Ua(t,
|
|
483
|
-
}), Xa =
|
|
482
|
+
return e === ni(t) ? e = void 0 : t.pop(), t.length && t[0] === r[0] ? Ua(t, Yi(e)) : [];
|
|
483
|
+
}), Xa = Ji(function(r) {
|
|
484
484
|
var e = ni(r);
|
|
485
|
-
return
|
|
486
|
-
}), Ja =
|
|
485
|
+
return At(e) && (e = void 0), fa(cn(r, 1, At, !0), Yi(e));
|
|
486
|
+
}), Ja = Ji(function(r) {
|
|
487
487
|
var e = ni(r);
|
|
488
|
-
return
|
|
489
|
-
}),
|
|
488
|
+
return At(e) && (e = void 0), la(ea(r, At), Yi(e));
|
|
489
|
+
}), Ot = /* @__PURE__ */ ((r) => (r.All = "all", r.None = "none", r.Partial = "partial", r))(Ot || {});
|
|
490
490
|
function Ya(r, e) {
|
|
491
491
|
return e.length < 2 ? r : ha(r, wa(e, 0, -1));
|
|
492
492
|
}
|
|
@@ -551,7 +551,7 @@ De.dependencies = {
|
|
|
551
551
|
"cx-icon": lt,
|
|
552
552
|
"cx-icon-button": li,
|
|
553
553
|
"cx-line-clamp": ya,
|
|
554
|
-
"cx-tooltip":
|
|
554
|
+
"cx-tooltip": Ht
|
|
555
555
|
};
|
|
556
556
|
Ue([
|
|
557
557
|
pe('[part="config-button"]')
|
|
@@ -606,10 +606,10 @@ var hl = Object.defineProperty, cl = Object.getOwnPropertyDescriptor, G = (r, e,
|
|
|
606
606
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
607
607
|
return i && s && hl(e, t, s), s;
|
|
608
608
|
};
|
|
609
|
-
const
|
|
609
|
+
const as = 44;
|
|
610
610
|
let N = class extends Ie {
|
|
611
611
|
constructor() {
|
|
612
|
-
super(), this.localize = new it(this), this.boardTitle = "", this.name = "", this.ignoreTypes = [], this.data = [], this.sort = !1, this.group = !1, this.configurable = !1, this.all = !1, this.allowSearch = !1, this.dividerColor = "", this.hiddenSelection =
|
|
612
|
+
super(), this.localize = new it(this), this.boardTitle = "", this.name = "", this.ignoreTypes = [], this.data = [], this.sort = !1, this.group = !1, this.configurable = !1, this.all = !1, this.allowSearch = !1, this.dividerColor = "", this.hiddenSelection = Ot.None, this.hiddenSelectedCount = 0, this.abortDrag = !1, this.items = [], this._allItems = [], this._filteredItems = [], this._selectedItems = {}, this._selectedItemOrder = {}, this.searchValue = "", this.sortable = null, this._totalCount = 0, this._totalDisplayedCount = 0, this._indexMap = {}, this.isDragging = !1, this.start = 0, this.end = 20, this.previous = [], this.lastSelectedItem = null, this.handleAdd = this.handleAdd.bind(this), this.handleEnd = this.handleEnd.bind(this), this.handleMove = this.handleMove.bind(this), this.handleRemove = this.handleRemove.bind(this), this.handleStart = this.handleStart.bind(this), this.handleUpdate = this.handleUpdate.bind(this), this.handleSelectAll = this.handleSelectAll.bind(this);
|
|
613
613
|
}
|
|
614
614
|
get allItems() {
|
|
615
615
|
return this._allItems;
|
|
@@ -645,7 +645,7 @@ let N = class extends Ie {
|
|
|
645
645
|
* exactly what the tick claims.
|
|
646
646
|
*/
|
|
647
647
|
get isAllSelected() {
|
|
648
|
-
return this.selectableItems.length === 0 ? this.hiddenSelection ===
|
|
648
|
+
return this.selectableItems.length === 0 ? this.hiddenSelection === Ot.All : this.selectedCount > 0 && this.selectedCount === this.selectableItems.length;
|
|
649
649
|
}
|
|
650
650
|
/**
|
|
651
651
|
* Something is selected that the tick cannot stand for — including a selection the host is
|
|
@@ -653,7 +653,7 @@ let N = class extends Ie {
|
|
|
653
653
|
* survives the filter.
|
|
654
654
|
*/
|
|
655
655
|
get isPartiallySelected() {
|
|
656
|
-
return (this.selectedCount > 0 || this.hiddenSelection !==
|
|
656
|
+
return (this.selectedCount > 0 || this.hiddenSelection !== Ot.None) && !this.isAllSelected;
|
|
657
657
|
}
|
|
658
658
|
/**
|
|
659
659
|
* Rows counted toward "select all" (excludes synthetic group headers, disabled, and
|
|
@@ -685,7 +685,7 @@ let N = class extends Ie {
|
|
|
685
685
|
if (this.isDragging)
|
|
686
686
|
return;
|
|
687
687
|
const r = Math.max(this.list.scrollTop, 0);
|
|
688
|
-
this.start = Math.floor(r /
|
|
688
|
+
this.start = Math.floor(r / as), this.end = this.start + 20;
|
|
689
689
|
}
|
|
690
690
|
handleSearchChange(r) {
|
|
691
691
|
this.searchValue = r.target.value;
|
|
@@ -747,7 +747,7 @@ let N = class extends Ie {
|
|
|
747
747
|
const o = s.length > 1;
|
|
748
748
|
e = sa(
|
|
749
749
|
e,
|
|
750
|
-
s.map((n) =>
|
|
750
|
+
s.map((n) => Zt(this.items, "id", n))
|
|
751
751
|
), this.handleUpdateEvent(e, r.type, o, r.newIndex);
|
|
752
752
|
}
|
|
753
753
|
handleDefaultSelect(r) {
|
|
@@ -763,11 +763,11 @@ let N = class extends Ie {
|
|
|
763
763
|
handleShiftSelect(r) {
|
|
764
764
|
const e = this.filteredItems.filter(
|
|
765
765
|
(o) => this.isSelectableItem(o)
|
|
766
|
-
), t =
|
|
766
|
+
), t = Zt(
|
|
767
767
|
e,
|
|
768
768
|
"id",
|
|
769
769
|
this.lastSelectedItem?.dataset.id
|
|
770
|
-
), i =
|
|
770
|
+
), i = Zt(e, "id", r.dataset.id);
|
|
771
771
|
if (t === -1 || i === -1) {
|
|
772
772
|
this.handleDefaultSelect(r);
|
|
773
773
|
return;
|
|
@@ -858,7 +858,7 @@ let N = class extends Ie {
|
|
|
858
858
|
}
|
|
859
859
|
e = ra(
|
|
860
860
|
e,
|
|
861
|
-
t.map((n) =>
|
|
861
|
+
t.map((n) => Zt(this.items, "id", n)),
|
|
862
862
|
o
|
|
863
863
|
), this.handleUpdateEvent(e, r.type, i);
|
|
864
864
|
}
|
|
@@ -919,7 +919,7 @@ let N = class extends Ie {
|
|
|
919
919
|
for (let r = this.filteredItems.length - 1; r >= 0; r--) {
|
|
920
920
|
const e = this.filteredItems[r];
|
|
921
921
|
if (e.id !== e.group)
|
|
922
|
-
return
|
|
922
|
+
return Zt(this.items, "id", e.id) + 1;
|
|
923
923
|
}
|
|
924
924
|
return this.items.length;
|
|
925
925
|
}
|
|
@@ -935,7 +935,7 @@ let N = class extends Ie {
|
|
|
935
935
|
for (let e = Math.max(r, 0); e < this.filteredItems.length; e++) {
|
|
936
936
|
const t = this.filteredItems[e];
|
|
937
937
|
if (t.id !== t.group)
|
|
938
|
-
return
|
|
938
|
+
return Zt(this.items, "id", t.id);
|
|
939
939
|
}
|
|
940
940
|
return this.indexAfterLastVisibleRealItem();
|
|
941
941
|
}
|
|
@@ -967,7 +967,7 @@ let N = class extends Ie {
|
|
|
967
967
|
const r = this.selectedCount, e = r + this.hiddenSelectedCount, t = this.isAllSelected ? E`<cx-icon class="board__checked-icon" name="check"></cx-icon>` : this.isPartiallySelected ? E`<cx-icon class="board__checked-icon" name="remove"></cx-icon>` : nt;
|
|
968
968
|
return E`<div class=${We({
|
|
969
969
|
board: !0,
|
|
970
|
-
"board--checked": this.all && (r > 0 || this.hiddenSelection !==
|
|
970
|
+
"board--checked": this.all && (r > 0 || this.hiddenSelection !== Ot.None),
|
|
971
971
|
"board--dragging": this.isDragging
|
|
972
972
|
})}><div class=${We({
|
|
973
973
|
board__header: !0,
|
|
@@ -978,14 +978,14 @@ let N = class extends Ie {
|
|
|
978
978
|
)}</div>${K(
|
|
979
979
|
this.dividerColor,
|
|
980
980
|
() => E`<cx-divider class="board__divider" part="divider" style=${Qe({ "--color": this.dividerColor })}></cx-divider>`
|
|
981
|
-
)}<div part="list" class="board__list" role="listbox" aria-label=${this.boardTitle || this.name} aria-multiselectable="true" tabindex="-1" @scroll=${this.handleListScroll}><div style="height: ${
|
|
981
|
+
)}<div part="list" class="board__list" role="listbox" aria-label=${this.boardTitle || this.name} aria-multiselectable="true" tabindex="-1" @scroll=${this.handleListScroll}><div style="height: ${as * this.start}px"></div>${Je(
|
|
982
982
|
this.filteredItems.slice(
|
|
983
983
|
this.start,
|
|
984
984
|
Math.min(this.end, this.filteredItems.length)
|
|
985
985
|
),
|
|
986
986
|
(i) => i.id,
|
|
987
987
|
(i) => E`<cx-board-list-item data-id=${i.id} data-index=${this._indexMap[i.id]} data-type=${i.type} ?disabled-tooltip=${this.isDragging} ?readonly=${i.disabled || i.id === i.group} ?selected=${!!this.selectedItems[i.id] || !1} text=${i.text} tooltip=${i.tooltip} ?configurable=${this.configurable} ?is-group=${i.id === i.group} role="option" tabindex=${i.disabled || i.id === i.group ? "-1" : "0"} aria-selected=${!!this.selectedItems[i.id]} aria-label=${i.text} @click=${this.handleSelect} @keydown=${this.handleItemKeydown}></cx-board-list-item>`
|
|
988
|
-
)}<div style="height: ${
|
|
988
|
+
)}<div style="height: ${as * (this.filteredItems.length - this.end > 0 ? this.filteredItems.length - this.end : 0)}px"></div></div><div class="board__footer">${e ? E`<div class="board__footer__text">${this.localize.term("selected")}: ${e}</div>` : E`<span></span>`}<div class="board__footer__text">${this.localize.term("total")}: ${this.totalDisplayedCount}</div></div></div>`;
|
|
989
989
|
}
|
|
990
990
|
};
|
|
991
991
|
N.styles = [Ge, nl];
|
|
@@ -995,7 +995,7 @@ N.dependencies = {
|
|
|
995
995
|
"cx-icon": lt,
|
|
996
996
|
"cx-icon-button": li,
|
|
997
997
|
"cx-input": bo,
|
|
998
|
-
"cx-tooltip":
|
|
998
|
+
"cx-tooltip": Ht
|
|
999
999
|
};
|
|
1000
1000
|
G([
|
|
1001
1001
|
pe(".board")
|
|
@@ -1297,13 +1297,13 @@ function rr(r, e, t, i) {
|
|
|
1297
1297
|
(h) => !s.has(h)
|
|
1298
1298
|
).length;
|
|
1299
1299
|
if (o === 0)
|
|
1300
|
-
return { count: 0, state:
|
|
1300
|
+
return { count: 0, state: Ot.None };
|
|
1301
1301
|
const n = t.filter(
|
|
1302
1302
|
(h) => h.id !== h.group && !h.disabled && (!h.type || !i.includes(h.type))
|
|
1303
1303
|
), a = new Set(r), l = n.length > 0 && n.every((h) => a.has(h.id));
|
|
1304
1304
|
return {
|
|
1305
1305
|
count: o,
|
|
1306
|
-
state: l ?
|
|
1306
|
+
state: l ? Ot.All : Ot.Partial
|
|
1307
1307
|
};
|
|
1308
1308
|
}
|
|
1309
1309
|
var vl = Object.defineProperty, yl = Object.getOwnPropertyDescriptor, we = (r, e, t, i) => {
|
|
@@ -1719,7 +1719,7 @@ le.dependencies = {
|
|
|
1719
1719
|
"cx-icon": lt,
|
|
1720
1720
|
"cx-icon-button": li,
|
|
1721
1721
|
"cx-input": bo,
|
|
1722
|
-
"cx-tooltip":
|
|
1722
|
+
"cx-tooltip": Ht
|
|
1723
1723
|
};
|
|
1724
1724
|
we([
|
|
1725
1725
|
pe(".multi-select")
|
|
@@ -1784,9 +1784,9 @@ we([
|
|
|
1784
1784
|
le = we([
|
|
1785
1785
|
He("cx-multi-select")
|
|
1786
1786
|
], le);
|
|
1787
|
-
var
|
|
1787
|
+
var Gt = /* @__PURE__ */ ((r) => (r.Available = "available", r.Visible = "visible", r))(Gt || {});
|
|
1788
1788
|
const Cl = Q`:host{display:contents}cx-dialog{--width:800px}cx-multi-select{height:28rem;display:block}.table-column-editor__note{color:var(--cx-color-neutral-600);font-size:var(--cx-font-size-small);margin:0}.table-column-editor__footer{gap:var(--cx-spacing-small);justify-content:flex-end;display:flex}`;
|
|
1789
|
-
var xl = Object.defineProperty, El = Object.getOwnPropertyDescriptor,
|
|
1789
|
+
var xl = Object.defineProperty, El = Object.getOwnPropertyDescriptor, Nt = (r, e, t, i) => {
|
|
1790
1790
|
for (var s = i > 1 ? void 0 : i ? El(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
1791
1791
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
1792
1792
|
return i && s && xl(e, t, s), s;
|
|
@@ -1794,12 +1794,12 @@ var xl = Object.defineProperty, El = Object.getOwnPropertyDescriptor, Vt = (r, e
|
|
|
1794
1794
|
let et = class extends Ie {
|
|
1795
1795
|
constructor() {
|
|
1796
1796
|
super(...arguments), this.localize = new it(this), this.open = !1, this.entries = [], this.firstColumnData = {
|
|
1797
|
-
id:
|
|
1797
|
+
id: Gt.Available,
|
|
1798
1798
|
items: [],
|
|
1799
1799
|
sort: !1,
|
|
1800
1800
|
title: ""
|
|
1801
1801
|
}, this.secondColumnData = {
|
|
1802
|
-
id:
|
|
1802
|
+
id: Gt.Visible,
|
|
1803
1803
|
items: [],
|
|
1804
1804
|
sort: !0,
|
|
1805
1805
|
title: ""
|
|
@@ -1819,12 +1819,12 @@ let et = class extends Ie {
|
|
|
1819
1819
|
(s) => s.visible
|
|
1820
1820
|
);
|
|
1821
1821
|
this.firstColumnData = {
|
|
1822
|
-
id:
|
|
1822
|
+
id: Gt.Available,
|
|
1823
1823
|
items: e.map((s) => r(s)),
|
|
1824
1824
|
sort: !1,
|
|
1825
1825
|
title: this.localize.term("availableColumns")
|
|
1826
1826
|
}, this.secondColumnData = {
|
|
1827
|
-
id:
|
|
1827
|
+
id: Gt.Visible,
|
|
1828
1828
|
items: [
|
|
1829
1829
|
...t.map((s) => r(s, !0)),
|
|
1830
1830
|
...i.map((s) => r(s))
|
|
@@ -1835,7 +1835,7 @@ let et = class extends Ie {
|
|
|
1835
1835
|
}
|
|
1836
1836
|
handleMultiSelectChange(r) {
|
|
1837
1837
|
const { id: e, items: t } = r.detail;
|
|
1838
|
-
e ===
|
|
1838
|
+
e === Gt.Available ? this.firstColumnData = { ...this.firstColumnData, items: t } : e === Gt.Visible && (this.secondColumnData = { ...this.secondColumnData, items: t }, this.visibleFields = t.map((i) => i.id));
|
|
1839
1839
|
}
|
|
1840
1840
|
handleApply() {
|
|
1841
1841
|
this.canApply && this.emit("cx-table-column-editor-apply", {
|
|
@@ -1861,28 +1861,28 @@ et.dependencies = {
|
|
|
1861
1861
|
"cx-dialog": jn,
|
|
1862
1862
|
"cx-multi-select": le
|
|
1863
1863
|
};
|
|
1864
|
-
|
|
1864
|
+
Nt([
|
|
1865
1865
|
pe("cx-dialog")
|
|
1866
1866
|
], et.prototype, "dialogEl", 2);
|
|
1867
|
-
|
|
1867
|
+
Nt([
|
|
1868
1868
|
f({ reflect: !0, type: Boolean })
|
|
1869
1869
|
], et.prototype, "open", 2);
|
|
1870
|
-
|
|
1870
|
+
Nt([
|
|
1871
1871
|
f({ attribute: !1 })
|
|
1872
1872
|
], et.prototype, "entries", 2);
|
|
1873
|
-
|
|
1873
|
+
Nt([
|
|
1874
1874
|
T()
|
|
1875
1875
|
], et.prototype, "firstColumnData", 2);
|
|
1876
|
-
|
|
1876
|
+
Nt([
|
|
1877
1877
|
T()
|
|
1878
1878
|
], et.prototype, "secondColumnData", 2);
|
|
1879
|
-
|
|
1879
|
+
Nt([
|
|
1880
1880
|
T()
|
|
1881
1881
|
], et.prototype, "visibleFields", 2);
|
|
1882
|
-
|
|
1882
|
+
Nt([
|
|
1883
1883
|
H("entries")
|
|
1884
1884
|
], et.prototype, "handleEntriesChange", 1);
|
|
1885
|
-
et =
|
|
1885
|
+
et = Nt([
|
|
1886
1886
|
He("cx-table-column-editor")
|
|
1887
1887
|
], et);
|
|
1888
1888
|
const Rl = Q`:host{align-items:center;width:100%;display:flex}:host([pagination-placement=bottom-start]){justify-content:flex-start}:host([pagination-placement=bottom-center]){justify-content:center}:host([pagination-placement=bottom-end]){justify-content:flex-end}`;
|
|
@@ -1893,7 +1893,7 @@ var Sl = Object.defineProperty, Dl = Object.getOwnPropertyDescriptor, vn = (r, e
|
|
|
1893
1893
|
};
|
|
1894
1894
|
let Di = class extends Ie {
|
|
1895
1895
|
constructor() {
|
|
1896
|
-
super(...arguments), this.paginationPlacement =
|
|
1896
|
+
super(...arguments), this.paginationPlacement = Qi.TopEnd;
|
|
1897
1897
|
}
|
|
1898
1898
|
render() {
|
|
1899
1899
|
return E`<slot name="pagination"></slot>`;
|
|
@@ -1906,11 +1906,11 @@ vn([
|
|
|
1906
1906
|
Di = vn([
|
|
1907
1907
|
He("cx-table-footer")
|
|
1908
1908
|
], Di);
|
|
1909
|
-
const
|
|
1910
|
-
var
|
|
1909
|
+
const kl = Q`:host{display:contents}cx-popup::part(popup){z-index:var(--cx-z-index-dropdown)}`;
|
|
1910
|
+
var Ml = Object.defineProperty, Tl = Object.getOwnPropertyDescriptor, Vt = (r, e, t, i) => {
|
|
1911
1911
|
for (var s = i > 1 ? void 0 : i ? Tl(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
1912
1912
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
1913
|
-
return i && s &&
|
|
1913
|
+
return i && s && Ml(e, t, s), s;
|
|
1914
1914
|
};
|
|
1915
1915
|
let tt = class extends Ie {
|
|
1916
1916
|
constructor() {
|
|
@@ -1956,39 +1956,39 @@ let tt = class extends Ie {
|
|
|
1956
1956
|
return E`<cx-popup ?active=${this.open} .anchor=${this.virtualAnchor} strategy="overlay" placement="bottom-start" flip shift @cx-opened=${this.handlePopupOpened}><cx-menu @cx-select=${this.handleMenuSelect}><cx-menu-item data-action=${Si.EditColumns}><cx-icon slot="prefix" name="edit"></cx-icon>${this.localize.term("editColumns")}</cx-menu-item><cx-menu-item data-action=${Si.HideColumn} ?disabled=${this.hideDisabled}><cx-icon slot="prefix" name="visibility_off"></cx-icon>${this.localize.term("hideColumn")}</cx-menu-item></cx-menu></cx-popup>`;
|
|
1957
1957
|
}
|
|
1958
1958
|
};
|
|
1959
|
-
tt.styles = [Ge,
|
|
1959
|
+
tt.styles = [Ge, kl];
|
|
1960
1960
|
tt.dependencies = {
|
|
1961
1961
|
"cx-icon": lt,
|
|
1962
1962
|
"cx-menu": ci,
|
|
1963
1963
|
"cx-menu-item": di,
|
|
1964
1964
|
"cx-popup": xa
|
|
1965
1965
|
};
|
|
1966
|
-
|
|
1966
|
+
Vt([
|
|
1967
1967
|
pe("cx-menu-item")
|
|
1968
1968
|
], tt.prototype, "firstMenuItem", 2);
|
|
1969
|
-
|
|
1969
|
+
Vt([
|
|
1970
1970
|
f({ reflect: !0, type: Boolean })
|
|
1971
1971
|
], tt.prototype, "open", 2);
|
|
1972
|
-
|
|
1972
|
+
Vt([
|
|
1973
1973
|
f({ attribute: "point-x", type: Number })
|
|
1974
1974
|
], tt.prototype, "pointX", 2);
|
|
1975
|
-
|
|
1975
|
+
Vt([
|
|
1976
1976
|
f({ attribute: "point-y", type: Number })
|
|
1977
1977
|
], tt.prototype, "pointY", 2);
|
|
1978
|
-
|
|
1978
|
+
Vt([
|
|
1979
1979
|
f({ type: String })
|
|
1980
1980
|
], tt.prototype, "field", 2);
|
|
1981
|
-
|
|
1981
|
+
Vt([
|
|
1982
1982
|
f({ attribute: "hide-disabled", type: Boolean })
|
|
1983
1983
|
], tt.prototype, "hideDisabled", 2);
|
|
1984
|
-
|
|
1984
|
+
Vt([
|
|
1985
1985
|
H("open", { waitUntilFirstUpdate: !0 })
|
|
1986
1986
|
], tt.prototype, "handleOpenChange", 1);
|
|
1987
|
-
tt =
|
|
1987
|
+
tt = Vt([
|
|
1988
1988
|
He("cx-table-header-menu")
|
|
1989
1989
|
], tt);
|
|
1990
1990
|
const Fl = Q`.table-row-actions__button::part(label),.table-row-actions__dropdown__trigger::part(label){padding:0 var(--cx-spacing-x-small)}.table-row-actions__menu-item::part(checked-icon){display:none}`;
|
|
1991
|
-
var Ll = Object.defineProperty, zl = Object.getOwnPropertyDescriptor,
|
|
1991
|
+
var Ll = Object.defineProperty, zl = Object.getOwnPropertyDescriptor, Xt = (r, e, t, i) => {
|
|
1992
1992
|
for (var s = i > 1 ? void 0 : i ? zl(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
1993
1993
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
1994
1994
|
return i && s && Ll(e, t, s), s;
|
|
@@ -2052,41 +2052,41 @@ gt.dependencies = {
|
|
|
2052
2052
|
"cx-menu": ci,
|
|
2053
2053
|
"cx-menu-item": di,
|
|
2054
2054
|
"cx-menu-section": Ra,
|
|
2055
|
-
"cx-tooltip":
|
|
2055
|
+
"cx-tooltip": Ht
|
|
2056
2056
|
};
|
|
2057
|
-
|
|
2057
|
+
Xt([
|
|
2058
2058
|
f({
|
|
2059
2059
|
type: Object
|
|
2060
2060
|
})
|
|
2061
2061
|
], gt.prototype, "action", 2);
|
|
2062
|
-
|
|
2062
|
+
Xt([
|
|
2063
2063
|
f({
|
|
2064
2064
|
type: Object
|
|
2065
2065
|
})
|
|
2066
2066
|
], gt.prototype, "row", 2);
|
|
2067
|
-
|
|
2067
|
+
Xt([
|
|
2068
2068
|
f({
|
|
2069
2069
|
type: Object
|
|
2070
2070
|
})
|
|
2071
2071
|
], gt.prototype, "cell", 2);
|
|
2072
|
-
|
|
2072
|
+
Xt([
|
|
2073
2073
|
T()
|
|
2074
2074
|
], gt.prototype, "groupedDropdownItems", 2);
|
|
2075
|
-
|
|
2075
|
+
Xt([
|
|
2076
2076
|
T()
|
|
2077
2077
|
], gt.prototype, "sections", 2);
|
|
2078
|
-
|
|
2078
|
+
Xt([
|
|
2079
2079
|
H("action")
|
|
2080
2080
|
], gt.prototype, "handleActionChange", 1);
|
|
2081
|
-
gt =
|
|
2081
|
+
gt = Xt([
|
|
2082
2082
|
He("cx-table-row-actions-dropdown")
|
|
2083
2083
|
], gt);
|
|
2084
|
-
var _l = Object.defineProperty, Ol = Object.getOwnPropertyDescriptor,
|
|
2084
|
+
var _l = Object.defineProperty, Ol = Object.getOwnPropertyDescriptor, es = (r, e, t, i) => {
|
|
2085
2085
|
for (var s = i > 1 ? void 0 : i ? Ol(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
2086
2086
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
2087
2087
|
return i && s && _l(e, t, s), s;
|
|
2088
2088
|
};
|
|
2089
|
-
let
|
|
2089
|
+
let Pt = class extends Ie {
|
|
2090
2090
|
constructor() {
|
|
2091
2091
|
super(...arguments), this.actions = [];
|
|
2092
2092
|
}
|
|
@@ -2123,30 +2123,30 @@ let It = class extends Ie {
|
|
|
2123
2123
|
)}</cx-space>`;
|
|
2124
2124
|
}
|
|
2125
2125
|
};
|
|
2126
|
-
|
|
2127
|
-
|
|
2126
|
+
Pt.styles = [Ge, Fl];
|
|
2127
|
+
Pt.dependencies = {
|
|
2128
2128
|
"cx-button": Et,
|
|
2129
2129
|
"cx-icon": lt,
|
|
2130
2130
|
"cx-space": Ti,
|
|
2131
2131
|
"cx-table-row-actions-dropdown": gt,
|
|
2132
|
-
"cx-tooltip":
|
|
2132
|
+
"cx-tooltip": Ht
|
|
2133
2133
|
};
|
|
2134
|
-
|
|
2134
|
+
es([
|
|
2135
2135
|
f({ type: Array })
|
|
2136
|
-
],
|
|
2137
|
-
|
|
2136
|
+
], Pt.prototype, "actions", 2);
|
|
2137
|
+
es([
|
|
2138
2138
|
f({
|
|
2139
2139
|
type: Object
|
|
2140
2140
|
})
|
|
2141
|
-
],
|
|
2142
|
-
|
|
2141
|
+
], Pt.prototype, "row", 2);
|
|
2142
|
+
es([
|
|
2143
2143
|
f({
|
|
2144
2144
|
type: Object
|
|
2145
2145
|
})
|
|
2146
|
-
],
|
|
2147
|
-
|
|
2146
|
+
], Pt.prototype, "cell", 2);
|
|
2147
|
+
Pt = es([
|
|
2148
2148
|
He("cx-table-row-actions")
|
|
2149
|
-
],
|
|
2149
|
+
], Pt);
|
|
2150
2150
|
var Al = Object.defineProperty, Pl = Object.getOwnPropertyDescriptor, Fi = (r, e, t, i) => {
|
|
2151
2151
|
for (var s = i > 1 ? void 0 : i ? Pl(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
2152
2152
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
@@ -2251,12 +2251,12 @@ Fi([
|
|
|
2251
2251
|
xt = Fi([
|
|
2252
2252
|
He("cx-table-dropdown-filter")
|
|
2253
2253
|
], xt);
|
|
2254
|
-
var Il = Object.defineProperty, Hl = Object.getOwnPropertyDescriptor,
|
|
2254
|
+
var Il = Object.defineProperty, Hl = Object.getOwnPropertyDescriptor, ts = (r, e, t, i) => {
|
|
2255
2255
|
for (var s = i > 1 ? void 0 : i ? Hl(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
2256
2256
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
2257
2257
|
return i && s && Il(e, t, s), s;
|
|
2258
2258
|
};
|
|
2259
|
-
let
|
|
2259
|
+
let It = class extends Ie {
|
|
2260
2260
|
constructor() {
|
|
2261
2261
|
super(...arguments), this.localize = new it(this), this.groupByOptionIdSet = /* @__PURE__ */ new Set(), this.groupByOptions = [], this.groupByValue = "";
|
|
2262
2262
|
}
|
|
@@ -2313,25 +2313,25 @@ let Ht = class extends Ie {
|
|
|
2313
2313
|
)}</cx-menu></cx-dropdown>`;
|
|
2314
2314
|
}
|
|
2315
2315
|
};
|
|
2316
|
-
|
|
2317
|
-
|
|
2316
|
+
It.styles = [Ge];
|
|
2317
|
+
It.dependencies = {
|
|
2318
2318
|
"cx-button": Et,
|
|
2319
2319
|
"cx-dropdown": hi,
|
|
2320
2320
|
"cx-menu": ci,
|
|
2321
2321
|
"cx-menu-item": di
|
|
2322
2322
|
};
|
|
2323
|
-
|
|
2323
|
+
ts([
|
|
2324
2324
|
H("groupByOptions")
|
|
2325
|
-
],
|
|
2326
|
-
|
|
2325
|
+
], It.prototype, "handleGroupByOptionsChange", 1);
|
|
2326
|
+
ts([
|
|
2327
2327
|
f({ attribute: !1, type: Array })
|
|
2328
|
-
],
|
|
2329
|
-
|
|
2328
|
+
], It.prototype, "groupByOptions", 2);
|
|
2329
|
+
ts([
|
|
2330
2330
|
f({ attribute: "group-by-value", type: String })
|
|
2331
|
-
],
|
|
2332
|
-
|
|
2331
|
+
], It.prototype, "groupByValue", 2);
|
|
2332
|
+
It = ts([
|
|
2333
2333
|
He("cx-table-group-by-dropdown")
|
|
2334
|
-
],
|
|
2334
|
+
], It);
|
|
2335
2335
|
var Nl = Object.defineProperty, Vl = Object.getOwnPropertyDescriptor, bt = (r, e, t, i) => {
|
|
2336
2336
|
for (var s = i > 1 ? void 0 : i ? Vl(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
2337
2337
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
@@ -2456,7 +2456,7 @@ let ie = class extends Ie {
|
|
|
2456
2456
|
"label",
|
|
2457
2457
|
"pagination",
|
|
2458
2458
|
"add-action"
|
|
2459
|
-
), this.label = "", this.canSearch = !1, this.noAdvancedSearch = !1, this.canAdd = !1, this.addLabel = this.localize.term("add"), this.canExportCsv = !1, this.canExportXml = !1, this.canExportPdf = !1, this.canExportCustom = !1, this.dropdownFilters = [], this.canSaveReport = !1, this.savedSearchURL = "", this.savedSearchItems = [], this.savedSearchPageSizeParam = "PageSize", this.savedSearchPageSize = 10, this.savedSearchPageNumberParam = "PageNumber", this.showSavedSearch = !1, this.groupByOptions = [], this.groupByValue = "", this.searchValue = "", this.selectAllState = null, this.paginationPlacement =
|
|
2459
|
+
), this.label = "", this.canSearch = !1, this.noAdvancedSearch = !1, this.canAdd = !1, this.addLabel = this.localize.term("add"), this.canExportCsv = !1, this.canExportXml = !1, this.canExportPdf = !1, this.canExportCustom = !1, this.dropdownFilters = [], this.canSaveReport = !1, this.savedSearchURL = "", this.savedSearchItems = [], this.savedSearchPageSizeParam = "PageSize", this.savedSearchPageSize = 10, this.savedSearchPageNumberParam = "PageNumber", this.showSavedSearch = !1, this.groupByOptions = [], this.groupByValue = "", this.searchValue = "", this.selectAllState = null, this.paginationPlacement = Qi.TopEnd, this.pagination = !1, this.noHeaderRowReserve = !1, this.hasDynamicFilter = !1;
|
|
2460
2460
|
}
|
|
2461
2461
|
handleSelectAllChange(r) {
|
|
2462
2462
|
const e = r.target;
|
|
@@ -2605,9 +2605,9 @@ ie.dependencies = {
|
|
|
2605
2605
|
"cx-pagination": Sa,
|
|
2606
2606
|
"cx-space": Ti,
|
|
2607
2607
|
"cx-table-dropdown-filter": xt,
|
|
2608
|
-
"cx-table-group-by-dropdown":
|
|
2608
|
+
"cx-table-group-by-dropdown": It,
|
|
2609
2609
|
"cx-table-saved-search-dropdown": je,
|
|
2610
|
-
"cx-tooltip":
|
|
2610
|
+
"cx-tooltip": Ht,
|
|
2611
2611
|
"cx-typography": tn
|
|
2612
2612
|
};
|
|
2613
2613
|
oe([
|
|
@@ -3076,13 +3076,13 @@ class I extends Le {
|
|
|
3076
3076
|
this.table.alertManager?.clear();
|
|
3077
3077
|
}
|
|
3078
3078
|
}
|
|
3079
|
-
const
|
|
3079
|
+
const Mo = class Mo extends I {
|
|
3080
3080
|
constructor(e) {
|
|
3081
3081
|
super(e), this.registerTableOption("tabulatorRole", "grid"), this.registerTableOption("columnGroupRole", "columngroup"), this.registerTableOption("columnHeaderRole", "columnheader"), this.registerTableOption("rowRole", "row"), this.registerTableOption("rowGroupRole", "rowgroup"), this.registerTableOption("cellRole", "gridcell");
|
|
3082
3082
|
}
|
|
3083
3083
|
};
|
|
3084
|
-
|
|
3085
|
-
let vs =
|
|
3084
|
+
Mo.moduleName = "accessibility";
|
|
3085
|
+
let vs = Mo;
|
|
3086
3086
|
const Ul = "tabulator-clickable-cell", Kl = 'button, [role="button"], cx-button, cx-menu-item, cx-dropdown', ql = "hoverMenu", ar = "cx-table-row-action-click", To = class To extends I {
|
|
3087
3087
|
constructor(e) {
|
|
3088
3088
|
super(e), this.cellKeyHandlers = /* @__PURE__ */ new WeakMap(), this.registerColumnOption("clickable"), this.registerColumnOption("clickableActionName"), this.registerColumnOption("clickableEventName");
|
|
@@ -3255,16 +3255,16 @@ const Xl = E`<cx-table-row-actions></cx-table-row-actions>`, ti = class ti exten
|
|
|
3255
3255
|
}
|
|
3256
3256
|
}
|
|
3257
3257
|
getMenuPlacement(e) {
|
|
3258
|
-
return e.dataset[ti.placementDataAttribute] ===
|
|
3258
|
+
return e.dataset[ti.placementDataAttribute] === jt.Right ? jt.Right : jt.Left;
|
|
3259
3259
|
}
|
|
3260
3260
|
applyMenuPosition(e, t, i) {
|
|
3261
3261
|
const s = e.getElement(), o = this.table.rowManager?.element, n = this.table.element;
|
|
3262
3262
|
if (!o || !n) {
|
|
3263
|
-
i ===
|
|
3263
|
+
i === jt.Left ? (t.style.right = "", t.style.left = "0px") : (t.style.left = "", t.style.right = "0px");
|
|
3264
3264
|
return;
|
|
3265
3265
|
}
|
|
3266
3266
|
const a = s.getBoundingClientRect(), l = o.getBoundingClientRect(), h = n.getBoundingClientRect(), c = Math.max(l.left, h.left), d = Math.min(l.right, h.right);
|
|
3267
|
-
if (i ===
|
|
3267
|
+
if (i === jt.Left) {
|
|
3268
3268
|
t.style.right = "", t.style.left = `${Math.max(0, c - a.left)}px`;
|
|
3269
3269
|
return;
|
|
3270
3270
|
}
|
|
@@ -3276,7 +3276,7 @@ const Xl = E`<cx-table-row-actions></cx-table-row-actions>`, ti = class ti exten
|
|
|
3276
3276
|
const i = e.column.definition?.hoverMenu;
|
|
3277
3277
|
if (e.hoverMenuElement && (e.hoverMenuElement.remove(), e.hoverMenuElement = null), i && e.element) {
|
|
3278
3278
|
const s = this.createCxTableRowActions();
|
|
3279
|
-
s.actions = i.data, s.row = e.row.getComponent(), s.cell = e.getComponent(), e.element.appendChild(s), e.hoverMenuElement = s, (i.options?.placement ?? "left") ===
|
|
3279
|
+
s.actions = i.data, s.row = e.row.getComponent(), s.cell = e.getComponent(), e.element.appendChild(s), e.hoverMenuElement = s, (i.options?.placement ?? "left") === jt.Left ? (s.style.right = "", s.style.left = "0px") : (s.style.left = "", s.style.right = "0px"), i.options?.style && Object.assign(s.style, i.options.style);
|
|
3280
3280
|
}
|
|
3281
3281
|
}
|
|
3282
3282
|
};
|
|
@@ -3746,7 +3746,7 @@ class Ds {
|
|
|
3746
3746
|
}
|
|
3747
3747
|
}
|
|
3748
3748
|
const oh = process.env.NODE_ENV === "development";
|
|
3749
|
-
class
|
|
3749
|
+
class is extends Le {
|
|
3750
3750
|
// 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)
|
|
3751
3751
|
constructor(e) {
|
|
3752
3752
|
super(e), this.elementVertical = e.rowManager?.element, this.elementHorizontal = e.columnManager?.element, this.tableElement = e.rowManager?.tableElement, this.verticalFillMode = "fit";
|
|
@@ -3899,7 +3899,7 @@ function hr(r) {
|
|
|
3899
3899
|
const e = globalThis.clipboardData, t = r;
|
|
3900
3900
|
return e ?? r.clipboardData ?? t.originalEvent?.clipboardData ?? void 0;
|
|
3901
3901
|
}
|
|
3902
|
-
const
|
|
3902
|
+
const Mt = class Mt extends I {
|
|
3903
3903
|
// block copy actions not originating from this command
|
|
3904
3904
|
handleCopyEvent(e) {
|
|
3905
3905
|
let t, i, s;
|
|
@@ -3961,7 +3961,7 @@ const Tt = class Tt extends I {
|
|
|
3961
3961
|
setPasteAction(e) {
|
|
3962
3962
|
switch (typeof e) {
|
|
3963
3963
|
case "string": {
|
|
3964
|
-
const t =
|
|
3964
|
+
const t = Mt.pasteActions[e];
|
|
3965
3965
|
t ? this.pasteAction = t : lr && console.warn("Clipboard Error - No such paste action found:", e);
|
|
3966
3966
|
break;
|
|
3967
3967
|
}
|
|
@@ -3973,7 +3973,7 @@ const Tt = class Tt extends I {
|
|
|
3973
3973
|
setPasteParser(e) {
|
|
3974
3974
|
switch (typeof e) {
|
|
3975
3975
|
case "string": {
|
|
3976
|
-
const t =
|
|
3976
|
+
const t = Mt.pasteParsers[e];
|
|
3977
3977
|
t ? this.pasteParser = t : lr && console.warn("Clipboard Error - No such paste parser found:", e);
|
|
3978
3978
|
break;
|
|
3979
3979
|
}
|
|
@@ -4010,8 +4010,8 @@ const Tt = class Tt extends I {
|
|
|
4010
4010
|
return i?.getData && (t = i.getData("text/plain")), t;
|
|
4011
4011
|
}
|
|
4012
4012
|
};
|
|
4013
|
-
|
|
4014
|
-
let
|
|
4013
|
+
Mt.moduleName = "clipboard", Mt.moduleExtensions = hh, Mt.pasteActions = rh, Mt.pasteParsers = nh;
|
|
4014
|
+
let ks = Mt;
|
|
4015
4015
|
class Co {
|
|
4016
4016
|
constructor(e) {
|
|
4017
4017
|
return this._cell = e, new Proxy(this, {
|
|
@@ -4285,7 +4285,7 @@ const Sn = {
|
|
|
4285
4285
|
variableHeight: void 0,
|
|
4286
4286
|
vertAlign: void 0,
|
|
4287
4287
|
width: void 0
|
|
4288
|
-
},
|
|
4288
|
+
}, Bt = process.env.NODE_ENV === "development", Te = class Te extends Le {
|
|
4289
4289
|
constructor(e, t, i) {
|
|
4290
4290
|
super(t.table), this.definition = e, this.parent = t, this.type = "column", this.columns = [], this.cells = [], this.isGroup = !1, this.isRowHeader = i ?? !1, this.element = this.createElement(), this.contentElement = !1, this.titleHolderElement = !1, this.titleElement = !1, this.groupElement = this.createGroupElement(), this.hozAlign = "", this.vertAlign = "", this.field = !1, this.fieldStructure = [], this.getFieldValue = this._getFlatData, this.setFieldValue = this._setFlatData, this.titleDownload = null, this.titleFormatterRendered = !1, this.mapDefinitions(), this.setField(this.definition.field), this.modules = {}, this.width = null, this.widthStyled = "", this.maxWidth = null, this.maxWidthStyled = "", this.maxInitialWidth = null, this.minWidth = null, this.minWidthStyled = "", this.widthFixed = !1, this.hidden = !1, this.component = null, this.definition.columns ? (this.isGroup = !0, this.definition.columns.forEach((s) => {
|
|
4291
4291
|
const o = new Te(s, this);
|
|
@@ -4323,7 +4323,7 @@ const Sn = {
|
|
|
4323
4323
|
}
|
|
4324
4324
|
checkDefinition() {
|
|
4325
4325
|
Object.keys(this.definition).forEach((e) => {
|
|
4326
|
-
|
|
4326
|
+
Bt && !(e in Te.defaultOptionList) && console.warn(
|
|
4327
4327
|
`Invalid column definition option in '${this.field || this.definition.title}' column: ${e}`
|
|
4328
4328
|
);
|
|
4329
4329
|
});
|
|
@@ -4420,7 +4420,7 @@ const Sn = {
|
|
|
4420
4420
|
);
|
|
4421
4421
|
switch (typeof i) {
|
|
4422
4422
|
case "object":
|
|
4423
|
-
i instanceof Node ? e.appendChild(i) : (e.innerHTML = "",
|
|
4423
|
+
i instanceof Node ? e.appendChild(i) : (e.innerHTML = "", Bt && console.warn(
|
|
4424
4424
|
"Format Error - Title formatter has returned a type of object, the only valid formatter object return is an instance of Node, the formatter returned:",
|
|
4425
4425
|
i
|
|
4426
4426
|
));
|
|
@@ -4484,7 +4484,7 @@ const Sn = {
|
|
|
4484
4484
|
}
|
|
4485
4485
|
// attach column to this group
|
|
4486
4486
|
attachColumn(e) {
|
|
4487
|
-
this.groupElement ? (this.columns.push(e), this.groupElement.appendChild(e.getElement()), e.columnRendered()) :
|
|
4487
|
+
this.groupElement ? (this.columns.push(e), this.groupElement.appendChild(e.getElement()), e.columnRendered()) : Bt && console.warn(
|
|
4488
4488
|
"Column Warning - Column being attached to another column instead of column group"
|
|
4489
4489
|
);
|
|
4490
4490
|
}
|
|
@@ -4649,7 +4649,7 @@ const Sn = {
|
|
|
4649
4649
|
this.minWidth = null, this.minWidthStyled = "";
|
|
4650
4650
|
return;
|
|
4651
4651
|
}
|
|
4652
|
-
this.maxWidth && e > this.maxWidth && (e = this.maxWidth,
|
|
4652
|
+
this.maxWidth && e > this.maxWidth && (e = this.maxWidth, Bt && console.warn(
|
|
4653
4653
|
`the minWidth (${e}px) for column '${this.field || ""}' cannot be bigger than its maxWidth (${this.maxWidthStyled})`
|
|
4654
4654
|
)), this.minWidth = e, this.minWidthStyled = e ? e + "px" : "", this.element && (this.element.style.minWidth = this.minWidthStyled), this.cells.forEach((t) => {
|
|
4655
4655
|
t.setMinWidth();
|
|
@@ -4660,7 +4660,7 @@ const Sn = {
|
|
|
4660
4660
|
this.maxWidth = null, this.maxWidthStyled = "";
|
|
4661
4661
|
return;
|
|
4662
4662
|
}
|
|
4663
|
-
this.minWidth !== null && e < this.minWidth && (e = this.minWidth,
|
|
4663
|
+
this.minWidth !== null && e < this.minWidth && (e = this.minWidth, Bt && console.warn(
|
|
4664
4664
|
`the maxWidth (${e}px) for column '${this.field || ""}' cannot be smaller than its minWidth (${this.minWidthStyled})`
|
|
4665
4665
|
)), this.maxWidth = e, this.maxWidthStyled = e ? e + "px" : "", this.element && (this.element.style.maxWidth = this.maxWidthStyled), this.cells.forEach((t) => {
|
|
4666
4666
|
t.setMaxWidth();
|
|
@@ -4734,7 +4734,7 @@ const Sn = {
|
|
|
4734
4734
|
}
|
|
4735
4735
|
updateDefinition(e) {
|
|
4736
4736
|
if (this.isGroup)
|
|
4737
|
-
return
|
|
4737
|
+
return Bt && console.error(
|
|
4738
4738
|
"Column Update Error - The updateDefinition function is only available on ungrouped columns"
|
|
4739
4739
|
), Promise.reject(
|
|
4740
4740
|
"Column Update Error - The updateDefinition function is only available on columns, not column groups"
|
|
@@ -4743,7 +4743,7 @@ const Sn = {
|
|
|
4743
4743
|
const t = { ...this.getDefinition() }, i = Object.assign(t, e);
|
|
4744
4744
|
return this.table.columnManager ? this.table.columnManager.addColumn(i, !1, this).then((s) => (i.field == this.field && (this.field = !1), this.delete().then(() => s.getComponent()))) : Promise.reject("ColumnManager not available");
|
|
4745
4745
|
} else
|
|
4746
|
-
return
|
|
4746
|
+
return Bt && console.error(
|
|
4747
4747
|
"Column Update Error - The updateDefinition function is only available on ungrouped columns"
|
|
4748
4748
|
), Promise.reject(
|
|
4749
4749
|
"Column Update Error - The updateDefinition function is only available on columns, not column groups"
|
|
@@ -5155,7 +5155,7 @@ const ph = {
|
|
|
5155
5155
|
unique: function(r, e, t) {
|
|
5156
5156
|
return r.filter((s, o) => !(s == null || typeof s == "string" && s.trim() === "") && r.indexOf(s) === o).length;
|
|
5157
5157
|
}
|
|
5158
|
-
}, dr = process.env.NODE_ENV === "development",
|
|
5158
|
+
}, dr = process.env.NODE_ENV === "development", Tt = class Tt extends I {
|
|
5159
5159
|
constructor(e) {
|
|
5160
5160
|
super(e), this.topCalcs = [], this.botCalcs = [], this.genColumn = !1, this.topElement = this.createElement(), this.botElement = this.createElement(), this.topRow = !1, this.botRow = !1, this.topInitialized = !1, this.botInitialized = !1, this.blocked = !1, this.recalcAfterBlock = !1, this.registerTableOption("columnCalcs", !0), this.registerColumnOption("topCalc"), this.registerColumnOption("topCalcParams"), this.registerColumnOption("topCalcFormatter"), this.registerColumnOption("topCalcFormatterParams"), this.registerColumnOption("bottomCalc"), this.registerColumnOption("bottomCalcParams"), this.registerColumnOption("bottomCalcFormatter"), this.registerColumnOption("bottomCalcFormatterParams");
|
|
5161
5161
|
}
|
|
@@ -5217,7 +5217,7 @@ const ph = {
|
|
|
5217
5217
|
if (t.topCalc) {
|
|
5218
5218
|
switch (typeof t.topCalc) {
|
|
5219
5219
|
case "string":
|
|
5220
|
-
|
|
5220
|
+
Tt.calculations[t.topCalc] ? i.topCalc = Tt.calculations[t.topCalc] : dr && console.warn(
|
|
5221
5221
|
"Column Calc Error - No such calculation found, ignoring: ",
|
|
5222
5222
|
t.topCalc
|
|
5223
5223
|
);
|
|
@@ -5231,7 +5231,7 @@ const ph = {
|
|
|
5231
5231
|
if (t.bottomCalc) {
|
|
5232
5232
|
switch (typeof t.bottomCalc) {
|
|
5233
5233
|
case "string":
|
|
5234
|
-
|
|
5234
|
+
Tt.calculations[t.bottomCalc] ? i.botCalc = Tt.calculations[t.bottomCalc] : dr && console.warn(
|
|
5235
5235
|
"Column Calc Error - No such calculation found, ignoring: ",
|
|
5236
5236
|
t.bottomCalc
|
|
5237
5237
|
);
|
|
@@ -5395,8 +5395,8 @@ const ph = {
|
|
|
5395
5395
|
this.botRow && (this.table.rtl ? this.botElement.style.paddingLeft = e + "px" : this.botElement.style.paddingRight = e + "px");
|
|
5396
5396
|
}
|
|
5397
5397
|
};
|
|
5398
|
-
|
|
5399
|
-
let
|
|
5398
|
+
Tt.moduleName = "columnCalcs", Tt.calculations = ph;
|
|
5399
|
+
let Ms = Tt;
|
|
5400
5400
|
class Ts extends Fe {
|
|
5401
5401
|
constructor(e = {}, t) {
|
|
5402
5402
|
super(e, t), this.type = "placeholder", this.height = 0, this.outerHeight = 0, this.initialized = !1, this.modules = {}, this.cells = [];
|
|
@@ -5928,7 +5928,7 @@ const ur = process.env.NODE_ENV === "development", xh = function(r, e = {}, t) {
|
|
|
5928
5928
|
}
|
|
5929
5929
|
}), t(i.join(`
|
|
5930
5930
|
`), "application/x-ndjson");
|
|
5931
|
-
}, Dh = process.env.NODE_ENV === "development",
|
|
5931
|
+
}, Dh = process.env.NODE_ENV === "development", kh = function(r, e = {}, t) {
|
|
5932
5932
|
const i = this, s = [], o = [];
|
|
5933
5933
|
let n = {};
|
|
5934
5934
|
const a = e.rowGroupStyles || {
|
|
@@ -5948,18 +5948,18 @@ const ur = process.env.NODE_ENV === "development", xh = function(r, e = {}, t) {
|
|
|
5948
5948
|
return m.columns.forEach((y) => {
|
|
5949
5949
|
let D;
|
|
5950
5950
|
if (y) {
|
|
5951
|
-
let
|
|
5952
|
-
switch (typeof
|
|
5951
|
+
let M = y.value;
|
|
5952
|
+
switch (typeof M) {
|
|
5953
5953
|
case "object":
|
|
5954
|
-
|
|
5954
|
+
M = M !== null ? JSON.stringify(M) : "";
|
|
5955
5955
|
break;
|
|
5956
5956
|
case "undefined":
|
|
5957
|
-
|
|
5957
|
+
M = "";
|
|
5958
5958
|
break;
|
|
5959
5959
|
}
|
|
5960
5960
|
D = {
|
|
5961
5961
|
colSpan: y.width,
|
|
5962
|
-
content:
|
|
5962
|
+
content: M,
|
|
5963
5963
|
rowSpan: y.height
|
|
5964
5964
|
}, w && (D.styles = w), x.push(D);
|
|
5965
5965
|
}
|
|
@@ -5992,10 +5992,10 @@ const ur = process.env.NODE_ENV === "development", xh = function(r, e = {}, t) {
|
|
|
5992
5992
|
e.autoTable && (typeof e.autoTable == "function" ? n = e.autoTable(u) || {} : n = e.autoTable), c && (n.didDrawPage = function(m) {
|
|
5993
5993
|
u.text(c, 40, 30);
|
|
5994
5994
|
}), n.head = s, n.body = o, u.autoTable(n), e.documentProcessing && e.documentProcessing(u), t(u.output("arraybuffer"), "application/pdf");
|
|
5995
|
-
},
|
|
5995
|
+
}, Mh = process.env.NODE_ENV === "development", Th = function(r, e, t) {
|
|
5996
5996
|
const i = this, s = e.sheetName || "Sheet1", o = i.dependencyRegistry.lookup("XLSX");
|
|
5997
5997
|
if (!o?.utils?.book_new) {
|
|
5998
|
-
|
|
5998
|
+
Mh && console.error(
|
|
5999
5999
|
"Download Error - 'xlsx' downloader requires XLSX library to be registered"
|
|
6000
6000
|
);
|
|
6001
6001
|
return;
|
|
@@ -6011,21 +6011,21 @@ const ur = process.env.NODE_ENV === "development", xh = function(r, e = {}, t) {
|
|
|
6011
6011
|
const m = [], w = [], x = {}, y = {
|
|
6012
6012
|
e: {
|
|
6013
6013
|
c: r[0] ? r[0].columns.reduce(
|
|
6014
|
-
(D,
|
|
6014
|
+
(D, M) => D + (M?.width ? M.width : 1),
|
|
6015
6015
|
0
|
|
6016
6016
|
) : 0,
|
|
6017
6017
|
r: r.length
|
|
6018
6018
|
},
|
|
6019
6019
|
s: { c: 0, r: 0 }
|
|
6020
6020
|
};
|
|
6021
|
-
return r.forEach((D,
|
|
6021
|
+
return r.forEach((D, M) => {
|
|
6022
6022
|
const fe = [];
|
|
6023
6023
|
D.columns.forEach((L, ve) => {
|
|
6024
6024
|
L ? (fe.push(
|
|
6025
6025
|
!(L.value instanceof Date) && typeof L.value == "object" ? JSON.stringify(L.value) : L.value
|
|
6026
6026
|
), (L.width > 1 || L.height > -1) && (L.height > 1 || L.width > 1) && w.push({
|
|
6027
|
-
e: { c: ve + L.width - 1, r:
|
|
6028
|
-
s: { c: ve, r:
|
|
6027
|
+
e: { c: ve + L.width - 1, r: M + L.height - 1 },
|
|
6028
|
+
s: { c: ve, r: M }
|
|
6029
6029
|
})) : fe.push("");
|
|
6030
6030
|
}), m.push(fe);
|
|
6031
6031
|
}), o.utils.sheet_add_aoa(x, m), x["!ref"] = o.utils.encode_range(y), w.length && (x["!merges"] = w), x;
|
|
@@ -6061,7 +6061,7 @@ const ur = process.env.NODE_ENV === "development", xh = function(r, e = {}, t) {
|
|
|
6061
6061
|
html: Eh,
|
|
6062
6062
|
json: Rh,
|
|
6063
6063
|
jsonLines: Sh,
|
|
6064
|
-
pdf:
|
|
6064
|
+
pdf: kh,
|
|
6065
6065
|
xlsx: Th
|
|
6066
6066
|
}, Lh = process.env.NODE_ENV === "development", si = class si extends I {
|
|
6067
6067
|
constructor(e) {
|
|
@@ -6426,7 +6426,7 @@ const Vh = {
|
|
|
6426
6426
|
return i;
|
|
6427
6427
|
}
|
|
6428
6428
|
};
|
|
6429
|
-
function
|
|
6429
|
+
function ss(r, e) {
|
|
6430
6430
|
return Vh.lookupFormatter(r, e);
|
|
6431
6431
|
}
|
|
6432
6432
|
function Bh(r, e = {}, t) {
|
|
@@ -6446,7 +6446,7 @@ function Bh(r, e = {}, t) {
|
|
|
6446
6446
|
return h;
|
|
6447
6447
|
}
|
|
6448
6448
|
const o = e.formatterLookup ? e.formatterLookup(r) : s(r);
|
|
6449
|
-
return e.paramsLookup && (i = typeof e.paramsLookup == "function" ? e.paramsLookup(o, r) : e.paramsLookup[o]),
|
|
6449
|
+
return e.paramsLookup && (i = typeof e.paramsLookup == "function" ? e.paramsLookup(o, r) : e.paramsLookup[o]), ss(o).call(this, r, i || {}, t);
|
|
6450
6450
|
}
|
|
6451
6451
|
function $h(r, e, t) {
|
|
6452
6452
|
const i = e.delimiter ?? ",";
|
|
@@ -6487,7 +6487,7 @@ function Xh({
|
|
|
6487
6487
|
return r && (t.style.margin = r), e && Object.assign(t.style, e), t;
|
|
6488
6488
|
}
|
|
6489
6489
|
function Jh(r, e, t) {
|
|
6490
|
-
const i =
|
|
6490
|
+
const i = ss("plaintext"), s = {
|
|
6491
6491
|
style: {
|
|
6492
6492
|
color: "var(--cx-color-neutral-500)",
|
|
6493
6493
|
...e.placeholderStyle
|
|
@@ -6553,7 +6553,7 @@ function Yh(r, e, t) {
|
|
|
6553
6553
|
gap: m,
|
|
6554
6554
|
justifyContent: w,
|
|
6555
6555
|
wrap: x
|
|
6556
|
-
} = e, y = E`<cx-space class="tabulator-composite" style=${Qe(p ?? {})} align-items=${c ?? "center"} ?block=${d} direction=${Z(u)} justify-content=${Z(w)} spacing=${m ?? "3x-small"} wrap=${x ?? "nowrap"}></cx-space>`, D = W(y),
|
|
6556
|
+
} = e, y = E`<cx-space class="tabulator-composite" style=${Qe(p ?? {})} align-items=${c ?? "center"} ?block=${d} direction=${Z(u)} justify-content=${Z(w)} spacing=${m ?? "3x-small"} wrap=${x ?? "nowrap"}></cx-space>`, D = W(y), M = [];
|
|
6557
6557
|
return e.elements.forEach((L) => {
|
|
6558
6558
|
const ve = br({
|
|
6559
6559
|
cell: r,
|
|
@@ -6565,7 +6565,7 @@ function Yh(r, e, t) {
|
|
|
6565
6565
|
return;
|
|
6566
6566
|
let ee = ve;
|
|
6567
6567
|
L.valueMap && (ee = L.valueMap[String(ee)] ?? ee);
|
|
6568
|
-
const z = L.formatter || "plaintext", b =
|
|
6568
|
+
const z = L.formatter || "plaintext", b = ss(z), C = {
|
|
6569
6569
|
getColumn: () => r.getColumn(),
|
|
6570
6570
|
getData: () => i,
|
|
6571
6571
|
getElement: () => r.getElement() || document.createElement("div"),
|
|
@@ -6574,7 +6574,7 @@ function Yh(r, e, t) {
|
|
|
6574
6574
|
getType: () => "cell",
|
|
6575
6575
|
getValue: () => ee,
|
|
6576
6576
|
value: ee
|
|
6577
|
-
}, R = typeof L.formatterParams == "function" ? L.formatterParams(C) : L.formatterParams ?? {},
|
|
6577
|
+
}, R = typeof L.formatterParams == "function" ? L.formatterParams(C) : L.formatterParams ?? {}, k = (he) => {
|
|
6578
6578
|
t && t(he);
|
|
6579
6579
|
};
|
|
6580
6580
|
let S;
|
|
@@ -6583,7 +6583,7 @@ function Yh(r, e, t) {
|
|
|
6583
6583
|
this,
|
|
6584
6584
|
C,
|
|
6585
6585
|
R,
|
|
6586
|
-
|
|
6586
|
+
k
|
|
6587
6587
|
);
|
|
6588
6588
|
} catch {
|
|
6589
6589
|
S = String(ee ?? "");
|
|
@@ -6594,12 +6594,12 @@ function Yh(r, e, t) {
|
|
|
6594
6594
|
spacing: L.spacing,
|
|
6595
6595
|
style: L.style
|
|
6596
6596
|
});
|
|
6597
|
-
typeof S == "string" ? _.textContent = S : S instanceof Node && _.appendChild(S),
|
|
6597
|
+
typeof S == "string" ? _.textContent = S : S instanceof Node && _.appendChild(S), M.push({
|
|
6598
6598
|
separator: L.separator,
|
|
6599
6599
|
wrapper: _
|
|
6600
6600
|
});
|
|
6601
|
-
}),
|
|
6602
|
-
const { separator: ee, wrapper: z } = L, b = ve ===
|
|
6601
|
+
}), M.length === 0 ? void 0 : (M.flatMap((L, ve) => {
|
|
6602
|
+
const { separator: ee, wrapper: z } = L, b = ve === M.length - 1;
|
|
6603
6603
|
if (!ee || b)
|
|
6604
6604
|
return [z];
|
|
6605
6605
|
const C = document.createElement("span");
|
|
@@ -6766,7 +6766,7 @@ function fc(r, e, t) {
|
|
|
6766
6766
|
break;
|
|
6767
6767
|
}
|
|
6768
6768
|
const c = String(s + i), d = document.createElement("a");
|
|
6769
|
-
d.href = c, ["http:", "https:", "mailto:", "tel:", ""].includes(d.protocol) || c.startsWith("#") ? a.setAttribute("href", c) : (pc && console.warn("Link formatter blocked potentially unsafe URL:", c), a.setAttribute("href", "#")), e.target && a.setAttribute("target", e.target), e.rel && a.setAttribute("rel", e.rel), e.download && (typeof o == "function" ? o = o(r) : o = o === !0 ? "" : o, a.setAttribute("download", String(o))), a.innerHTML =
|
|
6769
|
+
d.href = c, ["http:", "https:", "mailto:", "tel:", ""].includes(d.protocol) || c.startsWith("#") ? a.setAttribute("href", c) : (pc && console.warn("Link formatter blocked potentially unsafe URL:", c), a.setAttribute("href", "#")), e.target && a.setAttribute("target", e.target), e.rel && a.setAttribute("rel", e.rel), e.download && (typeof o == "function" ? o = o(r) : o = o === !0 ? "" : o, a.setAttribute("download", String(o))), a.innerHTML = Zi(P(n));
|
|
6770
6770
|
const u = W(
|
|
6771
6771
|
E`<cx-line-clamp lines="1"></cx-line-clamp>`
|
|
6772
6772
|
);
|
|
@@ -6783,7 +6783,7 @@ function bc(r, e, t) {
|
|
|
6783
6783
|
let i = parseFloat(r.getValue()), s = "", o, n, a, l;
|
|
6784
6784
|
const h = e.decimal || ".", c = e.thousand || ",", d = e.negativeSign || "-", p = e.symbol || "", u = !!e.symbolAfter, m = typeof e.precision < "u" ? e.precision : 2;
|
|
6785
6785
|
if (isNaN(i))
|
|
6786
|
-
return
|
|
6786
|
+
return Zi(P(vo(r.getValue())));
|
|
6787
6787
|
i < 0 && (i = Math.abs(i), s = d), o = m !== !1 ? i.toFixed(m) : String(i), o = String(o).split("."), n = o[0];
|
|
6788
6788
|
const w = o.length > 1 ? h + o[1] : "";
|
|
6789
6789
|
if (e.thousand !== !1)
|
|
@@ -6808,7 +6808,7 @@ function vc(r, e) {
|
|
|
6808
6808
|
return o;
|
|
6809
6809
|
}
|
|
6810
6810
|
function yc(r, e) {
|
|
6811
|
-
let t =
|
|
6811
|
+
let t = Zi(P(vo(r.getValue())));
|
|
6812
6812
|
const i = e ?? {};
|
|
6813
6813
|
i.prefix && (t = i.prefix + t), i.suffix && (t = t + i.suffix);
|
|
6814
6814
|
const s = E`<cx-line-clamp lines="1"><span style=${Qe(i.style ?? {})}>${t}</span></cx-line-clamp>`;
|
|
@@ -6930,15 +6930,15 @@ function Dc(r, e) {
|
|
|
6930
6930
|
})
|
|
6931
6931
|
);
|
|
6932
6932
|
}
|
|
6933
|
-
function
|
|
6933
|
+
function kc(r) {
|
|
6934
6934
|
r.addEventListener("click", (e) => {
|
|
6935
6935
|
e.stopPropagation();
|
|
6936
6936
|
}), r.addEventListener("keydown", (e) => {
|
|
6937
6937
|
(e.key === "ArrowLeft" || e.key === "ArrowRight") && e.stopPropagation();
|
|
6938
6938
|
});
|
|
6939
6939
|
}
|
|
6940
|
-
function
|
|
6941
|
-
r.checked = e.getValue() === t, r.setAttribute("aria-label", "Toggle"),
|
|
6940
|
+
function Mc(r, e, t, i) {
|
|
6941
|
+
r.checked = e.getValue() === t, r.setAttribute("aria-label", "Toggle"), kc(r), r.addEventListener("cx-change", () => {
|
|
6942
6942
|
if (r.disabled)
|
|
6943
6943
|
return;
|
|
6944
6944
|
const s = r.checked, o = s ? t : i;
|
|
@@ -6960,7 +6960,7 @@ function Tc(r, e) {
|
|
|
6960
6960
|
const t = W(Rc), { offValue: i, onValue: s } = Sc(e);
|
|
6961
6961
|
e.size && (t.size = e.size);
|
|
6962
6962
|
const o = typeof e.disabled == "function" ? e.disabled : () => !1;
|
|
6963
|
-
return t.disabled = o(r),
|
|
6963
|
+
return t.disabled = o(r), Mc(t, r, s, i), t;
|
|
6964
6964
|
}
|
|
6965
6965
|
const Fc = E`<cx-tag></cx-tag>`;
|
|
6966
6966
|
function Lc(r, e) {
|
|
@@ -6976,7 +6976,7 @@ function Lc(r, e) {
|
|
|
6976
6976
|
return Object.assign(s, i), s.textContent = e?.getTagContent?.(t) ?? e?.tagContentMap?.[t] ?? String(t), s;
|
|
6977
6977
|
}
|
|
6978
6978
|
function zc(r) {
|
|
6979
|
-
return
|
|
6979
|
+
return Zi(P(vo(r.getValue())));
|
|
6980
6980
|
}
|
|
6981
6981
|
function _c(r, e, t) {
|
|
6982
6982
|
const i = r.getValue(), s = r.getElement(), o = e.allowEmpty, n = e.allowTruthy, a = Object.prototype.hasOwnProperty.call(
|
|
@@ -7063,7 +7063,7 @@ function Bc(r, e) {
|
|
|
7063
7063
|
let l = String(t);
|
|
7064
7064
|
return i.prefix && (l = i.prefix + l), i.suffix && (l = l + i.suffix), a.textContent = l, n;
|
|
7065
7065
|
}
|
|
7066
|
-
const
|
|
7066
|
+
const kn = {
|
|
7067
7067
|
adaptable: Bh,
|
|
7068
7068
|
array: $h,
|
|
7069
7069
|
avatar: Wh,
|
|
@@ -7097,8 +7097,8 @@ const Mn = {
|
|
|
7097
7097
|
traffic: Vc,
|
|
7098
7098
|
typography: Bc
|
|
7099
7099
|
};
|
|
7100
|
-
Nh(
|
|
7101
|
-
const
|
|
7100
|
+
Nh(kn);
|
|
7101
|
+
const Ft = class Ft extends I {
|
|
7102
7102
|
constructor(e) {
|
|
7103
7103
|
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");
|
|
7104
7104
|
}
|
|
@@ -7118,14 +7118,14 @@ const Lt = class Lt extends I {
|
|
|
7118
7118
|
}
|
|
7119
7119
|
lookupTypeFormatter(e, t) {
|
|
7120
7120
|
const i = "formatter" + t + "Params", s = {
|
|
7121
|
-
formatter:
|
|
7121
|
+
formatter: Ft.formatters.plaintext,
|
|
7122
7122
|
params: e.definition[i] || {},
|
|
7123
7123
|
textFormatParams: e.definition.textFormatParams || {}
|
|
7124
7124
|
}, o = e.definition["formatter" + t];
|
|
7125
|
-
return s.formatter =
|
|
7125
|
+
return s.formatter = Ft.lookupFormatter(o), s;
|
|
7126
7126
|
}
|
|
7127
7127
|
static lookupFormatter(e) {
|
|
7128
|
-
return
|
|
7128
|
+
return ss(e, Ft.formatters);
|
|
7129
7129
|
}
|
|
7130
7130
|
cellRendered(e) {
|
|
7131
7131
|
const t = e.modules.format;
|
|
@@ -7140,7 +7140,7 @@ const Lt = class Lt extends I {
|
|
|
7140
7140
|
*/
|
|
7141
7141
|
formatHeader(e, t, i) {
|
|
7142
7142
|
let s, o, n, a;
|
|
7143
|
-
return e.definition.titleFormatter ? (s =
|
|
7143
|
+
return e.definition.titleFormatter ? (s = Ft.lookupFormatter(e.definition.titleFormatter), n = (l) => {
|
|
7144
7144
|
e.titleFormatterRendered = l;
|
|
7145
7145
|
}, a = {
|
|
7146
7146
|
getColumn: function() {
|
|
@@ -7200,8 +7200,8 @@ const Lt = class Lt extends I {
|
|
|
7200
7200
|
return this.formatValue(e);
|
|
7201
7201
|
}
|
|
7202
7202
|
};
|
|
7203
|
-
|
|
7204
|
-
let
|
|
7203
|
+
Ft.moduleName = "format", Ft.formatters = kn;
|
|
7204
|
+
let ji = Ft;
|
|
7205
7205
|
const ut = process.env.NODE_ENV === "development", $c = E`<cx-option></cx-option>`, Wc = E`<cx-divider></cx-divider>`;
|
|
7206
7206
|
class jc {
|
|
7207
7207
|
constructor(e, t, i, s, o, n) {
|
|
@@ -7532,9 +7532,9 @@ class jc {
|
|
|
7532
7532
|
return i > s ? 1 : -1;
|
|
7533
7533
|
for (i = y.join(""), s = D.join(""), l = Math.min(i.length, s.length); a < l; )
|
|
7534
7534
|
if (o = i[a], n = s[a++], o !== n) {
|
|
7535
|
-
const
|
|
7536
|
-
if (Number.isFinite(
|
|
7537
|
-
const L = o.startsWith("0") ? Number.parseFloat("." + o) :
|
|
7535
|
+
const M = Number(o), fe = Number(n);
|
|
7536
|
+
if (Number.isFinite(M) && Number.isFinite(fe) && !Number.isNaN(M) && !Number.isNaN(fe)) {
|
|
7537
|
+
const L = o.startsWith("0") ? Number.parseFloat("." + o) : M, ve = n.startsWith("0") ? Number.parseFloat("." + n) : fe;
|
|
7538
7538
|
return L - ve;
|
|
7539
7539
|
} else
|
|
7540
7540
|
return o > n ? 1 : -1;
|
|
@@ -7606,7 +7606,7 @@ class jc {
|
|
|
7606
7606
|
let a = function(d) {
|
|
7607
7607
|
d();
|
|
7608
7608
|
};
|
|
7609
|
-
const l =
|
|
7609
|
+
const l = ji.lookupFormatter(s), h = typeof o == "function" ? o(this.cell.getComponent()) : o || {}, c = {
|
|
7610
7610
|
getColumn: () => this.cell.column.getComponent(),
|
|
7611
7611
|
getData: () => this.cell.row?.getData(),
|
|
7612
7612
|
getElement: () => t,
|
|
@@ -7885,12 +7885,12 @@ const Gc = function(r, e, t, i, s) {
|
|
|
7885
7885
|
}
|
|
7886
7886
|
function m(x) {
|
|
7887
7887
|
const y = document.createElement("span"), D = p.cloneNode(!0);
|
|
7888
|
-
c.push(D), y.addEventListener("mouseenter", (
|
|
7889
|
-
|
|
7890
|
-
}), y.addEventListener("mousemove", (
|
|
7891
|
-
|
|
7892
|
-
}), y.addEventListener("click", (
|
|
7893
|
-
|
|
7888
|
+
c.push(D), y.addEventListener("mouseenter", (M) => {
|
|
7889
|
+
M.stopPropagation(), M.stopImmediatePropagation(), u(x);
|
|
7890
|
+
}), y.addEventListener("mousemove", (M) => {
|
|
7891
|
+
M.stopPropagation(), M.stopImmediatePropagation();
|
|
7892
|
+
}), y.addEventListener("click", (M) => {
|
|
7893
|
+
M.stopPropagation(), M.stopImmediatePropagation(), t(x), n.blur();
|
|
7894
7894
|
}), y.appendChild(D), d.appendChild(y);
|
|
7895
7895
|
}
|
|
7896
7896
|
function w(x) {
|
|
@@ -8092,7 +8092,7 @@ const Gc = function(r, e, t, i, s) {
|
|
|
8092
8092
|
textarea: Jc,
|
|
8093
8093
|
tickCross: Yc,
|
|
8094
8094
|
time: Qc
|
|
8095
|
-
}, Oi = process.env.NODE_ENV === "development",
|
|
8095
|
+
}, Oi = process.env.NODE_ENV === "development", Mn = "tabulator-edit-list-trigger", td = "tabulator-edit-list-trigger-caret", id = E`<button aria-label="Open list editor" class=${Mn} tabindex="-1" type="button"><cx-icon aria-hidden="true" class=${td} name="arrow_drop_down"></cx-icon></button>`, vi = class vi extends I {
|
|
8096
8096
|
constructor(e) {
|
|
8097
8097
|
super(e), this.currentCell = !1, this.mouseClick = !1, this.recursionBlock = !1, this.invalidEdit = !1, this.editedCells = [], this.convertEmptyValues = !1, this.editors = vi.editors, this.registerTableOption("editTriggerEvent", "focus"), this.registerTableOption("editorEmptyValue"), this.registerTableOption(
|
|
8098
8098
|
"editorEmptyValueFunc",
|
|
@@ -8357,7 +8357,7 @@ const Gc = function(r, e, t, i, s) {
|
|
|
8357
8357
|
if (e.column.definition.editor !== "list")
|
|
8358
8358
|
return;
|
|
8359
8359
|
const t = e.getElement(!0);
|
|
8360
|
-
if (!t || t.classList.contains("tabulator-editing") || t.querySelector(`.${
|
|
8360
|
+
if (!t || t.classList.contains("tabulator-editing") || t.querySelector(`.${Mn}`))
|
|
8361
8361
|
return;
|
|
8362
8362
|
const i = W(
|
|
8363
8363
|
id
|
|
@@ -8519,7 +8519,7 @@ const sd = {}, od = {
|
|
|
8519
8519
|
return this.rowManager?.getVisibleRows(!1, !0) || [];
|
|
8520
8520
|
}
|
|
8521
8521
|
};
|
|
8522
|
-
class
|
|
8522
|
+
class ls {
|
|
8523
8523
|
constructor(e, t, i, s, o) {
|
|
8524
8524
|
this.value = e, this.component = t, this.width = i ?? 1, this.height = s ?? 1, this.depth = o ?? 1;
|
|
8525
8525
|
}
|
|
@@ -8529,7 +8529,7 @@ class yr {
|
|
|
8529
8529
|
this.type = e, this.columns = t, this.component = i ?? !1, this.indent = s ?? 0;
|
|
8530
8530
|
}
|
|
8531
8531
|
}
|
|
8532
|
-
const rd = process.env.NODE_ENV === "development",
|
|
8532
|
+
const rd = process.env.NODE_ENV === "development", Lt = class Lt extends I {
|
|
8533
8533
|
constructor(e) {
|
|
8534
8534
|
super(e), this.config = {}, this.cloneTableStyle = !0, this.colVisProp = "", this.colVisPropAttach = "", this.registerTableOption("htmlOutputConfig", !1), this.registerColumnOption("htmlOutput"), this.registerColumnOption("titleHtmlOutput");
|
|
8535
8535
|
}
|
|
@@ -8541,7 +8541,7 @@ const rd = process.env.NODE_ENV === "development", zt = class zt extends I {
|
|
|
8541
8541
|
// /////////////////////////////////
|
|
8542
8542
|
generateExportList(e, t, i, s) {
|
|
8543
8543
|
let o, n;
|
|
8544
|
-
this.cloneTableStyle = t, this.config = e || {}, this.colVisProp = s, this.colVisPropAttach = this.colVisProp.charAt(0).toUpperCase() + this.colVisProp.slice(1), typeof i == "string" && (n =
|
|
8544
|
+
this.cloneTableStyle = t, this.config = e || {}, this.colVisProp = s, this.colVisPropAttach = this.colVisProp.charAt(0).toUpperCase() + this.colVisProp.slice(1), typeof i == "string" && (n = Lt.columnLookups[i]), n && (o = n.call(this.table), o = o.filter((c) => this.columnVisCheck(c)));
|
|
8545
8545
|
const a = this.config?.columnHeaders === !1 ? [] : this.headersToExportRows(this.generateColumnGroupHeaders(o)), l = o ? o.map((c) => c.getComponent()) : [], h = this.bodyToExportRows(this.rowLookup(i), l);
|
|
8546
8546
|
return a.concat(h);
|
|
8547
8547
|
}
|
|
@@ -8557,7 +8557,7 @@ const rd = process.env.NODE_ENV === "development", zt = class zt extends I {
|
|
|
8557
8557
|
const o = this.table.rowManager?.findRow(s);
|
|
8558
8558
|
o && t.push(o);
|
|
8559
8559
|
});
|
|
8560
|
-
else if (i =
|
|
8560
|
+
else if (i = Lt.rowLookups[e] || Lt.rowLookups.active, i) {
|
|
8561
8561
|
const s = i.call(this.table);
|
|
8562
8562
|
Array.isArray(s) && t.push(...s);
|
|
8563
8563
|
}
|
|
@@ -8620,7 +8620,7 @@ const rd = process.env.NODE_ENV === "development", zt = class zt extends I {
|
|
|
8620
8620
|
if (l) {
|
|
8621
8621
|
const h = l.title ?? "";
|
|
8622
8622
|
a.push(
|
|
8623
|
-
new
|
|
8623
|
+
new ls(
|
|
8624
8624
|
h,
|
|
8625
8625
|
l.column.getComponent(),
|
|
8626
8626
|
l.width,
|
|
@@ -8657,7 +8657,7 @@ const rd = process.env.NODE_ENV === "development", zt = class zt extends I {
|
|
|
8657
8657
|
switch (n.type) {
|
|
8658
8658
|
case "group":
|
|
8659
8659
|
h = n.level, l.push(
|
|
8660
|
-
new
|
|
8660
|
+
new ls(
|
|
8661
8661
|
n.key,
|
|
8662
8662
|
n.getComponent(),
|
|
8663
8663
|
s.length,
|
|
@@ -8669,7 +8669,7 @@ const rd = process.env.NODE_ENV === "development", zt = class zt extends I {
|
|
|
8669
8669
|
case "row":
|
|
8670
8670
|
s.forEach((c) => {
|
|
8671
8671
|
l.push(
|
|
8672
|
-
new
|
|
8672
|
+
new ls(c._column.getFieldValue(a), c, 1, 1)
|
|
8673
8673
|
);
|
|
8674
8674
|
}), this.table.options.dataTree && this.config?.dataTree !== !1 && (h = n.modules.dataTree?.index || 0);
|
|
8675
8675
|
break;
|
|
@@ -8985,8 +8985,8 @@ const rd = process.env.NODE_ENV === "development", zt = class zt extends I {
|
|
|
8985
8985
|
}
|
|
8986
8986
|
}
|
|
8987
8987
|
};
|
|
8988
|
-
|
|
8989
|
-
let _s =
|
|
8988
|
+
Lt.moduleName = "export", Lt.columnLookups = sd, Lt.rowLookups = od;
|
|
8989
|
+
let _s = Lt;
|
|
8990
8990
|
const Cr = process.env.NODE_ENV === "development", nd = {
|
|
8991
8991
|
// not equal to
|
|
8992
8992
|
"!=": function(r, e, t, i) {
|
|
@@ -9050,10 +9050,10 @@ const Cr = process.env.NODE_ENV === "development", nd = {
|
|
|
9050
9050
|
return r == null ? e === r : e != null ? String(e).toLowerCase().startsWith(r.toLowerCase()) : !1;
|
|
9051
9051
|
}
|
|
9052
9052
|
}, ad = /<[^>]*>/g;
|
|
9053
|
-
function
|
|
9053
|
+
function os(r) {
|
|
9054
9054
|
return !!r && typeof r == "object" && !Array.isArray(r) && typeof r != "function";
|
|
9055
9055
|
}
|
|
9056
|
-
function
|
|
9056
|
+
function Gi(r, e, t) {
|
|
9057
9057
|
e != null && (t !== void 0 && e === t || r.push(e));
|
|
9058
9058
|
}
|
|
9059
9059
|
function ld(r) {
|
|
@@ -9097,11 +9097,11 @@ function dd(r, e) {
|
|
|
9097
9097
|
continue;
|
|
9098
9098
|
let d = c;
|
|
9099
9099
|
const p = h?.valueMap;
|
|
9100
|
-
if (
|
|
9100
|
+
if (os(p)) {
|
|
9101
9101
|
const u = p[String(c)];
|
|
9102
9102
|
u !== void 0 && (d = u);
|
|
9103
9103
|
}
|
|
9104
|
-
if (!cd(h, d, s) && (d !== c &&
|
|
9104
|
+
if (!cd(h, d, s) && (d !== c && Gi(l, d, c), h?.formatter !== void 0)) {
|
|
9105
9105
|
const u = Ro({
|
|
9106
9106
|
columnField: e,
|
|
9107
9107
|
formatter: h.formatter,
|
|
@@ -9112,14 +9112,14 @@ function dd(r, e) {
|
|
|
9112
9112
|
table: n
|
|
9113
9113
|
});
|
|
9114
9114
|
for (const m of u)
|
|
9115
|
-
|
|
9115
|
+
Gi(l, m, c);
|
|
9116
9116
|
}
|
|
9117
9117
|
}
|
|
9118
9118
|
return l;
|
|
9119
9119
|
}
|
|
9120
9120
|
function ud(r) {
|
|
9121
9121
|
const { formatterParams: e, rawValue: t } = r;
|
|
9122
|
-
if (!
|
|
9122
|
+
if (!os(e))
|
|
9123
9123
|
return [];
|
|
9124
9124
|
const i = e[String(t)];
|
|
9125
9125
|
return i == null || i === t ? [] : [i];
|
|
@@ -9149,12 +9149,12 @@ function fd(r) {
|
|
|
9149
9149
|
if (typeof s == "function") {
|
|
9150
9150
|
const n = Ae(() => s(t));
|
|
9151
9151
|
if (typeof n == "string" && n.length > 0)
|
|
9152
|
-
return
|
|
9152
|
+
return Gi(i, n, t), i;
|
|
9153
9153
|
}
|
|
9154
9154
|
const o = e?.tagContentMap;
|
|
9155
|
-
if (
|
|
9155
|
+
if (os(o)) {
|
|
9156
9156
|
const n = o[String(t)];
|
|
9157
|
-
|
|
9157
|
+
Gi(i, n, t);
|
|
9158
9158
|
}
|
|
9159
9159
|
return i;
|
|
9160
9160
|
}
|
|
@@ -9187,7 +9187,7 @@ function gd(r) {
|
|
|
9187
9187
|
let y = w + x;
|
|
9188
9188
|
return i.negativeSign === !0 ? (y = "(" + y + ")", [h ? y + l : l + y]) : [h ? p + y + l : p + l + y];
|
|
9189
9189
|
}
|
|
9190
|
-
const
|
|
9190
|
+
const hs = /* @__PURE__ */ new WeakMap();
|
|
9191
9191
|
function xr(r) {
|
|
9192
9192
|
const e = {
|
|
9193
9193
|
style: r.type ?? "decimal",
|
|
@@ -9208,10 +9208,10 @@ function xr(r) {
|
|
|
9208
9208
|
function bd(r) {
|
|
9209
9209
|
if (!r || typeof r != "object")
|
|
9210
9210
|
return Ae(() => new Intl.NumberFormat(void 0, xr({}))) ?? null;
|
|
9211
|
-
if (
|
|
9212
|
-
return
|
|
9211
|
+
if (hs.has(r))
|
|
9212
|
+
return hs.get(r) ?? null;
|
|
9213
9213
|
const e = Ae(() => new Intl.NumberFormat(void 0, xr(r))) ?? null;
|
|
9214
|
-
return
|
|
9214
|
+
return hs.set(r, e), e;
|
|
9215
9215
|
}
|
|
9216
9216
|
function wd(r) {
|
|
9217
9217
|
const { formatterParams: e, rawValue: t } = r;
|
|
@@ -9235,7 +9235,7 @@ function Fn(r) {
|
|
|
9235
9235
|
function Ln(r, e, t) {
|
|
9236
9236
|
return r.isDateTime(e) ? e : t === "iso" ? r.fromISO(String(e)) : r.fromFormat(String(e), t);
|
|
9237
9237
|
}
|
|
9238
|
-
function
|
|
9238
|
+
function $i(r, e) {
|
|
9239
9239
|
return typeof r == "string" && r.length > 0 && r !== e ? [r] : [];
|
|
9240
9240
|
}
|
|
9241
9241
|
function vd(r) {
|
|
@@ -9244,20 +9244,20 @@ function vd(r) {
|
|
|
9244
9244
|
return [];
|
|
9245
9245
|
const a = o.inputFormat ?? "yyyy-MM-dd HH:mm:ss", l = o.outputFormat ?? "dd/MM/yyyy HH:mm:ss", h = Ae(() => Ln(s, t, a));
|
|
9246
9246
|
if (!h?.isValid)
|
|
9247
|
-
return
|
|
9247
|
+
return $i(n, t);
|
|
9248
9248
|
const c = o.timezone ? Ae(() => h.setZone(o.timezone)) ?? h : h, d = Ae(() => c.toFormat(l));
|
|
9249
9249
|
return d ? [d] : [];
|
|
9250
9250
|
}
|
|
9251
9251
|
function yd(r) {
|
|
9252
9252
|
const { formatterParams: e, rawValue: t, table: i } = r, s = Fn(i), o = e ?? {}, n = o.invalidPlaceholder ?? "";
|
|
9253
9253
|
if (!s)
|
|
9254
|
-
return
|
|
9254
|
+
return $i(n, t);
|
|
9255
9255
|
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 ? Ae(() => s.now()) : o.date;
|
|
9256
9256
|
if (!d)
|
|
9257
|
-
return
|
|
9257
|
+
return $i(n, t);
|
|
9258
9258
|
const p = Ae(() => Ln(s, t, a));
|
|
9259
9259
|
if (!p?.isValid)
|
|
9260
|
-
return
|
|
9260
|
+
return $i(n, t);
|
|
9261
9261
|
const u = Ae(() => c ? p.diff(d, h).toHuman() + (l ? " " + l : "") : Number.parseInt(String(p.diff(d, h)[h]), 10) + (l ? " " + l : ""));
|
|
9262
9262
|
return u != null ? [u] : [];
|
|
9263
9263
|
}
|
|
@@ -9315,7 +9315,7 @@ function Sd(r, e) {
|
|
|
9315
9315
|
return a.paramsLookup && (typeof a.paramsLookup == "function" ? h = Ae(() => a.paramsLookup(l, {
|
|
9316
9316
|
getData: () => s,
|
|
9317
9317
|
getValue: () => i
|
|
9318
|
-
})) :
|
|
9318
|
+
})) : os(a.paramsLookup) && (h = a.paramsLookup[l])), Ro({
|
|
9319
9319
|
columnField: e,
|
|
9320
9320
|
formatter: l,
|
|
9321
9321
|
formatterParams: h,
|
|
@@ -9358,7 +9358,7 @@ function Ro(r) {
|
|
|
9358
9358
|
const i = Dd[e];
|
|
9359
9359
|
return i ? i(t) : [];
|
|
9360
9360
|
}
|
|
9361
|
-
function
|
|
9361
|
+
function kd(r, e, t, i, s) {
|
|
9362
9362
|
let o;
|
|
9363
9363
|
s?.has(e) ? o = s.get(e) : (o = r?.columnManager?.getColumnByField?.(e) ?? null, s?.set(e, o ?? null));
|
|
9364
9364
|
const n = o?.definition;
|
|
@@ -9690,8 +9690,8 @@ const Pe = process.env.NODE_ENV === "development", pt = class pt extends I {
|
|
|
9690
9690
|
}), h.addEventListener("focus", () => {
|
|
9691
9691
|
const y = this.table.columnManager?.contentsElement, D = this.table.rowManager?.element;
|
|
9692
9692
|
if (y && D && this.table.rowManager && this.table.columnManager) {
|
|
9693
|
-
const
|
|
9694
|
-
|
|
9693
|
+
const M = y.scrollLeft, fe = D.scrollLeft;
|
|
9694
|
+
M !== fe && (this.table.rowManager.scrollHorizontal(M), this.table.columnManager.scrollHorizontal(M));
|
|
9695
9695
|
}
|
|
9696
9696
|
}), d = !1, p = function(y) {
|
|
9697
9697
|
d && clearTimeout(d), d = setTimeout(() => {
|
|
@@ -9802,7 +9802,7 @@ const Pe = process.env.NODE_ENV === "development", pt = class pt extends I {
|
|
|
9802
9802
|
}
|
|
9803
9803
|
if (h(l.value, m, a, c))
|
|
9804
9804
|
return !0;
|
|
9805
|
-
const w =
|
|
9805
|
+
const w = kd(
|
|
9806
9806
|
t,
|
|
9807
9807
|
u,
|
|
9808
9808
|
m,
|
|
@@ -10009,8 +10009,8 @@ const Pe = process.env.NODE_ENV === "development", pt = class pt extends I {
|
|
|
10009
10009
|
}
|
|
10010
10010
|
};
|
|
10011
10011
|
pt.moduleName = "filter", pt.filters = nd;
|
|
10012
|
-
let
|
|
10013
|
-
const
|
|
10012
|
+
let Ui = pt;
|
|
10013
|
+
const Md = process.env.NODE_ENV === "development", Lo = class Lo extends I {
|
|
10014
10014
|
constructor(e) {
|
|
10015
10015
|
super(e), this.leftColumns = [], this.rightColumns = [], this.active = !1, this.blocked = !0, this.registerColumnOption("frozen");
|
|
10016
10016
|
}
|
|
@@ -10067,7 +10067,7 @@ const kd = process.env.NODE_ENV === "development", Lo = class Lo extends I {
|
|
|
10067
10067
|
e.isGroup || !this.frozenCheck(e) || (this.rebuildFrozenLists(), this.layout());
|
|
10068
10068
|
}
|
|
10069
10069
|
frozenCheck(e) {
|
|
10070
|
-
return e.parent instanceof $e && e.parent.isGroup && e.definition.frozen &&
|
|
10070
|
+
return e.parent instanceof $e && e.parent.isGroup && e.definition.frozen && Md && console.warn(
|
|
10071
10071
|
"Frozen Column Error - Parent column group must be frozen, not individual columns or sub column groups"
|
|
10072
10072
|
), e.parent instanceof $e && e.parent.isGroup ? this.frozenCheck(e.parent) : !!e.definition.frozen;
|
|
10073
10073
|
}
|
|
@@ -10647,7 +10647,7 @@ class ei {
|
|
|
10647
10647
|
return this.component ??= new Rn(this), this.component;
|
|
10648
10648
|
}
|
|
10649
10649
|
}
|
|
10650
|
-
const
|
|
10650
|
+
const cs = process.env.NODE_ENV === "development", _o = class _o extends I {
|
|
10651
10651
|
constructor(e) {
|
|
10652
10652
|
super(e), this.groupIDLookups = !1, this.startOpen = [
|
|
10653
10653
|
function() {
|
|
@@ -10702,7 +10702,7 @@ const ds = process.env.NODE_ENV === "development", _o = class _o extends I {
|
|
|
10702
10702
|
if (this.table.options.groupBy) {
|
|
10703
10703
|
let e = this.table.options.groupBy, t = this.table.options.groupStartOpen;
|
|
10704
10704
|
const i = this.table.options.groupHeader;
|
|
10705
|
-
this.allowedValues = this.table.options.groupValues || !1, Array.isArray(e) && Array.isArray(i) && e.length > i.length &&
|
|
10705
|
+
this.allowedValues = this.table.options.groupValues || !1, Array.isArray(e) && Array.isArray(i) && e.length > i.length && cs && console.warn(
|
|
10706
10706
|
"Error creating group headers, groupHeader array is shorter than groupBy array"
|
|
10707
10707
|
), this.headerGenerator = [
|
|
10708
10708
|
function() {
|
|
@@ -10843,7 +10843,7 @@ const ds = process.env.NODE_ENV === "development", _o = class _o extends I {
|
|
|
10843
10843
|
this.table.options.groupValues = e, this.configureGroupSetup(), this.refreshData(), this.trackChanges();
|
|
10844
10844
|
}
|
|
10845
10845
|
setGroupStartOpen(e) {
|
|
10846
|
-
this.table.options.groupStartOpen = e, this.configureGroupSetup(), this.table.options.groupBy ? (this.refreshData(), this.trackChanges()) :
|
|
10846
|
+
this.table.options.groupStartOpen = e, this.configureGroupSetup(), this.table.options.groupBy ? (this.refreshData(), this.trackChanges()) : cs && console.warn(
|
|
10847
10847
|
"Grouping Update - cant refresh view, no groups have been set"
|
|
10848
10848
|
);
|
|
10849
10849
|
}
|
|
@@ -10862,7 +10862,7 @@ const ds = process.env.NODE_ENV === "development", _o = class _o extends I {
|
|
|
10862
10862
|
});
|
|
10863
10863
|
}
|
|
10864
10864
|
setGroupHeader(e) {
|
|
10865
|
-
this.table.options.groupHeader = e || void 0, this.configureGroupSetup(), this.table.options.groupBy ? (this.refreshData(), this.trackChanges()) :
|
|
10865
|
+
this.table.options.groupHeader = e || void 0, this.configureGroupSetup(), this.table.options.groupBy ? (this.refreshData(), this.trackChanges()) : cs && console.warn(
|
|
10866
10866
|
"Grouping Update - cant refresh view, no groups have been set"
|
|
10867
10867
|
);
|
|
10868
10868
|
}
|
|
@@ -11343,14 +11343,14 @@ let Hs = Oo;
|
|
|
11343
11343
|
function Vd(r) {
|
|
11344
11344
|
return r;
|
|
11345
11345
|
}
|
|
11346
|
-
var
|
|
11346
|
+
var Wi = { exports: {} };
|
|
11347
11347
|
/* @license
|
|
11348
11348
|
Papa Parse
|
|
11349
11349
|
v5.5.4
|
|
11350
11350
|
https://github.com/mholt/PapaParse
|
|
11351
11351
|
License: MIT
|
|
11352
11352
|
*/
|
|
11353
|
-
var Bd =
|
|
11353
|
+
var Bd = Wi.exports, Sr;
|
|
11354
11354
|
function $d() {
|
|
11355
11355
|
return Sr || (Sr = 1, function(r, e) {
|
|
11356
11356
|
((t, i) => {
|
|
@@ -11365,20 +11365,20 @@ function $d() {
|
|
|
11365
11365
|
var R = ve(C);
|
|
11366
11366
|
R.chunkSize = parseInt(R.chunkSize), C.step || C.chunk || (R.chunkSize = null), this._handle = new x(R), (this._handle.streamer = this)._config = R;
|
|
11367
11367
|
}).call(this, b), this.parseChunk = function(C, R) {
|
|
11368
|
-
var
|
|
11369
|
-
if (this.isFirstChunk && 0 <
|
|
11368
|
+
var k = parseInt(this._config.skipFirstNLines) || 0;
|
|
11369
|
+
if (this.isFirstChunk && 0 < k) {
|
|
11370
11370
|
let _ = this._config.newline;
|
|
11371
|
-
_ || (S = this._config.quoteChar || '"', _ = this._handle.guessLineEndings(C, S)), C = [...C.split(_).slice(
|
|
11371
|
+
_ || (S = this._config.quoteChar || '"', _ = this._handle.guessLineEndings(C, S)), C = [...C.split(_).slice(k)].join(_);
|
|
11372
11372
|
}
|
|
11373
11373
|
this.isFirstChunk && z(this._config.beforeFirstChunk) && (S = this._config.beforeFirstChunk(C)) !== void 0 && (C = S), this.isFirstChunk = !1, this._halted = !1;
|
|
11374
|
-
var
|
|
11374
|
+
var k = this._partialLine + C, S = (this._partialLine = "", this._handle.parse(k, this._baseIndex, !this._finished));
|
|
11375
11375
|
if (!this._handle.paused() && !this._handle.aborted()) {
|
|
11376
|
-
if (C = S.meta.cursor,
|
|
11376
|
+
if (C = S.meta.cursor, k = (this._finished || (this._partialLine = k.substring(C - this._baseIndex), this._baseIndex = C), S && S.data && (this._rowCount += S.data.length), this._finished || this._config.preview && this._rowCount >= this._config.preview), n) i.postMessage({ results: S, workerId: h.WORKER_ID, finished: k });
|
|
11377
11377
|
else if (z(this._config.chunk) && !R) {
|
|
11378
11378
|
if (this._config.chunk(S, this._handle), this._handle.paused() || this._handle.aborted()) return void (this._halted = !0);
|
|
11379
11379
|
this._completeResults = S = void 0;
|
|
11380
11380
|
}
|
|
11381
|
-
return this._config.step || this._config.chunk || (this._completeResults.data = this._completeResults.data.concat(S.data), this._completeResults.errors = this._completeResults.errors.concat(S.errors), this._completeResults.meta = S.meta), this._completed || !
|
|
11381
|
+
return this._config.step || this._config.chunk || (this._completeResults.data = this._completeResults.data.concat(S.data), this._completeResults.errors = this._completeResults.errors.concat(S.errors), this._completeResults.meta = S.meta), this._completed || !k || !z(this._config.complete) || S && S.meta.aborted || (this._config.complete(this._completeResults, this._input), this._completed = !0), k || S && S.meta.paused || this._nextChunk(), S;
|
|
11382
11382
|
}
|
|
11383
11383
|
this._halted = !0;
|
|
11384
11384
|
}, this._sendError = function(C) {
|
|
@@ -11397,8 +11397,8 @@ function $d() {
|
|
|
11397
11397
|
if (this._finished) this._chunkLoaded();
|
|
11398
11398
|
else {
|
|
11399
11399
|
if (C = new XMLHttpRequest(), this._config.withCredentials && (C.withCredentials = this._config.withCredentials), o || (C.onload = ee(this._chunkLoaded, this), C.onerror = ee(this._chunkError, this)), C.open(this._config.downloadRequestBody ? "POST" : "GET", this._input, !o), this._config.downloadRequestHeaders) {
|
|
11400
|
-
var R,
|
|
11401
|
-
for (R in
|
|
11400
|
+
var R, k = this._config.downloadRequestHeaders;
|
|
11401
|
+
for (R in k) C.setRequestHeader(R, k[R]);
|
|
11402
11402
|
}
|
|
11403
11403
|
var S;
|
|
11404
11404
|
this._config.chunkSize && (S = this._start + this._config.chunkSize - 1, C.setRequestHeader("Range", "bytes=" + this._start + "-" + S));
|
|
@@ -11417,14 +11417,14 @@ function $d() {
|
|
|
11417
11417
|
}
|
|
11418
11418
|
function u(b) {
|
|
11419
11419
|
(b = b || {}).chunkSize || (b.chunkSize = h.LocalChunkSize), d.call(this, b);
|
|
11420
|
-
var C, R,
|
|
11420
|
+
var C, R, k = typeof FileReader < "u";
|
|
11421
11421
|
this.stream = function(S) {
|
|
11422
|
-
this._input = S, R = S.slice || S.webkitSlice || S.mozSlice,
|
|
11422
|
+
this._input = S, R = S.slice || S.webkitSlice || S.mozSlice, k ? ((C = new FileReader()).onload = ee(this._chunkLoaded, this), C.onerror = ee(this._chunkError, this)) : C = new FileReaderSync(), this._nextChunk();
|
|
11423
11423
|
}, this._nextChunk = function() {
|
|
11424
11424
|
this._finished || this._config.preview && !(this._rowCount < this._config.preview) || this._readChunk();
|
|
11425
11425
|
}, this._readChunk = function() {
|
|
11426
11426
|
var S = this._input, _ = (this._config.chunkSize && (_ = Math.min(this._start + this._config.chunkSize, this._input.size), S = R.call(S, this._start, _)), C.readAsText(S, this._config.encoding));
|
|
11427
|
-
|
|
11427
|
+
k || this._chunkLoaded({ target: { result: _ } });
|
|
11428
11428
|
}, this._chunkLoaded = function(S) {
|
|
11429
11429
|
this._start += this._config.chunkSize, this._finished = !this._config.chunkSize || this._start >= this._input.size, this.parseChunk(S.target.result);
|
|
11430
11430
|
}, this._chunkError = function() {
|
|
@@ -11436,13 +11436,13 @@ function $d() {
|
|
|
11436
11436
|
d.call(this, b = b || {}), this.stream = function(R) {
|
|
11437
11437
|
return C = R, this._nextChunk();
|
|
11438
11438
|
}, this._nextChunk = function() {
|
|
11439
|
-
var R,
|
|
11440
|
-
if (!this._finished) return R = this._config.chunkSize, C = R ? (
|
|
11439
|
+
var R, k;
|
|
11440
|
+
if (!this._finished) return R = this._config.chunkSize, C = R ? (k = C.substring(0, R), C.substring(R)) : (k = C, ""), this._finished = !C, this.parseChunk(k);
|
|
11441
11441
|
};
|
|
11442
11442
|
}
|
|
11443
11443
|
function w(b) {
|
|
11444
11444
|
d.call(this, b = b || {});
|
|
11445
|
-
var C = [], R = !0,
|
|
11445
|
+
var C = [], R = !0, k = !1;
|
|
11446
11446
|
this.pause = function() {
|
|
11447
11447
|
d.prototype.pause.apply(this, arguments), this._input.pause();
|
|
11448
11448
|
}, this.resume = function() {
|
|
@@ -11450,7 +11450,7 @@ function $d() {
|
|
|
11450
11450
|
}, this.stream = function(S) {
|
|
11451
11451
|
this._input = S, this._input.on("data", this._streamData), this._input.on("end", this._streamEnd), this._input.on("error", this._streamError);
|
|
11452
11452
|
}, this._checkIsFinished = function() {
|
|
11453
|
-
|
|
11453
|
+
k && C.length === 1 && (this._finished = !0);
|
|
11454
11454
|
}, this._nextChunk = function() {
|
|
11455
11455
|
this._checkIsFinished(), C.length ? this.parseChunk(C.shift()) : R = !0;
|
|
11456
11456
|
}, this._streamData = ee(function(S) {
|
|
@@ -11462,18 +11462,18 @@ function $d() {
|
|
|
11462
11462
|
}, this), this._streamError = ee(function(S) {
|
|
11463
11463
|
this._streamCleanUp(), this._sendError(S);
|
|
11464
11464
|
}, this), this._streamEnd = ee(function() {
|
|
11465
|
-
this._streamCleanUp(),
|
|
11465
|
+
this._streamCleanUp(), k = !0, this._streamData("");
|
|
11466
11466
|
}, this), this._streamCleanUp = ee(function() {
|
|
11467
11467
|
this._input.removeListener("data", this._streamData), this._input.removeListener("end", this._streamEnd), this._input.removeListener("error", this._streamError);
|
|
11468
11468
|
}, this);
|
|
11469
11469
|
}
|
|
11470
11470
|
function x(b) {
|
|
11471
|
-
var C, R,
|
|
11471
|
+
var C, R, k, S, _ = Math.pow(2, 53), he = -_, Ke = /^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/, Ye = /^((\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)))$/, U = this, ge = 0, O = 0, ze = !1, B = !1, q = [], F = { data: [], errors: [], meta: {} };
|
|
11472
11472
|
function qe(Y) {
|
|
11473
11473
|
return b.skipEmptyLines === "greedy" ? Y.join("").trim() === "" : Y.length === 1 && Y[0].length === 0;
|
|
11474
11474
|
}
|
|
11475
11475
|
function ce() {
|
|
11476
|
-
if (F &&
|
|
11476
|
+
if (F && k && (st("Delimiter", "UndetectableDelimiter", "Unable to auto-detect delimiting character; defaulted to '" + h.DefaultDelimiter + "'"), k = !1), b.skipEmptyLines && (F.data = F.data.filter(function(A) {
|
|
11477
11477
|
return !qe(A);
|
|
11478
11478
|
})), ye()) {
|
|
11479
11479
|
let A = function(de, Ce) {
|
|
@@ -11506,15 +11506,15 @@ function $d() {
|
|
|
11506
11506
|
z(b.step) && (S = b.step, b.step = function(Y) {
|
|
11507
11507
|
F = Y, ye() ? ce() : (ce(), F.data.length !== 0 && (ge += Y.data.length, b.preview && ge > b.preview ? R.abort() : (F.data = F.data[0], S(F, U))));
|
|
11508
11508
|
}), this.parse = function(Y, X, be) {
|
|
11509
|
-
var A = b.quoteChar || '"', A = (b.newline || (b.newline = this.guessLineEndings(Y, A)),
|
|
11509
|
+
var A = b.quoteChar || '"', A = (b.newline || (b.newline = this.guessLineEndings(Y, A)), k = !1, b.delimiter ? z(b.delimiter) && (b.delimiter = b.delimiter(Y), F.meta.delimiter = b.delimiter) : ((A = ((de, Ce, re, ne, J) => {
|
|
11510
11510
|
var ot, $, me, Rt;
|
|
11511
11511
|
J = J || [",", " ", "|", ";", h.RECORD_SEP, h.UNIT_SEP];
|
|
11512
|
-
for (var
|
|
11513
|
-
for (var ht, ui = J[
|
|
11512
|
+
for (var Jt = 0; Jt < J.length; Jt++) {
|
|
11513
|
+
for (var ht, ui = J[Jt], _e = 0, ct = 0, Re = 0, Ne = (me = void 0, new D({ comments: ne, delimiter: ui, newline: Ce, preview: 10 }).parse(de)), wt = 0; wt < Ne.data.length; wt++) re && qe(Ne.data[wt]) ? Re++ : (ht = Ne.data[wt].length, ct += ht, me === void 0 ? me = ht : 0 < ht && (_e += Math.abs(ht - me), me = ht));
|
|
11514
11514
|
0 < Ne.data.length && (ct /= Ne.data.length - Re), ($ === void 0 || _e <= $) && (Rt === void 0 || Rt < ct) && 1.99 < ct && ($ = _e, ot = ui, Rt = ct);
|
|
11515
11515
|
}
|
|
11516
11516
|
return { successful: !!(b.delimiter = ot), bestDelimiter: ot };
|
|
11517
|
-
})(Y, b.newline, b.skipEmptyLines, b.comments, b.delimitersToGuess)).successful ? b.delimiter = A.bestDelimiter : (
|
|
11517
|
+
})(Y, b.newline, b.skipEmptyLines, b.comments, b.delimitersToGuess)).successful ? b.delimiter = A.bestDelimiter : (k = !0, b.delimiter = h.DefaultDelimiter), F.meta.delimiter = b.delimiter), ve(b));
|
|
11518
11518
|
return b.preview && b.header && A.preview++, C = Y, R = new D(A), F = R.parse(C, X, be), ce(), ze ? { meta: { paused: !0 } } : F || { meta: { paused: !1 } };
|
|
11519
11519
|
}, this.paused = function() {
|
|
11520
11520
|
return ze;
|
|
@@ -11542,22 +11542,22 @@ function $d() {
|
|
|
11542
11542
|
return b.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
11543
11543
|
}
|
|
11544
11544
|
function D(b) {
|
|
11545
|
-
var C = (b = b || {}).delimiter, R = b.newline,
|
|
11546
|
-
if (b.escapeChar !== void 0 && (ge = b.escapeChar), (typeof C != "string" || -1 < h.BAD_DELIMITERS.indexOf(C)) && (C = ","),
|
|
11547
|
-
|
|
11545
|
+
var C = (b = b || {}).delimiter, R = b.newline, k = b.comments, S = b.step, _ = b.preview, he = b.fastMode, Ke = null, Ye = !1, U = b.quoteChar == null ? '"' : b.quoteChar, ge = U;
|
|
11546
|
+
if (b.escapeChar !== void 0 && (ge = b.escapeChar), (typeof C != "string" || -1 < h.BAD_DELIMITERS.indexOf(C)) && (C = ","), k === C) throw new Error("Comment character same as delimiter");
|
|
11547
|
+
k === !0 ? k = "#" : (typeof k != "string" || -1 < h.BAD_DELIMITERS.indexOf(k)) && (k = !1), R !== `
|
|
11548
11548
|
` && R !== "\r" && R !== `\r
|
|
11549
11549
|
` && (R = `
|
|
11550
11550
|
`);
|
|
11551
11551
|
var O = 0, ze = !1;
|
|
11552
11552
|
this.parse = function(B, q, F) {
|
|
11553
11553
|
if (typeof B != "string") throw new Error("Input must be a string");
|
|
11554
|
-
var qe = B.length, ce = C.length, ye = R.length, st =
|
|
11554
|
+
var qe = B.length, ce = C.length, ye = R.length, st = k.length, Y = z(S), X = [], be = [], A = [], de = O = 0;
|
|
11555
11555
|
if (!B) return _e();
|
|
11556
11556
|
if (he || he !== !1 && B.indexOf(U) === -1) {
|
|
11557
11557
|
for (var Ce = B.split(R), re = 0; re < Ce.length; re++) {
|
|
11558
11558
|
if (A = Ce[re], O += A.length, re !== Ce.length - 1) O += R.length;
|
|
11559
11559
|
else if (F) return _e();
|
|
11560
|
-
if (!
|
|
11560
|
+
if (!k || A.substring(0, st) !== k) {
|
|
11561
11561
|
if (Y) {
|
|
11562
11562
|
if (X = [], Rt(A.split(C)), ct(), ze) return _e();
|
|
11563
11563
|
} else Rt(A.split(C));
|
|
@@ -11572,12 +11572,12 @@ function $d() {
|
|
|
11572
11572
|
if (U === ge && B[$ + 1] === ge) $++;
|
|
11573
11573
|
else if (U === ge || $ === 0 || B[$ - 1] !== ge) {
|
|
11574
11574
|
ne !== -1 && ne < $ + 1 && (ne = B.indexOf(C, $ + 1));
|
|
11575
|
-
var me =
|
|
11575
|
+
var me = Jt((J = J !== -1 && J < $ + 1 ? B.indexOf(R, $ + 1) : J) === -1 ? ne : Math.min(ne, J));
|
|
11576
11576
|
if (B.substr($ + 1 + me, ce) === C) {
|
|
11577
11577
|
A.push(B.substring(O, $).replace(ot, U)), B[O = $ + 1 + me + ce] !== U && ($ = B.indexOf(U, O)), ne = B.indexOf(C, O), J = B.indexOf(R, O);
|
|
11578
11578
|
break;
|
|
11579
11579
|
}
|
|
11580
|
-
if (me =
|
|
11580
|
+
if (me = Jt(J), B.substring($ + 1 + me, $ + 1 + me + ye) === R) {
|
|
11581
11581
|
if (A.push(B.substring(O, $).replace(ot, U)), ui($ + 1 + me + ye), ne = B.indexOf(C, O), $ = B.indexOf(U, O), Y && (ct(), ze)) return _e();
|
|
11582
11582
|
if (_ && X.length >= _) return _e(!0);
|
|
11583
11583
|
break;
|
|
@@ -11585,7 +11585,7 @@ function $d() {
|
|
|
11585
11585
|
be.push({ type: "Quotes", code: "InvalidQuotes", message: "Trailing quote on quoted field is malformed", row: X.length, index: O }), $++;
|
|
11586
11586
|
}
|
|
11587
11587
|
}
|
|
11588
|
-
else if (
|
|
11588
|
+
else if (k && A.length === 0 && B.substring(O, O + st) === k) {
|
|
11589
11589
|
if (J === -1) return _e();
|
|
11590
11590
|
O = J + ye, J = B.indexOf(R, O), ne = B.indexOf(C, O);
|
|
11591
11591
|
} else if (ne !== -1 && (ne < J || J === -1)) A.push(B.substring(O, ne)), O = ne + ce, ne = B.indexOf(C, O);
|
|
@@ -11598,7 +11598,7 @@ function $d() {
|
|
|
11598
11598
|
function Rt(Re) {
|
|
11599
11599
|
X.push(Re), de = O;
|
|
11600
11600
|
}
|
|
11601
|
-
function
|
|
11601
|
+
function Jt(Re) {
|
|
11602
11602
|
var Ne = 0;
|
|
11603
11603
|
return Ne = Re !== -1 && (Re = B.substring($ + 1, Re)) && Re.trim() === "" ? Re.length : Ne;
|
|
11604
11604
|
}
|
|
@@ -11610,16 +11610,16 @@ function $d() {
|
|
|
11610
11610
|
}
|
|
11611
11611
|
function _e(Re) {
|
|
11612
11612
|
if (b.header && !q && X.length && !Ye) {
|
|
11613
|
-
var Ne = X[0], wt = /* @__PURE__ */ Object.create(null),
|
|
11613
|
+
var Ne = X[0], wt = /* @__PURE__ */ Object.create(null), rs = new Set(Ne);
|
|
11614
11614
|
let qo = !1;
|
|
11615
|
-
for (let
|
|
11616
|
-
let dt = c(Ne[
|
|
11617
|
-
if (wt[dt = z(b.transformHeader) ? b.transformHeader(dt,
|
|
11615
|
+
for (let Yt = 0; Yt < Ne.length; Yt++) {
|
|
11616
|
+
let dt = c(Ne[Yt]);
|
|
11617
|
+
if (wt[dt = z(b.transformHeader) ? b.transformHeader(dt, Yt) : dt]) {
|
|
11618
11618
|
let pi, Xo = wt[dt];
|
|
11619
|
-
for (; pi = dt + "_" + Xo, Xo++,
|
|
11620
|
-
|
|
11621
|
-
} else wt[dt] = 1, Ne[
|
|
11622
|
-
|
|
11619
|
+
for (; pi = dt + "_" + Xo, Xo++, rs.has(pi); ) ;
|
|
11620
|
+
rs.add(pi), Ne[Yt] = pi, wt[dt]++, qo = !0, (Ke = Ke === null ? {} : Ke)[pi] = dt;
|
|
11621
|
+
} else wt[dt] = 1, Ne[Yt] = dt;
|
|
11622
|
+
rs.add(dt);
|
|
11623
11623
|
}
|
|
11624
11624
|
qo && console.warn("Duplicate headers found and renamed."), Ye = !0;
|
|
11625
11625
|
}
|
|
@@ -11634,19 +11634,19 @@ function $d() {
|
|
|
11634
11634
|
return O;
|
|
11635
11635
|
};
|
|
11636
11636
|
}
|
|
11637
|
-
function
|
|
11638
|
-
var C = b.data, R = a[C.workerId],
|
|
11637
|
+
function M(b) {
|
|
11638
|
+
var C = b.data, R = a[C.workerId], k = !1;
|
|
11639
11639
|
if (C.error) R.userError(C.error, C.file);
|
|
11640
11640
|
else if (C.results && C.results.data) {
|
|
11641
11641
|
var S = { abort: function() {
|
|
11642
|
-
|
|
11642
|
+
k = !0, fe(C.workerId, { data: [], errors: [], meta: { aborted: !0 } });
|
|
11643
11643
|
}, pause: L, resume: L };
|
|
11644
11644
|
if (z(R.userStep)) {
|
|
11645
|
-
for (var _ = 0; _ < C.results.data.length && (R.userStep({ data: C.results.data[_], errors: C.results.errors, meta: C.results.meta }, S), !
|
|
11645
|
+
for (var _ = 0; _ < C.results.data.length && (R.userStep({ data: C.results.data[_], errors: C.results.errors, meta: C.results.meta }, S), !k); _++) ;
|
|
11646
11646
|
delete C.results;
|
|
11647
11647
|
} else z(R.userChunk) && (R.userChunk(C.results, S, C.file), delete C.results);
|
|
11648
11648
|
}
|
|
11649
|
-
C.finished && !
|
|
11649
|
+
C.finished && !k && fe(C.workerId, C.results);
|
|
11650
11650
|
}
|
|
11651
11651
|
function fe(b, C) {
|
|
11652
11652
|
var R = a[b];
|
|
@@ -11673,19 +11673,19 @@ function $d() {
|
|
|
11673
11673
|
var R = (C = C || {}).dynamicTyping || !1;
|
|
11674
11674
|
if (z(R) && (C.dynamicTypingFunction = R, R = {}), C.dynamicTyping = R, C.transform = !!z(C.transform) && C.transform, !C.worker || !h.WORKERS_SUPPORTED) return R = null, h.NODE_STREAM_INPUT, typeof b == "string" ? (b = c(b), R = new (C.download ? p : m)(C)) : b.readable === !0 && z(b.read) && z(b.on) ? R = new w(C) : (i.File && b instanceof File || b instanceof Object) && (R = new u(C)), R.stream(b);
|
|
11675
11675
|
(R = (() => {
|
|
11676
|
-
var
|
|
11677
|
-
return !!h.WORKERS_SUPPORTED && (
|
|
11676
|
+
var k;
|
|
11677
|
+
return !!h.WORKERS_SUPPORTED && (k = (() => {
|
|
11678
11678
|
var S = i.URL || i.webkitURL || null, _ = t.toString();
|
|
11679
11679
|
return h.BLOB_URL || (h.BLOB_URL = S.createObjectURL(new Blob(["var global = (function() { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } return {}; })(); global.IS_PAPA_WORKER=true; ", "(", _, ")();"], { type: "text/javascript" })));
|
|
11680
|
-
})(), (
|
|
11680
|
+
})(), (k = new i.Worker(k)).onmessage = M, k.id = l++, a[k.id] = k);
|
|
11681
11681
|
})()).userStep = C.step, R.userChunk = C.chunk, R.userComplete = C.complete, R.userError = C.error, C.step = z(C.step), C.chunk = z(C.chunk), C.complete = z(C.complete), C.error = z(C.error), delete C.worker, R.postMessage({ input: b, config: C, workerId: R.id });
|
|
11682
11682
|
}, h.unparse = function(b, C) {
|
|
11683
|
-
var R = !1,
|
|
11683
|
+
var R = !1, k = !0, S = ",", _ = `\r
|
|
11684
11684
|
`, he = '"', Ke = he + he, Ye = !1, U = null, ge = !1, O = ((() => {
|
|
11685
11685
|
if (typeof C == "object") {
|
|
11686
11686
|
if (typeof C.delimiter != "string" || h.BAD_DELIMITERS.filter(function(q) {
|
|
11687
11687
|
return C.delimiter.indexOf(q) !== -1;
|
|
11688
|
-
}).length || (S = C.delimiter), typeof C.quotes != "boolean" && typeof C.quotes != "function" && !Array.isArray(C.quotes) || (R = C.quotes), typeof C.skipEmptyLines != "boolean" && typeof C.skipEmptyLines != "string" || (Ye = C.skipEmptyLines), typeof C.newline == "string" && (_ = C.newline), typeof C.quoteChar == "string" && (he = C.quoteChar, Ke = he + he), typeof C.header == "boolean" && (
|
|
11688
|
+
}).length || (S = C.delimiter), typeof C.quotes != "boolean" && typeof C.quotes != "function" && !Array.isArray(C.quotes) || (R = C.quotes), typeof C.skipEmptyLines != "boolean" && typeof C.skipEmptyLines != "string" || (Ye = C.skipEmptyLines), typeof C.newline == "string" && (_ = C.newline), typeof C.quoteChar == "string" && (he = C.quoteChar, Ke = he + he), typeof C.header == "boolean" && (k = C.header), Array.isArray(C.columns)) {
|
|
11689
11689
|
if (C.columns.length === 0) throw new Error("Option columns is empty");
|
|
11690
11690
|
U = C.columns;
|
|
11691
11691
|
}
|
|
@@ -11699,7 +11699,7 @@ function $d() {
|
|
|
11699
11699
|
throw new Error("Unable to serialize unrecognized input");
|
|
11700
11700
|
function ze(q, F, qe) {
|
|
11701
11701
|
var ce = "", ye = (typeof q == "string" && (q = JSON.parse(q)), typeof F == "string" && (F = JSON.parse(F)), Array.isArray(q) && 0 < q.length), st = !Array.isArray(F[0]);
|
|
11702
|
-
if (ye &&
|
|
11702
|
+
if (ye && k) {
|
|
11703
11703
|
for (var Y = 0; Y < q.length; Y++) 0 < Y && (ce += S), ce += B(q[Y], Y);
|
|
11704
11704
|
0 < F.length && (ce += _);
|
|
11705
11705
|
}
|
|
@@ -11736,8 +11736,8 @@ function $d() {
|
|
|
11736
11736
|
return this.each(function(_) {
|
|
11737
11737
|
if (!(s(this).prop("tagName").toUpperCase() === "INPUT" && s(this).attr("type").toLowerCase() === "file" && i.FileReader) || !this.files || this.files.length === 0) return !0;
|
|
11738
11738
|
for (var he = 0; he < this.files.length; he++) R.push({ file: this.files[he], inputElem: this, instanceConfig: s.extend({}, C) });
|
|
11739
|
-
}),
|
|
11740
|
-
function
|
|
11739
|
+
}), k(), this;
|
|
11740
|
+
function k() {
|
|
11741
11741
|
if (R.length === 0) z(b.complete) && b.complete();
|
|
11742
11742
|
else {
|
|
11743
11743
|
var _, he, Ke, Ye, U = R[0];
|
|
@@ -11756,16 +11756,16 @@ function $d() {
|
|
|
11756
11756
|
}
|
|
11757
11757
|
}
|
|
11758
11758
|
function S() {
|
|
11759
|
-
R.splice(0, 1),
|
|
11759
|
+
R.splice(0, 1), k();
|
|
11760
11760
|
}
|
|
11761
11761
|
}), n && (i.onmessage = function(b) {
|
|
11762
11762
|
b = b.data, h.WORKER_ID === void 0 && b && (h.WORKER_ID = b.workerId), typeof b.input == "string" ? i.postMessage({ workerId: h.WORKER_ID, results: h.parse(b.input, b.config), finished: !0 }) : (i.File && b.input instanceof File || b.input instanceof Object) && (b = h.parse(b.input, b.config)) && i.postMessage({ workerId: h.WORKER_ID, results: b, finished: !0 });
|
|
11763
11763
|
}), (p.prototype = Object.create(d.prototype)).constructor = p, (u.prototype = Object.create(d.prototype)).constructor = u, (m.prototype = Object.create(m.prototype)).constructor = m, (w.prototype = Object.create(d.prototype)).constructor = w, h;
|
|
11764
11764
|
});
|
|
11765
|
-
}(
|
|
11765
|
+
}(Wi)), Wi.exports;
|
|
11766
11766
|
}
|
|
11767
11767
|
var Wd = $d();
|
|
11768
|
-
const So = /* @__PURE__ */
|
|
11768
|
+
const So = /* @__PURE__ */ ka(Wd);
|
|
11769
11769
|
function jd(r) {
|
|
11770
11770
|
const e = So.parse(r, { header: !1, skipEmptyLines: !0 }), t = e.errors.filter((i) => i.code !== "UndetectableDelimiter");
|
|
11771
11771
|
if (t.length > 0)
|
|
@@ -12195,17 +12195,17 @@ const Xd = {
|
|
|
12195
12195
|
scrollPageUp: 33,
|
|
12196
12196
|
scrollToEnd: 35,
|
|
12197
12197
|
scrollToStart: 36
|
|
12198
|
-
}, Yd = process.env.NODE_ENV === "development",
|
|
12198
|
+
}, Yd = process.env.NODE_ENV === "development", zt = class zt extends I {
|
|
12199
12199
|
constructor(e) {
|
|
12200
12200
|
super(e), this.watchKeys = null, this.pressedKeys = null, this.keyupBinding = !1, this.keydownBinding = !1, this.registerTableOption("keybindings", {}), this.registerTableOption("tabEndNewRow", !1);
|
|
12201
12201
|
}
|
|
12202
12202
|
initialize() {
|
|
12203
12203
|
const e = this.table.options.keybindings, t = {};
|
|
12204
|
-
this.watchKeys = {}, this.pressedKeys = [], e !== !1 && (Object.assign(t,
|
|
12204
|
+
this.watchKeys = {}, this.pressedKeys = [], e !== !1 && (Object.assign(t, zt.bindings), Object.assign(t, e), this.mapBindings(t), this.bindEvents()), this.subscribe("table-destroy", this.clearBindings.bind(this));
|
|
12205
12205
|
}
|
|
12206
12206
|
mapBindings(e) {
|
|
12207
12207
|
for (const t in e)
|
|
12208
|
-
|
|
12208
|
+
zt.actions[t] ? e[t] && (typeof e[t] != "object" && (e[t] = [e[t]]), e[t].forEach((i) => {
|
|
12209
12209
|
(Array.isArray(i) ? i : [i]).forEach((o) => {
|
|
12210
12210
|
this.mapBinding(t, o);
|
|
12211
12211
|
});
|
|
@@ -12213,7 +12213,7 @@ const Xd = {
|
|
|
12213
12213
|
}
|
|
12214
12214
|
mapBinding(e, t) {
|
|
12215
12215
|
const i = {
|
|
12216
|
-
action:
|
|
12216
|
+
action: zt.actions[e],
|
|
12217
12217
|
ctrl: !1,
|
|
12218
12218
|
keys: [],
|
|
12219
12219
|
meta: !1,
|
|
@@ -12262,8 +12262,8 @@ const Xd = {
|
|
|
12262
12262
|
}), i && t.action.call(this, e), !0) : !1;
|
|
12263
12263
|
}
|
|
12264
12264
|
};
|
|
12265
|
-
|
|
12266
|
-
let Bs =
|
|
12265
|
+
zt.moduleName = "keybindings", zt.bindings = Jd, zt.actions = Xd;
|
|
12266
|
+
let Bs = zt;
|
|
12267
12267
|
const Po = class Po extends I {
|
|
12268
12268
|
constructor(e) {
|
|
12269
12269
|
super(e), this.menuContainer = null, this.nestedMenuBlock = !1, this.currentComponent = null, this.rootPopup = null, this.columnSubscribers = {}, this.registerTableOption("rowContextMenu", !1), this.registerTableOption("rowClickMenu", !1), this.registerTableOption("rowDblClickMenu", !1), this.registerTableOption("groupContextMenu", !1), this.registerTableOption("groupClickMenu", !1), this.registerTableOption("groupDblClickMenu", !1), this.registerColumnOption("headerContextMenu"), this.registerColumnOption("headerClickMenu"), this.registerColumnOption("headerDblClickMenu"), this.registerColumnOption("headerMenu"), this.registerColumnOption("headerMenuIcon"), this.registerColumnOption("contextMenu"), this.registerColumnOption("clickMenu"), this.registerColumnOption("dblClickMenu");
|
|
@@ -12564,7 +12564,7 @@ const Zd = {
|
|
|
12564
12564
|
delete: function(r, e, t) {
|
|
12565
12565
|
r && r.delete();
|
|
12566
12566
|
}
|
|
12567
|
-
}, Ai = process.env.NODE_ENV === "development",
|
|
12567
|
+
}, Ai = process.env.NODE_ENV === "development", Ut = class Ut extends I {
|
|
12568
12568
|
constructor(e) {
|
|
12569
12569
|
super(e), this.placeholderElement = this.createPlaceholderElement(), this.hoverElement = !1, this.checkTimeout = !1, this.checkPeriod = 150, this.moving = !1, this.toRow = !1, this.toRowAfter = !1, this.hasHandle = !1, this.startY = 0, this.startX = 0, this.moveHover = this.moveHover.bind(this), this.endMove = this.endMove.bind(this), this.tableRowDropEvent = !1, this.touchMove = !1, this.connection = !1, this.connectionSelectorsTables = !1, this.connectionSelectorsElements = !1, this.connectionElements = [], this.connections = [], this.connectedTable = !1, this.connectedRow = !1, this.registerTableOption("movableRows", !1), this.registerTableOption("movableRowsConnectedTables", !1), this.registerTableOption("movableRowsConnectedElements", !1), this.registerTableOption("movableRowsSender", !1), this.registerTableOption("movableRowsReceiver", "insert"), this.registerColumnOption("rowHandle");
|
|
12570
12570
|
}
|
|
@@ -12831,7 +12831,7 @@ const Zd = {
|
|
|
12831
12831
|
if (i) {
|
|
12832
12832
|
switch (typeof this.table.options.movableRowsSender) {
|
|
12833
12833
|
case "string":
|
|
12834
|
-
s =
|
|
12834
|
+
s = Ut.senders[this.table.options.movableRowsSender] || !1;
|
|
12835
12835
|
break;
|
|
12836
12836
|
case "function":
|
|
12837
12837
|
s = this.table.options.movableRowsSender;
|
|
@@ -12863,7 +12863,7 @@ const Zd = {
|
|
|
12863
12863
|
let i = !1, s = !1;
|
|
12864
12864
|
switch (e.stopImmediatePropagation(), typeof this.table.options.movableRowsReceiver) {
|
|
12865
12865
|
case "string":
|
|
12866
|
-
i =
|
|
12866
|
+
i = Ut.receivers[this.table.options.movableRowsReceiver] || !1;
|
|
12867
12867
|
break;
|
|
12868
12868
|
case "function":
|
|
12869
12869
|
i = this.table.options.movableRowsReceiver;
|
|
@@ -12906,8 +12906,8 @@ const Zd = {
|
|
|
12906
12906
|
}
|
|
12907
12907
|
}
|
|
12908
12908
|
};
|
|
12909
|
-
|
|
12910
|
-
let js =
|
|
12909
|
+
Ut.moduleName = "moveRow", Ut.senders = Qd, Ut.receivers = Zd;
|
|
12910
|
+
let js = Ut;
|
|
12911
12911
|
const eu = {}, tu = process.env.NODE_ENV === "development", oi = class oi extends I {
|
|
12912
12912
|
constructor(e) {
|
|
12913
12913
|
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");
|
|
@@ -13280,7 +13280,7 @@ const Ho = class Ho extends I {
|
|
|
13280
13280
|
};
|
|
13281
13281
|
Ho.moduleName = "page";
|
|
13282
13282
|
let Us = Ho;
|
|
13283
|
-
const
|
|
13283
|
+
const kr = process.env.NODE_ENV === "development", iu = {
|
|
13284
13284
|
cookie: function(r, e) {
|
|
13285
13285
|
let t = document.cookie;
|
|
13286
13286
|
const i = r + "-" + e, s = t.indexOf(i + "=");
|
|
@@ -13295,7 +13295,7 @@ const Mr = process.env.NODE_ENV === "development", iu = {
|
|
|
13295
13295
|
try {
|
|
13296
13296
|
return JSON.parse(n);
|
|
13297
13297
|
} catch (a) {
|
|
13298
|
-
return
|
|
13298
|
+
return kr && console.error("Failed to parse cookie data:", a), !1;
|
|
13299
13299
|
}
|
|
13300
13300
|
},
|
|
13301
13301
|
local: function(r, e) {
|
|
@@ -13305,7 +13305,7 @@ const Mr = process.env.NODE_ENV === "development", iu = {
|
|
|
13305
13305
|
try {
|
|
13306
13306
|
return JSON.parse(t);
|
|
13307
13307
|
} catch (i) {
|
|
13308
|
-
return
|
|
13308
|
+
return kr && console.error("Failed to parse localStorage data:", i), !1;
|
|
13309
13309
|
}
|
|
13310
13310
|
}
|
|
13311
13311
|
}, su = {
|
|
@@ -13647,7 +13647,7 @@ const No = class No extends I {
|
|
|
13647
13647
|
};
|
|
13648
13648
|
No.moduleName = "popup";
|
|
13649
13649
|
let qs = No;
|
|
13650
|
-
const
|
|
13650
|
+
const Mr = process.env.NODE_ENV === "development", Vo = class Vo extends I {
|
|
13651
13651
|
constructor(e) {
|
|
13652
13652
|
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");
|
|
13653
13653
|
}
|
|
@@ -13679,7 +13679,7 @@ const kr = process.env.NODE_ENV === "development", Vo = class Vo extends I {
|
|
|
13679
13679
|
if (!this.manualBlock) {
|
|
13680
13680
|
const e = this.table.modules.export;
|
|
13681
13681
|
if (!e || typeof e.generateTable != "function") {
|
|
13682
|
-
|
|
13682
|
+
Mr && console.error(
|
|
13683
13683
|
"Print Error - Export module not available, cannot generate print table."
|
|
13684
13684
|
);
|
|
13685
13685
|
return;
|
|
@@ -13703,7 +13703,7 @@ const kr = process.env.NODE_ENV === "development", Vo = class Vo extends I {
|
|
|
13703
13703
|
printFullscreen(e, t, i) {
|
|
13704
13704
|
const s = window.scrollX, o = window.scrollY, n = document.createElement("div"), a = document.createElement("div"), l = this.table.modules.export;
|
|
13705
13705
|
if (!l || typeof l.generateTable != "function") {
|
|
13706
|
-
|
|
13706
|
+
Mr && console.error(
|
|
13707
13707
|
"Print Error - Export module not available, cannot generate print table."
|
|
13708
13708
|
);
|
|
13709
13709
|
return;
|
|
@@ -14305,7 +14305,7 @@ const ru = {
|
|
|
14305
14305
|
responsiveCollapse: ou
|
|
14306
14306
|
}
|
|
14307
14307
|
}
|
|
14308
|
-
},
|
|
14308
|
+
}, Ki = class Ki extends I {
|
|
14309
14309
|
constructor(e) {
|
|
14310
14310
|
super(e), this.columns = [], this.hiddenColumns = [], this.mode = "", this.index = 0, this.collapseFormatter = !1, this.collapseStartOpen = !0, this.collapseHandleColumn = !1, this.registerTableOption("responsiveLayout", !1), this.registerTableOption("responsiveLayoutCollapseStartOpen", !0), this.registerTableOption("responsiveLayoutCollapseUseFormatters", !0), this.registerTableOption("responsiveLayoutCollapseFormatter", !1), this.registerColumnOption("responsive");
|
|
14311
14311
|
}
|
|
@@ -14464,8 +14464,8 @@ const ru = {
|
|
|
14464
14464
|
}), Object.keys(e).length ? t : "";
|
|
14465
14465
|
}
|
|
14466
14466
|
};
|
|
14467
|
-
|
|
14468
|
-
let eo =
|
|
14467
|
+
Ki.moduleName = "responsiveLayout", Ki.moduleExtensions = ru;
|
|
14468
|
+
let eo = Ki;
|
|
14469
14469
|
const nu = E`<cx-checkbox></cx-checkbox>`;
|
|
14470
14470
|
function au(r, e, t) {
|
|
14471
14471
|
const i = W(nu);
|
|
@@ -14500,7 +14500,7 @@ const lu = {
|
|
|
14500
14500
|
rowSelection: au
|
|
14501
14501
|
}
|
|
14502
14502
|
}
|
|
14503
|
-
}, Tr = process.env.NODE_ENV === "development",
|
|
14503
|
+
}, Tr = process.env.NODE_ENV === "development", qi = class qi extends I {
|
|
14504
14504
|
// hold header select element (cx-checkbox)
|
|
14505
14505
|
constructor(e) {
|
|
14506
14506
|
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(
|
|
@@ -14723,8 +14723,8 @@ const lu = {
|
|
|
14723
14723
|
this._deselectRow(s, !0);
|
|
14724
14724
|
}
|
|
14725
14725
|
};
|
|
14726
|
-
|
|
14727
|
-
let to =
|
|
14726
|
+
qi.moduleName = "selectRow", qi.moduleExtensions = lu;
|
|
14727
|
+
let to = qi;
|
|
14728
14728
|
const hu = {
|
|
14729
14729
|
range: function(r) {
|
|
14730
14730
|
if (!r || r.length === 0)
|
|
@@ -15049,9 +15049,9 @@ class wu extends Le {
|
|
|
15049
15049
|
), !this.destroyed;
|
|
15050
15050
|
}
|
|
15051
15051
|
}
|
|
15052
|
-
const
|
|
15052
|
+
const $t = process.env.NODE_ENV === "development", vu = E`<div class="tabulator-range-cell-hover"></div>`, Ci = class Ci extends I {
|
|
15053
15053
|
constructor(e) {
|
|
15054
|
-
super(e), this.selecting = Xe.Cell, this.mousedown = !1, this.ranges = [], this.overlay = null, this.rowHeader = null, this.debouncedLayoutRanges =
|
|
15054
|
+
super(e), this.selecting = Xe.Cell, this.mousedown = !1, this.ranges = [], this.overlay = null, this.rowHeader = null, this.debouncedLayoutRanges = Ma(() => {
|
|
15055
15055
|
this.layoutRanges();
|
|
15056
15056
|
}, 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(
|
|
15057
15057
|
"addRange",
|
|
@@ -15072,15 +15072,15 @@ const Wt = process.env.NODE_ENV === "development", vu = E`<div class="tabulator-
|
|
|
15072
15072
|
}
|
|
15073
15073
|
// #region Initialization
|
|
15074
15074
|
initialize() {
|
|
15075
|
-
this.options("selectableRange") && (this.options("selectableRows") ?
|
|
15075
|
+
this.options("selectableRange") && (this.options("selectableRows") ? $t && console.warn(
|
|
15076
15076
|
"SelectRange functionality cannot be used in conjunction with row selection"
|
|
15077
15077
|
) : (this.maxRanges = this.options("selectableRange"), this.initializeTable(), this.initializeWatchers()), this.options("columns").findIndex(
|
|
15078
15078
|
(e) => e.frozen
|
|
15079
|
-
) > 0 &&
|
|
15079
|
+
) > 0 && $t && console.warn(
|
|
15080
15080
|
"Having frozen column in arbitrary position with selectRange option may result in unpredictable behavior."
|
|
15081
15081
|
), this.options("columns").filter(
|
|
15082
15082
|
(e) => e.frozen
|
|
15083
|
-
).length > 1 &&
|
|
15083
|
+
).length > 1 && $t && console.warn(
|
|
15084
15084
|
"Having multiple frozen columns with selectRange option may result in unpredictable behavior."
|
|
15085
15085
|
));
|
|
15086
15086
|
}
|
|
@@ -15097,18 +15097,18 @@ const Wt = process.env.NODE_ENV === "development", vu = E`<div class="tabulator-
|
|
|
15097
15097
|
), this.subscribe("keybinding-nav-up", this.keyNavigate.bind(this, "up")), this.subscribe("keybinding-nav-down", this.keyNavigate.bind(this, "down")), this.subscribe("keybinding-nav-range", this.keyNavigateRange.bind(this));
|
|
15098
15098
|
}
|
|
15099
15099
|
initializeColumn(e) {
|
|
15100
|
-
this.columnSelection && e.definition.headerSort && this.options("headerSortClickElement") !== "icon" &&
|
|
15100
|
+
this.columnSelection && e.definition.headerSort && this.options("headerSortClickElement") !== "icon" && $t && console.warn(
|
|
15101
15101
|
"Using column headerSort with selectableRangeColumns option may result in unpredictable behavior. Consider using headerSortClickElement: 'icon'."
|
|
15102
15102
|
), e.modules.edit;
|
|
15103
15103
|
}
|
|
15104
15104
|
// #endregion
|
|
15105
15105
|
updateHeaderColumn() {
|
|
15106
15106
|
let e;
|
|
15107
|
-
this.rowSelection && (this.rowHeader = this.table.columnManager?.getVisibleColumnsByIndex()[0] || null), this.rowHeader && (this.rowHeader.definition.cssClass = `${(this.rowHeader.definition.cssClass ?? "").trim()} tabulator-range-row-header`, this.rowHeader.definition.headerSort &&
|
|
15107
|
+
this.rowSelection && (this.rowHeader = this.table.columnManager?.getVisibleColumnsByIndex()[0] || null), this.rowHeader && (this.rowHeader.definition.cssClass = `${(this.rowHeader.definition.cssClass ?? "").trim()} tabulator-range-row-header`, this.rowHeader.definition.headerSort && $t && console.warn(
|
|
15108
15108
|
"Using column headerSort with selectableRangeRows option may result in unpredictable behavior"
|
|
15109
|
-
), this.rowHeader.definition.editor &&
|
|
15109
|
+
), this.rowHeader.definition.editor && $t && console.warn(
|
|
15110
15110
|
"Using column editor with selectableRangeRows option may result in unpredictable behavior"
|
|
15111
|
-
)), this.table.modules.frozenColumns && this.table.modules.frozenColumns.active && (e = this.table.modules.frozenColumns.getFrozenColumns(), e && (e.length > 1 || e.length === 1 && e[0] !== this.rowHeader) &&
|
|
15111
|
+
)), this.table.modules.frozenColumns && this.table.modules.frozenColumns.active && (e = this.table.modules.frozenColumns.getFrozenColumns(), e && (e.length > 1 || e.length === 1 && e[0] !== this.rowHeader) && $t && console.warn(
|
|
15112
15112
|
"Using frozen columns that are not the range header in combination with the selectRange option may result in unpredictable behavior"
|
|
15113
15113
|
));
|
|
15114
15114
|
}
|
|
@@ -15313,8 +15313,8 @@ const Wt = process.env.NODE_ENV === "development", vu = E`<div class="tabulator-
|
|
|
15313
15313
|
if (this.rowHeader && n === 0 && (n = 1), t || u.setStart(o, n), u.setEnd(o, n), t || (this.selecting = Xe.Cell), s = m.top !== u.top || m.bottom !== u.bottom || m.left !== u.left || m.right !== u.right, s) {
|
|
15314
15314
|
const x = u.end.row ?? 0, y = u.end.col ?? 0;
|
|
15315
15315
|
a = this.getRowByRangePos(x), l = this.getColumnByRangePos(y);
|
|
15316
|
-
const D = a.getElement(),
|
|
15317
|
-
D &&
|
|
15316
|
+
const D = a.getElement(), M = l.getElement(), fe = this.table.rowManager?.getElement(), L = this.table.columnManager?.getElement();
|
|
15317
|
+
D && M && fe && L && (h = D.getBoundingClientRect(), d = M.getBoundingClientRect(), c = fe.getBoundingClientRect(), p = L.getBoundingClientRect(), h.top >= c.top && h.bottom <= c.bottom || (D.parentNode && M.parentNode ? this.autoScroll(u, D, M) : a.getComponent().scrollTo(void 0, !1)), d.left >= p.left + this.getRowHeaderWidth() && d.right <= p.right || (D.parentNode && M.parentNode ? this.autoScroll(u, D, M) : l.getComponent().scrollTo(void 0, !1))), this.layoutElement();
|
|
15318
15318
|
}
|
|
15319
15319
|
return !0;
|
|
15320
15320
|
}
|
|
@@ -15637,8 +15637,8 @@ function yu(r, e, t, i, s, o, n) {
|
|
|
15637
15637
|
let y = u[x];
|
|
15638
15638
|
const D = m[x++];
|
|
15639
15639
|
if (y !== D) {
|
|
15640
|
-
const
|
|
15641
|
-
if (isFinite(
|
|
15640
|
+
const M = Number(y), fe = Number(D);
|
|
15641
|
+
if (isFinite(M) && isFinite(fe)) {
|
|
15642
15642
|
y.charAt(0) === "0" && (y = "." + y);
|
|
15643
15643
|
const L = D.charAt(0) === "0" ? "." + D : D;
|
|
15644
15644
|
return Number(y) - Number(L);
|
|
@@ -15742,7 +15742,7 @@ function Du(r, e, t, i, s, o, n) {
|
|
|
15742
15742
|
return m - w;
|
|
15743
15743
|
return (l === "top" && o === "desc" || l === "bottom" && o === "asc") && (d *= -1), d;
|
|
15744
15744
|
}
|
|
15745
|
-
function
|
|
15745
|
+
function ku(r, e, t, i, s, o, n = {}) {
|
|
15746
15746
|
const a = n.alignEmptyValues;
|
|
15747
15747
|
let l = 0, h;
|
|
15748
15748
|
const c = (d) => d == null || d === "";
|
|
@@ -15763,7 +15763,7 @@ function Mu(r, e, t, i, s, o, n = {}) {
|
|
|
15763
15763
|
}
|
|
15764
15764
|
return (a === "top" && o === "desc" || a === "bottom" && o === "asc") && (l *= -1), l;
|
|
15765
15765
|
}
|
|
15766
|
-
function
|
|
15766
|
+
function Mu(r, e, t, i, s, o, n) {
|
|
15767
15767
|
const a = n ?? {}, l = a.format ? a : { ...a, format: "HH:mm" };
|
|
15768
15768
|
return Do.call(this, r, e, t, i, s, o, l);
|
|
15769
15769
|
}
|
|
@@ -15775,13 +15775,13 @@ const Tu = {
|
|
|
15775
15775
|
datetime: Do,
|
|
15776
15776
|
exists: Su,
|
|
15777
15777
|
number: Du,
|
|
15778
|
-
string:
|
|
15779
|
-
time:
|
|
15778
|
+
string: ku,
|
|
15779
|
+
time: Mu
|
|
15780
15780
|
}, Lr = process.env.NODE_ENV === "development", Fu = {
|
|
15781
15781
|
asc: "ascending",
|
|
15782
15782
|
desc: "descending",
|
|
15783
15783
|
none: "none"
|
|
15784
|
-
},
|
|
15784
|
+
}, Kt = class Kt extends I {
|
|
15785
15785
|
// has the sort changed since last render
|
|
15786
15786
|
constructor(e) {
|
|
15787
15787
|
super(e), this.sortList = [], this.changed = !1, this.registerTableOption("sortMode", "local"), this.registerTableOption("initialSort", !1), this.registerTableOption("columnHeaderSortMulti", !0), this.registerTableOption("sortOrderReverse", !1), this.registerTableOption(
|
|
@@ -15816,7 +15816,7 @@ const Tu = {
|
|
|
15816
15816
|
let t = !1, i, s;
|
|
15817
15817
|
switch (typeof e.definition.sorter) {
|
|
15818
15818
|
case "string":
|
|
15819
|
-
e.definition.sorter &&
|
|
15819
|
+
e.definition.sorter && Kt.sorters[e.definition.sorter] ? t = Kt.sorters[e.definition.sorter] : Lr && console.warn(
|
|
15820
15820
|
"Sort Error - No such sorter found: ",
|
|
15821
15821
|
e.definition.sorter
|
|
15822
15822
|
);
|
|
@@ -15826,7 +15826,7 @@ const Tu = {
|
|
|
15826
15826
|
break;
|
|
15827
15827
|
}
|
|
15828
15828
|
if (e.modules.sort = {
|
|
15829
|
-
dir:
|
|
15829
|
+
dir: Me.None,
|
|
15830
15830
|
params: e.definition.sorterParams || {},
|
|
15831
15831
|
sorter: t,
|
|
15832
15832
|
startingDir: e.definition.headerSortStartingDir || "asc",
|
|
@@ -15857,20 +15857,20 @@ const Tu = {
|
|
|
15857
15857
|
this.table.options.headerSortElement || ""
|
|
15858
15858
|
);
|
|
15859
15859
|
}
|
|
15860
|
-
e.titleHolderElement && e.titleHolderElement.appendChild(s), e.modules.sort.element = s, this.setColumnHeaderSortIcon(e,
|
|
15860
|
+
e.titleHolderElement && e.titleHolderElement.appendChild(s), e.modules.sort.element = s, this.setColumnHeaderSortIcon(e, Me.None), this.table.options.headerSortClickElement === "icon" && s.addEventListener("mousedown", (o) => {
|
|
15861
15861
|
o.stopPropagation();
|
|
15862
15862
|
}), (this.table.options.headerSortClickElement === "icon" ? s : i).addEventListener("click", (o) => {
|
|
15863
|
-
let n =
|
|
15863
|
+
let n = Me.None, a = !1;
|
|
15864
15864
|
if (e.modules.sort) {
|
|
15865
15865
|
if (e.modules.sort.tristate)
|
|
15866
|
-
e.modules.sort.dir ==
|
|
15866
|
+
e.modules.sort.dir == Me.None ? n = e.modules.sort.startingDir : e.modules.sort.dir == e.modules.sort.startingDir ? n = e.modules.sort.dir == Me.Asc ? Me.Desc : Me.Asc : n = Me.None;
|
|
15867
15867
|
else
|
|
15868
15868
|
switch (e.modules.sort.dir) {
|
|
15869
15869
|
case "asc":
|
|
15870
|
-
n =
|
|
15870
|
+
n = Me.Desc;
|
|
15871
15871
|
break;
|
|
15872
15872
|
case "desc":
|
|
15873
|
-
n =
|
|
15873
|
+
n = Me.Asc;
|
|
15874
15874
|
break;
|
|
15875
15875
|
default:
|
|
15876
15876
|
n = e.modules.sort.startingDir;
|
|
@@ -15914,7 +15914,7 @@ const Tu = {
|
|
|
15914
15914
|
Array.isArray(e) || (e = [{ column: e, dir: t }]), e.forEach((s) => {
|
|
15915
15915
|
const o = this.table.columnManager?.findColumn(s.column);
|
|
15916
15916
|
if (o) {
|
|
15917
|
-
const n = o.modules.sort, a = s.dir ?? n?.startingDir ?? n?.dir ??
|
|
15917
|
+
const n = o.modules.sort, a = s.dir ?? n?.startingDir ?? n?.dir ?? Me.Asc;
|
|
15918
15918
|
i.push({
|
|
15919
15919
|
...s,
|
|
15920
15920
|
column: o,
|
|
@@ -15949,7 +15949,7 @@ const Tu = {
|
|
|
15949
15949
|
break;
|
|
15950
15950
|
}
|
|
15951
15951
|
}
|
|
15952
|
-
return
|
|
15952
|
+
return Kt.sorters[i];
|
|
15953
15953
|
}
|
|
15954
15954
|
// work through sort list sorting data
|
|
15955
15955
|
sort(e, t) {
|
|
@@ -15968,7 +15968,7 @@ const Tu = {
|
|
|
15968
15968
|
// clear sort arrows on columns
|
|
15969
15969
|
clearColumnHeaders() {
|
|
15970
15970
|
this.table.columnManager?.getRealColumns().forEach((e) => {
|
|
15971
|
-
e.modules.sort && (e.modules.sort.dir =
|
|
15971
|
+
e.modules.sort && (e.modules.sort.dir = Me.None, e.getElement().setAttribute("aria-sort", "none"), this.setColumnHeaderSortIcon(e, Me.None));
|
|
15972
15972
|
});
|
|
15973
15973
|
}
|
|
15974
15974
|
// set the column header sort direction
|
|
@@ -16009,7 +16009,7 @@ const Tu = {
|
|
|
16009
16009
|
}
|
|
16010
16010
|
// process individual rows for a sort function on active data
|
|
16011
16011
|
_sortRow(e, t, i, s, o) {
|
|
16012
|
-
const n = s ===
|
|
16012
|
+
const n = s === Me.Asc ? e : t, a = s === Me.Asc ? t : e;
|
|
16013
16013
|
let l = i.getFieldValue(n.getData()), h = i.getFieldValue(a.getData());
|
|
16014
16014
|
l = l ?? "", h = h ?? "";
|
|
16015
16015
|
const c = n.getComponent(), d = a.getComponent(), p = i.modules.sort.sorter;
|
|
@@ -16029,8 +16029,8 @@ const Tu = {
|
|
|
16029
16029
|
return 0;
|
|
16030
16030
|
}
|
|
16031
16031
|
};
|
|
16032
|
-
|
|
16033
|
-
let
|
|
16032
|
+
Kt.moduleName = "sort", Kt.sorters = Tu;
|
|
16033
|
+
let ki = Kt;
|
|
16034
16034
|
class Lu {
|
|
16035
16035
|
constructor(e, t) {
|
|
16036
16036
|
this.columnCount = e, this.rowCount = t, this.columnString = [], this.columns = [], this.rows = [];
|
|
@@ -16435,19 +16435,19 @@ const Uo = class Uo extends I {
|
|
|
16435
16435
|
};
|
|
16436
16436
|
Uo.moduleName = "tooltip";
|
|
16437
16437
|
let oo = Uo;
|
|
16438
|
-
function
|
|
16438
|
+
function ke(r) {
|
|
16439
16439
|
return r === "" || r === null || r === void 0;
|
|
16440
16440
|
}
|
|
16441
16441
|
function _r(r) {
|
|
16442
16442
|
return Number.isFinite(Number(r));
|
|
16443
16443
|
}
|
|
16444
|
-
function
|
|
16444
|
+
function ds(r, e) {
|
|
16445
16445
|
if (!e || typeof e != "object")
|
|
16446
16446
|
return !0;
|
|
16447
16447
|
const t = Number(r);
|
|
16448
16448
|
return !(e.min !== void 0 && t < e.min || e.max !== void 0 && t > e.max);
|
|
16449
16449
|
}
|
|
16450
|
-
function
|
|
16450
|
+
function us(r) {
|
|
16451
16451
|
return r instanceof Date ? r.getTime() : typeof r == "number" ? Number.isFinite(r) ? r : NaN : typeof r == "string" ? Date.parse(r) : NaN;
|
|
16452
16452
|
}
|
|
16453
16453
|
const zu = [
|
|
@@ -16485,34 +16485,34 @@ function Au(r, e) {
|
|
|
16485
16485
|
const h = new Date(i, s - 1, o, n, a, l);
|
|
16486
16486
|
return h.getFullYear() === i && h.getMonth() === s - 1 && h.getDate() === o;
|
|
16487
16487
|
}
|
|
16488
|
-
const
|
|
16488
|
+
const ko = {
|
|
16489
16489
|
// must be alphanumeric
|
|
16490
16490
|
alphanumeric(r) {
|
|
16491
|
-
return
|
|
16491
|
+
return ke(r) ? !0 : /^[a-z0-9]+$/i.test(String(r));
|
|
16492
16492
|
},
|
|
16493
16493
|
// must be a boolean (or the strings 'true' / 'false')
|
|
16494
16494
|
boolean(r) {
|
|
16495
|
-
return
|
|
16495
|
+
return ke(r) ? !0 : typeof r == "boolean" || r === "true" || r === "false";
|
|
16496
16496
|
},
|
|
16497
16497
|
// must be a parsable date; optional inclusive range via { starts, ends }
|
|
16498
16498
|
// and/or an exact shape via { format } (e.g. 'MM/DD/YYYY')
|
|
16499
16499
|
date(r, e) {
|
|
16500
|
-
if (
|
|
16500
|
+
if (ke(r))
|
|
16501
16501
|
return !0;
|
|
16502
16502
|
if (e && typeof e == "object" && e.format !== void 0 && !Au(String(r), e.format))
|
|
16503
16503
|
return !1;
|
|
16504
|
-
const t =
|
|
16504
|
+
const t = us(r);
|
|
16505
16505
|
if (Number.isNaN(t))
|
|
16506
16506
|
return !1;
|
|
16507
16507
|
if (!e || typeof e != "object")
|
|
16508
16508
|
return !0;
|
|
16509
16509
|
if (e.starts !== void 0) {
|
|
16510
|
-
const i =
|
|
16510
|
+
const i = us(e.starts);
|
|
16511
16511
|
if (Number.isNaN(i) || t < i)
|
|
16512
16512
|
return !1;
|
|
16513
16513
|
}
|
|
16514
16514
|
if (e.ends !== void 0) {
|
|
16515
|
-
const i =
|
|
16515
|
+
const i = us(e.ends);
|
|
16516
16516
|
if (Number.isNaN(i) || t > i)
|
|
16517
16517
|
return !1;
|
|
16518
16518
|
}
|
|
@@ -16520,52 +16520,52 @@ const Mo = {
|
|
|
16520
16520
|
},
|
|
16521
16521
|
// ends with value (legacy string-suffix rule)
|
|
16522
16522
|
ends(r, e) {
|
|
16523
|
-
return
|
|
16523
|
+
return ke(r) ? !0 : String(r).toLowerCase().endsWith(String(e).toLowerCase());
|
|
16524
16524
|
},
|
|
16525
16525
|
// is float; optional range via { min, max }
|
|
16526
16526
|
float(r, e) {
|
|
16527
|
-
if (
|
|
16527
|
+
if (ke(r))
|
|
16528
16528
|
return !0;
|
|
16529
16529
|
const t = Number(r);
|
|
16530
|
-
return _r(r) && t % 1 !== 0 &&
|
|
16530
|
+
return _r(r) && t % 1 !== 0 && ds(r, e);
|
|
16531
16531
|
},
|
|
16532
16532
|
// in provided value list
|
|
16533
16533
|
in(r, e) {
|
|
16534
|
-
if (
|
|
16534
|
+
if (ke(r))
|
|
16535
16535
|
return !0;
|
|
16536
16536
|
const t = typeof e == "string" ? e.split("|") : e;
|
|
16537
16537
|
return Array.isArray(t) && t.includes(r);
|
|
16538
16538
|
},
|
|
16539
16539
|
// is integer; optional range via { min, max }
|
|
16540
16540
|
integer(r, e) {
|
|
16541
|
-
if (
|
|
16541
|
+
if (ke(r))
|
|
16542
16542
|
return !0;
|
|
16543
16543
|
const t = Number(r);
|
|
16544
|
-
return _r(r) && Math.floor(t) === t &&
|
|
16544
|
+
return _r(r) && Math.floor(t) === t && ds(r, e);
|
|
16545
16545
|
},
|
|
16546
16546
|
// maximum value (legacy standalone rule; prefer numeric/integer { max })
|
|
16547
16547
|
max(r, e) {
|
|
16548
|
-
return
|
|
16548
|
+
return ke(r) ? !0 : Number.parseFloat(String(r)) <= Number(e);
|
|
16549
16549
|
},
|
|
16550
16550
|
// maximum string length (legacy standalone rule; prefer string { maxLength })
|
|
16551
16551
|
maxLength(r, e) {
|
|
16552
|
-
return
|
|
16552
|
+
return ke(r) ? !0 : String(r).length <= Number(e);
|
|
16553
16553
|
},
|
|
16554
16554
|
// minimum value (legacy standalone rule; prefer numeric/integer { min })
|
|
16555
16555
|
min(r, e) {
|
|
16556
|
-
return
|
|
16556
|
+
return ke(r) ? !0 : Number.parseFloat(String(r)) >= Number(e);
|
|
16557
16557
|
},
|
|
16558
16558
|
// minimum string length (legacy standalone rule; prefer string { minLength })
|
|
16559
16559
|
minLength(r, e) {
|
|
16560
|
-
return
|
|
16560
|
+
return ke(r) ? !0 : String(r).length >= Number(e);
|
|
16561
16561
|
},
|
|
16562
16562
|
// must be a number; optional range via { min, max }
|
|
16563
16563
|
numeric(r, e) {
|
|
16564
|
-
return
|
|
16564
|
+
return ke(r) ? !0 : !Number.isNaN(Number(r)) && ds(r, e);
|
|
16565
16565
|
},
|
|
16566
16566
|
// must match provided regex
|
|
16567
16567
|
regex(r, e) {
|
|
16568
|
-
if (
|
|
16568
|
+
if (ke(r))
|
|
16569
16569
|
return !0;
|
|
16570
16570
|
let t;
|
|
16571
16571
|
e instanceof RegExp ? t = e : e === void 0 ? t = "" : t = String(e);
|
|
@@ -16577,15 +16577,15 @@ const Mo = {
|
|
|
16577
16577
|
},
|
|
16578
16578
|
// must have a value
|
|
16579
16579
|
required(r) {
|
|
16580
|
-
return !
|
|
16580
|
+
return !ke(r);
|
|
16581
16581
|
},
|
|
16582
16582
|
// starts with value (legacy string-prefix rule)
|
|
16583
16583
|
starts(r, e) {
|
|
16584
|
-
return
|
|
16584
|
+
return ke(r) ? !0 : String(r).toLowerCase().startsWith(String(e).toLowerCase());
|
|
16585
16585
|
},
|
|
16586
16586
|
// must be a string; optional length constraints via { minLength, maxLength }
|
|
16587
16587
|
string(r, e) {
|
|
16588
|
-
if (
|
|
16588
|
+
if (ke(r))
|
|
16589
16589
|
return !0;
|
|
16590
16590
|
if (!Number.isNaN(Number(r)))
|
|
16591
16591
|
return !1;
|
|
@@ -16596,14 +16596,14 @@ const Mo = {
|
|
|
16596
16596
|
},
|
|
16597
16597
|
// value must be unique within its column (column values via context)
|
|
16598
16598
|
unique(r, e, t) {
|
|
16599
|
-
return
|
|
16599
|
+
return ke(r) || !t?.columnValues ? !0 : !t.columnValues.some(
|
|
16600
16600
|
(i) => i === r
|
|
16601
16601
|
);
|
|
16602
16602
|
}
|
|
16603
16603
|
};
|
|
16604
16604
|
function Oe(r) {
|
|
16605
16605
|
return function(e, t, i) {
|
|
16606
|
-
return
|
|
16606
|
+
return ko[r](t, i);
|
|
16607
16607
|
};
|
|
16608
16608
|
}
|
|
16609
16609
|
const Pu = {
|
|
@@ -16630,7 +16630,7 @@ const Pu = {
|
|
|
16630
16630
|
return this.table.rowManager?.rows.forEach((n) => {
|
|
16631
16631
|
const a = n.getData();
|
|
16632
16632
|
a !== i && o.push(s.getFieldValue(a));
|
|
16633
|
-
}),
|
|
16633
|
+
}), ko.unique(e, t, { columnValues: o });
|
|
16634
16634
|
}
|
|
16635
16635
|
};
|
|
16636
16636
|
function Iu(r) {
|
|
@@ -16642,20 +16642,20 @@ function Iu(r) {
|
|
|
16642
16642
|
);
|
|
16643
16643
|
}
|
|
16644
16644
|
const Hu = "cx-validation-request", Nu = "cx-validation-response";
|
|
16645
|
-
let
|
|
16646
|
-
const
|
|
16645
|
+
let Dt, Vu = 0;
|
|
16646
|
+
const Mi = /* @__PURE__ */ new Map();
|
|
16647
16647
|
function Or() {
|
|
16648
|
-
|
|
16648
|
+
Mi.forEach(
|
|
16649
16649
|
(r) => r.reject(new Error("Validation worker failed"))
|
|
16650
|
-
),
|
|
16650
|
+
), Mi.clear(), Dt?.terminate(), Dt = void 0;
|
|
16651
16651
|
}
|
|
16652
16652
|
function Bu() {
|
|
16653
|
-
return
|
|
16653
|
+
return Dt || (Dt = new Iu(), Dt.addEventListener("message", (r) => {
|
|
16654
16654
|
if (r.origin !== "" || r.data?.type !== Nu)
|
|
16655
16655
|
return;
|
|
16656
|
-
const { done: e, id: t, results: i } = r.data.payload, s =
|
|
16657
|
-
s && (s.accumulatedResults.push(...i), s.onChunk?.(i), e && (
|
|
16658
|
-
}),
|
|
16656
|
+
const { done: e, id: t, results: i } = r.data.payload, s = Mi.get(t);
|
|
16657
|
+
s && (s.accumulatedResults.push(...i), s.onChunk?.(i), e && (Mi.delete(t), s.resolve(s.accumulatedResults)));
|
|
16658
|
+
}), Dt.addEventListener("error", Or), Dt.addEventListener("messageerror", Or)), Dt;
|
|
16659
16659
|
}
|
|
16660
16660
|
function An(r, e) {
|
|
16661
16661
|
return new Promise((t, i) => {
|
|
@@ -16667,7 +16667,7 @@ function An(r, e) {
|
|
|
16667
16667
|
return;
|
|
16668
16668
|
}
|
|
16669
16669
|
const o = ++Vu;
|
|
16670
|
-
|
|
16670
|
+
Mi.set(o, {
|
|
16671
16671
|
accumulatedResults: [],
|
|
16672
16672
|
onChunk: e,
|
|
16673
16673
|
reject: i,
|
|
@@ -17061,20 +17061,20 @@ const Ar = process.env.NODE_ENV === "development", Pr = 2e3, Ir = 1e3, ri = "dat
|
|
|
17061
17061
|
};
|
|
17062
17062
|
xi.moduleName = "validate", xi.validators = Pu;
|
|
17063
17063
|
let ro = xi;
|
|
17064
|
-
const
|
|
17064
|
+
const ps = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
17065
17065
|
__proto__: null,
|
|
17066
17066
|
AccessibilityModule: vs,
|
|
17067
17067
|
AccessorModule: xs,
|
|
17068
17068
|
AjaxModule: Ss,
|
|
17069
17069
|
ClickableCellModule: ys,
|
|
17070
|
-
ClipboardModule:
|
|
17071
|
-
ColumnCalcsModule:
|
|
17070
|
+
ClipboardModule: ks,
|
|
17071
|
+
ColumnCalcsModule: Ms,
|
|
17072
17072
|
DataTreeModule: Fs,
|
|
17073
17073
|
DownloadModule: Ls,
|
|
17074
17074
|
EditModule: zs,
|
|
17075
17075
|
ExportModule: _s,
|
|
17076
|
-
FilterModule:
|
|
17077
|
-
FormatModule:
|
|
17076
|
+
FilterModule: Ui,
|
|
17077
|
+
FormatModule: ji,
|
|
17078
17078
|
FrozenColumnsModule: Os,
|
|
17079
17079
|
FrozenRowsModule: As,
|
|
17080
17080
|
GroupRowsModule: Ps,
|
|
@@ -17099,12 +17099,12 @@ const fs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17099
17099
|
ResponsiveLayoutModule: eo,
|
|
17100
17100
|
SelectRangeModule: io,
|
|
17101
17101
|
SelectRowModule: to,
|
|
17102
|
-
SortModule:
|
|
17102
|
+
SortModule: ki,
|
|
17103
17103
|
SpreadsheetModule: so,
|
|
17104
17104
|
TooltipModule: oo,
|
|
17105
17105
|
ValidateModule: ro
|
|
17106
17106
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
17107
|
-
class $u extends
|
|
17107
|
+
class $u extends is {
|
|
17108
17108
|
constructor(e) {
|
|
17109
17109
|
super(e);
|
|
17110
17110
|
}
|
|
@@ -17125,8 +17125,8 @@ class $u extends ss {
|
|
|
17125
17125
|
await Promise.all(e.map((t) => t.reinitializeWidth()));
|
|
17126
17126
|
}
|
|
17127
17127
|
}
|
|
17128
|
-
const
|
|
17129
|
-
class Wu extends
|
|
17128
|
+
const fs = process.env.NODE_ENV === "development";
|
|
17129
|
+
class Wu extends is {
|
|
17130
17130
|
constructor(e) {
|
|
17131
17131
|
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 = [];
|
|
17132
17132
|
}
|
|
@@ -17135,7 +17135,7 @@ class Wu extends ss {
|
|
|
17135
17135
|
}
|
|
17136
17136
|
compatibilityCheck() {
|
|
17137
17137
|
const e = this.table.options.layout;
|
|
17138
|
-
|
|
17138
|
+
fs && (e === "fitDataTable" && console.warn(
|
|
17139
17139
|
"Horizontal Virtual DOM is not compatible with fitDataTable layout mode"
|
|
17140
17140
|
), this.table.options.responsiveLayout && console.warn(
|
|
17141
17141
|
"Horizontal Virtual DOM is not compatible with responsive columns"
|
|
@@ -17333,7 +17333,7 @@ class Wu extends ss {
|
|
|
17333
17333
|
try {
|
|
17334
17334
|
l.removeChild(a);
|
|
17335
17335
|
} catch (h) {
|
|
17336
|
-
|
|
17336
|
+
fs && console.warn(
|
|
17337
17337
|
"Could not removeColRight",
|
|
17338
17338
|
h?.message || h
|
|
17339
17339
|
);
|
|
@@ -17363,7 +17363,7 @@ class Wu extends ss {
|
|
|
17363
17363
|
try {
|
|
17364
17364
|
l.removeChild(a);
|
|
17365
17365
|
} catch (h) {
|
|
17366
|
-
|
|
17366
|
+
fs && console.warn(
|
|
17367
17367
|
"Could not removeColLeft",
|
|
17368
17368
|
h?.message || h
|
|
17369
17369
|
);
|
|
@@ -17944,7 +17944,7 @@ class Ku extends Le {
|
|
|
17944
17944
|
this.dispatch("footer-redraw");
|
|
17945
17945
|
}
|
|
17946
17946
|
}
|
|
17947
|
-
class qu extends
|
|
17947
|
+
class qu extends is {
|
|
17948
17948
|
constructor(e) {
|
|
17949
17949
|
super(e), this.scrollTop = 0, this.scrollLeft = 0, this.verticalFillMode = "fill";
|
|
17950
17950
|
}
|
|
@@ -17993,7 +17993,7 @@ class qu extends ss {
|
|
|
17993
17993
|
return this.rows();
|
|
17994
17994
|
}
|
|
17995
17995
|
}
|
|
17996
|
-
class Xu extends
|
|
17996
|
+
class Xu extends is {
|
|
17997
17997
|
// total scroll height of virtual DOM
|
|
17998
17998
|
constructor(e) {
|
|
17999
17999
|
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";
|
|
@@ -18097,7 +18097,7 @@ class Xu extends ss {
|
|
|
18097
18097
|
const s = this.tableElement, o = this.elementVertical;
|
|
18098
18098
|
let n = 0, a = 0, l = 0, h = 0, c = 0, d = 0;
|
|
18099
18099
|
const p = this.rows(), u = p.length;
|
|
18100
|
-
let m = 0, w, x, y = [], D = 0,
|
|
18100
|
+
let m = 0, w, x, y = [], D = 0, M = 0;
|
|
18101
18101
|
const fe = this.table.rowManager?.fixedHeight ?? !1, L = this.table.element ? globalThis.getComputedStyle(this.table.element).getPropertyValue("--table-max-height").trim() : "", ee = fe || L !== "" && L !== "auto";
|
|
18102
18102
|
let z = this.elementVertical?.clientHeight ?? 0, b = this.table.options.rowHeight, C = !0;
|
|
18103
18103
|
if (e = e || 0, i = i || 0, !e)
|
|
@@ -18117,24 +18117,24 @@ class Xu extends ss {
|
|
|
18117
18117
|
}
|
|
18118
18118
|
const R = !this.table.initialized || !!t;
|
|
18119
18119
|
if (u && this.elementVertical && (te.elVisible(this.elementVertical) || R)) {
|
|
18120
|
-
for (this.vDomTop = e, this.vDomBottom = e - 1, ee ? (b && (
|
|
18120
|
+
for (this.vDomTop = e, this.vDomBottom = e - 1, ee ? (b && (M = z / b + this.vDomWindowBuffer / b), M = Math.max(
|
|
18121
18121
|
this.vDomWindowMinTotalRows,
|
|
18122
|
-
Math.ceil(
|
|
18123
|
-
)) :
|
|
18124
|
-
for (y = [], x = document.createDocumentFragment(), d = 0; d <
|
|
18122
|
+
Math.ceil(M)
|
|
18123
|
+
)) : M = u; (M == u || a <= z + this.vDomWindowBuffer || D < this.vDomWindowMinTotalRows) && this.vDomBottom < u - 1; ) {
|
|
18124
|
+
for (y = [], x = document.createDocumentFragment(), d = 0; d < M && this.vDomBottom < u - 1; ) {
|
|
18125
18125
|
m = this.vDomBottom + 1, w = p[m], this.styleRow(w, m), w.initialize(!1, !0), !w.heightInitialized && !this.table.options.rowHeight && w.clearCellHeight();
|
|
18126
|
-
const
|
|
18127
|
-
|
|
18126
|
+
const k = w.getElement();
|
|
18127
|
+
k && x.appendChild(k), y.push(w), this.vDomBottom++, d++;
|
|
18128
18128
|
}
|
|
18129
18129
|
if (!y.length)
|
|
18130
18130
|
break;
|
|
18131
|
-
s?.appendChild(x), y.forEach((
|
|
18132
|
-
|
|
18133
|
-
}), y.forEach((
|
|
18134
|
-
|
|
18135
|
-
}), y.forEach((
|
|
18136
|
-
l =
|
|
18137
|
-
}), C = this.table.rowManager?.adjustTableSize() || !1, z = this.elementVertical.clientHeight, C && ee && (b = a / D,
|
|
18131
|
+
s?.appendChild(x), y.forEach((k) => {
|
|
18132
|
+
k.rendered(), k.heightInitialized || k.calcHeight(!0);
|
|
18133
|
+
}), y.forEach((k) => {
|
|
18134
|
+
k.heightInitialized || k.setCellHeight();
|
|
18135
|
+
}), y.forEach((k) => {
|
|
18136
|
+
l = k.getHeight(), D < n ? c += l : a += l, l > this.vDomWindowBuffer && (this.vDomWindowBuffer = l * 2), D++;
|
|
18137
|
+
}), C = this.table.rowManager?.adjustTableSize() || !1, z = this.elementVertical.clientHeight, C && ee && (b = a / D, M = Math.max(
|
|
18138
18138
|
this.vDomWindowMinTotalRows,
|
|
18139
18139
|
Math.ceil(
|
|
18140
18140
|
z / b + this.vDomWindowBuffer / b
|
|
@@ -18242,7 +18242,7 @@ class Xu extends ss {
|
|
|
18242
18242
|
t.setCellHeight();
|
|
18243
18243
|
}
|
|
18244
18244
|
}
|
|
18245
|
-
const
|
|
18245
|
+
const Wt = process.env.NODE_ENV === "development", Ju = E`<div class="tabulator-tableholder-wrapper"></div>`;
|
|
18246
18246
|
class Yu extends Le {
|
|
18247
18247
|
constructor(e) {
|
|
18248
18248
|
super(e), this.headerWidthObserver = null, this.headerWidthSyncFrame = null, this.element = this.createHolderElement(), this.wrapperElement = this.createWrapperElement(), this.wrapperElement.appendChild(this.element), this.tableElement = this.createTableElement(), this.heightFixer = this.createTableElement(), this.placeholder = null, this.placeholderContents = null, this.firstRender = !1, this.renderMode = "virtual", this.rows = [], this.activeRowsPipeline = [], this.activeRows = [], this.activeRowsCount = 0, this.displayRows = [], this.displayRowsCount = 0, this.scrollTop = 0, this.scrollLeft = 0, this.redrawBlock = !1, this.redrawBlockRestoreConfig = !1, this.redrawBlockRenderInPosition = !1, this.dataPipeline = [], this.displayPipeline = [], this.scrollbarWidth = 0, this.renderer = null, this.rowIndexMap = /* @__PURE__ */ new Map();
|
|
@@ -18276,7 +18276,7 @@ class Yu extends Le {
|
|
|
18276
18276
|
if (i.classList.add("tabulator-placeholder"), typeof t == "string") {
|
|
18277
18277
|
const s = document.createElement("div");
|
|
18278
18278
|
s.classList.add("tabulator-placeholder-contents"), s.innerHTML = P(t), i.appendChild(s), this.placeholderContents = s;
|
|
18279
|
-
} else typeof HTMLElement < "u" && t instanceof HTMLElement ? (i.appendChild(t), this.placeholderContents = t) : (
|
|
18279
|
+
} else typeof HTMLElement < "u" && t instanceof HTMLElement ? (i.appendChild(t), this.placeholderContents = t) : (Wt && console.warn(
|
|
18280
18280
|
"Invalid placeholder provided, must be string or HTML Element",
|
|
18281
18281
|
t
|
|
18282
18282
|
), this.placeholder = null);
|
|
@@ -18421,11 +18421,11 @@ class Yu extends Le {
|
|
|
18421
18421
|
if (i && typeof i == "object") {
|
|
18422
18422
|
const s = new Fe(i, this);
|
|
18423
18423
|
this.rows.push(s), this.registerRowInMap(s);
|
|
18424
|
-
} else
|
|
18424
|
+
} else Wt && console.warn(
|
|
18425
18425
|
"Data Loading Warning - Invalid row data detected and ignored, expecting object but received:",
|
|
18426
18426
|
i
|
|
18427
18427
|
);
|
|
18428
|
-
}), this.refreshActiveData(!1, !1, t), this.dispatch("data-processed", e), this.dispatchExternal("dataProcessed", e)) :
|
|
18428
|
+
}), this.refreshActiveData(!1, !1, t), this.dispatch("data-processed", e), this.dispatchExternal("dataProcessed", e)) : Wt && console.error(
|
|
18429
18429
|
`Data Loading Error - Unable to process data due to invalid data type
|
|
18430
18430
|
Expecting: array
|
|
18431
18431
|
Received: `,
|
|
@@ -18550,12 +18550,12 @@ Data: `,
|
|
|
18550
18550
|
this.scrollLeft = e, this.element.scrollLeft = e, this.dispatch("scroll-horizontal", e);
|
|
18551
18551
|
}
|
|
18552
18552
|
registerDataPipelineHandler(e, t) {
|
|
18553
|
-
t != null ? (this.dataPipeline.push({ handler: e, priority: t }), this.dataPipeline.sort((i, s) => i.priority - s.priority)) :
|
|
18553
|
+
t != null ? (this.dataPipeline.push({ handler: e, priority: t }), this.dataPipeline.sort((i, s) => i.priority - s.priority)) : Wt && console.error(
|
|
18554
18554
|
"Data pipeline handlers must have a priority in order to be registered"
|
|
18555
18555
|
);
|
|
18556
18556
|
}
|
|
18557
18557
|
registerDisplayPipelineHandler(e, t) {
|
|
18558
|
-
t != null ? (this.displayPipeline.push({ handler: e, priority: t }), this.displayPipeline.sort((i, s) => i.priority - s.priority)) :
|
|
18558
|
+
t != null ? (this.displayPipeline.push({ handler: e, priority: t }), this.displayPipeline.sort((i, s) => i.priority - s.priority)) : Wt && console.error(
|
|
18559
18559
|
"Display pipeline handlers must have a priority in order to be registered"
|
|
18560
18560
|
);
|
|
18561
18561
|
}
|
|
@@ -18577,7 +18577,7 @@ Data: `,
|
|
|
18577
18577
|
else if (n = this.displayPipeline.findIndex((l) => l.handler === e), n > -1)
|
|
18578
18578
|
o = "displayPipeline", t && (n == this.displayPipeline.length - 1 ? o = "end" : n++);
|
|
18579
18579
|
else {
|
|
18580
|
-
|
|
18580
|
+
Wt && console.error(
|
|
18581
18581
|
"Unable to refresh data, invalid handler provided",
|
|
18582
18582
|
e
|
|
18583
18583
|
);
|
|
@@ -18704,7 +18704,7 @@ Data: `,
|
|
|
18704
18704
|
basic: qu,
|
|
18705
18705
|
virtual: Xu
|
|
18706
18706
|
};
|
|
18707
|
-
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()) :
|
|
18707
|
+
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()) : Wt && console.error(
|
|
18708
18708
|
"Unable to find matching renderer:",
|
|
18709
18709
|
this.table.options.renderVertical
|
|
18710
18710
|
);
|
|
@@ -18893,7 +18893,7 @@ class Qu {
|
|
|
18893
18893
|
}
|
|
18894
18894
|
}
|
|
18895
18895
|
}
|
|
18896
|
-
const Ii = process.env.NODE_ENV === "development",
|
|
18896
|
+
const Ii = process.env.NODE_ENV === "development", Xi = class Xi extends Le {
|
|
18897
18897
|
constructor(e) {
|
|
18898
18898
|
super(e), this.debounceTimer = null, this.pendingPromise = null, this.pendingResolve = null, this.pendingReject = null, this.requestOrder = 0, this.loading = !1, this.externalLoading = !1;
|
|
18899
18899
|
}
|
|
@@ -18920,7 +18920,7 @@ const Ii = process.env.NODE_ENV === "development", Ji = class Ji extends Le {
|
|
|
18920
18920
|
this.debounceTimer = null;
|
|
18921
18921
|
const l = this.pendingResolve, h = this.pendingReject;
|
|
18922
18922
|
this.pendingPromise = null, this.pendingResolve = null, this.pendingReject = null, this._executeLoad(e, t, i, s, o, n).then(() => l?.()).catch((c) => h?.(c));
|
|
18923
|
-
},
|
|
18923
|
+
}, Xi.DEBOUNCE_DELAY), a;
|
|
18924
18924
|
}
|
|
18925
18925
|
_executeLoad(e, t, i, s, o, n) {
|
|
18926
18926
|
const a = ++this.requestOrder;
|
|
@@ -19017,8 +19017,8 @@ const Ii = process.env.NODE_ENV === "development", Ji = class Ji extends Le {
|
|
|
19017
19017
|
this.externalLoading || this.table.alertManager?.clear();
|
|
19018
19018
|
}
|
|
19019
19019
|
};
|
|
19020
|
-
|
|
19021
|
-
let no =
|
|
19020
|
+
Xi.DEBOUNCE_DELAY = 500;
|
|
19021
|
+
let no = Xi;
|
|
19022
19022
|
const ep = process.env.NODE_ENV === "development";
|
|
19023
19023
|
class tp extends Le {
|
|
19024
19024
|
constructor(e) {
|
|
@@ -19100,7 +19100,7 @@ class sp extends Le {
|
|
|
19100
19100
|
this._warnUser(e);
|
|
19101
19101
|
}
|
|
19102
19102
|
}
|
|
19103
|
-
const
|
|
19103
|
+
const ms = process.env.NODE_ENV === "development";
|
|
19104
19104
|
class op {
|
|
19105
19105
|
constructor(e, t, i) {
|
|
19106
19106
|
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;
|
|
@@ -19118,7 +19118,7 @@ class op {
|
|
|
19118
19118
|
if (i > -1)
|
|
19119
19119
|
this.events[e].splice(i, 1);
|
|
19120
19120
|
else {
|
|
19121
|
-
|
|
19121
|
+
ms && console.warn(
|
|
19122
19122
|
"Cannot remove event, no matching event found:",
|
|
19123
19123
|
e,
|
|
19124
19124
|
t
|
|
@@ -19128,7 +19128,7 @@ class op {
|
|
|
19128
19128
|
} else
|
|
19129
19129
|
delete this.events[e];
|
|
19130
19130
|
else {
|
|
19131
|
-
|
|
19131
|
+
ms && console.warn("Cannot remove event, no events set on:", e);
|
|
19132
19132
|
return;
|
|
19133
19133
|
}
|
|
19134
19134
|
this._notifySubscriptionChange(e, this.subscribed(e));
|
|
@@ -19151,7 +19151,7 @@ class op {
|
|
|
19151
19151
|
}
|
|
19152
19152
|
_debugDispatch(e, ...t) {
|
|
19153
19153
|
const i = "ExternalEvent:" + e;
|
|
19154
|
-
return
|
|
19154
|
+
return ms && (this.debug === !0 || Array.isArray(this.debug) && this.debug.includes(e)) && console.log(i, ...t), this._dispatch(e, ...t);
|
|
19155
19155
|
}
|
|
19156
19156
|
}
|
|
19157
19157
|
const rp = process.env.NODE_ENV === "development";
|
|
@@ -19425,19 +19425,19 @@ function lp(r) {
|
|
|
19425
19425
|
return typeof w == "string" ? w.indexOf("%") > -1 ? x = i / 100 * parseInt(w, 10) : x = parseInt(w, 10) : x = w || 0, x;
|
|
19426
19426
|
}
|
|
19427
19427
|
function m(w, x, y, D) {
|
|
19428
|
-
const
|
|
19428
|
+
const M = [];
|
|
19429
19429
|
let fe = 0, L = 0, ve = 0, ee = n, z = 0, b = 0;
|
|
19430
19430
|
const C = [];
|
|
19431
19431
|
function R(S) {
|
|
19432
19432
|
return y * (S.column.definition.widthGrow || 1);
|
|
19433
19433
|
}
|
|
19434
|
-
function
|
|
19434
|
+
function k(S) {
|
|
19435
19435
|
return u(S.width) - y * (S.column.definition.widthShrink || 0);
|
|
19436
19436
|
}
|
|
19437
19437
|
return w.forEach((S) => {
|
|
19438
|
-
const _ = D ?
|
|
19439
|
-
S.column.minWidth && S.column.minWidth >= _ ?
|
|
19440
|
-
}),
|
|
19438
|
+
const _ = D ? k(S) : R(S);
|
|
19439
|
+
S.column.minWidth && S.column.minWidth >= _ ? M.push(S) : S.column.maxWidth && S.column.maxWidth < _ ? (S.width = S.column.maxWidth, x -= S.column.maxWidth, ee -= D ? S.column.definition.widthShrink || 1 : S.column.definition.widthGrow || 1, ee && (y = Math.floor(x / ee))) : (C.push(S), b += D ? S.column.definition.widthShrink || 1 : S.column.definition.widthGrow || 1);
|
|
19440
|
+
}), M.length ? (M.forEach((S) => {
|
|
19441
19441
|
fe += D ? S.width - (S.column.minWidth ?? 0) : S.column.minWidth ?? 0, S.width = S.column.minWidth ?? 0;
|
|
19442
19442
|
}), L = x - fe, ve = b ? Math.floor(L / b) : L, z = m(
|
|
19443
19443
|
C,
|
|
@@ -19445,7 +19445,7 @@ function lp(r) {
|
|
|
19445
19445
|
ve,
|
|
19446
19446
|
D
|
|
19447
19447
|
)) : (z = b ? x - Math.floor(x / b) * b : x, C.forEach((S) => {
|
|
19448
|
-
S.width = D ?
|
|
19448
|
+
S.width = D ? k(S) : R(S);
|
|
19449
19449
|
})), z;
|
|
19450
19450
|
}
|
|
19451
19451
|
if (this.table.options.responsiveLayout && this.table.modExists("responsiveLayout", !0) && this.table.modules.responsiveLayout?.update(), this.table.rowManager?.element && this.table.rowManager.element.scrollHeight > this.table.rowManager.element.clientHeight) {
|
|
@@ -19501,14 +19501,14 @@ const dp = {
|
|
|
19501
19501
|
fitDataFill: Vr,
|
|
19502
19502
|
fitDataStretch: cp,
|
|
19503
19503
|
fitDataTable: Vr
|
|
19504
|
-
}, up = process.env.NODE_ENV === "development",
|
|
19504
|
+
}, up = process.env.NODE_ENV === "development", qt = class qt extends I {
|
|
19505
19505
|
constructor(e) {
|
|
19506
19506
|
super(e), this.mode = null, this.registerTableOption("layout", "fitData"), this.registerTableOption("layoutColumnsOnNewData", !1), this.registerColumnOption("widthGrow"), this.registerColumnOption("widthShrink");
|
|
19507
19507
|
}
|
|
19508
19508
|
// initialize layout system
|
|
19509
19509
|
initialize() {
|
|
19510
19510
|
const e = this.table.options.layout;
|
|
19511
|
-
e &&
|
|
19511
|
+
e && qt.modes[e] ? this.mode = e : (up && console.warn(
|
|
19512
19512
|
"Layout Error - invalid mode set, defaulting to 'fitData' : " + e
|
|
19513
19513
|
), this.mode = "fitData"), this.table.element.setAttribute("tabulator-layout", this.mode), this.subscribe("column-init", this.initializeColumn.bind(this));
|
|
19514
19514
|
}
|
|
@@ -19523,8 +19523,8 @@ const dp = {
|
|
|
19523
19523
|
const t = this.table.columnManager?.columnsByIndex.find(
|
|
19524
19524
|
(i) => i.definition.variableHeight || i.definition.formatter === "textarea"
|
|
19525
19525
|
);
|
|
19526
|
-
this.dispatch("layout-refreshing"), this.mode &&
|
|
19527
|
-
|
|
19526
|
+
this.dispatch("layout-refreshing"), this.mode && qt.modes[this.mode] && await Promise.resolve(
|
|
19527
|
+
qt.modes[this.mode].call(
|
|
19528
19528
|
this,
|
|
19529
19529
|
this.table.columnManager?.columnsByIndex || [],
|
|
19530
19530
|
e
|
|
@@ -19532,8 +19532,8 @@ const dp = {
|
|
|
19532
19532
|
), t && this.table.rowManager?.normalizeHeight(!0), this.dispatch("layout-refreshed");
|
|
19533
19533
|
}
|
|
19534
19534
|
};
|
|
19535
|
-
|
|
19536
|
-
let ao =
|
|
19535
|
+
qt.moduleName = "layout", qt.modes = dp;
|
|
19536
|
+
let ao = qt;
|
|
19537
19537
|
const pp = {
|
|
19538
19538
|
default: {
|
|
19539
19539
|
columns: {},
|
|
@@ -19712,7 +19712,7 @@ Ze.registry = {
|
|
|
19712
19712
|
return i;
|
|
19713
19713
|
},
|
|
19714
19714
|
matchElement(e) {
|
|
19715
|
-
return Ze.registry.tables.find((t) => e instanceof
|
|
19715
|
+
return Ze.registry.tables.find((t) => e instanceof _t ? t === e : t.element === e);
|
|
19716
19716
|
},
|
|
19717
19717
|
register(e) {
|
|
19718
19718
|
Ze.registry.tables.push(e);
|
|
@@ -20206,16 +20206,16 @@ const ue = process.env.NODE_ENV === "development", yt = class yt extends uo {
|
|
|
20206
20206
|
}
|
|
20207
20207
|
};
|
|
20208
20208
|
yt.defaultOptions = Uu;
|
|
20209
|
-
let
|
|
20210
|
-
class gp extends
|
|
20209
|
+
let _t = yt;
|
|
20210
|
+
class gp extends _t {
|
|
20211
20211
|
static extendModule(...e) {
|
|
20212
|
-
|
|
20212
|
+
_t.initializeModuleBinder(ps), _t._extendModule(...e);
|
|
20213
20213
|
}
|
|
20214
20214
|
static registerModule(...e) {
|
|
20215
|
-
|
|
20215
|
+
_t.initializeModuleBinder(ps), _t._registerModule(...e);
|
|
20216
20216
|
}
|
|
20217
20217
|
constructor(e, t) {
|
|
20218
|
-
super(e, t,
|
|
20218
|
+
super(e, t, ps);
|
|
20219
20219
|
}
|
|
20220
20220
|
// #endregion
|
|
20221
20221
|
}
|
|
@@ -20251,23 +20251,23 @@ function vp(r) {
|
|
|
20251
20251
|
if (i === -1)
|
|
20252
20252
|
continue;
|
|
20253
20253
|
const s = t.slice(0, i), o = s.indexOf("|"), n = o === -1 ? s : s.slice(0, o), a = o === -1 ? n : s.slice(o + 1), [l, ...h] = t.slice(i + 1).split("-");
|
|
20254
|
-
l ===
|
|
20254
|
+
l === Vi.Checkbox && (h.includes(Ct.Single) || h.includes(Ct.Multiple)) ? e.set(n, {
|
|
20255
20255
|
displayName: a,
|
|
20256
20256
|
facetFieldName: n,
|
|
20257
20257
|
selection: yp(h),
|
|
20258
20258
|
type: at.Checkbox
|
|
20259
|
-
}) : l ===
|
|
20259
|
+
}) : l === Vi.DatePicker ? e.set(n, {
|
|
20260
20260
|
displayFormat: Wr(h),
|
|
20261
20261
|
displayName: a,
|
|
20262
20262
|
facetFieldName: n,
|
|
20263
|
-
showTime: h.includes(
|
|
20263
|
+
showTime: h.includes(Bi.ShowTime),
|
|
20264
20264
|
type: at.DatePicker
|
|
20265
|
-
}) : l ===
|
|
20265
|
+
}) : l === Vi.DateRangePicker && e.set(n, {
|
|
20266
20266
|
displayFormat: Wr(h),
|
|
20267
20267
|
displayName: a,
|
|
20268
20268
|
facetFieldName: n,
|
|
20269
|
-
showPreset: h.includes(
|
|
20270
|
-
showTime: h.includes(
|
|
20269
|
+
showPreset: h.includes(Bi.ShowPreset),
|
|
20270
|
+
showTime: h.includes(Bi.ShowTime),
|
|
20271
20271
|
type: at.DateRange
|
|
20272
20272
|
});
|
|
20273
20273
|
}
|
|
@@ -20700,12 +20700,12 @@ class Rp {
|
|
|
20700
20700
|
)?.formatterParams?.disabled;
|
|
20701
20701
|
}
|
|
20702
20702
|
}
|
|
20703
|
-
const Sp = Q`.tabulator .tabulator-alert{z-index:100;background:color-mix(in srgb, var(--cx-color-neutral-0) 40%, transparent);text-align:center;align-items:center;width:100%;height:100%;display:flex;position:absolute;top:0;left:0}.tabulator .tabulator-alert.tabulator-alert-state-loading{--loading-offset:var(--cx-spacing-x-small);top:calc(var(--header-height,var(--cx-spacing-3x-large)) + var(--border-width) + var(--loading-offset));height:calc(100% - var(--header-height,var(--cx-spacing-3x-large)) - var(--border-width) - var(--loading-offset))}.tabulator.tabulator-header-hidden .tabulator-alert.tabulator-alert-state-loading{height:100%;top:0}.tabulator .tabulator-alert .tabulator-alert-msg{padding:var(--cx-spacing-small) var(--cx-spacing-large);border-radius:var(--cx-border-radius-x-large);background:var(--cx-color-neutral-0);font-weight:700;font-size:var(--cx-font-size-medium);margin:0 auto;display:inline-block}.tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-msg{color:var(--cx-color-neutral-1000)}.tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-error{border:4px solid var(--cx-color-danger);color:var(--cx-color-danger-900)}`, Dp = Q`:host{--width:100%;--table-height:var(--height,auto);--table-min-height:var(--min-height,0);--table-max-height:var(--max-height,auto);--color:var(--cx-color-neutral-900);--background-color:var(--cx-color-neutral-0);--border-width:var(--cx-input-border-width);--border-color:var(--cx-color-neutral-200);--outer-border-color:var(--border-color);--border-radius:var(--cx-border-radius-medium);--row-background-color:var(--cx-color-neutral-0);--row-even-background-color:var(--cx-color-neutral-0);--row-hover-background-color:var(--cx-color-neutral-0);--row-even-hover-background-color:var(--cx-color-neutral-0);--row-gap:0;--frozen-border-color:var(--cx-color-neutral-300);--frozen-overlay-z-index:12;--frozen-divider-z-index:13;--header-background-color:var(--cx-color-neutral-50);--header-hover-background-color:var(--cx-color-primary-50);--header-font-family:var(--cx-font-sans);--header-font-style:normal;--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-padding-top:var(--cx-spacing-2x-small);--cell-padding-right:var(--cell-horizontal-padding);--cell-padding-bottom:var(--cx-spacing-2x-small);--cell-padding-left:var(--cell-horizontal-padding);--column-gap:0px;--cell-font-family:var(--cx-font-sans);--cell-font-size:var(--cx-font-size-small);--cell-font-weight:var(--cx-font-weight-regular);--cell-line-height:normal;--cell-hover-background-color:var(--cx-color-neutral-50);--group-count-color:var(--cx-color-danger-500);--group-row-background-color:var(--row-background-color);--group-row-hover-background-color:var(--row-hover-background-color);--group-row-border-color:var(--cx-color-neutral-200);--group-row-color:var(--cx-color-neutral-900);--group-row-font-weight:var(--cx-font-weight-medium);--row-header-border-color:var(--cx-color-neutral-200);--tabulator-tree-control-width:18px;--tabulator-tree-child-indent:9px;--tabulator-tree-step:calc(var(--tabulator-tree-control-width) + var(--tabulator-tree-child-indent));isolation:isolate;width:var(--width);display:block}.container{height:100%}.tabulator{background-color:var(--background-color);font-size:var(--font-size,var(--cx-font-size-small));text-align:left;height:var(--table-height);min-height:var(--table-min-height);max-height:var(--table-max-height);border-radius:var(--cx-border-radius-medium);border-inline:var(--border-width) solid transparent;flex-direction:column;line-height:normal;display:flex;position:relative;overflow:hidden}.tabulator.tabulator-overflow-x{border-inline-color:var(--outer-border-color);border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.tabulator[tabulator-layout=fitDataFill] .tabulator-tableholder .tabulator-table{min-width:100%}.tabulator[tabulator-layout=fitDataTable]{display:inline-block}.tabulator.tabulator-block-select,.tabulator.tabulator-ranges .tabulator-cell:not(.tabulator-editing){user-select:none}.tabulator .tabulator-tableholder-wrapper{flex:1;width:fit-content;max-width:100%;display:flex;position:relative;overflow:hidden}.tabulator .tabulator-tableholder{white-space:nowrap;-webkit-overflow-scrolling:touch;border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);flex:1;min-width:0;position:relative;overflow:auto}.tabulator .tabulator-tableholder-wrapper:before{content:"";z-index:1;pointer-events:none;border:var(--border-width) solid var(--outer-border-color);border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);width:100%;height:100%;display:block;position:absolute;top:0;left:0}.tabulator.tabulator-header-hidden .tabulator-tableholder-wrapper:before{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.tabulator .tabulator-tableholder:focus{outline:none}.tabulator .tabulator-tableholder .tabulator-table{background-color:var(--body-background-color,var(--cx-color-neutral-0));white-space:nowrap;color:var(--color);min-width:100%;display:inline-block;position:relative;overflow:visible}`, Mp = Q`.tabulator .tabulator-header .tabulator-calcs-holder{box-sizing:border-box;border-top:var(--border-width) solid var(--cx-color-neutral-400);border-bottom:var(--border-width) solid var(--cx-color-neutral-400);display:inline-block;background:var(--cx-color-neutral-100)!important}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row{background:var(--cx-color-neutral-100)!important}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs{font-weight:700;background:var(--cx-color-neutral-200)!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-top{border-bottom:2px solid var(--cx-color-neutral-400)}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-bottom{border-top:2px solid var(--cx-color-neutral-400)}.tabulator .tabulator-footer .tabulator-calcs-holder{box-sizing:border-box;text-align:left;border-bottom:1px solid var(--cx-color-neutral-400);border-top:1px solid var(--cx-color-neutral-400);width:100%;overflow:hidden;background:var(--cx-color-neutral-100)!important}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row{display:inline-block;background:var(--cx-color-neutral-100)!important}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-footer .tabulator-calcs-holder:only-child{border-bottom:none;margin-bottom:-5px}`, kp = Q`.tabulator-clickable-cell{color:var(--clickable-cell-color,var(--cx-color-primary-600));cursor:pointer}.tabulator-clickable-cell:hover{text-decoration:underline}.tabulator-clickable-cell cx-icon,.tabulator-clickable-cell cx-icon-button{color:var(--color)}`, Tp = Q`.tabulator-row .tabulator-cell .tabulator-data-tree-branch-empty{display:none}.tabulator-row .tabulator-cell .tabulator-data-tree-branch{border-left:2px solid var(--cx-color-neutral-400);border-bottom:2px solid var(--cx-color-neutral-400);border-bottom-left-radius:1px;width:7px;height:9px;margin-top:-9px;position:absolute}.tabulator-row .tabulator-cell .tabulator-data-tree-control{flex:0 0 var(--tabulator-tree-control-width);vertical-align:middle;width:var(--tabulator-tree-control-width);justify-content:center;align-items:center;display:inline-flex}`, Fp = Q`.tabulator-row .tabulator-cell.tabulator-editing{padding:0 var(--cell-horizontal-padding);outline:none}.tabulator:not(.tabulator-ranges) .tabulator-row .tabulator-cell.tabulator-editing input,.tabulator:not(.tabulator-ranges) .tabulator-row .tabulator-cell.tabulator-editing select{font-size:inherit;color:inherit;border-radius:var(--cx-input-border-radius-medium);background:0 0;border:none;outline:none;padding:0;font-family:inherit}.tabulator-ranges .tabulator-row .tabulator-cell.tabulator-editing input,.tabulator-ranges .tabulator-row .tabulator-cell.tabulator-editing select{border:var(--border-width) solid var(--border-color);background:0 0;outline:none}.tabulator-row .tabulator-cell.tabulator-validation-fail{border:var(--border-width) solid var(--cx-color-danger);background:var(--cx-color-danger-100)}.tabulator-row .tabulator-cell.tabulator-validation-fail input,.tabulator-row .tabulator-cell.tabulator-validation-fail select{border:var(--border-width) solid var(--border-color);color:var(--cx-color-danger);background:0 0}.tabulator-row .tabulator-cell.tabulator-editing.tabulator-edit-list{padding:0 var(--cx-spacing-x-small)}.tabulator-edit-list{position:relative}.tabulator-edit-list:not(.tabulator-editing) .tabulator-cell-content{padding-right:var(--cx-spacing-large)}.tabulator-edit-list-trigger{top:50%;right:var(--cx-spacing-small);width:var(--cx-spacing-large);appearance:none;height:100%;color:inherit;cursor:pointer;font:inherit;background:0 0;border:none;justify-content:center;align-items:center;padding:0;display:inline-flex;position:absolute;transform:translateY(-50%)}.tabulator-edit-list.tabulator-editing .tabulator-edit-list-trigger{display:none}.tabulator-edit-list-trigger-caret{--font-size:var(--cx-font-size-medium);color:var(--cx-color-neutral-500)}`, Lp = Q`.tabulator .tabulator-footer{border-top:1px solid var(--cx-color-neutral-400);background-color:var(--cx-color-neutral-200);color:var(--cx-color-neutral-500);white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;user-select:none;-khtml-user-select:none;-o-user-select:none;font-weight:700}.tabulator .tabulator-footer .tabulator-footer-contents{padding:var(--cx-spacing-2x-small) var(--cx-spacing-small);flex-direction:row;justify-content:space-between;align-items:center;display:flex}.tabulator .tabulator-footer .tabulator-footer-contents:empty{display:none}`, zp = Q`.tabulator-row .tabulator-cell a{color:var(--cx-color-primary-600);text-decoration:none}.tabulator-row .tabulator-cell a:hover{text-decoration:underline}.tabulator-row .tabulator-cell .tabulator-traffic-light-container{align-items:center;gap:var(--cx-spacing-x-small);display:inline-flex}.tabulator-row .tabulator-cell .tabulator-traffic-light{border-radius:var(--cx-border-radius-x-large);width:14px;height:14px;display:inline-block}.tabulator-composite,.tabulator-composite>span,.tabulator-composite>span>cx-line-clamp{min-width:0}.tabulator-composite,.tabulator-composite>span{overflow:hidden}.tabulator-composite>span:has(cx-icon,img,cx-avatar,cx-switch){flex-shrink:0}`, _p = Q`.tabulator:has(.tabulator-frozen) .tabulator-tableholder-wrapper:before,.tabulator:has(.tabulator-frozen) .tabulator-header:before{z-index:var(--frozen-overlay-z-index)}.tabulator:not(.tabulator-rtl) .tabulator-header .tabulator-col.tabulator-frozen.tabulator-frozen-left,.tabulator:not(.tabulator-rtl) .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-right-color:#0000}.tabulator:not(.tabulator-rtl) .tabulator-header .tabulator-col.tabulator-frozen.tabulator-frozen-right,.tabulator:not(.tabulator-rtl) .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-left-color:#0000}.tabulator:not(.tabulator-rtl):has(.tabulator-frozen-pinned-start):before,.tabulator:not(.tabulator-rtl):has(.tabulator-frozen-pinned-end):after{content:"";background-color:var(--frozen-border-color);pointer-events:none;width:2px;z-index:var(--frozen-divider-z-index);position:absolute;top:0;bottom:0}.tabulator:not(.tabulator-rtl):has(.tabulator-frozen-pinned-start):before{left:calc(var(--frozen-left-width,0px) - 2px)}.tabulator:not(.tabulator-rtl):has(.tabulator-frozen-pinned-end):after{right:calc(var(--frozen-right-width,0px) + var(--frozen-scrollbar-width,0px) - 2px)}.tabulator .tabulator-col-resize-handle.tabulator-col-resize-handle-pinned-end{width:6px;z-index:var(--frozen-overlay-z-index);margin-left:-3px;margin-right:-3px}.tabulator:has(.tabulator-frozen) .tabulator-tableholder::-webkit-scrollbar-track:horizontal{margin-left:var(--frozen-left-width,0px);margin-right:var(--frozen-right-width,0px)}.tabulator.tabulator-rtl:has(.tabulator-frozen) .tabulator-tableholder::-webkit-scrollbar-track:horizontal{margin-left:var(--frozen-right-width,0px);margin-right:var(--frozen-left-width,0px)}.tabulator:has(.tabulator-frozen)>.os-scrollbar-horizontal{margin-left:var(--frozen-left-width,0px);margin-right:var(--frozen-right-width,0px)}.tabulator.tabulator-rtl:has(.tabulator-frozen)>.os-scrollbar-horizontal{margin-left:var(--frozen-right-width,0px);margin-right:var(--frozen-left-width,0px)}`, Op = Q`.tabulator-row.tabulator-group{box-sizing:border-box;border-bottom:var(--border-width) solid var(--group-row-border-color);border-right:var(--border-width) solid var(--group-row-border-color);padding:var(--cx-spacing-2x-small);padding-left:var(--cx-spacing-small);background:var(--group-row-background-color);min-width:100%;line-height:var(--header-height);color:var(--group-row-color);font-weight:var(--group-row-font-weight)}.tabulator-row.tabulator-group.tabulator-row-last{border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius)}@media (hover:hover) and (pointer:fine){.tabulator-row.tabulator-group:hover{cursor:pointer;background-color:var(--group-row-hover-background-color)}}.tabulator-row.tabulator-group.tabulator-group-level-1{padding-left:30px}.tabulator-row.tabulator-group.tabulator-group-level-2{padding-left:50px}.tabulator-row.tabulator-group.tabulator-group-level-3{padding-left:70px}.tabulator-row.tabulator-group.tabulator-group-level-4{padding-left:90px}.tabulator-row.tabulator-group.tabulator-group-level-5{padding-left:110px}.tabulator-row.tabulator-group .tabulator-group-toggle{display:inline-flex}.tabulator-row.tabulator-group .tabulator-group-count{margin-left:var(--cx-spacing-small);color:var(--group-count-color)}`, Ap = Q`:host{--selected-column-header-background-color:var(--header-background-color);--selected-column-header-color:var(--header-color)}.tabulator .tabulator-header{box-sizing:border-box;width:fit-content;max-width:100%;font-family:var(--header-font-family);font-style:var(--header-font-style);font-weight:var(--header-font-weight);font-size:var(--header-font-size);color:var(--header-color);white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-khtml-user-select:none;-o-user-select:none;outline:none;position:relative}.tabulator .tabulator-header.tabulator-header-hidden{display:none}.tabulator .tabulator-header .tabulator-header-contents{box-sizing:border-box;width:100%;position:relative;overflow:hidden}.tabulator .tabulator-header:before{content:"";z-index:1;pointer-events:none;border:var(--border-width) solid var(--outer-border-color);border-bottom:var(--header-border-bottom);border-top-right-radius:var(--border-radius);border-top-left-radius:var(--border-radius);width:100%;height:100%;display:block;position:absolute;top:0;left:0}.tabulator .tabulator-header .tabulator-col:last-of-type{border-right:none}.tabulator .tabulator-header .tabulator-header-contents .tabulator-headers{background-color:var(--header-background-color);display:inline-block}.tabulator .tabulator-header .tabulator-col{box-sizing:border-box;border-right:var(--header-border-right);background:var(--header-background-color);text-align:left;vertical-align:bottom;height:var(--header-height);flex-direction:column;justify-content:center;display:inline-flex;position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-col.tabulator-moving{border:solid var(--border-width) var(--border-color);background:var(--cx-color-neutral-300);pointer-events:none;position:absolute}.tabulator .tabulator-header .tabulator-col.tabulator-range-highlight{background-color:var(--selected-column-header-background-color);color:var(--selected-column-header-color)}.tabulator .tabulator-header .tabulator-col.tabulator-range-selected{background-color:var(--cx-color-primary-500);color:var(--cx-color-neutral-0)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content{box-sizing:border-box;padding:var(--cx-spacing-2x-small) var(--header-horizontal-padding);position:relative}.tabulator .tabulator-header .tabulator-col:not(:last-of-type) .tabulator-col-content{padding-right:calc(var(--header-horizontal-padding) + var(--column-gap))}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button{padding:0 var(--cx-spacing-x-small)}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button:hover{cursor:pointer;opacity:.6}}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title-holder{align-items:center;gap:var(--cx-spacing-2x-small);display:flex;position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title{box-sizing:border-box;white-space:nowrap;text-overflow:ellipsis;vertical-align:bottom;flex:auto;width:100%;min-width:0;overflow:hidden}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title.tabulator-col-title-wrap{white-space:normal;text-overflow:initial}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-title-editor{box-sizing:border-box;border:solid var(--border-width) var(--border-color);width:100%;padding:var(--cx-spacing-3x-small);background:var(--cx-color-neutral-0)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-header-popup-button+.tabulator-title-editor{width:calc(100% - 22px)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{inline-size:var(--cx-spacing-medium);block-size:var(--cx-spacing-medium);flex:none;order:-1;justify-content:center;align-items:center;display:flex;position:static}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter cx-icon{--font-size:var(--cx-font-size-medium);color:var(--cx-color-neutral-400)}.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{border-top:1px solid var(--cx-color-neutral-400);margin-right:-1px;display:flex;position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter{box-sizing:border-box;margin-top:var(--cx-spacing-3x-small);text-align:center;width:100%;position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter textarea{height:auto!important}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter svg{margin-top:var(--cx-spacing-3x-small)}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input::-ms-clear{width:0;height:0}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable.tabulator-col-sorter-element:hover{cursor:pointer}.tabulator .tabulator-header .tabulator-col:hover{background-color:var(--header-hover-background-color)}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter cx-icon{visibility:hidden}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none]:hover .tabulator-col-content .tabulator-col-sorter cx-icon{visibility:visible}}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical .tabulator-col-content .tabulator-col-title{writing-mode:vertical-rl;text-orientation:mixed;justify-content:center;align-items:center;display:flex}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-col-vertical-flip .tabulator-col-title{transform:rotate(180deg)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-title{padding-right:0;padding-top:var(--cx-spacing-large)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable.tabulator-col-vertical-flip .tabulator-col-title{padding-right:0;padding-bottom:var(--cx-spacing-large)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-sorter{justify-content:center;inline-size:auto;position:absolute;inset:4px 0 auto}.tabulator .tabulator-header .tabulator-frozen{z-index:11;position:sticky;left:0}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-left{border-right:2px solid var(--frozen-border-color)}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-right{border-left:2px solid var(--frozen-border-color)}.tabulator .tabulator-header .tabulator-frozen-rows-holder{border-bottom:2px solid var(--frozen-border-color);display:inline-block}.tabulator .tabulator-header .tabulator-frozen-rows-holder:empty{display:none}`, Pp = Q`:host{--hover-menu-background-color:transparent}.tabulator-hover-menu{padding-left:var(--cell-horizontal-padding);padding-right:var(--cell-horizontal-padding);background-color:var(--hover-menu-background-color);opacity:0;pointer-events:none;z-index:12;align-items:center;height:100%;display:flex;position:absolute;top:0}.tabulator:not(.tabulator-editing) .tabulator-hover-menu--active{opacity:1;pointer-events:auto}`, Ip = Q`.tabulator-row .tabulator-cell.tabulator-row-handle{-webkit-user-select:none;-moz-user-select:none;-khtml-user-select:none;-o-user-select:none;justify-content:center;align-items:center;display:inline-flex}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box{width:80%}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box .tabulator-row-handle-bar{width:100%;height:3px;margin-top:var(--cx-spacing-3x-small);background:var(--cx-color-neutral-600)}`, Hp = Q`:host{--scrollbar-size:17px;--scrollbar-thumb-border-width:7px;--scrollbar-thumb-border-width-hover:4px;--scrollbar-thumb-border-color:#0000;--scrollbar-thumb-radius:13px;--scrollbar-thumb-min-size:50px}.table{position:relative}.table>.os-scrollbar-vertical,.table>.os-scrollbar.os-scrollbar-vertical.os-scrollbar-cornerless{top:calc(var(--header-height) + var(--border-width))}.table.tabulator-header-hidden>.os-scrollbar-vertical,.table.tabulator-header-hidden>.os-scrollbar.os-scrollbar-vertical.os-scrollbar-cornerless{top:var(--border-width)}.table>.os-scrollbar{--os-size:var(--scrollbar-size);--os-padding-perpendicular:0px;--os-padding-axis:0px;--os-handle-border-radius:var(--scrollbar-thumb-radius);--os-handle-border:var(--scrollbar-thumb-border-width) solid var(--scrollbar-thumb-border-color);--os-handle-border-hover:var(--scrollbar-thumb-border-width-hover) solid var(--scrollbar-thumb-border-color);--os-handle-border-active:var(--scrollbar-thumb-border-width-hover) solid var(--scrollbar-thumb-border-color);--os-handle-min-size:var(--scrollbar-thumb-min-size)}.table>.os-scrollbar .os-scrollbar-handle{background-clip:padding-box}`, Np = Q`.tabulator .tabulator-footer .tabulator-paginator{flex:1}.tabulator .tabulator-footer .tabulator-paginator-pagination{margin-left:auto}.tabulator-paginator-pagination{--font-size:var(--cx-font-size-x-small);--pagination-input-font-size:var(--cx-font-size-x-small)}.tabulator-paginator-pagination::part(back-icon),.tabulator-paginator-pagination::part(next-icon){--font-size:var(--cx-font-size-medium)}`, Vp = Q`:host{--placeholder-color:var(--cx-color-neutral-800);--placeholder-font-weight:var(--cx-font-weight-regular);--placeholder-font-size:var(--cx-font-size-small)}.tabulator .tabulator-tableholder-wrapper .tabulator-placeholder{box-sizing:border-box;justify-content:center;align-items:center;width:100%;min-width:100%;display:flex}.tabulator .tabulator-tableholder-wrapper .tabulator-placeholder[tabulator-render-mode=virtual]{min-height:100%}.tabulator .tabulator-placeholder .tabulator-placeholder-contents{height:100%;padding:var(--cx-spacing-small);color:var(--placeholder-color);font-family:var(--cx-font-sans);font-weight:var(--placeholder-font-weight);font-size:var(--placeholder-font-size);white-space:normal;justify-content:center;align-items:center;display:flex}.tabulator .tabulator-tableholder-wrapper .tabulator-placeholder.tabulator-placeholder--initializing .tabulator-placeholder-contents{visibility:hidden}.tabulator.tabulator-all-columns-hidden .tabulator-header{width:100%;height:var(--header-height);min-height:var(--header-height)}.tabulator.tabulator-all-columns-hidden .tabulator-header .tabulator-header-contents{background-color:var(--header-background-color);flex-direction:column;width:100%;height:100%;min-height:0;display:flex}.tabulator.tabulator-all-columns-hidden .tabulator-header:before{box-sizing:border-box;width:auto;height:auto;inset:0}.tabulator.tabulator-all-columns-hidden .tabulator-header .tabulator-header-contents .tabulator-headers{box-sizing:border-box;flex:1;align-self:stretch;width:100%;min-height:0;display:flex}.tabulator.tabulator-all-columns-hidden .tabulator-tableholder-wrapper{width:100%}.tabulator-row.tabulator-placeholder-row{border-left:var(--border-width) solid var(--cell-border-color);border-right:var(--border-width) solid var(--cell-border-color);border-bottom:var(--border-width) solid var(--cell-bottom-border-color);padding:var(--cx-spacing-2x-small) var(--cell-horizontal-padding)}`, Bp = Q`.tabulator-toggle{box-sizing:border-box;border:var(--border-width) solid var(--cx-color-neutral-300);background:var(--cx-color-neutral-200);flex-direction:row;display:flex}.tabulator-toggle.tabulator-toggle-on{background:var(--cx-color-primary-700)}.tabulator-toggle .tabulator-toggle-switch{box-sizing:border-box;border:var(--border-width) solid var(--cx-color-neutral-300);background:var(--cx-color-neutral-0)}.tabulator-popup-container{box-sizing:border-box;background:var(--cx-color-neutral-0);border:var(--border-width) solid var(--cx-color-neutral-400);font-size:var(--cx-font-size-small);-webkit-overflow-scrolling:touch;z-index:10000;display:inline-block;position:absolute;overflow-y:auto;box-shadow:0 0 5px #0003}.tabulator-popup{padding:var(--cx-spacing-2x-small);border-radius:var(--cx-border-radius-small)}.tabulator-tooltip{max-width:min(500px,100%);padding:var(--cx-spacing-3x-small) var(--cx-spacing-2x-small);border-radius:var(--cx-border-radius-small);box-shadow:none;font-size:var(--cx-font-size-x-small);pointer-events:none}.tabulator-menu .tabulator-menu-item{box-sizing:border-box;padding:var(--cx-spacing-2x-small) var(--cx-spacing-small);user-select:none;position:relative}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-disabled{opacity:.5}@media (hover:hover) and (pointer:fine){.tabulator-menu .tabulator-menu-item:not(.tabulator-menu-item-disabled):hover{cursor:pointer;background:var(--cx-color-neutral-50)}}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu{padding-right:var(--cx-spacing-x-large)}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu:after{content:"";border-width:var(--border-width) var(--border-width) 0 0;border-style:solid;border-color:var(--cx-color-neutral-400);vertical-align:top;width:7px;height:7px;display:inline-block;position:absolute;top:calc(5px + .4em);right:10px;transform:rotate(45deg)}.tabulator-menu .tabulator-menu-separator{border-top:var(--border-width) solid var(--cx-color-neutral-400)}`, $p = Q`.tabulator-print-fullscreen{z-index:10000;position:absolute;inset:0}body.tabulator-print-fullscreen-hide>:not(.tabulator-print-fullscreen){display:none!important}.tabulator-print-table{border-collapse:collapse}.tabulator-print-table .tabulator-data-tree-branch{vertical-align:middle;width:7px;height:9px;margin-top:-9px;margin-right:var(--cx-spacing-2x-small);border-left:2px solid var(--cx-color-neutral-400);border-bottom:2px solid var(--cx-color-neutral-400);border-bottom-left-radius:1px;display:inline-block}.tabulator-print-table .tabulator-print-table-group{box-sizing:border-box;border-bottom:var(--border-width) solid var(--cx-color-neutral-400);border-right:var(--border-width) solid var(--cx-color-neutral-400);border-top:var(--border-width) solid var(--cx-color-neutral-400);padding:var(--cx-spacing-2x-small);padding-left:var(--cx-spacing-small);background:var(--cx-color-neutral-300);min-width:100%;font-weight:700}@media (hover:hover) and (pointer:fine){.tabulator-print-table .tabulator-print-table-group:hover{cursor:pointer;background-color:#0000001a}}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-1 td{padding-left:30px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-2 td{padding-left:50px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-3 td{padding-left:70px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-4 td{padding-left:90px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-5 td{padding-left:110px!important}.tabulator-print-table .tabulator-print-table-group .tabulator-group-toggle{display:inline-block}.tabulator-print-table .tabulator-print-table-group span{margin-left:var(--cx-spacing-small);color:var(--cx-color-danger)}`, Wp = Q`.tabulator .tabulator-col-resize-handle{z-index:11;vertical-align:middle;width:6px;margin-left:-3px;margin-right:-3px;display:inline-block;position:relative}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-col-resize-handle:hover{cursor:ew-resize}}.tabulator .tabulator-col-resize-handle:last-of-type{width:3px;margin-right:0}.tabulator .tabulator-col-resize-guide{background-color:var(--cx-color-neutral-400);opacity:.5;width:4px;height:100%;margin-left:-.5px;position:absolute;top:0}.tabulator .tabulator-row-resize-guide{background-color:var(--cx-color-neutral-400);opacity:.5;width:100%;height:4px;margin-top:-.5px;position:absolute;left:0}`, jp = Q`.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle{-webkit-user-select:none;-moz-user-select:none;user-select:none;-khtml-user-select:none;-o-user-select:none;border-radius:var(--cx-border-radius-x-large);background:var(--cx-color-neutral-600);width:15px;height:15px;color:var(--cx-color-neutral-0);justify-content:center;align-items:center;font-size:1.1em;font-weight:700;display:inline-flex}@media (hover:hover) and (pointer:fine){.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle:hover{opacity:.7;cursor:pointer}}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-close{display:initial}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-open{display:none}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle svg{stroke:var(--cx-color-neutral-0)}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle .tabulator-responsive-collapse-toggle-close{display:none}`, Gp = Q`.tabulator-row{box-sizing:border-box;background-color:var(--row-background-color);background-clip:padding-box;min-height:22px;display:flex;position:relative}.tabulator-row+.tabulator-row{border-top:var(--row-gap) solid transparent}.tabulator-row .tabulator-cell-first{border-left:var(--border-width) solid var(--outer-border-color)}.tabulator-row.tabulator-row-even{background-color:var(--row-even-background-color)}@media (hover:hover) and (pointer:fine){.tabulator-row.tabulator-selectable:hover{background-color:var(--row-hover-background-color);cursor:pointer}.tabulator-row.tabulator-row-even.tabulator-selectable:hover{background-color:var(--row-even-hover-background-color);cursor:pointer}}.tabulator-cell.tabulator-selection-cell-disabled cx-checkbox{--cx-checkbox-disabled-background:var(--cx-color-neutral-100);--cx-checkbox-disabled-border-color:var(--cx-color-neutral-200)}.tabulator-row.tabulator-selected:not(:has(cx-checkbox)){background-color:var(--cx-color-primary-200)}@media (hover:hover) and (pointer:fine){.tabulator-row.tabulator-selected:not(:has(cx-checkbox)):hover{background-color:var(--cx-color-primary-300);cursor:pointer}}.tabulator-row.tabulator-row-moving{border:var(--border-width) solid var(--cx-color-neutral-1000);background:var(--cx-color-neutral-0)}.tabulator-row.tabulator-moving{border-top:var(--border-width) solid var(--cx-color-neutral-400);border-bottom:var(--border-width) solid var(--cx-color-neutral-400);pointer-events:none;z-index:15;position:absolute}.tabulator-header-hidden .tabulator-row.tabulator-row-first .tabulator-cell.tabulator-cell-last{border-top-right-radius:var(--border-radius)}.tabulator-row .tabulator-row-resize-handle{height:5px;position:absolute;bottom:0;left:0;right:0}.tabulator-row .tabulator-row-resize-handle.prev{top:0;bottom:auto}@media (hover:hover) and (pointer:fine){.tabulator-row .tabulator-row-resize-handle:hover{cursor:ns-resize}}.tabulator-row .tabulator-responsive-collapse{box-sizing:border-box;padding:var(--cx-spacing-2x-small);border-top:var(--border-width) solid var(--cx-color-neutral-400);border-bottom:var(--border-width) solid var(--cx-color-neutral-400)}.tabulator-row .tabulator-responsive-collapse:empty{display:none}.tabulator-row .tabulator-responsive-collapse table{font-size:var(--cx-font-size-small)}.tabulator-row .tabulator-responsive-collapse table tr td{position:relative}.tabulator-row .tabulator-responsive-collapse table tr td:first-of-type{padding-right:var(--cx-spacing-small)}.tabulator-row .tabulator-cell{vertical-align:middle;box-sizing:border-box;padding:var(--cell-padding-top) var(--cell-padding-right) var(--cell-padding-bottom) var(--cell-padding-left);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}.tabulator-row .tabulator-cell:not(.tabulator-cell-last){padding-right:calc(var(--cell-padding-right) + var(--column-gap))}@media (hover:hover) and (pointer:fine){.tabulator-row .tabulator-cell:not(:has(cx-checkbox)):hover,.tabulator-row .tabulator-cell.tabulator-frozen:not(:has(cx-checkbox)):hover{background-color:var(--cell-hover-background-color)}.tabulator-row .tabulator-cell.tabulator-selection-cell-disabled:hover{cursor:default}}.tabulator-row .tabulator-cell:has(cx-checkbox),.tabulator-row .tabulator-cell.tabulator-frozen:has(cx-checkbox){background-color:var(--row-background-color)}.tabulator-row.tabulator-row-even .tabulator-cell:has(cx-checkbox),.tabulator-row.tabulator-row-even .tabulator-cell.tabulator-frozen:has(cx-checkbox){background-color:var(--row-even-background-color)}.tabulator-row .tabulator-cell .tabulator-cell-content{width:100%;height:100%;font-family:var(--cell-font-family);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}`, Up = Q`.tabulator.tabulator-ltr{direction:ltr}.tabulator.tabulator-rtl{text-align:initial;direction:rtl}.tabulator.tabulator-rtl .tabulator-header .tabulator-col{text-align:initial;border-left:var(--border-width) solid var(--cx-color-neutral-400);border-right:initial}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{margin-right:initial;margin-left:-1px}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell{border-right:initial;border-left:var(--border-width) solid var(--cell-border-color)}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-branch{margin-right:initial;margin-left:var(--cx-spacing-2x-small);border-bottom-left-radius:initial;border-left:initial;border-right:2px solid var(--cx-color-neutral-400);border-bottom-right-radius:1px}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-left:2px solid var(--frozen-border-color)}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-right:2px solid var(--frozen-border-color)}.tabulator.tabulator-rtl .tabulator-row .tabulator-col-resize-handle:last-of-type{width:3px;margin-left:0;margin-right:-3px}.tabulator.tabulator-rtl .tabulator-footer .tabulator-calcs-holder{text-align:initial}`, Kp = Q`:host{--table-active-cell-border-color:var(--border-color);--table-selected-cell-border-width:1px;--table-selected-cell-border-style:solid;--table-selected-only-cell-background-color:transparent;--table-selected-range-cell-background-color:var(--cx-color-neutral-100);--table-selected-range-selection-start-cell-background-color:var(--cx-color-neutral-50);--table-selected-cell-hover-background-color:var(--cx-color-neutral-50);--table-editable-only-cell-selected-background-color:var(--cx-color-primary-50);--table-editable-cell-hover-background-color:var(--cx-color-primary-50);--table-editable-only-cell-active-border-color:var(--cx-color-primary-600)}.tabulator .tabulator-tableholder .tabulator-range-overlay{z-index:10;pointer-events:none;position:absolute;inset:0}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range{box-sizing:border-box;position:absolute}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range-cell-active,.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range-cell-hover{box-sizing:border-box;border-color:var(--table-active-cell-border-color);border-style:var(--table-selected-cell-border-style);border-width:var(--table-selected-cell-border-width);background-color:var(--table-selected-only-cell-background-color);position:absolute}.tabulator-row.tabulator-range-highlight .tabulator-cell.tabulator-range-row-header{background-color:var(--cx-color-neutral-300);color:var(--cx-color-neutral-1000)}.tabulator-row.tabulator-range-highlight.tabulator-range-selected .tabulator-cell.tabulator-range-row-header,.tabulator-row.tabulator-range-selected .tabulator-cell.tabulator-range-row-header{background-color:var(--cx-color-primary-500);color:var(--cx-color-neutral-0)}.tabulator-row .tabulator-cell.tabulator-range-selected:not(.tabulator-range-row-header):not(:has(cx-checkbox)){background-color:var(--table-selected-range-cell-background-color)}.tabulator-row .tabulator-cell.tabulator-range-selection-start:not(.tabulator-range-row-header):not(:has(cx-checkbox)){background-color:var(--table-selected-range-selection-start-cell-background-color)}.tabulator-row .tabulator-cell.tabulator-range-selected:not(.tabulator-range-row-header):not(:has(cx-checkbox)):hover{background-color:var(--table-selected-cell-hover-background-color)}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-editable.tabulator-range-only-cell-active.tabulator-range-cell-active{border-color:var(--table-editable-only-cell-active-border-color)}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-editable.tabulator-range-cell-hover{border:var(--border-width) solid var(--table-editable-only-cell-active-border-color)}.tabulator-row .tabulator-cell.tabulator-editable:not(:has(cx-checkbox)):hover{background-color:var(--table-editable-cell-hover-background-color)}.tabulator-row .tabulator-cell.tabulator-editable.tabulator-range-only-cell-selected:not(.tabulator-range-row-header):not(:has(cx-checkbox)){background-color:var(--table-editable-only-cell-selected-background-color)}.tabulator-row .tabulator-cell.tabulator-editable.tabulator-range-selected:not(.tabulator-range-row-header):not(:has(cx-checkbox)):hover{background-color:var(--table-editable-cell-hover-background-color)}`, qp = Q`.tabulator .tabulator-footer .tabulator-spreadsheet-tabs{margin-top:-5px;overflow-x:auto}.tabulator .tabulator-footer .tabulator-spreadsheet-tabs .tabulator-spreadsheet-tab{padding:var(--cx-spacing-2x-small);border:solid var(--border-width) var(--border-color);border-top:none;border-bottom-right-radius:5px;border-bottom-left-radius:5px;font-size:.9em;display:inline-block}.tabulator .tabulator-footer .tabulator-spreadsheet-tabs .tabulator-spreadsheet-tab:hover{cursor:pointer;opacity:.7}.tabulator .tabulator-footer .tabulator-spreadsheet-tabs .tabulator-spreadsheet-tab.tabulator-spreadsheet-tab-active{background:var(--cx-color-neutral-0)}`, Xp = [
|
|
20703
|
+
const Sp = Q`.tabulator .tabulator-alert{z-index:100;background:color-mix(in srgb, var(--cx-color-neutral-0) 40%, transparent);text-align:center;align-items:center;width:100%;height:100%;display:flex;position:absolute;top:0;left:0}.tabulator .tabulator-alert.tabulator-alert-state-loading{--loading-offset:var(--cx-spacing-x-small);top:calc(var(--header-height,var(--cx-spacing-3x-large)) + var(--border-width) + var(--loading-offset));height:calc(100% - var(--header-height,var(--cx-spacing-3x-large)) - var(--border-width) - var(--loading-offset))}.tabulator.tabulator-header-hidden .tabulator-alert.tabulator-alert-state-loading{height:100%;top:0}.tabulator .tabulator-alert .tabulator-alert-msg{padding:var(--cx-spacing-small) var(--cx-spacing-large);border-radius:var(--cx-border-radius-x-large);background:var(--cx-color-neutral-0);font-weight:700;font-size:var(--cx-font-size-medium);margin:0 auto;display:inline-block}.tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-msg{color:var(--cx-color-neutral-1000)}.tabulator .tabulator-alert .tabulator-alert-msg.tabulator-alert-state-error{border:4px solid var(--cx-color-danger);color:var(--cx-color-danger-900)}`, Dp = Q`:host{--width:100%;--table-height:var(--height,auto);--table-min-height:var(--min-height,0);--table-max-height:var(--max-height,auto);--color:var(--cx-color-neutral-900);--background-color:var(--cx-color-neutral-0);--border-width:var(--cx-input-border-width);--border-color:var(--cx-color-neutral-200);--outer-border-color:var(--border-color);--border-radius:var(--cx-border-radius-medium);--row-background-color:var(--cx-color-neutral-0);--row-even-background-color:var(--cx-color-neutral-0);--row-hover-background-color:var(--cx-color-neutral-0);--row-even-hover-background-color:var(--cx-color-neutral-0);--row-gap:0;--frozen-border-color:var(--cx-color-neutral-300);--frozen-overlay-z-index:12;--frozen-divider-z-index:13;--header-background-color:var(--cx-color-neutral-50);--header-hover-background-color:var(--cx-color-primary-50);--header-font-family:var(--cx-font-sans);--header-font-style:normal;--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-padding-top:var(--cx-spacing-2x-small);--cell-padding-right:var(--cell-horizontal-padding);--cell-padding-bottom:var(--cx-spacing-2x-small);--cell-padding-left:var(--cell-horizontal-padding);--column-gap:0px;--cell-font-family:var(--cx-font-sans);--cell-font-size:var(--cx-font-size-small);--cell-font-weight:var(--cx-font-weight-regular);--cell-line-height:normal;--cell-hover-background-color:var(--cx-color-neutral-50);--group-count-color:var(--cx-color-danger-500);--group-row-background-color:var(--row-background-color);--group-row-hover-background-color:var(--row-hover-background-color);--group-row-border-color:var(--cx-color-neutral-200);--group-row-color:var(--cx-color-neutral-900);--group-row-font-weight:var(--cx-font-weight-medium);--row-header-border-color:var(--cx-color-neutral-200);--tabulator-tree-control-width:18px;--tabulator-tree-child-indent:9px;--tabulator-tree-step:calc(var(--tabulator-tree-control-width) + var(--tabulator-tree-child-indent));isolation:isolate;width:var(--width);display:block}.container{height:100%}.tabulator{background-color:var(--background-color);font-size:var(--font-size,var(--cx-font-size-small));text-align:left;height:var(--table-height);min-height:var(--table-min-height);max-height:var(--table-max-height);border-radius:var(--cx-border-radius-medium);border-inline:var(--border-width) solid transparent;flex-direction:column;line-height:normal;display:flex;position:relative;overflow:hidden}.tabulator.tabulator-overflow-x{border-inline-color:var(--outer-border-color);border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.tabulator[tabulator-layout=fitDataFill] .tabulator-tableholder .tabulator-table{min-width:100%}.tabulator[tabulator-layout=fitDataTable]{display:inline-block}.tabulator.tabulator-block-select,.tabulator.tabulator-ranges .tabulator-cell:not(.tabulator-editing){user-select:none}.tabulator .tabulator-tableholder-wrapper{flex:1;width:fit-content;max-width:100%;display:flex;position:relative;overflow:hidden}.tabulator .tabulator-tableholder{white-space:nowrap;-webkit-overflow-scrolling:touch;border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);flex:1;min-width:0;position:relative;overflow:auto}.tabulator .tabulator-tableholder-wrapper:before{content:"";z-index:1;pointer-events:none;border:var(--border-width) solid var(--outer-border-color);border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);width:100%;height:100%;display:block;position:absolute;top:0;left:0}.tabulator.tabulator-header-hidden .tabulator-tableholder-wrapper:before{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.tabulator .tabulator-tableholder:focus{outline:none}.tabulator .tabulator-tableholder .tabulator-table{background-color:var(--body-background-color,var(--cx-color-neutral-0));white-space:nowrap;color:var(--color);min-width:100%;display:inline-block;position:relative;overflow:visible}`, kp = Q`.tabulator .tabulator-header .tabulator-calcs-holder{box-sizing:border-box;border-top:var(--border-width) solid var(--cx-color-neutral-400);border-bottom:var(--border-width) solid var(--cx-color-neutral-400);display:inline-block;background:var(--cx-color-neutral-100)!important}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row{background:var(--cx-color-neutral-100)!important}.tabulator .tabulator-header .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs{font-weight:700;background:var(--cx-color-neutral-200)!important}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-top{border-bottom:2px solid var(--cx-color-neutral-400)}.tabulator .tabulator-tableholder .tabulator-table .tabulator-row.tabulator-calcs.tabulator-calcs-bottom{border-top:2px solid var(--cx-color-neutral-400)}.tabulator .tabulator-footer .tabulator-calcs-holder{box-sizing:border-box;text-align:left;border-bottom:1px solid var(--cx-color-neutral-400);border-top:1px solid var(--cx-color-neutral-400);width:100%;overflow:hidden;background:var(--cx-color-neutral-100)!important}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row{display:inline-block;background:var(--cx-color-neutral-100)!important}.tabulator .tabulator-footer .tabulator-calcs-holder .tabulator-row .tabulator-col-resize-handle{display:none}.tabulator .tabulator-footer .tabulator-calcs-holder:only-child{border-bottom:none;margin-bottom:-5px}`, Mp = Q`.tabulator-clickable-cell{color:var(--clickable-cell-color,var(--cx-color-primary-600));cursor:pointer}.tabulator-clickable-cell:hover{text-decoration:underline}.tabulator-clickable-cell cx-icon,.tabulator-clickable-cell cx-icon-button{color:var(--color)}`, Tp = Q`.tabulator-row .tabulator-cell .tabulator-data-tree-branch-empty{display:none}.tabulator-row .tabulator-cell .tabulator-data-tree-branch{border-left:2px solid var(--cx-color-neutral-400);border-bottom:2px solid var(--cx-color-neutral-400);border-bottom-left-radius:1px;width:7px;height:9px;margin-top:-9px;position:absolute}.tabulator-row .tabulator-cell .tabulator-data-tree-control{flex:0 0 var(--tabulator-tree-control-width);vertical-align:middle;width:var(--tabulator-tree-control-width);justify-content:center;align-items:center;display:inline-flex}`, Fp = Q`.tabulator-row .tabulator-cell.tabulator-editing{padding:0 var(--cell-horizontal-padding);outline:none}.tabulator:not(.tabulator-ranges) .tabulator-row .tabulator-cell.tabulator-editing input,.tabulator:not(.tabulator-ranges) .tabulator-row .tabulator-cell.tabulator-editing select{font-size:inherit;color:inherit;border-radius:var(--cx-input-border-radius-medium);background:0 0;border:none;outline:none;padding:0;font-family:inherit}.tabulator-ranges .tabulator-row .tabulator-cell.tabulator-editing input,.tabulator-ranges .tabulator-row .tabulator-cell.tabulator-editing select{border:var(--border-width) solid var(--border-color);background:0 0;outline:none}.tabulator-row .tabulator-cell.tabulator-validation-fail{border:var(--border-width) solid var(--cx-color-danger);background:var(--cx-color-danger-100)}.tabulator-row .tabulator-cell.tabulator-validation-fail input,.tabulator-row .tabulator-cell.tabulator-validation-fail select{border:var(--border-width) solid var(--border-color);color:var(--cx-color-danger);background:0 0}.tabulator-row .tabulator-cell.tabulator-editing.tabulator-edit-list{padding:0 var(--cx-spacing-x-small)}.tabulator-edit-list{position:relative}.tabulator-edit-list:not(.tabulator-editing) .tabulator-cell-content{padding-right:var(--cx-spacing-large)}.tabulator-edit-list-trigger{top:50%;right:var(--cx-spacing-small);width:var(--cx-spacing-large);appearance:none;height:100%;color:inherit;cursor:pointer;font:inherit;background:0 0;border:none;justify-content:center;align-items:center;padding:0;display:inline-flex;position:absolute;transform:translateY(-50%)}.tabulator-edit-list.tabulator-editing .tabulator-edit-list-trigger{display:none}.tabulator-edit-list-trigger-caret{--font-size:var(--cx-font-size-medium);color:var(--cx-color-neutral-500)}`, Lp = Q`.tabulator .tabulator-footer{border-top:1px solid var(--cx-color-neutral-400);background-color:var(--cx-color-neutral-200);color:var(--cx-color-neutral-500);white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;user-select:none;-khtml-user-select:none;-o-user-select:none;font-weight:700}.tabulator .tabulator-footer .tabulator-footer-contents{padding:var(--cx-spacing-2x-small) var(--cx-spacing-small);flex-direction:row;justify-content:space-between;align-items:center;display:flex}.tabulator .tabulator-footer .tabulator-footer-contents:empty{display:none}`, zp = Q`.tabulator-row .tabulator-cell a{color:var(--cx-color-primary-600);text-decoration:none}.tabulator-row .tabulator-cell a:hover{text-decoration:underline}.tabulator-row .tabulator-cell .tabulator-traffic-light-container{align-items:center;gap:var(--cx-spacing-x-small);display:inline-flex}.tabulator-row .tabulator-cell .tabulator-traffic-light{border-radius:var(--cx-border-radius-x-large);width:14px;height:14px;display:inline-block}.tabulator-composite,.tabulator-composite>span,.tabulator-composite>span>cx-line-clamp{min-width:0}.tabulator-composite,.tabulator-composite>span{overflow:hidden}.tabulator-composite>span:has(cx-icon,img,cx-avatar,cx-switch){flex-shrink:0}`, _p = Q`.tabulator:has(.tabulator-frozen) .tabulator-tableholder-wrapper:before,.tabulator:has(.tabulator-frozen) .tabulator-header:before{z-index:var(--frozen-overlay-z-index)}.tabulator:not(.tabulator-rtl) .tabulator-header .tabulator-col.tabulator-frozen.tabulator-frozen-left,.tabulator:not(.tabulator-rtl) .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-right-color:#0000}.tabulator:not(.tabulator-rtl) .tabulator-header .tabulator-col.tabulator-frozen.tabulator-frozen-right,.tabulator:not(.tabulator-rtl) .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-left-color:#0000}.tabulator:not(.tabulator-rtl):has(.tabulator-frozen-pinned-start):before,.tabulator:not(.tabulator-rtl):has(.tabulator-frozen-pinned-end):after{content:"";background-color:var(--frozen-border-color);pointer-events:none;width:2px;z-index:var(--frozen-divider-z-index);position:absolute;top:0;bottom:0}.tabulator:not(.tabulator-rtl):has(.tabulator-frozen-pinned-start):before{left:calc(var(--frozen-left-width,0px) - 2px)}.tabulator:not(.tabulator-rtl):has(.tabulator-frozen-pinned-end):after{right:calc(var(--frozen-right-width,0px) + var(--frozen-scrollbar-width,0px) - 2px)}.tabulator .tabulator-col-resize-handle.tabulator-col-resize-handle-pinned-end{width:6px;z-index:var(--frozen-overlay-z-index);margin-left:-3px;margin-right:-3px}.tabulator:has(.tabulator-frozen) .tabulator-tableholder::-webkit-scrollbar-track:horizontal{margin-left:var(--frozen-left-width,0px);margin-right:var(--frozen-right-width,0px)}.tabulator.tabulator-rtl:has(.tabulator-frozen) .tabulator-tableholder::-webkit-scrollbar-track:horizontal{margin-left:var(--frozen-right-width,0px);margin-right:var(--frozen-left-width,0px)}.tabulator:has(.tabulator-frozen)>.os-scrollbar-horizontal{margin-left:var(--frozen-left-width,0px);margin-right:var(--frozen-right-width,0px)}.tabulator.tabulator-rtl:has(.tabulator-frozen)>.os-scrollbar-horizontal{margin-left:var(--frozen-right-width,0px);margin-right:var(--frozen-left-width,0px)}`, Op = Q`.tabulator-row.tabulator-group{box-sizing:border-box;border-bottom:var(--border-width) solid var(--group-row-border-color);border-right:var(--border-width) solid var(--group-row-border-color);padding:var(--cx-spacing-2x-small);padding-left:var(--cx-spacing-small);background:var(--group-row-background-color);min-width:100%;line-height:var(--header-height);color:var(--group-row-color);font-weight:var(--group-row-font-weight)}.tabulator-row.tabulator-group.tabulator-row-last{border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius)}@media (hover:hover) and (pointer:fine){.tabulator-row.tabulator-group:hover{cursor:pointer;background-color:var(--group-row-hover-background-color)}}.tabulator-row.tabulator-group.tabulator-group-level-1{padding-left:30px}.tabulator-row.tabulator-group.tabulator-group-level-2{padding-left:50px}.tabulator-row.tabulator-group.tabulator-group-level-3{padding-left:70px}.tabulator-row.tabulator-group.tabulator-group-level-4{padding-left:90px}.tabulator-row.tabulator-group.tabulator-group-level-5{padding-left:110px}.tabulator-row.tabulator-group .tabulator-group-toggle{display:inline-flex}.tabulator-row.tabulator-group .tabulator-group-count{margin-left:var(--cx-spacing-small);color:var(--group-count-color)}`, Ap = Q`:host{--selected-column-header-background-color:var(--header-background-color);--selected-column-header-color:var(--header-color)}.tabulator .tabulator-header{box-sizing:border-box;width:fit-content;max-width:100%;font-family:var(--header-font-family);font-style:var(--header-font-style);font-weight:var(--header-font-weight);font-size:var(--header-font-size);color:var(--header-color);white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-khtml-user-select:none;-o-user-select:none;outline:none;position:relative}.tabulator .tabulator-header.tabulator-header-hidden{display:none}.tabulator .tabulator-header .tabulator-header-contents{box-sizing:border-box;width:100%;position:relative;overflow:hidden}.tabulator .tabulator-header:before{content:"";z-index:1;pointer-events:none;border:var(--border-width) solid var(--outer-border-color);border-bottom:var(--header-border-bottom);border-top-right-radius:var(--border-radius);border-top-left-radius:var(--border-radius);width:100%;height:100%;display:block;position:absolute;top:0;left:0}.tabulator .tabulator-header .tabulator-col:last-of-type{border-right:none}.tabulator .tabulator-header .tabulator-header-contents .tabulator-headers{background-color:var(--header-background-color);display:inline-block}.tabulator .tabulator-header .tabulator-col{box-sizing:border-box;border-right:var(--header-border-right);background:var(--header-background-color);text-align:left;vertical-align:bottom;height:var(--header-height);flex-direction:column;justify-content:center;display:inline-flex;position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-col.tabulator-moving{border:solid var(--border-width) var(--border-color);background:var(--cx-color-neutral-300);pointer-events:none;position:absolute}.tabulator .tabulator-header .tabulator-col.tabulator-range-highlight{background-color:var(--selected-column-header-background-color);color:var(--selected-column-header-color)}.tabulator .tabulator-header .tabulator-col.tabulator-range-selected{background-color:var(--cx-color-primary-500);color:var(--cx-color-neutral-0)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content{box-sizing:border-box;padding:var(--cx-spacing-2x-small) var(--header-horizontal-padding);position:relative}.tabulator .tabulator-header .tabulator-col:not(:last-of-type) .tabulator-col-content{padding-right:calc(var(--header-horizontal-padding) + var(--column-gap))}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button{padding:0 var(--cx-spacing-x-small)}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button:hover{cursor:pointer;opacity:.6}}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title-holder{align-items:center;gap:var(--cx-spacing-2x-small);display:flex;position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title{box-sizing:border-box;white-space:nowrap;text-overflow:ellipsis;vertical-align:bottom;flex:auto;width:100%;min-width:0;overflow:hidden}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title.tabulator-col-title-wrap{white-space:normal;text-overflow:initial}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-title-editor{box-sizing:border-box;border:solid var(--border-width) var(--border-color);width:100%;padding:var(--cx-spacing-3x-small);background:var(--cx-color-neutral-0)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-header-popup-button+.tabulator-title-editor{width:calc(100% - 22px)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{inline-size:var(--cx-spacing-medium);block-size:var(--cx-spacing-medium);flex:none;order:-1;justify-content:center;align-items:center;display:flex;position:static}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter cx-icon{--font-size:var(--cx-font-size-medium);color:var(--cx-color-neutral-400)}.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{border-top:1px solid var(--cx-color-neutral-400);margin-right:-1px;display:flex;position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter{box-sizing:border-box;margin-top:var(--cx-spacing-3x-small);text-align:center;width:100%;position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter textarea{height:auto!important}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter svg{margin-top:var(--cx-spacing-3x-small)}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input::-ms-clear{width:0;height:0}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable.tabulator-col-sorter-element:hover{cursor:pointer}.tabulator .tabulator-header .tabulator-col:hover{background-color:var(--header-hover-background-color)}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter cx-icon{visibility:hidden}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none]:hover .tabulator-col-content .tabulator-col-sorter cx-icon{visibility:visible}}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical .tabulator-col-content .tabulator-col-title{writing-mode:vertical-rl;text-orientation:mixed;justify-content:center;align-items:center;display:flex}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-col-vertical-flip .tabulator-col-title{transform:rotate(180deg)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-title{padding-right:0;padding-top:var(--cx-spacing-large)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable.tabulator-col-vertical-flip .tabulator-col-title{padding-right:0;padding-bottom:var(--cx-spacing-large)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-sorter{justify-content:center;inline-size:auto;position:absolute;inset:4px 0 auto}.tabulator .tabulator-header .tabulator-frozen{z-index:11;position:sticky;left:0}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-left{border-right:2px solid var(--frozen-border-color)}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-right{border-left:2px solid var(--frozen-border-color)}.tabulator .tabulator-header .tabulator-frozen-rows-holder{border-bottom:2px solid var(--frozen-border-color);display:inline-block}.tabulator .tabulator-header .tabulator-frozen-rows-holder:empty{display:none}`, Pp = Q`:host{--hover-menu-background-color:transparent}.tabulator-hover-menu{padding-left:var(--cell-horizontal-padding);padding-right:var(--cell-horizontal-padding);background-color:var(--hover-menu-background-color);opacity:0;pointer-events:none;z-index:12;align-items:center;height:100%;display:flex;position:absolute;top:0}.tabulator:not(.tabulator-editing) .tabulator-hover-menu--active{opacity:1;pointer-events:auto}`, Ip = Q`.tabulator-row .tabulator-cell.tabulator-row-handle{-webkit-user-select:none;-moz-user-select:none;-khtml-user-select:none;-o-user-select:none;justify-content:center;align-items:center;display:inline-flex}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box{width:80%}.tabulator-row .tabulator-cell.tabulator-row-handle .tabulator-row-handle-box .tabulator-row-handle-bar{width:100%;height:3px;margin-top:var(--cx-spacing-3x-small);background:var(--cx-color-neutral-600)}`, Hp = Q`:host{--scrollbar-size:17px;--scrollbar-thumb-border-width:7px;--scrollbar-thumb-border-width-hover:4px;--scrollbar-thumb-border-color:#0000;--scrollbar-thumb-radius:13px;--scrollbar-thumb-min-size:50px}.table{position:relative}.table>.os-scrollbar-vertical,.table>.os-scrollbar.os-scrollbar-vertical.os-scrollbar-cornerless{top:calc(var(--header-height) + var(--border-width))}.table.tabulator-header-hidden>.os-scrollbar-vertical,.table.tabulator-header-hidden>.os-scrollbar.os-scrollbar-vertical.os-scrollbar-cornerless{top:var(--border-width)}.table>.os-scrollbar{--os-size:var(--scrollbar-size);--os-padding-perpendicular:0px;--os-padding-axis:0px;--os-handle-border-radius:var(--scrollbar-thumb-radius);--os-handle-border:var(--scrollbar-thumb-border-width) solid var(--scrollbar-thumb-border-color);--os-handle-border-hover:var(--scrollbar-thumb-border-width-hover) solid var(--scrollbar-thumb-border-color);--os-handle-border-active:var(--scrollbar-thumb-border-width-hover) solid var(--scrollbar-thumb-border-color);--os-handle-min-size:var(--scrollbar-thumb-min-size)}.table>.os-scrollbar .os-scrollbar-handle{background-clip:padding-box}`, Np = Q`.tabulator .tabulator-footer .tabulator-paginator{flex:1}.tabulator .tabulator-footer .tabulator-paginator-pagination{margin-left:auto}.tabulator-paginator-pagination{--font-size:var(--cx-font-size-x-small);--pagination-input-font-size:var(--cx-font-size-x-small)}.tabulator-paginator-pagination::part(back-icon),.tabulator-paginator-pagination::part(next-icon){--font-size:var(--cx-font-size-medium)}`, Vp = Q`:host{--placeholder-color:var(--cx-color-neutral-800);--placeholder-font-weight:var(--cx-font-weight-regular);--placeholder-font-size:var(--cx-font-size-small)}.tabulator .tabulator-tableholder-wrapper .tabulator-placeholder{box-sizing:border-box;justify-content:center;align-items:center;width:100%;min-width:100%;display:flex}.tabulator .tabulator-tableholder-wrapper .tabulator-placeholder[tabulator-render-mode=virtual]{min-height:100%}.tabulator .tabulator-placeholder .tabulator-placeholder-contents{height:100%;padding:var(--cx-spacing-small);color:var(--placeholder-color);font-family:var(--cx-font-sans);font-weight:var(--placeholder-font-weight);font-size:var(--placeholder-font-size);white-space:normal;justify-content:center;align-items:center;display:flex}.tabulator .tabulator-tableholder-wrapper .tabulator-placeholder.tabulator-placeholder--initializing .tabulator-placeholder-contents{visibility:hidden}.tabulator.tabulator-all-columns-hidden .tabulator-header{width:100%;height:var(--header-height);min-height:var(--header-height)}.tabulator.tabulator-all-columns-hidden .tabulator-header .tabulator-header-contents{background-color:var(--header-background-color);flex-direction:column;width:100%;height:100%;min-height:0;display:flex}.tabulator.tabulator-all-columns-hidden .tabulator-header:before{box-sizing:border-box;width:auto;height:auto;inset:0}.tabulator.tabulator-all-columns-hidden .tabulator-header .tabulator-header-contents .tabulator-headers{box-sizing:border-box;flex:1;align-self:stretch;width:100%;min-height:0;display:flex}.tabulator.tabulator-all-columns-hidden .tabulator-tableholder-wrapper{width:100%}.tabulator-row.tabulator-placeholder-row{border-left:var(--border-width) solid var(--cell-border-color);border-right:var(--border-width) solid var(--cell-border-color);border-bottom:var(--border-width) solid var(--cell-bottom-border-color);padding:var(--cx-spacing-2x-small) var(--cell-horizontal-padding)}`, Bp = Q`.tabulator-toggle{box-sizing:border-box;border:var(--border-width) solid var(--cx-color-neutral-300);background:var(--cx-color-neutral-200);flex-direction:row;display:flex}.tabulator-toggle.tabulator-toggle-on{background:var(--cx-color-primary-700)}.tabulator-toggle .tabulator-toggle-switch{box-sizing:border-box;border:var(--border-width) solid var(--cx-color-neutral-300);background:var(--cx-color-neutral-0)}.tabulator-popup-container{box-sizing:border-box;background:var(--cx-color-neutral-0);border:var(--border-width) solid var(--cx-color-neutral-400);font-size:var(--cx-font-size-small);-webkit-overflow-scrolling:touch;z-index:10000;display:inline-block;position:absolute;overflow-y:auto;box-shadow:0 0 5px #0003}.tabulator-popup{padding:var(--cx-spacing-2x-small);border-radius:var(--cx-border-radius-small)}.tabulator-tooltip{max-width:min(500px,100%);padding:var(--cx-spacing-3x-small) var(--cx-spacing-2x-small);border-radius:var(--cx-border-radius-small);box-shadow:none;font-size:var(--cx-font-size-x-small);pointer-events:none}.tabulator-menu .tabulator-menu-item{box-sizing:border-box;padding:var(--cx-spacing-2x-small) var(--cx-spacing-small);user-select:none;position:relative}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-disabled{opacity:.5}@media (hover:hover) and (pointer:fine){.tabulator-menu .tabulator-menu-item:not(.tabulator-menu-item-disabled):hover{cursor:pointer;background:var(--cx-color-neutral-50)}}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu{padding-right:var(--cx-spacing-x-large)}.tabulator-menu .tabulator-menu-item.tabulator-menu-item-submenu:after{content:"";border-width:var(--border-width) var(--border-width) 0 0;border-style:solid;border-color:var(--cx-color-neutral-400);vertical-align:top;width:7px;height:7px;display:inline-block;position:absolute;top:calc(5px + .4em);right:10px;transform:rotate(45deg)}.tabulator-menu .tabulator-menu-separator{border-top:var(--border-width) solid var(--cx-color-neutral-400)}`, $p = Q`.tabulator-print-fullscreen{z-index:10000;position:absolute;inset:0}body.tabulator-print-fullscreen-hide>:not(.tabulator-print-fullscreen){display:none!important}.tabulator-print-table{border-collapse:collapse}.tabulator-print-table .tabulator-data-tree-branch{vertical-align:middle;width:7px;height:9px;margin-top:-9px;margin-right:var(--cx-spacing-2x-small);border-left:2px solid var(--cx-color-neutral-400);border-bottom:2px solid var(--cx-color-neutral-400);border-bottom-left-radius:1px;display:inline-block}.tabulator-print-table .tabulator-print-table-group{box-sizing:border-box;border-bottom:var(--border-width) solid var(--cx-color-neutral-400);border-right:var(--border-width) solid var(--cx-color-neutral-400);border-top:var(--border-width) solid var(--cx-color-neutral-400);padding:var(--cx-spacing-2x-small);padding-left:var(--cx-spacing-small);background:var(--cx-color-neutral-300);min-width:100%;font-weight:700}@media (hover:hover) and (pointer:fine){.tabulator-print-table .tabulator-print-table-group:hover{cursor:pointer;background-color:#0000001a}}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-1 td{padding-left:30px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-2 td{padding-left:50px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-3 td{padding-left:70px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-4 td{padding-left:90px!important}.tabulator-print-table .tabulator-print-table-group.tabulator-group-level-5 td{padding-left:110px!important}.tabulator-print-table .tabulator-print-table-group .tabulator-group-toggle{display:inline-block}.tabulator-print-table .tabulator-print-table-group span{margin-left:var(--cx-spacing-small);color:var(--cx-color-danger)}`, Wp = Q`.tabulator .tabulator-col-resize-handle{z-index:11;vertical-align:middle;width:6px;margin-left:-3px;margin-right:-3px;display:inline-block;position:relative}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-col-resize-handle:hover{cursor:ew-resize}}.tabulator .tabulator-col-resize-handle:last-of-type{width:3px;margin-right:0}.tabulator .tabulator-col-resize-guide{background-color:var(--cx-color-neutral-400);opacity:.5;width:4px;height:100%;margin-left:-.5px;position:absolute;top:0}.tabulator .tabulator-row-resize-guide{background-color:var(--cx-color-neutral-400);opacity:.5;width:100%;height:4px;margin-top:-.5px;position:absolute;left:0}`, jp = Q`.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle{-webkit-user-select:none;-moz-user-select:none;user-select:none;-khtml-user-select:none;-o-user-select:none;border-radius:var(--cx-border-radius-x-large);background:var(--cx-color-neutral-600);width:15px;height:15px;color:var(--cx-color-neutral-0);justify-content:center;align-items:center;font-size:1.1em;font-weight:700;display:inline-flex}@media (hover:hover) and (pointer:fine){.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle:hover{opacity:.7;cursor:pointer}}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-close{display:initial}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle.open .tabulator-responsive-collapse-toggle-open{display:none}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle svg{stroke:var(--cx-color-neutral-0)}.tabulator-row .tabulator-cell .tabulator-responsive-collapse-toggle .tabulator-responsive-collapse-toggle-close{display:none}`, Gp = Q`.tabulator-row{box-sizing:border-box;background-color:var(--row-background-color);background-clip:padding-box;min-height:22px;display:flex;position:relative}.tabulator-row+.tabulator-row{border-top:var(--row-gap) solid transparent}.tabulator-row .tabulator-cell-first{border-left:var(--border-width) solid var(--outer-border-color)}.tabulator-row.tabulator-row-even{background-color:var(--row-even-background-color)}@media (hover:hover) and (pointer:fine){.tabulator-row.tabulator-selectable:hover{background-color:var(--row-hover-background-color);cursor:pointer}.tabulator-row.tabulator-row-even.tabulator-selectable:hover{background-color:var(--row-even-hover-background-color);cursor:pointer}}.tabulator-cell.tabulator-selection-cell-disabled cx-checkbox{--cx-checkbox-disabled-background:var(--cx-color-neutral-100);--cx-checkbox-disabled-border-color:var(--cx-color-neutral-200)}.tabulator-row.tabulator-selected:not(:has(cx-checkbox)){background-color:var(--cx-color-primary-200)}@media (hover:hover) and (pointer:fine){.tabulator-row.tabulator-selected:not(:has(cx-checkbox)):hover{background-color:var(--cx-color-primary-300);cursor:pointer}}.tabulator-row.tabulator-row-moving{border:var(--border-width) solid var(--cx-color-neutral-1000);background:var(--cx-color-neutral-0)}.tabulator-row.tabulator-moving{border-top:var(--border-width) solid var(--cx-color-neutral-400);border-bottom:var(--border-width) solid var(--cx-color-neutral-400);pointer-events:none;z-index:15;position:absolute}.tabulator-header-hidden .tabulator-row.tabulator-row-first .tabulator-cell.tabulator-cell-last{border-top-right-radius:var(--border-radius)}.tabulator-row .tabulator-row-resize-handle{height:5px;position:absolute;bottom:0;left:0;right:0}.tabulator-row .tabulator-row-resize-handle.prev{top:0;bottom:auto}@media (hover:hover) and (pointer:fine){.tabulator-row .tabulator-row-resize-handle:hover{cursor:ns-resize}}.tabulator-row .tabulator-responsive-collapse{box-sizing:border-box;padding:var(--cx-spacing-2x-small);border-top:var(--border-width) solid var(--cx-color-neutral-400);border-bottom:var(--border-width) solid var(--cx-color-neutral-400)}.tabulator-row .tabulator-responsive-collapse:empty{display:none}.tabulator-row .tabulator-responsive-collapse table{font-size:var(--cx-font-size-small)}.tabulator-row .tabulator-responsive-collapse table tr td{position:relative}.tabulator-row .tabulator-responsive-collapse table tr td:first-of-type{padding-right:var(--cx-spacing-small)}.tabulator-row .tabulator-cell{vertical-align:middle;box-sizing:border-box;padding:var(--cell-padding-top) var(--cell-padding-right) var(--cell-padding-bottom) var(--cell-padding-left);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}.tabulator-row .tabulator-cell:not(.tabulator-cell-last){padding-right:calc(var(--cell-padding-right) + var(--column-gap))}@media (hover:hover) and (pointer:fine){.tabulator-row .tabulator-cell:not(:has(cx-checkbox)):hover,.tabulator-row .tabulator-cell.tabulator-frozen:not(:has(cx-checkbox)):hover{background-color:var(--cell-hover-background-color)}.tabulator-row .tabulator-cell.tabulator-selection-cell-disabled:hover{cursor:default}}.tabulator-row .tabulator-cell:has(cx-checkbox),.tabulator-row .tabulator-cell.tabulator-frozen:has(cx-checkbox){background-color:var(--row-background-color)}.tabulator-row.tabulator-row-even .tabulator-cell:has(cx-checkbox),.tabulator-row.tabulator-row-even .tabulator-cell.tabulator-frozen:has(cx-checkbox){background-color:var(--row-even-background-color)}.tabulator-row .tabulator-cell .tabulator-cell-content{width:100%;height:100%;font-family:var(--cell-font-family);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}`, Up = Q`.tabulator.tabulator-ltr{direction:ltr}.tabulator.tabulator-rtl{text-align:initial;direction:rtl}.tabulator.tabulator-rtl .tabulator-header .tabulator-col{text-align:initial;border-left:var(--border-width) solid var(--cx-color-neutral-400);border-right:initial}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{margin-right:initial;margin-left:-1px}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell{border-right:initial;border-left:var(--border-width) solid var(--cell-border-color)}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-branch{margin-right:initial;margin-left:var(--cx-spacing-2x-small);border-bottom-left-radius:initial;border-left:initial;border-right:2px solid var(--cx-color-neutral-400);border-bottom-right-radius:1px}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-left:2px solid var(--frozen-border-color)}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-right:2px solid var(--frozen-border-color)}.tabulator.tabulator-rtl .tabulator-row .tabulator-col-resize-handle:last-of-type{width:3px;margin-left:0;margin-right:-3px}.tabulator.tabulator-rtl .tabulator-footer .tabulator-calcs-holder{text-align:initial}`, Kp = Q`:host{--table-active-cell-border-color:var(--border-color);--table-selected-cell-border-width:1px;--table-selected-cell-border-style:solid;--table-selected-only-cell-background-color:transparent;--table-selected-range-cell-background-color:var(--cx-color-neutral-100);--table-selected-range-selection-start-cell-background-color:var(--cx-color-neutral-50);--table-selected-cell-hover-background-color:var(--cx-color-neutral-50);--table-editable-only-cell-selected-background-color:var(--cx-color-primary-50);--table-editable-cell-hover-background-color:var(--cx-color-primary-50);--table-editable-only-cell-active-border-color:var(--cx-color-primary-600)}.tabulator .tabulator-tableholder .tabulator-range-overlay{z-index:10;pointer-events:none;position:absolute;inset:0}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range{box-sizing:border-box;position:absolute}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range-cell-active,.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-range-cell-hover{box-sizing:border-box;border-color:var(--table-active-cell-border-color);border-style:var(--table-selected-cell-border-style);border-width:var(--table-selected-cell-border-width);background-color:var(--table-selected-only-cell-background-color);position:absolute}.tabulator-row.tabulator-range-highlight .tabulator-cell.tabulator-range-row-header{background-color:var(--cx-color-neutral-300);color:var(--cx-color-neutral-1000)}.tabulator-row.tabulator-range-highlight.tabulator-range-selected .tabulator-cell.tabulator-range-row-header,.tabulator-row.tabulator-range-selected .tabulator-cell.tabulator-range-row-header{background-color:var(--cx-color-primary-500);color:var(--cx-color-neutral-0)}.tabulator-row .tabulator-cell.tabulator-range-selected:not(.tabulator-range-row-header):not(:has(cx-checkbox)){background-color:var(--table-selected-range-cell-background-color)}.tabulator-row .tabulator-cell.tabulator-range-selection-start:not(.tabulator-range-row-header):not(:has(cx-checkbox)){background-color:var(--table-selected-range-selection-start-cell-background-color)}.tabulator-row .tabulator-cell.tabulator-range-selected:not(.tabulator-range-row-header):not(:has(cx-checkbox)):hover{background-color:var(--table-selected-cell-hover-background-color)}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-editable.tabulator-range-only-cell-active.tabulator-range-cell-active{border-color:var(--table-editable-only-cell-active-border-color)}.tabulator .tabulator-tableholder .tabulator-range-overlay .tabulator-editable.tabulator-range-cell-hover{border:var(--border-width) solid var(--table-editable-only-cell-active-border-color)}.tabulator-row .tabulator-cell.tabulator-editable:not(:has(cx-checkbox)):hover{background-color:var(--table-editable-cell-hover-background-color)}.tabulator-row .tabulator-cell.tabulator-editable.tabulator-range-only-cell-selected:not(.tabulator-range-row-header):not(:has(cx-checkbox)){background-color:var(--table-editable-only-cell-selected-background-color)}.tabulator-row .tabulator-cell.tabulator-editable.tabulator-range-selected:not(.tabulator-range-row-header):not(:has(cx-checkbox)):hover{background-color:var(--table-editable-cell-hover-background-color)}`, qp = Q`.tabulator .tabulator-footer .tabulator-spreadsheet-tabs{margin-top:-5px;overflow-x:auto}.tabulator .tabulator-footer .tabulator-spreadsheet-tabs .tabulator-spreadsheet-tab{padding:var(--cx-spacing-2x-small);border:solid var(--border-width) var(--border-color);border-top:none;border-bottom-right-radius:5px;border-bottom-left-radius:5px;font-size:.9em;display:inline-block}.tabulator .tabulator-footer .tabulator-spreadsheet-tabs .tabulator-spreadsheet-tab:hover{cursor:pointer;opacity:.7}.tabulator .tabulator-footer .tabulator-spreadsheet-tabs .tabulator-spreadsheet-tab.tabulator-spreadsheet-tab-active{background:var(--cx-color-neutral-0)}`, Xp = [
|
|
20704
20704
|
Dp,
|
|
20705
20705
|
Hp,
|
|
20706
20706
|
Ap,
|
|
20707
20707
|
Vp,
|
|
20708
|
-
|
|
20708
|
+
kp,
|
|
20709
20709
|
Kp,
|
|
20710
20710
|
Lp,
|
|
20711
20711
|
qp,
|
|
@@ -20723,7 +20723,7 @@ const Sp = Q`.tabulator .tabulator-alert{z-index:100;background:color-mix(in srg
|
|
|
20723
20723
|
Up,
|
|
20724
20724
|
$p,
|
|
20725
20725
|
Pp,
|
|
20726
|
-
|
|
20726
|
+
Mp,
|
|
20727
20727
|
_p
|
|
20728
20728
|
], Jp = {
|
|
20729
20729
|
formatter: function() {
|
|
@@ -20788,7 +20788,7 @@ const Sp = Q`.tabulator .tabulator-alert{z-index:100;background:color-mix(in srg
|
|
|
20788
20788
|
toAttribute: (r) => typeof r == "function" ? "" : Array.isArray(r) ? JSON.stringify(r) : r
|
|
20789
20789
|
};
|
|
20790
20790
|
function ef(r, e) {
|
|
20791
|
-
const t = e ===
|
|
20791
|
+
const t = e === Me.Desc ? "arrow_downward" : "arrow_upward";
|
|
20792
20792
|
return W(
|
|
20793
20793
|
E`<cx-icon name=${t} aria-hidden="true"></cx-icon>`
|
|
20794
20794
|
);
|
|
@@ -20818,10 +20818,10 @@ function jr(r, e, t, i = 500) {
|
|
|
20818
20818
|
}
|
|
20819
20819
|
const w = p.data;
|
|
20820
20820
|
if (!n) {
|
|
20821
|
-
const x = w.map((D,
|
|
20821
|
+
const x = w.map((D, M) => D.trim() || `column_${M}`), y = /* @__PURE__ */ new Map();
|
|
20822
20822
|
a = x.map((D) => {
|
|
20823
|
-
const
|
|
20824
|
-
return y.set(D,
|
|
20823
|
+
const M = y.get(D) ?? 0;
|
|
20824
|
+
return y.set(D, M + 1), M === 0 ? D : `${D}_${M}`;
|
|
20825
20825
|
}), e(a.map((D) => ({ field: D, title: D }))), n = !0;
|
|
20826
20826
|
return;
|
|
20827
20827
|
}
|
|
@@ -20848,7 +20848,7 @@ async function Ur(r, e, t, i = 500, s = "") {
|
|
|
20848
20848
|
await t(a.slice(l, l + i));
|
|
20849
20849
|
return a.length;
|
|
20850
20850
|
}
|
|
20851
|
-
function
|
|
20851
|
+
function gs(r) {
|
|
20852
20852
|
return typeof r == "object" && r !== null && !Array.isArray(r);
|
|
20853
20853
|
}
|
|
20854
20854
|
function In(r) {
|
|
@@ -20867,7 +20867,7 @@ function Hn(r, e = "") {
|
|
|
20867
20867
|
throw new Error(`Data path "${e}" did not resolve to an array`);
|
|
20868
20868
|
if (i.length === 0)
|
|
20869
20869
|
return { columns: [], rows: [] };
|
|
20870
|
-
if (!i.every(
|
|
20870
|
+
if (!i.every(gs))
|
|
20871
20871
|
throw new Error(`Data path "${e}" must resolve to an array of row objects`);
|
|
20872
20872
|
const s = i[0];
|
|
20873
20873
|
return {
|
|
@@ -20878,7 +20878,7 @@ function Hn(r, e = "") {
|
|
|
20878
20878
|
if (Array.isArray(r)) {
|
|
20879
20879
|
if (r.length === 0)
|
|
20880
20880
|
return { columns: [], rows: [] };
|
|
20881
|
-
if (!r.every(
|
|
20881
|
+
if (!r.every(gs))
|
|
20882
20882
|
throw new Error("JSON array must contain row objects");
|
|
20883
20883
|
const i = r[0];
|
|
20884
20884
|
return {
|
|
@@ -20887,7 +20887,7 @@ function Hn(r, e = "") {
|
|
|
20887
20887
|
};
|
|
20888
20888
|
}
|
|
20889
20889
|
const t = r;
|
|
20890
|
-
if (Array.isArray(t.columns) && Array.isArray(t.data) && t.data.every(
|
|
20890
|
+
if (Array.isArray(t.columns) && Array.isArray(t.data) && t.data.every(gs))
|
|
20891
20891
|
return { columns: t.columns, rows: t.data };
|
|
20892
20892
|
throw new Error("JSON data must be an array of row objects or a { columns, data } envelope");
|
|
20893
20893
|
}
|
|
@@ -21020,7 +21020,7 @@ function fo(r, e, t) {
|
|
|
21020
21020
|
i = i.filter((d) => c(d, a));
|
|
21021
21021
|
return;
|
|
21022
21022
|
}
|
|
21023
|
-
const l = typeof a.type == "function" ? a.type :
|
|
21023
|
+
const l = typeof a.type == "function" ? a.type : Ui.filters[a.type];
|
|
21024
21024
|
if (!l)
|
|
21025
21025
|
return;
|
|
21026
21026
|
const h = a.field;
|
|
@@ -21030,7 +21030,7 @@ function fo(r, e, t) {
|
|
|
21030
21030
|
});
|
|
21031
21031
|
const n = typeof e.Sort == "string" ? e.Sort : "";
|
|
21032
21032
|
if (n) {
|
|
21033
|
-
const [a, l] = n.split(" "), h = t.columns?.find((u) => u.field === a), c = typeof h?.sorter == "string" ? h.sorter : "string", d =
|
|
21033
|
+
const [a, l] = n.split(" "), h = t.columns?.find((u) => u.field === a), c = typeof h?.sorter == "string" ? h.sorter : "string", d = ki.sorters[c] ?? ki.sorters.string, p = l === "desc";
|
|
21034
21034
|
i = i.slice().sort((u, m) => {
|
|
21035
21035
|
const w = p ? m : u, x = p ? u : m, y = d(
|
|
21036
21036
|
w[a] ?? "",
|
|
@@ -21085,7 +21085,7 @@ function Jr(r) {
|
|
|
21085
21085
|
if (h.type === "unique")
|
|
21086
21086
|
c = Xr(n) || (o.get(n) ?? 0) <= 1;
|
|
21087
21087
|
else {
|
|
21088
|
-
const d =
|
|
21088
|
+
const d = ko[h.type];
|
|
21089
21089
|
c = d ? d(n, h.parameters) : !0;
|
|
21090
21090
|
}
|
|
21091
21091
|
c || l.push({
|
|
@@ -21217,7 +21217,7 @@ let g = class extends Ie {
|
|
|
21217
21217
|
constructor() {
|
|
21218
21218
|
super(), Cf(this, mo), this.localize = new it(this), this.hasSlotController = new mn(this, "add-action"), this.osInstance = null, this.resizeObserver = null, this.overflowObserver = null, this.ajaxFacetsController = new wp(this), this.filterController = new Ep(this), this.ajaxFacetFilterController = new xp(this, this.filterController), this.selectAllController = new Rp(this), this.shadowRootAutoloader = new wn(
|
|
21219
21219
|
this
|
|
21220
|
-
), this.validationTooltipAnchor = null, this.validationTooltipHidePromise = null, this.movableRows = !1, this.movableColumns = !1, this.data = void 0, this.rowHeight = 48, this.layout = "fitColumns", this.columns = [], this.footerElement = void 0, this.responsiveLayout = !1, this.responsiveLayoutCollapseFormatter = void 0, this.responsiveLayoutCollapseUseFormatters = void 0, this.rowHeader = void 0, this.noHeader = !1, this.textDirection = void 0, this.responsiveLayoutCollapseStartOpen = void 0, this.renderVerticalBuffer = void 0, this.renderVertical = "virtual", this.validateOnLoad = !1, this.validationWorkerThreshold = void 0, this.columnDefaults = {}, this.headerContextMenu = !1, this.canSearch = !1, this.noAdvancedSearch = !1, this.showSavedSearch = !1, this.searchFields = [], this.searchMatchAnyKeyword = !1, this.canAdd = !1, this.addLabel = this.localize.term("add"), this.canExportCsv = !1, this.canExportXml = !1, this.canExportPdf = !1, this.canExportCustom = !1, this.canSaveReport = !1, this.savedSearchURL = "", this.savedSearchItems = [], this.savedSearchPageSizeParam = "PageSize", this.savedSearchPageSize = 10, this.savedSearchPageNumberParam = "PageNumber", this.dropdownFilters = [], this.groupByOptions = [], this.ajaxURL = void 0, this.ajaxMethod = "GET", this.ajaxURLGenerator = void 0, this.ajaxParams = void 0, this.ajaxResponse = void 0, this.facetConfig = void 0, this.additionalAppliedFilters = [], this.dataSendParams = void 0, this.dataReceiveParams = void 0, this.noAutoResize = !1, this.resizableRows = !1, this.resizableColumnFit = !1, this.resizableColumnGuide = !1, this.resizableRowGuide = !1, this.frozenRows = void 0, this.frozenRowsField = "id", this.placeholder = this.localize.term("noData"), this.groupBy = void 0, this.groupHeader = void 0, this.groupHeaderCount = !1, this.groupHeaderUseFormatter = !1, this.groupIndent = 36, this.groupHeaderPrint = void 0, this.groupHeaderClipboard = void 0, this.groupHeaderDownload = void 0, this.groupHeaderHtmlOutput = void 0, this.groupStartOpen = !1, this.groupStartOpenValues = void 0, this.groupToggleElement = "arrow", this.groupValues = [], this.groupUpdateOnCellEdit = !1, this.groupLoadMoreMeta = {}, this.dataTree = !1, this.dataTreeChildField = "_children", this.dataTreeLoadingField = "loading", this.dataTreeHasMoreField = "hasMore", this.dataTreeFilter = !1, this.dataTreeSort = !1, this.dataTreeElementColumn = void 0, this.dataTreeChildIndent = 9, this.dataTreeStartExpanded = !1, this.dataTreeSelectPropagate = !1, this.dataTreeExpandElement = void 0, this.dataTreeCollapseElement = void 0, this.spreadsheet = !1, this.spreadsheetColumns = 50, this.spreadsheetRows = 50, this.spreadsheetColumnDefinition = void 0, this.spreadsheetOutputFull = !1, this.editorEmptyValue = "", this.spreadsheetSheets = void 0, this.spreadsheetSheetTabs = !1, this.spreadsheetData = void 0, this.selectableRange = 1, this.noSelectable = !1, this.selectableRangeColumns = !1, this.selectableRangeRows = !1, this.selectableRangeClearCells = !1, this.editTriggerEvent = "dblclick", this.selectableRangeAutoFocus = !1, this.noClipboard = !1, this.clipboardAction = bi.Both, this.clipboardCopyRowRange = "range", this.clipboardPasteParser = void 0, this.clipboardPasteAction = "insert", this.clipboardCopyConfig = { columnHeaders: !1 }, this.clipboardNoCopyStyled = !1, this.pagination = !1, this.paginationMode = mt.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 = Da.Both, this.paginationShowFirst = !1, this.paginationShowLast = !1, this.paginationPlacement =
|
|
21220
|
+
), this.validationTooltipAnchor = null, this.validationTooltipHidePromise = null, this.movableRows = !1, this.movableColumns = !1, this.data = void 0, this.rowHeight = 48, this.layout = "fitColumns", this.columns = [], this.footerElement = void 0, this.responsiveLayout = !1, this.responsiveLayoutCollapseFormatter = void 0, this.responsiveLayoutCollapseUseFormatters = void 0, this.rowHeader = void 0, this.noHeader = !1, this.textDirection = void 0, this.responsiveLayoutCollapseStartOpen = void 0, this.renderVerticalBuffer = void 0, this.renderVertical = "virtual", this.validateOnLoad = !1, this.validationWorkerThreshold = void 0, this.columnDefaults = {}, this.headerContextMenu = !1, this.canSearch = !1, this.noAdvancedSearch = !1, this.showSavedSearch = !1, this.searchFields = [], this.searchMatchAnyKeyword = !1, this.canAdd = !1, this.addLabel = this.localize.term("add"), this.canExportCsv = !1, this.canExportXml = !1, this.canExportPdf = !1, this.canExportCustom = !1, this.canSaveReport = !1, this.savedSearchURL = "", this.savedSearchItems = [], this.savedSearchPageSizeParam = "PageSize", this.savedSearchPageSize = 10, this.savedSearchPageNumberParam = "PageNumber", this.dropdownFilters = [], this.groupByOptions = [], this.ajaxURL = void 0, this.ajaxMethod = "GET", this.ajaxURLGenerator = void 0, this.ajaxParams = void 0, this.ajaxResponse = void 0, this.facetConfig = void 0, this.additionalAppliedFilters = [], this.dataSendParams = void 0, this.dataReceiveParams = void 0, this.noAutoResize = !1, this.resizableRows = !1, this.resizableColumnFit = !1, this.resizableColumnGuide = !1, this.resizableRowGuide = !1, this.frozenRows = void 0, this.frozenRowsField = "id", this.placeholder = this.localize.term("noData"), this.groupBy = void 0, this.groupHeader = void 0, this.groupHeaderCount = !1, this.groupHeaderUseFormatter = !1, this.groupIndent = 36, this.groupHeaderPrint = void 0, this.groupHeaderClipboard = void 0, this.groupHeaderDownload = void 0, this.groupHeaderHtmlOutput = void 0, this.groupStartOpen = !1, this.groupStartOpenValues = void 0, this.groupToggleElement = "arrow", this.groupValues = [], this.groupUpdateOnCellEdit = !1, this.groupLoadMoreMeta = {}, this.dataTree = !1, this.dataTreeChildField = "_children", this.dataTreeLoadingField = "loading", this.dataTreeHasMoreField = "hasMore", this.dataTreeFilter = !1, this.dataTreeSort = !1, this.dataTreeElementColumn = void 0, this.dataTreeChildIndent = 9, this.dataTreeStartExpanded = !1, this.dataTreeSelectPropagate = !1, this.dataTreeExpandElement = void 0, this.dataTreeCollapseElement = void 0, this.spreadsheet = !1, this.spreadsheetColumns = 50, this.spreadsheetRows = 50, this.spreadsheetColumnDefinition = void 0, this.spreadsheetOutputFull = !1, this.editorEmptyValue = "", this.spreadsheetSheets = void 0, this.spreadsheetSheetTabs = !1, this.spreadsheetData = void 0, this.selectableRange = 1, this.noSelectable = !1, this.selectableRangeColumns = !1, this.selectableRangeRows = !1, this.selectableRangeClearCells = !1, this.editTriggerEvent = "dblclick", this.selectableRangeAutoFocus = !1, this.noClipboard = !1, this.clipboardAction = bi.Both, this.clipboardCopyRowRange = "range", this.clipboardPasteParser = void 0, this.clipboardPasteAction = "insert", this.clipboardCopyConfig = { columnHeaders: !1 }, this.clipboardNoCopyStyled = !1, this.pagination = !1, this.paginationMode = mt.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 = Da.Both, this.paginationShowFirst = !1, this.paginationShowLast = !1, this.paginationPlacement = Qi.TopEnd, this.noHeaderRowReserve = !1, this.hoverMenu = void 0, this.label = "", this.tabulatorRole = "grid", this.columnGroupRole = "columngroup", this.columnHeaderRole = "columnheader", this.rowRole = "row", this.rowGroupRole = "rowgroup", this.cellRole = "gridcell", this.filterMode = mt.Local, this.placeholderHeaderFilter = "No matching data", this.noColumnPlaceholderText = this.localize.term("noColumnsVisible"), this.useOverlayScrollbar = !1, this.loading = !1, this.canSelectAll = !1, this.rowIdField = "id", this.dataUrl = "", this.dateFilterCompareFormat = wi.IsoDateTime, this.dataFormat = xe.Auto, this.dataUrlPath = "", this.preserveColumnsOnLoad = !1, this.tabulatorInstance = null, this.watchedEvents = /* @__PURE__ */ new Set(), this.activeSearchValue = "", this.dataUrlRequestId = 0, this.inMemoryDataUrlRows = null, this.inMemoryValidationResult = null, this.internalAjaxRequestFunc = void 0, this.lastAttemptedDataUrl = null, this.hasFacets = !1, this.headerMenuOpen = !1, this.headerMenuField = "", this.headerMenuPointX = 0, this.headerMenuPointY = 0, this.headerMenuHideDisabled = !1, this.columnEditorOpen = !1, this.columnEditorEntries = [], this.handleTableBuilt = () => {
|
|
21221
21221
|
this.initScrollbars(), this.initOverflowObserver(), this.tabulatorInstance?.setColumns(this.columns ?? []), this.validateOnLoad && this.tabulatorInstance?.validateAsync(), this.filterController.syncDropdownFilterSources(this.dropdownFilters), this.handleSearch(), this.filterController.applyFilters(), this.refreshInMemoryPaginationCount(), this.placePaginator(), this.dataUrl && (!this.pagination || this.lastAttemptedDataUrl !== this.dataUrl.trim()) && this.loadFromDataUrl();
|
|
21222
21222
|
}, this.handleValidationChanged = (t) => {
|
|
21223
21223
|
this.validationTooltipAnchor && !this.validationTooltipAnchor.isConnected && this.hideValidationTooltip(), this.emit("cx-table-validation-change", { detail: t });
|
|
@@ -21777,8 +21777,8 @@ let g = class extends Ie {
|
|
|
21777
21777
|
if (i !== this.dataUrlRequestId)
|
|
21778
21778
|
return;
|
|
21779
21779
|
const y = l.length;
|
|
21780
|
-
x.forEach((
|
|
21781
|
-
|
|
21780
|
+
x.forEach((M) => {
|
|
21781
|
+
M.__cxRowIndex = l.length, l.push(M);
|
|
21782
21782
|
}), gf(x, this.tabulatorInstance), !p && l.length >= s && (p = !0, n(c, l)), p && !this.hasActiveDataFilter && this.updatePaginationCountLive(l.length), await pf(
|
|
21783
21783
|
x,
|
|
21784
21784
|
d,
|
|
@@ -21786,7 +21786,7 @@ let g = class extends Ie {
|
|
|
21786
21786
|
h,
|
|
21787
21787
|
this.tabulatorInstance,
|
|
21788
21788
|
this.validationWorkerThreshold
|
|
21789
|
-
) && i === this.dataUrlRequestId && a(l.length, h), await new Promise((
|
|
21789
|
+
) && i === this.dataUrlRequestId && a(l.length, h), await new Promise((M) => requestAnimationFrame(() => M()));
|
|
21790
21790
|
}, w = g.IN_MEMORY_PARSE_CHUNK_SIZE;
|
|
21791
21791
|
return t === xe.Csv ? await jr(e, u, m, w) : t === xe.Json ? await Ur(e, u, m, w, this.dataUrlPath) : t === xe.Xml && await Gr(e, u, m, w, this.dataUrlPath), p || n(c, l), { columns: c, rows: l, validationResult: h };
|
|
21792
21792
|
}
|
|
@@ -22158,9 +22158,9 @@ g.dependencies = {
|
|
|
22158
22158
|
"cx-table-column-editor": et,
|
|
22159
22159
|
"cx-table-footer": Di,
|
|
22160
22160
|
"cx-table-header-menu": tt,
|
|
22161
|
-
"cx-table-row-actions":
|
|
22161
|
+
"cx-table-row-actions": Pt,
|
|
22162
22162
|
"cx-table-toolbar": ie,
|
|
22163
|
-
"cx-tooltip":
|
|
22163
|
+
"cx-tooltip": Ht
|
|
22164
22164
|
};
|
|
22165
22165
|
g.IN_MEMORY_PARSE_CHUNK_SIZE = 2e4;
|
|
22166
22166
|
v([
|
|
@@ -23230,7 +23230,7 @@ g = v([
|
|
|
23230
23230
|
He("cx-table")
|
|
23231
23231
|
], g);
|
|
23232
23232
|
const xf = g;
|
|
23233
|
-
var Ve = /* @__PURE__ */ ((r) => (r.Circles = "circles", r.Grid = "grid", r.Table = "table", r))(Ve || {}),
|
|
23233
|
+
var Ve = /* @__PURE__ */ ((r) => (r.Circles = "circles", r.Grid = "grid", r.Table = "table", r))(Ve || {}), Qt = /* @__PURE__ */ ((r) => (r.FillContainer = "fill-container", r.HugContents = "hug-contents", r))(Qt || {}), Ef = /* @__PURE__ */ ((r) => (r.Center = "center", r.Left = "left", r.Right = "right", r))(Ef || {}), kt = /* @__PURE__ */ ((r) => (r.ColumnTitles = "column-titles", r.PaletteName = "palette-name", r.SeparatorLine = "separator-line", r))(kt || {});
|
|
23234
23234
|
const Gm = {
|
|
23235
23235
|
alignment: "left",
|
|
23236
23236
|
color: "",
|
|
@@ -23247,7 +23247,7 @@ const Gm = {
|
|
|
23247
23247
|
Object.values(kt)
|
|
23248
23248
|
), Df = {
|
|
23249
23249
|
resizable: !1
|
|
23250
|
-
},
|
|
23250
|
+
}, bs = {
|
|
23251
23251
|
field: "name",
|
|
23252
23252
|
formatter: (r) => {
|
|
23253
23253
|
const e = r.getRow().getData(), t = document.createElement("div");
|
|
@@ -23295,7 +23295,7 @@ const Gm = {
|
|
|
23295
23295
|
title: "PMS"
|
|
23296
23296
|
}
|
|
23297
23297
|
];
|
|
23298
|
-
function
|
|
23298
|
+
function Ni(r, e, t) {
|
|
23299
23299
|
const i = e.getValue() ?? "";
|
|
23300
23300
|
if (!i)
|
|
23301
23301
|
return null;
|
|
@@ -23318,10 +23318,10 @@ function Vi(r, e, t) {
|
|
|
23318
23318
|
})}>${i}</span></cx-copy-button>`, o = document.createDocumentFragment();
|
|
23319
23319
|
return an(s, o), o.firstElementChild;
|
|
23320
23320
|
}
|
|
23321
|
-
const
|
|
23321
|
+
const kf = (r, e) => [
|
|
23322
23322
|
{
|
|
23323
23323
|
field: "hex",
|
|
23324
|
-
formatter: (t) =>
|
|
23324
|
+
formatter: (t) => Ni(r, t, e),
|
|
23325
23325
|
headerHozAlign: "left",
|
|
23326
23326
|
headerSort: !1,
|
|
23327
23327
|
hozAlign: "center",
|
|
@@ -23329,7 +23329,7 @@ const Mf = (r, e) => [
|
|
|
23329
23329
|
},
|
|
23330
23330
|
{
|
|
23331
23331
|
field: "rgb",
|
|
23332
|
-
formatter: (t) =>
|
|
23332
|
+
formatter: (t) => Ni(r, t, e),
|
|
23333
23333
|
headerHozAlign: "left",
|
|
23334
23334
|
headerSort: !1,
|
|
23335
23335
|
hozAlign: "center",
|
|
@@ -23337,7 +23337,7 @@ const Mf = (r, e) => [
|
|
|
23337
23337
|
},
|
|
23338
23338
|
{
|
|
23339
23339
|
field: "cmyk",
|
|
23340
|
-
formatter: (t) =>
|
|
23340
|
+
formatter: (t) => Ni(r, t, e),
|
|
23341
23341
|
headerHozAlign: "left",
|
|
23342
23342
|
headerSort: !1,
|
|
23343
23343
|
hozAlign: "center",
|
|
@@ -23345,14 +23345,14 @@ const Mf = (r, e) => [
|
|
|
23345
23345
|
},
|
|
23346
23346
|
{
|
|
23347
23347
|
field: "pms",
|
|
23348
|
-
formatter: (t) =>
|
|
23348
|
+
formatter: (t) => Ni(r, t, e),
|
|
23349
23349
|
headerHozAlign: "left",
|
|
23350
23350
|
headerSort: !1,
|
|
23351
23351
|
hozAlign: "center",
|
|
23352
23352
|
title: "PMS"
|
|
23353
23353
|
}
|
|
23354
23354
|
];
|
|
23355
|
-
function
|
|
23355
|
+
function Mf(r) {
|
|
23356
23356
|
return {
|
|
23357
23357
|
field: go(r.id),
|
|
23358
23358
|
formatter: (e) => {
|
|
@@ -23398,7 +23398,7 @@ let V = class extends Ie {
|
|
|
23398
23398
|
kt.PaletteName,
|
|
23399
23399
|
kt.ColumnTitles,
|
|
23400
23400
|
kt.SeparatorLine
|
|
23401
|
-
], this.nameColumnWidthMode =
|
|
23401
|
+
], this.nameColumnWidthMode = Qt.FillContainer, this.nameColumnConstraints = !1, this.codeColumnWidthMode = Qt.FillContainer, this.codeColumnConstraints = !1, this.customColumns = [], this.gradientEffect = !1, this.breakpoints = Oa, this.deviceType = zi.Desktop, this.currentCol = 0, this.visibleElements = new Set(this.showElements), this.hugWidths = {}, this.isFocused = !1, this.canFocusContainer = !0, this.isContainerFocused = !1, this.handleWindowResize = this.handleWindowResize.bind(this);
|
|
23402
23402
|
}
|
|
23403
23403
|
runFirstUpdated() {
|
|
23404
23404
|
this.setAttribute("role", "region"), this.setAttribute("aria-label", this.localize.term("colorSwatches")), this.setAttribute(
|
|
@@ -23456,40 +23456,29 @@ let V = class extends Ie {
|
|
|
23456
23456
|
* keeps the extra render from looping.
|
|
23457
23457
|
*/
|
|
23458
23458
|
syncHugWidths() {
|
|
23459
|
-
if (this.variant !== Ve.Table
|
|
23460
|
-
this.nameColumnWidthMode,
|
|
23461
|
-
this.codeColumnWidthMode,
|
|
23462
|
-
...this.customColumns.map((s) => s.widthMode)
|
|
23463
|
-
].includes(Dt.HugContents))
|
|
23459
|
+
if (this.variant !== Ve.Table)
|
|
23464
23460
|
return;
|
|
23465
|
-
const
|
|
23466
|
-
(
|
|
23467
|
-
}
|
|
23468
|
-
/** Whether a built-in column's shared width mode is "Hug contents". */
|
|
23469
|
-
hugsBuiltInColumn(r) {
|
|
23470
|
-
return (r === Ni.field ? this.nameColumnWidthMode : this.codeColumnWidthMode) === Dt.HugContents;
|
|
23461
|
+
const r = this.measureHugWidths(), e = Object.keys(r);
|
|
23462
|
+
(e.length !== Object.keys(this.hugWidths).length || e.some((i) => r[i] !== this.hugWidths[i])) && (this.hugWidths = r);
|
|
23471
23463
|
}
|
|
23472
23464
|
/**
|
|
23473
23465
|
* Widest rendered width per field, measured off-screen from the data: the
|
|
23474
23466
|
* column title in the header font, and every cell value in the content font,
|
|
23475
23467
|
* each inside a box that mirrors the real cell's padding and column gap.
|
|
23476
|
-
*
|
|
23477
|
-
* Skips columns set to fill: one hugging column used to drag every other
|
|
23478
|
-
* column through a full measurement pass whose width nothing then read.
|
|
23479
23468
|
*/
|
|
23480
23469
|
measureHugWidths() {
|
|
23481
23470
|
const r = this.measureEl;
|
|
23482
23471
|
if (!r)
|
|
23483
23472
|
return this.hugWidths;
|
|
23484
23473
|
const e = {};
|
|
23485
|
-
for (const t of [
|
|
23486
|
-
this.
|
|
23474
|
+
for (const t of [bs, ...Qr])
|
|
23475
|
+
this.recordHugWidth(
|
|
23487
23476
|
e,
|
|
23488
23477
|
t.field,
|
|
23489
23478
|
this.measureBuiltInColumn(r, t)
|
|
23490
23479
|
);
|
|
23491
23480
|
for (const t of this.customColumns)
|
|
23492
|
-
|
|
23481
|
+
this.recordHugWidth(
|
|
23493
23482
|
e,
|
|
23494
23483
|
go(t.id),
|
|
23495
23484
|
this.measureCustomColumn(r, t)
|
|
@@ -23511,7 +23500,7 @@ let V = class extends Ie {
|
|
|
23511
23500
|
}
|
|
23512
23501
|
/** Widest of the title and every stored value for a built-in column. */
|
|
23513
23502
|
measureBuiltInColumn(r, e) {
|
|
23514
|
-
const { field: t } = e, i = t ===
|
|
23503
|
+
const { field: t } = e, i = t === bs.field, s = this.canCopy ? ["copyable"] : [], o = this.localize.lang()?.toLowerCase();
|
|
23515
23504
|
let n = this.measureProbe(r, e.title, ["title"]);
|
|
23516
23505
|
for (const a of this.data) {
|
|
23517
23506
|
const l = i && this.multiLanguage && o ? a[`name-${o}`] ?? a.name : a[t], h = typeof l == "string" && !i ? this.formatCode(t, l) : l;
|
|
@@ -23611,13 +23600,13 @@ let V = class extends Ie {
|
|
|
23611
23600
|
*/
|
|
23612
23601
|
applyColumnSettings(r, e) {
|
|
23613
23602
|
const t = { ...r };
|
|
23614
|
-
return e.widthMode ===
|
|
23603
|
+
return e.widthMode === Qt.HugContents ? t.width = this.hugWidths[r.field] : t.widthGrow = 1, e.constraints ? (e.minWidth && (t.minWidth = e.minWidth), e.maxWidth && (t.maxWidth = e.maxWidth)) : e.widthMode === Qt.FillContainer && (t.minWidth = this.hugWidths[r.field]), e.alignment && (t.hozAlign = e.alignment, t.headerHozAlign = e.alignment), t;
|
|
23615
23604
|
}
|
|
23616
23605
|
/**
|
|
23617
23606
|
* Filter out the columns that are not in the showCodes
|
|
23618
23607
|
*/
|
|
23619
23608
|
getTableColumns(r) {
|
|
23620
|
-
const e = this.canCopy ?
|
|
23609
|
+
const e = this.canCopy ? kf(this.localize, r) : Qr, t = {
|
|
23621
23610
|
alignment: this.nameColumnAlignment,
|
|
23622
23611
|
constraints: this.nameColumnConstraints,
|
|
23623
23612
|
maxWidth: this.nameColumnMaxWidth,
|
|
@@ -23632,7 +23621,7 @@ let V = class extends Ie {
|
|
|
23632
23621
|
};
|
|
23633
23622
|
return [
|
|
23634
23623
|
// Single "Name" column (color swatch + name) always shown first.
|
|
23635
|
-
this.applyColumnSettings(
|
|
23624
|
+
this.applyColumnSettings(bs, t),
|
|
23636
23625
|
...e.filter((s) => this.showCodes.includes(s.field.toUpperCase())).map((s) => this.applyColumnSettings(s, i)),
|
|
23637
23626
|
/**
|
|
23638
23627
|
* Author-declared columns come last, in list order, and each carries its
|
|
@@ -23640,12 +23629,12 @@ let V = class extends Ie {
|
|
|
23640
23629
|
* the shared Code columns settings.
|
|
23641
23630
|
*/
|
|
23642
23631
|
...this.customColumns.map(
|
|
23643
|
-
(s) => this.applyColumnSettings(
|
|
23632
|
+
(s) => this.applyColumnSettings(Mf(s), {
|
|
23644
23633
|
alignment: s.alignment,
|
|
23645
23634
|
constraints: !!s.constraints,
|
|
23646
23635
|
maxWidth: ai.fromAttribute(s.maxWidth ?? null),
|
|
23647
23636
|
minWidth: ai.fromAttribute(s.minWidth ?? null),
|
|
23648
|
-
widthMode: s.widthMode ??
|
|
23637
|
+
widthMode: s.widthMode ?? Qt.FillContainer
|
|
23649
23638
|
})
|
|
23650
23639
|
)
|
|
23651
23640
|
];
|
|
@@ -23710,9 +23699,9 @@ let V = class extends Ie {
|
|
|
23710
23699
|
get swatchVariant() {
|
|
23711
23700
|
switch (this.variant) {
|
|
23712
23701
|
case Ve.Circles:
|
|
23713
|
-
return this.deviceType === zi.Tablet ?
|
|
23702
|
+
return this.deviceType === zi.Tablet ? ns.Oval : ns.Circle;
|
|
23714
23703
|
case Ve.Grid:
|
|
23715
|
-
return
|
|
23704
|
+
return ns.GridItem;
|
|
23716
23705
|
default:
|
|
23717
23706
|
return;
|
|
23718
23707
|
}
|
|
@@ -23936,13 +23925,13 @@ export {
|
|
|
23936
23925
|
V as C,
|
|
23937
23926
|
Gm as D,
|
|
23938
23927
|
at as F,
|
|
23939
|
-
|
|
23928
|
+
jt as H,
|
|
23940
23929
|
Ct as a,
|
|
23941
23930
|
xf as b,
|
|
23942
23931
|
Ve as c,
|
|
23943
23932
|
er as d,
|
|
23944
23933
|
kt as e,
|
|
23945
|
-
|
|
23934
|
+
Qt as f,
|
|
23946
23935
|
Ef as g,
|
|
23947
23936
|
ae as h,
|
|
23948
23937
|
le as i,
|