@mt-gloss/ui 0.1.102 → 0.1.104
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/{COMMITS-Dm8qIHaq.js → COMMITS-BEa-B4Oc.js} +143 -119
- package/composites-panels.js +2 -2
- package/index.js +946 -885
- package/lib/composites/panels/coordinator/settingsBufferSchemas.d.ts +13 -0
- package/lib/composites/panels/coordinator/types.d.ts +6 -0
- package/lib/primitives/dashboard/SettingsTabStrip/SettingsTabStrip.d.ts +17 -0
- package/lib/primitives/dashboard/SettingsTabStrip/index.d.ts +6 -0
- package/lib/primitives/dashboard/SettingsTabStrip/types.d.ts +12 -0
- package/lib/primitives/dashboard/index.d.ts +1 -0
- package/package.json +1 -1
- package/ui.css +1 -1
package/index.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { u as Qe, C as Xe } from "./Expandable-BcmIxWR8.js";
|
|
2
|
-
import { Q as
|
|
2
|
+
import { Q as Lr, V as Or, T as $r, U as zr, a5 as Br, b8 as Kr, aB as Gr, aj as Hr, $ as Wr, ap as Vr, N as jr, aa as Ur, bo as Yr, P as Zr, B as qr, a as Qr, A as Xr, K as Jr, bj as es, J as ts, L as as, E as ns, D as rs, H as ss, F as is, by as os, b as ls, c as cs, O as ds, q as us, af as ms, aP as ps, A as gs, K as hs, J as fs, L as bs, E as vs, D as ys, H as ws, F as _s, b1 as Cs, b4 as Ns, b3 as Ss, b2 as ks, b5 as Ds, aE as xs, a7 as Rs, a6 as Ts, as as Ms, m as Ps, o as Is, aH as Es, ad as As, ba as Fs, ab as Ls, bp as Os, _ as $s, bI as zs, bH as Bs, bJ as Ks, ar as Gs, aS as Hs, bc as Ws, bN as Vs, bw as js, p as Us, ao as Ys, bC as Zs, bt as qs, a2 as Qs, at as Xs, a4 as Js, bB as ei, bS as ti, G as ai, f as ni, ac as ri, bK as si, aV as ii, t as oi, x as li, I as ci, i as di, ay as ui, bO as mi, M as pi, y as gi, W as hi, Z as fi, X as bi, Y as vi, au as yi, bi as wi, bQ as _i, bM as Ci, aq as Ni, w as Si, bq as ki, aU as Di, al as xi, aM as Ri, ai as Ti, an as Mi, aw as Pi, aT as Ii, ae as Ei, av as Ai, e as Fi, R as Li, l as Oi, r as $i, aJ as zi, bz as Bi, bA as Ki, ak as Gi, ag as Hi, j as Wi, z as Vi, b9 as ji, ah as Ui, bP as Yi, be as Zi, bh as qi, bf as Qi, bg as Xi, k as Ji, bb as eo, bn as to, S as ao, bl as no, bm as ro, ax as so, bd as io, bR as oo, am as lo, v as co, bL as uo, n as mo, h as po, s as go, a0 as ho, a1 as fo, a9 as bo, bk as vo, bx as yo, bE as wo, aC as _o, aD as Co, a8 as No, aQ as So, aR as ko, aF as Do, aG as xo, aI as Ro, aX as To, aY as Mo, br as Po, bG as Io, bF as Eo, a_ as Ao, a$ as Fo, az as Lo, aA as Oo, b7 as $o, b6 as zo, b0 as Bo, aN as Ko, aO as Go, aZ as Ho, aK as Wo, aL as Vo, d as jo, bD as Uo, bs as Yo, bu as Zo, bv as qo, aW as Qo, a3 as Xo, bT as Jo, g as el } from "./Expandable-BcmIxWR8.js";
|
|
3
3
|
import { jsxs as y, jsx as r, Fragment as $ } from "react/jsx-runtime";
|
|
4
|
-
import * as
|
|
4
|
+
import * as K from "react";
|
|
5
5
|
import F, { useRef as P, useEffect as A, useState as I, useCallback as N, useId as Je, forwardRef as et, useMemo as re, useLayoutEffect as Ie, createContext as tt, useContext as at } from "react";
|
|
6
|
-
import { motion as
|
|
6
|
+
import { motion as z, useMotionValue as nt, AnimatePresence as rt, useDragControls as st } from "framer-motion";
|
|
7
7
|
import { createPortal as Ee } from "react-dom";
|
|
8
|
-
import { u as it } from "./COMMITS-
|
|
9
|
-
import { C as
|
|
10
|
-
import { B as
|
|
11
|
-
import { c as
|
|
12
|
-
import { DEFAULT_MARKET_PRESETS as
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
8
|
+
import { u as it, a as ot } from "./COMMITS-BEa-B4Oc.js";
|
|
9
|
+
import { C as al, d as nl, c as rl, P as sl, f as il, i as ol, r as ll, b as cl, e as dl } from "./COMMITS-BEa-B4Oc.js";
|
|
10
|
+
import { B as lt, a as X, b as ce, U as fe } from "./UIContext-DP6JGCto.js";
|
|
11
|
+
import { c as ml, u as pl } from "./UIContext-DP6JGCto.js";
|
|
12
|
+
import { DEFAULT_MARKET_PRESETS as hl, DEFAULT_PINNED as fl, PERIOD_OPTIONS as bl, ROLLING_OPTIONS as vl, TODAY_PRESET as yl, findPreset as wl, formatDateRange as _l, formatMarketDates as Cl, formatTrend as Nl, formatValue as Sl, generateMarketId as kl, getAllPresets as Dl, getDateRangeForPreset as xl, getPresetLabel as Rl, isInRange as Tl, isMarketActive as Ml, isSameDay as Pl, normalizePresetId as Il, toUppercasePresetId as El } from "@mt-gloss/utils";
|
|
13
|
+
import ct from "@mui/icons-material/AccessTime";
|
|
14
|
+
import dt from "@mui/icons-material/Tune";
|
|
15
|
+
import ut from "@mui/icons-material/ViewColumn";
|
|
16
|
+
import mt from "@mui/icons-material/AspectRatio";
|
|
17
|
+
import pt from "@mui/icons-material/Palette";
|
|
18
|
+
import gt from "@mui/icons-material/PushPin";
|
|
19
19
|
import { useMotionProbe as de } from "@mt-gloss/motion";
|
|
20
|
-
function
|
|
20
|
+
function pn(e = {}) {
|
|
21
21
|
const { enabled: t = !0, returnTo: n } = e, a = P(null);
|
|
22
22
|
return A(() => {
|
|
23
23
|
t && (a.current = n || document.activeElement);
|
|
@@ -27,7 +27,7 @@ function dn(e = {}) {
|
|
|
27
27
|
}, 0);
|
|
28
28
|
}, [t]), a;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function gn(e) {
|
|
31
31
|
const {
|
|
32
32
|
items: t,
|
|
33
33
|
activeIndex: n,
|
|
@@ -37,8 +37,8 @@ function un(e) {
|
|
|
37
37
|
enabled: o = !0,
|
|
38
38
|
isItemDisabled: l,
|
|
39
39
|
onSelect: m,
|
|
40
|
-
onEscape:
|
|
41
|
-
} = e, [
|
|
40
|
+
onEscape: u
|
|
41
|
+
} = e, [c, h] = I(-1), d = n !== void 0 ? n : c, p = N(
|
|
42
42
|
(g) => {
|
|
43
43
|
n === void 0 && h(g), a?.(g);
|
|
44
44
|
},
|
|
@@ -61,23 +61,23 @@ function un(e) {
|
|
|
61
61
|
const g = w();
|
|
62
62
|
g.length > 0 && p(g[g.length - 1]);
|
|
63
63
|
}, [w, p]), x = N(() => {
|
|
64
|
-
const g = k(
|
|
64
|
+
const g = k(d, 1);
|
|
65
65
|
g !== -1 && p(g);
|
|
66
|
-
}, [
|
|
67
|
-
const g = k(
|
|
66
|
+
}, [d, k, p]), C = N(() => {
|
|
67
|
+
const g = k(d, -1);
|
|
68
68
|
g !== -1 && p(g);
|
|
69
|
-
}, [
|
|
69
|
+
}, [d, k, p]), S = N(() => {
|
|
70
70
|
p(-1);
|
|
71
71
|
}, [p]), T = N(
|
|
72
72
|
(g) => {
|
|
73
73
|
if (!o) return;
|
|
74
74
|
const { key: v } = g, _ = v === "ArrowUp" && (i === "vertical" || i === "both"), D = v === "ArrowDown" && (i === "vertical" || i === "both"), M = v === "ArrowLeft" && (i === "horizontal" || i === "both"), R = v === "ArrowRight" && (i === "horizontal" || i === "both");
|
|
75
75
|
if (_ || M) {
|
|
76
|
-
g.preventDefault(),
|
|
76
|
+
g.preventDefault(), d === -1 ? b() : C();
|
|
77
77
|
return;
|
|
78
78
|
}
|
|
79
79
|
if (D || R) {
|
|
80
|
-
g.preventDefault(),
|
|
80
|
+
g.preventDefault(), d === -1 ? f() : x();
|
|
81
81
|
return;
|
|
82
82
|
}
|
|
83
83
|
if (v === "Home") {
|
|
@@ -88,21 +88,21 @@ function un(e) {
|
|
|
88
88
|
g.preventDefault(), b();
|
|
89
89
|
return;
|
|
90
90
|
}
|
|
91
|
-
if ((v === "Enter" || v === " ") &&
|
|
91
|
+
if ((v === "Enter" || v === " ") && d >= 0 && d < t.length) {
|
|
92
92
|
g.preventDefault();
|
|
93
|
-
const E = t[
|
|
94
|
-
l?.(E,
|
|
93
|
+
const E = t[d];
|
|
94
|
+
l?.(E, d) || m?.(E, d);
|
|
95
95
|
return;
|
|
96
96
|
}
|
|
97
97
|
if (v === "Escape") {
|
|
98
|
-
|
|
98
|
+
u?.();
|
|
99
99
|
return;
|
|
100
100
|
}
|
|
101
101
|
},
|
|
102
102
|
[
|
|
103
103
|
o,
|
|
104
104
|
i,
|
|
105
|
-
|
|
105
|
+
d,
|
|
106
106
|
t,
|
|
107
107
|
f,
|
|
108
108
|
b,
|
|
@@ -110,11 +110,11 @@ function un(e) {
|
|
|
110
110
|
C,
|
|
111
111
|
l,
|
|
112
112
|
m,
|
|
113
|
-
|
|
113
|
+
u
|
|
114
114
|
]
|
|
115
115
|
);
|
|
116
116
|
return {
|
|
117
|
-
focusedIndex:
|
|
117
|
+
focusedIndex: d,
|
|
118
118
|
setFocusedIndex: p,
|
|
119
119
|
handleKeyDown: T,
|
|
120
120
|
focusFirst: f,
|
|
@@ -124,7 +124,7 @@ function un(e) {
|
|
|
124
124
|
resetFocus: S
|
|
125
125
|
};
|
|
126
126
|
}
|
|
127
|
-
const
|
|
127
|
+
const ht = ({
|
|
128
128
|
label: e = "Set a target",
|
|
129
129
|
unit: t,
|
|
130
130
|
currentValue: n,
|
|
@@ -135,9 +135,9 @@ const gt = ({
|
|
|
135
135
|
const [o, l] = I(n != null ? String(n) : ""), m = () => {
|
|
136
136
|
const p = parseFloat(o);
|
|
137
137
|
Number.isNaN(p) || a(p);
|
|
138
|
-
},
|
|
138
|
+
}, u = (p) => {
|
|
139
139
|
p.key === "Enter" ? (p.preventDefault(), m()) : p.key === "Escape" && (p.preventDefault(), s?.());
|
|
140
|
-
},
|
|
140
|
+
}, c = Je(), h = `gloss-target-input-field-${c}`, d = i ? `gloss-target-input-hint-${c}` : void 0;
|
|
141
141
|
return /* @__PURE__ */ y("div", { className: "gloss-target-input", children: [
|
|
142
142
|
/* @__PURE__ */ r("label", { className: "gloss-target-input__label", htmlFor: h, children: e }),
|
|
143
143
|
/* @__PURE__ */ y("div", { className: "gloss-target-input__field-row", children: [
|
|
@@ -149,14 +149,14 @@ const gt = ({
|
|
|
149
149
|
className: "gloss-target-input__field",
|
|
150
150
|
value: o,
|
|
151
151
|
onChange: (p) => l(p.target.value),
|
|
152
|
-
onKeyDown:
|
|
153
|
-
"aria-describedby":
|
|
152
|
+
onKeyDown: u,
|
|
153
|
+
"aria-describedby": d,
|
|
154
154
|
autoFocus: !0
|
|
155
155
|
}
|
|
156
156
|
),
|
|
157
157
|
t && /* @__PURE__ */ r("span", { className: "gloss-target-input__unit", children: t })
|
|
158
158
|
] }),
|
|
159
|
-
i && /* @__PURE__ */ r("p", { id:
|
|
159
|
+
i && /* @__PURE__ */ r("p", { id: d, className: "gloss-target-input__hint", children: i }),
|
|
160
160
|
/* @__PURE__ */ y("div", { className: "gloss-target-input__actions", children: [
|
|
161
161
|
/* @__PURE__ */ r(
|
|
162
162
|
"button",
|
|
@@ -179,42 +179,42 @@ const gt = ({
|
|
|
179
179
|
] })
|
|
180
180
|
] });
|
|
181
181
|
}, se = (e) => {
|
|
182
|
-
},
|
|
182
|
+
}, ft = {
|
|
183
183
|
id: "entity-filter-1",
|
|
184
184
|
label: "Customer: Acme Corp",
|
|
185
185
|
field: "customer",
|
|
186
186
|
value: "acme-corp-123",
|
|
187
187
|
onRemove: se
|
|
188
|
-
},
|
|
188
|
+
}, bt = {
|
|
189
189
|
id: "status-filter-1",
|
|
190
190
|
label: "Status: Open",
|
|
191
191
|
field: "status",
|
|
192
192
|
value: "open",
|
|
193
193
|
onRemove: se
|
|
194
|
-
},
|
|
194
|
+
}, vt = {
|
|
195
195
|
id: "date-filter-1",
|
|
196
196
|
label: "Date: Mar 1 - Mar 15",
|
|
197
197
|
field: "dateRange",
|
|
198
198
|
value: "2026-03-01..2026-03-15",
|
|
199
199
|
onRemove: se
|
|
200
|
-
},
|
|
200
|
+
}, yt = {
|
|
201
201
|
id: "mfg-filter-1",
|
|
202
202
|
label: "Manufacturer: Widget Co",
|
|
203
203
|
field: "manufacturer",
|
|
204
204
|
value: "widget-co-456",
|
|
205
205
|
onRemove: se
|
|
206
|
-
},
|
|
207
|
-
ht,
|
|
206
|
+
}, hn = [
|
|
208
207
|
ft,
|
|
209
208
|
bt,
|
|
210
|
-
vt
|
|
211
|
-
|
|
209
|
+
vt,
|
|
210
|
+
yt
|
|
211
|
+
], fn = {
|
|
212
212
|
id: "metric-toggle",
|
|
213
213
|
tabs: [
|
|
214
214
|
{ id: "$", label: "$", mono: !0 },
|
|
215
215
|
{ id: "#", label: "#", mono: !0 }
|
|
216
216
|
]
|
|
217
|
-
},
|
|
217
|
+
}, bn = {
|
|
218
218
|
id: "entity-type",
|
|
219
219
|
tabs: [
|
|
220
220
|
{ id: "orders", label: "Orders" },
|
|
@@ -222,7 +222,7 @@ const gt = ({
|
|
|
222
222
|
{ id: "customers", label: "Customers" },
|
|
223
223
|
{ id: "manufacturers", label: "Manufacturers" }
|
|
224
224
|
]
|
|
225
|
-
},
|
|
225
|
+
}, vn = {
|
|
226
226
|
id: "time-frame",
|
|
227
227
|
tabs: [
|
|
228
228
|
{ id: "MTD", label: "MTD" },
|
|
@@ -230,26 +230,26 @@ const gt = ({
|
|
|
230
230
|
{ id: "YTD", label: "YTD" },
|
|
231
231
|
{ id: "LYTD", label: "LYTD" }
|
|
232
232
|
]
|
|
233
|
-
},
|
|
233
|
+
}, yn = [
|
|
234
234
|
{ variant: "block", width: "100%", height: 16 },
|
|
235
235
|
{ variant: "block", width: 200, height: 32, borderRadius: 8 },
|
|
236
236
|
{ variant: "block", width: "80%", height: 12, borderRadius: "4px" },
|
|
237
237
|
{ variant: "block", width: 120, height: 44, borderRadius: 22 }
|
|
238
|
-
],
|
|
238
|
+
], wn = [
|
|
239
239
|
{ variant: "text", lines: 3, lineHeight: 14, gap: 8 },
|
|
240
240
|
{ variant: "text", lines: 2, lineHeight: 16, gap: 10 },
|
|
241
241
|
{ variant: "text", lines: 5, lineHeight: 12, gap: 6 }
|
|
242
|
-
],
|
|
242
|
+
], _n = [
|
|
243
243
|
{ variant: "circle", size: 24 },
|
|
244
244
|
{ variant: "circle", size: 40 },
|
|
245
245
|
{ variant: "circle", size: 64 }
|
|
246
|
-
],
|
|
246
|
+
], Cn = [
|
|
247
247
|
{ bars: 10, maxHeight: 120 },
|
|
248
248
|
{ bars: 5, maxHeight: 80 }
|
|
249
|
-
],
|
|
249
|
+
], Nn = [
|
|
250
250
|
{ rows: 5, columns: 3, hasCheckbox: !1, rowHeight: 44 },
|
|
251
251
|
{ rows: 8, columns: 5, hasCheckbox: !0, rowHeight: 44 }
|
|
252
|
-
],
|
|
252
|
+
], Sn = [
|
|
253
253
|
{ variant: "value", colSpan: 1 },
|
|
254
254
|
{ variant: "trend", colSpan: 2 },
|
|
255
255
|
{ variant: "target", colSpan: 1 }
|
|
@@ -279,16 +279,16 @@ const gt = ({
|
|
|
279
279
|
width: "100%",
|
|
280
280
|
textAlign: "left",
|
|
281
281
|
border: "none"
|
|
282
|
-
}),
|
|
282
|
+
}), wt = (e) => ({
|
|
283
283
|
...ue(e),
|
|
284
284
|
color: e ? "#4338ca" : "#4f46e5",
|
|
285
285
|
fontWeight: 600
|
|
286
|
-
}),
|
|
286
|
+
}), _t = {
|
|
287
287
|
height: 1,
|
|
288
288
|
background: "rgba(0,0,0,0.06)",
|
|
289
289
|
margin: "3px 10px"
|
|
290
290
|
};
|
|
291
|
-
function
|
|
291
|
+
function Ct({
|
|
292
292
|
open: e,
|
|
293
293
|
anchorEl: t,
|
|
294
294
|
statusId: n,
|
|
@@ -297,7 +297,7 @@ function _t({
|
|
|
297
297
|
overflowActions: i,
|
|
298
298
|
onClose: o
|
|
299
299
|
}) {
|
|
300
|
-
const [l, m] = I(null),
|
|
300
|
+
const [l, m] = I(null), u = P(null), c = N(() => {
|
|
301
301
|
if (!t) return { ...ye, top: 0, left: 0 };
|
|
302
302
|
const p = t.getBoundingClientRect();
|
|
303
303
|
return {
|
|
@@ -315,24 +315,24 @@ function _t({
|
|
|
315
315
|
}, [e, o]), A(() => {
|
|
316
316
|
if (!e) return;
|
|
317
317
|
const p = (w) => {
|
|
318
|
-
|
|
318
|
+
u.current && !u.current.contains(w.target) && o();
|
|
319
319
|
};
|
|
320
320
|
return document.addEventListener("pointerdown", p, !0), () => document.removeEventListener("pointerdown", p, !0);
|
|
321
321
|
}, [e, o]), !e) return null;
|
|
322
|
-
const h = i && i.length > 0,
|
|
322
|
+
const h = i && i.length > 0, d = /* @__PURE__ */ y(
|
|
323
323
|
"div",
|
|
324
324
|
{
|
|
325
|
-
ref:
|
|
325
|
+
ref: u,
|
|
326
326
|
"data-status-chip-menu": n,
|
|
327
327
|
role: "menu",
|
|
328
328
|
"aria-label": "Status actions",
|
|
329
|
-
style:
|
|
329
|
+
style: c(),
|
|
330
330
|
children: [
|
|
331
331
|
/* @__PURE__ */ r(
|
|
332
332
|
"button",
|
|
333
333
|
{
|
|
334
334
|
role: "menuitem",
|
|
335
|
-
style:
|
|
335
|
+
style: wt(l === "__primary"),
|
|
336
336
|
onMouseEnter: () => m("__primary"),
|
|
337
337
|
onMouseLeave: () => m(null),
|
|
338
338
|
onClick: () => {
|
|
@@ -354,7 +354,7 @@ function _t({
|
|
|
354
354
|
children: "Show on graph"
|
|
355
355
|
}
|
|
356
356
|
),
|
|
357
|
-
h && /* @__PURE__ */ r("div", { style:
|
|
357
|
+
h && /* @__PURE__ */ r("div", { style: _t }),
|
|
358
358
|
h && i?.map((p) => /* @__PURE__ */ r(
|
|
359
359
|
"button",
|
|
360
360
|
{
|
|
@@ -372,10 +372,10 @@ function _t({
|
|
|
372
372
|
]
|
|
373
373
|
}
|
|
374
374
|
);
|
|
375
|
-
return Ee(
|
|
375
|
+
return Ee(d, document.body);
|
|
376
376
|
}
|
|
377
|
-
|
|
378
|
-
function
|
|
377
|
+
Ct.displayName = "StatusSlotChipMenu";
|
|
378
|
+
function Nt({
|
|
379
379
|
visible: e,
|
|
380
380
|
targetColSpan: t,
|
|
381
381
|
ghostWidth: n,
|
|
@@ -383,7 +383,7 @@ function Ct({
|
|
|
383
383
|
exitMs: s = 120
|
|
384
384
|
}) {
|
|
385
385
|
return /* @__PURE__ */ r(
|
|
386
|
-
|
|
386
|
+
z.div,
|
|
387
387
|
{
|
|
388
388
|
"aria-hidden": "true",
|
|
389
389
|
"data-ghost-preview": e ? "visible" : "hidden",
|
|
@@ -399,8 +399,8 @@ function Ct({
|
|
|
399
399
|
}
|
|
400
400
|
);
|
|
401
401
|
}
|
|
402
|
-
|
|
403
|
-
const
|
|
402
|
+
Nt.displayName = "GhostPreview";
|
|
403
|
+
const St = {
|
|
404
404
|
// Spring (D-08). Retuned 260419 — damping 35 → 22 so the commit spring
|
|
405
405
|
// has visible overshoot (ζ ≈ 0.49, ~13–17% overshoot, ~350ms settle). The
|
|
406
406
|
// prior ζ ≈ 0.78 was imperceptible to users. Debug slug:
|
|
@@ -420,7 +420,7 @@ const Nt = {
|
|
|
420
420
|
// Velocity multiplier (D-03b panel)
|
|
421
421
|
velocityMultiplier: 1
|
|
422
422
|
};
|
|
423
|
-
class
|
|
423
|
+
class kn {
|
|
424
424
|
constructor() {
|
|
425
425
|
this.samples = [], this.capacity = 3;
|
|
426
426
|
}
|
|
@@ -458,8 +458,8 @@ class Cn {
|
|
|
458
458
|
const t = this.samples.length;
|
|
459
459
|
if (t < 2) return 0;
|
|
460
460
|
if (t === 2) {
|
|
461
|
-
const [m,
|
|
462
|
-
return (
|
|
461
|
+
const [m, u] = this.samples, c = Math.max(1, u.t - m.t);
|
|
462
|
+
return (u.x - m.x) / c * 1e3;
|
|
463
463
|
}
|
|
464
464
|
const [n, a, s] = this.samples, i = (s.x - a.x) / Math.max(1, s.t - a.t) * 1e3, o = (a.x - n.x) / Math.max(1, a.t - n.t) * 1e3, l = o;
|
|
465
465
|
return (i * 3 + o * 2 + l * 1) / 6;
|
|
@@ -513,7 +513,7 @@ function Fe(e) {
|
|
|
513
513
|
return A(() => {
|
|
514
514
|
o.set(s);
|
|
515
515
|
}, [s, o]), !t || a === n ? null : /* @__PURE__ */ r(
|
|
516
|
-
|
|
516
|
+
z.div,
|
|
517
517
|
{
|
|
518
518
|
"aria-hidden": "true",
|
|
519
519
|
"data-resize-pill-ghost": "visible",
|
|
@@ -547,7 +547,7 @@ function Fe(e) {
|
|
|
547
547
|
);
|
|
548
548
|
}
|
|
549
549
|
Fe.displayName = "ResizePillGhost";
|
|
550
|
-
function
|
|
550
|
+
function Le(e) {
|
|
551
551
|
const {
|
|
552
552
|
visible: t,
|
|
553
553
|
direction: n,
|
|
@@ -559,7 +559,7 @@ function Oe(e) {
|
|
|
559
559
|
staggerMs: m
|
|
560
560
|
} = e;
|
|
561
561
|
if (!t) return null;
|
|
562
|
-
const
|
|
562
|
+
const u = n === "grow", c = u ? i + a : i + s, h = u ? o - s : o - a, d = Math.max(0, h - c);
|
|
563
563
|
return /* @__PURE__ */ r(
|
|
564
564
|
"div",
|
|
565
565
|
{
|
|
@@ -576,11 +576,11 @@ function Oe(e) {
|
|
|
576
576
|
top: 0,
|
|
577
577
|
height: "100%",
|
|
578
578
|
alignItems: "center",
|
|
579
|
-
left:
|
|
580
|
-
width:
|
|
579
|
+
left: c,
|
|
580
|
+
width: d
|
|
581
581
|
},
|
|
582
582
|
children: (n === "grow" ? [0, 1, 2, 3, 4] : [4, 3, 2, 1, 0]).map((w, k) => /* @__PURE__ */ r(
|
|
583
|
-
|
|
583
|
+
z.span,
|
|
584
584
|
{
|
|
585
585
|
className: [
|
|
586
586
|
"gloss-resize-pill-chain__chevron",
|
|
@@ -603,7 +603,7 @@ function Oe(e) {
|
|
|
603
603
|
}
|
|
604
604
|
);
|
|
605
605
|
}
|
|
606
|
-
|
|
606
|
+
Le.displayName = "ResizePillArrowChain";
|
|
607
607
|
const we = 3;
|
|
608
608
|
function _e({ filled: e, total: t }) {
|
|
609
609
|
const n = [];
|
|
@@ -625,10 +625,10 @@ function _e({ filled: e, total: t }) {
|
|
|
625
625
|
function Ce(e) {
|
|
626
626
|
return e === "compact" ? "Compact" : e === "medium" ? "Medium" : e === "full" ? "Full" : String(e);
|
|
627
627
|
}
|
|
628
|
-
function
|
|
628
|
+
function Oe(e) {
|
|
629
629
|
const { visible: t, currentTarget: n, previewTarget: a, mode: s, showSizeTooltip: i = !0 } = e;
|
|
630
630
|
return !t || i === !1 ? null : /* @__PURE__ */ y(
|
|
631
|
-
|
|
631
|
+
z.div,
|
|
632
632
|
{
|
|
633
633
|
"aria-hidden": "true",
|
|
634
634
|
"data-resize-pill-tooltip": "visible",
|
|
@@ -665,8 +665,8 @@ function Le(e) {
|
|
|
665
665
|
}
|
|
666
666
|
);
|
|
667
667
|
}
|
|
668
|
-
|
|
669
|
-
function
|
|
668
|
+
Oe.displayName = "ResizePillSizeTooltip";
|
|
669
|
+
function kt({ direction: e }) {
|
|
670
670
|
return /* @__PURE__ */ r(
|
|
671
671
|
"svg",
|
|
672
672
|
{
|
|
@@ -683,7 +683,7 @@ function St({ direction: e }) {
|
|
|
683
683
|
}
|
|
684
684
|
);
|
|
685
685
|
}
|
|
686
|
-
function
|
|
686
|
+
function Dt() {
|
|
687
687
|
return /* @__PURE__ */ r(
|
|
688
688
|
"svg",
|
|
689
689
|
{
|
|
@@ -700,7 +700,7 @@ function kt() {
|
|
|
700
700
|
}
|
|
701
701
|
);
|
|
702
702
|
}
|
|
703
|
-
function
|
|
703
|
+
function xt({ target: e }) {
|
|
704
704
|
const t = e === "compact" ? 5 : e === "medium" ? 9 : 13;
|
|
705
705
|
return /* @__PURE__ */ r(
|
|
706
706
|
"svg",
|
|
@@ -714,7 +714,7 @@ function Dt({ target: e }) {
|
|
|
714
714
|
}
|
|
715
715
|
);
|
|
716
716
|
}
|
|
717
|
-
function
|
|
717
|
+
function Rt(e) {
|
|
718
718
|
const {
|
|
719
719
|
target: t,
|
|
720
720
|
currentTarget: n,
|
|
@@ -724,15 +724,15 @@ function xt(e) {
|
|
|
724
724
|
onCommit: o,
|
|
725
725
|
onEnter: l,
|
|
726
726
|
onLeave: m,
|
|
727
|
-
buttonHeight:
|
|
728
|
-
buttonWidth:
|
|
727
|
+
buttonHeight: u,
|
|
728
|
+
buttonWidth: c
|
|
729
729
|
} = e;
|
|
730
730
|
let h = null;
|
|
731
731
|
if (a === "directional") {
|
|
732
|
-
const
|
|
733
|
-
h = /* @__PURE__ */ r(
|
|
732
|
+
const d = typeof t == "number" && typeof n == "number" && t < n ? "left" : "right";
|
|
733
|
+
h = /* @__PURE__ */ r(kt, { direction: d });
|
|
734
734
|
} else
|
|
735
|
-
h = /* @__PURE__ */ r(
|
|
735
|
+
h = /* @__PURE__ */ r(xt, { target: t });
|
|
736
736
|
return /* @__PURE__ */ y(
|
|
737
737
|
"button",
|
|
738
738
|
{
|
|
@@ -746,27 +746,27 @@ function xt(e) {
|
|
|
746
746
|
"data-mode": a,
|
|
747
747
|
"data-active": s ? "true" : "false",
|
|
748
748
|
"data-button-hover-state": i ? "check" : "chevron",
|
|
749
|
-
style: { width:
|
|
749
|
+
style: { width: c, height: u },
|
|
750
750
|
onClick: () => o(t),
|
|
751
751
|
onPointerEnter: () => l?.(t),
|
|
752
752
|
onPointerLeave: () => m?.(),
|
|
753
753
|
"aria-label": `Resize to ${String(t)}`,
|
|
754
754
|
children: [
|
|
755
755
|
/* @__PURE__ */ r("span", { className: "gloss-resize-pill__glyph", children: h }),
|
|
756
|
-
/* @__PURE__ */ r("span", { className: "gloss-resize-pill__check", children: /* @__PURE__ */ r(
|
|
756
|
+
/* @__PURE__ */ r("span", { className: "gloss-resize-pill__check", children: /* @__PURE__ */ r(Dt, {}) })
|
|
757
757
|
]
|
|
758
758
|
}
|
|
759
759
|
);
|
|
760
760
|
}
|
|
761
|
-
const
|
|
761
|
+
const Tt = et(
|
|
762
762
|
function(t, n) {
|
|
763
763
|
const a = {
|
|
764
764
|
...Ae,
|
|
765
765
|
...t.physics
|
|
766
|
-
}, s = t.pillVisible && !t.forceIdle && t.resizePillEnabled !== !1, i = t.availableTargets, o = t.orientation ?? "vertical", l = t.buttonHover !== null && t.previewTarget !== void 0 && t.previewTarget !== null && t.previewTarget !== t.currentTarget && !t.forceIdle && t.resizePillEnabled !== !1, m = l && t.previewTarget != null ? t.resolveTargetWidth(t.previewTarget) : t.hostWidth,
|
|
766
|
+
}, s = t.pillVisible && !t.forceIdle && t.resizePillEnabled !== !1, i = t.availableTargets, o = t.orientation ?? "vertical", l = t.buttonHover !== null && t.previewTarget !== void 0 && t.previewTarget !== null && t.previewTarget !== t.currentTarget && !t.forceIdle && t.resizePillEnabled !== !1, m = l && t.previewTarget != null ? t.resolveTargetWidth(t.previewTarget) : t.hostWidth, u = t.chainStartX ?? 0, c = t.chainEndX ?? t.hostWidth, h = t.chainDirection ?? "grow";
|
|
767
767
|
return /* @__PURE__ */ y(rt, { children: [
|
|
768
768
|
s && /* @__PURE__ */ r(
|
|
769
|
-
|
|
769
|
+
z.div,
|
|
770
770
|
{
|
|
771
771
|
ref: n,
|
|
772
772
|
"data-resize-pill-state": t.phase,
|
|
@@ -791,16 +791,16 @@ const Rt = et(
|
|
|
791
791
|
transition: { duration: a.pillRevealMs / 1e3 },
|
|
792
792
|
onPointerEnter: t.onPillEnter,
|
|
793
793
|
onPointerLeave: t.onPillLeave,
|
|
794
|
-
children: i.map((
|
|
795
|
-
|
|
794
|
+
children: i.map((d) => /* @__PURE__ */ r(
|
|
795
|
+
Rt,
|
|
796
796
|
{
|
|
797
|
-
target:
|
|
797
|
+
target: d,
|
|
798
798
|
currentTarget: t.currentTarget,
|
|
799
799
|
mode: t.mode,
|
|
800
|
-
isActive:
|
|
800
|
+
isActive: d === t.currentTarget,
|
|
801
801
|
isHovered: (
|
|
802
802
|
// Hover-state mapping for chevron→✓ morph CSS.
|
|
803
|
-
t.buttonHover !== null && (typeof
|
|
803
|
+
t.buttonHover !== null && (typeof d == "number" && typeof t.currentTarget == "number" && (t.buttonHover === "grow" && d > t.currentTarget || t.buttonHover === "shrink" && d < t.currentTarget) || t.buttonHover === d)
|
|
804
804
|
),
|
|
805
805
|
onCommit: t.onCommit,
|
|
806
806
|
onEnter: t.onButtonEnter,
|
|
@@ -808,7 +808,7 @@ const Rt = et(
|
|
|
808
808
|
buttonHeight: a.pillButtonHeight,
|
|
809
809
|
buttonWidth: a.pillButtonWidth
|
|
810
810
|
},
|
|
811
|
-
String(
|
|
811
|
+
String(d)
|
|
812
812
|
))
|
|
813
813
|
},
|
|
814
814
|
"pill"
|
|
@@ -827,21 +827,21 @@ const Rt = et(
|
|
|
827
827
|
"ghost"
|
|
828
828
|
),
|
|
829
829
|
s && l && /* @__PURE__ */ r(
|
|
830
|
-
|
|
830
|
+
Le,
|
|
831
831
|
{
|
|
832
832
|
visible: !0,
|
|
833
833
|
direction: h,
|
|
834
834
|
pillClearancePx: a.pillClearancePx,
|
|
835
835
|
ghostClearancePx: a.ghostClearancePx,
|
|
836
|
-
startX:
|
|
837
|
-
endX:
|
|
836
|
+
startX: u,
|
|
837
|
+
endX: c,
|
|
838
838
|
pulseMs: a.chainPulseMs,
|
|
839
839
|
staggerMs: a.chainStaggerMs
|
|
840
840
|
},
|
|
841
841
|
"chain"
|
|
842
842
|
),
|
|
843
843
|
s && l && t.showSizeTooltip && t.previewTarget != null && /* @__PURE__ */ r(
|
|
844
|
-
|
|
844
|
+
Oe,
|
|
845
845
|
{
|
|
846
846
|
visible: !0,
|
|
847
847
|
currentTarget: t.currentTarget,
|
|
@@ -854,24 +854,24 @@ const Rt = et(
|
|
|
854
854
|
] });
|
|
855
855
|
}
|
|
856
856
|
);
|
|
857
|
-
|
|
858
|
-
function
|
|
857
|
+
Tt.displayName = "ResizePill";
|
|
858
|
+
function Dn(e) {
|
|
859
859
|
const t = {
|
|
860
860
|
...Ae,
|
|
861
861
|
...e.physics
|
|
862
|
-
}, [n, a] = I("idle"), [s, i] = I(e.currentTarget), [o, l] = I(null), m = P(!1),
|
|
862
|
+
}, [n, a] = I("idle"), [s, i] = I(e.currentTarget), [o, l] = I(null), m = P(!1), u = P(null), c = P(null), h = P(e.currentTarget);
|
|
863
863
|
h.current = e.currentTarget;
|
|
864
|
-
const
|
|
865
|
-
|
|
864
|
+
const d = P(e.onCommit);
|
|
865
|
+
d.current = e.onCommit;
|
|
866
866
|
const p = P(e.forceIdle);
|
|
867
867
|
p.current = e.forceIdle;
|
|
868
868
|
const w = P(e.onPhaseChange);
|
|
869
869
|
w.current = e.onPhaseChange, A(() => {
|
|
870
870
|
w.current?.(n);
|
|
871
871
|
}, [n]), A(() => {
|
|
872
|
-
e.forceIdle && (
|
|
872
|
+
e.forceIdle && (c.current && (clearTimeout(c.current), c.current = null), a("idle"), l(null));
|
|
873
873
|
}, [e.forceIdle]), A(() => () => {
|
|
874
|
-
|
|
874
|
+
u.current && clearTimeout(u.current), c.current && clearTimeout(c.current);
|
|
875
875
|
}, []);
|
|
876
876
|
const k = N(() => {
|
|
877
877
|
m.current || p.current || (i(h.current), a("pill-visible"));
|
|
@@ -879,27 +879,27 @@ function Nn(e) {
|
|
|
879
879
|
a("idle"), l(null);
|
|
880
880
|
}, []), b = N(
|
|
881
881
|
(R) => {
|
|
882
|
-
m.current = !0,
|
|
883
|
-
m.current = !1,
|
|
884
|
-
}, t.fadeGraceMs), l(null), a("fading"),
|
|
882
|
+
m.current = !0, u.current && clearTimeout(u.current), u.current = setTimeout(() => {
|
|
883
|
+
m.current = !1, u.current = null;
|
|
884
|
+
}, t.fadeGraceMs), l(null), a("fading"), d.current(R);
|
|
885
885
|
},
|
|
886
886
|
[t.fadeGraceMs]
|
|
887
887
|
), x = N(() => {
|
|
888
|
-
|
|
888
|
+
c.current && (clearTimeout(c.current), c.current = null), k();
|
|
889
889
|
}, [k]), C = N(() => {
|
|
890
|
-
|
|
891
|
-
f(),
|
|
890
|
+
c.current && clearTimeout(c.current), c.current = setTimeout(() => {
|
|
891
|
+
f(), c.current = null;
|
|
892
892
|
}, t.hoverHideGraceMs);
|
|
893
893
|
}, [f, t.hoverHideGraceMs]), S = N(() => {
|
|
894
|
-
|
|
894
|
+
c.current && (clearTimeout(c.current), c.current = null);
|
|
895
895
|
}, []), T = N(() => {
|
|
896
|
-
|
|
897
|
-
f(),
|
|
896
|
+
c.current && clearTimeout(c.current), c.current = setTimeout(() => {
|
|
897
|
+
f(), c.current = null;
|
|
898
898
|
}, t.hoverHideGraceMs);
|
|
899
899
|
}, [f, t.hoverHideGraceMs]), g = N((R) => {
|
|
900
900
|
const E = h.current;
|
|
901
|
-
let
|
|
902
|
-
R === "compact" || R === "medium" || R === "full" ?
|
|
901
|
+
let O;
|
|
902
|
+
R === "compact" || R === "medium" || R === "full" ? O = R : typeof E == "number" && typeof R == "number" ? O = R > E ? "grow" : "shrink" : O = "grow", l(O), a("pre-commit");
|
|
903
903
|
}, []), v = N(() => {
|
|
904
904
|
l(null), a((R) => R === "pre-commit" ? "pill-visible" : R);
|
|
905
905
|
}, []), _ = N(
|
|
@@ -927,14 +927,14 @@ function Nn(e) {
|
|
|
927
927
|
commit: b
|
|
928
928
|
};
|
|
929
929
|
}
|
|
930
|
-
function
|
|
930
|
+
function xn(e) {
|
|
931
931
|
const { cardWidthPx: t, slotCount: n, activeSlotIdx: a, pillWidthPx: s } = e;
|
|
932
932
|
if (a == null || !Number.isFinite(t) || t <= 0 || !Number.isFinite(n) || n <= 0 || !Number.isInteger(a) || a < 0 || a >= n)
|
|
933
933
|
return;
|
|
934
934
|
const i = (a + 0.5) * (t / n);
|
|
935
935
|
return s != null && Number.isFinite(s) && s > 0 ? i - s / 2 : i;
|
|
936
936
|
}
|
|
937
|
-
const
|
|
937
|
+
const Rn = [
|
|
938
938
|
// 1. Standard: Total Revenue
|
|
939
939
|
{
|
|
940
940
|
variant: "standard",
|
|
@@ -1066,24 +1066,24 @@ const kn = [
|
|
|
1066
1066
|
subtitle: "Awaiting QA",
|
|
1067
1067
|
highlightColor: "neutral"
|
|
1068
1068
|
}
|
|
1069
|
-
],
|
|
1069
|
+
], Mt = {
|
|
1070
1070
|
variant: "standard",
|
|
1071
1071
|
label: "Total Revenue",
|
|
1072
1072
|
isLoading: !0
|
|
1073
|
-
},
|
|
1073
|
+
}, Pt = {
|
|
1074
1074
|
variant: "standard",
|
|
1075
1075
|
label: "Total Revenue",
|
|
1076
1076
|
value: 125430,
|
|
1077
1077
|
valueFormat: { prefix: "$", abbreviated: !0 },
|
|
1078
1078
|
isError: !0
|
|
1079
|
-
},
|
|
1079
|
+
}, It = {
|
|
1080
1080
|
variant: "standard",
|
|
1081
1081
|
label: "Total Revenue",
|
|
1082
1082
|
value: null,
|
|
1083
1083
|
valueFormat: { prefix: "$", abbreviated: !0 },
|
|
1084
1084
|
isEmpty: !0,
|
|
1085
1085
|
subtitle: "No data"
|
|
1086
|
-
},
|
|
1086
|
+
}, Et = {
|
|
1087
1087
|
variant: "standard",
|
|
1088
1088
|
label: "Total Revenue",
|
|
1089
1089
|
value: 125430,
|
|
@@ -1091,7 +1091,7 @@ const kn = [
|
|
|
1091
1091
|
trend: { value: 12.5, direction: "up" },
|
|
1092
1092
|
subtitle: "MTD",
|
|
1093
1093
|
isStale: !0
|
|
1094
|
-
},
|
|
1094
|
+
}, At = {
|
|
1095
1095
|
variant: "sparkline",
|
|
1096
1096
|
label: "Daily Orders",
|
|
1097
1097
|
value: 847,
|
|
@@ -1100,7 +1100,7 @@ const kn = [
|
|
|
1100
1100
|
sparklineData: [42, 38, 51, 47, 55, 60, 58, 63, 57, 62, 68, 71, 65, 59],
|
|
1101
1101
|
accentColor: "#6366f1",
|
|
1102
1102
|
isStale: !0
|
|
1103
|
-
},
|
|
1103
|
+
}, Ft = {
|
|
1104
1104
|
variant: "donut",
|
|
1105
1105
|
label: "Order Fill Rate",
|
|
1106
1106
|
value: 78,
|
|
@@ -1111,14 +1111,14 @@ const kn = [
|
|
|
1111
1111
|
donutMax: 100,
|
|
1112
1112
|
accentColor: "#10b981",
|
|
1113
1113
|
isStale: !0
|
|
1114
|
-
},
|
|
1115
|
-
Tt,
|
|
1114
|
+
}, Tn = [
|
|
1116
1115
|
Mt,
|
|
1117
1116
|
Pt,
|
|
1118
1117
|
It,
|
|
1119
1118
|
Et,
|
|
1120
|
-
At
|
|
1121
|
-
|
|
1119
|
+
At,
|
|
1120
|
+
Ft
|
|
1121
|
+
], Mn = {
|
|
1122
1122
|
variant: "sparkline",
|
|
1123
1123
|
label: "Daily Orders",
|
|
1124
1124
|
value: 847,
|
|
@@ -1141,7 +1141,7 @@ const kn = [
|
|
|
1141
1141
|
59
|
|
1142
1142
|
],
|
|
1143
1143
|
accentColor: "#6366f1"
|
|
1144
|
-
},
|
|
1144
|
+
}, Pn = {
|
|
1145
1145
|
variant: "sparkline",
|
|
1146
1146
|
label: "New Customers",
|
|
1147
1147
|
value: 23,
|
|
@@ -1180,21 +1180,21 @@ const kn = [
|
|
|
1180
1180
|
19
|
|
1181
1181
|
],
|
|
1182
1182
|
accentColor: "#10b981"
|
|
1183
|
-
},
|
|
1183
|
+
}, In = {
|
|
1184
1184
|
variant: "standard",
|
|
1185
1185
|
label: "Total Revenue",
|
|
1186
1186
|
value: 125430,
|
|
1187
1187
|
valueFormat: { prefix: "$", abbreviated: !0 },
|
|
1188
1188
|
trend: { value: 12.5, direction: "up" },
|
|
1189
1189
|
subtitle: "MTD"
|
|
1190
|
-
},
|
|
1190
|
+
}, En = {
|
|
1191
1191
|
variant: "standard",
|
|
1192
1192
|
label: "Returns",
|
|
1193
1193
|
value: 3280,
|
|
1194
1194
|
valueFormat: { prefix: "$", abbreviated: !0 },
|
|
1195
1195
|
trend: { value: -8.3, direction: "down" },
|
|
1196
1196
|
subtitle: "MTD"
|
|
1197
|
-
},
|
|
1197
|
+
}, An = {
|
|
1198
1198
|
variant: "standard",
|
|
1199
1199
|
label: "Avg Order Value",
|
|
1200
1200
|
value: 487,
|
|
@@ -1213,22 +1213,22 @@ function $e({
|
|
|
1213
1213
|
onManagePages: l
|
|
1214
1214
|
}) {
|
|
1215
1215
|
const m = N(
|
|
1216
|
-
(
|
|
1217
|
-
i(
|
|
1216
|
+
(d) => {
|
|
1217
|
+
i(d), t();
|
|
1218
1218
|
},
|
|
1219
1219
|
[i, t]
|
|
1220
|
-
),
|
|
1221
|
-
(
|
|
1222
|
-
(p.key === "Enter" || p.key === " ") && (p.preventDefault(), m(
|
|
1220
|
+
), u = N(
|
|
1221
|
+
(d, p) => {
|
|
1222
|
+
(p.key === "Enter" || p.key === " ") && (p.preventDefault(), m(d));
|
|
1223
1223
|
},
|
|
1224
1224
|
[m]
|
|
1225
|
-
),
|
|
1225
|
+
), c = N(() => {
|
|
1226
1226
|
o(), t();
|
|
1227
1227
|
}, [o, t]), h = N(() => {
|
|
1228
1228
|
l(), t();
|
|
1229
1229
|
}, [l, t]);
|
|
1230
1230
|
return /* @__PURE__ */ y(
|
|
1231
|
-
|
|
1231
|
+
lt,
|
|
1232
1232
|
{
|
|
1233
1233
|
definition: {
|
|
1234
1234
|
placement: "bottom-end",
|
|
@@ -1241,8 +1241,8 @@ function $e({
|
|
|
1241
1241
|
anchorRef: n,
|
|
1242
1242
|
className: "gloss-page-dropdown",
|
|
1243
1243
|
children: [
|
|
1244
|
-
/* @__PURE__ */ r("ul", { role: "menu", className: "gloss-page-dropdown__list", children: a.map((
|
|
1245
|
-
const p =
|
|
1244
|
+
/* @__PURE__ */ r("ul", { role: "menu", className: "gloss-page-dropdown__list", children: a.map((d) => {
|
|
1245
|
+
const p = d.id === s;
|
|
1246
1246
|
return /* @__PURE__ */ y(
|
|
1247
1247
|
"li",
|
|
1248
1248
|
{
|
|
@@ -1251,8 +1251,8 @@ function $e({
|
|
|
1251
1251
|
"aria-current": p ? "page" : void 0,
|
|
1252
1252
|
tabIndex: 0,
|
|
1253
1253
|
className: `gloss-page-dropdown__item${p ? " gloss-page-dropdown__item--active" : ""}`,
|
|
1254
|
-
onClick: () => m(
|
|
1255
|
-
onKeyDown: (w) => d
|
|
1254
|
+
onClick: () => m(d.id),
|
|
1255
|
+
onKeyDown: (w) => u(d.id, w),
|
|
1256
1256
|
children: [
|
|
1257
1257
|
/* @__PURE__ */ r(
|
|
1258
1258
|
"span",
|
|
@@ -1263,15 +1263,15 @@ function $e({
|
|
|
1263
1263
|
/* @__PURE__ */ r(
|
|
1264
1264
|
"span",
|
|
1265
1265
|
{
|
|
1266
|
-
className: `gloss-page-dropdown__name${
|
|
1267
|
-
children:
|
|
1266
|
+
className: `gloss-page-dropdown__name${d.named ? "" : " gloss-page-dropdown__name--unnamed"}`,
|
|
1267
|
+
children: d.name
|
|
1268
1268
|
}
|
|
1269
1269
|
),
|
|
1270
|
-
|
|
1271
|
-
/* @__PURE__ */ r("span", { className: "gloss-page-dropdown__count", children:
|
|
1270
|
+
d.icon && /* @__PURE__ */ r("span", { className: "gloss-page-dropdown__icon", children: d.icon }),
|
|
1271
|
+
/* @__PURE__ */ r("span", { className: "gloss-page-dropdown__count", children: d.cardCount })
|
|
1272
1272
|
]
|
|
1273
1273
|
},
|
|
1274
|
-
|
|
1274
|
+
d.id
|
|
1275
1275
|
);
|
|
1276
1276
|
}) }),
|
|
1277
1277
|
/* @__PURE__ */ r("hr", { className: "gloss-page-dropdown__separator" }),
|
|
@@ -1280,7 +1280,7 @@ function $e({
|
|
|
1280
1280
|
{
|
|
1281
1281
|
role: "menuitem",
|
|
1282
1282
|
className: "gloss-page-dropdown__action",
|
|
1283
|
-
onClick:
|
|
1283
|
+
onClick: c,
|
|
1284
1284
|
children: "+ New page"
|
|
1285
1285
|
}
|
|
1286
1286
|
),
|
|
@@ -1299,7 +1299,7 @@ function $e({
|
|
|
1299
1299
|
);
|
|
1300
1300
|
}
|
|
1301
1301
|
$e.displayName = "PageDropdown";
|
|
1302
|
-
const
|
|
1302
|
+
const Lt = function({
|
|
1303
1303
|
currentIndex: t,
|
|
1304
1304
|
total: n,
|
|
1305
1305
|
pages: a,
|
|
@@ -1308,18 +1308,18 @@ const Ft = function({
|
|
|
1308
1308
|
onManagePages: o,
|
|
1309
1309
|
maskRadius: l = "var(--gloss-radius-md)",
|
|
1310
1310
|
displayMode: m = "count",
|
|
1311
|
-
activePage:
|
|
1311
|
+
activePage: u
|
|
1312
1312
|
}) {
|
|
1313
|
-
const
|
|
1314
|
-
|
|
1313
|
+
const c = P(null), [h, d] = I(!1), p = N(() => {
|
|
1314
|
+
d((b) => !b);
|
|
1315
1315
|
}, []), w = N(() => {
|
|
1316
|
-
|
|
1316
|
+
d(!1);
|
|
1317
1317
|
}, []), k = a[t]?.id ?? "";
|
|
1318
1318
|
return /* @__PURE__ */ y(
|
|
1319
1319
|
"div",
|
|
1320
1320
|
{
|
|
1321
1321
|
className: "gloss-page-chip",
|
|
1322
|
-
ref:
|
|
1322
|
+
ref: c,
|
|
1323
1323
|
style: m === "name" ? { position: "relative", left: 0, right: "auto", top: 0 } : { position: "absolute", top: 0, right: 0 },
|
|
1324
1324
|
"data-page-chip": !0,
|
|
1325
1325
|
children: [
|
|
@@ -1336,10 +1336,10 @@ const Ft = function({
|
|
|
1336
1336
|
className: `gloss-page-chip__trigger${m === "name" ? " gloss-page-chip__trigger--name" : ""}`,
|
|
1337
1337
|
"aria-haspopup": "menu",
|
|
1338
1338
|
"aria-expanded": h,
|
|
1339
|
-
"aria-label": m === "name" ? `${
|
|
1339
|
+
"aria-label": m === "name" ? `${u ?? "Page"}. Click to switch pages.` : `Page ${t + 1} of ${n}. Click to switch pages.`,
|
|
1340
1340
|
onClick: p,
|
|
1341
1341
|
children: m === "name" ? /* @__PURE__ */ y($, { children: [
|
|
1342
|
-
/* @__PURE__ */ r("span", { className: "gloss-page-chip__trigger-name", children:
|
|
1342
|
+
/* @__PURE__ */ r("span", { className: "gloss-page-chip__trigger-name", children: u ?? "" }),
|
|
1343
1343
|
/* @__PURE__ */ r("span", { className: "gloss-page-chip__trigger-chevron", "aria-hidden": "true", children: "▾" })
|
|
1344
1344
|
] }) : /* @__PURE__ */ y($, { children: [
|
|
1345
1345
|
t + 1,
|
|
@@ -1353,7 +1353,7 @@ const Ft = function({
|
|
|
1353
1353
|
{
|
|
1354
1354
|
open: h,
|
|
1355
1355
|
onDismiss: w,
|
|
1356
|
-
anchorRef:
|
|
1356
|
+
anchorRef: c,
|
|
1357
1357
|
pages: a,
|
|
1358
1358
|
activePageId: k,
|
|
1359
1359
|
onPageChange: s,
|
|
@@ -1365,8 +1365,8 @@ const Ft = function({
|
|
|
1365
1365
|
}
|
|
1366
1366
|
);
|
|
1367
1367
|
};
|
|
1368
|
-
|
|
1369
|
-
const
|
|
1368
|
+
Lt.displayName = "PageChip";
|
|
1369
|
+
const Fn = [
|
|
1370
1370
|
{
|
|
1371
1371
|
id: "ORD-1001",
|
|
1372
1372
|
orderNumber: "ORD-1001",
|
|
@@ -1499,7 +1499,7 @@ const In = [
|
|
|
1499
1499
|
date: "2026-03-01",
|
|
1500
1500
|
skuCount: 9
|
|
1501
1501
|
}
|
|
1502
|
-
],
|
|
1502
|
+
], Ln = [
|
|
1503
1503
|
{
|
|
1504
1504
|
id: "ITEM-001",
|
|
1505
1505
|
sku: "PB-4520",
|
|
@@ -1642,7 +1642,7 @@ function ze(e) {
|
|
|
1642
1642
|
function Be(e) {
|
|
1643
1643
|
return new Date(e).toLocaleDateString("en-US", { month: "short", day: "numeric", year: "numeric" });
|
|
1644
1644
|
}
|
|
1645
|
-
const J = F.createElement("span", { style: { color: "var(--color-text-muted)" } }, "—"),
|
|
1645
|
+
const J = F.createElement("span", { style: { color: "var(--color-text-muted)" } }, "—"), On = [
|
|
1646
1646
|
{
|
|
1647
1647
|
field: "id",
|
|
1648
1648
|
headerName: "Order",
|
|
@@ -1694,7 +1694,7 @@ const J = F.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1694
1694
|
cellClassName: "gloss-tabular-nums",
|
|
1695
1695
|
renderCell: ({ row: e }) => e.date ? Be(e.date) : ""
|
|
1696
1696
|
}
|
|
1697
|
-
],
|
|
1697
|
+
], $n = [
|
|
1698
1698
|
{
|
|
1699
1699
|
field: "sku",
|
|
1700
1700
|
headerName: "Item ID",
|
|
@@ -1764,14 +1764,14 @@ const J = F.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1764
1764
|
{ id: "c-003", label: "Mountain View Store" },
|
|
1765
1765
|
{ id: "c-004", label: "Downtown Decor" },
|
|
1766
1766
|
{ id: "c-005", label: "Pacific Coast Imports" }
|
|
1767
|
-
],
|
|
1767
|
+
], $t = [
|
|
1768
1768
|
{ id: "i-001", label: "Classic Linen Throw Pillow" },
|
|
1769
1769
|
{ id: "i-002", label: "Coastal Wave Candle Set" },
|
|
1770
1770
|
{ id: "i-003", label: "Walnut Console Table" },
|
|
1771
1771
|
{ id: "i-004", label: "Hand-Blown Glass Vase" },
|
|
1772
1772
|
{ id: "i-005", label: "Velvet Accent Cushion" }
|
|
1773
1773
|
], ie = (e) => {
|
|
1774
|
-
},
|
|
1774
|
+
}, zt = (e) => {
|
|
1775
1775
|
}, Ne = (e, t) => {
|
|
1776
1776
|
}, Ke = {
|
|
1777
1777
|
vizState: {
|
|
@@ -1782,15 +1782,15 @@ const J = F.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1782
1782
|
timeFrame: "MTD"
|
|
1783
1783
|
},
|
|
1784
1784
|
onTypeChange: ie,
|
|
1785
|
-
onQuantChange:
|
|
1785
|
+
onQuantChange: zt,
|
|
1786
1786
|
onEntityTypeChange: ie,
|
|
1787
1787
|
onEntitySelect: Ne,
|
|
1788
1788
|
onItemSelect: Ne,
|
|
1789
1789
|
onTimeFrameChange: ie,
|
|
1790
1790
|
userType: "sales-agency",
|
|
1791
1791
|
entityFilterOptions: Ot,
|
|
1792
|
-
itemFilterOptions:
|
|
1793
|
-
},
|
|
1792
|
+
itemFilterOptions: $t
|
|
1793
|
+
}, zn = {
|
|
1794
1794
|
...Ke,
|
|
1795
1795
|
vizState: {
|
|
1796
1796
|
type: "items",
|
|
@@ -1799,7 +1799,7 @@ const J = F.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1799
1799
|
byItem: { id: "i-003", name: "Walnut Console Table" },
|
|
1800
1800
|
timeFrame: "YTD"
|
|
1801
1801
|
}
|
|
1802
|
-
},
|
|
1802
|
+
}, Bn = {
|
|
1803
1803
|
...Ke,
|
|
1804
1804
|
vizState: {
|
|
1805
1805
|
type: "orders",
|
|
@@ -1812,7 +1812,7 @@ const J = F.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1812
1812
|
entityFilterOptions: [
|
|
1813
1813
|
{ id: "customers", label: "Customers" }
|
|
1814
1814
|
]
|
|
1815
|
-
},
|
|
1815
|
+
}, Bt = [
|
|
1816
1816
|
{
|
|
1817
1817
|
id: "recent-orders",
|
|
1818
1818
|
label: "Recent Orders",
|
|
@@ -1858,7 +1858,7 @@ const J = F.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1858
1858
|
routeKey: "customer.profile",
|
|
1859
1859
|
subtitle: "Opens in RepTime"
|
|
1860
1860
|
}
|
|
1861
|
-
],
|
|
1861
|
+
], Kt = [
|
|
1862
1862
|
{
|
|
1863
1863
|
id: "order-items",
|
|
1864
1864
|
label: "Items in Order",
|
|
@@ -1887,7 +1887,7 @@ const J = F.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1887
1887
|
cellKinds: ["orderId"],
|
|
1888
1888
|
graphType: "timeline"
|
|
1889
1889
|
}
|
|
1890
|
-
],
|
|
1890
|
+
], Gt = [
|
|
1891
1891
|
{
|
|
1892
1892
|
id: "graph-metric",
|
|
1893
1893
|
label: "Graph This Metric",
|
|
@@ -1915,14 +1915,14 @@ const J = F.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1915
1915
|
cellKinds: ["numeric"],
|
|
1916
1916
|
tabType: "orders"
|
|
1917
1917
|
}
|
|
1918
|
-
],
|
|
1919
|
-
entityName:
|
|
1920
|
-
orderId:
|
|
1921
|
-
numeric:
|
|
1922
|
-
},
|
|
1918
|
+
], Kn = {
|
|
1919
|
+
entityName: Bt,
|
|
1920
|
+
orderId: Kt,
|
|
1921
|
+
numeric: Gt
|
|
1922
|
+
}, Gn = [
|
|
1923
1923
|
new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), (/* @__PURE__ */ new Date()).getDate() - 29),
|
|
1924
1924
|
/* @__PURE__ */ new Date()
|
|
1925
|
-
],
|
|
1925
|
+
], Hn = {
|
|
1926
1926
|
rangeA: [
|
|
1927
1927
|
new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), 1),
|
|
1928
1928
|
/* @__PURE__ */ new Date()
|
|
@@ -1935,7 +1935,7 @@ const J = F.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1935
1935
|
new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth() - 2, 1),
|
|
1936
1936
|
new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth() - 1, 0)
|
|
1937
1937
|
]
|
|
1938
|
-
},
|
|
1938
|
+
}, Wn = {
|
|
1939
1939
|
version: 4,
|
|
1940
1940
|
lastPreset: "mtd",
|
|
1941
1941
|
pinnedPreset: "mtd",
|
|
@@ -1943,7 +1943,7 @@ const J = F.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1943
1943
|
rangeCount: 1,
|
|
1944
1944
|
lastPresetB: null,
|
|
1945
1945
|
lastPresetC: null
|
|
1946
|
-
},
|
|
1946
|
+
}, Vn = [
|
|
1947
1947
|
{
|
|
1948
1948
|
id: "atlanta-jan",
|
|
1949
1949
|
label: "Atlanta Market",
|
|
@@ -1965,7 +1965,7 @@ const J = F.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1965
1965
|
endDate: new Date(2026, 3, 22),
|
|
1966
1966
|
location: "Chicago, IL"
|
|
1967
1967
|
}
|
|
1968
|
-
],
|
|
1968
|
+
], jn = [
|
|
1969
1969
|
{
|
|
1970
1970
|
id: "custom-regional-1",
|
|
1971
1971
|
label: "Southeast Regional Expo",
|
|
@@ -1982,7 +1982,7 @@ const J = F.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1982
1982
|
location: "Portland, OR",
|
|
1983
1983
|
isCustom: !0
|
|
1984
1984
|
}
|
|
1985
|
-
],
|
|
1985
|
+
], Un = [
|
|
1986
1986
|
{
|
|
1987
1987
|
id: "atlanta-jan",
|
|
1988
1988
|
label: "Atlanta Market",
|
|
@@ -1999,35 +1999,35 @@ const J = F.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1999
1999
|
location: "New York, NY",
|
|
2000
2000
|
active: !0
|
|
2001
2001
|
}
|
|
2002
|
-
],
|
|
2002
|
+
], Yn = [
|
|
2003
2003
|
{ id: "7d", label: "7D" },
|
|
2004
2004
|
{ id: "30d", label: "30D" },
|
|
2005
2005
|
{ id: "60d", label: "60D" },
|
|
2006
2006
|
{ id: "90d", label: "90D" }
|
|
2007
|
-
],
|
|
2007
|
+
], Zn = [
|
|
2008
2008
|
{ id: "mtd", label: "MTD" },
|
|
2009
2009
|
{ id: "qtd", label: "QTD" },
|
|
2010
2010
|
{ id: "ytd", label: "YTD" },
|
|
2011
2011
|
{ id: "lytd", label: "LYTD" }
|
|
2012
|
-
],
|
|
2012
|
+
], Ht = {
|
|
2013
2013
|
timeframe: "Time Frame",
|
|
2014
2014
|
threshold: "Thresholds",
|
|
2015
2015
|
slots: "Slots",
|
|
2016
2016
|
size: "Size",
|
|
2017
2017
|
color: "Color",
|
|
2018
2018
|
pinned: "Pinned"
|
|
2019
|
-
},
|
|
2020
|
-
timeframe:
|
|
2021
|
-
threshold:
|
|
2022
|
-
slots:
|
|
2023
|
-
size:
|
|
2024
|
-
color:
|
|
2025
|
-
pinned:
|
|
2019
|
+
}, Wt = {
|
|
2020
|
+
timeframe: ct,
|
|
2021
|
+
threshold: dt,
|
|
2022
|
+
slots: ut,
|
|
2023
|
+
size: mt,
|
|
2024
|
+
color: pt,
|
|
2025
|
+
pinned: gt
|
|
2026
2026
|
};
|
|
2027
2027
|
function Se(...e) {
|
|
2028
2028
|
return e.filter(Boolean).join(" ");
|
|
2029
2029
|
}
|
|
2030
|
-
function
|
|
2030
|
+
function Vt() {
|
|
2031
2031
|
const [e, t] = I(() => typeof window > "u" || typeof window.matchMedia != "function" ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches);
|
|
2032
2032
|
return A(() => {
|
|
2033
2033
|
if (typeof window > "u" || typeof window.matchMedia != "function") return;
|
|
@@ -2037,42 +2037,42 @@ function Wt() {
|
|
|
2037
2037
|
});
|
|
2038
2038
|
}, []), e;
|
|
2039
2039
|
}
|
|
2040
|
-
const
|
|
2040
|
+
const jt = ({
|
|
2041
2041
|
dimensions: e,
|
|
2042
2042
|
onDimensionSelect: t,
|
|
2043
2043
|
activeDimension: n,
|
|
2044
2044
|
ariaCardTypeLabel: a,
|
|
2045
2045
|
className: s
|
|
2046
2046
|
}) => {
|
|
2047
|
-
const i = P(null), o = P([]), l =
|
|
2047
|
+
const i = P(null), o = P([]), l = Vt(), m = re(() => Array.from(e), [e]);
|
|
2048
2048
|
if (m.length === 0) return null;
|
|
2049
|
-
const
|
|
2049
|
+
const u = a ? `Configure ${a}: choose a dimension` : void 0, c = l ? "10ms" : "200ms", h = (d, p) => {
|
|
2050
2050
|
const w = m.length - 1, k = (f) => {
|
|
2051
2051
|
const b = o.current[f];
|
|
2052
2052
|
b && b.focus();
|
|
2053
2053
|
};
|
|
2054
|
-
switch (
|
|
2054
|
+
switch (d.key) {
|
|
2055
2055
|
case "ArrowRight":
|
|
2056
2056
|
case "ArrowDown": {
|
|
2057
|
-
|
|
2057
|
+
d.preventDefault(), k(p === w ? 0 : p + 1);
|
|
2058
2058
|
break;
|
|
2059
2059
|
}
|
|
2060
2060
|
case "ArrowLeft":
|
|
2061
2061
|
case "ArrowUp": {
|
|
2062
|
-
|
|
2062
|
+
d.preventDefault(), k(p === 0 ? w : p - 1);
|
|
2063
2063
|
break;
|
|
2064
2064
|
}
|
|
2065
2065
|
case "Home": {
|
|
2066
|
-
|
|
2066
|
+
d.preventDefault(), k(0);
|
|
2067
2067
|
break;
|
|
2068
2068
|
}
|
|
2069
2069
|
case "End": {
|
|
2070
|
-
|
|
2070
|
+
d.preventDefault(), k(w);
|
|
2071
2071
|
break;
|
|
2072
2072
|
}
|
|
2073
2073
|
case "Enter":
|
|
2074
2074
|
case " ": {
|
|
2075
|
-
|
|
2075
|
+
d.preventDefault(), t(m[p]);
|
|
2076
2076
|
break;
|
|
2077
2077
|
}
|
|
2078
2078
|
}
|
|
@@ -2082,16 +2082,16 @@ const Vt = ({
|
|
|
2082
2082
|
{
|
|
2083
2083
|
ref: i,
|
|
2084
2084
|
role: "group",
|
|
2085
|
-
"aria-label":
|
|
2085
|
+
"aria-label": u,
|
|
2086
2086
|
className: Se("gloss-reconfig-backside-buttons", s),
|
|
2087
2087
|
style: {
|
|
2088
2088
|
// Expose the reduced-motion-resolved duration as a CSS custom prop
|
|
2089
2089
|
// so the SCSS transition rule can consume it without a nested media
|
|
2090
2090
|
// query in the JS. Also surfaces the value for the unit test.
|
|
2091
|
-
"--gloss-reconfig-backside-buttons-transition-duration":
|
|
2091
|
+
"--gloss-reconfig-backside-buttons-transition-duration": c
|
|
2092
2092
|
},
|
|
2093
|
-
children: m.map((
|
|
2094
|
-
const w =
|
|
2093
|
+
children: m.map((d, p) => {
|
|
2094
|
+
const w = Wt[d], k = n === d;
|
|
2095
2095
|
return /* @__PURE__ */ y(
|
|
2096
2096
|
"button",
|
|
2097
2097
|
{
|
|
@@ -2099,13 +2099,13 @@ const Vt = ({
|
|
|
2099
2099
|
o.current[p] = f;
|
|
2100
2100
|
},
|
|
2101
2101
|
type: "button",
|
|
2102
|
-
"data-dimension":
|
|
2102
|
+
"data-dimension": d,
|
|
2103
2103
|
className: Se(
|
|
2104
2104
|
"gloss-reconfig-backside-buttons__button",
|
|
2105
2105
|
k && "gloss-reconfig-backside-buttons__button--active"
|
|
2106
2106
|
),
|
|
2107
2107
|
"aria-current": k ? "true" : void 0,
|
|
2108
|
-
onClick: () => t(
|
|
2108
|
+
onClick: () => t(d),
|
|
2109
2109
|
onKeyDown: (f) => h(f, p),
|
|
2110
2110
|
children: [
|
|
2111
2111
|
/* @__PURE__ */ r(
|
|
@@ -2115,17 +2115,17 @@ const Vt = ({
|
|
|
2115
2115
|
"aria-hidden": "true"
|
|
2116
2116
|
}
|
|
2117
2117
|
),
|
|
2118
|
-
/* @__PURE__ */ r("span", { className: "gloss-reconfig-backside-buttons__button-label", children:
|
|
2118
|
+
/* @__PURE__ */ r("span", { className: "gloss-reconfig-backside-buttons__button-label", children: Ht[d] })
|
|
2119
2119
|
]
|
|
2120
2120
|
},
|
|
2121
|
-
|
|
2121
|
+
d
|
|
2122
2122
|
);
|
|
2123
2123
|
})
|
|
2124
2124
|
}
|
|
2125
2125
|
);
|
|
2126
2126
|
};
|
|
2127
|
-
|
|
2128
|
-
function
|
|
2127
|
+
jt.displayName = "ReconfigBacksideButtons";
|
|
2128
|
+
function B(e, t) {
|
|
2129
2129
|
return {
|
|
2130
2130
|
id: e,
|
|
2131
2131
|
colSpan: 1,
|
|
@@ -2147,36 +2147,36 @@ function z(e, t) {
|
|
|
2147
2147
|
}
|
|
2148
2148
|
function ke(e, t) {
|
|
2149
2149
|
return {
|
|
2150
|
-
...
|
|
2150
|
+
...B(e, t),
|
|
2151
2151
|
colSpan: 2
|
|
2152
2152
|
};
|
|
2153
2153
|
}
|
|
2154
|
-
const
|
|
2155
|
-
|
|
2156
|
-
|
|
2154
|
+
const qn = [
|
|
2155
|
+
B("total-revenue", "Total Revenue"),
|
|
2156
|
+
B("total-orders", "Total Orders"),
|
|
2157
2157
|
ke("revenue-trend", "Revenue Trend (2x)"),
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2158
|
+
B("avg-order", "Avg Order Value"),
|
|
2159
|
+
B("new-customers", "New Customers"),
|
|
2160
|
+
B("top-salesperson", "Top Salesperson"),
|
|
2161
2161
|
ke("order-trend", "Order Trend (2x)"),
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
],
|
|
2162
|
+
B("repeat-rate", "Repeat Rate"),
|
|
2163
|
+
B("open-orders", "Open Orders"),
|
|
2164
|
+
B("shipped-orders", "Shipped Orders")
|
|
2165
|
+
], Qn = {
|
|
2166
2166
|
columns: 6,
|
|
2167
2167
|
rowHeight: 120,
|
|
2168
2168
|
gap: 15,
|
|
2169
2169
|
maxRows: 3,
|
|
2170
2170
|
currentPage: 0,
|
|
2171
2171
|
totalPages: 1
|
|
2172
|
-
},
|
|
2172
|
+
}, Xn = {
|
|
2173
2173
|
columns: 9,
|
|
2174
2174
|
rowHeight: 120,
|
|
2175
2175
|
gap: 15,
|
|
2176
2176
|
maxRows: 3,
|
|
2177
2177
|
currentPage: 0,
|
|
2178
2178
|
totalPages: 2
|
|
2179
|
-
},
|
|
2179
|
+
}, Jn = {
|
|
2180
2180
|
columns: 12,
|
|
2181
2181
|
rowHeight: 120,
|
|
2182
2182
|
gap: 15,
|
|
@@ -2187,7 +2187,7 @@ const Un = [
|
|
|
2187
2187
|
function oe(e) {
|
|
2188
2188
|
return F.createElement("span", { style: { fontSize: 14 } }, e);
|
|
2189
2189
|
}
|
|
2190
|
-
const
|
|
2190
|
+
const er = [
|
|
2191
2191
|
{
|
|
2192
2192
|
id: "all-orders",
|
|
2193
2193
|
type: "orders",
|
|
@@ -2210,7 +2210,7 @@ const Qn = [
|
|
|
2210
2210
|
icon: oe("🚚"),
|
|
2211
2211
|
closable: !0
|
|
2212
2212
|
}
|
|
2213
|
-
],
|
|
2213
|
+
], tr = [
|
|
2214
2214
|
{
|
|
2215
2215
|
id: "orders-main",
|
|
2216
2216
|
type: "orders",
|
|
@@ -2236,7 +2236,7 @@ const Qn = [
|
|
|
2236
2236
|
name: "Customers",
|
|
2237
2237
|
closable: !0
|
|
2238
2238
|
}
|
|
2239
|
-
],
|
|
2239
|
+
], ar = [
|
|
2240
2240
|
{
|
|
2241
2241
|
id: "only-tab",
|
|
2242
2242
|
type: "orders",
|
|
@@ -2244,7 +2244,7 @@ const Qn = [
|
|
|
2244
2244
|
closable: !1,
|
|
2245
2245
|
autoCreated: !0
|
|
2246
2246
|
}
|
|
2247
|
-
],
|
|
2247
|
+
], nr = [
|
|
2248
2248
|
{ id: "tab-1", type: "orders", name: "All Orders", closable: !1, autoCreated: !0 },
|
|
2249
2249
|
{ id: "tab-2", type: "orders", name: "Open Orders", closable: !0 },
|
|
2250
2250
|
{ id: "tab-3", type: "orders", name: "Shipped Orders", closable: !0 },
|
|
@@ -2267,7 +2267,7 @@ function pe(e) {
|
|
|
2267
2267
|
return { cols: 1, rows: 1 };
|
|
2268
2268
|
}
|
|
2269
2269
|
}
|
|
2270
|
-
function
|
|
2270
|
+
function Ut(e) {
|
|
2271
2271
|
let t = 0;
|
|
2272
2272
|
for (const a of e) {
|
|
2273
2273
|
const s = pe(a.size), i = a.gridPosition.col + s.cols - 1;
|
|
@@ -2275,7 +2275,7 @@ function jt(e) {
|
|
|
2275
2275
|
}
|
|
2276
2276
|
return `repeat(${t > 0 ? t : Math.max(e.length, 1)}, minmax(0, 1fr))`;
|
|
2277
2277
|
}
|
|
2278
|
-
const
|
|
2278
|
+
const Yt = function(t) {
|
|
2279
2279
|
if (t.renderMode === "discrete")
|
|
2280
2280
|
return /* @__PURE__ */ r(
|
|
2281
2281
|
"div",
|
|
@@ -2344,7 +2344,7 @@ const Ut = function(t) {
|
|
|
2344
2344
|
style: {
|
|
2345
2345
|
display: "grid",
|
|
2346
2346
|
gap: "var(--gloss-spacing-2, 8px)",
|
|
2347
|
-
gridTemplateColumns:
|
|
2347
|
+
gridTemplateColumns: Ut(n)
|
|
2348
2348
|
},
|
|
2349
2349
|
children: n.map((s) => {
|
|
2350
2350
|
const i = pe(s.size);
|
|
@@ -2367,13 +2367,13 @@ const Ut = function(t) {
|
|
|
2367
2367
|
}
|
|
2368
2368
|
);
|
|
2369
2369
|
};
|
|
2370
|
-
|
|
2371
|
-
const Ge = "resize.tuning.dev",
|
|
2372
|
-
...
|
|
2370
|
+
Yt.displayName = "MetricGroupContainer";
|
|
2371
|
+
const Ge = "resize.tuning.dev", Zt = {
|
|
2372
|
+
...St,
|
|
2373
2373
|
snapInPx: 60,
|
|
2374
2374
|
snapOutPx: 90
|
|
2375
|
-
}, V =
|
|
2376
|
-
function
|
|
2375
|
+
}, V = Zt;
|
|
2376
|
+
function qt() {
|
|
2377
2377
|
if (typeof window > "u") return { ...V };
|
|
2378
2378
|
try {
|
|
2379
2379
|
const e = window.localStorage.getItem(Ge);
|
|
@@ -2384,8 +2384,8 @@ function Zt() {
|
|
|
2384
2384
|
return { ...V };
|
|
2385
2385
|
}
|
|
2386
2386
|
}
|
|
2387
|
-
function
|
|
2388
|
-
const [e, t] = I(() =>
|
|
2387
|
+
function Qt() {
|
|
2388
|
+
const [e, t] = I(() => qt());
|
|
2389
2389
|
A(() => {
|
|
2390
2390
|
if (!(typeof window > "u"))
|
|
2391
2391
|
try {
|
|
@@ -2408,7 +2408,7 @@ function qt() {
|
|
|
2408
2408
|
}, []);
|
|
2409
2409
|
return { values: e, setValue: n, resetRow: a, resetAll: s };
|
|
2410
2410
|
}
|
|
2411
|
-
const
|
|
2411
|
+
const Xt = [
|
|
2412
2412
|
{ key: "stiffness", label: "Spring stiffness", unit: "", min: 100, max: 1e3, step: 10 },
|
|
2413
2413
|
{ key: "damping", label: "Spring damping", unit: "", min: 10, max: 60, step: 1 },
|
|
2414
2414
|
{ key: "mass", label: "Spring mass", unit: "", min: 0.5, max: 2, step: 0.1 },
|
|
@@ -2419,10 +2419,10 @@ const Qt = [
|
|
|
2419
2419
|
{ key: "blueprintFadeOutMs", label: "Blueprint fade out", unit: "ms", min: 60, max: 400, step: 10 },
|
|
2420
2420
|
{ key: "velocityMultiplier", label: "Velocity multiplier", unit: "×", min: 0, max: 2, step: 0.05 }
|
|
2421
2421
|
];
|
|
2422
|
-
function
|
|
2422
|
+
function Jt(e, t) {
|
|
2423
2423
|
return t >= 1 ? String(Math.round(e)) : t >= 0.1 ? e.toFixed(1) : e.toFixed(2);
|
|
2424
2424
|
}
|
|
2425
|
-
function
|
|
2425
|
+
function ea() {
|
|
2426
2426
|
return /* @__PURE__ */ y(
|
|
2427
2427
|
"svg",
|
|
2428
2428
|
{
|
|
@@ -2442,7 +2442,7 @@ function Jt() {
|
|
|
2442
2442
|
}
|
|
2443
2443
|
);
|
|
2444
2444
|
}
|
|
2445
|
-
function
|
|
2445
|
+
function ta({ spec: e, value: t, onChange: n, onReset: a, flashing: s }) {
|
|
2446
2446
|
const i = N(
|
|
2447
2447
|
(o) => {
|
|
2448
2448
|
(o.key === "r" || o.key === "R") && (o.preventDefault(), a());
|
|
@@ -2458,7 +2458,7 @@ function ea({ spec: e, value: t, onChange: n, onReset: a, flashing: s }) {
|
|
|
2458
2458
|
children: [
|
|
2459
2459
|
/* @__PURE__ */ r("label", { className: "gloss-dev-tuning-panel__label", htmlFor: `gloss-dtp-${e.key}`, children: e.label }),
|
|
2460
2460
|
/* @__PURE__ */ y("span", { className: "gloss-dev-tuning-panel__value", "aria-live": "off", children: [
|
|
2461
|
-
|
|
2461
|
+
Jt(t, e.step),
|
|
2462
2462
|
e.unit ? ` ${e.unit}` : ""
|
|
2463
2463
|
] }),
|
|
2464
2464
|
/* @__PURE__ */ r(
|
|
@@ -2482,14 +2482,14 @@ function ea({ spec: e, value: t, onChange: n, onReset: a, flashing: s }) {
|
|
|
2482
2482
|
className: "gloss-dev-tuning-panel__reset",
|
|
2483
2483
|
"aria-label": `Reset ${e.label}`,
|
|
2484
2484
|
onClick: a,
|
|
2485
|
-
children: /* @__PURE__ */ r(
|
|
2485
|
+
children: /* @__PURE__ */ r(ea, {})
|
|
2486
2486
|
}
|
|
2487
2487
|
)
|
|
2488
2488
|
]
|
|
2489
2489
|
}
|
|
2490
2490
|
);
|
|
2491
2491
|
}
|
|
2492
|
-
function
|
|
2492
|
+
function aa() {
|
|
2493
2493
|
if (typeof process < "u" && process.env && process.env.NODE_ENV === "production" || typeof window > "u") return !1;
|
|
2494
2494
|
try {
|
|
2495
2495
|
return new URLSearchParams(window.location.search).has("devtune");
|
|
@@ -2497,23 +2497,23 @@ function ta() {
|
|
|
2497
2497
|
return !1;
|
|
2498
2498
|
}
|
|
2499
2499
|
}
|
|
2500
|
-
function
|
|
2501
|
-
return
|
|
2500
|
+
function na(e = {}) {
|
|
2501
|
+
return aa() ? /* @__PURE__ */ r(ra, {}) : null;
|
|
2502
2502
|
}
|
|
2503
|
-
|
|
2504
|
-
function
|
|
2505
|
-
const e =
|
|
2506
|
-
l.current && clearTimeout(l.current), o(
|
|
2503
|
+
na.displayName = "DevTuningPanel";
|
|
2504
|
+
function ra() {
|
|
2505
|
+
const e = Qt(), { values: t, setValue: n, resetRow: a, resetAll: s } = e, [i, o] = I(null), l = P(null), m = N((d) => {
|
|
2506
|
+
l.current && clearTimeout(l.current), o(d), l.current = setTimeout(() => {
|
|
2507
2507
|
o(null), l.current = null;
|
|
2508
2508
|
}, 200);
|
|
2509
|
-
}, []),
|
|
2510
|
-
(
|
|
2511
|
-
n(
|
|
2509
|
+
}, []), u = N(
|
|
2510
|
+
(d, p) => {
|
|
2511
|
+
n(d, p), d === "snapInPx" && p > t.snapOutPx && (n("snapOutPx", p), m("snapOutPx"));
|
|
2512
2512
|
},
|
|
2513
2513
|
[n, t.snapOutPx, m]
|
|
2514
|
-
),
|
|
2514
|
+
), c = re(() => Xt, []), h = st();
|
|
2515
2515
|
return /* @__PURE__ */ y(
|
|
2516
|
-
|
|
2516
|
+
z.div,
|
|
2517
2517
|
{
|
|
2518
2518
|
className: "gloss-dev-tuning-panel",
|
|
2519
2519
|
role: "region",
|
|
@@ -2528,23 +2528,23 @@ function na() {
|
|
|
2528
2528
|
"div",
|
|
2529
2529
|
{
|
|
2530
2530
|
className: "gloss-dev-tuning-panel__header",
|
|
2531
|
-
onPointerDown: (
|
|
2531
|
+
onPointerDown: (d) => h.start(d),
|
|
2532
2532
|
children: [
|
|
2533
2533
|
/* @__PURE__ */ r("span", { className: "gloss-dev-tuning-panel__title", children: "Resize Tuning — dev only" }),
|
|
2534
2534
|
/* @__PURE__ */ r("span", { className: "gloss-dev-tuning-panel__hint", children: "?devtune=1" })
|
|
2535
2535
|
]
|
|
2536
2536
|
}
|
|
2537
2537
|
),
|
|
2538
|
-
/* @__PURE__ */ r("div", { className: "gloss-dev-tuning-panel__body", children:
|
|
2539
|
-
|
|
2538
|
+
/* @__PURE__ */ r("div", { className: "gloss-dev-tuning-panel__body", children: c.map((d) => /* @__PURE__ */ r(
|
|
2539
|
+
ta,
|
|
2540
2540
|
{
|
|
2541
|
-
spec:
|
|
2542
|
-
value: t[
|
|
2543
|
-
onChange: (p) => d
|
|
2544
|
-
onReset: () => a(
|
|
2545
|
-
flashing: i ===
|
|
2541
|
+
spec: d,
|
|
2542
|
+
value: t[d.key],
|
|
2543
|
+
onChange: (p) => u(d.key, p),
|
|
2544
|
+
onReset: () => a(d.key),
|
|
2545
|
+
flashing: i === d.key
|
|
2546
2546
|
},
|
|
2547
|
-
|
|
2547
|
+
d.key
|
|
2548
2548
|
)) }),
|
|
2549
2549
|
/* @__PURE__ */ r("div", { className: "gloss-dev-tuning-panel__footer", children: /* @__PURE__ */ r(
|
|
2550
2550
|
"button",
|
|
@@ -2559,7 +2559,7 @@ function na() {
|
|
|
2559
2559
|
}
|
|
2560
2560
|
);
|
|
2561
2561
|
}
|
|
2562
|
-
function
|
|
2562
|
+
function rr({
|
|
2563
2563
|
state: e,
|
|
2564
2564
|
originX: t,
|
|
2565
2565
|
originY: n,
|
|
@@ -2569,22 +2569,22 @@ function tr({
|
|
|
2569
2569
|
snapBoundariesX: o,
|
|
2570
2570
|
topY: l,
|
|
2571
2571
|
bottomY: m,
|
|
2572
|
-
enterMs:
|
|
2573
|
-
exitMs:
|
|
2572
|
+
enterMs: u = U.envelopeEnterMs,
|
|
2573
|
+
exitMs: c = U.envelopeExitMs,
|
|
2574
2574
|
className: h,
|
|
2575
|
-
style:
|
|
2575
|
+
style: d
|
|
2576
2576
|
}) {
|
|
2577
2577
|
if (e === "hidden") return null;
|
|
2578
2578
|
const p = Math.max(0, s - a), w = Math.max(0, m - l), k = {
|
|
2579
|
-
"--gloss-resize-envelope-enter-ms": `${
|
|
2580
|
-
"--gloss-resize-envelope-exit-ms": `${
|
|
2579
|
+
"--gloss-resize-envelope-enter-ms": `${u}ms`,
|
|
2580
|
+
"--gloss-resize-envelope-exit-ms": `${c}ms`,
|
|
2581
2581
|
"--gloss-resize-envelope-origin-x": `${t - a}px`,
|
|
2582
2582
|
"--gloss-resize-envelope-origin-y": `${n - l}px`,
|
|
2583
2583
|
left: a,
|
|
2584
2584
|
top: l,
|
|
2585
2585
|
width: p,
|
|
2586
2586
|
height: w,
|
|
2587
|
-
...
|
|
2587
|
+
...d
|
|
2588
2588
|
};
|
|
2589
2589
|
return /* @__PURE__ */ y(
|
|
2590
2590
|
"div",
|
|
@@ -2632,7 +2632,7 @@ function tr({
|
|
|
2632
2632
|
}
|
|
2633
2633
|
);
|
|
2634
2634
|
}
|
|
2635
|
-
function
|
|
2635
|
+
function sr({
|
|
2636
2636
|
density: e,
|
|
2637
2637
|
canAccept: t,
|
|
2638
2638
|
blocked: n = !1,
|
|
@@ -2643,12 +2643,12 @@ function ar({
|
|
|
2643
2643
|
children: l,
|
|
2644
2644
|
...m
|
|
2645
2645
|
}) {
|
|
2646
|
-
const
|
|
2646
|
+
const u = a != null ? { ...m.style, "--_proximity-opacity": String(a) } : m.style;
|
|
2647
2647
|
return /* @__PURE__ */ r(
|
|
2648
2648
|
"div",
|
|
2649
2649
|
{
|
|
2650
2650
|
...m,
|
|
2651
|
-
style:
|
|
2651
|
+
style: u,
|
|
2652
2652
|
"data-density": e,
|
|
2653
2653
|
"data-can-accept": t ? "true" : "false",
|
|
2654
2654
|
"data-blocked": n ? "true" : void 0,
|
|
@@ -2665,11 +2665,11 @@ function ar({
|
|
|
2665
2665
|
}
|
|
2666
2666
|
);
|
|
2667
2667
|
}
|
|
2668
|
-
function
|
|
2668
|
+
function sa(e, t, n, a) {
|
|
2669
2669
|
const s = (e + n) / 2, i = Math.min(t, a) - 40;
|
|
2670
2670
|
return `M${e},${t} Q${s},${i} ${n},${a}`;
|
|
2671
2671
|
}
|
|
2672
|
-
function
|
|
2672
|
+
function ir({
|
|
2673
2673
|
segments: e,
|
|
2674
2674
|
durationMs: t = U.spilloverArcDurationMs,
|
|
2675
2675
|
staggerMs: n = U.spilloverStaggerMs,
|
|
@@ -2689,7 +2689,7 @@ function nr({
|
|
|
2689
2689
|
{
|
|
2690
2690
|
"data-arc-id": i.id,
|
|
2691
2691
|
className: "gloss-spillover-arc__path",
|
|
2692
|
-
d:
|
|
2692
|
+
d: sa(i.fromX, i.fromY, i.toX, i.toY),
|
|
2693
2693
|
style: {
|
|
2694
2694
|
animationDelay: `${o * n}ms`,
|
|
2695
2695
|
animationDuration: `${t}ms`
|
|
@@ -2700,7 +2700,7 @@ function nr({
|
|
|
2700
2700
|
}
|
|
2701
2701
|
);
|
|
2702
2702
|
}
|
|
2703
|
-
function
|
|
2703
|
+
function or({
|
|
2704
2704
|
state: e,
|
|
2705
2705
|
staggerIndex: t = 0,
|
|
2706
2706
|
fadeInMs: n = U.sectionDividerFadeInMs,
|
|
@@ -2711,7 +2711,7 @@ function rr({
|
|
|
2711
2711
|
style: l,
|
|
2712
2712
|
...m
|
|
2713
2713
|
}) {
|
|
2714
|
-
const
|
|
2714
|
+
const u = {
|
|
2715
2715
|
"--gloss-section-divider-fade-in-ms": `${n}ms`,
|
|
2716
2716
|
"--gloss-section-divider-fade-out-ms": `${a}ms`,
|
|
2717
2717
|
"--gloss-section-divider-stagger-delay": `${t * s}ms`,
|
|
@@ -2730,7 +2730,7 @@ function rr({
|
|
|
2730
2730
|
i === "seam-bleed" ? "gloss-section-divider--variant-seam-bleed" : "",
|
|
2731
2731
|
o
|
|
2732
2732
|
].filter(Boolean).join(" "),
|
|
2733
|
-
style:
|
|
2733
|
+
style: u
|
|
2734
2734
|
}
|
|
2735
2735
|
);
|
|
2736
2736
|
}
|
|
@@ -2746,18 +2746,18 @@ const Y = {
|
|
|
2746
2746
|
enterEasing: "cubic-bezier(0.34, 1.56, 0.64, 1)",
|
|
2747
2747
|
exitEasing: "cubic-bezier(0.4, 0, 1, 1)",
|
|
2748
2748
|
translateOffsetPx: 8
|
|
2749
|
-
},
|
|
2749
|
+
}, lr = {
|
|
2750
2750
|
shiverCycles: 3,
|
|
2751
2751
|
shiverAmplitudePx: 2,
|
|
2752
2752
|
shiverDurationMs: 180,
|
|
2753
2753
|
validCellOpacity: 0.6
|
|
2754
|
-
},
|
|
2754
|
+
}, cr = {
|
|
2755
2755
|
materializeMs: 180,
|
|
2756
2756
|
dematerializeMs: 140,
|
|
2757
2757
|
easing: "cubic-bezier(0.22, 1, 0.36, 1)",
|
|
2758
2758
|
dotStrokePx: 2,
|
|
2759
2759
|
dividerDashGapPx: 4
|
|
2760
|
-
},
|
|
2760
|
+
}, dr = {
|
|
2761
2761
|
cascadeStaggerMs: 0,
|
|
2762
2762
|
cascadeSpringCapMs: 120,
|
|
2763
2763
|
swingEnterMs: 100,
|
|
@@ -2766,7 +2766,7 @@ const Y = {
|
|
|
2766
2766
|
provisionalStyle: "opacity",
|
|
2767
2767
|
shiverMs: 200,
|
|
2768
2768
|
shiverStyle: "color-flash"
|
|
2769
|
-
},
|
|
2769
|
+
}, ur = !0, mr = {
|
|
2770
2770
|
rejectionFill: "var(--gloss-rejection-fill)",
|
|
2771
2771
|
rejectionStroke: "var(--gloss-rejection-stroke)",
|
|
2772
2772
|
validFill: "var(--gloss-valid-fill)",
|
|
@@ -2807,7 +2807,7 @@ const De = ({ visible: e, variant: t, trigger: n, children: a, className: s }) =
|
|
|
2807
2807
|
}
|
|
2808
2808
|
);
|
|
2809
2809
|
};
|
|
2810
|
-
function
|
|
2810
|
+
function pr({
|
|
2811
2811
|
enabled: e,
|
|
2812
2812
|
onCollapse: t,
|
|
2813
2813
|
onAdd: n,
|
|
@@ -2818,14 +2818,14 @@ function dr({
|
|
|
2818
2818
|
onPack: l,
|
|
2819
2819
|
ariaLabel: m
|
|
2820
2820
|
}) {
|
|
2821
|
-
const
|
|
2822
|
-
return /* @__PURE__ */ y(
|
|
2823
|
-
/* @__PURE__ */ r(De, { visible:
|
|
2821
|
+
const u = a ?? "Add card to this cell", c = s ?? m ?? "Pack row — shift cards left", h = t ?? l, { affordancesVisible: d } = Qe();
|
|
2822
|
+
return /* @__PURE__ */ y(K.Fragment, { children: [
|
|
2823
|
+
/* @__PURE__ */ r(De, { visible: d, variant: "pack", trigger: "hover+focus", children: /* @__PURE__ */ r(
|
|
2824
2824
|
"button",
|
|
2825
2825
|
{
|
|
2826
2826
|
type: "button",
|
|
2827
2827
|
"data-testid": "gloss-empty-cell-add",
|
|
2828
|
-
"aria-label":
|
|
2828
|
+
"aria-label": u,
|
|
2829
2829
|
className: [
|
|
2830
2830
|
"gloss-empty-cell-pack-affordance",
|
|
2831
2831
|
"gloss-empty-cell-pack-affordance--add",
|
|
@@ -2838,12 +2838,12 @@ function dr({
|
|
|
2838
2838
|
children: /* @__PURE__ */ r("span", { "aria-hidden": "true", className: "gloss-empty-cell-pack-affordance__glyph", children: "+" })
|
|
2839
2839
|
}
|
|
2840
2840
|
) }),
|
|
2841
|
-
/* @__PURE__ */ r(De, { visible: e &&
|
|
2841
|
+
/* @__PURE__ */ r(De, { visible: e && d, variant: "pack", trigger: "hover+focus", children: /* @__PURE__ */ r(
|
|
2842
2842
|
"button",
|
|
2843
2843
|
{
|
|
2844
2844
|
type: "button",
|
|
2845
2845
|
"data-testid": "gloss-empty-cell-pack",
|
|
2846
|
-
"aria-label":
|
|
2846
|
+
"aria-label": c,
|
|
2847
2847
|
className: ["gloss-empty-cell-pack-affordance", i].filter(Boolean).join(" "),
|
|
2848
2848
|
style: o,
|
|
2849
2849
|
onClick: (p) => {
|
|
@@ -2854,7 +2854,7 @@ function dr({
|
|
|
2854
2854
|
) })
|
|
2855
2855
|
] });
|
|
2856
2856
|
}
|
|
2857
|
-
function
|
|
2857
|
+
function gr({
|
|
2858
2858
|
tint: e,
|
|
2859
2859
|
colSpan: t,
|
|
2860
2860
|
colWidth: n,
|
|
@@ -2865,11 +2865,11 @@ function ur({
|
|
|
2865
2865
|
children: l,
|
|
2866
2866
|
className: m
|
|
2867
2867
|
}) {
|
|
2868
|
-
const
|
|
2868
|
+
const u = t * n + (t - 1) * s, c = K.useRef(null);
|
|
2869
2869
|
return de("drag-ghost", () => {
|
|
2870
2870
|
if (process.env.NODE_ENV === "production")
|
|
2871
2871
|
return { values: {}, spec: null, state: "idle", t: performance.now() };
|
|
2872
|
-
const h =
|
|
2872
|
+
const h = c.current?.getBoundingClientRect() ?? null;
|
|
2873
2873
|
return {
|
|
2874
2874
|
values: {
|
|
2875
2875
|
x: i.get(),
|
|
@@ -2892,12 +2892,12 @@ function ur({
|
|
|
2892
2892
|
}), de("commit-ghost-singleton", () => {
|
|
2893
2893
|
if (process.env.NODE_ENV === "production")
|
|
2894
2894
|
return { values: {}, spec: null, state: "idle", t: performance.now() };
|
|
2895
|
-
const h =
|
|
2896
|
-
let
|
|
2895
|
+
const h = c.current;
|
|
2896
|
+
let d = 0, p = "", w = "", k = "";
|
|
2897
2897
|
if (h)
|
|
2898
2898
|
try {
|
|
2899
2899
|
const x = window.getComputedStyle(h), C = x.outline || "", S = x.border || "", T = x.boxShadow || "", g = !!C && C !== "none" && !/^0px(\s+none)?(\s+rgba?\(0,\s*0,\s*0,\s*0\))?$/i.test(C), v = !!S && S !== "none" && !/^0px(\s+none)?(\s+rgba?\(0,\s*0,\s*0,\s*0\))?$/i.test(S), _ = !!T && T !== "none";
|
|
2900
|
-
|
|
2900
|
+
d = g || v || _ ? 1 : 0, p = g ? C : "", w = v ? S : "", k = _ ? T : "";
|
|
2901
2901
|
} catch {
|
|
2902
2902
|
}
|
|
2903
2903
|
const f = h?.getBoundingClientRect() ?? null, b = h ? "drag-clone" : "subsumed-by-tracking-outline";
|
|
@@ -2910,7 +2910,7 @@ function ur({
|
|
|
2910
2910
|
bounds_w: f?.width ?? 0,
|
|
2911
2911
|
bounds_h: f?.height ?? 0,
|
|
2912
2912
|
visible: h ? 1 : 0,
|
|
2913
|
-
outlineOnClone:
|
|
2913
|
+
outlineOnClone: d
|
|
2914
2914
|
},
|
|
2915
2915
|
spec: {
|
|
2916
2916
|
mode: b,
|
|
@@ -2927,9 +2927,9 @@ function ur({
|
|
|
2927
2927
|
t: performance.now()
|
|
2928
2928
|
};
|
|
2929
2929
|
}), /* @__PURE__ */ r(
|
|
2930
|
-
|
|
2930
|
+
z.div,
|
|
2931
2931
|
{
|
|
2932
|
-
ref:
|
|
2932
|
+
ref: c,
|
|
2933
2933
|
"data-testid": "gloss-drag-ghost",
|
|
2934
2934
|
"data-tint": e,
|
|
2935
2935
|
"aria-hidden": "true",
|
|
@@ -2938,12 +2938,12 @@ function ur({
|
|
|
2938
2938
|
`gloss-drag-ghost--tint-${e}`,
|
|
2939
2939
|
m
|
|
2940
2940
|
].filter(Boolean).join(" "),
|
|
2941
|
-
style: { x: i, y: o, width:
|
|
2941
|
+
style: { x: i, y: o, width: u, height: a },
|
|
2942
2942
|
children: l
|
|
2943
2943
|
}
|
|
2944
2944
|
);
|
|
2945
2945
|
}
|
|
2946
|
-
const
|
|
2946
|
+
const ia = 3;
|
|
2947
2947
|
function We({
|
|
2948
2948
|
gesture: e,
|
|
2949
2949
|
cell: t,
|
|
@@ -2954,9 +2954,9 @@ function We({
|
|
|
2954
2954
|
pattern: o = "solid",
|
|
2955
2955
|
transitionMs: l = 120,
|
|
2956
2956
|
className: m,
|
|
2957
|
-
motionWidth:
|
|
2957
|
+
motionWidth: u
|
|
2958
2958
|
}) {
|
|
2959
|
-
const
|
|
2959
|
+
const c = n * a + (n - 1) * s, d = (t.section * ia + t.col) * (a + s), p = t.row * (i + s), w = e === "resize" ? 2.5 : 2, k = o === "dashed-retreated" ? "dashed" : "solid", f = e === "drag" ? "gloss-snap-outline" : "gloss-tracking-outline", b = {
|
|
2960
2960
|
className: [
|
|
2961
2961
|
"gloss-tracking-outline",
|
|
2962
2962
|
`gloss-tracking-outline--${e}`,
|
|
@@ -2972,13 +2972,13 @@ function We({
|
|
|
2972
2972
|
"data-pattern": o,
|
|
2973
2973
|
"aria-hidden": "true"
|
|
2974
2974
|
};
|
|
2975
|
-
return
|
|
2976
|
-
|
|
2975
|
+
return u ? /* @__PURE__ */ r(
|
|
2976
|
+
z.div,
|
|
2977
2977
|
{
|
|
2978
2978
|
...b,
|
|
2979
2979
|
style: {
|
|
2980
|
-
transform: `translate(${
|
|
2981
|
-
width:
|
|
2980
|
+
transform: `translate(${d}px, ${p}px)`,
|
|
2981
|
+
width: u,
|
|
2982
2982
|
height: i,
|
|
2983
2983
|
borderWidth: w,
|
|
2984
2984
|
borderStyle: k
|
|
@@ -2989,8 +2989,8 @@ function We({
|
|
|
2989
2989
|
{
|
|
2990
2990
|
...b,
|
|
2991
2991
|
style: {
|
|
2992
|
-
transform: `translate(${
|
|
2993
|
-
width:
|
|
2992
|
+
transform: `translate(${d}px, ${p}px)`,
|
|
2993
|
+
width: c,
|
|
2994
2994
|
height: i,
|
|
2995
2995
|
borderWidth: w,
|
|
2996
2996
|
borderStyle: k,
|
|
@@ -2999,24 +2999,24 @@ function We({
|
|
|
2999
2999
|
}
|
|
3000
3000
|
);
|
|
3001
3001
|
}
|
|
3002
|
-
function
|
|
3002
|
+
function hr(e) {
|
|
3003
3003
|
return /* @__PURE__ */ r(We, { gesture: "drag", pattern: "solid", ...e });
|
|
3004
3004
|
}
|
|
3005
|
-
function
|
|
3005
|
+
function fr({
|
|
3006
3006
|
items: e,
|
|
3007
3007
|
children: t,
|
|
3008
3008
|
className: n,
|
|
3009
3009
|
debugMagenta: a
|
|
3010
3010
|
}) {
|
|
3011
|
-
const s = process.env.NODE_ENV !== "production" && (a || typeof window < "u" && window.__GLOSS_CASCADE_PREVIEW_DEBUG__ === !0), i =
|
|
3011
|
+
const s = process.env.NODE_ENV !== "production" && (a || typeof window < "u" && window.__GLOSS_CASCADE_PREVIEW_DEBUG__ === !0), i = K.useRef(e);
|
|
3012
3012
|
return i.current = e, de("cascade-preview", () => {
|
|
3013
3013
|
if (process.env.NODE_ENV === "production")
|
|
3014
3014
|
return { values: {}, spec: null, state: "idle", t: performance.now() };
|
|
3015
3015
|
const o = i.current;
|
|
3016
|
-
let l = 0, m = 0,
|
|
3016
|
+
let l = 0, m = 0, u = 0, c = 0;
|
|
3017
3017
|
for (const h of o) {
|
|
3018
|
-
const
|
|
3019
|
-
Math.abs(
|
|
3018
|
+
const d = h.x.get(), p = h.y.get();
|
|
3019
|
+
Math.abs(d) > Math.abs(u) && (u = d, l = d), Math.abs(p) > Math.abs(c) && (c = p, m = p);
|
|
3020
3020
|
}
|
|
3021
3021
|
return {
|
|
3022
3022
|
values: {
|
|
@@ -3035,7 +3035,7 @@ function pr({
|
|
|
3035
3035
|
t: performance.now()
|
|
3036
3036
|
};
|
|
3037
3037
|
}), e.length === 0 ? null : /* @__PURE__ */ r($, { children: e.map((o) => /* @__PURE__ */ r(
|
|
3038
|
-
|
|
3038
|
+
z.div,
|
|
3039
3039
|
{
|
|
3040
3040
|
"data-card-id": o.cardId,
|
|
3041
3041
|
"data-testid": "gloss-cascade-preview-item",
|
|
@@ -3056,17 +3056,17 @@ function pr({
|
|
|
3056
3056
|
o.cardId
|
|
3057
3057
|
)) });
|
|
3058
3058
|
}
|
|
3059
|
-
const
|
|
3059
|
+
const oa = ({
|
|
3060
3060
|
consumed: e,
|
|
3061
3061
|
elapsed: t,
|
|
3062
3062
|
severity: n = "neutral"
|
|
3063
3063
|
}) => {
|
|
3064
3064
|
const a = P(null), s = P(null);
|
|
3065
3065
|
A(() => {
|
|
3066
|
-
const l = Math.min(100, Math.max(0, e.value)), m = Math.min(100, Math.max(0, t.value)),
|
|
3066
|
+
const l = Math.min(100, Math.max(0, e.value)), m = Math.min(100, Math.max(0, t.value)), u = requestAnimationFrame(() => {
|
|
3067
3067
|
a.current && (a.current.style.width = `${l}%`), s.current && (s.current.style.width = `${m}%`);
|
|
3068
3068
|
});
|
|
3069
|
-
return () => cancelAnimationFrame(
|
|
3069
|
+
return () => cancelAnimationFrame(u);
|
|
3070
3070
|
}, [e.value, t.value]);
|
|
3071
3071
|
const i = e.label ?? "ACTUAL", o = t.label ?? "ELAPSED";
|
|
3072
3072
|
return /* @__PURE__ */ y(
|
|
@@ -3119,7 +3119,7 @@ const ia = ({
|
|
|
3119
3119
|
]
|
|
3120
3120
|
}
|
|
3121
3121
|
);
|
|
3122
|
-
},
|
|
3122
|
+
}, la = ({ label: e, value: t, severity: n }) => /* @__PURE__ */ y(
|
|
3123
3123
|
"div",
|
|
3124
3124
|
{
|
|
3125
3125
|
className: `gloss-gap-readout gloss-gap-readout--${n}`,
|
|
@@ -3132,7 +3132,7 @@ const ia = ({
|
|
|
3132
3132
|
] })
|
|
3133
3133
|
]
|
|
3134
3134
|
}
|
|
3135
|
-
),
|
|
3135
|
+
), ca = ({ label: e, onSetTarget: t }) => /* @__PURE__ */ y("div", { className: "gloss-pace-placeholder", children: [
|
|
3136
3136
|
/* @__PURE__ */ r("p", { className: "gloss-pace-placeholder__heading", children: "Set a target" }),
|
|
3137
3137
|
/* @__PURE__ */ y("p", { className: "gloss-pace-placeholder__context", children: [
|
|
3138
3138
|
"for ",
|
|
@@ -3148,9 +3148,9 @@ const ia = ({
|
|
|
3148
3148
|
children: "Set target"
|
|
3149
3149
|
}
|
|
3150
3150
|
)
|
|
3151
|
-
] }),
|
|
3151
|
+
] }), br = (e) => {
|
|
3152
3152
|
const [t, n] = I(!1), a = e.target?.value, s = a !== void 0, i = e.paceGapUnit === "usd" ? "$" : "%", o = /* @__PURE__ */ r(
|
|
3153
|
-
|
|
3153
|
+
ht,
|
|
3154
3154
|
{
|
|
3155
3155
|
label: `Set a target for ${e.label}`,
|
|
3156
3156
|
unit: i,
|
|
@@ -3177,16 +3177,16 @@ const ia = ({
|
|
|
3177
3177
|
e.subtitle && /* @__PURE__ */ r("div", { className: "gloss-pace-card__subtitle", children: e.subtitle }),
|
|
3178
3178
|
/* @__PURE__ */ r("div", { className: "gloss-pace-card__body", children: s ? /* @__PURE__ */ y($, { children: [
|
|
3179
3179
|
/* @__PURE__ */ r(
|
|
3180
|
-
|
|
3180
|
+
oa,
|
|
3181
3181
|
{
|
|
3182
3182
|
consumed: e.consumed,
|
|
3183
3183
|
elapsed: e.elapsed,
|
|
3184
3184
|
severity: e.severity
|
|
3185
3185
|
}
|
|
3186
3186
|
),
|
|
3187
|
-
/* @__PURE__ */ r(
|
|
3187
|
+
/* @__PURE__ */ r(la, { label: "Gap", value: e.gapLabel, severity: e.severity })
|
|
3188
3188
|
] }) : /* @__PURE__ */ r(
|
|
3189
|
-
|
|
3189
|
+
ca,
|
|
3190
3190
|
{
|
|
3191
3191
|
label: e.label,
|
|
3192
3192
|
onSetTarget: () => n(!0)
|
|
@@ -3195,7 +3195,7 @@ const ia = ({
|
|
|
3195
3195
|
] })
|
|
3196
3196
|
}
|
|
3197
3197
|
);
|
|
3198
|
-
},
|
|
3198
|
+
}, vr = () => /* @__PURE__ */ y("div", { className: "gloss-pace-tile-preview", "aria-hidden": "true", children: [
|
|
3199
3199
|
/* @__PURE__ */ r(
|
|
3200
3200
|
"div",
|
|
3201
3201
|
{
|
|
@@ -3212,7 +3212,7 @@ const ia = ({
|
|
|
3212
3212
|
),
|
|
3213
3213
|
/* @__PURE__ */ r("div", { className: "gloss-pace-tile-preview__gap-strip" })
|
|
3214
3214
|
] });
|
|
3215
|
-
function
|
|
3215
|
+
function da({ id: e, label: t, selected: n, focused: a, disabled: s, badge: i, onClick: o }) {
|
|
3216
3216
|
return /* @__PURE__ */ r(
|
|
3217
3217
|
"span",
|
|
3218
3218
|
{
|
|
@@ -3233,7 +3233,7 @@ function ca({ id: e, label: t, selected: n, focused: a, disabled: s, badge: i, o
|
|
|
3233
3233
|
}
|
|
3234
3234
|
);
|
|
3235
3235
|
}
|
|
3236
|
-
function
|
|
3236
|
+
function ua({
|
|
3237
3237
|
lenses: e,
|
|
3238
3238
|
value: t,
|
|
3239
3239
|
onChange: n,
|
|
@@ -3277,7 +3277,7 @@ function da({
|
|
|
3277
3277
|
},
|
|
3278
3278
|
className: "gloss-lens-chip-group",
|
|
3279
3279
|
children: e.map((l, m) => /* @__PURE__ */ r(
|
|
3280
|
-
|
|
3280
|
+
da,
|
|
3281
3281
|
{
|
|
3282
3282
|
id: l.id,
|
|
3283
3283
|
label: l.label,
|
|
@@ -3292,15 +3292,15 @@ function da({
|
|
|
3292
3292
|
}
|
|
3293
3293
|
);
|
|
3294
3294
|
}
|
|
3295
|
-
|
|
3296
|
-
function
|
|
3295
|
+
ua.displayName = "LensChipGroup";
|
|
3296
|
+
function ma({ heading: e, children: t }) {
|
|
3297
3297
|
return !t || Array.isArray(t) && t.length === 0 ? null : /* @__PURE__ */ y("section", { className: "gloss-starter-rail", "aria-label": e, children: [
|
|
3298
3298
|
/* @__PURE__ */ r("header", { className: "gloss-starter-rail__heading", children: e }),
|
|
3299
3299
|
/* @__PURE__ */ r("div", { className: "gloss-starter-rail__tiles", children: t })
|
|
3300
3300
|
] });
|
|
3301
3301
|
}
|
|
3302
|
-
|
|
3303
|
-
function
|
|
3302
|
+
ma.displayName = "StarterRail";
|
|
3303
|
+
function pa({ heading: e, children: t, emptyStateLabel: n }) {
|
|
3304
3304
|
const a = !t || Array.isArray(t) && t.length === 0;
|
|
3305
3305
|
return /* @__PURE__ */ y("section", { className: "gloss-more-in-lens-rail", "aria-label": e, children: [
|
|
3306
3306
|
/* @__PURE__ */ r("header", { className: "gloss-more-in-lens-rail__heading", children: e }),
|
|
@@ -3310,8 +3310,8 @@ function ma({ heading: e, children: t, emptyStateLabel: n }) {
|
|
|
3310
3310
|
] })
|
|
3311
3311
|
] });
|
|
3312
3312
|
}
|
|
3313
|
-
|
|
3314
|
-
function
|
|
3313
|
+
pa.displayName = "MoreInLensRail";
|
|
3314
|
+
function G({
|
|
3315
3315
|
lead: e,
|
|
3316
3316
|
name: t,
|
|
3317
3317
|
secondary: n,
|
|
@@ -3322,19 +3322,19 @@ function K({
|
|
|
3322
3322
|
className: l,
|
|
3323
3323
|
style: m
|
|
3324
3324
|
}) {
|
|
3325
|
-
const
|
|
3325
|
+
const u = [
|
|
3326
3326
|
"gloss-entity-row",
|
|
3327
3327
|
`gloss-entity-row--${i}`,
|
|
3328
3328
|
o ? "gloss-entity-row--clickable" : "",
|
|
3329
3329
|
l ?? ""
|
|
3330
|
-
].filter(Boolean).join(" "),
|
|
3330
|
+
].filter(Boolean).join(" "), c = /* @__PURE__ */ y($, { children: [
|
|
3331
3331
|
e !== void 0 && /* @__PURE__ */ r("span", { className: "gloss-entity-row__lead", children: e }),
|
|
3332
3332
|
/* @__PURE__ */ r("span", { className: "gloss-entity-row__name", title: t, children: t }),
|
|
3333
3333
|
n !== void 0 && /* @__PURE__ */ r("span", { className: "gloss-entity-row__secondary", children: n }),
|
|
3334
3334
|
/* @__PURE__ */ r("span", { className: "gloss-entity-row__value", children: a }),
|
|
3335
3335
|
s !== void 0 && /* @__PURE__ */ r("span", { className: "gloss-entity-row__trail", children: s })
|
|
3336
3336
|
] });
|
|
3337
|
-
return o ? /* @__PURE__ */ r("div", { role: "listitem", className:
|
|
3337
|
+
return o ? /* @__PURE__ */ r("div", { role: "listitem", className: u, style: m, children: /* @__PURE__ */ r(
|
|
3338
3338
|
"button",
|
|
3339
3339
|
{
|
|
3340
3340
|
type: "button",
|
|
@@ -3349,11 +3349,11 @@ function K({
|
|
|
3349
3349
|
onClick: (h) => {
|
|
3350
3350
|
h.stopPropagation(), o();
|
|
3351
3351
|
},
|
|
3352
|
-
children:
|
|
3352
|
+
children: c
|
|
3353
3353
|
}
|
|
3354
|
-
) }) : /* @__PURE__ */ r("div", { role: "listitem", className:
|
|
3354
|
+
) }) : /* @__PURE__ */ r("div", { role: "listitem", className: u, style: m, children: c });
|
|
3355
3355
|
}
|
|
3356
|
-
|
|
3356
|
+
G.displayName = "EntityRow";
|
|
3357
3357
|
const ee = ({ rank: e }) => {
|
|
3358
3358
|
const t = e === 1 ? "first" : "other";
|
|
3359
3359
|
return /* @__PURE__ */ r(
|
|
@@ -3425,8 +3425,8 @@ function ae({ fill: e, variant: t = "default", className: n }) {
|
|
|
3425
3425
|
);
|
|
3426
3426
|
}
|
|
3427
3427
|
ae.displayName = "MagnitudeBar";
|
|
3428
|
-
const
|
|
3429
|
-
function
|
|
3428
|
+
const ga = (e) => e.rankDelta === "new" ? "New entry" : e.direction === "up" ? `Rank up ${e.rankDelta}` : e.direction === "down" ? `Rank down ${e.rankDelta}` : "Rank unchanged";
|
|
3429
|
+
function ha({
|
|
3430
3430
|
label: e,
|
|
3431
3431
|
rows: t,
|
|
3432
3432
|
rowCount: n,
|
|
@@ -3449,7 +3449,7 @@ function ga({
|
|
|
3449
3449
|
className: `gloss-metric-card__zone-b gloss-leaderboard ${s ? "gloss-metric-data-stale" : ""}`,
|
|
3450
3450
|
style: { flex: 1, zIndex: 2, position: "relative", minHeight: 0 },
|
|
3451
3451
|
children: /* @__PURE__ */ r("div", { className: "gloss-leaderboard__rows", role: "list", children: t.slice(0, i).map((o, l) => /* @__PURE__ */ r(
|
|
3452
|
-
|
|
3452
|
+
G,
|
|
3453
3453
|
{
|
|
3454
3454
|
lead: /* @__PURE__ */ r(ee, { rank: l + 1 }),
|
|
3455
3455
|
name: o.name,
|
|
@@ -3466,7 +3466,7 @@ function ga({
|
|
|
3466
3466
|
{
|
|
3467
3467
|
delta: o.rankDelta,
|
|
3468
3468
|
direction: o.direction,
|
|
3469
|
-
"aria-label":
|
|
3469
|
+
"aria-label": ga(o)
|
|
3470
3470
|
}
|
|
3471
3471
|
),
|
|
3472
3472
|
variant: "leaderboard",
|
|
@@ -3482,22 +3482,22 @@ function ga({
|
|
|
3482
3482
|
] })
|
|
3483
3483
|
] });
|
|
3484
3484
|
}
|
|
3485
|
-
|
|
3486
|
-
const
|
|
3485
|
+
ha.displayName = "LeaderboardCard";
|
|
3486
|
+
const fa = () => /* @__PURE__ */ y(
|
|
3487
3487
|
"div",
|
|
3488
3488
|
{
|
|
3489
3489
|
className: "leaderboard-tile-preview",
|
|
3490
3490
|
"aria-hidden": "true",
|
|
3491
3491
|
style: { transform: "scale(0.6)", transformOrigin: "top left" },
|
|
3492
3492
|
children: [
|
|
3493
|
-
/* @__PURE__ */ r(
|
|
3494
|
-
/* @__PURE__ */ r(
|
|
3495
|
-
/* @__PURE__ */ r(
|
|
3493
|
+
/* @__PURE__ */ r(G, { lead: /* @__PURE__ */ r(ee, { rank: 1 }), name: "Vendor A", secondary: /* @__PURE__ */ r(ae, { fill: 96 }), value: "98%" }),
|
|
3494
|
+
/* @__PURE__ */ r(G, { lead: /* @__PURE__ */ r(ee, { rank: 2 }), name: "Vendor B", secondary: /* @__PURE__ */ r(ae, { fill: 72 }), value: "85%" }),
|
|
3495
|
+
/* @__PURE__ */ r(G, { lead: /* @__PURE__ */ r(ee, { rank: 3 }), name: "Vendor C", secondary: /* @__PURE__ */ r(ae, { fill: 48 }), value: "71%" })
|
|
3496
3496
|
]
|
|
3497
3497
|
}
|
|
3498
3498
|
);
|
|
3499
|
-
|
|
3500
|
-
const
|
|
3499
|
+
fa.displayName = "LeaderboardTilePreview";
|
|
3500
|
+
const ba = (e) => e === "critical" ? "Critical severity" : e === "warn" ? "Warning severity" : "Info severity", va = (e, t) => {
|
|
3501
3501
|
const n = e.sourceValue;
|
|
3502
3502
|
if (typeof n != "number") return !1;
|
|
3503
3503
|
switch (t.condition) {
|
|
@@ -3515,7 +3515,7 @@ const fa = (e) => e === "critical" ? "Critical severity" : e === "warn" ? "Warni
|
|
|
3515
3515
|
return !1;
|
|
3516
3516
|
}
|
|
3517
3517
|
};
|
|
3518
|
-
function
|
|
3518
|
+
function ya({
|
|
3519
3519
|
label: e,
|
|
3520
3520
|
rows: t,
|
|
3521
3521
|
rule: n,
|
|
@@ -3524,7 +3524,7 @@ function va({
|
|
|
3524
3524
|
ruleSubtitle: i,
|
|
3525
3525
|
isStale: o
|
|
3526
3526
|
}) {
|
|
3527
|
-
const l = t.filter((
|
|
3527
|
+
const l = t.filter((u) => va(u, n)), m = l.slice(0, a ?? 3);
|
|
3528
3528
|
return l.length === 0 ? /* @__PURE__ */ y($, { children: [
|
|
3529
3529
|
/* @__PURE__ */ r(
|
|
3530
3530
|
X,
|
|
@@ -3550,24 +3550,24 @@ function va({
|
|
|
3550
3550
|
{
|
|
3551
3551
|
className: `gloss-metric-card__zone-b gloss-exception-list ${o ? "gloss-metric-data-stale" : ""}`,
|
|
3552
3552
|
style: { flex: 1, zIndex: 2, position: "relative", minHeight: 0 },
|
|
3553
|
-
children: /* @__PURE__ */ r("div", { className: "gloss-exception-list__rows", role: "list", children: m.map((
|
|
3554
|
-
|
|
3553
|
+
children: /* @__PURE__ */ r("div", { className: "gloss-exception-list__rows", role: "list", children: m.map((u, c) => /* @__PURE__ */ r(
|
|
3554
|
+
G,
|
|
3555
3555
|
{
|
|
3556
|
-
lead: /* @__PURE__ */ r(te, { severity:
|
|
3557
|
-
name:
|
|
3558
|
-
value:
|
|
3556
|
+
lead: /* @__PURE__ */ r(te, { severity: u.severity, "aria-label": ba(u.severity) }),
|
|
3557
|
+
name: u.name,
|
|
3558
|
+
value: u.value,
|
|
3559
3559
|
variant: "exception",
|
|
3560
|
-
style: { "--i":
|
|
3560
|
+
style: { "--i": c }
|
|
3561
3561
|
},
|
|
3562
|
-
|
|
3562
|
+
u.id
|
|
3563
3563
|
)) })
|
|
3564
3564
|
}
|
|
3565
3565
|
),
|
|
3566
3566
|
i && /* @__PURE__ */ r("div", { className: "gloss-exception-list__zone-c", children: i })
|
|
3567
3567
|
] });
|
|
3568
3568
|
}
|
|
3569
|
-
|
|
3570
|
-
const
|
|
3569
|
+
ya.displayName = "ExceptionListCard";
|
|
3570
|
+
const wa = () => /* @__PURE__ */ y(
|
|
3571
3571
|
"div",
|
|
3572
3572
|
{
|
|
3573
3573
|
className: "exception-list-tile-preview",
|
|
@@ -3575,7 +3575,7 @@ const ya = () => /* @__PURE__ */ y(
|
|
|
3575
3575
|
style: { transform: "scale(0.6)", transformOrigin: "top left" },
|
|
3576
3576
|
children: [
|
|
3577
3577
|
/* @__PURE__ */ r(
|
|
3578
|
-
|
|
3578
|
+
G,
|
|
3579
3579
|
{
|
|
3580
3580
|
lead: /* @__PURE__ */ r(te, { severity: "critical", "aria-label": "Critical severity" }),
|
|
3581
3581
|
name: "SKU A",
|
|
@@ -3583,7 +3583,7 @@ const ya = () => /* @__PURE__ */ y(
|
|
|
3583
3583
|
}
|
|
3584
3584
|
),
|
|
3585
3585
|
/* @__PURE__ */ r(
|
|
3586
|
-
|
|
3586
|
+
G,
|
|
3587
3587
|
{
|
|
3588
3588
|
lead: /* @__PURE__ */ r(te, { severity: "warn", "aria-label": "Warning severity" }),
|
|
3589
3589
|
name: "SKU B",
|
|
@@ -3591,7 +3591,7 @@ const ya = () => /* @__PURE__ */ y(
|
|
|
3591
3591
|
}
|
|
3592
3592
|
),
|
|
3593
3593
|
/* @__PURE__ */ r(
|
|
3594
|
-
|
|
3594
|
+
G,
|
|
3595
3595
|
{
|
|
3596
3596
|
lead: /* @__PURE__ */ r(te, { severity: "info", "aria-label": "Info severity" }),
|
|
3597
3597
|
name: "SKU C",
|
|
@@ -3601,14 +3601,14 @@ const ya = () => /* @__PURE__ */ y(
|
|
|
3601
3601
|
]
|
|
3602
3602
|
}
|
|
3603
3603
|
);
|
|
3604
|
-
|
|
3604
|
+
wa.displayName = "ExceptionListTilePreview";
|
|
3605
3605
|
const xe = ["MTD", "QTD", "YTD", "LYTD", "7D"], Re = ["$248K", "$612K", "$1.24M", "$980K", "$54K"], Te = [
|
|
3606
3606
|
"M0,7 L10,5 L20,6 L30,3 L40,2",
|
|
3607
3607
|
"M0,6 L10,4 L20,5 L30,2 L40,1",
|
|
3608
3608
|
"M0,8 L10,7 L20,5 L30,4 L40,2",
|
|
3609
3609
|
"M0,5 L10,6 L20,3 L30,4 L40,1",
|
|
3610
3610
|
"M0,7 L10,4 L20,5 L30,3 L40,2"
|
|
3611
|
-
],
|
|
3611
|
+
], _a = ({
|
|
3612
3612
|
slotCount: e = 3,
|
|
3613
3613
|
labels: t = xe,
|
|
3614
3614
|
sampleValues: n = Re
|
|
@@ -3642,8 +3642,8 @@ const xe = ["MTD", "QTD", "YTD", "LYTD", "7D"], Re = ["$248K", "$612K", "$1.24M"
|
|
|
3642
3642
|
}
|
|
3643
3643
|
);
|
|
3644
3644
|
};
|
|
3645
|
-
|
|
3646
|
-
const
|
|
3645
|
+
_a.displayName = "StackedGroupTilePreview";
|
|
3646
|
+
const yr = {
|
|
3647
3647
|
/** GEV-01 — Eligibility tint. Contiguous-from-source paint; blocked by first occupied cell (Principle 4). */
|
|
3648
3648
|
eligibilityTint: { applicableStates: ["arming", "active"] },
|
|
3649
3649
|
/** GEV-01 — Commit tint. Fill+stroke emphasis on the commit-target cell footprint (G-02). */
|
|
@@ -3685,8 +3685,8 @@ const fr = {
|
|
|
3685
3685
|
rejectionFill: "var(--gloss-g02-rejection-fill)",
|
|
3686
3686
|
rejectionStroke: "var(--gloss-g02-rejection-stroke)",
|
|
3687
3687
|
trackingOutline: "var(--gloss-g02-tracking-outline)"
|
|
3688
|
-
},
|
|
3689
|
-
function
|
|
3688
|
+
}, wr = "dashed", _r = "solid", Cr = "sparse-dash", Nr = "2px no-fill", Sr = "6 4", kr = "10 6", Ca = 3;
|
|
3689
|
+
function Dr({
|
|
3690
3690
|
cell: e,
|
|
3691
3691
|
variant: t,
|
|
3692
3692
|
rampColor: n,
|
|
@@ -3695,10 +3695,10 @@ function Nr({
|
|
|
3695
3695
|
gap: i,
|
|
3696
3696
|
className: o
|
|
3697
3697
|
}) {
|
|
3698
|
-
const m = (e.section *
|
|
3698
|
+
const m = (e.section * Ca + e.col) * (a + i), u = e.row * (s + i), c = t === "eligibility" ? j.eligibilityFill : t === "commit" ? j.commitFill : t === "rejection" ? j.rejectionFill : (
|
|
3699
3699
|
/* ramp */
|
|
3700
3700
|
n ?? j.eligibilityFill
|
|
3701
|
-
), h = t === "rejection",
|
|
3701
|
+
), h = t === "rejection", d = h ? j.rejectionStroke : "transparent", p = h ? "dashed" : "solid";
|
|
3702
3702
|
return /* @__PURE__ */ r(
|
|
3703
3703
|
"div",
|
|
3704
3704
|
{
|
|
@@ -3711,25 +3711,25 @@ function Nr({
|
|
|
3711
3711
|
"data-variant": t,
|
|
3712
3712
|
"aria-hidden": "true",
|
|
3713
3713
|
style: {
|
|
3714
|
-
transform: `translate(${m}px, ${
|
|
3714
|
+
transform: `translate(${m}px, ${u}px)`,
|
|
3715
3715
|
width: a,
|
|
3716
3716
|
height: s,
|
|
3717
3717
|
// Use background-color longhand (NOT background shorthand) so jsdom + DOM
|
|
3718
3718
|
// both preserve `var(...)` in inline cssText. The shorthand getter strips
|
|
3719
3719
|
// unknown values and breaks both unit-test introspection and styling.
|
|
3720
|
-
backgroundColor:
|
|
3721
|
-
borderColor:
|
|
3720
|
+
backgroundColor: c,
|
|
3721
|
+
borderColor: d,
|
|
3722
3722
|
borderStyle: p
|
|
3723
3723
|
}
|
|
3724
3724
|
}
|
|
3725
3725
|
);
|
|
3726
3726
|
}
|
|
3727
|
-
const
|
|
3727
|
+
const Na = 3, Sa = [
|
|
3728
3728
|
{ idx: 0, peakR: 22, peakOpacity: 0.45, strokeW: 1.5 },
|
|
3729
3729
|
{ idx: 1, peakR: 34, peakOpacity: 0.22, strokeW: 1 },
|
|
3730
3730
|
{ idx: 2, peakR: 46, peakOpacity: 0.1, strokeW: 0.8 }
|
|
3731
3731
|
];
|
|
3732
|
-
function
|
|
3732
|
+
function xr({
|
|
3733
3733
|
cell: e,
|
|
3734
3734
|
fireKey: t,
|
|
3735
3735
|
colWidth: n,
|
|
@@ -3737,7 +3737,7 @@ function Sr({
|
|
|
3737
3737
|
gap: s,
|
|
3738
3738
|
className: i
|
|
3739
3739
|
}) {
|
|
3740
|
-
const l = (e.section *
|
|
3740
|
+
const l = (e.section * Na + e.col) * (n + s) + n / 2, m = e.row * (a + s) + a / 2;
|
|
3741
3741
|
return He() === "reduced" ? /* @__PURE__ */ r(
|
|
3742
3742
|
"div",
|
|
3743
3743
|
{
|
|
@@ -3774,79 +3774,139 @@ function Sr({
|
|
|
3774
3774
|
top: 0,
|
|
3775
3775
|
pointerEvents: "none"
|
|
3776
3776
|
},
|
|
3777
|
-
children:
|
|
3778
|
-
const h =
|
|
3777
|
+
children: Sa.map((c) => {
|
|
3778
|
+
const h = c.peakR * 2;
|
|
3779
3779
|
return /* @__PURE__ */ r(
|
|
3780
3780
|
"div",
|
|
3781
3781
|
{
|
|
3782
|
-
className: `gloss-refuse-pulse__ring gloss-refuse-pulse__ring--${
|
|
3783
|
-
"data-ring-index":
|
|
3784
|
-
"data-peak-radius":
|
|
3785
|
-
"data-peak-opacity":
|
|
3782
|
+
className: `gloss-refuse-pulse__ring gloss-refuse-pulse__ring--${c.idx}`,
|
|
3783
|
+
"data-ring-index": c.idx,
|
|
3784
|
+
"data-peak-radius": c.peakR,
|
|
3785
|
+
"data-peak-opacity": c.peakOpacity,
|
|
3786
3786
|
style: {
|
|
3787
3787
|
position: "absolute",
|
|
3788
|
-
left: l -
|
|
3789
|
-
top: m -
|
|
3788
|
+
left: l - c.peakR,
|
|
3789
|
+
top: m - c.peakR,
|
|
3790
3790
|
width: h,
|
|
3791
3791
|
height: h,
|
|
3792
3792
|
borderRadius: "50%",
|
|
3793
3793
|
borderStyle: "solid",
|
|
3794
|
-
borderWidth:
|
|
3794
|
+
borderWidth: c.strokeW,
|
|
3795
3795
|
borderColor: j.rejectionStroke,
|
|
3796
3796
|
background: "transparent",
|
|
3797
3797
|
opacity: 0,
|
|
3798
3798
|
transform: "scale(0)",
|
|
3799
3799
|
// CSS custom property feeds the keyframe peak opacity.
|
|
3800
|
-
"--peak-opacity":
|
|
3801
|
-
animation: `gloss-refuse-pulse-ring-${
|
|
3800
|
+
"--peak-opacity": c.peakOpacity,
|
|
3801
|
+
animation: `gloss-refuse-pulse-ring-${c.idx} 360ms cubic-bezier(0.22, 1, 0.36, 1) forwards`
|
|
3802
3802
|
}
|
|
3803
3803
|
},
|
|
3804
|
-
|
|
3804
|
+
c.idx
|
|
3805
3805
|
);
|
|
3806
3806
|
})
|
|
3807
3807
|
},
|
|
3808
3808
|
t
|
|
3809
3809
|
);
|
|
3810
3810
|
}
|
|
3811
|
-
function
|
|
3811
|
+
function Rr(e) {
|
|
3812
3812
|
return /* @__PURE__ */ r(We, { gesture: "resize", ...e });
|
|
3813
3813
|
}
|
|
3814
|
-
|
|
3814
|
+
const ka = {
|
|
3815
|
+
threshold: "Threshold",
|
|
3816
|
+
timeframe: "Timeframe",
|
|
3817
|
+
slots: "Slots",
|
|
3818
|
+
color: "Color"
|
|
3819
|
+
};
|
|
3820
|
+
function Da({
|
|
3821
|
+
dimensions: e,
|
|
3822
|
+
activeTab: t,
|
|
3823
|
+
onSelect: n,
|
|
3824
|
+
reduced: a,
|
|
3825
|
+
labels: s,
|
|
3826
|
+
ariaLabel: i = "Settings dimensions"
|
|
3827
|
+
}) {
|
|
3828
|
+
const o = it(), l = a ?? o;
|
|
3829
|
+
if (e.length < 2) return null;
|
|
3830
|
+
const m = (c) => s?.[c] ?? ka[c], u = (c, h) => {
|
|
3831
|
+
c.key === "ArrowRight" ? (c.preventDefault(), n(e[(h + 1) % e.length])) : c.key === "ArrowLeft" ? (c.preventDefault(), n(e[(h - 1 + e.length) % e.length])) : c.key === "Home" ? (c.preventDefault(), n(e[0])) : c.key === "End" && (c.preventDefault(), n(e[e.length - 1]));
|
|
3832
|
+
};
|
|
3833
|
+
return /* @__PURE__ */ r(
|
|
3834
|
+
"div",
|
|
3835
|
+
{
|
|
3836
|
+
role: "tablist",
|
|
3837
|
+
"aria-label": i,
|
|
3838
|
+
className: "settings-tab-strip",
|
|
3839
|
+
children: e.map((c, h) => {
|
|
3840
|
+
const d = t === c;
|
|
3841
|
+
return /* @__PURE__ */ y(
|
|
3842
|
+
"button",
|
|
3843
|
+
{
|
|
3844
|
+
role: "tab",
|
|
3845
|
+
type: "button",
|
|
3846
|
+
id: `settings-tab-${c}`,
|
|
3847
|
+
"aria-selected": d,
|
|
3848
|
+
"aria-controls": `settings-tabpanel-${c}`,
|
|
3849
|
+
tabIndex: d ? 0 : -1,
|
|
3850
|
+
className: `settings-tab-strip__tab${d ? " settings-tab-strip__tab--active" : ""}`,
|
|
3851
|
+
onClick: () => n(c),
|
|
3852
|
+
onKeyDown: (p) => u(p, h),
|
|
3853
|
+
children: [
|
|
3854
|
+
/* @__PURE__ */ r("span", { className: "settings-tab-strip__label", children: m(c) }),
|
|
3855
|
+
d && !l && /* @__PURE__ */ r(
|
|
3856
|
+
z.span,
|
|
3857
|
+
{
|
|
3858
|
+
layoutId: "settings-active-tab-indicator",
|
|
3859
|
+
"data-layout-id": "settings-active-tab-indicator",
|
|
3860
|
+
className: "settings-tab-strip__indicator",
|
|
3861
|
+
"aria-hidden": "true",
|
|
3862
|
+
transition: { type: "spring", stiffness: 380, damping: 30 }
|
|
3863
|
+
}
|
|
3864
|
+
)
|
|
3865
|
+
]
|
|
3866
|
+
},
|
|
3867
|
+
c
|
|
3868
|
+
);
|
|
3869
|
+
})
|
|
3870
|
+
}
|
|
3871
|
+
);
|
|
3872
|
+
}
|
|
3873
|
+
Da.displayName = "SettingsTabStrip";
|
|
3874
|
+
function xa(e, t, n) {
|
|
3815
3875
|
const a = Math.max(0, Math.min(1, n)), s = (h) => [
|
|
3816
3876
|
parseInt(h.slice(1, 3), 16),
|
|
3817
3877
|
parseInt(h.slice(3, 5), 16),
|
|
3818
3878
|
parseInt(h.slice(5, 7), 16)
|
|
3819
|
-
], [i, o, l] = s(e), [m,
|
|
3820
|
-
return `rgb(${Math.round(i + (m - i) * a)}, ${Math.round(o + (
|
|
3821
|
-
l + (
|
|
3879
|
+
], [i, o, l] = s(e), [m, u, c] = s(t);
|
|
3880
|
+
return `rgb(${Math.round(i + (m - i) * a)}, ${Math.round(o + (u - o) * a)}, ${Math.round(
|
|
3881
|
+
l + (c - l) * a
|
|
3822
3882
|
)})`;
|
|
3823
3883
|
}
|
|
3824
|
-
function
|
|
3884
|
+
function Ra(e) {
|
|
3825
3885
|
return e <= 1 ? 1 : e >= 3 ? 3 : 2;
|
|
3826
3886
|
}
|
|
3827
|
-
function
|
|
3887
|
+
function Ta(e) {
|
|
3828
3888
|
return e === "dragging";
|
|
3829
3889
|
}
|
|
3830
|
-
function
|
|
3831
|
-
const { edgeHover: t, sourceCell: n, cascadeResult: a } = e, i = He() === "reduced", o =
|
|
3832
|
-
if (i ? (
|
|
3890
|
+
function Tr(e) {
|
|
3891
|
+
const { edgeHover: t, sourceCell: n, cascadeResult: a } = e, i = He() === "reduced", o = K.useRef(t.currentColSpan), l = K.useRef({ armed: !0, fireKey: 0, lastResult: null }), m = K.useRef(t.currentColSpan), u = K.useRef("idle"), c = K.useRef(t.currentColSpan), h = Ta(t.state);
|
|
3892
|
+
if (i ? (u.current = "settled", c.current = t.currentColSpan, m.current = t.currentColSpan) : h ? u.current = t.currentColSpan !== m.current ? "incoming" : "outgoing" : (t.currentColSpan !== m.current && (c.current = t.currentColSpan, m.current = t.currentColSpan), u.current !== "idle" && (u.current = "settled")), !h)
|
|
3833
3893
|
return l.current.armed = !0, l.current.lastResult = null, {
|
|
3834
3894
|
trackingOutline: null,
|
|
3835
3895
|
cellTints: [],
|
|
3836
3896
|
refusePulse: null,
|
|
3837
3897
|
shrinkFreedCells: [],
|
|
3838
|
-
phase:
|
|
3839
|
-
displayColSpan:
|
|
3898
|
+
phase: u.current,
|
|
3899
|
+
displayColSpan: c.current
|
|
3840
3900
|
};
|
|
3841
|
-
const
|
|
3842
|
-
w || (o.current =
|
|
3843
|
-
const k = w ? o.current :
|
|
3901
|
+
const d = t.hysteresisTargetColSpan, p = t.previewColSpan, w = a?.result === "rejected";
|
|
3902
|
+
w || (o.current = d), w && l.current.armed && l.current.lastResult !== "rejected" && (l.current.fireKey += 1, l.current.armed = !1), l.current.lastResult = w ? "rejected" : "ok";
|
|
3903
|
+
const k = w ? o.current : d, f = {
|
|
3844
3904
|
cell: { section: 0, col: 0, row: 0 },
|
|
3845
3905
|
colSpan: k,
|
|
3846
3906
|
pattern: w ? "dashed-retreated" : "solid"
|
|
3847
3907
|
}, b = [];
|
|
3848
3908
|
if (w) {
|
|
3849
|
-
const S = n.col + o.current, T = n.col +
|
|
3909
|
+
const S = n.col + o.current, T = n.col + d - 1;
|
|
3850
3910
|
for (let g = S; g <= T && g <= 2; g++)
|
|
3851
3911
|
b.push({
|
|
3852
3912
|
cell: {
|
|
@@ -3857,24 +3917,24 @@ function Dr(e) {
|
|
|
3857
3917
|
variant: "rejection"
|
|
3858
3918
|
});
|
|
3859
3919
|
} else {
|
|
3860
|
-
const S = Math.abs(p -
|
|
3861
|
-
for (let g = n.col; g < n.col +
|
|
3920
|
+
const S = Math.abs(p - d), T = Math.max(0, Math.min(1, 1 - S));
|
|
3921
|
+
for (let g = n.col; g < n.col + d && g <= 2; g++) {
|
|
3862
3922
|
if (g === n.col) continue;
|
|
3863
|
-
const v = g === n.col +
|
|
3923
|
+
const v = g === n.col + d - 1, _ = {
|
|
3864
3924
|
section: 0,
|
|
3865
3925
|
col: g - n.col,
|
|
3866
3926
|
row: 0
|
|
3867
3927
|
};
|
|
3868
|
-
v && t.direction.startsWith("grow") &&
|
|
3928
|
+
v && t.direction.startsWith("grow") && d > 1 && !i && S > 0 && S < 1 ? b.push({
|
|
3869
3929
|
cell: _,
|
|
3870
3930
|
variant: "ramp",
|
|
3871
|
-
rampColor:
|
|
3931
|
+
rampColor: xa(Me.eligibilityFill, Me.commitFill, T)
|
|
3872
3932
|
}) : v ? b.push({ cell: _, variant: "commit" }) : b.push({ cell: _, variant: "eligibility" });
|
|
3873
3933
|
}
|
|
3874
3934
|
}
|
|
3875
3935
|
const x = [];
|
|
3876
|
-
if (t.currentColSpan >
|
|
3877
|
-
for (let S = n.col +
|
|
3936
|
+
if (t.currentColSpan > d)
|
|
3937
|
+
for (let S = n.col + d; S < n.col + t.currentColSpan && S <= 2; S++)
|
|
3878
3938
|
x.push({
|
|
3879
3939
|
section: 0,
|
|
3880
3940
|
col: S - n.col,
|
|
@@ -3883,7 +3943,7 @@ function Dr(e) {
|
|
|
3883
3943
|
const C = l.current.fireKey > 0 ? {
|
|
3884
3944
|
cell: {
|
|
3885
3945
|
section: 0,
|
|
3886
|
-
col:
|
|
3946
|
+
col: Ra(
|
|
3887
3947
|
Math.min(o.current, 2)
|
|
3888
3948
|
),
|
|
3889
3949
|
row: 0
|
|
@@ -3895,8 +3955,8 @@ function Dr(e) {
|
|
|
3895
3955
|
cellTints: b,
|
|
3896
3956
|
refusePulse: C,
|
|
3897
3957
|
shrinkFreedCells: x,
|
|
3898
|
-
phase:
|
|
3899
|
-
displayColSpan:
|
|
3958
|
+
phase: u.current,
|
|
3959
|
+
displayColSpan: c.current
|
|
3900
3960
|
};
|
|
3901
3961
|
}
|
|
3902
3962
|
const W = {
|
|
@@ -3907,7 +3967,7 @@ const W = {
|
|
|
3907
3967
|
"gloss-inline-nudge__btn--action": "_gloss-inline-nudge__btn--action_kdk88_88",
|
|
3908
3968
|
"gloss-inline-nudge__btn--dismiss": "_gloss-inline-nudge__btn--dismiss_kdk88_96"
|
|
3909
3969
|
};
|
|
3910
|
-
function
|
|
3970
|
+
function Ma({
|
|
3911
3971
|
message: e,
|
|
3912
3972
|
primaryAction: t,
|
|
3913
3973
|
onDismiss: n,
|
|
@@ -3923,12 +3983,12 @@ function xa({
|
|
|
3923
3983
|
"[InlineNudge] requires anchorEl or anchorSelector. AP-07: Do not mount InlineNudge in Layout/** or _app.tsx."
|
|
3924
3984
|
);
|
|
3925
3985
|
}, [a, s]), F.useLayoutEffect(() => {
|
|
3926
|
-
let
|
|
3927
|
-
if (a ?
|
|
3928
|
-
const
|
|
3986
|
+
let u = null;
|
|
3987
|
+
if (a ? u = a : s && (u = document.querySelector(s)), u) {
|
|
3988
|
+
const c = u.getBoundingClientRect();
|
|
3929
3989
|
o({
|
|
3930
|
-
top:
|
|
3931
|
-
left:
|
|
3990
|
+
top: c.bottom + window.scrollY + 6,
|
|
3991
|
+
left: c.left + window.scrollX
|
|
3932
3992
|
});
|
|
3933
3993
|
}
|
|
3934
3994
|
}, [a, s]);
|
|
@@ -3968,11 +4028,11 @@ function xa({
|
|
|
3968
4028
|
}
|
|
3969
4029
|
);
|
|
3970
4030
|
}
|
|
3971
|
-
|
|
4031
|
+
Ma.displayName = "InlineNudge";
|
|
3972
4032
|
function ge(e) {
|
|
3973
4033
|
return e.colorToken ? `var(--gloss-color-${e.colorToken}, ${e.color ?? "#888"})` : e.color ?? "#888";
|
|
3974
4034
|
}
|
|
3975
|
-
function
|
|
4035
|
+
function Pa(e, t, n) {
|
|
3976
4036
|
if (n <= t) {
|
|
3977
4037
|
const o = e[0], l = o ? ge(o) : "#888";
|
|
3978
4038
|
return `linear-gradient(to right, ${l}, ${l})`;
|
|
@@ -3983,10 +4043,10 @@ function Ra(e, t, n) {
|
|
|
3983
4043
|
});
|
|
3984
4044
|
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(", ")})`;
|
|
3985
4045
|
}
|
|
3986
|
-
function
|
|
4046
|
+
function Ia(e) {
|
|
3987
4047
|
return e.map((t) => `${t.id}:${t.value}`).join("|");
|
|
3988
4048
|
}
|
|
3989
|
-
function
|
|
4049
|
+
function Ea({
|
|
3990
4050
|
stops: e,
|
|
3991
4051
|
onChange: t,
|
|
3992
4052
|
min: n = 0,
|
|
@@ -3999,11 +4059,11 @@ function Ma({
|
|
|
3999
4059
|
), 0.01) : s, l = N(
|
|
4000
4060
|
(g) => Math.round(g / o) * o,
|
|
4001
4061
|
[o]
|
|
4002
|
-
), m = P(null), [
|
|
4062
|
+
), m = P(null), [u, c] = I(null), [h, d] = I(e), p = Ia(e), w = P(p);
|
|
4003
4063
|
A(() => {
|
|
4004
|
-
w.current !== p && (w.current = p, !
|
|
4005
|
-
}, [p, e,
|
|
4006
|
-
const k = re(() =>
|
|
4064
|
+
w.current !== p && (w.current = p, !u && d(e));
|
|
4065
|
+
}, [p, e, u]);
|
|
4066
|
+
const k = re(() => Pa(h, n, a), [h, n, a]), f = N(
|
|
4007
4067
|
(g) => {
|
|
4008
4068
|
if (!m.current) return n;
|
|
4009
4069
|
const v = m.current.getBoundingClientRect(), _ = v.width || 1, D = Math.max(0, Math.min(1, (g - v.left) / _)), M = n + D * (a - n);
|
|
@@ -4019,29 +4079,29 @@ function Ma({
|
|
|
4019
4079
|
const b = N(
|
|
4020
4080
|
(g, v) => {
|
|
4021
4081
|
const _ = h.find((D) => D.id === v);
|
|
4022
|
-
i || _?.disabled || (g.preventDefault(),
|
|
4082
|
+
i || _?.disabled || (g.preventDefault(), c(v));
|
|
4023
4083
|
},
|
|
4024
4084
|
[i, h]
|
|
4025
4085
|
), x = P(h);
|
|
4026
4086
|
x.current = h;
|
|
4027
4087
|
const C = P(t);
|
|
4028
4088
|
C.current = t, A(() => {
|
|
4029
|
-
if (!
|
|
4089
|
+
if (!u) return;
|
|
4030
4090
|
const g = (_) => {
|
|
4031
4091
|
const D = f(_.clientX);
|
|
4032
|
-
|
|
4033
|
-
(M) => M.map((R) => R.id ===
|
|
4092
|
+
d(
|
|
4093
|
+
(M) => M.map((R) => R.id === u ? { ...R, value: D } : R)
|
|
4034
4094
|
);
|
|
4035
4095
|
}, v = (_) => {
|
|
4036
4096
|
const D = f(_.clientX), M = x.current.map(
|
|
4037
|
-
(R) => R.id ===
|
|
4097
|
+
(R) => R.id === u ? { ...R, value: D } : R
|
|
4038
4098
|
);
|
|
4039
|
-
|
|
4099
|
+
d(M), c(null), C.current(M);
|
|
4040
4100
|
};
|
|
4041
4101
|
return window.addEventListener("pointermove", g), window.addEventListener("pointerup", v), window.addEventListener("pointercancel", v), () => {
|
|
4042
4102
|
window.removeEventListener("pointermove", g), window.removeEventListener("pointerup", v), window.removeEventListener("pointercancel", v);
|
|
4043
4103
|
};
|
|
4044
|
-
}, [
|
|
4104
|
+
}, [u, f]);
|
|
4045
4105
|
const S = a - n > 0 ? a - n : 1, T = N(
|
|
4046
4106
|
(g, v) => {
|
|
4047
4107
|
if (i || v.disabled) return;
|
|
@@ -4070,10 +4130,10 @@ function Ma({
|
|
|
4070
4130
|
g.preventDefault();
|
|
4071
4131
|
const R = Math.max(n, Math.min(a, M)), E = l(R);
|
|
4072
4132
|
if (E === v.value) return;
|
|
4073
|
-
const
|
|
4133
|
+
const O = h.map(
|
|
4074
4134
|
(Z) => Z.id === v.id ? { ...Z, value: E } : Z
|
|
4075
4135
|
);
|
|
4076
|
-
|
|
4136
|
+
d(O), t(O);
|
|
4077
4137
|
},
|
|
4078
4138
|
[i, n, a, h, t, l]
|
|
4079
4139
|
);
|
|
@@ -4094,7 +4154,7 @@ function Ma({
|
|
|
4094
4154
|
color: ge(g)
|
|
4095
4155
|
},
|
|
4096
4156
|
"data-disabled": g.disabled || void 0,
|
|
4097
|
-
"data-dragging":
|
|
4157
|
+
"data-dragging": u === g.id || void 0,
|
|
4098
4158
|
onPointerDown: (_) => b(_, g.id),
|
|
4099
4159
|
onKeyDown: (_) => T(_, g),
|
|
4100
4160
|
"aria-label": g.label ?? `Stop at ${g.value}`,
|
|
@@ -4111,8 +4171,8 @@ function Ma({
|
|
|
4111
4171
|
}
|
|
4112
4172
|
) });
|
|
4113
4173
|
}
|
|
4114
|
-
|
|
4115
|
-
function
|
|
4174
|
+
Ea.displayName = "ThresholdRamp";
|
|
4175
|
+
function Aa(e, t, n, a) {
|
|
4116
4176
|
switch (t) {
|
|
4117
4177
|
case "above-right":
|
|
4118
4178
|
return {
|
|
@@ -4145,53 +4205,53 @@ function Pa(e, t, n, a) {
|
|
|
4145
4205
|
};
|
|
4146
4206
|
}
|
|
4147
4207
|
}
|
|
4148
|
-
function
|
|
4208
|
+
function Fa(e) {
|
|
4149
4209
|
const { anchorRef: t, placement: n, gap: a = 8, offset: s, isOpen: i = !0 } = e, o = P({ x: s?.x ?? 0, y: s?.y ?? 0 });
|
|
4150
4210
|
o.current = { x: s?.x ?? 0, y: s?.y ?? 0 };
|
|
4151
4211
|
const [l, m] = I({});
|
|
4152
4212
|
return Ie(() => {
|
|
4153
4213
|
if (typeof window > "u" || !i) return;
|
|
4154
|
-
const
|
|
4155
|
-
if (!
|
|
4156
|
-
const
|
|
4157
|
-
const
|
|
4158
|
-
m(
|
|
4214
|
+
const u = t.current;
|
|
4215
|
+
if (!u) return;
|
|
4216
|
+
const c = () => {
|
|
4217
|
+
const d = u.getBoundingClientRect();
|
|
4218
|
+
m(Aa(d, n, a, o.current));
|
|
4159
4219
|
};
|
|
4160
|
-
|
|
4220
|
+
c();
|
|
4161
4221
|
let h = null;
|
|
4162
|
-
return typeof ResizeObserver < "u" && (h = new ResizeObserver(
|
|
4163
|
-
h?.disconnect(), window.removeEventListener("scroll",
|
|
4222
|
+
return typeof ResizeObserver < "u" && (h = new ResizeObserver(c), h.observe(u)), window.addEventListener("scroll", c, { capture: !0, passive: !0 }), window.addEventListener("resize", c, { passive: !0 }), () => {
|
|
4223
|
+
h?.disconnect(), window.removeEventListener("scroll", c, !0), window.removeEventListener("resize", c);
|
|
4164
4224
|
};
|
|
4165
4225
|
}, [t, n, a, i]), { style: l };
|
|
4166
4226
|
}
|
|
4167
|
-
const
|
|
4227
|
+
const La = {
|
|
4168
4228
|
position: "fixed",
|
|
4169
4229
|
zIndex: 9999
|
|
4170
4230
|
};
|
|
4171
|
-
function
|
|
4172
|
-
const { anchorRef: t, placement: n, gap: a, offset: s, dataHost: i, isOpen: o = !0, className: l, children: m } = e, { style:
|
|
4231
|
+
function Oa(e) {
|
|
4232
|
+
const { anchorRef: t, placement: n, gap: a, offset: s, dataHost: i, isOpen: o = !0, className: l, children: m } = e, { style: u } = Fa({ anchorRef: t, placement: n, gap: a, offset: s, isOpen: o });
|
|
4173
4233
|
return typeof window > "u" || typeof document > "u" || !o ? null : Ee(
|
|
4174
|
-
/* @__PURE__ */ r("div", { "data-portal-host": i, className: l, style: { ...
|
|
4234
|
+
/* @__PURE__ */ r("div", { "data-portal-host": i, className: l, style: { ...La, ...u }, children: m }),
|
|
4175
4235
|
document.body
|
|
4176
4236
|
);
|
|
4177
4237
|
}
|
|
4178
4238
|
const je = tt(null);
|
|
4179
|
-
function
|
|
4239
|
+
function $a() {
|
|
4180
4240
|
return at(je);
|
|
4181
4241
|
}
|
|
4182
|
-
function
|
|
4183
|
-
const t =
|
|
4242
|
+
function za({ option: e }) {
|
|
4243
|
+
const t = $a(), n = t?.isSelected(e.value) ?? !1, a = e.disabled || t?.groupDisabled, s = N(() => {
|
|
4184
4244
|
a || t?.select(e.value);
|
|
4185
4245
|
}, [a, t, e.value]), i = N(
|
|
4186
|
-
(
|
|
4187
|
-
a || t?.onKeyNav(
|
|
4246
|
+
(u) => {
|
|
4247
|
+
a || t?.onKeyNav(u, e.value);
|
|
4188
4248
|
},
|
|
4189
4249
|
[a, t, e.value]
|
|
4190
4250
|
), o = e.colorToken ? `var(--gloss-color-${e.colorToken}, ${e.color ?? "#888"})` : e.color ?? "#888", l = t?.firstFocusableValue === e.value, m = a ? -1 : l ? 0 : -1;
|
|
4191
4251
|
return /* @__PURE__ */ r(
|
|
4192
4252
|
"button",
|
|
4193
4253
|
{
|
|
4194
|
-
ref: (
|
|
4254
|
+
ref: (u) => t?.registerRef(e.value, u),
|
|
4195
4255
|
type: "button",
|
|
4196
4256
|
role: "radio",
|
|
4197
4257
|
"aria-checked": n,
|
|
@@ -4209,7 +4269,7 @@ function Oa({ option: e }) {
|
|
|
4209
4269
|
}
|
|
4210
4270
|
);
|
|
4211
4271
|
}
|
|
4212
|
-
function
|
|
4272
|
+
function Ba({
|
|
4213
4273
|
swatches: e,
|
|
4214
4274
|
value: t,
|
|
4215
4275
|
defaultValue: n,
|
|
@@ -4217,18 +4277,18 @@ function La({
|
|
|
4217
4277
|
disabled: s = !1,
|
|
4218
4278
|
name: i
|
|
4219
4279
|
}) {
|
|
4220
|
-
const o = t !== void 0, [l, m] = I(n),
|
|
4280
|
+
const o = t !== void 0, [l, m] = I(n), u = o ? t : l, c = N(
|
|
4221
4281
|
(C) => {
|
|
4222
4282
|
o || m(C), a?.(C);
|
|
4223
4283
|
},
|
|
4224
4284
|
[o, a]
|
|
4225
4285
|
), h = N(
|
|
4226
|
-
(C) =>
|
|
4227
|
-
[
|
|
4228
|
-
),
|
|
4229
|
-
S ?
|
|
4230
|
-
}, []), w = e.filter((C) => !C.disabled && !s), k = w.find((C) => C.value ===
|
|
4231
|
-
const S =
|
|
4286
|
+
(C) => u === C,
|
|
4287
|
+
[u]
|
|
4288
|
+
), d = P(/* @__PURE__ */ new Map()), p = N((C, S) => {
|
|
4289
|
+
S ? d.current.set(C, S) : d.current.delete(C);
|
|
4290
|
+
}, []), w = e.filter((C) => !C.disabled && !s), k = w.find((C) => C.value === u)?.value ?? w[0]?.value, f = N((C) => {
|
|
4291
|
+
const S = d.current.get(C);
|
|
4232
4292
|
S && S.focus();
|
|
4233
4293
|
}, []), b = N(
|
|
4234
4294
|
(C, S) => {
|
|
@@ -4255,19 +4315,19 @@ function La({
|
|
|
4255
4315
|
break;
|
|
4256
4316
|
case " ":
|
|
4257
4317
|
case "Enter":
|
|
4258
|
-
C.preventDefault(),
|
|
4318
|
+
C.preventDefault(), c(S);
|
|
4259
4319
|
return;
|
|
4260
4320
|
default:
|
|
4261
4321
|
return;
|
|
4262
4322
|
}
|
|
4263
4323
|
C.preventDefault();
|
|
4264
4324
|
const _ = T[v].value;
|
|
4265
|
-
f(_),
|
|
4325
|
+
f(_), c(_);
|
|
4266
4326
|
},
|
|
4267
|
-
[s, e,
|
|
4327
|
+
[s, e, c, f]
|
|
4268
4328
|
), x = {
|
|
4269
|
-
selectedValue:
|
|
4270
|
-
select:
|
|
4329
|
+
selectedValue: u,
|
|
4330
|
+
select: c,
|
|
4271
4331
|
isSelected: h,
|
|
4272
4332
|
groupDisabled: s,
|
|
4273
4333
|
name: i,
|
|
@@ -4283,11 +4343,11 @@ function La({
|
|
|
4283
4343
|
"aria-label": i,
|
|
4284
4344
|
"aria-disabled": s,
|
|
4285
4345
|
"data-disabled": s || void 0,
|
|
4286
|
-
children: e.map((C) => /* @__PURE__ */ r(
|
|
4346
|
+
children: e.map((C) => /* @__PURE__ */ r(za, { option: C }, C.value))
|
|
4287
4347
|
}
|
|
4288
4348
|
) });
|
|
4289
4349
|
}
|
|
4290
|
-
|
|
4350
|
+
Ba.displayName = "PresetSwatchRow";
|
|
4291
4351
|
function he(e, t) {
|
|
4292
4352
|
for (const n of e)
|
|
4293
4353
|
if (n.items.some((a) => a.id === t))
|
|
@@ -4298,31 +4358,31 @@ function Pe(e, t) {
|
|
|
4298
4358
|
const n = e.find((a) => a.zoneKey === t);
|
|
4299
4359
|
return n ? n.zoneKey : he(e, t);
|
|
4300
4360
|
}
|
|
4301
|
-
function
|
|
4361
|
+
function Ka(e, t, n) {
|
|
4302
4362
|
const a = [...e], [s] = a.splice(t, 1);
|
|
4303
4363
|
return a.splice(n, 0, s), a;
|
|
4304
4364
|
}
|
|
4305
|
-
function
|
|
4365
|
+
function Ga(e) {
|
|
4306
4366
|
return e.map((t) => `${t.zoneKey}:${t.items.map((n) => n.id).join(",")}`).join("|");
|
|
4307
4367
|
}
|
|
4308
|
-
function
|
|
4368
|
+
function Ha(e) {
|
|
4309
4369
|
const [t, n] = I(
|
|
4310
4370
|
() => e.zones.map((f) => f.maxItems !== void 0 && f.items.length > f.maxItems ? (process.env.NODE_ENV !== "production" && console.warn(
|
|
4311
4371
|
`useSortableZones: zone "${f.zoneKey}" exceeds maxItems (${f.items.length} > ${f.maxItems}); trimming to cap.`
|
|
4312
4372
|
), { ...f, items: f.items.slice(0, f.maxItems) }) : f)
|
|
4313
4373
|
), [a, s] = I(null), [i, o] = I(null), l = P(null), m = P(e.onZoneChange);
|
|
4314
4374
|
m.current = e.onZoneChange;
|
|
4315
|
-
const
|
|
4316
|
-
() =>
|
|
4375
|
+
const u = re(
|
|
4376
|
+
() => Ga(e.zones),
|
|
4317
4377
|
[e.zones]
|
|
4318
|
-
),
|
|
4378
|
+
), c = P(u);
|
|
4319
4379
|
A(() => {
|
|
4320
|
-
|
|
4380
|
+
c.current !== u && (c.current = u, !a && n(
|
|
4321
4381
|
e.zones.map((f) => f.maxItems !== void 0 && f.items.length > f.maxItems ? (process.env.NODE_ENV !== "production" && console.warn(
|
|
4322
4382
|
`useSortableZones: zone "${f.zoneKey}" exceeds maxItems (${f.items.length} > ${f.maxItems}); trimming to cap.`
|
|
4323
4383
|
), { ...f, items: f.items.slice(0, f.maxItems) }) : f)
|
|
4324
4384
|
));
|
|
4325
|
-
}, [
|
|
4385
|
+
}, [u, e.zones, a]);
|
|
4326
4386
|
const h = N(
|
|
4327
4387
|
(f) => {
|
|
4328
4388
|
const b = f.active.id;
|
|
@@ -4337,7 +4397,7 @@ function Ba(e) {
|
|
|
4337
4397
|
l.current = C, s(x), o(C);
|
|
4338
4398
|
},
|
|
4339
4399
|
[t]
|
|
4340
|
-
),
|
|
4400
|
+
), d = N(
|
|
4341
4401
|
(f) => {
|
|
4342
4402
|
if (!f.over) {
|
|
4343
4403
|
o(l.current);
|
|
@@ -4366,19 +4426,19 @@ function Ba(e) {
|
|
|
4366
4426
|
const v = g.findIndex((E) => E.zoneKey === S), _ = g[v], D = _.items.findIndex((E) => E.id === b.id), M = _.items.findIndex((E) => E.id === x.id), R = M >= 0 ? M : Math.max(0, _.items.length - 1);
|
|
4367
4427
|
g[v] = {
|
|
4368
4428
|
..._,
|
|
4369
|
-
items:
|
|
4429
|
+
items: Ka(_.items, D, R)
|
|
4370
4430
|
};
|
|
4371
4431
|
} else {
|
|
4372
|
-
const v = g.findIndex((
|
|
4432
|
+
const v = g.findIndex((L) => L.zoneKey === S), _ = g.findIndex((L) => L.zoneKey === T), D = g[v], M = g[_], R = D.items.find((L) => L.id === b.id);
|
|
4373
4433
|
if (!R) {
|
|
4374
4434
|
C();
|
|
4375
4435
|
return;
|
|
4376
4436
|
}
|
|
4377
|
-
const E = D.items.filter((
|
|
4437
|
+
const E = D.items.filter((L) => L.id !== b.id), O = M.items.findIndex((L) => L.id === x.id), Z = O >= 0 ? O : M.items.length;
|
|
4378
4438
|
let be = E, H = [...M.items];
|
|
4379
4439
|
if (M.maxItems !== void 0 && H.length >= M.maxItems) {
|
|
4380
|
-
const
|
|
4381
|
-
H = H.slice(0, M.maxItems - 1), be = [...E,
|
|
4440
|
+
const L = H[H.length - 1];
|
|
4441
|
+
H = H.slice(0, M.maxItems - 1), be = [...E, L];
|
|
4382
4442
|
}
|
|
4383
4443
|
const ve = Math.min(Z, H.length), qe = [
|
|
4384
4444
|
...H.slice(0, ve),
|
|
@@ -4414,12 +4474,12 @@ function Ba(e) {
|
|
|
4414
4474
|
getZoneProps: w,
|
|
4415
4475
|
getItemProps: k,
|
|
4416
4476
|
handleDragStart: h,
|
|
4417
|
-
handleDragOver:
|
|
4477
|
+
handleDragOver: d,
|
|
4418
4478
|
handleDragEnd: p
|
|
4419
4479
|
};
|
|
4420
4480
|
}
|
|
4421
4481
|
let Q = null, ne = null, le = !1;
|
|
4422
|
-
const
|
|
4482
|
+
const Wa = [
|
|
4423
4483
|
"DndContext",
|
|
4424
4484
|
"DragOverlay",
|
|
4425
4485
|
"useSensors",
|
|
@@ -4428,21 +4488,21 @@ const Ka = [
|
|
|
4428
4488
|
"PointerSensor",
|
|
4429
4489
|
"KeyboardSensor",
|
|
4430
4490
|
"closestCenter"
|
|
4431
|
-
],
|
|
4491
|
+
], Va = [
|
|
4432
4492
|
"SortableContext",
|
|
4433
4493
|
"useSortable",
|
|
4434
4494
|
"verticalListSortingStrategy"
|
|
4435
4495
|
];
|
|
4436
|
-
function
|
|
4496
|
+
function ja(e, t) {
|
|
4437
4497
|
const n = [], a = e ?? {};
|
|
4438
|
-
for (const i of
|
|
4498
|
+
for (const i of Wa)
|
|
4439
4499
|
a[i] === void 0 && n.push(`@dnd-kit/core:${i}`);
|
|
4440
4500
|
const s = t ?? {};
|
|
4441
|
-
for (const i of
|
|
4501
|
+
for (const i of Va)
|
|
4442
4502
|
s[i] === void 0 && n.push(`@dnd-kit/sortable:${i}`);
|
|
4443
4503
|
return n.length === 0 ? { ok: !0 } : { ok: !1, missing: n };
|
|
4444
4504
|
}
|
|
4445
|
-
function
|
|
4505
|
+
function Ua() {
|
|
4446
4506
|
return Q ? Promise.resolve(Q) : le ? Promise.resolve(null) : ne || (ne = (async () => {
|
|
4447
4507
|
try {
|
|
4448
4508
|
const [e, t, n] = await Promise.all([
|
|
@@ -4451,7 +4511,7 @@ function Wa() {
|
|
|
4451
4511
|
import("@dnd-kit/utilities").catch(() => (process.env.NODE_ENV !== "production" && console.warn(
|
|
4452
4512
|
"SortableZones: @dnd-kit/utilities failed to load; drag-overlay positioning will fall back (items may teleport instead of slide)."
|
|
4453
4513
|
), {}))
|
|
4454
|
-
]), a =
|
|
4514
|
+
]), a = ja(e, t);
|
|
4455
4515
|
return a.ok ? (Q = {
|
|
4456
4516
|
core: e,
|
|
4457
4517
|
sortable: t,
|
|
@@ -4464,15 +4524,15 @@ function Wa() {
|
|
|
4464
4524
|
}
|
|
4465
4525
|
})(), ne);
|
|
4466
4526
|
}
|
|
4467
|
-
function
|
|
4468
|
-
const { zones: t, onZoneChange: n, renderZone: a, renderItem: s, renderDragOverlay: i } = e, o =
|
|
4527
|
+
function Ya(e) {
|
|
4528
|
+
const { zones: t, onZoneChange: n, renderZone: a, renderItem: s, renderDragOverlay: i } = e, o = Ha({ zones: t, onZoneChange: n }), [l, m] = F.useState(Q);
|
|
4469
4529
|
return F.useEffect(() => {
|
|
4470
4530
|
if (l) return;
|
|
4471
|
-
let
|
|
4472
|
-
return
|
|
4473
|
-
|
|
4531
|
+
let u = !0;
|
|
4532
|
+
return Ua().then((c) => {
|
|
4533
|
+
u && m(c);
|
|
4474
4534
|
}), () => {
|
|
4475
|
-
|
|
4535
|
+
u = !1;
|
|
4476
4536
|
};
|
|
4477
4537
|
}, [l]), l ? /* @__PURE__ */ r(
|
|
4478
4538
|
Ue,
|
|
@@ -4483,12 +4543,12 @@ function Va(e) {
|
|
|
4483
4543
|
renderItem: s,
|
|
4484
4544
|
renderDragOverlay: i
|
|
4485
4545
|
}
|
|
4486
|
-
) : /* @__PURE__ */ r("div", { "data-sortable-zones-passive": "true", children: o.zones.map((
|
|
4487
|
-
const
|
|
4488
|
-
return /* @__PURE__ */ r("div", { ...o.getZoneProps(
|
|
4546
|
+
) : /* @__PURE__ */ r("div", { "data-sortable-zones-passive": "true", children: o.zones.map((u) => {
|
|
4547
|
+
const c = u.items.map((h) => /* @__PURE__ */ r(F.Fragment, { children: s(h) }, h.id));
|
|
4548
|
+
return /* @__PURE__ */ r("div", { ...o.getZoneProps(u.zoneKey), children: a(u.zoneKey, u.items, c) }, u.zoneKey);
|
|
4489
4549
|
}) });
|
|
4490
4550
|
}
|
|
4491
|
-
|
|
4551
|
+
Ya.displayName = "SortableZones";
|
|
4492
4552
|
function Ue({
|
|
4493
4553
|
state: e,
|
|
4494
4554
|
modules: t,
|
|
@@ -4496,10 +4556,10 @@ function Ue({
|
|
|
4496
4556
|
renderItem: a,
|
|
4497
4557
|
renderDragOverlay: s
|
|
4498
4558
|
}) {
|
|
4499
|
-
const { core: i, sortable: o, utilities: l } = t, { DndContext: m, DragOverlay:
|
|
4559
|
+
const { core: i, sortable: o, utilities: l } = t, { DndContext: m, DragOverlay: u, useSensors: c, useSensor: h, useDroppable: d, PointerSensor: p, KeyboardSensor: w, closestCenter: k } = i, { SortableContext: f, verticalListSortingStrategy: b } = o, x = c(
|
|
4500
4560
|
h(p, { activationConstraint: { distance: 5 } }),
|
|
4501
4561
|
h(w)
|
|
4502
|
-
), C = m, S =
|
|
4562
|
+
), C = m, S = u, T = f;
|
|
4503
4563
|
return /* @__PURE__ */ y(
|
|
4504
4564
|
C,
|
|
4505
4565
|
{
|
|
@@ -4525,7 +4585,7 @@ function Ue({
|
|
|
4525
4585
|
{
|
|
4526
4586
|
zoneKey: g.zoneKey,
|
|
4527
4587
|
zoneProps: e.getZoneProps(g.zoneKey),
|
|
4528
|
-
useDroppable:
|
|
4588
|
+
useDroppable: d,
|
|
4529
4589
|
children: /* @__PURE__ */ r(T, { items: v, strategy: b, children: n(g.zoneKey, g.items, _) })
|
|
4530
4590
|
},
|
|
4531
4591
|
g.zoneKey
|
|
@@ -4538,12 +4598,12 @@ function Ue({
|
|
|
4538
4598
|
}
|
|
4539
4599
|
Ue.displayName = "SortableZonesInner";
|
|
4540
4600
|
function Ye({ id: e, useSortable: t, cssHelper: n, children: a }) {
|
|
4541
|
-
const { attributes: s, listeners: i, setNodeRef: o, transform: l, transition: m, isDragging:
|
|
4601
|
+
const { attributes: s, listeners: i, setNodeRef: o, transform: l, transition: m, isDragging: u } = t({ id: e }), c = {
|
|
4542
4602
|
transform: n?.Transform?.toString(l) ?? void 0,
|
|
4543
4603
|
transition: m,
|
|
4544
|
-
opacity:
|
|
4604
|
+
opacity: u ? 0.5 : 1
|
|
4545
4605
|
};
|
|
4546
|
-
return /* @__PURE__ */ r("div", { ref: o, style:
|
|
4606
|
+
return /* @__PURE__ */ r("div", { ref: o, style: c, "data-sortable-item-id": e, ...s, ...i, children: a });
|
|
4547
4607
|
}
|
|
4548
4608
|
Ye.displayName = "SortableItem";
|
|
4549
4609
|
function Ze({
|
|
@@ -4556,7 +4616,7 @@ function Ze({
|
|
|
4556
4616
|
return /* @__PURE__ */ r("div", { ref: s, "data-zone-is-over": i || void 0, ...t, children: a });
|
|
4557
4617
|
}
|
|
4558
4618
|
Ze.displayName = "ZoneDroppable";
|
|
4559
|
-
function
|
|
4619
|
+
function Mr({
|
|
4560
4620
|
slotLeft: e,
|
|
4561
4621
|
slotCenter: t,
|
|
4562
4622
|
slotRight: n,
|
|
@@ -4606,7 +4666,7 @@ function xr({
|
|
|
4606
4666
|
}
|
|
4607
4667
|
);
|
|
4608
4668
|
}
|
|
4609
|
-
function
|
|
4669
|
+
function Pr({
|
|
4610
4670
|
count: e,
|
|
4611
4671
|
currentIndex: t,
|
|
4612
4672
|
onSelect: n,
|
|
@@ -4617,26 +4677,26 @@ function Rr({
|
|
|
4617
4677
|
currentSection: l,
|
|
4618
4678
|
sectionsPerView: m = 1,
|
|
4619
4679
|
// D-09 default
|
|
4620
|
-
isHiding:
|
|
4680
|
+
isHiding: u
|
|
4621
4681
|
}) {
|
|
4622
|
-
const
|
|
4623
|
-
return w.current.length = e, !
|
|
4682
|
+
const c = l ?? t ?? 0, h = Math.max(0, Math.min(e - 1, c)), d = Math.min(e - 1, h + Math.max(0, m - 1)), p = [h, d], w = K.useRef([]);
|
|
4683
|
+
return w.current.length = e, !u && e <= 1 || !u && p[0] === 0 && p[1] === e - 1 ? null : /* @__PURE__ */ y(
|
|
4624
4684
|
"div",
|
|
4625
4685
|
{
|
|
4626
4686
|
role: "tablist",
|
|
4627
4687
|
"aria-label": a,
|
|
4628
4688
|
"data-testid": "gloss-section-dots",
|
|
4629
4689
|
className: "gloss-section-dots",
|
|
4630
|
-
"data-hiding":
|
|
4690
|
+
"data-hiding": u ? "true" : void 0,
|
|
4631
4691
|
onKeyDown: (f) => {
|
|
4632
4692
|
if (e !== 0) {
|
|
4633
4693
|
if (f.key === "ArrowRight") {
|
|
4634
4694
|
f.preventDefault();
|
|
4635
|
-
const b = (
|
|
4695
|
+
const b = (c + 1) % e;
|
|
4636
4696
|
n(b), requestAnimationFrame(() => w.current[b]?.focus());
|
|
4637
4697
|
} else if (f.key === "ArrowLeft") {
|
|
4638
4698
|
f.preventDefault();
|
|
4639
|
-
const b = (
|
|
4699
|
+
const b = (c - 1 + e) % e;
|
|
4640
4700
|
n(b), requestAnimationFrame(() => w.current[b]?.focus());
|
|
4641
4701
|
}
|
|
4642
4702
|
}
|
|
@@ -4661,13 +4721,13 @@ function Rr({
|
|
|
4661
4721
|
},
|
|
4662
4722
|
type: "button",
|
|
4663
4723
|
role: "tab",
|
|
4664
|
-
"aria-selected": b ===
|
|
4724
|
+
"aria-selected": b === c,
|
|
4665
4725
|
"aria-label": b === s ? "Unconfirmed section" : `Section ${b + 1}`,
|
|
4666
|
-
"data-state": b === s ? "provisional-hollow" : b === i ? "pulse" : b ===
|
|
4726
|
+
"data-state": b === s ? "provisional-hollow" : b === i ? "pulse" : b === c ? "current" : "hollow",
|
|
4667
4727
|
"data-section-index": b,
|
|
4668
4728
|
className: [
|
|
4669
4729
|
"gloss-section-dots__dot",
|
|
4670
|
-
b ===
|
|
4730
|
+
b === c && "gloss-section-dots__dot--current"
|
|
4671
4731
|
].filter(Boolean).join(" "),
|
|
4672
4732
|
onClick: () => n(b)
|
|
4673
4733
|
},
|
|
@@ -4677,12 +4737,12 @@ function Rr({
|
|
|
4677
4737
|
}
|
|
4678
4738
|
);
|
|
4679
4739
|
}
|
|
4680
|
-
function
|
|
4740
|
+
function Ir(e) {
|
|
4681
4741
|
const { anchorRef: t, isOpen: n, onRequestClose: a, onPopoverEnter: s, onPopoverLeave: i, children: o } = e, l = P(!0);
|
|
4682
4742
|
return A(() => (l.current = !0, () => {
|
|
4683
4743
|
l.current = !1;
|
|
4684
4744
|
}), []), n ? /* @__PURE__ */ r(
|
|
4685
|
-
|
|
4745
|
+
Oa,
|
|
4686
4746
|
{
|
|
4687
4747
|
anchorRef: t,
|
|
4688
4748
|
placement: "above-right",
|
|
@@ -4719,16 +4779,16 @@ function Tr(e) {
|
|
|
4719
4779
|
}
|
|
4720
4780
|
) : null;
|
|
4721
4781
|
}
|
|
4722
|
-
function
|
|
4782
|
+
function Er(e) {
|
|
4723
4783
|
const {
|
|
4724
4784
|
mode: t = null,
|
|
4725
4785
|
count: n,
|
|
4726
4786
|
anchorRef: a,
|
|
4727
4787
|
subscribeToCoordinator: s = !0,
|
|
4728
4788
|
cardLabels: i
|
|
4729
|
-
} = e, o = P(null), [l, m] = I({ cx: 0, cy: 0, r: 14 }),
|
|
4789
|
+
} = e, o = P(null), [l, m] = I({ cx: 0, cy: 0, r: 14 }), u = ot(), c = s ? u?.state?.lockHint ?? null : null, h = s ? u?.state?.bellCutoutOpen ?? !1 : !1, d = c != null ? "lock" : t ?? (h ? "default" : null), p = c?.activeCardId ?? null, w = p != null ? i?.[p] ?? p : "";
|
|
4730
4790
|
return Ie(() => {
|
|
4731
|
-
if (
|
|
4791
|
+
if (d == null) return;
|
|
4732
4792
|
const k = o.current, f = a.current;
|
|
4733
4793
|
if (!k || !f) return;
|
|
4734
4794
|
const b = () => {
|
|
@@ -4737,13 +4797,13 @@ function Mr(e) {
|
|
|
4737
4797
|
};
|
|
4738
4798
|
if (b(), !(typeof window > "u"))
|
|
4739
4799
|
return window.addEventListener("resize", b, { passive: !0 }), () => window.removeEventListener("resize", b);
|
|
4740
|
-
}, [
|
|
4800
|
+
}, [d, a]), d == null ? null : /* @__PURE__ */ y(
|
|
4741
4801
|
"div",
|
|
4742
4802
|
{
|
|
4743
4803
|
ref: o,
|
|
4744
4804
|
className: "bell-cutout",
|
|
4745
|
-
"data-mode":
|
|
4746
|
-
"data-count":
|
|
4805
|
+
"data-mode": d,
|
|
4806
|
+
"data-count": d === "unread-count" && n != null ? String(n) : void 0,
|
|
4747
4807
|
"aria-hidden": "true",
|
|
4748
4808
|
children: [
|
|
4749
4809
|
/* @__PURE__ */ y("svg", { className: "bell-cutout__svg", width: "100%", height: "100%", preserveAspectRatio: "none", children: [
|
|
@@ -4754,17 +4814,17 @@ function Mr(e) {
|
|
|
4754
4814
|
/* @__PURE__ */ r("rect", { x: "0", y: "0", width: "100%", height: "100%", mask: "url(#bell-cutout-mask)", className: "bell-cutout__fill" })
|
|
4755
4815
|
] }),
|
|
4756
4816
|
/* @__PURE__ */ r("span", { className: "bell-cutout__dot", "aria-hidden": "true" }),
|
|
4757
|
-
|
|
4817
|
+
d === "lock" && c != null ? /* @__PURE__ */ r("span", { className: "bell-cutout__lock-text", role: "status", "aria-live": "polite", children: `Still editing "${w}" — Cancel or Apply first` }) : null
|
|
4758
4818
|
]
|
|
4759
4819
|
}
|
|
4760
4820
|
);
|
|
4761
4821
|
}
|
|
4762
|
-
const
|
|
4822
|
+
const Za = F.forwardRef(({ density: e = "compact", children: t, ...n }, a) => {
|
|
4763
4823
|
const s = { ...n };
|
|
4764
4824
|
return delete s.className, delete s.style, /* @__PURE__ */ r("div", { ref: a, className: "gloss-container-toolbar", role: "toolbar", ...s, children: /* @__PURE__ */ r(fe, { region: "toolbar", density: e, children: t }) });
|
|
4765
4825
|
});
|
|
4766
|
-
|
|
4767
|
-
const
|
|
4826
|
+
Za.displayName = "ContainerToolbar";
|
|
4827
|
+
const qa = F.forwardRef(({ legend: e, description: t, density: n = "default", children: a, ...s }, i) => {
|
|
4768
4828
|
const o = { ...s };
|
|
4769
4829
|
return delete o.className, delete o.style, /* @__PURE__ */ y("fieldset", { ref: i, className: "gloss-container-form-section", ...o, children: [
|
|
4770
4830
|
e && /* @__PURE__ */ r("legend", { className: "gloss-container-form-section__legend", children: e }),
|
|
@@ -4772,362 +4832,363 @@ const Ua = F.forwardRef(({ legend: e, description: t, density: n = "default", ch
|
|
|
4772
4832
|
/* @__PURE__ */ r(fe, { region: "form-section", density: n, children: a })
|
|
4773
4833
|
] });
|
|
4774
4834
|
});
|
|
4775
|
-
|
|
4776
|
-
const
|
|
4835
|
+
qa.displayName = "ContainerFormSection";
|
|
4836
|
+
const Qa = F.forwardRef(({ density: e = "compact", children: t, ...n }, a) => {
|
|
4777
4837
|
const s = { ...n };
|
|
4778
4838
|
return delete s.className, delete s.style, /* @__PURE__ */ r("div", { ref: a, className: "gloss-container-table", ...s, children: /* @__PURE__ */ r(fe, { region: "table", density: e, children: t }) });
|
|
4779
4839
|
});
|
|
4780
|
-
|
|
4840
|
+
Qa.displayName = "ContainerTable";
|
|
4781
4841
|
export {
|
|
4782
|
-
|
|
4783
|
-
|
|
4784
|
-
|
|
4785
|
-
|
|
4786
|
-
|
|
4787
|
-
|
|
4788
|
-
|
|
4789
|
-
|
|
4790
|
-
|
|
4791
|
-
|
|
4792
|
-
|
|
4793
|
-
|
|
4794
|
-
|
|
4795
|
-
|
|
4796
|
-
|
|
4797
|
-
|
|
4798
|
-
|
|
4799
|
-
|
|
4800
|
-
|
|
4801
|
-
|
|
4802
|
-
|
|
4803
|
-
|
|
4804
|
-
|
|
4805
|
-
|
|
4806
|
-
|
|
4807
|
-
|
|
4808
|
-
|
|
4842
|
+
Lr as Accordion,
|
|
4843
|
+
Or as AccordionContent,
|
|
4844
|
+
$r as AccordionItem,
|
|
4845
|
+
zr as AccordionTrigger,
|
|
4846
|
+
Br as ActionStrip,
|
|
4847
|
+
Kr as Actionable,
|
|
4848
|
+
Gr as AddressGroup,
|
|
4849
|
+
Hr as AddressSelect,
|
|
4850
|
+
Wr as AsyncLoader,
|
|
4851
|
+
Vr as Autocomplete,
|
|
4852
|
+
jr as Badge,
|
|
4853
|
+
Ur as BarChartCard,
|
|
4854
|
+
Yr as BarsBg,
|
|
4855
|
+
Er as BellCutout,
|
|
4856
|
+
Ir as BellPopover,
|
|
4857
|
+
Oa as BodyPortal,
|
|
4858
|
+
Mr as BottomToolbar,
|
|
4859
|
+
Zr as Button,
|
|
4860
|
+
qr as ButtonGroup,
|
|
4861
|
+
Qr as ButtonGroupContext,
|
|
4862
|
+
Xr as Card,
|
|
4863
|
+
Jr as CardActions,
|
|
4864
|
+
es as CardBack,
|
|
4865
|
+
ts as CardBody,
|
|
4866
|
+
as as CardFooter,
|
|
4867
|
+
ns as CardHeader,
|
|
4868
|
+
rs as CardMedia,
|
|
4809
4869
|
Xe as CardShell,
|
|
4810
|
-
|
|
4811
|
-
|
|
4812
|
-
|
|
4813
|
-
|
|
4814
|
-
|
|
4815
|
-
|
|
4816
|
-
|
|
4817
|
-
|
|
4818
|
-
|
|
4819
|
-
|
|
4820
|
-
|
|
4821
|
-
|
|
4822
|
-
|
|
4823
|
-
|
|
4824
|
-
|
|
4825
|
-
|
|
4826
|
-
|
|
4827
|
-
|
|
4828
|
-
|
|
4829
|
-
|
|
4830
|
-
|
|
4831
|
-
|
|
4832
|
-
|
|
4833
|
-
|
|
4834
|
-
|
|
4835
|
-
|
|
4836
|
-
|
|
4837
|
-
|
|
4838
|
-
|
|
4870
|
+
ss as CardSubtitle,
|
|
4871
|
+
is as CardTitle,
|
|
4872
|
+
fr as CascadePreview,
|
|
4873
|
+
Dr as CellTintOverlay,
|
|
4874
|
+
os as ChartControlBar,
|
|
4875
|
+
ls as Checkbox,
|
|
4876
|
+
cs as CheckboxGroup,
|
|
4877
|
+
ds as Chip,
|
|
4878
|
+
us as ColorPicker,
|
|
4879
|
+
ms as ComparisonCard,
|
|
4880
|
+
ps as ContactForm,
|
|
4881
|
+
gs as ContainerCard,
|
|
4882
|
+
hs as ContainerCardActions,
|
|
4883
|
+
fs as ContainerCardBody,
|
|
4884
|
+
bs as ContainerCardFooter,
|
|
4885
|
+
vs as ContainerCardHeader,
|
|
4886
|
+
ys as ContainerCardMedia,
|
|
4887
|
+
ws as ContainerCardSubtitle,
|
|
4888
|
+
_s as ContainerCardTitle,
|
|
4889
|
+
Cs as ContainerDialog,
|
|
4890
|
+
Ns as ContainerDialogActions,
|
|
4891
|
+
Ss as ContainerDialogBody,
|
|
4892
|
+
ks as ContainerDialogHeader,
|
|
4893
|
+
qa as ContainerFormSection,
|
|
4894
|
+
Ds as ContainerPanel,
|
|
4895
|
+
Qa as ContainerTable,
|
|
4896
|
+
Za as ContainerToolbar,
|
|
4897
|
+
xs as CreditCardForm,
|
|
4898
|
+
Rs as DEFAULT_FOOTER_IDS,
|
|
4839
4899
|
U as DEFAULT_GRID_INTERACTION_PHYSICS,
|
|
4840
|
-
|
|
4841
|
-
|
|
4842
|
-
|
|
4843
|
-
|
|
4900
|
+
hl as DEFAULT_MARKET_PRESETS,
|
|
4901
|
+
Ts as DEFAULT_OVERFLOW_IDS,
|
|
4902
|
+
fl as DEFAULT_PINNED,
|
|
4903
|
+
St as DEFAULT_RESIZE_PHYSICS,
|
|
4844
4904
|
Ae as DEFAULT_RESIZE_PILL_PHYSICS,
|
|
4845
|
-
|
|
4846
|
-
|
|
4847
|
-
|
|
4848
|
-
|
|
4849
|
-
|
|
4850
|
-
|
|
4851
|
-
|
|
4852
|
-
|
|
4853
|
-
|
|
4854
|
-
|
|
4855
|
-
|
|
4856
|
-
|
|
4857
|
-
|
|
4858
|
-
|
|
4859
|
-
|
|
4860
|
-
|
|
4861
|
-
|
|
4862
|
-
|
|
4863
|
-
|
|
4864
|
-
|
|
4865
|
-
|
|
4866
|
-
|
|
4867
|
-
|
|
4868
|
-
|
|
4869
|
-
|
|
4870
|
-
|
|
4871
|
-
|
|
4872
|
-
|
|
4873
|
-
|
|
4874
|
-
|
|
4875
|
-
|
|
4876
|
-
|
|
4877
|
-
|
|
4878
|
-
|
|
4879
|
-
|
|
4880
|
-
|
|
4881
|
-
|
|
4882
|
-
|
|
4883
|
-
|
|
4884
|
-
|
|
4885
|
-
|
|
4886
|
-
|
|
4887
|
-
|
|
4888
|
-
|
|
4889
|
-
|
|
4890
|
-
|
|
4891
|
-
|
|
4892
|
-
|
|
4893
|
-
|
|
4894
|
-
|
|
4895
|
-
|
|
4905
|
+
Ms as DataTable,
|
|
4906
|
+
Ps as DatePicker,
|
|
4907
|
+
Is as DateRangePicker,
|
|
4908
|
+
Es as DestructiveModal,
|
|
4909
|
+
na as DevTuningPanel,
|
|
4910
|
+
As as DirectionCard,
|
|
4911
|
+
Fs as Dismissible,
|
|
4912
|
+
Ls as DistributionCard,
|
|
4913
|
+
Os as DonutChart,
|
|
4914
|
+
gr as DragGhost,
|
|
4915
|
+
sr as DropAnchorCell,
|
|
4916
|
+
$s as Dropdown,
|
|
4917
|
+
oa as DualPaceBars,
|
|
4918
|
+
zs as ENTITY_FILTER_KEYS,
|
|
4919
|
+
Bs as ENTITY_PROFILE_ROUTES,
|
|
4920
|
+
Ks as ENTITY_TYPE_PLURAL,
|
|
4921
|
+
pr as EmptyCellPackAffordance,
|
|
4922
|
+
Gs as EntityPicker,
|
|
4923
|
+
G as EntityRow,
|
|
4924
|
+
Hs as EntitySearchPanel,
|
|
4925
|
+
ya as ExceptionListCard,
|
|
4926
|
+
wa as ExceptionListTilePreview,
|
|
4927
|
+
Ws as Expandable,
|
|
4928
|
+
Vs as ExpandableChip,
|
|
4929
|
+
js as FLIP_AND_STAGE_TIMINGS,
|
|
4930
|
+
Us as FileUpload,
|
|
4931
|
+
Ys as FilterChip,
|
|
4932
|
+
Zs as FilterInput,
|
|
4933
|
+
qs as FlipAndStageProvider,
|
|
4934
|
+
Qs as Form,
|
|
4935
|
+
Xs as FormDialog,
|
|
4936
|
+
Js as FormField,
|
|
4937
|
+
ei as FusedShape,
|
|
4938
|
+
la as GapReadout,
|
|
4939
|
+
ti as GestureStateProvider,
|
|
4940
|
+
Nt as GhostPreview,
|
|
4941
|
+
ai as GroupCheckbox,
|
|
4942
|
+
ni as GroupRadio,
|
|
4943
|
+
ur as HARD_CLIP,
|
|
4944
|
+
ri as HighlightCard,
|
|
4945
|
+
si as HybridDatePicker,
|
|
4946
|
+
ii as ImportWizard,
|
|
4947
|
+
Ma as InlineNudge,
|
|
4948
|
+
oi as Input,
|
|
4949
|
+
li as InputAddon,
|
|
4950
|
+
ci as InputGroup,
|
|
4951
|
+
ha as LeaderboardCard,
|
|
4952
|
+
fa as LeaderboardTilePreview,
|
|
4953
|
+
ua as LensChipGroup,
|
|
4954
|
+
di as Link,
|
|
4955
|
+
ui as LoginForm,
|
|
4896
4956
|
ae as MagnitudeBar,
|
|
4897
|
-
|
|
4898
|
-
|
|
4899
|
-
|
|
4900
|
-
|
|
4901
|
-
|
|
4902
|
-
|
|
4903
|
-
|
|
4904
|
-
|
|
4905
|
-
|
|
4906
|
-
|
|
4907
|
-
|
|
4908
|
-
|
|
4909
|
-
|
|
4910
|
-
|
|
4911
|
-
|
|
4912
|
-
|
|
4913
|
-
|
|
4914
|
-
|
|
4915
|
-
|
|
4916
|
-
|
|
4917
|
-
|
|
4918
|
-
|
|
4957
|
+
mi as MarketPresetRow,
|
|
4958
|
+
pi as MaskPresets,
|
|
4959
|
+
gi as MaskedInput,
|
|
4960
|
+
hi as Menu,
|
|
4961
|
+
fi as MenuDivider,
|
|
4962
|
+
bi as MenuGroup,
|
|
4963
|
+
vi as MenuItem,
|
|
4964
|
+
yi as MergePrompt,
|
|
4965
|
+
wi as MetricCard,
|
|
4966
|
+
_i as MetricCardGrid,
|
|
4967
|
+
Yt as MetricGroupContainer,
|
|
4968
|
+
Ci as MiniCalendar,
|
|
4969
|
+
pa as MoreInLensRail,
|
|
4970
|
+
Ni as MultiSelect,
|
|
4971
|
+
Si as NumberInput,
|
|
4972
|
+
ki as ObjectArrow,
|
|
4973
|
+
Di as OrderFilterBar,
|
|
4974
|
+
al as PANEL_COMMITS,
|
|
4975
|
+
bl as PERIOD_OPTIONS,
|
|
4976
|
+
br as PaceCard,
|
|
4977
|
+
vr as PaceTilePreview,
|
|
4978
|
+
Lt as PageChip,
|
|
4919
4979
|
$e as PageDropdown,
|
|
4920
|
-
|
|
4921
|
-
|
|
4922
|
-
|
|
4923
|
-
|
|
4924
|
-
|
|
4925
|
-
|
|
4926
|
-
|
|
4927
|
-
|
|
4928
|
-
|
|
4929
|
-
|
|
4930
|
-
|
|
4931
|
-
|
|
4932
|
-
|
|
4933
|
-
|
|
4934
|
-
|
|
4935
|
-
|
|
4936
|
-
|
|
4980
|
+
nl as PanelChrome,
|
|
4981
|
+
rl as PanelHost,
|
|
4982
|
+
sl as PanelProvider,
|
|
4983
|
+
xi as PasswordInput,
|
|
4984
|
+
Ri as PaymentForm,
|
|
4985
|
+
Ti as PaymentMethodSelect,
|
|
4986
|
+
Mi as PhoneInput,
|
|
4987
|
+
Pi as PinToMetric,
|
|
4988
|
+
Ba as PresetSwatchRow,
|
|
4989
|
+
Ii as ProfileCard,
|
|
4990
|
+
Ei as ProgressCard,
|
|
4991
|
+
Ai as QuickConfigPanel,
|
|
4992
|
+
Ht as RECONFIG_BACKSIDE_LABELS,
|
|
4993
|
+
vl as ROLLING_OPTIONS,
|
|
4994
|
+
Fi as Radio,
|
|
4995
|
+
Li as RadioGroup,
|
|
4996
|
+
Oi as RangeSlider,
|
|
4937
4997
|
ee as RankBadge,
|
|
4938
4998
|
Ve as RankDelta,
|
|
4939
|
-
|
|
4940
|
-
|
|
4941
|
-
|
|
4942
|
-
|
|
4943
|
-
|
|
4944
|
-
|
|
4945
|
-
|
|
4946
|
-
|
|
4947
|
-
|
|
4948
|
-
|
|
4949
|
-
|
|
4950
|
-
|
|
4951
|
-
|
|
4952
|
-
|
|
4953
|
-
|
|
4954
|
-
|
|
4955
|
-
|
|
4956
|
-
|
|
4957
|
-
|
|
4958
|
-
|
|
4959
|
-
|
|
4960
|
-
|
|
4999
|
+
$i as Rating,
|
|
5000
|
+
jt as ReconfigBacksideButtons,
|
|
5001
|
+
xr as RefusePulse,
|
|
5002
|
+
zi as RegistrationForm,
|
|
5003
|
+
rr as ResizeEnvelope,
|
|
5004
|
+
Tt as ResizePill,
|
|
5005
|
+
Rr as ResizeTrackingOutline,
|
|
5006
|
+
Bi as Row1Controls,
|
|
5007
|
+
Ki as Row2FilterTray,
|
|
5008
|
+
wr as STROKE_DASHED,
|
|
5009
|
+
Sr as STROKE_DASHED_DASHARRAY,
|
|
5010
|
+
Nr as STROKE_OUTLINE,
|
|
5011
|
+
_r as STROKE_SOLID,
|
|
5012
|
+
Cr as STROKE_SPARSE_DASH,
|
|
5013
|
+
kr as STROKE_SPARSE_DASH_DASHARRAY,
|
|
5014
|
+
Gi as SearchInput,
|
|
5015
|
+
or as SectionDivider,
|
|
5016
|
+
Pr as SectionDots,
|
|
5017
|
+
Hi as SegmentCard,
|
|
5018
|
+
Wi as SegmentedControl,
|
|
5019
|
+
Vi as Select,
|
|
5020
|
+
ji as Selectable,
|
|
5021
|
+
Da as SettingsTabStrip,
|
|
4961
5022
|
te as SeverityDot,
|
|
4962
|
-
|
|
4963
|
-
|
|
4964
|
-
|
|
4965
|
-
|
|
4966
|
-
|
|
4967
|
-
|
|
4968
|
-
|
|
4969
|
-
|
|
4970
|
-
|
|
4971
|
-
|
|
4972
|
-
|
|
4973
|
-
|
|
4974
|
-
|
|
4975
|
-
|
|
4976
|
-
|
|
4977
|
-
|
|
4978
|
-
|
|
4979
|
-
|
|
4980
|
-
|
|
5023
|
+
Ui as SimpleMetricCard,
|
|
5024
|
+
Yi as SimpleSelector,
|
|
5025
|
+
Zi as Skeleton,
|
|
5026
|
+
qi as SkeletonCard,
|
|
5027
|
+
Qi as SkeletonChart,
|
|
5028
|
+
Xi as SkeletonTable,
|
|
5029
|
+
Ji as Slider,
|
|
5030
|
+
hr as SnapOutline,
|
|
5031
|
+
eo as Sortable,
|
|
5032
|
+
Ya as SortableZones,
|
|
5033
|
+
to as SparklineBg,
|
|
5034
|
+
ir as SpilloverArc,
|
|
5035
|
+
ao as SplitButton,
|
|
5036
|
+
no as StackedGroupCard,
|
|
5037
|
+
_a as StackedGroupTilePreview,
|
|
5038
|
+
ma as StarterRail,
|
|
5039
|
+
ro as StatusModeCard,
|
|
5040
|
+
Ct as StatusSlotChipMenu,
|
|
5041
|
+
so as Stepper,
|
|
4981
5042
|
De as SwingReveal,
|
|
4982
|
-
|
|
5043
|
+
yl as TODAY_PRESET,
|
|
4983
5044
|
V as TUNING_DEFAULTS,
|
|
4984
5045
|
Ge as TUNING_STORAGE_KEY,
|
|
4985
|
-
|
|
4986
|
-
|
|
4987
|
-
|
|
4988
|
-
|
|
4989
|
-
|
|
4990
|
-
|
|
4991
|
-
|
|
4992
|
-
|
|
4993
|
-
|
|
4994
|
-
|
|
5046
|
+
io as TabGroup,
|
|
5047
|
+
oo as TabbedDataView,
|
|
5048
|
+
lo as TagInput,
|
|
5049
|
+
ht as TargetInput,
|
|
5050
|
+
co as Textarea,
|
|
5051
|
+
Ea as ThresholdRamp,
|
|
5052
|
+
uo as TimeFrame,
|
|
5053
|
+
mo as TimePicker,
|
|
5054
|
+
po as Toggle,
|
|
5055
|
+
go as Tooltip,
|
|
4995
5056
|
We as TrackingOutline,
|
|
4996
|
-
|
|
4997
|
-
|
|
4998
|
-
|
|
4999
|
-
|
|
5000
|
-
|
|
5057
|
+
ho as Transition,
|
|
5058
|
+
fo as TransitionGroup,
|
|
5059
|
+
bo as TrendCard,
|
|
5060
|
+
vo as TrendIndicator,
|
|
5061
|
+
ml as UIContext,
|
|
5001
5062
|
fe as UIContextProvider,
|
|
5002
|
-
|
|
5003
|
-
|
|
5004
|
-
|
|
5005
|
-
|
|
5006
|
-
|
|
5007
|
-
|
|
5008
|
-
|
|
5009
|
-
|
|
5010
|
-
|
|
5011
|
-
|
|
5012
|
-
|
|
5063
|
+
yo as UnifiedBreakdownTable,
|
|
5064
|
+
wo as UnifiedContextMenu,
|
|
5065
|
+
kn as VelocityBuffer,
|
|
5066
|
+
_o as addressGroupMetadata,
|
|
5067
|
+
Co as addressSchema,
|
|
5068
|
+
hn as allChips,
|
|
5069
|
+
Tn as allStateFixtures,
|
|
5070
|
+
Rn as allVariantFixtures,
|
|
5071
|
+
yn as blockSamples,
|
|
5072
|
+
No as buildDefaultOverflow,
|
|
5073
|
+
Sn as cardSamples,
|
|
5013
5074
|
Y as cascadePhysics,
|
|
5014
|
-
|
|
5015
|
-
|
|
5016
|
-
|
|
5017
|
-
|
|
5018
|
-
|
|
5019
|
-
|
|
5020
|
-
|
|
5021
|
-
|
|
5022
|
-
|
|
5023
|
-
|
|
5024
|
-
|
|
5025
|
-
|
|
5075
|
+
Cn as chartSamples,
|
|
5076
|
+
_n as circleSamples,
|
|
5077
|
+
mr as colorTokens,
|
|
5078
|
+
Qn as compactLayout,
|
|
5079
|
+
Bn as compactState,
|
|
5080
|
+
xn as computeGutterAnchorX,
|
|
5081
|
+
So as contactFormMetadata,
|
|
5082
|
+
ko as contactSchema,
|
|
5083
|
+
Kn as contextMenuFixtures,
|
|
5084
|
+
Do as creditCardFormMetadata,
|
|
5085
|
+
xo as creditCardSchema,
|
|
5086
|
+
vt as dateChip,
|
|
5026
5087
|
Ke as defaultControlBarState,
|
|
5027
|
-
|
|
5028
|
-
|
|
5029
|
-
|
|
5030
|
-
|
|
5031
|
-
|
|
5032
|
-
|
|
5033
|
-
|
|
5034
|
-
|
|
5035
|
-
|
|
5036
|
-
|
|
5037
|
-
|
|
5038
|
-
|
|
5039
|
-
|
|
5040
|
-
|
|
5041
|
-
|
|
5042
|
-
|
|
5043
|
-
|
|
5044
|
-
|
|
5045
|
-
|
|
5046
|
-
|
|
5047
|
-
|
|
5088
|
+
Ro as destructiveModalMetadata,
|
|
5089
|
+
To as durations,
|
|
5090
|
+
Mo as easings,
|
|
5091
|
+
It as emptyFixture,
|
|
5092
|
+
ft as entityChip,
|
|
5093
|
+
Bt as entityNameActions,
|
|
5094
|
+
bn as entityTabGroup,
|
|
5095
|
+
Pt as errorFixture,
|
|
5096
|
+
Po as evaluateTintCondition,
|
|
5097
|
+
zn as filteredState,
|
|
5098
|
+
wl as findPreset,
|
|
5099
|
+
_l as formatDateRange,
|
|
5100
|
+
Cl as formatMarketDates,
|
|
5101
|
+
Nl as formatTrend,
|
|
5102
|
+
Sl as formatValue,
|
|
5103
|
+
Jn as fullLayout,
|
|
5104
|
+
kl as generateMarketId,
|
|
5105
|
+
Io as generateTabId,
|
|
5106
|
+
Dl as getAllPresets,
|
|
5107
|
+
xl as getDateRangeForPreset,
|
|
5108
|
+
Eo as getMenuActions,
|
|
5048
5109
|
He as getMotionMode,
|
|
5049
|
-
|
|
5050
|
-
|
|
5051
|
-
|
|
5052
|
-
|
|
5053
|
-
|
|
5054
|
-
|
|
5055
|
-
|
|
5056
|
-
|
|
5057
|
-
|
|
5058
|
-
|
|
5059
|
-
|
|
5060
|
-
|
|
5061
|
-
|
|
5062
|
-
|
|
5063
|
-
|
|
5064
|
-
|
|
5065
|
-
|
|
5066
|
-
|
|
5067
|
-
|
|
5068
|
-
|
|
5069
|
-
|
|
5070
|
-
|
|
5071
|
-
|
|
5072
|
-
|
|
5073
|
-
|
|
5110
|
+
Rl as getPresetLabel,
|
|
5111
|
+
Ao as getTransitionStyle,
|
|
5112
|
+
qn as gridCards,
|
|
5113
|
+
yr as gridChannels,
|
|
5114
|
+
Fo as interpolate,
|
|
5115
|
+
Tl as isInRange,
|
|
5116
|
+
Ml as isMarketActive,
|
|
5117
|
+
Pl as isSameDay,
|
|
5118
|
+
$n as itemColumns,
|
|
5119
|
+
Ln as itemRows,
|
|
5120
|
+
Mt as loadingFixture,
|
|
5121
|
+
Lo as loginFormMetadata,
|
|
5122
|
+
Oo as loginSchema,
|
|
5123
|
+
yt as manufacturerChip,
|
|
5124
|
+
nr as manyTabs,
|
|
5125
|
+
$o as mergeHandlers,
|
|
5126
|
+
zo as mergeRefs,
|
|
5127
|
+
fn as metricTabGroup,
|
|
5128
|
+
tr as mixedTabs,
|
|
5129
|
+
Il as normalizePresetId,
|
|
5130
|
+
Gt as numericActions,
|
|
5131
|
+
On as orderColumns,
|
|
5132
|
+
Kt as orderIdActions,
|
|
5133
|
+
Fn as orderRows,
|
|
5134
|
+
er as ordersTabs,
|
|
5074
5135
|
Me as paletteHex,
|
|
5075
5136
|
j as paletteVars,
|
|
5076
|
-
|
|
5077
|
-
|
|
5078
|
-
|
|
5079
|
-
|
|
5080
|
-
|
|
5081
|
-
|
|
5082
|
-
|
|
5083
|
-
|
|
5084
|
-
|
|
5085
|
-
|
|
5086
|
-
|
|
5087
|
-
|
|
5088
|
-
|
|
5089
|
-
|
|
5090
|
-
|
|
5091
|
-
|
|
5092
|
-
|
|
5093
|
-
|
|
5094
|
-
|
|
5095
|
-
|
|
5096
|
-
|
|
5097
|
-
|
|
5098
|
-
|
|
5099
|
-
|
|
5100
|
-
|
|
5101
|
-
|
|
5102
|
-
|
|
5103
|
-
|
|
5104
|
-
|
|
5105
|
-
|
|
5106
|
-
|
|
5137
|
+
il as panelsDeriveSurfaceState,
|
|
5138
|
+
ol as panelsInitialState,
|
|
5139
|
+
ll as panelsReducer,
|
|
5140
|
+
Bo as parseNumericValue,
|
|
5141
|
+
Ko as paymentFormMetadata,
|
|
5142
|
+
Go as paymentSchema,
|
|
5143
|
+
Ho as presets,
|
|
5144
|
+
cr as provisional,
|
|
5145
|
+
dr as reducedMotion,
|
|
5146
|
+
Wo as registrationFormMetadata,
|
|
5147
|
+
Vo as registrationSchema,
|
|
5148
|
+
lr as rejectionFeedback,
|
|
5149
|
+
Hn as sampleCompareRanges,
|
|
5150
|
+
jn as sampleCustomMarkets,
|
|
5151
|
+
Gn as sampleDateRange,
|
|
5152
|
+
Un as sampleMarketPresetData,
|
|
5153
|
+
Vn as sampleMarkets,
|
|
5154
|
+
Zn as samplePeriodPresets,
|
|
5155
|
+
Wn as samplePreferences,
|
|
5156
|
+
Yn as samplePresets,
|
|
5157
|
+
ar as singleTab,
|
|
5158
|
+
Mn as sparklineFixture,
|
|
5159
|
+
Pn as sparklineUpFixture,
|
|
5160
|
+
Ft as staleDonutFixture,
|
|
5161
|
+
Et as staleFixture,
|
|
5162
|
+
At as staleSparklineFixture,
|
|
5163
|
+
In as standardFixture,
|
|
5164
|
+
An as standardFlatFixture,
|
|
5165
|
+
Xn as standardLayout,
|
|
5166
|
+
En as standardNegativeFixture,
|
|
5167
|
+
bt as statusChip,
|
|
5107
5168
|
q as swingReveal,
|
|
5108
|
-
|
|
5109
|
-
|
|
5110
|
-
|
|
5111
|
-
|
|
5169
|
+
Nn as tableSamples,
|
|
5170
|
+
wn as textSamples,
|
|
5171
|
+
vn as timeFrameTabGroup,
|
|
5172
|
+
El as toUppercasePresetId,
|
|
5112
5173
|
Qe as useAffordanceVisibility,
|
|
5113
|
-
|
|
5114
|
-
|
|
5115
|
-
|
|
5116
|
-
|
|
5117
|
-
|
|
5118
|
-
|
|
5119
|
-
|
|
5120
|
-
|
|
5121
|
-
|
|
5122
|
-
|
|
5123
|
-
|
|
5124
|
-
|
|
5125
|
-
|
|
5126
|
-
|
|
5127
|
-
|
|
5128
|
-
|
|
5129
|
-
|
|
5130
|
-
|
|
5131
|
-
|
|
5132
|
-
|
|
5174
|
+
gn as useArrowNavigation,
|
|
5175
|
+
jo as useCheckboxGroupContext,
|
|
5176
|
+
Uo as useFilterLayout,
|
|
5177
|
+
Yo as useFlipAndStage,
|
|
5178
|
+
Zo as useFlipAndStageContext,
|
|
5179
|
+
qo as useFlipAndStageContextOptional,
|
|
5180
|
+
pn as useFocusReturn,
|
|
5181
|
+
Qo as useFocusTrap,
|
|
5182
|
+
Xo as useFormContext,
|
|
5183
|
+
Jo as useGestureState,
|
|
5184
|
+
cl as usePanelContext,
|
|
5185
|
+
ot as usePanelContextOptional,
|
|
5186
|
+
dl as usePanelCoordinator,
|
|
5187
|
+
Fa as usePortalAnchor,
|
|
5188
|
+
el as useRadioGroupContext,
|
|
5189
|
+
Tr as useResizeChoreography,
|
|
5190
|
+
Dn as useResizePill,
|
|
5191
|
+
Qt as useResizeTuning,
|
|
5192
|
+
Ha as useSortableZones,
|
|
5193
|
+
pl as useUIContext
|
|
5133
5194
|
};
|