@carto/ps-react-ui 4.3.4 → 4.3.6

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