@mt-gloss/ui 0.0.23 → 0.0.24

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