@mt-gloss/ui 0.0.17 → 0.0.19

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,15 +1,15 @@
1
- import { N as Xt, T as Jt, O as ea, Q as ta, b2 as aa, av as ra, ad as na, Z as oa, aj as sa, K as ia, a4 as la, bl as da, P as ca, B as ua, a as ma, y as pa, H as ga, be as ba, F as ha, J as fa, A as va, z as Ca, bd as ya, E as Da, D as wa, bt as Na, b as Sa, C as Ta, L as xa, o as ka, a9 as Ia, aJ as _a, y as Pa, H as Ra, F as Ma, J as Fa, A as Oa, z as Aa, E as Ea, D as La, aX as Ba, a_ as Ga, aZ as $a, aY as Ha, a$ as za, ay as Ka, am as Wa, k as Za, m as Ya, aB as qa, a7 as Va, b4 as Ua, a5 as ja, bm as Qa, Y as Xa, bD as Ja, bC as er, bE as tr, al as ar, aM as rr, b6 as nr, bI as or, n as sr, ai as ir, bx as lr, bp as dr, a0 as cr, an as ur, a2 as mr, bw as pr, G as gr, d as br, bg as hr, a6 as fr, bF as vr, aP as Cr, r as yr, v as Dr, I as wr, g as Nr, as as Sr, bJ as Tr, M as xr, w as kr, U as Ir, X as _r, V as Pr, W as Rr, ao as Mr, bc as Fr, bL as Or, bH as Ar, ak as Er, t as Lr, bn as Br, aO as Gr, af as $r, aG as Hr, ac as zr, ah as Kr, aq as Wr, aN as Zr, a8 as Yr, ap as qr, c as Vr, R as Ur, j as jr, p as Qr, aD as Xr, bu as Jr, bv as en, ae as tn, aa as an, h as rn, x as nn, b3 as on, ab as sn, bK as ln, b8 as dn, bb as cn, b9 as un, ba as mn, i as pn, b5 as gn, bk as bn, S as hn, bh as fn, bi as vn, ar as Cn, b7 as yn, bM as Dn, ag as wn, s as Nn, bG as Sn, l as Tn, f as xn, q as kn, _ as In, $ as _n, a3 as Pn, bf as Rn, bs as Mn, bz as Fn, aw as On, ax as An, aK as En, aL as Ln, az as Bn, aA as Gn, aC as $n, aR as Hn, aS as zn, bB as Kn, bA as Wn, aU as Zn, aV as Yn, at as qn, au as Vn, b1 as Un, b0 as jn, aW as Qn, aH as Xn, aI as Jn, aT as eo, aE as to, aF as ao, u as ro, by as no, bo as oo, bq as so, br as io, aQ as lo, a1 as co, e as uo, bj as mo } from "./Expandable-Bvd-OyRQ.js";
2
- import { jsxs as P, jsx as c } from "react/jsx-runtime";
3
- import I, { useRef as F, useEffect as B, useState as R, useCallback as f, forwardRef as pe, useMemo as ge, createContext as be, useContext as he } from "react";
1
+ import { N as Xt, T as Jt, O as ea, Q as ta, b2 as aa, av as ra, ad as na, Z as oa, aj as sa, K as ia, a4 as la, bl as da, P as ca, B as ua, a as ma, y as ga, H as pa, be as ba, F as ha, J as fa, A as va, z as Ca, bd as ya, E as Da, D as wa, bt as Na, b as Sa, C as Ta, L as xa, o as ka, a9 as Ia, aJ as Pa, y as _a, H as Ma, F as Ra, J as Fa, A as Oa, z as Aa, E as Ea, D as La, aX as Ba, a_ as Ga, aZ as $a, aY as Ha, a$ as za, ay as Ka, am as Wa, k as Za, m as Ya, aB as qa, a7 as Va, b4 as Ua, a5 as ja, bm as Qa, Y as Xa, bD as Ja, bC as er, bE as tr, al as ar, aM as rr, b6 as nr, bI as or, n as sr, ai as ir, bx as lr, bp as dr, a0 as cr, an as ur, a2 as mr, bw as gr, G as pr, d as br, bg as hr, a6 as fr, bF as vr, aP as Cr, r as yr, v as Dr, I as wr, g as Nr, as as Sr, bJ as Tr, M as xr, w as kr, U as Ir, X as Pr, V as _r, W as Mr, ao as Rr, bc as Fr, bL as Or, bH as Ar, ak as Er, t as Lr, bn as Br, aO as Gr, af as $r, aG as Hr, ac as zr, ah as Kr, aq as Wr, aN as Zr, a8 as Yr, ap as qr, c as Vr, R as Ur, j as jr, p as Qr, aD as Xr, bu as Jr, bv as en, ae as tn, aa as an, h as rn, x as nn, b3 as on, ab as sn, bK as ln, b8 as dn, bb as cn, b9 as un, ba as mn, i as gn, b5 as pn, bk as bn, S as hn, bh as fn, bi as vn, ar as Cn, b7 as yn, bM as Dn, ag as wn, s as Nn, bG as Sn, l as Tn, f as xn, q as kn, _ as In, $ as Pn, a3 as _n, bf as Mn, bs as Rn, bz as Fn, aw as On, ax as An, aK as En, aL as Ln, az as Bn, aA as Gn, aC as $n, aR as Hn, aS as zn, bB as Kn, bA as Wn, aU as Zn, aV as Yn, at as qn, au as Vn, b1 as Un, b0 as jn, aW as Qn, aH as Xn, aI as Jn, aT as eo, aE as to, aF as ao, u as ro, by as no, bo as oo, bq as so, br as io, aQ as lo, a1 as co, e as uo, bj as mo } from "./Expandable-B7Umnd4T.js";
2
+ import { jsxs as R, jsx as u } from "react/jsx-runtime";
3
+ import P, { useRef as F, useEffect as A, useState as M, useCallback as v, forwardRef as ge, useMemo as pe, createContext as be, useContext as he } from "react";
4
4
  import { B as fe, U as j } from "./UIContext-C3E-k7HI.js";
5
- import { a as go, u as bo } from "./UIContext-C3E-k7HI.js";
5
+ import { a as po, u as bo } from "./UIContext-C3E-k7HI.js";
6
6
  import { createPortal as ve } from "react-dom";
7
- import { DEFAULT_MARKET_PRESETS as fo, DEFAULT_PINNED as vo, PERIOD_OPTIONS as Co, ROLLING_OPTIONS as yo, TODAY_PRESET as Do, findPreset as wo, formatDateRange as No, formatMarketDates as So, formatTrend as To, formatValue as xo, generateMarketId as ko, getAllPresets as Io, getDateRangeForPreset as _o, getPresetLabel as Po, isInRange as Ro, isMarketActive as Mo, isSameDay as Fo, normalizePresetId as Oo, toUppercasePresetId as Ao } from "@mt-gloss/utils";
7
+ import { DEFAULT_MARKET_PRESETS as fo, DEFAULT_PINNED as vo, PERIOD_OPTIONS as Co, ROLLING_OPTIONS as yo, TODAY_PRESET as Do, findPreset as wo, formatDateRange as No, formatMarketDates as So, formatTrend as To, formatValue as xo, generateMarketId as ko, getAllPresets as Io, getDateRangeForPreset as Po, getPresetLabel as _o, isInRange as Mo, isMarketActive as Ro, isSameDay as Fo, normalizePresetId as Oo, toUppercasePresetId as Ao } from "@mt-gloss/utils";
8
8
  function st(e = {}) {
9
9
  const { enabled: t = !0, returnTo: r } = e, a = F(null);
10
- return B(() => {
10
+ return A(() => {
11
11
  t && (a.current = r || document.activeElement);
12
- }, [t, r]), B(() => () => {
12
+ }, [t, r]), A(() => () => {
13
13
  t && a.current && setTimeout(() => {
14
14
  a.current?.focus?.();
15
15
  }, 0);
@@ -24,92 +24,92 @@ function it(e) {
24
24
  orientation: o = "vertical",
25
25
  enabled: s = !0,
26
26
  isItemDisabled: d,
27
- onSelect: u,
28
- onEscape: p
29
- } = e, [b, D] = R(-1), g = r !== void 0 ? r : b, l = f(
30
- (m) => {
31
- r === void 0 && D(m), a?.(m);
27
+ onSelect: m,
28
+ onEscape: g
29
+ } = e, [y, w] = M(-1), l = r !== void 0 ? r : y, i = v(
30
+ (c) => {
31
+ r === void 0 && w(c), a?.(c);
32
32
  },
33
33
  [r, a]
34
- ), h = f(() => t.map((m, w) => ({ item: m, index: w })).filter(({ item: m, index: w }) => !d?.(m, w)).map(({ index: m }) => m), [t, d]), S = f(
35
- (m, w) => {
36
- const C = h();
37
- if (C.length === 0) return -1;
38
- const O = C.indexOf(m);
39
- if (O === -1)
40
- return w === 1 ? C.find((E) => E > m) ?? (n ? C[0] : -1) : [...C].reverse().find((G) => G < m) ?? (n ? C[C.length - 1] : -1);
41
- let k = O + w;
42
- return n ? k = (k + C.length) % C.length : k = Math.max(0, Math.min(C.length - 1, k)), C[k];
34
+ ), f = v(() => t.map((c, D) => ({ item: c, index: D })).filter(({ item: c, index: D }) => !d?.(c, D)).map(({ index: c }) => c), [t, d]), N = v(
35
+ (c, D) => {
36
+ const h = f();
37
+ if (h.length === 0) return -1;
38
+ const I = h.indexOf(c);
39
+ if (I === -1)
40
+ return D === 1 ? h.find((E) => E > c) ?? (n ? h[0] : -1) : [...h].reverse().find((G) => G < c) ?? (n ? h[h.length - 1] : -1);
41
+ let x = I + D;
42
+ return n ? x = (x + h.length) % h.length : x = Math.max(0, Math.min(h.length - 1, x)), h[x];
43
43
  },
44
- [h, n]
45
- ), T = f(() => {
46
- const m = h();
47
- m.length > 0 && l(m[0]);
48
- }, [h, l]), i = f(() => {
49
- const m = h();
50
- m.length > 0 && l(m[m.length - 1]);
51
- }, [h, l]), v = f(() => {
52
- const m = S(g, 1);
53
- m !== -1 && l(m);
54
- }, [g, S, l]), N = f(() => {
55
- const m = S(g, -1);
56
- m !== -1 && l(m);
57
- }, [g, S, l]), y = f(() => {
58
- l(-1);
59
- }, [l]), x = f(
60
- (m) => {
44
+ [f, n]
45
+ ), k = v(() => {
46
+ const c = f();
47
+ c.length > 0 && i(c[0]);
48
+ }, [f, i]), b = v(() => {
49
+ const c = f();
50
+ c.length > 0 && i(c[c.length - 1]);
51
+ }, [f, i]), S = v(() => {
52
+ const c = N(l, 1);
53
+ c !== -1 && i(c);
54
+ }, [l, N, i]), T = v(() => {
55
+ const c = N(l, -1);
56
+ c !== -1 && i(c);
57
+ }, [l, N, i]), C = v(() => {
58
+ i(-1);
59
+ }, [i]), p = v(
60
+ (c) => {
61
61
  if (!s) return;
62
- const { key: w } = m, C = w === "ArrowUp" && (o === "vertical" || o === "both"), O = w === "ArrowDown" && (o === "vertical" || o === "both"), k = w === "ArrowLeft" && (o === "horizontal" || o === "both"), E = w === "ArrowRight" && (o === "horizontal" || o === "both");
63
- if (C || k) {
64
- m.preventDefault(), g === -1 ? i() : N();
62
+ const { key: D } = c, h = D === "ArrowUp" && (o === "vertical" || o === "both"), I = D === "ArrowDown" && (o === "vertical" || o === "both"), x = D === "ArrowLeft" && (o === "horizontal" || o === "both"), E = D === "ArrowRight" && (o === "horizontal" || o === "both");
63
+ if (h || x) {
64
+ c.preventDefault(), l === -1 ? b() : T();
65
65
  return;
66
66
  }
67
- if (O || E) {
68
- m.preventDefault(), g === -1 ? T() : v();
67
+ if (I || E) {
68
+ c.preventDefault(), l === -1 ? k() : S();
69
69
  return;
70
70
  }
71
- if (w === "Home") {
72
- m.preventDefault(), T();
71
+ if (D === "Home") {
72
+ c.preventDefault(), k();
73
73
  return;
74
74
  }
75
- if (w === "End") {
76
- m.preventDefault(), i();
75
+ if (D === "End") {
76
+ c.preventDefault(), b();
77
77
  return;
78
78
  }
79
- if ((w === "Enter" || w === " ") && g >= 0 && g < t.length) {
80
- m.preventDefault();
81
- const G = t[g];
82
- d?.(G, g) || u?.(G, g);
79
+ if ((D === "Enter" || D === " ") && l >= 0 && l < t.length) {
80
+ c.preventDefault();
81
+ const G = t[l];
82
+ d?.(G, l) || m?.(G, l);
83
83
  return;
84
84
  }
85
- if (w === "Escape") {
86
- p?.();
85
+ if (D === "Escape") {
86
+ g?.();
87
87
  return;
88
88
  }
89
89
  },
90
90
  [
91
91
  s,
92
92
  o,
93
- g,
93
+ l,
94
94
  t,
95
+ k,
96
+ b,
97
+ S,
95
98
  T,
96
- i,
97
- v,
98
- N,
99
99
  d,
100
- u,
101
- p
100
+ m,
101
+ g
102
102
  ]
103
103
  );
104
104
  return {
105
- focusedIndex: g,
106
- setFocusedIndex: l,
107
- handleKeyDown: x,
108
- focusFirst: T,
109
- focusLast: i,
110
- focusNext: v,
111
- focusPrevious: N,
112
- resetFocus: y
105
+ focusedIndex: l,
106
+ setFocusedIndex: i,
107
+ handleKeyDown: p,
108
+ focusFirst: k,
109
+ focusLast: b,
110
+ focusNext: S,
111
+ focusPrevious: T,
112
+ resetFocus: C
113
113
  };
114
114
  }
115
115
  const K = (e) => {
@@ -169,11 +169,11 @@ const K = (e) => {
169
169
  { variant: "block", width: 200, height: 32, borderRadius: 8 },
170
170
  { variant: "block", width: "80%", height: 12, borderRadius: "4px" },
171
171
  { variant: "block", width: 120, height: 44, borderRadius: 22 }
172
- ], pt = [
172
+ ], gt = [
173
173
  { variant: "text", lines: 3, lineHeight: 14, gap: 8 },
174
174
  { variant: "text", lines: 2, lineHeight: 16, gap: 10 },
175
175
  { variant: "text", lines: 5, lineHeight: 12, gap: 6 }
176
- ], gt = [
176
+ ], pt = [
177
177
  { variant: "circle", size: 24 },
178
178
  { variant: "circle", size: 40 },
179
179
  { variant: "circle", size: 64 }
@@ -231,115 +231,117 @@ function Te({
231
231
  overflowActions: o,
232
232
  onClose: s
233
233
  }) {
234
- const [d, u] = R(null), p = F(null), b = f(() => {
234
+ const [d, m] = M(null), g = F(null), y = v(() => {
235
235
  if (!t) return { ...J, top: 0, left: 0 };
236
- const l = t.getBoundingClientRect();
236
+ const i = t.getBoundingClientRect();
237
237
  return {
238
238
  ...J,
239
- top: l.bottom + 4,
240
- left: l.left
239
+ top: i.bottom + 4,
240
+ left: i.left
241
241
  };
242
242
  }, [t]);
243
- if (B(() => {
243
+ if (A(() => {
244
244
  if (!e) return;
245
- const l = (h) => {
246
- h.key === "Escape" && s();
245
+ const i = (f) => {
246
+ f.key === "Escape" && s();
247
247
  };
248
- return document.addEventListener("keydown", l), () => document.removeEventListener("keydown", l);
249
- }, [e, s]), B(() => {
248
+ return document.addEventListener("keydown", i), () => document.removeEventListener("keydown", i);
249
+ }, [e, s]), A(() => {
250
250
  if (!e) return;
251
- const l = (h) => {
252
- p.current && !p.current.contains(h.target) && s();
251
+ const i = (f) => {
252
+ g.current && !g.current.contains(f.target) && s();
253
253
  };
254
- return document.addEventListener("pointerdown", l, !0), () => document.removeEventListener("pointerdown", l, !0);
254
+ return document.addEventListener("pointerdown", i, !0), () => document.removeEventListener("pointerdown", i, !0);
255
255
  }, [e, s]), !e) return null;
256
- const D = o && o.length > 0, g = /* @__PURE__ */ P(
256
+ const w = o && o.length > 0, l = /* @__PURE__ */ R(
257
257
  "div",
258
258
  {
259
- ref: p,
259
+ ref: g,
260
260
  "data-status-chip-menu": r,
261
261
  role: "menu",
262
262
  "aria-label": "Status actions",
263
- style: b(),
263
+ style: y(),
264
264
  children: [
265
- /* @__PURE__ */ c(
265
+ /* @__PURE__ */ u(
266
266
  "button",
267
267
  {
268
268
  role: "menuitem",
269
269
  style: Ne(d === "__primary"),
270
- onMouseEnter: () => u("__primary"),
271
- onMouseLeave: () => u(null),
270
+ onMouseEnter: () => m("__primary"),
271
+ onMouseLeave: () => m(null),
272
272
  onClick: () => {
273
273
  a(r), s();
274
274
  },
275
275
  children: "Open in table"
276
276
  }
277
277
  ),
278
- /* @__PURE__ */ c(
278
+ /* @__PURE__ */ u(
279
279
  "button",
280
280
  {
281
281
  role: "menuitem",
282
282
  style: Y(d === "__graph"),
283
- onMouseEnter: () => u("__graph"),
284
- onMouseLeave: () => u(null),
283
+ onMouseEnter: () => m("__graph"),
284
+ onMouseLeave: () => m(null),
285
285
  onClick: () => {
286
286
  n(r), s();
287
287
  },
288
288
  children: "Show on graph"
289
289
  }
290
290
  ),
291
- D && /* @__PURE__ */ c("div", { style: Se }),
292
- D && o?.map((l) => /* @__PURE__ */ c(
291
+ w && /* @__PURE__ */ u("div", { style: Se }),
292
+ w && o?.map((i) => /* @__PURE__ */ u(
293
293
  "button",
294
294
  {
295
295
  role: "menuitem",
296
- style: Y(d === l.id),
297
- onMouseEnter: () => u(l.id),
298
- onMouseLeave: () => u(null),
296
+ style: Y(d === i.id),
297
+ onMouseEnter: () => m(i.id),
298
+ onMouseLeave: () => m(null),
299
299
  onClick: () => {
300
- l.onSelect(r), s();
300
+ i.onSelect(r), s();
301
301
  },
302
- children: l.label
302
+ children: i.label
303
303
  },
304
- l.id
304
+ i.id
305
305
  ))
306
306
  ]
307
307
  }
308
308
  );
309
- return ve(g, document.body);
309
+ return ve(l, document.body);
310
310
  }
311
311
  Te.displayName = "StatusSlotChipMenu";
312
- const xe = pe(
313
- function({ state: t, onPointerDown: r, onPointerUp: a, edge: n = "right", ariaLabel: o = "Resize card" }, s) {
314
- const d = t === "handle-visible" || t === "dragging", u = (b) => {
312
+ const xe = ge(
313
+ function({ state: t, onPointerDown: r, onPointerUp: a, onPointerEnter: n, onPointerLeave: o, edge: s = "right", ariaLabel: d = "Resize card" }, m) {
314
+ const g = t === "handle-visible" || t === "dragging", y = (l) => {
315
315
  try {
316
- b.currentTarget.setPointerCapture(b.pointerId);
316
+ l.currentTarget.setPointerCapture(l.pointerId);
317
317
  } catch {
318
318
  }
319
- r(b);
320
- }, p = (b) => {
319
+ r(l);
320
+ }, w = (l) => {
321
321
  try {
322
- b.currentTarget.hasPointerCapture?.(b.pointerId) && b.currentTarget.releasePointerCapture(b.pointerId);
322
+ l.currentTarget.hasPointerCapture?.(l.pointerId) && l.currentTarget.releasePointerCapture(l.pointerId);
323
323
  } catch {
324
324
  }
325
- a(b);
325
+ a(l);
326
326
  };
327
- return /* @__PURE__ */ c(
327
+ return /* @__PURE__ */ u(
328
328
  "button",
329
329
  {
330
- ref: s,
330
+ ref: m,
331
331
  type: "button",
332
- "aria-label": o,
333
- "data-edge": n,
332
+ "aria-label": d,
333
+ "data-edge": s,
334
334
  "data-resize-state": t,
335
335
  className: [
336
336
  "gloss-edge-handle",
337
- `gloss-edge-handle--${n}`,
338
- d ? "gloss-edge-handle--visible" : ""
337
+ `gloss-edge-handle--${s}`,
338
+ g ? "gloss-edge-handle--visible" : ""
339
339
  ].filter(Boolean).join(" "),
340
- onPointerDown: u,
341
- onPointerUp: p,
342
- tabIndex: d ? 0 : -1
340
+ onPointerDown: y,
341
+ onPointerUp: w,
342
+ onPointerEnter: n,
343
+ onPointerLeave: o,
344
+ tabIndex: g ? 0 : -1
343
345
  }
344
346
  );
345
347
  }
@@ -351,7 +353,7 @@ function ke({
351
353
  enterMs: r = 180,
352
354
  exitMs: a = 120
353
355
  }) {
354
- return /* @__PURE__ */ c(
356
+ return /* @__PURE__ */ u(
355
357
  "div",
356
358
  {
357
359
  "aria-hidden": "true",
@@ -375,48 +377,74 @@ function vt({
375
377
  enterMs: o = 180,
376
378
  exitMs: s = 120
377
379
  }) {
378
- const [d, u] = R("idle"), p = F(null), b = F(null), D = f(() => {
379
- p.current && (clearTimeout(p.current), p.current = null);
380
- }, []), g = f(() => {
381
- u((i) => i !== "idle" ? i : (p.current = setTimeout(() => u("handle-visible"), n), "dwelling"));
382
- }, [n]), l = f(() => {
383
- D(), u((i) => i === "dwelling" || i === "handle-visible" ? "idle" : i);
384
- }, [D]), h = f(
385
- (i) => {
386
- u((v) => v !== "handle-visible" ? v : (b.current = i.clientX, "dragging"));
380
+ const [d, m] = M("idle"), [g, y] = M(e), w = F(null), l = F(null), i = F("idle");
381
+ A(() => {
382
+ i.current = d;
383
+ }, [d]);
384
+ const f = 180, N = v(() => {
385
+ w.current && (clearTimeout(w.current), w.current = null);
386
+ }, []), k = v(() => {
387
+ m((p) => p !== "idle" ? p : (w.current = setTimeout(() => m("handle-visible"), n), "dwelling"));
388
+ }, [n]), b = v(() => {
389
+ N(), m((p) => p === "dwelling" || p === "handle-visible" ? "idle" : p);
390
+ }, [N]), S = v(
391
+ (p) => {
392
+ i.current === "handle-visible" && (l.current = p.clientX, i.current = "dragging", m("dragging"));
387
393
  },
388
394
  []
389
- ), S = f(
390
- (i) => {
391
- u((v) => {
392
- if (v !== "dragging") return v;
393
- const N = i.clientX - (b.current ?? i.clientX), x = Math.round(N / 180), m = Math.min(3, Math.max(1, e + x));
394
- if (m === e)
395
- return a?.(), "cancelled";
396
- const w = m > e ? "grow" : "shrink";
397
- return r({ direction: w, targetColSpan: m, mode: t ? "slot-fill" : "sparkline-fidelity" }), "committed";
398
- });
395
+ ), T = v(
396
+ (p) => {
397
+ if (i.current !== "dragging") return;
398
+ const c = p.clientX - (l.current ?? p.clientX), D = Math.round(c / f), h = Math.min(3, Math.max(1, e + D)), I = h !== e;
399
+ if (m(I ? "committed" : "cancelled"), I) {
400
+ const x = h > e ? "grow" : "shrink";
401
+ r({ direction: x, targetColSpan: h, mode: t ? "slot-fill" : "sparkline-fidelity" });
402
+ } else
403
+ a?.();
399
404
  },
400
405
  [e, t, r, a]
401
- ), T = f(() => {
402
- D(), u((i) => i === "dragging" || i === "handle-visible" ? (a?.(), "cancelled") : i);
403
- }, [D, a]);
404
- return B(() => {
406
+ ), C = v(() => {
407
+ N(), m((p) => p === "dragging" || p === "handle-visible" ? (a?.(), "cancelled") : p);
408
+ }, [N, a]);
409
+ return A(() => {
405
410
  if (d !== "dragging" && d !== "handle-visible") return;
406
- const i = (v) => {
407
- v.key === "Escape" && T();
411
+ const p = (c) => {
412
+ c.key === "Escape" && C();
413
+ };
414
+ return window.addEventListener("keydown", p), () => window.removeEventListener("keydown", p);
415
+ }, [d, C]), A(() => {
416
+ if (d !== "dragging") {
417
+ y(e);
418
+ return;
419
+ }
420
+ const p = (c) => {
421
+ const D = c.clientX - (l.current ?? c.clientX), h = Math.round(D / f), I = Math.min(3, Math.max(1, e + h));
422
+ y((x) => x === I ? x : I);
408
423
  };
409
- return window.addEventListener("keydown", i), () => window.removeEventListener("keydown", i);
410
- }, [d, T]), B(() => () => D(), [D]), B(() => {
424
+ return window.addEventListener("pointermove", p), () => window.removeEventListener("pointermove", p);
425
+ }, [d, e]), A(() => () => N(), [N]), A(() => {
411
426
  if (d !== "committed" && d !== "cancelled") return;
412
- const i = setTimeout(() => u("idle"), s);
413
- return () => clearTimeout(i);
427
+ const p = setTimeout(() => m("idle"), s);
428
+ return () => clearTimeout(p);
414
429
  }, [d, s]), {
415
430
  state: d,
416
- enterEdgeZone: g,
417
- leaveEdgeZone: l,
418
- handleProps: { onPointerDown: h, onPointerUp: S },
419
- ghostProps: { visible: d === "dragging", enterMs: o, exitMs: s }
431
+ enterEdgeZone: k,
432
+ leaveEdgeZone: b,
433
+ handleProps: {
434
+ onPointerDown: S,
435
+ onPointerUp: T,
436
+ // Bug E: handle continues zone presence so pointer crossing sentinel→handle
437
+ // doesn't collapse state. handle's pointerenter = stay in zone.
438
+ onPointerEnter: k,
439
+ onPointerLeave: b
440
+ },
441
+ previewColSpan: g,
442
+ ghostProps: {
443
+ visible: d === "dragging",
444
+ targetColSpan: g,
445
+ enterMs: o,
446
+ exitMs: s
447
+ }
420
448
  };
421
449
  }
422
450
  const Ct = {
@@ -536,20 +564,20 @@ const Ct = {
536
564
  variant: "standard",
537
565
  label: "Total Revenue",
538
566
  isLoading: !0
539
- }, _e = {
567
+ }, Pe = {
540
568
  variant: "standard",
541
569
  label: "Total Revenue",
542
570
  value: 125430,
543
571
  valueFormat: { prefix: "$", abbreviated: !0 },
544
572
  isError: !0
545
- }, Pe = {
573
+ }, _e = {
546
574
  variant: "standard",
547
575
  label: "Total Revenue",
548
576
  value: null,
549
577
  valueFormat: { prefix: "$", abbreviated: !0 },
550
578
  isEmpty: !0,
551
579
  subtitle: "No data"
552
- }, Re = {
580
+ }, Me = {
553
581
  variant: "standard",
554
582
  label: "Total Revenue",
555
583
  value: 125430,
@@ -557,7 +585,7 @@ const Ct = {
557
585
  trend: { value: 12.5, direction: "up" },
558
586
  subtitle: "MTD",
559
587
  isStale: !0
560
- }, Me = {
588
+ }, Re = {
561
589
  variant: "sparkline",
562
590
  label: "Daily Orders",
563
591
  value: 847,
@@ -579,10 +607,10 @@ const Ct = {
579
607
  isStale: !0
580
608
  }, Dt = [
581
609
  Ie,
582
- _e,
583
610
  Pe,
584
- Re,
611
+ _e,
585
612
  Me,
613
+ Re,
586
614
  Fe
587
615
  ], wt = {
588
616
  variant: "sparkline",
@@ -678,22 +706,22 @@ function ne({
678
706
  onCreatePage: s,
679
707
  onManagePages: d
680
708
  }) {
681
- const u = f(
682
- (g) => {
683
- o(g), t();
709
+ const m = v(
710
+ (l) => {
711
+ o(l), t();
684
712
  },
685
713
  [o, t]
686
- ), p = f(
687
- (g, l) => {
688
- (l.key === "Enter" || l.key === " ") && (l.preventDefault(), u(g));
714
+ ), g = v(
715
+ (l, i) => {
716
+ (i.key === "Enter" || i.key === " ") && (i.preventDefault(), m(l));
689
717
  },
690
- [u]
691
- ), b = f(() => {
718
+ [m]
719
+ ), y = v(() => {
692
720
  s(), t();
693
- }, [s, t]), D = f(() => {
721
+ }, [s, t]), w = v(() => {
694
722
  d(), t();
695
723
  }, [d, t]);
696
- return /* @__PURE__ */ P(
724
+ return /* @__PURE__ */ R(
697
725
  fe,
698
726
  {
699
727
  definition: {
@@ -707,55 +735,55 @@ function ne({
707
735
  anchorRef: r,
708
736
  className: "gloss-page-dropdown",
709
737
  children: [
710
- /* @__PURE__ */ c("ul", { role: "menu", className: "gloss-page-dropdown__list", children: a.map((g) => {
711
- const l = g.id === n;
712
- return /* @__PURE__ */ P(
738
+ /* @__PURE__ */ u("ul", { role: "menu", className: "gloss-page-dropdown__list", children: a.map((l) => {
739
+ const i = l.id === n;
740
+ return /* @__PURE__ */ R(
713
741
  "li",
714
742
  {
715
743
  role: "menuitemradio",
716
- "aria-checked": l,
717
- "aria-current": l ? "page" : void 0,
744
+ "aria-checked": i,
745
+ "aria-current": i ? "page" : void 0,
718
746
  tabIndex: 0,
719
- className: `gloss-page-dropdown__item${l ? " gloss-page-dropdown__item--active" : ""}`,
720
- onClick: () => u(g.id),
721
- onKeyDown: (h) => p(g.id, h),
747
+ className: `gloss-page-dropdown__item${i ? " gloss-page-dropdown__item--active" : ""}`,
748
+ onClick: () => m(l.id),
749
+ onKeyDown: (f) => g(l.id, f),
722
750
  children: [
723
- /* @__PURE__ */ c(
751
+ /* @__PURE__ */ u(
724
752
  "span",
725
753
  {
726
- className: `gloss-page-dropdown__dot${l ? " gloss-page-dropdown__dot--active" : ""}`
754
+ className: `gloss-page-dropdown__dot${i ? " gloss-page-dropdown__dot--active" : ""}`
727
755
  }
728
756
  ),
729
- /* @__PURE__ */ c(
757
+ /* @__PURE__ */ u(
730
758
  "span",
731
759
  {
732
- className: `gloss-page-dropdown__name${g.named ? "" : " gloss-page-dropdown__name--unnamed"}`,
733
- children: g.name
760
+ className: `gloss-page-dropdown__name${l.named ? "" : " gloss-page-dropdown__name--unnamed"}`,
761
+ children: l.name
734
762
  }
735
763
  ),
736
- /* @__PURE__ */ c("span", { className: "gloss-page-dropdown__count", children: g.cardCount })
764
+ /* @__PURE__ */ u("span", { className: "gloss-page-dropdown__count", children: l.cardCount })
737
765
  ]
738
766
  },
739
- g.id
767
+ l.id
740
768
  );
741
769
  }) }),
742
- /* @__PURE__ */ c("hr", { className: "gloss-page-dropdown__separator" }),
743
- /* @__PURE__ */ c(
770
+ /* @__PURE__ */ u("hr", { className: "gloss-page-dropdown__separator" }),
771
+ /* @__PURE__ */ u(
744
772
  "button",
745
773
  {
746
774
  role: "menuitem",
747
775
  className: "gloss-page-dropdown__action",
748
- onClick: b,
776
+ onClick: y,
749
777
  children: "+ New page"
750
778
  }
751
779
  ),
752
- /* @__PURE__ */ c("hr", { className: "gloss-page-dropdown__separator" }),
753
- /* @__PURE__ */ c(
780
+ /* @__PURE__ */ u("hr", { className: "gloss-page-dropdown__separator" }),
781
+ /* @__PURE__ */ u(
754
782
  "button",
755
783
  {
756
784
  role: "menuitem",
757
785
  className: "gloss-page-dropdown__action gloss-page-dropdown__action--muted",
758
- onClick: D,
786
+ onClick: w,
759
787
  children: "Manage pages"
760
788
  }
761
789
  )
@@ -773,34 +801,34 @@ const Oe = function({
773
801
  onManagePages: s,
774
802
  maskRadius: d = "var(--gloss-radius-md)"
775
803
  }) {
776
- const u = F(null), [p, b] = R(!1), D = f(() => {
777
- b((h) => !h);
778
- }, []), g = f(() => {
779
- b(!1);
780
- }, []), l = a[t]?.id ?? "";
781
- return /* @__PURE__ */ P(
804
+ const m = F(null), [g, y] = M(!1), w = v(() => {
805
+ y((f) => !f);
806
+ }, []), l = v(() => {
807
+ y(!1);
808
+ }, []), i = a[t]?.id ?? "";
809
+ return /* @__PURE__ */ R(
782
810
  "div",
783
811
  {
784
812
  className: "gloss-page-chip",
785
- ref: u,
813
+ ref: m,
786
814
  style: { position: "absolute", top: 0, right: 0 },
787
815
  "data-page-chip": !0,
788
816
  children: [
789
- /* @__PURE__ */ c(
817
+ /* @__PURE__ */ u(
790
818
  "div",
791
819
  {
792
820
  className: "gloss-page-chip__nuzzle",
793
821
  style: { "--_nuzzle-r": d }
794
822
  }
795
823
  ),
796
- /* @__PURE__ */ P(
824
+ /* @__PURE__ */ R(
797
825
  "button",
798
826
  {
799
827
  className: "gloss-page-chip__trigger",
800
828
  "aria-haspopup": "menu",
801
- "aria-expanded": p,
829
+ "aria-expanded": g,
802
830
  "aria-label": `Page ${t + 1} of ${r}. Click to switch pages.`,
803
- onClick: D,
831
+ onClick: w,
804
832
  children: [
805
833
  t + 1,
806
834
  " / ",
@@ -808,14 +836,14 @@ const Oe = function({
808
836
  ]
809
837
  }
810
838
  ),
811
- /* @__PURE__ */ c(
839
+ /* @__PURE__ */ u(
812
840
  ne,
813
841
  {
814
- open: p,
815
- onDismiss: g,
816
- anchorRef: u,
842
+ open: g,
843
+ onDismiss: l,
844
+ anchorRef: m,
817
845
  pages: a,
818
- activePageId: l,
846
+ activePageId: i,
819
847
  onPageChange: n,
820
848
  onCreatePage: o,
821
849
  onManagePages: s
@@ -1102,7 +1130,7 @@ function oe(e) {
1102
1130
  function se(e) {
1103
1131
  return new Date(e).toLocaleDateString("en-US", { month: "short", day: "numeric", year: "numeric" });
1104
1132
  }
1105
- const H = I.createElement("span", { style: { color: "var(--color-text-muted)" } }, "—"), _t = [
1133
+ const H = P.createElement("span", { style: { color: "var(--color-text-muted)" } }, "—"), Pt = [
1106
1134
  {
1107
1135
  field: "id",
1108
1136
  headerName: "Order",
@@ -1154,7 +1182,7 @@ const H = I.createElement("span", { style: { color: "var(--color-text-muted)" }
1154
1182
  cellClassName: "gloss-tabular-nums",
1155
1183
  renderCell: ({ row: e }) => e.date ? se(e.date) : ""
1156
1184
  }
1157
- ], Pt = [
1185
+ ], _t = [
1158
1186
  {
1159
1187
  field: "sku",
1160
1188
  headerName: "Item ID",
@@ -1250,7 +1278,7 @@ const H = I.createElement("span", { style: { color: "var(--color-text-muted)" }
1250
1278
  userType: "sales-agency",
1251
1279
  entityFilterOptions: Ae,
1252
1280
  itemFilterOptions: Ee
1253
- }, Rt = {
1281
+ }, Mt = {
1254
1282
  ...ie,
1255
1283
  vizState: {
1256
1284
  type: "items",
@@ -1259,7 +1287,7 @@ const H = I.createElement("span", { style: { color: "var(--color-text-muted)" }
1259
1287
  byItem: { id: "i-003", name: "Walnut Console Table" },
1260
1288
  timeFrame: "YTD"
1261
1289
  }
1262
- }, Mt = {
1290
+ }, Rt = {
1263
1291
  ...ie,
1264
1292
  vizState: {
1265
1293
  type: "orders",
@@ -1470,11 +1498,11 @@ const H = I.createElement("span", { style: { color: "var(--color-text-muted)" }
1470
1498
  { id: "ytd", label: "YTD" },
1471
1499
  { id: "lytd", label: "LYTD" }
1472
1500
  ];
1473
- function M(e, t) {
1501
+ function O(e, t) {
1474
1502
  return {
1475
1503
  id: e,
1476
1504
  colSpan: 1,
1477
- content: I.createElement("div", {
1505
+ content: P.createElement("div", {
1478
1506
  style: {
1479
1507
  width: "100%",
1480
1508
  height: "100%",
@@ -1492,21 +1520,21 @@ function M(e, t) {
1492
1520
  }
1493
1521
  function te(e, t) {
1494
1522
  return {
1495
- ...M(e, t),
1523
+ ...O(e, t),
1496
1524
  colSpan: 2
1497
1525
  };
1498
1526
  }
1499
1527
  const zt = [
1500
- M("total-revenue", "Total Revenue"),
1501
- M("total-orders", "Total Orders"),
1528
+ O("total-revenue", "Total Revenue"),
1529
+ O("total-orders", "Total Orders"),
1502
1530
  te("revenue-trend", "Revenue Trend (2x)"),
1503
- M("avg-order", "Avg Order Value"),
1504
- M("new-customers", "New Customers"),
1505
- M("top-salesperson", "Top Salesperson"),
1531
+ O("avg-order", "Avg Order Value"),
1532
+ O("new-customers", "New Customers"),
1533
+ O("top-salesperson", "Top Salesperson"),
1506
1534
  te("order-trend", "Order Trend (2x)"),
1507
- M("repeat-rate", "Repeat Rate"),
1508
- M("open-orders", "Open Orders"),
1509
- M("shipped-orders", "Shipped Orders")
1535
+ O("repeat-rate", "Repeat Rate"),
1536
+ O("open-orders", "Open Orders"),
1537
+ O("shipped-orders", "Shipped Orders")
1510
1538
  ], Kt = {
1511
1539
  columns: 6,
1512
1540
  rowHeight: 120,
@@ -1530,7 +1558,7 @@ const zt = [
1530
1558
  totalPages: 3
1531
1559
  };
1532
1560
  function Z(e) {
1533
- return I.createElement("span", { style: { fontSize: 14 } }, e);
1561
+ return P.createElement("span", { style: { fontSize: 14 } }, e);
1534
1562
  }
1535
1563
  const Yt = [
1536
1564
  {
@@ -1622,14 +1650,14 @@ function He(e) {
1622
1650
  }
1623
1651
  const ze = function(t) {
1624
1652
  if (t.renderMode === "discrete")
1625
- return /* @__PURE__ */ c(
1653
+ return /* @__PURE__ */ u(
1626
1654
  "div",
1627
1655
  {
1628
1656
  className: "gloss-metric-group gloss-metric-group--discrete",
1629
1657
  style: { display: "contents" },
1630
1658
  children: t.cards.map((n) => {
1631
1659
  const o = V(n.size);
1632
- return /* @__PURE__ */ c(
1660
+ return /* @__PURE__ */ u(
1633
1661
  "div",
1634
1662
  {
1635
1663
  className: "gloss-metric-group__slot",
@@ -1645,7 +1673,7 @@ const ze = function(t) {
1645
1673
  }
1646
1674
  );
1647
1675
  const { cards: r, composite: a } = t;
1648
- return /* @__PURE__ */ P(
1676
+ return /* @__PURE__ */ R(
1649
1677
  "div",
1650
1678
  {
1651
1679
  className: "gloss-metric-group gloss-metric-group--composite",
@@ -1664,16 +1692,16 @@ const ze = function(t) {
1664
1692
  "aria-label": a?.label,
1665
1693
  tabIndex: void 0,
1666
1694
  children: [
1667
- a?.accentColor && /* @__PURE__ */ c(
1695
+ a?.accentColor && /* @__PURE__ */ u(
1668
1696
  "div",
1669
1697
  {
1670
1698
  className: "gloss-metric-group__accent",
1671
1699
  style: { background: a.accentColor }
1672
1700
  }
1673
1701
  ),
1674
- a?.label && /* @__PURE__ */ P("div", { className: "gloss-metric-group__label", children: [
1675
- /* @__PURE__ */ c("span", { children: a.label }),
1676
- a?.trend && /* @__PURE__ */ c(
1702
+ a?.label && /* @__PURE__ */ R("div", { className: "gloss-metric-group__label", children: [
1703
+ /* @__PURE__ */ u("span", { children: a.label }),
1704
+ a?.trend && /* @__PURE__ */ u(
1677
1705
  "span",
1678
1706
  {
1679
1707
  className: "gloss-metric-group__trend",
@@ -1682,7 +1710,7 @@ const ze = function(t) {
1682
1710
  }
1683
1711
  )
1684
1712
  ] }),
1685
- /* @__PURE__ */ c(
1713
+ /* @__PURE__ */ u(
1686
1714
  "div",
1687
1715
  {
1688
1716
  className: "gloss-metric-group__slots",
@@ -1693,7 +1721,7 @@ const ze = function(t) {
1693
1721
  },
1694
1722
  children: r.map((n) => {
1695
1723
  const o = V(n.size);
1696
- return /* @__PURE__ */ c(
1724
+ return /* @__PURE__ */ u(
1697
1725
  "div",
1698
1726
  {
1699
1727
  className: "gloss-metric-group__slot--composite",
@@ -1713,7 +1741,7 @@ const ze = function(t) {
1713
1741
  );
1714
1742
  };
1715
1743
  ze.displayName = "MetricGroupContainer";
1716
- const L = {
1744
+ const B = {
1717
1745
  "gloss-inline-nudge": "_gloss-inline-nudge_kdk88_34",
1718
1746
  "gloss-inline-nudge__message": "_gloss-inline-nudge__message_kdk88_65",
1719
1747
  "gloss-inline-nudge__actions": "_gloss-inline-nudge__actions_kdk88_72",
@@ -1728,50 +1756,50 @@ function Ke({
1728
1756
  anchorEl: a,
1729
1757
  anchorSelector: n
1730
1758
  }) {
1731
- const [o, s] = I.useState(null), d = I.useMemo(
1759
+ const [o, s] = P.useState(null), d = P.useMemo(
1732
1760
  () => typeof window < "u" && window.matchMedia ? window.matchMedia("(prefers-reduced-motion: reduce)").matches : !1,
1733
1761
  []
1734
1762
  );
1735
- I.useEffect(() => {
1763
+ P.useEffect(() => {
1736
1764
  !a && !n && (typeof process > "u" || process.env.NODE_ENV !== "production") && console.error(
1737
1765
  "[InlineNudge] requires anchorEl or anchorSelector. AP-07: Do not mount InlineNudge in Layout/** or _app.tsx."
1738
1766
  );
1739
- }, [a, n]), I.useLayoutEffect(() => {
1740
- let p = null;
1741
- if (a ? p = a : n && (p = document.querySelector(n)), p) {
1742
- const b = p.getBoundingClientRect();
1767
+ }, [a, n]), P.useLayoutEffect(() => {
1768
+ let g = null;
1769
+ if (a ? g = a : n && (g = document.querySelector(n)), g) {
1770
+ const y = g.getBoundingClientRect();
1743
1771
  s({
1744
- top: b.bottom + window.scrollY + 6,
1745
- left: b.left + window.scrollX
1772
+ top: y.bottom + window.scrollY + 6,
1773
+ left: y.left + window.scrollX
1746
1774
  });
1747
1775
  }
1748
1776
  }, [a, n]);
1749
- const u = o ? { top: o.top, left: o.left } : {};
1750
- return /* @__PURE__ */ P(
1777
+ const m = o ? { top: o.top, left: o.left } : {};
1778
+ return /* @__PURE__ */ R(
1751
1779
  "div",
1752
1780
  {
1753
- className: L["gloss-inline-nudge"],
1754
- style: u,
1781
+ className: B["gloss-inline-nudge"],
1782
+ style: m,
1755
1783
  role: "status",
1756
1784
  "aria-live": "polite",
1757
1785
  "data-reduced-motion": d ? "true" : void 0,
1758
1786
  children: [
1759
- /* @__PURE__ */ c("span", { className: L["gloss-inline-nudge__message"], children: e }),
1760
- /* @__PURE__ */ P("div", { className: L["gloss-inline-nudge__actions"], children: [
1761
- /* @__PURE__ */ c(
1787
+ /* @__PURE__ */ u("span", { className: B["gloss-inline-nudge__message"], children: e }),
1788
+ /* @__PURE__ */ R("div", { className: B["gloss-inline-nudge__actions"], children: [
1789
+ /* @__PURE__ */ u(
1762
1790
  "button",
1763
1791
  {
1764
1792
  type: "button",
1765
- className: `${L["gloss-inline-nudge__btn"]} ${L["gloss-inline-nudge__btn--action"]}`,
1793
+ className: `${B["gloss-inline-nudge__btn"]} ${B["gloss-inline-nudge__btn--action"]}`,
1766
1794
  onClick: t.onClick,
1767
1795
  children: t.label
1768
1796
  }
1769
1797
  ),
1770
- /* @__PURE__ */ c(
1798
+ /* @__PURE__ */ u(
1771
1799
  "button",
1772
1800
  {
1773
1801
  type: "button",
1774
- className: `${L["gloss-inline-nudge__btn"]} ${L["gloss-inline-nudge__btn--dismiss"]}`,
1802
+ className: `${B["gloss-inline-nudge__btn"]} ${B["gloss-inline-nudge__btn--dismiss"]}`,
1775
1803
  onClick: r,
1776
1804
  "aria-label": "Dismiss",
1777
1805
  children: "Dismiss"
@@ -1800,70 +1828,70 @@ function Ze({
1800
1828
  max: a = 100,
1801
1829
  disabled: n = !1
1802
1830
  }) {
1803
- const o = F(null), [s, d] = R(null), [u, p] = R(e), b = F(e);
1804
- b.current !== e && (b.current = e, p(e));
1805
- const D = ge(() => We(u, r, a), [u, r, a]), g = f(
1806
- (i) => {
1831
+ const o = F(null), [s, d] = M(null), [m, g] = M(e), y = F(e);
1832
+ y.current !== e && (y.current = e, g(e));
1833
+ const w = pe(() => We(m, r, a), [m, r, a]), l = v(
1834
+ (b) => {
1807
1835
  if (!o.current) return r;
1808
- const v = o.current.getBoundingClientRect(), N = Math.max(0, Math.min(1, (i - v.left) / v.width)), y = r + N * (a - r);
1809
- return Math.round(y * 100) / 100;
1836
+ const S = o.current.getBoundingClientRect(), T = Math.max(0, Math.min(1, (b - S.left) / S.width)), C = r + T * (a - r);
1837
+ return Math.round(C * 100) / 100;
1810
1838
  },
1811
1839
  [r, a]
1812
- ), l = f(
1813
- (i, v) => {
1814
- const N = u.find((y) => y.id === v);
1815
- n || N?.disabled || (typeof i.currentTarget.setPointerCapture == "function" && i.currentTarget.setPointerCapture(i.pointerId), d(v));
1840
+ ), i = v(
1841
+ (b, S) => {
1842
+ const T = m.find((C) => C.id === S);
1843
+ n || T?.disabled || (typeof b.currentTarget.setPointerCapture == "function" && b.currentTarget.setPointerCapture(b.pointerId), d(S));
1816
1844
  },
1817
- [n, u]
1818
- ), h = f(
1819
- (i) => {
1845
+ [n, m]
1846
+ ), f = v(
1847
+ (b) => {
1820
1848
  if (!s) return;
1821
- const v = g(i.clientX);
1822
- p(
1823
- (N) => N.map((y) => y.id === s ? { ...y, value: v } : y)
1849
+ const S = l(b.clientX);
1850
+ g(
1851
+ (T) => T.map((C) => C.id === s ? { ...C, value: S } : C)
1824
1852
  );
1825
1853
  },
1826
- [s, g]
1827
- ), S = f(
1828
- (i) => {
1854
+ [s, l]
1855
+ ), N = v(
1856
+ (b) => {
1829
1857
  if (!s) return;
1830
- const v = g(i.clientX), N = u.map(
1831
- (y) => y.id === s ? { ...y, value: v } : y
1858
+ const S = l(b.clientX), T = m.map(
1859
+ (C) => C.id === s ? { ...C, value: S } : C
1832
1860
  );
1833
- p(N), d(null), t(N);
1861
+ g(T), d(null), t(T);
1834
1862
  },
1835
- [s, g, u, t]
1836
- ), T = a - r || 1;
1837
- return /* @__PURE__ */ c("div", { className: "gloss-threshold-ramp", "data-disabled": n || void 0, children: /* @__PURE__ */ c(
1863
+ [s, l, m, t]
1864
+ ), k = a - r || 1;
1865
+ return /* @__PURE__ */ u("div", { className: "gloss-threshold-ramp", "data-disabled": n || void 0, children: /* @__PURE__ */ u(
1838
1866
  "div",
1839
1867
  {
1840
1868
  ref: o,
1841
1869
  className: "gloss-threshold-ramp__track",
1842
- style: { background: D },
1843
- onPointerMove: h,
1844
- onPointerUp: S,
1845
- onPointerLeave: S,
1846
- children: u.map((i) => {
1847
- const v = (i.value - r) / T * 100;
1848
- return /* @__PURE__ */ c(
1870
+ style: { background: w },
1871
+ onPointerMove: f,
1872
+ onPointerUp: N,
1873
+ onPointerLeave: N,
1874
+ children: m.map((b) => {
1875
+ const S = (b.value - r) / k * 100;
1876
+ return /* @__PURE__ */ u(
1849
1877
  "span",
1850
1878
  {
1851
1879
  className: "gloss-threshold-ramp__stop",
1852
1880
  style: {
1853
- left: `${v}%`,
1854
- color: le(i)
1881
+ left: `${S}%`,
1882
+ color: le(b)
1855
1883
  },
1856
- "data-disabled": i.disabled || void 0,
1857
- "data-dragging": s === i.id || void 0,
1858
- onPointerDown: (N) => l(N, i.id),
1859
- "aria-label": i.label ?? `Stop at ${i.value}`,
1884
+ "data-disabled": b.disabled || void 0,
1885
+ "data-dragging": s === b.id || void 0,
1886
+ onPointerDown: (T) => i(T, b.id),
1887
+ "aria-label": b.label ?? `Stop at ${b.value}`,
1860
1888
  role: "slider",
1861
- "aria-valuenow": i.value,
1889
+ "aria-valuenow": b.value,
1862
1890
  "aria-valuemin": r,
1863
1891
  "aria-valuemax": a,
1864
- tabIndex: i.disabled ? -1 : 0
1892
+ tabIndex: b.disabled ? -1 : 0
1865
1893
  },
1866
- i.id
1894
+ b.id
1867
1895
  );
1868
1896
  })
1869
1897
  }
@@ -1875,10 +1903,10 @@ function Ye() {
1875
1903
  return he(de);
1876
1904
  }
1877
1905
  function qe({ option: e }) {
1878
- const t = Ye(), r = t?.isSelected(e.value) ?? !1, a = e.disabled || t?.groupDisabled, n = f(() => {
1906
+ const t = Ye(), r = t?.isSelected(e.value) ?? !1, a = e.disabled || t?.groupDisabled, n = v(() => {
1879
1907
  a || t?.select(e.value);
1880
1908
  }, [a, t, e.value]), o = e.colorToken ? `var(--gloss-color-${e.colorToken}, ${e.color ?? "#888"})` : e.color ?? "#888";
1881
- return /* @__PURE__ */ c(
1909
+ return /* @__PURE__ */ u(
1882
1910
  "button",
1883
1911
  {
1884
1912
  type: "button",
@@ -1903,22 +1931,22 @@ function Ve({
1903
1931
  disabled: n = !1,
1904
1932
  name: o
1905
1933
  }) {
1906
- const s = t !== void 0, [d, u] = R(r), p = s ? t : d, b = f(
1907
- (l) => {
1908
- s || u(l), a?.(l);
1934
+ const s = t !== void 0, [d, m] = M(r), g = s ? t : d, y = v(
1935
+ (i) => {
1936
+ s || m(i), a?.(i);
1909
1937
  },
1910
1938
  [s, a]
1911
- ), D = f(
1912
- (l) => p === l,
1913
- [p]
1914
- ), g = {
1915
- selectedValue: p,
1916
- select: b,
1917
- isSelected: D,
1939
+ ), w = v(
1940
+ (i) => g === i,
1941
+ [g]
1942
+ ), l = {
1943
+ selectedValue: g,
1944
+ select: y,
1945
+ isSelected: w,
1918
1946
  groupDisabled: n,
1919
1947
  name: o
1920
1948
  };
1921
- return /* @__PURE__ */ c(de.Provider, { value: g, children: /* @__PURE__ */ c(
1949
+ return /* @__PURE__ */ u(de.Provider, { value: l, children: /* @__PURE__ */ u(
1922
1950
  "div",
1923
1951
  {
1924
1952
  className: "gloss-preset-swatch-row",
@@ -1926,7 +1954,7 @@ function Ve({
1926
1954
  "aria-label": o,
1927
1955
  "aria-disabled": n,
1928
1956
  "data-disabled": n || void 0,
1929
- children: e.map((l) => /* @__PURE__ */ c(qe, { option: l }, l.value))
1957
+ children: e.map((i) => /* @__PURE__ */ u(qe, { option: i }, i.value))
1930
1958
  }
1931
1959
  ) });
1932
1960
  }
@@ -1946,83 +1974,83 @@ function Ue(e, t, r) {
1946
1974
  return a.splice(r, 0, n), a;
1947
1975
  }
1948
1976
  function je(e) {
1949
- const [t, r] = R(() => e.zones), [a, n] = R(null), [o, s] = R(null), d = F(null), u = F(e.onZoneChange);
1950
- u.current = e.onZoneChange;
1951
- const p = f(
1952
- (h) => {
1953
- const S = h.active.id;
1954
- let T = null, i = null;
1955
- for (const v of t) {
1956
- const N = v.items.find((y) => y.id === S);
1957
- if (N) {
1958
- T = N, i = v.zoneKey;
1977
+ const [t, r] = M(() => e.zones), [a, n] = M(null), [o, s] = M(null), d = F(null), m = F(e.onZoneChange);
1978
+ m.current = e.onZoneChange;
1979
+ const g = v(
1980
+ (f) => {
1981
+ const N = f.active.id;
1982
+ let k = null, b = null;
1983
+ for (const S of t) {
1984
+ const T = S.items.find((C) => C.id === N);
1985
+ if (T) {
1986
+ k = T, b = S.zoneKey;
1959
1987
  break;
1960
1988
  }
1961
1989
  }
1962
- d.current = i, n(T), s(i);
1990
+ d.current = b, n(k), s(b);
1963
1991
  },
1964
1992
  [t]
1965
- ), b = f(
1966
- (h) => {
1967
- if (!h.over) {
1993
+ ), y = v(
1994
+ (f) => {
1995
+ if (!f.over) {
1968
1996
  s(d.current);
1969
1997
  return;
1970
1998
  }
1971
- const S = ae(t, h.over.id);
1972
- s(S);
1999
+ const N = ae(t, f.over.id);
2000
+ s(N);
1973
2001
  },
1974
2002
  [t]
1975
- ), D = f(
1976
- (h) => {
1977
- const { active: S, over: T } = h, i = () => {
2003
+ ), w = v(
2004
+ (f) => {
2005
+ const { active: N, over: k } = f, b = () => {
1978
2006
  d.current = null, n(null), s(null);
1979
2007
  };
1980
- if (!T) {
1981
- i();
2008
+ if (!k) {
2009
+ b();
1982
2010
  return;
1983
2011
  }
1984
- const v = U(t, S.id), N = ae(t, T.id);
1985
- if (!v || !N) {
1986
- i();
2012
+ const S = U(t, N.id), T = ae(t, k.id);
2013
+ if (!S || !T) {
2014
+ b();
1987
2015
  return;
1988
2016
  }
1989
- let y = t.map((x) => ({ ...x, items: [...x.items] }));
1990
- if (v === N) {
1991
- const x = y.findIndex((k) => k.zoneKey === v), m = y[x], w = m.items.findIndex((k) => k.id === S.id), C = m.items.findIndex((k) => k.id === T.id), O = C >= 0 ? C : m.items.length - 1;
1992
- y[x] = {
1993
- ...m,
1994
- items: Ue(m.items, w, O)
2017
+ let C = t.map((p) => ({ ...p, items: [...p.items] }));
2018
+ if (S === T) {
2019
+ const p = C.findIndex((x) => x.zoneKey === S), c = C[p], D = c.items.findIndex((x) => x.id === N.id), h = c.items.findIndex((x) => x.id === k.id), I = h >= 0 ? h : c.items.length - 1;
2020
+ C[p] = {
2021
+ ...c,
2022
+ items: Ue(c.items, D, I)
1995
2023
  };
1996
2024
  } else {
1997
- const x = y.findIndex((_) => _.zoneKey === v), m = y.findIndex((_) => _.zoneKey === N), w = y[x], C = y[m], O = w.items.find((_) => _.id === S.id), k = w.items.filter((_) => _.id !== S.id), E = C.items.findIndex((_) => _.id === T.id), G = E >= 0 ? E : C.items.length;
1998
- let Q = k, A = [...C.items];
1999
- if (C.maxItems !== void 0 && A.length >= C.maxItems) {
2000
- const _ = A[A.length - 1];
2001
- A = A.slice(0, C.maxItems - 1), Q = [...k, _];
2025
+ const p = C.findIndex((_) => _.zoneKey === S), c = C.findIndex((_) => _.zoneKey === T), D = C[p], h = C[c], I = D.items.find((_) => _.id === N.id), x = D.items.filter((_) => _.id !== N.id), E = h.items.findIndex((_) => _.id === k.id), G = E >= 0 ? E : h.items.length;
2026
+ let Q = x, L = [...h.items];
2027
+ if (h.maxItems !== void 0 && L.length >= h.maxItems) {
2028
+ const _ = L[L.length - 1];
2029
+ L = L.slice(0, h.maxItems - 1), Q = [...x, _];
2002
2030
  }
2003
- const X = Math.min(G, A.length), me = [
2004
- ...A.slice(0, X),
2005
- O,
2006
- ...A.slice(X)
2031
+ const X = Math.min(G, L.length), me = [
2032
+ ...L.slice(0, X),
2033
+ I,
2034
+ ...L.slice(X)
2007
2035
  ];
2008
- y[x] = { ...w, items: Q }, y[m] = { ...C, items: me };
2036
+ C[p] = { ...D, items: Q }, C[c] = { ...h, items: me };
2009
2037
  }
2010
- r(y), u.current?.(y), i();
2038
+ r(C), m.current?.(C), b();
2011
2039
  },
2012
2040
  [t]
2013
- ), g = f(
2014
- (h) => ({
2015
- id: h,
2016
- "data-zone-key": h
2041
+ ), l = v(
2042
+ (f) => ({
2043
+ id: f,
2044
+ "data-zone-key": f
2017
2045
  }),
2018
2046
  []
2019
- ), l = f(
2020
- (h) => {
2021
- const S = U(t, h.id) ?? "";
2047
+ ), i = v(
2048
+ (f) => {
2049
+ const N = U(t, f.id) ?? "";
2022
2050
  return {
2023
- id: h.id,
2024
- "data-item-id": h.id,
2025
- "data-zone-key": S
2051
+ id: f.id,
2052
+ "data-item-id": f.id,
2053
+ "data-zone-key": N
2026
2054
  };
2027
2055
  },
2028
2056
  [t]
@@ -2031,11 +2059,11 @@ function je(e) {
2031
2059
  zones: t,
2032
2060
  activeZone: o,
2033
2061
  activeItem: a,
2034
- getZoneProps: g,
2035
- getItemProps: l,
2036
- handleDragStart: p,
2037
- handleDragOver: b,
2038
- handleDragEnd: D
2062
+ getZoneProps: l,
2063
+ getItemProps: i,
2064
+ handleDragStart: g,
2065
+ handleDragOver: y,
2066
+ handleDragEnd: w
2039
2067
  };
2040
2068
  }
2041
2069
  let $ = null, z = null, re = !1;
@@ -2058,16 +2086,16 @@ function Qe() {
2058
2086
  })(), z);
2059
2087
  }
2060
2088
  function Xe(e) {
2061
- const { zones: t, onZoneChange: r, renderZone: a, renderItem: n, renderDragOverlay: o } = e, s = je({ zones: t, onZoneChange: r }), [d, u] = I.useState($);
2062
- return I.useEffect(() => {
2089
+ const { zones: t, onZoneChange: r, renderZone: a, renderItem: n, renderDragOverlay: o } = e, s = je({ zones: t, onZoneChange: r }), [d, m] = P.useState($);
2090
+ return P.useEffect(() => {
2063
2091
  if (d) return;
2064
- let p = !0;
2065
- return Qe().then((b) => {
2066
- p && u(b);
2092
+ let g = !0;
2093
+ return Qe().then((y) => {
2094
+ g && m(y);
2067
2095
  }), () => {
2068
- p = !1;
2096
+ g = !1;
2069
2097
  };
2070
- }, [d]), d ? /* @__PURE__ */ c(
2098
+ }, [d]), d ? /* @__PURE__ */ u(
2071
2099
  ce,
2072
2100
  {
2073
2101
  state: s,
@@ -2076,9 +2104,9 @@ function Xe(e) {
2076
2104
  renderItem: n,
2077
2105
  renderDragOverlay: o
2078
2106
  }
2079
- ) : /* @__PURE__ */ c("div", { "data-sortable-zones-passive": "true", children: s.zones.map((p) => {
2080
- const b = p.items.map((D) => /* @__PURE__ */ c(I.Fragment, { children: n(D) }, D.id));
2081
- return /* @__PURE__ */ c("div", { ...s.getZoneProps(p.zoneKey), children: a(p.zoneKey, p.items, b) }, p.zoneKey);
2107
+ ) : /* @__PURE__ */ u("div", { "data-sortable-zones-passive": "true", children: s.zones.map((g) => {
2108
+ const y = g.items.map((w) => /* @__PURE__ */ u(P.Fragment, { children: n(w) }, w.id));
2109
+ return /* @__PURE__ */ u("div", { ...s.getZoneProps(g.zoneKey), children: a(g.zoneKey, g.items, y) }, g.zoneKey);
2082
2110
  }) });
2083
2111
  }
2084
2112
  Xe.displayName = "SortableZones";
@@ -2089,64 +2117,64 @@ function ce({
2089
2117
  renderItem: a,
2090
2118
  renderDragOverlay: n
2091
2119
  }) {
2092
- const { core: o, sortable: s, utilities: d } = t, { DndContext: u, DragOverlay: p, useSensors: b, useSensor: D, PointerSensor: g, KeyboardSensor: l, closestCenter: h } = o, { SortableContext: S, verticalListSortingStrategy: T } = s, i = b(
2093
- D(g, { activationConstraint: { distance: 5 } }),
2094
- D(l)
2095
- ), v = u, N = p, y = S;
2096
- return /* @__PURE__ */ P(
2097
- v,
2120
+ const { core: o, sortable: s, utilities: d } = t, { DndContext: m, DragOverlay: g, useSensors: y, useSensor: w, PointerSensor: l, KeyboardSensor: i, closestCenter: f } = o, { SortableContext: N, verticalListSortingStrategy: k } = s, b = y(
2121
+ w(l, { activationConstraint: { distance: 5 } }),
2122
+ w(i)
2123
+ ), S = m, T = g, C = N;
2124
+ return /* @__PURE__ */ R(
2125
+ S,
2098
2126
  {
2099
- sensors: i,
2100
- collisionDetection: h,
2127
+ sensors: b,
2128
+ collisionDetection: f,
2101
2129
  onDragStart: e.handleDragStart,
2102
2130
  onDragOver: e.handleDragOver,
2103
2131
  onDragEnd: e.handleDragEnd,
2104
2132
  children: [
2105
- e.zones.map((x) => {
2106
- const m = x.items.map((C) => C.id), w = x.items.map((C) => /* @__PURE__ */ c(
2133
+ e.zones.map((p) => {
2134
+ const c = p.items.map((h) => h.id), D = p.items.map((h) => /* @__PURE__ */ u(
2107
2135
  ue,
2108
2136
  {
2109
- id: C.id,
2137
+ id: h.id,
2110
2138
  useSortable: s.useSortable,
2111
2139
  cssHelper: d.CSS,
2112
- children: a(C)
2140
+ children: a(h)
2113
2141
  },
2114
- C.id
2142
+ h.id
2115
2143
  ));
2116
- return /* @__PURE__ */ c("div", { ...e.getZoneProps(x.zoneKey), children: /* @__PURE__ */ c(y, { items: m, strategy: T, children: r(x.zoneKey, x.items, w) }) }, x.zoneKey);
2144
+ return /* @__PURE__ */ u("div", { ...e.getZoneProps(p.zoneKey), children: /* @__PURE__ */ u(C, { items: c, strategy: k, children: r(p.zoneKey, p.items, D) }) }, p.zoneKey);
2117
2145
  }),
2118
- /* @__PURE__ */ c(N, { children: e.activeItem ? n?.(e.activeItem) ?? a(e.activeItem) : null })
2146
+ /* @__PURE__ */ u(T, { children: e.activeItem ? n?.(e.activeItem) ?? a(e.activeItem) : null })
2119
2147
  ]
2120
2148
  }
2121
2149
  );
2122
2150
  }
2123
2151
  ce.displayName = "SortableZonesInner";
2124
2152
  function ue({ id: e, useSortable: t, cssHelper: r, children: a }) {
2125
- const { attributes: n, listeners: o, setNodeRef: s, transform: d, transition: u, isDragging: p } = t({ id: e }), b = {
2153
+ const { attributes: n, listeners: o, setNodeRef: s, transform: d, transition: m, isDragging: g } = t({ id: e }), y = {
2126
2154
  transform: r?.Transform?.toString(d) ?? void 0,
2127
- transition: u,
2128
- opacity: p ? 0.5 : 1
2155
+ transition: m,
2156
+ opacity: g ? 0.5 : 1
2129
2157
  };
2130
- return /* @__PURE__ */ c("div", { ref: s, style: b, "data-sortable-item-id": e, ...n, ...o, children: a });
2158
+ return /* @__PURE__ */ u("div", { ref: s, style: y, "data-sortable-item-id": e, ...n, ...o, children: a });
2131
2159
  }
2132
2160
  ue.displayName = "SortableItem";
2133
- const Je = I.forwardRef(({ density: e = "compact", children: t, ...r }, a) => {
2161
+ const Je = P.forwardRef(({ density: e = "compact", children: t, ...r }, a) => {
2134
2162
  const n = { ...r };
2135
- return delete n.className, delete n.style, /* @__PURE__ */ c("div", { ref: a, className: "gloss-container-toolbar", role: "toolbar", ...n, children: /* @__PURE__ */ c(j, { region: "toolbar", density: e, children: t }) });
2163
+ return delete n.className, delete n.style, /* @__PURE__ */ u("div", { ref: a, className: "gloss-container-toolbar", role: "toolbar", ...n, children: /* @__PURE__ */ u(j, { region: "toolbar", density: e, children: t }) });
2136
2164
  });
2137
2165
  Je.displayName = "ContainerToolbar";
2138
- const et = I.forwardRef(({ legend: e, description: t, density: r = "default", children: a, ...n }, o) => {
2166
+ const et = P.forwardRef(({ legend: e, description: t, density: r = "default", children: a, ...n }, o) => {
2139
2167
  const s = { ...n };
2140
- return delete s.className, delete s.style, /* @__PURE__ */ P("fieldset", { ref: o, className: "gloss-container-form-section", ...s, children: [
2141
- e && /* @__PURE__ */ c("legend", { className: "gloss-container-form-section__legend", children: e }),
2142
- t && /* @__PURE__ */ c("p", { className: "gloss-container-form-section__description", children: t }),
2143
- /* @__PURE__ */ c(j, { region: "form-section", density: r, children: a })
2168
+ return delete s.className, delete s.style, /* @__PURE__ */ R("fieldset", { ref: o, className: "gloss-container-form-section", ...s, children: [
2169
+ e && /* @__PURE__ */ u("legend", { className: "gloss-container-form-section__legend", children: e }),
2170
+ t && /* @__PURE__ */ u("p", { className: "gloss-container-form-section__description", children: t }),
2171
+ /* @__PURE__ */ u(j, { region: "form-section", density: r, children: a })
2144
2172
  ] });
2145
2173
  });
2146
2174
  et.displayName = "ContainerFormSection";
2147
- const tt = I.forwardRef(({ density: e = "compact", children: t, ...r }, a) => {
2175
+ const tt = P.forwardRef(({ density: e = "compact", children: t, ...r }, a) => {
2148
2176
  const n = { ...r };
2149
- return delete n.className, delete n.style, /* @__PURE__ */ c("div", { ref: a, className: "gloss-container-table", ...n, children: /* @__PURE__ */ c(j, { region: "table", density: e, children: t }) });
2177
+ return delete n.className, delete n.style, /* @__PURE__ */ u("div", { ref: a, className: "gloss-container-table", ...n, children: /* @__PURE__ */ u(j, { region: "table", density: e, children: t }) });
2150
2178
  });
2151
2179
  tt.displayName = "ContainerTable";
2152
2180
  export {
@@ -2165,8 +2193,8 @@ export {
2165
2193
  ca as Button,
2166
2194
  ua as ButtonGroup,
2167
2195
  ma as ButtonGroupContext,
2168
- pa as Card,
2169
- ga as CardActions,
2196
+ ga as Card,
2197
+ pa as CardActions,
2170
2198
  ba as CardBack,
2171
2199
  ha as CardBody,
2172
2200
  fa as CardFooter,
@@ -2181,10 +2209,10 @@ export {
2181
2209
  xa as Chip,
2182
2210
  ka as ColorPicker,
2183
2211
  Ia as ComparisonCard,
2184
- _a as ContactForm,
2185
- Pa as ContainerCard,
2186
- Ra as ContainerCardActions,
2187
- Ma as ContainerCardBody,
2212
+ Pa as ContactForm,
2213
+ _a as ContainerCard,
2214
+ Ma as ContainerCardActions,
2215
+ Ra as ContainerCardBody,
2188
2216
  Fa as ContainerCardFooter,
2189
2217
  Oa as ContainerCardHeader,
2190
2218
  Aa as ContainerCardMedia,
@@ -2226,9 +2254,9 @@ export {
2226
2254
  cr as Form,
2227
2255
  ur as FormDialog,
2228
2256
  mr as FormField,
2229
- pr as FusedShape,
2257
+ gr as FusedShape,
2230
2258
  ke as GhostPreview,
2231
- gr as GroupCheckbox,
2259
+ pr as GroupCheckbox,
2232
2260
  br as GroupRadio,
2233
2261
  hr as GutterActions,
2234
2262
  fr as HighlightCard,
@@ -2244,10 +2272,10 @@ export {
2244
2272
  xr as MaskPresets,
2245
2273
  kr as MaskedInput,
2246
2274
  Ir as Menu,
2247
- _r as MenuDivider,
2248
- Pr as MenuGroup,
2249
- Rr as MenuItem,
2250
- Mr as MergePrompt,
2275
+ Pr as MenuDivider,
2276
+ _r as MenuGroup,
2277
+ Mr as MenuItem,
2278
+ Rr as MergePrompt,
2251
2279
  Fr as MetricCard,
2252
2280
  Or as MetricCardGrid,
2253
2281
  ze as MetricGroupContainer,
@@ -2287,8 +2315,8 @@ export {
2287
2315
  cn as SkeletonCard,
2288
2316
  un as SkeletonChart,
2289
2317
  mn as SkeletonTable,
2290
- pn as Slider,
2291
- gn as Sortable,
2318
+ gn as Slider,
2319
+ pn as Sortable,
2292
2320
  Xe as SortableZones,
2293
2321
  bn as SparklineBg,
2294
2322
  hn as SplitButton,
@@ -2307,12 +2335,12 @@ export {
2307
2335
  xn as Toggle,
2308
2336
  kn as Tooltip,
2309
2337
  In as Transition,
2310
- _n as TransitionGroup,
2311
- Pn as TrendCard,
2312
- Rn as TrendIndicator,
2313
- go as UIContext,
2338
+ Pn as TransitionGroup,
2339
+ _n as TrendCard,
2340
+ Mn as TrendIndicator,
2341
+ po as UIContext,
2314
2342
  j as UIContextProvider,
2315
- Mn as UnifiedBreakdownTable,
2343
+ Rn as UnifiedBreakdownTable,
2316
2344
  Fn as UnifiedContextMenu,
2317
2345
  On as addressGroupMetadata,
2318
2346
  An as addressSchema,
@@ -2322,9 +2350,9 @@ export {
2322
2350
  mt as blockSamples,
2323
2351
  ft as cardSamples,
2324
2352
  bt as chartSamples,
2325
- gt as circleSamples,
2353
+ pt as circleSamples,
2326
2354
  Kt as compactLayout,
2327
- Mt as compactState,
2355
+ Rt as compactState,
2328
2356
  En as contactFormMetadata,
2329
2357
  Ln as contactSchema,
2330
2358
  Ft as contextMenuFixtures,
@@ -2335,12 +2363,12 @@ export {
2335
2363
  $n as destructiveModalMetadata,
2336
2364
  Hn as durations,
2337
2365
  zn as easings,
2338
- Pe as emptyFixture,
2366
+ _e as emptyFixture,
2339
2367
  Ce as entityChip,
2340
2368
  Be as entityNameActions,
2341
2369
  ct as entityTabGroup,
2342
- _e as errorFixture,
2343
- Rt as filteredState,
2370
+ Pe as errorFixture,
2371
+ Mt as filteredState,
2344
2372
  wo as findPreset,
2345
2373
  No as formatDateRange,
2346
2374
  So as formatMarketDates,
@@ -2350,16 +2378,16 @@ export {
2350
2378
  ko as generateMarketId,
2351
2379
  Kn as generateTabId,
2352
2380
  Io as getAllPresets,
2353
- _o as getDateRangeForPreset,
2381
+ Po as getDateRangeForPreset,
2354
2382
  Wn as getMenuActions,
2355
- Po as getPresetLabel,
2383
+ _o as getPresetLabel,
2356
2384
  Zn as getTransitionStyle,
2357
2385
  zt as gridCards,
2358
2386
  Yn as interpolate,
2359
- Ro as isInRange,
2360
- Mo as isMarketActive,
2387
+ Mo as isInRange,
2388
+ Ro as isMarketActive,
2361
2389
  Fo as isSameDay,
2362
- Pt as itemColumns,
2390
+ _t as itemColumns,
2363
2391
  It as itemRows,
2364
2392
  Ie as loadingFixture,
2365
2393
  qn as loginFormMetadata,
@@ -2372,7 +2400,7 @@ export {
2372
2400
  qt as mixedTabs,
2373
2401
  Oo as normalizePresetId,
2374
2402
  $e as numericActions,
2375
- _t as orderColumns,
2403
+ Pt as orderColumns,
2376
2404
  Ge as orderIdActions,
2377
2405
  kt as orderRows,
2378
2406
  Yt as ordersTabs,
@@ -2394,15 +2422,15 @@ export {
2394
2422
  wt as sparklineFixture,
2395
2423
  Nt as sparklineUpFixture,
2396
2424
  Fe as staleDonutFixture,
2397
- Re as staleFixture,
2398
- Me as staleSparklineFixture,
2425
+ Me as staleFixture,
2426
+ Re as staleSparklineFixture,
2399
2427
  St as standardFixture,
2400
2428
  xt as standardFlatFixture,
2401
2429
  Wt as standardLayout,
2402
2430
  Tt as standardNegativeFixture,
2403
2431
  ye as statusChip,
2404
2432
  ht as tableSamples,
2405
- pt as textSamples,
2433
+ gt as textSamples,
2406
2434
  ut as timeFrameTabGroup,
2407
2435
  Ao as toUppercasePresetId,
2408
2436
  it as useArrowNavigation,