@orangelogic/design-system 2.61.0 → 2.62.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/library/chunks/{button.P71VJ5xh.js → button.SoX-7UYy.js} +1 -1
- package/library/chunks/{color-swatch-group.DlLmydlB.js → color-swatch-group.BaFFkIh8.js} +3 -3
- package/library/chunks/{color-swatch.Bpb_hW2H.js → color-swatch.B7XXHxx1.js} +1 -1
- package/library/chunks/{confirm-popover.C1uA36JR.js → confirm-popover.327ATuQH.js} +3 -3
- package/library/chunks/{dialog.C_75RVVz.js → dialog.eN3RUbwx.js} +1 -1
- package/library/chunks/{dot-pagination.CoCIJsHC.js → dot-pagination.Bek4w4zz.js} +1 -1
- package/library/chunks/{file-on-demand.B2jNilAj.js → file-on-demand.DJwg2Cpk.js} +7 -7
- package/library/chunks/{folder-select.CSEQxIXF.js → folder-select.DVEFgexx.js} +3 -3
- package/library/chunks/{header.Bd3G0-oA.js → header.Da5yvwdy.js} +1 -1
- package/library/chunks/{i18n.DrzK7TPf.js → i18n.BMRLOAZR.js} +2 -0
- package/library/chunks/{iframe.UCj6Ze2A.js → iframe.BJizUE1A.js} +1 -1
- package/library/chunks/{image.DZCRhE3G.js → image.bndP5q2c.js} +1 -1
- package/library/chunks/{index.S0wy3rzm.js → index.DlyaD23D.js} +1 -1
- package/library/chunks/{list-editor.CrLntuM7.js → list-editor.OXCgQphx.js} +5 -5
- package/library/chunks/{option.D1u5-cTt.js → option.Ce_wlnZj.js} +1 -1
- package/library/chunks/{pagination.BI3LONVU.js → pagination.DXu-mFAk.js} +3 -3
- package/library/chunks/{tab-group.DxSlcWK0.js → tab-group.B2pW__9H.js} +2 -2
- package/library/chunks/{table.CY-iMTWV.js → table.D34xVq4y.js} +557 -499
- package/library/chunks/{tree.CNbrP8cY.js → tree.Zls5YZ8z.js} +1 -1
- package/library/components/alert.js +1 -1
- package/library/components/asset-link-format.js +3 -3
- package/library/components/atoms.js +11 -11
- package/library/components/border-input-group.js +1 -1
- package/library/components/breadcrumb.js +1 -1
- package/library/components/button.js +2 -2
- package/library/components/color-picker.js +2 -2
- package/library/components/color-swatch-group.js +4 -4
- package/library/components/color-swatch.js +2 -2
- package/library/components/confirm-popover.js +4 -4
- package/library/components/copy-button.js +1 -1
- package/library/components/corner-position-input-group.js +2 -2
- package/library/components/details.js +1 -1
- package/library/components/dialog.js +2 -2
- package/library/components/dot-pagination.js +2 -2
- package/library/components/drawer.js +1 -1
- package/library/components/dropdown.js +1 -1
- package/library/components/dynamic-select.js +3 -3
- package/library/components/element-clamp.js +2 -2
- package/library/components/file-on-demand.js +8 -8
- package/library/components/folder-select.js +3 -3
- package/library/components/format-bytes.js +1 -1
- package/library/components/format-date.js +1 -1
- package/library/components/format-number.js +1 -1
- package/library/components/format-time.js +1 -1
- package/library/components/header.js +2 -2
- package/library/components/icon-button.js +1 -1
- package/library/components/iframe.js +2 -2
- package/library/components/image-comparer.js +1 -1
- package/library/components/image.js +2 -2
- package/library/components/input.js +1 -1
- package/library/components/line-clamp.js +1 -1
- package/library/components/list-editor.js +5 -5
- package/library/components/masonry.js +1 -1
- package/library/components/menu-item.js +1 -1
- package/library/components/menu.js +1 -1
- package/library/components/molecules.js +4 -4
- package/library/components/option.js +2 -2
- package/library/components/organisms.js +2 -2
- package/library/components/pagination.js +4 -4
- package/library/components/popup.js +1 -1
- package/library/components/position-picker.js +1 -1
- package/library/components/progress-bar.js +1 -1
- package/library/components/progress-ring.js +1 -1
- package/library/components/range.js +1 -1
- package/library/components/rating.js +1 -1
- package/library/components/relative-time.js +1 -1
- package/library/components/select.js +2 -2
- package/library/components/share-option-list.js +1 -1
- package/library/components/size-input-group.js +1 -1
- package/library/components/spinner.js +1 -1
- package/library/components/split-panel.js +1 -1
- package/library/components/tab-group.js +3 -3
- package/library/components/tab.js +1 -1
- package/library/components/table.js +59 -64
- package/library/components/tag.js +1 -1
- package/library/components/tooltip.js +1 -1
- package/library/components/tree-item.js +2 -2
- package/library/components/tree.js +2 -2
- package/library/components/typeface.js +1 -1
- package/library/components/types.js +2471 -2457
- package/library/components/video.js +2 -2
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/table/table.d.ts +1 -10
- package/library/packages/utils/src/custom-element/i18n.d.ts +2 -0
- package/library/packages/utils/src/custom-element/shadow-root-autoloader-controller.d.ts +15 -0
- package/library/utils.js +2 -2
- package/package.json +1 -1
|
@@ -1,44 +1,107 @@
|
|
|
1
|
-
import { C as Ae } from "./button.
|
|
2
|
-
import
|
|
1
|
+
import { C as Ae } from "./button.SoX-7UYy.js";
|
|
2
|
+
import Rs from "../components/checkbox.js";
|
|
3
3
|
import gs from "../components/divider.js";
|
|
4
|
-
import
|
|
5
|
-
import Ms from "../components/format-time.js";
|
|
6
|
-
import Ke from "../components/icon.js";
|
|
4
|
+
import Ss from "../components/format-number.js";
|
|
7
5
|
import ms from "../components/icon-button.js";
|
|
8
|
-
import
|
|
9
|
-
import Ds from "../components/select.js";
|
|
6
|
+
import Ts from "../components/select.js";
|
|
10
7
|
import pi from "../components/space.js";
|
|
11
|
-
import
|
|
12
|
-
import zs from "../components/tag.js";
|
|
13
|
-
import { C as bs, T as Fs } from "./typography.oDzoLbZS.js";
|
|
8
|
+
import Ms from "../components/spinner.js";
|
|
14
9
|
import { n as g, C as _e } from "./lib-cortex-element.CVMmyPMC.js";
|
|
15
|
-
import { c as
|
|
16
|
-
import { o as
|
|
17
|
-
import { C as
|
|
10
|
+
import { c as Ke } from "./component.styles.DMSLciL5.js";
|
|
11
|
+
import { o as ks, O as Ii } from "./overlayscrollbars.XhGWx9Zk.js";
|
|
12
|
+
import { C as Ds, P as Ls } from "./pagination.DXu-mFAk.js";
|
|
18
13
|
import { c as Ne } from "./custom-element.L4WJXn1j.js";
|
|
19
|
-
import { L as
|
|
14
|
+
import { L as rt } from "./i18n.BMRLOAZR.js";
|
|
20
15
|
import { w as W } from "./watch.q1sEjPWL.js";
|
|
21
|
-
import { i as fi, x, E as
|
|
16
|
+
import { i as fi, x, E as zs } from "./lit-element.jLBm65_O.js";
|
|
22
17
|
import { r as re } from "./state.CSDxrqLd.js";
|
|
23
18
|
import { e as Ve } from "./query.BBf1UFkC.js";
|
|
24
|
-
import { e as
|
|
19
|
+
import { e as Fs } from "./class-map.BiVq-cVR.js";
|
|
25
20
|
import { n as $ } from "./when.Dr1es41R.js";
|
|
21
|
+
import nt from "../components/icon.js";
|
|
26
22
|
import gi from "../components/tooltip.js";
|
|
27
|
-
import { r as
|
|
23
|
+
import { r as Os } from "./choose.BTbF6BAn.js";
|
|
28
24
|
import { o as me } from "./if-defined.BRoBj_Rp.js";
|
|
29
25
|
import { c as Pe } from "./repeat.DbF2p5ae.js";
|
|
30
26
|
import { o as Me } from "./style-map.llVFPd__.js";
|
|
31
27
|
import lt from "../components/dropdown.js";
|
|
32
28
|
import at from "../components/menu.js";
|
|
33
29
|
import ht from "../components/menu-item.js";
|
|
34
|
-
import
|
|
35
|
-
import { g as
|
|
36
|
-
import
|
|
37
|
-
import {
|
|
30
|
+
import Hs from "../components/menu-section.js";
|
|
31
|
+
import { g as Ps } from "./array.DCtvHiLS.js";
|
|
32
|
+
import As from "../components/input.js";
|
|
33
|
+
import { C as _s, T as Ns } from "./typography.oDzoLbZS.js";
|
|
34
|
+
import { g as L, a as Vs } from "./dom.CZrJ64Dm.js";
|
|
38
35
|
import { s as S, a as ct } from "./string.Cp_XNbnV.js";
|
|
39
|
-
import { C as
|
|
36
|
+
import { C as Bs } from "./option.Ce_wlnZj.js";
|
|
40
37
|
var le = /* @__PURE__ */ ((l) => (l.Bottom = "bottom", l.Center = "center", l.Nearest = "nearest", l.Top = "top", l))(le || {}), J = /* @__PURE__ */ ((l) => (l.All = "all", l.Cell = "cell", l.Column = "column", l.Row = "row", l))(J || {}), Ee = /* @__PURE__ */ ((l) => (l.Left = "left", l.Right = "right", l))(Ee || {}), he = /* @__PURE__ */ ((l) => (l.Local = "local", l.Remote = "remote", l))(he || {}), I = /* @__PURE__ */ ((l) => (l.Asc = "asc", l.Desc = "desc", l.None = "none", l))(I || {}), Te = /* @__PURE__ */ ((l) => (l.Ends = "ends", l.Equal = "=", l.GreaterOrEqual = ">=", l.GreaterThan = ">", l.In = "in", l.Keywords = "keywords", l.LessOrEqual = "<=", l.LessThan = "<", l.Like = "like", l.NotEqual = "!=", l.Regex = "regex", l.Starts = "starts", l))(Te || {});
|
|
41
|
-
|
|
38
|
+
class Is {
|
|
39
|
+
#e;
|
|
40
|
+
#i;
|
|
41
|
+
#s = /* @__PURE__ */ new Set();
|
|
42
|
+
#t = !1;
|
|
43
|
+
constructor(e) {
|
|
44
|
+
(this.#e = e).addController(this), this.#i = new MutationObserver((t) => {
|
|
45
|
+
for (const { addedNodes: i } of t)
|
|
46
|
+
for (const s of i)
|
|
47
|
+
s.nodeType === Node.ELEMENT_NODE && this.#l(s);
|
|
48
|
+
});
|
|
49
|
+
}
|
|
50
|
+
hostConnected() {
|
|
51
|
+
}
|
|
52
|
+
hostDisconnected() {
|
|
53
|
+
this.#i.disconnect(), this.#t = !1, this.#s.clear();
|
|
54
|
+
}
|
|
55
|
+
hostUpdated() {
|
|
56
|
+
this.#n();
|
|
57
|
+
}
|
|
58
|
+
#n() {
|
|
59
|
+
if (this.#t)
|
|
60
|
+
return;
|
|
61
|
+
const t = this.#e.shadowRoot ?? this.#e;
|
|
62
|
+
this.#t = !0, this.#i.observe(t, { childList: !0, subtree: !0 }), this.#o(t);
|
|
63
|
+
}
|
|
64
|
+
#o(e) {
|
|
65
|
+
const t = this.#a(e);
|
|
66
|
+
for (const i of t)
|
|
67
|
+
this.#e.emit("cx-register-tag", { detail: { tagName: i } });
|
|
68
|
+
this.#r(t);
|
|
69
|
+
}
|
|
70
|
+
#r(e) {
|
|
71
|
+
for (const t of e)
|
|
72
|
+
this.#s.has(t) || (this.#s.add(t), customElements.whenDefined(t).then(() => {
|
|
73
|
+
if (!this.#e.isConnected || !this.#t)
|
|
74
|
+
return;
|
|
75
|
+
const s = this.#e.shadowRoot ?? this.#e;
|
|
76
|
+
this.#o(s);
|
|
77
|
+
}));
|
|
78
|
+
}
|
|
79
|
+
#l(e) {
|
|
80
|
+
const t = /* @__PURE__ */ new Set();
|
|
81
|
+
this.#h(e) && t.add(e.tagName.toLowerCase());
|
|
82
|
+
for (const s of e.querySelectorAll(":not(:defined)")) {
|
|
83
|
+
const o = s.tagName.toLowerCase();
|
|
84
|
+
o.includes("-") && t.add(o);
|
|
85
|
+
}
|
|
86
|
+
const i = [...t];
|
|
87
|
+
for (const s of i)
|
|
88
|
+
this.#e.emit("cx-register-tag", { detail: { tagName: s } });
|
|
89
|
+
this.#r(i);
|
|
90
|
+
}
|
|
91
|
+
#a(e) {
|
|
92
|
+
const t = /* @__PURE__ */ new Set();
|
|
93
|
+
for (const i of e.querySelectorAll(":not(:defined)")) {
|
|
94
|
+
const s = i.tagName.toLowerCase();
|
|
95
|
+
s.includes("-") && t.add(s);
|
|
96
|
+
}
|
|
97
|
+
return [...t];
|
|
98
|
+
}
|
|
99
|
+
#h(e) {
|
|
100
|
+
const t = e.tagName.toLowerCase();
|
|
101
|
+
return t.includes("-") && !customElements.get(t);
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
const Ws = fi`
|
|
42
105
|
.table-row-actions__button::part(label),
|
|
43
106
|
.table-row-actions__dropdown__trigger::part(label) {
|
|
44
107
|
padding: 0 var(--cx-spacing-x-small);
|
|
@@ -48,20 +111,20 @@ const js = fi`
|
|
|
48
111
|
display: none;
|
|
49
112
|
}
|
|
50
113
|
`;
|
|
51
|
-
var
|
|
52
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
114
|
+
var Gs = Object.defineProperty, js = Object.getOwnPropertyDescriptor, De = (l, e, t, i) => {
|
|
115
|
+
for (var s = i > 1 ? void 0 : i ? js(e, t) : e, o = l.length - 1, r; o >= 0; o--)
|
|
53
116
|
(r = l[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
|
|
54
|
-
return i && s &&
|
|
117
|
+
return i && s && Gs(e, t, s), s;
|
|
55
118
|
};
|
|
56
119
|
let oe = class extends _e {
|
|
57
120
|
constructor() {
|
|
58
|
-
super(...arguments), this.localize = new
|
|
121
|
+
super(...arguments), this.localize = new rt(this), this.groupedDropdownItems = {}, this.sections = [];
|
|
59
122
|
}
|
|
60
123
|
createRenderRoot() {
|
|
61
124
|
return this;
|
|
62
125
|
}
|
|
63
126
|
handleActionChange() {
|
|
64
|
-
this.groupedDropdownItems =
|
|
127
|
+
this.groupedDropdownItems = Ps(
|
|
65
128
|
this.action?.options?.dropdownItems ?? [],
|
|
66
129
|
"section"
|
|
67
130
|
), this.sections = Object.keys(this.groupedDropdownItems);
|
|
@@ -103,7 +166,7 @@ let oe = class extends _e {
|
|
|
103
166
|
}
|
|
104
167
|
render() {
|
|
105
168
|
if (!this.action)
|
|
106
|
-
return
|
|
169
|
+
return zs;
|
|
107
170
|
const l = this.action?.icon ?? "more_horiz";
|
|
108
171
|
return x`<cx-dropdown hoist>
|
|
109
172
|
<cx-tooltip
|
|
@@ -139,10 +202,10 @@ let oe = class extends _e {
|
|
|
139
202
|
oe.dependencies = {
|
|
140
203
|
"cx-button": Ae,
|
|
141
204
|
"cx-dropdown": lt,
|
|
142
|
-
"cx-icon":
|
|
205
|
+
"cx-icon": nt,
|
|
143
206
|
"cx-menu": at,
|
|
144
207
|
"cx-menu-item": ht,
|
|
145
|
-
"cx-menu-section":
|
|
208
|
+
"cx-menu-section": Hs,
|
|
146
209
|
"cx-tooltip": gi
|
|
147
210
|
};
|
|
148
211
|
De([
|
|
@@ -170,10 +233,10 @@ De([
|
|
|
170
233
|
oe = De([
|
|
171
234
|
Ne("cx-table-row-actions-dropdown")
|
|
172
235
|
], oe);
|
|
173
|
-
var
|
|
174
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
236
|
+
var $s = Object.defineProperty, Us = Object.getOwnPropertyDescriptor, dt = (l, e, t, i) => {
|
|
237
|
+
for (var s = i > 1 ? void 0 : i ? Us(e, t) : e, o = l.length - 1, r; o >= 0; o--)
|
|
175
238
|
(r = l[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
|
|
176
|
-
return i && s &&
|
|
239
|
+
return i && s && $s(e, t, s), s;
|
|
177
240
|
};
|
|
178
241
|
let we = class extends _e {
|
|
179
242
|
constructor() {
|
|
@@ -223,7 +286,7 @@ let we = class extends _e {
|
|
|
223
286
|
${Pe(
|
|
224
287
|
this.actions,
|
|
225
288
|
(l) => l.name,
|
|
226
|
-
(l) =>
|
|
289
|
+
(l) => Os(l.type ?? "button", [
|
|
227
290
|
[
|
|
228
291
|
"button",
|
|
229
292
|
() => this.renderButton(l)
|
|
@@ -237,10 +300,10 @@ let we = class extends _e {
|
|
|
237
300
|
</cx-space>`;
|
|
238
301
|
}
|
|
239
302
|
};
|
|
240
|
-
we.styles = [
|
|
303
|
+
we.styles = [Ke, Ws];
|
|
241
304
|
we.dependencies = {
|
|
242
305
|
"cx-button": Ae,
|
|
243
|
-
"cx-icon":
|
|
306
|
+
"cx-icon": nt,
|
|
244
307
|
"cx-space": pi,
|
|
245
308
|
"cx-table-row-actions-dropdown": oe,
|
|
246
309
|
"cx-tooltip": gi
|
|
@@ -261,10 +324,10 @@ dt([
|
|
|
261
324
|
we = dt([
|
|
262
325
|
Ne("cx-table-row-actions")
|
|
263
326
|
], we);
|
|
264
|
-
var
|
|
265
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
327
|
+
var Xs = Object.defineProperty, Ks = Object.getOwnPropertyDescriptor, Je = (l, e, t, i) => {
|
|
328
|
+
for (var s = i > 1 ? void 0 : i ? Ks(e, t) : e, o = l.length - 1, r; o >= 0; o--)
|
|
266
329
|
(r = l[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
|
|
267
|
-
return i && s &&
|
|
330
|
+
return i && s && Xs(e, t, s), s;
|
|
268
331
|
};
|
|
269
332
|
let ce = class extends _e {
|
|
270
333
|
constructor() {
|
|
@@ -340,36 +403,36 @@ let ce = class extends _e {
|
|
|
340
403
|
</div>`;
|
|
341
404
|
}
|
|
342
405
|
};
|
|
343
|
-
ce.styles = [
|
|
406
|
+
ce.styles = [Ke];
|
|
344
407
|
ce.dependencies = {
|
|
345
408
|
"cx-button": Ae,
|
|
346
409
|
"cx-dropdown": lt,
|
|
347
410
|
"cx-menu": at,
|
|
348
411
|
"cx-menu-item": ht
|
|
349
412
|
};
|
|
350
|
-
|
|
413
|
+
Je([
|
|
351
414
|
g({ type: Object })
|
|
352
415
|
], ce.prototype, "data", 2);
|
|
353
|
-
|
|
416
|
+
Je([
|
|
354
417
|
re()
|
|
355
418
|
], ce.prototype, "activeOptionId", 2);
|
|
356
|
-
|
|
419
|
+
Je([
|
|
357
420
|
re()
|
|
358
421
|
], ce.prototype, "optionsMap", 2);
|
|
359
|
-
|
|
422
|
+
Je([
|
|
360
423
|
W("data")
|
|
361
424
|
], ce.prototype, "handleDataChange", 1);
|
|
362
|
-
ce =
|
|
425
|
+
ce = Je([
|
|
363
426
|
Ne("cx-table-dropdown-filter")
|
|
364
427
|
], ce);
|
|
365
|
-
var
|
|
366
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
428
|
+
var Js = Object.defineProperty, qs = Object.getOwnPropertyDescriptor, ne = (l, e, t, i) => {
|
|
429
|
+
for (var s = i > 1 ? void 0 : i ? qs(e, t) : e, o = l.length - 1, r; o >= 0; o--)
|
|
367
430
|
(r = l[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
|
|
368
|
-
return i && s &&
|
|
431
|
+
return i && s && Js(e, t, s), s;
|
|
369
432
|
};
|
|
370
433
|
let X = class extends _e {
|
|
371
434
|
constructor() {
|
|
372
|
-
super(...arguments), this.localize = new
|
|
435
|
+
super(...arguments), this.localize = new rt(this), this.fetchController = null, this.savedSearchURL = "", this.savedSearchItems = [], this.savedSearchPageSizeParam = "PageSize", this.savedSearchPageSize = 10, this.savedSearchPageNumberParam = "PageNumber", this.totalCount = 0, this.loading = !1, this.currentPage = 1;
|
|
373
436
|
}
|
|
374
437
|
createRenderRoot() {
|
|
375
438
|
return this;
|
|
@@ -447,11 +510,11 @@ let X = class extends _e {
|
|
|
447
510
|
</cx-dropdown>`;
|
|
448
511
|
}
|
|
449
512
|
};
|
|
450
|
-
X.styles = [
|
|
513
|
+
X.styles = [Ke];
|
|
451
514
|
X.dependencies = {
|
|
452
515
|
"cx-button": Ae,
|
|
453
516
|
"cx-dropdown": lt,
|
|
454
|
-
"cx-icon":
|
|
517
|
+
"cx-icon": nt,
|
|
455
518
|
"cx-menu": at,
|
|
456
519
|
"cx-menu-item": ht
|
|
457
520
|
};
|
|
@@ -485,7 +548,7 @@ ne([
|
|
|
485
548
|
X = ne([
|
|
486
549
|
Ne("cx-table-saved-search-dropdown")
|
|
487
550
|
], X);
|
|
488
|
-
const
|
|
551
|
+
const Ys = fi`
|
|
489
552
|
.header-actions {
|
|
490
553
|
padding-top: var(--cx-spacing-medium);
|
|
491
554
|
}
|
|
@@ -524,14 +587,14 @@ const Zs = fi`
|
|
|
524
587
|
padding: 0 var(--cx-spacing-x-small);
|
|
525
588
|
}
|
|
526
589
|
`;
|
|
527
|
-
var
|
|
528
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
590
|
+
var Qs = Object.defineProperty, Zs = Object.getOwnPropertyDescriptor, P = (l, e, t, i) => {
|
|
591
|
+
for (var s = i > 1 ? void 0 : i ? Zs(e, t) : e, o = l.length - 1, r; o >= 0; o--)
|
|
529
592
|
(r = l[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
|
|
530
|
-
return i && s &&
|
|
593
|
+
return i && s && Qs(e, t, s), s;
|
|
531
594
|
};
|
|
532
595
|
let O = class extends _e {
|
|
533
596
|
constructor() {
|
|
534
|
-
super(...arguments), this.localize = new
|
|
597
|
+
super(...arguments), this.localize = new rt(this), this.label = "", this.canSearch = !1, this.noAdvancedSearch = !1, this.canAdd = !1, this.addLabel = this.localize.term("add"), this.canExportCsv = !1, this.canExportXml = !1, this.canExportCustom = !1, this.dropdownFilters = [], this.canSaveReport = !1, this.savedSearchURL = "", this.savedSearchItems = [], this.savedSearchPageSizeParam = "PageSize", this.savedSearchPageSize = 10, this.savedSearchPageNumberParam = "PageNumber", this.showSavedSearch = !1, this.searchValue = "";
|
|
535
598
|
}
|
|
536
599
|
handleSearchSubmit(l) {
|
|
537
600
|
this.form && !this.form.reportValidity() || !this.canSearch || !this.searchInput || (l && l.preventDefault(), this.searchValue = this.searchInput.value || "", this.emit("cx-search", { detail: { value: this.searchValue } }));
|
|
@@ -695,21 +758,21 @@ let O = class extends _e {
|
|
|
695
758
|
</div>`;
|
|
696
759
|
}
|
|
697
760
|
};
|
|
698
|
-
O.styles = [
|
|
761
|
+
O.styles = [Ke, Ys];
|
|
699
762
|
O.dependencies = {
|
|
700
763
|
"cx-button": Ae,
|
|
701
764
|
"cx-dropdown": lt,
|
|
702
|
-
"cx-icon":
|
|
765
|
+
"cx-icon": nt,
|
|
703
766
|
"cx-icon-button": ms,
|
|
704
|
-
"cx-input":
|
|
767
|
+
"cx-input": As,
|
|
705
768
|
"cx-menu": at,
|
|
706
769
|
"cx-menu-item": ht,
|
|
707
|
-
"cx-pagination":
|
|
770
|
+
"cx-pagination": Ds,
|
|
708
771
|
"cx-space": pi,
|
|
709
772
|
"cx-table-dropdown-filter": ce,
|
|
710
773
|
"cx-table-saved-search-dropdown": X,
|
|
711
774
|
"cx-tooltip": gi,
|
|
712
|
-
"cx-typography":
|
|
775
|
+
"cx-typography": _s
|
|
713
776
|
};
|
|
714
777
|
P([
|
|
715
778
|
Ve("#search-form")
|
|
@@ -801,7 +864,7 @@ P([
|
|
|
801
864
|
O = P([
|
|
802
865
|
Ne("cx-table-toolbar")
|
|
803
866
|
], O);
|
|
804
|
-
class
|
|
867
|
+
class eo {
|
|
805
868
|
constructor(e) {
|
|
806
869
|
this.filters = /* @__PURE__ */ new Map(), this.isConnected = !1, this.host = e, this.host.addController(this);
|
|
807
870
|
}
|
|
@@ -1077,7 +1140,7 @@ class k {
|
|
|
1077
1140
|
}
|
|
1078
1141
|
}
|
|
1079
1142
|
const Wi = process.env.NODE_ENV === "development";
|
|
1080
|
-
let
|
|
1143
|
+
let to = class bs extends N {
|
|
1081
1144
|
constructor(e, t, i = null) {
|
|
1082
1145
|
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);
|
|
1083
1146
|
}
|
|
@@ -1200,10 +1263,10 @@ let so = class ws extends N {
|
|
|
1200
1263
|
), this.unsubscribe("cell-editing", this.blurEvent), this.blurEventsBound = !1), this.childPopup && this.childPopup.hide(), this.parent && (this.parent.childPopup = null), this.element.parentNode && this.element.parentNode.removeChild(this.element), this.visible = !1, this.blurCallback && !e && this.blurCallback(), this.unsubscribe("table-destroy", this.destroyBinding)), this;
|
|
1201
1264
|
}
|
|
1202
1265
|
child(e) {
|
|
1203
|
-
return this.childPopup && this.childPopup.hide(), this.childPopup = new
|
|
1266
|
+
return this.childPopup && this.childPopup.hide(), this.childPopup = new bs(this.table, e, this), this.childPopup;
|
|
1204
1267
|
}
|
|
1205
1268
|
};
|
|
1206
|
-
const
|
|
1269
|
+
const io = process.env.NODE_ENV === "development";
|
|
1207
1270
|
class R extends N {
|
|
1208
1271
|
constructor(e) {
|
|
1209
1272
|
super(e);
|
|
@@ -1224,7 +1287,7 @@ class R extends N {
|
|
|
1224
1287
|
*/
|
|
1225
1288
|
registerTableFunction(e, t) {
|
|
1226
1289
|
const i = this.table;
|
|
1227
|
-
i[e] === void 0 || i[e] === null ? i[e] = (...s) => (this.table.initGuard?.(e), t.apply(this, s)) :
|
|
1290
|
+
i[e] === void 0 || i[e] === null ? i[e] = (...s) => (this.table.initGuard?.(e), t.apply(this, s)) : io && console.warn("Unable to bind table function, name already in use:", e);
|
|
1228
1291
|
}
|
|
1229
1292
|
registerComponentFunction(e, t, i) {
|
|
1230
1293
|
return this.table.componentFunctionBinder.bind(e, t, i);
|
|
@@ -1269,7 +1332,7 @@ class R extends N {
|
|
|
1269
1332
|
* Popups Management
|
|
1270
1333
|
*/
|
|
1271
1334
|
popup(e, t) {
|
|
1272
|
-
return new
|
|
1335
|
+
return new to(this.table, e, t);
|
|
1273
1336
|
}
|
|
1274
1337
|
/**
|
|
1275
1338
|
* Alert Management
|
|
@@ -1281,7 +1344,7 @@ class R extends N {
|
|
|
1281
1344
|
this.table.alertManager?.clear();
|
|
1282
1345
|
}
|
|
1283
1346
|
}
|
|
1284
|
-
const
|
|
1347
|
+
const so = x`
|
|
1285
1348
|
<cx-table-row-actions></cx-table-row-actions>
|
|
1286
1349
|
`, ze = class ze extends R {
|
|
1287
1350
|
constructor(e) {
|
|
@@ -1328,7 +1391,7 @@ const ro = x`
|
|
|
1328
1391
|
i && i.classList.remove("tabulator-hover-menu--active");
|
|
1329
1392
|
}
|
|
1330
1393
|
createHoverMenuElement() {
|
|
1331
|
-
const e = L(
|
|
1394
|
+
const e = L(so);
|
|
1332
1395
|
return e.classList.add("tabulator-hover-menu"), e;
|
|
1333
1396
|
}
|
|
1334
1397
|
layoutRow(e) {
|
|
@@ -1368,7 +1431,7 @@ const ro = x`
|
|
|
1368
1431
|
};
|
|
1369
1432
|
ze.moduleName = "hoverMenu", ze.placementDataAttribute = "hoverMenuPlacement";
|
|
1370
1433
|
let vt = ze;
|
|
1371
|
-
const
|
|
1434
|
+
const oo = fi`
|
|
1372
1435
|
:host {
|
|
1373
1436
|
display: block;
|
|
1374
1437
|
--width: 100%;
|
|
@@ -2964,7 +3027,7 @@ const no = fi`
|
|
|
2964
3027
|
border-bottom: var(--border-width) solid var(--cell-bottom-border-color);
|
|
2965
3028
|
padding: var(--cx-spacing-2x-small) var(--cell-horizontal-padding);
|
|
2966
3029
|
}
|
|
2967
|
-
`,
|
|
3030
|
+
`, ro = {
|
|
2968
3031
|
formatter: function() {
|
|
2969
3032
|
const l = document.createElement("div");
|
|
2970
3033
|
l.style.display = "flex", l.style.alignItems = "center", l.style.justifyContent = "center", l.style.width = "100%", l.style.height = "100%", l.style.userSelect = "none", l.dataset.testid = "movable-row-button";
|
|
@@ -2977,7 +3040,7 @@ const no = fi`
|
|
|
2977
3040
|
rowHandle: !0,
|
|
2978
3041
|
title: "",
|
|
2979
3042
|
width: 40
|
|
2980
|
-
},
|
|
3043
|
+
}, no = {
|
|
2981
3044
|
fromAttribute: (l) => {
|
|
2982
3045
|
if (typeof l == "string") {
|
|
2983
3046
|
if (!l.trim())
|
|
@@ -2994,7 +3057,7 @@ const no = fi`
|
|
|
2994
3057
|
return l;
|
|
2995
3058
|
},
|
|
2996
3059
|
toAttribute: (l) => typeof l == "function" ? "" : Array.isArray(l) ? JSON.stringify(l) : typeof l == "number" ? l.toString() : l
|
|
2997
|
-
},
|
|
3060
|
+
}, lo = {
|
|
2998
3061
|
fromAttribute: (l) => {
|
|
2999
3062
|
if (typeof l == "string") {
|
|
3000
3063
|
if (!l.trim())
|
|
@@ -3010,7 +3073,7 @@ const no = fi`
|
|
|
3010
3073
|
return l;
|
|
3011
3074
|
},
|
|
3012
3075
|
toAttribute: (l) => typeof l == "function" ? "" : Array.isArray(l) ? JSON.stringify(l) : typeof l == "boolean" ? l.toString() : l
|
|
3013
|
-
},
|
|
3076
|
+
}, ao = {
|
|
3014
3077
|
fromAttribute: (l) => {
|
|
3015
3078
|
if (typeof l == "string") {
|
|
3016
3079
|
if (l.toLowerCase() === "true")
|
|
@@ -3023,7 +3086,7 @@ const no = fi`
|
|
|
3023
3086
|
return !0;
|
|
3024
3087
|
},
|
|
3025
3088
|
toAttribute: (l) => typeof l == "boolean" ? l.toString() : l
|
|
3026
|
-
},
|
|
3089
|
+
}, ho = {
|
|
3027
3090
|
fromAttribute: (l) => {
|
|
3028
3091
|
if (typeof l == "string") {
|
|
3029
3092
|
if (!l.trim())
|
|
@@ -3045,12 +3108,12 @@ const no = fi`
|
|
|
3045
3108
|
};
|
|
3046
3109
|
yi.moduleName = "accessibility";
|
|
3047
3110
|
let yt = yi;
|
|
3048
|
-
const
|
|
3111
|
+
const co = {
|
|
3049
3112
|
rownum: function(l, e, t, i, s, o) {
|
|
3050
3113
|
const r = o?.getPosition();
|
|
3051
3114
|
return typeof r == "number" ? r : 0;
|
|
3052
3115
|
}
|
|
3053
|
-
},
|
|
3116
|
+
}, uo = process.env.NODE_ENV === "development", Fe = class Fe extends R {
|
|
3054
3117
|
// list of accessor types
|
|
3055
3118
|
constructor(e) {
|
|
3056
3119
|
super(e), this.allowedTypes = [
|
|
@@ -3088,7 +3151,7 @@ const po = {
|
|
|
3088
3151
|
let t = !1;
|
|
3089
3152
|
switch (typeof e) {
|
|
3090
3153
|
case "string":
|
|
3091
|
-
Fe.accessors[e] ? t = Fe.accessors[e] :
|
|
3154
|
+
Fe.accessors[e] ? t = Fe.accessors[e] : uo && console.warn(
|
|
3092
3155
|
"Accessor Error - No such accessor found, ignoring: ",
|
|
3093
3156
|
e
|
|
3094
3157
|
);
|
|
@@ -3125,9 +3188,9 @@ const po = {
|
|
|
3125
3188
|
}), o;
|
|
3126
3189
|
}
|
|
3127
3190
|
};
|
|
3128
|
-
Fe.moduleName = "accessor", Fe.accessors =
|
|
3191
|
+
Fe.moduleName = "accessor", Fe.accessors = co;
|
|
3129
3192
|
let Ct = Fe;
|
|
3130
|
-
const
|
|
3193
|
+
const po = {
|
|
3131
3194
|
method: "GET"
|
|
3132
3195
|
};
|
|
3133
3196
|
function Et(l, e = "") {
|
|
@@ -3153,7 +3216,7 @@ function Et(l, e = "") {
|
|
|
3153
3216
|
t.push({ key: e, value: l });
|
|
3154
3217
|
return t;
|
|
3155
3218
|
}
|
|
3156
|
-
const
|
|
3219
|
+
const fo = {
|
|
3157
3220
|
form: {
|
|
3158
3221
|
body: function(l, e, t) {
|
|
3159
3222
|
const i = Et(t), s = new FormData();
|
|
@@ -3198,7 +3261,7 @@ function xt(l, e = "") {
|
|
|
3198
3261
|
t.push({ key: e, value: l });
|
|
3199
3262
|
return t;
|
|
3200
3263
|
}
|
|
3201
|
-
function
|
|
3264
|
+
function go(l) {
|
|
3202
3265
|
const e = xt(l), t = [];
|
|
3203
3266
|
return e.forEach((i) => {
|
|
3204
3267
|
t.push(
|
|
@@ -3206,10 +3269,10 @@ function bo(l) {
|
|
|
3206
3269
|
);
|
|
3207
3270
|
}), t.join("&");
|
|
3208
3271
|
}
|
|
3209
|
-
const
|
|
3272
|
+
const ws = function(l, e, t) {
|
|
3210
3273
|
if (l && t && Object.keys(t).length && (!e.method || e.method.toLowerCase() === "get")) {
|
|
3211
3274
|
e.method = "get";
|
|
3212
|
-
const [i, s] = l.split("#", 2), o =
|
|
3275
|
+
const [i, s] = l.split("#", 2), o = go(t);
|
|
3213
3276
|
l = i + (i.includes("?") ? "&" : "?") + o + (s ? "#" + s : "");
|
|
3214
3277
|
}
|
|
3215
3278
|
return l;
|
|
@@ -3270,7 +3333,7 @@ const vs = function(l, e, t) {
|
|
|
3270
3333
|
)), s)) : Promise.reject();
|
|
3271
3334
|
}
|
|
3272
3335
|
};
|
|
3273
|
-
Q.moduleName = "ajax", Q.defaultConfig =
|
|
3336
|
+
Q.moduleName = "ajax", Q.defaultConfig = po, Q.defaultURLGenerator = ws, Q.contentTypeFormatters = fo, Q.defaultLoaderPromise = function(e, t, i) {
|
|
3274
3337
|
let s;
|
|
3275
3338
|
return new Promise((o, r) => {
|
|
3276
3339
|
if (!this.urlGenerator) {
|
|
@@ -3305,7 +3368,7 @@ Q.moduleName = "ajax", Q.defaultConfig = go, Q.defaultURLGenerator = vs, Q.conte
|
|
|
3305
3368
|
});
|
|
3306
3369
|
};
|
|
3307
3370
|
let Rt = Q;
|
|
3308
|
-
const
|
|
3371
|
+
const mo = {
|
|
3309
3372
|
insert: function(l) {
|
|
3310
3373
|
return this.table.addData(l);
|
|
3311
3374
|
},
|
|
@@ -3315,7 +3378,7 @@ const wo = {
|
|
|
3315
3378
|
update: function(l) {
|
|
3316
3379
|
return this.table.updateOrAddData(l);
|
|
3317
3380
|
}
|
|
3318
|
-
},
|
|
3381
|
+
}, bo = {
|
|
3319
3382
|
table: function(l) {
|
|
3320
3383
|
const e = [];
|
|
3321
3384
|
let t = !0;
|
|
@@ -3337,16 +3400,16 @@ const wo = {
|
|
|
3337
3400
|
}), o.push(a);
|
|
3338
3401
|
}), o) : !1;
|
|
3339
3402
|
}
|
|
3340
|
-
},
|
|
3403
|
+
}, wo = {
|
|
3341
3404
|
copyToClipboard: function() {
|
|
3342
3405
|
this.table.modules.edit?.currentCell || this.table.modExists("clipboard", !0) && this.table.modules.clipboard?.copy(void 0, !0);
|
|
3343
3406
|
}
|
|
3344
|
-
},
|
|
3407
|
+
}, vo = {
|
|
3345
3408
|
copyToClipboard: ["ctrl + 67", "meta + 67"]
|
|
3346
|
-
},
|
|
3409
|
+
}, yo = {
|
|
3347
3410
|
keybindings: {
|
|
3348
|
-
actions:
|
|
3349
|
-
bindings:
|
|
3411
|
+
actions: wo,
|
|
3412
|
+
bindings: vo
|
|
3350
3413
|
}
|
|
3351
3414
|
}, Gi = process.env.NODE_ENV === "development", ue = class ue extends R {
|
|
3352
3415
|
// block copy actions not originating from this command
|
|
@@ -3463,7 +3526,7 @@ const wo = {
|
|
|
3463
3526
|
return i?.getData && (t = i.getData("text/plain")), t;
|
|
3464
3527
|
}
|
|
3465
3528
|
};
|
|
3466
|
-
ue.moduleName = "clipboard", ue.moduleExtensions =
|
|
3529
|
+
ue.moduleName = "clipboard", ue.moduleExtensions = yo, ue.pasteActions = mo, ue.pasteParsers = bo;
|
|
3467
3530
|
let St = ue;
|
|
3468
3531
|
class mi {
|
|
3469
3532
|
constructor(e) {
|
|
@@ -3529,8 +3592,8 @@ class mi {
|
|
|
3529
3592
|
return this._cell;
|
|
3530
3593
|
}
|
|
3531
3594
|
}
|
|
3532
|
-
const
|
|
3533
|
-
class
|
|
3595
|
+
const Co = x`<div class="tabulator-cell"></div>`, Eo = process.env.NODE_ENV === "development";
|
|
3596
|
+
class qe extends N {
|
|
3534
3597
|
constructor(e, t) {
|
|
3535
3598
|
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();
|
|
3536
3599
|
}
|
|
@@ -3542,7 +3605,7 @@ class Ye extends N {
|
|
|
3542
3605
|
this.generateElement(), this.setWidth(), this._configureCell(), this.setValueActual(this.column.getFieldValue(this.row.data)), this.initialValue = this.value;
|
|
3543
3606
|
}
|
|
3544
3607
|
generateElement() {
|
|
3545
|
-
if (this.element = L(
|
|
3608
|
+
if (this.element = L(Co), this.element.setAttribute(
|
|
3546
3609
|
"role",
|
|
3547
3610
|
this.table.options.cellRole ?? "gridcell"
|
|
3548
3611
|
), this.column.modules.format?.cellClass) {
|
|
@@ -3595,7 +3658,7 @@ class Ye extends N {
|
|
|
3595
3658
|
this.contentElement.firstChild.remove();
|
|
3596
3659
|
this.contentElement.appendChild(e);
|
|
3597
3660
|
} else
|
|
3598
|
-
this.contentElement.innerHTML = "", e != null &&
|
|
3661
|
+
this.contentElement.innerHTML = "", e != null && Eo && console.warn(
|
|
3599
3662
|
"Format Error - Formatter has returned a type of object, the only valid formatter object return is an instance of Node, the formatter returned:",
|
|
3600
3663
|
e
|
|
3601
3664
|
);
|
|
@@ -3688,7 +3751,7 @@ class Ye extends N {
|
|
|
3688
3751
|
return this.component ??= new mi(this), this.component;
|
|
3689
3752
|
}
|
|
3690
3753
|
}
|
|
3691
|
-
const
|
|
3754
|
+
const xo = process.env.NODE_ENV === "development";
|
|
3692
3755
|
class Tt {
|
|
3693
3756
|
constructor(e) {
|
|
3694
3757
|
return this._column = e, this.type = "ColumnComponent", new Proxy(this, {
|
|
@@ -3768,7 +3831,7 @@ class Tt {
|
|
|
3768
3831
|
this._column,
|
|
3769
3832
|
i,
|
|
3770
3833
|
t
|
|
3771
|
-
) :
|
|
3834
|
+
) : xo && console.warn(`Move Error - No matching column found: ${e}`);
|
|
3772
3835
|
}
|
|
3773
3836
|
getNextColumn() {
|
|
3774
3837
|
const e = this._column.nextColumn();
|
|
@@ -3789,7 +3852,7 @@ class Tt {
|
|
|
3789
3852
|
return e === !0 ? t = await this._column.reinitializeWidth(!0) : t = this._column.setWidth(e), this._column.table.columnManager?.rerenderColumns(!0), t;
|
|
3790
3853
|
}
|
|
3791
3854
|
}
|
|
3792
|
-
const
|
|
3855
|
+
const vs = {
|
|
3793
3856
|
columns: void 0,
|
|
3794
3857
|
cssClass: void 0,
|
|
3795
3858
|
editableTitle: void 0,
|
|
@@ -4206,7 +4269,7 @@ const ys = {
|
|
|
4206
4269
|
*/
|
|
4207
4270
|
// generate cell for this column
|
|
4208
4271
|
generateCell(e) {
|
|
4209
|
-
const t = new
|
|
4272
|
+
const t = new qe(this, e);
|
|
4210
4273
|
return this.cells.push(t), t;
|
|
4211
4274
|
}
|
|
4212
4275
|
nextColumn() {
|
|
@@ -4287,7 +4350,7 @@ const ys = {
|
|
|
4287
4350
|
return this.parent instanceof A ? this.parent.getComponent() : !1;
|
|
4288
4351
|
}
|
|
4289
4352
|
};
|
|
4290
|
-
A.defaultOptionList =
|
|
4353
|
+
A.defaultOptionList = vs;
|
|
4291
4354
|
let U = A;
|
|
4292
4355
|
class bi {
|
|
4293
4356
|
constructor(e) {
|
|
@@ -4588,7 +4651,7 @@ class _ extends N {
|
|
|
4588
4651
|
return this.component || (this.component = new bi(this)), this.component;
|
|
4589
4652
|
}
|
|
4590
4653
|
}
|
|
4591
|
-
class
|
|
4654
|
+
class Ro {
|
|
4592
4655
|
constructor(e) {
|
|
4593
4656
|
return this._row = e, new Proxy(this, {
|
|
4594
4657
|
get: (t, i) => typeof i != "string" || typeof t[i] < "u" ? t[i] : t._row.table.componentFunctionBinder.handle(
|
|
@@ -4621,7 +4684,7 @@ class To {
|
|
|
4621
4684
|
return this._row;
|
|
4622
4685
|
}
|
|
4623
4686
|
}
|
|
4624
|
-
const
|
|
4687
|
+
const So = {
|
|
4625
4688
|
avg: function(l, e, t) {
|
|
4626
4689
|
let i = 0;
|
|
4627
4690
|
const s = typeof t == "object" && "precision" in t ? t.precision : 2;
|
|
@@ -4841,7 +4904,7 @@ const Mo = {
|
|
|
4841
4904
|
const i = this.generateRowData(e, t);
|
|
4842
4905
|
this.table.modExists("mutator") && this.table.modules.mutator?.disable();
|
|
4843
4906
|
const s = new _(i, this, "calc");
|
|
4844
|
-
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
|
|
4907
|
+
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 Ro(s)), s.component), s.generateCells = () => {
|
|
4845
4908
|
const o = [];
|
|
4846
4909
|
this.table.columnManager?.columnsByIndex.forEach((r) => {
|
|
4847
4910
|
if (this.genColumn) {
|
|
@@ -4858,7 +4921,7 @@ const Mo = {
|
|
|
4858
4921
|
),
|
|
4859
4922
|
params: {}
|
|
4860
4923
|
}, this.genColumn.definition.cssClass = r.definition.cssClass;
|
|
4861
|
-
const h = new
|
|
4924
|
+
const h = new qe(this.genColumn, s);
|
|
4862
4925
|
h.getElement(), h.column = r, h.setWidth(), r.cells.push(h), o.push(h), r.hidden && h.hide();
|
|
4863
4926
|
}
|
|
4864
4927
|
}), s.cells = o;
|
|
@@ -4913,7 +4976,7 @@ const Mo = {
|
|
|
4913
4976
|
this.botRow && (this.table.rtl ? this.botElement.style.paddingLeft = e + "px" : this.botElement.style.paddingRight = e + "px");
|
|
4914
4977
|
}
|
|
4915
4978
|
};
|
|
4916
|
-
pe.moduleName = "columnCalcs", pe.calculations =
|
|
4979
|
+
pe.moduleName = "columnCalcs", pe.calculations = So;
|
|
4917
4980
|
let Mt = pe;
|
|
4918
4981
|
class Ui extends _ {
|
|
4919
4982
|
constructor(e = {}, t) {
|
|
@@ -4962,17 +5025,17 @@ class Ui extends _ {
|
|
|
4962
5025
|
this.element?.parentNode && this.element.parentNode.removeChild(this.element);
|
|
4963
5026
|
}
|
|
4964
5027
|
}
|
|
4965
|
-
const
|
|
5028
|
+
const To = x`<span
|
|
4966
5029
|
class="tabulator-data-tree-control"
|
|
4967
5030
|
tabindex="0"
|
|
4968
5031
|
>
|
|
4969
5032
|
<cx-icon-button name="keyboard_arrow_down"></cx-icon-button>
|
|
4970
|
-
</span>`,
|
|
5033
|
+
</span>`, Mo = x`<span
|
|
4971
5034
|
class="tabulator-data-tree-control"
|
|
4972
5035
|
tabindex="0"
|
|
4973
5036
|
>
|
|
4974
5037
|
<cx-icon-button name="keyboard_arrow_right"></cx-icon-button>
|
|
4975
|
-
</span>`,
|
|
5038
|
+
</span>`, ko = x`<span class="tabulator-data-tree-control tabulator-data-tree-control-placeholder" aria-hidden="true"></span>`, Do = x`<div class="tabulator-data-tree-branch"></div>`, Lo = x`<div class="tabulator-data-tree-branch-empty"></div>`, zo = x`<cx-button outline>Load More</cx-button>`, Fo = x`<div class="tabulator-data-tree-loading">Loading...</div>`, Oo = process.env.NODE_ENV === "development", pt = 18, Ci = class Ci extends R {
|
|
4976
5039
|
constructor(e) {
|
|
4977
5040
|
super(e), this.indent = 10, this.field = "", this.collapseEl = null, this.expandEl = null, this.branchEl = null, this.elementField = !1, this.startOpen = function() {
|
|
4978
5041
|
return !1;
|
|
@@ -5010,9 +5073,9 @@ const ko = x`<span
|
|
|
5010
5073
|
if (this.table.options.dataTree) {
|
|
5011
5074
|
let e = null;
|
|
5012
5075
|
const t = this.table.options;
|
|
5013
|
-
switch (this.field = t.dataTreeChildField || "_children", this.indent = t.dataTreeChildIndent || 9, this.loadingField = t.dataTreeLoadingField || "loading", this.hasMoreField = t.dataTreeHasMoreField || "hasMore", this.options("movableRows") &&
|
|
5076
|
+
switch (this.field = t.dataTreeChildField || "_children", this.indent = t.dataTreeChildIndent || 9, this.loadingField = t.dataTreeLoadingField || "loading", this.hasMoreField = t.dataTreeHasMoreField || "hasMore", this.options("movableRows") && Oo && console.warn(
|
|
5014
5077
|
"The movableRows option is not available with dataTree enabled, moving of child rows could result in unpredictable behavior"
|
|
5015
|
-
), t.dataTreeBranchElement ? t.dataTreeBranchElement === !0 ? this.branchEl = L(
|
|
5078
|
+
), t.dataTreeBranchElement ? t.dataTreeBranchElement === !0 ? this.branchEl = L(Do) : typeof t.dataTreeBranchElement == "string" ? (e = document.createElement("div"), e.innerHTML = S(t.dataTreeBranchElement), this.branchEl = e.firstChild) : this.branchEl = t.dataTreeBranchElement : this.branchEl = L(Lo), t.dataTreeCollapseElement ? typeof t.dataTreeCollapseElement == "string" ? (e = document.createElement("div"), e.innerHTML = S(t.dataTreeCollapseElement), this.collapseEl = e.firstChild) : this.collapseEl = t.dataTreeCollapseElement : this.collapseEl = L(To), t.dataTreeExpandElement ? typeof t.dataTreeExpandElement == "string" ? (e = document.createElement("div"), e.innerHTML = S(t.dataTreeExpandElement), this.expandEl = e.firstChild) : this.expandEl = t.dataTreeExpandElement : this.expandEl = L(Mo), typeof t.dataTreeStartExpanded) {
|
|
5016
5079
|
case "boolean":
|
|
5017
5080
|
this.startOpen = function() {
|
|
5018
5081
|
return t.dataTreeStartExpanded;
|
|
@@ -5119,7 +5182,7 @@ const ko = x`<span
|
|
|
5119
5182
|
n.stopPropagation();
|
|
5120
5183
|
});
|
|
5121
5184
|
} else
|
|
5122
|
-
o = L(
|
|
5185
|
+
o = L(ko);
|
|
5123
5186
|
const r = this.indent;
|
|
5124
5187
|
this.table.rtl ? (o.style.marginLeft = r + "px", o.style.marginRight = "0px") : (o.style.marginRight = r + "px", o.style.marginLeft = "0px"), e.modules.dataTree.controlEl = o, s && s.parentNode === t ? s.parentNode.replaceChild(o, s) : t.insertBefore(o, t.firstChild);
|
|
5125
5188
|
}
|
|
@@ -5181,7 +5244,7 @@ const ko = x`<span
|
|
|
5181
5244
|
this.table.rowManager
|
|
5182
5245
|
);
|
|
5183
5246
|
i.create(), i.modules.dataTree.index = e, i.modules.dataTree.parent = t, i.modules.dataTree.children = !1, i.modules.dataTree.open = !0;
|
|
5184
|
-
const s = L(
|
|
5247
|
+
const s = L(zo);
|
|
5185
5248
|
i.getElement()?.classList.add("tabulator-tree-level-" + e), i.element.appendChild(s);
|
|
5186
5249
|
const o = (e + 1) * (pt + this.indent);
|
|
5187
5250
|
return this.table.rtl ? s.style.marginRight = o + "px" : s.style.marginLeft = o + "px", s.addEventListener("click", () => {
|
|
@@ -5203,7 +5266,7 @@ const ko = x`<span
|
|
|
5203
5266
|
this.table.rowManager
|
|
5204
5267
|
);
|
|
5205
5268
|
i.create(), i.modules.dataTree.index = e, i.modules.dataTree.parent = t, i.modules.dataTree.children = !1, i.modules.dataTree.open = !0;
|
|
5206
|
-
const s = L(
|
|
5269
|
+
const s = L(Fo);
|
|
5207
5270
|
i.element.appendChild(s), i.getElement()?.classList.add("tabulator-tree-level-" + e);
|
|
5208
5271
|
const o = (e + 1) * (pt + this.indent);
|
|
5209
5272
|
return this.table.rtl ? s.style.marginRight = o + "px" : s.style.marginLeft = o + "px", i;
|
|
@@ -5351,7 +5414,7 @@ const ko = x`<span
|
|
|
5351
5414
|
};
|
|
5352
5415
|
Ci.moduleName = "dataTree";
|
|
5353
5416
|
let kt = Ci;
|
|
5354
|
-
const Xi = process.env.NODE_ENV === "development",
|
|
5417
|
+
const Xi = process.env.NODE_ENV === "development", Ho = function(l, e = {}, t) {
|
|
5355
5418
|
const i = e.delimiter ? e.delimiter : ",", s = [], o = [];
|
|
5356
5419
|
l.forEach((n) => {
|
|
5357
5420
|
const a = [];
|
|
@@ -5392,11 +5455,11 @@ const Xi = process.env.NODE_ENV === "development", Ao = function(l, e = {}, t) {
|
|
|
5392
5455
|
let r = s.join(`
|
|
5393
5456
|
`);
|
|
5394
5457
|
e.bom && (r = "\uFEFF" + r), t(r, "text/csv");
|
|
5395
|
-
},
|
|
5458
|
+
}, Po = function(l, e, t) {
|
|
5396
5459
|
const i = this;
|
|
5397
5460
|
let s = "";
|
|
5398
5461
|
i.modExists("export", !0) && (s = i.modules.export?.generateHTMLTable(l) || ""), t(s, "text/html");
|
|
5399
|
-
}, Ki = process.env.NODE_ENV === "development",
|
|
5462
|
+
}, Ki = process.env.NODE_ENV === "development", Ao = function(l, e, t) {
|
|
5400
5463
|
const i = [];
|
|
5401
5464
|
l.forEach((o) => {
|
|
5402
5465
|
const r = {};
|
|
@@ -5422,7 +5485,7 @@ const Xi = process.env.NODE_ENV === "development", Ao = function(l, e = {}, t) {
|
|
|
5422
5485
|
});
|
|
5423
5486
|
const s = JSON.stringify(i, null, " ");
|
|
5424
5487
|
t(s, "application/json");
|
|
5425
|
-
}, Ji = process.env.NODE_ENV === "development",
|
|
5488
|
+
}, Ji = process.env.NODE_ENV === "development", _o = function(l, e, t) {
|
|
5426
5489
|
const i = [];
|
|
5427
5490
|
l.forEach((s) => {
|
|
5428
5491
|
const o = {};
|
|
@@ -5447,7 +5510,7 @@ const Xi = process.env.NODE_ENV === "development", Ao = function(l, e = {}, t) {
|
|
|
5447
5510
|
}
|
|
5448
5511
|
}), t(i.join(`
|
|
5449
5512
|
`), "application/x-ndjson");
|
|
5450
|
-
},
|
|
5513
|
+
}, No = process.env.NODE_ENV === "development", Vo = function(l, e = {}, t) {
|
|
5451
5514
|
const i = this, s = [], o = [];
|
|
5452
5515
|
let r = {};
|
|
5453
5516
|
const n = e.rowGroupStyles || {
|
|
@@ -5502,7 +5565,7 @@ const Xi = process.env.NODE_ENV === "development", Ao = function(l, e = {}, t) {
|
|
|
5502
5565
|
});
|
|
5503
5566
|
const p = i.dependencyRegistry.lookup("jspdf", "jsPDF");
|
|
5504
5567
|
if (!p) {
|
|
5505
|
-
|
|
5568
|
+
No && console.error(
|
|
5506
5569
|
"Download Error - 'pdf' downloader requires jspdf library to be registered"
|
|
5507
5570
|
);
|
|
5508
5571
|
return;
|
|
@@ -5511,10 +5574,10 @@ const Xi = process.env.NODE_ENV === "development", Ao = function(l, e = {}, t) {
|
|
|
5511
5574
|
e.autoTable && (typeof e.autoTable == "function" ? r = e.autoTable(u) || {} : r = e.autoTable), c && (r.didDrawPage = function(f) {
|
|
5512
5575
|
u.text(c, 40, 30);
|
|
5513
5576
|
}), r.head = s, r.body = o, u.autoTable(r), e.documentProcessing && e.documentProcessing(u), t(u.output("arraybuffer"), "application/pdf");
|
|
5514
|
-
},
|
|
5577
|
+
}, Bo = process.env.NODE_ENV === "development", Io = function(l, e, t) {
|
|
5515
5578
|
const i = this, s = e.sheetName || "Sheet1", o = i.dependencyRegistry.lookup("XLSX");
|
|
5516
5579
|
if (!o?.utils?.book_new) {
|
|
5517
|
-
|
|
5580
|
+
Bo && console.error(
|
|
5518
5581
|
"Download Error - 'xlsx' downloader requires XLSX library to be registered"
|
|
5519
5582
|
);
|
|
5520
5583
|
return;
|
|
@@ -5575,14 +5638,14 @@ const Xi = process.env.NODE_ENV === "development", Ao = function(l, e = {}, t) {
|
|
|
5575
5638
|
}
|
|
5576
5639
|
const u = o.write(r, h);
|
|
5577
5640
|
t(p(u), "application/octet-stream");
|
|
5578
|
-
},
|
|
5579
|
-
csv:
|
|
5580
|
-
html:
|
|
5581
|
-
json:
|
|
5582
|
-
jsonLines:
|
|
5583
|
-
pdf:
|
|
5584
|
-
xlsx:
|
|
5585
|
-
},
|
|
5641
|
+
}, Wo = {
|
|
5642
|
+
csv: Ho,
|
|
5643
|
+
html: Po,
|
|
5644
|
+
json: Ao,
|
|
5645
|
+
jsonLines: _o,
|
|
5646
|
+
pdf: Vo,
|
|
5647
|
+
xlsx: Io
|
|
5648
|
+
}, Go = process.env.NODE_ENV === "development", Oe = class Oe extends R {
|
|
5586
5649
|
constructor(e) {
|
|
5587
5650
|
super(e), this.registerTableOption(
|
|
5588
5651
|
"downloadEncoder",
|
|
@@ -5609,7 +5672,7 @@ const Xi = process.env.NODE_ENV === "development", Ao = function(l, e = {}, t) {
|
|
|
5609
5672
|
const n = (a, h) => {
|
|
5610
5673
|
o ? o === !0 ? this.triggerDownload(a, h, e, t, !0) : o(a) : this.triggerDownload(a, h, e, t);
|
|
5611
5674
|
};
|
|
5612
|
-
if (typeof e == "function" ? r = e : Oe.downloaders[e] ? r = Oe.downloaders[e] :
|
|
5675
|
+
if (typeof e == "function" ? r = e : Oe.downloaders[e] ? r = Oe.downloaders[e] : Go && console.warn("Download Error - No such download type found: ", e), r) {
|
|
5613
5676
|
const a = this.generateExportList(s);
|
|
5614
5677
|
r.call(this.table, a, i || {}, n.bind(this));
|
|
5615
5678
|
}
|
|
@@ -5659,9 +5722,9 @@ const Xi = process.env.NODE_ENV === "development", Ao = function(l, e = {}, t) {
|
|
|
5659
5722
|
}
|
|
5660
5723
|
}
|
|
5661
5724
|
};
|
|
5662
|
-
Oe.moduleName = "download", Oe.downloaders =
|
|
5725
|
+
Oe.moduleName = "download", Oe.downloaders = Wo;
|
|
5663
5726
|
let Dt = Oe;
|
|
5664
|
-
const
|
|
5727
|
+
const jo = function(l, e, t, i, s = {}) {
|
|
5665
5728
|
const o = this, r = l._getSelf().column;
|
|
5666
5729
|
let n;
|
|
5667
5730
|
function a(d) {
|
|
@@ -5695,7 +5758,7 @@ const Uo = function(l, e, t, i, s = {}) {
|
|
|
5695
5758
|
i,
|
|
5696
5759
|
n || {}
|
|
5697
5760
|
) : !1;
|
|
5698
|
-
},
|
|
5761
|
+
}, $o = process.env.NODE_ENV === "development", Uo = function(l, e, t, i, s) {
|
|
5699
5762
|
const o = s.format, r = s.verticalNavigation || "editor", n = typeof globalThis.window > "u" ? globalThis : window, a = o ? n.DateTime || n.luxon?.DateTime : null;
|
|
5700
5763
|
let h = l.getValue();
|
|
5701
5764
|
const c = document.createElement("input");
|
|
@@ -5728,7 +5791,7 @@ const Uo = function(l, e, t, i, s = {}) {
|
|
|
5728
5791
|
);
|
|
5729
5792
|
} else
|
|
5730
5793
|
c.setAttribute(f, s.elementAttributes[f]);
|
|
5731
|
-
h = h ?? "", o && (a ? h = p(h) :
|
|
5794
|
+
h = h ?? "", o && (a ? h = p(h) : $o && console.error(
|
|
5732
5795
|
"Editor Error - 'date' editor 'format' param is dependent on luxon.js"
|
|
5733
5796
|
)), c.value = String(h), e(() => {
|
|
5734
5797
|
l.getType() === "cell" && (c.focus({ preventScroll: !0 }), c.style.height = "100%", s.selectContents && c.select());
|
|
@@ -5775,7 +5838,7 @@ const Uo = function(l, e, t, i, s = {}) {
|
|
|
5775
5838
|
break;
|
|
5776
5839
|
}
|
|
5777
5840
|
}), c;
|
|
5778
|
-
},
|
|
5841
|
+
}, Xo = process.env.NODE_ENV === "development", Ko = function(l, e, t, i, s) {
|
|
5779
5842
|
const o = this, r = s.format, n = s.verticalNavigation || "editor", a = r ? o.table.dependencyRegistry.lookup(["luxon", "DateTime"], "DateTime") : null;
|
|
5780
5843
|
let h, c = l.getValue();
|
|
5781
5844
|
const d = document.createElement("input");
|
|
@@ -5789,7 +5852,7 @@ const Uo = function(l, e, t, i, s = {}) {
|
|
|
5789
5852
|
);
|
|
5790
5853
|
} else
|
|
5791
5854
|
d.setAttribute(u, s.elementAttributes[u]);
|
|
5792
|
-
c = c ?? "", r && a ? (a.isDateTime?.(c) ? h = c : r === "iso" ? h = a.fromISO(String(c)) : h = a.fromFormat(String(c), r), c = h.toFormat("yyyy-MM-dd") + "T" + h.toFormat("HH:mm")) : r && !a &&
|
|
5855
|
+
c = c ?? "", r && a ? (a.isDateTime?.(c) ? h = c : r === "iso" ? h = a.fromISO(String(c)) : h = a.fromFormat(String(c), r), c = h.toFormat("yyyy-MM-dd") + "T" + h.toFormat("HH:mm")) : r && !a && Xo && console.error(
|
|
5793
5856
|
"Editor Error - 'datetime' editor 'format' param is dependent on luxon.js"
|
|
5794
5857
|
), d.value = String(c), e(() => {
|
|
5795
5858
|
l.getType() === "cell" && (d.focus({ preventScroll: !0 }), d.style.height = "100%", s.selectContents && d.select());
|
|
@@ -5873,7 +5936,7 @@ function wi(l, e) {
|
|
|
5873
5936
|
(n.keyCode || 0) > 46 && e.maskAutoFill && r(l.value.length);
|
|
5874
5937
|
}), l.placeholder || (l.placeholder = t), e.maskAutoFill && r(l.value.length);
|
|
5875
5938
|
}
|
|
5876
|
-
const
|
|
5939
|
+
const Jo = function(l, e, t, i, s) {
|
|
5877
5940
|
let o = l.getValue();
|
|
5878
5941
|
const r = document.createElement("input");
|
|
5879
5942
|
if (r.setAttribute(
|
|
@@ -5911,7 +5974,7 @@ const Yo = function(l, e, t, i, s) {
|
|
|
5911
5974
|
}
|
|
5912
5975
|
}), s.mask && wi(r, s), r;
|
|
5913
5976
|
};
|
|
5914
|
-
function
|
|
5977
|
+
function qo(l, e = {}, t) {
|
|
5915
5978
|
let i;
|
|
5916
5979
|
function s(n) {
|
|
5917
5980
|
const a = n.getValue();
|
|
@@ -5930,7 +5993,7 @@ function Qo(l, e = {}, t) {
|
|
|
5930
5993
|
const o = e.formatterLookup ? e.formatterLookup(l) : s(l);
|
|
5931
5994
|
return e.paramsLookup && (i = typeof e.paramsLookup == "function" ? e.paramsLookup(o, l) : e.paramsLookup[o]), ke.lookupFormatter(o).call(this, l, i || {}, t);
|
|
5932
5995
|
}
|
|
5933
|
-
function
|
|
5996
|
+
function Yo(l, e, t) {
|
|
5934
5997
|
const i = e.delimiter ?? ",";
|
|
5935
5998
|
let s = l.getValue();
|
|
5936
5999
|
const o = this.table;
|
|
@@ -5943,30 +6006,30 @@ function Zo(l, e, t) {
|
|
|
5943
6006
|
));
|
|
5944
6007
|
} : r = e.valueMap), Array.isArray(s) ? (r && (s = r(s)), s.join(i)) : s;
|
|
5945
6008
|
}
|
|
5946
|
-
function
|
|
6009
|
+
function Qo(l, e, t) {
|
|
5947
6010
|
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>';
|
|
5948
6011
|
}
|
|
5949
|
-
function
|
|
6012
|
+
function Zo(l, e, t) {
|
|
5950
6013
|
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>';
|
|
5951
6014
|
}
|
|
5952
|
-
function
|
|
6015
|
+
function er(l, e, t) {
|
|
5953
6016
|
const i = l.getContentElement?.() ?? l.getElement(), s = l.getValue();
|
|
5954
|
-
return i && (
|
|
6017
|
+
return i && (tr(s) ? i.style.backgroundColor = s : i.style.backgroundColor = ""), "";
|
|
5955
6018
|
}
|
|
5956
|
-
function
|
|
6019
|
+
function tr(l) {
|
|
5957
6020
|
return !l || typeof l != "string" ? !1 : /^(#[0-9A-Fa-f]{3,8}|rgb\(|rgba\(|hsl\(|hsla\(|[a-z]+)$/i.test(l.trim());
|
|
5958
6021
|
}
|
|
5959
|
-
const
|
|
6022
|
+
const ir = x`<span
|
|
5960
6023
|
style="display: inline-flex; align-items: center;"
|
|
5961
6024
|
></span>`;
|
|
5962
|
-
function
|
|
6025
|
+
function sr({
|
|
5963
6026
|
spacing: l,
|
|
5964
6027
|
style: e
|
|
5965
6028
|
}) {
|
|
5966
|
-
const t = L(
|
|
6029
|
+
const t = L(ir);
|
|
5967
6030
|
return l && (t.style.margin = l), e && Object.assign(t.style, e), t;
|
|
5968
6031
|
}
|
|
5969
|
-
function
|
|
6032
|
+
function or(l, e, t) {
|
|
5970
6033
|
const i = ke.lookupFormatter("plaintext"), s = {
|
|
5971
6034
|
style: {
|
|
5972
6035
|
color: "var(--cx-color-neutral-500)",
|
|
@@ -5990,7 +6053,7 @@ function nr(l, e, t) {
|
|
|
5990
6053
|
r
|
|
5991
6054
|
);
|
|
5992
6055
|
}
|
|
5993
|
-
function
|
|
6056
|
+
function rr({
|
|
5994
6057
|
elementConfig: l,
|
|
5995
6058
|
elementValue: e,
|
|
5996
6059
|
rowData: t
|
|
@@ -6008,7 +6071,7 @@ function Yi({
|
|
|
6008
6071
|
}) {
|
|
6009
6072
|
return e.value !== void 0 ? e.value : e.getValue ? e.getValue(l, t) : e.field ? k.retrieveNestedData(i, e.field, t) : l.getValue();
|
|
6010
6073
|
}
|
|
6011
|
-
function
|
|
6074
|
+
function nr(l, e, t) {
|
|
6012
6075
|
if (!e?.elements || !Array.isArray(e.elements) || e.elements.length === 0)
|
|
6013
6076
|
return;
|
|
6014
6077
|
const i = l.getData(), s = this.table, o = typeof s.options.nestedFieldSeparator == "string" ? s.options.nestedFieldSeparator : void 0, r = l.getValue(), n = e.elements.some((C) => {
|
|
@@ -6021,7 +6084,7 @@ function ar(l, e, t) {
|
|
|
6021
6084
|
return C.valueMap && (E = C.valueMap[String(E)] ?? E), !qi(E);
|
|
6022
6085
|
});
|
|
6023
6086
|
if (qi(r) && !n && e.placeholder !== void 0)
|
|
6024
|
-
return
|
|
6087
|
+
return or.call(this, l, e, t);
|
|
6025
6088
|
const h = l.getRow(), { align: c, containerStyle: d, direction: p, gap: u } = e, f = x`<cx-space
|
|
6026
6089
|
style=${Me(d ?? {})}
|
|
6027
6090
|
align-items=${c ?? "center"}
|
|
@@ -6035,7 +6098,7 @@ function ar(l, e, t) {
|
|
|
6035
6098
|
rowData: i,
|
|
6036
6099
|
separator: o
|
|
6037
6100
|
});
|
|
6038
|
-
if (C.valueMap && (E = C.valueMap[String(E)] ?? E),
|
|
6101
|
+
if (C.valueMap && (E = C.valueMap[String(E)] ?? E), rr({ elementConfig: C, elementValue: E, rowData: i }))
|
|
6039
6102
|
return;
|
|
6040
6103
|
const z = C.formatter || "plaintext", T = ke.lookupFormatter(z), K = {
|
|
6041
6104
|
getColumn: () => l.getColumn(),
|
|
@@ -6062,7 +6125,7 @@ function ar(l, e, t) {
|
|
|
6062
6125
|
}
|
|
6063
6126
|
if (H == null)
|
|
6064
6127
|
return;
|
|
6065
|
-
const te =
|
|
6128
|
+
const te = sr({
|
|
6066
6129
|
spacing: C.spacing,
|
|
6067
6130
|
style: C.style
|
|
6068
6131
|
});
|
|
@@ -6078,14 +6141,14 @@ function ar(l, e, t) {
|
|
|
6078
6141
|
return typeof z == "string" ? q.textContent = z : q.appendChild(z.cloneNode(!0)), [T, q];
|
|
6079
6142
|
}).forEach((C) => m.appendChild(C)), m);
|
|
6080
6143
|
}
|
|
6081
|
-
const
|
|
6082
|
-
function
|
|
6144
|
+
const lr = process.env.NODE_ENV === "development";
|
|
6145
|
+
function ar(l, e, t) {
|
|
6083
6146
|
const i = this.table.dependencyRegistry.lookup(
|
|
6084
6147
|
["luxon", "DateTime"],
|
|
6085
6148
|
"DateTime"
|
|
6086
6149
|
), s = e.inputFormat || "yyyy-MM-dd HH:mm:ss", o = e.outputFormat || "dd/MM/yyyy HH:mm:ss", r = e.invalidPlaceholder ?? "", n = l.getValue();
|
|
6087
6150
|
if (i == null)
|
|
6088
|
-
return
|
|
6151
|
+
return lr && console.error(
|
|
6089
6152
|
"Format Error - 'datetime' formatter is dependent on luxon.js"
|
|
6090
6153
|
), n;
|
|
6091
6154
|
{
|
|
@@ -6093,14 +6156,14 @@ function cr(l, e, t) {
|
|
|
6093
6156
|
return i.isDateTime(n) ? a = n : s === "iso" ? a = i.fromISO(String(n)) : a = i.fromFormat(String(n), s), a.isValid ? (e.timezone && (a = a.setZone(e.timezone)), a.toFormat(o)) : r === !0 || !n ? n : typeof r == "function" ? r(n) : r;
|
|
6094
6157
|
}
|
|
6095
6158
|
}
|
|
6096
|
-
const
|
|
6097
|
-
function
|
|
6159
|
+
const hr = process.env.NODE_ENV === "development";
|
|
6160
|
+
function cr(l, e, t) {
|
|
6098
6161
|
const i = this.table.dependencyRegistry.lookup(
|
|
6099
6162
|
["luxon", "DateTime"],
|
|
6100
6163
|
"DateTime"
|
|
6101
6164
|
), s = e.inputFormat || "yyyy-MM-dd HH:mm:ss", o = e.invalidPlaceholder ?? "", r = e.suffix === void 0 || e.suffix === null ? !1 : e.suffix, n = e.unit === void 0 || e.unit === null ? "days" : e.unit, a = e.humanize === void 0 || e.humanize === null ? !1 : e.humanize, h = l.getValue();
|
|
6102
6165
|
if (i == null)
|
|
6103
|
-
return
|
|
6166
|
+
return hr && console.error(
|
|
6104
6167
|
"Format Error - 'datetimediff' formatter is dependent on luxon.js"
|
|
6105
6168
|
), o;
|
|
6106
6169
|
{
|
|
@@ -6109,20 +6172,20 @@ function ur(l, e, t) {
|
|
|
6109
6172
|
return i.isDateTime(h) ? d = h : s === "iso" ? d = i.fromISO(String(h)) : d = i.fromFormat(String(h), s), d.isValid ? a ? d.diff(c, n).toHuman() + (r ? " " + r : "") : Number.parseInt(String(d.diff(c, n)[n]), 10) + (r ? " " + r : "") : o === !0 ? h : typeof o == "function" ? o(h) : o;
|
|
6110
6173
|
}
|
|
6111
6174
|
}
|
|
6112
|
-
function
|
|
6175
|
+
function dr(l, e, t) {
|
|
6113
6176
|
const i = l.getElement();
|
|
6114
6177
|
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>";
|
|
6115
6178
|
}
|
|
6116
|
-
function
|
|
6179
|
+
function ur(l, e, t) {
|
|
6117
6180
|
return l.getValue();
|
|
6118
6181
|
}
|
|
6119
|
-
const
|
|
6120
|
-
function
|
|
6182
|
+
const pr = x`<cx-icon></cx-icon>`;
|
|
6183
|
+
function fr(l, e) {
|
|
6121
6184
|
const t = l.getValue(), i = e ?? {};
|
|
6122
6185
|
let s;
|
|
6123
6186
|
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)
|
|
6124
6187
|
return;
|
|
6125
|
-
const o = L(
|
|
6188
|
+
const o = L(pr);
|
|
6126
6189
|
if (o.name = s, i.size !== void 0)
|
|
6127
6190
|
switch (typeof i.size) {
|
|
6128
6191
|
case "number":
|
|
@@ -6134,16 +6197,16 @@ function mr(l, e) {
|
|
|
6134
6197
|
}
|
|
6135
6198
|
return i.class && (o.className = i.class), i.style && Object.assign(o.style, i.style), o;
|
|
6136
6199
|
}
|
|
6137
|
-
const
|
|
6200
|
+
const gr = x`<div
|
|
6138
6201
|
style="display: flex; align-items: center; justify-content: center;"
|
|
6139
6202
|
>
|
|
6140
6203
|
<img style="max-width: 100%; max-height: 100%; object-fit: cover;" />
|
|
6141
6204
|
</div>`;
|
|
6142
|
-
function
|
|
6205
|
+
function mr(l, e) {
|
|
6143
6206
|
let t = l.getValue();
|
|
6144
6207
|
if (!t)
|
|
6145
6208
|
return null;
|
|
6146
|
-
const i = L(
|
|
6209
|
+
const i = L(gr), s = i.querySelector("img"), o = e ?? {};
|
|
6147
6210
|
switch (o.urlPrefix && (t = o.urlPrefix + l.getValue()), o.urlSuffix && (t = t + o.urlSuffix), s.setAttribute("src", String(t)), typeof o.height) {
|
|
6148
6211
|
case "number":
|
|
6149
6212
|
i.style.height = o.height + "px";
|
|
@@ -6164,8 +6227,8 @@ function wr(l, e) {
|
|
|
6164
6227
|
l.getRow()?.normalizeHeight();
|
|
6165
6228
|
}), i;
|
|
6166
6229
|
}
|
|
6167
|
-
const
|
|
6168
|
-
function
|
|
6230
|
+
const br = process.env.NODE_ENV === "development";
|
|
6231
|
+
function wr(l, e, t) {
|
|
6169
6232
|
const {
|
|
6170
6233
|
indent: i = " ",
|
|
6171
6234
|
multiline: s = !0,
|
|
@@ -6178,11 +6241,11 @@ function yr(l, e, t) {
|
|
|
6178
6241
|
try {
|
|
6179
6242
|
return JSON.stringify(r, o, i);
|
|
6180
6243
|
} catch (n) {
|
|
6181
|
-
return
|
|
6244
|
+
return br && console.warn("JSON Format Error - Failed to format value", n), String(r);
|
|
6182
6245
|
}
|
|
6183
6246
|
}
|
|
6184
|
-
const
|
|
6185
|
-
function
|
|
6247
|
+
const vr = process.env.NODE_ENV === "development";
|
|
6248
|
+
function yr(l, e, t) {
|
|
6186
6249
|
let i = l.getValue();
|
|
6187
6250
|
const s = e.urlPrefix || "";
|
|
6188
6251
|
let o = e.download, r = i;
|
|
@@ -6222,16 +6285,16 @@ function Er(l, e, t) {
|
|
|
6222
6285
|
break;
|
|
6223
6286
|
}
|
|
6224
6287
|
const c = String(s + i), d = document.createElement("a");
|
|
6225
|
-
return d.href = c, ["http:", "https:", "mailto:", "tel:", ""].includes(d.protocol) || c.startsWith("#") ? n.setAttribute("href", c) : (
|
|
6288
|
+
return d.href = c, ["http:", "https:", "mailto:", "tel:", ""].includes(d.protocol) || c.startsWith("#") ? n.setAttribute("href", c) : (vr && console.warn("Link formatter blocked potentially unsafe URL:", c), n.setAttribute("href", "#")), e.target && n.setAttribute("target", e.target), e.download && (typeof o == "function" ? o = o(l) : o = o === !0 ? "" : o, n.setAttribute("download", String(o))), n.innerHTML = ct(S(r)), n;
|
|
6226
6289
|
} else
|
|
6227
6290
|
return " ";
|
|
6228
6291
|
}
|
|
6229
|
-
const
|
|
6230
|
-
function
|
|
6292
|
+
const Cr = process.env.NODE_ENV === "development";
|
|
6293
|
+
function Er(l, e, t) {
|
|
6231
6294
|
const i = l.getValue();
|
|
6232
|
-
return !e || typeof e != "object" && typeof e != "function" || e[i] === void 0 || e[i] === null ? (
|
|
6295
|
+
return !e || typeof e != "object" && typeof e != "function" || e[i] === void 0 || e[i] === null ? (Cr && console.warn("Missing display value for " + i), i) : e[i];
|
|
6233
6296
|
}
|
|
6234
|
-
function
|
|
6297
|
+
function xr(l, e, t) {
|
|
6235
6298
|
let i = parseFloat(l.getValue()), s = "", o, r, n, a;
|
|
6236
6299
|
const h = e.decimal || ".", c = e.thousand || ",", d = e.negativeSign || "-", p = e.symbol || "", u = !!e.symbolAfter, f = typeof e.precision < "u" ? e.precision : 2;
|
|
6237
6300
|
if (isNaN(i))
|
|
@@ -6243,15 +6306,15 @@ function Sr(l, e, t) {
|
|
|
6243
6306
|
r = r.replace(n, "$1" + c + "$2");
|
|
6244
6307
|
return a = r + m, e.negativeSign === !0 ? (a = "(" + a + ")", u ? a + p : p + a) : u ? s + a + p : s + p + a;
|
|
6245
6308
|
}
|
|
6246
|
-
const
|
|
6247
|
-
function
|
|
6309
|
+
const Rr = x`<cx-format-number></cx-format-number>`;
|
|
6310
|
+
function Sr(l, e) {
|
|
6248
6311
|
const t = l.getValue();
|
|
6249
6312
|
if (t == null || t === "")
|
|
6250
6313
|
return;
|
|
6251
6314
|
const i = Number(t);
|
|
6252
6315
|
if (Number.isNaN(i))
|
|
6253
6316
|
return;
|
|
6254
|
-
const s = e ?? {}, o = L(
|
|
6317
|
+
const s = e ?? {}, o = L(Rr);
|
|
6255
6318
|
o.value = i;
|
|
6256
6319
|
for (const r of Object.keys(s)) {
|
|
6257
6320
|
const n = s[r];
|
|
@@ -6259,7 +6322,7 @@ function Mr(l, e) {
|
|
|
6259
6322
|
}
|
|
6260
6323
|
return o;
|
|
6261
6324
|
}
|
|
6262
|
-
function
|
|
6325
|
+
function Tr(l, e) {
|
|
6263
6326
|
let t = ct(S(l.getValue()));
|
|
6264
6327
|
const i = e ?? {};
|
|
6265
6328
|
i.prefix && (t = i.prefix + t), i.suffix && (t = t + i.suffix);
|
|
@@ -6268,7 +6331,7 @@ function kr(l, e) {
|
|
|
6268
6331
|
</cx-line-clamp>`;
|
|
6269
6332
|
return L(s);
|
|
6270
6333
|
}
|
|
6271
|
-
function
|
|
6334
|
+
function Mr(l, e = {}, t) {
|
|
6272
6335
|
const i = S(l.getValue()) || 0, s = l.getElement(), o = e.max ? e.max : 100, r = e.min ? e.min : 0, n = e.legendAlign ? e.legendAlign : "center";
|
|
6273
6336
|
let a, h, c = !1, d;
|
|
6274
6337
|
a = parseFloat(String(i)) <= o ? parseFloat(String(i)) : o, a = parseFloat(String(a)) >= r ? parseFloat(String(a)) : r;
|
|
@@ -6347,13 +6410,13 @@ function Dr(l, e = {}, t) {
|
|
|
6347
6410
|
y && (y.appendChild(f), f.appendChild(u), c && m && f.appendChild(m));
|
|
6348
6411
|
}), "";
|
|
6349
6412
|
}
|
|
6350
|
-
function
|
|
6413
|
+
function kr(l, e = {}, t) {
|
|
6351
6414
|
const i = document.createElement("span"), s = l.getRow(), o = l.getTable();
|
|
6352
6415
|
return s.watchPosition((r) => {
|
|
6353
6416
|
e.relativeToPage && o.modules.page && (r += o.modules.page.getPageSize() * (o.modules.page.getPage() - 1)), i.innerText = String(r);
|
|
6354
6417
|
}), i;
|
|
6355
6418
|
}
|
|
6356
|
-
function
|
|
6419
|
+
function Dr(l, e, t) {
|
|
6357
6420
|
let i = l.getValue();
|
|
6358
6421
|
const s = l.getElement(), o = l.getContentElement?.() ?? s, r = e && e.stars ? e.stars : 5, n = document.createElement("span"), a = 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 "/>';
|
|
6359
6422
|
n.style.verticalAlign = "middle", a.setAttribute("width", "14"), a.setAttribute("height", "14"), a.setAttribute("viewBox", "0 0 512 512"), a.setAttribute("xml:space", "preserve"), a.style.padding = "0 1px";
|
|
@@ -6365,8 +6428,8 @@ function zr(l, e, t) {
|
|
|
6365
6428
|
}
|
|
6366
6429
|
return o && (o.style.whiteSpace = "nowrap", o.style.overflow = "hidden", o.style.textOverflow = "ellipsis"), s && s.setAttribute("aria-label", String(i)), n;
|
|
6367
6430
|
}
|
|
6368
|
-
const
|
|
6369
|
-
function
|
|
6431
|
+
const Lr = x`<cx-tag></cx-tag>`;
|
|
6432
|
+
function zr(l, e) {
|
|
6370
6433
|
const t = l.getValue();
|
|
6371
6434
|
if (t == null || t === "")
|
|
6372
6435
|
return;
|
|
@@ -6375,26 +6438,26 @@ function Or(l, e) {
|
|
|
6375
6438
|
removable: !1,
|
|
6376
6439
|
size: "medium",
|
|
6377
6440
|
variant: "neutral"
|
|
6378
|
-
}, s = L(
|
|
6441
|
+
}, s = L(Lr);
|
|
6379
6442
|
return Object.assign(s, i), s.textContent = e?.getTagContent?.(t) ?? e?.tagContentMap?.[t] ?? String(t), s;
|
|
6380
6443
|
}
|
|
6381
|
-
function
|
|
6444
|
+
function Fr(l) {
|
|
6382
6445
|
return ct(S(l.getValue()));
|
|
6383
6446
|
}
|
|
6384
|
-
function
|
|
6447
|
+
function Or(l, e, t) {
|
|
6385
6448
|
const i = l.getValue(), s = l.getElement(), o = e.allowEmpty, r = e.allowTruthy, n = Object.prototype.hasOwnProperty.call(
|
|
6386
6449
|
e,
|
|
6387
6450
|
"trueValue"
|
|
6388
6451
|
), a = (typeof e.tickElement == "string" ? S(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" ? S(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>';
|
|
6389
6452
|
return n && i === e.trueValue || !n && (r && i || i === !0 || i === "true" || i === "True" || i === 1 || i === "1") ? (s && s.setAttribute("aria-checked", "true"), a || "") : o && (i === "null" || i === "" || i === null || typeof i > "u") ? (s && s.setAttribute("aria-checked", "mixed"), "") : (s && s.setAttribute("aria-checked", "false"), h || "");
|
|
6390
6453
|
}
|
|
6391
|
-
function
|
|
6454
|
+
function Hr(l) {
|
|
6392
6455
|
if (l == null || l === "")
|
|
6393
6456
|
return null;
|
|
6394
6457
|
const e = Number(l);
|
|
6395
6458
|
return Number.isFinite(e) ? e : null;
|
|
6396
6459
|
}
|
|
6397
|
-
function
|
|
6460
|
+
function Pr(l, e) {
|
|
6398
6461
|
const t = e.getValue(), i = e.getRow().getData(), {
|
|
6399
6462
|
getParams: s,
|
|
6400
6463
|
paramsMap: o,
|
|
@@ -6407,14 +6470,14 @@ function _r(l, e) {
|
|
|
6407
6470
|
...c
|
|
6408
6471
|
};
|
|
6409
6472
|
}
|
|
6410
|
-
function
|
|
6473
|
+
function Ar(l) {
|
|
6411
6474
|
const e = {
|
|
6412
6475
|
...l.style ?? {}
|
|
6413
6476
|
};
|
|
6414
6477
|
return l.color && (e["--cx-format-time-color"] = l.color), l.fontSize && (e["--cx-format-time-font-size"] = l.fontSize), l.fontWeight && (e["--cx-format-time-font-weight"] = l.fontWeight), e;
|
|
6415
6478
|
}
|
|
6416
|
-
function
|
|
6417
|
-
const t =
|
|
6479
|
+
function _r(l, e) {
|
|
6480
|
+
const t = Pr(e ?? {}, l), i = Hr(l.getValue()), s = Ar(t);
|
|
6418
6481
|
return L(x`
|
|
6419
6482
|
<cx-format-time
|
|
6420
6483
|
.duration=${i}
|
|
@@ -6427,7 +6490,7 @@ function Vr(l, e) {
|
|
|
6427
6490
|
></cx-format-time>
|
|
6428
6491
|
`);
|
|
6429
6492
|
}
|
|
6430
|
-
function
|
|
6493
|
+
function Nr(l, e, t) {
|
|
6431
6494
|
const i = e.size || 15, s = i + "px", o = Object.prototype.hasOwnProperty.call(
|
|
6432
6495
|
e,
|
|
6433
6496
|
"onValue"
|
|
@@ -6445,15 +6508,15 @@ function Br(l, e, t) {
|
|
|
6445
6508
|
const c = document.createElement("div");
|
|
6446
6509
|
return c.classList.add("tabulator-toggle-switch"), c.style.height = s, c.style.width = s, c.style.borderRadius = s, h.appendChild(c), h;
|
|
6447
6510
|
}
|
|
6448
|
-
const
|
|
6511
|
+
const Vr = x`<span class="tabulator-traffic-light-container">
|
|
6449
6512
|
<span class="tabulator-traffic-light"></span>
|
|
6450
6513
|
<span class="tabulator-traffic-light-text"></span>
|
|
6451
6514
|
</span>`;
|
|
6452
|
-
function
|
|
6515
|
+
function Br(l, e, t, i) {
|
|
6453
6516
|
const s = l.getValue();
|
|
6454
6517
|
if (s == null || s === "")
|
|
6455
6518
|
return;
|
|
6456
|
-
const o = L(
|
|
6519
|
+
const o = L(Vr), r = e?.getColor?.(s) ?? e?.colorMap?.[s];
|
|
6457
6520
|
if (r) {
|
|
6458
6521
|
const a = o.querySelector(
|
|
6459
6522
|
".tabulator-traffic-light"
|
|
@@ -6465,13 +6528,13 @@ function Wr(l, e, t, i) {
|
|
|
6465
6528
|
);
|
|
6466
6529
|
return n && (n.textContent = String(s)), i?.getColor ? n.style.color = i.getColor(l) : i?.colorMap ? n.style.color = i.colorMap[l.getValue()] : i?.color && (n.style.color = i.color), o;
|
|
6467
6530
|
}
|
|
6468
|
-
function
|
|
6531
|
+
function Ir(l, e) {
|
|
6469
6532
|
const t = l.getValue();
|
|
6470
6533
|
if (t == null || t === "")
|
|
6471
6534
|
return;
|
|
6472
6535
|
const i = e ?? {};
|
|
6473
6536
|
let s;
|
|
6474
|
-
i.getVariant && (s = i.getVariant(t)), !s && i.variantMap && (s = i.variantMap[t]), !s && i.variant && (s = i.variant), s ??=
|
|
6537
|
+
i.getVariant && (s = i.getVariant(t)), !s && i.variantMap && (s = i.variantMap[t]), !s && i.variant && (s = i.variant), s ??= Ns.Body1;
|
|
6475
6538
|
const o = x` <cx-line-clamp lines="1">
|
|
6476
6539
|
<cx-typography style=${Me(i.style ?? {})}></cx-typography>
|
|
6477
6540
|
</cx-line-clamp>`, r = L(o), n = r.querySelector(
|
|
@@ -6481,36 +6544,36 @@ function Gr(l, e) {
|
|
|
6481
6544
|
let a = String(t);
|
|
6482
6545
|
return i.prefix && (a = i.prefix + a), i.suffix && (a = a + i.suffix), n.textContent = a, r;
|
|
6483
6546
|
}
|
|
6484
|
-
const
|
|
6485
|
-
adaptable:
|
|
6486
|
-
array:
|
|
6487
|
-
buttonCross:
|
|
6488
|
-
buttonTick:
|
|
6489
|
-
color:
|
|
6490
|
-
composite:
|
|
6491
|
-
datetime:
|
|
6492
|
-
datetimediff:
|
|
6493
|
-
handle:
|
|
6494
|
-
html:
|
|
6495
|
-
icon:
|
|
6496
|
-
image:
|
|
6497
|
-
json:
|
|
6498
|
-
link:
|
|
6499
|
-
lookup:
|
|
6500
|
-
money:
|
|
6501
|
-
number:
|
|
6502
|
-
plaintext:
|
|
6503
|
-
progress:
|
|
6504
|
-
rownum:
|
|
6505
|
-
star:
|
|
6506
|
-
tag:
|
|
6507
|
-
textarea:
|
|
6508
|
-
tickCross:
|
|
6509
|
-
time:
|
|
6510
|
-
toggle:
|
|
6511
|
-
traffic:
|
|
6512
|
-
typography:
|
|
6513
|
-
},
|
|
6547
|
+
const Wr = {
|
|
6548
|
+
adaptable: qo,
|
|
6549
|
+
array: Yo,
|
|
6550
|
+
buttonCross: Qo,
|
|
6551
|
+
buttonTick: Zo,
|
|
6552
|
+
color: er,
|
|
6553
|
+
composite: nr,
|
|
6554
|
+
datetime: ar,
|
|
6555
|
+
datetimediff: cr,
|
|
6556
|
+
handle: dr,
|
|
6557
|
+
html: ur,
|
|
6558
|
+
icon: fr,
|
|
6559
|
+
image: mr,
|
|
6560
|
+
json: wr,
|
|
6561
|
+
link: yr,
|
|
6562
|
+
lookup: Er,
|
|
6563
|
+
money: xr,
|
|
6564
|
+
number: Sr,
|
|
6565
|
+
plaintext: Tr,
|
|
6566
|
+
progress: Mr,
|
|
6567
|
+
rownum: kr,
|
|
6568
|
+
star: Dr,
|
|
6569
|
+
tag: zr,
|
|
6570
|
+
textarea: Fr,
|
|
6571
|
+
tickCross: Or,
|
|
6572
|
+
time: _r,
|
|
6573
|
+
toggle: Nr,
|
|
6574
|
+
traffic: Br,
|
|
6575
|
+
typography: Ir
|
|
6576
|
+
}, Gr = process.env.NODE_ENV === "development", Z = class Z extends R {
|
|
6514
6577
|
constructor(e) {
|
|
6515
6578
|
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");
|
|
6516
6579
|
}
|
|
@@ -6540,7 +6603,7 @@ const jr = {
|
|
|
6540
6603
|
let t;
|
|
6541
6604
|
switch (typeof e) {
|
|
6542
6605
|
case "string":
|
|
6543
|
-
Z.formatters[e] ? t = Z.formatters[e] : (
|
|
6606
|
+
Z.formatters[e] ? t = Z.formatters[e] : (Gr && console.warn(
|
|
6544
6607
|
"Formatter Error - No such formatter found: ",
|
|
6545
6608
|
e
|
|
6546
6609
|
), t = Z.formatters.plaintext);
|
|
@@ -6627,10 +6690,10 @@ const jr = {
|
|
|
6627
6690
|
return this.formatValue(e);
|
|
6628
6691
|
}
|
|
6629
6692
|
};
|
|
6630
|
-
Z.moduleName = "format", Z.formatters =
|
|
6693
|
+
Z.moduleName = "format", Z.formatters = Wr;
|
|
6631
6694
|
let ke = Z;
|
|
6632
|
-
const ie = process.env.NODE_ENV === "development",
|
|
6633
|
-
class
|
|
6695
|
+
const ie = process.env.NODE_ENV === "development", jr = x` <cx-option></cx-option>`, $r = x` <cx-divider></cx-divider>`;
|
|
6696
|
+
class Ur {
|
|
6634
6697
|
constructor(e, t, i, s, o, r) {
|
|
6635
6698
|
this._itemsMap = /* @__PURE__ */ new Map(), this.table = e.table, this.cell = t, this.params = this._initializeParams(r), this.data = [], this.displayItems = [], this.focusedItem = null, this.input = this._createSelectElement(), this.initialValues = [], this.isHeaderFilter = t.row?.type === "header", this.typing = !1, this.listIteration = 0, this.lastAction = "", this.actions = {
|
|
6636
6699
|
cancel: o,
|
|
@@ -6692,7 +6755,7 @@ class Kr {
|
|
|
6692
6755
|
if (!e)
|
|
6693
6756
|
return null;
|
|
6694
6757
|
let t;
|
|
6695
|
-
return typeof e == "string" ? t =
|
|
6758
|
+
return typeof e == "string" ? t = Vs(e) : t = e, t && (t.slot = "prefix"), t;
|
|
6696
6759
|
}
|
|
6697
6760
|
_createSelectElement() {
|
|
6698
6761
|
const { autocomplete: e, clearable: t, freeWidth: i, placeholder: s } = this.params, o = x`
|
|
@@ -6788,7 +6851,7 @@ class Kr {
|
|
|
6788
6851
|
}
|
|
6789
6852
|
async _ajaxRequest(e, t) {
|
|
6790
6853
|
const { ajaxResponse: i, filterRemote: s } = this.params, o = s ? { term: t } : {};
|
|
6791
|
-
e =
|
|
6854
|
+
e = ws(e, {}, o);
|
|
6792
6855
|
let r = [];
|
|
6793
6856
|
try {
|
|
6794
6857
|
const n = await fetch(e);
|
|
@@ -6926,7 +6989,7 @@ class Kr {
|
|
|
6926
6989
|
// ////////////////////////////////////
|
|
6927
6990
|
_clearList() {
|
|
6928
6991
|
for (const e of Array.from(this.input.children))
|
|
6929
|
-
e.getAttribute("slot") !== "prefix" && (e instanceof
|
|
6992
|
+
e.getAttribute("slot") !== "prefix" && (e instanceof Bs || e instanceof gs || e.tagName === "SMALL") && e.remove();
|
|
6930
6993
|
this.displayItems = [];
|
|
6931
6994
|
}
|
|
6932
6995
|
_buildList(e) {
|
|
@@ -6950,7 +7013,7 @@ class Kr {
|
|
|
6950
7013
|
}
|
|
6951
7014
|
}
|
|
6952
7015
|
_appendDivider() {
|
|
6953
|
-
const e = L(
|
|
7016
|
+
const e = L($r);
|
|
6954
7017
|
this.input.appendChild(e);
|
|
6955
7018
|
}
|
|
6956
7019
|
_appendSectionLabel(e) {
|
|
@@ -6960,7 +7023,7 @@ class Kr {
|
|
|
6960
7023
|
_appendLeafOption(e) {
|
|
6961
7024
|
let t = e.element;
|
|
6962
7025
|
if (!t) {
|
|
6963
|
-
t = L(
|
|
7026
|
+
t = L(jr), t.getTextLabel = () => e.label, t.value = this.sanitizeValue(e.value);
|
|
6964
7027
|
const i = this.formatItemLabel(e, t);
|
|
6965
7028
|
i && typeof i == "object" && "nodeType" in i && i instanceof HTMLElement ? t.appendChild(i) : t.innerHTML = S(String(i || "")), t.classList.add(
|
|
6966
7029
|
"tabulator-edit-list-item",
|
|
@@ -7023,8 +7086,8 @@ class Kr {
|
|
|
7023
7086
|
}
|
|
7024
7087
|
}
|
|
7025
7088
|
}
|
|
7026
|
-
const
|
|
7027
|
-
return new
|
|
7089
|
+
const Xr = function(l, e, t, i, s) {
|
|
7090
|
+
return new Ur(
|
|
7028
7091
|
// eslint-disable-next-line no-invalid-this
|
|
7029
7092
|
this,
|
|
7030
7093
|
l instanceof mi ? l._getSelf() : l,
|
|
@@ -7033,7 +7096,7 @@ const Jr = function(l, e, t, i, s) {
|
|
|
7033
7096
|
i,
|
|
7034
7097
|
s
|
|
7035
7098
|
).input;
|
|
7036
|
-
},
|
|
7099
|
+
}, Kr = function(l, e, t, i, s) {
|
|
7037
7100
|
let o = l.getValue();
|
|
7038
7101
|
const r = s.verticalNavigation || "editor", n = document.createElement("input");
|
|
7039
7102
|
if (n.setAttribute("type", "number"), 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")
|
|
@@ -7082,7 +7145,7 @@ const Jr = function(l, e, t, i, s) {
|
|
|
7082
7145
|
break;
|
|
7083
7146
|
}
|
|
7084
7147
|
}), s.mask && wi(n, s), n;
|
|
7085
|
-
},
|
|
7148
|
+
}, Jr = function(l, e, t, i, s) {
|
|
7086
7149
|
const o = l.getElement();
|
|
7087
7150
|
if (!o)
|
|
7088
7151
|
return !1;
|
|
@@ -7136,7 +7199,7 @@ const Jr = function(l, e, t, i, s) {
|
|
|
7136
7199
|
}), o.addEventListener("blur", () => {
|
|
7137
7200
|
i();
|
|
7138
7201
|
}), p;
|
|
7139
|
-
},
|
|
7202
|
+
}, qr = function(l, e, t, i, s) {
|
|
7140
7203
|
let o = l.getValue();
|
|
7141
7204
|
const r = document.createElement("input");
|
|
7142
7205
|
if (r.setAttribute("type", "range"), typeof s.max < "u" && r.setAttribute("max", String(s.max)), typeof s.min < "u" && r.setAttribute("min", String(s.min)), typeof s.step < "u" && r.setAttribute("step", String(s.step)), r.style.padding = "4px", r.style.width = "100%", r.style.boxSizing = "border-box", s.elementAttributes && typeof s.elementAttributes == "object")
|
|
@@ -7168,7 +7231,7 @@ const Jr = function(l, e, t, i, s) {
|
|
|
7168
7231
|
break;
|
|
7169
7232
|
}
|
|
7170
7233
|
}), r;
|
|
7171
|
-
},
|
|
7234
|
+
}, Yr = function(l, e, t, i, s) {
|
|
7172
7235
|
const o = this, r = l.getElement();
|
|
7173
7236
|
if (!r)
|
|
7174
7237
|
return !1;
|
|
@@ -7239,7 +7302,7 @@ const Jr = function(l, e, t, i, s) {
|
|
|
7239
7302
|
break;
|
|
7240
7303
|
}
|
|
7241
7304
|
}), d;
|
|
7242
|
-
},
|
|
7305
|
+
}, Qr = function(l, e, t, i, s) {
|
|
7243
7306
|
let o = l.getValue();
|
|
7244
7307
|
const r = s.verticalNavigation || "hybrid", n = String(o ?? ""), a = document.createElement("textarea");
|
|
7245
7308
|
let h = 0;
|
|
@@ -7285,7 +7348,7 @@ const Jr = function(l, e, t, i, s) {
|
|
|
7285
7348
|
break;
|
|
7286
7349
|
}
|
|
7287
7350
|
}), s.mask && wi(a, s), a;
|
|
7288
|
-
},
|
|
7351
|
+
}, Zr = function(l, e, t, i, s) {
|
|
7289
7352
|
const o = l.getValue(), r = document.createElement("input"), n = s.tristate, a = typeof s.indeterminateValue > "u" ? null : s.indeterminateValue;
|
|
7290
7353
|
let h = !1;
|
|
7291
7354
|
const c = Object.keys(s).includes("trueValue"), d = Object.keys(s).includes("falseValue");
|
|
@@ -7315,7 +7378,7 @@ const Jr = function(l, e, t, i, s) {
|
|
|
7315
7378
|
}), r.addEventListener("keydown", (f) => {
|
|
7316
7379
|
f.keyCode === 13 && t(u(!1)), f.keyCode === 27 && i();
|
|
7317
7380
|
}), r;
|
|
7318
|
-
},
|
|
7381
|
+
}, en = process.env.NODE_ENV === "development", tn = function(l, e, t, i, s) {
|
|
7319
7382
|
const o = s.format, r = s.verticalNavigation || "editor", n = o ? typeof window < "u" && window.DateTime || typeof globalThis < "u" && globalThis.luxon?.DateTime : null;
|
|
7320
7383
|
let a, h = l.getValue();
|
|
7321
7384
|
const c = document.createElement("input");
|
|
@@ -7330,7 +7393,7 @@ const Jr = function(l, e, t, i, s) {
|
|
|
7330
7393
|
} else
|
|
7331
7394
|
c.setAttribute(f, s.elementAttributes[f]);
|
|
7332
7395
|
const d = String(h ?? "");
|
|
7333
|
-
o && n && d !== "" ? (n.isDateTime?.(h) ? a = h : o === "iso" ? a = n.fromISO(d) : a = n.fromFormat(d, o), h = a.toFormat("HH:mm")) : o && !n &&
|
|
7396
|
+
o && n && d !== "" ? (n.isDateTime?.(h) ? a = h : o === "iso" ? a = n.fromISO(d) : a = n.fromFormat(d, o), h = a.toFormat("HH:mm")) : o && !n && en && console.error(
|
|
7334
7397
|
"Editor Error - 'time' editor 'format' param is dependent on luxon.js"
|
|
7335
7398
|
);
|
|
7336
7399
|
const p = String(h ?? "");
|
|
@@ -7380,20 +7443,20 @@ const Jr = function(l, e, t, i, s) {
|
|
|
7380
7443
|
break;
|
|
7381
7444
|
}
|
|
7382
7445
|
}), c;
|
|
7383
|
-
},
|
|
7384
|
-
adaptable:
|
|
7385
|
-
date:
|
|
7386
|
-
datetime:
|
|
7387
|
-
input:
|
|
7388
|
-
list:
|
|
7389
|
-
number:
|
|
7390
|
-
progress:
|
|
7391
|
-
range:
|
|
7392
|
-
star:
|
|
7393
|
-
textarea:
|
|
7394
|
-
tickCross:
|
|
7395
|
-
time:
|
|
7396
|
-
},
|
|
7446
|
+
}, sn = {
|
|
7447
|
+
adaptable: jo,
|
|
7448
|
+
date: Uo,
|
|
7449
|
+
datetime: Ko,
|
|
7450
|
+
input: Jo,
|
|
7451
|
+
list: Xr,
|
|
7452
|
+
number: Kr,
|
|
7453
|
+
progress: Jr,
|
|
7454
|
+
range: qr,
|
|
7455
|
+
star: Yr,
|
|
7456
|
+
textarea: Qr,
|
|
7457
|
+
tickCross: Zr,
|
|
7458
|
+
time: tn
|
|
7459
|
+
}, Ye = process.env.NODE_ENV === "development", Ge = class Ge extends R {
|
|
7397
7460
|
constructor(e) {
|
|
7398
7461
|
super(e), this.currentCell = !1, this.mouseClick = !1, this.recursionBlock = !1, this.invalidEdit = !1, this.editedCells = [], this.convertEmptyValues = !1, this.editors = Ge.editors, this.registerTableOption("editTriggerEvent", "focus"), this.registerTableOption("editorEmptyValue"), this.registerTableOption(
|
|
7399
7462
|
"editorEmptyValueFunc",
|
|
@@ -7478,7 +7541,7 @@ const Jr = function(l, e, t, i, s) {
|
|
|
7478
7541
|
return !!e._getSelf().modules.edit && e._getSelf().modules.edit.edited;
|
|
7479
7542
|
}
|
|
7480
7543
|
cellCancelEdit(e) {
|
|
7481
|
-
e._getSelf() === this.currentCell ? this.cancelEdit() :
|
|
7544
|
+
e._getSelf() === this.currentCell ? this.cancelEdit() : Ye && console.warn(
|
|
7482
7545
|
"Cancel Editor Error - This cell is not currently being edited "
|
|
7483
7546
|
);
|
|
7484
7547
|
}
|
|
@@ -7591,13 +7654,13 @@ const Jr = function(l, e, t, i, s) {
|
|
|
7591
7654
|
let i = !1;
|
|
7592
7655
|
switch (typeof e) {
|
|
7593
7656
|
case "string":
|
|
7594
|
-
this.editors[e] ? i = this.editors[e] :
|
|
7657
|
+
this.editors[e] ? i = this.editors[e] : Ye && console.warn("Editor Error - No such editor found: ", e);
|
|
7595
7658
|
break;
|
|
7596
7659
|
case "function":
|
|
7597
7660
|
i = e;
|
|
7598
7661
|
break;
|
|
7599
7662
|
case "boolean":
|
|
7600
|
-
e === !0 && (typeof t.definition.formatter == "function" ?
|
|
7663
|
+
e === !0 && (typeof t.definition.formatter == "function" ? Ye && console.warn(
|
|
7601
7664
|
"Editor Error - Cannot auto lookup editor for a custom formatter: ",
|
|
7602
7665
|
t.definition.formatter
|
|
7603
7666
|
) : t.definition.formatter && this.editors[t.definition.formatter] ? i = this.editors[t.definition.formatter] : i = this.editors.input);
|
|
@@ -7746,7 +7809,7 @@ const Jr = function(l, e, t, i, s) {
|
|
|
7746
7809
|
C.stopPropagation();
|
|
7747
7810
|
});
|
|
7748
7811
|
} else
|
|
7749
|
-
return
|
|
7812
|
+
return Ye && console.warn(
|
|
7750
7813
|
"Edit Error - Editor should return an instance of Node, the editor returned:",
|
|
7751
7814
|
a
|
|
7752
7815
|
), this.blur(r), !1;
|
|
@@ -7779,9 +7842,9 @@ const Jr = function(l, e, t, i, s) {
|
|
|
7779
7842
|
t > -1 && this.editedCells.splice(t, 1);
|
|
7780
7843
|
}
|
|
7781
7844
|
};
|
|
7782
|
-
Ge.moduleName = "edit", Ge.editors =
|
|
7845
|
+
Ge.moduleName = "edit", Ge.editors = sn;
|
|
7783
7846
|
let Lt = Ge;
|
|
7784
|
-
const
|
|
7847
|
+
const on = {}, rn = {
|
|
7785
7848
|
active: function() {
|
|
7786
7849
|
return this.options.pagination ? this.rowManager?.getDisplayRows(
|
|
7787
7850
|
this.rowManager.displayRows.length - 2
|
|
@@ -7807,7 +7870,7 @@ class Qi {
|
|
|
7807
7870
|
this.type = e, this.columns = t, this.component = i ?? !1, this.indent = s ?? 0;
|
|
7808
7871
|
}
|
|
7809
7872
|
}
|
|
7810
|
-
const
|
|
7873
|
+
const nn = process.env.NODE_ENV === "development", fe = class fe extends R {
|
|
7811
7874
|
constructor(e) {
|
|
7812
7875
|
super(e), this.config = {}, this.cloneTableStyle = !0, this.colVisProp = "", this.colVisPropAttach = "", this.registerTableOption("htmlOutputConfig", !1), this.registerColumnOption("htmlOutput"), this.registerColumnOption("titleHtmlOutput");
|
|
7813
7876
|
}
|
|
@@ -7976,7 +8039,7 @@ const an = process.env.NODE_ENV === "development", fe = class fe extends R {
|
|
|
7976
8039
|
"font-weight",
|
|
7977
8040
|
"font-family",
|
|
7978
8041
|
"font-size"
|
|
7979
|
-
]), e.length > 1e3 &&
|
|
8042
|
+
]), e.length > 1e3 && nn && console.warn(
|
|
7980
8043
|
"It may take a long time to render an HTML table with more than 1000 rows"
|
|
7981
8044
|
), e.forEach((h, c) => {
|
|
7982
8045
|
let d;
|
|
@@ -8263,9 +8326,9 @@ const an = process.env.NODE_ENV === "development", fe = class fe extends R {
|
|
|
8263
8326
|
}
|
|
8264
8327
|
}
|
|
8265
8328
|
};
|
|
8266
|
-
fe.moduleName = "export", fe.columnLookups =
|
|
8329
|
+
fe.moduleName = "export", fe.columnLookups = on, fe.rowLookups = rn;
|
|
8267
8330
|
let zt = fe;
|
|
8268
|
-
const Zi = process.env.NODE_ENV === "development",
|
|
8331
|
+
const Zi = process.env.NODE_ENV === "development", ln = {
|
|
8269
8332
|
// not equal to
|
|
8270
8333
|
"!=": function(l, e, t, i) {
|
|
8271
8334
|
return e != l;
|
|
@@ -8926,9 +8989,9 @@ const Zi = process.env.NODE_ENV === "development", hn = {
|
|
|
8926
8989
|
}) : i = e.func(t), i;
|
|
8927
8990
|
}
|
|
8928
8991
|
};
|
|
8929
|
-
ee.moduleName = "filter", ee.filters =
|
|
8992
|
+
ee.moduleName = "filter", ee.filters = ln;
|
|
8930
8993
|
let Ft = ee;
|
|
8931
|
-
const
|
|
8994
|
+
const an = process.env.NODE_ENV === "development", Ei = class Ei extends R {
|
|
8932
8995
|
constructor(e) {
|
|
8933
8996
|
super(e), this.leftColumns = [], this.rightColumns = [], this.initializationMode = "left", this.active = !1, this.blocked = !0, this.registerColumnOption("frozen");
|
|
8934
8997
|
}
|
|
@@ -8959,7 +9022,7 @@ const cn = process.env.NODE_ENV === "development", Ei = class Ei extends R {
|
|
|
8959
9022
|
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");
|
|
8960
9023
|
}
|
|
8961
9024
|
frozenCheck(e) {
|
|
8962
|
-
return e.parent instanceof U && e.parent.isGroup && e.definition.frozen &&
|
|
9025
|
+
return e.parent instanceof U && e.parent.isGroup && e.definition.frozen && an && console.warn(
|
|
8963
9026
|
"Frozen Column Error - Parent column group must be frozen, not individual columns or sub column groups"
|
|
8964
9027
|
), e.parent instanceof U && e.parent.isGroup ? this.frozenCheck(e.parent) : !!e.definition.frozen;
|
|
8965
9028
|
}
|
|
@@ -9141,7 +9204,7 @@ const es = process.env.NODE_ENV === "development", xi = class xi extends R {
|
|
|
9141
9204
|
};
|
|
9142
9205
|
xi.moduleName = "frozenRows";
|
|
9143
9206
|
let Ht = xi;
|
|
9144
|
-
class
|
|
9207
|
+
class hn {
|
|
9145
9208
|
constructor(e) {
|
|
9146
9209
|
return this._group = e, this.type = "GroupComponent", new Proxy(this, {
|
|
9147
9210
|
get: function(t, i) {
|
|
@@ -9201,10 +9264,10 @@ class dn {
|
|
|
9201
9264
|
return this._group.groupManager.table;
|
|
9202
9265
|
}
|
|
9203
9266
|
}
|
|
9204
|
-
const
|
|
9267
|
+
const cn = process.env.NODE_ENV === "development", dn = x`<cx-icon-button
|
|
9205
9268
|
class="tabulator-group-toggle"
|
|
9206
9269
|
name="keyboard_arrow_down"
|
|
9207
|
-
></cx-icon-button>`,
|
|
9270
|
+
></cx-icon-button>`, un = x`<div class="tabulator-group-level-indent"></div>`;
|
|
9208
9271
|
class Le {
|
|
9209
9272
|
constructor(e, t, i, s, o, r, n) {
|
|
9210
9273
|
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 = n, this.rows = [], this.groups = {}, this.groupList = [], this.generator = r, this.element = !1, this.elementContents = !1, this.height = 0, this.outerHeight = 0, this.initialized = !1, this.heightInitialized = !1, this.calcs = {}, this.modules = {}, this.arrowElement = !1, this.visible = n ? n.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();
|
|
@@ -9223,7 +9286,7 @@ class Le {
|
|
|
9223
9286
|
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(
|
|
9224
9287
|
"role",
|
|
9225
9288
|
this.groupManager.table.options.rowGroupRole ?? "rowgroup"
|
|
9226
|
-
), this.arrowElement = L(
|
|
9289
|
+
), this.arrowElement = L(dn), this.groupManager.table.options.movableRows !== !1 && this.groupManager.table.modExists("moveRow") && this.groupManager.table.modules.moveRow.initializeGroupHeader(
|
|
9227
9290
|
this
|
|
9228
9291
|
);
|
|
9229
9292
|
}
|
|
@@ -9287,7 +9350,7 @@ class Le {
|
|
|
9287
9350
|
let s = i.querySelector(
|
|
9288
9351
|
".tabulator-group-level-indent"
|
|
9289
9352
|
);
|
|
9290
|
-
s || (s = L(
|
|
9353
|
+
s || (s = L(un), i.insertBefore(s, i.firstChild)), s.style.marginLeft = `${(this.level + 1) * (this.groupManager.table.options.groupIndent ?? 36)}px`, s.dataset.groupLevel = this.level.toString();
|
|
9291
9354
|
}
|
|
9292
9355
|
}
|
|
9293
9356
|
insertRow(e, t, i) {
|
|
@@ -9308,7 +9371,7 @@ class Le {
|
|
|
9308
9371
|
}
|
|
9309
9372
|
// update row data to match grouping constraints
|
|
9310
9373
|
conformRowData(e) {
|
|
9311
|
-
return this.field ? e[this.field] = this.key :
|
|
9374
|
+
return this.field ? e[this.field] = this.key : cn && console.warn(
|
|
9312
9375
|
"Data Conforming Error - Cannot conform row data to match new group as groupBy is a function"
|
|
9313
9376
|
), this.parent && (e = this.parent.conformRowData(e)), e;
|
|
9314
9377
|
}
|
|
@@ -9530,7 +9593,7 @@ class Le {
|
|
|
9530
9593
|
}
|
|
9531
9594
|
// ////////////// Object Generation /////////////////
|
|
9532
9595
|
getComponent() {
|
|
9533
|
-
return this.component ??= new
|
|
9596
|
+
return this.component ??= new hn(this), this.component;
|
|
9534
9597
|
}
|
|
9535
9598
|
}
|
|
9536
9599
|
const gt = process.env.NODE_ENV === "development", Ri = class Ri extends R {
|
|
@@ -9897,7 +9960,7 @@ const gt = process.env.NODE_ENV === "development", Ri = class Ri extends R {
|
|
|
9897
9960
|
};
|
|
9898
9961
|
Ri.moduleName = "groupRows";
|
|
9899
9962
|
let Pt = Ri;
|
|
9900
|
-
const
|
|
9963
|
+
const pn = {
|
|
9901
9964
|
cellEdit: function(l) {
|
|
9902
9965
|
"setValueProcessData" in l.component && (l.component.setValueProcessData(l.data.newValue), l.component.cellRendered());
|
|
9903
9966
|
},
|
|
@@ -9924,7 +9987,7 @@ const gn = {
|
|
|
9924
9987
|
), this.table.rowManager.regenerateRowPositions(), this.table.rowManager.reRenderInPosition());
|
|
9925
9988
|
}
|
|
9926
9989
|
}
|
|
9927
|
-
},
|
|
9990
|
+
}, fn = {
|
|
9928
9991
|
cellEdit: function(l) {
|
|
9929
9992
|
"setValueProcessData" in l.component && (l.component.setValueProcessData(l.data.oldValue), l.component.cellRendered());
|
|
9930
9993
|
},
|
|
@@ -9951,7 +10014,7 @@ const gn = {
|
|
|
9951
10014
|
), this.table.rowManager.regenerateRowPositions(), this.table.rowManager.reRenderInPosition());
|
|
9952
10015
|
}
|
|
9953
10016
|
}
|
|
9954
|
-
},
|
|
10017
|
+
}, gn = {
|
|
9955
10018
|
redo: function(l) {
|
|
9956
10019
|
let e;
|
|
9957
10020
|
this.table.options.history && this.table.modExists("history") && this.table.modExists("edit") && (e = this.table.modules.edit?.currentCell, e || (l.preventDefault(), this.table.modules.history?.redo()));
|
|
@@ -9960,13 +10023,13 @@ const gn = {
|
|
|
9960
10023
|
let e;
|
|
9961
10024
|
this.table.options.history && this.table.modExists("history") && this.table.modExists("edit") && (e = this.table.modules.edit?.currentCell, e || (l.preventDefault(), this.table.modules.history?.undo()));
|
|
9962
10025
|
}
|
|
9963
|
-
},
|
|
10026
|
+
}, mn = {
|
|
9964
10027
|
redo: ["ctrl + 89", "meta + 89"],
|
|
9965
10028
|
undo: ["ctrl + 90", "meta + 90"]
|
|
9966
|
-
},
|
|
10029
|
+
}, bn = {
|
|
9967
10030
|
keybindings: {
|
|
9968
|
-
actions:
|
|
9969
|
-
bindings:
|
|
10031
|
+
actions: gn,
|
|
10032
|
+
bindings: mn
|
|
9970
10033
|
}
|
|
9971
10034
|
}, ts = process.env.NODE_ENV === "development", se = class se extends R {
|
|
9972
10035
|
constructor(e) {
|
|
@@ -10076,7 +10139,7 @@ const gn = {
|
|
|
10076
10139
|
this.history.forEach((i) => {
|
|
10077
10140
|
if (i.component instanceof _)
|
|
10078
10141
|
i.component === e && (i.component = t);
|
|
10079
|
-
else if (i.component instanceof
|
|
10142
|
+
else if (i.component instanceof qe && i.component.row === e) {
|
|
10080
10143
|
const s = i.component.column.getField();
|
|
10081
10144
|
if (s) {
|
|
10082
10145
|
const o = t.getCell(s);
|
|
@@ -10086,9 +10149,9 @@ const gn = {
|
|
|
10086
10149
|
});
|
|
10087
10150
|
}
|
|
10088
10151
|
};
|
|
10089
|
-
se.moduleName = "history", se.moduleExtensions =
|
|
10152
|
+
se.moduleName = "history", se.moduleExtensions = bn, se.undoers = fn, se.redoers = pn;
|
|
10090
10153
|
let At = se;
|
|
10091
|
-
const
|
|
10154
|
+
const wn = process.env.NODE_ENV === "development", Si = class Si extends R {
|
|
10092
10155
|
constructor(e) {
|
|
10093
10156
|
super(e), this.fieldIndex = [], this.hasIndex = !1;
|
|
10094
10157
|
}
|
|
@@ -10096,7 +10159,7 @@ const yn = process.env.NODE_ENV === "development", Si = class Si extends R {
|
|
|
10096
10159
|
this.tableElementCheck();
|
|
10097
10160
|
}
|
|
10098
10161
|
tableElementCheck() {
|
|
10099
|
-
this.table.originalElement?.tagName === "TABLE" && (this.table.originalElement.childNodes.length ? this.parseTable() :
|
|
10162
|
+
this.table.originalElement?.tagName === "TABLE" && (this.table.originalElement.childNodes.length ? this.parseTable() : wn && console.warn(
|
|
10100
10163
|
"Unable to parse data from empty table tag, Tabulator should be initialized on a div tag unless importing data from a table element."
|
|
10101
10164
|
));
|
|
10102
10165
|
}
|
|
@@ -10169,10 +10232,10 @@ const yn = process.env.NODE_ENV === "development", Si = class Si extends R {
|
|
|
10169
10232
|
};
|
|
10170
10233
|
Si.moduleName = "htmlTableImport";
|
|
10171
10234
|
let _t = Si;
|
|
10172
|
-
function
|
|
10235
|
+
function vn(l) {
|
|
10173
10236
|
return l;
|
|
10174
10237
|
}
|
|
10175
|
-
function
|
|
10238
|
+
function yn(l) {
|
|
10176
10239
|
const e = [];
|
|
10177
10240
|
let t = 0, i = 0, s = !1;
|
|
10178
10241
|
for (let o = 0; o < l.length; o++) {
|
|
@@ -10203,15 +10266,15 @@ function En(l) {
|
|
|
10203
10266
|
}
|
|
10204
10267
|
return e;
|
|
10205
10268
|
}
|
|
10206
|
-
const
|
|
10207
|
-
async function
|
|
10269
|
+
const Cn = process.env.NODE_ENV === "development";
|
|
10270
|
+
async function En(l) {
|
|
10208
10271
|
try {
|
|
10209
10272
|
return JSON.parse(l);
|
|
10210
10273
|
} catch (e) {
|
|
10211
|
-
throw
|
|
10274
|
+
throw Cn && console.warn("JSON Import Error - File contents is invalid JSON", e), new Error("Invalid JSON format");
|
|
10212
10275
|
}
|
|
10213
10276
|
}
|
|
10214
|
-
const is = process.env.NODE_ENV === "development",
|
|
10277
|
+
const is = process.env.NODE_ENV === "development", xn = function(l) {
|
|
10215
10278
|
const t = this.dependencyRegistry.lookup("XLSX");
|
|
10216
10279
|
if (!t)
|
|
10217
10280
|
return is && console.warn("XLSX library not found in dependency registry"), [];
|
|
@@ -10220,11 +10283,11 @@ const is = process.env.NODE_ENV === "development", Sn = function(l) {
|
|
|
10220
10283
|
return is && console.warn("XLSX workbook contains no sheets"), [];
|
|
10221
10284
|
const s = i.Sheets[i.SheetNames[0]];
|
|
10222
10285
|
return t.utils.sheet_to_json(s, { header: 1 });
|
|
10223
|
-
},
|
|
10224
|
-
array:
|
|
10225
|
-
csv:
|
|
10226
|
-
json:
|
|
10227
|
-
xlsx:
|
|
10286
|
+
}, Rn = {
|
|
10287
|
+
array: vn,
|
|
10288
|
+
csv: yn,
|
|
10289
|
+
json: En,
|
|
10290
|
+
xlsx: xn
|
|
10228
10291
|
}, Ie = process.env.NODE_ENV === "development", je = class je extends R {
|
|
10229
10292
|
constructor(e) {
|
|
10230
10293
|
super(e), this.registerTableOption("importFormat"), this.registerTableOption("importReader", "text"), this.registerTableOption("importHeaderTransform"), this.registerTableOption("importValueTransform"), this.registerTableOption("importDataValidator"), this.registerTableOption("importFileValidator");
|
|
@@ -10381,7 +10444,7 @@ const is = process.env.NODE_ENV === "development", Sn = function(l) {
|
|
|
10381
10444
|
return this.dispatch("import-imported", e), this.dispatchExternal("importImported", e), this.table.dataLoader?.clearAlert(), this.table.setData(e);
|
|
10382
10445
|
}
|
|
10383
10446
|
};
|
|
10384
|
-
je.moduleName = "import", je.importers =
|
|
10447
|
+
je.moduleName = "import", je.importers = Rn;
|
|
10385
10448
|
let Nt = je;
|
|
10386
10449
|
const Ti = class Ti extends R {
|
|
10387
10450
|
constructor(e) {
|
|
@@ -10562,12 +10625,12 @@ const Ti = class Ti extends R {
|
|
|
10562
10625
|
dispatchEvent(e, t, i) {
|
|
10563
10626
|
const s = i.getComponent();
|
|
10564
10627
|
let o;
|
|
10565
|
-
this.columnSubscribers[e] && (i instanceof
|
|
10628
|
+
this.columnSubscribers[e] && (i instanceof qe ? o = i.column.definition[e] : i instanceof U && (o = i.definition[e]), o && o(t, s)), this.dispatchExternal(e, t, s);
|
|
10566
10629
|
}
|
|
10567
10630
|
};
|
|
10568
10631
|
Ti.moduleName = "interaction";
|
|
10569
10632
|
let Vt = Ti;
|
|
10570
|
-
const
|
|
10633
|
+
const Sn = {
|
|
10571
10634
|
keyBlock: function(l) {
|
|
10572
10635
|
l.stopPropagation(), l.preventDefault();
|
|
10573
10636
|
},
|
|
@@ -10615,7 +10678,7 @@ const Mn = {
|
|
|
10615
10678
|
const e = this.table.rowManager;
|
|
10616
10679
|
e && (l.preventDefault(), e.displayRowsCount && e.scrollToRow(e.getDisplayRows()[0]), this.table.element.focus());
|
|
10617
10680
|
}
|
|
10618
|
-
},
|
|
10681
|
+
}, Tn = {
|
|
10619
10682
|
navDown: 40,
|
|
10620
10683
|
navLeft: 37,
|
|
10621
10684
|
navNext: 9,
|
|
@@ -10626,7 +10689,7 @@ const Mn = {
|
|
|
10626
10689
|
scrollPageUp: 33,
|
|
10627
10690
|
scrollToEnd: 35,
|
|
10628
10691
|
scrollToStart: 36
|
|
10629
|
-
},
|
|
10692
|
+
}, Mn = process.env.NODE_ENV === "development", ge = class ge extends R {
|
|
10630
10693
|
constructor(e) {
|
|
10631
10694
|
super(e), this.watchKeys = null, this.pressedKeys = null, this.keyupBinding = !1, this.keydownBinding = !1, this.registerTableOption("keybindings", {}), this.registerTableOption("tabEndNewRow", !1);
|
|
10632
10695
|
}
|
|
@@ -10640,7 +10703,7 @@ const Mn = {
|
|
|
10640
10703
|
(Array.isArray(i) ? i : [i]).forEach((o) => {
|
|
10641
10704
|
this.mapBinding(t, o);
|
|
10642
10705
|
});
|
|
10643
|
-
})) :
|
|
10706
|
+
})) : Mn && console.warn("Key Binding Error - no such action:", t);
|
|
10644
10707
|
}
|
|
10645
10708
|
mapBinding(e, t) {
|
|
10646
10709
|
const i = {
|
|
@@ -10693,7 +10756,7 @@ const Mn = {
|
|
|
10693
10756
|
}), i && t.action.call(this, e), !0) : !1;
|
|
10694
10757
|
}
|
|
10695
10758
|
};
|
|
10696
|
-
ge.moduleName = "keybindings", ge.bindings =
|
|
10759
|
+
ge.moduleName = "keybindings", ge.bindings = Tn, ge.actions = Sn;
|
|
10697
10760
|
let Bt = ge;
|
|
10698
10761
|
const Mi = class Mi extends R {
|
|
10699
10762
|
constructor(e) {
|
|
@@ -10978,7 +11041,7 @@ const ki = class ki extends R {
|
|
|
10978
11041
|
};
|
|
10979
11042
|
ki.moduleName = "moveColumn";
|
|
10980
11043
|
let Wt = ki;
|
|
10981
|
-
const
|
|
11044
|
+
const kn = {
|
|
10982
11045
|
add: function(l, e, t) {
|
|
10983
11046
|
return l && this.table.addRow(l.getData("")), !0;
|
|
10984
11047
|
},
|
|
@@ -10991,11 +11054,11 @@ const Ln = {
|
|
|
10991
11054
|
update: function(l, e, t) {
|
|
10992
11055
|
return e && l ? (e.update(l.getData("")), !0) : !1;
|
|
10993
11056
|
}
|
|
10994
|
-
},
|
|
11057
|
+
}, Dn = {
|
|
10995
11058
|
delete: function(l, e, t) {
|
|
10996
11059
|
l && l.delete();
|
|
10997
11060
|
}
|
|
10998
|
-
},
|
|
11061
|
+
}, Qe = process.env.NODE_ENV === "development", xe = class xe extends R {
|
|
10999
11062
|
constructor(e) {
|
|
11000
11063
|
super(e), this.placeholderElement = this.createPlaceholderElement(), this.hoverElement = !1, this.checkTimeout = !1, this.checkPeriod = 150, this.moving = !1, this.toRow = !1, this.toRowAfter = !1, this.hasHandle = !1, this.startY = 0, this.startX = 0, this.moveHover = this.moveHover.bind(this), this.endMove = this.endMove.bind(this), this.tableRowDropEvent = !1, this.touchMove = !1, this.connection = !1, this.connectionSelectorsTables = !1, this.connectionSelectorsElements = !1, this.connectionElements = [], this.connections = [], this.connectedTable = !1, this.connectedRow = !1, this.registerTableOption("movableRows", !1), this.registerTableOption("movableRowsConnectedTables", !1), this.registerTableOption("movableRowsConnectedElements", !1), this.registerTableOption("movableRowsSender", !1), this.registerTableOption("movableRowsReceiver", "insert"), this.registerColumnOption("rowHandle");
|
|
11001
11064
|
}
|
|
@@ -11221,7 +11284,7 @@ const Ln = {
|
|
|
11221
11284
|
}
|
|
11222
11285
|
// accept incomming connection
|
|
11223
11286
|
connect(e, t) {
|
|
11224
|
-
return this.connectedTable ? (
|
|
11287
|
+
return this.connectedTable ? (Qe && console.warn(
|
|
11225
11288
|
"Move Row Error - Table cannot accept connection, already connected to table:",
|
|
11226
11289
|
this.connectedTable
|
|
11227
11290
|
), !1) : (this.connectedTable = e, this.connectedRow = t, this.table.element.classList.add("tabulator-movingrow-receiving"), this.table.rowManager?.getDisplayRows().forEach((i) => {
|
|
@@ -11253,7 +11316,7 @@ const Ln = {
|
|
|
11253
11316
|
}), this.tableRowDropEvent && this.table.element.removeEventListener(
|
|
11254
11317
|
"mouseup",
|
|
11255
11318
|
this.tableRowDropEvent
|
|
11256
|
-
), this.dispatchExternal("movableRowsReceivingStop", e), !0) : (
|
|
11319
|
+
), this.dispatchExternal("movableRowsReceivingStop", e), !0) : (Qe && console.warn(
|
|
11257
11320
|
"Move Row Error - trying to disconnect from non connected table"
|
|
11258
11321
|
), !1);
|
|
11259
11322
|
}
|
|
@@ -11273,7 +11336,7 @@ const Ln = {
|
|
|
11273
11336
|
this.moving ? this.moving.getComponent() : void 0,
|
|
11274
11337
|
t ? t.getComponent() : void 0,
|
|
11275
11338
|
e
|
|
11276
|
-
) : this.table.options.movableRowsSender &&
|
|
11339
|
+
) : this.table.options.movableRowsSender && Qe && console.warn(
|
|
11277
11340
|
"Mover Row Error - no matching sender found:",
|
|
11278
11341
|
this.table.options.movableRowsSender
|
|
11279
11342
|
), this.moving && this.dispatchExternal(
|
|
@@ -11305,7 +11368,7 @@ const Ln = {
|
|
|
11305
11368
|
this.connectedRow.getComponent(),
|
|
11306
11369
|
t ? t.getComponent() : void 0,
|
|
11307
11370
|
this.connectedTable
|
|
11308
|
-
) :
|
|
11371
|
+
) : Qe && console.warn(
|
|
11309
11372
|
"Mover Row Error - no matching receiver found:",
|
|
11310
11373
|
this.table.options.movableRowsReceiver
|
|
11311
11374
|
), s && this.connectedRow ? this.dispatchExternal(
|
|
@@ -11337,9 +11400,9 @@ const Ln = {
|
|
|
11337
11400
|
}
|
|
11338
11401
|
}
|
|
11339
11402
|
};
|
|
11340
|
-
xe.moduleName = "moveRow", xe.senders =
|
|
11403
|
+
xe.moduleName = "moveRow", xe.senders = Dn, xe.receivers = kn;
|
|
11341
11404
|
let Gt = xe;
|
|
11342
|
-
const
|
|
11405
|
+
const Ln = {}, zn = process.env.NODE_ENV === "development", He = class He extends R {
|
|
11343
11406
|
constructor(e) {
|
|
11344
11407
|
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");
|
|
11345
11408
|
}
|
|
@@ -11365,7 +11428,7 @@ const Fn = {}, On = process.env.NODE_ENV === "development", He = class He extend
|
|
|
11365
11428
|
let t = !1;
|
|
11366
11429
|
switch (typeof e) {
|
|
11367
11430
|
case "string":
|
|
11368
|
-
He.mutators[e] ? t = He.mutators[e] :
|
|
11431
|
+
He.mutators[e] ? t = He.mutators[e] : zn && console.warn(
|
|
11369
11432
|
"Mutator Error - No such mutator found, ignoring: ",
|
|
11370
11433
|
e
|
|
11371
11434
|
);
|
|
@@ -11428,7 +11491,7 @@ const Fn = {}, On = process.env.NODE_ENV === "development", He = class He extend
|
|
|
11428
11491
|
this.enabled = !1;
|
|
11429
11492
|
}
|
|
11430
11493
|
};
|
|
11431
|
-
He.moduleName = "mutator", He.mutators =
|
|
11494
|
+
He.moduleName = "mutator", He.mutators = Ln;
|
|
11432
11495
|
let jt = He;
|
|
11433
11496
|
const Di = class Di extends R {
|
|
11434
11497
|
constructor(e) {
|
|
@@ -11719,7 +11782,7 @@ const Di = class Di extends R {
|
|
|
11719
11782
|
};
|
|
11720
11783
|
Di.moduleName = "page";
|
|
11721
11784
|
let $t = Di;
|
|
11722
|
-
const ss = process.env.NODE_ENV === "development",
|
|
11785
|
+
const ss = process.env.NODE_ENV === "development", Fn = {
|
|
11723
11786
|
cookie: function(l, e) {
|
|
11724
11787
|
let t = document.cookie;
|
|
11725
11788
|
const i = l + "-" + e, s = t.indexOf(i + "=");
|
|
@@ -11747,7 +11810,7 @@ const ss = process.env.NODE_ENV === "development", Hn = {
|
|
|
11747
11810
|
return ss && console.error("Failed to parse localStorage data:", i), !1;
|
|
11748
11811
|
}
|
|
11749
11812
|
}
|
|
11750
|
-
},
|
|
11813
|
+
}, On = {
|
|
11751
11814
|
cookie: function(l, e, t) {
|
|
11752
11815
|
const i = /* @__PURE__ */ new Date();
|
|
11753
11816
|
i.setDate(i.getDate() + 1e4), document.cookie = l + "-" + e + "=" + encodeURIComponent(JSON.stringify(t)) + "; expires=" + i.toUTCString();
|
|
@@ -11755,7 +11818,7 @@ const ss = process.env.NODE_ENV === "development", Hn = {
|
|
|
11755
11818
|
local: function(l, e, t) {
|
|
11756
11819
|
localStorage.setItem(l + "-" + e, JSON.stringify(t));
|
|
11757
11820
|
}
|
|
11758
|
-
},
|
|
11821
|
+
}, Ze = process.env.NODE_ENV === "development", j = class j extends R {
|
|
11759
11822
|
constructor(e) {
|
|
11760
11823
|
super(e), this.mode = "", this.id = "", this.defWatcherBlock = !1, this.config = {}, this.readFunc = !1, this.writeFunc = !1, this.registerTableOption("persistence", !1), this.registerTableOption("persistenceID", ""), this.registerTableOption("persistenceMode", !0), this.registerTableOption("persistenceReaderFunc", !1), this.registerTableOption("persistenceWriterFunc", !1);
|
|
11761
11824
|
}
|
|
@@ -11778,23 +11841,23 @@ const ss = process.env.NODE_ENV === "development", Hn = {
|
|
|
11778
11841
|
this.readFunc = this.table.options.persistenceReaderFunc;
|
|
11779
11842
|
else {
|
|
11780
11843
|
const s = this.table.options.persistenceReaderFunc;
|
|
11781
|
-
s in j.readers ? this.readFunc = j.readers[s] :
|
|
11844
|
+
s in j.readers ? this.readFunc = j.readers[s] : Ze && console.warn(
|
|
11782
11845
|
"Persistence Read Error - invalid reader set",
|
|
11783
11846
|
this.table.options.persistenceReaderFunc
|
|
11784
11847
|
);
|
|
11785
11848
|
}
|
|
11786
|
-
else this.mode in j.readers ? this.readFunc = j.readers[this.mode] :
|
|
11849
|
+
else this.mode in j.readers ? this.readFunc = j.readers[this.mode] : Ze && console.warn("Persistence Read Error - invalid reader set", this.mode);
|
|
11787
11850
|
if (this.table.options.persistenceWriterFunc)
|
|
11788
11851
|
if (typeof this.table.options.persistenceWriterFunc == "function")
|
|
11789
11852
|
this.writeFunc = this.table.options.persistenceWriterFunc;
|
|
11790
11853
|
else {
|
|
11791
11854
|
const s = this.table.options.persistenceWriterFunc;
|
|
11792
|
-
s in j.writers ? this.writeFunc = j.writers[s] :
|
|
11855
|
+
s in j.writers ? this.writeFunc = j.writers[s] : Ze && console.warn(
|
|
11793
11856
|
"Persistence Write Error - invalid reader set",
|
|
11794
11857
|
this.table.options.persistenceWriterFunc
|
|
11795
11858
|
);
|
|
11796
11859
|
}
|
|
11797
|
-
else this.mode in j.writers ? this.writeFunc = j.writers[this.mode] :
|
|
11860
|
+
else this.mode in j.writers ? this.writeFunc = j.writers[this.mode] : Ze && console.warn("Persistence Write Error - invalid writer set", this.mode);
|
|
11798
11861
|
this.id = "tabulator-" + (t || this.table.element.getAttribute("id") || ""), this.config = {
|
|
11799
11862
|
columns: this.table.options.persistence === !0 ? ["title", "width", "visible"] : this.table.options.persistence.columns,
|
|
11800
11863
|
filter: this.table.options.persistence === !0 || this.table.options.persistence.filter,
|
|
@@ -11962,7 +12025,7 @@ const ss = process.env.NODE_ENV === "development", Hn = {
|
|
|
11962
12025
|
}), t;
|
|
11963
12026
|
}
|
|
11964
12027
|
};
|
|
11965
|
-
j.moduleName = "persistence", j.moduleInitOrder = -10, j.readers =
|
|
12028
|
+
j.moduleName = "persistence", j.moduleInitOrder = -10, j.readers = Fn, j.writers = On;
|
|
11966
12029
|
let Ut = j;
|
|
11967
12030
|
const Li = class Li extends R {
|
|
11968
12031
|
constructor(e) {
|
|
@@ -12610,7 +12673,7 @@ const Pi = class Pi extends R {
|
|
|
12610
12673
|
};
|
|
12611
12674
|
Pi.moduleName = "resizeTable";
|
|
12612
12675
|
let Qt = Pi;
|
|
12613
|
-
function
|
|
12676
|
+
function Hn(l) {
|
|
12614
12677
|
const e = document.createElement("div"), t = l.getRow()._row.modules.responsiveLayout;
|
|
12615
12678
|
e.classList.add("tabulator-responsive-collapse-toggle"), e.innerHTML = `<svg class='tabulator-responsive-collapse-toggle-open' viewBox="0 0 24 24">
|
|
12616
12679
|
<line x1="7" y1="12" x2="17" y2="12" fill="none" stroke-width="3" stroke-linecap="round" />
|
|
@@ -12628,13 +12691,13 @@ function An(l) {
|
|
|
12628
12691
|
s.stopImmediatePropagation(), i(!t.open), l.getTable()?.rowManager?.adjustTableSize();
|
|
12629
12692
|
}), i(t.open), e;
|
|
12630
12693
|
}
|
|
12631
|
-
const
|
|
12694
|
+
const Pn = {
|
|
12632
12695
|
format: {
|
|
12633
12696
|
formatters: {
|
|
12634
|
-
responsiveCollapse:
|
|
12697
|
+
responsiveCollapse: Hn
|
|
12635
12698
|
}
|
|
12636
12699
|
}
|
|
12637
|
-
},
|
|
12700
|
+
}, it = class it extends R {
|
|
12638
12701
|
constructor(e) {
|
|
12639
12702
|
super(e), this.columns = [], this.hiddenColumns = [], this.mode = "", this.index = 0, this.collapseFormatter = !1, this.collapseStartOpen = !0, this.collapseHandleColumn = !1, this.registerTableOption("responsiveLayout", !1), this.registerTableOption("responsiveLayoutCollapseStartOpen", !0), this.registerTableOption("responsiveLayoutCollapseUseFormatters", !0), this.registerTableOption("responsiveLayoutCollapseFormatter", !1), this.registerColumnOption("responsive");
|
|
12640
12703
|
}
|
|
@@ -12793,11 +12856,11 @@ const _n = {
|
|
|
12793
12856
|
}), Object.keys(e).length ? t : "";
|
|
12794
12857
|
}
|
|
12795
12858
|
};
|
|
12796
|
-
|
|
12797
|
-
let Zt =
|
|
12798
|
-
const
|
|
12799
|
-
function
|
|
12800
|
-
const t = L(
|
|
12859
|
+
it.moduleName = "responsiveLayout", it.moduleExtensions = Pn;
|
|
12860
|
+
let Zt = it;
|
|
12861
|
+
const An = x`<cx-checkbox></cx-checkbox>`;
|
|
12862
|
+
function _n(l, e) {
|
|
12863
|
+
const t = L(An);
|
|
12801
12864
|
let i = t, s = !1;
|
|
12802
12865
|
t.setAttribute("aria-label", "Select Row"), t.size = "small";
|
|
12803
12866
|
const o = this.table;
|
|
@@ -12817,13 +12880,13 @@ function Vn(l, e) {
|
|
|
12817
12880
|
}), o.modules.selectRow?.registerHeaderSelectCheckbox(t);
|
|
12818
12881
|
return i;
|
|
12819
12882
|
}
|
|
12820
|
-
const
|
|
12883
|
+
const Nn = {
|
|
12821
12884
|
format: {
|
|
12822
12885
|
formatters: {
|
|
12823
|
-
rowSelection:
|
|
12886
|
+
rowSelection: _n
|
|
12824
12887
|
}
|
|
12825
12888
|
}
|
|
12826
|
-
}, rs = process.env.NODE_ENV === "development",
|
|
12889
|
+
}, rs = process.env.NODE_ENV === "development", st = class st extends R {
|
|
12827
12890
|
// hold header select element (cx-checkbox)
|
|
12828
12891
|
constructor(e) {
|
|
12829
12892
|
super(e), this.selecting = !1, this.lastClickedRow = !1, this.selectPrev = [], this.selectedRows = [], this.headerCheckboxElement = null, this.registerTableOption("selectableRows", "highlight"), this.registerTableOption("selectableRowsRangeMode", "drag"), this.registerTableOption("selectableRowsRollingSelection", !0), this.registerTableOption("selectableRowsPersistence", !0), this.registerTableOption(
|
|
@@ -13046,9 +13109,9 @@ const Bn = {
|
|
|
13046
13109
|
this._deselectRow(s, !0);
|
|
13047
13110
|
}
|
|
13048
13111
|
};
|
|
13049
|
-
|
|
13050
|
-
let ei =
|
|
13051
|
-
const
|
|
13112
|
+
st.moduleName = "selectRow", st.moduleExtensions = Nn;
|
|
13113
|
+
let ei = st;
|
|
13114
|
+
const Vn = {
|
|
13052
13115
|
range: function(l) {
|
|
13053
13116
|
if (!l || l.length === 0)
|
|
13054
13117
|
return [];
|
|
@@ -13068,7 +13131,7 @@ const In = {
|
|
|
13068
13131
|
}
|
|
13069
13132
|
return e;
|
|
13070
13133
|
}
|
|
13071
|
-
},
|
|
13134
|
+
}, Bn = {
|
|
13072
13135
|
range: function(l) {
|
|
13073
13136
|
const e = [], t = [], i = this.table.modules.selectRange.activeRange;
|
|
13074
13137
|
let s = !1, o, r, n, a, h;
|
|
@@ -13090,16 +13153,16 @@ const In = {
|
|
|
13090
13153
|
}
|
|
13091
13154
|
return !1;
|
|
13092
13155
|
}
|
|
13093
|
-
},
|
|
13156
|
+
}, In = {
|
|
13094
13157
|
range: function() {
|
|
13095
13158
|
const l = this.modules.selectRange.selectedColumns();
|
|
13096
13159
|
return this.columnManager?.rowHeader && l.unshift(this.columnManager.rowHeader), l;
|
|
13097
13160
|
}
|
|
13098
|
-
},
|
|
13161
|
+
}, Wn = process.env.NODE_ENV === "development", Gn = {
|
|
13099
13162
|
range: function() {
|
|
13100
|
-
return this.modules?.selectRange ? this.modules.selectRange.selectedRows() : (
|
|
13163
|
+
return this.modules?.selectRange ? this.modules.selectRange.selectedRows() : (Wn && console.warn("SelectRange module not loaded"), []);
|
|
13101
13164
|
}
|
|
13102
|
-
},
|
|
13165
|
+
}, jn = {
|
|
13103
13166
|
rangeExpandDown: function(l) {
|
|
13104
13167
|
this.dispatch("keybinding-nav-range", l, "down", !1, !0);
|
|
13105
13168
|
},
|
|
@@ -13136,7 +13199,7 @@ const In = {
|
|
|
13136
13199
|
rangeJumpUp: function(l) {
|
|
13137
13200
|
this.dispatch("keybinding-nav-range", l, "up", !0, !1);
|
|
13138
13201
|
}
|
|
13139
|
-
},
|
|
13202
|
+
}, $n = {
|
|
13140
13203
|
rangeExpandDown: "shift + 40",
|
|
13141
13204
|
rangeExpandJumpDown: ["ctrl + shift + 40", "meta + shift + 40"],
|
|
13142
13205
|
rangeExpandJumpLeft: ["ctrl + shift + 37", "meta + shift + 37"],
|
|
@@ -13149,21 +13212,21 @@ const In = {
|
|
|
13149
13212
|
rangeJumpLeft: ["ctrl + 37", "meta + 37"],
|
|
13150
13213
|
rangeJumpRight: ["ctrl + 39", "meta + 39"],
|
|
13151
13214
|
rangeJumpUp: ["ctrl + 38", "meta + 38"]
|
|
13152
|
-
},
|
|
13215
|
+
}, Un = {
|
|
13153
13216
|
clipboard: {
|
|
13154
|
-
pasteActions:
|
|
13155
|
-
pasteParsers:
|
|
13217
|
+
pasteActions: Vn,
|
|
13218
|
+
pasteParsers: Bn
|
|
13156
13219
|
},
|
|
13157
13220
|
export: {
|
|
13158
|
-
columnLookups:
|
|
13159
|
-
rowLookups:
|
|
13221
|
+
columnLookups: In,
|
|
13222
|
+
rowLookups: Gn
|
|
13160
13223
|
},
|
|
13161
13224
|
keybindings: {
|
|
13162
|
-
actions:
|
|
13163
|
-
bindings:
|
|
13225
|
+
actions: jn,
|
|
13226
|
+
bindings: $n
|
|
13164
13227
|
}
|
|
13165
13228
|
};
|
|
13166
|
-
class
|
|
13229
|
+
class Xn {
|
|
13167
13230
|
constructor(e) {
|
|
13168
13231
|
return this._range = e, new Proxy(this, {
|
|
13169
13232
|
get: function(t, i) {
|
|
@@ -13228,7 +13291,7 @@ class Jn {
|
|
|
13228
13291
|
}
|
|
13229
13292
|
}
|
|
13230
13293
|
const ns = process.env.NODE_ENV === "development";
|
|
13231
|
-
class
|
|
13294
|
+
class Kn extends N {
|
|
13232
13295
|
constructor(e, t, i, s) {
|
|
13233
13296
|
super(e), this.rangeManager = t, this.element = null, this.initialized = !1, this.initializing = {
|
|
13234
13297
|
end: !1,
|
|
@@ -13354,7 +13417,7 @@ class qn extends N {
|
|
|
13354
13417
|
return t.length ? (i.start = t[0], i.end = t.at(-1)) : ns && console.warn("No bounds defined on range"), i;
|
|
13355
13418
|
}
|
|
13356
13419
|
getComponent() {
|
|
13357
|
-
return this.component ??= new
|
|
13420
|
+
return this.component ??= new Xn(this), this.component;
|
|
13358
13421
|
}
|
|
13359
13422
|
destroy(e) {
|
|
13360
13423
|
this.destroyed = !0, this.element && this.element.remove(), e && this.rangeManager.rangeRemoved(this), this.initialized && this.dispatchExternal("rangeRemoved", this.getComponent());
|
|
@@ -13825,7 +13888,7 @@ const ye = process.env.NODE_ENV === "development", $e = class $e extends R {
|
|
|
13825
13888
|
const s = this.ranges.shift();
|
|
13826
13889
|
s && s.destroy(!1);
|
|
13827
13890
|
}
|
|
13828
|
-
const i = new
|
|
13891
|
+
const i = new Kn(this.table, this, e, t);
|
|
13829
13892
|
return this.activeRange = i, this.ranges.push(i), this.rangeContainer && i.element && this.rangeContainer.appendChild(i.element), i;
|
|
13830
13893
|
}
|
|
13831
13894
|
resetRanges() {
|
|
@@ -13858,9 +13921,9 @@ const ye = process.env.NODE_ENV === "development", $e = class $e extends R {
|
|
|
13858
13921
|
return e == null || e === "";
|
|
13859
13922
|
}
|
|
13860
13923
|
};
|
|
13861
|
-
$e.moduleName = "selectRange", $e.moduleInitOrder = 1, $e.moduleExtensions =
|
|
13924
|
+
$e.moduleName = "selectRange", $e.moduleInitOrder = 1, $e.moduleExtensions = Un;
|
|
13862
13925
|
let ti = $e;
|
|
13863
|
-
function
|
|
13926
|
+
function Jn(l, e, t, i, s, o, r) {
|
|
13864
13927
|
const n = r.alignEmptyValues;
|
|
13865
13928
|
let a = 0;
|
|
13866
13929
|
if (!l && l !== 0)
|
|
@@ -13898,7 +13961,7 @@ function Yn(l, e, t, i, s, o, r) {
|
|
|
13898
13961
|
}
|
|
13899
13962
|
return (n === "top" && o === "desc" || n === "bottom" && o === "asc") && (a *= -1), a;
|
|
13900
13963
|
}
|
|
13901
|
-
function
|
|
13964
|
+
function qn(l, e, t, i, s, o, r) {
|
|
13902
13965
|
const n = r.type || "length", a = r.alignEmptyValues;
|
|
13903
13966
|
let h = 0;
|
|
13904
13967
|
const c = this.table;
|
|
@@ -13946,10 +14009,10 @@ function Qn(l, e, t, i, s, o, r) {
|
|
|
13946
14009
|
return n === "string" ? String(p(l)).toLowerCase().localeCompare(String(p(e)).toLowerCase()) : p(e) - p(l);
|
|
13947
14010
|
return (a === "top" && o === "desc" || a === "bottom" && o === "asc") && (h *= -1), h;
|
|
13948
14011
|
}
|
|
13949
|
-
function
|
|
14012
|
+
function Yn(l, e, t, i, s, o, r) {
|
|
13950
14013
|
return (l === !0 || l === "true" || l === "True" || l === 1 ? 1 : 0) - (e === !0 || e === "true" || e === "True" || e === 1 ? 1 : 0);
|
|
13951
14014
|
}
|
|
13952
|
-
const
|
|
14015
|
+
const Qn = process.env.NODE_ENV === "development";
|
|
13953
14016
|
function vi(l, e, t, i, s, o, r) {
|
|
13954
14017
|
const { alignEmptyValues: n, format: a = "dd/MM/yyyy HH:mm:ss" } = r || {}, h = this.table.dependencyRegistry.lookup(
|
|
13955
14018
|
["luxon", "DateTime"],
|
|
@@ -13967,17 +14030,17 @@ function vi(l, e, t, i, s, o, r) {
|
|
|
13967
14030
|
}
|
|
13968
14031
|
return (n === "top" && o === "desc" || n === "bottom" && o === "asc") && (c *= -1), c;
|
|
13969
14032
|
} else
|
|
13970
|
-
return
|
|
14033
|
+
return Qn && console.error("Sort Error - 'datetime' sorter is dependent on luxon.js"), 0;
|
|
13971
14034
|
}
|
|
13972
|
-
function
|
|
14035
|
+
function Zn(l, e, t, i, s, o, r) {
|
|
13973
14036
|
const n = r ?? {};
|
|
13974
14037
|
return n.format || (n.format = "dd/MM/yyyy"), vi.call(this, l, e, t, i, s, o, n);
|
|
13975
14038
|
}
|
|
13976
|
-
function
|
|
14039
|
+
function el(l, e, t, i, s, o, r) {
|
|
13977
14040
|
const n = (c) => c === null || typeof c > "u" || c === "", a = n(l) ? 0 : 1, h = n(e) ? 0 : 1;
|
|
13978
14041
|
return a - h;
|
|
13979
14042
|
}
|
|
13980
|
-
function
|
|
14043
|
+
function tl(l, e, t, i, s, o, r) {
|
|
13981
14044
|
const n = r ?? {}, a = n.alignEmptyValues, h = n.decimalSeparator, c = n.thousandSeparator;
|
|
13982
14045
|
let d = 0, p = String(l), u = String(e);
|
|
13983
14046
|
c && (p = p.split(c).join(""), u = u.split(c).join("")), h && (p = p.split(h).join("."), u = u.split(h).join("."));
|
|
@@ -13990,7 +14053,7 @@ function sl(l, e, t, i, s, o, r) {
|
|
|
13990
14053
|
return f - m;
|
|
13991
14054
|
return (a === "top" && o === "desc" || a === "bottom" && o === "asc") && (d *= -1), d;
|
|
13992
14055
|
}
|
|
13993
|
-
function
|
|
14056
|
+
function il(l, e, t, i, s, o, r = {}) {
|
|
13994
14057
|
const n = r.alignEmptyValues;
|
|
13995
14058
|
let a = 0, h;
|
|
13996
14059
|
const c = (d) => d == null || d === "";
|
|
@@ -14011,21 +14074,21 @@ function ol(l, e, t, i, s, o, r = {}) {
|
|
|
14011
14074
|
}
|
|
14012
14075
|
return (n === "top" && o === "desc" || n === "bottom" && o === "asc") && (a *= -1), a;
|
|
14013
14076
|
}
|
|
14014
|
-
function
|
|
14077
|
+
function sl(l, e, t, i, s, o, r) {
|
|
14015
14078
|
const n = r ?? {}, a = n.format ? n : { ...n, format: "HH:mm" };
|
|
14016
14079
|
return vi.call(this, l, e, t, i, s, o, a);
|
|
14017
14080
|
}
|
|
14018
|
-
const
|
|
14019
|
-
alphanum:
|
|
14020
|
-
array:
|
|
14021
|
-
boolean:
|
|
14022
|
-
date:
|
|
14081
|
+
const ol = {
|
|
14082
|
+
alphanum: Jn,
|
|
14083
|
+
array: qn,
|
|
14084
|
+
boolean: Yn,
|
|
14085
|
+
date: Zn,
|
|
14023
14086
|
datetime: vi,
|
|
14024
|
-
exists:
|
|
14025
|
-
number:
|
|
14026
|
-
string:
|
|
14027
|
-
time:
|
|
14028
|
-
}, ls = process.env.NODE_ENV === "development",
|
|
14087
|
+
exists: el,
|
|
14088
|
+
number: tl,
|
|
14089
|
+
string: il,
|
|
14090
|
+
time: sl
|
|
14091
|
+
}, ls = process.env.NODE_ENV === "development", rl = {
|
|
14029
14092
|
asc: "ascending",
|
|
14030
14093
|
desc: "descending",
|
|
14031
14094
|
none: "none"
|
|
@@ -14221,7 +14284,7 @@ const nl = {
|
|
|
14221
14284
|
}
|
|
14222
14285
|
// set the column header sort direction
|
|
14223
14286
|
setColumnHeader(e, t) {
|
|
14224
|
-
e.modules.sort.dir = t, e.getElement().setAttribute("aria-sort",
|
|
14287
|
+
e.modules.sort.dir = t, e.getElement().setAttribute("aria-sort", rl[t]), this.setColumnHeaderSortIcon(e, t);
|
|
14225
14288
|
}
|
|
14226
14289
|
setColumnHeaderSortIcon(e, t) {
|
|
14227
14290
|
const i = e.modules.sort.element;
|
|
@@ -14277,9 +14340,9 @@ const nl = {
|
|
|
14277
14340
|
return 0;
|
|
14278
14341
|
}
|
|
14279
14342
|
};
|
|
14280
|
-
Re.moduleName = "sort", Re.sorters =
|
|
14343
|
+
Re.moduleName = "sort", Re.sorters = ol;
|
|
14281
14344
|
let ii = Re;
|
|
14282
|
-
class
|
|
14345
|
+
class nl {
|
|
14283
14346
|
constructor(e, t) {
|
|
14284
14347
|
this.columnCount = e, this.rowCount = t, this.columnString = [], this.columns = [], this.rows = [];
|
|
14285
14348
|
}
|
|
@@ -14317,7 +14380,7 @@ class al {
|
|
|
14317
14380
|
this.columnCount = e;
|
|
14318
14381
|
}
|
|
14319
14382
|
}
|
|
14320
|
-
class
|
|
14383
|
+
class ys {
|
|
14321
14384
|
constructor(e) {
|
|
14322
14385
|
return this._sheet = e, new Proxy(this, {
|
|
14323
14386
|
get: function(t, i) {
|
|
@@ -14368,7 +14431,7 @@ class Cs {
|
|
|
14368
14431
|
}
|
|
14369
14432
|
class as extends N {
|
|
14370
14433
|
constructor(e, t) {
|
|
14371
|
-
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
|
|
14434
|
+
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 nl(this.columnCount, this.rowCount), this.defaultColumnDefinition = {
|
|
14372
14435
|
headerHozAlign: "center",
|
|
14373
14436
|
headerSort: !1,
|
|
14374
14437
|
title: "",
|
|
@@ -14423,7 +14486,7 @@ class as extends N {
|
|
|
14423
14486
|
}
|
|
14424
14487
|
// #region Helper Functions
|
|
14425
14488
|
getComponent() {
|
|
14426
|
-
return new
|
|
14489
|
+
return new ys(this);
|
|
14427
14490
|
}
|
|
14428
14491
|
getDefinition() {
|
|
14429
14492
|
return {
|
|
@@ -14569,7 +14632,7 @@ Data: `,
|
|
|
14569
14632
|
this.sheets.length > 1 ? t > -1 && (this.sheets.splice(t, 1), e.destroy(), this.activeSheet === e && (i = this.sheets[t - 1] || this.sheets[0], i ? this.loadSheet(i) : this.activeSheet = null)) : de && console.warn("Unable to remove sheet, at least one sheet must be active");
|
|
14570
14633
|
}
|
|
14571
14634
|
lookupSheet(e) {
|
|
14572
|
-
return e ? e instanceof as ? e : e instanceof
|
|
14635
|
+
return e ? e instanceof as ? e : e instanceof ys ? e._sheet : this.sheets.find((t) => t.key === e) ?? null : this.activeSheet;
|
|
14573
14636
|
}
|
|
14574
14637
|
/**
|
|
14575
14638
|
* Public Functions
|
|
@@ -14666,7 +14729,7 @@ const _i = class _i extends R {
|
|
|
14666
14729
|
function n(a) {
|
|
14667
14730
|
o = a;
|
|
14668
14731
|
}
|
|
14669
|
-
typeof i == "function" && (i = i(e, t.getComponent(), n)), i instanceof HTMLElement ? s = i : (s = document.createElement("div"), i === !0 && (t instanceof
|
|
14732
|
+
typeof i == "function" && (i = i(e, t.getComponent(), n)), i instanceof HTMLElement ? s = i : (s = document.createElement("div"), i === !0 && (t instanceof qe ? i = t.value : t.definition.field ? this.langBind(
|
|
14670
14733
|
"columns|" + t.definition.field,
|
|
14671
14734
|
(a) => {
|
|
14672
14735
|
s.innerHTML = i = S(
|
|
@@ -14683,7 +14746,7 @@ const _i = class _i extends R {
|
|
|
14683
14746
|
};
|
|
14684
14747
|
_i.moduleName = "tooltip";
|
|
14685
14748
|
let oi = _i;
|
|
14686
|
-
const
|
|
14749
|
+
const ll = {
|
|
14687
14750
|
// must be alphanumeric
|
|
14688
14751
|
alphanumeric: function(l, e, t) {
|
|
14689
14752
|
return e === "" || e === null || typeof e > "u" ? !0 : new RegExp(/^[a-z0-9]+$/i).test(e);
|
|
@@ -14763,7 +14826,7 @@ const hl = {
|
|
|
14763
14826
|
n !== s && e === o.getFieldValue(n) && (i = !1);
|
|
14764
14827
|
}), i;
|
|
14765
14828
|
}
|
|
14766
|
-
},
|
|
14829
|
+
}, al = process.env.NODE_ENV === "development", Ue = class Ue extends R {
|
|
14767
14830
|
constructor(e) {
|
|
14768
14831
|
super(e), this.invalidCells = [], this.registerTableOption("validationMode", "blocking"), this.registerColumnOption("validator"), this.registerTableFunction(
|
|
14769
14832
|
"getInvalidCells",
|
|
@@ -14894,7 +14957,7 @@ const hl = {
|
|
|
14894
14957
|
func: i,
|
|
14895
14958
|
params: t,
|
|
14896
14959
|
type: typeof e == "function" ? "function" : e
|
|
14897
|
-
} : (
|
|
14960
|
+
} : (al && console.warn(
|
|
14898
14961
|
"Validator Setup Error - No matching validator found:",
|
|
14899
14962
|
e
|
|
14900
14963
|
), !1);
|
|
@@ -14934,7 +14997,7 @@ const hl = {
|
|
|
14934
14997
|
}
|
|
14935
14998
|
}
|
|
14936
14999
|
};
|
|
14937
|
-
Ue.moduleName = "validate", Ue.validators =
|
|
15000
|
+
Ue.moduleName = "validate", Ue.validators = ll;
|
|
14938
15001
|
let ri = Ue;
|
|
14939
15002
|
const mt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
14940
15003
|
__proto__: null,
|
|
@@ -14976,7 +15039,7 @@ const mt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
14976
15039
|
SpreadsheetModule: si,
|
|
14977
15040
|
TooltipModule: oi,
|
|
14978
15041
|
ValidateModule: ri
|
|
14979
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
15042
|
+
}, Symbol.toStringTag, { value: "Module" })), hl = process.env.NODE_ENV === "development";
|
|
14980
15043
|
class ut extends N {
|
|
14981
15044
|
// 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)
|
|
14982
15045
|
constructor(e) {
|
|
@@ -15078,11 +15141,11 @@ class ut extends N {
|
|
|
15078
15141
|
}
|
|
15079
15142
|
s();
|
|
15080
15143
|
} else
|
|
15081
|
-
|
|
15144
|
+
hl && console.warn("Scroll Error - Row not visible"), o("Scroll Error - Row not visible");
|
|
15082
15145
|
});
|
|
15083
15146
|
}
|
|
15084
15147
|
}
|
|
15085
|
-
class
|
|
15148
|
+
class cl extends ut {
|
|
15086
15149
|
constructor(e) {
|
|
15087
15150
|
super(e);
|
|
15088
15151
|
}
|
|
@@ -15104,7 +15167,7 @@ class ul extends ut {
|
|
|
15104
15167
|
}
|
|
15105
15168
|
}
|
|
15106
15169
|
const bt = process.env.NODE_ENV === "development";
|
|
15107
|
-
class
|
|
15170
|
+
class dl extends ut {
|
|
15108
15171
|
constructor(e) {
|
|
15109
15172
|
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 = [];
|
|
15110
15173
|
}
|
|
@@ -15403,8 +15466,8 @@ class pl extends ut {
|
|
|
15403
15466
|
}
|
|
15404
15467
|
}
|
|
15405
15468
|
}
|
|
15406
|
-
const
|
|
15407
|
-
class
|
|
15469
|
+
const ul = process.env.NODE_ENV === "development";
|
|
15470
|
+
class Cs {
|
|
15408
15471
|
constructor(e, t, i = {}) {
|
|
15409
15472
|
this.registeredDefaults = {}, this.table = e, this.msgType = t, this.registeredDefaults = { ...i };
|
|
15410
15473
|
}
|
|
@@ -15415,19 +15478,19 @@ class Es {
|
|
|
15415
15478
|
const i = { ...this.registeredDefaults }, s = this.table.options.debugInvalidOptions || t.debugInvalidOptions === !0;
|
|
15416
15479
|
Object.assign(i, e);
|
|
15417
15480
|
for (const o in t)
|
|
15418
|
-
Object.hasOwn(t, o) && (Object.hasOwn(i, o) || (
|
|
15481
|
+
Object.hasOwn(t, o) && (Object.hasOwn(i, o) || (ul && s && console.warn("Invalid " + this.msgType + " option:", o), i[o] = t[o]));
|
|
15419
15482
|
for (const o in i)
|
|
15420
15483
|
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]);
|
|
15421
15484
|
return i;
|
|
15422
15485
|
}
|
|
15423
15486
|
}
|
|
15424
15487
|
const hs = process.env.NODE_ENV === "development";
|
|
15425
|
-
class
|
|
15488
|
+
class pl extends N {
|
|
15426
15489
|
constructor(e) {
|
|
15427
|
-
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
|
|
15490
|
+
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 Cs(
|
|
15428
15491
|
this.table,
|
|
15429
15492
|
"column definition",
|
|
15430
|
-
|
|
15493
|
+
vs
|
|
15431
15494
|
), this.redrawBlock = !1, this.redrawBlockUpdate = null, this.renderer = null;
|
|
15432
15495
|
}
|
|
15433
15496
|
// //////////// Setup Functions /////////////////
|
|
@@ -15450,8 +15513,8 @@ class gl extends N {
|
|
|
15450
15513
|
initializeRenderer() {
|
|
15451
15514
|
let e;
|
|
15452
15515
|
const t = {
|
|
15453
|
-
basic:
|
|
15454
|
-
virtual:
|
|
15516
|
+
basic: cl,
|
|
15517
|
+
virtual: dl
|
|
15455
15518
|
};
|
|
15456
15519
|
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()) : hs && console.error(
|
|
15457
15520
|
"Unable to find matching renderer:",
|
|
@@ -15801,7 +15864,7 @@ class gl extends N {
|
|
|
15801
15864
|
this.element && k.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();
|
|
15802
15865
|
}
|
|
15803
15866
|
}
|
|
15804
|
-
const
|
|
15867
|
+
const fl = {
|
|
15805
15868
|
debugEventsExternal: !1,
|
|
15806
15869
|
// flag to console log events
|
|
15807
15870
|
debugEventsInternal: !1,
|
|
@@ -15861,7 +15924,7 @@ const ml = {
|
|
|
15861
15924
|
dataReceiveParams: {}
|
|
15862
15925
|
// dependencies: {},
|
|
15863
15926
|
};
|
|
15864
|
-
class
|
|
15927
|
+
class gl extends N {
|
|
15865
15928
|
constructor(e) {
|
|
15866
15929
|
super(e), this.active = !1, this.element = this.createElement(), this.containerElement = this.createContainerElement(), this.external = !1;
|
|
15867
15930
|
}
|
|
@@ -15919,7 +15982,7 @@ class bl extends N {
|
|
|
15919
15982
|
this.dispatch("footer-redraw");
|
|
15920
15983
|
}
|
|
15921
15984
|
}
|
|
15922
|
-
class
|
|
15985
|
+
class ml extends ut {
|
|
15923
15986
|
constructor(e) {
|
|
15924
15987
|
super(e), this.scrollTop = 0, this.scrollLeft = 0, this.verticalFillMode = "fill";
|
|
15925
15988
|
}
|
|
@@ -15968,7 +16031,7 @@ class wl extends ut {
|
|
|
15968
16031
|
return this.rows();
|
|
15969
16032
|
}
|
|
15970
16033
|
}
|
|
15971
|
-
class
|
|
16034
|
+
class bl extends ut {
|
|
15972
16035
|
// total scroll height of virtual DOM
|
|
15973
16036
|
constructor(e) {
|
|
15974
16037
|
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";
|
|
@@ -16213,8 +16276,8 @@ class vl extends ut {
|
|
|
16213
16276
|
t.setCellHeight();
|
|
16214
16277
|
}
|
|
16215
16278
|
}
|
|
16216
|
-
const Ce = process.env.NODE_ENV === "development",
|
|
16217
|
-
class
|
|
16279
|
+
const Ce = process.env.NODE_ENV === "development", wl = x`<div class="tabulator-tableholder-wrapper"></div>`;
|
|
16280
|
+
class vl extends N {
|
|
16218
16281
|
/**
|
|
16219
16282
|
* True when table has an explicit height (--table-height is set to a non-auto value (e.g. 100%, 500px));
|
|
16220
16283
|
* false when height is variable (--table-height is "auto" or unset).
|
|
@@ -16228,7 +16291,7 @@ class Cl extends N {
|
|
|
16228
16291
|
}
|
|
16229
16292
|
// ////////////// Setup Functions /////////////////
|
|
16230
16293
|
createWrapperElement() {
|
|
16231
|
-
return L(
|
|
16294
|
+
return L(wl);
|
|
16232
16295
|
}
|
|
16233
16296
|
createHolderElement() {
|
|
16234
16297
|
const e = document.createElement("div");
|
|
@@ -16659,8 +16722,8 @@ Data: `,
|
|
|
16659
16722
|
initializeRenderer() {
|
|
16660
16723
|
let e;
|
|
16661
16724
|
const t = {
|
|
16662
|
-
basic:
|
|
16663
|
-
virtual:
|
|
16725
|
+
basic: ml,
|
|
16726
|
+
virtual: bl
|
|
16664
16727
|
};
|
|
16665
16728
|
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()) : Ce && console.error(
|
|
16666
16729
|
"Unable to find matching renderer:",
|
|
@@ -16777,7 +16840,7 @@ Data: `,
|
|
|
16777
16840
|
this.element.dispatchEvent(new Event("scroll"));
|
|
16778
16841
|
}
|
|
16779
16842
|
}
|
|
16780
|
-
class
|
|
16843
|
+
class yl extends N {
|
|
16781
16844
|
constructor(e) {
|
|
16782
16845
|
super(e), this.type = null, this.element = this._createAlertElement(), this.msgElement = this._createMsgElement(), this.element.appendChild(this.msgElement);
|
|
16783
16846
|
}
|
|
@@ -16806,7 +16869,7 @@ class El extends N {
|
|
|
16806
16869
|
}
|
|
16807
16870
|
}
|
|
16808
16871
|
const cs = process.env.NODE_ENV === "development";
|
|
16809
|
-
class
|
|
16872
|
+
class Cl {
|
|
16810
16873
|
constructor(e) {
|
|
16811
16874
|
this.bindings = {}, this.table = e;
|
|
16812
16875
|
}
|
|
@@ -16828,7 +16891,7 @@ class xl {
|
|
|
16828
16891
|
}
|
|
16829
16892
|
}
|
|
16830
16893
|
}
|
|
16831
|
-
const
|
|
16894
|
+
const et = process.env.NODE_ENV === "development", ot = class ot extends N {
|
|
16832
16895
|
constructor(e) {
|
|
16833
16896
|
super(e), this.debounceTimer = null, this.pendingPromise = null, this.pendingResolve = null, this.pendingReject = null, this.requestOrder = 0, this.loading = !1;
|
|
16834
16897
|
}
|
|
@@ -16855,7 +16918,7 @@ const tt = process.env.NODE_ENV === "development", rt = class rt extends N {
|
|
|
16855
16918
|
this.debounceTimer = null;
|
|
16856
16919
|
const a = this.pendingResolve, h = this.pendingReject;
|
|
16857
16920
|
this.pendingPromise = null, this.pendingResolve = null, this.pendingReject = null, this._executeLoad(e, t, i, s, o, r).then(() => a?.()).catch((c) => h?.(c));
|
|
16858
|
-
},
|
|
16921
|
+
}, ot.DEBOUNCE_DELAY), n;
|
|
16859
16922
|
}
|
|
16860
16923
|
_executeLoad(e, t, i, s, o, r) {
|
|
16861
16924
|
const n = ++this.requestOrder;
|
|
@@ -16865,7 +16928,7 @@ const tt = process.env.NODE_ENV === "development", rt = class rt extends N {
|
|
|
16865
16928
|
try {
|
|
16866
16929
|
e = JSON.parse(e);
|
|
16867
16930
|
} catch (a) {
|
|
16868
|
-
throw
|
|
16931
|
+
throw et && console.error("Data Load Error: ", a), a;
|
|
16869
16932
|
}
|
|
16870
16933
|
return this.confirm("data-loading", [e, t, i, o]) ? (this.loading = !0, t = this.chain(
|
|
16871
16934
|
"data-params",
|
|
@@ -16879,7 +16942,7 @@ const tt = process.env.NODE_ENV === "development", rt = class rt extends N {
|
|
|
16879
16942
|
Promise.resolve([])
|
|
16880
16943
|
).then((h) => {
|
|
16881
16944
|
if (this.table.destroyed)
|
|
16882
|
-
|
|
16945
|
+
et && console.warn(
|
|
16883
16946
|
"Data Load Response Blocked - Table has been destroyed"
|
|
16884
16947
|
);
|
|
16885
16948
|
else {
|
|
@@ -16897,12 +16960,12 @@ const tt = process.env.NODE_ENV === "development", rt = class rt extends N {
|
|
|
16897
16960
|
c,
|
|
16898
16961
|
s,
|
|
16899
16962
|
r ?? !s
|
|
16900
|
-
))) :
|
|
16963
|
+
))) : et && console.warn(
|
|
16901
16964
|
"Data Load Response Blocked - An active data load request was blocked by an attempt to change table data while the request was being made"
|
|
16902
16965
|
);
|
|
16903
16966
|
}
|
|
16904
16967
|
}).catch((h) => {
|
|
16905
|
-
|
|
16968
|
+
et && console.error("Data Load Error: ", h), this.dispatchExternal("dataLoadError", h), o || this.alertError(), setTimeout(() => {
|
|
16906
16969
|
this.clearAlert();
|
|
16907
16970
|
}, this.table.options.dataLoaderErrorTimeout);
|
|
16908
16971
|
}).finally(() => {
|
|
@@ -16948,10 +17011,10 @@ const tt = process.env.NODE_ENV === "development", rt = class rt extends N {
|
|
|
16948
17011
|
this.table.alertManager?.clear();
|
|
16949
17012
|
}
|
|
16950
17013
|
};
|
|
16951
|
-
|
|
16952
|
-
let ni =
|
|
16953
|
-
const
|
|
16954
|
-
class
|
|
17014
|
+
ot.DEBOUNCE_DELAY = 500;
|
|
17015
|
+
let ni = ot;
|
|
17016
|
+
const El = process.env.NODE_ENV === "development";
|
|
17017
|
+
class xl extends N {
|
|
16955
17018
|
constructor(e) {
|
|
16956
17019
|
super(e), this.deps = {}, this.props = {};
|
|
16957
17020
|
}
|
|
@@ -16986,20 +17049,20 @@ class Sl extends N {
|
|
|
16986
17049
|
return this.deps[e] ? i = this.deps[e] : globalThis[e] ? (this.deps[e] = globalThis[e], i = this.deps[e]) : t || this.error(e), i;
|
|
16987
17050
|
}
|
|
16988
17051
|
error(e) {
|
|
16989
|
-
|
|
17052
|
+
El && console.error(
|
|
16990
17053
|
"Unable to find dependency",
|
|
16991
17054
|
e,
|
|
16992
17055
|
"Please check documentation and ensure you have imported the required library into your project"
|
|
16993
17056
|
);
|
|
16994
17057
|
}
|
|
16995
17058
|
}
|
|
16996
|
-
const
|
|
16997
|
-
class
|
|
17059
|
+
const Rl = process.env.NODE_ENV === "development";
|
|
17060
|
+
class Sl extends N {
|
|
16998
17061
|
constructor(e) {
|
|
16999
17062
|
super(e);
|
|
17000
17063
|
}
|
|
17001
17064
|
_warnUser(...e) {
|
|
17002
|
-
this.options("debugDeprecation") &&
|
|
17065
|
+
this.options("debugDeprecation") && Rl && console.warn(...e);
|
|
17003
17066
|
}
|
|
17004
17067
|
check(e, t, i) {
|
|
17005
17068
|
if (this.options(e) === void 0 || this.options(e) === null)
|
|
@@ -17032,7 +17095,7 @@ class Ml extends N {
|
|
|
17032
17095
|
}
|
|
17033
17096
|
}
|
|
17034
17097
|
const wt = process.env.NODE_ENV === "development";
|
|
17035
|
-
class
|
|
17098
|
+
class Tl {
|
|
17036
17099
|
constructor(e, t, i) {
|
|
17037
17100
|
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;
|
|
17038
17101
|
}
|
|
@@ -17085,8 +17148,8 @@ class kl {
|
|
|
17085
17148
|
return wt && (this.debug === !0 || Array.isArray(this.debug) && this.debug.includes(e)) && console.log(i, ...t), this._dispatch(e, ...t);
|
|
17086
17149
|
}
|
|
17087
17150
|
}
|
|
17088
|
-
const
|
|
17089
|
-
class
|
|
17151
|
+
const Ml = process.env.NODE_ENV === "development";
|
|
17152
|
+
class kl extends N {
|
|
17090
17153
|
constructor(e) {
|
|
17091
17154
|
super(e), this.el = null, this.abortClasses = ["tabulator-headers", "tabulator-table"], this.previousTargets = {}, this.listeners = [
|
|
17092
17155
|
"click",
|
|
@@ -17237,7 +17300,7 @@ class Ll extends N {
|
|
|
17237
17300
|
s.components.includes("column") && (h = this.table.columnManager?.findColumn(c));
|
|
17238
17301
|
break;
|
|
17239
17302
|
case "cell":
|
|
17240
|
-
s.components.includes("cell") && (o.row instanceof _ ? h = o.row.findCell(c) :
|
|
17303
|
+
s.components.includes("cell") && (o.row instanceof _ ? h = o.row.findCell(c) : Ml && t.row && console.warn(
|
|
17241
17304
|
"Event Target Lookup Error - The row this cell is attached to cannot be found, has the table been reinitialized without being destroyed first?"
|
|
17242
17305
|
));
|
|
17243
17306
|
break;
|
|
@@ -17268,7 +17331,7 @@ class Ll extends N {
|
|
|
17268
17331
|
}
|
|
17269
17332
|
}
|
|
17270
17333
|
const We = process.env.NODE_ENV === "development";
|
|
17271
|
-
class
|
|
17334
|
+
class Dl {
|
|
17272
17335
|
constructor(e) {
|
|
17273
17336
|
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;
|
|
17274
17337
|
}
|
|
@@ -17341,7 +17404,7 @@ class zl {
|
|
|
17341
17404
|
return We && (this.debug === !0 || Array.isArray(this.debug) && this.debug.includes(e)) && console.log(i, t), this._confirm(e, t);
|
|
17342
17405
|
}
|
|
17343
17406
|
}
|
|
17344
|
-
function
|
|
17407
|
+
function Ll(l) {
|
|
17345
17408
|
let e = this.table.element?.clientWidth || 0;
|
|
17346
17409
|
const t = this.table.columnManager?.contentsElement;
|
|
17347
17410
|
if (t) {
|
|
@@ -17405,7 +17468,7 @@ function Fl(l) {
|
|
|
17405
17468
|
m.column.setWidth(m.width);
|
|
17406
17469
|
});
|
|
17407
17470
|
}
|
|
17408
|
-
async function
|
|
17471
|
+
async function zl(l, e) {
|
|
17409
17472
|
e && this.table.columnManager?.renderer && await this.table.columnManager.renderer.reinitializeColumnWidths(l), this.table.options.responsiveLayout && this.table.modExists("responsiveLayout", !0) && this.table.modules.responsiveLayout.update();
|
|
17410
17473
|
}
|
|
17411
17474
|
async function ds(l) {
|
|
@@ -17413,7 +17476,7 @@ async function ds(l) {
|
|
|
17413
17476
|
await e.reinitializeWidth();
|
|
17414
17477
|
this.table.options.responsiveLayout && this.table.modExists("responsiveLayout", !0) && this.table.modules.responsiveLayout.update();
|
|
17415
17478
|
}
|
|
17416
|
-
async function
|
|
17479
|
+
async function Fl(l) {
|
|
17417
17480
|
let e = 0, t = this.table.element?.clientWidth || 0;
|
|
17418
17481
|
const i = this.table.columnManager?.contentsElement;
|
|
17419
17482
|
if (i) {
|
|
@@ -17426,20 +17489,20 @@ async function Hl(l) {
|
|
|
17426
17489
|
n.widthFixed || await n.reinitializeWidth(), (this.table.options.responsiveLayout ? n.modules.responsive.visible : !n.hidden) && (r = n), n.hidden || (e += n.getWidth());
|
|
17427
17490
|
r ? (o = s - e + r.getWidth(), this.table.options.responsiveLayout && this.table.modExists("responsiveLayout", !0) && (r.setWidth(0), this.table.modules.responsiveLayout?.update()), o > 0 ? r.setWidth(o) : await r.reinitializeWidth()) : this.table.options.responsiveLayout && this.table.modExists("responsiveLayout", !0) && this.table.modules.responsiveLayout.update();
|
|
17428
17491
|
}
|
|
17429
|
-
const
|
|
17430
|
-
fitColumns:
|
|
17431
|
-
fitData:
|
|
17492
|
+
const Ol = {
|
|
17493
|
+
fitColumns: Ll,
|
|
17494
|
+
fitData: zl,
|
|
17432
17495
|
fitDataFill: ds,
|
|
17433
|
-
fitDataStretch:
|
|
17496
|
+
fitDataStretch: Fl,
|
|
17434
17497
|
fitDataTable: ds
|
|
17435
|
-
},
|
|
17498
|
+
}, Hl = process.env.NODE_ENV === "development", Se = class Se extends R {
|
|
17436
17499
|
constructor(e) {
|
|
17437
17500
|
super(e), this.mode = null, this.registerTableOption("layout", "fitData"), this.registerTableOption("layoutColumnsOnNewData", !1), this.registerColumnOption("widthGrow"), this.registerColumnOption("widthShrink");
|
|
17438
17501
|
}
|
|
17439
17502
|
// initialize layout system
|
|
17440
17503
|
initialize() {
|
|
17441
17504
|
const e = this.table.options.layout;
|
|
17442
|
-
e && Se.modes[e] ? this.mode = e : (
|
|
17505
|
+
e && Se.modes[e] ? this.mode = e : (Hl && console.warn(
|
|
17443
17506
|
"Layout Error - invalid mode set, defaulting to 'fitData' : " + e
|
|
17444
17507
|
), this.mode = "fitData"), this.table.element.setAttribute("tabulator-layout", this.mode), this.subscribe("column-init", this.initializeColumn.bind(this));
|
|
17445
17508
|
}
|
|
@@ -17463,9 +17526,9 @@ const Pl = {
|
|
|
17463
17526
|
), t && this.table.rowManager?.normalizeHeight(!0), this.dispatch("layout-refreshed");
|
|
17464
17527
|
}
|
|
17465
17528
|
};
|
|
17466
|
-
Se.moduleName = "layout", Se.modes =
|
|
17529
|
+
Se.moduleName = "layout", Se.modes = Ol;
|
|
17467
17530
|
let li = Se;
|
|
17468
|
-
const
|
|
17531
|
+
const Pl = {
|
|
17469
17532
|
default: {
|
|
17470
17533
|
columns: {},
|
|
17471
17534
|
data: {
|
|
@@ -17581,7 +17644,7 @@ const _l = {
|
|
|
17581
17644
|
});
|
|
17582
17645
|
}
|
|
17583
17646
|
};
|
|
17584
|
-
Xe.moduleName = "localize", Xe.langs =
|
|
17647
|
+
Xe.moduleName = "localize", Xe.langs = Pl;
|
|
17585
17648
|
let ai = Xe;
|
|
17586
17649
|
const ps = process.env.NODE_ENV === "development", Ni = class Ni extends R {
|
|
17587
17650
|
constructor(e) {
|
|
@@ -17613,12 +17676,12 @@ const ps = process.env.NODE_ENV === "development", Ni = class Ni extends R {
|
|
|
17613
17676
|
};
|
|
17614
17677
|
Ni.moduleName = "comms";
|
|
17615
17678
|
let hi = Ni;
|
|
17616
|
-
const
|
|
17679
|
+
const Al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
17617
17680
|
__proto__: null,
|
|
17618
17681
|
CommsModule: hi,
|
|
17619
17682
|
LayoutModule: li,
|
|
17620
17683
|
LocalizeModule: ai
|
|
17621
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
17684
|
+
}, Symbol.toStringTag, { value: "Module" })), _l = process.env.NODE_ENV === "development", Y = class Y {
|
|
17622
17685
|
static findTable(e) {
|
|
17623
17686
|
const t = Y.registry.lookupTable(e, !0);
|
|
17624
17687
|
return Array.isArray(t) && !t.length ? !1 : t;
|
|
@@ -17639,7 +17702,7 @@ Y.registry = {
|
|
|
17639
17702
|
} else typeof HTMLElement < "u" && e instanceof HTMLElement || e instanceof Y ? (o = Y.registry.matchElement(e), o && i.push(o)) : Array.isArray(e) ? e.forEach((r) => {
|
|
17640
17703
|
const n = Y.registry.lookupTable(r, !0);
|
|
17641
17704
|
i.push(...n);
|
|
17642
|
-
}) :
|
|
17705
|
+
}) : _l && !t && console.warn("Table Connection Error - Invalid Selector", e);
|
|
17643
17706
|
return i;
|
|
17644
17707
|
},
|
|
17645
17708
|
matchElement(e) {
|
|
@@ -17651,12 +17714,12 @@ Y.registry = {
|
|
|
17651
17714
|
tables: []
|
|
17652
17715
|
};
|
|
17653
17716
|
let ci = Y;
|
|
17654
|
-
const
|
|
17717
|
+
const tt = process.env.NODE_ENV === "development", D = class D extends ci {
|
|
17655
17718
|
constructor() {
|
|
17656
17719
|
super(), this.modulesCore = [], this.modulesRegular = [];
|
|
17657
17720
|
}
|
|
17658
17721
|
static initializeModuleBinder(e) {
|
|
17659
|
-
D.modulesRegistered || (D.modulesRegistered = !0, D._registerModules(
|
|
17722
|
+
D.modulesRegistered || (D.modulesRegistered = !0, D._registerModules(Al, !0), e && D._registerModules(e));
|
|
17660
17723
|
}
|
|
17661
17724
|
static _extendModule(e, t, i) {
|
|
17662
17725
|
if (D.moduleBindings[e]) {
|
|
@@ -17665,11 +17728,11 @@ const it = process.env.NODE_ENV === "development", D = class D extends ci {
|
|
|
17665
17728
|
if (typeof i == "object")
|
|
17666
17729
|
for (const o in i)
|
|
17667
17730
|
s[o] = i[o];
|
|
17668
|
-
else
|
|
17731
|
+
else tt && console.warn(
|
|
17669
17732
|
"Module Error - Invalid value type, it must be an object"
|
|
17670
17733
|
);
|
|
17671
|
-
else
|
|
17672
|
-
} else
|
|
17734
|
+
else tt && console.warn("Module Error - property does not exist:", t);
|
|
17735
|
+
} else tt && console.warn("Module Error - module does not exist:", e);
|
|
17673
17736
|
}
|
|
17674
17737
|
static _registerModules(e, t) {
|
|
17675
17738
|
const i = Object.values(e);
|
|
@@ -17683,7 +17746,7 @@ const it = process.env.NODE_ENV === "development", D = class D extends ci {
|
|
|
17683
17746
|
});
|
|
17684
17747
|
}
|
|
17685
17748
|
static _registerModuleBinding(e) {
|
|
17686
|
-
e.moduleName ? D.moduleBindings[e.moduleName] = e :
|
|
17749
|
+
e.moduleName ? D.moduleBindings[e.moduleName] = e : tt && console.error(
|
|
17687
17750
|
"Unable to bind module, no moduleName defined",
|
|
17688
17751
|
e.moduleName
|
|
17689
17752
|
);
|
|
@@ -17746,7 +17809,7 @@ const F = process.env.NODE_ENV === "development", ae = class ae extends di {
|
|
|
17746
17809
|
ae.initializeModuleBinder(), ae._registerModule(...e);
|
|
17747
17810
|
}
|
|
17748
17811
|
constructor(e, t, i) {
|
|
17749
|
-
super(), ae.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
|
|
17812
|
+
super(), ae.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 Cl(this), this.dataLoader = null, this.modules = {}, this.modulesCore = [], this.modulesRegular = [], this.deprecationAdvisor = new Sl(this), this.optionsList = new Cs(this, "table constructor"), this.dependencyRegistry = new xl(this), this.initialized = !1, this.destroyed = !1, this.initializeElement(e) && (this.initializeCoreSystems(t), setTimeout(() => {
|
|
17750
17813
|
this._create();
|
|
17751
17814
|
})), this.constructor.registry.register(this);
|
|
17752
17815
|
}
|
|
@@ -17766,11 +17829,11 @@ const F = process.env.NODE_ENV === "development", ae = class ae extends di {
|
|
|
17766
17829
|
), !1;
|
|
17767
17830
|
}
|
|
17768
17831
|
initializeCoreSystems(e) {
|
|
17769
|
-
this.columnManager = new
|
|
17832
|
+
this.columnManager = new pl(this), this.rowManager = new vl(this), this.footerManager = new gl(this), this.dataLoader = new ni(this), this.alertManager = new yl(this), this.toolbar = e?.toolbarElement, this._bindModules(), this.options = this.optionsList.generate(ae.defaultOptions, e), this._clearObjectPointers(), this._mapDeprecatedFunctionality(), this.externalEvents = new Tl(
|
|
17770
17833
|
this,
|
|
17771
17834
|
this.options,
|
|
17772
17835
|
this.options.debugEventsExternal
|
|
17773
|
-
), this.eventBus = new
|
|
17836
|
+
), this.eventBus = new Dl(this.options.debugEventsInternal), this.interactionMonitor = new kl(this), this.dataLoader.initialize(), this.footerManager.initialize(), this.dependencyRegistry.initialize();
|
|
17774
17837
|
}
|
|
17775
17838
|
// convert deprecated functionality to new functions
|
|
17776
17839
|
_mapDeprecatedFunctionality() {
|
|
@@ -18133,7 +18196,7 @@ const F = process.env.NODE_ENV === "development", ae = class ae extends di {
|
|
|
18133
18196
|
return !t && F && console.error("Tabulator module not installed: " + e), t;
|
|
18134
18197
|
}
|
|
18135
18198
|
};
|
|
18136
|
-
ae.defaultOptions =
|
|
18199
|
+
ae.defaultOptions = fl;
|
|
18137
18200
|
let be = ae;
|
|
18138
18201
|
class fs extends be {
|
|
18139
18202
|
static extendModule(...e) {
|
|
@@ -18147,7 +18210,7 @@ class fs extends be {
|
|
|
18147
18210
|
}
|
|
18148
18211
|
// #endregion
|
|
18149
18212
|
}
|
|
18150
|
-
class
|
|
18213
|
+
class Sa {
|
|
18151
18214
|
constructor(e) {
|
|
18152
18215
|
this.type = e, this.element = this._createElement();
|
|
18153
18216
|
}
|
|
@@ -18187,16 +18250,16 @@ class La {
|
|
|
18187
18250
|
rendered() {
|
|
18188
18251
|
}
|
|
18189
18252
|
}
|
|
18190
|
-
var
|
|
18253
|
+
var Nl = Object.defineProperty, Vl = Object.getOwnPropertyDescriptor, Es = (l) => {
|
|
18191
18254
|
throw TypeError(l);
|
|
18192
18255
|
}, v = (l, e, t, i) => {
|
|
18193
|
-
for (var s = i > 1 ? void 0 : i ?
|
|
18256
|
+
for (var s = i > 1 ? void 0 : i ? Vl(e, t) : e, o = l.length - 1, r; o >= 0; o--)
|
|
18194
18257
|
(r = l[o]) && (s = (i ? r(e, t, s) : r(s)) || s);
|
|
18195
|
-
return i && s &&
|
|
18196
|
-
},
|
|
18258
|
+
return i && s && Nl(e, t, s), s;
|
|
18259
|
+
}, Bl = (l, e, t) => e.has(l) || Es("Cannot " + t), Il = (l, e, t) => (Bl(l, e, "read from private field"), t ? t.call(l) : e.get(l)), Wl = (l, e, t) => e.has(l) ? Es("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(l) : e.set(l, t), ui, xs;
|
|
18197
18260
|
let w = class extends _e {
|
|
18198
18261
|
constructor() {
|
|
18199
|
-
super(),
|
|
18262
|
+
super(), Wl(this, ui), this.localize = new rt(this), this.verticalOsInstance = null, this.horizontalOsInstance = null, this.resizeObserver = null, this.overflowObserver = null, this.filterController = new eo(this), this.shadowRootAutoloader = new Is(this), this.movableRows = !1, this.movableColumns = !1, this.data = void 0, this.rowHeight = 48, this.layout = "fitColumns", this.columns = [], this.footerElement = void 0, this.responsiveLayout = !1, this.responsiveLayoutCollapseFormatter = void 0, this.responsiveLayoutCollapseUseFormatters = void 0, this.rowHeader = void 0, this.noHeader = !1, this.textDirection = void 0, this.responsiveLayoutCollapseStartOpen = void 0, this.renderVerticalBuffer = void 0, this.renderVertical = "virtual", this.columnDefaults = {}, this.canSearch = !1, this.noAdvancedSearch = !1, this.showSavedSearch = !1, this.searchFields = [], this.canAdd = !1, this.addLabel = this.localize.term("add"), this.canExportCsv = !1, this.canExportXml = !1, this.canExportCustom = !1, this.canSaveReport = !1, this.savedSearchURL = "", this.savedSearchItems = [], this.savedSearchPageSizeParam = "PageSize", this.savedSearchPageSize = 10, this.savedSearchPageNumberParam = "PageNumber", this.dropdownFilters = [], this.ajaxURL = void 0, this.ajaxURLGenerator = void 0, this.ajaxParams = void 0, this.ajaxResponse = void 0, this.dataSendParams = void 0, this.dataReceiveParams = void 0, this.noAutoResize = !1, this.resizableRows = !1, this.resizableColumnFit = !1, this.resizableColumnGuide = !1, this.resizableRowGuide = !1, this.frozenRows = void 0, this.frozenRowsField = "id", this.placeholder = this.localize.term("noData"), this.groupBy = void 0, this.groupHeader = void 0, this.groupHeaderCount = !1, this.groupIndent = 36, this.groupHeaderPrint = void 0, this.groupHeaderClipboard = void 0, this.groupHeaderDownload = void 0, this.groupHeaderHtmlOutput = void 0, this.groupStartOpen = !1, this.groupStartOpenValues = void 0, this.groupToggleElement = "arrow", this.groupValues = [], this.groupUpdateOnCellEdit = !1, this.dataTree = !1, this.dataTreeChildField = "_children", this.dataTreeLoadingField = "loading", this.dataTreeHasMoreField = "hasMore", this.dataTreeFilter = !1, this.dataTreeSort = !1, this.dataTreeElementColumn = void 0, this.dataTreeBranchElement = 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.clipboard = !1, this.clipboardCopyRowRange = "all", this.clipboardPasteParser = void 0, this.clipboardPasteAction = "insert", this.clipboardCopyConfig = void 0, this.clipboardNoCopyStyled = !1, this.pagination = !1, this.paginationMode = he.Local, this.paginationSize = void 0, this.paginationInitialPage = 1, this.paginationButtonCount = 5, this.showPaginationButtons = !1, this.paginationSizeSelector = void 0, this.paginationAddRow = "page", this.paginationCounter = Ls.Both, this.paginationShowFirst = !1, this.paginationShowLast = !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 = he.Local, this.placeholderHeaderFilter = "No matching data", this.noColumnPlaceholderText = this.localize.term("noColumnsVisible"), this.useOverlayScrollbar = !1, this.tabulatorInstance = null, this.watchedEvents = /* @__PURE__ */ new Set(), this.activeSearchValue = "", this.handleTableBuilt = () => {
|
|
18200
18263
|
this.useOverlayScrollbar ? this.initVerticalScrollbar() : this.verticalOsInstance?.destroy(), this.initHorizontalScrollbar(), this.initOverflowObserver(), this.filterController.syncDropdownFilterSources(this.dropdownFilters), this.handleSearch(), this.filterController.applyFilters();
|
|
18201
18264
|
}, this.checkHorizontalOverflow = () => {
|
|
18202
18265
|
if (!this.tabulatorElement || !this.tabulatorHolder)
|
|
@@ -18230,7 +18293,7 @@ let w = class extends _e {
|
|
|
18230
18293
|
}
|
|
18231
18294
|
async initTable() {
|
|
18232
18295
|
let l = this.rowHeader;
|
|
18233
|
-
l == null && (this.movableRows ? l =
|
|
18296
|
+
l == null && (this.movableRows ? l = ro : this.responsiveLayout === "collapse" && (l = {
|
|
18234
18297
|
formatter: "responsiveCollapse"
|
|
18235
18298
|
})), this.tabulatorInstance = new fs(this.table, {
|
|
18236
18299
|
ajaxParams: this.ajaxParams,
|
|
@@ -18279,7 +18342,7 @@ let w = class extends _e {
|
|
|
18279
18342
|
groupHeaderHtmlOutput: this.groupHeaderHtmlOutput,
|
|
18280
18343
|
groupHeaderPrint: this.groupHeaderPrint,
|
|
18281
18344
|
groupIndent: this.groupIndent,
|
|
18282
|
-
groupStartOpen:
|
|
18345
|
+
groupStartOpen: Il(this, ui, xs),
|
|
18283
18346
|
groupToggleElement: this.groupToggleElement,
|
|
18284
18347
|
groupUpdateOnCellEdit: this.groupUpdateOnCellEdit,
|
|
18285
18348
|
groupValues: this.groupValues,
|
|
@@ -18481,7 +18544,7 @@ let w = class extends _e {
|
|
|
18481
18544
|
direction="vertical"
|
|
18482
18545
|
spacing="large"
|
|
18483
18546
|
wrap="nowrap"
|
|
18484
|
-
class=${
|
|
18547
|
+
class=${Fs({
|
|
18485
18548
|
container: !0,
|
|
18486
18549
|
"container--overlay-scrollbar": this.useOverlayScrollbar
|
|
18487
18550
|
})}
|
|
@@ -18516,30 +18579,25 @@ let w = class extends _e {
|
|
|
18516
18579
|
}
|
|
18517
18580
|
};
|
|
18518
18581
|
ui = /* @__PURE__ */ new WeakSet();
|
|
18519
|
-
|
|
18582
|
+
xs = function() {
|
|
18520
18583
|
return this.groupStartOpenValues !== void 0 && this.groupStartOpenValues !== null ? (l) => this.groupStartOpenValues?.includes(l) ?? !1 : this.groupStartOpen;
|
|
18521
18584
|
};
|
|
18522
18585
|
w.styles = [
|
|
18523
|
-
|
|
18524
|
-
|
|
18525
|
-
|
|
18586
|
+
Ke,
|
|
18587
|
+
oo,
|
|
18588
|
+
ks
|
|
18526
18589
|
];
|
|
18527
18590
|
w.dependencies = {
|
|
18528
18591
|
"cx-button": Ae,
|
|
18529
|
-
"cx-checkbox":
|
|
18592
|
+
"cx-checkbox": Rs,
|
|
18530
18593
|
"cx-divider": gs,
|
|
18531
|
-
"cx-format-number":
|
|
18532
|
-
"cx-format-time": Ms,
|
|
18533
|
-
"cx-icon": Ke,
|
|
18594
|
+
"cx-format-number": Ss,
|
|
18534
18595
|
"cx-icon-button": ms,
|
|
18535
|
-
"cx-
|
|
18536
|
-
"cx-select": Ds,
|
|
18596
|
+
"cx-select": Ts,
|
|
18537
18597
|
"cx-space": pi,
|
|
18538
|
-
"cx-spinner":
|
|
18598
|
+
"cx-spinner": Ms,
|
|
18539
18599
|
"cx-table-row-actions": we,
|
|
18540
|
-
"cx-table-toolbar": O
|
|
18541
|
-
"cx-tag": zs,
|
|
18542
|
-
"cx-typography": bs
|
|
18600
|
+
"cx-table-toolbar": O
|
|
18543
18601
|
};
|
|
18544
18602
|
v([
|
|
18545
18603
|
Ve(".tabulator-tableholder")
|
|
@@ -18821,7 +18879,7 @@ v([
|
|
|
18821
18879
|
v([
|
|
18822
18880
|
g({
|
|
18823
18881
|
attribute: "frozen-rows",
|
|
18824
|
-
converter:
|
|
18882
|
+
converter: no
|
|
18825
18883
|
})
|
|
18826
18884
|
], w.prototype, "frozenRows", 2);
|
|
18827
18885
|
v([
|
|
@@ -18839,7 +18897,7 @@ v([
|
|
|
18839
18897
|
v([
|
|
18840
18898
|
g({
|
|
18841
18899
|
attribute: "group-by",
|
|
18842
|
-
converter:
|
|
18900
|
+
converter: ho
|
|
18843
18901
|
})
|
|
18844
18902
|
], w.prototype, "groupBy", 2);
|
|
18845
18903
|
v([
|
|
@@ -18988,7 +19046,7 @@ v([
|
|
|
18988
19046
|
v([
|
|
18989
19047
|
g({
|
|
18990
19048
|
attribute: "data-tree-start-expanded",
|
|
18991
|
-
converter:
|
|
19049
|
+
converter: lo
|
|
18992
19050
|
})
|
|
18993
19051
|
], w.prototype, "dataTreeStartExpanded", 2);
|
|
18994
19052
|
v([
|
|
@@ -19108,7 +19166,7 @@ v([
|
|
|
19108
19166
|
v([
|
|
19109
19167
|
g({
|
|
19110
19168
|
attribute: "clipboard",
|
|
19111
|
-
converter:
|
|
19169
|
+
converter: ao
|
|
19112
19170
|
})
|
|
19113
19171
|
], w.prototype, "clipboard", 2);
|
|
19114
19172
|
v([
|
|
@@ -19451,7 +19509,7 @@ export {
|
|
|
19451
19509
|
kt as D,
|
|
19452
19510
|
Lt as E,
|
|
19453
19511
|
Ft as F,
|
|
19454
|
-
|
|
19512
|
+
hn as G,
|
|
19455
19513
|
Ee as H,
|
|
19456
19514
|
Nt as I,
|
|
19457
19515
|
Xt as J,
|
|
@@ -19460,10 +19518,10 @@ export {
|
|
|
19460
19518
|
R as M,
|
|
19461
19519
|
Jt as N,
|
|
19462
19520
|
qt as O,
|
|
19463
|
-
|
|
19521
|
+
Sa as P,
|
|
19464
19522
|
Yt as Q,
|
|
19465
19523
|
bi as R,
|
|
19466
|
-
|
|
19524
|
+
ys as S,
|
|
19467
19525
|
be as T,
|
|
19468
19526
|
Qt as U,
|
|
19469
19527
|
Zt as V,
|
|
@@ -19477,10 +19535,10 @@ export {
|
|
|
19477
19535
|
O as a1,
|
|
19478
19536
|
mi as b,
|
|
19479
19537
|
Tt as c,
|
|
19480
|
-
|
|
19481
|
-
|
|
19538
|
+
Ro as d,
|
|
19539
|
+
Xn as e,
|
|
19482
19540
|
_ as f,
|
|
19483
|
-
|
|
19541
|
+
qe as g,
|
|
19484
19542
|
ut as h,
|
|
19485
19543
|
Ct as i,
|
|
19486
19544
|
Rt as j,
|