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