@orangelogic/design-system 2.158.0 → 2.159.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.oFxwjebo.js → color-swatch-group.Dg5avknJ.js} +218 -200
- package/library/chunks/{color-swatch.BhBZe8OE.js → color-swatch.DsWP2fd-.js} +1 -1
- package/library/components/color-swatch-group.js +2 -2
- package/library/components/color-swatch.js +1 -1
- package/library/components/molecules.js +1 -1
- package/library/components/organisms.js +1 -1
- package/library/components/types.js +3 -3
- package/library/package.json +1 -1
- package/library/packages/hybrid/table-core/src/table/styles/table-overlay-scrollbar.styles.d.ts +9 -0
- package/library/packages/hybrid/table-core/src/tabulator-tables/core/rendering/renderers/VirtualDomVertical.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import Ri from "../components/space.js";
|
|
2
2
|
import { C as on, T as ea } from "./typography.IqHbnd3C.js";
|
|
3
3
|
import { n as f, C as Pe } from "./lib-cortex-element.CVMmyPMC.js";
|
|
4
|
-
import { C as rn, a as is } from "./color-swatch.
|
|
4
|
+
import { C as rn, a as is } from "./color-swatch.DsWP2fd-.js";
|
|
5
5
|
import { c as $e } from "./component.styles.CRO4Odto.js";
|
|
6
6
|
import { C as Et } from "./button.8syoJXYs.js";
|
|
7
7
|
import { C as ta, o as ia, O as Yo } from "./dialog.Bzf4-IgH.js";
|
|
@@ -11,7 +11,7 @@ import { i as nn, r as sa, f as Yt, m as oa, a as ra, t as an, g as na, b as aa,
|
|
|
11
11
|
import { c as Ie } from "./custom-element.L4WJXn1j.js";
|
|
12
12
|
import { L as tt } from "./i18n.Bchq8v1d.js";
|
|
13
13
|
import { b as uo, a as ha, c as Qo, h as ca, o as da, k as ln, p as hn, q as ua, f as pa, r as cn, t as fa, u as ma, e as ga, v as ba, U as Zo, x as po, y as Vi, z as wa, j as va, A as ya, i as Ca, w as V, B as Ea } from "./watch.DOt4Mabe.js";
|
|
14
|
-
import { i as
|
|
14
|
+
import { i as X, x, E as wt, B as xa } from "./lit-element.jLBm65_O.js";
|
|
15
15
|
import { r as L } from "./state.CSDxrqLd.js";
|
|
16
16
|
import { e as pe } from "./query.BBf1UFkC.js";
|
|
17
17
|
import { b as Ui, i as zt, c as Ra, d as fo, a as Sa, e as er, s as Ta, o as ka } from "./_baseXor.VohG8cOH.js";
|
|
@@ -23,7 +23,7 @@ import { C as un } from "./input.BcyLZUmv.js";
|
|
|
23
23
|
import { d as pn } from "./debounce.DaHuiSGU.js";
|
|
24
24
|
import { e as rt } from "./class-map.BiVq-cVR.js";
|
|
25
25
|
import { c as qe } from "./repeat.CFjcER6_.js";
|
|
26
|
-
import { n as
|
|
26
|
+
import { n as Y } from "./when.Dr1es41R.js";
|
|
27
27
|
import { a as go, r as _a, S as tr, i as bo, b as za } from "./isObjectLike.z36Fu426.js";
|
|
28
28
|
import { b as Oa } from "./capitalize.BTYI3NfM.js";
|
|
29
29
|
import { S as Aa } from "./sortable.esm.oSzf6C5Q.js";
|
|
@@ -342,7 +342,7 @@ var $h = 1, jh = 2, Wh = 4, fr = Bh(function(r, e) {
|
|
|
342
342
|
_h(t, e[s]);
|
|
343
343
|
return t;
|
|
344
344
|
});
|
|
345
|
-
const Gh =
|
|
345
|
+
const Gh = X`:host{min-height:40px;display:block}.board-list-item{--toggle-size:var(--cx-toggle-size-medium);border:1px solid #0000;border-bottom-color:var(--cx-color-neutral-300);font-family:var(--cx-font-sans);min-height:40px;padding-left:var(--cx-spacing-3x-small);background-color:var(--cx-color-neutral-100);align-items:center;gap:16px;display:flex;overflow:hidden}.board-list-item--placeholder{border-bottom-color:#0000}.board-list-item--placeholder .board-list-item__control{display:none}.board-list-item:not(.board-list-item--group):not(.board-list-item--placeholder):hover{transition:var(--cx-transition-slow);background-color:var(--cx-color-primary-50);cursor:grab;border:1px solid var(--cx-color-primary-300)}.board-list-item__control{width:var(--toggle-size);height:var(--toggle-size);border:solid var(--cx-input-border-width) var(--cx-input-border-color);background-color:var(--cx-input-background-color);color:var(--cx-color-neutral-0);transition:var(--cx-transition-fast) border-color, var(--cx-transition-fast) background-color, var(--cx-transition-fast) color, var(--cx-transition-fast) box-shadow;cursor:pointer;border-radius:2px;flex:none;justify-content:center;align-items:center;display:inline-flex;position:relative}.board-list-item__text{flex:1;align-items:center;width:0;height:100%;display:flex;position:relative}.board-list-item__text__content{font-weight:var(--cx-font-weight-regular);line-height:var(--cx-item-line-height,1.4);text-overflow:ellipsis;z-index:1;display:block;position:relative;overflow:hidden}.board-list-item__text__anchor{z-index:0;width:100%;height:100%;display:block;position:absolute;top:0;left:0}.board-list-item__checked-icon{display:inline-flex}.board-list-item--group{background-color:var(--cx-color-neutral-300)}.board-list-item:not(.board-list-item--checked):not(.board-list-item--readonly) .board-list-item__control:hover{border-color:var(--cx-input-border-color-hover);background-color:var(--cx-input-background-color-hover)}.board-list-item--checked .board-list-item__control{border-color:var(--cx-color-primary);background-color:var(--cx-color-primary)}.board-list-item--readonly .board-list-item__control{cursor:default;background-color:#0000;border-color:#0000}:host(:focus-visible){outline:var(--cx-focus-ring);outline-offset:calc(-1 * var(--cx-focus-ring-width));border-radius:2px}`;
|
|
346
346
|
var Uh = Object.defineProperty, Kh = Object.getOwnPropertyDescriptor, je = (r, e, t, i) => {
|
|
347
347
|
for (var s = i > 1 ? void 0 : i ? Kh(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
348
348
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
@@ -429,7 +429,7 @@ je([
|
|
|
429
429
|
Ee = je([
|
|
430
430
|
Ie("cx-board-list-item")
|
|
431
431
|
], Ee);
|
|
432
|
-
const qh =
|
|
432
|
+
const qh = X`:host{--cx-tooltip-arrow-size:0;flex:1;display:block}.board{--toggle-size:var(--cx-toggle-size-medium);background-color:var(--cx-color-neutral-100);border:1px solid var(--cx-color-neutral-300);border-radius:4px;flex-direction:column;height:100%;padding:16px 16px 0;display:flex}.board--dragging cx-input{pointer-events:none}.board__header{align-items:center;gap:16px;width:100%;height:40px;margin-bottom:16px;display:flex}.board__list{flex:1;max-height:500px;padding-left:0;overflow:hidden scroll}.board__header__text{-webkit-line-clamp:2;color:var(--cx-color-neutral);font-family:var(--cx-font-sans);text-overflow:ellipsis;white-space:pre-wrap;-webkit-box-orient:vertical;flex:1;font-weight:700;display:-webkit-box;overflow:hidden}.board__header__search{flex:0 0 160px}.board__footer{justify-content:space-between;align-items:center;height:40px;display:flex}.board__footer__text{font-family:var(--cx-font-sans)}.board__select-all{width:var(--toggle-size);height:var(--toggle-size);border:solid var(--cx-input-border-width) var(--cx-input-border-color);background-color:var(--cx-input-background-color);color:var(--cx-color-neutral-0);cursor:pointer;transition:var(--cx-transition-fast) border-color, var(--cx-transition-fast) background-color, var(--cx-transition-fast) color, var(--cx-transition-fast) box-shadow;border-radius:2px;flex:none;justify-content:center;align-items:center;display:inline-flex;position:relative}.board--checked .board__select-all{border-color:var(--cx-color-primary);background-color:var(--cx-color-primary)}.board__select-all:focus-visible{outline:var(--cx-focus-ring);outline-offset:var(--cx-focus-ring-offset)}.board__checked-icon{display:inline-flex}`, Xh = (r) => {
|
|
433
433
|
const e = r.getRootNode();
|
|
434
434
|
return e instanceof ShadowRoot ? e.host : null;
|
|
435
435
|
};
|
|
@@ -772,7 +772,7 @@ let $ = class extends Pe {
|
|
|
772
772
|
board: !0,
|
|
773
773
|
"board--checked": this.all && r,
|
|
774
774
|
"board--dragging": this.isDragging
|
|
775
|
-
})}><div class="board__header">${this.all ? x`<span class="board__select-all" part="select-all" role="checkbox" tabindex="0" aria-checked=${this.isAllSelected ? "true" : this.isPartiallySelected ? "mixed" : "false"} aria-label=${this.localize.term("selectAll")} @click=${this.handleSelectAll} @keydown=${this.handleSelectAllKeydown}>${e}</span>` : ""}<cx-tooltip content=${this.boardTitle} hoist ?disabled=${!this.boardTitle || this.isDragging}><div class="board__header__text">${this.boardTitle}</div></cx-tooltip>${
|
|
775
|
+
})}><div class="board__header">${this.all ? x`<span class="board__select-all" part="select-all" role="checkbox" tabindex="0" aria-checked=${this.isAllSelected ? "true" : this.isPartiallySelected ? "mixed" : "false"} aria-label=${this.localize.term("selectAll")} @click=${this.handleSelectAll} @keydown=${this.handleSelectAllKeydown}>${e}</span>` : ""}<cx-tooltip content=${this.boardTitle} hoist ?disabled=${!this.boardTitle || this.isDragging}><div class="board__header__text">${this.boardTitle}</div></cx-tooltip>${Y(
|
|
776
776
|
this.allowSearch,
|
|
777
777
|
() => x`<div class="board__header__search"><cx-input part="search-input" aria-label=${this.localize.term("search")} title=${this.localize.term("search")} placeholder=${this.localize.term("search")} size="small" value=${this.searchValue} @cx-input=${this.handleSearchChange}><cx-icon name="search" slot="prefix"></cx-icon><cx-icon-button part="search-input-clear" label=${this.localize.term("clearSearch")} name="close" size="small" slot="suffix" @click=${this.handleSearchClear}></cx-icon-button></cx-input></div>`
|
|
778
778
|
)}</div><div part="list" class="board__list" role="listbox" aria-label=${this.boardTitle || this.name} aria-multiselectable="true" tabindex="-1" @scroll=${this.handleListScroll}><div style="height: ${40 * this.start}px"></div>${qe(
|
|
@@ -895,7 +895,7 @@ q([
|
|
|
895
895
|
$ = q([
|
|
896
896
|
Ie("cx-board")
|
|
897
897
|
], $);
|
|
898
|
-
const Zh =
|
|
898
|
+
const Zh = X`:host{height:100%;display:block}.multi-select{gap:var(--cx-spacing-medium);width:100%;height:100%;display:flex}.multi-select__control{gap:var(--cx-spacing-small);flex-direction:column;align-self:center;display:flex}`, mr = (r, e) => r.group && e.group && r.group !== e.group ? r.group.localeCompare(e.group) : r.text.localeCompare(e.text);
|
|
899
899
|
var ec = Object.defineProperty, tc = Object.getOwnPropertyDescriptor, Xe = (r, e, t, i) => {
|
|
900
900
|
for (var s = i > 1 ? void 0 : i ? tc(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
901
901
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
@@ -1165,7 +1165,7 @@ De = Xe([
|
|
|
1165
1165
|
Ie("cx-multi-select")
|
|
1166
1166
|
], De);
|
|
1167
1167
|
var jt = /* @__PURE__ */ ((r) => (r.Available = "available", r.Visible = "visible", r))(jt || {});
|
|
1168
|
-
const ic =
|
|
1168
|
+
const ic = X`: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}`;
|
|
1169
1169
|
var sc = Object.defineProperty, oc = Object.getOwnPropertyDescriptor, Ht = (r, e, t, i) => {
|
|
1170
1170
|
for (var s = i > 1 ? void 0 : i ? oc(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
1171
1171
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
@@ -1229,7 +1229,7 @@ let Ze = class extends Pe {
|
|
|
1229
1229
|
r.target === this.dialogEl && this.handleCancel();
|
|
1230
1230
|
}
|
|
1231
1231
|
render() {
|
|
1232
|
-
return x`<cx-dialog label=${this.localize.term("editColumns")} ?open=${this.open} @cx-request-close=${this.handleDialogRequestClose}><cx-multi-select .firstColumnData=${this.firstColumnData} .secondColumnData=${this.secondColumnData} @cx-multi-select-change=${this.handleMultiSelectChange}></cx-multi-select>${
|
|
1232
|
+
return x`<cx-dialog label=${this.localize.term("editColumns")} ?open=${this.open} @cx-request-close=${this.handleDialogRequestClose}><cx-multi-select .firstColumnData=${this.firstColumnData} .secondColumnData=${this.secondColumnData} @cx-multi-select-change=${this.handleMultiSelectChange}></cx-multi-select>${Y(
|
|
1233
1233
|
!this.canApply,
|
|
1234
1234
|
() => x`<p class="table-column-editor__note">${this.localize.term("editColumnsMinVisibleNote")}</p>`
|
|
1235
1235
|
)}<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>`;
|
|
@@ -1268,7 +1268,7 @@ Ze = Ht([
|
|
|
1268
1268
|
var us = /* @__PURE__ */ ((r) => (r.Search = "search-keyword", r))(us || {}), Xi = /* @__PURE__ */ ((r) => (r.BottomCenter = "bottom-center", r.BottomEnd = "bottom-end", r.BottomStart = "bottom-start", r.TopCenter = "top-center", r.TopEnd = "top-end", r.TopStart = "top-start", r))(Xi || {}), vt = /* @__PURE__ */ ((r) => (r.Bottom = "bottom", r.Center = "center", r.Nearest = "nearest", r.Top = "top", r))(vt || {}), Ue = /* @__PURE__ */ ((r) => (r.All = "all", r.Cell = "cell", r.Column = "column", r.Row = "row", r))(Ue || {}), pi = /* @__PURE__ */ ((r) => (r.Both = "both", r.Copy = "copy", r.Paste = "paste", r))(pi || {}), ze = /* @__PURE__ */ ((r) => (r.Auto = "auto", r.Csv = "csv", r.Json = "json", r.Xml = "xml", r))(ze || {}), Ci = /* @__PURE__ */ ((r) => (r.EditColumns = "edit-columns", r.HideColumn = "hide-column", r))(Ci || {}), Wt = /* @__PURE__ */ ((r) => (r.Left = "left", r.Right = "right", r))(Wt || {}), pt = /* @__PURE__ */ ((r) => (r.Local = "local", r.Remote = "remote", r))(pt || {}), Se = /* @__PURE__ */ ((r) => (r.Asc = "asc", r.Desc = "desc", r.None = "none", r))(Se || {}), Ke = /* @__PURE__ */ ((r) => (r.Ends = "ends", r.Equal = "=", r.GreaterOrEqual = ">=", r.GreaterThan = ">", r.In = "in", r.Keywords = "keywords", r.LessOrEqual = "<=", r.LessThan = "<", r.Like = "like", r.NotEqual = "!=", r.Regex = "regex", r.Starts = "starts", r))(Ke || {});
|
|
1269
1269
|
const ps = 36;
|
|
1270
1270
|
var fi = /* @__PURE__ */ ((r) => (r.IsoDate = "iso-date", r.IsoDateTime = "iso-datetime", r.Timestamp = "timestamp", r))(fi || {});
|
|
1271
|
-
const rc =
|
|
1271
|
+
const rc = X`: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}`;
|
|
1272
1272
|
var nc = Object.defineProperty, ac = Object.getOwnPropertyDescriptor, Dn = (r, e, t, i) => {
|
|
1273
1273
|
for (var s = i > 1 ? void 0 : i ? ac(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
1274
1274
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
@@ -1289,7 +1289,7 @@ Dn([
|
|
|
1289
1289
|
Ei = Dn([
|
|
1290
1290
|
Ie("cx-table-footer")
|
|
1291
1291
|
], Ei);
|
|
1292
|
-
const lc =
|
|
1292
|
+
const lc = X`:host{display:contents}cx-popup::part(popup){z-index:var(--cx-z-index-dropdown)}`;
|
|
1293
1293
|
var hc = Object.defineProperty, cc = Object.getOwnPropertyDescriptor, Nt = (r, e, t, i) => {
|
|
1294
1294
|
for (var s = i > 1 ? void 0 : i ? cc(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
1295
1295
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
@@ -1370,7 +1370,7 @@ Nt([
|
|
|
1370
1370
|
et = Nt([
|
|
1371
1371
|
Ie("cx-table-header-menu")
|
|
1372
1372
|
], et);
|
|
1373
|
-
const dc =
|
|
1373
|
+
const dc = X`.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}`;
|
|
1374
1374
|
var uc = Object.defineProperty, pc = Object.getOwnPropertyDescriptor, qt = (r, e, t, i) => {
|
|
1375
1375
|
for (var s = i > 1 ? void 0 : i ? pc(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
1376
1376
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
@@ -1403,7 +1403,7 @@ let mt = class extends Pe {
|
|
|
1403
1403
|
return qe(
|
|
1404
1404
|
r,
|
|
1405
1405
|
(e) => e.name,
|
|
1406
|
-
(e) => x`<cx-menu-item class="table-row-actions__menu-item" data-action=${e.name} style=${ft(e.style ?? {})} @click=${this.handleActionClick}>${
|
|
1406
|
+
(e) => x`<cx-menu-item class="table-row-actions__menu-item" data-action=${e.name} style=${ft(e.style ?? {})} @click=${this.handleActionClick}>${Y(
|
|
1407
1407
|
e.prefixIcon,
|
|
1408
1408
|
() => x`<cx-icon name=${e.prefixIcon} slot="prefix"></cx-icon>`
|
|
1409
1409
|
)}
|
|
@@ -1658,11 +1658,11 @@ let Pt = class extends Pe {
|
|
|
1658
1658
|
}
|
|
1659
1659
|
render() {
|
|
1660
1660
|
const r = this.groupByOptionIdSet.has(this.groupByValue) ? this.groupByValue : null;
|
|
1661
|
-
return x`<cx-dropdown hoist class="header-actions__group-by"><cx-button slot="trigger" caret>${this.localize.term("groupBy")}</cx-button><cx-menu @cx-select=${this.handleMenuSelect}>${
|
|
1661
|
+
return x`<cx-dropdown hoist class="header-actions__group-by"><cx-button slot="trigger" caret>${this.localize.term("groupBy")}</cx-button><cx-menu @cx-select=${this.handleMenuSelect}>${Y(
|
|
1662
1662
|
!this.groupByOptions.length,
|
|
1663
1663
|
() => x`<cx-menu-item disabled=disabled>${this.localize.term("noDataAvailable")}</cx-menu-item>`
|
|
1664
1664
|
)}
|
|
1665
|
-
${
|
|
1665
|
+
${Y(
|
|
1666
1666
|
this.groupByOptions.length,
|
|
1667
1667
|
() => this.renderOffOption(r)
|
|
1668
1668
|
)}
|
|
@@ -1750,7 +1750,7 @@ let Be = class extends Pe {
|
|
|
1750
1750
|
t && this.emit("cx-table-save-search-select", { detail: { id: t } });
|
|
1751
1751
|
}
|
|
1752
1752
|
render() {
|
|
1753
|
-
return x`<cx-dropdown hoist class="header-actions__saved-search"><cx-button slot="trigger" caret>${this.localize.term("savedSearches")}</cx-button><cx-menu @cx-select=${this.handleSavedSearchItemSelect}>${
|
|
1753
|
+
return x`<cx-dropdown hoist class="header-actions__saved-search"><cx-button slot="trigger" caret>${this.localize.term("savedSearches")}</cx-button><cx-menu @cx-select=${this.handleSavedSearchItemSelect}>${Y(
|
|
1754
1754
|
this.savedSearchItems.length === 0 && !this.loading,
|
|
1755
1755
|
() => x`<cx-menu-item disabled=disabled>${this.localize.term("noSavedSearch")}</cx-menu-item>`
|
|
1756
1756
|
)}
|
|
@@ -1759,7 +1759,7 @@ let Be = class extends Pe {
|
|
|
1759
1759
|
(r) => r.recordID,
|
|
1760
1760
|
(r) => x`<cx-menu-item data-id=${r.recordID}><cx-icon name="search" slot="prefix"></cx-icon>${r.name}</cx-menu-item>`
|
|
1761
1761
|
)}
|
|
1762
|
-
${
|
|
1762
|
+
${Y(
|
|
1763
1763
|
this.hasMore,
|
|
1764
1764
|
() => x`<cx-button class="header-actions__saved-search__load-more" variant="text" @click=${this.handleLoadMore} ?loading=${this.loading}>${this.localize.term("more")}</cx-button>`
|
|
1765
1765
|
)}</cx-menu></cx-dropdown>`;
|
|
@@ -1803,13 +1803,13 @@ gt([
|
|
|
1803
1803
|
Be = gt([
|
|
1804
1804
|
Ie("cx-table-saved-search-dropdown")
|
|
1805
1805
|
], Be);
|
|
1806
|
-
const Ec =
|
|
1806
|
+
const Ec = X`:host{container-type:inline-size}.header{align-items:center;gap:var(--cx-spacing-small);flex-wrap:wrap;display:none}.header--has-label,.header--has-pagination{display:flex}:host([pagination]) .header{min-height:var(--cx-input-height-medium);display:flex}:host([pagination][no-header-row-reserve][pagination-placement^=bottom]) .header:not(.header--has-label):not(.header--has-pagination){display:none}.header__label{flex:auto;align-items:center;min-width:0;display:flex}.header:not(.header--has-label) .header__label{display:none}.header:not(.header--has-label){justify-content:flex-end}.header__pagination{flex-shrink:0;align-items:center;display:flex}:host([pagination-placement=top-start]) .header__label,:host([pagination-placement=top-center]) .header__label{flex-basis:100%}:host([pagination-placement=top-start]) .header:not(.header--has-label){justify-content:flex-start}:host([pagination-placement=top-center]) .header:not(.header--has-label){justify-content:center}@container (width>=480px){:host([pagination-placement=top-center]) .header.header--has-label,:host([pagination-placement=top-center]) .header.header--has-pagination{grid-template-columns:1fr auto 1fr;display:grid}:host([pagination-placement=top-center]) .header__pagination{grid-column:2}}.header-actions{flex:1}.search{flex:1;max-width:500px}.header-actions__left{flex:1}.search__input{max-width:500px}.search__icon{--font-size:var(--cx-font-size-medium)}.search__icon--search{margin-inline-start:var(--cx-spacing-2x-small)}.search__icon--advanced-search{margin-inline-end:var(--cx-spacing-2x-small)}.header-actions__dropdown::part(trigger){line-height:1}.table-dropdown-filter__trigger,.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)}`;
|
|
1807
1807
|
var xc = Object.defineProperty, Rc = Object.getOwnPropertyDescriptor, ie = (r, e, t, i) => {
|
|
1808
1808
|
for (var s = i > 1 ? void 0 : i ? Rc(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
1809
1809
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
1810
1810
|
return i && s && xc(e, t, s), s;
|
|
1811
1811
|
};
|
|
1812
|
-
let
|
|
1812
|
+
let Z = class extends Pe {
|
|
1813
1813
|
constructor() {
|
|
1814
1814
|
super(...arguments), this.localize = new tt(this), this.hasSlotController = new mn(
|
|
1815
1815
|
this,
|
|
@@ -1859,7 +1859,7 @@ let Q = class extends Pe {
|
|
|
1859
1859
|
return x`<form class="search" id="search-form" @submit=${this.handleSearchSubmit}><cx-input class="search__input" placeholder=${this.localize.term("typeYourSearchHere")} value=${this.searchValue} clearable @cx-clear=${this.handleClearSearch}><cx-icon-button class=${rt({
|
|
1860
1860
|
search__icon: !0,
|
|
1861
1861
|
"search__icon--search": !0
|
|
1862
|
-
})} name="search" slot="prefix" size="small"></cx-icon-button>${
|
|
1862
|
+
})} name="search" slot="prefix" size="small"></cx-icon-button>${Y(
|
|
1863
1863
|
!this.noAdvancedSearch,
|
|
1864
1864
|
() => x`<cx-tooltip slot="suffix" hoist content=${this.localize.term("advancedSearch")}><cx-icon-button class=${rt({
|
|
1865
1865
|
search__icon: !0,
|
|
@@ -1877,23 +1877,23 @@ let Q = class extends Pe {
|
|
|
1877
1877
|
return x`<cx-table-group-by-dropdown .groupByOptions=${this.groupByOptions} group-by-value=${this.groupByValue}></cx-table-group-by-dropdown>`;
|
|
1878
1878
|
}
|
|
1879
1879
|
renderExportDropdown() {
|
|
1880
|
-
return x`<cx-dropdown hoist placement="bottom-end" distance="4" class="header-actions__dropdown"><cx-icon-button name="more_horiz" slot="trigger" outline></cx-icon-button><cx-menu>${
|
|
1880
|
+
return x`<cx-dropdown hoist placement="bottom-end" distance="4" class="header-actions__dropdown"><cx-icon-button name="more_horiz" slot="trigger" outline></cx-icon-button><cx-menu>${Y(
|
|
1881
1881
|
this.canExportCsv,
|
|
1882
1882
|
() => x`<cx-menu-item @click=${this.handleExportCsv}>${this.localize.term("exportAsCsv")}</cx-menu-item>`
|
|
1883
1883
|
)}
|
|
1884
|
-
${
|
|
1884
|
+
${Y(
|
|
1885
1885
|
this.canExportXml,
|
|
1886
1886
|
() => x`<cx-menu-item @click=${this.handleExportXml}>${this.localize.term("exportAsXml")}</cx-menu-item>`
|
|
1887
1887
|
)}
|
|
1888
|
-
${
|
|
1888
|
+
${Y(
|
|
1889
1889
|
this.canExportPdf,
|
|
1890
1890
|
() => x`<cx-menu-item @click=${this.handleExportPdf}>${this.localize.term("exportAsPdf")}</cx-menu-item>`
|
|
1891
1891
|
)}
|
|
1892
|
-
${
|
|
1892
|
+
${Y(
|
|
1893
1893
|
this.canExportCustom,
|
|
1894
1894
|
() => x`<cx-menu-item @click=${this.handleExportCustom}>${this.localize.term("customExport")}</cx-menu-item>`
|
|
1895
1895
|
)}
|
|
1896
|
-
${
|
|
1896
|
+
${Y(
|
|
1897
1897
|
this.canSaveReport,
|
|
1898
1898
|
() => x`<cx-menu-item data-testid="save-report-menu-item" @click=${this.handleSaveReport}>${this.localize.term("saveReport")}</cx-menu-item>`
|
|
1899
1899
|
)}</cx-menu></cx-dropdown>`;
|
|
@@ -1911,7 +1911,7 @@ let Q = class extends Pe {
|
|
|
1911
1911
|
header: !0,
|
|
1912
1912
|
"header--has-label": r,
|
|
1913
1913
|
"header--has-pagination": e
|
|
1914
|
-
})}><div class="header__label"><slot name="label">${
|
|
1914
|
+
})}><div class="header__label"><slot name="label">${Y(
|
|
1915
1915
|
this.label,
|
|
1916
1916
|
() => x`<cx-typography variant="h3">${this.label}</cx-typography>`
|
|
1917
1917
|
)}</slot></div><div class="header__pagination"><slot name="pagination"></slot></div></div>`;
|
|
@@ -1930,30 +1930,30 @@ let Q = class extends Pe {
|
|
|
1930
1930
|
}
|
|
1931
1931
|
renderHeaderActions() {
|
|
1932
1932
|
const r = this.canExportCsv || this.canExportXml || this.canExportPdf || this.canExportCustom || this.canSaveReport;
|
|
1933
|
-
return x`<cx-space class="header-actions" justify-content="space-between" align-items="center"><cx-space class="header-actions__left" align-items="center" spacing="x-small">${
|
|
1934
|
-
${
|
|
1933
|
+
return x`<cx-space class="header-actions" justify-content="space-between" align-items="center"><cx-space class="header-actions__left" align-items="center" spacing="x-small">${Y(this.selectAllState !== null, () => this.renderSelectAll())}
|
|
1934
|
+
${Y(
|
|
1935
1935
|
this.selectAllState !== null && this.selectAllState.count > 0,
|
|
1936
1936
|
() => x`<slot name="select-all-actions"></slot>`,
|
|
1937
1937
|
() => x`
|
|
1938
|
-
${
|
|
1939
|
-
${
|
|
1938
|
+
${Y(this.canSearch, () => this.renderSearch())}
|
|
1939
|
+
${Y(
|
|
1940
1940
|
this.dropdownFilters.length,
|
|
1941
1941
|
() => this.renderDropdownFilters()
|
|
1942
1942
|
)}
|
|
1943
|
-
${
|
|
1943
|
+
${Y(
|
|
1944
1944
|
this.showSavedSearch,
|
|
1945
1945
|
() => this.renderSavedSearchDropdown()
|
|
1946
1946
|
)}<slot name="dialog-dynamic-filter"></slot>`
|
|
1947
|
-
)}</cx-space><cx-space class="header-actions__right" align-items="center" spacing="x-small"><slot name="add-action">${
|
|
1948
|
-
${
|
|
1947
|
+
)}</cx-space><cx-space class="header-actions__right" align-items="center" spacing="x-small"><slot name="add-action">${Y(this.canAdd, () => this.renderAddButton())}</slot>${Y(this.groupByOptions.length, () => this.renderGroupByDropdown())}
|
|
1948
|
+
${Y(r, () => this.renderExportDropdown())}</cx-space></cx-space>`;
|
|
1949
1949
|
}
|
|
1950
1950
|
render() {
|
|
1951
1951
|
return x`<cx-space class="container" direction="vertical">${this.renderHeaderRow()}
|
|
1952
|
-
${
|
|
1952
|
+
${Y(this.hasHeaderActions, () => this.renderHeaderActions())}</cx-space>`;
|
|
1953
1953
|
}
|
|
1954
1954
|
};
|
|
1955
|
-
|
|
1956
|
-
|
|
1955
|
+
Z.styles = [$e, Ec];
|
|
1956
|
+
Z.dependencies = {
|
|
1957
1957
|
"cx-button": Et,
|
|
1958
1958
|
"cx-checkbox": fn,
|
|
1959
1959
|
"cx-dropdown": ai,
|
|
@@ -1972,121 +1972,121 @@ Q.dependencies = {
|
|
|
1972
1972
|
};
|
|
1973
1973
|
ie([
|
|
1974
1974
|
pe("#search-form")
|
|
1975
|
-
],
|
|
1975
|
+
], Z.prototype, "form", 2);
|
|
1976
1976
|
ie([
|
|
1977
1977
|
pe(".search__input")
|
|
1978
|
-
],
|
|
1978
|
+
], Z.prototype, "searchInput", 2);
|
|
1979
1979
|
ie([
|
|
1980
1980
|
f({
|
|
1981
1981
|
attribute: "label",
|
|
1982
1982
|
type: String
|
|
1983
1983
|
})
|
|
1984
|
-
],
|
|
1984
|
+
], Z.prototype, "label", 2);
|
|
1985
1985
|
ie([
|
|
1986
1986
|
f({
|
|
1987
1987
|
attribute: "can-search",
|
|
1988
1988
|
type: Boolean
|
|
1989
1989
|
})
|
|
1990
|
-
],
|
|
1990
|
+
], Z.prototype, "canSearch", 2);
|
|
1991
1991
|
ie([
|
|
1992
1992
|
f({
|
|
1993
1993
|
attribute: "no-advanced-search",
|
|
1994
1994
|
type: Boolean
|
|
1995
1995
|
})
|
|
1996
|
-
],
|
|
1996
|
+
], Z.prototype, "noAdvancedSearch", 2);
|
|
1997
1997
|
ie([
|
|
1998
1998
|
f({
|
|
1999
1999
|
attribute: "can-add",
|
|
2000
2000
|
type: Boolean
|
|
2001
2001
|
})
|
|
2002
|
-
],
|
|
2002
|
+
], Z.prototype, "canAdd", 2);
|
|
2003
2003
|
ie([
|
|
2004
2004
|
f({
|
|
2005
2005
|
attribute: "add-label",
|
|
2006
2006
|
type: String
|
|
2007
2007
|
})
|
|
2008
|
-
],
|
|
2008
|
+
], Z.prototype, "addLabel", 2);
|
|
2009
2009
|
ie([
|
|
2010
2010
|
f({
|
|
2011
2011
|
attribute: "can-export-csv",
|
|
2012
2012
|
type: Boolean
|
|
2013
2013
|
})
|
|
2014
|
-
],
|
|
2014
|
+
], Z.prototype, "canExportCsv", 2);
|
|
2015
2015
|
ie([
|
|
2016
2016
|
f({
|
|
2017
2017
|
attribute: "can-export-xml",
|
|
2018
2018
|
type: Boolean
|
|
2019
2019
|
})
|
|
2020
|
-
],
|
|
2020
|
+
], Z.prototype, "canExportXml", 2);
|
|
2021
2021
|
ie([
|
|
2022
2022
|
f({
|
|
2023
2023
|
attribute: "can-export-pdf",
|
|
2024
2024
|
type: Boolean
|
|
2025
2025
|
})
|
|
2026
|
-
],
|
|
2026
|
+
], Z.prototype, "canExportPdf", 2);
|
|
2027
2027
|
ie([
|
|
2028
2028
|
f({
|
|
2029
2029
|
attribute: "can-export-custom",
|
|
2030
2030
|
type: Boolean
|
|
2031
2031
|
})
|
|
2032
|
-
],
|
|
2032
|
+
], Z.prototype, "canExportCustom", 2);
|
|
2033
2033
|
ie([
|
|
2034
2034
|
f({ attribute: "dropdown-filters", type: Array })
|
|
2035
|
-
],
|
|
2035
|
+
], Z.prototype, "dropdownFilters", 2);
|
|
2036
2036
|
ie([
|
|
2037
2037
|
f({
|
|
2038
2038
|
attribute: "can-save-report",
|
|
2039
2039
|
type: Boolean
|
|
2040
2040
|
})
|
|
2041
|
-
],
|
|
2041
|
+
], Z.prototype, "canSaveReport", 2);
|
|
2042
2042
|
ie([
|
|
2043
2043
|
f({ attribute: "saved-search-url", type: String })
|
|
2044
|
-
],
|
|
2044
|
+
], Z.prototype, "savedSearchURL", 2);
|
|
2045
2045
|
ie([
|
|
2046
2046
|
f({ attribute: "saved-search-items", type: Array })
|
|
2047
|
-
],
|
|
2047
|
+
], Z.prototype, "savedSearchItems", 2);
|
|
2048
2048
|
ie([
|
|
2049
2049
|
f({ attribute: "saved-search-page-size-param", type: String })
|
|
2050
|
-
],
|
|
2050
|
+
], Z.prototype, "savedSearchPageSizeParam", 2);
|
|
2051
2051
|
ie([
|
|
2052
2052
|
f({ attribute: "saved-search-page-size", type: Number })
|
|
2053
|
-
],
|
|
2053
|
+
], Z.prototype, "savedSearchPageSize", 2);
|
|
2054
2054
|
ie([
|
|
2055
2055
|
f({ attribute: "saved-search-page-number-param", type: String })
|
|
2056
|
-
],
|
|
2056
|
+
], Z.prototype, "savedSearchPageNumberParam", 2);
|
|
2057
2057
|
ie([
|
|
2058
2058
|
f({
|
|
2059
2059
|
attribute: "show-saved-search",
|
|
2060
2060
|
type: Boolean
|
|
2061
2061
|
})
|
|
2062
|
-
],
|
|
2062
|
+
], Z.prototype, "showSavedSearch", 2);
|
|
2063
2063
|
ie([
|
|
2064
2064
|
f({ attribute: !1, type: Array })
|
|
2065
|
-
],
|
|
2065
|
+
], Z.prototype, "groupByOptions", 2);
|
|
2066
2066
|
ie([
|
|
2067
2067
|
f({ attribute: "group-by-value", type: String })
|
|
2068
|
-
],
|
|
2068
|
+
], Z.prototype, "groupByValue", 2);
|
|
2069
2069
|
ie([
|
|
2070
2070
|
f({ attribute: "search-value", type: String })
|
|
2071
|
-
],
|
|
2071
|
+
], Z.prototype, "searchValue", 2);
|
|
2072
2072
|
ie([
|
|
2073
2073
|
f({ attribute: !1 })
|
|
2074
|
-
],
|
|
2074
|
+
], Z.prototype, "selectAllState", 2);
|
|
2075
2075
|
ie([
|
|
2076
2076
|
f({ attribute: "pagination-placement", type: String })
|
|
2077
|
-
],
|
|
2077
|
+
], Z.prototype, "paginationPlacement", 2);
|
|
2078
2078
|
ie([
|
|
2079
2079
|
f({ attribute: "pagination", reflect: !0, type: Boolean })
|
|
2080
|
-
],
|
|
2080
|
+
], Z.prototype, "pagination", 2);
|
|
2081
2081
|
ie([
|
|
2082
2082
|
f({ attribute: "no-header-row-reserve", reflect: !0, type: Boolean })
|
|
2083
|
-
],
|
|
2083
|
+
], Z.prototype, "noHeaderRowReserve", 2);
|
|
2084
2084
|
ie([
|
|
2085
2085
|
f({ attribute: "has-dynamic-filter", type: Boolean })
|
|
2086
|
-
],
|
|
2087
|
-
|
|
2086
|
+
], Z.prototype, "hasDynamicFilter", 2);
|
|
2087
|
+
Z = ie([
|
|
2088
2088
|
Ie("cx-table-toolbar")
|
|
2089
|
-
],
|
|
2089
|
+
], Z);
|
|
2090
2090
|
class Me {
|
|
2091
2091
|
constructor(e) {
|
|
2092
2092
|
this.table = e;
|
|
@@ -2195,7 +2195,7 @@ class Me {
|
|
|
2195
2195
|
return this.table.module(e);
|
|
2196
2196
|
}
|
|
2197
2197
|
}
|
|
2198
|
-
class
|
|
2198
|
+
class Q {
|
|
2199
2199
|
static elVisible(e) {
|
|
2200
2200
|
return !(e.offsetWidth <= 0 && e.offsetHeight <= 0);
|
|
2201
2201
|
}
|
|
@@ -2264,15 +2264,15 @@ let Sc = class Mn extends Me {
|
|
|
2264
2264
|
const t = !(e instanceof MouseEvent);
|
|
2265
2265
|
let i = t ? e.touches[0].pageX : e.pageX, s = t ? e.touches[0].pageY : e.pageY;
|
|
2266
2266
|
if (this.container !== document.body) {
|
|
2267
|
-
const o =
|
|
2267
|
+
const o = Q.elOffset(this.container);
|
|
2268
2268
|
i -= o.left, s -= o.top;
|
|
2269
2269
|
}
|
|
2270
2270
|
return { x: i, y: s };
|
|
2271
2271
|
}
|
|
2272
2272
|
elementPositionCoords(e, t = "right") {
|
|
2273
|
-
const i =
|
|
2273
|
+
const i = Q.elOffset(e);
|
|
2274
2274
|
let s, o, n;
|
|
2275
|
-
switch (this.container !== document.body && (s =
|
|
2275
|
+
switch (this.container !== document.body && (s = Q.elOffset(this.container), i.left -= s.left, i.top -= s.top), t) {
|
|
2276
2276
|
case "right":
|
|
2277
2277
|
o = i.left + e.offsetWidth, n = i.top - 1;
|
|
2278
2278
|
break;
|
|
@@ -2698,7 +2698,7 @@ const Fc = {
|
|
|
2698
2698
|
}
|
|
2699
2699
|
// apply accessor to row
|
|
2700
2700
|
transformRow(e, t) {
|
|
2701
|
-
const i = "accessor" + (t.charAt(0).toUpperCase() + t.slice(1)), s = e.getComponent(), o =
|
|
2701
|
+
const i = "accessor" + (t.charAt(0).toUpperCase() + t.slice(1)), s = e.getComponent(), o = Q.deepClone(e.data || {});
|
|
2702
2702
|
return this.table.columnManager?.traverse((n) => {
|
|
2703
2703
|
let a, l, h, c;
|
|
2704
2704
|
const d = n.modules.accessor;
|
|
@@ -3185,8 +3185,8 @@ class Qi extends Me {
|
|
|
3185
3185
|
return new Promise((s, o) => {
|
|
3186
3186
|
const a = this.rows().indexOf(e), l = e.getElement();
|
|
3187
3187
|
if (a > -1 && l) {
|
|
3188
|
-
if ((i ?? !(this.table.options.scrollToRowIfHidden ?? !1)) &&
|
|
3189
|
-
const p = this.elementVertical ?
|
|
3188
|
+
if ((i ?? !(this.table.options.scrollToRowIfHidden ?? !1)) && Q.elVisible(l)) {
|
|
3189
|
+
const p = this.elementVertical ? Q.elOffset(l).top - Q.elOffset(this.elementVertical).top : 0;
|
|
3190
3190
|
if (p > 0 && p < (this.elementVertical?.clientHeight ?? 0) - l.offsetHeight) {
|
|
3191
3191
|
s();
|
|
3192
3192
|
return;
|
|
@@ -4225,7 +4225,10 @@ class ke extends Me {
|
|
|
4225
4225
|
// get heights when doing bulk row style calcs in virtual DOM
|
|
4226
4226
|
calcHeight(e) {
|
|
4227
4227
|
let t = 0, i = 0;
|
|
4228
|
-
this.table.options.rowHeight ? this.height = this.table.options.rowHeight : (i = this.calcMinHeight(), t = this.calcMaxHeight(), e ? this.height = Math.max(t, i) : this.height = this.manualHeight ? this.height : Math.max(t, i)), this.heightStyled = this.height ? this.height + "px" : "", this.outerHeight =
|
|
4228
|
+
this.table.options.rowHeight ? this.height = this.table.options.rowHeight : (i = this.calcMinHeight(), t = this.calcMaxHeight(), e ? this.height = Math.max(t, i) : this.height = this.manualHeight ? this.height : Math.max(t, i)), this.heightStyled = this.height ? this.height + "px" : "", this.outerHeight = Math.max(
|
|
4229
|
+
this.table.options.rowHeight || 0,
|
|
4230
|
+
this.element ? this.element.offsetHeight : 0
|
|
4231
|
+
);
|
|
4229
4232
|
}
|
|
4230
4233
|
calcMinHeight() {
|
|
4231
4234
|
return this.table.options.resizableRows && this.element ? this.element.clientHeight : 0;
|
|
@@ -4280,7 +4283,7 @@ class ke extends Me {
|
|
|
4280
4283
|
}
|
|
4281
4284
|
// update the rows data
|
|
4282
4285
|
updateData(e) {
|
|
4283
|
-
const t = this.element &&
|
|
4286
|
+
const t = this.element && Q.elVisible(this.element);
|
|
4284
4287
|
let i = {}, s;
|
|
4285
4288
|
return new Promise((o) => {
|
|
4286
4289
|
if (typeof e == "string")
|
|
@@ -5778,7 +5781,7 @@ function xd(r, e, t) {
|
|
|
5778
5781
|
const o = this.table;
|
|
5779
5782
|
let n;
|
|
5780
5783
|
return e.valueMap && (typeof e.valueMap == "string" ? n = function(a) {
|
|
5781
|
-
return a.map((l) =>
|
|
5784
|
+
return a.map((l) => Q.retrieveNestedData(
|
|
5782
5785
|
o.options.nestedFieldSeparator,
|
|
5783
5786
|
e.valueMap,
|
|
5784
5787
|
l
|
|
@@ -5850,7 +5853,7 @@ function kr({
|
|
|
5850
5853
|
rowData: t,
|
|
5851
5854
|
separator: i
|
|
5852
5855
|
}) {
|
|
5853
|
-
return e.value !== void 0 ? e.value : e.getValue ? e.getValue(r, t) : e.field ?
|
|
5856
|
+
return e.value !== void 0 ? e.value : e.getValue ? e.getValue(r, t) : e.field ? Q.retrieveNestedData(i, e.field, t) : r.getValue();
|
|
5854
5857
|
}
|
|
5855
5858
|
function _d(r, e, t) {
|
|
5856
5859
|
if (!e?.elements || !Array.isArray(e.elements) || e.elements.length === 0)
|
|
@@ -5864,8 +5867,8 @@ function _d(r, e, t) {
|
|
|
5864
5867
|
});
|
|
5865
5868
|
if (Sr({ elementConfig: F, elementValue: be, rowData: i }))
|
|
5866
5869
|
return !1;
|
|
5867
|
-
let
|
|
5868
|
-
return F.valueMap && (
|
|
5870
|
+
let J = be;
|
|
5871
|
+
return F.valueMap && (J = F.valueMap[String(J)] ?? J), !Tr(J);
|
|
5869
5872
|
});
|
|
5870
5873
|
if (Tr(n) && !a && e.placeholder !== void 0)
|
|
5871
5874
|
return Fd.call(this, r, e, t);
|
|
@@ -5887,8 +5890,8 @@ function _d(r, e, t) {
|
|
|
5887
5890
|
});
|
|
5888
5891
|
if (Sr({ elementConfig: F, elementValue: be, rowData: i }))
|
|
5889
5892
|
return;
|
|
5890
|
-
let
|
|
5891
|
-
F.valueMap && (
|
|
5893
|
+
let J = be;
|
|
5894
|
+
F.valueMap && (J = F.valueMap[String(J)] ?? J);
|
|
5892
5895
|
const _ = F.formatter || "plaintext", b = Zi(_), C = {
|
|
5893
5896
|
getColumn: () => r.getColumn(),
|
|
5894
5897
|
getData: () => i,
|
|
@@ -5896,8 +5899,8 @@ function _d(r, e, t) {
|
|
|
5896
5899
|
getRow: () => h,
|
|
5897
5900
|
getTable: () => s,
|
|
5898
5901
|
getType: () => "cell",
|
|
5899
|
-
getValue: () =>
|
|
5900
|
-
value:
|
|
5902
|
+
getValue: () => J,
|
|
5903
|
+
value: J
|
|
5901
5904
|
}, R = typeof F.formatterParams == "function" ? F.formatterParams(C) : F.formatterParams ?? {}, k = (ne) => {
|
|
5902
5905
|
t && t(ne);
|
|
5903
5906
|
};
|
|
@@ -5910,7 +5913,7 @@ function _d(r, e, t) {
|
|
|
5910
5913
|
k
|
|
5911
5914
|
);
|
|
5912
5915
|
} catch {
|
|
5913
|
-
S = String(
|
|
5916
|
+
S = String(J ?? "");
|
|
5914
5917
|
}
|
|
5915
5918
|
if (S == null)
|
|
5916
5919
|
return;
|
|
@@ -5923,11 +5926,11 @@ function _d(r, e, t) {
|
|
|
5923
5926
|
wrapper: z
|
|
5924
5927
|
});
|
|
5925
5928
|
}), D.length === 0 ? void 0 : (D.flatMap((F, be) => {
|
|
5926
|
-
const { separator:
|
|
5927
|
-
if (!
|
|
5929
|
+
const { separator: J, wrapper: _ } = F, b = be === D.length - 1;
|
|
5930
|
+
if (!J || b)
|
|
5928
5931
|
return [_];
|
|
5929
5932
|
const C = document.createElement("span");
|
|
5930
|
-
return typeof
|
|
5933
|
+
return typeof J == "string" ? C.textContent = J : C.appendChild(J.cloneNode(!0)), [_, C];
|
|
5931
5934
|
}).forEach((F) => T.appendChild(F)), T);
|
|
5932
5935
|
}
|
|
5933
5936
|
function zd(r) {
|
|
@@ -6073,7 +6076,7 @@ function Xd(r, e, t) {
|
|
|
6073
6076
|
break;
|
|
6074
6077
|
}
|
|
6075
6078
|
if (n != null) {
|
|
6076
|
-
if (e.urlField && (l = r.getData(), i =
|
|
6079
|
+
if (e.urlField && (l = r.getData(), i = Q.retrieveNestedData(
|
|
6077
6080
|
this.table.options.nestedFieldSeparator,
|
|
6078
6081
|
e.urlField,
|
|
6079
6082
|
l
|
|
@@ -7552,7 +7555,7 @@ const Tu = function(r, e, t, i, s) {
|
|
|
7552
7555
|
if (t < e.cells.length - 1)
|
|
7553
7556
|
for (let s = t + 1; s < e.cells.length; s++) {
|
|
7554
7557
|
const o = e.cells[s], n = o.getElement();
|
|
7555
|
-
if (o.column.modules.edit && n &&
|
|
7558
|
+
if (o.column.modules.edit && n && Q.elVisible(n) && this.allowEdit(o)) {
|
|
7556
7559
|
i = o;
|
|
7557
7560
|
break;
|
|
7558
7561
|
}
|
|
@@ -7564,7 +7567,7 @@ const Tu = function(r, e, t, i, s) {
|
|
|
7564
7567
|
if (t > 0)
|
|
7565
7568
|
for (let s = t - 1; s >= 0; s--) {
|
|
7566
7569
|
const o = e.cells[s], n = o.getElement();
|
|
7567
|
-
if (o.column.modules.edit && n &&
|
|
7570
|
+
if (o.column.modules.edit && n && Q.elVisible(n) && this.allowEdit(o)) {
|
|
7568
7571
|
i = o;
|
|
7569
7572
|
break;
|
|
7570
7573
|
}
|
|
@@ -8382,7 +8385,7 @@ function Wu(r, e, t, i, s) {
|
|
|
8382
8385
|
if (r?.value !== void 0)
|
|
8383
8386
|
return r.value;
|
|
8384
8387
|
const o = r?.field;
|
|
8385
|
-
return typeof o == "string" && o.length > 0 ? o === e ? t : s ?
|
|
8388
|
+
return typeof o == "string" && o.length > 0 ? o === e ? t : s ? Q.retrieveNestedData(s, o, i) : i[o] : t;
|
|
8386
8389
|
}
|
|
8387
8390
|
function Gu(r, e, t) {
|
|
8388
8391
|
return !!(typeof r?.shouldHide == "function" && Oe(() => r.shouldHide(e, t)) || r?.hideValues !== void 0 && (Array.isArray(r.hideValues) ? r.hideValues : [r.hideValues]).includes(e) || typeof r?.shouldShow == "function" && !Oe(
|
|
@@ -8442,7 +8445,7 @@ function qu(r) {
|
|
|
8442
8445
|
if (typeof n == "string") {
|
|
8443
8446
|
const l = n, h = i ?? (typeof s?.options?.nestedFieldSeparator == "string" ? s.options.nestedFieldSeparator : void 0);
|
|
8444
8447
|
a = t.map(
|
|
8445
|
-
(c) =>
|
|
8448
|
+
(c) => Q.retrieveNestedData(h, l, c)
|
|
8446
8449
|
);
|
|
8447
8450
|
} else if (typeof n == "function") {
|
|
8448
8451
|
const l = Oe(() => n(t));
|
|
@@ -8474,7 +8477,7 @@ function Ju(r) {
|
|
|
8474
8477
|
let n = t, a = !1;
|
|
8475
8478
|
if (typeof e.labelField == "string") {
|
|
8476
8479
|
const l = s ?? (typeof o?.options?.nestedFieldSeparator == "string" ? o.options.nestedFieldSeparator : void 0);
|
|
8477
|
-
n = l ?
|
|
8480
|
+
n = l ? Q.retrieveNestedData(l, e.labelField, i) : i?.[e.labelField], a = !0;
|
|
8478
8481
|
}
|
|
8479
8482
|
return typeof e.label == "string" && (n = e.label, a = !0), a ? n != null && n !== t ? [n] : [] : [];
|
|
8480
8483
|
}
|
|
@@ -9882,7 +9885,7 @@ class Qt {
|
|
|
9882
9885
|
(!this.initialized || e) && (this.normalizeHeight(), this.initialized = !0);
|
|
9883
9886
|
}
|
|
9884
9887
|
reinitialize() {
|
|
9885
|
-
this.initialized = !1, this.heightInitialized = !1, this.height = 0, this.element &&
|
|
9888
|
+
this.initialized = !1, this.heightInitialized = !1, this.height = 0, this.element && Q.elVisible(this.element) && this.initialize(!0);
|
|
9886
9889
|
}
|
|
9887
9890
|
setHeight(e) {
|
|
9888
9891
|
this.height !== e && (this.height = e, this.element && (this.outerHeight = this.element.offsetHeight));
|
|
@@ -10664,7 +10667,7 @@ function xp() {
|
|
|
10664
10667
|
}, this._readChunk = function() {
|
|
10665
10668
|
if (this._finished) this._chunkLoaded();
|
|
10666
10669
|
else {
|
|
10667
|
-
if (C = new XMLHttpRequest(), this._config.withCredentials && (C.withCredentials = this._config.withCredentials), o || (C.onload =
|
|
10670
|
+
if (C = new XMLHttpRequest(), this._config.withCredentials && (C.withCredentials = this._config.withCredentials), o || (C.onload = J(this._chunkLoaded, this), C.onerror = J(this._chunkError, this)), C.open(this._config.downloadRequestBody ? "POST" : "GET", this._input, !o), this._config.downloadRequestHeaders) {
|
|
10668
10671
|
var R, k = this._config.downloadRequestHeaders;
|
|
10669
10672
|
for (R in k) C.setRequestHeader(R, k[R]);
|
|
10670
10673
|
}
|
|
@@ -10687,7 +10690,7 @@ function xp() {
|
|
|
10687
10690
|
(b = b || {}).chunkSize || (b.chunkSize = h.LocalChunkSize), d.call(this, b);
|
|
10688
10691
|
var C, R, k = typeof FileReader < "u";
|
|
10689
10692
|
this.stream = function(S) {
|
|
10690
|
-
this._input = S, R = S.slice || S.webkitSlice || S.mozSlice, k ? ((C = new FileReader()).onload =
|
|
10693
|
+
this._input = S, R = S.slice || S.webkitSlice || S.mozSlice, k ? ((C = new FileReader()).onload = J(this._chunkLoaded, this), C.onerror = J(this._chunkError, this)) : C = new FileReaderSync(), this._nextChunk();
|
|
10691
10694
|
}, this._nextChunk = function() {
|
|
10692
10695
|
this._finished || this._config.preview && !(this._rowCount < this._config.preview) || this._readChunk();
|
|
10693
10696
|
}, this._readChunk = function() {
|
|
@@ -10721,17 +10724,17 @@ function xp() {
|
|
|
10721
10724
|
k && C.length === 1 && (this._finished = !0);
|
|
10722
10725
|
}, this._nextChunk = function() {
|
|
10723
10726
|
this._checkIsFinished(), C.length ? this.parseChunk(C.shift()) : R = !0;
|
|
10724
|
-
}, this._streamData =
|
|
10727
|
+
}, this._streamData = J(function(S) {
|
|
10725
10728
|
try {
|
|
10726
10729
|
C.push(typeof S == "string" ? S : S.toString(this._config.encoding)), R && (R = !1, this._checkIsFinished(), this.parseChunk(C.shift()));
|
|
10727
10730
|
} catch (z) {
|
|
10728
10731
|
this._streamError(z);
|
|
10729
10732
|
}
|
|
10730
|
-
}, this), this._streamError =
|
|
10733
|
+
}, this), this._streamError = J(function(S) {
|
|
10731
10734
|
this._streamCleanUp(), this._sendError(S);
|
|
10732
|
-
}, this), this._streamEnd =
|
|
10735
|
+
}, this), this._streamEnd = J(function() {
|
|
10733
10736
|
this._streamCleanUp(), k = !0, this._streamData("");
|
|
10734
|
-
}, this), this._streamCleanUp =
|
|
10737
|
+
}, this), this._streamCleanUp = J(function() {
|
|
10735
10738
|
this._input.removeListener("data", this._streamData), this._input.removeListener("end", this._streamEnd), this._input.removeListener("error", this._streamError);
|
|
10736
10739
|
}, this);
|
|
10737
10740
|
}
|
|
@@ -10929,7 +10932,7 @@ function xp() {
|
|
|
10929
10932
|
for (C in b) R[C] = be(b[C]);
|
|
10930
10933
|
return R;
|
|
10931
10934
|
}
|
|
10932
|
-
function
|
|
10935
|
+
function J(b, C) {
|
|
10933
10936
|
return function() {
|
|
10934
10937
|
b.apply(C, arguments);
|
|
10935
10938
|
};
|
|
@@ -11677,7 +11680,7 @@ const Ho = class Ho extends I {
|
|
|
11677
11680
|
!e.modules.frozen && !e.isGroup && !e.isRowHeader && (s = e.getElement(), i.mousemove = function(o) {
|
|
11678
11681
|
if (t.moving && e.parent === t.moving.parent && s && s.parentNode) {
|
|
11679
11682
|
const n = t.touchMove && "touches" in o ? o.touches[0].pageX : "pageX" in o ? o.pageX : 0, a = t.table.columnManager?.contentsElement;
|
|
11680
|
-
n -
|
|
11683
|
+
n - Q.elOffset(s).left + (a?.scrollLeft || 0) > e.getWidth() / 2 ? (t.toCol !== e || !t.toColAfter) && (s.parentNode.insertBefore(
|
|
11681
11684
|
t.placeholderElement,
|
|
11682
11685
|
s.nextSibling
|
|
11683
11686
|
), t.moveColumn(e, !0)) : (t.toCol !== e || t.toColAfter) && (s.parentNode.insertBefore(t.placeholderElement, s), t.moveColumn(e, !1));
|
|
@@ -11742,7 +11745,7 @@ const Ho = class Ho extends I {
|
|
|
11742
11745
|
return;
|
|
11743
11746
|
this.moving = t;
|
|
11744
11747
|
const n = this.touchMove && "touches" in e ? e.touches[0].pageX : "pageX" in e ? e.pageX : 0;
|
|
11745
|
-
this.startX = n -
|
|
11748
|
+
this.startX = n - Q.elOffset(i).left, this.table.element.classList.add("tabulator-block-select"), this.placeholderElement.style.width = t.getWidth() + "px", this.placeholderElement.style.height = t.getHeight() + "px", i.parentNode && (i.parentNode.insertBefore(this.placeholderElement, i), i.parentNode.removeChild(i)), this.hoverElement = i.cloneNode(!0), this.hoverElement.classList.add("tabulator-moving"), s.appendChild(this.hoverElement), this.hoverElement.style.left = "0", this.hoverElement.style.bottom = s.clientHeight - o.offsetHeight + "px", this.touchMove || (this._bindMouseMove(), document.body.addEventListener("mousemove", this.moveHover), document.body.addEventListener("mouseup", this.endMove)), this.moveHover(e), this.dispatch("column-moving", e, this.moving);
|
|
11746
11749
|
}
|
|
11747
11750
|
_bindMouseMove() {
|
|
11748
11751
|
this.table.columnManager?.columnsByIndex.forEach((e) => {
|
|
@@ -11797,7 +11800,7 @@ const Ho = class Ho extends I {
|
|
|
11797
11800
|
const t = this.table.columnManager?.getContentsElement();
|
|
11798
11801
|
if (!t || !this.hoverElement)
|
|
11799
11802
|
return;
|
|
11800
|
-
const i = t.scrollLeft, o = (this.touchMove && "touches" in e ? e.touches[0].pageX : "pageX" in e ? e.pageX : 0) -
|
|
11803
|
+
const i = t.scrollLeft, o = (this.touchMove && "touches" in e ? e.touches[0].pageX : "pageX" in e ? e.pageX : 0) - Q.elOffset(t).left + i;
|
|
11801
11804
|
let n;
|
|
11802
11805
|
this.hoverElement.style.left = o - this.startX + "px", o - i < this.autoScrollMargin && (this.autoScrollTimeout || (this.autoScrollTimeout = setTimeout(() => {
|
|
11803
11806
|
n = Math.max(0, i - this.autoScrollStep);
|
|
@@ -11850,7 +11853,7 @@ const zp = {
|
|
|
11850
11853
|
}, i.mousemove = function(s) {
|
|
11851
11854
|
if (t.table.rowManager) {
|
|
11852
11855
|
const o = e.getElement();
|
|
11853
|
-
o?.parentNode && (s.pageY -
|
|
11856
|
+
o?.parentNode && (s.pageY - Q.elOffset(o).top + t.table.rowManager.element.scrollTop > e.getHeight() / 2 ? (t.toRow !== e || !t.toRowAfter) && (o.parentNode.insertBefore(
|
|
11854
11857
|
t.placeholderElement,
|
|
11855
11858
|
o.nextSibling
|
|
11856
11859
|
), t.moveRow(e, !0)) : (t.toRow !== e || t.toRowAfter) && o.previousSibling && (o.parentNode.insertBefore(t.placeholderElement, o), t.moveRow(e, !1)));
|
|
@@ -11864,7 +11867,7 @@ const zp = {
|
|
|
11864
11867
|
}, i.mousemove = function(s) {
|
|
11865
11868
|
if (t.table.rowManager) {
|
|
11866
11869
|
const o = e.getElement();
|
|
11867
|
-
o?.parentNode && (s.pageY -
|
|
11870
|
+
o?.parentNode && (s.pageY - Q.elOffset(o).top + t.table.rowManager.element.scrollTop > e.getHeight() / 2 ? (t.toRow !== e || !t.toRowAfter) && (o.parentNode.insertBefore(
|
|
11868
11871
|
t.placeholderElement,
|
|
11869
11872
|
o.nextSibling
|
|
11870
11873
|
), t.moveRow(e, !0)) : (t.toRow !== e || t.toRowAfter) && (o.parentNode.insertBefore(t.placeholderElement, o), t.moveRow(e, !1)));
|
|
@@ -14847,7 +14850,7 @@ function sf(r, e, t, i, s, o, n) {
|
|
|
14847
14850
|
if (typeof n.valueMap == "string") {
|
|
14848
14851
|
const u = c.options.nestedFieldSeparator, m = n.valueMap;
|
|
14849
14852
|
d = function(v) {
|
|
14850
|
-
return
|
|
14853
|
+
return Q.retrieveNestedData(u, m, v);
|
|
14851
14854
|
};
|
|
14852
14855
|
} else
|
|
14853
14856
|
d = n.valueMap;
|
|
@@ -16996,7 +16999,7 @@ class Df extends Me {
|
|
|
16996
16999
|
}
|
|
16997
17000
|
// redraw columns
|
|
16998
17001
|
redraw(e) {
|
|
16999
|
-
this.element &&
|
|
17002
|
+
this.element && Q.elVisible(this.element) && this.verticalAlignHeaders(), e && (this.table.rowManager?.resetScroll(), this.table.rowManager?.reinitialize()), this.confirm("table-redrawing", e) || this.layoutRefresh(e || !1), this.dispatch("table-redraw", e), this.table.footerManager?.redraw();
|
|
17000
17003
|
}
|
|
17001
17004
|
}
|
|
17002
17005
|
const Mf = {
|
|
@@ -17155,12 +17158,12 @@ class Ff extends Qi {
|
|
|
17155
17158
|
const t = e.getElement(), i = this.elementVertical;
|
|
17156
17159
|
if (!t || !i)
|
|
17157
17160
|
return !0;
|
|
17158
|
-
const s =
|
|
17161
|
+
const s = Q.elOffset(t).top, o = Q.elOffset(i).top, n = o + i.clientHeight;
|
|
17159
17162
|
return Math.abs(s - o) <= Math.abs(s - n);
|
|
17160
17163
|
}
|
|
17161
17164
|
scrollToRow(e) {
|
|
17162
17165
|
const t = e.getElement(), i = this.elementVertical;
|
|
17163
|
-
!t || !i || (i.scrollTop =
|
|
17166
|
+
!t || !i || (i.scrollTop = Q.elOffset(t).top - Q.elOffset(i).top + i.scrollTop);
|
|
17164
17167
|
}
|
|
17165
17168
|
visibleRows() {
|
|
17166
17169
|
return this.rows();
|
|
@@ -17271,7 +17274,7 @@ class _f extends Qi {
|
|
|
17271
17274
|
let n = 0, a = 0, l = 0, h = 0, c = 0, d = 0;
|
|
17272
17275
|
const p = this.rows(), u = p.length;
|
|
17273
17276
|
let m = 0, v, E, y = [], T = 0, D = 0;
|
|
17274
|
-
const ce = this.table.rowManager?.fixedHeight ?? !1, F = this.table.element ? globalThis.getComputedStyle(this.table.element).getPropertyValue("--table-max-height").trim() : "",
|
|
17277
|
+
const ce = this.table.rowManager?.fixedHeight ?? !1, F = this.table.element ? globalThis.getComputedStyle(this.table.element).getPropertyValue("--table-max-height").trim() : "", J = ce || F !== "" && F !== "auto";
|
|
17275
17278
|
let _ = this.elementVertical?.clientHeight ?? 0, b = this.table.options.rowHeight, C = !0;
|
|
17276
17279
|
if (e = e || 0, i = i || 0, !e)
|
|
17277
17280
|
this.clear();
|
|
@@ -17289,8 +17292,8 @@ class _f extends Qi {
|
|
|
17289
17292
|
), e -= n;
|
|
17290
17293
|
}
|
|
17291
17294
|
const R = !this.table.initialized || !!t;
|
|
17292
|
-
if (u && this.elementVertical && (
|
|
17293
|
-
for (this.vDomTop = e, this.vDomBottom = e - 1,
|
|
17295
|
+
if (u && this.elementVertical && (Q.elVisible(this.elementVertical) || R)) {
|
|
17296
|
+
for (this.vDomTop = e, this.vDomBottom = e - 1, J ? (b && (D = _ / b + this.vDomWindowBuffer / b), D = Math.max(
|
|
17294
17297
|
this.vDomWindowMinTotalRows,
|
|
17295
17298
|
Math.ceil(D)
|
|
17296
17299
|
)) : D = u; (D == u || a <= _ + this.vDomWindowBuffer || T < this.vDomWindowMinTotalRows) && this.vDomBottom < u - 1; ) {
|
|
@@ -17307,7 +17310,7 @@ class _f extends Qi {
|
|
|
17307
17310
|
k.heightInitialized || k.setCellHeight();
|
|
17308
17311
|
}), y.forEach((k) => {
|
|
17309
17312
|
l = k.getHeight(), T < n ? c += l : a += l, l > this.vDomWindowBuffer && (this.vDomWindowBuffer = l * 2), T++;
|
|
17310
|
-
}), C = this.table.rowManager?.adjustTableSize() || !1, _ = this.elementVertical.clientHeight, C &&
|
|
17313
|
+
}), C = this.table.rowManager?.adjustTableSize() || !1, _ = this.elementVertical.clientHeight, C && J && (b = a / T, D = Math.max(
|
|
17311
17314
|
this.vDomWindowMinTotalRows,
|
|
17312
17315
|
Math.ceil(
|
|
17313
17316
|
_ / b + this.vDomWindowBuffer / b
|
|
@@ -17325,6 +17328,9 @@ class _f extends Qi {
|
|
|
17325
17328
|
), this.elementVertical.scrollWidth > this.elementVertical.clientWidth && t && (this.scrollTop += this.elementVertical.offsetHeight - _), this.vDomScrollPosTop = this.scrollTop, this.vDomScrollPosBottom = this.scrollTop, o && (o.scrollTop = this.scrollTop), this.dispatch("render-virtual-fill");
|
|
17326
17329
|
}
|
|
17327
17330
|
}
|
|
17331
|
+
resolveRowHeight(e, t) {
|
|
17332
|
+
return e.type === "row" || e.type === "calc" ? Math.max(this.table.options.rowHeight || 0, t) : t;
|
|
17333
|
+
}
|
|
17328
17334
|
_addTopRow(e, t) {
|
|
17329
17335
|
const i = this.tableElement, s = [];
|
|
17330
17336
|
let o = 0, n = this.vDomTop - 1, a = 0, l = !0;
|
|
@@ -17339,7 +17345,7 @@ class _f extends Qi {
|
|
|
17339
17345
|
const p = h.getElement();
|
|
17340
17346
|
if (p && i?.insertBefore(p, i.firstChild), (!h.initialized || !h.heightInitialized) && s.push(h), h.initialize(), !d) {
|
|
17341
17347
|
const u = h.getElement();
|
|
17342
|
-
u && (c = u.offsetHeight, c > this.vDomWindowBuffer && (this.vDomWindowBuffer = c * 2));
|
|
17348
|
+
u && (c = this.resolveRowHeight(h, u.offsetHeight), c > this.vDomWindowBuffer && (this.vDomWindowBuffer = c * 2));
|
|
17343
17349
|
}
|
|
17344
17350
|
t -= c, o += c, this.vDomTop--, n--, a++;
|
|
17345
17351
|
} else
|
|
@@ -17379,7 +17385,7 @@ class _f extends Qi {
|
|
|
17379
17385
|
const p = h.getElement();
|
|
17380
17386
|
if (p && i?.appendChild(p), (!h.initialized || !h.heightInitialized) && s.push(h), h.initialize(), !d) {
|
|
17381
17387
|
const u = h.getElement();
|
|
17382
|
-
u && (c = u.offsetHeight, c > this.vDomWindowBuffer && (this.vDomWindowBuffer = c * 2));
|
|
17388
|
+
u && (c = this.resolveRowHeight(h, u.offsetHeight), c > this.vDomWindowBuffer && (this.vDomWindowBuffer = c * 2));
|
|
17383
17389
|
}
|
|
17384
17390
|
t -= c, o += c, this.vDomBottom++, n++, a++;
|
|
17385
17391
|
} else
|
|
@@ -17752,7 +17758,7 @@ Data: `,
|
|
|
17752
17758
|
});
|
|
17753
17759
|
return;
|
|
17754
17760
|
} else
|
|
17755
|
-
|
|
17761
|
+
Q.elVisible(this.element) ? i ? this.reRenderInPosition(
|
|
17756
17762
|
this.refreshPipelines.bind(
|
|
17757
17763
|
this,
|
|
17758
17764
|
e,
|
|
@@ -18573,7 +18579,7 @@ function Gf(r) {
|
|
|
18573
18579
|
}
|
|
18574
18580
|
function m(v, E, y, T) {
|
|
18575
18581
|
const D = [];
|
|
18576
|
-
let ce = 0, F = 0, be = 0,
|
|
18582
|
+
let ce = 0, F = 0, be = 0, J = n, _ = 0, b = 0;
|
|
18577
18583
|
const C = [];
|
|
18578
18584
|
function R(S) {
|
|
18579
18585
|
return y * (S.column.definition.widthGrow || 1);
|
|
@@ -18583,7 +18589,7 @@ function Gf(r) {
|
|
|
18583
18589
|
}
|
|
18584
18590
|
return v.forEach((S) => {
|
|
18585
18591
|
const z = T ? k(S) : R(S);
|
|
18586
|
-
S.column.minWidth && S.column.minWidth >= z ? D.push(S) : S.column.maxWidth && S.column.maxWidth < z ? (S.width = S.column.maxWidth, E -= S.column.maxWidth,
|
|
18592
|
+
S.column.minWidth && S.column.minWidth >= z ? D.push(S) : S.column.maxWidth && S.column.maxWidth < z ? (S.width = S.column.maxWidth, E -= S.column.maxWidth, J -= T ? S.column.definition.widthShrink || 1 : S.column.definition.widthGrow || 1, J && (y = Math.floor(E / J))) : (C.push(S), b += T ? S.column.definition.widthShrink || 1 : S.column.definition.widthGrow || 1);
|
|
18587
18593
|
}), D.length ? (D.forEach((S) => {
|
|
18588
18594
|
ce += T ? S.width - (S.column.minWidth ?? 0) : S.column.minWidth ?? 0, S.width = S.column.minWidth ?? 0;
|
|
18589
18595
|
}), F = E - ce, be = b ? Math.floor(F / b) : F, _ = m(
|
|
@@ -18722,7 +18728,7 @@ const Jf = {
|
|
|
18722
18728
|
super(e), this.locale = "default", this.lang = !1, this.bindings = {}, this.langList = {}, this.registerTableOption("locale", !1), this.registerTableOption("langs", {});
|
|
18723
18729
|
}
|
|
18724
18730
|
initialize() {
|
|
18725
|
-
this.langList =
|
|
18731
|
+
this.langList = Q.deepClone(yi.langs);
|
|
18726
18732
|
const e = this.table.options.columnDefaults?.headerFilterPlaceholder;
|
|
18727
18733
|
e && typeof e == "string" && this.setHeaderFilterPlaceholder(e);
|
|
18728
18734
|
for (const t in this.table.options.langs)
|
|
@@ -18760,7 +18766,7 @@ const Jf = {
|
|
|
18760
18766
|
t
|
|
18761
18767
|
), t = "default");
|
|
18762
18768
|
}
|
|
18763
|
-
this.locale = t, this.lang =
|
|
18769
|
+
this.locale = t, this.lang = Q.deepClone(this.langList.default || {}), t !== "default" && this.langList[t] && i(this.langList[t], this.lang), this.dispatchExternal("localized", this.locale, this.lang), this._executeBindings();
|
|
18764
18770
|
}
|
|
18765
18771
|
// get current locale
|
|
18766
18772
|
getLocale() {
|
|
@@ -19448,7 +19454,7 @@ const sm = {
|
|
|
19448
19454
|
[nt.Checkbox]: em,
|
|
19449
19455
|
[nt.DatePicker]: tm,
|
|
19450
19456
|
[nt.DateRange]: im
|
|
19451
|
-
}, om =
|
|
19457
|
+
}, om = X`:host{display:contents}cx-dropdown{--panel-overflow:hidden}cx-details{--expand-icon-size:24px}.panel{--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-wrapper{display:inline-block;position:relative}.faceted-filter__trigger::part(base){background-color:var(--cx-color-neutral-100)}.faceted-filter__trigger-badge{position:absolute;top:-15px;right:-15px}.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)}`;
|
|
19452
19458
|
var rm = Object.defineProperty, nm = Object.getOwnPropertyDescriptor, ye = (r, e, t, i) => {
|
|
19453
19459
|
for (var s = i > 1 ? void 0 : i ? nm(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
19454
19460
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
@@ -19586,7 +19592,7 @@ let ue = class extends Pe {
|
|
|
19586
19592
|
return x`<cx-details open aria-busy=${this.loading ? "true" : "false"} class=${rt({
|
|
19587
19593
|
"applied-filters": !0,
|
|
19588
19594
|
"applied-filters--empty": this.appliedFiltersCount === 0
|
|
19589
|
-
})}><span slot="summary" class="applied-filters__summary"><span class="applied-filters__title">${this.localize.term("appliedFilters")}${this.appliedFiltersCount > 0 ? ` (${this.appliedFiltersCount})` : wt}</span>${
|
|
19595
|
+
})}><span slot="summary" class="applied-filters__summary"><span class="applied-filters__title">${this.localize.term("appliedFilters")}${this.appliedFiltersCount > 0 ? ` (${this.appliedFiltersCount})` : wt}</span>${Y(
|
|
19590
19596
|
this.loading,
|
|
19591
19597
|
() => x`<span class="applied-filters__loading" role="status" aria-label=${this.localize.term("loading")}><cx-spinner></cx-spinner></span>`,
|
|
19592
19598
|
() => wt
|
|
@@ -19638,18 +19644,18 @@ let ue = class extends Pe {
|
|
|
19638
19644
|
);
|
|
19639
19645
|
}
|
|
19640
19646
|
renderFooter() {
|
|
19641
|
-
return
|
|
19647
|
+
return Y(
|
|
19642
19648
|
this.appliedFiltersCount > 0,
|
|
19643
19649
|
() => x`<div class="panel__footer"><cx-button variant="text" @click=${this.handleClearAllClick} size="small" class="panel__clear-all-button">${this.localize.term("clear")}</cx-button></div>`,
|
|
19644
19650
|
() => wt
|
|
19645
19651
|
);
|
|
19646
19652
|
}
|
|
19647
19653
|
render() {
|
|
19648
|
-
return x`<cx-dropdown stay-open-on-select placement="bottom-start" distance="4" hoist @cx-selection-change=${this.handleSelectionChange} @cx-facet-change=${this.handleFacetChange} @cx-remove=${this.handleRemove}><div slot="trigger" class="faceted-filter__trigger-wrapper"><cx-icon-button name="filter_alt" label=${this.localize.term("filter")} class="faceted-filter__trigger"></cx-icon-button>${
|
|
19654
|
+
return x`<cx-dropdown stay-open-on-select placement="bottom-start" distance="4" hoist @cx-selection-change=${this.handleSelectionChange} @cx-facet-change=${this.handleFacetChange} @cx-remove=${this.handleRemove}><div slot="trigger" class="faceted-filter__trigger-wrapper"><cx-icon-button name="filter_alt" label=${this.localize.term("filter")} class="faceted-filter__trigger"></cx-icon-button>${Y(
|
|
19649
19655
|
this.appliedFiltersCount > 0,
|
|
19650
19656
|
() => x`<cx-badge class="faceted-filter__trigger-badge" pill size="small">${this.appliedFiltersCount}</cx-badge>`,
|
|
19651
19657
|
() => wt
|
|
19652
|
-
)}</div><div class="panel"><div class="panel__content"><div class="panel__header">${this.renderAppliedFilters()}</div><div class="panel__body">${
|
|
19658
|
+
)}</div><div class="panel"><div class="panel__content"><div class="panel__header">${this.renderAppliedFilters()}</div><div class="panel__body">${Y(
|
|
19653
19659
|
this.availableFacets.length > 0,
|
|
19654
19660
|
() => x`<div>${qe(
|
|
19655
19661
|
this.availableFacets,
|
|
@@ -20227,30 +20233,31 @@ class fm {
|
|
|
20227
20233
|
)?.formatterParams?.disabled;
|
|
20228
20234
|
}
|
|
20229
20235
|
}
|
|
20230
|
-
const mm = Z`.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)}`, gm = Z`:host{--width:100%;--table-height:var(--height,auto);--table-min-height:var(--min-height,0);--table-max-height:var(--max-height,auto);--color:var(--cx-color-neutral-900);--background-color:var(--cx-color-neutral-0);--border-width:var(--cx-input-border-width);--border-color:var(--cx-color-neutral-200);--outer-border-color:var(--border-color);--border-radius:var(--cx-border-radius-medium);--row-background-color:var(--cx-color-neutral-0);--row-even-background-color:var(--cx-color-neutral-0);--row-hover-background-color:var(--cx-color-neutral-0);--row-even-hover-background-color:var(--cx-color-neutral-0);--frozen-border-color:var(--cx-color-neutral-200);--header-background-color:var(--cx-color-neutral-50);--header-hover-background-color:var(--cx-color-primary-50);--header-font-weight:var(--cx-font-weight-medium);--header-font-size:var(--cx-font-size-x-small);--header-color:var(--cx-color-neutral-700);--header-border-right:1px solid var(--cx-color-neutral-200);--header-border-bottom:none;--header-height:var(--cx-spacing-3x-large);--header-horizontal-padding:var(--cx-spacing-large);--body-background-color:var(--cx-color-neutral-0);--cell-border-color:transparent;--cell-bottom-border-color:var(--cx-color-neutral-200);--cell-horizontal-padding:var(--cx-spacing-large);--cell-font-size:var(--cx-font-size-small);--cell-font-weight:var(--cx-font-weight-regular);--cell-line-height:normal;--cell-hover-background-color:var(--cx-color-neutral-50);--group-count-color:var(--cx-color-danger-500);--group-row-background-color:var(--row-background-color);--group-row-hover-background-color:var(--row-hover-background-color);--group-row-border-color:var(--cx-color-neutral-200);--group-row-color:var(--cx-color-neutral-900);--group-row-font-weight:var(--cx-font-weight-medium);--row-header-border-color:var(--cx-color-neutral-200);--tabulator-tree-control-width:18px;--tabulator-tree-child-indent:9px;--tabulator-tree-step:calc(var(--tabulator-tree-control-width) + var(--tabulator-tree-child-indent));isolation:isolate;width:var(--width);display:block}.container{height:100%}.tabulator{background-color:var(--background-color);font-size:var(--font-size,var(--cx-font-size-small));text-align:left;height:var(--table-height);min-height:var(--table-min-height);max-height:var(--table-max-height);border-radius:var(--cx-border-radius-medium);flex-direction:column;line-height:normal;display:flex;position:relative;overflow:hidden}.tabulator[data-overlayscrollbars]{flex-direction:column}.tabulator[data-overlayscrollbars-viewport="scrollbarHidden overflowXHidden overflowYHidden"]{display:flex}.tabulator>[data-overlayscrollbars-viewport]{flex-direction:column;display:flex}.tabulator.tabulator-overflow-x{border-inline:var(--border-width) solid var(--outer-border-color);border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.tabulator[tabulator-layout=fitDataFill] .tabulator-tableholder .tabulator-table{min-width:100%}.tabulator[tabulator-layout=fitDataTable]{display:inline-block}.tabulator.tabulator-block-select,.tabulator.tabulator-ranges .tabulator-cell:not(.tabulator-editing){user-select:none}.tabulator .tabulator-tableholder-wrapper{flex:1;width:max-content;display:flex;position:relative;overflow:hidden}.tabulator .tabulator-tableholder{white-space:nowrap;-webkit-overflow-scrolling:touch;border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);flex:1;width:max-content;position:relative;overflow:auto}.tabulator .tabulator-tableholder-wrapper:before{content:"";z-index:1;pointer-events:none;border:var(--border-width) solid var(--outer-border-color);border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);width:100%;height:100%;display:block;position:absolute;top:0;left:0}.tabulator.tabulator-header-hidden .tabulator-tableholder-wrapper:before{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.tabulator .tabulator-tableholder:focus{outline:none}.tabulator .tabulator-tableholder .tabulator-table{background-color:var(--body-background-color,var(--cx-color-neutral-0));white-space:nowrap;color:var(--color);min-width:100%;display:inline-block;position:relative;overflow:visible}`, bm = Z`.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}`, wm = Z`.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)}`, vm = Z`.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}`, ym = Z`.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)}`, Cm = Z`.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}`, Em = Z`.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}`, xm = Z`.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)}`, Rm = Z`:host{--selected-column-header-background-color:var(--header-background-color);--selected-column-header-color:var(--header-color)}.tabulator .tabulator-header{box-sizing:border-box;width:max-content;font-weight:var(--header-font-weight);font-size:var(--header-font-size);color:var(--header-color);white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-khtml-user-select:none;-o-user-select:none;outline:none;position:relative}.tabulator .tabulator-header.tabulator-header-hidden{display:none}.tabulator .tabulator-header .tabulator-header-contents{box-sizing:border-box;width:max-content;position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-header-contents:before{content:"";z-index:1;pointer-events:none;border:var(--border-width) solid var(--outer-border-color);border-bottom:var(--header-border-bottom);border-top-right-radius:var(--border-radius);border-top-left-radius:var(--border-radius);width:100%;height:100%;display:block;position:absolute;top:0;left:0}.tabulator .tabulator-header .tabulator-col:last-of-type{border-right:none}.tabulator .tabulator-header .tabulator-header-contents .tabulator-headers{background-color:var(--header-background-color);display:inline-block}.tabulator .tabulator-header .tabulator-col{box-sizing:border-box;border-right:var(--header-border-right);background:var(--header-background-color);text-align:left;vertical-align:bottom;height:var(--header-height);flex-direction:column;justify-content:center;display:inline-flex;position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-col.tabulator-moving{border:solid var(--border-width) var(--border-color);background:var(--cx-color-neutral-300);pointer-events:none;position:absolute}.tabulator .tabulator-header .tabulator-col.tabulator-range-highlight{background-color:var(--selected-column-header-background-color);color:var(--selected-column-header-color)}.tabulator .tabulator-header .tabulator-col.tabulator-range-selected{background-color:var(--cx-color-primary-500);color:var(--cx-color-neutral-0)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content{box-sizing:border-box;padding:var(--cx-spacing-2x-small) var(--header-horizontal-padding);position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button{padding:0 var(--cx-spacing-x-small)}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button:hover{cursor:pointer;opacity:.6}}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title-holder{align-items:center;gap:var(--cx-spacing-2x-small);display:flex;position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title{box-sizing:border-box;white-space:nowrap;text-overflow:ellipsis;vertical-align:bottom;flex:auto;width:100%;min-width:0;overflow:hidden}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title.tabulator-col-title-wrap{white-space:normal;text-overflow:initial}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-title-editor{box-sizing:border-box;border:solid var(--border-width) var(--border-color);width:100%;padding:var(--cx-spacing-3x-small);background:var(--cx-color-neutral-0)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-header-popup-button+.tabulator-title-editor{width:calc(100% - 22px)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{inline-size:var(--cx-spacing-medium);block-size:var(--cx-spacing-medium);flex:none;order:-1;justify-content:center;align-items:center;display:flex;position:static}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter cx-icon{--font-size:var(--cx-font-size-medium);color:var(--cx-color-neutral-400)}.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{border-top:1px solid var(--cx-color-neutral-400);margin-right:-1px;display:flex;position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter{box-sizing:border-box;margin-top:var(--cx-spacing-3x-small);text-align:center;width:100%;position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter textarea{height:auto!important}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter svg{margin-top:var(--cx-spacing-3x-small)}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input::-ms-clear{width:0;height:0}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable.tabulator-col-sorter-element:hover{cursor:pointer}.tabulator .tabulator-header .tabulator-col:hover{background-color:var(--header-hover-background-color)}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter cx-icon{visibility:hidden}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none]:hover .tabulator-col-content .tabulator-col-sorter cx-icon{visibility:visible}}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical .tabulator-col-content .tabulator-col-title{writing-mode:vertical-rl;text-orientation:mixed;justify-content:center;align-items:center;display:flex}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-col-vertical-flip .tabulator-col-title{transform:rotate(180deg)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-title{padding-right:0;padding-top:var(--cx-spacing-large)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable.tabulator-col-vertical-flip .tabulator-col-title{padding-right:0;padding-bottom:var(--cx-spacing-large)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-sorter{justify-content:center;inline-size:auto;position:absolute;inset:4px 0 auto}.tabulator .tabulator-header .tabulator-frozen{z-index:11;position:sticky;left:0}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-left{border-right:2px solid var(--frozen-border-color)}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-right{border-left:2px solid var(--frozen-border-color)}.tabulator .tabulator-header .tabulator-frozen-rows-holder{border-bottom:2px solid var(--frozen-border-color);display:inline-block}.tabulator .tabulator-header .tabulator-frozen-rows-holder:empty{display:none}`, Sm = Z`: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}`, Tm = Z`.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)}`, km = Z`.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)}`, Dm = Z`:host{--placeholder-color:var(--cx-color-neutral-800);--placeholder-font-weight:var(--cx-font-weight-regular);--placeholder-font-size:var(--cx-font-size-small)}.tabulator .tabulator-tableholder-wrapper .tabulator-placeholder{box-sizing:border-box;justify-content:center;align-items:center;width:100%;min-width:100%;display:flex}.tabulator .tabulator-tableholder-wrapper .tabulator-placeholder[tabulator-render-mode=virtual]{min-height:100%}.tabulator .tabulator-placeholder .tabulator-placeholder-contents{height:100%;padding:var(--cx-spacing-small);color:var(--placeholder-color);font-weight:var(--placeholder-font-weight);font-size:var(--placeholder-font-size);white-space:normal;justify-content:center;align-items:center;display:flex}.tabulator .tabulator-tableholder-wrapper .tabulator-placeholder.tabulator-placeholder--initializing .tabulator-placeholder-contents{visibility:hidden}.tabulator.tabulator-all-columns-hidden .tabulator-header{width:100%;height:var(--header-height);min-height:var(--header-height)}.tabulator.tabulator-all-columns-hidden .tabulator-header .tabulator-header-contents{background-color:var(--header-background-color);flex-direction:column;width:100%;height:100%;min-height:0;display:flex}.tabulator.tabulator-all-columns-hidden .tabulator-header .tabulator-header-contents:before{box-sizing:border-box;width:auto;height:auto;inset:0}.tabulator.tabulator-all-columns-hidden .tabulator-header .tabulator-header-contents .tabulator-headers{box-sizing:border-box;flex:1;align-self:stretch;width:100%;min-height:0;display:flex}.tabulator.tabulator-all-columns-hidden .tabulator-tableholder-wrapper{width:100%}.tabulator-row.tabulator-placeholder-row{border-left:var(--border-width) solid var(--cell-border-color);border-right:var(--border-width) solid var(--cell-border-color);border-bottom:var(--border-width) solid var(--cell-bottom-border-color);padding:var(--cx-spacing-2x-small) var(--cell-horizontal-padding)}`, Mm = Z`.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)}`, Lm = Z`.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)}`, Fm = Z`.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}`, _m = Z`.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}`, zm = Z`.tabulator-row{box-sizing:border-box;background-color:var(--row-background-color);min-height:22px;display:flex;position:relative}.tabulator-row .tabulator-cell-first{border-left:var(--border-width) solid var(--outer-border-color)}.tabulator-row.tabulator-row-even{background-color:var(--row-even-background-color)}@media (hover:hover) and (pointer:fine){.tabulator-row.tabulator-selectable:hover{background-color:var(--row-hover-background-color);cursor:pointer}.tabulator-row.tabulator-row-even.tabulator-selectable:hover{background-color:var(--row-even-hover-background-color);cursor:pointer}}.tabulator-cell.tabulator-selection-cell-disabled cx-checkbox{--cx-checkbox-disabled-background:var(--cx-color-neutral-100);--cx-checkbox-disabled-border-color:var(--cx-color-neutral-200)}.tabulator-row.tabulator-selected:not(:has(cx-checkbox)){background-color:var(--cx-color-primary-200)}@media (hover:hover) and (pointer:fine){.tabulator-row.tabulator-selected:not(:has(cx-checkbox)):hover{background-color:var(--cx-color-primary-300);cursor:pointer}}.tabulator-row.tabulator-row-moving{border:var(--border-width) solid var(--cx-color-neutral-1000);background:var(--cx-color-neutral-0)}.tabulator-row.tabulator-moving{border-top:var(--border-width) solid var(--cx-color-neutral-400);border-bottom:var(--border-width) solid var(--cx-color-neutral-400);pointer-events:none;z-index:15;position:absolute}.tabulator-header-hidden .tabulator-row.tabulator-row-first .tabulator-cell.tabulator-cell-last{border-top-right-radius:var(--border-radius)}.tabulator-row .tabulator-row-resize-handle{height:5px;position:absolute;bottom:0;left:0;right:0}.tabulator-row .tabulator-row-resize-handle.prev{top:0;bottom:auto}@media (hover:hover) and (pointer:fine){.tabulator-row .tabulator-row-resize-handle:hover{cursor:ns-resize}}.tabulator-row .tabulator-responsive-collapse{box-sizing:border-box;padding:var(--cx-spacing-2x-small);border-top:var(--border-width) solid var(--cx-color-neutral-400);border-bottom:var(--border-width) solid var(--cx-color-neutral-400)}.tabulator-row .tabulator-responsive-collapse:empty{display:none}.tabulator-row .tabulator-responsive-collapse table{font-size:var(--cx-font-size-small)}.tabulator-row .tabulator-responsive-collapse table tr td{position:relative}.tabulator-row .tabulator-responsive-collapse table tr td:first-of-type{padding-right:var(--cx-spacing-small)}.tabulator-row .tabulator-cell{vertical-align:middle;box-sizing:border-box;padding:var(--cx-spacing-2x-small) var(--cell-horizontal-padding);border-right:var(--border-width) solid var(--cell-border-color);border-bottom:var(--border-width) solid var(--cell-bottom-border-color);display:inline-flex;position:relative}@media (hover:hover) and (pointer:fine){.tabulator-row .tabulator-cell:not(:has(cx-checkbox)):hover,.tabulator-row .tabulator-cell.tabulator-frozen:not(:has(cx-checkbox)):hover{background-color:var(--cell-hover-background-color)}.tabulator-row .tabulator-cell.tabulator-selection-cell-disabled:hover{cursor:default}}.tabulator-row .tabulator-cell:has(cx-checkbox),.tabulator-row .tabulator-cell.tabulator-frozen:has(cx-checkbox){background-color:var(--row-background-color)}.tabulator-row.tabulator-row-even .tabulator-cell:has(cx-checkbox),.tabulator-row.tabulator-row-even .tabulator-cell.tabulator-frozen:has(cx-checkbox){background-color:var(--row-even-background-color)}.tabulator-row .tabulator-cell .tabulator-cell-content{width:100%;height:100%;font-size:var(--cell-font-size);font-weight:var(--cell-font-weight);line-height:var(--cell-line-height);align-items:center;display:inline-flex}.tabulator-row .tabulator-cell .tabulator-cell-content cx-line-clamp{width:100%;max-width:max-content}.tabulator-row .tabulator-cell.tabulator-row-header{border-right:var(--border-width) solid var(--row-header-border-color)}.tabulator-row .tabulator-cell.tabulator-frozen{background-color:inherit;z-index:11;display:inline-block;position:sticky;left:0}.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-right:2px solid var(--frozen-border-color)}.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-left:2px solid var(--frozen-border-color)}.tabulator-row:has(+.tabulator-placeholder-row) .tabulator-cell{border-bottom:none}`, Om = Z`.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(--cx-color-neutral-400)}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-right:2px solid var(--cx-color-neutral-400)}.tabulator.tabulator-rtl .tabulator-row .tabulator-col-resize-handle:last-of-type{width:3px;margin-left:0;margin-right:-3px}.tabulator.tabulator-rtl .tabulator-footer .tabulator-calcs-holder{text-align:initial}`, Am = Z`: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)}`, Pm = Z`.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)}`, Im = [
|
|
20236
|
+
const mm = X`.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)}`, gm = X`:host{--width:100%;--table-height:var(--height,auto);--table-min-height:var(--min-height,0);--table-max-height:var(--max-height,auto);--color:var(--cx-color-neutral-900);--background-color:var(--cx-color-neutral-0);--border-width:var(--cx-input-border-width);--border-color:var(--cx-color-neutral-200);--outer-border-color:var(--border-color);--border-radius:var(--cx-border-radius-medium);--row-background-color:var(--cx-color-neutral-0);--row-even-background-color:var(--cx-color-neutral-0);--row-hover-background-color:var(--cx-color-neutral-0);--row-even-hover-background-color:var(--cx-color-neutral-0);--frozen-border-color:var(--cx-color-neutral-200);--header-background-color:var(--cx-color-neutral-50);--header-hover-background-color:var(--cx-color-primary-50);--header-font-weight:var(--cx-font-weight-medium);--header-font-size:var(--cx-font-size-x-small);--header-color:var(--cx-color-neutral-700);--header-border-right:1px solid var(--cx-color-neutral-200);--header-border-bottom:none;--header-height:var(--cx-spacing-3x-large);--header-horizontal-padding:var(--cx-spacing-large);--body-background-color:var(--cx-color-neutral-0);--cell-border-color:transparent;--cell-bottom-border-color:var(--cx-color-neutral-200);--cell-horizontal-padding:var(--cx-spacing-large);--cell-font-size:var(--cx-font-size-small);--cell-font-weight:var(--cx-font-weight-regular);--cell-line-height:normal;--cell-hover-background-color:var(--cx-color-neutral-50);--group-count-color:var(--cx-color-danger-500);--group-row-background-color:var(--row-background-color);--group-row-hover-background-color:var(--row-hover-background-color);--group-row-border-color:var(--cx-color-neutral-200);--group-row-color:var(--cx-color-neutral-900);--group-row-font-weight:var(--cx-font-weight-medium);--row-header-border-color:var(--cx-color-neutral-200);--tabulator-tree-control-width:18px;--tabulator-tree-child-indent:9px;--tabulator-tree-step:calc(var(--tabulator-tree-control-width) + var(--tabulator-tree-child-indent));isolation:isolate;width:var(--width);display:block}.container{height:100%}.tabulator{background-color:var(--background-color);font-size:var(--font-size,var(--cx-font-size-small));text-align:left;height:var(--table-height);min-height:var(--table-min-height);max-height:var(--table-max-height);border-radius:var(--cx-border-radius-medium);flex-direction:column;line-height:normal;display:flex;position:relative;overflow:hidden}.tabulator.tabulator-overflow-x{border-inline:var(--border-width) solid var(--outer-border-color);border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.tabulator[tabulator-layout=fitDataFill] .tabulator-tableholder .tabulator-table{min-width:100%}.tabulator[tabulator-layout=fitDataTable]{display:inline-block}.tabulator.tabulator-block-select,.tabulator.tabulator-ranges .tabulator-cell:not(.tabulator-editing){user-select:none}.tabulator .tabulator-tableholder-wrapper{flex:1;width:max-content;display:flex;position:relative;overflow:hidden}.tabulator .tabulator-tableholder{white-space:nowrap;-webkit-overflow-scrolling:touch;border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);flex:1;width:max-content;position:relative;overflow:auto}.tabulator .tabulator-tableholder-wrapper:before{content:"";z-index:1;pointer-events:none;border:var(--border-width) solid var(--outer-border-color);border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);width:100%;height:100%;display:block;position:absolute;top:0;left:0}.tabulator.tabulator-header-hidden .tabulator-tableholder-wrapper:before{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.tabulator .tabulator-tableholder:focus{outline:none}.tabulator .tabulator-tableholder .tabulator-table{background-color:var(--body-background-color,var(--cx-color-neutral-0));white-space:nowrap;color:var(--color);min-width:100%;display:inline-block;position:relative;overflow:visible}`, bm = X`.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}`, wm = X`.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)}`, vm = X`.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}`, ym = X`.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)}`, Cm = X`.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}`, Em = X`.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}`, xm = X`.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)}`, Rm = X`:host{--selected-column-header-background-color:var(--header-background-color);--selected-column-header-color:var(--header-color)}.tabulator .tabulator-header{box-sizing:border-box;width:max-content;font-weight:var(--header-font-weight);font-size:var(--header-font-size);color:var(--header-color);white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;-khtml-user-select:none;-o-user-select:none;outline:none;position:relative}.tabulator .tabulator-header.tabulator-header-hidden{display:none}.tabulator .tabulator-header .tabulator-header-contents{box-sizing:border-box;width:max-content;position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-header-contents:before{content:"";z-index:1;pointer-events:none;border:var(--border-width) solid var(--outer-border-color);border-bottom:var(--header-border-bottom);border-top-right-radius:var(--border-radius);border-top-left-radius:var(--border-radius);width:100%;height:100%;display:block;position:absolute;top:0;left:0}.tabulator .tabulator-header .tabulator-col:last-of-type{border-right:none}.tabulator .tabulator-header .tabulator-header-contents .tabulator-headers{background-color:var(--header-background-color);display:inline-block}.tabulator .tabulator-header .tabulator-col{box-sizing:border-box;border-right:var(--header-border-right);background:var(--header-background-color);text-align:left;vertical-align:bottom;height:var(--header-height);flex-direction:column;justify-content:center;display:inline-flex;position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-col.tabulator-moving{border:solid var(--border-width) var(--border-color);background:var(--cx-color-neutral-300);pointer-events:none;position:absolute}.tabulator .tabulator-header .tabulator-col.tabulator-range-highlight{background-color:var(--selected-column-header-background-color);color:var(--selected-column-header-color)}.tabulator .tabulator-header .tabulator-col.tabulator-range-selected{background-color:var(--cx-color-primary-500);color:var(--cx-color-neutral-0)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content{box-sizing:border-box;padding:var(--cx-spacing-2x-small) var(--header-horizontal-padding);position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button{padding:0 var(--cx-spacing-x-small)}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-header-popup-button:hover{cursor:pointer;opacity:.6}}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title-holder{align-items:center;gap:var(--cx-spacing-2x-small);display:flex;position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title{box-sizing:border-box;white-space:nowrap;text-overflow:ellipsis;vertical-align:bottom;flex:auto;width:100%;min-width:0;overflow:hidden}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title.tabulator-col-title-wrap{white-space:normal;text-overflow:initial}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-title-editor{box-sizing:border-box;border:solid var(--border-width) var(--border-color);width:100%;padding:var(--cx-spacing-3x-small);background:var(--cx-color-neutral-0)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-header-popup-button+.tabulator-title-editor{width:calc(100% - 22px)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{inline-size:var(--cx-spacing-medium);block-size:var(--cx-spacing-medium);flex:none;order:-1;justify-content:center;align-items:center;display:flex;position:static}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter cx-icon{--font-size:var(--cx-font-size-medium);color:var(--cx-color-neutral-400)}.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{border-top:1px solid var(--cx-color-neutral-400);margin-right:-1px;display:flex;position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter{box-sizing:border-box;margin-top:var(--cx-spacing-3x-small);text-align:center;width:100%;position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter textarea{height:auto!important}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter svg{margin-top:var(--cx-spacing-3x-small)}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input::-ms-clear{width:0;height:0}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable.tabulator-col-sorter-element:hover{cursor:pointer}.tabulator .tabulator-header .tabulator-col:hover{background-color:var(--header-hover-background-color)}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter cx-icon{visibility:hidden}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none]:hover .tabulator-col-content .tabulator-col-sorter cx-icon{visibility:visible}}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical .tabulator-col-content .tabulator-col-title{writing-mode:vertical-rl;text-orientation:mixed;justify-content:center;align-items:center;display:flex}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-col-vertical-flip .tabulator-col-title{transform:rotate(180deg)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-title{padding-right:0;padding-top:var(--cx-spacing-large)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable.tabulator-col-vertical-flip .tabulator-col-title{padding-right:0;padding-bottom:var(--cx-spacing-large)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-sorter{justify-content:center;inline-size:auto;position:absolute;inset:4px 0 auto}.tabulator .tabulator-header .tabulator-frozen{z-index:11;position:sticky;left:0}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-left{border-right:2px solid var(--frozen-border-color)}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-right{border-left:2px solid var(--frozen-border-color)}.tabulator .tabulator-header .tabulator-frozen-rows-holder{border-bottom:2px solid var(--frozen-border-color);display:inline-block}.tabulator .tabulator-header .tabulator-frozen-rows-holder:empty{display:none}`, Sm = X`: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}`, Tm = X`.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)}`, km = X`:host{--scrollbar-size:17px;--scrollbar-thumb-border-width:7px;--scrollbar-thumb-border-width-hover:4px;--scrollbar-thumb-border-color:#0000;--scrollbar-thumb-radius:13px;--scrollbar-thumb-min-size:50px}.table{position:relative}.tabulator[data-overlayscrollbars]{flex-direction:column}.tabulator[data-overlayscrollbars-viewport="scrollbarHidden overflowXHidden overflowYHidden"]{display:flex}.tabulator>[data-overlayscrollbars-viewport]{flex-direction:column;display:flex}.table>.os-scrollbar-vertical,.table>.os-scrollbar.os-scrollbar-vertical.os-scrollbar-cornerless{top:calc(var(--header-height) + var(--border-width))}.table.tabulator-header-hidden>.os-scrollbar-vertical,.table.tabulator-header-hidden>.os-scrollbar.os-scrollbar-vertical.os-scrollbar-cornerless{top:var(--border-width)}.table>.os-scrollbar{--os-size:var(--scrollbar-size);--os-padding-perpendicular:0px;--os-padding-axis:0px;--os-handle-border-radius:var(--scrollbar-thumb-radius);--os-handle-border:var(--scrollbar-thumb-border-width) solid var(--scrollbar-thumb-border-color);--os-handle-border-hover:var(--scrollbar-thumb-border-width-hover) solid var(--scrollbar-thumb-border-color);--os-handle-border-active:var(--scrollbar-thumb-border-width-hover) solid var(--scrollbar-thumb-border-color);--os-handle-min-size:var(--scrollbar-thumb-min-size)}.table>.os-scrollbar .os-scrollbar-handle{background-clip:padding-box}`, Dm = X`.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)}`, Mm = X`:host{--placeholder-color:var(--cx-color-neutral-800);--placeholder-font-weight:var(--cx-font-weight-regular);--placeholder-font-size:var(--cx-font-size-small)}.tabulator .tabulator-tableholder-wrapper .tabulator-placeholder{box-sizing:border-box;justify-content:center;align-items:center;width:100%;min-width:100%;display:flex}.tabulator .tabulator-tableholder-wrapper .tabulator-placeholder[tabulator-render-mode=virtual]{min-height:100%}.tabulator .tabulator-placeholder .tabulator-placeholder-contents{height:100%;padding:var(--cx-spacing-small);color:var(--placeholder-color);font-weight:var(--placeholder-font-weight);font-size:var(--placeholder-font-size);white-space:normal;justify-content:center;align-items:center;display:flex}.tabulator .tabulator-tableholder-wrapper .tabulator-placeholder.tabulator-placeholder--initializing .tabulator-placeholder-contents{visibility:hidden}.tabulator.tabulator-all-columns-hidden .tabulator-header{width:100%;height:var(--header-height);min-height:var(--header-height)}.tabulator.tabulator-all-columns-hidden .tabulator-header .tabulator-header-contents{background-color:var(--header-background-color);flex-direction:column;width:100%;height:100%;min-height:0;display:flex}.tabulator.tabulator-all-columns-hidden .tabulator-header .tabulator-header-contents:before{box-sizing:border-box;width:auto;height:auto;inset:0}.tabulator.tabulator-all-columns-hidden .tabulator-header .tabulator-header-contents .tabulator-headers{box-sizing:border-box;flex:1;align-self:stretch;width:100%;min-height:0;display:flex}.tabulator.tabulator-all-columns-hidden .tabulator-tableholder-wrapper{width:100%}.tabulator-row.tabulator-placeholder-row{border-left:var(--border-width) solid var(--cell-border-color);border-right:var(--border-width) solid var(--cell-border-color);border-bottom:var(--border-width) solid var(--cell-bottom-border-color);padding:var(--cx-spacing-2x-small) var(--cell-horizontal-padding)}`, Lm = X`.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)}`, Fm = X`.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)}`, _m = X`.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}`, zm = X`.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}`, Om = X`.tabulator-row{box-sizing:border-box;background-color:var(--row-background-color);min-height:22px;display:flex;position:relative}.tabulator-row .tabulator-cell-first{border-left:var(--border-width) solid var(--outer-border-color)}.tabulator-row.tabulator-row-even{background-color:var(--row-even-background-color)}@media (hover:hover) and (pointer:fine){.tabulator-row.tabulator-selectable:hover{background-color:var(--row-hover-background-color);cursor:pointer}.tabulator-row.tabulator-row-even.tabulator-selectable:hover{background-color:var(--row-even-hover-background-color);cursor:pointer}}.tabulator-cell.tabulator-selection-cell-disabled cx-checkbox{--cx-checkbox-disabled-background:var(--cx-color-neutral-100);--cx-checkbox-disabled-border-color:var(--cx-color-neutral-200)}.tabulator-row.tabulator-selected:not(:has(cx-checkbox)){background-color:var(--cx-color-primary-200)}@media (hover:hover) and (pointer:fine){.tabulator-row.tabulator-selected:not(:has(cx-checkbox)):hover{background-color:var(--cx-color-primary-300);cursor:pointer}}.tabulator-row.tabulator-row-moving{border:var(--border-width) solid var(--cx-color-neutral-1000);background:var(--cx-color-neutral-0)}.tabulator-row.tabulator-moving{border-top:var(--border-width) solid var(--cx-color-neutral-400);border-bottom:var(--border-width) solid var(--cx-color-neutral-400);pointer-events:none;z-index:15;position:absolute}.tabulator-header-hidden .tabulator-row.tabulator-row-first .tabulator-cell.tabulator-cell-last{border-top-right-radius:var(--border-radius)}.tabulator-row .tabulator-row-resize-handle{height:5px;position:absolute;bottom:0;left:0;right:0}.tabulator-row .tabulator-row-resize-handle.prev{top:0;bottom:auto}@media (hover:hover) and (pointer:fine){.tabulator-row .tabulator-row-resize-handle:hover{cursor:ns-resize}}.tabulator-row .tabulator-responsive-collapse{box-sizing:border-box;padding:var(--cx-spacing-2x-small);border-top:var(--border-width) solid var(--cx-color-neutral-400);border-bottom:var(--border-width) solid var(--cx-color-neutral-400)}.tabulator-row .tabulator-responsive-collapse:empty{display:none}.tabulator-row .tabulator-responsive-collapse table{font-size:var(--cx-font-size-small)}.tabulator-row .tabulator-responsive-collapse table tr td{position:relative}.tabulator-row .tabulator-responsive-collapse table tr td:first-of-type{padding-right:var(--cx-spacing-small)}.tabulator-row .tabulator-cell{vertical-align:middle;box-sizing:border-box;padding:var(--cx-spacing-2x-small) var(--cell-horizontal-padding);border-right:var(--border-width) solid var(--cell-border-color);border-bottom:var(--border-width) solid var(--cell-bottom-border-color);display:inline-flex;position:relative}@media (hover:hover) and (pointer:fine){.tabulator-row .tabulator-cell:not(:has(cx-checkbox)):hover,.tabulator-row .tabulator-cell.tabulator-frozen:not(:has(cx-checkbox)):hover{background-color:var(--cell-hover-background-color)}.tabulator-row .tabulator-cell.tabulator-selection-cell-disabled:hover{cursor:default}}.tabulator-row .tabulator-cell:has(cx-checkbox),.tabulator-row .tabulator-cell.tabulator-frozen:has(cx-checkbox){background-color:var(--row-background-color)}.tabulator-row.tabulator-row-even .tabulator-cell:has(cx-checkbox),.tabulator-row.tabulator-row-even .tabulator-cell.tabulator-frozen:has(cx-checkbox){background-color:var(--row-even-background-color)}.tabulator-row .tabulator-cell .tabulator-cell-content{width:100%;height:100%;font-size:var(--cell-font-size);font-weight:var(--cell-font-weight);line-height:var(--cell-line-height);align-items:center;display:inline-flex}.tabulator-row .tabulator-cell .tabulator-cell-content cx-line-clamp{width:100%;max-width:max-content}.tabulator-row .tabulator-cell.tabulator-row-header{border-right:var(--border-width) solid var(--row-header-border-color)}.tabulator-row .tabulator-cell.tabulator-frozen{background-color:inherit;z-index:11;display:inline-block;position:sticky;left:0}.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-right:2px solid var(--frozen-border-color)}.tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-left:2px solid var(--frozen-border-color)}.tabulator-row:has(+.tabulator-placeholder-row) .tabulator-cell{border-bottom:none}`, Am = X`.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(--cx-color-neutral-400)}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-right:2px solid var(--cx-color-neutral-400)}.tabulator.tabulator-rtl .tabulator-row .tabulator-col-resize-handle:last-of-type{width:3px;margin-left:0;margin-right:-3px}.tabulator.tabulator-rtl .tabulator-footer .tabulator-calcs-holder{text-align:initial}`, Pm = X`: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)}`, Im = X`.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)}`, Hm = [
|
|
20231
20237
|
gm,
|
|
20238
|
+
km,
|
|
20232
20239
|
Rm,
|
|
20233
|
-
|
|
20240
|
+
Mm,
|
|
20234
20241
|
bm,
|
|
20235
|
-
Am,
|
|
20236
|
-
Cm,
|
|
20237
20242
|
Pm,
|
|
20238
|
-
|
|
20239
|
-
|
|
20243
|
+
Cm,
|
|
20244
|
+
Im,
|
|
20245
|
+
Dm,
|
|
20246
|
+
_m,
|
|
20240
20247
|
mm,
|
|
20241
|
-
|
|
20248
|
+
Om,
|
|
20242
20249
|
ym,
|
|
20243
20250
|
Tm,
|
|
20244
20251
|
vm,
|
|
20245
|
-
|
|
20252
|
+
zm,
|
|
20246
20253
|
Em,
|
|
20247
20254
|
xm,
|
|
20248
|
-
Mm,
|
|
20249
|
-
Om,
|
|
20250
20255
|
Lm,
|
|
20256
|
+
Am,
|
|
20257
|
+
Fm,
|
|
20251
20258
|
Sm,
|
|
20252
20259
|
wm
|
|
20253
|
-
],
|
|
20260
|
+
], Nm = {
|
|
20254
20261
|
formatter: function() {
|
|
20255
20262
|
const r = document.createElement("div");
|
|
20256
20263
|
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";
|
|
@@ -20263,7 +20270,7 @@ const mm = Z`.tabulator .tabulator-alert{z-index:100;background:color-mix(in srg
|
|
|
20263
20270
|
rowHandle: !0,
|
|
20264
20271
|
title: "",
|
|
20265
20272
|
width: 40
|
|
20266
|
-
},
|
|
20273
|
+
}, Vm = {
|
|
20267
20274
|
fromAttribute: (r) => {
|
|
20268
20275
|
if (typeof r == "string") {
|
|
20269
20276
|
if (!r.trim())
|
|
@@ -20280,7 +20287,7 @@ const mm = Z`.tabulator .tabulator-alert{z-index:100;background:color-mix(in srg
|
|
|
20280
20287
|
return r;
|
|
20281
20288
|
},
|
|
20282
20289
|
toAttribute: (r) => typeof r == "function" ? "" : Array.isArray(r) ? JSON.stringify(r) : typeof r == "number" ? r.toString() : r
|
|
20283
|
-
},
|
|
20290
|
+
}, Bm = {
|
|
20284
20291
|
fromAttribute: (r) => {
|
|
20285
20292
|
if (typeof r == "string") {
|
|
20286
20293
|
if (!r.trim())
|
|
@@ -20296,7 +20303,7 @@ const mm = Z`.tabulator .tabulator-alert{z-index:100;background:color-mix(in srg
|
|
|
20296
20303
|
return r;
|
|
20297
20304
|
},
|
|
20298
20305
|
toAttribute: (r) => typeof r == "function" ? "" : Array.isArray(r) ? JSON.stringify(r) : typeof r == "boolean" ? r.toString() : r
|
|
20299
|
-
},
|
|
20306
|
+
}, $m = {
|
|
20300
20307
|
fromAttribute: (r) => {
|
|
20301
20308
|
if (typeof r == "string") {
|
|
20302
20309
|
if (!r.trim())
|
|
@@ -20312,13 +20319,13 @@ const mm = Z`.tabulator .tabulator-alert{z-index:100;background:color-mix(in srg
|
|
|
20312
20319
|
},
|
|
20313
20320
|
toAttribute: (r) => typeof r == "function" ? "" : Array.isArray(r) ? JSON.stringify(r) : r
|
|
20314
20321
|
};
|
|
20315
|
-
function
|
|
20322
|
+
function jm(r, e) {
|
|
20316
20323
|
const t = e === Se.Desc ? "arrow_downward" : "arrow_upward";
|
|
20317
20324
|
return B(
|
|
20318
20325
|
x`<cx-icon name=${t} aria-hidden="true"></cx-icon>`
|
|
20319
20326
|
);
|
|
20320
20327
|
}
|
|
20321
|
-
function
|
|
20328
|
+
function Wm(r, e, t, i = 500) {
|
|
20322
20329
|
return new Promise((s, o) => {
|
|
20323
20330
|
if (!Number.isInteger(i) || i < 1) {
|
|
20324
20331
|
o(new RangeError("chunkSize must be a positive integer"));
|
|
@@ -20355,7 +20362,7 @@ function jm(r, e, t, i = 500) {
|
|
|
20355
20362
|
});
|
|
20356
20363
|
});
|
|
20357
20364
|
}
|
|
20358
|
-
async function
|
|
20365
|
+
async function Gm(r, e, t, i = 500, s = "") {
|
|
20359
20366
|
if (!Number.isInteger(i) || i < 1)
|
|
20360
20367
|
throw new RangeError("chunkSize must be a positive integer");
|
|
20361
20368
|
const { columns: o, rows: n } = Xn(r, s);
|
|
@@ -20364,7 +20371,7 @@ async function Wm(r, e, t, i = 500, s = "") {
|
|
|
20364
20371
|
await t(n.slice(a, a + i));
|
|
20365
20372
|
return n.length;
|
|
20366
20373
|
}
|
|
20367
|
-
async function
|
|
20374
|
+
async function Um(r, e, t, i = 500, s = "") {
|
|
20368
20375
|
if (!Number.isInteger(i) || i < 1)
|
|
20369
20376
|
throw new RangeError("chunkSize must be a positive integer");
|
|
20370
20377
|
const o = JSON.parse(r), { columns: n, rows: a } = qn(o, s);
|
|
@@ -20379,7 +20386,7 @@ function ds(r) {
|
|
|
20379
20386
|
function Kn(r) {
|
|
20380
20387
|
return r.split(/[./]/).filter((e) => e.length > 0);
|
|
20381
20388
|
}
|
|
20382
|
-
function
|
|
20389
|
+
function Km(r, e) {
|
|
20383
20390
|
return Kn(e).reduce((t, i) => {
|
|
20384
20391
|
if (!(t === null || typeof t != "object"))
|
|
20385
20392
|
return t[i];
|
|
@@ -20387,7 +20394,7 @@ function Um(r, e) {
|
|
|
20387
20394
|
}
|
|
20388
20395
|
function qn(r, e = "") {
|
|
20389
20396
|
if (e) {
|
|
20390
|
-
const i =
|
|
20397
|
+
const i = Km(r, e);
|
|
20391
20398
|
if (!Array.isArray(i))
|
|
20392
20399
|
throw new Error(`Data path "${e}" did not resolve to an array`);
|
|
20393
20400
|
if (i.length === 0)
|
|
@@ -20416,7 +20423,7 @@ function qn(r, e = "") {
|
|
|
20416
20423
|
return { columns: t.columns, rows: t.data };
|
|
20417
20424
|
throw new Error("JSON data must be an array of row objects or a { columns, data } envelope");
|
|
20418
20425
|
}
|
|
20419
|
-
function
|
|
20426
|
+
function qm(r) {
|
|
20420
20427
|
if (r.length === 0)
|
|
20421
20428
|
return { columns: [], data: [] };
|
|
20422
20429
|
const t = r[0].map((a, l) => {
|
|
@@ -20433,21 +20440,21 @@ function Km(r) {
|
|
|
20433
20440
|
);
|
|
20434
20441
|
return { columns: o, data: n };
|
|
20435
20442
|
}
|
|
20436
|
-
function
|
|
20443
|
+
function Xm(r) {
|
|
20437
20444
|
const e = ko.parse(r, { header: !1, skipEmptyLines: !0 }), t = e.errors.filter((i) => i.code !== "UndetectableDelimiter");
|
|
20438
20445
|
if (t.length > 0)
|
|
20439
20446
|
throw new Error(`CSV parse error: ${t[0].message}`);
|
|
20440
|
-
return
|
|
20447
|
+
return qm(e.data);
|
|
20441
20448
|
}
|
|
20442
|
-
function
|
|
20449
|
+
function Jm(r) {
|
|
20443
20450
|
const e = JSON.parse(r), { columns: t, rows: i } = qn(e);
|
|
20444
20451
|
return { columns: t, data: i };
|
|
20445
20452
|
}
|
|
20446
|
-
function
|
|
20453
|
+
function Ym(r) {
|
|
20447
20454
|
const { columns: e, rows: t } = Xn(r);
|
|
20448
20455
|
return { columns: e, data: t };
|
|
20449
20456
|
}
|
|
20450
|
-
function
|
|
20457
|
+
function Qm(r, e) {
|
|
20451
20458
|
const t = Kn(e).reduce((i, s) => i ? /^\d+$/.test(s) ? i.children[Number(s)] ?? null : ho(i, s) : null, r);
|
|
20452
20459
|
if (!t)
|
|
20453
20460
|
throw new Error(`Data path "${e}" did not resolve to an element`);
|
|
@@ -20459,7 +20466,7 @@ function Xn(r, e = "") {
|
|
|
20459
20466
|
throw new Error(`XML parse error: ${i.textContent?.trim() ?? "unknown error"}`);
|
|
20460
20467
|
const s = t.documentElement;
|
|
20461
20468
|
if (e)
|
|
20462
|
-
return en(Array.from(
|
|
20469
|
+
return en(Array.from(Qm(s, e).children));
|
|
20463
20470
|
const o = ho(s, "columns"), n = ho(s, "rows");
|
|
20464
20471
|
if (o && n) {
|
|
20465
20472
|
const a = Array.from(o.children).map((h) => ({
|
|
@@ -20490,7 +20497,7 @@ function ho(r, e) {
|
|
|
20490
20497
|
return t;
|
|
20491
20498
|
return null;
|
|
20492
20499
|
}
|
|
20493
|
-
function
|
|
20500
|
+
function Zm(r) {
|
|
20494
20501
|
const e = r.trim();
|
|
20495
20502
|
if (e.length === 0)
|
|
20496
20503
|
return r;
|
|
@@ -20506,13 +20513,13 @@ function Qm(r) {
|
|
|
20506
20513
|
function Jn(r, e) {
|
|
20507
20514
|
const t = /* @__PURE__ */ new Map();
|
|
20508
20515
|
for (const i of Array.from(r.children))
|
|
20509
|
-
t.set(i.tagName,
|
|
20516
|
+
t.set(i.tagName, Zm(i.textContent ?? ""));
|
|
20510
20517
|
return Object.fromEntries(
|
|
20511
20518
|
e.map((i) => [i, t.has(i) ? t.get(i) : ""])
|
|
20512
20519
|
);
|
|
20513
20520
|
}
|
|
20514
20521
|
ze.Csv + "", ze.Json + "", ze.Xml + "";
|
|
20515
|
-
function
|
|
20522
|
+
function eg(r, e) {
|
|
20516
20523
|
const i = r.toLowerCase().split("?")[0].split("#")[0].split(".").pop() ?? "";
|
|
20517
20524
|
if (i === "csv")
|
|
20518
20525
|
return ze.Csv;
|
|
@@ -20523,22 +20530,22 @@ function Zm(r, e) {
|
|
|
20523
20530
|
const s = (e ?? "").toLowerCase();
|
|
20524
20531
|
return s.includes("text/csv") ? ze.Csv : s.includes("application/json") || s.includes("text/json") || s.includes("+json") ? ze.Json : s.includes("application/xml") || s.includes("text/xml") || s.includes("+xml") ? ze.Xml : ze.Csv;
|
|
20525
20532
|
}
|
|
20526
|
-
function
|
|
20527
|
-
return r !== ze.Auto ? r :
|
|
20533
|
+
function tg(r, e, t) {
|
|
20534
|
+
return r !== ze.Auto ? r : eg(e, t);
|
|
20528
20535
|
}
|
|
20529
|
-
var
|
|
20536
|
+
var ig = Object.defineProperty, sg = Object.getOwnPropertyDescriptor, Yn = (r) => {
|
|
20530
20537
|
throw TypeError(r);
|
|
20531
20538
|
}, w = (r, e, t, i) => {
|
|
20532
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
20539
|
+
for (var s = i > 1 ? void 0 : i ? sg(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
20533
20540
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
20534
|
-
return i && s &&
|
|
20535
|
-
},
|
|
20541
|
+
return i && s && ig(e, t, s), s;
|
|
20542
|
+
}, og = (r, e, t) => e.has(r) || Yn("Cannot " + t), rg = (r, e, t) => (og(r, e, "read from private field"), t ? t.call(r) : e.get(r)), ng = (r, e, t) => e.has(r) ? Yn("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(r) : e.set(r, t), co, Qn;
|
|
20536
20543
|
let g = class extends Pe {
|
|
20537
20544
|
constructor() {
|
|
20538
|
-
super(),
|
|
20545
|
+
super(), ng(this, co), this.localize = new tt(this), this.hasSlotController = new mn(this, "add-action"), this.verticalOsInstance = null, this.horizontalOsInstance = null, this.resizeObserver = null, this.overflowObserver = null, this.ajaxFacetsController = new lm(this), this.filterController = new pm(this), this.ajaxFacetFilterController = new um(this, this.filterController), this.selectAllController = new fm(this), this.shadowRootAutoloader = new Un(
|
|
20539
20546
|
this
|
|
20540
20547
|
), this.validationTooltipAnchor = null, this.validationTooltipHidePromise = null, this.movableRows = !1, this.movableColumns = !1, this.data = void 0, this.rowHeight = 48, this.layout = "fitColumns", this.columns = [], this.footerElement = void 0, this.responsiveLayout = !1, this.responsiveLayoutCollapseFormatter = void 0, this.responsiveLayoutCollapseUseFormatters = void 0, this.rowHeader = void 0, this.noHeader = !1, this.textDirection = void 0, this.responsiveLayoutCollapseStartOpen = void 0, this.renderVerticalBuffer = void 0, this.renderVertical = "virtual", this.validateOnLoad = !1, this.validationWorkerThreshold = void 0, this.columnDefaults = {}, this.headerContextMenu = !1, this.canSearch = !1, this.noAdvancedSearch = !1, this.showSavedSearch = !1, this.searchFields = [], this.searchMatchAnyKeyword = !1, this.canAdd = !1, this.addLabel = this.localize.term("add"), this.canExportCsv = !1, this.canExportXml = !1, this.canExportPdf = !1, this.canExportCustom = !1, this.canSaveReport = !1, this.savedSearchURL = "", this.savedSearchItems = [], this.savedSearchPageSizeParam = "PageSize", this.savedSearchPageSize = 10, this.savedSearchPageNumberParam = "PageNumber", this.dropdownFilters = [], this.groupByOptions = [], this.ajaxURL = void 0, this.ajaxMethod = "GET", this.ajaxURLGenerator = void 0, this.ajaxParams = void 0, this.ajaxResponse = void 0, this.facetConfig = void 0, this.additionalAppliedFilters = [], this.dataSendParams = void 0, this.dataReceiveParams = void 0, this.noAutoResize = !1, this.resizableRows = !1, this.resizableColumnFit = !1, this.resizableColumnGuide = !1, this.resizableRowGuide = !1, this.frozenRows = void 0, this.frozenRowsField = "id", this.placeholder = this.localize.term("noData"), this.groupBy = void 0, this.groupHeader = void 0, this.groupHeaderCount = !1, this.groupHeaderUseFormatter = !1, this.groupIndent = 36, this.groupHeaderPrint = void 0, this.groupHeaderClipboard = void 0, this.groupHeaderDownload = void 0, this.groupHeaderHtmlOutput = void 0, this.groupStartOpen = !1, this.groupStartOpenValues = void 0, this.groupToggleElement = "arrow", this.groupValues = [], this.groupUpdateOnCellEdit = !1, this.groupLoadMoreMeta = {}, this.dataTree = !1, this.dataTreeChildField = "_children", this.dataTreeLoadingField = "loading", this.dataTreeHasMoreField = "hasMore", this.dataTreeFilter = !1, this.dataTreeSort = !1, this.dataTreeElementColumn = void 0, this.dataTreeChildIndent = 9, this.dataTreeStartExpanded = !1, this.dataTreeSelectPropagate = !1, this.dataTreeExpandElement = void 0, this.dataTreeCollapseElement = void 0, this.spreadsheet = !1, this.spreadsheetColumns = 50, this.spreadsheetRows = 50, this.spreadsheetColumnDefinition = void 0, this.spreadsheetOutputFull = !1, this.editorEmptyValue = "", this.spreadsheetSheets = void 0, this.spreadsheetSheetTabs = !1, this.spreadsheetData = void 0, this.selectableRange = 1, this.noSelectable = !1, this.selectableRangeColumns = !1, this.selectableRangeRows = !1, this.selectableRangeClearCells = !1, this.editTriggerEvent = "dblclick", this.selectableRangeAutoFocus = !1, this.noClipboard = !1, this.clipboardAction = pi.Both, this.clipboardCopyRowRange = "range", this.clipboardPasteParser = void 0, this.clipboardPasteAction = "insert", this.clipboardCopyConfig = { columnHeaders: !1 }, this.clipboardNoCopyStyled = !1, this.pagination = !1, this.paginationMode = pt.Local, this.paginationSize = void 0, this.paginationInitialPage = 1, this.paginationButtonCount = 5, this.showPaginationButtons = !1, this.hidePaginationInput = !1, this.pageSizeOptions = void 0, this.paginationAddRow = "page", this.paginationCounter = ja.Both, this.paginationShowFirst = !1, this.paginationShowLast = !1, this.paginationPlacement = Xi.TopEnd, this.noHeaderRowReserve = !1, this.hoverMenu = void 0, this.label = "", this.tabulatorRole = "grid", this.columnGroupRole = "columngroup", this.columnHeaderRole = "columnheader", this.rowRole = "row", this.rowGroupRole = "rowgroup", this.cellRole = "gridcell", this.filterMode = pt.Local, this.placeholderHeaderFilter = "No matching data", this.noColumnPlaceholderText = this.localize.term("noColumnsVisible"), this.useOverlayScrollbar = !1, this.loading = !1, this.canSelectAll = !1, this.rowIdField = "id", this.dataUrl = "", this.dateFilterCompareFormat = fi.IsoDateTime, this.dataFormat = ze.Auto, this.dataUrlPath = "", this.preserveColumnsOnLoad = !1, this.tabulatorInstance = null, this.watchedEvents = /* @__PURE__ */ new Set(), this.activeSearchValue = "", this.dataUrlRequestId = 0, this.hasFacets = !1, this.headerMenuOpen = !1, this.headerMenuField = "", this.headerMenuPointX = 0, this.headerMenuPointY = 0, this.headerMenuHideDisabled = !1, this.columnEditorOpen = !1, this.columnEditorEntries = [], this.handleTableBuilt = () => {
|
|
20541
|
-
this.useOverlayScrollbar ? this.initVerticalScrollbar() : this.verticalOsInstance?.destroy(), this.
|
|
20548
|
+
this.initHorizontalScrollbar(), this.useOverlayScrollbar ? this.initVerticalScrollbar() : this.verticalOsInstance?.destroy(), this.initOverflowObserver(), this.tabulatorInstance?.setColumns(this.columns ?? []), this.validateOnLoad && this.tabulatorInstance?.validateAsync(), this.filterController.syncDropdownFilterSources(this.dropdownFilters), this.handleSearch(), this.filterController.applyFilters(), this.placePaginator(), this.dataUrl && this.loadFromDataUrl();
|
|
20542
20549
|
}, this.handleValidationChanged = (t) => {
|
|
20543
20550
|
this.validationTooltipAnchor && !this.validationTooltipAnchor.isConnected && this.hideValidationTooltip(), this.emit("cx-table-validation-change", { detail: t });
|
|
20544
20551
|
}, this.checkHorizontalOverflow = () => {
|
|
@@ -20658,7 +20665,7 @@ let g = class extends Pe {
|
|
|
20658
20665
|
async initTable() {
|
|
20659
20666
|
this.tabulatorInstance && (this.selectAllController.resetSelection(), this.overflowObserver?.disconnect(), this.verticalOsInstance?.destroy(), this.horizontalOsInstance?.destroy(), this.tabulatorInstance.off("tableBuilt"), this.tabulatorInstance.destroy());
|
|
20660
20667
|
let e = this.rowHeader;
|
|
20661
|
-
e == null && (this.movableRows ? e =
|
|
20668
|
+
e == null && (this.movableRows ? e = Nm : this.responsiveLayout === "collapse" && (e = {
|
|
20662
20669
|
formatter: "responsiveCollapse"
|
|
20663
20670
|
})), this.tabulatorInstance = new Zf(this.table, {
|
|
20664
20671
|
ajaxConfig: { method: this.ajaxMethod },
|
|
@@ -20712,13 +20719,13 @@ let g = class extends Pe {
|
|
|
20712
20719
|
groupHeaderUseFormatter: this.groupHeaderUseFormatter,
|
|
20713
20720
|
groupIndent: this.groupIndent,
|
|
20714
20721
|
groupLoadMoreMeta: this.groupLoadMoreMeta,
|
|
20715
|
-
groupStartOpen:
|
|
20722
|
+
groupStartOpen: rg(this, co, Qn),
|
|
20716
20723
|
groupToggleElement: this.groupToggleElement,
|
|
20717
20724
|
groupUpdateOnCellEdit: this.groupUpdateOnCellEdit,
|
|
20718
20725
|
groupValues: this.groupValues,
|
|
20719
20726
|
headerFilterLiveFilterDelay: this.headerFilterLiveFilterDelay,
|
|
20720
20727
|
headerHidden: this.noHeader,
|
|
20721
|
-
headerSortElement:
|
|
20728
|
+
headerSortElement: jm,
|
|
20722
20729
|
hoverMenu: this.hoverMenu,
|
|
20723
20730
|
index: this.rowIdField,
|
|
20724
20731
|
initialFilter: this.initialFilter,
|
|
@@ -20850,16 +20857,27 @@ let g = class extends Pe {
|
|
|
20850
20857
|
});
|
|
20851
20858
|
}
|
|
20852
20859
|
initVerticalScrollbar() {
|
|
20853
|
-
!this.tabulatorHolder || !this.tabulatorInstance?.initialized || (this.verticalOsInstance?.destroy(), this.verticalOsInstance = Yo(
|
|
20854
|
-
|
|
20855
|
-
|
|
20856
|
-
|
|
20860
|
+
!this.tabulatorHolder || !this.tabulatorInstance?.initialized || (this.verticalOsInstance?.destroy(), this.verticalOsInstance = Yo(
|
|
20861
|
+
{
|
|
20862
|
+
elements: {
|
|
20863
|
+
viewport: this.tabulatorHolder
|
|
20864
|
+
},
|
|
20865
|
+
scrollbars: {
|
|
20866
|
+
slot: this.table
|
|
20867
|
+
},
|
|
20868
|
+
target: this.tabulatorHolder
|
|
20857
20869
|
},
|
|
20858
|
-
|
|
20859
|
-
|
|
20860
|
-
|
|
20870
|
+
{
|
|
20871
|
+
overflow: {
|
|
20872
|
+
x: "hidden",
|
|
20873
|
+
y: "scroll"
|
|
20874
|
+
},
|
|
20875
|
+
scrollbars: {
|
|
20876
|
+
autoHide: "never",
|
|
20877
|
+
autoHideDelay: 1e3
|
|
20878
|
+
}
|
|
20861
20879
|
}
|
|
20862
|
-
|
|
20880
|
+
), this.tabulatorInstance?.redraw());
|
|
20863
20881
|
}
|
|
20864
20882
|
initHorizontalScrollbar() {
|
|
20865
20883
|
!this.tabulatorElement || !this.tabulatorInstance?.initialized || (this.horizontalOsInstance?.destroy(), this.horizontalOsInstance = Yo(this.tabulatorElement, {
|
|
@@ -21041,7 +21059,7 @@ let g = class extends Pe {
|
|
|
21041
21059
|
}
|
|
21042
21060
|
async streamCsvData(e, t) {
|
|
21043
21061
|
let i = !0;
|
|
21044
|
-
const o = await
|
|
21062
|
+
const o = await Wm(
|
|
21045
21063
|
e,
|
|
21046
21064
|
(n) => {
|
|
21047
21065
|
t === this.dataUrlRequestId && (this.columns = this.resolveColumnsAfterLoad(n));
|
|
@@ -21062,7 +21080,7 @@ let g = class extends Pe {
|
|
|
21062
21080
|
};
|
|
21063
21081
|
let n;
|
|
21064
21082
|
try {
|
|
21065
|
-
n = await
|
|
21083
|
+
n = await Um(
|
|
21066
21084
|
e,
|
|
21067
21085
|
(a) => {
|
|
21068
21086
|
t === this.dataUrlRequestId && (this.columns = this.resolveColumnsAfterLoad(a));
|
|
@@ -21088,7 +21106,7 @@ let g = class extends Pe {
|
|
|
21088
21106
|
};
|
|
21089
21107
|
let n;
|
|
21090
21108
|
try {
|
|
21091
|
-
n = await
|
|
21109
|
+
n = await Gm(
|
|
21092
21110
|
e,
|
|
21093
21111
|
(a) => {
|
|
21094
21112
|
t === this.dataUrlRequestId && (this.columns = this.resolveColumnsAfterLoad(a));
|
|
@@ -21112,7 +21130,7 @@ let g = class extends Pe {
|
|
|
21112
21130
|
const i = await fetch(e);
|
|
21113
21131
|
if (!i.ok)
|
|
21114
21132
|
throw new Error(`Failed to fetch data: ${i.status} ${i.statusText}`);
|
|
21115
|
-
const s = i.headers.get("content-type"), o =
|
|
21133
|
+
const s = i.headers.get("content-type"), o = tg(this.dataFormat, e, s);
|
|
21116
21134
|
if (t !== this.dataUrlRequestId)
|
|
21117
21135
|
return;
|
|
21118
21136
|
const n = await i.text();
|
|
@@ -21165,11 +21183,11 @@ let g = class extends Pe {
|
|
|
21165
21183
|
renderToolbar() {
|
|
21166
21184
|
return x`<cx-table-toolbar label=${this.label} ?pagination=${this.pagination} pagination-placement=${te(
|
|
21167
21185
|
this.pagination ? this.paginationPlacement : void 0
|
|
21168
|
-
)} ?no-header-row-reserve=${this.noHeaderRowReserve} ?has-dynamic-filter=${this.hasFacets} ?can-search=${this.canSearch} search-value=${this.searchValue} ?can-add=${this.canAdd} add-label=${this.addLabel} ?can-export-csv=${this.canExportCsv} ?can-export-xml=${this.canExportXml} ?can-export-pdf=${this.canExportPdf} ?can-export-custom=${this.canExportCustom} ?can-save-report=${this.canSaveReport} ?show-saved-search=${this.showSavedSearch} ?no-advanced-search=${this.noAdvancedSearch} .dropdownFilters=${this.dropdownFilters} .groupByOptions=${this.groupByOptions} group-by-value=${typeof this.groupBy == "string" ? this.groupBy : ""} saved-search-url=${this.savedSearchURL} .savedSearchItems=${this.savedSearchItems} saved-search-page-size-param=${this.savedSearchPageSizeParam} saved-search-page-size=${this.savedSearchPageSize} saved-search-page-number-param=${this.savedSearchPageNumberParam} .selectAllState=${this.canSelectAll ? this.selectAllController.state : null} @cx-search=${this.handleSearch} @cx-table-export=${this.handleTableExport} @cx-table-dropdown-filter-change=${this.handleDropdownFilterChange} @cx-table-group-by-change=${this.handleTableGroupByChange} @cx-table-select-all-change=${this.handleSelectAllChange}><slot name="select-all-actions" slot="select-all-actions"></slot>${
|
|
21186
|
+
)} ?no-header-row-reserve=${this.noHeaderRowReserve} ?has-dynamic-filter=${this.hasFacets} ?can-search=${this.canSearch} search-value=${this.searchValue} ?can-add=${this.canAdd} add-label=${this.addLabel} ?can-export-csv=${this.canExportCsv} ?can-export-xml=${this.canExportXml} ?can-export-pdf=${this.canExportPdf} ?can-export-custom=${this.canExportCustom} ?can-save-report=${this.canSaveReport} ?show-saved-search=${this.showSavedSearch} ?no-advanced-search=${this.noAdvancedSearch} .dropdownFilters=${this.dropdownFilters} .groupByOptions=${this.groupByOptions} group-by-value=${typeof this.groupBy == "string" ? this.groupBy : ""} saved-search-url=${this.savedSearchURL} .savedSearchItems=${this.savedSearchItems} saved-search-page-size-param=${this.savedSearchPageSizeParam} saved-search-page-size=${this.savedSearchPageSize} saved-search-page-number-param=${this.savedSearchPageNumberParam} .selectAllState=${this.canSelectAll ? this.selectAllController.state : null} @cx-search=${this.handleSearch} @cx-table-export=${this.handleTableExport} @cx-table-dropdown-filter-change=${this.handleDropdownFilterChange} @cx-table-group-by-change=${this.handleTableGroupByChange} @cx-table-select-all-change=${this.handleSelectAllChange}><slot name="select-all-actions" slot="select-all-actions"></slot>${Y(
|
|
21169
21187
|
this.hasFacets,
|
|
21170
21188
|
() => x`<cx-faceted-filter slot="dialog-dynamic-filter" .facets=${this.ajaxFacetsController.facets} .availableFacets=${this.ajaxFacetsController.availableFacets} .externalFilters=${this.appliedFilterTags} @cx-faceted-filter-remove=${this.handleAppliedFilterRemove}></cx-faceted-filter>`
|
|
21171
21189
|
)}
|
|
21172
|
-
${
|
|
21190
|
+
${Y(
|
|
21173
21191
|
this.hasSlotController.test("add-action"),
|
|
21174
21192
|
() => x`<slot name="add-action" slot="add-action"></slot>`
|
|
21175
21193
|
)}</cx-table-toolbar>`;
|
|
@@ -21257,7 +21275,7 @@ let g = class extends Pe {
|
|
|
21257
21275
|
return x`<cx-space part="base" direction="vertical" spacing="large" wrap="nowrap" class=${rt({
|
|
21258
21276
|
container: !0,
|
|
21259
21277
|
"container--overlay-scrollbar": this.useOverlayScrollbar
|
|
21260
|
-
})}>${
|
|
21278
|
+
})}>${Y(this.showTableToolbar, () => this.renderToolbar())}<div part="table" class="table" @mouseover=${this.handleValidationMouseOver} @mouseout=${this.handleValidationMouseOut} @contextmenu=${this.handleHeaderContextMenu}></div>${Y(this.showPaginationFooter, () => this.renderPaginationFooter())}</cx-space><cx-tooltip class="validation-tooltip" trigger="manual" disabled-hover-bridge></cx-tooltip><cx-table-header-menu ?open=${this.headerMenuOpen} point-x=${this.headerMenuPointX} point-y=${this.headerMenuPointY} field=${this.headerMenuField} ?hide-disabled=${this.headerMenuHideDisabled} @cx-table-header-menu-select=${this.handleHeaderMenuSelect} @cx-table-header-menu-close=${this.handleHeaderMenuClose}></cx-table-header-menu><cx-table-column-editor ?open=${this.columnEditorOpen} .entries=${this.columnEditorEntries} @cx-table-column-editor-apply=${this.handleColumnEditorApply} @cx-table-column-editor-cancel=${this.handleColumnEditorCancel}></cx-table-column-editor>`;
|
|
21261
21279
|
}
|
|
21262
21280
|
};
|
|
21263
21281
|
co = /* @__PURE__ */ new WeakSet();
|
|
@@ -21266,7 +21284,7 @@ Qn = function() {
|
|
|
21266
21284
|
};
|
|
21267
21285
|
g.styles = [
|
|
21268
21286
|
$e,
|
|
21269
|
-
|
|
21287
|
+
Hm,
|
|
21270
21288
|
ia
|
|
21271
21289
|
];
|
|
21272
21290
|
g.dependencies = {
|
|
@@ -21284,7 +21302,7 @@ g.dependencies = {
|
|
|
21284
21302
|
"cx-table-footer": Ei,
|
|
21285
21303
|
"cx-table-header-menu": et,
|
|
21286
21304
|
"cx-table-row-actions": At,
|
|
21287
|
-
"cx-table-toolbar":
|
|
21305
|
+
"cx-table-toolbar": Z,
|
|
21288
21306
|
"cx-tooltip": It
|
|
21289
21307
|
};
|
|
21290
21308
|
w([
|
|
@@ -21623,7 +21641,7 @@ w([
|
|
|
21623
21641
|
w([
|
|
21624
21642
|
f({
|
|
21625
21643
|
attribute: "frozen-rows",
|
|
21626
|
-
converter:
|
|
21644
|
+
converter: Vm
|
|
21627
21645
|
})
|
|
21628
21646
|
], g.prototype, "frozenRows", 2);
|
|
21629
21647
|
w([
|
|
@@ -21641,7 +21659,7 @@ w([
|
|
|
21641
21659
|
w([
|
|
21642
21660
|
f({
|
|
21643
21661
|
attribute: "group-by",
|
|
21644
|
-
converter:
|
|
21662
|
+
converter: $m
|
|
21645
21663
|
})
|
|
21646
21664
|
], g.prototype, "groupBy", 2);
|
|
21647
21665
|
w([
|
|
@@ -21796,7 +21814,7 @@ w([
|
|
|
21796
21814
|
w([
|
|
21797
21815
|
f({
|
|
21798
21816
|
attribute: "data-tree-start-expanded",
|
|
21799
|
-
converter:
|
|
21817
|
+
converter: Bm
|
|
21800
21818
|
})
|
|
21801
21819
|
], g.prototype, "dataTreeStartExpanded", 2);
|
|
21802
21820
|
w([
|
|
@@ -22352,9 +22370,9 @@ w([
|
|
|
22352
22370
|
g = w([
|
|
22353
22371
|
Ie("cx-table")
|
|
22354
22372
|
], g);
|
|
22355
|
-
const
|
|
22373
|
+
const ag = g;
|
|
22356
22374
|
var Ye = /* @__PURE__ */ ((r) => (r.Circles = "circles", r.Grid = "grid", r.Table = "table", r))(Ye || {});
|
|
22357
|
-
const tn = 165,
|
|
22375
|
+
const tn = 165, lg = ["HEX", "RGB", "CMYK", "PMS"], hg = {
|
|
22358
22376
|
resizable: !1
|
|
22359
22377
|
}, Zn = [
|
|
22360
22378
|
{
|
|
@@ -22431,7 +22449,7 @@ function Oi(r, e, t) {
|
|
|
22431
22449
|
})}>${i}</span></cx-copy-button>`, o = document.createDocumentFragment();
|
|
22432
22450
|
return xa(s, o), o.firstElementChild;
|
|
22433
22451
|
}
|
|
22434
|
-
const
|
|
22452
|
+
const cg = (r, e) => [
|
|
22435
22453
|
...Zn.slice(0, 2),
|
|
22436
22454
|
{
|
|
22437
22455
|
field: "hex",
|
|
@@ -22469,11 +22487,11 @@ const hg = (r, e) => [
|
|
|
22469
22487
|
title: "PMS",
|
|
22470
22488
|
widthGrow: 2
|
|
22471
22489
|
}
|
|
22472
|
-
],
|
|
22473
|
-
var
|
|
22474
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
22490
|
+
], dg = X`:host{--grid-gap:var(--cx-spacing-medium);--padding:0;--swatch-min-height:50px;--swatch-font-size:var(--cx-font-size-medium);padding:var(--cx-focus-ring-width);width:100%;min-width:0;display:block;overflow:auto}.color-swatch-group__swatches{padding:var(--padding,0);width:100%;max-width:100%;height:100%}.color-swatch-group__table-container{max-width:100%}.color-swatch-group__table-container:focus-visible{outline:var(--cx-focus-ring);outline-offset:var(--cx-focus-ring-offset)}.color-swatch-group__swatches--circles--horizontal>cx-color-swatch:not(:first-child){margin-left:var(--swatch-group-horizontal-gap,-100px)}.color-swatch-group__swatches--circles--vertical>cx-color-swatch:not(:first-child){margin-top:var(--swatch-group-vertical-gap,-50px)}.color-swatch-group__swatches--circles--horizontal__item{--swatch-content-padding:0 min(calc(var(--swatch-group-horizontal-gap,-100px) * -.5), 0) 0 0}.color-swatch-group__swatches--circles--vertical__item{--swatch-content-padding:0 0 min(calc(var(--swatch-group-vertical-gap,-50px) * -.5), 0) 0}.color-swatch-group__swatches--circles--vertical__item--mobile{--swatch-size:100%}.color-swatch-group__swatches--grid{gap:var(--grid-gap,var(--cx-spacing-medium));display:grid}.color-swatch-group__table{--body-background-color:transparent;--row-background-color:transparent;--row-even-background-color:transparent;--row-hover-background-color:var(--cx-color-neutral-50);--row-even-hover-background-color:var(--cx-color-neutral-50);--header-background-color:transparent;--group-row-background-color:transparent;--cell-border-color:transparent;--cell-bottom-border-color:transparent;--header-font-size:var(--cx-font-size-large);--header-font-weight:var(--cx-font-weight-semibold);--header-border-right:none;--cell-font-size:var(--cx-font-size-large);--cell-font-weight:var(--cx-font-weight-regular);--cell-line-height:40px;--cell-hover-background-color:transparent;--placeholder-font-size:var(--cx-font-size-medium-large);--cell-horizontal-padding:var(--cx-spacing-2x-small);--header-horizontal-padding:var(--cx-spacing-2x-small);--header-border-bottom:1px solid var(--cx-color-neutral-200);--hover-menu-background-color:var(--row-hover-background-color);--outer-border-color:transparent}.color-swatch-group__table::part(table){background-color:#0000}`;
|
|
22491
|
+
var ug = Object.defineProperty, pg = Object.getOwnPropertyDescriptor, xe = (r, e, t, i) => {
|
|
22492
|
+
for (var s = i > 1 ? void 0 : i ? pg(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
22475
22493
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
22476
|
-
return i && s &&
|
|
22494
|
+
return i && s && ug(e, t, s), s;
|
|
22477
22495
|
};
|
|
22478
22496
|
const sn = "unnamed";
|
|
22479
22497
|
let ge = class extends Pe {
|
|
@@ -22530,7 +22548,7 @@ let ge = class extends Pe {
|
|
|
22530
22548
|
* Filter out the columns that are not in the showCodes
|
|
22531
22549
|
*/
|
|
22532
22550
|
getTableColumns(r) {
|
|
22533
|
-
const e = this.canCopy ?
|
|
22551
|
+
const e = this.canCopy ? cg(this.localize, r) : Zn;
|
|
22534
22552
|
return [
|
|
22535
22553
|
...e.slice(0, 2),
|
|
22536
22554
|
...e.slice(2).filter(
|
|
@@ -22580,7 +22598,7 @@ let ge = class extends Pe {
|
|
|
22580
22598
|
render() {
|
|
22581
22599
|
const r = this.currentDirection, e = this.localize.lang();
|
|
22582
22600
|
return x`
|
|
22583
|
-
${
|
|
22601
|
+
${Y(
|
|
22584
22602
|
this.variant === Ye.Table,
|
|
22585
22603
|
() => x`<cx-space class="color-swatch-group__swatches" direction="vertical" spacing="2x-small">${or(
|
|
22586
22604
|
[this.data, this.canCopy],
|
|
@@ -22595,7 +22613,7 @@ let ge = class extends Pe {
|
|
|
22595
22613
|
)} data-table-container class="color-swatch-group__table-container" @focusin=${this.handleFocusIn} @focusout=${this.handleFocusOut} @keydown=${this.handleKeyDown}><cx-typography variant="h3">${t.palette === sn ? this.localize.term("noPalette") : this.localize.term("shadesPalette", t.palette)}</cx-typography><cx-table part="table" tabindex=${this.isFocused ? void 0 : "-1"} no-selectable layout="fitColumns" .columns=${or(
|
|
22596
22614
|
[this.showCodes, this.canCopy, this.localize],
|
|
22597
22615
|
() => this.getTableColumns(t.palette)
|
|
22598
|
-
)} .columnDefaults=${
|
|
22616
|
+
)} .columnDefaults=${hg} .rowHeight=${48} .data=${i} class="color-swatch-group__table"></cx-table></div>`;
|
|
22599
22617
|
}
|
|
22600
22618
|
)
|
|
22601
22619
|
)}</cx-space>`,
|
|
@@ -22621,11 +22639,11 @@ let ge = class extends Pe {
|
|
|
22621
22639
|
`;
|
|
22622
22640
|
}
|
|
22623
22641
|
};
|
|
22624
|
-
ge.styles = [$e,
|
|
22642
|
+
ge.styles = [$e, dg];
|
|
22625
22643
|
ge.dependencies = {
|
|
22626
22644
|
"cx-color-swatch": rn,
|
|
22627
22645
|
"cx-space": Ri,
|
|
22628
|
-
"cx-table":
|
|
22646
|
+
"cx-table": ag,
|
|
22629
22647
|
"cx-typography": on
|
|
22630
22648
|
};
|
|
22631
22649
|
xe([
|
|
@@ -22650,7 +22668,7 @@ xe([
|
|
|
22650
22668
|
f({
|
|
22651
22669
|
attribute: "show-codes",
|
|
22652
22670
|
converter: {
|
|
22653
|
-
fromAttribute: (r) => (r?.split(" ") ?? []).filter((t) =>
|
|
22671
|
+
fromAttribute: (r) => (r?.split(" ") ?? []).filter((t) => lg.includes(t)),
|
|
22654
22672
|
toAttribute: (r) => r.join(" ")
|
|
22655
22673
|
},
|
|
22656
22674
|
reflect: !0
|
|
@@ -22694,7 +22712,7 @@ export {
|
|
|
22694
22712
|
nt as F,
|
|
22695
22713
|
Wt as H,
|
|
22696
22714
|
Ot as a,
|
|
22697
|
-
|
|
22715
|
+
ag as b,
|
|
22698
22716
|
yn as c,
|
|
22699
22717
|
Ye as d,
|
|
22700
22718
|
rr as e,
|