@carto/ps-react-ui 4.16.0 → 4.17.0
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/legend/stores.js +1 -1
- package/dist/{legend-store-registry-CVYzhR1-.js → legend-store-registry-Bo8U_qWM.js} +136 -132
- package/dist/legend-store-registry-Bo8U_qWM.js.map +1 -0
- package/dist/legend.js +399 -396
- package/dist/legend.js.map +1 -1
- package/dist/types/legend/stores/types.d.ts +8 -0
- package/package.json +1 -1
- package/src/legend/components/legend-group/legend-group.test.tsx +25 -0
- package/src/legend/components/legend-group/legend-group.tsx +4 -7
- package/src/legend/components/legend-sortable/legend-sortable.tsx +5 -5
- package/src/legend/stores/legend-store-registry.ts +22 -2
- package/src/legend/stores/legend-store.test.ts +52 -0
- package/src/legend/stores/types.ts +8 -0
- package/dist/legend-store-registry-CVYzhR1-.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 z, 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 Ge, Children as
|
|
4
|
-
import { L as
|
|
5
|
-
import { Box as
|
|
6
|
-
import { DragIndicator as
|
|
7
|
-
import { useSortable as
|
|
8
|
-
import { S as
|
|
9
|
-
import { CSS as
|
|
3
|
+
import { createContext as me, useContext as be, useState as J, useLayoutEffect as Ge, Children as ut, isValidElement as pt, useEffect as ft, useRef as Te, useId as ht } from "react";
|
|
4
|
+
import { L as gt, h as yt, g as X, a as mt, m as bt, r as xt, u as vt, n as N, o as Z, p as U, b as ke, i as re, f as Lt, e as De, s as Me, j as xe, l as Ee } from "./legend-store-registry-Bo8U_qWM.js";
|
|
5
|
+
import { Box as P, IconButton as ve, Typography as E, Collapse as He, createSvgIcon as St, Menu as $e, CircularProgress as Re, MenuItem as q, Divider as Ct, Slider as wt, InputAdornment as It, OutlinedInput as kt, ButtonBase as $t } from "@mui/material";
|
|
6
|
+
import { DragIndicator as Ot, ExpandMore as Ve, VisibilityOffOutlined as _t, VisibilityOutlined as Be, MoreVert as Gt, ChecklistOutlined as Mt, Close as Pt, ArrowDropDown as zt, ErrorOutline as At } from "@mui/icons-material";
|
|
7
|
+
import { useSortable as Tt, SortableContext as We, verticalListSortingStrategy as Ne } from "@dnd-kit/sortable";
|
|
8
|
+
import { S as Fe } from "./smart-tooltip-D4vwQpFf.js";
|
|
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
|
|
15
|
+
import { useSensors as Et, useSensor as Pe, PointerSensor as Ht, KeyboardSensor as Rt, DndContext as Vt, closestCenter as Bt, DragOverlay as Wt } from "@dnd-kit/core";
|
|
16
16
|
const ge = {
|
|
17
17
|
expandLayer: "Expand layer",
|
|
18
18
|
collapseLayer: "Collapse layer",
|
|
@@ -46,13 +46,13 @@ const ge = {
|
|
|
46
46
|
colorGradient: "Color gradient",
|
|
47
47
|
maxPrefix: "MAX: ",
|
|
48
48
|
minPrefix: "MIN: "
|
|
49
|
-
},
|
|
49
|
+
}, Ue = me({
|
|
50
50
|
labels: ge
|
|
51
51
|
});
|
|
52
52
|
function B() {
|
|
53
|
-
return be(
|
|
53
|
+
return be(Ue);
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function Nt(t) {
|
|
56
56
|
const e = T(24), {
|
|
57
57
|
id: o,
|
|
58
58
|
layers: r,
|
|
@@ -63,86 +63,86 @@ function Ft(t) {
|
|
|
63
63
|
} = t, s = n === void 0 ? !0 : n;
|
|
64
64
|
let c;
|
|
65
65
|
e[0] !== l || e[1] !== o || e[2] !== r ? (c = () => {
|
|
66
|
-
if (
|
|
66
|
+
if (yt(o))
|
|
67
67
|
return X(o);
|
|
68
|
-
const w =
|
|
68
|
+
const w = mt(o, {
|
|
69
69
|
layers: r,
|
|
70
70
|
groups: l
|
|
71
71
|
});
|
|
72
|
-
return
|
|
72
|
+
return bt(o, w), w;
|
|
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 = () => (xt(o, p), () => {
|
|
77
|
+
vt(o, {
|
|
78
78
|
keepAlive: s
|
|
79
79
|
});
|
|
80
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]), Ge(f, u);
|
|
81
|
-
let y,
|
|
81
|
+
let y, h;
|
|
82
82
|
e[9] !== l || e[10] !== r || e[11] !== p ? (y = () => {
|
|
83
83
|
p.getState()._sync(r, l ?? []);
|
|
84
|
-
},
|
|
85
|
-
let
|
|
86
|
-
e[14] !== i ? (
|
|
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]), Ge(y, h);
|
|
85
|
+
let g;
|
|
86
|
+
e[14] !== i ? (g = i ? {
|
|
87
87
|
...ge,
|
|
88
88
|
...i
|
|
89
|
-
} : ge, e[14] = i, e[15] =
|
|
89
|
+
} : ge, e[14] = i, e[15] = g) : g = e[15];
|
|
90
90
|
let v;
|
|
91
|
-
e[16] !==
|
|
92
|
-
labels:
|
|
93
|
-
}, e[16] =
|
|
91
|
+
e[16] !== g ? (v = {
|
|
92
|
+
labels: g
|
|
93
|
+
}, e[16] = g, e[17] = v) : v = e[17];
|
|
94
94
|
const b = v;
|
|
95
95
|
let C;
|
|
96
|
-
e[18] !== a || e[19] !== b ? (C = /* @__PURE__ */ d(
|
|
96
|
+
e[18] !== a || e[19] !== b ? (C = /* @__PURE__ */ d(Ue.Provider, { value: b, children: a }), e[18] = a, e[19] = b, e[20] = C) : C = e[20];
|
|
97
97
|
let L;
|
|
98
|
-
return e[21] !== o || e[22] !== C ? (L = /* @__PURE__ */ d(
|
|
98
|
+
return e[21] !== o || e[22] !== C ? (L = /* @__PURE__ */ d(gt.Provider, { value: o, children: C }), e[21] = o, e[22] = C, e[23] = L) : L = e[23], L;
|
|
99
99
|
}
|
|
100
|
-
function
|
|
100
|
+
function je(t) {
|
|
101
101
|
return (e) => {
|
|
102
102
|
(e.key === "Enter" || e.key === " ") && (e.preventDefault(), t());
|
|
103
103
|
};
|
|
104
104
|
}
|
|
105
|
-
const
|
|
105
|
+
const Ze = me(null);
|
|
106
106
|
function Q() {
|
|
107
|
+
return be(Ze);
|
|
108
|
+
}
|
|
109
|
+
const Ke = me(null);
|
|
110
|
+
function ue() {
|
|
107
111
|
return be(Ke);
|
|
108
112
|
}
|
|
109
113
|
const Xe = me(null);
|
|
110
|
-
function
|
|
114
|
+
function qe() {
|
|
111
115
|
return be(Xe);
|
|
112
116
|
}
|
|
113
|
-
const
|
|
114
|
-
function Qe() {
|
|
115
|
-
return be(qe);
|
|
116
|
-
}
|
|
117
|
-
const Ut = {
|
|
117
|
+
const Ft = {
|
|
118
118
|
fadeGroup: {
|
|
119
119
|
display: "flex",
|
|
120
120
|
alignItems: "center",
|
|
121
121
|
gap: 0.25
|
|
122
122
|
}
|
|
123
123
|
};
|
|
124
|
-
function
|
|
124
|
+
function Qe(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(P, { 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 Ye(t) {
|
|
132
132
|
const e = [], o = [];
|
|
133
|
-
for (const r of
|
|
134
|
-
|
|
133
|
+
for (const r of ut.toArray(t))
|
|
134
|
+
Ut(r, Qe) ? e.push(r) : o.push(r);
|
|
135
135
|
return {
|
|
136
136
|
actions: e,
|
|
137
137
|
body: o
|
|
138
138
|
};
|
|
139
139
|
}
|
|
140
|
-
function
|
|
141
|
-
return
|
|
140
|
+
function Ut(t, e) {
|
|
141
|
+
return pt(t) && t.type === e;
|
|
142
142
|
}
|
|
143
|
-
const
|
|
144
|
-
function
|
|
145
|
-
return be(
|
|
143
|
+
const Je = me(!1);
|
|
144
|
+
function et() {
|
|
145
|
+
return be(Je);
|
|
146
146
|
}
|
|
147
147
|
const Se = (t, e) => `${t}:${e}`;
|
|
148
148
|
function de(t) {
|
|
@@ -210,7 +210,7 @@ const le = {
|
|
|
210
210
|
whiteSpace: "nowrap"
|
|
211
211
|
}
|
|
212
212
|
};
|
|
213
|
-
function
|
|
213
|
+
function tt(t) {
|
|
214
214
|
const e = T(31), {
|
|
215
215
|
kind: o,
|
|
216
216
|
id: r,
|
|
@@ -231,12 +231,12 @@ function ot(t) {
|
|
|
231
231
|
setActivatorNodeRef: f,
|
|
232
232
|
transform: u,
|
|
233
233
|
transition: y,
|
|
234
|
-
isDragging:
|
|
235
|
-
} =
|
|
236
|
-
let
|
|
237
|
-
if (e[5] !== s || e[6] !==
|
|
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
238
|
const v = {
|
|
239
|
-
transform:
|
|
239
|
+
transform: Dt.Transform.toString(u ? {
|
|
240
240
|
...u,
|
|
241
241
|
x: 0
|
|
242
242
|
} : null),
|
|
@@ -245,23 +245,23 @@ function ot(t) {
|
|
|
245
245
|
let L;
|
|
246
246
|
e[16] !== C ? (L = [le.handleSlot, C], e[16] = C, e[17] = L) : L = e[17];
|
|
247
247
|
let w;
|
|
248
|
-
e[18] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (w = /* @__PURE__ */ d(
|
|
248
|
+
e[18] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (w = /* @__PURE__ */ d(Ot, {}), e[18] = w) : w = e[18];
|
|
249
249
|
let x;
|
|
250
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
251
|
let I;
|
|
252
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
253
|
let S;
|
|
254
|
-
e[27] !== b || e[28] !== L || e[29] !== I ? (S = /* @__PURE__ */ d(
|
|
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
255
|
rootRef: p,
|
|
256
256
|
rootStyle: v,
|
|
257
|
-
dragging:
|
|
257
|
+
dragging: h,
|
|
258
258
|
handle: S
|
|
259
|
-
}), e[5] = s, e[6] =
|
|
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
260
|
} else
|
|
261
|
-
|
|
262
|
-
return
|
|
261
|
+
g = e[15];
|
|
262
|
+
return g;
|
|
263
263
|
}
|
|
264
|
-
const
|
|
264
|
+
const ot = 48, Y = {
|
|
265
265
|
group: {
|
|
266
266
|
display: "flex",
|
|
267
267
|
flexDirection: "column",
|
|
@@ -327,7 +327,7 @@ const nt = 48, Y = {
|
|
|
327
327
|
padding: ({
|
|
328
328
|
spacing: t
|
|
329
329
|
}) => t(1.5, 2, 1.5, 1),
|
|
330
|
-
minHeight:
|
|
330
|
+
minHeight: ot,
|
|
331
331
|
borderBottom: "1px solid",
|
|
332
332
|
borderColor: "divider",
|
|
333
333
|
position: "sticky",
|
|
@@ -395,60 +395,60 @@ const nt = 48, Y = {
|
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
397
|
};
|
|
398
|
-
function
|
|
399
|
-
const e = T(
|
|
398
|
+
function jt(t) {
|
|
399
|
+
const e = T(27), {
|
|
400
400
|
groupId: o,
|
|
401
401
|
children: r
|
|
402
402
|
} = t, l = N();
|
|
403
403
|
let i;
|
|
404
404
|
e[0] !== o ? (i = (x) => x.groups[o], e[0] = o, e[1] = i) : i = e[1];
|
|
405
|
-
const n = Z(l, i), a = Z(l,
|
|
405
|
+
const n = Z(l, i), a = Z(l, Kt);
|
|
406
406
|
let s;
|
|
407
407
|
e[2] !== o ? (s = (x) => ke(x, o) === "hidden", e[2] = o, e[3] = s) : s = e[3];
|
|
408
|
-
const c =
|
|
408
|
+
const c = U(l, s), p = et();
|
|
409
409
|
let f;
|
|
410
|
-
e[4] !== o ? (f = (x) => re(x, o).map(
|
|
410
|
+
e[4] !== o ? (f = (x) => re(x, o).map(Zt), e[4] = o, e[5] = f) : f = e[5];
|
|
411
411
|
const u = Z(l, f);
|
|
412
412
|
if (!n)
|
|
413
413
|
return null;
|
|
414
414
|
let y;
|
|
415
|
-
e[6] !== r ? (y =
|
|
415
|
+
e[6] !== r ? (y = Ye(r), e[6] = r, e[7] = y) : y = e[7];
|
|
416
416
|
const {
|
|
417
|
-
actions:
|
|
418
|
-
body:
|
|
417
|
+
actions: h,
|
|
418
|
+
body: g
|
|
419
419
|
} = y;
|
|
420
420
|
let v;
|
|
421
421
|
e[8] !== n.collapsed || e[9] !== o || e[10] !== a ? (v = () => a(o, !n.collapsed), e[8] = n.collapsed, e[9] = o, e[10] = a, e[11] = v) : v = e[11];
|
|
422
422
|
const b = v;
|
|
423
423
|
let C;
|
|
424
|
-
e[12] !==
|
|
425
|
-
/* @__PURE__ */ P
|
|
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 ? (C = (x) => /* @__PURE__ */ d(Ke.Provider, { value: o, children: /* @__PURE__ */ z(P, { ref: x?.rootRef, style: x?.rootStyle, sx: [Y.group, x?.dragging === !0 && Y.groupDragging], children: [
|
|
425
|
+
/* @__PURE__ */ z(P, { sx: Y.header, children: [
|
|
426
426
|
x?.handle,
|
|
427
|
-
/* @__PURE__ */ P
|
|
428
|
-
/* @__PURE__ */ d(
|
|
429
|
-
/* @__PURE__ */ d(
|
|
427
|
+
/* @__PURE__ */ z(P, { sx: Y.titleArea, role: "button", tabIndex: 0, "aria-expanded": !n.collapsed, onClick: b, onKeyDown: je(b), children: [
|
|
428
|
+
n.icon != null && /* @__PURE__ */ d(P, { sx: Y.groupIcon, children: n.icon }),
|
|
429
|
+
/* @__PURE__ */ d(Fe, { title: n.label, dependencies: [n.label], children: (I) => {
|
|
430
430
|
const {
|
|
431
431
|
ref: S
|
|
432
432
|
} = I;
|
|
433
433
|
return /* @__PURE__ */ d(E, { ref: S, variant: "button", fontWeight: "bold", color: c ? "text.disabled" : "text.primary", sx: Y.label, children: n.label });
|
|
434
434
|
} }),
|
|
435
|
-
/* @__PURE__ */ d(
|
|
435
|
+
/* @__PURE__ */ d(Ve, { sx: [Y.chevron, n.collapsed && Y.chevronCollapsed] })
|
|
436
436
|
] }),
|
|
437
|
-
/* @__PURE__ */ d(
|
|
437
|
+
/* @__PURE__ */ d(P, { sx: Y.actions, children: h })
|
|
438
438
|
] }),
|
|
439
|
-
/* @__PURE__ */ d(He, { in: !n.collapsed, children: p ? /* @__PURE__ */ d(
|
|
440
|
-
] }) }), e[12] =
|
|
439
|
+
/* @__PURE__ */ d(He, { in: !n.collapsed, children: p ? /* @__PURE__ */ d(We, { items: u, strategy: Ne, children: g }) : g })
|
|
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] = C) : C = e[22];
|
|
441
441
|
const L = C;
|
|
442
442
|
let w;
|
|
443
|
-
return e[
|
|
443
|
+
return e[23] !== o || e[24] !== L || e[25] !== p ? (w = p ? /* @__PURE__ */ d(tt, { kind: "group", id: o, render: L }) : L(), e[23] = o, e[24] = L, e[25] = p, e[26] = w) : w = e[26], w;
|
|
444
444
|
}
|
|
445
|
-
function
|
|
445
|
+
function Zt(t) {
|
|
446
446
|
return Se("layer", t.id);
|
|
447
447
|
}
|
|
448
|
-
function
|
|
448
|
+
function Kt(t) {
|
|
449
449
|
return t.setGroupCollapsed;
|
|
450
450
|
}
|
|
451
|
-
const
|
|
451
|
+
const j = {
|
|
452
452
|
// Padding lives on header/content/footer (not the root) so the sticky
|
|
453
453
|
// header is opaque and full-bleed while pinned.
|
|
454
454
|
row: {
|
|
@@ -617,85 +617,85 @@ const U = {
|
|
|
617
617
|
opacity: 0.5
|
|
618
618
|
}
|
|
619
619
|
};
|
|
620
|
-
function
|
|
620
|
+
function Xt(t) {
|
|
621
621
|
const e = T(30), {
|
|
622
622
|
layerId: o,
|
|
623
623
|
children: r
|
|
624
624
|
} = t, l = N();
|
|
625
625
|
let i;
|
|
626
626
|
e[0] !== o ? (i = (m) => m.layers[o], e[0] = o, e[1] = i) : i = e[1];
|
|
627
|
-
const n = Z(l, i), a = Z(l,
|
|
627
|
+
const n = Z(l, i), a = Z(l, qt);
|
|
628
628
|
let s;
|
|
629
|
-
e[2] !== o ? (s = (m) =>
|
|
630
|
-
const c =
|
|
629
|
+
e[2] !== o ? (s = (m) => Lt(m, o), e[2] = o, e[3] = s) : s = e[3];
|
|
630
|
+
const c = U(l, s), p = ue() !== null, f = et(), [u, y] = J(!1), h = n?.visible ?? !0, g = u && h;
|
|
631
631
|
let v;
|
|
632
|
-
e[4] !== o || e[5] !==
|
|
632
|
+
e[4] !== o || e[5] !== g ? (v = {
|
|
633
633
|
layerId: o,
|
|
634
|
-
opacityOpen:
|
|
634
|
+
opacityOpen: g,
|
|
635
635
|
setOpacityOpen: y
|
|
636
|
-
}, e[4] = o, e[5] =
|
|
636
|
+
}, e[4] = o, e[5] = g, e[6] = v) : v = e[6];
|
|
637
637
|
const b = v;
|
|
638
638
|
if (!n)
|
|
639
639
|
return null;
|
|
640
640
|
let C;
|
|
641
|
-
e[7] !== r ? (C =
|
|
641
|
+
e[7] !== r ? (C = Ye(r), e[7] = r, e[8] = C) : C = e[8];
|
|
642
642
|
const {
|
|
643
643
|
actions: L,
|
|
644
644
|
body: w
|
|
645
|
-
} = C, x = !n.visible || n.collapsed, I = p ?
|
|
645
|
+
} = C, x = !n.visible || n.collapsed, I = p ? ot : 0, S = n.visible && c;
|
|
646
646
|
let O;
|
|
647
647
|
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
648
|
const k = O;
|
|
649
649
|
let $;
|
|
650
|
-
e[13] !== L || e[14] !== w || e[15] !== S || e[16] !== x || e[17] !== n.collapsed || e[18] !== n.helperText || e[19] !== n.name || e[20] !== n.subtitle || e[21] !== n.visible || e[22] !== b || e[23] !== I || e[24] !== k ? ($ = (m) => /* @__PURE__ */ d(
|
|
651
|
-
/* @__PURE__ */ P
|
|
650
|
+
e[13] !== L || e[14] !== w || e[15] !== S || e[16] !== x || e[17] !== n.collapsed || e[18] !== n.helperText || e[19] !== n.name || e[20] !== n.subtitle || e[21] !== n.visible || e[22] !== b || e[23] !== I || e[24] !== k ? ($ = (m) => /* @__PURE__ */ d(Ze.Provider, { value: b, children: /* @__PURE__ */ z(P, { ref: m?.rootRef, style: m?.rootStyle, sx: [j.row, m?.dragging === !0 && j.rowDragging], children: [
|
|
651
|
+
/* @__PURE__ */ z(P, { sx: j.header, style: {
|
|
652
652
|
top: I
|
|
653
653
|
}, children: [
|
|
654
654
|
m?.handle,
|
|
655
|
-
/* @__PURE__ */ P
|
|
655
|
+
/* @__PURE__ */ z(P, { sx: [j.titleBox, S && j.titleBoxInteractive], ...S && {
|
|
656
656
|
role: "button",
|
|
657
657
|
tabIndex: 0,
|
|
658
658
|
"aria-expanded": !n.collapsed,
|
|
659
659
|
onClick: k,
|
|
660
|
-
onKeyDown:
|
|
660
|
+
onKeyDown: je(k)
|
|
661
661
|
}, children: [
|
|
662
|
-
/* @__PURE__ */ P
|
|
663
|
-
/* @__PURE__ */ d(
|
|
662
|
+
/* @__PURE__ */ z(P, { sx: j.titleLine, children: [
|
|
663
|
+
/* @__PURE__ */ d(Fe, { title: n.name, dependencies: [n.name], children: (M) => {
|
|
664
664
|
const {
|
|
665
665
|
ref: A
|
|
666
|
-
} =
|
|
667
|
-
return /* @__PURE__ */ d(E, { ref: A, variant: "button", color: n.visible ? "text.primary" : "text.disabled", sx:
|
|
666
|
+
} = M;
|
|
667
|
+
return /* @__PURE__ */ d(E, { ref: A, variant: "button", color: n.visible ? "text.primary" : "text.disabled", sx: j.title, children: n.name });
|
|
668
668
|
} }),
|
|
669
|
-
S && /* @__PURE__ */ d(
|
|
669
|
+
S && /* @__PURE__ */ d(Ve, { sx: [j.chevron, n.collapsed && j.chevronCollapsed] })
|
|
670
670
|
] }),
|
|
671
671
|
n.subtitle && !x && /* @__PURE__ */ d(E, { variant: "caption", color: "text.secondary", children: n.subtitle })
|
|
672
672
|
] }),
|
|
673
|
-
/* @__PURE__ */ d(
|
|
673
|
+
/* @__PURE__ */ d(P, { sx: j.actions, children: L })
|
|
674
674
|
] }),
|
|
675
|
-
/* @__PURE__ */
|
|
676
|
-
/* @__PURE__ */ d(
|
|
677
|
-
...
|
|
678
|
-
...
|
|
675
|
+
/* @__PURE__ */ z(He, { in: !x, children: [
|
|
676
|
+
/* @__PURE__ */ d(P, { sx: n.visible ? j.content : {
|
|
677
|
+
...j.content,
|
|
678
|
+
...j.dimmed
|
|
679
679
|
}, children: w }),
|
|
680
|
-
n.helperText && /* @__PURE__ */ d(
|
|
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 })
|
|
681
681
|
] })
|
|
682
682
|
] }) }), e[13] = L, e[14] = w, e[15] = S, e[16] = x, e[17] = n.collapsed, e[18] = n.helperText, e[19] = n.name, e[20] = n.subtitle, e[21] = n.visible, e[22] = b, e[23] = I, e[24] = k, e[25] = $) : $ = e[25];
|
|
683
683
|
const _ = $;
|
|
684
684
|
let G;
|
|
685
|
-
return e[26] !== o || e[27] !== _ || e[28] !== f ? (G = f ? /* @__PURE__ */ d(
|
|
685
|
+
return e[26] !== o || e[27] !== _ || e[28] !== f ? (G = f ? /* @__PURE__ */ d(tt, { kind: "layer", id: o, render: _ }) : _(), e[26] = o, e[27] = _, e[28] = f, e[29] = G) : G = e[29], G;
|
|
686
686
|
}
|
|
687
|
-
function
|
|
687
|
+
function qt(t) {
|
|
688
688
|
return t.setCollapsed;
|
|
689
689
|
}
|
|
690
|
-
const
|
|
690
|
+
const Qt = St(/* @__PURE__ */ z("g", { transform: "translate(12 12) scale(1.33333) translate(-184 -24)", children: [
|
|
691
691
|
/* @__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
692
|
/* @__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
|
-
] }), "VisibilityIndeterminate"),
|
|
694
|
-
visible:
|
|
695
|
-
hidden:
|
|
696
|
-
mixed:
|
|
693
|
+
] }), "VisibilityIndeterminate"), Yt = {
|
|
694
|
+
visible: Be,
|
|
695
|
+
hidden: _t,
|
|
696
|
+
mixed: Qt
|
|
697
697
|
};
|
|
698
|
-
function
|
|
698
|
+
function Jt(t) {
|
|
699
699
|
const e = T(36), {
|
|
700
700
|
visibility: o,
|
|
701
701
|
onToggle: r,
|
|
@@ -705,14 +705,14 @@ function eo(t) {
|
|
|
705
705
|
} = B(), c = o !== void 0 && r !== void 0;
|
|
706
706
|
let p;
|
|
707
707
|
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 =
|
|
708
|
+
const f = U(i, p);
|
|
709
709
|
let u;
|
|
710
710
|
e[3] !== c || e[4] !== a || e[5] !== n ? (u = (m) => !c && !n && a ? ke(m, a) : "visible", e[3] = c, e[4] = a, e[5] = n, e[6] = u) : u = e[6];
|
|
711
|
-
const y = Z(i, u),
|
|
711
|
+
const y = Z(i, u), h = U(i, to), g = U(i, eo);
|
|
712
712
|
let v, b;
|
|
713
713
|
e[7] !== c || e[8] !== a || e[9] !== n ? (v = () => {
|
|
714
714
|
!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] = v, e[11] = b) : (v = e[10], b = e[11]),
|
|
715
|
+
}, b = [c, n, a], e[7] = c, e[8] = a, e[9] = n, e[10] = v, e[11] = b) : (v = e[10], b = e[11]), ft(v, b);
|
|
716
716
|
let C, L, w = l;
|
|
717
717
|
if (c) {
|
|
718
718
|
C = o;
|
|
@@ -721,22 +721,22 @@ function eo(t) {
|
|
|
721
721
|
} else if (n) {
|
|
722
722
|
C = f ? "visible" : "hidden";
|
|
723
723
|
let m;
|
|
724
|
-
e[15] !== f || e[16] !== n || e[17] !==
|
|
724
|
+
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
725
|
} else if (a) {
|
|
726
726
|
C = y;
|
|
727
727
|
let m;
|
|
728
|
-
e[19] !== a || e[20] !== y || e[21] !==
|
|
729
|
-
let
|
|
730
|
-
e[23] !== s || e[24] !== l ? (
|
|
728
|
+
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 M;
|
|
730
|
+
e[23] !== s || e[24] !== l ? (M = l ?? {
|
|
731
731
|
hideLayer: s.hideGroup,
|
|
732
732
|
showLayer: s.showGroup
|
|
733
|
-
}, e[23] = s, e[24] = l, e[25] =
|
|
733
|
+
}, e[23] = s, e[24] = l, e[25] = M) : M = e[25], w = M;
|
|
734
734
|
} else
|
|
735
735
|
return null;
|
|
736
736
|
const {
|
|
737
737
|
hideLayer: x,
|
|
738
738
|
showLayer: I
|
|
739
|
-
} = w ?? s, S =
|
|
739
|
+
} = w ?? s, S = Yt[C], O = C === "hidden" ? I : x, k = C === "visible" ? void 0 : "active";
|
|
740
740
|
let $;
|
|
741
741
|
e[26] !== S ? ($ = /* @__PURE__ */ d(S, { fontSize: "small" }), e[26] = S, e[27] = $) : $ = e[27];
|
|
742
742
|
let _;
|
|
@@ -744,10 +744,10 @@ function eo(t) {
|
|
|
744
744
|
let G;
|
|
745
745
|
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
746
|
}
|
|
747
|
-
function
|
|
747
|
+
function eo(t) {
|
|
748
748
|
return t.setGroupVisibility;
|
|
749
749
|
}
|
|
750
|
-
function
|
|
750
|
+
function to(t) {
|
|
751
751
|
return t.setVisibility;
|
|
752
752
|
}
|
|
753
753
|
function Oe(t) {
|
|
@@ -757,11 +757,11 @@ function Oe(t) {
|
|
|
757
757
|
ariaLabel: l,
|
|
758
758
|
active: i
|
|
759
759
|
} = t, n = r === void 0 ? !0 : r, a = i === void 0 ? !1 : i, [s, c] = J(null), [p, f] = J(!1), u = Te(!1), y = !!s, {
|
|
760
|
-
labels:
|
|
760
|
+
labels: h
|
|
761
761
|
} = B();
|
|
762
|
-
let
|
|
763
|
-
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
764
|
-
const v =
|
|
762
|
+
let g;
|
|
763
|
+
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (g = () => c(null), e[0] = g) : g = e[0];
|
|
764
|
+
const v = g;
|
|
765
765
|
let b;
|
|
766
766
|
e[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (b = (V) => {
|
|
767
767
|
u.current = V, f(V);
|
|
@@ -791,20 +791,20 @@ function Oe(t) {
|
|
|
791
791
|
}, e[6] = k) : k = e[6];
|
|
792
792
|
const $ = k, _ = y || p || a ? "active" : void 0;
|
|
793
793
|
let G;
|
|
794
|
-
e[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (G = /* @__PURE__ */ d(
|
|
794
|
+
e[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (G = /* @__PURE__ */ d(Gt, { fontSize: "small" }), e[7] = G) : G = e[7];
|
|
795
795
|
let m;
|
|
796
796
|
e[8] !== l || e[9] !== y || e[10] !== _ ? (m = /* @__PURE__ */ d(ve, { 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];
|
|
797
|
-
let
|
|
798
|
-
e[12] !==
|
|
797
|
+
let M;
|
|
798
|
+
e[12] !== h.moreOptions || e[13] !== m ? (M = /* @__PURE__ */ d(ie, { title: h.moreOptions, children: m }), e[12] = h.moreOptions, e[13] = m, e[14] = M) : M = e[14];
|
|
799
799
|
let A;
|
|
800
800
|
e[15] !== s || e[16] !== o || e[17] !== y ? (A = /* @__PURE__ */ d($e, { anchorEl: s, open: y, onClose: I, onClick: I, children: o }), e[15] = s, e[16] = o, e[17] = y, e[18] = A) : A = e[18];
|
|
801
801
|
let D;
|
|
802
|
-
return e[19] !== O || e[20] !==
|
|
803
|
-
|
|
802
|
+
return e[19] !== O || e[20] !== M || e[21] !== A ? (D = /* @__PURE__ */ z(Xe.Provider, { value: O, children: [
|
|
803
|
+
M,
|
|
804
804
|
A
|
|
805
|
-
] }), e[19] = O, e[20] =
|
|
805
|
+
] }), e[19] = O, e[20] = M, e[21] = A, e[22] = D) : D = e[22], D;
|
|
806
806
|
}
|
|
807
|
-
function
|
|
807
|
+
function oo(t) {
|
|
808
808
|
const e = T(5), {
|
|
809
809
|
children: o
|
|
810
810
|
} = t, r = Q(), {
|
|
@@ -813,7 +813,7 @@ function no(t) {
|
|
|
813
813
|
let a;
|
|
814
814
|
return e[0] !== o || e[1] !== l.layerOptions || e[2] !== i || e[3] !== n ? (a = /* @__PURE__ */ d(Oe, { 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
815
|
}
|
|
816
|
-
async function
|
|
816
|
+
async function nt(t, e) {
|
|
817
817
|
if (!t.isBusy()) {
|
|
818
818
|
t.setBusy(!0);
|
|
819
819
|
try {
|
|
@@ -823,21 +823,21 @@ async function lt(t, e) {
|
|
|
823
823
|
}
|
|
824
824
|
}
|
|
825
825
|
}
|
|
826
|
-
function
|
|
826
|
+
function no(t) {
|
|
827
827
|
const e = T(13), {
|
|
828
828
|
onZoomTo: o
|
|
829
|
-
} = t, r = N(), l = Q(), i =
|
|
829
|
+
} = t, r = N(), l = Q(), i = qe();
|
|
830
830
|
let n;
|
|
831
|
-
e[0] !== l ? (n = (
|
|
832
|
-
const a =
|
|
831
|
+
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 = U(r, n), {
|
|
833
833
|
labels: s
|
|
834
834
|
} = B();
|
|
835
835
|
if (!l || !a)
|
|
836
836
|
return null;
|
|
837
837
|
const c = i?.busy ?? !1;
|
|
838
838
|
let p;
|
|
839
|
-
e[2] !== i || e[3] !== o || e[4] !== l ? (p = (
|
|
840
|
-
|
|
839
|
+
e[2] !== i || e[3] !== o || e[4] !== l ? (p = (g) => {
|
|
840
|
+
g.stopPropagation(), i && nt(i, () => o(l.layerId));
|
|
841
841
|
}, e[2] = i, e[3] = o, e[4] = l, e[5] = p) : p = e[5];
|
|
842
842
|
const f = p;
|
|
843
843
|
let u;
|
|
@@ -845,13 +845,13 @@ function lo(t) {
|
|
|
845
845
|
mr: 1
|
|
846
846
|
} }), e[6] = c, e[7] = u) : u = e[7];
|
|
847
847
|
const y = c ? s.loading : s.zoomTo;
|
|
848
|
-
let
|
|
849
|
-
return e[8] !== c || e[9] !== f || e[10] !== u || e[11] !== y ? (
|
|
848
|
+
let h;
|
|
849
|
+
return e[8] !== c || e[9] !== f || e[10] !== u || e[11] !== y ? (h = /* @__PURE__ */ z(q, { disabled: c, onClick: f, children: [
|
|
850
850
|
u,
|
|
851
851
|
y
|
|
852
|
-
] }), e[8] = c, e[9] = f, e[10] = u, e[11] = y, e[12] =
|
|
852
|
+
] }), e[8] = c, e[9] = f, e[10] = u, e[11] = y, e[12] = h) : h = e[12], h;
|
|
853
853
|
}
|
|
854
|
-
function
|
|
854
|
+
function lo() {
|
|
855
855
|
const t = T(6), e = N(), o = Q(), {
|
|
856
856
|
labels: r
|
|
857
857
|
} = B();
|
|
@@ -868,7 +868,7 @@ function io() {
|
|
|
868
868
|
let n;
|
|
869
869
|
return t[3] !== r.showOnlyLayer || t[4] !== i ? (n = /* @__PURE__ */ d(q, { onClick: i, children: r.showOnlyLayer }), t[3] = r.showOnlyLayer, t[4] = i, t[5] = n) : n = t[5], n;
|
|
870
870
|
}
|
|
871
|
-
function
|
|
871
|
+
function io() {
|
|
872
872
|
const t = T(6), e = N(), o = ue(), r = Q(), {
|
|
873
873
|
labels: l
|
|
874
874
|
} = B();
|
|
@@ -887,7 +887,7 @@ function ro() {
|
|
|
887
887
|
let a;
|
|
888
888
|
return t[3] !== l.showAllLayers || t[4] !== n ? (a = /* @__PURE__ */ d(q, { onClick: n, children: l.showAllLayers }), t[3] = l.showAllLayers, t[4] = n, t[5] = a) : a = t[5], a;
|
|
889
889
|
}
|
|
890
|
-
function
|
|
890
|
+
function ro(t) {
|
|
891
891
|
const e = T(4), {
|
|
892
892
|
children: o
|
|
893
893
|
} = t, r = ue(), {
|
|
@@ -896,7 +896,7 @@ function so(t) {
|
|
|
896
896
|
let n;
|
|
897
897
|
return e[0] !== o || e[1] !== l.groupOptions || e[2] !== i ? (n = /* @__PURE__ */ d(Oe, { 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
898
|
}
|
|
899
|
-
function
|
|
899
|
+
function so() {
|
|
900
900
|
const t = T(6), e = N(), o = ue(), {
|
|
901
901
|
labels: r
|
|
902
902
|
} = B();
|
|
@@ -914,8 +914,8 @@ function ao() {
|
|
|
914
914
|
let n;
|
|
915
915
|
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
916
|
}
|
|
917
|
-
function
|
|
918
|
-
const t = T(5), e = N(), o =
|
|
917
|
+
function ao() {
|
|
918
|
+
const t = T(5), e = N(), o = U(e, De), {
|
|
919
919
|
labels: r
|
|
920
920
|
} = B();
|
|
921
921
|
if (!o)
|
|
@@ -932,15 +932,15 @@ function co() {
|
|
|
932
932
|
let n;
|
|
933
933
|
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
934
|
}
|
|
935
|
-
function
|
|
936
|
-
const t = T(5), e = N(), o =
|
|
935
|
+
function co() {
|
|
936
|
+
const t = T(5), e = N(), o = U(e, De), r = U(e, Me), {
|
|
937
937
|
labels: l
|
|
938
938
|
} = B();
|
|
939
939
|
if (!o)
|
|
940
940
|
return null;
|
|
941
941
|
let i;
|
|
942
942
|
t[0] !== e ? (i = () => {
|
|
943
|
-
const c = X(e).getState(), p =
|
|
943
|
+
const c = X(e).getState(), p = Me(c);
|
|
944
944
|
for (const f of xe(c))
|
|
945
945
|
c.setGroupCollapsed(f.id, !p);
|
|
946
946
|
}, t[0] = e, t[1] = i) : i = t[1];
|
|
@@ -948,21 +948,21 @@ function uo() {
|
|
|
948
948
|
let s;
|
|
949
949
|
return t[2] !== a || t[3] !== n ? (s = /* @__PURE__ */ d(q, { onClick: n, children: a }), t[2] = a, t[3] = n, t[4] = s) : s = t[4], s;
|
|
950
950
|
}
|
|
951
|
-
function
|
|
951
|
+
function uo(t) {
|
|
952
952
|
const e = T(13), {
|
|
953
953
|
onZoomTo: o
|
|
954
|
-
} = t, r = N(), l = ue(), i =
|
|
954
|
+
} = t, r = N(), l = ue(), i = qe();
|
|
955
955
|
let n;
|
|
956
|
-
e[0] !== l ? (n = (
|
|
957
|
-
const a =
|
|
956
|
+
e[0] !== l ? (n = (g) => l !== null && ke(g, l) === "hidden", e[0] = l, e[1] = n) : n = e[1];
|
|
957
|
+
const a = U(r, n), {
|
|
958
958
|
labels: s
|
|
959
959
|
} = B();
|
|
960
960
|
if (l === null || a)
|
|
961
961
|
return null;
|
|
962
962
|
const c = i?.busy ?? !1;
|
|
963
963
|
let p;
|
|
964
|
-
e[2] !== l || e[3] !== i || e[4] !== o ? (p = (
|
|
965
|
-
|
|
964
|
+
e[2] !== l || e[3] !== i || e[4] !== o ? (p = (g) => {
|
|
965
|
+
g.stopPropagation(), i && nt(i, () => o(l));
|
|
966
966
|
}, e[2] = l, e[3] = i, e[4] = o, e[5] = p) : p = e[5];
|
|
967
967
|
const f = p;
|
|
968
968
|
let u;
|
|
@@ -970,13 +970,13 @@ function po(t) {
|
|
|
970
970
|
mr: 1
|
|
971
971
|
} }), e[6] = c, e[7] = u) : u = e[7];
|
|
972
972
|
const y = c ? s.loading : s.zoomToGroup;
|
|
973
|
-
let
|
|
974
|
-
return e[8] !== c || e[9] !== f || e[10] !== u || e[11] !== y ? (
|
|
973
|
+
let h;
|
|
974
|
+
return e[8] !== c || e[9] !== f || e[10] !== u || e[11] !== y ? (h = /* @__PURE__ */ z(q, { disabled: c, onClick: f, children: [
|
|
975
975
|
u,
|
|
976
976
|
y
|
|
977
|
-
] }), e[8] = c, e[9] = f, e[10] = u, e[11] = y, e[12] =
|
|
977
|
+
] }), e[8] = c, e[9] = f, e[10] = u, e[11] = y, e[12] = h) : h = e[12], h;
|
|
978
978
|
}
|
|
979
|
-
function
|
|
979
|
+
function po(t) {
|
|
980
980
|
const e = T(3), {
|
|
981
981
|
children: o
|
|
982
982
|
} = t, {
|
|
@@ -1044,25 +1044,25 @@ const ee = {
|
|
|
1044
1044
|
marginY: 1
|
|
1045
1045
|
}
|
|
1046
1046
|
};
|
|
1047
|
-
function
|
|
1047
|
+
function fo(t, e) {
|
|
1048
1048
|
return Ee(X(t).getState());
|
|
1049
1049
|
}
|
|
1050
|
-
function
|
|
1050
|
+
function ho() {
|
|
1051
1051
|
const t = T(33), e = N(), [o, r] = J(null);
|
|
1052
|
-
|
|
1053
|
-
const l =
|
|
1052
|
+
U(e, mo);
|
|
1053
|
+
const l = fo(e), i = Z(e, yo), {
|
|
1054
1054
|
labels: n
|
|
1055
|
-
} = B(), a = l.reduce(
|
|
1055
|
+
} = B(), a = l.reduce(go, 0), s = !!o && a > 0;
|
|
1056
1056
|
let c;
|
|
1057
1057
|
t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (c = (G) => r(G.currentTarget), t[0] = c) : c = t[0];
|
|
1058
1058
|
const p = c;
|
|
1059
1059
|
let f;
|
|
1060
1060
|
t[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (f = () => r(null), t[1] = f) : f = t[1];
|
|
1061
|
-
const u = f, y = s ? "active" : void 0,
|
|
1062
|
-
let
|
|
1063
|
-
t[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1061
|
+
const u = f, y = s ? "active" : void 0, h = a === 0;
|
|
1062
|
+
let g;
|
|
1063
|
+
t[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (g = /* @__PURE__ */ d(Mt, { fontSize: "small" }), t[2] = g) : g = t[2];
|
|
1064
1064
|
let v;
|
|
1065
|
-
t[3] !== n.enabledLayers || t[4] !== s || t[5] !== y || t[6] !==
|
|
1065
|
+
t[3] !== n.enabledLayers || t[4] !== s || t[5] !== y || t[6] !== h ? (v = /* @__PURE__ */ d(P, { component: "span", sx: ee.triggerWrap, children: /* @__PURE__ */ d(ve, { 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] = v) : v = t[7];
|
|
1066
1066
|
let b;
|
|
1067
1067
|
t[8] !== n.toggleEnabledLayers || t[9] !== v ? (b = /* @__PURE__ */ d(ie, { title: n.toggleEnabledLayers, children: v }), t[8] = n.toggleEnabledLayers, t[9] = v, t[10] = b) : b = t[10];
|
|
1068
1068
|
const C = $e;
|
|
@@ -1082,45 +1082,45 @@ function go() {
|
|
|
1082
1082
|
let S;
|
|
1083
1083
|
t[15] !== I ? (S = /* @__PURE__ */ d(E, { component: "div", variant: "caption", color: "text.primary", sx: ee.stickyHeader, children: I }), t[15] = I, t[16] = S) : S = t[16];
|
|
1084
1084
|
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:
|
|
1087
|
-
/* @__PURE__ */ d(ie, { title: n.hideLayer, children: /* @__PURE__ */ d(
|
|
1088
|
-
] },
|
|
1085
|
+
t[17] !== n.hideLayer || t[18] !== i ? (O = (G, m) => [m > 0 ? /* @__PURE__ */ d(Ct, { 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((M) => /* @__PURE__ */ z(q, { disableRipple: !0, sx: ee.item, onClick: () => i(M.id, !1), children: [
|
|
1086
|
+
/* @__PURE__ */ d(E, { variant: "body2", sx: ee.itemName, children: M.name }),
|
|
1087
|
+
/* @__PURE__ */ d(ie, { title: n.hideLayer, children: /* @__PURE__ */ d(Be, { sx: ee.eye }) })
|
|
1088
|
+
] }, M.id))], t[17] = n.hideLayer, t[18] = i, t[19] = O) : O = t[19];
|
|
1089
1089
|
const k = l.flatMap(O);
|
|
1090
1090
|
let $;
|
|
1091
|
-
t[20] !== C || t[21] !== o || t[22] !== u || t[23] !== s || t[24] !== S || t[25] !== k || t[26] !== L || t[27] !== w || t[28] !== x ? ($ = /* @__PURE__ */
|
|
1091
|
+
t[20] !== C || t[21] !== o || t[22] !== u || t[23] !== s || t[24] !== S || t[25] !== k || t[26] !== L || t[27] !== w || t[28] !== x ? ($ = /* @__PURE__ */ z(C, { anchorEl: o, open: s, onClose: u, TransitionProps: L, MenuListProps: w, slotProps: x, children: [
|
|
1092
1092
|
S,
|
|
1093
1093
|
k
|
|
1094
1094
|
] }), t[20] = C, t[21] = o, t[22] = u, t[23] = s, t[24] = S, t[25] = k, t[26] = L, t[27] = w, t[28] = x, t[29] = $) : $ = t[29];
|
|
1095
1095
|
let _;
|
|
1096
|
-
return t[30] !== $ || t[31] !== b ? (_ = /* @__PURE__ */
|
|
1096
|
+
return t[30] !== $ || t[31] !== b ? (_ = /* @__PURE__ */ z(he, { children: [
|
|
1097
1097
|
b,
|
|
1098
1098
|
$
|
|
1099
1099
|
] }), t[30] = $, t[31] = b, t[32] = _) : _ = t[32], _;
|
|
1100
1100
|
}
|
|
1101
|
-
function
|
|
1101
|
+
function go(t, e) {
|
|
1102
1102
|
return t + e.layers.length;
|
|
1103
1103
|
}
|
|
1104
|
-
function
|
|
1104
|
+
function yo(t) {
|
|
1105
1105
|
return t.setVisibility;
|
|
1106
1106
|
}
|
|
1107
|
-
function
|
|
1108
|
-
return Ee(t).map(
|
|
1107
|
+
function mo(t) {
|
|
1108
|
+
return Ee(t).map(bo).join("|");
|
|
1109
1109
|
}
|
|
1110
|
-
function
|
|
1110
|
+
function bo(t) {
|
|
1111
1111
|
const {
|
|
1112
1112
|
group: e,
|
|
1113
1113
|
layers: o
|
|
1114
1114
|
} = t;
|
|
1115
|
-
return `${e?.id ?? ""}${e?.label ?? ""}:${o.map(
|
|
1115
|
+
return `${e?.id ?? ""}${e?.label ?? ""}:${o.map(xo).join(",")}`;
|
|
1116
1116
|
}
|
|
1117
|
-
function
|
|
1117
|
+
function xo(t) {
|
|
1118
1118
|
return `${t.id}${t.name}`;
|
|
1119
1119
|
}
|
|
1120
|
-
function
|
|
1120
|
+
function vo(t) {
|
|
1121
1121
|
const e = T(27), {
|
|
1122
1122
|
children: o
|
|
1123
|
-
} = t, r = N(), [l, i] = J(null), n = Te(void 0), a = Z(r,
|
|
1123
|
+
} = t, r = N(), [l, i] = J(null), n = Te(void 0), a = Z(r, Lo);
|
|
1124
1124
|
let s;
|
|
1125
1125
|
e[0] !== r ? (s = (k, $) => {
|
|
1126
1126
|
const _ = de(k), G = de($);
|
|
@@ -1134,14 +1134,14 @@ function Lo(t) {
|
|
|
1134
1134
|
} = $, {
|
|
1135
1135
|
active: G,
|
|
1136
1136
|
collisionRect: m,
|
|
1137
|
-
droppableRects:
|
|
1137
|
+
droppableRects: M,
|
|
1138
1138
|
droppableContainers: A
|
|
1139
1139
|
} = _;
|
|
1140
1140
|
if (!G || !m || k.code !== "ArrowDown" && k.code !== "ArrowUp")
|
|
1141
1141
|
return;
|
|
1142
1142
|
k.preventDefault();
|
|
1143
1143
|
const D = k.code === "ArrowDown", W = A.getEnabled().filter((R) => R.id !== G.id && c(String(G.id), String(R.id))).flatMap((R) => {
|
|
1144
|
-
const H =
|
|
1144
|
+
const H = M.get(R.id);
|
|
1145
1145
|
return H ? [H] : [];
|
|
1146
1146
|
}).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
1147
|
return W ? {
|
|
@@ -1154,16 +1154,16 @@ function Lo(t) {
|
|
|
1154
1154
|
e[4] !== f ? (u = {
|
|
1155
1155
|
coordinateGetter: f
|
|
1156
1156
|
}, e[4] = f, e[5] = u) : u = e[5];
|
|
1157
|
-
const y =
|
|
1158
|
-
let
|
|
1159
|
-
e[6] !== c ? (
|
|
1157
|
+
const y = Et(Pe(Ht), Pe(Rt, u));
|
|
1158
|
+
let h;
|
|
1159
|
+
e[6] !== c ? (h = (k) => {
|
|
1160
1160
|
const $ = k.droppableContainers.filter((_) => c(String(k.active.id), String(_.id)));
|
|
1161
|
-
return
|
|
1161
|
+
return Bt({
|
|
1162
1162
|
...k,
|
|
1163
1163
|
droppableContainers: $
|
|
1164
1164
|
});
|
|
1165
|
-
}, e[6] = c, e[7] =
|
|
1166
|
-
const
|
|
1165
|
+
}, e[6] = c, e[7] = h) : h = e[7];
|
|
1166
|
+
const g = h;
|
|
1167
1167
|
let v;
|
|
1168
1168
|
e[8] !== r ? (v = (k) => {
|
|
1169
1169
|
const $ = String(k.active.id);
|
|
@@ -1184,64 +1184,67 @@ function Lo(t) {
|
|
|
1184
1184
|
const G = de(String($.id)), m = de(String(_.id));
|
|
1185
1185
|
if (!G || G.kind !== m?.kind)
|
|
1186
1186
|
return;
|
|
1187
|
-
const
|
|
1187
|
+
const M = X(r).getState();
|
|
1188
1188
|
if (G.kind === "group") {
|
|
1189
|
-
const R = xe(
|
|
1190
|
-
R !== -1 &&
|
|
1189
|
+
const R = xe(M).findIndex((H) => H.id === m.id);
|
|
1190
|
+
R !== -1 && M.moveGroup(G.id, R);
|
|
1191
1191
|
return;
|
|
1192
1192
|
}
|
|
1193
|
-
const A =
|
|
1193
|
+
const A = M.layers[G.id], D = M.layers[m.id];
|
|
1194
1194
|
if (!A || !D || A.groupId !== D.groupId)
|
|
1195
1195
|
return;
|
|
1196
|
-
const W = re(
|
|
1197
|
-
W !== -1 &&
|
|
1196
|
+
const W = re(M, A.groupId).findIndex((R) => R.id === m.id);
|
|
1197
|
+
W !== -1 && M.moveLayer(G.id, W);
|
|
1198
1198
|
}, e[10] = r, e[11] = C) : C = e[11];
|
|
1199
1199
|
const L = C;
|
|
1200
1200
|
let w;
|
|
1201
1201
|
e[12] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (w = () => i(null), e[12] = w) : w = e[12];
|
|
1202
1202
|
let x;
|
|
1203
|
-
e[13] !== o || e[14] !== a ? (x = /* @__PURE__ */ d(
|
|
1203
|
+
e[13] !== o || e[14] !== a ? (x = /* @__PURE__ */ d(We, { items: a, strategy: Ne, children: o }), e[13] = o, e[14] = a, e[15] = x) : x = e[15];
|
|
1204
1204
|
let I;
|
|
1205
|
-
e[16] !== l ? (I = l && /* @__PURE__ */ d(
|
|
1205
|
+
e[16] !== l ? (I = l && /* @__PURE__ */ d(wo, { activeId: l }), e[16] = l, e[17] = I) : I = e[17];
|
|
1206
1206
|
let S;
|
|
1207
|
-
e[18] !== I ? (S = /* @__PURE__ */ d(
|
|
1207
|
+
e[18] !== I ? (S = /* @__PURE__ */ d(Wt, { children: I }), e[18] = I, e[19] = S) : S = e[19];
|
|
1208
1208
|
let O;
|
|
1209
|
-
return e[20] !==
|
|
1209
|
+
return e[20] !== g || e[21] !== L || e[22] !== b || e[23] !== y || e[24] !== S || e[25] !== x ? (O = /* @__PURE__ */ d(Je.Provider, { value: !0, children: /* @__PURE__ */ z(Vt, { sensors: y, collisionDetection: g, onDragStart: b, onDragEnd: L, onDragCancel: w, children: [
|
|
1210
1210
|
x,
|
|
1211
1211
|
S
|
|
1212
|
-
] }) }), e[20] =
|
|
1212
|
+
] }) }), e[20] = g, e[21] = L, e[22] = b, e[23] = y, e[24] = S, e[25] = x, e[26] = O) : O = e[26], O;
|
|
1213
1213
|
}
|
|
1214
|
-
function
|
|
1215
|
-
return [...xe(t).map(
|
|
1214
|
+
function Lo(t) {
|
|
1215
|
+
return [...xe(t).map(Co), ...re(t, void 0).map(So)];
|
|
1216
1216
|
}
|
|
1217
|
-
function
|
|
1217
|
+
function So(t) {
|
|
1218
1218
|
return Se("layer", t.id);
|
|
1219
1219
|
}
|
|
1220
|
-
function
|
|
1220
|
+
function Co(t) {
|
|
1221
1221
|
return Se("group", t.id);
|
|
1222
1222
|
}
|
|
1223
|
-
function
|
|
1224
|
-
const e = T(
|
|
1223
|
+
function wo(t) {
|
|
1224
|
+
const e = T(15), {
|
|
1225
1225
|
activeId: o
|
|
1226
1226
|
} = t, r = N();
|
|
1227
1227
|
let l;
|
|
1228
1228
|
e[0] !== o ? (l = de(o), e[0] = o, e[1] = l) : l = e[1];
|
|
1229
1229
|
const i = l;
|
|
1230
1230
|
let n;
|
|
1231
|
-
e[2] !== i ? (n = (
|
|
1232
|
-
const a =
|
|
1231
|
+
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 = U(r, n);
|
|
1233
|
+
let s;
|
|
1234
|
+
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 = U(r, s);
|
|
1233
1236
|
if (!i || a === void 0)
|
|
1234
1237
|
return null;
|
|
1235
|
-
let s;
|
|
1236
|
-
e[4] !== i.kind ? (s = i.kind === "group" && /* @__PURE__ */ d(M, { sx: le.overlayIcon, children: /* @__PURE__ */ d(Ve, { fontSize: "small" }) }), e[4] = i.kind, e[5] = s) : s = e[5];
|
|
1237
|
-
const c = i.kind === "group" ? "bold" : void 0;
|
|
1238
1238
|
let p;
|
|
1239
|
-
e[6] !==
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1239
|
+
e[6] !== c || e[7] !== i.kind ? (p = i.kind === "group" && c != null && /* @__PURE__ */ d(P, { sx: le.overlayIcon, children: c }), e[6] = c, e[7] = i.kind, e[8] = p) : p = e[8];
|
|
1240
|
+
const f = i.kind === "group" ? "bold" : void 0;
|
|
1241
|
+
let u;
|
|
1242
|
+
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
|
+
let y;
|
|
1244
|
+
return e[12] !== p || e[13] !== u ? (y = /* @__PURE__ */ z(P, { sx: le.overlay, children: [
|
|
1245
|
+
p,
|
|
1246
|
+
u
|
|
1247
|
+
] }), e[12] = p, e[13] = u, e[14] = y) : y = e[14], y;
|
|
1245
1248
|
}
|
|
1246
1249
|
const pe = {
|
|
1247
1250
|
// Figma "Legend Opacity": a soft rounded bar between the row header and the
|
|
@@ -1273,12 +1276,12 @@ const pe = {
|
|
|
1273
1276
|
textAlign: "right"
|
|
1274
1277
|
}
|
|
1275
1278
|
}
|
|
1276
|
-
},
|
|
1277
|
-
function
|
|
1279
|
+
}, ze = (t) => Math.min(100, Math.max(0, Math.round(t)));
|
|
1280
|
+
function Io() {
|
|
1278
1281
|
const t = T(10), e = N(), o = Q();
|
|
1279
1282
|
let r;
|
|
1280
1283
|
t[0] !== o ? (r = (p) => o ? p.layers[o.layerId] : void 0, t[0] = o, t[1] = r) : r = t[1];
|
|
1281
|
-
const l = Z(e, r), i = Z(e,
|
|
1284
|
+
const l = Z(e, r), i = Z(e, ko), {
|
|
1282
1285
|
labels: n
|
|
1283
1286
|
} = B();
|
|
1284
1287
|
if (!o || !l?.visible || !l.opacityControl)
|
|
@@ -1292,37 +1295,37 @@ function ko() {
|
|
|
1292
1295
|
let c;
|
|
1293
1296
|
return t[6] !== n.opacity || t[7] !== o.opacityOpen || t[8] !== s ? (c = /* @__PURE__ */ d(q, { selected: o.opacityOpen, onClick: s, children: n.opacity }), t[6] = n.opacity, t[7] = o.opacityOpen, t[8] = s, t[9] = c) : c = t[9], c;
|
|
1294
1297
|
}
|
|
1295
|
-
function
|
|
1298
|
+
function ko(t) {
|
|
1296
1299
|
return t.setCollapsed;
|
|
1297
1300
|
}
|
|
1298
|
-
function
|
|
1301
|
+
function $o() {
|
|
1299
1302
|
const t = T(47), e = N(), o = Q(), r = o?.layerId;
|
|
1300
1303
|
let l;
|
|
1301
1304
|
t[0] !== r ? (l = (H) => r ? H.layers[r]?.opacity ?? 1 : 1, t[0] = r, t[1] = l) : l = t[1];
|
|
1302
|
-
const i =
|
|
1305
|
+
const i = U(e, l), n = U(e, _o), {
|
|
1303
1306
|
labels: a
|
|
1304
1307
|
} = B(), [s, c] = J(null), [p, f] = J(null);
|
|
1305
1308
|
if (!o || !r || !o.opacityOpen)
|
|
1306
1309
|
return null;
|
|
1307
1310
|
let u;
|
|
1308
|
-
t[2] !== s || t[3] !== i ? (u = s ??
|
|
1311
|
+
t[2] !== s || t[3] !== i ? (u = s ?? ze(i * 100), t[2] = s, t[3] = i, t[4] = u) : u = t[4];
|
|
1309
1312
|
const y = u;
|
|
1310
|
-
let
|
|
1311
|
-
t[5] !== r || t[6] !== n ? (
|
|
1312
|
-
const F =
|
|
1313
|
+
let h;
|
|
1314
|
+
t[5] !== r || t[6] !== n ? (h = (H) => {
|
|
1315
|
+
const F = ze(H);
|
|
1313
1316
|
return n(r, F / 100), F;
|
|
1314
|
-
}, t[5] = r, t[6] = n, t[7] =
|
|
1315
|
-
const
|
|
1317
|
+
}, t[5] = r, t[6] = n, t[7] = h) : h = t[7];
|
|
1318
|
+
const g = h;
|
|
1316
1319
|
let v;
|
|
1317
|
-
t[8] !==
|
|
1320
|
+
t[8] !== g ? (v = (H) => {
|
|
1318
1321
|
if (f(H), H.trim() === "")
|
|
1319
1322
|
return;
|
|
1320
1323
|
const F = Number(H);
|
|
1321
1324
|
if (!Number.isFinite(F))
|
|
1322
1325
|
return;
|
|
1323
|
-
const se =
|
|
1326
|
+
const se = g(F);
|
|
1324
1327
|
se !== F && f(String(se));
|
|
1325
|
-
}, t[8] =
|
|
1328
|
+
}, t[8] = g, t[9] = v) : v = t[9];
|
|
1326
1329
|
const b = v;
|
|
1327
1330
|
let C;
|
|
1328
1331
|
t[10] !== o ? (C = () => {
|
|
@@ -1338,7 +1341,7 @@ function Oo() {
|
|
|
1338
1341
|
let S;
|
|
1339
1342
|
t[18] !== a.close || t[19] !== I ? (S = /* @__PURE__ */ d(ie, { title: a.close, children: I }), t[18] = a.close, t[19] = I, t[20] = S) : S = t[20];
|
|
1340
1343
|
let O;
|
|
1341
|
-
t[21] !== w || t[22] !== S ? (O = /* @__PURE__ */ P
|
|
1344
|
+
t[21] !== w || t[22] !== S ? (O = /* @__PURE__ */ z(P, { sx: pe.inlineHeader, children: [
|
|
1342
1345
|
w,
|
|
1343
1346
|
S
|
|
1344
1347
|
] }), t[21] = w, t[22] = S, t[23] = O) : O = t[23];
|
|
@@ -1347,45 +1350,45 @@ function Oo() {
|
|
|
1347
1350
|
c(F), f(null);
|
|
1348
1351
|
}, t[24] = k) : k = t[24];
|
|
1349
1352
|
let $;
|
|
1350
|
-
t[25] !==
|
|
1351
|
-
|
|
1352
|
-
}, t[25] =
|
|
1353
|
+
t[25] !== g ? ($ = (H, F) => {
|
|
1354
|
+
g(F), c(null);
|
|
1355
|
+
}, t[25] = g, t[26] = $) : $ = t[26];
|
|
1353
1356
|
let _;
|
|
1354
|
-
t[27] !== a.opacity || t[28] !== y || t[29] !== $ ? (_ = /* @__PURE__ */ d(
|
|
1357
|
+
t[27] !== a.opacity || t[28] !== y || t[29] !== $ ? (_ = /* @__PURE__ */ d(wt, { 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];
|
|
1355
1358
|
const G = p ?? String(y);
|
|
1356
1359
|
let m;
|
|
1357
1360
|
t[31] !== b ? (m = (H) => b(H.target.value), t[31] = b, t[32] = m) : m = t[32];
|
|
1358
|
-
let
|
|
1359
|
-
t[33] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1361
|
+
let M;
|
|
1362
|
+
t[33] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (M = () => f(null), t[33] = M) : M = t[33];
|
|
1360
1363
|
let A;
|
|
1361
|
-
t[34] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (A = /* @__PURE__ */ d(
|
|
1364
|
+
t[34] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (A = /* @__PURE__ */ d(It, { position: "end", children: "%" }), t[34] = A) : A = t[34];
|
|
1362
1365
|
let D;
|
|
1363
1366
|
t[35] !== a.opacity ? (D = {
|
|
1364
1367
|
inputMode: "numeric",
|
|
1365
1368
|
"aria-label": a.opacity
|
|
1366
1369
|
}, t[35] = a.opacity, t[36] = D) : D = t[36];
|
|
1367
1370
|
let V;
|
|
1368
|
-
t[37] !== G || t[38] !== m || t[39] !== D ? (V = /* @__PURE__ */ d(
|
|
1371
|
+
t[37] !== G || t[38] !== m || t[39] !== D ? (V = /* @__PURE__ */ d(kt, { size: "small", value: G, onChange: m, onBlur: M, onKeyDown: Oo, endAdornment: A, inputProps: D, sx: pe.input }), t[37] = G, t[38] = m, t[39] = D, t[40] = V) : V = t[40];
|
|
1369
1372
|
let W;
|
|
1370
|
-
t[41] !== _ || t[42] !== V ? (W = /* @__PURE__ */ P
|
|
1373
|
+
t[41] !== _ || t[42] !== V ? (W = /* @__PURE__ */ z(P, { sx: pe.inlineControls, children: [
|
|
1371
1374
|
_,
|
|
1372
1375
|
V
|
|
1373
1376
|
] }), t[41] = _, t[42] = V, t[43] = W) : W = t[43];
|
|
1374
1377
|
let R;
|
|
1375
|
-
return t[44] !== W || t[45] !== O ? (R = /* @__PURE__ */ P
|
|
1378
|
+
return t[44] !== W || t[45] !== O ? (R = /* @__PURE__ */ z(P, { sx: pe.inline, children: [
|
|
1376
1379
|
O,
|
|
1377
1380
|
W
|
|
1378
1381
|
] }), t[44] = W, t[45] = O, t[46] = R) : R = t[46], R;
|
|
1379
1382
|
}
|
|
1380
|
-
function
|
|
1383
|
+
function Oo(t) {
|
|
1381
1384
|
t.key === "Enter" && t.target.blur();
|
|
1382
1385
|
}
|
|
1383
|
-
function
|
|
1386
|
+
function _o(t) {
|
|
1384
1387
|
return t.setOpacity;
|
|
1385
1388
|
}
|
|
1386
|
-
const
|
|
1387
|
-
Item:
|
|
1388
|
-
Inline:
|
|
1389
|
+
const Go = {
|
|
1390
|
+
Item: Io,
|
|
1391
|
+
Inline: $o
|
|
1389
1392
|
}, ne = {
|
|
1390
1393
|
// Outlined-input look-alike trigger (the design's select has no floating
|
|
1391
1394
|
// label — just the value + chevron in a 32px bordered field).
|
|
@@ -1450,20 +1453,20 @@ function Mo() {
|
|
|
1450
1453
|
const f = i[0].active, u = i.length > 1;
|
|
1451
1454
|
let y;
|
|
1452
1455
|
t[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (y = (O) => c(O.currentTarget), t[2] = y) : y = t[2];
|
|
1453
|
-
let g;
|
|
1454
|
-
t[3] !== f ? (g = /* @__PURE__ */ d(E, { variant: "body2", sx: ne.value, children: f }), t[3] = f, t[4] = g) : g = t[4];
|
|
1455
1456
|
let h;
|
|
1456
|
-
t[
|
|
1457
|
+
t[3] !== f ? (h = /* @__PURE__ */ d(E, { variant: "body2", sx: ne.value, children: f }), t[3] = f, t[4] = h) : h = t[4];
|
|
1458
|
+
let g;
|
|
1459
|
+
t[5] !== p ? (g = p ? {
|
|
1457
1460
|
...ne.chevron,
|
|
1458
1461
|
...ne.chevronOpen
|
|
1459
|
-
} : ne.chevron, t[5] = p, t[6] =
|
|
1462
|
+
} : ne.chevron, t[5] = p, t[6] = g) : g = t[6];
|
|
1460
1463
|
let v;
|
|
1461
|
-
t[7] !==
|
|
1464
|
+
t[7] !== g ? (v = /* @__PURE__ */ d(zt, { fontSize: "small", sx: g }), t[7] = g, t[8] = v) : v = t[8];
|
|
1462
1465
|
let b;
|
|
1463
|
-
t[9] !== a.attribute || t[10] !== p || t[11] !==
|
|
1464
|
-
|
|
1466
|
+
t[9] !== a.attribute || t[10] !== p || t[11] !== h || t[12] !== v ? (b = /* @__PURE__ */ z($t, { sx: ne.trigger, onClick: y, "aria-label": a.attribute, "aria-haspopup": "listbox", "aria-expanded": p, children: [
|
|
1467
|
+
h,
|
|
1465
1468
|
v
|
|
1466
|
-
] }), t[9] = a.attribute, t[10] = p, t[11] =
|
|
1469
|
+
] }), t[9] = a.attribute, t[10] = p, t[11] = h, t[12] = v, t[13] = b) : b = t[13];
|
|
1467
1470
|
let C;
|
|
1468
1471
|
t[14] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (C = () => c(null), t[14] = C) : C = t[14];
|
|
1469
1472
|
const L = s?.clientWidth;
|
|
@@ -1486,7 +1489,7 @@ function Mo() {
|
|
|
1486
1489
|
let I;
|
|
1487
1490
|
t[26] !== s || t[27] !== p || t[28] !== w || t[29] !== x ? (I = /* @__PURE__ */ d($e, { anchorEl: s, open: p, onClose: C, slotProps: w, children: x }), t[26] = s, t[27] = p, t[28] = w, t[29] = x, t[30] = I) : I = t[30];
|
|
1488
1491
|
let S;
|
|
1489
|
-
return t[31] !== I || t[32] !== b ? (S = /* @__PURE__ */
|
|
1492
|
+
return t[31] !== I || t[32] !== b ? (S = /* @__PURE__ */ z(he, { children: [
|
|
1490
1493
|
b,
|
|
1491
1494
|
I
|
|
1492
1495
|
] }), t[31] = I, t[32] = b, t[33] = S) : S = t[33], S;
|
|
@@ -1554,8 +1557,8 @@ const te = {
|
|
|
1554
1557
|
overflow: "visible",
|
|
1555
1558
|
textOverflow: "clip"
|
|
1556
1559
|
}
|
|
1557
|
-
}, _e = 12, ye = 1.5,
|
|
1558
|
-
function
|
|
1560
|
+
}, _e = 12, ye = 1.5, lt = 2, zo = 1;
|
|
1561
|
+
function Ao(t) {
|
|
1559
1562
|
switch (t) {
|
|
1560
1563
|
case "dashed":
|
|
1561
1564
|
return {
|
|
@@ -1572,7 +1575,7 @@ function To(t) {
|
|
|
1572
1575
|
return {};
|
|
1573
1576
|
}
|
|
1574
1577
|
}
|
|
1575
|
-
function
|
|
1578
|
+
function To(t) {
|
|
1576
1579
|
switch (t) {
|
|
1577
1580
|
case "dashed":
|
|
1578
1581
|
return {
|
|
@@ -1580,7 +1583,7 @@ function Do(t) {
|
|
|
1580
1583
|
};
|
|
1581
1584
|
case "dotted":
|
|
1582
1585
|
return {
|
|
1583
|
-
dash: `0.1 ${
|
|
1586
|
+
dash: `0.1 ${lt * 2}`,
|
|
1584
1587
|
round: !0
|
|
1585
1588
|
};
|
|
1586
1589
|
case "dash-dot":
|
|
@@ -1593,7 +1596,7 @@ function Do(t) {
|
|
|
1593
1596
|
return {};
|
|
1594
1597
|
}
|
|
1595
1598
|
}
|
|
1596
|
-
function
|
|
1599
|
+
function Do(t, e) {
|
|
1597
1600
|
const o = (r) => /* @__PURE__ */ d("path", { d: r, stroke: e, strokeWidth: 1.2, fill: "none" });
|
|
1598
1601
|
switch (t) {
|
|
1599
1602
|
case "horizontal":
|
|
@@ -1635,7 +1638,7 @@ function Eo(t, e) {
|
|
|
1635
1638
|
return null;
|
|
1636
1639
|
}
|
|
1637
1640
|
}
|
|
1638
|
-
function
|
|
1641
|
+
function it(t) {
|
|
1639
1642
|
const e = T(46), {
|
|
1640
1643
|
shape: o,
|
|
1641
1644
|
color: r,
|
|
@@ -1643,10 +1646,10 @@ function rt(t) {
|
|
|
1643
1646
|
fillPattern: i,
|
|
1644
1647
|
strokeStyle: n,
|
|
1645
1648
|
size: a
|
|
1646
|
-
} = 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 ? _e : a, y =
|
|
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 ? _e : a, y = ht();
|
|
1647
1650
|
if (s === "line") {
|
|
1648
1651
|
let V;
|
|
1649
|
-
e[0] !== f ? (V =
|
|
1652
|
+
e[0] !== f ? (V = To(f), e[0] = f, e[1] = V) : V = e[1];
|
|
1650
1653
|
const {
|
|
1651
1654
|
dash: W,
|
|
1652
1655
|
round: R
|
|
@@ -1658,23 +1661,23 @@ function rt(t) {
|
|
|
1658
1661
|
}, e[2] = F) : F = e[2];
|
|
1659
1662
|
const se = u / 2, Ce = u / 2, we = R ? "round" : "butt";
|
|
1660
1663
|
let ae;
|
|
1661
|
-
e[3] !== r || e[4] !== W || e[5] !== u || e[6] !== Ce || e[7] !== we || e[8] !== se ? (ae = /* @__PURE__ */ d("line", { x1: 0, y1: se, x2: u, y2: Ce, stroke: r, strokeWidth:
|
|
1664
|
+
e[3] !== r || e[4] !== W || e[5] !== u || e[6] !== Ce || e[7] !== we || e[8] !== se ? (ae = /* @__PURE__ */ d("line", { x1: 0, y1: se, x2: u, y2: Ce, stroke: r, strokeWidth: lt, strokeDasharray: W, strokeLinecap: we }), e[3] = r, e[4] = W, e[5] = u, e[6] = Ce, e[7] = we, e[8] = se, e[9] = ae) : ae = e[9];
|
|
1662
1665
|
let Le;
|
|
1663
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: F, children: ae }), e[10] = u, e[11] = ae, e[12] = H, e[13] = Le) : Le = e[13], Le;
|
|
1664
1667
|
}
|
|
1665
|
-
const
|
|
1668
|
+
const h = c ? ye / 2 : 0, g = !c && p !== "solid";
|
|
1666
1669
|
let v;
|
|
1667
|
-
e[14] !== r || e[15] !== p || e[16] !==
|
|
1670
|
+
e[14] !== r || e[15] !== p || e[16] !== g ? (v = g ? Do(p, r) : null, e[14] = r, e[15] = p, e[16] = g, e[17] = v) : v = e[17];
|
|
1668
1671
|
const b = v, C = c && f === "corners" && s === "square";
|
|
1669
1672
|
let L;
|
|
1670
|
-
e[18] !== c || e[19] !== f ? (L = c ?
|
|
1673
|
+
e[18] !== c || e[19] !== f ? (L = c ? Ao(f) : {
|
|
1671
1674
|
dash: void 0,
|
|
1672
1675
|
round: !1
|
|
1673
1676
|
}, e[18] = c, e[19] = f, e[20] = L) : L = e[20];
|
|
1674
1677
|
const {
|
|
1675
1678
|
dash: w,
|
|
1676
1679
|
round: x
|
|
1677
|
-
} = L, I = c ? ye :
|
|
1680
|
+
} = L, I = c ? ye : zo, S = c ? w : void 0, O = x ? "round" : "butt";
|
|
1678
1681
|
let k;
|
|
1679
1682
|
e[21] !== r || e[22] !== O || e[23] !== I || e[24] !== S ? (k = {
|
|
1680
1683
|
stroke: r,
|
|
@@ -1682,22 +1685,22 @@ function rt(t) {
|
|
|
1682
1685
|
strokeDasharray: S,
|
|
1683
1686
|
strokeLinecap: O
|
|
1684
1687
|
}, e[21] = r, e[22] = O, e[23] = I, e[24] = S, e[25] = k) : k = e[25];
|
|
1685
|
-
const $ = k, _ = c ? "none" :
|
|
1688
|
+
const $ = k, _ = c ? "none" : g ? `url(#${y})` : r, G = `0 0 ${u} ${u}`;
|
|
1686
1689
|
let m;
|
|
1687
1690
|
e[26] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (m = {
|
|
1688
1691
|
display: "block"
|
|
1689
1692
|
}, e[26] = m) : m = e[26];
|
|
1690
|
-
let
|
|
1691
|
-
e[27] !== y || e[28] !== b ? (
|
|
1693
|
+
let M;
|
|
1694
|
+
e[27] !== y || e[28] !== b ? (M = 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] = M) : M = e[29];
|
|
1692
1695
|
let A;
|
|
1693
|
-
e[30] !== r || e[31] !== $ || e[32] !== _ || e[33] !==
|
|
1696
|
+
e[30] !== r || e[31] !== $ || e[32] !== _ || e[33] !== h || e[34] !== C || e[35] !== c || e[36] !== s || e[37] !== u || e[38] !== g ? (A = C ? /* @__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] = C, e[35] = c, e[36] = s, e[37] = u, e[38] = g, e[39] = A) : A = e[39];
|
|
1694
1697
|
let D;
|
|
1695
|
-
return e[40] !== s || e[41] !== u || e[42] !== G || e[43] !==
|
|
1696
|
-
|
|
1698
|
+
return e[40] !== s || e[41] !== u || e[42] !== G || e[43] !== M || e[44] !== A ? (D = /* @__PURE__ */ z("svg", { width: u, height: u, viewBox: G, "aria-hidden": !0, "data-shape": s, style: m, children: [
|
|
1699
|
+
M,
|
|
1697
1700
|
A
|
|
1698
|
-
] }), e[40] = s, e[41] = u, e[42] = G, e[43] =
|
|
1701
|
+
] }), e[40] = s, e[41] = u, e[42] = G, e[43] = M, e[44] = A, e[45] = D) : D = e[45], D;
|
|
1699
1702
|
}
|
|
1700
|
-
function
|
|
1703
|
+
function Eo(t) {
|
|
1701
1704
|
const e = T(19), {
|
|
1702
1705
|
size: o,
|
|
1703
1706
|
color: r
|
|
@@ -1715,21 +1718,21 @@ function Ho(t) {
|
|
|
1715
1718
|
let u;
|
|
1716
1719
|
e[5] !== s || e[6] !== f ? (u = /* @__PURE__ */ d("path", { d: f, ...s }), e[5] = s, e[6] = f, e[7] = u) : u = e[7];
|
|
1717
1720
|
const y = `M${n} ${n - l} V${n} H${n - l}`;
|
|
1718
|
-
let
|
|
1719
|
-
e[8] !== s || e[9] !== y ? (
|
|
1720
|
-
const
|
|
1721
|
+
let h;
|
|
1722
|
+
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
|
+
const g = `M${i + l} ${n} H${i} V${n - l}`;
|
|
1721
1724
|
let v;
|
|
1722
|
-
e[11] !== s || e[12] !==
|
|
1725
|
+
e[11] !== s || e[12] !== g ? (v = /* @__PURE__ */ d("path", { d: g, ...s }), e[11] = s, e[12] = g, e[13] = v) : v = e[13];
|
|
1723
1726
|
let b;
|
|
1724
|
-
return e[14] !== p || e[15] !== u || e[16] !==
|
|
1727
|
+
return e[14] !== p || e[15] !== u || e[16] !== h || e[17] !== v ? (b = /* @__PURE__ */ z(he, { children: [
|
|
1725
1728
|
p,
|
|
1726
1729
|
u,
|
|
1727
|
-
|
|
1730
|
+
h,
|
|
1728
1731
|
v
|
|
1729
|
-
] }), e[14] = p, e[15] = u, e[16] =
|
|
1732
|
+
] }), e[14] = p, e[15] = u, e[16] = h, e[17] = v, e[18] = b) : b = e[18], b;
|
|
1730
1733
|
}
|
|
1731
|
-
const
|
|
1732
|
-
function
|
|
1734
|
+
const Ho = 16;
|
|
1735
|
+
function rt(t) {
|
|
1733
1736
|
const e = T(23), {
|
|
1734
1737
|
data: o
|
|
1735
1738
|
} = t, {
|
|
@@ -1739,38 +1742,38 @@ function st(t) {
|
|
|
1739
1742
|
fillPattern: n,
|
|
1740
1743
|
strokeStyle: a,
|
|
1741
1744
|
orientation: s
|
|
1742
|
-
} = 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,
|
|
1743
|
-
let
|
|
1744
|
-
e[0] !== r ? (
|
|
1745
|
-
const b = Math.max(
|
|
1745
|
+
} = 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
|
+
let g;
|
|
1747
|
+
e[0] !== r ? (g = r.reduce(Ro, 0), e[0] = r, e[1] = g) : g = e[1];
|
|
1748
|
+
const b = Math.max(Ho, g), C = h ? te.listHorizontal : null;
|
|
1746
1749
|
let L;
|
|
1747
1750
|
e[2] !== C ? (L = {
|
|
1748
1751
|
...te.list,
|
|
1749
1752
|
...C
|
|
1750
1753
|
}, e[2] = C, e[3] = L) : L = e[3];
|
|
1751
1754
|
let w;
|
|
1752
|
-
if (e[4] !== f || e[5] !== b || e[6] !==
|
|
1755
|
+
if (e[4] !== f || e[5] !== b || e[6] !== h || e[7] !== p || e[8] !== r || e[9] !== c || e[10] !== u) {
|
|
1753
1756
|
let I;
|
|
1754
|
-
e[12] !== f || e[13] !== b || e[14] !==
|
|
1757
|
+
e[12] !== f || e[13] !== b || e[14] !== h || e[15] !== p || e[16] !== c || e[17] !== u ? (I = (S, O) => /* @__PURE__ */ z(P, { sx: {
|
|
1755
1758
|
...te.item,
|
|
1756
|
-
...
|
|
1759
|
+
...h ? te.itemHorizontal : null
|
|
1757
1760
|
}, children: [
|
|
1758
|
-
/* @__PURE__ */ d(
|
|
1761
|
+
/* @__PURE__ */ d(P, { sx: {
|
|
1759
1762
|
...te.gutter,
|
|
1760
|
-
width:
|
|
1761
|
-
}, children: /* @__PURE__ */ d(
|
|
1763
|
+
width: h ? void 0 : b
|
|
1764
|
+
}, children: /* @__PURE__ */ d(it, { shape: S.shape ?? c, color: S.color, isStrokeColor: S.isStrokeColor ?? p, fillPattern: S.fillPattern ?? f, strokeStyle: S.strokeStyle ?? u, size: S.size ?? _e }) }),
|
|
1762
1765
|
/* @__PURE__ */ d(E, { variant: "caption", color: "text.primary", sx: {
|
|
1763
1766
|
...te.label,
|
|
1764
|
-
...
|
|
1767
|
+
...h ? te.labelHorizontal : null
|
|
1765
1768
|
}, children: S.label }),
|
|
1766
1769
|
S.value != null && /* @__PURE__ */ d(E, { className: "PsLegend-value", variant: "caption", color: "text.secondary", sx: te.value, children: S.value })
|
|
1767
|
-
] }, `${S.label}-${O}`), e[12] = f, e[13] = b, e[14] =
|
|
1770
|
+
] }, `${S.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], w = 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] = w;
|
|
1768
1771
|
} else
|
|
1769
1772
|
w = e[11];
|
|
1770
1773
|
let x;
|
|
1771
|
-
return e[19] !== y || e[20] !== L || e[21] !== w ? (x = /* @__PURE__ */ d(
|
|
1774
|
+
return e[19] !== y || e[20] !== L || e[21] !== w ? (x = /* @__PURE__ */ d(P, { "data-orientation": y, sx: L, children: w }), e[19] = y, e[20] = L, e[21] = w, e[22] = x) : x = e[22], x;
|
|
1772
1775
|
}
|
|
1773
|
-
function
|
|
1776
|
+
function Ro(t, e) {
|
|
1774
1777
|
return Math.max(t, e.size ?? _e);
|
|
1775
1778
|
}
|
|
1776
1779
|
const K = {
|
|
@@ -1833,7 +1836,7 @@ const K = {
|
|
|
1833
1836
|
whiteSpace: "nowrap"
|
|
1834
1837
|
}
|
|
1835
1838
|
};
|
|
1836
|
-
function
|
|
1839
|
+
function Vo(t) {
|
|
1837
1840
|
const {
|
|
1838
1841
|
avg: e,
|
|
1839
1842
|
stops: o
|
|
@@ -1844,7 +1847,7 @@ function Bo(t) {
|
|
|
1844
1847
|
const i = (e - r) / (l - r) * 100;
|
|
1845
1848
|
return Math.min(100, Math.max(0, i));
|
|
1846
1849
|
}
|
|
1847
|
-
function
|
|
1850
|
+
function st(t) {
|
|
1848
1851
|
const e = T(40), {
|
|
1849
1852
|
data: o,
|
|
1850
1853
|
labels: r
|
|
@@ -1856,68 +1859,68 @@ function at(t) {
|
|
|
1856
1859
|
formatValue: c
|
|
1857
1860
|
} = o, p = c === void 0 ? String : c;
|
|
1858
1861
|
let f;
|
|
1859
|
-
e[0] !== o ? (f =
|
|
1860
|
-
const u = f, y = n[0],
|
|
1861
|
-
let
|
|
1862
|
-
e[2] !== i ? (
|
|
1863
|
-
const v = `linear-gradient(90deg, ${
|
|
1862
|
+
e[0] !== o ? (f = Vo(o), e[0] = o, e[1] = f) : f = e[1];
|
|
1863
|
+
const u = f, y = n[0], h = n[n.length - 1];
|
|
1864
|
+
let g;
|
|
1865
|
+
e[2] !== i ? (g = i.join(", "), e[2] = i, e[3] = g) : g = e[3];
|
|
1866
|
+
const v = `linear-gradient(90deg, ${g})`, b = !a && n.length === i.length + 1, C = !a && !b;
|
|
1864
1867
|
let L;
|
|
1865
1868
|
e[4] !== n ? (L = (m) => `${n[m]?.label ?? ""} – ${n[m + 1]?.label ?? ""}`, e[4] = n, e[5] = L) : L = e[5];
|
|
1866
1869
|
const w = L;
|
|
1867
1870
|
let x;
|
|
1868
|
-
e[6] !== s || e[7] !== l ? (x = s && /* @__PURE__ */ P
|
|
1871
|
+
e[6] !== s || e[7] !== l ? (x = s && /* @__PURE__ */ z(P, { sx: K.attribute, children: [
|
|
1869
1872
|
/* @__PURE__ */ d(E, { variant: "overline", color: "text.secondary", children: l.colorBasedOn }),
|
|
1870
1873
|
/* @__PURE__ */ d(E, { variant: "caption", color: "text.primary", children: s })
|
|
1871
1874
|
] }), e[6] = s, e[7] = l, e[8] = x) : x = e[8];
|
|
1872
1875
|
const I = x;
|
|
1873
1876
|
if (C) {
|
|
1874
1877
|
let m;
|
|
1875
|
-
e[9] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (m = /* @__PURE__ */ d(
|
|
1876
|
-
const
|
|
1878
|
+
e[9] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (m = /* @__PURE__ */ d(At, { fontSize: "small" }), e[9] = m) : m = e[9];
|
|
1879
|
+
const M = `Discrete ramp needs ${i.length + 1} stops (one per color boundary) but got ${n.length}.`;
|
|
1877
1880
|
let A;
|
|
1878
|
-
e[10] !==
|
|
1881
|
+
e[10] !== M ? (A = /* @__PURE__ */ z(P, { sx: K.error, children: [
|
|
1879
1882
|
m,
|
|
1880
|
-
/* @__PURE__ */ d(E, { variant: "caption", color: "error", children:
|
|
1881
|
-
] }), e[10] =
|
|
1883
|
+
/* @__PURE__ */ d(E, { variant: "caption", color: "error", children: M })
|
|
1884
|
+
] }), e[10] = M, e[11] = A) : A = e[11];
|
|
1882
1885
|
let D;
|
|
1883
|
-
return e[12] !== I || e[13] !== A ? (D = /* @__PURE__ */ P
|
|
1886
|
+
return e[12] !== I || e[13] !== A ? (D = /* @__PURE__ */ z(P, { sx: K.container, children: [
|
|
1884
1887
|
I,
|
|
1885
1888
|
A
|
|
1886
1889
|
] }), e[12] = I, e[13] = A, e[14] = D) : D = e[14], D;
|
|
1887
1890
|
}
|
|
1888
1891
|
let S;
|
|
1889
|
-
e[15] !== i || e[16] !== v || e[17] !== a || e[18] !== l || e[19] !== w ? (S = a ? /* @__PURE__ */ d(
|
|
1892
|
+
e[15] !== i || e[16] !== v || e[17] !== a || e[18] !== l || e[19] !== w ? (S = a ? /* @__PURE__ */ d(P, { role: "img", "aria-label": l.colorGradient, sx: {
|
|
1890
1893
|
width: "100%",
|
|
1891
1894
|
height: "100%",
|
|
1892
1895
|
background: v
|
|
1893
|
-
} }) : i.map((m,
|
|
1896
|
+
} }) : i.map((m, M) => /* @__PURE__ */ d(P, { role: "img", "aria-label": w(M), sx: {
|
|
1894
1897
|
...K.step,
|
|
1895
1898
|
backgroundColor: m
|
|
1896
|
-
} },
|
|
1899
|
+
} }, M)), e[15] = i, e[16] = v, e[17] = a, e[18] = l, e[19] = w, e[20] = S) : S = e[20];
|
|
1897
1900
|
let O;
|
|
1898
|
-
e[21] !== S ? (O = /* @__PURE__ */ d(
|
|
1901
|
+
e[21] !== S ? (O = /* @__PURE__ */ d(P, { sx: K.bar, children: S }), e[21] = S, e[22] = O) : O = e[22];
|
|
1899
1902
|
let k;
|
|
1900
|
-
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(
|
|
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(P, { sx: K.avgLine, style: {
|
|
1901
1904
|
left: `${u}%`
|
|
1902
1905
|
} }) }), e[23] = u, e[24] = o.avg, e[25] = p, e[26] = k) : k = e[26];
|
|
1903
1906
|
let $;
|
|
1904
|
-
e[27] !== O || e[28] !== k ? ($ = /* @__PURE__ */ P
|
|
1907
|
+
e[27] !== O || e[28] !== k ? ($ = /* @__PURE__ */ z(P, { sx: K.barWrap, children: [
|
|
1905
1908
|
O,
|
|
1906
1909
|
k
|
|
1907
1910
|
] }), e[27] = O, e[28] = k, e[29] = $) : $ = e[29];
|
|
1908
1911
|
let _;
|
|
1909
|
-
e[30] !== i.length || e[31] !== y?.label || e[32] !== b || e[33] !==
|
|
1910
|
-
const A =
|
|
1912
|
+
e[30] !== i.length || e[31] !== y?.label || e[32] !== b || e[33] !== h?.label || e[34] !== n ? (_ = b ? /* @__PURE__ */ d(P, { sx: K.boundaryLabels, children: n.map((m, M) => {
|
|
1913
|
+
const A = M === n.length - 1, D = M === 0 ? void 0 : A ? "translateX(-100%)" : "translateX(-50%)";
|
|
1911
1914
|
return /* @__PURE__ */ d(E, { variant: "overline", color: "text.secondary", sx: K.boundaryLabel, style: {
|
|
1912
|
-
left: `${
|
|
1915
|
+
left: `${M / i.length * 100}%`,
|
|
1913
1916
|
transform: D
|
|
1914
|
-
}, children: m.label }, `${m.label}-${
|
|
1915
|
-
}) }) : /* @__PURE__ */ P
|
|
1917
|
+
}, children: m.label }, `${m.label}-${M}`);
|
|
1918
|
+
}) }) : /* @__PURE__ */ z(P, { sx: K.labels, children: [
|
|
1916
1919
|
/* @__PURE__ */ d(E, { variant: "overline", color: "text.secondary", children: y?.label }),
|
|
1917
|
-
/* @__PURE__ */ d(E, { variant: "overline", color: "text.secondary", children:
|
|
1918
|
-
] }), e[30] = i.length, e[31] = y?.label, e[32] = b, e[33] =
|
|
1920
|
+
/* @__PURE__ */ d(E, { variant: "overline", color: "text.secondary", children: h?.label })
|
|
1921
|
+
] }), e[30] = i.length, e[31] = y?.label, e[32] = b, e[33] = h?.label, e[34] = n, e[35] = _) : _ = e[35];
|
|
1919
1922
|
let G;
|
|
1920
|
-
return e[36] !== I || e[37] !== $ || e[38] !== _ ? (G = /* @__PURE__ */ P
|
|
1923
|
+
return e[36] !== I || e[37] !== $ || e[38] !== _ ? (G = /* @__PURE__ */ z(P, { sx: K.container, children: [
|
|
1921
1924
|
I,
|
|
1922
1925
|
$,
|
|
1923
1926
|
_
|
|
@@ -1963,8 +1966,8 @@ const ce = {
|
|
|
1963
1966
|
flexDirection: "column",
|
|
1964
1967
|
justifyContent: "space-between"
|
|
1965
1968
|
}
|
|
1966
|
-
}, fe = 72,
|
|
1967
|
-
function
|
|
1969
|
+
}, fe = 72, Bo = 0.3, Ae = 2, Ie = 4;
|
|
1970
|
+
function Wo(t) {
|
|
1968
1971
|
const e = (t.stops ?? []).filter((i) => Number.isFinite(i));
|
|
1969
1972
|
if (e.length >= Ae)
|
|
1970
1973
|
return e.sort((i, n) => n - i).slice(0, Ie);
|
|
@@ -1978,12 +1981,12 @@ function No(t) {
|
|
|
1978
1981
|
length: l
|
|
1979
1982
|
}, (i, n) => r - (r - o) * n / (l - 1));
|
|
1980
1983
|
}
|
|
1981
|
-
function
|
|
1984
|
+
function No(t, e) {
|
|
1982
1985
|
if (e <= 1) return fe;
|
|
1983
|
-
const o = 1 - (1 -
|
|
1986
|
+
const o = 1 - (1 - Bo) * (t / (e - 1));
|
|
1984
1987
|
return fe * o;
|
|
1985
1988
|
}
|
|
1986
|
-
function
|
|
1989
|
+
function at(t) {
|
|
1987
1990
|
const e = T(40), {
|
|
1988
1991
|
data: o,
|
|
1989
1992
|
labels: r
|
|
@@ -1991,25 +1994,25 @@ function ct(t) {
|
|
|
1991
1994
|
attribute: i,
|
|
1992
1995
|
formatValue: n
|
|
1993
1996
|
} = o, a = n === void 0 ? String : n;
|
|
1994
|
-
let s, c, p, f, u, y,
|
|
1997
|
+
let s, c, p, f, u, y, h, g, v;
|
|
1995
1998
|
if (e[0] !== i || e[1] !== o || e[2] !== a || e[3] !== l) {
|
|
1996
|
-
const w =
|
|
1999
|
+
const w = Wo(o), x = w.length;
|
|
1997
2000
|
let I;
|
|
1998
2001
|
e[13] !== a || e[14] !== l || e[15] !== x ? (I = (_, G) => {
|
|
1999
2002
|
const m = a(_);
|
|
2000
|
-
return x <= 1 ? m : G === 0 ? /* @__PURE__ */
|
|
2003
|
+
return x <= 1 ? m : G === 0 ? /* @__PURE__ */ z(he, { children: [
|
|
2001
2004
|
l.maxPrefix,
|
|
2002
2005
|
m
|
|
2003
|
-
] }) : G === x - 1 ? /* @__PURE__ */
|
|
2006
|
+
] }) : G === x - 1 ? /* @__PURE__ */ z(he, { children: [
|
|
2004
2007
|
l.minPrefix,
|
|
2005
2008
|
m
|
|
2006
2009
|
] }) : m;
|
|
2007
2010
|
}, e[13] = a, e[14] = l, e[15] = x, e[16] = I) : I = e[16];
|
|
2008
2011
|
const S = I;
|
|
2009
|
-
p =
|
|
2012
|
+
p = P, g = ce.root, e[17] !== i || e[18] !== l ? (v = i && /* @__PURE__ */ z(P, { sx: ce.attribute, children: [
|
|
2010
2013
|
/* @__PURE__ */ d(E, { variant: "overline", color: "text.secondary", children: l.radiusRangeBy }),
|
|
2011
2014
|
/* @__PURE__ */ d(E, { variant: "caption", color: "text.primary", children: i })
|
|
2012
|
-
] }), e[17] = i, e[18] = l, e[19] = v) : v = e[19], c =
|
|
2015
|
+
] }), e[17] = i, e[18] = l, e[19] = v) : v = e[19], c = P, y = ce.body;
|
|
2013
2016
|
let O;
|
|
2014
2017
|
e[20] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (O = {
|
|
2015
2018
|
...ce.circles,
|
|
@@ -2018,32 +2021,32 @@ function ct(t) {
|
|
|
2018
2021
|
}, e[20] = O) : O = e[20];
|
|
2019
2022
|
let k;
|
|
2020
2023
|
e[21] !== x ? (k = (_, G) => {
|
|
2021
|
-
const m =
|
|
2022
|
-
return /* @__PURE__ */ d(
|
|
2024
|
+
const m = No(G, x);
|
|
2025
|
+
return /* @__PURE__ */ d(P, { "aria-hidden": !0, sx: {
|
|
2023
2026
|
...ce.circle,
|
|
2024
2027
|
width: m,
|
|
2025
2028
|
height: m
|
|
2026
2029
|
} }, G);
|
|
2027
|
-
}, e[21] = x, e[22] = k) : k = e[22],
|
|
2030
|
+
}, e[21] = x, e[22] = k) : k = e[22], h = /* @__PURE__ */ d(P, { sx: O, children: w.map(k) }), s = P, e[23] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (f = {
|
|
2028
2031
|
...ce.labels,
|
|
2029
2032
|
height: fe
|
|
2030
2033
|
}, e[23] = f) : f = e[23];
|
|
2031
2034
|
let $;
|
|
2032
|
-
e[24] !== S ? ($ = (_, G) => /* @__PURE__ */ d(E, { variant: "caption", color: "text.secondary", children: S(_, G) }, G), e[24] = S, e[25] = $) : $ = e[25], u = w.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] =
|
|
2035
|
+
e[24] !== S ? ($ = (_, G) => /* @__PURE__ */ d(E, { variant: "caption", color: "text.secondary", children: S(_, G) }, G), e[24] = S, e[25] = $) : $ = e[25], u = w.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] = v;
|
|
2033
2036
|
} else
|
|
2034
|
-
s = e[4], c = e[5], p = e[6], f = e[7], u = e[8], y = e[9],
|
|
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], v = e[12];
|
|
2035
2038
|
let b;
|
|
2036
2039
|
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];
|
|
2037
2040
|
let C;
|
|
2038
|
-
e[30] !== c || e[31] !== y || e[32] !==
|
|
2039
|
-
|
|
2041
|
+
e[30] !== c || e[31] !== y || e[32] !== h || e[33] !== b ? (C = /* @__PURE__ */ z(c, { sx: y, children: [
|
|
2042
|
+
h,
|
|
2040
2043
|
b
|
|
2041
|
-
] }), e[30] = c, e[31] = y, e[32] =
|
|
2044
|
+
] }), e[30] = c, e[31] = y, e[32] = h, e[33] = b, e[34] = C) : C = e[34];
|
|
2042
2045
|
let L;
|
|
2043
|
-
return e[35] !== p || e[36] !== C || e[37] !==
|
|
2046
|
+
return e[35] !== p || e[36] !== C || e[37] !== g || e[38] !== v ? (L = /* @__PURE__ */ z(p, { sx: g, children: [
|
|
2044
2047
|
v,
|
|
2045
2048
|
C
|
|
2046
|
-
] }), e[35] = p, e[36] = C, e[37] =
|
|
2049
|
+
] }), e[35] = p, e[36] = C, e[37] = g, e[38] = v, e[39] = L) : L = e[39], L;
|
|
2047
2050
|
}
|
|
2048
2051
|
const oe = {
|
|
2049
2052
|
list: {
|
|
@@ -2101,7 +2104,7 @@ const oe = {
|
|
|
2101
2104
|
textOverflow: "clip"
|
|
2102
2105
|
}
|
|
2103
2106
|
};
|
|
2104
|
-
function
|
|
2107
|
+
function ct(t) {
|
|
2105
2108
|
const e = T(11), {
|
|
2106
2109
|
data: o
|
|
2107
2110
|
} = t, r = o.orientation ?? "vertical", l = r === "horizontal", i = l ? oe.listHorizontal : null;
|
|
@@ -2113,11 +2116,11 @@ function dt(t) {
|
|
|
2113
2116
|
let a;
|
|
2114
2117
|
if (e[2] !== o.items || e[3] !== l) {
|
|
2115
2118
|
let c;
|
|
2116
|
-
e[5] !== l ? (c = (p, f) => /* @__PURE__ */ P
|
|
2119
|
+
e[5] !== l ? (c = (p, f) => /* @__PURE__ */ z(P, { sx: {
|
|
2117
2120
|
...oe.item,
|
|
2118
2121
|
...l ? oe.itemHorizontal : null
|
|
2119
2122
|
}, children: [
|
|
2120
|
-
/* @__PURE__ */ d(
|
|
2123
|
+
/* @__PURE__ */ d(P, { component: "img", src: p.icon, alt: "", sx: oe.icon }),
|
|
2121
2124
|
/* @__PURE__ */ d(E, { variant: "caption", color: "text.primary", sx: {
|
|
2122
2125
|
...oe.label,
|
|
2123
2126
|
...l ? oe.labelHorizontal : null
|
|
@@ -2127,9 +2130,9 @@ function dt(t) {
|
|
|
2127
2130
|
} else
|
|
2128
2131
|
a = e[4];
|
|
2129
2132
|
let s;
|
|
2130
|
-
return e[7] !== r || e[8] !== n || e[9] !== a ? (s = /* @__PURE__ */ d(
|
|
2133
|
+
return e[7] !== r || e[8] !== n || e[9] !== a ? (s = /* @__PURE__ */ d(P, { "data-orientation": r, sx: n, children: a }), e[7] = r, e[8] = n, e[9] = a, e[10] = s) : s = e[10], s;
|
|
2131
2134
|
}
|
|
2132
|
-
function
|
|
2135
|
+
function dt(t) {
|
|
2133
2136
|
const e = T(10), {
|
|
2134
2137
|
data: o,
|
|
2135
2138
|
labels: r
|
|
@@ -2137,25 +2140,25 @@ function ut(t) {
|
|
|
2137
2140
|
switch (o.type) {
|
|
2138
2141
|
case "category": {
|
|
2139
2142
|
let l;
|
|
2140
|
-
return e[0] !== o ? (l = /* @__PURE__ */ d(
|
|
2143
|
+
return e[0] !== o ? (l = /* @__PURE__ */ d(rt, { data: o }), e[0] = o, e[1] = l) : l = e[1], l;
|
|
2141
2144
|
}
|
|
2142
2145
|
case "ramp": {
|
|
2143
2146
|
let l;
|
|
2144
|
-
return e[2] !== o || e[3] !== r ? (l = /* @__PURE__ */ d(
|
|
2147
|
+
return e[2] !== o || e[3] !== r ? (l = /* @__PURE__ */ d(st, { data: o, labels: r }), e[2] = o, e[3] = r, e[4] = l) : l = e[4], l;
|
|
2145
2148
|
}
|
|
2146
2149
|
case "proportion": {
|
|
2147
2150
|
let l;
|
|
2148
|
-
return e[5] !== o || e[6] !== r ? (l = /* @__PURE__ */ d(
|
|
2151
|
+
return e[5] !== o || e[6] !== r ? (l = /* @__PURE__ */ d(at, { data: o, labels: r }), e[5] = o, e[6] = r, e[7] = l) : l = e[7], l;
|
|
2149
2152
|
}
|
|
2150
2153
|
case "icon": {
|
|
2151
2154
|
let l;
|
|
2152
|
-
return e[8] !== o ? (l = /* @__PURE__ */ d(
|
|
2155
|
+
return e[8] !== o ? (l = /* @__PURE__ */ d(ct, { data: o }), e[8] = o, e[9] = l) : l = e[9], l;
|
|
2153
2156
|
}
|
|
2154
2157
|
default:
|
|
2155
2158
|
return o;
|
|
2156
2159
|
}
|
|
2157
2160
|
}
|
|
2158
|
-
const
|
|
2161
|
+
const Fo = {
|
|
2159
2162
|
// Figma: stacked variable sections sit ~16px apart (wider than the row
|
|
2160
2163
|
// content's 8px block gap).
|
|
2161
2164
|
stack: {
|
|
@@ -2164,7 +2167,7 @@ const Uo = {
|
|
|
2164
2167
|
gap: 2
|
|
2165
2168
|
}
|
|
2166
2169
|
};
|
|
2167
|
-
function
|
|
2170
|
+
function Uo() {
|
|
2168
2171
|
const t = T(9), e = N(), o = Q();
|
|
2169
2172
|
let r;
|
|
2170
2173
|
t[0] !== o ? (r = (s) => o ? s.layers[o.layerId]?.variables : void 0, t[0] = o, t[1] = r) : r = t[1];
|
|
@@ -2176,45 +2179,45 @@ function jo() {
|
|
|
2176
2179
|
let n;
|
|
2177
2180
|
if (t[2] !== i || t[3] !== l) {
|
|
2178
2181
|
let s;
|
|
2179
|
-
t[5] !== i ? (s = (c, p) => /* @__PURE__ */ d(
|
|
2182
|
+
t[5] !== i ? (s = (c, p) => /* @__PURE__ */ d(dt, { data: c, labels: i }, p), t[5] = i, t[6] = s) : s = t[6], n = l.map(s), t[2] = i, t[3] = l, t[4] = n;
|
|
2180
2183
|
} else
|
|
2181
2184
|
n = t[4];
|
|
2182
2185
|
let a;
|
|
2183
|
-
return t[7] !== n ? (a = /* @__PURE__ */ d(
|
|
2186
|
+
return t[7] !== n ? (a = /* @__PURE__ */ d(P, { sx: Fo.stack, children: n }), t[7] = n, t[8] = a) : a = t[8], a;
|
|
2184
2187
|
}
|
|
2185
|
-
const
|
|
2188
|
+
const an = {
|
|
2186
2189
|
// Composition shell
|
|
2187
|
-
Provider:
|
|
2188
|
-
Group:
|
|
2189
|
-
Row:
|
|
2190
|
-
Actions:
|
|
2191
|
-
Sortable:
|
|
2190
|
+
Provider: Nt,
|
|
2191
|
+
Group: jt,
|
|
2192
|
+
Row: Xt,
|
|
2193
|
+
Actions: Qe,
|
|
2194
|
+
Sortable: vo,
|
|
2192
2195
|
// Store-connected actions & controls (context-driven)
|
|
2193
|
-
VisibilityToggle:
|
|
2194
|
-
RowMenu:
|
|
2195
|
-
ZoomTo:
|
|
2196
|
-
ShowOnlyLayer:
|
|
2197
|
-
ShowAllLayers:
|
|
2198
|
-
GroupMenu:
|
|
2199
|
-
ShowOnlyGroup:
|
|
2200
|
-
ShowAllGroups:
|
|
2201
|
-
CollapseAllGroups:
|
|
2202
|
-
ZoomToGroup:
|
|
2203
|
-
PanelMenu:
|
|
2204
|
-
VisibleLayers:
|
|
2205
|
-
Opacity:
|
|
2196
|
+
VisibilityToggle: Jt,
|
|
2197
|
+
RowMenu: oo,
|
|
2198
|
+
ZoomTo: no,
|
|
2199
|
+
ShowOnlyLayer: lo,
|
|
2200
|
+
ShowAllLayers: io,
|
|
2201
|
+
GroupMenu: ro,
|
|
2202
|
+
ShowOnlyGroup: so,
|
|
2203
|
+
ShowAllGroups: ao,
|
|
2204
|
+
CollapseAllGroups: co,
|
|
2205
|
+
ZoomToGroup: uo,
|
|
2206
|
+
PanelMenu: po,
|
|
2207
|
+
VisibleLayers: ho,
|
|
2208
|
+
Opacity: Go,
|
|
2206
2209
|
ConfigSelect: Mo,
|
|
2207
|
-
Item:
|
|
2210
|
+
Item: Uo,
|
|
2208
2211
|
// Pure UI
|
|
2209
|
-
ItemUI:
|
|
2210
|
-
Swatch:
|
|
2211
|
-
CategoryUI:
|
|
2212
|
-
RampUI:
|
|
2213
|
-
ProportionUI:
|
|
2214
|
-
IconUI:
|
|
2212
|
+
ItemUI: dt,
|
|
2213
|
+
Swatch: it,
|
|
2214
|
+
CategoryUI: rt,
|
|
2215
|
+
RampUI: st,
|
|
2216
|
+
ProportionUI: at,
|
|
2217
|
+
IconUI: ct
|
|
2215
2218
|
};
|
|
2216
2219
|
export {
|
|
2217
2220
|
ge as DEFAULT_LEGEND_LABELS,
|
|
2218
|
-
|
|
2221
|
+
an as Legend
|
|
2219
2222
|
};
|
|
2220
2223
|
//# sourceMappingURL=legend.js.map
|