@mt-gloss/ui 0.1.150 → 0.1.151
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-eopq0SRK.js → COMMITS-BI1gFcrd.js} +40 -46
- package/{Expandable-D-GbTjIp.js → Expandable-KDhjReJP.js} +4523 -4610
- package/{TimeframeQuickBar-BexFJUgk.js → TimeframeQuickBar-I9Io0v7_.js} +228 -235
- package/catalog.js +84 -84
- package/composites-panels.js +3 -3
- package/index.js +1171 -1121
- package/lib/composites/dashboard/QuickConfigPanel/types.d.ts +2 -14
- package/lib/primitives/dashboard/MetricCard/resizePhysics.d.ts +6 -0
- package/lib/primitives/dashboard/MetricCardGrid/types.d.ts +21 -3
- package/lib/primitives/dashboard/gridMotionPrimitives.d.ts +7 -8
- package/lib/types/quickConfig.d.ts +21 -0
- package/lib/utils/animations.d.ts +3 -38
- package/package.json +2 -1
package/index.js
CHANGED
|
@@ -1,38 +1,41 @@
|
|
|
1
|
-
import { s as U,
|
|
2
|
-
import { H as
|
|
3
|
-
import { u as
|
|
4
|
-
import { Q as
|
|
5
|
-
import { jsxs as f, jsx as
|
|
1
|
+
import { s as U, g as ke, u as ze } from "./COMMITS-BI1gFcrd.js";
|
|
2
|
+
import { H as cr, N as dr, C as ur, e as mr, P as pr, k as gr, S as hr, c as fr, j as br, i as vr, h as yr, p as _r, a as wr, r as Cr, d as Nr, f as kr, b as Sr } from "./COMMITS-BI1gFcrd.js";
|
|
3
|
+
import { u as Ge, C as He } from "./Expandable-KDhjReJP.js";
|
|
4
|
+
import { Q as xr, V as Tr, T as Rr, U as Mr, a5 as Pr, b2 as Ar, aA as Er, aj as Fr, $ as Ir, ap as Lr, N as Or, aa as $r, P as Br, B as zr, a as Gr, A as Hr, K as Wr, bc as Vr, J as Kr, L as jr, E as Ur, D as qr, H as Yr, F as Qr, bk as Xr, b as Jr, c as Zr, O as es, q as ts, af as as, aO as ns, A as rs, K as ss, J as is, L as ls, E as os, D as cs, H as ds, F as us, aX as ms, a_ as ps, aZ as gs, aY as hs, a$ as fs, aD as bs, a7 as vs, a6 as ys, as as _s, m as ws, o as Cs, aG as Ns, ad as ks, b4 as Ss, ab as Ds, _ as xs, bu as Ts, bt as Rs, bv as Ms, ar as Ps, aR as As, b6 as Es, bi as Fs, p as Is, ao as Ls, bo as Os, bf as $s, a2 as Bs, at as zs, a4 as Gs, bn as Hs, bD as Ws, G as Vs, f as Ks, ac as js, bw as Us, aU as qs, t as Ys, x as Qs, I as Xs, i as Js, ax as Zs, bz as ei, M as ti, y as ai, W as ni, Z as ri, X as si, Y as ii, au as li, bB as oi, by as ci, aq as di, w as ui, aT as mi, al as pi, aL as gi, ai as hi, an as fi, av as bi, aS as vi, ae as yi, e as _i, R as wi, l as Ci, r as Ni, aI as ki, bl as Si, bm as Di, ak as xi, ag as Ti, j as Ri, z as Mi, b3 as Pi, ah as Ai, bA as Ei, b8 as Fi, bb as Ii, b9 as Li, ba as Oi, k as $i, b5 as Bi, S as zi, bd as Gi, aw as Hi, b7 as Wi, bC as Vi, am as Ki, v as ji, bx as Ui, n as qi, h as Yi, s as Qi, a0 as Xi, a1 as Ji, a9 as Zi, bj as el, bq as tl, aB as al, aC as nl, a8 as rl, aP as sl, aQ as il, aE as ll, aF as ol, aH as cl, bs as dl, br as ul, ay as ml, az as pl, b1 as gl, b0 as hl, aM as fl, aN as bl, aW as vl, aJ as yl, aK as _l, d as wl, bp as Cl, be as Nl, bg as kl, bh as Sl, aV as Dl, a3 as xl, bE as Tl, g as Rl } from "./Expandable-KDhjReJP.js";
|
|
5
|
+
import { jsxs as f, jsx as a, Fragment as I } from "react/jsx-runtime";
|
|
6
6
|
import * as O from "react";
|
|
7
|
-
import
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { B as
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
|
|
23
|
-
|
|
7
|
+
import V, { useRef as M, useEffect as E, useState as A, useCallback as C, useId as Se, useMemo as de, useLayoutEffect as De, createContext as We, useContext as Ve } from "react";
|
|
8
|
+
import { RESIZE_COMMIT_SPRING as te, useMotionProbe as re, GRID_CASCADE_PHYSICS as j } from "@mt-gloss/motion";
|
|
9
|
+
import { GRID_CASCADE_PHYSICS as Pl } from "@mt-gloss/motion";
|
|
10
|
+
import { motion as B, useMotionValue as Ke, AnimatePresence as je, useDragControls as Ue } from "framer-motion";
|
|
11
|
+
import { createPortal as xe } from "react-dom";
|
|
12
|
+
import { durations as El, easings as Fl } from "@mt-gloss/tokens";
|
|
13
|
+
import { lerpHex as qe } from "@mt-gloss/utils";
|
|
14
|
+
import { DEFAULT_MARKET_PRESETS as Ll, DEFAULT_PINNED as Ol, PERIOD_OPTIONS as $l, ROLLING_OPTIONS as Bl, TODAY_PRESET as zl, findPreset as Gl, formatDateRange as Hl, formatMarketDates as Wl, formatTrend as Vl, formatValue as Kl, generateMarketId as jl, getAllPresets as Ul, getDateRangeForPreset as ql, getPresetLabel as Yl, getTransitionStyle as Ql, interpolate as Xl, isInRange as Jl, isMarketActive as Zl, isSameDay as eo, normalizePresetId as to, parseNumericValue as ao, toUppercasePresetId as no } from "@mt-gloss/utils";
|
|
15
|
+
import { B as Ye, U as ue } from "./UIContext-CGQI_KJk.js";
|
|
16
|
+
import { a as so, u as io } from "./UIContext-CGQI_KJk.js";
|
|
17
|
+
import { B as oo, D as co, E as uo, M as mo, O as po, a as go, S as ho, b as fo, T as bo, e as vo } from "./TimeframeQuickBar-I9Io0v7_.js";
|
|
18
|
+
import Qe from "@mui/icons-material/AccessTime";
|
|
19
|
+
import Xe from "@mui/icons-material/Tune";
|
|
20
|
+
import Je from "@mui/icons-material/ViewColumn";
|
|
21
|
+
import Ze from "@mui/icons-material/AspectRatio";
|
|
22
|
+
import et from "@mui/icons-material/Palette";
|
|
23
|
+
import tt from "@mui/icons-material/PushPin";
|
|
24
|
+
import { B as q, a as se } from "./BaseText-Dxbk1JJa.js";
|
|
25
|
+
function Wa(e = {}) {
|
|
26
|
+
const { enabled: t = !0, returnTo: n } = e, r = M(null);
|
|
24
27
|
return E(() => {
|
|
25
|
-
t && (r.current =
|
|
26
|
-
}, [t,
|
|
28
|
+
t && (r.current = n || document.activeElement);
|
|
29
|
+
}, [t, n]), E(() => () => {
|
|
27
30
|
t && r.current && setTimeout(() => {
|
|
28
31
|
r.current?.focus?.();
|
|
29
32
|
}, 0);
|
|
30
33
|
}, [t]), r;
|
|
31
34
|
}
|
|
32
|
-
function
|
|
35
|
+
function Va(e) {
|
|
33
36
|
const {
|
|
34
37
|
items: t,
|
|
35
|
-
activeIndex:
|
|
38
|
+
activeIndex: n,
|
|
36
39
|
onActiveIndexChange: r,
|
|
37
40
|
loop: i = !0,
|
|
38
41
|
orientation: s = "vertical",
|
|
@@ -40,11 +43,11 @@ function Ha(e) {
|
|
|
40
43
|
isItemDisabled: o,
|
|
41
44
|
onSelect: u,
|
|
42
45
|
onEscape: m
|
|
43
|
-
} = e, [d, g] = A(-1), c =
|
|
46
|
+
} = e, [d, g] = A(-1), c = n !== void 0 ? n : d, p = C(
|
|
44
47
|
(h) => {
|
|
45
|
-
|
|
48
|
+
n === void 0 && g(h), r?.(h);
|
|
46
49
|
},
|
|
47
|
-
[
|
|
50
|
+
[n, r]
|
|
48
51
|
), b = C(() => t.map((h, v) => ({ item: h, index: v })).filter(({ item: h, index: v }) => !o?.(h, v)).map(({ index: h }) => h), [t, o]), k = C(
|
|
49
52
|
(h, v) => {
|
|
50
53
|
const N = b();
|
|
@@ -56,7 +59,7 @@ function Ha(e) {
|
|
|
56
59
|
return i ? P = (P + N.length) % N.length : P = Math.max(0, Math.min(N.length - 1, P)), N[P];
|
|
57
60
|
},
|
|
58
61
|
[b, i]
|
|
59
|
-
),
|
|
62
|
+
), _ = C(() => {
|
|
60
63
|
const h = b();
|
|
61
64
|
h.length > 0 && p(h[0]);
|
|
62
65
|
}, [b, p]), y = C(() => {
|
|
@@ -65,7 +68,7 @@ function Ha(e) {
|
|
|
65
68
|
}, [b, p]), T = C(() => {
|
|
66
69
|
const h = k(c, 1);
|
|
67
70
|
h !== -1 && p(h);
|
|
68
|
-
}, [c, k, p]),
|
|
71
|
+
}, [c, k, p]), w = C(() => {
|
|
69
72
|
const h = k(c, -1);
|
|
70
73
|
h !== -1 && p(h);
|
|
71
74
|
}, [c, k, p]), S = C(() => {
|
|
@@ -75,15 +78,15 @@ function Ha(e) {
|
|
|
75
78
|
if (!l) return;
|
|
76
79
|
const { key: v } = h, N = v === "ArrowUp" && (s === "vertical" || s === "both"), x = v === "ArrowDown" && (s === "vertical" || s === "both"), P = v === "ArrowLeft" && (s === "horizontal" || s === "both"), D = v === "ArrowRight" && (s === "horizontal" || s === "both");
|
|
77
80
|
if (N || P) {
|
|
78
|
-
h.preventDefault(), c === -1 ? y() :
|
|
81
|
+
h.preventDefault(), c === -1 ? y() : w();
|
|
79
82
|
return;
|
|
80
83
|
}
|
|
81
84
|
if (x || D) {
|
|
82
|
-
h.preventDefault(), c === -1 ?
|
|
85
|
+
h.preventDefault(), c === -1 ? _() : T();
|
|
83
86
|
return;
|
|
84
87
|
}
|
|
85
88
|
if (v === "Home") {
|
|
86
|
-
h.preventDefault(),
|
|
89
|
+
h.preventDefault(), _();
|
|
87
90
|
return;
|
|
88
91
|
}
|
|
89
92
|
if (v === "End") {
|
|
@@ -106,10 +109,10 @@ function Ha(e) {
|
|
|
106
109
|
s,
|
|
107
110
|
c,
|
|
108
111
|
t,
|
|
109
|
-
|
|
112
|
+
_,
|
|
110
113
|
y,
|
|
111
114
|
T,
|
|
112
|
-
|
|
115
|
+
w,
|
|
113
116
|
o,
|
|
114
117
|
u,
|
|
115
118
|
m
|
|
@@ -119,31 +122,31 @@ function Ha(e) {
|
|
|
119
122
|
focusedIndex: c,
|
|
120
123
|
setFocusedIndex: p,
|
|
121
124
|
handleKeyDown: R,
|
|
122
|
-
focusFirst:
|
|
125
|
+
focusFirst: _,
|
|
123
126
|
focusLast: y,
|
|
124
127
|
focusNext: T,
|
|
125
|
-
focusPrevious:
|
|
128
|
+
focusPrevious: w,
|
|
126
129
|
resetFocus: S
|
|
127
130
|
};
|
|
128
131
|
}
|
|
129
|
-
const
|
|
132
|
+
const at = ({
|
|
130
133
|
label: e = "Set a target",
|
|
131
134
|
unit: t,
|
|
132
|
-
currentValue:
|
|
135
|
+
currentValue: n,
|
|
133
136
|
onConfirm: r,
|
|
134
137
|
onSkip: i,
|
|
135
138
|
hint: s
|
|
136
139
|
}) => {
|
|
137
|
-
const [l, o] = A(
|
|
140
|
+
const [l, o] = A(n != null ? String(n) : ""), u = () => {
|
|
138
141
|
const p = parseFloat(l);
|
|
139
142
|
Number.isNaN(p) || r(p);
|
|
140
143
|
}, m = (p) => {
|
|
141
144
|
p.key === "Enter" ? (p.preventDefault(), u()) : p.key === "Escape" && (p.preventDefault(), i?.());
|
|
142
|
-
}, d =
|
|
145
|
+
}, d = Se(), g = `gloss-target-input-field-${d}`, c = s ? `gloss-target-input-hint-${d}` : void 0;
|
|
143
146
|
return /* @__PURE__ */ f("div", { className: "gloss-target-input", children: [
|
|
144
|
-
/* @__PURE__ */
|
|
147
|
+
/* @__PURE__ */ a("label", { className: "gloss-target-input__label", htmlFor: g, children: e }),
|
|
145
148
|
/* @__PURE__ */ f("div", { className: "gloss-target-input__field-row", children: [
|
|
146
|
-
/* @__PURE__ */
|
|
149
|
+
/* @__PURE__ */ a(
|
|
147
150
|
"input",
|
|
148
151
|
{
|
|
149
152
|
id: g,
|
|
@@ -156,11 +159,11 @@ const et = ({
|
|
|
156
159
|
autoFocus: !0
|
|
157
160
|
}
|
|
158
161
|
),
|
|
159
|
-
t && /* @__PURE__ */
|
|
162
|
+
t && /* @__PURE__ */ a("span", { className: "gloss-target-input__unit", children: t })
|
|
160
163
|
] }),
|
|
161
|
-
s && /* @__PURE__ */
|
|
164
|
+
s && /* @__PURE__ */ a("p", { id: c, className: "gloss-target-input__hint", children: s }),
|
|
162
165
|
/* @__PURE__ */ f("div", { className: "gloss-target-input__actions", children: [
|
|
163
|
-
/* @__PURE__ */
|
|
166
|
+
/* @__PURE__ */ a(
|
|
164
167
|
"button",
|
|
165
168
|
{
|
|
166
169
|
type: "button",
|
|
@@ -169,7 +172,7 @@ const et = ({
|
|
|
169
172
|
children: "Confirm"
|
|
170
173
|
}
|
|
171
174
|
),
|
|
172
|
-
i && /* @__PURE__ */
|
|
175
|
+
i && /* @__PURE__ */ a(
|
|
173
176
|
"button",
|
|
174
177
|
{
|
|
175
178
|
type: "button",
|
|
@@ -181,42 +184,42 @@ const et = ({
|
|
|
181
184
|
] })
|
|
182
185
|
] });
|
|
183
186
|
}, Z = (e) => {
|
|
184
|
-
},
|
|
187
|
+
}, nt = {
|
|
185
188
|
id: "entity-filter-1",
|
|
186
189
|
label: "Customer: Acme Corp",
|
|
187
190
|
field: "customer",
|
|
188
191
|
value: "acme-corp-123",
|
|
189
192
|
onRemove: Z
|
|
190
|
-
},
|
|
193
|
+
}, rt = {
|
|
191
194
|
id: "status-filter-1",
|
|
192
195
|
label: "Status: Open",
|
|
193
196
|
field: "status",
|
|
194
197
|
value: "open",
|
|
195
198
|
onRemove: Z
|
|
196
|
-
},
|
|
199
|
+
}, st = {
|
|
197
200
|
id: "date-filter-1",
|
|
198
201
|
label: "Date: Mar 1 - Mar 15",
|
|
199
202
|
field: "dateRange",
|
|
200
203
|
value: "2026-03-01..2026-03-15",
|
|
201
204
|
onRemove: Z
|
|
202
|
-
},
|
|
205
|
+
}, it = {
|
|
203
206
|
id: "mfg-filter-1",
|
|
204
207
|
label: "Manufacturer: Widget Co",
|
|
205
208
|
field: "manufacturer",
|
|
206
209
|
value: "widget-co-456",
|
|
207
210
|
onRemove: Z
|
|
208
|
-
},
|
|
209
|
-
tt,
|
|
210
|
-
at,
|
|
211
|
+
}, Ka = [
|
|
211
212
|
nt,
|
|
212
|
-
rt
|
|
213
|
-
|
|
213
|
+
rt,
|
|
214
|
+
st,
|
|
215
|
+
it
|
|
216
|
+
], ja = {
|
|
214
217
|
id: "metric-toggle",
|
|
215
218
|
tabs: [
|
|
216
219
|
{ id: "$", label: "$", mono: !0 },
|
|
217
220
|
{ id: "#", label: "#", mono: !0 }
|
|
218
221
|
]
|
|
219
|
-
},
|
|
222
|
+
}, Ua = {
|
|
220
223
|
id: "entity-type",
|
|
221
224
|
tabs: [
|
|
222
225
|
{ id: "orders", label: "Orders" },
|
|
@@ -224,7 +227,7 @@ const et = ({
|
|
|
224
227
|
{ id: "customers", label: "Customers" },
|
|
225
228
|
{ id: "manufacturers", label: "Manufacturers" }
|
|
226
229
|
]
|
|
227
|
-
},
|
|
230
|
+
}, qa = {
|
|
228
231
|
id: "time-frame",
|
|
229
232
|
tabs: [
|
|
230
233
|
{ id: "MTD", label: "MTD" },
|
|
@@ -232,30 +235,30 @@ const et = ({
|
|
|
232
235
|
{ id: "YTD", label: "YTD" },
|
|
233
236
|
{ id: "LYTD", label: "LYTD" }
|
|
234
237
|
]
|
|
235
|
-
},
|
|
238
|
+
}, Ya = [
|
|
236
239
|
{ variant: "block", width: "100%", height: 16 },
|
|
237
240
|
{ variant: "block", width: 200, height: 32, borderRadius: 8 },
|
|
238
241
|
{ variant: "block", width: "80%", height: 12, borderRadius: "4px" },
|
|
239
242
|
{ variant: "block", width: 120, height: 44, borderRadius: 22 }
|
|
240
|
-
],
|
|
243
|
+
], Qa = [
|
|
241
244
|
{ variant: "text", lines: 3, lineHeight: 14, gap: 8 },
|
|
242
245
|
{ variant: "text", lines: 2, lineHeight: 16, gap: 10 },
|
|
243
246
|
{ variant: "text", lines: 5, lineHeight: 12, gap: 6 }
|
|
244
|
-
],
|
|
247
|
+
], Xa = [
|
|
245
248
|
{ variant: "circle", size: 24 },
|
|
246
249
|
{ variant: "circle", size: 40 },
|
|
247
250
|
{ variant: "circle", size: 64 }
|
|
248
|
-
],
|
|
251
|
+
], Ja = [
|
|
249
252
|
{ bars: 10, maxHeight: 120 },
|
|
250
253
|
{ bars: 5, maxHeight: 80 }
|
|
251
|
-
],
|
|
254
|
+
], Za = [
|
|
252
255
|
{ rows: 5, columns: 3, hasCheckbox: !1, rowHeight: 44 },
|
|
253
256
|
{ rows: 8, columns: 5, hasCheckbox: !0, rowHeight: 44 }
|
|
254
|
-
],
|
|
257
|
+
], en = [
|
|
255
258
|
{ variant: "value", colSpan: 1 },
|
|
256
259
|
{ variant: "trend", colSpan: 2 },
|
|
257
260
|
{ variant: "target", colSpan: 1 }
|
|
258
|
-
],
|
|
261
|
+
], me = {
|
|
259
262
|
position: "fixed",
|
|
260
263
|
zIndex: 9999,
|
|
261
264
|
background: "rgba(255,255,255,0.92)",
|
|
@@ -267,7 +270,7 @@ const et = ({
|
|
|
267
270
|
minWidth: 148,
|
|
268
271
|
paddingTop: 4,
|
|
269
272
|
paddingBottom: 4
|
|
270
|
-
},
|
|
273
|
+
}, ie = (e) => ({
|
|
271
274
|
padding: "6px 12px",
|
|
272
275
|
fontSize: 12,
|
|
273
276
|
lineHeight: 1.4,
|
|
@@ -281,29 +284,29 @@ const et = ({
|
|
|
281
284
|
width: "100%",
|
|
282
285
|
textAlign: "left",
|
|
283
286
|
border: "none"
|
|
284
|
-
}),
|
|
285
|
-
...
|
|
287
|
+
}), lt = (e) => ({
|
|
288
|
+
...ie(e),
|
|
286
289
|
color: e ? "#4338ca" : "#4f46e5",
|
|
287
290
|
fontWeight: 600
|
|
288
|
-
}),
|
|
291
|
+
}), ot = {
|
|
289
292
|
height: 1,
|
|
290
293
|
background: "rgba(0,0,0,0.06)",
|
|
291
294
|
margin: "3px 10px"
|
|
292
295
|
};
|
|
293
|
-
function
|
|
296
|
+
function ct({
|
|
294
297
|
open: e,
|
|
295
298
|
anchorEl: t,
|
|
296
|
-
statusId:
|
|
299
|
+
statusId: n,
|
|
297
300
|
onOpenInTable: r,
|
|
298
301
|
onShowOnGraph: i,
|
|
299
302
|
overflowActions: s,
|
|
300
303
|
onClose: l
|
|
301
304
|
}) {
|
|
302
305
|
const [o, u] = A(null), m = M(null), d = C(() => {
|
|
303
|
-
if (!t) return { ...
|
|
306
|
+
if (!t) return { ...me, top: 0, left: 0 };
|
|
304
307
|
const p = t.getBoundingClientRect();
|
|
305
308
|
return {
|
|
306
|
-
...
|
|
309
|
+
...me,
|
|
307
310
|
top: p.bottom + 4,
|
|
308
311
|
left: p.left
|
|
309
312
|
};
|
|
@@ -325,47 +328,47 @@ function lt({
|
|
|
325
328
|
"div",
|
|
326
329
|
{
|
|
327
330
|
ref: m,
|
|
328
|
-
"data-status-chip-menu":
|
|
331
|
+
"data-status-chip-menu": n,
|
|
329
332
|
role: "menu",
|
|
330
333
|
"aria-label": "Status actions",
|
|
331
334
|
style: d(),
|
|
332
335
|
children: [
|
|
333
|
-
/* @__PURE__ */
|
|
336
|
+
/* @__PURE__ */ a(
|
|
334
337
|
"button",
|
|
335
338
|
{
|
|
336
339
|
role: "menuitem",
|
|
337
|
-
style:
|
|
340
|
+
style: lt(o === "__primary"),
|
|
338
341
|
onMouseEnter: () => u("__primary"),
|
|
339
342
|
onMouseLeave: () => u(null),
|
|
340
343
|
onClick: () => {
|
|
341
|
-
r(
|
|
344
|
+
r(n), l();
|
|
342
345
|
},
|
|
343
346
|
children: "Open in table"
|
|
344
347
|
}
|
|
345
348
|
),
|
|
346
|
-
/* @__PURE__ */
|
|
349
|
+
/* @__PURE__ */ a(
|
|
347
350
|
"button",
|
|
348
351
|
{
|
|
349
352
|
role: "menuitem",
|
|
350
|
-
style:
|
|
353
|
+
style: ie(o === "__graph"),
|
|
351
354
|
onMouseEnter: () => u("__graph"),
|
|
352
355
|
onMouseLeave: () => u(null),
|
|
353
356
|
onClick: () => {
|
|
354
|
-
i(
|
|
357
|
+
i(n), l();
|
|
355
358
|
},
|
|
356
359
|
children: "Show on graph"
|
|
357
360
|
}
|
|
358
361
|
),
|
|
359
|
-
g && /* @__PURE__ */
|
|
360
|
-
g && s?.map((p) => /* @__PURE__ */
|
|
362
|
+
g && /* @__PURE__ */ a("div", { style: ot }),
|
|
363
|
+
g && s?.map((p) => /* @__PURE__ */ a(
|
|
361
364
|
"button",
|
|
362
365
|
{
|
|
363
366
|
role: "menuitem",
|
|
364
|
-
style:
|
|
367
|
+
style: ie(o === p.id),
|
|
365
368
|
onMouseEnter: () => u(p.id),
|
|
366
369
|
onMouseLeave: () => u(null),
|
|
367
370
|
onClick: () => {
|
|
368
|
-
p.onSelect(
|
|
371
|
+
p.onSelect(n), l();
|
|
369
372
|
},
|
|
370
373
|
children: p.label
|
|
371
374
|
},
|
|
@@ -374,17 +377,17 @@ function lt({
|
|
|
374
377
|
]
|
|
375
378
|
}
|
|
376
379
|
);
|
|
377
|
-
return
|
|
380
|
+
return xe(c, document.body);
|
|
378
381
|
}
|
|
379
|
-
|
|
380
|
-
function
|
|
382
|
+
ct.displayName = "StatusSlotChipMenu";
|
|
383
|
+
function dt({
|
|
381
384
|
visible: e,
|
|
382
385
|
targetColSpan: t,
|
|
383
|
-
ghostWidth:
|
|
386
|
+
ghostWidth: n,
|
|
384
387
|
enterMs: r = 180,
|
|
385
388
|
exitMs: i = 120
|
|
386
389
|
}) {
|
|
387
|
-
return /* @__PURE__ */
|
|
390
|
+
return /* @__PURE__ */ a(
|
|
388
391
|
B.div,
|
|
389
392
|
{
|
|
390
393
|
"aria-hidden": "true",
|
|
@@ -395,21 +398,20 @@ function ot({
|
|
|
395
398
|
e ? "gloss-ghost-preview--visible" : ""
|
|
396
399
|
].filter(Boolean).join(" "),
|
|
397
400
|
style: {
|
|
398
|
-
width:
|
|
401
|
+
width: n,
|
|
399
402
|
transitionDuration: `${e ? r : i}ms`
|
|
400
403
|
}
|
|
401
404
|
}
|
|
402
405
|
);
|
|
403
406
|
}
|
|
404
|
-
|
|
405
|
-
const
|
|
406
|
-
// Spring (D-08)
|
|
407
|
-
//
|
|
408
|
-
//
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
mass: 1,
|
|
407
|
+
dt.displayName = "GhostPreview";
|
|
408
|
+
const ut = {
|
|
409
|
+
// Spring (D-08) — sourced from @mt-gloss/motion RESIZE_COMMIT_SPRING. Retuned
|
|
410
|
+
// 260419 (damping 35 → 22) for visible overshoot (ζ ≈ 0.49, ~13–17%, ~350ms
|
|
411
|
+
// settle); debug slug 260419-resize-integration-broken (Fix E).
|
|
412
|
+
stiffness: te.stiffness,
|
|
413
|
+
damping: te.damping,
|
|
414
|
+
mass: te.mass,
|
|
413
415
|
// Hysteresis (D-06) — expressed as fractions of GRID_STEP
|
|
414
416
|
snapInFraction: 1 / 3,
|
|
415
417
|
snapOutFraction: 1 / 2,
|
|
@@ -422,7 +424,7 @@ const ct = {
|
|
|
422
424
|
// Velocity multiplier (D-03b panel)
|
|
423
425
|
velocityMultiplier: 1
|
|
424
426
|
};
|
|
425
|
-
class
|
|
427
|
+
class tn {
|
|
426
428
|
constructor() {
|
|
427
429
|
this.samples = [], this.capacity = 3;
|
|
428
430
|
}
|
|
@@ -463,11 +465,11 @@ class Za {
|
|
|
463
465
|
const [u, m] = this.samples, d = Math.max(1, m.t - u.t);
|
|
464
466
|
return (m.x - u.x) / d * 1e3;
|
|
465
467
|
}
|
|
466
|
-
const [
|
|
468
|
+
const [n, r, i] = this.samples, s = (i.x - r.x) / Math.max(1, i.t - r.t) * 1e3, l = (r.x - n.x) / Math.max(1, r.t - n.t) * 1e3, o = l;
|
|
467
469
|
return (s * 3 + l * 2 + o * 1) / 6;
|
|
468
470
|
}
|
|
469
471
|
}
|
|
470
|
-
const
|
|
472
|
+
const K = {
|
|
471
473
|
// Cascade (D-08, D-10)
|
|
472
474
|
staggerMs: 50,
|
|
473
475
|
reverseStaggerMs: 30,
|
|
@@ -491,7 +493,7 @@ const V = {
|
|
|
491
493
|
sectionDividerFadeInMs: 120,
|
|
492
494
|
sectionDividerFadeOutMs: 80,
|
|
493
495
|
sectionDividerStaggerMs: 40
|
|
494
|
-
},
|
|
496
|
+
}, Te = {
|
|
495
497
|
// Geometry (D-08)
|
|
496
498
|
pillOverhangPx: 12,
|
|
497
499
|
pillClearancePx: 14,
|
|
@@ -510,11 +512,11 @@ const V = {
|
|
|
510
512
|
chainPulseMs: 1200,
|
|
511
513
|
chainStaggerMs: 120
|
|
512
514
|
};
|
|
513
|
-
function
|
|
514
|
-
const { visible: t, currentTarget:
|
|
515
|
+
function Re(e) {
|
|
516
|
+
const { visible: t, currentTarget: n, previewTarget: r, targetWidth: i, orientation: s } = e, l = Ke(i);
|
|
515
517
|
return E(() => {
|
|
516
518
|
l.set(i);
|
|
517
|
-
}, [i, l]), !t || r ===
|
|
519
|
+
}, [i, l]), !t || r === n ? null : /* @__PURE__ */ a(
|
|
518
520
|
B.div,
|
|
519
521
|
{
|
|
520
522
|
"aria-hidden": "true",
|
|
@@ -548,11 +550,11 @@ function Te(e) {
|
|
|
548
550
|
}
|
|
549
551
|
);
|
|
550
552
|
}
|
|
551
|
-
|
|
552
|
-
function
|
|
553
|
+
Re.displayName = "ResizePillGhost";
|
|
554
|
+
function Me(e) {
|
|
553
555
|
const {
|
|
554
556
|
visible: t,
|
|
555
|
-
direction:
|
|
557
|
+
direction: n,
|
|
556
558
|
pillClearancePx: r,
|
|
557
559
|
ghostClearancePx: i,
|
|
558
560
|
startX: s,
|
|
@@ -561,13 +563,13 @@ function Re(e) {
|
|
|
561
563
|
staggerMs: u
|
|
562
564
|
} = e;
|
|
563
565
|
if (!t) return null;
|
|
564
|
-
const m =
|
|
565
|
-
return /* @__PURE__ */
|
|
566
|
+
const m = n === "grow", d = m ? s + r : s + i, g = m ? l - i : l - r, c = Math.max(0, g - d);
|
|
567
|
+
return /* @__PURE__ */ a(
|
|
566
568
|
"div",
|
|
567
569
|
{
|
|
568
570
|
"aria-hidden": "true",
|
|
569
571
|
"data-resize-pill-chain": "visible",
|
|
570
|
-
"data-resize-pill-chain-direction":
|
|
572
|
+
"data-resize-pill-chain-direction": n,
|
|
571
573
|
className: "gloss-resize-pill-chain",
|
|
572
574
|
style: {
|
|
573
575
|
// Match prototype line 384: top:0, height:'100%', display:flex,
|
|
@@ -581,15 +583,15 @@ function Re(e) {
|
|
|
581
583
|
left: d,
|
|
582
584
|
width: c
|
|
583
585
|
},
|
|
584
|
-
children: (
|
|
586
|
+
children: (n === "grow" ? [0, 1, 2, 3, 4] : [4, 3, 2, 1, 0]).map((b, k) => /* @__PURE__ */ a(
|
|
585
587
|
B.span,
|
|
586
588
|
{
|
|
587
589
|
className: [
|
|
588
590
|
"gloss-resize-pill-chain__chevron",
|
|
589
|
-
|
|
591
|
+
n === "shrink" ? "gloss-resize-pill-chain__chevron--shrink" : ""
|
|
590
592
|
].filter(Boolean).join(" "),
|
|
591
593
|
style: {
|
|
592
|
-
transform:
|
|
594
|
+
transform: n === "shrink" ? "scaleX(-1)" : void 0
|
|
593
595
|
},
|
|
594
596
|
animate: { opacity: [0.2, 1, 0.2] },
|
|
595
597
|
transition: {
|
|
@@ -605,13 +607,13 @@ function Re(e) {
|
|
|
605
607
|
}
|
|
606
608
|
);
|
|
607
609
|
}
|
|
608
|
-
|
|
609
|
-
const
|
|
610
|
-
function
|
|
611
|
-
const
|
|
610
|
+
Me.displayName = "ResizePillArrowChain";
|
|
611
|
+
const pe = 3;
|
|
612
|
+
function ge({ filled: e, total: t }) {
|
|
613
|
+
const n = [];
|
|
612
614
|
for (let r = 0; r < t; r++)
|
|
613
|
-
|
|
614
|
-
/* @__PURE__ */
|
|
615
|
+
n.push(
|
|
616
|
+
/* @__PURE__ */ a(
|
|
615
617
|
"span",
|
|
616
618
|
{
|
|
617
619
|
className: [
|
|
@@ -622,13 +624,13 @@ function pe({ filled: e, total: t }) {
|
|
|
622
624
|
r
|
|
623
625
|
)
|
|
624
626
|
);
|
|
625
|
-
return /* @__PURE__ */
|
|
627
|
+
return /* @__PURE__ */ a("span", { className: "gloss-resize-pill-tooltip__matrix", children: n });
|
|
626
628
|
}
|
|
627
|
-
function
|
|
629
|
+
function he(e) {
|
|
628
630
|
return e === "compact" ? "Compact" : e === "medium" ? "Medium" : e === "full" ? "Full" : String(e);
|
|
629
631
|
}
|
|
630
|
-
function
|
|
631
|
-
const { visible: t, currentTarget:
|
|
632
|
+
function Pe(e) {
|
|
633
|
+
const { visible: t, currentTarget: n, previewTarget: r, mode: i, showSizeTooltip: s = !0 } = e;
|
|
632
634
|
return !t || s === !1 ? null : /* @__PURE__ */ f(
|
|
633
635
|
B.div,
|
|
634
636
|
{
|
|
@@ -642,34 +644,34 @@ function Me(e) {
|
|
|
642
644
|
transition: { duration: 0.18 },
|
|
643
645
|
children: [
|
|
644
646
|
i === "directional" && /* @__PURE__ */ f(I, { children: [
|
|
645
|
-
/* @__PURE__ */
|
|
646
|
-
|
|
647
|
+
/* @__PURE__ */ a(
|
|
648
|
+
ge,
|
|
647
649
|
{
|
|
648
|
-
filled: typeof
|
|
649
|
-
total:
|
|
650
|
+
filled: typeof n == "number" ? n : 1,
|
|
651
|
+
total: pe
|
|
650
652
|
}
|
|
651
653
|
),
|
|
652
|
-
/* @__PURE__ */
|
|
653
|
-
/* @__PURE__ */
|
|
654
|
-
|
|
654
|
+
/* @__PURE__ */ a("span", { className: "gloss-resize-pill-tooltip__arrow", children: "→" }),
|
|
655
|
+
/* @__PURE__ */ a(
|
|
656
|
+
ge,
|
|
655
657
|
{
|
|
656
658
|
filled: typeof r == "number" ? r : 1,
|
|
657
|
-
total:
|
|
659
|
+
total: pe
|
|
658
660
|
}
|
|
659
661
|
)
|
|
660
662
|
] }),
|
|
661
663
|
i === "sized" && /* @__PURE__ */ f(I, { children: [
|
|
662
|
-
/* @__PURE__ */
|
|
663
|
-
/* @__PURE__ */
|
|
664
|
-
/* @__PURE__ */
|
|
664
|
+
/* @__PURE__ */ a("span", { className: "gloss-resize-pill-tooltip__label", children: he(n) }),
|
|
665
|
+
/* @__PURE__ */ a("span", { className: "gloss-resize-pill-tooltip__arrow", children: "→" }),
|
|
666
|
+
/* @__PURE__ */ a("span", { className: "gloss-resize-pill-tooltip__label", children: he(r) })
|
|
665
667
|
] })
|
|
666
668
|
]
|
|
667
669
|
}
|
|
668
670
|
);
|
|
669
671
|
}
|
|
670
|
-
|
|
671
|
-
function
|
|
672
|
-
return /* @__PURE__ */
|
|
672
|
+
Pe.displayName = "ResizePillSizeTooltip";
|
|
673
|
+
function mt({ direction: e }) {
|
|
674
|
+
return /* @__PURE__ */ a(
|
|
673
675
|
"svg",
|
|
674
676
|
{
|
|
675
677
|
width: 14,
|
|
@@ -681,12 +683,12 @@ function dt({ direction: e }) {
|
|
|
681
683
|
strokeLinecap: "round",
|
|
682
684
|
strokeLinejoin: "round",
|
|
683
685
|
"aria-hidden": "true",
|
|
684
|
-
children: /* @__PURE__ */
|
|
686
|
+
children: /* @__PURE__ */ a("g", { transform: e === "left" ? "scale(-1, 1) translate(-14, 0)" : void 0, children: /* @__PURE__ */ a("path", { d: "M5.5 3 L9.5 7 L5.5 11" }) })
|
|
685
687
|
}
|
|
686
688
|
);
|
|
687
689
|
}
|
|
688
|
-
function
|
|
689
|
-
return /* @__PURE__ */
|
|
690
|
+
function pt() {
|
|
691
|
+
return /* @__PURE__ */ a(
|
|
690
692
|
"svg",
|
|
691
693
|
{
|
|
692
694
|
width: 14,
|
|
@@ -698,13 +700,13 @@ function ut() {
|
|
|
698
700
|
strokeLinecap: "round",
|
|
699
701
|
strokeLinejoin: "round",
|
|
700
702
|
"aria-hidden": "true",
|
|
701
|
-
children: /* @__PURE__ */
|
|
703
|
+
children: /* @__PURE__ */ a("path", { d: "M3 7.5 L6 10.5 L11 4.5" })
|
|
702
704
|
}
|
|
703
705
|
);
|
|
704
706
|
}
|
|
705
|
-
function
|
|
707
|
+
function gt({ target: e }) {
|
|
706
708
|
const t = e === "compact" ? 5 : e === "medium" ? 9 : 13;
|
|
707
|
-
return /* @__PURE__ */
|
|
709
|
+
return /* @__PURE__ */ a(
|
|
708
710
|
"svg",
|
|
709
711
|
{
|
|
710
712
|
width: 14,
|
|
@@ -712,14 +714,14 @@ function mt({ target: e }) {
|
|
|
712
714
|
viewBox: "0 0 14 14",
|
|
713
715
|
fill: "currentColor",
|
|
714
716
|
"aria-hidden": "true",
|
|
715
|
-
children: /* @__PURE__ */
|
|
717
|
+
children: /* @__PURE__ */ a("rect", { x: (14 - t) / 2, y: 5, width: t, height: 4, rx: 1 })
|
|
716
718
|
}
|
|
717
719
|
);
|
|
718
720
|
}
|
|
719
|
-
function
|
|
721
|
+
function ht(e) {
|
|
720
722
|
const {
|
|
721
723
|
target: t,
|
|
722
|
-
currentTarget:
|
|
724
|
+
currentTarget: n,
|
|
723
725
|
mode: r,
|
|
724
726
|
isActive: i,
|
|
725
727
|
isHovered: s,
|
|
@@ -731,10 +733,10 @@ function pt(e) {
|
|
|
731
733
|
} = e;
|
|
732
734
|
let g = null;
|
|
733
735
|
if (r === "directional") {
|
|
734
|
-
const c = typeof t == "number" && typeof
|
|
735
|
-
g = /* @__PURE__ */
|
|
736
|
+
const c = typeof t == "number" && typeof n == "number" && t < n ? "left" : "right";
|
|
737
|
+
g = /* @__PURE__ */ a(mt, { direction: c });
|
|
736
738
|
} else
|
|
737
|
-
g = /* @__PURE__ */
|
|
739
|
+
g = /* @__PURE__ */ a(gt, { target: t });
|
|
738
740
|
return /* @__PURE__ */ f(
|
|
739
741
|
"button",
|
|
740
742
|
{
|
|
@@ -754,22 +756,22 @@ function pt(e) {
|
|
|
754
756
|
onPointerLeave: () => u?.(),
|
|
755
757
|
"aria-label": `Resize to ${String(t)}`,
|
|
756
758
|
children: [
|
|
757
|
-
/* @__PURE__ */
|
|
758
|
-
/* @__PURE__ */
|
|
759
|
+
/* @__PURE__ */ a("span", { className: "gloss-resize-pill__glyph", children: g }),
|
|
760
|
+
/* @__PURE__ */ a("span", { className: "gloss-resize-pill__check", children: /* @__PURE__ */ a(pt, {}) })
|
|
759
761
|
]
|
|
760
762
|
}
|
|
761
763
|
);
|
|
762
764
|
}
|
|
763
|
-
const
|
|
765
|
+
const ft = ({
|
|
764
766
|
ref: e,
|
|
765
767
|
...t
|
|
766
768
|
}) => {
|
|
767
|
-
const
|
|
768
|
-
...
|
|
769
|
+
const n = {
|
|
770
|
+
...Te,
|
|
769
771
|
...t.physics
|
|
770
772
|
}, r = t.pillVisible && !t.forceIdle && t.resizePillEnabled !== !1, i = t.availableTargets, s = t.orientation ?? "vertical", l = t.buttonHover !== null && t.previewTarget !== void 0 && t.previewTarget !== null && t.previewTarget !== t.currentTarget && !t.forceIdle && t.resizePillEnabled !== !1, o = l && t.previewTarget != null ? t.resolveTargetWidth(t.previewTarget) : t.hostWidth, u = t.chainStartX ?? 0, m = t.chainEndX ?? t.hostWidth, d = t.chainDirection ?? "grow";
|
|
771
|
-
return /* @__PURE__ */ f(
|
|
772
|
-
r && /* @__PURE__ */
|
|
773
|
+
return /* @__PURE__ */ f(je, { children: [
|
|
774
|
+
r && /* @__PURE__ */ a(
|
|
773
775
|
B.div,
|
|
774
776
|
{
|
|
775
777
|
ref: e,
|
|
@@ -792,11 +794,11 @@ const gt = ({
|
|
|
792
794
|
initial: { opacity: 0 },
|
|
793
795
|
animate: { opacity: 1 },
|
|
794
796
|
exit: { opacity: 0 },
|
|
795
|
-
transition: { duration:
|
|
797
|
+
transition: { duration: n.pillRevealMs / 1e3 },
|
|
796
798
|
onPointerEnter: t.onPillEnter,
|
|
797
799
|
onPointerLeave: t.onPillLeave,
|
|
798
|
-
children: i.map((g) => /* @__PURE__ */
|
|
799
|
-
|
|
800
|
+
children: i.map((g) => /* @__PURE__ */ a(
|
|
801
|
+
ht,
|
|
800
802
|
{
|
|
801
803
|
target: g,
|
|
802
804
|
currentTarget: t.currentTarget,
|
|
@@ -809,43 +811,43 @@ const gt = ({
|
|
|
809
811
|
onCommit: t.onCommit,
|
|
810
812
|
onEnter: t.onButtonEnter,
|
|
811
813
|
onLeave: t.onButtonLeave,
|
|
812
|
-
buttonHeight:
|
|
813
|
-
buttonWidth:
|
|
814
|
+
buttonHeight: n.pillButtonHeight,
|
|
815
|
+
buttonWidth: n.pillButtonWidth
|
|
814
816
|
},
|
|
815
817
|
String(g)
|
|
816
818
|
))
|
|
817
819
|
},
|
|
818
820
|
"pill"
|
|
819
821
|
),
|
|
820
|
-
r && l && t.previewTarget != null && /* @__PURE__ */
|
|
821
|
-
|
|
822
|
+
r && l && t.previewTarget != null && /* @__PURE__ */ a(
|
|
823
|
+
Re,
|
|
822
824
|
{
|
|
823
825
|
visible: !0,
|
|
824
826
|
currentTarget: t.currentTarget,
|
|
825
827
|
previewTarget: t.previewTarget,
|
|
826
828
|
hostWidth: t.hostWidth,
|
|
827
829
|
targetWidth: o,
|
|
828
|
-
ghostClearancePx:
|
|
830
|
+
ghostClearancePx: n.ghostClearancePx,
|
|
829
831
|
orientation: s
|
|
830
832
|
},
|
|
831
833
|
"ghost"
|
|
832
834
|
),
|
|
833
|
-
r && l && /* @__PURE__ */
|
|
834
|
-
|
|
835
|
+
r && l && /* @__PURE__ */ a(
|
|
836
|
+
Me,
|
|
835
837
|
{
|
|
836
838
|
visible: !0,
|
|
837
839
|
direction: d,
|
|
838
|
-
pillClearancePx:
|
|
839
|
-
ghostClearancePx:
|
|
840
|
+
pillClearancePx: n.pillClearancePx,
|
|
841
|
+
ghostClearancePx: n.ghostClearancePx,
|
|
840
842
|
startX: u,
|
|
841
843
|
endX: m,
|
|
842
|
-
pulseMs:
|
|
843
|
-
staggerMs:
|
|
844
|
+
pulseMs: n.chainPulseMs,
|
|
845
|
+
staggerMs: n.chainStaggerMs
|
|
844
846
|
},
|
|
845
847
|
"chain"
|
|
846
848
|
),
|
|
847
|
-
r && l && t.showSizeTooltip && t.previewTarget != null && /* @__PURE__ */
|
|
848
|
-
|
|
849
|
+
r && l && t.showSizeTooltip && t.previewTarget != null && /* @__PURE__ */ a(
|
|
850
|
+
Pe,
|
|
849
851
|
{
|
|
850
852
|
visible: !0,
|
|
851
853
|
currentTarget: t.currentTarget,
|
|
@@ -857,12 +859,12 @@ const gt = ({
|
|
|
857
859
|
)
|
|
858
860
|
] });
|
|
859
861
|
};
|
|
860
|
-
|
|
861
|
-
function
|
|
862
|
+
ft.displayName = "ResizePill";
|
|
863
|
+
function an(e) {
|
|
862
864
|
const t = {
|
|
863
|
-
...
|
|
865
|
+
...Te,
|
|
864
866
|
...e.physics
|
|
865
|
-
}, [
|
|
867
|
+
}, [n, r] = A("idle"), [i, s] = A(e.currentTarget), [l, o] = A(null), u = M(!1), m = M(null), d = M(null), g = M(e.currentTarget);
|
|
866
868
|
g.current = e.currentTarget;
|
|
867
869
|
const c = M(e.onCommit);
|
|
868
870
|
c.current = e.onCommit;
|
|
@@ -870,15 +872,15 @@ function en(e) {
|
|
|
870
872
|
p.current = e.forceIdle;
|
|
871
873
|
const b = M(e.onPhaseChange);
|
|
872
874
|
b.current = e.onPhaseChange, E(() => {
|
|
873
|
-
b.current?.(
|
|
874
|
-
}, [
|
|
875
|
+
b.current?.(n);
|
|
876
|
+
}, [n]), E(() => {
|
|
875
877
|
e.forceIdle && (d.current && (clearTimeout(d.current), d.current = null), r("idle"), o(null));
|
|
876
878
|
}, [e.forceIdle]), E(() => () => {
|
|
877
879
|
m.current && clearTimeout(m.current), d.current && clearTimeout(d.current);
|
|
878
880
|
}, []);
|
|
879
881
|
const k = C(() => {
|
|
880
882
|
u.current || p.current || (s(g.current), r("pill-visible"));
|
|
881
|
-
}, []),
|
|
883
|
+
}, []), _ = C(() => {
|
|
882
884
|
r("idle"), o(null);
|
|
883
885
|
}, []), y = C(
|
|
884
886
|
(D) => {
|
|
@@ -889,17 +891,17 @@ function en(e) {
|
|
|
889
891
|
[t.fadeGraceMs]
|
|
890
892
|
), T = C(() => {
|
|
891
893
|
d.current && (clearTimeout(d.current), d.current = null), k();
|
|
892
|
-
}, [k]),
|
|
894
|
+
}, [k]), w = C(() => {
|
|
893
895
|
d.current && clearTimeout(d.current), d.current = setTimeout(() => {
|
|
894
|
-
|
|
896
|
+
_(), d.current = null;
|
|
895
897
|
}, t.hoverHideGraceMs);
|
|
896
|
-
}, [
|
|
898
|
+
}, [_, t.hoverHideGraceMs]), S = C(() => {
|
|
897
899
|
d.current && (clearTimeout(d.current), d.current = null);
|
|
898
900
|
}, []), R = C(() => {
|
|
899
901
|
d.current && clearTimeout(d.current), d.current = setTimeout(() => {
|
|
900
|
-
|
|
902
|
+
_(), d.current = null;
|
|
901
903
|
}, t.hoverHideGraceMs);
|
|
902
|
-
}, [
|
|
904
|
+
}, [_, t.hoverHideGraceMs]), h = C((D) => {
|
|
903
905
|
const F = g.current;
|
|
904
906
|
let z;
|
|
905
907
|
D === "compact" || D === "medium" || D === "full" ? z = D : typeof F == "number" && typeof D == "number" ? z = D > F ? "grow" : "shrink" : z = "grow", o(z), r("pre-commit");
|
|
@@ -913,14 +915,14 @@ function en(e) {
|
|
|
913
915
|
);
|
|
914
916
|
let x = null;
|
|
915
917
|
return l !== null && (l === "compact" || l === "medium" || l === "full" ? (x = l, x === e.currentTarget && (x = null)) : l === "grow" && typeof e.currentTarget == "number" ? x = e.currentTarget + 1 : l === "shrink" && typeof e.currentTarget == "number" && (x = e.currentTarget - 1)), {
|
|
916
|
-
phase:
|
|
917
|
-
pillVisible:
|
|
918
|
+
phase: n,
|
|
919
|
+
pillVisible: n === "pill-visible" || n === "pre-commit",
|
|
918
920
|
pillSpan: i,
|
|
919
921
|
buttonHover: l,
|
|
920
922
|
previewTarget: x,
|
|
921
923
|
handlers: {
|
|
922
924
|
onTriggerEnter: T,
|
|
923
|
-
onTriggerLeave:
|
|
925
|
+
onTriggerLeave: w,
|
|
924
926
|
onPillEnter: S,
|
|
925
927
|
onPillLeave: R,
|
|
926
928
|
onButtonEnter: h,
|
|
@@ -930,14 +932,14 @@ function en(e) {
|
|
|
930
932
|
commit: y
|
|
931
933
|
};
|
|
932
934
|
}
|
|
933
|
-
function
|
|
934
|
-
const { cardWidthPx: t, slotCount:
|
|
935
|
-
if (r == null || !Number.isFinite(t) || t <= 0 || !Number.isFinite(
|
|
935
|
+
function nn(e) {
|
|
936
|
+
const { cardWidthPx: t, slotCount: n, activeSlotIdx: r, pillWidthPx: i } = e;
|
|
937
|
+
if (r == null || !Number.isFinite(t) || t <= 0 || !Number.isFinite(n) || n <= 0 || !Number.isInteger(r) || r < 0 || r >= n)
|
|
936
938
|
return;
|
|
937
|
-
const s = (r + 0.5) * (t /
|
|
939
|
+
const s = (r + 0.5) * (t / n);
|
|
938
940
|
return i != null && Number.isFinite(i) && i > 0 ? s - i / 2 : s;
|
|
939
941
|
}
|
|
940
|
-
const
|
|
942
|
+
const rn = [
|
|
941
943
|
// 1. Standard: Total Revenue
|
|
942
944
|
{
|
|
943
945
|
variant: "standard",
|
|
@@ -1069,24 +1071,24 @@ const an = [
|
|
|
1069
1071
|
subtitle: "Awaiting QA",
|
|
1070
1072
|
highlightColor: "neutral"
|
|
1071
1073
|
}
|
|
1072
|
-
],
|
|
1074
|
+
], bt = {
|
|
1073
1075
|
variant: "standard",
|
|
1074
1076
|
label: "Total Revenue",
|
|
1075
1077
|
isLoading: !0
|
|
1076
|
-
},
|
|
1078
|
+
}, vt = {
|
|
1077
1079
|
variant: "standard",
|
|
1078
1080
|
label: "Total Revenue",
|
|
1079
1081
|
value: 125430,
|
|
1080
1082
|
valueFormat: { prefix: "$", abbreviated: !0 },
|
|
1081
1083
|
isError: !0
|
|
1082
|
-
},
|
|
1084
|
+
}, yt = {
|
|
1083
1085
|
variant: "standard",
|
|
1084
1086
|
label: "Total Revenue",
|
|
1085
1087
|
value: null,
|
|
1086
1088
|
valueFormat: { prefix: "$", abbreviated: !0 },
|
|
1087
1089
|
isEmpty: !0,
|
|
1088
1090
|
subtitle: "No data"
|
|
1089
|
-
},
|
|
1091
|
+
}, _t = {
|
|
1090
1092
|
variant: "standard",
|
|
1091
1093
|
label: "Total Revenue",
|
|
1092
1094
|
value: 125430,
|
|
@@ -1094,7 +1096,7 @@ const an = [
|
|
|
1094
1096
|
trend: { value: 12.5, direction: "up" },
|
|
1095
1097
|
subtitle: "MTD",
|
|
1096
1098
|
isStale: !0
|
|
1097
|
-
},
|
|
1099
|
+
}, wt = {
|
|
1098
1100
|
variant: "sparkline",
|
|
1099
1101
|
label: "Daily Orders",
|
|
1100
1102
|
value: 847,
|
|
@@ -1103,7 +1105,7 @@ const an = [
|
|
|
1103
1105
|
sparklineData: [42, 38, 51, 47, 55, 60, 58, 63, 57, 62, 68, 71, 65, 59],
|
|
1104
1106
|
accentColor: "#6366f1",
|
|
1105
1107
|
isStale: !0
|
|
1106
|
-
},
|
|
1108
|
+
}, Ct = {
|
|
1107
1109
|
variant: "donut",
|
|
1108
1110
|
label: "Order Fill Rate",
|
|
1109
1111
|
value: 78,
|
|
@@ -1114,14 +1116,14 @@ const an = [
|
|
|
1114
1116
|
donutMax: 100,
|
|
1115
1117
|
accentColor: "#10b981",
|
|
1116
1118
|
isStale: !0
|
|
1117
|
-
},
|
|
1118
|
-
ht,
|
|
1119
|
-
ft,
|
|
1119
|
+
}, sn = [
|
|
1120
1120
|
bt,
|
|
1121
1121
|
vt,
|
|
1122
1122
|
yt,
|
|
1123
|
-
|
|
1124
|
-
|
|
1123
|
+
_t,
|
|
1124
|
+
wt,
|
|
1125
|
+
Ct
|
|
1126
|
+
], ln = {
|
|
1125
1127
|
variant: "sparkline",
|
|
1126
1128
|
label: "Daily Orders",
|
|
1127
1129
|
value: 847,
|
|
@@ -1144,7 +1146,7 @@ const an = [
|
|
|
1144
1146
|
59
|
|
1145
1147
|
],
|
|
1146
1148
|
accentColor: "#6366f1"
|
|
1147
|
-
},
|
|
1149
|
+
}, on = {
|
|
1148
1150
|
variant: "sparkline",
|
|
1149
1151
|
label: "New Customers",
|
|
1150
1152
|
value: 23,
|
|
@@ -1183,21 +1185,21 @@ const an = [
|
|
|
1183
1185
|
19
|
|
1184
1186
|
],
|
|
1185
1187
|
accentColor: "#10b981"
|
|
1186
|
-
},
|
|
1188
|
+
}, cn = {
|
|
1187
1189
|
variant: "standard",
|
|
1188
1190
|
label: "Total Revenue",
|
|
1189
1191
|
value: 125430,
|
|
1190
1192
|
valueFormat: { prefix: "$", abbreviated: !0 },
|
|
1191
1193
|
trend: { value: 12.5, direction: "up" },
|
|
1192
1194
|
subtitle: "MTD"
|
|
1193
|
-
},
|
|
1195
|
+
}, dn = {
|
|
1194
1196
|
variant: "standard",
|
|
1195
1197
|
label: "Returns",
|
|
1196
1198
|
value: 3280,
|
|
1197
1199
|
valueFormat: { prefix: "$", abbreviated: !0 },
|
|
1198
1200
|
trend: { value: -8.3, direction: "down" },
|
|
1199
1201
|
subtitle: "MTD"
|
|
1200
|
-
},
|
|
1202
|
+
}, un = {
|
|
1201
1203
|
variant: "standard",
|
|
1202
1204
|
label: "Avg Order Value",
|
|
1203
1205
|
value: 487,
|
|
@@ -1205,10 +1207,10 @@ const an = [
|
|
|
1205
1207
|
trend: { value: 0, direction: "flat" },
|
|
1206
1208
|
subtitle: "QTD"
|
|
1207
1209
|
};
|
|
1208
|
-
function
|
|
1210
|
+
function Ae({
|
|
1209
1211
|
open: e,
|
|
1210
1212
|
onDismiss: t,
|
|
1211
|
-
anchorRef:
|
|
1213
|
+
anchorRef: n,
|
|
1212
1214
|
pages: r,
|
|
1213
1215
|
activePageId: i,
|
|
1214
1216
|
onPageChange: s,
|
|
@@ -1231,7 +1233,7 @@ function Pe({
|
|
|
1231
1233
|
o(), t();
|
|
1232
1234
|
}, [o, t]);
|
|
1233
1235
|
return /* @__PURE__ */ f(
|
|
1234
|
-
|
|
1236
|
+
Ye,
|
|
1235
1237
|
{
|
|
1236
1238
|
definition: {
|
|
1237
1239
|
placement: "bottom-end",
|
|
@@ -1241,10 +1243,10 @@ function Pe({
|
|
|
1241
1243
|
},
|
|
1242
1244
|
open: e,
|
|
1243
1245
|
onDismiss: t,
|
|
1244
|
-
anchorRef:
|
|
1246
|
+
anchorRef: n,
|
|
1245
1247
|
className: "gloss-page-dropdown",
|
|
1246
1248
|
children: [
|
|
1247
|
-
/* @__PURE__ */
|
|
1249
|
+
/* @__PURE__ */ a("ul", { role: "menu", className: "gloss-page-dropdown__list", children: r.map((c) => {
|
|
1248
1250
|
const p = c.id === i;
|
|
1249
1251
|
return /* @__PURE__ */ f(
|
|
1250
1252
|
"li",
|
|
@@ -1257,28 +1259,28 @@ function Pe({
|
|
|
1257
1259
|
onClick: () => u(c.id),
|
|
1258
1260
|
onKeyDown: (b) => m(c.id, b),
|
|
1259
1261
|
children: [
|
|
1260
|
-
/* @__PURE__ */
|
|
1262
|
+
/* @__PURE__ */ a(
|
|
1261
1263
|
"span",
|
|
1262
1264
|
{
|
|
1263
1265
|
className: `gloss-page-dropdown__dot${p ? " gloss-page-dropdown__dot--active" : ""}`
|
|
1264
1266
|
}
|
|
1265
1267
|
),
|
|
1266
|
-
/* @__PURE__ */
|
|
1268
|
+
/* @__PURE__ */ a(
|
|
1267
1269
|
"span",
|
|
1268
1270
|
{
|
|
1269
1271
|
className: `gloss-page-dropdown__name${c.named ? "" : " gloss-page-dropdown__name--unnamed"}`,
|
|
1270
1272
|
children: c.name
|
|
1271
1273
|
}
|
|
1272
1274
|
),
|
|
1273
|
-
c.icon && /* @__PURE__ */
|
|
1274
|
-
/* @__PURE__ */
|
|
1275
|
+
c.icon && /* @__PURE__ */ a("span", { className: "gloss-page-dropdown__icon", children: c.icon }),
|
|
1276
|
+
/* @__PURE__ */ a("span", { className: "gloss-page-dropdown__count", children: c.cardCount })
|
|
1275
1277
|
]
|
|
1276
1278
|
},
|
|
1277
1279
|
c.id
|
|
1278
1280
|
);
|
|
1279
1281
|
}) }),
|
|
1280
|
-
/* @__PURE__ */
|
|
1281
|
-
/* @__PURE__ */
|
|
1282
|
+
/* @__PURE__ */ a("hr", { className: "gloss-page-dropdown__separator" }),
|
|
1283
|
+
/* @__PURE__ */ a(
|
|
1282
1284
|
"button",
|
|
1283
1285
|
{
|
|
1284
1286
|
role: "menuitem",
|
|
@@ -1287,8 +1289,8 @@ function Pe({
|
|
|
1287
1289
|
children: "+ New page"
|
|
1288
1290
|
}
|
|
1289
1291
|
),
|
|
1290
|
-
/* @__PURE__ */
|
|
1291
|
-
/* @__PURE__ */
|
|
1292
|
+
/* @__PURE__ */ a("hr", { className: "gloss-page-dropdown__separator" }),
|
|
1293
|
+
/* @__PURE__ */ a(
|
|
1292
1294
|
"button",
|
|
1293
1295
|
{
|
|
1294
1296
|
role: "menuitem",
|
|
@@ -1301,10 +1303,10 @@ function Pe({
|
|
|
1301
1303
|
}
|
|
1302
1304
|
);
|
|
1303
1305
|
}
|
|
1304
|
-
|
|
1305
|
-
const
|
|
1306
|
+
Ae.displayName = "PageDropdown";
|
|
1307
|
+
const Nt = function({
|
|
1306
1308
|
currentIndex: t,
|
|
1307
|
-
total:
|
|
1309
|
+
total: n,
|
|
1308
1310
|
pages: r,
|
|
1309
1311
|
onPageChange: i,
|
|
1310
1312
|
onCreatePage: s,
|
|
@@ -1326,33 +1328,33 @@ const _t = function({
|
|
|
1326
1328
|
style: u === "name" ? { position: "relative", left: 0, right: "auto", top: 0 } : { position: "absolute", top: 0, right: 0 },
|
|
1327
1329
|
"data-page-chip": !0,
|
|
1328
1330
|
children: [
|
|
1329
|
-
u !== "name" && /* @__PURE__ */
|
|
1331
|
+
u !== "name" && /* @__PURE__ */ a(
|
|
1330
1332
|
"div",
|
|
1331
1333
|
{
|
|
1332
1334
|
className: "gloss-page-chip__nuzzle",
|
|
1333
1335
|
style: { "--_nuzzle-r": o }
|
|
1334
1336
|
}
|
|
1335
1337
|
),
|
|
1336
|
-
/* @__PURE__ */
|
|
1338
|
+
/* @__PURE__ */ a(
|
|
1337
1339
|
"button",
|
|
1338
1340
|
{
|
|
1339
1341
|
className: `gloss-page-chip__trigger${u === "name" ? " gloss-page-chip__trigger--name" : ""}`,
|
|
1340
1342
|
"aria-haspopup": "menu",
|
|
1341
1343
|
"aria-expanded": g,
|
|
1342
|
-
"aria-label": u === "name" ? `${m ?? "Page"}. Click to switch pages.` : `Page ${t + 1} of ${
|
|
1344
|
+
"aria-label": u === "name" ? `${m ?? "Page"}. Click to switch pages.` : `Page ${t + 1} of ${n}. Click to switch pages.`,
|
|
1343
1345
|
onClick: p,
|
|
1344
1346
|
children: u === "name" ? /* @__PURE__ */ f(I, { children: [
|
|
1345
|
-
/* @__PURE__ */
|
|
1346
|
-
/* @__PURE__ */
|
|
1347
|
+
/* @__PURE__ */ a("span", { className: "gloss-page-chip__trigger-name", children: m ?? "" }),
|
|
1348
|
+
/* @__PURE__ */ a("span", { className: "gloss-page-chip__trigger-chevron", "aria-hidden": "true", children: "▾" })
|
|
1347
1349
|
] }) : /* @__PURE__ */ f(I, { children: [
|
|
1348
1350
|
t + 1,
|
|
1349
1351
|
" / ",
|
|
1350
|
-
|
|
1352
|
+
n
|
|
1351
1353
|
] })
|
|
1352
1354
|
}
|
|
1353
1355
|
),
|
|
1354
|
-
/* @__PURE__ */
|
|
1355
|
-
|
|
1356
|
+
/* @__PURE__ */ a(
|
|
1357
|
+
Ae,
|
|
1356
1358
|
{
|
|
1357
1359
|
open: g,
|
|
1358
1360
|
onDismiss: b,
|
|
@@ -1368,8 +1370,8 @@ const _t = function({
|
|
|
1368
1370
|
}
|
|
1369
1371
|
);
|
|
1370
1372
|
};
|
|
1371
|
-
|
|
1372
|
-
const
|
|
1373
|
+
Nt.displayName = "PageChip";
|
|
1374
|
+
const mn = [
|
|
1373
1375
|
{
|
|
1374
1376
|
id: "ORD-1001",
|
|
1375
1377
|
orderNumber: "ORD-1001",
|
|
@@ -1502,7 +1504,7 @@ const dn = [
|
|
|
1502
1504
|
date: "2026-03-01",
|
|
1503
1505
|
skuCount: 9
|
|
1504
1506
|
}
|
|
1505
|
-
],
|
|
1507
|
+
], pn = [
|
|
1506
1508
|
{
|
|
1507
1509
|
id: "ITEM-001",
|
|
1508
1510
|
sku: "PB-4520",
|
|
@@ -1636,16 +1638,16 @@ const dn = [
|
|
|
1636
1638
|
lastDate: "2026-03-01"
|
|
1637
1639
|
}
|
|
1638
1640
|
];
|
|
1639
|
-
function
|
|
1641
|
+
function le(e) {
|
|
1640
1642
|
return "$" + e.toLocaleString("en-US", { minimumFractionDigits: 2, maximumFractionDigits: 2 });
|
|
1641
1643
|
}
|
|
1642
|
-
function
|
|
1644
|
+
function Ee(e) {
|
|
1643
1645
|
return e.toLocaleString("en-US");
|
|
1644
1646
|
}
|
|
1645
|
-
function
|
|
1647
|
+
function Fe(e) {
|
|
1646
1648
|
return new Date(e).toLocaleDateString("en-US", { month: "short", day: "numeric", year: "numeric" });
|
|
1647
1649
|
}
|
|
1648
|
-
const
|
|
1650
|
+
const Y = V.createElement("span", { style: { color: "var(--color-text-muted)" } }, "—"), gn = [
|
|
1649
1651
|
{
|
|
1650
1652
|
field: "id",
|
|
1651
1653
|
headerName: "Order",
|
|
@@ -1675,7 +1677,7 @@ const q = K.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1675
1677
|
align: "right",
|
|
1676
1678
|
headerAlign: "right",
|
|
1677
1679
|
cellClassName: "gloss-tabular-nums",
|
|
1678
|
-
renderCell: ({ row: e }) => e.skuCount ?
|
|
1680
|
+
renderCell: ({ row: e }) => e.skuCount ? Ee(e.skuCount) : Y
|
|
1679
1681
|
},
|
|
1680
1682
|
{
|
|
1681
1683
|
field: "total",
|
|
@@ -1685,7 +1687,7 @@ const q = K.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1685
1687
|
align: "right",
|
|
1686
1688
|
headerAlign: "right",
|
|
1687
1689
|
cellClassName: "gloss-tabular-nums",
|
|
1688
|
-
renderCell: ({ row: e }) => e.total ?
|
|
1690
|
+
renderCell: ({ row: e }) => e.total ? le(e.total) : Y
|
|
1689
1691
|
},
|
|
1690
1692
|
{
|
|
1691
1693
|
field: "date",
|
|
@@ -1695,9 +1697,9 @@ const q = K.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1695
1697
|
align: "right",
|
|
1696
1698
|
headerAlign: "right",
|
|
1697
1699
|
cellClassName: "gloss-tabular-nums",
|
|
1698
|
-
renderCell: ({ row: e }) => e.date ?
|
|
1700
|
+
renderCell: ({ row: e }) => e.date ? Fe(e.date) : ""
|
|
1699
1701
|
}
|
|
1700
|
-
],
|
|
1702
|
+
], hn = [
|
|
1701
1703
|
{
|
|
1702
1704
|
field: "sku",
|
|
1703
1705
|
headerName: "Item ID",
|
|
@@ -1729,7 +1731,7 @@ const q = K.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1729
1731
|
align: "right",
|
|
1730
1732
|
headerAlign: "right",
|
|
1731
1733
|
cellClassName: "gloss-tabular-nums",
|
|
1732
|
-
renderCell: ({ row: e }) => e.price ?
|
|
1734
|
+
renderCell: ({ row: e }) => e.price ? le(e.price) : Y
|
|
1733
1735
|
},
|
|
1734
1736
|
{
|
|
1735
1737
|
field: "quantity",
|
|
@@ -1739,7 +1741,7 @@ const q = K.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1739
1741
|
align: "right",
|
|
1740
1742
|
headerAlign: "right",
|
|
1741
1743
|
cellClassName: "gloss-tabular-nums gloss-drillable",
|
|
1742
|
-
renderCell: ({ row: e }) => e.quantity ?
|
|
1744
|
+
renderCell: ({ row: e }) => e.quantity ? Ee(e.quantity) : Y
|
|
1743
1745
|
},
|
|
1744
1746
|
{
|
|
1745
1747
|
field: "total",
|
|
@@ -1749,7 +1751,7 @@ const q = K.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1749
1751
|
align: "right",
|
|
1750
1752
|
headerAlign: "right",
|
|
1751
1753
|
cellClassName: "gloss-tabular-nums gloss-drillable",
|
|
1752
|
-
renderCell: ({ row: e }) => e.total ?
|
|
1754
|
+
renderCell: ({ row: e }) => e.total ? le(e.total) : Y
|
|
1753
1755
|
},
|
|
1754
1756
|
{
|
|
1755
1757
|
field: "lastDate",
|
|
@@ -1759,24 +1761,24 @@ const q = K.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1759
1761
|
align: "right",
|
|
1760
1762
|
headerAlign: "right",
|
|
1761
1763
|
cellClassName: "gloss-tabular-nums",
|
|
1762
|
-
renderCell: ({ row: e }) => e.lastDate ?
|
|
1764
|
+
renderCell: ({ row: e }) => e.lastDate ? Fe(e.lastDate) : ""
|
|
1763
1765
|
}
|
|
1764
|
-
],
|
|
1766
|
+
], kt = [
|
|
1765
1767
|
{ id: "c-001", label: "ABC Home Goods" },
|
|
1766
1768
|
{ id: "c-002", label: "Riverside Retail" },
|
|
1767
1769
|
{ id: "c-003", label: "Mountain View Store" },
|
|
1768
1770
|
{ id: "c-004", label: "Downtown Decor" },
|
|
1769
1771
|
{ id: "c-005", label: "Pacific Coast Imports" }
|
|
1770
|
-
],
|
|
1772
|
+
], St = [
|
|
1771
1773
|
{ id: "i-001", label: "Classic Linen Throw Pillow" },
|
|
1772
1774
|
{ id: "i-002", label: "Coastal Wave Candle Set" },
|
|
1773
1775
|
{ id: "i-003", label: "Walnut Console Table" },
|
|
1774
1776
|
{ id: "i-004", label: "Hand-Blown Glass Vase" },
|
|
1775
1777
|
{ id: "i-005", label: "Velvet Accent Cushion" }
|
|
1776
|
-
],
|
|
1777
|
-
},
|
|
1778
|
-
},
|
|
1779
|
-
},
|
|
1778
|
+
], ae = (e) => {
|
|
1779
|
+
}, Dt = (e) => {
|
|
1780
|
+
}, fe = (e, t) => {
|
|
1781
|
+
}, Ie = {
|
|
1780
1782
|
vizState: {
|
|
1781
1783
|
type: "orders",
|
|
1782
1784
|
quant: "$",
|
|
@@ -1784,17 +1786,17 @@ const q = K.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1784
1786
|
byItem: { id: null, name: null },
|
|
1785
1787
|
timeFrame: "MTD"
|
|
1786
1788
|
},
|
|
1787
|
-
onTypeChange:
|
|
1788
|
-
onQuantChange:
|
|
1789
|
-
onEntityTypeChange:
|
|
1790
|
-
onEntitySelect:
|
|
1791
|
-
onItemSelect:
|
|
1792
|
-
onTimeFrameChange:
|
|
1789
|
+
onTypeChange: ae,
|
|
1790
|
+
onQuantChange: Dt,
|
|
1791
|
+
onEntityTypeChange: ae,
|
|
1792
|
+
onEntitySelect: fe,
|
|
1793
|
+
onItemSelect: fe,
|
|
1794
|
+
onTimeFrameChange: ae,
|
|
1793
1795
|
userType: "sales-agency",
|
|
1794
|
-
entityFilterOptions:
|
|
1795
|
-
itemFilterOptions:
|
|
1796
|
-
},
|
|
1797
|
-
...
|
|
1796
|
+
entityFilterOptions: kt,
|
|
1797
|
+
itemFilterOptions: St
|
|
1798
|
+
}, fn = {
|
|
1799
|
+
...Ie,
|
|
1798
1800
|
vizState: {
|
|
1799
1801
|
type: "items",
|
|
1800
1802
|
quant: "$",
|
|
@@ -1802,8 +1804,8 @@ const q = K.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1802
1804
|
byItem: { id: "i-003", name: "Walnut Console Table" },
|
|
1803
1805
|
timeFrame: "YTD"
|
|
1804
1806
|
}
|
|
1805
|
-
},
|
|
1806
|
-
...
|
|
1807
|
+
}, bn = {
|
|
1808
|
+
...Ie,
|
|
1807
1809
|
vizState: {
|
|
1808
1810
|
type: "orders",
|
|
1809
1811
|
quant: "#",
|
|
@@ -1815,7 +1817,7 @@ const q = K.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1815
1817
|
entityFilterOptions: [
|
|
1816
1818
|
{ id: "customers", label: "Customers" }
|
|
1817
1819
|
]
|
|
1818
|
-
},
|
|
1820
|
+
}, xt = [
|
|
1819
1821
|
{
|
|
1820
1822
|
id: "recent-orders",
|
|
1821
1823
|
label: "Recent Orders",
|
|
@@ -1861,7 +1863,7 @@ const q = K.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1861
1863
|
routeKey: "customer.profile",
|
|
1862
1864
|
subtitle: "Opens in RepTime"
|
|
1863
1865
|
}
|
|
1864
|
-
],
|
|
1866
|
+
], Tt = [
|
|
1865
1867
|
{
|
|
1866
1868
|
id: "order-items",
|
|
1867
1869
|
label: "Items in Order",
|
|
@@ -1890,7 +1892,7 @@ const q = K.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1890
1892
|
cellKinds: ["orderId"],
|
|
1891
1893
|
graphType: "timeline"
|
|
1892
1894
|
}
|
|
1893
|
-
],
|
|
1895
|
+
], Rt = [
|
|
1894
1896
|
{
|
|
1895
1897
|
id: "graph-metric",
|
|
1896
1898
|
label: "Graph This Metric",
|
|
@@ -1918,14 +1920,14 @@ const q = K.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1918
1920
|
cellKinds: ["numeric"],
|
|
1919
1921
|
tabType: "orders"
|
|
1920
1922
|
}
|
|
1921
|
-
],
|
|
1922
|
-
entityName:
|
|
1923
|
-
orderId:
|
|
1924
|
-
numeric:
|
|
1925
|
-
},
|
|
1923
|
+
], vn = {
|
|
1924
|
+
entityName: xt,
|
|
1925
|
+
orderId: Tt,
|
|
1926
|
+
numeric: Rt
|
|
1927
|
+
}, yn = [
|
|
1926
1928
|
new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), (/* @__PURE__ */ new Date()).getDate() - 29),
|
|
1927
1929
|
/* @__PURE__ */ new Date()
|
|
1928
|
-
],
|
|
1930
|
+
], _n = {
|
|
1929
1931
|
rangeA: [
|
|
1930
1932
|
new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), 1),
|
|
1931
1933
|
/* @__PURE__ */ new Date()
|
|
@@ -1938,7 +1940,7 @@ const q = K.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1938
1940
|
new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth() - 2, 1),
|
|
1939
1941
|
new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth() - 1, 0)
|
|
1940
1942
|
]
|
|
1941
|
-
},
|
|
1943
|
+
}, wn = {
|
|
1942
1944
|
version: 4,
|
|
1943
1945
|
lastPreset: "mtd",
|
|
1944
1946
|
pinnedPreset: "mtd",
|
|
@@ -1946,7 +1948,7 @@ const q = K.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1946
1948
|
rangeCount: 1,
|
|
1947
1949
|
lastPresetB: null,
|
|
1948
1950
|
lastPresetC: null
|
|
1949
|
-
},
|
|
1951
|
+
}, Cn = [
|
|
1950
1952
|
{
|
|
1951
1953
|
id: "atlanta-jan",
|
|
1952
1954
|
label: "Atlanta Market",
|
|
@@ -1968,7 +1970,7 @@ const q = K.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1968
1970
|
endDate: new Date(2026, 3, 22),
|
|
1969
1971
|
location: "Chicago, IL"
|
|
1970
1972
|
}
|
|
1971
|
-
],
|
|
1973
|
+
], Nn = [
|
|
1972
1974
|
{
|
|
1973
1975
|
id: "custom-regional-1",
|
|
1974
1976
|
label: "Southeast Regional Expo",
|
|
@@ -1985,7 +1987,7 @@ const q = K.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1985
1987
|
location: "Portland, OR",
|
|
1986
1988
|
isCustom: !0
|
|
1987
1989
|
}
|
|
1988
|
-
],
|
|
1990
|
+
], kn = [
|
|
1989
1991
|
{
|
|
1990
1992
|
id: "atlanta-jan",
|
|
1991
1993
|
label: "Atlanta Market",
|
|
@@ -2002,56 +2004,56 @@ const q = K.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
2002
2004
|
location: "New York, NY",
|
|
2003
2005
|
active: !0
|
|
2004
2006
|
}
|
|
2005
|
-
],
|
|
2007
|
+
], Sn = [
|
|
2006
2008
|
{ id: "7d", label: "7D" },
|
|
2007
2009
|
{ id: "30d", label: "30D" },
|
|
2008
2010
|
{ id: "60d", label: "60D" },
|
|
2009
2011
|
{ id: "90d", label: "90D" }
|
|
2010
|
-
],
|
|
2012
|
+
], Dn = [
|
|
2011
2013
|
{ id: "mtd", label: "MTD" },
|
|
2012
2014
|
{ id: "qtd", label: "QTD" },
|
|
2013
2015
|
{ id: "ytd", label: "YTD" },
|
|
2014
2016
|
{ id: "lytd", label: "LYTD" }
|
|
2015
|
-
],
|
|
2017
|
+
], Mt = {
|
|
2016
2018
|
timeframe: "Time Frame",
|
|
2017
2019
|
threshold: "Thresholds",
|
|
2018
2020
|
slots: "Slots",
|
|
2019
2021
|
size: "Size",
|
|
2020
2022
|
color: "Color",
|
|
2021
2023
|
pinned: "Pinned"
|
|
2022
|
-
},
|
|
2023
|
-
timeframe:
|
|
2024
|
-
threshold:
|
|
2025
|
-
slots:
|
|
2026
|
-
size:
|
|
2027
|
-
color:
|
|
2028
|
-
pinned:
|
|
2024
|
+
}, Pt = {
|
|
2025
|
+
timeframe: Qe,
|
|
2026
|
+
threshold: Xe,
|
|
2027
|
+
slots: Je,
|
|
2028
|
+
size: Ze,
|
|
2029
|
+
color: et,
|
|
2030
|
+
pinned: tt
|
|
2029
2031
|
};
|
|
2030
|
-
function
|
|
2032
|
+
function be(...e) {
|
|
2031
2033
|
return e.filter(Boolean).join(" ");
|
|
2032
2034
|
}
|
|
2033
|
-
function
|
|
2035
|
+
function At() {
|
|
2034
2036
|
const [e, t] = A(() => typeof window > "u" || typeof window.matchMedia != "function" ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches);
|
|
2035
2037
|
return E(() => {
|
|
2036
2038
|
if (typeof window > "u" || typeof window.matchMedia != "function") return;
|
|
2037
|
-
const
|
|
2038
|
-
return typeof
|
|
2039
|
-
|
|
2039
|
+
const n = window.matchMedia("(prefers-reduced-motion: reduce)"), r = (i) => t(i.matches);
|
|
2040
|
+
return typeof n.addEventListener == "function" ? (n.addEventListener("change", r), () => n.removeEventListener("change", r)) : (n.addListener?.(r), () => {
|
|
2041
|
+
n.removeListener?.(r);
|
|
2040
2042
|
});
|
|
2041
2043
|
}, []), e;
|
|
2042
2044
|
}
|
|
2043
|
-
const
|
|
2045
|
+
const Et = ({
|
|
2044
2046
|
dimensions: e,
|
|
2045
2047
|
onDimensionSelect: t,
|
|
2046
|
-
activeDimension:
|
|
2048
|
+
activeDimension: n,
|
|
2047
2049
|
ariaCardTypeLabel: r,
|
|
2048
2050
|
className: i
|
|
2049
2051
|
}) => {
|
|
2050
|
-
const s = M(null), l = M([]), o =
|
|
2052
|
+
const s = M(null), l = M([]), o = At(), u = de(() => Array.from(e), [e]);
|
|
2051
2053
|
if (u.length === 0) return null;
|
|
2052
2054
|
const m = r ? `Configure ${r}: choose a dimension` : void 0, d = o ? "10ms" : "200ms", g = (c, p) => {
|
|
2053
|
-
const b = u.length - 1, k = (
|
|
2054
|
-
const y = l.current[
|
|
2055
|
+
const b = u.length - 1, k = (_) => {
|
|
2056
|
+
const y = l.current[_];
|
|
2055
2057
|
y && y.focus();
|
|
2056
2058
|
};
|
|
2057
2059
|
switch (c.key) {
|
|
@@ -2080,13 +2082,13 @@ const Pt = ({
|
|
|
2080
2082
|
}
|
|
2081
2083
|
}
|
|
2082
2084
|
};
|
|
2083
|
-
return /* @__PURE__ */
|
|
2085
|
+
return /* @__PURE__ */ a(
|
|
2084
2086
|
"div",
|
|
2085
2087
|
{
|
|
2086
2088
|
ref: s,
|
|
2087
2089
|
role: "group",
|
|
2088
2090
|
"aria-label": m,
|
|
2089
|
-
className:
|
|
2091
|
+
className: be("gloss-reconfig-backside-buttons", i),
|
|
2090
2092
|
style: {
|
|
2091
2093
|
// Expose the reduced-motion-resolved duration as a CSS custom prop
|
|
2092
2094
|
// so the SCSS transition rule can consume it without a nested media
|
|
@@ -2094,31 +2096,31 @@ const Pt = ({
|
|
|
2094
2096
|
"--gloss-reconfig-backside-buttons-transition-duration": d
|
|
2095
2097
|
},
|
|
2096
2098
|
children: u.map((c, p) => {
|
|
2097
|
-
const b =
|
|
2099
|
+
const b = Pt[c], k = n === c;
|
|
2098
2100
|
return /* @__PURE__ */ f(
|
|
2099
2101
|
"button",
|
|
2100
2102
|
{
|
|
2101
|
-
ref: (
|
|
2102
|
-
l.current[p] =
|
|
2103
|
+
ref: (_) => {
|
|
2104
|
+
l.current[p] = _;
|
|
2103
2105
|
},
|
|
2104
2106
|
type: "button",
|
|
2105
2107
|
"data-dimension": c,
|
|
2106
|
-
className:
|
|
2108
|
+
className: be(
|
|
2107
2109
|
"gloss-reconfig-backside-buttons__button",
|
|
2108
2110
|
k && "gloss-reconfig-backside-buttons__button--active"
|
|
2109
2111
|
),
|
|
2110
2112
|
"aria-current": k ? "true" : void 0,
|
|
2111
2113
|
onClick: () => t(c),
|
|
2112
|
-
onKeyDown: (
|
|
2114
|
+
onKeyDown: (_) => g(_, p),
|
|
2113
2115
|
children: [
|
|
2114
|
-
/* @__PURE__ */
|
|
2116
|
+
/* @__PURE__ */ a(
|
|
2115
2117
|
b,
|
|
2116
2118
|
{
|
|
2117
2119
|
className: "gloss-reconfig-backside-buttons__button-icon",
|
|
2118
2120
|
"aria-hidden": "true"
|
|
2119
2121
|
}
|
|
2120
2122
|
),
|
|
2121
|
-
/* @__PURE__ */
|
|
2123
|
+
/* @__PURE__ */ a("span", { className: "gloss-reconfig-backside-buttons__button-label", children: Mt[c] })
|
|
2122
2124
|
]
|
|
2123
2125
|
},
|
|
2124
2126
|
c
|
|
@@ -2127,12 +2129,12 @@ const Pt = ({
|
|
|
2127
2129
|
}
|
|
2128
2130
|
);
|
|
2129
2131
|
};
|
|
2130
|
-
|
|
2132
|
+
Et.displayName = "ReconfigBacksideButtons";
|
|
2131
2133
|
function L(e, t) {
|
|
2132
2134
|
return {
|
|
2133
2135
|
id: e,
|
|
2134
2136
|
colSpan: 1,
|
|
2135
|
-
content:
|
|
2137
|
+
content: V.createElement("div", {
|
|
2136
2138
|
style: {
|
|
2137
2139
|
width: "100%",
|
|
2138
2140
|
height: "100%",
|
|
@@ -2148,38 +2150,38 @@ function L(e, t) {
|
|
|
2148
2150
|
}, t)
|
|
2149
2151
|
};
|
|
2150
2152
|
}
|
|
2151
|
-
function
|
|
2153
|
+
function ve(e, t) {
|
|
2152
2154
|
return {
|
|
2153
2155
|
...L(e, t),
|
|
2154
2156
|
colSpan: 2
|
|
2155
2157
|
};
|
|
2156
2158
|
}
|
|
2157
|
-
const
|
|
2159
|
+
const xn = [
|
|
2158
2160
|
L("total-revenue", "Total Revenue"),
|
|
2159
2161
|
L("total-orders", "Total Orders"),
|
|
2160
|
-
|
|
2162
|
+
ve("revenue-trend", "Revenue Trend (2x)"),
|
|
2161
2163
|
L("avg-order", "Avg Order Value"),
|
|
2162
2164
|
L("new-customers", "New Customers"),
|
|
2163
2165
|
L("top-salesperson", "Top Salesperson"),
|
|
2164
|
-
|
|
2166
|
+
ve("order-trend", "Order Trend (2x)"),
|
|
2165
2167
|
L("repeat-rate", "Repeat Rate"),
|
|
2166
2168
|
L("open-orders", "Open Orders"),
|
|
2167
2169
|
L("shipped-orders", "Shipped Orders")
|
|
2168
|
-
],
|
|
2170
|
+
], Tn = {
|
|
2169
2171
|
columns: 6,
|
|
2170
2172
|
rowHeight: 120,
|
|
2171
2173
|
gap: 15,
|
|
2172
2174
|
maxRows: 3,
|
|
2173
2175
|
currentPage: 0,
|
|
2174
2176
|
totalPages: 1
|
|
2175
|
-
},
|
|
2177
|
+
}, Rn = {
|
|
2176
2178
|
columns: 9,
|
|
2177
2179
|
rowHeight: 120,
|
|
2178
2180
|
gap: 15,
|
|
2179
2181
|
maxRows: 3,
|
|
2180
2182
|
currentPage: 0,
|
|
2181
2183
|
totalPages: 2
|
|
2182
|
-
},
|
|
2184
|
+
}, Mn = {
|
|
2183
2185
|
columns: 12,
|
|
2184
2186
|
rowHeight: 120,
|
|
2185
2187
|
gap: 15,
|
|
@@ -2187,15 +2189,15 @@ const Sn = [
|
|
|
2187
2189
|
currentPage: 0,
|
|
2188
2190
|
totalPages: 3
|
|
2189
2191
|
};
|
|
2190
|
-
function
|
|
2191
|
-
return
|
|
2192
|
+
function ne(e) {
|
|
2193
|
+
return V.createElement("span", { style: { fontSize: 14 } }, e);
|
|
2192
2194
|
}
|
|
2193
|
-
const
|
|
2195
|
+
const Pn = [
|
|
2194
2196
|
{
|
|
2195
2197
|
id: "all-orders",
|
|
2196
2198
|
type: "orders",
|
|
2197
2199
|
name: "All Orders",
|
|
2198
|
-
icon:
|
|
2200
|
+
icon: ne("📋"),
|
|
2199
2201
|
closable: !1,
|
|
2200
2202
|
autoCreated: !0
|
|
2201
2203
|
},
|
|
@@ -2203,17 +2205,17 @@ const Rn = [
|
|
|
2203
2205
|
id: "open-orders",
|
|
2204
2206
|
type: "orders",
|
|
2205
2207
|
name: "Open Orders",
|
|
2206
|
-
icon:
|
|
2208
|
+
icon: ne("📦"),
|
|
2207
2209
|
closable: !0
|
|
2208
2210
|
},
|
|
2209
2211
|
{
|
|
2210
2212
|
id: "shipped-orders",
|
|
2211
2213
|
type: "orders",
|
|
2212
2214
|
name: "Shipped Orders",
|
|
2213
|
-
icon:
|
|
2215
|
+
icon: ne("🚚"),
|
|
2214
2216
|
closable: !0
|
|
2215
2217
|
}
|
|
2216
|
-
],
|
|
2218
|
+
], An = [
|
|
2217
2219
|
{
|
|
2218
2220
|
id: "orders-main",
|
|
2219
2221
|
type: "orders",
|
|
@@ -2239,7 +2241,7 @@ const Rn = [
|
|
|
2239
2241
|
name: "Customers",
|
|
2240
2242
|
closable: !0
|
|
2241
2243
|
}
|
|
2242
|
-
],
|
|
2244
|
+
], En = [
|
|
2243
2245
|
{
|
|
2244
2246
|
id: "only-tab",
|
|
2245
2247
|
type: "orders",
|
|
@@ -2247,7 +2249,7 @@ const Rn = [
|
|
|
2247
2249
|
closable: !1,
|
|
2248
2250
|
autoCreated: !0
|
|
2249
2251
|
}
|
|
2250
|
-
],
|
|
2252
|
+
], Fn = [
|
|
2251
2253
|
{ id: "tab-1", type: "orders", name: "All Orders", closable: !1, autoCreated: !0 },
|
|
2252
2254
|
{ id: "tab-2", type: "orders", name: "Open Orders", closable: !0 },
|
|
2253
2255
|
{ id: "tab-3", type: "orders", name: "Shipped Orders", closable: !0 },
|
|
@@ -2259,7 +2261,7 @@ const Rn = [
|
|
|
2259
2261
|
{ id: "tab-9", type: "order-items", name: "Order #12345", closable: !0 },
|
|
2260
2262
|
{ id: "tab-10", type: "orders", name: "Recent 30D", closable: !0 }
|
|
2261
2263
|
];
|
|
2262
|
-
function
|
|
2264
|
+
function oe(e) {
|
|
2263
2265
|
switch (e) {
|
|
2264
2266
|
case "wide":
|
|
2265
2267
|
return { cols: 2, rows: 1 };
|
|
@@ -2270,24 +2272,24 @@ function le(e) {
|
|
|
2270
2272
|
return { cols: 1, rows: 1 };
|
|
2271
2273
|
}
|
|
2272
2274
|
}
|
|
2273
|
-
function
|
|
2275
|
+
function Ft(e) {
|
|
2274
2276
|
let t = 0;
|
|
2275
2277
|
for (const r of e) {
|
|
2276
|
-
const i =
|
|
2278
|
+
const i = oe(r.size), s = r.gridPosition.col + i.cols - 1;
|
|
2277
2279
|
s > t && (t = s);
|
|
2278
2280
|
}
|
|
2279
2281
|
return `repeat(${t > 0 ? t : Math.max(e.length, 1)}, minmax(0, 1fr))`;
|
|
2280
2282
|
}
|
|
2281
|
-
const
|
|
2283
|
+
const It = function(t) {
|
|
2282
2284
|
if (t.renderMode === "discrete")
|
|
2283
|
-
return /* @__PURE__ */
|
|
2285
|
+
return /* @__PURE__ */ a(
|
|
2284
2286
|
"div",
|
|
2285
2287
|
{
|
|
2286
2288
|
className: "gloss-metric-group gloss-metric-group--discrete",
|
|
2287
2289
|
style: { display: "contents" },
|
|
2288
2290
|
children: t.cards.map((i) => {
|
|
2289
|
-
const s =
|
|
2290
|
-
return /* @__PURE__ */
|
|
2291
|
+
const s = oe(i.size);
|
|
2292
|
+
return /* @__PURE__ */ a(
|
|
2291
2293
|
"div",
|
|
2292
2294
|
{
|
|
2293
2295
|
className: "gloss-metric-group__slot",
|
|
@@ -2302,7 +2304,7 @@ const Et = function(t) {
|
|
|
2302
2304
|
})
|
|
2303
2305
|
}
|
|
2304
2306
|
);
|
|
2305
|
-
const { cards:
|
|
2307
|
+
const { cards: n, composite: r } = t;
|
|
2306
2308
|
return /* @__PURE__ */ f(
|
|
2307
2309
|
"div",
|
|
2308
2310
|
{
|
|
@@ -2322,7 +2324,7 @@ const Et = function(t) {
|
|
|
2322
2324
|
"aria-label": r?.label,
|
|
2323
2325
|
tabIndex: void 0,
|
|
2324
2326
|
children: [
|
|
2325
|
-
r?.accentColor && /* @__PURE__ */
|
|
2327
|
+
r?.accentColor && /* @__PURE__ */ a(
|
|
2326
2328
|
"div",
|
|
2327
2329
|
{
|
|
2328
2330
|
className: "gloss-metric-group__accent",
|
|
@@ -2330,8 +2332,8 @@ const Et = function(t) {
|
|
|
2330
2332
|
}
|
|
2331
2333
|
),
|
|
2332
2334
|
r?.label && /* @__PURE__ */ f("div", { className: "gloss-metric-group__label", children: [
|
|
2333
|
-
/* @__PURE__ */
|
|
2334
|
-
r?.trend && /* @__PURE__ */
|
|
2335
|
+
/* @__PURE__ */ a("span", { children: r.label }),
|
|
2336
|
+
r?.trend && /* @__PURE__ */ a(
|
|
2335
2337
|
"span",
|
|
2336
2338
|
{
|
|
2337
2339
|
className: "gloss-metric-group__trend",
|
|
@@ -2340,18 +2342,18 @@ const Et = function(t) {
|
|
|
2340
2342
|
}
|
|
2341
2343
|
)
|
|
2342
2344
|
] }),
|
|
2343
|
-
/* @__PURE__ */
|
|
2345
|
+
/* @__PURE__ */ a(
|
|
2344
2346
|
"div",
|
|
2345
2347
|
{
|
|
2346
2348
|
className: "gloss-metric-group__slots",
|
|
2347
2349
|
style: {
|
|
2348
2350
|
display: "grid",
|
|
2349
2351
|
gap: "var(--gloss-spacing-2, 8px)",
|
|
2350
|
-
gridTemplateColumns:
|
|
2352
|
+
gridTemplateColumns: Ft(n)
|
|
2351
2353
|
},
|
|
2352
|
-
children:
|
|
2353
|
-
const s =
|
|
2354
|
-
return /* @__PURE__ */
|
|
2354
|
+
children: n.map((i) => {
|
|
2355
|
+
const s = oe(i.size);
|
|
2356
|
+
return /* @__PURE__ */ a(
|
|
2355
2357
|
"div",
|
|
2356
2358
|
{
|
|
2357
2359
|
className: "gloss-metric-group__slot--composite",
|
|
@@ -2370,16 +2372,16 @@ const Et = function(t) {
|
|
|
2370
2372
|
}
|
|
2371
2373
|
);
|
|
2372
2374
|
};
|
|
2373
|
-
|
|
2374
|
-
const
|
|
2375
|
-
...
|
|
2375
|
+
It.displayName = "MetricGroupContainer";
|
|
2376
|
+
const Le = "resize.tuning.dev", Lt = {
|
|
2377
|
+
...ut,
|
|
2376
2378
|
snapInPx: 60,
|
|
2377
2379
|
snapOutPx: 90
|
|
2378
|
-
}, H =
|
|
2379
|
-
function
|
|
2380
|
+
}, H = Lt;
|
|
2381
|
+
function Ot() {
|
|
2380
2382
|
if (typeof window > "u") return { ...H };
|
|
2381
2383
|
try {
|
|
2382
|
-
const e = window.localStorage.getItem(
|
|
2384
|
+
const e = window.localStorage.getItem(Le);
|
|
2383
2385
|
if (!e) return { ...H };
|
|
2384
2386
|
const t = JSON.parse(e);
|
|
2385
2387
|
return !t || typeof t != "object" || Array.isArray(t) ? { ...H } : { ...H, ...t };
|
|
@@ -2387,16 +2389,16 @@ function It() {
|
|
|
2387
2389
|
return { ...H };
|
|
2388
2390
|
}
|
|
2389
2391
|
}
|
|
2390
|
-
function
|
|
2391
|
-
const [e, t] = A(() =>
|
|
2392
|
+
function $t() {
|
|
2393
|
+
const [e, t] = A(() => Ot());
|
|
2392
2394
|
E(() => {
|
|
2393
2395
|
if (!(typeof window > "u"))
|
|
2394
2396
|
try {
|
|
2395
|
-
window.localStorage.setItem(
|
|
2397
|
+
window.localStorage.setItem(Le, JSON.stringify(e));
|
|
2396
2398
|
} catch {
|
|
2397
2399
|
}
|
|
2398
2400
|
}, [e]);
|
|
2399
|
-
const
|
|
2401
|
+
const n = C(
|
|
2400
2402
|
(s, l) => {
|
|
2401
2403
|
t((o) => ({ ...o, [s]: l }));
|
|
2402
2404
|
},
|
|
@@ -2409,9 +2411,9 @@ function Lt() {
|
|
|
2409
2411
|
), i = C(() => {
|
|
2410
2412
|
t({ ...H });
|
|
2411
2413
|
}, []);
|
|
2412
|
-
return { values: e, setValue:
|
|
2414
|
+
return { values: e, setValue: n, resetRow: r, resetAll: i };
|
|
2413
2415
|
}
|
|
2414
|
-
const
|
|
2416
|
+
const Bt = [
|
|
2415
2417
|
{ key: "stiffness", label: "Spring stiffness", unit: "", min: 100, max: 1e3, step: 10 },
|
|
2416
2418
|
{ key: "damping", label: "Spring damping", unit: "", min: 10, max: 60, step: 1 },
|
|
2417
2419
|
{ key: "mass", label: "Spring mass", unit: "", min: 0.5, max: 2, step: 0.1 },
|
|
@@ -2422,10 +2424,10 @@ const Ot = [
|
|
|
2422
2424
|
{ key: "blueprintFadeOutMs", label: "Blueprint fade out", unit: "ms", min: 60, max: 400, step: 10 },
|
|
2423
2425
|
{ key: "velocityMultiplier", label: "Velocity multiplier", unit: "×", min: 0, max: 2, step: 0.05 }
|
|
2424
2426
|
];
|
|
2425
|
-
function
|
|
2427
|
+
function zt(e, t) {
|
|
2426
2428
|
return t >= 1 ? String(Math.round(e)) : t >= 0.1 ? e.toFixed(1) : e.toFixed(2);
|
|
2427
2429
|
}
|
|
2428
|
-
function
|
|
2430
|
+
function Gt() {
|
|
2429
2431
|
return /* @__PURE__ */ f(
|
|
2430
2432
|
"svg",
|
|
2431
2433
|
{
|
|
@@ -2439,13 +2441,13 @@ function Bt() {
|
|
|
2439
2441
|
strokeLinejoin: "round",
|
|
2440
2442
|
"aria-hidden": "true",
|
|
2441
2443
|
children: [
|
|
2442
|
-
/* @__PURE__ */
|
|
2443
|
-
/* @__PURE__ */
|
|
2444
|
+
/* @__PURE__ */ a("path", { d: "M3 12a9 9 0 1 0 3-6.7L3 8" }),
|
|
2445
|
+
/* @__PURE__ */ a("polyline", { points: "3 3 3 8 8 8" })
|
|
2444
2446
|
]
|
|
2445
2447
|
}
|
|
2446
2448
|
);
|
|
2447
2449
|
}
|
|
2448
|
-
function
|
|
2450
|
+
function Ht({ spec: e, value: t, onChange: n, onReset: r, flashing: i }) {
|
|
2449
2451
|
const s = C(
|
|
2450
2452
|
(l) => {
|
|
2451
2453
|
(l.key === "r" || l.key === "R") && (l.preventDefault(), r());
|
|
@@ -2459,12 +2461,12 @@ function zt({ spec: e, value: t, onChange: a, onReset: r, flashing: i }) {
|
|
|
2459
2461
|
"data-tuning-row": e.key,
|
|
2460
2462
|
onKeyDown: s,
|
|
2461
2463
|
children: [
|
|
2462
|
-
/* @__PURE__ */
|
|
2464
|
+
/* @__PURE__ */ a("label", { className: "gloss-dev-tuning-panel__label", htmlFor: `gloss-dtp-${e.key}`, children: e.label }),
|
|
2463
2465
|
/* @__PURE__ */ f("span", { className: "gloss-dev-tuning-panel__value", "aria-live": "off", children: [
|
|
2464
|
-
|
|
2466
|
+
zt(t, e.step),
|
|
2465
2467
|
e.unit ? ` ${e.unit}` : ""
|
|
2466
2468
|
] }),
|
|
2467
|
-
/* @__PURE__ */
|
|
2469
|
+
/* @__PURE__ */ a(
|
|
2468
2470
|
"input",
|
|
2469
2471
|
{
|
|
2470
2472
|
id: `gloss-dtp-${e.key}`,
|
|
@@ -2475,24 +2477,24 @@ function zt({ spec: e, value: t, onChange: a, onReset: r, flashing: i }) {
|
|
|
2475
2477
|
step: e.step,
|
|
2476
2478
|
value: t,
|
|
2477
2479
|
"aria-label": e.label,
|
|
2478
|
-
onChange: (l) =>
|
|
2480
|
+
onChange: (l) => n(Number(l.target.value))
|
|
2479
2481
|
}
|
|
2480
2482
|
),
|
|
2481
|
-
/* @__PURE__ */
|
|
2483
|
+
/* @__PURE__ */ a(
|
|
2482
2484
|
"button",
|
|
2483
2485
|
{
|
|
2484
2486
|
type: "button",
|
|
2485
2487
|
className: "gloss-dev-tuning-panel__reset",
|
|
2486
2488
|
"aria-label": `Reset ${e.label}`,
|
|
2487
2489
|
onClick: r,
|
|
2488
|
-
children: /* @__PURE__ */
|
|
2490
|
+
children: /* @__PURE__ */ a(Gt, {})
|
|
2489
2491
|
}
|
|
2490
2492
|
)
|
|
2491
2493
|
]
|
|
2492
2494
|
}
|
|
2493
2495
|
);
|
|
2494
2496
|
}
|
|
2495
|
-
function
|
|
2497
|
+
function Wt() {
|
|
2496
2498
|
if (typeof process < "u" && process.env && process.env.NODE_ENV === "production" || typeof window > "u") return !1;
|
|
2497
2499
|
try {
|
|
2498
2500
|
return new URLSearchParams(window.location.search).has("devtune");
|
|
@@ -2500,21 +2502,21 @@ function Gt() {
|
|
|
2500
2502
|
return !1;
|
|
2501
2503
|
}
|
|
2502
2504
|
}
|
|
2503
|
-
function
|
|
2504
|
-
return
|
|
2505
|
+
function Vt(e = {}) {
|
|
2506
|
+
return Wt() ? /* @__PURE__ */ a(Kt, {}) : null;
|
|
2505
2507
|
}
|
|
2506
|
-
|
|
2507
|
-
function
|
|
2508
|
-
const e =
|
|
2508
|
+
Vt.displayName = "DevTuningPanel";
|
|
2509
|
+
function Kt() {
|
|
2510
|
+
const e = $t(), { values: t, setValue: n, resetRow: r, resetAll: i } = e, [s, l] = A(null), o = M(null), u = C((c) => {
|
|
2509
2511
|
o.current && clearTimeout(o.current), l(c), o.current = setTimeout(() => {
|
|
2510
2512
|
l(null), o.current = null;
|
|
2511
2513
|
}, 200);
|
|
2512
2514
|
}, []), m = C(
|
|
2513
2515
|
(c, p) => {
|
|
2514
|
-
|
|
2516
|
+
n(c, p), c === "snapInPx" && p > t.snapOutPx && (n("snapOutPx", p), u("snapOutPx"));
|
|
2515
2517
|
},
|
|
2516
|
-
[
|
|
2517
|
-
), d =
|
|
2518
|
+
[n, t.snapOutPx, u]
|
|
2519
|
+
), d = de(() => Bt, []), g = Ue();
|
|
2518
2520
|
return /* @__PURE__ */ f(
|
|
2519
2521
|
B.div,
|
|
2520
2522
|
{
|
|
@@ -2533,13 +2535,13 @@ function Wt() {
|
|
|
2533
2535
|
className: "gloss-dev-tuning-panel__header",
|
|
2534
2536
|
onPointerDown: (c) => g.start(c),
|
|
2535
2537
|
children: [
|
|
2536
|
-
/* @__PURE__ */
|
|
2537
|
-
/* @__PURE__ */
|
|
2538
|
+
/* @__PURE__ */ a("span", { className: "gloss-dev-tuning-panel__title", children: "Resize Tuning — dev only" }),
|
|
2539
|
+
/* @__PURE__ */ a("span", { className: "gloss-dev-tuning-panel__hint", children: "?devtune=1" })
|
|
2538
2540
|
]
|
|
2539
2541
|
}
|
|
2540
2542
|
),
|
|
2541
|
-
/* @__PURE__ */
|
|
2542
|
-
|
|
2543
|
+
/* @__PURE__ */ a("div", { className: "gloss-dev-tuning-panel__body", children: d.map((c) => /* @__PURE__ */ a(
|
|
2544
|
+
Ht,
|
|
2543
2545
|
{
|
|
2544
2546
|
spec: c,
|
|
2545
2547
|
value: t[c.key],
|
|
@@ -2549,7 +2551,7 @@ function Wt() {
|
|
|
2549
2551
|
},
|
|
2550
2552
|
c.key
|
|
2551
2553
|
)) }),
|
|
2552
|
-
/* @__PURE__ */
|
|
2554
|
+
/* @__PURE__ */ a("div", { className: "gloss-dev-tuning-panel__footer", children: /* @__PURE__ */ a(
|
|
2553
2555
|
"button",
|
|
2554
2556
|
{
|
|
2555
2557
|
type: "button",
|
|
@@ -2562,18 +2564,18 @@ function Wt() {
|
|
|
2562
2564
|
}
|
|
2563
2565
|
);
|
|
2564
2566
|
}
|
|
2565
|
-
function
|
|
2567
|
+
function In({
|
|
2566
2568
|
state: e,
|
|
2567
2569
|
originX: t,
|
|
2568
|
-
originY:
|
|
2570
|
+
originY: n,
|
|
2569
2571
|
leftEdgeX: r,
|
|
2570
2572
|
rightEdgeX: i,
|
|
2571
2573
|
minBoundaryX: s,
|
|
2572
2574
|
snapBoundariesX: l,
|
|
2573
2575
|
topY: o,
|
|
2574
2576
|
bottomY: u,
|
|
2575
|
-
enterMs: m =
|
|
2576
|
-
exitMs: d =
|
|
2577
|
+
enterMs: m = K.envelopeEnterMs,
|
|
2578
|
+
exitMs: d = K.envelopeExitMs,
|
|
2577
2579
|
className: g,
|
|
2578
2580
|
style: c
|
|
2579
2581
|
}) {
|
|
@@ -2582,7 +2584,7 @@ function En({
|
|
|
2582
2584
|
"--gloss-resize-envelope-enter-ms": `${m}ms`,
|
|
2583
2585
|
"--gloss-resize-envelope-exit-ms": `${d}ms`,
|
|
2584
2586
|
"--gloss-resize-envelope-origin-x": `${t - r}px`,
|
|
2585
|
-
"--gloss-resize-envelope-origin-y": `${
|
|
2587
|
+
"--gloss-resize-envelope-origin-y": `${n - o}px`,
|
|
2586
2588
|
left: r,
|
|
2587
2589
|
top: o,
|
|
2588
2590
|
width: p,
|
|
@@ -2598,7 +2600,7 @@ function En({
|
|
|
2598
2600
|
style: k,
|
|
2599
2601
|
"aria-hidden": "true",
|
|
2600
2602
|
children: [
|
|
2601
|
-
/* @__PURE__ */
|
|
2603
|
+
/* @__PURE__ */ a(
|
|
2602
2604
|
"div",
|
|
2603
2605
|
{
|
|
2604
2606
|
className: "gloss-resize-envelope__edge gloss-resize-envelope__edge--left",
|
|
@@ -2606,7 +2608,7 @@ function En({
|
|
|
2606
2608
|
style: { left: 0 }
|
|
2607
2609
|
}
|
|
2608
2610
|
),
|
|
2609
|
-
/* @__PURE__ */
|
|
2611
|
+
/* @__PURE__ */ a(
|
|
2610
2612
|
"div",
|
|
2611
2613
|
{
|
|
2612
2614
|
className: "gloss-resize-envelope__edge gloss-resize-envelope__edge--min-boundary",
|
|
@@ -2614,7 +2616,7 @@ function En({
|
|
|
2614
2616
|
style: { left: s - r }
|
|
2615
2617
|
}
|
|
2616
2618
|
),
|
|
2617
|
-
/* @__PURE__ */
|
|
2619
|
+
/* @__PURE__ */ a(
|
|
2618
2620
|
"div",
|
|
2619
2621
|
{
|
|
2620
2622
|
className: "gloss-resize-envelope__edge gloss-resize-envelope__edge--right",
|
|
@@ -2622,23 +2624,23 @@ function En({
|
|
|
2622
2624
|
style: { left: p - 1 }
|
|
2623
2625
|
}
|
|
2624
2626
|
),
|
|
2625
|
-
l.filter((
|
|
2627
|
+
l.filter((_) => _ > s && _ < i).map((_) => /* @__PURE__ */ a(
|
|
2626
2628
|
"div",
|
|
2627
2629
|
{
|
|
2628
2630
|
className: "gloss-resize-envelope__snap-line",
|
|
2629
2631
|
"data-snap-line": !0,
|
|
2630
|
-
style: { left:
|
|
2632
|
+
style: { left: _ - r }
|
|
2631
2633
|
},
|
|
2632
|
-
|
|
2634
|
+
_
|
|
2633
2635
|
))
|
|
2634
2636
|
]
|
|
2635
2637
|
}
|
|
2636
2638
|
);
|
|
2637
2639
|
}
|
|
2638
|
-
function
|
|
2640
|
+
function Ln({
|
|
2639
2641
|
density: e,
|
|
2640
2642
|
canAccept: t,
|
|
2641
|
-
blocked:
|
|
2643
|
+
blocked: n = !1,
|
|
2642
2644
|
proximityOpacity: r,
|
|
2643
2645
|
state: i,
|
|
2644
2646
|
rejection: s = !1,
|
|
@@ -2647,39 +2649,39 @@ function Fn({
|
|
|
2647
2649
|
...u
|
|
2648
2650
|
}) {
|
|
2649
2651
|
const m = r != null ? { ...u.style, "--_proximity-opacity": String(r) } : u.style;
|
|
2650
|
-
return /* @__PURE__ */
|
|
2652
|
+
return /* @__PURE__ */ a(
|
|
2651
2653
|
"div",
|
|
2652
2654
|
{
|
|
2653
2655
|
...u,
|
|
2654
2656
|
style: m,
|
|
2655
2657
|
"data-density": e,
|
|
2656
2658
|
"data-can-accept": t ? "true" : "false",
|
|
2657
|
-
"data-blocked":
|
|
2659
|
+
"data-blocked": n ? "true" : void 0,
|
|
2658
2660
|
"data-rejection": s ? "true" : void 0,
|
|
2659
2661
|
"data-proximity-driven": r != null ? "true" : void 0,
|
|
2660
2662
|
"data-state": i ?? void 0,
|
|
2661
2663
|
"data-testid": "gloss-drop-anchor-cell",
|
|
2662
2664
|
className: [
|
|
2663
2665
|
"gloss-drop-anchor-cell",
|
|
2664
|
-
|
|
2666
|
+
n && "gloss-drop-anchor-cell--blocked-pulse",
|
|
2665
2667
|
l
|
|
2666
2668
|
].filter(Boolean).join(" "),
|
|
2667
2669
|
children: o
|
|
2668
2670
|
}
|
|
2669
2671
|
);
|
|
2670
2672
|
}
|
|
2671
|
-
function
|
|
2672
|
-
const i = (e +
|
|
2673
|
-
return `M${e},${t} Q${i},${s} ${
|
|
2673
|
+
function jt(e, t, n, r) {
|
|
2674
|
+
const i = (e + n) / 2, s = Math.min(t, r) - 40;
|
|
2675
|
+
return `M${e},${t} Q${i},${s} ${n},${r}`;
|
|
2674
2676
|
}
|
|
2675
|
-
function
|
|
2677
|
+
function On({
|
|
2676
2678
|
segments: e,
|
|
2677
|
-
durationMs: t =
|
|
2678
|
-
staggerMs:
|
|
2679
|
+
durationMs: t = K.spilloverArcDurationMs,
|
|
2680
|
+
staggerMs: n = K.spilloverStaggerMs,
|
|
2679
2681
|
className: r,
|
|
2680
2682
|
style: i
|
|
2681
2683
|
}) {
|
|
2682
|
-
return e.length === 0 ? null : /* @__PURE__ */
|
|
2684
|
+
return e.length === 0 ? null : /* @__PURE__ */ a(
|
|
2683
2685
|
"svg",
|
|
2684
2686
|
{
|
|
2685
2687
|
className: ["gloss-spillover-arc", r].filter(Boolean).join(" "),
|
|
@@ -2687,14 +2689,14 @@ function In({
|
|
|
2687
2689
|
"aria-hidden": "true",
|
|
2688
2690
|
overflow: "visible",
|
|
2689
2691
|
style: { position: "absolute", inset: 0, pointerEvents: "none", ...i },
|
|
2690
|
-
children: e.map((s, l) => /* @__PURE__ */
|
|
2692
|
+
children: e.map((s, l) => /* @__PURE__ */ a(
|
|
2691
2693
|
"path",
|
|
2692
2694
|
{
|
|
2693
2695
|
"data-arc-id": s.id,
|
|
2694
2696
|
className: "gloss-spillover-arc__path",
|
|
2695
|
-
d:
|
|
2697
|
+
d: jt(s.fromX, s.fromY, s.toX, s.toY),
|
|
2696
2698
|
style: {
|
|
2697
|
-
animationDelay: `${l *
|
|
2699
|
+
animationDelay: `${l * n}ms`,
|
|
2698
2700
|
animationDuration: `${t}ms`
|
|
2699
2701
|
}
|
|
2700
2702
|
},
|
|
@@ -2703,24 +2705,24 @@ function In({
|
|
|
2703
2705
|
}
|
|
2704
2706
|
);
|
|
2705
2707
|
}
|
|
2706
|
-
function
|
|
2708
|
+
function $n({
|
|
2707
2709
|
state: e,
|
|
2708
2710
|
staggerIndex: t = 0,
|
|
2709
|
-
fadeInMs:
|
|
2710
|
-
fadeOutMs: r =
|
|
2711
|
-
staggerMs: i =
|
|
2711
|
+
fadeInMs: n = K.sectionDividerFadeInMs,
|
|
2712
|
+
fadeOutMs: r = K.sectionDividerFadeOutMs,
|
|
2713
|
+
staggerMs: i = K.sectionDividerStaggerMs,
|
|
2712
2714
|
variant: s = "dashed",
|
|
2713
2715
|
className: l,
|
|
2714
2716
|
style: o,
|
|
2715
2717
|
...u
|
|
2716
2718
|
}) {
|
|
2717
2719
|
const m = {
|
|
2718
|
-
"--gloss-section-divider-fade-in-ms": `${
|
|
2720
|
+
"--gloss-section-divider-fade-in-ms": `${n}ms`,
|
|
2719
2721
|
"--gloss-section-divider-fade-out-ms": `${r}ms`,
|
|
2720
2722
|
"--gloss-section-divider-stagger-delay": `${t * i}ms`,
|
|
2721
2723
|
...o
|
|
2722
2724
|
};
|
|
2723
|
-
return /* @__PURE__ */
|
|
2725
|
+
return /* @__PURE__ */ a(
|
|
2724
2726
|
"div",
|
|
2725
2727
|
{
|
|
2726
2728
|
...u,
|
|
@@ -2737,7 +2739,7 @@ function Ln({
|
|
|
2737
2739
|
}
|
|
2738
2740
|
);
|
|
2739
2741
|
}
|
|
2740
|
-
const
|
|
2742
|
+
const ye = ({ visible: e, variant: t, trigger: n, children: r, className: i }) => {
|
|
2741
2743
|
const s = {
|
|
2742
2744
|
"--gloss-swing-enter-ms": `${U.enterDurationMs}ms`,
|
|
2743
2745
|
"--gloss-swing-exit-ms": `${U.exitDurationMs}ms`,
|
|
@@ -2747,10 +2749,10 @@ const ve = ({ visible: e, variant: t, trigger: a, children: r, className: i }) =
|
|
|
2747
2749
|
}, l = [
|
|
2748
2750
|
"gloss-swing-reveal",
|
|
2749
2751
|
`gloss-swing-reveal--${t}`,
|
|
2750
|
-
|
|
2752
|
+
n === "hover+focus" ? "gloss-swing-reveal--hover-focus" : "",
|
|
2751
2753
|
i ?? ""
|
|
2752
2754
|
].filter(Boolean).join(" ");
|
|
2753
|
-
return /* @__PURE__ */
|
|
2755
|
+
return /* @__PURE__ */ a(
|
|
2754
2756
|
"span",
|
|
2755
2757
|
{
|
|
2756
2758
|
"data-testid": "gloss-swing-reveal",
|
|
@@ -2762,10 +2764,10 @@ const ve = ({ visible: e, variant: t, trigger: a, children: r, className: i }) =
|
|
|
2762
2764
|
}
|
|
2763
2765
|
);
|
|
2764
2766
|
};
|
|
2765
|
-
function
|
|
2767
|
+
function Bn({
|
|
2766
2768
|
enabled: e,
|
|
2767
2769
|
onCollapse: t,
|
|
2768
|
-
onAdd:
|
|
2770
|
+
onAdd: n,
|
|
2769
2771
|
addGlyphLabel: r,
|
|
2770
2772
|
collapseGlyphLabel: i,
|
|
2771
2773
|
className: s,
|
|
@@ -2773,9 +2775,9 @@ function On({
|
|
|
2773
2775
|
onPack: o,
|
|
2774
2776
|
ariaLabel: u
|
|
2775
2777
|
}) {
|
|
2776
|
-
const m = r ?? "Add card to this cell", d = i ?? u ?? "Pack row — shift cards left", g = t ?? o, { affordancesVisible: c } =
|
|
2778
|
+
const m = r ?? "Add card to this cell", d = i ?? u ?? "Pack row — shift cards left", g = t ?? o, { affordancesVisible: c } = Ge();
|
|
2777
2779
|
return /* @__PURE__ */ f(O.Fragment, { children: [
|
|
2778
|
-
/* @__PURE__ */
|
|
2780
|
+
/* @__PURE__ */ a(ye, { visible: e && c, variant: "pack", trigger: "hover+focus", children: /* @__PURE__ */ a(
|
|
2779
2781
|
"button",
|
|
2780
2782
|
{
|
|
2781
2783
|
type: "button",
|
|
@@ -2788,12 +2790,12 @@ function On({
|
|
|
2788
2790
|
].filter(Boolean).join(" "),
|
|
2789
2791
|
style: l,
|
|
2790
2792
|
onClick: (p) => {
|
|
2791
|
-
p.stopPropagation(),
|
|
2793
|
+
p.stopPropagation(), n?.();
|
|
2792
2794
|
},
|
|
2793
|
-
children: /* @__PURE__ */
|
|
2795
|
+
children: /* @__PURE__ */ a("span", { "aria-hidden": "true", className: "gloss-empty-cell-pack-affordance__glyph", children: "+" })
|
|
2794
2796
|
}
|
|
2795
2797
|
) }),
|
|
2796
|
-
/* @__PURE__ */
|
|
2798
|
+
/* @__PURE__ */ a(ye, { visible: e && c, variant: "pack", trigger: "hover+focus", children: /* @__PURE__ */ a(
|
|
2797
2799
|
"button",
|
|
2798
2800
|
{
|
|
2799
2801
|
type: "button",
|
|
@@ -2804,15 +2806,15 @@ function On({
|
|
|
2804
2806
|
onClick: (p) => {
|
|
2805
2807
|
p.stopPropagation(), g?.();
|
|
2806
2808
|
},
|
|
2807
|
-
children: /* @__PURE__ */
|
|
2809
|
+
children: /* @__PURE__ */ a("span", { "aria-hidden": "true", className: "gloss-empty-cell-pack-affordance__glyph", children: "×" })
|
|
2808
2810
|
}
|
|
2809
2811
|
) })
|
|
2810
2812
|
] });
|
|
2811
2813
|
}
|
|
2812
|
-
function
|
|
2814
|
+
function zn({
|
|
2813
2815
|
tint: e,
|
|
2814
2816
|
colSpan: t,
|
|
2815
|
-
colWidth:
|
|
2817
|
+
colWidth: n,
|
|
2816
2818
|
rowHeight: r,
|
|
2817
2819
|
gap: i,
|
|
2818
2820
|
x: s,
|
|
@@ -2820,8 +2822,8 @@ function $n({
|
|
|
2820
2822
|
children: o,
|
|
2821
2823
|
className: u
|
|
2822
2824
|
}) {
|
|
2823
|
-
const m = t *
|
|
2824
|
-
return
|
|
2825
|
+
const m = t * n + (t - 1) * i, d = O.useRef(null);
|
|
2826
|
+
return re("drag-ghost", () => {
|
|
2825
2827
|
if (process.env.NODE_ENV === "production")
|
|
2826
2828
|
return { values: {}, spec: null, state: "idle", t: performance.now() };
|
|
2827
2829
|
const g = d.current?.getBoundingClientRect() ?? null;
|
|
@@ -2844,26 +2846,26 @@ function $n({
|
|
|
2844
2846
|
state: "active",
|
|
2845
2847
|
t: performance.now()
|
|
2846
2848
|
};
|
|
2847
|
-
}),
|
|
2849
|
+
}), re("commit-ghost-singleton", () => {
|
|
2848
2850
|
if (process.env.NODE_ENV === "production")
|
|
2849
2851
|
return { values: {}, spec: null, state: "idle", t: performance.now() };
|
|
2850
2852
|
const g = d.current;
|
|
2851
2853
|
let c = 0, p = "", b = "", k = "";
|
|
2852
2854
|
if (g)
|
|
2853
2855
|
try {
|
|
2854
|
-
const T = window.getComputedStyle(g),
|
|
2855
|
-
c = h || v || N ? 1 : 0, p = h ?
|
|
2856
|
+
const T = window.getComputedStyle(g), w = T.outline || "", S = T.border || "", R = T.boxShadow || "", h = !!w && w !== "none" && !/^0px(\s+none)?(\s+rgba?\(0,\s*0,\s*0,\s*0\))?$/i.test(w), v = !!S && S !== "none" && !/^0px(\s+none)?(\s+rgba?\(0,\s*0,\s*0,\s*0\))?$/i.test(S), N = !!R && R !== "none";
|
|
2857
|
+
c = h || v || N ? 1 : 0, p = h ? w : "", b = v ? S : "", k = N ? R : "";
|
|
2856
2858
|
} catch {
|
|
2857
2859
|
}
|
|
2858
|
-
const
|
|
2860
|
+
const _ = g?.getBoundingClientRect() ?? null, y = g ? "drag-clone" : "subsumed-by-tracking-outline";
|
|
2859
2861
|
return {
|
|
2860
2862
|
values: {
|
|
2861
2863
|
x: s.get(),
|
|
2862
2864
|
y: l.get(),
|
|
2863
|
-
bounds_x:
|
|
2864
|
-
bounds_y:
|
|
2865
|
-
bounds_w:
|
|
2866
|
-
bounds_h:
|
|
2865
|
+
bounds_x: _?.x ?? 0,
|
|
2866
|
+
bounds_y: _?.y ?? 0,
|
|
2867
|
+
bounds_w: _?.width ?? 0,
|
|
2868
|
+
bounds_h: _?.height ?? 0,
|
|
2867
2869
|
visible: g ? 1 : 0,
|
|
2868
2870
|
outlineOnClone: c
|
|
2869
2871
|
},
|
|
@@ -2881,7 +2883,7 @@ function $n({
|
|
|
2881
2883
|
state: g ? "active" : "idle",
|
|
2882
2884
|
t: performance.now()
|
|
2883
2885
|
};
|
|
2884
|
-
}), /* @__PURE__ */
|
|
2886
|
+
}), /* @__PURE__ */ a(
|
|
2885
2887
|
B.div,
|
|
2886
2888
|
{
|
|
2887
2889
|
ref: d,
|
|
@@ -2898,11 +2900,11 @@ function $n({
|
|
|
2898
2900
|
}
|
|
2899
2901
|
);
|
|
2900
2902
|
}
|
|
2901
|
-
const
|
|
2902
|
-
function
|
|
2903
|
+
const Ut = 3;
|
|
2904
|
+
function Oe({
|
|
2903
2905
|
gesture: e,
|
|
2904
2906
|
cell: t,
|
|
2905
|
-
colSpan:
|
|
2907
|
+
colSpan: n,
|
|
2906
2908
|
colWidth: r,
|
|
2907
2909
|
gap: i,
|
|
2908
2910
|
rowHeight: s,
|
|
@@ -2911,7 +2913,7 @@ function Le({
|
|
|
2911
2913
|
className: u,
|
|
2912
2914
|
motionWidth: m
|
|
2913
2915
|
}) {
|
|
2914
|
-
const d =
|
|
2916
|
+
const d = n * r + (n - 1) * i, c = (t.section * Ut + t.col) * (r + i), p = t.row * (s + i), b = e === "resize" ? 2.5 : 2, k = l === "dashed-retreated" ? "dashed" : "solid", _ = e === "drag" ? "gloss-snap-outline" : "gloss-tracking-outline", y = {
|
|
2915
2917
|
className: [
|
|
2916
2918
|
"gloss-tracking-outline",
|
|
2917
2919
|
`gloss-tracking-outline--${e}`,
|
|
@@ -2921,13 +2923,13 @@ function Le({
|
|
|
2921
2923
|
e === "drag" ? "gloss-drag-feedback-snap-outline" : null,
|
|
2922
2924
|
u
|
|
2923
2925
|
].filter(Boolean).join(" "),
|
|
2924
|
-
"data-testid":
|
|
2926
|
+
"data-testid": _,
|
|
2925
2927
|
"data-tracking-outline": "",
|
|
2926
2928
|
"data-gesture": e,
|
|
2927
2929
|
"data-pattern": l,
|
|
2928
2930
|
"aria-hidden": "true"
|
|
2929
2931
|
};
|
|
2930
|
-
return m ? /* @__PURE__ */
|
|
2932
|
+
return m ? /* @__PURE__ */ a(
|
|
2931
2933
|
B.div,
|
|
2932
2934
|
{
|
|
2933
2935
|
...y,
|
|
@@ -2939,7 +2941,7 @@ function Le({
|
|
|
2939
2941
|
borderStyle: k
|
|
2940
2942
|
}
|
|
2941
2943
|
}
|
|
2942
|
-
) : /* @__PURE__ */
|
|
2944
|
+
) : /* @__PURE__ */ a(
|
|
2943
2945
|
"div",
|
|
2944
2946
|
{
|
|
2945
2947
|
...y,
|
|
@@ -2954,17 +2956,17 @@ function Le({
|
|
|
2954
2956
|
}
|
|
2955
2957
|
);
|
|
2956
2958
|
}
|
|
2957
|
-
function
|
|
2958
|
-
return /* @__PURE__ */
|
|
2959
|
+
function Gn(e) {
|
|
2960
|
+
return /* @__PURE__ */ a(Oe, { gesture: "drag", pattern: "solid", ...e });
|
|
2959
2961
|
}
|
|
2960
|
-
function
|
|
2962
|
+
function Hn({
|
|
2961
2963
|
items: e,
|
|
2962
2964
|
children: t,
|
|
2963
|
-
className:
|
|
2965
|
+
className: n,
|
|
2964
2966
|
debugMagenta: r
|
|
2965
2967
|
}) {
|
|
2966
2968
|
const i = process.env.NODE_ENV !== "production" && (r || typeof window < "u" && window.__GLOSS_CASCADE_PREVIEW_DEBUG__ === !0), s = O.useRef(e);
|
|
2967
|
-
return s.current = e,
|
|
2969
|
+
return s.current = e, re("cascade-preview", () => {
|
|
2968
2970
|
if (process.env.NODE_ENV === "production")
|
|
2969
2971
|
return { values: {}, spec: null, state: "idle", t: performance.now() };
|
|
2970
2972
|
const l = s.current;
|
|
@@ -2989,13 +2991,13 @@ function zn({
|
|
|
2989
2991
|
state: l.length > 0 ? "active" : "idle",
|
|
2990
2992
|
t: performance.now()
|
|
2991
2993
|
};
|
|
2992
|
-
}), e.length === 0 ? null : /* @__PURE__ */
|
|
2994
|
+
}), e.length === 0 ? null : /* @__PURE__ */ a(I, { children: e.map((l) => /* @__PURE__ */ a(
|
|
2993
2995
|
B.div,
|
|
2994
2996
|
{
|
|
2995
2997
|
"data-card-id": l.cardId,
|
|
2996
2998
|
"data-testid": "gloss-cascade-preview-item",
|
|
2997
2999
|
"aria-hidden": "true",
|
|
2998
|
-
className: ["gloss-cascade-preview-item",
|
|
3000
|
+
className: ["gloss-cascade-preview-item", n].filter(Boolean).join(" "),
|
|
2999
3001
|
style: {
|
|
3000
3002
|
position: "absolute",
|
|
3001
3003
|
left: l.left,
|
|
@@ -3011,10 +3013,10 @@ function zn({
|
|
|
3011
3013
|
l.cardId
|
|
3012
3014
|
)) });
|
|
3013
3015
|
}
|
|
3014
|
-
const
|
|
3016
|
+
const qt = ({
|
|
3015
3017
|
consumed: e,
|
|
3016
3018
|
elapsed: t,
|
|
3017
|
-
severity:
|
|
3019
|
+
severity: n = "neutral"
|
|
3018
3020
|
}) => {
|
|
3019
3021
|
const r = M(null), i = M(null);
|
|
3020
3022
|
E(() => {
|
|
@@ -3032,12 +3034,12 @@ const jt = ({
|
|
|
3032
3034
|
"aria-label": `${s}: ${e.value}%, ${l}: ${t.value}%`,
|
|
3033
3035
|
children: [
|
|
3034
3036
|
/* @__PURE__ */ f("div", { className: "gloss-dual-pace-bars__row", children: [
|
|
3035
|
-
/* @__PURE__ */
|
|
3036
|
-
/* @__PURE__ */
|
|
3037
|
+
/* @__PURE__ */ a("span", { className: "gloss-dual-pace-bars__track-label", children: s }),
|
|
3038
|
+
/* @__PURE__ */ a("div", { className: "gloss-dual-pace-bars__track", children: /* @__PURE__ */ a(
|
|
3037
3039
|
"div",
|
|
3038
3040
|
{
|
|
3039
3041
|
ref: r,
|
|
3040
|
-
className: `gloss-dual-pace-bars__fill gloss-dual-pace-bars__fill--consumed gloss-dual-pace-bars__fill--${
|
|
3042
|
+
className: `gloss-dual-pace-bars__fill gloss-dual-pace-bars__fill--consumed gloss-dual-pace-bars__fill--${n}`,
|
|
3041
3043
|
style: { width: "0%" },
|
|
3042
3044
|
role: "meter",
|
|
3043
3045
|
"aria-valuenow": Math.min(100, Math.max(0, e.value)),
|
|
@@ -3052,8 +3054,8 @@ const jt = ({
|
|
|
3052
3054
|
] })
|
|
3053
3055
|
] }),
|
|
3054
3056
|
/* @__PURE__ */ f("div", { className: "gloss-dual-pace-bars__row", children: [
|
|
3055
|
-
/* @__PURE__ */
|
|
3056
|
-
/* @__PURE__ */
|
|
3057
|
+
/* @__PURE__ */ a("span", { className: "gloss-dual-pace-bars__track-label", children: l }),
|
|
3058
|
+
/* @__PURE__ */ a("div", { className: "gloss-dual-pace-bars__track", children: /* @__PURE__ */ a(
|
|
3057
3059
|
"div",
|
|
3058
3060
|
{
|
|
3059
3061
|
ref: i,
|
|
@@ -3074,26 +3076,26 @@ const jt = ({
|
|
|
3074
3076
|
]
|
|
3075
3077
|
}
|
|
3076
3078
|
);
|
|
3077
|
-
},
|
|
3079
|
+
}, Yt = ({ label: e, value: t, severity: n }) => /* @__PURE__ */ f(
|
|
3078
3080
|
"div",
|
|
3079
3081
|
{
|
|
3080
|
-
className: `gloss-gap-readout gloss-gap-readout--${
|
|
3082
|
+
className: `gloss-gap-readout gloss-gap-readout--${n}`,
|
|
3081
3083
|
"aria-label": `${e}: ${t}`,
|
|
3082
3084
|
children: [
|
|
3083
|
-
/* @__PURE__ */
|
|
3085
|
+
/* @__PURE__ */ a("hr", { className: "gloss-gap-readout__separator" }),
|
|
3084
3086
|
/* @__PURE__ */ f("div", { className: "gloss-gap-readout__strip", children: [
|
|
3085
|
-
/* @__PURE__ */
|
|
3086
|
-
/* @__PURE__ */
|
|
3087
|
+
/* @__PURE__ */ a("span", { className: "gloss-gap-readout__label", children: e }),
|
|
3088
|
+
/* @__PURE__ */ a("span", { className: "gloss-gap-readout__value", children: t })
|
|
3087
3089
|
] })
|
|
3088
3090
|
]
|
|
3089
3091
|
}
|
|
3090
|
-
),
|
|
3091
|
-
/* @__PURE__ */
|
|
3092
|
+
), Qt = ({ label: e, onSetTarget: t }) => /* @__PURE__ */ f("div", { className: "gloss-pace-placeholder", children: [
|
|
3093
|
+
/* @__PURE__ */ a("p", { className: "gloss-pace-placeholder__heading", children: "Set a target" }),
|
|
3092
3094
|
/* @__PURE__ */ f("p", { className: "gloss-pace-placeholder__context", children: [
|
|
3093
3095
|
"for ",
|
|
3094
3096
|
e
|
|
3095
3097
|
] }),
|
|
3096
|
-
/* @__PURE__ */
|
|
3098
|
+
/* @__PURE__ */ a(
|
|
3097
3099
|
"button",
|
|
3098
3100
|
{
|
|
3099
3101
|
type: "button",
|
|
@@ -3103,95 +3105,95 @@ const jt = ({
|
|
|
3103
3105
|
children: "Set target"
|
|
3104
3106
|
}
|
|
3105
3107
|
)
|
|
3106
|
-
] }),
|
|
3107
|
-
const [t,
|
|
3108
|
-
|
|
3108
|
+
] }), Wn = (e) => {
|
|
3109
|
+
const [t, n] = A(!1), r = e.target?.value, i = r !== void 0, s = e.paceGapUnit === "usd" ? "$" : "%", l = /* @__PURE__ */ a(
|
|
3110
|
+
at,
|
|
3109
3111
|
{
|
|
3110
3112
|
label: `Set a target for ${e.label}`,
|
|
3111
3113
|
unit: s,
|
|
3112
3114
|
currentValue: r,
|
|
3113
3115
|
onConfirm: (o) => {
|
|
3114
|
-
e.onTargetChange(o),
|
|
3116
|
+
e.onTargetChange(o), n(!1);
|
|
3115
3117
|
},
|
|
3116
3118
|
onSkip: () => {
|
|
3117
|
-
e.onTargetSkip?.(),
|
|
3119
|
+
e.onTargetSkip?.(), n(!1);
|
|
3118
3120
|
}
|
|
3119
3121
|
}
|
|
3120
3122
|
);
|
|
3121
|
-
return /* @__PURE__ */
|
|
3122
|
-
|
|
3123
|
+
return /* @__PURE__ */ a(
|
|
3124
|
+
He,
|
|
3123
3125
|
{
|
|
3124
3126
|
colSpan: 2,
|
|
3125
3127
|
enableQuickSettings: !0,
|
|
3126
3128
|
isFlipped: t,
|
|
3127
|
-
onFlipChange:
|
|
3129
|
+
onFlipChange: n,
|
|
3128
3130
|
quickConfigSlot: l,
|
|
3129
3131
|
onRemove: e.onRemove,
|
|
3130
3132
|
children: /* @__PURE__ */ f("div", { className: `gloss-pace-card ${e.isStale ? "gloss-metric-data-stale" : ""}`, children: [
|
|
3131
|
-
/* @__PURE__ */
|
|
3132
|
-
e.subtitle && /* @__PURE__ */
|
|
3133
|
-
/* @__PURE__ */
|
|
3134
|
-
/* @__PURE__ */
|
|
3135
|
-
|
|
3133
|
+
/* @__PURE__ */ a("div", { className: "gloss-pace-card__label", children: e.label }),
|
|
3134
|
+
e.subtitle && /* @__PURE__ */ a("div", { className: "gloss-pace-card__subtitle", children: e.subtitle }),
|
|
3135
|
+
/* @__PURE__ */ a("div", { className: "gloss-pace-card__body", children: i ? /* @__PURE__ */ f(I, { children: [
|
|
3136
|
+
/* @__PURE__ */ a(
|
|
3137
|
+
qt,
|
|
3136
3138
|
{
|
|
3137
3139
|
consumed: e.consumed,
|
|
3138
3140
|
elapsed: e.elapsed,
|
|
3139
3141
|
severity: e.severity
|
|
3140
3142
|
}
|
|
3141
3143
|
),
|
|
3142
|
-
/* @__PURE__ */
|
|
3143
|
-
] }) : /* @__PURE__ */
|
|
3144
|
-
|
|
3144
|
+
/* @__PURE__ */ a(Yt, { label: "Gap", value: e.gapLabel, severity: e.severity })
|
|
3145
|
+
] }) : /* @__PURE__ */ a(
|
|
3146
|
+
Qt,
|
|
3145
3147
|
{
|
|
3146
3148
|
label: e.label,
|
|
3147
|
-
onSetTarget: () =>
|
|
3149
|
+
onSetTarget: () => n(!0)
|
|
3148
3150
|
}
|
|
3149
3151
|
) })
|
|
3150
3152
|
] })
|
|
3151
3153
|
}
|
|
3152
3154
|
);
|
|
3153
|
-
},
|
|
3154
|
-
/* @__PURE__ */
|
|
3155
|
+
}, Vn = () => /* @__PURE__ */ f("div", { className: "gloss-pace-tile-preview", "aria-hidden": "true", children: [
|
|
3156
|
+
/* @__PURE__ */ a(
|
|
3155
3157
|
"div",
|
|
3156
3158
|
{
|
|
3157
3159
|
className: "gloss-pace-tile-preview__bar gloss-pace-tile-preview__bar--consumed",
|
|
3158
3160
|
style: { width: "78%" }
|
|
3159
3161
|
}
|
|
3160
3162
|
),
|
|
3161
|
-
/* @__PURE__ */
|
|
3163
|
+
/* @__PURE__ */ a(
|
|
3162
3164
|
"div",
|
|
3163
3165
|
{
|
|
3164
3166
|
className: "gloss-pace-tile-preview__bar gloss-pace-tile-preview__bar--elapsed",
|
|
3165
3167
|
style: { width: "60%" }
|
|
3166
3168
|
}
|
|
3167
3169
|
),
|
|
3168
|
-
/* @__PURE__ */
|
|
3170
|
+
/* @__PURE__ */ a("div", { className: "gloss-pace-tile-preview__gap-strip" })
|
|
3169
3171
|
] });
|
|
3170
|
-
function
|
|
3171
|
-
return /* @__PURE__ */
|
|
3172
|
+
function Xt({ id: e, label: t, selected: n, focused: r, disabled: i, badge: s, onClick: l }) {
|
|
3173
|
+
return /* @__PURE__ */ a(
|
|
3172
3174
|
"span",
|
|
3173
3175
|
{
|
|
3174
3176
|
role: "radio",
|
|
3175
|
-
"aria-checked":
|
|
3177
|
+
"aria-checked": n,
|
|
3176
3178
|
"aria-disabled": i || void 0,
|
|
3177
3179
|
tabIndex: r ? 0 : -1,
|
|
3178
3180
|
className: "gloss-lens-chip",
|
|
3179
|
-
"data-selected":
|
|
3181
|
+
"data-selected": n || void 0,
|
|
3180
3182
|
"data-disabled": i || void 0,
|
|
3181
3183
|
onClick: () => {
|
|
3182
3184
|
i || l(e);
|
|
3183
3185
|
},
|
|
3184
3186
|
children: /* @__PURE__ */ f("span", { className: "gloss-lens-chip__inner", children: [
|
|
3185
|
-
/* @__PURE__ */
|
|
3186
|
-
s && /* @__PURE__ */
|
|
3187
|
+
/* @__PURE__ */ a("span", { className: "gloss-lens-chip__label", children: t }),
|
|
3188
|
+
s && /* @__PURE__ */ a("span", { className: "gloss-lens-chip__badge", children: s })
|
|
3187
3189
|
] })
|
|
3188
3190
|
}
|
|
3189
3191
|
);
|
|
3190
3192
|
}
|
|
3191
|
-
function
|
|
3193
|
+
function Jt({
|
|
3192
3194
|
lenses: e,
|
|
3193
3195
|
value: t,
|
|
3194
|
-
onChange:
|
|
3196
|
+
onChange: n,
|
|
3195
3197
|
"aria-label": r = "Lens"
|
|
3196
3198
|
}) {
|
|
3197
3199
|
const [i, s] = A(
|
|
@@ -3200,7 +3202,7 @@ function Qt({
|
|
|
3200
3202
|
return E(() => {
|
|
3201
3203
|
const o = e.findIndex((u) => u.id === t);
|
|
3202
3204
|
s(o >= 0 ? o : 0);
|
|
3203
|
-
}, [t, e]), e.length === 0 ? null : /* @__PURE__ */
|
|
3205
|
+
}, [t, e]), e.length === 0 ? null : /* @__PURE__ */ a(
|
|
3204
3206
|
"div",
|
|
3205
3207
|
{
|
|
3206
3208
|
role: "radiogroup",
|
|
@@ -3225,14 +3227,14 @@ function Qt({
|
|
|
3225
3227
|
case " ": {
|
|
3226
3228
|
o.preventDefault();
|
|
3227
3229
|
const u = e[i];
|
|
3228
|
-
u && !u.disabled &&
|
|
3230
|
+
u && !u.disabled && n(u.id);
|
|
3229
3231
|
break;
|
|
3230
3232
|
}
|
|
3231
3233
|
}
|
|
3232
3234
|
},
|
|
3233
3235
|
className: "gloss-lens-chip-group",
|
|
3234
|
-
children: e.map((o, u) => /* @__PURE__ */
|
|
3235
|
-
|
|
3236
|
+
children: e.map((o, u) => /* @__PURE__ */ a(
|
|
3237
|
+
Xt,
|
|
3236
3238
|
{
|
|
3237
3239
|
id: o.id,
|
|
3238
3240
|
label: o.label,
|
|
@@ -3240,36 +3242,36 @@ function Qt({
|
|
|
3240
3242
|
focused: u === i,
|
|
3241
3243
|
disabled: o.disabled,
|
|
3242
3244
|
badge: o.badge,
|
|
3243
|
-
onClick:
|
|
3245
|
+
onClick: n
|
|
3244
3246
|
},
|
|
3245
3247
|
o.id
|
|
3246
3248
|
))
|
|
3247
3249
|
}
|
|
3248
3250
|
);
|
|
3249
3251
|
}
|
|
3250
|
-
|
|
3251
|
-
function
|
|
3252
|
+
Jt.displayName = "LensChipGroup";
|
|
3253
|
+
function Zt({ heading: e, children: t }) {
|
|
3252
3254
|
return !t || Array.isArray(t) && t.length === 0 ? null : /* @__PURE__ */ f("section", { className: "gloss-starter-rail", "aria-label": e, children: [
|
|
3253
|
-
/* @__PURE__ */
|
|
3254
|
-
/* @__PURE__ */
|
|
3255
|
+
/* @__PURE__ */ a("header", { className: "gloss-starter-rail__heading", children: e }),
|
|
3256
|
+
/* @__PURE__ */ a("div", { className: "gloss-starter-rail__tiles", children: t })
|
|
3255
3257
|
] });
|
|
3256
3258
|
}
|
|
3257
|
-
|
|
3258
|
-
function
|
|
3259
|
+
Zt.displayName = "StarterRail";
|
|
3260
|
+
function ea({ heading: e, children: t, emptyStateLabel: n }) {
|
|
3259
3261
|
const r = !t || Array.isArray(t) && t.length === 0;
|
|
3260
3262
|
return /* @__PURE__ */ f("section", { className: "gloss-more-in-lens-rail", "aria-label": e, children: [
|
|
3261
|
-
/* @__PURE__ */
|
|
3263
|
+
/* @__PURE__ */ a("header", { className: "gloss-more-in-lens-rail__heading", children: e }),
|
|
3262
3264
|
/* @__PURE__ */ f("div", { className: "gloss-more-in-lens-rail__tiles", children: [
|
|
3263
3265
|
t,
|
|
3264
|
-
r &&
|
|
3266
|
+
r && n && /* @__PURE__ */ a("p", { className: "gloss-more-in-lens-rail__empty", children: n })
|
|
3265
3267
|
] })
|
|
3266
3268
|
] });
|
|
3267
3269
|
}
|
|
3268
|
-
|
|
3270
|
+
ea.displayName = "MoreInLensRail";
|
|
3269
3271
|
function $({
|
|
3270
3272
|
lead: e,
|
|
3271
3273
|
name: t,
|
|
3272
|
-
secondary:
|
|
3274
|
+
secondary: n,
|
|
3273
3275
|
value: r,
|
|
3274
3276
|
trail: i,
|
|
3275
3277
|
variant: s = "default",
|
|
@@ -3283,13 +3285,13 @@ function $({
|
|
|
3283
3285
|
l ? "gloss-entity-row--clickable" : "",
|
|
3284
3286
|
o ?? ""
|
|
3285
3287
|
].filter(Boolean).join(" "), d = /* @__PURE__ */ f(I, { children: [
|
|
3286
|
-
e !== void 0 && /* @__PURE__ */
|
|
3287
|
-
/* @__PURE__ */
|
|
3288
|
-
|
|
3289
|
-
/* @__PURE__ */
|
|
3290
|
-
i !== void 0 && /* @__PURE__ */
|
|
3288
|
+
e !== void 0 && /* @__PURE__ */ a("span", { className: "gloss-entity-row__lead", children: e }),
|
|
3289
|
+
/* @__PURE__ */ a("span", { className: "gloss-entity-row__name", title: t, children: t }),
|
|
3290
|
+
n !== void 0 && /* @__PURE__ */ a("span", { className: "gloss-entity-row__secondary", children: n }),
|
|
3291
|
+
/* @__PURE__ */ a("span", { className: "gloss-entity-row__value", children: r }),
|
|
3292
|
+
i !== void 0 && /* @__PURE__ */ a("span", { className: "gloss-entity-row__trail", children: i })
|
|
3291
3293
|
] });
|
|
3292
|
-
return l ? /* @__PURE__ */
|
|
3294
|
+
return l ? /* @__PURE__ */ a("div", { role: "listitem", className: m, style: u, children: /* @__PURE__ */ a(
|
|
3293
3295
|
"button",
|
|
3294
3296
|
{
|
|
3295
3297
|
type: "button",
|
|
@@ -3306,12 +3308,12 @@ function $({
|
|
|
3306
3308
|
},
|
|
3307
3309
|
children: d
|
|
3308
3310
|
}
|
|
3309
|
-
) }) : /* @__PURE__ */
|
|
3311
|
+
) }) : /* @__PURE__ */ a("div", { role: "listitem", className: m, style: u, children: d });
|
|
3310
3312
|
}
|
|
3311
3313
|
$.displayName = "EntityRow";
|
|
3312
3314
|
const Q = ({ rank: e }) => {
|
|
3313
3315
|
const t = e === 1 ? "first" : "other";
|
|
3314
|
-
return /* @__PURE__ */
|
|
3316
|
+
return /* @__PURE__ */ a(
|
|
3315
3317
|
"span",
|
|
3316
3318
|
{
|
|
3317
3319
|
role: "img",
|
|
@@ -3322,8 +3324,8 @@ const Q = ({ rank: e }) => {
|
|
|
3322
3324
|
);
|
|
3323
3325
|
};
|
|
3324
3326
|
Q.displayName = "RankBadge";
|
|
3325
|
-
function
|
|
3326
|
-
return /* @__PURE__ */
|
|
3327
|
+
function X({ severity: e, "aria-label": t }) {
|
|
3328
|
+
return /* @__PURE__ */ a(
|
|
3327
3329
|
"span",
|
|
3328
3330
|
{
|
|
3329
3331
|
role: "img",
|
|
@@ -3332,18 +3334,18 @@ function J({ severity: e, "aria-label": t }) {
|
|
|
3332
3334
|
}
|
|
3333
3335
|
);
|
|
3334
3336
|
}
|
|
3335
|
-
|
|
3336
|
-
function
|
|
3337
|
+
X.displayName = "SeverityDot";
|
|
3338
|
+
function $e({
|
|
3337
3339
|
delta: e,
|
|
3338
3340
|
direction: t = "flat",
|
|
3339
|
-
"aria-label":
|
|
3341
|
+
"aria-label": n
|
|
3340
3342
|
}) {
|
|
3341
3343
|
if (e === "new")
|
|
3342
|
-
return /* @__PURE__ */
|
|
3344
|
+
return /* @__PURE__ */ a(
|
|
3343
3345
|
"span",
|
|
3344
3346
|
{
|
|
3345
3347
|
role: "img",
|
|
3346
|
-
"aria-label":
|
|
3348
|
+
"aria-label": n,
|
|
3347
3349
|
className: "gloss-rank-delta gloss-rank-delta--new",
|
|
3348
3350
|
children: "NEW"
|
|
3349
3351
|
}
|
|
@@ -3353,7 +3355,7 @@ function Oe({
|
|
|
3353
3355
|
"span",
|
|
3354
3356
|
{
|
|
3355
3357
|
role: "img",
|
|
3356
|
-
"aria-label":
|
|
3358
|
+
"aria-label": n,
|
|
3357
3359
|
className: `gloss-rank-delta gloss-rank-delta--${t}`,
|
|
3358
3360
|
children: [
|
|
3359
3361
|
r,
|
|
@@ -3362,66 +3364,66 @@ function Oe({
|
|
|
3362
3364
|
}
|
|
3363
3365
|
);
|
|
3364
3366
|
}
|
|
3365
|
-
|
|
3366
|
-
function
|
|
3367
|
+
$e.displayName = "RankDelta";
|
|
3368
|
+
function J({ fill: e, variant: t = "default", className: n }) {
|
|
3367
3369
|
const r = Math.max(0, Math.min(100, e));
|
|
3368
|
-
return /* @__PURE__ */
|
|
3370
|
+
return /* @__PURE__ */ a(
|
|
3369
3371
|
"div",
|
|
3370
3372
|
{
|
|
3371
3373
|
"aria-hidden": "true",
|
|
3372
3374
|
className: [
|
|
3373
3375
|
"gloss-magnitude-bar",
|
|
3374
3376
|
`gloss-magnitude-bar--${t}`,
|
|
3375
|
-
|
|
3377
|
+
n ?? ""
|
|
3376
3378
|
].filter(Boolean).join(" "),
|
|
3377
3379
|
style: { "--_fill": `${r}%` },
|
|
3378
|
-
children: /* @__PURE__ */
|
|
3380
|
+
children: /* @__PURE__ */ a("div", { className: "gloss-magnitude-bar__fill" })
|
|
3379
3381
|
}
|
|
3380
3382
|
);
|
|
3381
3383
|
}
|
|
3382
|
-
|
|
3383
|
-
const
|
|
3384
|
-
function
|
|
3384
|
+
J.displayName = "MagnitudeBar";
|
|
3385
|
+
const ta = (e) => e.rankDelta === "new" ? "New entry" : e.direction === "up" ? `Rank up ${e.rankDelta}` : e.direction === "down" ? `Rank down ${e.rankDelta}` : "Rank unchanged";
|
|
3386
|
+
function aa({
|
|
3385
3387
|
label: e,
|
|
3386
3388
|
rows: t,
|
|
3387
|
-
rowCount:
|
|
3389
|
+
rowCount: n,
|
|
3388
3390
|
rankDeltaPeriod: r,
|
|
3389
3391
|
isStale: i
|
|
3390
3392
|
}) {
|
|
3391
|
-
const s =
|
|
3393
|
+
const s = n ?? 3;
|
|
3392
3394
|
return /* @__PURE__ */ f(I, { children: [
|
|
3393
|
-
/* @__PURE__ */
|
|
3394
|
-
|
|
3395
|
+
/* @__PURE__ */ a(
|
|
3396
|
+
q,
|
|
3395
3397
|
{
|
|
3396
3398
|
className: "gloss-metric-card__zone-a",
|
|
3397
3399
|
style: { height: 28, flexShrink: 0, zIndex: 2, position: "relative" },
|
|
3398
|
-
children: /* @__PURE__ */
|
|
3400
|
+
children: /* @__PURE__ */ a(se, { className: "gloss-metric-card__label", children: e })
|
|
3399
3401
|
}
|
|
3400
3402
|
),
|
|
3401
|
-
/* @__PURE__ */
|
|
3402
|
-
|
|
3403
|
+
/* @__PURE__ */ a(
|
|
3404
|
+
q,
|
|
3403
3405
|
{
|
|
3404
3406
|
className: `gloss-metric-card__zone-b gloss-leaderboard ${i ? "gloss-metric-data-stale" : ""}`,
|
|
3405
3407
|
style: { flex: 1, zIndex: 2, position: "relative", minHeight: 0 },
|
|
3406
|
-
children: /* @__PURE__ */
|
|
3408
|
+
children: /* @__PURE__ */ a("div", { className: "gloss-leaderboard__rows", role: "list", children: t.slice(0, s).map((l, o) => /* @__PURE__ */ a(
|
|
3407
3409
|
$,
|
|
3408
3410
|
{
|
|
3409
|
-
lead: /* @__PURE__ */
|
|
3411
|
+
lead: /* @__PURE__ */ a(Q, { rank: o + 1 }),
|
|
3410
3412
|
name: l.name,
|
|
3411
|
-
secondary: /* @__PURE__ */
|
|
3412
|
-
|
|
3413
|
+
secondary: /* @__PURE__ */ a(
|
|
3414
|
+
J,
|
|
3413
3415
|
{
|
|
3414
3416
|
fill: l.magnitude,
|
|
3415
3417
|
variant: l.isBottom ? "bottom" : "default"
|
|
3416
3418
|
}
|
|
3417
3419
|
),
|
|
3418
3420
|
value: l.value,
|
|
3419
|
-
trail: /* @__PURE__ */
|
|
3420
|
-
|
|
3421
|
+
trail: /* @__PURE__ */ a(
|
|
3422
|
+
$e,
|
|
3421
3423
|
{
|
|
3422
3424
|
delta: l.rankDelta,
|
|
3423
3425
|
direction: l.direction,
|
|
3424
|
-
"aria-label":
|
|
3426
|
+
"aria-label": ta(l)
|
|
3425
3427
|
}
|
|
3426
3428
|
),
|
|
3427
3429
|
variant: "leaderboard",
|
|
@@ -3437,78 +3439,78 @@ function ea({
|
|
|
3437
3439
|
] })
|
|
3438
3440
|
] });
|
|
3439
3441
|
}
|
|
3440
|
-
|
|
3441
|
-
const
|
|
3442
|
+
aa.displayName = "LeaderboardCard";
|
|
3443
|
+
const na = () => /* @__PURE__ */ f(
|
|
3442
3444
|
"div",
|
|
3443
3445
|
{
|
|
3444
3446
|
className: "leaderboard-tile-preview",
|
|
3445
3447
|
"aria-hidden": "true",
|
|
3446
3448
|
style: { transform: "scale(0.6)", transformOrigin: "top left" },
|
|
3447
3449
|
children: [
|
|
3448
|
-
/* @__PURE__ */
|
|
3449
|
-
/* @__PURE__ */
|
|
3450
|
-
/* @__PURE__ */
|
|
3450
|
+
/* @__PURE__ */ a($, { lead: /* @__PURE__ */ a(Q, { rank: 1 }), name: "Vendor A", secondary: /* @__PURE__ */ a(J, { fill: 96 }), value: "98%" }),
|
|
3451
|
+
/* @__PURE__ */ a($, { lead: /* @__PURE__ */ a(Q, { rank: 2 }), name: "Vendor B", secondary: /* @__PURE__ */ a(J, { fill: 72 }), value: "85%" }),
|
|
3452
|
+
/* @__PURE__ */ a($, { lead: /* @__PURE__ */ a(Q, { rank: 3 }), name: "Vendor C", secondary: /* @__PURE__ */ a(J, { fill: 48 }), value: "71%" })
|
|
3451
3453
|
]
|
|
3452
3454
|
}
|
|
3453
3455
|
);
|
|
3454
|
-
|
|
3455
|
-
const
|
|
3456
|
-
const
|
|
3457
|
-
if (typeof
|
|
3456
|
+
na.displayName = "LeaderboardTilePreview";
|
|
3457
|
+
const ra = (e) => e === "critical" ? "Critical severity" : e === "warn" ? "Warning severity" : "Info severity", sa = (e, t) => {
|
|
3458
|
+
const n = e.sourceValue;
|
|
3459
|
+
if (typeof n != "number") return !1;
|
|
3458
3460
|
switch (t.condition) {
|
|
3459
3461
|
case "lt":
|
|
3460
|
-
return
|
|
3462
|
+
return n < t.threshold;
|
|
3461
3463
|
case "gt":
|
|
3462
|
-
return
|
|
3464
|
+
return n > t.threshold;
|
|
3463
3465
|
case "eq":
|
|
3464
|
-
return
|
|
3466
|
+
return n === t.threshold;
|
|
3465
3467
|
case "gte":
|
|
3466
|
-
return
|
|
3468
|
+
return n >= t.threshold;
|
|
3467
3469
|
case "lte":
|
|
3468
|
-
return
|
|
3470
|
+
return n <= t.threshold;
|
|
3469
3471
|
default:
|
|
3470
3472
|
return !1;
|
|
3471
3473
|
}
|
|
3472
3474
|
};
|
|
3473
|
-
function
|
|
3475
|
+
function ia({
|
|
3474
3476
|
label: e,
|
|
3475
3477
|
rows: t,
|
|
3476
|
-
rule:
|
|
3478
|
+
rule: n,
|
|
3477
3479
|
rowCount: r,
|
|
3478
3480
|
emptyStateLabel: i,
|
|
3479
3481
|
ruleSubtitle: s,
|
|
3480
3482
|
isStale: l
|
|
3481
3483
|
}) {
|
|
3482
|
-
const o = t.filter((m) =>
|
|
3484
|
+
const o = t.filter((m) => sa(m, n)), u = o.slice(0, r ?? 3);
|
|
3483
3485
|
return o.length === 0 ? /* @__PURE__ */ f(I, { children: [
|
|
3484
|
-
/* @__PURE__ */
|
|
3485
|
-
|
|
3486
|
+
/* @__PURE__ */ a(
|
|
3487
|
+
q,
|
|
3486
3488
|
{
|
|
3487
3489
|
className: "gloss-metric-card__zone-a",
|
|
3488
3490
|
style: { height: 28, flexShrink: 0, zIndex: 2, position: "relative" },
|
|
3489
|
-
children: /* @__PURE__ */
|
|
3491
|
+
children: /* @__PURE__ */ a(se, { className: "gloss-metric-card__label", children: e })
|
|
3490
3492
|
}
|
|
3491
3493
|
),
|
|
3492
|
-
/* @__PURE__ */
|
|
3493
|
-
s && /* @__PURE__ */
|
|
3494
|
+
/* @__PURE__ */ a("div", { className: "gloss-exception-list__empty", role: "status", children: i ?? "No exceptions" }),
|
|
3495
|
+
s && /* @__PURE__ */ a("div", { className: "gloss-exception-list__zone-c", children: s })
|
|
3494
3496
|
] }) : /* @__PURE__ */ f(I, { children: [
|
|
3495
|
-
/* @__PURE__ */
|
|
3496
|
-
|
|
3497
|
+
/* @__PURE__ */ a(
|
|
3498
|
+
q,
|
|
3497
3499
|
{
|
|
3498
3500
|
className: "gloss-metric-card__zone-a",
|
|
3499
3501
|
style: { height: 28, flexShrink: 0, zIndex: 2, position: "relative" },
|
|
3500
|
-
children: /* @__PURE__ */
|
|
3502
|
+
children: /* @__PURE__ */ a(se, { className: "gloss-metric-card__label", children: e })
|
|
3501
3503
|
}
|
|
3502
3504
|
),
|
|
3503
|
-
/* @__PURE__ */
|
|
3504
|
-
|
|
3505
|
+
/* @__PURE__ */ a(
|
|
3506
|
+
q,
|
|
3505
3507
|
{
|
|
3506
3508
|
className: `gloss-metric-card__zone-b gloss-exception-list ${l ? "gloss-metric-data-stale" : ""}`,
|
|
3507
3509
|
style: { flex: 1, zIndex: 2, position: "relative", minHeight: 0 },
|
|
3508
|
-
children: /* @__PURE__ */
|
|
3510
|
+
children: /* @__PURE__ */ a("div", { className: "gloss-exception-list__rows", role: "list", children: u.map((m, d) => /* @__PURE__ */ a(
|
|
3509
3511
|
$,
|
|
3510
3512
|
{
|
|
3511
|
-
lead: /* @__PURE__ */
|
|
3513
|
+
lead: /* @__PURE__ */ a(X, { severity: m.severity, "aria-label": ra(m.severity) }),
|
|
3512
3514
|
name: m.name,
|
|
3513
3515
|
value: m.value,
|
|
3514
3516
|
variant: "exception",
|
|
@@ -3518,37 +3520,37 @@ function ra({
|
|
|
3518
3520
|
)) })
|
|
3519
3521
|
}
|
|
3520
3522
|
),
|
|
3521
|
-
s && /* @__PURE__ */
|
|
3523
|
+
s && /* @__PURE__ */ a("div", { className: "gloss-exception-list__zone-c", children: s })
|
|
3522
3524
|
] });
|
|
3523
3525
|
}
|
|
3524
|
-
|
|
3525
|
-
const
|
|
3526
|
+
ia.displayName = "ExceptionListCard";
|
|
3527
|
+
const la = () => /* @__PURE__ */ f(
|
|
3526
3528
|
"div",
|
|
3527
3529
|
{
|
|
3528
3530
|
className: "exception-list-tile-preview",
|
|
3529
3531
|
"aria-hidden": "true",
|
|
3530
3532
|
style: { transform: "scale(0.6)", transformOrigin: "top left" },
|
|
3531
3533
|
children: [
|
|
3532
|
-
/* @__PURE__ */
|
|
3534
|
+
/* @__PURE__ */ a(
|
|
3533
3535
|
$,
|
|
3534
3536
|
{
|
|
3535
|
-
lead: /* @__PURE__ */
|
|
3537
|
+
lead: /* @__PURE__ */ a(X, { severity: "critical", "aria-label": "Critical severity" }),
|
|
3536
3538
|
name: "SKU A",
|
|
3537
3539
|
value: "0 on hand"
|
|
3538
3540
|
}
|
|
3539
3541
|
),
|
|
3540
|
-
/* @__PURE__ */
|
|
3542
|
+
/* @__PURE__ */ a(
|
|
3541
3543
|
$,
|
|
3542
3544
|
{
|
|
3543
|
-
lead: /* @__PURE__ */
|
|
3545
|
+
lead: /* @__PURE__ */ a(X, { severity: "warn", "aria-label": "Warning severity" }),
|
|
3544
3546
|
name: "SKU B",
|
|
3545
3547
|
value: "3 units"
|
|
3546
3548
|
}
|
|
3547
3549
|
),
|
|
3548
|
-
/* @__PURE__ */
|
|
3550
|
+
/* @__PURE__ */ a(
|
|
3549
3551
|
$,
|
|
3550
3552
|
{
|
|
3551
|
-
lead: /* @__PURE__ */
|
|
3553
|
+
lead: /* @__PURE__ */ a(X, { severity: "info", "aria-label": "Info severity" }),
|
|
3552
3554
|
name: "SKU C",
|
|
3553
3555
|
value: "12 days"
|
|
3554
3556
|
}
|
|
@@ -3556,32 +3558,32 @@ const sa = () => /* @__PURE__ */ f(
|
|
|
3556
3558
|
]
|
|
3557
3559
|
}
|
|
3558
3560
|
);
|
|
3559
|
-
|
|
3560
|
-
const
|
|
3561
|
+
la.displayName = "ExceptionListTilePreview";
|
|
3562
|
+
const _e = ["MTD", "QTD", "YTD", "LYTD", "7D"], we = ["$248K", "$612K", "$1.24M", "$980K", "$54K"], Ce = [
|
|
3561
3563
|
"M0,7 L10,5 L20,6 L30,3 L40,2",
|
|
3562
3564
|
"M0,6 L10,4 L20,5 L30,2 L40,1",
|
|
3563
3565
|
"M0,8 L10,7 L20,5 L30,4 L40,2",
|
|
3564
3566
|
"M0,5 L10,6 L20,3 L30,4 L40,1",
|
|
3565
3567
|
"M0,7 L10,4 L20,5 L30,3 L40,2"
|
|
3566
|
-
],
|
|
3568
|
+
], oa = ({
|
|
3567
3569
|
slotCount: e = 3,
|
|
3568
|
-
labels: t =
|
|
3569
|
-
sampleValues:
|
|
3570
|
+
labels: t = _e,
|
|
3571
|
+
sampleValues: n = we
|
|
3570
3572
|
}) => {
|
|
3571
3573
|
const r = Array.from({ length: e }, (i, s) => ({
|
|
3572
|
-
label: t[s] ??
|
|
3573
|
-
value:
|
|
3574
|
-
sparkPath:
|
|
3574
|
+
label: t[s] ?? _e[s] ?? "",
|
|
3575
|
+
value: n[s] ?? we[s] ?? "",
|
|
3576
|
+
sparkPath: Ce[s % Ce.length]
|
|
3575
3577
|
}));
|
|
3576
|
-
return e === 1 ? /* @__PURE__ */
|
|
3578
|
+
return e === 1 ? /* @__PURE__ */ a("div", { className: "gloss-stacked-group-tile-preview gloss-stacked-group-tile-preview--single", "aria-hidden": "true", children: /* @__PURE__ */ a("div", { className: "gloss-stacked-group-tile-preview__single-value", children: r[0].value }) }) : /* @__PURE__ */ a(
|
|
3577
3579
|
"div",
|
|
3578
3580
|
{
|
|
3579
3581
|
className: `gloss-stacked-group-tile-preview gloss-stacked-group-tile-preview--slots-${e}`,
|
|
3580
3582
|
"aria-hidden": "true",
|
|
3581
3583
|
children: r.map((i, s) => /* @__PURE__ */ f("div", { className: "gloss-stacked-group-tile-preview__row", children: [
|
|
3582
|
-
/* @__PURE__ */
|
|
3583
|
-
/* @__PURE__ */
|
|
3584
|
-
/* @__PURE__ */
|
|
3584
|
+
/* @__PURE__ */ a("span", { className: "gloss-stacked-group-tile-preview__row-label", children: i.label }),
|
|
3585
|
+
/* @__PURE__ */ a("span", { className: "gloss-stacked-group-tile-preview__row-value", children: i.value }),
|
|
3586
|
+
/* @__PURE__ */ a(
|
|
3585
3587
|
"svg",
|
|
3586
3588
|
{
|
|
3587
3589
|
className: "gloss-stacked-group-tile-preview__row-spark",
|
|
@@ -3590,15 +3592,15 @@ const ye = ["MTD", "QTD", "YTD", "LYTD", "7D"], we = ["$248K", "$612K", "$1.24M"
|
|
|
3590
3592
|
height: "10",
|
|
3591
3593
|
preserveAspectRatio: "none",
|
|
3592
3594
|
"aria-hidden": "true",
|
|
3593
|
-
children: /* @__PURE__ */
|
|
3595
|
+
children: /* @__PURE__ */ a("path", { d: i.sparkPath, fill: "none", stroke: "currentColor", strokeWidth: "1" })
|
|
3594
3596
|
}
|
|
3595
3597
|
)
|
|
3596
3598
|
] }, s))
|
|
3597
3599
|
}
|
|
3598
3600
|
);
|
|
3599
3601
|
};
|
|
3600
|
-
|
|
3601
|
-
const
|
|
3602
|
+
oa.displayName = "StackedGroupTilePreview";
|
|
3603
|
+
const Kn = {
|
|
3602
3604
|
/** GEV-01 — Eligibility tint. Contiguous-from-source paint; blocked by first occupied cell (Principle 4). */
|
|
3603
3605
|
eligibilityTint: { applicableStates: ["arming", "active"] },
|
|
3604
3606
|
/** GEV-01 — Commit tint. Fill+stroke emphasis on the commit-target cell footprint (G-02). */
|
|
@@ -3617,7 +3619,7 @@ const Wn = {
|
|
|
3617
3619
|
hideOnActive: { applicableStates: ["active"] },
|
|
3618
3620
|
/** GEV-01 — Refuse pulse. Discrete moment of crossing into rejection. Fires ONCE per transition (Principle 2). No strobing. */
|
|
3619
3621
|
refusePulse: { applicableStates: ["active"] }
|
|
3620
|
-
},
|
|
3622
|
+
}, Ne = {
|
|
3621
3623
|
baseCellTint: "#F1F4F8",
|
|
3622
3624
|
// Grey · Neutral −2
|
|
3623
3625
|
eligibilityFill: "#6F87D2",
|
|
@@ -3640,21 +3642,21 @@ const Wn = {
|
|
|
3640
3642
|
rejectionFill: "var(--gloss-g02-rejection-fill)",
|
|
3641
3643
|
rejectionStroke: "var(--gloss-g02-rejection-stroke)",
|
|
3642
3644
|
trackingOutline: "var(--gloss-g02-tracking-outline)"
|
|
3643
|
-
},
|
|
3644
|
-
function
|
|
3645
|
+
}, jn = "dashed", Un = "solid", qn = "sparse-dash", Yn = "2px no-fill", Qn = "6 4", Xn = "10 6", ca = 3;
|
|
3646
|
+
function Jn({
|
|
3645
3647
|
cell: e,
|
|
3646
3648
|
variant: t,
|
|
3647
|
-
rampColor:
|
|
3649
|
+
rampColor: n,
|
|
3648
3650
|
colWidth: r,
|
|
3649
3651
|
rowHeight: i,
|
|
3650
3652
|
gap: s,
|
|
3651
3653
|
className: l
|
|
3652
3654
|
}) {
|
|
3653
|
-
const u = (e.section *
|
|
3655
|
+
const u = (e.section * ca + e.col) * (r + s), m = e.row * (i + s), d = t === "eligibility" ? W.eligibilityFill : t === "commit" ? W.commitFill : t === "rejection" ? W.rejectionFill : (
|
|
3654
3656
|
/* ramp */
|
|
3655
|
-
|
|
3657
|
+
n ?? W.eligibilityFill
|
|
3656
3658
|
), g = t === "rejection", c = g ? W.rejectionStroke : "transparent", p = g ? "dashed" : "solid";
|
|
3657
|
-
return /* @__PURE__ */
|
|
3659
|
+
return /* @__PURE__ */ a(
|
|
3658
3660
|
"div",
|
|
3659
3661
|
{
|
|
3660
3662
|
className: [
|
|
@@ -3679,21 +3681,21 @@ function Qn({
|
|
|
3679
3681
|
}
|
|
3680
3682
|
);
|
|
3681
3683
|
}
|
|
3682
|
-
const
|
|
3684
|
+
const da = 3, ua = [
|
|
3683
3685
|
{ idx: 0, peakR: 22, peakOpacity: 0.45, strokeW: 1.5 },
|
|
3684
3686
|
{ idx: 1, peakR: 34, peakOpacity: 0.22, strokeW: 1 },
|
|
3685
3687
|
{ idx: 2, peakR: 46, peakOpacity: 0.1, strokeW: 0.8 }
|
|
3686
3688
|
];
|
|
3687
|
-
function
|
|
3689
|
+
function Zn({
|
|
3688
3690
|
cell: e,
|
|
3689
3691
|
fireKey: t,
|
|
3690
|
-
colWidth:
|
|
3692
|
+
colWidth: n,
|
|
3691
3693
|
rowHeight: r,
|
|
3692
3694
|
gap: i,
|
|
3693
3695
|
className: s
|
|
3694
3696
|
}) {
|
|
3695
|
-
const o = (e.section *
|
|
3696
|
-
return
|
|
3697
|
+
const o = (e.section * da + e.col) * (n + i) + n / 2, u = e.row * (r + i) + r / 2;
|
|
3698
|
+
return ke() === "reduced" ? /* @__PURE__ */ a(
|
|
3697
3699
|
"div",
|
|
3698
3700
|
{
|
|
3699
3701
|
className: ["gloss-refuse-pulse-flash", s].filter(Boolean).join(" "),
|
|
@@ -3714,7 +3716,7 @@ function Jn({
|
|
|
3714
3716
|
}
|
|
3715
3717
|
},
|
|
3716
3718
|
t
|
|
3717
|
-
) : /* @__PURE__ */
|
|
3719
|
+
) : /* @__PURE__ */ a(
|
|
3718
3720
|
"div",
|
|
3719
3721
|
{
|
|
3720
3722
|
className: ["gloss-refuse-pulse", s].filter(Boolean).join(" "),
|
|
@@ -3729,9 +3731,9 @@ function Jn({
|
|
|
3729
3731
|
top: 0,
|
|
3730
3732
|
pointerEvents: "none"
|
|
3731
3733
|
},
|
|
3732
|
-
children:
|
|
3734
|
+
children: ua.map((d) => {
|
|
3733
3735
|
const g = d.peakR * 2;
|
|
3734
|
-
return /* @__PURE__ */
|
|
3736
|
+
return /* @__PURE__ */ a(
|
|
3735
3737
|
"div",
|
|
3736
3738
|
{
|
|
3737
3739
|
className: `gloss-refuse-pulse__ring gloss-refuse-pulse__ring--${d.idx}`,
|
|
@@ -3763,27 +3765,17 @@ function Jn({
|
|
|
3763
3765
|
t
|
|
3764
3766
|
);
|
|
3765
3767
|
}
|
|
3766
|
-
function
|
|
3767
|
-
return /* @__PURE__ */
|
|
3768
|
-
}
|
|
3769
|
-
function da(e, t, a) {
|
|
3770
|
-
const r = Math.max(0, Math.min(1, a)), i = (g) => [
|
|
3771
|
-
parseInt(g.slice(1, 3), 16),
|
|
3772
|
-
parseInt(g.slice(3, 5), 16),
|
|
3773
|
-
parseInt(g.slice(5, 7), 16)
|
|
3774
|
-
], [s, l, o] = i(e), [u, m, d] = i(t);
|
|
3775
|
-
return `rgb(${Math.round(s + (u - s) * r)}, ${Math.round(l + (m - l) * r)}, ${Math.round(
|
|
3776
|
-
o + (d - o) * r
|
|
3777
|
-
)})`;
|
|
3768
|
+
function er(e) {
|
|
3769
|
+
return /* @__PURE__ */ a(Oe, { gesture: "resize", ...e });
|
|
3778
3770
|
}
|
|
3779
|
-
function
|
|
3771
|
+
function ma(e) {
|
|
3780
3772
|
return e <= 1 ? 1 : e >= 3 ? 3 : 2;
|
|
3781
3773
|
}
|
|
3782
|
-
function
|
|
3774
|
+
function pa(e) {
|
|
3783
3775
|
return e === "dragging";
|
|
3784
3776
|
}
|
|
3785
|
-
function
|
|
3786
|
-
const { edgeHover: t, sourceCell:
|
|
3777
|
+
function tr(e) {
|
|
3778
|
+
const { edgeHover: t, sourceCell: n, cascadeResult: r } = e, s = ke() === "reduced", l = O.useRef(t.currentColSpan), o = O.useRef({ armed: !0, fireKey: 0, lastResult: null }), u = O.useRef(t.currentColSpan), m = O.useRef("idle"), d = O.useRef(t.currentColSpan), g = pa(t.state);
|
|
3787
3779
|
if (s ? (m.current = "settled", d.current = t.currentColSpan, u.current = t.currentColSpan) : g ? m.current = t.currentColSpan !== u.current ? "incoming" : "outgoing" : (t.currentColSpan !== u.current && (d.current = t.currentColSpan, u.current = t.currentColSpan), m.current !== "idle" && (m.current = "settled")), !g)
|
|
3788
3780
|
return o.current.armed = !0, o.current.lastResult = null, {
|
|
3789
3781
|
trackingOutline: null,
|
|
@@ -3795,50 +3787,50 @@ function Zn(e) {
|
|
|
3795
3787
|
};
|
|
3796
3788
|
const c = t.hysteresisTargetColSpan, p = t.previewColSpan, b = r?.result === "rejected";
|
|
3797
3789
|
b || (l.current = c), b && o.current.armed && o.current.lastResult !== "rejected" && (o.current.fireKey += 1, o.current.armed = !1), o.current.lastResult = b ? "rejected" : "ok";
|
|
3798
|
-
const k = b ? l.current : c,
|
|
3790
|
+
const k = b ? l.current : c, _ = {
|
|
3799
3791
|
cell: { section: 0, col: 0, row: 0 },
|
|
3800
3792
|
colSpan: k,
|
|
3801
3793
|
pattern: b ? "dashed-retreated" : "solid"
|
|
3802
3794
|
}, y = [];
|
|
3803
3795
|
if (b) {
|
|
3804
|
-
const S =
|
|
3796
|
+
const S = n.col + l.current, R = n.col + c - 1;
|
|
3805
3797
|
for (let h = S; h <= R && h <= 2; h++)
|
|
3806
3798
|
y.push({
|
|
3807
3799
|
cell: {
|
|
3808
3800
|
section: 0,
|
|
3809
|
-
col: h -
|
|
3801
|
+
col: h - n.col,
|
|
3810
3802
|
row: 0
|
|
3811
3803
|
},
|
|
3812
3804
|
variant: "rejection"
|
|
3813
3805
|
});
|
|
3814
3806
|
} else {
|
|
3815
3807
|
const S = Math.abs(p - c), R = Math.max(0, Math.min(1, 1 - S));
|
|
3816
|
-
for (let h =
|
|
3817
|
-
if (h ===
|
|
3818
|
-
const v = h ===
|
|
3808
|
+
for (let h = n.col; h < n.col + c && h <= 2; h++) {
|
|
3809
|
+
if (h === n.col) continue;
|
|
3810
|
+
const v = h === n.col + c - 1, N = {
|
|
3819
3811
|
section: 0,
|
|
3820
|
-
col: h -
|
|
3812
|
+
col: h - n.col,
|
|
3821
3813
|
row: 0
|
|
3822
3814
|
};
|
|
3823
3815
|
v && t.direction.startsWith("grow") && c > 1 && !s && S > 0 && S < 1 ? y.push({
|
|
3824
3816
|
cell: N,
|
|
3825
3817
|
variant: "ramp",
|
|
3826
|
-
rampColor:
|
|
3818
|
+
rampColor: qe(Ne.eligibilityFill, Ne.commitFill, R)
|
|
3827
3819
|
}) : v ? y.push({ cell: N, variant: "commit" }) : y.push({ cell: N, variant: "eligibility" });
|
|
3828
3820
|
}
|
|
3829
3821
|
}
|
|
3830
3822
|
const T = [];
|
|
3831
3823
|
if (t.currentColSpan > c)
|
|
3832
|
-
for (let S =
|
|
3824
|
+
for (let S = n.col + c; S < n.col + t.currentColSpan && S <= 2; S++)
|
|
3833
3825
|
T.push({
|
|
3834
3826
|
section: 0,
|
|
3835
|
-
col: S -
|
|
3827
|
+
col: S - n.col,
|
|
3836
3828
|
row: 0
|
|
3837
3829
|
});
|
|
3838
|
-
const
|
|
3830
|
+
const w = o.current.fireKey > 0 ? {
|
|
3839
3831
|
cell: {
|
|
3840
3832
|
section: 0,
|
|
3841
|
-
col:
|
|
3833
|
+
col: ma(
|
|
3842
3834
|
Math.min(l.current, 2)
|
|
3843
3835
|
),
|
|
3844
3836
|
row: 0
|
|
@@ -3846,9 +3838,9 @@ function Zn(e) {
|
|
|
3846
3838
|
fireKey: o.current.fireKey
|
|
3847
3839
|
} : null;
|
|
3848
3840
|
return {
|
|
3849
|
-
trackingOutline:
|
|
3841
|
+
trackingOutline: _,
|
|
3850
3842
|
cellTints: y,
|
|
3851
|
-
refusePulse:
|
|
3843
|
+
refusePulse: w,
|
|
3852
3844
|
shrinkFreedCells: T,
|
|
3853
3845
|
phase: m.current,
|
|
3854
3846
|
displayColSpan: d.current
|
|
@@ -3862,22 +3854,22 @@ const G = {
|
|
|
3862
3854
|
"gloss-inline-nudge__btn--action": "_gloss-inline-nudge__btn--action_kdk88_88",
|
|
3863
3855
|
"gloss-inline-nudge__btn--dismiss": "_gloss-inline-nudge__btn--dismiss_kdk88_96"
|
|
3864
3856
|
};
|
|
3865
|
-
function
|
|
3857
|
+
function ga({
|
|
3866
3858
|
message: e,
|
|
3867
3859
|
primaryAction: t,
|
|
3868
|
-
onDismiss:
|
|
3860
|
+
onDismiss: n,
|
|
3869
3861
|
anchorEl: r,
|
|
3870
3862
|
anchorSelector: i
|
|
3871
3863
|
}) {
|
|
3872
|
-
const [s, l] =
|
|
3864
|
+
const [s, l] = V.useState(null), o = V.useMemo(
|
|
3873
3865
|
() => typeof window < "u" && window.matchMedia ? window.matchMedia("(prefers-reduced-motion: reduce)").matches : !1,
|
|
3874
3866
|
[]
|
|
3875
3867
|
);
|
|
3876
|
-
|
|
3868
|
+
V.useEffect(() => {
|
|
3877
3869
|
!r && !i && (typeof process > "u" || process.env.NODE_ENV !== "production") && console.error(
|
|
3878
3870
|
"[InlineNudge] requires anchorEl or anchorSelector. AP-07: Do not mount InlineNudge in Layout/** or _app.tsx."
|
|
3879
3871
|
);
|
|
3880
|
-
}, [r, i]),
|
|
3872
|
+
}, [r, i]), V.useLayoutEffect(() => {
|
|
3881
3873
|
let m = null;
|
|
3882
3874
|
if (r ? m = r : i && (m = document.querySelector(i)), m) {
|
|
3883
3875
|
const d = m.getBoundingClientRect();
|
|
@@ -3897,9 +3889,9 @@ function pa({
|
|
|
3897
3889
|
"aria-live": "polite",
|
|
3898
3890
|
"data-reduced-motion": o ? "true" : void 0,
|
|
3899
3891
|
children: [
|
|
3900
|
-
/* @__PURE__ */
|
|
3892
|
+
/* @__PURE__ */ a("span", { className: G["gloss-inline-nudge__message"], children: e }),
|
|
3901
3893
|
/* @__PURE__ */ f("div", { className: G["gloss-inline-nudge__actions"], children: [
|
|
3902
|
-
/* @__PURE__ */
|
|
3894
|
+
/* @__PURE__ */ a(
|
|
3903
3895
|
"button",
|
|
3904
3896
|
{
|
|
3905
3897
|
type: "button",
|
|
@@ -3908,12 +3900,12 @@ function pa({
|
|
|
3908
3900
|
children: t.label
|
|
3909
3901
|
}
|
|
3910
3902
|
),
|
|
3911
|
-
/* @__PURE__ */
|
|
3903
|
+
/* @__PURE__ */ a(
|
|
3912
3904
|
"button",
|
|
3913
3905
|
{
|
|
3914
3906
|
type: "button",
|
|
3915
3907
|
className: `${G["gloss-inline-nudge__btn"]} ${G["gloss-inline-nudge__btn--dismiss"]}`,
|
|
3916
|
-
onClick:
|
|
3908
|
+
onClick: n,
|
|
3917
3909
|
"aria-label": "Dismiss",
|
|
3918
3910
|
children: "Dismiss"
|
|
3919
3911
|
}
|
|
@@ -3923,28 +3915,28 @@ function pa({
|
|
|
3923
3915
|
}
|
|
3924
3916
|
);
|
|
3925
3917
|
}
|
|
3926
|
-
|
|
3927
|
-
function
|
|
3918
|
+
ga.displayName = "InlineNudge";
|
|
3919
|
+
function ce(e) {
|
|
3928
3920
|
return e.colorToken ? `var(--gloss-color-${e.colorToken}, ${e.color ?? "#888"})` : e.color ?? "#888";
|
|
3929
3921
|
}
|
|
3930
|
-
function
|
|
3931
|
-
if (
|
|
3932
|
-
const l = e[0], o = l ?
|
|
3922
|
+
function ha(e, t, n) {
|
|
3923
|
+
if (n <= t) {
|
|
3924
|
+
const l = e[0], o = l ? ce(l) : "#888";
|
|
3933
3925
|
return `linear-gradient(to right, ${o}, ${o})`;
|
|
3934
3926
|
}
|
|
3935
|
-
const r =
|
|
3927
|
+
const r = n - t, s = [...e].sort((l, o) => l.value - o.value).map((l) => {
|
|
3936
3928
|
const o = (l.value - t) / r * 100;
|
|
3937
|
-
return `${
|
|
3929
|
+
return `${ce(l)} ${o.toFixed(2)}%`;
|
|
3938
3930
|
});
|
|
3939
3931
|
return s.length === 0 ? "linear-gradient(to right, #888 0%, #888 100%)" : s.length === 1 ? `linear-gradient(to right, ${s[0]}, ${s[0]})` : `linear-gradient(to right, ${s.join(", ")})`;
|
|
3940
3932
|
}
|
|
3941
|
-
function
|
|
3933
|
+
function fa(e) {
|
|
3942
3934
|
return e.map((t) => `${t.id}:${t.value}`).join("|");
|
|
3943
3935
|
}
|
|
3944
|
-
function
|
|
3936
|
+
function ba({
|
|
3945
3937
|
stops: e,
|
|
3946
3938
|
onChange: t,
|
|
3947
|
-
min:
|
|
3939
|
+
min: n = 0,
|
|
3948
3940
|
max: r = 100,
|
|
3949
3941
|
step: i,
|
|
3950
3942
|
disabled: s = !1
|
|
@@ -3954,23 +3946,23 @@ function fa({
|
|
|
3954
3946
|
), 0.01) : i, o = C(
|
|
3955
3947
|
(h) => Math.round(h / l) * l,
|
|
3956
3948
|
[l]
|
|
3957
|
-
), u = M(null), [m, d] = A(null), [g, c] = A(e), p =
|
|
3949
|
+
), u = M(null), [m, d] = A(null), [g, c] = A(e), p = fa(e), b = M(p);
|
|
3958
3950
|
E(() => {
|
|
3959
3951
|
b.current !== p && (b.current = p, !m && c(e));
|
|
3960
3952
|
}, [p, e, m]);
|
|
3961
|
-
const k =
|
|
3953
|
+
const k = de(() => ha(g, n, r), [g, n, r]), _ = C(
|
|
3962
3954
|
(h) => {
|
|
3963
|
-
if (!u.current) return
|
|
3964
|
-
const v = u.current.getBoundingClientRect(), N = v.width || 1, x = Math.max(0, Math.min(1, (h - v.left) / N)), P =
|
|
3955
|
+
if (!u.current) return n;
|
|
3956
|
+
const v = u.current.getBoundingClientRect(), N = v.width || 1, x = Math.max(0, Math.min(1, (h - v.left) / N)), P = n + x * (r - n);
|
|
3965
3957
|
return o(P);
|
|
3966
3958
|
},
|
|
3967
|
-
[
|
|
3959
|
+
[n, r, o]
|
|
3968
3960
|
);
|
|
3969
3961
|
E(() => {
|
|
3970
|
-
r <=
|
|
3971
|
-
`ThresholdRamp: max (${r}) must be greater than min (${
|
|
3962
|
+
r <= n && process.env.NODE_ENV !== "production" && console.warn(
|
|
3963
|
+
`ThresholdRamp: max (${r}) must be greater than min (${n}); rendering degenerate strip.`
|
|
3972
3964
|
);
|
|
3973
|
-
}, [
|
|
3965
|
+
}, [n, r]);
|
|
3974
3966
|
const y = C(
|
|
3975
3967
|
(h, v) => {
|
|
3976
3968
|
const N = g.find((x) => x.id === v);
|
|
@@ -3979,28 +3971,28 @@ function fa({
|
|
|
3979
3971
|
[s, g]
|
|
3980
3972
|
), T = M(g);
|
|
3981
3973
|
T.current = g;
|
|
3982
|
-
const
|
|
3983
|
-
|
|
3974
|
+
const w = M(t);
|
|
3975
|
+
w.current = t, E(() => {
|
|
3984
3976
|
if (!m) return;
|
|
3985
3977
|
const h = (N) => {
|
|
3986
|
-
const x =
|
|
3978
|
+
const x = _(N.clientX);
|
|
3987
3979
|
c(
|
|
3988
3980
|
(P) => P.map((D) => D.id === m ? { ...D, value: x } : D)
|
|
3989
3981
|
);
|
|
3990
3982
|
}, v = (N) => {
|
|
3991
|
-
const x =
|
|
3983
|
+
const x = _(N.clientX), P = T.current.map(
|
|
3992
3984
|
(D) => D.id === m ? { ...D, value: x } : D
|
|
3993
3985
|
);
|
|
3994
|
-
c(P), d(null),
|
|
3986
|
+
c(P), d(null), w.current(P);
|
|
3995
3987
|
};
|
|
3996
3988
|
return window.addEventListener("pointermove", h), window.addEventListener("pointerup", v), window.addEventListener("pointercancel", v), () => {
|
|
3997
3989
|
window.removeEventListener("pointermove", h), window.removeEventListener("pointerup", v), window.removeEventListener("pointercancel", v);
|
|
3998
3990
|
};
|
|
3999
|
-
}, [m,
|
|
4000
|
-
const S = r -
|
|
3991
|
+
}, [m, _]);
|
|
3992
|
+
const S = r - n > 0 ? r - n : 1, R = C(
|
|
4001
3993
|
(h, v) => {
|
|
4002
3994
|
if (s || v.disabled) return;
|
|
4003
|
-
const N = r -
|
|
3995
|
+
const N = r - n;
|
|
4004
3996
|
if (N <= 0) return;
|
|
4005
3997
|
const x = h.shiftKey ? N / 20 : N / 100;
|
|
4006
3998
|
let P = v.value;
|
|
@@ -4014,7 +4006,7 @@ function fa({
|
|
|
4014
4006
|
P = v.value - x;
|
|
4015
4007
|
break;
|
|
4016
4008
|
case "Home":
|
|
4017
|
-
P =
|
|
4009
|
+
P = n;
|
|
4018
4010
|
break;
|
|
4019
4011
|
case "End":
|
|
4020
4012
|
P = r;
|
|
@@ -4023,30 +4015,30 @@ function fa({
|
|
|
4023
4015
|
return;
|
|
4024
4016
|
}
|
|
4025
4017
|
h.preventDefault();
|
|
4026
|
-
const D = Math.max(
|
|
4018
|
+
const D = Math.max(n, Math.min(r, P)), F = o(D);
|
|
4027
4019
|
if (F === v.value) return;
|
|
4028
4020
|
const z = g.map(
|
|
4029
4021
|
(ee) => ee.id === v.id ? { ...ee, value: F } : ee
|
|
4030
4022
|
);
|
|
4031
4023
|
c(z), t(z);
|
|
4032
4024
|
},
|
|
4033
|
-
[s,
|
|
4025
|
+
[s, n, r, g, t, o]
|
|
4034
4026
|
);
|
|
4035
|
-
return /* @__PURE__ */
|
|
4027
|
+
return /* @__PURE__ */ a("div", { className: "gloss-threshold-ramp", "data-disabled": s || void 0, children: /* @__PURE__ */ a(
|
|
4036
4028
|
"div",
|
|
4037
4029
|
{
|
|
4038
4030
|
ref: u,
|
|
4039
4031
|
className: "gloss-threshold-ramp__track",
|
|
4040
4032
|
style: { background: k },
|
|
4041
4033
|
children: g.map((h) => {
|
|
4042
|
-
const v = (h.value -
|
|
4043
|
-
return /* @__PURE__ */
|
|
4034
|
+
const v = (h.value - n) / S * 100;
|
|
4035
|
+
return /* @__PURE__ */ a(
|
|
4044
4036
|
"span",
|
|
4045
4037
|
{
|
|
4046
4038
|
className: "gloss-threshold-ramp__stop",
|
|
4047
4039
|
style: {
|
|
4048
4040
|
left: `${v}%`,
|
|
4049
|
-
color:
|
|
4041
|
+
color: ce(h)
|
|
4050
4042
|
},
|
|
4051
4043
|
"data-disabled": h.disabled || void 0,
|
|
4052
4044
|
"data-dragging": m === h.id || void 0,
|
|
@@ -4055,7 +4047,7 @@ function fa({
|
|
|
4055
4047
|
"aria-label": h.label ?? `Stop at ${h.value}`,
|
|
4056
4048
|
role: "slider",
|
|
4057
4049
|
"aria-valuenow": h.value,
|
|
4058
|
-
"aria-valuemin":
|
|
4050
|
+
"aria-valuemin": n,
|
|
4059
4051
|
"aria-valuemax": r,
|
|
4060
4052
|
"aria-disabled": h.disabled || s || void 0,
|
|
4061
4053
|
tabIndex: h.disabled || s ? -1 : 0
|
|
@@ -4066,26 +4058,26 @@ function fa({
|
|
|
4066
4058
|
}
|
|
4067
4059
|
) });
|
|
4068
4060
|
}
|
|
4069
|
-
|
|
4070
|
-
function
|
|
4061
|
+
ba.displayName = "ThresholdRamp";
|
|
4062
|
+
function va(e, t, n, r) {
|
|
4071
4063
|
switch (t) {
|
|
4072
4064
|
case "above-right":
|
|
4073
4065
|
return {
|
|
4074
|
-
top: e.top -
|
|
4066
|
+
top: e.top - n + r.y,
|
|
4075
4067
|
left: e.right + r.x,
|
|
4076
4068
|
transform: "translate(-100%, -100%)",
|
|
4077
4069
|
transformOrigin: "bottom right"
|
|
4078
4070
|
};
|
|
4079
4071
|
case "above-left":
|
|
4080
4072
|
return {
|
|
4081
|
-
top: e.top -
|
|
4073
|
+
top: e.top - n + r.y,
|
|
4082
4074
|
left: e.left + r.x,
|
|
4083
4075
|
transform: "translate(0, -100%)",
|
|
4084
4076
|
transformOrigin: "bottom left"
|
|
4085
4077
|
};
|
|
4086
4078
|
case "below-right":
|
|
4087
4079
|
return {
|
|
4088
|
-
top: e.bottom +
|
|
4080
|
+
top: e.bottom + n + r.y,
|
|
4089
4081
|
left: e.right + r.x,
|
|
4090
4082
|
transform: "translate(-100%, 0)",
|
|
4091
4083
|
transformOrigin: "top right"
|
|
@@ -4093,49 +4085,49 @@ function ba(e, t, a, r) {
|
|
|
4093
4085
|
case "below-left":
|
|
4094
4086
|
default:
|
|
4095
4087
|
return {
|
|
4096
|
-
top: e.bottom +
|
|
4088
|
+
top: e.bottom + n + r.y,
|
|
4097
4089
|
left: e.left + r.x,
|
|
4098
4090
|
transform: "translate(0, 0)",
|
|
4099
4091
|
transformOrigin: "top left"
|
|
4100
4092
|
};
|
|
4101
4093
|
}
|
|
4102
4094
|
}
|
|
4103
|
-
function
|
|
4104
|
-
const { anchorRef: t, placement:
|
|
4095
|
+
function ya(e) {
|
|
4096
|
+
const { anchorRef: t, placement: n, gap: r = 8, offset: i, isOpen: s = !0 } = e, l = M({ x: i?.x ?? 0, y: i?.y ?? 0 });
|
|
4105
4097
|
l.current = { x: i?.x ?? 0, y: i?.y ?? 0 };
|
|
4106
4098
|
const [o, u] = A({});
|
|
4107
|
-
return
|
|
4099
|
+
return De(() => {
|
|
4108
4100
|
if (typeof window > "u" || !s) return;
|
|
4109
4101
|
const m = t.current;
|
|
4110
4102
|
if (!m) return;
|
|
4111
4103
|
const d = () => {
|
|
4112
4104
|
const c = m.getBoundingClientRect();
|
|
4113
|
-
u(
|
|
4105
|
+
u(va(c, n, r, l.current));
|
|
4114
4106
|
};
|
|
4115
4107
|
d();
|
|
4116
4108
|
let g = null;
|
|
4117
4109
|
return typeof ResizeObserver < "u" && (g = new ResizeObserver(d), g.observe(m)), window.addEventListener("scroll", d, { capture: !0, passive: !0 }), window.addEventListener("resize", d, { passive: !0 }), () => {
|
|
4118
4110
|
g?.disconnect(), window.removeEventListener("scroll", d, !0), window.removeEventListener("resize", d);
|
|
4119
4111
|
};
|
|
4120
|
-
}, [t,
|
|
4112
|
+
}, [t, n, r, s]), { style: o };
|
|
4121
4113
|
}
|
|
4122
|
-
const
|
|
4114
|
+
const _a = {
|
|
4123
4115
|
position: "fixed",
|
|
4124
4116
|
zIndex: 9999
|
|
4125
4117
|
};
|
|
4126
|
-
function
|
|
4127
|
-
const { anchorRef: t, placement:
|
|
4128
|
-
return typeof window > "u" || typeof document > "u" || !l ? null :
|
|
4129
|
-
/* @__PURE__ */
|
|
4118
|
+
function ar(e) {
|
|
4119
|
+
const { anchorRef: t, placement: n, gap: r, offset: i, dataHost: s, isOpen: l = !0, className: o, children: u } = e, { style: m } = ya({ anchorRef: t, placement: n, gap: r, offset: i, isOpen: l });
|
|
4120
|
+
return typeof window > "u" || typeof document > "u" || !l ? null : xe(
|
|
4121
|
+
/* @__PURE__ */ a("div", { "data-portal-host": s, className: o, style: { ..._a, ...m }, children: u }),
|
|
4130
4122
|
document.body
|
|
4131
4123
|
);
|
|
4132
4124
|
}
|
|
4133
|
-
const
|
|
4125
|
+
const Be = We(null);
|
|
4134
4126
|
function wa() {
|
|
4135
|
-
return
|
|
4127
|
+
return Ve(Be);
|
|
4136
4128
|
}
|
|
4137
|
-
function
|
|
4138
|
-
const t = wa(),
|
|
4129
|
+
function Ca({ option: e }) {
|
|
4130
|
+
const t = wa(), n = t?.isSelected(e.value) ?? !1, r = e.disabled || t?.groupDisabled, i = C(() => {
|
|
4139
4131
|
r || t?.select(e.value);
|
|
4140
4132
|
}, [r, t, e.value]), s = C(
|
|
4141
4133
|
(m) => {
|
|
@@ -4143,16 +4135,16 @@ function _a({ option: e }) {
|
|
|
4143
4135
|
},
|
|
4144
4136
|
[r, t, e.value]
|
|
4145
4137
|
), l = e.colorToken ? `var(--gloss-color-${e.colorToken}, ${e.color ?? "#888"})` : e.color ?? "#888", o = t?.firstFocusableValue === e.value, u = r ? -1 : o ? 0 : -1;
|
|
4146
|
-
return /* @__PURE__ */
|
|
4138
|
+
return /* @__PURE__ */ a(
|
|
4147
4139
|
"button",
|
|
4148
4140
|
{
|
|
4149
4141
|
ref: (m) => t?.registerRef(e.value, m),
|
|
4150
4142
|
type: "button",
|
|
4151
4143
|
role: "radio",
|
|
4152
|
-
"aria-checked":
|
|
4144
|
+
"aria-checked": n,
|
|
4153
4145
|
className: "gloss-preset-swatch-row__swatch",
|
|
4154
4146
|
style: { backgroundColor: l },
|
|
4155
|
-
"data-selected":
|
|
4147
|
+
"data-selected": n || void 0,
|
|
4156
4148
|
"data-disabled": r || void 0,
|
|
4157
4149
|
...process.env.NODE_ENV === "test" ? { "data-bg-color": l } : {},
|
|
4158
4150
|
"aria-label": e.label ?? e.value,
|
|
@@ -4164,36 +4156,36 @@ function _a({ option: e }) {
|
|
|
4164
4156
|
}
|
|
4165
4157
|
);
|
|
4166
4158
|
}
|
|
4167
|
-
function
|
|
4159
|
+
function Na({
|
|
4168
4160
|
swatches: e,
|
|
4169
4161
|
value: t,
|
|
4170
|
-
defaultValue:
|
|
4162
|
+
defaultValue: n,
|
|
4171
4163
|
onChange: r,
|
|
4172
4164
|
disabled: i = !1,
|
|
4173
4165
|
name: s
|
|
4174
4166
|
}) {
|
|
4175
|
-
const l = t !== void 0, [o, u] = A(
|
|
4176
|
-
(
|
|
4177
|
-
l || u(
|
|
4167
|
+
const l = t !== void 0, [o, u] = A(n), m = l ? t : o, d = C(
|
|
4168
|
+
(w) => {
|
|
4169
|
+
l || u(w), r?.(w);
|
|
4178
4170
|
},
|
|
4179
4171
|
[l, r]
|
|
4180
4172
|
), g = C(
|
|
4181
|
-
(
|
|
4173
|
+
(w) => m === w,
|
|
4182
4174
|
[m]
|
|
4183
|
-
), c = M(/* @__PURE__ */ new Map()), p = C((
|
|
4184
|
-
S ? c.current.set(
|
|
4185
|
-
}, []), b = e.filter((
|
|
4186
|
-
const S = c.current.get(
|
|
4175
|
+
), c = M(/* @__PURE__ */ new Map()), p = C((w, S) => {
|
|
4176
|
+
S ? c.current.set(w, S) : c.current.delete(w);
|
|
4177
|
+
}, []), b = e.filter((w) => !w.disabled && !i), k = b.find((w) => w.value === m)?.value ?? b[0]?.value, _ = C((w) => {
|
|
4178
|
+
const S = c.current.get(w);
|
|
4187
4179
|
S && S.focus();
|
|
4188
4180
|
}, []), y = C(
|
|
4189
|
-
(
|
|
4181
|
+
(w, S) => {
|
|
4190
4182
|
if (i) return;
|
|
4191
4183
|
const R = e.filter((x) => !x.disabled);
|
|
4192
4184
|
if (R.length === 0) return;
|
|
4193
4185
|
const h = R.findIndex((x) => x.value === S);
|
|
4194
4186
|
if (h === -1) return;
|
|
4195
4187
|
let v = h;
|
|
4196
|
-
switch (
|
|
4188
|
+
switch (w.key) {
|
|
4197
4189
|
case "ArrowRight":
|
|
4198
4190
|
case "ArrowDown":
|
|
4199
4191
|
v = (h + 1) % R.length;
|
|
@@ -4210,16 +4202,16 @@ function Ca({
|
|
|
4210
4202
|
break;
|
|
4211
4203
|
case " ":
|
|
4212
4204
|
case "Enter":
|
|
4213
|
-
|
|
4205
|
+
w.preventDefault(), d(S);
|
|
4214
4206
|
return;
|
|
4215
4207
|
default:
|
|
4216
4208
|
return;
|
|
4217
4209
|
}
|
|
4218
|
-
|
|
4210
|
+
w.preventDefault();
|
|
4219
4211
|
const N = R[v].value;
|
|
4220
|
-
|
|
4212
|
+
_(N), d(N);
|
|
4221
4213
|
},
|
|
4222
|
-
[i, e, d,
|
|
4214
|
+
[i, e, d, _]
|
|
4223
4215
|
), T = {
|
|
4224
4216
|
selectedValue: m,
|
|
4225
4217
|
select: d,
|
|
@@ -4230,7 +4222,7 @@ function Ca({
|
|
|
4230
4222
|
firstFocusableValue: k,
|
|
4231
4223
|
onKeyNav: y
|
|
4232
4224
|
};
|
|
4233
|
-
return /* @__PURE__ */
|
|
4225
|
+
return /* @__PURE__ */ a(Be.Provider, { value: T, children: /* @__PURE__ */ a(
|
|
4234
4226
|
"div",
|
|
4235
4227
|
{
|
|
4236
4228
|
className: "gloss-preset-swatch-row",
|
|
@@ -4238,15 +4230,73 @@ function Ca({
|
|
|
4238
4230
|
"aria-label": s,
|
|
4239
4231
|
"aria-disabled": i,
|
|
4240
4232
|
"data-disabled": i || void 0,
|
|
4241
|
-
children: e.map((
|
|
4233
|
+
children: e.map((w) => /* @__PURE__ */ a(Ca, { option: w }, w.value))
|
|
4242
4234
|
}
|
|
4243
4235
|
) });
|
|
4244
4236
|
}
|
|
4245
|
-
|
|
4246
|
-
function
|
|
4237
|
+
Na.displayName = "PresetSwatchRow";
|
|
4238
|
+
function nr({
|
|
4239
|
+
sections: e,
|
|
4240
|
+
onCommit: t,
|
|
4241
|
+
onCancel: n,
|
|
4242
|
+
// WR-03: anchorRect is a deprecated pass-through; placement is consumer-managed.
|
|
4243
|
+
anchorRect: r,
|
|
4244
|
+
title: i = "Configure"
|
|
4245
|
+
}) {
|
|
4246
|
+
return /* @__PURE__ */ f(
|
|
4247
|
+
"div",
|
|
4248
|
+
{
|
|
4249
|
+
className: "gloss-quick-config-panel",
|
|
4250
|
+
style: {
|
|
4251
|
+
// D-03: width driven by MetricGroupContainer slot primitive CSS var
|
|
4252
|
+
width: "var(--gloss-slot-width, 180px)",
|
|
4253
|
+
// AN-01: panel transitions use transform/opacity only — no width/height animation
|
|
4254
|
+
willChange: "transform"
|
|
4255
|
+
},
|
|
4256
|
+
children: [
|
|
4257
|
+
/* @__PURE__ */ a("div", { className: "gloss-quick-config-panel__header", children: i }),
|
|
4258
|
+
/* @__PURE__ */ a("div", { className: "gloss-quick-config-panel__body", children: e.map((s) => /* @__PURE__ */ f(
|
|
4259
|
+
"section",
|
|
4260
|
+
{
|
|
4261
|
+
"data-section-id": s.id,
|
|
4262
|
+
className: "gloss-quick-config-panel__section",
|
|
4263
|
+
children: [
|
|
4264
|
+
/* @__PURE__ */ a("h3", { className: "gloss-quick-config-panel__section-label", children: s.label }),
|
|
4265
|
+
/* @__PURE__ */ a("div", { className: "gloss-quick-config-panel__section-content", children: s.render() })
|
|
4266
|
+
]
|
|
4267
|
+
},
|
|
4268
|
+
s.id
|
|
4269
|
+
)) }),
|
|
4270
|
+
/* @__PURE__ */ f("div", { className: "gloss-quick-config-panel__footer", children: [
|
|
4271
|
+
/* @__PURE__ */ a(
|
|
4272
|
+
"button",
|
|
4273
|
+
{
|
|
4274
|
+
type: "button",
|
|
4275
|
+
className: "gloss-quick-config-panel__pill gloss-quick-config-panel__pill--cancel",
|
|
4276
|
+
onClick: n,
|
|
4277
|
+
"aria-label": "Cancel",
|
|
4278
|
+
children: "Cancel"
|
|
4279
|
+
}
|
|
4280
|
+
),
|
|
4281
|
+
/* @__PURE__ */ a(
|
|
4282
|
+
"button",
|
|
4283
|
+
{
|
|
4284
|
+
type: "button",
|
|
4285
|
+
className: "gloss-quick-config-panel__pill gloss-quick-config-panel__pill--save",
|
|
4286
|
+
onClick: t,
|
|
4287
|
+
"aria-label": "Save",
|
|
4288
|
+
children: "Save"
|
|
4289
|
+
}
|
|
4290
|
+
)
|
|
4291
|
+
] })
|
|
4292
|
+
]
|
|
4293
|
+
}
|
|
4294
|
+
);
|
|
4295
|
+
}
|
|
4296
|
+
function rr({
|
|
4247
4297
|
slotLeft: e,
|
|
4248
4298
|
slotCenter: t,
|
|
4249
|
-
slotRight:
|
|
4299
|
+
slotRight: n,
|
|
4250
4300
|
height: r = 36,
|
|
4251
4301
|
className: i,
|
|
4252
4302
|
style: s,
|
|
@@ -4265,7 +4315,7 @@ function tr({
|
|
|
4265
4315
|
className: ["gloss-bottom-toolbar", i].filter(Boolean).join(" "),
|
|
4266
4316
|
style: o,
|
|
4267
4317
|
children: [
|
|
4268
|
-
/* @__PURE__ */
|
|
4318
|
+
/* @__PURE__ */ a(
|
|
4269
4319
|
"div",
|
|
4270
4320
|
{
|
|
4271
4321
|
className: "gloss-bottom-toolbar__slot gloss-bottom-toolbar__slot--left",
|
|
@@ -4273,7 +4323,7 @@ function tr({
|
|
|
4273
4323
|
children: e
|
|
4274
4324
|
}
|
|
4275
4325
|
),
|
|
4276
|
-
/* @__PURE__ */
|
|
4326
|
+
/* @__PURE__ */ a(
|
|
4277
4327
|
"div",
|
|
4278
4328
|
{
|
|
4279
4329
|
className: "gloss-bottom-toolbar__slot gloss-bottom-toolbar__slot--center",
|
|
@@ -4281,22 +4331,22 @@ function tr({
|
|
|
4281
4331
|
children: t
|
|
4282
4332
|
}
|
|
4283
4333
|
),
|
|
4284
|
-
/* @__PURE__ */
|
|
4334
|
+
/* @__PURE__ */ a(
|
|
4285
4335
|
"div",
|
|
4286
4336
|
{
|
|
4287
4337
|
className: "gloss-bottom-toolbar__slot gloss-bottom-toolbar__slot--right",
|
|
4288
4338
|
"data-slot": "right",
|
|
4289
|
-
children:
|
|
4339
|
+
children: n
|
|
4290
4340
|
}
|
|
4291
4341
|
)
|
|
4292
4342
|
]
|
|
4293
4343
|
}
|
|
4294
4344
|
);
|
|
4295
4345
|
}
|
|
4296
|
-
function
|
|
4346
|
+
function sr({
|
|
4297
4347
|
count: e,
|
|
4298
4348
|
currentIndex: t,
|
|
4299
|
-
onSelect:
|
|
4349
|
+
onSelect: n,
|
|
4300
4350
|
"aria-label": r = "Sections",
|
|
4301
4351
|
provisionalIndex: i,
|
|
4302
4352
|
pulseIndex: s,
|
|
@@ -4315,21 +4365,21 @@ function ar({
|
|
|
4315
4365
|
"data-testid": "gloss-section-dots",
|
|
4316
4366
|
className: "gloss-section-dots",
|
|
4317
4367
|
"data-hiding": m ? "true" : void 0,
|
|
4318
|
-
onKeyDown: (
|
|
4368
|
+
onKeyDown: (_) => {
|
|
4319
4369
|
if (e !== 0) {
|
|
4320
|
-
if (
|
|
4321
|
-
|
|
4370
|
+
if (_.key === "ArrowRight") {
|
|
4371
|
+
_.preventDefault();
|
|
4322
4372
|
const y = (d + 1) % e;
|
|
4323
|
-
|
|
4324
|
-
} else if (
|
|
4325
|
-
|
|
4373
|
+
n(y), requestAnimationFrame(() => b.current[y]?.focus());
|
|
4374
|
+
} else if (_.key === "ArrowLeft") {
|
|
4375
|
+
_.preventDefault();
|
|
4326
4376
|
const y = (d - 1 + e) % e;
|
|
4327
|
-
|
|
4377
|
+
n(y), requestAnimationFrame(() => b.current[y]?.focus());
|
|
4328
4378
|
}
|
|
4329
4379
|
}
|
|
4330
4380
|
},
|
|
4331
4381
|
children: [
|
|
4332
|
-
/* @__PURE__ */
|
|
4382
|
+
/* @__PURE__ */ a(
|
|
4333
4383
|
"span",
|
|
4334
4384
|
{
|
|
4335
4385
|
className: "gloss-section-dots__blob",
|
|
@@ -4340,7 +4390,7 @@ function ar({
|
|
|
4340
4390
|
}
|
|
4341
4391
|
}
|
|
4342
4392
|
),
|
|
4343
|
-
Array.from({ length: e }, (
|
|
4393
|
+
Array.from({ length: e }, (_, y) => /* @__PURE__ */ a(
|
|
4344
4394
|
"button",
|
|
4345
4395
|
{
|
|
4346
4396
|
ref: (T) => {
|
|
@@ -4356,7 +4406,7 @@ function ar({
|
|
|
4356
4406
|
"gloss-section-dots__dot",
|
|
4357
4407
|
y === d && "gloss-section-dots__dot--current"
|
|
4358
4408
|
].filter(Boolean).join(" "),
|
|
4359
|
-
onClick: () =>
|
|
4409
|
+
onClick: () => n(y)
|
|
4360
4410
|
},
|
|
4361
4411
|
y === s ? `${y}-${l ?? 0}` : y
|
|
4362
4412
|
))
|
|
@@ -4364,19 +4414,19 @@ function ar({
|
|
|
4364
4414
|
}
|
|
4365
4415
|
);
|
|
4366
4416
|
}
|
|
4367
|
-
function
|
|
4417
|
+
function ir(e) {
|
|
4368
4418
|
const {
|
|
4369
4419
|
mode: t = null,
|
|
4370
|
-
count:
|
|
4420
|
+
count: n,
|
|
4371
4421
|
anchorRef: r,
|
|
4372
4422
|
subscribeToCoordinator: i = !0,
|
|
4373
4423
|
cardLabels: s
|
|
4374
|
-
} = e, l = M(null), [o, u] = A({ cx: 0, cy: 0, r: 14 }), m =
|
|
4375
|
-
return
|
|
4376
|
-
const
|
|
4377
|
-
if (!
|
|
4424
|
+
} = e, l = M(null), [o, u] = A({ cx: 0, cy: 0, r: 14 }), m = Se().replace(/:/g, "-"), d = ze(), g = i ? d?.state?.lockHint ?? null : null, c = i ? d?.state?.bellCutoutOpen ?? !1 : !1, p = g != null ? "lock" : t ?? (c ? "default" : null), b = g?.activeCardId ?? null, k = b != null ? s?.[b] ?? b : "";
|
|
4425
|
+
return De(() => {
|
|
4426
|
+
const _ = l.current, y = r.current;
|
|
4427
|
+
if (!_ || !y) return;
|
|
4378
4428
|
const T = () => {
|
|
4379
|
-
const
|
|
4429
|
+
const w = y.getBoundingClientRect(), S = _.getBoundingClientRect(), R = w.left + w.width / 2 - S.left, h = w.top + w.height / 2 - S.top, v = Math.max(w.width, w.height) / 2 + 4;
|
|
4380
4430
|
u({ cx: R, cy: h, r: v });
|
|
4381
4431
|
};
|
|
4382
4432
|
if (T(), globalThis.window !== void 0)
|
|
@@ -4387,409 +4437,409 @@ function nr(e) {
|
|
|
4387
4437
|
ref: l,
|
|
4388
4438
|
className: "bell-cutout",
|
|
4389
4439
|
"data-mode": p,
|
|
4390
|
-
"data-count": p === "unread-count" &&
|
|
4440
|
+
"data-count": p === "unread-count" && n != null ? String(n) : void 0,
|
|
4391
4441
|
"aria-hidden": "true",
|
|
4392
4442
|
children: [
|
|
4393
4443
|
/* @__PURE__ */ f("svg", { className: "bell-cutout__svg", width: "100%", height: "100%", preserveAspectRatio: "none", children: [
|
|
4394
|
-
/* @__PURE__ */
|
|
4395
|
-
/* @__PURE__ */
|
|
4396
|
-
/* @__PURE__ */
|
|
4444
|
+
/* @__PURE__ */ a("defs", { children: /* @__PURE__ */ f("mask", { id: m, children: [
|
|
4445
|
+
/* @__PURE__ */ a("rect", { x: "0", y: "0", width: "100%", height: "100%", fill: "white" }),
|
|
4446
|
+
/* @__PURE__ */ a("circle", { cx: o.cx, cy: o.cy, r: o.r, fill: "black" })
|
|
4397
4447
|
] }) }),
|
|
4398
|
-
/* @__PURE__ */
|
|
4448
|
+
/* @__PURE__ */ a("rect", { x: "0", y: "0", width: "100%", height: "100%", mask: `url(#${m})`, className: "bell-cutout__fill" })
|
|
4399
4449
|
] }),
|
|
4400
|
-
/* @__PURE__ */
|
|
4401
|
-
p === "lock" && g != null ? /* @__PURE__ */
|
|
4450
|
+
/* @__PURE__ */ a("span", { className: "bell-cutout__dot", "aria-hidden": "true" }),
|
|
4451
|
+
p === "lock" && g != null ? /* @__PURE__ */ a("span", { className: "bell-cutout__lock-text", role: "status", "aria-live": "polite", children: `Still editing "${k}" — Cancel or Apply first` }) : null
|
|
4402
4452
|
]
|
|
4403
4453
|
}
|
|
4404
4454
|
);
|
|
4405
4455
|
}
|
|
4406
|
-
const
|
|
4456
|
+
const ka = ({
|
|
4407
4457
|
ref: e,
|
|
4408
4458
|
density: t = "compact",
|
|
4409
|
-
children:
|
|
4459
|
+
children: n,
|
|
4410
4460
|
...r
|
|
4411
4461
|
}) => {
|
|
4412
4462
|
const i = { ...r };
|
|
4413
|
-
return delete i.className, delete i.style, /* @__PURE__ */
|
|
4463
|
+
return delete i.className, delete i.style, /* @__PURE__ */ a("div", { ref: e, className: "gloss-container-toolbar", role: "toolbar", ...i, children: /* @__PURE__ */ a(ue, { region: "toolbar", density: t, children: n }) });
|
|
4414
4464
|
};
|
|
4415
|
-
|
|
4416
|
-
const
|
|
4465
|
+
ka.displayName = "ContainerToolbar";
|
|
4466
|
+
const Sa = ({
|
|
4417
4467
|
ref: e,
|
|
4418
4468
|
legend: t,
|
|
4419
|
-
description:
|
|
4469
|
+
description: n,
|
|
4420
4470
|
density: r = "default",
|
|
4421
4471
|
children: i,
|
|
4422
4472
|
...s
|
|
4423
4473
|
}) => {
|
|
4424
4474
|
const l = { ...s };
|
|
4425
4475
|
return delete l.className, delete l.style, /* @__PURE__ */ f("fieldset", { ref: e, className: "gloss-container-form-section", ...l, children: [
|
|
4426
|
-
t && /* @__PURE__ */
|
|
4427
|
-
|
|
4428
|
-
/* @__PURE__ */
|
|
4476
|
+
t && /* @__PURE__ */ a("legend", { className: "gloss-container-form-section__legend", children: t }),
|
|
4477
|
+
n && /* @__PURE__ */ a("p", { className: "gloss-container-form-section__description", children: n }),
|
|
4478
|
+
/* @__PURE__ */ a(ue, { region: "form-section", density: r, children: i })
|
|
4429
4479
|
] });
|
|
4430
4480
|
};
|
|
4431
|
-
|
|
4432
|
-
const
|
|
4481
|
+
Sa.displayName = "ContainerFormSection";
|
|
4482
|
+
const Da = ({
|
|
4433
4483
|
ref: e,
|
|
4434
4484
|
density: t = "compact",
|
|
4435
|
-
children:
|
|
4485
|
+
children: n,
|
|
4436
4486
|
...r
|
|
4437
4487
|
}) => {
|
|
4438
4488
|
const i = { ...r };
|
|
4439
|
-
return delete i.className, delete i.style, /* @__PURE__ */
|
|
4489
|
+
return delete i.className, delete i.style, /* @__PURE__ */ a("div", { ref: e, className: "gloss-container-table", ...i, children: /* @__PURE__ */ a(ue, { region: "table", density: t, children: n }) });
|
|
4440
4490
|
};
|
|
4441
|
-
|
|
4491
|
+
Da.displayName = "ContainerTable";
|
|
4442
4492
|
export {
|
|
4443
|
-
|
|
4444
|
-
|
|
4445
|
-
|
|
4446
|
-
|
|
4447
|
-
|
|
4448
|
-
|
|
4449
|
-
|
|
4450
|
-
|
|
4451
|
-
|
|
4452
|
-
|
|
4453
|
-
|
|
4454
|
-
|
|
4455
|
-
|
|
4456
|
-
|
|
4457
|
-
|
|
4458
|
-
|
|
4459
|
-
|
|
4460
|
-
|
|
4461
|
-
|
|
4462
|
-
|
|
4463
|
-
|
|
4464
|
-
|
|
4465
|
-
|
|
4466
|
-
|
|
4467
|
-
|
|
4468
|
-
|
|
4469
|
-
|
|
4470
|
-
|
|
4471
|
-
|
|
4472
|
-
|
|
4473
|
-
|
|
4474
|
-
|
|
4475
|
-
|
|
4476
|
-
|
|
4477
|
-
|
|
4478
|
-
|
|
4479
|
-
|
|
4480
|
-
|
|
4481
|
-
|
|
4482
|
-
|
|
4483
|
-
|
|
4484
|
-
|
|
4485
|
-
|
|
4486
|
-
|
|
4487
|
-
|
|
4488
|
-
|
|
4489
|
-
|
|
4490
|
-
|
|
4491
|
-
|
|
4492
|
-
|
|
4493
|
-
|
|
4494
|
-
|
|
4495
|
-
|
|
4496
|
-
|
|
4497
|
-
|
|
4498
|
-
|
|
4499
|
-
|
|
4500
|
-
|
|
4501
|
-
|
|
4502
|
-
|
|
4503
|
-
|
|
4504
|
-
|
|
4505
|
-
|
|
4506
|
-
|
|
4507
|
-
|
|
4508
|
-
|
|
4509
|
-
|
|
4510
|
-
|
|
4511
|
-
|
|
4512
|
-
|
|
4513
|
-
|
|
4514
|
-
|
|
4515
|
-
|
|
4516
|
-
|
|
4517
|
-
|
|
4518
|
-
|
|
4519
|
-
|
|
4520
|
-
|
|
4521
|
-
|
|
4522
|
-
|
|
4493
|
+
xr as Accordion,
|
|
4494
|
+
Tr as AccordionContent,
|
|
4495
|
+
Rr as AccordionItem,
|
|
4496
|
+
Mr as AccordionTrigger,
|
|
4497
|
+
Pr as ActionStrip,
|
|
4498
|
+
Ar as Actionable,
|
|
4499
|
+
Er as AddressGroup,
|
|
4500
|
+
Fr as AddressSelect,
|
|
4501
|
+
Ir as AsyncLoader,
|
|
4502
|
+
Lr as Autocomplete,
|
|
4503
|
+
Or as Badge,
|
|
4504
|
+
$r as BarChartCard,
|
|
4505
|
+
oo as BarsBg,
|
|
4506
|
+
ir as BellCutout,
|
|
4507
|
+
ar as BodyPortal,
|
|
4508
|
+
rr as BottomToolbar,
|
|
4509
|
+
Br as Button,
|
|
4510
|
+
zr as ButtonGroup,
|
|
4511
|
+
Gr as ButtonGroupContext,
|
|
4512
|
+
Hr as Card,
|
|
4513
|
+
Wr as CardActions,
|
|
4514
|
+
Vr as CardBack,
|
|
4515
|
+
Kr as CardBody,
|
|
4516
|
+
jr as CardFooter,
|
|
4517
|
+
Ur as CardHeader,
|
|
4518
|
+
qr as CardMedia,
|
|
4519
|
+
He as CardShell,
|
|
4520
|
+
Yr as CardSubtitle,
|
|
4521
|
+
Qr as CardTitle,
|
|
4522
|
+
Hn as CascadePreview,
|
|
4523
|
+
Jn as CellTintOverlay,
|
|
4524
|
+
Xr as ChartControlBar,
|
|
4525
|
+
Jr as Checkbox,
|
|
4526
|
+
Zr as CheckboxGroup,
|
|
4527
|
+
es as Chip,
|
|
4528
|
+
ts as ColorPicker,
|
|
4529
|
+
as as ComparisonCard,
|
|
4530
|
+
ns as ContactForm,
|
|
4531
|
+
rs as ContainerCard,
|
|
4532
|
+
ss as ContainerCardActions,
|
|
4533
|
+
is as ContainerCardBody,
|
|
4534
|
+
ls as ContainerCardFooter,
|
|
4535
|
+
os as ContainerCardHeader,
|
|
4536
|
+
cs as ContainerCardMedia,
|
|
4537
|
+
ds as ContainerCardSubtitle,
|
|
4538
|
+
us as ContainerCardTitle,
|
|
4539
|
+
ms as ContainerDialog,
|
|
4540
|
+
ps as ContainerDialogActions,
|
|
4541
|
+
gs as ContainerDialogBody,
|
|
4542
|
+
hs as ContainerDialogHeader,
|
|
4543
|
+
Sa as ContainerFormSection,
|
|
4544
|
+
fs as ContainerPanel,
|
|
4545
|
+
Da as ContainerTable,
|
|
4546
|
+
ka as ContainerToolbar,
|
|
4547
|
+
bs as CreditCardForm,
|
|
4548
|
+
vs as DEFAULT_FOOTER_IDS,
|
|
4549
|
+
K as DEFAULT_GRID_INTERACTION_PHYSICS,
|
|
4550
|
+
Ll as DEFAULT_MARKET_PRESETS,
|
|
4551
|
+
ys as DEFAULT_OVERFLOW_IDS,
|
|
4552
|
+
Ol as DEFAULT_PINNED,
|
|
4553
|
+
ut as DEFAULT_RESIZE_PHYSICS,
|
|
4554
|
+
Te as DEFAULT_RESIZE_PILL_PHYSICS,
|
|
4555
|
+
_s as DataTable,
|
|
4556
|
+
ws as DatePicker,
|
|
4557
|
+
Cs as DateRangePicker,
|
|
4558
|
+
Ns as DestructiveModal,
|
|
4559
|
+
Vt as DevTuningPanel,
|
|
4560
|
+
ks as DirectionCard,
|
|
4561
|
+
Ss as Dismissible,
|
|
4562
|
+
Ds as DistributionCard,
|
|
4563
|
+
co as DonutChart,
|
|
4564
|
+
zn as DragGhost,
|
|
4565
|
+
Ln as DropAnchorCell,
|
|
4566
|
+
xs as Dropdown,
|
|
4567
|
+
qt as DualPaceBars,
|
|
4568
|
+
Ts as ENTITY_FILTER_KEYS,
|
|
4569
|
+
Rs as ENTITY_PROFILE_ROUTES,
|
|
4570
|
+
Ms as ENTITY_TYPE_PLURAL,
|
|
4571
|
+
Bn as EmptyCellPackAffordance,
|
|
4572
|
+
Ps as EntityPicker,
|
|
4523
4573
|
$ as EntityRow,
|
|
4524
|
-
|
|
4525
|
-
|
|
4526
|
-
|
|
4527
|
-
|
|
4528
|
-
|
|
4529
|
-
|
|
4530
|
-
|
|
4531
|
-
|
|
4532
|
-
|
|
4533
|
-
|
|
4534
|
-
|
|
4535
|
-
|
|
4536
|
-
|
|
4537
|
-
|
|
4538
|
-
|
|
4539
|
-
|
|
4540
|
-
|
|
4541
|
-
|
|
4542
|
-
|
|
4543
|
-
|
|
4544
|
-
|
|
4545
|
-
|
|
4546
|
-
|
|
4547
|
-
|
|
4548
|
-
|
|
4549
|
-
|
|
4550
|
-
|
|
4551
|
-
|
|
4552
|
-
|
|
4553
|
-
|
|
4554
|
-
|
|
4555
|
-
|
|
4556
|
-
|
|
4557
|
-
|
|
4558
|
-
|
|
4559
|
-
|
|
4560
|
-
|
|
4561
|
-
|
|
4562
|
-
|
|
4563
|
-
|
|
4564
|
-
|
|
4565
|
-
|
|
4566
|
-
|
|
4567
|
-
|
|
4568
|
-
|
|
4569
|
-
|
|
4570
|
-
|
|
4571
|
-
|
|
4572
|
-
|
|
4573
|
-
|
|
4574
|
-
|
|
4575
|
-
|
|
4576
|
-
|
|
4577
|
-
|
|
4578
|
-
|
|
4579
|
-
|
|
4580
|
-
|
|
4581
|
-
|
|
4582
|
-
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
|
|
4586
|
-
|
|
4587
|
-
|
|
4588
|
-
|
|
4589
|
-
|
|
4590
|
-
|
|
4591
|
-
|
|
4592
|
-
|
|
4593
|
-
|
|
4594
|
-
|
|
4595
|
-
|
|
4596
|
-
|
|
4574
|
+
As as EntitySearchPanel,
|
|
4575
|
+
ia as ExceptionListCard,
|
|
4576
|
+
la as ExceptionListTilePreview,
|
|
4577
|
+
Es as Expandable,
|
|
4578
|
+
uo as ExpandableChip,
|
|
4579
|
+
Fs as FLIP_AND_STAGE_TIMINGS,
|
|
4580
|
+
Is as FileUpload,
|
|
4581
|
+
Ls as FilterChip,
|
|
4582
|
+
Os as FilterInput,
|
|
4583
|
+
$s as FlipAndStageProvider,
|
|
4584
|
+
Bs as Form,
|
|
4585
|
+
zs as FormDialog,
|
|
4586
|
+
Gs as FormField,
|
|
4587
|
+
Hs as FusedShape,
|
|
4588
|
+
Yt as GapReadout,
|
|
4589
|
+
Ws as GestureStateProvider,
|
|
4590
|
+
dt as GhostPreview,
|
|
4591
|
+
Vs as GroupCheckbox,
|
|
4592
|
+
Ks as GroupRadio,
|
|
4593
|
+
cr as HARD_CLIP,
|
|
4594
|
+
js as HighlightCard,
|
|
4595
|
+
Us as HybridDatePicker,
|
|
4596
|
+
qs as ImportWizard,
|
|
4597
|
+
ga as InlineNudge,
|
|
4598
|
+
Ys as Input,
|
|
4599
|
+
Qs as InputAddon,
|
|
4600
|
+
Xs as InputGroup,
|
|
4601
|
+
aa as LeaderboardCard,
|
|
4602
|
+
na as LeaderboardTilePreview,
|
|
4603
|
+
Jt as LensChipGroup,
|
|
4604
|
+
Js as Link,
|
|
4605
|
+
Zs as LoginForm,
|
|
4606
|
+
J as MagnitudeBar,
|
|
4607
|
+
ei as MarketPresetRow,
|
|
4608
|
+
ti as MaskPresets,
|
|
4609
|
+
ai as MaskedInput,
|
|
4610
|
+
ni as Menu,
|
|
4611
|
+
ri as MenuDivider,
|
|
4612
|
+
si as MenuGroup,
|
|
4613
|
+
ii as MenuItem,
|
|
4614
|
+
li as MergePrompt,
|
|
4615
|
+
mo as MetricCard,
|
|
4616
|
+
oi as MetricCardGrid,
|
|
4617
|
+
It as MetricGroupContainer,
|
|
4618
|
+
ci as MiniCalendar,
|
|
4619
|
+
ea as MoreInLensRail,
|
|
4620
|
+
di as MultiSelect,
|
|
4621
|
+
dr as NotificationCenterShell,
|
|
4622
|
+
ui as NumberInput,
|
|
4623
|
+
po as ObjectArrow,
|
|
4624
|
+
mi as OrderFilterBar,
|
|
4625
|
+
ur as PANEL_COMMITS,
|
|
4626
|
+
$l as PERIOD_OPTIONS,
|
|
4627
|
+
Wn as PaceCard,
|
|
4628
|
+
Vn as PaceTilePreview,
|
|
4629
|
+
Nt as PageChip,
|
|
4630
|
+
Ae as PageDropdown,
|
|
4631
|
+
mr as PanelHost,
|
|
4632
|
+
pr as PanelProvider,
|
|
4633
|
+
pi as PasswordInput,
|
|
4634
|
+
gi as PaymentForm,
|
|
4635
|
+
hi as PaymentMethodSelect,
|
|
4636
|
+
fi as PhoneInput,
|
|
4637
|
+
bi as PinToMetric,
|
|
4638
|
+
Na as PresetSwatchRow,
|
|
4639
|
+
vi as ProfileCard,
|
|
4640
|
+
yi as ProgressCard,
|
|
4641
|
+
nr as QuickConfigPanel,
|
|
4642
|
+
Mt as RECONFIG_BACKSIDE_LABELS,
|
|
4643
|
+
Bl as ROLLING_OPTIONS,
|
|
4644
|
+
_i as Radio,
|
|
4645
|
+
wi as RadioGroup,
|
|
4646
|
+
Ci as RangeSlider,
|
|
4597
4647
|
Q as RankBadge,
|
|
4598
|
-
|
|
4599
|
-
|
|
4600
|
-
|
|
4601
|
-
|
|
4602
|
-
|
|
4603
|
-
|
|
4604
|
-
|
|
4605
|
-
|
|
4606
|
-
|
|
4607
|
-
|
|
4608
|
-
|
|
4609
|
-
|
|
4610
|
-
|
|
4611
|
-
|
|
4612
|
-
|
|
4613
|
-
|
|
4614
|
-
|
|
4615
|
-
|
|
4616
|
-
|
|
4617
|
-
|
|
4618
|
-
|
|
4619
|
-
|
|
4620
|
-
|
|
4621
|
-
|
|
4622
|
-
|
|
4623
|
-
|
|
4624
|
-
|
|
4625
|
-
|
|
4626
|
-
|
|
4627
|
-
|
|
4628
|
-
|
|
4629
|
-
|
|
4630
|
-
|
|
4631
|
-
|
|
4632
|
-
|
|
4633
|
-
|
|
4634
|
-
|
|
4635
|
-
|
|
4636
|
-
|
|
4637
|
-
|
|
4638
|
-
|
|
4639
|
-
|
|
4640
|
-
|
|
4641
|
-
|
|
4642
|
-
|
|
4643
|
-
|
|
4648
|
+
$e as RankDelta,
|
|
4649
|
+
Ni as Rating,
|
|
4650
|
+
Et as ReconfigBacksideButtons,
|
|
4651
|
+
Zn as RefusePulse,
|
|
4652
|
+
ki as RegistrationForm,
|
|
4653
|
+
In as ResizeEnvelope,
|
|
4654
|
+
ft as ResizePill,
|
|
4655
|
+
er as ResizeTrackingOutline,
|
|
4656
|
+
Si as Row1Controls,
|
|
4657
|
+
Di as Row2FilterTray,
|
|
4658
|
+
jn as STROKE_DASHED,
|
|
4659
|
+
Qn as STROKE_DASHED_DASHARRAY,
|
|
4660
|
+
Yn as STROKE_OUTLINE,
|
|
4661
|
+
Un as STROKE_SOLID,
|
|
4662
|
+
qn as STROKE_SPARSE_DASH,
|
|
4663
|
+
Xn as STROKE_SPARSE_DASH_DASHARRAY,
|
|
4664
|
+
xi as SearchInput,
|
|
4665
|
+
$n as SectionDivider,
|
|
4666
|
+
sr as SectionDots,
|
|
4667
|
+
Ti as SegmentCard,
|
|
4668
|
+
Ri as SegmentedControl,
|
|
4669
|
+
Mi as Select,
|
|
4670
|
+
Pi as Selectable,
|
|
4671
|
+
gr as SettingsTabStrip,
|
|
4672
|
+
X as SeverityDot,
|
|
4673
|
+
Ai as SimpleMetricCard,
|
|
4674
|
+
Ei as SimpleSelector,
|
|
4675
|
+
Fi as Skeleton,
|
|
4676
|
+
Ii as SkeletonCard,
|
|
4677
|
+
Li as SkeletonChart,
|
|
4678
|
+
Oi as SkeletonTable,
|
|
4679
|
+
$i as Slider,
|
|
4680
|
+
Gn as SnapOutline,
|
|
4681
|
+
Bi as Sortable,
|
|
4682
|
+
hr as SortableZones,
|
|
4683
|
+
go as SparklineBg,
|
|
4684
|
+
On as SpilloverArc,
|
|
4685
|
+
zi as SplitButton,
|
|
4686
|
+
Gi as StackedGroupCard,
|
|
4687
|
+
oa as StackedGroupTilePreview,
|
|
4688
|
+
Zt as StarterRail,
|
|
4689
|
+
ho as StatusModeCard,
|
|
4690
|
+
ct as StatusSlotChipMenu,
|
|
4691
|
+
Hi as Stepper,
|
|
4692
|
+
ye as SwingReveal,
|
|
4693
|
+
zl as TODAY_PRESET,
|
|
4644
4694
|
H as TUNING_DEFAULTS,
|
|
4645
|
-
|
|
4646
|
-
|
|
4647
|
-
|
|
4648
|
-
|
|
4649
|
-
|
|
4650
|
-
|
|
4651
|
-
|
|
4652
|
-
|
|
4653
|
-
|
|
4654
|
-
|
|
4655
|
-
|
|
4656
|
-
|
|
4657
|
-
|
|
4658
|
-
|
|
4659
|
-
|
|
4660
|
-
|
|
4661
|
-
|
|
4662
|
-
|
|
4663
|
-
|
|
4664
|
-
|
|
4665
|
-
|
|
4666
|
-
|
|
4667
|
-
|
|
4668
|
-
|
|
4669
|
-
|
|
4670
|
-
|
|
4671
|
-
|
|
4672
|
-
|
|
4673
|
-
|
|
4674
|
-
|
|
4675
|
-
|
|
4676
|
-
|
|
4677
|
-
|
|
4678
|
-
|
|
4679
|
-
|
|
4680
|
-
|
|
4681
|
-
|
|
4682
|
-
|
|
4683
|
-
|
|
4684
|
-
|
|
4685
|
-
|
|
4686
|
-
|
|
4687
|
-
|
|
4688
|
-
|
|
4689
|
-
|
|
4690
|
-
|
|
4691
|
-
|
|
4692
|
-
|
|
4693
|
-
|
|
4694
|
-
|
|
4695
|
-
|
|
4696
|
-
|
|
4697
|
-
|
|
4698
|
-
|
|
4699
|
-
|
|
4700
|
-
|
|
4701
|
-
|
|
4702
|
-
|
|
4703
|
-
|
|
4704
|
-
|
|
4705
|
-
|
|
4695
|
+
Le as TUNING_STORAGE_KEY,
|
|
4696
|
+
Wi as TabGroup,
|
|
4697
|
+
Vi as TabbedDataView,
|
|
4698
|
+
Ki as TagInput,
|
|
4699
|
+
at as TargetInput,
|
|
4700
|
+
ji as Textarea,
|
|
4701
|
+
ba as ThresholdRamp,
|
|
4702
|
+
Ui as TimeFrame,
|
|
4703
|
+
qi as TimePicker,
|
|
4704
|
+
fo as TimeframeQuickBar,
|
|
4705
|
+
Yi as Toggle,
|
|
4706
|
+
Qi as Tooltip,
|
|
4707
|
+
Oe as TrackingOutline,
|
|
4708
|
+
Xi as Transition,
|
|
4709
|
+
Ji as TransitionGroup,
|
|
4710
|
+
Zi as TrendCard,
|
|
4711
|
+
bo as TrendIndicator,
|
|
4712
|
+
so as UIContext,
|
|
4713
|
+
ue as UIContextProvider,
|
|
4714
|
+
el as UnifiedBreakdownTable,
|
|
4715
|
+
tl as UnifiedContextMenu,
|
|
4716
|
+
tn as VelocityBuffer,
|
|
4717
|
+
al as addressGroupMetadata,
|
|
4718
|
+
nl as addressSchema,
|
|
4719
|
+
Ka as allChips,
|
|
4720
|
+
sn as allStateFixtures,
|
|
4721
|
+
rn as allVariantFixtures,
|
|
4722
|
+
Ya as blockSamples,
|
|
4723
|
+
rl as buildDefaultOverflow,
|
|
4724
|
+
en as cardSamples,
|
|
4725
|
+
Pl as cascadePhysics,
|
|
4726
|
+
Ja as chartSamples,
|
|
4727
|
+
Xa as circleSamples,
|
|
4728
|
+
fr as colorTokens,
|
|
4729
|
+
Tn as compactLayout,
|
|
4730
|
+
bn as compactState,
|
|
4731
|
+
nn as computeGutterAnchorX,
|
|
4732
|
+
sl as contactFormMetadata,
|
|
4733
|
+
il as contactSchema,
|
|
4734
|
+
vn as contextMenuFixtures,
|
|
4735
|
+
ll as creditCardFormMetadata,
|
|
4736
|
+
ol as creditCardSchema,
|
|
4737
|
+
st as dateChip,
|
|
4738
|
+
Ie as defaultControlBarState,
|
|
4739
|
+
cl as destructiveModalMetadata,
|
|
4740
|
+
El as durations,
|
|
4741
|
+
Fl as easings,
|
|
4742
|
+
yt as emptyFixture,
|
|
4743
|
+
nt as entityChip,
|
|
4744
|
+
xt as entityNameActions,
|
|
4745
|
+
Ua as entityTabGroup,
|
|
4746
|
+
vt as errorFixture,
|
|
4747
|
+
vo as evaluateTintCondition,
|
|
4748
|
+
fn as filteredState,
|
|
4749
|
+
Gl as findPreset,
|
|
4750
|
+
Hl as formatDateRange,
|
|
4751
|
+
Wl as formatMarketDates,
|
|
4752
|
+
Vl as formatTrend,
|
|
4753
|
+
Kl as formatValue,
|
|
4754
|
+
Mn as fullLayout,
|
|
4755
|
+
jl as generateMarketId,
|
|
4706
4756
|
dl as generateTabId,
|
|
4707
|
-
|
|
4708
|
-
|
|
4757
|
+
Ul as getAllPresets,
|
|
4758
|
+
ql as getDateRangeForPreset,
|
|
4709
4759
|
ul as getMenuActions,
|
|
4710
|
-
|
|
4711
|
-
|
|
4712
|
-
|
|
4713
|
-
|
|
4714
|
-
|
|
4715
|
-
|
|
4716
|
-
|
|
4717
|
-
|
|
4718
|
-
|
|
4719
|
-
|
|
4720
|
-
|
|
4721
|
-
|
|
4722
|
-
|
|
4723
|
-
|
|
4724
|
-
|
|
4725
|
-
|
|
4726
|
-
|
|
4727
|
-
|
|
4728
|
-
|
|
4729
|
-
|
|
4730
|
-
|
|
4731
|
-
|
|
4732
|
-
|
|
4733
|
-
|
|
4734
|
-
|
|
4735
|
-
|
|
4736
|
-
|
|
4760
|
+
ke as getMotionMode,
|
|
4761
|
+
Yl as getPresetLabel,
|
|
4762
|
+
Ql as getTransitionStyle,
|
|
4763
|
+
xn as gridCards,
|
|
4764
|
+
Kn as gridChannels,
|
|
4765
|
+
Xl as interpolate,
|
|
4766
|
+
Jl as isInRange,
|
|
4767
|
+
Zl as isMarketActive,
|
|
4768
|
+
eo as isSameDay,
|
|
4769
|
+
hn as itemColumns,
|
|
4770
|
+
pn as itemRows,
|
|
4771
|
+
bt as loadingFixture,
|
|
4772
|
+
ml as loginFormMetadata,
|
|
4773
|
+
pl as loginSchema,
|
|
4774
|
+
it as manufacturerChip,
|
|
4775
|
+
Fn as manyTabs,
|
|
4776
|
+
gl as mergeHandlers,
|
|
4777
|
+
hl as mergeRefs,
|
|
4778
|
+
ja as metricTabGroup,
|
|
4779
|
+
An as mixedTabs,
|
|
4780
|
+
to as normalizePresetId,
|
|
4781
|
+
Rt as numericActions,
|
|
4782
|
+
gn as orderColumns,
|
|
4783
|
+
Tt as orderIdActions,
|
|
4784
|
+
mn as orderRows,
|
|
4785
|
+
Pn as ordersTabs,
|
|
4786
|
+
Ne as paletteHex,
|
|
4737
4787
|
W as paletteVars,
|
|
4738
|
-
|
|
4739
|
-
|
|
4740
|
-
|
|
4741
|
-
|
|
4742
|
-
|
|
4743
|
-
|
|
4744
|
-
|
|
4745
|
-
|
|
4746
|
-
|
|
4747
|
-
|
|
4748
|
-
|
|
4749
|
-
|
|
4750
|
-
|
|
4751
|
-
|
|
4752
|
-
|
|
4753
|
-
|
|
4754
|
-
|
|
4755
|
-
|
|
4756
|
-
|
|
4757
|
-
|
|
4758
|
-
|
|
4759
|
-
|
|
4760
|
-
|
|
4761
|
-
|
|
4762
|
-
|
|
4763
|
-
|
|
4764
|
-
|
|
4765
|
-
|
|
4766
|
-
|
|
4767
|
-
|
|
4768
|
-
|
|
4788
|
+
br as panelsDeriveSurfaceState,
|
|
4789
|
+
vr as panelsInitialState,
|
|
4790
|
+
yr as panelsReducer,
|
|
4791
|
+
ao as parseNumericValue,
|
|
4792
|
+
fl as paymentFormMetadata,
|
|
4793
|
+
bl as paymentSchema,
|
|
4794
|
+
vl as presets,
|
|
4795
|
+
_r as provisional,
|
|
4796
|
+
wr as reducedMotion,
|
|
4797
|
+
yl as registrationFormMetadata,
|
|
4798
|
+
_l as registrationSchema,
|
|
4799
|
+
Cr as rejectionFeedback,
|
|
4800
|
+
_n as sampleCompareRanges,
|
|
4801
|
+
Nn as sampleCustomMarkets,
|
|
4802
|
+
yn as sampleDateRange,
|
|
4803
|
+
kn as sampleMarketPresetData,
|
|
4804
|
+
Cn as sampleMarkets,
|
|
4805
|
+
Dn as samplePeriodPresets,
|
|
4806
|
+
wn as samplePreferences,
|
|
4807
|
+
Sn as samplePresets,
|
|
4808
|
+
En as singleTab,
|
|
4809
|
+
ln as sparklineFixture,
|
|
4810
|
+
on as sparklineUpFixture,
|
|
4811
|
+
Ct as staleDonutFixture,
|
|
4812
|
+
_t as staleFixture,
|
|
4813
|
+
wt as staleSparklineFixture,
|
|
4814
|
+
cn as standardFixture,
|
|
4815
|
+
un as standardFlatFixture,
|
|
4816
|
+
Rn as standardLayout,
|
|
4817
|
+
dn as standardNegativeFixture,
|
|
4818
|
+
rt as statusChip,
|
|
4769
4819
|
U as swingReveal,
|
|
4770
|
-
|
|
4771
|
-
|
|
4772
|
-
|
|
4773
|
-
|
|
4774
|
-
|
|
4775
|
-
|
|
4776
|
-
|
|
4777
|
-
|
|
4778
|
-
|
|
4779
|
-
|
|
4780
|
-
|
|
4781
|
-
|
|
4782
|
-
|
|
4783
|
-
|
|
4784
|
-
|
|
4785
|
-
|
|
4786
|
-
|
|
4787
|
-
|
|
4788
|
-
|
|
4789
|
-
|
|
4790
|
-
|
|
4791
|
-
|
|
4792
|
-
|
|
4793
|
-
|
|
4794
|
-
|
|
4820
|
+
Za as tableSamples,
|
|
4821
|
+
Qa as textSamples,
|
|
4822
|
+
qa as timeFrameTabGroup,
|
|
4823
|
+
no as toUppercasePresetId,
|
|
4824
|
+
Ge as useAffordanceVisibility,
|
|
4825
|
+
Va as useArrowNavigation,
|
|
4826
|
+
wl as useCheckboxGroupContext,
|
|
4827
|
+
Cl as useFilterLayout,
|
|
4828
|
+
Nl as useFlipAndStage,
|
|
4829
|
+
kl as useFlipAndStageContext,
|
|
4830
|
+
Sl as useFlipAndStageContextOptional,
|
|
4831
|
+
Wa as useFocusReturn,
|
|
4832
|
+
Dl as useFocusTrap,
|
|
4833
|
+
xl as useFormContext,
|
|
4834
|
+
Tl as useGestureState,
|
|
4835
|
+
Nr as usePanelContext,
|
|
4836
|
+
ze as usePanelContextOptional,
|
|
4837
|
+
kr as usePanelCoordinator,
|
|
4838
|
+
ya as usePortalAnchor,
|
|
4839
|
+
Rl as useRadioGroupContext,
|
|
4840
|
+
tr as useResizeChoreography,
|
|
4841
|
+
an as useResizePill,
|
|
4842
|
+
$t as useResizeTuning,
|
|
4843
|
+
Sr as useSortableZones,
|
|
4844
|
+
io as useUIContext
|
|
4795
4845
|
};
|