@mt-gloss/ui 0.0.15 → 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-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 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,132 +23,132 @@ function ut(e) {
23
23
  loop: n = !0,
24
24
  orientation: o = "vertical",
25
25
  enabled: s = !0,
26
- isItemDisabled: u,
26
+ isItemDisabled: d,
27
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);
28
+ onEscape: g
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
- ), 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) => {
36
- const C = h();
37
- if (C.length === 0) return -1;
38
- const O = C.indexOf(c);
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 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 ? 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
- [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(() => {
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
58
  l(-1);
59
- }, [l]), k = p(
60
- (c) => {
59
+ }, [l]), x = f(
60
+ (u) => {
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 } = 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
- c.preventDefault(), g === -1 ? x() : f();
68
+ u.preventDefault(), p === -1 ? T() : h();
69
69
  return;
70
70
  }
71
- if (y === "Home") {
72
- c.preventDefault(), x();
71
+ if (w === "Home") {
72
+ u.preventDefault(), T();
73
73
  return;
74
74
  }
75
- if (y === "End") {
76
- c.preventDefault(), i();
75
+ if (w === "End") {
76
+ u.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 === " ") && 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 (y === "Escape") {
86
- b?.();
85
+ if (w === "Escape") {
86
+ g?.();
87
87
  return;
88
88
  }
89
89
  },
90
90
  [
91
91
  s,
92
92
  o,
93
- g,
93
+ p,
94
94
  t,
95
- x,
95
+ T,
96
96
  i,
97
- f,
98
- w,
99
- u,
97
+ h,
98
+ N,
99
+ d,
100
100
  m,
101
- b
101
+ g
102
102
  ]
103
103
  );
104
104
  return {
105
- focusedIndex: g,
105
+ focusedIndex: p,
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: h,
111
+ focusPrevious: N,
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,42 +231,42 @@ 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, m] = M(null), g = F(null), y = 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
- const l = (h) => {
246
- h.key === "Escape" && s();
245
+ const l = (b) => {
246
+ b.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
- const l = (h) => {
252
- b.current && !b.current.contains(h.target) && s();
251
+ const l = (b) => {
252
+ g.current && !g.current.contains(b.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, p = /* @__PURE__ */ R(
257
257
  "div",
258
258
  {
259
- ref: b,
259
+ ref: g,
260
260
  "data-status-chip-menu": r,
261
261
  role: "menu",
262
262
  "aria-label": "Status actions",
263
- style: D(),
263
+ style: y(),
264
264
  children: [
265
- /* @__PURE__ */ d(
265
+ /* @__PURE__ */ c(
266
266
  "button",
267
267
  {
268
268
  role: "menuitem",
269
- style: Ie(u === "__primary"),
269
+ style: Ne(d === "__primary"),
270
270
  onMouseEnter: () => m("__primary"),
271
271
  onMouseLeave: () => m(null),
272
272
  onClick: () => {
@@ -275,11 +275,11 @@ function Re({
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"),
282
+ style: Y(d === "__graph"),
283
283
  onMouseEnter: () => m("__graph"),
284
284
  onMouseLeave: () => m(null),
285
285
  onClick: () => {
@@ -288,12 +288,12 @@ function Re({
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),
296
+ style: Y(d === l.id),
297
297
  onMouseEnter: () => m(l.id),
298
298
  onMouseLeave: () => m(null),
299
299
  onClick: () => {
@@ -306,13 +306,13 @@ function Re({
306
306
  ]
307
307
  }
308
308
  );
309
- return Ne(g, 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 u = t === "handle-visible" || t === "dragging";
315
- return /* @__PURE__ */ d(
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
- u ? "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: u ? 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__ */ d(
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 [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(
366
+ const [d, m] = M("idle"), g = F(null), y = F(null), D = f(() => {
367
+ g.current && (clearTimeout(g.current), g.current = null);
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
- m((f) => f !== "handle-visible" ? f : (D.current = i.clientX, "dragging"));
374
+ m((h) => h !== "handle-visible" ? h : (y.current = i.clientX, "dragging"));
375
375
  },
376
376
  []
377
- ), S = p(
377
+ ), S = f(
378
378
  (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)
379
+ m((h) => {
380
+ if (h !== "dragging") return h;
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 y = c > e ? "grow" : "shrink";
385
- return r({ direction: y, targetColSpan: c, 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 = 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();
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
+ const i = (h) => {
395
+ h.key === "Escape" && T();
396
396
  };
397
397
  return window.addEventListener("keydown", i), () => window.removeEventListener("keydown", i);
398
- }, [u, x]), G(() => () => N(), [N]), {
399
- state: u,
400
- enterEdgeZone: g,
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,
404
+ enterEdgeZone: p,
401
405
  leaveEdgeZone: l,
402
- handleProps: { onPointerDown: h, onPointerUp: S },
403
- ghostProps: { visible: u === "dragging", enterMs: o, exitMs: s }
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,25 +664,25 @@ function ne({
660
664
  activePageId: n,
661
665
  onPageChange: o,
662
666
  onCreatePage: s,
663
- onManagePages: u
667
+ onManagePages: d
664
668
  }) {
665
- const m = p(
666
- (g) => {
667
- o(g), t();
669
+ const m = f(
670
+ (p) => {
671
+ o(p), t();
668
672
  },
669
673
  [o, t]
670
- ), b = p(
671
- (g, l) => {
672
- (l.key === "Enter" || l.key === " ") && (l.preventDefault(), m(g));
674
+ ), g = f(
675
+ (p, l) => {
676
+ (l.key === "Enter" || l.key === " ") && (l.preventDefault(), m(p));
673
677
  },
674
678
  [m]
675
- ), D = p(() => {
679
+ ), y = f(() => {
676
680
  s(), t();
677
- }, [s, t]), N = p(() => {
678
- u(), t();
679
- }, [u, t]);
680
- return /* @__PURE__ */ _(
681
- we,
681
+ }, [s, t]), D = f(() => {
682
+ d(), t();
683
+ }, [d, t]);
684
+ return /* @__PURE__ */ R(
685
+ he,
682
686
  {
683
687
  definition: {
684
688
  placement: "bottom-end",
@@ -691,9 +695,9 @@ function ne({
691
695
  anchorRef: r,
692
696
  className: "gloss-page-dropdown",
693
697
  children: [
694
- /* @__PURE__ */ d("ul", { role: "menu", className: "gloss-page-dropdown__list", children: a.map((g) => {
695
- const l = g.id === n;
696
- 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(
697
701
  "li",
698
702
  {
699
703
  role: "menuitemradio",
@@ -701,45 +705,45 @@ function ne({
701
705
  "aria-current": l ? "page" : void 0,
702
706
  tabIndex: 0,
703
707
  className: `gloss-page-dropdown__item${l ? " gloss-page-dropdown__item--active" : ""}`,
704
- onClick: () => m(g.id),
705
- onKeyDown: (h) => b(g.id, h),
708
+ onClick: () => m(p.id),
709
+ onKeyDown: (b) => g(p.id, b),
706
710
  children: [
707
- /* @__PURE__ */ d(
711
+ /* @__PURE__ */ c(
708
712
  "span",
709
713
  {
710
714
  className: `gloss-page-dropdown__dot${l ? " gloss-page-dropdown__dot--active" : ""}`
711
715
  }
712
716
  ),
713
- /* @__PURE__ */ d(
717
+ /* @__PURE__ */ c(
714
718
  "span",
715
719
  {
716
- className: `gloss-page-dropdown__name${g.named ? "" : " gloss-page-dropdown__name--unnamed"}`,
717
- children: g.name
720
+ className: `gloss-page-dropdown__name${p.named ? "" : " gloss-page-dropdown__name--unnamed"}`,
721
+ children: p.name
718
722
  }
719
723
  ),
720
- /* @__PURE__ */ d("span", { className: "gloss-page-dropdown__count", children: g.cardCount })
724
+ /* @__PURE__ */ c("span", { className: "gloss-page-dropdown__count", children: p.cardCount })
721
725
  ]
722
726
  },
723
- g.id
727
+ p.id
724
728
  );
725
729
  }) }),
726
- /* @__PURE__ */ d("hr", { className: "gloss-page-dropdown__separator" }),
727
- /* @__PURE__ */ d(
730
+ /* @__PURE__ */ c("hr", { className: "gloss-page-dropdown__separator" }),
731
+ /* @__PURE__ */ c(
728
732
  "button",
729
733
  {
730
734
  role: "menuitem",
731
735
  className: "gloss-page-dropdown__action",
732
- onClick: D,
736
+ onClick: y,
733
737
  children: "+ New page"
734
738
  }
735
739
  ),
736
- /* @__PURE__ */ d("hr", { className: "gloss-page-dropdown__separator" }),
737
- /* @__PURE__ */ d(
740
+ /* @__PURE__ */ c("hr", { className: "gloss-page-dropdown__separator" }),
741
+ /* @__PURE__ */ c(
738
742
  "button",
739
743
  {
740
744
  role: "menuitem",
741
745
  className: "gloss-page-dropdown__action gloss-page-dropdown__action--muted",
742
- onClick: N,
746
+ onClick: D,
743
747
  children: "Manage pages"
744
748
  }
745
749
  )
@@ -748,21 +752,21 @@ function ne({
748
752
  );
749
753
  }
750
754
  ne.displayName = "PageDropdown";
751
- const Ge = function({
755
+ const Oe = function({
752
756
  currentIndex: t,
753
757
  total: r,
754
758
  pages: a,
755
759
  onPageChange: n,
756
760
  onCreatePage: o,
757
761
  onManagePages: s,
758
- maskRadius: u = "var(--gloss-radius-md)"
762
+ maskRadius: d = "var(--gloss-radius-md)"
759
763
  }) {
760
- const m = F(null), [b, D] = M(!1), N = p(() => {
761
- D((h) => !h);
762
- }, []), g = p(() => {
763
- D(!1);
764
+ const m = F(null), [g, y] = M(!1), D = f(() => {
765
+ y((b) => !b);
766
+ }, []), p = f(() => {
767
+ y(!1);
764
768
  }, []), l = a[t]?.id ?? "";
765
- return /* @__PURE__ */ _(
769
+ return /* @__PURE__ */ R(
766
770
  "div",
767
771
  {
768
772
  className: "gloss-page-chip",
@@ -770,21 +774,21 @@ const Ge = function({
770
774
  style: { position: "absolute", top: 0, right: 0 },
771
775
  "data-page-chip": !0,
772
776
  children: [
773
- /* @__PURE__ */ d(
777
+ /* @__PURE__ */ c(
774
778
  "div",
775
779
  {
776
780
  className: "gloss-page-chip__nuzzle",
777
- style: { "--_nuzzle-r": u }
781
+ style: { "--_nuzzle-r": d }
778
782
  }
779
783
  ),
780
- /* @__PURE__ */ _(
784
+ /* @__PURE__ */ R(
781
785
  "button",
782
786
  {
783
787
  className: "gloss-page-chip__trigger",
784
788
  "aria-haspopup": "menu",
785
- "aria-expanded": b,
789
+ "aria-expanded": g,
786
790
  "aria-label": `Page ${t + 1} of ${r}. Click to switch pages.`,
787
- onClick: N,
791
+ onClick: D,
788
792
  children: [
789
793
  t + 1,
790
794
  " / ",
@@ -792,11 +796,11 @@ const Ge = function({
792
796
  ]
793
797
  }
794
798
  ),
795
- /* @__PURE__ */ d(
799
+ /* @__PURE__ */ c(
796
800
  ne,
797
801
  {
798
- open: b,
799
- onDismiss: g,
802
+ open: g,
803
+ onDismiss: p,
800
804
  anchorRef: m,
801
805
  pages: a,
802
806
  activePageId: l,
@@ -809,8 +813,8 @@ const Ge = function({
809
813
  }
810
814
  );
811
815
  };
812
- Ge.displayName = "PageChip";
813
- const Mt = [
816
+ Oe.displayName = "PageChip";
817
+ const kt = [
814
818
  {
815
819
  id: "ORD-1001",
816
820
  orderNumber: "ORD-1001",
@@ -943,7 +947,7 @@ const Mt = [
943
947
  date: "2026-03-01",
944
948
  skuCount: 9
945
949
  }
946
- ], Pt = [
950
+ ], It = [
947
951
  {
948
952
  id: "ITEM-001",
949
953
  sku: "PB-4520",
@@ -1077,7 +1081,7 @@ const Mt = [
1077
1081
  lastDate: "2026-03-01"
1078
1082
  }
1079
1083
  ];
1080
- function Z(e) {
1084
+ function q(e) {
1081
1085
  return "$" + e.toLocaleString("en-US", { minimumFractionDigits: 2, maximumFractionDigits: 2 });
1082
1086
  }
1083
1087
  function oe(e) {
@@ -1086,7 +1090,7 @@ function oe(e) {
1086
1090
  function se(e) {
1087
1091
  return new Date(e).toLocaleDateString("en-US", { month: "short", day: "numeric", year: "numeric" });
1088
1092
  }
1089
- 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 = [
1090
1094
  {
1091
1095
  field: "id",
1092
1096
  headerName: "Order",
@@ -1116,7 +1120,7 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
1116
1120
  align: "right",
1117
1121
  headerAlign: "right",
1118
1122
  cellClassName: "gloss-tabular-nums",
1119
- renderCell: ({ row: e }) => e.skuCount ? oe(e.skuCount) : z
1123
+ renderCell: ({ row: e }) => e.skuCount ? oe(e.skuCount) : H
1120
1124
  },
1121
1125
  {
1122
1126
  field: "total",
@@ -1126,7 +1130,7 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
1126
1130
  align: "right",
1127
1131
  headerAlign: "right",
1128
1132
  cellClassName: "gloss-tabular-nums",
1129
- renderCell: ({ row: e }) => e.total ? Z(e.total) : z
1133
+ renderCell: ({ row: e }) => e.total ? q(e.total) : H
1130
1134
  },
1131
1135
  {
1132
1136
  field: "date",
@@ -1138,7 +1142,7 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
1138
1142
  cellClassName: "gloss-tabular-nums",
1139
1143
  renderCell: ({ row: e }) => e.date ? se(e.date) : ""
1140
1144
  }
1141
- ], Ot = [
1145
+ ], Rt = [
1142
1146
  {
1143
1147
  field: "sku",
1144
1148
  headerName: "Item ID",
@@ -1170,7 +1174,7 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
1170
1174
  align: "right",
1171
1175
  headerAlign: "right",
1172
1176
  cellClassName: "gloss-tabular-nums",
1173
- renderCell: ({ row: e }) => e.price ? Z(e.price) : z
1177
+ renderCell: ({ row: e }) => e.price ? q(e.price) : H
1174
1178
  },
1175
1179
  {
1176
1180
  field: "quantity",
@@ -1180,7 +1184,7 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
1180
1184
  align: "right",
1181
1185
  headerAlign: "right",
1182
1186
  cellClassName: "gloss-tabular-nums gloss-drillable",
1183
- renderCell: ({ row: e }) => e.quantity ? oe(e.quantity) : z
1187
+ renderCell: ({ row: e }) => e.quantity ? oe(e.quantity) : H
1184
1188
  },
1185
1189
  {
1186
1190
  field: "total",
@@ -1190,7 +1194,7 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
1190
1194
  align: "right",
1191
1195
  headerAlign: "right",
1192
1196
  cellClassName: "gloss-tabular-nums gloss-drillable",
1193
- renderCell: ({ row: e }) => e.total ? Z(e.total) : z
1197
+ renderCell: ({ row: e }) => e.total ? q(e.total) : H
1194
1198
  },
1195
1199
  {
1196
1200
  field: "lastDate",
@@ -1202,21 +1206,21 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
1202
1206
  cellClassName: "gloss-tabular-nums",
1203
1207
  renderCell: ({ row: e }) => e.lastDate ? se(e.lastDate) : ""
1204
1208
  }
1205
- ], ze = [
1209
+ ], Ae = [
1206
1210
  { id: "c-001", label: "ABC Home Goods" },
1207
1211
  { id: "c-002", label: "Riverside Retail" },
1208
1212
  { id: "c-003", label: "Mountain View Store" },
1209
1213
  { id: "c-004", label: "Downtown Decor" },
1210
1214
  { id: "c-005", label: "Pacific Coast Imports" }
1211
- ], He = [
1215
+ ], Ee = [
1212
1216
  { id: "i-001", label: "Classic Linen Throw Pillow" },
1213
1217
  { id: "i-002", label: "Coastal Wave Candle Set" },
1214
1218
  { id: "i-003", label: "Walnut Console Table" },
1215
1219
  { id: "i-004", label: "Hand-Blown Glass Vase" },
1216
1220
  { id: "i-005", label: "Velvet Accent Cushion" }
1217
- ], $ = (e) => {
1218
- }, $e = (e) => {
1219
- }, te = (e, t) => {
1221
+ ], W = (e) => {
1222
+ }, Le = (e) => {
1223
+ }, ee = (e, t) => {
1220
1224
  }, ie = {
1221
1225
  vizState: {
1222
1226
  type: "orders",
@@ -1225,16 +1229,16 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
1225
1229
  byItem: { id: null, name: null },
1226
1230
  timeFrame: "MTD"
1227
1231
  },
1228
- onTypeChange: $,
1229
- onQuantChange: $e,
1230
- onEntityTypeChange: $,
1231
- onEntitySelect: te,
1232
- onItemSelect: te,
1233
- onTimeFrameChange: $,
1232
+ onTypeChange: W,
1233
+ onQuantChange: Le,
1234
+ onEntityTypeChange: W,
1235
+ onEntitySelect: ee,
1236
+ onItemSelect: ee,
1237
+ onTimeFrameChange: W,
1234
1238
  userType: "sales-agency",
1235
- entityFilterOptions: ze,
1236
- itemFilterOptions: He
1237
- }, At = {
1239
+ entityFilterOptions: Ae,
1240
+ itemFilterOptions: Ee
1241
+ }, Mt = {
1238
1242
  ...ie,
1239
1243
  vizState: {
1240
1244
  type: "items",
@@ -1243,7 +1247,7 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
1243
1247
  byItem: { id: "i-003", name: "Walnut Console Table" },
1244
1248
  timeFrame: "YTD"
1245
1249
  }
1246
- }, Et = {
1250
+ }, Pt = {
1247
1251
  ...ie,
1248
1252
  vizState: {
1249
1253
  type: "orders",
@@ -1256,7 +1260,7 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
1256
1260
  entityFilterOptions: [
1257
1261
  { id: "customers", label: "Customers" }
1258
1262
  ]
1259
- }, Ke = [
1263
+ }, Be = [
1260
1264
  {
1261
1265
  id: "recent-orders",
1262
1266
  label: "Recent Orders",
@@ -1302,7 +1306,7 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
1302
1306
  routeKey: "customer.profile",
1303
1307
  subtitle: "Opens in RepTime"
1304
1308
  }
1305
- ], We = [
1309
+ ], Ge = [
1306
1310
  {
1307
1311
  id: "order-items",
1308
1312
  label: "Items in Order",
@@ -1331,7 +1335,7 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
1331
1335
  cellKinds: ["orderId"],
1332
1336
  graphType: "timeline"
1333
1337
  }
1334
- ], Ze = [
1338
+ ], $e = [
1335
1339
  {
1336
1340
  id: "graph-metric",
1337
1341
  label: "Graph This Metric",
@@ -1359,14 +1363,14 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
1359
1363
  cellKinds: ["numeric"],
1360
1364
  tabType: "orders"
1361
1365
  }
1362
- ], Lt = {
1363
- entityName: Ke,
1364
- orderId: We,
1365
- numeric: Ze
1366
- }, Bt = [
1366
+ ], Ft = {
1367
+ entityName: Be,
1368
+ orderId: Ge,
1369
+ numeric: $e
1370
+ }, Ot = [
1367
1371
  new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), (/* @__PURE__ */ new Date()).getDate() - 29),
1368
1372
  /* @__PURE__ */ new Date()
1369
- ], Gt = {
1373
+ ], At = {
1370
1374
  rangeA: [
1371
1375
  new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), 1),
1372
1376
  /* @__PURE__ */ new Date()
@@ -1379,7 +1383,7 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
1379
1383
  new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth() - 2, 1),
1380
1384
  new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth() - 1, 0)
1381
1385
  ]
1382
- }, zt = {
1386
+ }, Et = {
1383
1387
  version: 4,
1384
1388
  lastPreset: "mtd",
1385
1389
  pinnedPreset: "mtd",
@@ -1387,7 +1391,7 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
1387
1391
  rangeCount: 1,
1388
1392
  lastPresetB: null,
1389
1393
  lastPresetC: null
1390
- }, Ht = [
1394
+ }, Lt = [
1391
1395
  {
1392
1396
  id: "atlanta-jan",
1393
1397
  label: "Atlanta Market",
@@ -1409,7 +1413,7 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
1409
1413
  endDate: new Date(2026, 3, 22),
1410
1414
  location: "Chicago, IL"
1411
1415
  }
1412
- ], $t = [
1416
+ ], Bt = [
1413
1417
  {
1414
1418
  id: "custom-regional-1",
1415
1419
  label: "Southeast Regional Expo",
@@ -1426,7 +1430,7 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
1426
1430
  location: "Portland, OR",
1427
1431
  isCustom: !0
1428
1432
  }
1429
- ], Kt = [
1433
+ ], Gt = [
1430
1434
  {
1431
1435
  id: "atlanta-jan",
1432
1436
  label: "Atlanta Market",
@@ -1443,12 +1447,12 @@ const z = R.createElement("span", { style: { color: "var(--color-text-muted)" }
1443
1447
  location: "New York, NY",
1444
1448
  active: !0
1445
1449
  }
1446
- ], Wt = [
1450
+ ], $t = [
1447
1451
  { id: "7d", label: "7D" },
1448
1452
  { id: "30d", label: "30D" },
1449
1453
  { id: "60d", label: "60D" },
1450
1454
  { id: "90d", label: "90D" }
1451
- ], Zt = [
1455
+ ], Ht = [
1452
1456
  { id: "mtd", label: "MTD" },
1453
1457
  { id: "qtd", label: "QTD" },
1454
1458
  { id: "ytd", label: "YTD" },
@@ -1458,7 +1462,7 @@ function P(e, t) {
1458
1462
  return {
1459
1463
  id: e,
1460
1464
  colSpan: 1,
1461
- content: R.createElement("div", {
1465
+ content: I.createElement("div", {
1462
1466
  style: {
1463
1467
  width: "100%",
1464
1468
  height: "100%",
@@ -1474,38 +1478,38 @@ function P(e, t) {
1474
1478
  }, t)
1475
1479
  };
1476
1480
  }
1477
- function ae(e, t) {
1481
+ function te(e, t) {
1478
1482
  return {
1479
1483
  ...P(e, t),
1480
1484
  colSpan: 2
1481
1485
  };
1482
1486
  }
1483
- const Yt = [
1487
+ const zt = [
1484
1488
  P("total-revenue", "Total Revenue"),
1485
1489
  P("total-orders", "Total Orders"),
1486
- ae("revenue-trend", "Revenue Trend (2x)"),
1490
+ te("revenue-trend", "Revenue Trend (2x)"),
1487
1491
  P("avg-order", "Avg Order Value"),
1488
1492
  P("new-customers", "New Customers"),
1489
1493
  P("top-salesperson", "Top Salesperson"),
1490
- ae("order-trend", "Order Trend (2x)"),
1494
+ te("order-trend", "Order Trend (2x)"),
1491
1495
  P("repeat-rate", "Repeat Rate"),
1492
1496
  P("open-orders", "Open Orders"),
1493
1497
  P("shipped-orders", "Shipped Orders")
1494
- ], qt = {
1498
+ ], Kt = {
1495
1499
  columns: 6,
1496
1500
  rowHeight: 120,
1497
1501
  gap: 15,
1498
1502
  maxRows: 3,
1499
1503
  currentPage: 0,
1500
1504
  totalPages: 1
1501
- }, Vt = {
1505
+ }, Wt = {
1502
1506
  columns: 9,
1503
1507
  rowHeight: 120,
1504
1508
  gap: 15,
1505
1509
  maxRows: 3,
1506
1510
  currentPage: 0,
1507
1511
  totalPages: 2
1508
- }, Ut = {
1512
+ }, Zt = {
1509
1513
  columns: 12,
1510
1514
  rowHeight: 120,
1511
1515
  gap: 15,
@@ -1513,15 +1517,15 @@ const Yt = [
1513
1517
  currentPage: 0,
1514
1518
  totalPages: 3
1515
1519
  };
1516
- function K(e) {
1517
- return R.createElement("span", { style: { fontSize: 14 } }, e);
1520
+ function Z(e) {
1521
+ return I.createElement("span", { style: { fontSize: 14 } }, e);
1518
1522
  }
1519
- const jt = [
1523
+ const Yt = [
1520
1524
  {
1521
1525
  id: "all-orders",
1522
1526
  type: "orders",
1523
1527
  name: "All Orders",
1524
- icon: K("📋"),
1528
+ icon: Z("📋"),
1525
1529
  closable: !1,
1526
1530
  autoCreated: !0
1527
1531
  },
@@ -1529,17 +1533,17 @@ const jt = [
1529
1533
  id: "open-orders",
1530
1534
  type: "orders",
1531
1535
  name: "Open Orders",
1532
- icon: K("📦"),
1536
+ icon: Z("📦"),
1533
1537
  closable: !0
1534
1538
  },
1535
1539
  {
1536
1540
  id: "shipped-orders",
1537
1541
  type: "orders",
1538
1542
  name: "Shipped Orders",
1539
- icon: K("🚚"),
1543
+ icon: Z("🚚"),
1540
1544
  closable: !0
1541
1545
  }
1542
- ], Qt = [
1546
+ ], qt = [
1543
1547
  {
1544
1548
  id: "orders-main",
1545
1549
  type: "orders",
@@ -1565,7 +1569,7 @@ const jt = [
1565
1569
  name: "Customers",
1566
1570
  closable: !0
1567
1571
  }
1568
- ], Xt = [
1572
+ ], Vt = [
1569
1573
  {
1570
1574
  id: "only-tab",
1571
1575
  type: "orders",
@@ -1573,7 +1577,7 @@ const jt = [
1573
1577
  closable: !1,
1574
1578
  autoCreated: !0
1575
1579
  }
1576
- ], Jt = [
1580
+ ], Ut = [
1577
1581
  { id: "tab-1", type: "orders", name: "All Orders", closable: !1, autoCreated: !0 },
1578
1582
  { id: "tab-2", type: "orders", name: "Open Orders", closable: !0 },
1579
1583
  { id: "tab-3", type: "orders", name: "Shipped Orders", closable: !0 },
@@ -1585,7 +1589,7 @@ const jt = [
1585
1589
  { id: "tab-9", type: "order-items", name: "Order #12345", closable: !0 },
1586
1590
  { id: "tab-10", type: "orders", name: "Recent 30D", closable: !0 }
1587
1591
  ];
1588
- function Y(e) {
1592
+ function V(e) {
1589
1593
  switch (e) {
1590
1594
  case "wide":
1591
1595
  return { cols: 2, rows: 1 };
@@ -1596,24 +1600,24 @@ function Y(e) {
1596
1600
  return { cols: 1, rows: 1 };
1597
1601
  }
1598
1602
  }
1599
- function Ye(e) {
1603
+ function He(e) {
1600
1604
  let t = 0;
1601
1605
  for (const a of e) {
1602
- 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;
1603
1607
  o > t && (t = o);
1604
1608
  }
1605
1609
  return `repeat(${t > 0 ? t : Math.max(e.length, 1)}, minmax(0, 1fr))`;
1606
1610
  }
1607
- const qe = function(t) {
1611
+ const ze = function(t) {
1608
1612
  if (t.renderMode === "discrete")
1609
- return /* @__PURE__ */ d(
1613
+ return /* @__PURE__ */ c(
1610
1614
  "div",
1611
1615
  {
1612
1616
  className: "gloss-metric-group gloss-metric-group--discrete",
1613
1617
  style: { display: "contents" },
1614
1618
  children: t.cards.map((n) => {
1615
- const o = Y(n.size);
1616
- return /* @__PURE__ */ d(
1619
+ const o = V(n.size);
1620
+ return /* @__PURE__ */ c(
1617
1621
  "div",
1618
1622
  {
1619
1623
  className: "gloss-metric-group__slot",
@@ -1629,7 +1633,7 @@ const qe = function(t) {
1629
1633
  }
1630
1634
  );
1631
1635
  const { cards: r, composite: a } = t;
1632
- return /* @__PURE__ */ _(
1636
+ return /* @__PURE__ */ R(
1633
1637
  "div",
1634
1638
  {
1635
1639
  className: "gloss-metric-group gloss-metric-group--composite",
@@ -1648,16 +1652,16 @@ const qe = function(t) {
1648
1652
  "aria-label": a?.label,
1649
1653
  tabIndex: void 0,
1650
1654
  children: [
1651
- a?.accentColor && /* @__PURE__ */ d(
1655
+ a?.accentColor && /* @__PURE__ */ c(
1652
1656
  "div",
1653
1657
  {
1654
1658
  className: "gloss-metric-group__accent",
1655
1659
  style: { background: a.accentColor }
1656
1660
  }
1657
1661
  ),
1658
- a?.label && /* @__PURE__ */ _("div", { className: "gloss-metric-group__label", children: [
1659
- /* @__PURE__ */ d("span", { children: a.label }),
1660
- a?.trend && /* @__PURE__ */ d(
1662
+ a?.label && /* @__PURE__ */ R("div", { className: "gloss-metric-group__label", children: [
1663
+ /* @__PURE__ */ c("span", { children: a.label }),
1664
+ a?.trend && /* @__PURE__ */ c(
1661
1665
  "span",
1662
1666
  {
1663
1667
  className: "gloss-metric-group__trend",
@@ -1666,18 +1670,18 @@ const qe = function(t) {
1666
1670
  }
1667
1671
  )
1668
1672
  ] }),
1669
- /* @__PURE__ */ d(
1673
+ /* @__PURE__ */ c(
1670
1674
  "div",
1671
1675
  {
1672
1676
  className: "gloss-metric-group__slots",
1673
1677
  style: {
1674
1678
  display: "grid",
1675
1679
  gap: "var(--gloss-spacing-2, 8px)",
1676
- gridTemplateColumns: Ye(r)
1680
+ gridTemplateColumns: He(r)
1677
1681
  },
1678
1682
  children: r.map((n) => {
1679
- const o = Y(n.size);
1680
- return /* @__PURE__ */ d(
1683
+ const o = V(n.size);
1684
+ return /* @__PURE__ */ c(
1681
1685
  "div",
1682
1686
  {
1683
1687
  className: "gloss-metric-group__slot--composite",
@@ -1696,7 +1700,7 @@ const qe = function(t) {
1696
1700
  }
1697
1701
  );
1698
1702
  };
1699
- qe.displayName = "MetricGroupContainer";
1703
+ ze.displayName = "MetricGroupContainer";
1700
1704
  const L = {
1701
1705
  "gloss-inline-nudge": "_gloss-inline-nudge_kdk88_34",
1702
1706
  "gloss-inline-nudge__message": "_gloss-inline-nudge__message_kdk88_65",
@@ -1705,44 +1709,44 @@ const L = {
1705
1709
  "gloss-inline-nudge__btn--action": "_gloss-inline-nudge__btn--action_kdk88_88",
1706
1710
  "gloss-inline-nudge__btn--dismiss": "_gloss-inline-nudge__btn--dismiss_kdk88_96"
1707
1711
  };
1708
- function Ve({
1712
+ function Ke({
1709
1713
  message: e,
1710
1714
  primaryAction: t,
1711
1715
  onDismiss: r,
1712
1716
  anchorEl: a,
1713
1717
  anchorSelector: n
1714
1718
  }) {
1715
- const [o, s] = R.useState(null), u = R.useMemo(
1719
+ const [o, s] = I.useState(null), d = I.useMemo(
1716
1720
  () => typeof window < "u" && window.matchMedia ? window.matchMedia("(prefers-reduced-motion: reduce)").matches : !1,
1717
1721
  []
1718
1722
  );
1719
- R.useEffect(() => {
1723
+ I.useEffect(() => {
1720
1724
  !a && !n && (typeof process > "u" || process.env.NODE_ENV !== "production") && console.error(
1721
1725
  "[InlineNudge] requires anchorEl or anchorSelector. AP-07: Do not mount InlineNudge in Layout/** or _app.tsx."
1722
1726
  );
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();
1727
+ }, [a, n]), I.useLayoutEffect(() => {
1728
+ let g = null;
1729
+ if (a ? g = a : n && (g = document.querySelector(n)), g) {
1730
+ const y = g.getBoundingClientRect();
1727
1731
  s({
1728
- top: D.bottom + window.scrollY + 6,
1729
- left: D.left + window.scrollX
1732
+ top: y.bottom + window.scrollY + 6,
1733
+ left: y.left + window.scrollX
1730
1734
  });
1731
1735
  }
1732
1736
  }, [a, n]);
1733
1737
  const m = o ? { top: o.top, left: o.left } : {};
1734
- return /* @__PURE__ */ _(
1738
+ return /* @__PURE__ */ R(
1735
1739
  "div",
1736
1740
  {
1737
1741
  className: L["gloss-inline-nudge"],
1738
1742
  style: m,
1739
1743
  role: "status",
1740
1744
  "aria-live": "polite",
1741
- "data-reduced-motion": u ? "true" : void 0,
1745
+ "data-reduced-motion": d ? "true" : void 0,
1742
1746
  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(
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(
1746
1750
  "button",
1747
1751
  {
1748
1752
  type: "button",
@@ -1751,7 +1755,7 @@ function Ve({
1751
1755
  children: t.label
1752
1756
  }
1753
1757
  ),
1754
- /* @__PURE__ */ d(
1758
+ /* @__PURE__ */ c(
1755
1759
  "button",
1756
1760
  {
1757
1761
  type: "button",
@@ -1766,80 +1770,80 @@ function Ve({
1766
1770
  }
1767
1771
  );
1768
1772
  }
1769
- Ve.displayName = "InlineNudge";
1773
+ Ke.displayName = "InlineNudge";
1770
1774
  function le(e) {
1771
1775
  return e.colorToken ? `var(--gloss-color-${e.colorToken}, ${e.color ?? "#888"})` : e.color ?? "#888";
1772
1776
  }
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)}%`;
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)}%`;
1777
1781
  });
1778
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(", ")})`;
1779
1783
  }
1780
- function je({
1784
+ function Ze({
1781
1785
  stops: e,
1782
1786
  onChange: t,
1783
1787
  min: r = 0,
1784
1788
  max: a = 100,
1785
1789
  disabled: n = !1
1786
1790
  }) {
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(
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(
1790
1794
  (i) => {
1791
1795
  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;
1796
+ const h = o.current.getBoundingClientRect(), N = Math.max(0, Math.min(1, (i - h.left) / h.width)), C = r + N * (a - r);
1797
+ return Math.round(C * 100) / 100;
1794
1798
  },
1795
1799
  [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));
1800
+ ), l = f(
1801
+ (i, 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));
1800
1804
  },
1801
1805
  [n, m]
1802
- ), h = p(
1806
+ ), b = f(
1803
1807
  (i) => {
1804
1808
  if (!s) return;
1805
- const f = g(i.clientX);
1806
- b(
1807
- (w) => w.map((v) => v.id === s ? { ...v, value: f } : v)
1809
+ const h = p(i.clientX);
1810
+ g(
1811
+ (N) => N.map((C) => C.id === s ? { ...C, value: h } : C)
1808
1812
  );
1809
1813
  },
1810
- [s, g]
1811
- ), S = p(
1814
+ [s, p]
1815
+ ), S = f(
1812
1816
  (i) => {
1813
1817
  if (!s) return;
1814
- const f = g(i.clientX), w = m.map(
1815
- (v) => v.id === s ? { ...v, value: f } : v
1818
+ const h = p(i.clientX), N = m.map(
1819
+ (C) => C.id === s ? { ...C, value: h } : C
1816
1820
  );
1817
- b(w), u(null), t(w);
1821
+ g(N), d(null), t(N);
1818
1822
  },
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(
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(
1822
1826
  "div",
1823
1827
  {
1824
1828
  ref: o,
1825
1829
  className: "gloss-threshold-ramp__track",
1826
- style: { background: N },
1827
- onPointerMove: h,
1830
+ style: { background: D },
1831
+ onPointerMove: b,
1828
1832
  onPointerUp: S,
1829
1833
  onPointerLeave: S,
1830
1834
  children: m.map((i) => {
1831
- const f = (i.value - r) / x * 100;
1832
- return /* @__PURE__ */ d(
1835
+ const h = (i.value - r) / T * 100;
1836
+ return /* @__PURE__ */ c(
1833
1837
  "span",
1834
1838
  {
1835
1839
  className: "gloss-threshold-ramp__stop",
1836
1840
  style: {
1837
- left: `${f}%`,
1841
+ left: `${h}%`,
1838
1842
  color: le(i)
1839
1843
  },
1840
1844
  "data-disabled": i.disabled || void 0,
1841
1845
  "data-dragging": s === i.id || void 0,
1842
- onPointerDown: (w) => l(w, i.id),
1846
+ onPointerDown: (N) => l(N, i.id),
1843
1847
  "aria-label": i.label ?? `Stop at ${i.value}`,
1844
1848
  role: "slider",
1845
1849
  "aria-valuenow": i.value,
@@ -1853,16 +1857,16 @@ function je({
1853
1857
  }
1854
1858
  ) });
1855
1859
  }
1856
- je.displayName = "ThresholdRamp";
1857
- const de = ye(null);
1858
- function Qe() {
1859
- return De(de);
1860
+ Ze.displayName = "ThresholdRamp";
1861
+ const de = be(null);
1862
+ function Ye() {
1863
+ return fe(de);
1860
1864
  }
1861
- function Xe({ option: e }) {
1862
- const t = Qe(), r = t?.isSelected(e.value) ?? !1, a = e.disabled || t?.groupDisabled, n = p(() => {
1865
+ function qe({ option: e }) {
1866
+ const t = Ye(), r = t?.isSelected(e.value) ?? !1, a = e.disabled || t?.groupDisabled, n = f(() => {
1863
1867
  a || t?.select(e.value);
1864
1868
  }, [a, t, e.value]), o = e.colorToken ? `var(--gloss-color-${e.colorToken}, ${e.color ?? "#888"})` : e.color ?? "#888";
1865
- return /* @__PURE__ */ d(
1869
+ return /* @__PURE__ */ c(
1866
1870
  "button",
1867
1871
  {
1868
1872
  type: "button",
@@ -1879,7 +1883,7 @@ function Xe({ option: e }) {
1879
1883
  }
1880
1884
  );
1881
1885
  }
1882
- function Je({
1886
+ function Ve({
1883
1887
  swatches: e,
1884
1888
  value: t,
1885
1889
  defaultValue: r,
@@ -1887,22 +1891,22 @@ function Je({
1887
1891
  disabled: n = !1,
1888
1892
  name: o
1889
1893
  }) {
1890
- const s = t !== void 0, [u, m] = M(r), b = s ? t : u, D = p(
1894
+ const s = t !== void 0, [d, m] = M(r), g = s ? t : d, y = f(
1891
1895
  (l) => {
1892
1896
  s || m(l), a?.(l);
1893
1897
  },
1894
1898
  [s, a]
1895
- ), N = p(
1896
- (l) => b === l,
1897
- [b]
1898
- ), g = {
1899
- selectedValue: b,
1900
- select: D,
1901
- isSelected: N,
1899
+ ), D = f(
1900
+ (l) => g === l,
1901
+ [g]
1902
+ ), p = {
1903
+ selectedValue: g,
1904
+ select: y,
1905
+ isSelected: D,
1902
1906
  groupDisabled: n,
1903
1907
  name: o
1904
1908
  };
1905
- return /* @__PURE__ */ d(de.Provider, { value: g, children: /* @__PURE__ */ d(
1909
+ return /* @__PURE__ */ c(de.Provider, { value: p, children: /* @__PURE__ */ c(
1906
1910
  "div",
1907
1911
  {
1908
1912
  className: "gloss-preset-swatch-row",
@@ -1910,102 +1914,102 @@ function Je({
1910
1914
  "aria-label": o,
1911
1915
  "aria-disabled": n,
1912
1916
  "data-disabled": n || void 0,
1913
- children: e.map((l) => /* @__PURE__ */ d(Xe, { option: l }, l.value))
1917
+ children: e.map((l) => /* @__PURE__ */ c(qe, { option: l }, l.value))
1914
1918
  }
1915
1919
  ) });
1916
1920
  }
1917
- Je.displayName = "PresetSwatchRow";
1918
- function q(e, t) {
1921
+ Ve.displayName = "PresetSwatchRow";
1922
+ function U(e, t) {
1919
1923
  for (const r of e)
1920
1924
  if (r.items.some((a) => a.id === t))
1921
1925
  return r.zoneKey;
1922
1926
  return null;
1923
1927
  }
1924
- function re(e, t) {
1928
+ function ae(e, t) {
1925
1929
  const r = e.find((a) => a.zoneKey === t);
1926
- return r ? r.zoneKey : q(e, t);
1930
+ return r ? r.zoneKey : U(e, t);
1927
1931
  }
1928
- function et(e, t, r) {
1932
+ function Ue(e, t, r) {
1929
1933
  const a = [...e], [n] = a.splice(t, 1);
1930
1934
  return a.splice(r, 0, n), a;
1931
1935
  }
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);
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);
1934
1938
  m.current = e.onZoneChange;
1935
- const b = p(
1936
- (h) => {
1937
- 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;
1939
+ const g = f(
1940
+ (b) => {
1941
+ const S = b.active.id;
1942
+ let T = null, i = null;
1943
+ for (const h of t) {
1944
+ const N = h.items.find((C) => C.id === S);
1945
+ if (N) {
1946
+ T = N, i = h.zoneKey;
1943
1947
  break;
1944
1948
  }
1945
1949
  }
1946
- u.current = i, n(x), s(i);
1950
+ d.current = i, n(T), s(i);
1947
1951
  },
1948
1952
  [t]
1949
- ), D = p(
1950
- (h) => {
1951
- if (!h.over) {
1952
- s(u.current);
1953
+ ), y = f(
1954
+ (b) => {
1955
+ if (!b.over) {
1956
+ s(d.current);
1953
1957
  return;
1954
1958
  }
1955
- const S = re(t, h.over.id);
1959
+ const S = ae(t, b.over.id);
1956
1960
  s(S);
1957
1961
  },
1958
1962
  [t]
1959
- ), N = p(
1960
- (h) => {
1961
- const { active: S, over: x } = h, i = () => {
1962
- u.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);
1963
1967
  };
1964
- if (!x) {
1968
+ if (!T) {
1965
1969
  i();
1966
1970
  return;
1967
1971
  }
1968
- const f = q(t, S.id), w = re(t, x.id);
1969
- if (!f || !w) {
1972
+ const h = U(t, S.id), N = ae(t, T.id);
1973
+ if (!h || !N) {
1970
1974
  i();
1971
1975
  return;
1972
1976
  }
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)
1977
+ let C = t.map((x) => ({ ...x, items: [...x.items] }));
1978
+ if (h === N) {
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)
1979
1983
  };
1980
1984
  } 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];
1983
- 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];
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, _];
1986
1990
  }
1987
- const J = Math.min(B, A.length), fe = [
1988
- ...A.slice(0, J),
1991
+ const X = Math.min(G, A.length), me = [
1992
+ ...A.slice(0, X),
1989
1993
  O,
1990
- ...A.slice(J)
1994
+ ...A.slice(X)
1991
1995
  ];
1992
- v[k] = { ...y, items: X }, v[c] = { ...C, items: fe };
1996
+ C[x] = { ...w, items: Q }, C[u] = { ...v, items: me };
1993
1997
  }
1994
- r(v), m.current?.(v), i();
1998
+ r(C), m.current?.(C), i();
1995
1999
  },
1996
2000
  [t]
1997
- ), g = p(
1998
- (h) => ({
1999
- id: h,
2000
- "data-zone-key": h
2001
+ ), p = f(
2002
+ (b) => ({
2003
+ id: b,
2004
+ "data-zone-key": b
2001
2005
  }),
2002
2006
  []
2003
- ), l = p(
2004
- (h) => {
2005
- const S = q(t, h.id) ?? "";
2007
+ ), l = f(
2008
+ (b) => {
2009
+ const S = U(t, b.id) ?? "";
2006
2010
  return {
2007
- id: h.id,
2008
- "data-item-id": h.id,
2011
+ id: b.id,
2012
+ "data-item-id": b.id,
2009
2013
  "data-zone-key": S
2010
2014
  };
2011
2015
  },
@@ -2015,360 +2019,392 @@ function tt(e) {
2015
2019
  zones: t,
2016
2020
  activeZone: o,
2017
2021
  activeItem: a,
2018
- getZoneProps: g,
2022
+ getZoneProps: p,
2019
2023
  getItemProps: l,
2020
- handleDragStart: b,
2021
- handleDragOver: D,
2022
- handleDragEnd: N
2024
+ handleDragStart: g,
2025
+ handleDragOver: y,
2026
+ handleDragEnd: D
2023
2027
  };
2024
2028
  }
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 {
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);
2035
2047
  }
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,
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,
2040
2060
  {
2041
2061
  state: s,
2062
+ modules: d,
2042
2063
  renderZone: a,
2043
2064
  renderItem: n,
2044
2065
  renderDragOverlay: o
2045
2066
  }
2046
- );
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
+ }) });
2047
2071
  }
2048
- at.displayName = "SortableZones";
2049
- function he({
2072
+ Xe.displayName = "SortableZones";
2073
+ function ce({
2050
2074
  state: e,
2051
- renderZone: t,
2052
- renderItem: r,
2053
- renderDragOverlay: a
2075
+ modules: t,
2076
+ renderZone: r,
2077
+ renderItem: a,
2078
+ renderDragOverlay: n
2054
2079
  }) {
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,
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,
2061
2086
  {
2062
- sensors: n,
2063
- collisionDetection: pe,
2087
+ sensors: i,
2088
+ collisionDetection: b,
2064
2089
  onDragStart: e.handleDragStart,
2065
2090
  onDragOver: e.handleDragOver,
2066
2091
  onDragEnd: e.handleDragEnd,
2067
2092
  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,
2093
+ e.zones.map((x) => {
2094
+ const u = x.items.map((v) => v.id), w = x.items.map((v) => /* @__PURE__ */ c(
2095
+ ue,
2072
2096
  {
2073
- items: b,
2074
- strategy: be,
2075
- children: t(m.zoneKey, m.items)
2076
- }
2077
- ) }, m.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);
2078
2105
  }),
2079
- /* @__PURE__ */ d(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 })
2080
2107
  ]
2081
2108
  }
2082
2109
  );
2083
2110
  }
2084
- he.displayName = "SortableZonesInner";
2085
- 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) => {
2086
2122
  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 }) });
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 }) });
2088
2124
  });
2089
- rt.displayName = "ContainerToolbar";
2090
- 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) => {
2091
2127
  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 })
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 })
2096
2132
  ] });
2097
2133
  });
2098
- nt.displayName = "ContainerFormSection";
2099
- 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) => {
2100
2136
  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 }) });
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 }) });
2102
2138
  });
2103
- ot.displayName = "ContainerTable";
2139
+ tt.displayName = "ContainerTable";
2104
2140
  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,
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,
2213
2249
  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,
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,
2286
2322
  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
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
2374
2410
  };