@carto/ps-react-ui 4.3.7 → 4.3.9

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