@mt-gloss/ui 0.0.15 → 0.0.17

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