@orangelogic/design-system 4.4.0 → 4.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/library/chunks/{color-swatch-group.CZSeCrot.js → color-swatch-group.6ls-5ziB.js} +639 -639
- package/library/chunks/{header.2RH_nPmz.js → header.DWE-WJaC.js} +51 -43
- package/library/chunks/{index.DKKvxBAi.js → index.D8XR8JuY.js} +1 -1
- package/library/chunks/{responsive.BmBJSzC4.js → responsive.DqF_v1XY.js} +9 -7
- package/library/chunks/{types.PdpKNndx.js → types.DVqUSJlF.js} +6 -6
- package/library/components/atoms.js +1 -1
- package/library/components/color-swatch-group.js +2 -2
- package/library/components/header.js +4 -3
- package/library/components/organisms.js +1 -1
- package/library/components/types.js +114 -113
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/header/header.d.ts +2 -0
- package/library/packages/utils/src/responsive/responsive.d.ts +1 -0
- package/library/utils.js +53 -52
- package/package.json +1 -1
|
@@ -61,8 +61,8 @@ import { d as ka } from "./debounce.Bv1rtE8D.js";
|
|
|
61
61
|
import Ta from "../components/format-number.js";
|
|
62
62
|
import Fa from "../components/select.js";
|
|
63
63
|
import { f as gn, c as bn, a as La, b as za, g as _a, C as as } from "./color.CIHdfM_a.js";
|
|
64
|
-
import {
|
|
65
|
-
import { r as
|
|
64
|
+
import { D as Oa, g as Aa, a as Pa } from "./responsive.DqF_v1XY.js";
|
|
65
|
+
import { r as Ia } from "./query-all.i3PyvTUQ.js";
|
|
66
66
|
import { i as Qo } from "./guard.D4axKaMo.js";
|
|
67
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 || {}), Bi = /* @__PURE__ */ ((r) => (r.Checkbox = "checkbox", r.DatePicker = "datePicker", r.DateRangePicker = "dateRangePicker", r))(Bi || {}), $i = /* @__PURE__ */ ((r) => (r.ShowPreset = "showPreset", r.ShowTime = "showTime", r))($i || {});
|
|
68
68
|
class wn {
|
|
@@ -131,26 +131,26 @@ class wn {
|
|
|
131
131
|
return t.includes("-") && !customElements.get(t);
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
|
-
function
|
|
134
|
+
function Ha(r, e) {
|
|
135
135
|
return E`<cx-faceted-filter-facet display-name=${r.facetDetails.displayName} type=${r.facetDetails.facetFieldName} selection=${r.facetDetails.selection ?? e.defaultSelection} .collections=${e.selectionValues} .values=${r.values}></cx-faceted-filter-facet>`;
|
|
136
136
|
}
|
|
137
|
-
function
|
|
137
|
+
function Na(r, e) {
|
|
138
138
|
const t = r.facetDetails;
|
|
139
139
|
return E`<cx-facet-date-picker field=${t.facetFieldName} display-name=${t.displayName} display-format=${Z(t.displayFormat)} value=${e.dateRange?.fromDate ?? ""} from-time=${e.dateRange?.fromTime ?? rn} min=${t.min ?? ""} max=${t.max ?? ""} ?show-time=${t.showTime ?? !1}></cx-facet-date-picker>`;
|
|
140
140
|
}
|
|
141
|
-
function
|
|
141
|
+
function Va(r, e) {
|
|
142
142
|
const t = r.facetDetails;
|
|
143
143
|
return E`<cx-facet-date-range field=${t.facetFieldName} display-name=${t.displayName} display-format=${Z(t.displayFormat)} from-date=${e.dateRange?.fromDate ?? ""} to-date=${e.dateRange?.toDate ?? ""} from-time=${e.dateRange?.fromTime ?? rn} to-time=${e.dateRange?.toTime ?? Jn} preset=${e.dateRange?.preset ?? ""} min=${t.min ?? ""} max=${t.max ?? ""} ?show-time=${t.showTime ?? !1} ?show-preset=${t.showPreset ?? !1}></cx-facet-date-range>`;
|
|
144
144
|
}
|
|
145
|
-
const
|
|
146
|
-
[at.Checkbox]:
|
|
147
|
-
[at.DatePicker]:
|
|
148
|
-
[at.DateRange]:
|
|
149
|
-
},
|
|
150
|
-
var
|
|
151
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
145
|
+
const Ba = {
|
|
146
|
+
[at.Checkbox]: Ha,
|
|
147
|
+
[at.DatePicker]: Na,
|
|
148
|
+
[at.DateRange]: Va
|
|
149
|
+
}, $a = Q`:host{display:contents}cx-dropdown{--panel-overflow:hidden}cx-details{--expand-icon-size:24px}.panel{--header-background-color:transparent;--header-font-size:var(--cx-font-size-medium);--panel-width:min(280px, 90dvw);width:var(--panel-width);max-height:var(--panel-max-height,600px);position:relative}.panel:has(cx-facet-date-range[show-time],cx-facet-date-picker[show-time]){--panel-width:min(385px, 90dvw)}.panel__content{max-height:var(--panel-max-height,600px);flex-direction:column;display:flex}.panel__header{flex-shrink:0}.panel__body{flex:1;min-height:0;overflow-y:auto}.panel__footer{padding:var(--cx-spacing-x-small) var(--cx-spacing-medium);border-top:1px solid var(--cx-color-neutral-200);flex-shrink:0;display:flex}.applied-filters__summary{align-items:center;gap:var(--cx-spacing-2x-small);display:inline-flex}.applied-filters__title{font-weight:var(--cx-font-weight-medium);color:var(--cx-color-neutral-900)}.applied-filters__loading{align-items:center;display:inline-flex}.applied-filters{--content-padding:0 var(--cx-spacing-medium);min-width:100%;width:var(--panel-width)}.applied-filters::part(summary){flex:none}.applied-filters::part(base),cx-faceted-filter-facet::part(base){border-top-width:0;border-left-width:0;border-right-width:0}.applied-filters--empty::part(content){display:none}.faceted-filter__trigger{--font-size:var(--trigger-icon-size,var(--cx-font-size-large))}.faceted-filter__trigger::part(base){background-color:var(--cx-color-neutral-100)}.faceted-filter__trigger-badge{--font-size:var(--cx-font-size-x-small);margin-block-start:calc(-1 * var(--cx-spacing-x-small));margin-inline-end:calc(-1 * var(--cx-spacing-x-small))}.applied-filters__tags{max-width:var(--panel-width);padding-bottom:var(--cx-spacing-x-small)}.panel__clear-all-button{--cx-button-text-transform:none;padding-top:var(--cx-spacing-2x-small);padding-bottom:var(--cx-spacing-2x-small)}.panel__clear-all-button::part(label){text-decoration:underline}.panel__clear-all-button:not([disabled])::part(base):hover{color:var(--cx-color-neutral-800);background-color:#0000;border-color:#0000}cx-tag::part(remove-button){font-size:var(--cx-font-size-x-small)}cx-tag::part(remove-button__base){min-height:unset;min-width:unset;padding:var(--cx-spacing-3x-small)}`;
|
|
150
|
+
var Wa = Object.defineProperty, ja = Object.getOwnPropertyDescriptor, Ee = (r, e, t, i) => {
|
|
151
|
+
for (var s = i > 1 ? void 0 : i ? ja(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
152
152
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
153
|
-
return i && s &&
|
|
153
|
+
return i && s && Wa(e, t, s), s;
|
|
154
154
|
};
|
|
155
155
|
let ae = class extends Ie {
|
|
156
156
|
constructor() {
|
|
@@ -361,7 +361,7 @@ let ae = class extends Ie {
|
|
|
361
361
|
);
|
|
362
362
|
if (!e)
|
|
363
363
|
return nt;
|
|
364
|
-
const t = r.type ?? at.Checkbox, i =
|
|
364
|
+
const t = r.type ?? at.Checkbox, i = Ba[t];
|
|
365
365
|
return i ? i(
|
|
366
366
|
{
|
|
367
367
|
facetDetails: r,
|
|
@@ -375,7 +375,7 @@ let ae = class extends Ie {
|
|
|
375
375
|
)}</div>${this.renderFooter()}</div></div></cx-dropdown>`;
|
|
376
376
|
}
|
|
377
377
|
};
|
|
378
|
-
ae.styles = [Ge,
|
|
378
|
+
ae.styles = [Ge, $a];
|
|
379
379
|
ae.dependencies = {
|
|
380
380
|
"cx-badge": Kn,
|
|
381
381
|
"cx-button": Et,
|
|
@@ -452,11 +452,11 @@ const ws = 36;
|
|
|
452
452
|
var wi = /* @__PURE__ */ ((r) => (r.IsoDate = "iso-date", r.IsoDateTime = "iso-datetime", r.Timestamp = "timestamp", r))(wi || {}), er = Yi(function(r, e) {
|
|
453
453
|
var t = ni(e);
|
|
454
454
|
return Pt(t) && (t = void 0), Pt(r) ? aa(r, cn(e, 1, Pt, !0), Zi(t)) : [];
|
|
455
|
-
}),
|
|
456
|
-
function
|
|
455
|
+
}), Ga = Math.min;
|
|
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--; ) {
|
|
458
458
|
var c = r[n];
|
|
459
|
-
n && e && (c = wo(c, Zn(e))), l =
|
|
459
|
+
n && e && (c = wo(c, Zn(e))), l = Ga(c.length, l), a[n] = e || s >= 120 && c.length >= 120 ? new Qn(n && c) : void 0;
|
|
460
460
|
}
|
|
461
461
|
c = r[0];
|
|
462
462
|
var d = -1, p = a[0];
|
|
@@ -474,45 +474,45 @@ function Ga(r, e, t) {
|
|
|
474
474
|
}
|
|
475
475
|
return h;
|
|
476
476
|
}
|
|
477
|
-
function
|
|
477
|
+
function Ka(r) {
|
|
478
478
|
return Pt(r) ? r : [];
|
|
479
479
|
}
|
|
480
|
-
var
|
|
481
|
-
var e = ni(r), t = wo(r,
|
|
482
|
-
return e === ni(t) ? e = void 0 : t.pop(), t.length && t[0] === r[0] ?
|
|
483
|
-
}),
|
|
480
|
+
var qa = Yi(function(r) {
|
|
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, Zi(e)) : [];
|
|
483
|
+
}), Xa = Yi(function(r) {
|
|
484
484
|
var e = ni(r);
|
|
485
485
|
return Pt(e) && (e = void 0), fa(cn(r, 1, Pt, !0), Zi(e));
|
|
486
|
-
}),
|
|
486
|
+
}), Ja = Yi(function(r) {
|
|
487
487
|
var e = ni(r);
|
|
488
488
|
return Pt(e) && (e = void 0), la(ea(r, Pt), Zi(e));
|
|
489
489
|
}), At = /* @__PURE__ */ ((r) => (r.All = "all", r.None = "none", r.Partial = "partial", r))(At || {});
|
|
490
|
-
function
|
|
490
|
+
function Ya(r, e) {
|
|
491
491
|
return e.length < 2 ? r : ha(r, wa(e, 0, -1));
|
|
492
492
|
}
|
|
493
|
-
function
|
|
494
|
-
return e = dn(e, r), r =
|
|
493
|
+
function Za(r, e) {
|
|
494
|
+
return e = dn(e, r), r = Ya(r, e), r == null || delete r[ca(ni(e))];
|
|
495
495
|
}
|
|
496
|
-
function
|
|
496
|
+
function Qa(r) {
|
|
497
497
|
return da(r) ? void 0 : r;
|
|
498
498
|
}
|
|
499
|
-
var
|
|
499
|
+
var el = 1, tl = 2, il = 4, tr = ua(function(r, e) {
|
|
500
500
|
var t = {};
|
|
501
501
|
if (r == null)
|
|
502
502
|
return t;
|
|
503
503
|
var i = !1;
|
|
504
504
|
e = wo(e, function(o) {
|
|
505
505
|
return o = dn(o, r), i || (i = o.length > 1), o;
|
|
506
|
-
}), ma(r, ga(r), t), i && (t = ba(t,
|
|
506
|
+
}), ma(r, ga(r), t), i && (t = ba(t, el | tl | il, Qa));
|
|
507
507
|
for (var s = e.length; s--; )
|
|
508
|
-
|
|
508
|
+
Za(t, e[s]);
|
|
509
509
|
return t;
|
|
510
510
|
});
|
|
511
|
-
const
|
|
512
|
-
var
|
|
513
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
511
|
+
const sl = Q`:host{--row-height:44px;min-height:var(--row-height);display:block}.board-list-item{--toggle-size:var(--cx-toggle-size-medium);border:1px solid #0000;border-bottom-color:var(--cx-color-neutral-300);font-family:var(--cx-font-sans);min-height:var(--row-height);padding-left:var(--cx-spacing-3x-small);background-color:var(--cx-color-neutral-100);align-items:center;gap:16px;display:flex;overflow:hidden}.board-list-item--placeholder{border-bottom-color:#0000}.board-list-item--placeholder .board-list-item__control{display:none}.board-list-item:not(.board-list-item--group):not(.board-list-item--placeholder):hover{transition:var(--cx-transition-slow);background-color:var(--cx-color-primary-50);cursor:grab;border:1px solid var(--cx-color-primary-300)}.board-list-item__control{width:var(--toggle-size);height:var(--toggle-size);border:solid var(--cx-input-border-width) var(--cx-input-border-color);background-color:var(--cx-input-background-color);color:var(--cx-color-neutral-0);transition:var(--cx-transition-fast) border-color, var(--cx-transition-fast) background-color, var(--cx-transition-fast) color, var(--cx-transition-fast) box-shadow;cursor:pointer;border-radius:2px;flex:none;justify-content:center;align-items:center;display:inline-flex;position:relative}.board-list-item__text{flex:1;align-items:center;width:0;height:100%;display:flex;position:relative}.board-list-item__text__content{font-weight:var(--cx-font-weight-regular);line-height:var(--cx-item-line-height,1.4);text-overflow:ellipsis;z-index:1;display:block;position:relative;overflow:hidden}.board-list-item__text__anchor{z-index:0;width:100%;height:100%;display:block;position:absolute;top:0;left:0}.board-list-item__checked-icon{display:inline-flex}.board-list-item--group{background-color:var(--cx-color-neutral-300)}.board-list-item:not(.board-list-item--checked):not(.board-list-item--readonly) .board-list-item__control:hover{border-color:var(--cx-input-border-color-hover);background-color:var(--cx-input-background-color-hover)}.board-list-item--checked .board-list-item__control{border-color:var(--cx-color-primary);background-color:var(--cx-color-primary)}.board-list-item--readonly .board-list-item__control{cursor:default;background-color:#0000;border-color:#0000}:host(:focus-visible){outline:var(--cx-focus-ring);outline-offset:calc(-1 * var(--cx-focus-ring-width));border-radius:2px}`;
|
|
512
|
+
var ol = Object.defineProperty, rl = Object.getOwnPropertyDescriptor, Ue = (r, e, t, i) => {
|
|
513
|
+
for (var s = i > 1 ? void 0 : i ? rl(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
514
514
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
515
|
-
return i && s &&
|
|
515
|
+
return i && s && ol(e, t, s), s;
|
|
516
516
|
};
|
|
517
517
|
let De = class extends Ie {
|
|
518
518
|
constructor() {
|
|
@@ -546,7 +546,7 @@ let De = class extends Ie {
|
|
|
546
546
|
})}><span class="board-list-item__control">${this.selected ? E`<cx-icon class="board-list-item__checked-icon" name="check"></cx-icon>` : ""}</span><div part="text" class="board-list-item__text" @mouseenter=${this.onTextMouseEnter} @mouseleave=${this.onTextMouseLeave}><cx-line-clamp part="text-content" class="board-list-item__text__content" lines="2" ?disabled-tooltip=${!!this.tooltip} disabled-hover-bridge>${this.text}</cx-line-clamp><cx-tooltip part="tooltip" hoist trigger="manual" ?disabled=${this.disabledTooltip || !this.tooltip} disabled-hover-bridge><div class="board-list-item__text__anchor"></div><div slot="content">${Ca(this.tooltip)}</div></cx-tooltip></div>${this.configurable && !this.readonly ? E`<cx-icon-button part="config-button" name="settings" label=${this.localize.term("configure")} @click=${this.onConfigButtonClick}></cx-icon-button>` : ""}</div>`;
|
|
547
547
|
}
|
|
548
548
|
};
|
|
549
|
-
De.styles = [Ge,
|
|
549
|
+
De.styles = [Ge, sl];
|
|
550
550
|
De.dependencies = {
|
|
551
551
|
"cx-icon": lt,
|
|
552
552
|
"cx-icon-button": li,
|
|
@@ -595,16 +595,16 @@ Ue([
|
|
|
595
595
|
De = Ue([
|
|
596
596
|
He("cx-board-list-item")
|
|
597
597
|
], De);
|
|
598
|
-
const
|
|
598
|
+
const nl = Q`:host{--cx-tooltip-arrow-size:0;flex:1;display:block}.board{--toggle-size:var(--cx-toggle-size-medium);background-color:var(--cx-color-neutral-100);border:1px solid var(--cx-color-neutral-300);border-radius:4px;flex-direction:column;height:100%;padding:16px 16px 0;display:flex}.board--dragging cx-input{pointer-events:none}.board__header{align-items:center;gap:16px;width:100%;height:40px;margin-bottom:16px;display:flex}.board__header--divided{margin-bottom:0}.board__divider{--spacing:0;margin-bottom:16px}.board__list{flex:1;max-height:500px;padding-left:0;overflow:hidden scroll}.board__header__text{-webkit-line-clamp:2;color:var(--cx-color-neutral);font-family:var(--cx-font-sans);text-overflow:ellipsis;white-space:pre-wrap;-webkit-box-orient:vertical;flex:1;font-weight:700;display:-webkit-box;overflow:hidden}.board__header__search{flex:0 0 160px}.board__footer{justify-content:space-between;align-items:center;height:40px;display:flex}.board__footer__text{font-family:var(--cx-font-sans)}.board__select-all{width:var(--toggle-size);height:var(--toggle-size);border:solid var(--cx-input-border-width) var(--cx-input-border-color);background-color:var(--cx-input-background-color);color:var(--cx-color-neutral-0);cursor:pointer;transition:var(--cx-transition-fast) border-color, var(--cx-transition-fast) background-color, var(--cx-transition-fast) color, var(--cx-transition-fast) box-shadow;border-radius:2px;flex:none;justify-content:center;align-items:center;display:inline-flex;position:relative}.board--checked .board__select-all{border-color:var(--cx-color-primary);background-color:var(--cx-color-primary)}.board__select-all:focus-visible{outline:var(--cx-focus-ring);outline-offset:var(--cx-focus-ring-offset)}.board__checked-icon{display:inline-flex}`, al = (r) => {
|
|
599
599
|
const e = r.getRootNode();
|
|
600
600
|
return e instanceof ShadowRoot ? e.host : null;
|
|
601
601
|
};
|
|
602
602
|
navigator.userAgent.match(/safari/i) && !navigator.userAgent.match(/chrome/i) && navigator.userAgent.match(/android/i);
|
|
603
|
-
const
|
|
604
|
-
var
|
|
605
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
603
|
+
const ll = /mac os x/i.test(navigator.userAgent) && !/iphone|ipad/i.test(navigator.userAgent);
|
|
604
|
+
var hl = Object.defineProperty, cl = Object.getOwnPropertyDescriptor, G = (r, e, t, i) => {
|
|
605
|
+
for (var s = i > 1 ? void 0 : i ? cl(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
606
606
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
607
|
-
return i && s &&
|
|
607
|
+
return i && s && hl(e, t, s), s;
|
|
608
608
|
};
|
|
609
609
|
const ls = 44;
|
|
610
610
|
let N = class extends Ie {
|
|
@@ -715,7 +715,7 @@ let N = class extends Ie {
|
|
|
715
715
|
}
|
|
716
716
|
handleAdd(r) {
|
|
717
717
|
let e = this.items.map((h) => h.id);
|
|
718
|
-
const t =
|
|
718
|
+
const t = al(r.from);
|
|
719
719
|
if (!t)
|
|
720
720
|
return;
|
|
721
721
|
const s = r.item.dataset.id;
|
|
@@ -945,7 +945,7 @@ let N = class extends Ie {
|
|
|
945
945
|
avoidImplicitDeselect: !0,
|
|
946
946
|
dataIdAttr: "data-id",
|
|
947
947
|
draggable: "cx-board-list-item[data-id]:not([readonly])",
|
|
948
|
-
forceFallback:
|
|
948
|
+
forceFallback: ll,
|
|
949
949
|
// avoid native HTML5 drag image fly-in animation on macOS (https://link.orangelogic.com/Tasks/41N1B6)
|
|
950
950
|
group: "shared",
|
|
951
951
|
multiDrag: !0,
|
|
@@ -988,7 +988,7 @@ let N = class extends Ie {
|
|
|
988
988
|
)}<div style="height: ${ls * (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
|
-
N.styles = [Ge,
|
|
991
|
+
N.styles = [Ge, nl];
|
|
992
992
|
N.dependencies = {
|
|
993
993
|
"cx-board-list-item": De,
|
|
994
994
|
"cx-divider": un,
|
|
@@ -1109,7 +1109,7 @@ N = G([
|
|
|
1109
1109
|
He("cx-board")
|
|
1110
1110
|
], N);
|
|
1111
1111
|
const _i = "facet:";
|
|
1112
|
-
class
|
|
1112
|
+
class dl {
|
|
1113
1113
|
constructor() {
|
|
1114
1114
|
this.sources = /* @__PURE__ */ new Map();
|
|
1115
1115
|
}
|
|
@@ -1193,8 +1193,8 @@ class cl {
|
|
|
1193
1193
|
return !0;
|
|
1194
1194
|
}
|
|
1195
1195
|
}
|
|
1196
|
-
const
|
|
1197
|
-
function
|
|
1196
|
+
const ul = Q`:host{--search-width-default:227px;height:100%;display:block}.multi-select{gap:var(--cx-spacing-medium);flex-direction:column;width:100%;height:100%;display:flex}.multi-select__toolbar{align-items:center;gap:var(--cx-spacing-medium);display:flex}.multi-select__search{flex:0 0 var(--search-width,var(--search-width-default))}.multi-select__boards{gap:var(--cx-spacing-medium);flex:1;width:100%;min-height:0;display:flex}.multi-select__control{gap:var(--cx-spacing-small);flex-direction:column;align-self:center;display:flex}`, ir = (r, e) => r.group && e.group && r.group !== e.group ? r.group.localeCompare(e.group) : r.text.localeCompare(e.text);
|
|
1197
|
+
function pl(r) {
|
|
1198
1198
|
const e = /* @__PURE__ */ new Map();
|
|
1199
1199
|
return Object.entries(r).forEach(([t, i]) => {
|
|
1200
1200
|
i.length > 0 && e.set(t, new Set(i));
|
|
@@ -1204,8 +1204,8 @@ function sr(r, e, t) {
|
|
|
1204
1204
|
const i = r.get(e);
|
|
1205
1205
|
!t || !i || i.set(t, (i.get(t) ?? 0) + 1);
|
|
1206
1206
|
}
|
|
1207
|
-
function
|
|
1208
|
-
const i = Object.keys(e), s =
|
|
1207
|
+
function fl(r, e, t = {}) {
|
|
1208
|
+
const i = Object.keys(e), s = pl(t), o = new Map(
|
|
1209
1209
|
i.map((n) => [n, /* @__PURE__ */ new Map()])
|
|
1210
1210
|
);
|
|
1211
1211
|
for (const n of r) {
|
|
@@ -1235,7 +1235,7 @@ function pl(r, e, t = {}) {
|
|
|
1235
1235
|
a.size === 0 && o.delete(n);
|
|
1236
1236
|
return o;
|
|
1237
1237
|
}
|
|
1238
|
-
function
|
|
1238
|
+
function ml(r) {
|
|
1239
1239
|
const e = {};
|
|
1240
1240
|
for (const t of r)
|
|
1241
1241
|
if (t.metadata)
|
|
@@ -1243,7 +1243,7 @@ function fl(r) {
|
|
|
1243
1243
|
e[i] = i;
|
|
1244
1244
|
return e;
|
|
1245
1245
|
}
|
|
1246
|
-
function
|
|
1246
|
+
function gl(r, e) {
|
|
1247
1247
|
const t = [], i = [];
|
|
1248
1248
|
return Object.keys(e).forEach((s) => {
|
|
1249
1249
|
const o = r.get(s);
|
|
@@ -1265,7 +1265,7 @@ function ml(r, e) {
|
|
|
1265
1265
|
function or(r, e) {
|
|
1266
1266
|
return r.length === e.length && r.every((i, s) => i === e[s]) ? e : r;
|
|
1267
1267
|
}
|
|
1268
|
-
function
|
|
1268
|
+
function bl(r, e, t) {
|
|
1269
1269
|
if (e.length === 0)
|
|
1270
1270
|
return t.length;
|
|
1271
1271
|
if (r < e.length) {
|
|
@@ -1278,7 +1278,7 @@ function gl(r, e, t) {
|
|
|
1278
1278
|
);
|
|
1279
1279
|
return s === -1 ? t.length : s + 1;
|
|
1280
1280
|
}
|
|
1281
|
-
function
|
|
1281
|
+
function wl(r, e, t) {
|
|
1282
1282
|
const i = new Set(e.map((l) => l.id)), s = /* @__PURE__ */ new Map();
|
|
1283
1283
|
let o = [];
|
|
1284
1284
|
for (const l of t)
|
|
@@ -1306,14 +1306,14 @@ function rr(r, e, t, i) {
|
|
|
1306
1306
|
state: l ? At.All : At.Partial
|
|
1307
1307
|
};
|
|
1308
1308
|
}
|
|
1309
|
-
var
|
|
1310
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
1309
|
+
var vl = Object.defineProperty, yl = Object.getOwnPropertyDescriptor, we = (r, e, t, i) => {
|
|
1310
|
+
for (var s = i > 1 ? void 0 : i ? yl(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
1311
1311
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
1312
|
-
return i && s &&
|
|
1312
|
+
return i && s && vl(e, t, s), s;
|
|
1313
1313
|
};
|
|
1314
1314
|
let le = class extends Ie {
|
|
1315
1315
|
constructor() {
|
|
1316
|
-
super(...arguments), this.localize = new it(this), this.filters = new
|
|
1316
|
+
super(...arguments), this.localize = new it(this), this.filters = new dl(), this.firstColumnData = {
|
|
1317
1317
|
id: "",
|
|
1318
1318
|
items: [],
|
|
1319
1319
|
sort: !0,
|
|
@@ -1340,7 +1340,7 @@ let le = class extends Ie {
|
|
|
1340
1340
|
* becomes a facet headed by the raw key — attaching `metadata` is then enough to get a filter.
|
|
1341
1341
|
*/
|
|
1342
1342
|
get effectiveLabelMap() {
|
|
1343
|
-
return Object.keys(this.labelMap).length > 0 ? this.labelMap :
|
|
1343
|
+
return Object.keys(this.labelMap).length > 0 ? this.labelMap : ml(Object.values(this.itemMap));
|
|
1344
1344
|
}
|
|
1345
1345
|
/**
|
|
1346
1346
|
* Chips handed to `cx-faceted-filter` for filters it does not own itself — currently just the
|
|
@@ -1380,7 +1380,7 @@ let le = class extends Ie {
|
|
|
1380
1380
|
isValidChanges(r, e, t) {
|
|
1381
1381
|
if (this.addLimit || this.addLimit === 0) {
|
|
1382
1382
|
let i = [];
|
|
1383
|
-
if (t === "add" ? i = r : t === "remove" && (i =
|
|
1383
|
+
if (t === "add" ? i = r : t === "remove" && (i = Xa(
|
|
1384
1384
|
er(e, r),
|
|
1385
1385
|
this.secondColumnItemIds
|
|
1386
1386
|
)), er(i, this.initialSecondColumnItems).length > this.addLimit)
|
|
@@ -1399,7 +1399,7 @@ let le = class extends Ie {
|
|
|
1399
1399
|
let d = l.items.map((p) => p.id);
|
|
1400
1400
|
if (d = ln(
|
|
1401
1401
|
d,
|
|
1402
|
-
|
|
1402
|
+
bl(s ?? 0, a, l.items),
|
|
1403
1403
|
c
|
|
1404
1404
|
), e === this.firstColumnData.id)
|
|
1405
1405
|
this.firstColumnData = {
|
|
@@ -1450,7 +1450,7 @@ let le = class extends Ie {
|
|
|
1450
1450
|
});
|
|
1451
1451
|
}
|
|
1452
1452
|
} else {
|
|
1453
|
-
const l = n ? this.firstColumnData : this.secondColumnData, h =
|
|
1453
|
+
const l = n ? this.firstColumnData : this.secondColumnData, h = wl(
|
|
1454
1454
|
i,
|
|
1455
1455
|
a,
|
|
1456
1456
|
l.items
|
|
@@ -1602,8 +1602,8 @@ let le = class extends Ie {
|
|
|
1602
1602
|
this.metadataFacetDetails = [], this.metadataFacets = [];
|
|
1603
1603
|
return;
|
|
1604
1604
|
}
|
|
1605
|
-
const { availableFacets: e, facets: t } =
|
|
1606
|
-
|
|
1605
|
+
const { availableFacets: e, facets: t } = gl(
|
|
1606
|
+
fl(
|
|
1607
1607
|
this.filters.facetCountingPool(Object.values(this.itemMap)),
|
|
1608
1608
|
r,
|
|
1609
1609
|
this.selectedMetadataFacets
|
|
@@ -1665,14 +1665,14 @@ let le = class extends Ie {
|
|
|
1665
1665
|
(s, o) => (s[o.id] = o, s),
|
|
1666
1666
|
{}
|
|
1667
1667
|
);
|
|
1668
|
-
const i =
|
|
1668
|
+
const i = qa(
|
|
1669
1669
|
this.firstColumnData.items,
|
|
1670
1670
|
this.secondColumnData.items,
|
|
1671
1671
|
"id"
|
|
1672
1672
|
);
|
|
1673
1673
|
i.length > 0 && (this.firstColumnData = {
|
|
1674
1674
|
...this.firstColumnData,
|
|
1675
|
-
items:
|
|
1675
|
+
items: Ja(this.firstColumnData.items, i, "id")
|
|
1676
1676
|
}, e = !0), this.selectedItems = {
|
|
1677
1677
|
[this.firstColumnData.id]: [],
|
|
1678
1678
|
[this.secondColumnData.id]: []
|
|
@@ -1712,7 +1712,7 @@ let le = class extends Ie {
|
|
|
1712
1712
|
return E`<div class="multi-select">${this.renderFilterToolbar()}<div class="multi-select__boards" @cx-board-change=${this.handleBoardChange} @cx-board-selected-change=${this.handleSelectedChange}><cx-board part="board-1" title=${this.firstColumnData.title} name=${this.firstColumnData.id} all .data=${this.board1Data} ?sort=${this.firstColumnData.sort ?? !1} .ignoreTypes=${this.ignoreTypes} hidden-selection=${i.state} hidden-selected-count=${i.count} ?allow-search=${t.has("1")} divider-color=${Z(this.firstColumnData.dividerColor)}></cx-board><div class="multi-select__control"><cx-tooltip part="tooltip" content=${this.localize.term("moveSelectedItemRight")} hoist ?disabled=${!r.length}><cx-icon-button class="multi-select__control__move-button" name="arrow_forward_ios" label=${this.localize.term("moveSelectedItemRight")} @click=${this.handleMoveItemsRight} ?disabled=${!r.length}></cx-icon-button></cx-tooltip><cx-tooltip part="tooltip" content=${this.localize.term("moveSelectedItemLeft")} hoist ?disabled=${!e.length}><cx-icon-button class="multi-select__control__move-button" name="arrow_back_ios" label=${this.localize.term("moveSelectedItemLeft")} @click=${this.handleMoveItemsLeft} ?disabled=${!e.length}></cx-icon-button></cx-tooltip></div><cx-board part="board-2" title=${this.secondColumnData.title} name=${this.secondColumnData.id} all .data=${this.board2Data} ?configurable=${this.configurable} ?sort=${this.secondColumnData.sort ?? !0} hidden-selection=${s.state} hidden-selected-count=${s.count} ?allow-search=${t.has("2")} divider-color=${Z(this.secondColumnData.dividerColor)}></cx-board></div></div>`;
|
|
1713
1713
|
}
|
|
1714
1714
|
};
|
|
1715
|
-
le.styles = [Ge,
|
|
1715
|
+
le.styles = [Ge, ul];
|
|
1716
1716
|
le.dependencies = {
|
|
1717
1717
|
"cx-board": N,
|
|
1718
1718
|
"cx-faceted-filter": ae,
|
|
@@ -1785,11 +1785,11 @@ le = we([
|
|
|
1785
1785
|
He("cx-multi-select")
|
|
1786
1786
|
], le);
|
|
1787
1787
|
var Ut = /* @__PURE__ */ ((r) => (r.Available = "available", r.Visible = "visible", r))(Ut || {});
|
|
1788
|
-
const
|
|
1789
|
-
var
|
|
1790
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
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, Vt = (r, e, t, i) => {
|
|
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
|
-
return i && s &&
|
|
1792
|
+
return i && s && xl(e, t, s), s;
|
|
1793
1793
|
};
|
|
1794
1794
|
let et = class extends Ie {
|
|
1795
1795
|
constructor() {
|
|
@@ -1855,7 +1855,7 @@ let et = class extends Ie {
|
|
|
1855
1855
|
)}<div slot="footer" class="table-column-editor__footer"><cx-button @click=${this.handleCancel}>${this.localize.term("cancel")}</cx-button><cx-button variant="primary" ?disabled=${!this.canApply} @click=${this.handleApply}>${this.localize.term("apply")}</cx-button></div></cx-dialog>`;
|
|
1856
1856
|
}
|
|
1857
1857
|
};
|
|
1858
|
-
et.styles = [Ge,
|
|
1858
|
+
et.styles = [Ge, Cl];
|
|
1859
1859
|
et.dependencies = {
|
|
1860
1860
|
"cx-button": Et,
|
|
1861
1861
|
"cx-dialog": jn,
|
|
@@ -1885,11 +1885,11 @@ Vt([
|
|
|
1885
1885
|
et = Vt([
|
|
1886
1886
|
He("cx-table-column-editor")
|
|
1887
1887
|
], et);
|
|
1888
|
-
const
|
|
1889
|
-
var
|
|
1890
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
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}`;
|
|
1889
|
+
var Sl = Object.defineProperty, Dl = Object.getOwnPropertyDescriptor, vn = (r, e, t, i) => {
|
|
1890
|
+
for (var s = i > 1 ? void 0 : i ? Dl(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
1891
1891
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
1892
|
-
return i && s &&
|
|
1892
|
+
return i && s && Sl(e, t, s), s;
|
|
1893
1893
|
};
|
|
1894
1894
|
let Di = class extends Ie {
|
|
1895
1895
|
constructor() {
|
|
@@ -1899,18 +1899,18 @@ let Di = class extends Ie {
|
|
|
1899
1899
|
return E`<slot name="pagination"></slot>`;
|
|
1900
1900
|
}
|
|
1901
1901
|
};
|
|
1902
|
-
Di.styles = [Ge,
|
|
1902
|
+
Di.styles = [Ge, Rl];
|
|
1903
1903
|
vn([
|
|
1904
1904
|
f({ attribute: "pagination-placement", reflect: !0, type: String })
|
|
1905
1905
|
], Di.prototype, "paginationPlacement", 2);
|
|
1906
1906
|
Di = vn([
|
|
1907
1907
|
He("cx-table-footer")
|
|
1908
1908
|
], Di);
|
|
1909
|
-
const
|
|
1910
|
-
var
|
|
1911
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
1909
|
+
const Ml = Q`:host{display:contents}cx-popup::part(popup){z-index:var(--cx-z-index-dropdown)}`;
|
|
1910
|
+
var kl = Object.defineProperty, Tl = Object.getOwnPropertyDescriptor, Bt = (r, e, t, i) => {
|
|
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 && kl(e, t, s), s;
|
|
1914
1914
|
};
|
|
1915
1915
|
let tt = class extends Ie {
|
|
1916
1916
|
constructor() {
|
|
@@ -1956,7 +1956,7 @@ 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, Ml];
|
|
1960
1960
|
tt.dependencies = {
|
|
1961
1961
|
"cx-icon": lt,
|
|
1962
1962
|
"cx-menu": ci,
|
|
@@ -1987,11 +1987,11 @@ Bt([
|
|
|
1987
1987
|
tt = Bt([
|
|
1988
1988
|
He("cx-table-header-menu")
|
|
1989
1989
|
], tt);
|
|
1990
|
-
const
|
|
1991
|
-
var
|
|
1992
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
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, Jt = (r, e, t, i) => {
|
|
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
|
-
return i && s &&
|
|
1994
|
+
return i && s && Ll(e, t, s), s;
|
|
1995
1995
|
};
|
|
1996
1996
|
let gt = class extends Ie {
|
|
1997
1997
|
constructor() {
|
|
@@ -2081,10 +2081,10 @@ Jt([
|
|
|
2081
2081
|
gt = Jt([
|
|
2082
2082
|
He("cx-table-row-actions-dropdown")
|
|
2083
2083
|
], gt);
|
|
2084
|
-
var
|
|
2085
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
2084
|
+
var _l = Object.defineProperty, Ol = Object.getOwnPropertyDescriptor, ts = (r, e, t, i) => {
|
|
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
|
-
return i && s &&
|
|
2087
|
+
return i && s && _l(e, t, s), s;
|
|
2088
2088
|
};
|
|
2089
2089
|
let It = class extends Ie {
|
|
2090
2090
|
constructor() {
|
|
@@ -2123,7 +2123,7 @@ let It = class extends Ie {
|
|
|
2123
2123
|
)}</cx-space>`;
|
|
2124
2124
|
}
|
|
2125
2125
|
};
|
|
2126
|
-
It.styles = [Ge,
|
|
2126
|
+
It.styles = [Ge, Fl];
|
|
2127
2127
|
It.dependencies = {
|
|
2128
2128
|
"cx-button": Et,
|
|
2129
2129
|
"cx-icon": lt,
|
|
@@ -2147,10 +2147,10 @@ ts([
|
|
|
2147
2147
|
It = ts([
|
|
2148
2148
|
He("cx-table-row-actions")
|
|
2149
2149
|
], It);
|
|
2150
|
-
var
|
|
2151
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
2150
|
+
var Al = Object.defineProperty, Pl = Object.getOwnPropertyDescriptor, Fi = (r, e, t, i) => {
|
|
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);
|
|
2153
|
-
return i && s &&
|
|
2153
|
+
return i && s && Al(e, t, s), s;
|
|
2154
2154
|
};
|
|
2155
2155
|
let xt = class extends Ie {
|
|
2156
2156
|
constructor() {
|
|
@@ -2251,10 +2251,10 @@ Fi([
|
|
|
2251
2251
|
xt = Fi([
|
|
2252
2252
|
He("cx-table-dropdown-filter")
|
|
2253
2253
|
], xt);
|
|
2254
|
-
var
|
|
2255
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
2254
|
+
var Il = Object.defineProperty, Hl = Object.getOwnPropertyDescriptor, is = (r, e, t, i) => {
|
|
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
|
-
return i && s &&
|
|
2257
|
+
return i && s && Il(e, t, s), s;
|
|
2258
2258
|
};
|
|
2259
2259
|
let Ht = class extends Ie {
|
|
2260
2260
|
constructor() {
|
|
@@ -2332,10 +2332,10 @@ is([
|
|
|
2332
2332
|
Ht = is([
|
|
2333
2333
|
He("cx-table-group-by-dropdown")
|
|
2334
2334
|
], Ht);
|
|
2335
|
-
var
|
|
2336
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
2335
|
+
var Nl = Object.defineProperty, Vl = Object.getOwnPropertyDescriptor, bt = (r, e, t, i) => {
|
|
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);
|
|
2338
|
-
return i && s &&
|
|
2338
|
+
return i && s && Nl(e, t, s), s;
|
|
2339
2339
|
};
|
|
2340
2340
|
let je = class extends Ie {
|
|
2341
2341
|
constructor() {
|
|
@@ -2443,11 +2443,11 @@ bt([
|
|
|
2443
2443
|
je = bt([
|
|
2444
2444
|
He("cx-table-saved-search-dropdown")
|
|
2445
2445
|
], je);
|
|
2446
|
-
const
|
|
2447
|
-
var
|
|
2448
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
2446
|
+
const Bl = Q`:host{container-type:inline-size}.header{align-items:center;gap:var(--cx-spacing-small);flex-wrap:wrap;display:none}.header--has-label,.header--has-pagination{display:flex}:host([pagination]) .header{min-height:var(--cx-input-height-medium);display:flex}:host([pagination][no-header-row-reserve][pagination-placement^=bottom]) .header:not(.header--has-label):not(.header--has-pagination){display:none}.header__label{flex:auto;align-items:center;min-width:0;display:flex}.header:not(.header--has-label) .header__label{display:none}.header:not(.header--has-label){justify-content:flex-end}.header__pagination{flex-shrink:0;align-items:center;display:flex}:host([pagination-placement=top-start]) .header__label,:host([pagination-placement=top-center]) .header__label{flex-basis:100%}:host([pagination-placement=top-start]) .header:not(.header--has-label){justify-content:flex-start}:host([pagination-placement=top-center]) .header:not(.header--has-label){justify-content:center}@container (width>=480px){:host([pagination-placement=top-center]) .header.header--has-label,:host([pagination-placement=top-center]) .header.header--has-pagination{grid-template-columns:1fr auto 1fr;display:grid}:host([pagination-placement=top-center]) .header__pagination{grid-column:2}}.header-actions{flex:1}.search{flex:1;max-width:500px}.header-actions__left{flex:1}.search__input{max-width:500px}.search__input:focus-within{border-radius:var(--cx-input-border-radius-medium);--cx-input-border-color-focus:var(--search-border-color-focus,var(--cx-color-primary-600));outline:var(--search-border-width-focus,0) solid var(--cx-input-border-color-focus)}.search__icon{--font-size:var(--cx-font-size-medium)}.search__icon--search{margin-inline-start:var(--cx-spacing-2x-small)}.search__icon--advanced-search{margin-inline-end:var(--cx-spacing-2x-small)}.header-actions__dropdown::part(trigger){line-height:1}.table-dropdown-filter__trigger{--cx-button-text-transform:none}.table-dropdown-filter__trigger--icon-only{--padding:0 var(--cx-spacing-x-small)}.table-dropdown-filter__trigger--icon-alone::part(base){gap:0}.table-dropdown-filter__icon{--font-size:var(--dropdown-filter-icon-size,var(--cx-font-size-large));color:var(--dropdown-filter-icon-color,currentColor)}.header-actions__group-by{--cx-button-text-transform:none}.header-actions__group-by .group-by-option--selected{--label-color:var(--cx-color-primary-600)}.header-actions__group-by .group-by-option{--checked-icon-size:20px;--checked-icon-color:var(--cx-color-primary-600)}.toolbar__select-all-checkbox{flex-shrink:0}.header-actions__saved-search{--cx-button-text-transform:none;--checked-icon-display:none}.header-actions__saved-search__load-more{width:100%;padding:0 var(--cx-spacing-x-small)}`;
|
|
2447
|
+
var $l = Object.defineProperty, Wl = Object.getOwnPropertyDescriptor, oe = (r, e, t, i) => {
|
|
2448
|
+
for (var s = i > 1 ? void 0 : i ? Wl(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
2449
2449
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
2450
|
-
return i && s &&
|
|
2450
|
+
return i && s && $l(e, t, s), s;
|
|
2451
2451
|
};
|
|
2452
2452
|
let ie = class extends Ie {
|
|
2453
2453
|
constructor() {
|
|
@@ -2592,7 +2592,7 @@ let ie = class extends Ie {
|
|
|
2592
2592
|
${K(this.hasHeaderActions, () => this.renderHeaderActions())}</cx-space>`;
|
|
2593
2593
|
}
|
|
2594
2594
|
};
|
|
2595
|
-
ie.styles = [Ge,
|
|
2595
|
+
ie.styles = [Ge, Bl];
|
|
2596
2596
|
ie.dependencies = {
|
|
2597
2597
|
"cx-button": Et,
|
|
2598
2598
|
"cx-checkbox": fn,
|
|
@@ -2872,7 +2872,7 @@ class te {
|
|
|
2872
2872
|
}
|
|
2873
2873
|
}
|
|
2874
2874
|
const nr = process.env.NODE_ENV === "development";
|
|
2875
|
-
let
|
|
2875
|
+
let jl = class yn extends Le {
|
|
2876
2876
|
constructor(e, t, i = null) {
|
|
2877
2877
|
super(e), this.reversedX = !1, this.childPopup = null, this.blurable = !1, this.blurCallback = null, this.blurEventsBound = !1, this.renderedCallback = null, this.visible = !1, this.hideable = !0, this.destroyed = !1, this.element = t, this.container = this._lookupContainer(), this.parent = i, this.element.classList.add("tabulator-popup-container"), this.blurEvent = this.hide.bind(this, !1), this.escEvent = this._escapeCheck.bind(this), this.destroyBinding = this.tableDestroyed.bind(this);
|
|
2878
2878
|
}
|
|
@@ -2998,7 +2998,7 @@ let Wl = class yn extends Le {
|
|
|
2998
2998
|
return this.childPopup && this.childPopup.hide(), this.childPopup = new yn(this.table, e, this), this.childPopup;
|
|
2999
2999
|
}
|
|
3000
3000
|
};
|
|
3001
|
-
const
|
|
3001
|
+
const Gl = process.env.NODE_ENV === "development";
|
|
3002
3002
|
class I extends Le {
|
|
3003
3003
|
constructor(e) {
|
|
3004
3004
|
super(e);
|
|
@@ -3019,7 +3019,7 @@ class I extends Le {
|
|
|
3019
3019
|
*/
|
|
3020
3020
|
registerTableFunction(e, t) {
|
|
3021
3021
|
const i = this.table;
|
|
3022
|
-
i[e] === void 0 || i[e] === null ? i[e] = (...s) => (this.table.initGuard?.(e), t.apply(this, s)) :
|
|
3022
|
+
i[e] === void 0 || i[e] === null ? i[e] = (...s) => (this.table.initGuard?.(e), t.apply(this, s)) : Gl && console.warn("Unable to bind table function, name already in use:", e);
|
|
3023
3023
|
}
|
|
3024
3024
|
registerComponentFunction(e, t, i) {
|
|
3025
3025
|
return this.table.componentFunctionBinder.bind(e, t, i);
|
|
@@ -3064,7 +3064,7 @@ class I extends Le {
|
|
|
3064
3064
|
* Popups Management
|
|
3065
3065
|
*/
|
|
3066
3066
|
popup(e, t) {
|
|
3067
|
-
return new
|
|
3067
|
+
return new jl(this.table, e, t);
|
|
3068
3068
|
}
|
|
3069
3069
|
/**
|
|
3070
3070
|
* Alert Management
|
|
@@ -3083,7 +3083,7 @@ const ko = class ko extends I {
|
|
|
3083
3083
|
};
|
|
3084
3084
|
ko.moduleName = "accessibility";
|
|
3085
3085
|
let vs = ko;
|
|
3086
|
-
const
|
|
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");
|
|
3089
3089
|
}
|
|
@@ -3100,7 +3100,7 @@ const Gl = "tabulator-clickable-cell", Ul = 'button, [role="button"], cx-button,
|
|
|
3100
3100
|
if (!e.element)
|
|
3101
3101
|
return;
|
|
3102
3102
|
const t = e.element, i = !!e.column.definition.clickable, s = this.cellKeyHandlers.get(t);
|
|
3103
|
-
if (s && (t.removeEventListener("keydown", s), this.cellKeyHandlers.delete(t)), t.classList.toggle(
|
|
3103
|
+
if (s && (t.removeEventListener("keydown", s), this.cellKeyHandlers.delete(t)), t.classList.toggle(Ul, i), !i) {
|
|
3104
3104
|
t.removeAttribute("tabindex"), t.removeAttribute("role");
|
|
3105
3105
|
return;
|
|
3106
3106
|
}
|
|
@@ -3133,7 +3133,7 @@ const Gl = "tabulator-clickable-cell", Ul = 'button, [role="button"], cx-button,
|
|
|
3133
3133
|
s = n;
|
|
3134
3134
|
break;
|
|
3135
3135
|
}
|
|
3136
|
-
if (n instanceof Element && n.matches(
|
|
3136
|
+
if (n instanceof Element && n.matches(Kl))
|
|
3137
3137
|
return;
|
|
3138
3138
|
}
|
|
3139
3139
|
if (e.ctrlKey || e.metaKey) {
|
|
@@ -3176,7 +3176,7 @@ const Gl = "tabulator-clickable-cell", Ul = 'button, [role="button"], cx-button,
|
|
|
3176
3176
|
return i || (this.resolveAction(e, t)?.name ?? null);
|
|
3177
3177
|
}
|
|
3178
3178
|
resolveAction(e, t) {
|
|
3179
|
-
const i = this.table.options.hoverMenuField ??
|
|
3179
|
+
const i = this.table.options.hoverMenuField ?? ql, s = e.column.definition.hoverMenu;
|
|
3180
3180
|
if (s)
|
|
3181
3181
|
return this.pickAction(s, t);
|
|
3182
3182
|
const o = e.row.getData(), n = Object.hasOwn(
|
|
@@ -3192,7 +3192,7 @@ const Gl = "tabulator-clickable-cell", Ul = 'button, [role="button"], cx-button,
|
|
|
3192
3192
|
};
|
|
3193
3193
|
To.moduleName = "clickableCell";
|
|
3194
3194
|
let ys = To;
|
|
3195
|
-
const
|
|
3195
|
+
const Xl = E`<cx-table-row-actions></cx-table-row-actions>`, ti = class ti extends I {
|
|
3196
3196
|
constructor(e) {
|
|
3197
3197
|
super(e), this.registerTableOption("hoverMenu", !1), this.registerTableOption("hoverMenuField", "hoverMenu"), this.registerColumnOption("hoverMenu");
|
|
3198
3198
|
}
|
|
@@ -3242,7 +3242,7 @@ const ql = E`<cx-table-row-actions></cx-table-row-actions>`, ti = class ti exten
|
|
|
3242
3242
|
i && i.classList.remove("tabulator-hover-menu--active");
|
|
3243
3243
|
}
|
|
3244
3244
|
createCxTableRowActions() {
|
|
3245
|
-
const e = W(
|
|
3245
|
+
const e = W(Xl);
|
|
3246
3246
|
return e.classList.add("tabulator-hover-menu"), e;
|
|
3247
3247
|
}
|
|
3248
3248
|
layoutRow(e) {
|
|
@@ -3282,12 +3282,12 @@ const ql = E`<cx-table-row-actions></cx-table-row-actions>`, ti = class ti exten
|
|
|
3282
3282
|
};
|
|
3283
3283
|
ti.moduleName = "hoverMenu", ti.placementDataAttribute = "hoverMenuPlacement";
|
|
3284
3284
|
let Cs = ti;
|
|
3285
|
-
const
|
|
3285
|
+
const Jl = {
|
|
3286
3286
|
rownum: function(r, e, t, i, s, o) {
|
|
3287
3287
|
const n = o?.getPosition();
|
|
3288
3288
|
return typeof n == "number" ? n : 0;
|
|
3289
3289
|
}
|
|
3290
|
-
},
|
|
3290
|
+
}, Yl = process.env.NODE_ENV === "development", ii = class ii extends I {
|
|
3291
3291
|
// list of accessor types
|
|
3292
3292
|
constructor(e) {
|
|
3293
3293
|
super(e), this.allowedTypes = [
|
|
@@ -3325,7 +3325,7 @@ const Xl = {
|
|
|
3325
3325
|
let t = !1;
|
|
3326
3326
|
switch (typeof e) {
|
|
3327
3327
|
case "string":
|
|
3328
|
-
ii.accessors[e] ? t = ii.accessors[e] :
|
|
3328
|
+
ii.accessors[e] ? t = ii.accessors[e] : Yl && console.warn(
|
|
3329
3329
|
"Accessor Error - No such accessor found, ignoring: ",
|
|
3330
3330
|
e
|
|
3331
3331
|
);
|
|
@@ -3362,9 +3362,9 @@ const Xl = {
|
|
|
3362
3362
|
}), o;
|
|
3363
3363
|
}
|
|
3364
3364
|
};
|
|
3365
|
-
ii.moduleName = "accessor", ii.accessors =
|
|
3365
|
+
ii.moduleName = "accessor", ii.accessors = Jl;
|
|
3366
3366
|
let xs = ii;
|
|
3367
|
-
const
|
|
3367
|
+
const Zl = {
|
|
3368
3368
|
method: "GET"
|
|
3369
3369
|
};
|
|
3370
3370
|
function Cn(r) {
|
|
@@ -3395,7 +3395,7 @@ function Es(r, e = "") {
|
|
|
3395
3395
|
t.push({ key: e, value: r });
|
|
3396
3396
|
return t;
|
|
3397
3397
|
}
|
|
3398
|
-
const
|
|
3398
|
+
const Ql = {
|
|
3399
3399
|
form: {
|
|
3400
3400
|
body: function(r, e, t) {
|
|
3401
3401
|
const i = Es(t), s = new FormData();
|
|
@@ -3440,7 +3440,7 @@ function Rs(r, e = "") {
|
|
|
3440
3440
|
t.push({ key: e, value: r });
|
|
3441
3441
|
return t;
|
|
3442
3442
|
}
|
|
3443
|
-
function
|
|
3443
|
+
function eh(r) {
|
|
3444
3444
|
const e = Rs(r), t = [];
|
|
3445
3445
|
return e.forEach((i) => {
|
|
3446
3446
|
t.push(
|
|
@@ -3451,7 +3451,7 @@ function Ql(r) {
|
|
|
3451
3451
|
const xn = function(r, e, t) {
|
|
3452
3452
|
if (r && t && Object.keys(t).length && (!e.method || e.method.toLowerCase() === "get")) {
|
|
3453
3453
|
e.method = "get";
|
|
3454
|
-
const [i, s] = r.split("#", 2), o =
|
|
3454
|
+
const [i, s] = r.split("#", 2), o = eh(t);
|
|
3455
3455
|
r = i + (i.includes("?") ? "&" : "?") + o + (s ? "#" + s : "");
|
|
3456
3456
|
}
|
|
3457
3457
|
return r;
|
|
@@ -3512,7 +3512,7 @@ const xn = function(r, e, t) {
|
|
|
3512
3512
|
)), s)) : Promise.reject();
|
|
3513
3513
|
}
|
|
3514
3514
|
};
|
|
3515
|
-
rt.moduleName = "ajax", rt.defaultConfig =
|
|
3515
|
+
rt.moduleName = "ajax", rt.defaultConfig = Zl, rt.defaultURLGenerator = xn, rt.contentTypeFormatters = Ql, rt.defaultLoaderPromise = function(e, t, i) {
|
|
3516
3516
|
let s;
|
|
3517
3517
|
return new Promise((o, n) => {
|
|
3518
3518
|
if (!this.urlGenerator) {
|
|
@@ -3567,10 +3567,10 @@ function yo(r) {
|
|
|
3567
3567
|
function En(r) {
|
|
3568
3568
|
return JSON.stringify(r);
|
|
3569
3569
|
}
|
|
3570
|
-
function
|
|
3570
|
+
function th(r, e) {
|
|
3571
3571
|
return r?.[e];
|
|
3572
3572
|
}
|
|
3573
|
-
function
|
|
3573
|
+
function ih(r) {
|
|
3574
3574
|
const e = yo(r);
|
|
3575
3575
|
return {
|
|
3576
3576
|
path: e,
|
|
@@ -3644,7 +3644,7 @@ class Rn {
|
|
|
3644
3644
|
return this._group.groupManager.table;
|
|
3645
3645
|
}
|
|
3646
3646
|
}
|
|
3647
|
-
const
|
|
3647
|
+
const sh = process.env.NODE_ENV === "development";
|
|
3648
3648
|
class Ds {
|
|
3649
3649
|
constructor(e) {
|
|
3650
3650
|
return this._column = e, this.type = "ColumnComponent", new Proxy(this, {
|
|
@@ -3724,7 +3724,7 @@ class Ds {
|
|
|
3724
3724
|
this._column,
|
|
3725
3725
|
i,
|
|
3726
3726
|
t
|
|
3727
|
-
) :
|
|
3727
|
+
) : sh && console.warn(`Move Error - No matching column found: ${e}`);
|
|
3728
3728
|
}
|
|
3729
3729
|
getNextColumn() {
|
|
3730
3730
|
const e = this._column.nextColumn();
|
|
@@ -3745,7 +3745,7 @@ class Ds {
|
|
|
3745
3745
|
return e === !0 ? t = await this._column.reinitializeWidth(!0) : t = this._column.setWidth(e), this._column.table.columnManager?.rerenderColumns(!0), t;
|
|
3746
3746
|
}
|
|
3747
3747
|
}
|
|
3748
|
-
const
|
|
3748
|
+
const oh = process.env.NODE_ENV === "development";
|
|
3749
3749
|
class ss 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) {
|
|
@@ -3847,11 +3847,11 @@ class ss extends Le {
|
|
|
3847
3847
|
}
|
|
3848
3848
|
s();
|
|
3849
3849
|
} else
|
|
3850
|
-
|
|
3850
|
+
oh && console.warn("Scroll Error - Row not visible"), o("Scroll Error - Row not visible");
|
|
3851
3851
|
});
|
|
3852
3852
|
}
|
|
3853
3853
|
}
|
|
3854
|
-
const
|
|
3854
|
+
const rh = {
|
|
3855
3855
|
insert: function(r) {
|
|
3856
3856
|
return this.table.addData(r);
|
|
3857
3857
|
},
|
|
@@ -3861,7 +3861,7 @@ const oh = {
|
|
|
3861
3861
|
update: function(r) {
|
|
3862
3862
|
return this.table.updateOrAddData(r);
|
|
3863
3863
|
}
|
|
3864
|
-
},
|
|
3864
|
+
}, nh = {
|
|
3865
3865
|
table: function(r) {
|
|
3866
3866
|
const e = [];
|
|
3867
3867
|
let t = !0;
|
|
@@ -3883,16 +3883,16 @@ const oh = {
|
|
|
3883
3883
|
}), o.push(l);
|
|
3884
3884
|
}), o) : !1;
|
|
3885
3885
|
}
|
|
3886
|
-
},
|
|
3886
|
+
}, ah = {
|
|
3887
3887
|
copyToClipboard: function(r) {
|
|
3888
3888
|
this.table.modules.edit?.currentCell || this.table.modExists("clipboard", !0) && (r.preventDefault(), this.table.modules.clipboard?.copy(void 0, !0));
|
|
3889
3889
|
}
|
|
3890
|
-
}, ah = {
|
|
3891
|
-
copyToClipboard: ["ctrl + 67", "meta + 67"]
|
|
3892
3890
|
}, lh = {
|
|
3891
|
+
copyToClipboard: ["ctrl + 67", "meta + 67"]
|
|
3892
|
+
}, hh = {
|
|
3893
3893
|
keybindings: {
|
|
3894
|
-
actions:
|
|
3895
|
-
bindings:
|
|
3894
|
+
actions: ah,
|
|
3895
|
+
bindings: lh
|
|
3896
3896
|
}
|
|
3897
3897
|
}, lr = process.env.NODE_ENV === "development";
|
|
3898
3898
|
function hr(r) {
|
|
@@ -4010,7 +4010,7 @@ const Tt = class Tt extends I {
|
|
|
4010
4010
|
return i?.getData && (t = i.getData("text/plain")), t;
|
|
4011
4011
|
}
|
|
4012
4012
|
};
|
|
4013
|
-
Tt.moduleName = "clipboard", Tt.moduleExtensions =
|
|
4013
|
+
Tt.moduleName = "clipboard", Tt.moduleExtensions = hh, Tt.pasteActions = rh, Tt.pasteParsers = nh;
|
|
4014
4014
|
let Ms = Tt;
|
|
4015
4015
|
class Co {
|
|
4016
4016
|
constructor(e) {
|
|
@@ -4076,7 +4076,7 @@ class Co {
|
|
|
4076
4076
|
return this._cell;
|
|
4077
4077
|
}
|
|
4078
4078
|
}
|
|
4079
|
-
const
|
|
4079
|
+
const ch = E`<div class="tabulator-cell"></div>`, dh = process.env.NODE_ENV === "development";
|
|
4080
4080
|
class Li extends Le {
|
|
4081
4081
|
constructor(e, t) {
|
|
4082
4082
|
super(e.table), this.table = e.table, this.column = e, this.row = t, this.element = null, this.contentElement = null, this.value = null, this.oldValue = null, this.modules = {}, this.height = null, this.width = null, this.minWidth = null, this.component = null, this.loaded = !1, this.hoverMenuElement = null, this.deleted = !1, this.build();
|
|
@@ -4092,7 +4092,7 @@ class Li extends Le {
|
|
|
4092
4092
|
this.generateElement(), this.setWidth(), this._configureCell();
|
|
4093
4093
|
}
|
|
4094
4094
|
generateElement() {
|
|
4095
|
-
if (this.element = W(
|
|
4095
|
+
if (this.element = W(ch), this.element.setAttribute(
|
|
4096
4096
|
"role",
|
|
4097
4097
|
this.table.options.cellRole ?? "gridcell"
|
|
4098
4098
|
), this.column.modules.format?.cellClass) {
|
|
@@ -4159,7 +4159,7 @@ class Li extends Le {
|
|
|
4159
4159
|
this.contentElement.firstChild.remove();
|
|
4160
4160
|
this.contentElement.appendChild(e);
|
|
4161
4161
|
} else
|
|
4162
|
-
this.contentElement.innerHTML = "", e != null &&
|
|
4162
|
+
this.contentElement.innerHTML = "", e != null && dh && console.warn(
|
|
4163
4163
|
"Format Error - Formatter has returned a type of object, the only valid formatter object return is an instance of Node, the formatter returned:",
|
|
4164
4164
|
e
|
|
4165
4165
|
);
|
|
@@ -5070,7 +5070,7 @@ class Fe extends Le {
|
|
|
5070
5070
|
return this.component || (this.component = new xo(this)), this.component;
|
|
5071
5071
|
}
|
|
5072
5072
|
}
|
|
5073
|
-
class
|
|
5073
|
+
class uh {
|
|
5074
5074
|
constructor(e) {
|
|
5075
5075
|
return this._row = e, new Proxy(this, {
|
|
5076
5076
|
get: (t, i) => typeof i != "string" || typeof t[i] < "u" ? t[i] : t._row.table.componentFunctionBinder.handle(
|
|
@@ -5103,7 +5103,7 @@ class dh {
|
|
|
5103
5103
|
return this._row;
|
|
5104
5104
|
}
|
|
5105
5105
|
}
|
|
5106
|
-
const
|
|
5106
|
+
const ph = {
|
|
5107
5107
|
avg: function(r, e, t) {
|
|
5108
5108
|
let i = 0;
|
|
5109
5109
|
const s = typeof t == "object" && "precision" in t ? t.precision : 2;
|
|
@@ -5323,7 +5323,7 @@ const uh = {
|
|
|
5323
5323
|
const i = this.generateRowData(e, t);
|
|
5324
5324
|
this.table.modExists("mutator") && this.table.modules.mutator?.disable();
|
|
5325
5325
|
const s = new Fe(i, this, "calc");
|
|
5326
|
-
return this.table.modExists("mutator") && this.table.modules.mutator?.enable(), s.getElement().classList.add("tabulator-calcs", "tabulator-calcs-" + e), s.component = null, s.getComponent = () => (s.component || (s.component = new
|
|
5326
|
+
return this.table.modExists("mutator") && this.table.modules.mutator?.enable(), s.getElement().classList.add("tabulator-calcs", "tabulator-calcs-" + e), s.component = null, s.getComponent = () => (s.component || (s.component = new uh(s)), s.component), s.generateCells = () => {
|
|
5327
5327
|
const o = [];
|
|
5328
5328
|
this.table.columnManager?.columnsByIndex.forEach((n) => {
|
|
5329
5329
|
if (this.genColumn) {
|
|
@@ -5395,7 +5395,7 @@ const uh = {
|
|
|
5395
5395
|
this.botRow && (this.table.rtl ? this.botElement.style.paddingLeft = e + "px" : this.botElement.style.paddingRight = e + "px");
|
|
5396
5396
|
}
|
|
5397
5397
|
};
|
|
5398
|
-
Ft.moduleName = "columnCalcs", Ft.calculations =
|
|
5398
|
+
Ft.moduleName = "columnCalcs", Ft.calculations = ph;
|
|
5399
5399
|
let ks = Ft;
|
|
5400
5400
|
class Ts extends Fe {
|
|
5401
5401
|
constructor(e = {}, t) {
|
|
@@ -5444,9 +5444,9 @@ class Ts extends Fe {
|
|
|
5444
5444
|
this.element?.parentNode && this.element.parentNode.removeChild(this.element);
|
|
5445
5445
|
}
|
|
5446
5446
|
}
|
|
5447
|
-
const
|
|
5447
|
+
const fh = E`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-button name="keyboard_arrow_down"></cx-icon-button></span>`, mh = E`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-button name="keyboard_arrow_right"></cx-icon-button></span>`, gh = E`<span class="tabulator-data-tree-control tabulator-data-tree-control-placeholder" aria-hidden="true"></span>`, bh = E`<div class="tabulator-data-tree-branch"></div>`, wh = E`<div class="tabulator-data-tree-branch-empty"></div>`, vh = E`<cx-button size="small"><cx-icon slot="prefix" name="add" variant="outlined"></cx-icon>
|
|
5448
5448
|
Load More
|
|
5449
|
-
</cx-button>`,
|
|
5449
|
+
</cx-button>`, yh = E`<div class="tabulator-data-tree-loading">Loading...</div>`, Ch = process.env.NODE_ENV === "development", Fo = class Fo extends I {
|
|
5450
5450
|
constructor(e) {
|
|
5451
5451
|
super(e), this.indent = 10, this.field = "", this.collapseEl = null, this.expandEl = null, this.branchEl = null, this.elementField = !1, this.startOpen = function() {
|
|
5452
5452
|
return !1;
|
|
@@ -5484,9 +5484,9 @@ const ph = E`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
|
|
|
5484
5484
|
if (this.table.options.dataTree) {
|
|
5485
5485
|
let e = null;
|
|
5486
5486
|
const t = this.table.options;
|
|
5487
|
-
switch (this.field = t.dataTreeChildField || "_children", this.indent = t.dataTreeChildIndent || 9, this.loadingField = t.dataTreeLoadingField || "loading", this.hasMoreField = t.dataTreeHasMoreField || "hasMore", this.options("movableRows") &&
|
|
5487
|
+
switch (this.field = t.dataTreeChildField || "_children", this.indent = t.dataTreeChildIndent || 9, this.loadingField = t.dataTreeLoadingField || "loading", this.hasMoreField = t.dataTreeHasMoreField || "hasMore", this.options("movableRows") && Ch && console.warn(
|
|
5488
5488
|
"The movableRows option is not available with dataTree enabled, moving of child rows could result in unpredictable behavior"
|
|
5489
|
-
), t.dataTreeBranchElement ? t.dataTreeBranchElement === !0 ? this.branchEl = W(
|
|
5489
|
+
), t.dataTreeBranchElement ? t.dataTreeBranchElement === !0 ? this.branchEl = W(bh) : typeof t.dataTreeBranchElement == "string" ? (e = document.createElement("div"), e.innerHTML = P(t.dataTreeBranchElement), this.branchEl = e.firstChild) : this.branchEl = t.dataTreeBranchElement : this.branchEl = W(wh), t.dataTreeCollapseElement ? typeof t.dataTreeCollapseElement == "string" ? (e = document.createElement("div"), e.innerHTML = P(t.dataTreeCollapseElement), this.collapseEl = e.firstChild) : this.collapseEl = t.dataTreeCollapseElement : this.collapseEl = W(fh), t.dataTreeExpandElement ? typeof t.dataTreeExpandElement == "string" ? (e = document.createElement("div"), e.innerHTML = P(t.dataTreeExpandElement), this.expandEl = e.firstChild) : this.expandEl = t.dataTreeExpandElement : this.expandEl = W(mh), typeof t.dataTreeStartExpanded) {
|
|
5490
5490
|
case "boolean":
|
|
5491
5491
|
this.startOpen = function() {
|
|
5492
5492
|
return t.dataTreeStartExpanded;
|
|
@@ -5586,7 +5586,7 @@ const ph = E`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
|
|
|
5586
5586
|
n.stopPropagation();
|
|
5587
5587
|
});
|
|
5588
5588
|
} else
|
|
5589
|
-
o = W(
|
|
5589
|
+
o = W(gh);
|
|
5590
5590
|
o.style.setProperty("margin-inline-end", `${this.indent}px`), o.style.setProperty("margin-inline-start", "0px"), e.modules.dataTree.controlEl = o, s && s.parentNode === t ? s.parentNode.replaceChild(o, s) : t.insertBefore(o, t.firstChild);
|
|
5591
5591
|
}
|
|
5592
5592
|
}
|
|
@@ -5648,7 +5648,7 @@ const ph = E`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
|
|
|
5648
5648
|
this.table.rowManager
|
|
5649
5649
|
);
|
|
5650
5650
|
i.create(), i.modules.dataTree.index = e, i.modules.dataTree.parent = t, i.modules.dataTree.children = !1, i.modules.dataTree.open = !0;
|
|
5651
|
-
const s = W(
|
|
5651
|
+
const s = W(vh);
|
|
5652
5652
|
return i.getElement()?.classList.add("tabulator-tree-level-" + e), i.element.appendChild(s), s.style.setProperty(
|
|
5653
5653
|
"--tabulator-tree-level",
|
|
5654
5654
|
String(e + 1)
|
|
@@ -5677,7 +5677,7 @@ const ph = E`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
|
|
|
5677
5677
|
this.table.rowManager
|
|
5678
5678
|
);
|
|
5679
5679
|
i.create(), i.modules.dataTree.index = e, i.modules.dataTree.parent = t, i.modules.dataTree.children = !1, i.modules.dataTree.open = !0;
|
|
5680
|
-
const s = W(
|
|
5680
|
+
const s = W(yh);
|
|
5681
5681
|
return i.element.appendChild(s), i.getElement()?.classList.add("tabulator-tree-level-" + e), s.style.setProperty(
|
|
5682
5682
|
"--tabulator-tree-level",
|
|
5683
5683
|
String(e + 1)
|
|
@@ -5832,7 +5832,7 @@ const ph = E`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
|
|
|
5832
5832
|
};
|
|
5833
5833
|
Fo.moduleName = "dataTree";
|
|
5834
5834
|
let Fs = Fo;
|
|
5835
|
-
const ur = process.env.NODE_ENV === "development",
|
|
5835
|
+
const ur = process.env.NODE_ENV === "development", xh = function(r, e = {}, t) {
|
|
5836
5836
|
const i = e.delimiter ? e.delimiter : ",", s = [], o = [];
|
|
5837
5837
|
r.forEach((a) => {
|
|
5838
5838
|
const l = [];
|
|
@@ -5873,11 +5873,11 @@ const ur = process.env.NODE_ENV === "development", Ch = function(r, e = {}, t) {
|
|
|
5873
5873
|
let n = s.join(`
|
|
5874
5874
|
`);
|
|
5875
5875
|
e.bom && (n = "\uFEFF" + n), t(n, "text/csv");
|
|
5876
|
-
},
|
|
5876
|
+
}, Eh = function(r, e, t) {
|
|
5877
5877
|
const i = this;
|
|
5878
5878
|
let s = "";
|
|
5879
5879
|
i.modExists("export", !0) && (s = i.modules.export?.generateHTMLTable(r) || ""), t(s, "text/html");
|
|
5880
|
-
}, pr = process.env.NODE_ENV === "development",
|
|
5880
|
+
}, pr = process.env.NODE_ENV === "development", Rh = function(r, e, t) {
|
|
5881
5881
|
const i = [];
|
|
5882
5882
|
r.forEach((o) => {
|
|
5883
5883
|
const n = {};
|
|
@@ -5903,7 +5903,7 @@ const ur = process.env.NODE_ENV === "development", Ch = function(r, e = {}, t) {
|
|
|
5903
5903
|
});
|
|
5904
5904
|
const s = JSON.stringify(i, null, " ");
|
|
5905
5905
|
t(s, "application/json");
|
|
5906
|
-
}, fr = process.env.NODE_ENV === "development",
|
|
5906
|
+
}, fr = process.env.NODE_ENV === "development", Sh = function(r, e, t) {
|
|
5907
5907
|
const i = [];
|
|
5908
5908
|
r.forEach((s) => {
|
|
5909
5909
|
const o = {};
|
|
@@ -5928,7 +5928,7 @@ const ur = process.env.NODE_ENV === "development", Ch = function(r, e = {}, t) {
|
|
|
5928
5928
|
}
|
|
5929
5929
|
}), t(i.join(`
|
|
5930
5930
|
`), "application/x-ndjson");
|
|
5931
|
-
},
|
|
5931
|
+
}, Dh = process.env.NODE_ENV === "development", Mh = function(r, e = {}, t) {
|
|
5932
5932
|
const i = this, s = [], o = [];
|
|
5933
5933
|
let n = {};
|
|
5934
5934
|
const a = e.rowGroupStyles || {
|
|
@@ -5983,7 +5983,7 @@ const ur = process.env.NODE_ENV === "development", Ch = function(r, e = {}, t) {
|
|
|
5983
5983
|
});
|
|
5984
5984
|
const p = i.dependencyRegistry.lookup("jspdf", "jsPDF");
|
|
5985
5985
|
if (!p) {
|
|
5986
|
-
|
|
5986
|
+
Dh && console.error(
|
|
5987
5987
|
"Download Error - 'pdf' downloader requires jspdf library to be registered"
|
|
5988
5988
|
);
|
|
5989
5989
|
return;
|
|
@@ -5992,10 +5992,10 @@ const ur = process.env.NODE_ENV === "development", Ch = 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
|
+
}, kh = 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
|
+
kh && console.error(
|
|
5999
5999
|
"Download Error - 'xlsx' downloader requires XLSX library to be registered"
|
|
6000
6000
|
);
|
|
6001
6001
|
return;
|
|
@@ -6056,14 +6056,14 @@ const ur = process.env.NODE_ENV === "development", Ch = function(r, e = {}, t) {
|
|
|
6056
6056
|
}
|
|
6057
6057
|
const u = o.write(n, h);
|
|
6058
6058
|
t(p(u), "application/octet-stream");
|
|
6059
|
-
},
|
|
6060
|
-
csv:
|
|
6061
|
-
html:
|
|
6062
|
-
json:
|
|
6063
|
-
jsonLines:
|
|
6064
|
-
pdf:
|
|
6065
|
-
xlsx:
|
|
6066
|
-
},
|
|
6059
|
+
}, Fh = {
|
|
6060
|
+
csv: xh,
|
|
6061
|
+
html: Eh,
|
|
6062
|
+
json: Rh,
|
|
6063
|
+
jsonLines: Sh,
|
|
6064
|
+
pdf: Mh,
|
|
6065
|
+
xlsx: Th
|
|
6066
|
+
}, Lh = process.env.NODE_ENV === "development", si = class si extends I {
|
|
6067
6067
|
constructor(e) {
|
|
6068
6068
|
super(e), this.registerTableOption(
|
|
6069
6069
|
"downloadEncoder",
|
|
@@ -6090,7 +6090,7 @@ const ur = process.env.NODE_ENV === "development", Ch = function(r, e = {}, t) {
|
|
|
6090
6090
|
const a = (l, h) => {
|
|
6091
6091
|
o ? o === !0 ? this.triggerDownload(l, h, e, t, !0) : o(l) : this.triggerDownload(l, h, e, t);
|
|
6092
6092
|
};
|
|
6093
|
-
if (typeof e == "function" ? n = e : si.downloaders[e] ? n = si.downloaders[e] :
|
|
6093
|
+
if (typeof e == "function" ? n = e : si.downloaders[e] ? n = si.downloaders[e] : Lh && console.warn("Download Error - No such download type found: ", e), n) {
|
|
6094
6094
|
const l = this.generateExportList(s);
|
|
6095
6095
|
n.call(this.table, l, i || {}, a.bind(this));
|
|
6096
6096
|
}
|
|
@@ -6140,9 +6140,9 @@ const ur = process.env.NODE_ENV === "development", Ch = function(r, e = {}, t) {
|
|
|
6140
6140
|
}
|
|
6141
6141
|
}
|
|
6142
6142
|
};
|
|
6143
|
-
si.moduleName = "download", si.downloaders =
|
|
6143
|
+
si.moduleName = "download", si.downloaders = Fh;
|
|
6144
6144
|
let Ls = si;
|
|
6145
|
-
const
|
|
6145
|
+
const zh = function(r, e, t, i, s = {}) {
|
|
6146
6146
|
const o = this, n = r._getSelf().column;
|
|
6147
6147
|
let a;
|
|
6148
6148
|
function l(d) {
|
|
@@ -6176,7 +6176,7 @@ const Lh = function(r, e, t, i, s = {}) {
|
|
|
6176
6176
|
i,
|
|
6177
6177
|
a || {}
|
|
6178
6178
|
) : !1;
|
|
6179
|
-
},
|
|
6179
|
+
}, _h = process.env.NODE_ENV === "development", Oh = function(r, e, t, i, s) {
|
|
6180
6180
|
const o = s.format, n = s.verticalNavigation || "editor", a = typeof globalThis.window > "u" ? globalThis : window, l = o ? a.DateTime || a.luxon?.DateTime : null;
|
|
6181
6181
|
let h = r.getValue();
|
|
6182
6182
|
const c = document.createElement("input");
|
|
@@ -6209,7 +6209,7 @@ const Lh = function(r, e, t, i, s = {}) {
|
|
|
6209
6209
|
);
|
|
6210
6210
|
} else
|
|
6211
6211
|
c.setAttribute(m, s.elementAttributes[m]);
|
|
6212
|
-
h = h ?? "", o && (l ? h = p(h) :
|
|
6212
|
+
h = h ?? "", o && (l ? h = p(h) : _h && console.error(
|
|
6213
6213
|
"Editor Error - 'date' editor 'format' param is dependent on luxon.js"
|
|
6214
6214
|
)), c.value = String(h), e(() => {
|
|
6215
6215
|
r.getType() === "cell" && (c.focus({ preventScroll: !0 }), c.style.height = "100%", s.selectContents && c.select());
|
|
@@ -6256,7 +6256,7 @@ const Lh = function(r, e, t, i, s = {}) {
|
|
|
6256
6256
|
break;
|
|
6257
6257
|
}
|
|
6258
6258
|
}), c;
|
|
6259
|
-
},
|
|
6259
|
+
}, Ah = process.env.NODE_ENV === "development", Ph = function(r, e, t, i, s) {
|
|
6260
6260
|
const o = this, n = s.format, a = s.verticalNavigation || "editor", l = n ? o.table.dependencyRegistry.lookup(["luxon", "DateTime"], "DateTime") : null;
|
|
6261
6261
|
let h, c = r.getValue();
|
|
6262
6262
|
const d = document.createElement("input");
|
|
@@ -6270,7 +6270,7 @@ const Lh = function(r, e, t, i, s = {}) {
|
|
|
6270
6270
|
);
|
|
6271
6271
|
} else
|
|
6272
6272
|
d.setAttribute(u, s.elementAttributes[u]);
|
|
6273
|
-
c = c ?? "", n && l ? (l.isDateTime?.(c) ? h = c : n === "iso" ? h = l.fromISO(String(c)) : h = l.fromFormat(String(c), n), c = h.toFormat("yyyy-MM-dd") + "T" + h.toFormat("HH:mm")) : n && !l &&
|
|
6273
|
+
c = c ?? "", n && l ? (l.isDateTime?.(c) ? h = c : n === "iso" ? h = l.fromISO(String(c)) : h = l.fromFormat(String(c), n), c = h.toFormat("yyyy-MM-dd") + "T" + h.toFormat("HH:mm")) : n && !l && Ah && console.error(
|
|
6274
6274
|
"Editor Error - 'datetime' editor 'format' param is dependent on luxon.js"
|
|
6275
6275
|
), d.value = String(c), e(() => {
|
|
6276
6276
|
r.getType() === "cell" && (d.focus({ preventScroll: !0 }), d.style.height = "100%", s.selectContents && d.select());
|
|
@@ -6354,7 +6354,7 @@ function Eo(r, e) {
|
|
|
6354
6354
|
(a.keyCode || 0) > 46 && e.maskAutoFill && n(r.value.length);
|
|
6355
6355
|
}), r.placeholder || (r.placeholder = t), e.maskAutoFill && n(r.value.length);
|
|
6356
6356
|
}
|
|
6357
|
-
const
|
|
6357
|
+
const Ih = function(r, e, t, i, s) {
|
|
6358
6358
|
let o = r.getValue();
|
|
6359
6359
|
const n = document.createElement("input");
|
|
6360
6360
|
if (n.setAttribute(
|
|
@@ -6395,12 +6395,12 @@ const Ph = function(r, e, t, i, s) {
|
|
|
6395
6395
|
break;
|
|
6396
6396
|
}
|
|
6397
6397
|
}), s.mask && Eo(n, s), n;
|
|
6398
|
-
},
|
|
6398
|
+
}, Hh = process.env.NODE_ENV === "development";
|
|
6399
6399
|
let Dn = null;
|
|
6400
|
-
function
|
|
6400
|
+
function Nh(r) {
|
|
6401
6401
|
Dn = r;
|
|
6402
6402
|
}
|
|
6403
|
-
const
|
|
6403
|
+
const Vh = {
|
|
6404
6404
|
/**
|
|
6405
6405
|
* @param explicitRegistry - When provided, that map is used. When omitted, uses the registry set
|
|
6406
6406
|
* by {@link setDefaultFormattersRegistry}
|
|
@@ -6414,7 +6414,7 @@ const Nh = {
|
|
|
6414
6414
|
let i;
|
|
6415
6415
|
switch (typeof r) {
|
|
6416
6416
|
case "string":
|
|
6417
|
-
t[r] ? i = t[r] : (
|
|
6417
|
+
t[r] ? i = t[r] : (Hh && console.warn("Formatter Error - No such formatter found: ", r), i = t.plaintext);
|
|
6418
6418
|
break;
|
|
6419
6419
|
case "function":
|
|
6420
6420
|
i = r;
|
|
@@ -6427,9 +6427,9 @@ const Nh = {
|
|
|
6427
6427
|
}
|
|
6428
6428
|
};
|
|
6429
6429
|
function os(r, e) {
|
|
6430
|
-
return
|
|
6430
|
+
return Vh.lookupFormatter(r, e);
|
|
6431
6431
|
}
|
|
6432
|
-
function
|
|
6432
|
+
function Bh(r, e = {}, t) {
|
|
6433
6433
|
let i;
|
|
6434
6434
|
function s(a) {
|
|
6435
6435
|
const l = a.getValue();
|
|
@@ -6448,7 +6448,7 @@ function Vh(r, e = {}, t) {
|
|
|
6448
6448
|
const o = e.formatterLookup ? e.formatterLookup(r) : s(r);
|
|
6449
6449
|
return e.paramsLookup && (i = typeof e.paramsLookup == "function" ? e.paramsLookup(o, r) : e.paramsLookup[o]), os(o).call(this, r, i || {}, t);
|
|
6450
6450
|
}
|
|
6451
|
-
function
|
|
6451
|
+
function $h(r, e, t) {
|
|
6452
6452
|
const i = e.delimiter ?? ",";
|
|
6453
6453
|
let s = r.getValue();
|
|
6454
6454
|
const o = this.table;
|
|
@@ -6461,32 +6461,32 @@ function Bh(r, e, t) {
|
|
|
6461
6461
|
));
|
|
6462
6462
|
} : n = e.valueMap), Array.isArray(s) ? (n && (s = n(s)), s.join(i)) : s;
|
|
6463
6463
|
}
|
|
6464
|
-
function
|
|
6464
|
+
function Wh(r, e) {
|
|
6465
6465
|
const t = e ?? {}, i = r.getValue(), s = i != null && i !== "", o = !!t.initials;
|
|
6466
6466
|
return !s && !o ? "" : W(E`<cx-avatar image=${Z(s ? String(i) : void 0)} initials=${Z(t.initials)} label=${Z(t.label)} shape=${Z(t.shape)} style="--size: ${t.size ?? "2rem"}"></cx-avatar>`);
|
|
6467
6467
|
}
|
|
6468
|
-
function
|
|
6468
|
+
function jh(r, e, t) {
|
|
6469
6469
|
return '<svg enable-background="new 0 0 24 24" height="14" width="14" viewBox="0 0 24 24" xml:space="preserve" role="img" aria-label="cross" ><path fill="#CE1515" d="M22.245,4.015c0.313,0.313,0.313,0.826,0,1.139l-6.276,6.27c-0.313,0.312-0.313,0.826,0,1.14l6.273,6.272 c0.313,0.313,0.313,0.826,0,1.14l-2.285,2.277c-0.314,0.312-0.828,0.312-1.142,0l-6.271-6.271c-0.313-0.313-0.828-0.313-1.141,0 l-6.276,6.267c-0.313,0.313-0.828,0.313-1.141,0l-2.282-2.28c-0.313-0.313-0.313-0.826,0-1.14l6.278-6.269 c0.313-0.312,0.313-0.826,0-1.14L1.709,5.147c-0.314-0.313-0.314-0.827,0-1.14l2.284-2.278C4.308,1.417,4.821,1.417,5.135,1.73 L11.405,8c0.314,0.314,0.828,0.314,1.141,0.001l6.276-6.267c0.312-0.312,0.826-0.312,1.141,0L22.245,4.015z"/></svg>';
|
|
6470
6470
|
}
|
|
6471
|
-
function
|
|
6471
|
+
function Gh(r, e, t) {
|
|
6472
6472
|
return '<svg enable-background="new 0 0 24 24" height="14" width="14" viewBox="0 0 24 24" xml:space="preserve" role="img" aria-label="tick" ><path fill="#2DC214" clip-rule="evenodd" d="M21.652,3.211c-0.293-0.295-0.77-0.295-1.061,0L9.41,14.34 c-0.293,0.297-0.771,0.297-1.062,0L3.449,9.351C3.304,9.203,3.114,9.13,2.923,9.129C2.73,9.128,2.534,9.201,2.387,9.351 l-2.165,1.946C0.078,11.445,0,11.63,0,11.823c0,0.194,0.078,0.397,0.223,0.544l4.94,5.184c0.292,0.296,0.771,0.776,1.062,1.07 l2.124,2.141c0.292,0.293,0.769,0.293,1.062,0l14.366-14.34c0.293-0.294,0.293-0.777,0-1.071L21.652,3.211z" fill-rule="evenodd"/></svg>';
|
|
6473
6473
|
}
|
|
6474
|
-
function
|
|
6474
|
+
function Uh(r, e, t) {
|
|
6475
6475
|
const i = r.getContentElement?.() ?? r.getElement(), s = r.getValue();
|
|
6476
|
-
return i && (
|
|
6476
|
+
return i && (Kh(s) ? i.style.backgroundColor = s : i.style.backgroundColor = ""), "";
|
|
6477
6477
|
}
|
|
6478
|
-
function
|
|
6478
|
+
function Kh(r) {
|
|
6479
6479
|
return !r || typeof r != "string" ? !1 : /^(#[0-9A-Fa-f]{3,8}|rgb\(|rgba\(|hsl\(|hsla\(|[a-z]+)$/i.test(r.trim());
|
|
6480
6480
|
}
|
|
6481
|
-
const
|
|
6482
|
-
function
|
|
6481
|
+
const qh = E`<span style="display: inline-flex; align-items: center;"></span>`;
|
|
6482
|
+
function Xh({
|
|
6483
6483
|
spacing: r,
|
|
6484
6484
|
style: e
|
|
6485
6485
|
}) {
|
|
6486
|
-
const t = W(
|
|
6486
|
+
const t = W(qh);
|
|
6487
6487
|
return r && (t.style.margin = r), e && Object.assign(t.style, e), t;
|
|
6488
6488
|
}
|
|
6489
|
-
function
|
|
6489
|
+
function Jh(r, e, t) {
|
|
6490
6490
|
const i = os("plaintext"), s = {
|
|
6491
6491
|
style: {
|
|
6492
6492
|
color: "var(--cx-color-neutral-500)",
|
|
@@ -6528,7 +6528,7 @@ function br({
|
|
|
6528
6528
|
}) {
|
|
6529
6529
|
return e.value !== void 0 ? e.value : e.getValue ? e.getValue(r, t) : e.field ? te.retrieveNestedData(i, e.field, t) : r.getValue();
|
|
6530
6530
|
}
|
|
6531
|
-
function
|
|
6531
|
+
function Yh(r, e, t) {
|
|
6532
6532
|
if (!e?.elements || !Array.isArray(e.elements) || e.elements.length === 0)
|
|
6533
6533
|
return;
|
|
6534
6534
|
const i = r.getData(), s = this.table, o = typeof s.options.nestedFieldSeparator == "string" ? s.options.nestedFieldSeparator : void 0, n = r.getValue(), a = e.elements.some((L) => {
|
|
@@ -6544,7 +6544,7 @@ function Jh(r, e, t) {
|
|
|
6544
6544
|
return L.valueMap && (ee = L.valueMap[String(ee)] ?? ee), !gr(ee);
|
|
6545
6545
|
});
|
|
6546
6546
|
if (gr(n) && !a && e.placeholder !== void 0)
|
|
6547
|
-
return
|
|
6547
|
+
return Jh.call(this, r, e, t);
|
|
6548
6548
|
const h = r.getRow(), {
|
|
6549
6549
|
align: c,
|
|
6550
6550
|
block: d,
|
|
@@ -6590,7 +6590,7 @@ function Jh(r, e, t) {
|
|
|
6590
6590
|
}
|
|
6591
6591
|
if (S == null)
|
|
6592
6592
|
return;
|
|
6593
|
-
const _ =
|
|
6593
|
+
const _ = Xh({
|
|
6594
6594
|
spacing: L.spacing,
|
|
6595
6595
|
style: L.style
|
|
6596
6596
|
});
|
|
@@ -6606,24 +6606,24 @@ function Jh(r, e, t) {
|
|
|
6606
6606
|
return typeof ee == "string" ? C.textContent = ee : C.appendChild(ee.cloneNode(!0)), [z, C];
|
|
6607
6607
|
}).forEach((L) => D.appendChild(L)), D);
|
|
6608
6608
|
}
|
|
6609
|
-
function
|
|
6609
|
+
function Zh(r) {
|
|
6610
6610
|
if (r == null || r === "")
|
|
6611
6611
|
return;
|
|
6612
6612
|
const e = r instanceof Date ? r : new Date(typeof r == "number" ? r : String(r));
|
|
6613
6613
|
return isNaN(e.getTime()) ? void 0 : e;
|
|
6614
6614
|
}
|
|
6615
|
-
function
|
|
6616
|
-
const t = e ?? {}, i =
|
|
6615
|
+
function Qh(r, e) {
|
|
6616
|
+
const t = e ?? {}, i = Zh(r.getValue());
|
|
6617
6617
|
return i === void 0 ? "" : W(E`<cx-format-date date=${i.toISOString()} weekday=${Z(t.weekday)} era=${Z(t.era)} year=${Z(t.year)} month=${Z(t.month)} day=${Z(t.day)} hour=${Z(t.hour)} minute=${Z(t.minute)} second=${Z(t.second)} time-zone-name=${Z(t.timeZoneName)} time-zone=${Z(t.timeZone)} hour-format=${Z(t.hourFormat)} ?no-datetime-separator=${t.noDatetimeSeparator ?? !1}></cx-format-date>`);
|
|
6618
6618
|
}
|
|
6619
|
-
const
|
|
6620
|
-
function
|
|
6619
|
+
const ec = process.env.NODE_ENV === "development";
|
|
6620
|
+
function tc(r, e, t) {
|
|
6621
6621
|
const i = this.table.dependencyRegistry.lookup(
|
|
6622
6622
|
["luxon", "DateTime"],
|
|
6623
6623
|
"DateTime"
|
|
6624
6624
|
), s = e.inputFormat || "yyyy-MM-dd HH:mm:ss", o = e.outputFormat || "dd/MM/yyyy HH:mm:ss", n = e.invalidPlaceholder ?? "", a = r.getValue();
|
|
6625
6625
|
if (i == null)
|
|
6626
|
-
return
|
|
6626
|
+
return ec && console.error(
|
|
6627
6627
|
"Format Error - 'datetime' formatter is dependent on luxon.js"
|
|
6628
6628
|
), a;
|
|
6629
6629
|
{
|
|
@@ -6631,14 +6631,14 @@ function ec(r, e, t) {
|
|
|
6631
6631
|
return i.isDateTime(a) ? l = a : s === "iso" ? l = i.fromISO(String(a)) : l = i.fromFormat(String(a), s), l.isValid ? (e.timezone && (l = l.setZone(e.timezone)), l.toFormat(o)) : n === !0 || !a ? a : typeof n == "function" ? n(a) : n;
|
|
6632
6632
|
}
|
|
6633
6633
|
}
|
|
6634
|
-
const
|
|
6635
|
-
function
|
|
6634
|
+
const ic = process.env.NODE_ENV === "development";
|
|
6635
|
+
function sc(r, e, t) {
|
|
6636
6636
|
const i = this.table.dependencyRegistry.lookup(
|
|
6637
6637
|
["luxon", "DateTime"],
|
|
6638
6638
|
"DateTime"
|
|
6639
6639
|
), s = e.inputFormat || "yyyy-MM-dd HH:mm:ss", o = e.invalidPlaceholder ?? "", n = e.suffix === void 0 || e.suffix === null ? !1 : e.suffix, a = e.unit === void 0 || e.unit === null ? "days" : e.unit, l = e.humanize === void 0 || e.humanize === null ? !1 : e.humanize, h = r.getValue();
|
|
6640
6640
|
if (i == null)
|
|
6641
|
-
return
|
|
6641
|
+
return ic && console.error(
|
|
6642
6642
|
"Format Error - 'datetimediff' formatter is dependent on luxon.js"
|
|
6643
6643
|
), o;
|
|
6644
6644
|
{
|
|
@@ -6650,24 +6650,24 @@ function ic(r, e, t) {
|
|
|
6650
6650
|
function wr(r, e) {
|
|
6651
6651
|
return r == null ? "" : Array.isArray(r) ? r.join(e) : String(r);
|
|
6652
6652
|
}
|
|
6653
|
-
function
|
|
6653
|
+
function oc(r, e) {
|
|
6654
6654
|
const t = e ?? {}, i = t.arraySeparator ?? ", ", s = (c) => typeof c == "function" ? c(r) : c, o = wr(s(t.newValue) ?? r.getValue(), i), n = wr(s(t.oldValue) ?? "", i), a = Zo(n), l = Zo(o), h = a && l ? `${a} ${l}` : l || a;
|
|
6655
6655
|
return W(E`<cx-line-clamp lines="1" clamped-tooltip=${h}><cx-diff old-value=${n} new-value=${o}></cx-diff></cx-line-clamp>`);
|
|
6656
6656
|
}
|
|
6657
|
-
function
|
|
6657
|
+
function rc(r, e, t) {
|
|
6658
6658
|
const i = r.getElement();
|
|
6659
6659
|
return i && i.classList.add("tabulator-row-handle"), "<div class='tabulator-row-handle-box'><div class='tabulator-row-handle-bar'></div><div class='tabulator-row-handle-bar'></div><div class='tabulator-row-handle-bar'></div></div>";
|
|
6660
6660
|
}
|
|
6661
|
-
function
|
|
6661
|
+
function nc(r, e, t) {
|
|
6662
6662
|
return r.getValue();
|
|
6663
6663
|
}
|
|
6664
|
-
const
|
|
6665
|
-
function
|
|
6664
|
+
const ac = E`<cx-icon></cx-icon>`;
|
|
6665
|
+
function lc(r, e) {
|
|
6666
6666
|
const t = r.getValue(), i = e ?? {};
|
|
6667
6667
|
let s;
|
|
6668
6668
|
if (i.getIcon ? s = i.getIcon(t) : typeof i.icon == "function" ? s = i.icon(t) : i.iconMap ? s = i.iconMap[t] : i.icon ? s = i.icon : s = t ? String(t) : void 0, !s)
|
|
6669
6669
|
return;
|
|
6670
|
-
const o = W(
|
|
6670
|
+
const o = W(ac);
|
|
6671
6671
|
if (o.name = s, i.size !== void 0)
|
|
6672
6672
|
switch (typeof i.size) {
|
|
6673
6673
|
case "number":
|
|
@@ -6679,12 +6679,12 @@ function ac(r, e) {
|
|
|
6679
6679
|
}
|
|
6680
6680
|
return i.class && (o.className = i.class), i.style && Object.assign(o.style, i.style), o;
|
|
6681
6681
|
}
|
|
6682
|
-
const
|
|
6683
|
-
function
|
|
6682
|
+
const hc = E`<div style="display: flex; align-items: center; justify-content: center;"><img style="max-width: 100%; max-height: 100%; object-fit: cover;"></div>`;
|
|
6683
|
+
function cc(r, e) {
|
|
6684
6684
|
let t = r.getValue();
|
|
6685
6685
|
if (!t)
|
|
6686
6686
|
return null;
|
|
6687
|
-
const i = W(
|
|
6687
|
+
const i = W(hc), s = i.querySelector("img"), o = e ?? {};
|
|
6688
6688
|
switch (o.urlPrefix && (t = o.urlPrefix + r.getValue()), o.urlSuffix && (t = t + o.urlSuffix), s.setAttribute("src", String(t)), s.setAttribute(
|
|
6689
6689
|
"alt",
|
|
6690
6690
|
typeof o.alt == "string" ? o.alt : ""
|
|
@@ -6708,8 +6708,8 @@ function hc(r, e) {
|
|
|
6708
6708
|
r.getRow()?.normalizeHeight();
|
|
6709
6709
|
}), i;
|
|
6710
6710
|
}
|
|
6711
|
-
const
|
|
6712
|
-
function
|
|
6711
|
+
const dc = process.env.NODE_ENV === "development";
|
|
6712
|
+
function uc(r, e, t) {
|
|
6713
6713
|
const {
|
|
6714
6714
|
indent: i = " ",
|
|
6715
6715
|
multiline: s = !0,
|
|
@@ -6722,11 +6722,11 @@ function dc(r, e, t) {
|
|
|
6722
6722
|
try {
|
|
6723
6723
|
return JSON.stringify(n, o, i);
|
|
6724
6724
|
} catch (a) {
|
|
6725
|
-
return
|
|
6725
|
+
return dc && console.warn("JSON Format Error - Failed to format value", a), String(n);
|
|
6726
6726
|
}
|
|
6727
6727
|
}
|
|
6728
|
-
const
|
|
6729
|
-
function
|
|
6728
|
+
const pc = process.env.NODE_ENV === "development";
|
|
6729
|
+
function fc(r, e, t) {
|
|
6730
6730
|
let i = r.getValue();
|
|
6731
6731
|
const s = e.urlPrefix || "";
|
|
6732
6732
|
let o = e.download, n = i;
|
|
@@ -6766,7 +6766,7 @@ function pc(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) : (
|
|
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 = Qi(P(n));
|
|
6770
6770
|
const u = W(
|
|
6771
6771
|
E`<cx-line-clamp lines="1"></cx-line-clamp>`
|
|
6772
6772
|
);
|
|
@@ -6774,12 +6774,12 @@ function pc(r, e, t) {
|
|
|
6774
6774
|
} else
|
|
6775
6775
|
return " ";
|
|
6776
6776
|
}
|
|
6777
|
-
const
|
|
6778
|
-
function
|
|
6777
|
+
const mc = process.env.NODE_ENV === "development";
|
|
6778
|
+
function gc(r, e, t) {
|
|
6779
6779
|
const i = r.getValue();
|
|
6780
|
-
return !e || typeof e != "object" && typeof e != "function" || e[i] === void 0 || e[i] === null ? (
|
|
6780
|
+
return !e || typeof e != "object" && typeof e != "function" || e[i] === void 0 || e[i] === null ? (mc && console.warn("Missing display value for " + i), i) : e[i];
|
|
6781
6781
|
}
|
|
6782
|
-
function
|
|
6782
|
+
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))
|
|
@@ -6791,15 +6791,15 @@ function gc(r, e, t) {
|
|
|
6791
6791
|
n = n.replace(a, "$1" + c + "$2");
|
|
6792
6792
|
return l = n + w, e.negativeSign === !0 ? (l = "(" + l + ")", u ? l + p : p + l) : u ? s + l + p : s + p + l;
|
|
6793
6793
|
}
|
|
6794
|
-
const
|
|
6795
|
-
function
|
|
6794
|
+
const wc = E`<cx-format-number></cx-format-number>`;
|
|
6795
|
+
function vc(r, e) {
|
|
6796
6796
|
const t = r.getValue();
|
|
6797
6797
|
if (t == null || t === "")
|
|
6798
6798
|
return;
|
|
6799
6799
|
const i = Number(t);
|
|
6800
6800
|
if (Number.isNaN(i))
|
|
6801
6801
|
return;
|
|
6802
|
-
const s = e ?? {}, o = W(
|
|
6802
|
+
const s = e ?? {}, o = W(wc);
|
|
6803
6803
|
o.value = i;
|
|
6804
6804
|
for (const n of Object.keys(s)) {
|
|
6805
6805
|
const a = s[n];
|
|
@@ -6807,14 +6807,14 @@ function wc(r, e) {
|
|
|
6807
6807
|
}
|
|
6808
6808
|
return o;
|
|
6809
6809
|
}
|
|
6810
|
-
function
|
|
6810
|
+
function yc(r, e) {
|
|
6811
6811
|
let t = Qi(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>`;
|
|
6815
6815
|
return W(s);
|
|
6816
6816
|
}
|
|
6817
|
-
function
|
|
6817
|
+
function Cc(r, e = {}, t) {
|
|
6818
6818
|
const i = P(r.getValue()) || 0, s = r.getElement(), o = e.max ? e.max : 100, n = e.min ? e.min : 0, a = e.legendAlign ? e.legendAlign : "center";
|
|
6819
6819
|
let l, h, c = !1, d;
|
|
6820
6820
|
l = parseFloat(String(i)) <= o ? parseFloat(String(i)) : o, l = parseFloat(String(l)) >= n ? parseFloat(String(l)) : n;
|
|
@@ -6893,13 +6893,13 @@ function yc(r, e = {}, t) {
|
|
|
6893
6893
|
x && (x.appendChild(m), m.appendChild(u), c && w && m.appendChild(w));
|
|
6894
6894
|
}), "";
|
|
6895
6895
|
}
|
|
6896
|
-
function
|
|
6896
|
+
function xc(r, e = {}, t) {
|
|
6897
6897
|
const i = document.createElement("span"), s = r.getRow(), o = r.getTable();
|
|
6898
6898
|
return s.watchPosition((n) => {
|
|
6899
6899
|
e.relativeToPage && o.modules.page && (n += o.modules.page.getPageSize() * (o.modules.page.getPage() - 1)), i.innerText = String(n);
|
|
6900
6900
|
}), i;
|
|
6901
6901
|
}
|
|
6902
|
-
function
|
|
6902
|
+
function Ec(r, e, t) {
|
|
6903
6903
|
let i = r.getValue();
|
|
6904
6904
|
const s = r.getElement(), o = r.getContentElement?.() ?? s, n = e && e.stars ? e.stars : 5, a = document.createElement("span"), l = document.createElementNS("http://www.w3.org/2000/svg", "svg"), h = '<polygon fill="#FFEA00" stroke="#C1AB60" stroke-width="37.6152" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" points="259.216,29.942 330.27,173.919 489.16,197.007 374.185,309.08 401.33,467.31 259.216,392.612 117.104,467.31 144.25,309.08 29.274,197.007 188.165,173.919 "/>', c = '<polygon fill="#D2D2D2" stroke="#686868" stroke-width="37.6152" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" points="259.216,29.942 330.27,173.919 489.16,197.007 374.185,309.08 401.33,467.31 259.216,392.612 117.104,467.31 144.25,309.08 29.274,197.007 188.165,173.919 "/>';
|
|
6905
6905
|
a.style.verticalAlign = "middle", l.setAttribute("width", "14"), l.setAttribute("height", "14"), l.setAttribute("viewBox", "0 0 512 512"), l.setAttribute("xml:space", "preserve"), l.style.padding = "0 1px";
|
|
@@ -6911,12 +6911,12 @@ function xc(r, e, t) {
|
|
|
6911
6911
|
}
|
|
6912
6912
|
return o && (o.style.whiteSpace = "nowrap", o.style.overflow = "hidden", o.style.textOverflow = "ellipsis"), s && s.setAttribute("aria-label", String(i)), a;
|
|
6913
6913
|
}
|
|
6914
|
-
const vr = "cx-table-switch-change",
|
|
6915
|
-
function
|
|
6914
|
+
const vr = "cx-table-switch-change", Rc = E`<cx-switch></cx-switch>`;
|
|
6915
|
+
function Sc(r) {
|
|
6916
6916
|
const e = Object.prototype.hasOwnProperty.call(r, "onValue") ? r.onValue : !0;
|
|
6917
6917
|
return { offValue: Object.prototype.hasOwnProperty.call(r, "offValue") ? r.offValue : !1, onValue: e };
|
|
6918
6918
|
}
|
|
6919
|
-
function
|
|
6919
|
+
function Dc(r, e) {
|
|
6920
6920
|
const t = r.getTable().element, i = t.getRootNode(), s = i instanceof ShadowRoot ? i.host : null;
|
|
6921
6921
|
if (s && typeof s.emit == "function") {
|
|
6922
6922
|
s.emit(vr, { detail: e });
|
|
@@ -6930,40 +6930,40 @@ function Sc(r, e) {
|
|
|
6930
6930
|
})
|
|
6931
6931
|
);
|
|
6932
6932
|
}
|
|
6933
|
-
function
|
|
6933
|
+
function Mc(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 kc(r, e, t, i) {
|
|
6941
|
+
r.checked = e.getValue() === t, r.setAttribute("aria-label", "Toggle"), Mc(r), r.addEventListener("cx-change", () => {
|
|
6942
6942
|
if (r.disabled)
|
|
6943
6943
|
return;
|
|
6944
6944
|
const s = r.checked, o = s ? t : i;
|
|
6945
6945
|
if (e.getValue() === o)
|
|
6946
6946
|
return;
|
|
6947
6947
|
const n = e.getRow();
|
|
6948
|
-
e.setValue(o),
|
|
6948
|
+
e.setValue(o), Dc(e, {
|
|
6949
6949
|
checked: s,
|
|
6950
6950
|
data: n.getData(),
|
|
6951
6951
|
field: e.getField()
|
|
6952
6952
|
});
|
|
6953
6953
|
});
|
|
6954
6954
|
}
|
|
6955
|
-
function
|
|
6955
|
+
function Tc(r, e) {
|
|
6956
6956
|
if (r.getType() === "header") {
|
|
6957
6957
|
const n = document.createElement("span");
|
|
6958
6958
|
return n.textContent = String(r.getValue() ?? ""), n;
|
|
6959
6959
|
}
|
|
6960
|
-
const t = W(
|
|
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), kc(t, r, s, i), t;
|
|
6964
6964
|
}
|
|
6965
|
-
const
|
|
6966
|
-
function
|
|
6965
|
+
const Fc = E`<cx-tag></cx-tag>`;
|
|
6966
|
+
function Lc(r, e) {
|
|
6967
6967
|
const t = r.getValue();
|
|
6968
6968
|
if (t == null || t === "")
|
|
6969
6969
|
return;
|
|
@@ -6972,26 +6972,26 @@ function Fc(r, e) {
|
|
|
6972
6972
|
removable: !1,
|
|
6973
6973
|
size: "medium",
|
|
6974
6974
|
variant: "neutral"
|
|
6975
|
-
}, s = W(
|
|
6975
|
+
}, s = W(Fc);
|
|
6976
6976
|
return Object.assign(s, i), s.textContent = e?.getTagContent?.(t) ?? e?.tagContentMap?.[t] ?? String(t), s;
|
|
6977
6977
|
}
|
|
6978
|
-
function
|
|
6978
|
+
function zc(r) {
|
|
6979
6979
|
return Qi(P(vo(r.getValue())));
|
|
6980
6980
|
}
|
|
6981
|
-
function
|
|
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(
|
|
6983
6983
|
e,
|
|
6984
6984
|
"trueValue"
|
|
6985
6985
|
), l = (typeof e.tickElement == "string" ? P(e.tickElement) : e.tickElement) ?? '<svg enable-background="new 0 0 24 24" height="14" width="14" viewBox="0 0 24 24" xml:space="preserve" role="img" aria-label="true" ><path fill="#2DC214" clip-rule="evenodd" d="M21.652,3.211c-0.293-0.295-0.77-0.295-1.061,0L9.41,14.34 c-0.293,0.297-0.771,0.297-1.062,0L3.449,9.351C3.304,9.203,3.114,9.13,2.923,9.129C2.73,9.128,2.534,9.201,2.387,9.351 l-2.165,1.946C0.078,11.445,0,11.63,0,11.823c0,0.194,0.078,0.397,0.223,0.544l4.94,5.184c0.292,0.296,0.771,0.776,1.062,1.07 l2.124,2.141c0.292,0.293,0.769,0.293,1.062,0l14.366-14.34c0.293-0.294,0.293-0.777,0-1.071L21.652,3.211z" fill-rule="evenodd"/></svg>', h = (typeof e.crossElement == "string" ? P(e.crossElement) : e.crossElement) ?? '<svg enable-background="new 0 0 24 24" height="14" width="14" viewBox="0 0 24 24" xml:space="preserve" role="img" aria-label="false" ><path fill="#CE1515" d="M22.245,4.015c0.313,0.313,0.313,0.826,0,1.139l-6.276,6.27c-0.313,0.312-0.313,0.826,0,1.14l6.273,6.272 c0.313,0.313,0.313,0.826,0,1.14l-2.285,2.277c-0.314,0.312-0.828,0.312-1.142,0l-6.271-6.271c-0.313-0.313-0.828-0.313-1.141,0 l-6.276,6.267c-0.313,0.313-0.828,0.313-1.141,0l-2.282-2.28c-0.313-0.313-0.313-0.826,0-1.14l6.278-6.269 c0.313-0.312,0.313-0.826,0-1.14L1.709,5.147c-0.314-0.313-0.314-0.827,0-1.14l2.284-2.278C4.308,1.417,4.821,1.417,5.135,1.73 L11.405,8c0.314,0.314,0.828,0.314,1.141,0.001l6.276-6.267c0.312-0.312,0.826-0.312,1.141,0L22.245,4.015z"/></svg>';
|
|
6986
6986
|
return a && i === e.trueValue || !a && (n && i || i === !0 || i === "true" || i === "True" || i === 1 || i === "1") ? (s && s.setAttribute("aria-checked", "true"), l || "") : o && (i === "null" || i === "" || i === null || typeof i > "u") ? (s && s.setAttribute("aria-checked", "mixed"), "") : (s && s.setAttribute("aria-checked", "false"), h || "");
|
|
6987
6987
|
}
|
|
6988
|
-
function
|
|
6988
|
+
function Oc(r) {
|
|
6989
6989
|
if (r == null || r === "")
|
|
6990
6990
|
return null;
|
|
6991
6991
|
const e = Number(r);
|
|
6992
6992
|
return Number.isFinite(e) ? e : null;
|
|
6993
6993
|
}
|
|
6994
|
-
function
|
|
6994
|
+
function Ac(r, e) {
|
|
6995
6995
|
const t = e.getValue(), i = e.getRow().getData(), {
|
|
6996
6996
|
getParams: s,
|
|
6997
6997
|
paramsMap: o,
|
|
@@ -7004,17 +7004,17 @@ function Oc(r, e) {
|
|
|
7004
7004
|
...c
|
|
7005
7005
|
};
|
|
7006
7006
|
}
|
|
7007
|
-
function
|
|
7007
|
+
function Pc(r) {
|
|
7008
7008
|
const e = {
|
|
7009
7009
|
...r.style ?? {}
|
|
7010
7010
|
};
|
|
7011
7011
|
return r.color && (e["--cx-format-time-color"] = r.color), r.fontSize && (e["--cx-format-time-font-size"] = r.fontSize), r.fontWeight && (e["--cx-format-time-font-weight"] = r.fontWeight), e;
|
|
7012
7012
|
}
|
|
7013
|
-
function
|
|
7014
|
-
const t =
|
|
7013
|
+
function Ic(r, e) {
|
|
7014
|
+
const t = Ac(e ?? {}, r), i = Oc(r.getValue()), s = Pc(t);
|
|
7015
7015
|
return W(E`<cx-format-time .duration=${i} display-style=${Z(t.displayStyle)} input-unit=${Z(t.inputUnit)} locale=${Z(t.locale)} placeholder=${Z(t.placeholder)} units-format=${Z(t.unitsFormat)} style=${Qe(s)}></cx-format-time>`);
|
|
7016
7016
|
}
|
|
7017
|
-
function
|
|
7017
|
+
function Hc(r, e, t) {
|
|
7018
7018
|
const i = e.size || 15, s = i + "px", o = Object.prototype.hasOwnProperty.call(
|
|
7019
7019
|
e,
|
|
7020
7020
|
"onValue"
|
|
@@ -7032,12 +7032,12 @@ function Ic(r, e, t) {
|
|
|
7032
7032
|
const c = document.createElement("div");
|
|
7033
7033
|
return c.classList.add("tabulator-toggle-switch"), c.style.height = s, c.style.width = s, c.style.borderRadius = s, h.appendChild(c), h;
|
|
7034
7034
|
}
|
|
7035
|
-
const
|
|
7036
|
-
function
|
|
7035
|
+
const Nc = E`<span class="tabulator-traffic-light-container"><span class="tabulator-traffic-light"></span><span class="tabulator-traffic-light-text"></span></span>`;
|
|
7036
|
+
function Vc(r, e, t, i) {
|
|
7037
7037
|
const s = r.getValue();
|
|
7038
7038
|
if (s == null || s === "")
|
|
7039
7039
|
return;
|
|
7040
|
-
const o = W(
|
|
7040
|
+
const o = W(Nc), n = e?.getColor?.(s) ?? e?.colorMap?.[s];
|
|
7041
7041
|
if (n) {
|
|
7042
7042
|
const l = o.querySelector(
|
|
7043
7043
|
".tabulator-traffic-light"
|
|
@@ -7049,7 +7049,7 @@ function Nc(r, e, t, i) {
|
|
|
7049
7049
|
);
|
|
7050
7050
|
return a && (a.textContent = String(s)), i?.getColor ? a.style.color = i.getColor(r) : i?.colorMap ? a.style.color = i.colorMap[r.getValue()] : i?.color && (a.style.color = i.color), o;
|
|
7051
7051
|
}
|
|
7052
|
-
function
|
|
7052
|
+
function Bc(r, e) {
|
|
7053
7053
|
const t = r.getValue();
|
|
7054
7054
|
if (t == null || t === "")
|
|
7055
7055
|
return;
|
|
@@ -7064,40 +7064,40 @@ function Vc(r, e) {
|
|
|
7064
7064
|
return i.prefix && (l = i.prefix + l), i.suffix && (l = l + i.suffix), a.textContent = l, n;
|
|
7065
7065
|
}
|
|
7066
7066
|
const Mn = {
|
|
7067
|
-
adaptable:
|
|
7068
|
-
array:
|
|
7069
|
-
avatar:
|
|
7070
|
-
buttonCross:
|
|
7071
|
-
buttonTick:
|
|
7072
|
-
color:
|
|
7073
|
-
composite:
|
|
7074
|
-
date:
|
|
7075
|
-
datetime:
|
|
7076
|
-
datetimediff:
|
|
7077
|
-
diff:
|
|
7078
|
-
handle:
|
|
7079
|
-
html:
|
|
7080
|
-
icon:
|
|
7081
|
-
image:
|
|
7082
|
-
json:
|
|
7083
|
-
link:
|
|
7084
|
-
lookup:
|
|
7085
|
-
money:
|
|
7086
|
-
number:
|
|
7087
|
-
plaintext:
|
|
7088
|
-
progress:
|
|
7089
|
-
rownum:
|
|
7090
|
-
star:
|
|
7091
|
-
switch:
|
|
7092
|
-
tag:
|
|
7093
|
-
textarea:
|
|
7094
|
-
tickCross:
|
|
7095
|
-
time:
|
|
7096
|
-
toggle:
|
|
7097
|
-
traffic:
|
|
7098
|
-
typography:
|
|
7067
|
+
adaptable: Bh,
|
|
7068
|
+
array: $h,
|
|
7069
|
+
avatar: Wh,
|
|
7070
|
+
buttonCross: jh,
|
|
7071
|
+
buttonTick: Gh,
|
|
7072
|
+
color: Uh,
|
|
7073
|
+
composite: Yh,
|
|
7074
|
+
date: Qh,
|
|
7075
|
+
datetime: tc,
|
|
7076
|
+
datetimediff: sc,
|
|
7077
|
+
diff: oc,
|
|
7078
|
+
handle: rc,
|
|
7079
|
+
html: nc,
|
|
7080
|
+
icon: lc,
|
|
7081
|
+
image: cc,
|
|
7082
|
+
json: uc,
|
|
7083
|
+
link: fc,
|
|
7084
|
+
lookup: gc,
|
|
7085
|
+
money: bc,
|
|
7086
|
+
number: vc,
|
|
7087
|
+
plaintext: yc,
|
|
7088
|
+
progress: Cc,
|
|
7089
|
+
rownum: xc,
|
|
7090
|
+
star: Ec,
|
|
7091
|
+
switch: Tc,
|
|
7092
|
+
tag: Lc,
|
|
7093
|
+
textarea: zc,
|
|
7094
|
+
tickCross: _c,
|
|
7095
|
+
time: Ic,
|
|
7096
|
+
toggle: Hc,
|
|
7097
|
+
traffic: Vc,
|
|
7098
|
+
typography: Bc
|
|
7099
7099
|
};
|
|
7100
|
-
|
|
7100
|
+
Nh(Mn);
|
|
7101
7101
|
const Lt = class Lt 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");
|
|
@@ -7202,8 +7202,8 @@ const Lt = class Lt extends I {
|
|
|
7202
7202
|
};
|
|
7203
7203
|
Lt.moduleName = "format", Lt.formatters = Mn;
|
|
7204
7204
|
let Gi = Lt;
|
|
7205
|
-
const ut = process.env.NODE_ENV === "development",
|
|
7206
|
-
class
|
|
7205
|
+
const ut = process.env.NODE_ENV === "development", $c = E`<cx-option></cx-option>`, Wc = E`<cx-divider></cx-divider>`;
|
|
7206
|
+
class jc {
|
|
7207
7207
|
constructor(e, t, i, s, o, n) {
|
|
7208
7208
|
this._itemsMap = /* @__PURE__ */ new Map(), this.table = e.table, this.cell = t, this.params = this._initializeParams(n), this.fetchApi = typeof globalThis.fetch == "function" ? globalThis.fetch.bind(globalThis) : void 0, this.data = [], this.displayItems = [], this.focusedItem = null, this.input = this._createSelectElement(), this.initialValue = void 0, this.initialValues = [], this.isHeaderFilter = t.row?.type === "header", this.typing = !1, this.listIteration = 0, this.lastAction = "", this.actions = {
|
|
7209
7209
|
cancel: o,
|
|
@@ -7572,7 +7572,7 @@ class Wc {
|
|
|
7572
7572
|
}
|
|
7573
7573
|
}
|
|
7574
7574
|
_appendDivider() {
|
|
7575
|
-
const e = W(
|
|
7575
|
+
const e = W(Wc);
|
|
7576
7576
|
this.input.appendChild(e);
|
|
7577
7577
|
}
|
|
7578
7578
|
_appendSectionLabel(e) {
|
|
@@ -7582,7 +7582,7 @@ class Wc {
|
|
|
7582
7582
|
_appendLeafOption(e) {
|
|
7583
7583
|
let t = e.element;
|
|
7584
7584
|
if (!t) {
|
|
7585
|
-
t = W(
|
|
7585
|
+
t = W($c), t.getTextLabel = () => e.label, t.value = this.sanitizeValue(e.value);
|
|
7586
7586
|
const i = this.formatItemLabel(e, t);
|
|
7587
7587
|
i && typeof i == "object" && "nodeType" in i && i instanceof HTMLElement ? t.appendChild(i) : t.innerHTML = P(String(i || ""));
|
|
7588
7588
|
const s = this.params.fallbackOption?.prefix;
|
|
@@ -7718,8 +7718,8 @@ class Wc {
|
|
|
7718
7718
|
}
|
|
7719
7719
|
}
|
|
7720
7720
|
}
|
|
7721
|
-
const
|
|
7722
|
-
return new
|
|
7721
|
+
const Gc = function(r, e, t, i, s) {
|
|
7722
|
+
return new jc(
|
|
7723
7723
|
// eslint-disable-next-line no-invalid-this
|
|
7724
7724
|
this,
|
|
7725
7725
|
r instanceof Co ? r._getSelf() : r,
|
|
@@ -7728,7 +7728,7 @@ const jc = function(r, e, t, i, s) {
|
|
|
7728
7728
|
i,
|
|
7729
7729
|
s
|
|
7730
7730
|
).input;
|
|
7731
|
-
},
|
|
7731
|
+
}, Uc = function(r, e, t, i, s) {
|
|
7732
7732
|
let o = r.getValue();
|
|
7733
7733
|
const n = s.verticalNavigation || "editor", a = document.createElement("input");
|
|
7734
7734
|
if (a.setAttribute("type", "number"), typeof s.max < "u" && a.setAttribute("max", String(s.max)), typeof s.min < "u" && a.setAttribute("min", String(s.min)), typeof s.step < "u" && a.setAttribute("step", String(s.step)), a.style.padding = "4px", a.style.width = "100%", a.style.boxSizing = "border-box", s.elementAttributes && typeof s.elementAttributes == "object")
|
|
@@ -7777,7 +7777,7 @@ const jc = function(r, e, t, i, s) {
|
|
|
7777
7777
|
break;
|
|
7778
7778
|
}
|
|
7779
7779
|
}), s.mask && Eo(a, s), a;
|
|
7780
|
-
},
|
|
7780
|
+
}, Kc = function(r, e, t, i, s) {
|
|
7781
7781
|
const o = r.getElement();
|
|
7782
7782
|
if (!o)
|
|
7783
7783
|
return !1;
|
|
@@ -7831,7 +7831,7 @@ const jc = function(r, e, t, i, s) {
|
|
|
7831
7831
|
}), o.addEventListener("blur", () => {
|
|
7832
7832
|
i();
|
|
7833
7833
|
}), p;
|
|
7834
|
-
},
|
|
7834
|
+
}, qc = function(r, e, t, i, s) {
|
|
7835
7835
|
let o = r.getValue();
|
|
7836
7836
|
const n = document.createElement("input");
|
|
7837
7837
|
if (n.setAttribute("type", "range"), typeof s.max < "u" && n.setAttribute("max", String(s.max)), typeof s.min < "u" && n.setAttribute("min", String(s.min)), typeof s.step < "u" && n.setAttribute("step", String(s.step)), n.style.padding = "4px", n.style.width = "100%", n.style.boxSizing = "border-box", s.elementAttributes && typeof s.elementAttributes == "object")
|
|
@@ -7863,7 +7863,7 @@ const jc = function(r, e, t, i, s) {
|
|
|
7863
7863
|
break;
|
|
7864
7864
|
}
|
|
7865
7865
|
}), n;
|
|
7866
|
-
},
|
|
7866
|
+
}, Xc = function(r, e, t, i, s) {
|
|
7867
7867
|
const o = this, n = r.getElement();
|
|
7868
7868
|
if (!n)
|
|
7869
7869
|
return !1;
|
|
@@ -7934,7 +7934,7 @@ const jc = function(r, e, t, i, s) {
|
|
|
7934
7934
|
break;
|
|
7935
7935
|
}
|
|
7936
7936
|
}), d;
|
|
7937
|
-
},
|
|
7937
|
+
}, Jc = function(r, e, t, i, s) {
|
|
7938
7938
|
let o = r.getValue();
|
|
7939
7939
|
const n = s.verticalNavigation || "hybrid", a = String(o ?? ""), l = document.createElement("textarea");
|
|
7940
7940
|
let h = 0;
|
|
@@ -7984,7 +7984,7 @@ const jc = function(r, e, t, i, s) {
|
|
|
7984
7984
|
break;
|
|
7985
7985
|
}
|
|
7986
7986
|
}), s.mask && Eo(l, s), l;
|
|
7987
|
-
},
|
|
7987
|
+
}, Yc = function(r, e, t, i, s) {
|
|
7988
7988
|
const o = r.getValue(), n = document.createElement("input"), a = s.tristate, l = typeof s.indeterminateValue > "u" ? null : s.indeterminateValue;
|
|
7989
7989
|
let h = !1;
|
|
7990
7990
|
const c = Object.keys(s).includes("trueValue"), d = Object.keys(s).includes("falseValue");
|
|
@@ -8014,7 +8014,7 @@ const jc = function(r, e, t, i, s) {
|
|
|
8014
8014
|
}), n.addEventListener("keydown", (m) => {
|
|
8015
8015
|
m.keyCode === 13 && t(u(!1)), m.keyCode === 27 && i();
|
|
8016
8016
|
}), n;
|
|
8017
|
-
},
|
|
8017
|
+
}, Zc = process.env.NODE_ENV === "development", Qc = function(r, e, t, i, s) {
|
|
8018
8018
|
const o = s.format, n = s.verticalNavigation || "editor", a = o ? typeof window < "u" && window.DateTime || typeof globalThis < "u" && globalThis.luxon?.DateTime : null;
|
|
8019
8019
|
let l, h = r.getValue();
|
|
8020
8020
|
const c = document.createElement("input");
|
|
@@ -8029,7 +8029,7 @@ const jc = function(r, e, t, i, s) {
|
|
|
8029
8029
|
} else
|
|
8030
8030
|
c.setAttribute(m, s.elementAttributes[m]);
|
|
8031
8031
|
const d = String(h ?? "");
|
|
8032
|
-
o && a && d !== "" ? (a.isDateTime?.(h) ? l = h : o === "iso" ? l = a.fromISO(d) : l = a.fromFormat(d, o), h = l.toFormat("HH:mm")) : o && !a &&
|
|
8032
|
+
o && a && d !== "" ? (a.isDateTime?.(h) ? l = h : o === "iso" ? l = a.fromISO(d) : l = a.fromFormat(d, o), h = l.toFormat("HH:mm")) : o && !a && Zc && console.error(
|
|
8033
8033
|
"Editor Error - 'time' editor 'format' param is dependent on luxon.js"
|
|
8034
8034
|
);
|
|
8035
8035
|
const p = String(h ?? "");
|
|
@@ -8079,20 +8079,20 @@ const jc = function(r, e, t, i, s) {
|
|
|
8079
8079
|
break;
|
|
8080
8080
|
}
|
|
8081
8081
|
}), c;
|
|
8082
|
-
},
|
|
8083
|
-
adaptable:
|
|
8084
|
-
date:
|
|
8085
|
-
datetime:
|
|
8086
|
-
input:
|
|
8087
|
-
list:
|
|
8088
|
-
number:
|
|
8089
|
-
progress:
|
|
8090
|
-
range:
|
|
8091
|
-
star:
|
|
8092
|
-
textarea:
|
|
8093
|
-
tickCross:
|
|
8094
|
-
time:
|
|
8095
|
-
}, Oi = process.env.NODE_ENV === "development", kn = "tabulator-edit-list-trigger",
|
|
8082
|
+
}, ed = {
|
|
8083
|
+
adaptable: zh,
|
|
8084
|
+
date: Oh,
|
|
8085
|
+
datetime: Ph,
|
|
8086
|
+
input: Ih,
|
|
8087
|
+
list: Gc,
|
|
8088
|
+
number: Uc,
|
|
8089
|
+
progress: Kc,
|
|
8090
|
+
range: qc,
|
|
8091
|
+
star: Xc,
|
|
8092
|
+
textarea: Jc,
|
|
8093
|
+
tickCross: Yc,
|
|
8094
|
+
time: Qc
|
|
8095
|
+
}, Oi = process.env.NODE_ENV === "development", kn = "tabulator-edit-list-trigger", td = "tabulator-edit-list-trigger-caret", id = E`<button aria-label="Open list editor" class=${kn} 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",
|
|
@@ -8360,7 +8360,7 @@ const jc = function(r, e, t, i, s) {
|
|
|
8360
8360
|
if (!t || t.classList.contains("tabulator-editing") || t.querySelector(`.${kn}`))
|
|
8361
8361
|
return;
|
|
8362
8362
|
const i = W(
|
|
8363
|
-
|
|
8363
|
+
id
|
|
8364
8364
|
);
|
|
8365
8365
|
i.addEventListener("mousedown", (s) => {
|
|
8366
8366
|
s.preventDefault(), s.stopPropagation();
|
|
@@ -8501,9 +8501,9 @@ const jc = function(r, e, t, i, s) {
|
|
|
8501
8501
|
t > -1 && this.editedCells.splice(t, 1);
|
|
8502
8502
|
}
|
|
8503
8503
|
};
|
|
8504
|
-
vi.moduleName = "edit", vi.editors =
|
|
8504
|
+
vi.moduleName = "edit", vi.editors = ed;
|
|
8505
8505
|
let zs = vi;
|
|
8506
|
-
const
|
|
8506
|
+
const sd = {}, od = {
|
|
8507
8507
|
active: function() {
|
|
8508
8508
|
return this.options.pagination ? this.rowManager?.getDisplayRows(
|
|
8509
8509
|
this.rowManager.displayRows.length - 2
|
|
@@ -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
|
|
8532
|
+
const rd = process.env.NODE_ENV === "development", zt = class zt 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
|
}
|
|
@@ -8698,7 +8698,7 @@ const od = process.env.NODE_ENV === "development", zt = class zt extends I {
|
|
|
8698
8698
|
"font-weight",
|
|
8699
8699
|
"font-family",
|
|
8700
8700
|
"font-size"
|
|
8701
|
-
]), e.length > 1e3 &&
|
|
8701
|
+
]), e.length > 1e3 && rd && console.warn(
|
|
8702
8702
|
"It may take a long time to render an HTML table with more than 1000 rows"
|
|
8703
8703
|
), e.forEach((h, c) => {
|
|
8704
8704
|
let d;
|
|
@@ -8985,9 +8985,9 @@ const od = process.env.NODE_ENV === "development", zt = class zt extends I {
|
|
|
8985
8985
|
}
|
|
8986
8986
|
}
|
|
8987
8987
|
};
|
|
8988
|
-
zt.moduleName = "export", zt.columnLookups =
|
|
8988
|
+
zt.moduleName = "export", zt.columnLookups = sd, zt.rowLookups = od;
|
|
8989
8989
|
let _s = zt;
|
|
8990
|
-
const Cr = process.env.NODE_ENV === "development",
|
|
8990
|
+
const Cr = process.env.NODE_ENV === "development", nd = {
|
|
8991
8991
|
// not equal to
|
|
8992
8992
|
"!=": function(r, e, t, i) {
|
|
8993
8993
|
return e != r;
|
|
@@ -9049,15 +9049,15 @@ const Cr = process.env.NODE_ENV === "development", rd = {
|
|
|
9049
9049
|
starts: function(r, e, t, i) {
|
|
9050
9050
|
return r == null ? e === r : e != null ? String(e).toLowerCase().startsWith(r.toLowerCase()) : !1;
|
|
9051
9051
|
}
|
|
9052
|
-
},
|
|
9052
|
+
}, ad = /<[^>]*>/g;
|
|
9053
9053
|
function rs(r) {
|
|
9054
9054
|
return !!r && typeof r == "object" && !Array.isArray(r) && typeof r != "function";
|
|
9055
9055
|
}
|
|
9056
9056
|
function Ui(r, e, t) {
|
|
9057
9057
|
e != null && (t !== void 0 && e === t || r.push(e));
|
|
9058
9058
|
}
|
|
9059
|
-
function
|
|
9060
|
-
return r == null ? "" : String(r).replace(
|
|
9059
|
+
function ld(r) {
|
|
9060
|
+
return r == null ? "" : String(r).replace(ad, "");
|
|
9061
9061
|
}
|
|
9062
9062
|
function Ae(r) {
|
|
9063
9063
|
try {
|
|
@@ -9067,7 +9067,7 @@ function Ae(r) {
|
|
|
9067
9067
|
}
|
|
9068
9068
|
}
|
|
9069
9069
|
const Tn = Symbol("skip-composite-element");
|
|
9070
|
-
function
|
|
9070
|
+
function hd(r, e, t, i, s) {
|
|
9071
9071
|
if (typeof r?.getValue == "function")
|
|
9072
9072
|
return Tn;
|
|
9073
9073
|
if (r?.value !== void 0)
|
|
@@ -9075,18 +9075,18 @@ function ld(r, e, t, i, s) {
|
|
|
9075
9075
|
const o = r?.field;
|
|
9076
9076
|
return typeof o == "string" && o.length > 0 ? o === e ? t : s ? te.retrieveNestedData(s, o, i) : i[o] : t;
|
|
9077
9077
|
}
|
|
9078
|
-
function
|
|
9078
|
+
function cd(r, e, t) {
|
|
9079
9079
|
return !!(typeof r?.shouldHide == "function" && Ae(() => r.shouldHide(e, t)) || r?.hideValues !== void 0 && (Array.isArray(r.hideValues) ? r.hideValues : [r.hideValues]).includes(e) || typeof r?.shouldShow == "function" && !Ae(
|
|
9080
9080
|
() => r.shouldShow(e, t)
|
|
9081
9081
|
) || r?.showValues !== void 0 && !(Array.isArray(r.showValues) ? r.showValues : [r.showValues]).includes(e));
|
|
9082
9082
|
}
|
|
9083
|
-
function
|
|
9083
|
+
function dd(r, e) {
|
|
9084
9084
|
const { formatterParams: t, rawValue: i, rowData: s, separator: o, table: n } = r, a = t?.elements;
|
|
9085
9085
|
if (!Array.isArray(a))
|
|
9086
9086
|
return [];
|
|
9087
9087
|
const l = [];
|
|
9088
9088
|
for (const h of a) {
|
|
9089
|
-
const c =
|
|
9089
|
+
const c = hd(
|
|
9090
9090
|
h,
|
|
9091
9091
|
e,
|
|
9092
9092
|
i,
|
|
@@ -9101,7 +9101,7 @@ function cd(r, e) {
|
|
|
9101
9101
|
const u = p[String(c)];
|
|
9102
9102
|
u !== void 0 && (d = u);
|
|
9103
9103
|
}
|
|
9104
|
-
if (!
|
|
9104
|
+
if (!cd(h, d, s) && (d !== c && Ui(l, d, c), h?.formatter !== void 0)) {
|
|
9105
9105
|
const u = Ro({
|
|
9106
9106
|
columnField: e,
|
|
9107
9107
|
formatter: h.formatter,
|
|
@@ -9117,14 +9117,14 @@ function cd(r, e) {
|
|
|
9117
9117
|
}
|
|
9118
9118
|
return l;
|
|
9119
9119
|
}
|
|
9120
|
-
function
|
|
9120
|
+
function ud(r) {
|
|
9121
9121
|
const { formatterParams: e, rawValue: t } = r;
|
|
9122
9122
|
if (!rs(e))
|
|
9123
9123
|
return [];
|
|
9124
9124
|
const i = e[String(t)];
|
|
9125
9125
|
return i == null || i === t ? [] : [i];
|
|
9126
9126
|
}
|
|
9127
|
-
function
|
|
9127
|
+
function pd(r) {
|
|
9128
9128
|
const { formatterParams: e, rawValue: t, separator: i, table: s } = r;
|
|
9129
9129
|
if (!Array.isArray(t))
|
|
9130
9130
|
return [];
|
|
@@ -9141,7 +9141,7 @@ function ud(r) {
|
|
|
9141
9141
|
}
|
|
9142
9142
|
return [a.join(o)];
|
|
9143
9143
|
}
|
|
9144
|
-
function
|
|
9144
|
+
function fd(r) {
|
|
9145
9145
|
const { formatterParams: e, rawValue: t } = r;
|
|
9146
9146
|
if (t == null || t === "")
|
|
9147
9147
|
return [];
|
|
@@ -9158,7 +9158,7 @@ function pd(r) {
|
|
|
9158
9158
|
}
|
|
9159
9159
|
return i;
|
|
9160
9160
|
}
|
|
9161
|
-
function
|
|
9161
|
+
function md(r) {
|
|
9162
9162
|
const { formatterParams: e, rawValue: t, rowData: i, separator: s, table: o } = r;
|
|
9163
9163
|
if (!e)
|
|
9164
9164
|
return [];
|
|
@@ -9169,7 +9169,7 @@ function fd(r) {
|
|
|
9169
9169
|
}
|
|
9170
9170
|
return typeof e.label == "string" && (n = e.label, a = !0), a ? n != null && n !== t ? [n] : [] : [];
|
|
9171
9171
|
}
|
|
9172
|
-
function
|
|
9172
|
+
function gd(r) {
|
|
9173
9173
|
const { formatterParams: e, rawValue: t } = r, i = e ?? {}, s = parseFloat(String(t));
|
|
9174
9174
|
if (Number.isNaN(s))
|
|
9175
9175
|
return [];
|
|
@@ -9205,7 +9205,7 @@ function xr(r) {
|
|
|
9205
9205
|
r[i] !== void 0 && (e[i] = r[i]);
|
|
9206
9206
|
return e.style === "currency" && e.currency === void 0 && (e.currency = "USD"), e;
|
|
9207
9207
|
}
|
|
9208
|
-
function
|
|
9208
|
+
function bd(r) {
|
|
9209
9209
|
if (!r || typeof r != "object")
|
|
9210
9210
|
return Ae(() => new Intl.NumberFormat(void 0, xr({}))) ?? null;
|
|
9211
9211
|
if (cs.has(r))
|
|
@@ -9213,14 +9213,14 @@ function gd(r) {
|
|
|
9213
9213
|
const e = Ae(() => new Intl.NumberFormat(void 0, xr(r))) ?? null;
|
|
9214
9214
|
return cs.set(r, e), e;
|
|
9215
9215
|
}
|
|
9216
|
-
function
|
|
9216
|
+
function wd(r) {
|
|
9217
9217
|
const { formatterParams: e, rawValue: t } = r;
|
|
9218
9218
|
if (t == null || t === "")
|
|
9219
9219
|
return [];
|
|
9220
9220
|
const i = Number(t);
|
|
9221
9221
|
if (Number.isNaN(i))
|
|
9222
9222
|
return [];
|
|
9223
|
-
const s =
|
|
9223
|
+
const s = bd(e);
|
|
9224
9224
|
if (!s)
|
|
9225
9225
|
return [];
|
|
9226
9226
|
const o = Ae(() => s.format(i));
|
|
@@ -9238,7 +9238,7 @@ function Ln(r, e, t) {
|
|
|
9238
9238
|
function Wi(r, e) {
|
|
9239
9239
|
return typeof r == "string" && r.length > 0 && r !== e ? [r] : [];
|
|
9240
9240
|
}
|
|
9241
|
-
function
|
|
9241
|
+
function vd(r) {
|
|
9242
9242
|
const { formatterParams: e, rawValue: t, table: i } = r, s = Fn(i), o = e ?? {}, n = o.invalidPlaceholder ?? "";
|
|
9243
9243
|
if (!s)
|
|
9244
9244
|
return [];
|
|
@@ -9248,7 +9248,7 @@ function wd(r) {
|
|
|
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
|
-
function
|
|
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
9254
|
return Wi(n, t);
|
|
@@ -9261,7 +9261,7 @@ function vd(r) {
|
|
|
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
|
}
|
|
9264
|
-
function
|
|
9264
|
+
function Cd(r, e) {
|
|
9265
9265
|
if (r == null)
|
|
9266
9266
|
return;
|
|
9267
9267
|
let t = String(r);
|
|
@@ -9269,26 +9269,26 @@ function yd(r, e) {
|
|
|
9269
9269
|
return typeof i == "string" && i.length > 0 && (t = i + t), typeof s == "string" && s.length > 0 && (t = t + s), t;
|
|
9270
9270
|
}
|
|
9271
9271
|
function zn(r) {
|
|
9272
|
-
const { formatterParams: e, rawValue: t } = r, i =
|
|
9272
|
+
const { formatterParams: e, rawValue: t } = r, i = Cd(t, e);
|
|
9273
9273
|
return i === void 0 || i === String(t) ? [] : [i];
|
|
9274
9274
|
}
|
|
9275
|
-
function
|
|
9275
|
+
function xd(r) {
|
|
9276
9276
|
return zn(r);
|
|
9277
9277
|
}
|
|
9278
9278
|
function _n(r) {
|
|
9279
9279
|
if (typeof r.rawValue != "string" || !r.rawValue.includes("<"))
|
|
9280
9280
|
return [];
|
|
9281
|
-
const e =
|
|
9281
|
+
const e = ld(r.rawValue);
|
|
9282
9282
|
return !e || e === r.rawValue ? [] : [e];
|
|
9283
9283
|
}
|
|
9284
|
-
function
|
|
9284
|
+
function Ed(r) {
|
|
9285
9285
|
return _n(r);
|
|
9286
9286
|
}
|
|
9287
|
-
function
|
|
9287
|
+
function Rd(r) {
|
|
9288
9288
|
const { formatterParams: e, rawValue: t } = r, i = e ?? {}, s = i.indent ?? " ", o = i.replacer ?? null, n = Ae(() => JSON.stringify(t, o, s));
|
|
9289
9289
|
return n === void 0 || n === t ? [] : [n];
|
|
9290
9290
|
}
|
|
9291
|
-
function
|
|
9291
|
+
function Sd(r, e) {
|
|
9292
9292
|
const { formatterParams: t, rawValue: i, rowData: s, separator: o, table: n } = r, a = t ?? {};
|
|
9293
9293
|
let l;
|
|
9294
9294
|
if (typeof a.formatterLookup == "function") {
|
|
@@ -9325,20 +9325,20 @@ function Rd(r, e) {
|
|
|
9325
9325
|
table: n
|
|
9326
9326
|
});
|
|
9327
9327
|
}
|
|
9328
|
-
const
|
|
9329
|
-
array:
|
|
9330
|
-
datetime:
|
|
9331
|
-
datetimediff:
|
|
9328
|
+
const Dd = {
|
|
9329
|
+
array: pd,
|
|
9330
|
+
datetime: vd,
|
|
9331
|
+
datetimediff: yd,
|
|
9332
9332
|
html: _n,
|
|
9333
|
-
json:
|
|
9334
|
-
link:
|
|
9335
|
-
lookup:
|
|
9336
|
-
money:
|
|
9337
|
-
number:
|
|
9333
|
+
json: Rd,
|
|
9334
|
+
link: md,
|
|
9335
|
+
lookup: ud,
|
|
9336
|
+
money: gd,
|
|
9337
|
+
number: wd,
|
|
9338
9338
|
plaintext: zn,
|
|
9339
|
-
tag:
|
|
9340
|
-
textarea:
|
|
9341
|
-
typography:
|
|
9339
|
+
tag: fd,
|
|
9340
|
+
textarea: Ed,
|
|
9341
|
+
typography: xd
|
|
9342
9342
|
};
|
|
9343
9343
|
function Ro(r) {
|
|
9344
9344
|
const e = r.formatter;
|
|
@@ -9352,13 +9352,13 @@ function Ro(r) {
|
|
|
9352
9352
|
table: r.table
|
|
9353
9353
|
};
|
|
9354
9354
|
if (e === "composite")
|
|
9355
|
-
return
|
|
9355
|
+
return dd(t, r.columnField);
|
|
9356
9356
|
if (e === "adaptable")
|
|
9357
|
-
return
|
|
9358
|
-
const i =
|
|
9357
|
+
return Sd(t, r.columnField);
|
|
9358
|
+
const i = Dd[e];
|
|
9359
9359
|
return i ? i(t) : [];
|
|
9360
9360
|
}
|
|
9361
|
-
function
|
|
9361
|
+
function Md(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;
|
|
@@ -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 = Md(
|
|
9806
9806
|
t,
|
|
9807
9807
|
u,
|
|
9808
9808
|
m,
|
|
@@ -10008,9 +10008,9 @@ const Pe = process.env.NODE_ENV === "development", pt = class pt extends I {
|
|
|
10008
10008
|
}) : i = e.func(t), i;
|
|
10009
10009
|
}
|
|
10010
10010
|
};
|
|
10011
|
-
pt.moduleName = "filter", pt.filters =
|
|
10011
|
+
pt.moduleName = "filter", pt.filters = nd;
|
|
10012
10012
|
let Ki = pt;
|
|
10013
|
-
const
|
|
10013
|
+
const kd = 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 Md = 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 && kd && 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
|
}
|
|
@@ -10264,9 +10264,9 @@ const Er = process.env.NODE_ENV === "development", zo = class zo extends I {
|
|
|
10264
10264
|
};
|
|
10265
10265
|
zo.moduleName = "frozenRows";
|
|
10266
10266
|
let As = zo;
|
|
10267
|
-
const
|
|
10267
|
+
const Td = process.env.NODE_ENV === "development", Fd = E`<cx-icon-button class="tabulator-group-toggle" name="keyboard_arrow_down"></cx-icon-button>`, Ld = E`<div class="tabulator-group-level-indent"></div>`, zd = E`<cx-button size="small"><cx-icon slot="prefix" name="add" variant="outlined"></cx-icon>
|
|
10268
10268
|
Load More
|
|
10269
|
-
</cx-button>`,
|
|
10269
|
+
</cx-button>`, _d = E`<div class="tabulator-data-tree-loading">Loading...</div>`;
|
|
10270
10270
|
class ei {
|
|
10271
10271
|
constructor(e, t, i, s, o, n, a) {
|
|
10272
10272
|
this._loadMoreRow = !1, this._loadMoreStateKey = "", this.groupManager = e, this.parent = t, this.key = s, this.level = i, this.field = o, this.hasSubGroups = e.groupIDLookups !== !1 && i < e.groupIDLookups.length - 1, this.addRow = this.hasSubGroups ? this._addRowToGroup : this._addRow, this.type = "group", this.old = a, this.rows = [], this.groups = {}, this.groupList = [], this.generator = n, this.element = !1, this.elementContents = !1, this.height = 0, this.outerHeight = 0, this.initialized = !1, this.heightInitialized = !1, this.calcs = {}, this.modules = {}, this.arrowElement = !1, this.visible = a ? a.visible : e.startOpen[i] === void 0 || e.startOpen[i] === null ? e.startOpen[0] : e.startOpen[i], this.component = null, this.createElements(), this.addBindings(), this.createValueGroups();
|
|
@@ -10285,7 +10285,7 @@ class ei {
|
|
|
10285
10285
|
this.element = document.createElement("div"), this.element.classList.add("tabulator-row"), this.element.classList.add("tabulator-group"), this.element.classList.add("tabulator-group-level-" + this.level), this.element.setAttribute(
|
|
10286
10286
|
"role",
|
|
10287
10287
|
this.groupManager.table.options.rowGroupRole ?? "rowgroup"
|
|
10288
|
-
), this.arrowElement = W(
|
|
10288
|
+
), this.arrowElement = W(Fd), this.groupManager.table.options.movableRows !== !1 && this.groupManager.table.modExists("moveRow") && this.groupManager.table.modules.moveRow.initializeGroupHeader(
|
|
10289
10289
|
this
|
|
10290
10290
|
);
|
|
10291
10291
|
}
|
|
@@ -10352,7 +10352,7 @@ class ei {
|
|
|
10352
10352
|
let s = i.querySelector(
|
|
10353
10353
|
".tabulator-group-level-indent"
|
|
10354
10354
|
);
|
|
10355
|
-
s || (s = W(
|
|
10355
|
+
s || (s = W(Ld), i.insertBefore(s, i.firstChild)), this.applyGroupIndent(
|
|
10356
10356
|
s,
|
|
10357
10357
|
(this.level + 1) * (this.groupManager.table.options.groupIndent ?? ws)
|
|
10358
10358
|
), s.dataset.groupLevel = this.level.toString();
|
|
@@ -10376,7 +10376,7 @@ class ei {
|
|
|
10376
10376
|
}
|
|
10377
10377
|
// update row data to match grouping constraints
|
|
10378
10378
|
conformRowData(e) {
|
|
10379
|
-
return this.field ? e[this.field] = this.key :
|
|
10379
|
+
return this.field ? e[this.field] = this.key : Td && console.warn(
|
|
10380
10380
|
"Data Conforming Error - Cannot conform row data to match new group as groupBy is a function"
|
|
10381
10381
|
), this.parent && (e = this.parent.conformRowData(e)), e;
|
|
10382
10382
|
}
|
|
@@ -10395,13 +10395,13 @@ class ei {
|
|
|
10395
10395
|
return En(yo(this));
|
|
10396
10396
|
}
|
|
10397
10397
|
getLoadMoreState() {
|
|
10398
|
-
return
|
|
10398
|
+
return th(
|
|
10399
10399
|
this.groupManager.table.options.groupLoadMoreMeta,
|
|
10400
10400
|
this.getPathKey()
|
|
10401
10401
|
);
|
|
10402
10402
|
}
|
|
10403
10403
|
getGroupLoadMoreEventPayload() {
|
|
10404
|
-
return
|
|
10404
|
+
return ih(this);
|
|
10405
10405
|
}
|
|
10406
10406
|
generateLoadMoreRow() {
|
|
10407
10407
|
const e = this.getLoadMoreState(), t = `hasMore:${!!e?.hasMore}|loading:${!!e?.loading}`;
|
|
@@ -10416,10 +10416,10 @@ class ei {
|
|
|
10416
10416
|
i
|
|
10417
10417
|
), o = (this.level + 1) * (this.groupManager.table.options.groupIndent ?? ws);
|
|
10418
10418
|
if (s.create(), e.loading) {
|
|
10419
|
-
const l = W(
|
|
10419
|
+
const l = W(_d);
|
|
10420
10420
|
return s.element.appendChild(l), this.applyGroupIndent(l, o), this._loadMoreRow = s, s;
|
|
10421
10421
|
}
|
|
10422
|
-
const n = W(
|
|
10422
|
+
const n = W(zd), a = this.getGroupLoadMoreEventPayload();
|
|
10423
10423
|
return s.element.appendChild(n), this.applyGroupIndent(n, o), n.addEventListener("click", (l) => {
|
|
10424
10424
|
l.preventDefault(), l.stopPropagation(), l.stopImmediatePropagation(), this.groupManager.table.externalEvents?.dispatch("groupLoadMore", a);
|
|
10425
10425
|
}), this._loadMoreRow = s, s;
|
|
@@ -11068,7 +11068,7 @@ const ds = process.env.NODE_ENV === "development", _o = class _o extends I {
|
|
|
11068
11068
|
};
|
|
11069
11069
|
_o.moduleName = "groupRows";
|
|
11070
11070
|
let Ps = _o;
|
|
11071
|
-
const
|
|
11071
|
+
const Od = {
|
|
11072
11072
|
cellEdit: function(r) {
|
|
11073
11073
|
"setValueProcessData" in r.component && (r.component.setValueProcessData(r.data.newValue), r.component.cellRendered());
|
|
11074
11074
|
},
|
|
@@ -11095,7 +11095,7 @@ const _d = {
|
|
|
11095
11095
|
), this.table.rowManager.regenerateRowPositions(), this.table.rowManager.reRenderInPosition());
|
|
11096
11096
|
}
|
|
11097
11097
|
}
|
|
11098
|
-
},
|
|
11098
|
+
}, Ad = {
|
|
11099
11099
|
cellEdit: function(r) {
|
|
11100
11100
|
"setValueProcessData" in r.component && (r.component.setValueProcessData(r.data.oldValue), r.component.cellRendered());
|
|
11101
11101
|
},
|
|
@@ -11122,7 +11122,7 @@ const _d = {
|
|
|
11122
11122
|
), this.table.rowManager.regenerateRowPositions(), this.table.rowManager.reRenderInPosition());
|
|
11123
11123
|
}
|
|
11124
11124
|
}
|
|
11125
|
-
},
|
|
11125
|
+
}, Pd = {
|
|
11126
11126
|
redo: function(r) {
|
|
11127
11127
|
let e;
|
|
11128
11128
|
this.table.options.history && this.table.modExists("history") && this.table.modExists("edit") && (e = this.table.modules.edit?.currentCell, e || (r.preventDefault(), this.table.modules.history?.redo()));
|
|
@@ -11131,13 +11131,13 @@ const _d = {
|
|
|
11131
11131
|
let e;
|
|
11132
11132
|
this.table.options.history && this.table.modExists("history") && this.table.modExists("edit") && (e = this.table.modules.edit?.currentCell, e || (r.preventDefault(), this.table.modules.history?.undo()));
|
|
11133
11133
|
}
|
|
11134
|
-
},
|
|
11134
|
+
}, Id = {
|
|
11135
11135
|
redo: ["ctrl + 89", "meta + 89"],
|
|
11136
11136
|
undo: ["ctrl + 90", "meta + 90"]
|
|
11137
|
-
},
|
|
11137
|
+
}, Hd = {
|
|
11138
11138
|
keybindings: {
|
|
11139
|
-
actions:
|
|
11140
|
-
bindings:
|
|
11139
|
+
actions: Pd,
|
|
11140
|
+
bindings: Id
|
|
11141
11141
|
}
|
|
11142
11142
|
}, Rr = process.env.NODE_ENV === "development", ft = class ft extends I {
|
|
11143
11143
|
constructor(e) {
|
|
@@ -11257,9 +11257,9 @@ const _d = {
|
|
|
11257
11257
|
});
|
|
11258
11258
|
}
|
|
11259
11259
|
};
|
|
11260
|
-
ft.moduleName = "history", ft.moduleExtensions =
|
|
11260
|
+
ft.moduleName = "history", ft.moduleExtensions = Hd, ft.undoers = Ad, ft.redoers = Od;
|
|
11261
11261
|
let Is = ft;
|
|
11262
|
-
const
|
|
11262
|
+
const Nd = process.env.NODE_ENV === "development", Oo = class Oo extends I {
|
|
11263
11263
|
constructor(e) {
|
|
11264
11264
|
super(e), this.fieldIndex = [], this.hasIndex = !1;
|
|
11265
11265
|
}
|
|
@@ -11267,7 +11267,7 @@ const Hd = process.env.NODE_ENV === "development", Oo = class Oo extends I {
|
|
|
11267
11267
|
this.tableElementCheck();
|
|
11268
11268
|
}
|
|
11269
11269
|
tableElementCheck() {
|
|
11270
|
-
this.table.originalElement?.tagName === "TABLE" && (this.table.originalElement.childNodes.length ? this.parseTable() :
|
|
11270
|
+
this.table.originalElement?.tagName === "TABLE" && (this.table.originalElement.childNodes.length ? this.parseTable() : Nd && console.warn(
|
|
11271
11271
|
"Unable to parse data from empty table tag, Tabulator should be initialized on a div tag unless importing data from a table element."
|
|
11272
11272
|
));
|
|
11273
11273
|
}
|
|
@@ -11340,7 +11340,7 @@ const Hd = process.env.NODE_ENV === "development", Oo = class Oo extends I {
|
|
|
11340
11340
|
};
|
|
11341
11341
|
Oo.moduleName = "htmlTableImport";
|
|
11342
11342
|
let Hs = Oo;
|
|
11343
|
-
function
|
|
11343
|
+
function Vd(r) {
|
|
11344
11344
|
return r;
|
|
11345
11345
|
}
|
|
11346
11346
|
var ji = { exports: {} };
|
|
@@ -11350,12 +11350,12 @@ v5.5.4
|
|
|
11350
11350
|
https://github.com/mholt/PapaParse
|
|
11351
11351
|
License: MIT
|
|
11352
11352
|
*/
|
|
11353
|
-
var
|
|
11354
|
-
function
|
|
11353
|
+
var Bd = ji.exports, Sr;
|
|
11354
|
+
function $d() {
|
|
11355
11355
|
return Sr || (Sr = 1, function(r, e) {
|
|
11356
11356
|
((t, i) => {
|
|
11357
11357
|
r.exports = i();
|
|
11358
|
-
})(
|
|
11358
|
+
})(Bd, function t() {
|
|
11359
11359
|
var i = typeof self < "u" ? self : typeof window < "u" ? window : i !== void 0 ? i : {}, s, o = !i.document && !!i.postMessage, n = i.IS_PAPA_WORKER || !1, a = {}, l = 0, h = {};
|
|
11360
11360
|
function c(b) {
|
|
11361
11361
|
return b.charCodeAt(0) === 65279 ? b.slice(1) : b;
|
|
@@ -11764,23 +11764,23 @@ function Bd() {
|
|
|
11764
11764
|
});
|
|
11765
11765
|
}(ji)), ji.exports;
|
|
11766
11766
|
}
|
|
11767
|
-
var
|
|
11768
|
-
const So = /* @__PURE__ */ Ma(
|
|
11769
|
-
function
|
|
11767
|
+
var Wd = $d();
|
|
11768
|
+
const So = /* @__PURE__ */ Ma(Wd);
|
|
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)
|
|
11772
11772
|
throw new Error(`CSV parse error: ${t[0].message}`);
|
|
11773
11773
|
return e.data;
|
|
11774
11774
|
}
|
|
11775
|
-
const
|
|
11776
|
-
async function
|
|
11775
|
+
const Gd = process.env.NODE_ENV === "development";
|
|
11776
|
+
async function Ud(r) {
|
|
11777
11777
|
try {
|
|
11778
11778
|
return JSON.parse(r);
|
|
11779
11779
|
} catch (e) {
|
|
11780
|
-
throw
|
|
11780
|
+
throw Gd && console.warn("JSON Import Error - File contents is invalid JSON", e), new Error("Invalid JSON format");
|
|
11781
11781
|
}
|
|
11782
11782
|
}
|
|
11783
|
-
const Dr = process.env.NODE_ENV === "development",
|
|
11783
|
+
const Dr = process.env.NODE_ENV === "development", Kd = function(r) {
|
|
11784
11784
|
const t = this.dependencyRegistry.lookup("XLSX");
|
|
11785
11785
|
if (!t)
|
|
11786
11786
|
return Dr && console.warn("XLSX library not found in dependency registry"), [];
|
|
@@ -11789,11 +11789,11 @@ const Dr = process.env.NODE_ENV === "development", Ud = function(r) {
|
|
|
11789
11789
|
return Dr && console.warn("XLSX workbook contains no sheets"), [];
|
|
11790
11790
|
const s = i.Sheets[i.SheetNames[0]];
|
|
11791
11791
|
return t.utils.sheet_to_json(s, { header: 1 });
|
|
11792
|
-
},
|
|
11793
|
-
array:
|
|
11794
|
-
csv:
|
|
11795
|
-
json:
|
|
11796
|
-
xlsx:
|
|
11792
|
+
}, qd = {
|
|
11793
|
+
array: Vd,
|
|
11794
|
+
csv: jd,
|
|
11795
|
+
json: Ud,
|
|
11796
|
+
xlsx: Kd
|
|
11797
11797
|
}, mi = process.env.NODE_ENV === "development", yi = class yi extends I {
|
|
11798
11798
|
constructor(e) {
|
|
11799
11799
|
super(e), this.registerTableOption("importFormat"), this.registerTableOption("importReader", "text"), this.registerTableOption("importHeaderTransform"), this.registerTableOption("importValueTransform"), this.registerTableOption("importDataValidator"), this.registerTableOption("importFileValidator");
|
|
@@ -11950,7 +11950,7 @@ const Dr = process.env.NODE_ENV === "development", Ud = function(r) {
|
|
|
11950
11950
|
return this.dispatch("import-imported", e), this.dispatchExternal("importImported", e), this.table.dataLoader?.clearAlert(), this.table.setData(e);
|
|
11951
11951
|
}
|
|
11952
11952
|
};
|
|
11953
|
-
yi.moduleName = "import", yi.importers =
|
|
11953
|
+
yi.moduleName = "import", yi.importers = qd;
|
|
11954
11954
|
let Ns = yi;
|
|
11955
11955
|
const Ao = class Ao extends I {
|
|
11956
11956
|
constructor(e) {
|
|
@@ -12136,7 +12136,7 @@ const Ao = class Ao extends I {
|
|
|
12136
12136
|
};
|
|
12137
12137
|
Ao.moduleName = "interaction";
|
|
12138
12138
|
let Vs = Ao;
|
|
12139
|
-
const
|
|
12139
|
+
const Xd = {
|
|
12140
12140
|
keyBlock: function(r) {
|
|
12141
12141
|
r.stopPropagation(), r.preventDefault();
|
|
12142
12142
|
},
|
|
@@ -12184,7 +12184,7 @@ const qd = {
|
|
|
12184
12184
|
const e = this.table.rowManager;
|
|
12185
12185
|
e && (r.preventDefault(), e.displayRowsCount && e.scrollToRow(e.getDisplayRows()[0]), this.table.element.focus());
|
|
12186
12186
|
}
|
|
12187
|
-
},
|
|
12187
|
+
}, Jd = {
|
|
12188
12188
|
navDown: 40,
|
|
12189
12189
|
navLeft: 37,
|
|
12190
12190
|
navNext: 9,
|
|
@@ -12195,7 +12195,7 @@ const qd = {
|
|
|
12195
12195
|
scrollPageUp: 33,
|
|
12196
12196
|
scrollToEnd: 35,
|
|
12197
12197
|
scrollToStart: 36
|
|
12198
|
-
},
|
|
12198
|
+
}, Yd = process.env.NODE_ENV === "development", _t = class _t 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
|
}
|
|
@@ -12209,7 +12209,7 @@ const qd = {
|
|
|
12209
12209
|
(Array.isArray(i) ? i : [i]).forEach((o) => {
|
|
12210
12210
|
this.mapBinding(t, o);
|
|
12211
12211
|
});
|
|
12212
|
-
})) :
|
|
12212
|
+
})) : Yd && console.warn("Key Binding Error - no such action:", t);
|
|
12213
12213
|
}
|
|
12214
12214
|
mapBinding(e, t) {
|
|
12215
12215
|
const i = {
|
|
@@ -12262,7 +12262,7 @@ const qd = {
|
|
|
12262
12262
|
}), i && t.action.call(this, e), !0) : !1;
|
|
12263
12263
|
}
|
|
12264
12264
|
};
|
|
12265
|
-
_t.moduleName = "keybindings", _t.bindings =
|
|
12265
|
+
_t.moduleName = "keybindings", _t.bindings = Jd, _t.actions = Xd;
|
|
12266
12266
|
let Bs = _t;
|
|
12267
12267
|
const Po = class Po extends I {
|
|
12268
12268
|
constructor(e) {
|
|
@@ -12547,7 +12547,7 @@ const Io = class Io extends I {
|
|
|
12547
12547
|
};
|
|
12548
12548
|
Io.moduleName = "moveColumn";
|
|
12549
12549
|
let Ws = Io;
|
|
12550
|
-
const
|
|
12550
|
+
const Zd = {
|
|
12551
12551
|
add: function(r, e, t) {
|
|
12552
12552
|
return r && this.table.addRow(r.getData("")), !0;
|
|
12553
12553
|
},
|
|
@@ -12560,7 +12560,7 @@ const Yd = {
|
|
|
12560
12560
|
update: function(r, e, t) {
|
|
12561
12561
|
return e && r ? (e.update(r.getData("")), !0) : !1;
|
|
12562
12562
|
}
|
|
12563
|
-
},
|
|
12563
|
+
}, Qd = {
|
|
12564
12564
|
delete: function(r, e, t) {
|
|
12565
12565
|
r && r.delete();
|
|
12566
12566
|
}
|
|
@@ -12906,9 +12906,9 @@ const Yd = {
|
|
|
12906
12906
|
}
|
|
12907
12907
|
}
|
|
12908
12908
|
};
|
|
12909
|
-
Kt.moduleName = "moveRow", Kt.senders =
|
|
12909
|
+
Kt.moduleName = "moveRow", Kt.senders = Qd, Kt.receivers = Zd;
|
|
12910
12910
|
let js = Kt;
|
|
12911
|
-
const
|
|
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");
|
|
12914
12914
|
}
|
|
@@ -12934,7 +12934,7 @@ const Qd = {}, eu = process.env.NODE_ENV === "development", oi = class oi extend
|
|
|
12934
12934
|
let t = !1;
|
|
12935
12935
|
switch (typeof e) {
|
|
12936
12936
|
case "string":
|
|
12937
|
-
oi.mutators[e] ? t = oi.mutators[e] :
|
|
12937
|
+
oi.mutators[e] ? t = oi.mutators[e] : tu && console.warn(
|
|
12938
12938
|
"Mutator Error - No such mutator found, ignoring: ",
|
|
12939
12939
|
e
|
|
12940
12940
|
);
|
|
@@ -12997,7 +12997,7 @@ const Qd = {}, eu = process.env.NODE_ENV === "development", oi = class oi extend
|
|
|
12997
12997
|
this.enabled = !1;
|
|
12998
12998
|
}
|
|
12999
12999
|
};
|
|
13000
|
-
oi.moduleName = "mutator", oi.mutators =
|
|
13000
|
+
oi.moduleName = "mutator", oi.mutators = eu;
|
|
13001
13001
|
let Gs = oi;
|
|
13002
13002
|
const Ho = class Ho extends I {
|
|
13003
13003
|
constructor(e) {
|
|
@@ -13280,7 +13280,7 @@ const Ho = class Ho extends I {
|
|
|
13280
13280
|
};
|
|
13281
13281
|
Ho.moduleName = "page";
|
|
13282
13282
|
let Us = Ho;
|
|
13283
|
-
const Mr = process.env.NODE_ENV === "development",
|
|
13283
|
+
const Mr = 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 + "=");
|
|
@@ -13308,7 +13308,7 @@ const Mr = process.env.NODE_ENV === "development", tu = {
|
|
|
13308
13308
|
return Mr && console.error("Failed to parse localStorage data:", i), !1;
|
|
13309
13309
|
}
|
|
13310
13310
|
}
|
|
13311
|
-
},
|
|
13311
|
+
}, su = {
|
|
13312
13312
|
cookie: function(r, e, t) {
|
|
13313
13313
|
const i = /* @__PURE__ */ new Date();
|
|
13314
13314
|
i.setDate(i.getDate() + 1e4), document.cookie = r + "-" + e + "=" + encodeURIComponent(JSON.stringify(t)) + "; expires=" + i.toUTCString();
|
|
@@ -13523,7 +13523,7 @@ const Mr = process.env.NODE_ENV === "development", tu = {
|
|
|
13523
13523
|
}), t;
|
|
13524
13524
|
}
|
|
13525
13525
|
};
|
|
13526
|
-
Be.moduleName = "persistence", Be.moduleInitOrder = -10, Be.readers =
|
|
13526
|
+
Be.moduleName = "persistence", Be.moduleInitOrder = -10, Be.readers = iu, Be.writers = su;
|
|
13527
13527
|
let Ks = Be;
|
|
13528
13528
|
const No = class No extends I {
|
|
13529
13529
|
constructor(e) {
|
|
@@ -14281,7 +14281,7 @@ const jo = class jo extends I {
|
|
|
14281
14281
|
};
|
|
14282
14282
|
jo.moduleName = "resizeTable";
|
|
14283
14283
|
let Qs = jo;
|
|
14284
|
-
function
|
|
14284
|
+
function ou(r) {
|
|
14285
14285
|
const e = document.createElement("div"), t = r.getRow()._row.modules.responsiveLayout;
|
|
14286
14286
|
e.classList.add("tabulator-responsive-collapse-toggle"), e.setAttribute("role", "button"), e.setAttribute("aria-label", "Toggle row details"), e.innerHTML = `<svg class='tabulator-responsive-collapse-toggle-open' viewBox="0 0 24 24" aria-hidden="true">
|
|
14287
14287
|
<line x1="7" y1="12" x2="17" y2="12" fill="none" stroke-width="3" stroke-linecap="round" />
|
|
@@ -14299,10 +14299,10 @@ function su(r) {
|
|
|
14299
14299
|
s.stopImmediatePropagation(), i(!t.open), r.getTable()?.rowManager?.adjustTableSize();
|
|
14300
14300
|
}), i(t.open), e;
|
|
14301
14301
|
}
|
|
14302
|
-
const
|
|
14302
|
+
const ru = {
|
|
14303
14303
|
format: {
|
|
14304
14304
|
formatters: {
|
|
14305
|
-
responsiveCollapse:
|
|
14305
|
+
responsiveCollapse: ou
|
|
14306
14306
|
}
|
|
14307
14307
|
}
|
|
14308
14308
|
}, qi = class qi extends I {
|
|
@@ -14464,11 +14464,11 @@ const ou = {
|
|
|
14464
14464
|
}), Object.keys(e).length ? t : "";
|
|
14465
14465
|
}
|
|
14466
14466
|
};
|
|
14467
|
-
qi.moduleName = "responsiveLayout", qi.moduleExtensions =
|
|
14467
|
+
qi.moduleName = "responsiveLayout", qi.moduleExtensions = ru;
|
|
14468
14468
|
let eo = qi;
|
|
14469
|
-
const
|
|
14470
|
-
function
|
|
14471
|
-
const i = W(
|
|
14469
|
+
const nu = E`<cx-checkbox></cx-checkbox>`;
|
|
14470
|
+
function au(r, e, t) {
|
|
14471
|
+
const i = W(nu);
|
|
14472
14472
|
let s = i, o = !1;
|
|
14473
14473
|
i.setAttribute("aria-label", "Select Row");
|
|
14474
14474
|
const n = this.table;
|
|
@@ -14494,10 +14494,10 @@ function nu(r, e, t) {
|
|
|
14494
14494
|
}
|
|
14495
14495
|
return s;
|
|
14496
14496
|
}
|
|
14497
|
-
const
|
|
14497
|
+
const lu = {
|
|
14498
14498
|
format: {
|
|
14499
14499
|
formatters: {
|
|
14500
|
-
rowSelection:
|
|
14500
|
+
rowSelection: au
|
|
14501
14501
|
}
|
|
14502
14502
|
}
|
|
14503
14503
|
}, Tr = process.env.NODE_ENV === "development", Xi = class Xi extends I {
|
|
@@ -14723,9 +14723,9 @@ const au = {
|
|
|
14723
14723
|
this._deselectRow(s, !0);
|
|
14724
14724
|
}
|
|
14725
14725
|
};
|
|
14726
|
-
Xi.moduleName = "selectRow", Xi.moduleExtensions =
|
|
14726
|
+
Xi.moduleName = "selectRow", Xi.moduleExtensions = lu;
|
|
14727
14727
|
let to = Xi;
|
|
14728
|
-
const
|
|
14728
|
+
const hu = {
|
|
14729
14729
|
range: function(r) {
|
|
14730
14730
|
if (!r || r.length === 0)
|
|
14731
14731
|
return [];
|
|
@@ -14745,7 +14745,7 @@ const lu = {
|
|
|
14745
14745
|
}
|
|
14746
14746
|
return e;
|
|
14747
14747
|
}
|
|
14748
|
-
},
|
|
14748
|
+
}, cu = {
|
|
14749
14749
|
range: function(r) {
|
|
14750
14750
|
const e = [], t = [], i = this.table.modules.selectRange.activeRange;
|
|
14751
14751
|
let s = !1, o, n, a, l, h;
|
|
@@ -14767,16 +14767,16 @@ const lu = {
|
|
|
14767
14767
|
}
|
|
14768
14768
|
return !1;
|
|
14769
14769
|
}
|
|
14770
|
-
},
|
|
14770
|
+
}, du = {
|
|
14771
14771
|
range: function() {
|
|
14772
14772
|
const r = this.modules.selectRange.selectedColumns();
|
|
14773
14773
|
return this.columnManager?.rowHeader && r.unshift(this.columnManager.rowHeader), r;
|
|
14774
14774
|
}
|
|
14775
|
-
},
|
|
14775
|
+
}, uu = process.env.NODE_ENV === "development", pu = {
|
|
14776
14776
|
range: function() {
|
|
14777
|
-
return this.modules?.selectRange ? this.modules.selectRange.selectedRows() : (
|
|
14777
|
+
return this.modules?.selectRange ? this.modules.selectRange.selectedRows() : (uu && console.warn("SelectRange module not loaded"), []);
|
|
14778
14778
|
}
|
|
14779
|
-
},
|
|
14779
|
+
}, fu = {
|
|
14780
14780
|
rangeExpandDown: function(r) {
|
|
14781
14781
|
this.dispatch("keybinding-nav-range", r, "down", !1, !0);
|
|
14782
14782
|
},
|
|
@@ -14813,7 +14813,7 @@ const lu = {
|
|
|
14813
14813
|
rangeJumpUp: function(r) {
|
|
14814
14814
|
this.dispatch("keybinding-nav-range", r, "up", !0, !1);
|
|
14815
14815
|
}
|
|
14816
|
-
},
|
|
14816
|
+
}, mu = {
|
|
14817
14817
|
rangeExpandDown: "shift + 40",
|
|
14818
14818
|
rangeExpandJumpDown: ["ctrl + shift + 40", "meta + shift + 40"],
|
|
14819
14819
|
rangeExpandJumpLeft: ["ctrl + shift + 37", "meta + shift + 37"],
|
|
@@ -14826,21 +14826,21 @@ const lu = {
|
|
|
14826
14826
|
rangeJumpLeft: ["ctrl + 37", "meta + 37"],
|
|
14827
14827
|
rangeJumpRight: ["ctrl + 39", "meta + 39"],
|
|
14828
14828
|
rangeJumpUp: ["ctrl + 38", "meta + 38"]
|
|
14829
|
-
},
|
|
14829
|
+
}, gu = {
|
|
14830
14830
|
clipboard: {
|
|
14831
|
-
pasteActions:
|
|
14832
|
-
pasteParsers:
|
|
14831
|
+
pasteActions: hu,
|
|
14832
|
+
pasteParsers: cu
|
|
14833
14833
|
},
|
|
14834
14834
|
export: {
|
|
14835
|
-
columnLookups:
|
|
14836
|
-
rowLookups:
|
|
14835
|
+
columnLookups: du,
|
|
14836
|
+
rowLookups: pu
|
|
14837
14837
|
},
|
|
14838
14838
|
keybindings: {
|
|
14839
|
-
actions:
|
|
14840
|
-
bindings:
|
|
14839
|
+
actions: fu,
|
|
14840
|
+
bindings: mu
|
|
14841
14841
|
}
|
|
14842
14842
|
};
|
|
14843
|
-
class
|
|
14843
|
+
class bu {
|
|
14844
14844
|
constructor(e) {
|
|
14845
14845
|
return this._range = e, new Proxy(this, {
|
|
14846
14846
|
get: function(t, i) {
|
|
@@ -14905,7 +14905,7 @@ class gu {
|
|
|
14905
14905
|
}
|
|
14906
14906
|
}
|
|
14907
14907
|
const Fr = process.env.NODE_ENV === "development";
|
|
14908
|
-
class
|
|
14908
|
+
class wu extends Le {
|
|
14909
14909
|
constructor(e, t, i, s) {
|
|
14910
14910
|
super(e), this.rangeManager = t, this.element = null, this.initialized = !1, this.initializing = {
|
|
14911
14911
|
end: !1,
|
|
@@ -15038,7 +15038,7 @@ class bu extends Le {
|
|
|
15038
15038
|
return t.length ? (i.start = t[0], i.end = t.at(-1)) : Fr && console.warn("No bounds defined on range"), i;
|
|
15039
15039
|
}
|
|
15040
15040
|
getComponent() {
|
|
15041
|
-
return this.component ??= new
|
|
15041
|
+
return this.component ??= new bu(this), this.component;
|
|
15042
15042
|
}
|
|
15043
15043
|
destroy(e) {
|
|
15044
15044
|
this.destroyed = !0, this.element && this.element.remove(), e && this.rangeManager.rangeRemoved(this), this.initialized && this.dispatchExternal("rangeRemoved", this.getComponent());
|
|
@@ -15049,7 +15049,7 @@ class bu extends Le {
|
|
|
15049
15049
|
), !this.destroyed;
|
|
15050
15050
|
}
|
|
15051
15051
|
}
|
|
15052
|
-
const Wt = process.env.NODE_ENV === "development",
|
|
15052
|
+
const Wt = process.env.NODE_ENV === "development", vu = E`<div class="tabulator-range-cell-hover"></div>`, Ci = class Ci extends I {
|
|
15053
15053
|
constructor(e) {
|
|
15054
15054
|
super(e), this.selecting = Xe.Cell, this.mousedown = !1, this.ranges = [], this.overlay = null, this.rowHeader = null, this.debouncedLayoutRanges = ka(() => {
|
|
15055
15055
|
this.layoutRanges();
|
|
@@ -15085,7 +15085,7 @@ const Wt = process.env.NODE_ENV === "development", wu = E`<div class="tabulator-
|
|
|
15085
15085
|
));
|
|
15086
15086
|
}
|
|
15087
15087
|
initializeTable() {
|
|
15088
|
-
this.overlay = document.createElement("div"), this.overlay.classList.add("tabulator-range-overlay"), this.rangeContainer = document.createElement("div"), this.rangeContainer.classList.add("tabulator-range-container"), this.activeRangeCellElement = document.createElement("div"), this.activeRangeCellElement.classList.add("tabulator-range-cell-active"), this.hoverRangeCellElement = W(
|
|
15088
|
+
this.overlay = document.createElement("div"), this.overlay.classList.add("tabulator-range-overlay"), this.rangeContainer = document.createElement("div"), this.rangeContainer.classList.add("tabulator-range-container"), this.activeRangeCellElement = document.createElement("div"), this.activeRangeCellElement.classList.add("tabulator-range-cell-active"), this.hoverRangeCellElement = W(vu), this.overlay.appendChild(this.rangeContainer), this.overlay.appendChild(this.hoverRangeCellElement), this.overlay.appendChild(this.activeRangeCellElement), this.table.rowManager?.element && this.table.rowManager.element.addEventListener(
|
|
15089
15089
|
"keydown",
|
|
15090
15090
|
this.keyDownEvent
|
|
15091
15091
|
), this.resetRanges(), this.table.rowManager?.element && this.overlay && this.table.rowManager.element.appendChild(this.overlay), this.table.columnManager?.element && this.table.columnManager.element.setAttribute("tabindex", "0"), this.table.element.classList.add("tabulator-ranges");
|
|
@@ -15577,7 +15577,7 @@ const Wt = process.env.NODE_ENV === "development", wu = E`<div class="tabulator-
|
|
|
15577
15577
|
const s = this.ranges.shift();
|
|
15578
15578
|
s && s.destroy(!1);
|
|
15579
15579
|
}
|
|
15580
|
-
const i = new
|
|
15580
|
+
const i = new wu(this.table, this, e, t);
|
|
15581
15581
|
return this.activeRange = i, this.ranges.push(i), this.rangeContainer && i.element && this.rangeContainer.appendChild(i.element), i;
|
|
15582
15582
|
}
|
|
15583
15583
|
resetRanges() {
|
|
@@ -15610,9 +15610,9 @@ const Wt = process.env.NODE_ENV === "development", wu = E`<div class="tabulator-
|
|
|
15610
15610
|
return e == null || e === "";
|
|
15611
15611
|
}
|
|
15612
15612
|
};
|
|
15613
|
-
Ci.moduleName = "selectRange", Ci.moduleInitOrder = 1, Ci.moduleExtensions =
|
|
15613
|
+
Ci.moduleName = "selectRange", Ci.moduleInitOrder = 1, Ci.moduleExtensions = gu;
|
|
15614
15614
|
let io = Ci;
|
|
15615
|
-
function
|
|
15615
|
+
function yu(r, e, t, i, s, o, n) {
|
|
15616
15616
|
const a = n.alignEmptyValues;
|
|
15617
15617
|
let l = 0;
|
|
15618
15618
|
if (!r && r !== 0)
|
|
@@ -15650,7 +15650,7 @@ function vu(r, e, t, i, s, o, n) {
|
|
|
15650
15650
|
}
|
|
15651
15651
|
return (a === "top" && o === "desc" || a === "bottom" && o === "asc") && (l *= -1), l;
|
|
15652
15652
|
}
|
|
15653
|
-
function
|
|
15653
|
+
function Cu(r, e, t, i, s, o, n) {
|
|
15654
15654
|
const a = n.type || "length", l = n.alignEmptyValues;
|
|
15655
15655
|
let h = 0;
|
|
15656
15656
|
const c = this.table;
|
|
@@ -15698,10 +15698,10 @@ function yu(r, e, t, i, s, o, n) {
|
|
|
15698
15698
|
return a === "string" ? String(p(r)).toLowerCase().localeCompare(String(p(e)).toLowerCase()) : p(e) - p(r);
|
|
15699
15699
|
return (l === "top" && o === "desc" || l === "bottom" && o === "asc") && (h *= -1), h;
|
|
15700
15700
|
}
|
|
15701
|
-
function
|
|
15701
|
+
function xu(r, e, t, i, s, o, n) {
|
|
15702
15702
|
return (r === !0 || r === "true" || r === "True" || r === 1 ? 1 : 0) - (e === !0 || e === "true" || e === "True" || e === 1 ? 1 : 0);
|
|
15703
15703
|
}
|
|
15704
|
-
const
|
|
15704
|
+
const Eu = process.env.NODE_ENV === "development";
|
|
15705
15705
|
function Do(r, e, t, i, s, o, n) {
|
|
15706
15706
|
const { alignEmptyValues: a, format: l = "dd/MM/yyyy HH:mm:ss" } = n || {}, h = this.table.dependencyRegistry.lookup(
|
|
15707
15707
|
["luxon", "DateTime"],
|
|
@@ -15719,17 +15719,17 @@ function Do(r, e, t, i, s, o, n) {
|
|
|
15719
15719
|
}
|
|
15720
15720
|
return (a === "top" && o === "desc" || a === "bottom" && o === "asc") && (c *= -1), c;
|
|
15721
15721
|
} else
|
|
15722
|
-
return
|
|
15722
|
+
return Eu && console.error("Sort Error - 'datetime' sorter is dependent on luxon.js"), 0;
|
|
15723
15723
|
}
|
|
15724
|
-
function
|
|
15724
|
+
function Ru(r, e, t, i, s, o, n) {
|
|
15725
15725
|
const a = n ?? {};
|
|
15726
15726
|
return a.format || (a.format = "dd/MM/yyyy"), Do.call(this, r, e, t, i, s, o, a);
|
|
15727
15727
|
}
|
|
15728
|
-
function
|
|
15728
|
+
function Su(r, e, t, i, s, o, n) {
|
|
15729
15729
|
const a = (c) => c === null || typeof c > "u" || c === "", l = a(r) ? 0 : 1, h = a(e) ? 0 : 1;
|
|
15730
15730
|
return l - h;
|
|
15731
15731
|
}
|
|
15732
|
-
function
|
|
15732
|
+
function Du(r, e, t, i, s, o, n) {
|
|
15733
15733
|
const a = n ?? {}, l = a.alignEmptyValues, h = a.decimalSeparator, c = a.thousandSeparator;
|
|
15734
15734
|
let d = 0, p = String(r), u = String(e);
|
|
15735
15735
|
c && (p = p.split(c).join(""), u = u.split(c).join("")), h && (p = p.split(h).join("."), u = u.split(h).join("."));
|
|
@@ -15742,7 +15742,7 @@ function Su(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 Mu(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,21 +15763,21 @@ function Du(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 ku(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
|
}
|
|
15770
|
-
const
|
|
15771
|
-
alphanum:
|
|
15772
|
-
array:
|
|
15773
|
-
boolean:
|
|
15774
|
-
date:
|
|
15770
|
+
const Tu = {
|
|
15771
|
+
alphanum: yu,
|
|
15772
|
+
array: Cu,
|
|
15773
|
+
boolean: xu,
|
|
15774
|
+
date: Ru,
|
|
15775
15775
|
datetime: Do,
|
|
15776
|
-
exists:
|
|
15777
|
-
number:
|
|
15778
|
-
string:
|
|
15779
|
-
time:
|
|
15780
|
-
}, Lr = process.env.NODE_ENV === "development",
|
|
15776
|
+
exists: Su,
|
|
15777
|
+
number: Du,
|
|
15778
|
+
string: Mu,
|
|
15779
|
+
time: ku
|
|
15780
|
+
}, Lr = process.env.NODE_ENV === "development", Fu = {
|
|
15781
15781
|
asc: "ascending",
|
|
15782
15782
|
desc: "descending",
|
|
15783
15783
|
none: "none"
|
|
@@ -15973,7 +15973,7 @@ const ku = {
|
|
|
15973
15973
|
}
|
|
15974
15974
|
// set the column header sort direction
|
|
15975
15975
|
setColumnHeader(e, t) {
|
|
15976
|
-
e.modules.sort.dir = t, e.getElement().setAttribute("aria-sort",
|
|
15976
|
+
e.modules.sort.dir = t, e.getElement().setAttribute("aria-sort", Fu[t]), this.setColumnHeaderSortIcon(e, t);
|
|
15977
15977
|
}
|
|
15978
15978
|
setColumnHeaderSortIcon(e, t) {
|
|
15979
15979
|
const i = e.modules.sort.element;
|
|
@@ -16029,9 +16029,9 @@ const ku = {
|
|
|
16029
16029
|
return 0;
|
|
16030
16030
|
}
|
|
16031
16031
|
};
|
|
16032
|
-
qt.moduleName = "sort", qt.sorters =
|
|
16032
|
+
qt.moduleName = "sort", qt.sorters = Tu;
|
|
16033
16033
|
let Mi = qt;
|
|
16034
|
-
class
|
|
16034
|
+
class Lu {
|
|
16035
16035
|
constructor(e, t) {
|
|
16036
16036
|
this.columnCount = e, this.rowCount = t, this.columnString = [], this.columns = [], this.rows = [];
|
|
16037
16037
|
}
|
|
@@ -16120,7 +16120,7 @@ class On {
|
|
|
16120
16120
|
}
|
|
16121
16121
|
class zr extends Le {
|
|
16122
16122
|
constructor(e, t) {
|
|
16123
|
-
super(e.table), this.spreadsheetManager = e, this.definition = t, this.title = this.definition.title || "", this.key = this.definition.key || this.definition.title || "", this.rowCount = this.definition.rows, this.columnCount = this.definition.columns, this.data = this.definition.data || [], this.element = null, this.isActive = !1, this.grid = new
|
|
16123
|
+
super(e.table), this.spreadsheetManager = e, this.definition = t, this.title = this.definition.title || "", this.key = this.definition.key || this.definition.title || "", this.rowCount = this.definition.rows, this.columnCount = this.definition.columns, this.data = this.definition.data || [], this.element = null, this.isActive = !1, this.grid = new Lu(this.columnCount, this.rowCount), this.defaultColumnDefinition = {
|
|
16124
16124
|
headerHozAlign: "center",
|
|
16125
16125
|
headerSort: !1,
|
|
16126
16126
|
title: "",
|
|
@@ -16450,7 +16450,7 @@ function us(r, e) {
|
|
|
16450
16450
|
function ps(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
|
-
const
|
|
16453
|
+
const zu = [
|
|
16454
16454
|
{ groupName: "year", token: "YYYY" },
|
|
16455
16455
|
{ groupName: "month", token: "MM" },
|
|
16456
16456
|
{ groupName: "day", token: "DD" },
|
|
@@ -16458,25 +16458,25 @@ const Lu = [
|
|
|
16458
16458
|
{ groupName: "minute", token: "mm" },
|
|
16459
16459
|
{ groupName: "second", token: "ss" }
|
|
16460
16460
|
];
|
|
16461
|
-
function
|
|
16461
|
+
function _u(r) {
|
|
16462
16462
|
return r.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
16463
16463
|
}
|
|
16464
|
-
function
|
|
16464
|
+
function Ou(r) {
|
|
16465
16465
|
let e = "", t = 0;
|
|
16466
16466
|
for (; t < r.length; ) {
|
|
16467
|
-
const i =
|
|
16467
|
+
const i = zu.find(
|
|
16468
16468
|
({ token: s }) => r.startsWith(s, t)
|
|
16469
16469
|
);
|
|
16470
16470
|
if (i) {
|
|
16471
16471
|
const s = i.token.length;
|
|
16472
16472
|
e += `(?<${i.groupName}>\\d{${s}})`, t += s;
|
|
16473
16473
|
} else
|
|
16474
|
-
e +=
|
|
16474
|
+
e += _u(r[t]), t += 1;
|
|
16475
16475
|
}
|
|
16476
16476
|
return new RegExp(`^${e}$`);
|
|
16477
16477
|
}
|
|
16478
|
-
function
|
|
16479
|
-
const t =
|
|
16478
|
+
function Au(r, e) {
|
|
16479
|
+
const t = Ou(e).exec(r);
|
|
16480
16480
|
if (!t?.groups)
|
|
16481
16481
|
return !1;
|
|
16482
16482
|
const i = Number(t.groups.year ?? "1970"), s = Number(t.groups.month ?? "1"), o = Number(t.groups.day ?? "1"), n = Number(t.groups.hour ?? "0"), a = Number(t.groups.minute ?? "0"), l = Number(t.groups.second ?? "0");
|
|
@@ -16499,7 +16499,7 @@ const Mo = {
|
|
|
16499
16499
|
date(r, e) {
|
|
16500
16500
|
if (Me(r))
|
|
16501
16501
|
return !0;
|
|
16502
|
-
if (e && typeof e == "object" && e.format !== void 0 && !
|
|
16502
|
+
if (e && typeof e == "object" && e.format !== void 0 && !Au(String(r), e.format))
|
|
16503
16503
|
return !1;
|
|
16504
16504
|
const t = ps(r);
|
|
16505
16505
|
if (Number.isNaN(t))
|
|
@@ -16606,7 +16606,7 @@ function Oe(r) {
|
|
|
16606
16606
|
return Mo[r](t, i);
|
|
16607
16607
|
};
|
|
16608
16608
|
}
|
|
16609
|
-
const
|
|
16609
|
+
const Pu = {
|
|
16610
16610
|
alphanumeric: Oe("alphanumeric"),
|
|
16611
16611
|
boolean: Oe("boolean"),
|
|
16612
16612
|
date: Oe("date"),
|
|
@@ -16633,7 +16633,7 @@ const Au = {
|
|
|
16633
16633
|
}), Mo.unique(e, t, { columnValues: o });
|
|
16634
16634
|
}
|
|
16635
16635
|
};
|
|
16636
|
-
function
|
|
16636
|
+
function Iu(r) {
|
|
16637
16637
|
return new Worker(
|
|
16638
16638
|
"https://design-system.orangelogic.com/assets/validation.worker-D3_lxKZ_.js",
|
|
16639
16639
|
{
|
|
@@ -16641,17 +16641,17 @@ function Pu(r) {
|
|
|
16641
16641
|
}
|
|
16642
16642
|
);
|
|
16643
16643
|
}
|
|
16644
|
-
const
|
|
16645
|
-
let Mt,
|
|
16644
|
+
const Hu = "cx-validation-request", Nu = "cx-validation-response";
|
|
16645
|
+
let Mt, Vu = 0;
|
|
16646
16646
|
const ki = /* @__PURE__ */ new Map();
|
|
16647
16647
|
function Or() {
|
|
16648
16648
|
ki.forEach(
|
|
16649
16649
|
(r) => r.reject(new Error("Validation worker failed"))
|
|
16650
16650
|
), ki.clear(), Mt?.terminate(), Mt = void 0;
|
|
16651
16651
|
}
|
|
16652
|
-
function
|
|
16653
|
-
return Mt || (Mt = new
|
|
16654
|
-
if (r.origin !== "" || r.data?.type !==
|
|
16652
|
+
function Bu() {
|
|
16653
|
+
return Mt || (Mt = new Iu(), Mt.addEventListener("message", (r) => {
|
|
16654
|
+
if (r.origin !== "" || r.data?.type !== Nu)
|
|
16655
16655
|
return;
|
|
16656
16656
|
const { done: e, id: t, results: i } = r.data.payload, s = ki.get(t);
|
|
16657
16657
|
s && (s.accumulatedResults.push(...i), s.onChunk?.(i), e && (ki.delete(t), s.resolve(s.accumulatedResults)));
|
|
@@ -16661,18 +16661,18 @@ function An(r, e) {
|
|
|
16661
16661
|
return new Promise((t, i) => {
|
|
16662
16662
|
let s;
|
|
16663
16663
|
try {
|
|
16664
|
-
s =
|
|
16664
|
+
s = Bu();
|
|
16665
16665
|
} catch (n) {
|
|
16666
16666
|
i(n instanceof Error ? n : new Error(String(n)));
|
|
16667
16667
|
return;
|
|
16668
16668
|
}
|
|
16669
|
-
const o = ++
|
|
16669
|
+
const o = ++Vu;
|
|
16670
16670
|
ki.set(o, {
|
|
16671
16671
|
accumulatedResults: [],
|
|
16672
16672
|
onChunk: e,
|
|
16673
16673
|
reject: i,
|
|
16674
16674
|
resolve: t
|
|
16675
|
-
}), s.postMessage({ payload: { fields: r, id: o }, type:
|
|
16675
|
+
}), s.postMessage({ payload: { fields: r, id: o }, type: Hu });
|
|
16676
16676
|
});
|
|
16677
16677
|
}
|
|
16678
16678
|
const Ar = process.env.NODE_ENV === "development", Pr = 2e3, Ir = 1e3, ri = "data-validation-message", xi = class xi extends I {
|
|
@@ -17059,7 +17059,7 @@ const Ar = process.env.NODE_ENV === "development", Pr = 2e3, Ir = 1e3, ri = "dat
|
|
|
17059
17059
|
this.suppressValidationChanged || this.dispatchExternal("validationChanged", this.getValidationSummary());
|
|
17060
17060
|
}
|
|
17061
17061
|
};
|
|
17062
|
-
xi.moduleName = "validate", xi.validators =
|
|
17062
|
+
xi.moduleName = "validate", xi.validators = Pu;
|
|
17063
17063
|
let ro = xi;
|
|
17064
17064
|
const fs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
17065
17065
|
__proto__: null,
|
|
@@ -17104,7 +17104,7 @@ const fs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
17104
17104
|
TooltipModule: oo,
|
|
17105
17105
|
ValidateModule: ro
|
|
17106
17106
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
17107
|
-
class
|
|
17107
|
+
class $u extends ss {
|
|
17108
17108
|
constructor(e) {
|
|
17109
17109
|
super(e);
|
|
17110
17110
|
}
|
|
@@ -17126,7 +17126,7 @@ class Bu extends ss {
|
|
|
17126
17126
|
}
|
|
17127
17127
|
}
|
|
17128
17128
|
const ms = process.env.NODE_ENV === "development";
|
|
17129
|
-
class
|
|
17129
|
+
class Wu extends ss {
|
|
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
|
}
|
|
@@ -17427,7 +17427,7 @@ class $u extends ss {
|
|
|
17427
17427
|
}
|
|
17428
17428
|
}
|
|
17429
17429
|
}
|
|
17430
|
-
const
|
|
17430
|
+
const ju = process.env.NODE_ENV === "development";
|
|
17431
17431
|
class Pn {
|
|
17432
17432
|
constructor(e, t, i = {}) {
|
|
17433
17433
|
this.registeredDefaults = {}, this.table = e, this.msgType = t, this.registeredDefaults = { ...i };
|
|
@@ -17439,14 +17439,14 @@ class Pn {
|
|
|
17439
17439
|
const i = { ...this.registeredDefaults }, s = this.table.options.debugInvalidOptions || t.debugInvalidOptions === !0;
|
|
17440
17440
|
Object.assign(i, e);
|
|
17441
17441
|
for (const o in t)
|
|
17442
|
-
Object.hasOwn(t, o) && (Object.hasOwn(i, o) || (
|
|
17442
|
+
Object.hasOwn(t, o) && (Object.hasOwn(i, o) || (ju && s && console.warn("Invalid " + this.msgType + " option:", o), i[o] = t[o]));
|
|
17443
17443
|
for (const o in i)
|
|
17444
17444
|
Object.hasOwn(i, o) && (o in t ? i[o] = t[o] : Array.isArray(i[o]) ? i[o] = Object.assign([], i[o]) : typeof i[o] == "object" && i[o] !== null ? i[o] = { ...i[o] } : (i[o] === void 0 || i[o] === null) && delete i[o]);
|
|
17445
17445
|
return i;
|
|
17446
17446
|
}
|
|
17447
17447
|
}
|
|
17448
17448
|
const Hr = process.env.NODE_ENV === "development";
|
|
17449
|
-
class
|
|
17449
|
+
class Gu extends Le {
|
|
17450
17450
|
constructor(e) {
|
|
17451
17451
|
super(e), this.blockHozScrollEvent = !1, this.headersElement = null, this.contentsElement = null, this.rowHeader = null, this.columns = [], this.columnsByIndex = [], this.columnsByField = {}, this.scrollLeft = 0, this.optionsList = new Pn(
|
|
17452
17452
|
this.table,
|
|
@@ -17475,8 +17475,8 @@ class ju extends Le {
|
|
|
17475
17475
|
initializeRenderer() {
|
|
17476
17476
|
let e;
|
|
17477
17477
|
const t = {
|
|
17478
|
-
basic:
|
|
17479
|
-
virtual:
|
|
17478
|
+
basic: $u,
|
|
17479
|
+
virtual: Wu
|
|
17480
17480
|
};
|
|
17481
17481
|
typeof this.table.options.renderHorizontal == "string" ? e = t[this.table.options.renderHorizontal] : e = this.table.options.renderHorizontal, e ? (this.renderer = new e(this.table), this.renderer.initialize()) : Hr && console.error(
|
|
17482
17482
|
"Unable to find matching renderer:",
|
|
@@ -17826,7 +17826,7 @@ class ju extends Le {
|
|
|
17826
17826
|
this.element && te.elVisible(this.element) && this.verticalAlignHeaders(), e && (this.table.rowManager?.resetScroll(), this.table.rowManager?.reinitialize()), this.confirm("table-redrawing", e) || this.layoutRefresh(e || !1), this.dispatch("table-redraw", e), this.table.footerManager?.redraw();
|
|
17827
17827
|
}
|
|
17828
17828
|
}
|
|
17829
|
-
const
|
|
17829
|
+
const Uu = {
|
|
17830
17830
|
debugEventsExternal: !1,
|
|
17831
17831
|
// flag to console log events
|
|
17832
17832
|
debugEventsInternal: !1,
|
|
@@ -17886,7 +17886,7 @@ const Gu = {
|
|
|
17886
17886
|
dataReceiveParams: {}
|
|
17887
17887
|
// dependencies: {},
|
|
17888
17888
|
};
|
|
17889
|
-
class
|
|
17889
|
+
class Ku extends Le {
|
|
17890
17890
|
constructor(e) {
|
|
17891
17891
|
super(e), this.active = !1, this.element = this.createElement(), this.containerElement = this.createContainerElement(), this.external = !1;
|
|
17892
17892
|
}
|
|
@@ -17944,7 +17944,7 @@ class Uu extends Le {
|
|
|
17944
17944
|
this.dispatch("footer-redraw");
|
|
17945
17945
|
}
|
|
17946
17946
|
}
|
|
17947
|
-
class
|
|
17947
|
+
class qu extends ss {
|
|
17948
17948
|
constructor(e) {
|
|
17949
17949
|
super(e), this.scrollTop = 0, this.scrollLeft = 0, this.verticalFillMode = "fill";
|
|
17950
17950
|
}
|
|
@@ -17993,7 +17993,7 @@ class Ku extends ss {
|
|
|
17993
17993
|
return this.rows();
|
|
17994
17994
|
}
|
|
17995
17995
|
}
|
|
17996
|
-
class
|
|
17996
|
+
class Xu extends ss {
|
|
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";
|
|
@@ -18242,8 +18242,8 @@ class qu extends ss {
|
|
|
18242
18242
|
t.setCellHeight();
|
|
18243
18243
|
}
|
|
18244
18244
|
}
|
|
18245
|
-
const jt = process.env.NODE_ENV === "development",
|
|
18246
|
-
class
|
|
18245
|
+
const jt = process.env.NODE_ENV === "development", Ju = E`<div class="tabulator-tableholder-wrapper"></div>`;
|
|
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();
|
|
18249
18249
|
}
|
|
@@ -18257,7 +18257,7 @@ class Ju extends Le {
|
|
|
18257
18257
|
}
|
|
18258
18258
|
// ////////////// Setup Functions /////////////////
|
|
18259
18259
|
createWrapperElement() {
|
|
18260
|
-
return W(
|
|
18260
|
+
return W(Ju);
|
|
18261
18261
|
}
|
|
18262
18262
|
createHolderElement() {
|
|
18263
18263
|
const e = document.createElement("div");
|
|
@@ -18701,8 +18701,8 @@ Data: `,
|
|
|
18701
18701
|
initializeRenderer() {
|
|
18702
18702
|
let e;
|
|
18703
18703
|
const t = {
|
|
18704
|
-
basic:
|
|
18705
|
-
virtual:
|
|
18704
|
+
basic: qu,
|
|
18705
|
+
virtual: Xu
|
|
18706
18706
|
};
|
|
18707
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()) : jt && console.error(
|
|
18708
18708
|
"Unable to find matching renderer:",
|
|
@@ -18842,7 +18842,7 @@ Data: `,
|
|
|
18842
18842
|
this.element.dispatchEvent(new Event("scroll"));
|
|
18843
18843
|
}
|
|
18844
18844
|
}
|
|
18845
|
-
class
|
|
18845
|
+
class Zu extends Le {
|
|
18846
18846
|
constructor(e) {
|
|
18847
18847
|
super(e), this.type = null, this.element = this._createAlertElement(), this.msgElement = this._createMsgElement(), this.element.appendChild(this.msgElement);
|
|
18848
18848
|
}
|
|
@@ -18871,7 +18871,7 @@ class Yu extends Le {
|
|
|
18871
18871
|
}
|
|
18872
18872
|
}
|
|
18873
18873
|
const Nr = process.env.NODE_ENV === "development";
|
|
18874
|
-
class
|
|
18874
|
+
class Qu {
|
|
18875
18875
|
constructor(e) {
|
|
18876
18876
|
this.bindings = {}, this.table = e;
|
|
18877
18877
|
}
|
|
@@ -19019,8 +19019,8 @@ const Ii = process.env.NODE_ENV === "development", Ji = class Ji extends Le {
|
|
|
19019
19019
|
};
|
|
19020
19020
|
Ji.DEBOUNCE_DELAY = 500;
|
|
19021
19021
|
let no = Ji;
|
|
19022
|
-
const
|
|
19023
|
-
class
|
|
19022
|
+
const ep = process.env.NODE_ENV === "development";
|
|
19023
|
+
class tp extends Le {
|
|
19024
19024
|
constructor(e) {
|
|
19025
19025
|
super(e), this.deps = {}, this.props = {};
|
|
19026
19026
|
}
|
|
@@ -19055,20 +19055,20 @@ class ep extends Le {
|
|
|
19055
19055
|
return this.deps[e] ? i = this.deps[e] : globalThis[e] ? (this.deps[e] = globalThis[e], i = this.deps[e]) : t || this.error(e), i;
|
|
19056
19056
|
}
|
|
19057
19057
|
error(e) {
|
|
19058
|
-
|
|
19058
|
+
ep && console.error(
|
|
19059
19059
|
"Unable to find dependency",
|
|
19060
19060
|
e,
|
|
19061
19061
|
"Please check documentation and ensure you have imported the required library into your project"
|
|
19062
19062
|
);
|
|
19063
19063
|
}
|
|
19064
19064
|
}
|
|
19065
|
-
const
|
|
19066
|
-
class
|
|
19065
|
+
const ip = process.env.NODE_ENV === "development";
|
|
19066
|
+
class sp extends Le {
|
|
19067
19067
|
constructor(e) {
|
|
19068
19068
|
super(e);
|
|
19069
19069
|
}
|
|
19070
19070
|
_warnUser(...e) {
|
|
19071
|
-
this.options("debugDeprecation") &&
|
|
19071
|
+
this.options("debugDeprecation") && ip && console.warn(...e);
|
|
19072
19072
|
}
|
|
19073
19073
|
check(e, t, i) {
|
|
19074
19074
|
if (this.options(e) === void 0 || this.options(e) === null)
|
|
@@ -19101,7 +19101,7 @@ class ip extends Le {
|
|
|
19101
19101
|
}
|
|
19102
19102
|
}
|
|
19103
19103
|
const gs = process.env.NODE_ENV === "development";
|
|
19104
|
-
class
|
|
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;
|
|
19107
19107
|
}
|
|
@@ -19154,8 +19154,8 @@ class sp {
|
|
|
19154
19154
|
return gs && (this.debug === !0 || Array.isArray(this.debug) && this.debug.includes(e)) && console.log(i, ...t), this._dispatch(e, ...t);
|
|
19155
19155
|
}
|
|
19156
19156
|
}
|
|
19157
|
-
const
|
|
19158
|
-
class
|
|
19157
|
+
const rp = process.env.NODE_ENV === "development";
|
|
19158
|
+
class np extends Le {
|
|
19159
19159
|
constructor(e) {
|
|
19160
19160
|
super(e), this.el = null, this.abortClasses = ["tabulator-headers", "tabulator-table"], this.previousTargets = {}, this.listeners = [
|
|
19161
19161
|
"click",
|
|
@@ -19306,7 +19306,7 @@ class rp extends Le {
|
|
|
19306
19306
|
s.components.includes("column") && (h = this.table.columnManager?.findColumn(c));
|
|
19307
19307
|
break;
|
|
19308
19308
|
case "cell":
|
|
19309
|
-
s.components.includes("cell") && (o.row instanceof Fe ? h = o.row.findCell(c) :
|
|
19309
|
+
s.components.includes("cell") && (o.row instanceof Fe ? h = o.row.findCell(c) : rp && t.row && console.warn(
|
|
19310
19310
|
"Event Target Lookup Error - The row this cell is attached to cannot be found, has the table been reinitialized without being destroyed first?"
|
|
19311
19311
|
));
|
|
19312
19312
|
break;
|
|
@@ -19337,7 +19337,7 @@ class rp extends Le {
|
|
|
19337
19337
|
}
|
|
19338
19338
|
}
|
|
19339
19339
|
const gi = process.env.NODE_ENV === "development";
|
|
19340
|
-
class
|
|
19340
|
+
class ap {
|
|
19341
19341
|
constructor(e) {
|
|
19342
19342
|
this.events = {}, this.subscriptionNotifiers = {}, this.events = {}, this.subscriptionNotifiers = {}, this.dispatch = e ? this._debugDispatch.bind(this) : this._dispatch.bind(this), this.chain = e ? this._debugChain.bind(this) : this._chain.bind(this), this.confirm = e ? this._debugConfirm.bind(this) : this._confirm.bind(this), this.debug = e;
|
|
19343
19343
|
}
|
|
@@ -19410,7 +19410,7 @@ class np {
|
|
|
19410
19410
|
return gi && (this.debug === !0 || Array.isArray(this.debug) && this.debug.includes(e)) && console.log(i, t), this._confirm(e, t);
|
|
19411
19411
|
}
|
|
19412
19412
|
}
|
|
19413
|
-
function
|
|
19413
|
+
function lp(r) {
|
|
19414
19414
|
let e = this.table.element?.clientWidth || 0;
|
|
19415
19415
|
const t = this.table.columnManager?.contentsElement;
|
|
19416
19416
|
if (t) {
|
|
@@ -19474,7 +19474,7 @@ function ap(r) {
|
|
|
19474
19474
|
w.column.setWidth(w.width);
|
|
19475
19475
|
});
|
|
19476
19476
|
}
|
|
19477
|
-
async function
|
|
19477
|
+
async function hp(r, e) {
|
|
19478
19478
|
e && this.table.columnManager?.renderer && await this.table.columnManager.renderer.reinitializeColumnWidths(r), this.table.options.responsiveLayout && this.table.modExists("responsiveLayout", !0) && this.table.modules.responsiveLayout.update();
|
|
19479
19479
|
}
|
|
19480
19480
|
async function Vr(r) {
|
|
@@ -19482,7 +19482,7 @@ async function Vr(r) {
|
|
|
19482
19482
|
await e.reinitializeWidth();
|
|
19483
19483
|
this.table.options.responsiveLayout && this.table.modExists("responsiveLayout", !0) && this.table.modules.responsiveLayout.update();
|
|
19484
19484
|
}
|
|
19485
|
-
async function
|
|
19485
|
+
async function cp(r) {
|
|
19486
19486
|
let e = 0, t = this.table.element?.clientWidth || 0;
|
|
19487
19487
|
const i = this.table.columnManager?.contentsElement;
|
|
19488
19488
|
if (i) {
|
|
@@ -19495,20 +19495,20 @@ async function hp(r) {
|
|
|
19495
19495
|
a.widthFixed || await a.reinitializeWidth(), (this.table.options.responsiveLayout ? a.modules.responsive.visible : !a.hidden) && (n = a), a.hidden || (e += a.getWidth());
|
|
19496
19496
|
n ? (o = s - e + n.getWidth(), this.table.options.responsiveLayout && this.table.modExists("responsiveLayout", !0) && (n.setWidth(0), this.table.modules.responsiveLayout?.update()), o > 0 ? n.setWidth(o) : await n.reinitializeWidth()) : this.table.options.responsiveLayout && this.table.modExists("responsiveLayout", !0) && this.table.modules.responsiveLayout.update();
|
|
19497
19497
|
}
|
|
19498
|
-
const
|
|
19499
|
-
fitColumns:
|
|
19500
|
-
fitData:
|
|
19498
|
+
const dp = {
|
|
19499
|
+
fitColumns: lp,
|
|
19500
|
+
fitData: hp,
|
|
19501
19501
|
fitDataFill: Vr,
|
|
19502
|
-
fitDataStretch:
|
|
19502
|
+
fitDataStretch: cp,
|
|
19503
19503
|
fitDataTable: Vr
|
|
19504
|
-
},
|
|
19504
|
+
}, up = process.env.NODE_ENV === "development", Xt = class Xt 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 && Xt.modes[e] ? this.mode = e : (
|
|
19511
|
+
e && Xt.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
|
}
|
|
@@ -19532,9 +19532,9 @@ const cp = {
|
|
|
19532
19532
|
), t && this.table.rowManager?.normalizeHeight(!0), this.dispatch("layout-refreshed");
|
|
19533
19533
|
}
|
|
19534
19534
|
};
|
|
19535
|
-
Xt.moduleName = "layout", Xt.modes =
|
|
19535
|
+
Xt.moduleName = "layout", Xt.modes = dp;
|
|
19536
19536
|
let ao = Xt;
|
|
19537
|
-
const
|
|
19537
|
+
const pp = {
|
|
19538
19538
|
default: {
|
|
19539
19539
|
columns: {},
|
|
19540
19540
|
data: {
|
|
@@ -19650,7 +19650,7 @@ const up = {
|
|
|
19650
19650
|
});
|
|
19651
19651
|
}
|
|
19652
19652
|
};
|
|
19653
|
-
Ei.moduleName = "localize", Ei.langs =
|
|
19653
|
+
Ei.moduleName = "localize", Ei.langs = pp;
|
|
19654
19654
|
let lo = Ei;
|
|
19655
19655
|
const $r = process.env.NODE_ENV === "development", Ko = class Ko extends I {
|
|
19656
19656
|
constructor(e) {
|
|
@@ -19682,12 +19682,12 @@ const $r = process.env.NODE_ENV === "development", Ko = class Ko extends I {
|
|
|
19682
19682
|
};
|
|
19683
19683
|
Ko.moduleName = "comms";
|
|
19684
19684
|
let ho = Ko;
|
|
19685
|
-
const
|
|
19685
|
+
const fp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
19686
19686
|
__proto__: null,
|
|
19687
19687
|
CommsModule: ho,
|
|
19688
19688
|
LayoutModule: ao,
|
|
19689
19689
|
LocalizeModule: lo
|
|
19690
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
19690
|
+
}, Symbol.toStringTag, { value: "Module" })), mp = process.env.NODE_ENV === "development", Ze = class Ze {
|
|
19691
19691
|
static findTable(e) {
|
|
19692
19692
|
const t = Ze.registry.lookupTable(e, !0);
|
|
19693
19693
|
return Array.isArray(t) && !t.length ? !1 : t;
|
|
@@ -19708,7 +19708,7 @@ Ze.registry = {
|
|
|
19708
19708
|
} else typeof HTMLElement < "u" && e instanceof HTMLElement || e instanceof Ze ? (o = Ze.registry.matchElement(e), o && i.push(o)) : Array.isArray(e) ? e.forEach((n) => {
|
|
19709
19709
|
const a = Ze.registry.lookupTable(n, !0);
|
|
19710
19710
|
i.push(...a);
|
|
19711
|
-
}) :
|
|
19711
|
+
}) : mp && !t && console.warn("Table Connection Error - Invalid Selector", e);
|
|
19712
19712
|
return i;
|
|
19713
19713
|
},
|
|
19714
19714
|
matchElement(e) {
|
|
@@ -19725,7 +19725,7 @@ const Hi = process.env.NODE_ENV === "development", se = class se extends co {
|
|
|
19725
19725
|
super(), this.modulesCore = [], this.modulesRegular = [];
|
|
19726
19726
|
}
|
|
19727
19727
|
static initializeModuleBinder(e) {
|
|
19728
|
-
se.modulesRegistered || (se.modulesRegistered = !0, se._registerModules(
|
|
19728
|
+
se.modulesRegistered || (se.modulesRegistered = !0, se._registerModules(fp, !0), e && se._registerModules(e));
|
|
19729
19729
|
}
|
|
19730
19730
|
static _extendModule(e, t, i) {
|
|
19731
19731
|
if (se.moduleBindings[e]) {
|
|
@@ -19815,7 +19815,7 @@ const ue = process.env.NODE_ENV === "development", yt = class yt extends uo {
|
|
|
19815
19815
|
yt.initializeModuleBinder(), yt._registerModule(...e);
|
|
19816
19816
|
}
|
|
19817
19817
|
constructor(e, t, i) {
|
|
19818
|
-
super(), yt.initializeModuleBinder(i), this.options = {}, this.columnManager = null, this.rowManager = null, this.footerManager = null, this.alertManager = null, this.vdomHoz = null, this.externalEvents = null, this.eventBus = null, this.interactionMonitor = !1, this.browser = "", this.browserSlow = !1, this.browserMobile = !1, this.rtl = !1, this.originalElement = null, this.componentFunctionBinder = new
|
|
19818
|
+
super(), yt.initializeModuleBinder(i), this.options = {}, this.columnManager = null, this.rowManager = null, this.footerManager = null, this.alertManager = null, this.vdomHoz = null, this.externalEvents = null, this.eventBus = null, this.interactionMonitor = !1, this.browser = "", this.browserSlow = !1, this.browserMobile = !1, this.rtl = !1, this.originalElement = null, this.componentFunctionBinder = new Qu(this), this.dataLoader = null, this.modules = {}, this.modulesCore = [], this.modulesRegular = [], this.deprecationAdvisor = new sp(this), this.optionsList = new Pn(this, "table constructor"), this.dependencyRegistry = new tp(this), this.initialized = !1, this.destroyed = !1, this.initializeElement(e) && (this.initializeCoreSystems(t), setTimeout(() => {
|
|
19819
19819
|
this._create();
|
|
19820
19820
|
})), this.constructor.registry.register(this);
|
|
19821
19821
|
}
|
|
@@ -19835,11 +19835,11 @@ const ue = process.env.NODE_ENV === "development", yt = class yt extends uo {
|
|
|
19835
19835
|
), !1;
|
|
19836
19836
|
}
|
|
19837
19837
|
initializeCoreSystems(e) {
|
|
19838
|
-
this.columnManager = new
|
|
19838
|
+
this.columnManager = new Gu(this), this.rowManager = new Yu(this), this.footerManager = new Ku(this), this.dataLoader = new no(this), this.alertManager = new Zu(this), this.toolbar = e?.toolbarElement, this._bindModules(), this.options = this.optionsList.generate(yt.defaultOptions, e), this._clearObjectPointers(), this._mapDeprecatedFunctionality(), this.externalEvents = new op(
|
|
19839
19839
|
this,
|
|
19840
19840
|
this.options,
|
|
19841
19841
|
this.options.debugEventsExternal
|
|
19842
|
-
), this.eventBus = new
|
|
19842
|
+
), this.eventBus = new ap(this.options.debugEventsInternal), this.interactionMonitor = new np(this), this.dataLoader.initialize(), this.footerManager.initialize(), this.dependencyRegistry.initialize();
|
|
19843
19843
|
}
|
|
19844
19844
|
// convert deprecated functionality to new functions
|
|
19845
19845
|
_mapDeprecatedFunctionality() {
|
|
@@ -20205,9 +20205,9 @@ const ue = process.env.NODE_ENV === "development", yt = class yt extends uo {
|
|
|
20205
20205
|
return !t && ue && console.error("Tabulator module not installed: " + e), t;
|
|
20206
20206
|
}
|
|
20207
20207
|
};
|
|
20208
|
-
yt.defaultOptions =
|
|
20208
|
+
yt.defaultOptions = Uu;
|
|
20209
20209
|
let Ot = yt;
|
|
20210
|
-
class
|
|
20210
|
+
class gp extends Ot {
|
|
20211
20211
|
static extendModule(...e) {
|
|
20212
20212
|
Ot.initializeModuleBinder(fs), Ot._extendModule(...e);
|
|
20213
20213
|
}
|
|
@@ -20219,8 +20219,8 @@ class mp extends Ot {
|
|
|
20219
20219
|
}
|
|
20220
20220
|
// #endregion
|
|
20221
20221
|
}
|
|
20222
|
-
const
|
|
20223
|
-
class
|
|
20222
|
+
const bp = new Set(Object.values(nn));
|
|
20223
|
+
class wp {
|
|
20224
20224
|
constructor(e) {
|
|
20225
20225
|
this.facets = [], this.availableFacets = [], this.host = e, e.addController(this);
|
|
20226
20226
|
}
|
|
@@ -20238,11 +20238,11 @@ class bp {
|
|
|
20238
20238
|
if (!i && !this.host.facetConfig)
|
|
20239
20239
|
return;
|
|
20240
20240
|
i && (this.host.hasFacets = !0);
|
|
20241
|
-
const s =
|
|
20241
|
+
const s = vp(this.host.facetConfig ?? ""), o = Cp(i ?? {}, s);
|
|
20242
20242
|
this.facets = o, this.availableFacets = o.map((n) => n.facetDetails), this.host.requestUpdate();
|
|
20243
20243
|
}
|
|
20244
20244
|
}
|
|
20245
|
-
function
|
|
20245
|
+
function vp(r) {
|
|
20246
20246
|
const e = /* @__PURE__ */ new Map();
|
|
20247
20247
|
if (!r.trim())
|
|
20248
20248
|
return e;
|
|
@@ -20254,7 +20254,7 @@ function wp(r) {
|
|
|
20254
20254
|
l === Bi.Checkbox && (h.includes(Ct.Single) || h.includes(Ct.Multiple)) ? e.set(n, {
|
|
20255
20255
|
displayName: a,
|
|
20256
20256
|
facetFieldName: n,
|
|
20257
|
-
selection:
|
|
20257
|
+
selection: yp(h),
|
|
20258
20258
|
type: at.Checkbox
|
|
20259
20259
|
}) : l === Bi.DatePicker ? e.set(n, {
|
|
20260
20260
|
displayFormat: Wr(h),
|
|
@@ -20273,13 +20273,13 @@ function wp(r) {
|
|
|
20273
20273
|
}
|
|
20274
20274
|
return e;
|
|
20275
20275
|
}
|
|
20276
|
-
function
|
|
20276
|
+
function yp(r) {
|
|
20277
20277
|
return r.includes(Ct.Multiple) ? Ct.Multiple : Ct.Single;
|
|
20278
20278
|
}
|
|
20279
20279
|
function Wr(r) {
|
|
20280
|
-
return r.find((e) =>
|
|
20280
|
+
return r.find((e) => bp.has(e));
|
|
20281
20281
|
}
|
|
20282
|
-
function
|
|
20282
|
+
function Cp(r, e) {
|
|
20283
20283
|
const t = new Set(Object.keys(r));
|
|
20284
20284
|
for (const [i, s] of e)
|
|
20285
20285
|
s.type !== at.Checkbox && t.add(i);
|
|
@@ -20295,7 +20295,7 @@ function yp(r, e) {
|
|
|
20295
20295
|
return { facetDetails: s, values: n };
|
|
20296
20296
|
});
|
|
20297
20297
|
}
|
|
20298
|
-
class
|
|
20298
|
+
class xp {
|
|
20299
20299
|
constructor(e, t) {
|
|
20300
20300
|
this.host = e, this.filterController = t, this.handleFacetedFilterChange = this.handleFacetedFilterChange.bind(this), e.addController(this);
|
|
20301
20301
|
}
|
|
@@ -20319,7 +20319,7 @@ class Cp {
|
|
|
20319
20319
|
);
|
|
20320
20320
|
}
|
|
20321
20321
|
}
|
|
20322
|
-
class
|
|
20322
|
+
class Ep {
|
|
20323
20323
|
constructor(e) {
|
|
20324
20324
|
this.filters = /* @__PURE__ */ new Map(), this.isConnected = !1, this.lastAppliedFilters = null, this.host = e, this.host.addController(this);
|
|
20325
20325
|
}
|
|
@@ -20522,7 +20522,7 @@ class xp {
|
|
|
20522
20522
|
}
|
|
20523
20523
|
}
|
|
20524
20524
|
}
|
|
20525
|
-
class
|
|
20525
|
+
class Rp {
|
|
20526
20526
|
constructor(e) {
|
|
20527
20527
|
this.isSelectAllMode = !1, this.deselectedIds = /* @__PURE__ */ new Set(), this.selectedIdsForRemote = /* @__PURE__ */ new Set(), this.remoteTotalCount = 0, this.selectedRowsCount = 0, this.selectionSyncSkip = !1, this.isPageTransition = !1, this.host = e, this.host.addController(this), this.handleRowSelectionChanged = this.handleRowSelectionChanged.bind(this), this.handleDataLoaded = this.handleDataLoaded.bind(this), this.handleDataLoading = this.handleDataLoading.bind(this);
|
|
20528
20528
|
}
|
|
@@ -20700,32 +20700,32 @@ class Ep {
|
|
|
20700
20700
|
)?.formatterParams?.disabled;
|
|
20701
20701
|
}
|
|
20702
20702
|
}
|
|
20703
|
-
const Rp = 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)}`, Sp = 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}`, Dp = 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)}`, kp = Q`.tabulator-row .tabulator-cell .tabulator-data-tree-branch-empty{display:none}.tabulator-row .tabulator-cell .tabulator-data-tree-branch{border-left:2px solid var(--cx-color-neutral-400);border-bottom:2px solid var(--cx-color-neutral-400);border-bottom-left-radius:1px;width:7px;height:9px;margin-top:-9px;position:absolute}.tabulator-row .tabulator-cell .tabulator-data-tree-control{flex:0 0 var(--tabulator-tree-control-width);vertical-align:middle;width:var(--tabulator-tree-control-width);justify-content:center;align-items:center;display:inline-flex}`, Tp = Q`.tabulator-row .tabulator-cell.tabulator-editing{padding:0 var(--cell-horizontal-padding);outline:none}.tabulator:not(.tabulator-ranges) .tabulator-row .tabulator-cell.tabulator-editing input,.tabulator:not(.tabulator-ranges) .tabulator-row .tabulator-cell.tabulator-editing select{font-size:inherit;color:inherit;border-radius:var(--cx-input-border-radius-medium);background:0 0;border:none;outline:none;padding:0;font-family:inherit}.tabulator-ranges .tabulator-row .tabulator-cell.tabulator-editing input,.tabulator-ranges .tabulator-row .tabulator-cell.tabulator-editing select{border:var(--border-width) solid var(--border-color);background:0 0;outline:none}.tabulator-row .tabulator-cell.tabulator-validation-fail{border:var(--border-width) solid var(--cx-color-danger);background:var(--cx-color-danger-100)}.tabulator-row .tabulator-cell.tabulator-validation-fail input,.tabulator-row .tabulator-cell.tabulator-validation-fail select{border:var(--border-width) solid var(--border-color);color:var(--cx-color-danger);background:0 0}.tabulator-row .tabulator-cell.tabulator-editing.tabulator-edit-list{padding:0 var(--cx-spacing-x-small)}.tabulator-edit-list{position:relative}.tabulator-edit-list:not(.tabulator-editing) .tabulator-cell-content{padding-right:var(--cx-spacing-large)}.tabulator-edit-list-trigger{top:50%;right:var(--cx-spacing-small);width:var(--cx-spacing-large);appearance:none;height:100%;color:inherit;cursor:pointer;font:inherit;background:0 0;border:none;justify-content:center;align-items:center;padding:0;display:inline-flex;position:absolute;transform:translateY(-50%)}.tabulator-edit-list.tabulator-editing .tabulator-edit-list-trigger{display:none}.tabulator-edit-list-trigger-caret{--font-size:var(--cx-font-size-medium);color:var(--cx-color-neutral-500)}`, Fp = 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}`, Lp = 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}`, zp = 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)}`, _p = 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)}`, Op = 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}`, Ap = Q`:host{--hover-menu-background-color:transparent}.tabulator-hover-menu{padding-left:var(--cell-horizontal-padding);padding-right:var(--cell-horizontal-padding);background-color:var(--hover-menu-background-color);opacity:0;pointer-events:none;z-index:12;align-items:center;height:100%;display:flex;position:absolute;top:0}.tabulator:not(.tabulator-editing) .tabulator-hover-menu--active{opacity:1;pointer-events:auto}`, Pp = 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)}`, Ip = Q`:host{--scrollbar-size:17px;--scrollbar-thumb-border-width:7px;--scrollbar-thumb-border-width-hover:4px;--scrollbar-thumb-border-color:#0000;--scrollbar-thumb-radius:13px;--scrollbar-thumb-min-size:50px}.table{position:relative}.table>.os-scrollbar-vertical,.table>.os-scrollbar.os-scrollbar-vertical.os-scrollbar-cornerless{top:calc(var(--header-height) + var(--border-width))}.table.tabulator-header-hidden>.os-scrollbar-vertical,.table.tabulator-header-hidden>.os-scrollbar.os-scrollbar-vertical.os-scrollbar-cornerless{top:var(--border-width)}.table>.os-scrollbar{--os-size:var(--scrollbar-size);--os-padding-perpendicular:0px;--os-padding-axis:0px;--os-handle-border-radius:var(--scrollbar-thumb-radius);--os-handle-border:var(--scrollbar-thumb-border-width) solid var(--scrollbar-thumb-border-color);--os-handle-border-hover:var(--scrollbar-thumb-border-width-hover) solid var(--scrollbar-thumb-border-color);--os-handle-border-active:var(--scrollbar-thumb-border-width-hover) solid var(--scrollbar-thumb-border-color);--os-handle-min-size:var(--scrollbar-thumb-min-size)}.table>.os-scrollbar .os-scrollbar-handle{background-clip:padding-box}`, Hp = Q`.tabulator .tabulator-footer .tabulator-paginator{flex:1}.tabulator .tabulator-footer .tabulator-paginator-pagination{margin-left:auto}.tabulator-paginator-pagination{--font-size:var(--cx-font-size-x-small);--pagination-input-font-size:var(--cx-font-size-x-small)}.tabulator-paginator-pagination::part(back-icon),.tabulator-paginator-pagination::part(next-icon){--font-size:var(--cx-font-size-medium)}`, Np = 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)}`, Vp = 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)}`, Bp = 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)}`, $p = 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}`, Wp = 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}`, jp = 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}`, Gp = Q`.tabulator.tabulator-ltr{direction:ltr}.tabulator.tabulator-rtl{text-align:initial;direction:rtl}.tabulator.tabulator-rtl .tabulator-header .tabulator-col{text-align:initial;border-left:var(--border-width) solid var(--cx-color-neutral-400);border-right:initial}.tabulator.tabulator-rtl .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{margin-right:initial;margin-left:-1px}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell{border-right:initial;border-left:var(--border-width) solid var(--cell-border-color)}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-branch{margin-right:initial;margin-left:var(--cx-spacing-2x-small);border-bottom-left-radius:initial;border-left:initial;border-right:2px solid var(--cx-color-neutral-400);border-bottom-right-radius:1px}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-left:2px solid var(--frozen-border-color)}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-right:2px solid var(--frozen-border-color)}.tabulator.tabulator-rtl .tabulator-row .tabulator-col-resize-handle:last-of-type{width:3px;margin-left:0;margin-right:-3px}.tabulator.tabulator-rtl .tabulator-footer .tabulator-calcs-holder{text-align:initial}`, Up = 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)}`, Kp = 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)}`, qp = [
|
|
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 = [
|
|
20704
|
+
Dp,
|
|
20705
|
+
Hp,
|
|
20706
|
+
Ap,
|
|
20707
|
+
Vp,
|
|
20708
|
+
Mp,
|
|
20709
|
+
Kp,
|
|
20710
|
+
Lp,
|
|
20711
|
+
qp,
|
|
20712
|
+
Np,
|
|
20713
|
+
Wp,
|
|
20704
20714
|
Sp,
|
|
20715
|
+
Gp,
|
|
20716
|
+
Fp,
|
|
20705
20717
|
Ip,
|
|
20718
|
+
Tp,
|
|
20719
|
+
jp,
|
|
20720
|
+
zp,
|
|
20706
20721
|
Op,
|
|
20707
|
-
|
|
20708
|
-
Dp,
|
|
20722
|
+
Bp,
|
|
20709
20723
|
Up,
|
|
20710
|
-
Fp,
|
|
20711
|
-
Kp,
|
|
20712
|
-
Hp,
|
|
20713
20724
|
$p,
|
|
20714
|
-
Rp,
|
|
20715
|
-
jp,
|
|
20716
|
-
Tp,
|
|
20717
20725
|
Pp,
|
|
20718
20726
|
kp,
|
|
20719
|
-
|
|
20720
|
-
|
|
20721
|
-
_p,
|
|
20722
|
-
Vp,
|
|
20723
|
-
Gp,
|
|
20724
|
-
Bp,
|
|
20725
|
-
Ap,
|
|
20726
|
-
Mp,
|
|
20727
|
-
zp
|
|
20728
|
-
], Xp = {
|
|
20727
|
+
_p
|
|
20728
|
+
], Jp = {
|
|
20729
20729
|
formatter: function() {
|
|
20730
20730
|
const r = document.createElement("div");
|
|
20731
20731
|
r.style.display = "flex", r.style.alignItems = "center", r.style.justifyContent = "center", r.style.width = "100%", r.style.height = "100%", r.style.userSelect = "none", r.dataset.testid = "movable-row-button";
|
|
@@ -20738,7 +20738,7 @@ const Rp = Q`.tabulator .tabulator-alert{z-index:100;background:color-mix(in srg
|
|
|
20738
20738
|
rowHandle: !0,
|
|
20739
20739
|
title: "",
|
|
20740
20740
|
width: 40
|
|
20741
|
-
},
|
|
20741
|
+
}, Yp = {
|
|
20742
20742
|
fromAttribute: (r) => {
|
|
20743
20743
|
if (typeof r == "string") {
|
|
20744
20744
|
if (!r.trim())
|
|
@@ -20755,7 +20755,7 @@ const Rp = Q`.tabulator .tabulator-alert{z-index:100;background:color-mix(in srg
|
|
|
20755
20755
|
return r;
|
|
20756
20756
|
},
|
|
20757
20757
|
toAttribute: (r) => typeof r == "function" ? "" : Array.isArray(r) ? JSON.stringify(r) : typeof r == "number" ? r.toString() : r
|
|
20758
|
-
},
|
|
20758
|
+
}, Zp = {
|
|
20759
20759
|
fromAttribute: (r) => {
|
|
20760
20760
|
if (typeof r == "string") {
|
|
20761
20761
|
if (!r.trim())
|
|
@@ -20771,7 +20771,7 @@ const Rp = Q`.tabulator .tabulator-alert{z-index:100;background:color-mix(in srg
|
|
|
20771
20771
|
return r;
|
|
20772
20772
|
},
|
|
20773
20773
|
toAttribute: (r) => typeof r == "function" ? "" : Array.isArray(r) ? JSON.stringify(r) : typeof r == "boolean" ? r.toString() : r
|
|
20774
|
-
},
|
|
20774
|
+
}, Qp = {
|
|
20775
20775
|
fromAttribute: (r) => {
|
|
20776
20776
|
if (typeof r == "string") {
|
|
20777
20777
|
if (!r.trim())
|
|
@@ -20787,7 +20787,7 @@ const Rp = Q`.tabulator .tabulator-alert{z-index:100;background:color-mix(in srg
|
|
|
20787
20787
|
},
|
|
20788
20788
|
toAttribute: (r) => typeof r == "function" ? "" : Array.isArray(r) ? JSON.stringify(r) : r
|
|
20789
20789
|
};
|
|
20790
|
-
function
|
|
20790
|
+
function ef(r, e) {
|
|
20791
20791
|
const t = e === ke.Desc ? "arrow_downward" : "arrow_upward";
|
|
20792
20792
|
return W(
|
|
20793
20793
|
E`<cx-icon name=${t} aria-hidden="true"></cx-icon>`
|
|
@@ -20854,7 +20854,7 @@ function bs(r) {
|
|
|
20854
20854
|
function In(r) {
|
|
20855
20855
|
return r.split(/[./]/).filter((e) => e.length > 0);
|
|
20856
20856
|
}
|
|
20857
|
-
function
|
|
20857
|
+
function tf(r, e) {
|
|
20858
20858
|
return In(e).reduce((t, i) => {
|
|
20859
20859
|
if (!(t === null || typeof t != "object"))
|
|
20860
20860
|
return t[i];
|
|
@@ -20862,7 +20862,7 @@ function ef(r, e) {
|
|
|
20862
20862
|
}
|
|
20863
20863
|
function Hn(r, e = "") {
|
|
20864
20864
|
if (e) {
|
|
20865
|
-
const i =
|
|
20865
|
+
const i = tf(r, e);
|
|
20866
20866
|
if (!Array.isArray(i))
|
|
20867
20867
|
throw new Error(`Data path "${e}" did not resolve to an array`);
|
|
20868
20868
|
if (i.length === 0)
|
|
@@ -20891,7 +20891,7 @@ function Hn(r, e = "") {
|
|
|
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
|
}
|
|
20894
|
-
function
|
|
20894
|
+
function sf(r) {
|
|
20895
20895
|
if (r.length === 0)
|
|
20896
20896
|
return { columns: [], data: [] };
|
|
20897
20897
|
const t = r[0].map((a, l) => {
|
|
@@ -20908,21 +20908,21 @@ function tf(r) {
|
|
|
20908
20908
|
);
|
|
20909
20909
|
return { columns: o, data: n };
|
|
20910
20910
|
}
|
|
20911
|
-
function
|
|
20911
|
+
function of(r) {
|
|
20912
20912
|
const e = So.parse(r, { header: !1, skipEmptyLines: !0 }), t = e.errors.filter((i) => i.code !== "UndetectableDelimiter");
|
|
20913
20913
|
if (t.length > 0)
|
|
20914
20914
|
throw new Error(`CSV parse error: ${t[0].message}`);
|
|
20915
|
-
return
|
|
20915
|
+
return sf(e.data);
|
|
20916
20916
|
}
|
|
20917
|
-
function
|
|
20917
|
+
function rf(r) {
|
|
20918
20918
|
const e = JSON.parse(r), { columns: t, rows: i } = Hn(e);
|
|
20919
20919
|
return { columns: t, data: i };
|
|
20920
20920
|
}
|
|
20921
|
-
function
|
|
20921
|
+
function nf(r) {
|
|
20922
20922
|
const { columns: e, rows: t } = Nn(r);
|
|
20923
20923
|
return { columns: e, data: t };
|
|
20924
20924
|
}
|
|
20925
|
-
function
|
|
20925
|
+
function af(r, e) {
|
|
20926
20926
|
const t = In(e).reduce((i, s) => i ? /^\d+$/.test(s) ? i.children[Number(s)] ?? null : po(i, s) : null, r);
|
|
20927
20927
|
if (!t)
|
|
20928
20928
|
throw new Error(`Data path "${e}" did not resolve to an element`);
|
|
@@ -20934,7 +20934,7 @@ function Nn(r, e = "") {
|
|
|
20934
20934
|
throw new Error(`XML parse error: ${i.textContent?.trim() ?? "unknown error"}`);
|
|
20935
20935
|
const s = t.documentElement;
|
|
20936
20936
|
if (e)
|
|
20937
|
-
return Kr(Array.from(
|
|
20937
|
+
return Kr(Array.from(af(s, e).children));
|
|
20938
20938
|
const o = po(s, "columns"), n = po(s, "rows");
|
|
20939
20939
|
if (o && n) {
|
|
20940
20940
|
const a = Array.from(o.children).map((h) => ({
|
|
@@ -20965,7 +20965,7 @@ function po(r, e) {
|
|
|
20965
20965
|
return t;
|
|
20966
20966
|
return null;
|
|
20967
20967
|
}
|
|
20968
|
-
function
|
|
20968
|
+
function lf(r) {
|
|
20969
20969
|
const e = r.trim();
|
|
20970
20970
|
if (e.length === 0)
|
|
20971
20971
|
return r;
|
|
@@ -20981,13 +20981,13 @@ function af(r) {
|
|
|
20981
20981
|
function Vn(r, e) {
|
|
20982
20982
|
const t = /* @__PURE__ */ new Map();
|
|
20983
20983
|
for (const i of Array.from(r.children))
|
|
20984
|
-
t.set(i.tagName,
|
|
20984
|
+
t.set(i.tagName, lf(i.textContent ?? ""));
|
|
20985
20985
|
return Object.fromEntries(
|
|
20986
20986
|
e.map((i) => [i, t.has(i) ? t.get(i) : ""])
|
|
20987
20987
|
);
|
|
20988
20988
|
}
|
|
20989
20989
|
xe.Csv + "", xe.Json + "", xe.Xml + "";
|
|
20990
|
-
function
|
|
20990
|
+
function hf(r, e) {
|
|
20991
20991
|
const i = r.toLowerCase().split("?")[0].split("#")[0].split(".").pop() ?? "";
|
|
20992
20992
|
if (i === "csv")
|
|
20993
20993
|
return xe.Csv;
|
|
@@ -20998,8 +20998,8 @@ function lf(r, e) {
|
|
|
20998
20998
|
const s = (e ?? "").toLowerCase();
|
|
20999
20999
|
return s.includes("text/csv") ? xe.Csv : s.includes("application/json") || s.includes("text/json") || s.includes("+json") ? xe.Json : s.includes("application/xml") || s.includes("text/xml") || s.includes("+xml") ? xe.Xml : xe.Csv;
|
|
21000
21000
|
}
|
|
21001
|
-
function
|
|
21002
|
-
return r !== xe.Auto ? r :
|
|
21001
|
+
function cf(r, e, t) {
|
|
21002
|
+
return r !== xe.Auto ? r : hf(e, t);
|
|
21003
21003
|
}
|
|
21004
21004
|
const qr = 2e3;
|
|
21005
21005
|
function fo(r, e, t) {
|
|
@@ -21046,7 +21046,7 @@ function fo(r, e, t) {
|
|
|
21046
21046
|
}
|
|
21047
21047
|
return i;
|
|
21048
21048
|
}
|
|
21049
|
-
function
|
|
21049
|
+
function df(r, e) {
|
|
21050
21050
|
return async (t, i, s) => {
|
|
21051
21051
|
const o = r() ?? [], n = s ?? {}, a = fo(o, n, e()), l = Number(n.PageNumber) || 1, h = Number(n.PageSize) || a.length || 1, c = (l - 1) * h;
|
|
21052
21052
|
return {
|
|
@@ -21055,7 +21055,7 @@ function cf(r, e) {
|
|
|
21055
21055
|
};
|
|
21056
21056
|
};
|
|
21057
21057
|
}
|
|
21058
|
-
function
|
|
21058
|
+
function uf(r) {
|
|
21059
21059
|
if (!r)
|
|
21060
21060
|
return [];
|
|
21061
21061
|
const e = Array.isArray(r) ? r : [r], t = [];
|
|
@@ -21097,12 +21097,12 @@ function Jr(r) {
|
|
|
21097
21097
|
});
|
|
21098
21098
|
}), e;
|
|
21099
21099
|
}
|
|
21100
|
-
async function
|
|
21100
|
+
async function pf(r, e, t, i, s, o = qr) {
|
|
21101
21101
|
const n = [], a = [];
|
|
21102
21102
|
if (e.forEach((d) => {
|
|
21103
21103
|
if (typeof d.field != "string" || d.field === "")
|
|
21104
21104
|
return;
|
|
21105
|
-
const p =
|
|
21105
|
+
const p = uf(d.validator);
|
|
21106
21106
|
if (p.length === 0)
|
|
21107
21107
|
return;
|
|
21108
21108
|
const u = s?.columnManager?.getColumnByField(
|
|
@@ -21136,7 +21136,7 @@ async function uf(r, e, t, i, s, o = qr) {
|
|
|
21136
21136
|
m || (m = /* @__PURE__ */ new Map(), i.set(u, m)), m.set(p, d.failures);
|
|
21137
21137
|
}), !0;
|
|
21138
21138
|
}
|
|
21139
|
-
function
|
|
21139
|
+
function ff(r, e) {
|
|
21140
21140
|
return r.map((t) => {
|
|
21141
21141
|
if (typeof t.field != "string" || t.field === "" || !t.validator)
|
|
21142
21142
|
return t;
|
|
@@ -21157,7 +21157,7 @@ function pf(r, e) {
|
|
|
21157
21157
|
} };
|
|
21158
21158
|
});
|
|
21159
21159
|
}
|
|
21160
|
-
function
|
|
21160
|
+
function mf(r, e) {
|
|
21161
21161
|
!r.some((i) => i.mutateOnValidate) || !e || e.getRows().forEach((i) => {
|
|
21162
21162
|
i.getCells().forEach((s) => {
|
|
21163
21163
|
if (!s.getColumn().getDefinition().mutateOnValidate)
|
|
@@ -21167,7 +21167,7 @@ function ff(r, e) {
|
|
|
21167
21167
|
});
|
|
21168
21168
|
});
|
|
21169
21169
|
}
|
|
21170
|
-
function
|
|
21170
|
+
function gf(r, e) {
|
|
21171
21171
|
const t = e?.modules?.mutator;
|
|
21172
21172
|
t && r.forEach((i) => t.transformRow(i, "data"));
|
|
21173
21173
|
}
|
|
@@ -21206,16 +21206,16 @@ function Yr(r, e, t, i, s) {
|
|
|
21206
21206
|
});
|
|
21207
21207
|
}
|
|
21208
21208
|
}
|
|
21209
|
-
var
|
|
21209
|
+
var bf = Object.defineProperty, wf = Object.getOwnPropertyDescriptor, Bn = (r) => {
|
|
21210
21210
|
throw TypeError(r);
|
|
21211
21211
|
}, v = (r, e, t, i) => {
|
|
21212
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
21212
|
+
for (var s = i > 1 ? void 0 : i ? wf(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
21213
21213
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
21214
|
-
return i && s &&
|
|
21215
|
-
},
|
|
21214
|
+
return i && s && bf(e, t, s), s;
|
|
21215
|
+
}, vf = (r, e, t) => e.has(r) || Bn("Cannot " + t), yf = (r, e, t) => (vf(r, e, "read from private field"), t ? t.call(r) : e.get(r)), Cf = (r, e, t) => e.has(r) ? Bn("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(r) : e.set(r, t), mo, $n;
|
|
21216
21216
|
let g = class extends Ie {
|
|
21217
21217
|
constructor() {
|
|
21218
|
-
super(),
|
|
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
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 = es.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();
|
|
@@ -21336,14 +21336,14 @@ let g = class extends Ie {
|
|
|
21336
21336
|
}
|
|
21337
21337
|
}
|
|
21338
21338
|
async initTable() {
|
|
21339
|
-
this.tabulatorInstance && (this.selectAllController.resetSelection(), this.overflowObserver?.disconnect(), this.osInstance?.destroy(), this.tabulatorInstance.off("tableBuilt"), this.tabulatorInstance.destroy()), !this.pagination || !this.dataUrl?.trim() ? (this.internalAjaxRequestFunc = void 0, this.inMemoryDataUrlRows = null, this.inMemoryValidationResult = null, this.lastAttemptedDataUrl = null) : this.internalAjaxRequestFunc || (this.internalAjaxRequestFunc =
|
|
21339
|
+
this.tabulatorInstance && (this.selectAllController.resetSelection(), this.overflowObserver?.disconnect(), this.osInstance?.destroy(), this.tabulatorInstance.off("tableBuilt"), this.tabulatorInstance.destroy()), !this.pagination || !this.dataUrl?.trim() ? (this.internalAjaxRequestFunc = void 0, this.inMemoryDataUrlRows = null, this.inMemoryValidationResult = null, this.lastAttemptedDataUrl = null) : this.internalAjaxRequestFunc || (this.internalAjaxRequestFunc = df(
|
|
21340
21340
|
() => this.inMemoryDataUrlRows,
|
|
21341
21341
|
() => this.inMemoryFilterSortContext
|
|
21342
21342
|
));
|
|
21343
21343
|
let e = this.rowHeader;
|
|
21344
|
-
e == null && (this.movableRows ? e =
|
|
21344
|
+
e == null && (this.movableRows ? e = Jp : this.responsiveLayout === "collapse" && (e = {
|
|
21345
21345
|
formatter: "responsiveCollapse"
|
|
21346
|
-
})), this.tabulatorInstance = new
|
|
21346
|
+
})), this.tabulatorInstance = new gp(this.table, {
|
|
21347
21347
|
ajaxConfig: { method: this.ajaxMethod },
|
|
21348
21348
|
ajaxContentType: this.ajaxMethod?.toUpperCase() === "POST" ? "json" : "form",
|
|
21349
21349
|
ajaxParams: this.ajaxParams,
|
|
@@ -21396,13 +21396,13 @@ let g = class extends Ie {
|
|
|
21396
21396
|
groupHeaderUseFormatter: this.groupHeaderUseFormatter,
|
|
21397
21397
|
groupIndent: this.groupIndent,
|
|
21398
21398
|
groupLoadMoreMeta: this.groupLoadMoreMeta,
|
|
21399
|
-
groupStartOpen:
|
|
21399
|
+
groupStartOpen: yf(this, mo, $n),
|
|
21400
21400
|
groupToggleElement: this.groupToggleElement,
|
|
21401
21401
|
groupUpdateOnCellEdit: this.groupUpdateOnCellEdit,
|
|
21402
21402
|
groupValues: this.groupValues,
|
|
21403
21403
|
headerFilterLiveFilterDelay: this.headerFilterLiveFilterDelay,
|
|
21404
21404
|
headerHidden: this.noHeader,
|
|
21405
|
-
headerSortElement:
|
|
21405
|
+
headerSortElement: ef,
|
|
21406
21406
|
hoverMenu: this.hoverMenu,
|
|
21407
21407
|
index: this.rowIdField,
|
|
21408
21408
|
initialFilter: this.initialFilter,
|
|
@@ -21779,7 +21779,7 @@ let g = class extends Ie {
|
|
|
21779
21779
|
const y = l.length;
|
|
21780
21780
|
x.forEach((k) => {
|
|
21781
21781
|
k.__cxRowIndex = l.length, l.push(k);
|
|
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,
|
|
21785
21785
|
y,
|
|
@@ -21934,7 +21934,7 @@ let g = class extends Ie {
|
|
|
21934
21934
|
const i = await fetch(e);
|
|
21935
21935
|
if (!i.ok)
|
|
21936
21936
|
throw new Error(`Failed to fetch data: ${i.status} ${i.statusText}`);
|
|
21937
|
-
const s = i.headers.get("content-type"), o =
|
|
21937
|
+
const s = i.headers.get("content-type"), o = cf(this.dataFormat, e, s);
|
|
21938
21938
|
if (t !== this.dataUrlRequestId)
|
|
21939
21939
|
return;
|
|
21940
21940
|
const n = await i.text();
|
|
@@ -21958,7 +21958,7 @@ let g = class extends Ie {
|
|
|
21958
21958
|
y += D.size;
|
|
21959
21959
|
}), this.emit("cx-table-validation-change", {
|
|
21960
21960
|
detail: { invalidCellCount: y, invalidCells: [] }
|
|
21961
|
-
}), l && (
|
|
21961
|
+
}), l && (mf(h, this.tabulatorInstance), this.tabulatorInstance?.redraw(!0));
|
|
21962
21962
|
}, p = (w, x) => {
|
|
21963
21963
|
l || t !== this.dataUrlRequestId || (l = !0, this.inMemoryDataUrlRows = x, this.columns = h, this.tabulatorInstance?.setData(void 0), this.setLoading(!1));
|
|
21964
21964
|
}, { rows: u, validationResult: m } = await this.parseDataUrlIntoMemory(
|
|
@@ -21968,7 +21968,7 @@ let g = class extends Ie {
|
|
|
21968
21968
|
a,
|
|
21969
21969
|
(w) => {
|
|
21970
21970
|
const x = this.resolveColumnsAfterLoad(w);
|
|
21971
|
-
return h =
|
|
21971
|
+
return h = ff(
|
|
21972
21972
|
x,
|
|
21973
21973
|
() => this.inMemoryValidationResult
|
|
21974
21974
|
), h;
|
|
@@ -22141,7 +22141,7 @@ $n = function() {
|
|
|
22141
22141
|
};
|
|
22142
22142
|
g.styles = [
|
|
22143
22143
|
Ge,
|
|
22144
|
-
|
|
22144
|
+
Xp,
|
|
22145
22145
|
Gn
|
|
22146
22146
|
];
|
|
22147
22147
|
g.dependencies = {
|
|
@@ -22499,7 +22499,7 @@ v([
|
|
|
22499
22499
|
v([
|
|
22500
22500
|
f({
|
|
22501
22501
|
attribute: "frozen-rows",
|
|
22502
|
-
converter:
|
|
22502
|
+
converter: Yp
|
|
22503
22503
|
})
|
|
22504
22504
|
], g.prototype, "frozenRows", 2);
|
|
22505
22505
|
v([
|
|
@@ -22517,7 +22517,7 @@ v([
|
|
|
22517
22517
|
v([
|
|
22518
22518
|
f({
|
|
22519
22519
|
attribute: "group-by",
|
|
22520
|
-
converter:
|
|
22520
|
+
converter: Qp
|
|
22521
22521
|
})
|
|
22522
22522
|
], g.prototype, "groupBy", 2);
|
|
22523
22523
|
v([
|
|
@@ -22672,7 +22672,7 @@ v([
|
|
|
22672
22672
|
v([
|
|
22673
22673
|
f({
|
|
22674
22674
|
attribute: "data-tree-start-expanded",
|
|
22675
|
-
converter:
|
|
22675
|
+
converter: Zp
|
|
22676
22676
|
})
|
|
22677
22677
|
], g.prototype, "dataTreeStartExpanded", 2);
|
|
22678
22678
|
v([
|
|
@@ -23229,9 +23229,9 @@ v([
|
|
|
23229
23229
|
g = v([
|
|
23230
23230
|
He("cx-table")
|
|
23231
23231
|
], g);
|
|
23232
|
-
const
|
|
23233
|
-
var Ve = /* @__PURE__ */ ((r) => (r.Circles = "circles", r.Grid = "grid", r.Table = "table", r))(Ve || {}), Dt = /* @__PURE__ */ ((r) => (r.FillContainer = "fill-container", r.HugContents = "hug-contents", r))(Dt || {}),
|
|
23234
|
-
const
|
|
23232
|
+
const xf = g;
|
|
23233
|
+
var Ve = /* @__PURE__ */ ((r) => (r.Circles = "circles", r.Grid = "grid", r.Table = "table", r))(Ve || {}), Dt = /* @__PURE__ */ ((r) => (r.FillContainer = "fill-container", r.HugContents = "hug-contents", r))(Dt || {}), 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
|
+
const Gm = {
|
|
23235
23235
|
alignment: "left",
|
|
23236
23236
|
color: "",
|
|
23237
23237
|
constraints: !1,
|
|
@@ -23243,9 +23243,9 @@ const jm = {
|
|
|
23243
23243
|
minWidth: "",
|
|
23244
23244
|
widthMode: "fill-container"
|
|
23245
23245
|
/* FillContainer */
|
|
23246
|
-
}, Zr = 165,
|
|
23246
|
+
}, Zr = 165, Rf = /* @__PURE__ */ new Set(["HEX", "RGB", "CMYK", "PMS"]), Sf = new Set(
|
|
23247
23247
|
Object.values(kt)
|
|
23248
|
-
),
|
|
23248
|
+
), Df = {
|
|
23249
23249
|
resizable: !1
|
|
23250
23250
|
}, Ni = {
|
|
23251
23251
|
field: "name",
|
|
@@ -23318,7 +23318,7 @@ 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 Mf = (r, e) => [
|
|
23322
23322
|
{
|
|
23323
23323
|
field: "hex",
|
|
23324
23324
|
formatter: (t) => Vi(r, t, e),
|
|
@@ -23352,7 +23352,7 @@ const Df = (r, e) => [
|
|
|
23352
23352
|
title: "PMS"
|
|
23353
23353
|
}
|
|
23354
23354
|
];
|
|
23355
|
-
function
|
|
23355
|
+
function kf(r) {
|
|
23356
23356
|
return {
|
|
23357
23357
|
field: go(r.id),
|
|
23358
23358
|
formatter: (e) => {
|
|
@@ -23380,11 +23380,11 @@ function Mf(r) {
|
|
|
23380
23380
|
function go(r) {
|
|
23381
23381
|
return `custom-${r}`;
|
|
23382
23382
|
}
|
|
23383
|
-
const
|
|
23384
|
-
var
|
|
23385
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
23383
|
+
const Tf = Q`:host{--grid-gap:var(--cx-spacing-medium);--grid-column-gap:var(--grid-gap);--grid-row-gap:var(--grid-gap);--padding:0;--palette-title-font-size:var(--cx-font-size-x-large);--palette-title-color:light-dark(#000,#fff);--column-title-font-size:var(--cx-font-size-large);--column-title-color:light-dark(#000,#fff);--name-swatch-width:64px;--name-swatch-height:32px;--name-swatch-border-radius:0;--swatch-circle-size:350px;--swatch-circle-border-radius:1000px;--swatch-circle-content-align:center;--swatch-circle-content-justify:center;--swatch-circle-content-margin:0px;--swatch-group-horizontal-gap:-120px;--swatch-border:light-dark(#0000,#0000) 0px;--swatch-border-radius:var(--cx-border-radius-x-large);--swatch-box-shadow:0px 0px 0px 0px light-dark(#0000,#0000);--swatch-content-justify:space-between;--swatch-content-margin:var(--cx-spacing-medium);--swatch-min-height:50px;--swatch-text-color:light-dark(#000,#fff);--swatch-font-size:var(--cx-font-size-large);padding:var(--cx-focus-ring-width);width:100%;min-width:0;display:block}.color-swatch-group__swatches{padding:var(--padding,0);width:100%;max-width:100%;height:100%}.color-swatch-group__table-container{max-width:100%}.color-swatch-group__measure{visibility:hidden;pointer-events:none;box-sizing:border-box;white-space:nowrap;padding-right:calc(var(--row-padding-right,var(--cx-spacing-2x-small)) + var(--table-column-gap,0px));padding-left:var(--row-padding-left,var(--cx-spacing-2x-small));font-family:var(--swatch-font-family,var(--cx-font-sans));font-style:var(--swatch-font-style,normal);font-weight:var(--swatch-font-weight,var(--cx-font-weight-regular));font-size:var(--swatch-font-size,var(--cx-font-size-large));position:absolute;top:0;left:0}.color-swatch-group__measure--title{padding-right:calc(var(--row-padding-left,var(--cx-spacing-2x-small)) + var(--table-column-gap,0px));font-family:var(--column-title-font-family,var(--swatch-font-family,var(--cx-font-sans)));font-style:var(--column-title-font-style,var(--swatch-font-style,normal));font-weight:var(--column-title-font-weight,var(--swatch-font-weight,var(--cx-font-weight-semibold)));font-size:var(--column-title-font-size,var(--swatch-font-size,var(--cx-font-size-large)))}.color-swatch-group__measure--copyable{border:var(--cx-input-border-width) solid transparent;text-transform:var(--cx-button-text-transform,none)}.color-swatch-group__measure--name{padding-left:calc(var(--row-padding-left,var(--cx-spacing-2x-small)) + var(--name-swatch-width,64px) + var(--cx-spacing-medium))}.color-swatch-group__title{--font-family:var(--palette-title-font-family,var(--swatch-font-family,var(--cx-font-sans)));--font-style:var(--palette-title-font-style);--font-weight:var(--palette-title-font-weight);--font-size:var(--palette-title-font-size);--color:var(--palette-title-color)}.color-swatch-group__table-container:focus-visible{outline:var(--cx-focus-ring);outline-offset:var(--cx-focus-ring-offset)}.color-swatch-group__swatches--circles--horizontal,.color-swatch-group__swatches--circles--vertical{--spacing-container-gap:0px}.color-swatch-group__swatches--circles--horizontal>cx-color-swatch:not(:first-child){margin-left:var(--swatch-group-horizontal-gap,-120px)}.color-swatch-group__swatches--circles--vertical>cx-color-swatch:not(:first-child){margin-top:var(--swatch-group-vertical-gap,-50px)}.color-swatch-group__swatches--circles--vertical__item--mobile{--swatch-size:100%}.color-swatch-group__swatches--grid{align-items:stretch;column-gap:var(--grid-column-gap,var(--grid-gap,var(--cx-spacing-medium)));row-gap:var(--grid-row-gap,var(--grid-gap,var(--cx-spacing-medium)));display:grid}.color-swatch-group__table{font-family:var(--swatch-font-family,var(--cx-font-sans));font-style:var(--swatch-font-style,normal);--width:var(--table-width,100%);--body-background-color:transparent;--row-background-color:transparent;--row-even-background-color:transparent;--row-hover-background-color:var(--cx-color-neutral-50);--row-even-hover-background-color:var(--cx-color-neutral-50);--header-background-color:transparent;--group-row-background-color:transparent;--cell-border-color:transparent;--cell-bottom-border-color:transparent;--header-font-family:var(--column-title-font-family,var(--swatch-font-family,var(--cx-font-sans)));--header-font-style:var(--column-title-font-style,var(--swatch-font-style,normal));--header-font-size:var(--column-title-font-size,var(--swatch-font-size,var(--cx-font-size-large)));--header-font-weight:var(--column-title-font-weight,var(--swatch-font-weight,var(--cx-font-weight-semibold)));--header-color:var(--column-title-color,var(--cx-color-neutral-700));--header-border-right:none;--cell-font-family:var(--swatch-font-family,var(--cx-font-sans));--cell-font-size:var(--swatch-font-size,var(--cx-font-size-large));--cell-font-weight:var(--swatch-font-weight,var(--cx-font-weight-regular));--cell-line-height:normal;--cell-hover-background-color:transparent;--color:var(--swatch-text-color,var(--cx-color-neutral-900));--placeholder-font-size:var(--cx-font-size-medium-large);--cell-horizontal-padding:var(--cx-spacing-2x-small);--cell-padding-top:var(--row-padding-top,var(--cx-spacing-2x-small));--cell-padding-right:var(--row-padding-right,var(--cx-spacing-2x-small));--cell-padding-bottom:var(--row-padding-bottom,var(--cx-spacing-2x-small));--cell-padding-left:var(--row-padding-left,var(--cx-spacing-2x-small));--header-horizontal-padding:var(--row-padding-left,var(--cx-spacing-2x-small));--row-gap:var(--table-row-gap,0);--column-gap:var(--table-column-gap,0px);--header-border-bottom:1px solid var(--cx-color-neutral-200);--hover-menu-background-color:var(--row-hover-background-color);--outer-border-color:transparent}.color-swatch-group__table--no-separator{--header-border-bottom:none}.color-swatch-group__table::part(table){background-color:#0000}`;
|
|
23384
|
+
var Ff = Object.defineProperty, Lf = Object.getOwnPropertyDescriptor, j = (r, e, t, i) => {
|
|
23385
|
+
for (var s = i > 1 ? void 0 : i ? Lf(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
23386
23386
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
23387
|
-
return i && s &&
|
|
23387
|
+
return i && s && Ff(e, t, s), s;
|
|
23388
23388
|
};
|
|
23389
23389
|
const en = "unnamed", ai = {
|
|
23390
23390
|
fromAttribute: (r) => {
|
|
@@ -23398,13 +23398,13 @@ let V = class extends Ie {
|
|
|
23398
23398
|
kt.PaletteName,
|
|
23399
23399
|
kt.ColumnTitles,
|
|
23400
23400
|
kt.SeparatorLine
|
|
23401
|
-
], this.nameColumnWidthMode = Dt.FillContainer, this.nameColumnConstraints = !1, this.codeColumnWidthMode = Dt.FillContainer, this.codeColumnConstraints = !1, this.customColumns = [], this.gradientEffect = !1, this.breakpoints =
|
|
23401
|
+
], this.nameColumnWidthMode = Dt.FillContainer, this.nameColumnConstraints = !1, this.codeColumnWidthMode = Dt.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(
|
|
23405
23405
|
"aria-roledescription",
|
|
23406
23406
|
this.localize.term("colorSwatches")
|
|
23407
|
-
), this.breakpoints =
|
|
23407
|
+
), this.breakpoints = Aa(this, this.breakpoints), this.handleResize();
|
|
23408
23408
|
}
|
|
23409
23409
|
connectedCallback() {
|
|
23410
23410
|
super.connectedCallback(), window.addEventListener("resize", this.handleWindowResize);
|
|
@@ -23428,7 +23428,7 @@ let V = class extends Ie {
|
|
|
23428
23428
|
break;
|
|
23429
23429
|
}
|
|
23430
23430
|
case Ve.Circles: {
|
|
23431
|
-
this.deviceType =
|
|
23431
|
+
this.deviceType = Pa(this.breakpoints);
|
|
23432
23432
|
break;
|
|
23433
23433
|
}
|
|
23434
23434
|
}
|
|
@@ -23617,7 +23617,7 @@ let V = class extends Ie {
|
|
|
23617
23617
|
* Filter out the columns that are not in the showCodes
|
|
23618
23618
|
*/
|
|
23619
23619
|
getTableColumns(r) {
|
|
23620
|
-
const e = this.canCopy ?
|
|
23620
|
+
const e = this.canCopy ? Mf(this.localize, r) : Qr, t = {
|
|
23621
23621
|
alignment: this.nameColumnAlignment,
|
|
23622
23622
|
constraints: this.nameColumnConstraints,
|
|
23623
23623
|
maxWidth: this.nameColumnMaxWidth,
|
|
@@ -23640,7 +23640,7 @@ let V = class extends Ie {
|
|
|
23640
23640
|
* the shared Code columns settings.
|
|
23641
23641
|
*/
|
|
23642
23642
|
...this.customColumns.map(
|
|
23643
|
-
(s) => this.applyColumnSettings(
|
|
23643
|
+
(s) => this.applyColumnSettings(kf(s), {
|
|
23644
23644
|
alignment: s.alignment,
|
|
23645
23645
|
constraints: !!s.constraints,
|
|
23646
23646
|
maxWidth: ai.fromAttribute(s.maxWidth ?? null),
|
|
@@ -23748,7 +23748,7 @@ let V = class extends Ie {
|
|
|
23748
23748
|
)} layout="fitColumns" .columns=${Qo(
|
|
23749
23749
|
this.columnGuardDependencies,
|
|
23750
23750
|
() => this.getTableColumns(t.palette)
|
|
23751
|
-
)} .columnDefaults=${
|
|
23751
|
+
)} .columnDefaults=${Df} .rowHeight=${void 0} .data=${i} class=${We({
|
|
23752
23752
|
"color-swatch-group__table": !0,
|
|
23753
23753
|
"color-swatch-group__table--no-separator": !this.visibleElements.has(
|
|
23754
23754
|
kt.SeparatorLine
|
|
@@ -23779,18 +23779,18 @@ let V = class extends Ie {
|
|
|
23779
23779
|
`;
|
|
23780
23780
|
}
|
|
23781
23781
|
};
|
|
23782
|
-
V.styles = [Ge,
|
|
23782
|
+
V.styles = [Ge, Tf];
|
|
23783
23783
|
V.dependencies = {
|
|
23784
23784
|
"cx-color-swatch": sn,
|
|
23785
23785
|
"cx-space": Ti,
|
|
23786
|
-
"cx-table":
|
|
23786
|
+
"cx-table": xf,
|
|
23787
23787
|
"cx-typography": tn
|
|
23788
23788
|
};
|
|
23789
23789
|
j([
|
|
23790
23790
|
pe(".color-swatch-group__swatches")
|
|
23791
23791
|
], V.prototype, "containerEl", 2);
|
|
23792
23792
|
j([
|
|
23793
|
-
|
|
23793
|
+
Ia("cx-table")
|
|
23794
23794
|
], V.prototype, "tableEls", 2);
|
|
23795
23795
|
j([
|
|
23796
23796
|
pe(".color-swatch-group__measure")
|
|
@@ -23811,7 +23811,7 @@ j([
|
|
|
23811
23811
|
f({
|
|
23812
23812
|
attribute: "show-codes",
|
|
23813
23813
|
converter: {
|
|
23814
|
-
fromAttribute: (r) => (r?.split(" ") ?? []).filter((t) =>
|
|
23814
|
+
fromAttribute: (r) => (r?.split(" ") ?? []).filter((t) => Rf.has(t)),
|
|
23815
23815
|
toAttribute: (r) => r.join(" ")
|
|
23816
23816
|
},
|
|
23817
23817
|
reflect: !0
|
|
@@ -23834,7 +23834,7 @@ j([
|
|
|
23834
23834
|
attribute: "show-elements",
|
|
23835
23835
|
converter: {
|
|
23836
23836
|
fromAttribute: (r) => (r?.split(" ") ?? []).filter(
|
|
23837
|
-
(t) =>
|
|
23837
|
+
(t) => Sf.has(t)
|
|
23838
23838
|
),
|
|
23839
23839
|
toAttribute: (r) => r.join(" ")
|
|
23840
23840
|
},
|
|
@@ -23934,16 +23934,16 @@ V = j([
|
|
|
23934
23934
|
], V);
|
|
23935
23935
|
export {
|
|
23936
23936
|
V as C,
|
|
23937
|
-
|
|
23937
|
+
Gm as D,
|
|
23938
23938
|
at as F,
|
|
23939
23939
|
Gt as H,
|
|
23940
23940
|
Ct as a,
|
|
23941
|
-
|
|
23941
|
+
xf as b,
|
|
23942
23942
|
Ve as c,
|
|
23943
23943
|
er as d,
|
|
23944
23944
|
kt as e,
|
|
23945
23945
|
Dt as f,
|
|
23946
|
-
|
|
23946
|
+
Ef as g,
|
|
23947
23947
|
ae as h,
|
|
23948
23948
|
le as i,
|
|
23949
23949
|
tr as o
|