@mt-gloss/ui 0.0.14 → 0.0.16

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,21 +1,21 @@
1
- import { N as aa, T as ra, O as na, Q as oa, b2 as sa, av as ia, ad as la, Z as da, aj as ca, K as ua, a4 as ma, bl as ga, P as pa, B as ba, a as ha, y as fa, H as va, be as Ca, F as ya, J as Da, A as wa, z as Na, bd as Sa, E as xa, D as Ta, bt as ka, b as Ia, C as _a, L as Ra, o as Ma, a9 as Pa, aJ as Fa, y as Oa, H as Aa, F as Ea, J as La, A as Ba, z as Ga, E as za, D as Ha, aX as $a, a_ as Ka, aZ as Wa, aY as Za, a$ as Ya, ay as qa, am as Va, k as Ua, m as ja, aB as Qa, a7 as Xa, b4 as Ja, a5 as er, bm as tr, Y as ar, bD as rr, bC as nr, bE as or, al as sr, aM as ir, b6 as lr, bI as dr, n as cr, ai as ur, bx as mr, bp as gr, a0 as pr, an as br, a2 as hr, bw as fr, G as vr, d as Cr, bg as yr, a6 as Dr, bF as wr, aP as Nr, r as Sr, v as xr, I as Tr, g as kr, as as Ir, bJ as _r, M as Rr, w as Mr, U as Pr, X as Fr, V as Or, W as Ar, ao as Er, bc as Lr, bL as Br, bH as Gr, ak as zr, t as Hr, bn as $r, aO as Kr, af as Wr, aG as Zr, ac as Yr, ah as qr, aq as Vr, aN as Ur, a8 as jr, ap as Qr, c as Xr, R as Jr, j as en, p as tn, aD as an, bu as rn, bv as nn, ae as on, aa as sn, h as ln, x as dn, b3 as cn, ab as un, bK as mn, b8 as gn, bb as pn, b9 as bn, ba as hn, i as fn, b5 as vn, bk as Cn, S as yn, bh as Dn, bi as wn, ar as Nn, b7 as Sn, bM as xn, ag as Tn, s as kn, bG as In, l as _n, f as Rn, q as Mn, _ as Pn, $ as Fn, a3 as On, bf as An, bs as En, bz as Ln, aw as Bn, ax as Gn, aK as zn, aL as Hn, az as $n, aA as Kn, aC as Wn, aR as Zn, aS as Yn, bB as qn, bA as Vn, aU as Un, aV as jn, at as Qn, au as Xn, b1 as Jn, b0 as eo, aW as to, aH as ao, aI as ro, aT as no, aE as oo, aF as so, u as io, by as lo, bo as co, bq as uo, br as mo, aQ as go, a1 as po, e as bo, bj as ho } from "./Expandable-aJSmv_1C.js";
2
- import { jsxs as _, jsx as l } from "react/jsx-runtime";
3
- import R, { useRef as F, useEffect as G, useState as M, useCallback as b, forwardRef as ve, useMemo as Ce, createContext as ye, useContext as De } from "react";
4
- import { B as we, U } from "./UIContext-Cx54OlNB.js";
5
- import { a as vo, u as Co } from "./UIContext-Cx54OlNB.js";
6
- import { createPortal as Ne } from "react-dom";
7
- import { DEFAULT_MARKET_PRESETS as Do, DEFAULT_PINNED as wo, PERIOD_OPTIONS as No, ROLLING_OPTIONS as So, TODAY_PRESET as xo, findPreset as To, formatDateRange as ko, formatMarketDates as Io, formatTrend as _o, formatValue as Ro, generateMarketId as Mo, getAllPresets as Po, getDateRangeForPreset as Fo, getPresetLabel as Oo, isInRange as Ao, isMarketActive as Eo, isSameDay as Lo, normalizePresetId as Bo, toUppercasePresetId as Go } from "@mt-gloss/utils";
8
- function ct(e = {}) {
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 fa, J as ha, 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 Ra, H as Ma, F as Pa, 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 fr, a6 as hr, 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 Rr, W as Mr, ao as Pr, 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 fn, bh as hn, 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 Rn, bf as Mn, bs as Pn, 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 R, jsx as c } from "react/jsx-runtime";
3
+ import I, { useRef as F, useEffect as B, useState as M, useCallback as f, forwardRef as ge, useMemo as pe, createContext as be, useContext as fe } from "react";
4
+ import { B as he, U as j } from "./UIContext-C3E-k7HI.js";
5
+ import { a as po, u as bo } from "./UIContext-C3E-k7HI.js";
6
+ import { createPortal as ve } from "react-dom";
7
+ import { DEFAULT_MARKET_PRESETS as ho, 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 Ro, isInRange as Mo, isMarketActive as Po, isSameDay as Fo, normalizePresetId as Oo, toUppercasePresetId as Ao } from "@mt-gloss/utils";
8
+ function st(e = {}) {
9
9
  const { enabled: t = !0, returnTo: r } = e, a = F(null);
10
- return G(() => {
10
+ return B(() => {
11
11
  t && (a.current = r || document.activeElement);
12
- }, [t, r]), G(() => () => {
12
+ }, [t, r]), B(() => () => {
13
13
  t && a.current && setTimeout(() => {
14
14
  a.current?.focus?.();
15
15
  }, 0);
16
16
  }, [t]), a;
17
17
  }
18
- function ut(e) {
18
+ function it(e) {
19
19
  const {
20
20
  items: t,
21
21
  activeIndex: r,
@@ -23,66 +23,66 @@ function ut(e) {
23
23
  loop: n = !0,
24
24
  orientation: o = "vertical",
25
25
  enabled: s = !0,
26
- isItemDisabled: c,
27
- onSelect: u,
26
+ isItemDisabled: d,
27
+ onSelect: m,
28
28
  onEscape: g
29
- } = e, [w, v] = M(-1), p = r !== void 0 ? r : w, m = b(
30
- (d) => {
31
- r === void 0 && v(d), a?.(d);
29
+ } = e, [y, D] = M(-1), p = r !== void 0 ? r : y, l = f(
30
+ (u) => {
31
+ r === void 0 && D(u), a?.(u);
32
32
  },
33
33
  [r, a]
34
- ), f = b(() => t.map((d, D) => ({ item: d, index: D })).filter(({ item: d, index: D }) => !c?.(d, D)).map(({ index: d }) => d), [t, c]), S = b(
35
- (d, D) => {
36
- const y = f();
37
- if (y.length === 0) return -1;
38
- const O = y.indexOf(d);
34
+ ), b = f(() => t.map((u, w) => ({ item: u, index: w })).filter(({ item: u, index: w }) => !d?.(u, w)).map(({ index: u }) => u), [t, d]), S = f(
35
+ (u, w) => {
36
+ const v = b();
37
+ if (v.length === 0) return -1;
38
+ const O = v.indexOf(u);
39
39
  if (O === -1)
40
- return D === 1 ? y.find((E) => E > d) ?? (n ? y[0] : -1) : [...y].reverse().find((B) => B < d) ?? (n ? y[y.length - 1] : -1);
41
- let T = O + D;
42
- return n ? T = (T + y.length) % y.length : T = Math.max(0, Math.min(y.length - 1, T)), y[T];
40
+ return w === 1 ? v.find((E) => E > u) ?? (n ? v[0] : -1) : [...v].reverse().find((G) => G < u) ?? (n ? v[v.length - 1] : -1);
41
+ let k = O + w;
42
+ return n ? k = (k + v.length) % v.length : k = Math.max(0, Math.min(v.length - 1, k)), v[k];
43
43
  },
44
- [f, n]
45
- ), x = b(() => {
46
- const d = f();
47
- d.length > 0 && m(d[0]);
48
- }, [f, m]), i = b(() => {
49
- const d = f();
50
- d.length > 0 && m(d[d.length - 1]);
51
- }, [f, m]), h = b(() => {
52
- const d = S(p, 1);
53
- d !== -1 && m(d);
54
- }, [p, S, m]), N = b(() => {
55
- const d = S(p, -1);
56
- d !== -1 && m(d);
57
- }, [p, S, m]), C = b(() => {
58
- m(-1);
59
- }, [m]), k = b(
60
- (d) => {
44
+ [b, n]
45
+ ), T = f(() => {
46
+ const u = b();
47
+ u.length > 0 && l(u[0]);
48
+ }, [b, l]), i = f(() => {
49
+ const u = b();
50
+ u.length > 0 && l(u[u.length - 1]);
51
+ }, [b, l]), h = f(() => {
52
+ const u = S(p, 1);
53
+ u !== -1 && l(u);
54
+ }, [p, S, l]), N = f(() => {
55
+ const u = S(p, -1);
56
+ u !== -1 && l(u);
57
+ }, [p, S, l]), C = f(() => {
58
+ l(-1);
59
+ }, [l]), x = f(
60
+ (u) => {
61
61
  if (!s) return;
62
- const { key: D } = d, y = D === "ArrowUp" && (o === "vertical" || o === "both"), O = D === "ArrowDown" && (o === "vertical" || o === "both"), T = D === "ArrowLeft" && (o === "horizontal" || o === "both"), E = D === "ArrowRight" && (o === "horizontal" || o === "both");
63
- if (y || T) {
64
- d.preventDefault(), p === -1 ? i() : N();
62
+ const { key: w } = u, v = 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 (v || k) {
64
+ u.preventDefault(), p === -1 ? i() : N();
65
65
  return;
66
66
  }
67
67
  if (O || E) {
68
- d.preventDefault(), p === -1 ? x() : h();
68
+ u.preventDefault(), p === -1 ? T() : h();
69
69
  return;
70
70
  }
71
- if (D === "Home") {
72
- d.preventDefault(), x();
71
+ if (w === "Home") {
72
+ u.preventDefault(), T();
73
73
  return;
74
74
  }
75
- if (D === "End") {
76
- d.preventDefault(), i();
75
+ if (w === "End") {
76
+ u.preventDefault(), i();
77
77
  return;
78
78
  }
79
- if ((D === "Enter" || D === " ") && p >= 0 && p < t.length) {
80
- d.preventDefault();
81
- const B = t[p];
82
- c?.(B, p) || u?.(B, p);
79
+ if ((w === "Enter" || w === " ") && p >= 0 && p < t.length) {
80
+ u.preventDefault();
81
+ const G = t[p];
82
+ d?.(G, p) || m?.(G, p);
83
83
  return;
84
84
  }
85
- if (D === "Escape") {
85
+ if (w === "Escape") {
86
86
  g?.();
87
87
  return;
88
88
  }
@@ -92,63 +92,63 @@ function ut(e) {
92
92
  o,
93
93
  p,
94
94
  t,
95
- x,
95
+ T,
96
96
  i,
97
97
  h,
98
98
  N,
99
- c,
100
- u,
99
+ d,
100
+ m,
101
101
  g
102
102
  ]
103
103
  );
104
104
  return {
105
105
  focusedIndex: p,
106
- setFocusedIndex: m,
107
- handleKeyDown: k,
108
- focusFirst: x,
106
+ setFocusedIndex: l,
107
+ handleKeyDown: x,
108
+ focusFirst: T,
109
109
  focusLast: i,
110
110
  focusNext: h,
111
111
  focusPrevious: N,
112
112
  resetFocus: C
113
113
  };
114
114
  }
115
- const H = (e) => {
116
- }, Se = {
115
+ const K = (e) => {
116
+ }, Ce = {
117
117
  id: "entity-filter-1",
118
118
  label: "Customer: Acme Corp",
119
119
  field: "customer",
120
120
  value: "acme-corp-123",
121
- onRemove: H
122
- }, xe = {
121
+ onRemove: K
122
+ }, ye = {
123
123
  id: "status-filter-1",
124
124
  label: "Status: Open",
125
125
  field: "status",
126
126
  value: "open",
127
- onRemove: H
128
- }, Te = {
127
+ onRemove: K
128
+ }, De = {
129
129
  id: "date-filter-1",
130
130
  label: "Date: Mar 1 - Mar 15",
131
131
  field: "dateRange",
132
132
  value: "2026-03-01..2026-03-15",
133
- onRemove: H
134
- }, ke = {
133
+ onRemove: K
134
+ }, we = {
135
135
  id: "mfg-filter-1",
136
136
  label: "Manufacturer: Widget Co",
137
137
  field: "manufacturer",
138
138
  value: "widget-co-456",
139
- onRemove: H
140
- }, mt = [
141
- Se,
142
- xe,
143
- Te,
144
- ke
145
- ], gt = {
139
+ onRemove: K
140
+ }, lt = [
141
+ Ce,
142
+ ye,
143
+ De,
144
+ we
145
+ ], dt = {
146
146
  id: "metric-toggle",
147
147
  tabs: [
148
148
  { id: "$", label: "$", mono: !0 },
149
149
  { id: "#", label: "#", mono: !0 }
150
150
  ]
151
- }, pt = {
151
+ }, ct = {
152
152
  id: "entity-type",
153
153
  tabs: [
154
154
  { id: "orders", label: "Orders" },
@@ -156,7 +156,7 @@ const H = (e) => {
156
156
  { id: "customers", label: "Customers" },
157
157
  { id: "manufacturers", label: "Manufacturers" }
158
158
  ]
159
- }, bt = {
159
+ }, ut = {
160
160
  id: "time-frame",
161
161
  tabs: [
162
162
  { id: "MTD", label: "MTD" },
@@ -164,30 +164,30 @@ const H = (e) => {
164
164
  { id: "YTD", label: "YTD" },
165
165
  { id: "LYTD", label: "LYTD" }
166
166
  ]
167
- }, ht = [
167
+ }, mt = [
168
168
  { variant: "block", width: "100%", height: 16 },
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
- ], ft = [
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
- ], vt = [
176
+ ], pt = [
177
177
  { variant: "circle", size: 24 },
178
178
  { variant: "circle", size: 40 },
179
179
  { variant: "circle", size: 64 }
180
- ], Ct = [
180
+ ], bt = [
181
181
  { bars: 10, maxHeight: 120 },
182
182
  { bars: 5, maxHeight: 80 }
183
- ], yt = [
183
+ ], ft = [
184
184
  { rows: 5, columns: 3, hasCheckbox: !1, rowHeight: 44 },
185
185
  { rows: 8, columns: 5, hasCheckbox: !0, rowHeight: 44 }
186
- ], Dt = [
186
+ ], ht = [
187
187
  { variant: "value", colSpan: 1 },
188
188
  { variant: "trend", colSpan: 2 },
189
189
  { variant: "target", colSpan: 1 }
190
- ], ee = {
190
+ ], J = {
191
191
  position: "fixed",
192
192
  zIndex: 9999,
193
193
  background: "rgba(255,255,255,0.92)",
@@ -199,7 +199,7 @@ const H = (e) => {
199
199
  minWidth: 148,
200
200
  paddingTop: 4,
201
201
  paddingBottom: 4
202
- }, W = (e) => ({
202
+ }, Y = (e) => ({
203
203
  padding: "6px 12px",
204
204
  fontSize: 12,
205
205
  lineHeight: 1.4,
@@ -213,16 +213,16 @@ const H = (e) => {
213
213
  width: "100%",
214
214
  textAlign: "left",
215
215
  border: "none"
216
- }), Ie = (e) => ({
217
- ...W(e),
216
+ }), Ne = (e) => ({
217
+ ...Y(e),
218
218
  color: e ? "#4338ca" : "#4f46e5",
219
219
  fontWeight: 600
220
- }), _e = {
220
+ }), Se = {
221
221
  height: 1,
222
222
  background: "rgba(0,0,0,0.06)",
223
223
  margin: "3px 10px"
224
224
  };
225
- function Re({
225
+ function Te({
226
226
  open: e,
227
227
  anchorEl: t,
228
228
  statusId: r,
@@ -231,88 +231,88 @@ function Re({
231
231
  overflowActions: o,
232
232
  onClose: s
233
233
  }) {
234
- const [c, u] = M(null), g = F(null), w = b(() => {
235
- if (!t) return { ...ee, top: 0, left: 0 };
236
- const m = t.getBoundingClientRect();
234
+ const [d, m] = M(null), g = F(null), y = f(() => {
235
+ if (!t) return { ...J, top: 0, left: 0 };
236
+ const l = t.getBoundingClientRect();
237
237
  return {
238
- ...ee,
239
- top: m.bottom + 4,
240
- left: m.left
238
+ ...J,
239
+ top: l.bottom + 4,
240
+ left: l.left
241
241
  };
242
242
  }, [t]);
243
- if (G(() => {
243
+ if (B(() => {
244
244
  if (!e) return;
245
- const m = (f) => {
246
- f.key === "Escape" && s();
245
+ const l = (b) => {
246
+ b.key === "Escape" && s();
247
247
  };
248
- return document.addEventListener("keydown", m), () => document.removeEventListener("keydown", m);
249
- }, [e, s]), G(() => {
248
+ return document.addEventListener("keydown", l), () => document.removeEventListener("keydown", l);
249
+ }, [e, s]), B(() => {
250
250
  if (!e) return;
251
- const m = (f) => {
252
- g.current && !g.current.contains(f.target) && s();
251
+ const l = (b) => {
252
+ g.current && !g.current.contains(b.target) && s();
253
253
  };
254
- return document.addEventListener("pointerdown", m, !0), () => document.removeEventListener("pointerdown", m, !0);
254
+ return document.addEventListener("pointerdown", l, !0), () => document.removeEventListener("pointerdown", l, !0);
255
255
  }, [e, s]), !e) return null;
256
- const v = o && o.length > 0, p = /* @__PURE__ */ _(
256
+ const D = o && o.length > 0, p = /* @__PURE__ */ R(
257
257
  "div",
258
258
  {
259
259
  ref: g,
260
260
  "data-status-chip-menu": r,
261
261
  role: "menu",
262
262
  "aria-label": "Status actions",
263
- style: w(),
263
+ style: y(),
264
264
  children: [
265
- /* @__PURE__ */ l(
265
+ /* @__PURE__ */ c(
266
266
  "button",
267
267
  {
268
268
  role: "menuitem",
269
- style: Ie(c === "__primary"),
270
- onMouseEnter: () => u("__primary"),
271
- onMouseLeave: () => u(null),
269
+ style: Ne(d === "__primary"),
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__ */ l(
278
+ /* @__PURE__ */ c(
279
279
  "button",
280
280
  {
281
281
  role: "menuitem",
282
- style: W(c === "__graph"),
283
- onMouseEnter: () => u("__graph"),
284
- onMouseLeave: () => u(null),
282
+ style: Y(d === "__graph"),
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
- v && /* @__PURE__ */ l("div", { style: _e }),
292
- v && o?.map((m) => /* @__PURE__ */ l(
291
+ D && /* @__PURE__ */ c("div", { style: Se }),
292
+ D && o?.map((l) => /* @__PURE__ */ c(
293
293
  "button",
294
294
  {
295
295
  role: "menuitem",
296
- style: W(c === m.id),
297
- onMouseEnter: () => u(m.id),
298
- onMouseLeave: () => u(null),
296
+ style: Y(d === l.id),
297
+ onMouseEnter: () => m(l.id),
298
+ onMouseLeave: () => m(null),
299
299
  onClick: () => {
300
- m.onSelect(r), s();
300
+ l.onSelect(r), s();
301
301
  },
302
- children: m.label
302
+ children: l.label
303
303
  },
304
- m.id
304
+ l.id
305
305
  ))
306
306
  ]
307
307
  }
308
308
  );
309
- return Ne(p, document.body);
309
+ return ve(p, document.body);
310
310
  }
311
- Re.displayName = "StatusSlotChipMenu";
312
- const Me = ve(
311
+ Te.displayName = "StatusSlotChipMenu";
312
+ const xe = ge(
313
313
  function({ state: t, onPointerDown: r, onPointerUp: a, edge: n = "right", ariaLabel: o = "Resize card" }, s) {
314
- const c = t === "handle-visible" || t === "dragging";
315
- return /* @__PURE__ */ l(
314
+ const d = t === "handle-visible" || t === "dragging";
315
+ return /* @__PURE__ */ c(
316
316
  "button",
317
317
  {
318
318
  ref: s,
@@ -323,23 +323,23 @@ const Me = ve(
323
323
  className: [
324
324
  "gloss-edge-handle",
325
325
  `gloss-edge-handle--${n}`,
326
- c ? "gloss-edge-handle--visible" : ""
326
+ d ? "gloss-edge-handle--visible" : ""
327
327
  ].filter(Boolean).join(" "),
328
328
  onPointerDown: r,
329
329
  onPointerUp: a,
330
- tabIndex: c ? 0 : -1
330
+ tabIndex: d ? 0 : -1
331
331
  }
332
332
  );
333
333
  }
334
334
  );
335
- Me.displayName = "EdgeHoverHandle";
336
- function Pe({
335
+ xe.displayName = "EdgeHoverHandle";
336
+ function ke({
337
337
  visible: e,
338
338
  targetColSpan: t,
339
339
  enterMs: r = 180,
340
340
  exitMs: a = 120
341
341
  }) {
342
- return /* @__PURE__ */ l(
342
+ return /* @__PURE__ */ c(
343
343
  "div",
344
344
  {
345
345
  "aria-hidden": "true",
@@ -353,8 +353,8 @@ function Pe({
353
353
  }
354
354
  );
355
355
  }
356
- Pe.displayName = "GhostPreview";
357
- function wt({
356
+ ke.displayName = "GhostPreview";
357
+ function vt({
358
358
  currentColSpan: e,
359
359
  stackable: t,
360
360
  onResize: r,
@@ -363,47 +363,51 @@ function wt({
363
363
  enterMs: o = 180,
364
364
  exitMs: s = 120
365
365
  }) {
366
- const [c, u] = M("idle"), g = F(null), w = F(null), v = b(() => {
366
+ const [d, m] = M("idle"), g = F(null), y = F(null), D = f(() => {
367
367
  g.current && (clearTimeout(g.current), g.current = null);
368
- }, []), p = b(() => {
369
- u((i) => i !== "idle" ? i : (g.current = setTimeout(() => u("handle-visible"), n), "dwelling"));
370
- }, [n]), m = b(() => {
371
- v(), u((i) => i === "dwelling" || i === "handle-visible" ? "idle" : i);
372
- }, [v]), f = b(
368
+ }, []), p = f(() => {
369
+ m((i) => i !== "idle" ? i : (g.current = setTimeout(() => m("handle-visible"), n), "dwelling"));
370
+ }, [n]), l = f(() => {
371
+ D(), m((i) => i === "dwelling" || i === "handle-visible" ? "idle" : i);
372
+ }, [D]), b = f(
373
373
  (i) => {
374
- u((h) => h !== "handle-visible" ? h : (w.current = i.clientX, "dragging"));
374
+ m((h) => h !== "handle-visible" ? h : (y.current = i.clientX, "dragging"));
375
375
  },
376
376
  []
377
- ), S = b(
377
+ ), S = f(
378
378
  (i) => {
379
- u((h) => {
379
+ m((h) => {
380
380
  if (h !== "dragging") return h;
381
- const N = i.clientX - (w.current ?? i.clientX), k = Math.round(N / 180), d = Math.min(3, Math.max(1, e + k));
382
- if (d === e)
381
+ const N = i.clientX - (y.current ?? i.clientX), x = Math.round(N / 180), u = Math.min(3, Math.max(1, e + x));
382
+ if (u === e)
383
383
  return a?.(), "cancelled";
384
- const D = d > e ? "grow" : "shrink";
385
- return r({ direction: D, targetColSpan: d, mode: t ? "slot-fill" : "sparkline-fidelity" }), "committed";
384
+ const w = u > e ? "grow" : "shrink";
385
+ return r({ direction: w, targetColSpan: u, mode: t ? "slot-fill" : "sparkline-fidelity" }), "committed";
386
386
  });
387
387
  },
388
388
  [e, t, r, a]
389
- ), x = b(() => {
390
- v(), u((i) => i === "dragging" || i === "handle-visible" ? (a?.(), "cancelled") : i);
391
- }, [v, a]);
392
- return G(() => {
393
- if (c !== "dragging" && c !== "handle-visible") return;
389
+ ), T = f(() => {
390
+ D(), m((i) => i === "dragging" || i === "handle-visible" ? (a?.(), "cancelled") : i);
391
+ }, [D, a]);
392
+ return B(() => {
393
+ if (d !== "dragging" && d !== "handle-visible") return;
394
394
  const i = (h) => {
395
- h.key === "Escape" && x();
395
+ h.key === "Escape" && T();
396
396
  };
397
397
  return window.addEventListener("keydown", i), () => window.removeEventListener("keydown", i);
398
- }, [c, x]), G(() => () => v(), [v]), {
399
- state: c,
398
+ }, [d, T]), B(() => () => D(), [D]), B(() => {
399
+ if (d !== "committed" && d !== "cancelled") return;
400
+ const i = setTimeout(() => m("idle"), s);
401
+ return () => clearTimeout(i);
402
+ }, [d, s]), {
403
+ state: d,
400
404
  enterEdgeZone: p,
401
- leaveEdgeZone: m,
402
- handleProps: { onPointerDown: f, onPointerUp: S },
403
- ghostProps: { visible: c === "dragging", enterMs: o, exitMs: s }
405
+ leaveEdgeZone: l,
406
+ handleProps: { onPointerDown: b, onPointerUp: S },
407
+ ghostProps: { visible: d === "dragging", enterMs: o, exitMs: s }
404
408
  };
405
409
  }
406
- const Nt = {
410
+ const Ct = {
407
411
  /** Delay before flip animation begins (ms). */
408
412
  flipStart: 50,
409
413
  /** Duration of panel extrude animation (ms). */
@@ -412,7 +416,7 @@ const Nt = {
412
416
  settle: 100,
413
417
  /** Total choreography duration (ms). */
414
418
  total: 350
415
- }, St = [
419
+ }, yt = [
416
420
  // 1. Standard: Total Revenue
417
421
  {
418
422
  variant: "standard",
@@ -516,24 +520,24 @@ const Nt = {
516
520
  { value: 9, color: "#6b7280", label: "Other" }
517
521
  ]
518
522
  }
519
- ], Fe = {
523
+ ], Ie = {
520
524
  variant: "standard",
521
525
  label: "Total Revenue",
522
526
  isLoading: !0
523
- }, Oe = {
527
+ }, _e = {
524
528
  variant: "standard",
525
529
  label: "Total Revenue",
526
530
  value: 125430,
527
531
  valueFormat: { prefix: "$", abbreviated: !0 },
528
532
  isError: !0
529
- }, Ae = {
533
+ }, Re = {
530
534
  variant: "standard",
531
535
  label: "Total Revenue",
532
536
  value: null,
533
537
  valueFormat: { prefix: "$", abbreviated: !0 },
534
538
  isEmpty: !0,
535
539
  subtitle: "No data"
536
- }, Ee = {
540
+ }, Me = {
537
541
  variant: "standard",
538
542
  label: "Total Revenue",
539
543
  value: 125430,
@@ -541,7 +545,7 @@ const Nt = {
541
545
  trend: { value: 12.5, direction: "up" },
542
546
  subtitle: "MTD",
543
547
  isStale: !0
544
- }, Le = {
548
+ }, Pe = {
545
549
  variant: "sparkline",
546
550
  label: "Daily Orders",
547
551
  value: 847,
@@ -550,7 +554,7 @@ const Nt = {
550
554
  sparklineData: [42, 38, 51, 47, 55, 60, 58, 63, 57, 62, 68, 71, 65, 59],
551
555
  accentColor: "#6366f1",
552
556
  isStale: !0
553
- }, Be = {
557
+ }, Fe = {
554
558
  variant: "donut",
555
559
  label: "Order Fill Rate",
556
560
  value: 78,
@@ -561,14 +565,14 @@ const Nt = {
561
565
  donutMax: 100,
562
566
  accentColor: "#10b981",
563
567
  isStale: !0
564
- }, xt = [
565
- Fe,
566
- Oe,
567
- Ae,
568
- Ee,
569
- Le,
570
- Be
571
- ], Tt = {
568
+ }, Dt = [
569
+ Ie,
570
+ _e,
571
+ Re,
572
+ Me,
573
+ Pe,
574
+ Fe
575
+ ], wt = {
572
576
  variant: "sparkline",
573
577
  label: "Daily Orders",
574
578
  value: 847,
@@ -591,7 +595,7 @@ const Nt = {
591
595
  59
592
596
  ],
593
597
  accentColor: "#6366f1"
594
- }, kt = {
598
+ }, Nt = {
595
599
  variant: "sparkline",
596
600
  label: "New Customers",
597
601
  value: 23,
@@ -630,21 +634,21 @@ const Nt = {
630
634
  19
631
635
  ],
632
636
  accentColor: "#10b981"
633
- }, It = {
637
+ }, St = {
634
638
  variant: "standard",
635
639
  label: "Total Revenue",
636
640
  value: 125430,
637
641
  valueFormat: { prefix: "$", abbreviated: !0 },
638
642
  trend: { value: 12.5, direction: "up" },
639
643
  subtitle: "MTD"
640
- }, _t = {
644
+ }, Tt = {
641
645
  variant: "standard",
642
646
  label: "Returns",
643
647
  value: 3280,
644
648
  valueFormat: { prefix: "$", abbreviated: !0 },
645
649
  trend: { value: -8.3, direction: "down" },
646
650
  subtitle: "MTD"
647
- }, Rt = {
651
+ }, xt = {
648
652
  variant: "standard",
649
653
  label: "Avg Order Value",
650
654
  value: 487,
@@ -660,20 +664,25 @@ function ne({
660
664
  activePageId: n,
661
665
  onPageChange: o,
662
666
  onCreatePage: s,
663
- onManagePages: c
667
+ onManagePages: d
664
668
  }) {
665
- const u = b(
666
- (v) => {
667
- o(v), t();
669
+ const m = f(
670
+ (p) => {
671
+ o(p), t();
668
672
  },
669
673
  [o, t]
670
- ), g = b(() => {
674
+ ), g = f(
675
+ (p, l) => {
676
+ (l.key === "Enter" || l.key === " ") && (l.preventDefault(), m(p));
677
+ },
678
+ [m]
679
+ ), y = f(() => {
671
680
  s(), t();
672
- }, [s, t]), w = b(() => {
673
- c(), t();
674
- }, [c, t]);
675
- return /* @__PURE__ */ _(
676
- we,
681
+ }, [s, t]), D = f(() => {
682
+ d(), t();
683
+ }, [d, t]);
684
+ return /* @__PURE__ */ R(
685
+ he,
677
686
  {
678
687
  definition: {
679
688
  placement: "bottom-end",
@@ -686,53 +695,55 @@ function ne({
686
695
  anchorRef: r,
687
696
  className: "gloss-page-dropdown",
688
697
  children: [
689
- /* @__PURE__ */ l("ul", { role: "menu", className: "gloss-page-dropdown__list", children: a.map((v) => {
690
- const p = v.id === n;
691
- return /* @__PURE__ */ _(
698
+ /* @__PURE__ */ c("ul", { role: "menu", className: "gloss-page-dropdown__list", children: a.map((p) => {
699
+ const l = p.id === n;
700
+ return /* @__PURE__ */ R(
692
701
  "li",
693
702
  {
694
703
  role: "menuitemradio",
695
- "aria-checked": p,
696
- "aria-current": p ? "page" : void 0,
697
- className: `gloss-page-dropdown__item${p ? " gloss-page-dropdown__item--active" : ""}`,
704
+ "aria-checked": l,
705
+ "aria-current": l ? "page" : void 0,
706
+ tabIndex: 0,
707
+ className: `gloss-page-dropdown__item${l ? " gloss-page-dropdown__item--active" : ""}`,
708
+ onClick: () => m(p.id),
709
+ onKeyDown: (b) => g(p.id, b),
698
710
  children: [
699
- /* @__PURE__ */ l(
711
+ /* @__PURE__ */ c(
700
712
  "span",
701
713
  {
702
- className: `gloss-page-dropdown__dot${p ? " gloss-page-dropdown__dot--active" : ""}`
714
+ className: `gloss-page-dropdown__dot${l ? " gloss-page-dropdown__dot--active" : ""}`
703
715
  }
704
716
  ),
705
- /* @__PURE__ */ l(
706
- "button",
717
+ /* @__PURE__ */ c(
718
+ "span",
707
719
  {
708
- className: `gloss-page-dropdown__name${v.named ? "" : " gloss-page-dropdown__name--unnamed"}`,
709
- onClick: () => u(v.id),
710
- children: v.name
720
+ className: `gloss-page-dropdown__name${p.named ? "" : " gloss-page-dropdown__name--unnamed"}`,
721
+ children: p.name
711
722
  }
712
723
  ),
713
- /* @__PURE__ */ l("span", { className: "gloss-page-dropdown__count", children: v.cardCount })
724
+ /* @__PURE__ */ c("span", { className: "gloss-page-dropdown__count", children: p.cardCount })
714
725
  ]
715
726
  },
716
- v.id
727
+ p.id
717
728
  );
718
729
  }) }),
719
- /* @__PURE__ */ l("hr", { className: "gloss-page-dropdown__separator" }),
720
- /* @__PURE__ */ l(
730
+ /* @__PURE__ */ c("hr", { className: "gloss-page-dropdown__separator" }),
731
+ /* @__PURE__ */ c(
721
732
  "button",
722
733
  {
723
734
  role: "menuitem",
724
735
  className: "gloss-page-dropdown__action",
725
- onClick: g,
736
+ onClick: y,
726
737
  children: "+ New page"
727
738
  }
728
739
  ),
729
- /* @__PURE__ */ l("hr", { className: "gloss-page-dropdown__separator" }),
730
- /* @__PURE__ */ l(
740
+ /* @__PURE__ */ c("hr", { className: "gloss-page-dropdown__separator" }),
741
+ /* @__PURE__ */ c(
731
742
  "button",
732
743
  {
733
744
  role: "menuitem",
734
745
  className: "gloss-page-dropdown__action gloss-page-dropdown__action--muted",
735
- onClick: w,
746
+ onClick: D,
736
747
  children: "Manage pages"
737
748
  }
738
749
  )
@@ -741,43 +752,43 @@ function ne({
741
752
  );
742
753
  }
743
754
  ne.displayName = "PageDropdown";
744
- const Ge = function({
755
+ const Oe = function({
745
756
  currentIndex: t,
746
757
  total: r,
747
758
  pages: a,
748
759
  onPageChange: n,
749
760
  onCreatePage: o,
750
761
  onManagePages: s,
751
- maskRadius: c = "var(--gloss-radius-md)"
762
+ maskRadius: d = "var(--gloss-radius-md)"
752
763
  }) {
753
- const u = F(null), [g, w] = M(!1), v = b(() => {
754
- w((f) => !f);
755
- }, []), p = b(() => {
756
- w(!1);
757
- }, []), m = a[t]?.id ?? "";
758
- return /* @__PURE__ */ _(
764
+ const m = F(null), [g, y] = M(!1), D = f(() => {
765
+ y((b) => !b);
766
+ }, []), p = f(() => {
767
+ y(!1);
768
+ }, []), l = a[t]?.id ?? "";
769
+ return /* @__PURE__ */ R(
759
770
  "div",
760
771
  {
761
772
  className: "gloss-page-chip",
762
- ref: u,
773
+ ref: m,
763
774
  style: { position: "absolute", top: 0, right: 0 },
764
775
  "data-page-chip": !0,
765
776
  children: [
766
- /* @__PURE__ */ l(
777
+ /* @__PURE__ */ c(
767
778
  "div",
768
779
  {
769
780
  className: "gloss-page-chip__nuzzle",
770
- style: { "--_nuzzle-r": c }
781
+ style: { "--_nuzzle-r": d }
771
782
  }
772
783
  ),
773
- /* @__PURE__ */ _(
784
+ /* @__PURE__ */ R(
774
785
  "button",
775
786
  {
776
787
  className: "gloss-page-chip__trigger",
777
788
  "aria-haspopup": "menu",
778
789
  "aria-expanded": g,
779
790
  "aria-label": `Page ${t + 1} of ${r}. Click to switch pages.`,
780
- onClick: v,
791
+ onClick: D,
781
792
  children: [
782
793
  t + 1,
783
794
  " / ",
@@ -785,14 +796,14 @@ const Ge = function({
785
796
  ]
786
797
  }
787
798
  ),
788
- /* @__PURE__ */ l(
799
+ /* @__PURE__ */ c(
789
800
  ne,
790
801
  {
791
802
  open: g,
792
803
  onDismiss: p,
793
- anchorRef: u,
804
+ anchorRef: m,
794
805
  pages: a,
795
- activePageId: m,
806
+ activePageId: l,
796
807
  onPageChange: n,
797
808
  onCreatePage: o,
798
809
  onManagePages: s
@@ -802,8 +813,8 @@ const Ge = function({
802
813
  }
803
814
  );
804
815
  };
805
- Ge.displayName = "PageChip";
806
- const Mt = [
816
+ Oe.displayName = "PageChip";
817
+ const kt = [
807
818
  {
808
819
  id: "ORD-1001",
809
820
  orderNumber: "ORD-1001",
@@ -936,7 +947,7 @@ const Mt = [
936
947
  date: "2026-03-01",
937
948
  skuCount: 9
938
949
  }
939
- ], Pt = [
950
+ ], It = [
940
951
  {
941
952
  id: "ITEM-001",
942
953
  sku: "PB-4520",
@@ -1070,7 +1081,7 @@ const Mt = [
1070
1081
  lastDate: "2026-03-01"
1071
1082
  }
1072
1083
  ];
1073
- function Z(e) {
1084
+ function q(e) {
1074
1085
  return "$" + e.toLocaleString("en-US", { minimumFractionDigits: 2, maximumFractionDigits: 2 });
1075
1086
  }
1076
1087
  function oe(e) {
@@ -1079,7 +1090,7 @@ function oe(e) {
1079
1090
  function se(e) {
1080
1091
  return new Date(e).toLocaleDateString("en-US", { month: "short", day: "numeric", year: "numeric" });
1081
1092
  }
1082
- const z = R.createElement("span", { style: { color: "var(--color-text-muted)" } }, "—"), Ft = [
1093
+ const H = I.createElement("span", { style: { color: "var(--color-text-muted)" } }, "—"), _t = [
1083
1094
  {
1084
1095
  field: "id",
1085
1096
  headerName: "Order",
@@ -1109,7 +1120,7 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
1109
1120
  align: "right",
1110
1121
  headerAlign: "right",
1111
1122
  cellClassName: "gloss-tabular-nums",
1112
- renderCell: ({ row: e }) => e.skuCount ? oe(e.skuCount) : z
1123
+ renderCell: ({ row: e }) => e.skuCount ? oe(e.skuCount) : H
1113
1124
  },
1114
1125
  {
1115
1126
  field: "total",
@@ -1119,7 +1130,7 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
1119
1130
  align: "right",
1120
1131
  headerAlign: "right",
1121
1132
  cellClassName: "gloss-tabular-nums",
1122
- renderCell: ({ row: e }) => e.total ? Z(e.total) : z
1133
+ renderCell: ({ row: e }) => e.total ? q(e.total) : H
1123
1134
  },
1124
1135
  {
1125
1136
  field: "date",
@@ -1131,7 +1142,7 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
1131
1142
  cellClassName: "gloss-tabular-nums",
1132
1143
  renderCell: ({ row: e }) => e.date ? se(e.date) : ""
1133
1144
  }
1134
- ], Ot = [
1145
+ ], Rt = [
1135
1146
  {
1136
1147
  field: "sku",
1137
1148
  headerName: "Item ID",
@@ -1163,7 +1174,7 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
1163
1174
  align: "right",
1164
1175
  headerAlign: "right",
1165
1176
  cellClassName: "gloss-tabular-nums",
1166
- renderCell: ({ row: e }) => e.price ? Z(e.price) : z
1177
+ renderCell: ({ row: e }) => e.price ? q(e.price) : H
1167
1178
  },
1168
1179
  {
1169
1180
  field: "quantity",
@@ -1173,7 +1184,7 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
1173
1184
  align: "right",
1174
1185
  headerAlign: "right",
1175
1186
  cellClassName: "gloss-tabular-nums gloss-drillable",
1176
- renderCell: ({ row: e }) => e.quantity ? oe(e.quantity) : z
1187
+ renderCell: ({ row: e }) => e.quantity ? oe(e.quantity) : H
1177
1188
  },
1178
1189
  {
1179
1190
  field: "total",
@@ -1183,7 +1194,7 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
1183
1194
  align: "right",
1184
1195
  headerAlign: "right",
1185
1196
  cellClassName: "gloss-tabular-nums gloss-drillable",
1186
- renderCell: ({ row: e }) => e.total ? Z(e.total) : z
1197
+ renderCell: ({ row: e }) => e.total ? q(e.total) : H
1187
1198
  },
1188
1199
  {
1189
1200
  field: "lastDate",
@@ -1195,21 +1206,21 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
1195
1206
  cellClassName: "gloss-tabular-nums",
1196
1207
  renderCell: ({ row: e }) => e.lastDate ? se(e.lastDate) : ""
1197
1208
  }
1198
- ], ze = [
1209
+ ], Ae = [
1199
1210
  { id: "c-001", label: "ABC Home Goods" },
1200
1211
  { id: "c-002", label: "Riverside Retail" },
1201
1212
  { id: "c-003", label: "Mountain View Store" },
1202
1213
  { id: "c-004", label: "Downtown Decor" },
1203
1214
  { id: "c-005", label: "Pacific Coast Imports" }
1204
- ], He = [
1215
+ ], Ee = [
1205
1216
  { id: "i-001", label: "Classic Linen Throw Pillow" },
1206
1217
  { id: "i-002", label: "Coastal Wave Candle Set" },
1207
1218
  { id: "i-003", label: "Walnut Console Table" },
1208
1219
  { id: "i-004", label: "Hand-Blown Glass Vase" },
1209
1220
  { id: "i-005", label: "Velvet Accent Cushion" }
1210
- ], $ = (e) => {
1211
- }, $e = (e) => {
1212
- }, te = (e, t) => {
1221
+ ], W = (e) => {
1222
+ }, Le = (e) => {
1223
+ }, ee = (e, t) => {
1213
1224
  }, ie = {
1214
1225
  vizState: {
1215
1226
  type: "orders",
@@ -1218,16 +1229,16 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
1218
1229
  byItem: { id: null, name: null },
1219
1230
  timeFrame: "MTD"
1220
1231
  },
1221
- onTypeChange: $,
1222
- onQuantChange: $e,
1223
- onEntityTypeChange: $,
1224
- onEntitySelect: te,
1225
- onItemSelect: te,
1226
- onTimeFrameChange: $,
1232
+ onTypeChange: W,
1233
+ onQuantChange: Le,
1234
+ onEntityTypeChange: W,
1235
+ onEntitySelect: ee,
1236
+ onItemSelect: ee,
1237
+ onTimeFrameChange: W,
1227
1238
  userType: "sales-agency",
1228
- entityFilterOptions: ze,
1229
- itemFilterOptions: He
1230
- }, At = {
1239
+ entityFilterOptions: Ae,
1240
+ itemFilterOptions: Ee
1241
+ }, Mt = {
1231
1242
  ...ie,
1232
1243
  vizState: {
1233
1244
  type: "items",
@@ -1236,7 +1247,7 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
1236
1247
  byItem: { id: "i-003", name: "Walnut Console Table" },
1237
1248
  timeFrame: "YTD"
1238
1249
  }
1239
- }, Et = {
1250
+ }, Pt = {
1240
1251
  ...ie,
1241
1252
  vizState: {
1242
1253
  type: "orders",
@@ -1249,7 +1260,7 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
1249
1260
  entityFilterOptions: [
1250
1261
  { id: "customers", label: "Customers" }
1251
1262
  ]
1252
- }, Ke = [
1263
+ }, Be = [
1253
1264
  {
1254
1265
  id: "recent-orders",
1255
1266
  label: "Recent Orders",
@@ -1295,7 +1306,7 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
1295
1306
  routeKey: "customer.profile",
1296
1307
  subtitle: "Opens in RepTime"
1297
1308
  }
1298
- ], We = [
1309
+ ], Ge = [
1299
1310
  {
1300
1311
  id: "order-items",
1301
1312
  label: "Items in Order",
@@ -1324,7 +1335,7 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
1324
1335
  cellKinds: ["orderId"],
1325
1336
  graphType: "timeline"
1326
1337
  }
1327
- ], Ze = [
1338
+ ], $e = [
1328
1339
  {
1329
1340
  id: "graph-metric",
1330
1341
  label: "Graph This Metric",
@@ -1352,14 +1363,14 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
1352
1363
  cellKinds: ["numeric"],
1353
1364
  tabType: "orders"
1354
1365
  }
1355
- ], Lt = {
1356
- entityName: Ke,
1357
- orderId: We,
1358
- numeric: Ze
1359
- }, Bt = [
1366
+ ], Ft = {
1367
+ entityName: Be,
1368
+ orderId: Ge,
1369
+ numeric: $e
1370
+ }, Ot = [
1360
1371
  new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), (/* @__PURE__ */ new Date()).getDate() - 29),
1361
1372
  /* @__PURE__ */ new Date()
1362
- ], Gt = {
1373
+ ], At = {
1363
1374
  rangeA: [
1364
1375
  new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), 1),
1365
1376
  /* @__PURE__ */ new Date()
@@ -1372,7 +1383,7 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
1372
1383
  new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth() - 2, 1),
1373
1384
  new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth() - 1, 0)
1374
1385
  ]
1375
- }, zt = {
1386
+ }, Et = {
1376
1387
  version: 4,
1377
1388
  lastPreset: "mtd",
1378
1389
  pinnedPreset: "mtd",
@@ -1380,7 +1391,7 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
1380
1391
  rangeCount: 1,
1381
1392
  lastPresetB: null,
1382
1393
  lastPresetC: null
1383
- }, Ht = [
1394
+ }, Lt = [
1384
1395
  {
1385
1396
  id: "atlanta-jan",
1386
1397
  label: "Atlanta Market",
@@ -1402,7 +1413,7 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
1402
1413
  endDate: new Date(2026, 3, 22),
1403
1414
  location: "Chicago, IL"
1404
1415
  }
1405
- ], $t = [
1416
+ ], Bt = [
1406
1417
  {
1407
1418
  id: "custom-regional-1",
1408
1419
  label: "Southeast Regional Expo",
@@ -1419,7 +1430,7 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
1419
1430
  location: "Portland, OR",
1420
1431
  isCustom: !0
1421
1432
  }
1422
- ], Kt = [
1433
+ ], Gt = [
1423
1434
  {
1424
1435
  id: "atlanta-jan",
1425
1436
  label: "Atlanta Market",
@@ -1436,12 +1447,12 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
1436
1447
  location: "New York, NY",
1437
1448
  active: !0
1438
1449
  }
1439
- ], Wt = [
1450
+ ], $t = [
1440
1451
  { id: "7d", label: "7D" },
1441
1452
  { id: "30d", label: "30D" },
1442
1453
  { id: "60d", label: "60D" },
1443
1454
  { id: "90d", label: "90D" }
1444
- ], Zt = [
1455
+ ], Ht = [
1445
1456
  { id: "mtd", label: "MTD" },
1446
1457
  { id: "qtd", label: "QTD" },
1447
1458
  { id: "ytd", label: "YTD" },
@@ -1451,7 +1462,7 @@ function P(e, t) {
1451
1462
  return {
1452
1463
  id: e,
1453
1464
  colSpan: 1,
1454
- content: R.createElement("div", {
1465
+ content: I.createElement("div", {
1455
1466
  style: {
1456
1467
  width: "100%",
1457
1468
  height: "100%",
@@ -1467,38 +1478,38 @@ function P(e, t) {
1467
1478
  }, t)
1468
1479
  };
1469
1480
  }
1470
- function ae(e, t) {
1481
+ function te(e, t) {
1471
1482
  return {
1472
1483
  ...P(e, t),
1473
1484
  colSpan: 2
1474
1485
  };
1475
1486
  }
1476
- const Yt = [
1487
+ const zt = [
1477
1488
  P("total-revenue", "Total Revenue"),
1478
1489
  P("total-orders", "Total Orders"),
1479
- ae("revenue-trend", "Revenue Trend (2x)"),
1490
+ te("revenue-trend", "Revenue Trend (2x)"),
1480
1491
  P("avg-order", "Avg Order Value"),
1481
1492
  P("new-customers", "New Customers"),
1482
1493
  P("top-salesperson", "Top Salesperson"),
1483
- ae("order-trend", "Order Trend (2x)"),
1494
+ te("order-trend", "Order Trend (2x)"),
1484
1495
  P("repeat-rate", "Repeat Rate"),
1485
1496
  P("open-orders", "Open Orders"),
1486
1497
  P("shipped-orders", "Shipped Orders")
1487
- ], qt = {
1498
+ ], Kt = {
1488
1499
  columns: 6,
1489
1500
  rowHeight: 120,
1490
1501
  gap: 15,
1491
1502
  maxRows: 3,
1492
1503
  currentPage: 0,
1493
1504
  totalPages: 1
1494
- }, Vt = {
1505
+ }, Wt = {
1495
1506
  columns: 9,
1496
1507
  rowHeight: 120,
1497
1508
  gap: 15,
1498
1509
  maxRows: 3,
1499
1510
  currentPage: 0,
1500
1511
  totalPages: 2
1501
- }, Ut = {
1512
+ }, Zt = {
1502
1513
  columns: 12,
1503
1514
  rowHeight: 120,
1504
1515
  gap: 15,
@@ -1506,15 +1517,15 @@ const Yt = [
1506
1517
  currentPage: 0,
1507
1518
  totalPages: 3
1508
1519
  };
1509
- function K(e) {
1510
- return R.createElement("span", { style: { fontSize: 14 } }, e);
1520
+ function Z(e) {
1521
+ return I.createElement("span", { style: { fontSize: 14 } }, e);
1511
1522
  }
1512
- const jt = [
1523
+ const Yt = [
1513
1524
  {
1514
1525
  id: "all-orders",
1515
1526
  type: "orders",
1516
1527
  name: "All Orders",
1517
- icon: K("📋"),
1528
+ icon: Z("📋"),
1518
1529
  closable: !1,
1519
1530
  autoCreated: !0
1520
1531
  },
@@ -1522,17 +1533,17 @@ const jt = [
1522
1533
  id: "open-orders",
1523
1534
  type: "orders",
1524
1535
  name: "Open Orders",
1525
- icon: K("📦"),
1536
+ icon: Z("📦"),
1526
1537
  closable: !0
1527
1538
  },
1528
1539
  {
1529
1540
  id: "shipped-orders",
1530
1541
  type: "orders",
1531
1542
  name: "Shipped Orders",
1532
- icon: K("🚚"),
1543
+ icon: Z("🚚"),
1533
1544
  closable: !0
1534
1545
  }
1535
- ], Qt = [
1546
+ ], qt = [
1536
1547
  {
1537
1548
  id: "orders-main",
1538
1549
  type: "orders",
@@ -1558,7 +1569,7 @@ const jt = [
1558
1569
  name: "Customers",
1559
1570
  closable: !0
1560
1571
  }
1561
- ], Xt = [
1572
+ ], Vt = [
1562
1573
  {
1563
1574
  id: "only-tab",
1564
1575
  type: "orders",
@@ -1566,7 +1577,7 @@ const jt = [
1566
1577
  closable: !1,
1567
1578
  autoCreated: !0
1568
1579
  }
1569
- ], Jt = [
1580
+ ], Ut = [
1570
1581
  { id: "tab-1", type: "orders", name: "All Orders", closable: !1, autoCreated: !0 },
1571
1582
  { id: "tab-2", type: "orders", name: "Open Orders", closable: !0 },
1572
1583
  { id: "tab-3", type: "orders", name: "Shipped Orders", closable: !0 },
@@ -1578,7 +1589,7 @@ const jt = [
1578
1589
  { id: "tab-9", type: "order-items", name: "Order #12345", closable: !0 },
1579
1590
  { id: "tab-10", type: "orders", name: "Recent 30D", closable: !0 }
1580
1591
  ];
1581
- function Y(e) {
1592
+ function V(e) {
1582
1593
  switch (e) {
1583
1594
  case "wide":
1584
1595
  return { cols: 2, rows: 1 };
@@ -1589,24 +1600,24 @@ function Y(e) {
1589
1600
  return { cols: 1, rows: 1 };
1590
1601
  }
1591
1602
  }
1592
- function Ye(e) {
1603
+ function He(e) {
1593
1604
  let t = 0;
1594
1605
  for (const a of e) {
1595
- const n = Y(a.size), o = a.gridPosition.col + n.cols - 1;
1606
+ const n = V(a.size), o = a.gridPosition.col + n.cols - 1;
1596
1607
  o > t && (t = o);
1597
1608
  }
1598
1609
  return `repeat(${t > 0 ? t : Math.max(e.length, 1)}, minmax(0, 1fr))`;
1599
1610
  }
1600
- const qe = function(t) {
1611
+ const ze = function(t) {
1601
1612
  if (t.renderMode === "discrete")
1602
- return /* @__PURE__ */ l(
1613
+ return /* @__PURE__ */ c(
1603
1614
  "div",
1604
1615
  {
1605
1616
  className: "gloss-metric-group gloss-metric-group--discrete",
1606
1617
  style: { display: "contents" },
1607
1618
  children: t.cards.map((n) => {
1608
- const o = Y(n.size);
1609
- return /* @__PURE__ */ l(
1619
+ const o = V(n.size);
1620
+ return /* @__PURE__ */ c(
1610
1621
  "div",
1611
1622
  {
1612
1623
  className: "gloss-metric-group__slot",
@@ -1622,7 +1633,7 @@ const qe = function(t) {
1622
1633
  }
1623
1634
  );
1624
1635
  const { cards: r, composite: a } = t;
1625
- return /* @__PURE__ */ _(
1636
+ return /* @__PURE__ */ R(
1626
1637
  "div",
1627
1638
  {
1628
1639
  className: "gloss-metric-group gloss-metric-group--composite",
@@ -1641,16 +1652,16 @@ const qe = function(t) {
1641
1652
  "aria-label": a?.label,
1642
1653
  tabIndex: void 0,
1643
1654
  children: [
1644
- a?.accentColor && /* @__PURE__ */ l(
1655
+ a?.accentColor && /* @__PURE__ */ c(
1645
1656
  "div",
1646
1657
  {
1647
1658
  className: "gloss-metric-group__accent",
1648
1659
  style: { background: a.accentColor }
1649
1660
  }
1650
1661
  ),
1651
- a?.label && /* @__PURE__ */ _("div", { className: "gloss-metric-group__label", children: [
1652
- /* @__PURE__ */ l("span", { children: a.label }),
1653
- a?.trend && /* @__PURE__ */ l(
1662
+ a?.label && /* @__PURE__ */ R("div", { className: "gloss-metric-group__label", children: [
1663
+ /* @__PURE__ */ c("span", { children: a.label }),
1664
+ a?.trend && /* @__PURE__ */ c(
1654
1665
  "span",
1655
1666
  {
1656
1667
  className: "gloss-metric-group__trend",
@@ -1659,18 +1670,18 @@ const qe = function(t) {
1659
1670
  }
1660
1671
  )
1661
1672
  ] }),
1662
- /* @__PURE__ */ l(
1673
+ /* @__PURE__ */ c(
1663
1674
  "div",
1664
1675
  {
1665
1676
  className: "gloss-metric-group__slots",
1666
1677
  style: {
1667
1678
  display: "grid",
1668
1679
  gap: "var(--gloss-spacing-2, 8px)",
1669
- gridTemplateColumns: Ye(r)
1680
+ gridTemplateColumns: He(r)
1670
1681
  },
1671
1682
  children: r.map((n) => {
1672
- const o = Y(n.size);
1673
- return /* @__PURE__ */ l(
1683
+ const o = V(n.size);
1684
+ return /* @__PURE__ */ c(
1674
1685
  "div",
1675
1686
  {
1676
1687
  className: "gloss-metric-group__slot--composite",
@@ -1689,7 +1700,7 @@ const qe = function(t) {
1689
1700
  }
1690
1701
  );
1691
1702
  };
1692
- qe.displayName = "MetricGroupContainer";
1703
+ ze.displayName = "MetricGroupContainer";
1693
1704
  const L = {
1694
1705
  "gloss-inline-nudge": "_gloss-inline-nudge_kdk88_34",
1695
1706
  "gloss-inline-nudge__message": "_gloss-inline-nudge__message_kdk88_65",
@@ -1698,44 +1709,44 @@ const L = {
1698
1709
  "gloss-inline-nudge__btn--action": "_gloss-inline-nudge__btn--action_kdk88_88",
1699
1710
  "gloss-inline-nudge__btn--dismiss": "_gloss-inline-nudge__btn--dismiss_kdk88_96"
1700
1711
  };
1701
- function Ve({
1712
+ function Ke({
1702
1713
  message: e,
1703
1714
  primaryAction: t,
1704
1715
  onDismiss: r,
1705
1716
  anchorEl: a,
1706
1717
  anchorSelector: n
1707
1718
  }) {
1708
- const [o, s] = R.useState(null), c = R.useMemo(
1719
+ const [o, s] = I.useState(null), d = I.useMemo(
1709
1720
  () => typeof window < "u" && window.matchMedia ? window.matchMedia("(prefers-reduced-motion: reduce)").matches : !1,
1710
1721
  []
1711
1722
  );
1712
- R.useEffect(() => {
1723
+ I.useEffect(() => {
1713
1724
  !a && !n && (typeof process > "u" || process.env.NODE_ENV !== "production") && console.error(
1714
1725
  "[InlineNudge] requires anchorEl or anchorSelector. AP-07: Do not mount InlineNudge in Layout/** or _app.tsx."
1715
1726
  );
1716
- }, [a, n]), R.useLayoutEffect(() => {
1727
+ }, [a, n]), I.useLayoutEffect(() => {
1717
1728
  let g = null;
1718
1729
  if (a ? g = a : n && (g = document.querySelector(n)), g) {
1719
- const w = g.getBoundingClientRect();
1730
+ const y = g.getBoundingClientRect();
1720
1731
  s({
1721
- top: w.bottom + window.scrollY + 6,
1722
- left: w.left + window.scrollX
1732
+ top: y.bottom + window.scrollY + 6,
1733
+ left: y.left + window.scrollX
1723
1734
  });
1724
1735
  }
1725
1736
  }, [a, n]);
1726
- const u = o ? { top: o.top, left: o.left } : {};
1727
- return /* @__PURE__ */ _(
1737
+ const m = o ? { top: o.top, left: o.left } : {};
1738
+ return /* @__PURE__ */ R(
1728
1739
  "div",
1729
1740
  {
1730
1741
  className: L["gloss-inline-nudge"],
1731
- style: u,
1742
+ style: m,
1732
1743
  role: "status",
1733
1744
  "aria-live": "polite",
1734
- "data-reduced-motion": c ? "true" : void 0,
1745
+ "data-reduced-motion": d ? "true" : void 0,
1735
1746
  children: [
1736
- /* @__PURE__ */ l("span", { className: L["gloss-inline-nudge__message"], children: e }),
1737
- /* @__PURE__ */ _("div", { className: L["gloss-inline-nudge__actions"], children: [
1738
- /* @__PURE__ */ l(
1747
+ /* @__PURE__ */ c("span", { className: L["gloss-inline-nudge__message"], children: e }),
1748
+ /* @__PURE__ */ R("div", { className: L["gloss-inline-nudge__actions"], children: [
1749
+ /* @__PURE__ */ c(
1739
1750
  "button",
1740
1751
  {
1741
1752
  type: "button",
@@ -1744,7 +1755,7 @@ function Ve({
1744
1755
  children: t.label
1745
1756
  }
1746
1757
  ),
1747
- /* @__PURE__ */ l(
1758
+ /* @__PURE__ */ c(
1748
1759
  "button",
1749
1760
  {
1750
1761
  type: "button",
@@ -1759,40 +1770,40 @@ function Ve({
1759
1770
  }
1760
1771
  );
1761
1772
  }
1762
- Ve.displayName = "InlineNudge";
1773
+ Ke.displayName = "InlineNudge";
1763
1774
  function le(e) {
1764
1775
  return e.colorToken ? `var(--gloss-color-${e.colorToken}, ${e.color ?? "#888"})` : e.color ?? "#888";
1765
1776
  }
1766
- function Ue(e, t, r) {
1767
- const a = r - t || 1, o = [...e].sort((s, c) => s.value - c.value).map((s) => {
1768
- const c = (s.value - t) / a * 100;
1769
- return `${le(s)} ${c.toFixed(2)}%`;
1777
+ function We(e, t, r) {
1778
+ const a = r - t || 1, o = [...e].sort((s, d) => s.value - d.value).map((s) => {
1779
+ const d = (s.value - t) / a * 100;
1780
+ return `${le(s)} ${d.toFixed(2)}%`;
1770
1781
  });
1771
1782
  return o.length === 0 ? "linear-gradient(to right, #888 0%, #888 100%)" : o.length === 1 ? `linear-gradient(to right, ${o[0]}, ${o[0]})` : `linear-gradient(to right, ${o.join(", ")})`;
1772
1783
  }
1773
- function je({
1784
+ function Ze({
1774
1785
  stops: e,
1775
1786
  onChange: t,
1776
1787
  min: r = 0,
1777
1788
  max: a = 100,
1778
1789
  disabled: n = !1
1779
1790
  }) {
1780
- const o = F(null), [s, c] = M(null), [u, g] = M(e), w = F(e);
1781
- w.current !== e && (w.current = e, g(e));
1782
- const v = Ce(() => Ue(u, r, a), [u, r, a]), p = b(
1791
+ const o = F(null), [s, d] = M(null), [m, g] = M(e), y = F(e);
1792
+ y.current !== e && (y.current = e, g(e));
1793
+ const D = pe(() => We(m, r, a), [m, r, a]), p = f(
1783
1794
  (i) => {
1784
1795
  if (!o.current) return r;
1785
1796
  const h = o.current.getBoundingClientRect(), N = Math.max(0, Math.min(1, (i - h.left) / h.width)), C = r + N * (a - r);
1786
1797
  return Math.round(C * 100) / 100;
1787
1798
  },
1788
1799
  [r, a]
1789
- ), m = b(
1800
+ ), l = f(
1790
1801
  (i, h) => {
1791
- const N = u.find((C) => C.id === h);
1792
- n || N?.disabled || (typeof i.currentTarget.setPointerCapture == "function" && i.currentTarget.setPointerCapture(i.pointerId), c(h));
1802
+ const N = m.find((C) => C.id === h);
1803
+ n || N?.disabled || (typeof i.currentTarget.setPointerCapture == "function" && i.currentTarget.setPointerCapture(i.pointerId), d(h));
1793
1804
  },
1794
- [n, u]
1795
- ), f = b(
1805
+ [n, m]
1806
+ ), b = f(
1796
1807
  (i) => {
1797
1808
  if (!s) return;
1798
1809
  const h = p(i.clientX);
@@ -1801,28 +1812,28 @@ function je({
1801
1812
  );
1802
1813
  },
1803
1814
  [s, p]
1804
- ), S = b(
1815
+ ), S = f(
1805
1816
  (i) => {
1806
1817
  if (!s) return;
1807
- const h = p(i.clientX), N = u.map(
1818
+ const h = p(i.clientX), N = m.map(
1808
1819
  (C) => C.id === s ? { ...C, value: h } : C
1809
1820
  );
1810
- g(N), c(null), t(N);
1821
+ g(N), d(null), t(N);
1811
1822
  },
1812
- [s, p, u, t]
1813
- ), x = a - r || 1;
1814
- return /* @__PURE__ */ l("div", { className: "gloss-threshold-ramp", "data-disabled": n || void 0, children: /* @__PURE__ */ l(
1823
+ [s, p, m, t]
1824
+ ), T = a - r || 1;
1825
+ return /* @__PURE__ */ c("div", { className: "gloss-threshold-ramp", "data-disabled": n || void 0, children: /* @__PURE__ */ c(
1815
1826
  "div",
1816
1827
  {
1817
1828
  ref: o,
1818
1829
  className: "gloss-threshold-ramp__track",
1819
- style: { background: v },
1820
- onPointerMove: f,
1830
+ style: { background: D },
1831
+ onPointerMove: b,
1821
1832
  onPointerUp: S,
1822
1833
  onPointerLeave: S,
1823
- children: u.map((i) => {
1824
- const h = (i.value - r) / x * 100;
1825
- return /* @__PURE__ */ l(
1834
+ children: m.map((i) => {
1835
+ const h = (i.value - r) / T * 100;
1836
+ return /* @__PURE__ */ c(
1826
1837
  "span",
1827
1838
  {
1828
1839
  className: "gloss-threshold-ramp__stop",
@@ -1832,7 +1843,7 @@ function je({
1832
1843
  },
1833
1844
  "data-disabled": i.disabled || void 0,
1834
1845
  "data-dragging": s === i.id || void 0,
1835
- onPointerDown: (N) => m(N, i.id),
1846
+ onPointerDown: (N) => l(N, i.id),
1836
1847
  "aria-label": i.label ?? `Stop at ${i.value}`,
1837
1848
  role: "slider",
1838
1849
  "aria-valuenow": i.value,
@@ -1846,16 +1857,16 @@ function je({
1846
1857
  }
1847
1858
  ) });
1848
1859
  }
1849
- je.displayName = "ThresholdRamp";
1850
- const de = ye(null);
1851
- function Qe() {
1852
- return De(de);
1860
+ Ze.displayName = "ThresholdRamp";
1861
+ const de = be(null);
1862
+ function Ye() {
1863
+ return fe(de);
1853
1864
  }
1854
- function Xe({ option: e }) {
1855
- const t = Qe(), r = t?.isSelected(e.value) ?? !1, a = e.disabled || t?.groupDisabled, n = b(() => {
1865
+ function qe({ option: e }) {
1866
+ const t = Ye(), r = t?.isSelected(e.value) ?? !1, a = e.disabled || t?.groupDisabled, n = f(() => {
1856
1867
  a || t?.select(e.value);
1857
1868
  }, [a, t, e.value]), o = e.colorToken ? `var(--gloss-color-${e.colorToken}, ${e.color ?? "#888"})` : e.color ?? "#888";
1858
- return /* @__PURE__ */ l(
1869
+ return /* @__PURE__ */ c(
1859
1870
  "button",
1860
1871
  {
1861
1872
  type: "button",
@@ -1872,7 +1883,7 @@ function Xe({ option: e }) {
1872
1883
  }
1873
1884
  );
1874
1885
  }
1875
- function Je({
1886
+ function Ve({
1876
1887
  swatches: e,
1877
1888
  value: t,
1878
1889
  defaultValue: r,
@@ -1880,22 +1891,22 @@ function Je({
1880
1891
  disabled: n = !1,
1881
1892
  name: o
1882
1893
  }) {
1883
- const s = t !== void 0, [c, u] = M(r), g = s ? t : c, w = b(
1884
- (m) => {
1885
- s || u(m), a?.(m);
1894
+ const s = t !== void 0, [d, m] = M(r), g = s ? t : d, y = f(
1895
+ (l) => {
1896
+ s || m(l), a?.(l);
1886
1897
  },
1887
1898
  [s, a]
1888
- ), v = b(
1889
- (m) => g === m,
1899
+ ), D = f(
1900
+ (l) => g === l,
1890
1901
  [g]
1891
1902
  ), p = {
1892
1903
  selectedValue: g,
1893
- select: w,
1894
- isSelected: v,
1904
+ select: y,
1905
+ isSelected: D,
1895
1906
  groupDisabled: n,
1896
1907
  name: o
1897
1908
  };
1898
- return /* @__PURE__ */ l(de.Provider, { value: p, children: /* @__PURE__ */ l(
1909
+ return /* @__PURE__ */ c(de.Provider, { value: p, children: /* @__PURE__ */ c(
1899
1910
  "div",
1900
1911
  {
1901
1912
  className: "gloss-preset-swatch-row",
@@ -1903,102 +1914,102 @@ function Je({
1903
1914
  "aria-label": o,
1904
1915
  "aria-disabled": n,
1905
1916
  "data-disabled": n || void 0,
1906
- children: e.map((m) => /* @__PURE__ */ l(Xe, { option: m }, m.value))
1917
+ children: e.map((l) => /* @__PURE__ */ c(qe, { option: l }, l.value))
1907
1918
  }
1908
1919
  ) });
1909
1920
  }
1910
- Je.displayName = "PresetSwatchRow";
1911
- function q(e, t) {
1921
+ Ve.displayName = "PresetSwatchRow";
1922
+ function U(e, t) {
1912
1923
  for (const r of e)
1913
1924
  if (r.items.some((a) => a.id === t))
1914
1925
  return r.zoneKey;
1915
1926
  return null;
1916
1927
  }
1917
- function re(e, t) {
1928
+ function ae(e, t) {
1918
1929
  const r = e.find((a) => a.zoneKey === t);
1919
- return r ? r.zoneKey : q(e, t);
1930
+ return r ? r.zoneKey : U(e, t);
1920
1931
  }
1921
- function et(e, t, r) {
1932
+ function Ue(e, t, r) {
1922
1933
  const a = [...e], [n] = a.splice(t, 1);
1923
1934
  return a.splice(r, 0, n), a;
1924
1935
  }
1925
- function tt(e) {
1926
- const [t, r] = M(() => e.zones), [a, n] = M(null), [o, s] = M(null), c = F(null), u = F(e.onZoneChange);
1927
- u.current = e.onZoneChange;
1928
- const g = b(
1929
- (f) => {
1930
- const S = f.active.id;
1931
- let x = null, i = null;
1936
+ function je(e) {
1937
+ const [t, r] = M(() => e.zones), [a, n] = M(null), [o, s] = M(null), d = F(null), m = F(e.onZoneChange);
1938
+ m.current = e.onZoneChange;
1939
+ const g = f(
1940
+ (b) => {
1941
+ const S = b.active.id;
1942
+ let T = null, i = null;
1932
1943
  for (const h of t) {
1933
1944
  const N = h.items.find((C) => C.id === S);
1934
1945
  if (N) {
1935
- x = N, i = h.zoneKey;
1946
+ T = N, i = h.zoneKey;
1936
1947
  break;
1937
1948
  }
1938
1949
  }
1939
- c.current = i, n(x), s(i);
1950
+ d.current = i, n(T), s(i);
1940
1951
  },
1941
1952
  [t]
1942
- ), w = b(
1943
- (f) => {
1944
- if (!f.over) {
1945
- s(c.current);
1953
+ ), y = f(
1954
+ (b) => {
1955
+ if (!b.over) {
1956
+ s(d.current);
1946
1957
  return;
1947
1958
  }
1948
- const S = re(t, f.over.id);
1959
+ const S = ae(t, b.over.id);
1949
1960
  s(S);
1950
1961
  },
1951
1962
  [t]
1952
- ), v = b(
1953
- (f) => {
1954
- const { active: S, over: x } = f, i = () => {
1955
- c.current = null, n(null), s(null);
1963
+ ), D = f(
1964
+ (b) => {
1965
+ const { active: S, over: T } = b, i = () => {
1966
+ d.current = null, n(null), s(null);
1956
1967
  };
1957
- if (!x) {
1968
+ if (!T) {
1958
1969
  i();
1959
1970
  return;
1960
1971
  }
1961
- const h = q(t, S.id), N = re(t, x.id);
1972
+ const h = U(t, S.id), N = ae(t, T.id);
1962
1973
  if (!h || !N) {
1963
1974
  i();
1964
1975
  return;
1965
1976
  }
1966
- let C = t.map((k) => ({ ...k, items: [...k.items] }));
1977
+ let C = t.map((x) => ({ ...x, items: [...x.items] }));
1967
1978
  if (h === N) {
1968
- const k = C.findIndex((T) => T.zoneKey === h), d = C[k], D = d.items.findIndex((T) => T.id === S.id), y = d.items.findIndex((T) => T.id === x.id), O = y >= 0 ? y : d.items.length - 1;
1969
- C[k] = {
1970
- ...d,
1971
- items: et(d.items, D, O)
1979
+ const x = C.findIndex((k) => k.zoneKey === h), u = C[x], w = u.items.findIndex((k) => k.id === S.id), v = u.items.findIndex((k) => k.id === T.id), O = v >= 0 ? v : u.items.length - 1;
1980
+ C[x] = {
1981
+ ...u,
1982
+ items: Ue(u.items, w, O)
1972
1983
  };
1973
1984
  } else {
1974
- const k = C.findIndex((I) => I.zoneKey === h), d = C.findIndex((I) => I.zoneKey === N), D = C[k], y = C[d], O = D.items.find((I) => I.id === S.id), T = D.items.filter((I) => I.id !== S.id), E = y.items.findIndex((I) => I.id === x.id), B = E >= 0 ? E : y.items.length;
1975
- let X = T, A = [...y.items];
1976
- if (y.maxItems !== void 0 && A.length >= y.maxItems) {
1977
- const I = A[A.length - 1];
1978
- A = A.slice(0, y.maxItems - 1), X = [...T, I];
1985
+ const x = C.findIndex((_) => _.zoneKey === h), u = C.findIndex((_) => _.zoneKey === N), w = C[x], v = C[u], O = w.items.find((_) => _.id === S.id), k = w.items.filter((_) => _.id !== S.id), E = v.items.findIndex((_) => _.id === T.id), G = E >= 0 ? E : v.items.length;
1986
+ let Q = k, A = [...v.items];
1987
+ if (v.maxItems !== void 0 && A.length >= v.maxItems) {
1988
+ const _ = A[A.length - 1];
1989
+ A = A.slice(0, v.maxItems - 1), Q = [...k, _];
1979
1990
  }
1980
- const J = Math.min(B, A.length), fe = [
1981
- ...A.slice(0, J),
1991
+ const X = Math.min(G, A.length), me = [
1992
+ ...A.slice(0, X),
1982
1993
  O,
1983
- ...A.slice(J)
1994
+ ...A.slice(X)
1984
1995
  ];
1985
- C[k] = { ...D, items: X }, C[d] = { ...y, items: fe };
1996
+ C[x] = { ...w, items: Q }, C[u] = { ...v, items: me };
1986
1997
  }
1987
- r(C), u.current?.(C), i();
1998
+ r(C), m.current?.(C), i();
1988
1999
  },
1989
2000
  [t]
1990
- ), p = b(
1991
- (f) => ({
1992
- id: f,
1993
- "data-zone-key": f
2001
+ ), p = f(
2002
+ (b) => ({
2003
+ id: b,
2004
+ "data-zone-key": b
1994
2005
  }),
1995
2006
  []
1996
- ), m = b(
1997
- (f) => {
1998
- const S = q(t, f.id) ?? "";
2007
+ ), l = f(
2008
+ (b) => {
2009
+ const S = U(t, b.id) ?? "";
1999
2010
  return {
2000
- id: f.id,
2001
- "data-item-id": f.id,
2011
+ id: b.id,
2012
+ "data-item-id": b.id,
2002
2013
  "data-zone-key": S
2003
2014
  };
2004
2015
  },
@@ -2009,359 +2020,391 @@ function tt(e) {
2009
2020
  activeZone: o,
2010
2021
  activeItem: a,
2011
2022
  getZoneProps: p,
2012
- getItemProps: m,
2023
+ getItemProps: l,
2013
2024
  handleDragStart: g,
2014
- handleDragOver: w,
2015
- handleDragEnd: v
2025
+ handleDragOver: y,
2026
+ handleDragEnd: D
2016
2027
  };
2017
2028
  }
2018
- let j = null, ce = null, ue = null, V = null, me = null, ge = null, pe = null, Q = null, be = null;
2019
- try {
2020
- const e = require("@dnd-kit/core");
2021
- j = e.DndContext, ce = e.DragOverlay, ue = e.useSensors, V = e.useSensor, me = e.PointerSensor, ge = e.KeyboardSensor, pe = e.closestCenter;
2022
- } catch {
2023
- }
2024
- try {
2025
- const e = require("@dnd-kit/sortable");
2026
- Q = e.SortableContext, be = e.verticalListSortingStrategy;
2027
- } catch {
2029
+ let $ = null, z = null, re = !1;
2030
+ function Qe() {
2031
+ return $ ? Promise.resolve($) : re ? Promise.resolve(null) : z || (z = (async () => {
2032
+ try {
2033
+ const [e, t, r] = await Promise.all([
2034
+ import("@dnd-kit/core"),
2035
+ import("@dnd-kit/sortable"),
2036
+ import("@dnd-kit/utilities").catch(() => ({}))
2037
+ ]);
2038
+ return $ = {
2039
+ core: e,
2040
+ sortable: t,
2041
+ utilities: r
2042
+ }, $;
2043
+ } catch {
2044
+ return re = !0, null;
2045
+ }
2046
+ })(), z);
2028
2047
  }
2029
- function at(e) {
2030
- const { zones: t, onZoneChange: r, renderZone: a, renderItem: n, renderDragOverlay: o } = e, s = tt({ zones: t, onZoneChange: r });
2031
- return !j || !Q ? /* @__PURE__ */ l("div", { "data-sortable-zones-passive": "true", children: s.zones.map((c) => /* @__PURE__ */ l("div", { ...s.getZoneProps(c.zoneKey), children: a(c.zoneKey, c.items) }, c.zoneKey)) }) : /* @__PURE__ */ l(
2032
- he,
2048
+ function Xe(e) {
2049
+ const { zones: t, onZoneChange: r, renderZone: a, renderItem: n, renderDragOverlay: o } = e, s = je({ zones: t, onZoneChange: r }), [d, m] = I.useState($);
2050
+ return I.useEffect(() => {
2051
+ if (d) return;
2052
+ let g = !0;
2053
+ return Qe().then((y) => {
2054
+ g && m(y);
2055
+ }), () => {
2056
+ g = !1;
2057
+ };
2058
+ }, [d]), d ? /* @__PURE__ */ c(
2059
+ ce,
2033
2060
  {
2034
2061
  state: s,
2062
+ modules: d,
2035
2063
  renderZone: a,
2036
2064
  renderItem: n,
2037
2065
  renderDragOverlay: o
2038
2066
  }
2039
- );
2067
+ ) : /* @__PURE__ */ c("div", { "data-sortable-zones-passive": "true", children: s.zones.map((g) => {
2068
+ const y = g.items.map((D) => /* @__PURE__ */ c(I.Fragment, { children: n(D) }, D.id));
2069
+ return /* @__PURE__ */ c("div", { ...s.getZoneProps(g.zoneKey), children: a(g.zoneKey, g.items, y) }, g.zoneKey);
2070
+ }) });
2040
2071
  }
2041
- at.displayName = "SortableZones";
2042
- function he({
2072
+ Xe.displayName = "SortableZones";
2073
+ function ce({
2043
2074
  state: e,
2044
- renderZone: t,
2045
- renderItem: r,
2046
- renderDragOverlay: a
2075
+ modules: t,
2076
+ renderZone: r,
2077
+ renderItem: a,
2078
+ renderDragOverlay: n
2047
2079
  }) {
2048
- const n = ue(
2049
- V(me, { activationConstraint: { distance: 5 } }),
2050
- V(ge)
2051
- ), o = j, s = ce, c = Q;
2052
- return /* @__PURE__ */ _(
2053
- o,
2080
+ const { core: o, sortable: s, utilities: d } = t, { DndContext: m, DragOverlay: g, useSensors: y, useSensor: D, PointerSensor: p, KeyboardSensor: l, closestCenter: b } = o, { SortableContext: S, verticalListSortingStrategy: T } = s, i = y(
2081
+ D(p, { activationConstraint: { distance: 5 } }),
2082
+ D(l)
2083
+ ), h = m, N = g, C = S;
2084
+ return /* @__PURE__ */ R(
2085
+ h,
2054
2086
  {
2055
- sensors: n,
2056
- collisionDetection: pe,
2087
+ sensors: i,
2088
+ collisionDetection: b,
2057
2089
  onDragStart: e.handleDragStart,
2058
2090
  onDragOver: e.handleDragOver,
2059
2091
  onDragEnd: e.handleDragEnd,
2060
2092
  children: [
2061
- e.zones.map((u) => {
2062
- const g = u.items.map((w) => w.id);
2063
- return /* @__PURE__ */ l("div", { ...e.getZoneProps(u.zoneKey), children: /* @__PURE__ */ l(
2064
- c,
2093
+ e.zones.map((x) => {
2094
+ const u = x.items.map((v) => v.id), w = x.items.map((v) => /* @__PURE__ */ c(
2095
+ ue,
2065
2096
  {
2066
- items: g,
2067
- strategy: be,
2068
- children: t(u.zoneKey, u.items)
2069
- }
2070
- ) }, u.zoneKey);
2097
+ id: v.id,
2098
+ useSortable: s.useSortable,
2099
+ cssHelper: d.CSS,
2100
+ children: a(v)
2101
+ },
2102
+ v.id
2103
+ ));
2104
+ return /* @__PURE__ */ c("div", { ...e.getZoneProps(x.zoneKey), children: /* @__PURE__ */ c(C, { items: u, strategy: T, children: r(x.zoneKey, x.items, w) }) }, x.zoneKey);
2071
2105
  }),
2072
- /* @__PURE__ */ l(s, { children: e.activeItem ? a?.(e.activeItem) ?? r(e.activeItem) : null })
2106
+ /* @__PURE__ */ c(N, { children: e.activeItem ? n?.(e.activeItem) ?? a(e.activeItem) : null })
2073
2107
  ]
2074
2108
  }
2075
2109
  );
2076
2110
  }
2077
- he.displayName = "SortableZonesInner";
2078
- const rt = R.forwardRef(({ density: e = "compact", children: t, ...r }, a) => {
2111
+ ce.displayName = "SortableZonesInner";
2112
+ function ue({ id: e, useSortable: t, cssHelper: r, children: a }) {
2113
+ const { attributes: n, listeners: o, setNodeRef: s, transform: d, transition: m, isDragging: g } = t({ id: e }), y = {
2114
+ transform: r?.Transform?.toString(d) ?? void 0,
2115
+ transition: m,
2116
+ opacity: g ? 0.5 : 1
2117
+ };
2118
+ return /* @__PURE__ */ c("div", { ref: s, style: y, "data-sortable-item-id": e, ...n, ...o, children: a });
2119
+ }
2120
+ ue.displayName = "SortableItem";
2121
+ const Je = I.forwardRef(({ density: e = "compact", children: t, ...r }, a) => {
2079
2122
  const n = { ...r };
2080
- return delete n.className, delete n.style, /* @__PURE__ */ l("div", { ref: a, className: "gloss-container-toolbar", role: "toolbar", ...n, children: /* @__PURE__ */ l(U, { region: "toolbar", density: e, children: t }) });
2123
+ 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 }) });
2081
2124
  });
2082
- rt.displayName = "ContainerToolbar";
2083
- const nt = R.forwardRef(({ legend: e, description: t, density: r = "default", children: a, ...n }, o) => {
2125
+ Je.displayName = "ContainerToolbar";
2126
+ const et = I.forwardRef(({ legend: e, description: t, density: r = "default", children: a, ...n }, o) => {
2084
2127
  const s = { ...n };
2085
- return delete s.className, delete s.style, /* @__PURE__ */ _("fieldset", { ref: o, className: "gloss-container-form-section", ...s, children: [
2086
- e && /* @__PURE__ */ l("legend", { className: "gloss-container-form-section__legend", children: e }),
2087
- t && /* @__PURE__ */ l("p", { className: "gloss-container-form-section__description", children: t }),
2088
- /* @__PURE__ */ l(U, { region: "form-section", density: r, children: a })
2128
+ return delete s.className, delete s.style, /* @__PURE__ */ R("fieldset", { ref: o, className: "gloss-container-form-section", ...s, children: [
2129
+ e && /* @__PURE__ */ c("legend", { className: "gloss-container-form-section__legend", children: e }),
2130
+ t && /* @__PURE__ */ c("p", { className: "gloss-container-form-section__description", children: t }),
2131
+ /* @__PURE__ */ c(j, { region: "form-section", density: r, children: a })
2089
2132
  ] });
2090
2133
  });
2091
- nt.displayName = "ContainerFormSection";
2092
- const ot = R.forwardRef(({ density: e = "compact", children: t, ...r }, a) => {
2134
+ et.displayName = "ContainerFormSection";
2135
+ const tt = I.forwardRef(({ density: e = "compact", children: t, ...r }, a) => {
2093
2136
  const n = { ...r };
2094
- return delete n.className, delete n.style, /* @__PURE__ */ l("div", { ref: a, className: "gloss-container-table", ...n, children: /* @__PURE__ */ l(U, { region: "table", density: e, children: t }) });
2137
+ 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 }) });
2095
2138
  });
2096
- ot.displayName = "ContainerTable";
2139
+ tt.displayName = "ContainerTable";
2097
2140
  export {
2098
- aa as Accordion,
2099
- ra as AccordionContent,
2100
- na as AccordionItem,
2101
- oa as AccordionTrigger,
2102
- sa as Actionable,
2103
- ia as AddressGroup,
2104
- la as AddressSelect,
2105
- da as AsyncLoader,
2106
- ca as Autocomplete,
2107
- ua as Badge,
2108
- ma as BarChartCard,
2109
- ga as BarsBg,
2110
- pa as Button,
2111
- ba as ButtonGroup,
2112
- ha as ButtonGroupContext,
2113
- fa as Card,
2114
- va as CardActions,
2115
- Ca as CardBack,
2116
- ya as CardBody,
2117
- Da as CardFooter,
2118
- wa as CardHeader,
2119
- Na as CardMedia,
2120
- Sa as CardShell,
2121
- xa as CardSubtitle,
2122
- Ta as CardTitle,
2123
- ka as ChartControlBar,
2124
- Ia as Checkbox,
2125
- _a as CheckboxGroup,
2126
- Ra as Chip,
2127
- Ma as ColorPicker,
2128
- Pa as ComparisonCard,
2129
- Fa as ContactForm,
2130
- Oa as ContainerCard,
2131
- Aa as ContainerCardActions,
2132
- Ea as ContainerCardBody,
2133
- La as ContainerCardFooter,
2134
- Ba as ContainerCardHeader,
2135
- Ga as ContainerCardMedia,
2136
- za as ContainerCardSubtitle,
2137
- Ha as ContainerCardTitle,
2138
- $a as ContainerDialog,
2139
- Ka as ContainerDialogActions,
2140
- Wa as ContainerDialogBody,
2141
- Za as ContainerDialogHeader,
2142
- nt as ContainerFormSection,
2143
- Ya as ContainerPanel,
2144
- ot as ContainerTable,
2145
- rt as ContainerToolbar,
2146
- qa as CreditCardForm,
2147
- Do as DEFAULT_MARKET_PRESETS,
2148
- wo as DEFAULT_PINNED,
2149
- Va as DataTable,
2150
- Ua as DatePicker,
2151
- ja as DateRangePicker,
2152
- Qa as DestructiveModal,
2153
- Xa as DirectionCard,
2154
- Ja as Dismissible,
2155
- er as DistributionCard,
2156
- tr as DonutChart,
2157
- ar as Dropdown,
2158
- rr as ENTITY_FILTER_KEYS,
2159
- nr as ENTITY_PROFILE_ROUTES,
2160
- or as ENTITY_TYPE_PLURAL,
2161
- Me as EdgeHoverHandle,
2162
- sr as EntityPicker,
2163
- ir as EntitySearchPanel,
2164
- lr as Expandable,
2165
- dr as ExpandableChip,
2166
- Nt as FLIP_AND_STAGE_TIMINGS,
2167
- cr as FileUpload,
2168
- ur as FilterChip,
2169
- mr as FilterInput,
2170
- gr as FlipAndStageProvider,
2171
- pr as Form,
2172
- br as FormDialog,
2173
- hr as FormField,
2174
- fr as FusedShape,
2175
- Pe as GhostPreview,
2176
- vr as GroupCheckbox,
2177
- Cr as GroupRadio,
2178
- yr as GutterActions,
2179
- Dr as HighlightCard,
2180
- wr as HybridDatePicker,
2181
- Nr as ImportWizard,
2182
- Ve as InlineNudge,
2183
- Sr as Input,
2184
- xr as InputAddon,
2185
- Tr as InputGroup,
2186
- kr as Link,
2187
- Ir as LoginForm,
2188
- _r as MarketPresetRow,
2189
- Rr as MaskPresets,
2190
- Mr as MaskedInput,
2191
- Pr as Menu,
2192
- Fr as MenuDivider,
2193
- Or as MenuGroup,
2194
- Ar as MenuItem,
2195
- Er as MergePrompt,
2196
- Lr as MetricCard,
2197
- Br as MetricCardGrid,
2198
- qe as MetricGroupContainer,
2199
- Gr as MiniCalendar,
2200
- zr as MultiSelect,
2201
- Hr as NumberInput,
2202
- $r as ObjectArrow,
2203
- Kr as OrderFilterBar,
2204
- No as PERIOD_OPTIONS,
2205
- Ge as PageChip,
2141
+ Xt as Accordion,
2142
+ Jt as AccordionContent,
2143
+ ea as AccordionItem,
2144
+ ta as AccordionTrigger,
2145
+ aa as Actionable,
2146
+ ra as AddressGroup,
2147
+ na as AddressSelect,
2148
+ oa as AsyncLoader,
2149
+ sa as Autocomplete,
2150
+ ia as Badge,
2151
+ la as BarChartCard,
2152
+ da as BarsBg,
2153
+ ca as Button,
2154
+ ua as ButtonGroup,
2155
+ ma as ButtonGroupContext,
2156
+ ga as Card,
2157
+ pa as CardActions,
2158
+ ba as CardBack,
2159
+ fa as CardBody,
2160
+ ha as CardFooter,
2161
+ va as CardHeader,
2162
+ Ca as CardMedia,
2163
+ ya as CardShell,
2164
+ Da as CardSubtitle,
2165
+ wa as CardTitle,
2166
+ Na as ChartControlBar,
2167
+ Sa as Checkbox,
2168
+ Ta as CheckboxGroup,
2169
+ xa as Chip,
2170
+ ka as ColorPicker,
2171
+ Ia as ComparisonCard,
2172
+ _a as ContactForm,
2173
+ Ra as ContainerCard,
2174
+ Ma as ContainerCardActions,
2175
+ Pa as ContainerCardBody,
2176
+ Fa as ContainerCardFooter,
2177
+ Oa as ContainerCardHeader,
2178
+ Aa as ContainerCardMedia,
2179
+ Ea as ContainerCardSubtitle,
2180
+ La as ContainerCardTitle,
2181
+ Ba as ContainerDialog,
2182
+ Ga as ContainerDialogActions,
2183
+ $a as ContainerDialogBody,
2184
+ Ha as ContainerDialogHeader,
2185
+ et as ContainerFormSection,
2186
+ za as ContainerPanel,
2187
+ tt as ContainerTable,
2188
+ Je as ContainerToolbar,
2189
+ Ka as CreditCardForm,
2190
+ ho as DEFAULT_MARKET_PRESETS,
2191
+ vo as DEFAULT_PINNED,
2192
+ Wa as DataTable,
2193
+ Za as DatePicker,
2194
+ Ya as DateRangePicker,
2195
+ qa as DestructiveModal,
2196
+ Va as DirectionCard,
2197
+ Ua as Dismissible,
2198
+ ja as DistributionCard,
2199
+ Qa as DonutChart,
2200
+ Xa as Dropdown,
2201
+ Ja as ENTITY_FILTER_KEYS,
2202
+ er as ENTITY_PROFILE_ROUTES,
2203
+ tr as ENTITY_TYPE_PLURAL,
2204
+ xe as EdgeHoverHandle,
2205
+ ar as EntityPicker,
2206
+ rr as EntitySearchPanel,
2207
+ nr as Expandable,
2208
+ or as ExpandableChip,
2209
+ Ct as FLIP_AND_STAGE_TIMINGS,
2210
+ sr as FileUpload,
2211
+ ir as FilterChip,
2212
+ lr as FilterInput,
2213
+ dr as FlipAndStageProvider,
2214
+ cr as Form,
2215
+ ur as FormDialog,
2216
+ mr as FormField,
2217
+ gr as FusedShape,
2218
+ ke as GhostPreview,
2219
+ pr as GroupCheckbox,
2220
+ br as GroupRadio,
2221
+ fr as GutterActions,
2222
+ hr as HighlightCard,
2223
+ vr as HybridDatePicker,
2224
+ Cr as ImportWizard,
2225
+ Ke as InlineNudge,
2226
+ yr as Input,
2227
+ Dr as InputAddon,
2228
+ wr as InputGroup,
2229
+ Nr as Link,
2230
+ Sr as LoginForm,
2231
+ Tr as MarketPresetRow,
2232
+ xr as MaskPresets,
2233
+ kr as MaskedInput,
2234
+ Ir as Menu,
2235
+ _r as MenuDivider,
2236
+ Rr as MenuGroup,
2237
+ Mr as MenuItem,
2238
+ Pr as MergePrompt,
2239
+ Fr as MetricCard,
2240
+ Or as MetricCardGrid,
2241
+ ze as MetricGroupContainer,
2242
+ Ar as MiniCalendar,
2243
+ Er as MultiSelect,
2244
+ Lr as NumberInput,
2245
+ Br as ObjectArrow,
2246
+ Gr as OrderFilterBar,
2247
+ Co as PERIOD_OPTIONS,
2248
+ Oe as PageChip,
2206
2249
  ne as PageDropdown,
2207
- Wr as PasswordInput,
2208
- Zr as PaymentForm,
2209
- Yr as PaymentMethodSelect,
2210
- qr as PhoneInput,
2211
- Vr as PinToMetric,
2212
- Je as PresetSwatchRow,
2213
- Ur as ProfileCard,
2214
- jr as ProgressCard,
2215
- Qr as QuickConfigPanel,
2216
- So as ROLLING_OPTIONS,
2217
- Xr as Radio,
2218
- Jr as RadioGroup,
2219
- en as RangeSlider,
2220
- tn as Rating,
2221
- an as RegistrationForm,
2222
- rn as Row1Controls,
2223
- nn as Row2FilterTray,
2224
- on as SearchInput,
2225
- sn as SegmentCard,
2226
- ln as SegmentedControl,
2227
- dn as Select,
2228
- cn as Selectable,
2229
- un as SimpleMetricCard,
2230
- mn as SimpleSelector,
2231
- gn as Skeleton,
2232
- pn as SkeletonCard,
2233
- bn as SkeletonChart,
2234
- hn as SkeletonTable,
2235
- fn as Slider,
2236
- vn as Sortable,
2237
- at as SortableZones,
2238
- Cn as SparklineBg,
2239
- yn as SplitButton,
2240
- Dn as StackedGroupCard,
2241
- wn as StatusModeCard,
2242
- Re as StatusSlotChipMenu,
2243
- Nn as Stepper,
2244
- xo as TODAY_PRESET,
2245
- Sn as TabGroup,
2246
- xn as TabbedDataView,
2247
- Tn as TagInput,
2248
- kn as Textarea,
2249
- je as ThresholdRamp,
2250
- In as TimeFrame,
2251
- _n as TimePicker,
2252
- Rn as Toggle,
2253
- Mn as Tooltip,
2254
- Pn as Transition,
2255
- Fn as TransitionGroup,
2256
- On as TrendCard,
2257
- An as TrendIndicator,
2258
- vo as UIContext,
2259
- U as UIContextProvider,
2260
- En as UnifiedBreakdownTable,
2261
- Ln as UnifiedContextMenu,
2262
- Bn as addressGroupMetadata,
2263
- Gn as addressSchema,
2264
- mt as allChips,
2265
- xt as allStateFixtures,
2266
- St as allVariantFixtures,
2267
- ht as blockSamples,
2268
- Dt as cardSamples,
2269
- Ct as chartSamples,
2270
- vt as circleSamples,
2271
- qt as compactLayout,
2272
- Et as compactState,
2273
- zn as contactFormMetadata,
2274
- Hn as contactSchema,
2275
- Lt as contextMenuFixtures,
2276
- $n as creditCardFormMetadata,
2277
- Kn as creditCardSchema,
2278
- Te as dateChip,
2250
+ $r as PasswordInput,
2251
+ Hr as PaymentForm,
2252
+ zr as PaymentMethodSelect,
2253
+ Kr as PhoneInput,
2254
+ Wr as PinToMetric,
2255
+ Ve as PresetSwatchRow,
2256
+ Zr as ProfileCard,
2257
+ Yr as ProgressCard,
2258
+ qr as QuickConfigPanel,
2259
+ yo as ROLLING_OPTIONS,
2260
+ Vr as Radio,
2261
+ Ur as RadioGroup,
2262
+ jr as RangeSlider,
2263
+ Qr as Rating,
2264
+ Xr as RegistrationForm,
2265
+ Jr as Row1Controls,
2266
+ en as Row2FilterTray,
2267
+ tn as SearchInput,
2268
+ an as SegmentCard,
2269
+ rn as SegmentedControl,
2270
+ nn as Select,
2271
+ on as Selectable,
2272
+ sn as SimpleMetricCard,
2273
+ ln as SimpleSelector,
2274
+ dn as Skeleton,
2275
+ cn as SkeletonCard,
2276
+ un as SkeletonChart,
2277
+ mn as SkeletonTable,
2278
+ gn as Slider,
2279
+ pn as Sortable,
2280
+ Xe as SortableZones,
2281
+ bn as SparklineBg,
2282
+ fn as SplitButton,
2283
+ hn as StackedGroupCard,
2284
+ vn as StatusModeCard,
2285
+ Te as StatusSlotChipMenu,
2286
+ Cn as Stepper,
2287
+ Do as TODAY_PRESET,
2288
+ yn as TabGroup,
2289
+ Dn as TabbedDataView,
2290
+ wn as TagInput,
2291
+ Nn as Textarea,
2292
+ Ze as ThresholdRamp,
2293
+ Sn as TimeFrame,
2294
+ Tn as TimePicker,
2295
+ xn as Toggle,
2296
+ kn as Tooltip,
2297
+ In as Transition,
2298
+ _n as TransitionGroup,
2299
+ Rn as TrendCard,
2300
+ Mn as TrendIndicator,
2301
+ po as UIContext,
2302
+ j as UIContextProvider,
2303
+ Pn as UnifiedBreakdownTable,
2304
+ Fn as UnifiedContextMenu,
2305
+ On as addressGroupMetadata,
2306
+ An as addressSchema,
2307
+ lt as allChips,
2308
+ Dt as allStateFixtures,
2309
+ yt as allVariantFixtures,
2310
+ mt as blockSamples,
2311
+ ht as cardSamples,
2312
+ bt as chartSamples,
2313
+ pt as circleSamples,
2314
+ Kt as compactLayout,
2315
+ Pt as compactState,
2316
+ En as contactFormMetadata,
2317
+ Ln as contactSchema,
2318
+ Ft as contextMenuFixtures,
2319
+ Bn as creditCardFormMetadata,
2320
+ Gn as creditCardSchema,
2321
+ De as dateChip,
2279
2322
  ie as defaultControlBarState,
2280
- Wn as destructiveModalMetadata,
2281
- Zn as durations,
2282
- Yn as easings,
2283
- Ae as emptyFixture,
2284
- Se as entityChip,
2285
- Ke as entityNameActions,
2286
- pt as entityTabGroup,
2287
- Oe as errorFixture,
2288
- At as filteredState,
2289
- To as findPreset,
2290
- ko as formatDateRange,
2291
- Io as formatMarketDates,
2292
- _o as formatTrend,
2293
- Ro as formatValue,
2294
- Ut as fullLayout,
2295
- Mo as generateMarketId,
2296
- qn as generateTabId,
2297
- Po as getAllPresets,
2298
- Fo as getDateRangeForPreset,
2299
- Vn as getMenuActions,
2300
- Oo as getPresetLabel,
2301
- Un as getTransitionStyle,
2302
- Yt as gridCards,
2303
- jn as interpolate,
2304
- Ao as isInRange,
2305
- Eo as isMarketActive,
2306
- Lo as isSameDay,
2307
- Ot as itemColumns,
2308
- Pt as itemRows,
2309
- Fe as loadingFixture,
2310
- Qn as loginFormMetadata,
2311
- Xn as loginSchema,
2312
- ke as manufacturerChip,
2313
- Jt as manyTabs,
2314
- Jn as mergeHandlers,
2315
- eo as mergeRefs,
2316
- gt as metricTabGroup,
2317
- Qt as mixedTabs,
2318
- Bo as normalizePresetId,
2319
- Ze as numericActions,
2320
- Ft as orderColumns,
2321
- We as orderIdActions,
2322
- Mt as orderRows,
2323
- jt as ordersTabs,
2324
- to as parseNumericValue,
2325
- ao as paymentFormMetadata,
2326
- ro as paymentSchema,
2327
- no as presets,
2328
- oo as registrationFormMetadata,
2329
- so as registrationSchema,
2330
- Gt as sampleCompareRanges,
2331
- $t as sampleCustomMarkets,
2332
- Bt as sampleDateRange,
2333
- Kt as sampleMarketPresetData,
2334
- Ht as sampleMarkets,
2335
- Zt as samplePeriodPresets,
2336
- zt as samplePreferences,
2337
- Wt as samplePresets,
2338
- Xt as singleTab,
2339
- Tt as sparklineFixture,
2340
- kt as sparklineUpFixture,
2341
- Be as staleDonutFixture,
2342
- Ee as staleFixture,
2343
- Le as staleSparklineFixture,
2344
- It as standardFixture,
2345
- Rt as standardFlatFixture,
2346
- Vt as standardLayout,
2347
- _t as standardNegativeFixture,
2348
- xe as statusChip,
2349
- yt as tableSamples,
2350
- ft as textSamples,
2351
- bt as timeFrameTabGroup,
2352
- Go as toUppercasePresetId,
2353
- ut as useArrowNavigation,
2354
- io as useCheckboxGroupContext,
2355
- wt as useEdgeHoverResize,
2356
- lo as useFilterLayout,
2357
- co as useFlipAndStage,
2358
- uo as useFlipAndStageContext,
2359
- mo as useFlipAndStageContextOptional,
2360
- ct as useFocusReturn,
2361
- go as useFocusTrap,
2362
- po as useFormContext,
2363
- bo as useRadioGroupContext,
2364
- ho as useSlideOutReveal,
2365
- tt as useSortableZones,
2366
- Co as useUIContext
2323
+ $n as destructiveModalMetadata,
2324
+ Hn as durations,
2325
+ zn as easings,
2326
+ Re as emptyFixture,
2327
+ Ce as entityChip,
2328
+ Be as entityNameActions,
2329
+ ct as entityTabGroup,
2330
+ _e as errorFixture,
2331
+ Mt as filteredState,
2332
+ wo as findPreset,
2333
+ No as formatDateRange,
2334
+ So as formatMarketDates,
2335
+ To as formatTrend,
2336
+ xo as formatValue,
2337
+ Zt as fullLayout,
2338
+ ko as generateMarketId,
2339
+ Kn as generateTabId,
2340
+ Io as getAllPresets,
2341
+ _o as getDateRangeForPreset,
2342
+ Wn as getMenuActions,
2343
+ Ro as getPresetLabel,
2344
+ Zn as getTransitionStyle,
2345
+ zt as gridCards,
2346
+ Yn as interpolate,
2347
+ Mo as isInRange,
2348
+ Po as isMarketActive,
2349
+ Fo as isSameDay,
2350
+ Rt as itemColumns,
2351
+ It as itemRows,
2352
+ Ie as loadingFixture,
2353
+ qn as loginFormMetadata,
2354
+ Vn as loginSchema,
2355
+ we as manufacturerChip,
2356
+ Ut as manyTabs,
2357
+ Un as mergeHandlers,
2358
+ jn as mergeRefs,
2359
+ dt as metricTabGroup,
2360
+ qt as mixedTabs,
2361
+ Oo as normalizePresetId,
2362
+ $e as numericActions,
2363
+ _t as orderColumns,
2364
+ Ge as orderIdActions,
2365
+ kt as orderRows,
2366
+ Yt as ordersTabs,
2367
+ Qn as parseNumericValue,
2368
+ Xn as paymentFormMetadata,
2369
+ Jn as paymentSchema,
2370
+ eo as presets,
2371
+ to as registrationFormMetadata,
2372
+ ao as registrationSchema,
2373
+ At as sampleCompareRanges,
2374
+ Bt as sampleCustomMarkets,
2375
+ Ot as sampleDateRange,
2376
+ Gt as sampleMarketPresetData,
2377
+ Lt as sampleMarkets,
2378
+ Ht as samplePeriodPresets,
2379
+ Et as samplePreferences,
2380
+ $t as samplePresets,
2381
+ Vt as singleTab,
2382
+ wt as sparklineFixture,
2383
+ Nt as sparklineUpFixture,
2384
+ Fe as staleDonutFixture,
2385
+ Me as staleFixture,
2386
+ Pe as staleSparklineFixture,
2387
+ St as standardFixture,
2388
+ xt as standardFlatFixture,
2389
+ Wt as standardLayout,
2390
+ Tt as standardNegativeFixture,
2391
+ ye as statusChip,
2392
+ ft as tableSamples,
2393
+ gt as textSamples,
2394
+ ut as timeFrameTabGroup,
2395
+ Ao as toUppercasePresetId,
2396
+ it as useArrowNavigation,
2397
+ ro as useCheckboxGroupContext,
2398
+ vt as useEdgeHoverResize,
2399
+ no as useFilterLayout,
2400
+ oo as useFlipAndStage,
2401
+ so as useFlipAndStageContext,
2402
+ io as useFlipAndStageContextOptional,
2403
+ st as useFocusReturn,
2404
+ lo as useFocusTrap,
2405
+ co as useFormContext,
2406
+ uo as useRadioGroupContext,
2407
+ mo as useSlideOutReveal,
2408
+ je as useSortableZones,
2409
+ bo as useUIContext
2367
2410
  };