@mt-gloss/ui 0.0.15 → 0.0.17
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/{Expandable-BXdTP6Nb.js → Expandable-Bvd-OyRQ.js} +1180 -1179
- package/catalog.js +2 -2
- package/index.js +776 -728
- package/lib/primitives/dashboard/MetricCard/CardShell.d.ts +1 -1
- package/lib/primitives/dashboard/MetricCard/EdgeHoverHandle.d.ts +9 -0
- package/lib/primitives/dashboard/MetricCard/types.d.ts +11 -0
- package/lib/wrappers/SortableZones/SortableZones.d.ts +5 -3
- package/package.json +1 -1
- package/ui.css +1 -1
package/index.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { N as
|
|
2
|
-
import { jsxs as
|
|
3
|
-
import
|
|
4
|
-
import { B as
|
|
5
|
-
import { a as
|
|
6
|
-
import { createPortal as
|
|
7
|
-
import { DEFAULT_MARKET_PRESETS as
|
|
8
|
-
function
|
|
1
|
+
import { N as Xt, T as Jt, O as ea, Q as ta, b2 as aa, av as ra, ad as na, Z as oa, aj as sa, K as ia, a4 as la, bl as da, P as ca, B as ua, a as ma, y as pa, H as ga, be as ba, F as ha, J as fa, A as va, z as Ca, bd as ya, E as Da, D as wa, bt as Na, b as Sa, C as Ta, L as xa, o as ka, a9 as Ia, aJ as _a, y as Pa, H as Ra, F as Ma, J as Fa, A as Oa, z as Aa, E as Ea, D as La, aX as Ba, a_ as Ga, aZ as $a, aY as Ha, a$ as za, ay as Ka, am as Wa, k as Za, m as Ya, aB as qa, a7 as Va, b4 as Ua, a5 as ja, bm as Qa, Y as Xa, bD as Ja, bC as er, bE as tr, al as ar, aM as rr, b6 as nr, bI as or, n as sr, ai as ir, bx as lr, bp as dr, a0 as cr, an as ur, a2 as mr, bw as pr, G as gr, d as br, bg as hr, a6 as fr, bF as vr, aP as Cr, r as yr, v as Dr, I as wr, g as Nr, as as Sr, bJ as Tr, M as xr, w as kr, U as Ir, X as _r, V as Pr, W as Rr, ao as Mr, bc as Fr, bL as Or, bH as Ar, ak as Er, t as Lr, bn as Br, aO as Gr, af as $r, aG as Hr, ac as zr, ah as Kr, aq as Wr, aN as Zr, a8 as Yr, ap as qr, c as Vr, R as Ur, j as jr, p as Qr, aD as Xr, bu as Jr, bv as en, ae as tn, aa as an, h as rn, x as nn, b3 as on, ab as sn, bK as ln, b8 as dn, bb as cn, b9 as un, ba as mn, i as pn, b5 as gn, bk as bn, S as hn, bh as fn, bi as vn, ar as Cn, b7 as yn, bM as Dn, ag as wn, s as Nn, bG as Sn, l as Tn, f as xn, q as kn, _ as In, $ as _n, a3 as Pn, bf as Rn, bs as Mn, bz as Fn, aw as On, ax as An, aK as En, aL as Ln, az as Bn, aA as Gn, aC as $n, aR as Hn, aS as zn, bB as Kn, bA as Wn, aU as Zn, aV as Yn, at as qn, au as Vn, b1 as Un, b0 as jn, aW as Qn, aH as Xn, aI as Jn, aT as eo, aE as to, aF as ao, u as ro, by as no, bo as oo, bq as so, br as io, aQ as lo, a1 as co, e as uo, bj as mo } from "./Expandable-Bvd-OyRQ.js";
|
|
2
|
+
import { jsxs as P, jsx as c } from "react/jsx-runtime";
|
|
3
|
+
import I, { useRef as F, useEffect as B, useState as R, useCallback as f, forwardRef as pe, useMemo as ge, createContext as be, useContext as he } from "react";
|
|
4
|
+
import { B as fe, U as j } from "./UIContext-C3E-k7HI.js";
|
|
5
|
+
import { a as go, u as bo } from "./UIContext-C3E-k7HI.js";
|
|
6
|
+
import { createPortal as ve } from "react-dom";
|
|
7
|
+
import { DEFAULT_MARKET_PRESETS as fo, DEFAULT_PINNED as vo, PERIOD_OPTIONS as Co, ROLLING_OPTIONS as yo, TODAY_PRESET as Do, findPreset as wo, formatDateRange as No, formatMarketDates as So, formatTrend as To, formatValue as xo, generateMarketId as ko, getAllPresets as Io, getDateRangeForPreset as _o, getPresetLabel as Po, isInRange as Ro, isMarketActive as Mo, isSameDay as Fo, normalizePresetId as Oo, toUppercasePresetId as Ao } from "@mt-gloss/utils";
|
|
8
|
+
function st(e = {}) {
|
|
9
9
|
const { enabled: t = !0, returnTo: r } = e, a = F(null);
|
|
10
|
-
return
|
|
10
|
+
return B(() => {
|
|
11
11
|
t && (a.current = r || document.activeElement);
|
|
12
|
-
}, [t, r]),
|
|
12
|
+
}, [t, r]), B(() => () => {
|
|
13
13
|
t && a.current && setTimeout(() => {
|
|
14
14
|
a.current?.focus?.();
|
|
15
15
|
}, 0);
|
|
16
16
|
}, [t]), a;
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function it(e) {
|
|
19
19
|
const {
|
|
20
20
|
items: t,
|
|
21
21
|
activeIndex: r,
|
|
@@ -23,67 +23,67 @@ function ut(e) {
|
|
|
23
23
|
loop: n = !0,
|
|
24
24
|
orientation: o = "vertical",
|
|
25
25
|
enabled: s = !0,
|
|
26
|
-
isItemDisabled:
|
|
27
|
-
onSelect:
|
|
28
|
-
onEscape:
|
|
29
|
-
} = e, [
|
|
30
|
-
(
|
|
31
|
-
r === void 0 &&
|
|
26
|
+
isItemDisabled: d,
|
|
27
|
+
onSelect: u,
|
|
28
|
+
onEscape: p
|
|
29
|
+
} = e, [b, D] = R(-1), g = r !== void 0 ? r : b, l = f(
|
|
30
|
+
(m) => {
|
|
31
|
+
r === void 0 && D(m), a?.(m);
|
|
32
32
|
},
|
|
33
33
|
[r, a]
|
|
34
|
-
), h =
|
|
35
|
-
(
|
|
34
|
+
), h = f(() => t.map((m, w) => ({ item: m, index: w })).filter(({ item: m, index: w }) => !d?.(m, w)).map(({ index: m }) => m), [t, d]), S = f(
|
|
35
|
+
(m, w) => {
|
|
36
36
|
const C = h();
|
|
37
37
|
if (C.length === 0) return -1;
|
|
38
|
-
const O = C.indexOf(
|
|
38
|
+
const O = C.indexOf(m);
|
|
39
39
|
if (O === -1)
|
|
40
|
-
return
|
|
41
|
-
let
|
|
42
|
-
return n ?
|
|
40
|
+
return w === 1 ? C.find((E) => E > m) ?? (n ? C[0] : -1) : [...C].reverse().find((G) => G < m) ?? (n ? C[C.length - 1] : -1);
|
|
41
|
+
let k = O + w;
|
|
42
|
+
return n ? k = (k + C.length) % C.length : k = Math.max(0, Math.min(C.length - 1, k)), C[k];
|
|
43
43
|
},
|
|
44
44
|
[h, n]
|
|
45
|
-
),
|
|
46
|
-
const
|
|
47
|
-
|
|
48
|
-
}, [h, l]), i =
|
|
49
|
-
const
|
|
50
|
-
|
|
51
|
-
}, [h, l]),
|
|
52
|
-
const
|
|
53
|
-
|
|
54
|
-
}, [g, S, l]),
|
|
55
|
-
const
|
|
56
|
-
|
|
57
|
-
}, [g, S, l]),
|
|
45
|
+
), T = f(() => {
|
|
46
|
+
const m = h();
|
|
47
|
+
m.length > 0 && l(m[0]);
|
|
48
|
+
}, [h, l]), i = f(() => {
|
|
49
|
+
const m = h();
|
|
50
|
+
m.length > 0 && l(m[m.length - 1]);
|
|
51
|
+
}, [h, l]), v = f(() => {
|
|
52
|
+
const m = S(g, 1);
|
|
53
|
+
m !== -1 && l(m);
|
|
54
|
+
}, [g, S, l]), N = f(() => {
|
|
55
|
+
const m = S(g, -1);
|
|
56
|
+
m !== -1 && l(m);
|
|
57
|
+
}, [g, S, l]), y = f(() => {
|
|
58
58
|
l(-1);
|
|
59
|
-
}, [l]),
|
|
60
|
-
(
|
|
59
|
+
}, [l]), x = f(
|
|
60
|
+
(m) => {
|
|
61
61
|
if (!s) return;
|
|
62
|
-
const { key:
|
|
63
|
-
if (C ||
|
|
64
|
-
|
|
62
|
+
const { key: w } = m, C = w === "ArrowUp" && (o === "vertical" || o === "both"), O = w === "ArrowDown" && (o === "vertical" || o === "both"), k = w === "ArrowLeft" && (o === "horizontal" || o === "both"), E = w === "ArrowRight" && (o === "horizontal" || o === "both");
|
|
63
|
+
if (C || k) {
|
|
64
|
+
m.preventDefault(), g === -1 ? i() : N();
|
|
65
65
|
return;
|
|
66
66
|
}
|
|
67
67
|
if (O || E) {
|
|
68
|
-
|
|
68
|
+
m.preventDefault(), g === -1 ? T() : v();
|
|
69
69
|
return;
|
|
70
70
|
}
|
|
71
|
-
if (
|
|
72
|
-
|
|
71
|
+
if (w === "Home") {
|
|
72
|
+
m.preventDefault(), T();
|
|
73
73
|
return;
|
|
74
74
|
}
|
|
75
|
-
if (
|
|
76
|
-
|
|
75
|
+
if (w === "End") {
|
|
76
|
+
m.preventDefault(), i();
|
|
77
77
|
return;
|
|
78
78
|
}
|
|
79
|
-
if ((
|
|
80
|
-
|
|
81
|
-
const
|
|
82
|
-
|
|
79
|
+
if ((w === "Enter" || w === " ") && g >= 0 && g < t.length) {
|
|
80
|
+
m.preventDefault();
|
|
81
|
+
const G = t[g];
|
|
82
|
+
d?.(G, g) || u?.(G, g);
|
|
83
83
|
return;
|
|
84
84
|
}
|
|
85
|
-
if (
|
|
86
|
-
|
|
85
|
+
if (w === "Escape") {
|
|
86
|
+
p?.();
|
|
87
87
|
return;
|
|
88
88
|
}
|
|
89
89
|
},
|
|
@@ -92,63 +92,63 @@ function ut(e) {
|
|
|
92
92
|
o,
|
|
93
93
|
g,
|
|
94
94
|
t,
|
|
95
|
-
|
|
95
|
+
T,
|
|
96
96
|
i,
|
|
97
|
-
|
|
98
|
-
|
|
97
|
+
v,
|
|
98
|
+
N,
|
|
99
|
+
d,
|
|
99
100
|
u,
|
|
100
|
-
|
|
101
|
-
b
|
|
101
|
+
p
|
|
102
102
|
]
|
|
103
103
|
);
|
|
104
104
|
return {
|
|
105
105
|
focusedIndex: g,
|
|
106
106
|
setFocusedIndex: l,
|
|
107
|
-
handleKeyDown:
|
|
108
|
-
focusFirst:
|
|
107
|
+
handleKeyDown: x,
|
|
108
|
+
focusFirst: T,
|
|
109
109
|
focusLast: i,
|
|
110
|
-
focusNext:
|
|
111
|
-
focusPrevious:
|
|
112
|
-
resetFocus:
|
|
110
|
+
focusNext: v,
|
|
111
|
+
focusPrevious: N,
|
|
112
|
+
resetFocus: y
|
|
113
113
|
};
|
|
114
114
|
}
|
|
115
|
-
const
|
|
116
|
-
},
|
|
115
|
+
const K = (e) => {
|
|
116
|
+
}, Ce = {
|
|
117
117
|
id: "entity-filter-1",
|
|
118
118
|
label: "Customer: Acme Corp",
|
|
119
119
|
field: "customer",
|
|
120
120
|
value: "acme-corp-123",
|
|
121
|
-
onRemove:
|
|
122
|
-
},
|
|
121
|
+
onRemove: K
|
|
122
|
+
}, ye = {
|
|
123
123
|
id: "status-filter-1",
|
|
124
124
|
label: "Status: Open",
|
|
125
125
|
field: "status",
|
|
126
126
|
value: "open",
|
|
127
|
-
onRemove:
|
|
128
|
-
},
|
|
127
|
+
onRemove: K
|
|
128
|
+
}, De = {
|
|
129
129
|
id: "date-filter-1",
|
|
130
130
|
label: "Date: Mar 1 - Mar 15",
|
|
131
131
|
field: "dateRange",
|
|
132
132
|
value: "2026-03-01..2026-03-15",
|
|
133
|
-
onRemove:
|
|
134
|
-
},
|
|
133
|
+
onRemove: K
|
|
134
|
+
}, we = {
|
|
135
135
|
id: "mfg-filter-1",
|
|
136
136
|
label: "Manufacturer: Widget Co",
|
|
137
137
|
field: "manufacturer",
|
|
138
138
|
value: "widget-co-456",
|
|
139
|
-
onRemove:
|
|
140
|
-
},
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
],
|
|
139
|
+
onRemove: K
|
|
140
|
+
}, lt = [
|
|
141
|
+
Ce,
|
|
142
|
+
ye,
|
|
143
|
+
De,
|
|
144
|
+
we
|
|
145
|
+
], dt = {
|
|
146
146
|
id: "metric-toggle",
|
|
147
147
|
tabs: [
|
|
148
148
|
{ id: "$", label: "$", mono: !0 },
|
|
149
149
|
{ id: "#", label: "#", mono: !0 }
|
|
150
150
|
]
|
|
151
|
-
},
|
|
151
|
+
}, ct = {
|
|
152
152
|
id: "entity-type",
|
|
153
153
|
tabs: [
|
|
154
154
|
{ id: "orders", label: "Orders" },
|
|
@@ -156,7 +156,7 @@ const H = (e) => {
|
|
|
156
156
|
{ id: "customers", label: "Customers" },
|
|
157
157
|
{ id: "manufacturers", label: "Manufacturers" }
|
|
158
158
|
]
|
|
159
|
-
},
|
|
159
|
+
}, ut = {
|
|
160
160
|
id: "time-frame",
|
|
161
161
|
tabs: [
|
|
162
162
|
{ id: "MTD", label: "MTD" },
|
|
@@ -164,30 +164,30 @@ const H = (e) => {
|
|
|
164
164
|
{ id: "YTD", label: "YTD" },
|
|
165
165
|
{ id: "LYTD", label: "LYTD" }
|
|
166
166
|
]
|
|
167
|
-
},
|
|
167
|
+
}, mt = [
|
|
168
168
|
{ variant: "block", width: "100%", height: 16 },
|
|
169
169
|
{ variant: "block", width: 200, height: 32, borderRadius: 8 },
|
|
170
170
|
{ variant: "block", width: "80%", height: 12, borderRadius: "4px" },
|
|
171
171
|
{ variant: "block", width: 120, height: 44, borderRadius: 22 }
|
|
172
|
-
],
|
|
172
|
+
], pt = [
|
|
173
173
|
{ variant: "text", lines: 3, lineHeight: 14, gap: 8 },
|
|
174
174
|
{ variant: "text", lines: 2, lineHeight: 16, gap: 10 },
|
|
175
175
|
{ variant: "text", lines: 5, lineHeight: 12, gap: 6 }
|
|
176
|
-
],
|
|
176
|
+
], gt = [
|
|
177
177
|
{ variant: "circle", size: 24 },
|
|
178
178
|
{ variant: "circle", size: 40 },
|
|
179
179
|
{ variant: "circle", size: 64 }
|
|
180
|
-
],
|
|
180
|
+
], bt = [
|
|
181
181
|
{ bars: 10, maxHeight: 120 },
|
|
182
182
|
{ bars: 5, maxHeight: 80 }
|
|
183
|
-
],
|
|
183
|
+
], ht = [
|
|
184
184
|
{ rows: 5, columns: 3, hasCheckbox: !1, rowHeight: 44 },
|
|
185
185
|
{ rows: 8, columns: 5, hasCheckbox: !0, rowHeight: 44 }
|
|
186
|
-
],
|
|
186
|
+
], ft = [
|
|
187
187
|
{ variant: "value", colSpan: 1 },
|
|
188
188
|
{ variant: "trend", colSpan: 2 },
|
|
189
189
|
{ variant: "target", colSpan: 1 }
|
|
190
|
-
],
|
|
190
|
+
], J = {
|
|
191
191
|
position: "fixed",
|
|
192
192
|
zIndex: 9999,
|
|
193
193
|
background: "rgba(255,255,255,0.92)",
|
|
@@ -199,7 +199,7 @@ const H = (e) => {
|
|
|
199
199
|
minWidth: 148,
|
|
200
200
|
paddingTop: 4,
|
|
201
201
|
paddingBottom: 4
|
|
202
|
-
},
|
|
202
|
+
}, Y = (e) => ({
|
|
203
203
|
padding: "6px 12px",
|
|
204
204
|
fontSize: 12,
|
|
205
205
|
lineHeight: 1.4,
|
|
@@ -213,16 +213,16 @@ const H = (e) => {
|
|
|
213
213
|
width: "100%",
|
|
214
214
|
textAlign: "left",
|
|
215
215
|
border: "none"
|
|
216
|
-
}),
|
|
217
|
-
...
|
|
216
|
+
}), Ne = (e) => ({
|
|
217
|
+
...Y(e),
|
|
218
218
|
color: e ? "#4338ca" : "#4f46e5",
|
|
219
219
|
fontWeight: 600
|
|
220
|
-
}),
|
|
220
|
+
}), Se = {
|
|
221
221
|
height: 1,
|
|
222
222
|
background: "rgba(0,0,0,0.06)",
|
|
223
223
|
margin: "3px 10px"
|
|
224
224
|
};
|
|
225
|
-
function
|
|
225
|
+
function Te({
|
|
226
226
|
open: e,
|
|
227
227
|
anchorEl: t,
|
|
228
228
|
statusId: r,
|
|
@@ -231,71 +231,71 @@ function Re({
|
|
|
231
231
|
overflowActions: o,
|
|
232
232
|
onClose: s
|
|
233
233
|
}) {
|
|
234
|
-
const [
|
|
235
|
-
if (!t) return { ...
|
|
234
|
+
const [d, u] = R(null), p = F(null), b = f(() => {
|
|
235
|
+
if (!t) return { ...J, top: 0, left: 0 };
|
|
236
236
|
const l = t.getBoundingClientRect();
|
|
237
237
|
return {
|
|
238
|
-
...
|
|
238
|
+
...J,
|
|
239
239
|
top: l.bottom + 4,
|
|
240
240
|
left: l.left
|
|
241
241
|
};
|
|
242
242
|
}, [t]);
|
|
243
|
-
if (
|
|
243
|
+
if (B(() => {
|
|
244
244
|
if (!e) return;
|
|
245
245
|
const l = (h) => {
|
|
246
246
|
h.key === "Escape" && s();
|
|
247
247
|
};
|
|
248
248
|
return document.addEventListener("keydown", l), () => document.removeEventListener("keydown", l);
|
|
249
|
-
}, [e, s]),
|
|
249
|
+
}, [e, s]), B(() => {
|
|
250
250
|
if (!e) return;
|
|
251
251
|
const l = (h) => {
|
|
252
|
-
|
|
252
|
+
p.current && !p.current.contains(h.target) && s();
|
|
253
253
|
};
|
|
254
254
|
return document.addEventListener("pointerdown", l, !0), () => document.removeEventListener("pointerdown", l, !0);
|
|
255
255
|
}, [e, s]), !e) return null;
|
|
256
|
-
const
|
|
256
|
+
const D = o && o.length > 0, g = /* @__PURE__ */ P(
|
|
257
257
|
"div",
|
|
258
258
|
{
|
|
259
|
-
ref:
|
|
259
|
+
ref: p,
|
|
260
260
|
"data-status-chip-menu": r,
|
|
261
261
|
role: "menu",
|
|
262
262
|
"aria-label": "Status actions",
|
|
263
|
-
style:
|
|
263
|
+
style: b(),
|
|
264
264
|
children: [
|
|
265
|
-
/* @__PURE__ */
|
|
265
|
+
/* @__PURE__ */ c(
|
|
266
266
|
"button",
|
|
267
267
|
{
|
|
268
268
|
role: "menuitem",
|
|
269
|
-
style:
|
|
270
|
-
onMouseEnter: () =>
|
|
271
|
-
onMouseLeave: () =>
|
|
269
|
+
style: Ne(d === "__primary"),
|
|
270
|
+
onMouseEnter: () => u("__primary"),
|
|
271
|
+
onMouseLeave: () => u(null),
|
|
272
272
|
onClick: () => {
|
|
273
273
|
a(r), s();
|
|
274
274
|
},
|
|
275
275
|
children: "Open in table"
|
|
276
276
|
}
|
|
277
277
|
),
|
|
278
|
-
/* @__PURE__ */
|
|
278
|
+
/* @__PURE__ */ c(
|
|
279
279
|
"button",
|
|
280
280
|
{
|
|
281
281
|
role: "menuitem",
|
|
282
|
-
style:
|
|
283
|
-
onMouseEnter: () =>
|
|
284
|
-
onMouseLeave: () =>
|
|
282
|
+
style: Y(d === "__graph"),
|
|
283
|
+
onMouseEnter: () => u("__graph"),
|
|
284
|
+
onMouseLeave: () => u(null),
|
|
285
285
|
onClick: () => {
|
|
286
286
|
n(r), s();
|
|
287
287
|
},
|
|
288
288
|
children: "Show on graph"
|
|
289
289
|
}
|
|
290
290
|
),
|
|
291
|
-
|
|
292
|
-
|
|
291
|
+
D && /* @__PURE__ */ c("div", { style: Se }),
|
|
292
|
+
D && o?.map((l) => /* @__PURE__ */ c(
|
|
293
293
|
"button",
|
|
294
294
|
{
|
|
295
295
|
role: "menuitem",
|
|
296
|
-
style:
|
|
297
|
-
onMouseEnter: () =>
|
|
298
|
-
onMouseLeave: () =>
|
|
296
|
+
style: Y(d === l.id),
|
|
297
|
+
onMouseEnter: () => u(l.id),
|
|
298
|
+
onMouseLeave: () => u(null),
|
|
299
299
|
onClick: () => {
|
|
300
300
|
l.onSelect(r), s();
|
|
301
301
|
},
|
|
@@ -306,13 +306,25 @@ function Re({
|
|
|
306
306
|
]
|
|
307
307
|
}
|
|
308
308
|
);
|
|
309
|
-
return
|
|
309
|
+
return ve(g, document.body);
|
|
310
310
|
}
|
|
311
|
-
|
|
312
|
-
const
|
|
311
|
+
Te.displayName = "StatusSlotChipMenu";
|
|
312
|
+
const xe = pe(
|
|
313
313
|
function({ state: t, onPointerDown: r, onPointerUp: a, edge: n = "right", ariaLabel: o = "Resize card" }, s) {
|
|
314
|
-
const
|
|
315
|
-
|
|
314
|
+
const d = t === "handle-visible" || t === "dragging", u = (b) => {
|
|
315
|
+
try {
|
|
316
|
+
b.currentTarget.setPointerCapture(b.pointerId);
|
|
317
|
+
} catch {
|
|
318
|
+
}
|
|
319
|
+
r(b);
|
|
320
|
+
}, p = (b) => {
|
|
321
|
+
try {
|
|
322
|
+
b.currentTarget.hasPointerCapture?.(b.pointerId) && b.currentTarget.releasePointerCapture(b.pointerId);
|
|
323
|
+
} catch {
|
|
324
|
+
}
|
|
325
|
+
a(b);
|
|
326
|
+
};
|
|
327
|
+
return /* @__PURE__ */ c(
|
|
316
328
|
"button",
|
|
317
329
|
{
|
|
318
330
|
ref: s,
|
|
@@ -323,23 +335,23 @@ const Me = ve(
|
|
|
323
335
|
className: [
|
|
324
336
|
"gloss-edge-handle",
|
|
325
337
|
`gloss-edge-handle--${n}`,
|
|
326
|
-
|
|
338
|
+
d ? "gloss-edge-handle--visible" : ""
|
|
327
339
|
].filter(Boolean).join(" "),
|
|
328
|
-
onPointerDown:
|
|
329
|
-
onPointerUp:
|
|
330
|
-
tabIndex:
|
|
340
|
+
onPointerDown: u,
|
|
341
|
+
onPointerUp: p,
|
|
342
|
+
tabIndex: d ? 0 : -1
|
|
331
343
|
}
|
|
332
344
|
);
|
|
333
345
|
}
|
|
334
346
|
);
|
|
335
|
-
|
|
336
|
-
function
|
|
347
|
+
xe.displayName = "EdgeHoverHandle";
|
|
348
|
+
function ke({
|
|
337
349
|
visible: e,
|
|
338
350
|
targetColSpan: t,
|
|
339
351
|
enterMs: r = 180,
|
|
340
352
|
exitMs: a = 120
|
|
341
353
|
}) {
|
|
342
|
-
return /* @__PURE__ */
|
|
354
|
+
return /* @__PURE__ */ c(
|
|
343
355
|
"div",
|
|
344
356
|
{
|
|
345
357
|
"aria-hidden": "true",
|
|
@@ -353,8 +365,8 @@ function Pe({
|
|
|
353
365
|
}
|
|
354
366
|
);
|
|
355
367
|
}
|
|
356
|
-
|
|
357
|
-
function
|
|
368
|
+
ke.displayName = "GhostPreview";
|
|
369
|
+
function vt({
|
|
358
370
|
currentColSpan: e,
|
|
359
371
|
stackable: t,
|
|
360
372
|
onResize: r,
|
|
@@ -363,47 +375,51 @@ function wt({
|
|
|
363
375
|
enterMs: o = 180,
|
|
364
376
|
exitMs: s = 120
|
|
365
377
|
}) {
|
|
366
|
-
const [
|
|
367
|
-
|
|
368
|
-
}, []), g =
|
|
369
|
-
|
|
370
|
-
}, [n]), l =
|
|
371
|
-
|
|
372
|
-
}, [
|
|
378
|
+
const [d, u] = R("idle"), p = F(null), b = F(null), D = f(() => {
|
|
379
|
+
p.current && (clearTimeout(p.current), p.current = null);
|
|
380
|
+
}, []), g = f(() => {
|
|
381
|
+
u((i) => i !== "idle" ? i : (p.current = setTimeout(() => u("handle-visible"), n), "dwelling"));
|
|
382
|
+
}, [n]), l = f(() => {
|
|
383
|
+
D(), u((i) => i === "dwelling" || i === "handle-visible" ? "idle" : i);
|
|
384
|
+
}, [D]), h = f(
|
|
373
385
|
(i) => {
|
|
374
|
-
|
|
386
|
+
u((v) => v !== "handle-visible" ? v : (b.current = i.clientX, "dragging"));
|
|
375
387
|
},
|
|
376
388
|
[]
|
|
377
|
-
), S =
|
|
389
|
+
), S = f(
|
|
378
390
|
(i) => {
|
|
379
|
-
|
|
380
|
-
if (
|
|
381
|
-
const
|
|
382
|
-
if (
|
|
391
|
+
u((v) => {
|
|
392
|
+
if (v !== "dragging") return v;
|
|
393
|
+
const N = i.clientX - (b.current ?? i.clientX), x = Math.round(N / 180), m = Math.min(3, Math.max(1, e + x));
|
|
394
|
+
if (m === e)
|
|
383
395
|
return a?.(), "cancelled";
|
|
384
|
-
const
|
|
385
|
-
return r({ direction:
|
|
396
|
+
const w = m > e ? "grow" : "shrink";
|
|
397
|
+
return r({ direction: w, targetColSpan: m, mode: t ? "slot-fill" : "sparkline-fidelity" }), "committed";
|
|
386
398
|
});
|
|
387
399
|
},
|
|
388
400
|
[e, t, r, a]
|
|
389
|
-
),
|
|
390
|
-
|
|
391
|
-
}, [
|
|
392
|
-
return
|
|
393
|
-
if (
|
|
394
|
-
const i = (
|
|
395
|
-
|
|
401
|
+
), T = f(() => {
|
|
402
|
+
D(), u((i) => i === "dragging" || i === "handle-visible" ? (a?.(), "cancelled") : i);
|
|
403
|
+
}, [D, a]);
|
|
404
|
+
return B(() => {
|
|
405
|
+
if (d !== "dragging" && d !== "handle-visible") return;
|
|
406
|
+
const i = (v) => {
|
|
407
|
+
v.key === "Escape" && T();
|
|
396
408
|
};
|
|
397
409
|
return window.addEventListener("keydown", i), () => window.removeEventListener("keydown", i);
|
|
398
|
-
}, [
|
|
399
|
-
|
|
410
|
+
}, [d, T]), B(() => () => D(), [D]), B(() => {
|
|
411
|
+
if (d !== "committed" && d !== "cancelled") return;
|
|
412
|
+
const i = setTimeout(() => u("idle"), s);
|
|
413
|
+
return () => clearTimeout(i);
|
|
414
|
+
}, [d, s]), {
|
|
415
|
+
state: d,
|
|
400
416
|
enterEdgeZone: g,
|
|
401
417
|
leaveEdgeZone: l,
|
|
402
418
|
handleProps: { onPointerDown: h, onPointerUp: S },
|
|
403
|
-
ghostProps: { visible:
|
|
419
|
+
ghostProps: { visible: d === "dragging", enterMs: o, exitMs: s }
|
|
404
420
|
};
|
|
405
421
|
}
|
|
406
|
-
const
|
|
422
|
+
const Ct = {
|
|
407
423
|
/** Delay before flip animation begins (ms). */
|
|
408
424
|
flipStart: 50,
|
|
409
425
|
/** Duration of panel extrude animation (ms). */
|
|
@@ -412,7 +428,7 @@ const Nt = {
|
|
|
412
428
|
settle: 100,
|
|
413
429
|
/** Total choreography duration (ms). */
|
|
414
430
|
total: 350
|
|
415
|
-
},
|
|
431
|
+
}, yt = [
|
|
416
432
|
// 1. Standard: Total Revenue
|
|
417
433
|
{
|
|
418
434
|
variant: "standard",
|
|
@@ -516,24 +532,24 @@ const Nt = {
|
|
|
516
532
|
{ value: 9, color: "#6b7280", label: "Other" }
|
|
517
533
|
]
|
|
518
534
|
}
|
|
519
|
-
],
|
|
535
|
+
], Ie = {
|
|
520
536
|
variant: "standard",
|
|
521
537
|
label: "Total Revenue",
|
|
522
538
|
isLoading: !0
|
|
523
|
-
},
|
|
539
|
+
}, _e = {
|
|
524
540
|
variant: "standard",
|
|
525
541
|
label: "Total Revenue",
|
|
526
542
|
value: 125430,
|
|
527
543
|
valueFormat: { prefix: "$", abbreviated: !0 },
|
|
528
544
|
isError: !0
|
|
529
|
-
},
|
|
545
|
+
}, Pe = {
|
|
530
546
|
variant: "standard",
|
|
531
547
|
label: "Total Revenue",
|
|
532
548
|
value: null,
|
|
533
549
|
valueFormat: { prefix: "$", abbreviated: !0 },
|
|
534
550
|
isEmpty: !0,
|
|
535
551
|
subtitle: "No data"
|
|
536
|
-
},
|
|
552
|
+
}, Re = {
|
|
537
553
|
variant: "standard",
|
|
538
554
|
label: "Total Revenue",
|
|
539
555
|
value: 125430,
|
|
@@ -541,7 +557,7 @@ const Nt = {
|
|
|
541
557
|
trend: { value: 12.5, direction: "up" },
|
|
542
558
|
subtitle: "MTD",
|
|
543
559
|
isStale: !0
|
|
544
|
-
},
|
|
560
|
+
}, Me = {
|
|
545
561
|
variant: "sparkline",
|
|
546
562
|
label: "Daily Orders",
|
|
547
563
|
value: 847,
|
|
@@ -550,7 +566,7 @@ const Nt = {
|
|
|
550
566
|
sparklineData: [42, 38, 51, 47, 55, 60, 58, 63, 57, 62, 68, 71, 65, 59],
|
|
551
567
|
accentColor: "#6366f1",
|
|
552
568
|
isStale: !0
|
|
553
|
-
},
|
|
569
|
+
}, Fe = {
|
|
554
570
|
variant: "donut",
|
|
555
571
|
label: "Order Fill Rate",
|
|
556
572
|
value: 78,
|
|
@@ -561,14 +577,14 @@ const Nt = {
|
|
|
561
577
|
donutMax: 100,
|
|
562
578
|
accentColor: "#10b981",
|
|
563
579
|
isStale: !0
|
|
564
|
-
},
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
],
|
|
580
|
+
}, Dt = [
|
|
581
|
+
Ie,
|
|
582
|
+
_e,
|
|
583
|
+
Pe,
|
|
584
|
+
Re,
|
|
585
|
+
Me,
|
|
586
|
+
Fe
|
|
587
|
+
], wt = {
|
|
572
588
|
variant: "sparkline",
|
|
573
589
|
label: "Daily Orders",
|
|
574
590
|
value: 847,
|
|
@@ -591,7 +607,7 @@ const Nt = {
|
|
|
591
607
|
59
|
|
592
608
|
],
|
|
593
609
|
accentColor: "#6366f1"
|
|
594
|
-
},
|
|
610
|
+
}, Nt = {
|
|
595
611
|
variant: "sparkline",
|
|
596
612
|
label: "New Customers",
|
|
597
613
|
value: 23,
|
|
@@ -630,21 +646,21 @@ const Nt = {
|
|
|
630
646
|
19
|
|
631
647
|
],
|
|
632
648
|
accentColor: "#10b981"
|
|
633
|
-
},
|
|
649
|
+
}, St = {
|
|
634
650
|
variant: "standard",
|
|
635
651
|
label: "Total Revenue",
|
|
636
652
|
value: 125430,
|
|
637
653
|
valueFormat: { prefix: "$", abbreviated: !0 },
|
|
638
654
|
trend: { value: 12.5, direction: "up" },
|
|
639
655
|
subtitle: "MTD"
|
|
640
|
-
},
|
|
656
|
+
}, Tt = {
|
|
641
657
|
variant: "standard",
|
|
642
658
|
label: "Returns",
|
|
643
659
|
value: 3280,
|
|
644
660
|
valueFormat: { prefix: "$", abbreviated: !0 },
|
|
645
661
|
trend: { value: -8.3, direction: "down" },
|
|
646
662
|
subtitle: "MTD"
|
|
647
|
-
},
|
|
663
|
+
}, xt = {
|
|
648
664
|
variant: "standard",
|
|
649
665
|
label: "Avg Order Value",
|
|
650
666
|
value: 487,
|
|
@@ -660,25 +676,25 @@ function ne({
|
|
|
660
676
|
activePageId: n,
|
|
661
677
|
onPageChange: o,
|
|
662
678
|
onCreatePage: s,
|
|
663
|
-
onManagePages:
|
|
679
|
+
onManagePages: d
|
|
664
680
|
}) {
|
|
665
|
-
const
|
|
681
|
+
const u = f(
|
|
666
682
|
(g) => {
|
|
667
683
|
o(g), t();
|
|
668
684
|
},
|
|
669
685
|
[o, t]
|
|
670
|
-
),
|
|
686
|
+
), p = f(
|
|
671
687
|
(g, l) => {
|
|
672
|
-
(l.key === "Enter" || l.key === " ") && (l.preventDefault(),
|
|
688
|
+
(l.key === "Enter" || l.key === " ") && (l.preventDefault(), u(g));
|
|
673
689
|
},
|
|
674
|
-
[
|
|
675
|
-
),
|
|
690
|
+
[u]
|
|
691
|
+
), b = f(() => {
|
|
676
692
|
s(), t();
|
|
677
|
-
}, [s, t]),
|
|
678
|
-
|
|
679
|
-
}, [
|
|
680
|
-
return /* @__PURE__ */
|
|
681
|
-
|
|
693
|
+
}, [s, t]), D = f(() => {
|
|
694
|
+
d(), t();
|
|
695
|
+
}, [d, t]);
|
|
696
|
+
return /* @__PURE__ */ P(
|
|
697
|
+
fe,
|
|
682
698
|
{
|
|
683
699
|
definition: {
|
|
684
700
|
placement: "bottom-end",
|
|
@@ -691,9 +707,9 @@ function ne({
|
|
|
691
707
|
anchorRef: r,
|
|
692
708
|
className: "gloss-page-dropdown",
|
|
693
709
|
children: [
|
|
694
|
-
/* @__PURE__ */
|
|
710
|
+
/* @__PURE__ */ c("ul", { role: "menu", className: "gloss-page-dropdown__list", children: a.map((g) => {
|
|
695
711
|
const l = g.id === n;
|
|
696
|
-
return /* @__PURE__ */
|
|
712
|
+
return /* @__PURE__ */ P(
|
|
697
713
|
"li",
|
|
698
714
|
{
|
|
699
715
|
role: "menuitemradio",
|
|
@@ -701,45 +717,45 @@ function ne({
|
|
|
701
717
|
"aria-current": l ? "page" : void 0,
|
|
702
718
|
tabIndex: 0,
|
|
703
719
|
className: `gloss-page-dropdown__item${l ? " gloss-page-dropdown__item--active" : ""}`,
|
|
704
|
-
onClick: () =>
|
|
705
|
-
onKeyDown: (h) =>
|
|
720
|
+
onClick: () => u(g.id),
|
|
721
|
+
onKeyDown: (h) => p(g.id, h),
|
|
706
722
|
children: [
|
|
707
|
-
/* @__PURE__ */
|
|
723
|
+
/* @__PURE__ */ c(
|
|
708
724
|
"span",
|
|
709
725
|
{
|
|
710
726
|
className: `gloss-page-dropdown__dot${l ? " gloss-page-dropdown__dot--active" : ""}`
|
|
711
727
|
}
|
|
712
728
|
),
|
|
713
|
-
/* @__PURE__ */
|
|
729
|
+
/* @__PURE__ */ c(
|
|
714
730
|
"span",
|
|
715
731
|
{
|
|
716
732
|
className: `gloss-page-dropdown__name${g.named ? "" : " gloss-page-dropdown__name--unnamed"}`,
|
|
717
733
|
children: g.name
|
|
718
734
|
}
|
|
719
735
|
),
|
|
720
|
-
/* @__PURE__ */
|
|
736
|
+
/* @__PURE__ */ c("span", { className: "gloss-page-dropdown__count", children: g.cardCount })
|
|
721
737
|
]
|
|
722
738
|
},
|
|
723
739
|
g.id
|
|
724
740
|
);
|
|
725
741
|
}) }),
|
|
726
|
-
/* @__PURE__ */
|
|
727
|
-
/* @__PURE__ */
|
|
742
|
+
/* @__PURE__ */ c("hr", { className: "gloss-page-dropdown__separator" }),
|
|
743
|
+
/* @__PURE__ */ c(
|
|
728
744
|
"button",
|
|
729
745
|
{
|
|
730
746
|
role: "menuitem",
|
|
731
747
|
className: "gloss-page-dropdown__action",
|
|
732
|
-
onClick:
|
|
748
|
+
onClick: b,
|
|
733
749
|
children: "+ New page"
|
|
734
750
|
}
|
|
735
751
|
),
|
|
736
|
-
/* @__PURE__ */
|
|
737
|
-
/* @__PURE__ */
|
|
752
|
+
/* @__PURE__ */ c("hr", { className: "gloss-page-dropdown__separator" }),
|
|
753
|
+
/* @__PURE__ */ c(
|
|
738
754
|
"button",
|
|
739
755
|
{
|
|
740
756
|
role: "menuitem",
|
|
741
757
|
className: "gloss-page-dropdown__action gloss-page-dropdown__action--muted",
|
|
742
|
-
onClick:
|
|
758
|
+
onClick: D,
|
|
743
759
|
children: "Manage pages"
|
|
744
760
|
}
|
|
745
761
|
)
|
|
@@ -748,43 +764,43 @@ function ne({
|
|
|
748
764
|
);
|
|
749
765
|
}
|
|
750
766
|
ne.displayName = "PageDropdown";
|
|
751
|
-
const
|
|
767
|
+
const Oe = function({
|
|
752
768
|
currentIndex: t,
|
|
753
769
|
total: r,
|
|
754
770
|
pages: a,
|
|
755
771
|
onPageChange: n,
|
|
756
772
|
onCreatePage: o,
|
|
757
773
|
onManagePages: s,
|
|
758
|
-
maskRadius:
|
|
774
|
+
maskRadius: d = "var(--gloss-radius-md)"
|
|
759
775
|
}) {
|
|
760
|
-
const
|
|
761
|
-
|
|
762
|
-
}, []), g =
|
|
763
|
-
|
|
776
|
+
const u = F(null), [p, b] = R(!1), D = f(() => {
|
|
777
|
+
b((h) => !h);
|
|
778
|
+
}, []), g = f(() => {
|
|
779
|
+
b(!1);
|
|
764
780
|
}, []), l = a[t]?.id ?? "";
|
|
765
|
-
return /* @__PURE__ */
|
|
781
|
+
return /* @__PURE__ */ P(
|
|
766
782
|
"div",
|
|
767
783
|
{
|
|
768
784
|
className: "gloss-page-chip",
|
|
769
|
-
ref:
|
|
785
|
+
ref: u,
|
|
770
786
|
style: { position: "absolute", top: 0, right: 0 },
|
|
771
787
|
"data-page-chip": !0,
|
|
772
788
|
children: [
|
|
773
|
-
/* @__PURE__ */
|
|
789
|
+
/* @__PURE__ */ c(
|
|
774
790
|
"div",
|
|
775
791
|
{
|
|
776
792
|
className: "gloss-page-chip__nuzzle",
|
|
777
|
-
style: { "--_nuzzle-r":
|
|
793
|
+
style: { "--_nuzzle-r": d }
|
|
778
794
|
}
|
|
779
795
|
),
|
|
780
|
-
/* @__PURE__ */
|
|
796
|
+
/* @__PURE__ */ P(
|
|
781
797
|
"button",
|
|
782
798
|
{
|
|
783
799
|
className: "gloss-page-chip__trigger",
|
|
784
800
|
"aria-haspopup": "menu",
|
|
785
|
-
"aria-expanded":
|
|
801
|
+
"aria-expanded": p,
|
|
786
802
|
"aria-label": `Page ${t + 1} of ${r}. Click to switch pages.`,
|
|
787
|
-
onClick:
|
|
803
|
+
onClick: D,
|
|
788
804
|
children: [
|
|
789
805
|
t + 1,
|
|
790
806
|
" / ",
|
|
@@ -792,12 +808,12 @@ const Ge = function({
|
|
|
792
808
|
]
|
|
793
809
|
}
|
|
794
810
|
),
|
|
795
|
-
/* @__PURE__ */
|
|
811
|
+
/* @__PURE__ */ c(
|
|
796
812
|
ne,
|
|
797
813
|
{
|
|
798
|
-
open:
|
|
814
|
+
open: p,
|
|
799
815
|
onDismiss: g,
|
|
800
|
-
anchorRef:
|
|
816
|
+
anchorRef: u,
|
|
801
817
|
pages: a,
|
|
802
818
|
activePageId: l,
|
|
803
819
|
onPageChange: n,
|
|
@@ -809,8 +825,8 @@ const Ge = function({
|
|
|
809
825
|
}
|
|
810
826
|
);
|
|
811
827
|
};
|
|
812
|
-
|
|
813
|
-
const
|
|
828
|
+
Oe.displayName = "PageChip";
|
|
829
|
+
const kt = [
|
|
814
830
|
{
|
|
815
831
|
id: "ORD-1001",
|
|
816
832
|
orderNumber: "ORD-1001",
|
|
@@ -943,7 +959,7 @@ const Mt = [
|
|
|
943
959
|
date: "2026-03-01",
|
|
944
960
|
skuCount: 9
|
|
945
961
|
}
|
|
946
|
-
],
|
|
962
|
+
], It = [
|
|
947
963
|
{
|
|
948
964
|
id: "ITEM-001",
|
|
949
965
|
sku: "PB-4520",
|
|
@@ -1077,7 +1093,7 @@ const Mt = [
|
|
|
1077
1093
|
lastDate: "2026-03-01"
|
|
1078
1094
|
}
|
|
1079
1095
|
];
|
|
1080
|
-
function
|
|
1096
|
+
function q(e) {
|
|
1081
1097
|
return "$" + e.toLocaleString("en-US", { minimumFractionDigits: 2, maximumFractionDigits: 2 });
|
|
1082
1098
|
}
|
|
1083
1099
|
function oe(e) {
|
|
@@ -1086,7 +1102,7 @@ function oe(e) {
|
|
|
1086
1102
|
function se(e) {
|
|
1087
1103
|
return new Date(e).toLocaleDateString("en-US", { month: "short", day: "numeric", year: "numeric" });
|
|
1088
1104
|
}
|
|
1089
|
-
const
|
|
1105
|
+
const H = I.createElement("span", { style: { color: "var(--color-text-muted)" } }, "—"), _t = [
|
|
1090
1106
|
{
|
|
1091
1107
|
field: "id",
|
|
1092
1108
|
headerName: "Order",
|
|
@@ -1116,7 +1132,7 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1116
1132
|
align: "right",
|
|
1117
1133
|
headerAlign: "right",
|
|
1118
1134
|
cellClassName: "gloss-tabular-nums",
|
|
1119
|
-
renderCell: ({ row: e }) => e.skuCount ? oe(e.skuCount) :
|
|
1135
|
+
renderCell: ({ row: e }) => e.skuCount ? oe(e.skuCount) : H
|
|
1120
1136
|
},
|
|
1121
1137
|
{
|
|
1122
1138
|
field: "total",
|
|
@@ -1126,7 +1142,7 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1126
1142
|
align: "right",
|
|
1127
1143
|
headerAlign: "right",
|
|
1128
1144
|
cellClassName: "gloss-tabular-nums",
|
|
1129
|
-
renderCell: ({ row: e }) => e.total ?
|
|
1145
|
+
renderCell: ({ row: e }) => e.total ? q(e.total) : H
|
|
1130
1146
|
},
|
|
1131
1147
|
{
|
|
1132
1148
|
field: "date",
|
|
@@ -1138,7 +1154,7 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1138
1154
|
cellClassName: "gloss-tabular-nums",
|
|
1139
1155
|
renderCell: ({ row: e }) => e.date ? se(e.date) : ""
|
|
1140
1156
|
}
|
|
1141
|
-
],
|
|
1157
|
+
], Pt = [
|
|
1142
1158
|
{
|
|
1143
1159
|
field: "sku",
|
|
1144
1160
|
headerName: "Item ID",
|
|
@@ -1170,7 +1186,7 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1170
1186
|
align: "right",
|
|
1171
1187
|
headerAlign: "right",
|
|
1172
1188
|
cellClassName: "gloss-tabular-nums",
|
|
1173
|
-
renderCell: ({ row: e }) => e.price ?
|
|
1189
|
+
renderCell: ({ row: e }) => e.price ? q(e.price) : H
|
|
1174
1190
|
},
|
|
1175
1191
|
{
|
|
1176
1192
|
field: "quantity",
|
|
@@ -1180,7 +1196,7 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1180
1196
|
align: "right",
|
|
1181
1197
|
headerAlign: "right",
|
|
1182
1198
|
cellClassName: "gloss-tabular-nums gloss-drillable",
|
|
1183
|
-
renderCell: ({ row: e }) => e.quantity ? oe(e.quantity) :
|
|
1199
|
+
renderCell: ({ row: e }) => e.quantity ? oe(e.quantity) : H
|
|
1184
1200
|
},
|
|
1185
1201
|
{
|
|
1186
1202
|
field: "total",
|
|
@@ -1190,7 +1206,7 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1190
1206
|
align: "right",
|
|
1191
1207
|
headerAlign: "right",
|
|
1192
1208
|
cellClassName: "gloss-tabular-nums gloss-drillable",
|
|
1193
|
-
renderCell: ({ row: e }) => e.total ?
|
|
1209
|
+
renderCell: ({ row: e }) => e.total ? q(e.total) : H
|
|
1194
1210
|
},
|
|
1195
1211
|
{
|
|
1196
1212
|
field: "lastDate",
|
|
@@ -1202,21 +1218,21 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1202
1218
|
cellClassName: "gloss-tabular-nums",
|
|
1203
1219
|
renderCell: ({ row: e }) => e.lastDate ? se(e.lastDate) : ""
|
|
1204
1220
|
}
|
|
1205
|
-
],
|
|
1221
|
+
], Ae = [
|
|
1206
1222
|
{ id: "c-001", label: "ABC Home Goods" },
|
|
1207
1223
|
{ id: "c-002", label: "Riverside Retail" },
|
|
1208
1224
|
{ id: "c-003", label: "Mountain View Store" },
|
|
1209
1225
|
{ id: "c-004", label: "Downtown Decor" },
|
|
1210
1226
|
{ id: "c-005", label: "Pacific Coast Imports" }
|
|
1211
|
-
],
|
|
1227
|
+
], Ee = [
|
|
1212
1228
|
{ id: "i-001", label: "Classic Linen Throw Pillow" },
|
|
1213
1229
|
{ id: "i-002", label: "Coastal Wave Candle Set" },
|
|
1214
1230
|
{ id: "i-003", label: "Walnut Console Table" },
|
|
1215
1231
|
{ id: "i-004", label: "Hand-Blown Glass Vase" },
|
|
1216
1232
|
{ id: "i-005", label: "Velvet Accent Cushion" }
|
|
1217
|
-
],
|
|
1218
|
-
},
|
|
1219
|
-
},
|
|
1233
|
+
], W = (e) => {
|
|
1234
|
+
}, Le = (e) => {
|
|
1235
|
+
}, ee = (e, t) => {
|
|
1220
1236
|
}, ie = {
|
|
1221
1237
|
vizState: {
|
|
1222
1238
|
type: "orders",
|
|
@@ -1225,16 +1241,16 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1225
1241
|
byItem: { id: null, name: null },
|
|
1226
1242
|
timeFrame: "MTD"
|
|
1227
1243
|
},
|
|
1228
|
-
onTypeChange:
|
|
1229
|
-
onQuantChange:
|
|
1230
|
-
onEntityTypeChange:
|
|
1231
|
-
onEntitySelect:
|
|
1232
|
-
onItemSelect:
|
|
1233
|
-
onTimeFrameChange:
|
|
1244
|
+
onTypeChange: W,
|
|
1245
|
+
onQuantChange: Le,
|
|
1246
|
+
onEntityTypeChange: W,
|
|
1247
|
+
onEntitySelect: ee,
|
|
1248
|
+
onItemSelect: ee,
|
|
1249
|
+
onTimeFrameChange: W,
|
|
1234
1250
|
userType: "sales-agency",
|
|
1235
|
-
entityFilterOptions:
|
|
1236
|
-
itemFilterOptions:
|
|
1237
|
-
},
|
|
1251
|
+
entityFilterOptions: Ae,
|
|
1252
|
+
itemFilterOptions: Ee
|
|
1253
|
+
}, Rt = {
|
|
1238
1254
|
...ie,
|
|
1239
1255
|
vizState: {
|
|
1240
1256
|
type: "items",
|
|
@@ -1243,7 +1259,7 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1243
1259
|
byItem: { id: "i-003", name: "Walnut Console Table" },
|
|
1244
1260
|
timeFrame: "YTD"
|
|
1245
1261
|
}
|
|
1246
|
-
},
|
|
1262
|
+
}, Mt = {
|
|
1247
1263
|
...ie,
|
|
1248
1264
|
vizState: {
|
|
1249
1265
|
type: "orders",
|
|
@@ -1256,7 +1272,7 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1256
1272
|
entityFilterOptions: [
|
|
1257
1273
|
{ id: "customers", label: "Customers" }
|
|
1258
1274
|
]
|
|
1259
|
-
},
|
|
1275
|
+
}, Be = [
|
|
1260
1276
|
{
|
|
1261
1277
|
id: "recent-orders",
|
|
1262
1278
|
label: "Recent Orders",
|
|
@@ -1302,7 +1318,7 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1302
1318
|
routeKey: "customer.profile",
|
|
1303
1319
|
subtitle: "Opens in RepTime"
|
|
1304
1320
|
}
|
|
1305
|
-
],
|
|
1321
|
+
], Ge = [
|
|
1306
1322
|
{
|
|
1307
1323
|
id: "order-items",
|
|
1308
1324
|
label: "Items in Order",
|
|
@@ -1331,7 +1347,7 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1331
1347
|
cellKinds: ["orderId"],
|
|
1332
1348
|
graphType: "timeline"
|
|
1333
1349
|
}
|
|
1334
|
-
],
|
|
1350
|
+
], $e = [
|
|
1335
1351
|
{
|
|
1336
1352
|
id: "graph-metric",
|
|
1337
1353
|
label: "Graph This Metric",
|
|
@@ -1359,14 +1375,14 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1359
1375
|
cellKinds: ["numeric"],
|
|
1360
1376
|
tabType: "orders"
|
|
1361
1377
|
}
|
|
1362
|
-
],
|
|
1363
|
-
entityName:
|
|
1364
|
-
orderId:
|
|
1365
|
-
numeric:
|
|
1366
|
-
},
|
|
1378
|
+
], Ft = {
|
|
1379
|
+
entityName: Be,
|
|
1380
|
+
orderId: Ge,
|
|
1381
|
+
numeric: $e
|
|
1382
|
+
}, Ot = [
|
|
1367
1383
|
new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), (/* @__PURE__ */ new Date()).getDate() - 29),
|
|
1368
1384
|
/* @__PURE__ */ new Date()
|
|
1369
|
-
],
|
|
1385
|
+
], At = {
|
|
1370
1386
|
rangeA: [
|
|
1371
1387
|
new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), 1),
|
|
1372
1388
|
/* @__PURE__ */ new Date()
|
|
@@ -1379,7 +1395,7 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1379
1395
|
new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth() - 2, 1),
|
|
1380
1396
|
new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth() - 1, 0)
|
|
1381
1397
|
]
|
|
1382
|
-
},
|
|
1398
|
+
}, Et = {
|
|
1383
1399
|
version: 4,
|
|
1384
1400
|
lastPreset: "mtd",
|
|
1385
1401
|
pinnedPreset: "mtd",
|
|
@@ -1387,7 +1403,7 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1387
1403
|
rangeCount: 1,
|
|
1388
1404
|
lastPresetB: null,
|
|
1389
1405
|
lastPresetC: null
|
|
1390
|
-
},
|
|
1406
|
+
}, Lt = [
|
|
1391
1407
|
{
|
|
1392
1408
|
id: "atlanta-jan",
|
|
1393
1409
|
label: "Atlanta Market",
|
|
@@ -1409,7 +1425,7 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1409
1425
|
endDate: new Date(2026, 3, 22),
|
|
1410
1426
|
location: "Chicago, IL"
|
|
1411
1427
|
}
|
|
1412
|
-
],
|
|
1428
|
+
], Bt = [
|
|
1413
1429
|
{
|
|
1414
1430
|
id: "custom-regional-1",
|
|
1415
1431
|
label: "Southeast Regional Expo",
|
|
@@ -1426,7 +1442,7 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1426
1442
|
location: "Portland, OR",
|
|
1427
1443
|
isCustom: !0
|
|
1428
1444
|
}
|
|
1429
|
-
],
|
|
1445
|
+
], Gt = [
|
|
1430
1446
|
{
|
|
1431
1447
|
id: "atlanta-jan",
|
|
1432
1448
|
label: "Atlanta Market",
|
|
@@ -1443,22 +1459,22 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1443
1459
|
location: "New York, NY",
|
|
1444
1460
|
active: !0
|
|
1445
1461
|
}
|
|
1446
|
-
],
|
|
1462
|
+
], $t = [
|
|
1447
1463
|
{ id: "7d", label: "7D" },
|
|
1448
1464
|
{ id: "30d", label: "30D" },
|
|
1449
1465
|
{ id: "60d", label: "60D" },
|
|
1450
1466
|
{ id: "90d", label: "90D" }
|
|
1451
|
-
],
|
|
1467
|
+
], Ht = [
|
|
1452
1468
|
{ id: "mtd", label: "MTD" },
|
|
1453
1469
|
{ id: "qtd", label: "QTD" },
|
|
1454
1470
|
{ id: "ytd", label: "YTD" },
|
|
1455
1471
|
{ id: "lytd", label: "LYTD" }
|
|
1456
1472
|
];
|
|
1457
|
-
function
|
|
1473
|
+
function M(e, t) {
|
|
1458
1474
|
return {
|
|
1459
1475
|
id: e,
|
|
1460
1476
|
colSpan: 1,
|
|
1461
|
-
content:
|
|
1477
|
+
content: I.createElement("div", {
|
|
1462
1478
|
style: {
|
|
1463
1479
|
width: "100%",
|
|
1464
1480
|
height: "100%",
|
|
@@ -1474,38 +1490,38 @@ function P(e, t) {
|
|
|
1474
1490
|
}, t)
|
|
1475
1491
|
};
|
|
1476
1492
|
}
|
|
1477
|
-
function
|
|
1493
|
+
function te(e, t) {
|
|
1478
1494
|
return {
|
|
1479
|
-
...
|
|
1495
|
+
...M(e, t),
|
|
1480
1496
|
colSpan: 2
|
|
1481
1497
|
};
|
|
1482
1498
|
}
|
|
1483
|
-
const
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
],
|
|
1499
|
+
const zt = [
|
|
1500
|
+
M("total-revenue", "Total Revenue"),
|
|
1501
|
+
M("total-orders", "Total Orders"),
|
|
1502
|
+
te("revenue-trend", "Revenue Trend (2x)"),
|
|
1503
|
+
M("avg-order", "Avg Order Value"),
|
|
1504
|
+
M("new-customers", "New Customers"),
|
|
1505
|
+
M("top-salesperson", "Top Salesperson"),
|
|
1506
|
+
te("order-trend", "Order Trend (2x)"),
|
|
1507
|
+
M("repeat-rate", "Repeat Rate"),
|
|
1508
|
+
M("open-orders", "Open Orders"),
|
|
1509
|
+
M("shipped-orders", "Shipped Orders")
|
|
1510
|
+
], Kt = {
|
|
1495
1511
|
columns: 6,
|
|
1496
1512
|
rowHeight: 120,
|
|
1497
1513
|
gap: 15,
|
|
1498
1514
|
maxRows: 3,
|
|
1499
1515
|
currentPage: 0,
|
|
1500
1516
|
totalPages: 1
|
|
1501
|
-
},
|
|
1517
|
+
}, Wt = {
|
|
1502
1518
|
columns: 9,
|
|
1503
1519
|
rowHeight: 120,
|
|
1504
1520
|
gap: 15,
|
|
1505
1521
|
maxRows: 3,
|
|
1506
1522
|
currentPage: 0,
|
|
1507
1523
|
totalPages: 2
|
|
1508
|
-
},
|
|
1524
|
+
}, Zt = {
|
|
1509
1525
|
columns: 12,
|
|
1510
1526
|
rowHeight: 120,
|
|
1511
1527
|
gap: 15,
|
|
@@ -1513,15 +1529,15 @@ const Yt = [
|
|
|
1513
1529
|
currentPage: 0,
|
|
1514
1530
|
totalPages: 3
|
|
1515
1531
|
};
|
|
1516
|
-
function
|
|
1517
|
-
return
|
|
1532
|
+
function Z(e) {
|
|
1533
|
+
return I.createElement("span", { style: { fontSize: 14 } }, e);
|
|
1518
1534
|
}
|
|
1519
|
-
const
|
|
1535
|
+
const Yt = [
|
|
1520
1536
|
{
|
|
1521
1537
|
id: "all-orders",
|
|
1522
1538
|
type: "orders",
|
|
1523
1539
|
name: "All Orders",
|
|
1524
|
-
icon:
|
|
1540
|
+
icon: Z("📋"),
|
|
1525
1541
|
closable: !1,
|
|
1526
1542
|
autoCreated: !0
|
|
1527
1543
|
},
|
|
@@ -1529,17 +1545,17 @@ const jt = [
|
|
|
1529
1545
|
id: "open-orders",
|
|
1530
1546
|
type: "orders",
|
|
1531
1547
|
name: "Open Orders",
|
|
1532
|
-
icon:
|
|
1548
|
+
icon: Z("📦"),
|
|
1533
1549
|
closable: !0
|
|
1534
1550
|
},
|
|
1535
1551
|
{
|
|
1536
1552
|
id: "shipped-orders",
|
|
1537
1553
|
type: "orders",
|
|
1538
1554
|
name: "Shipped Orders",
|
|
1539
|
-
icon:
|
|
1555
|
+
icon: Z("🚚"),
|
|
1540
1556
|
closable: !0
|
|
1541
1557
|
}
|
|
1542
|
-
],
|
|
1558
|
+
], qt = [
|
|
1543
1559
|
{
|
|
1544
1560
|
id: "orders-main",
|
|
1545
1561
|
type: "orders",
|
|
@@ -1565,7 +1581,7 @@ const jt = [
|
|
|
1565
1581
|
name: "Customers",
|
|
1566
1582
|
closable: !0
|
|
1567
1583
|
}
|
|
1568
|
-
],
|
|
1584
|
+
], Vt = [
|
|
1569
1585
|
{
|
|
1570
1586
|
id: "only-tab",
|
|
1571
1587
|
type: "orders",
|
|
@@ -1573,7 +1589,7 @@ const jt = [
|
|
|
1573
1589
|
closable: !1,
|
|
1574
1590
|
autoCreated: !0
|
|
1575
1591
|
}
|
|
1576
|
-
],
|
|
1592
|
+
], Ut = [
|
|
1577
1593
|
{ id: "tab-1", type: "orders", name: "All Orders", closable: !1, autoCreated: !0 },
|
|
1578
1594
|
{ id: "tab-2", type: "orders", name: "Open Orders", closable: !0 },
|
|
1579
1595
|
{ id: "tab-3", type: "orders", name: "Shipped Orders", closable: !0 },
|
|
@@ -1585,7 +1601,7 @@ const jt = [
|
|
|
1585
1601
|
{ id: "tab-9", type: "order-items", name: "Order #12345", closable: !0 },
|
|
1586
1602
|
{ id: "tab-10", type: "orders", name: "Recent 30D", closable: !0 }
|
|
1587
1603
|
];
|
|
1588
|
-
function
|
|
1604
|
+
function V(e) {
|
|
1589
1605
|
switch (e) {
|
|
1590
1606
|
case "wide":
|
|
1591
1607
|
return { cols: 2, rows: 1 };
|
|
@@ -1596,24 +1612,24 @@ function Y(e) {
|
|
|
1596
1612
|
return { cols: 1, rows: 1 };
|
|
1597
1613
|
}
|
|
1598
1614
|
}
|
|
1599
|
-
function
|
|
1615
|
+
function He(e) {
|
|
1600
1616
|
let t = 0;
|
|
1601
1617
|
for (const a of e) {
|
|
1602
|
-
const n =
|
|
1618
|
+
const n = V(a.size), o = a.gridPosition.col + n.cols - 1;
|
|
1603
1619
|
o > t && (t = o);
|
|
1604
1620
|
}
|
|
1605
1621
|
return `repeat(${t > 0 ? t : Math.max(e.length, 1)}, minmax(0, 1fr))`;
|
|
1606
1622
|
}
|
|
1607
|
-
const
|
|
1623
|
+
const ze = function(t) {
|
|
1608
1624
|
if (t.renderMode === "discrete")
|
|
1609
|
-
return /* @__PURE__ */
|
|
1625
|
+
return /* @__PURE__ */ c(
|
|
1610
1626
|
"div",
|
|
1611
1627
|
{
|
|
1612
1628
|
className: "gloss-metric-group gloss-metric-group--discrete",
|
|
1613
1629
|
style: { display: "contents" },
|
|
1614
1630
|
children: t.cards.map((n) => {
|
|
1615
|
-
const o =
|
|
1616
|
-
return /* @__PURE__ */
|
|
1631
|
+
const o = V(n.size);
|
|
1632
|
+
return /* @__PURE__ */ c(
|
|
1617
1633
|
"div",
|
|
1618
1634
|
{
|
|
1619
1635
|
className: "gloss-metric-group__slot",
|
|
@@ -1629,7 +1645,7 @@ const qe = function(t) {
|
|
|
1629
1645
|
}
|
|
1630
1646
|
);
|
|
1631
1647
|
const { cards: r, composite: a } = t;
|
|
1632
|
-
return /* @__PURE__ */
|
|
1648
|
+
return /* @__PURE__ */ P(
|
|
1633
1649
|
"div",
|
|
1634
1650
|
{
|
|
1635
1651
|
className: "gloss-metric-group gloss-metric-group--composite",
|
|
@@ -1648,16 +1664,16 @@ const qe = function(t) {
|
|
|
1648
1664
|
"aria-label": a?.label,
|
|
1649
1665
|
tabIndex: void 0,
|
|
1650
1666
|
children: [
|
|
1651
|
-
a?.accentColor && /* @__PURE__ */
|
|
1667
|
+
a?.accentColor && /* @__PURE__ */ c(
|
|
1652
1668
|
"div",
|
|
1653
1669
|
{
|
|
1654
1670
|
className: "gloss-metric-group__accent",
|
|
1655
1671
|
style: { background: a.accentColor }
|
|
1656
1672
|
}
|
|
1657
1673
|
),
|
|
1658
|
-
a?.label && /* @__PURE__ */
|
|
1659
|
-
/* @__PURE__ */
|
|
1660
|
-
a?.trend && /* @__PURE__ */
|
|
1674
|
+
a?.label && /* @__PURE__ */ P("div", { className: "gloss-metric-group__label", children: [
|
|
1675
|
+
/* @__PURE__ */ c("span", { children: a.label }),
|
|
1676
|
+
a?.trend && /* @__PURE__ */ c(
|
|
1661
1677
|
"span",
|
|
1662
1678
|
{
|
|
1663
1679
|
className: "gloss-metric-group__trend",
|
|
@@ -1666,18 +1682,18 @@ const qe = function(t) {
|
|
|
1666
1682
|
}
|
|
1667
1683
|
)
|
|
1668
1684
|
] }),
|
|
1669
|
-
/* @__PURE__ */
|
|
1685
|
+
/* @__PURE__ */ c(
|
|
1670
1686
|
"div",
|
|
1671
1687
|
{
|
|
1672
1688
|
className: "gloss-metric-group__slots",
|
|
1673
1689
|
style: {
|
|
1674
1690
|
display: "grid",
|
|
1675
1691
|
gap: "var(--gloss-spacing-2, 8px)",
|
|
1676
|
-
gridTemplateColumns:
|
|
1692
|
+
gridTemplateColumns: He(r)
|
|
1677
1693
|
},
|
|
1678
1694
|
children: r.map((n) => {
|
|
1679
|
-
const o =
|
|
1680
|
-
return /* @__PURE__ */
|
|
1695
|
+
const o = V(n.size);
|
|
1696
|
+
return /* @__PURE__ */ c(
|
|
1681
1697
|
"div",
|
|
1682
1698
|
{
|
|
1683
1699
|
className: "gloss-metric-group__slot--composite",
|
|
@@ -1696,7 +1712,7 @@ const qe = function(t) {
|
|
|
1696
1712
|
}
|
|
1697
1713
|
);
|
|
1698
1714
|
};
|
|
1699
|
-
|
|
1715
|
+
ze.displayName = "MetricGroupContainer";
|
|
1700
1716
|
const L = {
|
|
1701
1717
|
"gloss-inline-nudge": "_gloss-inline-nudge_kdk88_34",
|
|
1702
1718
|
"gloss-inline-nudge__message": "_gloss-inline-nudge__message_kdk88_65",
|
|
@@ -1705,44 +1721,44 @@ const L = {
|
|
|
1705
1721
|
"gloss-inline-nudge__btn--action": "_gloss-inline-nudge__btn--action_kdk88_88",
|
|
1706
1722
|
"gloss-inline-nudge__btn--dismiss": "_gloss-inline-nudge__btn--dismiss_kdk88_96"
|
|
1707
1723
|
};
|
|
1708
|
-
function
|
|
1724
|
+
function Ke({
|
|
1709
1725
|
message: e,
|
|
1710
1726
|
primaryAction: t,
|
|
1711
1727
|
onDismiss: r,
|
|
1712
1728
|
anchorEl: a,
|
|
1713
1729
|
anchorSelector: n
|
|
1714
1730
|
}) {
|
|
1715
|
-
const [o, s] =
|
|
1731
|
+
const [o, s] = I.useState(null), d = I.useMemo(
|
|
1716
1732
|
() => typeof window < "u" && window.matchMedia ? window.matchMedia("(prefers-reduced-motion: reduce)").matches : !1,
|
|
1717
1733
|
[]
|
|
1718
1734
|
);
|
|
1719
|
-
|
|
1735
|
+
I.useEffect(() => {
|
|
1720
1736
|
!a && !n && (typeof process > "u" || process.env.NODE_ENV !== "production") && console.error(
|
|
1721
1737
|
"[InlineNudge] requires anchorEl or anchorSelector. AP-07: Do not mount InlineNudge in Layout/** or _app.tsx."
|
|
1722
1738
|
);
|
|
1723
|
-
}, [a, n]),
|
|
1724
|
-
let
|
|
1725
|
-
if (a ?
|
|
1726
|
-
const
|
|
1739
|
+
}, [a, n]), I.useLayoutEffect(() => {
|
|
1740
|
+
let p = null;
|
|
1741
|
+
if (a ? p = a : n && (p = document.querySelector(n)), p) {
|
|
1742
|
+
const b = p.getBoundingClientRect();
|
|
1727
1743
|
s({
|
|
1728
|
-
top:
|
|
1729
|
-
left:
|
|
1744
|
+
top: b.bottom + window.scrollY + 6,
|
|
1745
|
+
left: b.left + window.scrollX
|
|
1730
1746
|
});
|
|
1731
1747
|
}
|
|
1732
1748
|
}, [a, n]);
|
|
1733
|
-
const
|
|
1734
|
-
return /* @__PURE__ */
|
|
1749
|
+
const u = o ? { top: o.top, left: o.left } : {};
|
|
1750
|
+
return /* @__PURE__ */ P(
|
|
1735
1751
|
"div",
|
|
1736
1752
|
{
|
|
1737
1753
|
className: L["gloss-inline-nudge"],
|
|
1738
|
-
style:
|
|
1754
|
+
style: u,
|
|
1739
1755
|
role: "status",
|
|
1740
1756
|
"aria-live": "polite",
|
|
1741
|
-
"data-reduced-motion":
|
|
1757
|
+
"data-reduced-motion": d ? "true" : void 0,
|
|
1742
1758
|
children: [
|
|
1743
|
-
/* @__PURE__ */
|
|
1744
|
-
/* @__PURE__ */
|
|
1745
|
-
/* @__PURE__ */
|
|
1759
|
+
/* @__PURE__ */ c("span", { className: L["gloss-inline-nudge__message"], children: e }),
|
|
1760
|
+
/* @__PURE__ */ P("div", { className: L["gloss-inline-nudge__actions"], children: [
|
|
1761
|
+
/* @__PURE__ */ c(
|
|
1746
1762
|
"button",
|
|
1747
1763
|
{
|
|
1748
1764
|
type: "button",
|
|
@@ -1751,7 +1767,7 @@ function Ve({
|
|
|
1751
1767
|
children: t.label
|
|
1752
1768
|
}
|
|
1753
1769
|
),
|
|
1754
|
-
/* @__PURE__ */
|
|
1770
|
+
/* @__PURE__ */ c(
|
|
1755
1771
|
"button",
|
|
1756
1772
|
{
|
|
1757
1773
|
type: "button",
|
|
@@ -1766,80 +1782,80 @@ function Ve({
|
|
|
1766
1782
|
}
|
|
1767
1783
|
);
|
|
1768
1784
|
}
|
|
1769
|
-
|
|
1785
|
+
Ke.displayName = "InlineNudge";
|
|
1770
1786
|
function le(e) {
|
|
1771
1787
|
return e.colorToken ? `var(--gloss-color-${e.colorToken}, ${e.color ?? "#888"})` : e.color ?? "#888";
|
|
1772
1788
|
}
|
|
1773
|
-
function
|
|
1774
|
-
const a = r - t || 1, o = [...e].sort((s,
|
|
1775
|
-
const
|
|
1776
|
-
return `${le(s)} ${
|
|
1789
|
+
function We(e, t, r) {
|
|
1790
|
+
const a = r - t || 1, o = [...e].sort((s, d) => s.value - d.value).map((s) => {
|
|
1791
|
+
const d = (s.value - t) / a * 100;
|
|
1792
|
+
return `${le(s)} ${d.toFixed(2)}%`;
|
|
1777
1793
|
});
|
|
1778
1794
|
return o.length === 0 ? "linear-gradient(to right, #888 0%, #888 100%)" : o.length === 1 ? `linear-gradient(to right, ${o[0]}, ${o[0]})` : `linear-gradient(to right, ${o.join(", ")})`;
|
|
1779
1795
|
}
|
|
1780
|
-
function
|
|
1796
|
+
function Ze({
|
|
1781
1797
|
stops: e,
|
|
1782
1798
|
onChange: t,
|
|
1783
1799
|
min: r = 0,
|
|
1784
1800
|
max: a = 100,
|
|
1785
1801
|
disabled: n = !1
|
|
1786
1802
|
}) {
|
|
1787
|
-
const o = F(null), [s,
|
|
1788
|
-
|
|
1789
|
-
const
|
|
1803
|
+
const o = F(null), [s, d] = R(null), [u, p] = R(e), b = F(e);
|
|
1804
|
+
b.current !== e && (b.current = e, p(e));
|
|
1805
|
+
const D = ge(() => We(u, r, a), [u, r, a]), g = f(
|
|
1790
1806
|
(i) => {
|
|
1791
1807
|
if (!o.current) return r;
|
|
1792
|
-
const
|
|
1793
|
-
return Math.round(
|
|
1808
|
+
const v = o.current.getBoundingClientRect(), N = Math.max(0, Math.min(1, (i - v.left) / v.width)), y = r + N * (a - r);
|
|
1809
|
+
return Math.round(y * 100) / 100;
|
|
1794
1810
|
},
|
|
1795
1811
|
[r, a]
|
|
1796
|
-
), l =
|
|
1797
|
-
(i,
|
|
1798
|
-
const
|
|
1799
|
-
n ||
|
|
1812
|
+
), l = f(
|
|
1813
|
+
(i, v) => {
|
|
1814
|
+
const N = u.find((y) => y.id === v);
|
|
1815
|
+
n || N?.disabled || (typeof i.currentTarget.setPointerCapture == "function" && i.currentTarget.setPointerCapture(i.pointerId), d(v));
|
|
1800
1816
|
},
|
|
1801
|
-
[n,
|
|
1802
|
-
), h =
|
|
1817
|
+
[n, u]
|
|
1818
|
+
), h = f(
|
|
1803
1819
|
(i) => {
|
|
1804
1820
|
if (!s) return;
|
|
1805
|
-
const
|
|
1806
|
-
|
|
1807
|
-
(
|
|
1821
|
+
const v = g(i.clientX);
|
|
1822
|
+
p(
|
|
1823
|
+
(N) => N.map((y) => y.id === s ? { ...y, value: v } : y)
|
|
1808
1824
|
);
|
|
1809
1825
|
},
|
|
1810
1826
|
[s, g]
|
|
1811
|
-
), S =
|
|
1827
|
+
), S = f(
|
|
1812
1828
|
(i) => {
|
|
1813
1829
|
if (!s) return;
|
|
1814
|
-
const
|
|
1815
|
-
(
|
|
1830
|
+
const v = g(i.clientX), N = u.map(
|
|
1831
|
+
(y) => y.id === s ? { ...y, value: v } : y
|
|
1816
1832
|
);
|
|
1817
|
-
|
|
1833
|
+
p(N), d(null), t(N);
|
|
1818
1834
|
},
|
|
1819
|
-
[s, g,
|
|
1820
|
-
),
|
|
1821
|
-
return /* @__PURE__ */
|
|
1835
|
+
[s, g, u, t]
|
|
1836
|
+
), T = a - r || 1;
|
|
1837
|
+
return /* @__PURE__ */ c("div", { className: "gloss-threshold-ramp", "data-disabled": n || void 0, children: /* @__PURE__ */ c(
|
|
1822
1838
|
"div",
|
|
1823
1839
|
{
|
|
1824
1840
|
ref: o,
|
|
1825
1841
|
className: "gloss-threshold-ramp__track",
|
|
1826
|
-
style: { background:
|
|
1842
|
+
style: { background: D },
|
|
1827
1843
|
onPointerMove: h,
|
|
1828
1844
|
onPointerUp: S,
|
|
1829
1845
|
onPointerLeave: S,
|
|
1830
|
-
children:
|
|
1831
|
-
const
|
|
1832
|
-
return /* @__PURE__ */
|
|
1846
|
+
children: u.map((i) => {
|
|
1847
|
+
const v = (i.value - r) / T * 100;
|
|
1848
|
+
return /* @__PURE__ */ c(
|
|
1833
1849
|
"span",
|
|
1834
1850
|
{
|
|
1835
1851
|
className: "gloss-threshold-ramp__stop",
|
|
1836
1852
|
style: {
|
|
1837
|
-
left: `${
|
|
1853
|
+
left: `${v}%`,
|
|
1838
1854
|
color: le(i)
|
|
1839
1855
|
},
|
|
1840
1856
|
"data-disabled": i.disabled || void 0,
|
|
1841
1857
|
"data-dragging": s === i.id || void 0,
|
|
1842
|
-
onPointerDown: (
|
|
1858
|
+
onPointerDown: (N) => l(N, i.id),
|
|
1843
1859
|
"aria-label": i.label ?? `Stop at ${i.value}`,
|
|
1844
1860
|
role: "slider",
|
|
1845
1861
|
"aria-valuenow": i.value,
|
|
@@ -1853,16 +1869,16 @@ function je({
|
|
|
1853
1869
|
}
|
|
1854
1870
|
) });
|
|
1855
1871
|
}
|
|
1856
|
-
|
|
1857
|
-
const de =
|
|
1858
|
-
function
|
|
1859
|
-
return
|
|
1872
|
+
Ze.displayName = "ThresholdRamp";
|
|
1873
|
+
const de = be(null);
|
|
1874
|
+
function Ye() {
|
|
1875
|
+
return he(de);
|
|
1860
1876
|
}
|
|
1861
|
-
function
|
|
1862
|
-
const t =
|
|
1877
|
+
function qe({ option: e }) {
|
|
1878
|
+
const t = Ye(), r = t?.isSelected(e.value) ?? !1, a = e.disabled || t?.groupDisabled, n = f(() => {
|
|
1863
1879
|
a || t?.select(e.value);
|
|
1864
1880
|
}, [a, t, e.value]), o = e.colorToken ? `var(--gloss-color-${e.colorToken}, ${e.color ?? "#888"})` : e.color ?? "#888";
|
|
1865
|
-
return /* @__PURE__ */
|
|
1881
|
+
return /* @__PURE__ */ c(
|
|
1866
1882
|
"button",
|
|
1867
1883
|
{
|
|
1868
1884
|
type: "button",
|
|
@@ -1879,7 +1895,7 @@ function Xe({ option: e }) {
|
|
|
1879
1895
|
}
|
|
1880
1896
|
);
|
|
1881
1897
|
}
|
|
1882
|
-
function
|
|
1898
|
+
function Ve({
|
|
1883
1899
|
swatches: e,
|
|
1884
1900
|
value: t,
|
|
1885
1901
|
defaultValue: r,
|
|
@@ -1887,22 +1903,22 @@ function Je({
|
|
|
1887
1903
|
disabled: n = !1,
|
|
1888
1904
|
name: o
|
|
1889
1905
|
}) {
|
|
1890
|
-
const s = t !== void 0, [
|
|
1906
|
+
const s = t !== void 0, [d, u] = R(r), p = s ? t : d, b = f(
|
|
1891
1907
|
(l) => {
|
|
1892
|
-
s ||
|
|
1908
|
+
s || u(l), a?.(l);
|
|
1893
1909
|
},
|
|
1894
1910
|
[s, a]
|
|
1895
|
-
),
|
|
1896
|
-
(l) =>
|
|
1897
|
-
[
|
|
1911
|
+
), D = f(
|
|
1912
|
+
(l) => p === l,
|
|
1913
|
+
[p]
|
|
1898
1914
|
), g = {
|
|
1899
|
-
selectedValue:
|
|
1900
|
-
select:
|
|
1901
|
-
isSelected:
|
|
1915
|
+
selectedValue: p,
|
|
1916
|
+
select: b,
|
|
1917
|
+
isSelected: D,
|
|
1902
1918
|
groupDisabled: n,
|
|
1903
1919
|
name: o
|
|
1904
1920
|
};
|
|
1905
|
-
return /* @__PURE__ */
|
|
1921
|
+
return /* @__PURE__ */ c(de.Provider, { value: g, children: /* @__PURE__ */ c(
|
|
1906
1922
|
"div",
|
|
1907
1923
|
{
|
|
1908
1924
|
className: "gloss-preset-swatch-row",
|
|
@@ -1910,99 +1926,99 @@ function Je({
|
|
|
1910
1926
|
"aria-label": o,
|
|
1911
1927
|
"aria-disabled": n,
|
|
1912
1928
|
"data-disabled": n || void 0,
|
|
1913
|
-
children: e.map((l) => /* @__PURE__ */
|
|
1929
|
+
children: e.map((l) => /* @__PURE__ */ c(qe, { option: l }, l.value))
|
|
1914
1930
|
}
|
|
1915
1931
|
) });
|
|
1916
1932
|
}
|
|
1917
|
-
|
|
1918
|
-
function
|
|
1933
|
+
Ve.displayName = "PresetSwatchRow";
|
|
1934
|
+
function U(e, t) {
|
|
1919
1935
|
for (const r of e)
|
|
1920
1936
|
if (r.items.some((a) => a.id === t))
|
|
1921
1937
|
return r.zoneKey;
|
|
1922
1938
|
return null;
|
|
1923
1939
|
}
|
|
1924
|
-
function
|
|
1940
|
+
function ae(e, t) {
|
|
1925
1941
|
const r = e.find((a) => a.zoneKey === t);
|
|
1926
|
-
return r ? r.zoneKey :
|
|
1942
|
+
return r ? r.zoneKey : U(e, t);
|
|
1927
1943
|
}
|
|
1928
|
-
function
|
|
1944
|
+
function Ue(e, t, r) {
|
|
1929
1945
|
const a = [...e], [n] = a.splice(t, 1);
|
|
1930
1946
|
return a.splice(r, 0, n), a;
|
|
1931
1947
|
}
|
|
1932
|
-
function
|
|
1933
|
-
const [t, r] =
|
|
1934
|
-
|
|
1935
|
-
const
|
|
1948
|
+
function je(e) {
|
|
1949
|
+
const [t, r] = R(() => e.zones), [a, n] = R(null), [o, s] = R(null), d = F(null), u = F(e.onZoneChange);
|
|
1950
|
+
u.current = e.onZoneChange;
|
|
1951
|
+
const p = f(
|
|
1936
1952
|
(h) => {
|
|
1937
1953
|
const S = h.active.id;
|
|
1938
|
-
let
|
|
1939
|
-
for (const
|
|
1940
|
-
const
|
|
1941
|
-
if (
|
|
1942
|
-
|
|
1954
|
+
let T = null, i = null;
|
|
1955
|
+
for (const v of t) {
|
|
1956
|
+
const N = v.items.find((y) => y.id === S);
|
|
1957
|
+
if (N) {
|
|
1958
|
+
T = N, i = v.zoneKey;
|
|
1943
1959
|
break;
|
|
1944
1960
|
}
|
|
1945
1961
|
}
|
|
1946
|
-
|
|
1962
|
+
d.current = i, n(T), s(i);
|
|
1947
1963
|
},
|
|
1948
1964
|
[t]
|
|
1949
|
-
),
|
|
1965
|
+
), b = f(
|
|
1950
1966
|
(h) => {
|
|
1951
1967
|
if (!h.over) {
|
|
1952
|
-
s(
|
|
1968
|
+
s(d.current);
|
|
1953
1969
|
return;
|
|
1954
1970
|
}
|
|
1955
|
-
const S =
|
|
1971
|
+
const S = ae(t, h.over.id);
|
|
1956
1972
|
s(S);
|
|
1957
1973
|
},
|
|
1958
1974
|
[t]
|
|
1959
|
-
),
|
|
1975
|
+
), D = f(
|
|
1960
1976
|
(h) => {
|
|
1961
|
-
const { active: S, over:
|
|
1962
|
-
|
|
1977
|
+
const { active: S, over: T } = h, i = () => {
|
|
1978
|
+
d.current = null, n(null), s(null);
|
|
1963
1979
|
};
|
|
1964
|
-
if (!
|
|
1980
|
+
if (!T) {
|
|
1965
1981
|
i();
|
|
1966
1982
|
return;
|
|
1967
1983
|
}
|
|
1968
|
-
const
|
|
1969
|
-
if (!
|
|
1984
|
+
const v = U(t, S.id), N = ae(t, T.id);
|
|
1985
|
+
if (!v || !N) {
|
|
1970
1986
|
i();
|
|
1971
1987
|
return;
|
|
1972
1988
|
}
|
|
1973
|
-
let
|
|
1974
|
-
if (
|
|
1975
|
-
const
|
|
1976
|
-
|
|
1977
|
-
...
|
|
1978
|
-
items:
|
|
1989
|
+
let y = t.map((x) => ({ ...x, items: [...x.items] }));
|
|
1990
|
+
if (v === N) {
|
|
1991
|
+
const x = y.findIndex((k) => k.zoneKey === v), m = y[x], w = m.items.findIndex((k) => k.id === S.id), C = m.items.findIndex((k) => k.id === T.id), O = C >= 0 ? C : m.items.length - 1;
|
|
1992
|
+
y[x] = {
|
|
1993
|
+
...m,
|
|
1994
|
+
items: Ue(m.items, w, O)
|
|
1979
1995
|
};
|
|
1980
1996
|
} else {
|
|
1981
|
-
const
|
|
1982
|
-
let
|
|
1997
|
+
const x = y.findIndex((_) => _.zoneKey === v), m = y.findIndex((_) => _.zoneKey === N), w = y[x], C = y[m], O = w.items.find((_) => _.id === S.id), k = w.items.filter((_) => _.id !== S.id), E = C.items.findIndex((_) => _.id === T.id), G = E >= 0 ? E : C.items.length;
|
|
1998
|
+
let Q = k, A = [...C.items];
|
|
1983
1999
|
if (C.maxItems !== void 0 && A.length >= C.maxItems) {
|
|
1984
|
-
const
|
|
1985
|
-
A = A.slice(0, C.maxItems - 1),
|
|
2000
|
+
const _ = A[A.length - 1];
|
|
2001
|
+
A = A.slice(0, C.maxItems - 1), Q = [...k, _];
|
|
1986
2002
|
}
|
|
1987
|
-
const
|
|
1988
|
-
...A.slice(0,
|
|
2003
|
+
const X = Math.min(G, A.length), me = [
|
|
2004
|
+
...A.slice(0, X),
|
|
1989
2005
|
O,
|
|
1990
|
-
...A.slice(
|
|
2006
|
+
...A.slice(X)
|
|
1991
2007
|
];
|
|
1992
|
-
|
|
2008
|
+
y[x] = { ...w, items: Q }, y[m] = { ...C, items: me };
|
|
1993
2009
|
}
|
|
1994
|
-
r(
|
|
2010
|
+
r(y), u.current?.(y), i();
|
|
1995
2011
|
},
|
|
1996
2012
|
[t]
|
|
1997
|
-
), g =
|
|
2013
|
+
), g = f(
|
|
1998
2014
|
(h) => ({
|
|
1999
2015
|
id: h,
|
|
2000
2016
|
"data-zone-key": h
|
|
2001
2017
|
}),
|
|
2002
2018
|
[]
|
|
2003
|
-
), l =
|
|
2019
|
+
), l = f(
|
|
2004
2020
|
(h) => {
|
|
2005
|
-
const S =
|
|
2021
|
+
const S = U(t, h.id) ?? "";
|
|
2006
2022
|
return {
|
|
2007
2023
|
id: h.id,
|
|
2008
2024
|
"data-item-id": h.id,
|
|
@@ -2017,358 +2033,390 @@ function tt(e) {
|
|
|
2017
2033
|
activeItem: a,
|
|
2018
2034
|
getZoneProps: g,
|
|
2019
2035
|
getItemProps: l,
|
|
2020
|
-
handleDragStart:
|
|
2021
|
-
handleDragOver:
|
|
2022
|
-
handleDragEnd:
|
|
2036
|
+
handleDragStart: p,
|
|
2037
|
+
handleDragOver: b,
|
|
2038
|
+
handleDragEnd: D
|
|
2023
2039
|
};
|
|
2024
2040
|
}
|
|
2025
|
-
let
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2041
|
+
let $ = null, z = null, re = !1;
|
|
2042
|
+
function Qe() {
|
|
2043
|
+
return $ ? Promise.resolve($) : re ? Promise.resolve(null) : z || (z = (async () => {
|
|
2044
|
+
try {
|
|
2045
|
+
const [e, t, r] = await Promise.all([
|
|
2046
|
+
import("@dnd-kit/core"),
|
|
2047
|
+
import("@dnd-kit/sortable"),
|
|
2048
|
+
import("@dnd-kit/utilities").catch(() => ({}))
|
|
2049
|
+
]);
|
|
2050
|
+
return $ = {
|
|
2051
|
+
core: e,
|
|
2052
|
+
sortable: t,
|
|
2053
|
+
utilities: r
|
|
2054
|
+
}, $;
|
|
2055
|
+
} catch {
|
|
2056
|
+
return re = !0, null;
|
|
2057
|
+
}
|
|
2058
|
+
})(), z);
|
|
2035
2059
|
}
|
|
2036
|
-
function
|
|
2037
|
-
const { zones: t, onZoneChange: r, renderZone: a, renderItem: n, renderDragOverlay: o } = e, s =
|
|
2038
|
-
return
|
|
2039
|
-
|
|
2060
|
+
function Xe(e) {
|
|
2061
|
+
const { zones: t, onZoneChange: r, renderZone: a, renderItem: n, renderDragOverlay: o } = e, s = je({ zones: t, onZoneChange: r }), [d, u] = I.useState($);
|
|
2062
|
+
return I.useEffect(() => {
|
|
2063
|
+
if (d) return;
|
|
2064
|
+
let p = !0;
|
|
2065
|
+
return Qe().then((b) => {
|
|
2066
|
+
p && u(b);
|
|
2067
|
+
}), () => {
|
|
2068
|
+
p = !1;
|
|
2069
|
+
};
|
|
2070
|
+
}, [d]), d ? /* @__PURE__ */ c(
|
|
2071
|
+
ce,
|
|
2040
2072
|
{
|
|
2041
2073
|
state: s,
|
|
2074
|
+
modules: d,
|
|
2042
2075
|
renderZone: a,
|
|
2043
2076
|
renderItem: n,
|
|
2044
2077
|
renderDragOverlay: o
|
|
2045
2078
|
}
|
|
2046
|
-
)
|
|
2079
|
+
) : /* @__PURE__ */ c("div", { "data-sortable-zones-passive": "true", children: s.zones.map((p) => {
|
|
2080
|
+
const b = p.items.map((D) => /* @__PURE__ */ c(I.Fragment, { children: n(D) }, D.id));
|
|
2081
|
+
return /* @__PURE__ */ c("div", { ...s.getZoneProps(p.zoneKey), children: a(p.zoneKey, p.items, b) }, p.zoneKey);
|
|
2082
|
+
}) });
|
|
2047
2083
|
}
|
|
2048
|
-
|
|
2049
|
-
function
|
|
2084
|
+
Xe.displayName = "SortableZones";
|
|
2085
|
+
function ce({
|
|
2050
2086
|
state: e,
|
|
2051
|
-
|
|
2052
|
-
|
|
2053
|
-
|
|
2087
|
+
modules: t,
|
|
2088
|
+
renderZone: r,
|
|
2089
|
+
renderItem: a,
|
|
2090
|
+
renderDragOverlay: n
|
|
2054
2091
|
}) {
|
|
2055
|
-
const
|
|
2056
|
-
|
|
2057
|
-
|
|
2058
|
-
),
|
|
2059
|
-
return /* @__PURE__ */
|
|
2060
|
-
|
|
2092
|
+
const { core: o, sortable: s, utilities: d } = t, { DndContext: u, DragOverlay: p, useSensors: b, useSensor: D, PointerSensor: g, KeyboardSensor: l, closestCenter: h } = o, { SortableContext: S, verticalListSortingStrategy: T } = s, i = b(
|
|
2093
|
+
D(g, { activationConstraint: { distance: 5 } }),
|
|
2094
|
+
D(l)
|
|
2095
|
+
), v = u, N = p, y = S;
|
|
2096
|
+
return /* @__PURE__ */ P(
|
|
2097
|
+
v,
|
|
2061
2098
|
{
|
|
2062
|
-
sensors:
|
|
2063
|
-
collisionDetection:
|
|
2099
|
+
sensors: i,
|
|
2100
|
+
collisionDetection: h,
|
|
2064
2101
|
onDragStart: e.handleDragStart,
|
|
2065
2102
|
onDragOver: e.handleDragOver,
|
|
2066
2103
|
onDragEnd: e.handleDragEnd,
|
|
2067
2104
|
children: [
|
|
2068
|
-
e.zones.map((
|
|
2069
|
-
const
|
|
2070
|
-
|
|
2071
|
-
u,
|
|
2105
|
+
e.zones.map((x) => {
|
|
2106
|
+
const m = x.items.map((C) => C.id), w = x.items.map((C) => /* @__PURE__ */ c(
|
|
2107
|
+
ue,
|
|
2072
2108
|
{
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2109
|
+
id: C.id,
|
|
2110
|
+
useSortable: s.useSortable,
|
|
2111
|
+
cssHelper: d.CSS,
|
|
2112
|
+
children: a(C)
|
|
2113
|
+
},
|
|
2114
|
+
C.id
|
|
2115
|
+
));
|
|
2116
|
+
return /* @__PURE__ */ c("div", { ...e.getZoneProps(x.zoneKey), children: /* @__PURE__ */ c(y, { items: m, strategy: T, children: r(x.zoneKey, x.items, w) }) }, x.zoneKey);
|
|
2078
2117
|
}),
|
|
2079
|
-
/* @__PURE__ */
|
|
2118
|
+
/* @__PURE__ */ c(N, { children: e.activeItem ? n?.(e.activeItem) ?? a(e.activeItem) : null })
|
|
2080
2119
|
]
|
|
2081
2120
|
}
|
|
2082
2121
|
);
|
|
2083
2122
|
}
|
|
2084
|
-
|
|
2085
|
-
|
|
2123
|
+
ce.displayName = "SortableZonesInner";
|
|
2124
|
+
function ue({ id: e, useSortable: t, cssHelper: r, children: a }) {
|
|
2125
|
+
const { attributes: n, listeners: o, setNodeRef: s, transform: d, transition: u, isDragging: p } = t({ id: e }), b = {
|
|
2126
|
+
transform: r?.Transform?.toString(d) ?? void 0,
|
|
2127
|
+
transition: u,
|
|
2128
|
+
opacity: p ? 0.5 : 1
|
|
2129
|
+
};
|
|
2130
|
+
return /* @__PURE__ */ c("div", { ref: s, style: b, "data-sortable-item-id": e, ...n, ...o, children: a });
|
|
2131
|
+
}
|
|
2132
|
+
ue.displayName = "SortableItem";
|
|
2133
|
+
const Je = I.forwardRef(({ density: e = "compact", children: t, ...r }, a) => {
|
|
2086
2134
|
const n = { ...r };
|
|
2087
|
-
return delete n.className, delete n.style, /* @__PURE__ */
|
|
2135
|
+
return delete n.className, delete n.style, /* @__PURE__ */ c("div", { ref: a, className: "gloss-container-toolbar", role: "toolbar", ...n, children: /* @__PURE__ */ c(j, { region: "toolbar", density: e, children: t }) });
|
|
2088
2136
|
});
|
|
2089
|
-
|
|
2090
|
-
const
|
|
2137
|
+
Je.displayName = "ContainerToolbar";
|
|
2138
|
+
const et = I.forwardRef(({ legend: e, description: t, density: r = "default", children: a, ...n }, o) => {
|
|
2091
2139
|
const s = { ...n };
|
|
2092
|
-
return delete s.className, delete s.style, /* @__PURE__ */
|
|
2093
|
-
e && /* @__PURE__ */
|
|
2094
|
-
t && /* @__PURE__ */
|
|
2095
|
-
/* @__PURE__ */
|
|
2140
|
+
return delete s.className, delete s.style, /* @__PURE__ */ P("fieldset", { ref: o, className: "gloss-container-form-section", ...s, children: [
|
|
2141
|
+
e && /* @__PURE__ */ c("legend", { className: "gloss-container-form-section__legend", children: e }),
|
|
2142
|
+
t && /* @__PURE__ */ c("p", { className: "gloss-container-form-section__description", children: t }),
|
|
2143
|
+
/* @__PURE__ */ c(j, { region: "form-section", density: r, children: a })
|
|
2096
2144
|
] });
|
|
2097
2145
|
});
|
|
2098
|
-
|
|
2099
|
-
const
|
|
2146
|
+
et.displayName = "ContainerFormSection";
|
|
2147
|
+
const tt = I.forwardRef(({ density: e = "compact", children: t, ...r }, a) => {
|
|
2100
2148
|
const n = { ...r };
|
|
2101
|
-
return delete n.className, delete n.style, /* @__PURE__ */
|
|
2149
|
+
return delete n.className, delete n.style, /* @__PURE__ */ c("div", { ref: a, className: "gloss-container-table", ...n, children: /* @__PURE__ */ c(j, { region: "table", density: e, children: t }) });
|
|
2102
2150
|
});
|
|
2103
|
-
|
|
2151
|
+
tt.displayName = "ContainerTable";
|
|
2104
2152
|
export {
|
|
2105
|
-
|
|
2106
|
-
|
|
2107
|
-
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2111
|
-
|
|
2112
|
-
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
|
|
2191
|
-
|
|
2192
|
-
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
|
|
2211
|
-
|
|
2212
|
-
|
|
2153
|
+
Xt as Accordion,
|
|
2154
|
+
Jt as AccordionContent,
|
|
2155
|
+
ea as AccordionItem,
|
|
2156
|
+
ta as AccordionTrigger,
|
|
2157
|
+
aa as Actionable,
|
|
2158
|
+
ra as AddressGroup,
|
|
2159
|
+
na as AddressSelect,
|
|
2160
|
+
oa as AsyncLoader,
|
|
2161
|
+
sa as Autocomplete,
|
|
2162
|
+
ia as Badge,
|
|
2163
|
+
la as BarChartCard,
|
|
2164
|
+
da as BarsBg,
|
|
2165
|
+
ca as Button,
|
|
2166
|
+
ua as ButtonGroup,
|
|
2167
|
+
ma as ButtonGroupContext,
|
|
2168
|
+
pa as Card,
|
|
2169
|
+
ga as CardActions,
|
|
2170
|
+
ba as CardBack,
|
|
2171
|
+
ha as CardBody,
|
|
2172
|
+
fa as CardFooter,
|
|
2173
|
+
va as CardHeader,
|
|
2174
|
+
Ca as CardMedia,
|
|
2175
|
+
ya as CardShell,
|
|
2176
|
+
Da as CardSubtitle,
|
|
2177
|
+
wa as CardTitle,
|
|
2178
|
+
Na as ChartControlBar,
|
|
2179
|
+
Sa as Checkbox,
|
|
2180
|
+
Ta as CheckboxGroup,
|
|
2181
|
+
xa as Chip,
|
|
2182
|
+
ka as ColorPicker,
|
|
2183
|
+
Ia as ComparisonCard,
|
|
2184
|
+
_a as ContactForm,
|
|
2185
|
+
Pa as ContainerCard,
|
|
2186
|
+
Ra as ContainerCardActions,
|
|
2187
|
+
Ma as ContainerCardBody,
|
|
2188
|
+
Fa as ContainerCardFooter,
|
|
2189
|
+
Oa as ContainerCardHeader,
|
|
2190
|
+
Aa as ContainerCardMedia,
|
|
2191
|
+
Ea as ContainerCardSubtitle,
|
|
2192
|
+
La as ContainerCardTitle,
|
|
2193
|
+
Ba as ContainerDialog,
|
|
2194
|
+
Ga as ContainerDialogActions,
|
|
2195
|
+
$a as ContainerDialogBody,
|
|
2196
|
+
Ha as ContainerDialogHeader,
|
|
2197
|
+
et as ContainerFormSection,
|
|
2198
|
+
za as ContainerPanel,
|
|
2199
|
+
tt as ContainerTable,
|
|
2200
|
+
Je as ContainerToolbar,
|
|
2201
|
+
Ka as CreditCardForm,
|
|
2202
|
+
fo as DEFAULT_MARKET_PRESETS,
|
|
2203
|
+
vo as DEFAULT_PINNED,
|
|
2204
|
+
Wa as DataTable,
|
|
2205
|
+
Za as DatePicker,
|
|
2206
|
+
Ya as DateRangePicker,
|
|
2207
|
+
qa as DestructiveModal,
|
|
2208
|
+
Va as DirectionCard,
|
|
2209
|
+
Ua as Dismissible,
|
|
2210
|
+
ja as DistributionCard,
|
|
2211
|
+
Qa as DonutChart,
|
|
2212
|
+
Xa as Dropdown,
|
|
2213
|
+
Ja as ENTITY_FILTER_KEYS,
|
|
2214
|
+
er as ENTITY_PROFILE_ROUTES,
|
|
2215
|
+
tr as ENTITY_TYPE_PLURAL,
|
|
2216
|
+
xe as EdgeHoverHandle,
|
|
2217
|
+
ar as EntityPicker,
|
|
2218
|
+
rr as EntitySearchPanel,
|
|
2219
|
+
nr as Expandable,
|
|
2220
|
+
or as ExpandableChip,
|
|
2221
|
+
Ct as FLIP_AND_STAGE_TIMINGS,
|
|
2222
|
+
sr as FileUpload,
|
|
2223
|
+
ir as FilterChip,
|
|
2224
|
+
lr as FilterInput,
|
|
2225
|
+
dr as FlipAndStageProvider,
|
|
2226
|
+
cr as Form,
|
|
2227
|
+
ur as FormDialog,
|
|
2228
|
+
mr as FormField,
|
|
2229
|
+
pr as FusedShape,
|
|
2230
|
+
ke as GhostPreview,
|
|
2231
|
+
gr as GroupCheckbox,
|
|
2232
|
+
br as GroupRadio,
|
|
2233
|
+
hr as GutterActions,
|
|
2234
|
+
fr as HighlightCard,
|
|
2235
|
+
vr as HybridDatePicker,
|
|
2236
|
+
Cr as ImportWizard,
|
|
2237
|
+
Ke as InlineNudge,
|
|
2238
|
+
yr as Input,
|
|
2239
|
+
Dr as InputAddon,
|
|
2240
|
+
wr as InputGroup,
|
|
2241
|
+
Nr as Link,
|
|
2242
|
+
Sr as LoginForm,
|
|
2243
|
+
Tr as MarketPresetRow,
|
|
2244
|
+
xr as MaskPresets,
|
|
2245
|
+
kr as MaskedInput,
|
|
2246
|
+
Ir as Menu,
|
|
2247
|
+
_r as MenuDivider,
|
|
2248
|
+
Pr as MenuGroup,
|
|
2249
|
+
Rr as MenuItem,
|
|
2250
|
+
Mr as MergePrompt,
|
|
2251
|
+
Fr as MetricCard,
|
|
2252
|
+
Or as MetricCardGrid,
|
|
2253
|
+
ze as MetricGroupContainer,
|
|
2254
|
+
Ar as MiniCalendar,
|
|
2255
|
+
Er as MultiSelect,
|
|
2256
|
+
Lr as NumberInput,
|
|
2257
|
+
Br as ObjectArrow,
|
|
2258
|
+
Gr as OrderFilterBar,
|
|
2259
|
+
Co as PERIOD_OPTIONS,
|
|
2260
|
+
Oe as PageChip,
|
|
2213
2261
|
ne as PageDropdown,
|
|
2214
|
-
|
|
2215
|
-
|
|
2216
|
-
|
|
2217
|
-
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
|
|
2232
|
-
|
|
2233
|
-
|
|
2234
|
-
|
|
2235
|
-
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
|
|
2247
|
-
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
|
-
|
|
2253
|
-
|
|
2254
|
-
|
|
2255
|
-
|
|
2256
|
-
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
|
|
2262
|
-
|
|
2263
|
-
|
|
2264
|
-
|
|
2265
|
-
|
|
2266
|
-
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2274
|
-
|
|
2275
|
-
|
|
2276
|
-
|
|
2277
|
-
|
|
2278
|
-
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
|
|
2284
|
-
|
|
2285
|
-
|
|
2262
|
+
$r as PasswordInput,
|
|
2263
|
+
Hr as PaymentForm,
|
|
2264
|
+
zr as PaymentMethodSelect,
|
|
2265
|
+
Kr as PhoneInput,
|
|
2266
|
+
Wr as PinToMetric,
|
|
2267
|
+
Ve as PresetSwatchRow,
|
|
2268
|
+
Zr as ProfileCard,
|
|
2269
|
+
Yr as ProgressCard,
|
|
2270
|
+
qr as QuickConfigPanel,
|
|
2271
|
+
yo as ROLLING_OPTIONS,
|
|
2272
|
+
Vr as Radio,
|
|
2273
|
+
Ur as RadioGroup,
|
|
2274
|
+
jr as RangeSlider,
|
|
2275
|
+
Qr as Rating,
|
|
2276
|
+
Xr as RegistrationForm,
|
|
2277
|
+
Jr as Row1Controls,
|
|
2278
|
+
en as Row2FilterTray,
|
|
2279
|
+
tn as SearchInput,
|
|
2280
|
+
an as SegmentCard,
|
|
2281
|
+
rn as SegmentedControl,
|
|
2282
|
+
nn as Select,
|
|
2283
|
+
on as Selectable,
|
|
2284
|
+
sn as SimpleMetricCard,
|
|
2285
|
+
ln as SimpleSelector,
|
|
2286
|
+
dn as Skeleton,
|
|
2287
|
+
cn as SkeletonCard,
|
|
2288
|
+
un as SkeletonChart,
|
|
2289
|
+
mn as SkeletonTable,
|
|
2290
|
+
pn as Slider,
|
|
2291
|
+
gn as Sortable,
|
|
2292
|
+
Xe as SortableZones,
|
|
2293
|
+
bn as SparklineBg,
|
|
2294
|
+
hn as SplitButton,
|
|
2295
|
+
fn as StackedGroupCard,
|
|
2296
|
+
vn as StatusModeCard,
|
|
2297
|
+
Te as StatusSlotChipMenu,
|
|
2298
|
+
Cn as Stepper,
|
|
2299
|
+
Do as TODAY_PRESET,
|
|
2300
|
+
yn as TabGroup,
|
|
2301
|
+
Dn as TabbedDataView,
|
|
2302
|
+
wn as TagInput,
|
|
2303
|
+
Nn as Textarea,
|
|
2304
|
+
Ze as ThresholdRamp,
|
|
2305
|
+
Sn as TimeFrame,
|
|
2306
|
+
Tn as TimePicker,
|
|
2307
|
+
xn as Toggle,
|
|
2308
|
+
kn as Tooltip,
|
|
2309
|
+
In as Transition,
|
|
2310
|
+
_n as TransitionGroup,
|
|
2311
|
+
Pn as TrendCard,
|
|
2312
|
+
Rn as TrendIndicator,
|
|
2313
|
+
go as UIContext,
|
|
2314
|
+
j as UIContextProvider,
|
|
2315
|
+
Mn as UnifiedBreakdownTable,
|
|
2316
|
+
Fn as UnifiedContextMenu,
|
|
2317
|
+
On as addressGroupMetadata,
|
|
2318
|
+
An as addressSchema,
|
|
2319
|
+
lt as allChips,
|
|
2320
|
+
Dt as allStateFixtures,
|
|
2321
|
+
yt as allVariantFixtures,
|
|
2322
|
+
mt as blockSamples,
|
|
2323
|
+
ft as cardSamples,
|
|
2324
|
+
bt as chartSamples,
|
|
2325
|
+
gt as circleSamples,
|
|
2326
|
+
Kt as compactLayout,
|
|
2327
|
+
Mt as compactState,
|
|
2328
|
+
En as contactFormMetadata,
|
|
2329
|
+
Ln as contactSchema,
|
|
2330
|
+
Ft as contextMenuFixtures,
|
|
2331
|
+
Bn as creditCardFormMetadata,
|
|
2332
|
+
Gn as creditCardSchema,
|
|
2333
|
+
De as dateChip,
|
|
2286
2334
|
ie as defaultControlBarState,
|
|
2287
|
-
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
|
-
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
|
|
2321
|
-
|
|
2322
|
-
|
|
2323
|
-
|
|
2324
|
-
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
|
|
2330
|
-
|
|
2331
|
-
|
|
2332
|
-
|
|
2333
|
-
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2341
|
-
|
|
2342
|
-
|
|
2343
|
-
|
|
2344
|
-
|
|
2345
|
-
|
|
2346
|
-
|
|
2347
|
-
|
|
2348
|
-
|
|
2349
|
-
|
|
2350
|
-
|
|
2351
|
-
|
|
2352
|
-
|
|
2353
|
-
|
|
2354
|
-
|
|
2355
|
-
|
|
2356
|
-
|
|
2357
|
-
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2364
|
-
|
|
2365
|
-
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2335
|
+
$n as destructiveModalMetadata,
|
|
2336
|
+
Hn as durations,
|
|
2337
|
+
zn as easings,
|
|
2338
|
+
Pe as emptyFixture,
|
|
2339
|
+
Ce as entityChip,
|
|
2340
|
+
Be as entityNameActions,
|
|
2341
|
+
ct as entityTabGroup,
|
|
2342
|
+
_e as errorFixture,
|
|
2343
|
+
Rt as filteredState,
|
|
2344
|
+
wo as findPreset,
|
|
2345
|
+
No as formatDateRange,
|
|
2346
|
+
So as formatMarketDates,
|
|
2347
|
+
To as formatTrend,
|
|
2348
|
+
xo as formatValue,
|
|
2349
|
+
Zt as fullLayout,
|
|
2350
|
+
ko as generateMarketId,
|
|
2351
|
+
Kn as generateTabId,
|
|
2352
|
+
Io as getAllPresets,
|
|
2353
|
+
_o as getDateRangeForPreset,
|
|
2354
|
+
Wn as getMenuActions,
|
|
2355
|
+
Po as getPresetLabel,
|
|
2356
|
+
Zn as getTransitionStyle,
|
|
2357
|
+
zt as gridCards,
|
|
2358
|
+
Yn as interpolate,
|
|
2359
|
+
Ro as isInRange,
|
|
2360
|
+
Mo as isMarketActive,
|
|
2361
|
+
Fo as isSameDay,
|
|
2362
|
+
Pt as itemColumns,
|
|
2363
|
+
It as itemRows,
|
|
2364
|
+
Ie as loadingFixture,
|
|
2365
|
+
qn as loginFormMetadata,
|
|
2366
|
+
Vn as loginSchema,
|
|
2367
|
+
we as manufacturerChip,
|
|
2368
|
+
Ut as manyTabs,
|
|
2369
|
+
Un as mergeHandlers,
|
|
2370
|
+
jn as mergeRefs,
|
|
2371
|
+
dt as metricTabGroup,
|
|
2372
|
+
qt as mixedTabs,
|
|
2373
|
+
Oo as normalizePresetId,
|
|
2374
|
+
$e as numericActions,
|
|
2375
|
+
_t as orderColumns,
|
|
2376
|
+
Ge as orderIdActions,
|
|
2377
|
+
kt as orderRows,
|
|
2378
|
+
Yt as ordersTabs,
|
|
2379
|
+
Qn as parseNumericValue,
|
|
2380
|
+
Xn as paymentFormMetadata,
|
|
2381
|
+
Jn as paymentSchema,
|
|
2382
|
+
eo as presets,
|
|
2383
|
+
to as registrationFormMetadata,
|
|
2384
|
+
ao as registrationSchema,
|
|
2385
|
+
At as sampleCompareRanges,
|
|
2386
|
+
Bt as sampleCustomMarkets,
|
|
2387
|
+
Ot as sampleDateRange,
|
|
2388
|
+
Gt as sampleMarketPresetData,
|
|
2389
|
+
Lt as sampleMarkets,
|
|
2390
|
+
Ht as samplePeriodPresets,
|
|
2391
|
+
Et as samplePreferences,
|
|
2392
|
+
$t as samplePresets,
|
|
2393
|
+
Vt as singleTab,
|
|
2394
|
+
wt as sparklineFixture,
|
|
2395
|
+
Nt as sparklineUpFixture,
|
|
2396
|
+
Fe as staleDonutFixture,
|
|
2397
|
+
Re as staleFixture,
|
|
2398
|
+
Me as staleSparklineFixture,
|
|
2399
|
+
St as standardFixture,
|
|
2400
|
+
xt as standardFlatFixture,
|
|
2401
|
+
Wt as standardLayout,
|
|
2402
|
+
Tt as standardNegativeFixture,
|
|
2403
|
+
ye as statusChip,
|
|
2404
|
+
ht as tableSamples,
|
|
2405
|
+
pt as textSamples,
|
|
2406
|
+
ut as timeFrameTabGroup,
|
|
2407
|
+
Ao as toUppercasePresetId,
|
|
2408
|
+
it as useArrowNavigation,
|
|
2409
|
+
ro as useCheckboxGroupContext,
|
|
2410
|
+
vt as useEdgeHoverResize,
|
|
2411
|
+
no as useFilterLayout,
|
|
2412
|
+
oo as useFlipAndStage,
|
|
2413
|
+
so as useFlipAndStageContext,
|
|
2414
|
+
io as useFlipAndStageContextOptional,
|
|
2415
|
+
st as useFocusReturn,
|
|
2416
|
+
lo as useFocusTrap,
|
|
2417
|
+
co as useFormContext,
|
|
2418
|
+
uo as useRadioGroupContext,
|
|
2419
|
+
mo as useSlideOutReveal,
|
|
2420
|
+
je as useSortableZones,
|
|
2421
|
+
bo as useUIContext
|
|
2374
2422
|
};
|