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