@carto/ps-react-ui 4.3.6 → 4.3.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/components.js +123 -123
- package/dist/components.js.map +1 -1
- package/dist/error-CEkRPccv.js +39 -0
- package/dist/error-CEkRPccv.js.map +1 -0
- package/dist/{lasso-tool-BctzdzBu.js → lasso-tool-jl4YK02H.js} +19 -19
- package/dist/lasso-tool-jl4YK02H.js.map +1 -0
- package/dist/no-data-hR3KcJ-_.js +60 -0
- package/dist/no-data-hR3KcJ-_.js.map +1 -0
- package/dist/{row-D3uVFImu.js → row-BKmVAUN5.js} +2 -2
- package/dist/{row-D3uVFImu.js.map → row-BKmVAUN5.js.map} +1 -1
- package/dist/{series-BAImrSBo.js → series-D1pynfeh.js} +3 -3
- package/dist/{series-BAImrSBo.js.map → series-D1pynfeh.js.map} +1 -1
- package/dist/{styles-CCZnY17y.js → styles-DrPyd0y5.js} +28 -22
- package/dist/styles-DrPyd0y5.js.map +1 -0
- package/dist/types/components/lasso-tool/types.d.ts +1 -1
- package/dist/types/widgets/_shared/chart-config/index.d.ts +1 -1
- package/dist/types/widgets/_shared/chart-config/option-builders.d.ts +7 -0
- package/dist/types/widgets/_shared/chart-config/option-builders.test.d.ts +1 -0
- package/dist/types/widgets/actions/index.d.ts +2 -2
- package/dist/types/widgets/actions/lock-selection/types.d.ts +0 -13
- package/dist/types/widgets/actions/relative-data/types.d.ts +0 -4
- package/dist/types/widgets/actions/searcher/types.d.ts +0 -2
- package/dist/types/widgets/actions/stack-toggle/types.d.ts +0 -4
- package/dist/types/widgets/echart/types.d.ts +0 -4
- package/dist/types/widgets/echart/utils.d.ts +2 -1
- package/dist/types/widgets/error/error.d.ts +1 -1
- package/dist/types/widgets/error/types.d.ts +8 -0
- package/dist/types/widgets/loader/loader.d.ts +1 -1
- package/dist/types/widgets/loader/types.d.ts +1 -1
- package/dist/types/widgets/stores/types.d.ts +1 -1
- package/dist/{use-widget-ref-B8x4sHIj.js → use-widget-ref-P-2i0MJG.js} +2 -2
- package/dist/{use-widget-ref-B8x4sHIj.js.map → use-widget-ref-P-2i0MJG.js.map} +1 -1
- package/dist/{utils-D3-eQyDR.js → utils-idmvq0Oa.js} +17 -16
- package/dist/utils-idmvq0Oa.js.map +1 -0
- package/dist/{widget-store-Dn0Bnc4h.js → widget-store-CzDt8oSK.js} +31 -46
- package/dist/widget-store-CzDt8oSK.js.map +1 -0
- package/dist/widgets/actions.js +690 -716
- package/dist/widgets/actions.js.map +1 -1
- package/dist/widgets/bar.js +67 -63
- package/dist/widgets/bar.js.map +1 -1
- package/dist/widgets/category.js +250 -241
- package/dist/widgets/category.js.map +1 -1
- package/dist/widgets/echart.js +93 -100
- package/dist/widgets/echart.js.map +1 -1
- package/dist/widgets/error.js +1 -1
- package/dist/widgets/formula.js +64 -72
- package/dist/widgets/formula.js.map +1 -1
- package/dist/widgets/histogram.js +75 -73
- package/dist/widgets/histogram.js.map +1 -1
- package/dist/widgets/loader.js +1 -1
- package/dist/widgets/loader.js.map +1 -1
- package/dist/widgets/markdown.js +2 -2
- package/dist/widgets/no-data.js +1 -1
- package/dist/widgets/pie.js +4 -4
- package/dist/widgets/range.js +97 -105
- package/dist/widgets/range.js.map +1 -1
- package/dist/widgets/scatterplot.js +8 -8
- package/dist/widgets/skeleton-loader.js +1 -1
- package/dist/widgets/spread.js +84 -100
- package/dist/widgets/spread.js.map +1 -1
- package/dist/widgets/stores.js +1 -1
- package/dist/widgets/table.js +493 -485
- package/dist/widgets/table.js.map +1 -1
- package/dist/widgets/timeseries.js +4 -4
- package/dist/widgets/wrapper.js +156 -156
- package/dist/widgets/wrapper.js.map +1 -1
- package/dist/widgets.js +4 -4
- package/package.json +3 -3
- package/src/components/lasso-tool/lasso-tool-inline.tsx +19 -17
- package/src/components/lasso-tool/lasso-tool.tsx +22 -20
- package/src/components/lasso-tool/types.ts +4 -3
- package/src/widgets/_shared/chart-config/index.ts +1 -0
- package/src/widgets/_shared/chart-config/option-builders.test.ts +40 -0
- package/src/widgets/_shared/chart-config/option-builders.ts +12 -0
- package/src/widgets/actions/fullscreen/fullscreen.tsx +5 -8
- package/src/widgets/actions/index.ts +2 -5
- package/src/widgets/actions/lock-selection/lock-selection.test.tsx +28 -30
- package/src/widgets/actions/lock-selection/lock-selection.tsx +25 -26
- package/src/widgets/actions/lock-selection/types.ts +0 -17
- package/src/widgets/actions/relative-data/relative-data.test.tsx +13 -13
- package/src/widgets/actions/relative-data/relative-data.tsx +18 -21
- package/src/widgets/actions/relative-data/types.ts +0 -7
- package/src/widgets/actions/searcher/searcher.tsx +40 -22
- package/src/widgets/actions/searcher/types.ts +0 -2
- package/src/widgets/actions/stack-toggle/stack-toggle.test.tsx +19 -9
- package/src/widgets/actions/stack-toggle/stack-toggle.tsx +32 -22
- package/src/widgets/actions/stack-toggle/types.ts +0 -8
- package/src/widgets/actions/zoom-toggle/zoom-toggle.tsx +113 -95
- package/src/widgets/bar/config.ts +37 -28
- package/src/widgets/category/category-ui.tsx +25 -22
- package/src/widgets/echart/echart-ui.test.tsx +3 -18
- package/src/widgets/echart/echart-ui.tsx +4 -22
- package/src/widgets/echart/echart.test.tsx +9 -25
- package/src/widgets/echart/echart.tsx +36 -29
- package/src/widgets/echart/types.ts +0 -4
- package/src/widgets/echart/utils.ts +3 -1
- package/src/widgets/error/error.tsx +17 -14
- package/src/widgets/error/types.ts +10 -0
- package/src/widgets/formula/components/value.tsx +13 -13
- package/src/widgets/histogram/config.ts +36 -29
- package/src/widgets/loader/loader.tsx +3 -1
- package/src/widgets/loader/types.ts +3 -1
- package/src/widgets/no-data/no-data.tsx +8 -11
- package/src/widgets/range/components/range-item.tsx +9 -13
- package/src/widgets/spread/components/max-value.tsx +13 -13
- package/src/widgets/spread/components/min-value.tsx +13 -13
- package/src/widgets/stores/types.ts +1 -4
- package/src/widgets/stores/widget-store.ts +1 -27
- package/src/widgets/table/hooks/use-pagination.ts +44 -35
- package/src/widgets/table/hooks/use-sort.ts +25 -23
- package/src/widgets/wrapper/wrapper-ui.tsx +16 -17
- package/dist/error-piB8FwYO.js +0 -38
- package/dist/error-piB8FwYO.js.map +0 -1
- package/dist/lasso-tool-BctzdzBu.js.map +0 -1
- package/dist/no-data-jdlbMef0.js +0 -61
- package/dist/no-data-jdlbMef0.js.map +0 -1
- package/dist/styles-CCZnY17y.js.map +0 -1
- package/dist/utils-D3-eQyDR.js.map +0 -1
- package/dist/widget-store-Dn0Bnc4h.js.map +0 -1
package/dist/widgets/actions.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { c as
|
|
3
|
-
import { IconButton as
|
|
4
|
-
import { u as
|
|
5
|
-
import { FullscreenOutlined as
|
|
6
|
-
import { useShallow as
|
|
7
|
-
import { useState as
|
|
1
|
+
import { jsx as p, jsxs as oe, Fragment as pe } from "react/jsx-runtime";
|
|
2
|
+
import { c as N } from "react/compiler-runtime";
|
|
3
|
+
import { IconButton as q, DialogContent as ze, Typography as Ae, DialogTitle as Be, Dialog as Pe, CircularProgress as Fe, MenuItem as Ie, ListItemIcon as Re, ListItemText as xe, Menu as ye, useTheme as Ze, Box as Me, TextField as Ve, InputAdornment as Se, SvgIcon as Ge } from "@mui/material";
|
|
4
|
+
import { u as D } from "../widget-store-CzDt8oSK.js";
|
|
5
|
+
import { FullscreenOutlined as He, Close as je, FileDownloadOutlined as Ne, PercentOutlined as Ke, SubdirectoryArrowLeftOutlined as Ue, ZoomInOutlined as Ye, CheckBoxOutlined as qe, SearchOutlined as ke, ClearOutlined as Je } from "@mui/icons-material";
|
|
6
|
+
import { useShallow as Q } from "zustand/shallow";
|
|
7
|
+
import { useState as fe, useRef as ce, useEffect as ee } from "react";
|
|
8
8
|
import "react-markdown";
|
|
9
|
-
import { a as
|
|
10
|
-
import "../lasso-tool-
|
|
9
|
+
import { a as Zn, d as Mn } from "../exports-Cr43OCul.js";
|
|
10
|
+
import "../lasso-tool-jl4YK02H.js";
|
|
11
11
|
import "../cjs-D4KH3azB.js";
|
|
12
|
-
import { T as
|
|
13
|
-
import { b as
|
|
14
|
-
import { useSensors as
|
|
15
|
-
import { useSortable as
|
|
16
|
-
import { CSS as
|
|
12
|
+
import { T as le } from "../tooltip-BDnrRKrp.js";
|
|
13
|
+
import { b as Qe, a as Xe, D as et } from "../utils-idmvq0Oa.js";
|
|
14
|
+
import { useSensors as tt, useSensor as _e, PointerSensor as nt, KeyboardSensor as ot, DndContext as lt, closestCenter as it } from "@dnd-kit/core";
|
|
15
|
+
import { useSortable as st, sortableKeyboardCoordinates as rt, arrayMove as ct, SortableContext as at, verticalListSortingStrategy as dt } from "@dnd-kit/sortable";
|
|
16
|
+
import { CSS as ut } from "@dnd-kit/utilities";
|
|
17
17
|
const ve = {
|
|
18
18
|
title: {
|
|
19
19
|
container: {
|
|
@@ -31,276 +31,268 @@ const ve = {
|
|
|
31
31
|
}) => n(1)
|
|
32
32
|
}
|
|
33
33
|
};
|
|
34
|
-
function
|
|
35
|
-
const e =
|
|
34
|
+
function Ln(n) {
|
|
35
|
+
const e = N(48), {
|
|
36
36
|
id: t,
|
|
37
|
-
labels:
|
|
38
|
-
children:
|
|
39
|
-
Icon:
|
|
40
|
-
IconButtonProps:
|
|
37
|
+
labels: c,
|
|
38
|
+
children: u,
|
|
39
|
+
Icon: s,
|
|
40
|
+
IconButtonProps: f,
|
|
41
41
|
DialogContentProps: T
|
|
42
42
|
} = n;
|
|
43
|
+
let S;
|
|
44
|
+
e[0] !== T ? (S = T === void 0 ? {} : T, e[0] = T, e[1] = S) : S = e[1];
|
|
45
|
+
let a, m;
|
|
46
|
+
e[2] !== S ? ({
|
|
47
|
+
sx: m,
|
|
48
|
+
...a
|
|
49
|
+
} = S, e[2] = S, e[3] = a, e[4] = m) : (a = e[3], m = e[4]);
|
|
50
|
+
let i;
|
|
51
|
+
e[5] !== t ? (i = (x) => x.getWidget(t)?.isFullScreen, e[5] = t, e[6] = i) : i = e[6];
|
|
52
|
+
const g = D(Q(i));
|
|
53
|
+
let r;
|
|
54
|
+
e[7] !== t ? (r = (x) => x.getWidget(t)?.title, e[7] = t, e[8] = r) : r = e[8];
|
|
55
|
+
const O = D(Q(r)), o = D(ft);
|
|
43
56
|
let h;
|
|
44
|
-
e[
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
sx: S,
|
|
48
|
-
...f
|
|
49
|
-
} = h, e[2] = h, e[3] = f, e[4] = S) : (f = e[3], S = e[4]);
|
|
50
|
-
let s;
|
|
51
|
-
e[5] !== t ? (s = (R) => {
|
|
52
|
-
const w = R.getWidget(t);
|
|
53
|
-
return {
|
|
54
|
-
isFullScreen: w?.isFullScreen,
|
|
55
|
-
title: w?.title
|
|
56
|
-
};
|
|
57
|
-
}, e[5] = t, e[6] = s) : s = e[6];
|
|
58
|
-
const {
|
|
59
|
-
isFullScreen: r,
|
|
60
|
-
title: u
|
|
61
|
-
} = z(X(s)), i = z(at);
|
|
62
|
-
let c;
|
|
63
|
-
e[7] !== t || e[8] !== i ? (c = (R) => {
|
|
64
|
-
i(t, {
|
|
65
|
-
isFullScreen: R.isFullScreen
|
|
57
|
+
e[9] !== t || e[10] !== o ? (h = (x) => {
|
|
58
|
+
o(t, {
|
|
59
|
+
isFullScreen: x.isFullScreen
|
|
66
60
|
});
|
|
67
|
-
}, e[
|
|
68
|
-
const
|
|
69
|
-
let
|
|
70
|
-
e[
|
|
61
|
+
}, e[9] = t, e[10] = o, e[11] = h) : h = e[11];
|
|
62
|
+
const l = h;
|
|
63
|
+
let b;
|
|
64
|
+
e[12] !== l ? (b = () => l({
|
|
71
65
|
isFullScreen: !0
|
|
72
|
-
}), e[
|
|
73
|
-
let
|
|
74
|
-
e[
|
|
75
|
-
let
|
|
76
|
-
e[
|
|
77
|
-
const
|
|
78
|
-
let
|
|
79
|
-
e[
|
|
66
|
+
}), e[12] = l, e[13] = b) : b = e[13];
|
|
67
|
+
let y;
|
|
68
|
+
e[14] !== s ? (y = s ?? /* @__PURE__ */ p(He, {}), e[14] = s, e[15] = y) : y = e[15];
|
|
69
|
+
let v;
|
|
70
|
+
e[16] !== f || e[17] !== b || e[18] !== y ? (v = /* @__PURE__ */ p(q, { ...f, onClick: b, children: y }), e[16] = f, e[17] = b, e[18] = y, e[19] = v) : v = e[19];
|
|
71
|
+
const d = !!g, z = c?.ariaLabel ?? `fullscreen-dialog-title-${t}`;
|
|
72
|
+
let C;
|
|
73
|
+
e[20] !== l ? (C = () => l({
|
|
80
74
|
isFullScreen: !1
|
|
81
|
-
}), e[
|
|
82
|
-
const
|
|
75
|
+
}), e[20] = l, e[21] = C) : C = e[21];
|
|
76
|
+
const k = `fullscreen-dialog-title-${t}`;
|
|
83
77
|
let L;
|
|
84
|
-
e[
|
|
85
|
-
let
|
|
86
|
-
e[
|
|
78
|
+
e[22] !== O ? (L = /* @__PURE__ */ p(Ae, { variant: "subtitle1", component: "span", children: O }), e[22] = O, e[23] = L) : L = e[23];
|
|
79
|
+
let _;
|
|
80
|
+
e[24] !== l ? (_ = () => l({
|
|
87
81
|
isFullScreen: !1
|
|
88
|
-
}), e[
|
|
89
|
-
let
|
|
90
|
-
e[
|
|
91
|
-
let y;
|
|
92
|
-
e[25] !== v ? (y = /* @__PURE__ */ b(Q, { onClick: v, children: F }), e[25] = v, e[26] = y) : y = e[26];
|
|
82
|
+
}), e[24] = l, e[25] = _) : _ = e[25];
|
|
83
|
+
let w;
|
|
84
|
+
e[26] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (w = /* @__PURE__ */ p(je, {}), e[26] = w) : w = e[26];
|
|
93
85
|
let E;
|
|
94
|
-
e[27] !==
|
|
95
|
-
L,
|
|
96
|
-
y
|
|
97
|
-
] }), e[27] = I, e[28] = L, e[29] = y, e[30] = E) : E = e[30];
|
|
86
|
+
e[27] !== _ ? (E = /* @__PURE__ */ p(q, { onClick: _, children: w }), e[27] = _, e[28] = E) : E = e[28];
|
|
98
87
|
let $;
|
|
99
|
-
e[31] !==
|
|
88
|
+
e[29] !== k || e[30] !== L || e[31] !== E ? ($ = /* @__PURE__ */ oe(Be, { id: k, sx: ve.title.container, children: [
|
|
89
|
+
L,
|
|
90
|
+
E
|
|
91
|
+
] }), e[29] = k, e[30] = L, e[31] = E, e[32] = $) : $ = e[32];
|
|
92
|
+
let A;
|
|
93
|
+
e[33] !== m ? (A = {
|
|
100
94
|
...ve.content,
|
|
101
|
-
...
|
|
102
|
-
}, e[
|
|
95
|
+
...m
|
|
96
|
+
}, e[33] = m, e[34] = A) : A = e[34];
|
|
97
|
+
let I;
|
|
98
|
+
e[35] !== a || e[36] !== u || e[37] !== A ? (I = /* @__PURE__ */ p(ze, { sx: A, ...a, children: u }), e[35] = a, e[36] = u, e[37] = A, e[38] = I) : I = e[38];
|
|
103
99
|
let W;
|
|
104
|
-
e[
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
100
|
+
e[39] !== z || e[40] !== C || e[41] !== $ || e[42] !== I || e[43] !== d ? (W = /* @__PURE__ */ oe(Pe, { maxWidth: !1, open: d, "aria-labelledby": z, onClose: C, children: [
|
|
101
|
+
$,
|
|
102
|
+
I
|
|
103
|
+
] }), e[39] = z, e[40] = C, e[41] = $, e[42] = I, e[43] = d, e[44] = W) : W = e[44];
|
|
104
|
+
let F;
|
|
105
|
+
return e[45] !== W || e[46] !== v ? (F = /* @__PURE__ */ oe(pe, { children: [
|
|
106
|
+
v,
|
|
108
107
|
W
|
|
109
|
-
] }), e[
|
|
110
|
-
let O;
|
|
111
|
-
return e[43] !== A || e[44] !== m ? (O = /* @__PURE__ */ le(Se, { children: [
|
|
112
|
-
m,
|
|
113
|
-
A
|
|
114
|
-
] }), e[43] = A, e[44] = m, e[45] = O) : O = e[45], O;
|
|
108
|
+
] }), e[45] = W, e[46] = v, e[47] = F) : F = e[47], F;
|
|
115
109
|
}
|
|
116
|
-
function
|
|
110
|
+
function ft(n) {
|
|
117
111
|
return n.setWidget;
|
|
118
112
|
}
|
|
119
|
-
function
|
|
120
|
-
const e =
|
|
113
|
+
function wn(n) {
|
|
114
|
+
const e = N(35), {
|
|
121
115
|
id: t,
|
|
122
|
-
items:
|
|
123
|
-
labels:
|
|
124
|
-
Icon:
|
|
125
|
-
IconButtonProps:
|
|
116
|
+
items: c,
|
|
117
|
+
labels: u,
|
|
118
|
+
Icon: s,
|
|
119
|
+
IconButtonProps: f
|
|
126
120
|
} = n;
|
|
127
121
|
let T;
|
|
128
|
-
e[0] !==
|
|
129
|
-
const
|
|
130
|
-
let
|
|
131
|
-
e[2] !== t ? (
|
|
132
|
-
const
|
|
133
|
-
let
|
|
134
|
-
e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
135
|
-
|
|
136
|
-
}, e[4] =
|
|
137
|
-
const
|
|
138
|
-
let
|
|
139
|
-
e[5] !== t ? (
|
|
122
|
+
e[0] !== u ? (T = u === void 0 ? {} : u, e[0] = u, e[1] = T) : T = e[1];
|
|
123
|
+
const S = T;
|
|
124
|
+
let a;
|
|
125
|
+
e[2] !== t ? (a = (x) => x.getWidget(t)?.data, e[2] = t, e[3] = a) : a = e[3];
|
|
126
|
+
const m = D(Q(a)), [i, g] = fe(!1), [r, O] = fe(null);
|
|
127
|
+
let o;
|
|
128
|
+
e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (o = (x) => {
|
|
129
|
+
x.stopPropagation(), O(x.currentTarget);
|
|
130
|
+
}, e[4] = o) : o = e[4];
|
|
131
|
+
const h = o;
|
|
132
|
+
let l;
|
|
133
|
+
e[5] !== t ? (l = (x, B) => {
|
|
140
134
|
const P = document.createElement("a");
|
|
141
|
-
P.href =
|
|
142
|
-
}, e[5] = t, e[6] =
|
|
143
|
-
const
|
|
144
|
-
let
|
|
145
|
-
e[7] !==
|
|
146
|
-
|
|
147
|
-
const P = await
|
|
135
|
+
P.href = x, P.download = B.filename ?? t, P.style.display = "none", document.body.appendChild(P), P.click(), document.body.removeChild(P), B.callback?.(P.href);
|
|
136
|
+
}, e[5] = t, e[6] = l) : l = e[6];
|
|
137
|
+
const b = l;
|
|
138
|
+
let y;
|
|
139
|
+
e[7] !== m || e[8] !== b ? (y = async (x, B) => {
|
|
140
|
+
x.stopPropagation(), g(!0), O(null);
|
|
141
|
+
const P = await B.modifier(m);
|
|
148
142
|
if (!P) {
|
|
149
|
-
|
|
143
|
+
g(!1);
|
|
150
144
|
return;
|
|
151
145
|
}
|
|
152
|
-
|
|
153
|
-
}, e[7] =
|
|
154
|
-
const
|
|
146
|
+
b(P, B), g(!1);
|
|
147
|
+
}, e[7] = m, e[8] = b, e[9] = y) : y = e[9];
|
|
148
|
+
const v = y, d = S.ariaLabel ?? "download options", z = i || c.length === 0, C = i || r ? "active" : "";
|
|
149
|
+
let k;
|
|
150
|
+
e[10] !== s || e[11] !== i ? (k = i ? /* @__PURE__ */ p(Fe, { size: 18, color: "inherit" }) : s ?? /* @__PURE__ */ p(Ne, {}), e[10] = s, e[11] = i, e[12] = k) : k = e[12];
|
|
155
151
|
let L;
|
|
156
|
-
e[
|
|
157
|
-
let
|
|
158
|
-
e[
|
|
159
|
-
let F, y;
|
|
160
|
-
e[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (F = {
|
|
152
|
+
e[13] !== f || e[14] !== k || e[15] !== d || e[16] !== z || e[17] !== C ? (L = /* @__PURE__ */ p(q, { size: "small", "aria-label": d, "aria-controls": "options-menu", "aria-haspopup": "true", onClick: h, ...f, disabled: z, className: C, children: k }), e[13] = f, e[14] = k, e[15] = d, e[16] = z, e[17] = C, e[18] = L) : L = e[18];
|
|
153
|
+
let _, w;
|
|
154
|
+
e[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (_ = {
|
|
161
155
|
vertical: "bottom",
|
|
162
156
|
horizontal: "right"
|
|
163
|
-
},
|
|
157
|
+
}, w = {
|
|
164
158
|
vertical: "top",
|
|
165
159
|
horizontal: "right"
|
|
166
|
-
}, e[19] =
|
|
167
|
-
const E = !!
|
|
168
|
-
let $,
|
|
169
|
-
e[21] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? ($ = () =>
|
|
160
|
+
}, e[19] = _, e[20] = w) : (_ = e[19], w = e[20]);
|
|
161
|
+
const E = !!r;
|
|
162
|
+
let $, A;
|
|
163
|
+
e[21] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? ($ = () => O(null), A = {
|
|
170
164
|
sx: {
|
|
171
165
|
paddingBottom: 0
|
|
172
166
|
}
|
|
173
|
-
}, e[21] = $, e[22] =
|
|
174
|
-
let
|
|
175
|
-
if (e[23] !==
|
|
176
|
-
let
|
|
177
|
-
e[26] !==
|
|
178
|
-
|
|
167
|
+
}, e[21] = $, e[22] = A) : ($ = e[21], A = e[22]);
|
|
168
|
+
let I;
|
|
169
|
+
if (e[23] !== v || e[24] !== c) {
|
|
170
|
+
let x;
|
|
171
|
+
e[26] !== v ? (x = (B) => /* @__PURE__ */ oe(Ie, { disabled: B.disabled, onClick: (P) => {
|
|
172
|
+
v(P, B);
|
|
179
173
|
}, children: [
|
|
180
|
-
|
|
174
|
+
B.icon && /* @__PURE__ */ p(Re, { sx: {
|
|
181
175
|
color: "text.primary"
|
|
182
|
-
}, children:
|
|
183
|
-
/* @__PURE__ */
|
|
184
|
-
] },
|
|
176
|
+
}, children: B.icon }),
|
|
177
|
+
/* @__PURE__ */ p(xe, { children: B.label })
|
|
178
|
+
] }, B.id), e[26] = v, e[27] = x) : x = e[27], I = c.map(x), e[23] = v, e[24] = c, e[25] = I;
|
|
185
179
|
} else
|
|
186
|
-
|
|
187
|
-
let
|
|
188
|
-
e[28] !==
|
|
189
|
-
let
|
|
190
|
-
return e[32] !==
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
] }), e[32] =
|
|
180
|
+
I = e[25];
|
|
181
|
+
let W;
|
|
182
|
+
e[28] !== r || e[29] !== E || e[30] !== I ? (W = /* @__PURE__ */ p(ye, { variant: "menu", elevation: 8, anchorOrigin: _, transformOrigin: w, anchorEl: r, open: E, onClose: $, MenuListProps: A, children: I }), e[28] = r, e[29] = E, e[30] = I, e[31] = W) : W = e[31];
|
|
183
|
+
let F;
|
|
184
|
+
return e[32] !== L || e[33] !== W ? (F = /* @__PURE__ */ oe(pe, { children: [
|
|
185
|
+
L,
|
|
186
|
+
W
|
|
187
|
+
] }), e[32] = L, e[33] = W, e[34] = F) : F = e[34], F;
|
|
194
188
|
}
|
|
195
|
-
const
|
|
189
|
+
const de = {
|
|
196
190
|
trigger: {
|
|
197
191
|
'&[data-active="true"]': {
|
|
198
192
|
background: (n) => n.palette.primary.relatedLight
|
|
199
193
|
}
|
|
200
194
|
}
|
|
201
195
|
};
|
|
202
|
-
function
|
|
203
|
-
return n.reduce((e, t) => t.reduce((
|
|
204
|
-
if (Array.isArray(
|
|
205
|
-
const
|
|
206
|
-
return typeof
|
|
196
|
+
function mt(n) {
|
|
197
|
+
return n.reduce((e, t) => t.reduce((c, u) => {
|
|
198
|
+
if (Array.isArray(u)) {
|
|
199
|
+
const s = u.at(-1);
|
|
200
|
+
return typeof s == "number" ? c + s : c;
|
|
207
201
|
}
|
|
208
|
-
return Object.entries(
|
|
202
|
+
return Object.entries(u).reduce((s, [f, T]) => f === "name" ? s : typeof T == "number" ? s + T : s, c);
|
|
209
203
|
}, e), 0);
|
|
210
204
|
}
|
|
211
|
-
function
|
|
212
|
-
return e === 0 ? n : n.map((t) => t.map((
|
|
213
|
-
if (Array.isArray(
|
|
214
|
-
return
|
|
215
|
-
const
|
|
216
|
-
for (const [
|
|
217
|
-
if (
|
|
218
|
-
|
|
205
|
+
function gt(n, e) {
|
|
206
|
+
return e === 0 ? n : n.map((t) => t.map((c) => {
|
|
207
|
+
if (Array.isArray(c))
|
|
208
|
+
return c.map((s, f) => f === c.length - 1 && typeof s == "number" ? s / e * 100 : s);
|
|
209
|
+
const u = {};
|
|
210
|
+
for (const [s, f] of Object.entries(c)) {
|
|
211
|
+
if (s === "name") {
|
|
212
|
+
u[s] = f;
|
|
219
213
|
continue;
|
|
220
214
|
}
|
|
221
|
-
|
|
215
|
+
u[s] = typeof f == "number" ? f / e * 100 : f;
|
|
222
216
|
}
|
|
223
|
-
return
|
|
217
|
+
return u;
|
|
224
218
|
}));
|
|
225
219
|
}
|
|
226
|
-
const
|
|
227
|
-
function
|
|
228
|
-
const e =
|
|
220
|
+
const ae = "relative-data";
|
|
221
|
+
function Dn(n) {
|
|
222
|
+
const e = N(27), {
|
|
229
223
|
id: t,
|
|
230
|
-
order:
|
|
231
|
-
defaultIsRelative:
|
|
232
|
-
labels:
|
|
233
|
-
Icon:
|
|
224
|
+
order: c,
|
|
225
|
+
defaultIsRelative: u,
|
|
226
|
+
labels: s,
|
|
227
|
+
Icon: f,
|
|
234
228
|
IconButtonProps: T
|
|
235
|
-
} = n,
|
|
236
|
-
let
|
|
237
|
-
e[0] !== t ? (
|
|
238
|
-
const
|
|
239
|
-
let
|
|
240
|
-
e[2] !==
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
const R = !m;
|
|
259
|
-
let w = S.current;
|
|
260
|
-
if (R) {
|
|
261
|
-
const D = u(t);
|
|
262
|
-
s.current = D?.formatter;
|
|
263
|
-
const P = u(t)?.max;
|
|
264
|
-
S.current = P, w = 100;
|
|
229
|
+
} = n, S = c === void 0 ? 10 : c, a = u === void 0 ? !1 : u, m = ce(void 0), i = ce(void 0), g = D(Ct), r = D(vt), O = D(_t), o = D(St), h = D(Tt);
|
|
230
|
+
let l;
|
|
231
|
+
e[0] !== t ? (l = ($) => ($.getWidget(t)?.registeredTools ?? []).find(bt), e[0] = t, e[1] = l) : l = e[1];
|
|
232
|
+
const y = D(Q(l))?.enabled ?? a;
|
|
233
|
+
let v, d;
|
|
234
|
+
e[2] !== a || e[3] !== r || e[4] !== t || e[5] !== S || e[6] !== O || e[7] !== o ? (v = () => {
|
|
235
|
+
const A = r(t)?.registeredTools?.find(ht)?.enabled ?? a;
|
|
236
|
+
return O(t, {
|
|
237
|
+
id: ae,
|
|
238
|
+
order: S,
|
|
239
|
+
enabled: A,
|
|
240
|
+
fn: pt
|
|
241
|
+
}), () => o(t, ae);
|
|
242
|
+
}, d = [t, S, O, o, a, r], e[2] = a, e[3] = r, e[4] = t, e[5] = S, e[6] = O, e[7] = o, e[8] = v, e[9] = d) : (v = e[8], d = e[9]), ee(v, d);
|
|
243
|
+
let z;
|
|
244
|
+
e[10] !== r || e[11] !== t || e[12] !== y || e[13] !== h || e[14] !== g ? (z = () => {
|
|
245
|
+
const $ = !y;
|
|
246
|
+
let A = m.current;
|
|
247
|
+
if ($) {
|
|
248
|
+
const I = r(t);
|
|
249
|
+
i.current = I?.formatter;
|
|
250
|
+
const W = r(t)?.max;
|
|
251
|
+
m.current = W, A = 100;
|
|
265
252
|
}
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
return new Intl.NumberFormat(P?.locale, {
|
|
253
|
+
h(t, ae, $), g(t, {
|
|
254
|
+
max: A,
|
|
255
|
+
formatter: $ ? (I) => {
|
|
256
|
+
const W = r(t);
|
|
257
|
+
return new Intl.NumberFormat(W?.locale, {
|
|
272
258
|
style: "percent",
|
|
273
259
|
minimumFractionDigits: 1,
|
|
274
260
|
maximumFractionDigits: 1
|
|
275
|
-
}).format(
|
|
276
|
-
} :
|
|
261
|
+
}).format(I / 100);
|
|
262
|
+
} : i.current
|
|
277
263
|
});
|
|
278
|
-
}, e[
|
|
279
|
-
const
|
|
280
|
-
let
|
|
281
|
-
e[
|
|
282
|
-
let
|
|
283
|
-
e[
|
|
284
|
-
let
|
|
285
|
-
return e[
|
|
264
|
+
}, e[10] = r, e[11] = t, e[12] = y, e[13] = h, e[14] = g, e[15] = z) : z = e[15];
|
|
265
|
+
const C = z, k = y ? s?.absolute ?? "Show absolute values" : s?.relative ?? "Show relative values", L = s?.ariaLabel ?? k;
|
|
266
|
+
let _;
|
|
267
|
+
e[16] !== f ? (_ = f ?? /* @__PURE__ */ p(Ke, {}), e[16] = f, e[17] = _) : _ = e[17];
|
|
268
|
+
let w;
|
|
269
|
+
e[18] !== T || e[19] !== C || e[20] !== y || e[21] !== L || e[22] !== _ ? (w = /* @__PURE__ */ p(q, { size: "small", "aria-label": L, onClick: C, sx: de.trigger, "data-active": y, ...T, children: _ }), e[18] = T, e[19] = C, e[20] = y, e[21] = L, e[22] = _, e[23] = w) : w = e[23];
|
|
270
|
+
let E;
|
|
271
|
+
return e[24] !== w || e[25] !== k ? (E = /* @__PURE__ */ p(le, { title: k, children: w }), e[24] = w, e[25] = k, e[26] = E) : E = e[26], E;
|
|
286
272
|
}
|
|
287
|
-
function
|
|
288
|
-
const e = n, t =
|
|
289
|
-
return
|
|
273
|
+
function pt(n) {
|
|
274
|
+
const e = n, t = mt(e);
|
|
275
|
+
return gt(e, t);
|
|
290
276
|
}
|
|
291
|
-
function
|
|
277
|
+
function ht(n) {
|
|
278
|
+
return n.id === ae;
|
|
279
|
+
}
|
|
280
|
+
function bt(n) {
|
|
281
|
+
return n.id === ae;
|
|
282
|
+
}
|
|
283
|
+
function Tt(n) {
|
|
292
284
|
return n.setToolEnabled;
|
|
293
285
|
}
|
|
294
|
-
function
|
|
286
|
+
function St(n) {
|
|
295
287
|
return n.unregisterTool;
|
|
296
288
|
}
|
|
297
|
-
function
|
|
289
|
+
function _t(n) {
|
|
298
290
|
return n.registerTool;
|
|
299
291
|
}
|
|
300
|
-
function
|
|
292
|
+
function vt(n) {
|
|
301
293
|
return n.getWidget;
|
|
302
294
|
}
|
|
303
|
-
function
|
|
295
|
+
function Ct(n) {
|
|
304
296
|
return n.setWidget;
|
|
305
297
|
}
|
|
306
298
|
const Ce = {
|
|
@@ -316,638 +308,620 @@ const Ce = {
|
|
|
316
308
|
background: (n) => n.palette.primary.relatedLight
|
|
317
309
|
}
|
|
318
310
|
}
|
|
319
|
-
},
|
|
320
|
-
function
|
|
321
|
-
const e =
|
|
311
|
+
}, J = "zoom-toggle";
|
|
312
|
+
function On(n) {
|
|
313
|
+
const e = N(50), {
|
|
322
314
|
id: t,
|
|
323
|
-
defaultZoom:
|
|
324
|
-
defaultZoomStart:
|
|
325
|
-
defaultZoomEnd:
|
|
326
|
-
labels:
|
|
315
|
+
defaultZoom: c,
|
|
316
|
+
defaultZoomStart: u,
|
|
317
|
+
defaultZoomEnd: s,
|
|
318
|
+
labels: f,
|
|
327
319
|
Icon: T,
|
|
328
|
-
ResetIcon:
|
|
329
|
-
IconButtonProps:
|
|
330
|
-
} = n,
|
|
331
|
-
let
|
|
332
|
-
e[0] !== t ? (
|
|
333
|
-
const
|
|
334
|
-
let
|
|
335
|
-
e[2] !==
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
320
|
+
ResetIcon: S,
|
|
321
|
+
IconButtonProps: a
|
|
322
|
+
} = n, m = c === void 0 ? !1 : c, i = u === void 0 ? 0 : u, g = s === void 0 ? 100 : s, r = Ze(), O = D(Lt), o = D($t), h = D(Et), l = D(kt), b = D(yt);
|
|
323
|
+
let y;
|
|
324
|
+
e[0] !== t ? (y = (R) => (R.getWidget(t)?.registeredTools ?? []).find(xt), e[0] = t, e[1] = y) : y = e[1];
|
|
325
|
+
const v = D(Q(y)), d = v?.enabled ?? m, z = v?.config?.start ?? i, C = v?.config?.end ?? g;
|
|
326
|
+
let k;
|
|
327
|
+
e[2] !== t || e[3] !== l || e[4] !== b ? (k = (R) => {
|
|
328
|
+
const H = R, U = H.start ?? H.batch?.[0]?.start, Y = H.end ?? H.batch?.[0]?.end;
|
|
329
|
+
U !== void 0 && Y !== void 0 && (l(t, J, !0), b(t, J, {
|
|
330
|
+
enabled: !0,
|
|
331
|
+
start: U,
|
|
332
|
+
end: Y
|
|
333
|
+
}));
|
|
334
|
+
}, e[2] = t, e[3] = l, e[4] = b, e[5] = k) : k = e[5];
|
|
335
|
+
const L = k;
|
|
336
|
+
let _, w;
|
|
337
|
+
e[6] !== m || e[7] !== g || e[8] !== i || e[9] !== O || e[10] !== L || e[11] !== t || e[12] !== o || e[13] !== r || e[14] !== h ? (_ = () => {
|
|
338
|
+
const R = O(t)?.registeredTools?.find(It), H = R?.enabled ?? m, U = R?.config?.start ?? i, Y = R?.config?.end ?? g;
|
|
339
|
+
return o(t, {
|
|
340
|
+
id: J,
|
|
341
|
+
type: "config",
|
|
342
|
+
order: 20,
|
|
343
|
+
enabled: H,
|
|
344
|
+
fn: (ie, j) => {
|
|
345
|
+
const te = ie, re = te.option, me = te.onEvents ?? {}, ge = j?.enabled ?? !1, Ee = j?.start ?? 0, $e = j?.end ?? 100, he = re?.legend, Le = he?.show !== !1 && he !== void 0, we = parseInt(r?.spacing?.(4) ?? "32"), De = Qe(ge, {
|
|
346
|
+
start: Ee,
|
|
347
|
+
end: $e
|
|
348
|
+
}, {
|
|
349
|
+
inside: !0,
|
|
350
|
+
xSlider: !0,
|
|
351
|
+
ySlider: !1,
|
|
352
|
+
bottomOffset: Le ? 28 : 0
|
|
353
|
+
}, r), ue = re?.grid, be = typeof ue?.bottom == "number" ? ue.bottom : parseInt(ue?.bottom ?? "24"), Oe = ge ? be + we + 8 : be, Te = {
|
|
354
|
+
...me
|
|
355
|
+
};
|
|
356
|
+
delete Te.dataZoom;
|
|
357
|
+
const We = ge ? {
|
|
358
358
|
...me,
|
|
359
|
-
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
e[25] !== S || e[26] !== r || e[27] !== s || e[28] !== c || e[29] !== t || e[30] !== i ? (W = () => {
|
|
379
|
-
const V = c(t);
|
|
380
|
-
V?.zoom || i(t, {
|
|
381
|
-
zoom: V?.zoom ?? S,
|
|
382
|
-
zoomStart: V?.zoomStart ?? s,
|
|
383
|
-
zoomEnd: V?.zoomEnd ?? r
|
|
384
|
-
});
|
|
385
|
-
}, A = [S, r, s, c, t, i], e[25] = S, e[26] = r, e[27] = s, e[28] = c, e[29] = t, e[30] = i, e[31] = W, e[32] = A) : (W = e[31], A = e[32]), Z(W, A);
|
|
386
|
-
let O, R;
|
|
387
|
-
e[33] !== t || e[34] !== i ? (O = () => () => {
|
|
388
|
-
i(t, {
|
|
389
|
-
zoom: !1
|
|
390
|
-
});
|
|
391
|
-
}, R = [t, i], e[33] = t, e[34] = i, e[35] = O, e[36] = R) : (O = e[35], R = e[36]), Z(O, R);
|
|
392
|
-
let w;
|
|
393
|
-
e[37] !== r || e[38] !== s || e[39] !== c || e[40] !== t || e[41] !== i || e[42] !== l ? (w = () => {
|
|
394
|
-
const V = !l, K = c(t);
|
|
395
|
-
i(t, {
|
|
396
|
-
zoom: V,
|
|
397
|
-
zoomStart: V ? K?.zoomStart ?? s : 0,
|
|
398
|
-
zoomEnd: V ? K?.zoomEnd ?? r : 100
|
|
399
|
-
});
|
|
400
|
-
}, e[37] = r, e[38] = s, e[39] = c, e[40] = t, e[41] = i, e[42] = l, e[43] = w) : w = e[43];
|
|
401
|
-
const D = w;
|
|
402
|
-
let P;
|
|
403
|
-
e[44] !== r || e[45] !== s || e[46] !== t || e[47] !== i ? (P = () => {
|
|
404
|
-
i(t, {
|
|
405
|
-
zoom: !0,
|
|
406
|
-
zoomStart: s,
|
|
407
|
-
zoomEnd: r
|
|
408
|
-
});
|
|
409
|
-
}, e[44] = r, e[45] = s, e[46] = t, e[47] = i, e[48] = P) : P = e[48];
|
|
410
|
-
const M = P;
|
|
411
|
-
let B;
|
|
412
|
-
e[49] !== t || e[50] !== i ? (B = (V) => {
|
|
413
|
-
const K = V, re = K.start, me = K.end;
|
|
414
|
-
re !== void 0 && me !== void 0 && i(t, {
|
|
415
|
-
zoom: !0,
|
|
416
|
-
zoomStart: re,
|
|
417
|
-
zoomEnd: me
|
|
418
|
-
});
|
|
419
|
-
}, e[49] = t, e[50] = i, e[51] = B) : B = e[51];
|
|
420
|
-
const G = B;
|
|
421
|
-
let H, Y;
|
|
422
|
-
e[52] !== G || e[53] !== t || e[54] !== i || e[55] !== l ? (H = () => {
|
|
423
|
-
l && i(t, {
|
|
424
|
-
onEvents: {
|
|
425
|
-
dataZoom: G
|
|
359
|
+
dataZoom: L
|
|
360
|
+
} : Te;
|
|
361
|
+
return {
|
|
362
|
+
...te,
|
|
363
|
+
option: {
|
|
364
|
+
...re,
|
|
365
|
+
...De,
|
|
366
|
+
grid: {
|
|
367
|
+
...ue,
|
|
368
|
+
bottom: Oe
|
|
369
|
+
}
|
|
370
|
+
},
|
|
371
|
+
onEvents: We
|
|
372
|
+
};
|
|
373
|
+
},
|
|
374
|
+
config: {
|
|
375
|
+
enabled: H,
|
|
376
|
+
start: U,
|
|
377
|
+
end: Y
|
|
426
378
|
}
|
|
379
|
+
}), () => h(t, J);
|
|
380
|
+
}, w = [m, g, i, O, L, t, o, r, h], e[6] = m, e[7] = g, e[8] = i, e[9] = O, e[10] = L, e[11] = t, e[12] = o, e[13] = r, e[14] = h, e[15] = _, e[16] = w) : (_ = e[15], w = e[16]), ee(_, w);
|
|
381
|
+
let E;
|
|
382
|
+
e[17] !== t || e[18] !== l || e[19] !== b || e[20] !== d || e[21] !== C || e[22] !== z ? (E = () => {
|
|
383
|
+
const R = !d;
|
|
384
|
+
l(t, J, R), b(t, J, {
|
|
385
|
+
enabled: R,
|
|
386
|
+
start: R ? z : 0,
|
|
387
|
+
end: R ? C : 100
|
|
427
388
|
});
|
|
428
|
-
},
|
|
429
|
-
const
|
|
430
|
-
let
|
|
431
|
-
e[
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
] }), e[
|
|
389
|
+
}, e[17] = t, e[18] = l, e[19] = b, e[20] = d, e[21] = C, e[22] = z, e[23] = E) : E = e[23];
|
|
390
|
+
const $ = E;
|
|
391
|
+
let A;
|
|
392
|
+
e[24] !== g || e[25] !== i || e[26] !== t || e[27] !== l || e[28] !== b ? (A = () => {
|
|
393
|
+
l(t, J, !0), b(t, J, {
|
|
394
|
+
enabled: !0,
|
|
395
|
+
start: i,
|
|
396
|
+
end: g
|
|
397
|
+
});
|
|
398
|
+
}, e[24] = g, e[25] = i, e[26] = t, e[27] = l, e[28] = b, e[29] = A) : A = e[29];
|
|
399
|
+
const I = A, W = f?.enable ?? "Enable zoom", F = f?.disable ?? "Disable zoom", x = f?.reset ?? "Reset zoom", B = d ? F : W, P = f?.ariaLabel ?? B;
|
|
400
|
+
let Z;
|
|
401
|
+
e[30] !== T ? (Z = T ?? /* @__PURE__ */ p(Ye, {}), e[30] = T, e[31] = Z) : Z = e[31];
|
|
402
|
+
let V;
|
|
403
|
+
e[32] !== a || e[33] !== $ || e[34] !== P || e[35] !== Z || e[36] !== d ? (V = /* @__PURE__ */ p(q, { size: "small", "aria-label": P, onClick: $, sx: Ce.trigger, "data-active": d, ...a, children: Z }), e[32] = a, e[33] = $, e[34] = P, e[35] = Z, e[36] = d, e[37] = V) : V = e[37];
|
|
404
|
+
let M;
|
|
405
|
+
e[38] !== V || e[39] !== B ? (M = /* @__PURE__ */ p(le, { title: B, children: V }), e[38] = V, e[39] = B, e[40] = M) : M = e[40];
|
|
406
|
+
let G;
|
|
407
|
+
e[41] !== a || e[42] !== S || e[43] !== I || e[44] !== x || e[45] !== d ? (G = d && /* @__PURE__ */ p(le, { title: x, children: /* @__PURE__ */ p(q, { size: "small", "aria-label": x, onClick: I, ...a, children: S ?? /* @__PURE__ */ p(Ue, {}) }) }), e[41] = a, e[42] = S, e[43] = I, e[44] = x, e[45] = d, e[46] = G) : G = e[46];
|
|
408
|
+
let K;
|
|
409
|
+
return e[47] !== M || e[48] !== G ? (K = /* @__PURE__ */ oe(Me, { sx: Ce.container, children: [
|
|
410
|
+
M,
|
|
411
|
+
G
|
|
412
|
+
] }), e[47] = M, e[48] = G, e[49] = K) : K = e[49], K;
|
|
443
413
|
}
|
|
444
|
-
function
|
|
414
|
+
function It(n) {
|
|
415
|
+
return n.id === J;
|
|
416
|
+
}
|
|
417
|
+
function xt(n) {
|
|
418
|
+
return n.id === J;
|
|
419
|
+
}
|
|
420
|
+
function yt(n) {
|
|
445
421
|
return n.updateToolConfig;
|
|
446
422
|
}
|
|
447
|
-
function
|
|
423
|
+
function kt(n) {
|
|
448
424
|
return n.setToolEnabled;
|
|
449
425
|
}
|
|
450
|
-
function
|
|
426
|
+
function Et(n) {
|
|
451
427
|
return n.unregisterTool;
|
|
452
428
|
}
|
|
453
|
-
function
|
|
429
|
+
function $t(n) {
|
|
454
430
|
return n.registerTool;
|
|
455
431
|
}
|
|
456
|
-
function
|
|
432
|
+
function Lt(n) {
|
|
457
433
|
return n.getWidget;
|
|
458
434
|
}
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
}
|
|
462
|
-
const kt = () => {
|
|
463
|
-
const n = U(1);
|
|
435
|
+
const wt = () => {
|
|
436
|
+
const n = N(1);
|
|
464
437
|
let e;
|
|
465
|
-
return n[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */
|
|
466
|
-
},
|
|
467
|
-
function
|
|
468
|
-
const e =
|
|
438
|
+
return n[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ p("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ p("path", { d: "M4 20V8H8V20H4ZM9 20V13H13V20H9ZM16 20V4H20V20H16Z", fill: "currentColor" }) }), n[0] = e) : e = n[0], e;
|
|
439
|
+
}, se = "stack-toggle";
|
|
440
|
+
function Wn(n) {
|
|
441
|
+
const e = N(37), {
|
|
469
442
|
id: t,
|
|
470
|
-
defaultIsStacked:
|
|
471
|
-
labels:
|
|
472
|
-
Icon:
|
|
473
|
-
IconButtonProps:
|
|
474
|
-
} = n, T =
|
|
475
|
-
let
|
|
476
|
-
e[0] !== t ? (
|
|
477
|
-
const
|
|
478
|
-
let
|
|
479
|
-
e[2] !== t ? (
|
|
480
|
-
const
|
|
481
|
-
let
|
|
443
|
+
defaultIsStacked: c,
|
|
444
|
+
labels: u,
|
|
445
|
+
Icon: s,
|
|
446
|
+
IconButtonProps: f
|
|
447
|
+
} = n, T = c === void 0 ? !1 : c, S = D(Rt), a = D(Ft), m = D(Pt), i = D(Bt), g = D(At);
|
|
448
|
+
let r;
|
|
449
|
+
e[0] !== t ? (r = (I) => (I.getWidget(t)?.registeredTools ?? []).find(zt), e[0] = t, e[1] = r) : r = e[1];
|
|
450
|
+
const O = D(Q(r));
|
|
451
|
+
let o;
|
|
452
|
+
e[2] !== t ? (o = (I) => I.getWidget(t)?.option, e[2] = t, e[3] = o) : o = e[3];
|
|
453
|
+
const h = D(Q(o));
|
|
454
|
+
let l;
|
|
482
455
|
e: {
|
|
483
|
-
if (!
|
|
484
|
-
let
|
|
485
|
-
e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
456
|
+
if (!h) {
|
|
457
|
+
let P;
|
|
458
|
+
e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (P = {
|
|
486
459
|
hasMultiSeries: !1,
|
|
487
460
|
hasStackInSeries: !1
|
|
488
|
-
}, e[4] =
|
|
461
|
+
}, e[4] = P) : P = e[4], l = P;
|
|
489
462
|
break e;
|
|
490
463
|
}
|
|
491
|
-
let
|
|
492
|
-
e[5] !==
|
|
493
|
-
const
|
|
464
|
+
let I;
|
|
465
|
+
e[5] !== h.series ? (I = Array.isArray(h.series) ? h.series : [h.series], e[5] = h.series, e[6] = I) : I = e[6];
|
|
466
|
+
const W = I, F = W.length > 1;
|
|
467
|
+
let x;
|
|
468
|
+
e[7] !== W ? (x = W.some(Wt), e[7] = W, e[8] = x) : x = e[8];
|
|
494
469
|
let B;
|
|
495
|
-
e[
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
hasStackInSeries: B
|
|
500
|
-
}, e[9] = M, e[10] = B, e[11] = G) : G = e[11], k = G;
|
|
470
|
+
e[9] !== F || e[10] !== x ? (B = {
|
|
471
|
+
hasMultiSeries: F,
|
|
472
|
+
hasStackInSeries: x
|
|
473
|
+
}, e[9] = F, e[10] = x, e[11] = B) : B = e[11], l = B;
|
|
501
474
|
}
|
|
502
475
|
const {
|
|
503
|
-
hasMultiSeries:
|
|
504
|
-
hasStackInSeries:
|
|
505
|
-
} =
|
|
506
|
-
let
|
|
507
|
-
e[12] !==
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
i === void 0 && h(t, {
|
|
526
|
-
isStacked: C
|
|
527
|
-
});
|
|
528
|
-
}, F = [C, t, h, i], e[26] = C, e[27] = t, e[28] = h, e[29] = i, e[30] = F, e[31] = y) : (F = e[30], y = e[31]), Z(y, F);
|
|
529
|
-
let E;
|
|
530
|
-
e[32] !== t || e[33] !== l || e[34] !== h ? (E = () => {
|
|
531
|
-
h(t, {
|
|
532
|
-
isStacked: !l
|
|
476
|
+
hasMultiSeries: b,
|
|
477
|
+
hasStackInSeries: y
|
|
478
|
+
} = l, v = y || T, d = O?.config?.stacked ?? v;
|
|
479
|
+
let z, C;
|
|
480
|
+
e[12] !== v || e[13] !== S || e[14] !== b || e[15] !== t || e[16] !== a || e[17] !== m ? (z = () => {
|
|
481
|
+
const W = S(t)?.registeredTools?.find(Ot)?.config?.stacked ?? v;
|
|
482
|
+
return a(t, {
|
|
483
|
+
id: se,
|
|
484
|
+
type: "config",
|
|
485
|
+
order: 10,
|
|
486
|
+
enabled: W && b,
|
|
487
|
+
fn: Dt,
|
|
488
|
+
config: {
|
|
489
|
+
stacked: W
|
|
490
|
+
}
|
|
491
|
+
}), () => m(t, se);
|
|
492
|
+
}, C = [t, a, m, v, b, S], e[12] = v, e[13] = S, e[14] = b, e[15] = t, e[16] = a, e[17] = m, e[18] = z, e[19] = C) : (z = e[18], C = e[19]), ee(z, C);
|
|
493
|
+
let k;
|
|
494
|
+
e[20] !== b || e[21] !== t || e[22] !== d || e[23] !== i || e[24] !== g ? (k = () => {
|
|
495
|
+
const I = !d;
|
|
496
|
+
i(t, se, I && b), g(t, se, {
|
|
497
|
+
stacked: I
|
|
533
498
|
});
|
|
534
|
-
}, e[
|
|
535
|
-
const
|
|
536
|
-
if (!
|
|
499
|
+
}, e[20] = b, e[21] = t, e[22] = d, e[23] = i, e[24] = g, e[25] = k) : k = e[25];
|
|
500
|
+
const L = k, _ = d ? u?.unstacked ?? "Disable stacking" : u?.stacked ?? "Enable stacking";
|
|
501
|
+
if (!b)
|
|
537
502
|
return null;
|
|
538
|
-
const
|
|
539
|
-
let
|
|
540
|
-
e[
|
|
541
|
-
let
|
|
542
|
-
e[
|
|
543
|
-
let
|
|
544
|
-
return e[
|
|
503
|
+
const w = u?.ariaLabel ?? _;
|
|
504
|
+
let E;
|
|
505
|
+
e[26] !== s ? (E = s ?? /* @__PURE__ */ p(wt, {}), e[26] = s, e[27] = E) : E = e[27];
|
|
506
|
+
let $;
|
|
507
|
+
e[28] !== f || e[29] !== L || e[30] !== d || e[31] !== w || e[32] !== E ? ($ = /* @__PURE__ */ p(q, { size: "small", "aria-label": w, onClick: L, sx: de.trigger, "data-active": d, ...f, children: E }), e[28] = f, e[29] = L, e[30] = d, e[31] = w, e[32] = E, e[33] = $) : $ = e[33];
|
|
508
|
+
let A;
|
|
509
|
+
return e[34] !== $ || e[35] !== _ ? (A = /* @__PURE__ */ p(le, { title: _, children: $ }), e[34] = $, e[35] = _, e[36] = A) : A = e[36], A;
|
|
545
510
|
}
|
|
546
|
-
function
|
|
547
|
-
const t = n,
|
|
548
|
-
if (!
|
|
511
|
+
function Dt(n, e) {
|
|
512
|
+
const t = n, c = t.option;
|
|
513
|
+
if (!c)
|
|
549
514
|
return n;
|
|
550
|
-
const
|
|
551
|
-
const
|
|
515
|
+
const u = e?.stacked ?? !1, f = (Array.isArray(c.series) ? c.series : [c.series]).map((T) => {
|
|
516
|
+
const S = T?.stack;
|
|
552
517
|
return {
|
|
553
518
|
...T,
|
|
554
|
-
...
|
|
519
|
+
...Xe(u, typeof S == "string" ? S : et)
|
|
555
520
|
};
|
|
556
521
|
});
|
|
557
522
|
return {
|
|
558
523
|
...t,
|
|
559
524
|
option: {
|
|
560
|
-
...
|
|
561
|
-
series:
|
|
525
|
+
...c,
|
|
526
|
+
series: f
|
|
562
527
|
}
|
|
563
528
|
};
|
|
564
529
|
}
|
|
565
|
-
function
|
|
530
|
+
function Ot(n) {
|
|
531
|
+
return n.id === se;
|
|
532
|
+
}
|
|
533
|
+
function Wt(n) {
|
|
566
534
|
return n?.stack;
|
|
567
535
|
}
|
|
568
|
-
function
|
|
536
|
+
function zt(n) {
|
|
537
|
+
return n.id === se;
|
|
538
|
+
}
|
|
539
|
+
function At(n) {
|
|
569
540
|
return n.updateToolConfig;
|
|
570
541
|
}
|
|
571
|
-
function
|
|
542
|
+
function Bt(n) {
|
|
572
543
|
return n.setToolEnabled;
|
|
573
544
|
}
|
|
574
|
-
function
|
|
545
|
+
function Pt(n) {
|
|
575
546
|
return n.unregisterTool;
|
|
576
547
|
}
|
|
577
|
-
function
|
|
548
|
+
function Ft(n) {
|
|
578
549
|
return n.registerTool;
|
|
579
550
|
}
|
|
580
|
-
function
|
|
581
|
-
return n.
|
|
551
|
+
function Rt(n) {
|
|
552
|
+
return n.getWidget;
|
|
582
553
|
}
|
|
583
|
-
const
|
|
584
|
-
function
|
|
585
|
-
const e =
|
|
554
|
+
const X = "lock-selection";
|
|
555
|
+
function zn(n) {
|
|
556
|
+
const e = N(26), {
|
|
586
557
|
id: t,
|
|
587
|
-
selectedItems:
|
|
588
|
-
order:
|
|
589
|
-
labels:
|
|
590
|
-
Icon:
|
|
558
|
+
selectedItems: c,
|
|
559
|
+
order: u,
|
|
560
|
+
labels: s,
|
|
561
|
+
Icon: f,
|
|
591
562
|
IconButtonProps: T
|
|
592
|
-
} = n,
|
|
593
|
-
let
|
|
594
|
-
e[0] !== t ? (
|
|
595
|
-
const
|
|
596
|
-
let
|
|
597
|
-
e[2] !==
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
}
|
|
608
|
-
}
|
|
609
|
-
let
|
|
610
|
-
e[
|
|
611
|
-
|
|
612
|
-
lockedItems: _
|
|
613
|
-
});
|
|
614
|
-
}, x = [t, o, _, r, u], e[13] = t, e[14] = o, e[15] = _, e[16] = r, e[17] = u, e[18] = l, e[19] = x) : (l = e[18], x = e[19]), Z(l, x);
|
|
615
|
-
let I;
|
|
616
|
-
e[20] !== t || e[21] !== o || e[22] !== d || e[23] !== f ? (I = () => {
|
|
617
|
-
o ? f(t, {
|
|
618
|
-
isLocked: !1,
|
|
563
|
+
} = n, S = u === void 0 ? 30 : u, a = D(Kt), m = D(Nt), i = D(jt), g = D(Ht), r = D(Gt);
|
|
564
|
+
let O;
|
|
565
|
+
e[0] !== t ? (O = (_) => (_.getWidget(t)?.registeredTools ?? []).find(Vt), e[0] = t, e[1] = O) : O = e[1];
|
|
566
|
+
const h = D(Q(O))?.enabled ?? !1;
|
|
567
|
+
let l, b;
|
|
568
|
+
e[2] !== a || e[3] !== t || e[4] !== S || e[5] !== m || e[6] !== i ? (l = () => {
|
|
569
|
+
const _ = a(t)?.registeredTools?.find(Mt), w = _?.enabled ?? !1, E = _?.config?.lockedItems ?? [];
|
|
570
|
+
return m(t, {
|
|
571
|
+
id: X,
|
|
572
|
+
order: S,
|
|
573
|
+
enabled: w,
|
|
574
|
+
fn: Zt,
|
|
575
|
+
config: {
|
|
576
|
+
lockedItems: E
|
|
577
|
+
}
|
|
578
|
+
}), () => i(t, X);
|
|
579
|
+
}, b = [t, S, m, i, a], e[2] = a, e[3] = t, e[4] = S, e[5] = m, e[6] = i, e[7] = l, e[8] = b) : (l = e[7], b = e[8]), ee(l, b);
|
|
580
|
+
let y;
|
|
581
|
+
e[9] !== t || e[10] !== h || e[11] !== c || e[12] !== g || e[13] !== r ? (y = () => {
|
|
582
|
+
h ? (g(t, X, !1), r(t, X, {
|
|
619
583
|
lockedItems: []
|
|
620
|
-
}) :
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
if (d.length === 0)
|
|
584
|
+
})) : (g(t, X, !0), r(t, X, {
|
|
585
|
+
lockedItems: c
|
|
586
|
+
}));
|
|
587
|
+
}, e[9] = t, e[10] = h, e[11] = c, e[12] = g, e[13] = r, e[14] = y) : y = e[14];
|
|
588
|
+
const v = y;
|
|
589
|
+
if (c.length === 0)
|
|
627
590
|
return null;
|
|
628
|
-
const
|
|
629
|
-
let
|
|
630
|
-
e[
|
|
631
|
-
let
|
|
632
|
-
e[
|
|
633
|
-
let
|
|
634
|
-
return e[
|
|
591
|
+
const d = h ? s?.unlock ?? "Unlock selection" : s?.lock ?? "Lock selection", z = s?.ariaLabel ?? d;
|
|
592
|
+
let C;
|
|
593
|
+
e[15] !== f ? (C = f ?? /* @__PURE__ */ p(qe, { fontSize: "small" }), e[15] = f, e[16] = C) : C = e[16];
|
|
594
|
+
let k;
|
|
595
|
+
e[17] !== T || e[18] !== z || e[19] !== v || e[20] !== h || e[21] !== C ? (k = /* @__PURE__ */ p(q, { size: "small", "aria-label": z, onClick: v, sx: de.trigger, "data-active": h, ...T, children: C }), e[17] = T, e[18] = z, e[19] = v, e[20] = h, e[21] = C, e[22] = k) : k = e[22];
|
|
596
|
+
let L;
|
|
597
|
+
return e[23] !== k || e[24] !== d ? (L = /* @__PURE__ */ p(le, { title: d, children: k }), e[23] = k, e[24] = d, e[25] = L) : L = e[25], L;
|
|
635
598
|
}
|
|
636
|
-
function
|
|
599
|
+
function Zt(n, e) {
|
|
637
600
|
const t = e?.lockedItems || [];
|
|
638
|
-
return t.length === 0 ? n :
|
|
601
|
+
return t.length === 0 ? n : Ut(n, t);
|
|
639
602
|
}
|
|
640
|
-
function
|
|
603
|
+
function Mt(n) {
|
|
604
|
+
return n.id === X;
|
|
605
|
+
}
|
|
606
|
+
function Vt(n) {
|
|
607
|
+
return n.id === X;
|
|
608
|
+
}
|
|
609
|
+
function Gt(n) {
|
|
641
610
|
return n.updateToolConfig;
|
|
642
611
|
}
|
|
643
|
-
function
|
|
612
|
+
function Ht(n) {
|
|
644
613
|
return n.setToolEnabled;
|
|
645
614
|
}
|
|
646
|
-
function
|
|
615
|
+
function jt(n) {
|
|
647
616
|
return n.unregisterTool;
|
|
648
617
|
}
|
|
649
|
-
function
|
|
618
|
+
function Nt(n) {
|
|
650
619
|
return n.registerTool;
|
|
651
620
|
}
|
|
652
|
-
function
|
|
653
|
-
return n.
|
|
621
|
+
function Kt(n) {
|
|
622
|
+
return n.getWidget;
|
|
654
623
|
}
|
|
655
|
-
function
|
|
656
|
-
return n.map((t) => t.filter((
|
|
657
|
-
const
|
|
658
|
-
return typeof
|
|
624
|
+
function Ut(n, e) {
|
|
625
|
+
return n.map((t) => t.filter((c) => {
|
|
626
|
+
const u = c.name;
|
|
627
|
+
return typeof u == "string" && e.includes(u);
|
|
659
628
|
}));
|
|
660
629
|
}
|
|
661
|
-
const
|
|
662
|
-
function
|
|
663
|
-
const e =
|
|
630
|
+
const ne = "searcher", Yt = 300;
|
|
631
|
+
function An(n) {
|
|
632
|
+
const e = N(49), {
|
|
664
633
|
id: t,
|
|
665
|
-
filterFn:
|
|
666
|
-
order:
|
|
667
|
-
labels:
|
|
668
|
-
TextFieldProps:
|
|
634
|
+
filterFn: c,
|
|
635
|
+
order: u,
|
|
636
|
+
labels: s,
|
|
637
|
+
TextFieldProps: f,
|
|
669
638
|
ClearIcon: T,
|
|
670
|
-
debounceDelay:
|
|
671
|
-
} = n,
|
|
672
|
-
let
|
|
673
|
-
e[0] !== t ? (
|
|
674
|
-
const
|
|
675
|
-
let
|
|
676
|
-
e[2] !==
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
enabled: c,
|
|
687
|
-
fn: async (j, J) => {
|
|
688
|
-
const ne = J?.searchText || "";
|
|
689
|
-
return _(j, ne);
|
|
639
|
+
debounceDelay: S
|
|
640
|
+
} = n, a = u === void 0 ? 20 : u, m = S === void 0 ? Yt : S, i = ce(null), g = ce(null);
|
|
641
|
+
let r;
|
|
642
|
+
e[0] !== t ? (r = (j) => j.getWidget(t), e[0] = t, e[1] = r) : r = e[1];
|
|
643
|
+
const o = D(r)?.isSearchEnabled ?? !1, h = ce(o), l = D(nn);
|
|
644
|
+
let b;
|
|
645
|
+
e[2] !== l || e[3] !== t ? (b = () => l(t)?.registeredTools?.find(tn)?.config?.searchText ?? "", e[2] = l, e[3] = t, e[4] = b) : b = e[4];
|
|
646
|
+
const [y, v] = fe(b), d = o ? y : "", z = c ?? on, C = D(en), k = D(Xt), L = D(Qt), _ = D(Jt);
|
|
647
|
+
let w, E;
|
|
648
|
+
e[5] !== o || e[6] !== z || e[7] !== l || e[8] !== t || e[9] !== a || e[10] !== C || e[11] !== k ? (w = () => (C(t, {
|
|
649
|
+
id: ne,
|
|
650
|
+
order: a,
|
|
651
|
+
enabled: o,
|
|
652
|
+
fn: async (j, te) => {
|
|
653
|
+
const re = te?.searchText || "";
|
|
654
|
+
return z(j, re);
|
|
690
655
|
},
|
|
691
656
|
config: {
|
|
692
|
-
searchText:
|
|
657
|
+
searchText: l(t)?.registeredTools?.find(qt)?.config?.searchText ?? ""
|
|
693
658
|
},
|
|
694
|
-
disables: [
|
|
695
|
-
}), () =>
|
|
696
|
-
let
|
|
697
|
-
e[14] !==
|
|
698
|
-
|
|
699
|
-
},
|
|
700
|
-
let
|
|
701
|
-
e[19] !==
|
|
702
|
-
|
|
703
|
-
|
|
659
|
+
disables: [X]
|
|
660
|
+
}), () => k(t, ne)), E = [t, a, z, C, k, o, l], e[5] = o, e[6] = z, e[7] = l, e[8] = t, e[9] = a, e[10] = C, e[11] = k, e[12] = w, e[13] = E) : (w = e[12], E = e[13]), ee(w, E);
|
|
661
|
+
let $, A;
|
|
662
|
+
e[14] !== o || e[15] !== t || e[16] !== L ? ($ = () => {
|
|
663
|
+
L(t, ne, o);
|
|
664
|
+
}, A = [t, o, L], e[14] = o, e[15] = t, e[16] = L, e[17] = $, e[18] = A) : ($ = e[17], A = e[18]), ee($, A);
|
|
665
|
+
let I;
|
|
666
|
+
e[19] !== m || e[20] !== t || e[21] !== _ ? (I = (j) => {
|
|
667
|
+
g.current && clearTimeout(g.current), g.current = setTimeout(() => {
|
|
668
|
+
_(t, ne, {
|
|
704
669
|
searchText: j
|
|
705
670
|
});
|
|
706
|
-
},
|
|
707
|
-
}, e[19] =
|
|
708
|
-
const
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
let w, D;
|
|
714
|
-
e[26] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (w = () => () => {
|
|
715
|
-
r.current && clearTimeout(r.current);
|
|
716
|
-
}, D = [], e[26] = w, e[27] = D) : (w = e[26], D = e[27]), Z(w, D);
|
|
717
|
-
let P;
|
|
718
|
-
e[28] !== A || e[29] !== v ? (P = (j) => {
|
|
719
|
-
const J = j.target.value;
|
|
720
|
-
v(J), A(J);
|
|
721
|
-
}, e[28] = A, e[29] = v, e[30] = P) : P = e[30];
|
|
722
|
-
const M = P;
|
|
723
|
-
let B;
|
|
724
|
-
e[31] !== t || e[32] !== v || e[33] !== I ? (B = () => {
|
|
725
|
-
v(""), I(t, ce, {
|
|
671
|
+
}, m);
|
|
672
|
+
}, e[19] = m, e[20] = t, e[21] = _, e[22] = I) : I = e[22];
|
|
673
|
+
const W = I;
|
|
674
|
+
o !== h.current && (o && v(""), h.current = o);
|
|
675
|
+
let F, x;
|
|
676
|
+
e[23] !== o || e[24] !== t || e[25] !== _ ? (F = () => {
|
|
677
|
+
o && i.current && i.current.focus(), o || _(t, ne, {
|
|
726
678
|
searchText: ""
|
|
727
|
-
})
|
|
728
|
-
}, e[
|
|
729
|
-
|
|
730
|
-
|
|
679
|
+
});
|
|
680
|
+
}, x = [o, t, _], e[23] = o, e[24] = t, e[25] = _, e[26] = F, e[27] = x) : (F = e[26], x = e[27]), ee(F, x);
|
|
681
|
+
let B, P;
|
|
682
|
+
e[28] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (B = () => () => {
|
|
683
|
+
g.current && clearTimeout(g.current);
|
|
684
|
+
}, P = [], e[28] = B, e[29] = P) : (B = e[28], P = e[29]), ee(B, P);
|
|
685
|
+
let Z;
|
|
686
|
+
e[30] !== W ? (Z = (j) => {
|
|
687
|
+
const te = j.target.value;
|
|
688
|
+
v(te), W(te);
|
|
689
|
+
}, e[30] = W, e[31] = Z) : Z = e[31];
|
|
690
|
+
const V = Z;
|
|
691
|
+
let M;
|
|
692
|
+
e[32] !== t || e[33] !== _ ? (M = () => {
|
|
693
|
+
v(""), _(t, ne, {
|
|
694
|
+
searchText: ""
|
|
695
|
+
}), i.current && i.current.focus();
|
|
696
|
+
}, e[32] = t, e[33] = _, e[34] = M) : M = e[34];
|
|
697
|
+
const G = M;
|
|
698
|
+
if (!o)
|
|
731
699
|
return null;
|
|
732
|
-
const
|
|
733
|
-
let
|
|
734
|
-
e[35] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
735
|
-
let
|
|
736
|
-
e[36] !== T || e[37] !==
|
|
737
|
-
let
|
|
738
|
-
e[41] !==
|
|
739
|
-
startAdornment:
|
|
740
|
-
endAdornment:
|
|
741
|
-
}, e[41] =
|
|
742
|
-
let
|
|
743
|
-
return e[43] !==
|
|
700
|
+
const K = s?.placeholder ?? "Search...", R = s?.clearAriaLabel ?? "Clear search";
|
|
701
|
+
let H;
|
|
702
|
+
e[35] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (H = /* @__PURE__ */ p(Se, { position: "start", children: /* @__PURE__ */ p(ke, {}) }), e[35] = H) : H = e[35];
|
|
703
|
+
let U;
|
|
704
|
+
e[36] !== T || e[37] !== R || e[38] !== G || e[39] !== d ? (U = d ? /* @__PURE__ */ p(Se, { position: "end", children: /* @__PURE__ */ p(q, { size: "small", "aria-label": R, onClick: G, edge: "end", children: T ?? /* @__PURE__ */ p(Je, { fontSize: "small" }) }) }) : null, e[36] = T, e[37] = R, e[38] = G, e[39] = d, e[40] = U) : U = e[40];
|
|
705
|
+
let Y;
|
|
706
|
+
e[41] !== U ? (Y = {
|
|
707
|
+
startAdornment: H,
|
|
708
|
+
endAdornment: U
|
|
709
|
+
}, e[41] = U, e[42] = Y) : Y = e[42];
|
|
710
|
+
let ie;
|
|
711
|
+
return e[43] !== f || e[44] !== V || e[45] !== K || e[46] !== d || e[47] !== Y ? (ie = /* @__PURE__ */ p(Ve, { inputRef: i, size: "small", fullWidth: !0, variant: "filled", placeholder: K, value: d, onChange: V, InputProps: Y, ...f }), e[43] = f, e[44] = V, e[45] = K, e[46] = d, e[47] = Y, e[48] = ie) : ie = e[48], ie;
|
|
744
712
|
}
|
|
745
|
-
function
|
|
713
|
+
function qt(n) {
|
|
714
|
+
return n.id === ne;
|
|
715
|
+
}
|
|
716
|
+
function Jt(n) {
|
|
746
717
|
return n.updateToolConfig;
|
|
747
718
|
}
|
|
748
|
-
function
|
|
719
|
+
function Qt(n) {
|
|
749
720
|
return n.setToolEnabled;
|
|
750
721
|
}
|
|
751
|
-
function
|
|
722
|
+
function Xt(n) {
|
|
752
723
|
return n.unregisterTool;
|
|
753
724
|
}
|
|
754
|
-
function
|
|
725
|
+
function en(n) {
|
|
755
726
|
return n.registerTool;
|
|
756
727
|
}
|
|
757
|
-
function
|
|
758
|
-
return n.
|
|
728
|
+
function tn(n) {
|
|
729
|
+
return n.id === ne;
|
|
730
|
+
}
|
|
731
|
+
function nn(n) {
|
|
732
|
+
return n.getWidget;
|
|
759
733
|
}
|
|
760
|
-
const
|
|
734
|
+
const on = (n, e) => {
|
|
761
735
|
if (!e.trim()) return Promise.resolve(n);
|
|
762
736
|
const t = e.toLowerCase();
|
|
763
|
-
return Promise.resolve(n.map((
|
|
737
|
+
return Promise.resolve(n.map((c) => c.filter((u) => Object.values(u).some((s) => typeof s == "string" && s.toLowerCase().includes(t)))));
|
|
764
738
|
};
|
|
765
|
-
function
|
|
766
|
-
const e =
|
|
739
|
+
function Bn(n) {
|
|
740
|
+
const e = N(23), {
|
|
767
741
|
id: t,
|
|
768
|
-
defaultEnabled:
|
|
769
|
-
labels:
|
|
770
|
-
Icon:
|
|
771
|
-
IconButtonProps:
|
|
772
|
-
} = n, T =
|
|
773
|
-
let
|
|
774
|
-
e[0] !== t ? (
|
|
775
|
-
const
|
|
776
|
-
let
|
|
777
|
-
e[2] !== T || e[3] !==
|
|
778
|
-
|
|
742
|
+
defaultEnabled: c,
|
|
743
|
+
labels: u,
|
|
744
|
+
Icon: s,
|
|
745
|
+
IconButtonProps: f
|
|
746
|
+
} = n, T = c === void 0 ? !1 : c, S = D(sn), a = D(ln);
|
|
747
|
+
let m;
|
|
748
|
+
e[0] !== t ? (m = (z) => z.getWidget(t)?.isSearchEnabled, e[0] = t, e[1] = m) : m = e[1];
|
|
749
|
+
const g = D(Q(m)) ?? T;
|
|
750
|
+
let r, O;
|
|
751
|
+
e[2] !== T || e[3] !== a || e[4] !== t || e[5] !== S ? (r = () => {
|
|
752
|
+
a(t)?.isSearchEnabled === void 0 && S(t, {
|
|
779
753
|
isSearchEnabled: T
|
|
780
754
|
});
|
|
781
|
-
},
|
|
782
|
-
let
|
|
783
|
-
e[8] !== t || e[9] !==
|
|
784
|
-
|
|
785
|
-
isSearchEnabled: !
|
|
755
|
+
}, O = [T, a, t, S], e[2] = T, e[3] = a, e[4] = t, e[5] = S, e[6] = r, e[7] = O) : (r = e[6], O = e[7]), ee(r, O);
|
|
756
|
+
let o;
|
|
757
|
+
e[8] !== t || e[9] !== g || e[10] !== S ? (o = () => {
|
|
758
|
+
S(t, {
|
|
759
|
+
isSearchEnabled: !g
|
|
786
760
|
});
|
|
787
|
-
}, e[8] = t, e[9] =
|
|
788
|
-
const
|
|
789
|
-
let
|
|
790
|
-
e[12] !==
|
|
791
|
-
let
|
|
792
|
-
e[14] !==
|
|
793
|
-
let
|
|
794
|
-
return e[20] !==
|
|
761
|
+
}, e[8] = t, e[9] = g, e[10] = S, e[11] = o) : o = e[11];
|
|
762
|
+
const h = o, l = g ? u?.disable ?? "Disable search" : u?.enable ?? "Enable search", b = u?.ariaLabel ?? l;
|
|
763
|
+
let y;
|
|
764
|
+
e[12] !== s ? (y = s ?? /* @__PURE__ */ p(ke, { fontSize: "small" }), e[12] = s, e[13] = y) : y = e[13];
|
|
765
|
+
let v;
|
|
766
|
+
e[14] !== f || e[15] !== b || e[16] !== h || e[17] !== g || e[18] !== y ? (v = /* @__PURE__ */ p(q, { size: "small", "aria-label": b, onClick: h, sx: de.trigger, "data-active": g, ...f, children: y }), e[14] = f, e[15] = b, e[16] = h, e[17] = g, e[18] = y, e[19] = v) : v = e[19];
|
|
767
|
+
let d;
|
|
768
|
+
return e[20] !== v || e[21] !== l ? (d = /* @__PURE__ */ p(le, { title: l, children: v }), e[20] = v, e[21] = l, e[22] = d) : d = e[22], d;
|
|
795
769
|
}
|
|
796
|
-
function
|
|
770
|
+
function ln(n) {
|
|
797
771
|
return n.getWidget;
|
|
798
772
|
}
|
|
799
|
-
function
|
|
773
|
+
function sn(n) {
|
|
800
774
|
return n.setWidget;
|
|
801
775
|
}
|
|
802
|
-
const
|
|
803
|
-
const n =
|
|
776
|
+
const rn = () => {
|
|
777
|
+
const n = N(1);
|
|
804
778
|
let e;
|
|
805
|
-
return n[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */
|
|
779
|
+
return n[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ p("svg", { xmlns: "http://www.w3.org/2000/svg", fill: "none", viewBox: "0 0 18 18", children: /* @__PURE__ */ p("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" }) }), n[0] = e) : e = n[0], e;
|
|
806
780
|
};
|
|
807
|
-
function
|
|
808
|
-
const e =
|
|
781
|
+
function cn(n) {
|
|
782
|
+
const e = N(18), {
|
|
809
783
|
column: t
|
|
810
784
|
} = n;
|
|
811
|
-
let
|
|
812
|
-
e[0] !== t.id ? (
|
|
785
|
+
let c;
|
|
786
|
+
e[0] !== t.id ? (c = {
|
|
813
787
|
id: t.id
|
|
814
|
-
}, e[0] = t.id, e[1] =
|
|
788
|
+
}, e[0] = t.id, e[1] = c) : c = e[1];
|
|
815
789
|
const {
|
|
816
|
-
attributes:
|
|
817
|
-
listeners:
|
|
818
|
-
setNodeRef:
|
|
790
|
+
attributes: u,
|
|
791
|
+
listeners: s,
|
|
792
|
+
setNodeRef: f,
|
|
819
793
|
transform: T,
|
|
820
|
-
transition:
|
|
821
|
-
isDragging:
|
|
822
|
-
} =
|
|
823
|
-
let
|
|
824
|
-
e[2] !== T ? (
|
|
825
|
-
const
|
|
826
|
-
let
|
|
827
|
-
e[4] !==
|
|
828
|
-
transform:
|
|
829
|
-
transition:
|
|
830
|
-
opacity:
|
|
831
|
-
cursor:
|
|
832
|
-
}, e[4] =
|
|
833
|
-
const
|
|
834
|
-
let
|
|
835
|
-
e[9] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
794
|
+
transition: S,
|
|
795
|
+
isDragging: a
|
|
796
|
+
} = st(c);
|
|
797
|
+
let m;
|
|
798
|
+
e[2] !== T ? (m = ut.Transform.toString(T), e[2] = T, e[3] = m) : m = e[3];
|
|
799
|
+
const i = a ? 0.5 : 1, g = a ? "grabbing" : "grab";
|
|
800
|
+
let r;
|
|
801
|
+
e[4] !== m || e[5] !== i || e[6] !== g || e[7] !== S ? (r = {
|
|
802
|
+
transform: m,
|
|
803
|
+
transition: S,
|
|
804
|
+
opacity: i,
|
|
805
|
+
cursor: g
|
|
806
|
+
}, e[4] = m, e[5] = i, e[6] = g, e[7] = S, e[8] = r) : r = e[8];
|
|
807
|
+
const O = r;
|
|
808
|
+
let o;
|
|
809
|
+
e[9] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (o = {
|
|
836
810
|
"&:focus-visible": {
|
|
837
|
-
outline:
|
|
811
|
+
outline: an,
|
|
838
812
|
outlineOffset: -2
|
|
839
813
|
}
|
|
840
|
-
}, e[9] =
|
|
841
|
-
let
|
|
842
|
-
e[10] !== t.label ? (
|
|
843
|
-
let
|
|
844
|
-
return e[12] !==
|
|
814
|
+
}, e[9] = o) : o = e[9];
|
|
815
|
+
let h;
|
|
816
|
+
e[10] !== t.label ? (h = /* @__PURE__ */ p(xe, { children: t.label }), e[10] = t.label, e[11] = h) : h = e[11];
|
|
817
|
+
let l;
|
|
818
|
+
return e[12] !== u || e[13] !== s || e[14] !== f || e[15] !== O || e[16] !== h ? (l = /* @__PURE__ */ p(Ie, { ref: f, style: O, ...u, ...s, role: "menuitem", tabIndex: 0, sx: o, children: h }), e[12] = u, e[13] = s, e[14] = f, e[15] = O, e[16] = h, e[17] = l) : l = e[17], l;
|
|
845
819
|
}
|
|
846
|
-
function
|
|
820
|
+
function an(n) {
|
|
847
821
|
return `2px solid ${n.palette.primary.main}`;
|
|
848
822
|
}
|
|
849
|
-
function
|
|
850
|
-
const e =
|
|
823
|
+
function Pn(n) {
|
|
824
|
+
const e = N(42), {
|
|
851
825
|
id: t,
|
|
852
|
-
labels:
|
|
853
|
-
Icon:
|
|
854
|
-
IconButtonProps:
|
|
855
|
-
MenuProps:
|
|
856
|
-
} = n, [T,
|
|
857
|
-
let
|
|
858
|
-
e[0] !== t ? (
|
|
859
|
-
const
|
|
860
|
-
let
|
|
861
|
-
e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
862
|
-
coordinateGetter:
|
|
863
|
-
}, e[2] =
|
|
864
|
-
const
|
|
865
|
-
let
|
|
866
|
-
e[3] !==
|
|
867
|
-
const
|
|
868
|
-
let
|
|
869
|
-
e[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
870
|
-
|
|
871
|
-
}, e[5] =
|
|
872
|
-
const
|
|
873
|
-
let
|
|
874
|
-
e[6] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
875
|
-
|
|
876
|
-
}, e[6] =
|
|
877
|
-
const
|
|
878
|
-
let
|
|
879
|
-
e[7] !==
|
|
826
|
+
labels: c,
|
|
827
|
+
Icon: u,
|
|
828
|
+
IconButtonProps: s,
|
|
829
|
+
MenuProps: f
|
|
830
|
+
} = n, [T, S] = fe(null), a = D(fn);
|
|
831
|
+
let m;
|
|
832
|
+
e[0] !== t ? (m = (Z) => Z.getWidget(t)?.columns, e[0] = t, e[1] = m) : m = e[1];
|
|
833
|
+
const i = D(Q(m));
|
|
834
|
+
let g;
|
|
835
|
+
e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (g = {
|
|
836
|
+
coordinateGetter: rt
|
|
837
|
+
}, e[2] = g) : g = e[2];
|
|
838
|
+
const r = tt(_e(nt), _e(ot, g));
|
|
839
|
+
let O;
|
|
840
|
+
e[3] !== i ? (O = i?.map(un) ?? [], e[3] = i, e[4] = O) : O = e[4];
|
|
841
|
+
const o = O;
|
|
842
|
+
let h;
|
|
843
|
+
e[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (h = (Z) => {
|
|
844
|
+
Z.stopPropagation(), S(Z.currentTarget);
|
|
845
|
+
}, e[5] = h) : h = e[5];
|
|
846
|
+
const l = h;
|
|
847
|
+
let b;
|
|
848
|
+
e[6] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (b = () => {
|
|
849
|
+
S(null);
|
|
850
|
+
}, e[6] = b) : b = e[6];
|
|
851
|
+
const y = b;
|
|
852
|
+
let v;
|
|
853
|
+
e[7] !== i || e[8] !== t || e[9] !== a ? (v = (Z) => {
|
|
880
854
|
const {
|
|
881
|
-
active:
|
|
882
|
-
over:
|
|
883
|
-
} =
|
|
884
|
-
if (!
|
|
855
|
+
active: V,
|
|
856
|
+
over: M
|
|
857
|
+
} = Z;
|
|
858
|
+
if (!M || V.id === M.id || !i)
|
|
885
859
|
return;
|
|
886
|
-
const
|
|
887
|
-
if (
|
|
888
|
-
const
|
|
889
|
-
|
|
890
|
-
columns:
|
|
860
|
+
const G = i.findIndex((R) => R.id === V.id), K = i.findIndex((R) => R.id === M.id);
|
|
861
|
+
if (G !== -1 && K !== -1) {
|
|
862
|
+
const R = ct(i, G, K);
|
|
863
|
+
a(t, {
|
|
864
|
+
columns: R
|
|
891
865
|
});
|
|
892
866
|
}
|
|
893
|
-
}, e[7] =
|
|
894
|
-
const
|
|
895
|
-
if (!
|
|
867
|
+
}, e[7] = i, e[8] = t, e[9] = a, e[10] = v) : v = e[10];
|
|
868
|
+
const d = v;
|
|
869
|
+
if (!i || i.length < 2)
|
|
896
870
|
return null;
|
|
897
|
-
const
|
|
898
|
-
let
|
|
899
|
-
e[11] !==
|
|
871
|
+
const z = c?.tooltip ?? "Change column", C = !!T, k = c?.ariaLabel ?? z, L = C ? "change-column-menu" : void 0, _ = C ? "true" : void 0;
|
|
872
|
+
let w;
|
|
873
|
+
e[11] !== u ? (w = u ?? /* @__PURE__ */ p(Ge, { children: /* @__PURE__ */ p(rn, {}) }), e[11] = u, e[12] = w) : w = e[12];
|
|
900
874
|
let E;
|
|
901
|
-
e[13] !==
|
|
875
|
+
e[13] !== s || e[14] !== C || e[15] !== w || e[16] !== k || e[17] !== L || e[18] !== _ ? (E = /* @__PURE__ */ p(q, { size: "small", "aria-label": k, "aria-controls": L, "aria-haspopup": "true", "aria-expanded": _, onClick: l, "data-active": C, sx: de.trigger, ...s, children: w }), e[13] = s, e[14] = C, e[15] = w, e[16] = k, e[17] = L, e[18] = _, e[19] = E) : E = e[19];
|
|
902
876
|
let $;
|
|
903
|
-
e[20] !== E || e[21] !==
|
|
904
|
-
let
|
|
905
|
-
e[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
877
|
+
e[20] !== E || e[21] !== z ? ($ = /* @__PURE__ */ p(le, { title: z, children: E }), e[20] = E, e[21] = z, e[22] = $) : $ = e[22];
|
|
878
|
+
let A, I;
|
|
879
|
+
e[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (A = {
|
|
906
880
|
vertical: "bottom",
|
|
907
881
|
horizontal: "right"
|
|
908
|
-
},
|
|
882
|
+
}, I = {
|
|
909
883
|
vertical: "top",
|
|
910
884
|
horizontal: "right"
|
|
911
|
-
}, e[23] =
|
|
912
|
-
let
|
|
913
|
-
e[25] !==
|
|
914
|
-
let
|
|
915
|
-
e[27] !==
|
|
916
|
-
let
|
|
917
|
-
e[30] !==
|
|
918
|
-
let
|
|
919
|
-
e[35] !==
|
|
885
|
+
}, e[23] = A, e[24] = I) : (A = e[23], I = e[24]);
|
|
886
|
+
let W;
|
|
887
|
+
e[25] !== i ? (W = i.map(dn), e[25] = i, e[26] = W) : W = e[26];
|
|
888
|
+
let F;
|
|
889
|
+
e[27] !== o || e[28] !== W ? (F = /* @__PURE__ */ p(at, { items: o, strategy: dt, children: W }), e[27] = o, e[28] = W, e[29] = F) : F = e[29];
|
|
890
|
+
let x;
|
|
891
|
+
e[30] !== f || e[31] !== T || e[32] !== C || e[33] !== F ? (x = /* @__PURE__ */ p(ye, { id: "change-column-menu", anchorEl: T, open: C, onClose: y, anchorOrigin: A, transformOrigin: I, ...f, children: F }), e[30] = f, e[31] = T, e[32] = C, e[33] = F, e[34] = x) : x = e[34];
|
|
892
|
+
let B;
|
|
893
|
+
e[35] !== d || e[36] !== r || e[37] !== x ? (B = /* @__PURE__ */ p(lt, { sensors: r, collisionDetection: it, onDragEnd: d, children: x }), e[35] = d, e[36] = r, e[37] = x, e[38] = B) : B = e[38];
|
|
920
894
|
let P;
|
|
921
|
-
return e[39] !== $ || e[40] !==
|
|
895
|
+
return e[39] !== $ || e[40] !== B ? (P = /* @__PURE__ */ oe(pe, { children: [
|
|
922
896
|
$,
|
|
923
|
-
|
|
924
|
-
] }), e[39] = $, e[40] =
|
|
897
|
+
B
|
|
898
|
+
] }), e[39] = $, e[40] = B, e[41] = P) : P = e[41], P;
|
|
925
899
|
}
|
|
926
|
-
function
|
|
927
|
-
return /* @__PURE__ */
|
|
900
|
+
function dn(n) {
|
|
901
|
+
return /* @__PURE__ */ p(cn, { column: n }, n.id);
|
|
928
902
|
}
|
|
929
|
-
function
|
|
903
|
+
function un(n) {
|
|
930
904
|
return n.id;
|
|
931
905
|
}
|
|
932
|
-
function
|
|
906
|
+
function fn(n) {
|
|
933
907
|
return n.setWidget;
|
|
934
908
|
}
|
|
935
909
|
export {
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
910
|
+
Pn as ChangeColumn,
|
|
911
|
+
wn as Download,
|
|
912
|
+
Ln as FullScreen,
|
|
913
|
+
X as LOCK_SELECTION_TOOL_ID,
|
|
914
|
+
zn as LockSelection,
|
|
915
|
+
ae as RELATIVE_DATA_TOOL_ID,
|
|
916
|
+
Dn as RelativeData,
|
|
917
|
+
ne as SEARCHER_TOOL_ID,
|
|
918
|
+
se as STACK_TOGGLE_TOOL_ID,
|
|
919
|
+
An as Searcher,
|
|
920
|
+
Bn as SearcherToggle,
|
|
921
|
+
Wn as StackToggle,
|
|
922
|
+
J as ZOOM_TOGGLE_TOOL_ID,
|
|
923
|
+
On as ZoomToggle,
|
|
924
|
+
Zn as downloadToCSV,
|
|
925
|
+
Mn as downloadToPNG
|
|
952
926
|
};
|
|
953
927
|
//# sourceMappingURL=actions.js.map
|