@mt-gloss/ui 0.1.41 → 0.1.42
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 +429 -380
- package/lib/primitives/dashboard/CascadePreview/CascadePreview.d.ts +5 -0
- package/lib/primitives/dashboard/gridChannels.d.ts +66 -0
- package/lib/primitives/dashboard/gridInteractivePalette.d.ts +62 -0
- package/lib/primitives/dashboard/index.d.ts +2 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { C as pt } from "./Expandable-Cyncyopi.js";
|
|
2
|
-
import { O as
|
|
2
|
+
import { O as Tr, U as Mr, Q as Rr, T as Ir, a4 as Pr, b7 as Fr, aA as Er, ai as Ar, _ as Lr, ao as Or, L as $r, a9 as Br, bn as Kr, P as zr, B as Wr, a as Gr, z as Hr, J as Vr, bi as jr, H as Ur, K as Zr, D as qr, A as Yr, F as Qr, E as Xr, bx as Jr, b as es, c as ts, N as as, p as ns, ae as rs, aO as ss, z as is, J as os, H as ls, K as cs, D as ds, A as us, F as ms, E as gs, b0 as ps, b3 as hs, b2 as fs, b1 as vs, b4 as bs, aD as ys, a6 as ws, a5 as _s, ar as Ns, l as Ds, n as ks, aG as Cs, ac as xs, b9 as Ss, aa as Ts, bo as Ms, Z as Rs, bH as Is, bG as Ps, bI as Fs, aq as Es, aR as As, bb as Ls, bM as Os, bv as $s, o as Bs, an as Ks, bB as zs, bs as Ws, a1 as Gs, as as Hs, a3 as Vs, bA as js, G as Us, e as Zs, ab as qs, bJ as Ys, aU as Qs, s as Xs, w as Js, I as ei, h as ti, ax as ai, bN as ni, M as ri, x as si, V as ii, Y as oi, W as li, X as ci, at as di, bh as ui, bP as mi, bL as gi, ap as pi, v as hi, bp as fi, aT as vi, ak as bi, aL as yi, ah as wi, am as _i, av as Ni, aS as Di, ad as ki, au as Ci, d as xi, R as Si, k as Ti, q as Mi, aI as Ri, by as Ii, bz as Pi, aj as Fi, af as Ei, i as Ai, y as Li, b8 as Oi, ag as $i, bO as Bi, bd as Ki, bg as zi, be as Wi, bf as Gi, j as Hi, ba as Vi, bm as ji, S as Ui, bk as Zi, bl as qi, aw as Yi, bc as Qi, bQ as Xi, al as Ji, t as eo, bK as to, m as ao, g as no, r as ro, $ as so, a0 as io, a8 as oo, bj as lo, bw as co, bD as uo, aB as mo, aC as go, a7 as po, aP as ho, aQ as fo, aE as vo, aF as bo, aH as yo, aW as wo, aX as _o, bq as No, bF as Do, bE as ko, aZ as Co, a_ as xo, ay as So, az as To, b6 as Mo, b5 as Ro, a$ as Io, aM as Po, aN as Fo, aY as Eo, aJ as Ao, aK as Lo, u as Oo, bC as $o, br as Bo, bt as Ko, bu as zo, aV as Wo, a2 as Go, f as Ho } from "./Expandable-Cyncyopi.js";
|
|
3
3
|
import { jsxs as N, jsx as r, Fragment as te } from "react/jsx-runtime";
|
|
4
4
|
import * as ht from "react";
|
|
5
|
-
import
|
|
5
|
+
import V, { useRef as M, useEffect as L, useState as $, useCallback as w, useId as ft, forwardRef as vt, useMemo as ye, createContext as bt, useContext as yt } from "react";
|
|
6
6
|
import { motion as De, useMotionValue as wt, animate as We, useDragControls as _t } from "framer-motion";
|
|
7
7
|
import { B as Nt, a as pe, b as Re, U as Le } from "./UIContext-CDdyubSF.js";
|
|
8
|
-
import { c as
|
|
8
|
+
import { c as jo, u as Uo } from "./UIContext-CDdyubSF.js";
|
|
9
9
|
import { createPortal as Dt } from "react-dom";
|
|
10
|
-
import { DEFAULT_MARKET_PRESETS as
|
|
10
|
+
import { DEFAULT_MARKET_PRESETS as qo, DEFAULT_PINNED as Yo, PERIOD_OPTIONS as Qo, ROLLING_OPTIONS as Xo, TODAY_PRESET as Jo, findPreset as el, formatDateRange as tl, formatMarketDates as al, formatTrend as nl, formatValue as rl, generateMarketId as sl, getAllPresets as il, getDateRangeForPreset as ol, getPresetLabel as ll, isInRange as cl, isMarketActive as dl, isSameDay as ul, normalizePresetId as ml, toUppercasePresetId as gl } from "@mt-gloss/utils";
|
|
11
11
|
import kt from "@mui/icons-material/AccessTime";
|
|
12
12
|
import Ct from "@mui/icons-material/Tune";
|
|
13
13
|
import xt from "@mui/icons-material/ViewColumn";
|
|
14
14
|
import St from "@mui/icons-material/AspectRatio";
|
|
15
|
-
import
|
|
16
|
-
import
|
|
15
|
+
import Tt from "@mui/icons-material/Palette";
|
|
16
|
+
import Mt from "@mui/icons-material/PushPin";
|
|
17
17
|
function dn(e = {}) {
|
|
18
|
-
const { enabled: t = !0, returnTo: n } = e, a =
|
|
18
|
+
const { enabled: t = !0, returnTo: n } = e, a = M(null);
|
|
19
19
|
return L(() => {
|
|
20
20
|
t && (a.current = n || document.activeElement);
|
|
21
21
|
}, [t, n]), L(() => () => {
|
|
@@ -54,7 +54,7 @@ function un(e) {
|
|
|
54
54
|
), h = w(() => {
|
|
55
55
|
const c = D();
|
|
56
56
|
c.length > 0 && m(c[0]);
|
|
57
|
-
}, [D, m]),
|
|
57
|
+
}, [D, m]), T = w(() => {
|
|
58
58
|
const c = D();
|
|
59
59
|
c.length > 0 && m(c[c.length - 1]);
|
|
60
60
|
}, [D, m]), P = w(() => {
|
|
@@ -70,7 +70,7 @@ function un(e) {
|
|
|
70
70
|
if (!o) return;
|
|
71
71
|
const { key: v } = c, _ = v === "ArrowUp" && (s === "vertical" || s === "both"), S = v === "ArrowDown" && (s === "vertical" || s === "both"), b = v === "ArrowLeft" && (s === "horizontal" || s === "both"), x = v === "ArrowRight" && (s === "horizontal" || s === "both");
|
|
72
72
|
if (_ || b) {
|
|
73
|
-
c.preventDefault(), g === -1 ?
|
|
73
|
+
c.preventDefault(), g === -1 ? T() : C();
|
|
74
74
|
return;
|
|
75
75
|
}
|
|
76
76
|
if (S || x) {
|
|
@@ -82,7 +82,7 @@ function un(e) {
|
|
|
82
82
|
return;
|
|
83
83
|
}
|
|
84
84
|
if (v === "End") {
|
|
85
|
-
c.preventDefault(),
|
|
85
|
+
c.preventDefault(), T();
|
|
86
86
|
return;
|
|
87
87
|
}
|
|
88
88
|
if ((v === "Enter" || v === " ") && g >= 0 && g < t.length) {
|
|
@@ -102,7 +102,7 @@ function un(e) {
|
|
|
102
102
|
g,
|
|
103
103
|
t,
|
|
104
104
|
h,
|
|
105
|
-
|
|
105
|
+
T,
|
|
106
106
|
P,
|
|
107
107
|
C,
|
|
108
108
|
l,
|
|
@@ -115,7 +115,7 @@ function un(e) {
|
|
|
115
115
|
setFocusedIndex: m,
|
|
116
116
|
handleKeyDown: I,
|
|
117
117
|
focusFirst: h,
|
|
118
|
-
focusLast:
|
|
118
|
+
focusLast: T,
|
|
119
119
|
focusNext: P,
|
|
120
120
|
focusPrevious: C,
|
|
121
121
|
resetFocus: R
|
|
@@ -294,7 +294,7 @@ function Ot({
|
|
|
294
294
|
overflowActions: s,
|
|
295
295
|
onClose: o
|
|
296
296
|
}) {
|
|
297
|
-
const [l, u] = $(null), d =
|
|
297
|
+
const [l, u] = $(null), d = M(null), p = w(() => {
|
|
298
298
|
if (!t) return { ...Ge, top: 0, left: 0 };
|
|
299
299
|
const m = t.getBoundingClientRect();
|
|
300
300
|
return {
|
|
@@ -412,7 +412,7 @@ const Nn = {
|
|
|
412
412
|
validCellStroke: "var(--gloss-valid-cell-stroke)",
|
|
413
413
|
provisionalWash: "var(--gloss-provisional-wash)"
|
|
414
414
|
};
|
|
415
|
-
function
|
|
415
|
+
function Tn() {
|
|
416
416
|
if (typeof window > "u") return "full";
|
|
417
417
|
try {
|
|
418
418
|
return window.matchMedia("(prefers-reduced-motion: reduce)").matches ? "reduced" : "full";
|
|
@@ -511,7 +511,7 @@ function Bt({
|
|
|
511
511
|
);
|
|
512
512
|
}
|
|
513
513
|
Bt.displayName = "GhostPreview";
|
|
514
|
-
class
|
|
514
|
+
class Kt {
|
|
515
515
|
constructor() {
|
|
516
516
|
this.samples = [], this.capacity = 3;
|
|
517
517
|
}
|
|
@@ -576,7 +576,7 @@ const Xe = {
|
|
|
576
576
|
// Velocity multiplier (D-03b panel)
|
|
577
577
|
velocityMultiplier: 1
|
|
578
578
|
};
|
|
579
|
-
function
|
|
579
|
+
function Mn({
|
|
580
580
|
currentColSpan: e,
|
|
581
581
|
stackable: t,
|
|
582
582
|
onResize: n,
|
|
@@ -592,11 +592,11 @@ function Tn({
|
|
|
592
592
|
containerRef: g,
|
|
593
593
|
forceIdle: m
|
|
594
594
|
}) {
|
|
595
|
-
const [D, y] = $("idle"), [h,
|
|
595
|
+
const [D, y] = $("idle"), [h, T] = $(e), P = M(null), C = M(null), R = M(null), I = M(null), c = M(i), v = M(s), _ = M(f), S = M(0), b = M("idle");
|
|
596
596
|
L(() => {
|
|
597
597
|
b.current = D;
|
|
598
598
|
}, [D]);
|
|
599
|
-
const x = wt(0), F =
|
|
599
|
+
const x = wt(0), F = M(null), j = w(() => {
|
|
600
600
|
const k = F.current;
|
|
601
601
|
if (k) {
|
|
602
602
|
try {
|
|
@@ -611,7 +611,7 @@ function Tn({
|
|
|
611
611
|
return k * E + (k - 1) * A;
|
|
612
612
|
},
|
|
613
613
|
[]
|
|
614
|
-
),
|
|
614
|
+
), U = M(new Kt()), G = M(e);
|
|
615
615
|
L(() => {
|
|
616
616
|
G.current = h;
|
|
617
617
|
}, [h]);
|
|
@@ -635,63 +635,63 @@ function Tn({
|
|
|
635
635
|
}, u));
|
|
636
636
|
}, [Z, u]), oe = w(
|
|
637
637
|
(k, E, A) => {
|
|
638
|
-
const
|
|
638
|
+
const K = c.current, ee = K * B.snapInFraction, Y = K * B.snapOutFraction, z = E - A, H = Math.max(
|
|
639
639
|
A,
|
|
640
640
|
_.current ?? f
|
|
641
641
|
);
|
|
642
|
-
let W =
|
|
643
|
-
for (; A + W <
|
|
644
|
-
const ae = W *
|
|
642
|
+
let W = z;
|
|
643
|
+
for (; A + W < H; ) {
|
|
644
|
+
const ae = W * K + (W < 0 ? Y : ee);
|
|
645
645
|
if (k >= ae) W += 1;
|
|
646
646
|
else break;
|
|
647
647
|
}
|
|
648
|
-
if (W ===
|
|
648
|
+
if (W === z)
|
|
649
649
|
for (; A + W > 1; ) {
|
|
650
|
-
const ae = W *
|
|
650
|
+
const ae = W * K - (W > 0 ? Y : ee);
|
|
651
651
|
if (k <= ae) W -= 1;
|
|
652
652
|
else break;
|
|
653
653
|
}
|
|
654
|
-
return Math.min(
|
|
654
|
+
return Math.min(H, Math.max(1, A + W));
|
|
655
655
|
},
|
|
656
656
|
[B.snapInFraction, B.snapOutFraction, f]
|
|
657
657
|
), ct = w(
|
|
658
658
|
(k) => {
|
|
659
659
|
if (b.current !== "handle-visible") return;
|
|
660
|
-
|
|
660
|
+
j(), I.current = k.clientX, c.current = i, v.current = s, _.current = f;
|
|
661
661
|
const E = e * i + (e - 1) * s;
|
|
662
|
-
S.current = E,
|
|
662
|
+
S.current = E, U.current.clear(), U.current.push({ x: k.clientX, t: performance.now() }), x.jump(E), b.current = "dragging", y("dragging");
|
|
663
663
|
},
|
|
664
|
-
[i, s, f, e, x,
|
|
664
|
+
[i, s, f, e, x, j]
|
|
665
665
|
), Be = w(
|
|
666
666
|
(k) => k * c.current + (k - 1) * v.current,
|
|
667
667
|
[]
|
|
668
668
|
), ie = w(
|
|
669
669
|
(k, E) => {
|
|
670
|
-
const A = Be(k),
|
|
670
|
+
const A = Be(k), K = k !== e;
|
|
671
671
|
if (typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches) {
|
|
672
|
-
x.jump(A),
|
|
672
|
+
x.jump(A), K && E ? n({ direction: E, targetColSpan: k, mode: t ? "slot-fill" : "sparkline-fidelity" }) : K || a?.(), x.jump(0), b.current = "idle", y("idle");
|
|
673
673
|
return;
|
|
674
674
|
}
|
|
675
|
-
const Y =
|
|
676
|
-
b.current = "settling", y("settling"),
|
|
675
|
+
const Y = U.current.getWeightedVelocity() * B.velocityMultiplier;
|
|
676
|
+
b.current = "settling", y("settling"), j(), F.current = We(x, A, {
|
|
677
677
|
type: "spring",
|
|
678
678
|
stiffness: B.stiffness,
|
|
679
679
|
damping: B.damping,
|
|
680
680
|
mass: B.mass,
|
|
681
681
|
velocity: Y,
|
|
682
682
|
onComplete: () => {
|
|
683
|
-
F.current = null,
|
|
683
|
+
F.current = null, K && E ? n({ direction: E, targetColSpan: k, mode: t ? "slot-fill" : "sparkline-fidelity" }) : K || a?.(), x.jump(0), b.current = "idle", y("idle");
|
|
684
684
|
}
|
|
685
685
|
});
|
|
686
686
|
},
|
|
687
|
-
[Be, e, t, n, a, x, B,
|
|
687
|
+
[Be, e, t, n, a, x, B, j]
|
|
688
688
|
), dt = w(
|
|
689
689
|
(k) => {
|
|
690
690
|
if (b.current !== "dragging") return;
|
|
691
|
-
const E = k.clientX - (I.current ?? k.clientX), A = c.current, ee = ((_.current ?? f) - e) * A, Y = (1 - e) * A,
|
|
692
|
-
|
|
693
|
-
const
|
|
694
|
-
ie(
|
|
691
|
+
const E = k.clientX - (I.current ?? k.clientX), A = c.current, ee = ((_.current ?? f) - e) * A, Y = (1 - e) * A, z = Math.max(Y, Math.min(ee, E));
|
|
692
|
+
U.current.push({ x: k.clientX, t: performance.now() });
|
|
693
|
+
const H = oe(z, G.current, e), W = H > e ? "grow" : H < e ? "shrink" : null;
|
|
694
|
+
ie(H, W);
|
|
695
695
|
},
|
|
696
696
|
[oe, e, f, ie]
|
|
697
697
|
), le = w(() => {
|
|
@@ -701,8 +701,8 @@ function Tn({
|
|
|
701
701
|
x.jump(k), a?.(), x.jump(0), b.current = "idle", y("idle");
|
|
702
702
|
return;
|
|
703
703
|
}
|
|
704
|
-
const A =
|
|
705
|
-
b.current = "settling", y("settling"),
|
|
704
|
+
const A = U.current.getWeightedVelocity();
|
|
705
|
+
b.current = "settling", y("settling"), j(), F.current = We(x, k, {
|
|
706
706
|
type: "spring",
|
|
707
707
|
stiffness: B.stiffness,
|
|
708
708
|
damping: B.damping,
|
|
@@ -715,7 +715,7 @@ function Tn({
|
|
|
715
715
|
return;
|
|
716
716
|
}
|
|
717
717
|
b.current === "handle-visible" && (a?.(), b.current = "cancelled", y("cancelled"));
|
|
718
|
-
}, [Z, x, a, B,
|
|
718
|
+
}, [Z, x, a, B, j]);
|
|
719
719
|
L(() => {
|
|
720
720
|
if (D !== "dragging" && D !== "handle-visible") return;
|
|
721
721
|
const k = (E) => {
|
|
@@ -724,30 +724,30 @@ function Tn({
|
|
|
724
724
|
return window.addEventListener("keydown", k), () => window.removeEventListener("keydown", k);
|
|
725
725
|
}, [D, le]), L(() => {
|
|
726
726
|
if (D !== "dragging") {
|
|
727
|
-
|
|
727
|
+
T(e);
|
|
728
728
|
return;
|
|
729
729
|
}
|
|
730
|
-
const k = (
|
|
731
|
-
const
|
|
732
|
-
x.set(
|
|
733
|
-
const _e = c.current, Ce = (f - e) * _e, xe = (1 - e) * _e, de = Math.max(xe, Math.min(Ce,
|
|
734
|
-
|
|
730
|
+
const k = (z) => {
|
|
731
|
+
const H = z.clientX - (I.current ?? z.clientX), W = S.current, ce = q(1), ae = q(f), we = W + H, ze = Math.max(ce, Math.min(ae, we));
|
|
732
|
+
x.set(ze);
|
|
733
|
+
const _e = c.current, Ce = (f - e) * _e, xe = (1 - e) * _e, de = Math.max(xe, Math.min(Ce, H));
|
|
734
|
+
U.current.push({ x: z.clientX, t: performance.now() });
|
|
735
735
|
const ue = oe(de, G.current, e);
|
|
736
|
-
ue !== G.current && (G.current = ue,
|
|
737
|
-
}, E = (
|
|
736
|
+
ue !== G.current && (G.current = ue, T(ue));
|
|
737
|
+
}, E = (z, H) => {
|
|
738
738
|
if (b.current === "dragging")
|
|
739
|
-
if (
|
|
740
|
-
const W =
|
|
741
|
-
|
|
739
|
+
if (z === "pointerup") {
|
|
740
|
+
const W = U.current.tail(), ce = H?.clientX ?? W?.x ?? I.current ?? 0, ae = ce - (I.current ?? ce), we = c.current, _e = ((_.current ?? f) - e) * we, Ce = (1 - e) * we, xe = Math.max(Ce, Math.min(_e, ae));
|
|
741
|
+
H && U.current.push({ x: H.clientX, t: performance.now() });
|
|
742
742
|
const de = oe(xe, G.current, e), ue = de > e ? "grow" : de < e ? "shrink" : null;
|
|
743
743
|
ie(de, ue);
|
|
744
744
|
} else
|
|
745
745
|
le();
|
|
746
|
-
}, A = (
|
|
746
|
+
}, A = (z) => E("pointerup", z), K = (z) => E("pointercancel", z), ee = () => E("blur"), Y = () => {
|
|
747
747
|
document.visibilityState === "hidden" && E("visibility-hidden");
|
|
748
748
|
};
|
|
749
|
-
return window.addEventListener("pointermove", k), window.addEventListener("pointerup", A), window.addEventListener("pointercancel",
|
|
750
|
-
window.removeEventListener("pointermove", k), window.removeEventListener("pointerup", A), window.removeEventListener("pointercancel",
|
|
749
|
+
return window.addEventListener("pointermove", k), window.addEventListener("pointerup", A), window.addEventListener("pointercancel", K), window.addEventListener("blur", ee), document.addEventListener("visibilitychange", Y), () => {
|
|
750
|
+
window.removeEventListener("pointermove", k), window.removeEventListener("pointerup", A), window.removeEventListener("pointercancel", K), window.removeEventListener("blur", ee), document.removeEventListener("visibilitychange", Y);
|
|
751
751
|
};
|
|
752
752
|
}, [D, e, x, oe, f, q, le, ie]), L(() => () => {
|
|
753
753
|
Z(), O(), J();
|
|
@@ -761,18 +761,18 @@ function Tn({
|
|
|
761
761
|
if (b.current === "settling") return;
|
|
762
762
|
const A = Math.min(f, Math.max(1, e + (k === "grow" ? 1 : -1)));
|
|
763
763
|
if (A === e) return;
|
|
764
|
-
c.current = i, v.current = s, _.current = f,
|
|
765
|
-
const
|
|
766
|
-
S.current =
|
|
764
|
+
c.current = i, v.current = s, _.current = f, U.current.clear();
|
|
765
|
+
const K = e * i + (e - 1) * s;
|
|
766
|
+
S.current = K, x.jump(K), ie(A, k);
|
|
767
767
|
},
|
|
768
768
|
[e, i, s, f, x, ie]
|
|
769
|
-
),
|
|
769
|
+
), Ke = w(() => {
|
|
770
770
|
J(), R.current = setTimeout(() => {
|
|
771
771
|
b.current === "handle-visible" && (b.current = "idle", y("idle"));
|
|
772
772
|
}, 5e3);
|
|
773
773
|
}, [J]), mt = w(() => {
|
|
774
|
-
b.current === "idle" && (Z(), b.current = "handle-visible", y("handle-visible"),
|
|
775
|
-
}, [Z,
|
|
774
|
+
b.current === "idle" && (Z(), b.current = "handle-visible", y("handle-visible"), Ke());
|
|
775
|
+
}, [Z, Ke]), gt = w(() => {
|
|
776
776
|
J(), b.current === "handle-visible" && (b.current = "idle", y("idle"));
|
|
777
777
|
}, [J]);
|
|
778
778
|
return {
|
|
@@ -965,7 +965,7 @@ const In = [
|
|
|
965
965
|
subtitle: "Awaiting QA",
|
|
966
966
|
highlightColor: "neutral"
|
|
967
967
|
}
|
|
968
|
-
],
|
|
968
|
+
], zt = {
|
|
969
969
|
variant: "standard",
|
|
970
970
|
label: "Total Revenue",
|
|
971
971
|
isLoading: !0
|
|
@@ -982,7 +982,7 @@ const In = [
|
|
|
982
982
|
valueFormat: { prefix: "$", abbreviated: !0 },
|
|
983
983
|
isEmpty: !0,
|
|
984
984
|
subtitle: "No data"
|
|
985
|
-
},
|
|
985
|
+
}, Ht = {
|
|
986
986
|
variant: "standard",
|
|
987
987
|
label: "Total Revenue",
|
|
988
988
|
value: 125430,
|
|
@@ -990,7 +990,7 @@ const In = [
|
|
|
990
990
|
trend: { value: 12.5, direction: "up" },
|
|
991
991
|
subtitle: "MTD",
|
|
992
992
|
isStale: !0
|
|
993
|
-
},
|
|
993
|
+
}, Vt = {
|
|
994
994
|
variant: "sparkline",
|
|
995
995
|
label: "Daily Orders",
|
|
996
996
|
value: 847,
|
|
@@ -999,7 +999,7 @@ const In = [
|
|
|
999
999
|
sparklineData: [42, 38, 51, 47, 55, 60, 58, 63, 57, 62, 68, 71, 65, 59],
|
|
1000
1000
|
accentColor: "#6366f1",
|
|
1001
1001
|
isStale: !0
|
|
1002
|
-
},
|
|
1002
|
+
}, jt = {
|
|
1003
1003
|
variant: "donut",
|
|
1004
1004
|
label: "Order Fill Rate",
|
|
1005
1005
|
value: 78,
|
|
@@ -1011,12 +1011,12 @@ const In = [
|
|
|
1011
1011
|
accentColor: "#10b981",
|
|
1012
1012
|
isStale: !0
|
|
1013
1013
|
}, Pn = [
|
|
1014
|
-
|
|
1014
|
+
zt,
|
|
1015
1015
|
Wt,
|
|
1016
1016
|
Gt,
|
|
1017
|
-
Vt,
|
|
1018
1017
|
Ht,
|
|
1019
|
-
|
|
1018
|
+
Vt,
|
|
1019
|
+
jt
|
|
1020
1020
|
], Fn = {
|
|
1021
1021
|
variant: "sparkline",
|
|
1022
1022
|
label: "Daily Orders",
|
|
@@ -1197,7 +1197,7 @@ function Je({
|
|
|
1197
1197
|
);
|
|
1198
1198
|
}
|
|
1199
1199
|
Je.displayName = "PageDropdown";
|
|
1200
|
-
const
|
|
1200
|
+
const Ut = function({
|
|
1201
1201
|
currentIndex: t,
|
|
1202
1202
|
total: n,
|
|
1203
1203
|
pages: a,
|
|
@@ -1208,8 +1208,8 @@ const jt = function({
|
|
|
1208
1208
|
displayMode: u = "count",
|
|
1209
1209
|
activePage: d
|
|
1210
1210
|
}) {
|
|
1211
|
-
const p =
|
|
1212
|
-
g((
|
|
1211
|
+
const p = M(null), [f, g] = $(!1), m = w(() => {
|
|
1212
|
+
g((T) => !T);
|
|
1213
1213
|
}, []), D = w(() => {
|
|
1214
1214
|
g(!1);
|
|
1215
1215
|
}, []), y = a[t]?.id ?? "";
|
|
@@ -1263,7 +1263,7 @@ const jt = function({
|
|
|
1263
1263
|
}
|
|
1264
1264
|
);
|
|
1265
1265
|
};
|
|
1266
|
-
|
|
1266
|
+
Ut.displayName = "PageChip";
|
|
1267
1267
|
const $n = [
|
|
1268
1268
|
{
|
|
1269
1269
|
id: "ORD-1001",
|
|
@@ -1540,7 +1540,7 @@ function et(e) {
|
|
|
1540
1540
|
function tt(e) {
|
|
1541
1541
|
return new Date(e).toLocaleDateString("en-US", { month: "short", day: "numeric", year: "numeric" });
|
|
1542
1542
|
}
|
|
1543
|
-
const he =
|
|
1543
|
+
const he = V.createElement("span", { style: { color: "var(--color-text-muted)" } }, "—"), Kn = [
|
|
1544
1544
|
{
|
|
1545
1545
|
field: "id",
|
|
1546
1546
|
headerName: "Order",
|
|
@@ -1592,7 +1592,7 @@ const he = H.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1592
1592
|
cellClassName: "gloss-tabular-nums",
|
|
1593
1593
|
renderCell: ({ row: e }) => e.date ? tt(e.date) : ""
|
|
1594
1594
|
}
|
|
1595
|
-
],
|
|
1595
|
+
], zn = [
|
|
1596
1596
|
{
|
|
1597
1597
|
field: "sku",
|
|
1598
1598
|
headerName: "Item ID",
|
|
@@ -1670,7 +1670,7 @@ const he = H.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1670
1670
|
{ id: "i-005", label: "Velvet Accent Cushion" }
|
|
1671
1671
|
], Se = (e) => {
|
|
1672
1672
|
}, Yt = (e) => {
|
|
1673
|
-
},
|
|
1673
|
+
}, He = (e, t) => {
|
|
1674
1674
|
}, at = {
|
|
1675
1675
|
vizState: {
|
|
1676
1676
|
type: "orders",
|
|
@@ -1682,8 +1682,8 @@ const he = H.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1682
1682
|
onTypeChange: Se,
|
|
1683
1683
|
onQuantChange: Yt,
|
|
1684
1684
|
onEntityTypeChange: Se,
|
|
1685
|
-
onEntitySelect:
|
|
1686
|
-
onItemSelect:
|
|
1685
|
+
onEntitySelect: He,
|
|
1686
|
+
onItemSelect: He,
|
|
1687
1687
|
onTimeFrameChange: Se,
|
|
1688
1688
|
userType: "sales-agency",
|
|
1689
1689
|
entityFilterOptions: Zt,
|
|
@@ -1813,14 +1813,14 @@ const he = H.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1813
1813
|
cellKinds: ["numeric"],
|
|
1814
1814
|
tabType: "orders"
|
|
1815
1815
|
}
|
|
1816
|
-
],
|
|
1816
|
+
], Hn = {
|
|
1817
1817
|
entityName: Qt,
|
|
1818
1818
|
orderId: Xt,
|
|
1819
1819
|
numeric: Jt
|
|
1820
|
-
},
|
|
1820
|
+
}, Vn = [
|
|
1821
1821
|
new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), (/* @__PURE__ */ new Date()).getDate() - 29),
|
|
1822
1822
|
/* @__PURE__ */ new Date()
|
|
1823
|
-
],
|
|
1823
|
+
], jn = {
|
|
1824
1824
|
rangeA: [
|
|
1825
1825
|
new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), 1),
|
|
1826
1826
|
/* @__PURE__ */ new Date()
|
|
@@ -1833,7 +1833,7 @@ const he = H.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1833
1833
|
new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth() - 2, 1),
|
|
1834
1834
|
new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth() - 1, 0)
|
|
1835
1835
|
]
|
|
1836
|
-
},
|
|
1836
|
+
}, Un = {
|
|
1837
1837
|
version: 4,
|
|
1838
1838
|
lastPreset: "mtd",
|
|
1839
1839
|
pinnedPreset: "mtd",
|
|
@@ -1919,10 +1919,10 @@ const he = H.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1919
1919
|
threshold: Ct,
|
|
1920
1920
|
slots: xt,
|
|
1921
1921
|
size: St,
|
|
1922
|
-
color:
|
|
1923
|
-
pinned:
|
|
1922
|
+
color: Tt,
|
|
1923
|
+
pinned: Mt
|
|
1924
1924
|
};
|
|
1925
|
-
function
|
|
1925
|
+
function Ve(...e) {
|
|
1926
1926
|
return e.filter(Boolean).join(" ");
|
|
1927
1927
|
}
|
|
1928
1928
|
function aa() {
|
|
@@ -1942,12 +1942,12 @@ const na = ({
|
|
|
1942
1942
|
ariaCardTypeLabel: a,
|
|
1943
1943
|
className: i
|
|
1944
1944
|
}) => {
|
|
1945
|
-
const s =
|
|
1945
|
+
const s = M(null), o = M([]), l = aa(), u = ye(() => Array.from(e), [e]);
|
|
1946
1946
|
if (u.length === 0) return null;
|
|
1947
1947
|
const d = a ? `Configure ${a}: choose a dimension` : void 0, p = l ? "10ms" : "200ms", f = (g, m) => {
|
|
1948
1948
|
const D = u.length - 1, y = (h) => {
|
|
1949
|
-
const
|
|
1950
|
-
|
|
1949
|
+
const T = o.current[h];
|
|
1950
|
+
T && T.focus();
|
|
1951
1951
|
};
|
|
1952
1952
|
switch (g.key) {
|
|
1953
1953
|
case "ArrowRight":
|
|
@@ -1981,7 +1981,7 @@ const na = ({
|
|
|
1981
1981
|
ref: s,
|
|
1982
1982
|
role: "group",
|
|
1983
1983
|
"aria-label": d,
|
|
1984
|
-
className:
|
|
1984
|
+
className: Ve("gloss-reconfig-backside-buttons", i),
|
|
1985
1985
|
style: {
|
|
1986
1986
|
// Expose the reduced-motion-resolved duration as a CSS custom prop
|
|
1987
1987
|
// so the SCSS transition rule can consume it without a nested media
|
|
@@ -1998,7 +1998,7 @@ const na = ({
|
|
|
1998
1998
|
},
|
|
1999
1999
|
type: "button",
|
|
2000
2000
|
"data-dimension": g,
|
|
2001
|
-
className:
|
|
2001
|
+
className: Ve(
|
|
2002
2002
|
"gloss-reconfig-backside-buttons__button",
|
|
2003
2003
|
y && "gloss-reconfig-backside-buttons__button--active"
|
|
2004
2004
|
),
|
|
@@ -2027,7 +2027,7 @@ function Q(e, t) {
|
|
|
2027
2027
|
return {
|
|
2028
2028
|
id: e,
|
|
2029
2029
|
colSpan: 1,
|
|
2030
|
-
content:
|
|
2030
|
+
content: V.createElement("div", {
|
|
2031
2031
|
style: {
|
|
2032
2032
|
width: "100%",
|
|
2033
2033
|
height: "100%",
|
|
@@ -2043,7 +2043,7 @@ function Q(e, t) {
|
|
|
2043
2043
|
}, t)
|
|
2044
2044
|
};
|
|
2045
2045
|
}
|
|
2046
|
-
function
|
|
2046
|
+
function je(e, t) {
|
|
2047
2047
|
return {
|
|
2048
2048
|
...Q(e, t),
|
|
2049
2049
|
colSpan: 2
|
|
@@ -2052,11 +2052,11 @@ function Ue(e, t) {
|
|
|
2052
2052
|
const Jn = [
|
|
2053
2053
|
Q("total-revenue", "Total Revenue"),
|
|
2054
2054
|
Q("total-orders", "Total Orders"),
|
|
2055
|
-
|
|
2055
|
+
je("revenue-trend", "Revenue Trend (2x)"),
|
|
2056
2056
|
Q("avg-order", "Avg Order Value"),
|
|
2057
2057
|
Q("new-customers", "New Customers"),
|
|
2058
2058
|
Q("top-salesperson", "Top Salesperson"),
|
|
2059
|
-
|
|
2059
|
+
je("order-trend", "Order Trend (2x)"),
|
|
2060
2060
|
Q("repeat-rate", "Repeat Rate"),
|
|
2061
2061
|
Q("open-orders", "Open Orders"),
|
|
2062
2062
|
Q("shipped-orders", "Shipped Orders")
|
|
@@ -2082,15 +2082,15 @@ const Jn = [
|
|
|
2082
2082
|
currentPage: 0,
|
|
2083
2083
|
totalPages: 3
|
|
2084
2084
|
};
|
|
2085
|
-
function
|
|
2086
|
-
return
|
|
2085
|
+
function Te(e) {
|
|
2086
|
+
return V.createElement("span", { style: { fontSize: 14 } }, e);
|
|
2087
2087
|
}
|
|
2088
2088
|
const nr = [
|
|
2089
2089
|
{
|
|
2090
2090
|
id: "all-orders",
|
|
2091
2091
|
type: "orders",
|
|
2092
2092
|
name: "All Orders",
|
|
2093
|
-
icon:
|
|
2093
|
+
icon: Te("📋"),
|
|
2094
2094
|
closable: !1,
|
|
2095
2095
|
autoCreated: !0
|
|
2096
2096
|
},
|
|
@@ -2098,14 +2098,14 @@ const nr = [
|
|
|
2098
2098
|
id: "open-orders",
|
|
2099
2099
|
type: "orders",
|
|
2100
2100
|
name: "Open Orders",
|
|
2101
|
-
icon:
|
|
2101
|
+
icon: Te("📦"),
|
|
2102
2102
|
closable: !0
|
|
2103
2103
|
},
|
|
2104
2104
|
{
|
|
2105
2105
|
id: "shipped-orders",
|
|
2106
2106
|
type: "orders",
|
|
2107
2107
|
name: "Shipped Orders",
|
|
2108
|
-
icon:
|
|
2108
|
+
icon: Te("🚚"),
|
|
2109
2109
|
closable: !0
|
|
2110
2110
|
}
|
|
2111
2111
|
], rr = [
|
|
@@ -2400,7 +2400,7 @@ function pa(e = {}) {
|
|
|
2400
2400
|
}
|
|
2401
2401
|
pa.displayName = "DevTuningPanel";
|
|
2402
2402
|
function ha() {
|
|
2403
|
-
const e = la(), { values: t, setValue: n, resetRow: a, resetAll: i } = e, [s, o] = $(null), l =
|
|
2403
|
+
const e = la(), { values: t, setValue: n, resetRow: a, resetAll: i } = e, [s, o] = $(null), l = M(null), u = w((g) => {
|
|
2404
2404
|
l.current && clearTimeout(l.current), o(g), l.current = setTimeout(() => {
|
|
2405
2405
|
o(null), l.current = null;
|
|
2406
2406
|
}, 200);
|
|
@@ -2716,7 +2716,7 @@ function pr({
|
|
|
2716
2716
|
"data-testid": "gloss-cascade-preview-item",
|
|
2717
2717
|
"aria-hidden": "true",
|
|
2718
2718
|
className: ["gloss-cascade-preview-item", n].filter(Boolean).join(" "),
|
|
2719
|
-
style: { position: "absolute", x: a.x, y: a.y },
|
|
2719
|
+
style: { position: "absolute", x: a.x, y: a.y, width: a.width, height: a.height },
|
|
2720
2720
|
children: t(a)
|
|
2721
2721
|
},
|
|
2722
2722
|
a.cardId
|
|
@@ -2727,7 +2727,7 @@ const ba = ({
|
|
|
2727
2727
|
elapsed: t,
|
|
2728
2728
|
severity: n = "neutral"
|
|
2729
2729
|
}) => {
|
|
2730
|
-
const a =
|
|
2730
|
+
const a = M(null), i = M(null);
|
|
2731
2731
|
L(() => {
|
|
2732
2732
|
const l = Math.min(100, Math.max(0, e.value)), u = Math.min(100, Math.max(0, t.value)), d = requestAnimationFrame(() => {
|
|
2733
2733
|
a.current && (a.current.style.width = `${l}%`), i.current && (i.current.style.width = `${u}%`);
|
|
@@ -3163,7 +3163,7 @@ const Sa = () => /* @__PURE__ */ N(
|
|
|
3163
3163
|
}
|
|
3164
3164
|
);
|
|
3165
3165
|
Sa.displayName = "LeaderboardTilePreview";
|
|
3166
|
-
const
|
|
3166
|
+
const Ta = (e) => e === "critical" ? "Critical severity" : e === "warn" ? "Warning severity" : "Info severity", Ma = (e, t) => {
|
|
3167
3167
|
const n = e.sourceValue;
|
|
3168
3168
|
if (typeof n != "number") return !1;
|
|
3169
3169
|
switch (t.condition) {
|
|
@@ -3190,7 +3190,7 @@ function Ra({
|
|
|
3190
3190
|
ruleSubtitle: s,
|
|
3191
3191
|
isStale: o
|
|
3192
3192
|
}) {
|
|
3193
|
-
const l = t.filter((d) =>
|
|
3193
|
+
const l = t.filter((d) => Ma(d, n)), u = l.slice(0, a ?? 3);
|
|
3194
3194
|
return l.length === 0 ? /* @__PURE__ */ N(te, { children: [
|
|
3195
3195
|
/* @__PURE__ */ r(
|
|
3196
3196
|
pe,
|
|
@@ -3219,7 +3219,7 @@ function Ra({
|
|
|
3219
3219
|
children: /* @__PURE__ */ r("div", { className: "gloss-exception-list__rows", role: "list", children: u.map((d, p) => /* @__PURE__ */ r(
|
|
3220
3220
|
X,
|
|
3221
3221
|
{
|
|
3222
|
-
lead: /* @__PURE__ */ r(ve, { severity: d.severity, "aria-label":
|
|
3222
|
+
lead: /* @__PURE__ */ r(ve, { severity: d.severity, "aria-label": Ta(d.severity) }),
|
|
3223
3223
|
name: d.name,
|
|
3224
3224
|
value: d.value,
|
|
3225
3225
|
variant: "exception",
|
|
@@ -3268,7 +3268,7 @@ const Ia = () => /* @__PURE__ */ N(
|
|
|
3268
3268
|
}
|
|
3269
3269
|
);
|
|
3270
3270
|
Ia.displayName = "ExceptionListTilePreview";
|
|
3271
|
-
const
|
|
3271
|
+
const Ue = ["MTD", "QTD", "YTD", "LYTD", "7D"], Ze = ["$248K", "$612K", "$1.24M", "$980K", "$54K"], qe = [
|
|
3272
3272
|
"M0,7 L10,5 L20,6 L30,3 L40,2",
|
|
3273
3273
|
"M0,6 L10,4 L20,5 L30,2 L40,1",
|
|
3274
3274
|
"M0,8 L10,7 L20,5 L30,4 L40,2",
|
|
@@ -3276,11 +3276,11 @@ const je = ["MTD", "QTD", "YTD", "LYTD", "7D"], Ze = ["$248K", "$612K", "$1.24M"
|
|
|
3276
3276
|
"M0,7 L10,4 L20,5 L30,3 L40,2"
|
|
3277
3277
|
], Pa = ({
|
|
3278
3278
|
slotCount: e = 3,
|
|
3279
|
-
labels: t =
|
|
3279
|
+
labels: t = Ue,
|
|
3280
3280
|
sampleValues: n = Ze
|
|
3281
3281
|
}) => {
|
|
3282
3282
|
const a = Array.from({ length: e }, (i, s) => ({
|
|
3283
|
-
label: t[s] ??
|
|
3283
|
+
label: t[s] ?? Ue[s] ?? "",
|
|
3284
3284
|
value: n[s] ?? Ze[s] ?? "",
|
|
3285
3285
|
sparkPath: qe[s % qe.length]
|
|
3286
3286
|
}));
|
|
@@ -3309,7 +3309,49 @@ const je = ["MTD", "QTD", "YTD", "LYTD", "7D"], Ze = ["$248K", "$612K", "$1.24M"
|
|
|
3309
3309
|
);
|
|
3310
3310
|
};
|
|
3311
3311
|
Pa.displayName = "StackedGroupTilePreview";
|
|
3312
|
-
const
|
|
3312
|
+
const vr = {
|
|
3313
|
+
/** GEV-01 — Eligibility tint. Contiguous-from-source paint; blocked by first occupied cell (Principle 4). */
|
|
3314
|
+
eligibilityTint: { applicableStates: ["arming", "active"] },
|
|
3315
|
+
/** GEV-01 — Commit tint. Fill+stroke emphasis on the commit-target cell footprint (G-02). */
|
|
3316
|
+
commitTint: { applicableStates: ["active"] },
|
|
3317
|
+
/** GEV-01 — Rejection tint. Static fill on cells beyond reach. Stays while rejection condition holds. */
|
|
3318
|
+
rejectionTint: { applicableStates: ["active"] },
|
|
3319
|
+
/** GEV-01 — Tracking outline. Solid 2.5px outline at commit footprint (G-02). Dashes + retreats on rejection — NEVER red (D-01 / Principle 1). */
|
|
3320
|
+
trackingOutline: { applicableStates: ["active", "settling"] },
|
|
3321
|
+
/** GEV-01 — Commit ghost. Drag-only floating clone (D-01 — clean card with shadow + scale). Resize: N/A (subsumed by trackingOutline). */
|
|
3322
|
+
commitGhost: { applicableStates: ["active", "settling"] },
|
|
3323
|
+
/** GEV-01 — Displaced preview. Neighbor-shift preview during cascade-insert. */
|
|
3324
|
+
displacedPreview: { applicableStates: ["active"] },
|
|
3325
|
+
/** GEV-01 — Chrome. Drag/resize affordances — hidden when active per R-05 hide-on-active rule. */
|
|
3326
|
+
chrome: { applicableStates: ["idle", "arming"] },
|
|
3327
|
+
/** GEV-01 — Hide-on-active rule. The rule itself: while a gesture is active, chrome+affordances suppress. */
|
|
3328
|
+
hideOnActive: { applicableStates: ["active"] },
|
|
3329
|
+
/** GEV-01 — Refuse pulse. Discrete moment of crossing into rejection. Fires ONCE per transition (Principle 2). No strobing. */
|
|
3330
|
+
refusePulse: { applicableStates: ["active"] }
|
|
3331
|
+
}, br = {
|
|
3332
|
+
baseCellTint: "#F1F4F8",
|
|
3333
|
+
// Grey · Neutral −2
|
|
3334
|
+
eligibilityFill: "#6F87D2",
|
|
3335
|
+
// Action 0 fill
|
|
3336
|
+
commitFill: "#4664C0",
|
|
3337
|
+
// Action +2 fill
|
|
3338
|
+
commitStroke: "#2541A1",
|
|
3339
|
+
// Action +3 stroke
|
|
3340
|
+
rejectionFill: "#F0BAC1",
|
|
3341
|
+
// Rejection −1 fill
|
|
3342
|
+
rejectionStroke: "#BB2A39",
|
|
3343
|
+
// Rejection +2 stroke (sparse-dash)
|
|
3344
|
+
trackingOutline: "#2541A1"
|
|
3345
|
+
// Action +3 — same hex as commitStroke per D-01
|
|
3346
|
+
}, yr = {
|
|
3347
|
+
baseCellTint: "var(--gloss-g02-base-cell-tint)",
|
|
3348
|
+
eligibilityFill: "var(--gloss-g02-eligibility-fill)",
|
|
3349
|
+
commitFill: "var(--gloss-g02-commit-fill)",
|
|
3350
|
+
commitStroke: "var(--gloss-g02-commit-stroke)",
|
|
3351
|
+
rejectionFill: "var(--gloss-g02-rejection-fill)",
|
|
3352
|
+
rejectionStroke: "var(--gloss-g02-rejection-stroke)",
|
|
3353
|
+
trackingOutline: "var(--gloss-g02-tracking-outline)"
|
|
3354
|
+
}, wr = "dashed", _r = "solid", Nr = "sparse-dash", Dr = "2px no-fill", ne = {
|
|
3313
3355
|
"gloss-inline-nudge": "_gloss-inline-nudge_kdk88_34",
|
|
3314
3356
|
"gloss-inline-nudge__message": "_gloss-inline-nudge__message_kdk88_65",
|
|
3315
3357
|
"gloss-inline-nudge__actions": "_gloss-inline-nudge__actions_kdk88_72",
|
|
@@ -3324,15 +3366,15 @@ function Fa({
|
|
|
3324
3366
|
anchorEl: a,
|
|
3325
3367
|
anchorSelector: i
|
|
3326
3368
|
}) {
|
|
3327
|
-
const [s, o] =
|
|
3369
|
+
const [s, o] = V.useState(null), l = V.useMemo(
|
|
3328
3370
|
() => typeof window < "u" && window.matchMedia ? window.matchMedia("(prefers-reduced-motion: reduce)").matches : !1,
|
|
3329
3371
|
[]
|
|
3330
3372
|
);
|
|
3331
|
-
|
|
3373
|
+
V.useEffect(() => {
|
|
3332
3374
|
!a && !i && (typeof process > "u" || process.env.NODE_ENV !== "production") && console.error(
|
|
3333
3375
|
"[InlineNudge] requires anchorEl or anchorSelector. AP-07: Do not mount InlineNudge in Layout/** or _app.tsx."
|
|
3334
3376
|
);
|
|
3335
|
-
}, [a, i]),
|
|
3377
|
+
}, [a, i]), V.useLayoutEffect(() => {
|
|
3336
3378
|
let d = null;
|
|
3337
3379
|
if (a ? d = a : i && (d = document.querySelector(i)), d) {
|
|
3338
3380
|
const p = d.getBoundingClientRect();
|
|
@@ -3409,7 +3451,7 @@ function La({
|
|
|
3409
3451
|
), 0.01) : i, l = w(
|
|
3410
3452
|
(c) => Math.round(c / o) * o,
|
|
3411
3453
|
[o]
|
|
3412
|
-
), u =
|
|
3454
|
+
), u = M(null), [d, p] = $(null), [f, g] = $(e), m = Aa(e), D = M(m);
|
|
3413
3455
|
L(() => {
|
|
3414
3456
|
D.current !== m && (D.current = m, !d && g(e));
|
|
3415
3457
|
}, [m, e, d]);
|
|
@@ -3426,15 +3468,15 @@ function La({
|
|
|
3426
3468
|
`ThresholdRamp: max (${a}) must be greater than min (${n}); rendering degenerate strip.`
|
|
3427
3469
|
);
|
|
3428
3470
|
}, [n, a]);
|
|
3429
|
-
const
|
|
3471
|
+
const T = w(
|
|
3430
3472
|
(c, v) => {
|
|
3431
3473
|
const _ = f.find((S) => S.id === v);
|
|
3432
3474
|
s || _?.disabled || (c.preventDefault(), p(v));
|
|
3433
3475
|
},
|
|
3434
3476
|
[s, f]
|
|
3435
|
-
), P =
|
|
3477
|
+
), P = M(f);
|
|
3436
3478
|
P.current = f;
|
|
3437
|
-
const C =
|
|
3479
|
+
const C = M(t);
|
|
3438
3480
|
C.current = t, L(() => {
|
|
3439
3481
|
if (!d) return;
|
|
3440
3482
|
const c = (_) => {
|
|
@@ -3480,10 +3522,10 @@ function La({
|
|
|
3480
3522
|
c.preventDefault();
|
|
3481
3523
|
const x = Math.max(n, Math.min(a, b)), F = l(x);
|
|
3482
3524
|
if (F === v.value) return;
|
|
3483
|
-
const
|
|
3525
|
+
const j = f.map(
|
|
3484
3526
|
(q) => q.id === v.id ? { ...q, value: F } : q
|
|
3485
3527
|
);
|
|
3486
|
-
g(
|
|
3528
|
+
g(j), t(j);
|
|
3487
3529
|
},
|
|
3488
3530
|
[s, n, a, f, t, l]
|
|
3489
3531
|
);
|
|
@@ -3505,7 +3547,7 @@ function La({
|
|
|
3505
3547
|
},
|
|
3506
3548
|
"data-disabled": c.disabled || void 0,
|
|
3507
3549
|
"data-dragging": d === c.id || void 0,
|
|
3508
|
-
onPointerDown: (_) =>
|
|
3550
|
+
onPointerDown: (_) => T(_, c.id),
|
|
3509
3551
|
onKeyDown: (_) => I(_, c),
|
|
3510
3552
|
"aria-label": c.label ?? `Stop at ${c.value}`,
|
|
3511
3553
|
role: "slider",
|
|
@@ -3572,12 +3614,12 @@ function Ba({
|
|
|
3572
3614
|
), f = w(
|
|
3573
3615
|
(C) => d === C,
|
|
3574
3616
|
[d]
|
|
3575
|
-
), g =
|
|
3617
|
+
), g = M(/* @__PURE__ */ new Map()), m = w((C, R) => {
|
|
3576
3618
|
R ? g.current.set(C, R) : g.current.delete(C);
|
|
3577
3619
|
}, []), D = e.filter((C) => !C.disabled && !i), y = D.find((C) => C.value === d)?.value ?? D[0]?.value, h = w((C) => {
|
|
3578
3620
|
const R = g.current.get(C);
|
|
3579
3621
|
R && R.focus();
|
|
3580
|
-
}, []),
|
|
3622
|
+
}, []), T = w(
|
|
3581
3623
|
(C, R) => {
|
|
3582
3624
|
if (i) return;
|
|
3583
3625
|
const I = e.filter((S) => !S.disabled);
|
|
@@ -3620,7 +3662,7 @@ function Ba({
|
|
|
3620
3662
|
name: s,
|
|
3621
3663
|
registerRef: m,
|
|
3622
3664
|
firstFocusableValue: y,
|
|
3623
|
-
onKeyNav:
|
|
3665
|
+
onKeyNav: T
|
|
3624
3666
|
};
|
|
3625
3667
|
return /* @__PURE__ */ r(st.Provider, { value: P, children: /* @__PURE__ */ r(
|
|
3626
3668
|
"div",
|
|
@@ -3645,11 +3687,11 @@ function Ye(e, t) {
|
|
|
3645
3687
|
const n = e.find((a) => a.zoneKey === t);
|
|
3646
3688
|
return n ? n.zoneKey : Ae(e, t);
|
|
3647
3689
|
}
|
|
3648
|
-
function
|
|
3690
|
+
function Ka(e, t, n) {
|
|
3649
3691
|
const a = [...e], [i] = a.splice(t, 1);
|
|
3650
3692
|
return a.splice(n, 0, i), a;
|
|
3651
3693
|
}
|
|
3652
|
-
function
|
|
3694
|
+
function za(e) {
|
|
3653
3695
|
return e.map((t) => `${t.zoneKey}:${t.items.map((n) => n.id).join(",")}`).join("|");
|
|
3654
3696
|
}
|
|
3655
3697
|
function Wa(e) {
|
|
@@ -3657,12 +3699,12 @@ function Wa(e) {
|
|
|
3657
3699
|
() => e.zones.map((h) => h.maxItems !== void 0 && h.items.length > h.maxItems ? (process.env.NODE_ENV !== "production" && console.warn(
|
|
3658
3700
|
`useSortableZones: zone "${h.zoneKey}" exceeds maxItems (${h.items.length} > ${h.maxItems}); trimming to cap.`
|
|
3659
3701
|
), { ...h, items: h.items.slice(0, h.maxItems) }) : h)
|
|
3660
|
-
), [a, i] = $(null), [s, o] = $(null), l =
|
|
3702
|
+
), [a, i] = $(null), [s, o] = $(null), l = M(null), u = M(e.onZoneChange);
|
|
3661
3703
|
u.current = e.onZoneChange;
|
|
3662
3704
|
const d = ye(
|
|
3663
|
-
() =>
|
|
3705
|
+
() => za(e.zones),
|
|
3664
3706
|
[e.zones]
|
|
3665
|
-
), p =
|
|
3707
|
+
), p = M(d);
|
|
3666
3708
|
L(() => {
|
|
3667
3709
|
p.current !== d && (p.current = d, !a && n(
|
|
3668
3710
|
e.zones.map((h) => h.maxItems !== void 0 && h.items.length > h.maxItems ? (process.env.NODE_ENV !== "production" && console.warn(
|
|
@@ -3672,10 +3714,10 @@ function Wa(e) {
|
|
|
3672
3714
|
}, [d, e.zones, a]);
|
|
3673
3715
|
const f = w(
|
|
3674
3716
|
(h) => {
|
|
3675
|
-
const
|
|
3717
|
+
const T = h.active.id;
|
|
3676
3718
|
let P = null, C = null;
|
|
3677
3719
|
for (const R of t) {
|
|
3678
|
-
const I = R.items.find((c) => c.id ===
|
|
3720
|
+
const I = R.items.find((c) => c.id === T);
|
|
3679
3721
|
if (I) {
|
|
3680
3722
|
P = I, C = R.zoneKey;
|
|
3681
3723
|
break;
|
|
@@ -3690,49 +3732,49 @@ function Wa(e) {
|
|
|
3690
3732
|
o(l.current);
|
|
3691
3733
|
return;
|
|
3692
3734
|
}
|
|
3693
|
-
const
|
|
3694
|
-
o(
|
|
3735
|
+
const T = Ye(t, h.over.id);
|
|
3736
|
+
o(T);
|
|
3695
3737
|
},
|
|
3696
3738
|
[t]
|
|
3697
3739
|
), m = w(
|
|
3698
3740
|
(h) => {
|
|
3699
|
-
const { active:
|
|
3741
|
+
const { active: T, over: P } = h, C = () => {
|
|
3700
3742
|
l.current = null, i(null), o(null);
|
|
3701
3743
|
};
|
|
3702
3744
|
if (!P) {
|
|
3703
3745
|
C();
|
|
3704
3746
|
return;
|
|
3705
3747
|
}
|
|
3706
|
-
const R = Ae(t,
|
|
3748
|
+
const R = Ae(t, T.id), I = Ye(t, P.id);
|
|
3707
3749
|
if (!R || !I) {
|
|
3708
3750
|
C();
|
|
3709
3751
|
return;
|
|
3710
3752
|
}
|
|
3711
3753
|
let c = t.map((v) => ({ ...v, items: [...v.items] }));
|
|
3712
3754
|
if (R === I) {
|
|
3713
|
-
const v = c.findIndex((F) => F.zoneKey === R), _ = c[v], S = _.items.findIndex((F) => F.id ===
|
|
3755
|
+
const v = c.findIndex((F) => F.zoneKey === R), _ = c[v], S = _.items.findIndex((F) => F.id === T.id), b = _.items.findIndex((F) => F.id === P.id), x = b >= 0 ? b : Math.max(0, _.items.length - 1);
|
|
3714
3756
|
c[v] = {
|
|
3715
3757
|
..._,
|
|
3716
|
-
items:
|
|
3758
|
+
items: Ka(_.items, S, x)
|
|
3717
3759
|
};
|
|
3718
3760
|
} else {
|
|
3719
|
-
const v = c.findIndex((O) => O.zoneKey === R), _ = c.findIndex((O) => O.zoneKey === I), S = c[v], b = c[_], x = S.items.find((O) => O.id ===
|
|
3761
|
+
const v = c.findIndex((O) => O.zoneKey === R), _ = c.findIndex((O) => O.zoneKey === I), S = c[v], b = c[_], x = S.items.find((O) => O.id === T.id);
|
|
3720
3762
|
if (!x) {
|
|
3721
3763
|
C();
|
|
3722
3764
|
return;
|
|
3723
3765
|
}
|
|
3724
|
-
const F = S.items.filter((O) => O.id !==
|
|
3725
|
-
let
|
|
3766
|
+
const F = S.items.filter((O) => O.id !== T.id), j = b.items.findIndex((O) => O.id === P.id), q = j >= 0 ? j : b.items.length;
|
|
3767
|
+
let U = F, G = [...b.items];
|
|
3726
3768
|
if (b.maxItems !== void 0 && G.length >= b.maxItems) {
|
|
3727
3769
|
const O = G[G.length - 1];
|
|
3728
|
-
G = G.slice(0, b.maxItems - 1),
|
|
3770
|
+
G = G.slice(0, b.maxItems - 1), U = [...F, O];
|
|
3729
3771
|
}
|
|
3730
3772
|
const B = Math.min(q, G.length), Z = [
|
|
3731
3773
|
...G.slice(0, B),
|
|
3732
3774
|
x,
|
|
3733
3775
|
...G.slice(B)
|
|
3734
3776
|
];
|
|
3735
|
-
c[v] = { ...S, items:
|
|
3777
|
+
c[v] = { ...S, items: U }, c[_] = { ...b, items: Z };
|
|
3736
3778
|
}
|
|
3737
3779
|
n(c), u.current?.(c), C();
|
|
3738
3780
|
},
|
|
@@ -3745,11 +3787,11 @@ function Wa(e) {
|
|
|
3745
3787
|
[]
|
|
3746
3788
|
), y = w(
|
|
3747
3789
|
(h) => {
|
|
3748
|
-
const
|
|
3790
|
+
const T = Ae(t, h.id) ?? "";
|
|
3749
3791
|
return {
|
|
3750
3792
|
id: h.id,
|
|
3751
3793
|
"data-item-id": h.id,
|
|
3752
|
-
"data-zone-key":
|
|
3794
|
+
"data-zone-key": T
|
|
3753
3795
|
};
|
|
3754
3796
|
},
|
|
3755
3797
|
[t]
|
|
@@ -3765,7 +3807,7 @@ function Wa(e) {
|
|
|
3765
3807
|
handleDragEnd: m
|
|
3766
3808
|
};
|
|
3767
3809
|
}
|
|
3768
|
-
let ge = null, Ne = null,
|
|
3810
|
+
let ge = null, Ne = null, Me = !1;
|
|
3769
3811
|
const Ga = [
|
|
3770
3812
|
"DndContext",
|
|
3771
3813
|
"DragOverlay",
|
|
@@ -3775,22 +3817,22 @@ const Ga = [
|
|
|
3775
3817
|
"PointerSensor",
|
|
3776
3818
|
"KeyboardSensor",
|
|
3777
3819
|
"closestCenter"
|
|
3778
|
-
],
|
|
3820
|
+
], Ha = [
|
|
3779
3821
|
"SortableContext",
|
|
3780
3822
|
"useSortable",
|
|
3781
3823
|
"verticalListSortingStrategy"
|
|
3782
3824
|
];
|
|
3783
|
-
function
|
|
3825
|
+
function Va(e, t) {
|
|
3784
3826
|
const n = [], a = e ?? {};
|
|
3785
3827
|
for (const s of Ga)
|
|
3786
3828
|
a[s] === void 0 && n.push(`@dnd-kit/core:${s}`);
|
|
3787
3829
|
const i = t ?? {};
|
|
3788
|
-
for (const s of
|
|
3830
|
+
for (const s of Ha)
|
|
3789
3831
|
i[s] === void 0 && n.push(`@dnd-kit/sortable:${s}`);
|
|
3790
3832
|
return n.length === 0 ? { ok: !0 } : { ok: !1, missing: n };
|
|
3791
3833
|
}
|
|
3792
|
-
function
|
|
3793
|
-
return ge ? Promise.resolve(ge) :
|
|
3834
|
+
function ja() {
|
|
3835
|
+
return ge ? Promise.resolve(ge) : Me ? Promise.resolve(null) : Ne || (Ne = (async () => {
|
|
3794
3836
|
try {
|
|
3795
3837
|
const [e, t, n] = await Promise.all([
|
|
3796
3838
|
import("@dnd-kit/core"),
|
|
@@ -3798,25 +3840,25 @@ function Ua() {
|
|
|
3798
3840
|
import("@dnd-kit/utilities").catch(() => (process.env.NODE_ENV !== "production" && console.warn(
|
|
3799
3841
|
"SortableZones: @dnd-kit/utilities failed to load; drag-overlay positioning will fall back (items may teleport instead of slide)."
|
|
3800
3842
|
), {}))
|
|
3801
|
-
]), a =
|
|
3843
|
+
]), a = Va(e, t);
|
|
3802
3844
|
return a.ok ? (ge = {
|
|
3803
3845
|
core: e,
|
|
3804
3846
|
sortable: t,
|
|
3805
3847
|
utilities: n
|
|
3806
|
-
}, ge) : (
|
|
3848
|
+
}, ge) : (Me = !0, process.env.NODE_ENV !== "production" && console.error(
|
|
3807
3849
|
`SortableZones: @dnd-kit shape mismatch — missing exports: ${a.missing.join(", ")}. Check installed versions against optionalDependencies in @mt-gloss/ui.`
|
|
3808
3850
|
), null);
|
|
3809
3851
|
} catch {
|
|
3810
|
-
return
|
|
3852
|
+
return Me = !0, null;
|
|
3811
3853
|
}
|
|
3812
3854
|
})(), Ne);
|
|
3813
3855
|
}
|
|
3814
|
-
function
|
|
3815
|
-
const { zones: t, onZoneChange: n, renderZone: a, renderItem: i, renderDragOverlay: s } = e, o = Wa({ zones: t, onZoneChange: n }), [l, u] =
|
|
3816
|
-
return
|
|
3856
|
+
function Ua(e) {
|
|
3857
|
+
const { zones: t, onZoneChange: n, renderZone: a, renderItem: i, renderDragOverlay: s } = e, o = Wa({ zones: t, onZoneChange: n }), [l, u] = V.useState(ge);
|
|
3858
|
+
return V.useEffect(() => {
|
|
3817
3859
|
if (l) return;
|
|
3818
3860
|
let d = !0;
|
|
3819
|
-
return
|
|
3861
|
+
return ja().then((p) => {
|
|
3820
3862
|
d && u(p);
|
|
3821
3863
|
}), () => {
|
|
3822
3864
|
d = !1;
|
|
@@ -3831,11 +3873,11 @@ function ja(e) {
|
|
|
3831
3873
|
renderDragOverlay: s
|
|
3832
3874
|
}
|
|
3833
3875
|
) : /* @__PURE__ */ r("div", { "data-sortable-zones-passive": "true", children: o.zones.map((d) => {
|
|
3834
|
-
const p = d.items.map((f) => /* @__PURE__ */ r(
|
|
3876
|
+
const p = d.items.map((f) => /* @__PURE__ */ r(V.Fragment, { children: i(f) }, f.id));
|
|
3835
3877
|
return /* @__PURE__ */ r("div", { ...o.getZoneProps(d.zoneKey), children: a(d.zoneKey, d.items, p) }, d.zoneKey);
|
|
3836
3878
|
}) });
|
|
3837
3879
|
}
|
|
3838
|
-
|
|
3880
|
+
Ua.displayName = "SortableZones";
|
|
3839
3881
|
function it({
|
|
3840
3882
|
state: e,
|
|
3841
3883
|
modules: t,
|
|
@@ -3843,7 +3885,7 @@ function it({
|
|
|
3843
3885
|
renderItem: a,
|
|
3844
3886
|
renderDragOverlay: i
|
|
3845
3887
|
}) {
|
|
3846
|
-
const { core: s, sortable: o, utilities: l } = t, { DndContext: u, DragOverlay: d, useSensors: p, useSensor: f, useDroppable: g, PointerSensor: m, KeyboardSensor: D, closestCenter: y } = s, { SortableContext: h, verticalListSortingStrategy:
|
|
3888
|
+
const { core: s, sortable: o, utilities: l } = t, { DndContext: u, DragOverlay: d, useSensors: p, useSensor: f, useDroppable: g, PointerSensor: m, KeyboardSensor: D, closestCenter: y } = s, { SortableContext: h, verticalListSortingStrategy: T } = o, P = p(
|
|
3847
3889
|
f(m, { activationConstraint: { distance: 5 } }),
|
|
3848
3890
|
f(D)
|
|
3849
3891
|
), C = u, R = d, I = h;
|
|
@@ -3873,7 +3915,7 @@ function it({
|
|
|
3873
3915
|
zoneKey: c.zoneKey,
|
|
3874
3916
|
zoneProps: e.getZoneProps(c.zoneKey),
|
|
3875
3917
|
useDroppable: g,
|
|
3876
|
-
children: /* @__PURE__ */ r(I, { items: v, strategy:
|
|
3918
|
+
children: /* @__PURE__ */ r(I, { items: v, strategy: T, children: n(c.zoneKey, c.items, _) })
|
|
3877
3919
|
},
|
|
3878
3920
|
c.zoneKey
|
|
3879
3921
|
);
|
|
@@ -3903,7 +3945,7 @@ function lt({
|
|
|
3903
3945
|
return /* @__PURE__ */ r("div", { ref: i, "data-zone-is-over": s || void 0, ...t, children: a });
|
|
3904
3946
|
}
|
|
3905
3947
|
lt.displayName = "ZoneDroppable";
|
|
3906
|
-
function
|
|
3948
|
+
function kr({
|
|
3907
3949
|
slotLeft: e,
|
|
3908
3950
|
slotCenter: t,
|
|
3909
3951
|
slotRight: n,
|
|
@@ -3953,7 +3995,7 @@ function vr({
|
|
|
3953
3995
|
}
|
|
3954
3996
|
);
|
|
3955
3997
|
}
|
|
3956
|
-
function
|
|
3998
|
+
function Cr({
|
|
3957
3999
|
count: e,
|
|
3958
4000
|
currentIndex: t,
|
|
3959
4001
|
onSelect: n,
|
|
@@ -4006,12 +4048,12 @@ function br({
|
|
|
4006
4048
|
}
|
|
4007
4049
|
);
|
|
4008
4050
|
}
|
|
4009
|
-
const Za =
|
|
4051
|
+
const Za = V.forwardRef(({ density: e = "compact", children: t, ...n }, a) => {
|
|
4010
4052
|
const i = { ...n };
|
|
4011
4053
|
return delete i.className, delete i.style, /* @__PURE__ */ r("div", { ref: a, className: "gloss-container-toolbar", role: "toolbar", ...i, children: /* @__PURE__ */ r(Le, { region: "toolbar", density: e, children: t }) });
|
|
4012
4054
|
});
|
|
4013
4055
|
Za.displayName = "ContainerToolbar";
|
|
4014
|
-
const qa =
|
|
4056
|
+
const qa = V.forwardRef(({ legend: e, description: t, density: n = "default", children: a, ...i }, s) => {
|
|
4015
4057
|
const o = { ...i };
|
|
4016
4058
|
return delete o.className, delete o.style, /* @__PURE__ */ N("fieldset", { ref: s, className: "gloss-container-form-section", ...o, children: [
|
|
4017
4059
|
e && /* @__PURE__ */ r("legend", { className: "gloss-container-form-section__legend", children: e }),
|
|
@@ -4020,223 +4062,227 @@ const qa = H.forwardRef(({ legend: e, description: t, density: n = "default", ch
|
|
|
4020
4062
|
] });
|
|
4021
4063
|
});
|
|
4022
4064
|
qa.displayName = "ContainerFormSection";
|
|
4023
|
-
const Ya =
|
|
4065
|
+
const Ya = V.forwardRef(({ density: e = "compact", children: t, ...n }, a) => {
|
|
4024
4066
|
const i = { ...n };
|
|
4025
4067
|
return delete i.className, delete i.style, /* @__PURE__ */ r("div", { ref: a, className: "gloss-container-table", ...i, children: /* @__PURE__ */ r(Le, { region: "table", density: e, children: t }) });
|
|
4026
4068
|
});
|
|
4027
4069
|
Ya.displayName = "ContainerTable";
|
|
4028
4070
|
export {
|
|
4029
|
-
|
|
4030
|
-
|
|
4031
|
-
|
|
4032
|
-
|
|
4033
|
-
|
|
4034
|
-
|
|
4035
|
-
|
|
4036
|
-
|
|
4037
|
-
|
|
4038
|
-
|
|
4039
|
-
|
|
4040
|
-
|
|
4041
|
-
|
|
4042
|
-
|
|
4043
|
-
|
|
4044
|
-
|
|
4045
|
-
|
|
4046
|
-
|
|
4047
|
-
|
|
4048
|
-
|
|
4049
|
-
|
|
4050
|
-
|
|
4051
|
-
|
|
4052
|
-
|
|
4071
|
+
Tr as Accordion,
|
|
4072
|
+
Mr as AccordionContent,
|
|
4073
|
+
Rr as AccordionItem,
|
|
4074
|
+
Ir as AccordionTrigger,
|
|
4075
|
+
Pr as ActionStrip,
|
|
4076
|
+
Fr as Actionable,
|
|
4077
|
+
Er as AddressGroup,
|
|
4078
|
+
Ar as AddressSelect,
|
|
4079
|
+
Lr as AsyncLoader,
|
|
4080
|
+
Or as Autocomplete,
|
|
4081
|
+
$r as Badge,
|
|
4082
|
+
Br as BarChartCard,
|
|
4083
|
+
Kr as BarsBg,
|
|
4084
|
+
kr as BottomToolbar,
|
|
4085
|
+
zr as Button,
|
|
4086
|
+
Wr as ButtonGroup,
|
|
4087
|
+
Gr as ButtonGroupContext,
|
|
4088
|
+
Hr as Card,
|
|
4089
|
+
Vr as CardActions,
|
|
4090
|
+
jr as CardBack,
|
|
4091
|
+
Ur as CardBody,
|
|
4092
|
+
Zr as CardFooter,
|
|
4093
|
+
qr as CardHeader,
|
|
4094
|
+
Yr as CardMedia,
|
|
4053
4095
|
pt as CardShell,
|
|
4054
|
-
|
|
4055
|
-
|
|
4096
|
+
Qr as CardSubtitle,
|
|
4097
|
+
Xr as CardTitle,
|
|
4056
4098
|
pr as CascadePreview,
|
|
4057
|
-
|
|
4058
|
-
|
|
4059
|
-
|
|
4060
|
-
|
|
4061
|
-
|
|
4062
|
-
|
|
4063
|
-
|
|
4064
|
-
|
|
4065
|
-
|
|
4066
|
-
|
|
4067
|
-
|
|
4068
|
-
|
|
4069
|
-
|
|
4070
|
-
|
|
4071
|
-
|
|
4072
|
-
|
|
4073
|
-
|
|
4074
|
-
|
|
4075
|
-
|
|
4099
|
+
Jr as ChartControlBar,
|
|
4100
|
+
es as Checkbox,
|
|
4101
|
+
ts as CheckboxGroup,
|
|
4102
|
+
as as Chip,
|
|
4103
|
+
ns as ColorPicker,
|
|
4104
|
+
rs as ComparisonCard,
|
|
4105
|
+
ss as ContactForm,
|
|
4106
|
+
is as ContainerCard,
|
|
4107
|
+
os as ContainerCardActions,
|
|
4108
|
+
ls as ContainerCardBody,
|
|
4109
|
+
cs as ContainerCardFooter,
|
|
4110
|
+
ds as ContainerCardHeader,
|
|
4111
|
+
us as ContainerCardMedia,
|
|
4112
|
+
ms as ContainerCardSubtitle,
|
|
4113
|
+
gs as ContainerCardTitle,
|
|
4114
|
+
ps as ContainerDialog,
|
|
4115
|
+
hs as ContainerDialogActions,
|
|
4116
|
+
fs as ContainerDialogBody,
|
|
4117
|
+
vs as ContainerDialogHeader,
|
|
4076
4118
|
qa as ContainerFormSection,
|
|
4077
|
-
|
|
4119
|
+
bs as ContainerPanel,
|
|
4078
4120
|
Ya as ContainerTable,
|
|
4079
4121
|
Za as ContainerToolbar,
|
|
4080
|
-
|
|
4081
|
-
|
|
4122
|
+
ys as CreditCardForm,
|
|
4123
|
+
ws as DEFAULT_FOOTER_IDS,
|
|
4082
4124
|
se as DEFAULT_GRID_INTERACTION_PHYSICS,
|
|
4083
|
-
|
|
4084
|
-
|
|
4085
|
-
|
|
4125
|
+
qo as DEFAULT_MARKET_PRESETS,
|
|
4126
|
+
_s as DEFAULT_OVERFLOW_IDS,
|
|
4127
|
+
Yo as DEFAULT_PINNED,
|
|
4086
4128
|
Xe as DEFAULT_RESIZE_PHYSICS,
|
|
4087
|
-
|
|
4088
|
-
|
|
4089
|
-
|
|
4090
|
-
|
|
4129
|
+
Ns as DataTable,
|
|
4130
|
+
Ds as DatePicker,
|
|
4131
|
+
ks as DateRangePicker,
|
|
4132
|
+
Cs as DestructiveModal,
|
|
4091
4133
|
pa as DevTuningPanel,
|
|
4092
|
-
|
|
4093
|
-
|
|
4094
|
-
|
|
4095
|
-
|
|
4134
|
+
xs as DirectionCard,
|
|
4135
|
+
Ss as Dismissible,
|
|
4136
|
+
Ts as DistributionCard,
|
|
4137
|
+
Ms as DonutChart,
|
|
4096
4138
|
mr as DragGhost,
|
|
4097
4139
|
lr as DropAnchorCell,
|
|
4098
|
-
|
|
4140
|
+
Rs as Dropdown,
|
|
4099
4141
|
ba as DualPaceBars,
|
|
4100
|
-
|
|
4101
|
-
|
|
4102
|
-
|
|
4142
|
+
Is as ENTITY_FILTER_KEYS,
|
|
4143
|
+
Ps as ENTITY_PROFILE_ROUTES,
|
|
4144
|
+
Fs as ENTITY_TYPE_PLURAL,
|
|
4103
4145
|
$t as EdgeHoverHandle,
|
|
4104
4146
|
ur as EmptyCellPackAffordance,
|
|
4105
|
-
|
|
4147
|
+
Es as EntityPicker,
|
|
4106
4148
|
X as EntityRow,
|
|
4107
|
-
|
|
4149
|
+
As as EntitySearchPanel,
|
|
4108
4150
|
Ra as ExceptionListCard,
|
|
4109
4151
|
Ia as ExceptionListTilePreview,
|
|
4110
|
-
|
|
4111
|
-
|
|
4112
|
-
|
|
4113
|
-
|
|
4114
|
-
|
|
4115
|
-
|
|
4116
|
-
|
|
4117
|
-
|
|
4118
|
-
|
|
4119
|
-
|
|
4120
|
-
|
|
4152
|
+
Ls as Expandable,
|
|
4153
|
+
Os as ExpandableChip,
|
|
4154
|
+
$s as FLIP_AND_STAGE_TIMINGS,
|
|
4155
|
+
Bs as FileUpload,
|
|
4156
|
+
Ks as FilterChip,
|
|
4157
|
+
zs as FilterInput,
|
|
4158
|
+
Ws as FlipAndStageProvider,
|
|
4159
|
+
Gs as Form,
|
|
4160
|
+
Hs as FormDialog,
|
|
4161
|
+
Vs as FormField,
|
|
4162
|
+
js as FusedShape,
|
|
4121
4163
|
ya as GapReadout,
|
|
4122
4164
|
Bt as GhostPreview,
|
|
4123
|
-
|
|
4124
|
-
|
|
4165
|
+
Us as GroupCheckbox,
|
|
4166
|
+
Zs as GroupRadio,
|
|
4125
4167
|
xn as HARD_CLIP,
|
|
4126
|
-
|
|
4127
|
-
|
|
4128
|
-
|
|
4168
|
+
qs as HighlightCard,
|
|
4169
|
+
Ys as HybridDatePicker,
|
|
4170
|
+
Qs as ImportWizard,
|
|
4129
4171
|
Fa as InlineNudge,
|
|
4130
|
-
|
|
4131
|
-
|
|
4132
|
-
|
|
4172
|
+
Xs as Input,
|
|
4173
|
+
Js as InputAddon,
|
|
4174
|
+
ei as InputGroup,
|
|
4133
4175
|
xa as LeaderboardCard,
|
|
4134
4176
|
Sa as LeaderboardTilePreview,
|
|
4135
4177
|
Na as LensChipGroup,
|
|
4136
|
-
|
|
4137
|
-
|
|
4178
|
+
ti as Link,
|
|
4179
|
+
ai as LoginForm,
|
|
4138
4180
|
be as MagnitudeBar,
|
|
4139
|
-
|
|
4140
|
-
|
|
4141
|
-
|
|
4142
|
-
|
|
4143
|
-
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
|
|
4148
|
-
|
|
4181
|
+
ni as MarketPresetRow,
|
|
4182
|
+
ri as MaskPresets,
|
|
4183
|
+
si as MaskedInput,
|
|
4184
|
+
ii as Menu,
|
|
4185
|
+
oi as MenuDivider,
|
|
4186
|
+
li as MenuGroup,
|
|
4187
|
+
ci as MenuItem,
|
|
4188
|
+
di as MergePrompt,
|
|
4189
|
+
ui as MetricCard,
|
|
4190
|
+
mi as MetricCardGrid,
|
|
4149
4191
|
sa as MetricGroupContainer,
|
|
4150
|
-
|
|
4192
|
+
gi as MiniCalendar,
|
|
4151
4193
|
ka as MoreInLensRail,
|
|
4152
|
-
|
|
4153
|
-
|
|
4154
|
-
|
|
4155
|
-
|
|
4156
|
-
|
|
4194
|
+
pi as MultiSelect,
|
|
4195
|
+
hi as NumberInput,
|
|
4196
|
+
fi as ObjectArrow,
|
|
4197
|
+
vi as OrderFilterBar,
|
|
4198
|
+
Qo as PERIOD_OPTIONS,
|
|
4157
4199
|
hr as PaceCard,
|
|
4158
4200
|
fr as PaceTilePreview,
|
|
4159
|
-
|
|
4201
|
+
Ut as PageChip,
|
|
4160
4202
|
Je as PageDropdown,
|
|
4161
|
-
|
|
4162
|
-
|
|
4163
|
-
|
|
4164
|
-
|
|
4165
|
-
|
|
4203
|
+
bi as PasswordInput,
|
|
4204
|
+
yi as PaymentForm,
|
|
4205
|
+
wi as PaymentMethodSelect,
|
|
4206
|
+
_i as PhoneInput,
|
|
4207
|
+
Ni as PinToMetric,
|
|
4166
4208
|
Ba as PresetSwatchRow,
|
|
4167
|
-
|
|
4168
|
-
|
|
4169
|
-
|
|
4209
|
+
Di as ProfileCard,
|
|
4210
|
+
ki as ProgressCard,
|
|
4211
|
+
Ci as QuickConfigPanel,
|
|
4170
4212
|
ea as RECONFIG_BACKSIDE_LABELS,
|
|
4171
|
-
|
|
4172
|
-
|
|
4173
|
-
|
|
4174
|
-
|
|
4213
|
+
Xo as ROLLING_OPTIONS,
|
|
4214
|
+
xi as Radio,
|
|
4215
|
+
Si as RadioGroup,
|
|
4216
|
+
Ti as RangeSlider,
|
|
4175
4217
|
fe as RankBadge,
|
|
4176
4218
|
rt as RankDelta,
|
|
4177
|
-
|
|
4219
|
+
Mi as Rating,
|
|
4178
4220
|
na as ReconfigBacksideButtons,
|
|
4179
|
-
|
|
4221
|
+
Ri as RegistrationForm,
|
|
4180
4222
|
or as ResizeEnvelope,
|
|
4181
|
-
|
|
4182
|
-
|
|
4183
|
-
|
|
4223
|
+
Ii as Row1Controls,
|
|
4224
|
+
Pi as Row2FilterTray,
|
|
4225
|
+
wr as STROKE_DASHED,
|
|
4226
|
+
Dr as STROKE_OUTLINE,
|
|
4227
|
+
_r as STROKE_SOLID,
|
|
4228
|
+
Nr as STROKE_SPARSE_DASH,
|
|
4229
|
+
Fi as SearchInput,
|
|
4184
4230
|
dr as SectionDivider,
|
|
4185
|
-
|
|
4186
|
-
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
|
|
4231
|
+
Cr as SectionDots,
|
|
4232
|
+
Ei as SegmentCard,
|
|
4233
|
+
Ai as SegmentedControl,
|
|
4234
|
+
Li as Select,
|
|
4235
|
+
Oi as Selectable,
|
|
4190
4236
|
ve as SeverityDot,
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
|
|
4196
|
-
|
|
4197
|
-
|
|
4237
|
+
$i as SimpleMetricCard,
|
|
4238
|
+
Bi as SimpleSelector,
|
|
4239
|
+
Ki as Skeleton,
|
|
4240
|
+
zi as SkeletonCard,
|
|
4241
|
+
Wi as SkeletonChart,
|
|
4242
|
+
Gi as SkeletonTable,
|
|
4243
|
+
Hi as Slider,
|
|
4198
4244
|
gr as SnapOutline,
|
|
4199
|
-
|
|
4200
|
-
|
|
4201
|
-
|
|
4245
|
+
Vi as Sortable,
|
|
4246
|
+
Ua as SortableZones,
|
|
4247
|
+
ji as SparklineBg,
|
|
4202
4248
|
cr as SpilloverArc,
|
|
4203
|
-
|
|
4204
|
-
|
|
4249
|
+
Ui as SplitButton,
|
|
4250
|
+
Zi as StackedGroupCard,
|
|
4205
4251
|
Pa as StackedGroupTilePreview,
|
|
4206
4252
|
Da as StarterRail,
|
|
4207
|
-
|
|
4253
|
+
qi as StatusModeCard,
|
|
4208
4254
|
Ot as StatusSlotChipMenu,
|
|
4209
|
-
|
|
4255
|
+
Yi as Stepper,
|
|
4210
4256
|
Qe as SwingReveal,
|
|
4211
|
-
|
|
4257
|
+
Jo as TODAY_PRESET,
|
|
4212
4258
|
re as TUNING_DEFAULTS,
|
|
4213
4259
|
nt as TUNING_STORAGE_KEY,
|
|
4214
|
-
|
|
4215
|
-
|
|
4216
|
-
|
|
4260
|
+
Qi as TabGroup,
|
|
4261
|
+
Xi as TabbedDataView,
|
|
4262
|
+
Ji as TagInput,
|
|
4217
4263
|
Rt as TargetInput,
|
|
4218
|
-
|
|
4264
|
+
eo as Textarea,
|
|
4219
4265
|
La as ThresholdRamp,
|
|
4220
|
-
|
|
4221
|
-
|
|
4222
|
-
|
|
4223
|
-
|
|
4224
|
-
|
|
4225
|
-
|
|
4226
|
-
|
|
4227
|
-
|
|
4228
|
-
|
|
4266
|
+
to as TimeFrame,
|
|
4267
|
+
ao as TimePicker,
|
|
4268
|
+
no as Toggle,
|
|
4269
|
+
ro as Tooltip,
|
|
4270
|
+
so as Transition,
|
|
4271
|
+
io as TransitionGroup,
|
|
4272
|
+
oo as TrendCard,
|
|
4273
|
+
lo as TrendIndicator,
|
|
4274
|
+
jo as UIContext,
|
|
4229
4275
|
Le as UIContextProvider,
|
|
4230
|
-
|
|
4231
|
-
|
|
4232
|
-
|
|
4233
|
-
|
|
4234
|
-
|
|
4276
|
+
co as UnifiedBreakdownTable,
|
|
4277
|
+
uo as UnifiedContextMenu,
|
|
4278
|
+
Kt as VelocityBuffer,
|
|
4279
|
+
mo as addressGroupMetadata,
|
|
4280
|
+
go as addressSchema,
|
|
4235
4281
|
mn as allChips,
|
|
4236
4282
|
Pn as allStateFixtures,
|
|
4237
4283
|
In as allVariantFixtures,
|
|
4238
4284
|
fn as blockSamples,
|
|
4239
|
-
|
|
4285
|
+
po as buildDefaultOverflow,
|
|
4240
4286
|
_n as cardSamples,
|
|
4241
4287
|
Nn as cascadePhysics,
|
|
4242
4288
|
yn as chartSamples,
|
|
@@ -4245,82 +4291,85 @@ export {
|
|
|
4245
4291
|
er as compactLayout,
|
|
4246
4292
|
Gn as compactState,
|
|
4247
4293
|
Rn as computeGutterAnchorX,
|
|
4248
|
-
|
|
4249
|
-
|
|
4250
|
-
|
|
4251
|
-
|
|
4252
|
-
|
|
4294
|
+
ho as contactFormMetadata,
|
|
4295
|
+
fo as contactSchema,
|
|
4296
|
+
Hn as contextMenuFixtures,
|
|
4297
|
+
vo as creditCardFormMetadata,
|
|
4298
|
+
bo as creditCardSchema,
|
|
4253
4299
|
Ft as dateChip,
|
|
4254
4300
|
at as defaultControlBarState,
|
|
4255
|
-
|
|
4256
|
-
|
|
4257
|
-
|
|
4301
|
+
yo as destructiveModalMetadata,
|
|
4302
|
+
wo as durations,
|
|
4303
|
+
_o as easings,
|
|
4258
4304
|
Gt as emptyFixture,
|
|
4259
4305
|
It as entityChip,
|
|
4260
4306
|
Qt as entityNameActions,
|
|
4261
4307
|
pn as entityTabGroup,
|
|
4262
4308
|
Wt as errorFixture,
|
|
4263
|
-
|
|
4309
|
+
No as evaluateTintCondition,
|
|
4264
4310
|
Wn as filteredState,
|
|
4265
|
-
|
|
4266
|
-
|
|
4267
|
-
|
|
4268
|
-
|
|
4269
|
-
|
|
4311
|
+
el as findPreset,
|
|
4312
|
+
tl as formatDateRange,
|
|
4313
|
+
al as formatMarketDates,
|
|
4314
|
+
nl as formatTrend,
|
|
4315
|
+
rl as formatValue,
|
|
4270
4316
|
ar as fullLayout,
|
|
4271
|
-
|
|
4272
|
-
|
|
4273
|
-
|
|
4274
|
-
|
|
4275
|
-
|
|
4276
|
-
|
|
4277
|
-
|
|
4278
|
-
|
|
4317
|
+
sl as generateMarketId,
|
|
4318
|
+
Do as generateTabId,
|
|
4319
|
+
il as getAllPresets,
|
|
4320
|
+
ol as getDateRangeForPreset,
|
|
4321
|
+
ko as getMenuActions,
|
|
4322
|
+
Tn as getMotionMode,
|
|
4323
|
+
ll as getPresetLabel,
|
|
4324
|
+
Co as getTransitionStyle,
|
|
4279
4325
|
Jn as gridCards,
|
|
4280
|
-
|
|
4281
|
-
|
|
4282
|
-
|
|
4283
|
-
|
|
4284
|
-
|
|
4326
|
+
vr as gridChannels,
|
|
4327
|
+
xo as interpolate,
|
|
4328
|
+
cl as isInRange,
|
|
4329
|
+
dl as isMarketActive,
|
|
4330
|
+
ul as isSameDay,
|
|
4331
|
+
zn as itemColumns,
|
|
4285
4332
|
Bn as itemRows,
|
|
4286
|
-
|
|
4287
|
-
|
|
4288
|
-
|
|
4333
|
+
zt as loadingFixture,
|
|
4334
|
+
So as loginFormMetadata,
|
|
4335
|
+
To as loginSchema,
|
|
4289
4336
|
Et as manufacturerChip,
|
|
4290
4337
|
ir as manyTabs,
|
|
4291
|
-
|
|
4292
|
-
|
|
4338
|
+
Mo as mergeHandlers,
|
|
4339
|
+
Ro as mergeRefs,
|
|
4293
4340
|
gn as metricTabGroup,
|
|
4294
4341
|
rr as mixedTabs,
|
|
4295
|
-
|
|
4342
|
+
ml as normalizePresetId,
|
|
4296
4343
|
Jt as numericActions,
|
|
4297
|
-
|
|
4344
|
+
Kn as orderColumns,
|
|
4298
4345
|
Xt as orderIdActions,
|
|
4299
4346
|
$n as orderRows,
|
|
4300
4347
|
nr as ordersTabs,
|
|
4301
|
-
|
|
4302
|
-
|
|
4303
|
-
|
|
4304
|
-
|
|
4348
|
+
br as paletteHex,
|
|
4349
|
+
yr as paletteVars,
|
|
4350
|
+
Io as parseNumericValue,
|
|
4351
|
+
Po as paymentFormMetadata,
|
|
4352
|
+
Fo as paymentSchema,
|
|
4353
|
+
Eo as presets,
|
|
4305
4354
|
kn as provisional,
|
|
4306
4355
|
Cn as reducedMotion,
|
|
4307
|
-
|
|
4308
|
-
|
|
4356
|
+
Ao as registrationFormMetadata,
|
|
4357
|
+
Lo as registrationSchema,
|
|
4309
4358
|
Dn as rejectionFeedback,
|
|
4310
|
-
|
|
4359
|
+
jn as sampleCompareRanges,
|
|
4311
4360
|
qn as sampleCustomMarkets,
|
|
4312
|
-
|
|
4361
|
+
Vn as sampleDateRange,
|
|
4313
4362
|
Yn as sampleMarketPresetData,
|
|
4314
4363
|
Zn as sampleMarkets,
|
|
4315
4364
|
Xn as samplePeriodPresets,
|
|
4316
|
-
|
|
4365
|
+
Un as samplePreferences,
|
|
4317
4366
|
Qn as samplePresets,
|
|
4318
4367
|
sr as singleTab,
|
|
4319
4368
|
Fn as sparklineFixture,
|
|
4320
4369
|
En as sparklineUpFixture,
|
|
4321
|
-
|
|
4322
|
-
|
|
4323
|
-
|
|
4370
|
+
jt as staleDonutFixture,
|
|
4371
|
+
Ht as staleFixture,
|
|
4372
|
+
Vt as staleSparklineFixture,
|
|
4324
4373
|
An as standardFixture,
|
|
4325
4374
|
On as standardFlatFixture,
|
|
4326
4375
|
tr as standardLayout,
|
|
@@ -4330,19 +4379,19 @@ export {
|
|
|
4330
4379
|
wn as tableSamples,
|
|
4331
4380
|
vn as textSamples,
|
|
4332
4381
|
hn as timeFrameTabGroup,
|
|
4333
|
-
|
|
4382
|
+
gl as toUppercasePresetId,
|
|
4334
4383
|
un as useArrowNavigation,
|
|
4335
|
-
|
|
4336
|
-
|
|
4337
|
-
|
|
4338
|
-
|
|
4339
|
-
|
|
4340
|
-
|
|
4384
|
+
Oo as useCheckboxGroupContext,
|
|
4385
|
+
Mn as useEdgeHoverResize,
|
|
4386
|
+
$o as useFilterLayout,
|
|
4387
|
+
Bo as useFlipAndStage,
|
|
4388
|
+
Ko as useFlipAndStageContext,
|
|
4389
|
+
zo as useFlipAndStageContextOptional,
|
|
4341
4390
|
dn as useFocusReturn,
|
|
4342
|
-
|
|
4343
|
-
|
|
4344
|
-
|
|
4391
|
+
Wo as useFocusTrap,
|
|
4392
|
+
Go as useFormContext,
|
|
4393
|
+
Ho as useRadioGroupContext,
|
|
4345
4394
|
la as useResizeTuning,
|
|
4346
4395
|
Wa as useSortableZones,
|
|
4347
|
-
|
|
4396
|
+
Uo as useUIContext
|
|
4348
4397
|
};
|