@mt-gloss/ui 0.0.23 → 0.0.25

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/index.js CHANGED
@@ -1,11 +1,17 @@
1
- import { N as oa, T as sa, O as ia, Q as la, a3 as da, b6 as ca, az as ua, ah as ma, Z as pa, an as ga, K as ba, a8 as fa, bo as ha, P as va, B as ya, a as Ca, y as Da, H as wa, bi as Na, F as Sa, J as ka, A as xa, z as Ta, bh as Ia, E as Ra, D as _a, bx as Ma, b as Pa, C as Fa, L as Ea, o as Oa, ad as Aa, aN as La, y as $a, H as Ba, F as Ka, J as Ha, A as Ga, z as za, E as Va, D as Za, a$ as Wa, b2 as Ya, b1 as Ua, b0 as qa, b3 as ja, aC as Qa, a5 as Xa, a4 as Ja, aq as er, k as tr, m as ar, aF as rr, ab as nr, b8 as or, a9 as sr, bp as ir, Y as lr, bH as dr, bG as cr, bI as ur, ap as mr, aQ as pr, ba as gr, bM as br, bv as fr, n as hr, am as vr, bB as yr, bs as Cr, a0 as Dr, ar as wr, a2 as Nr, bA as Sr, G as kr, d as xr, aa as Tr, bJ as Ir, aT as Rr, r as _r, v as Mr, I as Pr, g as Fr, aw as Er, bN as Or, M as Ar, w as Lr, U as $r, X as Br, V as Kr, W as Hr, as as Gr, bg as zr, bP as Vr, bL as Zr, ao as Wr, t as Yr, bq as Ur, aS as qr, aj as jr, aK as Qr, ag as Xr, al as Jr, au as en, aR as tn, ac as an, at as rn, c as nn, R as on, j as sn, p as ln, aH as dn, by as cn, bz as un, ai as mn, ae as pn, h as gn, x as bn, b7 as fn, af as hn, bO as vn, bc as yn, bf as Cn, bd as Dn, be as wn, i as Nn, b9 as Sn, bn as kn, S as xn, bk as Tn, bl as In, av as Rn, bb as _n, bQ as Mn, ak as Pn, s as Fn, bK as En, l as On, f as An, q as Ln, _ as $n, $ as Bn, a7 as Kn, bj as Hn, bw as Gn, bD as zn, aA as Vn, aB as Zn, a6 as Wn, aO as Yn, aP as Un, aD as qn, aE as jn, aG as Qn, aV as Xn, aW as Jn, bF as eo, bE as to, aY as ao, aZ as ro, ax as no, ay as oo, b5 as so, b4 as io, a_ as lo, aL as co, aM as uo, aX as mo, aI as po, aJ as go, u as bo, bC as fo, br as ho, bt as vo, bu as yo, aU as Co, a1 as Do, e as wo, bm as No } from "./Expandable-BYdvJg3S.js";
2
- import { jsxs as A, jsx as g } from "react/jsx-runtime";
3
- import F, { useRef as M, useEffect as P, useState as O, useCallback as y, forwardRef as he, useMemo as ie, createContext as ve, useContext as ye } from "react";
4
- import { B as Ce, U as ee } from "./UIContext-C3E-k7HI.js";
5
- import { a as ko, u as xo } from "./UIContext-C3E-k7HI.js";
1
+ import { N as Na, T as Sa, O as ka, Q as xa, a3 as Ta, b6 as Ia, az as Ra, ah as _a, Z as Ma, an as Pa, K as Fa, a8 as Ea, bo as Oa, P as Aa, B as La, a as $a, y as Ba, H as Ka, bi as Ga, F as Ha, J as za, A as Va, z as Wa, bh as Za, E as Ua, D as Ya, bx as qa, b as ja, C as Qa, L as Xa, o as Ja, ad as en, aN as tn, y as an, H as nn, F as rn, J as on, A as sn, z as ln, E as dn, D as cn, a$ as un, b2 as mn, b1 as pn, b0 as gn, b3 as bn, aC as fn, a5 as hn, a4 as vn, aq as yn, k as wn, m as Cn, aF as Dn, ab as Nn, b8 as Sn, a9 as kn, bp as xn, Y as Tn, bH as In, bG as Rn, bI as _n, ap as Mn, aQ as Pn, ba as Fn, bM as En, bv as On, n as An, am as Ln, bB as $n, bs as Bn, a0 as Kn, ar as Gn, a2 as Hn, bA as zn, G as Vn, d as Wn, aa as Zn, bJ as Un, aT as Yn, r as qn, v as jn, I as Qn, g as Xn, aw as Jn, bN as er, M as tr, w as ar, U as nr, X as rr, V as or, W as sr, as as ir, bg as lr, bP as dr, bL as cr, ao as ur, t as mr, bq as pr, aS as gr, aj as br, aK as fr, ag as hr, al as vr, au as yr, aR as wr, ac as Cr, at as Dr, c as Nr, R as Sr, j as kr, p as xr, aH as Tr, by as Ir, bz as Rr, ai as _r, ae as Mr, h as Pr, x as Fr, b7 as Er, af as Or, bO as Ar, bc as Lr, bf as $r, bd as Br, be as Kr, i as Gr, b9 as Hr, bn as zr, S as Vr, bk as Wr, bl as Zr, av as Ur, bb as Yr, bQ as qr, ak as jr, s as Qr, bK as Xr, l as Jr, f as eo, q as to, _ as ao, $ as no, a7 as ro, bj as oo, bw as so, bD as io, aA as lo, aB as co, a6 as uo, aO as mo, aP as po, aD as go, aE as bo, aG as fo, aV as ho, aW as vo, bF as yo, bE as wo, aY as Co, aZ as Do, ax as No, ay as So, b5 as ko, b4 as xo, a_ as To, aL as Io, aM as Ro, aX as _o, aI as Mo, aJ as Po, u as Fo, bC as Eo, br as Oo, bt as Ao, bu as Lo, aU as $o, a1 as Bo, e as Ko, bm as Go } from "./Expandable-CeOXiCY7.js";
2
+ import { jsxs as O, jsx as g } from "react/jsx-runtime";
3
+ import F, { useRef as M, useEffect as P, useState as E, useCallback as y, forwardRef as ve, useMemo as ee, createContext as ye, useContext as we } from "react";
4
+ import { B as Ce, U as te } from "./UIContext-C3E-k7HI.js";
5
+ import { a as zo, u as Vo } from "./UIContext-C3E-k7HI.js";
6
6
  import { createPortal as De } from "react-dom";
7
- import { DEFAULT_MARKET_PRESETS as Io, DEFAULT_PINNED as Ro, PERIOD_OPTIONS as _o, ROLLING_OPTIONS as Mo, TODAY_PRESET as Po, findPreset as Fo, formatDateRange as Eo, formatMarketDates as Oo, formatTrend as Ao, formatValue as Lo, generateMarketId as $o, getAllPresets as Bo, getDateRangeForPreset as Ko, getPresetLabel as Ho, isInRange as Go, isMarketActive as zo, isSameDay as Vo, normalizePresetId as Zo, toUppercasePresetId as Wo } from "@mt-gloss/utils";
8
- function gt(e = {}) {
7
+ import { DEFAULT_MARKET_PRESETS as Zo, DEFAULT_PINNED as Uo, PERIOD_OPTIONS as Yo, ROLLING_OPTIONS as qo, TODAY_PRESET as jo, findPreset as Qo, formatDateRange as Xo, formatMarketDates as Jo, formatTrend as es, formatValue as ts, generateMarketId as as, getAllPresets as ns, getDateRangeForPreset as rs, getPresetLabel as os, isInRange as ss, isMarketActive as is, isSameDay as ls, normalizePresetId as ds, toUppercasePresetId as cs } from "@mt-gloss/utils";
8
+ import Ne from "@mui/icons-material/AccessTime";
9
+ import Se from "@mui/icons-material/Tune";
10
+ import ke from "@mui/icons-material/ViewColumn";
11
+ import xe from "@mui/icons-material/AspectRatio";
12
+ import Te from "@mui/icons-material/Palette";
13
+ import Ie from "@mui/icons-material/PushPin";
14
+ function Mt(e = {}) {
9
15
  const { enabled: t = !0, returnTo: n } = e, a = M(null);
10
16
  return P(() => {
11
17
  t && (a.current = n || document.activeElement);
@@ -15,140 +21,140 @@ function gt(e = {}) {
15
21
  }, 0);
16
22
  }, [t]), a;
17
23
  }
18
- function bt(e) {
24
+ function Pt(e) {
19
25
  const {
20
26
  items: t,
21
27
  activeIndex: n,
22
28
  onActiveIndexChange: a,
23
29
  loop: o = !0,
24
30
  orientation: s = "vertical",
25
- enabled: i = !0,
26
- isItemDisabled: l,
27
- onSelect: f,
28
- onEscape: d
29
- } = e, [w, N] = O(-1), u = n !== void 0 ? n : w, m = y(
31
+ enabled: l = !0,
32
+ isItemDisabled: c,
33
+ onSelect: b,
34
+ onEscape: u
35
+ } = e, [w, C] = E(-1), i = n !== void 0 ? n : w, d = y(
30
36
  (r) => {
31
- n === void 0 && N(r), a?.(r);
37
+ n === void 0 && C(r), a?.(r);
32
38
  },
33
39
  [n, a]
34
- ), S = y(() => t.map((r, c) => ({ item: r, index: c })).filter(({ item: r, index: c }) => !l?.(r, c)).map(({ index: r }) => r), [t, l]), R = y(
35
- (r, c) => {
36
- const b = S();
37
- if (b.length === 0) return -1;
38
- const C = b.indexOf(r);
39
- if (C === -1)
40
- return c === 1 ? b.find((I) => I > r) ?? (o ? b[0] : -1) : [...b].reverse().find((_) => _ < r) ?? (o ? b[b.length - 1] : -1);
41
- let D = C + c;
42
- return o ? D = (D + b.length) % b.length : D = Math.max(0, Math.min(b.length - 1, D)), b[D];
40
+ ), S = y(() => t.map((r, p) => ({ item: r, index: p })).filter(({ item: r, index: p }) => !c?.(r, p)).map(({ index: r }) => r), [t, c]), k = y(
41
+ (r, p) => {
42
+ const f = S();
43
+ if (f.length === 0) return -1;
44
+ const D = f.indexOf(r);
45
+ if (D === -1)
46
+ return p === 1 ? f.find((R) => R > r) ?? (o ? f[0] : -1) : [...f].reverse().find((_) => _ < r) ?? (o ? f[f.length - 1] : -1);
47
+ let N = D + p;
48
+ return o ? N = (N + f.length) % f.length : N = Math.max(0, Math.min(f.length - 1, N)), f[N];
43
49
  },
44
50
  [S, o]
45
- ), p = y(() => {
51
+ ), m = y(() => {
46
52
  const r = S();
47
- r.length > 0 && m(r[0]);
48
- }, [S, m]), x = y(() => {
53
+ r.length > 0 && d(r[0]);
54
+ }, [S, d]), x = y(() => {
49
55
  const r = S();
50
- r.length > 0 && m(r[r.length - 1]);
51
- }, [S, m]), T = y(() => {
52
- const r = R(u, 1);
53
- r !== -1 && m(r);
54
- }, [u, R, m]), v = y(() => {
55
- const r = R(u, -1);
56
- r !== -1 && m(r);
57
- }, [u, R, m]), k = y(() => {
58
- m(-1);
59
- }, [m]), h = y(
56
+ r.length > 0 && d(r[r.length - 1]);
57
+ }, [S, d]), I = y(() => {
58
+ const r = k(i, 1);
59
+ r !== -1 && d(r);
60
+ }, [i, k, d]), v = y(() => {
61
+ const r = k(i, -1);
62
+ r !== -1 && d(r);
63
+ }, [i, k, d]), T = y(() => {
64
+ d(-1);
65
+ }, [d]), h = y(
60
66
  (r) => {
61
- if (!i) return;
62
- const { key: c } = r, b = c === "ArrowUp" && (s === "vertical" || s === "both"), C = c === "ArrowDown" && (s === "vertical" || s === "both"), D = c === "ArrowLeft" && (s === "horizontal" || s === "both"), I = c === "ArrowRight" && (s === "horizontal" || s === "both");
63
- if (b || D) {
64
- r.preventDefault(), u === -1 ? x() : v();
67
+ if (!l) return;
68
+ const { key: p } = r, f = p === "ArrowUp" && (s === "vertical" || s === "both"), D = p === "ArrowDown" && (s === "vertical" || s === "both"), N = p === "ArrowLeft" && (s === "horizontal" || s === "both"), R = p === "ArrowRight" && (s === "horizontal" || s === "both");
69
+ if (f || N) {
70
+ r.preventDefault(), i === -1 ? x() : v();
65
71
  return;
66
72
  }
67
- if (C || I) {
68
- r.preventDefault(), u === -1 ? p() : T();
73
+ if (D || R) {
74
+ r.preventDefault(), i === -1 ? m() : I();
69
75
  return;
70
76
  }
71
- if (c === "Home") {
72
- r.preventDefault(), p();
77
+ if (p === "Home") {
78
+ r.preventDefault(), m();
73
79
  return;
74
80
  }
75
- if (c === "End") {
81
+ if (p === "End") {
76
82
  r.preventDefault(), x();
77
83
  return;
78
84
  }
79
- if ((c === "Enter" || c === " ") && u >= 0 && u < t.length) {
85
+ if ((p === "Enter" || p === " ") && i >= 0 && i < t.length) {
80
86
  r.preventDefault();
81
- const _ = t[u];
82
- l?.(_, u) || f?.(_, u);
87
+ const _ = t[i];
88
+ c?.(_, i) || b?.(_, i);
83
89
  return;
84
90
  }
85
- if (c === "Escape") {
86
- d?.();
91
+ if (p === "Escape") {
92
+ u?.();
87
93
  return;
88
94
  }
89
95
  },
90
96
  [
91
- i,
97
+ l,
92
98
  s,
93
- u,
99
+ i,
94
100
  t,
95
- p,
101
+ m,
96
102
  x,
97
- T,
103
+ I,
98
104
  v,
99
- l,
100
- f,
101
- d
105
+ c,
106
+ b,
107
+ u
102
108
  ]
103
109
  );
104
110
  return {
105
- focusedIndex: u,
106
- setFocusedIndex: m,
111
+ focusedIndex: i,
112
+ setFocusedIndex: d,
107
113
  handleKeyDown: h,
108
- focusFirst: p,
114
+ focusFirst: m,
109
115
  focusLast: x,
110
- focusNext: T,
116
+ focusNext: I,
111
117
  focusPrevious: v,
112
- resetFocus: k
118
+ resetFocus: T
113
119
  };
114
120
  }
115
- const Z = (e) => {
116
- }, we = {
121
+ const W = (e) => {
122
+ }, Re = {
117
123
  id: "entity-filter-1",
118
124
  label: "Customer: Acme Corp",
119
125
  field: "customer",
120
126
  value: "acme-corp-123",
121
- onRemove: Z
122
- }, Ne = {
127
+ onRemove: W
128
+ }, _e = {
123
129
  id: "status-filter-1",
124
130
  label: "Status: Open",
125
131
  field: "status",
126
132
  value: "open",
127
- onRemove: Z
128
- }, Se = {
133
+ onRemove: W
134
+ }, Me = {
129
135
  id: "date-filter-1",
130
136
  label: "Date: Mar 1 - Mar 15",
131
137
  field: "dateRange",
132
138
  value: "2026-03-01..2026-03-15",
133
- onRemove: Z
134
- }, ke = {
139
+ onRemove: W
140
+ }, Pe = {
135
141
  id: "mfg-filter-1",
136
142
  label: "Manufacturer: Widget Co",
137
143
  field: "manufacturer",
138
144
  value: "widget-co-456",
139
- onRemove: Z
140
- }, ft = [
141
- we,
142
- Ne,
143
- Se,
144
- ke
145
- ], ht = {
145
+ onRemove: W
146
+ }, Ft = [
147
+ Re,
148
+ _e,
149
+ Me,
150
+ Pe
151
+ ], Et = {
146
152
  id: "metric-toggle",
147
153
  tabs: [
148
154
  { id: "$", label: "$", mono: !0 },
149
155
  { id: "#", label: "#", mono: !0 }
150
156
  ]
151
- }, vt = {
157
+ }, Ot = {
152
158
  id: "entity-type",
153
159
  tabs: [
154
160
  { id: "orders", label: "Orders" },
@@ -156,7 +162,7 @@ const Z = (e) => {
156
162
  { id: "customers", label: "Customers" },
157
163
  { id: "manufacturers", label: "Manufacturers" }
158
164
  ]
159
- }, yt = {
165
+ }, At = {
160
166
  id: "time-frame",
161
167
  tabs: [
162
168
  { id: "MTD", label: "MTD" },
@@ -164,26 +170,26 @@ const Z = (e) => {
164
170
  { id: "YTD", label: "YTD" },
165
171
  { id: "LYTD", label: "LYTD" }
166
172
  ]
167
- }, Ct = [
173
+ }, Lt = [
168
174
  { variant: "block", width: "100%", height: 16 },
169
175
  { variant: "block", width: 200, height: 32, borderRadius: 8 },
170
176
  { variant: "block", width: "80%", height: 12, borderRadius: "4px" },
171
177
  { variant: "block", width: 120, height: 44, borderRadius: 22 }
172
- ], Dt = [
178
+ ], $t = [
173
179
  { variant: "text", lines: 3, lineHeight: 14, gap: 8 },
174
180
  { variant: "text", lines: 2, lineHeight: 16, gap: 10 },
175
181
  { variant: "text", lines: 5, lineHeight: 12, gap: 6 }
176
- ], wt = [
182
+ ], Bt = [
177
183
  { variant: "circle", size: 24 },
178
184
  { variant: "circle", size: 40 },
179
185
  { variant: "circle", size: 64 }
180
- ], Nt = [
186
+ ], Kt = [
181
187
  { bars: 10, maxHeight: 120 },
182
188
  { bars: 5, maxHeight: 80 }
183
- ], St = [
189
+ ], Gt = [
184
190
  { rows: 5, columns: 3, hasCheckbox: !1, rowHeight: 44 },
185
191
  { rows: 8, columns: 5, hasCheckbox: !0, rowHeight: 44 }
186
- ], kt = [
192
+ ], Ht = [
187
193
  { variant: "value", colSpan: 1 },
188
194
  { variant: "trend", colSpan: 2 },
189
195
  { variant: "target", colSpan: 1 }
@@ -213,50 +219,50 @@ const Z = (e) => {
213
219
  width: "100%",
214
220
  textAlign: "left",
215
221
  border: "none"
216
- }), xe = (e) => ({
222
+ }), Fe = (e) => ({
217
223
  ...q(e),
218
224
  color: e ? "#4338ca" : "#4f46e5",
219
225
  fontWeight: 600
220
- }), Te = {
226
+ }), Ee = {
221
227
  height: 1,
222
228
  background: "rgba(0,0,0,0.06)",
223
229
  margin: "3px 10px"
224
230
  };
225
- function Ie({
231
+ function Oe({
226
232
  open: e,
227
233
  anchorEl: t,
228
234
  statusId: n,
229
235
  onOpenInTable: a,
230
236
  onShowOnGraph: o,
231
237
  overflowActions: s,
232
- onClose: i
238
+ onClose: l
233
239
  }) {
234
- const [l, f] = O(null), d = M(null), w = y(() => {
240
+ const [c, b] = E(null), u = M(null), w = y(() => {
235
241
  if (!t) return { ...re, top: 0, left: 0 };
236
- const m = t.getBoundingClientRect();
242
+ const d = t.getBoundingClientRect();
237
243
  return {
238
244
  ...re,
239
- top: m.bottom + 4,
240
- left: m.left
245
+ top: d.bottom + 4,
246
+ left: d.left
241
247
  };
242
248
  }, [t]);
243
249
  if (P(() => {
244
250
  if (!e) return;
245
- const m = (S) => {
246
- S.key === "Escape" && i();
251
+ const d = (S) => {
252
+ S.key === "Escape" && l();
247
253
  };
248
- return document.addEventListener("keydown", m), () => document.removeEventListener("keydown", m);
249
- }, [e, i]), P(() => {
254
+ return document.addEventListener("keydown", d), () => document.removeEventListener("keydown", d);
255
+ }, [e, l]), P(() => {
250
256
  if (!e) return;
251
- const m = (S) => {
252
- d.current && !d.current.contains(S.target) && i();
257
+ const d = (S) => {
258
+ u.current && !u.current.contains(S.target) && l();
253
259
  };
254
- return document.addEventListener("pointerdown", m, !0), () => document.removeEventListener("pointerdown", m, !0);
255
- }, [e, i]), !e) return null;
256
- const N = s && s.length > 0, u = /* @__PURE__ */ A(
260
+ return document.addEventListener("pointerdown", d, !0), () => document.removeEventListener("pointerdown", d, !0);
261
+ }, [e, l]), !e) return null;
262
+ const C = s && s.length > 0, i = /* @__PURE__ */ O(
257
263
  "div",
258
264
  {
259
- ref: d,
265
+ ref: u,
260
266
  "data-status-chip-menu": n,
261
267
  role: "menu",
262
268
  "aria-label": "Status actions",
@@ -266,11 +272,11 @@ function Ie({
266
272
  "button",
267
273
  {
268
274
  role: "menuitem",
269
- style: xe(l === "__primary"),
270
- onMouseEnter: () => f("__primary"),
271
- onMouseLeave: () => f(null),
275
+ style: Fe(c === "__primary"),
276
+ onMouseEnter: () => b("__primary"),
277
+ onMouseLeave: () => b(null),
272
278
  onClick: () => {
273
- a(n), i();
279
+ a(n), l();
274
280
  },
275
281
  children: "Open in table"
276
282
  }
@@ -279,75 +285,75 @@ function Ie({
279
285
  "button",
280
286
  {
281
287
  role: "menuitem",
282
- style: q(l === "__graph"),
283
- onMouseEnter: () => f("__graph"),
284
- onMouseLeave: () => f(null),
288
+ style: q(c === "__graph"),
289
+ onMouseEnter: () => b("__graph"),
290
+ onMouseLeave: () => b(null),
285
291
  onClick: () => {
286
- o(n), i();
292
+ o(n), l();
287
293
  },
288
294
  children: "Show on graph"
289
295
  }
290
296
  ),
291
- N && /* @__PURE__ */ g("div", { style: Te }),
292
- N && s?.map((m) => /* @__PURE__ */ g(
297
+ C && /* @__PURE__ */ g("div", { style: Ee }),
298
+ C && s?.map((d) => /* @__PURE__ */ g(
293
299
  "button",
294
300
  {
295
301
  role: "menuitem",
296
- style: q(l === m.id),
297
- onMouseEnter: () => f(m.id),
298
- onMouseLeave: () => f(null),
302
+ style: q(c === d.id),
303
+ onMouseEnter: () => b(d.id),
304
+ onMouseLeave: () => b(null),
299
305
  onClick: () => {
300
- m.onSelect(n), i();
306
+ d.onSelect(n), l();
301
307
  },
302
- children: m.label
308
+ children: d.label
303
309
  },
304
- m.id
310
+ d.id
305
311
  ))
306
312
  ]
307
313
  }
308
314
  );
309
- return De(u, document.body);
315
+ return De(i, document.body);
310
316
  }
311
- Ie.displayName = "StatusSlotChipMenu";
312
- const Re = he(
313
- function({ state: t, onPointerDown: n, onPointerUp: a, onPointerEnter: o, onPointerLeave: s, edge: i = "right", ariaLabel: l = "Resize card" }, f) {
314
- const d = t === "handle-visible" || t === "dragging", w = (u) => {
317
+ Oe.displayName = "StatusSlotChipMenu";
318
+ const Ae = ve(
319
+ function({ state: t, onPointerDown: n, onPointerUp: a, onPointerEnter: o, onPointerLeave: s, edge: l = "right", ariaLabel: c = "Resize card" }, b) {
320
+ const u = t === "handle-visible" || t === "dragging", w = (i) => {
315
321
  try {
316
- u.currentTarget.setPointerCapture(u.pointerId);
322
+ i.currentTarget.setPointerCapture(i.pointerId);
317
323
  } catch {
318
324
  }
319
- n(u);
320
- }, N = (u) => {
325
+ n(i);
326
+ }, C = (i) => {
321
327
  try {
322
- u.currentTarget.hasPointerCapture?.(u.pointerId) && u.currentTarget.releasePointerCapture(u.pointerId);
328
+ i.currentTarget.hasPointerCapture?.(i.pointerId) && i.currentTarget.releasePointerCapture(i.pointerId);
323
329
  } catch {
324
330
  }
325
- a(u);
331
+ a(i);
326
332
  };
327
333
  return /* @__PURE__ */ g(
328
334
  "button",
329
335
  {
330
- ref: f,
336
+ ref: b,
331
337
  type: "button",
332
- "aria-label": l,
333
- "data-edge": i,
338
+ "aria-label": c,
339
+ "data-edge": l,
334
340
  "data-resize-state": t,
335
341
  className: [
336
342
  "gloss-edge-handle",
337
- `gloss-edge-handle--${i}`,
338
- d ? "gloss-edge-handle--visible" : ""
343
+ `gloss-edge-handle--${l}`,
344
+ u ? "gloss-edge-handle--visible" : ""
339
345
  ].filter(Boolean).join(" "),
340
346
  onPointerDown: w,
341
- onPointerUp: N,
347
+ onPointerUp: C,
342
348
  onPointerEnter: o,
343
349
  onPointerLeave: s,
344
- tabIndex: d ? 0 : -1
350
+ tabIndex: u ? 0 : -1
345
351
  }
346
352
  );
347
353
  }
348
354
  );
349
- Re.displayName = "EdgeHoverHandle";
350
- function _e({
355
+ Ae.displayName = "EdgeHoverHandle";
356
+ function Le({
351
357
  visible: e,
352
358
  targetColSpan: t,
353
359
  enterMs: n = 180,
@@ -367,87 +373,94 @@ function _e({
367
373
  }
368
374
  );
369
375
  }
370
- _e.displayName = "GhostPreview";
371
- function xt({
376
+ Le.displayName = "GhostPreview";
377
+ function zt({
372
378
  currentColSpan: e,
373
379
  stackable: t,
374
380
  onResize: n,
375
381
  onCancel: a,
376
382
  dwellMs: o = 120,
377
383
  enterMs: s = 180,
378
- exitMs: i = 120
384
+ exitMs: l = 120
379
385
  }) {
380
- const [l, f] = O("idle"), [d, w] = O(e), N = M(null), u = M(null), m = M("idle");
386
+ const [c, b] = E("idle"), [u, w] = E(e), C = M(null), i = M(null), d = M("idle");
381
387
  P(() => {
382
- m.current = l;
383
- }, [l]);
384
- const S = 180, R = y(() => {
385
- N.current && (clearTimeout(N.current), N.current = null);
386
- }, []), p = y(() => {
387
- f((h) => h !== "idle" ? h : (N.current = setTimeout(() => f("handle-visible"), o), "dwelling"));
388
+ d.current = c;
389
+ }, [c]);
390
+ const S = 180, k = y(() => {
391
+ C.current && (clearTimeout(C.current), C.current = null);
392
+ }, []), m = y(() => {
393
+ b((h) => h !== "idle" ? h : (C.current = setTimeout(() => b("handle-visible"), o), "dwelling"));
388
394
  }, [o]), x = y(() => {
389
- R(), f((h) => h === "dwelling" || h === "handle-visible" ? "idle" : h);
390
- }, [R]), T = y(
395
+ k(), b((h) => h === "dwelling" || h === "handle-visible" ? "idle" : h);
396
+ }, [k]), I = y(
391
397
  (h) => {
392
- m.current === "handle-visible" && (u.current = h.clientX, m.current = "dragging", f("dragging"));
398
+ d.current === "handle-visible" && (i.current = h.clientX, d.current = "dragging", b("dragging"));
393
399
  },
394
400
  []
395
401
  ), v = y(
396
402
  (h) => {
397
- if (m.current !== "dragging") return;
398
- const r = h.clientX - (u.current ?? h.clientX), c = Math.round(r / S), b = Math.min(3, Math.max(1, e + c)), C = b !== e;
399
- if (f(C ? "committed" : "cancelled"), C) {
400
- const D = b > e ? "grow" : "shrink";
401
- n({ direction: D, targetColSpan: b, mode: t ? "slot-fill" : "sparkline-fidelity" });
403
+ if (d.current !== "dragging") return;
404
+ const r = h.clientX - (i.current ?? h.clientX), p = Math.round(r / S), f = Math.min(3, Math.max(1, e + p)), D = f !== e;
405
+ if (b(D ? "committed" : "cancelled"), D) {
406
+ const N = f > e ? "grow" : "shrink";
407
+ n({ direction: N, targetColSpan: f, mode: t ? "slot-fill" : "sparkline-fidelity" });
402
408
  } else
403
409
  a?.();
404
410
  },
405
411
  [e, t, n, a]
406
- ), k = y(() => {
407
- R(), f((h) => h === "dragging" || h === "handle-visible" ? (a?.(), "cancelled") : h);
408
- }, [R, a]);
412
+ ), T = y(() => {
413
+ k(), b((h) => h === "dragging" || h === "handle-visible" ? (a?.(), "cancelled") : h);
414
+ }, [k, a]);
409
415
  return P(() => {
410
- if (l !== "dragging" && l !== "handle-visible") return;
416
+ if (c !== "dragging" && c !== "handle-visible") return;
411
417
  const h = (r) => {
412
- r.key === "Escape" && k();
418
+ r.key === "Escape" && T();
413
419
  };
414
420
  return window.addEventListener("keydown", h), () => window.removeEventListener("keydown", h);
415
- }, [l, k]), P(() => {
416
- if (l !== "dragging") {
421
+ }, [c, T]), P(() => {
422
+ if (c !== "dragging") {
417
423
  w(e);
418
424
  return;
419
425
  }
420
426
  const h = (r) => {
421
- const c = r.clientX - (u.current ?? r.clientX), b = Math.round(c / S), C = Math.min(3, Math.max(1, e + b));
422
- w((D) => D === C ? D : C);
427
+ const p = r.clientX - (i.current ?? r.clientX), f = Math.round(p / S), D = Math.min(3, Math.max(1, e + f));
428
+ w((N) => N === D ? N : D);
423
429
  };
424
430
  return window.addEventListener("pointermove", h), () => window.removeEventListener("pointermove", h);
425
- }, [l, e]), P(() => () => R(), [R]), P(() => {
426
- if (l !== "committed" && l !== "cancelled") return;
427
- const h = setTimeout(() => f("idle"), i);
431
+ }, [c, e]), P(() => () => k(), [k]), P(() => {
432
+ if (c !== "committed" && c !== "cancelled") return;
433
+ const h = setTimeout(() => b("idle"), l);
428
434
  return () => clearTimeout(h);
429
- }, [l, i]), {
430
- state: l,
431
- enterEdgeZone: p,
435
+ }, [c, l]), {
436
+ state: c,
437
+ enterEdgeZone: m,
432
438
  leaveEdgeZone: x,
433
439
  handleProps: {
434
- onPointerDown: T,
440
+ onPointerDown: I,
435
441
  onPointerUp: v,
436
442
  // Bug E: handle continues zone presence so pointer crossing sentinel→handle
437
443
  // doesn't collapse state. handle's pointerenter = stay in zone.
438
- onPointerEnter: p,
444
+ onPointerEnter: m,
439
445
  onPointerLeave: x
440
446
  },
441
- previewColSpan: d,
447
+ previewColSpan: u,
442
448
  ghostProps: {
443
- visible: l === "dragging",
444
- targetColSpan: d,
449
+ visible: c === "dragging",
450
+ targetColSpan: u,
445
451
  enterMs: s,
446
- exitMs: i
452
+ exitMs: l
447
453
  }
448
454
  };
449
455
  }
450
- const Tt = [
456
+ function Vt(e) {
457
+ const { cardWidthPx: t, slotCount: n, activeSlotIdx: a, pillWidthPx: o } = e;
458
+ if (a == null || !Number.isFinite(t) || t <= 0 || !Number.isFinite(n) || n <= 0 || !Number.isInteger(a) || a < 0 || a >= n)
459
+ return;
460
+ const s = (a + 0.5) * (t / n);
461
+ return o != null && Number.isFinite(o) && o > 0 ? s - o / 2 : s;
462
+ }
463
+ const Wt = [
451
464
  // 1. Standard: Total Revenue
452
465
  {
453
466
  variant: "standard",
@@ -551,24 +564,24 @@ const Tt = [
551
564
  { value: 9, color: "#6b7280", label: "Other" }
552
565
  ]
553
566
  }
554
- ], Me = {
567
+ ], $e = {
555
568
  variant: "standard",
556
569
  label: "Total Revenue",
557
570
  isLoading: !0
558
- }, Pe = {
571
+ }, Be = {
559
572
  variant: "standard",
560
573
  label: "Total Revenue",
561
574
  value: 125430,
562
575
  valueFormat: { prefix: "$", abbreviated: !0 },
563
576
  isError: !0
564
- }, Fe = {
577
+ }, Ke = {
565
578
  variant: "standard",
566
579
  label: "Total Revenue",
567
580
  value: null,
568
581
  valueFormat: { prefix: "$", abbreviated: !0 },
569
582
  isEmpty: !0,
570
583
  subtitle: "No data"
571
- }, Ee = {
584
+ }, Ge = {
572
585
  variant: "standard",
573
586
  label: "Total Revenue",
574
587
  value: 125430,
@@ -576,7 +589,7 @@ const Tt = [
576
589
  trend: { value: 12.5, direction: "up" },
577
590
  subtitle: "MTD",
578
591
  isStale: !0
579
- }, Oe = {
592
+ }, He = {
580
593
  variant: "sparkline",
581
594
  label: "Daily Orders",
582
595
  value: 847,
@@ -585,7 +598,7 @@ const Tt = [
585
598
  sparklineData: [42, 38, 51, 47, 55, 60, 58, 63, 57, 62, 68, 71, 65, 59],
586
599
  accentColor: "#6366f1",
587
600
  isStale: !0
588
- }, Ae = {
601
+ }, ze = {
589
602
  variant: "donut",
590
603
  label: "Order Fill Rate",
591
604
  value: 78,
@@ -596,14 +609,14 @@ const Tt = [
596
609
  donutMax: 100,
597
610
  accentColor: "#10b981",
598
611
  isStale: !0
599
- }, It = [
600
- Me,
601
- Pe,
602
- Fe,
603
- Ee,
604
- Oe,
605
- Ae
606
- ], Rt = {
612
+ }, Zt = [
613
+ $e,
614
+ Be,
615
+ Ke,
616
+ Ge,
617
+ He,
618
+ ze
619
+ ], Ut = {
607
620
  variant: "sparkline",
608
621
  label: "Daily Orders",
609
622
  value: 847,
@@ -626,7 +639,7 @@ const Tt = [
626
639
  59
627
640
  ],
628
641
  accentColor: "#6366f1"
629
- }, _t = {
642
+ }, Yt = {
630
643
  variant: "sparkline",
631
644
  label: "New Customers",
632
645
  value: 23,
@@ -665,21 +678,21 @@ const Tt = [
665
678
  19
666
679
  ],
667
680
  accentColor: "#10b981"
668
- }, Mt = {
681
+ }, qt = {
669
682
  variant: "standard",
670
683
  label: "Total Revenue",
671
684
  value: 125430,
672
685
  valueFormat: { prefix: "$", abbreviated: !0 },
673
686
  trend: { value: 12.5, direction: "up" },
674
687
  subtitle: "MTD"
675
- }, Pt = {
688
+ }, jt = {
676
689
  variant: "standard",
677
690
  label: "Returns",
678
691
  value: 3280,
679
692
  valueFormat: { prefix: "$", abbreviated: !0 },
680
693
  trend: { value: -8.3, direction: "down" },
681
694
  subtitle: "MTD"
682
- }, Ft = {
695
+ }, Qt = {
683
696
  variant: "standard",
684
697
  label: "Avg Order Value",
685
698
  value: 487,
@@ -687,32 +700,32 @@ const Tt = [
687
700
  trend: { value: 0, direction: "flat" },
688
701
  subtitle: "QTD"
689
702
  };
690
- function le({
703
+ function de({
691
704
  open: e,
692
705
  onDismiss: t,
693
706
  anchorRef: n,
694
707
  pages: a,
695
708
  activePageId: o,
696
709
  onPageChange: s,
697
- onCreatePage: i,
698
- onManagePages: l
710
+ onCreatePage: l,
711
+ onManagePages: c
699
712
  }) {
700
- const f = y(
701
- (u) => {
702
- s(u), t();
713
+ const b = y(
714
+ (i) => {
715
+ s(i), t();
703
716
  },
704
717
  [s, t]
705
- ), d = y(
706
- (u, m) => {
707
- (m.key === "Enter" || m.key === " ") && (m.preventDefault(), f(u));
718
+ ), u = y(
719
+ (i, d) => {
720
+ (d.key === "Enter" || d.key === " ") && (d.preventDefault(), b(i));
708
721
  },
709
- [f]
722
+ [b]
710
723
  ), w = y(() => {
711
- i(), t();
712
- }, [i, t]), N = y(() => {
713
724
  l(), t();
714
- }, [l, t]);
715
- return /* @__PURE__ */ A(
725
+ }, [l, t]), C = y(() => {
726
+ c(), t();
727
+ }, [c, t]);
728
+ return /* @__PURE__ */ O(
716
729
  Ce,
717
730
  {
718
731
  definition: {
@@ -726,36 +739,36 @@ function le({
726
739
  anchorRef: n,
727
740
  className: "gloss-page-dropdown",
728
741
  children: [
729
- /* @__PURE__ */ g("ul", { role: "menu", className: "gloss-page-dropdown__list", children: a.map((u) => {
730
- const m = u.id === o;
731
- return /* @__PURE__ */ A(
742
+ /* @__PURE__ */ g("ul", { role: "menu", className: "gloss-page-dropdown__list", children: a.map((i) => {
743
+ const d = i.id === o;
744
+ return /* @__PURE__ */ O(
732
745
  "li",
733
746
  {
734
747
  role: "menuitemradio",
735
- "aria-checked": m,
736
- "aria-current": m ? "page" : void 0,
748
+ "aria-checked": d,
749
+ "aria-current": d ? "page" : void 0,
737
750
  tabIndex: 0,
738
- className: `gloss-page-dropdown__item${m ? " gloss-page-dropdown__item--active" : ""}`,
739
- onClick: () => f(u.id),
740
- onKeyDown: (S) => d(u.id, S),
751
+ className: `gloss-page-dropdown__item${d ? " gloss-page-dropdown__item--active" : ""}`,
752
+ onClick: () => b(i.id),
753
+ onKeyDown: (S) => u(i.id, S),
741
754
  children: [
742
755
  /* @__PURE__ */ g(
743
756
  "span",
744
757
  {
745
- className: `gloss-page-dropdown__dot${m ? " gloss-page-dropdown__dot--active" : ""}`
758
+ className: `gloss-page-dropdown__dot${d ? " gloss-page-dropdown__dot--active" : ""}`
746
759
  }
747
760
  ),
748
761
  /* @__PURE__ */ g(
749
762
  "span",
750
763
  {
751
- className: `gloss-page-dropdown__name${u.named ? "" : " gloss-page-dropdown__name--unnamed"}`,
752
- children: u.name
764
+ className: `gloss-page-dropdown__name${i.named ? "" : " gloss-page-dropdown__name--unnamed"}`,
765
+ children: i.name
753
766
  }
754
767
  ),
755
- /* @__PURE__ */ g("span", { className: "gloss-page-dropdown__count", children: u.cardCount })
768
+ /* @__PURE__ */ g("span", { className: "gloss-page-dropdown__count", children: i.cardCount })
756
769
  ]
757
770
  },
758
- u.id
771
+ i.id
759
772
  );
760
773
  }) }),
761
774
  /* @__PURE__ */ g("hr", { className: "gloss-page-dropdown__separator" }),
@@ -774,7 +787,7 @@ function le({
774
787
  {
775
788
  role: "menuitem",
776
789
  className: "gloss-page-dropdown__action gloss-page-dropdown__action--muted",
777
- onClick: N,
790
+ onClick: C,
778
791
  children: "Manage pages"
779
792
  }
780
793
  )
@@ -782,26 +795,26 @@ function le({
782
795
  }
783
796
  );
784
797
  }
785
- le.displayName = "PageDropdown";
786
- const Le = function({
798
+ de.displayName = "PageDropdown";
799
+ const Ve = function({
787
800
  currentIndex: t,
788
801
  total: n,
789
802
  pages: a,
790
803
  onPageChange: o,
791
804
  onCreatePage: s,
792
- onManagePages: i,
793
- maskRadius: l = "var(--gloss-radius-md)"
805
+ onManagePages: l,
806
+ maskRadius: c = "var(--gloss-radius-md)"
794
807
  }) {
795
- const f = M(null), [d, w] = O(!1), N = y(() => {
808
+ const b = M(null), [u, w] = E(!1), C = y(() => {
796
809
  w((S) => !S);
797
- }, []), u = y(() => {
810
+ }, []), i = y(() => {
798
811
  w(!1);
799
- }, []), m = a[t]?.id ?? "";
800
- return /* @__PURE__ */ A(
812
+ }, []), d = a[t]?.id ?? "";
813
+ return /* @__PURE__ */ O(
801
814
  "div",
802
815
  {
803
816
  className: "gloss-page-chip",
804
- ref: f,
817
+ ref: b,
805
818
  style: { position: "absolute", top: 0, right: 0 },
806
819
  "data-page-chip": !0,
807
820
  children: [
@@ -809,17 +822,17 @@ const Le = function({
809
822
  "div",
810
823
  {
811
824
  className: "gloss-page-chip__nuzzle",
812
- style: { "--_nuzzle-r": l }
825
+ style: { "--_nuzzle-r": c }
813
826
  }
814
827
  ),
815
- /* @__PURE__ */ A(
828
+ /* @__PURE__ */ O(
816
829
  "button",
817
830
  {
818
831
  className: "gloss-page-chip__trigger",
819
832
  "aria-haspopup": "menu",
820
- "aria-expanded": d,
833
+ "aria-expanded": u,
821
834
  "aria-label": `Page ${t + 1} of ${n}. Click to switch pages.`,
822
- onClick: N,
835
+ onClick: C,
823
836
  children: [
824
837
  t + 1,
825
838
  " / ",
@@ -828,24 +841,24 @@ const Le = function({
828
841
  }
829
842
  ),
830
843
  /* @__PURE__ */ g(
831
- le,
844
+ de,
832
845
  {
833
- open: d,
834
- onDismiss: u,
835
- anchorRef: f,
846
+ open: u,
847
+ onDismiss: i,
848
+ anchorRef: b,
836
849
  pages: a,
837
- activePageId: m,
850
+ activePageId: d,
838
851
  onPageChange: o,
839
852
  onCreatePage: s,
840
- onManagePages: i
853
+ onManagePages: l
841
854
  }
842
855
  )
843
856
  ]
844
857
  }
845
858
  );
846
859
  };
847
- Le.displayName = "PageChip";
848
- const Et = [
860
+ Ve.displayName = "PageChip";
861
+ const Xt = [
849
862
  {
850
863
  id: "ORD-1001",
851
864
  orderNumber: "ORD-1001",
@@ -978,7 +991,7 @@ const Et = [
978
991
  date: "2026-03-01",
979
992
  skuCount: 9
980
993
  }
981
- ], Ot = [
994
+ ], Jt = [
982
995
  {
983
996
  id: "ITEM-001",
984
997
  sku: "PB-4520",
@@ -1115,13 +1128,13 @@ const Et = [
1115
1128
  function j(e) {
1116
1129
  return "$" + e.toLocaleString("en-US", { minimumFractionDigits: 2, maximumFractionDigits: 2 });
1117
1130
  }
1118
- function de(e) {
1131
+ function ce(e) {
1119
1132
  return e.toLocaleString("en-US");
1120
1133
  }
1121
- function ce(e) {
1134
+ function ue(e) {
1122
1135
  return new Date(e).toLocaleDateString("en-US", { month: "short", day: "numeric", year: "numeric" });
1123
1136
  }
1124
- const z = F.createElement("span", { style: { color: "var(--color-text-muted)" } }, "—"), At = [
1137
+ const z = F.createElement("span", { style: { color: "var(--color-text-muted)" } }, "—"), ea = [
1125
1138
  {
1126
1139
  field: "id",
1127
1140
  headerName: "Order",
@@ -1151,7 +1164,7 @@ const z = F.createElement("span", { style: { color: "var(--color-text-muted)" }
1151
1164
  align: "right",
1152
1165
  headerAlign: "right",
1153
1166
  cellClassName: "gloss-tabular-nums",
1154
- renderCell: ({ row: e }) => e.skuCount ? de(e.skuCount) : z
1167
+ renderCell: ({ row: e }) => e.skuCount ? ce(e.skuCount) : z
1155
1168
  },
1156
1169
  {
1157
1170
  field: "total",
@@ -1171,9 +1184,9 @@ const z = F.createElement("span", { style: { color: "var(--color-text-muted)" }
1171
1184
  align: "right",
1172
1185
  headerAlign: "right",
1173
1186
  cellClassName: "gloss-tabular-nums",
1174
- renderCell: ({ row: e }) => e.date ? ce(e.date) : ""
1187
+ renderCell: ({ row: e }) => e.date ? ue(e.date) : ""
1175
1188
  }
1176
- ], Lt = [
1189
+ ], ta = [
1177
1190
  {
1178
1191
  field: "sku",
1179
1192
  headerName: "Item ID",
@@ -1215,7 +1228,7 @@ const z = F.createElement("span", { style: { color: "var(--color-text-muted)" }
1215
1228
  align: "right",
1216
1229
  headerAlign: "right",
1217
1230
  cellClassName: "gloss-tabular-nums gloss-drillable",
1218
- renderCell: ({ row: e }) => e.quantity ? de(e.quantity) : z
1231
+ renderCell: ({ row: e }) => e.quantity ? ce(e.quantity) : z
1219
1232
  },
1220
1233
  {
1221
1234
  field: "total",
@@ -1235,24 +1248,24 @@ const z = F.createElement("span", { style: { color: "var(--color-text-muted)" }
1235
1248
  align: "right",
1236
1249
  headerAlign: "right",
1237
1250
  cellClassName: "gloss-tabular-nums",
1238
- renderCell: ({ row: e }) => e.lastDate ? ce(e.lastDate) : ""
1251
+ renderCell: ({ row: e }) => e.lastDate ? ue(e.lastDate) : ""
1239
1252
  }
1240
- ], $e = [
1253
+ ], We = [
1241
1254
  { id: "c-001", label: "ABC Home Goods" },
1242
1255
  { id: "c-002", label: "Riverside Retail" },
1243
1256
  { id: "c-003", label: "Mountain View Store" },
1244
1257
  { id: "c-004", label: "Downtown Decor" },
1245
1258
  { id: "c-005", label: "Pacific Coast Imports" }
1246
- ], Be = [
1259
+ ], Ze = [
1247
1260
  { id: "i-001", label: "Classic Linen Throw Pillow" },
1248
1261
  { id: "i-002", label: "Coastal Wave Candle Set" },
1249
1262
  { id: "i-003", label: "Walnut Console Table" },
1250
1263
  { id: "i-004", label: "Hand-Blown Glass Vase" },
1251
1264
  { id: "i-005", label: "Velvet Accent Cushion" }
1252
- ], W = (e) => {
1253
- }, Ke = (e) => {
1254
- }, ne = (e, t) => {
1255
- }, ue = {
1265
+ ], Z = (e) => {
1266
+ }, Ue = (e) => {
1267
+ }, oe = (e, t) => {
1268
+ }, me = {
1256
1269
  vizState: {
1257
1270
  type: "orders",
1258
1271
  quant: "$",
@@ -1260,17 +1273,17 @@ const z = F.createElement("span", { style: { color: "var(--color-text-muted)" }
1260
1273
  byItem: { id: null, name: null },
1261
1274
  timeFrame: "MTD"
1262
1275
  },
1263
- onTypeChange: W,
1264
- onQuantChange: Ke,
1265
- onEntityTypeChange: W,
1266
- onEntitySelect: ne,
1267
- onItemSelect: ne,
1268
- onTimeFrameChange: W,
1276
+ onTypeChange: Z,
1277
+ onQuantChange: Ue,
1278
+ onEntityTypeChange: Z,
1279
+ onEntitySelect: oe,
1280
+ onItemSelect: oe,
1281
+ onTimeFrameChange: Z,
1269
1282
  userType: "sales-agency",
1270
- entityFilterOptions: $e,
1271
- itemFilterOptions: Be
1272
- }, $t = {
1273
- ...ue,
1283
+ entityFilterOptions: We,
1284
+ itemFilterOptions: Ze
1285
+ }, aa = {
1286
+ ...me,
1274
1287
  vizState: {
1275
1288
  type: "items",
1276
1289
  quant: "$",
@@ -1278,8 +1291,8 @@ const z = F.createElement("span", { style: { color: "var(--color-text-muted)" }
1278
1291
  byItem: { id: "i-003", name: "Walnut Console Table" },
1279
1292
  timeFrame: "YTD"
1280
1293
  }
1281
- }, Bt = {
1282
- ...ue,
1294
+ }, na = {
1295
+ ...me,
1283
1296
  vizState: {
1284
1297
  type: "orders",
1285
1298
  quant: "#",
@@ -1291,7 +1304,7 @@ const z = F.createElement("span", { style: { color: "var(--color-text-muted)" }
1291
1304
  entityFilterOptions: [
1292
1305
  { id: "customers", label: "Customers" }
1293
1306
  ]
1294
- }, He = [
1307
+ }, Ye = [
1295
1308
  {
1296
1309
  id: "recent-orders",
1297
1310
  label: "Recent Orders",
@@ -1337,7 +1350,7 @@ const z = F.createElement("span", { style: { color: "var(--color-text-muted)" }
1337
1350
  routeKey: "customer.profile",
1338
1351
  subtitle: "Opens in RepTime"
1339
1352
  }
1340
- ], Ge = [
1353
+ ], qe = [
1341
1354
  {
1342
1355
  id: "order-items",
1343
1356
  label: "Items in Order",
@@ -1366,7 +1379,7 @@ const z = F.createElement("span", { style: { color: "var(--color-text-muted)" }
1366
1379
  cellKinds: ["orderId"],
1367
1380
  graphType: "timeline"
1368
1381
  }
1369
- ], ze = [
1382
+ ], je = [
1370
1383
  {
1371
1384
  id: "graph-metric",
1372
1385
  label: "Graph This Metric",
@@ -1394,14 +1407,14 @@ const z = F.createElement("span", { style: { color: "var(--color-text-muted)" }
1394
1407
  cellKinds: ["numeric"],
1395
1408
  tabType: "orders"
1396
1409
  }
1397
- ], Kt = {
1398
- entityName: He,
1399
- orderId: Ge,
1400
- numeric: ze
1401
- }, Ht = [
1410
+ ], ra = {
1411
+ entityName: Ye,
1412
+ orderId: qe,
1413
+ numeric: je
1414
+ }, oa = [
1402
1415
  new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), (/* @__PURE__ */ new Date()).getDate() - 29),
1403
1416
  /* @__PURE__ */ new Date()
1404
- ], Gt = {
1417
+ ], sa = {
1405
1418
  rangeA: [
1406
1419
  new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), 1),
1407
1420
  /* @__PURE__ */ new Date()
@@ -1414,7 +1427,7 @@ const z = F.createElement("span", { style: { color: "var(--color-text-muted)" }
1414
1427
  new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth() - 2, 1),
1415
1428
  new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth() - 1, 0)
1416
1429
  ]
1417
- }, zt = {
1430
+ }, ia = {
1418
1431
  version: 4,
1419
1432
  lastPreset: "mtd",
1420
1433
  pinnedPreset: "mtd",
@@ -1422,7 +1435,7 @@ const z = F.createElement("span", { style: { color: "var(--color-text-muted)" }
1422
1435
  rangeCount: 1,
1423
1436
  lastPresetB: null,
1424
1437
  lastPresetC: null
1425
- }, Vt = [
1438
+ }, la = [
1426
1439
  {
1427
1440
  id: "atlanta-jan",
1428
1441
  label: "Atlanta Market",
@@ -1444,7 +1457,7 @@ const z = F.createElement("span", { style: { color: "var(--color-text-muted)" }
1444
1457
  endDate: new Date(2026, 3, 22),
1445
1458
  location: "Chicago, IL"
1446
1459
  }
1447
- ], Zt = [
1460
+ ], da = [
1448
1461
  {
1449
1462
  id: "custom-regional-1",
1450
1463
  label: "Southeast Regional Expo",
@@ -1461,7 +1474,7 @@ const z = F.createElement("span", { style: { color: "var(--color-text-muted)" }
1461
1474
  location: "Portland, OR",
1462
1475
  isCustom: !0
1463
1476
  }
1464
- ], Wt = [
1477
+ ], ca = [
1465
1478
  {
1466
1479
  id: "atlanta-jan",
1467
1480
  label: "Atlanta Market",
@@ -1478,17 +1491,132 @@ const z = F.createElement("span", { style: { color: "var(--color-text-muted)" }
1478
1491
  location: "New York, NY",
1479
1492
  active: !0
1480
1493
  }
1481
- ], Yt = [
1494
+ ], ua = [
1482
1495
  { id: "7d", label: "7D" },
1483
1496
  { id: "30d", label: "30D" },
1484
1497
  { id: "60d", label: "60D" },
1485
1498
  { id: "90d", label: "90D" }
1486
- ], Ut = [
1499
+ ], ma = [
1487
1500
  { id: "mtd", label: "MTD" },
1488
1501
  { id: "qtd", label: "QTD" },
1489
1502
  { id: "ytd", label: "YTD" },
1490
1503
  { id: "lytd", label: "LYTD" }
1491
- ];
1504
+ ], Qe = {
1505
+ timeframe: "Time Frame",
1506
+ threshold: "Thresholds",
1507
+ slots: "Slots",
1508
+ size: "Size",
1509
+ color: "Color",
1510
+ pinned: "Pinned"
1511
+ }, Xe = {
1512
+ timeframe: Ne,
1513
+ threshold: Se,
1514
+ slots: ke,
1515
+ size: xe,
1516
+ color: Te,
1517
+ pinned: Ie
1518
+ };
1519
+ function se(...e) {
1520
+ return e.filter(Boolean).join(" ");
1521
+ }
1522
+ function Je() {
1523
+ const [e, t] = E(() => typeof window > "u" || typeof window.matchMedia != "function" ? !1 : window.matchMedia("(prefers-reduced-motion: reduce)").matches);
1524
+ return P(() => {
1525
+ if (typeof window > "u" || typeof window.matchMedia != "function") return;
1526
+ const n = window.matchMedia("(prefers-reduced-motion: reduce)"), a = (o) => t(o.matches);
1527
+ return typeof n.addEventListener == "function" ? (n.addEventListener("change", a), () => n.removeEventListener("change", a)) : (n.addListener?.(a), () => {
1528
+ n.removeListener?.(a);
1529
+ });
1530
+ }, []), e;
1531
+ }
1532
+ const et = ({
1533
+ dimensions: e,
1534
+ onDimensionSelect: t,
1535
+ activeDimension: n,
1536
+ ariaCardTypeLabel: a,
1537
+ className: o
1538
+ }) => {
1539
+ const s = M(null), l = M([]), c = Je(), b = ee(() => Array.from(e), [e]);
1540
+ if (b.length === 0) return null;
1541
+ const u = a ? `Configure ${a}: choose a dimension` : void 0, w = c ? "10ms" : "200ms", C = (i, d) => {
1542
+ const S = b.length - 1, k = (m) => {
1543
+ const x = l.current[m];
1544
+ x && x.focus();
1545
+ };
1546
+ switch (i.key) {
1547
+ case "ArrowRight":
1548
+ case "ArrowDown": {
1549
+ i.preventDefault(), k(d === S ? 0 : d + 1);
1550
+ break;
1551
+ }
1552
+ case "ArrowLeft":
1553
+ case "ArrowUp": {
1554
+ i.preventDefault(), k(d === 0 ? S : d - 1);
1555
+ break;
1556
+ }
1557
+ case "Home": {
1558
+ i.preventDefault(), k(0);
1559
+ break;
1560
+ }
1561
+ case "End": {
1562
+ i.preventDefault(), k(S);
1563
+ break;
1564
+ }
1565
+ case "Enter":
1566
+ case " ": {
1567
+ i.preventDefault(), t(b[d]);
1568
+ break;
1569
+ }
1570
+ }
1571
+ };
1572
+ return /* @__PURE__ */ g(
1573
+ "div",
1574
+ {
1575
+ ref: s,
1576
+ role: "group",
1577
+ "aria-label": u,
1578
+ className: se("gloss-reconfig-backside-buttons", o),
1579
+ style: {
1580
+ // Expose the reduced-motion-resolved duration as a CSS custom prop
1581
+ // so the SCSS transition rule can consume it without a nested media
1582
+ // query in the JS. Also surfaces the value for the unit test.
1583
+ "--gloss-reconfig-backside-buttons-transition-duration": w
1584
+ },
1585
+ children: b.map((i, d) => {
1586
+ const S = Xe[i], k = n === i;
1587
+ return /* @__PURE__ */ O(
1588
+ "button",
1589
+ {
1590
+ ref: (m) => {
1591
+ l.current[d] = m;
1592
+ },
1593
+ type: "button",
1594
+ "data-dimension": i,
1595
+ className: se(
1596
+ "gloss-reconfig-backside-buttons__button",
1597
+ k && "gloss-reconfig-backside-buttons__button--active"
1598
+ ),
1599
+ "aria-current": k ? "true" : void 0,
1600
+ onClick: () => t(i),
1601
+ onKeyDown: (m) => C(m, d),
1602
+ children: [
1603
+ /* @__PURE__ */ g(
1604
+ S,
1605
+ {
1606
+ className: "gloss-reconfig-backside-buttons__button-icon",
1607
+ "aria-hidden": "true"
1608
+ }
1609
+ ),
1610
+ /* @__PURE__ */ g("span", { className: "gloss-reconfig-backside-buttons__button-label", children: Qe[i] })
1611
+ ]
1612
+ },
1613
+ i
1614
+ );
1615
+ })
1616
+ }
1617
+ );
1618
+ };
1619
+ et.displayName = "ReconfigBacksideButtons";
1492
1620
  function L(e, t) {
1493
1621
  return {
1494
1622
  id: e,
@@ -1509,38 +1637,38 @@ function L(e, t) {
1509
1637
  }, t)
1510
1638
  };
1511
1639
  }
1512
- function oe(e, t) {
1640
+ function ie(e, t) {
1513
1641
  return {
1514
1642
  ...L(e, t),
1515
1643
  colSpan: 2
1516
1644
  };
1517
1645
  }
1518
- const qt = [
1646
+ const pa = [
1519
1647
  L("total-revenue", "Total Revenue"),
1520
1648
  L("total-orders", "Total Orders"),
1521
- oe("revenue-trend", "Revenue Trend (2x)"),
1649
+ ie("revenue-trend", "Revenue Trend (2x)"),
1522
1650
  L("avg-order", "Avg Order Value"),
1523
1651
  L("new-customers", "New Customers"),
1524
1652
  L("top-salesperson", "Top Salesperson"),
1525
- oe("order-trend", "Order Trend (2x)"),
1653
+ ie("order-trend", "Order Trend (2x)"),
1526
1654
  L("repeat-rate", "Repeat Rate"),
1527
1655
  L("open-orders", "Open Orders"),
1528
1656
  L("shipped-orders", "Shipped Orders")
1529
- ], jt = {
1657
+ ], ga = {
1530
1658
  columns: 6,
1531
1659
  rowHeight: 120,
1532
1660
  gap: 15,
1533
1661
  maxRows: 3,
1534
1662
  currentPage: 0,
1535
1663
  totalPages: 1
1536
- }, Qt = {
1664
+ }, ba = {
1537
1665
  columns: 9,
1538
1666
  rowHeight: 120,
1539
1667
  gap: 15,
1540
1668
  maxRows: 3,
1541
1669
  currentPage: 0,
1542
1670
  totalPages: 2
1543
- }, Xt = {
1671
+ }, fa = {
1544
1672
  columns: 12,
1545
1673
  rowHeight: 120,
1546
1674
  gap: 15,
@@ -1548,15 +1676,15 @@ const qt = [
1548
1676
  currentPage: 0,
1549
1677
  totalPages: 3
1550
1678
  };
1551
- function Y(e) {
1679
+ function U(e) {
1552
1680
  return F.createElement("span", { style: { fontSize: 14 } }, e);
1553
1681
  }
1554
- const Jt = [
1682
+ const ha = [
1555
1683
  {
1556
1684
  id: "all-orders",
1557
1685
  type: "orders",
1558
1686
  name: "All Orders",
1559
- icon: Y("📋"),
1687
+ icon: U("📋"),
1560
1688
  closable: !1,
1561
1689
  autoCreated: !0
1562
1690
  },
@@ -1564,17 +1692,17 @@ const Jt = [
1564
1692
  id: "open-orders",
1565
1693
  type: "orders",
1566
1694
  name: "Open Orders",
1567
- icon: Y("📦"),
1695
+ icon: U("📦"),
1568
1696
  closable: !0
1569
1697
  },
1570
1698
  {
1571
1699
  id: "shipped-orders",
1572
1700
  type: "orders",
1573
1701
  name: "Shipped Orders",
1574
- icon: Y("🚚"),
1702
+ icon: U("🚚"),
1575
1703
  closable: !0
1576
1704
  }
1577
- ], ea = [
1705
+ ], va = [
1578
1706
  {
1579
1707
  id: "orders-main",
1580
1708
  type: "orders",
@@ -1600,7 +1728,7 @@ const Jt = [
1600
1728
  name: "Customers",
1601
1729
  closable: !0
1602
1730
  }
1603
- ], ta = [
1731
+ ], ya = [
1604
1732
  {
1605
1733
  id: "only-tab",
1606
1734
  type: "orders",
@@ -1608,7 +1736,7 @@ const Jt = [
1608
1736
  closable: !1,
1609
1737
  autoCreated: !0
1610
1738
  }
1611
- ], aa = [
1739
+ ], wa = [
1612
1740
  { id: "tab-1", type: "orders", name: "All Orders", closable: !1, autoCreated: !0 },
1613
1741
  { id: "tab-2", type: "orders", name: "Open Orders", closable: !0 },
1614
1742
  { id: "tab-3", type: "orders", name: "Shipped Orders", closable: !0 },
@@ -1631,7 +1759,7 @@ function Q(e) {
1631
1759
  return { cols: 1, rows: 1 };
1632
1760
  }
1633
1761
  }
1634
- function Ve(e) {
1762
+ function tt(e) {
1635
1763
  let t = 0;
1636
1764
  for (const a of e) {
1637
1765
  const o = Q(a.size), s = a.gridPosition.col + o.cols - 1;
@@ -1639,7 +1767,7 @@ function Ve(e) {
1639
1767
  }
1640
1768
  return `repeat(${t > 0 ? t : Math.max(e.length, 1)}, minmax(0, 1fr))`;
1641
1769
  }
1642
- const Ze = function(t) {
1770
+ const at = function(t) {
1643
1771
  if (t.renderMode === "discrete")
1644
1772
  return /* @__PURE__ */ g(
1645
1773
  "div",
@@ -1664,7 +1792,7 @@ const Ze = function(t) {
1664
1792
  }
1665
1793
  );
1666
1794
  const { cards: n, composite: a } = t;
1667
- return /* @__PURE__ */ A(
1795
+ return /* @__PURE__ */ O(
1668
1796
  "div",
1669
1797
  {
1670
1798
  className: "gloss-metric-group gloss-metric-group--composite",
@@ -1690,7 +1818,7 @@ const Ze = function(t) {
1690
1818
  style: { background: a.accentColor }
1691
1819
  }
1692
1820
  ),
1693
- a?.label && /* @__PURE__ */ A("div", { className: "gloss-metric-group__label", children: [
1821
+ a?.label && /* @__PURE__ */ O("div", { className: "gloss-metric-group__label", children: [
1694
1822
  /* @__PURE__ */ g("span", { children: a.label }),
1695
1823
  a?.trend && /* @__PURE__ */ g(
1696
1824
  "span",
@@ -1708,7 +1836,7 @@ const Ze = function(t) {
1708
1836
  style: {
1709
1837
  display: "grid",
1710
1838
  gap: "var(--gloss-spacing-2, 8px)",
1711
- gridTemplateColumns: Ve(n)
1839
+ gridTemplateColumns: tt(n)
1712
1840
  },
1713
1841
  children: n.map((o) => {
1714
1842
  const s = Q(o.size);
@@ -1731,7 +1859,7 @@ const Ze = function(t) {
1731
1859
  }
1732
1860
  );
1733
1861
  };
1734
- Ze.displayName = "MetricGroupContainer";
1862
+ at.displayName = "MetricGroupContainer";
1735
1863
  const B = {
1736
1864
  "gloss-inline-nudge": "_gloss-inline-nudge_kdk88_34",
1737
1865
  "gloss-inline-nudge__message": "_gloss-inline-nudge__message_kdk88_65",
@@ -1740,14 +1868,14 @@ const B = {
1740
1868
  "gloss-inline-nudge__btn--action": "_gloss-inline-nudge__btn--action_kdk88_88",
1741
1869
  "gloss-inline-nudge__btn--dismiss": "_gloss-inline-nudge__btn--dismiss_kdk88_96"
1742
1870
  };
1743
- function We({
1871
+ function nt({
1744
1872
  message: e,
1745
1873
  primaryAction: t,
1746
1874
  onDismiss: n,
1747
1875
  anchorEl: a,
1748
1876
  anchorSelector: o
1749
1877
  }) {
1750
- const [s, i] = F.useState(null), l = F.useMemo(
1878
+ const [s, l] = F.useState(null), c = F.useMemo(
1751
1879
  () => typeof window < "u" && window.matchMedia ? window.matchMedia("(prefers-reduced-motion: reduce)").matches : !1,
1752
1880
  []
1753
1881
  );
@@ -1756,27 +1884,27 @@ function We({
1756
1884
  "[InlineNudge] requires anchorEl or anchorSelector. AP-07: Do not mount InlineNudge in Layout/** or _app.tsx."
1757
1885
  );
1758
1886
  }, [a, o]), F.useLayoutEffect(() => {
1759
- let d = null;
1760
- if (a ? d = a : o && (d = document.querySelector(o)), d) {
1761
- const w = d.getBoundingClientRect();
1762
- i({
1887
+ let u = null;
1888
+ if (a ? u = a : o && (u = document.querySelector(o)), u) {
1889
+ const w = u.getBoundingClientRect();
1890
+ l({
1763
1891
  top: w.bottom + window.scrollY + 6,
1764
1892
  left: w.left + window.scrollX
1765
1893
  });
1766
1894
  }
1767
1895
  }, [a, o]);
1768
- const f = s ? { top: s.top, left: s.left } : {};
1769
- return /* @__PURE__ */ A(
1896
+ const b = s ? { top: s.top, left: s.left } : {};
1897
+ return /* @__PURE__ */ O(
1770
1898
  "div",
1771
1899
  {
1772
1900
  className: B["gloss-inline-nudge"],
1773
- style: f,
1901
+ style: b,
1774
1902
  role: "status",
1775
1903
  "aria-live": "polite",
1776
- "data-reduced-motion": l ? "true" : void 0,
1904
+ "data-reduced-motion": c ? "true" : void 0,
1777
1905
  children: [
1778
1906
  /* @__PURE__ */ g("span", { className: B["gloss-inline-nudge__message"], children: e }),
1779
- /* @__PURE__ */ A("div", { className: B["gloss-inline-nudge__actions"], children: [
1907
+ /* @__PURE__ */ O("div", { className: B["gloss-inline-nudge__actions"], children: [
1780
1908
  /* @__PURE__ */ g(
1781
1909
  "button",
1782
1910
  {
@@ -1801,25 +1929,25 @@ function We({
1801
1929
  }
1802
1930
  );
1803
1931
  }
1804
- We.displayName = "InlineNudge";
1932
+ nt.displayName = "InlineNudge";
1805
1933
  function X(e) {
1806
1934
  return e.colorToken ? `var(--gloss-color-${e.colorToken}, ${e.color ?? "#888"})` : e.color ?? "#888";
1807
1935
  }
1808
- function Ye(e, t, n) {
1936
+ function rt(e, t, n) {
1809
1937
  if (n <= t) {
1810
- const i = e[0], l = i ? X(i) : "#888";
1811
- return `linear-gradient(to right, ${l}, ${l})`;
1938
+ const l = e[0], c = l ? X(l) : "#888";
1939
+ return `linear-gradient(to right, ${c}, ${c})`;
1812
1940
  }
1813
- const a = n - t, s = [...e].sort((i, l) => i.value - l.value).map((i) => {
1814
- const l = (i.value - t) / a * 100;
1815
- return `${X(i)} ${l.toFixed(2)}%`;
1941
+ const a = n - t, s = [...e].sort((l, c) => l.value - c.value).map((l) => {
1942
+ const c = (l.value - t) / a * 100;
1943
+ return `${X(l)} ${c.toFixed(2)}%`;
1816
1944
  });
1817
1945
  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(", ")})`;
1818
1946
  }
1819
- function Ue(e) {
1947
+ function ot(e) {
1820
1948
  return e.map((t) => `${t.id}:${t.value}`).join("|");
1821
1949
  }
1822
- function qe({
1950
+ function st({
1823
1951
  stops: e,
1824
1952
  onChange: t,
1825
1953
  min: n = 0,
@@ -1827,22 +1955,22 @@ function qe({
1827
1955
  step: o,
1828
1956
  disabled: s = !1
1829
1957
  }) {
1830
- const i = o === void 0 ? 0.01 : !Number.isFinite(o) || o <= 0 ? (process.env.NODE_ENV !== "production" && console.warn(
1958
+ const l = o === void 0 ? 0.01 : !Number.isFinite(o) || o <= 0 ? (process.env.NODE_ENV !== "production" && console.warn(
1831
1959
  `ThresholdRamp: step (${o}) must be a positive finite number; falling back to 0.01.`
1832
- ), 0.01) : o, l = y(
1833
- (r) => Math.round(r / i) * i,
1834
- [i]
1835
- ), f = M(null), [d, w] = O(null), [N, u] = O(e), m = Ue(e), S = M(m);
1960
+ ), 0.01) : o, c = y(
1961
+ (r) => Math.round(r / l) * l,
1962
+ [l]
1963
+ ), b = M(null), [u, w] = E(null), [C, i] = E(e), d = ot(e), S = M(d);
1836
1964
  P(() => {
1837
- S.current !== m && (S.current = m, !d && u(e));
1838
- }, [m, e, d]);
1839
- const R = ie(() => Ye(N, n, a), [N, n, a]), p = y(
1965
+ S.current !== d && (S.current = d, !u && i(e));
1966
+ }, [d, e, u]);
1967
+ const k = ee(() => rt(C, n, a), [C, n, a]), m = y(
1840
1968
  (r) => {
1841
- if (!f.current) return n;
1842
- const c = f.current.getBoundingClientRect(), b = c.width || 1, C = Math.max(0, Math.min(1, (r - c.left) / b)), D = n + C * (a - n);
1843
- return l(D);
1969
+ if (!b.current) return n;
1970
+ const p = b.current.getBoundingClientRect(), f = p.width || 1, D = Math.max(0, Math.min(1, (r - p.left) / f)), N = n + D * (a - n);
1971
+ return c(N);
1844
1972
  },
1845
- [n, a, l]
1973
+ [n, a, c]
1846
1974
  );
1847
1975
  P(() => {
1848
1976
  a <= n && process.env.NODE_ENV !== "production" && console.warn(
@@ -1850,86 +1978,86 @@ function qe({
1850
1978
  );
1851
1979
  }, [n, a]);
1852
1980
  const x = y(
1853
- (r, c) => {
1854
- const b = N.find((C) => C.id === c);
1855
- s || b?.disabled || (r.preventDefault(), w(c));
1981
+ (r, p) => {
1982
+ const f = C.find((D) => D.id === p);
1983
+ s || f?.disabled || (r.preventDefault(), w(p));
1856
1984
  },
1857
- [s, N]
1858
- ), T = M(N);
1859
- T.current = N;
1985
+ [s, C]
1986
+ ), I = M(C);
1987
+ I.current = C;
1860
1988
  const v = M(t);
1861
1989
  v.current = t, P(() => {
1862
- if (!d) return;
1863
- const r = (b) => {
1864
- const C = p(b.clientX);
1865
- u(
1866
- (D) => D.map((I) => I.id === d ? { ...I, value: C } : I)
1990
+ if (!u) return;
1991
+ const r = (f) => {
1992
+ const D = m(f.clientX);
1993
+ i(
1994
+ (N) => N.map((R) => R.id === u ? { ...R, value: D } : R)
1867
1995
  );
1868
- }, c = (b) => {
1869
- const C = p(b.clientX), D = T.current.map(
1870
- (I) => I.id === d ? { ...I, value: C } : I
1996
+ }, p = (f) => {
1997
+ const D = m(f.clientX), N = I.current.map(
1998
+ (R) => R.id === u ? { ...R, value: D } : R
1871
1999
  );
1872
- u(D), w(null), v.current(D);
2000
+ i(N), w(null), v.current(N);
1873
2001
  };
1874
- return window.addEventListener("pointermove", r), window.addEventListener("pointerup", c), window.addEventListener("pointercancel", c), () => {
1875
- window.removeEventListener("pointermove", r), window.removeEventListener("pointerup", c), window.removeEventListener("pointercancel", c);
2002
+ return window.addEventListener("pointermove", r), window.addEventListener("pointerup", p), window.addEventListener("pointercancel", p), () => {
2003
+ window.removeEventListener("pointermove", r), window.removeEventListener("pointerup", p), window.removeEventListener("pointercancel", p);
1876
2004
  };
1877
- }, [d, p]);
1878
- const k = a - n > 0 ? a - n : 1, h = y(
1879
- (r, c) => {
1880
- if (s || c.disabled) return;
1881
- const b = a - n;
1882
- if (b <= 0) return;
1883
- const C = r.shiftKey ? b / 20 : b / 100;
1884
- let D = c.value;
2005
+ }, [u, m]);
2006
+ const T = a - n > 0 ? a - n : 1, h = y(
2007
+ (r, p) => {
2008
+ if (s || p.disabled) return;
2009
+ const f = a - n;
2010
+ if (f <= 0) return;
2011
+ const D = r.shiftKey ? f / 20 : f / 100;
2012
+ let N = p.value;
1885
2013
  switch (r.key) {
1886
2014
  case "ArrowRight":
1887
2015
  case "ArrowUp":
1888
- D = c.value + C;
2016
+ N = p.value + D;
1889
2017
  break;
1890
2018
  case "ArrowLeft":
1891
2019
  case "ArrowDown":
1892
- D = c.value - C;
2020
+ N = p.value - D;
1893
2021
  break;
1894
2022
  case "Home":
1895
- D = n;
2023
+ N = n;
1896
2024
  break;
1897
2025
  case "End":
1898
- D = a;
2026
+ N = a;
1899
2027
  break;
1900
2028
  default:
1901
2029
  return;
1902
2030
  }
1903
2031
  r.preventDefault();
1904
- const I = Math.max(n, Math.min(a, D)), _ = l(I);
1905
- if (_ === c.value) return;
1906
- const K = N.map(
1907
- (H) => H.id === c.id ? { ...H, value: _ } : H
2032
+ const R = Math.max(n, Math.min(a, N)), _ = c(R);
2033
+ if (_ === p.value) return;
2034
+ const K = C.map(
2035
+ (G) => G.id === p.id ? { ...G, value: _ } : G
1908
2036
  );
1909
- u(K), t(K);
2037
+ i(K), t(K);
1910
2038
  },
1911
- [s, n, a, N, t, l]
2039
+ [s, n, a, C, t, c]
1912
2040
  );
1913
2041
  return /* @__PURE__ */ g("div", { className: "gloss-threshold-ramp", "data-disabled": s || void 0, children: /* @__PURE__ */ g(
1914
2042
  "div",
1915
2043
  {
1916
- ref: f,
2044
+ ref: b,
1917
2045
  className: "gloss-threshold-ramp__track",
1918
- style: { background: R },
1919
- children: N.map((r) => {
1920
- const c = (r.value - n) / k * 100;
2046
+ style: { background: k },
2047
+ children: C.map((r) => {
2048
+ const p = (r.value - n) / T * 100;
1921
2049
  return /* @__PURE__ */ g(
1922
2050
  "span",
1923
2051
  {
1924
2052
  className: "gloss-threshold-ramp__stop",
1925
2053
  style: {
1926
- left: `${c}%`,
2054
+ left: `${p}%`,
1927
2055
  color: X(r)
1928
2056
  },
1929
2057
  "data-disabled": r.disabled || void 0,
1930
- "data-dragging": d === r.id || void 0,
1931
- onPointerDown: (b) => x(b, r.id),
1932
- onKeyDown: (b) => h(b, r),
2058
+ "data-dragging": u === r.id || void 0,
2059
+ onPointerDown: (f) => x(f, r.id),
2060
+ onKeyDown: (f) => h(f, r),
1933
2061
  "aria-label": r.label ?? `Stop at ${r.value}`,
1934
2062
  role: "slider",
1935
2063
  "aria-valuenow": r.value,
@@ -1944,42 +2072,42 @@ function qe({
1944
2072
  }
1945
2073
  ) });
1946
2074
  }
1947
- qe.displayName = "ThresholdRamp";
1948
- const me = ve(null);
1949
- function je() {
1950
- return ye(me);
2075
+ st.displayName = "ThresholdRamp";
2076
+ const pe = ye(null);
2077
+ function it() {
2078
+ return we(pe);
1951
2079
  }
1952
- function Qe({ option: e }) {
1953
- const t = je(), n = t?.isSelected(e.value) ?? !1, a = e.disabled || t?.groupDisabled, o = y(() => {
2080
+ function lt({ option: e }) {
2081
+ const t = it(), n = t?.isSelected(e.value) ?? !1, a = e.disabled || t?.groupDisabled, o = y(() => {
1954
2082
  a || t?.select(e.value);
1955
2083
  }, [a, t, e.value]), s = y(
1956
- (d) => {
1957
- a || t?.onKeyNav(d, e.value);
2084
+ (u) => {
2085
+ a || t?.onKeyNav(u, e.value);
1958
2086
  },
1959
2087
  [a, t, e.value]
1960
- ), i = e.colorToken ? `var(--gloss-color-${e.colorToken}, ${e.color ?? "#888"})` : e.color ?? "#888", l = t?.firstFocusableValue === e.value, f = a ? -1 : l ? 0 : -1;
2088
+ ), l = e.colorToken ? `var(--gloss-color-${e.colorToken}, ${e.color ?? "#888"})` : e.color ?? "#888", c = t?.firstFocusableValue === e.value, b = a ? -1 : c ? 0 : -1;
1961
2089
  return /* @__PURE__ */ g(
1962
2090
  "button",
1963
2091
  {
1964
- ref: (d) => t?.registerRef(e.value, d),
2092
+ ref: (u) => t?.registerRef(e.value, u),
1965
2093
  type: "button",
1966
2094
  role: "radio",
1967
2095
  "aria-checked": n,
1968
2096
  className: "gloss-preset-swatch-row__swatch",
1969
- style: { backgroundColor: i },
2097
+ style: { backgroundColor: l },
1970
2098
  "data-selected": n || void 0,
1971
2099
  "data-disabled": a || void 0,
1972
- ...process.env.NODE_ENV === "test" ? { "data-bg-color": i } : {},
2100
+ ...process.env.NODE_ENV === "test" ? { "data-bg-color": l } : {},
1973
2101
  "aria-label": e.label ?? e.value,
1974
2102
  "aria-disabled": a,
1975
2103
  disabled: a,
1976
- tabIndex: f,
2104
+ tabIndex: b,
1977
2105
  onClick: o,
1978
2106
  onKeyDown: s
1979
2107
  }
1980
2108
  );
1981
2109
  }
1982
- function Xe({
2110
+ function dt({
1983
2111
  swatches: e,
1984
2112
  value: t,
1985
2113
  defaultValue: n,
@@ -1987,65 +2115,65 @@ function Xe({
1987
2115
  disabled: o = !1,
1988
2116
  name: s
1989
2117
  }) {
1990
- const i = t !== void 0, [l, f] = O(n), d = i ? t : l, w = y(
2118
+ const l = t !== void 0, [c, b] = E(n), u = l ? t : c, w = y(
1991
2119
  (v) => {
1992
- i || f(v), a?.(v);
2120
+ l || b(v), a?.(v);
1993
2121
  },
1994
- [i, a]
1995
- ), N = y(
1996
- (v) => d === v,
1997
- [d]
1998
- ), u = M(/* @__PURE__ */ new Map()), m = y((v, k) => {
1999
- k ? u.current.set(v, k) : u.current.delete(v);
2000
- }, []), S = e.filter((v) => !v.disabled && !o), R = S.find((v) => v.value === d)?.value ?? S[0]?.value, p = y((v) => {
2001
- const k = u.current.get(v);
2002
- k && k.focus();
2122
+ [l, a]
2123
+ ), C = y(
2124
+ (v) => u === v,
2125
+ [u]
2126
+ ), i = M(/* @__PURE__ */ new Map()), d = y((v, T) => {
2127
+ T ? i.current.set(v, T) : i.current.delete(v);
2128
+ }, []), S = e.filter((v) => !v.disabled && !o), k = S.find((v) => v.value === u)?.value ?? S[0]?.value, m = y((v) => {
2129
+ const T = i.current.get(v);
2130
+ T && T.focus();
2003
2131
  }, []), x = y(
2004
- (v, k) => {
2132
+ (v, T) => {
2005
2133
  if (o) return;
2006
- const h = e.filter((C) => !C.disabled);
2134
+ const h = e.filter((D) => !D.disabled);
2007
2135
  if (h.length === 0) return;
2008
- const r = h.findIndex((C) => C.value === k);
2136
+ const r = h.findIndex((D) => D.value === T);
2009
2137
  if (r === -1) return;
2010
- let c = r;
2138
+ let p = r;
2011
2139
  switch (v.key) {
2012
2140
  case "ArrowRight":
2013
2141
  case "ArrowDown":
2014
- c = (r + 1) % h.length;
2142
+ p = (r + 1) % h.length;
2015
2143
  break;
2016
2144
  case "ArrowLeft":
2017
2145
  case "ArrowUp":
2018
- c = (r - 1 + h.length) % h.length;
2146
+ p = (r - 1 + h.length) % h.length;
2019
2147
  break;
2020
2148
  case "Home":
2021
- c = 0;
2149
+ p = 0;
2022
2150
  break;
2023
2151
  case "End":
2024
- c = h.length - 1;
2152
+ p = h.length - 1;
2025
2153
  break;
2026
2154
  case " ":
2027
2155
  case "Enter":
2028
- v.preventDefault(), w(k);
2156
+ v.preventDefault(), w(T);
2029
2157
  return;
2030
2158
  default:
2031
2159
  return;
2032
2160
  }
2033
2161
  v.preventDefault();
2034
- const b = h[c].value;
2035
- p(b), w(b);
2162
+ const f = h[p].value;
2163
+ m(f), w(f);
2036
2164
  },
2037
- [o, e, w, p]
2038
- ), T = {
2039
- selectedValue: d,
2165
+ [o, e, w, m]
2166
+ ), I = {
2167
+ selectedValue: u,
2040
2168
  select: w,
2041
- isSelected: N,
2169
+ isSelected: C,
2042
2170
  groupDisabled: o,
2043
2171
  name: s,
2044
- registerRef: m,
2045
- firstFocusableValue: R,
2172
+ registerRef: d,
2173
+ firstFocusableValue: k,
2046
2174
  onKeyNav: x
2047
2175
  };
2048
- return /* @__PURE__ */ g(me.Provider, { value: T, children: /* @__PURE__ */ g(
2176
+ return /* @__PURE__ */ g(pe.Provider, { value: I, children: /* @__PURE__ */ g(
2049
2177
  "div",
2050
2178
  {
2051
2179
  className: "gloss-preset-swatch-row",
@@ -2053,125 +2181,125 @@ function Xe({
2053
2181
  "aria-label": s,
2054
2182
  "aria-disabled": o,
2055
2183
  "data-disabled": o || void 0,
2056
- children: e.map((v) => /* @__PURE__ */ g(Qe, { option: v }, v.value))
2184
+ children: e.map((v) => /* @__PURE__ */ g(lt, { option: v }, v.value))
2057
2185
  }
2058
2186
  ) });
2059
2187
  }
2060
- Xe.displayName = "PresetSwatchRow";
2188
+ dt.displayName = "PresetSwatchRow";
2061
2189
  function J(e, t) {
2062
2190
  for (const n of e)
2063
2191
  if (n.items.some((a) => a.id === t))
2064
2192
  return n.zoneKey;
2065
2193
  return null;
2066
2194
  }
2067
- function se(e, t) {
2195
+ function le(e, t) {
2068
2196
  const n = e.find((a) => a.zoneKey === t);
2069
2197
  return n ? n.zoneKey : J(e, t);
2070
2198
  }
2071
- function Je(e, t, n) {
2199
+ function ct(e, t, n) {
2072
2200
  const a = [...e], [o] = a.splice(t, 1);
2073
2201
  return a.splice(n, 0, o), a;
2074
2202
  }
2075
- function et(e) {
2203
+ function ut(e) {
2076
2204
  return e.map((t) => `${t.zoneKey}:${t.items.map((n) => n.id).join(",")}`).join("|");
2077
2205
  }
2078
- function tt(e) {
2079
- const [t, n] = O(
2080
- () => e.zones.map((p) => p.maxItems !== void 0 && p.items.length > p.maxItems ? (process.env.NODE_ENV !== "production" && console.warn(
2081
- `useSortableZones: zone "${p.zoneKey}" exceeds maxItems (${p.items.length} > ${p.maxItems}); trimming to cap.`
2082
- ), { ...p, items: p.items.slice(0, p.maxItems) }) : p)
2083
- ), [a, o] = O(null), [s, i] = O(null), l = M(null), f = M(e.onZoneChange);
2084
- f.current = e.onZoneChange;
2085
- const d = ie(
2086
- () => et(e.zones),
2206
+ function mt(e) {
2207
+ const [t, n] = E(
2208
+ () => e.zones.map((m) => m.maxItems !== void 0 && m.items.length > m.maxItems ? (process.env.NODE_ENV !== "production" && console.warn(
2209
+ `useSortableZones: zone "${m.zoneKey}" exceeds maxItems (${m.items.length} > ${m.maxItems}); trimming to cap.`
2210
+ ), { ...m, items: m.items.slice(0, m.maxItems) }) : m)
2211
+ ), [a, o] = E(null), [s, l] = E(null), c = M(null), b = M(e.onZoneChange);
2212
+ b.current = e.onZoneChange;
2213
+ const u = ee(
2214
+ () => ut(e.zones),
2087
2215
  [e.zones]
2088
- ), w = M(d);
2216
+ ), w = M(u);
2089
2217
  P(() => {
2090
- w.current !== d && (w.current = d, !a && n(
2091
- e.zones.map((p) => p.maxItems !== void 0 && p.items.length > p.maxItems ? (process.env.NODE_ENV !== "production" && console.warn(
2092
- `useSortableZones: zone "${p.zoneKey}" exceeds maxItems (${p.items.length} > ${p.maxItems}); trimming to cap.`
2093
- ), { ...p, items: p.items.slice(0, p.maxItems) }) : p)
2218
+ w.current !== u && (w.current = u, !a && n(
2219
+ e.zones.map((m) => m.maxItems !== void 0 && m.items.length > m.maxItems ? (process.env.NODE_ENV !== "production" && console.warn(
2220
+ `useSortableZones: zone "${m.zoneKey}" exceeds maxItems (${m.items.length} > ${m.maxItems}); trimming to cap.`
2221
+ ), { ...m, items: m.items.slice(0, m.maxItems) }) : m)
2094
2222
  ));
2095
- }, [d, e.zones, a]);
2096
- const N = y(
2097
- (p) => {
2098
- const x = p.active.id;
2099
- let T = null, v = null;
2100
- for (const k of t) {
2101
- const h = k.items.find((r) => r.id === x);
2223
+ }, [u, e.zones, a]);
2224
+ const C = y(
2225
+ (m) => {
2226
+ const x = m.active.id;
2227
+ let I = null, v = null;
2228
+ for (const T of t) {
2229
+ const h = T.items.find((r) => r.id === x);
2102
2230
  if (h) {
2103
- T = h, v = k.zoneKey;
2231
+ I = h, v = T.zoneKey;
2104
2232
  break;
2105
2233
  }
2106
2234
  }
2107
- l.current = v, o(T), i(v);
2235
+ c.current = v, o(I), l(v);
2108
2236
  },
2109
2237
  [t]
2110
- ), u = y(
2111
- (p) => {
2112
- if (!p.over) {
2113
- i(l.current);
2238
+ ), i = y(
2239
+ (m) => {
2240
+ if (!m.over) {
2241
+ l(c.current);
2114
2242
  return;
2115
2243
  }
2116
- const x = se(t, p.over.id);
2117
- i(x);
2244
+ const x = le(t, m.over.id);
2245
+ l(x);
2118
2246
  },
2119
2247
  [t]
2120
- ), m = y(
2121
- (p) => {
2122
- const { active: x, over: T } = p, v = () => {
2123
- l.current = null, o(null), i(null);
2248
+ ), d = y(
2249
+ (m) => {
2250
+ const { active: x, over: I } = m, v = () => {
2251
+ c.current = null, o(null), l(null);
2124
2252
  };
2125
- if (!T) {
2253
+ if (!I) {
2126
2254
  v();
2127
2255
  return;
2128
2256
  }
2129
- const k = J(t, x.id), h = se(t, T.id);
2130
- if (!k || !h) {
2257
+ const T = J(t, x.id), h = le(t, I.id);
2258
+ if (!T || !h) {
2131
2259
  v();
2132
2260
  return;
2133
2261
  }
2134
- let r = t.map((c) => ({ ...c, items: [...c.items] }));
2135
- if (k === h) {
2136
- const c = r.findIndex((_) => _.zoneKey === k), b = r[c], C = b.items.findIndex((_) => _.id === x.id), D = b.items.findIndex((_) => _.id === T.id), I = D >= 0 ? D : Math.max(0, b.items.length - 1);
2137
- r[c] = {
2138
- ...b,
2139
- items: Je(b.items, C, I)
2262
+ let r = t.map((p) => ({ ...p, items: [...p.items] }));
2263
+ if (T === h) {
2264
+ const p = r.findIndex((_) => _.zoneKey === T), f = r[p], D = f.items.findIndex((_) => _.id === x.id), N = f.items.findIndex((_) => _.id === I.id), R = N >= 0 ? N : Math.max(0, f.items.length - 1);
2265
+ r[p] = {
2266
+ ...f,
2267
+ items: ct(f.items, D, R)
2140
2268
  };
2141
2269
  } else {
2142
- const c = r.findIndex((E) => E.zoneKey === k), b = r.findIndex((E) => E.zoneKey === h), C = r[c], D = r[b], I = C.items.find((E) => E.id === x.id);
2143
- if (!I) {
2270
+ const p = r.findIndex((A) => A.zoneKey === T), f = r.findIndex((A) => A.zoneKey === h), D = r[p], N = r[f], R = D.items.find((A) => A.id === x.id);
2271
+ if (!R) {
2144
2272
  v();
2145
2273
  return;
2146
2274
  }
2147
- const _ = C.items.filter((E) => E.id !== x.id), K = D.items.findIndex((E) => E.id === T.id), H = K >= 0 ? K : D.items.length;
2148
- let te = _, $ = [...D.items];
2149
- if (D.maxItems !== void 0 && $.length >= D.maxItems) {
2150
- const E = $[$.length - 1];
2151
- $ = $.slice(0, D.maxItems - 1), te = [..._, E];
2275
+ const _ = D.items.filter((A) => A.id !== x.id), K = N.items.findIndex((A) => A.id === I.id), G = K >= 0 ? K : N.items.length;
2276
+ let ae = _, $ = [...N.items];
2277
+ if (N.maxItems !== void 0 && $.length >= N.maxItems) {
2278
+ const A = $[$.length - 1];
2279
+ $ = $.slice(0, N.maxItems - 1), ae = [..._, A];
2152
2280
  }
2153
- const ae = Math.min(H, $.length), fe = [
2154
- ...$.slice(0, ae),
2155
- I,
2156
- ...$.slice(ae)
2281
+ const ne = Math.min(G, $.length), he = [
2282
+ ...$.slice(0, ne),
2283
+ R,
2284
+ ...$.slice(ne)
2157
2285
  ];
2158
- r[c] = { ...C, items: te }, r[b] = { ...D, items: fe };
2286
+ r[p] = { ...D, items: ae }, r[f] = { ...N, items: he };
2159
2287
  }
2160
- n(r), f.current?.(r), v();
2288
+ n(r), b.current?.(r), v();
2161
2289
  },
2162
2290
  [t]
2163
2291
  ), S = y(
2164
- (p) => ({
2165
- id: p,
2166
- "data-zone-key": p
2292
+ (m) => ({
2293
+ id: m,
2294
+ "data-zone-key": m
2167
2295
  }),
2168
2296
  []
2169
- ), R = y(
2170
- (p) => {
2171
- const x = J(t, p.id) ?? "";
2297
+ ), k = y(
2298
+ (m) => {
2299
+ const x = J(t, m.id) ?? "";
2172
2300
  return {
2173
- id: p.id,
2174
- "data-item-id": p.id,
2301
+ id: m.id,
2302
+ "data-item-id": m.id,
2175
2303
  "data-zone-key": x
2176
2304
  };
2177
2305
  },
@@ -2182,14 +2310,14 @@ function tt(e) {
2182
2310
  activeZone: s,
2183
2311
  activeItem: a,
2184
2312
  getZoneProps: S,
2185
- getItemProps: R,
2186
- handleDragStart: N,
2187
- handleDragOver: u,
2188
- handleDragEnd: m
2313
+ getItemProps: k,
2314
+ handleDragStart: C,
2315
+ handleDragOver: i,
2316
+ handleDragEnd: d
2189
2317
  };
2190
2318
  }
2191
- let G = null, V = null, U = !1;
2192
- const at = [
2319
+ let H = null, V = null, Y = !1;
2320
+ const pt = [
2193
2321
  "DndContext",
2194
2322
  "DragOverlay",
2195
2323
  "useSensors",
@@ -2198,22 +2326,22 @@ const at = [
2198
2326
  "PointerSensor",
2199
2327
  "KeyboardSensor",
2200
2328
  "closestCenter"
2201
- ], rt = [
2329
+ ], gt = [
2202
2330
  "SortableContext",
2203
2331
  "useSortable",
2204
2332
  "verticalListSortingStrategy"
2205
2333
  ];
2206
- function nt(e, t) {
2334
+ function bt(e, t) {
2207
2335
  const n = [], a = e ?? {};
2208
- for (const s of at)
2336
+ for (const s of pt)
2209
2337
  a[s] === void 0 && n.push(`@dnd-kit/core:${s}`);
2210
2338
  const o = t ?? {};
2211
- for (const s of rt)
2339
+ for (const s of gt)
2212
2340
  o[s] === void 0 && n.push(`@dnd-kit/sortable:${s}`);
2213
2341
  return n.length === 0 ? { ok: !0 } : { ok: !1, missing: n };
2214
2342
  }
2215
- function ot() {
2216
- return G ? Promise.resolve(G) : U ? Promise.resolve(null) : V || (V = (async () => {
2343
+ function ft() {
2344
+ return H ? Promise.resolve(H) : Y ? Promise.resolve(null) : V || (V = (async () => {
2217
2345
  try {
2218
2346
  const [e, t, n] = await Promise.all([
2219
2347
  import("@dnd-kit/core"),
@@ -2221,102 +2349,102 @@ function ot() {
2221
2349
  import("@dnd-kit/utilities").catch(() => (process.env.NODE_ENV !== "production" && console.warn(
2222
2350
  "SortableZones: @dnd-kit/utilities failed to load; drag-overlay positioning will fall back (items may teleport instead of slide)."
2223
2351
  ), {}))
2224
- ]), a = nt(e, t);
2225
- return a.ok ? (G = {
2352
+ ]), a = bt(e, t);
2353
+ return a.ok ? (H = {
2226
2354
  core: e,
2227
2355
  sortable: t,
2228
2356
  utilities: n
2229
- }, G) : (U = !0, process.env.NODE_ENV !== "production" && console.error(
2357
+ }, H) : (Y = !0, process.env.NODE_ENV !== "production" && console.error(
2230
2358
  `SortableZones: @dnd-kit shape mismatch — missing exports: ${a.missing.join(", ")}. Check installed versions against optionalDependencies in @mt-gloss/ui.`
2231
2359
  ), null);
2232
2360
  } catch {
2233
- return U = !0, null;
2361
+ return Y = !0, null;
2234
2362
  }
2235
2363
  })(), V);
2236
2364
  }
2237
- function st(e) {
2238
- const { zones: t, onZoneChange: n, renderZone: a, renderItem: o, renderDragOverlay: s } = e, i = tt({ zones: t, onZoneChange: n }), [l, f] = F.useState(G);
2365
+ function ht(e) {
2366
+ const { zones: t, onZoneChange: n, renderZone: a, renderItem: o, renderDragOverlay: s } = e, l = mt({ zones: t, onZoneChange: n }), [c, b] = F.useState(H);
2239
2367
  return F.useEffect(() => {
2240
- if (l) return;
2241
- let d = !0;
2242
- return ot().then((w) => {
2243
- d && f(w);
2368
+ if (c) return;
2369
+ let u = !0;
2370
+ return ft().then((w) => {
2371
+ u && b(w);
2244
2372
  }), () => {
2245
- d = !1;
2373
+ u = !1;
2246
2374
  };
2247
- }, [l]), l ? /* @__PURE__ */ g(
2248
- pe,
2375
+ }, [c]), c ? /* @__PURE__ */ g(
2376
+ ge,
2249
2377
  {
2250
- state: i,
2251
- modules: l,
2378
+ state: l,
2379
+ modules: c,
2252
2380
  renderZone: a,
2253
2381
  renderItem: o,
2254
2382
  renderDragOverlay: s
2255
2383
  }
2256
- ) : /* @__PURE__ */ g("div", { "data-sortable-zones-passive": "true", children: i.zones.map((d) => {
2257
- const w = d.items.map((N) => /* @__PURE__ */ g(F.Fragment, { children: o(N) }, N.id));
2258
- return /* @__PURE__ */ g("div", { ...i.getZoneProps(d.zoneKey), children: a(d.zoneKey, d.items, w) }, d.zoneKey);
2384
+ ) : /* @__PURE__ */ g("div", { "data-sortable-zones-passive": "true", children: l.zones.map((u) => {
2385
+ const w = u.items.map((C) => /* @__PURE__ */ g(F.Fragment, { children: o(C) }, C.id));
2386
+ return /* @__PURE__ */ g("div", { ...l.getZoneProps(u.zoneKey), children: a(u.zoneKey, u.items, w) }, u.zoneKey);
2259
2387
  }) });
2260
2388
  }
2261
- st.displayName = "SortableZones";
2262
- function pe({
2389
+ ht.displayName = "SortableZones";
2390
+ function ge({
2263
2391
  state: e,
2264
2392
  modules: t,
2265
2393
  renderZone: n,
2266
2394
  renderItem: a,
2267
2395
  renderDragOverlay: o
2268
2396
  }) {
2269
- const { core: s, sortable: i, utilities: l } = t, { DndContext: f, DragOverlay: d, useSensors: w, useSensor: N, useDroppable: u, PointerSensor: m, KeyboardSensor: S, closestCenter: R } = s, { SortableContext: p, verticalListSortingStrategy: x } = i, T = w(
2270
- N(m, { activationConstraint: { distance: 5 } }),
2271
- N(S)
2272
- ), v = f, k = d, h = p;
2273
- return /* @__PURE__ */ A(
2397
+ const { core: s, sortable: l, utilities: c } = t, { DndContext: b, DragOverlay: u, useSensors: w, useSensor: C, useDroppable: i, PointerSensor: d, KeyboardSensor: S, closestCenter: k } = s, { SortableContext: m, verticalListSortingStrategy: x } = l, I = w(
2398
+ C(d, { activationConstraint: { distance: 5 } }),
2399
+ C(S)
2400
+ ), v = b, T = u, h = m;
2401
+ return /* @__PURE__ */ O(
2274
2402
  v,
2275
2403
  {
2276
- sensors: T,
2277
- collisionDetection: R,
2404
+ sensors: I,
2405
+ collisionDetection: k,
2278
2406
  onDragStart: e.handleDragStart,
2279
2407
  onDragOver: e.handleDragOver,
2280
2408
  onDragEnd: e.handleDragEnd,
2281
2409
  children: [
2282
2410
  e.zones.map((r) => {
2283
- const c = r.items.map((C) => C.id), b = r.items.map((C) => /* @__PURE__ */ g(
2284
- ge,
2411
+ const p = r.items.map((D) => D.id), f = r.items.map((D) => /* @__PURE__ */ g(
2412
+ be,
2285
2413
  {
2286
- id: C.id,
2287
- useSortable: i.useSortable,
2288
- cssHelper: l.CSS,
2289
- children: a(C)
2414
+ id: D.id,
2415
+ useSortable: l.useSortable,
2416
+ cssHelper: c.CSS,
2417
+ children: a(D)
2290
2418
  },
2291
- C.id
2419
+ D.id
2292
2420
  ));
2293
2421
  return /* @__PURE__ */ g(
2294
- be,
2422
+ fe,
2295
2423
  {
2296
2424
  zoneKey: r.zoneKey,
2297
2425
  zoneProps: e.getZoneProps(r.zoneKey),
2298
- useDroppable: u,
2299
- children: /* @__PURE__ */ g(h, { items: c, strategy: x, children: n(r.zoneKey, r.items, b) })
2426
+ useDroppable: i,
2427
+ children: /* @__PURE__ */ g(h, { items: p, strategy: x, children: n(r.zoneKey, r.items, f) })
2300
2428
  },
2301
2429
  r.zoneKey
2302
2430
  );
2303
2431
  }),
2304
- /* @__PURE__ */ g(k, { children: e.activeItem ? o?.(e.activeItem) ?? a(e.activeItem) : null })
2432
+ /* @__PURE__ */ g(T, { children: e.activeItem ? o?.(e.activeItem) ?? a(e.activeItem) : null })
2305
2433
  ]
2306
2434
  }
2307
2435
  );
2308
2436
  }
2309
- pe.displayName = "SortableZonesInner";
2310
- function ge({ id: e, useSortable: t, cssHelper: n, children: a }) {
2311
- const { attributes: o, listeners: s, setNodeRef: i, transform: l, transition: f, isDragging: d } = t({ id: e }), w = {
2312
- transform: n?.Transform?.toString(l) ?? void 0,
2313
- transition: f,
2314
- opacity: d ? 0.5 : 1
2437
+ ge.displayName = "SortableZonesInner";
2438
+ function be({ id: e, useSortable: t, cssHelper: n, children: a }) {
2439
+ const { attributes: o, listeners: s, setNodeRef: l, transform: c, transition: b, isDragging: u } = t({ id: e }), w = {
2440
+ transform: n?.Transform?.toString(c) ?? void 0,
2441
+ transition: b,
2442
+ opacity: u ? 0.5 : 1
2315
2443
  };
2316
- return /* @__PURE__ */ g("div", { ref: i, style: w, "data-sortable-item-id": e, ...o, ...s, children: a });
2444
+ return /* @__PURE__ */ g("div", { ref: l, style: w, "data-sortable-item-id": e, ...o, ...s, children: a });
2317
2445
  }
2318
- ge.displayName = "SortableItem";
2319
- function be({
2446
+ be.displayName = "SortableItem";
2447
+ function fe({
2320
2448
  zoneKey: e,
2321
2449
  zoneProps: t,
2322
2450
  useDroppable: n,
@@ -2325,297 +2453,300 @@ function be({
2325
2453
  const { setNodeRef: o, isOver: s } = n({ id: e });
2326
2454
  return /* @__PURE__ */ g("div", { ref: o, "data-zone-is-over": s || void 0, ...t, children: a });
2327
2455
  }
2328
- be.displayName = "ZoneDroppable";
2329
- const it = F.forwardRef(({ density: e = "compact", children: t, ...n }, a) => {
2456
+ fe.displayName = "ZoneDroppable";
2457
+ const vt = F.forwardRef(({ density: e = "compact", children: t, ...n }, a) => {
2330
2458
  const o = { ...n };
2331
- return delete o.className, delete o.style, /* @__PURE__ */ g("div", { ref: a, className: "gloss-container-toolbar", role: "toolbar", ...o, children: /* @__PURE__ */ g(ee, { region: "toolbar", density: e, children: t }) });
2459
+ return delete o.className, delete o.style, /* @__PURE__ */ g("div", { ref: a, className: "gloss-container-toolbar", role: "toolbar", ...o, children: /* @__PURE__ */ g(te, { region: "toolbar", density: e, children: t }) });
2332
2460
  });
2333
- it.displayName = "ContainerToolbar";
2334
- const lt = F.forwardRef(({ legend: e, description: t, density: n = "default", children: a, ...o }, s) => {
2335
- const i = { ...o };
2336
- return delete i.className, delete i.style, /* @__PURE__ */ A("fieldset", { ref: s, className: "gloss-container-form-section", ...i, children: [
2461
+ vt.displayName = "ContainerToolbar";
2462
+ const yt = F.forwardRef(({ legend: e, description: t, density: n = "default", children: a, ...o }, s) => {
2463
+ const l = { ...o };
2464
+ return delete l.className, delete l.style, /* @__PURE__ */ O("fieldset", { ref: s, className: "gloss-container-form-section", ...l, children: [
2337
2465
  e && /* @__PURE__ */ g("legend", { className: "gloss-container-form-section__legend", children: e }),
2338
2466
  t && /* @__PURE__ */ g("p", { className: "gloss-container-form-section__description", children: t }),
2339
- /* @__PURE__ */ g(ee, { region: "form-section", density: n, children: a })
2467
+ /* @__PURE__ */ g(te, { region: "form-section", density: n, children: a })
2340
2468
  ] });
2341
2469
  });
2342
- lt.displayName = "ContainerFormSection";
2343
- const dt = F.forwardRef(({ density: e = "compact", children: t, ...n }, a) => {
2470
+ yt.displayName = "ContainerFormSection";
2471
+ const wt = F.forwardRef(({ density: e = "compact", children: t, ...n }, a) => {
2344
2472
  const o = { ...n };
2345
- return delete o.className, delete o.style, /* @__PURE__ */ g("div", { ref: a, className: "gloss-container-table", ...o, children: /* @__PURE__ */ g(ee, { region: "table", density: e, children: t }) });
2473
+ return delete o.className, delete o.style, /* @__PURE__ */ g("div", { ref: a, className: "gloss-container-table", ...o, children: /* @__PURE__ */ g(te, { region: "table", density: e, children: t }) });
2346
2474
  });
2347
- dt.displayName = "ContainerTable";
2475
+ wt.displayName = "ContainerTable";
2348
2476
  export {
2349
- oa as Accordion,
2350
- sa as AccordionContent,
2351
- ia as AccordionItem,
2352
- la as AccordionTrigger,
2353
- da as ActionStrip,
2354
- ca as Actionable,
2355
- ua as AddressGroup,
2356
- ma as AddressSelect,
2357
- pa as AsyncLoader,
2358
- ga as Autocomplete,
2359
- ba as Badge,
2360
- fa as BarChartCard,
2361
- ha as BarsBg,
2362
- va as Button,
2363
- ya as ButtonGroup,
2364
- Ca as ButtonGroupContext,
2365
- Da as Card,
2366
- wa as CardActions,
2367
- Na as CardBack,
2368
- Sa as CardBody,
2369
- ka as CardFooter,
2370
- xa as CardHeader,
2371
- Ta as CardMedia,
2372
- Ia as CardShell,
2373
- Ra as CardSubtitle,
2374
- _a as CardTitle,
2375
- Ma as ChartControlBar,
2376
- Pa as Checkbox,
2377
- Fa as CheckboxGroup,
2378
- Ea as Chip,
2379
- Oa as ColorPicker,
2380
- Aa as ComparisonCard,
2381
- La as ContactForm,
2382
- $a as ContainerCard,
2383
- Ba as ContainerCardActions,
2384
- Ka as ContainerCardBody,
2385
- Ha as ContainerCardFooter,
2386
- Ga as ContainerCardHeader,
2387
- za as ContainerCardMedia,
2388
- Va as ContainerCardSubtitle,
2389
- Za as ContainerCardTitle,
2390
- Wa as ContainerDialog,
2391
- Ya as ContainerDialogActions,
2392
- Ua as ContainerDialogBody,
2393
- qa as ContainerDialogHeader,
2394
- lt as ContainerFormSection,
2395
- ja as ContainerPanel,
2396
- dt as ContainerTable,
2397
- it as ContainerToolbar,
2398
- Qa as CreditCardForm,
2399
- Xa as DEFAULT_FOOTER_IDS,
2400
- Io as DEFAULT_MARKET_PRESETS,
2401
- Ja as DEFAULT_OVERFLOW_IDS,
2402
- Ro as DEFAULT_PINNED,
2403
- er as DataTable,
2404
- tr as DatePicker,
2405
- ar as DateRangePicker,
2406
- rr as DestructiveModal,
2407
- nr as DirectionCard,
2408
- or as Dismissible,
2409
- sr as DistributionCard,
2410
- ir as DonutChart,
2411
- lr as Dropdown,
2412
- dr as ENTITY_FILTER_KEYS,
2413
- cr as ENTITY_PROFILE_ROUTES,
2414
- ur as ENTITY_TYPE_PLURAL,
2415
- Re as EdgeHoverHandle,
2416
- mr as EntityPicker,
2417
- pr as EntitySearchPanel,
2418
- gr as Expandable,
2419
- br as ExpandableChip,
2420
- fr as FLIP_AND_STAGE_TIMINGS,
2421
- hr as FileUpload,
2422
- vr as FilterChip,
2423
- yr as FilterInput,
2424
- Cr as FlipAndStageProvider,
2425
- Dr as Form,
2426
- wr as FormDialog,
2427
- Nr as FormField,
2428
- Sr as FusedShape,
2429
- _e as GhostPreview,
2430
- kr as GroupCheckbox,
2431
- xr as GroupRadio,
2432
- Tr as HighlightCard,
2433
- Ir as HybridDatePicker,
2434
- Rr as ImportWizard,
2435
- We as InlineNudge,
2436
- _r as Input,
2437
- Mr as InputAddon,
2438
- Pr as InputGroup,
2439
- Fr as Link,
2440
- Er as LoginForm,
2441
- Or as MarketPresetRow,
2442
- Ar as MaskPresets,
2443
- Lr as MaskedInput,
2444
- $r as Menu,
2445
- Br as MenuDivider,
2446
- Kr as MenuGroup,
2447
- Hr as MenuItem,
2448
- Gr as MergePrompt,
2449
- zr as MetricCard,
2450
- Vr as MetricCardGrid,
2451
- Ze as MetricGroupContainer,
2452
- Zr as MiniCalendar,
2453
- Wr as MultiSelect,
2454
- Yr as NumberInput,
2455
- Ur as ObjectArrow,
2456
- qr as OrderFilterBar,
2457
- _o as PERIOD_OPTIONS,
2458
- Le as PageChip,
2459
- le as PageDropdown,
2460
- jr as PasswordInput,
2461
- Qr as PaymentForm,
2462
- Xr as PaymentMethodSelect,
2463
- Jr as PhoneInput,
2464
- en as PinToMetric,
2465
- Xe as PresetSwatchRow,
2466
- tn as ProfileCard,
2467
- an as ProgressCard,
2468
- rn as QuickConfigPanel,
2469
- Mo as ROLLING_OPTIONS,
2470
- nn as Radio,
2471
- on as RadioGroup,
2472
- sn as RangeSlider,
2473
- ln as Rating,
2474
- dn as RegistrationForm,
2475
- cn as Row1Controls,
2476
- un as Row2FilterTray,
2477
- mn as SearchInput,
2478
- pn as SegmentCard,
2479
- gn as SegmentedControl,
2480
- bn as Select,
2481
- fn as Selectable,
2482
- hn as SimpleMetricCard,
2483
- vn as SimpleSelector,
2484
- yn as Skeleton,
2485
- Cn as SkeletonCard,
2486
- Dn as SkeletonChart,
2487
- wn as SkeletonTable,
2488
- Nn as Slider,
2489
- Sn as Sortable,
2490
- st as SortableZones,
2491
- kn as SparklineBg,
2492
- xn as SplitButton,
2493
- Tn as StackedGroupCard,
2494
- In as StatusModeCard,
2495
- Ie as StatusSlotChipMenu,
2496
- Rn as Stepper,
2497
- Po as TODAY_PRESET,
2498
- _n as TabGroup,
2499
- Mn as TabbedDataView,
2500
- Pn as TagInput,
2501
- Fn as Textarea,
2502
- qe as ThresholdRamp,
2503
- En as TimeFrame,
2504
- On as TimePicker,
2505
- An as Toggle,
2506
- Ln as Tooltip,
2507
- $n as Transition,
2508
- Bn as TransitionGroup,
2509
- Kn as TrendCard,
2510
- Hn as TrendIndicator,
2511
- ko as UIContext,
2512
- ee as UIContextProvider,
2513
- Gn as UnifiedBreakdownTable,
2514
- zn as UnifiedContextMenu,
2515
- Vn as addressGroupMetadata,
2516
- Zn as addressSchema,
2517
- ft as allChips,
2518
- It as allStateFixtures,
2519
- Tt as allVariantFixtures,
2520
- Ct as blockSamples,
2521
- Wn as buildDefaultOverflow,
2522
- kt as cardSamples,
2523
- Nt as chartSamples,
2524
- wt as circleSamples,
2525
- jt as compactLayout,
2526
- Bt as compactState,
2527
- Yn as contactFormMetadata,
2528
- Un as contactSchema,
2529
- Kt as contextMenuFixtures,
2530
- qn as creditCardFormMetadata,
2531
- jn as creditCardSchema,
2532
- Se as dateChip,
2533
- ue as defaultControlBarState,
2534
- Qn as destructiveModalMetadata,
2535
- Xn as durations,
2536
- Jn as easings,
2537
- Fe as emptyFixture,
2538
- we as entityChip,
2539
- He as entityNameActions,
2540
- vt as entityTabGroup,
2541
- Pe as errorFixture,
2542
- $t as filteredState,
2543
- Fo as findPreset,
2544
- Eo as formatDateRange,
2545
- Oo as formatMarketDates,
2546
- Ao as formatTrend,
2547
- Lo as formatValue,
2548
- Xt as fullLayout,
2549
- $o as generateMarketId,
2550
- eo as generateTabId,
2551
- Bo as getAllPresets,
2552
- Ko as getDateRangeForPreset,
2553
- to as getMenuActions,
2554
- Ho as getPresetLabel,
2555
- ao as getTransitionStyle,
2556
- qt as gridCards,
2557
- ro as interpolate,
2558
- Go as isInRange,
2559
- zo as isMarketActive,
2560
- Vo as isSameDay,
2561
- Lt as itemColumns,
2562
- Ot as itemRows,
2563
- Me as loadingFixture,
2564
- no as loginFormMetadata,
2565
- oo as loginSchema,
2566
- ke as manufacturerChip,
2567
- aa as manyTabs,
2568
- so as mergeHandlers,
2569
- io as mergeRefs,
2570
- ht as metricTabGroup,
2571
- ea as mixedTabs,
2572
- Zo as normalizePresetId,
2573
- ze as numericActions,
2574
- At as orderColumns,
2575
- Ge as orderIdActions,
2576
- Et as orderRows,
2577
- Jt as ordersTabs,
2578
- lo as parseNumericValue,
2579
- co as paymentFormMetadata,
2580
- uo as paymentSchema,
2581
- mo as presets,
2582
- po as registrationFormMetadata,
2583
- go as registrationSchema,
2584
- Gt as sampleCompareRanges,
2585
- Zt as sampleCustomMarkets,
2586
- Ht as sampleDateRange,
2587
- Wt as sampleMarketPresetData,
2588
- Vt as sampleMarkets,
2589
- Ut as samplePeriodPresets,
2590
- zt as samplePreferences,
2591
- Yt as samplePresets,
2592
- ta as singleTab,
2593
- Rt as sparklineFixture,
2594
- _t as sparklineUpFixture,
2595
- Ae as staleDonutFixture,
2596
- Ee as staleFixture,
2597
- Oe as staleSparklineFixture,
2598
- Mt as standardFixture,
2599
- Ft as standardFlatFixture,
2600
- Qt as standardLayout,
2601
- Pt as standardNegativeFixture,
2602
- Ne as statusChip,
2603
- St as tableSamples,
2604
- Dt as textSamples,
2605
- yt as timeFrameTabGroup,
2606
- Wo as toUppercasePresetId,
2607
- bt as useArrowNavigation,
2608
- bo as useCheckboxGroupContext,
2609
- xt as useEdgeHoverResize,
2610
- fo as useFilterLayout,
2611
- ho as useFlipAndStage,
2612
- vo as useFlipAndStageContext,
2613
- yo as useFlipAndStageContextOptional,
2614
- gt as useFocusReturn,
2615
- Co as useFocusTrap,
2616
- Do as useFormContext,
2617
- wo as useRadioGroupContext,
2618
- No as useSlideOutReveal,
2619
- tt as useSortableZones,
2620
- xo as useUIContext
2477
+ Na as Accordion,
2478
+ Sa as AccordionContent,
2479
+ ka as AccordionItem,
2480
+ xa as AccordionTrigger,
2481
+ Ta as ActionStrip,
2482
+ Ia as Actionable,
2483
+ Ra as AddressGroup,
2484
+ _a as AddressSelect,
2485
+ Ma as AsyncLoader,
2486
+ Pa as Autocomplete,
2487
+ Fa as Badge,
2488
+ Ea as BarChartCard,
2489
+ Oa as BarsBg,
2490
+ Aa as Button,
2491
+ La as ButtonGroup,
2492
+ $a as ButtonGroupContext,
2493
+ Ba as Card,
2494
+ Ka as CardActions,
2495
+ Ga as CardBack,
2496
+ Ha as CardBody,
2497
+ za as CardFooter,
2498
+ Va as CardHeader,
2499
+ Wa as CardMedia,
2500
+ Za as CardShell,
2501
+ Ua as CardSubtitle,
2502
+ Ya as CardTitle,
2503
+ qa as ChartControlBar,
2504
+ ja as Checkbox,
2505
+ Qa as CheckboxGroup,
2506
+ Xa as Chip,
2507
+ Ja as ColorPicker,
2508
+ en as ComparisonCard,
2509
+ tn as ContactForm,
2510
+ an as ContainerCard,
2511
+ nn as ContainerCardActions,
2512
+ rn as ContainerCardBody,
2513
+ on as ContainerCardFooter,
2514
+ sn as ContainerCardHeader,
2515
+ ln as ContainerCardMedia,
2516
+ dn as ContainerCardSubtitle,
2517
+ cn as ContainerCardTitle,
2518
+ un as ContainerDialog,
2519
+ mn as ContainerDialogActions,
2520
+ pn as ContainerDialogBody,
2521
+ gn as ContainerDialogHeader,
2522
+ yt as ContainerFormSection,
2523
+ bn as ContainerPanel,
2524
+ wt as ContainerTable,
2525
+ vt as ContainerToolbar,
2526
+ fn as CreditCardForm,
2527
+ hn as DEFAULT_FOOTER_IDS,
2528
+ Zo as DEFAULT_MARKET_PRESETS,
2529
+ vn as DEFAULT_OVERFLOW_IDS,
2530
+ Uo as DEFAULT_PINNED,
2531
+ yn as DataTable,
2532
+ wn as DatePicker,
2533
+ Cn as DateRangePicker,
2534
+ Dn as DestructiveModal,
2535
+ Nn as DirectionCard,
2536
+ Sn as Dismissible,
2537
+ kn as DistributionCard,
2538
+ xn as DonutChart,
2539
+ Tn as Dropdown,
2540
+ In as ENTITY_FILTER_KEYS,
2541
+ Rn as ENTITY_PROFILE_ROUTES,
2542
+ _n as ENTITY_TYPE_PLURAL,
2543
+ Ae as EdgeHoverHandle,
2544
+ Mn as EntityPicker,
2545
+ Pn as EntitySearchPanel,
2546
+ Fn as Expandable,
2547
+ En as ExpandableChip,
2548
+ On as FLIP_AND_STAGE_TIMINGS,
2549
+ An as FileUpload,
2550
+ Ln as FilterChip,
2551
+ $n as FilterInput,
2552
+ Bn as FlipAndStageProvider,
2553
+ Kn as Form,
2554
+ Gn as FormDialog,
2555
+ Hn as FormField,
2556
+ zn as FusedShape,
2557
+ Le as GhostPreview,
2558
+ Vn as GroupCheckbox,
2559
+ Wn as GroupRadio,
2560
+ Zn as HighlightCard,
2561
+ Un as HybridDatePicker,
2562
+ Yn as ImportWizard,
2563
+ nt as InlineNudge,
2564
+ qn as Input,
2565
+ jn as InputAddon,
2566
+ Qn as InputGroup,
2567
+ Xn as Link,
2568
+ Jn as LoginForm,
2569
+ er as MarketPresetRow,
2570
+ tr as MaskPresets,
2571
+ ar as MaskedInput,
2572
+ nr as Menu,
2573
+ rr as MenuDivider,
2574
+ or as MenuGroup,
2575
+ sr as MenuItem,
2576
+ ir as MergePrompt,
2577
+ lr as MetricCard,
2578
+ dr as MetricCardGrid,
2579
+ at as MetricGroupContainer,
2580
+ cr as MiniCalendar,
2581
+ ur as MultiSelect,
2582
+ mr as NumberInput,
2583
+ pr as ObjectArrow,
2584
+ gr as OrderFilterBar,
2585
+ Yo as PERIOD_OPTIONS,
2586
+ Ve as PageChip,
2587
+ de as PageDropdown,
2588
+ br as PasswordInput,
2589
+ fr as PaymentForm,
2590
+ hr as PaymentMethodSelect,
2591
+ vr as PhoneInput,
2592
+ yr as PinToMetric,
2593
+ dt as PresetSwatchRow,
2594
+ wr as ProfileCard,
2595
+ Cr as ProgressCard,
2596
+ Dr as QuickConfigPanel,
2597
+ Qe as RECONFIG_BACKSIDE_LABELS,
2598
+ qo as ROLLING_OPTIONS,
2599
+ Nr as Radio,
2600
+ Sr as RadioGroup,
2601
+ kr as RangeSlider,
2602
+ xr as Rating,
2603
+ et as ReconfigBacksideButtons,
2604
+ Tr as RegistrationForm,
2605
+ Ir as Row1Controls,
2606
+ Rr as Row2FilterTray,
2607
+ _r as SearchInput,
2608
+ Mr as SegmentCard,
2609
+ Pr as SegmentedControl,
2610
+ Fr as Select,
2611
+ Er as Selectable,
2612
+ Or as SimpleMetricCard,
2613
+ Ar as SimpleSelector,
2614
+ Lr as Skeleton,
2615
+ $r as SkeletonCard,
2616
+ Br as SkeletonChart,
2617
+ Kr as SkeletonTable,
2618
+ Gr as Slider,
2619
+ Hr as Sortable,
2620
+ ht as SortableZones,
2621
+ zr as SparklineBg,
2622
+ Vr as SplitButton,
2623
+ Wr as StackedGroupCard,
2624
+ Zr as StatusModeCard,
2625
+ Oe as StatusSlotChipMenu,
2626
+ Ur as Stepper,
2627
+ jo as TODAY_PRESET,
2628
+ Yr as TabGroup,
2629
+ qr as TabbedDataView,
2630
+ jr as TagInput,
2631
+ Qr as Textarea,
2632
+ st as ThresholdRamp,
2633
+ Xr as TimeFrame,
2634
+ Jr as TimePicker,
2635
+ eo as Toggle,
2636
+ to as Tooltip,
2637
+ ao as Transition,
2638
+ no as TransitionGroup,
2639
+ ro as TrendCard,
2640
+ oo as TrendIndicator,
2641
+ zo as UIContext,
2642
+ te as UIContextProvider,
2643
+ so as UnifiedBreakdownTable,
2644
+ io as UnifiedContextMenu,
2645
+ lo as addressGroupMetadata,
2646
+ co as addressSchema,
2647
+ Ft as allChips,
2648
+ Zt as allStateFixtures,
2649
+ Wt as allVariantFixtures,
2650
+ Lt as blockSamples,
2651
+ uo as buildDefaultOverflow,
2652
+ Ht as cardSamples,
2653
+ Kt as chartSamples,
2654
+ Bt as circleSamples,
2655
+ ga as compactLayout,
2656
+ na as compactState,
2657
+ Vt as computeGutterAnchorX,
2658
+ mo as contactFormMetadata,
2659
+ po as contactSchema,
2660
+ ra as contextMenuFixtures,
2661
+ go as creditCardFormMetadata,
2662
+ bo as creditCardSchema,
2663
+ Me as dateChip,
2664
+ me as defaultControlBarState,
2665
+ fo as destructiveModalMetadata,
2666
+ ho as durations,
2667
+ vo as easings,
2668
+ Ke as emptyFixture,
2669
+ Re as entityChip,
2670
+ Ye as entityNameActions,
2671
+ Ot as entityTabGroup,
2672
+ Be as errorFixture,
2673
+ aa as filteredState,
2674
+ Qo as findPreset,
2675
+ Xo as formatDateRange,
2676
+ Jo as formatMarketDates,
2677
+ es as formatTrend,
2678
+ ts as formatValue,
2679
+ fa as fullLayout,
2680
+ as as generateMarketId,
2681
+ yo as generateTabId,
2682
+ ns as getAllPresets,
2683
+ rs as getDateRangeForPreset,
2684
+ wo as getMenuActions,
2685
+ os as getPresetLabel,
2686
+ Co as getTransitionStyle,
2687
+ pa as gridCards,
2688
+ Do as interpolate,
2689
+ ss as isInRange,
2690
+ is as isMarketActive,
2691
+ ls as isSameDay,
2692
+ ta as itemColumns,
2693
+ Jt as itemRows,
2694
+ $e as loadingFixture,
2695
+ No as loginFormMetadata,
2696
+ So as loginSchema,
2697
+ Pe as manufacturerChip,
2698
+ wa as manyTabs,
2699
+ ko as mergeHandlers,
2700
+ xo as mergeRefs,
2701
+ Et as metricTabGroup,
2702
+ va as mixedTabs,
2703
+ ds as normalizePresetId,
2704
+ je as numericActions,
2705
+ ea as orderColumns,
2706
+ qe as orderIdActions,
2707
+ Xt as orderRows,
2708
+ ha as ordersTabs,
2709
+ To as parseNumericValue,
2710
+ Io as paymentFormMetadata,
2711
+ Ro as paymentSchema,
2712
+ _o as presets,
2713
+ Mo as registrationFormMetadata,
2714
+ Po as registrationSchema,
2715
+ sa as sampleCompareRanges,
2716
+ da as sampleCustomMarkets,
2717
+ oa as sampleDateRange,
2718
+ ca as sampleMarketPresetData,
2719
+ la as sampleMarkets,
2720
+ ma as samplePeriodPresets,
2721
+ ia as samplePreferences,
2722
+ ua as samplePresets,
2723
+ ya as singleTab,
2724
+ Ut as sparklineFixture,
2725
+ Yt as sparklineUpFixture,
2726
+ ze as staleDonutFixture,
2727
+ Ge as staleFixture,
2728
+ He as staleSparklineFixture,
2729
+ qt as standardFixture,
2730
+ Qt as standardFlatFixture,
2731
+ ba as standardLayout,
2732
+ jt as standardNegativeFixture,
2733
+ _e as statusChip,
2734
+ Gt as tableSamples,
2735
+ $t as textSamples,
2736
+ At as timeFrameTabGroup,
2737
+ cs as toUppercasePresetId,
2738
+ Pt as useArrowNavigation,
2739
+ Fo as useCheckboxGroupContext,
2740
+ zt as useEdgeHoverResize,
2741
+ Eo as useFilterLayout,
2742
+ Oo as useFlipAndStage,
2743
+ Ao as useFlipAndStageContext,
2744
+ Lo as useFlipAndStageContextOptional,
2745
+ Mt as useFocusReturn,
2746
+ $o as useFocusTrap,
2747
+ Bo as useFormContext,
2748
+ Ko as useRadioGroupContext,
2749
+ Go as useSlideOutReveal,
2750
+ mt as useSortableZones,
2751
+ Vo as useUIContext
2621
2752
  };