@mt-gloss/ui 0.1.10 → 0.1.12
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/index.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { N as On, T as An, O as Ln, Q as $n, a3 as Bn, b6 as zn, az as Kn, ah as Wn, Z as Gn, an as Hn, K as Vn, a8 as jn, bn as Un, P as Zn, B as Yn, a as qn, y as Qn, H as Xn, bi as Jn, F as er, J as tr, A as ar, z as nr, bh as rr, E as sr, D as or, bw as ir, b as lr, C as cr, L as dr, o as ur, ad as mr, aN as gr, y as pr, H as fr, F as hr, J as br, A as vr, z as yr, E as wr, D as Dr, a$ as Nr, b2 as Cr, b1 as kr, b0 as _r, b3 as xr, aC as Sr, a5 as Mr, a4 as Tr, aq as Rr, k as Ir, m as Pr, aF as Fr, ab as Er, b8 as Or, a9 as Ar, bo as Lr, Y as $r, bG as Br, bF as zr, bH as Kr, ap as Wr, aQ as Gr, ba as Hr, bL as Vr, bu as jr, n as Ur, am as Zr, bA as Yr, br as qr, a0 as Qr, ar as Xr, a2 as Jr, bz as es, G as ts, d as as, aa as ns, bI as rs, aT as ss, r as os, v as is, I as ls, g as cs, aw as ds, bM as us, M as ms, w as gs, U as ps, X as fs, V as hs, W as bs, as as vs, bg as ys, bO as ws, bK as Ds, ao as Ns, t as Cs, bp as ks, aS as _s, aj as xs, aK as Ss, ag as Ms, al as Ts, au as Rs, aR as Is, ac as Ps, at as Fs, c as Es, R as Os, j as As, p as Ls, aH as $s, bx as Bs, by as zs, ai as Ks, ae as Ws, h as Gs, x as Hs, b7 as Vs, af as js, bN as Us, bc as Zs, bf as Ys, bd as qs, be as Qs, i as Xs, b9 as Js, bm as eo, S as to, bk as ao, bl as no, av as ro, bb as so, bP as oo, ak as io, s as lo, bJ as co, l as uo, f as mo, q as go, _ as po, $ as fo, a7 as ho, bj as bo, bv as vo, bC as yo, aA as wo, aB as Do, a6 as No, aO as Co, aP as ko, aD as _o, aE as xo, aG as So, aV as Mo, aW as To, bE as Ro, bD as Io, aY as Po, aZ as Fo, ax as Eo, ay as Oo, b5 as Ao, b4 as Lo, a_ as $o, aL as Bo, aM as zo, aX as Ko, aI as Wo, aJ as Go, u as Ho, bB as Vo, bq as jo, bs as Uo, bt as Zo, aU as Yo, a1 as qo, e as Qo } from "./Expandable-CTI-osAf.js";
|
|
2
|
-
import { jsxs as A, jsx as l, Fragment as
|
|
3
|
-
import * as
|
|
4
|
-
import H, { useRef as R, useEffect as L, useState as W, useCallback as y, forwardRef as
|
|
5
|
-
import { motion as de, useMotionValue as
|
|
6
|
-
import { B as
|
|
2
|
+
import { jsxs as A, jsx as l, Fragment as Ye } from "react/jsx-runtime";
|
|
3
|
+
import * as qe from "react";
|
|
4
|
+
import H, { useRef as R, useEffect as L, useState as W, useCallback as y, forwardRef as Qe, useMemo as se, createContext as Xe, useContext as Je } from "react";
|
|
5
|
+
import { motion as de, useMotionValue as et, animate as xe, useDragControls as tt } from "framer-motion";
|
|
6
|
+
import { B as at, U as Ne } from "./UIContext-C3E-k7HI.js";
|
|
7
7
|
import { a as Jo, u as ei } from "./UIContext-C3E-k7HI.js";
|
|
8
|
-
import { createPortal as
|
|
8
|
+
import { createPortal as nt } from "react-dom";
|
|
9
9
|
import { DEFAULT_MARKET_PRESETS as ai, DEFAULT_PINNED as ni, PERIOD_OPTIONS as ri, ROLLING_OPTIONS as si, TODAY_PRESET as oi, findPreset as ii, formatDateRange as li, formatMarketDates as ci, formatTrend as di, formatValue as ui, generateMarketId as mi, getAllPresets as gi, getDateRangeForPreset as pi, getPresetLabel as fi, isInRange as hi, isMarketActive as bi, isSameDay as vi, normalizePresetId as yi, toUppercasePresetId as wi } from "@mt-gloss/utils";
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
function
|
|
10
|
+
import rt from "@mui/icons-material/AccessTime";
|
|
11
|
+
import st from "@mui/icons-material/Tune";
|
|
12
|
+
import ot from "@mui/icons-material/ViewColumn";
|
|
13
|
+
import it from "@mui/icons-material/AspectRatio";
|
|
14
|
+
import lt from "@mui/icons-material/Palette";
|
|
15
|
+
import ct from "@mui/icons-material/PushPin";
|
|
16
|
+
function _a(e = {}) {
|
|
17
17
|
const { enabled: t = !0, returnTo: n } = e, a = R(null);
|
|
18
18
|
return L(() => {
|
|
19
19
|
t && (a.current = n || document.activeElement);
|
|
@@ -23,7 +23,7 @@ function ka(e = {}) {
|
|
|
23
23
|
}, 0);
|
|
24
24
|
}, [t]), a;
|
|
25
25
|
}
|
|
26
|
-
function
|
|
26
|
+
function xa(e) {
|
|
27
27
|
const {
|
|
28
28
|
items: t,
|
|
29
29
|
activeIndex: n,
|
|
@@ -33,8 +33,8 @@ function _a(e) {
|
|
|
33
33
|
enabled: o = !0,
|
|
34
34
|
isItemDisabled: d,
|
|
35
35
|
onSelect: b,
|
|
36
|
-
onEscape:
|
|
37
|
-
} = e, [
|
|
36
|
+
onEscape: g
|
|
37
|
+
} = e, [u, C] = W(-1), m = n !== void 0 ? n : u, c = y(
|
|
38
38
|
(i) => {
|
|
39
39
|
n === void 0 && C(i), a?.(i);
|
|
40
40
|
},
|
|
@@ -57,23 +57,23 @@ function _a(e) {
|
|
|
57
57
|
const i = f();
|
|
58
58
|
i.length > 0 && c(i[i.length - 1]);
|
|
59
59
|
}, [f, c]), I = y(() => {
|
|
60
|
-
const i = S(
|
|
60
|
+
const i = S(m, 1);
|
|
61
61
|
i !== -1 && c(i);
|
|
62
|
-
}, [
|
|
63
|
-
const i = S(
|
|
62
|
+
}, [m, S, c]), N = y(() => {
|
|
63
|
+
const i = S(m, -1);
|
|
64
64
|
i !== -1 && c(i);
|
|
65
|
-
}, [
|
|
65
|
+
}, [m, S, c]), _ = y(() => {
|
|
66
66
|
c(-1);
|
|
67
67
|
}, [c]), T = y(
|
|
68
68
|
(i) => {
|
|
69
69
|
if (!o) return;
|
|
70
70
|
const { key: v } = i, p = v === "ArrowUp" && (s === "vertical" || s === "both"), w = v === "ArrowDown" && (s === "vertical" || s === "both"), k = v === "ArrowLeft" && (s === "horizontal" || s === "both"), M = v === "ArrowRight" && (s === "horizontal" || s === "both");
|
|
71
71
|
if (p || k) {
|
|
72
|
-
i.preventDefault(),
|
|
72
|
+
i.preventDefault(), m === -1 ? x() : N();
|
|
73
73
|
return;
|
|
74
74
|
}
|
|
75
75
|
if (w || M) {
|
|
76
|
-
i.preventDefault(),
|
|
76
|
+
i.preventDefault(), m === -1 ? h() : I();
|
|
77
77
|
return;
|
|
78
78
|
}
|
|
79
79
|
if (v === "Home") {
|
|
@@ -84,21 +84,21 @@ function _a(e) {
|
|
|
84
84
|
i.preventDefault(), x();
|
|
85
85
|
return;
|
|
86
86
|
}
|
|
87
|
-
if ((v === "Enter" || v === " ") &&
|
|
87
|
+
if ((v === "Enter" || v === " ") && m >= 0 && m < t.length) {
|
|
88
88
|
i.preventDefault();
|
|
89
|
-
const E = t[
|
|
90
|
-
d?.(E,
|
|
89
|
+
const E = t[m];
|
|
90
|
+
d?.(E, m) || b?.(E, m);
|
|
91
91
|
return;
|
|
92
92
|
}
|
|
93
93
|
if (v === "Escape") {
|
|
94
|
-
|
|
94
|
+
g?.();
|
|
95
95
|
return;
|
|
96
96
|
}
|
|
97
97
|
},
|
|
98
98
|
[
|
|
99
99
|
o,
|
|
100
100
|
s,
|
|
101
|
-
|
|
101
|
+
m,
|
|
102
102
|
t,
|
|
103
103
|
h,
|
|
104
104
|
x,
|
|
@@ -106,11 +106,11 @@ function _a(e) {
|
|
|
106
106
|
N,
|
|
107
107
|
d,
|
|
108
108
|
b,
|
|
109
|
-
|
|
109
|
+
g
|
|
110
110
|
]
|
|
111
111
|
);
|
|
112
112
|
return {
|
|
113
|
-
focusedIndex:
|
|
113
|
+
focusedIndex: m,
|
|
114
114
|
setFocusedIndex: c,
|
|
115
115
|
handleKeyDown: T,
|
|
116
116
|
focusFirst: h,
|
|
@@ -121,42 +121,42 @@ function _a(e) {
|
|
|
121
121
|
};
|
|
122
122
|
}
|
|
123
123
|
const ue = (e) => {
|
|
124
|
-
},
|
|
124
|
+
}, dt = {
|
|
125
125
|
id: "entity-filter-1",
|
|
126
126
|
label: "Customer: Acme Corp",
|
|
127
127
|
field: "customer",
|
|
128
128
|
value: "acme-corp-123",
|
|
129
129
|
onRemove: ue
|
|
130
|
-
},
|
|
130
|
+
}, ut = {
|
|
131
131
|
id: "status-filter-1",
|
|
132
132
|
label: "Status: Open",
|
|
133
133
|
field: "status",
|
|
134
134
|
value: "open",
|
|
135
135
|
onRemove: ue
|
|
136
|
-
},
|
|
136
|
+
}, mt = {
|
|
137
137
|
id: "date-filter-1",
|
|
138
138
|
label: "Date: Mar 1 - Mar 15",
|
|
139
139
|
field: "dateRange",
|
|
140
140
|
value: "2026-03-01..2026-03-15",
|
|
141
141
|
onRemove: ue
|
|
142
|
-
},
|
|
142
|
+
}, gt = {
|
|
143
143
|
id: "mfg-filter-1",
|
|
144
144
|
label: "Manufacturer: Widget Co",
|
|
145
145
|
field: "manufacturer",
|
|
146
146
|
value: "widget-co-456",
|
|
147
147
|
onRemove: ue
|
|
148
|
-
},
|
|
149
|
-
ct,
|
|
148
|
+
}, Sa = [
|
|
150
149
|
dt,
|
|
151
150
|
ut,
|
|
152
|
-
mt
|
|
153
|
-
|
|
151
|
+
mt,
|
|
152
|
+
gt
|
|
153
|
+
], Ma = {
|
|
154
154
|
id: "metric-toggle",
|
|
155
155
|
tabs: [
|
|
156
156
|
{ id: "$", label: "$", mono: !0 },
|
|
157
157
|
{ id: "#", label: "#", mono: !0 }
|
|
158
158
|
]
|
|
159
|
-
},
|
|
159
|
+
}, Ta = {
|
|
160
160
|
id: "entity-type",
|
|
161
161
|
tabs: [
|
|
162
162
|
{ id: "orders", label: "Orders" },
|
|
@@ -164,7 +164,7 @@ const ue = (e) => {
|
|
|
164
164
|
{ id: "customers", label: "Customers" },
|
|
165
165
|
{ id: "manufacturers", label: "Manufacturers" }
|
|
166
166
|
]
|
|
167
|
-
},
|
|
167
|
+
}, Ra = {
|
|
168
168
|
id: "time-frame",
|
|
169
169
|
tabs: [
|
|
170
170
|
{ id: "MTD", label: "MTD" },
|
|
@@ -172,26 +172,26 @@ const ue = (e) => {
|
|
|
172
172
|
{ id: "YTD", label: "YTD" },
|
|
173
173
|
{ id: "LYTD", label: "LYTD" }
|
|
174
174
|
]
|
|
175
|
-
},
|
|
175
|
+
}, Ia = [
|
|
176
176
|
{ variant: "block", width: "100%", height: 16 },
|
|
177
177
|
{ variant: "block", width: 200, height: 32, borderRadius: 8 },
|
|
178
178
|
{ variant: "block", width: "80%", height: 12, borderRadius: "4px" },
|
|
179
179
|
{ variant: "block", width: 120, height: 44, borderRadius: 22 }
|
|
180
|
-
],
|
|
180
|
+
], Pa = [
|
|
181
181
|
{ variant: "text", lines: 3, lineHeight: 14, gap: 8 },
|
|
182
182
|
{ variant: "text", lines: 2, lineHeight: 16, gap: 10 },
|
|
183
183
|
{ variant: "text", lines: 5, lineHeight: 12, gap: 6 }
|
|
184
|
-
],
|
|
184
|
+
], Fa = [
|
|
185
185
|
{ variant: "circle", size: 24 },
|
|
186
186
|
{ variant: "circle", size: 40 },
|
|
187
187
|
{ variant: "circle", size: 64 }
|
|
188
|
-
],
|
|
188
|
+
], Ea = [
|
|
189
189
|
{ bars: 10, maxHeight: 120 },
|
|
190
190
|
{ bars: 5, maxHeight: 80 }
|
|
191
|
-
],
|
|
191
|
+
], Oa = [
|
|
192
192
|
{ rows: 5, columns: 3, hasCheckbox: !1, rowHeight: 44 },
|
|
193
193
|
{ rows: 8, columns: 5, hasCheckbox: !0, rowHeight: 44 }
|
|
194
|
-
],
|
|
194
|
+
], Aa = [
|
|
195
195
|
{ variant: "value", colSpan: 1 },
|
|
196
196
|
{ variant: "trend", colSpan: 2 },
|
|
197
197
|
{ variant: "target", colSpan: 1 }
|
|
@@ -221,16 +221,16 @@ const ue = (e) => {
|
|
|
221
221
|
width: "100%",
|
|
222
222
|
textAlign: "left",
|
|
223
223
|
border: "none"
|
|
224
|
-
}),
|
|
224
|
+
}), pt = (e) => ({
|
|
225
225
|
...be(e),
|
|
226
226
|
color: e ? "#4338ca" : "#4f46e5",
|
|
227
227
|
fontWeight: 600
|
|
228
|
-
}),
|
|
228
|
+
}), ft = {
|
|
229
229
|
height: 1,
|
|
230
230
|
background: "rgba(0,0,0,0.06)",
|
|
231
231
|
margin: "3px 10px"
|
|
232
232
|
};
|
|
233
|
-
function
|
|
233
|
+
function ht({
|
|
234
234
|
open: e,
|
|
235
235
|
anchorEl: t,
|
|
236
236
|
statusId: n,
|
|
@@ -239,7 +239,7 @@ function ft({
|
|
|
239
239
|
overflowActions: s,
|
|
240
240
|
onClose: o
|
|
241
241
|
}) {
|
|
242
|
-
const [d, b] = W(null),
|
|
242
|
+
const [d, b] = W(null), g = R(null), u = y(() => {
|
|
243
243
|
if (!t) return { ...Se, top: 0, left: 0 };
|
|
244
244
|
const c = t.getBoundingClientRect();
|
|
245
245
|
return {
|
|
@@ -257,24 +257,24 @@ function ft({
|
|
|
257
257
|
}, [e, o]), L(() => {
|
|
258
258
|
if (!e) return;
|
|
259
259
|
const c = (f) => {
|
|
260
|
-
|
|
260
|
+
g.current && !g.current.contains(f.target) && o();
|
|
261
261
|
};
|
|
262
262
|
return document.addEventListener("pointerdown", c, !0), () => document.removeEventListener("pointerdown", c, !0);
|
|
263
263
|
}, [e, o]), !e) return null;
|
|
264
|
-
const C = s && s.length > 0,
|
|
264
|
+
const C = s && s.length > 0, m = /* @__PURE__ */ A(
|
|
265
265
|
"div",
|
|
266
266
|
{
|
|
267
|
-
ref:
|
|
267
|
+
ref: g,
|
|
268
268
|
"data-status-chip-menu": n,
|
|
269
269
|
role: "menu",
|
|
270
270
|
"aria-label": "Status actions",
|
|
271
|
-
style:
|
|
271
|
+
style: u(),
|
|
272
272
|
children: [
|
|
273
273
|
/* @__PURE__ */ l(
|
|
274
274
|
"button",
|
|
275
275
|
{
|
|
276
276
|
role: "menuitem",
|
|
277
|
-
style:
|
|
277
|
+
style: pt(d === "__primary"),
|
|
278
278
|
onMouseEnter: () => b("__primary"),
|
|
279
279
|
onMouseLeave: () => b(null),
|
|
280
280
|
onClick: () => {
|
|
@@ -296,7 +296,7 @@ function ft({
|
|
|
296
296
|
children: "Show on graph"
|
|
297
297
|
}
|
|
298
298
|
),
|
|
299
|
-
C && /* @__PURE__ */ l("div", { style:
|
|
299
|
+
C && /* @__PURE__ */ l("div", { style: ft }),
|
|
300
300
|
C && s?.map((c) => /* @__PURE__ */ l(
|
|
301
301
|
"button",
|
|
302
302
|
{
|
|
@@ -314,30 +314,102 @@ function ft({
|
|
|
314
314
|
]
|
|
315
315
|
}
|
|
316
316
|
);
|
|
317
|
-
return
|
|
317
|
+
return nt(m, document.body);
|
|
318
318
|
}
|
|
319
|
-
|
|
320
|
-
const
|
|
321
|
-
|
|
322
|
-
|
|
319
|
+
ht.displayName = "StatusSlotChipMenu";
|
|
320
|
+
const La = {
|
|
321
|
+
forwardStaggerMs: 50,
|
|
322
|
+
reverseStaggerMs: 30,
|
|
323
|
+
springStiffness: 380,
|
|
324
|
+
springDamping: 32,
|
|
325
|
+
reverseVelocityMultiplier: 1.4
|
|
326
|
+
}, ae = {
|
|
327
|
+
enterDurationMs: 220,
|
|
328
|
+
exitDurationMs: 140,
|
|
329
|
+
enterEasing: "cubic-bezier(0.34, 1.56, 0.64, 1)",
|
|
330
|
+
exitEasing: "cubic-bezier(0.4, 0, 1, 1)",
|
|
331
|
+
translateOffsetPx: 4
|
|
332
|
+
}, $a = {
|
|
333
|
+
shiverCycles: 3,
|
|
334
|
+
shiverAmplitudePx: 2,
|
|
335
|
+
shiverDurationMs: 180,
|
|
336
|
+
validCellOpacity: 0.6
|
|
337
|
+
}, Ba = {
|
|
338
|
+
materializeMs: 180,
|
|
339
|
+
dematerializeMs: 140,
|
|
340
|
+
easing: "cubic-bezier(0.22, 1, 0.36, 1)",
|
|
341
|
+
dotStrokePx: 2,
|
|
342
|
+
dividerDashGapPx: 4
|
|
343
|
+
}, za = {
|
|
344
|
+
cascadeStaggerMs: 0,
|
|
345
|
+
cascadeSpringCapMs: 120,
|
|
346
|
+
swingEnterMs: 100,
|
|
347
|
+
swingEnterStyle: "opacity",
|
|
348
|
+
provisionalMs: 80,
|
|
349
|
+
provisionalStyle: "opacity",
|
|
350
|
+
shiverMs: 200,
|
|
351
|
+
shiverStyle: "color-flash"
|
|
352
|
+
}, Ka = !0, Wa = {
|
|
353
|
+
rejectionFill: "var(--gloss-rejection-fill)",
|
|
354
|
+
rejectionStroke: "var(--gloss-rejection-stroke)",
|
|
355
|
+
validFill: "var(--gloss-valid-fill)",
|
|
356
|
+
validStroke: "var(--gloss-valid-stroke)",
|
|
357
|
+
validCellStroke: "var(--gloss-valid-cell-stroke)",
|
|
358
|
+
provisionalWash: "var(--gloss-provisional-wash)"
|
|
359
|
+
};
|
|
360
|
+
function Ga() {
|
|
361
|
+
if (typeof window > "u") return "full";
|
|
362
|
+
try {
|
|
363
|
+
return window.matchMedia("(prefers-reduced-motion: reduce)").matches ? "reduced" : "full";
|
|
364
|
+
} catch {
|
|
365
|
+
return "full";
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
const Pe = ({ visible: e, variant: t, trigger: n, children: a, className: r }) => {
|
|
369
|
+
const s = {
|
|
370
|
+
"--gloss-swing-enter-ms": `${ae.enterDurationMs}ms`,
|
|
371
|
+
"--gloss-swing-exit-ms": `${ae.exitDurationMs}ms`,
|
|
372
|
+
"--gloss-swing-offset": `${ae.translateOffsetPx}px`,
|
|
373
|
+
"--gloss-swing-enter-easing": ae.enterEasing,
|
|
374
|
+
"--gloss-swing-exit-easing": ae.exitEasing
|
|
375
|
+
}, o = [
|
|
376
|
+
"gloss-swing-reveal",
|
|
377
|
+
`gloss-swing-reveal--${t}`,
|
|
378
|
+
n === "hover+focus" ? "gloss-swing-reveal--hover-focus" : "",
|
|
379
|
+
r ?? ""
|
|
380
|
+
].filter(Boolean).join(" ");
|
|
381
|
+
return /* @__PURE__ */ l(
|
|
382
|
+
"span",
|
|
383
|
+
{
|
|
384
|
+
"data-testid": "gloss-swing-reveal",
|
|
385
|
+
"data-variant": t,
|
|
386
|
+
"data-visible": e ? "true" : "false",
|
|
387
|
+
className: o,
|
|
388
|
+
style: s,
|
|
389
|
+
children: a
|
|
390
|
+
}
|
|
391
|
+
);
|
|
392
|
+
}, bt = Qe(
|
|
393
|
+
function({ state: t, onPointerDown: n, onPointerUp: a, onPointerEnter: r, onPointerLeave: s, onKeyboardStep: o, edge: d = "right", ariaLabel: b = "Resize card" }, g) {
|
|
394
|
+
const u = t === "handle-visible" || t === "dragging" || t === "settling", C = (f) => {
|
|
323
395
|
try {
|
|
324
396
|
f.currentTarget.setPointerCapture(f.pointerId);
|
|
325
397
|
} catch {
|
|
326
398
|
}
|
|
327
399
|
n(f);
|
|
328
|
-
},
|
|
400
|
+
}, m = (f) => {
|
|
329
401
|
try {
|
|
330
402
|
f.currentTarget.hasPointerCapture?.(f.pointerId) && f.currentTarget.releasePointerCapture(f.pointerId);
|
|
331
403
|
} catch {
|
|
332
404
|
}
|
|
333
405
|
a(f);
|
|
334
406
|
}, c = (f) => {
|
|
335
|
-
!
|
|
407
|
+
!u || !o || (f.key === "ArrowRight" ? (f.preventDefault(), o("grow")) : f.key === "ArrowLeft" && (f.preventDefault(), o("shrink")));
|
|
336
408
|
};
|
|
337
|
-
return /* @__PURE__ */ l(
|
|
409
|
+
return /* @__PURE__ */ l(Pe, { visible: u, variant: "handle", trigger: "hover", children: /* @__PURE__ */ l(
|
|
338
410
|
"button",
|
|
339
411
|
{
|
|
340
|
-
ref:
|
|
412
|
+
ref: g,
|
|
341
413
|
type: "button",
|
|
342
414
|
"aria-label": b,
|
|
343
415
|
"data-edge": d,
|
|
@@ -345,20 +417,20 @@ const ht = qe(
|
|
|
345
417
|
className: [
|
|
346
418
|
"gloss-edge-handle",
|
|
347
419
|
`gloss-edge-handle--${d}`,
|
|
348
|
-
|
|
420
|
+
u ? "gloss-edge-handle--visible" : ""
|
|
349
421
|
].filter(Boolean).join(" "),
|
|
350
422
|
onPointerDown: C,
|
|
351
|
-
onPointerUp:
|
|
423
|
+
onPointerUp: m,
|
|
352
424
|
onPointerEnter: r,
|
|
353
425
|
onPointerLeave: s,
|
|
354
426
|
onKeyDown: c,
|
|
355
|
-
tabIndex:
|
|
427
|
+
tabIndex: u ? 0 : -1
|
|
356
428
|
}
|
|
357
|
-
);
|
|
429
|
+
) });
|
|
358
430
|
}
|
|
359
431
|
);
|
|
360
|
-
|
|
361
|
-
function
|
|
432
|
+
bt.displayName = "EdgeHoverHandle";
|
|
433
|
+
function vt({
|
|
362
434
|
visible: e,
|
|
363
435
|
targetColSpan: t,
|
|
364
436
|
ghostWidth: n,
|
|
@@ -382,8 +454,8 @@ function bt({
|
|
|
382
454
|
}
|
|
383
455
|
);
|
|
384
456
|
}
|
|
385
|
-
|
|
386
|
-
class
|
|
457
|
+
vt.displayName = "GhostPreview";
|
|
458
|
+
class yt {
|
|
387
459
|
constructor() {
|
|
388
460
|
this.samples = [], this.capacity = 3;
|
|
389
461
|
}
|
|
@@ -407,14 +479,14 @@ class vt {
|
|
|
407
479
|
const t = this.samples.length;
|
|
408
480
|
if (t < 2) return 0;
|
|
409
481
|
if (t === 2) {
|
|
410
|
-
const [b,
|
|
411
|
-
return (
|
|
482
|
+
const [b, g] = this.samples, u = Math.max(1, g.t - b.t);
|
|
483
|
+
return (g.x - b.x) / u * 1e3;
|
|
412
484
|
}
|
|
413
485
|
const [n, a, r] = this.samples, s = (r.x - a.x) / Math.max(1, r.t - a.t) * 1e3, o = (a.x - n.x) / Math.max(1, a.t - n.t) * 1e3, d = o;
|
|
414
486
|
return (s * 3 + o * 2 + d * 1) / 6;
|
|
415
487
|
}
|
|
416
488
|
}
|
|
417
|
-
const
|
|
489
|
+
const Fe = {
|
|
418
490
|
// Spring (D-08). Retuned 260419 — damping 35 → 22 so the commit spring
|
|
419
491
|
// has visible overshoot (ζ ≈ 0.49, ~13–17% overshoot, ~350ms settle). The
|
|
420
492
|
// prior ζ ≈ 0.78 was imperceptible to users. Debug slug:
|
|
@@ -434,7 +506,7 @@ const Pe = {
|
|
|
434
506
|
// Velocity multiplier (D-03b panel)
|
|
435
507
|
velocityMultiplier: 1
|
|
436
508
|
};
|
|
437
|
-
function
|
|
509
|
+
function Ha({
|
|
438
510
|
currentColSpan: e,
|
|
439
511
|
stackable: t,
|
|
440
512
|
onResize: n,
|
|
@@ -444,16 +516,16 @@ function Aa({
|
|
|
444
516
|
tuning: o,
|
|
445
517
|
dwellMs: d = 120,
|
|
446
518
|
enterMs: b = 180,
|
|
447
|
-
exitMs:
|
|
448
|
-
maxColSpan:
|
|
519
|
+
exitMs: g = 120,
|
|
520
|
+
maxColSpan: u = 3,
|
|
449
521
|
containerRef: C,
|
|
450
|
-
forceIdle:
|
|
522
|
+
forceIdle: m
|
|
451
523
|
}) {
|
|
452
|
-
const [c, f] = W("idle"), [S, h] = W(e), x = R(null), I = R(null), N = R(null), _ = R(r), T = R(s), i = R(
|
|
524
|
+
const [c, f] = W("idle"), [S, h] = W(e), x = R(null), I = R(null), N = R(null), _ = R(r), T = R(s), i = R(u), v = R(0), p = R("idle");
|
|
453
525
|
L(() => {
|
|
454
526
|
p.current = c;
|
|
455
527
|
}, [c]);
|
|
456
|
-
const w =
|
|
528
|
+
const w = et(0), k = R(null), M = y(() => {
|
|
457
529
|
const D = k.current;
|
|
458
530
|
if (D) {
|
|
459
531
|
try {
|
|
@@ -468,18 +540,18 @@ function Aa({
|
|
|
468
540
|
return D * P + (D - 1) * F;
|
|
469
541
|
},
|
|
470
542
|
[]
|
|
471
|
-
), G = R(new
|
|
543
|
+
), G = R(new yt()), V = R(e);
|
|
472
544
|
L(() => {
|
|
473
545
|
V.current = S;
|
|
474
546
|
}, [S]);
|
|
475
|
-
const $ = se(() => ({ ...
|
|
547
|
+
const $ = se(() => ({ ...Fe, ...o ?? {} }), [o]), O = y(() => {
|
|
476
548
|
x.current && (clearTimeout(x.current), x.current = null);
|
|
477
549
|
}, []), j = y(() => {
|
|
478
550
|
I.current && (clearTimeout(I.current), I.current = null);
|
|
479
551
|
}, []);
|
|
480
552
|
L(() => {
|
|
481
|
-
|
|
482
|
-
}, [
|
|
553
|
+
m && (p.current === "dragging" || p.current === "settling" || (O(), j(), p.current = "idle", f("idle")));
|
|
554
|
+
}, [m, O, j]);
|
|
483
555
|
const oe = y(() => {
|
|
484
556
|
f((D) => D === "settling" || D !== "idle" ? D : (x.current = setTimeout(() => f("handle-visible"), d), "dwelling"));
|
|
485
557
|
}, [d]), K = y(() => {
|
|
@@ -488,7 +560,7 @@ function Aa({
|
|
|
488
560
|
(D, P, F) => {
|
|
489
561
|
const B = _.current, Q = B * $.snapInFraction, Z = B * $.snapOutFraction, Y = P - F, q = Math.max(
|
|
490
562
|
F,
|
|
491
|
-
i.current ??
|
|
563
|
+
i.current ?? u
|
|
492
564
|
);
|
|
493
565
|
let z = Y;
|
|
494
566
|
for (; F + z < q; ) {
|
|
@@ -504,15 +576,15 @@ function Aa({
|
|
|
504
576
|
}
|
|
505
577
|
return Math.min(q, Math.max(1, F + z));
|
|
506
578
|
},
|
|
507
|
-
[$.snapInFraction, $.snapOutFraction,
|
|
508
|
-
),
|
|
579
|
+
[$.snapInFraction, $.snapOutFraction, u]
|
|
580
|
+
), Ge = y(
|
|
509
581
|
(D) => {
|
|
510
582
|
if (p.current !== "handle-visible") return;
|
|
511
|
-
M(), N.current = D.clientX, _.current = r, T.current = s, i.current =
|
|
583
|
+
M(), N.current = D.clientX, _.current = r, T.current = s, i.current = u;
|
|
512
584
|
const P = e * r + (e - 1) * s;
|
|
513
585
|
v.current = P, G.current.clear(), G.current.push({ x: D.clientX, t: performance.now() }), w.jump(P), p.current = "dragging", f("dragging");
|
|
514
586
|
},
|
|
515
|
-
[r, s,
|
|
587
|
+
[r, s, u, e, w, M]
|
|
516
588
|
), Ce = y(
|
|
517
589
|
(D) => D * _.current + (D - 1) * T.current,
|
|
518
590
|
[]
|
|
@@ -536,15 +608,15 @@ function Aa({
|
|
|
536
608
|
});
|
|
537
609
|
},
|
|
538
610
|
[Ce, e, t, n, a, w, $, M]
|
|
539
|
-
),
|
|
611
|
+
), He = y(
|
|
540
612
|
(D) => {
|
|
541
613
|
if (p.current !== "dragging") return;
|
|
542
|
-
const P = D.clientX - (N.current ?? D.clientX), F = _.current, Q = ((i.current ??
|
|
614
|
+
const P = D.clientX - (N.current ?? D.clientX), F = _.current, Q = ((i.current ?? u) - e) * F, Z = (1 - e) * F, Y = Math.max(Z, Math.min(Q, P));
|
|
543
615
|
G.current.push({ x: D.clientX, t: performance.now() });
|
|
544
616
|
const q = ie(Y, V.current, e), z = q > e ? "grow" : q < e ? "shrink" : null;
|
|
545
617
|
le(q, z);
|
|
546
618
|
},
|
|
547
|
-
[ie, e,
|
|
619
|
+
[ie, e, u, le]
|
|
548
620
|
), me = y(() => {
|
|
549
621
|
if (O(), p.current === "dragging") {
|
|
550
622
|
const D = v.current;
|
|
@@ -579,38 +651,38 @@ function Aa({
|
|
|
579
651
|
return;
|
|
580
652
|
}
|
|
581
653
|
const D = (P) => {
|
|
582
|
-
const F = P.clientX - (N.current ?? P.clientX), B = v.current, Q = E(1), Z = E(
|
|
654
|
+
const F = P.clientX - (N.current ?? P.clientX), B = v.current, Q = E(1), Z = E(u), Y = B + F, q = Math.max(Q, Math.min(Z, Y));
|
|
583
655
|
w.set(q);
|
|
584
|
-
const z = _.current, _e = (
|
|
656
|
+
const z = _.current, _e = (u - e) * z, te = (1 - e) * z, Ze = Math.max(te, Math.min(_e, F));
|
|
585
657
|
G.current.push({ x: P.clientX, t: performance.now() });
|
|
586
|
-
const ge = ie(
|
|
658
|
+
const ge = ie(Ze, V.current, e);
|
|
587
659
|
ge !== V.current && (V.current = ge, h(ge));
|
|
588
660
|
};
|
|
589
661
|
return window.addEventListener("pointermove", D), () => window.removeEventListener("pointermove", D);
|
|
590
|
-
}, [c, e, w, ie,
|
|
662
|
+
}, [c, e, w, ie, u, E]), L(() => () => {
|
|
591
663
|
O(), j();
|
|
592
664
|
}, [O, j]), L(() => {
|
|
593
665
|
if (c !== "cancelled") return;
|
|
594
|
-
const D = setTimeout(() => f("idle"),
|
|
666
|
+
const D = setTimeout(() => f("idle"), g);
|
|
595
667
|
return () => clearTimeout(D);
|
|
596
|
-
}, [c,
|
|
597
|
-
const
|
|
668
|
+
}, [c, g]);
|
|
669
|
+
const Ve = y(
|
|
598
670
|
(D) => {
|
|
599
671
|
if (p.current === "settling") return;
|
|
600
|
-
const F = Math.min(
|
|
672
|
+
const F = Math.min(u, Math.max(1, e + (D === "grow" ? 1 : -1)));
|
|
601
673
|
if (F === e) return;
|
|
602
|
-
_.current = r, T.current = s, i.current =
|
|
674
|
+
_.current = r, T.current = s, i.current = u, G.current.clear();
|
|
603
675
|
const B = e * r + (e - 1) * s;
|
|
604
676
|
v.current = B, w.jump(B), le(F, D);
|
|
605
677
|
},
|
|
606
|
-
[e, r, s,
|
|
678
|
+
[e, r, s, u, w, le]
|
|
607
679
|
), ke = y(() => {
|
|
608
680
|
j(), I.current = setTimeout(() => {
|
|
609
681
|
p.current === "handle-visible" && (p.current = "idle", f("idle"));
|
|
610
682
|
}, 5e3);
|
|
611
|
-
}, [j]),
|
|
683
|
+
}, [j]), je = y(() => {
|
|
612
684
|
p.current === "idle" && (O(), p.current = "handle-visible", f("handle-visible"), ke());
|
|
613
|
-
}, [O, ke]),
|
|
685
|
+
}, [O, ke]), Ue = y(() => {
|
|
614
686
|
j(), p.current === "handle-visible" && (p.current = "idle", f("idle"));
|
|
615
687
|
}, [j]);
|
|
616
688
|
return {
|
|
@@ -618,8 +690,8 @@ function Aa({
|
|
|
618
690
|
enterEdgeZone: oe,
|
|
619
691
|
leaveEdgeZone: K,
|
|
620
692
|
handleProps: {
|
|
621
|
-
onPointerDown:
|
|
622
|
-
onPointerUp:
|
|
693
|
+
onPointerDown: Ge,
|
|
694
|
+
onPointerUp: He,
|
|
623
695
|
// Bug E: handle continues zone presence so pointer crossing sentinel→handle
|
|
624
696
|
// doesn't collapse state. handle's pointerenter = stay in zone.
|
|
625
697
|
onPointerEnter: oe,
|
|
@@ -631,11 +703,11 @@ function Aa({
|
|
|
631
703
|
targetColSpan: S,
|
|
632
704
|
ghostWidth: w,
|
|
633
705
|
enterMs: b,
|
|
634
|
-
exitMs:
|
|
706
|
+
exitMs: g
|
|
635
707
|
},
|
|
636
|
-
onKeyboardStep:
|
|
637
|
-
onTouchReveal:
|
|
638
|
-
onTouchDismiss:
|
|
708
|
+
onKeyboardStep: Ve,
|
|
709
|
+
onTouchReveal: je,
|
|
710
|
+
onTouchDismiss: Ue,
|
|
639
711
|
cancel: me
|
|
640
712
|
};
|
|
641
713
|
}
|
|
@@ -664,14 +736,14 @@ const ee = {
|
|
|
664
736
|
sectionDividerFadeOutMs: 80,
|
|
665
737
|
sectionDividerStaggerMs: 40
|
|
666
738
|
};
|
|
667
|
-
function
|
|
739
|
+
function Va(e) {
|
|
668
740
|
const { cardWidthPx: t, slotCount: n, activeSlotIdx: a, pillWidthPx: r } = e;
|
|
669
741
|
if (a == null || !Number.isFinite(t) || t <= 0 || !Number.isFinite(n) || n <= 0 || !Number.isInteger(a) || a < 0 || a >= n)
|
|
670
742
|
return;
|
|
671
743
|
const s = (a + 0.5) * (t / n);
|
|
672
744
|
return r != null && Number.isFinite(r) && r > 0 ? s - r / 2 : s;
|
|
673
745
|
}
|
|
674
|
-
const
|
|
746
|
+
const ja = [
|
|
675
747
|
// 1. Standard: Total Revenue
|
|
676
748
|
{
|
|
677
749
|
variant: "standard",
|
|
@@ -775,24 +847,24 @@ const $a = [
|
|
|
775
847
|
{ value: 9, color: "#6b7280", label: "Other" }
|
|
776
848
|
]
|
|
777
849
|
}
|
|
778
|
-
],
|
|
850
|
+
], wt = {
|
|
779
851
|
variant: "standard",
|
|
780
852
|
label: "Total Revenue",
|
|
781
853
|
isLoading: !0
|
|
782
|
-
},
|
|
854
|
+
}, Dt = {
|
|
783
855
|
variant: "standard",
|
|
784
856
|
label: "Total Revenue",
|
|
785
857
|
value: 125430,
|
|
786
858
|
valueFormat: { prefix: "$", abbreviated: !0 },
|
|
787
859
|
isError: !0
|
|
788
|
-
},
|
|
860
|
+
}, Nt = {
|
|
789
861
|
variant: "standard",
|
|
790
862
|
label: "Total Revenue",
|
|
791
863
|
value: null,
|
|
792
864
|
valueFormat: { prefix: "$", abbreviated: !0 },
|
|
793
865
|
isEmpty: !0,
|
|
794
866
|
subtitle: "No data"
|
|
795
|
-
},
|
|
867
|
+
}, Ct = {
|
|
796
868
|
variant: "standard",
|
|
797
869
|
label: "Total Revenue",
|
|
798
870
|
value: 125430,
|
|
@@ -800,7 +872,7 @@ const $a = [
|
|
|
800
872
|
trend: { value: 12.5, direction: "up" },
|
|
801
873
|
subtitle: "MTD",
|
|
802
874
|
isStale: !0
|
|
803
|
-
},
|
|
875
|
+
}, kt = {
|
|
804
876
|
variant: "sparkline",
|
|
805
877
|
label: "Daily Orders",
|
|
806
878
|
value: 847,
|
|
@@ -809,7 +881,7 @@ const $a = [
|
|
|
809
881
|
sparklineData: [42, 38, 51, 47, 55, 60, 58, 63, 57, 62, 68, 71, 65, 59],
|
|
810
882
|
accentColor: "#6366f1",
|
|
811
883
|
isStale: !0
|
|
812
|
-
},
|
|
884
|
+
}, _t = {
|
|
813
885
|
variant: "donut",
|
|
814
886
|
label: "Order Fill Rate",
|
|
815
887
|
value: 78,
|
|
@@ -820,14 +892,14 @@ const $a = [
|
|
|
820
892
|
donutMax: 100,
|
|
821
893
|
accentColor: "#10b981",
|
|
822
894
|
isStale: !0
|
|
823
|
-
},
|
|
824
|
-
yt,
|
|
895
|
+
}, Ua = [
|
|
825
896
|
wt,
|
|
826
897
|
Dt,
|
|
827
898
|
Nt,
|
|
828
899
|
Ct,
|
|
829
|
-
kt
|
|
830
|
-
|
|
900
|
+
kt,
|
|
901
|
+
_t
|
|
902
|
+
], Za = {
|
|
831
903
|
variant: "sparkline",
|
|
832
904
|
label: "Daily Orders",
|
|
833
905
|
value: 847,
|
|
@@ -850,7 +922,7 @@ const $a = [
|
|
|
850
922
|
59
|
|
851
923
|
],
|
|
852
924
|
accentColor: "#6366f1"
|
|
853
|
-
},
|
|
925
|
+
}, Ya = {
|
|
854
926
|
variant: "sparkline",
|
|
855
927
|
label: "New Customers",
|
|
856
928
|
value: 23,
|
|
@@ -889,21 +961,21 @@ const $a = [
|
|
|
889
961
|
19
|
|
890
962
|
],
|
|
891
963
|
accentColor: "#10b981"
|
|
892
|
-
},
|
|
964
|
+
}, qa = {
|
|
893
965
|
variant: "standard",
|
|
894
966
|
label: "Total Revenue",
|
|
895
967
|
value: 125430,
|
|
896
968
|
valueFormat: { prefix: "$", abbreviated: !0 },
|
|
897
969
|
trend: { value: 12.5, direction: "up" },
|
|
898
970
|
subtitle: "MTD"
|
|
899
|
-
},
|
|
971
|
+
}, Qa = {
|
|
900
972
|
variant: "standard",
|
|
901
973
|
label: "Returns",
|
|
902
974
|
value: 3280,
|
|
903
975
|
valueFormat: { prefix: "$", abbreviated: !0 },
|
|
904
976
|
trend: { value: -8.3, direction: "down" },
|
|
905
977
|
subtitle: "MTD"
|
|
906
|
-
},
|
|
978
|
+
}, Xa = {
|
|
907
979
|
variant: "standard",
|
|
908
980
|
label: "Avg Order Value",
|
|
909
981
|
value: 487,
|
|
@@ -911,7 +983,7 @@ const $a = [
|
|
|
911
983
|
trend: { value: 0, direction: "flat" },
|
|
912
984
|
subtitle: "QTD"
|
|
913
985
|
};
|
|
914
|
-
function
|
|
986
|
+
function Ee({
|
|
915
987
|
open: e,
|
|
916
988
|
onDismiss: t,
|
|
917
989
|
anchorRef: n,
|
|
@@ -922,22 +994,22 @@ function Fe({
|
|
|
922
994
|
onManagePages: d
|
|
923
995
|
}) {
|
|
924
996
|
const b = y(
|
|
925
|
-
(
|
|
926
|
-
s(
|
|
997
|
+
(m) => {
|
|
998
|
+
s(m), t();
|
|
927
999
|
},
|
|
928
1000
|
[s, t]
|
|
929
|
-
),
|
|
930
|
-
(
|
|
931
|
-
(c.key === "Enter" || c.key === " ") && (c.preventDefault(), b(
|
|
1001
|
+
), g = y(
|
|
1002
|
+
(m, c) => {
|
|
1003
|
+
(c.key === "Enter" || c.key === " ") && (c.preventDefault(), b(m));
|
|
932
1004
|
},
|
|
933
1005
|
[b]
|
|
934
|
-
),
|
|
1006
|
+
), u = y(() => {
|
|
935
1007
|
o(), t();
|
|
936
1008
|
}, [o, t]), C = y(() => {
|
|
937
1009
|
d(), t();
|
|
938
1010
|
}, [d, t]);
|
|
939
1011
|
return /* @__PURE__ */ A(
|
|
940
|
-
|
|
1012
|
+
at,
|
|
941
1013
|
{
|
|
942
1014
|
definition: {
|
|
943
1015
|
placement: "bottom-end",
|
|
@@ -950,8 +1022,8 @@ function Fe({
|
|
|
950
1022
|
anchorRef: n,
|
|
951
1023
|
className: "gloss-page-dropdown",
|
|
952
1024
|
children: [
|
|
953
|
-
/* @__PURE__ */ l("ul", { role: "menu", className: "gloss-page-dropdown__list", children: a.map((
|
|
954
|
-
const c =
|
|
1025
|
+
/* @__PURE__ */ l("ul", { role: "menu", className: "gloss-page-dropdown__list", children: a.map((m) => {
|
|
1026
|
+
const c = m.id === r;
|
|
955
1027
|
return /* @__PURE__ */ A(
|
|
956
1028
|
"li",
|
|
957
1029
|
{
|
|
@@ -960,8 +1032,8 @@ function Fe({
|
|
|
960
1032
|
"aria-current": c ? "page" : void 0,
|
|
961
1033
|
tabIndex: 0,
|
|
962
1034
|
className: `gloss-page-dropdown__item${c ? " gloss-page-dropdown__item--active" : ""}`,
|
|
963
|
-
onClick: () => b(
|
|
964
|
-
onKeyDown: (f) => m
|
|
1035
|
+
onClick: () => b(m.id),
|
|
1036
|
+
onKeyDown: (f) => g(m.id, f),
|
|
965
1037
|
children: [
|
|
966
1038
|
/* @__PURE__ */ l(
|
|
967
1039
|
"span",
|
|
@@ -972,14 +1044,14 @@ function Fe({
|
|
|
972
1044
|
/* @__PURE__ */ l(
|
|
973
1045
|
"span",
|
|
974
1046
|
{
|
|
975
|
-
className: `gloss-page-dropdown__name${
|
|
976
|
-
children:
|
|
1047
|
+
className: `gloss-page-dropdown__name${m.named ? "" : " gloss-page-dropdown__name--unnamed"}`,
|
|
1048
|
+
children: m.name
|
|
977
1049
|
}
|
|
978
1050
|
),
|
|
979
|
-
/* @__PURE__ */ l("span", { className: "gloss-page-dropdown__count", children:
|
|
1051
|
+
/* @__PURE__ */ l("span", { className: "gloss-page-dropdown__count", children: m.cardCount })
|
|
980
1052
|
]
|
|
981
1053
|
},
|
|
982
|
-
|
|
1054
|
+
m.id
|
|
983
1055
|
);
|
|
984
1056
|
}) }),
|
|
985
1057
|
/* @__PURE__ */ l("hr", { className: "gloss-page-dropdown__separator" }),
|
|
@@ -988,7 +1060,7 @@ function Fe({
|
|
|
988
1060
|
{
|
|
989
1061
|
role: "menuitem",
|
|
990
1062
|
className: "gloss-page-dropdown__action",
|
|
991
|
-
onClick:
|
|
1063
|
+
onClick: u,
|
|
992
1064
|
children: "+ New page"
|
|
993
1065
|
}
|
|
994
1066
|
),
|
|
@@ -1006,8 +1078,8 @@ function Fe({
|
|
|
1006
1078
|
}
|
|
1007
1079
|
);
|
|
1008
1080
|
}
|
|
1009
|
-
|
|
1010
|
-
const
|
|
1081
|
+
Ee.displayName = "PageDropdown";
|
|
1082
|
+
const xt = function({
|
|
1011
1083
|
currentIndex: t,
|
|
1012
1084
|
total: n,
|
|
1013
1085
|
pages: a,
|
|
@@ -1016,10 +1088,10 @@ const _t = function({
|
|
|
1016
1088
|
onManagePages: o,
|
|
1017
1089
|
maskRadius: d = "var(--gloss-radius-md)"
|
|
1018
1090
|
}) {
|
|
1019
|
-
const b = R(null), [
|
|
1020
|
-
|
|
1021
|
-
}, []),
|
|
1022
|
-
|
|
1091
|
+
const b = R(null), [g, u] = W(!1), C = y(() => {
|
|
1092
|
+
u((f) => !f);
|
|
1093
|
+
}, []), m = y(() => {
|
|
1094
|
+
u(!1);
|
|
1023
1095
|
}, []), c = a[t]?.id ?? "";
|
|
1024
1096
|
return /* @__PURE__ */ A(
|
|
1025
1097
|
"div",
|
|
@@ -1041,7 +1113,7 @@ const _t = function({
|
|
|
1041
1113
|
{
|
|
1042
1114
|
className: "gloss-page-chip__trigger",
|
|
1043
1115
|
"aria-haspopup": "menu",
|
|
1044
|
-
"aria-expanded":
|
|
1116
|
+
"aria-expanded": g,
|
|
1045
1117
|
"aria-label": `Page ${t + 1} of ${n}. Click to switch pages.`,
|
|
1046
1118
|
onClick: C,
|
|
1047
1119
|
children: [
|
|
@@ -1052,10 +1124,10 @@ const _t = function({
|
|
|
1052
1124
|
}
|
|
1053
1125
|
),
|
|
1054
1126
|
/* @__PURE__ */ l(
|
|
1055
|
-
|
|
1127
|
+
Ee,
|
|
1056
1128
|
{
|
|
1057
|
-
open:
|
|
1058
|
-
onDismiss:
|
|
1129
|
+
open: g,
|
|
1130
|
+
onDismiss: m,
|
|
1059
1131
|
anchorRef: b,
|
|
1060
1132
|
pages: a,
|
|
1061
1133
|
activePageId: c,
|
|
@@ -1068,8 +1140,8 @@ const _t = function({
|
|
|
1068
1140
|
}
|
|
1069
1141
|
);
|
|
1070
1142
|
};
|
|
1071
|
-
|
|
1072
|
-
const
|
|
1143
|
+
xt.displayName = "PageChip";
|
|
1144
|
+
const Ja = [
|
|
1073
1145
|
{
|
|
1074
1146
|
id: "ORD-1001",
|
|
1075
1147
|
orderNumber: "ORD-1001",
|
|
@@ -1202,7 +1274,7 @@ const Va = [
|
|
|
1202
1274
|
date: "2026-03-01",
|
|
1203
1275
|
skuCount: 9
|
|
1204
1276
|
}
|
|
1205
|
-
],
|
|
1277
|
+
], en = [
|
|
1206
1278
|
{
|
|
1207
1279
|
id: "ITEM-001",
|
|
1208
1280
|
sku: "PB-4520",
|
|
@@ -1339,13 +1411,13 @@ const Va = [
|
|
|
1339
1411
|
function ve(e) {
|
|
1340
1412
|
return "$" + e.toLocaleString("en-US", { minimumFractionDigits: 2, maximumFractionDigits: 2 });
|
|
1341
1413
|
}
|
|
1342
|
-
function
|
|
1414
|
+
function Oe(e) {
|
|
1343
1415
|
return e.toLocaleString("en-US");
|
|
1344
1416
|
}
|
|
1345
|
-
function
|
|
1417
|
+
function Ae(e) {
|
|
1346
1418
|
return new Date(e).toLocaleDateString("en-US", { month: "short", day: "numeric", year: "numeric" });
|
|
1347
1419
|
}
|
|
1348
|
-
const re = H.createElement("span", { style: { color: "var(--color-text-muted)" } }, "—"),
|
|
1420
|
+
const re = H.createElement("span", { style: { color: "var(--color-text-muted)" } }, "—"), tn = [
|
|
1349
1421
|
{
|
|
1350
1422
|
field: "id",
|
|
1351
1423
|
headerName: "Order",
|
|
@@ -1375,7 +1447,7 @@ const re = H.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1375
1447
|
align: "right",
|
|
1376
1448
|
headerAlign: "right",
|
|
1377
1449
|
cellClassName: "gloss-tabular-nums",
|
|
1378
|
-
renderCell: ({ row: e }) => e.skuCount ?
|
|
1450
|
+
renderCell: ({ row: e }) => e.skuCount ? Oe(e.skuCount) : re
|
|
1379
1451
|
},
|
|
1380
1452
|
{
|
|
1381
1453
|
field: "total",
|
|
@@ -1395,9 +1467,9 @@ const re = H.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1395
1467
|
align: "right",
|
|
1396
1468
|
headerAlign: "right",
|
|
1397
1469
|
cellClassName: "gloss-tabular-nums",
|
|
1398
|
-
renderCell: ({ row: e }) => e.date ?
|
|
1470
|
+
renderCell: ({ row: e }) => e.date ? Ae(e.date) : ""
|
|
1399
1471
|
}
|
|
1400
|
-
],
|
|
1472
|
+
], an = [
|
|
1401
1473
|
{
|
|
1402
1474
|
field: "sku",
|
|
1403
1475
|
headerName: "Item ID",
|
|
@@ -1439,7 +1511,7 @@ const re = H.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1439
1511
|
align: "right",
|
|
1440
1512
|
headerAlign: "right",
|
|
1441
1513
|
cellClassName: "gloss-tabular-nums gloss-drillable",
|
|
1442
|
-
renderCell: ({ row: e }) => e.quantity ?
|
|
1514
|
+
renderCell: ({ row: e }) => e.quantity ? Oe(e.quantity) : re
|
|
1443
1515
|
},
|
|
1444
1516
|
{
|
|
1445
1517
|
field: "total",
|
|
@@ -1459,24 +1531,24 @@ const re = H.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1459
1531
|
align: "right",
|
|
1460
1532
|
headerAlign: "right",
|
|
1461
1533
|
cellClassName: "gloss-tabular-nums",
|
|
1462
|
-
renderCell: ({ row: e }) => e.lastDate ?
|
|
1534
|
+
renderCell: ({ row: e }) => e.lastDate ? Ae(e.lastDate) : ""
|
|
1463
1535
|
}
|
|
1464
|
-
],
|
|
1536
|
+
], St = [
|
|
1465
1537
|
{ id: "c-001", label: "ABC Home Goods" },
|
|
1466
1538
|
{ id: "c-002", label: "Riverside Retail" },
|
|
1467
1539
|
{ id: "c-003", label: "Mountain View Store" },
|
|
1468
1540
|
{ id: "c-004", label: "Downtown Decor" },
|
|
1469
1541
|
{ id: "c-005", label: "Pacific Coast Imports" }
|
|
1470
|
-
],
|
|
1542
|
+
], Mt = [
|
|
1471
1543
|
{ id: "i-001", label: "Classic Linen Throw Pillow" },
|
|
1472
1544
|
{ id: "i-002", label: "Coastal Wave Candle Set" },
|
|
1473
1545
|
{ id: "i-003", label: "Walnut Console Table" },
|
|
1474
1546
|
{ id: "i-004", label: "Hand-Blown Glass Vase" },
|
|
1475
1547
|
{ id: "i-005", label: "Velvet Accent Cushion" }
|
|
1476
1548
|
], pe = (e) => {
|
|
1477
|
-
},
|
|
1549
|
+
}, Tt = (e) => {
|
|
1478
1550
|
}, Me = (e, t) => {
|
|
1479
|
-
},
|
|
1551
|
+
}, Le = {
|
|
1480
1552
|
vizState: {
|
|
1481
1553
|
type: "orders",
|
|
1482
1554
|
quant: "$",
|
|
@@ -1485,16 +1557,16 @@ const re = H.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1485
1557
|
timeFrame: "MTD"
|
|
1486
1558
|
},
|
|
1487
1559
|
onTypeChange: pe,
|
|
1488
|
-
onQuantChange:
|
|
1560
|
+
onQuantChange: Tt,
|
|
1489
1561
|
onEntityTypeChange: pe,
|
|
1490
1562
|
onEntitySelect: Me,
|
|
1491
1563
|
onItemSelect: Me,
|
|
1492
1564
|
onTimeFrameChange: pe,
|
|
1493
1565
|
userType: "sales-agency",
|
|
1494
|
-
entityFilterOptions:
|
|
1495
|
-
itemFilterOptions:
|
|
1496
|
-
},
|
|
1497
|
-
...
|
|
1566
|
+
entityFilterOptions: St,
|
|
1567
|
+
itemFilterOptions: Mt
|
|
1568
|
+
}, nn = {
|
|
1569
|
+
...Le,
|
|
1498
1570
|
vizState: {
|
|
1499
1571
|
type: "items",
|
|
1500
1572
|
quant: "$",
|
|
@@ -1502,8 +1574,8 @@ const re = H.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1502
1574
|
byItem: { id: "i-003", name: "Walnut Console Table" },
|
|
1503
1575
|
timeFrame: "YTD"
|
|
1504
1576
|
}
|
|
1505
|
-
},
|
|
1506
|
-
...
|
|
1577
|
+
}, rn = {
|
|
1578
|
+
...Le,
|
|
1507
1579
|
vizState: {
|
|
1508
1580
|
type: "orders",
|
|
1509
1581
|
quant: "#",
|
|
@@ -1515,7 +1587,7 @@ const re = H.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1515
1587
|
entityFilterOptions: [
|
|
1516
1588
|
{ id: "customers", label: "Customers" }
|
|
1517
1589
|
]
|
|
1518
|
-
},
|
|
1590
|
+
}, Rt = [
|
|
1519
1591
|
{
|
|
1520
1592
|
id: "recent-orders",
|
|
1521
1593
|
label: "Recent Orders",
|
|
@@ -1561,7 +1633,7 @@ const re = H.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1561
1633
|
routeKey: "customer.profile",
|
|
1562
1634
|
subtitle: "Opens in RepTime"
|
|
1563
1635
|
}
|
|
1564
|
-
],
|
|
1636
|
+
], It = [
|
|
1565
1637
|
{
|
|
1566
1638
|
id: "order-items",
|
|
1567
1639
|
label: "Items in Order",
|
|
@@ -1590,7 +1662,7 @@ const re = H.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1590
1662
|
cellKinds: ["orderId"],
|
|
1591
1663
|
graphType: "timeline"
|
|
1592
1664
|
}
|
|
1593
|
-
],
|
|
1665
|
+
], Pt = [
|
|
1594
1666
|
{
|
|
1595
1667
|
id: "graph-metric",
|
|
1596
1668
|
label: "Graph This Metric",
|
|
@@ -1618,14 +1690,14 @@ const re = H.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1618
1690
|
cellKinds: ["numeric"],
|
|
1619
1691
|
tabType: "orders"
|
|
1620
1692
|
}
|
|
1621
|
-
],
|
|
1622
|
-
entityName:
|
|
1623
|
-
orderId:
|
|
1624
|
-
numeric:
|
|
1625
|
-
},
|
|
1693
|
+
], sn = {
|
|
1694
|
+
entityName: Rt,
|
|
1695
|
+
orderId: It,
|
|
1696
|
+
numeric: Pt
|
|
1697
|
+
}, on = [
|
|
1626
1698
|
new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), (/* @__PURE__ */ new Date()).getDate() - 29),
|
|
1627
1699
|
/* @__PURE__ */ new Date()
|
|
1628
|
-
],
|
|
1700
|
+
], ln = {
|
|
1629
1701
|
rangeA: [
|
|
1630
1702
|
new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), 1),
|
|
1631
1703
|
/* @__PURE__ */ new Date()
|
|
@@ -1638,7 +1710,7 @@ const re = H.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1638
1710
|
new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth() - 2, 1),
|
|
1639
1711
|
new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth() - 1, 0)
|
|
1640
1712
|
]
|
|
1641
|
-
},
|
|
1713
|
+
}, cn = {
|
|
1642
1714
|
version: 4,
|
|
1643
1715
|
lastPreset: "mtd",
|
|
1644
1716
|
pinnedPreset: "mtd",
|
|
@@ -1646,7 +1718,7 @@ const re = H.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1646
1718
|
rangeCount: 1,
|
|
1647
1719
|
lastPresetB: null,
|
|
1648
1720
|
lastPresetC: null
|
|
1649
|
-
},
|
|
1721
|
+
}, dn = [
|
|
1650
1722
|
{
|
|
1651
1723
|
id: "atlanta-jan",
|
|
1652
1724
|
label: "Atlanta Market",
|
|
@@ -1668,7 +1740,7 @@ const re = H.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1668
1740
|
endDate: new Date(2026, 3, 22),
|
|
1669
1741
|
location: "Chicago, IL"
|
|
1670
1742
|
}
|
|
1671
|
-
],
|
|
1743
|
+
], un = [
|
|
1672
1744
|
{
|
|
1673
1745
|
id: "custom-regional-1",
|
|
1674
1746
|
label: "Southeast Regional Expo",
|
|
@@ -1685,7 +1757,7 @@ const re = H.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1685
1757
|
location: "Portland, OR",
|
|
1686
1758
|
isCustom: !0
|
|
1687
1759
|
}
|
|
1688
|
-
],
|
|
1760
|
+
], mn = [
|
|
1689
1761
|
{
|
|
1690
1762
|
id: "atlanta-jan",
|
|
1691
1763
|
label: "Atlanta Market",
|
|
@@ -1702,35 +1774,35 @@ const re = H.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1702
1774
|
location: "New York, NY",
|
|
1703
1775
|
active: !0
|
|
1704
1776
|
}
|
|
1705
|
-
],
|
|
1777
|
+
], gn = [
|
|
1706
1778
|
{ id: "7d", label: "7D" },
|
|
1707
1779
|
{ id: "30d", label: "30D" },
|
|
1708
1780
|
{ id: "60d", label: "60D" },
|
|
1709
1781
|
{ id: "90d", label: "90D" }
|
|
1710
|
-
],
|
|
1782
|
+
], pn = [
|
|
1711
1783
|
{ id: "mtd", label: "MTD" },
|
|
1712
1784
|
{ id: "qtd", label: "QTD" },
|
|
1713
1785
|
{ id: "ytd", label: "YTD" },
|
|
1714
1786
|
{ id: "lytd", label: "LYTD" }
|
|
1715
|
-
],
|
|
1787
|
+
], Ft = {
|
|
1716
1788
|
timeframe: "Time Frame",
|
|
1717
1789
|
threshold: "Thresholds",
|
|
1718
1790
|
slots: "Slots",
|
|
1719
1791
|
size: "Size",
|
|
1720
1792
|
color: "Color",
|
|
1721
1793
|
pinned: "Pinned"
|
|
1722
|
-
},
|
|
1723
|
-
timeframe:
|
|
1724
|
-
threshold:
|
|
1725
|
-
slots:
|
|
1726
|
-
size:
|
|
1727
|
-
color:
|
|
1728
|
-
pinned:
|
|
1794
|
+
}, Et = {
|
|
1795
|
+
timeframe: rt,
|
|
1796
|
+
threshold: st,
|
|
1797
|
+
slots: ot,
|
|
1798
|
+
size: it,
|
|
1799
|
+
color: lt,
|
|
1800
|
+
pinned: ct
|
|
1729
1801
|
};
|
|
1730
1802
|
function Te(...e) {
|
|
1731
1803
|
return e.filter(Boolean).join(" ");
|
|
1732
1804
|
}
|
|
1733
|
-
function
|
|
1805
|
+
function Ot() {
|
|
1734
1806
|
const [e, t] = W(() => typeof window > "u" || typeof window.matchMedia != "function" ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches);
|
|
1735
1807
|
return L(() => {
|
|
1736
1808
|
if (typeof window > "u" || typeof window.matchMedia != "function") return;
|
|
@@ -1740,42 +1812,42 @@ function Et() {
|
|
|
1740
1812
|
});
|
|
1741
1813
|
}, []), e;
|
|
1742
1814
|
}
|
|
1743
|
-
const
|
|
1815
|
+
const At = ({
|
|
1744
1816
|
dimensions: e,
|
|
1745
1817
|
onDimensionSelect: t,
|
|
1746
1818
|
activeDimension: n,
|
|
1747
1819
|
ariaCardTypeLabel: a,
|
|
1748
1820
|
className: r
|
|
1749
1821
|
}) => {
|
|
1750
|
-
const s = R(null), o = R([]), d =
|
|
1822
|
+
const s = R(null), o = R([]), d = Ot(), b = se(() => Array.from(e), [e]);
|
|
1751
1823
|
if (b.length === 0) return null;
|
|
1752
|
-
const
|
|
1824
|
+
const g = a ? `Configure ${a}: choose a dimension` : void 0, u = d ? "10ms" : "200ms", C = (m, c) => {
|
|
1753
1825
|
const f = b.length - 1, S = (h) => {
|
|
1754
1826
|
const x = o.current[h];
|
|
1755
1827
|
x && x.focus();
|
|
1756
1828
|
};
|
|
1757
|
-
switch (
|
|
1829
|
+
switch (m.key) {
|
|
1758
1830
|
case "ArrowRight":
|
|
1759
1831
|
case "ArrowDown": {
|
|
1760
|
-
|
|
1832
|
+
m.preventDefault(), S(c === f ? 0 : c + 1);
|
|
1761
1833
|
break;
|
|
1762
1834
|
}
|
|
1763
1835
|
case "ArrowLeft":
|
|
1764
1836
|
case "ArrowUp": {
|
|
1765
|
-
|
|
1837
|
+
m.preventDefault(), S(c === 0 ? f : c - 1);
|
|
1766
1838
|
break;
|
|
1767
1839
|
}
|
|
1768
1840
|
case "Home": {
|
|
1769
|
-
|
|
1841
|
+
m.preventDefault(), S(0);
|
|
1770
1842
|
break;
|
|
1771
1843
|
}
|
|
1772
1844
|
case "End": {
|
|
1773
|
-
|
|
1845
|
+
m.preventDefault(), S(f);
|
|
1774
1846
|
break;
|
|
1775
1847
|
}
|
|
1776
1848
|
case "Enter":
|
|
1777
1849
|
case " ": {
|
|
1778
|
-
|
|
1850
|
+
m.preventDefault(), t(b[c]);
|
|
1779
1851
|
break;
|
|
1780
1852
|
}
|
|
1781
1853
|
}
|
|
@@ -1785,16 +1857,16 @@ const Ot = ({
|
|
|
1785
1857
|
{
|
|
1786
1858
|
ref: s,
|
|
1787
1859
|
role: "group",
|
|
1788
|
-
"aria-label":
|
|
1860
|
+
"aria-label": g,
|
|
1789
1861
|
className: Te("gloss-reconfig-backside-buttons", r),
|
|
1790
1862
|
style: {
|
|
1791
1863
|
// Expose the reduced-motion-resolved duration as a CSS custom prop
|
|
1792
1864
|
// so the SCSS transition rule can consume it without a nested media
|
|
1793
1865
|
// query in the JS. Also surfaces the value for the unit test.
|
|
1794
|
-
"--gloss-reconfig-backside-buttons-transition-duration":
|
|
1866
|
+
"--gloss-reconfig-backside-buttons-transition-duration": u
|
|
1795
1867
|
},
|
|
1796
|
-
children: b.map((
|
|
1797
|
-
const f =
|
|
1868
|
+
children: b.map((m, c) => {
|
|
1869
|
+
const f = Et[m], S = n === m;
|
|
1798
1870
|
return /* @__PURE__ */ A(
|
|
1799
1871
|
"button",
|
|
1800
1872
|
{
|
|
@@ -1802,13 +1874,13 @@ const Ot = ({
|
|
|
1802
1874
|
o.current[c] = h;
|
|
1803
1875
|
},
|
|
1804
1876
|
type: "button",
|
|
1805
|
-
"data-dimension":
|
|
1877
|
+
"data-dimension": m,
|
|
1806
1878
|
className: Te(
|
|
1807
1879
|
"gloss-reconfig-backside-buttons__button",
|
|
1808
1880
|
S && "gloss-reconfig-backside-buttons__button--active"
|
|
1809
1881
|
),
|
|
1810
1882
|
"aria-current": S ? "true" : void 0,
|
|
1811
|
-
onClick: () => t(
|
|
1883
|
+
onClick: () => t(m),
|
|
1812
1884
|
onKeyDown: (h) => C(h, c),
|
|
1813
1885
|
children: [
|
|
1814
1886
|
/* @__PURE__ */ l(
|
|
@@ -1818,16 +1890,16 @@ const Ot = ({
|
|
|
1818
1890
|
"aria-hidden": "true"
|
|
1819
1891
|
}
|
|
1820
1892
|
),
|
|
1821
|
-
/* @__PURE__ */ l("span", { className: "gloss-reconfig-backside-buttons__button-label", children:
|
|
1893
|
+
/* @__PURE__ */ l("span", { className: "gloss-reconfig-backside-buttons__button-label", children: Ft[m] })
|
|
1822
1894
|
]
|
|
1823
1895
|
},
|
|
1824
|
-
|
|
1896
|
+
m
|
|
1825
1897
|
);
|
|
1826
1898
|
})
|
|
1827
1899
|
}
|
|
1828
1900
|
);
|
|
1829
1901
|
};
|
|
1830
|
-
|
|
1902
|
+
At.displayName = "ReconfigBacksideButtons";
|
|
1831
1903
|
function U(e, t) {
|
|
1832
1904
|
return {
|
|
1833
1905
|
id: e,
|
|
@@ -1854,7 +1926,7 @@ function Re(e, t) {
|
|
|
1854
1926
|
colSpan: 2
|
|
1855
1927
|
};
|
|
1856
1928
|
}
|
|
1857
|
-
const
|
|
1929
|
+
const fn = [
|
|
1858
1930
|
U("total-revenue", "Total Revenue"),
|
|
1859
1931
|
U("total-orders", "Total Orders"),
|
|
1860
1932
|
Re("revenue-trend", "Revenue Trend (2x)"),
|
|
@@ -1865,21 +1937,21 @@ const on = [
|
|
|
1865
1937
|
U("repeat-rate", "Repeat Rate"),
|
|
1866
1938
|
U("open-orders", "Open Orders"),
|
|
1867
1939
|
U("shipped-orders", "Shipped Orders")
|
|
1868
|
-
],
|
|
1940
|
+
], hn = {
|
|
1869
1941
|
columns: 6,
|
|
1870
1942
|
rowHeight: 120,
|
|
1871
1943
|
gap: 15,
|
|
1872
1944
|
maxRows: 3,
|
|
1873
1945
|
currentPage: 0,
|
|
1874
1946
|
totalPages: 1
|
|
1875
|
-
},
|
|
1947
|
+
}, bn = {
|
|
1876
1948
|
columns: 9,
|
|
1877
1949
|
rowHeight: 120,
|
|
1878
1950
|
gap: 15,
|
|
1879
1951
|
maxRows: 3,
|
|
1880
1952
|
currentPage: 0,
|
|
1881
1953
|
totalPages: 2
|
|
1882
|
-
},
|
|
1954
|
+
}, vn = {
|
|
1883
1955
|
columns: 12,
|
|
1884
1956
|
rowHeight: 120,
|
|
1885
1957
|
gap: 15,
|
|
@@ -1890,7 +1962,7 @@ const on = [
|
|
|
1890
1962
|
function fe(e) {
|
|
1891
1963
|
return H.createElement("span", { style: { fontSize: 14 } }, e);
|
|
1892
1964
|
}
|
|
1893
|
-
const
|
|
1965
|
+
const yn = [
|
|
1894
1966
|
{
|
|
1895
1967
|
id: "all-orders",
|
|
1896
1968
|
type: "orders",
|
|
@@ -1913,7 +1985,7 @@ const un = [
|
|
|
1913
1985
|
icon: fe("🚚"),
|
|
1914
1986
|
closable: !0
|
|
1915
1987
|
}
|
|
1916
|
-
],
|
|
1988
|
+
], wn = [
|
|
1917
1989
|
{
|
|
1918
1990
|
id: "orders-main",
|
|
1919
1991
|
type: "orders",
|
|
@@ -1939,7 +2011,7 @@ const un = [
|
|
|
1939
2011
|
name: "Customers",
|
|
1940
2012
|
closable: !0
|
|
1941
2013
|
}
|
|
1942
|
-
],
|
|
2014
|
+
], Dn = [
|
|
1943
2015
|
{
|
|
1944
2016
|
id: "only-tab",
|
|
1945
2017
|
type: "orders",
|
|
@@ -1947,7 +2019,7 @@ const un = [
|
|
|
1947
2019
|
closable: !1,
|
|
1948
2020
|
autoCreated: !0
|
|
1949
2021
|
}
|
|
1950
|
-
],
|
|
2022
|
+
], Nn = [
|
|
1951
2023
|
{ id: "tab-1", type: "orders", name: "All Orders", closable: !1, autoCreated: !0 },
|
|
1952
2024
|
{ id: "tab-2", type: "orders", name: "Open Orders", closable: !0 },
|
|
1953
2025
|
{ id: "tab-3", type: "orders", name: "Shipped Orders", closable: !0 },
|
|
@@ -1970,7 +2042,7 @@ function ye(e) {
|
|
|
1970
2042
|
return { cols: 1, rows: 1 };
|
|
1971
2043
|
}
|
|
1972
2044
|
}
|
|
1973
|
-
function
|
|
2045
|
+
function Lt(e) {
|
|
1974
2046
|
let t = 0;
|
|
1975
2047
|
for (const a of e) {
|
|
1976
2048
|
const r = ye(a.size), s = a.gridPosition.col + r.cols - 1;
|
|
@@ -1978,7 +2050,7 @@ function At(e) {
|
|
|
1978
2050
|
}
|
|
1979
2051
|
return `repeat(${t > 0 ? t : Math.max(e.length, 1)}, minmax(0, 1fr))`;
|
|
1980
2052
|
}
|
|
1981
|
-
const
|
|
2053
|
+
const $t = function(t) {
|
|
1982
2054
|
if (t.renderMode === "discrete")
|
|
1983
2055
|
return /* @__PURE__ */ l(
|
|
1984
2056
|
"div",
|
|
@@ -2047,7 +2119,7 @@ const Lt = function(t) {
|
|
|
2047
2119
|
style: {
|
|
2048
2120
|
display: "grid",
|
|
2049
2121
|
gap: "var(--gloss-spacing-2, 8px)",
|
|
2050
|
-
gridTemplateColumns:
|
|
2122
|
+
gridTemplateColumns: Lt(n)
|
|
2051
2123
|
},
|
|
2052
2124
|
children: n.map((r) => {
|
|
2053
2125
|
const s = ye(r.size);
|
|
@@ -2070,16 +2142,16 @@ const Lt = function(t) {
|
|
|
2070
2142
|
}
|
|
2071
2143
|
);
|
|
2072
2144
|
};
|
|
2073
|
-
|
|
2074
|
-
const
|
|
2075
|
-
...
|
|
2145
|
+
$t.displayName = "MetricGroupContainer";
|
|
2146
|
+
const $e = "resize.tuning.dev", Bt = {
|
|
2147
|
+
...Fe,
|
|
2076
2148
|
snapInPx: 60,
|
|
2077
2149
|
snapOutPx: 90
|
|
2078
|
-
}, J =
|
|
2079
|
-
function
|
|
2150
|
+
}, J = Bt;
|
|
2151
|
+
function zt() {
|
|
2080
2152
|
if (typeof window > "u") return { ...J };
|
|
2081
2153
|
try {
|
|
2082
|
-
const e = window.localStorage.getItem(
|
|
2154
|
+
const e = window.localStorage.getItem($e);
|
|
2083
2155
|
if (!e) return { ...J };
|
|
2084
2156
|
const t = JSON.parse(e);
|
|
2085
2157
|
return !t || typeof t != "object" || Array.isArray(t) ? { ...J } : { ...J, ...t };
|
|
@@ -2087,12 +2159,12 @@ function Bt() {
|
|
|
2087
2159
|
return { ...J };
|
|
2088
2160
|
}
|
|
2089
2161
|
}
|
|
2090
|
-
function
|
|
2091
|
-
const [e, t] = W(() =>
|
|
2162
|
+
function Kt() {
|
|
2163
|
+
const [e, t] = W(() => zt());
|
|
2092
2164
|
L(() => {
|
|
2093
2165
|
if (!(typeof window > "u"))
|
|
2094
2166
|
try {
|
|
2095
|
-
window.localStorage.setItem(
|
|
2167
|
+
window.localStorage.setItem($e, JSON.stringify(e));
|
|
2096
2168
|
} catch {
|
|
2097
2169
|
}
|
|
2098
2170
|
}, [e]);
|
|
@@ -2111,7 +2183,7 @@ function zt() {
|
|
|
2111
2183
|
}, []);
|
|
2112
2184
|
return { values: e, setValue: n, resetRow: a, resetAll: r };
|
|
2113
2185
|
}
|
|
2114
|
-
const
|
|
2186
|
+
const Wt = [
|
|
2115
2187
|
{ key: "stiffness", label: "Spring stiffness", unit: "", min: 100, max: 1e3, step: 10 },
|
|
2116
2188
|
{ key: "damping", label: "Spring damping", unit: "", min: 10, max: 60, step: 1 },
|
|
2117
2189
|
{ key: "mass", label: "Spring mass", unit: "", min: 0.5, max: 2, step: 0.1 },
|
|
@@ -2122,10 +2194,10 @@ const Kt = [
|
|
|
2122
2194
|
{ key: "blueprintFadeOutMs", label: "Blueprint fade out", unit: "ms", min: 60, max: 400, step: 10 },
|
|
2123
2195
|
{ key: "velocityMultiplier", label: "Velocity multiplier", unit: "×", min: 0, max: 2, step: 0.05 }
|
|
2124
2196
|
];
|
|
2125
|
-
function
|
|
2197
|
+
function Gt(e, t) {
|
|
2126
2198
|
return t >= 1 ? String(Math.round(e)) : t >= 0.1 ? e.toFixed(1) : e.toFixed(2);
|
|
2127
2199
|
}
|
|
2128
|
-
function
|
|
2200
|
+
function Ht() {
|
|
2129
2201
|
return /* @__PURE__ */ A(
|
|
2130
2202
|
"svg",
|
|
2131
2203
|
{
|
|
@@ -2145,7 +2217,7 @@ function Gt() {
|
|
|
2145
2217
|
}
|
|
2146
2218
|
);
|
|
2147
2219
|
}
|
|
2148
|
-
function
|
|
2220
|
+
function Vt({ spec: e, value: t, onChange: n, onReset: a, flashing: r }) {
|
|
2149
2221
|
const s = y(
|
|
2150
2222
|
(o) => {
|
|
2151
2223
|
(o.key === "r" || o.key === "R") && (o.preventDefault(), a());
|
|
@@ -2161,7 +2233,7 @@ function Ht({ spec: e, value: t, onChange: n, onReset: a, flashing: r }) {
|
|
|
2161
2233
|
children: [
|
|
2162
2234
|
/* @__PURE__ */ l("label", { className: "gloss-dev-tuning-panel__label", htmlFor: `gloss-dtp-${e.key}`, children: e.label }),
|
|
2163
2235
|
/* @__PURE__ */ A("span", { className: "gloss-dev-tuning-panel__value", "aria-live": "off", children: [
|
|
2164
|
-
|
|
2236
|
+
Gt(t, e.step),
|
|
2165
2237
|
e.unit ? ` ${e.unit}` : ""
|
|
2166
2238
|
] }),
|
|
2167
2239
|
/* @__PURE__ */ l(
|
|
@@ -2185,14 +2257,14 @@ function Ht({ spec: e, value: t, onChange: n, onReset: a, flashing: r }) {
|
|
|
2185
2257
|
className: "gloss-dev-tuning-panel__reset",
|
|
2186
2258
|
"aria-label": `Reset ${e.label}`,
|
|
2187
2259
|
onClick: a,
|
|
2188
|
-
children: /* @__PURE__ */ l(
|
|
2260
|
+
children: /* @__PURE__ */ l(Ht, {})
|
|
2189
2261
|
}
|
|
2190
2262
|
)
|
|
2191
2263
|
]
|
|
2192
2264
|
}
|
|
2193
2265
|
);
|
|
2194
2266
|
}
|
|
2195
|
-
function
|
|
2267
|
+
function jt() {
|
|
2196
2268
|
if (typeof process < "u" && process.env && process.env.NODE_ENV === "production" || typeof window > "u") return !1;
|
|
2197
2269
|
try {
|
|
2198
2270
|
return new URLSearchParams(window.location.search).has("devtune");
|
|
@@ -2200,21 +2272,21 @@ function Vt() {
|
|
|
2200
2272
|
return !1;
|
|
2201
2273
|
}
|
|
2202
2274
|
}
|
|
2203
|
-
function
|
|
2204
|
-
return
|
|
2275
|
+
function Ut(e = {}) {
|
|
2276
|
+
return jt() ? /* @__PURE__ */ l(Zt, {}) : null;
|
|
2205
2277
|
}
|
|
2206
|
-
|
|
2207
|
-
function
|
|
2208
|
-
const e =
|
|
2209
|
-
d.current && clearTimeout(d.current), o(
|
|
2278
|
+
Ut.displayName = "DevTuningPanel";
|
|
2279
|
+
function Zt() {
|
|
2280
|
+
const e = Kt(), { values: t, setValue: n, resetRow: a, resetAll: r } = e, [s, o] = W(null), d = R(null), b = y((m) => {
|
|
2281
|
+
d.current && clearTimeout(d.current), o(m), d.current = setTimeout(() => {
|
|
2210
2282
|
o(null), d.current = null;
|
|
2211
2283
|
}, 200);
|
|
2212
|
-
}, []),
|
|
2213
|
-
(
|
|
2214
|
-
n(
|
|
2284
|
+
}, []), g = y(
|
|
2285
|
+
(m, c) => {
|
|
2286
|
+
n(m, c), m === "snapInPx" && c > t.snapOutPx && (n("snapOutPx", c), b("snapOutPx"));
|
|
2215
2287
|
},
|
|
2216
2288
|
[n, t.snapOutPx, b]
|
|
2217
|
-
),
|
|
2289
|
+
), u = se(() => Wt, []), C = tt();
|
|
2218
2290
|
return /* @__PURE__ */ A(
|
|
2219
2291
|
de.div,
|
|
2220
2292
|
{
|
|
@@ -2231,23 +2303,23 @@ function Ut() {
|
|
|
2231
2303
|
"div",
|
|
2232
2304
|
{
|
|
2233
2305
|
className: "gloss-dev-tuning-panel__header",
|
|
2234
|
-
onPointerDown: (
|
|
2306
|
+
onPointerDown: (m) => C.start(m),
|
|
2235
2307
|
children: [
|
|
2236
2308
|
/* @__PURE__ */ l("span", { className: "gloss-dev-tuning-panel__title", children: "Resize Tuning — dev only" }),
|
|
2237
2309
|
/* @__PURE__ */ l("span", { className: "gloss-dev-tuning-panel__hint", children: "?devtune=1" })
|
|
2238
2310
|
]
|
|
2239
2311
|
}
|
|
2240
2312
|
),
|
|
2241
|
-
/* @__PURE__ */ l("div", { className: "gloss-dev-tuning-panel__body", children:
|
|
2242
|
-
|
|
2313
|
+
/* @__PURE__ */ l("div", { className: "gloss-dev-tuning-panel__body", children: u.map((m) => /* @__PURE__ */ l(
|
|
2314
|
+
Vt,
|
|
2243
2315
|
{
|
|
2244
|
-
spec:
|
|
2245
|
-
value: t[
|
|
2246
|
-
onChange: (c) => m
|
|
2247
|
-
onReset: () => a(
|
|
2248
|
-
flashing: s ===
|
|
2316
|
+
spec: m,
|
|
2317
|
+
value: t[m.key],
|
|
2318
|
+
onChange: (c) => g(m.key, c),
|
|
2319
|
+
onReset: () => a(m.key),
|
|
2320
|
+
flashing: s === m.key
|
|
2249
2321
|
},
|
|
2250
|
-
|
|
2322
|
+
m.key
|
|
2251
2323
|
)) }),
|
|
2252
2324
|
/* @__PURE__ */ l("div", { className: "gloss-dev-tuning-panel__footer", children: /* @__PURE__ */ l(
|
|
2253
2325
|
"button",
|
|
@@ -2262,7 +2334,7 @@ function Ut() {
|
|
|
2262
2334
|
}
|
|
2263
2335
|
);
|
|
2264
2336
|
}
|
|
2265
|
-
function
|
|
2337
|
+
function Cn({
|
|
2266
2338
|
state: e,
|
|
2267
2339
|
originX: t,
|
|
2268
2340
|
originY: n,
|
|
@@ -2272,22 +2344,22 @@ function fn({
|
|
|
2272
2344
|
snapBoundariesX: o,
|
|
2273
2345
|
topY: d,
|
|
2274
2346
|
bottomY: b,
|
|
2275
|
-
enterMs:
|
|
2276
|
-
exitMs:
|
|
2347
|
+
enterMs: g = ee.envelopeEnterMs,
|
|
2348
|
+
exitMs: u = ee.envelopeExitMs,
|
|
2277
2349
|
className: C,
|
|
2278
|
-
style:
|
|
2350
|
+
style: m
|
|
2279
2351
|
}) {
|
|
2280
2352
|
if (e === "hidden") return null;
|
|
2281
2353
|
const c = Math.max(0, r - a), f = Math.max(0, b - d), S = {
|
|
2282
|
-
"--gloss-resize-envelope-enter-ms": `${
|
|
2283
|
-
"--gloss-resize-envelope-exit-ms": `${
|
|
2354
|
+
"--gloss-resize-envelope-enter-ms": `${g}ms`,
|
|
2355
|
+
"--gloss-resize-envelope-exit-ms": `${u}ms`,
|
|
2284
2356
|
"--gloss-resize-envelope-origin-x": `${t - a}px`,
|
|
2285
2357
|
"--gloss-resize-envelope-origin-y": `${n - d}px`,
|
|
2286
2358
|
left: a,
|
|
2287
2359
|
top: d,
|
|
2288
2360
|
width: c,
|
|
2289
2361
|
height: f,
|
|
2290
|
-
...
|
|
2362
|
+
...m
|
|
2291
2363
|
};
|
|
2292
2364
|
return /* @__PURE__ */ A(
|
|
2293
2365
|
"div",
|
|
@@ -2335,7 +2407,7 @@ function fn({
|
|
|
2335
2407
|
}
|
|
2336
2408
|
);
|
|
2337
2409
|
}
|
|
2338
|
-
function
|
|
2410
|
+
function kn({
|
|
2339
2411
|
density: e,
|
|
2340
2412
|
canAccept: t,
|
|
2341
2413
|
blocked: n = !1,
|
|
@@ -2364,11 +2436,11 @@ function hn({
|
|
|
2364
2436
|
}
|
|
2365
2437
|
);
|
|
2366
2438
|
}
|
|
2367
|
-
function
|
|
2439
|
+
function Yt(e, t, n, a) {
|
|
2368
2440
|
const r = (e + n) / 2, s = Math.min(t, a) - 40;
|
|
2369
2441
|
return `M${e},${t} Q${r},${s} ${n},${a}`;
|
|
2370
2442
|
}
|
|
2371
|
-
function
|
|
2443
|
+
function _n({
|
|
2372
2444
|
segments: e,
|
|
2373
2445
|
durationMs: t = ee.spilloverArcDurationMs,
|
|
2374
2446
|
staggerMs: n = ee.spilloverStaggerMs,
|
|
@@ -2388,7 +2460,7 @@ function bn({
|
|
|
2388
2460
|
{
|
|
2389
2461
|
"data-arc-id": s.id,
|
|
2390
2462
|
className: "gloss-spillover-arc__path",
|
|
2391
|
-
d:
|
|
2463
|
+
d: Yt(s.fromX, s.fromY, s.toX, s.toY),
|
|
2392
2464
|
style: {
|
|
2393
2465
|
animationDelay: `${o * n}ms`,
|
|
2394
2466
|
animationDuration: `${t}ms`
|
|
@@ -2399,7 +2471,7 @@ function bn({
|
|
|
2399
2471
|
}
|
|
2400
2472
|
);
|
|
2401
2473
|
}
|
|
2402
|
-
function
|
|
2474
|
+
function xn({
|
|
2403
2475
|
state: e,
|
|
2404
2476
|
staggerIndex: t = 0,
|
|
2405
2477
|
fadeInMs: n = ee.sectionDividerFadeInMs,
|
|
@@ -2431,14 +2503,14 @@ function vn({
|
|
|
2431
2503
|
}
|
|
2432
2504
|
);
|
|
2433
2505
|
}
|
|
2434
|
-
function
|
|
2506
|
+
function Sn({
|
|
2435
2507
|
enabled: e,
|
|
2436
2508
|
onPack: t,
|
|
2437
2509
|
ariaLabel: n = "Pack row (shift cards left)",
|
|
2438
2510
|
className: a,
|
|
2439
2511
|
style: r
|
|
2440
2512
|
}) {
|
|
2441
|
-
return e
|
|
2513
|
+
return /* @__PURE__ */ l(Pe, { visible: e, variant: "pack", trigger: "hover+focus", children: /* @__PURE__ */ l(
|
|
2442
2514
|
"button",
|
|
2443
2515
|
{
|
|
2444
2516
|
type: "button",
|
|
@@ -2449,9 +2521,9 @@ function yn({
|
|
|
2449
2521
|
onClick: t,
|
|
2450
2522
|
children: /* @__PURE__ */ l("span", { "aria-hidden": "true", className: "gloss-empty-cell-pack-affordance__glyph", children: "×" })
|
|
2451
2523
|
}
|
|
2452
|
-
)
|
|
2524
|
+
) });
|
|
2453
2525
|
}
|
|
2454
|
-
function
|
|
2526
|
+
function Mn({
|
|
2455
2527
|
tint: e,
|
|
2456
2528
|
colSpan: t,
|
|
2457
2529
|
colWidth: n,
|
|
@@ -2462,7 +2534,7 @@ function wn({
|
|
|
2462
2534
|
children: d,
|
|
2463
2535
|
className: b
|
|
2464
2536
|
}) {
|
|
2465
|
-
const
|
|
2537
|
+
const g = t * n + (t - 1) * r;
|
|
2466
2538
|
return /* @__PURE__ */ l(
|
|
2467
2539
|
de.div,
|
|
2468
2540
|
{
|
|
@@ -2474,12 +2546,12 @@ function wn({
|
|
|
2474
2546
|
`gloss-drag-ghost--tint-${e}`,
|
|
2475
2547
|
b
|
|
2476
2548
|
].filter(Boolean).join(" "),
|
|
2477
|
-
style: { x: s, y: o, width:
|
|
2549
|
+
style: { x: s, y: o, width: g, height: a },
|
|
2478
2550
|
children: d
|
|
2479
2551
|
}
|
|
2480
2552
|
);
|
|
2481
2553
|
}
|
|
2482
|
-
function
|
|
2554
|
+
function Tn({
|
|
2483
2555
|
cell: e,
|
|
2484
2556
|
colSpan: t,
|
|
2485
2557
|
colWidth: n,
|
|
@@ -2488,7 +2560,7 @@ function Dn({
|
|
|
2488
2560
|
transitionMs: s = 120,
|
|
2489
2561
|
className: o
|
|
2490
2562
|
}) {
|
|
2491
|
-
const d = t * n + (t - 1) * a, b = e.col * (n + a),
|
|
2563
|
+
const d = t * n + (t - 1) * a, b = e.col * (n + a), g = e.row * (r + a);
|
|
2492
2564
|
return /* @__PURE__ */ l(
|
|
2493
2565
|
"div",
|
|
2494
2566
|
{
|
|
@@ -2496,7 +2568,7 @@ function Dn({
|
|
|
2496
2568
|
"data-testid": "gloss-snap-outline",
|
|
2497
2569
|
"aria-hidden": "true",
|
|
2498
2570
|
style: {
|
|
2499
|
-
transform: `translate(${b}px, ${
|
|
2571
|
+
transform: `translate(${b}px, ${g}px)`,
|
|
2500
2572
|
width: d,
|
|
2501
2573
|
height: r,
|
|
2502
2574
|
transition: `transform ${s}ms cubic-bezier(0.4, 0, 0.2, 1)`
|
|
@@ -2504,12 +2576,12 @@ function Dn({
|
|
|
2504
2576
|
}
|
|
2505
2577
|
);
|
|
2506
2578
|
}
|
|
2507
|
-
function
|
|
2579
|
+
function Rn({
|
|
2508
2580
|
items: e,
|
|
2509
2581
|
children: t,
|
|
2510
2582
|
className: n
|
|
2511
2583
|
}) {
|
|
2512
|
-
return e.length === 0 ? null : /* @__PURE__ */ l(
|
|
2584
|
+
return e.length === 0 ? null : /* @__PURE__ */ l(Ye, { children: e.map((a) => /* @__PURE__ */ l(
|
|
2513
2585
|
de.div,
|
|
2514
2586
|
{
|
|
2515
2587
|
"data-card-id": a.cardId,
|
|
@@ -2522,79 +2594,7 @@ function Nn({
|
|
|
2522
2594
|
a.cardId
|
|
2523
2595
|
)) });
|
|
2524
2596
|
}
|
|
2525
|
-
const
|
|
2526
|
-
forwardStaggerMs: 50,
|
|
2527
|
-
reverseStaggerMs: 30,
|
|
2528
|
-
springStiffness: 380,
|
|
2529
|
-
springDamping: 32,
|
|
2530
|
-
reverseVelocityMultiplier: 1.4
|
|
2531
|
-
}, ae = {
|
|
2532
|
-
enterDurationMs: 220,
|
|
2533
|
-
exitDurationMs: 140,
|
|
2534
|
-
enterEasing: "cubic-bezier(0.34, 1.56, 0.64, 1)",
|
|
2535
|
-
exitEasing: "cubic-bezier(0.4, 0, 1, 1)",
|
|
2536
|
-
translateOffsetPx: 4
|
|
2537
|
-
}, kn = {
|
|
2538
|
-
shiverCycles: 3,
|
|
2539
|
-
shiverAmplitudePx: 2,
|
|
2540
|
-
shiverDurationMs: 180,
|
|
2541
|
-
validCellOpacity: 0.6
|
|
2542
|
-
}, _n = {
|
|
2543
|
-
materializeMs: 180,
|
|
2544
|
-
dematerializeMs: 140,
|
|
2545
|
-
easing: "cubic-bezier(0.22, 1, 0.36, 1)",
|
|
2546
|
-
dotStrokePx: 2,
|
|
2547
|
-
dividerDashGapPx: 4
|
|
2548
|
-
}, xn = {
|
|
2549
|
-
cascadeStaggerMs: 0,
|
|
2550
|
-
cascadeSpringCapMs: 120,
|
|
2551
|
-
swingEnterMs: 100,
|
|
2552
|
-
swingEnterStyle: "opacity",
|
|
2553
|
-
provisionalMs: 80,
|
|
2554
|
-
provisionalStyle: "opacity",
|
|
2555
|
-
shiverMs: 200,
|
|
2556
|
-
shiverStyle: "color-flash"
|
|
2557
|
-
}, Sn = !0, Mn = {
|
|
2558
|
-
rejectionFill: "var(--gloss-rejection-fill)",
|
|
2559
|
-
rejectionStroke: "var(--gloss-rejection-stroke)",
|
|
2560
|
-
validFill: "var(--gloss-valid-fill)",
|
|
2561
|
-
validStroke: "var(--gloss-valid-stroke)",
|
|
2562
|
-
validCellStroke: "var(--gloss-valid-cell-stroke)",
|
|
2563
|
-
provisionalWash: "var(--gloss-provisional-wash)"
|
|
2564
|
-
};
|
|
2565
|
-
function Tn() {
|
|
2566
|
-
if (typeof window > "u") return "full";
|
|
2567
|
-
try {
|
|
2568
|
-
return window.matchMedia("(prefers-reduced-motion: reduce)").matches ? "reduced" : "full";
|
|
2569
|
-
} catch {
|
|
2570
|
-
return "full";
|
|
2571
|
-
}
|
|
2572
|
-
}
|
|
2573
|
-
const Rn = ({ visible: e, variant: t, trigger: n, children: a, className: r }) => {
|
|
2574
|
-
const s = {
|
|
2575
|
-
"--gloss-swing-enter-ms": `${ae.enterDurationMs}ms`,
|
|
2576
|
-
"--gloss-swing-exit-ms": `${ae.exitDurationMs}ms`,
|
|
2577
|
-
"--gloss-swing-offset": `${ae.translateOffsetPx}px`,
|
|
2578
|
-
"--gloss-swing-enter-easing": ae.enterEasing,
|
|
2579
|
-
"--gloss-swing-exit-easing": ae.exitEasing
|
|
2580
|
-
}, o = [
|
|
2581
|
-
"gloss-swing-reveal",
|
|
2582
|
-
`gloss-swing-reveal--${t}`,
|
|
2583
|
-
n === "hover+focus" ? "gloss-swing-reveal--hover-focus" : "",
|
|
2584
|
-
r ?? ""
|
|
2585
|
-
].filter(Boolean).join(" ");
|
|
2586
|
-
return /* @__PURE__ */ l(
|
|
2587
|
-
"span",
|
|
2588
|
-
{
|
|
2589
|
-
"data-testid": "gloss-swing-reveal",
|
|
2590
|
-
"data-variant": t,
|
|
2591
|
-
"data-visible": e ? "true" : "false",
|
|
2592
|
-
className: o,
|
|
2593
|
-
style: s,
|
|
2594
|
-
children: a
|
|
2595
|
-
}
|
|
2596
|
-
);
|
|
2597
|
-
}, X = {
|
|
2597
|
+
const X = {
|
|
2598
2598
|
"gloss-inline-nudge": "_gloss-inline-nudge_kdk88_34",
|
|
2599
2599
|
"gloss-inline-nudge__message": "_gloss-inline-nudge__message_kdk88_65",
|
|
2600
2600
|
"gloss-inline-nudge__actions": "_gloss-inline-nudge__actions_kdk88_72",
|
|
@@ -2602,7 +2602,7 @@ const Rn = ({ visible: e, variant: t, trigger: n, children: a, className: r }) =
|
|
|
2602
2602
|
"gloss-inline-nudge__btn--action": "_gloss-inline-nudge__btn--action_kdk88_88",
|
|
2603
2603
|
"gloss-inline-nudge__btn--dismiss": "_gloss-inline-nudge__btn--dismiss_kdk88_96"
|
|
2604
2604
|
};
|
|
2605
|
-
function
|
|
2605
|
+
function qt({
|
|
2606
2606
|
message: e,
|
|
2607
2607
|
primaryAction: t,
|
|
2608
2608
|
onDismiss: n,
|
|
@@ -2618,12 +2618,12 @@ function Yt({
|
|
|
2618
2618
|
"[InlineNudge] requires anchorEl or anchorSelector. AP-07: Do not mount InlineNudge in Layout/** or _app.tsx."
|
|
2619
2619
|
);
|
|
2620
2620
|
}, [a, r]), H.useLayoutEffect(() => {
|
|
2621
|
-
let
|
|
2622
|
-
if (a ?
|
|
2623
|
-
const
|
|
2621
|
+
let g = null;
|
|
2622
|
+
if (a ? g = a : r && (g = document.querySelector(r)), g) {
|
|
2623
|
+
const u = g.getBoundingClientRect();
|
|
2624
2624
|
o({
|
|
2625
|
-
top:
|
|
2626
|
-
left:
|
|
2625
|
+
top: u.bottom + window.scrollY + 6,
|
|
2626
|
+
left: u.left + window.scrollX
|
|
2627
2627
|
});
|
|
2628
2628
|
}
|
|
2629
2629
|
}, [a, r]);
|
|
@@ -2663,11 +2663,11 @@ function Yt({
|
|
|
2663
2663
|
}
|
|
2664
2664
|
);
|
|
2665
2665
|
}
|
|
2666
|
-
|
|
2666
|
+
qt.displayName = "InlineNudge";
|
|
2667
2667
|
function we(e) {
|
|
2668
2668
|
return e.colorToken ? `var(--gloss-color-${e.colorToken}, ${e.color ?? "#888"})` : e.color ?? "#888";
|
|
2669
2669
|
}
|
|
2670
|
-
function
|
|
2670
|
+
function Qt(e, t, n) {
|
|
2671
2671
|
if (n <= t) {
|
|
2672
2672
|
const o = e[0], d = o ? we(o) : "#888";
|
|
2673
2673
|
return `linear-gradient(to right, ${d}, ${d})`;
|
|
@@ -2678,10 +2678,10 @@ function qt(e, t, n) {
|
|
|
2678
2678
|
});
|
|
2679
2679
|
return s.length === 0 ? "linear-gradient(to right, #888 0%, #888 100%)" : s.length === 1 ? `linear-gradient(to right, ${s[0]}, ${s[0]})` : `linear-gradient(to right, ${s.join(", ")})`;
|
|
2680
2680
|
}
|
|
2681
|
-
function
|
|
2681
|
+
function Xt(e) {
|
|
2682
2682
|
return e.map((t) => `${t.id}:${t.value}`).join("|");
|
|
2683
2683
|
}
|
|
2684
|
-
function
|
|
2684
|
+
function Jt({
|
|
2685
2685
|
stops: e,
|
|
2686
2686
|
onChange: t,
|
|
2687
2687
|
min: n = 0,
|
|
@@ -2694,11 +2694,11 @@ function Xt({
|
|
|
2694
2694
|
), 0.01) : r, d = y(
|
|
2695
2695
|
(i) => Math.round(i / o) * o,
|
|
2696
2696
|
[o]
|
|
2697
|
-
), b = R(null), [
|
|
2697
|
+
), b = R(null), [g, u] = W(null), [C, m] = W(e), c = Xt(e), f = R(c);
|
|
2698
2698
|
L(() => {
|
|
2699
|
-
f.current !== c && (f.current = c, !
|
|
2700
|
-
}, [c, e,
|
|
2701
|
-
const S = se(() =>
|
|
2699
|
+
f.current !== c && (f.current = c, !g && m(e));
|
|
2700
|
+
}, [c, e, g]);
|
|
2701
|
+
const S = se(() => Qt(C, n, a), [C, n, a]), h = y(
|
|
2702
2702
|
(i) => {
|
|
2703
2703
|
if (!b.current) return n;
|
|
2704
2704
|
const v = b.current.getBoundingClientRect(), p = v.width || 1, w = Math.max(0, Math.min(1, (i - v.left) / p)), k = n + w * (a - n);
|
|
@@ -2714,29 +2714,29 @@ function Xt({
|
|
|
2714
2714
|
const x = y(
|
|
2715
2715
|
(i, v) => {
|
|
2716
2716
|
const p = C.find((w) => w.id === v);
|
|
2717
|
-
s || p?.disabled || (i.preventDefault(),
|
|
2717
|
+
s || p?.disabled || (i.preventDefault(), u(v));
|
|
2718
2718
|
},
|
|
2719
2719
|
[s, C]
|
|
2720
2720
|
), I = R(C);
|
|
2721
2721
|
I.current = C;
|
|
2722
2722
|
const N = R(t);
|
|
2723
2723
|
N.current = t, L(() => {
|
|
2724
|
-
if (!
|
|
2724
|
+
if (!g) return;
|
|
2725
2725
|
const i = (p) => {
|
|
2726
2726
|
const w = h(p.clientX);
|
|
2727
|
-
|
|
2728
|
-
(k) => k.map((M) => M.id ===
|
|
2727
|
+
m(
|
|
2728
|
+
(k) => k.map((M) => M.id === g ? { ...M, value: w } : M)
|
|
2729
2729
|
);
|
|
2730
2730
|
}, v = (p) => {
|
|
2731
2731
|
const w = h(p.clientX), k = I.current.map(
|
|
2732
|
-
(M) => M.id ===
|
|
2732
|
+
(M) => M.id === g ? { ...M, value: w } : M
|
|
2733
2733
|
);
|
|
2734
|
-
|
|
2734
|
+
m(k), u(null), N.current(k);
|
|
2735
2735
|
};
|
|
2736
2736
|
return window.addEventListener("pointermove", i), window.addEventListener("pointerup", v), window.addEventListener("pointercancel", v), () => {
|
|
2737
2737
|
window.removeEventListener("pointermove", i), window.removeEventListener("pointerup", v), window.removeEventListener("pointercancel", v);
|
|
2738
2738
|
};
|
|
2739
|
-
}, [
|
|
2739
|
+
}, [g, h]);
|
|
2740
2740
|
const _ = a - n > 0 ? a - n : 1, T = y(
|
|
2741
2741
|
(i, v) => {
|
|
2742
2742
|
if (s || v.disabled) return;
|
|
@@ -2768,7 +2768,7 @@ function Xt({
|
|
|
2768
2768
|
const G = C.map(
|
|
2769
2769
|
(V) => V.id === v.id ? { ...V, value: E } : V
|
|
2770
2770
|
);
|
|
2771
|
-
|
|
2771
|
+
m(G), t(G);
|
|
2772
2772
|
},
|
|
2773
2773
|
[s, n, a, C, t, d]
|
|
2774
2774
|
);
|
|
@@ -2789,7 +2789,7 @@ function Xt({
|
|
|
2789
2789
|
color: we(i)
|
|
2790
2790
|
},
|
|
2791
2791
|
"data-disabled": i.disabled || void 0,
|
|
2792
|
-
"data-dragging":
|
|
2792
|
+
"data-dragging": g === i.id || void 0,
|
|
2793
2793
|
onPointerDown: (p) => x(p, i.id),
|
|
2794
2794
|
onKeyDown: (p) => T(p, i),
|
|
2795
2795
|
"aria-label": i.label ?? `Stop at ${i.value}`,
|
|
@@ -2806,24 +2806,24 @@ function Xt({
|
|
|
2806
2806
|
}
|
|
2807
2807
|
) });
|
|
2808
2808
|
}
|
|
2809
|
-
|
|
2810
|
-
const
|
|
2811
|
-
function
|
|
2812
|
-
return
|
|
2809
|
+
Jt.displayName = "ThresholdRamp";
|
|
2810
|
+
const Be = Xe(null);
|
|
2811
|
+
function ea() {
|
|
2812
|
+
return Je(Be);
|
|
2813
2813
|
}
|
|
2814
|
-
function
|
|
2815
|
-
const t =
|
|
2814
|
+
function ta({ option: e }) {
|
|
2815
|
+
const t = ea(), n = t?.isSelected(e.value) ?? !1, a = e.disabled || t?.groupDisabled, r = y(() => {
|
|
2816
2816
|
a || t?.select(e.value);
|
|
2817
2817
|
}, [a, t, e.value]), s = y(
|
|
2818
|
-
(
|
|
2819
|
-
a || t?.onKeyNav(
|
|
2818
|
+
(g) => {
|
|
2819
|
+
a || t?.onKeyNav(g, e.value);
|
|
2820
2820
|
},
|
|
2821
2821
|
[a, t, e.value]
|
|
2822
2822
|
), o = e.colorToken ? `var(--gloss-color-${e.colorToken}, ${e.color ?? "#888"})` : e.color ?? "#888", d = t?.firstFocusableValue === e.value, b = a ? -1 : d ? 0 : -1;
|
|
2823
2823
|
return /* @__PURE__ */ l(
|
|
2824
2824
|
"button",
|
|
2825
2825
|
{
|
|
2826
|
-
ref: (
|
|
2826
|
+
ref: (g) => t?.registerRef(e.value, g),
|
|
2827
2827
|
type: "button",
|
|
2828
2828
|
role: "radio",
|
|
2829
2829
|
"aria-checked": n,
|
|
@@ -2841,7 +2841,7 @@ function ea({ option: e }) {
|
|
|
2841
2841
|
}
|
|
2842
2842
|
);
|
|
2843
2843
|
}
|
|
2844
|
-
function
|
|
2844
|
+
function aa({
|
|
2845
2845
|
swatches: e,
|
|
2846
2846
|
value: t,
|
|
2847
2847
|
defaultValue: n,
|
|
@@ -2849,18 +2849,18 @@ function ta({
|
|
|
2849
2849
|
disabled: r = !1,
|
|
2850
2850
|
name: s
|
|
2851
2851
|
}) {
|
|
2852
|
-
const o = t !== void 0, [d, b] = W(n),
|
|
2852
|
+
const o = t !== void 0, [d, b] = W(n), g = o ? t : d, u = y(
|
|
2853
2853
|
(N) => {
|
|
2854
2854
|
o || b(N), a?.(N);
|
|
2855
2855
|
},
|
|
2856
2856
|
[o, a]
|
|
2857
2857
|
), C = y(
|
|
2858
|
-
(N) =>
|
|
2859
|
-
[
|
|
2860
|
-
),
|
|
2861
|
-
_ ?
|
|
2862
|
-
}, []), f = e.filter((N) => !N.disabled && !r), S = f.find((N) => N.value ===
|
|
2863
|
-
const _ =
|
|
2858
|
+
(N) => g === N,
|
|
2859
|
+
[g]
|
|
2860
|
+
), m = R(/* @__PURE__ */ new Map()), c = y((N, _) => {
|
|
2861
|
+
_ ? m.current.set(N, _) : m.current.delete(N);
|
|
2862
|
+
}, []), f = e.filter((N) => !N.disabled && !r), S = f.find((N) => N.value === g)?.value ?? f[0]?.value, h = y((N) => {
|
|
2863
|
+
const _ = m.current.get(N);
|
|
2864
2864
|
_ && _.focus();
|
|
2865
2865
|
}, []), x = y(
|
|
2866
2866
|
(N, _) => {
|
|
@@ -2887,19 +2887,19 @@ function ta({
|
|
|
2887
2887
|
break;
|
|
2888
2888
|
case " ":
|
|
2889
2889
|
case "Enter":
|
|
2890
|
-
N.preventDefault(),
|
|
2890
|
+
N.preventDefault(), u(_);
|
|
2891
2891
|
return;
|
|
2892
2892
|
default:
|
|
2893
2893
|
return;
|
|
2894
2894
|
}
|
|
2895
2895
|
N.preventDefault();
|
|
2896
2896
|
const p = T[v].value;
|
|
2897
|
-
h(p),
|
|
2897
|
+
h(p), u(p);
|
|
2898
2898
|
},
|
|
2899
|
-
[r, e,
|
|
2899
|
+
[r, e, u, h]
|
|
2900
2900
|
), I = {
|
|
2901
|
-
selectedValue:
|
|
2902
|
-
select:
|
|
2901
|
+
selectedValue: g,
|
|
2902
|
+
select: u,
|
|
2903
2903
|
isSelected: C,
|
|
2904
2904
|
groupDisabled: r,
|
|
2905
2905
|
name: s,
|
|
@@ -2907,7 +2907,7 @@ function ta({
|
|
|
2907
2907
|
firstFocusableValue: S,
|
|
2908
2908
|
onKeyNav: x
|
|
2909
2909
|
};
|
|
2910
|
-
return /* @__PURE__ */ l(
|
|
2910
|
+
return /* @__PURE__ */ l(Be.Provider, { value: I, children: /* @__PURE__ */ l(
|
|
2911
2911
|
"div",
|
|
2912
2912
|
{
|
|
2913
2913
|
className: "gloss-preset-swatch-row",
|
|
@@ -2915,11 +2915,11 @@ function ta({
|
|
|
2915
2915
|
"aria-label": s,
|
|
2916
2916
|
"aria-disabled": r,
|
|
2917
2917
|
"data-disabled": r || void 0,
|
|
2918
|
-
children: e.map((N) => /* @__PURE__ */ l(
|
|
2918
|
+
children: e.map((N) => /* @__PURE__ */ l(ta, { option: N }, N.value))
|
|
2919
2919
|
}
|
|
2920
2920
|
) });
|
|
2921
2921
|
}
|
|
2922
|
-
|
|
2922
|
+
aa.displayName = "PresetSwatchRow";
|
|
2923
2923
|
function De(e, t) {
|
|
2924
2924
|
for (const n of e)
|
|
2925
2925
|
if (n.items.some((a) => a.id === t))
|
|
@@ -2930,31 +2930,31 @@ function Ie(e, t) {
|
|
|
2930
2930
|
const n = e.find((a) => a.zoneKey === t);
|
|
2931
2931
|
return n ? n.zoneKey : De(e, t);
|
|
2932
2932
|
}
|
|
2933
|
-
function
|
|
2933
|
+
function na(e, t, n) {
|
|
2934
2934
|
const a = [...e], [r] = a.splice(t, 1);
|
|
2935
2935
|
return a.splice(n, 0, r), a;
|
|
2936
2936
|
}
|
|
2937
|
-
function
|
|
2937
|
+
function ra(e) {
|
|
2938
2938
|
return e.map((t) => `${t.zoneKey}:${t.items.map((n) => n.id).join(",")}`).join("|");
|
|
2939
2939
|
}
|
|
2940
|
-
function
|
|
2940
|
+
function sa(e) {
|
|
2941
2941
|
const [t, n] = W(
|
|
2942
2942
|
() => e.zones.map((h) => h.maxItems !== void 0 && h.items.length > h.maxItems ? (process.env.NODE_ENV !== "production" && console.warn(
|
|
2943
2943
|
`useSortableZones: zone "${h.zoneKey}" exceeds maxItems (${h.items.length} > ${h.maxItems}); trimming to cap.`
|
|
2944
2944
|
), { ...h, items: h.items.slice(0, h.maxItems) }) : h)
|
|
2945
2945
|
), [a, r] = W(null), [s, o] = W(null), d = R(null), b = R(e.onZoneChange);
|
|
2946
2946
|
b.current = e.onZoneChange;
|
|
2947
|
-
const
|
|
2948
|
-
() =>
|
|
2947
|
+
const g = se(
|
|
2948
|
+
() => ra(e.zones),
|
|
2949
2949
|
[e.zones]
|
|
2950
|
-
),
|
|
2950
|
+
), u = R(g);
|
|
2951
2951
|
L(() => {
|
|
2952
|
-
|
|
2952
|
+
u.current !== g && (u.current = g, !a && n(
|
|
2953
2953
|
e.zones.map((h) => h.maxItems !== void 0 && h.items.length > h.maxItems ? (process.env.NODE_ENV !== "production" && console.warn(
|
|
2954
2954
|
`useSortableZones: zone "${h.zoneKey}" exceeds maxItems (${h.items.length} > ${h.maxItems}); trimming to cap.`
|
|
2955
2955
|
), { ...h, items: h.items.slice(0, h.maxItems) }) : h)
|
|
2956
2956
|
));
|
|
2957
|
-
}, [
|
|
2957
|
+
}, [g, e.zones, a]);
|
|
2958
2958
|
const C = y(
|
|
2959
2959
|
(h) => {
|
|
2960
2960
|
const x = h.active.id;
|
|
@@ -2969,7 +2969,7 @@ function ra(e) {
|
|
|
2969
2969
|
d.current = N, r(I), o(N);
|
|
2970
2970
|
},
|
|
2971
2971
|
[t]
|
|
2972
|
-
),
|
|
2972
|
+
), m = y(
|
|
2973
2973
|
(h) => {
|
|
2974
2974
|
if (!h.over) {
|
|
2975
2975
|
o(d.current);
|
|
@@ -2998,7 +2998,7 @@ function ra(e) {
|
|
|
2998
2998
|
const v = i.findIndex((E) => E.zoneKey === _), p = i[v], w = p.items.findIndex((E) => E.id === x.id), k = p.items.findIndex((E) => E.id === I.id), M = k >= 0 ? k : Math.max(0, p.items.length - 1);
|
|
2999
2999
|
i[v] = {
|
|
3000
3000
|
...p,
|
|
3001
|
-
items:
|
|
3001
|
+
items: na(p.items, w, M)
|
|
3002
3002
|
};
|
|
3003
3003
|
} else {
|
|
3004
3004
|
const v = i.findIndex((K) => K.zoneKey === _), p = i.findIndex((K) => K.zoneKey === T), w = i[v], k = i[p], M = w.items.find((K) => K.id === x.id);
|
|
@@ -3046,12 +3046,12 @@ function ra(e) {
|
|
|
3046
3046
|
getZoneProps: f,
|
|
3047
3047
|
getItemProps: S,
|
|
3048
3048
|
handleDragStart: C,
|
|
3049
|
-
handleDragOver:
|
|
3049
|
+
handleDragOver: m,
|
|
3050
3050
|
handleDragEnd: c
|
|
3051
3051
|
};
|
|
3052
3052
|
}
|
|
3053
3053
|
let ne = null, ce = null, he = !1;
|
|
3054
|
-
const
|
|
3054
|
+
const oa = [
|
|
3055
3055
|
"DndContext",
|
|
3056
3056
|
"DragOverlay",
|
|
3057
3057
|
"useSensors",
|
|
@@ -3060,21 +3060,21 @@ const sa = [
|
|
|
3060
3060
|
"PointerSensor",
|
|
3061
3061
|
"KeyboardSensor",
|
|
3062
3062
|
"closestCenter"
|
|
3063
|
-
],
|
|
3063
|
+
], ia = [
|
|
3064
3064
|
"SortableContext",
|
|
3065
3065
|
"useSortable",
|
|
3066
3066
|
"verticalListSortingStrategy"
|
|
3067
3067
|
];
|
|
3068
|
-
function
|
|
3068
|
+
function la(e, t) {
|
|
3069
3069
|
const n = [], a = e ?? {};
|
|
3070
|
-
for (const s of
|
|
3070
|
+
for (const s of oa)
|
|
3071
3071
|
a[s] === void 0 && n.push(`@dnd-kit/core:${s}`);
|
|
3072
3072
|
const r = t ?? {};
|
|
3073
|
-
for (const s of
|
|
3073
|
+
for (const s of ia)
|
|
3074
3074
|
r[s] === void 0 && n.push(`@dnd-kit/sortable:${s}`);
|
|
3075
3075
|
return n.length === 0 ? { ok: !0 } : { ok: !1, missing: n };
|
|
3076
3076
|
}
|
|
3077
|
-
function
|
|
3077
|
+
function ca() {
|
|
3078
3078
|
return ne ? Promise.resolve(ne) : he ? Promise.resolve(null) : ce || (ce = (async () => {
|
|
3079
3079
|
try {
|
|
3080
3080
|
const [e, t, n] = await Promise.all([
|
|
@@ -3083,7 +3083,7 @@ function la() {
|
|
|
3083
3083
|
import("@dnd-kit/utilities").catch(() => (process.env.NODE_ENV !== "production" && console.warn(
|
|
3084
3084
|
"SortableZones: @dnd-kit/utilities failed to load; drag-overlay positioning will fall back (items may teleport instead of slide)."
|
|
3085
3085
|
), {}))
|
|
3086
|
-
]), a =
|
|
3086
|
+
]), a = la(e, t);
|
|
3087
3087
|
return a.ok ? (ne = {
|
|
3088
3088
|
core: e,
|
|
3089
3089
|
sortable: t,
|
|
@@ -3096,18 +3096,18 @@ function la() {
|
|
|
3096
3096
|
}
|
|
3097
3097
|
})(), ce);
|
|
3098
3098
|
}
|
|
3099
|
-
function
|
|
3100
|
-
const { zones: t, onZoneChange: n, renderZone: a, renderItem: r, renderDragOverlay: s } = e, o =
|
|
3099
|
+
function da(e) {
|
|
3100
|
+
const { zones: t, onZoneChange: n, renderZone: a, renderItem: r, renderDragOverlay: s } = e, o = sa({ zones: t, onZoneChange: n }), [d, b] = H.useState(ne);
|
|
3101
3101
|
return H.useEffect(() => {
|
|
3102
3102
|
if (d) return;
|
|
3103
|
-
let
|
|
3104
|
-
return
|
|
3105
|
-
|
|
3103
|
+
let g = !0;
|
|
3104
|
+
return ca().then((u) => {
|
|
3105
|
+
g && b(u);
|
|
3106
3106
|
}), () => {
|
|
3107
|
-
|
|
3107
|
+
g = !1;
|
|
3108
3108
|
};
|
|
3109
3109
|
}, [d]), d ? /* @__PURE__ */ l(
|
|
3110
|
-
|
|
3110
|
+
ze,
|
|
3111
3111
|
{
|
|
3112
3112
|
state: o,
|
|
3113
3113
|
modules: d,
|
|
@@ -3115,23 +3115,23 @@ function ca(e) {
|
|
|
3115
3115
|
renderItem: r,
|
|
3116
3116
|
renderDragOverlay: s
|
|
3117
3117
|
}
|
|
3118
|
-
) : /* @__PURE__ */ l("div", { "data-sortable-zones-passive": "true", children: o.zones.map((
|
|
3119
|
-
const
|
|
3120
|
-
return /* @__PURE__ */ l("div", { ...o.getZoneProps(
|
|
3118
|
+
) : /* @__PURE__ */ l("div", { "data-sortable-zones-passive": "true", children: o.zones.map((g) => {
|
|
3119
|
+
const u = g.items.map((C) => /* @__PURE__ */ l(H.Fragment, { children: r(C) }, C.id));
|
|
3120
|
+
return /* @__PURE__ */ l("div", { ...o.getZoneProps(g.zoneKey), children: a(g.zoneKey, g.items, u) }, g.zoneKey);
|
|
3121
3121
|
}) });
|
|
3122
3122
|
}
|
|
3123
|
-
|
|
3124
|
-
function
|
|
3123
|
+
da.displayName = "SortableZones";
|
|
3124
|
+
function ze({
|
|
3125
3125
|
state: e,
|
|
3126
3126
|
modules: t,
|
|
3127
3127
|
renderZone: n,
|
|
3128
3128
|
renderItem: a,
|
|
3129
3129
|
renderDragOverlay: r
|
|
3130
3130
|
}) {
|
|
3131
|
-
const { core: s, sortable: o, utilities: d } = t, { DndContext: b, DragOverlay:
|
|
3131
|
+
const { core: s, sortable: o, utilities: d } = t, { DndContext: b, DragOverlay: g, useSensors: u, useSensor: C, useDroppable: m, PointerSensor: c, KeyboardSensor: f, closestCenter: S } = s, { SortableContext: h, verticalListSortingStrategy: x } = o, I = u(
|
|
3132
3132
|
C(c, { activationConstraint: { distance: 5 } }),
|
|
3133
3133
|
C(f)
|
|
3134
|
-
), N = b, _ =
|
|
3134
|
+
), N = b, _ = g, T = h;
|
|
3135
3135
|
return /* @__PURE__ */ A(
|
|
3136
3136
|
N,
|
|
3137
3137
|
{
|
|
@@ -3143,7 +3143,7 @@ function Be({
|
|
|
3143
3143
|
children: [
|
|
3144
3144
|
e.zones.map((i) => {
|
|
3145
3145
|
const v = i.items.map((w) => w.id), p = i.items.map((w) => /* @__PURE__ */ l(
|
|
3146
|
-
|
|
3146
|
+
Ke,
|
|
3147
3147
|
{
|
|
3148
3148
|
id: w.id,
|
|
3149
3149
|
useSortable: o.useSortable,
|
|
@@ -3153,11 +3153,11 @@ function Be({
|
|
|
3153
3153
|
w.id
|
|
3154
3154
|
));
|
|
3155
3155
|
return /* @__PURE__ */ l(
|
|
3156
|
-
|
|
3156
|
+
We,
|
|
3157
3157
|
{
|
|
3158
3158
|
zoneKey: i.zoneKey,
|
|
3159
3159
|
zoneProps: e.getZoneProps(i.zoneKey),
|
|
3160
|
-
useDroppable:
|
|
3160
|
+
useDroppable: m,
|
|
3161
3161
|
children: /* @__PURE__ */ l(T, { items: v, strategy: x, children: n(i.zoneKey, i.items, p) })
|
|
3162
3162
|
},
|
|
3163
3163
|
i.zoneKey
|
|
@@ -3168,17 +3168,17 @@ function Be({
|
|
|
3168
3168
|
}
|
|
3169
3169
|
);
|
|
3170
3170
|
}
|
|
3171
|
-
|
|
3172
|
-
function
|
|
3173
|
-
const { attributes: r, listeners: s, setNodeRef: o, transform: d, transition: b, isDragging:
|
|
3171
|
+
ze.displayName = "SortableZonesInner";
|
|
3172
|
+
function Ke({ id: e, useSortable: t, cssHelper: n, children: a }) {
|
|
3173
|
+
const { attributes: r, listeners: s, setNodeRef: o, transform: d, transition: b, isDragging: g } = t({ id: e }), u = {
|
|
3174
3174
|
transform: n?.Transform?.toString(d) ?? void 0,
|
|
3175
3175
|
transition: b,
|
|
3176
|
-
opacity:
|
|
3176
|
+
opacity: g ? 0.5 : 1
|
|
3177
3177
|
};
|
|
3178
|
-
return /* @__PURE__ */ l("div", { ref: o, style:
|
|
3178
|
+
return /* @__PURE__ */ l("div", { ref: o, style: u, "data-sortable-item-id": e, ...r, ...s, children: a });
|
|
3179
3179
|
}
|
|
3180
|
-
|
|
3181
|
-
function
|
|
3180
|
+
Ke.displayName = "SortableItem";
|
|
3181
|
+
function We({
|
|
3182
3182
|
zoneKey: e,
|
|
3183
3183
|
zoneProps: t,
|
|
3184
3184
|
useDroppable: n,
|
|
@@ -3187,7 +3187,7 @@ function Ke({
|
|
|
3187
3187
|
const { setNodeRef: r, isOver: s } = n({ id: e });
|
|
3188
3188
|
return /* @__PURE__ */ l("div", { ref: r, "data-zone-is-over": s || void 0, ...t, children: a });
|
|
3189
3189
|
}
|
|
3190
|
-
|
|
3190
|
+
We.displayName = "ZoneDroppable";
|
|
3191
3191
|
function In({
|
|
3192
3192
|
slotLeft: e,
|
|
3193
3193
|
slotCenter: t,
|
|
@@ -3247,7 +3247,7 @@ function Pn({
|
|
|
3247
3247
|
pulseIndex: s,
|
|
3248
3248
|
pulseNonce: o
|
|
3249
3249
|
}) {
|
|
3250
|
-
const d =
|
|
3250
|
+
const d = qe.useRef([]);
|
|
3251
3251
|
return d.current.length = e, /* @__PURE__ */ l(
|
|
3252
3252
|
"div",
|
|
3253
3253
|
{
|
|
@@ -3255,48 +3255,48 @@ function Pn({
|
|
|
3255
3255
|
"aria-label": a,
|
|
3256
3256
|
"data-testid": "gloss-section-dots",
|
|
3257
3257
|
className: "gloss-section-dots",
|
|
3258
|
-
onKeyDown: (
|
|
3258
|
+
onKeyDown: (g) => {
|
|
3259
3259
|
if (e !== 0) {
|
|
3260
|
-
if (
|
|
3261
|
-
|
|
3262
|
-
const
|
|
3263
|
-
n(
|
|
3264
|
-
} else if (
|
|
3265
|
-
|
|
3266
|
-
const
|
|
3267
|
-
n(
|
|
3260
|
+
if (g.key === "ArrowRight") {
|
|
3261
|
+
g.preventDefault();
|
|
3262
|
+
const u = (t + 1) % e;
|
|
3263
|
+
n(u), requestAnimationFrame(() => d.current[u]?.focus());
|
|
3264
|
+
} else if (g.key === "ArrowLeft") {
|
|
3265
|
+
g.preventDefault();
|
|
3266
|
+
const u = (t - 1 + e) % e;
|
|
3267
|
+
n(u), requestAnimationFrame(() => d.current[u]?.focus());
|
|
3268
3268
|
}
|
|
3269
3269
|
}
|
|
3270
3270
|
},
|
|
3271
|
-
children: Array.from({ length: e }, (
|
|
3271
|
+
children: Array.from({ length: e }, (g, u) => /* @__PURE__ */ l(
|
|
3272
3272
|
"button",
|
|
3273
3273
|
{
|
|
3274
3274
|
ref: (C) => {
|
|
3275
|
-
d.current[
|
|
3275
|
+
d.current[u] = C;
|
|
3276
3276
|
},
|
|
3277
3277
|
type: "button",
|
|
3278
3278
|
role: "tab",
|
|
3279
|
-
"aria-selected":
|
|
3280
|
-
"aria-label":
|
|
3281
|
-
"data-state":
|
|
3282
|
-
"data-section-index":
|
|
3279
|
+
"aria-selected": u === t,
|
|
3280
|
+
"aria-label": u === r ? "Unconfirmed section" : `Section ${u + 1}`,
|
|
3281
|
+
"data-state": u === r ? "provisional-hollow" : u === s ? "pulse" : u === t ? "current" : "hollow",
|
|
3282
|
+
"data-section-index": u,
|
|
3283
3283
|
className: [
|
|
3284
3284
|
"gloss-section-dots__dot",
|
|
3285
|
-
|
|
3285
|
+
u === t && "gloss-section-dots__dot--current"
|
|
3286
3286
|
].filter(Boolean).join(" "),
|
|
3287
|
-
onClick: () => n(
|
|
3287
|
+
onClick: () => n(u)
|
|
3288
3288
|
},
|
|
3289
|
-
|
|
3289
|
+
u === s ? `${u}-${o ?? 0}` : u
|
|
3290
3290
|
))
|
|
3291
3291
|
}
|
|
3292
3292
|
);
|
|
3293
3293
|
}
|
|
3294
|
-
const
|
|
3294
|
+
const ua = H.forwardRef(({ density: e = "compact", children: t, ...n }, a) => {
|
|
3295
3295
|
const r = { ...n };
|
|
3296
3296
|
return delete r.className, delete r.style, /* @__PURE__ */ l("div", { ref: a, className: "gloss-container-toolbar", role: "toolbar", ...r, children: /* @__PURE__ */ l(Ne, { region: "toolbar", density: e, children: t }) });
|
|
3297
3297
|
});
|
|
3298
|
-
|
|
3299
|
-
const
|
|
3298
|
+
ua.displayName = "ContainerToolbar";
|
|
3299
|
+
const ma = H.forwardRef(({ legend: e, description: t, density: n = "default", children: a, ...r }, s) => {
|
|
3300
3300
|
const o = { ...r };
|
|
3301
3301
|
return delete o.className, delete o.style, /* @__PURE__ */ A("fieldset", { ref: s, className: "gloss-container-form-section", ...o, children: [
|
|
3302
3302
|
e && /* @__PURE__ */ l("legend", { className: "gloss-container-form-section__legend", children: e }),
|
|
@@ -3304,12 +3304,12 @@ const ua = H.forwardRef(({ legend: e, description: t, density: n = "default", ch
|
|
|
3304
3304
|
/* @__PURE__ */ l(Ne, { region: "form-section", density: n, children: a })
|
|
3305
3305
|
] });
|
|
3306
3306
|
});
|
|
3307
|
-
|
|
3308
|
-
const
|
|
3307
|
+
ma.displayName = "ContainerFormSection";
|
|
3308
|
+
const ga = H.forwardRef(({ density: e = "compact", children: t, ...n }, a) => {
|
|
3309
3309
|
const r = { ...n };
|
|
3310
3310
|
return delete r.className, delete r.style, /* @__PURE__ */ l("div", { ref: a, className: "gloss-container-table", ...r, children: /* @__PURE__ */ l(Ne, { region: "table", density: e, children: t }) });
|
|
3311
3311
|
});
|
|
3312
|
-
|
|
3312
|
+
ga.displayName = "ContainerTable";
|
|
3313
3313
|
export {
|
|
3314
3314
|
On as Accordion,
|
|
3315
3315
|
An as AccordionContent,
|
|
@@ -3338,7 +3338,7 @@ export {
|
|
|
3338
3338
|
rr as CardShell,
|
|
3339
3339
|
sr as CardSubtitle,
|
|
3340
3340
|
or as CardTitle,
|
|
3341
|
-
|
|
3341
|
+
Rn as CascadePreview,
|
|
3342
3342
|
ir as ChartControlBar,
|
|
3343
3343
|
lr as Checkbox,
|
|
3344
3344
|
cr as CheckboxGroup,
|
|
@@ -3358,34 +3358,34 @@ export {
|
|
|
3358
3358
|
Cr as ContainerDialogActions,
|
|
3359
3359
|
kr as ContainerDialogBody,
|
|
3360
3360
|
_r as ContainerDialogHeader,
|
|
3361
|
-
|
|
3361
|
+
ma as ContainerFormSection,
|
|
3362
3362
|
xr as ContainerPanel,
|
|
3363
|
-
|
|
3364
|
-
|
|
3363
|
+
ga as ContainerTable,
|
|
3364
|
+
ua as ContainerToolbar,
|
|
3365
3365
|
Sr as CreditCardForm,
|
|
3366
3366
|
Mr as DEFAULT_FOOTER_IDS,
|
|
3367
3367
|
ee as DEFAULT_GRID_INTERACTION_PHYSICS,
|
|
3368
3368
|
ai as DEFAULT_MARKET_PRESETS,
|
|
3369
3369
|
Tr as DEFAULT_OVERFLOW_IDS,
|
|
3370
3370
|
ni as DEFAULT_PINNED,
|
|
3371
|
-
|
|
3371
|
+
Fe as DEFAULT_RESIZE_PHYSICS,
|
|
3372
3372
|
Rr as DataTable,
|
|
3373
3373
|
Ir as DatePicker,
|
|
3374
3374
|
Pr as DateRangePicker,
|
|
3375
3375
|
Fr as DestructiveModal,
|
|
3376
|
-
|
|
3376
|
+
Ut as DevTuningPanel,
|
|
3377
3377
|
Er as DirectionCard,
|
|
3378
3378
|
Or as Dismissible,
|
|
3379
3379
|
Ar as DistributionCard,
|
|
3380
3380
|
Lr as DonutChart,
|
|
3381
|
-
|
|
3382
|
-
|
|
3381
|
+
Mn as DragGhost,
|
|
3382
|
+
kn as DropAnchorCell,
|
|
3383
3383
|
$r as Dropdown,
|
|
3384
3384
|
Br as ENTITY_FILTER_KEYS,
|
|
3385
3385
|
zr as ENTITY_PROFILE_ROUTES,
|
|
3386
3386
|
Kr as ENTITY_TYPE_PLURAL,
|
|
3387
|
-
|
|
3388
|
-
|
|
3387
|
+
bt as EdgeHoverHandle,
|
|
3388
|
+
Sn as EmptyCellPackAffordance,
|
|
3389
3389
|
Wr as EntityPicker,
|
|
3390
3390
|
Gr as EntitySearchPanel,
|
|
3391
3391
|
Hr as Expandable,
|
|
@@ -3399,14 +3399,14 @@ export {
|
|
|
3399
3399
|
Xr as FormDialog,
|
|
3400
3400
|
Jr as FormField,
|
|
3401
3401
|
es as FusedShape,
|
|
3402
|
-
|
|
3402
|
+
vt as GhostPreview,
|
|
3403
3403
|
ts as GroupCheckbox,
|
|
3404
3404
|
as as GroupRadio,
|
|
3405
|
-
|
|
3405
|
+
Ka as HARD_CLIP,
|
|
3406
3406
|
ns as HighlightCard,
|
|
3407
3407
|
rs as HybridDatePicker,
|
|
3408
3408
|
ss as ImportWizard,
|
|
3409
|
-
|
|
3409
|
+
qt as InlineNudge,
|
|
3410
3410
|
os as Input,
|
|
3411
3411
|
is as InputAddon,
|
|
3412
3412
|
ls as InputGroup,
|
|
@@ -3422,37 +3422,37 @@ export {
|
|
|
3422
3422
|
vs as MergePrompt,
|
|
3423
3423
|
ys as MetricCard,
|
|
3424
3424
|
ws as MetricCardGrid,
|
|
3425
|
-
|
|
3425
|
+
$t as MetricGroupContainer,
|
|
3426
3426
|
Ds as MiniCalendar,
|
|
3427
3427
|
Ns as MultiSelect,
|
|
3428
3428
|
Cs as NumberInput,
|
|
3429
3429
|
ks as ObjectArrow,
|
|
3430
3430
|
_s as OrderFilterBar,
|
|
3431
3431
|
ri as PERIOD_OPTIONS,
|
|
3432
|
-
|
|
3433
|
-
|
|
3432
|
+
xt as PageChip,
|
|
3433
|
+
Ee as PageDropdown,
|
|
3434
3434
|
xs as PasswordInput,
|
|
3435
3435
|
Ss as PaymentForm,
|
|
3436
3436
|
Ms as PaymentMethodSelect,
|
|
3437
3437
|
Ts as PhoneInput,
|
|
3438
3438
|
Rs as PinToMetric,
|
|
3439
|
-
|
|
3439
|
+
aa as PresetSwatchRow,
|
|
3440
3440
|
Is as ProfileCard,
|
|
3441
3441
|
Ps as ProgressCard,
|
|
3442
3442
|
Fs as QuickConfigPanel,
|
|
3443
|
-
|
|
3443
|
+
Ft as RECONFIG_BACKSIDE_LABELS,
|
|
3444
3444
|
si as ROLLING_OPTIONS,
|
|
3445
3445
|
Es as Radio,
|
|
3446
3446
|
Os as RadioGroup,
|
|
3447
3447
|
As as RangeSlider,
|
|
3448
3448
|
Ls as Rating,
|
|
3449
|
-
|
|
3449
|
+
At as ReconfigBacksideButtons,
|
|
3450
3450
|
$s as RegistrationForm,
|
|
3451
|
-
|
|
3451
|
+
Cn as ResizeEnvelope,
|
|
3452
3452
|
Bs as Row1Controls,
|
|
3453
3453
|
zs as Row2FilterTray,
|
|
3454
3454
|
Ks as SearchInput,
|
|
3455
|
-
|
|
3455
|
+
xn as SectionDivider,
|
|
3456
3456
|
Pn as SectionDots,
|
|
3457
3457
|
Ws as SegmentCard,
|
|
3458
3458
|
Gs as SegmentedControl,
|
|
@@ -3465,25 +3465,25 @@ export {
|
|
|
3465
3465
|
qs as SkeletonChart,
|
|
3466
3466
|
Qs as SkeletonTable,
|
|
3467
3467
|
Xs as Slider,
|
|
3468
|
-
|
|
3468
|
+
Tn as SnapOutline,
|
|
3469
3469
|
Js as Sortable,
|
|
3470
|
-
|
|
3470
|
+
da as SortableZones,
|
|
3471
3471
|
eo as SparklineBg,
|
|
3472
|
-
|
|
3472
|
+
_n as SpilloverArc,
|
|
3473
3473
|
to as SplitButton,
|
|
3474
3474
|
ao as StackedGroupCard,
|
|
3475
3475
|
no as StatusModeCard,
|
|
3476
|
-
|
|
3476
|
+
ht as StatusSlotChipMenu,
|
|
3477
3477
|
ro as Stepper,
|
|
3478
|
-
|
|
3478
|
+
Pe as SwingReveal,
|
|
3479
3479
|
oi as TODAY_PRESET,
|
|
3480
3480
|
J as TUNING_DEFAULTS,
|
|
3481
|
-
|
|
3481
|
+
$e as TUNING_STORAGE_KEY,
|
|
3482
3482
|
so as TabGroup,
|
|
3483
3483
|
oo as TabbedDataView,
|
|
3484
3484
|
io as TagInput,
|
|
3485
3485
|
lo as Textarea,
|
|
3486
|
-
|
|
3486
|
+
Jt as ThresholdRamp,
|
|
3487
3487
|
co as TimeFrame,
|
|
3488
3488
|
uo as TimePicker,
|
|
3489
3489
|
mo as Toggle,
|
|
@@ -3496,119 +3496,119 @@ export {
|
|
|
3496
3496
|
Ne as UIContextProvider,
|
|
3497
3497
|
vo as UnifiedBreakdownTable,
|
|
3498
3498
|
yo as UnifiedContextMenu,
|
|
3499
|
-
|
|
3499
|
+
yt as VelocityBuffer,
|
|
3500
3500
|
wo as addressGroupMetadata,
|
|
3501
3501
|
Do as addressSchema,
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
|
|
3502
|
+
Sa as allChips,
|
|
3503
|
+
Ua as allStateFixtures,
|
|
3504
|
+
ja as allVariantFixtures,
|
|
3505
|
+
Ia as blockSamples,
|
|
3506
3506
|
No as buildDefaultOverflow,
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
|
|
3514
|
-
|
|
3507
|
+
Aa as cardSamples,
|
|
3508
|
+
La as cascadePhysics,
|
|
3509
|
+
Ea as chartSamples,
|
|
3510
|
+
Fa as circleSamples,
|
|
3511
|
+
Wa as colorTokens,
|
|
3512
|
+
hn as compactLayout,
|
|
3513
|
+
rn as compactState,
|
|
3514
|
+
Va as computeGutterAnchorX,
|
|
3515
3515
|
Co as contactFormMetadata,
|
|
3516
3516
|
ko as contactSchema,
|
|
3517
|
-
|
|
3517
|
+
sn as contextMenuFixtures,
|
|
3518
3518
|
_o as creditCardFormMetadata,
|
|
3519
3519
|
xo as creditCardSchema,
|
|
3520
|
-
|
|
3521
|
-
|
|
3520
|
+
mt as dateChip,
|
|
3521
|
+
Le as defaultControlBarState,
|
|
3522
3522
|
So as destructiveModalMetadata,
|
|
3523
3523
|
Mo as durations,
|
|
3524
3524
|
To as easings,
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
|
|
3529
|
-
|
|
3530
|
-
|
|
3525
|
+
Nt as emptyFixture,
|
|
3526
|
+
dt as entityChip,
|
|
3527
|
+
Rt as entityNameActions,
|
|
3528
|
+
Ta as entityTabGroup,
|
|
3529
|
+
Dt as errorFixture,
|
|
3530
|
+
nn as filteredState,
|
|
3531
3531
|
ii as findPreset,
|
|
3532
3532
|
li as formatDateRange,
|
|
3533
3533
|
ci as formatMarketDates,
|
|
3534
3534
|
di as formatTrend,
|
|
3535
3535
|
ui as formatValue,
|
|
3536
|
-
|
|
3536
|
+
vn as fullLayout,
|
|
3537
3537
|
mi as generateMarketId,
|
|
3538
3538
|
Ro as generateTabId,
|
|
3539
3539
|
gi as getAllPresets,
|
|
3540
3540
|
pi as getDateRangeForPreset,
|
|
3541
3541
|
Io as getMenuActions,
|
|
3542
|
-
|
|
3542
|
+
Ga as getMotionMode,
|
|
3543
3543
|
fi as getPresetLabel,
|
|
3544
3544
|
Po as getTransitionStyle,
|
|
3545
|
-
|
|
3545
|
+
fn as gridCards,
|
|
3546
3546
|
Fo as interpolate,
|
|
3547
3547
|
hi as isInRange,
|
|
3548
3548
|
bi as isMarketActive,
|
|
3549
3549
|
vi as isSameDay,
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3550
|
+
an as itemColumns,
|
|
3551
|
+
en as itemRows,
|
|
3552
|
+
wt as loadingFixture,
|
|
3553
3553
|
Eo as loginFormMetadata,
|
|
3554
3554
|
Oo as loginSchema,
|
|
3555
|
-
|
|
3556
|
-
|
|
3555
|
+
gt as manufacturerChip,
|
|
3556
|
+
Nn as manyTabs,
|
|
3557
3557
|
Ao as mergeHandlers,
|
|
3558
3558
|
Lo as mergeRefs,
|
|
3559
|
-
|
|
3560
|
-
|
|
3559
|
+
Ma as metricTabGroup,
|
|
3560
|
+
wn as mixedTabs,
|
|
3561
3561
|
yi as normalizePresetId,
|
|
3562
|
-
|
|
3563
|
-
|
|
3564
|
-
|
|
3565
|
-
|
|
3566
|
-
|
|
3562
|
+
Pt as numericActions,
|
|
3563
|
+
tn as orderColumns,
|
|
3564
|
+
It as orderIdActions,
|
|
3565
|
+
Ja as orderRows,
|
|
3566
|
+
yn as ordersTabs,
|
|
3567
3567
|
$o as parseNumericValue,
|
|
3568
3568
|
Bo as paymentFormMetadata,
|
|
3569
3569
|
zo as paymentSchema,
|
|
3570
3570
|
Ko as presets,
|
|
3571
|
-
|
|
3572
|
-
|
|
3571
|
+
Ba as provisional,
|
|
3572
|
+
za as reducedMotion,
|
|
3573
3573
|
Wo as registrationFormMetadata,
|
|
3574
3574
|
Go as registrationSchema,
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
|
|
3579
|
-
|
|
3580
|
-
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
|
|
3575
|
+
$a as rejectionFeedback,
|
|
3576
|
+
ln as sampleCompareRanges,
|
|
3577
|
+
un as sampleCustomMarkets,
|
|
3578
|
+
on as sampleDateRange,
|
|
3579
|
+
mn as sampleMarketPresetData,
|
|
3580
|
+
dn as sampleMarkets,
|
|
3581
|
+
pn as samplePeriodPresets,
|
|
3582
|
+
cn as samplePreferences,
|
|
3583
|
+
gn as samplePresets,
|
|
3584
|
+
Dn as singleTab,
|
|
3585
|
+
Za as sparklineFixture,
|
|
3586
|
+
Ya as sparklineUpFixture,
|
|
3587
|
+
_t as staleDonutFixture,
|
|
3588
|
+
Ct as staleFixture,
|
|
3589
|
+
kt as staleSparklineFixture,
|
|
3590
|
+
qa as standardFixture,
|
|
3591
|
+
Xa as standardFlatFixture,
|
|
3592
|
+
bn as standardLayout,
|
|
3593
|
+
Qa as standardNegativeFixture,
|
|
3594
|
+
ut as statusChip,
|
|
3595
3595
|
ae as swingReveal,
|
|
3596
|
-
|
|
3597
|
-
|
|
3598
|
-
|
|
3596
|
+
Oa as tableSamples,
|
|
3597
|
+
Pa as textSamples,
|
|
3598
|
+
Ra as timeFrameTabGroup,
|
|
3599
3599
|
wi as toUppercasePresetId,
|
|
3600
|
-
|
|
3600
|
+
xa as useArrowNavigation,
|
|
3601
3601
|
Ho as useCheckboxGroupContext,
|
|
3602
|
-
|
|
3602
|
+
Ha as useEdgeHoverResize,
|
|
3603
3603
|
Vo as useFilterLayout,
|
|
3604
3604
|
jo as useFlipAndStage,
|
|
3605
3605
|
Uo as useFlipAndStageContext,
|
|
3606
3606
|
Zo as useFlipAndStageContextOptional,
|
|
3607
|
-
|
|
3607
|
+
_a as useFocusReturn,
|
|
3608
3608
|
Yo as useFocusTrap,
|
|
3609
3609
|
qo as useFormContext,
|
|
3610
3610
|
Qo as useRadioGroupContext,
|
|
3611
|
-
|
|
3612
|
-
|
|
3611
|
+
Kt as useResizeTuning,
|
|
3612
|
+
sa as useSortableZones,
|
|
3613
3613
|
ei as useUIContext
|
|
3614
3614
|
};
|