@carto/ps-react-ui 5.0.0-widgets.5 → 5.0.0-widgets.7
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/dist/{error-DGzuzmn1.js → error-G3sy6lw3.js} +2 -2
- package/dist/{error-DGzuzmn1.js.map → error-G3sy6lw3.js.map} +1 -1
- package/dist/{no-data-BBAoT1vK.js → no-data-DfkC_Kc_.js} +2 -2
- package/dist/{no-data-BBAoT1vK.js.map → no-data-DfkC_Kc_.js.map} +1 -1
- package/dist/{row-C_m1ovHv.js → row-B9hTUitn.js} +2 -2
- package/dist/{row-C_m1ovHv.js.map → row-B9hTUitn.js.map} +1 -1
- package/dist/{series-6xp-KQ0S.js → series-DojKkd_o.js} +3 -3
- package/dist/{series-6xp-KQ0S.js.map → series-DojKkd_o.js.map} +1 -1
- package/dist/types/widgets/category/config.d.ts +1 -0
- package/dist/types/widgets/category/types.d.ts +1 -0
- package/dist/types/widgets/root/utils.d.ts +1 -1
- package/dist/types/widgets/stores/types.d.ts +0 -75
- package/dist/types/widgets/table/config.d.ts +7 -1
- package/dist/types/widgets/table/hooks/use-pagination.d.ts +2 -16
- package/dist/types/widgets/table/hooks/use-selection.d.ts +0 -2
- package/dist/types/widgets/table/hooks/use-sort.d.ts +3 -10
- package/dist/types/widgets/table/index.d.ts +1 -1
- package/dist/types/widgets/table/types.d.ts +14 -19
- package/dist/widget-store-Dd7_sWZT.js +132 -0
- package/dist/widget-store-Dd7_sWZT.js.map +1 -0
- package/dist/widgets/actions.js +51 -51
- package/dist/widgets/actions.js.map +1 -1
- package/dist/widgets/bar.js +1 -1
- package/dist/widgets/category.js +134 -128
- package/dist/widgets/category.js.map +1 -1
- package/dist/widgets/echart.js +1 -1
- package/dist/widgets/error.js +1 -1
- package/dist/widgets/formula.js +3 -3
- package/dist/widgets/histogram.js +1 -1
- package/dist/widgets/markdown.js +1 -1
- package/dist/widgets/no-data.js +1 -1
- package/dist/widgets/pie.js +1 -1
- package/dist/widgets/range.js +2 -2
- package/dist/widgets/root.js +1 -1
- package/dist/widgets/root.js.map +1 -1
- package/dist/widgets/scatterplot.js +1 -1
- package/dist/widgets/skeleton-loader.js +1 -1
- package/dist/widgets/spread.js +3 -3
- package/dist/widgets/stores.js +1 -1
- package/dist/widgets/table.js +535 -537
- package/dist/widgets/table.js.map +1 -1
- package/dist/widgets/timeseries.js +1 -1
- package/dist/widgets/wrapper.js +1 -1
- package/dist/widgets.js +3 -3
- package/package.json +1 -1
- package/dist/widget-store-DNyVElxd.js +0 -190
- package/dist/widget-store-DNyVElxd.js.map +0 -1
package/dist/widgets/actions.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as g, jsxs as X, Fragment as ce } from "react/jsx-runtime";
|
|
2
|
-
import { c as
|
|
3
|
-
import { IconButton as q, DialogContent as Se, Typography as ve, DialogTitle as Ie, Dialog as Ce, CircularProgress as _e, MenuItem as
|
|
4
|
-
import { u as O } from "../widget-store-
|
|
5
|
-
import { FullscreenOutlined as Le, Close as we, FileDownloadOutlined as ze, PercentOutlined as $e, SubdirectoryArrowLeftOutlined as We, ZoomInOutlined as De, CheckBoxOutlined as Oe, SearchOutlined as
|
|
2
|
+
import { c as U } from "react/compiler-runtime";
|
|
3
|
+
import { IconButton as q, DialogContent as Se, Typography as ve, DialogTitle as Ie, Dialog as Ce, CircularProgress as _e, MenuItem as me, ListItemIcon as Te, ListItemText as ge, Menu as pe, useTheme as ke, Box as ye, TextField as xe, InputAdornment as ae, SvgIcon as Ee } from "@mui/material";
|
|
4
|
+
import { u as O } from "../widget-store-Dd7_sWZT.js";
|
|
5
|
+
import { FullscreenOutlined as Le, Close as we, FileDownloadOutlined as ze, PercentOutlined as $e, SubdirectoryArrowLeftOutlined as We, ZoomInOutlined as De, CheckBoxOutlined as Oe, SearchOutlined as he, ClearOutlined as Re } from "@mui/icons-material";
|
|
6
6
|
import { useShallow as Q } from "zustand/shallow";
|
|
7
7
|
import { useState as re, useEffect as j, useRef as se } from "react";
|
|
8
8
|
import "react-markdown";
|
|
@@ -11,10 +11,10 @@ import "../lasso-tool-CYn3ivf-.js";
|
|
|
11
11
|
import "../cjs-D9ro6BXv.js";
|
|
12
12
|
import { T as ee } from "../tooltip-BDnrRKrp.js";
|
|
13
13
|
import { b as Pe, a as Be, D as Fe } from "../utils-Dv5Z47UQ.js";
|
|
14
|
-
import { useSensors as Ae, useSensor as
|
|
14
|
+
import { useSensors as Ae, useSensor as de, PointerSensor as Ve, KeyboardSensor as Ze, DndContext as Me, closestCenter as He } from "@dnd-kit/core";
|
|
15
15
|
import { useSortable as je, sortableKeyboardCoordinates as Ge, arrayMove as Ne, SortableContext as Ue, verticalListSortingStrategy as Ke } from "@dnd-kit/sortable";
|
|
16
16
|
import { CSS as Ye } from "@dnd-kit/utilities";
|
|
17
|
-
const
|
|
17
|
+
const ue = {
|
|
18
18
|
title: {
|
|
19
19
|
container: {
|
|
20
20
|
display: "flex",
|
|
@@ -32,7 +32,7 @@ const fe = {
|
|
|
32
32
|
}
|
|
33
33
|
};
|
|
34
34
|
function Yt(l) {
|
|
35
|
-
const e =
|
|
35
|
+
const e = U(46), {
|
|
36
36
|
id: t,
|
|
37
37
|
labels: L,
|
|
38
38
|
children: S,
|
|
@@ -91,13 +91,13 @@ function Yt(l) {
|
|
|
91
91
|
let h;
|
|
92
92
|
e[25] !== _ ? (h = /* @__PURE__ */ g(q, { onClick: _, children: W }), e[25] = _, e[26] = h) : h = e[26];
|
|
93
93
|
let I;
|
|
94
|
-
e[27] !== E || e[28] !== C || e[29] !== h ? (I = /* @__PURE__ */ X(Ie, { id: E, sx:
|
|
94
|
+
e[27] !== E || e[28] !== C || e[29] !== h ? (I = /* @__PURE__ */ X(Ie, { id: E, sx: ue.title.container, children: [
|
|
95
95
|
C,
|
|
96
96
|
h
|
|
97
97
|
] }), e[27] = E, e[28] = C, e[29] = h, e[30] = I) : I = e[30];
|
|
98
98
|
let y;
|
|
99
99
|
e[31] !== f ? (y = {
|
|
100
|
-
...
|
|
100
|
+
...ue.content,
|
|
101
101
|
...f
|
|
102
102
|
}, e[31] = f, e[32] = y) : y = e[32];
|
|
103
103
|
let z;
|
|
@@ -117,7 +117,7 @@ function qe(l) {
|
|
|
117
117
|
return l.setWidget;
|
|
118
118
|
}
|
|
119
119
|
function qt(l) {
|
|
120
|
-
const e =
|
|
120
|
+
const e = U(35), {
|
|
121
121
|
id: t,
|
|
122
122
|
items: L,
|
|
123
123
|
labels: S,
|
|
@@ -174,16 +174,16 @@ function qt(l) {
|
|
|
174
174
|
let $;
|
|
175
175
|
if (e[23] !== m || e[24] !== L) {
|
|
176
176
|
let D;
|
|
177
|
-
e[26] !== m ? (D = (P) => /* @__PURE__ */ X(
|
|
177
|
+
e[26] !== m ? (D = (P) => /* @__PURE__ */ X(me, { disabled: P.disabled, onClick: (F) => void m(F, P), children: [
|
|
178
178
|
P.icon && /* @__PURE__ */ g(Te, { sx: {
|
|
179
179
|
color: "text.primary"
|
|
180
180
|
}, children: P.icon }),
|
|
181
|
-
/* @__PURE__ */ g(
|
|
181
|
+
/* @__PURE__ */ g(ge, { children: P.label })
|
|
182
182
|
] }, P.id), e[26] = m, e[27] = D) : D = e[27], $ = L.map(D), e[23] = m, e[24] = L, e[25] = $;
|
|
183
183
|
} else
|
|
184
184
|
$ = e[25];
|
|
185
185
|
let R;
|
|
186
|
-
e[28] !== T || e[29] !== I || e[30] !== $ ? (R = /* @__PURE__ */ g(
|
|
186
|
+
e[28] !== T || e[29] !== I || e[30] !== $ ? (R = /* @__PURE__ */ g(pe, { variant: "menu", elevation: 8, anchorOrigin: W, transformOrigin: h, anchorEl: T, open: I, onClose: y, MenuListProps: z, children: $ }), e[28] = T, e[29] = I, e[30] = $, e[31] = R) : R = e[31];
|
|
187
187
|
let A;
|
|
188
188
|
return e[32] !== _ || e[33] !== R ? (A = /* @__PURE__ */ X(ce, { children: [
|
|
189
189
|
_,
|
|
@@ -210,7 +210,7 @@ function Qe(l, e) {
|
|
|
210
210
|
}
|
|
211
211
|
const ie = "relative-data";
|
|
212
212
|
function Jt(l) {
|
|
213
|
-
const e =
|
|
213
|
+
const e = U(35), {
|
|
214
214
|
id: t,
|
|
215
215
|
order: L,
|
|
216
216
|
defaultIsRelative: S,
|
|
@@ -271,7 +271,7 @@ function nt(l) {
|
|
|
271
271
|
function ot(l) {
|
|
272
272
|
return l.setWidget;
|
|
273
273
|
}
|
|
274
|
-
const
|
|
274
|
+
const fe = {
|
|
275
275
|
container: {
|
|
276
276
|
display: "flex",
|
|
277
277
|
alignItems: "center",
|
|
@@ -286,7 +286,7 @@ const me = {
|
|
|
286
286
|
}
|
|
287
287
|
};
|
|
288
288
|
function Qt(l) {
|
|
289
|
-
const e =
|
|
289
|
+
const e = U(59), {
|
|
290
290
|
id: t,
|
|
291
291
|
defaultZoom: L,
|
|
292
292
|
defaultZoomStart: S,
|
|
@@ -308,13 +308,13 @@ function Qt(l) {
|
|
|
308
308
|
inside: !0,
|
|
309
309
|
xSlider: !0,
|
|
310
310
|
ySlider: !1
|
|
311
|
-
}, T),
|
|
311
|
+
}, T), Y = n(t)?.option;
|
|
312
312
|
p(t, {
|
|
313
313
|
zoom: B,
|
|
314
314
|
zoomStart: Z,
|
|
315
315
|
zoomEnd: N,
|
|
316
316
|
option: {
|
|
317
|
-
...
|
|
317
|
+
...Y,
|
|
318
318
|
...J
|
|
319
319
|
}
|
|
320
320
|
});
|
|
@@ -359,16 +359,16 @@ function Qt(l) {
|
|
|
359
359
|
let V;
|
|
360
360
|
e[39] !== x ? (V = x ?? /* @__PURE__ */ g(De, {}), e[39] = x, e[40] = V) : V = e[40];
|
|
361
361
|
let M;
|
|
362
|
-
e[41] !== u || e[42] !== _ || e[43] !== F || e[44] !== V || e[45] !== o ? (M = /* @__PURE__ */ g(q, { size: "small", "aria-label": F, onClick: _, sx:
|
|
362
|
+
e[41] !== u || e[42] !== _ || e[43] !== F || e[44] !== V || e[45] !== o ? (M = /* @__PURE__ */ g(q, { size: "small", "aria-label": F, onClick: _, sx: fe.trigger, "data-active": o, ...u, children: V }), e[41] = u, e[42] = _, e[43] = F, e[44] = V, e[45] = o, e[46] = M) : M = e[46];
|
|
363
363
|
let H;
|
|
364
364
|
e[47] !== M || e[48] !== P ? (H = /* @__PURE__ */ g(ee, { title: P, children: M }), e[47] = M, e[48] = P, e[49] = H) : H = e[49];
|
|
365
365
|
let G;
|
|
366
366
|
e[50] !== u || e[51] !== d || e[52] !== h || e[53] !== D || e[54] !== o ? (G = o && /* @__PURE__ */ g(ee, { title: D, children: /* @__PURE__ */ g(q, { size: "small", "aria-label": D, onClick: h, ...u, children: d ?? /* @__PURE__ */ g(We, {}) }) }), e[50] = u, e[51] = d, e[52] = h, e[53] = D, e[54] = o, e[55] = G) : G = e[55];
|
|
367
|
-
let
|
|
368
|
-
return e[56] !== H || e[57] !== G ? (
|
|
367
|
+
let K;
|
|
368
|
+
return e[56] !== H || e[57] !== G ? (K = /* @__PURE__ */ X(ye, { sx: fe.container, children: [
|
|
369
369
|
H,
|
|
370
370
|
G
|
|
371
|
-
] }), e[56] = H, e[57] = G, e[58] =
|
|
371
|
+
] }), e[56] = H, e[57] = G, e[58] = K) : K = e[58], K;
|
|
372
372
|
}
|
|
373
373
|
function st(l) {
|
|
374
374
|
return l.getWidget;
|
|
@@ -377,12 +377,12 @@ function it(l) {
|
|
|
377
377
|
return l.setWidget;
|
|
378
378
|
}
|
|
379
379
|
const rt = () => {
|
|
380
|
-
const l =
|
|
380
|
+
const l = U(1);
|
|
381
381
|
let e;
|
|
382
382
|
return l[0] === Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ g("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ g("path", { d: "M4 20V8H8V20H4ZM9 20V13H13V20H9ZM16 20V4H20V20H16Z", fill: "currentColor" }) }), l[0] = e) : e = l[0], e;
|
|
383
383
|
};
|
|
384
384
|
function Xt(l) {
|
|
385
|
-
const e =
|
|
385
|
+
const e = U(30), {
|
|
386
386
|
id: t,
|
|
387
387
|
defaultIsStacked: L,
|
|
388
388
|
labels: S,
|
|
@@ -458,7 +458,7 @@ function dt(l) {
|
|
|
458
458
|
}
|
|
459
459
|
const le = "lock-selection";
|
|
460
460
|
function el(l) {
|
|
461
|
-
const e =
|
|
461
|
+
const e = U(37), {
|
|
462
462
|
id: t,
|
|
463
463
|
selectedItems: L,
|
|
464
464
|
order: S,
|
|
@@ -539,7 +539,7 @@ function bt(l, e) {
|
|
|
539
539
|
}
|
|
540
540
|
const te = "searcher", St = 300;
|
|
541
541
|
function tl(l) {
|
|
542
|
-
const e =
|
|
542
|
+
const e = U(49), {
|
|
543
543
|
id: t,
|
|
544
544
|
filterFn: L,
|
|
545
545
|
order: S,
|
|
@@ -549,12 +549,12 @@ function tl(l) {
|
|
|
549
549
|
debounceDelay: d
|
|
550
550
|
} = l, u = S === void 0 ? 20 : S, f = d === void 0 ? St : d, s = se(null), r = se(null);
|
|
551
551
|
let T;
|
|
552
|
-
e[0] !== t ? (T = (
|
|
552
|
+
e[0] !== t ? (T = (Y) => Y.getWidget(t), e[0] = t, e[1] = T) : T = e[1];
|
|
553
553
|
const p = O(T), n = p?.isSearchEnabled ?? !1, a = p?.searchText ?? "", o = se(n), c = L ?? kt, i = O(Tt), m = O(_t), w = O(Ct), k = O(It), E = O(vt);
|
|
554
554
|
let C;
|
|
555
|
-
e[2] !== t || e[3] !== i ? (C = (
|
|
555
|
+
e[2] !== t || e[3] !== i ? (C = (Y) => {
|
|
556
556
|
i(t, {
|
|
557
|
-
searchText:
|
|
557
|
+
searchText: Y
|
|
558
558
|
});
|
|
559
559
|
}, e[2] = t, e[3] = i, e[4] = C) : C = e[4];
|
|
560
560
|
const _ = C;
|
|
@@ -563,9 +563,9 @@ function tl(l) {
|
|
|
563
563
|
id: te,
|
|
564
564
|
order: u,
|
|
565
565
|
enabled: n,
|
|
566
|
-
fn: async (
|
|
567
|
-
const
|
|
568
|
-
return
|
|
566
|
+
fn: async (Y, oe) => {
|
|
567
|
+
const be = oe?.searchText || "";
|
|
568
|
+
return c(Y, be);
|
|
569
569
|
},
|
|
570
570
|
config: {
|
|
571
571
|
searchText: a
|
|
@@ -577,10 +577,10 @@ function tl(l) {
|
|
|
577
577
|
k(t, te, n);
|
|
578
578
|
}, y = [t, n, k], e[14] = n, e[15] = t, e[16] = k, e[17] = I, e[18] = y) : (I = e[17], y = e[18]), j(I, y);
|
|
579
579
|
let z;
|
|
580
|
-
e[19] !== f || e[20] !== t || e[21] !== E ? (z = (
|
|
580
|
+
e[19] !== f || e[20] !== t || e[21] !== E ? (z = (Y) => {
|
|
581
581
|
r.current && clearTimeout(r.current), r.current = setTimeout(() => {
|
|
582
582
|
E(t, te, {
|
|
583
|
-
searchText:
|
|
583
|
+
searchText: Y
|
|
584
584
|
});
|
|
585
585
|
}, f);
|
|
586
586
|
}, e[19] = f, e[20] = t, e[21] = E, e[22] = z) : z = e[22];
|
|
@@ -594,8 +594,8 @@ function tl(l) {
|
|
|
594
594
|
r.current && clearTimeout(r.current);
|
|
595
595
|
}, P = [], e[26] = D, e[27] = P) : (D = e[26], P = e[27]), j(D, P);
|
|
596
596
|
let F;
|
|
597
|
-
e[28] !== $ || e[29] !== _ ? (F = (
|
|
598
|
-
const oe =
|
|
597
|
+
e[28] !== $ || e[29] !== _ ? (F = (Y) => {
|
|
598
|
+
const oe = Y.target.value;
|
|
599
599
|
_(oe), $(oe);
|
|
600
600
|
}, e[28] = $, e[29] = _, e[30] = F) : F = e[30];
|
|
601
601
|
const V = F;
|
|
@@ -608,11 +608,11 @@ function tl(l) {
|
|
|
608
608
|
const H = M;
|
|
609
609
|
if (!n)
|
|
610
610
|
return null;
|
|
611
|
-
const G = v?.placeholder ?? "Search...",
|
|
611
|
+
const G = v?.placeholder ?? "Search...", K = v?.clearAriaLabel ?? "Clear search";
|
|
612
612
|
let B;
|
|
613
|
-
e[35] === Symbol.for("react.memo_cache_sentinel") ? (B = /* @__PURE__ */ g(
|
|
613
|
+
e[35] === Symbol.for("react.memo_cache_sentinel") ? (B = /* @__PURE__ */ g(ae, { position: "start", children: /* @__PURE__ */ g(he, {}) }), e[35] = B) : B = e[35];
|
|
614
614
|
let Z;
|
|
615
|
-
e[36] !== x || e[37] !==
|
|
615
|
+
e[36] !== x || e[37] !== K || e[38] !== H || e[39] !== a ? (Z = a ? /* @__PURE__ */ g(ae, { position: "end", children: /* @__PURE__ */ g(q, { size: "small", "aria-label": K, onClick: H, edge: "end", children: x ?? /* @__PURE__ */ g(Re, { fontSize: "small" }) }) }) : null, e[36] = x, e[37] = K, e[38] = H, e[39] = a, e[40] = Z) : Z = e[40];
|
|
616
616
|
let N;
|
|
617
617
|
e[41] !== Z ? (N = {
|
|
618
618
|
startAdornment: B,
|
|
@@ -642,7 +642,7 @@ const kt = (l, e) => {
|
|
|
642
642
|
return Promise.resolve(l.map((L) => L.filter((S) => Object.values(S).some((v) => typeof v == "string" && v.toLowerCase().includes(t)))));
|
|
643
643
|
};
|
|
644
644
|
function ll(l) {
|
|
645
|
-
const e =
|
|
645
|
+
const e = U(23), {
|
|
646
646
|
id: t,
|
|
647
647
|
defaultEnabled: L,
|
|
648
648
|
labels: S,
|
|
@@ -666,7 +666,7 @@ function ll(l) {
|
|
|
666
666
|
}, e[8] = t, e[9] = r, e[10] = d, e[11] = n) : n = e[11];
|
|
667
667
|
const a = n, o = r ? S?.disable ?? "Disable search" : S?.enable ?? "Enable search", c = S?.ariaLabel ?? o;
|
|
668
668
|
let i;
|
|
669
|
-
e[12] !== v ? (i = v ?? /* @__PURE__ */ g(
|
|
669
|
+
e[12] !== v ? (i = v ?? /* @__PURE__ */ g(he, { fontSize: "small" }), e[12] = v, e[13] = i) : i = e[13];
|
|
670
670
|
let m;
|
|
671
671
|
e[14] !== b || e[15] !== c || e[16] !== a || e[17] !== r || e[18] !== i ? (m = /* @__PURE__ */ g(q, { size: "small", "aria-label": c, onClick: a, sx: ne.trigger, "data-active": r, ...b, children: i }), e[14] = b, e[15] = c, e[16] = a, e[17] = r, e[18] = i, e[19] = m) : m = e[19];
|
|
672
672
|
let w;
|
|
@@ -679,12 +679,12 @@ function xt(l) {
|
|
|
679
679
|
return l.setWidget;
|
|
680
680
|
}
|
|
681
681
|
const Et = () => {
|
|
682
|
-
const l =
|
|
682
|
+
const l = U(1);
|
|
683
683
|
let e;
|
|
684
684
|
return l[0] === Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ g("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 18 18", children: /* @__PURE__ */ g("path", { fill: "currentColor", fillRule: "evenodd", d: "M14.25 2.25H3.75c-.825 0-1.5.675-1.5 1.5v10.5c0 .825.675 1.5 1.5 1.5h10.5c.825 0 1.5-.675 1.5-1.5V3.75c0-.825-.675-1.5-1.5-1.5m-3.75 12h-3V3.75h3zM3.75 3.75H6v10.5H3.75zM12 14.25V3.75h2.25v10.5z", clipRule: "evenodd" }) }), l[0] = e) : e = l[0], e;
|
|
685
685
|
};
|
|
686
686
|
function Lt(l) {
|
|
687
|
-
const e =
|
|
687
|
+
const e = U(18), {
|
|
688
688
|
column: t
|
|
689
689
|
} = l;
|
|
690
690
|
let L;
|
|
@@ -718,15 +718,15 @@ function Lt(l) {
|
|
|
718
718
|
}
|
|
719
719
|
}, e[9] = n) : n = e[9];
|
|
720
720
|
let a;
|
|
721
|
-
e[10] !== t.label ? (a = /* @__PURE__ */ g(
|
|
721
|
+
e[10] !== t.label ? (a = /* @__PURE__ */ g(ge, { children: t.label }), e[10] = t.label, e[11] = a) : a = e[11];
|
|
722
722
|
let o;
|
|
723
|
-
return e[12] !== S || e[13] !== v || e[14] !== b || e[15] !== p || e[16] !== a ? (o = /* @__PURE__ */ g(
|
|
723
|
+
return e[12] !== S || e[13] !== v || e[14] !== b || e[15] !== p || e[16] !== a ? (o = /* @__PURE__ */ g(me, { ref: b, style: p, ...S, ...v, role: "menuitem", tabIndex: 0, sx: n, children: a }), e[12] = S, e[13] = v, e[14] = b, e[15] = p, e[16] = a, e[17] = o) : o = e[17], o;
|
|
724
724
|
}
|
|
725
725
|
function wt(l) {
|
|
726
726
|
return `2px solid ${l.palette.primary.main}`;
|
|
727
727
|
}
|
|
728
728
|
function nl(l) {
|
|
729
|
-
const e =
|
|
729
|
+
const e = U(42), {
|
|
730
730
|
id: t,
|
|
731
731
|
labels: L,
|
|
732
732
|
Icon: S,
|
|
@@ -740,7 +740,7 @@ function nl(l) {
|
|
|
740
740
|
e[2] === Symbol.for("react.memo_cache_sentinel") ? (r = {
|
|
741
741
|
coordinateGetter: Ge
|
|
742
742
|
}, e[2] = r) : r = e[2];
|
|
743
|
-
const T = Ae(
|
|
743
|
+
const T = Ae(de(Ve), de(Ze, r));
|
|
744
744
|
let p;
|
|
745
745
|
e[3] !== s ? (p = s?.map($t) ?? [], e[3] = s, e[4] = p) : p = e[4];
|
|
746
746
|
const n = p;
|
|
@@ -762,9 +762,9 @@ function nl(l) {
|
|
|
762
762
|
} = V;
|
|
763
763
|
if (!H || M.id === H.id || !s)
|
|
764
764
|
return;
|
|
765
|
-
const G = s.findIndex((B) => B.id === M.id),
|
|
766
|
-
if (G !== -1 &&
|
|
767
|
-
const B = Ne(s, G,
|
|
765
|
+
const G = s.findIndex((B) => B.id === M.id), K = s.findIndex((B) => B.id === H.id);
|
|
766
|
+
if (G !== -1 && K !== -1) {
|
|
767
|
+
const B = Ne(s, G, K);
|
|
768
768
|
u(t, {
|
|
769
769
|
columns: B
|
|
770
770
|
});
|
|
@@ -793,7 +793,7 @@ function nl(l) {
|
|
|
793
793
|
let A;
|
|
794
794
|
e[27] !== n || e[28] !== R ? (A = /* @__PURE__ */ g(Ue, { items: n, strategy: Ke, children: R }), e[27] = n, e[28] = R, e[29] = A) : A = e[29];
|
|
795
795
|
let D;
|
|
796
|
-
e[30] !== b || e[31] !== x || e[32] !== E || e[33] !== A ? (D = /* @__PURE__ */ g(
|
|
796
|
+
e[30] !== b || e[31] !== x || e[32] !== E || e[33] !== A ? (D = /* @__PURE__ */ g(pe, { id: "change-column-menu", anchorEl: x, open: E, onClose: i, anchorOrigin: z, transformOrigin: $, ...b, children: A }), e[30] = b, e[31] = x, e[32] = E, e[33] = A, e[34] = D) : D = e[34];
|
|
797
797
|
let P;
|
|
798
798
|
e[35] !== w || e[36] !== T || e[37] !== D ? (P = /* @__PURE__ */ g(Me, { sensors: T, collisionDetection: He, onDragEnd: w, children: D }), e[35] = w, e[36] = T, e[37] = D, e[38] = P) : P = e[38];
|
|
799
799
|
let F;
|