@mt-gloss/ui 0.1.41 → 0.1.43
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 +409 -351
- package/lib/primitives/dashboard/CascadePreview/CascadePreview.d.ts +17 -1
- package/lib/primitives/dashboard/SnapOutline/SnapOutline.d.ts +4 -1
- 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/ui.css +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 Vr, J as Hr, 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 Vs, a3 as Hs, 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 Vi, ba as Hi, 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 Vo } 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 H, { useRef as
|
|
5
|
+
import H, { 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,19 +635,19 @@ 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, V = Math.max(
|
|
639
639
|
A,
|
|
640
640
|
_.current ?? f
|
|
641
641
|
);
|
|
642
|
-
let W =
|
|
642
|
+
let W = z;
|
|
643
643
|
for (; A + W < V; ) {
|
|
644
|
-
const ae = W *
|
|
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
|
}
|
|
@@ -657,40 +657,40 @@ function Tn({
|
|
|
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 V = oe(
|
|
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 V = oe(z, G.current, e), W = V > e ? "grow" : V < e ? "shrink" : null;
|
|
694
694
|
ie(V, W);
|
|
695
695
|
},
|
|
696
696
|
[oe, e, f, ie]
|
|
@@ -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 V =
|
|
732
|
-
x.set(
|
|
730
|
+
const k = (z) => {
|
|
731
|
+
const V = z.clientX - (I.current ?? z.clientX), W = S.current, ce = q(1), ae = q(f), we = W + V, ze = Math.max(ce, Math.min(ae, we));
|
|
732
|
+
x.set(ze);
|
|
733
733
|
const _e = c.current, Ce = (f - e) * _e, xe = (1 - e) * _e, de = Math.max(xe, Math.min(Ce, V));
|
|
734
|
-
|
|
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, V) => {
|
|
738
738
|
if (b.current === "dragging")
|
|
739
|
-
if (
|
|
740
|
-
const W =
|
|
741
|
-
V &&
|
|
739
|
+
if (z === "pointerup") {
|
|
740
|
+
const W = U.current.tail(), ce = V?.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
|
+
V && U.current.push({ x: V.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
|
|
@@ -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
1017
|
Vt,
|
|
1018
1018
|
Ht,
|
|
1019
|
-
|
|
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 = H.createElement("span", { style: { color: "var(--color-text-muted)" } }, "—"),
|
|
1543
|
+
const he = H.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",
|
|
@@ -1820,7 +1820,7 @@ const he = H.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1820
1820
|
}, Hn = [
|
|
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,8 +1919,8 @@ 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
1925
|
function He(...e) {
|
|
1926
1926
|
return e.filter(Boolean).join(" ");
|
|
@@ -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":
|
|
@@ -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,7 +2082,7 @@ const Jn = [
|
|
|
2082
2082
|
currentPage: 0,
|
|
2083
2083
|
totalPages: 3
|
|
2084
2084
|
};
|
|
2085
|
-
function
|
|
2085
|
+
function Te(e) {
|
|
2086
2086
|
return H.createElement("span", { style: { fontSize: 14 } }, e);
|
|
2087
2087
|
}
|
|
2088
2088
|
const nr = [
|
|
@@ -2090,7 +2090,7 @@ const nr = [
|
|
|
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);
|
|
@@ -2707,19 +2707,28 @@ function gr({
|
|
|
2707
2707
|
function pr({
|
|
2708
2708
|
items: e,
|
|
2709
2709
|
children: t,
|
|
2710
|
-
className: n
|
|
2710
|
+
className: n,
|
|
2711
|
+
debugMagenta: a
|
|
2711
2712
|
}) {
|
|
2712
|
-
|
|
2713
|
+
const i = process.env.NODE_ENV !== "production" && (a || typeof window < "u" && window.__GLOSS_CASCADE_PREVIEW_DEBUG__ === !0);
|
|
2714
|
+
return e.length === 0 ? null : /* @__PURE__ */ r(te, { children: e.map((s) => /* @__PURE__ */ r(
|
|
2713
2715
|
De.div,
|
|
2714
2716
|
{
|
|
2715
|
-
"data-card-id":
|
|
2717
|
+
"data-card-id": s.cardId,
|
|
2716
2718
|
"data-testid": "gloss-cascade-preview-item",
|
|
2717
2719
|
"aria-hidden": "true",
|
|
2718
2720
|
className: ["gloss-cascade-preview-item", n].filter(Boolean).join(" "),
|
|
2719
|
-
style: {
|
|
2720
|
-
|
|
2721
|
+
style: {
|
|
2722
|
+
position: "absolute",
|
|
2723
|
+
x: s.x,
|
|
2724
|
+
y: s.y,
|
|
2725
|
+
width: s.width,
|
|
2726
|
+
height: s.height,
|
|
2727
|
+
...i ? { outline: "2px solid magenta" } : {}
|
|
2728
|
+
},
|
|
2729
|
+
children: t(s)
|
|
2721
2730
|
},
|
|
2722
|
-
|
|
2731
|
+
s.cardId
|
|
2723
2732
|
)) });
|
|
2724
2733
|
}
|
|
2725
2734
|
const ba = ({
|
|
@@ -2727,7 +2736,7 @@ const ba = ({
|
|
|
2727
2736
|
elapsed: t,
|
|
2728
2737
|
severity: n = "neutral"
|
|
2729
2738
|
}) => {
|
|
2730
|
-
const a =
|
|
2739
|
+
const a = M(null), i = M(null);
|
|
2731
2740
|
L(() => {
|
|
2732
2741
|
const l = Math.min(100, Math.max(0, e.value)), u = Math.min(100, Math.max(0, t.value)), d = requestAnimationFrame(() => {
|
|
2733
2742
|
a.current && (a.current.style.width = `${l}%`), i.current && (i.current.style.width = `${u}%`);
|
|
@@ -3163,7 +3172,7 @@ const Sa = () => /* @__PURE__ */ N(
|
|
|
3163
3172
|
}
|
|
3164
3173
|
);
|
|
3165
3174
|
Sa.displayName = "LeaderboardTilePreview";
|
|
3166
|
-
const
|
|
3175
|
+
const Ta = (e) => e === "critical" ? "Critical severity" : e === "warn" ? "Warning severity" : "Info severity", Ma = (e, t) => {
|
|
3167
3176
|
const n = e.sourceValue;
|
|
3168
3177
|
if (typeof n != "number") return !1;
|
|
3169
3178
|
switch (t.condition) {
|
|
@@ -3190,7 +3199,7 @@ function Ra({
|
|
|
3190
3199
|
ruleSubtitle: s,
|
|
3191
3200
|
isStale: o
|
|
3192
3201
|
}) {
|
|
3193
|
-
const l = t.filter((d) =>
|
|
3202
|
+
const l = t.filter((d) => Ma(d, n)), u = l.slice(0, a ?? 3);
|
|
3194
3203
|
return l.length === 0 ? /* @__PURE__ */ N(te, { children: [
|
|
3195
3204
|
/* @__PURE__ */ r(
|
|
3196
3205
|
pe,
|
|
@@ -3219,7 +3228,7 @@ function Ra({
|
|
|
3219
3228
|
children: /* @__PURE__ */ r("div", { className: "gloss-exception-list__rows", role: "list", children: u.map((d, p) => /* @__PURE__ */ r(
|
|
3220
3229
|
X,
|
|
3221
3230
|
{
|
|
3222
|
-
lead: /* @__PURE__ */ r(ve, { severity: d.severity, "aria-label":
|
|
3231
|
+
lead: /* @__PURE__ */ r(ve, { severity: d.severity, "aria-label": Ta(d.severity) }),
|
|
3223
3232
|
name: d.name,
|
|
3224
3233
|
value: d.value,
|
|
3225
3234
|
variant: "exception",
|
|
@@ -3268,7 +3277,7 @@ const Ia = () => /* @__PURE__ */ N(
|
|
|
3268
3277
|
}
|
|
3269
3278
|
);
|
|
3270
3279
|
Ia.displayName = "ExceptionListTilePreview";
|
|
3271
|
-
const
|
|
3280
|
+
const Ue = ["MTD", "QTD", "YTD", "LYTD", "7D"], Ze = ["$248K", "$612K", "$1.24M", "$980K", "$54K"], qe = [
|
|
3272
3281
|
"M0,7 L10,5 L20,6 L30,3 L40,2",
|
|
3273
3282
|
"M0,6 L10,4 L20,5 L30,2 L40,1",
|
|
3274
3283
|
"M0,8 L10,7 L20,5 L30,4 L40,2",
|
|
@@ -3276,11 +3285,11 @@ const je = ["MTD", "QTD", "YTD", "LYTD", "7D"], Ze = ["$248K", "$612K", "$1.24M"
|
|
|
3276
3285
|
"M0,7 L10,4 L20,5 L30,3 L40,2"
|
|
3277
3286
|
], Pa = ({
|
|
3278
3287
|
slotCount: e = 3,
|
|
3279
|
-
labels: t =
|
|
3288
|
+
labels: t = Ue,
|
|
3280
3289
|
sampleValues: n = Ze
|
|
3281
3290
|
}) => {
|
|
3282
3291
|
const a = Array.from({ length: e }, (i, s) => ({
|
|
3283
|
-
label: t[s] ??
|
|
3292
|
+
label: t[s] ?? Ue[s] ?? "",
|
|
3284
3293
|
value: n[s] ?? Ze[s] ?? "",
|
|
3285
3294
|
sparkPath: qe[s % qe.length]
|
|
3286
3295
|
}));
|
|
@@ -3309,7 +3318,49 @@ const je = ["MTD", "QTD", "YTD", "LYTD", "7D"], Ze = ["$248K", "$612K", "$1.24M"
|
|
|
3309
3318
|
);
|
|
3310
3319
|
};
|
|
3311
3320
|
Pa.displayName = "StackedGroupTilePreview";
|
|
3312
|
-
const
|
|
3321
|
+
const vr = {
|
|
3322
|
+
/** GEV-01 — Eligibility tint. Contiguous-from-source paint; blocked by first occupied cell (Principle 4). */
|
|
3323
|
+
eligibilityTint: { applicableStates: ["arming", "active"] },
|
|
3324
|
+
/** GEV-01 — Commit tint. Fill+stroke emphasis on the commit-target cell footprint (G-02). */
|
|
3325
|
+
commitTint: { applicableStates: ["active"] },
|
|
3326
|
+
/** GEV-01 — Rejection tint. Static fill on cells beyond reach. Stays while rejection condition holds. */
|
|
3327
|
+
rejectionTint: { applicableStates: ["active"] },
|
|
3328
|
+
/** GEV-01 — Tracking outline. Solid 2.5px outline at commit footprint (G-02). Dashes + retreats on rejection — NEVER red (D-01 / Principle 1). */
|
|
3329
|
+
trackingOutline: { applicableStates: ["active", "settling"] },
|
|
3330
|
+
/** GEV-01 — Commit ghost. Drag-only floating clone (D-01 — clean card with shadow + scale). Resize: N/A (subsumed by trackingOutline). */
|
|
3331
|
+
commitGhost: { applicableStates: ["active", "settling"] },
|
|
3332
|
+
/** GEV-01 — Displaced preview. Neighbor-shift preview during cascade-insert. */
|
|
3333
|
+
displacedPreview: { applicableStates: ["active"] },
|
|
3334
|
+
/** GEV-01 — Chrome. Drag/resize affordances — hidden when active per R-05 hide-on-active rule. */
|
|
3335
|
+
chrome: { applicableStates: ["idle", "arming"] },
|
|
3336
|
+
/** GEV-01 — Hide-on-active rule. The rule itself: while a gesture is active, chrome+affordances suppress. */
|
|
3337
|
+
hideOnActive: { applicableStates: ["active"] },
|
|
3338
|
+
/** GEV-01 — Refuse pulse. Discrete moment of crossing into rejection. Fires ONCE per transition (Principle 2). No strobing. */
|
|
3339
|
+
refusePulse: { applicableStates: ["active"] }
|
|
3340
|
+
}, br = {
|
|
3341
|
+
baseCellTint: "#F1F4F8",
|
|
3342
|
+
// Grey · Neutral −2
|
|
3343
|
+
eligibilityFill: "#6F87D2",
|
|
3344
|
+
// Action 0 fill
|
|
3345
|
+
commitFill: "#4664C0",
|
|
3346
|
+
// Action +2 fill
|
|
3347
|
+
commitStroke: "#2541A1",
|
|
3348
|
+
// Action +3 stroke
|
|
3349
|
+
rejectionFill: "#F0BAC1",
|
|
3350
|
+
// Rejection −1 fill
|
|
3351
|
+
rejectionStroke: "#BB2A39",
|
|
3352
|
+
// Rejection +2 stroke (sparse-dash)
|
|
3353
|
+
trackingOutline: "#2541A1"
|
|
3354
|
+
// Action +3 — same hex as commitStroke per D-01
|
|
3355
|
+
}, yr = {
|
|
3356
|
+
baseCellTint: "var(--gloss-g02-base-cell-tint)",
|
|
3357
|
+
eligibilityFill: "var(--gloss-g02-eligibility-fill)",
|
|
3358
|
+
commitFill: "var(--gloss-g02-commit-fill)",
|
|
3359
|
+
commitStroke: "var(--gloss-g02-commit-stroke)",
|
|
3360
|
+
rejectionFill: "var(--gloss-g02-rejection-fill)",
|
|
3361
|
+
rejectionStroke: "var(--gloss-g02-rejection-stroke)",
|
|
3362
|
+
trackingOutline: "var(--gloss-g02-tracking-outline)"
|
|
3363
|
+
}, wr = "dashed", _r = "solid", Nr = "sparse-dash", Dr = "2px no-fill", ne = {
|
|
3313
3364
|
"gloss-inline-nudge": "_gloss-inline-nudge_kdk88_34",
|
|
3314
3365
|
"gloss-inline-nudge__message": "_gloss-inline-nudge__message_kdk88_65",
|
|
3315
3366
|
"gloss-inline-nudge__actions": "_gloss-inline-nudge__actions_kdk88_72",
|
|
@@ -3409,7 +3460,7 @@ function La({
|
|
|
3409
3460
|
), 0.01) : i, l = w(
|
|
3410
3461
|
(c) => Math.round(c / o) * o,
|
|
3411
3462
|
[o]
|
|
3412
|
-
), u =
|
|
3463
|
+
), u = M(null), [d, p] = $(null), [f, g] = $(e), m = Aa(e), D = M(m);
|
|
3413
3464
|
L(() => {
|
|
3414
3465
|
D.current !== m && (D.current = m, !d && g(e));
|
|
3415
3466
|
}, [m, e, d]);
|
|
@@ -3426,15 +3477,15 @@ function La({
|
|
|
3426
3477
|
`ThresholdRamp: max (${a}) must be greater than min (${n}); rendering degenerate strip.`
|
|
3427
3478
|
);
|
|
3428
3479
|
}, [n, a]);
|
|
3429
|
-
const
|
|
3480
|
+
const T = w(
|
|
3430
3481
|
(c, v) => {
|
|
3431
3482
|
const _ = f.find((S) => S.id === v);
|
|
3432
3483
|
s || _?.disabled || (c.preventDefault(), p(v));
|
|
3433
3484
|
},
|
|
3434
3485
|
[s, f]
|
|
3435
|
-
), P =
|
|
3486
|
+
), P = M(f);
|
|
3436
3487
|
P.current = f;
|
|
3437
|
-
const C =
|
|
3488
|
+
const C = M(t);
|
|
3438
3489
|
C.current = t, L(() => {
|
|
3439
3490
|
if (!d) return;
|
|
3440
3491
|
const c = (_) => {
|
|
@@ -3480,10 +3531,10 @@ function La({
|
|
|
3480
3531
|
c.preventDefault();
|
|
3481
3532
|
const x = Math.max(n, Math.min(a, b)), F = l(x);
|
|
3482
3533
|
if (F === v.value) return;
|
|
3483
|
-
const
|
|
3534
|
+
const j = f.map(
|
|
3484
3535
|
(q) => q.id === v.id ? { ...q, value: F } : q
|
|
3485
3536
|
);
|
|
3486
|
-
g(
|
|
3537
|
+
g(j), t(j);
|
|
3487
3538
|
},
|
|
3488
3539
|
[s, n, a, f, t, l]
|
|
3489
3540
|
);
|
|
@@ -3505,7 +3556,7 @@ function La({
|
|
|
3505
3556
|
},
|
|
3506
3557
|
"data-disabled": c.disabled || void 0,
|
|
3507
3558
|
"data-dragging": d === c.id || void 0,
|
|
3508
|
-
onPointerDown: (_) =>
|
|
3559
|
+
onPointerDown: (_) => T(_, c.id),
|
|
3509
3560
|
onKeyDown: (_) => I(_, c),
|
|
3510
3561
|
"aria-label": c.label ?? `Stop at ${c.value}`,
|
|
3511
3562
|
role: "slider",
|
|
@@ -3572,12 +3623,12 @@ function Ba({
|
|
|
3572
3623
|
), f = w(
|
|
3573
3624
|
(C) => d === C,
|
|
3574
3625
|
[d]
|
|
3575
|
-
), g =
|
|
3626
|
+
), g = M(/* @__PURE__ */ new Map()), m = w((C, R) => {
|
|
3576
3627
|
R ? g.current.set(C, R) : g.current.delete(C);
|
|
3577
3628
|
}, []), D = e.filter((C) => !C.disabled && !i), y = D.find((C) => C.value === d)?.value ?? D[0]?.value, h = w((C) => {
|
|
3578
3629
|
const R = g.current.get(C);
|
|
3579
3630
|
R && R.focus();
|
|
3580
|
-
}, []),
|
|
3631
|
+
}, []), T = w(
|
|
3581
3632
|
(C, R) => {
|
|
3582
3633
|
if (i) return;
|
|
3583
3634
|
const I = e.filter((S) => !S.disabled);
|
|
@@ -3620,7 +3671,7 @@ function Ba({
|
|
|
3620
3671
|
name: s,
|
|
3621
3672
|
registerRef: m,
|
|
3622
3673
|
firstFocusableValue: y,
|
|
3623
|
-
onKeyNav:
|
|
3674
|
+
onKeyNav: T
|
|
3624
3675
|
};
|
|
3625
3676
|
return /* @__PURE__ */ r(st.Provider, { value: P, children: /* @__PURE__ */ r(
|
|
3626
3677
|
"div",
|
|
@@ -3645,11 +3696,11 @@ function Ye(e, t) {
|
|
|
3645
3696
|
const n = e.find((a) => a.zoneKey === t);
|
|
3646
3697
|
return n ? n.zoneKey : Ae(e, t);
|
|
3647
3698
|
}
|
|
3648
|
-
function
|
|
3699
|
+
function Ka(e, t, n) {
|
|
3649
3700
|
const a = [...e], [i] = a.splice(t, 1);
|
|
3650
3701
|
return a.splice(n, 0, i), a;
|
|
3651
3702
|
}
|
|
3652
|
-
function
|
|
3703
|
+
function za(e) {
|
|
3653
3704
|
return e.map((t) => `${t.zoneKey}:${t.items.map((n) => n.id).join(",")}`).join("|");
|
|
3654
3705
|
}
|
|
3655
3706
|
function Wa(e) {
|
|
@@ -3657,12 +3708,12 @@ function Wa(e) {
|
|
|
3657
3708
|
() => e.zones.map((h) => h.maxItems !== void 0 && h.items.length > h.maxItems ? (process.env.NODE_ENV !== "production" && console.warn(
|
|
3658
3709
|
`useSortableZones: zone "${h.zoneKey}" exceeds maxItems (${h.items.length} > ${h.maxItems}); trimming to cap.`
|
|
3659
3710
|
), { ...h, items: h.items.slice(0, h.maxItems) }) : h)
|
|
3660
|
-
), [a, i] = $(null), [s, o] = $(null), l =
|
|
3711
|
+
), [a, i] = $(null), [s, o] = $(null), l = M(null), u = M(e.onZoneChange);
|
|
3661
3712
|
u.current = e.onZoneChange;
|
|
3662
3713
|
const d = ye(
|
|
3663
|
-
() =>
|
|
3714
|
+
() => za(e.zones),
|
|
3664
3715
|
[e.zones]
|
|
3665
|
-
), p =
|
|
3716
|
+
), p = M(d);
|
|
3666
3717
|
L(() => {
|
|
3667
3718
|
p.current !== d && (p.current = d, !a && n(
|
|
3668
3719
|
e.zones.map((h) => h.maxItems !== void 0 && h.items.length > h.maxItems ? (process.env.NODE_ENV !== "production" && console.warn(
|
|
@@ -3672,10 +3723,10 @@ function Wa(e) {
|
|
|
3672
3723
|
}, [d, e.zones, a]);
|
|
3673
3724
|
const f = w(
|
|
3674
3725
|
(h) => {
|
|
3675
|
-
const
|
|
3726
|
+
const T = h.active.id;
|
|
3676
3727
|
let P = null, C = null;
|
|
3677
3728
|
for (const R of t) {
|
|
3678
|
-
const I = R.items.find((c) => c.id ===
|
|
3729
|
+
const I = R.items.find((c) => c.id === T);
|
|
3679
3730
|
if (I) {
|
|
3680
3731
|
P = I, C = R.zoneKey;
|
|
3681
3732
|
break;
|
|
@@ -3690,49 +3741,49 @@ function Wa(e) {
|
|
|
3690
3741
|
o(l.current);
|
|
3691
3742
|
return;
|
|
3692
3743
|
}
|
|
3693
|
-
const
|
|
3694
|
-
o(
|
|
3744
|
+
const T = Ye(t, h.over.id);
|
|
3745
|
+
o(T);
|
|
3695
3746
|
},
|
|
3696
3747
|
[t]
|
|
3697
3748
|
), m = w(
|
|
3698
3749
|
(h) => {
|
|
3699
|
-
const { active:
|
|
3750
|
+
const { active: T, over: P } = h, C = () => {
|
|
3700
3751
|
l.current = null, i(null), o(null);
|
|
3701
3752
|
};
|
|
3702
3753
|
if (!P) {
|
|
3703
3754
|
C();
|
|
3704
3755
|
return;
|
|
3705
3756
|
}
|
|
3706
|
-
const R = Ae(t,
|
|
3757
|
+
const R = Ae(t, T.id), I = Ye(t, P.id);
|
|
3707
3758
|
if (!R || !I) {
|
|
3708
3759
|
C();
|
|
3709
3760
|
return;
|
|
3710
3761
|
}
|
|
3711
3762
|
let c = t.map((v) => ({ ...v, items: [...v.items] }));
|
|
3712
3763
|
if (R === I) {
|
|
3713
|
-
const v = c.findIndex((F) => F.zoneKey === R), _ = c[v], S = _.items.findIndex((F) => F.id ===
|
|
3764
|
+
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
3765
|
c[v] = {
|
|
3715
3766
|
..._,
|
|
3716
|
-
items:
|
|
3767
|
+
items: Ka(_.items, S, x)
|
|
3717
3768
|
};
|
|
3718
3769
|
} 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 ===
|
|
3770
|
+
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
3771
|
if (!x) {
|
|
3721
3772
|
C();
|
|
3722
3773
|
return;
|
|
3723
3774
|
}
|
|
3724
|
-
const F = S.items.filter((O) => O.id !==
|
|
3725
|
-
let
|
|
3775
|
+
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;
|
|
3776
|
+
let U = F, G = [...b.items];
|
|
3726
3777
|
if (b.maxItems !== void 0 && G.length >= b.maxItems) {
|
|
3727
3778
|
const O = G[G.length - 1];
|
|
3728
|
-
G = G.slice(0, b.maxItems - 1),
|
|
3779
|
+
G = G.slice(0, b.maxItems - 1), U = [...F, O];
|
|
3729
3780
|
}
|
|
3730
3781
|
const B = Math.min(q, G.length), Z = [
|
|
3731
3782
|
...G.slice(0, B),
|
|
3732
3783
|
x,
|
|
3733
3784
|
...G.slice(B)
|
|
3734
3785
|
];
|
|
3735
|
-
c[v] = { ...S, items:
|
|
3786
|
+
c[v] = { ...S, items: U }, c[_] = { ...b, items: Z };
|
|
3736
3787
|
}
|
|
3737
3788
|
n(c), u.current?.(c), C();
|
|
3738
3789
|
},
|
|
@@ -3745,11 +3796,11 @@ function Wa(e) {
|
|
|
3745
3796
|
[]
|
|
3746
3797
|
), y = w(
|
|
3747
3798
|
(h) => {
|
|
3748
|
-
const
|
|
3799
|
+
const T = Ae(t, h.id) ?? "";
|
|
3749
3800
|
return {
|
|
3750
3801
|
id: h.id,
|
|
3751
3802
|
"data-item-id": h.id,
|
|
3752
|
-
"data-zone-key":
|
|
3803
|
+
"data-zone-key": T
|
|
3753
3804
|
};
|
|
3754
3805
|
},
|
|
3755
3806
|
[t]
|
|
@@ -3765,7 +3816,7 @@ function Wa(e) {
|
|
|
3765
3816
|
handleDragEnd: m
|
|
3766
3817
|
};
|
|
3767
3818
|
}
|
|
3768
|
-
let ge = null, Ne = null,
|
|
3819
|
+
let ge = null, Ne = null, Me = !1;
|
|
3769
3820
|
const Ga = [
|
|
3770
3821
|
"DndContext",
|
|
3771
3822
|
"DragOverlay",
|
|
@@ -3789,8 +3840,8 @@ function Ha(e, t) {
|
|
|
3789
3840
|
i[s] === void 0 && n.push(`@dnd-kit/sortable:${s}`);
|
|
3790
3841
|
return n.length === 0 ? { ok: !0 } : { ok: !1, missing: n };
|
|
3791
3842
|
}
|
|
3792
|
-
function
|
|
3793
|
-
return ge ? Promise.resolve(ge) :
|
|
3843
|
+
function ja() {
|
|
3844
|
+
return ge ? Promise.resolve(ge) : Me ? Promise.resolve(null) : Ne || (Ne = (async () => {
|
|
3794
3845
|
try {
|
|
3795
3846
|
const [e, t, n] = await Promise.all([
|
|
3796
3847
|
import("@dnd-kit/core"),
|
|
@@ -3803,20 +3854,20 @@ function Ua() {
|
|
|
3803
3854
|
core: e,
|
|
3804
3855
|
sortable: t,
|
|
3805
3856
|
utilities: n
|
|
3806
|
-
}, ge) : (
|
|
3857
|
+
}, ge) : (Me = !0, process.env.NODE_ENV !== "production" && console.error(
|
|
3807
3858
|
`SortableZones: @dnd-kit shape mismatch — missing exports: ${a.missing.join(", ")}. Check installed versions against optionalDependencies in @mt-gloss/ui.`
|
|
3808
3859
|
), null);
|
|
3809
3860
|
} catch {
|
|
3810
|
-
return
|
|
3861
|
+
return Me = !0, null;
|
|
3811
3862
|
}
|
|
3812
3863
|
})(), Ne);
|
|
3813
3864
|
}
|
|
3814
|
-
function
|
|
3865
|
+
function Ua(e) {
|
|
3815
3866
|
const { zones: t, onZoneChange: n, renderZone: a, renderItem: i, renderDragOverlay: s } = e, o = Wa({ zones: t, onZoneChange: n }), [l, u] = H.useState(ge);
|
|
3816
3867
|
return H.useEffect(() => {
|
|
3817
3868
|
if (l) return;
|
|
3818
3869
|
let d = !0;
|
|
3819
|
-
return
|
|
3870
|
+
return ja().then((p) => {
|
|
3820
3871
|
d && u(p);
|
|
3821
3872
|
}), () => {
|
|
3822
3873
|
d = !1;
|
|
@@ -3835,7 +3886,7 @@ function ja(e) {
|
|
|
3835
3886
|
return /* @__PURE__ */ r("div", { ...o.getZoneProps(d.zoneKey), children: a(d.zoneKey, d.items, p) }, d.zoneKey);
|
|
3836
3887
|
}) });
|
|
3837
3888
|
}
|
|
3838
|
-
|
|
3889
|
+
Ua.displayName = "SortableZones";
|
|
3839
3890
|
function it({
|
|
3840
3891
|
state: e,
|
|
3841
3892
|
modules: t,
|
|
@@ -3843,7 +3894,7 @@ function it({
|
|
|
3843
3894
|
renderItem: a,
|
|
3844
3895
|
renderDragOverlay: i
|
|
3845
3896
|
}) {
|
|
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:
|
|
3897
|
+
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
3898
|
f(m, { activationConstraint: { distance: 5 } }),
|
|
3848
3899
|
f(D)
|
|
3849
3900
|
), C = u, R = d, I = h;
|
|
@@ -3873,7 +3924,7 @@ function it({
|
|
|
3873
3924
|
zoneKey: c.zoneKey,
|
|
3874
3925
|
zoneProps: e.getZoneProps(c.zoneKey),
|
|
3875
3926
|
useDroppable: g,
|
|
3876
|
-
children: /* @__PURE__ */ r(I, { items: v, strategy:
|
|
3927
|
+
children: /* @__PURE__ */ r(I, { items: v, strategy: T, children: n(c.zoneKey, c.items, _) })
|
|
3877
3928
|
},
|
|
3878
3929
|
c.zoneKey
|
|
3879
3930
|
);
|
|
@@ -3903,7 +3954,7 @@ function lt({
|
|
|
3903
3954
|
return /* @__PURE__ */ r("div", { ref: i, "data-zone-is-over": s || void 0, ...t, children: a });
|
|
3904
3955
|
}
|
|
3905
3956
|
lt.displayName = "ZoneDroppable";
|
|
3906
|
-
function
|
|
3957
|
+
function kr({
|
|
3907
3958
|
slotLeft: e,
|
|
3908
3959
|
slotCenter: t,
|
|
3909
3960
|
slotRight: n,
|
|
@@ -3953,7 +4004,7 @@ function vr({
|
|
|
3953
4004
|
}
|
|
3954
4005
|
);
|
|
3955
4006
|
}
|
|
3956
|
-
function
|
|
4007
|
+
function Cr({
|
|
3957
4008
|
count: e,
|
|
3958
4009
|
currentIndex: t,
|
|
3959
4010
|
onSelect: n,
|
|
@@ -4026,217 +4077,221 @@ const Ya = H.forwardRef(({ density: e = "compact", children: t, ...n }, a) => {
|
|
|
4026
4077
|
});
|
|
4027
4078
|
Ya.displayName = "ContainerTable";
|
|
4028
4079
|
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
|
-
|
|
4080
|
+
Tr as Accordion,
|
|
4081
|
+
Mr as AccordionContent,
|
|
4082
|
+
Rr as AccordionItem,
|
|
4083
|
+
Ir as AccordionTrigger,
|
|
4084
|
+
Pr as ActionStrip,
|
|
4085
|
+
Fr as Actionable,
|
|
4086
|
+
Er as AddressGroup,
|
|
4087
|
+
Ar as AddressSelect,
|
|
4088
|
+
Lr as AsyncLoader,
|
|
4089
|
+
Or as Autocomplete,
|
|
4090
|
+
$r as Badge,
|
|
4091
|
+
Br as BarChartCard,
|
|
4092
|
+
Kr as BarsBg,
|
|
4093
|
+
kr as BottomToolbar,
|
|
4094
|
+
zr as Button,
|
|
4095
|
+
Wr as ButtonGroup,
|
|
4096
|
+
Gr as ButtonGroupContext,
|
|
4097
|
+
Vr as Card,
|
|
4098
|
+
Hr as CardActions,
|
|
4099
|
+
jr as CardBack,
|
|
4100
|
+
Ur as CardBody,
|
|
4101
|
+
Zr as CardFooter,
|
|
4102
|
+
qr as CardHeader,
|
|
4103
|
+
Yr as CardMedia,
|
|
4053
4104
|
pt as CardShell,
|
|
4054
|
-
|
|
4055
|
-
|
|
4105
|
+
Qr as CardSubtitle,
|
|
4106
|
+
Xr as CardTitle,
|
|
4056
4107
|
pr as CascadePreview,
|
|
4057
|
-
|
|
4058
|
-
|
|
4059
|
-
|
|
4060
|
-
|
|
4061
|
-
|
|
4062
|
-
|
|
4063
|
-
|
|
4064
|
-
|
|
4065
|
-
|
|
4066
|
-
|
|
4067
|
-
|
|
4068
|
-
|
|
4069
|
-
|
|
4070
|
-
|
|
4071
|
-
|
|
4072
|
-
|
|
4073
|
-
|
|
4074
|
-
|
|
4075
|
-
|
|
4108
|
+
Jr as ChartControlBar,
|
|
4109
|
+
es as Checkbox,
|
|
4110
|
+
ts as CheckboxGroup,
|
|
4111
|
+
as as Chip,
|
|
4112
|
+
ns as ColorPicker,
|
|
4113
|
+
rs as ComparisonCard,
|
|
4114
|
+
ss as ContactForm,
|
|
4115
|
+
is as ContainerCard,
|
|
4116
|
+
os as ContainerCardActions,
|
|
4117
|
+
ls as ContainerCardBody,
|
|
4118
|
+
cs as ContainerCardFooter,
|
|
4119
|
+
ds as ContainerCardHeader,
|
|
4120
|
+
us as ContainerCardMedia,
|
|
4121
|
+
ms as ContainerCardSubtitle,
|
|
4122
|
+
gs as ContainerCardTitle,
|
|
4123
|
+
ps as ContainerDialog,
|
|
4124
|
+
hs as ContainerDialogActions,
|
|
4125
|
+
fs as ContainerDialogBody,
|
|
4126
|
+
vs as ContainerDialogHeader,
|
|
4076
4127
|
qa as ContainerFormSection,
|
|
4077
|
-
|
|
4128
|
+
bs as ContainerPanel,
|
|
4078
4129
|
Ya as ContainerTable,
|
|
4079
4130
|
Za as ContainerToolbar,
|
|
4080
|
-
|
|
4081
|
-
|
|
4131
|
+
ys as CreditCardForm,
|
|
4132
|
+
ws as DEFAULT_FOOTER_IDS,
|
|
4082
4133
|
se as DEFAULT_GRID_INTERACTION_PHYSICS,
|
|
4083
|
-
|
|
4084
|
-
|
|
4085
|
-
|
|
4134
|
+
qo as DEFAULT_MARKET_PRESETS,
|
|
4135
|
+
_s as DEFAULT_OVERFLOW_IDS,
|
|
4136
|
+
Yo as DEFAULT_PINNED,
|
|
4086
4137
|
Xe as DEFAULT_RESIZE_PHYSICS,
|
|
4087
|
-
|
|
4088
|
-
|
|
4089
|
-
|
|
4090
|
-
|
|
4138
|
+
Ns as DataTable,
|
|
4139
|
+
Ds as DatePicker,
|
|
4140
|
+
ks as DateRangePicker,
|
|
4141
|
+
Cs as DestructiveModal,
|
|
4091
4142
|
pa as DevTuningPanel,
|
|
4092
|
-
|
|
4093
|
-
|
|
4094
|
-
|
|
4095
|
-
|
|
4143
|
+
xs as DirectionCard,
|
|
4144
|
+
Ss as Dismissible,
|
|
4145
|
+
Ts as DistributionCard,
|
|
4146
|
+
Ms as DonutChart,
|
|
4096
4147
|
mr as DragGhost,
|
|
4097
4148
|
lr as DropAnchorCell,
|
|
4098
|
-
|
|
4149
|
+
Rs as Dropdown,
|
|
4099
4150
|
ba as DualPaceBars,
|
|
4100
|
-
|
|
4101
|
-
|
|
4102
|
-
|
|
4151
|
+
Is as ENTITY_FILTER_KEYS,
|
|
4152
|
+
Ps as ENTITY_PROFILE_ROUTES,
|
|
4153
|
+
Fs as ENTITY_TYPE_PLURAL,
|
|
4103
4154
|
$t as EdgeHoverHandle,
|
|
4104
4155
|
ur as EmptyCellPackAffordance,
|
|
4105
|
-
|
|
4156
|
+
Es as EntityPicker,
|
|
4106
4157
|
X as EntityRow,
|
|
4107
|
-
|
|
4158
|
+
As as EntitySearchPanel,
|
|
4108
4159
|
Ra as ExceptionListCard,
|
|
4109
4160
|
Ia as ExceptionListTilePreview,
|
|
4110
|
-
|
|
4111
|
-
|
|
4112
|
-
|
|
4113
|
-
|
|
4114
|
-
|
|
4115
|
-
|
|
4116
|
-
|
|
4117
|
-
|
|
4118
|
-
|
|
4119
|
-
|
|
4120
|
-
|
|
4161
|
+
Ls as Expandable,
|
|
4162
|
+
Os as ExpandableChip,
|
|
4163
|
+
$s as FLIP_AND_STAGE_TIMINGS,
|
|
4164
|
+
Bs as FileUpload,
|
|
4165
|
+
Ks as FilterChip,
|
|
4166
|
+
zs as FilterInput,
|
|
4167
|
+
Ws as FlipAndStageProvider,
|
|
4168
|
+
Gs as Form,
|
|
4169
|
+
Vs as FormDialog,
|
|
4170
|
+
Hs as FormField,
|
|
4171
|
+
js as FusedShape,
|
|
4121
4172
|
ya as GapReadout,
|
|
4122
4173
|
Bt as GhostPreview,
|
|
4123
|
-
|
|
4124
|
-
|
|
4174
|
+
Us as GroupCheckbox,
|
|
4175
|
+
Zs as GroupRadio,
|
|
4125
4176
|
xn as HARD_CLIP,
|
|
4126
|
-
|
|
4127
|
-
|
|
4128
|
-
|
|
4177
|
+
qs as HighlightCard,
|
|
4178
|
+
Ys as HybridDatePicker,
|
|
4179
|
+
Qs as ImportWizard,
|
|
4129
4180
|
Fa as InlineNudge,
|
|
4130
|
-
|
|
4131
|
-
|
|
4132
|
-
|
|
4181
|
+
Xs as Input,
|
|
4182
|
+
Js as InputAddon,
|
|
4183
|
+
ei as InputGroup,
|
|
4133
4184
|
xa as LeaderboardCard,
|
|
4134
4185
|
Sa as LeaderboardTilePreview,
|
|
4135
4186
|
Na as LensChipGroup,
|
|
4136
|
-
|
|
4137
|
-
|
|
4187
|
+
ti as Link,
|
|
4188
|
+
ai as LoginForm,
|
|
4138
4189
|
be as MagnitudeBar,
|
|
4139
|
-
|
|
4140
|
-
|
|
4141
|
-
|
|
4142
|
-
|
|
4143
|
-
|
|
4144
|
-
|
|
4145
|
-
|
|
4146
|
-
|
|
4147
|
-
|
|
4148
|
-
|
|
4190
|
+
ni as MarketPresetRow,
|
|
4191
|
+
ri as MaskPresets,
|
|
4192
|
+
si as MaskedInput,
|
|
4193
|
+
ii as Menu,
|
|
4194
|
+
oi as MenuDivider,
|
|
4195
|
+
li as MenuGroup,
|
|
4196
|
+
ci as MenuItem,
|
|
4197
|
+
di as MergePrompt,
|
|
4198
|
+
ui as MetricCard,
|
|
4199
|
+
mi as MetricCardGrid,
|
|
4149
4200
|
sa as MetricGroupContainer,
|
|
4150
|
-
|
|
4201
|
+
gi as MiniCalendar,
|
|
4151
4202
|
ka as MoreInLensRail,
|
|
4152
|
-
|
|
4153
|
-
|
|
4154
|
-
|
|
4155
|
-
|
|
4156
|
-
|
|
4203
|
+
pi as MultiSelect,
|
|
4204
|
+
hi as NumberInput,
|
|
4205
|
+
fi as ObjectArrow,
|
|
4206
|
+
vi as OrderFilterBar,
|
|
4207
|
+
Qo as PERIOD_OPTIONS,
|
|
4157
4208
|
hr as PaceCard,
|
|
4158
4209
|
fr as PaceTilePreview,
|
|
4159
|
-
|
|
4210
|
+
Ut as PageChip,
|
|
4160
4211
|
Je as PageDropdown,
|
|
4161
|
-
|
|
4162
|
-
|
|
4163
|
-
|
|
4164
|
-
|
|
4165
|
-
|
|
4212
|
+
bi as PasswordInput,
|
|
4213
|
+
yi as PaymentForm,
|
|
4214
|
+
wi as PaymentMethodSelect,
|
|
4215
|
+
_i as PhoneInput,
|
|
4216
|
+
Ni as PinToMetric,
|
|
4166
4217
|
Ba as PresetSwatchRow,
|
|
4167
|
-
|
|
4168
|
-
|
|
4169
|
-
|
|
4218
|
+
Di as ProfileCard,
|
|
4219
|
+
ki as ProgressCard,
|
|
4220
|
+
Ci as QuickConfigPanel,
|
|
4170
4221
|
ea as RECONFIG_BACKSIDE_LABELS,
|
|
4171
|
-
|
|
4172
|
-
|
|
4173
|
-
|
|
4174
|
-
|
|
4222
|
+
Xo as ROLLING_OPTIONS,
|
|
4223
|
+
xi as Radio,
|
|
4224
|
+
Si as RadioGroup,
|
|
4225
|
+
Ti as RangeSlider,
|
|
4175
4226
|
fe as RankBadge,
|
|
4176
4227
|
rt as RankDelta,
|
|
4177
|
-
|
|
4228
|
+
Mi as Rating,
|
|
4178
4229
|
na as ReconfigBacksideButtons,
|
|
4179
|
-
|
|
4230
|
+
Ri as RegistrationForm,
|
|
4180
4231
|
or as ResizeEnvelope,
|
|
4181
|
-
|
|
4182
|
-
|
|
4183
|
-
|
|
4232
|
+
Ii as Row1Controls,
|
|
4233
|
+
Pi as Row2FilterTray,
|
|
4234
|
+
wr as STROKE_DASHED,
|
|
4235
|
+
Dr as STROKE_OUTLINE,
|
|
4236
|
+
_r as STROKE_SOLID,
|
|
4237
|
+
Nr as STROKE_SPARSE_DASH,
|
|
4238
|
+
Fi as SearchInput,
|
|
4184
4239
|
dr as SectionDivider,
|
|
4185
|
-
|
|
4186
|
-
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
|
|
4240
|
+
Cr as SectionDots,
|
|
4241
|
+
Ei as SegmentCard,
|
|
4242
|
+
Ai as SegmentedControl,
|
|
4243
|
+
Li as Select,
|
|
4244
|
+
Oi as Selectable,
|
|
4190
4245
|
ve as SeverityDot,
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
|
|
4194
|
-
|
|
4195
|
-
|
|
4196
|
-
|
|
4197
|
-
|
|
4246
|
+
$i as SimpleMetricCard,
|
|
4247
|
+
Bi as SimpleSelector,
|
|
4248
|
+
Ki as Skeleton,
|
|
4249
|
+
zi as SkeletonCard,
|
|
4250
|
+
Wi as SkeletonChart,
|
|
4251
|
+
Gi as SkeletonTable,
|
|
4252
|
+
Vi as Slider,
|
|
4198
4253
|
gr as SnapOutline,
|
|
4199
|
-
|
|
4200
|
-
|
|
4201
|
-
|
|
4254
|
+
Hi as Sortable,
|
|
4255
|
+
Ua as SortableZones,
|
|
4256
|
+
ji as SparklineBg,
|
|
4202
4257
|
cr as SpilloverArc,
|
|
4203
|
-
|
|
4204
|
-
|
|
4258
|
+
Ui as SplitButton,
|
|
4259
|
+
Zi as StackedGroupCard,
|
|
4205
4260
|
Pa as StackedGroupTilePreview,
|
|
4206
4261
|
Da as StarterRail,
|
|
4207
|
-
|
|
4262
|
+
qi as StatusModeCard,
|
|
4208
4263
|
Ot as StatusSlotChipMenu,
|
|
4209
|
-
|
|
4264
|
+
Yi as Stepper,
|
|
4210
4265
|
Qe as SwingReveal,
|
|
4211
|
-
|
|
4266
|
+
Jo as TODAY_PRESET,
|
|
4212
4267
|
re as TUNING_DEFAULTS,
|
|
4213
4268
|
nt as TUNING_STORAGE_KEY,
|
|
4214
|
-
|
|
4215
|
-
|
|
4216
|
-
|
|
4269
|
+
Qi as TabGroup,
|
|
4270
|
+
Xi as TabbedDataView,
|
|
4271
|
+
Ji as TagInput,
|
|
4217
4272
|
Rt as TargetInput,
|
|
4218
|
-
|
|
4273
|
+
eo as Textarea,
|
|
4219
4274
|
La as ThresholdRamp,
|
|
4220
|
-
|
|
4221
|
-
|
|
4222
|
-
|
|
4223
|
-
|
|
4224
|
-
|
|
4225
|
-
|
|
4226
|
-
|
|
4227
|
-
|
|
4228
|
-
|
|
4275
|
+
to as TimeFrame,
|
|
4276
|
+
ao as TimePicker,
|
|
4277
|
+
no as Toggle,
|
|
4278
|
+
ro as Tooltip,
|
|
4279
|
+
so as Transition,
|
|
4280
|
+
io as TransitionGroup,
|
|
4281
|
+
oo as TrendCard,
|
|
4282
|
+
lo as TrendIndicator,
|
|
4283
|
+
jo as UIContext,
|
|
4229
4284
|
Le as UIContextProvider,
|
|
4230
|
-
|
|
4231
|
-
|
|
4232
|
-
|
|
4233
|
-
|
|
4234
|
-
|
|
4285
|
+
co as UnifiedBreakdownTable,
|
|
4286
|
+
uo as UnifiedContextMenu,
|
|
4287
|
+
Kt as VelocityBuffer,
|
|
4288
|
+
mo as addressGroupMetadata,
|
|
4289
|
+
go as addressSchema,
|
|
4235
4290
|
mn as allChips,
|
|
4236
4291
|
Pn as allStateFixtures,
|
|
4237
4292
|
In as allVariantFixtures,
|
|
4238
4293
|
fn as blockSamples,
|
|
4239
|
-
|
|
4294
|
+
po as buildDefaultOverflow,
|
|
4240
4295
|
_n as cardSamples,
|
|
4241
4296
|
Nn as cascadePhysics,
|
|
4242
4297
|
yn as chartSamples,
|
|
@@ -4245,80 +4300,83 @@ export {
|
|
|
4245
4300
|
er as compactLayout,
|
|
4246
4301
|
Gn as compactState,
|
|
4247
4302
|
Rn as computeGutterAnchorX,
|
|
4248
|
-
|
|
4249
|
-
|
|
4303
|
+
ho as contactFormMetadata,
|
|
4304
|
+
fo as contactSchema,
|
|
4250
4305
|
Vn as contextMenuFixtures,
|
|
4251
|
-
|
|
4252
|
-
|
|
4306
|
+
vo as creditCardFormMetadata,
|
|
4307
|
+
bo as creditCardSchema,
|
|
4253
4308
|
Ft as dateChip,
|
|
4254
4309
|
at as defaultControlBarState,
|
|
4255
|
-
|
|
4256
|
-
|
|
4257
|
-
|
|
4310
|
+
yo as destructiveModalMetadata,
|
|
4311
|
+
wo as durations,
|
|
4312
|
+
_o as easings,
|
|
4258
4313
|
Gt as emptyFixture,
|
|
4259
4314
|
It as entityChip,
|
|
4260
4315
|
Qt as entityNameActions,
|
|
4261
4316
|
pn as entityTabGroup,
|
|
4262
4317
|
Wt as errorFixture,
|
|
4263
|
-
|
|
4318
|
+
No as evaluateTintCondition,
|
|
4264
4319
|
Wn as filteredState,
|
|
4265
|
-
|
|
4266
|
-
|
|
4267
|
-
|
|
4268
|
-
|
|
4269
|
-
|
|
4320
|
+
el as findPreset,
|
|
4321
|
+
tl as formatDateRange,
|
|
4322
|
+
al as formatMarketDates,
|
|
4323
|
+
nl as formatTrend,
|
|
4324
|
+
rl as formatValue,
|
|
4270
4325
|
ar as fullLayout,
|
|
4271
|
-
|
|
4272
|
-
|
|
4273
|
-
|
|
4274
|
-
|
|
4275
|
-
|
|
4276
|
-
|
|
4277
|
-
|
|
4278
|
-
|
|
4326
|
+
sl as generateMarketId,
|
|
4327
|
+
Do as generateTabId,
|
|
4328
|
+
il as getAllPresets,
|
|
4329
|
+
ol as getDateRangeForPreset,
|
|
4330
|
+
ko as getMenuActions,
|
|
4331
|
+
Tn as getMotionMode,
|
|
4332
|
+
ll as getPresetLabel,
|
|
4333
|
+
Co as getTransitionStyle,
|
|
4279
4334
|
Jn as gridCards,
|
|
4280
|
-
|
|
4281
|
-
|
|
4282
|
-
|
|
4283
|
-
|
|
4284
|
-
|
|
4335
|
+
vr as gridChannels,
|
|
4336
|
+
xo as interpolate,
|
|
4337
|
+
cl as isInRange,
|
|
4338
|
+
dl as isMarketActive,
|
|
4339
|
+
ul as isSameDay,
|
|
4340
|
+
zn as itemColumns,
|
|
4285
4341
|
Bn as itemRows,
|
|
4286
|
-
|
|
4287
|
-
|
|
4288
|
-
|
|
4342
|
+
zt as loadingFixture,
|
|
4343
|
+
So as loginFormMetadata,
|
|
4344
|
+
To as loginSchema,
|
|
4289
4345
|
Et as manufacturerChip,
|
|
4290
4346
|
ir as manyTabs,
|
|
4291
|
-
|
|
4292
|
-
|
|
4347
|
+
Mo as mergeHandlers,
|
|
4348
|
+
Ro as mergeRefs,
|
|
4293
4349
|
gn as metricTabGroup,
|
|
4294
4350
|
rr as mixedTabs,
|
|
4295
|
-
|
|
4351
|
+
ml as normalizePresetId,
|
|
4296
4352
|
Jt as numericActions,
|
|
4297
|
-
|
|
4353
|
+
Kn as orderColumns,
|
|
4298
4354
|
Xt as orderIdActions,
|
|
4299
4355
|
$n as orderRows,
|
|
4300
4356
|
nr as ordersTabs,
|
|
4301
|
-
|
|
4302
|
-
|
|
4303
|
-
|
|
4304
|
-
|
|
4357
|
+
br as paletteHex,
|
|
4358
|
+
yr as paletteVars,
|
|
4359
|
+
Io as parseNumericValue,
|
|
4360
|
+
Po as paymentFormMetadata,
|
|
4361
|
+
Fo as paymentSchema,
|
|
4362
|
+
Eo as presets,
|
|
4305
4363
|
kn as provisional,
|
|
4306
4364
|
Cn as reducedMotion,
|
|
4307
|
-
|
|
4308
|
-
|
|
4365
|
+
Ao as registrationFormMetadata,
|
|
4366
|
+
Lo as registrationSchema,
|
|
4309
4367
|
Dn as rejectionFeedback,
|
|
4310
|
-
|
|
4368
|
+
jn as sampleCompareRanges,
|
|
4311
4369
|
qn as sampleCustomMarkets,
|
|
4312
4370
|
Hn as sampleDateRange,
|
|
4313
4371
|
Yn as sampleMarketPresetData,
|
|
4314
4372
|
Zn as sampleMarkets,
|
|
4315
4373
|
Xn as samplePeriodPresets,
|
|
4316
|
-
|
|
4374
|
+
Un as samplePreferences,
|
|
4317
4375
|
Qn as samplePresets,
|
|
4318
4376
|
sr as singleTab,
|
|
4319
4377
|
Fn as sparklineFixture,
|
|
4320
4378
|
En as sparklineUpFixture,
|
|
4321
|
-
|
|
4379
|
+
jt as staleDonutFixture,
|
|
4322
4380
|
Vt as staleFixture,
|
|
4323
4381
|
Ht as staleSparklineFixture,
|
|
4324
4382
|
An as standardFixture,
|
|
@@ -4330,19 +4388,19 @@ export {
|
|
|
4330
4388
|
wn as tableSamples,
|
|
4331
4389
|
vn as textSamples,
|
|
4332
4390
|
hn as timeFrameTabGroup,
|
|
4333
|
-
|
|
4391
|
+
gl as toUppercasePresetId,
|
|
4334
4392
|
un as useArrowNavigation,
|
|
4335
|
-
|
|
4336
|
-
|
|
4337
|
-
|
|
4338
|
-
|
|
4339
|
-
|
|
4340
|
-
|
|
4393
|
+
Oo as useCheckboxGroupContext,
|
|
4394
|
+
Mn as useEdgeHoverResize,
|
|
4395
|
+
$o as useFilterLayout,
|
|
4396
|
+
Bo as useFlipAndStage,
|
|
4397
|
+
Ko as useFlipAndStageContext,
|
|
4398
|
+
zo as useFlipAndStageContextOptional,
|
|
4341
4399
|
dn as useFocusReturn,
|
|
4342
|
-
|
|
4343
|
-
|
|
4344
|
-
|
|
4400
|
+
Wo as useFocusTrap,
|
|
4401
|
+
Go as useFormContext,
|
|
4402
|
+
Vo as useRadioGroupContext,
|
|
4345
4403
|
la as useResizeTuning,
|
|
4346
4404
|
Wa as useSortableZones,
|
|
4347
|
-
|
|
4405
|
+
Uo as useUIContext
|
|
4348
4406
|
};
|