@carto/ps-react-ui 4.17.1 → 4.17.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components.js +1 -1
- package/dist/legend/stores.js +1 -1
- package/dist/{legend-store-registry-Bo8U_qWM.js → legend-store-registry-p1tSwJXH.js} +151 -147
- package/dist/legend-store-registry-p1tSwJXH.js.map +1 -0
- package/dist/legend.js +670 -562
- package/dist/legend.js.map +1 -1
- package/dist/smart-tooltip-DFV6GD8R.js +40 -0
- package/dist/smart-tooltip-DFV6GD8R.js.map +1 -0
- package/dist/types/legend/components/legend-actions/legend-actions.d.ts +2 -2
- package/dist/types/legend/components/legend-group/styles.d.ts +44 -16
- package/dist/types/legend/components/legend-row/styles.d.ts +37 -0
- package/dist/types/legend/components/legend-sortable/styles.d.ts +4 -3
- package/dist/widgets/wrapper.js +1 -1
- package/dist/widgets-v2.js +1 -1
- package/package.json +3 -3
- package/src/components/smart-tooltip/smart-tooltip.tsx +25 -10
- package/src/legend/components/legend-actions/legend-actions.tsx +2 -2
- package/src/legend/components/legend-group/legend-group.tsx +3 -1
- package/src/legend/components/legend-group/styles.ts +77 -32
- package/src/legend/components/legend-row/legend-row.tsx +13 -8
- package/src/legend/components/legend-row/styles.ts +59 -4
- package/src/legend/components/legend-sortable/styles.ts +13 -4
- package/src/legend/stores/legend-store-registry.ts +28 -4
- package/src/legend/stores/legend-store.test.ts +23 -0
- package/dist/legend-store-registry-Bo8U_qWM.js.map +0 -1
- package/dist/smart-tooltip-D4vwQpFf.js +0 -37
- package/dist/smart-tooltip-D4vwQpFf.js.map +0 -1
package/dist/legend.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { jsx as d, jsxs as
|
|
1
|
+
import { jsx as d, jsxs as M, Fragment as he } from "react/jsx-runtime";
|
|
2
2
|
import { c as T } from "react/compiler-runtime";
|
|
3
|
-
import { createContext as me, useContext as be, useState as J, useLayoutEffect as
|
|
4
|
-
import { L as gt, h as yt, g as X, a as mt, m as bt, r as
|
|
5
|
-
import { Box as
|
|
6
|
-
import { DragIndicator as Ot, ExpandMore as
|
|
7
|
-
import { useSortable as Tt, SortableContext as
|
|
8
|
-
import { S as
|
|
3
|
+
import { createContext as me, useContext as be, useState as J, useLayoutEffect as Pe, Children as ut, isValidElement as pt, useEffect as ft, useRef as De, useId as ht } from "react";
|
|
4
|
+
import { L as gt, h as yt, g as X, a as mt, m as bt, r as vt, u as xt, n as N, o as Z, p as j, b as $e, i as re, f as Lt, e as Ee, s as Ae, j as ve, l as He } from "./legend-store-registry-p1tSwJXH.js";
|
|
5
|
+
import { Box as A, IconButton as xe, Typography as E, Collapse as Re, createSvgIcon as wt, Menu as Oe, CircularProgress as Ve, MenuItem as q, Divider as St, Slider as Ct, InputAdornment as It, OutlinedInput as kt, ButtonBase as $t } from "@mui/material";
|
|
6
|
+
import { DragIndicator as Ot, ExpandMore as We, VisibilityOffOutlined as _t, VisibilityOutlined as Be, MoreVert as Gt, ChecklistOutlined as Pt, Close as At, ArrowDropDown as Mt, ErrorOutline as zt } from "@mui/icons-material";
|
|
7
|
+
import { useSortable as Tt, SortableContext as Ne, verticalListSortingStrategy as Fe } from "@dnd-kit/sortable";
|
|
8
|
+
import { S as Ue } from "./smart-tooltip-DFV6GD8R.js";
|
|
9
9
|
import { CSS as Dt } from "@dnd-kit/utilities";
|
|
10
10
|
import { T as ie } from "./tooltip-BDnrRKrp.js";
|
|
11
11
|
import "zustand";
|
|
12
12
|
import "zustand/vanilla";
|
|
13
13
|
import "zustand/middleware";
|
|
14
14
|
import "zustand/react/shallow";
|
|
15
|
-
import { useSensors as Et, useSensor as
|
|
15
|
+
import { useSensors as Et, useSensor as Me, PointerSensor as Ht, KeyboardSensor as Rt, DndContext as Vt, closestCenter as Wt, DragOverlay as Bt } from "@dnd-kit/core";
|
|
16
16
|
const ge = {
|
|
17
17
|
expandLayer: "Expand layer",
|
|
18
18
|
collapseLayer: "Collapse layer",
|
|
@@ -46,11 +46,11 @@ const ge = {
|
|
|
46
46
|
colorGradient: "Color gradient",
|
|
47
47
|
maxPrefix: "MAX: ",
|
|
48
48
|
minPrefix: "MIN: "
|
|
49
|
-
},
|
|
49
|
+
}, je = me({
|
|
50
50
|
labels: ge
|
|
51
51
|
});
|
|
52
|
-
function
|
|
53
|
-
return be(
|
|
52
|
+
function W() {
|
|
53
|
+
return be(je);
|
|
54
54
|
}
|
|
55
55
|
function Nt(t) {
|
|
56
56
|
const e = T(24), {
|
|
@@ -65,55 +65,55 @@ function Nt(t) {
|
|
|
65
65
|
e[0] !== l || e[1] !== o || e[2] !== r ? (c = () => {
|
|
66
66
|
if (yt(o))
|
|
67
67
|
return X(o);
|
|
68
|
-
const
|
|
68
|
+
const C = mt(o, {
|
|
69
69
|
layers: r,
|
|
70
70
|
groups: l
|
|
71
71
|
});
|
|
72
|
-
return bt(o,
|
|
72
|
+
return bt(o, C), C;
|
|
73
73
|
}, e[0] = l, e[1] = o, e[2] = r, e[3] = c) : c = e[3];
|
|
74
74
|
const [p] = J(c);
|
|
75
75
|
let f, u;
|
|
76
|
-
e[4] !== o || e[5] !== s || e[6] !== p ? (f = () => (
|
|
77
|
-
|
|
76
|
+
e[4] !== o || e[5] !== s || e[6] !== p ? (f = () => (vt(o, p), () => {
|
|
77
|
+
xt(o, {
|
|
78
78
|
keepAlive: s
|
|
79
79
|
});
|
|
80
|
-
}), u = [o, p, s], e[4] = o, e[5] = s, e[6] = p, e[7] = f, e[8] = u) : (f = e[7], u = e[8]),
|
|
80
|
+
}), u = [o, p, s], e[4] = o, e[5] = s, e[6] = p, e[7] = f, e[8] = u) : (f = e[7], u = e[8]), Pe(f, u);
|
|
81
81
|
let y, h;
|
|
82
82
|
e[9] !== l || e[10] !== r || e[11] !== p ? (y = () => {
|
|
83
83
|
p.getState()._sync(r, l ?? []);
|
|
84
|
-
}, h = [p, r, l], e[9] = l, e[10] = r, e[11] = p, e[12] = y, e[13] = h) : (y = e[12], h = e[13]),
|
|
84
|
+
}, h = [p, r, l], e[9] = l, e[10] = r, e[11] = p, e[12] = y, e[13] = h) : (y = e[12], h = e[13]), Pe(y, h);
|
|
85
85
|
let g;
|
|
86
86
|
e[14] !== i ? (g = i ? {
|
|
87
87
|
...ge,
|
|
88
88
|
...i
|
|
89
89
|
} : ge, e[14] = i, e[15] = g) : g = e[15];
|
|
90
|
-
let
|
|
91
|
-
e[16] !== g ? (
|
|
90
|
+
let x;
|
|
91
|
+
e[16] !== g ? (x = {
|
|
92
92
|
labels: g
|
|
93
|
-
}, e[16] = g, e[17] =
|
|
94
|
-
const b =
|
|
95
|
-
let
|
|
96
|
-
e[18] !== a || e[19] !== b ? (
|
|
93
|
+
}, e[16] = g, e[17] = x) : x = e[17];
|
|
94
|
+
const b = x;
|
|
95
|
+
let S;
|
|
96
|
+
e[18] !== a || e[19] !== b ? (S = /* @__PURE__ */ d(je.Provider, { value: b, children: a }), e[18] = a, e[19] = b, e[20] = S) : S = e[20];
|
|
97
97
|
let L;
|
|
98
|
-
return e[21] !== o || e[22] !==
|
|
98
|
+
return e[21] !== o || e[22] !== S ? (L = /* @__PURE__ */ d(gt.Provider, { value: o, children: S }), e[21] = o, e[22] = S, e[23] = L) : L = e[23], L;
|
|
99
99
|
}
|
|
100
|
-
function
|
|
100
|
+
function Ze(t) {
|
|
101
101
|
return (e) => {
|
|
102
102
|
(e.key === "Enter" || e.key === " ") && (e.preventDefault(), t());
|
|
103
103
|
};
|
|
104
104
|
}
|
|
105
|
-
const Ze = me(null);
|
|
106
|
-
function Q() {
|
|
107
|
-
return be(Ze);
|
|
108
|
-
}
|
|
109
105
|
const Ke = me(null);
|
|
110
|
-
function
|
|
106
|
+
function Q() {
|
|
111
107
|
return be(Ke);
|
|
112
108
|
}
|
|
113
109
|
const Xe = me(null);
|
|
114
|
-
function
|
|
110
|
+
function ue() {
|
|
115
111
|
return be(Xe);
|
|
116
112
|
}
|
|
113
|
+
const qe = me(null);
|
|
114
|
+
function Qe() {
|
|
115
|
+
return be(qe);
|
|
116
|
+
}
|
|
117
117
|
const Ft = {
|
|
118
118
|
fadeGroup: {
|
|
119
119
|
display: "flex",
|
|
@@ -121,17 +121,17 @@ const Ft = {
|
|
|
121
121
|
gap: 0.25
|
|
122
122
|
}
|
|
123
123
|
};
|
|
124
|
-
function
|
|
124
|
+
function Ye(t) {
|
|
125
125
|
const e = T(3), {
|
|
126
126
|
children: o
|
|
127
127
|
} = t, l = Q() !== null ? "PsLegend-rowFade" : "PsLegend-groupFade";
|
|
128
128
|
let i;
|
|
129
|
-
return e[0] !== o || e[1] !== l ? (i = /* @__PURE__ */ d(
|
|
129
|
+
return e[0] !== o || e[1] !== l ? (i = /* @__PURE__ */ d(A, { className: l, sx: Ft.fadeGroup, children: o }), e[0] = o, e[1] = l, e[2] = i) : i = e[2], i;
|
|
130
130
|
}
|
|
131
|
-
function
|
|
131
|
+
function Je(t) {
|
|
132
132
|
const e = [], o = [];
|
|
133
133
|
for (const r of ut.toArray(t))
|
|
134
|
-
Ut(r,
|
|
134
|
+
Ut(r, Ye) ? e.push(r) : o.push(r);
|
|
135
135
|
return {
|
|
136
136
|
actions: e,
|
|
137
137
|
body: o
|
|
@@ -140,9 +140,9 @@ function Ye(t) {
|
|
|
140
140
|
function Ut(t, e) {
|
|
141
141
|
return pt(t) && t.type === e;
|
|
142
142
|
}
|
|
143
|
-
const
|
|
144
|
-
function
|
|
145
|
-
return be(
|
|
143
|
+
const et = me(!1);
|
|
144
|
+
function tt() {
|
|
145
|
+
return be(et);
|
|
146
146
|
}
|
|
147
147
|
const Se = (t, e) => `${t}:${e}`;
|
|
148
148
|
function de(t) {
|
|
@@ -154,132 +154,57 @@ function de(t) {
|
|
|
154
154
|
id: t.slice(e + 1)
|
|
155
155
|
};
|
|
156
156
|
}
|
|
157
|
-
const
|
|
158
|
-
|
|
159
|
-
handleSlot: {
|
|
160
|
-
position: "absolute",
|
|
161
|
-
zIndex: 1,
|
|
157
|
+
const we = 48, Y = {
|
|
158
|
+
group: {
|
|
162
159
|
display: "flex",
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
handleSlotLayer: {
|
|
168
|
-
right: 2
|
|
169
|
-
},
|
|
170
|
-
handleSlotGroup: {
|
|
171
|
-
right: 2
|
|
172
|
-
},
|
|
173
|
-
handle: {
|
|
174
|
-
padding: "2px",
|
|
175
|
-
cursor: "grab",
|
|
176
|
-
touchAction: "none",
|
|
177
|
-
color: "text.secondary",
|
|
178
|
-
"& .MuiSvgIcon-root": {
|
|
179
|
-
fontSize: 18
|
|
180
|
-
},
|
|
181
|
-
"&:active": {
|
|
182
|
-
cursor: "grabbing"
|
|
183
|
-
},
|
|
184
|
-
"&:hover": {
|
|
185
|
-
backgroundColor: "transparent"
|
|
160
|
+
flexDirection: "column",
|
|
161
|
+
"& + &": {
|
|
162
|
+
borderTop: "1px solid",
|
|
163
|
+
borderColor: "divider"
|
|
186
164
|
}
|
|
187
165
|
},
|
|
188
|
-
overlay
|
|
166
|
+
// The original stays in place, dimmed, while its overlay clone is dragged.
|
|
167
|
+
groupDragging: {
|
|
168
|
+
opacity: 0.4
|
|
169
|
+
},
|
|
170
|
+
// Figma: 48px tall, 16px left inset (matches the row's own left inset),
|
|
171
|
+
// 8px gap to the label, actions right-aligned with ~8px edge inset (the
|
|
172
|
+
// small icon-button padding brings the glyphs to the design's 16px optical
|
|
173
|
+
// inset), hairline divider below. Sticky: pins to the top of the panel's
|
|
174
|
+
// scroll container.
|
|
175
|
+
header: {
|
|
189
176
|
display: "flex",
|
|
190
177
|
alignItems: "center",
|
|
191
178
|
gap: 1,
|
|
192
179
|
padding: ({
|
|
193
180
|
spacing: t
|
|
194
|
-
}) => t(1, 1.5),
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
id: r,
|
|
217
|
-
render: l
|
|
218
|
-
} = t, {
|
|
219
|
-
labels: i
|
|
220
|
-
} = B();
|
|
221
|
-
let n;
|
|
222
|
-
e[0] !== r || e[1] !== o ? (n = Se(o, r), e[0] = r, e[1] = o, e[2] = n) : n = e[2];
|
|
223
|
-
let a;
|
|
224
|
-
e[3] !== n ? (a = {
|
|
225
|
-
id: n
|
|
226
|
-
}, e[3] = n, e[4] = a) : a = e[4];
|
|
227
|
-
const {
|
|
228
|
-
attributes: s,
|
|
229
|
-
listeners: c,
|
|
230
|
-
setNodeRef: p,
|
|
231
|
-
setActivatorNodeRef: f,
|
|
232
|
-
transform: u,
|
|
233
|
-
transition: y,
|
|
234
|
-
isDragging: h
|
|
235
|
-
} = Tt(a);
|
|
236
|
-
let g;
|
|
237
|
-
if (e[5] !== s || e[6] !== h || e[7] !== o || e[8] !== i.reorder || e[9] !== c || e[10] !== l || e[11] !== f || e[12] !== p || e[13] !== u || e[14] !== y) {
|
|
238
|
-
const v = {
|
|
239
|
-
transform: Dt.Transform.toString(u ? {
|
|
240
|
-
...u,
|
|
241
|
-
x: 0
|
|
242
|
-
} : null),
|
|
243
|
-
transition: y
|
|
244
|
-
}, b = `PsLegend-dragHandle-${o}`, C = o === "group" ? le.handleSlotGroup : le.handleSlotLayer;
|
|
245
|
-
let L;
|
|
246
|
-
e[16] !== C ? (L = [le.handleSlot, C], e[16] = C, e[17] = L) : L = e[17];
|
|
247
|
-
let w;
|
|
248
|
-
e[18] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (w = /* @__PURE__ */ d(Ot, {}), e[18] = w) : w = e[18];
|
|
249
|
-
let x;
|
|
250
|
-
e[19] !== s || e[20] !== i.reorder || e[21] !== c || e[22] !== f ? (x = /* @__PURE__ */ d(ve, { ref: f, size: "xsmall", "aria-label": i.reorder, ...s, ...c, sx: le.handle, children: w }), e[19] = s, e[20] = i.reorder, e[21] = c, e[22] = f, e[23] = x) : x = e[23];
|
|
251
|
-
let I;
|
|
252
|
-
e[24] !== i.reorder || e[25] !== x ? (I = /* @__PURE__ */ d(ie, { title: i.reorder, children: x }), e[24] = i.reorder, e[25] = x, e[26] = I) : I = e[26];
|
|
253
|
-
let S;
|
|
254
|
-
e[27] !== b || e[28] !== L || e[29] !== I ? (S = /* @__PURE__ */ d(P, { component: "span", className: b, sx: L, children: I }), e[27] = b, e[28] = L, e[29] = I, e[30] = S) : S = e[30], g = l({
|
|
255
|
-
rootRef: p,
|
|
256
|
-
rootStyle: v,
|
|
257
|
-
dragging: h,
|
|
258
|
-
handle: S
|
|
259
|
-
}), e[5] = s, e[6] = h, e[7] = o, e[8] = i.reorder, e[9] = c, e[10] = l, e[11] = f, e[12] = p, e[13] = u, e[14] = y, e[15] = g;
|
|
260
|
-
} else
|
|
261
|
-
g = e[15];
|
|
262
|
-
return g;
|
|
263
|
-
}
|
|
264
|
-
const ot = 48, Y = {
|
|
265
|
-
group: {
|
|
266
|
-
display: "flex",
|
|
267
|
-
flexDirection: "column",
|
|
268
|
-
"& + &": {
|
|
269
|
-
borderTop: "1px solid",
|
|
270
|
-
borderColor: "divider"
|
|
271
|
-
},
|
|
272
|
-
// Hover-fade group actions (widgets-v2 Wrapper parity). Revealed by
|
|
273
|
-
// hovering anywhere in the group block (including member rows); a control
|
|
274
|
-
// carrying `.active` (hidden group) stays visible. Touch devices always
|
|
275
|
-
// show them. The collapse chevron sits outside the fade group. Member
|
|
276
|
-
// rows use the distinct `PsLegend-rowFade` class, so group hover never
|
|
277
|
-
// lights up row actions.
|
|
181
|
+
}) => t(1.5, 2, 1.5, 2),
|
|
182
|
+
minHeight: we,
|
|
183
|
+
borderBottom: "1px solid",
|
|
184
|
+
borderColor: "divider",
|
|
185
|
+
position: "sticky",
|
|
186
|
+
top: 0,
|
|
187
|
+
// Above the sticky row headers (2), which in turn sit above MUI's
|
|
188
|
+
// z-index-1 form internals in row content.
|
|
189
|
+
zIndex: 3,
|
|
190
|
+
// Distinct from the row header / panel body (both `background.paper`) so
|
|
191
|
+
// the group header visually separates from the rest.
|
|
192
|
+
backgroundColor: "background.default",
|
|
193
|
+
// Hover-fade group actions (widgets-v2 Wrapper parity). Scoped to the
|
|
194
|
+
// header itself (not the group root) so hovering a member row's body
|
|
195
|
+
// below never lights up the group's own actions/handle — only hovering
|
|
196
|
+
// the header (title/handle/actions) does. A control carrying `.active`
|
|
197
|
+
// (hidden group) stays visible. Touch devices always show them. The
|
|
198
|
+
// collapse chevron sits outside the fade group. Each non-active child
|
|
199
|
+
// also collapses to zero width on its own (not just the whole actions
|
|
200
|
+
// slot) so a sibling's `.active` pin (e.g. the eye on a mixed-visibility
|
|
201
|
+
// group) doesn't leave a same-sized invisible hole where the still-faded
|
|
202
|
+
// ⋮ menu would've been.
|
|
278
203
|
"& .PsLegend-groupFade > *": {
|
|
279
204
|
opacity: 1,
|
|
280
205
|
transition: ({
|
|
281
206
|
transitions: t
|
|
282
|
-
}) => t.create("opacity", {
|
|
207
|
+
}) => t.create(["opacity", "width"], {
|
|
283
208
|
duration: t.duration.standard,
|
|
284
209
|
easing: t.easing.easeInOut
|
|
285
210
|
}),
|
|
@@ -290,8 +215,46 @@ const ot = 48, Y = {
|
|
|
290
215
|
opacity: 1
|
|
291
216
|
}
|
|
292
217
|
},
|
|
218
|
+
// Faded actions don't reserve flex space on fine-pointer devices — the
|
|
219
|
+
// label grows to the trailing edge. Hover/focus-within restores the slot
|
|
220
|
+
// so the label reflows with the buttons; a dirty `.active` child keeps
|
|
221
|
+
// the slot open even outside hover.
|
|
222
|
+
"@media (hover: hover)": {
|
|
223
|
+
"& .PsLegend-groupFade > *:not(.active)": {
|
|
224
|
+
width: 0,
|
|
225
|
+
minWidth: 0,
|
|
226
|
+
// border-box IconButtons keep their padding inside `width` — zero it
|
|
227
|
+
// too, otherwise the fixed 2px+2px padding survives as a tiny but
|
|
228
|
+
// needless residual gap.
|
|
229
|
+
padding: 0,
|
|
230
|
+
overflow: "hidden",
|
|
231
|
+
pointerEvents: "none"
|
|
232
|
+
},
|
|
233
|
+
"& .PsLegend-groupActions:not(:has(.active))": {
|
|
234
|
+
width: 0,
|
|
235
|
+
minWidth: 0,
|
|
236
|
+
overflow: "hidden",
|
|
237
|
+
// Cancel the header gap so nothing is left behind the label.
|
|
238
|
+
marginInlineStart: ({
|
|
239
|
+
spacing: t
|
|
240
|
+
}) => `calc(-1 * ${t(1)})`,
|
|
241
|
+
pointerEvents: "none"
|
|
242
|
+
}
|
|
243
|
+
},
|
|
293
244
|
"&:hover .PsLegend-groupFade > *, &:focus-within .PsLegend-groupFade > *": {
|
|
294
|
-
opacity: 1
|
|
245
|
+
opacity: 1,
|
|
246
|
+
width: "auto",
|
|
247
|
+
minWidth: 0,
|
|
248
|
+
padding: "2px",
|
|
249
|
+
overflow: "visible",
|
|
250
|
+
pointerEvents: "auto"
|
|
251
|
+
},
|
|
252
|
+
"&:hover .PsLegend-groupActions, &:focus-within .PsLegend-groupActions": {
|
|
253
|
+
width: "auto",
|
|
254
|
+
minWidth: 0,
|
|
255
|
+
overflow: "visible",
|
|
256
|
+
marginInlineStart: 0,
|
|
257
|
+
pointerEvents: "auto"
|
|
295
258
|
},
|
|
296
259
|
// Drag handle (Legend.Sortable): absolutely positioned (no reserved flex
|
|
297
260
|
// slot, so it never shifts the title/icon); the button inside fades in
|
|
@@ -312,33 +275,6 @@ const ot = 48, Y = {
|
|
|
312
275
|
opacity: 1
|
|
313
276
|
}
|
|
314
277
|
},
|
|
315
|
-
// The original stays in place, dimmed, while its overlay clone is dragged.
|
|
316
|
-
groupDragging: {
|
|
317
|
-
opacity: 0.4
|
|
318
|
-
},
|
|
319
|
-
// Figma: 48px tall, icon at 12px from the left, 8px gap to the label,
|
|
320
|
-
// actions right-aligned with ~8px edge inset (the small icon-button padding
|
|
321
|
-
// brings the glyphs to the design's 16px optical inset), hairline divider
|
|
322
|
-
// below. Sticky: pins to the top of the panel's scroll container.
|
|
323
|
-
header: {
|
|
324
|
-
display: "flex",
|
|
325
|
-
alignItems: "center",
|
|
326
|
-
gap: 1,
|
|
327
|
-
padding: ({
|
|
328
|
-
spacing: t
|
|
329
|
-
}) => t(1.5, 2, 1.5, 1),
|
|
330
|
-
minHeight: ot,
|
|
331
|
-
borderBottom: "1px solid",
|
|
332
|
-
borderColor: "divider",
|
|
333
|
-
position: "sticky",
|
|
334
|
-
top: 0,
|
|
335
|
-
// Above the sticky row headers (2), which in turn sit above MUI's
|
|
336
|
-
// z-index-1 form internals in row content.
|
|
337
|
-
zIndex: 3,
|
|
338
|
-
// Distinct from the row header / panel body (both `background.paper`) so
|
|
339
|
-
// the group header visually separates from the rest.
|
|
340
|
-
backgroundColor: "background.default"
|
|
341
|
-
},
|
|
342
278
|
// Accordion click target: everything in the header but the actions box.
|
|
343
279
|
// Non-native button (role='button'), so it carries its own focus ring.
|
|
344
280
|
titleArea: {
|
|
@@ -359,6 +295,10 @@ const ot = 48, Y = {
|
|
|
359
295
|
display: "flex",
|
|
360
296
|
color: "text.secondary"
|
|
361
297
|
},
|
|
298
|
+
// No `flex:1` here — the label sizes to its own text (shrinking to
|
|
299
|
+
// ellipsis when too long) so the chevron sits right after it, instead of
|
|
300
|
+
// being dragged to the trailing edge of `titleArea` (which keeps its own
|
|
301
|
+
// `flex:1` to fill the header up to the actions).
|
|
362
302
|
label: {
|
|
363
303
|
minWidth: 0,
|
|
364
304
|
overflow: "hidden",
|
|
@@ -394,53 +334,167 @@ const ot = 48, Y = {
|
|
|
394
334
|
padding: "2px"
|
|
395
335
|
}
|
|
396
336
|
}
|
|
337
|
+
}, le = {
|
|
338
|
+
// Absolute handle, flush against the header's top-left corner — no flex
|
|
339
|
+
// slot; sticky header is the containing block.
|
|
340
|
+
handleSlot: {
|
|
341
|
+
position: "absolute",
|
|
342
|
+
zIndex: 1,
|
|
343
|
+
display: "flex",
|
|
344
|
+
alignItems: "center",
|
|
345
|
+
justifyContent: "center",
|
|
346
|
+
left: 0,
|
|
347
|
+
top: 0
|
|
348
|
+
},
|
|
349
|
+
// Both headers center their title on the same 24px band from the header's
|
|
350
|
+
// top edge (group: 48px header, `alignItems:'center'`; row: 12px top
|
|
351
|
+
// padding + 24px `titleLine`, `alignItems:'flex-start'`) — so `height:48`
|
|
352
|
+
// centers the icon on the title in both cases, even though the row's own
|
|
353
|
+
// header is only 32px tall (a 32px-tall slot would center at 16px, 8px
|
|
354
|
+
// short of the title).
|
|
355
|
+
handleSlotLayer: {
|
|
356
|
+
height: we
|
|
357
|
+
},
|
|
358
|
+
handleSlotGroup: {
|
|
359
|
+
height: we
|
|
360
|
+
},
|
|
361
|
+
handle: {
|
|
362
|
+
padding: "2px",
|
|
363
|
+
cursor: "grab",
|
|
364
|
+
touchAction: "none",
|
|
365
|
+
color: "text.secondary",
|
|
366
|
+
"& .MuiSvgIcon-root": {
|
|
367
|
+
fontSize: 18
|
|
368
|
+
},
|
|
369
|
+
"&:active": {
|
|
370
|
+
cursor: "grabbing"
|
|
371
|
+
},
|
|
372
|
+
"&:hover": {
|
|
373
|
+
backgroundColor: "transparent"
|
|
374
|
+
}
|
|
375
|
+
},
|
|
376
|
+
overlay: {
|
|
377
|
+
display: "flex",
|
|
378
|
+
alignItems: "center",
|
|
379
|
+
gap: 1,
|
|
380
|
+
padding: ({
|
|
381
|
+
spacing: t
|
|
382
|
+
}) => t(1, 1.5),
|
|
383
|
+
backgroundColor: "background.paper",
|
|
384
|
+
borderRadius: 1,
|
|
385
|
+
boxShadow: 4,
|
|
386
|
+
height: "auto",
|
|
387
|
+
maxWidth: "100%",
|
|
388
|
+
overflow: "hidden"
|
|
389
|
+
},
|
|
390
|
+
overlayIcon: {
|
|
391
|
+
display: "flex",
|
|
392
|
+
color: "text.secondary"
|
|
393
|
+
},
|
|
394
|
+
overlayLabel: {
|
|
395
|
+
minWidth: 0,
|
|
396
|
+
overflow: "hidden",
|
|
397
|
+
textOverflow: "ellipsis",
|
|
398
|
+
whiteSpace: "nowrap"
|
|
399
|
+
}
|
|
397
400
|
};
|
|
401
|
+
function ot(t) {
|
|
402
|
+
const e = T(31), {
|
|
403
|
+
kind: o,
|
|
404
|
+
id: r,
|
|
405
|
+
render: l
|
|
406
|
+
} = t, {
|
|
407
|
+
labels: i
|
|
408
|
+
} = W();
|
|
409
|
+
let n;
|
|
410
|
+
e[0] !== r || e[1] !== o ? (n = Se(o, r), e[0] = r, e[1] = o, e[2] = n) : n = e[2];
|
|
411
|
+
let a;
|
|
412
|
+
e[3] !== n ? (a = {
|
|
413
|
+
id: n
|
|
414
|
+
}, e[3] = n, e[4] = a) : a = e[4];
|
|
415
|
+
const {
|
|
416
|
+
attributes: s,
|
|
417
|
+
listeners: c,
|
|
418
|
+
setNodeRef: p,
|
|
419
|
+
setActivatorNodeRef: f,
|
|
420
|
+
transform: u,
|
|
421
|
+
transition: y,
|
|
422
|
+
isDragging: h
|
|
423
|
+
} = Tt(a);
|
|
424
|
+
let g;
|
|
425
|
+
if (e[5] !== s || e[6] !== h || e[7] !== o || e[8] !== i.reorder || e[9] !== c || e[10] !== l || e[11] !== f || e[12] !== p || e[13] !== u || e[14] !== y) {
|
|
426
|
+
const x = {
|
|
427
|
+
transform: Dt.Transform.toString(u ? {
|
|
428
|
+
...u,
|
|
429
|
+
x: 0
|
|
430
|
+
} : null),
|
|
431
|
+
transition: y
|
|
432
|
+
}, b = `PsLegend-dragHandle-${o}`, S = o === "group" ? le.handleSlotGroup : le.handleSlotLayer;
|
|
433
|
+
let L;
|
|
434
|
+
e[16] !== S ? (L = [le.handleSlot, S], e[16] = S, e[17] = L) : L = e[17];
|
|
435
|
+
let C;
|
|
436
|
+
e[18] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (C = /* @__PURE__ */ d(Ot, {}), e[18] = C) : C = e[18];
|
|
437
|
+
let v;
|
|
438
|
+
e[19] !== s || e[20] !== i.reorder || e[21] !== c || e[22] !== f ? (v = /* @__PURE__ */ d(xe, { ref: f, size: "xsmall", "aria-label": i.reorder, ...s, ...c, sx: le.handle, children: C }), e[19] = s, e[20] = i.reorder, e[21] = c, e[22] = f, e[23] = v) : v = e[23];
|
|
439
|
+
let I;
|
|
440
|
+
e[24] !== i.reorder || e[25] !== v ? (I = /* @__PURE__ */ d(ie, { title: i.reorder, children: v }), e[24] = i.reorder, e[25] = v, e[26] = I) : I = e[26];
|
|
441
|
+
let w;
|
|
442
|
+
e[27] !== b || e[28] !== L || e[29] !== I ? (w = /* @__PURE__ */ d(A, { component: "span", className: b, sx: L, children: I }), e[27] = b, e[28] = L, e[29] = I, e[30] = w) : w = e[30], g = l({
|
|
443
|
+
rootRef: p,
|
|
444
|
+
rootStyle: x,
|
|
445
|
+
dragging: h,
|
|
446
|
+
handle: w
|
|
447
|
+
}), e[5] = s, e[6] = h, e[7] = o, e[8] = i.reorder, e[9] = c, e[10] = l, e[11] = f, e[12] = p, e[13] = u, e[14] = y, e[15] = g;
|
|
448
|
+
} else
|
|
449
|
+
g = e[15];
|
|
450
|
+
return g;
|
|
451
|
+
}
|
|
398
452
|
function jt(t) {
|
|
399
453
|
const e = T(27), {
|
|
400
454
|
groupId: o,
|
|
401
455
|
children: r
|
|
402
456
|
} = t, l = N();
|
|
403
457
|
let i;
|
|
404
|
-
e[0] !== o ? (i = (
|
|
458
|
+
e[0] !== o ? (i = (v) => v.groups[o], e[0] = o, e[1] = i) : i = e[1];
|
|
405
459
|
const n = Z(l, i), a = Z(l, Kt);
|
|
406
460
|
let s;
|
|
407
|
-
e[2] !== o ? (s = (
|
|
408
|
-
const c =
|
|
461
|
+
e[2] !== o ? (s = (v) => $e(v, o) === "hidden", e[2] = o, e[3] = s) : s = e[3];
|
|
462
|
+
const c = j(l, s), p = tt();
|
|
409
463
|
let f;
|
|
410
|
-
e[4] !== o ? (f = (
|
|
464
|
+
e[4] !== o ? (f = (v) => re(v, o).map(Zt), e[4] = o, e[5] = f) : f = e[5];
|
|
411
465
|
const u = Z(l, f);
|
|
412
466
|
if (!n)
|
|
413
467
|
return null;
|
|
414
468
|
let y;
|
|
415
|
-
e[6] !== r ? (y =
|
|
469
|
+
e[6] !== r ? (y = Je(r), e[6] = r, e[7] = y) : y = e[7];
|
|
416
470
|
const {
|
|
417
471
|
actions: h,
|
|
418
472
|
body: g
|
|
419
473
|
} = y;
|
|
420
|
-
let
|
|
421
|
-
e[8] !== n.collapsed || e[9] !== o || e[10] !== a ? (
|
|
422
|
-
const b =
|
|
423
|
-
let
|
|
424
|
-
e[12] !== h || e[13] !== g || e[14] !== n.collapsed || e[15] !== n.icon || e[16] !== n.label || e[17] !== o || e[18] !== c || e[19] !== u || e[20] !== p || e[21] !== b ? (
|
|
425
|
-
/* @__PURE__ */
|
|
426
|
-
|
|
427
|
-
/* @__PURE__ */
|
|
428
|
-
n.icon != null && /* @__PURE__ */ d(
|
|
429
|
-
/* @__PURE__ */ d(
|
|
474
|
+
let x;
|
|
475
|
+
e[8] !== n.collapsed || e[9] !== o || e[10] !== a ? (x = () => a(o, !n.collapsed), e[8] = n.collapsed, e[9] = o, e[10] = a, e[11] = x) : x = e[11];
|
|
476
|
+
const b = x;
|
|
477
|
+
let S;
|
|
478
|
+
e[12] !== h || e[13] !== g || e[14] !== n.collapsed || e[15] !== n.icon || e[16] !== n.label || e[17] !== o || e[18] !== c || e[19] !== u || e[20] !== p || e[21] !== b ? (S = (v) => /* @__PURE__ */ d(Xe.Provider, { value: o, children: /* @__PURE__ */ M(A, { ref: v?.rootRef, style: v?.rootStyle, sx: [Y.group, v?.dragging === !0 && Y.groupDragging], children: [
|
|
479
|
+
/* @__PURE__ */ M(A, { sx: Y.header, children: [
|
|
480
|
+
v?.handle,
|
|
481
|
+
/* @__PURE__ */ M(A, { sx: Y.titleArea, role: "button", tabIndex: 0, "aria-expanded": !n.collapsed, onClick: b, onKeyDown: Ze(b), children: [
|
|
482
|
+
n.icon != null && /* @__PURE__ */ d(A, { sx: Y.groupIcon, children: n.icon }),
|
|
483
|
+
/* @__PURE__ */ d(Ue, { title: n.label, dependencies: [n.label], children: (I) => {
|
|
430
484
|
const {
|
|
431
|
-
ref:
|
|
485
|
+
ref: w
|
|
432
486
|
} = I;
|
|
433
|
-
return /* @__PURE__ */ d(E, { ref:
|
|
487
|
+
return /* @__PURE__ */ d(E, { ref: w, variant: "button", fontWeight: "bold", color: c ? "text.disabled" : "text.primary", sx: Y.label, children: n.label });
|
|
434
488
|
} }),
|
|
435
|
-
/* @__PURE__ */ d(
|
|
489
|
+
/* @__PURE__ */ d(We, { sx: [Y.chevron, n.collapsed && Y.chevronCollapsed] })
|
|
436
490
|
] }),
|
|
437
|
-
/* @__PURE__ */ d(
|
|
491
|
+
/* @__PURE__ */ d(A, { className: "PsLegend-groupActions", sx: Y.actions, children: h })
|
|
438
492
|
] }),
|
|
439
|
-
/* @__PURE__ */ d(
|
|
440
|
-
] }) }), e[12] = h, e[13] = g, e[14] = n.collapsed, e[15] = n.icon, e[16] = n.label, e[17] = o, e[18] = c, e[19] = u, e[20] = p, e[21] = b, e[22] =
|
|
441
|
-
const L =
|
|
442
|
-
let
|
|
443
|
-
return e[23] !== o || e[24] !== L || e[25] !== p ? (
|
|
493
|
+
/* @__PURE__ */ d(Re, { in: !n.collapsed, children: p ? /* @__PURE__ */ d(Ne, { items: u, strategy: Fe, children: g }) : g })
|
|
494
|
+
] }) }), e[12] = h, e[13] = g, e[14] = n.collapsed, e[15] = n.icon, e[16] = n.label, e[17] = o, e[18] = c, e[19] = u, e[20] = p, e[21] = b, e[22] = S) : S = e[22];
|
|
495
|
+
const L = S;
|
|
496
|
+
let C;
|
|
497
|
+
return e[23] !== o || e[24] !== L || e[25] !== p ? (C = p ? /* @__PURE__ */ d(ot, { kind: "group", id: o, render: L }) : L(), e[23] = o, e[24] = L, e[25] = p, e[26] = C) : C = e[26], C;
|
|
444
498
|
}
|
|
445
499
|
function Zt(t) {
|
|
446
500
|
return Se("layer", t.id);
|
|
@@ -448,7 +502,7 @@ function Zt(t) {
|
|
|
448
502
|
function Kt(t) {
|
|
449
503
|
return t.setGroupCollapsed;
|
|
450
504
|
}
|
|
451
|
-
const
|
|
505
|
+
const F = {
|
|
452
506
|
// Padding lives on header/content/footer (not the root) so the sticky
|
|
453
507
|
// header is opaque and full-bleed while pinned.
|
|
454
508
|
row: {
|
|
@@ -463,13 +517,17 @@ const j = {
|
|
|
463
517
|
// `.PsLegend-rowFade` are hidden on fine-pointer devices and fade in when
|
|
464
518
|
// the row is hovered or holds focus; a control carrying `.active` (dirty
|
|
465
519
|
// state — hidden layer, open menu, opacity ≠ 1) stays visible. Coarse-
|
|
466
|
-
// pointer (touch) devices always show them.
|
|
467
|
-
//
|
|
520
|
+
// pointer (touch) devices always show them. Each non-active child also
|
|
521
|
+
// collapses to zero width on its own (not just the whole actions slot —
|
|
522
|
+
// see `PsLegend-rowActions` below) so a sibling's `.active` pin (e.g. the
|
|
523
|
+
// eye while hidden) doesn't leave a same-sized invisible hole where the
|
|
524
|
+
// still-faded ⋮ menu would've been; the title grows into that space. The
|
|
525
|
+
// collapse chevron sits outside the fade group and never fades.
|
|
468
526
|
"& .PsLegend-rowFade > *": {
|
|
469
527
|
opacity: 1,
|
|
470
528
|
transition: ({
|
|
471
529
|
transitions: t
|
|
472
|
-
}) => t.create("opacity", {
|
|
530
|
+
}) => t.create(["opacity", "width"], {
|
|
473
531
|
duration: t.duration.standard,
|
|
474
532
|
easing: t.easing.easeInOut
|
|
475
533
|
}),
|
|
@@ -480,8 +538,46 @@ const j = {
|
|
|
480
538
|
opacity: 1
|
|
481
539
|
}
|
|
482
540
|
},
|
|
541
|
+
// Faded actions don't reserve flex space on fine-pointer devices — the
|
|
542
|
+
// title grows to the trailing edge. Hover/focus-within restores the slot
|
|
543
|
+
// so the title reflows with the buttons; a dirty `.active` child keeps
|
|
544
|
+
// the slot open even outside hover.
|
|
545
|
+
"@media (hover: hover)": {
|
|
546
|
+
"& .PsLegend-rowFade > *:not(.active)": {
|
|
547
|
+
width: 0,
|
|
548
|
+
minWidth: 0,
|
|
549
|
+
// border-box IconButtons keep their padding inside `width` — zero it
|
|
550
|
+
// too, otherwise the fixed 2px+2px padding survives as a tiny but
|
|
551
|
+
// needless residual gap.
|
|
552
|
+
padding: 0,
|
|
553
|
+
overflow: "hidden",
|
|
554
|
+
pointerEvents: "none"
|
|
555
|
+
},
|
|
556
|
+
"& .PsLegend-rowActions:not(:has(.active))": {
|
|
557
|
+
width: 0,
|
|
558
|
+
minWidth: 0,
|
|
559
|
+
overflow: "hidden",
|
|
560
|
+
// Cancel the header gap so nothing is left behind the title.
|
|
561
|
+
marginInlineStart: ({
|
|
562
|
+
spacing: t
|
|
563
|
+
}) => `calc(-1 * ${t(0.5)})`,
|
|
564
|
+
pointerEvents: "none"
|
|
565
|
+
}
|
|
566
|
+
},
|
|
483
567
|
"&:hover .PsLegend-rowFade > *, &:focus-within .PsLegend-rowFade > *": {
|
|
484
|
-
opacity: 1
|
|
568
|
+
opacity: 1,
|
|
569
|
+
width: "auto",
|
|
570
|
+
minWidth: 0,
|
|
571
|
+
padding: "2px",
|
|
572
|
+
overflow: "visible",
|
|
573
|
+
pointerEvents: "auto"
|
|
574
|
+
},
|
|
575
|
+
"&:hover .PsLegend-rowActions, &:focus-within .PsLegend-rowActions": {
|
|
576
|
+
width: "auto",
|
|
577
|
+
minWidth: 0,
|
|
578
|
+
overflow: "visible",
|
|
579
|
+
marginInlineStart: 0,
|
|
580
|
+
pointerEvents: "auto"
|
|
485
581
|
},
|
|
486
582
|
// Hovering anywhere in the row also reveals the category/icon values
|
|
487
583
|
// (the renderers keep their own list-scoped rule for standalone usage).
|
|
@@ -516,7 +612,9 @@ const j = {
|
|
|
516
612
|
// band (subtitle flows below them) — hence `flex-start` with the title
|
|
517
613
|
// optically centered against the 30px icon-button row. Sticky: pins inside
|
|
518
614
|
// the panel's scroll container; `top` is applied inline per row (0, or the
|
|
519
|
-
// group-header height for grouped rows).
|
|
615
|
+
// group-header height for grouped rows). Grouped rows get an extra 20px
|
|
616
|
+
// left inset (36px total) so member layers read as nested under the group
|
|
617
|
+
// and line up with the group's own icon+label text start.
|
|
520
618
|
header: {
|
|
521
619
|
display: "flex",
|
|
522
620
|
alignItems: "flex-start",
|
|
@@ -531,6 +629,9 @@ const j = {
|
|
|
531
629
|
zIndex: 2,
|
|
532
630
|
backgroundColor: "background.paper"
|
|
533
631
|
},
|
|
632
|
+
headerGrouped: {
|
|
633
|
+
paddingLeft: 4.5
|
|
634
|
+
},
|
|
534
635
|
titleBox: {
|
|
535
636
|
flex: 1,
|
|
536
637
|
minWidth: 0,
|
|
@@ -557,6 +658,10 @@ const j = {
|
|
|
557
658
|
alignItems: "center",
|
|
558
659
|
gap: 0.5
|
|
559
660
|
},
|
|
661
|
+
// No `flex:1` here — the title sizes to its own text (shrinking to
|
|
662
|
+
// ellipsis when too long) so the chevron sits right after it, instead of
|
|
663
|
+
// being dragged to the trailing edge of `titleLine` (which spans the full
|
|
664
|
+
// width of `titleBox`, itself `flex:1` to fill the header up to actions).
|
|
560
665
|
title: {
|
|
561
666
|
minWidth: 0,
|
|
562
667
|
overflow: "hidden",
|
|
@@ -607,18 +712,24 @@ const j = {
|
|
|
607
712
|
spacing: t
|
|
608
713
|
}) => t(0.5, 2, 1, 2)
|
|
609
714
|
},
|
|
715
|
+
contentGrouped: {
|
|
716
|
+
paddingLeft: 4.5
|
|
717
|
+
},
|
|
610
718
|
// ~16px above the note (content's 8px bottom inset + 8px here), per design.
|
|
611
719
|
footer: {
|
|
612
720
|
padding: ({
|
|
613
721
|
spacing: t
|
|
614
722
|
}) => t(1, 2, 1, 2)
|
|
615
723
|
},
|
|
724
|
+
footerGrouped: {
|
|
725
|
+
paddingLeft: 4.5
|
|
726
|
+
},
|
|
616
727
|
dimmed: {
|
|
617
728
|
opacity: 0.5
|
|
618
729
|
}
|
|
619
730
|
};
|
|
620
731
|
function Xt(t) {
|
|
621
|
-
const e = T(
|
|
732
|
+
const e = T(31), {
|
|
622
733
|
layerId: o,
|
|
623
734
|
children: r
|
|
624
735
|
} = t, l = N();
|
|
@@ -627,67 +738,64 @@ function Xt(t) {
|
|
|
627
738
|
const n = Z(l, i), a = Z(l, qt);
|
|
628
739
|
let s;
|
|
629
740
|
e[2] !== o ? (s = (m) => Lt(m, o), e[2] = o, e[3] = s) : s = e[3];
|
|
630
|
-
const c =
|
|
631
|
-
let
|
|
632
|
-
e[4] !== o || e[5] !== g ? (
|
|
741
|
+
const c = j(l, s), p = ue() !== null, f = tt(), [u, y] = J(!1), h = n?.visible ?? !0, g = u && h;
|
|
742
|
+
let x;
|
|
743
|
+
e[4] !== o || e[5] !== g ? (x = {
|
|
633
744
|
layerId: o,
|
|
634
745
|
opacityOpen: g,
|
|
635
746
|
setOpacityOpen: y
|
|
636
|
-
}, e[4] = o, e[5] = g, e[6] =
|
|
637
|
-
const b =
|
|
747
|
+
}, e[4] = o, e[5] = g, e[6] = x) : x = e[6];
|
|
748
|
+
const b = x;
|
|
638
749
|
if (!n)
|
|
639
750
|
return null;
|
|
640
|
-
let
|
|
641
|
-
e[7] !== r ? (
|
|
751
|
+
let S;
|
|
752
|
+
e[7] !== r ? (S = Je(r), e[7] = r, e[8] = S) : S = e[8];
|
|
642
753
|
const {
|
|
643
754
|
actions: L,
|
|
644
|
-
body:
|
|
645
|
-
} =
|
|
755
|
+
body: C
|
|
756
|
+
} = S, v = !n.visible || n.collapsed, I = p ? we : 0, w = n.visible && c;
|
|
646
757
|
let O;
|
|
647
758
|
e[9] !== n.collapsed || e[10] !== o || e[11] !== a ? (O = () => a(o, !n.collapsed), e[9] = n.collapsed, e[10] = o, e[11] = a, e[12] = O) : O = e[12];
|
|
648
759
|
const k = O;
|
|
649
760
|
let $;
|
|
650
|
-
e[13] !== L || e[14] !==
|
|
651
|
-
/* @__PURE__ */
|
|
761
|
+
e[13] !== L || e[14] !== C || e[15] !== w || e[16] !== v || e[17] !== p || e[18] !== n.collapsed || e[19] !== n.helperText || e[20] !== n.name || e[21] !== n.subtitle || e[22] !== n.visible || e[23] !== b || e[24] !== I || e[25] !== k ? ($ = (m) => /* @__PURE__ */ d(Ke.Provider, { value: b, children: /* @__PURE__ */ M(A, { ref: m?.rootRef, style: m?.rootStyle, sx: [F.row, m?.dragging === !0 && F.rowDragging], children: [
|
|
762
|
+
/* @__PURE__ */ M(A, { sx: [F.header, p && F.headerGrouped], style: {
|
|
652
763
|
top: I
|
|
653
764
|
}, children: [
|
|
654
765
|
m?.handle,
|
|
655
|
-
/* @__PURE__ */
|
|
766
|
+
/* @__PURE__ */ M(A, { sx: [F.titleBox, w && F.titleBoxInteractive], ...w && {
|
|
656
767
|
role: "button",
|
|
657
768
|
tabIndex: 0,
|
|
658
769
|
"aria-expanded": !n.collapsed,
|
|
659
770
|
onClick: k,
|
|
660
|
-
onKeyDown:
|
|
771
|
+
onKeyDown: Ze(k)
|
|
661
772
|
}, children: [
|
|
662
|
-
/* @__PURE__ */
|
|
663
|
-
/* @__PURE__ */ d(
|
|
773
|
+
/* @__PURE__ */ M(A, { sx: F.titleLine, children: [
|
|
774
|
+
/* @__PURE__ */ d(Ue, { title: n.name, dependencies: [n.name], children: (P) => {
|
|
664
775
|
const {
|
|
665
|
-
ref:
|
|
666
|
-
} =
|
|
667
|
-
return /* @__PURE__ */ d(E, { ref:
|
|
776
|
+
ref: z
|
|
777
|
+
} = P;
|
|
778
|
+
return /* @__PURE__ */ d(E, { ref: z, variant: "button", color: n.visible ? "text.primary" : "text.disabled", sx: F.title, children: n.name });
|
|
668
779
|
} }),
|
|
669
|
-
|
|
780
|
+
w && /* @__PURE__ */ d(We, { sx: [F.chevron, n.collapsed && F.chevronCollapsed] })
|
|
670
781
|
] }),
|
|
671
|
-
n.subtitle && !
|
|
782
|
+
n.subtitle && !v && /* @__PURE__ */ d(E, { variant: "caption", color: "text.secondary", children: n.subtitle })
|
|
672
783
|
] }),
|
|
673
|
-
/* @__PURE__ */ d(
|
|
784
|
+
/* @__PURE__ */ d(A, { className: "PsLegend-rowActions", sx: F.actions, children: L })
|
|
674
785
|
] }),
|
|
675
|
-
/* @__PURE__ */
|
|
676
|
-
/* @__PURE__ */ d(
|
|
677
|
-
|
|
678
|
-
...j.dimmed
|
|
679
|
-
}, children: w }),
|
|
680
|
-
n.helperText && /* @__PURE__ */ d(P, { sx: j.footer, children: typeof n.helperText == "string" ? /* @__PURE__ */ d(E, { variant: "caption", color: "text.secondary", children: n.helperText }) : n.helperText })
|
|
786
|
+
/* @__PURE__ */ M(Re, { in: !v, children: [
|
|
787
|
+
/* @__PURE__ */ d(A, { sx: [F.content, p && F.contentGrouped, !n.visible && F.dimmed], children: C }),
|
|
788
|
+
n.helperText && /* @__PURE__ */ d(A, { sx: [F.footer, p && F.footerGrouped], children: typeof n.helperText == "string" ? /* @__PURE__ */ d(E, { variant: "caption", color: "text.secondary", children: n.helperText }) : n.helperText })
|
|
681
789
|
] })
|
|
682
|
-
] }) }), e[13] = L, e[14] =
|
|
790
|
+
] }) }), e[13] = L, e[14] = C, e[15] = w, e[16] = v, e[17] = p, e[18] = n.collapsed, e[19] = n.helperText, e[20] = n.name, e[21] = n.subtitle, e[22] = n.visible, e[23] = b, e[24] = I, e[25] = k, e[26] = $) : $ = e[26];
|
|
683
791
|
const _ = $;
|
|
684
792
|
let G;
|
|
685
|
-
return e[
|
|
793
|
+
return e[27] !== o || e[28] !== _ || e[29] !== f ? (G = f ? /* @__PURE__ */ d(ot, { kind: "layer", id: o, render: _ }) : _(), e[27] = o, e[28] = _, e[29] = f, e[30] = G) : G = e[30], G;
|
|
686
794
|
}
|
|
687
795
|
function qt(t) {
|
|
688
796
|
return t.setCollapsed;
|
|
689
797
|
}
|
|
690
|
-
const Qt =
|
|
798
|
+
const Qt = wt(/* @__PURE__ */ M("g", { transform: "translate(12 12) scale(1.33333) translate(-184 -24)", children: [
|
|
691
799
|
/* @__PURE__ */ d("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M184.901 29.5794L185.217 29.5415C185.803 29.4604 186.372 29.3216 186.918 29.1319L187 29.1007L187 29.1033L187.208 29.0255L187.536 28.8904C187.722 28.8088 187.906 28.721 188.086 28.6272L188.366 28.4747C188.381 28.4663 188.395 28.4578 188.41 28.4493C188.418 28.4451 188.425 28.4408 188.432 28.4365C188.455 28.4234 188.478 28.4102 188.5 28.3969C188.551 28.3668 188.601 28.3362 188.652 28.3052L188.912 28.1374C189.598 27.6788 190.217 27.1271 190.75 26.5002L190.751 26.4954C190.989 26.2164 191.21 25.9226 191.413 25.6152C191.488 25.5007 191.561 25.3843 191.631 25.2662L191.757 25.0445L191.878 24.8189L192.021 24.5306L192.15 24.2443L192.25 24C190.98 20.7776 187.885 18.4747 184.239 18.3782L184 18.375L183.716 18.3795L183.637 18.3823L183.373 18.3967L183.103 18.4198L182.838 18.4506L182.666 18.4749L182.426 18.5146C182.19 18.557 181.957 18.6087 181.728 18.6684L181.55 18.7175L181.271 18.8039L182.508 20.04L182.801 19.9854C183.194 19.9182 183.592 19.875 184 19.875C186.842 19.875 189.378 21.4725 190.615 24C190.172 24.915 189.55 25.7025 188.807 26.34L188.811 26.3446C188.71 26.4323 188.606 26.5172 188.5 26.5991C188.455 26.6337 188.41 26.6679 188.364 26.7015C188.108 26.8897 187.84 27.0611 187.562 27.2145C187.088 27.4755 186.585 27.6844 186.058 27.836L186.062 27.84L185.778 27.9125C185.707 27.9293 185.635 27.9452 185.563 27.9602C185.297 28.0173 185.025 28.06 184.75 28.0876V28.0866C184.503 28.1118 184.253 28.125 184 28.125C181.158 28.125 178.622 26.5275 177.385 24C177.91 22.9275 178.675 22.0425 179.582 21.3525L180.895 22.665L180.826 22.844C180.697 23.2065 180.625 23.595 180.625 24C180.625 25.86 182.14 27.375 184 27.375C184.258 27.375 184.509 27.3459 184.75 27.2915C185.462 27.129 186.09 26.7397 186.553 26.2048L179.79 19.4389C179.339 19.6833 178.912 19.9656 178.512 20.2817L178.517 20.2875L178.271 20.4884C177.704 20.9671 177.197 21.516 176.766 22.1227C176.404 22.6333 176.095 23.1838 175.845 23.7662L175.75 24C177.048 27.2925 180.25 29.625 184 29.625L184.285 29.6205L184.492 29.6116L184.628 29.6025L184.901 29.5794ZM182.133 23.9025L184.09 25.86L184.045 25.8703L184 25.875C182.965 25.875 182.125 25.035 182.125 24L182.133 23.9025Z" }),
|
|
692
800
|
/* @__PURE__ */ d("path", { d: "M187.368 23.9925C187.375 22.1325 185.86 20.625 184 20.625C183.722 20.625 183.46 20.6625 183.198 20.73L184.75 22.2825L184.889 22.3507C185.252 22.5477 185.543 22.8625 185.71 23.2425L187.263 24.795L187.304 24.6011C187.342 24.4045 187.368 24.2006 187.368 23.9925Z" })
|
|
693
801
|
] }), "VisibilityIndeterminate"), Yt = {
|
|
@@ -702,45 +810,45 @@ function Jt(t) {
|
|
|
702
810
|
labels: l
|
|
703
811
|
} = t, i = N(), n = Q(), a = ue(), {
|
|
704
812
|
labels: s
|
|
705
|
-
} =
|
|
813
|
+
} = W(), c = o !== void 0 && r !== void 0;
|
|
706
814
|
let p;
|
|
707
815
|
e[0] !== c || e[1] !== n ? (p = (m) => !c && n ? m.layers[n.layerId]?.visible ?? !0 : !0, e[0] = c, e[1] = n, e[2] = p) : p = e[2];
|
|
708
|
-
const f =
|
|
816
|
+
const f = j(i, p);
|
|
709
817
|
let u;
|
|
710
|
-
e[3] !== c || e[4] !== a || e[5] !== n ? (u = (m) => !c && !n && a ?
|
|
711
|
-
const y = Z(i, u), h =
|
|
712
|
-
let
|
|
713
|
-
e[7] !== c || e[8] !== a || e[9] !== n ? (
|
|
818
|
+
e[3] !== c || e[4] !== a || e[5] !== n ? (u = (m) => !c && !n && a ? $e(m, a) : "visible", e[3] = c, e[4] = a, e[5] = n, e[6] = u) : u = e[6];
|
|
819
|
+
const y = Z(i, u), h = j(i, to), g = j(i, eo);
|
|
820
|
+
let x, b;
|
|
821
|
+
e[7] !== c || e[8] !== a || e[9] !== n ? (x = () => {
|
|
714
822
|
!c && !n && !a && console.warn("Legend.VisibilityToggle needs `visibility`/`onToggle` props or a Legend.Row / Legend.Group context.");
|
|
715
|
-
}, b = [c, n, a], e[7] = c, e[8] = a, e[9] = n, e[10] =
|
|
716
|
-
let
|
|
823
|
+
}, b = [c, n, a], e[7] = c, e[8] = a, e[9] = n, e[10] = x, e[11] = b) : (x = e[10], b = e[11]), ft(x, b);
|
|
824
|
+
let S, L, C = l;
|
|
717
825
|
if (c) {
|
|
718
|
-
|
|
826
|
+
S = o;
|
|
719
827
|
let m;
|
|
720
828
|
e[12] !== r || e[13] !== o ? (m = () => r(o === "hidden"), e[12] = r, e[13] = o, e[14] = m) : m = e[14], L = m;
|
|
721
829
|
} else if (n) {
|
|
722
|
-
|
|
830
|
+
S = f ? "visible" : "hidden";
|
|
723
831
|
let m;
|
|
724
832
|
e[15] !== f || e[16] !== n || e[17] !== h ? (m = () => h(n.layerId, !f), e[15] = f, e[16] = n, e[17] = h, e[18] = m) : m = e[18], L = m;
|
|
725
833
|
} else if (a) {
|
|
726
|
-
|
|
834
|
+
S = y;
|
|
727
835
|
let m;
|
|
728
836
|
e[19] !== a || e[20] !== y || e[21] !== g ? (m = () => g(a, y === "hidden"), e[19] = a, e[20] = y, e[21] = g, e[22] = m) : m = e[22], L = m;
|
|
729
|
-
let
|
|
730
|
-
e[23] !== s || e[24] !== l ? (
|
|
837
|
+
let P;
|
|
838
|
+
e[23] !== s || e[24] !== l ? (P = l ?? {
|
|
731
839
|
hideLayer: s.hideGroup,
|
|
732
840
|
showLayer: s.showGroup
|
|
733
|
-
}, e[23] = s, e[24] = l, e[25] =
|
|
841
|
+
}, e[23] = s, e[24] = l, e[25] = P) : P = e[25], C = P;
|
|
734
842
|
} else
|
|
735
843
|
return null;
|
|
736
844
|
const {
|
|
737
|
-
hideLayer:
|
|
845
|
+
hideLayer: v,
|
|
738
846
|
showLayer: I
|
|
739
|
-
} =
|
|
847
|
+
} = C ?? s, w = Yt[S], O = S === "hidden" ? I : v, k = S === "visible" ? void 0 : "active";
|
|
740
848
|
let $;
|
|
741
|
-
e[26] !==
|
|
849
|
+
e[26] !== w ? ($ = /* @__PURE__ */ d(w, { fontSize: "small" }), e[26] = w, e[27] = $) : $ = e[27];
|
|
742
850
|
let _;
|
|
743
|
-
e[28] !== L || e[29] !== O || e[30] !== k || e[31] !== $ ? (_ = /* @__PURE__ */ d(
|
|
851
|
+
e[28] !== L || e[29] !== O || e[30] !== k || e[31] !== $ ? (_ = /* @__PURE__ */ d(xe, { size: "small", className: k, onClick: L, "aria-label": O, children: $ }), e[28] = L, e[29] = O, e[30] = k, e[31] = $, e[32] = _) : _ = e[32];
|
|
744
852
|
let G;
|
|
745
853
|
return e[33] !== O || e[34] !== _ ? (G = /* @__PURE__ */ d(ie, { title: O, children: _ }), e[33] = O, e[34] = _, e[35] = G) : G = e[35], G;
|
|
746
854
|
}
|
|
@@ -750,39 +858,39 @@ function eo(t) {
|
|
|
750
858
|
function to(t) {
|
|
751
859
|
return t.setVisibility;
|
|
752
860
|
}
|
|
753
|
-
function
|
|
861
|
+
function _e(t) {
|
|
754
862
|
const e = T(23), {
|
|
755
863
|
children: o,
|
|
756
864
|
gate: r,
|
|
757
865
|
ariaLabel: l,
|
|
758
866
|
active: i
|
|
759
|
-
} = t, n = r === void 0 ? !0 : r, a = i === void 0 ? !1 : i, [s, c] = J(null), [p, f] = J(!1), u =
|
|
867
|
+
} = t, n = r === void 0 ? !0 : r, a = i === void 0 ? !1 : i, [s, c] = J(null), [p, f] = J(!1), u = De(!1), y = !!s, {
|
|
760
868
|
labels: h
|
|
761
|
-
} =
|
|
869
|
+
} = W();
|
|
762
870
|
let g;
|
|
763
871
|
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (g = () => c(null), e[0] = g) : g = e[0];
|
|
764
|
-
const
|
|
872
|
+
const x = g;
|
|
765
873
|
let b;
|
|
766
874
|
e[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (b = (V) => {
|
|
767
875
|
u.current = V, f(V);
|
|
768
876
|
}, e[1] = b) : b = e[1];
|
|
769
|
-
const
|
|
877
|
+
const S = b;
|
|
770
878
|
let L;
|
|
771
879
|
e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (L = () => u.current, e[2] = L) : L = e[2];
|
|
772
|
-
const
|
|
773
|
-
let
|
|
774
|
-
e[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
775
|
-
u.current ||
|
|
776
|
-
}, e[3] =
|
|
777
|
-
const I =
|
|
778
|
-
let
|
|
779
|
-
e[4] !== p ? (
|
|
880
|
+
const C = L;
|
|
881
|
+
let v;
|
|
882
|
+
e[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (v = () => {
|
|
883
|
+
u.current || x();
|
|
884
|
+
}, e[3] = v) : v = e[3];
|
|
885
|
+
const I = v;
|
|
886
|
+
let w;
|
|
887
|
+
e[4] !== p ? (w = {
|
|
780
888
|
busy: p,
|
|
781
|
-
isBusy:
|
|
782
|
-
setBusy:
|
|
783
|
-
close:
|
|
784
|
-
}, e[4] = p, e[5] =
|
|
785
|
-
const O =
|
|
889
|
+
isBusy: C,
|
|
890
|
+
setBusy: S,
|
|
891
|
+
close: x
|
|
892
|
+
}, e[4] = p, e[5] = w) : w = e[5];
|
|
893
|
+
const O = w;
|
|
786
894
|
if (!n || !o)
|
|
787
895
|
return null;
|
|
788
896
|
let k;
|
|
@@ -793,25 +901,25 @@ function Oe(t) {
|
|
|
793
901
|
let G;
|
|
794
902
|
e[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (G = /* @__PURE__ */ d(Gt, { fontSize: "small" }), e[7] = G) : G = e[7];
|
|
795
903
|
let m;
|
|
796
|
-
e[8] !== l || e[9] !== y || e[10] !== _ ? (m = /* @__PURE__ */ d(
|
|
797
|
-
let
|
|
798
|
-
e[12] !== h.moreOptions || e[13] !== m ? (
|
|
799
|
-
let
|
|
800
|
-
e[15] !== s || e[16] !== o || e[17] !== y ? (
|
|
904
|
+
e[8] !== l || e[9] !== y || e[10] !== _ ? (m = /* @__PURE__ */ d(xe, { size: "small", className: _, onClick: $, "aria-label": l, "aria-haspopup": "menu", "aria-expanded": y, children: G }), e[8] = l, e[9] = y, e[10] = _, e[11] = m) : m = e[11];
|
|
905
|
+
let P;
|
|
906
|
+
e[12] !== h.moreOptions || e[13] !== m ? (P = /* @__PURE__ */ d(ie, { title: h.moreOptions, children: m }), e[12] = h.moreOptions, e[13] = m, e[14] = P) : P = e[14];
|
|
907
|
+
let z;
|
|
908
|
+
e[15] !== s || e[16] !== o || e[17] !== y ? (z = /* @__PURE__ */ d(Oe, { anchorEl: s, open: y, onClose: I, onClick: I, children: o }), e[15] = s, e[16] = o, e[17] = y, e[18] = z) : z = e[18];
|
|
801
909
|
let D;
|
|
802
|
-
return e[19] !== O || e[20] !==
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
] }), e[19] = O, e[20] =
|
|
910
|
+
return e[19] !== O || e[20] !== P || e[21] !== z ? (D = /* @__PURE__ */ M(qe.Provider, { value: O, children: [
|
|
911
|
+
P,
|
|
912
|
+
z
|
|
913
|
+
] }), e[19] = O, e[20] = P, e[21] = z, e[22] = D) : D = e[22], D;
|
|
806
914
|
}
|
|
807
915
|
function oo(t) {
|
|
808
916
|
const e = T(5), {
|
|
809
917
|
children: o
|
|
810
918
|
} = t, r = Q(), {
|
|
811
919
|
labels: l
|
|
812
|
-
} =
|
|
920
|
+
} = W(), i = !!r, n = r?.opacityOpen ?? !1;
|
|
813
921
|
let a;
|
|
814
|
-
return e[0] !== o || e[1] !== l.layerOptions || e[2] !== i || e[3] !== n ? (a = /* @__PURE__ */ d(
|
|
922
|
+
return e[0] !== o || e[1] !== l.layerOptions || e[2] !== i || e[3] !== n ? (a = /* @__PURE__ */ d(_e, { gate: i, ariaLabel: l.layerOptions, active: n, children: o }), e[0] = o, e[1] = l.layerOptions, e[2] = i, e[3] = n, e[4] = a) : a = e[4], a;
|
|
815
923
|
}
|
|
816
924
|
async function nt(t, e) {
|
|
817
925
|
if (!t.isBusy()) {
|
|
@@ -826,12 +934,12 @@ async function nt(t, e) {
|
|
|
826
934
|
function no(t) {
|
|
827
935
|
const e = T(13), {
|
|
828
936
|
onZoomTo: o
|
|
829
|
-
} = t, r = N(), l = Q(), i =
|
|
937
|
+
} = t, r = N(), l = Q(), i = Qe();
|
|
830
938
|
let n;
|
|
831
939
|
e[0] !== l ? (n = (g) => l ? g.layers[l.layerId]?.visible ?? !1 : !1, e[0] = l, e[1] = n) : n = e[1];
|
|
832
|
-
const a =
|
|
940
|
+
const a = j(r, n), {
|
|
833
941
|
labels: s
|
|
834
|
-
} =
|
|
942
|
+
} = W();
|
|
835
943
|
if (!l || !a)
|
|
836
944
|
return null;
|
|
837
945
|
const c = i?.busy ?? !1;
|
|
@@ -841,12 +949,12 @@ function no(t) {
|
|
|
841
949
|
}, e[2] = i, e[3] = o, e[4] = l, e[5] = p) : p = e[5];
|
|
842
950
|
const f = p;
|
|
843
951
|
let u;
|
|
844
|
-
e[6] !== c ? (u = c && /* @__PURE__ */ d(
|
|
952
|
+
e[6] !== c ? (u = c && /* @__PURE__ */ d(Ve, { size: 16, sx: {
|
|
845
953
|
mr: 1
|
|
846
954
|
} }), e[6] = c, e[7] = u) : u = e[7];
|
|
847
955
|
const y = c ? s.loading : s.zoomTo;
|
|
848
956
|
let h;
|
|
849
|
-
return e[8] !== c || e[9] !== f || e[10] !== u || e[11] !== y ? (h = /* @__PURE__ */
|
|
957
|
+
return e[8] !== c || e[9] !== f || e[10] !== u || e[11] !== y ? (h = /* @__PURE__ */ M(q, { disabled: c, onClick: f, children: [
|
|
850
958
|
u,
|
|
851
959
|
y
|
|
852
960
|
] }), e[8] = c, e[9] = f, e[10] = u, e[11] = y, e[12] = h) : h = e[12], h;
|
|
@@ -854,7 +962,7 @@ function no(t) {
|
|
|
854
962
|
function lo() {
|
|
855
963
|
const t = T(6), e = N(), o = Q(), {
|
|
856
964
|
labels: r
|
|
857
|
-
} =
|
|
965
|
+
} = W();
|
|
858
966
|
if (!o)
|
|
859
967
|
return null;
|
|
860
968
|
let l;
|
|
@@ -871,7 +979,7 @@ function lo() {
|
|
|
871
979
|
function io() {
|
|
872
980
|
const t = T(6), e = N(), o = ue(), r = Q(), {
|
|
873
981
|
labels: l
|
|
874
|
-
} =
|
|
982
|
+
} = W();
|
|
875
983
|
if (o === null && !r)
|
|
876
984
|
return null;
|
|
877
985
|
let i;
|
|
@@ -892,20 +1000,20 @@ function ro(t) {
|
|
|
892
1000
|
children: o
|
|
893
1001
|
} = t, r = ue(), {
|
|
894
1002
|
labels: l
|
|
895
|
-
} =
|
|
1003
|
+
} = W(), i = r !== null;
|
|
896
1004
|
let n;
|
|
897
|
-
return e[0] !== o || e[1] !== l.groupOptions || e[2] !== i ? (n = /* @__PURE__ */ d(
|
|
1005
|
+
return e[0] !== o || e[1] !== l.groupOptions || e[2] !== i ? (n = /* @__PURE__ */ d(_e, { gate: i, ariaLabel: l.groupOptions, children: o }), e[0] = o, e[1] = l.groupOptions, e[2] = i, e[3] = n) : n = e[3], n;
|
|
898
1006
|
}
|
|
899
1007
|
function so() {
|
|
900
1008
|
const t = T(6), e = N(), o = ue(), {
|
|
901
1009
|
labels: r
|
|
902
|
-
} =
|
|
1010
|
+
} = W();
|
|
903
1011
|
if (o === null)
|
|
904
1012
|
return null;
|
|
905
1013
|
let l;
|
|
906
1014
|
t[0] !== o || t[1] !== e ? (l = () => {
|
|
907
1015
|
const a = X(e).getState();
|
|
908
|
-
for (const s of
|
|
1016
|
+
for (const s of ve(a))
|
|
909
1017
|
a.setGroupVisibility(s.id, s.id === o);
|
|
910
1018
|
for (const s of re(a, void 0))
|
|
911
1019
|
a.setVisibility(s.id, !1);
|
|
@@ -915,15 +1023,15 @@ function so() {
|
|
|
915
1023
|
return t[3] !== r.showOnlyGroup || t[4] !== i ? (n = /* @__PURE__ */ d(q, { onClick: i, children: r.showOnlyGroup }), t[3] = r.showOnlyGroup, t[4] = i, t[5] = n) : n = t[5], n;
|
|
916
1024
|
}
|
|
917
1025
|
function ao() {
|
|
918
|
-
const t = T(5), e = N(), o =
|
|
1026
|
+
const t = T(5), e = N(), o = j(e, Ee), {
|
|
919
1027
|
labels: r
|
|
920
|
-
} =
|
|
1028
|
+
} = W();
|
|
921
1029
|
if (!o)
|
|
922
1030
|
return null;
|
|
923
1031
|
let l;
|
|
924
1032
|
t[0] !== e ? (l = () => {
|
|
925
1033
|
const a = X(e).getState();
|
|
926
|
-
for (const s of
|
|
1034
|
+
for (const s of ve(a))
|
|
927
1035
|
a.setGroupVisibility(s.id, !0);
|
|
928
1036
|
for (const s of re(a, void 0))
|
|
929
1037
|
a.setVisibility(s.id, !0);
|
|
@@ -933,15 +1041,15 @@ function ao() {
|
|
|
933
1041
|
return t[2] !== r.showAllGroups || t[3] !== i ? (n = /* @__PURE__ */ d(q, { onClick: i, children: r.showAllGroups }), t[2] = r.showAllGroups, t[3] = i, t[4] = n) : n = t[4], n;
|
|
934
1042
|
}
|
|
935
1043
|
function co() {
|
|
936
|
-
const t = T(5), e = N(), o =
|
|
1044
|
+
const t = T(5), e = N(), o = j(e, Ee), r = j(e, Ae), {
|
|
937
1045
|
labels: l
|
|
938
|
-
} =
|
|
1046
|
+
} = W();
|
|
939
1047
|
if (!o)
|
|
940
1048
|
return null;
|
|
941
1049
|
let i;
|
|
942
1050
|
t[0] !== e ? (i = () => {
|
|
943
|
-
const c = X(e).getState(), p =
|
|
944
|
-
for (const f of
|
|
1051
|
+
const c = X(e).getState(), p = Ae(c);
|
|
1052
|
+
for (const f of ve(c))
|
|
945
1053
|
c.setGroupCollapsed(f.id, !p);
|
|
946
1054
|
}, t[0] = e, t[1] = i) : i = t[1];
|
|
947
1055
|
const n = i, a = r ? l.expandAllGroups : l.collapseAllGroups;
|
|
@@ -951,12 +1059,12 @@ function co() {
|
|
|
951
1059
|
function uo(t) {
|
|
952
1060
|
const e = T(13), {
|
|
953
1061
|
onZoomTo: o
|
|
954
|
-
} = t, r = N(), l = ue(), i =
|
|
1062
|
+
} = t, r = N(), l = ue(), i = Qe();
|
|
955
1063
|
let n;
|
|
956
|
-
e[0] !== l ? (n = (g) => l !== null &&
|
|
957
|
-
const a =
|
|
1064
|
+
e[0] !== l ? (n = (g) => l !== null && $e(g, l) === "hidden", e[0] = l, e[1] = n) : n = e[1];
|
|
1065
|
+
const a = j(r, n), {
|
|
958
1066
|
labels: s
|
|
959
|
-
} =
|
|
1067
|
+
} = W();
|
|
960
1068
|
if (l === null || a)
|
|
961
1069
|
return null;
|
|
962
1070
|
const c = i?.busy ?? !1;
|
|
@@ -966,12 +1074,12 @@ function uo(t) {
|
|
|
966
1074
|
}, e[2] = l, e[3] = i, e[4] = o, e[5] = p) : p = e[5];
|
|
967
1075
|
const f = p;
|
|
968
1076
|
let u;
|
|
969
|
-
e[6] !== c ? (u = c && /* @__PURE__ */ d(
|
|
1077
|
+
e[6] !== c ? (u = c && /* @__PURE__ */ d(Ve, { size: 16, sx: {
|
|
970
1078
|
mr: 1
|
|
971
1079
|
} }), e[6] = c, e[7] = u) : u = e[7];
|
|
972
1080
|
const y = c ? s.loading : s.zoomToGroup;
|
|
973
1081
|
let h;
|
|
974
|
-
return e[8] !== c || e[9] !== f || e[10] !== u || e[11] !== y ? (h = /* @__PURE__ */
|
|
1082
|
+
return e[8] !== c || e[9] !== f || e[10] !== u || e[11] !== y ? (h = /* @__PURE__ */ M(q, { disabled: c, onClick: f, children: [
|
|
975
1083
|
u,
|
|
976
1084
|
y
|
|
977
1085
|
] }), e[8] = c, e[9] = f, e[10] = u, e[11] = y, e[12] = h) : h = e[12], h;
|
|
@@ -981,9 +1089,9 @@ function po(t) {
|
|
|
981
1089
|
children: o
|
|
982
1090
|
} = t, {
|
|
983
1091
|
labels: r
|
|
984
|
-
} =
|
|
1092
|
+
} = W();
|
|
985
1093
|
let l;
|
|
986
|
-
return e[0] !== o || e[1] !== r.panelOptions ? (l = /* @__PURE__ */ d(
|
|
1094
|
+
return e[0] !== o || e[1] !== r.panelOptions ? (l = /* @__PURE__ */ d(_e, { ariaLabel: r.panelOptions, children: o }), e[0] = o, e[1] = r.panelOptions, e[2] = l) : l = e[2], l;
|
|
987
1095
|
}
|
|
988
1096
|
const ee = {
|
|
989
1097
|
// Tooltip wrapper around the (possibly disabled) trigger button. A plain
|
|
@@ -1045,14 +1153,14 @@ const ee = {
|
|
|
1045
1153
|
}
|
|
1046
1154
|
};
|
|
1047
1155
|
function fo(t, e) {
|
|
1048
|
-
return
|
|
1156
|
+
return He(X(t).getState());
|
|
1049
1157
|
}
|
|
1050
1158
|
function ho() {
|
|
1051
1159
|
const t = T(33), e = N(), [o, r] = J(null);
|
|
1052
|
-
|
|
1160
|
+
j(e, mo);
|
|
1053
1161
|
const l = fo(e), i = Z(e, yo), {
|
|
1054
1162
|
labels: n
|
|
1055
|
-
} =
|
|
1163
|
+
} = W(), a = l.reduce(go, 0), s = !!o && a > 0;
|
|
1056
1164
|
let c;
|
|
1057
1165
|
t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (c = (G) => r(G.currentTarget), t[0] = c) : c = t[0];
|
|
1058
1166
|
const p = c;
|
|
@@ -1060,40 +1168,40 @@ function ho() {
|
|
|
1060
1168
|
t[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (f = () => r(null), t[1] = f) : f = t[1];
|
|
1061
1169
|
const u = f, y = s ? "active" : void 0, h = a === 0;
|
|
1062
1170
|
let g;
|
|
1063
|
-
t[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (g = /* @__PURE__ */ d(
|
|
1064
|
-
let
|
|
1065
|
-
t[3] !== n.enabledLayers || t[4] !== s || t[5] !== y || t[6] !== h ? (
|
|
1171
|
+
t[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (g = /* @__PURE__ */ d(Pt, { fontSize: "small" }), t[2] = g) : g = t[2];
|
|
1172
|
+
let x;
|
|
1173
|
+
t[3] !== n.enabledLayers || t[4] !== s || t[5] !== y || t[6] !== h ? (x = /* @__PURE__ */ d(A, { component: "span", sx: ee.triggerWrap, children: /* @__PURE__ */ d(xe, { size: "small", className: y, disabled: h, onClick: p, "aria-label": n.enabledLayers, "aria-haspopup": "menu", "aria-expanded": s, children: g }) }), t[3] = n.enabledLayers, t[4] = s, t[5] = y, t[6] = h, t[7] = x) : x = t[7];
|
|
1066
1174
|
let b;
|
|
1067
|
-
t[8] !== n.toggleEnabledLayers || t[9] !==
|
|
1068
|
-
const
|
|
1175
|
+
t[8] !== n.toggleEnabledLayers || t[9] !== x ? (b = /* @__PURE__ */ d(ie, { title: n.toggleEnabledLayers, children: x }), t[8] = n.toggleEnabledLayers, t[9] = x, t[10] = b) : b = t[10];
|
|
1176
|
+
const S = Oe;
|
|
1069
1177
|
let L;
|
|
1070
1178
|
t[11] !== u ? (L = {
|
|
1071
1179
|
onExited: u
|
|
1072
1180
|
}, t[11] = u, t[12] = L) : L = t[12];
|
|
1073
|
-
let
|
|
1074
|
-
t[13] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1181
|
+
let C, v;
|
|
1182
|
+
t[13] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (C = {
|
|
1075
1183
|
disablePadding: !0
|
|
1076
|
-
},
|
|
1184
|
+
}, v = {
|
|
1077
1185
|
paper: {
|
|
1078
1186
|
sx: ee.paper
|
|
1079
1187
|
}
|
|
1080
|
-
}, t[13] =
|
|
1188
|
+
}, t[13] = C, t[14] = v) : (C = t[13], v = t[14]);
|
|
1081
1189
|
const I = `${n.enabledLayers} (${a})`;
|
|
1082
|
-
let
|
|
1083
|
-
t[15] !== I ? (
|
|
1190
|
+
let w;
|
|
1191
|
+
t[15] !== I ? (w = /* @__PURE__ */ d(E, { component: "div", variant: "caption", color: "text.primary", sx: ee.stickyHeader, children: I }), t[15] = I, t[16] = w) : w = t[16];
|
|
1084
1192
|
let O;
|
|
1085
|
-
t[17] !== n.hideLayer || t[18] !== i ? (O = (G, m) => [m > 0 ? /* @__PURE__ */ d(
|
|
1086
|
-
/* @__PURE__ */ d(E, { variant: "body2", sx: ee.itemName, children:
|
|
1193
|
+
t[17] !== n.hideLayer || t[18] !== i ? (O = (G, m) => [m > 0 ? /* @__PURE__ */ d(St, { sx: ee.divider }, `divider-${G.group?.id ?? "ungrouped"}`) : null, G.group ? /* @__PURE__ */ d(E, { variant: "caption", fontWeight: "medium", color: "text.secondary", sx: ee.groupCaption, children: G.group.label }, `caption-${G.group.id}`) : null, ...G.layers.map((P) => /* @__PURE__ */ M(q, { disableRipple: !0, sx: ee.item, onClick: () => i(P.id, !1), children: [
|
|
1194
|
+
/* @__PURE__ */ d(E, { variant: "body2", sx: ee.itemName, children: P.name }),
|
|
1087
1195
|
/* @__PURE__ */ d(ie, { title: n.hideLayer, children: /* @__PURE__ */ d(Be, { sx: ee.eye }) })
|
|
1088
|
-
] },
|
|
1196
|
+
] }, P.id))], t[17] = n.hideLayer, t[18] = i, t[19] = O) : O = t[19];
|
|
1089
1197
|
const k = l.flatMap(O);
|
|
1090
1198
|
let $;
|
|
1091
|
-
t[20] !==
|
|
1092
|
-
|
|
1199
|
+
t[20] !== S || t[21] !== o || t[22] !== u || t[23] !== s || t[24] !== w || t[25] !== k || t[26] !== L || t[27] !== C || t[28] !== v ? ($ = /* @__PURE__ */ M(S, { anchorEl: o, open: s, onClose: u, TransitionProps: L, MenuListProps: C, slotProps: v, children: [
|
|
1200
|
+
w,
|
|
1093
1201
|
k
|
|
1094
|
-
] }), t[20] =
|
|
1202
|
+
] }), t[20] = S, t[21] = o, t[22] = u, t[23] = s, t[24] = w, t[25] = k, t[26] = L, t[27] = C, t[28] = v, t[29] = $) : $ = t[29];
|
|
1095
1203
|
let _;
|
|
1096
|
-
return t[30] !== $ || t[31] !== b ? (_ = /* @__PURE__ */
|
|
1204
|
+
return t[30] !== $ || t[31] !== b ? (_ = /* @__PURE__ */ M(he, { children: [
|
|
1097
1205
|
b,
|
|
1098
1206
|
$
|
|
1099
1207
|
] }), t[30] = $, t[31] = b, t[32] = _) : _ = t[32], _;
|
|
@@ -1105,22 +1213,22 @@ function yo(t) {
|
|
|
1105
1213
|
return t.setVisibility;
|
|
1106
1214
|
}
|
|
1107
1215
|
function mo(t) {
|
|
1108
|
-
return
|
|
1216
|
+
return He(t).map(bo).join("|");
|
|
1109
1217
|
}
|
|
1110
1218
|
function bo(t) {
|
|
1111
1219
|
const {
|
|
1112
1220
|
group: e,
|
|
1113
1221
|
layers: o
|
|
1114
1222
|
} = t;
|
|
1115
|
-
return `${e?.id ?? ""}${e?.label ?? ""}:${o.map(
|
|
1223
|
+
return `${e?.id ?? ""}${e?.label ?? ""}:${o.map(vo).join(",")}`;
|
|
1116
1224
|
}
|
|
1117
|
-
function
|
|
1225
|
+
function vo(t) {
|
|
1118
1226
|
return `${t.id}${t.name}`;
|
|
1119
1227
|
}
|
|
1120
|
-
function
|
|
1228
|
+
function xo(t) {
|
|
1121
1229
|
const e = T(27), {
|
|
1122
1230
|
children: o
|
|
1123
|
-
} = t, r = N(), [l, i] = J(null), n =
|
|
1231
|
+
} = t, r = N(), [l, i] = J(null), n = De(void 0), a = Z(r, Lo);
|
|
1124
1232
|
let s;
|
|
1125
1233
|
e[0] !== r ? (s = (k, $) => {
|
|
1126
1234
|
const _ = de(k), G = de($);
|
|
@@ -1134,19 +1242,19 @@ function vo(t) {
|
|
|
1134
1242
|
} = $, {
|
|
1135
1243
|
active: G,
|
|
1136
1244
|
collisionRect: m,
|
|
1137
|
-
droppableRects:
|
|
1138
|
-
droppableContainers:
|
|
1245
|
+
droppableRects: P,
|
|
1246
|
+
droppableContainers: z
|
|
1139
1247
|
} = _;
|
|
1140
1248
|
if (!G || !m || k.code !== "ArrowDown" && k.code !== "ArrowUp")
|
|
1141
1249
|
return;
|
|
1142
1250
|
k.preventDefault();
|
|
1143
|
-
const D = k.code === "ArrowDown",
|
|
1144
|
-
const H =
|
|
1251
|
+
const D = k.code === "ArrowDown", B = z.getEnabled().filter((R) => R.id !== G.id && c(String(G.id), String(R.id))).flatMap((R) => {
|
|
1252
|
+
const H = P.get(R.id);
|
|
1145
1253
|
return H ? [H] : [];
|
|
1146
1254
|
}).filter((R) => D ? R.top > m.top : R.top < m.top).sort((R, H) => D ? R.top - H.top : H.top - R.top)[0];
|
|
1147
|
-
return
|
|
1148
|
-
x:
|
|
1149
|
-
y:
|
|
1255
|
+
return B ? {
|
|
1256
|
+
x: B.left,
|
|
1257
|
+
y: B.top
|
|
1150
1258
|
} : void 0;
|
|
1151
1259
|
}, e[2] = c, e[3] = p) : p = e[3];
|
|
1152
1260
|
const f = p;
|
|
@@ -1154,26 +1262,26 @@ function vo(t) {
|
|
|
1154
1262
|
e[4] !== f ? (u = {
|
|
1155
1263
|
coordinateGetter: f
|
|
1156
1264
|
}, e[4] = f, e[5] = u) : u = e[5];
|
|
1157
|
-
const y = Et(
|
|
1265
|
+
const y = Et(Me(Ht), Me(Rt, u));
|
|
1158
1266
|
let h;
|
|
1159
1267
|
e[6] !== c ? (h = (k) => {
|
|
1160
1268
|
const $ = k.droppableContainers.filter((_) => c(String(k.active.id), String(_.id)));
|
|
1161
|
-
return
|
|
1269
|
+
return Wt({
|
|
1162
1270
|
...k,
|
|
1163
1271
|
droppableContainers: $
|
|
1164
1272
|
});
|
|
1165
1273
|
}, e[6] = c, e[7] = h) : h = e[7];
|
|
1166
1274
|
const g = h;
|
|
1167
|
-
let
|
|
1168
|
-
e[8] !== r ? (
|
|
1275
|
+
let x;
|
|
1276
|
+
e[8] !== r ? (x = (k) => {
|
|
1169
1277
|
const $ = String(k.active.id);
|
|
1170
1278
|
i($);
|
|
1171
1279
|
const _ = de($);
|
|
1172
1280
|
n.current = _?.kind === "layer" ? X(r).getState().layers[_.id]?.groupId : void 0;
|
|
1173
|
-
}, e[8] = r, e[9] =
|
|
1174
|
-
const b =
|
|
1175
|
-
let
|
|
1176
|
-
e[10] !== r ? (
|
|
1281
|
+
}, e[8] = r, e[9] = x) : x = e[9];
|
|
1282
|
+
const b = x;
|
|
1283
|
+
let S;
|
|
1284
|
+
e[10] !== r ? (S = (k) => {
|
|
1177
1285
|
i(null);
|
|
1178
1286
|
const {
|
|
1179
1287
|
active: $,
|
|
@@ -1184,43 +1292,43 @@ function vo(t) {
|
|
|
1184
1292
|
const G = de(String($.id)), m = de(String(_.id));
|
|
1185
1293
|
if (!G || G.kind !== m?.kind)
|
|
1186
1294
|
return;
|
|
1187
|
-
const
|
|
1295
|
+
const P = X(r).getState();
|
|
1188
1296
|
if (G.kind === "group") {
|
|
1189
|
-
const R =
|
|
1190
|
-
R !== -1 &&
|
|
1297
|
+
const R = ve(P).findIndex((H) => H.id === m.id);
|
|
1298
|
+
R !== -1 && P.moveGroup(G.id, R);
|
|
1191
1299
|
return;
|
|
1192
1300
|
}
|
|
1193
|
-
const
|
|
1194
|
-
if (!
|
|
1301
|
+
const z = P.layers[G.id], D = P.layers[m.id];
|
|
1302
|
+
if (!z || !D || z.groupId !== D.groupId)
|
|
1195
1303
|
return;
|
|
1196
|
-
const
|
|
1197
|
-
|
|
1198
|
-
}, e[10] = r, e[11] =
|
|
1199
|
-
const L =
|
|
1200
|
-
let
|
|
1201
|
-
e[12] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1202
|
-
let
|
|
1203
|
-
e[13] !== o || e[14] !== a ? (
|
|
1304
|
+
const B = re(P, z.groupId).findIndex((R) => R.id === m.id);
|
|
1305
|
+
B !== -1 && P.moveLayer(G.id, B);
|
|
1306
|
+
}, e[10] = r, e[11] = S) : S = e[11];
|
|
1307
|
+
const L = S;
|
|
1308
|
+
let C;
|
|
1309
|
+
e[12] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (C = () => i(null), e[12] = C) : C = e[12];
|
|
1310
|
+
let v;
|
|
1311
|
+
e[13] !== o || e[14] !== a ? (v = /* @__PURE__ */ d(Ne, { items: a, strategy: Fe, children: o }), e[13] = o, e[14] = a, e[15] = v) : v = e[15];
|
|
1204
1312
|
let I;
|
|
1205
|
-
e[16] !== l ? (I = l && /* @__PURE__ */ d(
|
|
1206
|
-
let
|
|
1207
|
-
e[18] !== I ? (
|
|
1313
|
+
e[16] !== l ? (I = l && /* @__PURE__ */ d(Co, { activeId: l }), e[16] = l, e[17] = I) : I = e[17];
|
|
1314
|
+
let w;
|
|
1315
|
+
e[18] !== I ? (w = /* @__PURE__ */ d(Bt, { children: I }), e[18] = I, e[19] = w) : w = e[19];
|
|
1208
1316
|
let O;
|
|
1209
|
-
return e[20] !== g || e[21] !== L || e[22] !== b || e[23] !== y || e[24] !==
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
] }) }), e[20] = g, e[21] = L, e[22] = b, e[23] = y, e[24] =
|
|
1317
|
+
return e[20] !== g || e[21] !== L || e[22] !== b || e[23] !== y || e[24] !== w || e[25] !== v ? (O = /* @__PURE__ */ d(et.Provider, { value: !0, children: /* @__PURE__ */ M(Vt, { sensors: y, collisionDetection: g, onDragStart: b, onDragEnd: L, onDragCancel: C, children: [
|
|
1318
|
+
v,
|
|
1319
|
+
w
|
|
1320
|
+
] }) }), e[20] = g, e[21] = L, e[22] = b, e[23] = y, e[24] = w, e[25] = v, e[26] = O) : O = e[26], O;
|
|
1213
1321
|
}
|
|
1214
1322
|
function Lo(t) {
|
|
1215
|
-
return [...
|
|
1323
|
+
return [...ve(t).map(So), ...re(t, void 0).map(wo)];
|
|
1216
1324
|
}
|
|
1217
|
-
function
|
|
1325
|
+
function wo(t) {
|
|
1218
1326
|
return Se("layer", t.id);
|
|
1219
1327
|
}
|
|
1220
|
-
function
|
|
1328
|
+
function So(t) {
|
|
1221
1329
|
return Se("group", t.id);
|
|
1222
1330
|
}
|
|
1223
|
-
function
|
|
1331
|
+
function Co(t) {
|
|
1224
1332
|
const e = T(15), {
|
|
1225
1333
|
activeId: o
|
|
1226
1334
|
} = t, r = N();
|
|
@@ -1229,19 +1337,19 @@ function wo(t) {
|
|
|
1229
1337
|
const i = l;
|
|
1230
1338
|
let n;
|
|
1231
1339
|
e[2] !== i ? (n = (h) => i ? i.kind === "group" ? h.groups[i.id]?.label : h.layers[i.id]?.name : void 0, e[2] = i, e[3] = n) : n = e[3];
|
|
1232
|
-
const a =
|
|
1340
|
+
const a = j(r, n);
|
|
1233
1341
|
let s;
|
|
1234
1342
|
e[4] !== i ? (s = (h) => i?.kind === "group" ? h.groups[i.id]?.icon : void 0, e[4] = i, e[5] = s) : s = e[5];
|
|
1235
|
-
const c =
|
|
1343
|
+
const c = j(r, s);
|
|
1236
1344
|
if (!i || a === void 0)
|
|
1237
1345
|
return null;
|
|
1238
1346
|
let p;
|
|
1239
|
-
e[6] !== c || e[7] !== i.kind ? (p = i.kind === "group" && c != null && /* @__PURE__ */ d(
|
|
1347
|
+
e[6] !== c || e[7] !== i.kind ? (p = i.kind === "group" && c != null && /* @__PURE__ */ d(A, { sx: le.overlayIcon, children: c }), e[6] = c, e[7] = i.kind, e[8] = p) : p = e[8];
|
|
1240
1348
|
const f = i.kind === "group" ? "bold" : void 0;
|
|
1241
1349
|
let u;
|
|
1242
1350
|
e[9] !== a || e[10] !== f ? (u = /* @__PURE__ */ d(E, { variant: "button", fontWeight: f, color: "text.primary", sx: le.overlayLabel, children: a }), e[9] = a, e[10] = f, e[11] = u) : u = e[11];
|
|
1243
1351
|
let y;
|
|
1244
|
-
return e[12] !== p || e[13] !== u ? (y = /* @__PURE__ */
|
|
1352
|
+
return e[12] !== p || e[13] !== u ? (y = /* @__PURE__ */ M(A, { sx: le.overlay, children: [
|
|
1245
1353
|
p,
|
|
1246
1354
|
u
|
|
1247
1355
|
] }), e[12] = p, e[13] = u, e[14] = y) : y = e[14], y;
|
|
@@ -1283,7 +1391,7 @@ function Io() {
|
|
|
1283
1391
|
t[0] !== o ? (r = (p) => o ? p.layers[o.layerId] : void 0, t[0] = o, t[1] = r) : r = t[1];
|
|
1284
1392
|
const l = Z(e, r), i = Z(e, ko), {
|
|
1285
1393
|
labels: n
|
|
1286
|
-
} =
|
|
1394
|
+
} = W();
|
|
1287
1395
|
if (!o || !l?.visible || !l.opacityControl)
|
|
1288
1396
|
return null;
|
|
1289
1397
|
let a;
|
|
@@ -1302,9 +1410,9 @@ function $o() {
|
|
|
1302
1410
|
const t = T(47), e = N(), o = Q(), r = o?.layerId;
|
|
1303
1411
|
let l;
|
|
1304
1412
|
t[0] !== r ? (l = (H) => r ? H.layers[r]?.opacity ?? 1 : 1, t[0] = r, t[1] = l) : l = t[1];
|
|
1305
|
-
const i =
|
|
1413
|
+
const i = j(e, l), n = j(e, _o), {
|
|
1306
1414
|
labels: a
|
|
1307
|
-
} =
|
|
1415
|
+
} = W(), [s, c] = J(null), [p, f] = J(null);
|
|
1308
1416
|
if (!o || !r || !o.opacityOpen)
|
|
1309
1417
|
return null;
|
|
1310
1418
|
let u;
|
|
@@ -1312,73 +1420,73 @@ function $o() {
|
|
|
1312
1420
|
const y = u;
|
|
1313
1421
|
let h;
|
|
1314
1422
|
t[5] !== r || t[6] !== n ? (h = (H) => {
|
|
1315
|
-
const
|
|
1316
|
-
return n(r,
|
|
1423
|
+
const U = ze(H);
|
|
1424
|
+
return n(r, U / 100), U;
|
|
1317
1425
|
}, t[5] = r, t[6] = n, t[7] = h) : h = t[7];
|
|
1318
1426
|
const g = h;
|
|
1319
|
-
let
|
|
1320
|
-
t[8] !== g ? (
|
|
1427
|
+
let x;
|
|
1428
|
+
t[8] !== g ? (x = (H) => {
|
|
1321
1429
|
if (f(H), H.trim() === "")
|
|
1322
1430
|
return;
|
|
1323
|
-
const
|
|
1324
|
-
if (!Number.isFinite(
|
|
1431
|
+
const U = Number(H);
|
|
1432
|
+
if (!Number.isFinite(U))
|
|
1325
1433
|
return;
|
|
1326
|
-
const se = g(
|
|
1327
|
-
se !==
|
|
1328
|
-
}, t[8] = g, t[9] =
|
|
1329
|
-
const b =
|
|
1330
|
-
let
|
|
1331
|
-
t[10] !== o ? (
|
|
1434
|
+
const se = g(U);
|
|
1435
|
+
se !== U && f(String(se));
|
|
1436
|
+
}, t[8] = g, t[9] = x) : x = t[9];
|
|
1437
|
+
const b = x;
|
|
1438
|
+
let S;
|
|
1439
|
+
t[10] !== o ? (S = () => {
|
|
1332
1440
|
o.setOpacityOpen(!1), f(null), c(null);
|
|
1333
|
-
}, t[10] = o, t[11] =
|
|
1334
|
-
const L =
|
|
1335
|
-
let
|
|
1336
|
-
t[12] !== a.opacity ? (
|
|
1337
|
-
let
|
|
1338
|
-
t[14] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1441
|
+
}, t[10] = o, t[11] = S) : S = t[11];
|
|
1442
|
+
const L = S;
|
|
1443
|
+
let C;
|
|
1444
|
+
t[12] !== a.opacity ? (C = /* @__PURE__ */ d(E, { variant: "caption", fontWeight: "medium", color: "text.primary", children: a.opacity }), t[12] = a.opacity, t[13] = C) : C = t[13];
|
|
1445
|
+
let v;
|
|
1446
|
+
t[14] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (v = /* @__PURE__ */ d(At, { fontSize: "small" }), t[14] = v) : v = t[14];
|
|
1339
1447
|
let I;
|
|
1340
|
-
t[15] !== L || t[16] !== a.close ? (I = /* @__PURE__ */ d(
|
|
1341
|
-
let
|
|
1342
|
-
t[18] !== a.close || t[19] !== I ? (
|
|
1448
|
+
t[15] !== L || t[16] !== a.close ? (I = /* @__PURE__ */ d(xe, { size: "small", onClick: L, "aria-label": a.close, children: v }), t[15] = L, t[16] = a.close, t[17] = I) : I = t[17];
|
|
1449
|
+
let w;
|
|
1450
|
+
t[18] !== a.close || t[19] !== I ? (w = /* @__PURE__ */ d(ie, { title: a.close, children: I }), t[18] = a.close, t[19] = I, t[20] = w) : w = t[20];
|
|
1343
1451
|
let O;
|
|
1344
|
-
t[21] !==
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
] }), t[21] =
|
|
1452
|
+
t[21] !== C || t[22] !== w ? (O = /* @__PURE__ */ M(A, { sx: pe.inlineHeader, children: [
|
|
1453
|
+
C,
|
|
1454
|
+
w
|
|
1455
|
+
] }), t[21] = C, t[22] = w, t[23] = O) : O = t[23];
|
|
1348
1456
|
let k;
|
|
1349
|
-
t[24] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (k = (H,
|
|
1350
|
-
c(
|
|
1457
|
+
t[24] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (k = (H, U) => {
|
|
1458
|
+
c(U), f(null);
|
|
1351
1459
|
}, t[24] = k) : k = t[24];
|
|
1352
1460
|
let $;
|
|
1353
|
-
t[25] !== g ? ($ = (H,
|
|
1354
|
-
g(
|
|
1461
|
+
t[25] !== g ? ($ = (H, U) => {
|
|
1462
|
+
g(U), c(null);
|
|
1355
1463
|
}, t[25] = g, t[26] = $) : $ = t[26];
|
|
1356
1464
|
let _;
|
|
1357
|
-
t[27] !== a.opacity || t[28] !== y || t[29] !== $ ? (_ = /* @__PURE__ */ d(
|
|
1465
|
+
t[27] !== a.opacity || t[28] !== y || t[29] !== $ ? (_ = /* @__PURE__ */ d(Ct, { size: "small", min: 0, max: 100, step: 1, value: y, onChange: k, onChangeCommitted: $, "aria-label": a.opacity, sx: pe.slider }), t[27] = a.opacity, t[28] = y, t[29] = $, t[30] = _) : _ = t[30];
|
|
1358
1466
|
const G = p ?? String(y);
|
|
1359
1467
|
let m;
|
|
1360
1468
|
t[31] !== b ? (m = (H) => b(H.target.value), t[31] = b, t[32] = m) : m = t[32];
|
|
1361
|
-
let
|
|
1362
|
-
t[33] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1363
|
-
let
|
|
1364
|
-
t[34] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1469
|
+
let P;
|
|
1470
|
+
t[33] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (P = () => f(null), t[33] = P) : P = t[33];
|
|
1471
|
+
let z;
|
|
1472
|
+
t[34] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (z = /* @__PURE__ */ d(It, { position: "end", children: "%" }), t[34] = z) : z = t[34];
|
|
1365
1473
|
let D;
|
|
1366
1474
|
t[35] !== a.opacity ? (D = {
|
|
1367
1475
|
inputMode: "numeric",
|
|
1368
1476
|
"aria-label": a.opacity
|
|
1369
1477
|
}, t[35] = a.opacity, t[36] = D) : D = t[36];
|
|
1370
1478
|
let V;
|
|
1371
|
-
t[37] !== G || t[38] !== m || t[39] !== D ? (V = /* @__PURE__ */ d(kt, { size: "small", value: G, onChange: m, onBlur:
|
|
1372
|
-
let
|
|
1373
|
-
t[41] !== _ || t[42] !== V ? (
|
|
1479
|
+
t[37] !== G || t[38] !== m || t[39] !== D ? (V = /* @__PURE__ */ d(kt, { size: "small", value: G, onChange: m, onBlur: P, onKeyDown: Oo, endAdornment: z, inputProps: D, sx: pe.input }), t[37] = G, t[38] = m, t[39] = D, t[40] = V) : V = t[40];
|
|
1480
|
+
let B;
|
|
1481
|
+
t[41] !== _ || t[42] !== V ? (B = /* @__PURE__ */ M(A, { sx: pe.inlineControls, children: [
|
|
1374
1482
|
_,
|
|
1375
1483
|
V
|
|
1376
|
-
] }), t[41] = _, t[42] = V, t[43] =
|
|
1484
|
+
] }), t[41] = _, t[42] = V, t[43] = B) : B = t[43];
|
|
1377
1485
|
let R;
|
|
1378
|
-
return t[44] !==
|
|
1486
|
+
return t[44] !== B || t[45] !== O ? (R = /* @__PURE__ */ M(A, { sx: pe.inline, children: [
|
|
1379
1487
|
O,
|
|
1380
|
-
|
|
1381
|
-
] }), t[44] =
|
|
1488
|
+
B
|
|
1489
|
+
] }), t[44] = B, t[45] = O, t[46] = R) : R = t[46], R;
|
|
1382
1490
|
}
|
|
1383
1491
|
function Oo(t) {
|
|
1384
1492
|
t.key === "Enter" && t.target.blur();
|
|
@@ -1441,13 +1549,13 @@ const Go = {
|
|
|
1441
1549
|
}
|
|
1442
1550
|
}
|
|
1443
1551
|
};
|
|
1444
|
-
function
|
|
1552
|
+
function Po() {
|
|
1445
1553
|
const t = T(34), e = N(), r = Q()?.layerId;
|
|
1446
1554
|
let l;
|
|
1447
1555
|
t[0] !== r ? (l = (O) => r ? O.layers[r]?.sections : void 0, t[0] = r, t[1] = l) : l = t[1];
|
|
1448
|
-
const i = Z(e, l), n = Z(e,
|
|
1556
|
+
const i = Z(e, l), n = Z(e, Ao), {
|
|
1449
1557
|
labels: a
|
|
1450
|
-
} =
|
|
1558
|
+
} = W(), [s, c] = J(null), p = !!s;
|
|
1451
1559
|
if (!r || !i || i.length === 0)
|
|
1452
1560
|
return null;
|
|
1453
1561
|
const f = i[0].active, u = i.length > 1;
|
|
@@ -1460,41 +1568,41 @@ function Mo() {
|
|
|
1460
1568
|
...ne.chevron,
|
|
1461
1569
|
...ne.chevronOpen
|
|
1462
1570
|
} : ne.chevron, t[5] = p, t[6] = g) : g = t[6];
|
|
1463
|
-
let
|
|
1464
|
-
t[7] !== g ? (
|
|
1571
|
+
let x;
|
|
1572
|
+
t[7] !== g ? (x = /* @__PURE__ */ d(Mt, { fontSize: "small", sx: g }), t[7] = g, t[8] = x) : x = t[8];
|
|
1465
1573
|
let b;
|
|
1466
|
-
t[9] !== a.attribute || t[10] !== p || t[11] !== h || t[12] !==
|
|
1574
|
+
t[9] !== a.attribute || t[10] !== p || t[11] !== h || t[12] !== x ? (b = /* @__PURE__ */ M($t, { sx: ne.trigger, onClick: y, "aria-label": a.attribute, "aria-haspopup": "listbox", "aria-expanded": p, children: [
|
|
1467
1575
|
h,
|
|
1468
|
-
|
|
1469
|
-
] }), t[9] = a.attribute, t[10] = p, t[11] = h, t[12] =
|
|
1470
|
-
let
|
|
1471
|
-
t[14] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1576
|
+
x
|
|
1577
|
+
] }), t[9] = a.attribute, t[10] = p, t[11] = h, t[12] = x, t[13] = b) : b = t[13];
|
|
1578
|
+
let S;
|
|
1579
|
+
t[14] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (S = () => c(null), t[14] = S) : S = t[14];
|
|
1472
1580
|
const L = s?.clientWidth;
|
|
1473
|
-
let
|
|
1474
|
-
t[15] !== L ? (
|
|
1581
|
+
let C;
|
|
1582
|
+
t[15] !== L ? (C = {
|
|
1475
1583
|
paper: {
|
|
1476
1584
|
sx: {
|
|
1477
1585
|
width: L
|
|
1478
1586
|
}
|
|
1479
1587
|
}
|
|
1480
|
-
}, t[15] = L, t[16] =
|
|
1481
|
-
let
|
|
1588
|
+
}, t[15] = L, t[16] = C) : C = t[16];
|
|
1589
|
+
let v;
|
|
1482
1590
|
if (t[17] !== r || t[18] !== i || t[19] !== n || t[20] !== u) {
|
|
1483
1591
|
let O;
|
|
1484
1592
|
t[22] !== r || t[23] !== n || t[24] !== u ? (O = (k) => [u && k.title ? /* @__PURE__ */ d(E, { variant: "overline", color: "text.secondary", component: "li", sx: ne.sectionTitle, children: k.title }, `${k.id}-title`) : null, ...k.options.map(($) => /* @__PURE__ */ d(q, { selected: $ === k.active, sx: ne.option, onClick: () => {
|
|
1485
1593
|
n(r, k.id, $), c(null);
|
|
1486
|
-
}, children: $ }, `${k.id}-${$}`))], t[22] = r, t[23] = n, t[24] = u, t[25] = O) : O = t[25],
|
|
1594
|
+
}, children: $ }, `${k.id}-${$}`))], t[22] = r, t[23] = n, t[24] = u, t[25] = O) : O = t[25], v = i.map(O), t[17] = r, t[18] = i, t[19] = n, t[20] = u, t[21] = v;
|
|
1487
1595
|
} else
|
|
1488
|
-
|
|
1596
|
+
v = t[21];
|
|
1489
1597
|
let I;
|
|
1490
|
-
t[26] !== s || t[27] !== p || t[28] !==
|
|
1491
|
-
let
|
|
1492
|
-
return t[31] !== I || t[32] !== b ? (
|
|
1598
|
+
t[26] !== s || t[27] !== p || t[28] !== C || t[29] !== v ? (I = /* @__PURE__ */ d(Oe, { anchorEl: s, open: p, onClose: S, slotProps: C, children: v }), t[26] = s, t[27] = p, t[28] = C, t[29] = v, t[30] = I) : I = t[30];
|
|
1599
|
+
let w;
|
|
1600
|
+
return t[31] !== I || t[32] !== b ? (w = /* @__PURE__ */ M(he, { children: [
|
|
1493
1601
|
b,
|
|
1494
1602
|
I
|
|
1495
|
-
] }), t[31] = I, t[32] = b, t[33] =
|
|
1603
|
+
] }), t[31] = I, t[32] = b, t[33] = w) : w = t[33], w;
|
|
1496
1604
|
}
|
|
1497
|
-
function
|
|
1605
|
+
function Ao(t) {
|
|
1498
1606
|
return t.setSectionValue;
|
|
1499
1607
|
}
|
|
1500
1608
|
const te = {
|
|
@@ -1557,8 +1665,8 @@ const te = {
|
|
|
1557
1665
|
overflow: "visible",
|
|
1558
1666
|
textOverflow: "clip"
|
|
1559
1667
|
}
|
|
1560
|
-
},
|
|
1561
|
-
function
|
|
1668
|
+
}, Ge = 12, ye = 1.5, lt = 2, Mo = 1;
|
|
1669
|
+
function zo(t) {
|
|
1562
1670
|
switch (t) {
|
|
1563
1671
|
case "dashed":
|
|
1564
1672
|
return {
|
|
@@ -1646,59 +1754,59 @@ function it(t) {
|
|
|
1646
1754
|
fillPattern: i,
|
|
1647
1755
|
strokeStyle: n,
|
|
1648
1756
|
size: a
|
|
1649
|
-
} = t, s = o === void 0 ? "circle" : o, c = l === void 0 ? !1 : l, p = i === void 0 ? "solid" : i, f = n === void 0 ? "solid" : n, u = a === void 0 ?
|
|
1757
|
+
} = t, s = o === void 0 ? "circle" : o, c = l === void 0 ? !1 : l, p = i === void 0 ? "solid" : i, f = n === void 0 ? "solid" : n, u = a === void 0 ? Ge : a, y = ht();
|
|
1650
1758
|
if (s === "line") {
|
|
1651
1759
|
let V;
|
|
1652
1760
|
e[0] !== f ? (V = To(f), e[0] = f, e[1] = V) : V = e[1];
|
|
1653
1761
|
const {
|
|
1654
|
-
dash:
|
|
1762
|
+
dash: B,
|
|
1655
1763
|
round: R
|
|
1656
1764
|
} = V, H = `0 0 ${u} ${u}`;
|
|
1657
|
-
let
|
|
1658
|
-
e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1765
|
+
let U;
|
|
1766
|
+
e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (U = {
|
|
1659
1767
|
display: "block",
|
|
1660
1768
|
overflow: "visible"
|
|
1661
|
-
}, e[2] =
|
|
1662
|
-
const se = u / 2, Ce = u / 2,
|
|
1769
|
+
}, e[2] = U) : U = e[2];
|
|
1770
|
+
const se = u / 2, Ce = u / 2, Ie = R ? "round" : "butt";
|
|
1663
1771
|
let ae;
|
|
1664
|
-
e[3] !== r || e[4] !==
|
|
1772
|
+
e[3] !== r || e[4] !== B || e[5] !== u || e[6] !== Ce || e[7] !== Ie || e[8] !== se ? (ae = /* @__PURE__ */ d("line", { x1: 0, y1: se, x2: u, y2: Ce, stroke: r, strokeWidth: lt, strokeDasharray: B, strokeLinecap: Ie }), e[3] = r, e[4] = B, e[5] = u, e[6] = Ce, e[7] = Ie, e[8] = se, e[9] = ae) : ae = e[9];
|
|
1665
1773
|
let Le;
|
|
1666
|
-
return e[10] !== u || e[11] !== ae || e[12] !== H ? (Le = /* @__PURE__ */ d("svg", { width: u, height: u, viewBox: H, "aria-hidden": !0, "data-shape": "line", style:
|
|
1774
|
+
return e[10] !== u || e[11] !== ae || e[12] !== H ? (Le = /* @__PURE__ */ d("svg", { width: u, height: u, viewBox: H, "aria-hidden": !0, "data-shape": "line", style: U, children: ae }), e[10] = u, e[11] = ae, e[12] = H, e[13] = Le) : Le = e[13], Le;
|
|
1667
1775
|
}
|
|
1668
1776
|
const h = c ? ye / 2 : 0, g = !c && p !== "solid";
|
|
1669
|
-
let
|
|
1670
|
-
e[14] !== r || e[15] !== p || e[16] !== g ? (
|
|
1671
|
-
const b =
|
|
1777
|
+
let x;
|
|
1778
|
+
e[14] !== r || e[15] !== p || e[16] !== g ? (x = g ? Do(p, r) : null, e[14] = r, e[15] = p, e[16] = g, e[17] = x) : x = e[17];
|
|
1779
|
+
const b = x, S = c && f === "corners" && s === "square";
|
|
1672
1780
|
let L;
|
|
1673
|
-
e[18] !== c || e[19] !== f ? (L = c ?
|
|
1781
|
+
e[18] !== c || e[19] !== f ? (L = c ? zo(f) : {
|
|
1674
1782
|
dash: void 0,
|
|
1675
1783
|
round: !1
|
|
1676
1784
|
}, e[18] = c, e[19] = f, e[20] = L) : L = e[20];
|
|
1677
1785
|
const {
|
|
1678
|
-
dash:
|
|
1679
|
-
round:
|
|
1680
|
-
} = L, I = c ? ye :
|
|
1786
|
+
dash: C,
|
|
1787
|
+
round: v
|
|
1788
|
+
} = L, I = c ? ye : Mo, w = c ? C : void 0, O = v ? "round" : "butt";
|
|
1681
1789
|
let k;
|
|
1682
|
-
e[21] !== r || e[22] !== O || e[23] !== I || e[24] !==
|
|
1790
|
+
e[21] !== r || e[22] !== O || e[23] !== I || e[24] !== w ? (k = {
|
|
1683
1791
|
stroke: r,
|
|
1684
1792
|
strokeWidth: I,
|
|
1685
|
-
strokeDasharray:
|
|
1793
|
+
strokeDasharray: w,
|
|
1686
1794
|
strokeLinecap: O
|
|
1687
|
-
}, e[21] = r, e[22] = O, e[23] = I, e[24] =
|
|
1795
|
+
}, e[21] = r, e[22] = O, e[23] = I, e[24] = w, e[25] = k) : k = e[25];
|
|
1688
1796
|
const $ = k, _ = c ? "none" : g ? `url(#${y})` : r, G = `0 0 ${u} ${u}`;
|
|
1689
1797
|
let m;
|
|
1690
1798
|
e[26] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (m = {
|
|
1691
1799
|
display: "block"
|
|
1692
1800
|
}, e[26] = m) : m = e[26];
|
|
1693
|
-
let
|
|
1694
|
-
e[27] !== y || e[28] !== b ? (
|
|
1695
|
-
let
|
|
1696
|
-
e[30] !== r || e[31] !== $ || e[32] !== _ || e[33] !== h || e[34] !==
|
|
1801
|
+
let P;
|
|
1802
|
+
e[27] !== y || e[28] !== b ? (P = b && /* @__PURE__ */ d("defs", { children: /* @__PURE__ */ d("pattern", { id: y, patternUnits: "userSpaceOnUse", width: b.size, height: b.size, children: b.content }) }), e[27] = y, e[28] = b, e[29] = P) : P = e[29];
|
|
1803
|
+
let z;
|
|
1804
|
+
e[30] !== r || e[31] !== $ || e[32] !== _ || e[33] !== h || e[34] !== S || e[35] !== c || e[36] !== s || e[37] !== u || e[38] !== g ? (z = S ? /* @__PURE__ */ d(Eo, { size: u, color: r }) : s === "circle" ? /* @__PURE__ */ d("circle", { cx: u / 2, cy: u / 2, r: u / 2 - h, fill: _, ...$, stroke: c || g ? r : "none" }) : /* @__PURE__ */ d("rect", { x: h, y: h, width: u - h * 2, height: u - h * 2, fill: _, ...$, stroke: c || g ? r : "none" }), e[30] = r, e[31] = $, e[32] = _, e[33] = h, e[34] = S, e[35] = c, e[36] = s, e[37] = u, e[38] = g, e[39] = z) : z = e[39];
|
|
1697
1805
|
let D;
|
|
1698
|
-
return e[40] !== s || e[41] !== u || e[42] !== G || e[43] !==
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
] }), e[40] = s, e[41] = u, e[42] = G, e[43] =
|
|
1806
|
+
return e[40] !== s || e[41] !== u || e[42] !== G || e[43] !== P || e[44] !== z ? (D = /* @__PURE__ */ M("svg", { width: u, height: u, viewBox: G, "aria-hidden": !0, "data-shape": s, style: m, children: [
|
|
1807
|
+
P,
|
|
1808
|
+
z
|
|
1809
|
+
] }), e[40] = s, e[41] = u, e[42] = G, e[43] = P, e[44] = z, e[45] = D) : D = e[45], D;
|
|
1702
1810
|
}
|
|
1703
1811
|
function Eo(t) {
|
|
1704
1812
|
const e = T(19), {
|
|
@@ -1721,15 +1829,15 @@ function Eo(t) {
|
|
|
1721
1829
|
let h;
|
|
1722
1830
|
e[8] !== s || e[9] !== y ? (h = /* @__PURE__ */ d("path", { d: y, ...s }), e[8] = s, e[9] = y, e[10] = h) : h = e[10];
|
|
1723
1831
|
const g = `M${i + l} ${n} H${i} V${n - l}`;
|
|
1724
|
-
let
|
|
1725
|
-
e[11] !== s || e[12] !== g ? (
|
|
1832
|
+
let x;
|
|
1833
|
+
e[11] !== s || e[12] !== g ? (x = /* @__PURE__ */ d("path", { d: g, ...s }), e[11] = s, e[12] = g, e[13] = x) : x = e[13];
|
|
1726
1834
|
let b;
|
|
1727
|
-
return e[14] !== p || e[15] !== u || e[16] !== h || e[17] !==
|
|
1835
|
+
return e[14] !== p || e[15] !== u || e[16] !== h || e[17] !== x ? (b = /* @__PURE__ */ M(he, { children: [
|
|
1728
1836
|
p,
|
|
1729
1837
|
u,
|
|
1730
1838
|
h,
|
|
1731
|
-
|
|
1732
|
-
] }), e[14] = p, e[15] = u, e[16] = h, e[17] =
|
|
1839
|
+
x
|
|
1840
|
+
] }), e[14] = p, e[15] = u, e[16] = h, e[17] = x, e[18] = b) : b = e[18], b;
|
|
1733
1841
|
}
|
|
1734
1842
|
const Ho = 16;
|
|
1735
1843
|
function rt(t) {
|
|
@@ -1745,36 +1853,36 @@ function rt(t) {
|
|
|
1745
1853
|
} = o, c = l === void 0 ? "circle" : l, p = i === void 0 ? !1 : i, f = n === void 0 ? "solid" : n, u = a === void 0 ? "solid" : a, y = s === void 0 ? "vertical" : s, h = y === "horizontal";
|
|
1746
1854
|
let g;
|
|
1747
1855
|
e[0] !== r ? (g = r.reduce(Ro, 0), e[0] = r, e[1] = g) : g = e[1];
|
|
1748
|
-
const b = Math.max(Ho, g),
|
|
1856
|
+
const b = Math.max(Ho, g), S = h ? te.listHorizontal : null;
|
|
1749
1857
|
let L;
|
|
1750
|
-
e[2] !==
|
|
1858
|
+
e[2] !== S ? (L = {
|
|
1751
1859
|
...te.list,
|
|
1752
|
-
...
|
|
1753
|
-
}, e[2] =
|
|
1754
|
-
let
|
|
1860
|
+
...S
|
|
1861
|
+
}, e[2] = S, e[3] = L) : L = e[3];
|
|
1862
|
+
let C;
|
|
1755
1863
|
if (e[4] !== f || e[5] !== b || e[6] !== h || e[7] !== p || e[8] !== r || e[9] !== c || e[10] !== u) {
|
|
1756
1864
|
let I;
|
|
1757
|
-
e[12] !== f || e[13] !== b || e[14] !== h || e[15] !== p || e[16] !== c || e[17] !== u ? (I = (
|
|
1865
|
+
e[12] !== f || e[13] !== b || e[14] !== h || e[15] !== p || e[16] !== c || e[17] !== u ? (I = (w, O) => /* @__PURE__ */ M(A, { sx: {
|
|
1758
1866
|
...te.item,
|
|
1759
1867
|
...h ? te.itemHorizontal : null
|
|
1760
1868
|
}, children: [
|
|
1761
|
-
/* @__PURE__ */ d(
|
|
1869
|
+
/* @__PURE__ */ d(A, { sx: {
|
|
1762
1870
|
...te.gutter,
|
|
1763
1871
|
width: h ? void 0 : b
|
|
1764
|
-
}, children: /* @__PURE__ */ d(it, { shape:
|
|
1872
|
+
}, children: /* @__PURE__ */ d(it, { shape: w.shape ?? c, color: w.color, isStrokeColor: w.isStrokeColor ?? p, fillPattern: w.fillPattern ?? f, strokeStyle: w.strokeStyle ?? u, size: w.size ?? Ge }) }),
|
|
1765
1873
|
/* @__PURE__ */ d(E, { variant: "caption", color: "text.primary", sx: {
|
|
1766
1874
|
...te.label,
|
|
1767
1875
|
...h ? te.labelHorizontal : null
|
|
1768
|
-
}, children:
|
|
1769
|
-
|
|
1770
|
-
] }, `${
|
|
1876
|
+
}, children: w.label }),
|
|
1877
|
+
w.value != null && /* @__PURE__ */ d(E, { className: "PsLegend-value", variant: "caption", color: "text.secondary", sx: te.value, children: w.value })
|
|
1878
|
+
] }, `${w.label}-${O}`), e[12] = f, e[13] = b, e[14] = h, e[15] = p, e[16] = c, e[17] = u, e[18] = I) : I = e[18], C = r.map(I), e[4] = f, e[5] = b, e[6] = h, e[7] = p, e[8] = r, e[9] = c, e[10] = u, e[11] = C;
|
|
1771
1879
|
} else
|
|
1772
|
-
|
|
1773
|
-
let
|
|
1774
|
-
return e[19] !== y || e[20] !== L || e[21] !==
|
|
1880
|
+
C = e[11];
|
|
1881
|
+
let v;
|
|
1882
|
+
return e[19] !== y || e[20] !== L || e[21] !== C ? (v = /* @__PURE__ */ d(A, { "data-orientation": y, sx: L, children: C }), e[19] = y, e[20] = L, e[21] = C, e[22] = v) : v = e[22], v;
|
|
1775
1883
|
}
|
|
1776
1884
|
function Ro(t, e) {
|
|
1777
|
-
return Math.max(t, e.size ??
|
|
1885
|
+
return Math.max(t, e.size ?? Ge);
|
|
1778
1886
|
}
|
|
1779
1887
|
const K = {
|
|
1780
1888
|
container: {
|
|
@@ -1863,64 +1971,64 @@ function st(t) {
|
|
|
1863
1971
|
const u = f, y = n[0], h = n[n.length - 1];
|
|
1864
1972
|
let g;
|
|
1865
1973
|
e[2] !== i ? (g = i.join(", "), e[2] = i, e[3] = g) : g = e[3];
|
|
1866
|
-
const
|
|
1974
|
+
const x = `linear-gradient(90deg, ${g})`, b = !a && n.length === i.length + 1, S = !a && !b;
|
|
1867
1975
|
let L;
|
|
1868
1976
|
e[4] !== n ? (L = (m) => `${n[m]?.label ?? ""} – ${n[m + 1]?.label ?? ""}`, e[4] = n, e[5] = L) : L = e[5];
|
|
1869
|
-
const
|
|
1870
|
-
let
|
|
1871
|
-
e[6] !== s || e[7] !== l ? (
|
|
1977
|
+
const C = L;
|
|
1978
|
+
let v;
|
|
1979
|
+
e[6] !== s || e[7] !== l ? (v = s && /* @__PURE__ */ M(A, { sx: K.attribute, children: [
|
|
1872
1980
|
/* @__PURE__ */ d(E, { variant: "overline", color: "text.secondary", children: l.colorBasedOn }),
|
|
1873
1981
|
/* @__PURE__ */ d(E, { variant: "caption", color: "text.primary", children: s })
|
|
1874
|
-
] }), e[6] = s, e[7] = l, e[8] =
|
|
1875
|
-
const I =
|
|
1876
|
-
if (
|
|
1982
|
+
] }), e[6] = s, e[7] = l, e[8] = v) : v = e[8];
|
|
1983
|
+
const I = v;
|
|
1984
|
+
if (S) {
|
|
1877
1985
|
let m;
|
|
1878
|
-
e[9] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (m = /* @__PURE__ */ d(
|
|
1879
|
-
const
|
|
1880
|
-
let
|
|
1881
|
-
e[10] !==
|
|
1986
|
+
e[9] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (m = /* @__PURE__ */ d(zt, { fontSize: "small" }), e[9] = m) : m = e[9];
|
|
1987
|
+
const P = `Discrete ramp needs ${i.length + 1} stops (one per color boundary) but got ${n.length}.`;
|
|
1988
|
+
let z;
|
|
1989
|
+
e[10] !== P ? (z = /* @__PURE__ */ M(A, { sx: K.error, children: [
|
|
1882
1990
|
m,
|
|
1883
|
-
/* @__PURE__ */ d(E, { variant: "caption", color: "error", children:
|
|
1884
|
-
] }), e[10] =
|
|
1991
|
+
/* @__PURE__ */ d(E, { variant: "caption", color: "error", children: P })
|
|
1992
|
+
] }), e[10] = P, e[11] = z) : z = e[11];
|
|
1885
1993
|
let D;
|
|
1886
|
-
return e[12] !== I || e[13] !==
|
|
1994
|
+
return e[12] !== I || e[13] !== z ? (D = /* @__PURE__ */ M(A, { sx: K.container, children: [
|
|
1887
1995
|
I,
|
|
1888
|
-
|
|
1889
|
-
] }), e[12] = I, e[13] =
|
|
1996
|
+
z
|
|
1997
|
+
] }), e[12] = I, e[13] = z, e[14] = D) : D = e[14], D;
|
|
1890
1998
|
}
|
|
1891
|
-
let
|
|
1892
|
-
e[15] !== i || e[16] !==
|
|
1999
|
+
let w;
|
|
2000
|
+
e[15] !== i || e[16] !== x || e[17] !== a || e[18] !== l || e[19] !== C ? (w = a ? /* @__PURE__ */ d(A, { role: "img", "aria-label": l.colorGradient, sx: {
|
|
1893
2001
|
width: "100%",
|
|
1894
2002
|
height: "100%",
|
|
1895
|
-
background:
|
|
1896
|
-
} }) : i.map((m,
|
|
2003
|
+
background: x
|
|
2004
|
+
} }) : i.map((m, P) => /* @__PURE__ */ d(A, { role: "img", "aria-label": C(P), sx: {
|
|
1897
2005
|
...K.step,
|
|
1898
2006
|
backgroundColor: m
|
|
1899
|
-
} },
|
|
2007
|
+
} }, P)), e[15] = i, e[16] = x, e[17] = a, e[18] = l, e[19] = C, e[20] = w) : w = e[20];
|
|
1900
2008
|
let O;
|
|
1901
|
-
e[21] !==
|
|
2009
|
+
e[21] !== w ? (O = /* @__PURE__ */ d(A, { sx: K.bar, children: w }), e[21] = w, e[22] = O) : O = e[22];
|
|
1902
2010
|
let k;
|
|
1903
|
-
e[23] !== u || e[24] !== o.avg || e[25] !== p ? (k = u != null && o.avg != null && /* @__PURE__ */ d(ie, { title: p(o.avg), placement: "top", arrow: !0, children: /* @__PURE__ */ d(
|
|
2011
|
+
e[23] !== u || e[24] !== o.avg || e[25] !== p ? (k = u != null && o.avg != null && /* @__PURE__ */ d(ie, { title: p(o.avg), placement: "top", arrow: !0, children: /* @__PURE__ */ d(A, { sx: K.avgLine, style: {
|
|
1904
2012
|
left: `${u}%`
|
|
1905
2013
|
} }) }), e[23] = u, e[24] = o.avg, e[25] = p, e[26] = k) : k = e[26];
|
|
1906
2014
|
let $;
|
|
1907
|
-
e[27] !== O || e[28] !== k ? ($ = /* @__PURE__ */
|
|
2015
|
+
e[27] !== O || e[28] !== k ? ($ = /* @__PURE__ */ M(A, { sx: K.barWrap, children: [
|
|
1908
2016
|
O,
|
|
1909
2017
|
k
|
|
1910
2018
|
] }), e[27] = O, e[28] = k, e[29] = $) : $ = e[29];
|
|
1911
2019
|
let _;
|
|
1912
|
-
e[30] !== i.length || e[31] !== y?.label || e[32] !== b || e[33] !== h?.label || e[34] !== n ? (_ = b ? /* @__PURE__ */ d(
|
|
1913
|
-
const
|
|
2020
|
+
e[30] !== i.length || e[31] !== y?.label || e[32] !== b || e[33] !== h?.label || e[34] !== n ? (_ = b ? /* @__PURE__ */ d(A, { sx: K.boundaryLabels, children: n.map((m, P) => {
|
|
2021
|
+
const z = P === n.length - 1, D = P === 0 ? void 0 : z ? "translateX(-100%)" : "translateX(-50%)";
|
|
1914
2022
|
return /* @__PURE__ */ d(E, { variant: "overline", color: "text.secondary", sx: K.boundaryLabel, style: {
|
|
1915
|
-
left: `${
|
|
2023
|
+
left: `${P / i.length * 100}%`,
|
|
1916
2024
|
transform: D
|
|
1917
|
-
}, children: m.label }, `${m.label}-${
|
|
1918
|
-
}) }) : /* @__PURE__ */
|
|
2025
|
+
}, children: m.label }, `${m.label}-${P}`);
|
|
2026
|
+
}) }) : /* @__PURE__ */ M(A, { sx: K.labels, children: [
|
|
1919
2027
|
/* @__PURE__ */ d(E, { variant: "overline", color: "text.secondary", children: y?.label }),
|
|
1920
2028
|
/* @__PURE__ */ d(E, { variant: "overline", color: "text.secondary", children: h?.label })
|
|
1921
2029
|
] }), e[30] = i.length, e[31] = y?.label, e[32] = b, e[33] = h?.label, e[34] = n, e[35] = _) : _ = e[35];
|
|
1922
2030
|
let G;
|
|
1923
|
-
return e[36] !== I || e[37] !== $ || e[38] !== _ ? (G = /* @__PURE__ */
|
|
2031
|
+
return e[36] !== I || e[37] !== $ || e[38] !== _ ? (G = /* @__PURE__ */ M(A, { sx: K.container, children: [
|
|
1924
2032
|
I,
|
|
1925
2033
|
$,
|
|
1926
2034
|
_
|
|
@@ -1966,24 +2074,24 @@ const ce = {
|
|
|
1966
2074
|
flexDirection: "column",
|
|
1967
2075
|
justifyContent: "space-between"
|
|
1968
2076
|
}
|
|
1969
|
-
}, fe = 72,
|
|
1970
|
-
function
|
|
2077
|
+
}, fe = 72, Wo = 0.3, Te = 2, ke = 4;
|
|
2078
|
+
function Bo(t) {
|
|
1971
2079
|
const e = (t.stops ?? []).filter((i) => Number.isFinite(i));
|
|
1972
|
-
if (e.length >=
|
|
1973
|
-
return e.sort((i, n) => n - i).slice(0,
|
|
2080
|
+
if (e.length >= Te)
|
|
2081
|
+
return e.sort((i, n) => n - i).slice(0, ke);
|
|
1974
2082
|
const {
|
|
1975
2083
|
min: o,
|
|
1976
2084
|
max: r
|
|
1977
2085
|
} = t;
|
|
1978
2086
|
if (o === r) return [r];
|
|
1979
|
-
const l = Math.min(
|
|
2087
|
+
const l = Math.min(ke, Math.max(Te, t.steps ?? ke));
|
|
1980
2088
|
return Array.from({
|
|
1981
2089
|
length: l
|
|
1982
2090
|
}, (i, n) => r - (r - o) * n / (l - 1));
|
|
1983
2091
|
}
|
|
1984
2092
|
function No(t, e) {
|
|
1985
2093
|
if (e <= 1) return fe;
|
|
1986
|
-
const o = 1 - (1 -
|
|
2094
|
+
const o = 1 - (1 - Wo) * (t / (e - 1));
|
|
1987
2095
|
return fe * o;
|
|
1988
2096
|
}
|
|
1989
2097
|
function at(t) {
|
|
@@ -1994,25 +2102,25 @@ function at(t) {
|
|
|
1994
2102
|
attribute: i,
|
|
1995
2103
|
formatValue: n
|
|
1996
2104
|
} = o, a = n === void 0 ? String : n;
|
|
1997
|
-
let s, c, p, f, u, y, h, g,
|
|
2105
|
+
let s, c, p, f, u, y, h, g, x;
|
|
1998
2106
|
if (e[0] !== i || e[1] !== o || e[2] !== a || e[3] !== l) {
|
|
1999
|
-
const
|
|
2107
|
+
const C = Bo(o), v = C.length;
|
|
2000
2108
|
let I;
|
|
2001
|
-
e[13] !== a || e[14] !== l || e[15] !==
|
|
2109
|
+
e[13] !== a || e[14] !== l || e[15] !== v ? (I = (_, G) => {
|
|
2002
2110
|
const m = a(_);
|
|
2003
|
-
return
|
|
2111
|
+
return v <= 1 ? m : G === 0 ? /* @__PURE__ */ M(he, { children: [
|
|
2004
2112
|
l.maxPrefix,
|
|
2005
2113
|
m
|
|
2006
|
-
] }) : G ===
|
|
2114
|
+
] }) : G === v - 1 ? /* @__PURE__ */ M(he, { children: [
|
|
2007
2115
|
l.minPrefix,
|
|
2008
2116
|
m
|
|
2009
2117
|
] }) : m;
|
|
2010
|
-
}, e[13] = a, e[14] = l, e[15] =
|
|
2011
|
-
const
|
|
2012
|
-
p =
|
|
2118
|
+
}, e[13] = a, e[14] = l, e[15] = v, e[16] = I) : I = e[16];
|
|
2119
|
+
const w = I;
|
|
2120
|
+
p = A, g = ce.root, e[17] !== i || e[18] !== l ? (x = i && /* @__PURE__ */ M(A, { sx: ce.attribute, children: [
|
|
2013
2121
|
/* @__PURE__ */ d(E, { variant: "overline", color: "text.secondary", children: l.radiusRangeBy }),
|
|
2014
2122
|
/* @__PURE__ */ d(E, { variant: "caption", color: "text.primary", children: i })
|
|
2015
|
-
] }), e[17] = i, e[18] = l, e[19] =
|
|
2123
|
+
] }), e[17] = i, e[18] = l, e[19] = x) : x = e[19], c = A, y = ce.body;
|
|
2016
2124
|
let O;
|
|
2017
2125
|
e[20] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (O = {
|
|
2018
2126
|
...ce.circles,
|
|
@@ -2020,33 +2128,33 @@ function at(t) {
|
|
|
2020
2128
|
height: fe
|
|
2021
2129
|
}, e[20] = O) : O = e[20];
|
|
2022
2130
|
let k;
|
|
2023
|
-
e[21] !==
|
|
2024
|
-
const m = No(G,
|
|
2025
|
-
return /* @__PURE__ */ d(
|
|
2131
|
+
e[21] !== v ? (k = (_, G) => {
|
|
2132
|
+
const m = No(G, v);
|
|
2133
|
+
return /* @__PURE__ */ d(A, { "aria-hidden": !0, sx: {
|
|
2026
2134
|
...ce.circle,
|
|
2027
2135
|
width: m,
|
|
2028
2136
|
height: m
|
|
2029
2137
|
} }, G);
|
|
2030
|
-
}, e[21] =
|
|
2138
|
+
}, e[21] = v, e[22] = k) : k = e[22], h = /* @__PURE__ */ d(A, { sx: O, children: C.map(k) }), s = A, e[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (f = {
|
|
2031
2139
|
...ce.labels,
|
|
2032
2140
|
height: fe
|
|
2033
2141
|
}, e[23] = f) : f = e[23];
|
|
2034
2142
|
let $;
|
|
2035
|
-
e[24] !==
|
|
2143
|
+
e[24] !== w ? ($ = (_, G) => /* @__PURE__ */ d(E, { variant: "caption", color: "text.secondary", children: w(_, G) }, G), e[24] = w, e[25] = $) : $ = e[25], u = C.map($), e[0] = i, e[1] = o, e[2] = a, e[3] = l, e[4] = s, e[5] = c, e[6] = p, e[7] = f, e[8] = u, e[9] = y, e[10] = h, e[11] = g, e[12] = x;
|
|
2036
2144
|
} else
|
|
2037
|
-
s = e[4], c = e[5], p = e[6], f = e[7], u = e[8], y = e[9], h = e[10], g = e[11],
|
|
2145
|
+
s = e[4], c = e[5], p = e[6], f = e[7], u = e[8], y = e[9], h = e[10], g = e[11], x = e[12];
|
|
2038
2146
|
let b;
|
|
2039
2147
|
e[26] !== s || e[27] !== f || e[28] !== u ? (b = /* @__PURE__ */ d(s, { sx: f, children: u }), e[26] = s, e[27] = f, e[28] = u, e[29] = b) : b = e[29];
|
|
2040
|
-
let
|
|
2041
|
-
e[30] !== c || e[31] !== y || e[32] !== h || e[33] !== b ? (
|
|
2148
|
+
let S;
|
|
2149
|
+
e[30] !== c || e[31] !== y || e[32] !== h || e[33] !== b ? (S = /* @__PURE__ */ M(c, { sx: y, children: [
|
|
2042
2150
|
h,
|
|
2043
2151
|
b
|
|
2044
|
-
] }), e[30] = c, e[31] = y, e[32] = h, e[33] = b, e[34] =
|
|
2152
|
+
] }), e[30] = c, e[31] = y, e[32] = h, e[33] = b, e[34] = S) : S = e[34];
|
|
2045
2153
|
let L;
|
|
2046
|
-
return e[35] !== p || e[36] !==
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
] }), e[35] = p, e[36] =
|
|
2154
|
+
return e[35] !== p || e[36] !== S || e[37] !== g || e[38] !== x ? (L = /* @__PURE__ */ M(p, { sx: g, children: [
|
|
2155
|
+
x,
|
|
2156
|
+
S
|
|
2157
|
+
] }), e[35] = p, e[36] = S, e[37] = g, e[38] = x, e[39] = L) : L = e[39], L;
|
|
2050
2158
|
}
|
|
2051
2159
|
const oe = {
|
|
2052
2160
|
list: {
|
|
@@ -2116,11 +2224,11 @@ function ct(t) {
|
|
|
2116
2224
|
let a;
|
|
2117
2225
|
if (e[2] !== o.items || e[3] !== l) {
|
|
2118
2226
|
let c;
|
|
2119
|
-
e[5] !== l ? (c = (p, f) => /* @__PURE__ */
|
|
2227
|
+
e[5] !== l ? (c = (p, f) => /* @__PURE__ */ M(A, { sx: {
|
|
2120
2228
|
...oe.item,
|
|
2121
2229
|
...l ? oe.itemHorizontal : null
|
|
2122
2230
|
}, children: [
|
|
2123
|
-
/* @__PURE__ */ d(
|
|
2231
|
+
/* @__PURE__ */ d(A, { component: "img", src: p.icon, alt: "", sx: oe.icon }),
|
|
2124
2232
|
/* @__PURE__ */ d(E, { variant: "caption", color: "text.primary", sx: {
|
|
2125
2233
|
...oe.label,
|
|
2126
2234
|
...l ? oe.labelHorizontal : null
|
|
@@ -2130,7 +2238,7 @@ function ct(t) {
|
|
|
2130
2238
|
} else
|
|
2131
2239
|
a = e[4];
|
|
2132
2240
|
let s;
|
|
2133
|
-
return e[7] !== r || e[8] !== n || e[9] !== a ? (s = /* @__PURE__ */ d(
|
|
2241
|
+
return e[7] !== r || e[8] !== n || e[9] !== a ? (s = /* @__PURE__ */ d(A, { "data-orientation": r, sx: n, children: a }), e[7] = r, e[8] = n, e[9] = a, e[10] = s) : s = e[10], s;
|
|
2134
2242
|
}
|
|
2135
2243
|
function dt(t) {
|
|
2136
2244
|
const e = T(10), {
|
|
@@ -2173,7 +2281,7 @@ function Uo() {
|
|
|
2173
2281
|
t[0] !== o ? (r = (s) => o ? s.layers[o.layerId]?.variables : void 0, t[0] = o, t[1] = r) : r = t[1];
|
|
2174
2282
|
const l = Z(e, r), {
|
|
2175
2283
|
labels: i
|
|
2176
|
-
} =
|
|
2284
|
+
} = W();
|
|
2177
2285
|
if (!l || l.length === 0)
|
|
2178
2286
|
return null;
|
|
2179
2287
|
let n;
|
|
@@ -2183,15 +2291,15 @@ function Uo() {
|
|
|
2183
2291
|
} else
|
|
2184
2292
|
n = t[4];
|
|
2185
2293
|
let a;
|
|
2186
|
-
return t[7] !== n ? (a = /* @__PURE__ */ d(
|
|
2294
|
+
return t[7] !== n ? (a = /* @__PURE__ */ d(A, { sx: Fo.stack, children: n }), t[7] = n, t[8] = a) : a = t[8], a;
|
|
2187
2295
|
}
|
|
2188
2296
|
const an = {
|
|
2189
2297
|
// Composition shell
|
|
2190
2298
|
Provider: Nt,
|
|
2191
2299
|
Group: jt,
|
|
2192
2300
|
Row: Xt,
|
|
2193
|
-
Actions:
|
|
2194
|
-
Sortable:
|
|
2301
|
+
Actions: Ye,
|
|
2302
|
+
Sortable: xo,
|
|
2195
2303
|
// Store-connected actions & controls (context-driven)
|
|
2196
2304
|
VisibilityToggle: Jt,
|
|
2197
2305
|
RowMenu: oo,
|
|
@@ -2206,7 +2314,7 @@ const an = {
|
|
|
2206
2314
|
PanelMenu: po,
|
|
2207
2315
|
VisibleLayers: ho,
|
|
2208
2316
|
Opacity: Go,
|
|
2209
|
-
ConfigSelect:
|
|
2317
|
+
ConfigSelect: Po,
|
|
2210
2318
|
Item: Uo,
|
|
2211
2319
|
// Pure UI
|
|
2212
2320
|
ItemUI: dt,
|