@mt-gloss/ui 0.1.132 → 0.1.134
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/{BaseAsyncButton-aDQ_TjJi.js → BaseAsyncButton-CJlY7Uik.js} +1 -1
- package/{Expandable-CvT19-Bf.js → Expandable-DA4NFzCR.js} +2768 -2720
- package/{UIContext-Dm0GYHFT.js → UIContext-CGQI_KJk.js} +658 -519
- package/catalog.js +4 -4
- package/index.js +1233 -1215
- package/internals.js +3 -3
- package/lib/base/BaseAccordion/BaseAccordion.d.ts +24 -4
- package/lib/base/BaseCard/BaseCard.d.ts +48 -8
- package/lib/base/BaseCheckbox/BaseCheckbox.d.ts +6 -1
- package/lib/base/BaseInput/BaseInput.d.ts +6 -1
- package/lib/base/BaseMaskedInput/BaseMaskedInput.d.ts +6 -1
- package/lib/base/BaseMenu/BaseMenu.d.ts +12 -2
- package/lib/base/BaseRadio/BaseRadio.d.ts +6 -1
- package/lib/base/BaseRating/BaseRating.d.ts +6 -1
- package/lib/base/BaseSegmentedControl/BaseSegmentedControl.d.ts +6 -1
- package/lib/base/BaseSelect/BaseSelect.d.ts +12 -2
- package/lib/base/BaseTextarea/BaseTextarea.d.ts +6 -1
- package/lib/base/BaseToggle/BaseToggle.d.ts +6 -1
- package/lib/base/BaseTooltip/BaseTooltip.d.ts +6 -1
- package/lib/composites/forms/PasswordInput.d.ts +6 -1
- package/lib/composites/forms/PhoneInput.d.ts +6 -1
- package/lib/composites/forms/SearchInput.d.ts +6 -1
- package/lib/composites/forms/TagInput.d.ts +6 -1
- package/lib/composites/inputs/FilterChip.d.ts +6 -1
- package/lib/composites/overlay/SplitButton/SplitButton.d.ts +6 -1
- package/lib/containers/ContainerDialog/ContainerDialog.d.ts +18 -3
- package/lib/containers/ContainerFormSection/ContainerFormSection.d.ts +6 -1
- package/lib/containers/ContainerPanel/ContainerPanel.d.ts +6 -1
- package/lib/containers/ContainerTable/ContainerTable.d.ts +6 -1
- package/lib/containers/ContainerToolbar/ContainerToolbar.d.ts +6 -1
- package/lib/primitives/dashboard/ResizePill/ResizePill.d.ts +7 -1
- package/lib/wrappers/Actionable/Actionable.d.ts +6 -1
- package/lib/wrappers/AsyncLoader/AsyncLoader.d.ts +6 -1
- package/lib/wrappers/ButtonGroup/ButtonGroup.d.ts +6 -1
- package/lib/wrappers/CheckboxGroup/CheckboxGroup.d.ts +6 -1
- package/lib/wrappers/Dismissible/Dismissible.d.ts +6 -1
- package/lib/wrappers/Expandable/Expandable.d.ts +6 -1
- package/lib/wrappers/InputGroup/InputGroup.d.ts +12 -2
- package/lib/wrappers/RadioGroup/RadioGroup.d.ts +6 -1
- package/lib/wrappers/Selectable/Selectable.d.ts +6 -1
- package/lib/wrappers/Sortable/Sortable.d.ts +6 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1,61 +1,61 @@
|
|
|
1
|
-
import { u as ze, C as Be } from "./Expandable-
|
|
2
|
-
import { Q as
|
|
3
|
-
import { jsxs as f, jsx as r, Fragment as
|
|
4
|
-
import * as
|
|
5
|
-
import
|
|
6
|
-
import { motion as
|
|
7
|
-
import { u as
|
|
8
|
-
import { N as
|
|
1
|
+
import { u as ze, C as Be } from "./Expandable-DA4NFzCR.js";
|
|
2
|
+
import { Q as un, V as mn, T as pn, U as gn, a5 as hn, b8 as fn, aB as bn, aj as vn, $ as yn, ap as wn, N as _n, aa as Cn, P as Nn, B as kn, a as Sn, A as Dn, K as xn, bi as Tn, J as Rn, L as Mn, E as Pn, D as An, H as En, F as Fn, bq as In, b as Ln, c as On, O as $n, q as zn, af as Bn, aP as Gn, A as Hn, K as Wn, J as Vn, L as jn, E as Kn, D as Un, H as Yn, F as qn, b1 as Qn, b4 as Jn, b3 as Xn, b2 as Zn, b5 as es, aE as ts, a7 as as, a6 as rs, as as ns, m as ss, o as is, aH as ls, ad as os, ba as cs, ab as ds, _ as us, bA as ms, bz as ps, bB as gs, ar as hs, aS as fs, bc as bs, bF as vs, bo as ys, p as ws, ao as _s, bu as Cs, bl as Ns, a2 as ks, at as Ss, a4 as Ds, bt as xs, bK as Ts, G as Rs, f as Ms, ac as Ps, bC as As, aV as Es, t as Fs, x as Is, I as Ls, i as Os, ay as $s, bG as zs, M as Bs, y as Gs, W as Hs, Z as Ws, X as Vs, Y as js, au as Ks, bI as Us, bE as Ys, aq as qs, w as Qs, aU as Js, al as Xs, aM as Zs, ai as ei, an as ti, aw as ai, aT as ri, ae as ni, av as si, e as ii, R as li, l as oi, r as ci, aJ as di, br as ui, bs as mi, ak as pi, ag as gi, j as hi, z as fi, b9 as bi, ah as vi, bH as yi, be as wi, bh as _i, bf as Ci, bg as Ni, k as ki, bb as Si, S as Di, bj as xi, ax as Ti, bd as Ri, bJ as Mi, am as Pi, v as Ai, bD as Ei, n as Fi, h as Ii, s as Li, a0 as Oi, a1 as $i, a9 as zi, bp as Bi, bw as Gi, aC as Hi, aD as Wi, a8 as Vi, aQ as ji, aR as Ki, aF as Ui, aG as Yi, aI as qi, aX as Qi, aY as Ji, by as Xi, bx as Zi, a_ as el, a$ as tl, az as al, aA as rl, b7 as nl, b6 as sl, b0 as il, aN as ll, aO as ol, aZ as cl, aK as dl, aL as ul, d as ml, bv as pl, bk as gl, bm as hl, bn as fl, aW as bl, a3 as vl, bL as yl, g as wl } from "./Expandable-DA4NFzCR.js";
|
|
3
|
+
import { jsxs as f, jsx as r, Fragment as I } from "react/jsx-runtime";
|
|
4
|
+
import * as O from "react";
|
|
5
|
+
import V, { useRef as M, useEffect as E, useState as A, useCallback as C, useId as Ne, useMemo as ce, useLayoutEffect as ke, createContext as Ge, useContext as He } from "react";
|
|
6
|
+
import { motion as z, useMotionValue as We, AnimatePresence as Ve, useDragControls as je } from "framer-motion";
|
|
7
|
+
import { u as Ke } from "./COMMITS-WBmqrmdI.js";
|
|
8
|
+
import { N as Cl, C as Nl, c as kl, P as Sl, f as Dl, S as xl, e as Tl, i as Rl, r as Ml, b as Pl, d as Al, a as El } from "./COMMITS-WBmqrmdI.js";
|
|
9
9
|
import { createPortal as Se } from "react-dom";
|
|
10
|
-
import { B as
|
|
11
|
-
import { a as
|
|
12
|
-
import { B as
|
|
13
|
-
import { DEFAULT_MARKET_PRESETS as
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
10
|
+
import { B as Ue, U as de } from "./UIContext-CGQI_KJk.js";
|
|
11
|
+
import { a as Il, u as Ll } from "./UIContext-CGQI_KJk.js";
|
|
12
|
+
import { B as $l, D as zl, M as Bl, O as Gl, a as Hl, S as Wl, T as Vl, e as jl } from "./MetricCard-DOPtBpek.js";
|
|
13
|
+
import { DEFAULT_MARKET_PRESETS as Ul, DEFAULT_PINNED as Yl, PERIOD_OPTIONS as ql, ROLLING_OPTIONS as Ql, TODAY_PRESET as Jl, findPreset as Xl, formatDateRange as Zl, formatMarketDates as eo, formatTrend as to, formatValue as ao, generateMarketId as ro, getAllPresets as no, getDateRangeForPreset as so, getPresetLabel as io, isInRange as lo, isMarketActive as oo, isSameDay as co, normalizePresetId as uo, toUppercasePresetId as mo } from "@mt-gloss/utils";
|
|
14
|
+
import Ye from "@mui/icons-material/AccessTime";
|
|
15
|
+
import qe from "@mui/icons-material/Tune";
|
|
16
|
+
import Qe from "@mui/icons-material/ViewColumn";
|
|
17
|
+
import Je from "@mui/icons-material/AspectRatio";
|
|
18
|
+
import Xe from "@mui/icons-material/Palette";
|
|
19
|
+
import Ze from "@mui/icons-material/PushPin";
|
|
20
20
|
import { useMotionProbe as re } from "@mt-gloss/motion";
|
|
21
21
|
import { B as Y, a as ne } from "./BaseText-Dxbk1JJa.js";
|
|
22
|
-
function
|
|
23
|
-
const { enabled: t = !0, returnTo:
|
|
22
|
+
function Ga(e = {}) {
|
|
23
|
+
const { enabled: t = !0, returnTo: a } = e, n = M(null);
|
|
24
24
|
return E(() => {
|
|
25
|
-
t && (
|
|
26
|
-
}, [t,
|
|
27
|
-
t &&
|
|
28
|
-
|
|
25
|
+
t && (n.current = a || document.activeElement);
|
|
26
|
+
}, [t, a]), E(() => () => {
|
|
27
|
+
t && n.current && setTimeout(() => {
|
|
28
|
+
n.current?.focus?.();
|
|
29
29
|
}, 0);
|
|
30
|
-
}, [t]),
|
|
30
|
+
}, [t]), n;
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function Ha(e) {
|
|
33
33
|
const {
|
|
34
34
|
items: t,
|
|
35
|
-
activeIndex:
|
|
36
|
-
onActiveIndexChange:
|
|
37
|
-
loop:
|
|
38
|
-
orientation:
|
|
35
|
+
activeIndex: a,
|
|
36
|
+
onActiveIndexChange: n,
|
|
37
|
+
loop: i = !0,
|
|
38
|
+
orientation: s = "vertical",
|
|
39
39
|
enabled: l = !0,
|
|
40
40
|
isItemDisabled: o,
|
|
41
41
|
onSelect: u,
|
|
42
42
|
onEscape: m
|
|
43
|
-
} = e, [d, g] = A(-1), c =
|
|
43
|
+
} = e, [d, g] = A(-1), c = a !== void 0 ? a : d, p = C(
|
|
44
44
|
(h) => {
|
|
45
|
-
|
|
45
|
+
a === void 0 && g(h), n?.(h);
|
|
46
46
|
},
|
|
47
|
-
[
|
|
47
|
+
[a, n]
|
|
48
48
|
), b = C(() => t.map((h, v) => ({ item: h, index: v })).filter(({ item: h, index: v }) => !o?.(h, v)).map(({ index: h }) => h), [t, o]), k = C(
|
|
49
49
|
(h, v) => {
|
|
50
50
|
const N = b();
|
|
51
51
|
if (N.length === 0) return -1;
|
|
52
52
|
const x = N.indexOf(h);
|
|
53
53
|
if (x === -1)
|
|
54
|
-
return v === 1 ? N.find((D) => D > h) ?? (
|
|
54
|
+
return v === 1 ? N.find((D) => D > h) ?? (i ? N[0] : -1) : [...N].reverse().find((F) => F < h) ?? (i ? N[N.length - 1] : -1);
|
|
55
55
|
let P = x + v;
|
|
56
|
-
return
|
|
56
|
+
return i ? P = (P + N.length) % N.length : P = Math.max(0, Math.min(N.length - 1, P)), N[P];
|
|
57
57
|
},
|
|
58
|
-
[b,
|
|
58
|
+
[b, i]
|
|
59
59
|
), w = C(() => {
|
|
60
60
|
const h = b();
|
|
61
61
|
h.length > 0 && p(h[0]);
|
|
@@ -73,7 +73,7 @@ function Wa(e) {
|
|
|
73
73
|
}, [p]), R = C(
|
|
74
74
|
(h) => {
|
|
75
75
|
if (!l) return;
|
|
76
|
-
const { key: v } = h, N = v === "ArrowUp" && (
|
|
76
|
+
const { key: v } = h, N = v === "ArrowUp" && (s === "vertical" || s === "both"), x = v === "ArrowDown" && (s === "vertical" || s === "both"), P = v === "ArrowLeft" && (s === "horizontal" || s === "both"), D = v === "ArrowRight" && (s === "horizontal" || s === "both");
|
|
77
77
|
if (N || P) {
|
|
78
78
|
h.preventDefault(), c === -1 ? y() : _();
|
|
79
79
|
return;
|
|
@@ -103,7 +103,7 @@ function Wa(e) {
|
|
|
103
103
|
},
|
|
104
104
|
[
|
|
105
105
|
l,
|
|
106
|
-
|
|
106
|
+
s,
|
|
107
107
|
c,
|
|
108
108
|
t,
|
|
109
109
|
w,
|
|
@@ -126,20 +126,20 @@ function Wa(e) {
|
|
|
126
126
|
resetFocus: S
|
|
127
127
|
};
|
|
128
128
|
}
|
|
129
|
-
const
|
|
129
|
+
const et = ({
|
|
130
130
|
label: e = "Set a target",
|
|
131
131
|
unit: t,
|
|
132
|
-
currentValue:
|
|
133
|
-
onConfirm:
|
|
134
|
-
onSkip:
|
|
135
|
-
hint:
|
|
132
|
+
currentValue: a,
|
|
133
|
+
onConfirm: n,
|
|
134
|
+
onSkip: i,
|
|
135
|
+
hint: s
|
|
136
136
|
}) => {
|
|
137
|
-
const [l, o] = A(
|
|
137
|
+
const [l, o] = A(a != null ? String(a) : ""), u = () => {
|
|
138
138
|
const p = parseFloat(l);
|
|
139
|
-
Number.isNaN(p) ||
|
|
139
|
+
Number.isNaN(p) || n(p);
|
|
140
140
|
}, m = (p) => {
|
|
141
|
-
p.key === "Enter" ? (p.preventDefault(), u()) : p.key === "Escape" && (p.preventDefault(),
|
|
142
|
-
}, d = Ne(), g = `gloss-target-input-field-${d}`, c =
|
|
141
|
+
p.key === "Enter" ? (p.preventDefault(), u()) : p.key === "Escape" && (p.preventDefault(), i?.());
|
|
142
|
+
}, d = Ne(), g = `gloss-target-input-field-${d}`, c = s ? `gloss-target-input-hint-${d}` : void 0;
|
|
143
143
|
return /* @__PURE__ */ f("div", { className: "gloss-target-input", children: [
|
|
144
144
|
/* @__PURE__ */ r("label", { className: "gloss-target-input__label", htmlFor: g, children: e }),
|
|
145
145
|
/* @__PURE__ */ f("div", { className: "gloss-target-input__field-row", children: [
|
|
@@ -158,7 +158,7 @@ const tt = ({
|
|
|
158
158
|
),
|
|
159
159
|
t && /* @__PURE__ */ r("span", { className: "gloss-target-input__unit", children: t })
|
|
160
160
|
] }),
|
|
161
|
-
|
|
161
|
+
s && /* @__PURE__ */ r("p", { id: c, className: "gloss-target-input__hint", children: s }),
|
|
162
162
|
/* @__PURE__ */ f("div", { className: "gloss-target-input__actions", children: [
|
|
163
163
|
/* @__PURE__ */ r(
|
|
164
164
|
"button",
|
|
@@ -169,54 +169,54 @@ const tt = ({
|
|
|
169
169
|
children: "Confirm"
|
|
170
170
|
}
|
|
171
171
|
),
|
|
172
|
-
|
|
172
|
+
i && /* @__PURE__ */ r(
|
|
173
173
|
"button",
|
|
174
174
|
{
|
|
175
175
|
type: "button",
|
|
176
176
|
className: "gloss-target-input__skip",
|
|
177
|
-
onClick:
|
|
177
|
+
onClick: i,
|
|
178
178
|
children: "Skip"
|
|
179
179
|
}
|
|
180
180
|
)
|
|
181
181
|
] })
|
|
182
182
|
] });
|
|
183
183
|
}, Z = (e) => {
|
|
184
|
-
},
|
|
184
|
+
}, tt = {
|
|
185
185
|
id: "entity-filter-1",
|
|
186
186
|
label: "Customer: Acme Corp",
|
|
187
187
|
field: "customer",
|
|
188
188
|
value: "acme-corp-123",
|
|
189
189
|
onRemove: Z
|
|
190
|
-
},
|
|
190
|
+
}, at = {
|
|
191
191
|
id: "status-filter-1",
|
|
192
192
|
label: "Status: Open",
|
|
193
193
|
field: "status",
|
|
194
194
|
value: "open",
|
|
195
195
|
onRemove: Z
|
|
196
|
-
},
|
|
196
|
+
}, rt = {
|
|
197
197
|
id: "date-filter-1",
|
|
198
198
|
label: "Date: Mar 1 - Mar 15",
|
|
199
199
|
field: "dateRange",
|
|
200
200
|
value: "2026-03-01..2026-03-15",
|
|
201
201
|
onRemove: Z
|
|
202
|
-
},
|
|
202
|
+
}, nt = {
|
|
203
203
|
id: "mfg-filter-1",
|
|
204
204
|
label: "Manufacturer: Widget Co",
|
|
205
205
|
field: "manufacturer",
|
|
206
206
|
value: "widget-co-456",
|
|
207
207
|
onRemove: Z
|
|
208
|
-
},
|
|
208
|
+
}, Wa = [
|
|
209
|
+
tt,
|
|
209
210
|
at,
|
|
210
211
|
rt,
|
|
211
|
-
nt
|
|
212
|
-
|
|
213
|
-
], ja = {
|
|
212
|
+
nt
|
|
213
|
+
], Va = {
|
|
214
214
|
id: "metric-toggle",
|
|
215
215
|
tabs: [
|
|
216
216
|
{ id: "$", label: "$", mono: !0 },
|
|
217
217
|
{ id: "#", label: "#", mono: !0 }
|
|
218
218
|
]
|
|
219
|
-
},
|
|
219
|
+
}, ja = {
|
|
220
220
|
id: "entity-type",
|
|
221
221
|
tabs: [
|
|
222
222
|
{ id: "orders", label: "Orders" },
|
|
@@ -224,7 +224,7 @@ const tt = ({
|
|
|
224
224
|
{ id: "customers", label: "Customers" },
|
|
225
225
|
{ id: "manufacturers", label: "Manufacturers" }
|
|
226
226
|
]
|
|
227
|
-
},
|
|
227
|
+
}, Ka = {
|
|
228
228
|
id: "time-frame",
|
|
229
229
|
tabs: [
|
|
230
230
|
{ id: "MTD", label: "MTD" },
|
|
@@ -232,26 +232,26 @@ const tt = ({
|
|
|
232
232
|
{ id: "YTD", label: "YTD" },
|
|
233
233
|
{ id: "LYTD", label: "LYTD" }
|
|
234
234
|
]
|
|
235
|
-
},
|
|
235
|
+
}, Ua = [
|
|
236
236
|
{ variant: "block", width: "100%", height: 16 },
|
|
237
237
|
{ variant: "block", width: 200, height: 32, borderRadius: 8 },
|
|
238
238
|
{ variant: "block", width: "80%", height: 12, borderRadius: "4px" },
|
|
239
239
|
{ variant: "block", width: 120, height: 44, borderRadius: 22 }
|
|
240
|
-
],
|
|
240
|
+
], Ya = [
|
|
241
241
|
{ variant: "text", lines: 3, lineHeight: 14, gap: 8 },
|
|
242
242
|
{ variant: "text", lines: 2, lineHeight: 16, gap: 10 },
|
|
243
243
|
{ variant: "text", lines: 5, lineHeight: 12, gap: 6 }
|
|
244
|
-
],
|
|
244
|
+
], qa = [
|
|
245
245
|
{ variant: "circle", size: 24 },
|
|
246
246
|
{ variant: "circle", size: 40 },
|
|
247
247
|
{ variant: "circle", size: 64 }
|
|
248
|
-
],
|
|
248
|
+
], Qa = [
|
|
249
249
|
{ bars: 10, maxHeight: 120 },
|
|
250
250
|
{ bars: 5, maxHeight: 80 }
|
|
251
|
-
],
|
|
251
|
+
], Ja = [
|
|
252
252
|
{ rows: 5, columns: 3, hasCheckbox: !1, rowHeight: 44 },
|
|
253
253
|
{ rows: 8, columns: 5, hasCheckbox: !0, rowHeight: 44 }
|
|
254
|
-
],
|
|
254
|
+
], Xa = [
|
|
255
255
|
{ variant: "value", colSpan: 1 },
|
|
256
256
|
{ variant: "trend", colSpan: 2 },
|
|
257
257
|
{ variant: "target", colSpan: 1 }
|
|
@@ -281,22 +281,22 @@ const tt = ({
|
|
|
281
281
|
width: "100%",
|
|
282
282
|
textAlign: "left",
|
|
283
283
|
border: "none"
|
|
284
|
-
}),
|
|
284
|
+
}), st = (e) => ({
|
|
285
285
|
...se(e),
|
|
286
286
|
color: e ? "#4338ca" : "#4f46e5",
|
|
287
287
|
fontWeight: 600
|
|
288
|
-
}),
|
|
288
|
+
}), it = {
|
|
289
289
|
height: 1,
|
|
290
290
|
background: "rgba(0,0,0,0.06)",
|
|
291
291
|
margin: "3px 10px"
|
|
292
292
|
};
|
|
293
|
-
function
|
|
293
|
+
function lt({
|
|
294
294
|
open: e,
|
|
295
295
|
anchorEl: t,
|
|
296
|
-
statusId:
|
|
297
|
-
onOpenInTable:
|
|
298
|
-
onShowOnGraph:
|
|
299
|
-
overflowActions:
|
|
296
|
+
statusId: a,
|
|
297
|
+
onOpenInTable: n,
|
|
298
|
+
onShowOnGraph: i,
|
|
299
|
+
overflowActions: s,
|
|
300
300
|
onClose: l
|
|
301
301
|
}) {
|
|
302
302
|
const [o, u] = A(null), m = M(null), d = C(() => {
|
|
@@ -321,11 +321,11 @@ function ot({
|
|
|
321
321
|
};
|
|
322
322
|
return document.addEventListener("pointerdown", p, !0), () => document.removeEventListener("pointerdown", p, !0);
|
|
323
323
|
}, [e, l]), !e) return null;
|
|
324
|
-
const g =
|
|
324
|
+
const g = s && s.length > 0, c = /* @__PURE__ */ f(
|
|
325
325
|
"div",
|
|
326
326
|
{
|
|
327
327
|
ref: m,
|
|
328
|
-
"data-status-chip-menu":
|
|
328
|
+
"data-status-chip-menu": a,
|
|
329
329
|
role: "menu",
|
|
330
330
|
"aria-label": "Status actions",
|
|
331
331
|
style: d(),
|
|
@@ -334,11 +334,11 @@ function ot({
|
|
|
334
334
|
"button",
|
|
335
335
|
{
|
|
336
336
|
role: "menuitem",
|
|
337
|
-
style:
|
|
337
|
+
style: st(o === "__primary"),
|
|
338
338
|
onMouseEnter: () => u("__primary"),
|
|
339
339
|
onMouseLeave: () => u(null),
|
|
340
340
|
onClick: () => {
|
|
341
|
-
a
|
|
341
|
+
n(a), l();
|
|
342
342
|
},
|
|
343
343
|
children: "Open in table"
|
|
344
344
|
}
|
|
@@ -351,13 +351,13 @@ function ot({
|
|
|
351
351
|
onMouseEnter: () => u("__graph"),
|
|
352
352
|
onMouseLeave: () => u(null),
|
|
353
353
|
onClick: () => {
|
|
354
|
-
|
|
354
|
+
i(a), l();
|
|
355
355
|
},
|
|
356
356
|
children: "Show on graph"
|
|
357
357
|
}
|
|
358
358
|
),
|
|
359
|
-
g && /* @__PURE__ */ r("div", { style:
|
|
360
|
-
g &&
|
|
359
|
+
g && /* @__PURE__ */ r("div", { style: it }),
|
|
360
|
+
g && s?.map((p) => /* @__PURE__ */ r(
|
|
361
361
|
"button",
|
|
362
362
|
{
|
|
363
363
|
role: "menuitem",
|
|
@@ -365,7 +365,7 @@ function ot({
|
|
|
365
365
|
onMouseEnter: () => u(p.id),
|
|
366
366
|
onMouseLeave: () => u(null),
|
|
367
367
|
onClick: () => {
|
|
368
|
-
p.onSelect(
|
|
368
|
+
p.onSelect(a), l();
|
|
369
369
|
},
|
|
370
370
|
children: p.label
|
|
371
371
|
},
|
|
@@ -376,16 +376,16 @@ function ot({
|
|
|
376
376
|
);
|
|
377
377
|
return Se(c, document.body);
|
|
378
378
|
}
|
|
379
|
-
|
|
380
|
-
function
|
|
379
|
+
lt.displayName = "StatusSlotChipMenu";
|
|
380
|
+
function ot({
|
|
381
381
|
visible: e,
|
|
382
382
|
targetColSpan: t,
|
|
383
|
-
ghostWidth:
|
|
384
|
-
enterMs:
|
|
385
|
-
exitMs:
|
|
383
|
+
ghostWidth: a,
|
|
384
|
+
enterMs: n = 180,
|
|
385
|
+
exitMs: i = 120
|
|
386
386
|
}) {
|
|
387
387
|
return /* @__PURE__ */ r(
|
|
388
|
-
|
|
388
|
+
z.div,
|
|
389
389
|
{
|
|
390
390
|
"aria-hidden": "true",
|
|
391
391
|
"data-ghost-preview": e ? "visible" : "hidden",
|
|
@@ -395,14 +395,14 @@ function ct({
|
|
|
395
395
|
e ? "gloss-ghost-preview--visible" : ""
|
|
396
396
|
].filter(Boolean).join(" "),
|
|
397
397
|
style: {
|
|
398
|
-
width:
|
|
399
|
-
transitionDuration: `${e ?
|
|
398
|
+
width: a,
|
|
399
|
+
transitionDuration: `${e ? n : i}ms`
|
|
400
400
|
}
|
|
401
401
|
}
|
|
402
402
|
);
|
|
403
403
|
}
|
|
404
|
-
|
|
405
|
-
const
|
|
404
|
+
ot.displayName = "GhostPreview";
|
|
405
|
+
const ct = {
|
|
406
406
|
// Spring (D-08). Retuned 260419 — damping 35 → 22 so the commit spring
|
|
407
407
|
// has visible overshoot (ζ ≈ 0.49, ~13–17% overshoot, ~350ms settle). The
|
|
408
408
|
// prior ζ ≈ 0.78 was imperceptible to users. Debug slug:
|
|
@@ -422,7 +422,7 @@ const dt = {
|
|
|
422
422
|
// Velocity multiplier (D-03b panel)
|
|
423
423
|
velocityMultiplier: 1
|
|
424
424
|
};
|
|
425
|
-
class
|
|
425
|
+
class Za {
|
|
426
426
|
constructor() {
|
|
427
427
|
this.samples = [], this.capacity = 3;
|
|
428
428
|
}
|
|
@@ -463,8 +463,8 @@ class er {
|
|
|
463
463
|
const [u, m] = this.samples, d = Math.max(1, m.t - u.t);
|
|
464
464
|
return (m.x - u.x) / d * 1e3;
|
|
465
465
|
}
|
|
466
|
-
const [
|
|
467
|
-
return (
|
|
466
|
+
const [a, n, i] = this.samples, s = (i.x - n.x) / Math.max(1, i.t - n.t) * 1e3, l = (n.x - a.x) / Math.max(1, n.t - a.t) * 1e3, o = l;
|
|
467
|
+
return (s * 3 + l * 2 + o * 1) / 6;
|
|
468
468
|
}
|
|
469
469
|
}
|
|
470
470
|
const j = {
|
|
@@ -511,15 +511,15 @@ const j = {
|
|
|
511
511
|
chainStaggerMs: 120
|
|
512
512
|
};
|
|
513
513
|
function xe(e) {
|
|
514
|
-
const { visible: t, currentTarget:
|
|
514
|
+
const { visible: t, currentTarget: a, previewTarget: n, targetWidth: i, orientation: s } = e, l = We(i);
|
|
515
515
|
return E(() => {
|
|
516
|
-
l.set(
|
|
517
|
-
}, [
|
|
518
|
-
|
|
516
|
+
l.set(i);
|
|
517
|
+
}, [i, l]), !t || n === a ? null : /* @__PURE__ */ r(
|
|
518
|
+
z.div,
|
|
519
519
|
{
|
|
520
520
|
"aria-hidden": "true",
|
|
521
521
|
"data-resize-pill-ghost": "visible",
|
|
522
|
-
"data-orientation":
|
|
522
|
+
"data-orientation": s,
|
|
523
523
|
className: "gloss-resize-pill-ghost",
|
|
524
524
|
style: {
|
|
525
525
|
// D-09 — uniform blue. NO conditional based on grow vs shrink.
|
|
@@ -552,22 +552,22 @@ xe.displayName = "ResizePillGhost";
|
|
|
552
552
|
function Te(e) {
|
|
553
553
|
const {
|
|
554
554
|
visible: t,
|
|
555
|
-
direction:
|
|
556
|
-
pillClearancePx:
|
|
557
|
-
ghostClearancePx:
|
|
558
|
-
startX:
|
|
555
|
+
direction: a,
|
|
556
|
+
pillClearancePx: n,
|
|
557
|
+
ghostClearancePx: i,
|
|
558
|
+
startX: s,
|
|
559
559
|
endX: l,
|
|
560
560
|
pulseMs: o,
|
|
561
561
|
staggerMs: u
|
|
562
562
|
} = e;
|
|
563
563
|
if (!t) return null;
|
|
564
|
-
const m =
|
|
564
|
+
const m = a === "grow", d = m ? s + n : s + i, g = m ? l - i : l - n, c = Math.max(0, g - d);
|
|
565
565
|
return /* @__PURE__ */ r(
|
|
566
566
|
"div",
|
|
567
567
|
{
|
|
568
568
|
"aria-hidden": "true",
|
|
569
569
|
"data-resize-pill-chain": "visible",
|
|
570
|
-
"data-resize-pill-chain-direction":
|
|
570
|
+
"data-resize-pill-chain-direction": a,
|
|
571
571
|
className: "gloss-resize-pill-chain",
|
|
572
572
|
style: {
|
|
573
573
|
// Match prototype line 384: top:0, height:'100%', display:flex,
|
|
@@ -581,15 +581,15 @@ function Te(e) {
|
|
|
581
581
|
left: d,
|
|
582
582
|
width: c
|
|
583
583
|
},
|
|
584
|
-
children: (
|
|
585
|
-
|
|
584
|
+
children: (a === "grow" ? [0, 1, 2, 3, 4] : [4, 3, 2, 1, 0]).map((b, k) => /* @__PURE__ */ r(
|
|
585
|
+
z.span,
|
|
586
586
|
{
|
|
587
587
|
className: [
|
|
588
588
|
"gloss-resize-pill-chain__chevron",
|
|
589
|
-
|
|
589
|
+
a === "shrink" ? "gloss-resize-pill-chain__chevron--shrink" : ""
|
|
590
590
|
].filter(Boolean).join(" "),
|
|
591
591
|
style: {
|
|
592
|
-
transform:
|
|
592
|
+
transform: a === "shrink" ? "scaleX(-1)" : void 0
|
|
593
593
|
},
|
|
594
594
|
animate: { opacity: [0.2, 1, 0.2] },
|
|
595
595
|
transition: {
|
|
@@ -608,44 +608,44 @@ function Te(e) {
|
|
|
608
608
|
Te.displayName = "ResizePillArrowChain";
|
|
609
609
|
const me = 3;
|
|
610
610
|
function pe({ filled: e, total: t }) {
|
|
611
|
-
const
|
|
612
|
-
for (let
|
|
613
|
-
|
|
611
|
+
const a = [];
|
|
612
|
+
for (let n = 0; n < t; n++)
|
|
613
|
+
a.push(
|
|
614
614
|
/* @__PURE__ */ r(
|
|
615
615
|
"span",
|
|
616
616
|
{
|
|
617
617
|
className: [
|
|
618
618
|
"gloss-resize-pill-tooltip__cell",
|
|
619
|
-
|
|
619
|
+
n < e ? "gloss-resize-pill-tooltip__cell--filled" : ""
|
|
620
620
|
].filter(Boolean).join(" ")
|
|
621
621
|
},
|
|
622
|
-
|
|
622
|
+
n
|
|
623
623
|
)
|
|
624
624
|
);
|
|
625
|
-
return /* @__PURE__ */ r("span", { className: "gloss-resize-pill-tooltip__matrix", children:
|
|
625
|
+
return /* @__PURE__ */ r("span", { className: "gloss-resize-pill-tooltip__matrix", children: a });
|
|
626
626
|
}
|
|
627
627
|
function ge(e) {
|
|
628
628
|
return e === "compact" ? "Compact" : e === "medium" ? "Medium" : e === "full" ? "Full" : String(e);
|
|
629
629
|
}
|
|
630
630
|
function Re(e) {
|
|
631
|
-
const { visible: t, currentTarget:
|
|
632
|
-
return !t ||
|
|
633
|
-
|
|
631
|
+
const { visible: t, currentTarget: a, previewTarget: n, mode: i, showSizeTooltip: s = !0 } = e;
|
|
632
|
+
return !t || s === !1 ? null : /* @__PURE__ */ f(
|
|
633
|
+
z.div,
|
|
634
634
|
{
|
|
635
635
|
"aria-hidden": "true",
|
|
636
636
|
"data-resize-pill-tooltip": "visible",
|
|
637
|
-
"data-mode":
|
|
637
|
+
"data-mode": i,
|
|
638
638
|
className: "gloss-resize-pill-tooltip",
|
|
639
639
|
initial: { opacity: 0 },
|
|
640
640
|
animate: { opacity: 1 },
|
|
641
641
|
exit: { opacity: 0 },
|
|
642
642
|
transition: { duration: 0.18 },
|
|
643
643
|
children: [
|
|
644
|
-
|
|
644
|
+
i === "directional" && /* @__PURE__ */ f(I, { children: [
|
|
645
645
|
/* @__PURE__ */ r(
|
|
646
646
|
pe,
|
|
647
647
|
{
|
|
648
|
-
filled: typeof
|
|
648
|
+
filled: typeof a == "number" ? a : 1,
|
|
649
649
|
total: me
|
|
650
650
|
}
|
|
651
651
|
),
|
|
@@ -653,22 +653,22 @@ function Re(e) {
|
|
|
653
653
|
/* @__PURE__ */ r(
|
|
654
654
|
pe,
|
|
655
655
|
{
|
|
656
|
-
filled: typeof
|
|
656
|
+
filled: typeof n == "number" ? n : 1,
|
|
657
657
|
total: me
|
|
658
658
|
}
|
|
659
659
|
)
|
|
660
660
|
] }),
|
|
661
|
-
|
|
662
|
-
/* @__PURE__ */ r("span", { className: "gloss-resize-pill-tooltip__label", children: ge(
|
|
661
|
+
i === "sized" && /* @__PURE__ */ f(I, { children: [
|
|
662
|
+
/* @__PURE__ */ r("span", { className: "gloss-resize-pill-tooltip__label", children: ge(a) }),
|
|
663
663
|
/* @__PURE__ */ r("span", { className: "gloss-resize-pill-tooltip__arrow", children: "→" }),
|
|
664
|
-
/* @__PURE__ */ r("span", { className: "gloss-resize-pill-tooltip__label", children: ge(
|
|
664
|
+
/* @__PURE__ */ r("span", { className: "gloss-resize-pill-tooltip__label", children: ge(n) })
|
|
665
665
|
] })
|
|
666
666
|
]
|
|
667
667
|
}
|
|
668
668
|
);
|
|
669
669
|
}
|
|
670
670
|
Re.displayName = "ResizePillSizeTooltip";
|
|
671
|
-
function
|
|
671
|
+
function dt({ direction: e }) {
|
|
672
672
|
return /* @__PURE__ */ r(
|
|
673
673
|
"svg",
|
|
674
674
|
{
|
|
@@ -685,7 +685,7 @@ function ut({ direction: e }) {
|
|
|
685
685
|
}
|
|
686
686
|
);
|
|
687
687
|
}
|
|
688
|
-
function
|
|
688
|
+
function ut() {
|
|
689
689
|
return /* @__PURE__ */ r(
|
|
690
690
|
"svg",
|
|
691
691
|
{
|
|
@@ -702,7 +702,7 @@ function mt() {
|
|
|
702
702
|
}
|
|
703
703
|
);
|
|
704
704
|
}
|
|
705
|
-
function
|
|
705
|
+
function mt({ target: e }) {
|
|
706
706
|
const t = e === "compact" ? 5 : e === "medium" ? 9 : 13;
|
|
707
707
|
return /* @__PURE__ */ r(
|
|
708
708
|
"svg",
|
|
@@ -716,13 +716,13 @@ function pt({ target: e }) {
|
|
|
716
716
|
}
|
|
717
717
|
);
|
|
718
718
|
}
|
|
719
|
-
function
|
|
719
|
+
function pt(e) {
|
|
720
720
|
const {
|
|
721
721
|
target: t,
|
|
722
|
-
currentTarget:
|
|
723
|
-
mode:
|
|
724
|
-
isActive:
|
|
725
|
-
isHovered:
|
|
722
|
+
currentTarget: a,
|
|
723
|
+
mode: n,
|
|
724
|
+
isActive: i,
|
|
725
|
+
isHovered: s,
|
|
726
726
|
onCommit: l,
|
|
727
727
|
onEnter: o,
|
|
728
728
|
onLeave: u,
|
|
@@ -730,24 +730,24 @@ function gt(e) {
|
|
|
730
730
|
buttonWidth: d
|
|
731
731
|
} = e;
|
|
732
732
|
let g = null;
|
|
733
|
-
if (
|
|
734
|
-
const c = typeof t == "number" && typeof
|
|
735
|
-
g = /* @__PURE__ */ r(
|
|
733
|
+
if (n === "directional") {
|
|
734
|
+
const c = typeof t == "number" && typeof a == "number" && t < a ? "left" : "right";
|
|
735
|
+
g = /* @__PURE__ */ r(dt, { direction: c });
|
|
736
736
|
} else
|
|
737
|
-
g = /* @__PURE__ */ r(
|
|
737
|
+
g = /* @__PURE__ */ r(mt, { target: t });
|
|
738
738
|
return /* @__PURE__ */ f(
|
|
739
739
|
"button",
|
|
740
740
|
{
|
|
741
741
|
type: "button",
|
|
742
742
|
className: [
|
|
743
743
|
"gloss-resize-pill__button",
|
|
744
|
-
|
|
745
|
-
|
|
744
|
+
s ? "gloss-resize-pill__button--check-hover" : "",
|
|
745
|
+
i ? "gloss-resize-pill__button--active" : ""
|
|
746
746
|
].filter(Boolean).join(" "),
|
|
747
747
|
"data-target": String(t),
|
|
748
|
-
"data-mode":
|
|
749
|
-
"data-active":
|
|
750
|
-
"data-button-hover-state":
|
|
748
|
+
"data-mode": n,
|
|
749
|
+
"data-active": i ? "true" : "false",
|
|
750
|
+
"data-button-hover-state": s ? "check" : "chevron",
|
|
751
751
|
style: { width: d, height: m },
|
|
752
752
|
onClick: () => l(t),
|
|
753
753
|
onPointerEnter: () => o?.(t),
|
|
@@ -755,113 +755,114 @@ function gt(e) {
|
|
|
755
755
|
"aria-label": `Resize to ${String(t)}`,
|
|
756
756
|
children: [
|
|
757
757
|
/* @__PURE__ */ r("span", { className: "gloss-resize-pill__glyph", children: g }),
|
|
758
|
-
/* @__PURE__ */ r("span", { className: "gloss-resize-pill__check", children: /* @__PURE__ */ r(
|
|
758
|
+
/* @__PURE__ */ r("span", { className: "gloss-resize-pill__check", children: /* @__PURE__ */ r(ut, {}) })
|
|
759
759
|
]
|
|
760
760
|
}
|
|
761
761
|
);
|
|
762
762
|
}
|
|
763
|
-
const
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
animate: { opacity: 1 },
|
|
792
|
-
exit: { opacity: 0 },
|
|
793
|
-
transition: { duration: a.pillRevealMs / 1e3 },
|
|
794
|
-
onPointerEnter: t.onPillEnter,
|
|
795
|
-
onPointerLeave: t.onPillLeave,
|
|
796
|
-
children: i.map((c) => /* @__PURE__ */ r(
|
|
797
|
-
gt,
|
|
798
|
-
{
|
|
799
|
-
target: c,
|
|
800
|
-
currentTarget: t.currentTarget,
|
|
801
|
-
mode: t.mode,
|
|
802
|
-
isActive: c === t.currentTarget,
|
|
803
|
-
isHovered: (
|
|
804
|
-
// Hover-state mapping for chevron→✓ morph CSS.
|
|
805
|
-
t.buttonHover !== null && (typeof c == "number" && typeof t.currentTarget == "number" && (t.buttonHover === "grow" && c > t.currentTarget || t.buttonHover === "shrink" && c < t.currentTarget) || t.buttonHover === c)
|
|
806
|
-
),
|
|
807
|
-
onCommit: t.onCommit,
|
|
808
|
-
onEnter: t.onButtonEnter,
|
|
809
|
-
onLeave: t.onButtonLeave,
|
|
810
|
-
buttonHeight: a.pillButtonHeight,
|
|
811
|
-
buttonWidth: a.pillButtonWidth
|
|
812
|
-
},
|
|
813
|
-
String(c)
|
|
814
|
-
))
|
|
815
|
-
},
|
|
816
|
-
"pill"
|
|
817
|
-
),
|
|
818
|
-
s && o && t.previewTarget != null && /* @__PURE__ */ r(
|
|
819
|
-
xe,
|
|
820
|
-
{
|
|
821
|
-
visible: !0,
|
|
822
|
-
currentTarget: t.currentTarget,
|
|
823
|
-
previewTarget: t.previewTarget,
|
|
824
|
-
hostWidth: t.hostWidth,
|
|
825
|
-
targetWidth: u,
|
|
826
|
-
ghostClearancePx: a.ghostClearancePx,
|
|
827
|
-
orientation: l
|
|
828
|
-
},
|
|
829
|
-
"ghost"
|
|
830
|
-
),
|
|
831
|
-
s && o && /* @__PURE__ */ r(
|
|
832
|
-
Te,
|
|
833
|
-
{
|
|
834
|
-
visible: !0,
|
|
835
|
-
direction: g,
|
|
836
|
-
pillClearancePx: a.pillClearancePx,
|
|
837
|
-
ghostClearancePx: a.ghostClearancePx,
|
|
838
|
-
startX: m,
|
|
839
|
-
endX: d,
|
|
840
|
-
pulseMs: a.chainPulseMs,
|
|
841
|
-
staggerMs: a.chainStaggerMs
|
|
842
|
-
},
|
|
843
|
-
"chain"
|
|
844
|
-
),
|
|
845
|
-
s && o && t.showSizeTooltip && t.previewTarget != null && /* @__PURE__ */ r(
|
|
846
|
-
Re,
|
|
847
|
-
{
|
|
848
|
-
visible: !0,
|
|
849
|
-
currentTarget: t.currentTarget,
|
|
850
|
-
previewTarget: t.previewTarget,
|
|
851
|
-
mode: t.mode,
|
|
852
|
-
showSizeTooltip: !0
|
|
763
|
+
const gt = ({
|
|
764
|
+
ref: e,
|
|
765
|
+
...t
|
|
766
|
+
}) => {
|
|
767
|
+
const a = {
|
|
768
|
+
...De,
|
|
769
|
+
...t.physics
|
|
770
|
+
}, n = t.pillVisible && !t.forceIdle && t.resizePillEnabled !== !1, i = t.availableTargets, s = t.orientation ?? "vertical", l = t.buttonHover !== null && t.previewTarget !== void 0 && t.previewTarget !== null && t.previewTarget !== t.currentTarget && !t.forceIdle && t.resizePillEnabled !== !1, o = l && t.previewTarget != null ? t.resolveTargetWidth(t.previewTarget) : t.hostWidth, u = t.chainStartX ?? 0, m = t.chainEndX ?? t.hostWidth, d = t.chainDirection ?? "grow";
|
|
771
|
+
return /* @__PURE__ */ f(Ve, { children: [
|
|
772
|
+
n && /* @__PURE__ */ r(
|
|
773
|
+
z.div,
|
|
774
|
+
{
|
|
775
|
+
ref: e,
|
|
776
|
+
"data-resize-pill-state": t.phase,
|
|
777
|
+
"data-orientation": s,
|
|
778
|
+
"data-mode": t.mode,
|
|
779
|
+
className: [
|
|
780
|
+
"gloss-resize-pill",
|
|
781
|
+
s === "horizontal" ? "gloss-resize-pill--horizontal" : "",
|
|
782
|
+
"gloss-resize-pill--visible"
|
|
783
|
+
].filter(Boolean).join(" "),
|
|
784
|
+
style: {
|
|
785
|
+
// D-04 — absolute positioning from host-supplied coords.
|
|
786
|
+
// CRITICAL: NO `transition` on `left` (handoff stop condition —
|
|
787
|
+
// pill must SNAP to new pillSpan position when re-summoned).
|
|
788
|
+
position: "absolute",
|
|
789
|
+
left: t.anchorLeftPx,
|
|
790
|
+
top: t.anchorTopPx
|
|
853
791
|
},
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
792
|
+
initial: { opacity: 0 },
|
|
793
|
+
animate: { opacity: 1 },
|
|
794
|
+
exit: { opacity: 0 },
|
|
795
|
+
transition: { duration: a.pillRevealMs / 1e3 },
|
|
796
|
+
onPointerEnter: t.onPillEnter,
|
|
797
|
+
onPointerLeave: t.onPillLeave,
|
|
798
|
+
children: i.map((g) => /* @__PURE__ */ r(
|
|
799
|
+
pt,
|
|
800
|
+
{
|
|
801
|
+
target: g,
|
|
802
|
+
currentTarget: t.currentTarget,
|
|
803
|
+
mode: t.mode,
|
|
804
|
+
isActive: g === t.currentTarget,
|
|
805
|
+
isHovered: (
|
|
806
|
+
// Hover-state mapping for chevron→✓ morph CSS.
|
|
807
|
+
t.buttonHover !== null && (typeof g == "number" && typeof t.currentTarget == "number" && (t.buttonHover === "grow" && g > t.currentTarget || t.buttonHover === "shrink" && g < t.currentTarget) || t.buttonHover === g)
|
|
808
|
+
),
|
|
809
|
+
onCommit: t.onCommit,
|
|
810
|
+
onEnter: t.onButtonEnter,
|
|
811
|
+
onLeave: t.onButtonLeave,
|
|
812
|
+
buttonHeight: a.pillButtonHeight,
|
|
813
|
+
buttonWidth: a.pillButtonWidth
|
|
814
|
+
},
|
|
815
|
+
String(g)
|
|
816
|
+
))
|
|
817
|
+
},
|
|
818
|
+
"pill"
|
|
819
|
+
),
|
|
820
|
+
n && l && t.previewTarget != null && /* @__PURE__ */ r(
|
|
821
|
+
xe,
|
|
822
|
+
{
|
|
823
|
+
visible: !0,
|
|
824
|
+
currentTarget: t.currentTarget,
|
|
825
|
+
previewTarget: t.previewTarget,
|
|
826
|
+
hostWidth: t.hostWidth,
|
|
827
|
+
targetWidth: o,
|
|
828
|
+
ghostClearancePx: a.ghostClearancePx,
|
|
829
|
+
orientation: s
|
|
830
|
+
},
|
|
831
|
+
"ghost"
|
|
832
|
+
),
|
|
833
|
+
n && l && /* @__PURE__ */ r(
|
|
834
|
+
Te,
|
|
835
|
+
{
|
|
836
|
+
visible: !0,
|
|
837
|
+
direction: d,
|
|
838
|
+
pillClearancePx: a.pillClearancePx,
|
|
839
|
+
ghostClearancePx: a.ghostClearancePx,
|
|
840
|
+
startX: u,
|
|
841
|
+
endX: m,
|
|
842
|
+
pulseMs: a.chainPulseMs,
|
|
843
|
+
staggerMs: a.chainStaggerMs
|
|
844
|
+
},
|
|
845
|
+
"chain"
|
|
846
|
+
),
|
|
847
|
+
n && l && t.showSizeTooltip && t.previewTarget != null && /* @__PURE__ */ r(
|
|
848
|
+
Re,
|
|
849
|
+
{
|
|
850
|
+
visible: !0,
|
|
851
|
+
currentTarget: t.currentTarget,
|
|
852
|
+
previewTarget: t.previewTarget,
|
|
853
|
+
mode: t.mode,
|
|
854
|
+
showSizeTooltip: !0
|
|
855
|
+
},
|
|
856
|
+
"tooltip"
|
|
857
|
+
)
|
|
858
|
+
] });
|
|
859
|
+
};
|
|
860
|
+
gt.displayName = "ResizePill";
|
|
861
|
+
function er(e) {
|
|
861
862
|
const t = {
|
|
862
863
|
...De,
|
|
863
864
|
...e.physics
|
|
864
|
-
}, [
|
|
865
|
+
}, [a, n] = A("idle"), [i, s] = A(e.currentTarget), [l, o] = A(null), u = M(!1), m = M(null), d = M(null), g = M(e.currentTarget);
|
|
865
866
|
g.current = e.currentTarget;
|
|
866
867
|
const c = M(e.onCommit);
|
|
867
868
|
c.current = e.onCommit;
|
|
@@ -869,21 +870,21 @@ function tr(e) {
|
|
|
869
870
|
p.current = e.forceIdle;
|
|
870
871
|
const b = M(e.onPhaseChange);
|
|
871
872
|
b.current = e.onPhaseChange, E(() => {
|
|
872
|
-
b.current?.(
|
|
873
|
-
}, [
|
|
874
|
-
e.forceIdle && (d.current && (clearTimeout(d.current), d.current = null),
|
|
873
|
+
b.current?.(a);
|
|
874
|
+
}, [a]), E(() => {
|
|
875
|
+
e.forceIdle && (d.current && (clearTimeout(d.current), d.current = null), n("idle"), o(null));
|
|
875
876
|
}, [e.forceIdle]), E(() => () => {
|
|
876
877
|
m.current && clearTimeout(m.current), d.current && clearTimeout(d.current);
|
|
877
878
|
}, []);
|
|
878
879
|
const k = C(() => {
|
|
879
|
-
u.current || p.current || (
|
|
880
|
+
u.current || p.current || (s(g.current), n("pill-visible"));
|
|
880
881
|
}, []), w = C(() => {
|
|
881
|
-
|
|
882
|
+
n("idle"), o(null);
|
|
882
883
|
}, []), y = C(
|
|
883
884
|
(D) => {
|
|
884
885
|
u.current = !0, m.current && clearTimeout(m.current), m.current = setTimeout(() => {
|
|
885
886
|
u.current = !1, m.current = null;
|
|
886
|
-
}, t.fadeGraceMs), o(null),
|
|
887
|
+
}, t.fadeGraceMs), o(null), n("fading"), c.current(D);
|
|
887
888
|
},
|
|
888
889
|
[t.fadeGraceMs]
|
|
889
890
|
), T = C(() => {
|
|
@@ -900,10 +901,10 @@ function tr(e) {
|
|
|
900
901
|
}, t.hoverHideGraceMs);
|
|
901
902
|
}, [w, t.hoverHideGraceMs]), h = C((D) => {
|
|
902
903
|
const F = g.current;
|
|
903
|
-
let
|
|
904
|
-
D === "compact" || D === "medium" || D === "full" ?
|
|
904
|
+
let B;
|
|
905
|
+
D === "compact" || D === "medium" || D === "full" ? B = D : typeof F == "number" && typeof D == "number" ? B = D > F ? "grow" : "shrink" : B = "grow", o(B), n("pre-commit");
|
|
905
906
|
}, []), v = C(() => {
|
|
906
|
-
o(null),
|
|
907
|
+
o(null), n((D) => D === "pre-commit" ? "pill-visible" : D);
|
|
907
908
|
}, []), N = C(
|
|
908
909
|
(D) => {
|
|
909
910
|
y(D);
|
|
@@ -912,9 +913,9 @@ function tr(e) {
|
|
|
912
913
|
);
|
|
913
914
|
let x = null;
|
|
914
915
|
return l !== null && (l === "compact" || l === "medium" || l === "full" ? (x = l, x === e.currentTarget && (x = null)) : l === "grow" && typeof e.currentTarget == "number" ? x = e.currentTarget + 1 : l === "shrink" && typeof e.currentTarget == "number" && (x = e.currentTarget - 1)), {
|
|
915
|
-
phase:
|
|
916
|
-
pillVisible:
|
|
917
|
-
pillSpan:
|
|
916
|
+
phase: a,
|
|
917
|
+
pillVisible: a === "pill-visible" || a === "pre-commit",
|
|
918
|
+
pillSpan: i,
|
|
918
919
|
buttonHover: l,
|
|
919
920
|
previewTarget: x,
|
|
920
921
|
handlers: {
|
|
@@ -929,14 +930,14 @@ function tr(e) {
|
|
|
929
930
|
commit: y
|
|
930
931
|
};
|
|
931
932
|
}
|
|
932
|
-
function
|
|
933
|
-
const { cardWidthPx: t, slotCount:
|
|
934
|
-
if (
|
|
933
|
+
function tr(e) {
|
|
934
|
+
const { cardWidthPx: t, slotCount: a, activeSlotIdx: n, pillWidthPx: i } = e;
|
|
935
|
+
if (n == null || !Number.isFinite(t) || t <= 0 || !Number.isFinite(a) || a <= 0 || !Number.isInteger(n) || n < 0 || n >= a)
|
|
935
936
|
return;
|
|
936
|
-
const
|
|
937
|
-
return
|
|
937
|
+
const s = (n + 0.5) * (t / a);
|
|
938
|
+
return i != null && Number.isFinite(i) && i > 0 ? s - i / 2 : s;
|
|
938
939
|
}
|
|
939
|
-
const
|
|
940
|
+
const ar = [
|
|
940
941
|
// 1. Standard: Total Revenue
|
|
941
942
|
{
|
|
942
943
|
variant: "standard",
|
|
@@ -1068,24 +1069,24 @@ const rr = [
|
|
|
1068
1069
|
subtitle: "Awaiting QA",
|
|
1069
1070
|
highlightColor: "neutral"
|
|
1070
1071
|
}
|
|
1071
|
-
],
|
|
1072
|
+
], ht = {
|
|
1072
1073
|
variant: "standard",
|
|
1073
1074
|
label: "Total Revenue",
|
|
1074
1075
|
isLoading: !0
|
|
1075
|
-
},
|
|
1076
|
+
}, ft = {
|
|
1076
1077
|
variant: "standard",
|
|
1077
1078
|
label: "Total Revenue",
|
|
1078
1079
|
value: 125430,
|
|
1079
1080
|
valueFormat: { prefix: "$", abbreviated: !0 },
|
|
1080
1081
|
isError: !0
|
|
1081
|
-
},
|
|
1082
|
+
}, bt = {
|
|
1082
1083
|
variant: "standard",
|
|
1083
1084
|
label: "Total Revenue",
|
|
1084
1085
|
value: null,
|
|
1085
1086
|
valueFormat: { prefix: "$", abbreviated: !0 },
|
|
1086
1087
|
isEmpty: !0,
|
|
1087
1088
|
subtitle: "No data"
|
|
1088
|
-
},
|
|
1089
|
+
}, vt = {
|
|
1089
1090
|
variant: "standard",
|
|
1090
1091
|
label: "Total Revenue",
|
|
1091
1092
|
value: 125430,
|
|
@@ -1093,7 +1094,7 @@ const rr = [
|
|
|
1093
1094
|
trend: { value: 12.5, direction: "up" },
|
|
1094
1095
|
subtitle: "MTD",
|
|
1095
1096
|
isStale: !0
|
|
1096
|
-
},
|
|
1097
|
+
}, yt = {
|
|
1097
1098
|
variant: "sparkline",
|
|
1098
1099
|
label: "Daily Orders",
|
|
1099
1100
|
value: 847,
|
|
@@ -1102,7 +1103,7 @@ const rr = [
|
|
|
1102
1103
|
sparklineData: [42, 38, 51, 47, 55, 60, 58, 63, 57, 62, 68, 71, 65, 59],
|
|
1103
1104
|
accentColor: "#6366f1",
|
|
1104
1105
|
isStale: !0
|
|
1105
|
-
},
|
|
1106
|
+
}, wt = {
|
|
1106
1107
|
variant: "donut",
|
|
1107
1108
|
label: "Order Fill Rate",
|
|
1108
1109
|
value: 78,
|
|
@@ -1113,14 +1114,14 @@ const rr = [
|
|
|
1113
1114
|
donutMax: 100,
|
|
1114
1115
|
accentColor: "#10b981",
|
|
1115
1116
|
isStale: !0
|
|
1116
|
-
},
|
|
1117
|
+
}, rr = [
|
|
1118
|
+
ht,
|
|
1117
1119
|
ft,
|
|
1118
1120
|
bt,
|
|
1119
1121
|
vt,
|
|
1120
1122
|
yt,
|
|
1121
|
-
wt
|
|
1122
|
-
|
|
1123
|
-
], sr = {
|
|
1123
|
+
wt
|
|
1124
|
+
], nr = {
|
|
1124
1125
|
variant: "sparkline",
|
|
1125
1126
|
label: "Daily Orders",
|
|
1126
1127
|
value: 847,
|
|
@@ -1143,7 +1144,7 @@ const rr = [
|
|
|
1143
1144
|
59
|
|
1144
1145
|
],
|
|
1145
1146
|
accentColor: "#6366f1"
|
|
1146
|
-
},
|
|
1147
|
+
}, sr = {
|
|
1147
1148
|
variant: "sparkline",
|
|
1148
1149
|
label: "New Customers",
|
|
1149
1150
|
value: 23,
|
|
@@ -1182,21 +1183,21 @@ const rr = [
|
|
|
1182
1183
|
19
|
|
1183
1184
|
],
|
|
1184
1185
|
accentColor: "#10b981"
|
|
1185
|
-
},
|
|
1186
|
+
}, ir = {
|
|
1186
1187
|
variant: "standard",
|
|
1187
1188
|
label: "Total Revenue",
|
|
1188
1189
|
value: 125430,
|
|
1189
1190
|
valueFormat: { prefix: "$", abbreviated: !0 },
|
|
1190
1191
|
trend: { value: 12.5, direction: "up" },
|
|
1191
1192
|
subtitle: "MTD"
|
|
1192
|
-
},
|
|
1193
|
+
}, lr = {
|
|
1193
1194
|
variant: "standard",
|
|
1194
1195
|
label: "Returns",
|
|
1195
1196
|
value: 3280,
|
|
1196
1197
|
valueFormat: { prefix: "$", abbreviated: !0 },
|
|
1197
1198
|
trend: { value: -8.3, direction: "down" },
|
|
1198
1199
|
subtitle: "MTD"
|
|
1199
|
-
},
|
|
1200
|
+
}, or = {
|
|
1200
1201
|
variant: "standard",
|
|
1201
1202
|
label: "Avg Order Value",
|
|
1202
1203
|
value: 487,
|
|
@@ -1207,18 +1208,18 @@ const rr = [
|
|
|
1207
1208
|
function Me({
|
|
1208
1209
|
open: e,
|
|
1209
1210
|
onDismiss: t,
|
|
1210
|
-
anchorRef:
|
|
1211
|
-
pages:
|
|
1212
|
-
activePageId:
|
|
1213
|
-
onPageChange:
|
|
1211
|
+
anchorRef: a,
|
|
1212
|
+
pages: n,
|
|
1213
|
+
activePageId: i,
|
|
1214
|
+
onPageChange: s,
|
|
1214
1215
|
onCreatePage: l,
|
|
1215
1216
|
onManagePages: o
|
|
1216
1217
|
}) {
|
|
1217
1218
|
const u = C(
|
|
1218
1219
|
(c) => {
|
|
1219
|
-
|
|
1220
|
+
s(c), t();
|
|
1220
1221
|
},
|
|
1221
|
-
[
|
|
1222
|
+
[s, t]
|
|
1222
1223
|
), m = C(
|
|
1223
1224
|
(c, p) => {
|
|
1224
1225
|
(p.key === "Enter" || p.key === " ") && (p.preventDefault(), u(c));
|
|
@@ -1230,7 +1231,7 @@ function Me({
|
|
|
1230
1231
|
o(), t();
|
|
1231
1232
|
}, [o, t]);
|
|
1232
1233
|
return /* @__PURE__ */ f(
|
|
1233
|
-
|
|
1234
|
+
Ue,
|
|
1234
1235
|
{
|
|
1235
1236
|
definition: {
|
|
1236
1237
|
placement: "bottom-end",
|
|
@@ -1240,11 +1241,11 @@ function Me({
|
|
|
1240
1241
|
},
|
|
1241
1242
|
open: e,
|
|
1242
1243
|
onDismiss: t,
|
|
1243
|
-
anchorRef:
|
|
1244
|
+
anchorRef: a,
|
|
1244
1245
|
className: "gloss-page-dropdown",
|
|
1245
1246
|
children: [
|
|
1246
|
-
/* @__PURE__ */ r("ul", { role: "menu", className: "gloss-page-dropdown__list", children:
|
|
1247
|
-
const p = c.id ===
|
|
1247
|
+
/* @__PURE__ */ r("ul", { role: "menu", className: "gloss-page-dropdown__list", children: n.map((c) => {
|
|
1248
|
+
const p = c.id === i;
|
|
1248
1249
|
return /* @__PURE__ */ f(
|
|
1249
1250
|
"li",
|
|
1250
1251
|
{
|
|
@@ -1301,12 +1302,12 @@ function Me({
|
|
|
1301
1302
|
);
|
|
1302
1303
|
}
|
|
1303
1304
|
Me.displayName = "PageDropdown";
|
|
1304
|
-
const
|
|
1305
|
+
const _t = function({
|
|
1305
1306
|
currentIndex: t,
|
|
1306
|
-
total:
|
|
1307
|
-
pages:
|
|
1308
|
-
onPageChange:
|
|
1309
|
-
onCreatePage:
|
|
1307
|
+
total: a,
|
|
1308
|
+
pages: n,
|
|
1309
|
+
onPageChange: i,
|
|
1310
|
+
onCreatePage: s,
|
|
1310
1311
|
onManagePages: l,
|
|
1311
1312
|
maskRadius: o = "var(--gloss-radius-md)",
|
|
1312
1313
|
displayMode: u = "count",
|
|
@@ -1316,7 +1317,7 @@ const Ct = function({
|
|
|
1316
1317
|
c((y) => !y);
|
|
1317
1318
|
}, []), b = C(() => {
|
|
1318
1319
|
c(!1);
|
|
1319
|
-
}, []), k =
|
|
1320
|
+
}, []), k = n[t]?.id ?? "";
|
|
1320
1321
|
return /* @__PURE__ */ f(
|
|
1321
1322
|
"div",
|
|
1322
1323
|
{
|
|
@@ -1338,15 +1339,15 @@ const Ct = function({
|
|
|
1338
1339
|
className: `gloss-page-chip__trigger${u === "name" ? " gloss-page-chip__trigger--name" : ""}`,
|
|
1339
1340
|
"aria-haspopup": "menu",
|
|
1340
1341
|
"aria-expanded": g,
|
|
1341
|
-
"aria-label": u === "name" ? `${m ?? "Page"}. Click to switch pages.` : `Page ${t + 1} of ${
|
|
1342
|
+
"aria-label": u === "name" ? `${m ?? "Page"}. Click to switch pages.` : `Page ${t + 1} of ${a}. Click to switch pages.`,
|
|
1342
1343
|
onClick: p,
|
|
1343
|
-
children: u === "name" ? /* @__PURE__ */ f(
|
|
1344
|
+
children: u === "name" ? /* @__PURE__ */ f(I, { children: [
|
|
1344
1345
|
/* @__PURE__ */ r("span", { className: "gloss-page-chip__trigger-name", children: m ?? "" }),
|
|
1345
1346
|
/* @__PURE__ */ r("span", { className: "gloss-page-chip__trigger-chevron", "aria-hidden": "true", children: "▾" })
|
|
1346
|
-
] }) : /* @__PURE__ */ f(
|
|
1347
|
+
] }) : /* @__PURE__ */ f(I, { children: [
|
|
1347
1348
|
t + 1,
|
|
1348
1349
|
" / ",
|
|
1349
|
-
|
|
1350
|
+
a
|
|
1350
1351
|
] })
|
|
1351
1352
|
}
|
|
1352
1353
|
),
|
|
@@ -1356,10 +1357,10 @@ const Ct = function({
|
|
|
1356
1357
|
open: g,
|
|
1357
1358
|
onDismiss: b,
|
|
1358
1359
|
anchorRef: d,
|
|
1359
|
-
pages:
|
|
1360
|
+
pages: n,
|
|
1360
1361
|
activePageId: k,
|
|
1361
|
-
onPageChange:
|
|
1362
|
-
onCreatePage:
|
|
1362
|
+
onPageChange: i,
|
|
1363
|
+
onCreatePage: s,
|
|
1363
1364
|
onManagePages: l
|
|
1364
1365
|
}
|
|
1365
1366
|
)
|
|
@@ -1367,8 +1368,8 @@ const Ct = function({
|
|
|
1367
1368
|
}
|
|
1368
1369
|
);
|
|
1369
1370
|
};
|
|
1370
|
-
|
|
1371
|
-
const
|
|
1371
|
+
_t.displayName = "PageChip";
|
|
1372
|
+
const cr = [
|
|
1372
1373
|
{
|
|
1373
1374
|
id: "ORD-1001",
|
|
1374
1375
|
orderNumber: "ORD-1001",
|
|
@@ -1501,7 +1502,7 @@ const dr = [
|
|
|
1501
1502
|
date: "2026-03-01",
|
|
1502
1503
|
skuCount: 9
|
|
1503
1504
|
}
|
|
1504
|
-
],
|
|
1505
|
+
], dr = [
|
|
1505
1506
|
{
|
|
1506
1507
|
id: "ITEM-001",
|
|
1507
1508
|
sku: "PB-4520",
|
|
@@ -1644,7 +1645,7 @@ function Pe(e) {
|
|
|
1644
1645
|
function Ae(e) {
|
|
1645
1646
|
return new Date(e).toLocaleDateString("en-US", { month: "short", day: "numeric", year: "numeric" });
|
|
1646
1647
|
}
|
|
1647
|
-
const q =
|
|
1648
|
+
const q = V.createElement("span", { style: { color: "var(--color-text-muted)" } }, "—"), ur = [
|
|
1648
1649
|
{
|
|
1649
1650
|
field: "id",
|
|
1650
1651
|
headerName: "Order",
|
|
@@ -1696,7 +1697,7 @@ const q = I.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1696
1697
|
cellClassName: "gloss-tabular-nums",
|
|
1697
1698
|
renderCell: ({ row: e }) => e.date ? Ae(e.date) : ""
|
|
1698
1699
|
}
|
|
1699
|
-
],
|
|
1700
|
+
], mr = [
|
|
1700
1701
|
{
|
|
1701
1702
|
field: "sku",
|
|
1702
1703
|
headerName: "Item ID",
|
|
@@ -1760,20 +1761,20 @@ const q = I.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1760
1761
|
cellClassName: "gloss-tabular-nums",
|
|
1761
1762
|
renderCell: ({ row: e }) => e.lastDate ? Ae(e.lastDate) : ""
|
|
1762
1763
|
}
|
|
1763
|
-
],
|
|
1764
|
+
], Ct = [
|
|
1764
1765
|
{ id: "c-001", label: "ABC Home Goods" },
|
|
1765
1766
|
{ id: "c-002", label: "Riverside Retail" },
|
|
1766
1767
|
{ id: "c-003", label: "Mountain View Store" },
|
|
1767
1768
|
{ id: "c-004", label: "Downtown Decor" },
|
|
1768
1769
|
{ id: "c-005", label: "Pacific Coast Imports" }
|
|
1769
|
-
],
|
|
1770
|
+
], Nt = [
|
|
1770
1771
|
{ id: "i-001", label: "Classic Linen Throw Pillow" },
|
|
1771
1772
|
{ id: "i-002", label: "Coastal Wave Candle Set" },
|
|
1772
1773
|
{ id: "i-003", label: "Walnut Console Table" },
|
|
1773
1774
|
{ id: "i-004", label: "Hand-Blown Glass Vase" },
|
|
1774
1775
|
{ id: "i-005", label: "Velvet Accent Cushion" }
|
|
1775
1776
|
], te = (e) => {
|
|
1776
|
-
},
|
|
1777
|
+
}, kt = (e) => {
|
|
1777
1778
|
}, he = (e, t) => {
|
|
1778
1779
|
}, Ee = {
|
|
1779
1780
|
vizState: {
|
|
@@ -1784,15 +1785,15 @@ const q = I.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1784
1785
|
timeFrame: "MTD"
|
|
1785
1786
|
},
|
|
1786
1787
|
onTypeChange: te,
|
|
1787
|
-
onQuantChange:
|
|
1788
|
+
onQuantChange: kt,
|
|
1788
1789
|
onEntityTypeChange: te,
|
|
1789
1790
|
onEntitySelect: he,
|
|
1790
1791
|
onItemSelect: he,
|
|
1791
1792
|
onTimeFrameChange: te,
|
|
1792
1793
|
userType: "sales-agency",
|
|
1793
|
-
entityFilterOptions:
|
|
1794
|
-
itemFilterOptions:
|
|
1795
|
-
},
|
|
1794
|
+
entityFilterOptions: Ct,
|
|
1795
|
+
itemFilterOptions: Nt
|
|
1796
|
+
}, pr = {
|
|
1796
1797
|
...Ee,
|
|
1797
1798
|
vizState: {
|
|
1798
1799
|
type: "items",
|
|
@@ -1801,7 +1802,7 @@ const q = I.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1801
1802
|
byItem: { id: "i-003", name: "Walnut Console Table" },
|
|
1802
1803
|
timeFrame: "YTD"
|
|
1803
1804
|
}
|
|
1804
|
-
},
|
|
1805
|
+
}, gr = {
|
|
1805
1806
|
...Ee,
|
|
1806
1807
|
vizState: {
|
|
1807
1808
|
type: "orders",
|
|
@@ -1814,7 +1815,7 @@ const q = I.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1814
1815
|
entityFilterOptions: [
|
|
1815
1816
|
{ id: "customers", label: "Customers" }
|
|
1816
1817
|
]
|
|
1817
|
-
},
|
|
1818
|
+
}, St = [
|
|
1818
1819
|
{
|
|
1819
1820
|
id: "recent-orders",
|
|
1820
1821
|
label: "Recent Orders",
|
|
@@ -1860,7 +1861,7 @@ const q = I.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1860
1861
|
routeKey: "customer.profile",
|
|
1861
1862
|
subtitle: "Opens in RepTime"
|
|
1862
1863
|
}
|
|
1863
|
-
],
|
|
1864
|
+
], Dt = [
|
|
1864
1865
|
{
|
|
1865
1866
|
id: "order-items",
|
|
1866
1867
|
label: "Items in Order",
|
|
@@ -1889,7 +1890,7 @@ const q = I.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1889
1890
|
cellKinds: ["orderId"],
|
|
1890
1891
|
graphType: "timeline"
|
|
1891
1892
|
}
|
|
1892
|
-
],
|
|
1893
|
+
], xt = [
|
|
1893
1894
|
{
|
|
1894
1895
|
id: "graph-metric",
|
|
1895
1896
|
label: "Graph This Metric",
|
|
@@ -1917,14 +1918,14 @@ const q = I.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1917
1918
|
cellKinds: ["numeric"],
|
|
1918
1919
|
tabType: "orders"
|
|
1919
1920
|
}
|
|
1920
|
-
],
|
|
1921
|
-
entityName:
|
|
1922
|
-
orderId:
|
|
1923
|
-
numeric:
|
|
1924
|
-
},
|
|
1921
|
+
], hr = {
|
|
1922
|
+
entityName: St,
|
|
1923
|
+
orderId: Dt,
|
|
1924
|
+
numeric: xt
|
|
1925
|
+
}, fr = [
|
|
1925
1926
|
new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), (/* @__PURE__ */ new Date()).getDate() - 29),
|
|
1926
1927
|
/* @__PURE__ */ new Date()
|
|
1927
|
-
],
|
|
1928
|
+
], br = {
|
|
1928
1929
|
rangeA: [
|
|
1929
1930
|
new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), 1),
|
|
1930
1931
|
/* @__PURE__ */ new Date()
|
|
@@ -1937,7 +1938,7 @@ const q = I.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1937
1938
|
new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth() - 2, 1),
|
|
1938
1939
|
new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth() - 1, 0)
|
|
1939
1940
|
]
|
|
1940
|
-
},
|
|
1941
|
+
}, vr = {
|
|
1941
1942
|
version: 4,
|
|
1942
1943
|
lastPreset: "mtd",
|
|
1943
1944
|
pinnedPreset: "mtd",
|
|
@@ -1945,7 +1946,7 @@ const q = I.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1945
1946
|
rangeCount: 1,
|
|
1946
1947
|
lastPresetB: null,
|
|
1947
1948
|
lastPresetC: null
|
|
1948
|
-
},
|
|
1949
|
+
}, yr = [
|
|
1949
1950
|
{
|
|
1950
1951
|
id: "atlanta-jan",
|
|
1951
1952
|
label: "Atlanta Market",
|
|
@@ -1967,7 +1968,7 @@ const q = I.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1967
1968
|
endDate: new Date(2026, 3, 22),
|
|
1968
1969
|
location: "Chicago, IL"
|
|
1969
1970
|
}
|
|
1970
|
-
],
|
|
1971
|
+
], wr = [
|
|
1971
1972
|
{
|
|
1972
1973
|
id: "custom-regional-1",
|
|
1973
1974
|
label: "Southeast Regional Expo",
|
|
@@ -1984,7 +1985,7 @@ const q = I.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1984
1985
|
location: "Portland, OR",
|
|
1985
1986
|
isCustom: !0
|
|
1986
1987
|
}
|
|
1987
|
-
],
|
|
1988
|
+
], _r = [
|
|
1988
1989
|
{
|
|
1989
1990
|
id: "atlanta-jan",
|
|
1990
1991
|
label: "Atlanta Market",
|
|
@@ -2001,54 +2002,54 @@ const q = I.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
2001
2002
|
location: "New York, NY",
|
|
2002
2003
|
active: !0
|
|
2003
2004
|
}
|
|
2004
|
-
],
|
|
2005
|
+
], Cr = [
|
|
2005
2006
|
{ id: "7d", label: "7D" },
|
|
2006
2007
|
{ id: "30d", label: "30D" },
|
|
2007
2008
|
{ id: "60d", label: "60D" },
|
|
2008
2009
|
{ id: "90d", label: "90D" }
|
|
2009
|
-
],
|
|
2010
|
+
], Nr = [
|
|
2010
2011
|
{ id: "mtd", label: "MTD" },
|
|
2011
2012
|
{ id: "qtd", label: "QTD" },
|
|
2012
2013
|
{ id: "ytd", label: "YTD" },
|
|
2013
2014
|
{ id: "lytd", label: "LYTD" }
|
|
2014
|
-
],
|
|
2015
|
+
], Tt = {
|
|
2015
2016
|
timeframe: "Time Frame",
|
|
2016
2017
|
threshold: "Thresholds",
|
|
2017
2018
|
slots: "Slots",
|
|
2018
2019
|
size: "Size",
|
|
2019
2020
|
color: "Color",
|
|
2020
2021
|
pinned: "Pinned"
|
|
2021
|
-
},
|
|
2022
|
-
timeframe:
|
|
2023
|
-
threshold:
|
|
2024
|
-
slots:
|
|
2025
|
-
size:
|
|
2026
|
-
color:
|
|
2027
|
-
pinned:
|
|
2022
|
+
}, Rt = {
|
|
2023
|
+
timeframe: Ye,
|
|
2024
|
+
threshold: qe,
|
|
2025
|
+
slots: Qe,
|
|
2026
|
+
size: Je,
|
|
2027
|
+
color: Xe,
|
|
2028
|
+
pinned: Ze
|
|
2028
2029
|
};
|
|
2029
2030
|
function fe(...e) {
|
|
2030
2031
|
return e.filter(Boolean).join(" ");
|
|
2031
2032
|
}
|
|
2032
|
-
function
|
|
2033
|
+
function Mt() {
|
|
2033
2034
|
const [e, t] = A(() => typeof window > "u" || typeof window.matchMedia != "function" ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches);
|
|
2034
2035
|
return E(() => {
|
|
2035
2036
|
if (typeof window > "u" || typeof window.matchMedia != "function") return;
|
|
2036
|
-
const
|
|
2037
|
-
return typeof
|
|
2038
|
-
|
|
2037
|
+
const a = window.matchMedia("(prefers-reduced-motion: reduce)"), n = (i) => t(i.matches);
|
|
2038
|
+
return typeof a.addEventListener == "function" ? (a.addEventListener("change", n), () => a.removeEventListener("change", n)) : (a.addListener?.(n), () => {
|
|
2039
|
+
a.removeListener?.(n);
|
|
2039
2040
|
});
|
|
2040
2041
|
}, []), e;
|
|
2041
2042
|
}
|
|
2042
|
-
const
|
|
2043
|
+
const Pt = ({
|
|
2043
2044
|
dimensions: e,
|
|
2044
2045
|
onDimensionSelect: t,
|
|
2045
|
-
activeDimension:
|
|
2046
|
-
ariaCardTypeLabel:
|
|
2047
|
-
className:
|
|
2046
|
+
activeDimension: a,
|
|
2047
|
+
ariaCardTypeLabel: n,
|
|
2048
|
+
className: i
|
|
2048
2049
|
}) => {
|
|
2049
|
-
const
|
|
2050
|
+
const s = M(null), l = M([]), o = Mt(), u = ce(() => Array.from(e), [e]);
|
|
2050
2051
|
if (u.length === 0) return null;
|
|
2051
|
-
const m =
|
|
2052
|
+
const m = n ? `Configure ${n}: choose a dimension` : void 0, d = o ? "10ms" : "200ms", g = (c, p) => {
|
|
2052
2053
|
const b = u.length - 1, k = (w) => {
|
|
2053
2054
|
const y = l.current[w];
|
|
2054
2055
|
y && y.focus();
|
|
@@ -2082,10 +2083,10 @@ const At = ({
|
|
|
2082
2083
|
return /* @__PURE__ */ r(
|
|
2083
2084
|
"div",
|
|
2084
2085
|
{
|
|
2085
|
-
ref:
|
|
2086
|
+
ref: s,
|
|
2086
2087
|
role: "group",
|
|
2087
2088
|
"aria-label": m,
|
|
2088
|
-
className: fe("gloss-reconfig-backside-buttons",
|
|
2089
|
+
className: fe("gloss-reconfig-backside-buttons", i),
|
|
2089
2090
|
style: {
|
|
2090
2091
|
// Expose the reduced-motion-resolved duration as a CSS custom prop
|
|
2091
2092
|
// so the SCSS transition rule can consume it without a nested media
|
|
@@ -2093,7 +2094,7 @@ const At = ({
|
|
|
2093
2094
|
"--gloss-reconfig-backside-buttons-transition-duration": d
|
|
2094
2095
|
},
|
|
2095
2096
|
children: u.map((c, p) => {
|
|
2096
|
-
const b =
|
|
2097
|
+
const b = Rt[c], k = a === c;
|
|
2097
2098
|
return /* @__PURE__ */ f(
|
|
2098
2099
|
"button",
|
|
2099
2100
|
{
|
|
@@ -2117,7 +2118,7 @@ const At = ({
|
|
|
2117
2118
|
"aria-hidden": "true"
|
|
2118
2119
|
}
|
|
2119
2120
|
),
|
|
2120
|
-
/* @__PURE__ */ r("span", { className: "gloss-reconfig-backside-buttons__button-label", children:
|
|
2121
|
+
/* @__PURE__ */ r("span", { className: "gloss-reconfig-backside-buttons__button-label", children: Tt[c] })
|
|
2121
2122
|
]
|
|
2122
2123
|
},
|
|
2123
2124
|
c
|
|
@@ -2126,12 +2127,12 @@ const At = ({
|
|
|
2126
2127
|
}
|
|
2127
2128
|
);
|
|
2128
2129
|
};
|
|
2129
|
-
|
|
2130
|
-
function
|
|
2130
|
+
Pt.displayName = "ReconfigBacksideButtons";
|
|
2131
|
+
function L(e, t) {
|
|
2131
2132
|
return {
|
|
2132
2133
|
id: e,
|
|
2133
2134
|
colSpan: 1,
|
|
2134
|
-
content:
|
|
2135
|
+
content: V.createElement("div", {
|
|
2135
2136
|
style: {
|
|
2136
2137
|
width: "100%",
|
|
2137
2138
|
height: "100%",
|
|
@@ -2149,36 +2150,36 @@ function O(e, t) {
|
|
|
2149
2150
|
}
|
|
2150
2151
|
function be(e, t) {
|
|
2151
2152
|
return {
|
|
2152
|
-
...
|
|
2153
|
+
...L(e, t),
|
|
2153
2154
|
colSpan: 2
|
|
2154
2155
|
};
|
|
2155
2156
|
}
|
|
2156
|
-
const
|
|
2157
|
-
|
|
2158
|
-
|
|
2157
|
+
const kr = [
|
|
2158
|
+
L("total-revenue", "Total Revenue"),
|
|
2159
|
+
L("total-orders", "Total Orders"),
|
|
2159
2160
|
be("revenue-trend", "Revenue Trend (2x)"),
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2161
|
+
L("avg-order", "Avg Order Value"),
|
|
2162
|
+
L("new-customers", "New Customers"),
|
|
2163
|
+
L("top-salesperson", "Top Salesperson"),
|
|
2163
2164
|
be("order-trend", "Order Trend (2x)"),
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
],
|
|
2165
|
+
L("repeat-rate", "Repeat Rate"),
|
|
2166
|
+
L("open-orders", "Open Orders"),
|
|
2167
|
+
L("shipped-orders", "Shipped Orders")
|
|
2168
|
+
], Sr = {
|
|
2168
2169
|
columns: 6,
|
|
2169
2170
|
rowHeight: 120,
|
|
2170
2171
|
gap: 15,
|
|
2171
2172
|
maxRows: 3,
|
|
2172
2173
|
currentPage: 0,
|
|
2173
2174
|
totalPages: 1
|
|
2174
|
-
},
|
|
2175
|
+
}, Dr = {
|
|
2175
2176
|
columns: 9,
|
|
2176
2177
|
rowHeight: 120,
|
|
2177
2178
|
gap: 15,
|
|
2178
2179
|
maxRows: 3,
|
|
2179
2180
|
currentPage: 0,
|
|
2180
2181
|
totalPages: 2
|
|
2181
|
-
},
|
|
2182
|
+
}, xr = {
|
|
2182
2183
|
columns: 12,
|
|
2183
2184
|
rowHeight: 120,
|
|
2184
2185
|
gap: 15,
|
|
@@ -2187,9 +2188,9 @@ const Sr = [
|
|
|
2187
2188
|
totalPages: 3
|
|
2188
2189
|
};
|
|
2189
2190
|
function ae(e) {
|
|
2190
|
-
return
|
|
2191
|
+
return V.createElement("span", { style: { fontSize: 14 } }, e);
|
|
2191
2192
|
}
|
|
2192
|
-
const
|
|
2193
|
+
const Tr = [
|
|
2193
2194
|
{
|
|
2194
2195
|
id: "all-orders",
|
|
2195
2196
|
type: "orders",
|
|
@@ -2212,7 +2213,7 @@ const Rr = [
|
|
|
2212
2213
|
icon: ae("🚚"),
|
|
2213
2214
|
closable: !0
|
|
2214
2215
|
}
|
|
2215
|
-
],
|
|
2216
|
+
], Rr = [
|
|
2216
2217
|
{
|
|
2217
2218
|
id: "orders-main",
|
|
2218
2219
|
type: "orders",
|
|
@@ -2238,7 +2239,7 @@ const Rr = [
|
|
|
2238
2239
|
name: "Customers",
|
|
2239
2240
|
closable: !0
|
|
2240
2241
|
}
|
|
2241
|
-
],
|
|
2242
|
+
], Mr = [
|
|
2242
2243
|
{
|
|
2243
2244
|
id: "only-tab",
|
|
2244
2245
|
type: "orders",
|
|
@@ -2246,7 +2247,7 @@ const Rr = [
|
|
|
2246
2247
|
closable: !1,
|
|
2247
2248
|
autoCreated: !0
|
|
2248
2249
|
}
|
|
2249
|
-
],
|
|
2250
|
+
], Pr = [
|
|
2250
2251
|
{ id: "tab-1", type: "orders", name: "All Orders", closable: !1, autoCreated: !0 },
|
|
2251
2252
|
{ id: "tab-2", type: "orders", name: "Open Orders", closable: !0 },
|
|
2252
2253
|
{ id: "tab-3", type: "orders", name: "Shipped Orders", closable: !0 },
|
|
@@ -2269,39 +2270,39 @@ function le(e) {
|
|
|
2269
2270
|
return { cols: 1, rows: 1 };
|
|
2270
2271
|
}
|
|
2271
2272
|
}
|
|
2272
|
-
function
|
|
2273
|
+
function At(e) {
|
|
2273
2274
|
let t = 0;
|
|
2274
|
-
for (const
|
|
2275
|
-
const
|
|
2276
|
-
|
|
2275
|
+
for (const n of e) {
|
|
2276
|
+
const i = le(n.size), s = n.gridPosition.col + i.cols - 1;
|
|
2277
|
+
s > t && (t = s);
|
|
2277
2278
|
}
|
|
2278
2279
|
return `repeat(${t > 0 ? t : Math.max(e.length, 1)}, minmax(0, 1fr))`;
|
|
2279
2280
|
}
|
|
2280
|
-
const
|
|
2281
|
+
const Et = function(t) {
|
|
2281
2282
|
if (t.renderMode === "discrete")
|
|
2282
2283
|
return /* @__PURE__ */ r(
|
|
2283
2284
|
"div",
|
|
2284
2285
|
{
|
|
2285
2286
|
className: "gloss-metric-group gloss-metric-group--discrete",
|
|
2286
2287
|
style: { display: "contents" },
|
|
2287
|
-
children: t.cards.map((
|
|
2288
|
-
const
|
|
2288
|
+
children: t.cards.map((i) => {
|
|
2289
|
+
const s = le(i.size);
|
|
2289
2290
|
return /* @__PURE__ */ r(
|
|
2290
2291
|
"div",
|
|
2291
2292
|
{
|
|
2292
2293
|
className: "gloss-metric-group__slot",
|
|
2293
2294
|
style: {
|
|
2294
|
-
gridColumn: `${
|
|
2295
|
-
gridRow: `${
|
|
2295
|
+
gridColumn: `${i.gridPosition.col} / span ${s.cols}`,
|
|
2296
|
+
gridRow: `${i.gridPosition.row} / span ${s.rows}`
|
|
2296
2297
|
},
|
|
2297
|
-
children:
|
|
2298
|
+
children: i.children
|
|
2298
2299
|
},
|
|
2299
|
-
|
|
2300
|
+
i.key
|
|
2300
2301
|
);
|
|
2301
2302
|
})
|
|
2302
2303
|
}
|
|
2303
2304
|
);
|
|
2304
|
-
const { cards:
|
|
2305
|
+
const { cards: a, composite: n } = t;
|
|
2305
2306
|
return /* @__PURE__ */ f(
|
|
2306
2307
|
"div",
|
|
2307
2308
|
{
|
|
@@ -2317,25 +2318,25 @@ const Ft = function(t) {
|
|
|
2317
2318
|
padding: "10px 12px 8px",
|
|
2318
2319
|
overflow: "visible"
|
|
2319
2320
|
},
|
|
2320
|
-
role:
|
|
2321
|
-
"aria-label":
|
|
2321
|
+
role: n?.label ? "group" : void 0,
|
|
2322
|
+
"aria-label": n?.label,
|
|
2322
2323
|
tabIndex: void 0,
|
|
2323
2324
|
children: [
|
|
2324
|
-
|
|
2325
|
+
n?.accentColor && /* @__PURE__ */ r(
|
|
2325
2326
|
"div",
|
|
2326
2327
|
{
|
|
2327
2328
|
className: "gloss-metric-group__accent",
|
|
2328
|
-
style: { background:
|
|
2329
|
+
style: { background: n.accentColor }
|
|
2329
2330
|
}
|
|
2330
2331
|
),
|
|
2331
|
-
|
|
2332
|
-
/* @__PURE__ */ r("span", { children:
|
|
2333
|
-
|
|
2332
|
+
n?.label && /* @__PURE__ */ f("div", { className: "gloss-metric-group__label", children: [
|
|
2333
|
+
/* @__PURE__ */ r("span", { children: n.label }),
|
|
2334
|
+
n?.trend && /* @__PURE__ */ r(
|
|
2334
2335
|
"span",
|
|
2335
2336
|
{
|
|
2336
2337
|
className: "gloss-metric-group__trend",
|
|
2337
|
-
"data-direction":
|
|
2338
|
-
children:
|
|
2338
|
+
"data-direction": n.trend.direction,
|
|
2339
|
+
children: n.trend.delta
|
|
2339
2340
|
}
|
|
2340
2341
|
)
|
|
2341
2342
|
] }),
|
|
@@ -2346,21 +2347,21 @@ const Ft = function(t) {
|
|
|
2346
2347
|
style: {
|
|
2347
2348
|
display: "grid",
|
|
2348
2349
|
gap: "var(--gloss-spacing-2, 8px)",
|
|
2349
|
-
gridTemplateColumns:
|
|
2350
|
+
gridTemplateColumns: At(a)
|
|
2350
2351
|
},
|
|
2351
|
-
children:
|
|
2352
|
-
const
|
|
2352
|
+
children: a.map((i) => {
|
|
2353
|
+
const s = le(i.size);
|
|
2353
2354
|
return /* @__PURE__ */ r(
|
|
2354
2355
|
"div",
|
|
2355
2356
|
{
|
|
2356
2357
|
className: "gloss-metric-group__slot--composite",
|
|
2357
2358
|
style: {
|
|
2358
|
-
gridColumn: `${
|
|
2359
|
-
gridRow: `${
|
|
2359
|
+
gridColumn: `${i.gridPosition.col} / span ${s.cols}`,
|
|
2360
|
+
gridRow: `${i.gridPosition.row} / span ${s.rows}`
|
|
2360
2361
|
},
|
|
2361
|
-
children:
|
|
2362
|
+
children: i.children
|
|
2362
2363
|
},
|
|
2363
|
-
|
|
2364
|
+
i.key
|
|
2364
2365
|
);
|
|
2365
2366
|
})
|
|
2366
2367
|
}
|
|
@@ -2369,25 +2370,25 @@ const Ft = function(t) {
|
|
|
2369
2370
|
}
|
|
2370
2371
|
);
|
|
2371
2372
|
};
|
|
2372
|
-
|
|
2373
|
-
const Fe = "resize.tuning.dev",
|
|
2374
|
-
...
|
|
2373
|
+
Et.displayName = "MetricGroupContainer";
|
|
2374
|
+
const Fe = "resize.tuning.dev", Ft = {
|
|
2375
|
+
...ct,
|
|
2375
2376
|
snapInPx: 60,
|
|
2376
2377
|
snapOutPx: 90
|
|
2377
|
-
},
|
|
2378
|
-
function
|
|
2379
|
-
if (typeof window > "u") return { ...
|
|
2378
|
+
}, H = Ft;
|
|
2379
|
+
function It() {
|
|
2380
|
+
if (typeof window > "u") return { ...H };
|
|
2380
2381
|
try {
|
|
2381
2382
|
const e = window.localStorage.getItem(Fe);
|
|
2382
|
-
if (!e) return { ...
|
|
2383
|
+
if (!e) return { ...H };
|
|
2383
2384
|
const t = JSON.parse(e);
|
|
2384
|
-
return !t || typeof t != "object" || Array.isArray(t) ? { ...
|
|
2385
|
+
return !t || typeof t != "object" || Array.isArray(t) ? { ...H } : { ...H, ...t };
|
|
2385
2386
|
} catch {
|
|
2386
|
-
return { ...
|
|
2387
|
+
return { ...H };
|
|
2387
2388
|
}
|
|
2388
2389
|
}
|
|
2389
|
-
function
|
|
2390
|
-
const [e, t] = A(() =>
|
|
2390
|
+
function Lt() {
|
|
2391
|
+
const [e, t] = A(() => It());
|
|
2391
2392
|
E(() => {
|
|
2392
2393
|
if (!(typeof window > "u"))
|
|
2393
2394
|
try {
|
|
@@ -2395,22 +2396,22 @@ function Ot() {
|
|
|
2395
2396
|
} catch {
|
|
2396
2397
|
}
|
|
2397
2398
|
}, [e]);
|
|
2398
|
-
const
|
|
2399
|
-
(
|
|
2400
|
-
t((o) => ({ ...o, [
|
|
2399
|
+
const a = C(
|
|
2400
|
+
(s, l) => {
|
|
2401
|
+
t((o) => ({ ...o, [s]: l }));
|
|
2401
2402
|
},
|
|
2402
2403
|
[]
|
|
2403
|
-
),
|
|
2404
|
-
(
|
|
2405
|
-
t((l) => ({ ...l, [
|
|
2404
|
+
), n = C(
|
|
2405
|
+
(s) => {
|
|
2406
|
+
t((l) => ({ ...l, [s]: H[s] }));
|
|
2406
2407
|
},
|
|
2407
2408
|
[]
|
|
2408
|
-
),
|
|
2409
|
-
t({ ...
|
|
2409
|
+
), i = C(() => {
|
|
2410
|
+
t({ ...H });
|
|
2410
2411
|
}, []);
|
|
2411
|
-
return { values: e, setValue:
|
|
2412
|
+
return { values: e, setValue: a, resetRow: n, resetAll: i };
|
|
2412
2413
|
}
|
|
2413
|
-
const
|
|
2414
|
+
const Ot = [
|
|
2414
2415
|
{ key: "stiffness", label: "Spring stiffness", unit: "", min: 100, max: 1e3, step: 10 },
|
|
2415
2416
|
{ key: "damping", label: "Spring damping", unit: "", min: 10, max: 60, step: 1 },
|
|
2416
2417
|
{ key: "mass", label: "Spring mass", unit: "", min: 0.5, max: 2, step: 0.1 },
|
|
@@ -2421,10 +2422,10 @@ const $t = [
|
|
|
2421
2422
|
{ key: "blueprintFadeOutMs", label: "Blueprint fade out", unit: "ms", min: 60, max: 400, step: 10 },
|
|
2422
2423
|
{ key: "velocityMultiplier", label: "Velocity multiplier", unit: "×", min: 0, max: 2, step: 0.05 }
|
|
2423
2424
|
];
|
|
2424
|
-
function
|
|
2425
|
+
function $t(e, t) {
|
|
2425
2426
|
return t >= 1 ? String(Math.round(e)) : t >= 0.1 ? e.toFixed(1) : e.toFixed(2);
|
|
2426
2427
|
}
|
|
2427
|
-
function
|
|
2428
|
+
function zt() {
|
|
2428
2429
|
return /* @__PURE__ */ f(
|
|
2429
2430
|
"svg",
|
|
2430
2431
|
{
|
|
@@ -2444,23 +2445,23 @@ function Bt() {
|
|
|
2444
2445
|
}
|
|
2445
2446
|
);
|
|
2446
2447
|
}
|
|
2447
|
-
function
|
|
2448
|
-
const
|
|
2448
|
+
function Bt({ spec: e, value: t, onChange: a, onReset: n, flashing: i }) {
|
|
2449
|
+
const s = C(
|
|
2449
2450
|
(l) => {
|
|
2450
|
-
(l.key === "r" || l.key === "R") && (l.preventDefault(),
|
|
2451
|
+
(l.key === "r" || l.key === "R") && (l.preventDefault(), n());
|
|
2451
2452
|
},
|
|
2452
|
-
[
|
|
2453
|
+
[n]
|
|
2453
2454
|
);
|
|
2454
2455
|
return /* @__PURE__ */ f(
|
|
2455
2456
|
"div",
|
|
2456
2457
|
{
|
|
2457
|
-
className: `gloss-dev-tuning-panel__row${
|
|
2458
|
+
className: `gloss-dev-tuning-panel__row${i ? " gloss-dev-tuning-panel__row--flash" : ""}`,
|
|
2458
2459
|
"data-tuning-row": e.key,
|
|
2459
|
-
onKeyDown:
|
|
2460
|
+
onKeyDown: s,
|
|
2460
2461
|
children: [
|
|
2461
2462
|
/* @__PURE__ */ r("label", { className: "gloss-dev-tuning-panel__label", htmlFor: `gloss-dtp-${e.key}`, children: e.label }),
|
|
2462
2463
|
/* @__PURE__ */ f("span", { className: "gloss-dev-tuning-panel__value", "aria-live": "off", children: [
|
|
2463
|
-
|
|
2464
|
+
$t(t, e.step),
|
|
2464
2465
|
e.unit ? ` ${e.unit}` : ""
|
|
2465
2466
|
] }),
|
|
2466
2467
|
/* @__PURE__ */ r(
|
|
@@ -2474,7 +2475,7 @@ function Gt({ spec: e, value: t, onChange: n, onReset: a, flashing: s }) {
|
|
|
2474
2475
|
step: e.step,
|
|
2475
2476
|
value: t,
|
|
2476
2477
|
"aria-label": e.label,
|
|
2477
|
-
onChange: (l) =>
|
|
2478
|
+
onChange: (l) => a(Number(l.target.value))
|
|
2478
2479
|
}
|
|
2479
2480
|
),
|
|
2480
2481
|
/* @__PURE__ */ r(
|
|
@@ -2483,15 +2484,15 @@ function Gt({ spec: e, value: t, onChange: n, onReset: a, flashing: s }) {
|
|
|
2483
2484
|
type: "button",
|
|
2484
2485
|
className: "gloss-dev-tuning-panel__reset",
|
|
2485
2486
|
"aria-label": `Reset ${e.label}`,
|
|
2486
|
-
onClick:
|
|
2487
|
-
children: /* @__PURE__ */ r(
|
|
2487
|
+
onClick: n,
|
|
2488
|
+
children: /* @__PURE__ */ r(zt, {})
|
|
2488
2489
|
}
|
|
2489
2490
|
)
|
|
2490
2491
|
]
|
|
2491
2492
|
}
|
|
2492
2493
|
);
|
|
2493
2494
|
}
|
|
2494
|
-
function
|
|
2495
|
+
function Gt() {
|
|
2495
2496
|
if (typeof process < "u" && process.env && process.env.NODE_ENV === "production" || typeof window > "u") return !1;
|
|
2496
2497
|
try {
|
|
2497
2498
|
return new URLSearchParams(window.location.search).has("devtune");
|
|
@@ -2499,23 +2500,23 @@ function Ht() {
|
|
|
2499
2500
|
return !1;
|
|
2500
2501
|
}
|
|
2501
2502
|
}
|
|
2502
|
-
function
|
|
2503
|
-
return
|
|
2503
|
+
function Ht(e = {}) {
|
|
2504
|
+
return Gt() ? /* @__PURE__ */ r(Wt, {}) : null;
|
|
2504
2505
|
}
|
|
2505
|
-
|
|
2506
|
-
function
|
|
2507
|
-
const e =
|
|
2506
|
+
Ht.displayName = "DevTuningPanel";
|
|
2507
|
+
function Wt() {
|
|
2508
|
+
const e = Lt(), { values: t, setValue: a, resetRow: n, resetAll: i } = e, [s, l] = A(null), o = M(null), u = C((c) => {
|
|
2508
2509
|
o.current && clearTimeout(o.current), l(c), o.current = setTimeout(() => {
|
|
2509
2510
|
l(null), o.current = null;
|
|
2510
2511
|
}, 200);
|
|
2511
2512
|
}, []), m = C(
|
|
2512
2513
|
(c, p) => {
|
|
2513
|
-
|
|
2514
|
+
a(c, p), c === "snapInPx" && p > t.snapOutPx && (a("snapOutPx", p), u("snapOutPx"));
|
|
2514
2515
|
},
|
|
2515
|
-
[
|
|
2516
|
-
), d = ce(() =>
|
|
2516
|
+
[a, t.snapOutPx, u]
|
|
2517
|
+
), d = ce(() => Ot, []), g = je();
|
|
2517
2518
|
return /* @__PURE__ */ f(
|
|
2518
|
-
|
|
2519
|
+
z.div,
|
|
2519
2520
|
{
|
|
2520
2521
|
className: "gloss-dev-tuning-panel",
|
|
2521
2522
|
role: "region",
|
|
@@ -2538,13 +2539,13 @@ function Vt() {
|
|
|
2538
2539
|
}
|
|
2539
2540
|
),
|
|
2540
2541
|
/* @__PURE__ */ r("div", { className: "gloss-dev-tuning-panel__body", children: d.map((c) => /* @__PURE__ */ r(
|
|
2541
|
-
|
|
2542
|
+
Bt,
|
|
2542
2543
|
{
|
|
2543
2544
|
spec: c,
|
|
2544
2545
|
value: t[c.key],
|
|
2545
2546
|
onChange: (p) => m(c.key, p),
|
|
2546
|
-
onReset: () =>
|
|
2547
|
-
flashing:
|
|
2547
|
+
onReset: () => n(c.key),
|
|
2548
|
+
flashing: s === c.key
|
|
2548
2549
|
},
|
|
2549
2550
|
c.key
|
|
2550
2551
|
)) }),
|
|
@@ -2553,7 +2554,7 @@ function Vt() {
|
|
|
2553
2554
|
{
|
|
2554
2555
|
type: "button",
|
|
2555
2556
|
className: "gloss-dev-tuning-panel__reset-all",
|
|
2556
|
-
onClick:
|
|
2557
|
+
onClick: i,
|
|
2557
2558
|
children: "Reset all"
|
|
2558
2559
|
}
|
|
2559
2560
|
) })
|
|
@@ -2561,13 +2562,13 @@ function Vt() {
|
|
|
2561
2562
|
}
|
|
2562
2563
|
);
|
|
2563
2564
|
}
|
|
2564
|
-
function
|
|
2565
|
+
function Ar({
|
|
2565
2566
|
state: e,
|
|
2566
2567
|
originX: t,
|
|
2567
|
-
originY:
|
|
2568
|
-
leftEdgeX:
|
|
2569
|
-
rightEdgeX:
|
|
2570
|
-
minBoundaryX:
|
|
2568
|
+
originY: a,
|
|
2569
|
+
leftEdgeX: n,
|
|
2570
|
+
rightEdgeX: i,
|
|
2571
|
+
minBoundaryX: s,
|
|
2571
2572
|
snapBoundariesX: l,
|
|
2572
2573
|
topY: o,
|
|
2573
2574
|
bottomY: u,
|
|
@@ -2577,12 +2578,12 @@ function Er({
|
|
|
2577
2578
|
style: c
|
|
2578
2579
|
}) {
|
|
2579
2580
|
if (e === "hidden") return null;
|
|
2580
|
-
const p = Math.max(0,
|
|
2581
|
+
const p = Math.max(0, i - n), b = Math.max(0, u - o), k = {
|
|
2581
2582
|
"--gloss-resize-envelope-enter-ms": `${m}ms`,
|
|
2582
2583
|
"--gloss-resize-envelope-exit-ms": `${d}ms`,
|
|
2583
|
-
"--gloss-resize-envelope-origin-x": `${t -
|
|
2584
|
-
"--gloss-resize-envelope-origin-y": `${
|
|
2585
|
-
left:
|
|
2584
|
+
"--gloss-resize-envelope-origin-x": `${t - n}px`,
|
|
2585
|
+
"--gloss-resize-envelope-origin-y": `${a - o}px`,
|
|
2586
|
+
left: n,
|
|
2586
2587
|
top: o,
|
|
2587
2588
|
width: p,
|
|
2588
2589
|
height: b,
|
|
@@ -2610,7 +2611,7 @@ function Er({
|
|
|
2610
2611
|
{
|
|
2611
2612
|
className: "gloss-resize-envelope__edge gloss-resize-envelope__edge--min-boundary",
|
|
2612
2613
|
"data-edge": "min-boundary",
|
|
2613
|
-
style: { left:
|
|
2614
|
+
style: { left: s - n }
|
|
2614
2615
|
}
|
|
2615
2616
|
),
|
|
2616
2617
|
/* @__PURE__ */ r(
|
|
@@ -2621,12 +2622,12 @@ function Er({
|
|
|
2621
2622
|
style: { left: p - 1 }
|
|
2622
2623
|
}
|
|
2623
2624
|
),
|
|
2624
|
-
l.filter((w) => w >
|
|
2625
|
+
l.filter((w) => w > s && w < i).map((w) => /* @__PURE__ */ r(
|
|
2625
2626
|
"div",
|
|
2626
2627
|
{
|
|
2627
2628
|
className: "gloss-resize-envelope__snap-line",
|
|
2628
2629
|
"data-snap-line": !0,
|
|
2629
|
-
style: { left: w -
|
|
2630
|
+
style: { left: w - n }
|
|
2630
2631
|
},
|
|
2631
2632
|
w
|
|
2632
2633
|
))
|
|
@@ -2634,18 +2635,18 @@ function Er({
|
|
|
2634
2635
|
}
|
|
2635
2636
|
);
|
|
2636
2637
|
}
|
|
2637
|
-
function
|
|
2638
|
+
function Er({
|
|
2638
2639
|
density: e,
|
|
2639
2640
|
canAccept: t,
|
|
2640
|
-
blocked:
|
|
2641
|
-
proximityOpacity:
|
|
2642
|
-
state:
|
|
2643
|
-
rejection:
|
|
2641
|
+
blocked: a = !1,
|
|
2642
|
+
proximityOpacity: n,
|
|
2643
|
+
state: i,
|
|
2644
|
+
rejection: s = !1,
|
|
2644
2645
|
className: l,
|
|
2645
2646
|
children: o,
|
|
2646
2647
|
...u
|
|
2647
2648
|
}) {
|
|
2648
|
-
const m =
|
|
2649
|
+
const m = n != null ? { ...u.style, "--_proximity-opacity": String(n) } : u.style;
|
|
2649
2650
|
return /* @__PURE__ */ r(
|
|
2650
2651
|
"div",
|
|
2651
2652
|
{
|
|
@@ -2653,70 +2654,70 @@ function Fr({
|
|
|
2653
2654
|
style: m,
|
|
2654
2655
|
"data-density": e,
|
|
2655
2656
|
"data-can-accept": t ? "true" : "false",
|
|
2656
|
-
"data-blocked":
|
|
2657
|
-
"data-rejection":
|
|
2658
|
-
"data-proximity-driven":
|
|
2659
|
-
"data-state":
|
|
2657
|
+
"data-blocked": a ? "true" : void 0,
|
|
2658
|
+
"data-rejection": s ? "true" : void 0,
|
|
2659
|
+
"data-proximity-driven": n != null ? "true" : void 0,
|
|
2660
|
+
"data-state": i ?? void 0,
|
|
2660
2661
|
"data-testid": "gloss-drop-anchor-cell",
|
|
2661
2662
|
className: [
|
|
2662
2663
|
"gloss-drop-anchor-cell",
|
|
2663
|
-
|
|
2664
|
+
a && "gloss-drop-anchor-cell--blocked-pulse",
|
|
2664
2665
|
l
|
|
2665
2666
|
].filter(Boolean).join(" "),
|
|
2666
2667
|
children: o
|
|
2667
2668
|
}
|
|
2668
2669
|
);
|
|
2669
2670
|
}
|
|
2670
|
-
function
|
|
2671
|
-
const
|
|
2672
|
-
return `M${e},${t} Q${
|
|
2671
|
+
function Vt(e, t, a, n) {
|
|
2672
|
+
const i = (e + a) / 2, s = Math.min(t, n) - 40;
|
|
2673
|
+
return `M${e},${t} Q${i},${s} ${a},${n}`;
|
|
2673
2674
|
}
|
|
2674
|
-
function
|
|
2675
|
+
function Fr({
|
|
2675
2676
|
segments: e,
|
|
2676
2677
|
durationMs: t = j.spilloverArcDurationMs,
|
|
2677
|
-
staggerMs:
|
|
2678
|
-
className:
|
|
2679
|
-
style:
|
|
2678
|
+
staggerMs: a = j.spilloverStaggerMs,
|
|
2679
|
+
className: n,
|
|
2680
|
+
style: i
|
|
2680
2681
|
}) {
|
|
2681
2682
|
return e.length === 0 ? null : /* @__PURE__ */ r(
|
|
2682
2683
|
"svg",
|
|
2683
2684
|
{
|
|
2684
|
-
className: ["gloss-spillover-arc",
|
|
2685
|
+
className: ["gloss-spillover-arc", n].filter(Boolean).join(" "),
|
|
2685
2686
|
"data-testid": "gloss-spillover-arc",
|
|
2686
2687
|
"aria-hidden": "true",
|
|
2687
2688
|
overflow: "visible",
|
|
2688
|
-
style: { position: "absolute", inset: 0, pointerEvents: "none", ...
|
|
2689
|
-
children: e.map((
|
|
2689
|
+
style: { position: "absolute", inset: 0, pointerEvents: "none", ...i },
|
|
2690
|
+
children: e.map((s, l) => /* @__PURE__ */ r(
|
|
2690
2691
|
"path",
|
|
2691
2692
|
{
|
|
2692
|
-
"data-arc-id":
|
|
2693
|
+
"data-arc-id": s.id,
|
|
2693
2694
|
className: "gloss-spillover-arc__path",
|
|
2694
|
-
d:
|
|
2695
|
+
d: Vt(s.fromX, s.fromY, s.toX, s.toY),
|
|
2695
2696
|
style: {
|
|
2696
|
-
animationDelay: `${l *
|
|
2697
|
+
animationDelay: `${l * a}ms`,
|
|
2697
2698
|
animationDuration: `${t}ms`
|
|
2698
2699
|
}
|
|
2699
2700
|
},
|
|
2700
|
-
|
|
2701
|
+
s.id
|
|
2701
2702
|
))
|
|
2702
2703
|
}
|
|
2703
2704
|
);
|
|
2704
2705
|
}
|
|
2705
|
-
function
|
|
2706
|
+
function Ir({
|
|
2706
2707
|
state: e,
|
|
2707
2708
|
staggerIndex: t = 0,
|
|
2708
|
-
fadeInMs:
|
|
2709
|
-
fadeOutMs:
|
|
2710
|
-
staggerMs:
|
|
2711
|
-
variant:
|
|
2709
|
+
fadeInMs: a = j.sectionDividerFadeInMs,
|
|
2710
|
+
fadeOutMs: n = j.sectionDividerFadeOutMs,
|
|
2711
|
+
staggerMs: i = j.sectionDividerStaggerMs,
|
|
2712
|
+
variant: s = "dashed",
|
|
2712
2713
|
className: l,
|
|
2713
2714
|
style: o,
|
|
2714
2715
|
...u
|
|
2715
2716
|
}) {
|
|
2716
2717
|
const m = {
|
|
2717
|
-
"--gloss-section-divider-fade-in-ms": `${
|
|
2718
|
-
"--gloss-section-divider-fade-out-ms": `${
|
|
2719
|
-
"--gloss-section-divider-stagger-delay": `${t *
|
|
2718
|
+
"--gloss-section-divider-fade-in-ms": `${a}ms`,
|
|
2719
|
+
"--gloss-section-divider-fade-out-ms": `${n}ms`,
|
|
2720
|
+
"--gloss-section-divider-stagger-delay": `${t * i}ms`,
|
|
2720
2721
|
...o
|
|
2721
2722
|
};
|
|
2722
2723
|
return /* @__PURE__ */ r(
|
|
@@ -2729,7 +2730,7 @@ function Lr({
|
|
|
2729
2730
|
className: [
|
|
2730
2731
|
"gloss-section-divider",
|
|
2731
2732
|
`gloss-section-divider--state-${e}`,
|
|
2732
|
-
|
|
2733
|
+
s === "seam-bleed" ? "gloss-section-divider--variant-seam-bleed" : "",
|
|
2733
2734
|
l
|
|
2734
2735
|
].filter(Boolean).join(" "),
|
|
2735
2736
|
style: m
|
|
@@ -2748,18 +2749,18 @@ const K = {
|
|
|
2748
2749
|
enterEasing: "cubic-bezier(0.34, 1.56, 0.64, 1)",
|
|
2749
2750
|
exitEasing: "cubic-bezier(0.4, 0, 1, 1)",
|
|
2750
2751
|
translateOffsetPx: 8
|
|
2751
|
-
},
|
|
2752
|
+
}, Lr = {
|
|
2752
2753
|
shiverCycles: 3,
|
|
2753
2754
|
shiverAmplitudePx: 2,
|
|
2754
2755
|
shiverDurationMs: 180,
|
|
2755
2756
|
validCellOpacity: 0.6
|
|
2756
|
-
},
|
|
2757
|
+
}, Or = {
|
|
2757
2758
|
materializeMs: 180,
|
|
2758
2759
|
dematerializeMs: 140,
|
|
2759
2760
|
easing: "cubic-bezier(0.22, 1, 0.36, 1)",
|
|
2760
2761
|
dotStrokePx: 2,
|
|
2761
2762
|
dividerDashGapPx: 4
|
|
2762
|
-
},
|
|
2763
|
+
}, $r = {
|
|
2763
2764
|
cascadeStaggerMs: 0,
|
|
2764
2765
|
cascadeSpringCapMs: 120,
|
|
2765
2766
|
swingEnterMs: 100,
|
|
@@ -2768,7 +2769,7 @@ const K = {
|
|
|
2768
2769
|
provisionalStyle: "opacity",
|
|
2769
2770
|
shiverMs: 200,
|
|
2770
2771
|
shiverStyle: "color-flash"
|
|
2771
|
-
},
|
|
2772
|
+
}, zr = !0, Br = {
|
|
2772
2773
|
rejectionFill: "var(--gloss-rejection-fill)",
|
|
2773
2774
|
rejectionStroke: "var(--gloss-rejection-stroke)",
|
|
2774
2775
|
validFill: "var(--gloss-valid-fill)",
|
|
@@ -2784,8 +2785,8 @@ function Ie() {
|
|
|
2784
2785
|
return "full";
|
|
2785
2786
|
}
|
|
2786
2787
|
}
|
|
2787
|
-
const ve = ({ visible: e, variant: t, trigger:
|
|
2788
|
-
const
|
|
2788
|
+
const ve = ({ visible: e, variant: t, trigger: a, children: n, className: i }) => {
|
|
2789
|
+
const s = {
|
|
2789
2790
|
"--gloss-swing-enter-ms": `${U.enterDurationMs}ms`,
|
|
2790
2791
|
"--gloss-swing-exit-ms": `${U.exitDurationMs}ms`,
|
|
2791
2792
|
"--gloss-swing-offset": `${U.translateOffsetPx}px`,
|
|
@@ -2794,8 +2795,8 @@ const ve = ({ visible: e, variant: t, trigger: n, children: a, className: s }) =
|
|
|
2794
2795
|
}, l = [
|
|
2795
2796
|
"gloss-swing-reveal",
|
|
2796
2797
|
`gloss-swing-reveal--${t}`,
|
|
2797
|
-
|
|
2798
|
-
|
|
2798
|
+
a === "hover+focus" ? "gloss-swing-reveal--hover-focus" : "",
|
|
2799
|
+
i ?? ""
|
|
2799
2800
|
].filter(Boolean).join(" ");
|
|
2800
2801
|
return /* @__PURE__ */ r(
|
|
2801
2802
|
"span",
|
|
@@ -2804,24 +2805,24 @@ const ve = ({ visible: e, variant: t, trigger: n, children: a, className: s }) =
|
|
|
2804
2805
|
"data-variant": t,
|
|
2805
2806
|
"data-visible": e ? "true" : "false",
|
|
2806
2807
|
className: l,
|
|
2807
|
-
style:
|
|
2808
|
-
children:
|
|
2808
|
+
style: s,
|
|
2809
|
+
children: n
|
|
2809
2810
|
}
|
|
2810
2811
|
);
|
|
2811
2812
|
};
|
|
2812
|
-
function
|
|
2813
|
+
function Gr({
|
|
2813
2814
|
enabled: e,
|
|
2814
2815
|
onCollapse: t,
|
|
2815
|
-
onAdd:
|
|
2816
|
-
addGlyphLabel:
|
|
2817
|
-
collapseGlyphLabel:
|
|
2818
|
-
className:
|
|
2816
|
+
onAdd: a,
|
|
2817
|
+
addGlyphLabel: n,
|
|
2818
|
+
collapseGlyphLabel: i,
|
|
2819
|
+
className: s,
|
|
2819
2820
|
style: l,
|
|
2820
2821
|
onPack: o,
|
|
2821
2822
|
ariaLabel: u
|
|
2822
2823
|
}) {
|
|
2823
|
-
const m =
|
|
2824
|
-
return /* @__PURE__ */ f(
|
|
2824
|
+
const m = n ?? "Add card to this cell", d = i ?? u ?? "Pack row — shift cards left", g = t ?? o, { affordancesVisible: c } = ze();
|
|
2825
|
+
return /* @__PURE__ */ f(O.Fragment, { children: [
|
|
2825
2826
|
/* @__PURE__ */ r(ve, { visible: e && c, variant: "pack", trigger: "hover+focus", children: /* @__PURE__ */ r(
|
|
2826
2827
|
"button",
|
|
2827
2828
|
{
|
|
@@ -2831,11 +2832,11 @@ function Hr({
|
|
|
2831
2832
|
className: [
|
|
2832
2833
|
"gloss-empty-cell-pack-affordance",
|
|
2833
2834
|
"gloss-empty-cell-pack-affordance--add",
|
|
2834
|
-
|
|
2835
|
+
s
|
|
2835
2836
|
].filter(Boolean).join(" "),
|
|
2836
2837
|
style: l,
|
|
2837
2838
|
onClick: (p) => {
|
|
2838
|
-
p.stopPropagation(),
|
|
2839
|
+
p.stopPropagation(), a?.();
|
|
2839
2840
|
},
|
|
2840
2841
|
children: /* @__PURE__ */ r("span", { "aria-hidden": "true", className: "gloss-empty-cell-pack-affordance__glyph", children: "+" })
|
|
2841
2842
|
}
|
|
@@ -2846,7 +2847,7 @@ function Hr({
|
|
|
2846
2847
|
type: "button",
|
|
2847
2848
|
"data-testid": "gloss-empty-cell-pack",
|
|
2848
2849
|
"aria-label": d,
|
|
2849
|
-
className: ["gloss-empty-cell-pack-affordance",
|
|
2850
|
+
className: ["gloss-empty-cell-pack-affordance", s].filter(Boolean).join(" "),
|
|
2850
2851
|
style: l,
|
|
2851
2852
|
onClick: (p) => {
|
|
2852
2853
|
p.stopPropagation(), g?.();
|
|
@@ -2856,25 +2857,25 @@ function Hr({
|
|
|
2856
2857
|
) })
|
|
2857
2858
|
] });
|
|
2858
2859
|
}
|
|
2859
|
-
function
|
|
2860
|
+
function Hr({
|
|
2860
2861
|
tint: e,
|
|
2861
2862
|
colSpan: t,
|
|
2862
|
-
colWidth:
|
|
2863
|
-
rowHeight:
|
|
2864
|
-
gap:
|
|
2865
|
-
x:
|
|
2863
|
+
colWidth: a,
|
|
2864
|
+
rowHeight: n,
|
|
2865
|
+
gap: i,
|
|
2866
|
+
x: s,
|
|
2866
2867
|
y: l,
|
|
2867
2868
|
children: o,
|
|
2868
2869
|
className: u
|
|
2869
2870
|
}) {
|
|
2870
|
-
const m = t *
|
|
2871
|
+
const m = t * a + (t - 1) * i, d = O.useRef(null);
|
|
2871
2872
|
return re("drag-ghost", () => {
|
|
2872
2873
|
if (process.env.NODE_ENV === "production")
|
|
2873
2874
|
return { values: {}, spec: null, state: "idle", t: performance.now() };
|
|
2874
2875
|
const g = d.current?.getBoundingClientRect() ?? null;
|
|
2875
2876
|
return {
|
|
2876
2877
|
values: {
|
|
2877
|
-
x:
|
|
2878
|
+
x: s.get(),
|
|
2878
2879
|
y: l.get(),
|
|
2879
2880
|
bounds_x: g?.x ?? 0,
|
|
2880
2881
|
bounds_y: g?.y ?? 0,
|
|
@@ -2905,7 +2906,7 @@ function Wr({
|
|
|
2905
2906
|
const w = g?.getBoundingClientRect() ?? null, y = g ? "drag-clone" : "subsumed-by-tracking-outline";
|
|
2906
2907
|
return {
|
|
2907
2908
|
values: {
|
|
2908
|
-
x:
|
|
2909
|
+
x: s.get(),
|
|
2909
2910
|
y: l.get(),
|
|
2910
2911
|
bounds_x: w?.x ?? 0,
|
|
2911
2912
|
bounds_y: w?.y ?? 0,
|
|
@@ -2929,7 +2930,7 @@ function Wr({
|
|
|
2929
2930
|
t: performance.now()
|
|
2930
2931
|
};
|
|
2931
2932
|
}), /* @__PURE__ */ r(
|
|
2932
|
-
|
|
2933
|
+
z.div,
|
|
2933
2934
|
{
|
|
2934
2935
|
ref: d,
|
|
2935
2936
|
"data-testid": "gloss-drag-ghost",
|
|
@@ -2940,25 +2941,25 @@ function Wr({
|
|
|
2940
2941
|
`gloss-drag-ghost--tint-${e}`,
|
|
2941
2942
|
u
|
|
2942
2943
|
].filter(Boolean).join(" "),
|
|
2943
|
-
style: { x:
|
|
2944
|
+
style: { x: s, y: l, width: m, height: n },
|
|
2944
2945
|
children: o
|
|
2945
2946
|
}
|
|
2946
2947
|
);
|
|
2947
2948
|
}
|
|
2948
|
-
const
|
|
2949
|
+
const jt = 3;
|
|
2949
2950
|
function Le({
|
|
2950
2951
|
gesture: e,
|
|
2951
2952
|
cell: t,
|
|
2952
|
-
colSpan:
|
|
2953
|
-
colWidth:
|
|
2954
|
-
gap:
|
|
2955
|
-
rowHeight:
|
|
2953
|
+
colSpan: a,
|
|
2954
|
+
colWidth: n,
|
|
2955
|
+
gap: i,
|
|
2956
|
+
rowHeight: s,
|
|
2956
2957
|
pattern: l = "solid",
|
|
2957
2958
|
transitionMs: o = 120,
|
|
2958
2959
|
className: u,
|
|
2959
2960
|
motionWidth: m
|
|
2960
2961
|
}) {
|
|
2961
|
-
const d =
|
|
2962
|
+
const d = a * n + (a - 1) * i, c = (t.section * jt + t.col) * (n + i), p = t.row * (s + i), b = e === "resize" ? 2.5 : 2, k = l === "dashed-retreated" ? "dashed" : "solid", w = e === "drag" ? "gloss-snap-outline" : "gloss-tracking-outline", y = {
|
|
2962
2963
|
className: [
|
|
2963
2964
|
"gloss-tracking-outline",
|
|
2964
2965
|
`gloss-tracking-outline--${e}`,
|
|
@@ -2975,13 +2976,13 @@ function Le({
|
|
|
2975
2976
|
"aria-hidden": "true"
|
|
2976
2977
|
};
|
|
2977
2978
|
return m ? /* @__PURE__ */ r(
|
|
2978
|
-
|
|
2979
|
+
z.div,
|
|
2979
2980
|
{
|
|
2980
2981
|
...y,
|
|
2981
2982
|
style: {
|
|
2982
2983
|
transform: `translate(${c}px, ${p}px)`,
|
|
2983
2984
|
width: m,
|
|
2984
|
-
height:
|
|
2985
|
+
height: s,
|
|
2985
2986
|
borderWidth: b,
|
|
2986
2987
|
borderStyle: k
|
|
2987
2988
|
}
|
|
@@ -2993,7 +2994,7 @@ function Le({
|
|
|
2993
2994
|
style: {
|
|
2994
2995
|
transform: `translate(${c}px, ${p}px)`,
|
|
2995
2996
|
width: d,
|
|
2996
|
-
height:
|
|
2997
|
+
height: s,
|
|
2997
2998
|
borderWidth: b,
|
|
2998
2999
|
borderStyle: k,
|
|
2999
3000
|
transition: `transform ${o}ms cubic-bezier(0.4, 0, 0.2, 1)`
|
|
@@ -3001,20 +3002,20 @@ function Le({
|
|
|
3001
3002
|
}
|
|
3002
3003
|
);
|
|
3003
3004
|
}
|
|
3004
|
-
function
|
|
3005
|
+
function Wr(e) {
|
|
3005
3006
|
return /* @__PURE__ */ r(Le, { gesture: "drag", pattern: "solid", ...e });
|
|
3006
3007
|
}
|
|
3007
|
-
function
|
|
3008
|
+
function Vr({
|
|
3008
3009
|
items: e,
|
|
3009
3010
|
children: t,
|
|
3010
|
-
className:
|
|
3011
|
-
debugMagenta:
|
|
3011
|
+
className: a,
|
|
3012
|
+
debugMagenta: n
|
|
3012
3013
|
}) {
|
|
3013
|
-
const
|
|
3014
|
-
return
|
|
3014
|
+
const i = process.env.NODE_ENV !== "production" && (n || typeof window < "u" && window.__GLOSS_CASCADE_PREVIEW_DEBUG__ === !0), s = O.useRef(e);
|
|
3015
|
+
return s.current = e, re("cascade-preview", () => {
|
|
3015
3016
|
if (process.env.NODE_ENV === "production")
|
|
3016
3017
|
return { values: {}, spec: null, state: "idle", t: performance.now() };
|
|
3017
|
-
const l =
|
|
3018
|
+
const l = s.current;
|
|
3018
3019
|
let o = 0, u = 0, m = 0, d = 0;
|
|
3019
3020
|
for (const g of l) {
|
|
3020
3021
|
const c = g.x.get(), p = g.y.get();
|
|
@@ -3036,13 +3037,13 @@ function jr({
|
|
|
3036
3037
|
state: l.length > 0 ? "active" : "idle",
|
|
3037
3038
|
t: performance.now()
|
|
3038
3039
|
};
|
|
3039
|
-
}), e.length === 0 ? null : /* @__PURE__ */ r(
|
|
3040
|
-
|
|
3040
|
+
}), e.length === 0 ? null : /* @__PURE__ */ r(I, { children: e.map((l) => /* @__PURE__ */ r(
|
|
3041
|
+
z.div,
|
|
3041
3042
|
{
|
|
3042
3043
|
"data-card-id": l.cardId,
|
|
3043
3044
|
"data-testid": "gloss-cascade-preview-item",
|
|
3044
3045
|
"aria-hidden": "true",
|
|
3045
|
-
className: ["gloss-cascade-preview-item",
|
|
3046
|
+
className: ["gloss-cascade-preview-item", a].filter(Boolean).join(" "),
|
|
3046
3047
|
style: {
|
|
3047
3048
|
position: "absolute",
|
|
3048
3049
|
left: l.left,
|
|
@@ -3051,46 +3052,46 @@ function jr({
|
|
|
3051
3052
|
y: l.y,
|
|
3052
3053
|
width: l.width,
|
|
3053
3054
|
height: l.height,
|
|
3054
|
-
...
|
|
3055
|
+
...i ? { outline: "2px solid magenta" } : {}
|
|
3055
3056
|
},
|
|
3056
3057
|
children: t(l)
|
|
3057
3058
|
},
|
|
3058
3059
|
l.cardId
|
|
3059
3060
|
)) });
|
|
3060
3061
|
}
|
|
3061
|
-
const
|
|
3062
|
+
const Kt = ({
|
|
3062
3063
|
consumed: e,
|
|
3063
3064
|
elapsed: t,
|
|
3064
|
-
severity:
|
|
3065
|
+
severity: a = "neutral"
|
|
3065
3066
|
}) => {
|
|
3066
|
-
const
|
|
3067
|
+
const n = M(null), i = M(null);
|
|
3067
3068
|
E(() => {
|
|
3068
3069
|
const o = Math.min(100, Math.max(0, e.value)), u = Math.min(100, Math.max(0, t.value)), m = requestAnimationFrame(() => {
|
|
3069
|
-
|
|
3070
|
+
n.current && (n.current.style.width = `${o}%`), i.current && (i.current.style.width = `${u}%`);
|
|
3070
3071
|
});
|
|
3071
3072
|
return () => cancelAnimationFrame(m);
|
|
3072
3073
|
}, [e.value, t.value]);
|
|
3073
|
-
const
|
|
3074
|
+
const s = e.label ?? "ACTUAL", l = t.label ?? "ELAPSED";
|
|
3074
3075
|
return /* @__PURE__ */ f(
|
|
3075
3076
|
"div",
|
|
3076
3077
|
{
|
|
3077
3078
|
className: "gloss-dual-pace-bars",
|
|
3078
3079
|
role: "img",
|
|
3079
|
-
"aria-label": `${
|
|
3080
|
+
"aria-label": `${s}: ${e.value}%, ${l}: ${t.value}%`,
|
|
3080
3081
|
children: [
|
|
3081
3082
|
/* @__PURE__ */ f("div", { className: "gloss-dual-pace-bars__row", children: [
|
|
3082
|
-
/* @__PURE__ */ r("span", { className: "gloss-dual-pace-bars__track-label", children:
|
|
3083
|
+
/* @__PURE__ */ r("span", { className: "gloss-dual-pace-bars__track-label", children: s }),
|
|
3083
3084
|
/* @__PURE__ */ r("div", { className: "gloss-dual-pace-bars__track", children: /* @__PURE__ */ r(
|
|
3084
3085
|
"div",
|
|
3085
3086
|
{
|
|
3086
|
-
ref:
|
|
3087
|
-
className: `gloss-dual-pace-bars__fill gloss-dual-pace-bars__fill--consumed gloss-dual-pace-bars__fill--${
|
|
3087
|
+
ref: n,
|
|
3088
|
+
className: `gloss-dual-pace-bars__fill gloss-dual-pace-bars__fill--consumed gloss-dual-pace-bars__fill--${a}`,
|
|
3088
3089
|
style: { width: "0%" },
|
|
3089
3090
|
role: "meter",
|
|
3090
3091
|
"aria-valuenow": Math.min(100, Math.max(0, e.value)),
|
|
3091
3092
|
"aria-valuemin": 0,
|
|
3092
3093
|
"aria-valuemax": 100,
|
|
3093
|
-
"aria-label": `${
|
|
3094
|
+
"aria-label": `${s}: ${e.value}%`
|
|
3094
3095
|
}
|
|
3095
3096
|
) }),
|
|
3096
3097
|
/* @__PURE__ */ f("span", { className: "gloss-dual-pace-bars__track-value", children: [
|
|
@@ -3103,7 +3104,7 @@ const Ut = ({
|
|
|
3103
3104
|
/* @__PURE__ */ r("div", { className: "gloss-dual-pace-bars__track", children: /* @__PURE__ */ r(
|
|
3104
3105
|
"div",
|
|
3105
3106
|
{
|
|
3106
|
-
ref:
|
|
3107
|
+
ref: i,
|
|
3107
3108
|
className: "gloss-dual-pace-bars__fill gloss-dual-pace-bars__fill--elapsed",
|
|
3108
3109
|
style: { width: "0%" },
|
|
3109
3110
|
role: "meter",
|
|
@@ -3121,10 +3122,10 @@ const Ut = ({
|
|
|
3121
3122
|
]
|
|
3122
3123
|
}
|
|
3123
3124
|
);
|
|
3124
|
-
},
|
|
3125
|
+
}, Ut = ({ label: e, value: t, severity: a }) => /* @__PURE__ */ f(
|
|
3125
3126
|
"div",
|
|
3126
3127
|
{
|
|
3127
|
-
className: `gloss-gap-readout gloss-gap-readout--${
|
|
3128
|
+
className: `gloss-gap-readout gloss-gap-readout--${a}`,
|
|
3128
3129
|
"aria-label": `${e}: ${t}`,
|
|
3129
3130
|
children: [
|
|
3130
3131
|
/* @__PURE__ */ r("hr", { className: "gloss-gap-readout__separator" }),
|
|
@@ -3134,7 +3135,7 @@ const Ut = ({
|
|
|
3134
3135
|
] })
|
|
3135
3136
|
]
|
|
3136
3137
|
}
|
|
3137
|
-
),
|
|
3138
|
+
), Yt = ({ label: e, onSetTarget: t }) => /* @__PURE__ */ f("div", { className: "gloss-pace-placeholder", children: [
|
|
3138
3139
|
/* @__PURE__ */ r("p", { className: "gloss-pace-placeholder__heading", children: "Set a target" }),
|
|
3139
3140
|
/* @__PURE__ */ f("p", { className: "gloss-pace-placeholder__context", children: [
|
|
3140
3141
|
"for ",
|
|
@@ -3150,18 +3151,18 @@ const Ut = ({
|
|
|
3150
3151
|
children: "Set target"
|
|
3151
3152
|
}
|
|
3152
3153
|
)
|
|
3153
|
-
] }),
|
|
3154
|
-
const [t,
|
|
3155
|
-
|
|
3154
|
+
] }), jr = (e) => {
|
|
3155
|
+
const [t, a] = A(!1), n = e.target?.value, i = n !== void 0, s = e.paceGapUnit === "usd" ? "$" : "%", l = /* @__PURE__ */ r(
|
|
3156
|
+
et,
|
|
3156
3157
|
{
|
|
3157
3158
|
label: `Set a target for ${e.label}`,
|
|
3158
|
-
unit:
|
|
3159
|
-
currentValue:
|
|
3159
|
+
unit: s,
|
|
3160
|
+
currentValue: n,
|
|
3160
3161
|
onConfirm: (o) => {
|
|
3161
|
-
e.onTargetChange(o),
|
|
3162
|
+
e.onTargetChange(o), a(!1);
|
|
3162
3163
|
},
|
|
3163
3164
|
onSkip: () => {
|
|
3164
|
-
e.onTargetSkip?.(),
|
|
3165
|
+
e.onTargetSkip?.(), a(!1);
|
|
3165
3166
|
}
|
|
3166
3167
|
}
|
|
3167
3168
|
);
|
|
@@ -3171,33 +3172,33 @@ const Ut = ({
|
|
|
3171
3172
|
colSpan: 2,
|
|
3172
3173
|
enableQuickSettings: !0,
|
|
3173
3174
|
isFlipped: t,
|
|
3174
|
-
onFlipChange:
|
|
3175
|
+
onFlipChange: a,
|
|
3175
3176
|
quickConfigSlot: l,
|
|
3176
3177
|
onRemove: e.onRemove,
|
|
3177
3178
|
children: /* @__PURE__ */ f("div", { className: `gloss-pace-card ${e.isStale ? "gloss-metric-data-stale" : ""}`, children: [
|
|
3178
3179
|
/* @__PURE__ */ r("div", { className: "gloss-pace-card__label", children: e.label }),
|
|
3179
3180
|
e.subtitle && /* @__PURE__ */ r("div", { className: "gloss-pace-card__subtitle", children: e.subtitle }),
|
|
3180
|
-
/* @__PURE__ */ r("div", { className: "gloss-pace-card__body", children:
|
|
3181
|
+
/* @__PURE__ */ r("div", { className: "gloss-pace-card__body", children: i ? /* @__PURE__ */ f(I, { children: [
|
|
3181
3182
|
/* @__PURE__ */ r(
|
|
3182
|
-
|
|
3183
|
+
Kt,
|
|
3183
3184
|
{
|
|
3184
3185
|
consumed: e.consumed,
|
|
3185
3186
|
elapsed: e.elapsed,
|
|
3186
3187
|
severity: e.severity
|
|
3187
3188
|
}
|
|
3188
3189
|
),
|
|
3189
|
-
/* @__PURE__ */ r(
|
|
3190
|
+
/* @__PURE__ */ r(Ut, { label: "Gap", value: e.gapLabel, severity: e.severity })
|
|
3190
3191
|
] }) : /* @__PURE__ */ r(
|
|
3191
|
-
|
|
3192
|
+
Yt,
|
|
3192
3193
|
{
|
|
3193
3194
|
label: e.label,
|
|
3194
|
-
onSetTarget: () =>
|
|
3195
|
+
onSetTarget: () => a(!0)
|
|
3195
3196
|
}
|
|
3196
3197
|
) })
|
|
3197
3198
|
] })
|
|
3198
3199
|
}
|
|
3199
3200
|
);
|
|
3200
|
-
},
|
|
3201
|
+
}, Kr = () => /* @__PURE__ */ f("div", { className: "gloss-pace-tile-preview", "aria-hidden": "true", children: [
|
|
3201
3202
|
/* @__PURE__ */ r(
|
|
3202
3203
|
"div",
|
|
3203
3204
|
{
|
|
@@ -3214,127 +3215,127 @@ const Ut = ({
|
|
|
3214
3215
|
),
|
|
3215
3216
|
/* @__PURE__ */ r("div", { className: "gloss-pace-tile-preview__gap-strip" })
|
|
3216
3217
|
] });
|
|
3217
|
-
function
|
|
3218
|
+
function qt({ id: e, label: t, selected: a, focused: n, disabled: i, badge: s, onClick: l }) {
|
|
3218
3219
|
return /* @__PURE__ */ r(
|
|
3219
3220
|
"span",
|
|
3220
3221
|
{
|
|
3221
3222
|
role: "radio",
|
|
3222
|
-
"aria-checked":
|
|
3223
|
-
"aria-disabled":
|
|
3224
|
-
tabIndex:
|
|
3223
|
+
"aria-checked": a,
|
|
3224
|
+
"aria-disabled": i || void 0,
|
|
3225
|
+
tabIndex: n ? 0 : -1,
|
|
3225
3226
|
className: "gloss-lens-chip",
|
|
3226
|
-
"data-selected":
|
|
3227
|
-
"data-disabled":
|
|
3227
|
+
"data-selected": a || void 0,
|
|
3228
|
+
"data-disabled": i || void 0,
|
|
3228
3229
|
onClick: () => {
|
|
3229
|
-
|
|
3230
|
+
i || l(e);
|
|
3230
3231
|
},
|
|
3231
3232
|
children: /* @__PURE__ */ f("span", { className: "gloss-lens-chip__inner", children: [
|
|
3232
3233
|
/* @__PURE__ */ r("span", { className: "gloss-lens-chip__label", children: t }),
|
|
3233
|
-
|
|
3234
|
+
s && /* @__PURE__ */ r("span", { className: "gloss-lens-chip__badge", children: s })
|
|
3234
3235
|
] })
|
|
3235
3236
|
}
|
|
3236
3237
|
);
|
|
3237
3238
|
}
|
|
3238
|
-
function
|
|
3239
|
+
function Qt({
|
|
3239
3240
|
lenses: e,
|
|
3240
3241
|
value: t,
|
|
3241
|
-
onChange:
|
|
3242
|
-
"aria-label":
|
|
3242
|
+
onChange: a,
|
|
3243
|
+
"aria-label": n = "Lens"
|
|
3243
3244
|
}) {
|
|
3244
|
-
const [
|
|
3245
|
+
const [i, s] = A(
|
|
3245
3246
|
() => Math.max(0, e.findIndex((o) => o.id === t))
|
|
3246
3247
|
);
|
|
3247
3248
|
return E(() => {
|
|
3248
3249
|
const o = e.findIndex((u) => u.id === t);
|
|
3249
|
-
|
|
3250
|
+
s(o >= 0 ? o : 0);
|
|
3250
3251
|
}, [t, e]), e.length === 0 ? null : /* @__PURE__ */ r(
|
|
3251
3252
|
"div",
|
|
3252
3253
|
{
|
|
3253
3254
|
role: "radiogroup",
|
|
3254
|
-
"aria-label":
|
|
3255
|
+
"aria-label": n,
|
|
3255
3256
|
onKeyDown: (o) => {
|
|
3256
3257
|
switch (o.key) {
|
|
3257
3258
|
case "ArrowRight":
|
|
3258
3259
|
case "ArrowDown":
|
|
3259
|
-
o.preventDefault(),
|
|
3260
|
+
o.preventDefault(), s((u) => (u + 1) % e.length);
|
|
3260
3261
|
break;
|
|
3261
3262
|
case "ArrowLeft":
|
|
3262
3263
|
case "ArrowUp":
|
|
3263
|
-
o.preventDefault(),
|
|
3264
|
+
o.preventDefault(), s((u) => (u - 1 + e.length) % e.length);
|
|
3264
3265
|
break;
|
|
3265
3266
|
case "Home":
|
|
3266
|
-
o.preventDefault(),
|
|
3267
|
+
o.preventDefault(), s(0);
|
|
3267
3268
|
break;
|
|
3268
3269
|
case "End":
|
|
3269
|
-
o.preventDefault(),
|
|
3270
|
+
o.preventDefault(), s(e.length - 1);
|
|
3270
3271
|
break;
|
|
3271
3272
|
case "Enter":
|
|
3272
3273
|
case " ": {
|
|
3273
3274
|
o.preventDefault();
|
|
3274
|
-
const u = e[
|
|
3275
|
-
u && !u.disabled &&
|
|
3275
|
+
const u = e[i];
|
|
3276
|
+
u && !u.disabled && a(u.id);
|
|
3276
3277
|
break;
|
|
3277
3278
|
}
|
|
3278
3279
|
}
|
|
3279
3280
|
},
|
|
3280
3281
|
className: "gloss-lens-chip-group",
|
|
3281
3282
|
children: e.map((o, u) => /* @__PURE__ */ r(
|
|
3282
|
-
|
|
3283
|
+
qt,
|
|
3283
3284
|
{
|
|
3284
3285
|
id: o.id,
|
|
3285
3286
|
label: o.label,
|
|
3286
3287
|
selected: o.id === t,
|
|
3287
|
-
focused: u ===
|
|
3288
|
+
focused: u === i,
|
|
3288
3289
|
disabled: o.disabled,
|
|
3289
3290
|
badge: o.badge,
|
|
3290
|
-
onClick:
|
|
3291
|
+
onClick: a
|
|
3291
3292
|
},
|
|
3292
3293
|
o.id
|
|
3293
3294
|
))
|
|
3294
3295
|
}
|
|
3295
3296
|
);
|
|
3296
3297
|
}
|
|
3297
|
-
|
|
3298
|
-
function
|
|
3298
|
+
Qt.displayName = "LensChipGroup";
|
|
3299
|
+
function Jt({ heading: e, children: t }) {
|
|
3299
3300
|
return !t || Array.isArray(t) && t.length === 0 ? null : /* @__PURE__ */ f("section", { className: "gloss-starter-rail", "aria-label": e, children: [
|
|
3300
3301
|
/* @__PURE__ */ r("header", { className: "gloss-starter-rail__heading", children: e }),
|
|
3301
3302
|
/* @__PURE__ */ r("div", { className: "gloss-starter-rail__tiles", children: t })
|
|
3302
3303
|
] });
|
|
3303
3304
|
}
|
|
3304
|
-
|
|
3305
|
-
function
|
|
3306
|
-
const
|
|
3305
|
+
Jt.displayName = "StarterRail";
|
|
3306
|
+
function Xt({ heading: e, children: t, emptyStateLabel: a }) {
|
|
3307
|
+
const n = !t || Array.isArray(t) && t.length === 0;
|
|
3307
3308
|
return /* @__PURE__ */ f("section", { className: "gloss-more-in-lens-rail", "aria-label": e, children: [
|
|
3308
3309
|
/* @__PURE__ */ r("header", { className: "gloss-more-in-lens-rail__heading", children: e }),
|
|
3309
3310
|
/* @__PURE__ */ f("div", { className: "gloss-more-in-lens-rail__tiles", children: [
|
|
3310
3311
|
t,
|
|
3311
|
-
|
|
3312
|
+
n && a && /* @__PURE__ */ r("p", { className: "gloss-more-in-lens-rail__empty", children: a })
|
|
3312
3313
|
] })
|
|
3313
3314
|
] });
|
|
3314
3315
|
}
|
|
3315
|
-
|
|
3316
|
-
function
|
|
3316
|
+
Xt.displayName = "MoreInLensRail";
|
|
3317
|
+
function $({
|
|
3317
3318
|
lead: e,
|
|
3318
3319
|
name: t,
|
|
3319
|
-
secondary:
|
|
3320
|
-
value:
|
|
3321
|
-
trail:
|
|
3322
|
-
variant:
|
|
3320
|
+
secondary: a,
|
|
3321
|
+
value: n,
|
|
3322
|
+
trail: i,
|
|
3323
|
+
variant: s = "default",
|
|
3323
3324
|
onClick: l,
|
|
3324
3325
|
className: o,
|
|
3325
3326
|
style: u
|
|
3326
3327
|
}) {
|
|
3327
3328
|
const m = [
|
|
3328
3329
|
"gloss-entity-row",
|
|
3329
|
-
`gloss-entity-row--${
|
|
3330
|
+
`gloss-entity-row--${s}`,
|
|
3330
3331
|
l ? "gloss-entity-row--clickable" : "",
|
|
3331
3332
|
o ?? ""
|
|
3332
|
-
].filter(Boolean).join(" "), d = /* @__PURE__ */ f(
|
|
3333
|
+
].filter(Boolean).join(" "), d = /* @__PURE__ */ f(I, { children: [
|
|
3333
3334
|
e !== void 0 && /* @__PURE__ */ r("span", { className: "gloss-entity-row__lead", children: e }),
|
|
3334
3335
|
/* @__PURE__ */ r("span", { className: "gloss-entity-row__name", title: t, children: t }),
|
|
3335
|
-
|
|
3336
|
-
/* @__PURE__ */ r("span", { className: "gloss-entity-row__value", children:
|
|
3337
|
-
|
|
3336
|
+
a !== void 0 && /* @__PURE__ */ r("span", { className: "gloss-entity-row__secondary", children: a }),
|
|
3337
|
+
/* @__PURE__ */ r("span", { className: "gloss-entity-row__value", children: n }),
|
|
3338
|
+
i !== void 0 && /* @__PURE__ */ r("span", { className: "gloss-entity-row__trail", children: i })
|
|
3338
3339
|
] });
|
|
3339
3340
|
return l ? /* @__PURE__ */ r("div", { role: "listitem", className: m, style: u, children: /* @__PURE__ */ r(
|
|
3340
3341
|
"button",
|
|
@@ -3355,7 +3356,7 @@ function z({
|
|
|
3355
3356
|
}
|
|
3356
3357
|
) }) : /* @__PURE__ */ r("div", { role: "listitem", className: m, style: u, children: d });
|
|
3357
3358
|
}
|
|
3358
|
-
|
|
3359
|
+
$.displayName = "EntityRow";
|
|
3359
3360
|
const Q = ({ rank: e }) => {
|
|
3360
3361
|
const t = e === 1 ? "first" : "other";
|
|
3361
3362
|
return /* @__PURE__ */ r(
|
|
@@ -3383,35 +3384,35 @@ J.displayName = "SeverityDot";
|
|
|
3383
3384
|
function Oe({
|
|
3384
3385
|
delta: e,
|
|
3385
3386
|
direction: t = "flat",
|
|
3386
|
-
"aria-label":
|
|
3387
|
+
"aria-label": a
|
|
3387
3388
|
}) {
|
|
3388
3389
|
if (e === "new")
|
|
3389
3390
|
return /* @__PURE__ */ r(
|
|
3390
3391
|
"span",
|
|
3391
3392
|
{
|
|
3392
3393
|
role: "img",
|
|
3393
|
-
"aria-label":
|
|
3394
|
+
"aria-label": a,
|
|
3394
3395
|
className: "gloss-rank-delta gloss-rank-delta--new",
|
|
3395
3396
|
children: "NEW"
|
|
3396
3397
|
}
|
|
3397
3398
|
);
|
|
3398
|
-
const
|
|
3399
|
+
const n = t === "up" ? "▲" : t === "down" ? "▼" : "—";
|
|
3399
3400
|
return /* @__PURE__ */ f(
|
|
3400
3401
|
"span",
|
|
3401
3402
|
{
|
|
3402
3403
|
role: "img",
|
|
3403
|
-
"aria-label":
|
|
3404
|
+
"aria-label": a,
|
|
3404
3405
|
className: `gloss-rank-delta gloss-rank-delta--${t}`,
|
|
3405
3406
|
children: [
|
|
3406
|
-
|
|
3407
|
+
n,
|
|
3407
3408
|
e
|
|
3408
3409
|
]
|
|
3409
3410
|
}
|
|
3410
3411
|
);
|
|
3411
3412
|
}
|
|
3412
3413
|
Oe.displayName = "RankDelta";
|
|
3413
|
-
function X({ fill: e, variant: t = "default", className:
|
|
3414
|
-
const
|
|
3414
|
+
function X({ fill: e, variant: t = "default", className: a }) {
|
|
3415
|
+
const n = Math.max(0, Math.min(100, e));
|
|
3415
3416
|
return /* @__PURE__ */ r(
|
|
3416
3417
|
"div",
|
|
3417
3418
|
{
|
|
@@ -3419,24 +3420,24 @@ function X({ fill: e, variant: t = "default", className: n }) {
|
|
|
3419
3420
|
className: [
|
|
3420
3421
|
"gloss-magnitude-bar",
|
|
3421
3422
|
`gloss-magnitude-bar--${t}`,
|
|
3422
|
-
|
|
3423
|
+
a ?? ""
|
|
3423
3424
|
].filter(Boolean).join(" "),
|
|
3424
|
-
style: { "--_fill": `${
|
|
3425
|
+
style: { "--_fill": `${n}%` },
|
|
3425
3426
|
children: /* @__PURE__ */ r("div", { className: "gloss-magnitude-bar__fill" })
|
|
3426
3427
|
}
|
|
3427
3428
|
);
|
|
3428
3429
|
}
|
|
3429
3430
|
X.displayName = "MagnitudeBar";
|
|
3430
|
-
const
|
|
3431
|
-
function
|
|
3431
|
+
const Zt = (e) => e.rankDelta === "new" ? "New entry" : e.direction === "up" ? `Rank up ${e.rankDelta}` : e.direction === "down" ? `Rank down ${e.rankDelta}` : "Rank unchanged";
|
|
3432
|
+
function ea({
|
|
3432
3433
|
label: e,
|
|
3433
3434
|
rows: t,
|
|
3434
|
-
rowCount:
|
|
3435
|
-
rankDeltaPeriod:
|
|
3436
|
-
isStale:
|
|
3435
|
+
rowCount: a,
|
|
3436
|
+
rankDeltaPeriod: n,
|
|
3437
|
+
isStale: i
|
|
3437
3438
|
}) {
|
|
3438
|
-
const
|
|
3439
|
-
return /* @__PURE__ */ f(
|
|
3439
|
+
const s = a ?? 3;
|
|
3440
|
+
return /* @__PURE__ */ f(I, { children: [
|
|
3440
3441
|
/* @__PURE__ */ r(
|
|
3441
3442
|
Y,
|
|
3442
3443
|
{
|
|
@@ -3448,10 +3449,10 @@ function ta({
|
|
|
3448
3449
|
/* @__PURE__ */ r(
|
|
3449
3450
|
Y,
|
|
3450
3451
|
{
|
|
3451
|
-
className: `gloss-metric-card__zone-b gloss-leaderboard ${
|
|
3452
|
+
className: `gloss-metric-card__zone-b gloss-leaderboard ${i ? "gloss-metric-data-stale" : ""}`,
|
|
3452
3453
|
style: { flex: 1, zIndex: 2, position: "relative", minHeight: 0 },
|
|
3453
|
-
children: /* @__PURE__ */ r("div", { className: "gloss-leaderboard__rows", role: "list", children: t.slice(0,
|
|
3454
|
-
|
|
3454
|
+
children: /* @__PURE__ */ r("div", { className: "gloss-leaderboard__rows", role: "list", children: t.slice(0, s).map((l, o) => /* @__PURE__ */ r(
|
|
3455
|
+
$,
|
|
3455
3456
|
{
|
|
3456
3457
|
lead: /* @__PURE__ */ r(Q, { rank: o + 1 }),
|
|
3457
3458
|
name: l.name,
|
|
@@ -3468,7 +3469,7 @@ function ta({
|
|
|
3468
3469
|
{
|
|
3469
3470
|
delta: l.rankDelta,
|
|
3470
3471
|
direction: l.direction,
|
|
3471
|
-
"aria-label":
|
|
3472
|
+
"aria-label": Zt(l)
|
|
3472
3473
|
}
|
|
3473
3474
|
),
|
|
3474
3475
|
variant: "leaderboard",
|
|
@@ -3479,55 +3480,55 @@ function ta({
|
|
|
3479
3480
|
}
|
|
3480
3481
|
),
|
|
3481
3482
|
/* @__PURE__ */ f("div", { className: "gloss-leaderboard__zone-c", children: [
|
|
3482
|
-
|
|
3483
|
+
n ?? "WoW",
|
|
3483
3484
|
" rank change"
|
|
3484
3485
|
] })
|
|
3485
3486
|
] });
|
|
3486
3487
|
}
|
|
3487
|
-
|
|
3488
|
-
const
|
|
3488
|
+
ea.displayName = "LeaderboardCard";
|
|
3489
|
+
const ta = () => /* @__PURE__ */ f(
|
|
3489
3490
|
"div",
|
|
3490
3491
|
{
|
|
3491
3492
|
className: "leaderboard-tile-preview",
|
|
3492
3493
|
"aria-hidden": "true",
|
|
3493
3494
|
style: { transform: "scale(0.6)", transformOrigin: "top left" },
|
|
3494
3495
|
children: [
|
|
3495
|
-
/* @__PURE__ */ r(
|
|
3496
|
-
/* @__PURE__ */ r(
|
|
3497
|
-
/* @__PURE__ */ r(
|
|
3496
|
+
/* @__PURE__ */ r($, { lead: /* @__PURE__ */ r(Q, { rank: 1 }), name: "Vendor A", secondary: /* @__PURE__ */ r(X, { fill: 96 }), value: "98%" }),
|
|
3497
|
+
/* @__PURE__ */ r($, { lead: /* @__PURE__ */ r(Q, { rank: 2 }), name: "Vendor B", secondary: /* @__PURE__ */ r(X, { fill: 72 }), value: "85%" }),
|
|
3498
|
+
/* @__PURE__ */ r($, { lead: /* @__PURE__ */ r(Q, { rank: 3 }), name: "Vendor C", secondary: /* @__PURE__ */ r(X, { fill: 48 }), value: "71%" })
|
|
3498
3499
|
]
|
|
3499
3500
|
}
|
|
3500
3501
|
);
|
|
3501
|
-
|
|
3502
|
-
const
|
|
3503
|
-
const
|
|
3504
|
-
if (typeof
|
|
3502
|
+
ta.displayName = "LeaderboardTilePreview";
|
|
3503
|
+
const aa = (e) => e === "critical" ? "Critical severity" : e === "warn" ? "Warning severity" : "Info severity", ra = (e, t) => {
|
|
3504
|
+
const a = e.sourceValue;
|
|
3505
|
+
if (typeof a != "number") return !1;
|
|
3505
3506
|
switch (t.condition) {
|
|
3506
3507
|
case "lt":
|
|
3507
|
-
return
|
|
3508
|
+
return a < t.threshold;
|
|
3508
3509
|
case "gt":
|
|
3509
|
-
return
|
|
3510
|
+
return a > t.threshold;
|
|
3510
3511
|
case "eq":
|
|
3511
|
-
return
|
|
3512
|
+
return a === t.threshold;
|
|
3512
3513
|
case "gte":
|
|
3513
|
-
return
|
|
3514
|
+
return a >= t.threshold;
|
|
3514
3515
|
case "lte":
|
|
3515
|
-
return
|
|
3516
|
+
return a <= t.threshold;
|
|
3516
3517
|
default:
|
|
3517
3518
|
return !1;
|
|
3518
3519
|
}
|
|
3519
3520
|
};
|
|
3520
|
-
function
|
|
3521
|
+
function na({
|
|
3521
3522
|
label: e,
|
|
3522
3523
|
rows: t,
|
|
3523
|
-
rule:
|
|
3524
|
-
rowCount:
|
|
3525
|
-
emptyStateLabel:
|
|
3526
|
-
ruleSubtitle:
|
|
3524
|
+
rule: a,
|
|
3525
|
+
rowCount: n,
|
|
3526
|
+
emptyStateLabel: i,
|
|
3527
|
+
ruleSubtitle: s,
|
|
3527
3528
|
isStale: l
|
|
3528
3529
|
}) {
|
|
3529
|
-
const o = t.filter((m) =>
|
|
3530
|
-
return o.length === 0 ? /* @__PURE__ */ f(
|
|
3530
|
+
const o = t.filter((m) => ra(m, a)), u = o.slice(0, n ?? 3);
|
|
3531
|
+
return o.length === 0 ? /* @__PURE__ */ f(I, { children: [
|
|
3531
3532
|
/* @__PURE__ */ r(
|
|
3532
3533
|
Y,
|
|
3533
3534
|
{
|
|
@@ -3536,9 +3537,9 @@ function sa({
|
|
|
3536
3537
|
children: /* @__PURE__ */ r(ne, { className: "gloss-metric-card__label", children: e })
|
|
3537
3538
|
}
|
|
3538
3539
|
),
|
|
3539
|
-
/* @__PURE__ */ r("div", { className: "gloss-exception-list__empty", role: "status", children:
|
|
3540
|
-
|
|
3541
|
-
] }) : /* @__PURE__ */ f(
|
|
3540
|
+
/* @__PURE__ */ r("div", { className: "gloss-exception-list__empty", role: "status", children: i ?? "No exceptions" }),
|
|
3541
|
+
s && /* @__PURE__ */ r("div", { className: "gloss-exception-list__zone-c", children: s })
|
|
3542
|
+
] }) : /* @__PURE__ */ f(I, { children: [
|
|
3542
3543
|
/* @__PURE__ */ r(
|
|
3543
3544
|
Y,
|
|
3544
3545
|
{
|
|
@@ -3553,9 +3554,9 @@ function sa({
|
|
|
3553
3554
|
className: `gloss-metric-card__zone-b gloss-exception-list ${l ? "gloss-metric-data-stale" : ""}`,
|
|
3554
3555
|
style: { flex: 1, zIndex: 2, position: "relative", minHeight: 0 },
|
|
3555
3556
|
children: /* @__PURE__ */ r("div", { className: "gloss-exception-list__rows", role: "list", children: u.map((m, d) => /* @__PURE__ */ r(
|
|
3556
|
-
|
|
3557
|
+
$,
|
|
3557
3558
|
{
|
|
3558
|
-
lead: /* @__PURE__ */ r(J, { severity: m.severity, "aria-label":
|
|
3559
|
+
lead: /* @__PURE__ */ r(J, { severity: m.severity, "aria-label": aa(m.severity) }),
|
|
3559
3560
|
name: m.name,
|
|
3560
3561
|
value: m.value,
|
|
3561
3562
|
variant: "exception",
|
|
@@ -3565,11 +3566,11 @@ function sa({
|
|
|
3565
3566
|
)) })
|
|
3566
3567
|
}
|
|
3567
3568
|
),
|
|
3568
|
-
|
|
3569
|
+
s && /* @__PURE__ */ r("div", { className: "gloss-exception-list__zone-c", children: s })
|
|
3569
3570
|
] });
|
|
3570
3571
|
}
|
|
3571
|
-
|
|
3572
|
-
const
|
|
3572
|
+
na.displayName = "ExceptionListCard";
|
|
3573
|
+
const sa = () => /* @__PURE__ */ f(
|
|
3573
3574
|
"div",
|
|
3574
3575
|
{
|
|
3575
3576
|
className: "exception-list-tile-preview",
|
|
@@ -3577,7 +3578,7 @@ const ia = () => /* @__PURE__ */ f(
|
|
|
3577
3578
|
style: { transform: "scale(0.6)", transformOrigin: "top left" },
|
|
3578
3579
|
children: [
|
|
3579
3580
|
/* @__PURE__ */ r(
|
|
3580
|
-
|
|
3581
|
+
$,
|
|
3581
3582
|
{
|
|
3582
3583
|
lead: /* @__PURE__ */ r(J, { severity: "critical", "aria-label": "Critical severity" }),
|
|
3583
3584
|
name: "SKU A",
|
|
@@ -3585,7 +3586,7 @@ const ia = () => /* @__PURE__ */ f(
|
|
|
3585
3586
|
}
|
|
3586
3587
|
),
|
|
3587
3588
|
/* @__PURE__ */ r(
|
|
3588
|
-
|
|
3589
|
+
$,
|
|
3589
3590
|
{
|
|
3590
3591
|
lead: /* @__PURE__ */ r(J, { severity: "warn", "aria-label": "Warning severity" }),
|
|
3591
3592
|
name: "SKU B",
|
|
@@ -3593,7 +3594,7 @@ const ia = () => /* @__PURE__ */ f(
|
|
|
3593
3594
|
}
|
|
3594
3595
|
),
|
|
3595
3596
|
/* @__PURE__ */ r(
|
|
3596
|
-
|
|
3597
|
+
$,
|
|
3597
3598
|
{
|
|
3598
3599
|
lead: /* @__PURE__ */ r(J, { severity: "info", "aria-label": "Info severity" }),
|
|
3599
3600
|
name: "SKU C",
|
|
@@ -3603,31 +3604,31 @@ const ia = () => /* @__PURE__ */ f(
|
|
|
3603
3604
|
]
|
|
3604
3605
|
}
|
|
3605
3606
|
);
|
|
3606
|
-
|
|
3607
|
+
sa.displayName = "ExceptionListTilePreview";
|
|
3607
3608
|
const ye = ["MTD", "QTD", "YTD", "LYTD", "7D"], we = ["$248K", "$612K", "$1.24M", "$980K", "$54K"], _e = [
|
|
3608
3609
|
"M0,7 L10,5 L20,6 L30,3 L40,2",
|
|
3609
3610
|
"M0,6 L10,4 L20,5 L30,2 L40,1",
|
|
3610
3611
|
"M0,8 L10,7 L20,5 L30,4 L40,2",
|
|
3611
3612
|
"M0,5 L10,6 L20,3 L30,4 L40,1",
|
|
3612
3613
|
"M0,7 L10,4 L20,5 L30,3 L40,2"
|
|
3613
|
-
],
|
|
3614
|
+
], ia = ({
|
|
3614
3615
|
slotCount: e = 3,
|
|
3615
3616
|
labels: t = ye,
|
|
3616
|
-
sampleValues:
|
|
3617
|
+
sampleValues: a = we
|
|
3617
3618
|
}) => {
|
|
3618
|
-
const
|
|
3619
|
-
label: t[
|
|
3620
|
-
value:
|
|
3621
|
-
sparkPath: _e[
|
|
3619
|
+
const n = Array.from({ length: e }, (i, s) => ({
|
|
3620
|
+
label: t[s] ?? ye[s] ?? "",
|
|
3621
|
+
value: a[s] ?? we[s] ?? "",
|
|
3622
|
+
sparkPath: _e[s % _e.length]
|
|
3622
3623
|
}));
|
|
3623
|
-
return e === 1 ? /* @__PURE__ */ r("div", { className: "gloss-stacked-group-tile-preview gloss-stacked-group-tile-preview--single", "aria-hidden": "true", children: /* @__PURE__ */ r("div", { className: "gloss-stacked-group-tile-preview__single-value", children:
|
|
3624
|
+
return e === 1 ? /* @__PURE__ */ r("div", { className: "gloss-stacked-group-tile-preview gloss-stacked-group-tile-preview--single", "aria-hidden": "true", children: /* @__PURE__ */ r("div", { className: "gloss-stacked-group-tile-preview__single-value", children: n[0].value }) }) : /* @__PURE__ */ r(
|
|
3624
3625
|
"div",
|
|
3625
3626
|
{
|
|
3626
3627
|
className: `gloss-stacked-group-tile-preview gloss-stacked-group-tile-preview--slots-${e}`,
|
|
3627
3628
|
"aria-hidden": "true",
|
|
3628
|
-
children:
|
|
3629
|
-
/* @__PURE__ */ r("span", { className: "gloss-stacked-group-tile-preview__row-label", children:
|
|
3630
|
-
/* @__PURE__ */ r("span", { className: "gloss-stacked-group-tile-preview__row-value", children:
|
|
3629
|
+
children: n.map((i, s) => /* @__PURE__ */ f("div", { className: "gloss-stacked-group-tile-preview__row", children: [
|
|
3630
|
+
/* @__PURE__ */ r("span", { className: "gloss-stacked-group-tile-preview__row-label", children: i.label }),
|
|
3631
|
+
/* @__PURE__ */ r("span", { className: "gloss-stacked-group-tile-preview__row-value", children: i.value }),
|
|
3631
3632
|
/* @__PURE__ */ r(
|
|
3632
3633
|
"svg",
|
|
3633
3634
|
{
|
|
@@ -3637,15 +3638,15 @@ const ye = ["MTD", "QTD", "YTD", "LYTD", "7D"], we = ["$248K", "$612K", "$1.24M"
|
|
|
3637
3638
|
height: "10",
|
|
3638
3639
|
preserveAspectRatio: "none",
|
|
3639
3640
|
"aria-hidden": "true",
|
|
3640
|
-
children: /* @__PURE__ */ r("path", { d:
|
|
3641
|
+
children: /* @__PURE__ */ r("path", { d: i.sparkPath, fill: "none", stroke: "currentColor", strokeWidth: "1" })
|
|
3641
3642
|
}
|
|
3642
3643
|
)
|
|
3643
|
-
] },
|
|
3644
|
+
] }, s))
|
|
3644
3645
|
}
|
|
3645
3646
|
);
|
|
3646
3647
|
};
|
|
3647
|
-
|
|
3648
|
-
const
|
|
3648
|
+
ia.displayName = "StackedGroupTilePreview";
|
|
3649
|
+
const Ur = {
|
|
3649
3650
|
/** GEV-01 — Eligibility tint. Contiguous-from-source paint; blocked by first occupied cell (Principle 4). */
|
|
3650
3651
|
eligibilityTint: { applicableStates: ["arming", "active"] },
|
|
3651
3652
|
/** GEV-01 — Commit tint. Fill+stroke emphasis on the commit-target cell footprint (G-02). */
|
|
@@ -3679,7 +3680,7 @@ const Yr = {
|
|
|
3679
3680
|
// Rejection +2 stroke (sparse-dash)
|
|
3680
3681
|
trackingOutline: "#2541A1"
|
|
3681
3682
|
// Action +3 — same hex as commitStroke per D-01
|
|
3682
|
-
},
|
|
3683
|
+
}, W = {
|
|
3683
3684
|
baseCellTint: "var(--gloss-g02-base-cell-tint)",
|
|
3684
3685
|
eligibilityFill: "var(--gloss-g02-eligibility-fill)",
|
|
3685
3686
|
commitFill: "var(--gloss-g02-commit-fill)",
|
|
@@ -3687,20 +3688,20 @@ const Yr = {
|
|
|
3687
3688
|
rejectionFill: "var(--gloss-g02-rejection-fill)",
|
|
3688
3689
|
rejectionStroke: "var(--gloss-g02-rejection-stroke)",
|
|
3689
3690
|
trackingOutline: "var(--gloss-g02-tracking-outline)"
|
|
3690
|
-
},
|
|
3691
|
-
function
|
|
3691
|
+
}, Yr = "dashed", qr = "solid", Qr = "sparse-dash", Jr = "2px no-fill", Xr = "6 4", Zr = "10 6", la = 3;
|
|
3692
|
+
function en({
|
|
3692
3693
|
cell: e,
|
|
3693
3694
|
variant: t,
|
|
3694
|
-
rampColor:
|
|
3695
|
-
colWidth:
|
|
3696
|
-
rowHeight:
|
|
3697
|
-
gap:
|
|
3695
|
+
rampColor: a,
|
|
3696
|
+
colWidth: n,
|
|
3697
|
+
rowHeight: i,
|
|
3698
|
+
gap: s,
|
|
3698
3699
|
className: l
|
|
3699
3700
|
}) {
|
|
3700
|
-
const u = (e.section *
|
|
3701
|
+
const u = (e.section * la + e.col) * (n + s), m = e.row * (i + s), d = t === "eligibility" ? W.eligibilityFill : t === "commit" ? W.commitFill : t === "rejection" ? W.rejectionFill : (
|
|
3701
3702
|
/* ramp */
|
|
3702
|
-
|
|
3703
|
-
), g = t === "rejection", c = g ?
|
|
3703
|
+
a ?? W.eligibilityFill
|
|
3704
|
+
), g = t === "rejection", c = g ? W.rejectionStroke : "transparent", p = g ? "dashed" : "solid";
|
|
3704
3705
|
return /* @__PURE__ */ r(
|
|
3705
3706
|
"div",
|
|
3706
3707
|
{
|
|
@@ -3714,8 +3715,8 @@ function tn({
|
|
|
3714
3715
|
"aria-hidden": "true",
|
|
3715
3716
|
style: {
|
|
3716
3717
|
transform: `translate(${u}px, ${m}px)`,
|
|
3717
|
-
width:
|
|
3718
|
-
height:
|
|
3718
|
+
width: n,
|
|
3719
|
+
height: i,
|
|
3719
3720
|
// Use background-color longhand (NOT background shorthand) so jsdom + DOM
|
|
3720
3721
|
// both preserve `var(...)` in inline cssText. The shorthand getter strips
|
|
3721
3722
|
// unknown values and breaks both unit-test introspection and styling.
|
|
@@ -3726,24 +3727,24 @@ function tn({
|
|
|
3726
3727
|
}
|
|
3727
3728
|
);
|
|
3728
3729
|
}
|
|
3729
|
-
const
|
|
3730
|
+
const oa = 3, ca = [
|
|
3730
3731
|
{ idx: 0, peakR: 22, peakOpacity: 0.45, strokeW: 1.5 },
|
|
3731
3732
|
{ idx: 1, peakR: 34, peakOpacity: 0.22, strokeW: 1 },
|
|
3732
3733
|
{ idx: 2, peakR: 46, peakOpacity: 0.1, strokeW: 0.8 }
|
|
3733
3734
|
];
|
|
3734
|
-
function
|
|
3735
|
+
function tn({
|
|
3735
3736
|
cell: e,
|
|
3736
3737
|
fireKey: t,
|
|
3737
|
-
colWidth:
|
|
3738
|
-
rowHeight:
|
|
3739
|
-
gap:
|
|
3740
|
-
className:
|
|
3738
|
+
colWidth: a,
|
|
3739
|
+
rowHeight: n,
|
|
3740
|
+
gap: i,
|
|
3741
|
+
className: s
|
|
3741
3742
|
}) {
|
|
3742
|
-
const o = (e.section *
|
|
3743
|
+
const o = (e.section * oa + e.col) * (a + i) + a / 2, u = e.row * (n + i) + n / 2;
|
|
3743
3744
|
return Ie() === "reduced" ? /* @__PURE__ */ r(
|
|
3744
3745
|
"div",
|
|
3745
3746
|
{
|
|
3746
|
-
className: ["gloss-refuse-pulse-flash",
|
|
3747
|
+
className: ["gloss-refuse-pulse-flash", s].filter(Boolean).join(" "),
|
|
3747
3748
|
"data-testid": "gloss-refuse-pulse-flash",
|
|
3748
3749
|
"data-fire-key": t,
|
|
3749
3750
|
"aria-hidden": "true",
|
|
@@ -3754,7 +3755,7 @@ function an({
|
|
|
3754
3755
|
width: 48,
|
|
3755
3756
|
height: 48,
|
|
3756
3757
|
borderRadius: "50%",
|
|
3757
|
-
background:
|
|
3758
|
+
background: W.rejectionStroke,
|
|
3758
3759
|
opacity: 0.45,
|
|
3759
3760
|
pointerEvents: "none",
|
|
3760
3761
|
animation: "gloss-refuse-pulse-instant-flash 80ms linear forwards"
|
|
@@ -3764,7 +3765,7 @@ function an({
|
|
|
3764
3765
|
) : /* @__PURE__ */ r(
|
|
3765
3766
|
"div",
|
|
3766
3767
|
{
|
|
3767
|
-
className: ["gloss-refuse-pulse",
|
|
3768
|
+
className: ["gloss-refuse-pulse", s].filter(Boolean).join(" "),
|
|
3768
3769
|
"data-testid": "gloss-refuse-pulse",
|
|
3769
3770
|
"data-fire-key": t,
|
|
3770
3771
|
"data-cx": o,
|
|
@@ -3776,7 +3777,7 @@ function an({
|
|
|
3776
3777
|
top: 0,
|
|
3777
3778
|
pointerEvents: "none"
|
|
3778
3779
|
},
|
|
3779
|
-
children:
|
|
3780
|
+
children: ca.map((d) => {
|
|
3780
3781
|
const g = d.peakR * 2;
|
|
3781
3782
|
return /* @__PURE__ */ r(
|
|
3782
3783
|
"div",
|
|
@@ -3794,7 +3795,7 @@ function an({
|
|
|
3794
3795
|
borderRadius: "50%",
|
|
3795
3796
|
borderStyle: "solid",
|
|
3796
3797
|
borderWidth: d.strokeW,
|
|
3797
|
-
borderColor:
|
|
3798
|
+
borderColor: W.rejectionStroke,
|
|
3798
3799
|
background: "transparent",
|
|
3799
3800
|
opacity: 0,
|
|
3800
3801
|
transform: "scale(0)",
|
|
@@ -3810,28 +3811,28 @@ function an({
|
|
|
3810
3811
|
t
|
|
3811
3812
|
);
|
|
3812
3813
|
}
|
|
3813
|
-
function
|
|
3814
|
+
function an(e) {
|
|
3814
3815
|
return /* @__PURE__ */ r(Le, { gesture: "resize", ...e });
|
|
3815
3816
|
}
|
|
3816
|
-
function
|
|
3817
|
-
const
|
|
3817
|
+
function da(e, t, a) {
|
|
3818
|
+
const n = Math.max(0, Math.min(1, a)), i = (g) => [
|
|
3818
3819
|
parseInt(g.slice(1, 3), 16),
|
|
3819
3820
|
parseInt(g.slice(3, 5), 16),
|
|
3820
3821
|
parseInt(g.slice(5, 7), 16)
|
|
3821
|
-
], [
|
|
3822
|
-
return `rgb(${Math.round(
|
|
3823
|
-
o + (d - o) *
|
|
3822
|
+
], [s, l, o] = i(e), [u, m, d] = i(t);
|
|
3823
|
+
return `rgb(${Math.round(s + (u - s) * n)}, ${Math.round(l + (m - l) * n)}, ${Math.round(
|
|
3824
|
+
o + (d - o) * n
|
|
3824
3825
|
)})`;
|
|
3825
3826
|
}
|
|
3826
|
-
function
|
|
3827
|
+
function ua(e) {
|
|
3827
3828
|
return e <= 1 ? 1 : e >= 3 ? 3 : 2;
|
|
3828
3829
|
}
|
|
3829
|
-
function
|
|
3830
|
+
function ma(e) {
|
|
3830
3831
|
return e === "dragging";
|
|
3831
3832
|
}
|
|
3832
|
-
function
|
|
3833
|
-
const { edgeHover: t, sourceCell:
|
|
3834
|
-
if (
|
|
3833
|
+
function rn(e) {
|
|
3834
|
+
const { edgeHover: t, sourceCell: a, cascadeResult: n } = e, s = Ie() === "reduced", l = O.useRef(t.currentColSpan), o = O.useRef({ armed: !0, fireKey: 0, lastResult: null }), u = O.useRef(t.currentColSpan), m = O.useRef("idle"), d = O.useRef(t.currentColSpan), g = ma(t.state);
|
|
3835
|
+
if (s ? (m.current = "settled", d.current = t.currentColSpan, u.current = t.currentColSpan) : g ? m.current = t.currentColSpan !== u.current ? "incoming" : "outgoing" : (t.currentColSpan !== u.current && (d.current = t.currentColSpan, u.current = t.currentColSpan), m.current !== "idle" && (m.current = "settled")), !g)
|
|
3835
3836
|
return o.current.armed = !0, o.current.lastResult = null, {
|
|
3836
3837
|
trackingOutline: null,
|
|
3837
3838
|
cellTints: [],
|
|
@@ -3840,7 +3841,7 @@ function nn(e) {
|
|
|
3840
3841
|
phase: m.current,
|
|
3841
3842
|
displayColSpan: d.current
|
|
3842
3843
|
};
|
|
3843
|
-
const c = t.hysteresisTargetColSpan, p = t.previewColSpan, b =
|
|
3844
|
+
const c = t.hysteresisTargetColSpan, p = t.previewColSpan, b = n?.result === "rejected";
|
|
3844
3845
|
b || (l.current = c), b && o.current.armed && o.current.lastResult !== "rejected" && (o.current.fireKey += 1, o.current.armed = !1), o.current.lastResult = b ? "rejected" : "ok";
|
|
3845
3846
|
const k = b ? l.current : c, w = {
|
|
3846
3847
|
cell: { section: 0, col: 0, row: 0 },
|
|
@@ -3848,44 +3849,44 @@ function nn(e) {
|
|
|
3848
3849
|
pattern: b ? "dashed-retreated" : "solid"
|
|
3849
3850
|
}, y = [];
|
|
3850
3851
|
if (b) {
|
|
3851
|
-
const S =
|
|
3852
|
+
const S = a.col + l.current, R = a.col + c - 1;
|
|
3852
3853
|
for (let h = S; h <= R && h <= 2; h++)
|
|
3853
3854
|
y.push({
|
|
3854
3855
|
cell: {
|
|
3855
3856
|
section: 0,
|
|
3856
|
-
col: h -
|
|
3857
|
+
col: h - a.col,
|
|
3857
3858
|
row: 0
|
|
3858
3859
|
},
|
|
3859
3860
|
variant: "rejection"
|
|
3860
3861
|
});
|
|
3861
3862
|
} else {
|
|
3862
3863
|
const S = Math.abs(p - c), R = Math.max(0, Math.min(1, 1 - S));
|
|
3863
|
-
for (let h =
|
|
3864
|
-
if (h ===
|
|
3865
|
-
const v = h ===
|
|
3864
|
+
for (let h = a.col; h < a.col + c && h <= 2; h++) {
|
|
3865
|
+
if (h === a.col) continue;
|
|
3866
|
+
const v = h === a.col + c - 1, N = {
|
|
3866
3867
|
section: 0,
|
|
3867
|
-
col: h -
|
|
3868
|
+
col: h - a.col,
|
|
3868
3869
|
row: 0
|
|
3869
3870
|
};
|
|
3870
|
-
v && t.direction.startsWith("grow") && c > 1 && !
|
|
3871
|
+
v && t.direction.startsWith("grow") && c > 1 && !s && S > 0 && S < 1 ? y.push({
|
|
3871
3872
|
cell: N,
|
|
3872
3873
|
variant: "ramp",
|
|
3873
|
-
rampColor:
|
|
3874
|
+
rampColor: da(Ce.eligibilityFill, Ce.commitFill, R)
|
|
3874
3875
|
}) : v ? y.push({ cell: N, variant: "commit" }) : y.push({ cell: N, variant: "eligibility" });
|
|
3875
3876
|
}
|
|
3876
3877
|
}
|
|
3877
3878
|
const T = [];
|
|
3878
3879
|
if (t.currentColSpan > c)
|
|
3879
|
-
for (let S =
|
|
3880
|
+
for (let S = a.col + c; S < a.col + t.currentColSpan && S <= 2; S++)
|
|
3880
3881
|
T.push({
|
|
3881
3882
|
section: 0,
|
|
3882
|
-
col: S -
|
|
3883
|
+
col: S - a.col,
|
|
3883
3884
|
row: 0
|
|
3884
3885
|
});
|
|
3885
3886
|
const _ = o.current.fireKey > 0 ? {
|
|
3886
3887
|
cell: {
|
|
3887
3888
|
section: 0,
|
|
3888
|
-
col:
|
|
3889
|
+
col: ua(
|
|
3889
3890
|
Math.min(l.current, 2)
|
|
3890
3891
|
),
|
|
3891
3892
|
row: 0
|
|
@@ -3901,7 +3902,7 @@ function nn(e) {
|
|
|
3901
3902
|
displayColSpan: d.current
|
|
3902
3903
|
};
|
|
3903
3904
|
}
|
|
3904
|
-
const
|
|
3905
|
+
const G = {
|
|
3905
3906
|
"gloss-inline-nudge": "_gloss-inline-nudge_kdk88_34",
|
|
3906
3907
|
"gloss-inline-nudge__message": "_gloss-inline-nudge__message_kdk88_65",
|
|
3907
3908
|
"gloss-inline-nudge__actions": "_gloss-inline-nudge__actions_kdk88_72",
|
|
@@ -3909,48 +3910,48 @@ const H = {
|
|
|
3909
3910
|
"gloss-inline-nudge__btn--action": "_gloss-inline-nudge__btn--action_kdk88_88",
|
|
3910
3911
|
"gloss-inline-nudge__btn--dismiss": "_gloss-inline-nudge__btn--dismiss_kdk88_96"
|
|
3911
3912
|
};
|
|
3912
|
-
function
|
|
3913
|
+
function pa({
|
|
3913
3914
|
message: e,
|
|
3914
3915
|
primaryAction: t,
|
|
3915
|
-
onDismiss:
|
|
3916
|
-
anchorEl:
|
|
3917
|
-
anchorSelector:
|
|
3916
|
+
onDismiss: a,
|
|
3917
|
+
anchorEl: n,
|
|
3918
|
+
anchorSelector: i
|
|
3918
3919
|
}) {
|
|
3919
|
-
const [
|
|
3920
|
+
const [s, l] = V.useState(null), o = V.useMemo(
|
|
3920
3921
|
() => typeof window < "u" && window.matchMedia ? window.matchMedia("(prefers-reduced-motion: reduce)").matches : !1,
|
|
3921
3922
|
[]
|
|
3922
3923
|
);
|
|
3923
|
-
|
|
3924
|
-
!
|
|
3924
|
+
V.useEffect(() => {
|
|
3925
|
+
!n && !i && (typeof process > "u" || process.env.NODE_ENV !== "production") && console.error(
|
|
3925
3926
|
"[InlineNudge] requires anchorEl or anchorSelector. AP-07: Do not mount InlineNudge in Layout/** or _app.tsx."
|
|
3926
3927
|
);
|
|
3927
|
-
}, [
|
|
3928
|
+
}, [n, i]), V.useLayoutEffect(() => {
|
|
3928
3929
|
let m = null;
|
|
3929
|
-
if (
|
|
3930
|
+
if (n ? m = n : i && (m = document.querySelector(i)), m) {
|
|
3930
3931
|
const d = m.getBoundingClientRect();
|
|
3931
3932
|
l({
|
|
3932
3933
|
top: d.bottom + window.scrollY + 6,
|
|
3933
3934
|
left: d.left + window.scrollX
|
|
3934
3935
|
});
|
|
3935
3936
|
}
|
|
3936
|
-
}, [
|
|
3937
|
-
const u =
|
|
3937
|
+
}, [n, i]);
|
|
3938
|
+
const u = s ? { top: s.top, left: s.left } : {};
|
|
3938
3939
|
return /* @__PURE__ */ f(
|
|
3939
3940
|
"div",
|
|
3940
3941
|
{
|
|
3941
|
-
className:
|
|
3942
|
+
className: G["gloss-inline-nudge"],
|
|
3942
3943
|
style: u,
|
|
3943
3944
|
role: "status",
|
|
3944
3945
|
"aria-live": "polite",
|
|
3945
3946
|
"data-reduced-motion": o ? "true" : void 0,
|
|
3946
3947
|
children: [
|
|
3947
|
-
/* @__PURE__ */ r("span", { className:
|
|
3948
|
-
/* @__PURE__ */ f("div", { className:
|
|
3948
|
+
/* @__PURE__ */ r("span", { className: G["gloss-inline-nudge__message"], children: e }),
|
|
3949
|
+
/* @__PURE__ */ f("div", { className: G["gloss-inline-nudge__actions"], children: [
|
|
3949
3950
|
/* @__PURE__ */ r(
|
|
3950
3951
|
"button",
|
|
3951
3952
|
{
|
|
3952
3953
|
type: "button",
|
|
3953
|
-
className: `${
|
|
3954
|
+
className: `${G["gloss-inline-nudge__btn"]} ${G["gloss-inline-nudge__btn--action"]}`,
|
|
3954
3955
|
onClick: t.onClick,
|
|
3955
3956
|
children: t.label
|
|
3956
3957
|
}
|
|
@@ -3959,8 +3960,8 @@ function ga({
|
|
|
3959
3960
|
"button",
|
|
3960
3961
|
{
|
|
3961
3962
|
type: "button",
|
|
3962
|
-
className: `${
|
|
3963
|
-
onClick:
|
|
3963
|
+
className: `${G["gloss-inline-nudge__btn"]} ${G["gloss-inline-nudge__btn--dismiss"]}`,
|
|
3964
|
+
onClick: a,
|
|
3964
3965
|
"aria-label": "Dismiss",
|
|
3965
3966
|
children: "Dismiss"
|
|
3966
3967
|
}
|
|
@@ -3970,60 +3971,60 @@ function ga({
|
|
|
3970
3971
|
}
|
|
3971
3972
|
);
|
|
3972
3973
|
}
|
|
3973
|
-
|
|
3974
|
+
pa.displayName = "InlineNudge";
|
|
3974
3975
|
function oe(e) {
|
|
3975
3976
|
return e.colorToken ? `var(--gloss-color-${e.colorToken}, ${e.color ?? "#888"})` : e.color ?? "#888";
|
|
3976
3977
|
}
|
|
3977
|
-
function
|
|
3978
|
-
if (
|
|
3978
|
+
function ga(e, t, a) {
|
|
3979
|
+
if (a <= t) {
|
|
3979
3980
|
const l = e[0], o = l ? oe(l) : "#888";
|
|
3980
3981
|
return `linear-gradient(to right, ${o}, ${o})`;
|
|
3981
3982
|
}
|
|
3982
|
-
const
|
|
3983
|
-
const o = (l.value - t) /
|
|
3983
|
+
const n = a - t, s = [...e].sort((l, o) => l.value - o.value).map((l) => {
|
|
3984
|
+
const o = (l.value - t) / n * 100;
|
|
3984
3985
|
return `${oe(l)} ${o.toFixed(2)}%`;
|
|
3985
3986
|
});
|
|
3986
|
-
return
|
|
3987
|
+
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(", ")})`;
|
|
3987
3988
|
}
|
|
3988
|
-
function
|
|
3989
|
+
function ha(e) {
|
|
3989
3990
|
return e.map((t) => `${t.id}:${t.value}`).join("|");
|
|
3990
3991
|
}
|
|
3991
|
-
function
|
|
3992
|
+
function fa({
|
|
3992
3993
|
stops: e,
|
|
3993
3994
|
onChange: t,
|
|
3994
|
-
min:
|
|
3995
|
-
max:
|
|
3996
|
-
step:
|
|
3997
|
-
disabled:
|
|
3995
|
+
min: a = 0,
|
|
3996
|
+
max: n = 100,
|
|
3997
|
+
step: i,
|
|
3998
|
+
disabled: s = !1
|
|
3998
3999
|
}) {
|
|
3999
|
-
const l =
|
|
4000
|
-
`ThresholdRamp: step (${
|
|
4001
|
-
), 0.01) :
|
|
4000
|
+
const l = i === void 0 ? 0.01 : !Number.isFinite(i) || i <= 0 ? (process.env.NODE_ENV !== "production" && console.warn(
|
|
4001
|
+
`ThresholdRamp: step (${i}) must be a positive finite number; falling back to 0.01.`
|
|
4002
|
+
), 0.01) : i, o = C(
|
|
4002
4003
|
(h) => Math.round(h / l) * l,
|
|
4003
4004
|
[l]
|
|
4004
|
-
), u = M(null), [m, d] = A(null), [g, c] = A(e), p =
|
|
4005
|
+
), u = M(null), [m, d] = A(null), [g, c] = A(e), p = ha(e), b = M(p);
|
|
4005
4006
|
E(() => {
|
|
4006
4007
|
b.current !== p && (b.current = p, !m && c(e));
|
|
4007
4008
|
}, [p, e, m]);
|
|
4008
|
-
const k = ce(() =>
|
|
4009
|
+
const k = ce(() => ga(g, a, n), [g, a, n]), w = C(
|
|
4009
4010
|
(h) => {
|
|
4010
|
-
if (!u.current) return
|
|
4011
|
-
const v = u.current.getBoundingClientRect(), N = v.width || 1, x = Math.max(0, Math.min(1, (h - v.left) / N)), P =
|
|
4011
|
+
if (!u.current) return a;
|
|
4012
|
+
const v = u.current.getBoundingClientRect(), N = v.width || 1, x = Math.max(0, Math.min(1, (h - v.left) / N)), P = a + x * (n - a);
|
|
4012
4013
|
return o(P);
|
|
4013
4014
|
},
|
|
4014
|
-
[
|
|
4015
|
+
[a, n, o]
|
|
4015
4016
|
);
|
|
4016
4017
|
E(() => {
|
|
4017
|
-
|
|
4018
|
-
`ThresholdRamp: max (${
|
|
4018
|
+
n <= a && process.env.NODE_ENV !== "production" && console.warn(
|
|
4019
|
+
`ThresholdRamp: max (${n}) must be greater than min (${a}); rendering degenerate strip.`
|
|
4019
4020
|
);
|
|
4020
|
-
}, [
|
|
4021
|
+
}, [a, n]);
|
|
4021
4022
|
const y = C(
|
|
4022
4023
|
(h, v) => {
|
|
4023
4024
|
const N = g.find((x) => x.id === v);
|
|
4024
|
-
|
|
4025
|
+
s || N?.disabled || (h.preventDefault(), d(v));
|
|
4025
4026
|
},
|
|
4026
|
-
[
|
|
4027
|
+
[s, g]
|
|
4027
4028
|
), T = M(g);
|
|
4028
4029
|
T.current = g;
|
|
4029
4030
|
const _ = M(t);
|
|
@@ -4044,10 +4045,10 @@ function ba({
|
|
|
4044
4045
|
window.removeEventListener("pointermove", h), window.removeEventListener("pointerup", v), window.removeEventListener("pointercancel", v);
|
|
4045
4046
|
};
|
|
4046
4047
|
}, [m, w]);
|
|
4047
|
-
const S =
|
|
4048
|
+
const S = n - a > 0 ? n - a : 1, R = C(
|
|
4048
4049
|
(h, v) => {
|
|
4049
|
-
if (
|
|
4050
|
-
const N =
|
|
4050
|
+
if (s || v.disabled) return;
|
|
4051
|
+
const N = n - a;
|
|
4051
4052
|
if (N <= 0) return;
|
|
4052
4053
|
const x = h.shiftKey ? N / 20 : N / 100;
|
|
4053
4054
|
let P = v.value;
|
|
@@ -4061,32 +4062,32 @@ function ba({
|
|
|
4061
4062
|
P = v.value - x;
|
|
4062
4063
|
break;
|
|
4063
4064
|
case "Home":
|
|
4064
|
-
P =
|
|
4065
|
+
P = a;
|
|
4065
4066
|
break;
|
|
4066
4067
|
case "End":
|
|
4067
|
-
P =
|
|
4068
|
+
P = n;
|
|
4068
4069
|
break;
|
|
4069
4070
|
default:
|
|
4070
4071
|
return;
|
|
4071
4072
|
}
|
|
4072
4073
|
h.preventDefault();
|
|
4073
|
-
const D = Math.max(
|
|
4074
|
+
const D = Math.max(a, Math.min(n, P)), F = o(D);
|
|
4074
4075
|
if (F === v.value) return;
|
|
4075
|
-
const
|
|
4076
|
+
const B = g.map(
|
|
4076
4077
|
(ee) => ee.id === v.id ? { ...ee, value: F } : ee
|
|
4077
4078
|
);
|
|
4078
|
-
c(
|
|
4079
|
+
c(B), t(B);
|
|
4079
4080
|
},
|
|
4080
|
-
[
|
|
4081
|
+
[s, a, n, g, t, o]
|
|
4081
4082
|
);
|
|
4082
|
-
return /* @__PURE__ */ r("div", { className: "gloss-threshold-ramp", "data-disabled":
|
|
4083
|
+
return /* @__PURE__ */ r("div", { className: "gloss-threshold-ramp", "data-disabled": s || void 0, children: /* @__PURE__ */ r(
|
|
4083
4084
|
"div",
|
|
4084
4085
|
{
|
|
4085
4086
|
ref: u,
|
|
4086
4087
|
className: "gloss-threshold-ramp__track",
|
|
4087
4088
|
style: { background: k },
|
|
4088
4089
|
children: g.map((h) => {
|
|
4089
|
-
const v = (h.value -
|
|
4090
|
+
const v = (h.value - a) / S * 100;
|
|
4090
4091
|
return /* @__PURE__ */ r(
|
|
4091
4092
|
"span",
|
|
4092
4093
|
{
|
|
@@ -4102,10 +4103,10 @@ function ba({
|
|
|
4102
4103
|
"aria-label": h.label ?? `Stop at ${h.value}`,
|
|
4103
4104
|
role: "slider",
|
|
4104
4105
|
"aria-valuenow": h.value,
|
|
4105
|
-
"aria-valuemin":
|
|
4106
|
-
"aria-valuemax":
|
|
4107
|
-
"aria-disabled": h.disabled ||
|
|
4108
|
-
tabIndex: h.disabled ||
|
|
4106
|
+
"aria-valuemin": a,
|
|
4107
|
+
"aria-valuemax": n,
|
|
4108
|
+
"aria-disabled": h.disabled || s || void 0,
|
|
4109
|
+
tabIndex: h.disabled || s ? -1 : 0
|
|
4109
4110
|
},
|
|
4110
4111
|
h.id
|
|
4111
4112
|
);
|
|
@@ -4113,128 +4114,128 @@ function ba({
|
|
|
4113
4114
|
}
|
|
4114
4115
|
) });
|
|
4115
4116
|
}
|
|
4116
|
-
|
|
4117
|
-
function
|
|
4117
|
+
fa.displayName = "ThresholdRamp";
|
|
4118
|
+
function ba(e, t, a, n) {
|
|
4118
4119
|
switch (t) {
|
|
4119
4120
|
case "above-right":
|
|
4120
4121
|
return {
|
|
4121
|
-
top: e.top -
|
|
4122
|
-
left: e.right +
|
|
4122
|
+
top: e.top - a + n.y,
|
|
4123
|
+
left: e.right + n.x,
|
|
4123
4124
|
transform: "translate(-100%, -100%)",
|
|
4124
4125
|
transformOrigin: "bottom right"
|
|
4125
4126
|
};
|
|
4126
4127
|
case "above-left":
|
|
4127
4128
|
return {
|
|
4128
|
-
top: e.top -
|
|
4129
|
-
left: e.left +
|
|
4129
|
+
top: e.top - a + n.y,
|
|
4130
|
+
left: e.left + n.x,
|
|
4130
4131
|
transform: "translate(0, -100%)",
|
|
4131
4132
|
transformOrigin: "bottom left"
|
|
4132
4133
|
};
|
|
4133
4134
|
case "below-right":
|
|
4134
4135
|
return {
|
|
4135
|
-
top: e.bottom +
|
|
4136
|
-
left: e.right +
|
|
4136
|
+
top: e.bottom + a + n.y,
|
|
4137
|
+
left: e.right + n.x,
|
|
4137
4138
|
transform: "translate(-100%, 0)",
|
|
4138
4139
|
transformOrigin: "top right"
|
|
4139
4140
|
};
|
|
4140
4141
|
case "below-left":
|
|
4141
4142
|
default:
|
|
4142
4143
|
return {
|
|
4143
|
-
top: e.bottom +
|
|
4144
|
-
left: e.left +
|
|
4144
|
+
top: e.bottom + a + n.y,
|
|
4145
|
+
left: e.left + n.x,
|
|
4145
4146
|
transform: "translate(0, 0)",
|
|
4146
4147
|
transformOrigin: "top left"
|
|
4147
4148
|
};
|
|
4148
4149
|
}
|
|
4149
4150
|
}
|
|
4150
|
-
function
|
|
4151
|
-
const { anchorRef: t, placement:
|
|
4152
|
-
l.current = { x:
|
|
4151
|
+
function va(e) {
|
|
4152
|
+
const { anchorRef: t, placement: a, gap: n = 8, offset: i, isOpen: s = !0 } = e, l = M({ x: i?.x ?? 0, y: i?.y ?? 0 });
|
|
4153
|
+
l.current = { x: i?.x ?? 0, y: i?.y ?? 0 };
|
|
4153
4154
|
const [o, u] = A({});
|
|
4154
4155
|
return ke(() => {
|
|
4155
|
-
if (typeof window > "u" || !
|
|
4156
|
+
if (typeof window > "u" || !s) return;
|
|
4156
4157
|
const m = t.current;
|
|
4157
4158
|
if (!m) return;
|
|
4158
4159
|
const d = () => {
|
|
4159
4160
|
const c = m.getBoundingClientRect();
|
|
4160
|
-
u(
|
|
4161
|
+
u(ba(c, a, n, l.current));
|
|
4161
4162
|
};
|
|
4162
4163
|
d();
|
|
4163
4164
|
let g = null;
|
|
4164
4165
|
return typeof ResizeObserver < "u" && (g = new ResizeObserver(d), g.observe(m)), window.addEventListener("scroll", d, { capture: !0, passive: !0 }), window.addEventListener("resize", d, { passive: !0 }), () => {
|
|
4165
4166
|
g?.disconnect(), window.removeEventListener("scroll", d, !0), window.removeEventListener("resize", d);
|
|
4166
4167
|
};
|
|
4167
|
-
}, [t,
|
|
4168
|
+
}, [t, a, n, s]), { style: o };
|
|
4168
4169
|
}
|
|
4169
|
-
const
|
|
4170
|
+
const ya = {
|
|
4170
4171
|
position: "fixed",
|
|
4171
4172
|
zIndex: 9999
|
|
4172
4173
|
};
|
|
4173
|
-
function
|
|
4174
|
-
const { anchorRef: t, placement:
|
|
4174
|
+
function nn(e) {
|
|
4175
|
+
const { anchorRef: t, placement: a, gap: n, offset: i, dataHost: s, isOpen: l = !0, className: o, children: u } = e, { style: m } = va({ anchorRef: t, placement: a, gap: n, offset: i, isOpen: l });
|
|
4175
4176
|
return typeof window > "u" || typeof document > "u" || !l ? null : Se(
|
|
4176
|
-
/* @__PURE__ */ r("div", { "data-portal-host":
|
|
4177
|
+
/* @__PURE__ */ r("div", { "data-portal-host": s, className: o, style: { ...ya, ...m }, children: u }),
|
|
4177
4178
|
document.body
|
|
4178
4179
|
);
|
|
4179
4180
|
}
|
|
4180
|
-
const $e =
|
|
4181
|
-
function
|
|
4182
|
-
return
|
|
4181
|
+
const $e = Ge(null);
|
|
4182
|
+
function wa() {
|
|
4183
|
+
return He($e);
|
|
4183
4184
|
}
|
|
4184
|
-
function
|
|
4185
|
-
const t =
|
|
4186
|
-
|
|
4187
|
-
}, [
|
|
4185
|
+
function _a({ option: e }) {
|
|
4186
|
+
const t = wa(), a = t?.isSelected(e.value) ?? !1, n = e.disabled || t?.groupDisabled, i = C(() => {
|
|
4187
|
+
n || t?.select(e.value);
|
|
4188
|
+
}, [n, t, e.value]), s = C(
|
|
4188
4189
|
(m) => {
|
|
4189
|
-
|
|
4190
|
+
n || t?.onKeyNav(m, e.value);
|
|
4190
4191
|
},
|
|
4191
|
-
[
|
|
4192
|
-
), l = e.colorToken ? `var(--gloss-color-${e.colorToken}, ${e.color ?? "#888"})` : e.color ?? "#888", o = t?.firstFocusableValue === e.value, u =
|
|
4192
|
+
[n, t, e.value]
|
|
4193
|
+
), l = e.colorToken ? `var(--gloss-color-${e.colorToken}, ${e.color ?? "#888"})` : e.color ?? "#888", o = t?.firstFocusableValue === e.value, u = n ? -1 : o ? 0 : -1;
|
|
4193
4194
|
return /* @__PURE__ */ r(
|
|
4194
4195
|
"button",
|
|
4195
4196
|
{
|
|
4196
4197
|
ref: (m) => t?.registerRef(e.value, m),
|
|
4197
4198
|
type: "button",
|
|
4198
4199
|
role: "radio",
|
|
4199
|
-
"aria-checked":
|
|
4200
|
+
"aria-checked": a,
|
|
4200
4201
|
className: "gloss-preset-swatch-row__swatch",
|
|
4201
4202
|
style: { backgroundColor: l },
|
|
4202
|
-
"data-selected":
|
|
4203
|
-
"data-disabled":
|
|
4203
|
+
"data-selected": a || void 0,
|
|
4204
|
+
"data-disabled": n || void 0,
|
|
4204
4205
|
...process.env.NODE_ENV === "test" ? { "data-bg-color": l } : {},
|
|
4205
4206
|
"aria-label": e.label ?? e.value,
|
|
4206
|
-
"aria-disabled":
|
|
4207
|
-
disabled:
|
|
4207
|
+
"aria-disabled": n,
|
|
4208
|
+
disabled: n,
|
|
4208
4209
|
tabIndex: u,
|
|
4209
|
-
onClick:
|
|
4210
|
-
onKeyDown:
|
|
4210
|
+
onClick: i,
|
|
4211
|
+
onKeyDown: s
|
|
4211
4212
|
}
|
|
4212
4213
|
);
|
|
4213
4214
|
}
|
|
4214
|
-
function
|
|
4215
|
+
function Ca({
|
|
4215
4216
|
swatches: e,
|
|
4216
4217
|
value: t,
|
|
4217
|
-
defaultValue:
|
|
4218
|
-
onChange:
|
|
4219
|
-
disabled:
|
|
4220
|
-
name:
|
|
4218
|
+
defaultValue: a,
|
|
4219
|
+
onChange: n,
|
|
4220
|
+
disabled: i = !1,
|
|
4221
|
+
name: s
|
|
4221
4222
|
}) {
|
|
4222
|
-
const l = t !== void 0, [o, u] = A(
|
|
4223
|
+
const l = t !== void 0, [o, u] = A(a), m = l ? t : o, d = C(
|
|
4223
4224
|
(_) => {
|
|
4224
|
-
l || u(_),
|
|
4225
|
+
l || u(_), n?.(_);
|
|
4225
4226
|
},
|
|
4226
|
-
[l,
|
|
4227
|
+
[l, n]
|
|
4227
4228
|
), g = C(
|
|
4228
4229
|
(_) => m === _,
|
|
4229
4230
|
[m]
|
|
4230
4231
|
), c = M(/* @__PURE__ */ new Map()), p = C((_, S) => {
|
|
4231
4232
|
S ? c.current.set(_, S) : c.current.delete(_);
|
|
4232
|
-
}, []), b = e.filter((_) => !_.disabled && !
|
|
4233
|
+
}, []), b = e.filter((_) => !_.disabled && !i), k = b.find((_) => _.value === m)?.value ?? b[0]?.value, w = C((_) => {
|
|
4233
4234
|
const S = c.current.get(_);
|
|
4234
4235
|
S && S.focus();
|
|
4235
4236
|
}, []), y = C(
|
|
4236
4237
|
(_, S) => {
|
|
4237
|
-
if (
|
|
4238
|
+
if (i) return;
|
|
4238
4239
|
const R = e.filter((x) => !x.disabled);
|
|
4239
4240
|
if (R.length === 0) return;
|
|
4240
4241
|
const h = R.findIndex((x) => x.value === S);
|
|
@@ -4266,13 +4267,13 @@ function Na({
|
|
|
4266
4267
|
const N = R[v].value;
|
|
4267
4268
|
w(N), d(N);
|
|
4268
4269
|
},
|
|
4269
|
-
[
|
|
4270
|
+
[i, e, d, w]
|
|
4270
4271
|
), T = {
|
|
4271
4272
|
selectedValue: m,
|
|
4272
4273
|
select: d,
|
|
4273
4274
|
isSelected: g,
|
|
4274
|
-
groupDisabled:
|
|
4275
|
-
name:
|
|
4275
|
+
groupDisabled: i,
|
|
4276
|
+
name: s,
|
|
4276
4277
|
registerRef: p,
|
|
4277
4278
|
firstFocusableValue: k,
|
|
4278
4279
|
onKeyNav: y
|
|
@@ -4282,26 +4283,26 @@ function Na({
|
|
|
4282
4283
|
{
|
|
4283
4284
|
className: "gloss-preset-swatch-row",
|
|
4284
4285
|
role: "radiogroup",
|
|
4285
|
-
"aria-label":
|
|
4286
|
-
"aria-disabled":
|
|
4287
|
-
"data-disabled":
|
|
4288
|
-
children: e.map((_) => /* @__PURE__ */ r(
|
|
4286
|
+
"aria-label": s,
|
|
4287
|
+
"aria-disabled": i,
|
|
4288
|
+
"data-disabled": i || void 0,
|
|
4289
|
+
children: e.map((_) => /* @__PURE__ */ r(_a, { option: _ }, _.value))
|
|
4289
4290
|
}
|
|
4290
4291
|
) });
|
|
4291
4292
|
}
|
|
4292
|
-
|
|
4293
|
-
function
|
|
4293
|
+
Ca.displayName = "PresetSwatchRow";
|
|
4294
|
+
function sn({
|
|
4294
4295
|
slotLeft: e,
|
|
4295
4296
|
slotCenter: t,
|
|
4296
|
-
slotRight:
|
|
4297
|
-
height:
|
|
4298
|
-
className:
|
|
4299
|
-
style:
|
|
4297
|
+
slotRight: a,
|
|
4298
|
+
height: n = 36,
|
|
4299
|
+
className: i,
|
|
4300
|
+
style: s,
|
|
4300
4301
|
"aria-label": l = "Dashboard navigation"
|
|
4301
4302
|
}) {
|
|
4302
4303
|
const o = {
|
|
4303
|
-
"--gloss-bottom-toolbar-height": `${
|
|
4304
|
-
...
|
|
4304
|
+
"--gloss-bottom-toolbar-height": `${n}px`,
|
|
4305
|
+
...s
|
|
4305
4306
|
};
|
|
4306
4307
|
return /* @__PURE__ */ f(
|
|
4307
4308
|
"div",
|
|
@@ -4309,7 +4310,7 @@ function ln({
|
|
|
4309
4310
|
role: "toolbar",
|
|
4310
4311
|
"aria-label": l,
|
|
4311
4312
|
"data-testid": "gloss-bottom-toolbar",
|
|
4312
|
-
className: ["gloss-bottom-toolbar",
|
|
4313
|
+
className: ["gloss-bottom-toolbar", i].filter(Boolean).join(" "),
|
|
4313
4314
|
style: o,
|
|
4314
4315
|
children: [
|
|
4315
4316
|
/* @__PURE__ */ r(
|
|
@@ -4333,32 +4334,32 @@ function ln({
|
|
|
4333
4334
|
{
|
|
4334
4335
|
className: "gloss-bottom-toolbar__slot gloss-bottom-toolbar__slot--right",
|
|
4335
4336
|
"data-slot": "right",
|
|
4336
|
-
children:
|
|
4337
|
+
children: a
|
|
4337
4338
|
}
|
|
4338
4339
|
)
|
|
4339
4340
|
]
|
|
4340
4341
|
}
|
|
4341
4342
|
);
|
|
4342
4343
|
}
|
|
4343
|
-
function
|
|
4344
|
+
function ln({
|
|
4344
4345
|
count: e,
|
|
4345
4346
|
currentIndex: t,
|
|
4346
|
-
onSelect:
|
|
4347
|
-
"aria-label":
|
|
4348
|
-
provisionalIndex:
|
|
4349
|
-
pulseIndex:
|
|
4347
|
+
onSelect: a,
|
|
4348
|
+
"aria-label": n = "Sections",
|
|
4349
|
+
provisionalIndex: i,
|
|
4350
|
+
pulseIndex: s,
|
|
4350
4351
|
pulseNonce: l,
|
|
4351
4352
|
currentSection: o,
|
|
4352
4353
|
sectionsPerView: u = 1,
|
|
4353
4354
|
// D-09 default
|
|
4354
4355
|
isHiding: m
|
|
4355
4356
|
}) {
|
|
4356
|
-
const d = o ?? t ?? 0, g = Math.max(0, Math.min(e - 1, d)), c = Math.min(e - 1, g + Math.max(0, u - 1)), p = [g, c], b =
|
|
4357
|
+
const d = o ?? t ?? 0, g = Math.max(0, Math.min(e - 1, d)), c = Math.min(e - 1, g + Math.max(0, u - 1)), p = [g, c], b = O.useRef([]);
|
|
4357
4358
|
return b.current.length = e, !m && e <= 1 || !m && p[0] === 0 && p[1] === e - 1 ? null : /* @__PURE__ */ f(
|
|
4358
4359
|
"div",
|
|
4359
4360
|
{
|
|
4360
4361
|
role: "tablist",
|
|
4361
|
-
"aria-label":
|
|
4362
|
+
"aria-label": n,
|
|
4362
4363
|
"data-testid": "gloss-section-dots",
|
|
4363
4364
|
className: "gloss-section-dots",
|
|
4364
4365
|
"data-hiding": m ? "true" : void 0,
|
|
@@ -4367,11 +4368,11 @@ function on({
|
|
|
4367
4368
|
if (w.key === "ArrowRight") {
|
|
4368
4369
|
w.preventDefault();
|
|
4369
4370
|
const y = (d + 1) % e;
|
|
4370
|
-
|
|
4371
|
+
a(y), requestAnimationFrame(() => b.current[y]?.focus());
|
|
4371
4372
|
} else if (w.key === "ArrowLeft") {
|
|
4372
4373
|
w.preventDefault();
|
|
4373
4374
|
const y = (d - 1 + e) % e;
|
|
4374
|
-
|
|
4375
|
+
a(y), requestAnimationFrame(() => b.current[y]?.focus());
|
|
4375
4376
|
}
|
|
4376
4377
|
}
|
|
4377
4378
|
},
|
|
@@ -4396,31 +4397,31 @@ function on({
|
|
|
4396
4397
|
type: "button",
|
|
4397
4398
|
role: "tab",
|
|
4398
4399
|
"aria-selected": y === d,
|
|
4399
|
-
"aria-label": y ===
|
|
4400
|
-
"data-state": y ===
|
|
4400
|
+
"aria-label": y === i ? "Unconfirmed section" : `Section ${y + 1}`,
|
|
4401
|
+
"data-state": y === i ? "provisional-hollow" : y === s ? "pulse" : y === d ? "current" : "hollow",
|
|
4401
4402
|
"data-section-index": y,
|
|
4402
4403
|
className: [
|
|
4403
4404
|
"gloss-section-dots__dot",
|
|
4404
4405
|
y === d && "gloss-section-dots__dot--current"
|
|
4405
4406
|
].filter(Boolean).join(" "),
|
|
4406
|
-
onClick: () =>
|
|
4407
|
+
onClick: () => a(y)
|
|
4407
4408
|
},
|
|
4408
|
-
y ===
|
|
4409
|
+
y === s ? `${y}-${l ?? 0}` : y
|
|
4409
4410
|
))
|
|
4410
4411
|
]
|
|
4411
4412
|
}
|
|
4412
4413
|
);
|
|
4413
4414
|
}
|
|
4414
|
-
function
|
|
4415
|
+
function on(e) {
|
|
4415
4416
|
const {
|
|
4416
4417
|
mode: t = null,
|
|
4417
|
-
count:
|
|
4418
|
-
anchorRef:
|
|
4419
|
-
subscribeToCoordinator:
|
|
4420
|
-
cardLabels:
|
|
4421
|
-
} = e, l = M(null), [o, u] = A({ cx: 0, cy: 0, r: 14 }), m = Ne().replace(/:/g, "-"), d =
|
|
4418
|
+
count: a,
|
|
4419
|
+
anchorRef: n,
|
|
4420
|
+
subscribeToCoordinator: i = !0,
|
|
4421
|
+
cardLabels: s
|
|
4422
|
+
} = e, l = M(null), [o, u] = A({ cx: 0, cy: 0, r: 14 }), m = Ne().replace(/:/g, "-"), d = Ke(), g = i ? d?.state?.lockHint ?? null : null, c = i ? d?.state?.bellCutoutOpen ?? !1 : !1, p = g != null ? "lock" : t ?? (c ? "default" : null), b = g?.activeCardId ?? null, k = b != null ? s?.[b] ?? b : "";
|
|
4422
4423
|
return ke(() => {
|
|
4423
|
-
const w = l.current, y =
|
|
4424
|
+
const w = l.current, y = n.current;
|
|
4424
4425
|
if (!w || !y) return;
|
|
4425
4426
|
const T = () => {
|
|
4426
4427
|
const _ = y.getBoundingClientRect(), S = w.getBoundingClientRect(), R = _.left + _.width / 2 - S.left, h = _.top + _.height / 2 - S.top, v = Math.max(_.width, _.height) / 2 + 4;
|
|
@@ -4434,7 +4435,7 @@ function cn(e) {
|
|
|
4434
4435
|
ref: l,
|
|
4435
4436
|
className: "bell-cutout",
|
|
4436
4437
|
"data-mode": p,
|
|
4437
|
-
"data-count": p === "unread-count" &&
|
|
4438
|
+
"data-count": p === "unread-count" && a != null ? String(a) : void 0,
|
|
4438
4439
|
"aria-hidden": "true",
|
|
4439
4440
|
children: [
|
|
4440
4441
|
/* @__PURE__ */ f("svg", { className: "bell-cutout__svg", width: "100%", height: "100%", preserveAspectRatio: "none", children: [
|
|
@@ -4450,375 +4451,392 @@ function cn(e) {
|
|
|
4450
4451
|
}
|
|
4451
4452
|
);
|
|
4452
4453
|
}
|
|
4453
|
-
const
|
|
4454
|
-
|
|
4455
|
-
|
|
4456
|
-
|
|
4457
|
-
|
|
4458
|
-
|
|
4454
|
+
const Na = ({
|
|
4455
|
+
ref: e,
|
|
4456
|
+
density: t = "compact",
|
|
4457
|
+
children: a,
|
|
4458
|
+
...n
|
|
4459
|
+
}) => {
|
|
4460
|
+
const i = { ...n };
|
|
4461
|
+
return delete i.className, delete i.style, /* @__PURE__ */ r("div", { ref: e, className: "gloss-container-toolbar", role: "toolbar", ...i, children: /* @__PURE__ */ r(de, { region: "toolbar", density: t, children: a }) });
|
|
4462
|
+
};
|
|
4463
|
+
Na.displayName = "ContainerToolbar";
|
|
4464
|
+
const ka = ({
|
|
4465
|
+
ref: e,
|
|
4466
|
+
legend: t,
|
|
4467
|
+
description: a,
|
|
4468
|
+
density: n = "default",
|
|
4469
|
+
children: i,
|
|
4470
|
+
...s
|
|
4471
|
+
}) => {
|
|
4459
4472
|
const l = { ...s };
|
|
4460
|
-
return delete l.className, delete l.style, /* @__PURE__ */ f("fieldset", { ref:
|
|
4461
|
-
|
|
4462
|
-
|
|
4463
|
-
/* @__PURE__ */ r(de, { region: "form-section", density: n, children:
|
|
4473
|
+
return delete l.className, delete l.style, /* @__PURE__ */ f("fieldset", { ref: e, className: "gloss-container-form-section", ...l, children: [
|
|
4474
|
+
t && /* @__PURE__ */ r("legend", { className: "gloss-container-form-section__legend", children: t }),
|
|
4475
|
+
a && /* @__PURE__ */ r("p", { className: "gloss-container-form-section__description", children: a }),
|
|
4476
|
+
/* @__PURE__ */ r(de, { region: "form-section", density: n, children: i })
|
|
4464
4477
|
] });
|
|
4465
|
-
}
|
|
4466
|
-
|
|
4467
|
-
const
|
|
4468
|
-
|
|
4469
|
-
|
|
4470
|
-
|
|
4471
|
-
|
|
4478
|
+
};
|
|
4479
|
+
ka.displayName = "ContainerFormSection";
|
|
4480
|
+
const Sa = ({
|
|
4481
|
+
ref: e,
|
|
4482
|
+
density: t = "compact",
|
|
4483
|
+
children: a,
|
|
4484
|
+
...n
|
|
4485
|
+
}) => {
|
|
4486
|
+
const i = { ...n };
|
|
4487
|
+
return delete i.className, delete i.style, /* @__PURE__ */ r("div", { ref: e, className: "gloss-container-table", ...i, children: /* @__PURE__ */ r(de, { region: "table", density: t, children: a }) });
|
|
4488
|
+
};
|
|
4489
|
+
Sa.displayName = "ContainerTable";
|
|
4472
4490
|
export {
|
|
4473
|
-
|
|
4474
|
-
|
|
4475
|
-
|
|
4476
|
-
|
|
4477
|
-
|
|
4478
|
-
|
|
4479
|
-
|
|
4480
|
-
|
|
4481
|
-
|
|
4482
|
-
|
|
4483
|
-
|
|
4484
|
-
|
|
4485
|
-
|
|
4486
|
-
|
|
4487
|
-
|
|
4488
|
-
|
|
4489
|
-
|
|
4490
|
-
|
|
4491
|
-
|
|
4492
|
-
|
|
4493
|
-
|
|
4494
|
-
|
|
4495
|
-
|
|
4496
|
-
|
|
4497
|
-
|
|
4498
|
-
|
|
4491
|
+
un as Accordion,
|
|
4492
|
+
mn as AccordionContent,
|
|
4493
|
+
pn as AccordionItem,
|
|
4494
|
+
gn as AccordionTrigger,
|
|
4495
|
+
hn as ActionStrip,
|
|
4496
|
+
fn as Actionable,
|
|
4497
|
+
bn as AddressGroup,
|
|
4498
|
+
vn as AddressSelect,
|
|
4499
|
+
yn as AsyncLoader,
|
|
4500
|
+
wn as Autocomplete,
|
|
4501
|
+
_n as Badge,
|
|
4502
|
+
Cn as BarChartCard,
|
|
4503
|
+
$l as BarsBg,
|
|
4504
|
+
on as BellCutout,
|
|
4505
|
+
nn as BodyPortal,
|
|
4506
|
+
sn as BottomToolbar,
|
|
4507
|
+
Nn as Button,
|
|
4508
|
+
kn as ButtonGroup,
|
|
4509
|
+
Sn as ButtonGroupContext,
|
|
4510
|
+
Dn as Card,
|
|
4511
|
+
xn as CardActions,
|
|
4512
|
+
Tn as CardBack,
|
|
4513
|
+
Rn as CardBody,
|
|
4514
|
+
Mn as CardFooter,
|
|
4515
|
+
Pn as CardHeader,
|
|
4516
|
+
An as CardMedia,
|
|
4499
4517
|
Be as CardShell,
|
|
4500
|
-
|
|
4501
|
-
|
|
4502
|
-
|
|
4503
|
-
|
|
4504
|
-
|
|
4505
|
-
|
|
4506
|
-
|
|
4507
|
-
|
|
4508
|
-
|
|
4509
|
-
|
|
4510
|
-
|
|
4511
|
-
|
|
4512
|
-
|
|
4513
|
-
|
|
4514
|
-
|
|
4515
|
-
|
|
4516
|
-
|
|
4517
|
-
|
|
4518
|
-
|
|
4519
|
-
|
|
4520
|
-
|
|
4521
|
-
|
|
4522
|
-
|
|
4523
|
-
|
|
4524
|
-
|
|
4525
|
-
|
|
4526
|
-
|
|
4527
|
-
|
|
4528
|
-
|
|
4518
|
+
En as CardSubtitle,
|
|
4519
|
+
Fn as CardTitle,
|
|
4520
|
+
Vr as CascadePreview,
|
|
4521
|
+
en as CellTintOverlay,
|
|
4522
|
+
In as ChartControlBar,
|
|
4523
|
+
Ln as Checkbox,
|
|
4524
|
+
On as CheckboxGroup,
|
|
4525
|
+
$n as Chip,
|
|
4526
|
+
zn as ColorPicker,
|
|
4527
|
+
Bn as ComparisonCard,
|
|
4528
|
+
Gn as ContactForm,
|
|
4529
|
+
Hn as ContainerCard,
|
|
4530
|
+
Wn as ContainerCardActions,
|
|
4531
|
+
Vn as ContainerCardBody,
|
|
4532
|
+
jn as ContainerCardFooter,
|
|
4533
|
+
Kn as ContainerCardHeader,
|
|
4534
|
+
Un as ContainerCardMedia,
|
|
4535
|
+
Yn as ContainerCardSubtitle,
|
|
4536
|
+
qn as ContainerCardTitle,
|
|
4537
|
+
Qn as ContainerDialog,
|
|
4538
|
+
Jn as ContainerDialogActions,
|
|
4539
|
+
Xn as ContainerDialogBody,
|
|
4540
|
+
Zn as ContainerDialogHeader,
|
|
4541
|
+
ka as ContainerFormSection,
|
|
4542
|
+
es as ContainerPanel,
|
|
4543
|
+
Sa as ContainerTable,
|
|
4544
|
+
Na as ContainerToolbar,
|
|
4545
|
+
ts as CreditCardForm,
|
|
4546
|
+
as as DEFAULT_FOOTER_IDS,
|
|
4529
4547
|
j as DEFAULT_GRID_INTERACTION_PHYSICS,
|
|
4530
|
-
|
|
4531
|
-
|
|
4532
|
-
|
|
4533
|
-
|
|
4548
|
+
Ul as DEFAULT_MARKET_PRESETS,
|
|
4549
|
+
rs as DEFAULT_OVERFLOW_IDS,
|
|
4550
|
+
Yl as DEFAULT_PINNED,
|
|
4551
|
+
ct as DEFAULT_RESIZE_PHYSICS,
|
|
4534
4552
|
De as DEFAULT_RESIZE_PILL_PHYSICS,
|
|
4535
|
-
|
|
4536
|
-
|
|
4537
|
-
|
|
4538
|
-
|
|
4539
|
-
|
|
4540
|
-
|
|
4541
|
-
|
|
4542
|
-
|
|
4543
|
-
|
|
4544
|
-
|
|
4545
|
-
|
|
4546
|
-
|
|
4547
|
-
|
|
4548
|
-
|
|
4549
|
-
|
|
4550
|
-
|
|
4551
|
-
|
|
4552
|
-
|
|
4553
|
-
|
|
4554
|
-
|
|
4555
|
-
|
|
4556
|
-
|
|
4557
|
-
|
|
4558
|
-
|
|
4559
|
-
|
|
4560
|
-
|
|
4561
|
-
|
|
4562
|
-
|
|
4563
|
-
|
|
4564
|
-
|
|
4565
|
-
|
|
4566
|
-
|
|
4567
|
-
|
|
4568
|
-
|
|
4569
|
-
|
|
4570
|
-
|
|
4571
|
-
|
|
4572
|
-
|
|
4573
|
-
|
|
4574
|
-
|
|
4575
|
-
|
|
4576
|
-
|
|
4577
|
-
|
|
4578
|
-
|
|
4579
|
-
|
|
4580
|
-
|
|
4581
|
-
|
|
4582
|
-
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
|
|
4553
|
+
ns as DataTable,
|
|
4554
|
+
ss as DatePicker,
|
|
4555
|
+
is as DateRangePicker,
|
|
4556
|
+
ls as DestructiveModal,
|
|
4557
|
+
Ht as DevTuningPanel,
|
|
4558
|
+
os as DirectionCard,
|
|
4559
|
+
cs as Dismissible,
|
|
4560
|
+
ds as DistributionCard,
|
|
4561
|
+
zl as DonutChart,
|
|
4562
|
+
Hr as DragGhost,
|
|
4563
|
+
Er as DropAnchorCell,
|
|
4564
|
+
us as Dropdown,
|
|
4565
|
+
Kt as DualPaceBars,
|
|
4566
|
+
ms as ENTITY_FILTER_KEYS,
|
|
4567
|
+
ps as ENTITY_PROFILE_ROUTES,
|
|
4568
|
+
gs as ENTITY_TYPE_PLURAL,
|
|
4569
|
+
Gr as EmptyCellPackAffordance,
|
|
4570
|
+
hs as EntityPicker,
|
|
4571
|
+
$ as EntityRow,
|
|
4572
|
+
fs as EntitySearchPanel,
|
|
4573
|
+
na as ExceptionListCard,
|
|
4574
|
+
sa as ExceptionListTilePreview,
|
|
4575
|
+
bs as Expandable,
|
|
4576
|
+
vs as ExpandableChip,
|
|
4577
|
+
ys as FLIP_AND_STAGE_TIMINGS,
|
|
4578
|
+
ws as FileUpload,
|
|
4579
|
+
_s as FilterChip,
|
|
4580
|
+
Cs as FilterInput,
|
|
4581
|
+
Ns as FlipAndStageProvider,
|
|
4582
|
+
ks as Form,
|
|
4583
|
+
Ss as FormDialog,
|
|
4584
|
+
Ds as FormField,
|
|
4585
|
+
xs as FusedShape,
|
|
4586
|
+
Ut as GapReadout,
|
|
4587
|
+
Ts as GestureStateProvider,
|
|
4588
|
+
ot as GhostPreview,
|
|
4589
|
+
Rs as GroupCheckbox,
|
|
4590
|
+
Ms as GroupRadio,
|
|
4591
|
+
zr as HARD_CLIP,
|
|
4592
|
+
Ps as HighlightCard,
|
|
4593
|
+
As as HybridDatePicker,
|
|
4594
|
+
Es as ImportWizard,
|
|
4595
|
+
pa as InlineNudge,
|
|
4596
|
+
Fs as Input,
|
|
4597
|
+
Is as InputAddon,
|
|
4598
|
+
Ls as InputGroup,
|
|
4599
|
+
ea as LeaderboardCard,
|
|
4600
|
+
ta as LeaderboardTilePreview,
|
|
4601
|
+
Qt as LensChipGroup,
|
|
4602
|
+
Os as Link,
|
|
4603
|
+
$s as LoginForm,
|
|
4586
4604
|
X as MagnitudeBar,
|
|
4587
|
-
|
|
4588
|
-
|
|
4589
|
-
|
|
4590
|
-
|
|
4591
|
-
|
|
4592
|
-
|
|
4593
|
-
|
|
4594
|
-
|
|
4595
|
-
|
|
4596
|
-
|
|
4597
|
-
|
|
4598
|
-
|
|
4599
|
-
|
|
4600
|
-
|
|
4601
|
-
|
|
4602
|
-
|
|
4603
|
-
|
|
4604
|
-
|
|
4605
|
-
|
|
4606
|
-
|
|
4607
|
-
|
|
4608
|
-
|
|
4609
|
-
|
|
4605
|
+
zs as MarketPresetRow,
|
|
4606
|
+
Bs as MaskPresets,
|
|
4607
|
+
Gs as MaskedInput,
|
|
4608
|
+
Hs as Menu,
|
|
4609
|
+
Ws as MenuDivider,
|
|
4610
|
+
Vs as MenuGroup,
|
|
4611
|
+
js as MenuItem,
|
|
4612
|
+
Ks as MergePrompt,
|
|
4613
|
+
Bl as MetricCard,
|
|
4614
|
+
Us as MetricCardGrid,
|
|
4615
|
+
Et as MetricGroupContainer,
|
|
4616
|
+
Ys as MiniCalendar,
|
|
4617
|
+
Xt as MoreInLensRail,
|
|
4618
|
+
qs as MultiSelect,
|
|
4619
|
+
Cl as NotificationCenterShell,
|
|
4620
|
+
Qs as NumberInput,
|
|
4621
|
+
Gl as ObjectArrow,
|
|
4622
|
+
Js as OrderFilterBar,
|
|
4623
|
+
Nl as PANEL_COMMITS,
|
|
4624
|
+
ql as PERIOD_OPTIONS,
|
|
4625
|
+
jr as PaceCard,
|
|
4626
|
+
Kr as PaceTilePreview,
|
|
4627
|
+
_t as PageChip,
|
|
4610
4628
|
Me as PageDropdown,
|
|
4611
|
-
|
|
4612
|
-
|
|
4613
|
-
|
|
4614
|
-
|
|
4615
|
-
|
|
4616
|
-
|
|
4617
|
-
|
|
4618
|
-
|
|
4619
|
-
|
|
4620
|
-
|
|
4621
|
-
|
|
4622
|
-
|
|
4623
|
-
|
|
4624
|
-
|
|
4625
|
-
|
|
4626
|
-
|
|
4629
|
+
kl as PanelHost,
|
|
4630
|
+
Sl as PanelProvider,
|
|
4631
|
+
Xs as PasswordInput,
|
|
4632
|
+
Zs as PaymentForm,
|
|
4633
|
+
ei as PaymentMethodSelect,
|
|
4634
|
+
ti as PhoneInput,
|
|
4635
|
+
ai as PinToMetric,
|
|
4636
|
+
Ca as PresetSwatchRow,
|
|
4637
|
+
ri as ProfileCard,
|
|
4638
|
+
ni as ProgressCard,
|
|
4639
|
+
si as QuickConfigPanel,
|
|
4640
|
+
Tt as RECONFIG_BACKSIDE_LABELS,
|
|
4641
|
+
Ql as ROLLING_OPTIONS,
|
|
4642
|
+
ii as Radio,
|
|
4643
|
+
li as RadioGroup,
|
|
4644
|
+
oi as RangeSlider,
|
|
4627
4645
|
Q as RankBadge,
|
|
4628
4646
|
Oe as RankDelta,
|
|
4629
|
-
|
|
4630
|
-
|
|
4631
|
-
|
|
4632
|
-
|
|
4633
|
-
|
|
4634
|
-
|
|
4635
|
-
|
|
4636
|
-
|
|
4637
|
-
|
|
4638
|
-
|
|
4639
|
-
|
|
4640
|
-
|
|
4641
|
-
|
|
4642
|
-
|
|
4643
|
-
|
|
4644
|
-
|
|
4645
|
-
|
|
4646
|
-
|
|
4647
|
-
|
|
4648
|
-
|
|
4649
|
-
|
|
4650
|
-
|
|
4651
|
-
|
|
4647
|
+
ci as Rating,
|
|
4648
|
+
Pt as ReconfigBacksideButtons,
|
|
4649
|
+
tn as RefusePulse,
|
|
4650
|
+
di as RegistrationForm,
|
|
4651
|
+
Ar as ResizeEnvelope,
|
|
4652
|
+
gt as ResizePill,
|
|
4653
|
+
an as ResizeTrackingOutline,
|
|
4654
|
+
ui as Row1Controls,
|
|
4655
|
+
mi as Row2FilterTray,
|
|
4656
|
+
Yr as STROKE_DASHED,
|
|
4657
|
+
Xr as STROKE_DASHED_DASHARRAY,
|
|
4658
|
+
Jr as STROKE_OUTLINE,
|
|
4659
|
+
qr as STROKE_SOLID,
|
|
4660
|
+
Qr as STROKE_SPARSE_DASH,
|
|
4661
|
+
Zr as STROKE_SPARSE_DASH_DASHARRAY,
|
|
4662
|
+
pi as SearchInput,
|
|
4663
|
+
Ir as SectionDivider,
|
|
4664
|
+
ln as SectionDots,
|
|
4665
|
+
gi as SegmentCard,
|
|
4666
|
+
hi as SegmentedControl,
|
|
4667
|
+
fi as Select,
|
|
4668
|
+
bi as Selectable,
|
|
4669
|
+
Dl as SettingsTabStrip,
|
|
4652
4670
|
J as SeverityDot,
|
|
4653
|
-
|
|
4654
|
-
|
|
4655
|
-
|
|
4656
|
-
|
|
4657
|
-
|
|
4658
|
-
|
|
4659
|
-
|
|
4660
|
-
|
|
4661
|
-
|
|
4662
|
-
|
|
4663
|
-
|
|
4664
|
-
|
|
4665
|
-
|
|
4666
|
-
|
|
4667
|
-
|
|
4668
|
-
|
|
4669
|
-
|
|
4670
|
-
|
|
4671
|
-
|
|
4671
|
+
vi as SimpleMetricCard,
|
|
4672
|
+
yi as SimpleSelector,
|
|
4673
|
+
wi as Skeleton,
|
|
4674
|
+
_i as SkeletonCard,
|
|
4675
|
+
Ci as SkeletonChart,
|
|
4676
|
+
Ni as SkeletonTable,
|
|
4677
|
+
ki as Slider,
|
|
4678
|
+
Wr as SnapOutline,
|
|
4679
|
+
Si as Sortable,
|
|
4680
|
+
xl as SortableZones,
|
|
4681
|
+
Hl as SparklineBg,
|
|
4682
|
+
Fr as SpilloverArc,
|
|
4683
|
+
Di as SplitButton,
|
|
4684
|
+
xi as StackedGroupCard,
|
|
4685
|
+
ia as StackedGroupTilePreview,
|
|
4686
|
+
Jt as StarterRail,
|
|
4687
|
+
Wl as StatusModeCard,
|
|
4688
|
+
lt as StatusSlotChipMenu,
|
|
4689
|
+
Ti as Stepper,
|
|
4672
4690
|
ve as SwingReveal,
|
|
4673
|
-
|
|
4674
|
-
|
|
4691
|
+
Jl as TODAY_PRESET,
|
|
4692
|
+
H as TUNING_DEFAULTS,
|
|
4675
4693
|
Fe as TUNING_STORAGE_KEY,
|
|
4676
|
-
|
|
4677
|
-
|
|
4678
|
-
|
|
4679
|
-
|
|
4680
|
-
|
|
4681
|
-
|
|
4682
|
-
|
|
4683
|
-
|
|
4684
|
-
|
|
4685
|
-
|
|
4694
|
+
Ri as TabGroup,
|
|
4695
|
+
Mi as TabbedDataView,
|
|
4696
|
+
Pi as TagInput,
|
|
4697
|
+
et as TargetInput,
|
|
4698
|
+
Ai as Textarea,
|
|
4699
|
+
fa as ThresholdRamp,
|
|
4700
|
+
Ei as TimeFrame,
|
|
4701
|
+
Fi as TimePicker,
|
|
4702
|
+
Ii as Toggle,
|
|
4703
|
+
Li as Tooltip,
|
|
4686
4704
|
Le as TrackingOutline,
|
|
4687
|
-
|
|
4688
|
-
|
|
4689
|
-
|
|
4690
|
-
|
|
4691
|
-
|
|
4705
|
+
Oi as Transition,
|
|
4706
|
+
$i as TransitionGroup,
|
|
4707
|
+
zi as TrendCard,
|
|
4708
|
+
Vl as TrendIndicator,
|
|
4709
|
+
Il as UIContext,
|
|
4692
4710
|
de as UIContextProvider,
|
|
4693
|
-
|
|
4694
|
-
|
|
4695
|
-
|
|
4696
|
-
|
|
4697
|
-
|
|
4698
|
-
|
|
4699
|
-
|
|
4700
|
-
|
|
4701
|
-
|
|
4702
|
-
|
|
4703
|
-
|
|
4711
|
+
Bi as UnifiedBreakdownTable,
|
|
4712
|
+
Gi as UnifiedContextMenu,
|
|
4713
|
+
Za as VelocityBuffer,
|
|
4714
|
+
Hi as addressGroupMetadata,
|
|
4715
|
+
Wi as addressSchema,
|
|
4716
|
+
Wa as allChips,
|
|
4717
|
+
rr as allStateFixtures,
|
|
4718
|
+
ar as allVariantFixtures,
|
|
4719
|
+
Ua as blockSamples,
|
|
4720
|
+
Vi as buildDefaultOverflow,
|
|
4721
|
+
Xa as cardSamples,
|
|
4704
4722
|
K as cascadePhysics,
|
|
4705
|
-
|
|
4706
|
-
|
|
4707
|
-
|
|
4708
|
-
|
|
4709
|
-
|
|
4710
|
-
|
|
4711
|
-
|
|
4712
|
-
|
|
4713
|
-
|
|
4714
|
-
|
|
4715
|
-
|
|
4716
|
-
|
|
4723
|
+
Qa as chartSamples,
|
|
4724
|
+
qa as circleSamples,
|
|
4725
|
+
Br as colorTokens,
|
|
4726
|
+
Sr as compactLayout,
|
|
4727
|
+
gr as compactState,
|
|
4728
|
+
tr as computeGutterAnchorX,
|
|
4729
|
+
ji as contactFormMetadata,
|
|
4730
|
+
Ki as contactSchema,
|
|
4731
|
+
hr as contextMenuFixtures,
|
|
4732
|
+
Ui as creditCardFormMetadata,
|
|
4733
|
+
Yi as creditCardSchema,
|
|
4734
|
+
rt as dateChip,
|
|
4717
4735
|
Ee as defaultControlBarState,
|
|
4718
|
-
|
|
4719
|
-
|
|
4720
|
-
|
|
4721
|
-
|
|
4722
|
-
|
|
4723
|
-
|
|
4724
|
-
|
|
4725
|
-
|
|
4726
|
-
|
|
4727
|
-
|
|
4728
|
-
|
|
4729
|
-
|
|
4730
|
-
|
|
4731
|
-
|
|
4732
|
-
|
|
4733
|
-
|
|
4734
|
-
|
|
4735
|
-
|
|
4736
|
-
|
|
4737
|
-
|
|
4738
|
-
|
|
4736
|
+
qi as destructiveModalMetadata,
|
|
4737
|
+
Qi as durations,
|
|
4738
|
+
Ji as easings,
|
|
4739
|
+
bt as emptyFixture,
|
|
4740
|
+
tt as entityChip,
|
|
4741
|
+
St as entityNameActions,
|
|
4742
|
+
ja as entityTabGroup,
|
|
4743
|
+
ft as errorFixture,
|
|
4744
|
+
jl as evaluateTintCondition,
|
|
4745
|
+
pr as filteredState,
|
|
4746
|
+
Xl as findPreset,
|
|
4747
|
+
Zl as formatDateRange,
|
|
4748
|
+
eo as formatMarketDates,
|
|
4749
|
+
to as formatTrend,
|
|
4750
|
+
ao as formatValue,
|
|
4751
|
+
xr as fullLayout,
|
|
4752
|
+
ro as generateMarketId,
|
|
4753
|
+
Xi as generateTabId,
|
|
4754
|
+
no as getAllPresets,
|
|
4755
|
+
so as getDateRangeForPreset,
|
|
4756
|
+
Zi as getMenuActions,
|
|
4739
4757
|
Ie as getMotionMode,
|
|
4740
|
-
|
|
4741
|
-
|
|
4742
|
-
|
|
4743
|
-
|
|
4744
|
-
|
|
4745
|
-
|
|
4746
|
-
|
|
4747
|
-
|
|
4748
|
-
|
|
4749
|
-
|
|
4750
|
-
|
|
4751
|
-
|
|
4752
|
-
|
|
4753
|
-
|
|
4754
|
-
|
|
4755
|
-
|
|
4756
|
-
|
|
4757
|
-
|
|
4758
|
-
|
|
4759
|
-
|
|
4760
|
-
|
|
4761
|
-
|
|
4762
|
-
|
|
4763
|
-
|
|
4764
|
-
|
|
4758
|
+
io as getPresetLabel,
|
|
4759
|
+
el as getTransitionStyle,
|
|
4760
|
+
kr as gridCards,
|
|
4761
|
+
Ur as gridChannels,
|
|
4762
|
+
tl as interpolate,
|
|
4763
|
+
lo as isInRange,
|
|
4764
|
+
oo as isMarketActive,
|
|
4765
|
+
co as isSameDay,
|
|
4766
|
+
mr as itemColumns,
|
|
4767
|
+
dr as itemRows,
|
|
4768
|
+
ht as loadingFixture,
|
|
4769
|
+
al as loginFormMetadata,
|
|
4770
|
+
rl as loginSchema,
|
|
4771
|
+
nt as manufacturerChip,
|
|
4772
|
+
Pr as manyTabs,
|
|
4773
|
+
nl as mergeHandlers,
|
|
4774
|
+
sl as mergeRefs,
|
|
4775
|
+
Va as metricTabGroup,
|
|
4776
|
+
Rr as mixedTabs,
|
|
4777
|
+
uo as normalizePresetId,
|
|
4778
|
+
xt as numericActions,
|
|
4779
|
+
ur as orderColumns,
|
|
4780
|
+
Dt as orderIdActions,
|
|
4781
|
+
cr as orderRows,
|
|
4782
|
+
Tr as ordersTabs,
|
|
4765
4783
|
Ce as paletteHex,
|
|
4766
|
-
|
|
4767
|
-
|
|
4768
|
-
|
|
4769
|
-
|
|
4770
|
-
|
|
4771
|
-
|
|
4772
|
-
|
|
4773
|
-
|
|
4774
|
-
|
|
4775
|
-
|
|
4776
|
-
|
|
4777
|
-
|
|
4778
|
-
|
|
4779
|
-
|
|
4780
|
-
|
|
4781
|
-
|
|
4782
|
-
|
|
4783
|
-
|
|
4784
|
-
|
|
4785
|
-
|
|
4786
|
-
|
|
4787
|
-
|
|
4788
|
-
|
|
4789
|
-
|
|
4790
|
-
|
|
4791
|
-
|
|
4792
|
-
|
|
4793
|
-
|
|
4794
|
-
|
|
4795
|
-
|
|
4796
|
-
|
|
4797
|
-
|
|
4784
|
+
W as paletteVars,
|
|
4785
|
+
Tl as panelsDeriveSurfaceState,
|
|
4786
|
+
Rl as panelsInitialState,
|
|
4787
|
+
Ml as panelsReducer,
|
|
4788
|
+
il as parseNumericValue,
|
|
4789
|
+
ll as paymentFormMetadata,
|
|
4790
|
+
ol as paymentSchema,
|
|
4791
|
+
cl as presets,
|
|
4792
|
+
Or as provisional,
|
|
4793
|
+
$r as reducedMotion,
|
|
4794
|
+
dl as registrationFormMetadata,
|
|
4795
|
+
ul as registrationSchema,
|
|
4796
|
+
Lr as rejectionFeedback,
|
|
4797
|
+
br as sampleCompareRanges,
|
|
4798
|
+
wr as sampleCustomMarkets,
|
|
4799
|
+
fr as sampleDateRange,
|
|
4800
|
+
_r as sampleMarketPresetData,
|
|
4801
|
+
yr as sampleMarkets,
|
|
4802
|
+
Nr as samplePeriodPresets,
|
|
4803
|
+
vr as samplePreferences,
|
|
4804
|
+
Cr as samplePresets,
|
|
4805
|
+
Mr as singleTab,
|
|
4806
|
+
nr as sparklineFixture,
|
|
4807
|
+
sr as sparklineUpFixture,
|
|
4808
|
+
wt as staleDonutFixture,
|
|
4809
|
+
vt as staleFixture,
|
|
4810
|
+
yt as staleSparklineFixture,
|
|
4811
|
+
ir as standardFixture,
|
|
4812
|
+
or as standardFlatFixture,
|
|
4813
|
+
Dr as standardLayout,
|
|
4814
|
+
lr as standardNegativeFixture,
|
|
4815
|
+
at as statusChip,
|
|
4798
4816
|
U as swingReveal,
|
|
4799
|
-
|
|
4800
|
-
|
|
4801
|
-
|
|
4802
|
-
|
|
4817
|
+
Ja as tableSamples,
|
|
4818
|
+
Ya as textSamples,
|
|
4819
|
+
Ka as timeFrameTabGroup,
|
|
4820
|
+
mo as toUppercasePresetId,
|
|
4803
4821
|
ze as useAffordanceVisibility,
|
|
4804
|
-
|
|
4805
|
-
|
|
4806
|
-
|
|
4807
|
-
|
|
4808
|
-
|
|
4809
|
-
|
|
4810
|
-
|
|
4811
|
-
|
|
4812
|
-
|
|
4813
|
-
|
|
4814
|
-
|
|
4815
|
-
|
|
4816
|
-
|
|
4817
|
-
|
|
4818
|
-
|
|
4819
|
-
|
|
4820
|
-
|
|
4821
|
-
|
|
4822
|
-
|
|
4823
|
-
|
|
4822
|
+
Ha as useArrowNavigation,
|
|
4823
|
+
ml as useCheckboxGroupContext,
|
|
4824
|
+
pl as useFilterLayout,
|
|
4825
|
+
gl as useFlipAndStage,
|
|
4826
|
+
hl as useFlipAndStageContext,
|
|
4827
|
+
fl as useFlipAndStageContextOptional,
|
|
4828
|
+
Ga as useFocusReturn,
|
|
4829
|
+
bl as useFocusTrap,
|
|
4830
|
+
vl as useFormContext,
|
|
4831
|
+
yl as useGestureState,
|
|
4832
|
+
Pl as usePanelContext,
|
|
4833
|
+
Ke as usePanelContextOptional,
|
|
4834
|
+
Al as usePanelCoordinator,
|
|
4835
|
+
va as usePortalAnchor,
|
|
4836
|
+
wl as useRadioGroupContext,
|
|
4837
|
+
rn as useResizeChoreography,
|
|
4838
|
+
er as useResizePill,
|
|
4839
|
+
Lt as useResizeTuning,
|
|
4840
|
+
El as useSortableZones,
|
|
4841
|
+
Ll as useUIContext
|
|
4824
4842
|
};
|