@orangelogic/design-system 2.143.0 → 2.145.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/assets/validation.worker-D3_lxKZ_.js +1 -0
- package/library/chunks/{AxisLabelRadial.D-dnNhId.js → AxisLabelRadial.BVjTmOAK.js} +1 -1
- package/library/chunks/{BaseColumnSeries.DuJGGHnE.js → BaseColumnSeries.CBs_QAAc.js} +1 -1
- package/library/chunks/{CandlestickSeries.Dvk4WnlG.js → CandlestickSeries.Cx0wpT9T.js} +2 -2
- package/library/chunks/{Circle.CSPkPGZR.js → Circle.CPg-MUlK.js} +1 -1
- package/library/chunks/{ColumnSeries.BgqnNaWx.js → ColumnSeries.CGSxIqPG.js} +2 -2
- package/library/chunks/{EditableAxisLabel.htXPpq9V.js → EditableAxisLabel.BE0SAubP.js} +2 -2
- package/library/chunks/{EditableLabel.BVdITrjV.js → EditableLabel.L5NEdtkw.js} +1 -1
- package/library/chunks/{Gradient.Bw8LaBZS.js → Gradient.oQ6wJQll.js} +1 -1
- package/library/chunks/{LinearGradient.DryVGwkQ.js → LinearGradient.CEimwU0Q.js} +2 -2
- package/library/chunks/{Picture.GEGxHvQB.js → Picture.BfLKhIYn.js} +1 -1
- package/library/chunks/{Polygon.B7Vu5sIv.js → Polygon.iNK22k_h.js} +1 -1
- package/library/chunks/{ProgressPie.C2sMNGxC.js → ProgressPie.Bcqzaeqx.js} +5 -5
- package/library/chunks/{RadialLabel.DCE1UsLn.js → RadialLabel.a3toiXax.js} +1 -1
- package/library/chunks/{Scrollbar.DoQ3emzl.js → Scrollbar.CAoY7xcW.js} +1 -1
- package/library/chunks/{Slice.BtEmJlKG.js → Slice.DLvisUPP.js} +1 -1
- package/library/chunks/{Slider.BkWEJjkG.js → Slider.syeHIyBN.js} +1 -1
- package/library/chunks/{SpriteResizer.CkJ6wMt2.js → SpriteResizer.BDWAslnu.js} +1 -1
- package/library/chunks/{Triangle.DRbqqwUv.js → Triangle.adLo6odq.js} +1 -1
- package/library/chunks/{ZoomTools.B2lVZ7om.js → ZoomTools.4NFU6RVT.js} +1 -1
- package/library/chunks/{_baseIteratee.Dhw-0WrS.js → _baseIteratee.CzjK3VFY.js} +2 -2
- package/library/chunks/{_baseUniq.DP9Qak6V.js → _baseUniq.CoXu-orP.js} +1 -1
- package/library/chunks/{_baseXor.DY_sP7af.js → _baseXor.DRclcoaa.js} +4 -4
- package/library/chunks/{am-chart.DaqbO8CU.js → am-chart.Bf-o9SaR.js} +252 -252
- package/library/chunks/{animation.DYTPen16.js → animation.BSFdTpqz.js} +1 -1
- package/library/chunks/{asset-link-format.BVoE-GrD.js → asset-link-format.D6XVEha7.js} +10 -10
- package/library/chunks/{button.Bja8HrmJ.js → button.Bx7AnUu4.js} +4 -4
- package/library/chunks/button.styles.svc2lIwC.js +5 -0
- package/library/chunks/{capitalize.WZm6pIpy.js → capitalize.DKzUtjlF.js} +1 -1
- package/library/chunks/{checkbox.kdSMUgR1.js → checkbox.aQnF4Zc3.js} +2 -2
- package/library/chunks/{color-swatch-group.CwHdAKQv.js → color-swatch-group.DORzYTrn.js} +831 -747
- package/library/chunks/{color-swatch.DCePblYs.js → color-swatch.Pczcitrc.js} +3 -3
- package/library/chunks/{colorPicker.B1c_VK97.js → colorPicker.fDJa_Rz5.js} +5 -5
- package/library/chunks/{confirm-popover.CQm_rVIt.js → confirm-popover.DLb5agj9.js} +3 -3
- package/library/chunks/{content-builder.D-_Ou8sw.js → content-builder.DZRw6hpX.js} +1 -1
- package/library/chunks/{dialog.0TzzxNXE.js → dialog.B1uHEUsi.js} +3 -3
- package/library/chunks/{document-viewer.Bb1M9uJ-.js → document-viewer.CMHuC2Di.js} +339 -271
- package/library/chunks/{dot-pagination.BwSugdZk.js → dot-pagination.171qk-p2.js} +2 -2
- package/library/chunks/{exporting.C47Rlm_F.js → exporting.Co0vJIff.js} +2 -2
- package/library/chunks/{flow.DhXYaDTn.js → flow.0ah2v6L5.js} +5 -5
- package/library/chunks/{folder-select.5f4e8jqB.js → folder-select.COFTAu2f.js} +6 -6
- package/library/chunks/{gantt.B-KoNU00.js → gantt.CPSE8Grs.js} +8 -8
- package/library/chunks/{header.BZKaF_-o.js → header.DP4ZGEwN.js} +3 -3
- package/library/chunks/{hierarchy.DZcTzpNv.js → hierarchy.Dlq2MwWz.js} +5 -5
- package/library/chunks/{hub-connection.C9j9Ce_a.js → hub-connection.CIUZJBdQ.js} +1 -1
- package/library/chunks/{i18n.C4wPyPTR.js → i18n.DYXys45m.js} +7 -3
- package/library/chunks/{icon-button.Ce2tPGuf.js → icon-button.B0L-_zT9.js} +2 -2
- package/library/chunks/{icon.-k4fR0bD.js → icon.CsF1BoUl.js} +1 -1
- package/library/chunks/{iframe.CnG8EcG1.js → iframe._3_Z5IJc.js} +7 -7
- package/library/chunks/{image.C2acLx6g.js → image.DVbY2O89.js} +3 -3
- package/library/chunks/{index.B7KpCL4Q.js → index.q6xCNzcK.js} +17 -17
- package/library/chunks/{input.BAvin1Qu.js → input.CSI9KLz7.js} +3 -3
- package/library/chunks/{json.CYp1GBUl.js → json.lgvYjT5K.js} +3 -3
- package/library/chunks/{map.DCp6R-yn.js → map.Cz4qZnZB.js} +2 -2
- package/library/chunks/{option.DT-6HmoC.js → option.BweUpygr.js} +4 -4
- package/library/chunks/{pagination.KvDdhXZL.js → pagination.CyY982g0.js} +6 -6
- package/library/chunks/{percent.C253sJzT.js → percent.TSAQO6y8.js} +3 -3
- package/library/chunks/{radar.Bh033jVx.js → radar.mnUjkEJF.js} +4 -4
- package/library/chunks/{sliceGrouper.BOB7t0KC.js → sliceGrouper.B9Hml2R8.js} +1 -1
- package/library/chunks/{stock.rKM7Pn6U.js → stock.CSGPjDQK.js} +9 -9
- package/library/chunks/{tab-group.DyInpwMz.js → tab-group.BJImZf-n.js} +4 -4
- package/library/chunks/{timeline.8Dbc5Mzg.js → timeline.CzbNFkA3.js} +5 -5
- package/library/chunks/{toString.BDhOhZPZ.js → toString.bJgZMf_C.js} +1 -1
- package/library/chunks/{toast.BYVF5TVe.js → toast.NfNkPs5d.js} +1 -1
- package/library/chunks/{tree.BpSudcAI.js → tree.CvxvKWUm.js} +176 -159
- package/library/chunks/{venn.9MIxwncF.js → venn.Cq0RJAER.js} +1 -1
- package/library/chunks/{watch.CkGTlwIo.js → watch.K-dbDP6P.js} +102 -101
- package/library/chunks/{wc.s24RZyr1.js → wc.Cae1yJ4l.js} +1 -1
- package/library/chunks/{xy.QPSrxL0Q.js → xy.CseMLD2I.js} +10 -10
- package/library/components/alert.js +3 -3
- package/library/components/am-chart.js +2 -2
- package/library/components/animated-image.js +2 -2
- package/library/components/animation.js +2 -2
- package/library/components/array-line-clamp.js +1 -1
- package/library/components/asset-link-format.js +4 -4
- package/library/components/atoms.js +20 -20
- package/library/components/audio.js +3 -3
- package/library/components/avatar.js +2 -2
- package/library/components/border-input-group.js +2 -2
- package/library/components/breadcrumb-item.js +1 -1
- package/library/components/breadcrumb.js +2 -2
- package/library/components/button.js +5 -5
- package/library/components/checkbox.js +3 -3
- package/library/components/color-picker.js +5 -5
- package/library/components/color-swatch-group.js +6 -6
- package/library/components/color-swatch.js +3 -3
- package/library/components/confirm-popover.js +4 -4
- package/library/components/copy-button.js +3 -3
- package/library/components/corner-position-input-group.js +3 -3
- package/library/components/date-calendar.js +1 -1
- package/library/components/details.js +4 -4
- package/library/components/dialog.js +4 -4
- package/library/components/diff.js +1 -1
- package/library/components/divider.js +1 -1
- package/library/components/document-viewer.js +4 -4
- package/library/components/dot-pagination.js +3 -3
- package/library/components/drawer.js +4 -4
- package/library/components/dropdown.js +3 -3
- package/library/components/dynamic-select.js +7 -7
- package/library/components/e-chart.js +2 -2
- package/library/components/element-clamp.js +3 -3
- package/library/components/file-on-demand.js +13 -13
- package/library/components/folder-select.js +6 -6
- package/library/components/format-bytes.js +1 -1
- package/library/components/format-date.js +1 -1
- package/library/components/format-number.js +1 -1
- package/library/components/format-time.js +2 -2
- package/library/components/grid-item.js +1 -1
- package/library/components/header.js +3 -3
- package/library/components/hub-connection.js +2 -2
- package/library/components/icon-button.js +3 -3
- package/library/components/icon.js +2 -2
- package/library/components/iframe.js +3 -3
- package/library/components/image-comparer.js +3 -3
- package/library/components/image.js +4 -4
- package/library/components/include.js +1 -1
- package/library/components/input.js +4 -4
- package/library/components/line-clamp.js +1 -1
- package/library/components/markdown.js +1 -1
- package/library/components/masonry.js +3 -3
- package/library/components/menu-item.js +3 -3
- package/library/components/menu.js +1 -1
- package/library/components/molecules.js +3 -3
- package/library/components/mutation-observer.js +1 -1
- package/library/components/option.js +4 -4
- package/library/components/organisms.js +2 -2
- package/library/components/padding-input-group.js +1 -1
- package/library/components/pagination.js +7 -7
- package/library/components/popup.js +1 -1
- package/library/components/position-picker.js +1 -1
- package/library/components/progress-bar.js +1 -1
- package/library/components/progress-ring.js +1 -1
- package/library/components/qr-code.js +1 -1
- package/library/components/radio-button.js +2 -2
- package/library/components/radio-card.js +1 -1
- package/library/components/radio-group.js +1 -1
- package/library/components/radio.js +2 -2
- package/library/components/range.js +2 -2
- package/library/components/rating.js +3 -3
- package/library/components/relative-time.js +1 -1
- package/library/components/resize-observer.js +1 -1
- package/library/components/select.js +4 -4
- package/library/components/shadow-input-group.js +1 -1
- package/library/components/share-option-list.js +3 -3
- package/library/components/sidebar.js +3 -3
- package/library/components/size-input-group.js +4 -4
- package/library/components/spinner.js +1 -1
- package/library/components/split-panel.js +2 -2
- package/library/components/step.js +1 -1
- package/library/components/stepper-wizard.js +1 -1
- package/library/components/stepper.js +1 -1
- package/library/components/switch.js +2 -2
- package/library/components/tab-group.js +5 -5
- package/library/components/tab-panel.js +1 -1
- package/library/components/tab.js +4 -4
- package/library/components/tag.js +2 -2
- package/library/components/textarea.js +1 -1
- package/library/components/timecode.js +1 -1
- package/library/components/tooltip.js +3 -3
- package/library/components/tree-item.js +5 -5
- package/library/components/tree.js +3 -3
- package/library/components/typeface.js +8 -8
- package/library/components/types.js +297 -285
- package/library/components/video.js +3 -3
- package/library/css/ol-base.css +3 -3
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/tree/tree.d.ts +13 -0
- package/library/packages/hybrid/book-reader/src/react/constant.d.ts +1 -0
- package/library/packages/hybrid/book-reader/src/react/hooks/useBookEvents.d.ts +1 -1
- package/library/packages/hybrid/book-reader/src/react/hooks/useRestoreFocusOnClose.d.ts +8 -0
- package/library/packages/hybrid/table-core/src/table/controllers/filter-controller.d.ts +10 -0
- package/library/packages/hybrid/table-core/src/table/controllers/select-all-controller.d.ts +12 -0
- package/library/packages/hybrid/table-core/src/table/table.d.ts +13 -0
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/components/rte-bubble-menu/rte-bubble-menu.d.ts +1 -1
- package/library/packages/organisms/src/content-builder/plugins/rich-text-editor/constant.d.ts +2 -2
- package/library/packages/organisms/src/content-builder/styleController.d.ts +3 -0
- package/library/packages/react-web-component.d.ts +14768 -2717
- package/library/packages/types/src/content-builder.d.ts +4 -0
- package/library/packages/types/src/table.d.ts +9 -0
- package/library/packages/utils/src/custom-element/i18n.d.ts +4 -0
- package/library/utils.js +4 -4
- package/package.json +1 -1
- package/library/assets/validation.worker-Dc_pkZlD.js +0 -1
- package/library/chunks/button.styles.CATjjP1T.js +0 -5
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import Ri from "../components/space.js";
|
|
2
2
|
import { C as Xr, T as Bn } from "./typography.IqHbnd3C.js";
|
|
3
3
|
import { n as m, C as Ae } from "./lib-cortex-element.CVMmyPMC.js";
|
|
4
|
-
import { C as Jr, a as ts } from "./color-swatch.
|
|
4
|
+
import { C as Jr, a as ts } from "./color-swatch.Pczcitrc.js";
|
|
5
5
|
import { c as $e } from "./component.styles.CRO4Odto.js";
|
|
6
|
-
import { C as Et } from "./button.
|
|
7
|
-
import { C as $n, o as jn, O as Wo } from "./dialog.
|
|
8
|
-
import { C as oi } from "./icon-button.
|
|
6
|
+
import { C as Et } from "./button.Bx7AnUu4.js";
|
|
7
|
+
import { C as $n, o as jn, O as Wo } from "./dialog.B1uHEUsi.js";
|
|
8
|
+
import { C as oi } from "./icon-button.B0L-_zT9.js";
|
|
9
9
|
import Pt from "../components/tooltip.js";
|
|
10
|
-
import { i as Yr, r as Wn, f as Yt, m as Gn, a as Un, t as Qr, g as Kn, b as qn, c as Xn } from "./toast.
|
|
10
|
+
import { i as Yr, r as Wn, f as Yt, m as Gn, a as Un, t as Qr, g as Kn, b as qn, c as Xn } from "./toast.NfNkPs5d.js";
|
|
11
11
|
import { c as Pe } from "./custom-element.L4WJXn1j.js";
|
|
12
|
-
import { L as tt } from "./i18n.
|
|
13
|
-
import { b as ao, a as Jn, c as Go, h as Yn, o as Qn, p as Zn, q as ea, f as ta, r as ia, t as sa, e as oa, u as ra, v as na, U as Uo, x as lo, y as Ni, z as aa, j as la, i as ha, w as
|
|
14
|
-
import { i as Z, x, E as wt, B as
|
|
12
|
+
import { L as tt } from "./i18n.DYXys45m.js";
|
|
13
|
+
import { b as ao, a as Jn, c as Go, h as Yn, o as Qn, p as Zn, q as ea, f as ta, r as ia, t as sa, e as oa, u as ra, v as na, U as Uo, x as lo, y as Ni, z as aa, j as la, i as ha, w as $, A as ca } from "./watch.K-dbDP6P.js";
|
|
14
|
+
import { i as Z, x, E as wt, B as da } from "./lit-element.jLBm65_O.js";
|
|
15
15
|
import { r as L } from "./state.CSDxrqLd.js";
|
|
16
16
|
import { e as ue } from "./query.BBf1UFkC.js";
|
|
17
|
-
import { b as Gi, i as _t, c as
|
|
18
|
-
import { b as Ui, a as
|
|
19
|
-
import { a as co } from "./toString.
|
|
20
|
-
import { a as
|
|
21
|
-
import { C as It } from "./icon
|
|
22
|
-
import { C as en } from "./input.
|
|
17
|
+
import { b as Gi, i as _t, c as ua, d as ho, a as pa, e as Ko, s as fa, o as ma } from "./_baseXor.DRclcoaa.js";
|
|
18
|
+
import { b as Ui, a as ga, c as Zr, t as ba } from "./_baseIteratee.CzjK3VFY.js";
|
|
19
|
+
import { a as co } from "./toString.bJgZMf_C.js";
|
|
20
|
+
import { a as wa, b as va } from "./_baseUniq.CoXu-orP.js";
|
|
21
|
+
import { C as It } from "./icon.CsF1BoUl.js";
|
|
22
|
+
import { C as en } from "./input.CSI9KLz7.js";
|
|
23
23
|
import { d as tn } 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
26
|
import { n as J } from "./when.Dr1es41R.js";
|
|
27
|
-
import { a as sn, r as
|
|
28
|
-
import { b as
|
|
29
|
-
import { S as
|
|
30
|
-
import
|
|
31
|
-
import { o as
|
|
27
|
+
import { a as sn, r as ya, S as qo, i as uo, b as Ca } from "./isObjectLike.z36Fu426.js";
|
|
28
|
+
import { b as Ea } from "./capitalize.DKzUtjlF.js";
|
|
29
|
+
import { S as xa } from "./sortable.esm.oSzf6C5Q.js";
|
|
30
|
+
import Ra from "../components/line-clamp.js";
|
|
31
|
+
import { o as Sa } from "./unsafe-html.Dff7-rCx.js";
|
|
32
32
|
import ri from "../components/menu.js";
|
|
33
33
|
import ni from "../components/menu-item.js";
|
|
34
|
-
import
|
|
35
|
-
import { r as
|
|
34
|
+
import Ta from "../components/popup.js";
|
|
35
|
+
import { r as ka } from "./choose.BTbF6BAn.js";
|
|
36
36
|
import { o as se } from "./if-defined.BRoBj_Rp.js";
|
|
37
37
|
import { o as ft } from "./style-map.llVFPd__.js";
|
|
38
38
|
import ai from "../components/dropdown.js";
|
|
39
|
-
import
|
|
40
|
-
import { C as on, a as
|
|
41
|
-
import { C as
|
|
39
|
+
import Da from "../components/menu-section.js";
|
|
40
|
+
import { C as on, a as Ma } from "./checkbox.aQnF4Zc3.js";
|
|
41
|
+
import { C as La, P as Fa } from "./pagination.CyY982g0.js";
|
|
42
42
|
import { H as rn } from "./slot.j5oheLJC.js";
|
|
43
43
|
import { g as B, a as Xo } from "./dom.CU_mBy9D.js";
|
|
44
44
|
import "./browser.BHOCIF_A.js";
|
|
45
45
|
import "./form.BSqXLytJ.js";
|
|
46
46
|
import "./purify.es.BIuh5IAZ.js";
|
|
47
|
-
import { D as nn, a as
|
|
48
|
-
import { D as ki } from "./content-builder.
|
|
47
|
+
import { D as nn, a as _a } from "./date-picker.DTUICGb9.js";
|
|
48
|
+
import { D as ki } from "./content-builder.DZRw6hpX.js";
|
|
49
49
|
import { s as P, h as Jo, b as Ki, c as po } from "./string.BmBJ_BLT.js";
|
|
50
|
-
import { a as
|
|
51
|
-
import { d as
|
|
52
|
-
import
|
|
53
|
-
import
|
|
54
|
-
import
|
|
50
|
+
import { a as za } from "./_commonjsHelpers.DQNKXVTB.js";
|
|
51
|
+
import { d as Oa } from "./debounce.C_J-9zJi.js";
|
|
52
|
+
import Aa from "../components/divider.js";
|
|
53
|
+
import Pa from "../components/format-number.js";
|
|
54
|
+
import Ia from "../components/select.js";
|
|
55
55
|
import an from "../components/spinner.js";
|
|
56
|
-
import
|
|
57
|
-
import
|
|
58
|
-
import
|
|
59
|
-
import { c as
|
|
60
|
-
import { r as
|
|
56
|
+
import Ha from "../components/badge.js";
|
|
57
|
+
import Na from "../components/details.js";
|
|
58
|
+
import Va from "../components/tag.js";
|
|
59
|
+
import { c as Ba } from "./date.dSYNLBVO.js";
|
|
60
|
+
import { r as $a } from "./query-all.i3PyvTUQ.js";
|
|
61
61
|
import { i as Yo } from "./guard.D4axKaMo.js";
|
|
62
62
|
function si(r) {
|
|
63
63
|
var e = r == null ? 0 : r.length;
|
|
@@ -65,12 +65,12 @@ function si(r) {
|
|
|
65
65
|
}
|
|
66
66
|
var Qo = Gi(function(r, e) {
|
|
67
67
|
var t = si(e);
|
|
68
|
-
return _t(t) && (t = void 0), _t(r) ?
|
|
69
|
-
}),
|
|
70
|
-
function
|
|
71
|
-
for (var i =
|
|
68
|
+
return _t(t) && (t = void 0), _t(r) ? ua(r, ho(e, 1, _t, !0), Ui(t)) : [];
|
|
69
|
+
}), ja = Math.min;
|
|
70
|
+
function Wa(r, e, t) {
|
|
71
|
+
for (var i = wa, s = r[0].length, o = r.length, n = o, a = Array(o), l = 1 / 0, h = []; n--; ) {
|
|
72
72
|
var c = r[n];
|
|
73
|
-
n && e && (c = co(c, ao(e))), l =
|
|
73
|
+
n && e && (c = co(c, ao(e))), l = ja(c.length, l), a[n] = e || s >= 120 && c.length >= 120 ? new Jn(n && c) : void 0;
|
|
74
74
|
}
|
|
75
75
|
c = r[0];
|
|
76
76
|
var d = -1, p = a[0];
|
|
@@ -88,20 +88,20 @@ function ja(r, e, t) {
|
|
|
88
88
|
}
|
|
89
89
|
return h;
|
|
90
90
|
}
|
|
91
|
-
function
|
|
91
|
+
function Ga(r) {
|
|
92
92
|
return _t(r) ? r : [];
|
|
93
93
|
}
|
|
94
|
-
var
|
|
95
|
-
var e = si(r), t = co(r,
|
|
96
|
-
return e === si(t) ? e = void 0 : t.pop(), t.length && t[0] === r[0] ?
|
|
97
|
-
}), Ua = Gi(function(r) {
|
|
98
|
-
var e = si(r);
|
|
99
|
-
return _t(e) && (e = void 0), wa(ho(r, 1, _t, !0), Ui(e));
|
|
94
|
+
var Ua = Gi(function(r) {
|
|
95
|
+
var e = si(r), t = co(r, Ga);
|
|
96
|
+
return e === si(t) ? e = void 0 : t.pop(), t.length && t[0] === r[0] ? Wa(t, Ui(e)) : [];
|
|
100
97
|
}), Ka = Gi(function(r) {
|
|
101
98
|
var e = si(r);
|
|
102
|
-
return _t(e) && (e = void 0),
|
|
99
|
+
return _t(e) && (e = void 0), va(ho(r, 1, _t, !0), Ui(e));
|
|
100
|
+
}), qa = Gi(function(r) {
|
|
101
|
+
var e = si(r);
|
|
102
|
+
return _t(e) && (e = void 0), pa(Yn(r, _t), Ui(e));
|
|
103
103
|
});
|
|
104
|
-
function
|
|
104
|
+
function Xa(r, e) {
|
|
105
105
|
for (var t = -1, i = r == null ? 0 : r.length; ++t < i && e(r[t], t, r) !== !1; )
|
|
106
106
|
;
|
|
107
107
|
return r;
|
|
@@ -114,12 +114,12 @@ function ln(r, e, t) {
|
|
|
114
114
|
writable: !0
|
|
115
115
|
}) : r[e] = t;
|
|
116
116
|
}
|
|
117
|
-
var
|
|
117
|
+
var Ja = Object.prototype, Ya = Ja.hasOwnProperty;
|
|
118
118
|
function hn(r, e, t) {
|
|
119
119
|
var i = r[e];
|
|
120
|
-
(!(
|
|
120
|
+
(!(Ya.call(r, e) && Qn(i, t)) || t === void 0 && !(e in r)) && ln(r, e, t);
|
|
121
121
|
}
|
|
122
|
-
function
|
|
122
|
+
function Qa(r, e, t, i) {
|
|
123
123
|
var s = !t;
|
|
124
124
|
t || (t = {});
|
|
125
125
|
for (var o = -1, n = e.length; ++o < n; ) {
|
|
@@ -128,76 +128,75 @@ function Ya(r, e, t, i) {
|
|
|
128
128
|
}
|
|
129
129
|
return t;
|
|
130
130
|
}
|
|
131
|
-
function
|
|
131
|
+
function Za(r) {
|
|
132
132
|
var e = [];
|
|
133
133
|
if (r != null)
|
|
134
134
|
for (var t in Object(r))
|
|
135
135
|
e.push(t);
|
|
136
136
|
return e;
|
|
137
137
|
}
|
|
138
|
-
var
|
|
139
|
-
function
|
|
138
|
+
var el = Object.prototype, tl = el.hasOwnProperty;
|
|
139
|
+
function il(r) {
|
|
140
140
|
if (!sn(r))
|
|
141
|
-
return
|
|
141
|
+
return Za(r);
|
|
142
142
|
var e = Zn(r), t = [];
|
|
143
143
|
for (var i in r)
|
|
144
|
-
i == "constructor" && (e || !
|
|
144
|
+
i == "constructor" && (e || !tl.call(r, i)) || t.push(i);
|
|
145
145
|
return t;
|
|
146
146
|
}
|
|
147
|
-
function
|
|
148
|
-
return ta(r) ? ea(r, !0) :
|
|
147
|
+
function sl(r) {
|
|
148
|
+
return ta(r) ? ea(r, !0) : il(r);
|
|
149
149
|
}
|
|
150
|
-
var cn = typeof exports == "object" && exports && !exports.nodeType && exports, Zo = cn && typeof module == "object" && module && !module.nodeType && module,
|
|
150
|
+
var cn = typeof exports == "object" && exports && !exports.nodeType && exports, Zo = cn && typeof module == "object" && module && !module.nodeType && module, ol = Zo && Zo.exports === cn, er = ol ? ya.Buffer : void 0;
|
|
151
151
|
er && er.allocUnsafe;
|
|
152
|
-
function
|
|
152
|
+
function rl(r, e) {
|
|
153
153
|
return r.slice();
|
|
154
154
|
}
|
|
155
|
-
var dn = ia(Object.getPrototypeOf, Object),
|
|
155
|
+
var dn = ia(Object.getPrototypeOf, Object), nl = Object.getOwnPropertySymbols, al = nl ? function(r) {
|
|
156
156
|
for (var e = []; r; )
|
|
157
157
|
oa(e, ra(r)), r = dn(r);
|
|
158
158
|
return e;
|
|
159
159
|
} : sa;
|
|
160
160
|
function un(r) {
|
|
161
|
-
return na(r,
|
|
161
|
+
return na(r, sl, al);
|
|
162
162
|
}
|
|
163
|
-
var
|
|
164
|
-
function
|
|
163
|
+
var ll = Object.prototype, hl = ll.hasOwnProperty;
|
|
164
|
+
function cl(r) {
|
|
165
165
|
var e = r.length, t = new r.constructor(e);
|
|
166
|
-
return e && typeof r[0] == "string" &&
|
|
166
|
+
return e && typeof r[0] == "string" && hl.call(r, "index") && (t.index = r.index, t.input = r.input), t;
|
|
167
167
|
}
|
|
168
168
|
function fo(r) {
|
|
169
169
|
var e = new r.constructor(r.byteLength);
|
|
170
170
|
return new Uo(e).set(new Uo(r)), e;
|
|
171
171
|
}
|
|
172
|
-
function
|
|
172
|
+
function dl(r, e) {
|
|
173
173
|
var t = fo(r.buffer);
|
|
174
174
|
return new r.constructor(t, r.byteOffset, r.byteLength);
|
|
175
175
|
}
|
|
176
|
-
var
|
|
177
|
-
function
|
|
178
|
-
var e = new r.constructor(r.source,
|
|
176
|
+
var ul = /\w*$/;
|
|
177
|
+
function pl(r) {
|
|
178
|
+
var e = new r.constructor(r.source, ul.exec(r));
|
|
179
179
|
return e.lastIndex = r.lastIndex, e;
|
|
180
180
|
}
|
|
181
181
|
var tr = qo ? qo.prototype : void 0, ir = tr ? tr.valueOf : void 0;
|
|
182
|
-
function
|
|
182
|
+
function fl(r) {
|
|
183
183
|
return ir ? Object(ir.call(r)) : {};
|
|
184
184
|
}
|
|
185
|
-
function
|
|
185
|
+
function ml(r, e) {
|
|
186
186
|
var t = fo(r.buffer);
|
|
187
187
|
return new r.constructor(t, r.byteOffset, r.length);
|
|
188
188
|
}
|
|
189
|
-
var
|
|
190
|
-
function
|
|
189
|
+
var gl = "[object Boolean]", bl = "[object Date]", wl = "[object Map]", vl = "[object Number]", yl = "[object RegExp]", Cl = "[object Set]", El = "[object String]", xl = "[object Symbol]", Rl = "[object ArrayBuffer]", Sl = "[object DataView]", Tl = "[object Float32Array]", kl = "[object Float64Array]", Dl = "[object Int8Array]", Ml = "[object Int16Array]", Ll = "[object Int32Array]", Fl = "[object Uint8Array]", _l = "[object Uint8ClampedArray]", zl = "[object Uint16Array]", Ol = "[object Uint32Array]";
|
|
190
|
+
function Al(r, e, t) {
|
|
191
191
|
var i = r.constructor;
|
|
192
192
|
switch (e) {
|
|
193
|
-
case
|
|
193
|
+
case Rl:
|
|
194
194
|
return fo(r);
|
|
195
|
-
case ml:
|
|
196
195
|
case gl:
|
|
196
|
+
case bl:
|
|
197
197
|
return new i(+r);
|
|
198
|
-
case Rl:
|
|
199
|
-
return cl(r);
|
|
200
198
|
case Sl:
|
|
199
|
+
return dl(r);
|
|
201
200
|
case Tl:
|
|
202
201
|
case kl:
|
|
203
202
|
case Dl:
|
|
@@ -206,31 +205,32 @@ function Ol(r, e, t) {
|
|
|
206
205
|
case Fl:
|
|
207
206
|
case _l:
|
|
208
207
|
case zl:
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
return new i();
|
|
208
|
+
case Ol:
|
|
209
|
+
return ml(r);
|
|
212
210
|
case wl:
|
|
213
|
-
case Cl:
|
|
214
|
-
return new i(r);
|
|
215
|
-
case vl:
|
|
216
|
-
return ul(r);
|
|
217
|
-
case yl:
|
|
218
211
|
return new i();
|
|
212
|
+
case vl:
|
|
219
213
|
case El:
|
|
214
|
+
return new i(r);
|
|
215
|
+
case yl:
|
|
220
216
|
return pl(r);
|
|
217
|
+
case Cl:
|
|
218
|
+
return new i();
|
|
219
|
+
case xl:
|
|
220
|
+
return fl(r);
|
|
221
221
|
}
|
|
222
222
|
}
|
|
223
|
-
var
|
|
224
|
-
function
|
|
225
|
-
return uo(r) && lo(r) ==
|
|
223
|
+
var Pl = "[object Map]";
|
|
224
|
+
function Il(r) {
|
|
225
|
+
return uo(r) && lo(r) == Pl;
|
|
226
226
|
}
|
|
227
|
-
var sr = Ni && Ni.isMap,
|
|
228
|
-
function
|
|
229
|
-
return uo(r) && lo(r) ==
|
|
227
|
+
var sr = Ni && Ni.isMap, Hl = sr ? ao(sr) : Il, Nl = "[object Set]";
|
|
228
|
+
function Vl(r) {
|
|
229
|
+
return uo(r) && lo(r) == Nl;
|
|
230
230
|
}
|
|
231
|
-
var or = Ni && Ni.isSet,
|
|
232
|
-
re[pn] = re[
|
|
233
|
-
re[
|
|
231
|
+
var or = Ni && Ni.isSet, Bl = or ? ao(or) : Vl, pn = "[object Arguments]", $l = "[object Array]", jl = "[object Boolean]", Wl = "[object Date]", Gl = "[object Error]", fn = "[object Function]", Ul = "[object GeneratorFunction]", Kl = "[object Map]", ql = "[object Number]", mn = "[object Object]", Xl = "[object RegExp]", Jl = "[object Set]", Yl = "[object String]", Ql = "[object Symbol]", Zl = "[object WeakMap]", eh = "[object ArrayBuffer]", th = "[object DataView]", ih = "[object Float32Array]", sh = "[object Float64Array]", oh = "[object Int8Array]", rh = "[object Int16Array]", nh = "[object Int32Array]", ah = "[object Uint8Array]", lh = "[object Uint8ClampedArray]", hh = "[object Uint16Array]", ch = "[object Uint32Array]", re = {};
|
|
232
|
+
re[pn] = re[$l] = re[eh] = re[th] = re[jl] = re[Wl] = re[ih] = re[sh] = re[oh] = re[rh] = re[nh] = re[Kl] = re[ql] = re[mn] = re[Xl] = re[Jl] = re[Yl] = re[Ql] = re[ah] = re[lh] = re[hh] = re[ch] = !0;
|
|
233
|
+
re[Gl] = re[fn] = re[Zl] = !1;
|
|
234
234
|
function Oi(r, e, t, i, s, o) {
|
|
235
235
|
var n;
|
|
236
236
|
if (t && (n = s ? t(r, i, s, o) : t(r)), n !== void 0)
|
|
@@ -239,76 +239,76 @@ function Oi(r, e, t, i, s, o) {
|
|
|
239
239
|
return r;
|
|
240
240
|
var a = ha(r);
|
|
241
241
|
if (a)
|
|
242
|
-
n =
|
|
242
|
+
n = cl(r);
|
|
243
243
|
else {
|
|
244
|
-
var l = lo(r), h = l == fn || l ==
|
|
244
|
+
var l = lo(r), h = l == fn || l == Ul;
|
|
245
245
|
if (aa(r))
|
|
246
|
-
return
|
|
246
|
+
return rl(r);
|
|
247
247
|
if (l == mn || l == pn || h && !s)
|
|
248
248
|
n = {};
|
|
249
249
|
else {
|
|
250
250
|
if (!re[l])
|
|
251
251
|
return s ? r : {};
|
|
252
|
-
n =
|
|
252
|
+
n = Al(r, l);
|
|
253
253
|
}
|
|
254
254
|
}
|
|
255
255
|
o || (o = new la());
|
|
256
256
|
var c = o.get(r);
|
|
257
257
|
if (c)
|
|
258
258
|
return c;
|
|
259
|
-
o.set(r, n),
|
|
259
|
+
o.set(r, n), Bl(r) ? r.forEach(function(u) {
|
|
260
260
|
n.add(Oi(u, e, t, u, r, o));
|
|
261
|
-
}) :
|
|
261
|
+
}) : Hl(r) && r.forEach(function(u, f) {
|
|
262
262
|
n.set(f, Oi(u, e, t, f, r, o));
|
|
263
263
|
});
|
|
264
264
|
var d = un, p = a ? void 0 : d(r);
|
|
265
|
-
return
|
|
265
|
+
return Xa(p || r, function(u, f) {
|
|
266
266
|
p && (f = u, u = r[f]), hn(n, f, Oi(u, e, t, f, r, o));
|
|
267
267
|
}), n;
|
|
268
268
|
}
|
|
269
|
-
function ch(r, e) {
|
|
270
|
-
return e.length < 2 ? r : ma(r, Ca(e, 0, -1));
|
|
271
|
-
}
|
|
272
269
|
function dh(r, e) {
|
|
273
|
-
return e
|
|
270
|
+
return e.length < 2 ? r : ga(r, Ea(e, 0, -1));
|
|
274
271
|
}
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
272
|
+
function uh(r, e) {
|
|
273
|
+
return e = Zr(e, r), r = dh(r, e), r == null || delete r[ba(si(e))];
|
|
274
|
+
}
|
|
275
|
+
var ph = "[object Object]", fh = Function.prototype, mh = Object.prototype, gn = fh.toString, gh = mh.hasOwnProperty, bh = gn.call(Object);
|
|
276
|
+
function wh(r) {
|
|
277
|
+
if (!uo(r) || Ca(r) != ph)
|
|
278
278
|
return !1;
|
|
279
279
|
var e = dn(r);
|
|
280
280
|
if (e === null)
|
|
281
281
|
return !0;
|
|
282
|
-
var t =
|
|
283
|
-
return typeof t == "function" && t instanceof t && gn.call(t) ==
|
|
284
|
-
}
|
|
285
|
-
function wh(r) {
|
|
286
|
-
return bh(r) ? void 0 : r;
|
|
282
|
+
var t = gh.call(e, "constructor") && e.constructor;
|
|
283
|
+
return typeof t == "function" && t instanceof t && gn.call(t) == bh;
|
|
287
284
|
}
|
|
288
285
|
function vh(r) {
|
|
286
|
+
return wh(r) ? void 0 : r;
|
|
287
|
+
}
|
|
288
|
+
function yh(r) {
|
|
289
289
|
var e = r == null ? 0 : r.length;
|
|
290
290
|
return e ? ho(r) : [];
|
|
291
291
|
}
|
|
292
|
-
function
|
|
293
|
-
return
|
|
292
|
+
function Ch(r) {
|
|
293
|
+
return fa(ma(r, void 0, yh), r + "");
|
|
294
294
|
}
|
|
295
|
-
var
|
|
295
|
+
var Eh = 1, xh = 2, Rh = 4, rr = Ch(function(r, e) {
|
|
296
296
|
var t = {};
|
|
297
297
|
if (r == null)
|
|
298
298
|
return t;
|
|
299
299
|
var i = !1;
|
|
300
300
|
e = co(e, function(o) {
|
|
301
301
|
return o = Zr(o, r), i || (i = o.length > 1), o;
|
|
302
|
-
}),
|
|
302
|
+
}), Qa(r, un(r), t), i && (t = Oi(t, Eh | xh | Rh, vh));
|
|
303
303
|
for (var s = e.length; s--; )
|
|
304
|
-
|
|
304
|
+
uh(t, e[s]);
|
|
305
305
|
return t;
|
|
306
306
|
});
|
|
307
|
-
const
|
|
308
|
-
var
|
|
309
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
307
|
+
const Sh = Z`: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}`;
|
|
308
|
+
var Th = Object.defineProperty, kh = Object.getOwnPropertyDescriptor, je = (r, e, t, i) => {
|
|
309
|
+
for (var s = i > 1 ? void 0 : i ? kh(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
310
310
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
311
|
-
return i && s &&
|
|
311
|
+
return i && s && Th(e, t, s), s;
|
|
312
312
|
};
|
|
313
313
|
let Ce = class extends Ae {
|
|
314
314
|
constructor() {
|
|
@@ -339,14 +339,14 @@ let Ce = class extends Ae {
|
|
|
339
339
|
"board-list-item--group": this.isGroup,
|
|
340
340
|
"board-list-item--placeholder": this.placeholder,
|
|
341
341
|
"board-list-item--readonly": this.readonly
|
|
342
|
-
})}><span class="board-list-item__control">${this.selected ? x`<cx-icon class="board-list-item__checked-icon" name="check"></cx-icon>` : ""}</span><div part="text" class="board-list-item__text" @mouseenter=${this.onTextMouseEnter} @mouseleave=${this.onTextMouseLeave}><cx-line-clamp part="text-content" class="board-list-item__text__content" lines="2" ?disabled-tooltip=${!!this.tooltip} disabled-hover-bridge>${this.text}</cx-line-clamp><cx-tooltip part="tooltip" hoist trigger="manual" ?disabled=${this.disabledTooltip || !this.tooltip} disabled-hover-bridge><div class="board-list-item__text__anchor"></div><div slot="content">${
|
|
342
|
+
})}><span class="board-list-item__control">${this.selected ? x`<cx-icon class="board-list-item__checked-icon" name="check"></cx-icon>` : ""}</span><div part="text" class="board-list-item__text" @mouseenter=${this.onTextMouseEnter} @mouseleave=${this.onTextMouseLeave}><cx-line-clamp part="text-content" class="board-list-item__text__content" lines="2" ?disabled-tooltip=${!!this.tooltip} disabled-hover-bridge>${this.text}</cx-line-clamp><cx-tooltip part="tooltip" hoist trigger="manual" ?disabled=${this.disabledTooltip || !this.tooltip} disabled-hover-bridge><div class="board-list-item__text__anchor"></div><div slot="content">${Sa(this.tooltip)}</div></cx-tooltip></div>${this.configurable && !this.readonly ? x`<cx-icon-button part="config-button" name="settings" label=${this.localize.term("configure")} @click=${this.onConfigButtonClick}></cx-icon-button>` : ""}</div>`;
|
|
343
343
|
}
|
|
344
344
|
};
|
|
345
|
-
Ce.styles = [$e,
|
|
345
|
+
Ce.styles = [$e, Sh];
|
|
346
346
|
Ce.dependencies = {
|
|
347
347
|
"cx-icon": It,
|
|
348
348
|
"cx-icon-button": oi,
|
|
349
|
-
"cx-line-clamp":
|
|
349
|
+
"cx-line-clamp": Ra,
|
|
350
350
|
"cx-tooltip": Pt
|
|
351
351
|
};
|
|
352
352
|
je([
|
|
@@ -391,14 +391,14 @@ je([
|
|
|
391
391
|
Ce = je([
|
|
392
392
|
Pe("cx-board-list-item")
|
|
393
393
|
], Ce);
|
|
394
|
-
const
|
|
394
|
+
const Dh = Z`: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}`, Mh = (r) => {
|
|
395
395
|
const e = r.getRootNode();
|
|
396
396
|
return e instanceof ShadowRoot ? e.host : null;
|
|
397
|
-
},
|
|
398
|
-
var
|
|
399
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
397
|
+
}, Lh = !!navigator.userAgent.match(/safari/i) && !navigator.userAgent.match(/chrome/i) && !navigator.userAgent.match(/android/i);
|
|
398
|
+
var Fh = Object.defineProperty, _h = Object.getOwnPropertyDescriptor, q = (r, e, t, i) => {
|
|
399
|
+
for (var s = i > 1 ? void 0 : i ? _h(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
400
400
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
401
|
-
return i && s &&
|
|
401
|
+
return i && s && Fh(e, t, s), s;
|
|
402
402
|
};
|
|
403
403
|
let V = class extends Ae {
|
|
404
404
|
constructor() {
|
|
@@ -494,7 +494,7 @@ let V = class extends Ae {
|
|
|
494
494
|
}
|
|
495
495
|
handleAdd(r) {
|
|
496
496
|
let e = this.items.map((h) => h.id);
|
|
497
|
-
const t =
|
|
497
|
+
const t = Mh(r.from);
|
|
498
498
|
if (!t)
|
|
499
499
|
return;
|
|
500
500
|
const s = r.item.dataset.id;
|
|
@@ -703,12 +703,12 @@ let V = class extends Ae {
|
|
|
703
703
|
return this.indexAfterLastVisibleRealItem();
|
|
704
704
|
}
|
|
705
705
|
initSortable() {
|
|
706
|
-
this.sortable =
|
|
706
|
+
this.sortable = xa.create(this.list, {
|
|
707
707
|
animation: 100,
|
|
708
708
|
avoidImplicitDeselect: !0,
|
|
709
709
|
dataIdAttr: "data-id",
|
|
710
710
|
draggable: "cx-board-list-item[data-id]:not([readonly])",
|
|
711
|
-
forceFallback:
|
|
711
|
+
forceFallback: Lh,
|
|
712
712
|
// to fixed weird dragging behavior in Safari (https://link.orangelogic.com/Tasks/41N1B6)
|
|
713
713
|
group: "shared",
|
|
714
714
|
multiDrag: !0,
|
|
@@ -745,7 +745,7 @@ let V = class extends Ae {
|
|
|
745
745
|
)}<div style="height: ${40 * (this.filteredItems.length - this.end > 0 ? this.filteredItems.length - this.end : 0)}px"></div></div><div class="board__footer">${r ? x`<div class="board__footer__text">${this.localize.term("selected")}: ${r}</div>` : x`<span></span>`}<div class="board__footer__text">${this.localize.term("total")}: ${this.totalDisplayedCount}</div></div></div>`;
|
|
746
746
|
}
|
|
747
747
|
};
|
|
748
|
-
V.styles = [$e,
|
|
748
|
+
V.styles = [$e, Dh];
|
|
749
749
|
V.dependencies = {
|
|
750
750
|
"cx-board-list-item": Ce,
|
|
751
751
|
"cx-icon": It,
|
|
@@ -855,11 +855,11 @@ q([
|
|
|
855
855
|
V = q([
|
|
856
856
|
Pe("cx-board")
|
|
857
857
|
], V);
|
|
858
|
-
const
|
|
859
|
-
var
|
|
860
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
858
|
+
const zh = Z`: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}`, nr = (r, e) => r.group && e.group && r.group !== e.group ? r.group.localeCompare(e.group) : r.text.localeCompare(e.text);
|
|
859
|
+
var Oh = Object.defineProperty, Ah = Object.getOwnPropertyDescriptor, qe = (r, e, t, i) => {
|
|
860
|
+
for (var s = i > 1 ? void 0 : i ? Ah(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
861
861
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
862
|
-
return i && s &&
|
|
862
|
+
return i && s && Oh(e, t, s), s;
|
|
863
863
|
};
|
|
864
864
|
let Te = class extends Ae {
|
|
865
865
|
constructor() {
|
|
@@ -894,7 +894,7 @@ let Te = class extends Ae {
|
|
|
894
894
|
isValidChanges(r, e, t) {
|
|
895
895
|
if (this.addLimit || this.addLimit === 0) {
|
|
896
896
|
let i = [];
|
|
897
|
-
if (t === "add" ? i = r : t === "remove" && (i =
|
|
897
|
+
if (t === "add" ? i = r : t === "remove" && (i = Ka(
|
|
898
898
|
Qo(e, r),
|
|
899
899
|
this.secondColumnItemIds
|
|
900
900
|
)), Qo(i, this.initialSecondColumnItems).length > this.addLimit)
|
|
@@ -1062,14 +1062,14 @@ let Te = class extends Ae {
|
|
|
1062
1062
|
(s, o) => (s[o.id] = o, s),
|
|
1063
1063
|
{}
|
|
1064
1064
|
);
|
|
1065
|
-
const i =
|
|
1065
|
+
const i = Ua(
|
|
1066
1066
|
this.firstColumnData.items,
|
|
1067
1067
|
this.secondColumnData.items,
|
|
1068
1068
|
"id"
|
|
1069
1069
|
);
|
|
1070
1070
|
i.length > 0 && (this.firstColumnData = {
|
|
1071
1071
|
...this.firstColumnData,
|
|
1072
|
-
items:
|
|
1072
|
+
items: qa(this.firstColumnData.items, i, "id")
|
|
1073
1073
|
}, e = !0);
|
|
1074
1074
|
}
|
|
1075
1075
|
e && (this.board1Data = this.firstColumnData.sort ?? !0 ? this.firstColumnData.items : [...this.firstColumnData.items].sort(nr)), t && (this.board2Data = this.secondColumnData.sort ?? !0 ? this.secondColumnData.items : [...this.secondColumnData.items].sort(nr));
|
|
@@ -1079,7 +1079,7 @@ let Te = class extends Ae {
|
|
|
1079
1079
|
return x`<div class="multi-select" @cx-board-change=${this.handleBoardChange} @cx-board-selected-change=${this.handleSelectedChange}><cx-board part="board-1" title=${this.firstColumnData.title} name=${this.firstColumnData.id} all .data=${this.board1Data} ?sort=${this.firstColumnData.sort ?? !1} .ignore-types=${this.ignoreTypes} allow-search></cx-board><div class="multi-select__control"><cx-tooltip part="tooltip" content=${this.localize.term("moveSelectedItemRight")} hoist ?disabled=${!r.length}><cx-icon-button class="multi-select__control__move-button" name="arrow_forward_ios" label=${this.localize.term("moveSelectedItemRight")} @click=${this.handleMoveItemsRight} ?disabled=${!r.length}></cx-icon-button></cx-tooltip><cx-tooltip part="tooltip" content=${this.localize.term("moveSelectedItemLeft")} hoist ?disabled=${!e.length}><cx-icon-button class="multi-select__control__move-button" name="arrow_back_ios" label=${this.localize.term("moveSelectedItemLeft")} @click=${this.handleMoveItemsLeft} ?disabled=${!e.length}></cx-icon-button></cx-tooltip></div><cx-board part="board-2" title=${this.secondColumnData.title} name=${this.secondColumnData.id} all .data=${this.board2Data} ?configurable=${this.configurable} ?sort=${this.secondColumnData.sort ?? !0}></cx-board></div>`;
|
|
1080
1080
|
}
|
|
1081
1081
|
};
|
|
1082
|
-
Te.styles = [$e,
|
|
1082
|
+
Te.styles = [$e, zh];
|
|
1083
1083
|
Te.dependencies = {
|
|
1084
1084
|
"cx-board": V,
|
|
1085
1085
|
"cx-icon-button": oi,
|
|
@@ -1125,11 +1125,11 @@ Te = qe([
|
|
|
1125
1125
|
Pe("cx-multi-select")
|
|
1126
1126
|
], Te);
|
|
1127
1127
|
var jt = /* @__PURE__ */ ((r) => (r.Available = "available", r.Visible = "visible", r))(jt || {});
|
|
1128
|
-
const
|
|
1129
|
-
var
|
|
1130
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
1128
|
+
const Ph = Z`: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}`;
|
|
1129
|
+
var Ih = Object.defineProperty, Hh = Object.getOwnPropertyDescriptor, Ht = (r, e, t, i) => {
|
|
1130
|
+
for (var s = i > 1 ? void 0 : i ? Hh(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
1131
1131
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
1132
|
-
return i && s &&
|
|
1132
|
+
return i && s && Ih(e, t, s), s;
|
|
1133
1133
|
};
|
|
1134
1134
|
let Ze = class extends Ae {
|
|
1135
1135
|
constructor() {
|
|
@@ -1195,7 +1195,7 @@ let Ze = class extends Ae {
|
|
|
1195
1195
|
)}<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>`;
|
|
1196
1196
|
}
|
|
1197
1197
|
};
|
|
1198
|
-
Ze.styles = [$e,
|
|
1198
|
+
Ze.styles = [$e, Ph];
|
|
1199
1199
|
Ze.dependencies = {
|
|
1200
1200
|
"cx-button": Et,
|
|
1201
1201
|
"cx-dialog": $n,
|
|
@@ -1228,11 +1228,11 @@ Ze = Ht([
|
|
|
1228
1228
|
var qi = /* @__PURE__ */ ((r) => (r.BottomCenter = "bottom-center", r.BottomEnd = "bottom-end", r.BottomStart = "bottom-start", r.TopCenter = "top-center", r.TopEnd = "top-end", r.TopStart = "top-start", r))(qi || {}), vt = /* @__PURE__ */ ((r) => (r.Bottom = "bottom", r.Center = "center", r.Nearest = "nearest", r.Top = "top", r))(vt || {}), 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 || {}), _e = /* @__PURE__ */ ((r) => (r.Auto = "auto", r.Csv = "csv", r.Json = "json", r.Xml = "xml", r))(_e || {}), 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 || {}), Fe = /* @__PURE__ */ ((r) => (r.Asc = "asc", r.Desc = "desc", r.None = "none", r))(Fe || {}), 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 || {});
|
|
1229
1229
|
const cs = 36;
|
|
1230
1230
|
var fi = /* @__PURE__ */ ((r) => (r.IsoDate = "iso-date", r.IsoDateTime = "iso-datetime", r.Timestamp = "timestamp", r))(fi || {});
|
|
1231
|
-
const
|
|
1232
|
-
var
|
|
1233
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
1231
|
+
const Nh = Z`: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}`;
|
|
1232
|
+
var Vh = Object.defineProperty, Bh = Object.getOwnPropertyDescriptor, bn = (r, e, t, i) => {
|
|
1233
|
+
for (var s = i > 1 ? void 0 : i ? Bh(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
1234
1234
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
1235
|
-
return i && s &&
|
|
1235
|
+
return i && s && Vh(e, t, s), s;
|
|
1236
1236
|
};
|
|
1237
1237
|
let Ei = class extends Ae {
|
|
1238
1238
|
constructor() {
|
|
@@ -1242,18 +1242,18 @@ let Ei = class extends Ae {
|
|
|
1242
1242
|
return x`<slot name="pagination"></slot>`;
|
|
1243
1243
|
}
|
|
1244
1244
|
};
|
|
1245
|
-
Ei.styles = [$e,
|
|
1245
|
+
Ei.styles = [$e, Nh];
|
|
1246
1246
|
bn([
|
|
1247
1247
|
m({ attribute: "pagination-placement", reflect: !0, type: String })
|
|
1248
1248
|
], Ei.prototype, "paginationPlacement", 2);
|
|
1249
1249
|
Ei = bn([
|
|
1250
1250
|
Pe("cx-table-footer")
|
|
1251
1251
|
], Ei);
|
|
1252
|
-
const
|
|
1253
|
-
var
|
|
1254
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
1252
|
+
const $h = Z`:host{display:contents}cx-popup::part(popup){z-index:var(--cx-z-index-dropdown)}`;
|
|
1253
|
+
var jh = Object.defineProperty, Wh = Object.getOwnPropertyDescriptor, Nt = (r, e, t, i) => {
|
|
1254
|
+
for (var s = i > 1 ? void 0 : i ? Wh(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
1255
1255
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
1256
|
-
return i && s &&
|
|
1256
|
+
return i && s && jh(e, t, s), s;
|
|
1257
1257
|
};
|
|
1258
1258
|
let et = class extends Ae {
|
|
1259
1259
|
constructor() {
|
|
@@ -1299,12 +1299,12 @@ let et = class extends Ae {
|
|
|
1299
1299
|
return x`<cx-popup ?active=${this.open} .anchor=${this.virtualAnchor} strategy="overlay" placement="bottom-start" flip shift @cx-opened=${this.handlePopupOpened}><cx-menu @cx-select=${this.handleMenuSelect}><cx-menu-item data-action=${Ci.EditColumns}><cx-icon slot="prefix" name="edit"></cx-icon>${this.localize.term("editColumns")}</cx-menu-item><cx-menu-item data-action=${Ci.HideColumn} ?disabled=${this.hideDisabled}><cx-icon slot="prefix" name="visibility_off"></cx-icon>${this.localize.term("hideColumn")}</cx-menu-item></cx-menu></cx-popup>`;
|
|
1300
1300
|
}
|
|
1301
1301
|
};
|
|
1302
|
-
et.styles = [$e,
|
|
1302
|
+
et.styles = [$e, $h];
|
|
1303
1303
|
et.dependencies = {
|
|
1304
1304
|
"cx-icon": It,
|
|
1305
1305
|
"cx-menu": ri,
|
|
1306
1306
|
"cx-menu-item": ni,
|
|
1307
|
-
"cx-popup":
|
|
1307
|
+
"cx-popup": Ta
|
|
1308
1308
|
};
|
|
1309
1309
|
Nt([
|
|
1310
1310
|
ue("cx-menu-item")
|
|
@@ -1330,11 +1330,11 @@ Nt([
|
|
|
1330
1330
|
et = Nt([
|
|
1331
1331
|
Pe("cx-table-header-menu")
|
|
1332
1332
|
], et);
|
|
1333
|
-
const
|
|
1334
|
-
var
|
|
1335
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
1333
|
+
const Gh = Z`.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}`;
|
|
1334
|
+
var Uh = Object.defineProperty, Kh = Object.getOwnPropertyDescriptor, qt = (r, e, t, i) => {
|
|
1335
|
+
for (var s = i > 1 ? void 0 : i ? Kh(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
1336
1336
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
1337
|
-
return i && s &&
|
|
1337
|
+
return i && s && Uh(e, t, s), s;
|
|
1338
1338
|
};
|
|
1339
1339
|
let mt = class extends Ae {
|
|
1340
1340
|
constructor() {
|
|
@@ -1394,7 +1394,7 @@ mt.dependencies = {
|
|
|
1394
1394
|
"cx-icon": It,
|
|
1395
1395
|
"cx-menu": ri,
|
|
1396
1396
|
"cx-menu-item": ni,
|
|
1397
|
-
"cx-menu-section":
|
|
1397
|
+
"cx-menu-section": Da,
|
|
1398
1398
|
"cx-tooltip": Pt
|
|
1399
1399
|
};
|
|
1400
1400
|
qt([
|
|
@@ -1424,10 +1424,10 @@ qt([
|
|
|
1424
1424
|
mt = qt([
|
|
1425
1425
|
Pe("cx-table-row-actions-dropdown")
|
|
1426
1426
|
], mt);
|
|
1427
|
-
var
|
|
1428
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
1427
|
+
var qh = Object.defineProperty, Xh = Object.getOwnPropertyDescriptor, Xi = (r, e, t, i) => {
|
|
1428
|
+
for (var s = i > 1 ? void 0 : i ? Xh(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
1429
1429
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
1430
|
-
return i && s &&
|
|
1430
|
+
return i && s && qh(e, t, s), s;
|
|
1431
1431
|
};
|
|
1432
1432
|
let Ot = class extends Ae {
|
|
1433
1433
|
constructor() {
|
|
@@ -1453,7 +1453,7 @@ let Ot = class extends Ae {
|
|
|
1453
1453
|
return x`<cx-space spacing="2x-small">${Qe(
|
|
1454
1454
|
this.actions,
|
|
1455
1455
|
(r) => r.name,
|
|
1456
|
-
(r) =>
|
|
1456
|
+
(r) => ka(r.type ?? "button", [
|
|
1457
1457
|
[
|
|
1458
1458
|
"button",
|
|
1459
1459
|
() => this.renderButton(r)
|
|
@@ -1466,7 +1466,7 @@ let Ot = class extends Ae {
|
|
|
1466
1466
|
)}</cx-space>`;
|
|
1467
1467
|
}
|
|
1468
1468
|
};
|
|
1469
|
-
Ot.styles = [$e,
|
|
1469
|
+
Ot.styles = [$e, Gh];
|
|
1470
1470
|
Ot.dependencies = {
|
|
1471
1471
|
"cx-button": Et,
|
|
1472
1472
|
"cx-icon": It,
|
|
@@ -1490,10 +1490,10 @@ Xi([
|
|
|
1490
1490
|
Ot = Xi([
|
|
1491
1491
|
Pe("cx-table-row-actions")
|
|
1492
1492
|
], Ot);
|
|
1493
|
-
var
|
|
1494
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
1493
|
+
var Jh = Object.defineProperty, Yh = Object.getOwnPropertyDescriptor, Si = (r, e, t, i) => {
|
|
1494
|
+
for (var s = i > 1 ? void 0 : i ? Yh(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
1495
1495
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
1496
|
-
return i && s &&
|
|
1496
|
+
return i && s && Jh(e, t, s), s;
|
|
1497
1497
|
};
|
|
1498
1498
|
let Ct = class extends Ae {
|
|
1499
1499
|
constructor() {
|
|
@@ -1571,10 +1571,10 @@ Si([
|
|
|
1571
1571
|
Ct = Si([
|
|
1572
1572
|
Pe("cx-table-dropdown-filter")
|
|
1573
1573
|
], Ct);
|
|
1574
|
-
var
|
|
1575
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
1574
|
+
var Qh = Object.defineProperty, Zh = Object.getOwnPropertyDescriptor, Ji = (r, e, t, i) => {
|
|
1575
|
+
for (var s = i > 1 ? void 0 : i ? Zh(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
1576
1576
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
1577
|
-
return i && s &&
|
|
1577
|
+
return i && s && Qh(e, t, s), s;
|
|
1578
1578
|
};
|
|
1579
1579
|
let At = class extends Ae {
|
|
1580
1580
|
constructor() {
|
|
@@ -1618,7 +1618,7 @@ let At = class extends Ae {
|
|
|
1618
1618
|
}
|
|
1619
1619
|
render() {
|
|
1620
1620
|
const r = this.groupByOptionIdSet.has(this.groupByValue) ? this.groupByValue : null;
|
|
1621
|
-
return x`<cx-dropdown hoist class="header-actions__group-by"><cx-button slot="trigger" caret
|
|
1621
|
+
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}>${J(
|
|
1622
1622
|
!this.groupByOptions.length,
|
|
1623
1623
|
() => x`<cx-menu-item disabled=disabled>${this.localize.term("noDataAvailable")}</cx-menu-item>`
|
|
1624
1624
|
)}
|
|
@@ -1628,8 +1628,8 @@ let At = class extends Ae {
|
|
|
1628
1628
|
)}
|
|
1629
1629
|
${Qe(
|
|
1630
1630
|
this.groupByOptions,
|
|
1631
|
-
(
|
|
1632
|
-
(
|
|
1631
|
+
(e) => e.id,
|
|
1632
|
+
(e) => this.renderOption(e.id, e.label, r)
|
|
1633
1633
|
)}</cx-menu></cx-dropdown>`;
|
|
1634
1634
|
}
|
|
1635
1635
|
};
|
|
@@ -1652,10 +1652,10 @@ Ji([
|
|
|
1652
1652
|
At = Ji([
|
|
1653
1653
|
Pe("cx-table-group-by-dropdown")
|
|
1654
1654
|
], At);
|
|
1655
|
-
var
|
|
1656
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
1655
|
+
var ec = Object.defineProperty, tc = Object.getOwnPropertyDescriptor, gt = (r, e, t, i) => {
|
|
1656
|
+
for (var s = i > 1 ? void 0 : i ? tc(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
1657
1657
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
1658
|
-
return i && s &&
|
|
1658
|
+
return i && s && ec(e, t, s), s;
|
|
1659
1659
|
};
|
|
1660
1660
|
let Be = class extends Ae {
|
|
1661
1661
|
constructor() {
|
|
@@ -1763,11 +1763,11 @@ gt([
|
|
|
1763
1763
|
Be = gt([
|
|
1764
1764
|
Pe("cx-table-saved-search-dropdown")
|
|
1765
1765
|
], Be);
|
|
1766
|
-
const
|
|
1767
|
-
var
|
|
1768
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
1766
|
+
const ic = Z`: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)}`;
|
|
1767
|
+
var sc = Object.defineProperty, oc = Object.getOwnPropertyDescriptor, te = (r, e, t, i) => {
|
|
1768
|
+
for (var s = i > 1 ? void 0 : i ? oc(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
1769
1769
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
1770
|
-
return i && s &&
|
|
1770
|
+
return i && s && sc(e, t, s), s;
|
|
1771
1771
|
};
|
|
1772
1772
|
let Q = class extends Ae {
|
|
1773
1773
|
constructor() {
|
|
@@ -1912,7 +1912,7 @@ let Q = class extends Ae {
|
|
|
1912
1912
|
${J(this.hasHeaderActions, () => this.renderHeaderActions())}</cx-space>`;
|
|
1913
1913
|
}
|
|
1914
1914
|
};
|
|
1915
|
-
Q.styles = [$e,
|
|
1915
|
+
Q.styles = [$e, ic];
|
|
1916
1916
|
Q.dependencies = {
|
|
1917
1917
|
"cx-button": Et,
|
|
1918
1918
|
"cx-checkbox": on,
|
|
@@ -1922,7 +1922,7 @@ Q.dependencies = {
|
|
|
1922
1922
|
"cx-input": en,
|
|
1923
1923
|
"cx-menu": ri,
|
|
1924
1924
|
"cx-menu-item": ni,
|
|
1925
|
-
"cx-pagination":
|
|
1925
|
+
"cx-pagination": La,
|
|
1926
1926
|
"cx-space": Ri,
|
|
1927
1927
|
"cx-table-dropdown-filter": Ct,
|
|
1928
1928
|
"cx-table-group-by-dropdown": At,
|
|
@@ -2192,7 +2192,7 @@ class Y {
|
|
|
2192
2192
|
}
|
|
2193
2193
|
}
|
|
2194
2194
|
const ar = process.env.NODE_ENV === "development";
|
|
2195
|
-
let
|
|
2195
|
+
let rc = class wn extends ke {
|
|
2196
2196
|
constructor(e, t, i = null) {
|
|
2197
2197
|
super(e), this.reversedX = !1, this.childPopup = null, this.blurable = !1, this.blurCallback = null, this.blurEventsBound = !1, this.renderedCallback = null, this.visible = !1, this.hideable = !0, this.destroyed = !1, this.element = t, this.container = this._lookupContainer(), this.parent = i, this.element.classList.add("tabulator-popup-container"), this.blurEvent = this.hide.bind(this, !1), this.escEvent = this._escapeCheck.bind(this), this.destroyBinding = this.tableDestroyed.bind(this);
|
|
2198
2198
|
}
|
|
@@ -2318,7 +2318,7 @@ let oc = class wn extends ke {
|
|
|
2318
2318
|
return this.childPopup && this.childPopup.hide(), this.childPopup = new wn(this.table, e, this), this.childPopup;
|
|
2319
2319
|
}
|
|
2320
2320
|
};
|
|
2321
|
-
const
|
|
2321
|
+
const nc = process.env.NODE_ENV === "development";
|
|
2322
2322
|
class I extends ke {
|
|
2323
2323
|
constructor(e) {
|
|
2324
2324
|
super(e);
|
|
@@ -2339,7 +2339,7 @@ class I extends ke {
|
|
|
2339
2339
|
*/
|
|
2340
2340
|
registerTableFunction(e, t) {
|
|
2341
2341
|
const i = this.table;
|
|
2342
|
-
i[e] === void 0 || i[e] === null ? i[e] = (...s) => (this.table.initGuard?.(e), t.apply(this, s)) :
|
|
2342
|
+
i[e] === void 0 || i[e] === null ? i[e] = (...s) => (this.table.initGuard?.(e), t.apply(this, s)) : nc && console.warn("Unable to bind table function, name already in use:", e);
|
|
2343
2343
|
}
|
|
2344
2344
|
registerComponentFunction(e, t, i) {
|
|
2345
2345
|
return this.table.componentFunctionBinder.bind(e, t, i);
|
|
@@ -2384,7 +2384,7 @@ class I extends ke {
|
|
|
2384
2384
|
* Popups Management
|
|
2385
2385
|
*/
|
|
2386
2386
|
popup(e, t) {
|
|
2387
|
-
return new
|
|
2387
|
+
return new rc(this.table, e, t);
|
|
2388
2388
|
}
|
|
2389
2389
|
/**
|
|
2390
2390
|
* Alert Management
|
|
@@ -2403,7 +2403,7 @@ const Eo = class Eo extends I {
|
|
|
2403
2403
|
};
|
|
2404
2404
|
Eo.moduleName = "accessibility";
|
|
2405
2405
|
let ds = Eo;
|
|
2406
|
-
const
|
|
2406
|
+
const ac = "tabulator-clickable-cell", lc = 'button, [role="button"], cx-button, cx-menu-item, cx-dropdown', hc = "hoverMenu", lr = "cx-table-row-action-click", xo = class xo extends I {
|
|
2407
2407
|
constructor(e) {
|
|
2408
2408
|
super(e), this.cellKeyHandlers = /* @__PURE__ */ new WeakMap(), this.registerColumnOption("clickable"), this.registerColumnOption("clickableActionName"), this.registerColumnOption("clickableEventName");
|
|
2409
2409
|
}
|
|
@@ -2420,7 +2420,7 @@ const nc = "tabulator-clickable-cell", ac = 'button, [role="button"], cx-button,
|
|
|
2420
2420
|
if (!e.element)
|
|
2421
2421
|
return;
|
|
2422
2422
|
const t = e.element, i = !!e.column.definition.clickable, s = this.cellKeyHandlers.get(t);
|
|
2423
|
-
if (s && (t.removeEventListener("keydown", s), this.cellKeyHandlers.delete(t)), t.classList.toggle(
|
|
2423
|
+
if (s && (t.removeEventListener("keydown", s), this.cellKeyHandlers.delete(t)), t.classList.toggle(ac, i), !i) {
|
|
2424
2424
|
t.removeAttribute("tabindex"), t.removeAttribute("role");
|
|
2425
2425
|
return;
|
|
2426
2426
|
}
|
|
@@ -2453,7 +2453,7 @@ const nc = "tabulator-clickable-cell", ac = 'button, [role="button"], cx-button,
|
|
|
2453
2453
|
s = n;
|
|
2454
2454
|
break;
|
|
2455
2455
|
}
|
|
2456
|
-
if (n instanceof Element && n.matches(
|
|
2456
|
+
if (n instanceof Element && n.matches(lc))
|
|
2457
2457
|
return;
|
|
2458
2458
|
}
|
|
2459
2459
|
if (e.ctrlKey || e.metaKey) {
|
|
@@ -2496,7 +2496,7 @@ const nc = "tabulator-clickable-cell", ac = 'button, [role="button"], cx-button,
|
|
|
2496
2496
|
return i || (this.resolveAction(e, t)?.name ?? null);
|
|
2497
2497
|
}
|
|
2498
2498
|
resolveAction(e, t) {
|
|
2499
|
-
const i = this.table.options.hoverMenuField ??
|
|
2499
|
+
const i = this.table.options.hoverMenuField ?? hc, s = e.column.definition.hoverMenu;
|
|
2500
2500
|
if (s)
|
|
2501
2501
|
return this.pickAction(s, t);
|
|
2502
2502
|
const o = e.row.getData(), n = Object.hasOwn(
|
|
@@ -2512,7 +2512,7 @@ const nc = "tabulator-clickable-cell", ac = 'button, [role="button"], cx-button,
|
|
|
2512
2512
|
};
|
|
2513
2513
|
xo.moduleName = "clickableCell";
|
|
2514
2514
|
let us = xo;
|
|
2515
|
-
const
|
|
2515
|
+
const cc = x`<cx-table-row-actions></cx-table-row-actions>`, Zt = class Zt extends I {
|
|
2516
2516
|
constructor(e) {
|
|
2517
2517
|
super(e), this.registerTableOption("hoverMenu", !1), this.registerTableOption("hoverMenuField", "hoverMenu"), this.registerColumnOption("hoverMenu");
|
|
2518
2518
|
}
|
|
@@ -2562,7 +2562,7 @@ const hc = x`<cx-table-row-actions></cx-table-row-actions>`, Zt = class Zt exten
|
|
|
2562
2562
|
i && i.classList.remove("tabulator-hover-menu--active");
|
|
2563
2563
|
}
|
|
2564
2564
|
createCxTableRowActions() {
|
|
2565
|
-
const e = B(
|
|
2565
|
+
const e = B(cc);
|
|
2566
2566
|
return e.classList.add("tabulator-hover-menu"), e;
|
|
2567
2567
|
}
|
|
2568
2568
|
layoutRow(e) {
|
|
@@ -2602,12 +2602,12 @@ const hc = x`<cx-table-row-actions></cx-table-row-actions>`, Zt = class Zt exten
|
|
|
2602
2602
|
};
|
|
2603
2603
|
Zt.moduleName = "hoverMenu", Zt.placementDataAttribute = "hoverMenuPlacement";
|
|
2604
2604
|
let ps = Zt;
|
|
2605
|
-
const
|
|
2605
|
+
const dc = {
|
|
2606
2606
|
rownum: function(r, e, t, i, s, o) {
|
|
2607
2607
|
const n = o?.getPosition();
|
|
2608
2608
|
return typeof n == "number" ? n : 0;
|
|
2609
2609
|
}
|
|
2610
|
-
},
|
|
2610
|
+
}, uc = process.env.NODE_ENV === "development", ei = class ei extends I {
|
|
2611
2611
|
// list of accessor types
|
|
2612
2612
|
constructor(e) {
|
|
2613
2613
|
super(e), this.allowedTypes = [
|
|
@@ -2645,7 +2645,7 @@ const cc = {
|
|
|
2645
2645
|
let t = !1;
|
|
2646
2646
|
switch (typeof e) {
|
|
2647
2647
|
case "string":
|
|
2648
|
-
ei.accessors[e] ? t = ei.accessors[e] :
|
|
2648
|
+
ei.accessors[e] ? t = ei.accessors[e] : uc && console.warn(
|
|
2649
2649
|
"Accessor Error - No such accessor found, ignoring: ",
|
|
2650
2650
|
e
|
|
2651
2651
|
);
|
|
@@ -2682,9 +2682,9 @@ const cc = {
|
|
|
2682
2682
|
}), o;
|
|
2683
2683
|
}
|
|
2684
2684
|
};
|
|
2685
|
-
ei.moduleName = "accessor", ei.accessors =
|
|
2685
|
+
ei.moduleName = "accessor", ei.accessors = dc;
|
|
2686
2686
|
let fs = ei;
|
|
2687
|
-
const
|
|
2687
|
+
const pc = {
|
|
2688
2688
|
method: "GET"
|
|
2689
2689
|
};
|
|
2690
2690
|
function vn(r) {
|
|
@@ -2715,7 +2715,7 @@ function ms(r, e = "") {
|
|
|
2715
2715
|
t.push({ key: e, value: r });
|
|
2716
2716
|
return t;
|
|
2717
2717
|
}
|
|
2718
|
-
const
|
|
2718
|
+
const fc = {
|
|
2719
2719
|
form: {
|
|
2720
2720
|
body: function(r, e, t) {
|
|
2721
2721
|
const i = ms(t), s = new FormData();
|
|
@@ -2760,7 +2760,7 @@ function gs(r, e = "") {
|
|
|
2760
2760
|
t.push({ key: e, value: r });
|
|
2761
2761
|
return t;
|
|
2762
2762
|
}
|
|
2763
|
-
function
|
|
2763
|
+
function mc(r) {
|
|
2764
2764
|
const e = gs(r), t = [];
|
|
2765
2765
|
return e.forEach((i) => {
|
|
2766
2766
|
t.push(
|
|
@@ -2771,7 +2771,7 @@ function fc(r) {
|
|
|
2771
2771
|
const yn = function(r, e, t) {
|
|
2772
2772
|
if (r && t && Object.keys(t).length && (!e.method || e.method.toLowerCase() === "get")) {
|
|
2773
2773
|
e.method = "get";
|
|
2774
|
-
const [i, s] = r.split("#", 2), o =
|
|
2774
|
+
const [i, s] = r.split("#", 2), o = mc(t);
|
|
2775
2775
|
r = i + (i.includes("?") ? "&" : "?") + o + (s ? "#" + s : "");
|
|
2776
2776
|
}
|
|
2777
2777
|
return r;
|
|
@@ -2832,7 +2832,7 @@ const yn = function(r, e, t) {
|
|
|
2832
2832
|
)), s)) : Promise.reject();
|
|
2833
2833
|
}
|
|
2834
2834
|
};
|
|
2835
|
-
ot.moduleName = "ajax", ot.defaultConfig =
|
|
2835
|
+
ot.moduleName = "ajax", ot.defaultConfig = pc, ot.defaultURLGenerator = yn, ot.contentTypeFormatters = fc, ot.defaultLoaderPromise = function(e, t, i) {
|
|
2836
2836
|
let s;
|
|
2837
2837
|
return new Promise((o, n) => {
|
|
2838
2838
|
if (!this.urlGenerator) {
|
|
@@ -2887,10 +2887,10 @@ function mo(r) {
|
|
|
2887
2887
|
function Cn(r) {
|
|
2888
2888
|
return JSON.stringify(r);
|
|
2889
2889
|
}
|
|
2890
|
-
function
|
|
2890
|
+
function gc(r, e) {
|
|
2891
2891
|
return r?.[e];
|
|
2892
2892
|
}
|
|
2893
|
-
function
|
|
2893
|
+
function bc(r) {
|
|
2894
2894
|
const e = mo(r);
|
|
2895
2895
|
return {
|
|
2896
2896
|
path: e,
|
|
@@ -2964,7 +2964,7 @@ class En {
|
|
|
2964
2964
|
return this._group.groupManager.table;
|
|
2965
2965
|
}
|
|
2966
2966
|
}
|
|
2967
|
-
const
|
|
2967
|
+
const wc = process.env.NODE_ENV === "development";
|
|
2968
2968
|
class ws {
|
|
2969
2969
|
constructor(e) {
|
|
2970
2970
|
return this._column = e, this.type = "ColumnComponent", new Proxy(this, {
|
|
@@ -3044,7 +3044,7 @@ class ws {
|
|
|
3044
3044
|
this._column,
|
|
3045
3045
|
i,
|
|
3046
3046
|
t
|
|
3047
|
-
) :
|
|
3047
|
+
) : wc && console.warn(`Move Error - No matching column found: ${e}`);
|
|
3048
3048
|
}
|
|
3049
3049
|
getNextColumn() {
|
|
3050
3050
|
const e = this._column.nextColumn();
|
|
@@ -3065,7 +3065,7 @@ class ws {
|
|
|
3065
3065
|
return e === !0 ? t = await this._column.reinitializeWidth(!0) : t = this._column.setWidth(e), this._column.table.columnManager?.rerenderColumns(!0), t;
|
|
3066
3066
|
}
|
|
3067
3067
|
}
|
|
3068
|
-
const
|
|
3068
|
+
const vc = process.env.NODE_ENV === "development";
|
|
3069
3069
|
class Yi extends ke {
|
|
3070
3070
|
// used by row manager to determine how to size the render area ("fit" - fits container to the contents, "fill" - fills the container without resizing it)
|
|
3071
3071
|
constructor(e) {
|
|
@@ -3167,11 +3167,11 @@ class Yi extends ke {
|
|
|
3167
3167
|
}
|
|
3168
3168
|
s();
|
|
3169
3169
|
} else
|
|
3170
|
-
|
|
3170
|
+
vc && console.warn("Scroll Error - Row not visible"), o("Scroll Error - Row not visible");
|
|
3171
3171
|
});
|
|
3172
3172
|
}
|
|
3173
3173
|
}
|
|
3174
|
-
const
|
|
3174
|
+
const yc = {
|
|
3175
3175
|
insert: function(r) {
|
|
3176
3176
|
return this.table.addData(r);
|
|
3177
3177
|
},
|
|
@@ -3181,7 +3181,7 @@ const vc = {
|
|
|
3181
3181
|
update: function(r) {
|
|
3182
3182
|
return this.table.updateOrAddData(r);
|
|
3183
3183
|
}
|
|
3184
|
-
},
|
|
3184
|
+
}, Cc = {
|
|
3185
3185
|
table: function(r) {
|
|
3186
3186
|
const e = [];
|
|
3187
3187
|
let t = !0;
|
|
@@ -3203,16 +3203,16 @@ const vc = {
|
|
|
3203
3203
|
}), o.push(l);
|
|
3204
3204
|
}), o) : !1;
|
|
3205
3205
|
}
|
|
3206
|
-
},
|
|
3206
|
+
}, Ec = {
|
|
3207
3207
|
copyToClipboard: function(r) {
|
|
3208
3208
|
this.table.modules.edit?.currentCell || this.table.modExists("clipboard", !0) && (r.preventDefault(), this.table.modules.clipboard?.copy(void 0, !0));
|
|
3209
3209
|
}
|
|
3210
|
-
}, Ec = {
|
|
3211
|
-
copyToClipboard: ["ctrl + 67", "meta + 67"]
|
|
3212
3210
|
}, xc = {
|
|
3211
|
+
copyToClipboard: ["ctrl + 67", "meta + 67"]
|
|
3212
|
+
}, Rc = {
|
|
3213
3213
|
keybindings: {
|
|
3214
|
-
actions:
|
|
3215
|
-
bindings:
|
|
3214
|
+
actions: Ec,
|
|
3215
|
+
bindings: xc
|
|
3216
3216
|
}
|
|
3217
3217
|
}, hr = process.env.NODE_ENV === "development";
|
|
3218
3218
|
function cr(r) {
|
|
@@ -3330,7 +3330,7 @@ const Tt = class Tt extends I {
|
|
|
3330
3330
|
return i?.getData && (t = i.getData("text/plain")), t;
|
|
3331
3331
|
}
|
|
3332
3332
|
};
|
|
3333
|
-
Tt.moduleName = "clipboard", Tt.moduleExtensions =
|
|
3333
|
+
Tt.moduleName = "clipboard", Tt.moduleExtensions = Rc, Tt.pasteActions = yc, Tt.pasteParsers = Cc;
|
|
3334
3334
|
let vs = Tt;
|
|
3335
3335
|
class go {
|
|
3336
3336
|
constructor(e) {
|
|
@@ -3396,7 +3396,7 @@ class go {
|
|
|
3396
3396
|
return this._cell;
|
|
3397
3397
|
}
|
|
3398
3398
|
}
|
|
3399
|
-
const
|
|
3399
|
+
const Sc = x`<div class="tabulator-cell"></div>`, Tc = process.env.NODE_ENV === "development";
|
|
3400
3400
|
class Ti extends ke {
|
|
3401
3401
|
constructor(e, t) {
|
|
3402
3402
|
super(e.table), this.table = e.table, this.column = e, this.row = t, this.element = null, this.contentElement = null, this.value = null, this.oldValue = null, this.modules = {}, this.height = null, this.width = null, this.minWidth = null, this.component = null, this.loaded = !1, this.hoverMenuElement = null, this.build();
|
|
@@ -3409,7 +3409,7 @@ class Ti extends ke {
|
|
|
3409
3409
|
this.generateElement(), this.setWidth(), this._configureCell(), this.setValueActual(this.column.getFieldValue(this.row.data)), this.initialValue = this.value;
|
|
3410
3410
|
}
|
|
3411
3411
|
generateElement() {
|
|
3412
|
-
if (this.element = B(
|
|
3412
|
+
if (this.element = B(Sc), this.element.setAttribute(
|
|
3413
3413
|
"role",
|
|
3414
3414
|
this.table.options.cellRole ?? "gridcell"
|
|
3415
3415
|
), this.column.modules.format?.cellClass) {
|
|
@@ -3462,7 +3462,7 @@ class Ti extends ke {
|
|
|
3462
3462
|
this.contentElement.firstChild.remove();
|
|
3463
3463
|
this.contentElement.appendChild(e);
|
|
3464
3464
|
} else
|
|
3465
|
-
this.contentElement.innerHTML = "", e != null &&
|
|
3465
|
+
this.contentElement.innerHTML = "", e != null && Tc && console.warn(
|
|
3466
3466
|
"Format Error - Formatter has returned a type of object, the only valid formatter object return is an instance of Node, the formatter returned:",
|
|
3467
3467
|
e
|
|
3468
3468
|
);
|
|
@@ -4354,7 +4354,7 @@ class Se extends ke {
|
|
|
4354
4354
|
return this.component || (this.component = new bo(this)), this.component;
|
|
4355
4355
|
}
|
|
4356
4356
|
}
|
|
4357
|
-
class
|
|
4357
|
+
class kc {
|
|
4358
4358
|
constructor(e) {
|
|
4359
4359
|
return this._row = e, new Proxy(this, {
|
|
4360
4360
|
get: (t, i) => typeof i != "string" || typeof t[i] < "u" ? t[i] : t._row.table.componentFunctionBinder.handle(
|
|
@@ -4387,7 +4387,7 @@ class Tc {
|
|
|
4387
4387
|
return this._row;
|
|
4388
4388
|
}
|
|
4389
4389
|
}
|
|
4390
|
-
const
|
|
4390
|
+
const Dc = {
|
|
4391
4391
|
avg: function(r, e, t) {
|
|
4392
4392
|
let i = 0;
|
|
4393
4393
|
const s = typeof t == "object" && "precision" in t ? t.precision : 2;
|
|
@@ -4607,7 +4607,7 @@ const kc = {
|
|
|
4607
4607
|
const i = this.generateRowData(e, t);
|
|
4608
4608
|
this.table.modExists("mutator") && this.table.modules.mutator?.disable();
|
|
4609
4609
|
const s = new Se(i, this, "calc");
|
|
4610
|
-
return this.table.modExists("mutator") && this.table.modules.mutator?.enable(), s.getElement().classList.add("tabulator-calcs", "tabulator-calcs-" + e), s.component = null, s.getComponent = () => (s.component || (s.component = new
|
|
4610
|
+
return this.table.modExists("mutator") && this.table.modules.mutator?.enable(), s.getElement().classList.add("tabulator-calcs", "tabulator-calcs-" + e), s.component = null, s.getComponent = () => (s.component || (s.component = new kc(s)), s.component), s.generateCells = () => {
|
|
4611
4611
|
const o = [];
|
|
4612
4612
|
this.table.columnManager?.columnsByIndex.forEach((n) => {
|
|
4613
4613
|
if (this.genColumn) {
|
|
@@ -4679,7 +4679,7 @@ const kc = {
|
|
|
4679
4679
|
this.botRow && (this.table.rtl ? this.botElement.style.paddingLeft = e + "px" : this.botElement.style.paddingRight = e + "px");
|
|
4680
4680
|
}
|
|
4681
4681
|
};
|
|
4682
|
-
kt.moduleName = "columnCalcs", kt.calculations =
|
|
4682
|
+
kt.moduleName = "columnCalcs", kt.calculations = Dc;
|
|
4683
4683
|
let ys = kt;
|
|
4684
4684
|
class Cs extends Se {
|
|
4685
4685
|
constructor(e = {}, t) {
|
|
@@ -4728,9 +4728,9 @@ class Cs extends Se {
|
|
|
4728
4728
|
this.element?.parentNode && this.element.parentNode.removeChild(this.element);
|
|
4729
4729
|
}
|
|
4730
4730
|
}
|
|
4731
|
-
const
|
|
4731
|
+
const Mc = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-button name="keyboard_arrow_down"></cx-icon-button></span>`, Lc = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-button name="keyboard_arrow_right"></cx-icon-button></span>`, Fc = x`<span class="tabulator-data-tree-control tabulator-data-tree-control-placeholder" aria-hidden="true"></span>`, _c = x`<div class="tabulator-data-tree-branch"></div>`, zc = x`<div class="tabulator-data-tree-branch-empty"></div>`, Oc = x`<cx-button size="small"><cx-icon slot="prefix" name="add" variant="outlined"></cx-icon>
|
|
4732
4732
|
Load More
|
|
4733
|
-
</cx-button>`,
|
|
4733
|
+
</cx-button>`, Ac = x`<div class="tabulator-data-tree-loading">Loading...</div>`, Pc = process.env.NODE_ENV === "development", Ro = class Ro extends I {
|
|
4734
4734
|
constructor(e) {
|
|
4735
4735
|
super(e), this.indent = 10, this.field = "", this.collapseEl = null, this.expandEl = null, this.branchEl = null, this.elementField = !1, this.startOpen = function() {
|
|
4736
4736
|
return !1;
|
|
@@ -4768,9 +4768,9 @@ const Dc = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
|
|
|
4768
4768
|
if (this.table.options.dataTree) {
|
|
4769
4769
|
let e = null;
|
|
4770
4770
|
const t = this.table.options;
|
|
4771
|
-
switch (this.field = t.dataTreeChildField || "_children", this.indent = t.dataTreeChildIndent || 9, this.loadingField = t.dataTreeLoadingField || "loading", this.hasMoreField = t.dataTreeHasMoreField || "hasMore", this.options("movableRows") &&
|
|
4771
|
+
switch (this.field = t.dataTreeChildField || "_children", this.indent = t.dataTreeChildIndent || 9, this.loadingField = t.dataTreeLoadingField || "loading", this.hasMoreField = t.dataTreeHasMoreField || "hasMore", this.options("movableRows") && Pc && console.warn(
|
|
4772
4772
|
"The movableRows option is not available with dataTree enabled, moving of child rows could result in unpredictable behavior"
|
|
4773
|
-
), t.dataTreeBranchElement ? t.dataTreeBranchElement === !0 ? this.branchEl = B(
|
|
4773
|
+
), t.dataTreeBranchElement ? t.dataTreeBranchElement === !0 ? this.branchEl = B(_c) : typeof t.dataTreeBranchElement == "string" ? (e = document.createElement("div"), e.innerHTML = P(t.dataTreeBranchElement), this.branchEl = e.firstChild) : this.branchEl = t.dataTreeBranchElement : this.branchEl = B(zc), t.dataTreeCollapseElement ? typeof t.dataTreeCollapseElement == "string" ? (e = document.createElement("div"), e.innerHTML = P(t.dataTreeCollapseElement), this.collapseEl = e.firstChild) : this.collapseEl = t.dataTreeCollapseElement : this.collapseEl = B(Mc), t.dataTreeExpandElement ? typeof t.dataTreeExpandElement == "string" ? (e = document.createElement("div"), e.innerHTML = P(t.dataTreeExpandElement), this.expandEl = e.firstChild) : this.expandEl = t.dataTreeExpandElement : this.expandEl = B(Lc), typeof t.dataTreeStartExpanded) {
|
|
4774
4774
|
case "boolean":
|
|
4775
4775
|
this.startOpen = function() {
|
|
4776
4776
|
return t.dataTreeStartExpanded;
|
|
@@ -4870,7 +4870,7 @@ const Dc = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
|
|
|
4870
4870
|
n.stopPropagation();
|
|
4871
4871
|
});
|
|
4872
4872
|
} else
|
|
4873
|
-
o = B(
|
|
4873
|
+
o = B(Fc);
|
|
4874
4874
|
o.style.setProperty("margin-inline-end", `${this.indent}px`), o.style.setProperty("margin-inline-start", "0px"), e.modules.dataTree.controlEl = o, s && s.parentNode === t ? s.parentNode.replaceChild(o, s) : t.insertBefore(o, t.firstChild);
|
|
4875
4875
|
}
|
|
4876
4876
|
}
|
|
@@ -4932,7 +4932,7 @@ const Dc = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
|
|
|
4932
4932
|
this.table.rowManager
|
|
4933
4933
|
);
|
|
4934
4934
|
i.create(), i.modules.dataTree.index = e, i.modules.dataTree.parent = t, i.modules.dataTree.children = !1, i.modules.dataTree.open = !0;
|
|
4935
|
-
const s = B(
|
|
4935
|
+
const s = B(Oc);
|
|
4936
4936
|
return i.getElement()?.classList.add("tabulator-tree-level-" + e), i.element.appendChild(s), s.style.setProperty(
|
|
4937
4937
|
"--tabulator-tree-level",
|
|
4938
4938
|
String(e + 1)
|
|
@@ -4961,7 +4961,7 @@ const Dc = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
|
|
|
4961
4961
|
this.table.rowManager
|
|
4962
4962
|
);
|
|
4963
4963
|
i.create(), i.modules.dataTree.index = e, i.modules.dataTree.parent = t, i.modules.dataTree.children = !1, i.modules.dataTree.open = !0;
|
|
4964
|
-
const s = B(
|
|
4964
|
+
const s = B(Ac);
|
|
4965
4965
|
return i.element.appendChild(s), i.getElement()?.classList.add("tabulator-tree-level-" + e), s.style.setProperty(
|
|
4966
4966
|
"--tabulator-tree-level",
|
|
4967
4967
|
String(e + 1)
|
|
@@ -5116,7 +5116,7 @@ const Dc = x`<span class="tabulator-data-tree-control" tabindex="0"><cx-icon-but
|
|
|
5116
5116
|
};
|
|
5117
5117
|
Ro.moduleName = "dataTree";
|
|
5118
5118
|
let Es = Ro;
|
|
5119
|
-
const pr = process.env.NODE_ENV === "development",
|
|
5119
|
+
const pr = process.env.NODE_ENV === "development", Ic = function(r, e = {}, t) {
|
|
5120
5120
|
const i = e.delimiter ? e.delimiter : ",", s = [], o = [];
|
|
5121
5121
|
r.forEach((a) => {
|
|
5122
5122
|
const l = [];
|
|
@@ -5157,11 +5157,11 @@ const pr = process.env.NODE_ENV === "development", Pc = function(r, e = {}, t) {
|
|
|
5157
5157
|
let n = s.join(`
|
|
5158
5158
|
`);
|
|
5159
5159
|
e.bom && (n = "\uFEFF" + n), t(n, "text/csv");
|
|
5160
|
-
},
|
|
5160
|
+
}, Hc = function(r, e, t) {
|
|
5161
5161
|
const i = this;
|
|
5162
5162
|
let s = "";
|
|
5163
5163
|
i.modExists("export", !0) && (s = i.modules.export?.generateHTMLTable(r) || ""), t(s, "text/html");
|
|
5164
|
-
}, fr = process.env.NODE_ENV === "development",
|
|
5164
|
+
}, fr = process.env.NODE_ENV === "development", Nc = function(r, e, t) {
|
|
5165
5165
|
const i = [];
|
|
5166
5166
|
r.forEach((o) => {
|
|
5167
5167
|
const n = {};
|
|
@@ -5187,7 +5187,7 @@ const pr = process.env.NODE_ENV === "development", Pc = function(r, e = {}, t) {
|
|
|
5187
5187
|
});
|
|
5188
5188
|
const s = JSON.stringify(i, null, " ");
|
|
5189
5189
|
t(s, "application/json");
|
|
5190
|
-
}, mr = process.env.NODE_ENV === "development",
|
|
5190
|
+
}, mr = process.env.NODE_ENV === "development", Vc = function(r, e, t) {
|
|
5191
5191
|
const i = [];
|
|
5192
5192
|
r.forEach((s) => {
|
|
5193
5193
|
const o = {};
|
|
@@ -5212,7 +5212,7 @@ const pr = process.env.NODE_ENV === "development", Pc = function(r, e = {}, t) {
|
|
|
5212
5212
|
}
|
|
5213
5213
|
}), t(i.join(`
|
|
5214
5214
|
`), "application/x-ndjson");
|
|
5215
|
-
},
|
|
5215
|
+
}, Bc = process.env.NODE_ENV === "development", $c = function(r, e = {}, t) {
|
|
5216
5216
|
const i = this, s = [], o = [];
|
|
5217
5217
|
let n = {};
|
|
5218
5218
|
const a = e.rowGroupStyles || {
|
|
@@ -5267,7 +5267,7 @@ const pr = process.env.NODE_ENV === "development", Pc = function(r, e = {}, t) {
|
|
|
5267
5267
|
});
|
|
5268
5268
|
const p = i.dependencyRegistry.lookup("jspdf", "jsPDF");
|
|
5269
5269
|
if (!p) {
|
|
5270
|
-
|
|
5270
|
+
Bc && console.error(
|
|
5271
5271
|
"Download Error - 'pdf' downloader requires jspdf library to be registered"
|
|
5272
5272
|
);
|
|
5273
5273
|
return;
|
|
@@ -5276,10 +5276,10 @@ const pr = process.env.NODE_ENV === "development", Pc = function(r, e = {}, t) {
|
|
|
5276
5276
|
e.autoTable && (typeof e.autoTable == "function" ? n = e.autoTable(u) || {} : n = e.autoTable), c && (n.didDrawPage = function(f) {
|
|
5277
5277
|
u.text(c, 40, 30);
|
|
5278
5278
|
}), n.head = s, n.body = o, u.autoTable(n), e.documentProcessing && e.documentProcessing(u), t(u.output("arraybuffer"), "application/pdf");
|
|
5279
|
-
},
|
|
5279
|
+
}, jc = process.env.NODE_ENV === "development", Wc = function(r, e, t) {
|
|
5280
5280
|
const i = this, s = e.sheetName || "Sheet1", o = i.dependencyRegistry.lookup("XLSX");
|
|
5281
5281
|
if (!o?.utils?.book_new) {
|
|
5282
|
-
|
|
5282
|
+
jc && console.error(
|
|
5283
5283
|
"Download Error - 'xlsx' downloader requires XLSX library to be registered"
|
|
5284
5284
|
);
|
|
5285
5285
|
return;
|
|
@@ -5340,14 +5340,14 @@ const pr = process.env.NODE_ENV === "development", Pc = function(r, e = {}, t) {
|
|
|
5340
5340
|
}
|
|
5341
5341
|
const u = o.write(n, h);
|
|
5342
5342
|
t(p(u), "application/octet-stream");
|
|
5343
|
-
},
|
|
5344
|
-
csv:
|
|
5345
|
-
html:
|
|
5346
|
-
json:
|
|
5347
|
-
jsonLines:
|
|
5348
|
-
pdf:
|
|
5349
|
-
xlsx:
|
|
5350
|
-
},
|
|
5343
|
+
}, Gc = {
|
|
5344
|
+
csv: Ic,
|
|
5345
|
+
html: Hc,
|
|
5346
|
+
json: Nc,
|
|
5347
|
+
jsonLines: Vc,
|
|
5348
|
+
pdf: $c,
|
|
5349
|
+
xlsx: Wc
|
|
5350
|
+
}, Uc = process.env.NODE_ENV === "development", ti = class ti extends I {
|
|
5351
5351
|
constructor(e) {
|
|
5352
5352
|
super(e), this.registerTableOption(
|
|
5353
5353
|
"downloadEncoder",
|
|
@@ -5374,7 +5374,7 @@ const pr = process.env.NODE_ENV === "development", Pc = function(r, e = {}, t) {
|
|
|
5374
5374
|
const a = (l, h) => {
|
|
5375
5375
|
o ? o === !0 ? this.triggerDownload(l, h, e, t, !0) : o(l) : this.triggerDownload(l, h, e, t);
|
|
5376
5376
|
};
|
|
5377
|
-
if (typeof e == "function" ? n = e : ti.downloaders[e] ? n = ti.downloaders[e] :
|
|
5377
|
+
if (typeof e == "function" ? n = e : ti.downloaders[e] ? n = ti.downloaders[e] : Uc && console.warn("Download Error - No such download type found: ", e), n) {
|
|
5378
5378
|
const l = this.generateExportList(s);
|
|
5379
5379
|
n.call(this.table, l, i || {}, a.bind(this));
|
|
5380
5380
|
}
|
|
@@ -5424,9 +5424,9 @@ const pr = process.env.NODE_ENV === "development", Pc = function(r, e = {}, t) {
|
|
|
5424
5424
|
}
|
|
5425
5425
|
}
|
|
5426
5426
|
};
|
|
5427
|
-
ti.moduleName = "download", ti.downloaders =
|
|
5427
|
+
ti.moduleName = "download", ti.downloaders = Gc;
|
|
5428
5428
|
let xs = ti;
|
|
5429
|
-
const
|
|
5429
|
+
const Kc = function(r, e, t, i, s = {}) {
|
|
5430
5430
|
const o = this, n = r._getSelf().column;
|
|
5431
5431
|
let a;
|
|
5432
5432
|
function l(d) {
|
|
@@ -5460,7 +5460,7 @@ const Uc = function(r, e, t, i, s = {}) {
|
|
|
5460
5460
|
i,
|
|
5461
5461
|
a || {}
|
|
5462
5462
|
) : !1;
|
|
5463
|
-
},
|
|
5463
|
+
}, qc = process.env.NODE_ENV === "development", Xc = function(r, e, t, i, s) {
|
|
5464
5464
|
const o = s.format, n = s.verticalNavigation || "editor", a = typeof globalThis.window > "u" ? globalThis : window, l = o ? a.DateTime || a.luxon?.DateTime : null;
|
|
5465
5465
|
let h = r.getValue();
|
|
5466
5466
|
const c = document.createElement("input");
|
|
@@ -5493,7 +5493,7 @@ const Uc = function(r, e, t, i, s = {}) {
|
|
|
5493
5493
|
);
|
|
5494
5494
|
} else
|
|
5495
5495
|
c.setAttribute(f, s.elementAttributes[f]);
|
|
5496
|
-
h = h ?? "", o && (l ? h = p(h) :
|
|
5496
|
+
h = h ?? "", o && (l ? h = p(h) : qc && console.error(
|
|
5497
5497
|
"Editor Error - 'date' editor 'format' param is dependent on luxon.js"
|
|
5498
5498
|
)), c.value = String(h), e(() => {
|
|
5499
5499
|
r.getType() === "cell" && (c.focus({ preventScroll: !0 }), c.style.height = "100%", s.selectContents && c.select());
|
|
@@ -5540,7 +5540,7 @@ const Uc = function(r, e, t, i, s = {}) {
|
|
|
5540
5540
|
break;
|
|
5541
5541
|
}
|
|
5542
5542
|
}), c;
|
|
5543
|
-
},
|
|
5543
|
+
}, Jc = process.env.NODE_ENV === "development", Yc = function(r, e, t, i, s) {
|
|
5544
5544
|
const o = this, n = s.format, a = s.verticalNavigation || "editor", l = n ? o.table.dependencyRegistry.lookup(["luxon", "DateTime"], "DateTime") : null;
|
|
5545
5545
|
let h, c = r.getValue();
|
|
5546
5546
|
const d = document.createElement("input");
|
|
@@ -5554,7 +5554,7 @@ const Uc = function(r, e, t, i, s = {}) {
|
|
|
5554
5554
|
);
|
|
5555
5555
|
} else
|
|
5556
5556
|
d.setAttribute(u, s.elementAttributes[u]);
|
|
5557
|
-
c = c ?? "", n && l ? (l.isDateTime?.(c) ? h = c : n === "iso" ? h = l.fromISO(String(c)) : h = l.fromFormat(String(c), n), c = h.toFormat("yyyy-MM-dd") + "T" + h.toFormat("HH:mm")) : n && !l &&
|
|
5557
|
+
c = c ?? "", n && l ? (l.isDateTime?.(c) ? h = c : n === "iso" ? h = l.fromISO(String(c)) : h = l.fromFormat(String(c), n), c = h.toFormat("yyyy-MM-dd") + "T" + h.toFormat("HH:mm")) : n && !l && Jc && console.error(
|
|
5558
5558
|
"Editor Error - 'datetime' editor 'format' param is dependent on luxon.js"
|
|
5559
5559
|
), d.value = String(c), e(() => {
|
|
5560
5560
|
r.getType() === "cell" && (d.focus({ preventScroll: !0 }), d.style.height = "100%", s.selectContents && d.select());
|
|
@@ -5638,7 +5638,7 @@ function wo(r, e) {
|
|
|
5638
5638
|
(a.keyCode || 0) > 46 && e.maskAutoFill && n(r.value.length);
|
|
5639
5639
|
}), r.placeholder || (r.placeholder = t), e.maskAutoFill && n(r.value.length);
|
|
5640
5640
|
}
|
|
5641
|
-
const
|
|
5641
|
+
const Qc = function(r, e, t, i, s) {
|
|
5642
5642
|
let o = r.getValue();
|
|
5643
5643
|
const n = document.createElement("input");
|
|
5644
5644
|
if (n.setAttribute(
|
|
@@ -5679,12 +5679,12 @@ const Yc = function(r, e, t, i, s) {
|
|
|
5679
5679
|
break;
|
|
5680
5680
|
}
|
|
5681
5681
|
}), s.mask && wo(n, s), n;
|
|
5682
|
-
},
|
|
5682
|
+
}, Zc = process.env.NODE_ENV === "development";
|
|
5683
5683
|
let Rn = null;
|
|
5684
|
-
function
|
|
5684
|
+
function ed(r) {
|
|
5685
5685
|
Rn = r;
|
|
5686
5686
|
}
|
|
5687
|
-
const
|
|
5687
|
+
const td = {
|
|
5688
5688
|
/**
|
|
5689
5689
|
* @param explicitRegistry - When provided, that map is used. When omitted, uses the registry set
|
|
5690
5690
|
* by {@link setDefaultFormattersRegistry}
|
|
@@ -5698,7 +5698,7 @@ const ed = {
|
|
|
5698
5698
|
let i;
|
|
5699
5699
|
switch (typeof r) {
|
|
5700
5700
|
case "string":
|
|
5701
|
-
t[r] ? i = t[r] : (
|
|
5701
|
+
t[r] ? i = t[r] : (Zc && console.warn("Formatter Error - No such formatter found: ", r), i = t.plaintext);
|
|
5702
5702
|
break;
|
|
5703
5703
|
case "function":
|
|
5704
5704
|
i = r;
|
|
@@ -5711,9 +5711,9 @@ const ed = {
|
|
|
5711
5711
|
}
|
|
5712
5712
|
};
|
|
5713
5713
|
function Qi(r, e) {
|
|
5714
|
-
return
|
|
5714
|
+
return td.lookupFormatter(r, e);
|
|
5715
5715
|
}
|
|
5716
|
-
function
|
|
5716
|
+
function id(r, e = {}, t) {
|
|
5717
5717
|
let i;
|
|
5718
5718
|
function s(a) {
|
|
5719
5719
|
const l = a.getValue();
|
|
@@ -5732,7 +5732,7 @@ function td(r, e = {}, t) {
|
|
|
5732
5732
|
const o = e.formatterLookup ? e.formatterLookup(r) : s(r);
|
|
5733
5733
|
return e.paramsLookup && (i = typeof e.paramsLookup == "function" ? e.paramsLookup(o, r) : e.paramsLookup[o]), Qi(o).call(this, r, i || {}, t);
|
|
5734
5734
|
}
|
|
5735
|
-
function
|
|
5735
|
+
function sd(r, e, t) {
|
|
5736
5736
|
const i = e.delimiter ?? ",";
|
|
5737
5737
|
let s = r.getValue();
|
|
5738
5738
|
const o = this.table;
|
|
@@ -5745,32 +5745,32 @@ function id(r, e, t) {
|
|
|
5745
5745
|
));
|
|
5746
5746
|
} : n = e.valueMap), Array.isArray(s) ? (n && (s = n(s)), s.join(i)) : s;
|
|
5747
5747
|
}
|
|
5748
|
-
function
|
|
5748
|
+
function od(r, e) {
|
|
5749
5749
|
const t = e ?? {}, i = r.getValue(), s = i != null && i !== "", o = !!t.initials;
|
|
5750
5750
|
return !s && !o ? "" : B(x`<cx-avatar image=${se(s ? String(i) : void 0)} initials=${se(t.initials)} label=${se(t.label)} shape=${se(t.shape)} style="--size: ${t.size ?? "2rem"}"></cx-avatar>`);
|
|
5751
5751
|
}
|
|
5752
|
-
function
|
|
5752
|
+
function rd(r, e, t) {
|
|
5753
5753
|
return '<svg enable-background="new 0 0 24 24" height="14" width="14" viewBox="0 0 24 24" xml:space="preserve" ><path fill="#CE1515" d="M22.245,4.015c0.313,0.313,0.313,0.826,0,1.139l-6.276,6.27c-0.313,0.312-0.313,0.826,0,1.14l6.273,6.272 c0.313,0.313,0.313,0.826,0,1.14l-2.285,2.277c-0.314,0.312-0.828,0.312-1.142,0l-6.271-6.271c-0.313-0.313-0.828-0.313-1.141,0 l-6.276,6.267c-0.313,0.313-0.828,0.313-1.141,0l-2.282-2.28c-0.313-0.313-0.313-0.826,0-1.14l6.278-6.269 c0.313-0.312,0.313-0.826,0-1.14L1.709,5.147c-0.314-0.313-0.314-0.827,0-1.14l2.284-2.278C4.308,1.417,4.821,1.417,5.135,1.73 L11.405,8c0.314,0.314,0.828,0.314,1.141,0.001l6.276-6.267c0.312-0.312,0.826-0.312,1.141,0L22.245,4.015z"/></svg>';
|
|
5754
5754
|
}
|
|
5755
|
-
function
|
|
5755
|
+
function nd(r, e, t) {
|
|
5756
5756
|
return '<svg enable-background="new 0 0 24 24" height="14" width="14" viewBox="0 0 24 24" xml:space="preserve" ><path fill="#2DC214" clip-rule="evenodd" d="M21.652,3.211c-0.293-0.295-0.77-0.295-1.061,0L9.41,14.34 c-0.293,0.297-0.771,0.297-1.062,0L3.449,9.351C3.304,9.203,3.114,9.13,2.923,9.129C2.73,9.128,2.534,9.201,2.387,9.351 l-2.165,1.946C0.078,11.445,0,11.63,0,11.823c0,0.194,0.078,0.397,0.223,0.544l4.94,5.184c0.292,0.296,0.771,0.776,1.062,1.07 l2.124,2.141c0.292,0.293,0.769,0.293,1.062,0l14.366-14.34c0.293-0.294,0.293-0.777,0-1.071L21.652,3.211z" fill-rule="evenodd"/></svg>';
|
|
5757
5757
|
}
|
|
5758
|
-
function
|
|
5758
|
+
function ad(r, e, t) {
|
|
5759
5759
|
const i = r.getContentElement?.() ?? r.getElement(), s = r.getValue();
|
|
5760
|
-
return i && (
|
|
5760
|
+
return i && (ld(s) ? i.style.backgroundColor = s : i.style.backgroundColor = ""), "";
|
|
5761
5761
|
}
|
|
5762
|
-
function
|
|
5762
|
+
function ld(r) {
|
|
5763
5763
|
return !r || typeof r != "string" ? !1 : /^(#[0-9A-Fa-f]{3,8}|rgb\(|rgba\(|hsl\(|hsla\(|[a-z]+)$/i.test(r.trim());
|
|
5764
5764
|
}
|
|
5765
|
-
const
|
|
5766
|
-
function
|
|
5765
|
+
const hd = x`<span style="display: inline-flex; align-items: center;"></span>`;
|
|
5766
|
+
function cd({
|
|
5767
5767
|
spacing: r,
|
|
5768
5768
|
style: e
|
|
5769
5769
|
}) {
|
|
5770
|
-
const t = B(
|
|
5770
|
+
const t = B(hd);
|
|
5771
5771
|
return r && (t.style.margin = r), e && Object.assign(t.style, e), t;
|
|
5772
5772
|
}
|
|
5773
|
-
function
|
|
5773
|
+
function dd(r, e, t) {
|
|
5774
5774
|
const i = Qi("plaintext"), s = {
|
|
5775
5775
|
style: {
|
|
5776
5776
|
color: "var(--cx-color-neutral-500)",
|
|
@@ -5812,7 +5812,7 @@ function wr({
|
|
|
5812
5812
|
}) {
|
|
5813
5813
|
return e.value !== void 0 ? e.value : e.getValue ? e.getValue(r, t) : e.field ? Y.retrieveNestedData(i, e.field, t) : r.getValue();
|
|
5814
5814
|
}
|
|
5815
|
-
function
|
|
5815
|
+
function ud(r, e, t) {
|
|
5816
5816
|
if (!e?.elements || !Array.isArray(e.elements) || e.elements.length === 0)
|
|
5817
5817
|
return;
|
|
5818
5818
|
const i = r.getData(), s = this.table, o = typeof s.options.nestedFieldSeparator == "string" ? s.options.nestedFieldSeparator : void 0, n = r.getValue(), a = e.elements.some((F) => {
|
|
@@ -5828,7 +5828,7 @@ function dd(r, e, t) {
|
|
|
5828
5828
|
return F.valueMap && (X = F.valueMap[String(X)] ?? X), !br(X);
|
|
5829
5829
|
});
|
|
5830
5830
|
if (br(n) && !a && e.placeholder !== void 0)
|
|
5831
|
-
return
|
|
5831
|
+
return dd.call(this, r, e, t);
|
|
5832
5832
|
const h = r.getRow(), {
|
|
5833
5833
|
align: c,
|
|
5834
5834
|
block: d,
|
|
@@ -5874,7 +5874,7 @@ function dd(r, e, t) {
|
|
|
5874
5874
|
}
|
|
5875
5875
|
if (S == null)
|
|
5876
5876
|
return;
|
|
5877
|
-
const z =
|
|
5877
|
+
const z = cd({
|
|
5878
5878
|
spacing: F.spacing,
|
|
5879
5879
|
style: F.style
|
|
5880
5880
|
});
|
|
@@ -5890,24 +5890,24 @@ function dd(r, e, t) {
|
|
|
5890
5890
|
return typeof X == "string" ? v.textContent = X : v.appendChild(X.cloneNode(!0)), [_, v];
|
|
5891
5891
|
}).forEach((F) => T.appendChild(F)), T);
|
|
5892
5892
|
}
|
|
5893
|
-
function
|
|
5893
|
+
function pd(r) {
|
|
5894
5894
|
if (r == null || r === "")
|
|
5895
5895
|
return;
|
|
5896
5896
|
const e = r instanceof Date ? r : new Date(typeof r == "number" ? r : String(r));
|
|
5897
5897
|
return isNaN(e.getTime()) ? void 0 : e;
|
|
5898
5898
|
}
|
|
5899
|
-
function
|
|
5900
|
-
const t = e ?? {}, i =
|
|
5899
|
+
function fd(r, e) {
|
|
5900
|
+
const t = e ?? {}, i = pd(r.getValue());
|
|
5901
5901
|
return i === void 0 ? "" : B(x`<cx-format-date date=${i.toISOString()} weekday=${se(t.weekday)} era=${se(t.era)} year=${se(t.year)} month=${se(t.month)} day=${se(t.day)} hour=${se(t.hour)} minute=${se(t.minute)} second=${se(t.second)} time-zone-name=${se(t.timeZoneName)} time-zone=${se(t.timeZone)} hour-format=${se(t.hourFormat)} ?no-datetime-separator=${t.noDatetimeSeparator ?? !1}></cx-format-date>`);
|
|
5902
5902
|
}
|
|
5903
|
-
const
|
|
5904
|
-
function
|
|
5903
|
+
const md = process.env.NODE_ENV === "development";
|
|
5904
|
+
function gd(r, e, t) {
|
|
5905
5905
|
const i = this.table.dependencyRegistry.lookup(
|
|
5906
5906
|
["luxon", "DateTime"],
|
|
5907
5907
|
"DateTime"
|
|
5908
5908
|
), s = e.inputFormat || "yyyy-MM-dd HH:mm:ss", o = e.outputFormat || "dd/MM/yyyy HH:mm:ss", n = e.invalidPlaceholder ?? "", a = r.getValue();
|
|
5909
5909
|
if (i == null)
|
|
5910
|
-
return
|
|
5910
|
+
return md && console.error(
|
|
5911
5911
|
"Format Error - 'datetime' formatter is dependent on luxon.js"
|
|
5912
5912
|
), a;
|
|
5913
5913
|
{
|
|
@@ -5915,14 +5915,14 @@ function md(r, e, t) {
|
|
|
5915
5915
|
return i.isDateTime(a) ? l = a : s === "iso" ? l = i.fromISO(String(a)) : l = i.fromFormat(String(a), s), l.isValid ? (e.timezone && (l = l.setZone(e.timezone)), l.toFormat(o)) : n === !0 || !a ? a : typeof n == "function" ? n(a) : n;
|
|
5916
5916
|
}
|
|
5917
5917
|
}
|
|
5918
|
-
const
|
|
5919
|
-
function
|
|
5918
|
+
const bd = process.env.NODE_ENV === "development";
|
|
5919
|
+
function wd(r, e, t) {
|
|
5920
5920
|
const i = this.table.dependencyRegistry.lookup(
|
|
5921
5921
|
["luxon", "DateTime"],
|
|
5922
5922
|
"DateTime"
|
|
5923
5923
|
), s = e.inputFormat || "yyyy-MM-dd HH:mm:ss", o = e.invalidPlaceholder ?? "", n = e.suffix === void 0 || e.suffix === null ? !1 : e.suffix, a = e.unit === void 0 || e.unit === null ? "days" : e.unit, l = e.humanize === void 0 || e.humanize === null ? !1 : e.humanize, h = r.getValue();
|
|
5924
5924
|
if (i == null)
|
|
5925
|
-
return
|
|
5925
|
+
return bd && console.error(
|
|
5926
5926
|
"Format Error - 'datetimediff' formatter is dependent on luxon.js"
|
|
5927
5927
|
), o;
|
|
5928
5928
|
{
|
|
@@ -5934,24 +5934,24 @@ function bd(r, e, t) {
|
|
|
5934
5934
|
function vr(r, e) {
|
|
5935
5935
|
return r == null ? "" : Array.isArray(r) ? r.join(e) : String(r);
|
|
5936
5936
|
}
|
|
5937
|
-
function
|
|
5937
|
+
function vd(r, e) {
|
|
5938
5938
|
const t = e ?? {}, i = t.arraySeparator ?? ", ", s = (c) => typeof c == "function" ? c(r) : c, o = vr(s(t.newValue) ?? r.getValue(), i), n = vr(s(t.oldValue) ?? "", i), a = Jo(n), l = Jo(o), h = a && l ? `${a} ${l}` : l || a;
|
|
5939
5939
|
return B(x`<cx-line-clamp lines="1" clamped-tooltip=${h}><cx-diff old-value=${n} new-value=${o}></cx-diff></cx-line-clamp>`);
|
|
5940
5940
|
}
|
|
5941
|
-
function
|
|
5941
|
+
function yd(r, e, t) {
|
|
5942
5942
|
const i = r.getElement();
|
|
5943
5943
|
return i && i.classList.add("tabulator-row-handle"), "<div class='tabulator-row-handle-box'><div class='tabulator-row-handle-bar'></div><div class='tabulator-row-handle-bar'></div><div class='tabulator-row-handle-bar'></div></div>";
|
|
5944
5944
|
}
|
|
5945
|
-
function
|
|
5945
|
+
function Cd(r, e, t) {
|
|
5946
5946
|
return r.getValue();
|
|
5947
5947
|
}
|
|
5948
|
-
const
|
|
5949
|
-
function
|
|
5948
|
+
const Ed = x`<cx-icon></cx-icon>`;
|
|
5949
|
+
function xd(r, e) {
|
|
5950
5950
|
const t = r.getValue(), i = e ?? {};
|
|
5951
5951
|
let s;
|
|
5952
5952
|
if (i.getIcon ? s = i.getIcon(t) : typeof i.icon == "function" ? s = i.icon(t) : i.iconMap ? s = i.iconMap[t] : i.icon ? s = i.icon : s = t ? String(t) : void 0, !s)
|
|
5953
5953
|
return;
|
|
5954
|
-
const o = B(
|
|
5954
|
+
const o = B(Ed);
|
|
5955
5955
|
if (o.name = s, i.size !== void 0)
|
|
5956
5956
|
switch (typeof i.size) {
|
|
5957
5957
|
case "number":
|
|
@@ -5963,12 +5963,12 @@ function Ed(r, e) {
|
|
|
5963
5963
|
}
|
|
5964
5964
|
return i.class && (o.className = i.class), i.style && Object.assign(o.style, i.style), o;
|
|
5965
5965
|
}
|
|
5966
|
-
const
|
|
5967
|
-
function
|
|
5966
|
+
const Rd = x`<div style="display: flex; align-items: center; justify-content: center;"><img style="max-width: 100%; max-height: 100%; object-fit: cover;"></div>`;
|
|
5967
|
+
function Sd(r, e) {
|
|
5968
5968
|
let t = r.getValue();
|
|
5969
5969
|
if (!t)
|
|
5970
5970
|
return null;
|
|
5971
|
-
const i = B(
|
|
5971
|
+
const i = B(Rd), s = i.querySelector("img"), o = e ?? {};
|
|
5972
5972
|
switch (o.urlPrefix && (t = o.urlPrefix + r.getValue()), o.urlSuffix && (t = t + o.urlSuffix), s.setAttribute("src", String(t)), typeof o.height) {
|
|
5973
5973
|
case "number":
|
|
5974
5974
|
i.style.height = o.height + "px";
|
|
@@ -5989,8 +5989,8 @@ function Rd(r, e) {
|
|
|
5989
5989
|
r.getRow()?.normalizeHeight();
|
|
5990
5990
|
}), i;
|
|
5991
5991
|
}
|
|
5992
|
-
const
|
|
5993
|
-
function
|
|
5992
|
+
const Td = process.env.NODE_ENV === "development";
|
|
5993
|
+
function kd(r, e, t) {
|
|
5994
5994
|
const {
|
|
5995
5995
|
indent: i = " ",
|
|
5996
5996
|
multiline: s = !0,
|
|
@@ -6003,11 +6003,11 @@ function Td(r, e, t) {
|
|
|
6003
6003
|
try {
|
|
6004
6004
|
return JSON.stringify(n, o, i);
|
|
6005
6005
|
} catch (a) {
|
|
6006
|
-
return
|
|
6006
|
+
return Td && console.warn("JSON Format Error - Failed to format value", a), String(n);
|
|
6007
6007
|
}
|
|
6008
6008
|
}
|
|
6009
|
-
const
|
|
6010
|
-
function
|
|
6009
|
+
const Dd = process.env.NODE_ENV === "development";
|
|
6010
|
+
function Md(r, e, t) {
|
|
6011
6011
|
let i = r.getValue();
|
|
6012
6012
|
const s = e.urlPrefix || "";
|
|
6013
6013
|
let o = e.download, n = i;
|
|
@@ -6047,16 +6047,16 @@ function Dd(r, e, t) {
|
|
|
6047
6047
|
break;
|
|
6048
6048
|
}
|
|
6049
6049
|
const c = String(s + i), d = document.createElement("a");
|
|
6050
|
-
return d.href = c, ["http:", "https:", "mailto:", "tel:", ""].includes(d.protocol) || c.startsWith("#") ? a.setAttribute("href", c) : (
|
|
6050
|
+
return d.href = c, ["http:", "https:", "mailto:", "tel:", ""].includes(d.protocol) || c.startsWith("#") ? a.setAttribute("href", c) : (Dd && console.warn("Link formatter blocked potentially unsafe URL:", c), a.setAttribute("href", "#")), e.target && a.setAttribute("target", e.target), e.rel && a.setAttribute("rel", e.rel), e.download && (typeof o == "function" ? o = o(r) : o = o === !0 ? "" : o, a.setAttribute("download", String(o))), a.innerHTML = Ki(P(n)), a;
|
|
6051
6051
|
} else
|
|
6052
6052
|
return " ";
|
|
6053
6053
|
}
|
|
6054
|
-
const
|
|
6055
|
-
function
|
|
6054
|
+
const Ld = process.env.NODE_ENV === "development";
|
|
6055
|
+
function Fd(r, e, t) {
|
|
6056
6056
|
const i = r.getValue();
|
|
6057
|
-
return !e || typeof e != "object" && typeof e != "function" || e[i] === void 0 || e[i] === null ? (
|
|
6057
|
+
return !e || typeof e != "object" && typeof e != "function" || e[i] === void 0 || e[i] === null ? (Ld && console.warn("Missing display value for " + i), i) : e[i];
|
|
6058
6058
|
}
|
|
6059
|
-
function
|
|
6059
|
+
function _d(r, e, t) {
|
|
6060
6060
|
let i = parseFloat(r.getValue()), s = "", o, n, a, l;
|
|
6061
6061
|
const h = e.decimal || ".", c = e.thousand || ",", d = e.negativeSign || "-", p = e.symbol || "", u = !!e.symbolAfter, f = typeof e.precision < "u" ? e.precision : 2;
|
|
6062
6062
|
if (isNaN(i))
|
|
@@ -6068,15 +6068,15 @@ function Fd(r, e, t) {
|
|
|
6068
6068
|
n = n.replace(a, "$1" + c + "$2");
|
|
6069
6069
|
return l = n + y, e.negativeSign === !0 ? (l = "(" + l + ")", u ? l + p : p + l) : u ? s + l + p : s + p + l;
|
|
6070
6070
|
}
|
|
6071
|
-
const
|
|
6072
|
-
function
|
|
6071
|
+
const zd = x`<cx-format-number></cx-format-number>`;
|
|
6072
|
+
function Od(r, e) {
|
|
6073
6073
|
const t = r.getValue();
|
|
6074
6074
|
if (t == null || t === "")
|
|
6075
6075
|
return;
|
|
6076
6076
|
const i = Number(t);
|
|
6077
6077
|
if (Number.isNaN(i))
|
|
6078
6078
|
return;
|
|
6079
|
-
const s = e ?? {}, o = B(
|
|
6079
|
+
const s = e ?? {}, o = B(zd);
|
|
6080
6080
|
o.value = i;
|
|
6081
6081
|
for (const n of Object.keys(s)) {
|
|
6082
6082
|
const a = s[n];
|
|
@@ -6084,14 +6084,14 @@ function zd(r, e) {
|
|
|
6084
6084
|
}
|
|
6085
6085
|
return o;
|
|
6086
6086
|
}
|
|
6087
|
-
function
|
|
6087
|
+
function Ad(r, e) {
|
|
6088
6088
|
let t = Ki(P(po(r.getValue())));
|
|
6089
6089
|
const i = e ?? {};
|
|
6090
6090
|
i.prefix && (t = i.prefix + t), i.suffix && (t = t + i.suffix);
|
|
6091
6091
|
const s = x`<cx-line-clamp lines="1"><span style=${ft(i.style ?? {})}>${t}</span></cx-line-clamp>`;
|
|
6092
6092
|
return B(s);
|
|
6093
6093
|
}
|
|
6094
|
-
function
|
|
6094
|
+
function Pd(r, e = {}, t) {
|
|
6095
6095
|
const i = P(r.getValue()) || 0, s = r.getElement(), o = e.max ? e.max : 100, n = e.min ? e.min : 0, a = e.legendAlign ? e.legendAlign : "center";
|
|
6096
6096
|
let l, h, c = !1, d;
|
|
6097
6097
|
l = parseFloat(String(i)) <= o ? parseFloat(String(i)) : o, l = parseFloat(String(l)) >= n ? parseFloat(String(l)) : n;
|
|
@@ -6170,13 +6170,13 @@ function Ad(r, e = {}, t) {
|
|
|
6170
6170
|
E && (E.appendChild(f), f.appendChild(u), c && y && f.appendChild(y));
|
|
6171
6171
|
}), "";
|
|
6172
6172
|
}
|
|
6173
|
-
function
|
|
6173
|
+
function Id(r, e = {}, t) {
|
|
6174
6174
|
const i = document.createElement("span"), s = r.getRow(), o = r.getTable();
|
|
6175
6175
|
return s.watchPosition((n) => {
|
|
6176
6176
|
e.relativeToPage && o.modules.page && (n += o.modules.page.getPageSize() * (o.modules.page.getPage() - 1)), i.innerText = String(n);
|
|
6177
6177
|
}), i;
|
|
6178
6178
|
}
|
|
6179
|
-
function
|
|
6179
|
+
function Hd(r, e, t) {
|
|
6180
6180
|
let i = r.getValue();
|
|
6181
6181
|
const s = r.getElement(), o = r.getContentElement?.() ?? s, n = e && e.stars ? e.stars : 5, a = document.createElement("span"), l = document.createElementNS("http://www.w3.org/2000/svg", "svg"), h = '<polygon fill="#FFEA00" stroke="#C1AB60" stroke-width="37.6152" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" points="259.216,29.942 330.27,173.919 489.16,197.007 374.185,309.08 401.33,467.31 259.216,392.612 117.104,467.31 144.25,309.08 29.274,197.007 188.165,173.919 "/>', c = '<polygon fill="#D2D2D2" stroke="#686868" stroke-width="37.6152" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" points="259.216,29.942 330.27,173.919 489.16,197.007 374.185,309.08 401.33,467.31 259.216,392.612 117.104,467.31 144.25,309.08 29.274,197.007 188.165,173.919 "/>';
|
|
6182
6182
|
a.style.verticalAlign = "middle", l.setAttribute("width", "14"), l.setAttribute("height", "14"), l.setAttribute("viewBox", "0 0 512 512"), l.setAttribute("xml:space", "preserve"), l.style.padding = "0 1px";
|
|
@@ -6188,12 +6188,12 @@ function Id(r, e, t) {
|
|
|
6188
6188
|
}
|
|
6189
6189
|
return o && (o.style.whiteSpace = "nowrap", o.style.overflow = "hidden", o.style.textOverflow = "ellipsis"), s && s.setAttribute("aria-label", String(i)), a;
|
|
6190
6190
|
}
|
|
6191
|
-
const yr = "cx-table-switch-change",
|
|
6192
|
-
function
|
|
6191
|
+
const yr = "cx-table-switch-change", Nd = x`<cx-switch></cx-switch>`;
|
|
6192
|
+
function Vd(r) {
|
|
6193
6193
|
const e = Object.prototype.hasOwnProperty.call(r, "onValue") ? r.onValue : !0;
|
|
6194
6194
|
return { offValue: Object.prototype.hasOwnProperty.call(r, "offValue") ? r.offValue : !1, onValue: e };
|
|
6195
6195
|
}
|
|
6196
|
-
function
|
|
6196
|
+
function Bd(r, e) {
|
|
6197
6197
|
const t = r.getTable().element, i = t.getRootNode(), s = i instanceof ShadowRoot ? i.host : null;
|
|
6198
6198
|
if (s && typeof s.emit == "function") {
|
|
6199
6199
|
s.emit(yr, { detail: e });
|
|
@@ -6207,40 +6207,40 @@ function Vd(r, e) {
|
|
|
6207
6207
|
})
|
|
6208
6208
|
);
|
|
6209
6209
|
}
|
|
6210
|
-
function
|
|
6210
|
+
function $d(r) {
|
|
6211
6211
|
r.addEventListener("click", (e) => {
|
|
6212
6212
|
e.stopPropagation();
|
|
6213
6213
|
}), r.addEventListener("keydown", (e) => {
|
|
6214
6214
|
(e.key === "ArrowLeft" || e.key === "ArrowRight") && e.stopPropagation();
|
|
6215
6215
|
});
|
|
6216
6216
|
}
|
|
6217
|
-
function
|
|
6218
|
-
r.checked = e.getValue() === t, r.setAttribute("aria-label", "Toggle"),
|
|
6217
|
+
function jd(r, e, t, i) {
|
|
6218
|
+
r.checked = e.getValue() === t, r.setAttribute("aria-label", "Toggle"), $d(r), r.addEventListener("cx-change", () => {
|
|
6219
6219
|
if (r.disabled)
|
|
6220
6220
|
return;
|
|
6221
6221
|
const s = r.checked, o = s ? t : i;
|
|
6222
6222
|
if (e.getValue() === o)
|
|
6223
6223
|
return;
|
|
6224
6224
|
const n = e.getRow();
|
|
6225
|
-
e.setValue(o),
|
|
6225
|
+
e.setValue(o), Bd(e, {
|
|
6226
6226
|
checked: s,
|
|
6227
6227
|
data: n.getData(),
|
|
6228
6228
|
field: e.getField()
|
|
6229
6229
|
});
|
|
6230
6230
|
});
|
|
6231
6231
|
}
|
|
6232
|
-
function
|
|
6232
|
+
function Wd(r, e) {
|
|
6233
6233
|
if (r.getType() === "header") {
|
|
6234
6234
|
const n = document.createElement("span");
|
|
6235
6235
|
return n.textContent = String(r.getValue() ?? ""), n;
|
|
6236
6236
|
}
|
|
6237
|
-
const t = B(
|
|
6237
|
+
const t = B(Nd), { offValue: i, onValue: s } = Vd(e);
|
|
6238
6238
|
e.size && (t.size = e.size);
|
|
6239
6239
|
const o = typeof e.disabled == "function" ? e.disabled : () => !1;
|
|
6240
|
-
return t.disabled = o(r),
|
|
6240
|
+
return t.disabled = o(r), jd(t, r, s, i), t;
|
|
6241
6241
|
}
|
|
6242
|
-
const
|
|
6243
|
-
function
|
|
6242
|
+
const Gd = x`<cx-tag></cx-tag>`;
|
|
6243
|
+
function Ud(r, e) {
|
|
6244
6244
|
const t = r.getValue();
|
|
6245
6245
|
if (t == null || t === "")
|
|
6246
6246
|
return;
|
|
@@ -6249,26 +6249,26 @@ function Gd(r, e) {
|
|
|
6249
6249
|
removable: !1,
|
|
6250
6250
|
size: "medium",
|
|
6251
6251
|
variant: "neutral"
|
|
6252
|
-
}, s = B(
|
|
6252
|
+
}, s = B(Gd);
|
|
6253
6253
|
return Object.assign(s, i), s.textContent = e?.getTagContent?.(t) ?? e?.tagContentMap?.[t] ?? String(t), s;
|
|
6254
6254
|
}
|
|
6255
|
-
function
|
|
6255
|
+
function Kd(r) {
|
|
6256
6256
|
return Ki(P(po(r.getValue())));
|
|
6257
6257
|
}
|
|
6258
|
-
function
|
|
6258
|
+
function qd(r, e, t) {
|
|
6259
6259
|
const i = r.getValue(), s = r.getElement(), o = e.allowEmpty, n = e.allowTruthy, a = Object.prototype.hasOwnProperty.call(
|
|
6260
6260
|
e,
|
|
6261
6261
|
"trueValue"
|
|
6262
6262
|
), l = (typeof e.tickElement == "string" ? P(e.tickElement) : e.tickElement) ?? '<svg enable-background="new 0 0 24 24" height="14" width="14" viewBox="0 0 24 24" xml:space="preserve" ><path fill="#2DC214" clip-rule="evenodd" d="M21.652,3.211c-0.293-0.295-0.77-0.295-1.061,0L9.41,14.34 c-0.293,0.297-0.771,0.297-1.062,0L3.449,9.351C3.304,9.203,3.114,9.13,2.923,9.129C2.73,9.128,2.534,9.201,2.387,9.351 l-2.165,1.946C0.078,11.445,0,11.63,0,11.823c0,0.194,0.078,0.397,0.223,0.544l4.94,5.184c0.292,0.296,0.771,0.776,1.062,1.07 l2.124,2.141c0.292,0.293,0.769,0.293,1.062,0l14.366-14.34c0.293-0.294,0.293-0.777,0-1.071L21.652,3.211z" fill-rule="evenodd"/></svg>', h = (typeof e.crossElement == "string" ? P(e.crossElement) : e.crossElement) ?? '<svg enable-background="new 0 0 24 24" height="14" width="14" viewBox="0 0 24 24" xml:space="preserve" ><path fill="#CE1515" d="M22.245,4.015c0.313,0.313,0.313,0.826,0,1.139l-6.276,6.27c-0.313,0.312-0.313,0.826,0,1.14l6.273,6.272 c0.313,0.313,0.313,0.826,0,1.14l-2.285,2.277c-0.314,0.312-0.828,0.312-1.142,0l-6.271-6.271c-0.313-0.313-0.828-0.313-1.141,0 l-6.276,6.267c-0.313,0.313-0.828,0.313-1.141,0l-2.282-2.28c-0.313-0.313-0.313-0.826,0-1.14l6.278-6.269 c0.313-0.312,0.313-0.826,0-1.14L1.709,5.147c-0.314-0.313-0.314-0.827,0-1.14l2.284-2.278C4.308,1.417,4.821,1.417,5.135,1.73 L11.405,8c0.314,0.314,0.828,0.314,1.141,0.001l6.276-6.267c0.312-0.312,0.826-0.312,1.141,0L22.245,4.015z"/></svg>';
|
|
6263
6263
|
return a && i === e.trueValue || !a && (n && i || i === !0 || i === "true" || i === "True" || i === 1 || i === "1") ? (s && s.setAttribute("aria-checked", "true"), l || "") : o && (i === "null" || i === "" || i === null || typeof i > "u") ? (s && s.setAttribute("aria-checked", "mixed"), "") : (s && s.setAttribute("aria-checked", "false"), h || "");
|
|
6264
6264
|
}
|
|
6265
|
-
function
|
|
6265
|
+
function Xd(r) {
|
|
6266
6266
|
if (r == null || r === "")
|
|
6267
6267
|
return null;
|
|
6268
6268
|
const e = Number(r);
|
|
6269
6269
|
return Number.isFinite(e) ? e : null;
|
|
6270
6270
|
}
|
|
6271
|
-
function
|
|
6271
|
+
function Jd(r, e) {
|
|
6272
6272
|
const t = e.getValue(), i = e.getRow().getData(), {
|
|
6273
6273
|
getParams: s,
|
|
6274
6274
|
paramsMap: o,
|
|
@@ -6281,17 +6281,17 @@ function Xd(r, e) {
|
|
|
6281
6281
|
...c
|
|
6282
6282
|
};
|
|
6283
6283
|
}
|
|
6284
|
-
function
|
|
6284
|
+
function Yd(r) {
|
|
6285
6285
|
const e = {
|
|
6286
6286
|
...r.style ?? {}
|
|
6287
6287
|
};
|
|
6288
6288
|
return r.color && (e["--cx-format-time-color"] = r.color), r.fontSize && (e["--cx-format-time-font-size"] = r.fontSize), r.fontWeight && (e["--cx-format-time-font-weight"] = r.fontWeight), e;
|
|
6289
6289
|
}
|
|
6290
|
-
function
|
|
6291
|
-
const t =
|
|
6290
|
+
function Qd(r, e) {
|
|
6291
|
+
const t = Jd(e ?? {}, r), i = Xd(r.getValue()), s = Yd(t);
|
|
6292
6292
|
return B(x`<cx-format-time .duration=${i} display-style=${se(t.displayStyle)} input-unit=${se(t.inputUnit)} locale=${se(t.locale)} placeholder=${se(t.placeholder)} units-format=${se(t.unitsFormat)} style=${ft(s)}></cx-format-time>`);
|
|
6293
6293
|
}
|
|
6294
|
-
function
|
|
6294
|
+
function Zd(r, e, t) {
|
|
6295
6295
|
const i = e.size || 15, s = i + "px", o = Object.prototype.hasOwnProperty.call(
|
|
6296
6296
|
e,
|
|
6297
6297
|
"onValue"
|
|
@@ -6309,12 +6309,12 @@ function Qd(r, e, t) {
|
|
|
6309
6309
|
const c = document.createElement("div");
|
|
6310
6310
|
return c.classList.add("tabulator-toggle-switch"), c.style.height = s, c.style.width = s, c.style.borderRadius = s, h.appendChild(c), h;
|
|
6311
6311
|
}
|
|
6312
|
-
const
|
|
6313
|
-
function
|
|
6312
|
+
const eu = x`<span class="tabulator-traffic-light-container"><span class="tabulator-traffic-light"></span><span class="tabulator-traffic-light-text"></span></span>`;
|
|
6313
|
+
function tu(r, e, t, i) {
|
|
6314
6314
|
const s = r.getValue();
|
|
6315
6315
|
if (s == null || s === "")
|
|
6316
6316
|
return;
|
|
6317
|
-
const o = B(
|
|
6317
|
+
const o = B(eu), n = e?.getColor?.(s) ?? e?.colorMap?.[s];
|
|
6318
6318
|
if (n) {
|
|
6319
6319
|
const l = o.querySelector(
|
|
6320
6320
|
".tabulator-traffic-light"
|
|
@@ -6326,7 +6326,7 @@ function eu(r, e, t, i) {
|
|
|
6326
6326
|
);
|
|
6327
6327
|
return a && (a.textContent = String(s)), i?.getColor ? a.style.color = i.getColor(r) : i?.colorMap ? a.style.color = i.colorMap[r.getValue()] : i?.color && (a.style.color = i.color), o;
|
|
6328
6328
|
}
|
|
6329
|
-
function
|
|
6329
|
+
function iu(r, e) {
|
|
6330
6330
|
const t = r.getValue();
|
|
6331
6331
|
if (t == null || t === "")
|
|
6332
6332
|
return;
|
|
@@ -6341,40 +6341,40 @@ function tu(r, e) {
|
|
|
6341
6341
|
return i.prefix && (l = i.prefix + l), i.suffix && (l = l + i.suffix), a.textContent = l, n;
|
|
6342
6342
|
}
|
|
6343
6343
|
const Sn = {
|
|
6344
|
-
adaptable:
|
|
6345
|
-
array:
|
|
6346
|
-
avatar:
|
|
6347
|
-
buttonCross:
|
|
6348
|
-
buttonTick:
|
|
6349
|
-
color:
|
|
6350
|
-
composite:
|
|
6351
|
-
date:
|
|
6352
|
-
datetime:
|
|
6353
|
-
datetimediff:
|
|
6354
|
-
diff:
|
|
6355
|
-
handle:
|
|
6356
|
-
html:
|
|
6357
|
-
icon:
|
|
6358
|
-
image:
|
|
6359
|
-
json:
|
|
6360
|
-
link:
|
|
6361
|
-
lookup:
|
|
6362
|
-
money:
|
|
6363
|
-
number:
|
|
6364
|
-
plaintext:
|
|
6365
|
-
progress:
|
|
6366
|
-
rownum:
|
|
6367
|
-
star:
|
|
6368
|
-
switch:
|
|
6369
|
-
tag:
|
|
6370
|
-
textarea:
|
|
6371
|
-
tickCross:
|
|
6372
|
-
time:
|
|
6373
|
-
toggle:
|
|
6374
|
-
traffic:
|
|
6375
|
-
typography:
|
|
6344
|
+
adaptable: id,
|
|
6345
|
+
array: sd,
|
|
6346
|
+
avatar: od,
|
|
6347
|
+
buttonCross: rd,
|
|
6348
|
+
buttonTick: nd,
|
|
6349
|
+
color: ad,
|
|
6350
|
+
composite: ud,
|
|
6351
|
+
date: fd,
|
|
6352
|
+
datetime: gd,
|
|
6353
|
+
datetimediff: wd,
|
|
6354
|
+
diff: vd,
|
|
6355
|
+
handle: yd,
|
|
6356
|
+
html: Cd,
|
|
6357
|
+
icon: xd,
|
|
6358
|
+
image: Sd,
|
|
6359
|
+
json: kd,
|
|
6360
|
+
link: Md,
|
|
6361
|
+
lookup: Fd,
|
|
6362
|
+
money: _d,
|
|
6363
|
+
number: Od,
|
|
6364
|
+
plaintext: Ad,
|
|
6365
|
+
progress: Pd,
|
|
6366
|
+
rownum: Id,
|
|
6367
|
+
star: Hd,
|
|
6368
|
+
switch: Wd,
|
|
6369
|
+
tag: Ud,
|
|
6370
|
+
textarea: Kd,
|
|
6371
|
+
tickCross: qd,
|
|
6372
|
+
time: Qd,
|
|
6373
|
+
toggle: Zd,
|
|
6374
|
+
traffic: tu,
|
|
6375
|
+
typography: iu
|
|
6376
6376
|
};
|
|
6377
|
-
|
|
6377
|
+
ed(Sn);
|
|
6378
6378
|
const Dt = class Dt extends I {
|
|
6379
6379
|
constructor(e) {
|
|
6380
6380
|
super(e), this.registerColumnOption("formatter"), this.registerColumnOption("formatterParams"), this.registerColumnOption("formatterPrint"), this.registerColumnOption("formatterPrintParams"), this.registerColumnOption("formatterClipboard"), this.registerColumnOption("formatterClipboardParams"), this.registerColumnOption("formatterHtmlOutput"), this.registerColumnOption("formatterHtmlOutputParams"), this.registerColumnOption("titleFormatter"), this.registerColumnOption("titleFormatterParams"), this.registerColumnOption("textFormatParams"), this.registerColumnOption("cellClass"), this.registerColumnOption("cellStyle");
|
|
@@ -6479,8 +6479,8 @@ const Dt = class Dt extends I {
|
|
|
6479
6479
|
};
|
|
6480
6480
|
Dt.moduleName = "format", Dt.formatters = Sn;
|
|
6481
6481
|
let Vi = Dt;
|
|
6482
|
-
const ct = process.env.NODE_ENV === "development",
|
|
6483
|
-
class
|
|
6482
|
+
const ct = process.env.NODE_ENV === "development", su = x`<cx-option></cx-option>`, ou = x`<cx-divider></cx-divider>`;
|
|
6483
|
+
class ru {
|
|
6484
6484
|
constructor(e, t, i, s, o, n) {
|
|
6485
6485
|
this._itemsMap = /* @__PURE__ */ new Map(), this.table = e.table, this.cell = t, this.params = this._initializeParams(n), this.fetchApi = typeof globalThis.fetch == "function" ? globalThis.fetch.bind(globalThis) : void 0, this.data = [], this.displayItems = [], this.focusedItem = null, this.input = this._createSelectElement(), this.initialValue = void 0, this.initialValues = [], this.isHeaderFilter = t.row?.type === "header", this.typing = !1, this.listIteration = 0, this.lastAction = "", this.actions = {
|
|
6486
6486
|
cancel: o,
|
|
@@ -6849,7 +6849,7 @@ class ou {
|
|
|
6849
6849
|
}
|
|
6850
6850
|
}
|
|
6851
6851
|
_appendDivider() {
|
|
6852
|
-
const e = B(
|
|
6852
|
+
const e = B(ou);
|
|
6853
6853
|
this.input.appendChild(e);
|
|
6854
6854
|
}
|
|
6855
6855
|
_appendSectionLabel(e) {
|
|
@@ -6859,7 +6859,7 @@ class ou {
|
|
|
6859
6859
|
_appendLeafOption(e) {
|
|
6860
6860
|
let t = e.element;
|
|
6861
6861
|
if (!t) {
|
|
6862
|
-
t = B(
|
|
6862
|
+
t = B(su), t.getTextLabel = () => e.label, t.value = this.sanitizeValue(e.value);
|
|
6863
6863
|
const i = this.formatItemLabel(e, t);
|
|
6864
6864
|
i && typeof i == "object" && "nodeType" in i && i instanceof HTMLElement ? t.appendChild(i) : t.innerHTML = P(String(i || ""));
|
|
6865
6865
|
const s = this.params.fallbackOption?.prefix;
|
|
@@ -6995,8 +6995,8 @@ class ou {
|
|
|
6995
6995
|
}
|
|
6996
6996
|
}
|
|
6997
6997
|
}
|
|
6998
|
-
const
|
|
6999
|
-
return new
|
|
6998
|
+
const nu = function(r, e, t, i, s) {
|
|
6999
|
+
return new ru(
|
|
7000
7000
|
// eslint-disable-next-line no-invalid-this
|
|
7001
7001
|
this,
|
|
7002
7002
|
r instanceof go ? r._getSelf() : r,
|
|
@@ -7005,7 +7005,7 @@ const ru = function(r, e, t, i, s) {
|
|
|
7005
7005
|
i,
|
|
7006
7006
|
s
|
|
7007
7007
|
).input;
|
|
7008
|
-
},
|
|
7008
|
+
}, au = function(r, e, t, i, s) {
|
|
7009
7009
|
let o = r.getValue();
|
|
7010
7010
|
const n = s.verticalNavigation || "editor", a = document.createElement("input");
|
|
7011
7011
|
if (a.setAttribute("type", "number"), typeof s.max < "u" && a.setAttribute("max", String(s.max)), typeof s.min < "u" && a.setAttribute("min", String(s.min)), typeof s.step < "u" && a.setAttribute("step", String(s.step)), a.style.padding = "4px", a.style.width = "100%", a.style.boxSizing = "border-box", s.elementAttributes && typeof s.elementAttributes == "object")
|
|
@@ -7054,7 +7054,7 @@ const ru = function(r, e, t, i, s) {
|
|
|
7054
7054
|
break;
|
|
7055
7055
|
}
|
|
7056
7056
|
}), s.mask && wo(a, s), a;
|
|
7057
|
-
},
|
|
7057
|
+
}, lu = function(r, e, t, i, s) {
|
|
7058
7058
|
const o = r.getElement();
|
|
7059
7059
|
if (!o)
|
|
7060
7060
|
return !1;
|
|
@@ -7108,7 +7108,7 @@ const ru = function(r, e, t, i, s) {
|
|
|
7108
7108
|
}), o.addEventListener("blur", () => {
|
|
7109
7109
|
i();
|
|
7110
7110
|
}), p;
|
|
7111
|
-
},
|
|
7111
|
+
}, hu = function(r, e, t, i, s) {
|
|
7112
7112
|
let o = r.getValue();
|
|
7113
7113
|
const n = document.createElement("input");
|
|
7114
7114
|
if (n.setAttribute("type", "range"), typeof s.max < "u" && n.setAttribute("max", String(s.max)), typeof s.min < "u" && n.setAttribute("min", String(s.min)), typeof s.step < "u" && n.setAttribute("step", String(s.step)), n.style.padding = "4px", n.style.width = "100%", n.style.boxSizing = "border-box", s.elementAttributes && typeof s.elementAttributes == "object")
|
|
@@ -7140,7 +7140,7 @@ const ru = function(r, e, t, i, s) {
|
|
|
7140
7140
|
break;
|
|
7141
7141
|
}
|
|
7142
7142
|
}), n;
|
|
7143
|
-
},
|
|
7143
|
+
}, cu = function(r, e, t, i, s) {
|
|
7144
7144
|
const o = this, n = r.getElement();
|
|
7145
7145
|
if (!n)
|
|
7146
7146
|
return !1;
|
|
@@ -7211,7 +7211,7 @@ const ru = function(r, e, t, i, s) {
|
|
|
7211
7211
|
break;
|
|
7212
7212
|
}
|
|
7213
7213
|
}), d;
|
|
7214
|
-
},
|
|
7214
|
+
}, du = function(r, e, t, i, s) {
|
|
7215
7215
|
let o = r.getValue();
|
|
7216
7216
|
const n = s.verticalNavigation || "hybrid", a = String(o ?? ""), l = document.createElement("textarea");
|
|
7217
7217
|
let h = 0;
|
|
@@ -7261,7 +7261,7 @@ const ru = function(r, e, t, i, s) {
|
|
|
7261
7261
|
break;
|
|
7262
7262
|
}
|
|
7263
7263
|
}), s.mask && wo(l, s), l;
|
|
7264
|
-
},
|
|
7264
|
+
}, uu = function(r, e, t, i, s) {
|
|
7265
7265
|
const o = r.getValue(), n = document.createElement("input"), a = s.tristate, l = typeof s.indeterminateValue > "u" ? null : s.indeterminateValue;
|
|
7266
7266
|
let h = !1;
|
|
7267
7267
|
const c = Object.keys(s).includes("trueValue"), d = Object.keys(s).includes("falseValue");
|
|
@@ -7291,7 +7291,7 @@ const ru = function(r, e, t, i, s) {
|
|
|
7291
7291
|
}), n.addEventListener("keydown", (f) => {
|
|
7292
7292
|
f.keyCode === 13 && t(u(!1)), f.keyCode === 27 && i();
|
|
7293
7293
|
}), n;
|
|
7294
|
-
},
|
|
7294
|
+
}, pu = process.env.NODE_ENV === "development", fu = function(r, e, t, i, s) {
|
|
7295
7295
|
const o = s.format, n = s.verticalNavigation || "editor", a = o ? typeof window < "u" && window.DateTime || typeof globalThis < "u" && globalThis.luxon?.DateTime : null;
|
|
7296
7296
|
let l, h = r.getValue();
|
|
7297
7297
|
const c = document.createElement("input");
|
|
@@ -7306,7 +7306,7 @@ const ru = function(r, e, t, i, s) {
|
|
|
7306
7306
|
} else
|
|
7307
7307
|
c.setAttribute(f, s.elementAttributes[f]);
|
|
7308
7308
|
const d = String(h ?? "");
|
|
7309
|
-
o && a && d !== "" ? (a.isDateTime?.(h) ? l = h : o === "iso" ? l = a.fromISO(d) : l = a.fromFormat(d, o), h = l.toFormat("HH:mm")) : o && !a &&
|
|
7309
|
+
o && a && d !== "" ? (a.isDateTime?.(h) ? l = h : o === "iso" ? l = a.fromISO(d) : l = a.fromFormat(d, o), h = l.toFormat("HH:mm")) : o && !a && pu && console.error(
|
|
7310
7310
|
"Editor Error - 'time' editor 'format' param is dependent on luxon.js"
|
|
7311
7311
|
);
|
|
7312
7312
|
const p = String(h ?? "");
|
|
@@ -7356,20 +7356,20 @@ const ru = function(r, e, t, i, s) {
|
|
|
7356
7356
|
break;
|
|
7357
7357
|
}
|
|
7358
7358
|
}), c;
|
|
7359
|
-
},
|
|
7360
|
-
adaptable:
|
|
7361
|
-
date:
|
|
7362
|
-
datetime:
|
|
7363
|
-
input:
|
|
7364
|
-
list:
|
|
7365
|
-
number:
|
|
7366
|
-
progress:
|
|
7367
|
-
range:
|
|
7368
|
-
star:
|
|
7369
|
-
textarea:
|
|
7370
|
-
tickCross:
|
|
7371
|
-
time:
|
|
7372
|
-
}, Di = process.env.NODE_ENV === "development", Tn = "tabulator-edit-list-trigger",
|
|
7359
|
+
}, mu = {
|
|
7360
|
+
adaptable: Kc,
|
|
7361
|
+
date: Xc,
|
|
7362
|
+
datetime: Yc,
|
|
7363
|
+
input: Qc,
|
|
7364
|
+
list: nu,
|
|
7365
|
+
number: au,
|
|
7366
|
+
progress: lu,
|
|
7367
|
+
range: hu,
|
|
7368
|
+
star: cu,
|
|
7369
|
+
textarea: du,
|
|
7370
|
+
tickCross: uu,
|
|
7371
|
+
time: fu
|
|
7372
|
+
}, Di = process.env.NODE_ENV === "development", Tn = "tabulator-edit-list-trigger", gu = "tabulator-edit-list-trigger-caret", bu = x`<button aria-label="Open list editor" class=${Tn} tabindex="-1" type="button"><cx-icon aria-hidden="true" class=${gu} name="arrow_drop_down"></cx-icon></button>`, gi = class gi extends I {
|
|
7373
7373
|
constructor(e) {
|
|
7374
7374
|
super(e), this.currentCell = !1, this.mouseClick = !1, this.recursionBlock = !1, this.invalidEdit = !1, this.editedCells = [], this.convertEmptyValues = !1, this.editors = gi.editors, this.registerTableOption("editTriggerEvent", "focus"), this.registerTableOption("editorEmptyValue"), this.registerTableOption(
|
|
7375
7375
|
"editorEmptyValueFunc",
|
|
@@ -7629,7 +7629,7 @@ const ru = function(r, e, t, i, s) {
|
|
|
7629
7629
|
if (!t || t.classList.contains("tabulator-editing") || t.querySelector(`.${Tn}`))
|
|
7630
7630
|
return;
|
|
7631
7631
|
const i = B(
|
|
7632
|
-
|
|
7632
|
+
bu
|
|
7633
7633
|
);
|
|
7634
7634
|
i.addEventListener("mousedown", (s) => {
|
|
7635
7635
|
s.preventDefault(), s.stopPropagation();
|
|
@@ -7770,9 +7770,9 @@ const ru = function(r, e, t, i, s) {
|
|
|
7770
7770
|
t > -1 && this.editedCells.splice(t, 1);
|
|
7771
7771
|
}
|
|
7772
7772
|
};
|
|
7773
|
-
gi.moduleName = "edit", gi.editors =
|
|
7773
|
+
gi.moduleName = "edit", gi.editors = mu;
|
|
7774
7774
|
let Rs = gi;
|
|
7775
|
-
const
|
|
7775
|
+
const wu = {}, vu = {
|
|
7776
7776
|
active: function() {
|
|
7777
7777
|
return this.options.pagination ? this.rowManager?.getDisplayRows(
|
|
7778
7778
|
this.rowManager.displayRows.length - 2
|
|
@@ -7798,7 +7798,7 @@ class Cr {
|
|
|
7798
7798
|
this.type = e, this.columns = t, this.component = i ?? !1, this.indent = s ?? 0;
|
|
7799
7799
|
}
|
|
7800
7800
|
}
|
|
7801
|
-
const
|
|
7801
|
+
const yu = process.env.NODE_ENV === "development", Mt = class Mt extends I {
|
|
7802
7802
|
constructor(e) {
|
|
7803
7803
|
super(e), this.config = {}, this.cloneTableStyle = !0, this.colVisProp = "", this.colVisPropAttach = "", this.registerTableOption("htmlOutputConfig", !1), this.registerColumnOption("htmlOutput"), this.registerColumnOption("titleHtmlOutput");
|
|
7804
7804
|
}
|
|
@@ -7967,7 +7967,7 @@ const vu = process.env.NODE_ENV === "development", Mt = class Mt extends I {
|
|
|
7967
7967
|
"font-weight",
|
|
7968
7968
|
"font-family",
|
|
7969
7969
|
"font-size"
|
|
7970
|
-
]), e.length > 1e3 &&
|
|
7970
|
+
]), e.length > 1e3 && yu && console.warn(
|
|
7971
7971
|
"It may take a long time to render an HTML table with more than 1000 rows"
|
|
7972
7972
|
), e.forEach((h, c) => {
|
|
7973
7973
|
let d;
|
|
@@ -8254,9 +8254,9 @@ const vu = process.env.NODE_ENV === "development", Mt = class Mt extends I {
|
|
|
8254
8254
|
}
|
|
8255
8255
|
}
|
|
8256
8256
|
};
|
|
8257
|
-
Mt.moduleName = "export", Mt.columnLookups =
|
|
8257
|
+
Mt.moduleName = "export", Mt.columnLookups = wu, Mt.rowLookups = vu;
|
|
8258
8258
|
let Ss = Mt;
|
|
8259
|
-
const Er = process.env.NODE_ENV === "development",
|
|
8259
|
+
const Er = process.env.NODE_ENV === "development", Cu = {
|
|
8260
8260
|
// not equal to
|
|
8261
8261
|
"!=": function(r, e, t, i) {
|
|
8262
8262
|
return e != r;
|
|
@@ -8318,15 +8318,15 @@ const Er = process.env.NODE_ENV === "development", yu = {
|
|
|
8318
8318
|
starts: function(r, e, t, i) {
|
|
8319
8319
|
return r == null ? e === r : e != null ? String(e).toLowerCase().startsWith(r.toLowerCase()) : !1;
|
|
8320
8320
|
}
|
|
8321
|
-
},
|
|
8321
|
+
}, Eu = /<[^>]*>/g;
|
|
8322
8322
|
function Zi(r) {
|
|
8323
8323
|
return !!r && typeof r == "object" && !Array.isArray(r) && typeof r != "function";
|
|
8324
8324
|
}
|
|
8325
8325
|
function Bi(r, e, t) {
|
|
8326
8326
|
e != null && (t !== void 0 && e === t || r.push(e));
|
|
8327
8327
|
}
|
|
8328
|
-
function
|
|
8329
|
-
return r == null ? "" : String(r).replace(
|
|
8328
|
+
function xu(r) {
|
|
8329
|
+
return r == null ? "" : String(r).replace(Eu, "");
|
|
8330
8330
|
}
|
|
8331
8331
|
function ze(r) {
|
|
8332
8332
|
try {
|
|
@@ -8336,7 +8336,7 @@ function ze(r) {
|
|
|
8336
8336
|
}
|
|
8337
8337
|
}
|
|
8338
8338
|
const kn = Symbol("skip-composite-element");
|
|
8339
|
-
function
|
|
8339
|
+
function Ru(r, e, t, i, s) {
|
|
8340
8340
|
if (typeof r?.getValue == "function")
|
|
8341
8341
|
return kn;
|
|
8342
8342
|
if (r?.value !== void 0)
|
|
@@ -8344,18 +8344,18 @@ function xu(r, e, t, i, s) {
|
|
|
8344
8344
|
const o = r?.field;
|
|
8345
8345
|
return typeof o == "string" && o.length > 0 ? o === e ? t : s ? Y.retrieveNestedData(s, o, i) : i[o] : t;
|
|
8346
8346
|
}
|
|
8347
|
-
function
|
|
8347
|
+
function Su(r, e, t) {
|
|
8348
8348
|
return !!(typeof r?.shouldHide == "function" && ze(() => r.shouldHide(e, t)) || r?.hideValues !== void 0 && (Array.isArray(r.hideValues) ? r.hideValues : [r.hideValues]).includes(e) || typeof r?.shouldShow == "function" && !ze(
|
|
8349
8349
|
() => r.shouldShow(e, t)
|
|
8350
8350
|
) || r?.showValues !== void 0 && !(Array.isArray(r.showValues) ? r.showValues : [r.showValues]).includes(e));
|
|
8351
8351
|
}
|
|
8352
|
-
function
|
|
8352
|
+
function Tu(r, e) {
|
|
8353
8353
|
const { formatterParams: t, rawValue: i, rowData: s, separator: o, table: n } = r, a = t?.elements;
|
|
8354
8354
|
if (!Array.isArray(a))
|
|
8355
8355
|
return [];
|
|
8356
8356
|
const l = [];
|
|
8357
8357
|
for (const h of a) {
|
|
8358
|
-
const c =
|
|
8358
|
+
const c = Ru(
|
|
8359
8359
|
h,
|
|
8360
8360
|
e,
|
|
8361
8361
|
i,
|
|
@@ -8370,7 +8370,7 @@ function Su(r, e) {
|
|
|
8370
8370
|
const u = p[String(c)];
|
|
8371
8371
|
u !== void 0 && (d = u);
|
|
8372
8372
|
}
|
|
8373
|
-
if (!
|
|
8373
|
+
if (!Su(h, d, s) && (d !== c && Bi(l, d, c), h?.formatter !== void 0)) {
|
|
8374
8374
|
const u = vo({
|
|
8375
8375
|
columnField: e,
|
|
8376
8376
|
formatter: h.formatter,
|
|
@@ -8386,14 +8386,14 @@ function Su(r, e) {
|
|
|
8386
8386
|
}
|
|
8387
8387
|
return l;
|
|
8388
8388
|
}
|
|
8389
|
-
function
|
|
8389
|
+
function ku(r) {
|
|
8390
8390
|
const { formatterParams: e, rawValue: t } = r;
|
|
8391
8391
|
if (!Zi(e))
|
|
8392
8392
|
return [];
|
|
8393
8393
|
const i = e[String(t)];
|
|
8394
8394
|
return i == null || i === t ? [] : [i];
|
|
8395
8395
|
}
|
|
8396
|
-
function
|
|
8396
|
+
function Du(r) {
|
|
8397
8397
|
const { formatterParams: e, rawValue: t, separator: i, table: s } = r;
|
|
8398
8398
|
if (!Array.isArray(t))
|
|
8399
8399
|
return [];
|
|
@@ -8410,7 +8410,7 @@ function ku(r) {
|
|
|
8410
8410
|
}
|
|
8411
8411
|
return [a.join(o)];
|
|
8412
8412
|
}
|
|
8413
|
-
function
|
|
8413
|
+
function Mu(r) {
|
|
8414
8414
|
const { formatterParams: e, rawValue: t } = r;
|
|
8415
8415
|
if (t == null || t === "")
|
|
8416
8416
|
return [];
|
|
@@ -8427,7 +8427,7 @@ function Du(r) {
|
|
|
8427
8427
|
}
|
|
8428
8428
|
return i;
|
|
8429
8429
|
}
|
|
8430
|
-
function
|
|
8430
|
+
function Lu(r) {
|
|
8431
8431
|
const { formatterParams: e, rawValue: t, rowData: i, separator: s, table: o } = r;
|
|
8432
8432
|
if (!e)
|
|
8433
8433
|
return [];
|
|
@@ -8438,7 +8438,7 @@ function Mu(r) {
|
|
|
8438
8438
|
}
|
|
8439
8439
|
return typeof e.label == "string" && (n = e.label, a = !0), a ? n != null && n !== t ? [n] : [] : [];
|
|
8440
8440
|
}
|
|
8441
|
-
function
|
|
8441
|
+
function Fu(r) {
|
|
8442
8442
|
const { formatterParams: e, rawValue: t } = r, i = e ?? {}, s = parseFloat(String(t));
|
|
8443
8443
|
if (Number.isNaN(s))
|
|
8444
8444
|
return [];
|
|
@@ -8474,7 +8474,7 @@ function xr(r) {
|
|
|
8474
8474
|
r[i] !== void 0 && (e[i] = r[i]);
|
|
8475
8475
|
return e.style === "currency" && e.currency === void 0 && (e.currency = "USD"), e;
|
|
8476
8476
|
}
|
|
8477
|
-
function
|
|
8477
|
+
function _u(r) {
|
|
8478
8478
|
if (!r || typeof r != "object")
|
|
8479
8479
|
return ze(() => new Intl.NumberFormat(void 0, xr({}))) ?? null;
|
|
8480
8480
|
if (ss.has(r))
|
|
@@ -8482,14 +8482,14 @@ function Fu(r) {
|
|
|
8482
8482
|
const e = ze(() => new Intl.NumberFormat(void 0, xr(r))) ?? null;
|
|
8483
8483
|
return ss.set(r, e), e;
|
|
8484
8484
|
}
|
|
8485
|
-
function
|
|
8485
|
+
function zu(r) {
|
|
8486
8486
|
const { formatterParams: e, rawValue: t } = r;
|
|
8487
8487
|
if (t == null || t === "")
|
|
8488
8488
|
return [];
|
|
8489
8489
|
const i = Number(t);
|
|
8490
8490
|
if (Number.isNaN(i))
|
|
8491
8491
|
return [];
|
|
8492
|
-
const s =
|
|
8492
|
+
const s = _u(e);
|
|
8493
8493
|
if (!s)
|
|
8494
8494
|
return [];
|
|
8495
8495
|
const o = ze(() => s.format(i));
|
|
@@ -8507,7 +8507,7 @@ function Mn(r, e, t) {
|
|
|
8507
8507
|
function Ai(r, e) {
|
|
8508
8508
|
return typeof r == "string" && r.length > 0 && r !== e ? [r] : [];
|
|
8509
8509
|
}
|
|
8510
|
-
function
|
|
8510
|
+
function Ou(r) {
|
|
8511
8511
|
const { formatterParams: e, rawValue: t, table: i } = r, s = Dn(i), o = e ?? {}, n = o.invalidPlaceholder ?? "";
|
|
8512
8512
|
if (!s)
|
|
8513
8513
|
return [];
|
|
@@ -8517,7 +8517,7 @@ function zu(r) {
|
|
|
8517
8517
|
const c = o.timezone ? ze(() => h.setZone(o.timezone)) ?? h : h, d = ze(() => c.toFormat(l));
|
|
8518
8518
|
return d ? [d] : [];
|
|
8519
8519
|
}
|
|
8520
|
-
function
|
|
8520
|
+
function Au(r) {
|
|
8521
8521
|
const { formatterParams: e, rawValue: t, table: i } = r, s = Dn(i), o = e ?? {}, n = o.invalidPlaceholder ?? "";
|
|
8522
8522
|
if (!s)
|
|
8523
8523
|
return Ai(n, t);
|
|
@@ -8530,7 +8530,7 @@ function Ou(r) {
|
|
|
8530
8530
|
const u = ze(() => c ? p.diff(d, h).toHuman() + (l ? " " + l : "") : Number.parseInt(String(p.diff(d, h)[h]), 10) + (l ? " " + l : ""));
|
|
8531
8531
|
return u != null ? [u] : [];
|
|
8532
8532
|
}
|
|
8533
|
-
function
|
|
8533
|
+
function Pu(r, e) {
|
|
8534
8534
|
if (r == null)
|
|
8535
8535
|
return;
|
|
8536
8536
|
let t = String(r);
|
|
@@ -8538,26 +8538,26 @@ function Au(r, e) {
|
|
|
8538
8538
|
return typeof i == "string" && i.length > 0 && (t = i + t), typeof s == "string" && s.length > 0 && (t = t + s), t;
|
|
8539
8539
|
}
|
|
8540
8540
|
function Ln(r) {
|
|
8541
|
-
const { formatterParams: e, rawValue: t } = r, i =
|
|
8541
|
+
const { formatterParams: e, rawValue: t } = r, i = Pu(t, e);
|
|
8542
8542
|
return i === void 0 || i === String(t) ? [] : [i];
|
|
8543
8543
|
}
|
|
8544
|
-
function
|
|
8544
|
+
function Iu(r) {
|
|
8545
8545
|
return Ln(r);
|
|
8546
8546
|
}
|
|
8547
8547
|
function Fn(r) {
|
|
8548
8548
|
if (typeof r.rawValue != "string" || !r.rawValue.includes("<"))
|
|
8549
8549
|
return [];
|
|
8550
|
-
const e =
|
|
8550
|
+
const e = xu(r.rawValue);
|
|
8551
8551
|
return !e || e === r.rawValue ? [] : [e];
|
|
8552
8552
|
}
|
|
8553
|
-
function
|
|
8553
|
+
function Hu(r) {
|
|
8554
8554
|
return Fn(r);
|
|
8555
8555
|
}
|
|
8556
|
-
function
|
|
8556
|
+
function Nu(r) {
|
|
8557
8557
|
const { formatterParams: e, rawValue: t } = r, i = e ?? {}, s = i.indent ?? " ", o = i.replacer ?? null, n = ze(() => JSON.stringify(t, o, s));
|
|
8558
8558
|
return n === void 0 || n === t ? [] : [n];
|
|
8559
8559
|
}
|
|
8560
|
-
function
|
|
8560
|
+
function Vu(r, e) {
|
|
8561
8561
|
const { formatterParams: t, rawValue: i, rowData: s, separator: o, table: n } = r, a = t ?? {};
|
|
8562
8562
|
let l;
|
|
8563
8563
|
if (typeof a.formatterLookup == "function") {
|
|
@@ -8594,20 +8594,20 @@ function Nu(r, e) {
|
|
|
8594
8594
|
table: n
|
|
8595
8595
|
});
|
|
8596
8596
|
}
|
|
8597
|
-
const
|
|
8598
|
-
array:
|
|
8599
|
-
datetime:
|
|
8600
|
-
datetimediff:
|
|
8597
|
+
const Bu = {
|
|
8598
|
+
array: Du,
|
|
8599
|
+
datetime: Ou,
|
|
8600
|
+
datetimediff: Au,
|
|
8601
8601
|
html: Fn,
|
|
8602
|
-
json:
|
|
8603
|
-
link:
|
|
8604
|
-
lookup:
|
|
8605
|
-
money:
|
|
8606
|
-
number:
|
|
8602
|
+
json: Nu,
|
|
8603
|
+
link: Lu,
|
|
8604
|
+
lookup: ku,
|
|
8605
|
+
money: Fu,
|
|
8606
|
+
number: zu,
|
|
8607
8607
|
plaintext: Ln,
|
|
8608
|
-
tag:
|
|
8609
|
-
textarea:
|
|
8610
|
-
typography:
|
|
8608
|
+
tag: Mu,
|
|
8609
|
+
textarea: Hu,
|
|
8610
|
+
typography: Iu
|
|
8611
8611
|
};
|
|
8612
8612
|
function vo(r) {
|
|
8613
8613
|
const e = r.formatter;
|
|
@@ -8621,13 +8621,13 @@ function vo(r) {
|
|
|
8621
8621
|
table: r.table
|
|
8622
8622
|
};
|
|
8623
8623
|
if (e === "composite")
|
|
8624
|
-
return
|
|
8624
|
+
return Tu(t, r.columnField);
|
|
8625
8625
|
if (e === "adaptable")
|
|
8626
|
-
return
|
|
8627
|
-
const i =
|
|
8626
|
+
return Vu(t, r.columnField);
|
|
8627
|
+
const i = Bu[e];
|
|
8628
8628
|
return i ? i(t) : [];
|
|
8629
8629
|
}
|
|
8630
|
-
function
|
|
8630
|
+
function $u(r, e, t, i, s) {
|
|
8631
8631
|
let o;
|
|
8632
8632
|
s?.has(e) ? o = s.get(e) : (o = r?.columnManager?.getColumnByField?.(e) ?? null, s?.set(e, o ?? null));
|
|
8633
8633
|
const n = o?.definition;
|
|
@@ -9071,7 +9071,7 @@ const Oe = process.env.NODE_ENV === "development", dt = class dt extends I {
|
|
|
9071
9071
|
}
|
|
9072
9072
|
if (h(l.value, f, a, c))
|
|
9073
9073
|
return !0;
|
|
9074
|
-
const y =
|
|
9074
|
+
const y = $u(
|
|
9075
9075
|
t,
|
|
9076
9076
|
u,
|
|
9077
9077
|
f,
|
|
@@ -9277,9 +9277,9 @@ const Oe = process.env.NODE_ENV === "development", dt = class dt extends I {
|
|
|
9277
9277
|
}) : i = e.func(t), i;
|
|
9278
9278
|
}
|
|
9279
9279
|
};
|
|
9280
|
-
dt.moduleName = "filter", dt.filters =
|
|
9280
|
+
dt.moduleName = "filter", dt.filters = Cu;
|
|
9281
9281
|
let Ts = dt;
|
|
9282
|
-
const
|
|
9282
|
+
const ju = process.env.NODE_ENV === "development", So = class So extends I {
|
|
9283
9283
|
constructor(e) {
|
|
9284
9284
|
super(e), this.leftColumns = [], this.rightColumns = [], this.initializationMode = "left", this.active = !1, this.blocked = !0, this.registerColumnOption("frozen");
|
|
9285
9285
|
}
|
|
@@ -9310,7 +9310,7 @@ const $u = process.env.NODE_ENV === "development", So = class So extends I {
|
|
|
9310
9310
|
e.isGroup || (this.frozenCheck(e) ? (t.position = this.initializationMode, this.initializationMode === "left" ? this.leftColumns.push(e) : this.rightColumns.unshift(e), this.active = !0, e.modules.frozen = t) : this.initializationMode = "right");
|
|
9311
9311
|
}
|
|
9312
9312
|
frozenCheck(e) {
|
|
9313
|
-
return e.parent instanceof Ve && e.parent.isGroup && e.definition.frozen &&
|
|
9313
|
+
return e.parent instanceof Ve && e.parent.isGroup && e.definition.frozen && ju && console.warn(
|
|
9314
9314
|
"Frozen Column Error - Parent column group must be frozen, not individual columns or sub column groups"
|
|
9315
9315
|
), e.parent instanceof Ve && e.parent.isGroup ? this.frozenCheck(e.parent) : !!e.definition.frozen;
|
|
9316
9316
|
}
|
|
@@ -9492,9 +9492,9 @@ const Rr = process.env.NODE_ENV === "development", To = class To extends I {
|
|
|
9492
9492
|
};
|
|
9493
9493
|
To.moduleName = "frozenRows";
|
|
9494
9494
|
let Ds = To;
|
|
9495
|
-
const
|
|
9495
|
+
const Wu = process.env.NODE_ENV === "development", Gu = x`<cx-icon-button class="tabulator-group-toggle" name="keyboard_arrow_down"></cx-icon-button>`, Uu = x`<div class="tabulator-group-level-indent"></div>`, Ku = x`<cx-button size="small"><cx-icon slot="prefix" name="add" variant="outlined"></cx-icon>
|
|
9496
9496
|
Load More
|
|
9497
|
-
</cx-button>`,
|
|
9497
|
+
</cx-button>`, qu = x`<div class="tabulator-data-tree-loading">Loading...</div>`;
|
|
9498
9498
|
class Qt {
|
|
9499
9499
|
constructor(e, t, i, s, o, n, a) {
|
|
9500
9500
|
this._loadMoreRow = !1, this._loadMoreStateKey = "", this.groupManager = e, this.parent = t, this.key = s, this.level = i, this.field = o, this.hasSubGroups = e.groupIDLookups !== !1 && i < e.groupIDLookups.length - 1, this.addRow = this.hasSubGroups ? this._addRowToGroup : this._addRow, this.type = "group", this.old = a, this.rows = [], this.groups = {}, this.groupList = [], this.generator = n, this.element = !1, this.elementContents = !1, this.height = 0, this.outerHeight = 0, this.initialized = !1, this.heightInitialized = !1, this.calcs = {}, this.modules = {}, this.arrowElement = !1, this.visible = a ? a.visible : e.startOpen[i] === void 0 || e.startOpen[i] === null ? e.startOpen[0] : e.startOpen[i], this.component = null, this.createElements(), this.addBindings(), this.createValueGroups();
|
|
@@ -9513,7 +9513,7 @@ class Qt {
|
|
|
9513
9513
|
this.element = document.createElement("div"), this.element.classList.add("tabulator-row"), this.element.classList.add("tabulator-group"), this.element.classList.add("tabulator-group-level-" + this.level), this.element.setAttribute(
|
|
9514
9514
|
"role",
|
|
9515
9515
|
this.groupManager.table.options.rowGroupRole ?? "rowgroup"
|
|
9516
|
-
), this.arrowElement = B(
|
|
9516
|
+
), this.arrowElement = B(Gu), this.groupManager.table.options.movableRows !== !1 && this.groupManager.table.modExists("moveRow") && this.groupManager.table.modules.moveRow.initializeGroupHeader(
|
|
9517
9517
|
this
|
|
9518
9518
|
);
|
|
9519
9519
|
}
|
|
@@ -9580,7 +9580,7 @@ class Qt {
|
|
|
9580
9580
|
let s = i.querySelector(
|
|
9581
9581
|
".tabulator-group-level-indent"
|
|
9582
9582
|
);
|
|
9583
|
-
s || (s = B(
|
|
9583
|
+
s || (s = B(Uu), i.insertBefore(s, i.firstChild)), this.applyGroupIndent(
|
|
9584
9584
|
s,
|
|
9585
9585
|
(this.level + 1) * (this.groupManager.table.options.groupIndent ?? cs)
|
|
9586
9586
|
), s.dataset.groupLevel = this.level.toString();
|
|
@@ -9604,7 +9604,7 @@ class Qt {
|
|
|
9604
9604
|
}
|
|
9605
9605
|
// update row data to match grouping constraints
|
|
9606
9606
|
conformRowData(e) {
|
|
9607
|
-
return this.field ? e[this.field] = this.key :
|
|
9607
|
+
return this.field ? e[this.field] = this.key : Wu && console.warn(
|
|
9608
9608
|
"Data Conforming Error - Cannot conform row data to match new group as groupBy is a function"
|
|
9609
9609
|
), this.parent && (e = this.parent.conformRowData(e)), e;
|
|
9610
9610
|
}
|
|
@@ -9623,13 +9623,13 @@ class Qt {
|
|
|
9623
9623
|
return Cn(mo(this));
|
|
9624
9624
|
}
|
|
9625
9625
|
getLoadMoreState() {
|
|
9626
|
-
return
|
|
9626
|
+
return gc(
|
|
9627
9627
|
this.groupManager.table.options.groupLoadMoreMeta,
|
|
9628
9628
|
this.getPathKey()
|
|
9629
9629
|
);
|
|
9630
9630
|
}
|
|
9631
9631
|
getGroupLoadMoreEventPayload() {
|
|
9632
|
-
return
|
|
9632
|
+
return bc(this);
|
|
9633
9633
|
}
|
|
9634
9634
|
generateLoadMoreRow() {
|
|
9635
9635
|
const e = this.getLoadMoreState(), t = `hasMore:${!!e?.hasMore}|loading:${!!e?.loading}`;
|
|
@@ -9644,10 +9644,10 @@ class Qt {
|
|
|
9644
9644
|
i
|
|
9645
9645
|
), o = (this.level + 1) * (this.groupManager.table.options.groupIndent ?? cs);
|
|
9646
9646
|
if (s.create(), e.loading) {
|
|
9647
|
-
const l = B(
|
|
9647
|
+
const l = B(qu);
|
|
9648
9648
|
return s.element.appendChild(l), this.applyGroupIndent(l, o), this._loadMoreRow = s, s;
|
|
9649
9649
|
}
|
|
9650
|
-
const n = B(
|
|
9650
|
+
const n = B(Ku), a = this.getGroupLoadMoreEventPayload();
|
|
9651
9651
|
return s.element.appendChild(n), this.applyGroupIndent(n, o), n.addEventListener("click", (l) => {
|
|
9652
9652
|
l.preventDefault(), l.stopPropagation(), l.stopImmediatePropagation(), this.groupManager.table.externalEvents?.dispatch("groupLoadMore", a);
|
|
9653
9653
|
}), this._loadMoreRow = s, s;
|
|
@@ -10296,7 +10296,7 @@ const os = process.env.NODE_ENV === "development", ko = class ko extends I {
|
|
|
10296
10296
|
};
|
|
10297
10297
|
ko.moduleName = "groupRows";
|
|
10298
10298
|
let Ms = ko;
|
|
10299
|
-
const
|
|
10299
|
+
const Xu = {
|
|
10300
10300
|
cellEdit: function(r) {
|
|
10301
10301
|
"setValueProcessData" in r.component && (r.component.setValueProcessData(r.data.newValue), r.component.cellRendered());
|
|
10302
10302
|
},
|
|
@@ -10323,7 +10323,7 @@ const qu = {
|
|
|
10323
10323
|
), this.table.rowManager.regenerateRowPositions(), this.table.rowManager.reRenderInPosition());
|
|
10324
10324
|
}
|
|
10325
10325
|
}
|
|
10326
|
-
},
|
|
10326
|
+
}, Ju = {
|
|
10327
10327
|
cellEdit: function(r) {
|
|
10328
10328
|
"setValueProcessData" in r.component && (r.component.setValueProcessData(r.data.oldValue), r.component.cellRendered());
|
|
10329
10329
|
},
|
|
@@ -10350,7 +10350,7 @@ const qu = {
|
|
|
10350
10350
|
), this.table.rowManager.regenerateRowPositions(), this.table.rowManager.reRenderInPosition());
|
|
10351
10351
|
}
|
|
10352
10352
|
}
|
|
10353
|
-
},
|
|
10353
|
+
}, Yu = {
|
|
10354
10354
|
redo: function(r) {
|
|
10355
10355
|
let e;
|
|
10356
10356
|
this.table.options.history && this.table.modExists("history") && this.table.modExists("edit") && (e = this.table.modules.edit?.currentCell, e || (r.preventDefault(), this.table.modules.history?.redo()));
|
|
@@ -10359,13 +10359,13 @@ const qu = {
|
|
|
10359
10359
|
let e;
|
|
10360
10360
|
this.table.options.history && this.table.modExists("history") && this.table.modExists("edit") && (e = this.table.modules.edit?.currentCell, e || (r.preventDefault(), this.table.modules.history?.undo()));
|
|
10361
10361
|
}
|
|
10362
|
-
},
|
|
10362
|
+
}, Qu = {
|
|
10363
10363
|
redo: ["ctrl + 89", "meta + 89"],
|
|
10364
10364
|
undo: ["ctrl + 90", "meta + 90"]
|
|
10365
|
-
},
|
|
10365
|
+
}, Zu = {
|
|
10366
10366
|
keybindings: {
|
|
10367
|
-
actions:
|
|
10368
|
-
bindings:
|
|
10367
|
+
actions: Yu,
|
|
10368
|
+
bindings: Qu
|
|
10369
10369
|
}
|
|
10370
10370
|
}, Sr = process.env.NODE_ENV === "development", ut = class ut extends I {
|
|
10371
10371
|
constructor(e) {
|
|
@@ -10485,9 +10485,9 @@ const qu = {
|
|
|
10485
10485
|
});
|
|
10486
10486
|
}
|
|
10487
10487
|
};
|
|
10488
|
-
ut.moduleName = "history", ut.moduleExtensions =
|
|
10488
|
+
ut.moduleName = "history", ut.moduleExtensions = Zu, ut.undoers = Ju, ut.redoers = Xu;
|
|
10489
10489
|
let Ls = ut;
|
|
10490
|
-
const
|
|
10490
|
+
const ep = process.env.NODE_ENV === "development", Do = class Do extends I {
|
|
10491
10491
|
constructor(e) {
|
|
10492
10492
|
super(e), this.fieldIndex = [], this.hasIndex = !1;
|
|
10493
10493
|
}
|
|
@@ -10495,7 +10495,7 @@ const Zu = process.env.NODE_ENV === "development", Do = class Do extends I {
|
|
|
10495
10495
|
this.tableElementCheck();
|
|
10496
10496
|
}
|
|
10497
10497
|
tableElementCheck() {
|
|
10498
|
-
this.table.originalElement?.tagName === "TABLE" && (this.table.originalElement.childNodes.length ? this.parseTable() :
|
|
10498
|
+
this.table.originalElement?.tagName === "TABLE" && (this.table.originalElement.childNodes.length ? this.parseTable() : ep && console.warn(
|
|
10499
10499
|
"Unable to parse data from empty table tag, Tabulator should be initialized on a div tag unless importing data from a table element."
|
|
10500
10500
|
));
|
|
10501
10501
|
}
|
|
@@ -10568,7 +10568,7 @@ const Zu = process.env.NODE_ENV === "development", Do = class Do extends I {
|
|
|
10568
10568
|
};
|
|
10569
10569
|
Do.moduleName = "htmlTableImport";
|
|
10570
10570
|
let Fs = Do;
|
|
10571
|
-
function
|
|
10571
|
+
function tp(r) {
|
|
10572
10572
|
return r;
|
|
10573
10573
|
}
|
|
10574
10574
|
var Pi = { exports: {} };
|
|
@@ -10578,12 +10578,12 @@ v5.5.4
|
|
|
10578
10578
|
https://github.com/mholt/PapaParse
|
|
10579
10579
|
License: MIT
|
|
10580
10580
|
*/
|
|
10581
|
-
var
|
|
10582
|
-
function
|
|
10581
|
+
var ip = Pi.exports, Tr;
|
|
10582
|
+
function sp() {
|
|
10583
10583
|
return Tr || (Tr = 1, function(r, e) {
|
|
10584
10584
|
((t, i) => {
|
|
10585
10585
|
r.exports = i();
|
|
10586
|
-
})(
|
|
10586
|
+
})(ip, function t() {
|
|
10587
10587
|
var i = typeof self < "u" ? self : typeof window < "u" ? window : i !== void 0 ? i : {}, s, o = !i.document && !!i.postMessage, n = i.IS_PAPA_WORKER || !1, a = {}, l = 0, h = {};
|
|
10588
10588
|
function c(g) {
|
|
10589
10589
|
return g.charCodeAt(0) === 65279 ? g.slice(1) : g;
|
|
@@ -10992,23 +10992,23 @@ function ip() {
|
|
|
10992
10992
|
});
|
|
10993
10993
|
}(Pi)), Pi.exports;
|
|
10994
10994
|
}
|
|
10995
|
-
var
|
|
10996
|
-
const yo = /* @__PURE__ */
|
|
10997
|
-
function
|
|
10995
|
+
var op = sp();
|
|
10996
|
+
const yo = /* @__PURE__ */ za(op);
|
|
10997
|
+
function rp(r) {
|
|
10998
10998
|
const e = yo.parse(r, { header: !1, skipEmptyLines: !0 }), t = e.errors.filter((i) => i.code !== "UndetectableDelimiter");
|
|
10999
10999
|
if (t.length > 0)
|
|
11000
11000
|
throw new Error(`CSV parse error: ${t[0].message}`);
|
|
11001
11001
|
return e.data;
|
|
11002
11002
|
}
|
|
11003
|
-
const
|
|
11004
|
-
async function
|
|
11003
|
+
const np = process.env.NODE_ENV === "development";
|
|
11004
|
+
async function ap(r) {
|
|
11005
11005
|
try {
|
|
11006
11006
|
return JSON.parse(r);
|
|
11007
11007
|
} catch (e) {
|
|
11008
|
-
throw
|
|
11008
|
+
throw np && console.warn("JSON Import Error - File contents is invalid JSON", e), new Error("Invalid JSON format");
|
|
11009
11009
|
}
|
|
11010
11010
|
}
|
|
11011
|
-
const kr = process.env.NODE_ENV === "development",
|
|
11011
|
+
const kr = process.env.NODE_ENV === "development", lp = function(r) {
|
|
11012
11012
|
const t = this.dependencyRegistry.lookup("XLSX");
|
|
11013
11013
|
if (!t)
|
|
11014
11014
|
return kr && console.warn("XLSX library not found in dependency registry"), [];
|
|
@@ -11017,11 +11017,11 @@ const kr = process.env.NODE_ENV === "development", ap = function(r) {
|
|
|
11017
11017
|
return kr && console.warn("XLSX workbook contains no sheets"), [];
|
|
11018
11018
|
const s = i.Sheets[i.SheetNames[0]];
|
|
11019
11019
|
return t.utils.sheet_to_json(s, { header: 1 });
|
|
11020
|
-
},
|
|
11021
|
-
array:
|
|
11022
|
-
csv:
|
|
11023
|
-
json:
|
|
11024
|
-
xlsx:
|
|
11020
|
+
}, hp = {
|
|
11021
|
+
array: tp,
|
|
11022
|
+
csv: rp,
|
|
11023
|
+
json: ap,
|
|
11024
|
+
xlsx: lp
|
|
11025
11025
|
}, di = process.env.NODE_ENV === "development", bi = class bi extends I {
|
|
11026
11026
|
constructor(e) {
|
|
11027
11027
|
super(e), this.registerTableOption("importFormat"), this.registerTableOption("importReader", "text"), this.registerTableOption("importHeaderTransform"), this.registerTableOption("importValueTransform"), this.registerTableOption("importDataValidator"), this.registerTableOption("importFileValidator");
|
|
@@ -11178,7 +11178,7 @@ const kr = process.env.NODE_ENV === "development", ap = function(r) {
|
|
|
11178
11178
|
return this.dispatch("import-imported", e), this.dispatchExternal("importImported", e), this.table.dataLoader?.clearAlert(), this.table.setData(e);
|
|
11179
11179
|
}
|
|
11180
11180
|
};
|
|
11181
|
-
bi.moduleName = "import", bi.importers =
|
|
11181
|
+
bi.moduleName = "import", bi.importers = hp;
|
|
11182
11182
|
let _s = bi;
|
|
11183
11183
|
const Mo = class Mo extends I {
|
|
11184
11184
|
constructor(e) {
|
|
@@ -11364,7 +11364,7 @@ const Mo = class Mo extends I {
|
|
|
11364
11364
|
};
|
|
11365
11365
|
Mo.moduleName = "interaction";
|
|
11366
11366
|
let zs = Mo;
|
|
11367
|
-
const
|
|
11367
|
+
const cp = {
|
|
11368
11368
|
keyBlock: function(r) {
|
|
11369
11369
|
r.stopPropagation(), r.preventDefault();
|
|
11370
11370
|
},
|
|
@@ -11412,7 +11412,7 @@ const hp = {
|
|
|
11412
11412
|
const e = this.table.rowManager;
|
|
11413
11413
|
e && (r.preventDefault(), e.displayRowsCount && e.scrollToRow(e.getDisplayRows()[0]), this.table.element.focus());
|
|
11414
11414
|
}
|
|
11415
|
-
},
|
|
11415
|
+
}, dp = {
|
|
11416
11416
|
navDown: 40,
|
|
11417
11417
|
navLeft: 37,
|
|
11418
11418
|
navNext: 9,
|
|
@@ -11423,7 +11423,7 @@ const hp = {
|
|
|
11423
11423
|
scrollPageUp: 33,
|
|
11424
11424
|
scrollToEnd: 35,
|
|
11425
11425
|
scrollToStart: 36
|
|
11426
|
-
},
|
|
11426
|
+
}, up = process.env.NODE_ENV === "development", Lt = class Lt extends I {
|
|
11427
11427
|
constructor(e) {
|
|
11428
11428
|
super(e), this.watchKeys = null, this.pressedKeys = null, this.keyupBinding = !1, this.keydownBinding = !1, this.registerTableOption("keybindings", {}), this.registerTableOption("tabEndNewRow", !1);
|
|
11429
11429
|
}
|
|
@@ -11437,7 +11437,7 @@ const hp = {
|
|
|
11437
11437
|
(Array.isArray(i) ? i : [i]).forEach((o) => {
|
|
11438
11438
|
this.mapBinding(t, o);
|
|
11439
11439
|
});
|
|
11440
|
-
})) :
|
|
11440
|
+
})) : up && console.warn("Key Binding Error - no such action:", t);
|
|
11441
11441
|
}
|
|
11442
11442
|
mapBinding(e, t) {
|
|
11443
11443
|
const i = {
|
|
@@ -11490,7 +11490,7 @@ const hp = {
|
|
|
11490
11490
|
}), i && t.action.call(this, e), !0) : !1;
|
|
11491
11491
|
}
|
|
11492
11492
|
};
|
|
11493
|
-
Lt.moduleName = "keybindings", Lt.bindings =
|
|
11493
|
+
Lt.moduleName = "keybindings", Lt.bindings = dp, Lt.actions = cp;
|
|
11494
11494
|
let Os = Lt;
|
|
11495
11495
|
const Lo = class Lo extends I {
|
|
11496
11496
|
constructor(e) {
|
|
@@ -11775,7 +11775,7 @@ const Fo = class Fo extends I {
|
|
|
11775
11775
|
};
|
|
11776
11776
|
Fo.moduleName = "moveColumn";
|
|
11777
11777
|
let Ps = Fo;
|
|
11778
|
-
const
|
|
11778
|
+
const pp = {
|
|
11779
11779
|
add: function(r, e, t) {
|
|
11780
11780
|
return r && this.table.addRow(r.getData("")), !0;
|
|
11781
11781
|
},
|
|
@@ -11788,7 +11788,7 @@ const up = {
|
|
|
11788
11788
|
update: function(r, e, t) {
|
|
11789
11789
|
return e && r ? (e.update(r.getData("")), !0) : !1;
|
|
11790
11790
|
}
|
|
11791
|
-
},
|
|
11791
|
+
}, fp = {
|
|
11792
11792
|
delete: function(r, e, t) {
|
|
11793
11793
|
r && r.delete();
|
|
11794
11794
|
}
|
|
@@ -12134,9 +12134,9 @@ const up = {
|
|
|
12134
12134
|
}
|
|
12135
12135
|
}
|
|
12136
12136
|
};
|
|
12137
|
-
Gt.moduleName = "moveRow", Gt.senders =
|
|
12137
|
+
Gt.moduleName = "moveRow", Gt.senders = fp, Gt.receivers = pp;
|
|
12138
12138
|
let Is = Gt;
|
|
12139
|
-
const
|
|
12139
|
+
const mp = {}, gp = process.env.NODE_ENV === "development", ii = class ii extends I {
|
|
12140
12140
|
constructor(e) {
|
|
12141
12141
|
super(e), this.allowedTypes = ["", "data", "edit", "clipboard", "import"], this.enabled = !0, this.registerColumnOption("mutator"), this.registerColumnOption("mutatorParams"), this.registerColumnOption("mutatorData"), this.registerColumnOption("mutatorDataParams"), this.registerColumnOption("mutatorEdit"), this.registerColumnOption("mutatorEditParams"), this.registerColumnOption("mutatorClipboard"), this.registerColumnOption("mutatorClipboardParams"), this.registerColumnOption("mutatorImport"), this.registerColumnOption("mutatorImportParams"), this.registerColumnOption("mutateLink");
|
|
12142
12142
|
}
|
|
@@ -12162,7 +12162,7 @@ const fp = {}, mp = process.env.NODE_ENV === "development", ii = class ii extend
|
|
|
12162
12162
|
let t = !1;
|
|
12163
12163
|
switch (typeof e) {
|
|
12164
12164
|
case "string":
|
|
12165
|
-
ii.mutators[e] ? t = ii.mutators[e] :
|
|
12165
|
+
ii.mutators[e] ? t = ii.mutators[e] : gp && console.warn(
|
|
12166
12166
|
"Mutator Error - No such mutator found, ignoring: ",
|
|
12167
12167
|
e
|
|
12168
12168
|
);
|
|
@@ -12225,7 +12225,7 @@ const fp = {}, mp = process.env.NODE_ENV === "development", ii = class ii extend
|
|
|
12225
12225
|
this.enabled = !1;
|
|
12226
12226
|
}
|
|
12227
12227
|
};
|
|
12228
|
-
ii.moduleName = "mutator", ii.mutators =
|
|
12228
|
+
ii.moduleName = "mutator", ii.mutators = mp;
|
|
12229
12229
|
let Hs = ii;
|
|
12230
12230
|
const _o = class _o extends I {
|
|
12231
12231
|
constructor(e) {
|
|
@@ -12506,7 +12506,7 @@ const _o = class _o extends I {
|
|
|
12506
12506
|
};
|
|
12507
12507
|
_o.moduleName = "page";
|
|
12508
12508
|
let Ns = _o;
|
|
12509
|
-
const Dr = process.env.NODE_ENV === "development",
|
|
12509
|
+
const Dr = process.env.NODE_ENV === "development", bp = {
|
|
12510
12510
|
cookie: function(r, e) {
|
|
12511
12511
|
let t = document.cookie;
|
|
12512
12512
|
const i = r + "-" + e, s = t.indexOf(i + "=");
|
|
@@ -12534,7 +12534,7 @@ const Dr = process.env.NODE_ENV === "development", gp = {
|
|
|
12534
12534
|
return Dr && console.error("Failed to parse localStorage data:", i), !1;
|
|
12535
12535
|
}
|
|
12536
12536
|
}
|
|
12537
|
-
},
|
|
12537
|
+
}, wp = {
|
|
12538
12538
|
cookie: function(r, e, t) {
|
|
12539
12539
|
const i = /* @__PURE__ */ new Date();
|
|
12540
12540
|
i.setDate(i.getDate() + 1e4), document.cookie = r + "-" + e + "=" + encodeURIComponent(JSON.stringify(t)) + "; expires=" + i.toUTCString();
|
|
@@ -12749,7 +12749,7 @@ const Dr = process.env.NODE_ENV === "development", gp = {
|
|
|
12749
12749
|
}), t;
|
|
12750
12750
|
}
|
|
12751
12751
|
};
|
|
12752
|
-
Ne.moduleName = "persistence", Ne.moduleInitOrder = -10, Ne.readers =
|
|
12752
|
+
Ne.moduleName = "persistence", Ne.moduleInitOrder = -10, Ne.readers = bp, Ne.writers = wp;
|
|
12753
12753
|
let Vs = Ne;
|
|
12754
12754
|
const zo = class zo extends I {
|
|
12755
12755
|
constructor(e) {
|
|
@@ -13202,25 +13202,25 @@ const Po = class Po extends I {
|
|
|
13202
13202
|
const n = i.definition.resizable;
|
|
13203
13203
|
let a = {};
|
|
13204
13204
|
const l = i.getLastColumn();
|
|
13205
|
-
if (e === "header" && (o = (i.definition.formatter == "textarea" || i.definition.variableHeight) ?? !1, a = { variableHeight: o }), (n === !0 || n
|
|
13206
|
-
const
|
|
13207
|
-
|
|
13208
|
-
|
|
13205
|
+
if (e === "header" && (o = (i.definition.formatter == "textarea" || i.definition.variableHeight) ?? !1, a = { variableHeight: o }), (e === "header" && (n === !0 || n === "header") || e === "cell" && n === "cell") && l && this._checkResizability(l)) {
|
|
13206
|
+
const c = document.createElement("span");
|
|
13207
|
+
c.className = "tabulator-col-resize-handle", c.addEventListener("click", (p) => {
|
|
13208
|
+
p.stopPropagation();
|
|
13209
13209
|
});
|
|
13210
|
-
const
|
|
13210
|
+
const d = (p) => {
|
|
13211
13211
|
this.startColumn = i;
|
|
13212
|
-
const
|
|
13213
|
-
this.initialNextColumn = this.nextColumn =
|
|
13212
|
+
const u = l.nextColumn();
|
|
13213
|
+
this.initialNextColumn = this.nextColumn = u === !1 ? null : u, this._mouseDown(p, l, c);
|
|
13214
13214
|
};
|
|
13215
|
-
if (
|
|
13216
|
-
const
|
|
13217
|
-
|
|
13215
|
+
if (c.addEventListener("mousedown", d), c.addEventListener("touchstart", d, { passive: !0 }), c.addEventListener("dblclick", async (p) => {
|
|
13216
|
+
const u = l.getWidth();
|
|
13217
|
+
p.stopPropagation(), await l.reinitializeWidth(!0), u !== l.getWidth() && (this.dispatch("column-resized", l), this.dispatchExternal("columnResized", l.getComponent()));
|
|
13218
13218
|
}), i.modules.frozen) {
|
|
13219
|
-
|
|
13220
|
-
const
|
|
13221
|
-
|
|
13219
|
+
c.style.position = "sticky";
|
|
13220
|
+
const p = this.frozenColumnOffset(i);
|
|
13221
|
+
p && (c.style[i.modules.frozen.position] = p);
|
|
13222
13222
|
}
|
|
13223
|
-
a.handleEl =
|
|
13223
|
+
a.handleEl = c, s.parentNode && !i.hidden && s.after(c);
|
|
13224
13224
|
}
|
|
13225
13225
|
t.modules.resize = a;
|
|
13226
13226
|
}
|
|
@@ -13441,7 +13441,7 @@ const Ho = class Ho extends I {
|
|
|
13441
13441
|
};
|
|
13442
13442
|
Ho.moduleName = "resizeTable";
|
|
13443
13443
|
let Us = Ho;
|
|
13444
|
-
function
|
|
13444
|
+
function vp(r) {
|
|
13445
13445
|
const e = document.createElement("div"), t = r.getRow()._row.modules.responsiveLayout;
|
|
13446
13446
|
e.classList.add("tabulator-responsive-collapse-toggle"), e.innerHTML = `<svg class='tabulator-responsive-collapse-toggle-open' viewBox="0 0 24 24">
|
|
13447
13447
|
<line x1="7" y1="12" x2="17" y2="12" fill="none" stroke-width="3" stroke-linecap="round" />
|
|
@@ -13459,10 +13459,10 @@ function wp(r) {
|
|
|
13459
13459
|
s.stopImmediatePropagation(), i(!t.open), r.getTable()?.rowManager?.adjustTableSize();
|
|
13460
13460
|
}), i(t.open), e;
|
|
13461
13461
|
}
|
|
13462
|
-
const
|
|
13462
|
+
const yp = {
|
|
13463
13463
|
format: {
|
|
13464
13464
|
formatters: {
|
|
13465
|
-
responsiveCollapse:
|
|
13465
|
+
responsiveCollapse: vp
|
|
13466
13466
|
}
|
|
13467
13467
|
}
|
|
13468
13468
|
}, $i = class $i extends I {
|
|
@@ -13624,13 +13624,13 @@ const vp = {
|
|
|
13624
13624
|
}), Object.keys(e).length ? t : "";
|
|
13625
13625
|
}
|
|
13626
13626
|
};
|
|
13627
|
-
$i.moduleName = "responsiveLayout", $i.moduleExtensions =
|
|
13627
|
+
$i.moduleName = "responsiveLayout", $i.moduleExtensions = yp;
|
|
13628
13628
|
let Ks = $i;
|
|
13629
|
-
const
|
|
13630
|
-
function
|
|
13631
|
-
const i = B(
|
|
13629
|
+
const Cp = x`<cx-checkbox></cx-checkbox>`;
|
|
13630
|
+
function Ep(r, e, t) {
|
|
13631
|
+
const i = B(Cp);
|
|
13632
13632
|
let s = i, o = !1;
|
|
13633
|
-
i.setAttribute("aria-label", "Select Row"), i.size =
|
|
13633
|
+
i.setAttribute("aria-label", "Select Row"), i.size = Ma.Small;
|
|
13634
13634
|
const n = this.table;
|
|
13635
13635
|
if (n.modExists("selectRow", !0)) {
|
|
13636
13636
|
i.addEventListener("click", (l) => {
|
|
@@ -13654,10 +13654,10 @@ function Cp(r, e, t) {
|
|
|
13654
13654
|
}
|
|
13655
13655
|
return s;
|
|
13656
13656
|
}
|
|
13657
|
-
const
|
|
13657
|
+
const xp = {
|
|
13658
13658
|
format: {
|
|
13659
13659
|
formatters: {
|
|
13660
|
-
rowSelection:
|
|
13660
|
+
rowSelection: Ep
|
|
13661
13661
|
}
|
|
13662
13662
|
}
|
|
13663
13663
|
}, Lr = process.env.NODE_ENV === "development", ji = class ji extends I {
|
|
@@ -13883,9 +13883,9 @@ const Ep = {
|
|
|
13883
13883
|
this._deselectRow(s, !0);
|
|
13884
13884
|
}
|
|
13885
13885
|
};
|
|
13886
|
-
ji.moduleName = "selectRow", ji.moduleExtensions =
|
|
13886
|
+
ji.moduleName = "selectRow", ji.moduleExtensions = xp;
|
|
13887
13887
|
let qs = ji;
|
|
13888
|
-
const
|
|
13888
|
+
const Rp = {
|
|
13889
13889
|
range: function(r) {
|
|
13890
13890
|
if (!r || r.length === 0)
|
|
13891
13891
|
return [];
|
|
@@ -13905,7 +13905,7 @@ const xp = {
|
|
|
13905
13905
|
}
|
|
13906
13906
|
return e;
|
|
13907
13907
|
}
|
|
13908
|
-
},
|
|
13908
|
+
}, Sp = {
|
|
13909
13909
|
range: function(r) {
|
|
13910
13910
|
const e = [], t = [], i = this.table.modules.selectRange.activeRange;
|
|
13911
13911
|
let s = !1, o, n, a, l, h;
|
|
@@ -13927,16 +13927,16 @@ const xp = {
|
|
|
13927
13927
|
}
|
|
13928
13928
|
return !1;
|
|
13929
13929
|
}
|
|
13930
|
-
},
|
|
13930
|
+
}, Tp = {
|
|
13931
13931
|
range: function() {
|
|
13932
13932
|
const r = this.modules.selectRange.selectedColumns();
|
|
13933
13933
|
return this.columnManager?.rowHeader && r.unshift(this.columnManager.rowHeader), r;
|
|
13934
13934
|
}
|
|
13935
|
-
},
|
|
13935
|
+
}, kp = process.env.NODE_ENV === "development", Dp = {
|
|
13936
13936
|
range: function() {
|
|
13937
|
-
return this.modules?.selectRange ? this.modules.selectRange.selectedRows() : (
|
|
13937
|
+
return this.modules?.selectRange ? this.modules.selectRange.selectedRows() : (kp && console.warn("SelectRange module not loaded"), []);
|
|
13938
13938
|
}
|
|
13939
|
-
},
|
|
13939
|
+
}, Mp = {
|
|
13940
13940
|
rangeExpandDown: function(r) {
|
|
13941
13941
|
this.dispatch("keybinding-nav-range", r, "down", !1, !0);
|
|
13942
13942
|
},
|
|
@@ -13973,7 +13973,7 @@ const xp = {
|
|
|
13973
13973
|
rangeJumpUp: function(r) {
|
|
13974
13974
|
this.dispatch("keybinding-nav-range", r, "up", !0, !1);
|
|
13975
13975
|
}
|
|
13976
|
-
},
|
|
13976
|
+
}, Lp = {
|
|
13977
13977
|
rangeExpandDown: "shift + 40",
|
|
13978
13978
|
rangeExpandJumpDown: ["ctrl + shift + 40", "meta + shift + 40"],
|
|
13979
13979
|
rangeExpandJumpLeft: ["ctrl + shift + 37", "meta + shift + 37"],
|
|
@@ -13986,21 +13986,21 @@ const xp = {
|
|
|
13986
13986
|
rangeJumpLeft: ["ctrl + 37", "meta + 37"],
|
|
13987
13987
|
rangeJumpRight: ["ctrl + 39", "meta + 39"],
|
|
13988
13988
|
rangeJumpUp: ["ctrl + 38", "meta + 38"]
|
|
13989
|
-
},
|
|
13989
|
+
}, Fp = {
|
|
13990
13990
|
clipboard: {
|
|
13991
|
-
pasteActions:
|
|
13992
|
-
pasteParsers:
|
|
13991
|
+
pasteActions: Rp,
|
|
13992
|
+
pasteParsers: Sp
|
|
13993
13993
|
},
|
|
13994
13994
|
export: {
|
|
13995
|
-
columnLookups:
|
|
13996
|
-
rowLookups:
|
|
13995
|
+
columnLookups: Tp,
|
|
13996
|
+
rowLookups: Dp
|
|
13997
13997
|
},
|
|
13998
13998
|
keybindings: {
|
|
13999
|
-
actions:
|
|
14000
|
-
bindings:
|
|
13999
|
+
actions: Mp,
|
|
14000
|
+
bindings: Lp
|
|
14001
14001
|
}
|
|
14002
14002
|
};
|
|
14003
|
-
class
|
|
14003
|
+
class _p {
|
|
14004
14004
|
constructor(e) {
|
|
14005
14005
|
return this._range = e, new Proxy(this, {
|
|
14006
14006
|
get: function(t, i) {
|
|
@@ -14065,7 +14065,7 @@ class Fp {
|
|
|
14065
14065
|
}
|
|
14066
14066
|
}
|
|
14067
14067
|
const Fr = process.env.NODE_ENV === "development";
|
|
14068
|
-
class
|
|
14068
|
+
class zp extends ke {
|
|
14069
14069
|
constructor(e, t, i, s) {
|
|
14070
14070
|
super(e), this.rangeManager = t, this.element = null, this.initialized = !1, this.initializing = {
|
|
14071
14071
|
end: !1,
|
|
@@ -14198,7 +14198,7 @@ class _p extends ke {
|
|
|
14198
14198
|
return t.length ? (i.start = t[0], i.end = t.at(-1)) : Fr && console.warn("No bounds defined on range"), i;
|
|
14199
14199
|
}
|
|
14200
14200
|
getComponent() {
|
|
14201
|
-
return this.component ??= new
|
|
14201
|
+
return this.component ??= new _p(this), this.component;
|
|
14202
14202
|
}
|
|
14203
14203
|
destroy(e) {
|
|
14204
14204
|
this.destroyed = !0, this.element && this.element.remove(), e && this.rangeManager.rangeRemoved(this), this.initialized && this.dispatchExternal("rangeRemoved", this.getComponent());
|
|
@@ -14209,9 +14209,9 @@ class _p extends ke {
|
|
|
14209
14209
|
), !this.destroyed;
|
|
14210
14210
|
}
|
|
14211
14211
|
}
|
|
14212
|
-
const Bt = process.env.NODE_ENV === "development",
|
|
14212
|
+
const Bt = process.env.NODE_ENV === "development", Op = x`<div class="tabulator-range-cell-hover"></div>`, wi = class wi extends I {
|
|
14213
14213
|
constructor(e) {
|
|
14214
|
-
super(e), this.selecting = Ue.Cell, this.mousedown = !1, this.ranges = [], this.overlay = null, this.rowHeader = null, this.debouncedLayoutRanges =
|
|
14214
|
+
super(e), this.selecting = Ue.Cell, this.mousedown = !1, this.ranges = [], this.overlay = null, this.rowHeader = null, this.debouncedLayoutRanges = Oa(() => {
|
|
14215
14215
|
this.layoutRanges();
|
|
14216
14216
|
}, 200), this.layoutChangeRaf = null, this.columnSelection = !1, this.rowSelection = !1, this.maxRanges = 0, this.activeRange = !1, this.blockKeydown = !1, this.rangeContainer = null, this.activeRangeCellElement = null, this.hoverRangeCellElement = null, this.hoveredCell = null, this.keyDownEvent = this._handleKeyDown.bind(this), this.mouseUpEvent = this._handleMouseUp.bind(this), this.registerTableOption("selectableRange", !1), this.registerTableOption("selectableRangeColumns", !1), this.registerTableOption("selectableRangeRows", !1), this.registerTableOption("selectableRangeClearCells", !1), this.registerTableOption("selectableRangeClearCellsValue", void 0), this.registerTableOption("selectableRangeAutoFocus", !0), this.registerTableFunction("getRangesData", this.getRangesData.bind(this)), this.registerTableFunction("getRanges", this.getRanges.bind(this)), this.registerTableFunction(
|
|
14217
14217
|
"addRange",
|
|
@@ -14245,7 +14245,7 @@ const Bt = process.env.NODE_ENV === "development", zp = x`<div class="tabulator-
|
|
|
14245
14245
|
));
|
|
14246
14246
|
}
|
|
14247
14247
|
initializeTable() {
|
|
14248
|
-
this.overlay = document.createElement("div"), this.overlay.classList.add("tabulator-range-overlay"), this.rangeContainer = document.createElement("div"), this.rangeContainer.classList.add("tabulator-range-container"), this.activeRangeCellElement = document.createElement("div"), this.activeRangeCellElement.classList.add("tabulator-range-cell-active"), this.hoverRangeCellElement = B(
|
|
14248
|
+
this.overlay = document.createElement("div"), this.overlay.classList.add("tabulator-range-overlay"), this.rangeContainer = document.createElement("div"), this.rangeContainer.classList.add("tabulator-range-container"), this.activeRangeCellElement = document.createElement("div"), this.activeRangeCellElement.classList.add("tabulator-range-cell-active"), this.hoverRangeCellElement = B(Op), this.overlay.appendChild(this.rangeContainer), this.overlay.appendChild(this.hoverRangeCellElement), this.overlay.appendChild(this.activeRangeCellElement), this.table.rowManager?.element && this.table.rowManager.element.addEventListener(
|
|
14249
14249
|
"keydown",
|
|
14250
14250
|
this.keyDownEvent
|
|
14251
14251
|
), this.resetRanges(), this.table.rowManager?.element && this.overlay && this.table.rowManager.element.appendChild(this.overlay), this.table.columnManager?.element && this.table.columnManager.element.setAttribute("tabindex", "0"), this.table.element.classList.add("tabulator-ranges");
|
|
@@ -14725,7 +14725,7 @@ const Bt = process.env.NODE_ENV === "development", zp = x`<div class="tabulator-
|
|
|
14725
14725
|
const s = this.ranges.shift();
|
|
14726
14726
|
s && s.destroy(!1);
|
|
14727
14727
|
}
|
|
14728
|
-
const i = new
|
|
14728
|
+
const i = new zp(this.table, this, e, t);
|
|
14729
14729
|
return this.activeRange = i, this.ranges.push(i), this.rangeContainer && i.element && this.rangeContainer.appendChild(i.element), i;
|
|
14730
14730
|
}
|
|
14731
14731
|
resetRanges() {
|
|
@@ -14758,9 +14758,9 @@ const Bt = process.env.NODE_ENV === "development", zp = x`<div class="tabulator-
|
|
|
14758
14758
|
return e == null || e === "";
|
|
14759
14759
|
}
|
|
14760
14760
|
};
|
|
14761
|
-
wi.moduleName = "selectRange", wi.moduleInitOrder = 1, wi.moduleExtensions =
|
|
14761
|
+
wi.moduleName = "selectRange", wi.moduleInitOrder = 1, wi.moduleExtensions = Fp;
|
|
14762
14762
|
let Xs = wi;
|
|
14763
|
-
function
|
|
14763
|
+
function Ap(r, e, t, i, s, o, n) {
|
|
14764
14764
|
const a = n.alignEmptyValues;
|
|
14765
14765
|
let l = 0;
|
|
14766
14766
|
if (!r && r !== 0)
|
|
@@ -14798,7 +14798,7 @@ function Op(r, e, t, i, s, o, n) {
|
|
|
14798
14798
|
}
|
|
14799
14799
|
return (a === "top" && o === "desc" || a === "bottom" && o === "asc") && (l *= -1), l;
|
|
14800
14800
|
}
|
|
14801
|
-
function
|
|
14801
|
+
function Pp(r, e, t, i, s, o, n) {
|
|
14802
14802
|
const a = n.type || "length", l = n.alignEmptyValues;
|
|
14803
14803
|
let h = 0;
|
|
14804
14804
|
const c = this.table;
|
|
@@ -14846,10 +14846,10 @@ function Ap(r, e, t, i, s, o, n) {
|
|
|
14846
14846
|
return a === "string" ? String(p(r)).toLowerCase().localeCompare(String(p(e)).toLowerCase()) : p(e) - p(r);
|
|
14847
14847
|
return (l === "top" && o === "desc" || l === "bottom" && o === "asc") && (h *= -1), h;
|
|
14848
14848
|
}
|
|
14849
|
-
function
|
|
14849
|
+
function Ip(r, e, t, i, s, o, n) {
|
|
14850
14850
|
return (r === !0 || r === "true" || r === "True" || r === 1 ? 1 : 0) - (e === !0 || e === "true" || e === "True" || e === 1 ? 1 : 0);
|
|
14851
14851
|
}
|
|
14852
|
-
const
|
|
14852
|
+
const Hp = process.env.NODE_ENV === "development";
|
|
14853
14853
|
function Co(r, e, t, i, s, o, n) {
|
|
14854
14854
|
const { alignEmptyValues: a, format: l = "dd/MM/yyyy HH:mm:ss" } = n || {}, h = this.table.dependencyRegistry.lookup(
|
|
14855
14855
|
["luxon", "DateTime"],
|
|
@@ -14867,17 +14867,17 @@ function Co(r, e, t, i, s, o, n) {
|
|
|
14867
14867
|
}
|
|
14868
14868
|
return (a === "top" && o === "desc" || a === "bottom" && o === "asc") && (c *= -1), c;
|
|
14869
14869
|
} else
|
|
14870
|
-
return
|
|
14870
|
+
return Hp && console.error("Sort Error - 'datetime' sorter is dependent on luxon.js"), 0;
|
|
14871
14871
|
}
|
|
14872
|
-
function
|
|
14872
|
+
function Np(r, e, t, i, s, o, n) {
|
|
14873
14873
|
const a = n ?? {};
|
|
14874
14874
|
return a.format || (a.format = "dd/MM/yyyy"), Co.call(this, r, e, t, i, s, o, a);
|
|
14875
14875
|
}
|
|
14876
|
-
function
|
|
14876
|
+
function Vp(r, e, t, i, s, o, n) {
|
|
14877
14877
|
const a = (c) => c === null || typeof c > "u" || c === "", l = a(r) ? 0 : 1, h = a(e) ? 0 : 1;
|
|
14878
14878
|
return l - h;
|
|
14879
14879
|
}
|
|
14880
|
-
function
|
|
14880
|
+
function Bp(r, e, t, i, s, o, n) {
|
|
14881
14881
|
const a = n ?? {}, l = a.alignEmptyValues, h = a.decimalSeparator, c = a.thousandSeparator;
|
|
14882
14882
|
let d = 0, p = String(r), u = String(e);
|
|
14883
14883
|
c && (p = p.split(c).join(""), u = u.split(c).join("")), h && (p = p.split(h).join("."), u = u.split(h).join("."));
|
|
@@ -14890,7 +14890,7 @@ function Vp(r, e, t, i, s, o, n) {
|
|
|
14890
14890
|
return f - y;
|
|
14891
14891
|
return (l === "top" && o === "desc" || l === "bottom" && o === "asc") && (d *= -1), d;
|
|
14892
14892
|
}
|
|
14893
|
-
function
|
|
14893
|
+
function $p(r, e, t, i, s, o, n = {}) {
|
|
14894
14894
|
const a = n.alignEmptyValues;
|
|
14895
14895
|
let l = 0, h;
|
|
14896
14896
|
const c = (d) => d == null || d === "";
|
|
@@ -14911,21 +14911,21 @@ function Bp(r, e, t, i, s, o, n = {}) {
|
|
|
14911
14911
|
}
|
|
14912
14912
|
return (a === "top" && o === "desc" || a === "bottom" && o === "asc") && (l *= -1), l;
|
|
14913
14913
|
}
|
|
14914
|
-
function
|
|
14914
|
+
function jp(r, e, t, i, s, o, n) {
|
|
14915
14915
|
const a = n ?? {}, l = a.format ? a : { ...a, format: "HH:mm" };
|
|
14916
14916
|
return Co.call(this, r, e, t, i, s, o, l);
|
|
14917
14917
|
}
|
|
14918
|
-
const
|
|
14919
|
-
alphanum:
|
|
14920
|
-
array:
|
|
14921
|
-
boolean:
|
|
14922
|
-
date:
|
|
14918
|
+
const Wp = {
|
|
14919
|
+
alphanum: Ap,
|
|
14920
|
+
array: Pp,
|
|
14921
|
+
boolean: Ip,
|
|
14922
|
+
date: Np,
|
|
14923
14923
|
datetime: Co,
|
|
14924
|
-
exists:
|
|
14925
|
-
number:
|
|
14926
|
-
string:
|
|
14927
|
-
time:
|
|
14928
|
-
}, _r = process.env.NODE_ENV === "development",
|
|
14924
|
+
exists: Vp,
|
|
14925
|
+
number: Bp,
|
|
14926
|
+
string: $p,
|
|
14927
|
+
time: jp
|
|
14928
|
+
}, _r = process.env.NODE_ENV === "development", Gp = {
|
|
14929
14929
|
asc: "ascending",
|
|
14930
14930
|
desc: "descending",
|
|
14931
14931
|
none: "none"
|
|
@@ -15121,7 +15121,7 @@ const jp = {
|
|
|
15121
15121
|
}
|
|
15122
15122
|
// set the column header sort direction
|
|
15123
15123
|
setColumnHeader(e, t) {
|
|
15124
|
-
e.modules.sort.dir = t, e.getElement().setAttribute("aria-sort",
|
|
15124
|
+
e.modules.sort.dir = t, e.getElement().setAttribute("aria-sort", Gp[t]), this.setColumnHeaderSortIcon(e, t);
|
|
15125
15125
|
}
|
|
15126
15126
|
setColumnHeaderSortIcon(e, t) {
|
|
15127
15127
|
const i = e.modules.sort.element;
|
|
@@ -15177,9 +15177,9 @@ const jp = {
|
|
|
15177
15177
|
return 0;
|
|
15178
15178
|
}
|
|
15179
15179
|
};
|
|
15180
|
-
Ut.moduleName = "sort", Ut.sorters =
|
|
15180
|
+
Ut.moduleName = "sort", Ut.sorters = Wp;
|
|
15181
15181
|
let Js = Ut;
|
|
15182
|
-
class
|
|
15182
|
+
class Up {
|
|
15183
15183
|
constructor(e, t) {
|
|
15184
15184
|
this.columnCount = e, this.rowCount = t, this.columnString = [], this.columns = [], this.rows = [];
|
|
15185
15185
|
}
|
|
@@ -15268,7 +15268,7 @@ class _n {
|
|
|
15268
15268
|
}
|
|
15269
15269
|
class zr extends ke {
|
|
15270
15270
|
constructor(e, t) {
|
|
15271
|
-
super(e.table), this.spreadsheetManager = e, this.definition = t, this.title = this.definition.title || "", this.key = this.definition.key || this.definition.title || "", this.rowCount = this.definition.rows, this.columnCount = this.definition.columns, this.data = this.definition.data || [], this.element = null, this.isActive = !1, this.grid = new
|
|
15271
|
+
super(e.table), this.spreadsheetManager = e, this.definition = t, this.title = this.definition.title || "", this.key = this.definition.key || this.definition.title || "", this.rowCount = this.definition.rows, this.columnCount = this.definition.columns, this.data = this.definition.data || [], this.element = null, this.isActive = !1, this.grid = new Up(this.columnCount, this.rowCount), this.defaultColumnDefinition = {
|
|
15272
15272
|
headerHozAlign: "center",
|
|
15273
15273
|
headerSort: !1,
|
|
15274
15274
|
title: "",
|
|
@@ -15598,6 +15598,41 @@ function rs(r, e) {
|
|
|
15598
15598
|
function ns(r) {
|
|
15599
15599
|
return r instanceof Date ? r.getTime() : typeof r == "number" ? Number.isFinite(r) ? r : NaN : typeof r == "string" ? Date.parse(r) : NaN;
|
|
15600
15600
|
}
|
|
15601
|
+
const Kp = [
|
|
15602
|
+
{ groupName: "year", token: "YYYY" },
|
|
15603
|
+
{ groupName: "month", token: "MM" },
|
|
15604
|
+
{ groupName: "day", token: "DD" },
|
|
15605
|
+
{ groupName: "hour", token: "HH" },
|
|
15606
|
+
{ groupName: "minute", token: "mm" },
|
|
15607
|
+
{ groupName: "second", token: "ss" }
|
|
15608
|
+
];
|
|
15609
|
+
function qp(r) {
|
|
15610
|
+
return r.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
15611
|
+
}
|
|
15612
|
+
function Xp(r) {
|
|
15613
|
+
let e = "", t = 0;
|
|
15614
|
+
for (; t < r.length; ) {
|
|
15615
|
+
const i = Kp.find(
|
|
15616
|
+
({ token: s }) => r.startsWith(s, t)
|
|
15617
|
+
);
|
|
15618
|
+
if (i) {
|
|
15619
|
+
const s = i.token.length;
|
|
15620
|
+
e += `(?<${i.groupName}>\\d{${s}})`, t += s;
|
|
15621
|
+
} else
|
|
15622
|
+
e += qp(r[t]), t += 1;
|
|
15623
|
+
}
|
|
15624
|
+
return new RegExp(`^${e}$`);
|
|
15625
|
+
}
|
|
15626
|
+
function Jp(r, e) {
|
|
15627
|
+
const t = Xp(e).exec(r);
|
|
15628
|
+
if (!t?.groups)
|
|
15629
|
+
return !1;
|
|
15630
|
+
const i = Number(t.groups.year ?? "1970"), s = Number(t.groups.month ?? "1"), o = Number(t.groups.day ?? "1"), n = Number(t.groups.hour ?? "0"), a = Number(t.groups.minute ?? "0"), l = Number(t.groups.second ?? "0");
|
|
15631
|
+
if (s < 1 || s > 12 || n > 23 || a > 59 || l > 59)
|
|
15632
|
+
return !1;
|
|
15633
|
+
const h = new Date(i, s - 1, o, n, a, l);
|
|
15634
|
+
return h.getFullYear() === i && h.getMonth() === s - 1 && h.getDate() === o;
|
|
15635
|
+
}
|
|
15601
15636
|
const zn = {
|
|
15602
15637
|
// must be alphanumeric
|
|
15603
15638
|
alphanumeric(r) {
|
|
@@ -15608,9 +15643,12 @@ const zn = {
|
|
|
15608
15643
|
return xe(r) ? !0 : typeof r == "boolean" || r === "true" || r === "false";
|
|
15609
15644
|
},
|
|
15610
15645
|
// must be a parsable date; optional inclusive range via { starts, ends }
|
|
15646
|
+
// and/or an exact shape via { format } (e.g. 'MM/DD/YYYY')
|
|
15611
15647
|
date(r, e) {
|
|
15612
15648
|
if (xe(r))
|
|
15613
15649
|
return !0;
|
|
15650
|
+
if (e && typeof e == "object" && e.format !== void 0 && !Jp(String(r), e.format))
|
|
15651
|
+
return !1;
|
|
15614
15652
|
const t = ns(r);
|
|
15615
15653
|
if (Number.isNaN(t))
|
|
15616
15654
|
return !1;
|
|
@@ -15716,7 +15754,7 @@ function Le(r) {
|
|
|
15716
15754
|
return zn[r](t, i);
|
|
15717
15755
|
};
|
|
15718
15756
|
}
|
|
15719
|
-
const
|
|
15757
|
+
const Yp = {
|
|
15720
15758
|
alphanumeric: Le("alphanumeric"),
|
|
15721
15759
|
boolean: Le("boolean"),
|
|
15722
15760
|
date: Le("date"),
|
|
@@ -15743,46 +15781,46 @@ const Up = {
|
|
|
15743
15781
|
}), zn.unique(e, t, { columnValues: o });
|
|
15744
15782
|
}
|
|
15745
15783
|
};
|
|
15746
|
-
function
|
|
15784
|
+
function Qp(r) {
|
|
15747
15785
|
return new Worker(
|
|
15748
|
-
"https://design-system.orangelogic.com/assets/validation.worker-
|
|
15786
|
+
"https://design-system.orangelogic.com/assets/validation.worker-D3_lxKZ_.js",
|
|
15749
15787
|
{
|
|
15750
15788
|
name: r?.name
|
|
15751
15789
|
}
|
|
15752
15790
|
);
|
|
15753
15791
|
}
|
|
15754
|
-
const
|
|
15755
|
-
let St,
|
|
15792
|
+
const Zp = "cx-validation-request", ef = "cx-validation-response";
|
|
15793
|
+
let St, tf = 0;
|
|
15756
15794
|
const xi = /* @__PURE__ */ new Map();
|
|
15757
15795
|
function Ar() {
|
|
15758
15796
|
xi.forEach(
|
|
15759
15797
|
(r) => r.reject(new Error("Validation worker failed"))
|
|
15760
15798
|
), xi.clear(), St?.terminate(), St = void 0;
|
|
15761
15799
|
}
|
|
15762
|
-
function
|
|
15763
|
-
return St || (St = new
|
|
15764
|
-
if (r.origin !== "" || r.data?.type !==
|
|
15800
|
+
function sf() {
|
|
15801
|
+
return St || (St = new Qp(), St.addEventListener("message", (r) => {
|
|
15802
|
+
if (r.origin !== "" || r.data?.type !== ef)
|
|
15765
15803
|
return;
|
|
15766
15804
|
const { done: e, id: t, results: i } = r.data.payload, s = xi.get(t);
|
|
15767
15805
|
s && (s.accumulatedResults.push(...i), s.onChunk?.(i), e && (xi.delete(t), s.resolve(s.accumulatedResults)));
|
|
15768
15806
|
}), St.addEventListener("error", Ar), St.addEventListener("messageerror", Ar)), St;
|
|
15769
15807
|
}
|
|
15770
|
-
function
|
|
15808
|
+
function of(r, e) {
|
|
15771
15809
|
return new Promise((t, i) => {
|
|
15772
15810
|
let s;
|
|
15773
15811
|
try {
|
|
15774
|
-
s =
|
|
15812
|
+
s = sf();
|
|
15775
15813
|
} catch (n) {
|
|
15776
15814
|
i(n instanceof Error ? n : new Error(String(n)));
|
|
15777
15815
|
return;
|
|
15778
15816
|
}
|
|
15779
|
-
const o = ++
|
|
15817
|
+
const o = ++tf;
|
|
15780
15818
|
xi.set(o, {
|
|
15781
15819
|
accumulatedResults: [],
|
|
15782
15820
|
onChunk: e,
|
|
15783
15821
|
reject: i,
|
|
15784
15822
|
resolve: t
|
|
15785
|
-
}), s.postMessage({ payload: { fields: r, id: o }, type:
|
|
15823
|
+
}), s.postMessage({ payload: { fields: r, id: o }, type: Zp });
|
|
15786
15824
|
});
|
|
15787
15825
|
}
|
|
15788
15826
|
const Pr = process.env.NODE_ENV === "development", Ir = 2e3, Hr = 1e3, mi = "data-validation-message", vi = class vi extends I {
|
|
@@ -16092,7 +16130,7 @@ const Pr = process.env.NODE_ENV === "development", Ir = 2e3, Hr = 1e3, mi = "dat
|
|
|
16092
16130
|
})),
|
|
16093
16131
|
values: t.map((n) => o.getFieldValue(n.data))
|
|
16094
16132
|
}));
|
|
16095
|
-
await
|
|
16133
|
+
await of(s, (o) => {
|
|
16096
16134
|
i === this.validationGeneration && this.applyWorkerResults(o, t, e);
|
|
16097
16135
|
});
|
|
16098
16136
|
}
|
|
@@ -16160,7 +16198,7 @@ const Pr = process.env.NODE_ENV === "development", Ir = 2e3, Hr = 1e3, mi = "dat
|
|
|
16160
16198
|
this.suppressValidationChanged || this.dispatchExternal("validationChanged", this.getValidationSummary());
|
|
16161
16199
|
}
|
|
16162
16200
|
};
|
|
16163
|
-
vi.moduleName = "validate", vi.validators =
|
|
16201
|
+
vi.moduleName = "validate", vi.validators = Yp;
|
|
16164
16202
|
let Zs = vi;
|
|
16165
16203
|
const as = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
16166
16204
|
__proto__: null,
|
|
@@ -16205,7 +16243,7 @@ const as = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
16205
16243
|
TooltipModule: Qs,
|
|
16206
16244
|
ValidateModule: Zs
|
|
16207
16245
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
16208
|
-
class
|
|
16246
|
+
class rf extends Yi {
|
|
16209
16247
|
constructor(e) {
|
|
16210
16248
|
super(e);
|
|
16211
16249
|
}
|
|
@@ -16225,7 +16263,7 @@ class Zp extends Yi {
|
|
|
16225
16263
|
}
|
|
16226
16264
|
}
|
|
16227
16265
|
const ls = process.env.NODE_ENV === "development";
|
|
16228
|
-
class
|
|
16266
|
+
class nf extends Yi {
|
|
16229
16267
|
constructor(e) {
|
|
16230
16268
|
super(e), this.leftCol = 0, this.rightCol = 0, this.scrollLeft = 0, this.vDomScrollPosLeft = 0, this.vDomScrollPosRight = 0, this.vDomPadLeft = 0, this.vDomPadRight = 0, this.fitDataColAvg = 0, this.windowBuffer = 200, this.visibleRowsCache = null, this.initialized = !1, this.isFitData = !1, this.columns = [];
|
|
16231
16269
|
}
|
|
@@ -16524,7 +16562,7 @@ class ef extends Yi {
|
|
|
16524
16562
|
}
|
|
16525
16563
|
}
|
|
16526
16564
|
}
|
|
16527
|
-
const
|
|
16565
|
+
const af = process.env.NODE_ENV === "development";
|
|
16528
16566
|
class On {
|
|
16529
16567
|
constructor(e, t, i = {}) {
|
|
16530
16568
|
this.registeredDefaults = {}, this.table = e, this.msgType = t, this.registeredDefaults = { ...i };
|
|
@@ -16536,14 +16574,14 @@ class On {
|
|
|
16536
16574
|
const i = { ...this.registeredDefaults }, s = this.table.options.debugInvalidOptions || t.debugInvalidOptions === !0;
|
|
16537
16575
|
Object.assign(i, e);
|
|
16538
16576
|
for (const o in t)
|
|
16539
|
-
Object.hasOwn(t, o) && (Object.hasOwn(i, o) || (
|
|
16577
|
+
Object.hasOwn(t, o) && (Object.hasOwn(i, o) || (af && s && console.warn("Invalid " + this.msgType + " option:", o), i[o] = t[o]));
|
|
16540
16578
|
for (const o in i)
|
|
16541
16579
|
Object.hasOwn(i, o) && (o in t ? i[o] = t[o] : Array.isArray(i[o]) ? i[o] = Object.assign([], i[o]) : typeof i[o] == "object" && i[o] !== null ? i[o] = { ...i[o] } : (i[o] === void 0 || i[o] === null) && delete i[o]);
|
|
16542
16580
|
return i;
|
|
16543
16581
|
}
|
|
16544
16582
|
}
|
|
16545
16583
|
const Nr = process.env.NODE_ENV === "development";
|
|
16546
|
-
class
|
|
16584
|
+
class lf extends ke {
|
|
16547
16585
|
constructor(e) {
|
|
16548
16586
|
super(e), this.blockHozScrollEvent = !1, this.headersElement = null, this.contentsElement = null, this.rowHeader = null, this.columns = [], this.columnsByIndex = [], this.columnsByField = {}, this.scrollLeft = 0, this.optionsList = new On(
|
|
16549
16587
|
this.table,
|
|
@@ -16571,8 +16609,8 @@ class sf extends ke {
|
|
|
16571
16609
|
initializeRenderer() {
|
|
16572
16610
|
let e;
|
|
16573
16611
|
const t = {
|
|
16574
|
-
basic:
|
|
16575
|
-
virtual:
|
|
16612
|
+
basic: rf,
|
|
16613
|
+
virtual: nf
|
|
16576
16614
|
};
|
|
16577
16615
|
typeof this.table.options.renderHorizontal == "string" ? e = t[this.table.options.renderHorizontal] : e = this.table.options.renderHorizontal, e ? (this.renderer = new e(this.table), this.renderer.initialize()) : Nr && console.error(
|
|
16578
16616
|
"Unable to find matching renderer:",
|
|
@@ -16922,7 +16960,7 @@ class sf extends ke {
|
|
|
16922
16960
|
this.element && Y.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();
|
|
16923
16961
|
}
|
|
16924
16962
|
}
|
|
16925
|
-
const
|
|
16963
|
+
const hf = {
|
|
16926
16964
|
debugEventsExternal: !1,
|
|
16927
16965
|
// flag to console log events
|
|
16928
16966
|
debugEventsInternal: !1,
|
|
@@ -16982,7 +17020,7 @@ const of = {
|
|
|
16982
17020
|
dataReceiveParams: {}
|
|
16983
17021
|
// dependencies: {},
|
|
16984
17022
|
};
|
|
16985
|
-
class
|
|
17023
|
+
class cf extends ke {
|
|
16986
17024
|
constructor(e) {
|
|
16987
17025
|
super(e), this.active = !1, this.element = this.createElement(), this.containerElement = this.createContainerElement(), this.external = !1;
|
|
16988
17026
|
}
|
|
@@ -17040,7 +17078,7 @@ class rf extends ke {
|
|
|
17040
17078
|
this.dispatch("footer-redraw");
|
|
17041
17079
|
}
|
|
17042
17080
|
}
|
|
17043
|
-
class
|
|
17081
|
+
class df extends Yi {
|
|
17044
17082
|
constructor(e) {
|
|
17045
17083
|
super(e), this.scrollTop = 0, this.scrollLeft = 0, this.verticalFillMode = "fill";
|
|
17046
17084
|
}
|
|
@@ -17089,7 +17127,7 @@ class nf extends Yi {
|
|
|
17089
17127
|
return this.rows();
|
|
17090
17128
|
}
|
|
17091
17129
|
}
|
|
17092
|
-
class
|
|
17130
|
+
class uf extends Yi {
|
|
17093
17131
|
// total scroll height of virtual DOM
|
|
17094
17132
|
constructor(e) {
|
|
17095
17133
|
super(e), this.scrollTop = 0, this.scrollLeft = 0, this.vDomRowHeight = 20, this.vDomTop = 0, this.vDomBottom = 0, this.vDomScrollPosTop = 0, this.vDomScrollPosBottom = 0, this.vDomTopPad = 0, this.vDomBottomPad = 0, this.vDomMaxRenderChain = 90, this.vDomWindowBuffer = 0, this.vDomWindowMinTotalRows = 20, this.vDomWindowMinMarginRows = 5, this.vDomTopNewRows = [], this.vDomBottomNewRows = [], this.vDomScrollHeight = 0, this.verticalFillMode = "fill";
|
|
@@ -17335,8 +17373,8 @@ class af extends Yi {
|
|
|
17335
17373
|
t.setCellHeight();
|
|
17336
17374
|
}
|
|
17337
17375
|
}
|
|
17338
|
-
const $t = process.env.NODE_ENV === "development",
|
|
17339
|
-
class
|
|
17376
|
+
const $t = process.env.NODE_ENV === "development", pf = x`<div class="tabulator-tableholder-wrapper"></div>`;
|
|
17377
|
+
class ff extends ke {
|
|
17340
17378
|
/**
|
|
17341
17379
|
* True when table has an explicit height (--table-height is set to a non-auto value (e.g. 100%, 500px));
|
|
17342
17380
|
* false when height is variable (--table-height is "auto" or unset).
|
|
@@ -17350,7 +17388,7 @@ class hf extends ke {
|
|
|
17350
17388
|
}
|
|
17351
17389
|
// ////////////// Setup Functions /////////////////
|
|
17352
17390
|
createWrapperElement() {
|
|
17353
|
-
return B(
|
|
17391
|
+
return B(pf);
|
|
17354
17392
|
}
|
|
17355
17393
|
createHolderElement() {
|
|
17356
17394
|
const e = document.createElement("div");
|
|
@@ -17781,8 +17819,8 @@ Data: `,
|
|
|
17781
17819
|
initializeRenderer() {
|
|
17782
17820
|
let e;
|
|
17783
17821
|
const t = {
|
|
17784
|
-
basic:
|
|
17785
|
-
virtual:
|
|
17822
|
+
basic: df,
|
|
17823
|
+
virtual: uf
|
|
17786
17824
|
};
|
|
17787
17825
|
typeof this.table.options.renderVertical == "string" ? e = t[this.table.options.renderVertical] : e = this.table.options.renderVertical, e ? (this.renderMode = this.table.options.renderVertical, this.renderer = new e(this.table, this.element, this.tableElement), this.renderer?.initialize()) : $t && console.error(
|
|
17788
17826
|
"Unable to find matching renderer:",
|
|
@@ -17912,7 +17950,7 @@ Data: `,
|
|
|
17912
17950
|
this.element.dispatchEvent(new Event("scroll"));
|
|
17913
17951
|
}
|
|
17914
17952
|
}
|
|
17915
|
-
class
|
|
17953
|
+
class mf extends ke {
|
|
17916
17954
|
constructor(e) {
|
|
17917
17955
|
super(e), this.type = null, this.element = this._createAlertElement(), this.msgElement = this._createMsgElement(), this.element.appendChild(this.msgElement);
|
|
17918
17956
|
}
|
|
@@ -17941,7 +17979,7 @@ class cf extends ke {
|
|
|
17941
17979
|
}
|
|
17942
17980
|
}
|
|
17943
17981
|
const Vr = process.env.NODE_ENV === "development";
|
|
17944
|
-
class
|
|
17982
|
+
class gf {
|
|
17945
17983
|
constructor(e) {
|
|
17946
17984
|
this.bindings = {}, this.table = e;
|
|
17947
17985
|
}
|
|
@@ -18089,8 +18127,8 @@ const Fi = process.env.NODE_ENV === "development", Wi = class Wi extends ke {
|
|
|
18089
18127
|
};
|
|
18090
18128
|
Wi.DEBOUNCE_DELAY = 500;
|
|
18091
18129
|
let eo = Wi;
|
|
18092
|
-
const
|
|
18093
|
-
class
|
|
18130
|
+
const bf = process.env.NODE_ENV === "development";
|
|
18131
|
+
class wf extends ke {
|
|
18094
18132
|
constructor(e) {
|
|
18095
18133
|
super(e), this.deps = {}, this.props = {};
|
|
18096
18134
|
}
|
|
@@ -18125,20 +18163,20 @@ class pf extends ke {
|
|
|
18125
18163
|
return this.deps[e] ? i = this.deps[e] : globalThis[e] ? (this.deps[e] = globalThis[e], i = this.deps[e]) : t || this.error(e), i;
|
|
18126
18164
|
}
|
|
18127
18165
|
error(e) {
|
|
18128
|
-
|
|
18166
|
+
bf && console.error(
|
|
18129
18167
|
"Unable to find dependency",
|
|
18130
18168
|
e,
|
|
18131
18169
|
"Please check documentation and ensure you have imported the required library into your project"
|
|
18132
18170
|
);
|
|
18133
18171
|
}
|
|
18134
18172
|
}
|
|
18135
|
-
const
|
|
18136
|
-
class
|
|
18173
|
+
const vf = process.env.NODE_ENV === "development";
|
|
18174
|
+
class yf extends ke {
|
|
18137
18175
|
constructor(e) {
|
|
18138
18176
|
super(e);
|
|
18139
18177
|
}
|
|
18140
18178
|
_warnUser(...e) {
|
|
18141
|
-
this.options("debugDeprecation") &&
|
|
18179
|
+
this.options("debugDeprecation") && vf && console.warn(...e);
|
|
18142
18180
|
}
|
|
18143
18181
|
check(e, t, i) {
|
|
18144
18182
|
if (this.options(e) === void 0 || this.options(e) === null)
|
|
@@ -18171,7 +18209,7 @@ class mf extends ke {
|
|
|
18171
18209
|
}
|
|
18172
18210
|
}
|
|
18173
18211
|
const hs = process.env.NODE_ENV === "development";
|
|
18174
|
-
class
|
|
18212
|
+
class Cf {
|
|
18175
18213
|
constructor(e, t, i) {
|
|
18176
18214
|
this.events = {}, this.subscriptionNotifiers = {}, this.table = e, this.events = {}, this.optionsList = t || {}, this.subscriptionNotifiers = {}, this.dispatch = i ? this._debugDispatch.bind(this) : this._dispatch.bind(this), this.debug = i;
|
|
18177
18215
|
}
|
|
@@ -18224,8 +18262,8 @@ class gf {
|
|
|
18224
18262
|
return hs && (this.debug === !0 || Array.isArray(this.debug) && this.debug.includes(e)) && console.log(i, ...t), this._dispatch(e, ...t);
|
|
18225
18263
|
}
|
|
18226
18264
|
}
|
|
18227
|
-
const
|
|
18228
|
-
class
|
|
18265
|
+
const Ef = process.env.NODE_ENV === "development";
|
|
18266
|
+
class xf extends ke {
|
|
18229
18267
|
constructor(e) {
|
|
18230
18268
|
super(e), this.el = null, this.abortClasses = ["tabulator-headers", "tabulator-table"], this.previousTargets = {}, this.listeners = [
|
|
18231
18269
|
"click",
|
|
@@ -18376,7 +18414,7 @@ class wf extends ke {
|
|
|
18376
18414
|
s.components.includes("column") && (h = this.table.columnManager?.findColumn(c));
|
|
18377
18415
|
break;
|
|
18378
18416
|
case "cell":
|
|
18379
|
-
s.components.includes("cell") && (o.row instanceof Se ? h = o.row.findCell(c) :
|
|
18417
|
+
s.components.includes("cell") && (o.row instanceof Se ? h = o.row.findCell(c) : Ef && t.row && console.warn(
|
|
18380
18418
|
"Event Target Lookup Error - The row this cell is attached to cannot be found, has the table been reinitialized without being destroyed first?"
|
|
18381
18419
|
));
|
|
18382
18420
|
break;
|
|
@@ -18407,7 +18445,7 @@ class wf extends ke {
|
|
|
18407
18445
|
}
|
|
18408
18446
|
}
|
|
18409
18447
|
const ui = process.env.NODE_ENV === "development";
|
|
18410
|
-
class
|
|
18448
|
+
class Rf {
|
|
18411
18449
|
constructor(e) {
|
|
18412
18450
|
this.events = {}, this.subscriptionNotifiers = {}, this.events = {}, this.subscriptionNotifiers = {}, this.dispatch = e ? this._debugDispatch.bind(this) : this._dispatch.bind(this), this.chain = e ? this._debugChain.bind(this) : this._chain.bind(this), this.confirm = e ? this._debugConfirm.bind(this) : this._confirm.bind(this), this.debug = e;
|
|
18413
18451
|
}
|
|
@@ -18480,7 +18518,7 @@ class vf {
|
|
|
18480
18518
|
return ui && (this.debug === !0 || Array.isArray(this.debug) && this.debug.includes(e)) && console.log(i, t), this._confirm(e, t);
|
|
18481
18519
|
}
|
|
18482
18520
|
}
|
|
18483
|
-
function
|
|
18521
|
+
function Sf(r) {
|
|
18484
18522
|
let e = this.table.element?.clientWidth || 0;
|
|
18485
18523
|
const t = this.table.columnManager?.contentsElement;
|
|
18486
18524
|
if (t) {
|
|
@@ -18544,7 +18582,7 @@ function yf(r) {
|
|
|
18544
18582
|
y.column.setWidth(y.width);
|
|
18545
18583
|
});
|
|
18546
18584
|
}
|
|
18547
|
-
async function
|
|
18585
|
+
async function Tf(r, e) {
|
|
18548
18586
|
e && this.table.columnManager?.renderer && await this.table.columnManager.renderer.reinitializeColumnWidths(r), this.table.options.responsiveLayout && this.table.modExists("responsiveLayout", !0) && this.table.modules.responsiveLayout.update();
|
|
18549
18587
|
}
|
|
18550
18588
|
async function Br(r) {
|
|
@@ -18552,7 +18590,7 @@ async function Br(r) {
|
|
|
18552
18590
|
await e.reinitializeWidth();
|
|
18553
18591
|
this.table.options.responsiveLayout && this.table.modExists("responsiveLayout", !0) && this.table.modules.responsiveLayout.update();
|
|
18554
18592
|
}
|
|
18555
|
-
async function
|
|
18593
|
+
async function kf(r) {
|
|
18556
18594
|
let e = 0, t = this.table.element?.clientWidth || 0;
|
|
18557
18595
|
const i = this.table.columnManager?.contentsElement;
|
|
18558
18596
|
if (i) {
|
|
@@ -18565,20 +18603,20 @@ async function Ef(r) {
|
|
|
18565
18603
|
a.widthFixed || await a.reinitializeWidth(), (this.table.options.responsiveLayout ? a.modules.responsive.visible : !a.hidden) && (n = a), a.hidden || (e += a.getWidth());
|
|
18566
18604
|
n ? (o = s - e + n.getWidth(), this.table.options.responsiveLayout && this.table.modExists("responsiveLayout", !0) && (n.setWidth(0), this.table.modules.responsiveLayout?.update()), o > 0 ? n.setWidth(o) : await n.reinitializeWidth()) : this.table.options.responsiveLayout && this.table.modExists("responsiveLayout", !0) && this.table.modules.responsiveLayout.update();
|
|
18567
18605
|
}
|
|
18568
|
-
const
|
|
18569
|
-
fitColumns:
|
|
18570
|
-
fitData:
|
|
18606
|
+
const Df = {
|
|
18607
|
+
fitColumns: Sf,
|
|
18608
|
+
fitData: Tf,
|
|
18571
18609
|
fitDataFill: Br,
|
|
18572
|
-
fitDataStretch:
|
|
18610
|
+
fitDataStretch: kf,
|
|
18573
18611
|
fitDataTable: Br
|
|
18574
|
-
},
|
|
18612
|
+
}, Mf = process.env.NODE_ENV === "development", Kt = class Kt extends I {
|
|
18575
18613
|
constructor(e) {
|
|
18576
18614
|
super(e), this.mode = null, this.registerTableOption("layout", "fitData"), this.registerTableOption("layoutColumnsOnNewData", !1), this.registerColumnOption("widthGrow"), this.registerColumnOption("widthShrink");
|
|
18577
18615
|
}
|
|
18578
18616
|
// initialize layout system
|
|
18579
18617
|
initialize() {
|
|
18580
18618
|
const e = this.table.options.layout;
|
|
18581
|
-
e && Kt.modes[e] ? this.mode = e : (
|
|
18619
|
+
e && Kt.modes[e] ? this.mode = e : (Mf && console.warn(
|
|
18582
18620
|
"Layout Error - invalid mode set, defaulting to 'fitData' : " + e
|
|
18583
18621
|
), this.mode = "fitData"), this.table.element.setAttribute("tabulator-layout", this.mode), this.subscribe("column-init", this.initializeColumn.bind(this));
|
|
18584
18622
|
}
|
|
@@ -18602,9 +18640,9 @@ const xf = {
|
|
|
18602
18640
|
), t && this.table.rowManager?.normalizeHeight(!0), this.dispatch("layout-refreshed");
|
|
18603
18641
|
}
|
|
18604
18642
|
};
|
|
18605
|
-
Kt.moduleName = "layout", Kt.modes =
|
|
18643
|
+
Kt.moduleName = "layout", Kt.modes = Df;
|
|
18606
18644
|
let to = Kt;
|
|
18607
|
-
const
|
|
18645
|
+
const Lf = {
|
|
18608
18646
|
default: {
|
|
18609
18647
|
columns: {},
|
|
18610
18648
|
data: {
|
|
@@ -18720,7 +18758,7 @@ const Sf = {
|
|
|
18720
18758
|
});
|
|
18721
18759
|
}
|
|
18722
18760
|
};
|
|
18723
|
-
yi.moduleName = "localize", yi.langs =
|
|
18761
|
+
yi.moduleName = "localize", yi.langs = Lf;
|
|
18724
18762
|
let io = yi;
|
|
18725
18763
|
const jr = process.env.NODE_ENV === "development", Bo = class Bo extends I {
|
|
18726
18764
|
constructor(e) {
|
|
@@ -18752,12 +18790,12 @@ const jr = process.env.NODE_ENV === "development", Bo = class Bo extends I {
|
|
|
18752
18790
|
};
|
|
18753
18791
|
Bo.moduleName = "comms";
|
|
18754
18792
|
let so = Bo;
|
|
18755
|
-
const
|
|
18793
|
+
const Ff = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
18756
18794
|
__proto__: null,
|
|
18757
18795
|
CommsModule: so,
|
|
18758
18796
|
LayoutModule: to,
|
|
18759
18797
|
LocalizeModule: io
|
|
18760
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
18798
|
+
}, Symbol.toStringTag, { value: "Module" })), _f = process.env.NODE_ENV === "development", Ye = class Ye {
|
|
18761
18799
|
static findTable(e) {
|
|
18762
18800
|
const t = Ye.registry.lookupTable(e, !0);
|
|
18763
18801
|
return Array.isArray(t) && !t.length ? !1 : t;
|
|
@@ -18778,7 +18816,7 @@ Ye.registry = {
|
|
|
18778
18816
|
} else typeof HTMLElement < "u" && e instanceof HTMLElement || e instanceof Ye ? (o = Ye.registry.matchElement(e), o && i.push(o)) : Array.isArray(e) ? e.forEach((n) => {
|
|
18779
18817
|
const a = Ye.registry.lookupTable(n, !0);
|
|
18780
18818
|
i.push(...a);
|
|
18781
|
-
}) :
|
|
18819
|
+
}) : _f && !t && console.warn("Table Connection Error - Invalid Selector", e);
|
|
18782
18820
|
return i;
|
|
18783
18821
|
},
|
|
18784
18822
|
matchElement(e) {
|
|
@@ -18795,7 +18833,7 @@ const _i = process.env.NODE_ENV === "development", ee = class ee extends oo {
|
|
|
18795
18833
|
super(), this.modulesCore = [], this.modulesRegular = [];
|
|
18796
18834
|
}
|
|
18797
18835
|
static initializeModuleBinder(e) {
|
|
18798
|
-
ee.modulesRegistered || (ee.modulesRegistered = !0, ee._registerModules(
|
|
18836
|
+
ee.modulesRegistered || (ee.modulesRegistered = !0, ee._registerModules(Ff, !0), e && ee._registerModules(e));
|
|
18799
18837
|
}
|
|
18800
18838
|
static _extendModule(e, t, i) {
|
|
18801
18839
|
if (ee.moduleBindings[e]) {
|
|
@@ -18885,7 +18923,7 @@ const he = process.env.NODE_ENV === "development", yt = class yt extends ro {
|
|
|
18885
18923
|
yt.initializeModuleBinder(), yt._registerModule(...e);
|
|
18886
18924
|
}
|
|
18887
18925
|
constructor(e, t, i) {
|
|
18888
|
-
super(), yt.initializeModuleBinder(i), this.options = {}, this.columnManager = null, this.rowManager = null, this.footerManager = null, this.alertManager = null, this.vdomHoz = null, this.externalEvents = null, this.eventBus = null, this.interactionMonitor = !1, this.browser = "", this.browserSlow = !1, this.browserMobile = !1, this.rtl = !1, this.originalElement = null, this.componentFunctionBinder = new
|
|
18926
|
+
super(), yt.initializeModuleBinder(i), this.options = {}, this.columnManager = null, this.rowManager = null, this.footerManager = null, this.alertManager = null, this.vdomHoz = null, this.externalEvents = null, this.eventBus = null, this.interactionMonitor = !1, this.browser = "", this.browserSlow = !1, this.browserMobile = !1, this.rtl = !1, this.originalElement = null, this.componentFunctionBinder = new gf(this), this.dataLoader = null, this.modules = {}, this.modulesCore = [], this.modulesRegular = [], this.deprecationAdvisor = new yf(this), this.optionsList = new On(this, "table constructor"), this.dependencyRegistry = new wf(this), this.initialized = !1, this.destroyed = !1, this.initializeElement(e) && (this.initializeCoreSystems(t), setTimeout(() => {
|
|
18889
18927
|
this._create();
|
|
18890
18928
|
})), this.constructor.registry.register(this);
|
|
18891
18929
|
}
|
|
@@ -18905,11 +18943,11 @@ const he = process.env.NODE_ENV === "development", yt = class yt extends ro {
|
|
|
18905
18943
|
), !1;
|
|
18906
18944
|
}
|
|
18907
18945
|
initializeCoreSystems(e) {
|
|
18908
|
-
this.columnManager = new
|
|
18946
|
+
this.columnManager = new lf(this), this.rowManager = new ff(this), this.footerManager = new cf(this), this.dataLoader = new eo(this), this.alertManager = new mf(this), this.toolbar = e?.toolbarElement, this._bindModules(), this.options = this.optionsList.generate(yt.defaultOptions, e), this._clearObjectPointers(), this._mapDeprecatedFunctionality(), this.externalEvents = new Cf(
|
|
18909
18947
|
this,
|
|
18910
18948
|
this.options,
|
|
18911
18949
|
this.options.debugEventsExternal
|
|
18912
|
-
), this.eventBus = new
|
|
18950
|
+
), this.eventBus = new Rf(this.options.debugEventsInternal), this.interactionMonitor = new xf(this), this.dataLoader.initialize(), this.footerManager.initialize(), this.dependencyRegistry.initialize();
|
|
18913
18951
|
}
|
|
18914
18952
|
// convert deprecated functionality to new functions
|
|
18915
18953
|
_mapDeprecatedFunctionality() {
|
|
@@ -19275,9 +19313,9 @@ const he = process.env.NODE_ENV === "development", yt = class yt extends ro {
|
|
|
19275
19313
|
return !t && he && console.error("Tabulator module not installed: " + e), t;
|
|
19276
19314
|
}
|
|
19277
19315
|
};
|
|
19278
|
-
yt.defaultOptions =
|
|
19316
|
+
yt.defaultOptions = hf;
|
|
19279
19317
|
let Ft = yt;
|
|
19280
|
-
class
|
|
19318
|
+
class zf extends Ft {
|
|
19281
19319
|
static extendModule(...e) {
|
|
19282
19320
|
Ft.initializeModuleBinder(as), Ft._extendModule(...e);
|
|
19283
19321
|
}
|
|
@@ -19356,26 +19394,26 @@ class An {
|
|
|
19356
19394
|
return t.includes("-") && !customElements.get(t);
|
|
19357
19395
|
}
|
|
19358
19396
|
}
|
|
19359
|
-
function
|
|
19397
|
+
function Of(r, e) {
|
|
19360
19398
|
return x`<cx-faceted-filter-facet display-name=${r.facetDetails.displayName} type=${r.facetDetails.facetFieldName} selection=${r.facetDetails.selection ?? e.defaultSelection} .collections=${e.selectionValues} .values=${r.values}></cx-faceted-filter-facet>`;
|
|
19361
19399
|
}
|
|
19362
|
-
function
|
|
19400
|
+
function Af(r, e) {
|
|
19363
19401
|
const t = r.facetDetails;
|
|
19364
19402
|
return x`<cx-facet-date-picker field=${t.facetFieldName} display-name=${t.displayName} value=${e.dateRange?.fromDate ?? ""} from-time=${e.dateRange?.fromTime ?? nn} min=${t.min ?? ""} max=${t.max ?? ""} ?show-time=${t.showTime ?? !1}></cx-facet-date-picker>`;
|
|
19365
19403
|
}
|
|
19366
|
-
function
|
|
19404
|
+
function Pf(r, e) {
|
|
19367
19405
|
const t = r.facetDetails;
|
|
19368
|
-
return x`<cx-facet-date-range field=${t.facetFieldName} display-name=${t.displayName} from-date=${e.dateRange?.fromDate ?? ""} to-date=${e.dateRange?.toDate ?? ""} from-time=${e.dateRange?.fromTime ?? nn} to-time=${e.dateRange?.toTime ??
|
|
19406
|
+
return x`<cx-facet-date-range field=${t.facetFieldName} display-name=${t.displayName} from-date=${e.dateRange?.fromDate ?? ""} to-date=${e.dateRange?.toDate ?? ""} from-time=${e.dateRange?.fromTime ?? nn} to-time=${e.dateRange?.toTime ?? _a} preset=${e.dateRange?.preset ?? ""} min=${t.min ?? ""} max=${t.max ?? ""} ?show-time=${t.showTime ?? !1} ?show-preset=${t.showPreset ?? !1}></cx-facet-date-range>`;
|
|
19369
19407
|
}
|
|
19370
|
-
const
|
|
19371
|
-
[nt.Checkbox]:
|
|
19372
|
-
[nt.DatePicker]:
|
|
19373
|
-
[nt.DateRange]:
|
|
19374
|
-
},
|
|
19375
|
-
var
|
|
19376
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
19408
|
+
const If = {
|
|
19409
|
+
[nt.Checkbox]: Of,
|
|
19410
|
+
[nt.DatePicker]: Af,
|
|
19411
|
+
[nt.DateRange]: Pf
|
|
19412
|
+
}, Hf = Z`:host{display:contents}cx-dropdown{--panel-overflow:hidden}cx-details{--expand-icon-size:24px}.panel{--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)}`;
|
|
19413
|
+
var Nf = Object.defineProperty, Vf = Object.getOwnPropertyDescriptor, Ie = (r, e, t, i) => {
|
|
19414
|
+
for (var s = i > 1 ? void 0 : i ? Vf(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
19377
19415
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
19378
|
-
return i && s &&
|
|
19416
|
+
return i && s && Nf(e, t, s), s;
|
|
19379
19417
|
};
|
|
19380
19418
|
let ve = class extends Ae {
|
|
19381
19419
|
constructor() {
|
|
@@ -19500,7 +19538,7 @@ let ve = class extends Ae {
|
|
|
19500
19538
|
}
|
|
19501
19539
|
formatDateRangeDisplay(r) {
|
|
19502
19540
|
const e = (t, i) => {
|
|
19503
|
-
const s =
|
|
19541
|
+
const s = Ba(t);
|
|
19504
19542
|
return r.showTime ? `${s} ${i}` : s;
|
|
19505
19543
|
};
|
|
19506
19544
|
return r.type === nt.DatePicker ? e(r.fromDate, r.fromTime) : `${e(r.fromDate, r.fromTime)} – ${e(r.toDate, r.toTime)}`;
|
|
@@ -19544,7 +19582,7 @@ let ve = class extends Ae {
|
|
|
19544
19582
|
);
|
|
19545
19583
|
if (!e)
|
|
19546
19584
|
return wt;
|
|
19547
|
-
const t = r.type ?? nt.Checkbox, i =
|
|
19585
|
+
const t = r.type ?? nt.Checkbox, i = If[t];
|
|
19548
19586
|
return i ? i(
|
|
19549
19587
|
{
|
|
19550
19588
|
facetDetails: r,
|
|
@@ -19558,17 +19596,17 @@ let ve = class extends Ae {
|
|
|
19558
19596
|
)}</div>${this.renderFooter()}</div></div></cx-dropdown>`;
|
|
19559
19597
|
}
|
|
19560
19598
|
};
|
|
19561
|
-
ve.styles = [$e,
|
|
19599
|
+
ve.styles = [$e, Hf];
|
|
19562
19600
|
ve.dependencies = {
|
|
19563
|
-
"cx-badge":
|
|
19601
|
+
"cx-badge": Ha,
|
|
19564
19602
|
"cx-button": Et,
|
|
19565
|
-
"cx-details":
|
|
19603
|
+
"cx-details": Na,
|
|
19566
19604
|
"cx-dropdown": ai,
|
|
19567
19605
|
"cx-icon": It,
|
|
19568
19606
|
"cx-icon-button": oi,
|
|
19569
19607
|
"cx-space": Ri,
|
|
19570
19608
|
"cx-spinner": an,
|
|
19571
|
-
"cx-tag":
|
|
19609
|
+
"cx-tag": Va,
|
|
19572
19610
|
"cx-tooltip": Pt
|
|
19573
19611
|
};
|
|
19574
19612
|
Ie([
|
|
@@ -19617,7 +19655,7 @@ Ie([
|
|
|
19617
19655
|
ve = Ie([
|
|
19618
19656
|
Pe("cx-faceted-filter")
|
|
19619
19657
|
], ve);
|
|
19620
|
-
class
|
|
19658
|
+
class Bf {
|
|
19621
19659
|
constructor(e) {
|
|
19622
19660
|
this.facets = [], this.availableFacets = [], this.host = e, e.addController(this);
|
|
19623
19661
|
}
|
|
@@ -19635,11 +19673,11 @@ class Pf {
|
|
|
19635
19673
|
if (!i && !this.host.facetConfig)
|
|
19636
19674
|
return;
|
|
19637
19675
|
i && (this.host.hasFacets = !0);
|
|
19638
|
-
const s =
|
|
19676
|
+
const s = $f(this.host.facetConfig ?? ""), o = Wf(i ?? {}, s);
|
|
19639
19677
|
this.facets = o, this.availableFacets = o.map((n) => n.facetDetails), this.host.requestUpdate();
|
|
19640
19678
|
}
|
|
19641
19679
|
}
|
|
19642
|
-
function
|
|
19680
|
+
function $f(r) {
|
|
19643
19681
|
const e = /* @__PURE__ */ new Map();
|
|
19644
19682
|
if (!r.trim())
|
|
19645
19683
|
return e;
|
|
@@ -19651,7 +19689,7 @@ function If(r) {
|
|
|
19651
19689
|
l === Ii.Checkbox && (h.includes(zt.Single) || h.includes(zt.Multiple)) ? e.set(n, {
|
|
19652
19690
|
displayName: a,
|
|
19653
19691
|
facetFieldName: n,
|
|
19654
|
-
selection:
|
|
19692
|
+
selection: jf(h),
|
|
19655
19693
|
type: nt.Checkbox
|
|
19656
19694
|
}) : l === Ii.DatePicker ? e.set(n, {
|
|
19657
19695
|
displayName: a,
|
|
@@ -19668,10 +19706,10 @@ function If(r) {
|
|
|
19668
19706
|
}
|
|
19669
19707
|
return e;
|
|
19670
19708
|
}
|
|
19671
|
-
function
|
|
19709
|
+
function jf(r) {
|
|
19672
19710
|
return r.includes(zt.Multiple) ? zt.Multiple : zt.Single;
|
|
19673
19711
|
}
|
|
19674
|
-
function
|
|
19712
|
+
function Wf(r, e) {
|
|
19675
19713
|
const t = new Set(Object.keys(r));
|
|
19676
19714
|
for (const [i, s] of e)
|
|
19677
19715
|
s.type !== nt.Checkbox && t.add(i);
|
|
@@ -19687,7 +19725,7 @@ function Nf(r, e) {
|
|
|
19687
19725
|
return { facetDetails: s, values: n };
|
|
19688
19726
|
});
|
|
19689
19727
|
}
|
|
19690
|
-
class
|
|
19728
|
+
class Gf {
|
|
19691
19729
|
constructor(e, t) {
|
|
19692
19730
|
this.host = e, this.filterController = t, this.handleFacetedFilterChange = this.handleFacetedFilterChange.bind(this), e.addController(this);
|
|
19693
19731
|
}
|
|
@@ -19711,9 +19749,9 @@ class Vf {
|
|
|
19711
19749
|
);
|
|
19712
19750
|
}
|
|
19713
19751
|
}
|
|
19714
|
-
class
|
|
19752
|
+
class Uf {
|
|
19715
19753
|
constructor(e) {
|
|
19716
|
-
this.filters = /* @__PURE__ */ new Map(), this.isConnected = !1, this.host = e, this.host.addController(this);
|
|
19754
|
+
this.filters = /* @__PURE__ */ new Map(), this.isConnected = !1, this.lastAppliedFilters = null, this.host = e, this.host.addController(this);
|
|
19717
19755
|
}
|
|
19718
19756
|
hostConnected() {
|
|
19719
19757
|
this.isConnected = !0;
|
|
@@ -19723,6 +19761,9 @@ class Bf {
|
|
|
19723
19761
|
}
|
|
19724
19762
|
hostUpdated() {
|
|
19725
19763
|
}
|
|
19764
|
+
resetAppliedFilterBaseline() {
|
|
19765
|
+
this.lastAppliedFilters = null;
|
|
19766
|
+
}
|
|
19726
19767
|
/**
|
|
19727
19768
|
* Set filters for a specific source, replacing any existing filters for that source.
|
|
19728
19769
|
* @param source - The filter source identifier
|
|
@@ -19902,10 +19943,16 @@ class Bf {
|
|
|
19902
19943
|
if (!e?.initialized)
|
|
19903
19944
|
return;
|
|
19904
19945
|
const t = this.getFilters(), s = [...this.host.initialFilter || [], ...t];
|
|
19905
|
-
|
|
19946
|
+
if (!ca(s, this.lastAppliedFilters)) {
|
|
19947
|
+
if (this.lastAppliedFilters === null && t.length === 0) {
|
|
19948
|
+
this.lastAppliedFilters = s;
|
|
19949
|
+
return;
|
|
19950
|
+
}
|
|
19951
|
+
this.lastAppliedFilters = s, e.setFilter(s);
|
|
19952
|
+
}
|
|
19906
19953
|
}
|
|
19907
19954
|
}
|
|
19908
|
-
class
|
|
19955
|
+
class Kf {
|
|
19909
19956
|
constructor(e) {
|
|
19910
19957
|
this.isSelectAllMode = !1, this.deselectedIds = /* @__PURE__ */ new Set(), this.selectedIdsForRemote = /* @__PURE__ */ new Set(), this.remoteTotalCount = 0, this.selectedRowsCount = 0, this.selectionSyncSkip = !1, this.isPageTransition = !1, this.host = e, this.host.addController(this), this.handleRowSelectionChanged = this.handleRowSelectionChanged.bind(this), this.handleDataLoaded = this.handleDataLoaded.bind(this), this.handleDataLoading = this.handleDataLoading.bind(this);
|
|
19911
19958
|
}
|
|
@@ -19943,7 +19990,7 @@ class $f {
|
|
|
19943
19990
|
return !!this.host.ajaxURL;
|
|
19944
19991
|
}
|
|
19945
19992
|
get checked() {
|
|
19946
|
-
return this.isRemoteMode
|
|
19993
|
+
return this.isRemoteMode && this.isSelectAllMode ? this.deselectedIds.size === 0 : this.host.isRemotePagination ? !1 : this.activeEnabledRows.length > 0 && this.selectedRowsCount === this.activeEnabledRows.length;
|
|
19947
19994
|
}
|
|
19948
19995
|
get indeterminate() {
|
|
19949
19996
|
return this.isRemoteMode && this.isSelectAllMode ? this.deselectedIds.size > 0 : this.selectedRowsCount > 0 && !this.checked;
|
|
@@ -19958,7 +20005,7 @@ class $f {
|
|
|
19958
20005
|
selectAll() {
|
|
19959
20006
|
this.isSelectAllMode = !0, this.deselectedIds.clear(), this.selectedIdsForRemote.clear(), this.host.tabulatorInstance?.modules.selectRow?.selectRows(
|
|
19960
20007
|
this.activeEnabledRows
|
|
19961
|
-
), this.isRemoteMode && this.remoteTotalCount > 0 && (this.selectedRowsCount = this.remoteTotalCount), this.host.requestUpdate();
|
|
20008
|
+
), this.isRemoteMode && this.host.isRemotePagination && this.remoteTotalCount > 0 && (this.selectedRowsCount = this.remoteTotalCount), this.host.requestUpdate();
|
|
19962
20009
|
}
|
|
19963
20010
|
deselectAll() {
|
|
19964
20011
|
this.isSelectAllMode = !1, this.deselectedIds.clear(), this.selectedIdsForRemote.clear(), this.selectedRowsCount = 0, this.clearTabulatorSelection(), this.host.requestUpdate();
|
|
@@ -19997,7 +20044,7 @@ class $f {
|
|
|
19997
20044
|
this.deselectedIds.add(n.getData()[o]);
|
|
19998
20045
|
for (const n of i)
|
|
19999
20046
|
this.deselectedIds.delete(n.getData()[o]);
|
|
20000
|
-
this.selectedRowsCount = this.
|
|
20047
|
+
this.selectedRowsCount = this.getSelectAllCount(t?.length ?? 0);
|
|
20001
20048
|
} else {
|
|
20002
20049
|
for (const n of s)
|
|
20003
20050
|
this.selectedIdsForRemote.delete(
|
|
@@ -20028,7 +20075,7 @@ class $f {
|
|
|
20028
20075
|
);
|
|
20029
20076
|
this.host.tabulatorInstance.modules.selectRow?.selectRows(
|
|
20030
20077
|
t
|
|
20031
|
-
), this.selectedRowsCount = this.
|
|
20078
|
+
), this.selectedRowsCount = this.getSelectAllCount(t.length);
|
|
20032
20079
|
} else if (this.selectedIdsForRemote.size > 0) {
|
|
20033
20080
|
const t = this.activeEnabledRows.filter(
|
|
20034
20081
|
(i) => this.selectedIdsForRemote.has(i.getData()[e])
|
|
@@ -20044,6 +20091,20 @@ class $f {
|
|
|
20044
20091
|
});
|
|
20045
20092
|
}
|
|
20046
20093
|
// ─── Internals ────────────────────────────────────────────────────────────
|
|
20094
|
+
/**
|
|
20095
|
+
* Row count for select-all mode. With remote pagination only the current page
|
|
20096
|
+
* is in memory, so the count is derived from the server total:
|
|
20097
|
+
* `totalCount − explicitly-deselected`. When the full dataset is in memory
|
|
20098
|
+
* (local, or ajax without pagination), it is the number of rows actually
|
|
20099
|
+
* selected (`fallbackSelectedCount`), which naturally excludes
|
|
20100
|
+
* disabled/non-selectable rows since those are never selected.
|
|
20101
|
+
*
|
|
20102
|
+
* Also falls back to `fallbackSelectedCount` when the server total has not
|
|
20103
|
+
* loaded yet (`remoteTotalCount === 0`), so the count never goes negative.
|
|
20104
|
+
*/
|
|
20105
|
+
getSelectAllCount(e) {
|
|
20106
|
+
return this.host.isRemotePagination && this.remoteTotalCount > 0 ? this.remoteTotalCount - this.deselectedIds.size : e;
|
|
20107
|
+
}
|
|
20047
20108
|
clearTabulatorSelection() {
|
|
20048
20109
|
this.selectionSyncSkip = !0;
|
|
20049
20110
|
try {
|
|
@@ -20068,30 +20129,30 @@ class $f {
|
|
|
20068
20129
|
)?.formatterParams?.disabled;
|
|
20069
20130
|
}
|
|
20070
20131
|
}
|
|
20071
|
-
const jf = 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)}`, Wf = 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-700);--background-color:var(--cx-color-neutral-0);--border-width:var(--cx-input-border-width);--border-color:var(--cx-color-neutral-200);--outer-border-color:var(--border-color);--border-radius:var(--cx-border-radius-medium);--row-background-color:var(--cx-color-neutral-0);--row-even-background-color:var(--cx-color-neutral-0);--row-hover-background-color:var(--cx-color-neutral-0);--row-even-hover-background-color:var(--cx-color-neutral-0);--frozen-border-color:var(--cx-color-neutral-200);--header-background-color:var(--cx-color-neutral-50);--header-hover-background-color:var(--cx-color-primary-50);--header-font-weight:var(--cx-font-weight-medium);--header-font-size:var(--cx-font-size-x-small);--header-color:var(--cx-color-neutral-700);--header-border-right:1px solid var(--cx-color-neutral-200);--header-border-bottom:none;--header-height:var(--cx-spacing-3x-large);--header-horizontal-padding:var(--cx-spacing-large);--body-background-color:var(--cx-color-neutral-0);--cell-border-color:transparent;--cell-bottom-border-color:var(--cx-color-neutral-200);--cell-horizontal-padding:var(--cx-spacing-large);--cell-font-size:var(--cx-font-size-small);--cell-font-weight:var(--cx-font-weight-regular);--cell-line-height:normal;--cell-hover-background-color:var(--cx-color-neutral-50);--group-count-color:var(--cx-color-danger-500);--group-row-background-color:var(--row-background-color);--group-row-hover-background-color:var(--row-hover-background-color);--group-row-border-color:var(--cx-color-neutral-200);--group-row-color:var(--cx-color-neutral-900);--group-row-font-weight:var(--cx-font-weight-medium);--row-header-border-color:var(--cx-color-neutral-200);--tabulator-tree-control-width:18px;--tabulator-tree-child-indent:9px;--tabulator-tree-step:calc(var(--tabulator-tree-control-width) + var(--tabulator-tree-child-indent));isolation:isolate;width:var(--width);display:block}.container{height:100%}.tabulator{background-color:var(--background-color);font-size:var(--font-size,var(--cx-font-size-small));text-align:left;height:var(--table-height);min-height:var(--table-min-height);max-height:var(--table-max-height);border-radius:var(--cx-border-radius-medium);flex-direction:column;line-height:normal;display:flex;position:relative;overflow:hidden}.tabulator[data-overlayscrollbars]{flex-direction:column}.tabulator[data-overlayscrollbars-viewport="scrollbarHidden overflowXHidden overflowYHidden"]{display:flex}.tabulator>[data-overlayscrollbars-viewport]{flex-direction:column;display:flex}.tabulator.tabulator-overflow-x{border-inline:var(--border-width) solid var(--outer-border-color);border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.tabulator[tabulator-layout=fitDataFill] .tabulator-tableholder .tabulator-table{min-width:100%}.tabulator[tabulator-layout=fitDataTable]{display:inline-block}.tabulator.tabulator-block-select,.tabulator.tabulator-ranges .tabulator-cell:not(.tabulator-editing){user-select:none}.tabulator .tabulator-tableholder-wrapper{flex:1;width:max-content;display:flex;position:relative;overflow:hidden}.tabulator .tabulator-tableholder{white-space:nowrap;-webkit-overflow-scrolling:touch;border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);flex:1;width:max-content;position:relative;overflow:auto}.tabulator .tabulator-tableholder-wrapper:before{content:"";z-index:1;pointer-events:none;border:var(--border-width) solid var(--outer-border-color);border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius);width:100%;height:100%;display:block;position:absolute;top:0;left:0}.tabulator.tabulator-header-hidden .tabulator-tableholder-wrapper:before{border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.tabulator .tabulator-tableholder:focus{outline:none}.tabulator .tabulator-tableholder .tabulator-table{background-color:var(--body-background-color,var(--cx-color-neutral-0));white-space:nowrap;color:var(--color);min-width:100%;display:inline-block;position:relative;overflow:visible}`, Gf = 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}`, Uf = Z`.tabulator-clickable-cell{color:var(--clickable-cell-color,var(--cx-color-primary-600));cursor:pointer}.tabulator-clickable-cell:hover{text-decoration:underline}`, Kf = 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}`, qf = 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)}`, Xf = 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}`, Jf = 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}`, Yf = 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)}`, Qf = 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{position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title{box-sizing:border-box;white-space:nowrap;text-overflow:ellipsis;vertical-align:bottom;width:100%;overflow:hidden}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title.tabulator-col-title-wrap{white-space:normal;text-overflow:initial}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-title-editor{box-sizing:border-box;border:solid var(--border-width) var(--border-color);width:100%;padding:var(--cx-spacing-3x-small);background:var(--cx-color-neutral-0)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-header-popup-button+.tabulator-title-editor{width:calc(100% - 22px)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{align-items:center;display:flex;position:absolute;top:0;bottom:0;right:4px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-left:6px solid #0000;border-right:6px solid #0000;border-bottom:6px solid var(--cx-color-neutral-200);width:0;height:0}.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{border-top:1px solid var(--cx-color-neutral-400);margin-right:-1px;display:flex;position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter{box-sizing:border-box;margin-top:var(--cx-spacing-3x-small);text-align:center;width:100%;position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter textarea{height:auto!important}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter svg{margin-top:var(--cx-spacing-3x-small)}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input::-ms-clear{width:0;height:0}.tabulator .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:var(--cx-spacing-x-large)}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable.tabulator-col-sorter-element:hover{cursor:pointer}.tabulator .tabulator-header .tabulator-col:hover{background-color:var(--header-hover-background-color)}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter{color:var(--cx-color-neutral-200)}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-bottom:6px solid var(--cx-color-neutral-500)}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid var(--cx-color-neutral-200)}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter{color:var(--cx-color-neutral-600)}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-bottom:6px solid var(--cx-color-neutral-500)}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid var(--cx-color-neutral-600)}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter{color:var(--cx-color-neutral-600)}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-top:6px solid var(--cx-color-neutral-500)}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-bottom:none;border-top:6px solid var(--cx-color-neutral-600);color:var(--cx-color-neutral-600)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical .tabulator-col-content .tabulator-col-title{writing-mode:vertical-rl;text-orientation:mixed;justify-content:center;align-items:center;display:flex}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-col-vertical-flip .tabulator-col-title{transform:rotate(180deg)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-title{padding-right:0;padding-top:var(--cx-spacing-large)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable.tabulator-col-vertical-flip .tabulator-col-title{padding-right:0;padding-bottom:var(--cx-spacing-large)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-sorter{justify-content:center;inset:4px 0 auto}.tabulator .tabulator-header .tabulator-frozen{z-index:11;position:sticky;left:0}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-left{border-right:2px solid var(--frozen-border-color)}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-right{border-left:2px solid var(--frozen-border-color)}.tabulator .tabulator-header .tabulator-frozen-rows-holder{border-bottom:2px solid var(--frozen-border-color);display:inline-block}.tabulator .tabulator-header .tabulator-frozen-rows-holder:empty{display:none}`, Zf = 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}`, em = 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)}`, tm = 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)}`, im = 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)}`, sm = 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)}`, om = 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)}`, rm = 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}`, nm = 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}`, am = 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}`, lm = 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-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:0;padding-left:var(--cx-spacing-x-large)}.tabulator.tabulator-rtl .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{left:8px;right:initial}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell{border-right:initial;border-left:var(--border-width) solid var(--cell-border-color)}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-branch{margin-right:initial;margin-left:var(--cx-spacing-2x-small);border-bottom-left-radius:initial;border-left:initial;border-right:2px solid var(--cx-color-neutral-400);border-bottom-right-radius:1px}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-left:2px solid var(--cx-color-neutral-400)}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-right:2px solid var(--cx-color-neutral-400)}.tabulator.tabulator-rtl .tabulator-row .tabulator-col-resize-handle:last-of-type{width:3px;margin-left:0;margin-right:-3px}.tabulator.tabulator-rtl .tabulator-footer .tabulator-calcs-holder{text-align:initial}`, hm = 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)}`, cm = 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)}`, dm = [
|
|
20072
|
-
Wf,
|
|
20073
|
-
Qf,
|
|
20074
|
-
im,
|
|
20075
|
-
Gf,
|
|
20076
|
-
hm,
|
|
20132
|
+
const qf = 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)}`, Xf = 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}`, Jf = 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}`, Yf = Z`.tabulator-clickable-cell{color:var(--clickable-cell-color,var(--cx-color-primary-600));cursor:pointer}.tabulator-clickable-cell:hover{text-decoration:underline}`, Qf = 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}`, Zf = 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)}`, em = 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}`, tm = 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}`, im = 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)}`, sm = 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{position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title{box-sizing:border-box;white-space:nowrap;text-overflow:ellipsis;vertical-align:bottom;width:100%;overflow:hidden}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title.tabulator-col-title-wrap{white-space:normal;text-overflow:initial}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-title-editor{box-sizing:border-box;border:solid var(--border-width) var(--border-color);width:100%;padding:var(--cx-spacing-3x-small);background:var(--cx-color-neutral-0)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-title .tabulator-header-popup-button+.tabulator-title-editor{width:calc(100% - 22px)}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{align-items:center;display:flex;position:absolute;top:0;bottom:0;right:4px}.tabulator .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-left:6px solid #0000;border-right:6px solid #0000;border-bottom:6px solid var(--cx-color-neutral-200);width:0;height:0}.tabulator .tabulator-header .tabulator-col.tabulator-col-group .tabulator-col-group-cols{border-top:1px solid var(--cx-color-neutral-400);margin-right:-1px;display:flex;position:relative;overflow:hidden}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter{box-sizing:border-box;margin-top:var(--cx-spacing-3x-small);text-align:center;width:100%;position:relative}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter textarea{height:auto!important}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter svg{margin-top:var(--cx-spacing-3x-small)}.tabulator .tabulator-header .tabulator-col .tabulator-header-filter input::-ms-clear{width:0;height:0}.tabulator .tabulator-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:var(--cx-spacing-x-large)}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable.tabulator-col-sorter-element:hover{cursor:pointer}.tabulator .tabulator-header .tabulator-col:hover{background-color:var(--header-hover-background-color)}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter{color:var(--cx-color-neutral-200)}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-bottom:6px solid var(--cx-color-neutral-500)}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=none] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid var(--cx-color-neutral-200)}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter{color:var(--cx-color-neutral-600)}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-bottom:6px solid var(--cx-color-neutral-500)}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=ascending] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-top:none;border-bottom:6px solid var(--cx-color-neutral-600)}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter{color:var(--cx-color-neutral-600)}@media (hover:hover) and (pointer:fine){.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter.tabulator-col-sorter-element .tabulator-arrow:hover{cursor:pointer;border-top:6px solid var(--cx-color-neutral-500)}}.tabulator .tabulator-header .tabulator-col.tabulator-sortable[aria-sort=descending] .tabulator-col-content .tabulator-col-sorter .tabulator-arrow{border-bottom:none;border-top:6px solid var(--cx-color-neutral-600);color:var(--cx-color-neutral-600)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical .tabulator-col-content .tabulator-col-title{writing-mode:vertical-rl;text-orientation:mixed;justify-content:center;align-items:center;display:flex}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-col-vertical-flip .tabulator-col-title{transform:rotate(180deg)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-title{padding-right:0;padding-top:var(--cx-spacing-large)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable.tabulator-col-vertical-flip .tabulator-col-title{padding-right:0;padding-bottom:var(--cx-spacing-large)}.tabulator .tabulator-header .tabulator-col.tabulator-col-vertical.tabulator-sortable .tabulator-col-sorter{justify-content:center;inset:4px 0 auto}.tabulator .tabulator-header .tabulator-frozen{z-index:11;position:sticky;left:0}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-left{border-right:2px solid var(--frozen-border-color)}.tabulator .tabulator-header .tabulator-frozen.tabulator-frozen-right{border-left:2px solid var(--frozen-border-color)}.tabulator .tabulator-header .tabulator-frozen-rows-holder{border-bottom:2px solid var(--frozen-border-color);display:inline-block}.tabulator .tabulator-header .tabulator-frozen-rows-holder:empty{display:none}`, om = 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}`, rm = 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)}`, nm = 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)}`, am = 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)}`, lm = 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)}`, hm = 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)}`, cm = 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}`, dm = 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}`, um = 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}`, pm = 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-header .tabulator-col.tabulator-sortable .tabulator-col-title{padding-right:0;padding-left:var(--cx-spacing-x-large)}.tabulator.tabulator-rtl .tabulator-header .tabulator-col .tabulator-col-content .tabulator-col-sorter{left:8px;right:initial}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell{border-right:initial;border-left:var(--border-width) solid var(--cell-border-color)}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell .tabulator-data-tree-branch{margin-right:initial;margin-left:var(--cx-spacing-2x-small);border-bottom-left-radius:initial;border-left:initial;border-right:2px solid var(--cx-color-neutral-400);border-bottom-right-radius:1px}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-left{border-left:2px solid var(--cx-color-neutral-400)}.tabulator.tabulator-rtl .tabulator-row .tabulator-cell.tabulator-frozen.tabulator-frozen-right{border-right:2px solid var(--cx-color-neutral-400)}.tabulator.tabulator-rtl .tabulator-row .tabulator-col-resize-handle:last-of-type{width:3px;margin-left:0;margin-right:-3px}.tabulator.tabulator-rtl .tabulator-footer .tabulator-calcs-holder{text-align:initial}`, fm = 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)}`, mm = 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)}`, gm = [
|
|
20077
20133
|
Xf,
|
|
20078
|
-
|
|
20079
|
-
tm,
|
|
20080
|
-
rm,
|
|
20081
|
-
jf,
|
|
20134
|
+
sm,
|
|
20082
20135
|
am,
|
|
20083
|
-
|
|
20136
|
+
Jf,
|
|
20137
|
+
fm,
|
|
20084
20138
|
em,
|
|
20085
|
-
|
|
20139
|
+
mm,
|
|
20086
20140
|
nm,
|
|
20087
|
-
|
|
20088
|
-
|
|
20089
|
-
|
|
20141
|
+
cm,
|
|
20142
|
+
qf,
|
|
20143
|
+
um,
|
|
20144
|
+
Zf,
|
|
20145
|
+
rm,
|
|
20146
|
+
Qf,
|
|
20147
|
+
dm,
|
|
20148
|
+
tm,
|
|
20149
|
+
im,
|
|
20090
20150
|
lm,
|
|
20151
|
+
pm,
|
|
20152
|
+
hm,
|
|
20091
20153
|
om,
|
|
20092
|
-
|
|
20093
|
-
|
|
20094
|
-
], um = {
|
|
20154
|
+
Yf
|
|
20155
|
+
], bm = {
|
|
20095
20156
|
formatter: function() {
|
|
20096
20157
|
const r = document.createElement("div");
|
|
20097
20158
|
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";
|
|
@@ -20104,7 +20165,7 @@ const jf = Z`.tabulator .tabulator-alert{z-index:100;background:color-mix(in srg
|
|
|
20104
20165
|
rowHandle: !0,
|
|
20105
20166
|
title: "",
|
|
20106
20167
|
width: 40
|
|
20107
|
-
},
|
|
20168
|
+
}, wm = {
|
|
20108
20169
|
fromAttribute: (r) => {
|
|
20109
20170
|
if (typeof r == "string") {
|
|
20110
20171
|
if (!r.trim())
|
|
@@ -20121,7 +20182,7 @@ const jf = Z`.tabulator .tabulator-alert{z-index:100;background:color-mix(in srg
|
|
|
20121
20182
|
return r;
|
|
20122
20183
|
},
|
|
20123
20184
|
toAttribute: (r) => typeof r == "function" ? "" : Array.isArray(r) ? JSON.stringify(r) : typeof r == "number" ? r.toString() : r
|
|
20124
|
-
},
|
|
20185
|
+
}, vm = {
|
|
20125
20186
|
fromAttribute: (r) => {
|
|
20126
20187
|
if (typeof r == "string") {
|
|
20127
20188
|
if (!r.trim())
|
|
@@ -20137,7 +20198,7 @@ const jf = Z`.tabulator .tabulator-alert{z-index:100;background:color-mix(in srg
|
|
|
20137
20198
|
return r;
|
|
20138
20199
|
},
|
|
20139
20200
|
toAttribute: (r) => typeof r == "function" ? "" : Array.isArray(r) ? JSON.stringify(r) : typeof r == "boolean" ? r.toString() : r
|
|
20140
|
-
},
|
|
20201
|
+
}, ym = {
|
|
20141
20202
|
fromAttribute: (r) => {
|
|
20142
20203
|
if (typeof r == "string") {
|
|
20143
20204
|
if (!r.trim())
|
|
@@ -20153,7 +20214,7 @@ const jf = Z`.tabulator .tabulator-alert{z-index:100;background:color-mix(in srg
|
|
|
20153
20214
|
},
|
|
20154
20215
|
toAttribute: (r) => typeof r == "function" ? "" : Array.isArray(r) ? JSON.stringify(r) : r
|
|
20155
20216
|
};
|
|
20156
|
-
function
|
|
20217
|
+
function Cm(r, e, t, i = 500) {
|
|
20157
20218
|
return new Promise((s, o) => {
|
|
20158
20219
|
if (!Number.isInteger(i) || i < 1) {
|
|
20159
20220
|
o(new RangeError("chunkSize must be a positive integer"));
|
|
@@ -20190,7 +20251,7 @@ function gm(r, e, t, i = 500) {
|
|
|
20190
20251
|
});
|
|
20191
20252
|
});
|
|
20192
20253
|
}
|
|
20193
|
-
async function
|
|
20254
|
+
async function Em(r, e, t, i = 500) {
|
|
20194
20255
|
if (!Number.isInteger(i) || i < 1)
|
|
20195
20256
|
throw new RangeError("chunkSize must be a positive integer");
|
|
20196
20257
|
const { columns: s, rows: o } = In(r);
|
|
@@ -20199,7 +20260,7 @@ async function bm(r, e, t, i = 500) {
|
|
|
20199
20260
|
await t(o.slice(n, n + i));
|
|
20200
20261
|
return o.length;
|
|
20201
20262
|
}
|
|
20202
|
-
async function
|
|
20263
|
+
async function xm(r, e, t, i = 500) {
|
|
20203
20264
|
if (!Number.isInteger(i) || i < 1)
|
|
20204
20265
|
throw new RangeError("chunkSize must be a positive integer");
|
|
20205
20266
|
const s = JSON.parse(r), { columns: o, rows: n } = Pn(s);
|
|
@@ -20228,7 +20289,7 @@ function Pn(r) {
|
|
|
20228
20289
|
return { columns: e.columns, rows: e.data };
|
|
20229
20290
|
throw new Error("JSON data must be an array of row objects or a { columns, data } envelope");
|
|
20230
20291
|
}
|
|
20231
|
-
function
|
|
20292
|
+
function Rm(r) {
|
|
20232
20293
|
if (r.length === 0)
|
|
20233
20294
|
return { columns: [], data: [] };
|
|
20234
20295
|
const t = r[0].map((a, l) => {
|
|
@@ -20245,17 +20306,17 @@ function vm(r) {
|
|
|
20245
20306
|
);
|
|
20246
20307
|
return { columns: o, data: n };
|
|
20247
20308
|
}
|
|
20248
|
-
function
|
|
20309
|
+
function Sm(r) {
|
|
20249
20310
|
const e = yo.parse(r, { header: !1, skipEmptyLines: !0 }), t = e.errors.filter((i) => i.code !== "UndetectableDelimiter");
|
|
20250
20311
|
if (t.length > 0)
|
|
20251
20312
|
throw new Error(`CSV parse error: ${t[0].message}`);
|
|
20252
|
-
return
|
|
20313
|
+
return Rm(e.data);
|
|
20253
20314
|
}
|
|
20254
|
-
function
|
|
20315
|
+
function Tm(r) {
|
|
20255
20316
|
const e = JSON.parse(r), { columns: t, rows: i } = Pn(e);
|
|
20256
20317
|
return { columns: t, data: i };
|
|
20257
20318
|
}
|
|
20258
|
-
function
|
|
20319
|
+
function km(r) {
|
|
20259
20320
|
const { columns: e, rows: t } = In(r);
|
|
20260
20321
|
return { columns: e, data: t };
|
|
20261
20322
|
}
|
|
@@ -20291,7 +20352,7 @@ function Gr(r, e) {
|
|
|
20291
20352
|
return t;
|
|
20292
20353
|
return null;
|
|
20293
20354
|
}
|
|
20294
|
-
function
|
|
20355
|
+
function Dm(r) {
|
|
20295
20356
|
const e = r.trim();
|
|
20296
20357
|
if (e.length === 0)
|
|
20297
20358
|
return r;
|
|
@@ -20307,13 +20368,13 @@ function xm(r) {
|
|
|
20307
20368
|
function Ur(r, e) {
|
|
20308
20369
|
const t = /* @__PURE__ */ new Map();
|
|
20309
20370
|
for (const i of Array.from(r.children))
|
|
20310
|
-
t.set(i.tagName,
|
|
20371
|
+
t.set(i.tagName, Dm(i.textContent ?? ""));
|
|
20311
20372
|
return Object.fromEntries(
|
|
20312
20373
|
e.map((i) => [i, t.has(i) ? t.get(i) : ""])
|
|
20313
20374
|
);
|
|
20314
20375
|
}
|
|
20315
20376
|
_e.Csv + "", _e.Json + "", _e.Xml + "";
|
|
20316
|
-
function
|
|
20377
|
+
function Mm(r, e) {
|
|
20317
20378
|
const i = r.toLowerCase().split("?")[0].split("#")[0].split(".").pop() ?? "";
|
|
20318
20379
|
if (i === "csv")
|
|
20319
20380
|
return _e.Csv;
|
|
@@ -20324,22 +20385,22 @@ function Rm(r, e) {
|
|
|
20324
20385
|
const s = (e ?? "").toLowerCase();
|
|
20325
20386
|
return s.includes("text/csv") ? _e.Csv : s.includes("application/json") || s.includes("text/json") || s.includes("+json") ? _e.Json : s.includes("application/xml") || s.includes("text/xml") || s.includes("+xml") ? _e.Xml : _e.Csv;
|
|
20326
20387
|
}
|
|
20327
|
-
function
|
|
20328
|
-
return r !== _e.Auto ? r :
|
|
20388
|
+
function Lm(r, e, t) {
|
|
20389
|
+
return r !== _e.Auto ? r : Mm(e, t);
|
|
20329
20390
|
}
|
|
20330
|
-
var
|
|
20391
|
+
var Fm = Object.defineProperty, _m = Object.getOwnPropertyDescriptor, Hn = (r) => {
|
|
20331
20392
|
throw TypeError(r);
|
|
20332
20393
|
}, w = (r, e, t, i) => {
|
|
20333
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
20394
|
+
for (var s = i > 1 ? void 0 : i ? _m(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
20334
20395
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
20335
|
-
return i && s &&
|
|
20336
|
-
},
|
|
20396
|
+
return i && s && Fm(e, t, s), s;
|
|
20397
|
+
}, zm = (r, e, t) => e.has(r) || Hn("Cannot " + t), Om = (r, e, t) => (zm(r, e, "read from private field"), t ? t.call(r) : e.get(r)), Am = (r, e, t) => e.has(r) ? Hn("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(r) : e.set(r, t), no, Nn;
|
|
20337
20398
|
let b = class extends Ae {
|
|
20338
20399
|
constructor() {
|
|
20339
|
-
super(),
|
|
20400
|
+
super(), Am(this, no), this.localize = new tt(this), this.hasSlotController = new rn(this, "add-action"), this.verticalOsInstance = null, this.horizontalOsInstance = null, this.resizeObserver = null, this.overflowObserver = null, this.ajaxFacetsController = new Bf(this), this.filterController = new Uf(this), this.ajaxFacetFilterController = new Gf(this, this.filterController), this.selectAllController = new Kf(this), this.shadowRootAutoloader = new An(
|
|
20340
20401
|
this
|
|
20341
|
-
), 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.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 =
|
|
20342
|
-
this.useOverlayScrollbar ? this.initVerticalScrollbar() : this.verticalOsInstance?.destroy(), this.initHorizontalScrollbar(), this.initOverflowObserver(), this.filterController.syncDropdownFilterSources(this.dropdownFilters), this.handleSearch(), this.filterController.applyFilters(), this.placePaginator(), this.dataUrl && this.loadFromDataUrl();
|
|
20402
|
+
), 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.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 = Fa.Both, this.paginationShowFirst = !1, this.paginationShowLast = !1, this.paginationPlacement = qi.TopEnd, this.noHeaderRowReserve = !1, this.hoverMenu = void 0, this.label = "", this.tabulatorRole = "grid", this.columnGroupRole = "columngroup", this.columnHeaderRole = "columnheader", this.rowRole = "row", this.rowGroupRole = "rowgroup", this.cellRole = "gridcell", this.filterMode = 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 = _e.Auto, 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 = () => {
|
|
20403
|
+
this.useOverlayScrollbar ? this.initVerticalScrollbar() : this.verticalOsInstance?.destroy(), this.initHorizontalScrollbar(), this.initOverflowObserver(), this.tabulatorInstance?.setColumns(this.columns ?? []), this.filterController.syncDropdownFilterSources(this.dropdownFilters), this.handleSearch(), this.filterController.applyFilters(), this.placePaginator(), this.dataUrl && this.loadFromDataUrl();
|
|
20343
20404
|
}, this.handleValidationChanged = (t) => {
|
|
20344
20405
|
this.validationTooltipAnchor && !this.validationTooltipAnchor.isConnected && this.hideValidationTooltip(), this.emit("cx-table-validation-change", { detail: t });
|
|
20345
20406
|
}, this.checkHorizontalOverflow = () => {
|
|
@@ -20375,6 +20436,20 @@ let b = class extends Ae {
|
|
|
20375
20436
|
get showPaginationFooter() {
|
|
20376
20437
|
return this.pagination && this.isBottomPlacement;
|
|
20377
20438
|
}
|
|
20439
|
+
/**
|
|
20440
|
+
* Whether data is loaded per page from the server, so only the current page's
|
|
20441
|
+
* rows are in memory. True only when pagination is on AND the data source is
|
|
20442
|
+
* remote — an `ajaxURL` (which forces the internal pagination mode to remote)
|
|
20443
|
+
* or an explicit `paginationMode="remote"`. With pagination off, an ajax table
|
|
20444
|
+
* still fetches the full dataset in one request, so this is false.
|
|
20445
|
+
*
|
|
20446
|
+
* Note: do not rely on `this.paginationMode` alone — the Ajax module forces the
|
|
20447
|
+
* internal Tabulator option to remote without updating this Lit property, so
|
|
20448
|
+
* the `ajaxURL` term is what catches the ajax case.
|
|
20449
|
+
*/
|
|
20450
|
+
get isRemotePagination() {
|
|
20451
|
+
return this.pagination && (!!this.ajaxURL || this.paginationMode === pt.Remote);
|
|
20452
|
+
}
|
|
20378
20453
|
/**
|
|
20379
20454
|
* Whether pagination alone should render the toolbar. A top-placed paginator
|
|
20380
20455
|
* sits in the toolbar header row, and by default the empty header row is
|
|
@@ -20438,9 +20513,9 @@ let b = class extends Ae {
|
|
|
20438
20513
|
async initTable() {
|
|
20439
20514
|
this.tabulatorInstance && (this.selectAllController.resetSelection(), this.overflowObserver?.disconnect(), this.verticalOsInstance?.destroy(), this.horizontalOsInstance?.destroy(), this.tabulatorInstance.destroy());
|
|
20440
20515
|
let e = this.rowHeader;
|
|
20441
|
-
e == null && (this.movableRows ? e =
|
|
20516
|
+
e == null && (this.movableRows ? e = bm : this.responsiveLayout === "collapse" && (e = {
|
|
20442
20517
|
formatter: "responsiveCollapse"
|
|
20443
|
-
})), this.tabulatorInstance = new
|
|
20518
|
+
})), this.tabulatorInstance = new zf(this.table, {
|
|
20444
20519
|
ajaxConfig: { method: this.ajaxMethod },
|
|
20445
20520
|
ajaxContentType: this.ajaxMethod?.toUpperCase() === "POST" ? "json" : "form",
|
|
20446
20521
|
ajaxParams: this.ajaxParams,
|
|
@@ -20492,7 +20567,7 @@ let b = class extends Ae {
|
|
|
20492
20567
|
groupHeaderUseFormatter: this.groupHeaderUseFormatter,
|
|
20493
20568
|
groupIndent: this.groupIndent,
|
|
20494
20569
|
groupLoadMoreMeta: this.groupLoadMoreMeta,
|
|
20495
|
-
groupStartOpen:
|
|
20570
|
+
groupStartOpen: Om(this, no, Nn),
|
|
20496
20571
|
groupToggleElement: this.groupToggleElement,
|
|
20497
20572
|
groupUpdateOnCellEdit: this.groupUpdateOnCellEdit,
|
|
20498
20573
|
groupValues: this.groupValues,
|
|
@@ -20554,16 +20629,25 @@ let b = class extends Ae {
|
|
|
20554
20629
|
toolbarElement: this.tableToolbar,
|
|
20555
20630
|
validateOnLoad: this.validateOnLoad,
|
|
20556
20631
|
validationWorkerThreshold: this.validationWorkerThreshold
|
|
20557
|
-
}), this.loading && this.tabulatorInstance.dataLoader?.setExternalLoading(!0), this.canSelectAll && this.selectAllController.onTableInit(), this.registerEventListeners(), this.tabulatorInstance.on("tableBuilt", this.handleTableBuilt), this.tabulatorInstance.on("validationChanged", this.handleValidationChanged);
|
|
20632
|
+
}), this.filterController.resetAppliedFilterBaseline(), this.loading && this.tabulatorInstance.dataLoader?.setExternalLoading(!0), this.canSelectAll && this.selectAllController.onTableInit(), this.registerEventListeners(), this.tabulatorInstance.on("tableBuilt", this.handleTableBuilt), this.tabulatorInstance.on("validationChanged", this.handleValidationChanged);
|
|
20558
20633
|
}
|
|
20559
20634
|
handleUseOverlayScrollbarChange() {
|
|
20560
20635
|
this.useOverlayScrollbar ? this.initialized ? this.initVerticalScrollbar() : this.tabulatorInstance?.on("tableBuilt", this.initVerticalScrollbar) : this.verticalOsInstance?.destroy(), this.initialized && this.tabulatorInstance?.redraw();
|
|
20561
20636
|
}
|
|
20562
20637
|
connectedCallback() {
|
|
20563
|
-
super.connectedCallback(), this.hasUpdated && this.
|
|
20638
|
+
super.connectedCallback(), this.hasUpdated && this.initTableWhenSized();
|
|
20564
20639
|
}
|
|
20565
20640
|
runFirstUpdated() {
|
|
20566
|
-
this.
|
|
20641
|
+
this.initTableWhenSized();
|
|
20642
|
+
}
|
|
20643
|
+
initTableWhenSized() {
|
|
20644
|
+
if (this.offsetWidth > 0) {
|
|
20645
|
+
this.resizeObserver?.disconnect(), this.resizeObserver = null, this.initTable();
|
|
20646
|
+
return;
|
|
20647
|
+
}
|
|
20648
|
+
this.resizeObserver?.disconnect(), this.resizeObserver = new ResizeObserver(() => {
|
|
20649
|
+
this.offsetWidth <= 0 || (this.resizeObserver?.disconnect(), this.resizeObserver = null, this.initTable());
|
|
20650
|
+
}), this.resizeObserver.observe(this);
|
|
20567
20651
|
}
|
|
20568
20652
|
/**
|
|
20569
20653
|
* One shared tooltip serves every invalid cell: on hover it is re-anchored
|
|
@@ -20615,7 +20699,7 @@ let b = class extends Ae {
|
|
|
20615
20699
|
}, 150));
|
|
20616
20700
|
}
|
|
20617
20701
|
disconnectedCallback() {
|
|
20618
|
-
super.disconnectedCallback(), globalThis.clearTimeout(this.validationTooltipHideTimeout), this.tabulatorInstance?.destroy(), this.verticalOsInstance?.destroy(), this.horizontalOsInstance?.destroy(), this.resizeObserver?.
|
|
20702
|
+
super.disconnectedCallback(), globalThis.clearTimeout(this.validationTooltipHideTimeout), this.tabulatorInstance?.destroy(), this.verticalOsInstance?.destroy(), this.horizontalOsInstance?.destroy(), this.resizeObserver?.disconnect(), this.resizeObserver = null, this.overflowObserver?.disconnect(), this.overflowObserver = null, this.watchedEvents.forEach((e) => {
|
|
20619
20703
|
this.tabulatorInstance?.off(e);
|
|
20620
20704
|
});
|
|
20621
20705
|
}
|
|
@@ -20661,7 +20745,7 @@ let b = class extends Ae {
|
|
|
20661
20745
|
});
|
|
20662
20746
|
}
|
|
20663
20747
|
handleLayoutChange() {
|
|
20664
|
-
this.tabulatorInstance && this.
|
|
20748
|
+
this.tabulatorInstance && this.initTableWhenSized();
|
|
20665
20749
|
}
|
|
20666
20750
|
handleDataChange() {
|
|
20667
20751
|
this.tabulatorInstance?.rowManager?.renderer && this.tabulatorInstance.setData(this.data ?? []);
|
|
@@ -20806,7 +20890,7 @@ let b = class extends Ae {
|
|
|
20806
20890
|
}
|
|
20807
20891
|
async streamCsvData(e, t) {
|
|
20808
20892
|
let i = !0;
|
|
20809
|
-
const o = await
|
|
20893
|
+
const o = await Cm(
|
|
20810
20894
|
e,
|
|
20811
20895
|
(n) => {
|
|
20812
20896
|
t === this.dataUrlRequestId && (this.columns = this.resolveColumnsAfterLoad(n));
|
|
@@ -20827,7 +20911,7 @@ let b = class extends Ae {
|
|
|
20827
20911
|
};
|
|
20828
20912
|
let n;
|
|
20829
20913
|
try {
|
|
20830
|
-
n = await
|
|
20914
|
+
n = await xm(
|
|
20831
20915
|
e,
|
|
20832
20916
|
(a) => {
|
|
20833
20917
|
t === this.dataUrlRequestId && (this.columns = this.resolveColumnsAfterLoad(a));
|
|
@@ -20851,7 +20935,7 @@ let b = class extends Ae {
|
|
|
20851
20935
|
};
|
|
20852
20936
|
let n;
|
|
20853
20937
|
try {
|
|
20854
|
-
n = await
|
|
20938
|
+
n = await Em(
|
|
20855
20939
|
e,
|
|
20856
20940
|
(a) => {
|
|
20857
20941
|
t === this.dataUrlRequestId && (this.columns = this.resolveColumnsAfterLoad(a));
|
|
@@ -20873,7 +20957,7 @@ let b = class extends Ae {
|
|
|
20873
20957
|
const i = await fetch(e);
|
|
20874
20958
|
if (!i.ok)
|
|
20875
20959
|
throw new Error(`Failed to fetch data: ${i.status} ${i.statusText}`);
|
|
20876
|
-
const s = i.headers.get("content-type"), o =
|
|
20960
|
+
const s = i.headers.get("content-type"), o = Lm(this.dataFormat, e, s);
|
|
20877
20961
|
if (t !== this.dataUrlRequestId)
|
|
20878
20962
|
return;
|
|
20879
20963
|
const n = await i.text();
|
|
@@ -20921,7 +21005,7 @@ let b = class extends Ae {
|
|
|
20921
21005
|
t,
|
|
20922
21006
|
i
|
|
20923
21007
|
);
|
|
20924
|
-
return this.ajaxFacetsController.handleAjaxResponse(s), this.
|
|
21008
|
+
return this.ajaxFacetsController.handleAjaxResponse(s), this.isRemotePagination ? Array.isArray(s) ? { data: s, last_page: 1 } : s : Array.isArray(s) ? s : s?.data ?? s;
|
|
20925
21009
|
}
|
|
20926
21010
|
renderToolbar() {
|
|
20927
21011
|
return x`<cx-table-toolbar label=${this.label} ?pagination=${this.pagination} pagination-placement=${se(
|
|
@@ -21027,17 +21111,17 @@ Nn = function() {
|
|
|
21027
21111
|
};
|
|
21028
21112
|
b.styles = [
|
|
21029
21113
|
$e,
|
|
21030
|
-
|
|
21114
|
+
gm,
|
|
21031
21115
|
jn
|
|
21032
21116
|
];
|
|
21033
21117
|
b.dependencies = {
|
|
21034
21118
|
"cx-button": Et,
|
|
21035
21119
|
"cx-checkbox": on,
|
|
21036
|
-
"cx-divider":
|
|
21120
|
+
"cx-divider": Aa,
|
|
21037
21121
|
"cx-faceted-filter": ve,
|
|
21038
|
-
"cx-format-number":
|
|
21122
|
+
"cx-format-number": Pa,
|
|
21039
21123
|
"cx-icon-button": oi,
|
|
21040
|
-
"cx-select":
|
|
21124
|
+
"cx-select": Ia,
|
|
21041
21125
|
"cx-space": Ri,
|
|
21042
21126
|
"cx-spinner": an,
|
|
21043
21127
|
"cx-table-column-editor": Ze,
|
|
@@ -21380,7 +21464,7 @@ w([
|
|
|
21380
21464
|
w([
|
|
21381
21465
|
m({
|
|
21382
21466
|
attribute: "frozen-rows",
|
|
21383
|
-
converter:
|
|
21467
|
+
converter: wm
|
|
21384
21468
|
})
|
|
21385
21469
|
], b.prototype, "frozenRows", 2);
|
|
21386
21470
|
w([
|
|
@@ -21398,7 +21482,7 @@ w([
|
|
|
21398
21482
|
w([
|
|
21399
21483
|
m({
|
|
21400
21484
|
attribute: "group-by",
|
|
21401
|
-
converter:
|
|
21485
|
+
converter: ym
|
|
21402
21486
|
})
|
|
21403
21487
|
], b.prototype, "groupBy", 2);
|
|
21404
21488
|
w([
|
|
@@ -21553,7 +21637,7 @@ w([
|
|
|
21553
21637
|
w([
|
|
21554
21638
|
m({
|
|
21555
21639
|
attribute: "data-tree-start-expanded",
|
|
21556
|
-
converter:
|
|
21640
|
+
converter: vm
|
|
21557
21641
|
})
|
|
21558
21642
|
], b.prototype, "dataTreeStartExpanded", 2);
|
|
21559
21643
|
w([
|
|
@@ -22106,9 +22190,9 @@ w([
|
|
|
22106
22190
|
b = w([
|
|
22107
22191
|
Pe("cx-table")
|
|
22108
22192
|
], b);
|
|
22109
|
-
const
|
|
22193
|
+
const Pm = b;
|
|
22110
22194
|
var Je = /* @__PURE__ */ ((r) => (r.Circles = "circles", r.Grid = "grid", r.Table = "table", r))(Je || {});
|
|
22111
|
-
const Kr = 165,
|
|
22195
|
+
const Kr = 165, Im = ["HEX", "RGB", "CMYK", "PMS"], Hm = {
|
|
22112
22196
|
resizable: !1
|
|
22113
22197
|
}, Vn = [
|
|
22114
22198
|
{
|
|
@@ -22183,9 +22267,9 @@ function zi(r, e, t) {
|
|
|
22183
22267
|
verticalAlign: "middle",
|
|
22184
22268
|
whiteSpace: "nowrap"
|
|
22185
22269
|
})}>${i}</span></cx-copy-button>`, o = document.createDocumentFragment();
|
|
22186
|
-
return
|
|
22270
|
+
return da(s, o), o.firstElementChild;
|
|
22187
22271
|
}
|
|
22188
|
-
const
|
|
22272
|
+
const Nm = (r, e) => [
|
|
22189
22273
|
...Vn.slice(0, 2),
|
|
22190
22274
|
{
|
|
22191
22275
|
field: "hex",
|
|
@@ -22223,11 +22307,11 @@ const Om = (r, e) => [
|
|
|
22223
22307
|
title: "PMS",
|
|
22224
22308
|
widthGrow: 2
|
|
22225
22309
|
}
|
|
22226
|
-
],
|
|
22227
|
-
var
|
|
22228
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
22310
|
+
], Vm = Z`: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}`;
|
|
22311
|
+
var Bm = Object.defineProperty, $m = Object.getOwnPropertyDescriptor, Ee = (r, e, t, i) => {
|
|
22312
|
+
for (var s = i > 1 ? void 0 : i ? $m(e, t) : e, o = r.length - 1, n; o >= 0; o--)
|
|
22229
22313
|
(n = r[o]) && (s = (i ? n(e, t, s) : n(s)) || s);
|
|
22230
|
-
return i && s &&
|
|
22314
|
+
return i && s && Bm(e, t, s), s;
|
|
22231
22315
|
};
|
|
22232
22316
|
const qr = "unnamed";
|
|
22233
22317
|
let me = class extends Ae {
|
|
@@ -22284,7 +22368,7 @@ let me = class extends Ae {
|
|
|
22284
22368
|
* Filter out the columns that are not in the showCodes
|
|
22285
22369
|
*/
|
|
22286
22370
|
getTableColumns(r) {
|
|
22287
|
-
const e = this.canCopy ?
|
|
22371
|
+
const e = this.canCopy ? Nm(this.localize, r) : Vn;
|
|
22288
22372
|
return [
|
|
22289
22373
|
...e.slice(0, 2),
|
|
22290
22374
|
...e.slice(2).filter(
|
|
@@ -22349,7 +22433,7 @@ let me = class extends Ae {
|
|
|
22349
22433
|
)} data-table-container class="color-swatch-group__table-container" @focusin=${this.handleFocusIn} @focusout=${this.handleFocusOut} @keydown=${this.handleKeyDown}><cx-typography variant="h3">${t.palette === qr ? 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=${Yo(
|
|
22350
22434
|
[this.showCodes, this.canCopy, this.localize],
|
|
22351
22435
|
() => this.getTableColumns(t.palette)
|
|
22352
|
-
)} .columnDefaults=${
|
|
22436
|
+
)} .columnDefaults=${Hm} .rowHeight=${48} .data=${i} class="color-swatch-group__table"></cx-table></div>`;
|
|
22353
22437
|
}
|
|
22354
22438
|
)
|
|
22355
22439
|
)}</cx-space>`,
|
|
@@ -22375,18 +22459,18 @@ let me = class extends Ae {
|
|
|
22375
22459
|
`;
|
|
22376
22460
|
}
|
|
22377
22461
|
};
|
|
22378
|
-
me.styles = [$e,
|
|
22462
|
+
me.styles = [$e, Vm];
|
|
22379
22463
|
me.dependencies = {
|
|
22380
22464
|
"cx-color-swatch": Jr,
|
|
22381
22465
|
"cx-space": Ri,
|
|
22382
|
-
"cx-table":
|
|
22466
|
+
"cx-table": Pm,
|
|
22383
22467
|
"cx-typography": Xr
|
|
22384
22468
|
};
|
|
22385
22469
|
Ee([
|
|
22386
22470
|
ue(".color-swatch-group__swatches")
|
|
22387
22471
|
], me.prototype, "containerEl", 2);
|
|
22388
22472
|
Ee([
|
|
22389
|
-
|
|
22473
|
+
$a("cx-table")
|
|
22390
22474
|
], me.prototype, "tableEls", 2);
|
|
22391
22475
|
Ee([
|
|
22392
22476
|
m({ reflect: !0, type: String })
|
|
@@ -22404,7 +22488,7 @@ Ee([
|
|
|
22404
22488
|
m({
|
|
22405
22489
|
attribute: "show-codes",
|
|
22406
22490
|
converter: {
|
|
22407
|
-
fromAttribute: (r) => (r?.split(" ") ?? []).filter((t) =>
|
|
22491
|
+
fromAttribute: (r) => (r?.split(" ") ?? []).filter((t) => Im.includes(t)),
|
|
22408
22492
|
toAttribute: (r) => r.join(" ")
|
|
22409
22493
|
},
|
|
22410
22494
|
reflect: !0
|
|
@@ -22448,11 +22532,11 @@ export {
|
|
|
22448
22532
|
nt as F,
|
|
22449
22533
|
Wt as H,
|
|
22450
22534
|
zt as a,
|
|
22451
|
-
|
|
22535
|
+
Pm as b,
|
|
22452
22536
|
hn as c,
|
|
22453
22537
|
Je as d,
|
|
22454
22538
|
Qo as e,
|
|
22455
|
-
|
|
22539
|
+
Ch as f,
|
|
22456
22540
|
un as g,
|
|
22457
22541
|
ve as h,
|
|
22458
22542
|
Te as i,
|