@mt-gloss/ui 0.1.18 → 0.1.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{Expandable-BJnacqDL.js → Expandable-C2MOLRxd.js} +1328 -1334
- package/catalog.js +2 -2
- package/index.js +438 -437
- package/lib/primitives/dashboard/SnapOutline/SnapOutline.d.ts +11 -2
- package/package.json +1 -1
- package/ui.css +1 -1
package/index.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { N as
|
|
1
|
+
import { N as Bn, T as zn, O as Kn, Q as Gn, a3 as Wn, b6 as Hn, az as Vn, ah as jn, Z as Un, an as Zn, K as Yn, a8 as qn, bn as Qn, P as Xn, B as Jn, a as er, y as tr, H as ar, bi as nr, F as rr, J as sr, A as or, z as ir, bh as lr, E as cr, D as dr, bw as ur, b as mr, C as gr, L as pr, o as fr, ad as hr, aN as br, y as vr, H as yr, F as wr, J as Dr, A as Nr, z as Cr, E as _r, D as kr, a$ as xr, b2 as Sr, b1 as Mr, b0 as Tr, b3 as Rr, aC as Ir, a5 as Pr, a4 as Fr, aq as Er, k as Or, m as Ar, aF as Lr, ab as $r, b8 as Br, a9 as zr, bo as Kr, Y as Gr, bG as Wr, bF as Hr, bH as Vr, ap as jr, aQ as Ur, ba as Zr, bL as Yr, bu as qr, n as Qr, am as Xr, bA as Jr, br as es, a0 as ts, ar as as, a2 as ns, bz as rs, G as ss, d as os, aa as is, bI as ls, aT as cs, r as ds, v as us, I as ms, g as gs, aw as ps, bM as fs, M as hs, w as bs, U as vs, X as ys, V as ws, W as Ds, as as Ns, bg as Cs, bO as _s, bK as ks, ao as xs, t as Ss, bp as Ms, aS as Ts, aj as Rs, aK as Is, ag as Ps, al as Fs, au as Es, aR as Os, ac as As, at as Ls, c as $s, R as Bs, j as zs, p as Ks, aH as Gs, bx as Ws, by as Hs, ai as Vs, ae as js, h as Us, x as Zs, b7 as Ys, af as qs, bN as Qs, bc as Xs, bf as Js, bd as eo, be as to, i as ao, b9 as no, bm as ro, S as so, bk as oo, bl as io, av as lo, bb as co, bP as uo, ak as mo, s as go, bJ as po, l as fo, f as ho, q as bo, _ as vo, $ as yo, a7 as wo, bj as Do, bv as No, bC as Co, aA as _o, aB as ko, a6 as xo, aO as So, aP as Mo, aD as To, aE as Ro, aG as Io, aV as Po, aW as Fo, bE as Eo, bD as Oo, aY as Ao, aZ as Lo, ax as $o, ay as Bo, b5 as zo, b4 as Ko, a_ as Go, aL as Wo, aM as Ho, aX as Vo, aI as jo, aJ as Uo, u as Zo, bB as Yo, bq as qo, bs as Qo, bt as Xo, aU as Jo, a1 as ei, e as ti } from "./Expandable-C2MOLRxd.js";
|
|
2
2
|
import { jsxs as O, jsx as l, Fragment as ve } from "react/jsx-runtime";
|
|
3
3
|
import * as Je from "react";
|
|
4
4
|
import W, { useRef as T, useEffect as L, useState as G, useCallback as y, forwardRef as et, useMemo as ie, createContext as tt, useContext as at } from "react";
|
|
5
5
|
import { motion as ue, useMotionValue as nt, animate as Re, useDragControls as rt } from "framer-motion";
|
|
6
|
-
import { B as st, U as
|
|
7
|
-
import { a as
|
|
6
|
+
import { B as st, U as _e } from "./UIContext-C3E-k7HI.js";
|
|
7
|
+
import { a as ni, u as ri } from "./UIContext-C3E-k7HI.js";
|
|
8
8
|
import { createPortal as ot } from "react-dom";
|
|
9
|
-
import { DEFAULT_MARKET_PRESETS as
|
|
9
|
+
import { DEFAULT_MARKET_PRESETS as oi, DEFAULT_PINNED as ii, PERIOD_OPTIONS as li, ROLLING_OPTIONS as ci, TODAY_PRESET as di, findPreset as ui, formatDateRange as mi, formatMarketDates as gi, formatTrend as pi, formatValue as fi, generateMarketId as hi, getAllPresets as bi, getDateRangeForPreset as vi, getPresetLabel as yi, isInRange as wi, isMarketActive as Di, isSameDay as Ni, normalizePresetId as Ci, toUppercasePresetId as _i } from "@mt-gloss/utils";
|
|
10
10
|
import it from "@mui/icons-material/AccessTime";
|
|
11
11
|
import lt from "@mui/icons-material/Tune";
|
|
12
12
|
import ct from "@mui/icons-material/ViewColumn";
|
|
13
13
|
import dt from "@mui/icons-material/AspectRatio";
|
|
14
14
|
import ut from "@mui/icons-material/Palette";
|
|
15
15
|
import mt from "@mui/icons-material/PushPin";
|
|
16
|
-
function
|
|
16
|
+
function Ta(e = {}) {
|
|
17
17
|
const { enabled: t = !0, returnTo: n } = e, a = T(null);
|
|
18
18
|
return L(() => {
|
|
19
19
|
t && (a.current = n || document.activeElement);
|
|
@@ -23,7 +23,7 @@ function Ma(e = {}) {
|
|
|
23
23
|
}, 0);
|
|
24
24
|
}, [t]), a;
|
|
25
25
|
}
|
|
26
|
-
function
|
|
26
|
+
function Ra(e) {
|
|
27
27
|
const {
|
|
28
28
|
items: t,
|
|
29
29
|
activeIndex: n,
|
|
@@ -39,13 +39,13 @@ function Ta(e) {
|
|
|
39
39
|
n === void 0 && w(i), a?.(i);
|
|
40
40
|
},
|
|
41
41
|
[n, a]
|
|
42
|
-
), h = y(() => t.map((i, b) => ({ item: i, index: b })).filter(({ item: i, index: b }) => !c?.(i, b)).map(({ index: i }) => i), [t, c]),
|
|
42
|
+
), h = y(() => t.map((i, b) => ({ item: i, index: b })).filter(({ item: i, index: b }) => !c?.(i, b)).map(({ index: i }) => i), [t, c]), _ = y(
|
|
43
43
|
(i, b) => {
|
|
44
44
|
const D = h();
|
|
45
45
|
if (D.length === 0) return -1;
|
|
46
46
|
const x = D.indexOf(i);
|
|
47
47
|
if (x === -1)
|
|
48
|
-
return b === 1 ? D.find((
|
|
48
|
+
return b === 1 ? D.find((k) => k > i) ?? (r ? D[0] : -1) : [...D].reverse().find((P) => P < i) ?? (r ? D[D.length - 1] : -1);
|
|
49
49
|
let v = x + b;
|
|
50
50
|
return r ? v = (v + D.length) % D.length : v = Math.max(0, Math.min(D.length - 1, v)), D[v];
|
|
51
51
|
},
|
|
@@ -57,22 +57,22 @@ function Ta(e) {
|
|
|
57
57
|
const i = h();
|
|
58
58
|
i.length > 0 && m(i[i.length - 1]);
|
|
59
59
|
}, [h, m]), I = y(() => {
|
|
60
|
-
const i =
|
|
60
|
+
const i = _(u, 1);
|
|
61
61
|
i !== -1 && m(i);
|
|
62
|
-
}, [u,
|
|
63
|
-
const i =
|
|
62
|
+
}, [u, _, m]), C = y(() => {
|
|
63
|
+
const i = _(u, -1);
|
|
64
64
|
i !== -1 && m(i);
|
|
65
|
-
}, [u,
|
|
65
|
+
}, [u, _, m]), M = y(() => {
|
|
66
66
|
m(-1);
|
|
67
67
|
}, [m]), R = y(
|
|
68
68
|
(i) => {
|
|
69
69
|
if (!o) return;
|
|
70
|
-
const { key: b } = i, D = b === "ArrowUp" && (s === "vertical" || s === "both"), x = b === "ArrowDown" && (s === "vertical" || s === "both"), v = b === "ArrowLeft" && (s === "horizontal" || s === "both"),
|
|
70
|
+
const { key: b } = i, D = b === "ArrowUp" && (s === "vertical" || s === "both"), x = b === "ArrowDown" && (s === "vertical" || s === "both"), v = b === "ArrowLeft" && (s === "horizontal" || s === "both"), k = b === "ArrowRight" && (s === "horizontal" || s === "both");
|
|
71
71
|
if (D || v) {
|
|
72
72
|
i.preventDefault(), u === -1 ? S() : C();
|
|
73
73
|
return;
|
|
74
74
|
}
|
|
75
|
-
if (x ||
|
|
75
|
+
if (x || k) {
|
|
76
76
|
i.preventDefault(), u === -1 ? p() : I();
|
|
77
77
|
return;
|
|
78
78
|
}
|
|
@@ -145,18 +145,18 @@ const me = (e) => {
|
|
|
145
145
|
field: "manufacturer",
|
|
146
146
|
value: "widget-co-456",
|
|
147
147
|
onRemove: me
|
|
148
|
-
},
|
|
148
|
+
}, Ia = [
|
|
149
149
|
gt,
|
|
150
150
|
pt,
|
|
151
151
|
ft,
|
|
152
152
|
ht
|
|
153
|
-
],
|
|
153
|
+
], Pa = {
|
|
154
154
|
id: "metric-toggle",
|
|
155
155
|
tabs: [
|
|
156
156
|
{ id: "$", label: "$", mono: !0 },
|
|
157
157
|
{ id: "#", label: "#", mono: !0 }
|
|
158
158
|
]
|
|
159
|
-
},
|
|
159
|
+
}, Fa = {
|
|
160
160
|
id: "entity-type",
|
|
161
161
|
tabs: [
|
|
162
162
|
{ id: "orders", label: "Orders" },
|
|
@@ -164,7 +164,7 @@ const me = (e) => {
|
|
|
164
164
|
{ id: "customers", label: "Customers" },
|
|
165
165
|
{ id: "manufacturers", label: "Manufacturers" }
|
|
166
166
|
]
|
|
167
|
-
},
|
|
167
|
+
}, Ea = {
|
|
168
168
|
id: "time-frame",
|
|
169
169
|
tabs: [
|
|
170
170
|
{ id: "MTD", label: "MTD" },
|
|
@@ -172,26 +172,26 @@ const me = (e) => {
|
|
|
172
172
|
{ id: "YTD", label: "YTD" },
|
|
173
173
|
{ id: "LYTD", label: "LYTD" }
|
|
174
174
|
]
|
|
175
|
-
},
|
|
175
|
+
}, Oa = [
|
|
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
|
+
], Aa = [
|
|
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
|
+
], La = [
|
|
185
185
|
{ variant: "circle", size: 24 },
|
|
186
186
|
{ variant: "circle", size: 40 },
|
|
187
187
|
{ variant: "circle", size: 64 }
|
|
188
|
-
],
|
|
188
|
+
], $a = [
|
|
189
189
|
{ bars: 10, maxHeight: 120 },
|
|
190
190
|
{ bars: 5, maxHeight: 80 }
|
|
191
|
-
],
|
|
191
|
+
], Ba = [
|
|
192
192
|
{ rows: 5, columns: 3, hasCheckbox: !1, rowHeight: 44 },
|
|
193
193
|
{ rows: 8, columns: 5, hasCheckbox: !0, rowHeight: 44 }
|
|
194
|
-
],
|
|
194
|
+
], za = [
|
|
195
195
|
{ variant: "value", colSpan: 1 },
|
|
196
196
|
{ variant: "trend", colSpan: 2 },
|
|
197
197
|
{ variant: "target", colSpan: 1 }
|
|
@@ -317,7 +317,7 @@ function yt({
|
|
|
317
317
|
return ot(u, document.body);
|
|
318
318
|
}
|
|
319
319
|
yt.displayName = "StatusSlotChipMenu";
|
|
320
|
-
const
|
|
320
|
+
const Ka = {
|
|
321
321
|
forwardStaggerMs: 50,
|
|
322
322
|
reverseStaggerMs: 30,
|
|
323
323
|
springStiffness: 380,
|
|
@@ -329,18 +329,18 @@ const za = {
|
|
|
329
329
|
enterEasing: "cubic-bezier(0.34, 1.56, 0.64, 1)",
|
|
330
330
|
exitEasing: "cubic-bezier(0.4, 0, 1, 1)",
|
|
331
331
|
translateOffsetPx: 8
|
|
332
|
-
},
|
|
332
|
+
}, Ga = {
|
|
333
333
|
shiverCycles: 3,
|
|
334
334
|
shiverAmplitudePx: 2,
|
|
335
335
|
shiverDurationMs: 180,
|
|
336
336
|
validCellOpacity: 0.6
|
|
337
|
-
},
|
|
337
|
+
}, Wa = {
|
|
338
338
|
materializeMs: 180,
|
|
339
339
|
dematerializeMs: 140,
|
|
340
340
|
easing: "cubic-bezier(0.22, 1, 0.36, 1)",
|
|
341
341
|
dotStrokePx: 2,
|
|
342
342
|
dividerDashGapPx: 4
|
|
343
|
-
},
|
|
343
|
+
}, Ha = {
|
|
344
344
|
cascadeStaggerMs: 0,
|
|
345
345
|
cascadeSpringCapMs: 120,
|
|
346
346
|
swingEnterMs: 100,
|
|
@@ -349,7 +349,7 @@ const za = {
|
|
|
349
349
|
provisionalStyle: "opacity",
|
|
350
350
|
shiverMs: 200,
|
|
351
351
|
shiverStyle: "color-flash"
|
|
352
|
-
},
|
|
352
|
+
}, Va = !0, ja = {
|
|
353
353
|
rejectionFill: "var(--gloss-rejection-fill)",
|
|
354
354
|
rejectionStroke: "var(--gloss-rejection-stroke)",
|
|
355
355
|
validFill: "var(--gloss-valid-fill)",
|
|
@@ -357,7 +357,7 @@ const za = {
|
|
|
357
357
|
validCellStroke: "var(--gloss-valid-cell-stroke)",
|
|
358
358
|
provisionalWash: "var(--gloss-provisional-wash)"
|
|
359
359
|
};
|
|
360
|
-
function
|
|
360
|
+
function Ua() {
|
|
361
361
|
if (typeof window > "u") return "full";
|
|
362
362
|
try {
|
|
363
363
|
return window.matchMedia("(prefers-reduced-motion: reduce)").matches ? "reduced" : "full";
|
|
@@ -506,7 +506,7 @@ const Le = {
|
|
|
506
506
|
// Velocity multiplier (D-03b panel)
|
|
507
507
|
velocityMultiplier: 1
|
|
508
508
|
};
|
|
509
|
-
function
|
|
509
|
+
function Za({
|
|
510
510
|
currentColSpan: e,
|
|
511
511
|
stackable: t,
|
|
512
512
|
onResize: n,
|
|
@@ -522,11 +522,11 @@ function Ua({
|
|
|
522
522
|
containerRef: u,
|
|
523
523
|
forceIdle: m
|
|
524
524
|
}) {
|
|
525
|
-
const [h,
|
|
525
|
+
const [h, _] = G("idle"), [p, S] = G(e), I = T(null), C = T(null), M = T(null), R = T(null), i = T(r), b = T(s), D = T(w), x = T(0), v = T("idle");
|
|
526
526
|
L(() => {
|
|
527
527
|
v.current = h;
|
|
528
528
|
}, [h]);
|
|
529
|
-
const
|
|
529
|
+
const k = nt(0), P = T(null), H = y(() => {
|
|
530
530
|
const N = P.current;
|
|
531
531
|
if (N) {
|
|
532
532
|
try {
|
|
@@ -553,15 +553,15 @@ function Ua({
|
|
|
553
553
|
M.current && (clearTimeout(M.current), M.current = null);
|
|
554
554
|
}, []);
|
|
555
555
|
L(() => {
|
|
556
|
-
m && (v.current === "dragging" || v.current === "settling" || (V(), A(), Y(), v.current = "idle",
|
|
556
|
+
m && (v.current === "dragging" || v.current === "settling" || (V(), A(), Y(), v.current = "idle", _("idle")));
|
|
557
557
|
}, [m, V, A, Y]);
|
|
558
|
-
const
|
|
559
|
-
A(),
|
|
558
|
+
const ke = y(() => {
|
|
559
|
+
A(), _((N) => N === "settling" || N !== "idle" ? N : (I.current = setTimeout(() => _("handle-visible"), c), "dwelling"));
|
|
560
560
|
}, [c, A]), xe = y(() => {
|
|
561
561
|
V();
|
|
562
562
|
const N = v.current;
|
|
563
563
|
N !== "dwelling" && N !== "handle-visible" || (C.current = setTimeout(() => {
|
|
564
|
-
v.current = "idle",
|
|
564
|
+
v.current = "idle", _("idle");
|
|
565
565
|
}, f));
|
|
566
566
|
}, [V, f]), le = y(
|
|
567
567
|
(N, F, E) => {
|
|
@@ -589,9 +589,9 @@ function Ua({
|
|
|
589
589
|
if (v.current !== "handle-visible") return;
|
|
590
590
|
H(), R.current = N.clientX, i.current = r, b.current = s, D.current = w;
|
|
591
591
|
const F = e * r + (e - 1) * s;
|
|
592
|
-
x.current = F, j.current.clear(), j.current.push({ x: N.clientX, t: performance.now() }),
|
|
592
|
+
x.current = F, j.current.clear(), j.current.push({ x: N.clientX, t: performance.now() }), k.jump(F), v.current = "dragging", _("dragging");
|
|
593
593
|
},
|
|
594
|
-
[r, s, w, e,
|
|
594
|
+
[r, s, w, e, k, H]
|
|
595
595
|
), Se = y(
|
|
596
596
|
(N) => N * i.current + (N - 1) * b.current,
|
|
597
597
|
[]
|
|
@@ -599,22 +599,22 @@ function Ua({
|
|
|
599
599
|
(N, F) => {
|
|
600
600
|
const E = Se(N), B = N !== e;
|
|
601
601
|
if (typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches) {
|
|
602
|
-
|
|
602
|
+
k.jump(E), B && F ? n({ direction: F, targetColSpan: N, mode: t ? "slot-fill" : "sparkline-fidelity" }) : B || a?.(), k.jump(0), v.current = "idle", _("idle");
|
|
603
603
|
return;
|
|
604
604
|
}
|
|
605
605
|
const q = j.current.getWeightedVelocity() * $.velocityMultiplier;
|
|
606
|
-
v.current = "settling",
|
|
606
|
+
v.current = "settling", _("settling"), H(), P.current = Re(k, E, {
|
|
607
607
|
type: "spring",
|
|
608
608
|
stiffness: $.stiffness,
|
|
609
609
|
damping: $.damping,
|
|
610
610
|
mass: $.mass,
|
|
611
611
|
velocity: q,
|
|
612
612
|
onComplete: () => {
|
|
613
|
-
P.current = null, B && F ? n({ direction: F, targetColSpan: N, mode: t ? "slot-fill" : "sparkline-fidelity" }) : B || a?.(),
|
|
613
|
+
P.current = null, B && F ? n({ direction: F, targetColSpan: N, mode: t ? "slot-fill" : "sparkline-fidelity" }) : B || a?.(), k.jump(0), v.current = "idle", _("idle");
|
|
614
614
|
}
|
|
615
615
|
});
|
|
616
616
|
},
|
|
617
|
-
[Se, e, t, n, a,
|
|
617
|
+
[Se, e, t, n, a, k, $, H]
|
|
618
618
|
), Ze = y(
|
|
619
619
|
(N) => {
|
|
620
620
|
if (v.current !== "dragging") return;
|
|
@@ -628,24 +628,24 @@ function Ua({
|
|
|
628
628
|
if (V(), v.current === "dragging") {
|
|
629
629
|
const N = x.current;
|
|
630
630
|
if (typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches) {
|
|
631
|
-
|
|
631
|
+
k.jump(N), a?.(), k.jump(0), v.current = "idle", _("idle");
|
|
632
632
|
return;
|
|
633
633
|
}
|
|
634
634
|
const E = j.current.getWeightedVelocity();
|
|
635
|
-
v.current = "settling",
|
|
635
|
+
v.current = "settling", _("settling"), H(), P.current = Re(k, N, {
|
|
636
636
|
type: "spring",
|
|
637
637
|
stiffness: $.stiffness,
|
|
638
638
|
damping: $.damping,
|
|
639
639
|
mass: $.mass,
|
|
640
640
|
velocity: E,
|
|
641
641
|
onComplete: () => {
|
|
642
|
-
P.current = null, a?.(),
|
|
642
|
+
P.current = null, a?.(), k.jump(0), v.current = "idle", _("idle");
|
|
643
643
|
}
|
|
644
644
|
});
|
|
645
645
|
return;
|
|
646
646
|
}
|
|
647
|
-
v.current === "handle-visible" && (a?.(), v.current = "cancelled",
|
|
648
|
-
}, [V,
|
|
647
|
+
v.current === "handle-visible" && (a?.(), v.current = "cancelled", _("cancelled"));
|
|
648
|
+
}, [V, k, a, $, H]);
|
|
649
649
|
L(() => {
|
|
650
650
|
if (h !== "dragging" && h !== "handle-visible") return;
|
|
651
651
|
const N = (F) => {
|
|
@@ -659,18 +659,18 @@ function Ua({
|
|
|
659
659
|
}
|
|
660
660
|
const N = (F) => {
|
|
661
661
|
const E = F.clientX - (R.current ?? F.clientX), B = x.current, J = U(1), q = U(w), Q = B + E, X = Math.max(J, Math.min(q, Q));
|
|
662
|
-
|
|
662
|
+
k.set(X);
|
|
663
663
|
const z = i.current, Te = (w - e) * z, ne = (1 - e) * z, Xe = Math.max(ne, Math.min(Te, E));
|
|
664
664
|
j.current.push({ x: F.clientX, t: performance.now() });
|
|
665
665
|
const pe = le(Xe, K.current, e);
|
|
666
666
|
pe !== K.current && (K.current = pe, S(pe));
|
|
667
667
|
};
|
|
668
668
|
return window.addEventListener("pointermove", N), () => window.removeEventListener("pointermove", N);
|
|
669
|
-
}, [h, e,
|
|
669
|
+
}, [h, e, k, le, w, U]), L(() => () => {
|
|
670
670
|
V(), A(), Y();
|
|
671
671
|
}, [V, A, Y]), L(() => {
|
|
672
672
|
if (h !== "cancelled") return;
|
|
673
|
-
const N = setTimeout(() =>
|
|
673
|
+
const N = setTimeout(() => _("idle"), g);
|
|
674
674
|
return () => clearTimeout(N);
|
|
675
675
|
}, [h, g]);
|
|
676
676
|
const Ye = y(
|
|
@@ -680,35 +680,35 @@ function Ua({
|
|
|
680
680
|
if (E === e) return;
|
|
681
681
|
i.current = r, b.current = s, D.current = w, j.current.clear();
|
|
682
682
|
const B = e * r + (e - 1) * s;
|
|
683
|
-
x.current = B,
|
|
683
|
+
x.current = B, k.jump(B), ce(E, N);
|
|
684
684
|
},
|
|
685
|
-
[e, r, s, w,
|
|
685
|
+
[e, r, s, w, k, ce]
|
|
686
686
|
), Me = y(() => {
|
|
687
687
|
Y(), M.current = setTimeout(() => {
|
|
688
|
-
v.current === "handle-visible" && (v.current = "idle",
|
|
688
|
+
v.current === "handle-visible" && (v.current = "idle", _("idle"));
|
|
689
689
|
}, 5e3);
|
|
690
690
|
}, [Y]), qe = y(() => {
|
|
691
|
-
v.current === "idle" && (V(), v.current = "handle-visible",
|
|
691
|
+
v.current === "idle" && (V(), v.current = "handle-visible", _("handle-visible"), Me());
|
|
692
692
|
}, [V, Me]), Qe = y(() => {
|
|
693
|
-
Y(), v.current === "handle-visible" && (v.current = "idle",
|
|
693
|
+
Y(), v.current === "handle-visible" && (v.current = "idle", _("idle"));
|
|
694
694
|
}, [Y]);
|
|
695
695
|
return {
|
|
696
696
|
state: h,
|
|
697
|
-
enterEdgeZone:
|
|
697
|
+
enterEdgeZone: ke,
|
|
698
698
|
leaveEdgeZone: xe,
|
|
699
699
|
handleProps: {
|
|
700
700
|
onPointerDown: Ue,
|
|
701
701
|
onPointerUp: Ze,
|
|
702
702
|
// Bug E: handle continues zone presence so pointer crossing sentinel→handle
|
|
703
703
|
// doesn't collapse state. handle's pointerenter = stay in zone.
|
|
704
|
-
onPointerEnter:
|
|
704
|
+
onPointerEnter: ke,
|
|
705
705
|
onPointerLeave: xe
|
|
706
706
|
},
|
|
707
707
|
previewColSpan: p,
|
|
708
708
|
ghostProps: {
|
|
709
709
|
visible: h === "dragging" || h === "settling",
|
|
710
710
|
targetColSpan: p,
|
|
711
|
-
ghostWidth:
|
|
711
|
+
ghostWidth: k,
|
|
712
712
|
enterMs: d,
|
|
713
713
|
exitMs: g
|
|
714
714
|
},
|
|
@@ -743,14 +743,14 @@ const ae = {
|
|
|
743
743
|
sectionDividerFadeOutMs: 80,
|
|
744
744
|
sectionDividerStaggerMs: 40
|
|
745
745
|
};
|
|
746
|
-
function
|
|
746
|
+
function Ya(e) {
|
|
747
747
|
const { cardWidthPx: t, slotCount: n, activeSlotIdx: a, pillWidthPx: r } = e;
|
|
748
748
|
if (a == null || !Number.isFinite(t) || t <= 0 || !Number.isFinite(n) || n <= 0 || !Number.isInteger(a) || a < 0 || a >= n)
|
|
749
749
|
return;
|
|
750
750
|
const s = (a + 0.5) * (t / n);
|
|
751
751
|
return r != null && Number.isFinite(r) && r > 0 ? s - r / 2 : s;
|
|
752
752
|
}
|
|
753
|
-
const
|
|
753
|
+
const qa = [
|
|
754
754
|
// 1. Standard: Total Revenue
|
|
755
755
|
{
|
|
756
756
|
variant: "standard",
|
|
@@ -858,13 +858,13 @@ const Ya = [
|
|
|
858
858
|
variant: "standard",
|
|
859
859
|
label: "Total Revenue",
|
|
860
860
|
isLoading: !0
|
|
861
|
-
},
|
|
861
|
+
}, _t = {
|
|
862
862
|
variant: "standard",
|
|
863
863
|
label: "Total Revenue",
|
|
864
864
|
value: 125430,
|
|
865
865
|
valueFormat: { prefix: "$", abbreviated: !0 },
|
|
866
866
|
isError: !0
|
|
867
|
-
},
|
|
867
|
+
}, kt = {
|
|
868
868
|
variant: "standard",
|
|
869
869
|
label: "Total Revenue",
|
|
870
870
|
value: null,
|
|
@@ -899,14 +899,14 @@ const Ya = [
|
|
|
899
899
|
donutMax: 100,
|
|
900
900
|
accentColor: "#10b981",
|
|
901
901
|
isStale: !0
|
|
902
|
-
},
|
|
902
|
+
}, Qa = [
|
|
903
903
|
Ct,
|
|
904
|
-
kt,
|
|
905
904
|
_t,
|
|
905
|
+
kt,
|
|
906
906
|
xt,
|
|
907
907
|
St,
|
|
908
908
|
Mt
|
|
909
|
-
],
|
|
909
|
+
], Xa = {
|
|
910
910
|
variant: "sparkline",
|
|
911
911
|
label: "Daily Orders",
|
|
912
912
|
value: 847,
|
|
@@ -929,7 +929,7 @@ const Ya = [
|
|
|
929
929
|
59
|
|
930
930
|
],
|
|
931
931
|
accentColor: "#6366f1"
|
|
932
|
-
},
|
|
932
|
+
}, Ja = {
|
|
933
933
|
variant: "sparkline",
|
|
934
934
|
label: "New Customers",
|
|
935
935
|
value: 23,
|
|
@@ -968,21 +968,21 @@ const Ya = [
|
|
|
968
968
|
19
|
|
969
969
|
],
|
|
970
970
|
accentColor: "#10b981"
|
|
971
|
-
},
|
|
971
|
+
}, en = {
|
|
972
972
|
variant: "standard",
|
|
973
973
|
label: "Total Revenue",
|
|
974
974
|
value: 125430,
|
|
975
975
|
valueFormat: { prefix: "$", abbreviated: !0 },
|
|
976
976
|
trend: { value: 12.5, direction: "up" },
|
|
977
977
|
subtitle: "MTD"
|
|
978
|
-
},
|
|
978
|
+
}, tn = {
|
|
979
979
|
variant: "standard",
|
|
980
980
|
label: "Returns",
|
|
981
981
|
value: 3280,
|
|
982
982
|
valueFormat: { prefix: "$", abbreviated: !0 },
|
|
983
983
|
trend: { value: -8.3, direction: "down" },
|
|
984
984
|
subtitle: "MTD"
|
|
985
|
-
},
|
|
985
|
+
}, an = {
|
|
986
986
|
variant: "standard",
|
|
987
987
|
label: "Avg Order Value",
|
|
988
988
|
value: 487,
|
|
@@ -1101,7 +1101,7 @@ const Tt = function({
|
|
|
1101
1101
|
u((S) => !S);
|
|
1102
1102
|
}, []), h = y(() => {
|
|
1103
1103
|
u(!1);
|
|
1104
|
-
}, []),
|
|
1104
|
+
}, []), _ = a[t]?.id ?? "";
|
|
1105
1105
|
return /* @__PURE__ */ O(
|
|
1106
1106
|
"div",
|
|
1107
1107
|
{
|
|
@@ -1120,7 +1120,7 @@ const Tt = function({
|
|
|
1120
1120
|
/* @__PURE__ */ l(
|
|
1121
1121
|
"button",
|
|
1122
1122
|
{
|
|
1123
|
-
className: "gloss-page-chip__trigger"
|
|
1123
|
+
className: `gloss-page-chip__trigger${f === "name" ? " gloss-page-chip__trigger--name" : ""}`,
|
|
1124
1124
|
"aria-haspopup": "menu",
|
|
1125
1125
|
"aria-expanded": w,
|
|
1126
1126
|
"aria-label": f === "name" ? `${d ?? "Page"}. Click to switch pages.` : `Page ${t + 1} of ${n}. Click to switch pages.`,
|
|
@@ -1142,7 +1142,7 @@ const Tt = function({
|
|
|
1142
1142
|
onDismiss: h,
|
|
1143
1143
|
anchorRef: g,
|
|
1144
1144
|
pages: a,
|
|
1145
|
-
activePageId:
|
|
1145
|
+
activePageId: _,
|
|
1146
1146
|
onPageChange: r,
|
|
1147
1147
|
onCreatePage: s,
|
|
1148
1148
|
onManagePages: o
|
|
@@ -1153,7 +1153,7 @@ const Tt = function({
|
|
|
1153
1153
|
);
|
|
1154
1154
|
};
|
|
1155
1155
|
Tt.displayName = "PageChip";
|
|
1156
|
-
const
|
|
1156
|
+
const nn = [
|
|
1157
1157
|
{
|
|
1158
1158
|
id: "ORD-1001",
|
|
1159
1159
|
orderNumber: "ORD-1001",
|
|
@@ -1286,7 +1286,7 @@ const an = [
|
|
|
1286
1286
|
date: "2026-03-01",
|
|
1287
1287
|
skuCount: 9
|
|
1288
1288
|
}
|
|
1289
|
-
],
|
|
1289
|
+
], rn = [
|
|
1290
1290
|
{
|
|
1291
1291
|
id: "ITEM-001",
|
|
1292
1292
|
sku: "PB-4520",
|
|
@@ -1429,7 +1429,7 @@ function Be(e) {
|
|
|
1429
1429
|
function ze(e) {
|
|
1430
1430
|
return new Date(e).toLocaleDateString("en-US", { month: "short", day: "numeric", year: "numeric" });
|
|
1431
1431
|
}
|
|
1432
|
-
const oe = W.createElement("span", { style: { color: "var(--color-text-muted)" } }, "—"),
|
|
1432
|
+
const oe = W.createElement("span", { style: { color: "var(--color-text-muted)" } }, "—"), sn = [
|
|
1433
1433
|
{
|
|
1434
1434
|
field: "id",
|
|
1435
1435
|
headerName: "Order",
|
|
@@ -1481,7 +1481,7 @@ const oe = W.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1481
1481
|
cellClassName: "gloss-tabular-nums",
|
|
1482
1482
|
renderCell: ({ row: e }) => e.date ? ze(e.date) : ""
|
|
1483
1483
|
}
|
|
1484
|
-
],
|
|
1484
|
+
], on = [
|
|
1485
1485
|
{
|
|
1486
1486
|
field: "sku",
|
|
1487
1487
|
headerName: "Item ID",
|
|
@@ -1577,7 +1577,7 @@ const oe = W.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1577
1577
|
userType: "sales-agency",
|
|
1578
1578
|
entityFilterOptions: Rt,
|
|
1579
1579
|
itemFilterOptions: It
|
|
1580
|
-
},
|
|
1580
|
+
}, ln = {
|
|
1581
1581
|
...Ke,
|
|
1582
1582
|
vizState: {
|
|
1583
1583
|
type: "items",
|
|
@@ -1586,7 +1586,7 @@ const oe = W.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1586
1586
|
byItem: { id: "i-003", name: "Walnut Console Table" },
|
|
1587
1587
|
timeFrame: "YTD"
|
|
1588
1588
|
}
|
|
1589
|
-
},
|
|
1589
|
+
}, cn = {
|
|
1590
1590
|
...Ke,
|
|
1591
1591
|
vizState: {
|
|
1592
1592
|
type: "orders",
|
|
@@ -1702,14 +1702,14 @@ const oe = W.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1702
1702
|
cellKinds: ["numeric"],
|
|
1703
1703
|
tabType: "orders"
|
|
1704
1704
|
}
|
|
1705
|
-
],
|
|
1705
|
+
], dn = {
|
|
1706
1706
|
entityName: Ft,
|
|
1707
1707
|
orderId: Et,
|
|
1708
1708
|
numeric: Ot
|
|
1709
|
-
},
|
|
1709
|
+
}, un = [
|
|
1710
1710
|
new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), (/* @__PURE__ */ new Date()).getDate() - 29),
|
|
1711
1711
|
/* @__PURE__ */ new Date()
|
|
1712
|
-
],
|
|
1712
|
+
], mn = {
|
|
1713
1713
|
rangeA: [
|
|
1714
1714
|
new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), 1),
|
|
1715
1715
|
/* @__PURE__ */ new Date()
|
|
@@ -1722,7 +1722,7 @@ const oe = W.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1722
1722
|
new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth() - 2, 1),
|
|
1723
1723
|
new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth() - 1, 0)
|
|
1724
1724
|
]
|
|
1725
|
-
},
|
|
1725
|
+
}, gn = {
|
|
1726
1726
|
version: 4,
|
|
1727
1727
|
lastPreset: "mtd",
|
|
1728
1728
|
pinnedPreset: "mtd",
|
|
@@ -1730,7 +1730,7 @@ const oe = W.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1730
1730
|
rangeCount: 1,
|
|
1731
1731
|
lastPresetB: null,
|
|
1732
1732
|
lastPresetC: null
|
|
1733
|
-
},
|
|
1733
|
+
}, pn = [
|
|
1734
1734
|
{
|
|
1735
1735
|
id: "atlanta-jan",
|
|
1736
1736
|
label: "Atlanta Market",
|
|
@@ -1752,7 +1752,7 @@ const oe = W.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1752
1752
|
endDate: new Date(2026, 3, 22),
|
|
1753
1753
|
location: "Chicago, IL"
|
|
1754
1754
|
}
|
|
1755
|
-
],
|
|
1755
|
+
], fn = [
|
|
1756
1756
|
{
|
|
1757
1757
|
id: "custom-regional-1",
|
|
1758
1758
|
label: "Southeast Regional Expo",
|
|
@@ -1769,7 +1769,7 @@ const oe = W.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1769
1769
|
location: "Portland, OR",
|
|
1770
1770
|
isCustom: !0
|
|
1771
1771
|
}
|
|
1772
|
-
],
|
|
1772
|
+
], hn = [
|
|
1773
1773
|
{
|
|
1774
1774
|
id: "atlanta-jan",
|
|
1775
1775
|
label: "Atlanta Market",
|
|
@@ -1786,12 +1786,12 @@ const oe = W.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1786
1786
|
location: "New York, NY",
|
|
1787
1787
|
active: !0
|
|
1788
1788
|
}
|
|
1789
|
-
],
|
|
1789
|
+
], bn = [
|
|
1790
1790
|
{ id: "7d", label: "7D" },
|
|
1791
1791
|
{ id: "30d", label: "30D" },
|
|
1792
1792
|
{ id: "60d", label: "60D" },
|
|
1793
1793
|
{ id: "90d", label: "90D" }
|
|
1794
|
-
],
|
|
1794
|
+
], vn = [
|
|
1795
1795
|
{ id: "mtd", label: "MTD" },
|
|
1796
1796
|
{ id: "qtd", label: "QTD" },
|
|
1797
1797
|
{ id: "ytd", label: "YTD" },
|
|
@@ -1834,27 +1834,27 @@ const Bt = ({
|
|
|
1834
1834
|
const s = T(null), o = T([]), c = $t(), f = ie(() => Array.from(e), [e]);
|
|
1835
1835
|
if (f.length === 0) return null;
|
|
1836
1836
|
const d = a ? `Configure ${a}: choose a dimension` : void 0, g = c ? "10ms" : "200ms", w = (u, m) => {
|
|
1837
|
-
const h = f.length - 1,
|
|
1837
|
+
const h = f.length - 1, _ = (p) => {
|
|
1838
1838
|
const S = o.current[p];
|
|
1839
1839
|
S && S.focus();
|
|
1840
1840
|
};
|
|
1841
1841
|
switch (u.key) {
|
|
1842
1842
|
case "ArrowRight":
|
|
1843
1843
|
case "ArrowDown": {
|
|
1844
|
-
u.preventDefault(),
|
|
1844
|
+
u.preventDefault(), _(m === h ? 0 : m + 1);
|
|
1845
1845
|
break;
|
|
1846
1846
|
}
|
|
1847
1847
|
case "ArrowLeft":
|
|
1848
1848
|
case "ArrowUp": {
|
|
1849
|
-
u.preventDefault(),
|
|
1849
|
+
u.preventDefault(), _(m === 0 ? h : m - 1);
|
|
1850
1850
|
break;
|
|
1851
1851
|
}
|
|
1852
1852
|
case "Home": {
|
|
1853
|
-
u.preventDefault(),
|
|
1853
|
+
u.preventDefault(), _(0);
|
|
1854
1854
|
break;
|
|
1855
1855
|
}
|
|
1856
1856
|
case "End": {
|
|
1857
|
-
u.preventDefault(),
|
|
1857
|
+
u.preventDefault(), _(h);
|
|
1858
1858
|
break;
|
|
1859
1859
|
}
|
|
1860
1860
|
case "Enter":
|
|
@@ -1878,7 +1878,7 @@ const Bt = ({
|
|
|
1878
1878
|
"--gloss-reconfig-backside-buttons-transition-duration": g
|
|
1879
1879
|
},
|
|
1880
1880
|
children: f.map((u, m) => {
|
|
1881
|
-
const h = Lt[u],
|
|
1881
|
+
const h = Lt[u], _ = n === u;
|
|
1882
1882
|
return /* @__PURE__ */ O(
|
|
1883
1883
|
"button",
|
|
1884
1884
|
{
|
|
@@ -1889,9 +1889,9 @@ const Bt = ({
|
|
|
1889
1889
|
"data-dimension": u,
|
|
1890
1890
|
className: Fe(
|
|
1891
1891
|
"gloss-reconfig-backside-buttons__button",
|
|
1892
|
-
|
|
1892
|
+
_ && "gloss-reconfig-backside-buttons__button--active"
|
|
1893
1893
|
),
|
|
1894
|
-
"aria-current":
|
|
1894
|
+
"aria-current": _ ? "true" : void 0,
|
|
1895
1895
|
onClick: () => t(u),
|
|
1896
1896
|
onKeyDown: (p) => w(p, m),
|
|
1897
1897
|
children: [
|
|
@@ -1938,7 +1938,7 @@ function Ee(e, t) {
|
|
|
1938
1938
|
colSpan: 2
|
|
1939
1939
|
};
|
|
1940
1940
|
}
|
|
1941
|
-
const
|
|
1941
|
+
const yn = [
|
|
1942
1942
|
Z("total-revenue", "Total Revenue"),
|
|
1943
1943
|
Z("total-orders", "Total Orders"),
|
|
1944
1944
|
Ee("revenue-trend", "Revenue Trend (2x)"),
|
|
@@ -1949,21 +1949,21 @@ const vn = [
|
|
|
1949
1949
|
Z("repeat-rate", "Repeat Rate"),
|
|
1950
1950
|
Z("open-orders", "Open Orders"),
|
|
1951
1951
|
Z("shipped-orders", "Shipped Orders")
|
|
1952
|
-
],
|
|
1952
|
+
], wn = {
|
|
1953
1953
|
columns: 6,
|
|
1954
1954
|
rowHeight: 120,
|
|
1955
1955
|
gap: 15,
|
|
1956
1956
|
maxRows: 3,
|
|
1957
1957
|
currentPage: 0,
|
|
1958
1958
|
totalPages: 1
|
|
1959
|
-
},
|
|
1959
|
+
}, Dn = {
|
|
1960
1960
|
columns: 9,
|
|
1961
1961
|
rowHeight: 120,
|
|
1962
1962
|
gap: 15,
|
|
1963
1963
|
maxRows: 3,
|
|
1964
1964
|
currentPage: 0,
|
|
1965
1965
|
totalPages: 2
|
|
1966
|
-
},
|
|
1966
|
+
}, Nn = {
|
|
1967
1967
|
columns: 12,
|
|
1968
1968
|
rowHeight: 120,
|
|
1969
1969
|
gap: 15,
|
|
@@ -1974,7 +1974,7 @@ const vn = [
|
|
|
1974
1974
|
function he(e) {
|
|
1975
1975
|
return W.createElement("span", { style: { fontSize: 14 } }, e);
|
|
1976
1976
|
}
|
|
1977
|
-
const
|
|
1977
|
+
const Cn = [
|
|
1978
1978
|
{
|
|
1979
1979
|
id: "all-orders",
|
|
1980
1980
|
type: "orders",
|
|
@@ -1997,7 +1997,7 @@ const Nn = [
|
|
|
1997
1997
|
icon: he("🚚"),
|
|
1998
1998
|
closable: !0
|
|
1999
1999
|
}
|
|
2000
|
-
],
|
|
2000
|
+
], _n = [
|
|
2001
2001
|
{
|
|
2002
2002
|
id: "orders-main",
|
|
2003
2003
|
type: "orders",
|
|
@@ -2031,7 +2031,7 @@ const Nn = [
|
|
|
2031
2031
|
closable: !1,
|
|
2032
2032
|
autoCreated: !0
|
|
2033
2033
|
}
|
|
2034
|
-
],
|
|
2034
|
+
], xn = [
|
|
2035
2035
|
{ id: "tab-1", type: "orders", name: "All Orders", closable: !1, autoCreated: !0 },
|
|
2036
2036
|
{ id: "tab-2", type: "orders", name: "Open Orders", closable: !0 },
|
|
2037
2037
|
{ id: "tab-3", type: "orders", name: "Shipped Orders", closable: !0 },
|
|
@@ -2346,7 +2346,7 @@ function Qt() {
|
|
|
2346
2346
|
}
|
|
2347
2347
|
);
|
|
2348
2348
|
}
|
|
2349
|
-
function
|
|
2349
|
+
function Sn({
|
|
2350
2350
|
state: e,
|
|
2351
2351
|
originX: t,
|
|
2352
2352
|
originY: n,
|
|
@@ -2362,7 +2362,7 @@ function xn({
|
|
|
2362
2362
|
style: u
|
|
2363
2363
|
}) {
|
|
2364
2364
|
if (e === "hidden") return null;
|
|
2365
|
-
const m = Math.max(0, r - a), h = Math.max(0, f - c),
|
|
2365
|
+
const m = Math.max(0, r - a), h = Math.max(0, f - c), _ = {
|
|
2366
2366
|
"--gloss-resize-envelope-enter-ms": `${d}ms`,
|
|
2367
2367
|
"--gloss-resize-envelope-exit-ms": `${g}ms`,
|
|
2368
2368
|
"--gloss-resize-envelope-origin-x": `${t - a}px`,
|
|
@@ -2379,7 +2379,7 @@ function xn({
|
|
|
2379
2379
|
className: ["gloss-resize-envelope", `gloss-resize-envelope--state-${e}`, w].filter(Boolean).join(" "),
|
|
2380
2380
|
"data-state": e,
|
|
2381
2381
|
"data-testid": "gloss-resize-envelope",
|
|
2382
|
-
style:
|
|
2382
|
+
style: _,
|
|
2383
2383
|
"aria-hidden": "true",
|
|
2384
2384
|
children: [
|
|
2385
2385
|
/* @__PURE__ */ l(
|
|
@@ -2419,7 +2419,7 @@ function xn({
|
|
|
2419
2419
|
}
|
|
2420
2420
|
);
|
|
2421
2421
|
}
|
|
2422
|
-
function
|
|
2422
|
+
function Mn({
|
|
2423
2423
|
density: e,
|
|
2424
2424
|
canAccept: t,
|
|
2425
2425
|
blocked: n = !1,
|
|
@@ -2452,7 +2452,7 @@ function Xt(e, t, n, a) {
|
|
|
2452
2452
|
const r = (e + n) / 2, s = Math.min(t, a) - 40;
|
|
2453
2453
|
return `M${e},${t} Q${r},${s} ${n},${a}`;
|
|
2454
2454
|
}
|
|
2455
|
-
function
|
|
2455
|
+
function Tn({
|
|
2456
2456
|
segments: e,
|
|
2457
2457
|
durationMs: t = ae.spilloverArcDurationMs,
|
|
2458
2458
|
staggerMs: n = ae.spilloverStaggerMs,
|
|
@@ -2483,7 +2483,7 @@ function Mn({
|
|
|
2483
2483
|
}
|
|
2484
2484
|
);
|
|
2485
2485
|
}
|
|
2486
|
-
function
|
|
2486
|
+
function Rn({
|
|
2487
2487
|
state: e,
|
|
2488
2488
|
staggerIndex: t = 0,
|
|
2489
2489
|
fadeInMs: n = ae.sectionDividerFadeInMs,
|
|
@@ -2517,7 +2517,7 @@ function Tn({
|
|
|
2517
2517
|
}
|
|
2518
2518
|
);
|
|
2519
2519
|
}
|
|
2520
|
-
function
|
|
2520
|
+
function In({
|
|
2521
2521
|
enabled: e,
|
|
2522
2522
|
onPack: t,
|
|
2523
2523
|
ariaLabel: n = "Pack row (shift cards left)",
|
|
@@ -2539,7 +2539,7 @@ function Rn({
|
|
|
2539
2539
|
}
|
|
2540
2540
|
) });
|
|
2541
2541
|
}
|
|
2542
|
-
function
|
|
2542
|
+
function Pn({
|
|
2543
2543
|
tint: e,
|
|
2544
2544
|
colSpan: t,
|
|
2545
2545
|
colWidth: n,
|
|
@@ -2567,7 +2567,8 @@ function In({
|
|
|
2567
2567
|
}
|
|
2568
2568
|
);
|
|
2569
2569
|
}
|
|
2570
|
-
|
|
2570
|
+
const Jt = 3;
|
|
2571
|
+
function Fn({
|
|
2571
2572
|
cell: e,
|
|
2572
2573
|
colSpan: t,
|
|
2573
2574
|
colWidth: n,
|
|
@@ -2576,7 +2577,7 @@ function Pn({
|
|
|
2576
2577
|
transitionMs: s = 120,
|
|
2577
2578
|
className: o
|
|
2578
2579
|
}) {
|
|
2579
|
-
const c = t * n + (t - 1) * a,
|
|
2580
|
+
const c = t * n + (t - 1) * a, d = (e.section * Jt + e.col) * (n + a), g = e.row * (r + a);
|
|
2580
2581
|
return /* @__PURE__ */ l(
|
|
2581
2582
|
"div",
|
|
2582
2583
|
{
|
|
@@ -2584,7 +2585,7 @@ function Pn({
|
|
|
2584
2585
|
"data-testid": "gloss-snap-outline",
|
|
2585
2586
|
"aria-hidden": "true",
|
|
2586
2587
|
style: {
|
|
2587
|
-
transform: `translate(${
|
|
2588
|
+
transform: `translate(${d}px, ${g}px)`,
|
|
2588
2589
|
width: c,
|
|
2589
2590
|
height: r,
|
|
2590
2591
|
transition: `transform ${s}ms cubic-bezier(0.4, 0, 0.2, 1)`
|
|
@@ -2592,7 +2593,7 @@ function Pn({
|
|
|
2592
2593
|
}
|
|
2593
2594
|
);
|
|
2594
2595
|
}
|
|
2595
|
-
function
|
|
2596
|
+
function En({
|
|
2596
2597
|
items: e,
|
|
2597
2598
|
children: t,
|
|
2598
2599
|
className: n
|
|
@@ -2618,7 +2619,7 @@ const ee = {
|
|
|
2618
2619
|
"gloss-inline-nudge__btn--action": "_gloss-inline-nudge__btn--action_kdk88_88",
|
|
2619
2620
|
"gloss-inline-nudge__btn--dismiss": "_gloss-inline-nudge__btn--dismiss_kdk88_96"
|
|
2620
2621
|
};
|
|
2621
|
-
function
|
|
2622
|
+
function ea({
|
|
2622
2623
|
message: e,
|
|
2623
2624
|
primaryAction: t,
|
|
2624
2625
|
onDismiss: n,
|
|
@@ -2679,11 +2680,11 @@ function Jt({
|
|
|
2679
2680
|
}
|
|
2680
2681
|
);
|
|
2681
2682
|
}
|
|
2682
|
-
|
|
2683
|
+
ea.displayName = "InlineNudge";
|
|
2683
2684
|
function Ne(e) {
|
|
2684
2685
|
return e.colorToken ? `var(--gloss-color-${e.colorToken}, ${e.color ?? "#888"})` : e.color ?? "#888";
|
|
2685
2686
|
}
|
|
2686
|
-
function
|
|
2687
|
+
function ta(e, t, n) {
|
|
2687
2688
|
if (n <= t) {
|
|
2688
2689
|
const o = e[0], c = o ? Ne(o) : "#888";
|
|
2689
2690
|
return `linear-gradient(to right, ${c}, ${c})`;
|
|
@@ -2694,10 +2695,10 @@ function ea(e, t, n) {
|
|
|
2694
2695
|
});
|
|
2695
2696
|
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(", ")})`;
|
|
2696
2697
|
}
|
|
2697
|
-
function
|
|
2698
|
+
function aa(e) {
|
|
2698
2699
|
return e.map((t) => `${t.id}:${t.value}`).join("|");
|
|
2699
2700
|
}
|
|
2700
|
-
function
|
|
2701
|
+
function na({
|
|
2701
2702
|
stops: e,
|
|
2702
2703
|
onChange: t,
|
|
2703
2704
|
min: n = 0,
|
|
@@ -2710,11 +2711,11 @@ function aa({
|
|
|
2710
2711
|
), 0.01) : r, c = y(
|
|
2711
2712
|
(i) => Math.round(i / o) * o,
|
|
2712
2713
|
[o]
|
|
2713
|
-
), f = T(null), [d, g] = G(null), [w, u] = G(e), m =
|
|
2714
|
+
), f = T(null), [d, g] = G(null), [w, u] = G(e), m = aa(e), h = T(m);
|
|
2714
2715
|
L(() => {
|
|
2715
2716
|
h.current !== m && (h.current = m, !d && u(e));
|
|
2716
2717
|
}, [m, e, d]);
|
|
2717
|
-
const
|
|
2718
|
+
const _ = ie(() => ta(w, n, a), [w, n, a]), p = y(
|
|
2718
2719
|
(i) => {
|
|
2719
2720
|
if (!f.current) return n;
|
|
2720
2721
|
const b = f.current.getBoundingClientRect(), D = b.width || 1, x = Math.max(0, Math.min(1, (i - b.left) / D)), v = n + x * (a - n);
|
|
@@ -2741,11 +2742,11 @@ function aa({
|
|
|
2741
2742
|
const i = (D) => {
|
|
2742
2743
|
const x = p(D.clientX);
|
|
2743
2744
|
u(
|
|
2744
|
-
(v) => v.map((
|
|
2745
|
+
(v) => v.map((k) => k.id === d ? { ...k, value: x } : k)
|
|
2745
2746
|
);
|
|
2746
2747
|
}, b = (D) => {
|
|
2747
2748
|
const x = p(D.clientX), v = I.current.map(
|
|
2748
|
-
(
|
|
2749
|
+
(k) => k.id === d ? { ...k, value: x } : k
|
|
2749
2750
|
);
|
|
2750
2751
|
u(v), g(null), C.current(v);
|
|
2751
2752
|
};
|
|
@@ -2779,7 +2780,7 @@ function aa({
|
|
|
2779
2780
|
return;
|
|
2780
2781
|
}
|
|
2781
2782
|
i.preventDefault();
|
|
2782
|
-
const
|
|
2783
|
+
const k = Math.max(n, Math.min(a, v)), P = c(k);
|
|
2783
2784
|
if (P === b.value) return;
|
|
2784
2785
|
const H = w.map(
|
|
2785
2786
|
(U) => U.id === b.id ? { ...U, value: P } : U
|
|
@@ -2793,7 +2794,7 @@ function aa({
|
|
|
2793
2794
|
{
|
|
2794
2795
|
ref: f,
|
|
2795
2796
|
className: "gloss-threshold-ramp__track",
|
|
2796
|
-
style: { background:
|
|
2797
|
+
style: { background: _ },
|
|
2797
2798
|
children: w.map((i) => {
|
|
2798
2799
|
const b = (i.value - n) / M * 100;
|
|
2799
2800
|
return /* @__PURE__ */ l(
|
|
@@ -2822,13 +2823,13 @@ function aa({
|
|
|
2822
2823
|
}
|
|
2823
2824
|
) });
|
|
2824
2825
|
}
|
|
2825
|
-
|
|
2826
|
+
na.displayName = "ThresholdRamp";
|
|
2826
2827
|
const We = tt(null);
|
|
2827
|
-
function
|
|
2828
|
+
function ra() {
|
|
2828
2829
|
return at(We);
|
|
2829
2830
|
}
|
|
2830
|
-
function
|
|
2831
|
-
const t =
|
|
2831
|
+
function sa({ option: e }) {
|
|
2832
|
+
const t = ra(), n = t?.isSelected(e.value) ?? !1, a = e.disabled || t?.groupDisabled, r = y(() => {
|
|
2832
2833
|
a || t?.select(e.value);
|
|
2833
2834
|
}, [a, t, e.value]), s = y(
|
|
2834
2835
|
(d) => {
|
|
@@ -2857,7 +2858,7 @@ function ra({ option: e }) {
|
|
|
2857
2858
|
}
|
|
2858
2859
|
);
|
|
2859
2860
|
}
|
|
2860
|
-
function
|
|
2861
|
+
function oa({
|
|
2861
2862
|
swatches: e,
|
|
2862
2863
|
value: t,
|
|
2863
2864
|
defaultValue: n,
|
|
@@ -2875,7 +2876,7 @@ function sa({
|
|
|
2875
2876
|
[d]
|
|
2876
2877
|
), u = T(/* @__PURE__ */ new Map()), m = y((C, M) => {
|
|
2877
2878
|
M ? u.current.set(C, M) : u.current.delete(C);
|
|
2878
|
-
}, []), h = e.filter((C) => !C.disabled && !r),
|
|
2879
|
+
}, []), h = e.filter((C) => !C.disabled && !r), _ = h.find((C) => C.value === d)?.value ?? h[0]?.value, p = y((C) => {
|
|
2879
2880
|
const M = u.current.get(C);
|
|
2880
2881
|
M && M.focus();
|
|
2881
2882
|
}, []), S = y(
|
|
@@ -2920,7 +2921,7 @@ function sa({
|
|
|
2920
2921
|
groupDisabled: r,
|
|
2921
2922
|
name: s,
|
|
2922
2923
|
registerRef: m,
|
|
2923
|
-
firstFocusableValue:
|
|
2924
|
+
firstFocusableValue: _,
|
|
2924
2925
|
onKeyNav: S
|
|
2925
2926
|
};
|
|
2926
2927
|
return /* @__PURE__ */ l(We.Provider, { value: I, children: /* @__PURE__ */ l(
|
|
@@ -2931,11 +2932,11 @@ function sa({
|
|
|
2931
2932
|
"aria-label": s,
|
|
2932
2933
|
"aria-disabled": r,
|
|
2933
2934
|
"data-disabled": r || void 0,
|
|
2934
|
-
children: e.map((C) => /* @__PURE__ */ l(
|
|
2935
|
+
children: e.map((C) => /* @__PURE__ */ l(sa, { option: C }, C.value))
|
|
2935
2936
|
}
|
|
2936
2937
|
) });
|
|
2937
2938
|
}
|
|
2938
|
-
|
|
2939
|
+
oa.displayName = "PresetSwatchRow";
|
|
2939
2940
|
function Ce(e, t) {
|
|
2940
2941
|
for (const n of e)
|
|
2941
2942
|
if (n.items.some((a) => a.id === t))
|
|
@@ -2946,14 +2947,14 @@ function Oe(e, t) {
|
|
|
2946
2947
|
const n = e.find((a) => a.zoneKey === t);
|
|
2947
2948
|
return n ? n.zoneKey : Ce(e, t);
|
|
2948
2949
|
}
|
|
2949
|
-
function
|
|
2950
|
+
function ia(e, t, n) {
|
|
2950
2951
|
const a = [...e], [r] = a.splice(t, 1);
|
|
2951
2952
|
return a.splice(n, 0, r), a;
|
|
2952
2953
|
}
|
|
2953
|
-
function
|
|
2954
|
+
function la(e) {
|
|
2954
2955
|
return e.map((t) => `${t.zoneKey}:${t.items.map((n) => n.id).join(",")}`).join("|");
|
|
2955
2956
|
}
|
|
2956
|
-
function
|
|
2957
|
+
function ca(e) {
|
|
2957
2958
|
const [t, n] = G(
|
|
2958
2959
|
() => e.zones.map((p) => p.maxItems !== void 0 && p.items.length > p.maxItems ? (process.env.NODE_ENV !== "production" && console.warn(
|
|
2959
2960
|
`useSortableZones: zone "${p.zoneKey}" exceeds maxItems (${p.items.length} > ${p.maxItems}); trimming to cap.`
|
|
@@ -2961,7 +2962,7 @@ function la(e) {
|
|
|
2961
2962
|
), [a, r] = G(null), [s, o] = G(null), c = T(null), f = T(e.onZoneChange);
|
|
2962
2963
|
f.current = e.onZoneChange;
|
|
2963
2964
|
const d = ie(
|
|
2964
|
-
() =>
|
|
2965
|
+
() => la(e.zones),
|
|
2965
2966
|
[e.zones]
|
|
2966
2967
|
), g = T(d);
|
|
2967
2968
|
L(() => {
|
|
@@ -3011,14 +3012,14 @@ function la(e) {
|
|
|
3011
3012
|
}
|
|
3012
3013
|
let i = t.map((b) => ({ ...b, items: [...b.items] }));
|
|
3013
3014
|
if (M === R) {
|
|
3014
|
-
const b = i.findIndex((P) => P.zoneKey === M), D = i[b], x = D.items.findIndex((P) => P.id === S.id), v = D.items.findIndex((P) => P.id === I.id),
|
|
3015
|
+
const b = i.findIndex((P) => P.zoneKey === M), D = i[b], x = D.items.findIndex((P) => P.id === S.id), v = D.items.findIndex((P) => P.id === I.id), k = v >= 0 ? v : Math.max(0, D.items.length - 1);
|
|
3015
3016
|
i[b] = {
|
|
3016
3017
|
...D,
|
|
3017
|
-
items:
|
|
3018
|
+
items: ia(D.items, x, k)
|
|
3018
3019
|
};
|
|
3019
3020
|
} else {
|
|
3020
|
-
const b = i.findIndex((A) => A.zoneKey === M), D = i.findIndex((A) => A.zoneKey === R), x = i[b], v = i[D],
|
|
3021
|
-
if (!
|
|
3021
|
+
const b = i.findIndex((A) => A.zoneKey === M), D = i.findIndex((A) => A.zoneKey === R), x = i[b], v = i[D], k = x.items.find((A) => A.id === S.id);
|
|
3022
|
+
if (!k) {
|
|
3022
3023
|
C();
|
|
3023
3024
|
return;
|
|
3024
3025
|
}
|
|
@@ -3030,7 +3031,7 @@ function la(e) {
|
|
|
3030
3031
|
}
|
|
3031
3032
|
const $ = Math.min(U, K.length), V = [
|
|
3032
3033
|
...K.slice(0, $),
|
|
3033
|
-
|
|
3034
|
+
k,
|
|
3034
3035
|
...K.slice($)
|
|
3035
3036
|
];
|
|
3036
3037
|
i[b] = { ...x, items: j }, i[D] = { ...v, items: V };
|
|
@@ -3044,7 +3045,7 @@ function la(e) {
|
|
|
3044
3045
|
"data-zone-key": p
|
|
3045
3046
|
}),
|
|
3046
3047
|
[]
|
|
3047
|
-
),
|
|
3048
|
+
), _ = y(
|
|
3048
3049
|
(p) => {
|
|
3049
3050
|
const S = Ce(t, p.id) ?? "";
|
|
3050
3051
|
return {
|
|
@@ -3060,14 +3061,14 @@ function la(e) {
|
|
|
3060
3061
|
activeZone: s,
|
|
3061
3062
|
activeItem: a,
|
|
3062
3063
|
getZoneProps: h,
|
|
3063
|
-
getItemProps:
|
|
3064
|
+
getItemProps: _,
|
|
3064
3065
|
handleDragStart: w,
|
|
3065
3066
|
handleDragOver: u,
|
|
3066
3067
|
handleDragEnd: m
|
|
3067
3068
|
};
|
|
3068
3069
|
}
|
|
3069
3070
|
let se = null, de = null, be = !1;
|
|
3070
|
-
const
|
|
3071
|
+
const da = [
|
|
3071
3072
|
"DndContext",
|
|
3072
3073
|
"DragOverlay",
|
|
3073
3074
|
"useSensors",
|
|
@@ -3076,21 +3077,21 @@ const ca = [
|
|
|
3076
3077
|
"PointerSensor",
|
|
3077
3078
|
"KeyboardSensor",
|
|
3078
3079
|
"closestCenter"
|
|
3079
|
-
],
|
|
3080
|
+
], ua = [
|
|
3080
3081
|
"SortableContext",
|
|
3081
3082
|
"useSortable",
|
|
3082
3083
|
"verticalListSortingStrategy"
|
|
3083
3084
|
];
|
|
3084
|
-
function
|
|
3085
|
+
function ma(e, t) {
|
|
3085
3086
|
const n = [], a = e ?? {};
|
|
3086
|
-
for (const s of
|
|
3087
|
+
for (const s of da)
|
|
3087
3088
|
a[s] === void 0 && n.push(`@dnd-kit/core:${s}`);
|
|
3088
3089
|
const r = t ?? {};
|
|
3089
|
-
for (const s of
|
|
3090
|
+
for (const s of ua)
|
|
3090
3091
|
r[s] === void 0 && n.push(`@dnd-kit/sortable:${s}`);
|
|
3091
3092
|
return n.length === 0 ? { ok: !0 } : { ok: !1, missing: n };
|
|
3092
3093
|
}
|
|
3093
|
-
function
|
|
3094
|
+
function ga() {
|
|
3094
3095
|
return se ? Promise.resolve(se) : be ? Promise.resolve(null) : de || (de = (async () => {
|
|
3095
3096
|
try {
|
|
3096
3097
|
const [e, t, n] = await Promise.all([
|
|
@@ -3099,7 +3100,7 @@ function ma() {
|
|
|
3099
3100
|
import("@dnd-kit/utilities").catch(() => (process.env.NODE_ENV !== "production" && console.warn(
|
|
3100
3101
|
"SortableZones: @dnd-kit/utilities failed to load; drag-overlay positioning will fall back (items may teleport instead of slide)."
|
|
3101
3102
|
), {}))
|
|
3102
|
-
]), a =
|
|
3103
|
+
]), a = ma(e, t);
|
|
3103
3104
|
return a.ok ? (se = {
|
|
3104
3105
|
core: e,
|
|
3105
3106
|
sortable: t,
|
|
@@ -3112,12 +3113,12 @@ function ma() {
|
|
|
3112
3113
|
}
|
|
3113
3114
|
})(), de);
|
|
3114
3115
|
}
|
|
3115
|
-
function
|
|
3116
|
-
const { zones: t, onZoneChange: n, renderZone: a, renderItem: r, renderDragOverlay: s } = e, o =
|
|
3116
|
+
function pa(e) {
|
|
3117
|
+
const { zones: t, onZoneChange: n, renderZone: a, renderItem: r, renderDragOverlay: s } = e, o = ca({ zones: t, onZoneChange: n }), [c, f] = W.useState(se);
|
|
3117
3118
|
return W.useEffect(() => {
|
|
3118
3119
|
if (c) return;
|
|
3119
3120
|
let d = !0;
|
|
3120
|
-
return
|
|
3121
|
+
return ga().then((g) => {
|
|
3121
3122
|
d && f(g);
|
|
3122
3123
|
}), () => {
|
|
3123
3124
|
d = !1;
|
|
@@ -3136,7 +3137,7 @@ function ga(e) {
|
|
|
3136
3137
|
return /* @__PURE__ */ l("div", { ...o.getZoneProps(d.zoneKey), children: a(d.zoneKey, d.items, g) }, d.zoneKey);
|
|
3137
3138
|
}) });
|
|
3138
3139
|
}
|
|
3139
|
-
|
|
3140
|
+
pa.displayName = "SortableZones";
|
|
3140
3141
|
function He({
|
|
3141
3142
|
state: e,
|
|
3142
3143
|
modules: t,
|
|
@@ -3144,7 +3145,7 @@ function He({
|
|
|
3144
3145
|
renderItem: a,
|
|
3145
3146
|
renderDragOverlay: r
|
|
3146
3147
|
}) {
|
|
3147
|
-
const { core: s, sortable: o, utilities: c } = t, { DndContext: f, DragOverlay: d, useSensors: g, useSensor: w, useDroppable: u, PointerSensor: m, KeyboardSensor: h, closestCenter:
|
|
3148
|
+
const { core: s, sortable: o, utilities: c } = t, { DndContext: f, DragOverlay: d, useSensors: g, useSensor: w, useDroppable: u, PointerSensor: m, KeyboardSensor: h, closestCenter: _ } = s, { SortableContext: p, verticalListSortingStrategy: S } = o, I = g(
|
|
3148
3149
|
w(m, { activationConstraint: { distance: 5 } }),
|
|
3149
3150
|
w(h)
|
|
3150
3151
|
), C = f, M = d, R = p;
|
|
@@ -3152,7 +3153,7 @@ function He({
|
|
|
3152
3153
|
C,
|
|
3153
3154
|
{
|
|
3154
3155
|
sensors: I,
|
|
3155
|
-
collisionDetection:
|
|
3156
|
+
collisionDetection: _,
|
|
3156
3157
|
onDragStart: e.handleDragStart,
|
|
3157
3158
|
onDragOver: e.handleDragOver,
|
|
3158
3159
|
onDragEnd: e.handleDragEnd,
|
|
@@ -3204,7 +3205,7 @@ function je({
|
|
|
3204
3205
|
return /* @__PURE__ */ l("div", { ref: r, "data-zone-is-over": s || void 0, ...t, children: a });
|
|
3205
3206
|
}
|
|
3206
3207
|
je.displayName = "ZoneDroppable";
|
|
3207
|
-
function
|
|
3208
|
+
function On({
|
|
3208
3209
|
slotLeft: e,
|
|
3209
3210
|
slotCenter: t,
|
|
3210
3211
|
slotRight: n,
|
|
@@ -3254,7 +3255,7 @@ function En({
|
|
|
3254
3255
|
}
|
|
3255
3256
|
);
|
|
3256
3257
|
}
|
|
3257
|
-
function
|
|
3258
|
+
function An({
|
|
3258
3259
|
count: e,
|
|
3259
3260
|
currentIndex: t,
|
|
3260
3261
|
onSelect: n,
|
|
@@ -3307,324 +3308,324 @@ function On({
|
|
|
3307
3308
|
}
|
|
3308
3309
|
);
|
|
3309
3310
|
}
|
|
3310
|
-
const
|
|
3311
|
+
const fa = W.forwardRef(({ density: e = "compact", children: t, ...n }, a) => {
|
|
3311
3312
|
const r = { ...n };
|
|
3312
|
-
return delete r.className, delete r.style, /* @__PURE__ */ l("div", { ref: a, className: "gloss-container-toolbar", role: "toolbar", ...r, children: /* @__PURE__ */ l(
|
|
3313
|
+
return delete r.className, delete r.style, /* @__PURE__ */ l("div", { ref: a, className: "gloss-container-toolbar", role: "toolbar", ...r, children: /* @__PURE__ */ l(_e, { region: "toolbar", density: e, children: t }) });
|
|
3313
3314
|
});
|
|
3314
|
-
|
|
3315
|
-
const
|
|
3315
|
+
fa.displayName = "ContainerToolbar";
|
|
3316
|
+
const ha = W.forwardRef(({ legend: e, description: t, density: n = "default", children: a, ...r }, s) => {
|
|
3316
3317
|
const o = { ...r };
|
|
3317
3318
|
return delete o.className, delete o.style, /* @__PURE__ */ O("fieldset", { ref: s, className: "gloss-container-form-section", ...o, children: [
|
|
3318
3319
|
e && /* @__PURE__ */ l("legend", { className: "gloss-container-form-section__legend", children: e }),
|
|
3319
3320
|
t && /* @__PURE__ */ l("p", { className: "gloss-container-form-section__description", children: t }),
|
|
3320
|
-
/* @__PURE__ */ l(
|
|
3321
|
+
/* @__PURE__ */ l(_e, { region: "form-section", density: n, children: a })
|
|
3321
3322
|
] });
|
|
3322
3323
|
});
|
|
3323
|
-
|
|
3324
|
-
const
|
|
3324
|
+
ha.displayName = "ContainerFormSection";
|
|
3325
|
+
const ba = W.forwardRef(({ density: e = "compact", children: t, ...n }, a) => {
|
|
3325
3326
|
const r = { ...n };
|
|
3326
|
-
return delete r.className, delete r.style, /* @__PURE__ */ l("div", { ref: a, className: "gloss-container-table", ...r, children: /* @__PURE__ */ l(
|
|
3327
|
+
return delete r.className, delete r.style, /* @__PURE__ */ l("div", { ref: a, className: "gloss-container-table", ...r, children: /* @__PURE__ */ l(_e, { region: "table", density: e, children: t }) });
|
|
3327
3328
|
});
|
|
3328
|
-
|
|
3329
|
+
ba.displayName = "ContainerTable";
|
|
3329
3330
|
export {
|
|
3330
|
-
|
|
3331
|
-
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
|
|
3335
|
-
|
|
3336
|
-
|
|
3337
|
-
|
|
3338
|
-
|
|
3339
|
-
|
|
3340
|
-
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
|
|
3350
|
-
|
|
3351
|
-
|
|
3352
|
-
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
|
|
3356
|
-
|
|
3357
|
-
|
|
3358
|
-
|
|
3359
|
-
|
|
3360
|
-
|
|
3361
|
-
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
|
|
3368
|
-
|
|
3369
|
-
|
|
3370
|
-
|
|
3371
|
-
|
|
3331
|
+
Bn as Accordion,
|
|
3332
|
+
zn as AccordionContent,
|
|
3333
|
+
Kn as AccordionItem,
|
|
3334
|
+
Gn as AccordionTrigger,
|
|
3335
|
+
Wn as ActionStrip,
|
|
3336
|
+
Hn as Actionable,
|
|
3337
|
+
Vn as AddressGroup,
|
|
3338
|
+
jn as AddressSelect,
|
|
3339
|
+
Un as AsyncLoader,
|
|
3340
|
+
Zn as Autocomplete,
|
|
3341
|
+
Yn as Badge,
|
|
3342
|
+
qn as BarChartCard,
|
|
3343
|
+
Qn as BarsBg,
|
|
3344
|
+
On as BottomToolbar,
|
|
3345
|
+
Xn as Button,
|
|
3346
|
+
Jn as ButtonGroup,
|
|
3347
|
+
er as ButtonGroupContext,
|
|
3348
|
+
tr as Card,
|
|
3349
|
+
ar as CardActions,
|
|
3350
|
+
nr as CardBack,
|
|
3351
|
+
rr as CardBody,
|
|
3352
|
+
sr as CardFooter,
|
|
3353
|
+
or as CardHeader,
|
|
3354
|
+
ir as CardMedia,
|
|
3355
|
+
lr as CardShell,
|
|
3356
|
+
cr as CardSubtitle,
|
|
3357
|
+
dr as CardTitle,
|
|
3358
|
+
En as CascadePreview,
|
|
3359
|
+
ur as ChartControlBar,
|
|
3360
|
+
mr as Checkbox,
|
|
3361
|
+
gr as CheckboxGroup,
|
|
3362
|
+
pr as Chip,
|
|
3363
|
+
fr as ColorPicker,
|
|
3364
|
+
hr as ComparisonCard,
|
|
3365
|
+
br as ContactForm,
|
|
3366
|
+
vr as ContainerCard,
|
|
3367
|
+
yr as ContainerCardActions,
|
|
3368
|
+
wr as ContainerCardBody,
|
|
3369
|
+
Dr as ContainerCardFooter,
|
|
3370
|
+
Nr as ContainerCardHeader,
|
|
3371
|
+
Cr as ContainerCardMedia,
|
|
3372
|
+
_r as ContainerCardSubtitle,
|
|
3372
3373
|
kr as ContainerCardTitle,
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
|
|
3378
|
-
|
|
3379
|
-
|
|
3380
|
-
|
|
3381
|
-
|
|
3382
|
-
|
|
3374
|
+
xr as ContainerDialog,
|
|
3375
|
+
Sr as ContainerDialogActions,
|
|
3376
|
+
Mr as ContainerDialogBody,
|
|
3377
|
+
Tr as ContainerDialogHeader,
|
|
3378
|
+
ha as ContainerFormSection,
|
|
3379
|
+
Rr as ContainerPanel,
|
|
3380
|
+
ba as ContainerTable,
|
|
3381
|
+
fa as ContainerToolbar,
|
|
3382
|
+
Ir as CreditCardForm,
|
|
3383
|
+
Pr as DEFAULT_FOOTER_IDS,
|
|
3383
3384
|
ae as DEFAULT_GRID_INTERACTION_PHYSICS,
|
|
3384
|
-
|
|
3385
|
-
|
|
3386
|
-
|
|
3385
|
+
oi as DEFAULT_MARKET_PRESETS,
|
|
3386
|
+
Fr as DEFAULT_OVERFLOW_IDS,
|
|
3387
|
+
ii as DEFAULT_PINNED,
|
|
3387
3388
|
Le as DEFAULT_RESIZE_PHYSICS,
|
|
3388
|
-
|
|
3389
|
-
|
|
3390
|
-
|
|
3391
|
-
|
|
3389
|
+
Er as DataTable,
|
|
3390
|
+
Or as DatePicker,
|
|
3391
|
+
Ar as DateRangePicker,
|
|
3392
|
+
Lr as DestructiveModal,
|
|
3392
3393
|
qt as DevTuningPanel,
|
|
3393
|
-
|
|
3394
|
-
|
|
3395
|
-
|
|
3396
|
-
|
|
3397
|
-
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
|
|
3394
|
+
$r as DirectionCard,
|
|
3395
|
+
Br as Dismissible,
|
|
3396
|
+
zr as DistributionCard,
|
|
3397
|
+
Kr as DonutChart,
|
|
3398
|
+
Pn as DragGhost,
|
|
3399
|
+
Mn as DropAnchorCell,
|
|
3400
|
+
Gr as Dropdown,
|
|
3401
|
+
Wr as ENTITY_FILTER_KEYS,
|
|
3402
|
+
Hr as ENTITY_PROFILE_ROUTES,
|
|
3403
|
+
Vr as ENTITY_TYPE_PLURAL,
|
|
3403
3404
|
wt as EdgeHoverHandle,
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
|
|
3405
|
+
In as EmptyCellPackAffordance,
|
|
3406
|
+
jr as EntityPicker,
|
|
3407
|
+
Ur as EntitySearchPanel,
|
|
3408
|
+
Zr as Expandable,
|
|
3409
|
+
Yr as ExpandableChip,
|
|
3410
|
+
qr as FLIP_AND_STAGE_TIMINGS,
|
|
3411
|
+
Qr as FileUpload,
|
|
3412
|
+
Xr as FilterChip,
|
|
3413
|
+
Jr as FilterInput,
|
|
3414
|
+
es as FlipAndStageProvider,
|
|
3415
|
+
ts as Form,
|
|
3416
|
+
as as FormDialog,
|
|
3417
|
+
ns as FormField,
|
|
3418
|
+
rs as FusedShape,
|
|
3418
3419
|
Dt as GhostPreview,
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
|
|
3420
|
+
ss as GroupCheckbox,
|
|
3421
|
+
os as GroupRadio,
|
|
3422
|
+
Va as HARD_CLIP,
|
|
3423
|
+
is as HighlightCard,
|
|
3424
|
+
ls as HybridDatePicker,
|
|
3425
|
+
cs as ImportWizard,
|
|
3426
|
+
ea as InlineNudge,
|
|
3427
|
+
ds as Input,
|
|
3428
|
+
us as InputAddon,
|
|
3429
|
+
ms as InputGroup,
|
|
3430
|
+
gs as Link,
|
|
3431
|
+
ps as LoginForm,
|
|
3432
|
+
fs as MarketPresetRow,
|
|
3433
|
+
hs as MaskPresets,
|
|
3434
|
+
bs as MaskedInput,
|
|
3435
|
+
vs as Menu,
|
|
3436
|
+
ys as MenuDivider,
|
|
3437
|
+
ws as MenuGroup,
|
|
3438
|
+
Ds as MenuItem,
|
|
3439
|
+
Ns as MergePrompt,
|
|
3440
|
+
Cs as MetricCard,
|
|
3441
|
+
_s as MetricCardGrid,
|
|
3441
3442
|
Kt as MetricGroupContainer,
|
|
3442
3443
|
ks as MiniCalendar,
|
|
3443
|
-
|
|
3444
|
-
|
|
3445
|
-
|
|
3446
|
-
|
|
3447
|
-
|
|
3444
|
+
xs as MultiSelect,
|
|
3445
|
+
Ss as NumberInput,
|
|
3446
|
+
Ms as ObjectArrow,
|
|
3447
|
+
Ts as OrderFilterBar,
|
|
3448
|
+
li as PERIOD_OPTIONS,
|
|
3448
3449
|
Tt as PageChip,
|
|
3449
3450
|
$e as PageDropdown,
|
|
3450
|
-
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
|
|
3454
|
-
|
|
3455
|
-
|
|
3456
|
-
|
|
3457
|
-
|
|
3458
|
-
|
|
3451
|
+
Rs as PasswordInput,
|
|
3452
|
+
Is as PaymentForm,
|
|
3453
|
+
Ps as PaymentMethodSelect,
|
|
3454
|
+
Fs as PhoneInput,
|
|
3455
|
+
Es as PinToMetric,
|
|
3456
|
+
oa as PresetSwatchRow,
|
|
3457
|
+
Os as ProfileCard,
|
|
3458
|
+
As as ProgressCard,
|
|
3459
|
+
Ls as QuickConfigPanel,
|
|
3459
3460
|
At as RECONFIG_BACKSIDE_LABELS,
|
|
3460
|
-
|
|
3461
|
-
|
|
3462
|
-
|
|
3463
|
-
|
|
3464
|
-
|
|
3461
|
+
ci as ROLLING_OPTIONS,
|
|
3462
|
+
$s as Radio,
|
|
3463
|
+
Bs as RadioGroup,
|
|
3464
|
+
zs as RangeSlider,
|
|
3465
|
+
Ks as Rating,
|
|
3465
3466
|
Bt as ReconfigBacksideButtons,
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
|
|
3467
|
+
Gs as RegistrationForm,
|
|
3468
|
+
Sn as ResizeEnvelope,
|
|
3469
|
+
Ws as Row1Controls,
|
|
3470
|
+
Hs as Row2FilterTray,
|
|
3471
|
+
Vs as SearchInput,
|
|
3472
|
+
Rn as SectionDivider,
|
|
3473
|
+
An as SectionDots,
|
|
3474
|
+
js as SegmentCard,
|
|
3475
|
+
Us as SegmentedControl,
|
|
3476
|
+
Zs as Select,
|
|
3477
|
+
Ys as Selectable,
|
|
3478
|
+
qs as SimpleMetricCard,
|
|
3479
|
+
Qs as SimpleSelector,
|
|
3480
|
+
Xs as Skeleton,
|
|
3481
|
+
Js as SkeletonCard,
|
|
3482
|
+
eo as SkeletonChart,
|
|
3483
|
+
to as SkeletonTable,
|
|
3484
|
+
ao as Slider,
|
|
3485
|
+
Fn as SnapOutline,
|
|
3486
|
+
no as Sortable,
|
|
3487
|
+
pa as SortableZones,
|
|
3488
|
+
ro as SparklineBg,
|
|
3489
|
+
Tn as SpilloverArc,
|
|
3490
|
+
so as SplitButton,
|
|
3491
|
+
oo as StackedGroupCard,
|
|
3492
|
+
io as StatusModeCard,
|
|
3492
3493
|
yt as StatusSlotChipMenu,
|
|
3493
|
-
|
|
3494
|
+
lo as Stepper,
|
|
3494
3495
|
Ae as SwingReveal,
|
|
3495
|
-
|
|
3496
|
+
di as TODAY_PRESET,
|
|
3496
3497
|
te as TUNING_DEFAULTS,
|
|
3497
3498
|
Ge as TUNING_STORAGE_KEY,
|
|
3498
|
-
|
|
3499
|
-
|
|
3500
|
-
|
|
3501
|
-
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
|
|
3514
|
-
|
|
3499
|
+
co as TabGroup,
|
|
3500
|
+
uo as TabbedDataView,
|
|
3501
|
+
mo as TagInput,
|
|
3502
|
+
go as Textarea,
|
|
3503
|
+
na as ThresholdRamp,
|
|
3504
|
+
po as TimeFrame,
|
|
3505
|
+
fo as TimePicker,
|
|
3506
|
+
ho as Toggle,
|
|
3507
|
+
bo as Tooltip,
|
|
3508
|
+
vo as Transition,
|
|
3509
|
+
yo as TransitionGroup,
|
|
3510
|
+
wo as TrendCard,
|
|
3511
|
+
Do as TrendIndicator,
|
|
3512
|
+
ni as UIContext,
|
|
3513
|
+
_e as UIContextProvider,
|
|
3514
|
+
No as UnifiedBreakdownTable,
|
|
3515
|
+
Co as UnifiedContextMenu,
|
|
3515
3516
|
Nt as VelocityBuffer,
|
|
3516
|
-
|
|
3517
|
+
_o as addressGroupMetadata,
|
|
3517
3518
|
ko as addressSchema,
|
|
3518
|
-
|
|
3519
|
-
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
|
|
3535
|
-
|
|
3519
|
+
Ia as allChips,
|
|
3520
|
+
Qa as allStateFixtures,
|
|
3521
|
+
qa as allVariantFixtures,
|
|
3522
|
+
Oa as blockSamples,
|
|
3523
|
+
xo as buildDefaultOverflow,
|
|
3524
|
+
za as cardSamples,
|
|
3525
|
+
Ka as cascadePhysics,
|
|
3526
|
+
$a as chartSamples,
|
|
3527
|
+
La as circleSamples,
|
|
3528
|
+
ja as colorTokens,
|
|
3529
|
+
wn as compactLayout,
|
|
3530
|
+
cn as compactState,
|
|
3531
|
+
Ya as computeGutterAnchorX,
|
|
3532
|
+
So as contactFormMetadata,
|
|
3533
|
+
Mo as contactSchema,
|
|
3534
|
+
dn as contextMenuFixtures,
|
|
3535
|
+
To as creditCardFormMetadata,
|
|
3536
|
+
Ro as creditCardSchema,
|
|
3536
3537
|
ft as dateChip,
|
|
3537
3538
|
Ke as defaultControlBarState,
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
|
|
3539
|
+
Io as destructiveModalMetadata,
|
|
3540
|
+
Po as durations,
|
|
3541
|
+
Fo as easings,
|
|
3542
|
+
kt as emptyFixture,
|
|
3542
3543
|
gt as entityChip,
|
|
3543
3544
|
Ft as entityNameActions,
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
|
|
3563
|
-
|
|
3564
|
-
|
|
3565
|
-
|
|
3566
|
-
|
|
3567
|
-
|
|
3545
|
+
Fa as entityTabGroup,
|
|
3546
|
+
_t as errorFixture,
|
|
3547
|
+
ln as filteredState,
|
|
3548
|
+
ui as findPreset,
|
|
3549
|
+
mi as formatDateRange,
|
|
3550
|
+
gi as formatMarketDates,
|
|
3551
|
+
pi as formatTrend,
|
|
3552
|
+
fi as formatValue,
|
|
3553
|
+
Nn as fullLayout,
|
|
3554
|
+
hi as generateMarketId,
|
|
3555
|
+
Eo as generateTabId,
|
|
3556
|
+
bi as getAllPresets,
|
|
3557
|
+
vi as getDateRangeForPreset,
|
|
3558
|
+
Oo as getMenuActions,
|
|
3559
|
+
Ua as getMotionMode,
|
|
3560
|
+
yi as getPresetLabel,
|
|
3561
|
+
Ao as getTransitionStyle,
|
|
3562
|
+
yn as gridCards,
|
|
3563
|
+
Lo as interpolate,
|
|
3564
|
+
wi as isInRange,
|
|
3565
|
+
Di as isMarketActive,
|
|
3566
|
+
Ni as isSameDay,
|
|
3567
|
+
on as itemColumns,
|
|
3568
|
+
rn as itemRows,
|
|
3568
3569
|
Ct as loadingFixture,
|
|
3569
|
-
|
|
3570
|
-
|
|
3570
|
+
$o as loginFormMetadata,
|
|
3571
|
+
Bo as loginSchema,
|
|
3571
3572
|
ht as manufacturerChip,
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
|
|
3573
|
+
xn as manyTabs,
|
|
3574
|
+
zo as mergeHandlers,
|
|
3575
|
+
Ko as mergeRefs,
|
|
3576
|
+
Pa as metricTabGroup,
|
|
3577
|
+
_n as mixedTabs,
|
|
3578
|
+
Ci as normalizePresetId,
|
|
3578
3579
|
Ot as numericActions,
|
|
3579
|
-
|
|
3580
|
+
sn as orderColumns,
|
|
3580
3581
|
Et as orderIdActions,
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
|
|
3582
|
+
nn as orderRows,
|
|
3583
|
+
Cn as ordersTabs,
|
|
3584
|
+
Go as parseNumericValue,
|
|
3585
|
+
Wo as paymentFormMetadata,
|
|
3586
|
+
Ho as paymentSchema,
|
|
3587
|
+
Vo as presets,
|
|
3588
|
+
Wa as provisional,
|
|
3589
|
+
Ha as reducedMotion,
|
|
3590
|
+
jo as registrationFormMetadata,
|
|
3591
|
+
Uo as registrationSchema,
|
|
3592
|
+
Ga as rejectionFeedback,
|
|
3593
|
+
mn as sampleCompareRanges,
|
|
3594
|
+
fn as sampleCustomMarkets,
|
|
3595
|
+
un as sampleDateRange,
|
|
3596
|
+
hn as sampleMarketPresetData,
|
|
3597
|
+
pn as sampleMarkets,
|
|
3598
|
+
vn as samplePeriodPresets,
|
|
3599
|
+
gn as samplePreferences,
|
|
3600
|
+
bn as samplePresets,
|
|
3600
3601
|
kn as singleTab,
|
|
3601
|
-
|
|
3602
|
-
|
|
3602
|
+
Xa as sparklineFixture,
|
|
3603
|
+
Ja as sparklineUpFixture,
|
|
3603
3604
|
Mt as staleDonutFixture,
|
|
3604
3605
|
xt as staleFixture,
|
|
3605
3606
|
St as staleSparklineFixture,
|
|
3606
|
-
|
|
3607
|
-
|
|
3608
|
-
|
|
3609
|
-
|
|
3607
|
+
en as standardFixture,
|
|
3608
|
+
an as standardFlatFixture,
|
|
3609
|
+
Dn as standardLayout,
|
|
3610
|
+
tn as standardNegativeFixture,
|
|
3610
3611
|
pt as statusChip,
|
|
3611
3612
|
re as swingReveal,
|
|
3612
|
-
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
|
|
3626
|
-
|
|
3613
|
+
Ba as tableSamples,
|
|
3614
|
+
Aa as textSamples,
|
|
3615
|
+
Ea as timeFrameTabGroup,
|
|
3616
|
+
_i as toUppercasePresetId,
|
|
3617
|
+
Ra as useArrowNavigation,
|
|
3618
|
+
Zo as useCheckboxGroupContext,
|
|
3619
|
+
Za as useEdgeHoverResize,
|
|
3620
|
+
Yo as useFilterLayout,
|
|
3621
|
+
qo as useFlipAndStage,
|
|
3622
|
+
Qo as useFlipAndStageContext,
|
|
3623
|
+
Xo as useFlipAndStageContextOptional,
|
|
3624
|
+
Ta as useFocusReturn,
|
|
3625
|
+
Jo as useFocusTrap,
|
|
3626
|
+
ei as useFormContext,
|
|
3627
|
+
ti as useRadioGroupContext,
|
|
3627
3628
|
Ht as useResizeTuning,
|
|
3628
|
-
|
|
3629
|
-
|
|
3629
|
+
ca as useSortableZones,
|
|
3630
|
+
ri as useUIContext
|
|
3630
3631
|
};
|