@mt-gloss/ui 0.1.30 → 0.1.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{Expandable-alOxKG0x.js → Expandable-BKqvjtRQ.js} +35 -35
- package/catalog.js +2 -2
- package/index.js +480 -476
- package/lib/primitives/dashboard/PaceCard/PaceCard.d.ts +2 -0
- package/package.json +1 -1
- package/ui.css +1 -1
package/index.js
CHANGED
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { C as ut
|
|
2
|
-
import { O as br, U as
|
|
1
|
+
import { C as ut } from "./Expandable-BKqvjtRQ.js";
|
|
2
|
+
import { O as br, U as vr, Q as yr, T as wr, a4 as _r, b7 as Nr, aA as Dr, ai as Cr, _ as kr, ao as xr, L as Sr, a9 as Mr, bn as Rr, P as Tr, B as Ir, a as Pr, z as Fr, J as Er, bi as Ar, H as Or, K as Lr, D as $r, A as Br, F as zr, E as Kr, bx as Wr, b as Gr, c as Vr, N as Hr, p as Ur, ae as jr, aO as Zr, z as qr, J as Yr, H as Qr, K as Xr, D as Jr, A as es, F as ts, E as as, b0 as ns, b3 as rs, b2 as ss, b1 as is, b4 as os, aD as ls, a6 as cs, a5 as ds, ar as us, l as ms, n as gs, aG as ps, ac as hs, b9 as fs, aa as bs, bo as vs, Z as ys, bH as ws, bG as _s, bI as Ns, aq as Ds, aR as Cs, bb as ks, bM as xs, bv as Ss, o as Ms, an as Rs, bB as Ts, bs as Is, a1 as Ps, as as Fs, a3 as Es, bA as As, G as Os, e as Ls, ab as $s, bJ as Bs, aU as zs, s as Ks, w as Ws, I as Gs, h as Vs, ax as Hs, bN as Us, M as js, x as Zs, V as qs, Y as Ys, W as Qs, X as Xs, at as Js, bh as ei, bP as ti, bL as ai, ap as ni, v as ri, bp as si, aT as ii, ak as oi, aL as li, ah as ci, am as di, av as ui, aS as mi, ad as gi, au as pi, d as hi, R as fi, k as bi, q as vi, aI as yi, by as wi, bz as _i, aj as Ni, af as Di, i as Ci, y as ki, b8 as xi, ag as Si, bO as Mi, bd as Ri, bg as Ti, be as Ii, bf as Pi, j as Fi, ba as Ei, bm as Ai, S as Oi, bk as Li, bl as $i, aw as Bi, bc as zi, bQ as Ki, al as Wi, t as Gi, bK as Vi, m as Hi, g as Ui, r as ji, $ as Zi, a0 as qi, a8 as Yi, bj as Qi, bw as Xi, bD as Ji, aB as eo, aC as to, a7 as ao, aP as no, aQ as ro, aE as so, aF as io, aH as oo, aW as lo, aX as co, bq as uo, bF as mo, bE as go, aZ as po, a_ as ho, ay as fo, az as bo, b6 as vo, b5 as yo, a$ as wo, aM as _o, aN as No, aY as Do, aJ as Co, aK as ko, u as xo, bC as So, br as Mo, bt as Ro, bu as To, aV as Io, a2 as Po, f as Fo } from "./Expandable-BKqvjtRQ.js";
|
|
3
3
|
import { jsxs as D, jsx as r, Fragment as te } from "react/jsx-runtime";
|
|
4
|
-
import * as
|
|
5
|
-
import H, { useRef as R, useEffect as
|
|
6
|
-
import { motion as De, useMotionValue as bt, animate as We, useDragControls as
|
|
7
|
-
import { B as
|
|
4
|
+
import * as mt from "react";
|
|
5
|
+
import H, { useRef as R, useEffect as O, useState as $, useCallback as w, useId as gt, forwardRef as pt, useMemo as ye, createContext as ht, useContext as ft } from "react";
|
|
6
|
+
import { motion as De, useMotionValue as bt, animate as We, useDragControls as vt } from "framer-motion";
|
|
7
|
+
import { B as yt, a as pe, b as Te, U as Oe } from "./UIContext-CDdyubSF.js";
|
|
8
8
|
import { c as Ao, u as Oo } from "./UIContext-CDdyubSF.js";
|
|
9
|
-
import { createPortal as
|
|
9
|
+
import { createPortal as wt } from "react-dom";
|
|
10
10
|
import { DEFAULT_MARKET_PRESETS as $o, DEFAULT_PINNED as Bo, PERIOD_OPTIONS as zo, ROLLING_OPTIONS as Ko, TODAY_PRESET as Wo, findPreset as Go, formatDateRange as Vo, formatMarketDates as Ho, formatTrend as Uo, formatValue as jo, generateMarketId as Zo, getAllPresets as qo, getDateRangeForPreset as Yo, getPresetLabel as Qo, isInRange as Xo, isMarketActive as Jo, isSameDay as el, normalizePresetId as tl, toUppercasePresetId as al } from "@mt-gloss/utils";
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
function
|
|
11
|
+
import _t from "@mui/icons-material/AccessTime";
|
|
12
|
+
import Nt from "@mui/icons-material/Tune";
|
|
13
|
+
import Dt from "@mui/icons-material/ViewColumn";
|
|
14
|
+
import Ct from "@mui/icons-material/AspectRatio";
|
|
15
|
+
import kt from "@mui/icons-material/Palette";
|
|
16
|
+
import xt from "@mui/icons-material/PushPin";
|
|
17
|
+
function sn(e = {}) {
|
|
18
18
|
const { enabled: t = !0, returnTo: n } = e, a = R(null);
|
|
19
|
-
return
|
|
19
|
+
return O(() => {
|
|
20
20
|
t && (a.current = n || document.activeElement);
|
|
21
|
-
}, [t, n]),
|
|
21
|
+
}, [t, n]), O(() => () => {
|
|
22
22
|
t && a.current && setTimeout(() => {
|
|
23
23
|
a.current?.focus?.();
|
|
24
24
|
}, 0);
|
|
25
25
|
}, [t]), a;
|
|
26
26
|
}
|
|
27
|
-
function
|
|
27
|
+
function on(e) {
|
|
28
28
|
const {
|
|
29
29
|
items: t,
|
|
30
30
|
activeIndex: n,
|
|
@@ -40,15 +40,15 @@ function ln(e) {
|
|
|
40
40
|
n === void 0 && f(c), a?.(c);
|
|
41
41
|
},
|
|
42
42
|
[n, a]
|
|
43
|
-
), N = w(() => t.map((c,
|
|
44
|
-
(c,
|
|
43
|
+
), N = w(() => t.map((c, b) => ({ item: c, index: b })).filter(({ item: c, index: b }) => !l?.(c, b)).map(({ index: c }) => c), [t, l]), y = w(
|
|
44
|
+
(c, b) => {
|
|
45
45
|
const _ = N();
|
|
46
46
|
if (_.length === 0) return -1;
|
|
47
47
|
const S = _.indexOf(c);
|
|
48
48
|
if (S === -1)
|
|
49
|
-
return
|
|
50
|
-
let
|
|
51
|
-
return s ?
|
|
49
|
+
return b === 1 ? _.find((x) => x > c) ?? (s ? _[0] : -1) : [..._].reverse().find((F) => F < c) ?? (s ? _[_.length - 1] : -1);
|
|
50
|
+
let v = S + b;
|
|
51
|
+
return s ? v = (v + _.length) % _.length : v = Math.max(0, Math.min(_.length - 1, v)), _[v];
|
|
52
52
|
},
|
|
53
53
|
[N, s]
|
|
54
54
|
), h = w(() => {
|
|
@@ -68,8 +68,8 @@ function ln(e) {
|
|
|
68
68
|
}, [m]), I = w(
|
|
69
69
|
(c) => {
|
|
70
70
|
if (!o) return;
|
|
71
|
-
const { key:
|
|
72
|
-
if (_ ||
|
|
71
|
+
const { key: b } = c, _ = b === "ArrowUp" && (i === "vertical" || i === "both"), S = b === "ArrowDown" && (i === "vertical" || i === "both"), v = b === "ArrowLeft" && (i === "horizontal" || i === "both"), x = b === "ArrowRight" && (i === "horizontal" || i === "both");
|
|
72
|
+
if (_ || v) {
|
|
73
73
|
c.preventDefault(), g === -1 ? M() : k();
|
|
74
74
|
return;
|
|
75
75
|
}
|
|
@@ -77,21 +77,21 @@ function ln(e) {
|
|
|
77
77
|
c.preventDefault(), g === -1 ? h() : P();
|
|
78
78
|
return;
|
|
79
79
|
}
|
|
80
|
-
if (
|
|
80
|
+
if (b === "Home") {
|
|
81
81
|
c.preventDefault(), h();
|
|
82
82
|
return;
|
|
83
83
|
}
|
|
84
|
-
if (
|
|
84
|
+
if (b === "End") {
|
|
85
85
|
c.preventDefault(), M();
|
|
86
86
|
return;
|
|
87
87
|
}
|
|
88
|
-
if ((
|
|
88
|
+
if ((b === "Enter" || b === " ") && g >= 0 && g < t.length) {
|
|
89
89
|
c.preventDefault();
|
|
90
90
|
const F = t[g];
|
|
91
91
|
l?.(F, g) || u?.(F, g);
|
|
92
92
|
return;
|
|
93
93
|
}
|
|
94
|
-
if (
|
|
94
|
+
if (b === "Escape") {
|
|
95
95
|
d?.();
|
|
96
96
|
return;
|
|
97
97
|
}
|
|
@@ -121,7 +121,7 @@ function ln(e) {
|
|
|
121
121
|
resetFocus: T
|
|
122
122
|
};
|
|
123
123
|
}
|
|
124
|
-
const
|
|
124
|
+
const St = ({
|
|
125
125
|
label: e = "Set a target",
|
|
126
126
|
unit: t,
|
|
127
127
|
currentValue: n,
|
|
@@ -134,7 +134,7 @@ const Mt = ({
|
|
|
134
134
|
Number.isNaN(m) || a(m);
|
|
135
135
|
}, d = (m) => {
|
|
136
136
|
m.key === "Enter" ? (m.preventDefault(), u()) : m.key === "Escape" && (m.preventDefault(), s?.());
|
|
137
|
-
}, p =
|
|
137
|
+
}, p = gt(), f = `gloss-target-input-field-${p}`, g = i ? `gloss-target-input-hint-${p}` : void 0;
|
|
138
138
|
return /* @__PURE__ */ D("div", { className: "gloss-target-input", children: [
|
|
139
139
|
/* @__PURE__ */ r("label", { className: "gloss-target-input__label", htmlFor: f, children: e }),
|
|
140
140
|
/* @__PURE__ */ D("div", { className: "gloss-target-input__field-row", children: [
|
|
@@ -176,42 +176,42 @@ const Mt = ({
|
|
|
176
176
|
] })
|
|
177
177
|
] });
|
|
178
178
|
}, Ce = (e) => {
|
|
179
|
-
},
|
|
179
|
+
}, Mt = {
|
|
180
180
|
id: "entity-filter-1",
|
|
181
181
|
label: "Customer: Acme Corp",
|
|
182
182
|
field: "customer",
|
|
183
183
|
value: "acme-corp-123",
|
|
184
184
|
onRemove: Ce
|
|
185
|
-
},
|
|
185
|
+
}, Rt = {
|
|
186
186
|
id: "status-filter-1",
|
|
187
187
|
label: "Status: Open",
|
|
188
188
|
field: "status",
|
|
189
189
|
value: "open",
|
|
190
190
|
onRemove: Ce
|
|
191
|
-
},
|
|
191
|
+
}, Tt = {
|
|
192
192
|
id: "date-filter-1",
|
|
193
193
|
label: "Date: Mar 1 - Mar 15",
|
|
194
194
|
field: "dateRange",
|
|
195
195
|
value: "2026-03-01..2026-03-15",
|
|
196
196
|
onRemove: Ce
|
|
197
|
-
},
|
|
197
|
+
}, It = {
|
|
198
198
|
id: "mfg-filter-1",
|
|
199
199
|
label: "Manufacturer: Widget Co",
|
|
200
200
|
field: "manufacturer",
|
|
201
201
|
value: "widget-co-456",
|
|
202
202
|
onRemove: Ce
|
|
203
|
-
},
|
|
203
|
+
}, ln = [
|
|
204
|
+
Mt,
|
|
204
205
|
Rt,
|
|
205
206
|
Tt,
|
|
206
|
-
It
|
|
207
|
-
|
|
208
|
-
], dn = {
|
|
207
|
+
It
|
|
208
|
+
], cn = {
|
|
209
209
|
id: "metric-toggle",
|
|
210
210
|
tabs: [
|
|
211
211
|
{ id: "$", label: "$", mono: !0 },
|
|
212
212
|
{ id: "#", label: "#", mono: !0 }
|
|
213
213
|
]
|
|
214
|
-
},
|
|
214
|
+
}, dn = {
|
|
215
215
|
id: "entity-type",
|
|
216
216
|
tabs: [
|
|
217
217
|
{ id: "orders", label: "Orders" },
|
|
@@ -219,7 +219,7 @@ const Mt = ({
|
|
|
219
219
|
{ id: "customers", label: "Customers" },
|
|
220
220
|
{ id: "manufacturers", label: "Manufacturers" }
|
|
221
221
|
]
|
|
222
|
-
},
|
|
222
|
+
}, un = {
|
|
223
223
|
id: "time-frame",
|
|
224
224
|
tabs: [
|
|
225
225
|
{ id: "MTD", label: "MTD" },
|
|
@@ -227,23 +227,23 @@ const Mt = ({
|
|
|
227
227
|
{ id: "YTD", label: "YTD" },
|
|
228
228
|
{ id: "LYTD", label: "LYTD" }
|
|
229
229
|
]
|
|
230
|
-
},
|
|
230
|
+
}, mn = [
|
|
231
231
|
{ variant: "block", width: "100%", height: 16 },
|
|
232
232
|
{ variant: "block", width: 200, height: 32, borderRadius: 8 },
|
|
233
233
|
{ variant: "block", width: "80%", height: 12, borderRadius: "4px" },
|
|
234
234
|
{ variant: "block", width: 120, height: 44, borderRadius: 22 }
|
|
235
|
-
],
|
|
235
|
+
], gn = [
|
|
236
236
|
{ variant: "text", lines: 3, lineHeight: 14, gap: 8 },
|
|
237
237
|
{ variant: "text", lines: 2, lineHeight: 16, gap: 10 },
|
|
238
238
|
{ variant: "text", lines: 5, lineHeight: 12, gap: 6 }
|
|
239
|
-
],
|
|
239
|
+
], pn = [
|
|
240
240
|
{ variant: "circle", size: 24 },
|
|
241
241
|
{ variant: "circle", size: 40 },
|
|
242
242
|
{ variant: "circle", size: 64 }
|
|
243
|
-
],
|
|
243
|
+
], hn = [
|
|
244
244
|
{ bars: 10, maxHeight: 120 },
|
|
245
245
|
{ bars: 5, maxHeight: 80 }
|
|
246
|
-
],
|
|
246
|
+
], fn = [
|
|
247
247
|
{ rows: 5, columns: 3, hasCheckbox: !1, rowHeight: 44 },
|
|
248
248
|
{ rows: 8, columns: 5, hasCheckbox: !0, rowHeight: 44 }
|
|
249
249
|
], bn = [
|
|
@@ -276,16 +276,16 @@ const Mt = ({
|
|
|
276
276
|
width: "100%",
|
|
277
277
|
textAlign: "left",
|
|
278
278
|
border: "none"
|
|
279
|
-
}),
|
|
279
|
+
}), Pt = (e) => ({
|
|
280
280
|
...Ie(e),
|
|
281
281
|
color: e ? "#4338ca" : "#4f46e5",
|
|
282
282
|
fontWeight: 600
|
|
283
|
-
}),
|
|
283
|
+
}), Ft = {
|
|
284
284
|
height: 1,
|
|
285
285
|
background: "rgba(0,0,0,0.06)",
|
|
286
286
|
margin: "3px 10px"
|
|
287
287
|
};
|
|
288
|
-
function
|
|
288
|
+
function Et({
|
|
289
289
|
open: e,
|
|
290
290
|
anchorEl: t,
|
|
291
291
|
statusId: n,
|
|
@@ -303,13 +303,13 @@ function At({
|
|
|
303
303
|
left: m.left
|
|
304
304
|
};
|
|
305
305
|
}, [t]);
|
|
306
|
-
if (
|
|
306
|
+
if (O(() => {
|
|
307
307
|
if (!e) return;
|
|
308
308
|
const m = (N) => {
|
|
309
309
|
N.key === "Escape" && o();
|
|
310
310
|
};
|
|
311
311
|
return document.addEventListener("keydown", m), () => document.removeEventListener("keydown", m);
|
|
312
|
-
}, [e, o]),
|
|
312
|
+
}, [e, o]), O(() => {
|
|
313
313
|
if (!e) return;
|
|
314
314
|
const m = (N) => {
|
|
315
315
|
d.current && !d.current.contains(N.target) && o();
|
|
@@ -329,7 +329,7 @@ function At({
|
|
|
329
329
|
"button",
|
|
330
330
|
{
|
|
331
331
|
role: "menuitem",
|
|
332
|
-
style:
|
|
332
|
+
style: Pt(l === "__primary"),
|
|
333
333
|
onMouseEnter: () => u("__primary"),
|
|
334
334
|
onMouseLeave: () => u(null),
|
|
335
335
|
onClick: () => {
|
|
@@ -351,7 +351,7 @@ function At({
|
|
|
351
351
|
children: "Show on graph"
|
|
352
352
|
}
|
|
353
353
|
),
|
|
354
|
-
f && /* @__PURE__ */ r("div", { style:
|
|
354
|
+
f && /* @__PURE__ */ r("div", { style: Ft }),
|
|
355
355
|
f && i?.map((m) => /* @__PURE__ */ r(
|
|
356
356
|
"button",
|
|
357
357
|
{
|
|
@@ -369,10 +369,10 @@ function At({
|
|
|
369
369
|
]
|
|
370
370
|
}
|
|
371
371
|
);
|
|
372
|
-
return
|
|
372
|
+
return wt(g, document.body);
|
|
373
373
|
}
|
|
374
|
-
|
|
375
|
-
const
|
|
374
|
+
Et.displayName = "StatusSlotChipMenu";
|
|
375
|
+
const vn = {
|
|
376
376
|
forwardStaggerMs: 50,
|
|
377
377
|
reverseStaggerMs: 30,
|
|
378
378
|
springStiffness: 380,
|
|
@@ -384,18 +384,18 @@ const yn = {
|
|
|
384
384
|
enterEasing: "cubic-bezier(0.34, 1.56, 0.64, 1)",
|
|
385
385
|
exitEasing: "cubic-bezier(0.4, 0, 1, 1)",
|
|
386
386
|
translateOffsetPx: 8
|
|
387
|
-
},
|
|
387
|
+
}, yn = {
|
|
388
388
|
shiverCycles: 3,
|
|
389
389
|
shiverAmplitudePx: 2,
|
|
390
390
|
shiverDurationMs: 180,
|
|
391
391
|
validCellOpacity: 0.6
|
|
392
|
-
},
|
|
392
|
+
}, wn = {
|
|
393
393
|
materializeMs: 180,
|
|
394
394
|
dematerializeMs: 140,
|
|
395
395
|
easing: "cubic-bezier(0.22, 1, 0.36, 1)",
|
|
396
396
|
dotStrokePx: 2,
|
|
397
397
|
dividerDashGapPx: 4
|
|
398
|
-
},
|
|
398
|
+
}, _n = {
|
|
399
399
|
cascadeStaggerMs: 0,
|
|
400
400
|
cascadeSpringCapMs: 120,
|
|
401
401
|
swingEnterMs: 100,
|
|
@@ -404,7 +404,7 @@ const yn = {
|
|
|
404
404
|
provisionalStyle: "opacity",
|
|
405
405
|
shiverMs: 200,
|
|
406
406
|
shiverStyle: "color-flash"
|
|
407
|
-
},
|
|
407
|
+
}, Nn = !0, Dn = {
|
|
408
408
|
rejectionFill: "var(--gloss-rejection-fill)",
|
|
409
409
|
rejectionStroke: "var(--gloss-rejection-stroke)",
|
|
410
410
|
validFill: "var(--gloss-valid-fill)",
|
|
@@ -412,7 +412,7 @@ const yn = {
|
|
|
412
412
|
validCellStroke: "var(--gloss-valid-cell-stroke)",
|
|
413
413
|
provisionalWash: "var(--gloss-provisional-wash)"
|
|
414
414
|
};
|
|
415
|
-
function
|
|
415
|
+
function Cn() {
|
|
416
416
|
if (typeof window > "u") return "full";
|
|
417
417
|
try {
|
|
418
418
|
return window.matchMedia("(prefers-reduced-motion: reduce)").matches ? "reduced" : "full";
|
|
@@ -444,7 +444,7 @@ const Ze = ({ visible: e, variant: t, trigger: n, children: a, className: s }) =
|
|
|
444
444
|
children: a
|
|
445
445
|
}
|
|
446
446
|
);
|
|
447
|
-
},
|
|
447
|
+
}, At = pt(
|
|
448
448
|
function({ state: t, onPointerDown: n, onPointerUp: a, onPointerEnter: s, onPointerLeave: i, onKeyboardStep: o, onLostPointerCapture: l, edge: u = "right", ariaLabel: d = "Resize card" }, p) {
|
|
449
449
|
const f = t === "handle-visible" || t === "dragging" || t === "settling", g = (y) => {
|
|
450
450
|
try {
|
|
@@ -485,8 +485,8 @@ const Ze = ({ visible: e, variant: t, trigger: n, children: a, className: s }) =
|
|
|
485
485
|
) });
|
|
486
486
|
}
|
|
487
487
|
);
|
|
488
|
-
|
|
489
|
-
function
|
|
488
|
+
At.displayName = "EdgeHoverHandle";
|
|
489
|
+
function Ot({
|
|
490
490
|
visible: e,
|
|
491
491
|
targetColSpan: t,
|
|
492
492
|
ghostWidth: n,
|
|
@@ -510,8 +510,8 @@ function Lt({
|
|
|
510
510
|
}
|
|
511
511
|
);
|
|
512
512
|
}
|
|
513
|
-
|
|
514
|
-
class
|
|
513
|
+
Ot.displayName = "GhostPreview";
|
|
514
|
+
class Lt {
|
|
515
515
|
constructor() {
|
|
516
516
|
this.samples = [], this.capacity = 3;
|
|
517
517
|
}
|
|
@@ -576,7 +576,7 @@ const qe = {
|
|
|
576
576
|
// Velocity multiplier (D-03b panel)
|
|
577
577
|
velocityMultiplier: 1
|
|
578
578
|
};
|
|
579
|
-
function
|
|
579
|
+
function kn({
|
|
580
580
|
currentColSpan: e,
|
|
581
581
|
stackable: t,
|
|
582
582
|
onResize: n,
|
|
@@ -592,9 +592,9 @@ function xn({
|
|
|
592
592
|
containerRef: g,
|
|
593
593
|
forceIdle: m
|
|
594
594
|
}) {
|
|
595
|
-
const [N, y] = $("idle"), [h, M] = $(e), P = R(null), k = R(null), T = R(null), I = R(null), c = R(s),
|
|
596
|
-
|
|
597
|
-
|
|
595
|
+
const [N, y] = $("idle"), [h, M] = $(e), P = R(null), k = R(null), T = R(null), I = R(null), c = R(s), b = R(i), _ = R(f), S = R(0), v = R("idle");
|
|
596
|
+
O(() => {
|
|
597
|
+
v.current = N;
|
|
598
598
|
}, [N]);
|
|
599
599
|
const x = bt(0), F = R(null), U = w(() => {
|
|
600
600
|
const C = F.current;
|
|
@@ -607,31 +607,31 @@ function xn({
|
|
|
607
607
|
}
|
|
608
608
|
}, []), q = w(
|
|
609
609
|
(C) => {
|
|
610
|
-
const E = c.current, A =
|
|
610
|
+
const E = c.current, A = b.current;
|
|
611
611
|
return C * E + (C - 1) * A;
|
|
612
612
|
},
|
|
613
613
|
[]
|
|
614
|
-
), j = R(new
|
|
615
|
-
|
|
614
|
+
), j = R(new Lt()), G = R(e);
|
|
615
|
+
O(() => {
|
|
616
616
|
G.current = h;
|
|
617
617
|
}, [h]);
|
|
618
618
|
const B = ye(() => ({ ...qe, ...o ?? {} }), [o]), Z = w(() => {
|
|
619
619
|
P.current && (clearTimeout(P.current), P.current = null);
|
|
620
|
-
}, []),
|
|
620
|
+
}, []), L = w(() => {
|
|
621
621
|
k.current && (clearTimeout(k.current), k.current = null);
|
|
622
622
|
}, []), J = w(() => {
|
|
623
623
|
T.current && (clearTimeout(T.current), T.current = null);
|
|
624
624
|
}, []);
|
|
625
|
-
|
|
626
|
-
m && (
|
|
627
|
-
}, [m, Z,
|
|
625
|
+
O(() => {
|
|
626
|
+
m && (v.current === "dragging" || v.current === "settling" || (Z(), L(), J(), v.current = "idle", y("idle")));
|
|
627
|
+
}, [m, Z, L, J]);
|
|
628
628
|
const Le = w(() => {
|
|
629
|
-
|
|
630
|
-
}, [l,
|
|
629
|
+
L(), y((C) => C === "settling" || C !== "idle" ? C : (P.current = setTimeout(() => y("handle-visible"), l), "dwelling"));
|
|
630
|
+
}, [l, L]), $e = w(() => {
|
|
631
631
|
Z();
|
|
632
|
-
const C =
|
|
632
|
+
const C = v.current;
|
|
633
633
|
C !== "dwelling" && C !== "handle-visible" || (k.current = setTimeout(() => {
|
|
634
|
-
|
|
634
|
+
v.current = "idle", y("idle");
|
|
635
635
|
}, u));
|
|
636
636
|
}, [Z, u]), oe = w(
|
|
637
637
|
(C, E, A) => {
|
|
@@ -656,38 +656,38 @@ function xn({
|
|
|
656
656
|
[B.snapInFraction, B.snapOutFraction, f]
|
|
657
657
|
), it = w(
|
|
658
658
|
(C) => {
|
|
659
|
-
if (
|
|
660
|
-
U(), I.current = C.clientX, c.current = s,
|
|
659
|
+
if (v.current !== "handle-visible") return;
|
|
660
|
+
U(), I.current = C.clientX, c.current = s, b.current = i, _.current = f;
|
|
661
661
|
const E = e * s + (e - 1) * i;
|
|
662
|
-
S.current = E, j.current.clear(), j.current.push({ x: C.clientX, t: performance.now() }), x.jump(E),
|
|
662
|
+
S.current = E, j.current.clear(), j.current.push({ x: C.clientX, t: performance.now() }), x.jump(E), v.current = "dragging", y("dragging");
|
|
663
663
|
},
|
|
664
664
|
[s, i, f, e, x, U]
|
|
665
665
|
), Be = w(
|
|
666
|
-
(C) => C * c.current + (C - 1) *
|
|
666
|
+
(C) => C * c.current + (C - 1) * b.current,
|
|
667
667
|
[]
|
|
668
668
|
), ie = w(
|
|
669
669
|
(C, E) => {
|
|
670
670
|
const A = Be(C), z = C !== e;
|
|
671
671
|
if (typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches) {
|
|
672
|
-
x.jump(A), z && E ? n({ direction: E, targetColSpan: C, mode: t ? "slot-fill" : "sparkline-fidelity" }) : z || a?.(), x.jump(0),
|
|
672
|
+
x.jump(A), z && E ? n({ direction: E, targetColSpan: C, mode: t ? "slot-fill" : "sparkline-fidelity" }) : z || a?.(), x.jump(0), v.current = "idle", y("idle");
|
|
673
673
|
return;
|
|
674
674
|
}
|
|
675
675
|
const Y = j.current.getWeightedVelocity() * B.velocityMultiplier;
|
|
676
|
-
|
|
676
|
+
v.current = "settling", y("settling"), U(), 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, z && E ? n({ direction: E, targetColSpan: C, mode: t ? "slot-fill" : "sparkline-fidelity" }) : z || a?.(), x.jump(0),
|
|
683
|
+
F.current = null, z && E ? n({ direction: E, targetColSpan: C, mode: t ? "slot-fill" : "sparkline-fidelity" }) : z || a?.(), x.jump(0), v.current = "idle", y("idle");
|
|
684
684
|
}
|
|
685
685
|
});
|
|
686
686
|
},
|
|
687
687
|
[Be, e, t, n, a, x, B, U]
|
|
688
688
|
), ot = w(
|
|
689
689
|
(C) => {
|
|
690
|
-
if (
|
|
690
|
+
if (v.current !== "dragging") return;
|
|
691
691
|
const E = C.clientX - (I.current ?? C.clientX), A = c.current, ee = ((_.current ?? f) - e) * A, Y = (1 - e) * A, K = Math.max(Y, Math.min(ee, E));
|
|
692
692
|
j.current.push({ x: C.clientX, t: performance.now() });
|
|
693
693
|
const V = oe(K, G.current, e), W = V > e ? "grow" : V < e ? "shrink" : null;
|
|
@@ -695,34 +695,34 @@ function xn({
|
|
|
695
695
|
},
|
|
696
696
|
[oe, e, f, ie]
|
|
697
697
|
), le = w(() => {
|
|
698
|
-
if (Z(),
|
|
698
|
+
if (Z(), v.current === "dragging") {
|
|
699
699
|
const C = S.current;
|
|
700
700
|
if (typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches) {
|
|
701
|
-
x.jump(C), a?.(), x.jump(0),
|
|
701
|
+
x.jump(C), a?.(), x.jump(0), v.current = "idle", y("idle");
|
|
702
702
|
return;
|
|
703
703
|
}
|
|
704
704
|
const A = j.current.getWeightedVelocity();
|
|
705
|
-
|
|
705
|
+
v.current = "settling", y("settling"), U(), F.current = We(x, C, {
|
|
706
706
|
type: "spring",
|
|
707
707
|
stiffness: B.stiffness,
|
|
708
708
|
damping: B.damping,
|
|
709
709
|
mass: B.mass,
|
|
710
710
|
velocity: A,
|
|
711
711
|
onComplete: () => {
|
|
712
|
-
F.current = null, a?.(), x.jump(0),
|
|
712
|
+
F.current = null, a?.(), x.jump(0), v.current = "idle", y("idle");
|
|
713
713
|
}
|
|
714
714
|
});
|
|
715
715
|
return;
|
|
716
716
|
}
|
|
717
|
-
|
|
717
|
+
v.current === "handle-visible" && (a?.(), v.current = "cancelled", y("cancelled"));
|
|
718
718
|
}, [Z, x, a, B, U]);
|
|
719
|
-
|
|
719
|
+
O(() => {
|
|
720
720
|
if (N !== "dragging" && N !== "handle-visible") return;
|
|
721
721
|
const C = (E) => {
|
|
722
722
|
E.key === "Escape" && le();
|
|
723
723
|
};
|
|
724
724
|
return window.addEventListener("keydown", C), () => window.removeEventListener("keydown", C);
|
|
725
|
-
}, [N, le]),
|
|
725
|
+
}, [N, le]), O(() => {
|
|
726
726
|
if (N !== "dragging") {
|
|
727
727
|
M(e);
|
|
728
728
|
return;
|
|
@@ -735,7 +735,7 @@ function xn({
|
|
|
735
735
|
const ue = oe(de, G.current, e);
|
|
736
736
|
ue !== G.current && (G.current = ue, M(ue));
|
|
737
737
|
}, E = (K, V) => {
|
|
738
|
-
if (
|
|
738
|
+
if (v.current === "dragging")
|
|
739
739
|
if (K === "pointerup") {
|
|
740
740
|
const W = j.current.tail(), ce = V?.clientX ?? W?.x ?? I.current ?? 0, ae = ce - (I.current ?? ce), we = c.current, _e = ((_.current ?? f) - e) * we, ke = (1 - e) * we, xe = Math.max(ke, Math.min(_e, ae));
|
|
741
741
|
V && j.current.push({ x: V.clientX, t: performance.now() });
|
|
@@ -749,31 +749,31 @@ function xn({
|
|
|
749
749
|
return window.addEventListener("pointermove", C), window.addEventListener("pointerup", A), window.addEventListener("pointercancel", z), window.addEventListener("blur", ee), document.addEventListener("visibilitychange", Y), () => {
|
|
750
750
|
window.removeEventListener("pointermove", C), window.removeEventListener("pointerup", A), window.removeEventListener("pointercancel", z), window.removeEventListener("blur", ee), document.removeEventListener("visibilitychange", Y);
|
|
751
751
|
};
|
|
752
|
-
}, [N, e, x, oe, f, q, le, ie]),
|
|
753
|
-
Z(),
|
|
754
|
-
}, [Z,
|
|
752
|
+
}, [N, e, x, oe, f, q, le, ie]), O(() => () => {
|
|
753
|
+
Z(), L(), J();
|
|
754
|
+
}, [Z, L, J]), O(() => {
|
|
755
755
|
if (N !== "cancelled") return;
|
|
756
756
|
const C = setTimeout(() => y("idle"), p);
|
|
757
757
|
return () => clearTimeout(C);
|
|
758
758
|
}, [N, p]);
|
|
759
759
|
const lt = w(
|
|
760
760
|
(C) => {
|
|
761
|
-
if (
|
|
761
|
+
if (v.current === "settling") return;
|
|
762
762
|
const A = Math.min(f, Math.max(1, e + (C === "grow" ? 1 : -1)));
|
|
763
763
|
if (A === e) return;
|
|
764
|
-
c.current = s,
|
|
764
|
+
c.current = s, b.current = i, _.current = f, j.current.clear();
|
|
765
765
|
const z = e * s + (e - 1) * i;
|
|
766
766
|
S.current = z, x.jump(z), ie(A, C);
|
|
767
767
|
},
|
|
768
768
|
[e, s, i, f, x, ie]
|
|
769
769
|
), ze = w(() => {
|
|
770
770
|
J(), T.current = setTimeout(() => {
|
|
771
|
-
|
|
771
|
+
v.current === "handle-visible" && (v.current = "idle", y("idle"));
|
|
772
772
|
}, 5e3);
|
|
773
773
|
}, [J]), ct = w(() => {
|
|
774
|
-
|
|
774
|
+
v.current === "idle" && (Z(), v.current = "handle-visible", y("handle-visible"), ze());
|
|
775
775
|
}, [Z, ze]), dt = w(() => {
|
|
776
|
-
J(),
|
|
776
|
+
J(), v.current === "handle-visible" && (v.current = "idle", y("idle"));
|
|
777
777
|
}, [J]);
|
|
778
778
|
return {
|
|
779
779
|
state: N,
|
|
@@ -826,14 +826,14 @@ const se = {
|
|
|
826
826
|
sectionDividerFadeOutMs: 80,
|
|
827
827
|
sectionDividerStaggerMs: 40
|
|
828
828
|
};
|
|
829
|
-
function
|
|
829
|
+
function xn(e) {
|
|
830
830
|
const { cardWidthPx: t, slotCount: n, activeSlotIdx: a, pillWidthPx: s } = e;
|
|
831
831
|
if (a == null || !Number.isFinite(t) || t <= 0 || !Number.isFinite(n) || n <= 0 || !Number.isInteger(a) || a < 0 || a >= n)
|
|
832
832
|
return;
|
|
833
833
|
const i = (a + 0.5) * (t / n);
|
|
834
834
|
return s != null && Number.isFinite(s) && s > 0 ? i - s / 2 : i;
|
|
835
835
|
}
|
|
836
|
-
const
|
|
836
|
+
const Sn = [
|
|
837
837
|
// 1. Standard: Total Revenue
|
|
838
838
|
{
|
|
839
839
|
variant: "standard",
|
|
@@ -965,24 +965,24 @@ const Mn = [
|
|
|
965
965
|
subtitle: "Awaiting QA",
|
|
966
966
|
highlightColor: "neutral"
|
|
967
967
|
}
|
|
968
|
-
],
|
|
968
|
+
], $t = {
|
|
969
969
|
variant: "standard",
|
|
970
970
|
label: "Total Revenue",
|
|
971
971
|
isLoading: !0
|
|
972
|
-
},
|
|
972
|
+
}, Bt = {
|
|
973
973
|
variant: "standard",
|
|
974
974
|
label: "Total Revenue",
|
|
975
975
|
value: 125430,
|
|
976
976
|
valueFormat: { prefix: "$", abbreviated: !0 },
|
|
977
977
|
isError: !0
|
|
978
|
-
},
|
|
978
|
+
}, zt = {
|
|
979
979
|
variant: "standard",
|
|
980
980
|
label: "Total Revenue",
|
|
981
981
|
value: null,
|
|
982
982
|
valueFormat: { prefix: "$", abbreviated: !0 },
|
|
983
983
|
isEmpty: !0,
|
|
984
984
|
subtitle: "No data"
|
|
985
|
-
},
|
|
985
|
+
}, Kt = {
|
|
986
986
|
variant: "standard",
|
|
987
987
|
label: "Total Revenue",
|
|
988
988
|
value: 125430,
|
|
@@ -990,7 +990,7 @@ const Mn = [
|
|
|
990
990
|
trend: { value: 12.5, direction: "up" },
|
|
991
991
|
subtitle: "MTD",
|
|
992
992
|
isStale: !0
|
|
993
|
-
},
|
|
993
|
+
}, Wt = {
|
|
994
994
|
variant: "sparkline",
|
|
995
995
|
label: "Daily Orders",
|
|
996
996
|
value: 847,
|
|
@@ -999,7 +999,7 @@ const Mn = [
|
|
|
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
|
+
}, Gt = {
|
|
1003
1003
|
variant: "donut",
|
|
1004
1004
|
label: "Order Fill Rate",
|
|
1005
1005
|
value: 78,
|
|
@@ -1010,14 +1010,14 @@ const Mn = [
|
|
|
1010
1010
|
donutMax: 100,
|
|
1011
1011
|
accentColor: "#10b981",
|
|
1012
1012
|
isStale: !0
|
|
1013
|
-
},
|
|
1013
|
+
}, Mn = [
|
|
1014
|
+
$t,
|
|
1014
1015
|
Bt,
|
|
1015
1016
|
zt,
|
|
1016
1017
|
Kt,
|
|
1017
1018
|
Wt,
|
|
1018
|
-
Gt
|
|
1019
|
-
|
|
1020
|
-
], Tn = {
|
|
1019
|
+
Gt
|
|
1020
|
+
], Rn = {
|
|
1021
1021
|
variant: "sparkline",
|
|
1022
1022
|
label: "Daily Orders",
|
|
1023
1023
|
value: 847,
|
|
@@ -1040,7 +1040,7 @@ const Mn = [
|
|
|
1040
1040
|
59
|
|
1041
1041
|
],
|
|
1042
1042
|
accentColor: "#6366f1"
|
|
1043
|
-
},
|
|
1043
|
+
}, Tn = {
|
|
1044
1044
|
variant: "sparkline",
|
|
1045
1045
|
label: "New Customers",
|
|
1046
1046
|
value: 23,
|
|
@@ -1079,21 +1079,21 @@ const Mn = [
|
|
|
1079
1079
|
19
|
|
1080
1080
|
],
|
|
1081
1081
|
accentColor: "#10b981"
|
|
1082
|
-
},
|
|
1082
|
+
}, In = {
|
|
1083
1083
|
variant: "standard",
|
|
1084
1084
|
label: "Total Revenue",
|
|
1085
1085
|
value: 125430,
|
|
1086
1086
|
valueFormat: { prefix: "$", abbreviated: !0 },
|
|
1087
1087
|
trend: { value: 12.5, direction: "up" },
|
|
1088
1088
|
subtitle: "MTD"
|
|
1089
|
-
},
|
|
1089
|
+
}, Pn = {
|
|
1090
1090
|
variant: "standard",
|
|
1091
1091
|
label: "Returns",
|
|
1092
1092
|
value: 3280,
|
|
1093
1093
|
valueFormat: { prefix: "$", abbreviated: !0 },
|
|
1094
1094
|
trend: { value: -8.3, direction: "down" },
|
|
1095
1095
|
subtitle: "MTD"
|
|
1096
|
-
},
|
|
1096
|
+
}, Fn = {
|
|
1097
1097
|
variant: "standard",
|
|
1098
1098
|
label: "Avg Order Value",
|
|
1099
1099
|
value: 487,
|
|
@@ -1127,7 +1127,7 @@ function Ye({
|
|
|
1127
1127
|
l(), t();
|
|
1128
1128
|
}, [l, t]);
|
|
1129
1129
|
return /* @__PURE__ */ D(
|
|
1130
|
-
|
|
1130
|
+
yt,
|
|
1131
1131
|
{
|
|
1132
1132
|
definition: {
|
|
1133
1133
|
placement: "bottom-end",
|
|
@@ -1197,7 +1197,7 @@ function Ye({
|
|
|
1197
1197
|
);
|
|
1198
1198
|
}
|
|
1199
1199
|
Ye.displayName = "PageDropdown";
|
|
1200
|
-
const
|
|
1200
|
+
const Vt = function({
|
|
1201
1201
|
currentIndex: t,
|
|
1202
1202
|
total: n,
|
|
1203
1203
|
pages: a,
|
|
@@ -1263,8 +1263,8 @@ const Ht = function({
|
|
|
1263
1263
|
}
|
|
1264
1264
|
);
|
|
1265
1265
|
};
|
|
1266
|
-
|
|
1267
|
-
const
|
|
1266
|
+
Vt.displayName = "PageChip";
|
|
1267
|
+
const En = [
|
|
1268
1268
|
{
|
|
1269
1269
|
id: "ORD-1001",
|
|
1270
1270
|
orderNumber: "ORD-1001",
|
|
@@ -1397,7 +1397,7 @@ const An = [
|
|
|
1397
1397
|
date: "2026-03-01",
|
|
1398
1398
|
skuCount: 9
|
|
1399
1399
|
}
|
|
1400
|
-
],
|
|
1400
|
+
], An = [
|
|
1401
1401
|
{
|
|
1402
1402
|
id: "ITEM-001",
|
|
1403
1403
|
sku: "PB-4520",
|
|
@@ -1540,7 +1540,7 @@ function Qe(e) {
|
|
|
1540
1540
|
function Xe(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)" } }, "—"), On = [
|
|
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 ? Xe(e.date) : ""
|
|
1594
1594
|
}
|
|
1595
|
-
],
|
|
1595
|
+
], Ln = [
|
|
1596
1596
|
{
|
|
1597
1597
|
field: "sku",
|
|
1598
1598
|
headerName: "Item ID",
|
|
@@ -1656,20 +1656,20 @@ const he = H.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1656
1656
|
cellClassName: "gloss-tabular-nums",
|
|
1657
1657
|
renderCell: ({ row: e }) => e.lastDate ? Xe(e.lastDate) : ""
|
|
1658
1658
|
}
|
|
1659
|
-
],
|
|
1659
|
+
], Ht = [
|
|
1660
1660
|
{ id: "c-001", label: "ABC Home Goods" },
|
|
1661
1661
|
{ id: "c-002", label: "Riverside Retail" },
|
|
1662
1662
|
{ id: "c-003", label: "Mountain View Store" },
|
|
1663
1663
|
{ id: "c-004", label: "Downtown Decor" },
|
|
1664
1664
|
{ id: "c-005", label: "Pacific Coast Imports" }
|
|
1665
|
-
],
|
|
1665
|
+
], Ut = [
|
|
1666
1666
|
{ id: "i-001", label: "Classic Linen Throw Pillow" },
|
|
1667
1667
|
{ id: "i-002", label: "Coastal Wave Candle Set" },
|
|
1668
1668
|
{ id: "i-003", label: "Walnut Console Table" },
|
|
1669
1669
|
{ id: "i-004", label: "Hand-Blown Glass Vase" },
|
|
1670
1670
|
{ id: "i-005", label: "Velvet Accent Cushion" }
|
|
1671
1671
|
], Se = (e) => {
|
|
1672
|
-
},
|
|
1672
|
+
}, jt = (e) => {
|
|
1673
1673
|
}, Ve = (e, t) => {
|
|
1674
1674
|
}, Je = {
|
|
1675
1675
|
vizState: {
|
|
@@ -1680,15 +1680,15 @@ const he = H.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1680
1680
|
timeFrame: "MTD"
|
|
1681
1681
|
},
|
|
1682
1682
|
onTypeChange: Se,
|
|
1683
|
-
onQuantChange:
|
|
1683
|
+
onQuantChange: jt,
|
|
1684
1684
|
onEntityTypeChange: Se,
|
|
1685
1685
|
onEntitySelect: Ve,
|
|
1686
1686
|
onItemSelect: Ve,
|
|
1687
1687
|
onTimeFrameChange: Se,
|
|
1688
1688
|
userType: "sales-agency",
|
|
1689
|
-
entityFilterOptions:
|
|
1690
|
-
itemFilterOptions:
|
|
1691
|
-
},
|
|
1689
|
+
entityFilterOptions: Ht,
|
|
1690
|
+
itemFilterOptions: Ut
|
|
1691
|
+
}, $n = {
|
|
1692
1692
|
...Je,
|
|
1693
1693
|
vizState: {
|
|
1694
1694
|
type: "items",
|
|
@@ -1697,7 +1697,7 @@ const he = H.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1697
1697
|
byItem: { id: "i-003", name: "Walnut Console Table" },
|
|
1698
1698
|
timeFrame: "YTD"
|
|
1699
1699
|
}
|
|
1700
|
-
},
|
|
1700
|
+
}, Bn = {
|
|
1701
1701
|
...Je,
|
|
1702
1702
|
vizState: {
|
|
1703
1703
|
type: "orders",
|
|
@@ -1710,7 +1710,7 @@ const he = H.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1710
1710
|
entityFilterOptions: [
|
|
1711
1711
|
{ id: "customers", label: "Customers" }
|
|
1712
1712
|
]
|
|
1713
|
-
},
|
|
1713
|
+
}, Zt = [
|
|
1714
1714
|
{
|
|
1715
1715
|
id: "recent-orders",
|
|
1716
1716
|
label: "Recent Orders",
|
|
@@ -1756,7 +1756,7 @@ const he = H.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1756
1756
|
routeKey: "customer.profile",
|
|
1757
1757
|
subtitle: "Opens in RepTime"
|
|
1758
1758
|
}
|
|
1759
|
-
],
|
|
1759
|
+
], qt = [
|
|
1760
1760
|
{
|
|
1761
1761
|
id: "order-items",
|
|
1762
1762
|
label: "Items in Order",
|
|
@@ -1785,7 +1785,7 @@ const he = H.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1785
1785
|
cellKinds: ["orderId"],
|
|
1786
1786
|
graphType: "timeline"
|
|
1787
1787
|
}
|
|
1788
|
-
],
|
|
1788
|
+
], Yt = [
|
|
1789
1789
|
{
|
|
1790
1790
|
id: "graph-metric",
|
|
1791
1791
|
label: "Graph This Metric",
|
|
@@ -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
|
-
],
|
|
1817
|
-
entityName:
|
|
1818
|
-
orderId:
|
|
1819
|
-
numeric:
|
|
1820
|
-
},
|
|
1816
|
+
], zn = {
|
|
1817
|
+
entityName: Zt,
|
|
1818
|
+
orderId: qt,
|
|
1819
|
+
numeric: Yt
|
|
1820
|
+
}, Kn = [
|
|
1821
1821
|
new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), (/* @__PURE__ */ new Date()).getDate() - 29),
|
|
1822
1822
|
/* @__PURE__ */ new Date()
|
|
1823
|
-
],
|
|
1823
|
+
], Wn = {
|
|
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
|
+
}, Gn = {
|
|
1837
1837
|
version: 4,
|
|
1838
1838
|
lastPreset: "mtd",
|
|
1839
1839
|
pinnedPreset: "mtd",
|
|
@@ -1841,7 +1841,7 @@ const he = H.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1841
1841
|
rangeCount: 1,
|
|
1842
1842
|
lastPresetB: null,
|
|
1843
1843
|
lastPresetC: null
|
|
1844
|
-
},
|
|
1844
|
+
}, Vn = [
|
|
1845
1845
|
{
|
|
1846
1846
|
id: "atlanta-jan",
|
|
1847
1847
|
label: "Atlanta Market",
|
|
@@ -1863,7 +1863,7 @@ const he = H.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1863
1863
|
endDate: new Date(2026, 3, 22),
|
|
1864
1864
|
location: "Chicago, IL"
|
|
1865
1865
|
}
|
|
1866
|
-
],
|
|
1866
|
+
], Hn = [
|
|
1867
1867
|
{
|
|
1868
1868
|
id: "custom-regional-1",
|
|
1869
1869
|
label: "Southeast Regional Expo",
|
|
@@ -1880,7 +1880,7 @@ const he = H.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1880
1880
|
location: "Portland, OR",
|
|
1881
1881
|
isCustom: !0
|
|
1882
1882
|
}
|
|
1883
|
-
],
|
|
1883
|
+
], Un = [
|
|
1884
1884
|
{
|
|
1885
1885
|
id: "atlanta-jan",
|
|
1886
1886
|
label: "Atlanta Market",
|
|
@@ -1897,37 +1897,37 @@ const he = H.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1897
1897
|
location: "New York, NY",
|
|
1898
1898
|
active: !0
|
|
1899
1899
|
}
|
|
1900
|
-
],
|
|
1900
|
+
], jn = [
|
|
1901
1901
|
{ id: "7d", label: "7D" },
|
|
1902
1902
|
{ id: "30d", label: "30D" },
|
|
1903
1903
|
{ id: "60d", label: "60D" },
|
|
1904
1904
|
{ id: "90d", label: "90D" }
|
|
1905
|
-
],
|
|
1905
|
+
], Zn = [
|
|
1906
1906
|
{ id: "mtd", label: "MTD" },
|
|
1907
1907
|
{ id: "qtd", label: "QTD" },
|
|
1908
1908
|
{ id: "ytd", label: "YTD" },
|
|
1909
1909
|
{ id: "lytd", label: "LYTD" }
|
|
1910
|
-
],
|
|
1910
|
+
], Qt = {
|
|
1911
1911
|
timeframe: "Time Frame",
|
|
1912
1912
|
threshold: "Thresholds",
|
|
1913
1913
|
slots: "Slots",
|
|
1914
1914
|
size: "Size",
|
|
1915
1915
|
color: "Color",
|
|
1916
1916
|
pinned: "Pinned"
|
|
1917
|
-
},
|
|
1918
|
-
timeframe:
|
|
1919
|
-
threshold:
|
|
1920
|
-
slots:
|
|
1921
|
-
size:
|
|
1922
|
-
color:
|
|
1923
|
-
pinned:
|
|
1917
|
+
}, Xt = {
|
|
1918
|
+
timeframe: _t,
|
|
1919
|
+
threshold: Nt,
|
|
1920
|
+
slots: Dt,
|
|
1921
|
+
size: Ct,
|
|
1922
|
+
color: kt,
|
|
1923
|
+
pinned: xt
|
|
1924
1924
|
};
|
|
1925
1925
|
function He(...e) {
|
|
1926
1926
|
return e.filter(Boolean).join(" ");
|
|
1927
1927
|
}
|
|
1928
|
-
function
|
|
1928
|
+
function Jt() {
|
|
1929
1929
|
const [e, t] = $(() => typeof window > "u" || typeof window.matchMedia != "function" ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches);
|
|
1930
|
-
return
|
|
1930
|
+
return O(() => {
|
|
1931
1931
|
if (typeof window > "u" || typeof window.matchMedia != "function") return;
|
|
1932
1932
|
const n = window.matchMedia("(prefers-reduced-motion: reduce)"), a = (s) => t(s.matches);
|
|
1933
1933
|
return typeof n.addEventListener == "function" ? (n.addEventListener("change", a), () => n.removeEventListener("change", a)) : (n.addListener?.(a), () => {
|
|
@@ -1935,14 +1935,14 @@ function ea() {
|
|
|
1935
1935
|
});
|
|
1936
1936
|
}, []), e;
|
|
1937
1937
|
}
|
|
1938
|
-
const
|
|
1938
|
+
const ea = ({
|
|
1939
1939
|
dimensions: e,
|
|
1940
1940
|
onDimensionSelect: t,
|
|
1941
1941
|
activeDimension: n,
|
|
1942
1942
|
ariaCardTypeLabel: a,
|
|
1943
1943
|
className: s
|
|
1944
1944
|
}) => {
|
|
1945
|
-
const i = R(null), o = R([]), l =
|
|
1945
|
+
const i = R(null), o = R([]), l = Jt(), 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 N = u.length - 1, y = (h) => {
|
|
@@ -1989,7 +1989,7 @@ const ta = ({
|
|
|
1989
1989
|
"--gloss-reconfig-backside-buttons-transition-duration": p
|
|
1990
1990
|
},
|
|
1991
1991
|
children: u.map((g, m) => {
|
|
1992
|
-
const N =
|
|
1992
|
+
const N = Xt[g], y = n === g;
|
|
1993
1993
|
return /* @__PURE__ */ D(
|
|
1994
1994
|
"button",
|
|
1995
1995
|
{
|
|
@@ -2013,7 +2013,7 @@ const ta = ({
|
|
|
2013
2013
|
"aria-hidden": "true"
|
|
2014
2014
|
}
|
|
2015
2015
|
),
|
|
2016
|
-
/* @__PURE__ */ r("span", { className: "gloss-reconfig-backside-buttons__button-label", children:
|
|
2016
|
+
/* @__PURE__ */ r("span", { className: "gloss-reconfig-backside-buttons__button-label", children: Qt[g] })
|
|
2017
2017
|
]
|
|
2018
2018
|
},
|
|
2019
2019
|
g
|
|
@@ -2022,7 +2022,7 @@ const ta = ({
|
|
|
2022
2022
|
}
|
|
2023
2023
|
);
|
|
2024
2024
|
};
|
|
2025
|
-
|
|
2025
|
+
ea.displayName = "ReconfigBacksideButtons";
|
|
2026
2026
|
function Q(e, t) {
|
|
2027
2027
|
return {
|
|
2028
2028
|
id: e,
|
|
@@ -2049,7 +2049,7 @@ function Ue(e, t) {
|
|
|
2049
2049
|
colSpan: 2
|
|
2050
2050
|
};
|
|
2051
2051
|
}
|
|
2052
|
-
const
|
|
2052
|
+
const qn = [
|
|
2053
2053
|
Q("total-revenue", "Total Revenue"),
|
|
2054
2054
|
Q("total-orders", "Total Orders"),
|
|
2055
2055
|
Ue("revenue-trend", "Revenue Trend (2x)"),
|
|
@@ -2060,21 +2060,21 @@ const Yn = [
|
|
|
2060
2060
|
Q("repeat-rate", "Repeat Rate"),
|
|
2061
2061
|
Q("open-orders", "Open Orders"),
|
|
2062
2062
|
Q("shipped-orders", "Shipped Orders")
|
|
2063
|
-
],
|
|
2063
|
+
], Yn = {
|
|
2064
2064
|
columns: 6,
|
|
2065
2065
|
rowHeight: 120,
|
|
2066
2066
|
gap: 15,
|
|
2067
2067
|
maxRows: 3,
|
|
2068
2068
|
currentPage: 0,
|
|
2069
2069
|
totalPages: 1
|
|
2070
|
-
},
|
|
2070
|
+
}, Qn = {
|
|
2071
2071
|
columns: 9,
|
|
2072
2072
|
rowHeight: 120,
|
|
2073
2073
|
gap: 15,
|
|
2074
2074
|
maxRows: 3,
|
|
2075
2075
|
currentPage: 0,
|
|
2076
2076
|
totalPages: 2
|
|
2077
|
-
},
|
|
2077
|
+
}, Xn = {
|
|
2078
2078
|
columns: 12,
|
|
2079
2079
|
rowHeight: 120,
|
|
2080
2080
|
gap: 15,
|
|
@@ -2085,7 +2085,7 @@ const Yn = [
|
|
|
2085
2085
|
function Me(e) {
|
|
2086
2086
|
return H.createElement("span", { style: { fontSize: 14 } }, e);
|
|
2087
2087
|
}
|
|
2088
|
-
const
|
|
2088
|
+
const Jn = [
|
|
2089
2089
|
{
|
|
2090
2090
|
id: "all-orders",
|
|
2091
2091
|
type: "orders",
|
|
@@ -2108,7 +2108,7 @@ const er = [
|
|
|
2108
2108
|
icon: Me("🚚"),
|
|
2109
2109
|
closable: !0
|
|
2110
2110
|
}
|
|
2111
|
-
],
|
|
2111
|
+
], er = [
|
|
2112
2112
|
{
|
|
2113
2113
|
id: "orders-main",
|
|
2114
2114
|
type: "orders",
|
|
@@ -2134,7 +2134,7 @@ const er = [
|
|
|
2134
2134
|
name: "Customers",
|
|
2135
2135
|
closable: !0
|
|
2136
2136
|
}
|
|
2137
|
-
],
|
|
2137
|
+
], tr = [
|
|
2138
2138
|
{
|
|
2139
2139
|
id: "only-tab",
|
|
2140
2140
|
type: "orders",
|
|
@@ -2142,7 +2142,7 @@ const er = [
|
|
|
2142
2142
|
closable: !1,
|
|
2143
2143
|
autoCreated: !0
|
|
2144
2144
|
}
|
|
2145
|
-
],
|
|
2145
|
+
], ar = [
|
|
2146
2146
|
{ id: "tab-1", type: "orders", name: "All Orders", closable: !1, autoCreated: !0 },
|
|
2147
2147
|
{ id: "tab-2", type: "orders", name: "Open Orders", closable: !0 },
|
|
2148
2148
|
{ id: "tab-3", type: "orders", name: "Shipped Orders", closable: !0 },
|
|
@@ -2165,7 +2165,7 @@ function Fe(e) {
|
|
|
2165
2165
|
return { cols: 1, rows: 1 };
|
|
2166
2166
|
}
|
|
2167
2167
|
}
|
|
2168
|
-
function
|
|
2168
|
+
function ta(e) {
|
|
2169
2169
|
let t = 0;
|
|
2170
2170
|
for (const a of e) {
|
|
2171
2171
|
const s = Fe(a.size), i = a.gridPosition.col + s.cols - 1;
|
|
@@ -2173,7 +2173,7 @@ function aa(e) {
|
|
|
2173
2173
|
}
|
|
2174
2174
|
return `repeat(${t > 0 ? t : Math.max(e.length, 1)}, minmax(0, 1fr))`;
|
|
2175
2175
|
}
|
|
2176
|
-
const
|
|
2176
|
+
const aa = function(t) {
|
|
2177
2177
|
if (t.renderMode === "discrete")
|
|
2178
2178
|
return /* @__PURE__ */ r(
|
|
2179
2179
|
"div",
|
|
@@ -2242,7 +2242,7 @@ const na = function(t) {
|
|
|
2242
2242
|
style: {
|
|
2243
2243
|
display: "grid",
|
|
2244
2244
|
gap: "var(--gloss-spacing-2, 8px)",
|
|
2245
|
-
gridTemplateColumns:
|
|
2245
|
+
gridTemplateColumns: ta(n)
|
|
2246
2246
|
},
|
|
2247
2247
|
children: n.map((s) => {
|
|
2248
2248
|
const i = Fe(s.size);
|
|
@@ -2265,13 +2265,13 @@ const na = function(t) {
|
|
|
2265
2265
|
}
|
|
2266
2266
|
);
|
|
2267
2267
|
};
|
|
2268
|
-
|
|
2269
|
-
const et = "resize.tuning.dev",
|
|
2268
|
+
aa.displayName = "MetricGroupContainer";
|
|
2269
|
+
const et = "resize.tuning.dev", na = {
|
|
2270
2270
|
...qe,
|
|
2271
2271
|
snapInPx: 60,
|
|
2272
2272
|
snapOutPx: 90
|
|
2273
|
-
}, re =
|
|
2274
|
-
function
|
|
2273
|
+
}, re = na;
|
|
2274
|
+
function ra() {
|
|
2275
2275
|
if (typeof window > "u") return { ...re };
|
|
2276
2276
|
try {
|
|
2277
2277
|
const e = window.localStorage.getItem(et);
|
|
@@ -2282,9 +2282,9 @@ function sa() {
|
|
|
2282
2282
|
return { ...re };
|
|
2283
2283
|
}
|
|
2284
2284
|
}
|
|
2285
|
-
function
|
|
2286
|
-
const [e, t] = $(() =>
|
|
2287
|
-
|
|
2285
|
+
function sa() {
|
|
2286
|
+
const [e, t] = $(() => ra());
|
|
2287
|
+
O(() => {
|
|
2288
2288
|
if (!(typeof window > "u"))
|
|
2289
2289
|
try {
|
|
2290
2290
|
window.localStorage.setItem(et, JSON.stringify(e));
|
|
@@ -2306,7 +2306,7 @@ function ia() {
|
|
|
2306
2306
|
}, []);
|
|
2307
2307
|
return { values: e, setValue: n, resetRow: a, resetAll: s };
|
|
2308
2308
|
}
|
|
2309
|
-
const
|
|
2309
|
+
const ia = [
|
|
2310
2310
|
{ key: "stiffness", label: "Spring stiffness", unit: "", min: 100, max: 1e3, step: 10 },
|
|
2311
2311
|
{ key: "damping", label: "Spring damping", unit: "", min: 10, max: 60, step: 1 },
|
|
2312
2312
|
{ key: "mass", label: "Spring mass", unit: "", min: 0.5, max: 2, step: 0.1 },
|
|
@@ -2317,10 +2317,10 @@ const oa = [
|
|
|
2317
2317
|
{ key: "blueprintFadeOutMs", label: "Blueprint fade out", unit: "ms", min: 60, max: 400, step: 10 },
|
|
2318
2318
|
{ key: "velocityMultiplier", label: "Velocity multiplier", unit: "×", min: 0, max: 2, step: 0.05 }
|
|
2319
2319
|
];
|
|
2320
|
-
function
|
|
2320
|
+
function oa(e, t) {
|
|
2321
2321
|
return t >= 1 ? String(Math.round(e)) : t >= 0.1 ? e.toFixed(1) : e.toFixed(2);
|
|
2322
2322
|
}
|
|
2323
|
-
function
|
|
2323
|
+
function la() {
|
|
2324
2324
|
return /* @__PURE__ */ D(
|
|
2325
2325
|
"svg",
|
|
2326
2326
|
{
|
|
@@ -2340,7 +2340,7 @@ function ca() {
|
|
|
2340
2340
|
}
|
|
2341
2341
|
);
|
|
2342
2342
|
}
|
|
2343
|
-
function
|
|
2343
|
+
function ca({ spec: e, value: t, onChange: n, onReset: a, flashing: s }) {
|
|
2344
2344
|
const i = w(
|
|
2345
2345
|
(o) => {
|
|
2346
2346
|
(o.key === "r" || o.key === "R") && (o.preventDefault(), a());
|
|
@@ -2356,7 +2356,7 @@ function da({ spec: e, value: t, onChange: n, onReset: a, flashing: s }) {
|
|
|
2356
2356
|
children: [
|
|
2357
2357
|
/* @__PURE__ */ r("label", { className: "gloss-dev-tuning-panel__label", htmlFor: `gloss-dtp-${e.key}`, children: e.label }),
|
|
2358
2358
|
/* @__PURE__ */ D("span", { className: "gloss-dev-tuning-panel__value", "aria-live": "off", children: [
|
|
2359
|
-
|
|
2359
|
+
oa(t, e.step),
|
|
2360
2360
|
e.unit ? ` ${e.unit}` : ""
|
|
2361
2361
|
] }),
|
|
2362
2362
|
/* @__PURE__ */ r(
|
|
@@ -2380,14 +2380,14 @@ function da({ spec: e, value: t, onChange: n, onReset: a, flashing: s }) {
|
|
|
2380
2380
|
className: "gloss-dev-tuning-panel__reset",
|
|
2381
2381
|
"aria-label": `Reset ${e.label}`,
|
|
2382
2382
|
onClick: a,
|
|
2383
|
-
children: /* @__PURE__ */ r(
|
|
2383
|
+
children: /* @__PURE__ */ r(la, {})
|
|
2384
2384
|
}
|
|
2385
2385
|
)
|
|
2386
2386
|
]
|
|
2387
2387
|
}
|
|
2388
2388
|
);
|
|
2389
2389
|
}
|
|
2390
|
-
function
|
|
2390
|
+
function da() {
|
|
2391
2391
|
if (typeof process < "u" && process.env && process.env.NODE_ENV === "production" || typeof window > "u") return !1;
|
|
2392
2392
|
try {
|
|
2393
2393
|
return new URLSearchParams(window.location.search).has("devtune");
|
|
@@ -2395,12 +2395,12 @@ function ua() {
|
|
|
2395
2395
|
return !1;
|
|
2396
2396
|
}
|
|
2397
2397
|
}
|
|
2398
|
-
function
|
|
2399
|
-
return
|
|
2398
|
+
function ua(e = {}) {
|
|
2399
|
+
return da() ? /* @__PURE__ */ r(ma, {}) : null;
|
|
2400
2400
|
}
|
|
2401
|
-
|
|
2402
|
-
function
|
|
2403
|
-
const e =
|
|
2401
|
+
ua.displayName = "DevTuningPanel";
|
|
2402
|
+
function ma() {
|
|
2403
|
+
const e = sa(), { values: t, setValue: n, resetRow: a, resetAll: s } = e, [i, o] = $(null), l = R(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);
|
|
@@ -2409,7 +2409,7 @@ function ga() {
|
|
|
2409
2409
|
n(g, m), g === "snapInPx" && m > t.snapOutPx && (n("snapOutPx", m), u("snapOutPx"));
|
|
2410
2410
|
},
|
|
2411
2411
|
[n, t.snapOutPx, u]
|
|
2412
|
-
), p = ye(() =>
|
|
2412
|
+
), p = ye(() => ia, []), f = vt();
|
|
2413
2413
|
return /* @__PURE__ */ D(
|
|
2414
2414
|
De.div,
|
|
2415
2415
|
{
|
|
@@ -2434,7 +2434,7 @@ function ga() {
|
|
|
2434
2434
|
}
|
|
2435
2435
|
),
|
|
2436
2436
|
/* @__PURE__ */ r("div", { className: "gloss-dev-tuning-panel__body", children: p.map((g) => /* @__PURE__ */ r(
|
|
2437
|
-
|
|
2437
|
+
ca,
|
|
2438
2438
|
{
|
|
2439
2439
|
spec: g,
|
|
2440
2440
|
value: t[g.key],
|
|
@@ -2457,7 +2457,7 @@ function ga() {
|
|
|
2457
2457
|
}
|
|
2458
2458
|
);
|
|
2459
2459
|
}
|
|
2460
|
-
function
|
|
2460
|
+
function nr({
|
|
2461
2461
|
state: e,
|
|
2462
2462
|
originX: t,
|
|
2463
2463
|
originY: n,
|
|
@@ -2530,7 +2530,7 @@ function rr({
|
|
|
2530
2530
|
}
|
|
2531
2531
|
);
|
|
2532
2532
|
}
|
|
2533
|
-
function
|
|
2533
|
+
function rr({
|
|
2534
2534
|
density: e,
|
|
2535
2535
|
canAccept: t,
|
|
2536
2536
|
blocked: n = !1,
|
|
@@ -2559,11 +2559,11 @@ function sr({
|
|
|
2559
2559
|
}
|
|
2560
2560
|
);
|
|
2561
2561
|
}
|
|
2562
|
-
function
|
|
2562
|
+
function ga(e, t, n, a) {
|
|
2563
2563
|
const s = (e + n) / 2, i = Math.min(t, a) - 40;
|
|
2564
2564
|
return `M${e},${t} Q${s},${i} ${n},${a}`;
|
|
2565
2565
|
}
|
|
2566
|
-
function
|
|
2566
|
+
function sr({
|
|
2567
2567
|
segments: e,
|
|
2568
2568
|
durationMs: t = se.spilloverArcDurationMs,
|
|
2569
2569
|
staggerMs: n = se.spilloverStaggerMs,
|
|
@@ -2583,7 +2583,7 @@ function ir({
|
|
|
2583
2583
|
{
|
|
2584
2584
|
"data-arc-id": i.id,
|
|
2585
2585
|
className: "gloss-spillover-arc__path",
|
|
2586
|
-
d:
|
|
2586
|
+
d: ga(i.fromX, i.fromY, i.toX, i.toY),
|
|
2587
2587
|
style: {
|
|
2588
2588
|
animationDelay: `${o * n}ms`,
|
|
2589
2589
|
animationDuration: `${t}ms`
|
|
@@ -2594,7 +2594,7 @@ function ir({
|
|
|
2594
2594
|
}
|
|
2595
2595
|
);
|
|
2596
2596
|
}
|
|
2597
|
-
function
|
|
2597
|
+
function ir({
|
|
2598
2598
|
state: e,
|
|
2599
2599
|
staggerIndex: t = 0,
|
|
2600
2600
|
fadeInMs: n = se.sectionDividerFadeInMs,
|
|
@@ -2628,7 +2628,7 @@ function or({
|
|
|
2628
2628
|
}
|
|
2629
2629
|
);
|
|
2630
2630
|
}
|
|
2631
|
-
function
|
|
2631
|
+
function or({
|
|
2632
2632
|
enabled: e,
|
|
2633
2633
|
onPack: t,
|
|
2634
2634
|
ariaLabel: n = "Pack row (shift cards left)",
|
|
@@ -2650,7 +2650,7 @@ function lr({
|
|
|
2650
2650
|
}
|
|
2651
2651
|
) });
|
|
2652
2652
|
}
|
|
2653
|
-
function
|
|
2653
|
+
function lr({
|
|
2654
2654
|
tint: e,
|
|
2655
2655
|
colSpan: t,
|
|
2656
2656
|
colWidth: n,
|
|
@@ -2678,8 +2678,8 @@ function cr({
|
|
|
2678
2678
|
}
|
|
2679
2679
|
);
|
|
2680
2680
|
}
|
|
2681
|
-
const
|
|
2682
|
-
function
|
|
2681
|
+
const pa = 3;
|
|
2682
|
+
function cr({
|
|
2683
2683
|
cell: e,
|
|
2684
2684
|
colSpan: t,
|
|
2685
2685
|
colWidth: n,
|
|
@@ -2688,7 +2688,7 @@ function dr({
|
|
|
2688
2688
|
transitionMs: i = 120,
|
|
2689
2689
|
className: o
|
|
2690
2690
|
}) {
|
|
2691
|
-
const l = t * n + (t - 1) * a, d = (e.section *
|
|
2691
|
+
const l = t * n + (t - 1) * a, d = (e.section * pa + e.col) * (n + a), p = e.row * (s + a);
|
|
2692
2692
|
return /* @__PURE__ */ r(
|
|
2693
2693
|
"div",
|
|
2694
2694
|
{
|
|
@@ -2704,7 +2704,7 @@ function dr({
|
|
|
2704
2704
|
}
|
|
2705
2705
|
);
|
|
2706
2706
|
}
|
|
2707
|
-
function
|
|
2707
|
+
function dr({
|
|
2708
2708
|
items: e,
|
|
2709
2709
|
children: t,
|
|
2710
2710
|
className: n
|
|
@@ -2722,13 +2722,13 @@ function ur({
|
|
|
2722
2722
|
a.cardId
|
|
2723
2723
|
)) });
|
|
2724
2724
|
}
|
|
2725
|
-
const
|
|
2725
|
+
const ha = ({
|
|
2726
2726
|
consumed: e,
|
|
2727
2727
|
elapsed: t,
|
|
2728
2728
|
severity: n = "neutral"
|
|
2729
2729
|
}) => {
|
|
2730
2730
|
const a = R(null), s = R(null);
|
|
2731
|
-
|
|
2731
|
+
O(() => {
|
|
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}%`), s.current && (s.current.style.width = `${u}%`);
|
|
2734
2734
|
});
|
|
@@ -2785,7 +2785,7 @@ const fa = ({
|
|
|
2785
2785
|
]
|
|
2786
2786
|
}
|
|
2787
2787
|
);
|
|
2788
|
-
},
|
|
2788
|
+
}, fa = ({ label: e, value: t, severity: n }) => /* @__PURE__ */ D(
|
|
2789
2789
|
"div",
|
|
2790
2790
|
{
|
|
2791
2791
|
className: `gloss-gap-readout gloss-gap-readout--${n}`,
|
|
@@ -2814,9 +2814,9 @@ const fa = ({
|
|
|
2814
2814
|
children: "Set target"
|
|
2815
2815
|
}
|
|
2816
2816
|
)
|
|
2817
|
-
] }),
|
|
2817
|
+
] }), ur = (e) => {
|
|
2818
2818
|
const [t, n] = $(!1), a = e.target?.value, s = a !== void 0, i = e.paceGapUnit === "usd" ? "$" : "%", o = /* @__PURE__ */ r(
|
|
2819
|
-
|
|
2819
|
+
St,
|
|
2820
2820
|
{
|
|
2821
2821
|
label: `Set a target for ${e.label}`,
|
|
2822
2822
|
unit: i,
|
|
@@ -2840,16 +2840,17 @@ const fa = ({
|
|
|
2840
2840
|
onRemove: e.onRemove,
|
|
2841
2841
|
children: /* @__PURE__ */ D("div", { className: `gloss-pace-card ${e.isStale ? "gloss-metric-data-stale" : ""}`, children: [
|
|
2842
2842
|
/* @__PURE__ */ r("div", { className: "gloss-pace-card__label", children: e.label }),
|
|
2843
|
+
e.subtitle && /* @__PURE__ */ r("div", { className: "gloss-pace-card__subtitle", children: e.subtitle }),
|
|
2843
2844
|
/* @__PURE__ */ r("div", { className: "gloss-pace-card__body", children: s ? /* @__PURE__ */ D(te, { children: [
|
|
2844
2845
|
/* @__PURE__ */ r(
|
|
2845
|
-
|
|
2846
|
+
ha,
|
|
2846
2847
|
{
|
|
2847
2848
|
consumed: e.consumed,
|
|
2848
2849
|
elapsed: e.elapsed,
|
|
2849
2850
|
severity: e.severity
|
|
2850
2851
|
}
|
|
2851
2852
|
),
|
|
2852
|
-
/* @__PURE__ */ r(
|
|
2853
|
+
/* @__PURE__ */ r(fa, { label: "Gap", value: e.gapLabel, severity: e.severity })
|
|
2853
2854
|
] }) : /* @__PURE__ */ r(
|
|
2854
2855
|
ba,
|
|
2855
2856
|
{
|
|
@@ -2860,7 +2861,7 @@ const fa = ({
|
|
|
2860
2861
|
] })
|
|
2861
2862
|
}
|
|
2862
2863
|
);
|
|
2863
|
-
},
|
|
2864
|
+
}, mr = () => /* @__PURE__ */ D("div", { className: "gloss-pace-tile-preview", "aria-hidden": "true", children: [
|
|
2864
2865
|
/* @__PURE__ */ r(
|
|
2865
2866
|
"div",
|
|
2866
2867
|
{
|
|
@@ -2877,7 +2878,7 @@ const fa = ({
|
|
|
2877
2878
|
),
|
|
2878
2879
|
/* @__PURE__ */ r("div", { className: "gloss-pace-tile-preview__gap-strip" })
|
|
2879
2880
|
] });
|
|
2880
|
-
function
|
|
2881
|
+
function va({ id: e, label: t, selected: n, focused: a, disabled: s, badge: i, onClick: o }) {
|
|
2881
2882
|
return /* @__PURE__ */ r(
|
|
2882
2883
|
"span",
|
|
2883
2884
|
{
|
|
@@ -2891,14 +2892,14 @@ function ya({ id: e, label: t, selected: n, focused: a, disabled: s, badge: i, o
|
|
|
2891
2892
|
onClick: () => {
|
|
2892
2893
|
s || o(e);
|
|
2893
2894
|
},
|
|
2894
|
-
children: /* @__PURE__ */ D(
|
|
2895
|
+
children: /* @__PURE__ */ D("span", { className: "gloss-lens-chip__inner", children: [
|
|
2895
2896
|
/* @__PURE__ */ r("span", { className: "gloss-lens-chip__label", children: t }),
|
|
2896
2897
|
i && /* @__PURE__ */ r("span", { className: "gloss-lens-chip__badge", children: i })
|
|
2897
2898
|
] })
|
|
2898
2899
|
}
|
|
2899
2900
|
);
|
|
2900
2901
|
}
|
|
2901
|
-
function
|
|
2902
|
+
function ya({
|
|
2902
2903
|
lenses: e,
|
|
2903
2904
|
value: t,
|
|
2904
2905
|
onChange: n,
|
|
@@ -2907,7 +2908,10 @@ function wa({
|
|
|
2907
2908
|
const [s, i] = $(
|
|
2908
2909
|
() => Math.max(0, e.findIndex((l) => l.id === t))
|
|
2909
2910
|
);
|
|
2910
|
-
return
|
|
2911
|
+
return O(() => {
|
|
2912
|
+
const l = e.findIndex((u) => u.id === t);
|
|
2913
|
+
i(l >= 0 ? l : 0);
|
|
2914
|
+
}, [t, e]), e.length === 0 ? null : /* @__PURE__ */ r(
|
|
2911
2915
|
"div",
|
|
2912
2916
|
{
|
|
2913
2917
|
role: "radiogroup",
|
|
@@ -2939,7 +2943,7 @@ function wa({
|
|
|
2939
2943
|
},
|
|
2940
2944
|
className: "gloss-lens-chip-group",
|
|
2941
2945
|
children: e.map((l, u) => /* @__PURE__ */ r(
|
|
2942
|
-
|
|
2946
|
+
va,
|
|
2943
2947
|
{
|
|
2944
2948
|
id: l.id,
|
|
2945
2949
|
label: l.label,
|
|
@@ -2954,15 +2958,15 @@ function wa({
|
|
|
2954
2958
|
}
|
|
2955
2959
|
);
|
|
2956
2960
|
}
|
|
2957
|
-
|
|
2958
|
-
function
|
|
2961
|
+
ya.displayName = "LensChipGroup";
|
|
2962
|
+
function wa({ heading: e, children: t }) {
|
|
2959
2963
|
return !t || Array.isArray(t) && t.length === 0 ? null : /* @__PURE__ */ D("section", { className: "gloss-starter-rail", "aria-label": e, children: [
|
|
2960
2964
|
/* @__PURE__ */ r("header", { className: "gloss-starter-rail__heading", children: e }),
|
|
2961
2965
|
/* @__PURE__ */ r("div", { className: "gloss-starter-rail__tiles", children: t })
|
|
2962
2966
|
] });
|
|
2963
2967
|
}
|
|
2964
|
-
|
|
2965
|
-
function
|
|
2968
|
+
wa.displayName = "StarterRail";
|
|
2969
|
+
function _a({ heading: e, children: t, emptyStateLabel: n }) {
|
|
2966
2970
|
const a = !t || Array.isArray(t) && t.length === 0;
|
|
2967
2971
|
return /* @__PURE__ */ D("section", { className: "gloss-more-in-lens-rail", "aria-label": e, children: [
|
|
2968
2972
|
/* @__PURE__ */ r("header", { className: "gloss-more-in-lens-rail__heading", children: e }),
|
|
@@ -2972,7 +2976,7 @@ function Na({ heading: e, children: t, emptyStateLabel: n }) {
|
|
|
2972
2976
|
] })
|
|
2973
2977
|
] });
|
|
2974
2978
|
}
|
|
2975
|
-
|
|
2979
|
+
_a.displayName = "MoreInLensRail";
|
|
2976
2980
|
function X({
|
|
2977
2981
|
lead: e,
|
|
2978
2982
|
name: t,
|
|
@@ -3029,7 +3033,7 @@ const fe = ({ rank: e }) => {
|
|
|
3029
3033
|
);
|
|
3030
3034
|
};
|
|
3031
3035
|
fe.displayName = "RankBadge";
|
|
3032
|
-
function
|
|
3036
|
+
function be({ severity: e, "aria-label": t }) {
|
|
3033
3037
|
return /* @__PURE__ */ r(
|
|
3034
3038
|
"span",
|
|
3035
3039
|
{
|
|
@@ -3039,7 +3043,7 @@ function ve({ severity: e, "aria-label": t }) {
|
|
|
3039
3043
|
}
|
|
3040
3044
|
);
|
|
3041
3045
|
}
|
|
3042
|
-
|
|
3046
|
+
be.displayName = "SeverityDot";
|
|
3043
3047
|
function tt({
|
|
3044
3048
|
delta: e,
|
|
3045
3049
|
direction: t = "flat",
|
|
@@ -3070,7 +3074,7 @@ function tt({
|
|
|
3070
3074
|
);
|
|
3071
3075
|
}
|
|
3072
3076
|
tt.displayName = "RankDelta";
|
|
3073
|
-
function
|
|
3077
|
+
function ve({ fill: e, variant: t = "default", className: n }) {
|
|
3074
3078
|
const a = Math.max(0, Math.min(100, e));
|
|
3075
3079
|
return /* @__PURE__ */ r(
|
|
3076
3080
|
"div",
|
|
@@ -3086,9 +3090,9 @@ function be({ fill: e, variant: t = "default", className: n }) {
|
|
|
3086
3090
|
}
|
|
3087
3091
|
);
|
|
3088
3092
|
}
|
|
3089
|
-
|
|
3090
|
-
const
|
|
3091
|
-
function
|
|
3093
|
+
ve.displayName = "MagnitudeBar";
|
|
3094
|
+
const Na = (e) => e.rankDelta === "new" ? "New entry" : e.direction === "up" ? `Rank up ${e.rankDelta}` : e.direction === "down" ? `Rank down ${e.rankDelta}` : "Rank unchanged";
|
|
3095
|
+
function Da({
|
|
3092
3096
|
label: e,
|
|
3093
3097
|
rows: t,
|
|
3094
3098
|
rowCount: n,
|
|
@@ -3116,7 +3120,7 @@ function Ca({
|
|
|
3116
3120
|
lead: /* @__PURE__ */ r(fe, { rank: l + 1 }),
|
|
3117
3121
|
name: o.name,
|
|
3118
3122
|
secondary: /* @__PURE__ */ r(
|
|
3119
|
-
|
|
3123
|
+
ve,
|
|
3120
3124
|
{
|
|
3121
3125
|
fill: o.magnitude,
|
|
3122
3126
|
variant: o.isBottom ? "bottom" : "default"
|
|
@@ -3128,7 +3132,7 @@ function Ca({
|
|
|
3128
3132
|
{
|
|
3129
3133
|
delta: o.rankDelta,
|
|
3130
3134
|
direction: o.direction,
|
|
3131
|
-
"aria-label":
|
|
3135
|
+
"aria-label": Na(o)
|
|
3132
3136
|
}
|
|
3133
3137
|
),
|
|
3134
3138
|
variant: "leaderboard",
|
|
@@ -3144,22 +3148,22 @@ function Ca({
|
|
|
3144
3148
|
] })
|
|
3145
3149
|
] });
|
|
3146
3150
|
}
|
|
3147
|
-
|
|
3148
|
-
const
|
|
3151
|
+
Da.displayName = "LeaderboardCard";
|
|
3152
|
+
const Ca = () => /* @__PURE__ */ D(
|
|
3149
3153
|
"div",
|
|
3150
3154
|
{
|
|
3151
3155
|
className: "leaderboard-tile-preview",
|
|
3152
3156
|
"aria-hidden": "true",
|
|
3153
3157
|
style: { transform: "scale(0.6)", transformOrigin: "top left" },
|
|
3154
3158
|
children: [
|
|
3155
|
-
/* @__PURE__ */ r(X, { lead: /* @__PURE__ */ r(fe, { rank: 1 }), name: "Vendor A", secondary: /* @__PURE__ */ r(
|
|
3156
|
-
/* @__PURE__ */ r(X, { lead: /* @__PURE__ */ r(fe, { rank: 2 }), name: "Vendor B", secondary: /* @__PURE__ */ r(
|
|
3157
|
-
/* @__PURE__ */ r(X, { lead: /* @__PURE__ */ r(fe, { rank: 3 }), name: "Vendor C", secondary: /* @__PURE__ */ r(
|
|
3159
|
+
/* @__PURE__ */ r(X, { lead: /* @__PURE__ */ r(fe, { rank: 1 }), name: "Vendor A", secondary: /* @__PURE__ */ r(ve, { fill: 96 }), value: "98%" }),
|
|
3160
|
+
/* @__PURE__ */ r(X, { lead: /* @__PURE__ */ r(fe, { rank: 2 }), name: "Vendor B", secondary: /* @__PURE__ */ r(ve, { fill: 72 }), value: "85%" }),
|
|
3161
|
+
/* @__PURE__ */ r(X, { lead: /* @__PURE__ */ r(fe, { rank: 3 }), name: "Vendor C", secondary: /* @__PURE__ */ r(ve, { fill: 48 }), value: "71%" })
|
|
3158
3162
|
]
|
|
3159
3163
|
}
|
|
3160
3164
|
);
|
|
3161
|
-
|
|
3162
|
-
const
|
|
3165
|
+
Ca.displayName = "LeaderboardTilePreview";
|
|
3166
|
+
const ka = (e) => e === "critical" ? "Critical severity" : e === "warn" ? "Warning severity" : "Info severity", xa = (e, t) => {
|
|
3163
3167
|
const n = e.sourceValue;
|
|
3164
3168
|
if (typeof n != "number") return !1;
|
|
3165
3169
|
switch (t.condition) {
|
|
@@ -3177,7 +3181,7 @@ const xa = (e) => e === "critical" ? "Critical severity" : e === "warn" ? "Warni
|
|
|
3177
3181
|
return !1;
|
|
3178
3182
|
}
|
|
3179
3183
|
};
|
|
3180
|
-
function
|
|
3184
|
+
function Sa({
|
|
3181
3185
|
label: e,
|
|
3182
3186
|
rows: t,
|
|
3183
3187
|
rule: n,
|
|
@@ -3186,7 +3190,7 @@ function Ma({
|
|
|
3186
3190
|
ruleSubtitle: i,
|
|
3187
3191
|
isStale: o
|
|
3188
3192
|
}) {
|
|
3189
|
-
const l = t.filter((d) =>
|
|
3193
|
+
const l = t.filter((d) => xa(d, n)), u = l.slice(0, a ?? 3);
|
|
3190
3194
|
return l.length === 0 ? /* @__PURE__ */ D(te, { children: [
|
|
3191
3195
|
/* @__PURE__ */ r(
|
|
3192
3196
|
pe,
|
|
@@ -3215,7 +3219,7 @@ function Ma({
|
|
|
3215
3219
|
children: /* @__PURE__ */ r("div", { className: "gloss-exception-list__rows", role: "list", children: u.map((d, p) => /* @__PURE__ */ r(
|
|
3216
3220
|
X,
|
|
3217
3221
|
{
|
|
3218
|
-
lead: /* @__PURE__ */ r(
|
|
3222
|
+
lead: /* @__PURE__ */ r(be, { severity: d.severity, "aria-label": ka(d.severity) }),
|
|
3219
3223
|
name: d.name,
|
|
3220
3224
|
value: d.value,
|
|
3221
3225
|
variant: "exception",
|
|
@@ -3228,8 +3232,8 @@ function Ma({
|
|
|
3228
3232
|
i && /* @__PURE__ */ r("div", { className: "gloss-exception-list__zone-c", children: i })
|
|
3229
3233
|
] });
|
|
3230
3234
|
}
|
|
3231
|
-
|
|
3232
|
-
const
|
|
3235
|
+
Sa.displayName = "ExceptionListCard";
|
|
3236
|
+
const Ma = () => /* @__PURE__ */ D(
|
|
3233
3237
|
"div",
|
|
3234
3238
|
{
|
|
3235
3239
|
className: "exception-list-tile-preview",
|
|
@@ -3239,7 +3243,7 @@ const Ra = () => /* @__PURE__ */ D(
|
|
|
3239
3243
|
/* @__PURE__ */ r(
|
|
3240
3244
|
X,
|
|
3241
3245
|
{
|
|
3242
|
-
lead: /* @__PURE__ */ r(
|
|
3246
|
+
lead: /* @__PURE__ */ r(be, { severity: "critical", "aria-label": "Critical severity" }),
|
|
3243
3247
|
name: "SKU A",
|
|
3244
3248
|
value: "0 on hand"
|
|
3245
3249
|
}
|
|
@@ -3247,7 +3251,7 @@ const Ra = () => /* @__PURE__ */ D(
|
|
|
3247
3251
|
/* @__PURE__ */ r(
|
|
3248
3252
|
X,
|
|
3249
3253
|
{
|
|
3250
|
-
lead: /* @__PURE__ */ r(
|
|
3254
|
+
lead: /* @__PURE__ */ r(be, { severity: "warn", "aria-label": "Warning severity" }),
|
|
3251
3255
|
name: "SKU B",
|
|
3252
3256
|
value: "3 units"
|
|
3253
3257
|
}
|
|
@@ -3255,7 +3259,7 @@ const Ra = () => /* @__PURE__ */ D(
|
|
|
3255
3259
|
/* @__PURE__ */ r(
|
|
3256
3260
|
X,
|
|
3257
3261
|
{
|
|
3258
|
-
lead: /* @__PURE__ */ r(
|
|
3262
|
+
lead: /* @__PURE__ */ r(be, { severity: "info", "aria-label": "Info severity" }),
|
|
3259
3263
|
name: "SKU C",
|
|
3260
3264
|
value: "12 days"
|
|
3261
3265
|
}
|
|
@@ -3263,7 +3267,7 @@ const Ra = () => /* @__PURE__ */ D(
|
|
|
3263
3267
|
]
|
|
3264
3268
|
}
|
|
3265
3269
|
);
|
|
3266
|
-
|
|
3270
|
+
Ma.displayName = "ExceptionListTilePreview";
|
|
3267
3271
|
const ne = {
|
|
3268
3272
|
"gloss-inline-nudge": "_gloss-inline-nudge_kdk88_34",
|
|
3269
3273
|
"gloss-inline-nudge__message": "_gloss-inline-nudge__message_kdk88_65",
|
|
@@ -3272,7 +3276,7 @@ const ne = {
|
|
|
3272
3276
|
"gloss-inline-nudge__btn--action": "_gloss-inline-nudge__btn--action_kdk88_88",
|
|
3273
3277
|
"gloss-inline-nudge__btn--dismiss": "_gloss-inline-nudge__btn--dismiss_kdk88_96"
|
|
3274
3278
|
};
|
|
3275
|
-
function
|
|
3279
|
+
function Ra({
|
|
3276
3280
|
message: e,
|
|
3277
3281
|
primaryAction: t,
|
|
3278
3282
|
onDismiss: n,
|
|
@@ -3333,11 +3337,11 @@ function Ta({
|
|
|
3333
3337
|
}
|
|
3334
3338
|
);
|
|
3335
3339
|
}
|
|
3336
|
-
|
|
3340
|
+
Ra.displayName = "InlineNudge";
|
|
3337
3341
|
function Ee(e) {
|
|
3338
3342
|
return e.colorToken ? `var(--gloss-color-${e.colorToken}, ${e.color ?? "#888"})` : e.color ?? "#888";
|
|
3339
3343
|
}
|
|
3340
|
-
function
|
|
3344
|
+
function Ta(e, t, n) {
|
|
3341
3345
|
if (n <= t) {
|
|
3342
3346
|
const o = e[0], l = o ? Ee(o) : "#888";
|
|
3343
3347
|
return `linear-gradient(to right, ${l}, ${l})`;
|
|
@@ -3348,10 +3352,10 @@ function Ia(e, t, n) {
|
|
|
3348
3352
|
});
|
|
3349
3353
|
return i.length === 0 ? "linear-gradient(to right, #888 0%, #888 100%)" : i.length === 1 ? `linear-gradient(to right, ${i[0]}, ${i[0]})` : `linear-gradient(to right, ${i.join(", ")})`;
|
|
3350
3354
|
}
|
|
3351
|
-
function
|
|
3355
|
+
function Ia(e) {
|
|
3352
3356
|
return e.map((t) => `${t.id}:${t.value}`).join("|");
|
|
3353
3357
|
}
|
|
3354
|
-
function
|
|
3358
|
+
function Pa({
|
|
3355
3359
|
stops: e,
|
|
3356
3360
|
onChange: t,
|
|
3357
3361
|
min: n = 0,
|
|
@@ -3364,79 +3368,79 @@ function Fa({
|
|
|
3364
3368
|
), 0.01) : s, l = w(
|
|
3365
3369
|
(c) => Math.round(c / o) * o,
|
|
3366
3370
|
[o]
|
|
3367
|
-
), u = R(null), [d, p] = $(null), [f, g] = $(e), m =
|
|
3368
|
-
|
|
3371
|
+
), u = R(null), [d, p] = $(null), [f, g] = $(e), m = Ia(e), N = R(m);
|
|
3372
|
+
O(() => {
|
|
3369
3373
|
N.current !== m && (N.current = m, !d && g(e));
|
|
3370
3374
|
}, [m, e, d]);
|
|
3371
|
-
const y = ye(() =>
|
|
3375
|
+
const y = ye(() => Ta(f, n, a), [f, n, a]), h = w(
|
|
3372
3376
|
(c) => {
|
|
3373
3377
|
if (!u.current) return n;
|
|
3374
|
-
const
|
|
3375
|
-
return l(
|
|
3378
|
+
const b = u.current.getBoundingClientRect(), _ = b.width || 1, S = Math.max(0, Math.min(1, (c - b.left) / _)), v = n + S * (a - n);
|
|
3379
|
+
return l(v);
|
|
3376
3380
|
},
|
|
3377
3381
|
[n, a, l]
|
|
3378
3382
|
);
|
|
3379
|
-
|
|
3383
|
+
O(() => {
|
|
3380
3384
|
a <= n && process.env.NODE_ENV !== "production" && console.warn(
|
|
3381
3385
|
`ThresholdRamp: max (${a}) must be greater than min (${n}); rendering degenerate strip.`
|
|
3382
3386
|
);
|
|
3383
3387
|
}, [n, a]);
|
|
3384
3388
|
const M = w(
|
|
3385
|
-
(c,
|
|
3386
|
-
const _ = f.find((S) => S.id ===
|
|
3387
|
-
i || _?.disabled || (c.preventDefault(), p(
|
|
3389
|
+
(c, b) => {
|
|
3390
|
+
const _ = f.find((S) => S.id === b);
|
|
3391
|
+
i || _?.disabled || (c.preventDefault(), p(b));
|
|
3388
3392
|
},
|
|
3389
3393
|
[i, f]
|
|
3390
3394
|
), P = R(f);
|
|
3391
3395
|
P.current = f;
|
|
3392
3396
|
const k = R(t);
|
|
3393
|
-
k.current = t,
|
|
3397
|
+
k.current = t, O(() => {
|
|
3394
3398
|
if (!d) return;
|
|
3395
3399
|
const c = (_) => {
|
|
3396
3400
|
const S = h(_.clientX);
|
|
3397
3401
|
g(
|
|
3398
|
-
(
|
|
3402
|
+
(v) => v.map((x) => x.id === d ? { ...x, value: S } : x)
|
|
3399
3403
|
);
|
|
3400
|
-
},
|
|
3401
|
-
const S = h(_.clientX),
|
|
3404
|
+
}, b = (_) => {
|
|
3405
|
+
const S = h(_.clientX), v = P.current.map(
|
|
3402
3406
|
(x) => x.id === d ? { ...x, value: S } : x
|
|
3403
3407
|
);
|
|
3404
|
-
g(
|
|
3408
|
+
g(v), p(null), k.current(v);
|
|
3405
3409
|
};
|
|
3406
|
-
return window.addEventListener("pointermove", c), window.addEventListener("pointerup",
|
|
3407
|
-
window.removeEventListener("pointermove", c), window.removeEventListener("pointerup",
|
|
3410
|
+
return window.addEventListener("pointermove", c), window.addEventListener("pointerup", b), window.addEventListener("pointercancel", b), () => {
|
|
3411
|
+
window.removeEventListener("pointermove", c), window.removeEventListener("pointerup", b), window.removeEventListener("pointercancel", b);
|
|
3408
3412
|
};
|
|
3409
3413
|
}, [d, h]);
|
|
3410
3414
|
const T = a - n > 0 ? a - n : 1, I = w(
|
|
3411
|
-
(c,
|
|
3412
|
-
if (i ||
|
|
3415
|
+
(c, b) => {
|
|
3416
|
+
if (i || b.disabled) return;
|
|
3413
3417
|
const _ = a - n;
|
|
3414
3418
|
if (_ <= 0) return;
|
|
3415
3419
|
const S = c.shiftKey ? _ / 20 : _ / 100;
|
|
3416
|
-
let
|
|
3420
|
+
let v = b.value;
|
|
3417
3421
|
switch (c.key) {
|
|
3418
3422
|
case "ArrowRight":
|
|
3419
3423
|
case "ArrowUp":
|
|
3420
|
-
|
|
3424
|
+
v = b.value + S;
|
|
3421
3425
|
break;
|
|
3422
3426
|
case "ArrowLeft":
|
|
3423
3427
|
case "ArrowDown":
|
|
3424
|
-
|
|
3428
|
+
v = b.value - S;
|
|
3425
3429
|
break;
|
|
3426
3430
|
case "Home":
|
|
3427
|
-
|
|
3431
|
+
v = n;
|
|
3428
3432
|
break;
|
|
3429
3433
|
case "End":
|
|
3430
|
-
|
|
3434
|
+
v = a;
|
|
3431
3435
|
break;
|
|
3432
3436
|
default:
|
|
3433
3437
|
return;
|
|
3434
3438
|
}
|
|
3435
3439
|
c.preventDefault();
|
|
3436
|
-
const x = Math.max(n, Math.min(a,
|
|
3437
|
-
if (F ===
|
|
3440
|
+
const x = Math.max(n, Math.min(a, v)), F = l(x);
|
|
3441
|
+
if (F === b.value) return;
|
|
3438
3442
|
const U = f.map(
|
|
3439
|
-
(q) => q.id ===
|
|
3443
|
+
(q) => q.id === b.id ? { ...q, value: F } : q
|
|
3440
3444
|
);
|
|
3441
3445
|
g(U), t(U);
|
|
3442
3446
|
},
|
|
@@ -3449,13 +3453,13 @@ function Fa({
|
|
|
3449
3453
|
className: "gloss-threshold-ramp__track",
|
|
3450
3454
|
style: { background: y },
|
|
3451
3455
|
children: f.map((c) => {
|
|
3452
|
-
const
|
|
3456
|
+
const b = (c.value - n) / T * 100;
|
|
3453
3457
|
return /* @__PURE__ */ r(
|
|
3454
3458
|
"span",
|
|
3455
3459
|
{
|
|
3456
3460
|
className: "gloss-threshold-ramp__stop",
|
|
3457
3461
|
style: {
|
|
3458
|
-
left: `${
|
|
3462
|
+
left: `${b}%`,
|
|
3459
3463
|
color: Ee(c)
|
|
3460
3464
|
},
|
|
3461
3465
|
"data-disabled": c.disabled || void 0,
|
|
@@ -3476,13 +3480,13 @@ function Fa({
|
|
|
3476
3480
|
}
|
|
3477
3481
|
) });
|
|
3478
3482
|
}
|
|
3479
|
-
|
|
3480
|
-
const at =
|
|
3481
|
-
function
|
|
3482
|
-
return
|
|
3483
|
+
Pa.displayName = "ThresholdRamp";
|
|
3484
|
+
const at = ht(null);
|
|
3485
|
+
function Fa() {
|
|
3486
|
+
return ft(at);
|
|
3483
3487
|
}
|
|
3484
|
-
function
|
|
3485
|
-
const t =
|
|
3488
|
+
function Ea({ option: e }) {
|
|
3489
|
+
const t = Fa(), n = t?.isSelected(e.value) ?? !1, a = e.disabled || t?.groupDisabled, s = w(() => {
|
|
3486
3490
|
a || t?.select(e.value);
|
|
3487
3491
|
}, [a, t, e.value]), i = w(
|
|
3488
3492
|
(d) => {
|
|
@@ -3511,7 +3515,7 @@ function Aa({ option: e }) {
|
|
|
3511
3515
|
}
|
|
3512
3516
|
);
|
|
3513
3517
|
}
|
|
3514
|
-
function
|
|
3518
|
+
function Aa({
|
|
3515
3519
|
swatches: e,
|
|
3516
3520
|
value: t,
|
|
3517
3521
|
defaultValue: n,
|
|
@@ -3539,21 +3543,21 @@ function Oa({
|
|
|
3539
3543
|
if (I.length === 0) return;
|
|
3540
3544
|
const c = I.findIndex((S) => S.value === T);
|
|
3541
3545
|
if (c === -1) return;
|
|
3542
|
-
let
|
|
3546
|
+
let b = c;
|
|
3543
3547
|
switch (k.key) {
|
|
3544
3548
|
case "ArrowRight":
|
|
3545
3549
|
case "ArrowDown":
|
|
3546
|
-
|
|
3550
|
+
b = (c + 1) % I.length;
|
|
3547
3551
|
break;
|
|
3548
3552
|
case "ArrowLeft":
|
|
3549
3553
|
case "ArrowUp":
|
|
3550
|
-
|
|
3554
|
+
b = (c - 1 + I.length) % I.length;
|
|
3551
3555
|
break;
|
|
3552
3556
|
case "Home":
|
|
3553
|
-
|
|
3557
|
+
b = 0;
|
|
3554
3558
|
break;
|
|
3555
3559
|
case "End":
|
|
3556
|
-
|
|
3560
|
+
b = I.length - 1;
|
|
3557
3561
|
break;
|
|
3558
3562
|
case " ":
|
|
3559
3563
|
case "Enter":
|
|
@@ -3563,7 +3567,7 @@ function Oa({
|
|
|
3563
3567
|
return;
|
|
3564
3568
|
}
|
|
3565
3569
|
k.preventDefault();
|
|
3566
|
-
const _ = I[
|
|
3570
|
+
const _ = I[b].value;
|
|
3567
3571
|
h(_), p(_);
|
|
3568
3572
|
},
|
|
3569
3573
|
[s, e, p, h]
|
|
@@ -3585,11 +3589,11 @@ function Oa({
|
|
|
3585
3589
|
"aria-label": i,
|
|
3586
3590
|
"aria-disabled": s,
|
|
3587
3591
|
"data-disabled": s || void 0,
|
|
3588
|
-
children: e.map((k) => /* @__PURE__ */ r(
|
|
3592
|
+
children: e.map((k) => /* @__PURE__ */ r(Ea, { option: k }, k.value))
|
|
3589
3593
|
}
|
|
3590
3594
|
) });
|
|
3591
3595
|
}
|
|
3592
|
-
|
|
3596
|
+
Aa.displayName = "PresetSwatchRow";
|
|
3593
3597
|
function Ae(e, t) {
|
|
3594
3598
|
for (const n of e)
|
|
3595
3599
|
if (n.items.some((a) => a.id === t))
|
|
@@ -3600,14 +3604,14 @@ function je(e, t) {
|
|
|
3600
3604
|
const n = e.find((a) => a.zoneKey === t);
|
|
3601
3605
|
return n ? n.zoneKey : Ae(e, t);
|
|
3602
3606
|
}
|
|
3603
|
-
function
|
|
3607
|
+
function Oa(e, t, n) {
|
|
3604
3608
|
const a = [...e], [s] = a.splice(t, 1);
|
|
3605
3609
|
return a.splice(n, 0, s), a;
|
|
3606
3610
|
}
|
|
3607
|
-
function
|
|
3611
|
+
function La(e) {
|
|
3608
3612
|
return e.map((t) => `${t.zoneKey}:${t.items.map((n) => n.id).join(",")}`).join("|");
|
|
3609
3613
|
}
|
|
3610
|
-
function
|
|
3614
|
+
function $a(e) {
|
|
3611
3615
|
const [t, n] = $(
|
|
3612
3616
|
() => e.zones.map((h) => h.maxItems !== void 0 && h.items.length > h.maxItems ? (process.env.NODE_ENV !== "production" && console.warn(
|
|
3613
3617
|
`useSortableZones: zone "${h.zoneKey}" exceeds maxItems (${h.items.length} > ${h.maxItems}); trimming to cap.`
|
|
@@ -3615,10 +3619,10 @@ function Ba(e) {
|
|
|
3615
3619
|
), [a, s] = $(null), [i, o] = $(null), l = R(null), u = R(e.onZoneChange);
|
|
3616
3620
|
u.current = e.onZoneChange;
|
|
3617
3621
|
const d = ye(
|
|
3618
|
-
() =>
|
|
3622
|
+
() => La(e.zones),
|
|
3619
3623
|
[e.zones]
|
|
3620
3624
|
), p = R(d);
|
|
3621
|
-
|
|
3625
|
+
O(() => {
|
|
3622
3626
|
p.current !== d && (p.current = d, !a && n(
|
|
3623
3627
|
e.zones.map((h) => h.maxItems !== void 0 && h.items.length > h.maxItems ? (process.env.NODE_ENV !== "production" && console.warn(
|
|
3624
3628
|
`useSortableZones: zone "${h.zoneKey}" exceeds maxItems (${h.items.length} > ${h.maxItems}); trimming to cap.`
|
|
@@ -3663,31 +3667,31 @@ function Ba(e) {
|
|
|
3663
3667
|
k();
|
|
3664
3668
|
return;
|
|
3665
3669
|
}
|
|
3666
|
-
let c = t.map((
|
|
3670
|
+
let c = t.map((b) => ({ ...b, items: [...b.items] }));
|
|
3667
3671
|
if (T === I) {
|
|
3668
|
-
const
|
|
3669
|
-
c[
|
|
3672
|
+
const b = c.findIndex((F) => F.zoneKey === T), _ = c[b], S = _.items.findIndex((F) => F.id === M.id), v = _.items.findIndex((F) => F.id === P.id), x = v >= 0 ? v : Math.max(0, _.items.length - 1);
|
|
3673
|
+
c[b] = {
|
|
3670
3674
|
..._,
|
|
3671
|
-
items:
|
|
3675
|
+
items: Oa(_.items, S, x)
|
|
3672
3676
|
};
|
|
3673
3677
|
} else {
|
|
3674
|
-
const
|
|
3678
|
+
const b = c.findIndex((L) => L.zoneKey === T), _ = c.findIndex((L) => L.zoneKey === I), S = c[b], v = c[_], x = S.items.find((L) => L.id === M.id);
|
|
3675
3679
|
if (!x) {
|
|
3676
3680
|
k();
|
|
3677
3681
|
return;
|
|
3678
3682
|
}
|
|
3679
|
-
const F = S.items.filter((
|
|
3680
|
-
let j = F, G = [...
|
|
3681
|
-
if (
|
|
3682
|
-
const
|
|
3683
|
-
G = G.slice(0,
|
|
3683
|
+
const F = S.items.filter((L) => L.id !== M.id), U = v.items.findIndex((L) => L.id === P.id), q = U >= 0 ? U : v.items.length;
|
|
3684
|
+
let j = F, G = [...v.items];
|
|
3685
|
+
if (v.maxItems !== void 0 && G.length >= v.maxItems) {
|
|
3686
|
+
const L = G[G.length - 1];
|
|
3687
|
+
G = G.slice(0, v.maxItems - 1), j = [...F, L];
|
|
3684
3688
|
}
|
|
3685
3689
|
const B = Math.min(q, G.length), Z = [
|
|
3686
3690
|
...G.slice(0, B),
|
|
3687
3691
|
x,
|
|
3688
3692
|
...G.slice(B)
|
|
3689
3693
|
];
|
|
3690
|
-
c[
|
|
3694
|
+
c[b] = { ...S, items: j }, c[_] = { ...v, items: Z };
|
|
3691
3695
|
}
|
|
3692
3696
|
n(c), u.current?.(c), k();
|
|
3693
3697
|
},
|
|
@@ -3721,7 +3725,7 @@ function Ba(e) {
|
|
|
3721
3725
|
};
|
|
3722
3726
|
}
|
|
3723
3727
|
let ge = null, Ne = null, Re = !1;
|
|
3724
|
-
const
|
|
3728
|
+
const Ba = [
|
|
3725
3729
|
"DndContext",
|
|
3726
3730
|
"DragOverlay",
|
|
3727
3731
|
"useSensors",
|
|
@@ -3730,21 +3734,21 @@ const za = [
|
|
|
3730
3734
|
"PointerSensor",
|
|
3731
3735
|
"KeyboardSensor",
|
|
3732
3736
|
"closestCenter"
|
|
3733
|
-
],
|
|
3737
|
+
], za = [
|
|
3734
3738
|
"SortableContext",
|
|
3735
3739
|
"useSortable",
|
|
3736
3740
|
"verticalListSortingStrategy"
|
|
3737
3741
|
];
|
|
3738
|
-
function
|
|
3742
|
+
function Ka(e, t) {
|
|
3739
3743
|
const n = [], a = e ?? {};
|
|
3740
|
-
for (const i of
|
|
3744
|
+
for (const i of Ba)
|
|
3741
3745
|
a[i] === void 0 && n.push(`@dnd-kit/core:${i}`);
|
|
3742
3746
|
const s = t ?? {};
|
|
3743
|
-
for (const i of
|
|
3747
|
+
for (const i of za)
|
|
3744
3748
|
s[i] === void 0 && n.push(`@dnd-kit/sortable:${i}`);
|
|
3745
3749
|
return n.length === 0 ? { ok: !0 } : { ok: !1, missing: n };
|
|
3746
3750
|
}
|
|
3747
|
-
function
|
|
3751
|
+
function Wa() {
|
|
3748
3752
|
return ge ? Promise.resolve(ge) : Re ? Promise.resolve(null) : Ne || (Ne = (async () => {
|
|
3749
3753
|
try {
|
|
3750
3754
|
const [e, t, n] = await Promise.all([
|
|
@@ -3753,7 +3757,7 @@ function Ga() {
|
|
|
3753
3757
|
import("@dnd-kit/utilities").catch(() => (process.env.NODE_ENV !== "production" && console.warn(
|
|
3754
3758
|
"SortableZones: @dnd-kit/utilities failed to load; drag-overlay positioning will fall back (items may teleport instead of slide)."
|
|
3755
3759
|
), {}))
|
|
3756
|
-
]), a =
|
|
3760
|
+
]), a = Ka(e, t);
|
|
3757
3761
|
return a.ok ? (ge = {
|
|
3758
3762
|
core: e,
|
|
3759
3763
|
sortable: t,
|
|
@@ -3766,12 +3770,12 @@ function Ga() {
|
|
|
3766
3770
|
}
|
|
3767
3771
|
})(), Ne);
|
|
3768
3772
|
}
|
|
3769
|
-
function
|
|
3770
|
-
const { zones: t, onZoneChange: n, renderZone: a, renderItem: s, renderDragOverlay: i } = e, o =
|
|
3773
|
+
function Ga(e) {
|
|
3774
|
+
const { zones: t, onZoneChange: n, renderZone: a, renderItem: s, renderDragOverlay: i } = e, o = $a({ zones: t, onZoneChange: n }), [l, u] = H.useState(ge);
|
|
3771
3775
|
return H.useEffect(() => {
|
|
3772
3776
|
if (l) return;
|
|
3773
3777
|
let d = !0;
|
|
3774
|
-
return
|
|
3778
|
+
return Wa().then((p) => {
|
|
3775
3779
|
d && u(p);
|
|
3776
3780
|
}), () => {
|
|
3777
3781
|
d = !1;
|
|
@@ -3790,7 +3794,7 @@ function Va(e) {
|
|
|
3790
3794
|
return /* @__PURE__ */ r("div", { ...o.getZoneProps(d.zoneKey), children: a(d.zoneKey, d.items, p) }, d.zoneKey);
|
|
3791
3795
|
}) });
|
|
3792
3796
|
}
|
|
3793
|
-
|
|
3797
|
+
Ga.displayName = "SortableZones";
|
|
3794
3798
|
function nt({
|
|
3795
3799
|
state: e,
|
|
3796
3800
|
modules: t,
|
|
@@ -3812,7 +3816,7 @@ function nt({
|
|
|
3812
3816
|
onDragEnd: e.handleDragEnd,
|
|
3813
3817
|
children: [
|
|
3814
3818
|
e.zones.map((c) => {
|
|
3815
|
-
const
|
|
3819
|
+
const b = c.items.map((S) => S.id), _ = c.items.map((S) => /* @__PURE__ */ r(
|
|
3816
3820
|
rt,
|
|
3817
3821
|
{
|
|
3818
3822
|
id: S.id,
|
|
@@ -3828,7 +3832,7 @@ function nt({
|
|
|
3828
3832
|
zoneKey: c.zoneKey,
|
|
3829
3833
|
zoneProps: e.getZoneProps(c.zoneKey),
|
|
3830
3834
|
useDroppable: g,
|
|
3831
|
-
children: /* @__PURE__ */ r(I, { items:
|
|
3835
|
+
children: /* @__PURE__ */ r(I, { items: b, strategy: M, children: n(c.zoneKey, c.items, _) })
|
|
3832
3836
|
},
|
|
3833
3837
|
c.zoneKey
|
|
3834
3838
|
);
|
|
@@ -3858,7 +3862,7 @@ function st({
|
|
|
3858
3862
|
return /* @__PURE__ */ r("div", { ref: s, "data-zone-is-over": i || void 0, ...t, children: a });
|
|
3859
3863
|
}
|
|
3860
3864
|
st.displayName = "ZoneDroppable";
|
|
3861
|
-
function
|
|
3865
|
+
function gr({
|
|
3862
3866
|
slotLeft: e,
|
|
3863
3867
|
slotCenter: t,
|
|
3864
3868
|
slotRight: n,
|
|
@@ -3908,7 +3912,7 @@ function pr({
|
|
|
3908
3912
|
}
|
|
3909
3913
|
);
|
|
3910
3914
|
}
|
|
3911
|
-
function
|
|
3915
|
+
function pr({
|
|
3912
3916
|
count: e,
|
|
3913
3917
|
currentIndex: t,
|
|
3914
3918
|
onSelect: n,
|
|
@@ -3917,7 +3921,7 @@ function hr({
|
|
|
3917
3921
|
pulseIndex: i,
|
|
3918
3922
|
pulseNonce: o
|
|
3919
3923
|
}) {
|
|
3920
|
-
const l =
|
|
3924
|
+
const l = mt.useRef([]);
|
|
3921
3925
|
return l.current.length = e, /* @__PURE__ */ r(
|
|
3922
3926
|
"div",
|
|
3923
3927
|
{
|
|
@@ -3961,12 +3965,12 @@ function hr({
|
|
|
3961
3965
|
}
|
|
3962
3966
|
);
|
|
3963
3967
|
}
|
|
3964
|
-
const
|
|
3968
|
+
const Va = H.forwardRef(({ density: e = "compact", children: t, ...n }, a) => {
|
|
3965
3969
|
const s = { ...n };
|
|
3966
3970
|
return delete s.className, delete s.style, /* @__PURE__ */ r("div", { ref: a, className: "gloss-container-toolbar", role: "toolbar", ...s, children: /* @__PURE__ */ r(Oe, { region: "toolbar", density: e, children: t }) });
|
|
3967
3971
|
});
|
|
3968
|
-
|
|
3969
|
-
const
|
|
3972
|
+
Va.displayName = "ContainerToolbar";
|
|
3973
|
+
const Ha = H.forwardRef(({ legend: e, description: t, density: n = "default", children: a, ...s }, i) => {
|
|
3970
3974
|
const o = { ...s };
|
|
3971
3975
|
return delete o.className, delete o.style, /* @__PURE__ */ D("fieldset", { ref: i, className: "gloss-container-form-section", ...o, children: [
|
|
3972
3976
|
e && /* @__PURE__ */ r("legend", { className: "gloss-container-form-section__legend", children: e }),
|
|
@@ -3974,45 +3978,45 @@ const Ua = H.forwardRef(({ legend: e, description: t, density: n = "default", ch
|
|
|
3974
3978
|
/* @__PURE__ */ r(Oe, { region: "form-section", density: n, children: a })
|
|
3975
3979
|
] });
|
|
3976
3980
|
});
|
|
3977
|
-
|
|
3978
|
-
const
|
|
3981
|
+
Ha.displayName = "ContainerFormSection";
|
|
3982
|
+
const Ua = H.forwardRef(({ density: e = "compact", children: t, ...n }, a) => {
|
|
3979
3983
|
const s = { ...n };
|
|
3980
3984
|
return delete s.className, delete s.style, /* @__PURE__ */ r("div", { ref: a, className: "gloss-container-table", ...s, children: /* @__PURE__ */ r(Oe, { region: "table", density: e, children: t }) });
|
|
3981
3985
|
});
|
|
3982
|
-
|
|
3986
|
+
Ua.displayName = "ContainerTable";
|
|
3983
3987
|
export {
|
|
3984
3988
|
br as Accordion,
|
|
3985
|
-
|
|
3986
|
-
|
|
3987
|
-
|
|
3988
|
-
|
|
3989
|
-
|
|
3990
|
-
|
|
3991
|
-
|
|
3992
|
-
|
|
3993
|
-
|
|
3994
|
-
|
|
3995
|
-
|
|
3996
|
-
|
|
3997
|
-
|
|
3998
|
-
|
|
3999
|
-
|
|
4000
|
-
|
|
4001
|
-
|
|
4002
|
-
|
|
4003
|
-
|
|
4004
|
-
|
|
4005
|
-
|
|
4006
|
-
|
|
4007
|
-
|
|
3989
|
+
vr as AccordionContent,
|
|
3990
|
+
yr as AccordionItem,
|
|
3991
|
+
wr as AccordionTrigger,
|
|
3992
|
+
_r as ActionStrip,
|
|
3993
|
+
Nr as Actionable,
|
|
3994
|
+
Dr as AddressGroup,
|
|
3995
|
+
Cr as AddressSelect,
|
|
3996
|
+
kr as AsyncLoader,
|
|
3997
|
+
xr as Autocomplete,
|
|
3998
|
+
Sr as Badge,
|
|
3999
|
+
Mr as BarChartCard,
|
|
4000
|
+
Rr as BarsBg,
|
|
4001
|
+
gr as BottomToolbar,
|
|
4002
|
+
Tr as Button,
|
|
4003
|
+
Ir as ButtonGroup,
|
|
4004
|
+
Pr as ButtonGroupContext,
|
|
4005
|
+
Fr as Card,
|
|
4006
|
+
Er as CardActions,
|
|
4007
|
+
Ar as CardBack,
|
|
4008
|
+
Or as CardBody,
|
|
4009
|
+
Lr as CardFooter,
|
|
4010
|
+
$r as CardHeader,
|
|
4011
|
+
Br as CardMedia,
|
|
4008
4012
|
ut as CardShell,
|
|
4009
|
-
|
|
4010
|
-
|
|
4011
|
-
|
|
4012
|
-
|
|
4013
|
-
|
|
4014
|
-
|
|
4015
|
-
|
|
4013
|
+
zr as CardSubtitle,
|
|
4014
|
+
Kr as CardTitle,
|
|
4015
|
+
dr as CascadePreview,
|
|
4016
|
+
Wr as ChartControlBar,
|
|
4017
|
+
Gr as Checkbox,
|
|
4018
|
+
Vr as CheckboxGroup,
|
|
4019
|
+
Hr as Chip,
|
|
4016
4020
|
Ur as ColorPicker,
|
|
4017
4021
|
jr as ComparisonCard,
|
|
4018
4022
|
Zr as ContactForm,
|
|
@@ -4028,10 +4032,10 @@ export {
|
|
|
4028
4032
|
rs as ContainerDialogActions,
|
|
4029
4033
|
ss as ContainerDialogBody,
|
|
4030
4034
|
is as ContainerDialogHeader,
|
|
4031
|
-
|
|
4035
|
+
Ha as ContainerFormSection,
|
|
4032
4036
|
os as ContainerPanel,
|
|
4033
|
-
|
|
4034
|
-
|
|
4037
|
+
Ua as ContainerTable,
|
|
4038
|
+
Va as ContainerToolbar,
|
|
4035
4039
|
ls as CreditCardForm,
|
|
4036
4040
|
cs as DEFAULT_FOOTER_IDS,
|
|
4037
4041
|
se as DEFAULT_GRID_INTERACTION_PHYSICS,
|
|
@@ -4043,25 +4047,25 @@ export {
|
|
|
4043
4047
|
ms as DatePicker,
|
|
4044
4048
|
gs as DateRangePicker,
|
|
4045
4049
|
ps as DestructiveModal,
|
|
4046
|
-
|
|
4050
|
+
ua as DevTuningPanel,
|
|
4047
4051
|
hs as DirectionCard,
|
|
4048
4052
|
fs as Dismissible,
|
|
4049
|
-
|
|
4050
|
-
|
|
4051
|
-
|
|
4052
|
-
|
|
4053
|
+
bs as DistributionCard,
|
|
4054
|
+
vs as DonutChart,
|
|
4055
|
+
lr as DragGhost,
|
|
4056
|
+
rr as DropAnchorCell,
|
|
4053
4057
|
ys as Dropdown,
|
|
4054
|
-
|
|
4058
|
+
ha as DualPaceBars,
|
|
4055
4059
|
ws as ENTITY_FILTER_KEYS,
|
|
4056
4060
|
_s as ENTITY_PROFILE_ROUTES,
|
|
4057
4061
|
Ns as ENTITY_TYPE_PLURAL,
|
|
4058
|
-
|
|
4059
|
-
|
|
4062
|
+
At as EdgeHoverHandle,
|
|
4063
|
+
or as EmptyCellPackAffordance,
|
|
4060
4064
|
Ds as EntityPicker,
|
|
4061
4065
|
X as EntityRow,
|
|
4062
4066
|
Cs as EntitySearchPanel,
|
|
4063
|
-
|
|
4064
|
-
|
|
4067
|
+
Sa as ExceptionListCard,
|
|
4068
|
+
Ma as ExceptionListTilePreview,
|
|
4065
4069
|
ks as Expandable,
|
|
4066
4070
|
xs as ExpandableChip,
|
|
4067
4071
|
Ss as FLIP_AND_STAGE_TIMINGS,
|
|
@@ -4073,24 +4077,24 @@ export {
|
|
|
4073
4077
|
Fs as FormDialog,
|
|
4074
4078
|
Es as FormField,
|
|
4075
4079
|
As as FusedShape,
|
|
4076
|
-
|
|
4077
|
-
|
|
4080
|
+
fa as GapReadout,
|
|
4081
|
+
Ot as GhostPreview,
|
|
4078
4082
|
Os as GroupCheckbox,
|
|
4079
4083
|
Ls as GroupRadio,
|
|
4080
|
-
|
|
4084
|
+
Nn as HARD_CLIP,
|
|
4081
4085
|
$s as HighlightCard,
|
|
4082
4086
|
Bs as HybridDatePicker,
|
|
4083
4087
|
zs as ImportWizard,
|
|
4084
|
-
|
|
4088
|
+
Ra as InlineNudge,
|
|
4085
4089
|
Ks as Input,
|
|
4086
4090
|
Ws as InputAddon,
|
|
4087
4091
|
Gs as InputGroup,
|
|
4088
|
-
|
|
4089
|
-
|
|
4090
|
-
|
|
4092
|
+
Da as LeaderboardCard,
|
|
4093
|
+
Ca as LeaderboardTilePreview,
|
|
4094
|
+
ya as LensChipGroup,
|
|
4091
4095
|
Vs as Link,
|
|
4092
4096
|
Hs as LoginForm,
|
|
4093
|
-
|
|
4097
|
+
ve as MagnitudeBar,
|
|
4094
4098
|
Us as MarketPresetRow,
|
|
4095
4099
|
js as MaskPresets,
|
|
4096
4100
|
Zs as MaskedInput,
|
|
@@ -4101,48 +4105,48 @@ export {
|
|
|
4101
4105
|
Js as MergePrompt,
|
|
4102
4106
|
ei as MetricCard,
|
|
4103
4107
|
ti as MetricCardGrid,
|
|
4104
|
-
|
|
4108
|
+
aa as MetricGroupContainer,
|
|
4105
4109
|
ai as MiniCalendar,
|
|
4106
|
-
|
|
4110
|
+
_a as MoreInLensRail,
|
|
4107
4111
|
ni as MultiSelect,
|
|
4108
4112
|
ri as NumberInput,
|
|
4109
4113
|
si as ObjectArrow,
|
|
4110
4114
|
ii as OrderFilterBar,
|
|
4111
4115
|
zo as PERIOD_OPTIONS,
|
|
4112
|
-
|
|
4113
|
-
|
|
4114
|
-
|
|
4116
|
+
ur as PaceCard,
|
|
4117
|
+
mr as PaceTilePreview,
|
|
4118
|
+
Vt as PageChip,
|
|
4115
4119
|
Ye as PageDropdown,
|
|
4116
4120
|
oi as PasswordInput,
|
|
4117
4121
|
li as PaymentForm,
|
|
4118
4122
|
ci as PaymentMethodSelect,
|
|
4119
4123
|
di as PhoneInput,
|
|
4120
4124
|
ui as PinToMetric,
|
|
4121
|
-
|
|
4125
|
+
Aa as PresetSwatchRow,
|
|
4122
4126
|
mi as ProfileCard,
|
|
4123
4127
|
gi as ProgressCard,
|
|
4124
4128
|
pi as QuickConfigPanel,
|
|
4125
|
-
|
|
4129
|
+
Qt as RECONFIG_BACKSIDE_LABELS,
|
|
4126
4130
|
Ko as ROLLING_OPTIONS,
|
|
4127
4131
|
hi as Radio,
|
|
4128
4132
|
fi as RadioGroup,
|
|
4129
|
-
|
|
4133
|
+
bi as RangeSlider,
|
|
4130
4134
|
fe as RankBadge,
|
|
4131
4135
|
tt as RankDelta,
|
|
4132
|
-
|
|
4133
|
-
|
|
4136
|
+
vi as Rating,
|
|
4137
|
+
ea as ReconfigBacksideButtons,
|
|
4134
4138
|
yi as RegistrationForm,
|
|
4135
|
-
|
|
4139
|
+
nr as ResizeEnvelope,
|
|
4136
4140
|
wi as Row1Controls,
|
|
4137
4141
|
_i as Row2FilterTray,
|
|
4138
4142
|
Ni as SearchInput,
|
|
4139
|
-
|
|
4140
|
-
|
|
4143
|
+
ir as SectionDivider,
|
|
4144
|
+
pr as SectionDots,
|
|
4141
4145
|
Di as SegmentCard,
|
|
4142
4146
|
Ci as SegmentedControl,
|
|
4143
4147
|
ki as Select,
|
|
4144
4148
|
xi as Selectable,
|
|
4145
|
-
|
|
4149
|
+
be as SeverityDot,
|
|
4146
4150
|
Si as SimpleMetricCard,
|
|
4147
4151
|
Mi as SimpleSelector,
|
|
4148
4152
|
Ri as Skeleton,
|
|
@@ -4150,16 +4154,16 @@ export {
|
|
|
4150
4154
|
Ii as SkeletonChart,
|
|
4151
4155
|
Pi as SkeletonTable,
|
|
4152
4156
|
Fi as Slider,
|
|
4153
|
-
|
|
4157
|
+
cr as SnapOutline,
|
|
4154
4158
|
Ei as Sortable,
|
|
4155
|
-
|
|
4159
|
+
Ga as SortableZones,
|
|
4156
4160
|
Ai as SparklineBg,
|
|
4157
|
-
|
|
4161
|
+
sr as SpilloverArc,
|
|
4158
4162
|
Oi as SplitButton,
|
|
4159
4163
|
Li as StackedGroupCard,
|
|
4160
|
-
|
|
4164
|
+
wa as StarterRail,
|
|
4161
4165
|
$i as StatusModeCard,
|
|
4162
|
-
|
|
4166
|
+
Et as StatusSlotChipMenu,
|
|
4163
4167
|
Bi as Stepper,
|
|
4164
4168
|
Ze as SwingReveal,
|
|
4165
4169
|
Wo as TODAY_PRESET,
|
|
@@ -4168,9 +4172,9 @@ export {
|
|
|
4168
4172
|
zi as TabGroup,
|
|
4169
4173
|
Ki as TabbedDataView,
|
|
4170
4174
|
Wi as TagInput,
|
|
4171
|
-
|
|
4175
|
+
St as TargetInput,
|
|
4172
4176
|
Gi as Textarea,
|
|
4173
|
-
|
|
4177
|
+
Pa as ThresholdRamp,
|
|
4174
4178
|
Vi as TimeFrame,
|
|
4175
4179
|
Hi as TimePicker,
|
|
4176
4180
|
Ui as Toggle,
|
|
@@ -4183,120 +4187,120 @@ export {
|
|
|
4183
4187
|
Oe as UIContextProvider,
|
|
4184
4188
|
Xi as UnifiedBreakdownTable,
|
|
4185
4189
|
Ji as UnifiedContextMenu,
|
|
4186
|
-
|
|
4190
|
+
Lt as VelocityBuffer,
|
|
4187
4191
|
eo as addressGroupMetadata,
|
|
4188
4192
|
to as addressSchema,
|
|
4189
|
-
|
|
4190
|
-
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
+
ln as allChips,
|
|
4194
|
+
Mn as allStateFixtures,
|
|
4195
|
+
Sn as allVariantFixtures,
|
|
4196
|
+
mn as blockSamples,
|
|
4193
4197
|
ao as buildDefaultOverflow,
|
|
4194
4198
|
bn as cardSamples,
|
|
4195
|
-
|
|
4196
|
-
|
|
4197
|
-
|
|
4198
|
-
|
|
4199
|
-
|
|
4200
|
-
|
|
4201
|
-
|
|
4199
|
+
vn as cascadePhysics,
|
|
4200
|
+
hn as chartSamples,
|
|
4201
|
+
pn as circleSamples,
|
|
4202
|
+
Dn as colorTokens,
|
|
4203
|
+
Yn as compactLayout,
|
|
4204
|
+
Bn as compactState,
|
|
4205
|
+
xn as computeGutterAnchorX,
|
|
4202
4206
|
no as contactFormMetadata,
|
|
4203
4207
|
ro as contactSchema,
|
|
4204
|
-
|
|
4208
|
+
zn as contextMenuFixtures,
|
|
4205
4209
|
so as creditCardFormMetadata,
|
|
4206
4210
|
io as creditCardSchema,
|
|
4207
|
-
|
|
4211
|
+
Tt as dateChip,
|
|
4208
4212
|
Je as defaultControlBarState,
|
|
4209
4213
|
oo as destructiveModalMetadata,
|
|
4210
4214
|
lo as durations,
|
|
4211
4215
|
co as easings,
|
|
4212
|
-
|
|
4213
|
-
|
|
4214
|
-
|
|
4215
|
-
|
|
4216
|
-
|
|
4216
|
+
zt as emptyFixture,
|
|
4217
|
+
Mt as entityChip,
|
|
4218
|
+
Zt as entityNameActions,
|
|
4219
|
+
dn as entityTabGroup,
|
|
4220
|
+
Bt as errorFixture,
|
|
4217
4221
|
uo as evaluateTintCondition,
|
|
4218
|
-
|
|
4222
|
+
$n as filteredState,
|
|
4219
4223
|
Go as findPreset,
|
|
4220
4224
|
Vo as formatDateRange,
|
|
4221
4225
|
Ho as formatMarketDates,
|
|
4222
4226
|
Uo as formatTrend,
|
|
4223
4227
|
jo as formatValue,
|
|
4224
|
-
|
|
4228
|
+
Xn as fullLayout,
|
|
4225
4229
|
Zo as generateMarketId,
|
|
4226
4230
|
mo as generateTabId,
|
|
4227
4231
|
qo as getAllPresets,
|
|
4228
4232
|
Yo as getDateRangeForPreset,
|
|
4229
4233
|
go as getMenuActions,
|
|
4230
|
-
|
|
4234
|
+
Cn as getMotionMode,
|
|
4231
4235
|
Qo as getPresetLabel,
|
|
4232
4236
|
po as getTransitionStyle,
|
|
4233
|
-
|
|
4237
|
+
qn as gridCards,
|
|
4234
4238
|
ho as interpolate,
|
|
4235
4239
|
Xo as isInRange,
|
|
4236
4240
|
Jo as isMarketActive,
|
|
4237
4241
|
el as isSameDay,
|
|
4238
|
-
|
|
4239
|
-
|
|
4240
|
-
|
|
4242
|
+
Ln as itemColumns,
|
|
4243
|
+
An as itemRows,
|
|
4244
|
+
$t as loadingFixture,
|
|
4241
4245
|
fo as loginFormMetadata,
|
|
4242
|
-
|
|
4243
|
-
|
|
4244
|
-
|
|
4245
|
-
|
|
4246
|
+
bo as loginSchema,
|
|
4247
|
+
It as manufacturerChip,
|
|
4248
|
+
ar as manyTabs,
|
|
4249
|
+
vo as mergeHandlers,
|
|
4246
4250
|
yo as mergeRefs,
|
|
4247
|
-
|
|
4248
|
-
|
|
4251
|
+
cn as metricTabGroup,
|
|
4252
|
+
er as mixedTabs,
|
|
4249
4253
|
tl as normalizePresetId,
|
|
4250
|
-
|
|
4251
|
-
|
|
4252
|
-
|
|
4253
|
-
|
|
4254
|
-
|
|
4254
|
+
Yt as numericActions,
|
|
4255
|
+
On as orderColumns,
|
|
4256
|
+
qt as orderIdActions,
|
|
4257
|
+
En as orderRows,
|
|
4258
|
+
Jn as ordersTabs,
|
|
4255
4259
|
wo as parseNumericValue,
|
|
4256
4260
|
_o as paymentFormMetadata,
|
|
4257
4261
|
No as paymentSchema,
|
|
4258
4262
|
Do as presets,
|
|
4259
|
-
|
|
4260
|
-
|
|
4263
|
+
wn as provisional,
|
|
4264
|
+
_n as reducedMotion,
|
|
4261
4265
|
Co as registrationFormMetadata,
|
|
4262
4266
|
ko as registrationSchema,
|
|
4263
|
-
|
|
4264
|
-
|
|
4265
|
-
|
|
4266
|
-
|
|
4267
|
-
|
|
4268
|
-
|
|
4269
|
-
|
|
4270
|
-
|
|
4271
|
-
|
|
4272
|
-
|
|
4273
|
-
|
|
4274
|
-
|
|
4275
|
-
|
|
4276
|
-
|
|
4277
|
-
|
|
4278
|
-
|
|
4279
|
-
|
|
4280
|
-
|
|
4281
|
-
|
|
4282
|
-
|
|
4267
|
+
yn as rejectionFeedback,
|
|
4268
|
+
Wn as sampleCompareRanges,
|
|
4269
|
+
Hn as sampleCustomMarkets,
|
|
4270
|
+
Kn as sampleDateRange,
|
|
4271
|
+
Un as sampleMarketPresetData,
|
|
4272
|
+
Vn as sampleMarkets,
|
|
4273
|
+
Zn as samplePeriodPresets,
|
|
4274
|
+
Gn as samplePreferences,
|
|
4275
|
+
jn as samplePresets,
|
|
4276
|
+
tr as singleTab,
|
|
4277
|
+
Rn as sparklineFixture,
|
|
4278
|
+
Tn as sparklineUpFixture,
|
|
4279
|
+
Gt as staleDonutFixture,
|
|
4280
|
+
Kt as staleFixture,
|
|
4281
|
+
Wt as staleSparklineFixture,
|
|
4282
|
+
In as standardFixture,
|
|
4283
|
+
Fn as standardFlatFixture,
|
|
4284
|
+
Qn as standardLayout,
|
|
4285
|
+
Pn as standardNegativeFixture,
|
|
4286
|
+
Rt as statusChip,
|
|
4283
4287
|
me as swingReveal,
|
|
4284
|
-
|
|
4285
|
-
|
|
4286
|
-
|
|
4288
|
+
fn as tableSamples,
|
|
4289
|
+
gn as textSamples,
|
|
4290
|
+
un as timeFrameTabGroup,
|
|
4287
4291
|
al as toUppercasePresetId,
|
|
4288
|
-
|
|
4292
|
+
on as useArrowNavigation,
|
|
4289
4293
|
xo as useCheckboxGroupContext,
|
|
4290
|
-
|
|
4294
|
+
kn as useEdgeHoverResize,
|
|
4291
4295
|
So as useFilterLayout,
|
|
4292
4296
|
Mo as useFlipAndStage,
|
|
4293
4297
|
Ro as useFlipAndStageContext,
|
|
4294
4298
|
To as useFlipAndStageContextOptional,
|
|
4295
|
-
|
|
4299
|
+
sn as useFocusReturn,
|
|
4296
4300
|
Io as useFocusTrap,
|
|
4297
4301
|
Po as useFormContext,
|
|
4298
4302
|
Fo as useRadioGroupContext,
|
|
4299
|
-
|
|
4300
|
-
|
|
4303
|
+
sa as useResizeTuning,
|
|
4304
|
+
$a as useSortableZones,
|
|
4301
4305
|
Oo as useUIContext
|
|
4302
4306
|
};
|