@mt-gloss/ui 0.0.21 → 0.0.23
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/{Expandable-yVIypRqF.js → Expandable-BYdvJg3S.js} +5098 -4966
- package/catalog.js +92 -91
- package/index.d.ts +4 -0
- package/index.js +291 -288
- package/lib/facade/data-display.d.ts +2 -2
- package/lib/primitives/dashboard/MetricCard/CardShell.d.ts +1 -1
- package/lib/primitives/dashboard/MetricCard/index.d.ts +0 -2
- package/lib/primitives/dashboard/MetricCard/overflowMenuRegistry.d.ts +1 -25
- package/lib/primitives/dashboard/MetricCard/types.d.ts +25 -0
- package/lib/primitives/dashboard/MetricCard/useSlideOutReveal.d.ts +1 -42
- package/lib/primitives/overlays/ActionStrip/ActionStrip.d.ts +9 -0
- package/lib/primitives/overlays/ActionStrip/defaultActions.d.ts +32 -0
- package/lib/primitives/overlays/ActionStrip/index.d.ts +7 -0
- package/lib/primitives/overlays/ActionStrip/motion.d.ts +148 -0
- package/lib/primitives/overlays/ActionStrip/overflowMenuRegistry.d.ts +30 -0
- package/lib/primitives/overlays/ActionStrip/types.d.ts +117 -0
- package/lib/primitives/overlays/ActionStrip/useActionStripRegistry.d.ts +7 -0
- package/lib/primitives/overlays/ActionStrip/useSlideOutReveal.d.ts +47 -0
- package/lib/primitives/overlays/index.d.ts +1 -0
- package/package.json +1 -1
- package/lib/primitives/dashboard/MetricCard/GutterActions.d.ts +0 -89
package/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { N as oa, T as sa, O as ia, Q as la,
|
|
1
|
+
import { N as oa, T as sa, O as ia, Q as la, a3 as da, b6 as ca, az as ua, ah as ma, Z as pa, an as ga, K as ba, a8 as fa, bo as ha, P as va, B as ya, a as Ca, y as Da, H as wa, bi as Na, F as Sa, J as ka, A as xa, z as Ta, bh as Ia, E as Ra, D as _a, bx as Ma, b as Pa, C as Fa, L as Ea, o as Oa, ad as Aa, aN as La, y as $a, H as Ba, F as Ka, J as Ha, A as Ga, z as za, E as Va, D as Za, a$ as Wa, b2 as Ya, b1 as Ua, b0 as qa, b3 as ja, aC as Qa, a5 as Xa, a4 as Ja, aq as er, k as tr, m as ar, aF as rr, ab as nr, b8 as or, a9 as sr, bp as ir, Y as lr, bH as dr, bG as cr, bI as ur, ap as mr, aQ as pr, ba as gr, bM as br, bv as fr, n as hr, am as vr, bB as yr, bs as Cr, a0 as Dr, ar as wr, a2 as Nr, bA as Sr, G as kr, d as xr, aa as Tr, bJ as Ir, aT as Rr, r as _r, v as Mr, I as Pr, g as Fr, aw as Er, bN as Or, M as Ar, w as Lr, U as $r, X as Br, V as Kr, W as Hr, as as Gr, bg as zr, bP as Vr, bL as Zr, ao as Wr, t as Yr, bq as Ur, aS as qr, aj as jr, aK as Qr, ag as Xr, al as Jr, au as en, aR as tn, ac as an, at as rn, c as nn, R as on, j as sn, p as ln, aH as dn, by as cn, bz as un, ai as mn, ae as pn, h as gn, x as bn, b7 as fn, af as hn, bO as vn, bc as yn, bf as Cn, bd as Dn, be as wn, i as Nn, b9 as Sn, bn as kn, S as xn, bk as Tn, bl as In, av as Rn, bb as _n, bQ as Mn, ak as Pn, s as Fn, bK as En, l as On, f as An, q as Ln, _ as $n, $ as Bn, a7 as Kn, bj as Hn, bw as Gn, bD as zn, aA as Vn, aB as Zn, a6 as Wn, aO as Yn, aP as Un, aD as qn, aE as jn, aG as Qn, aV as Xn, aW as Jn, bF as eo, bE as to, aY as ao, aZ as ro, ax as no, ay as oo, b5 as so, b4 as io, a_ as lo, aL as co, aM as uo, aX as mo, aI as po, aJ as go, u as bo, bC as fo, br as ho, bt as vo, bu as yo, aU as Co, a1 as Do, e as wo, bm as No } from "./Expandable-BYdvJg3S.js";
|
|
2
2
|
import { jsxs as A, jsx as g } from "react/jsx-runtime";
|
|
3
3
|
import F, { useRef as M, useEffect as P, useState as O, useCallback as y, forwardRef as he, useMemo as ie, createContext as ve, useContext as ye } from "react";
|
|
4
4
|
import { B as Ce, U as ee } from "./UIContext-C3E-k7HI.js";
|
|
5
|
-
import { a as
|
|
6
|
-
import { createPortal as
|
|
7
|
-
import { DEFAULT_MARKET_PRESETS as
|
|
5
|
+
import { a as ko, u as xo } from "./UIContext-C3E-k7HI.js";
|
|
6
|
+
import { createPortal as De } from "react-dom";
|
|
7
|
+
import { DEFAULT_MARKET_PRESETS as Io, DEFAULT_PINNED as Ro, PERIOD_OPTIONS as _o, ROLLING_OPTIONS as Mo, TODAY_PRESET as Po, findPreset as Fo, formatDateRange as Eo, formatMarketDates as Oo, formatTrend as Ao, formatValue as Lo, generateMarketId as $o, getAllPresets as Bo, getDateRangeForPreset as Ko, getPresetLabel as Ho, isInRange as Go, isMarketActive as zo, isSameDay as Vo, normalizePresetId as Zo, toUppercasePresetId as Wo } from "@mt-gloss/utils";
|
|
8
8
|
function gt(e = {}) {
|
|
9
9
|
const { enabled: t = !0, returnTo: n } = e, a = M(null);
|
|
10
10
|
return P(() => {
|
|
@@ -26,7 +26,7 @@ function bt(e) {
|
|
|
26
26
|
isItemDisabled: l,
|
|
27
27
|
onSelect: f,
|
|
28
28
|
onEscape: d
|
|
29
|
-
} = e, [
|
|
29
|
+
} = e, [w, N] = O(-1), u = n !== void 0 ? n : w, m = y(
|
|
30
30
|
(r) => {
|
|
31
31
|
n === void 0 && N(r), a?.(r);
|
|
32
32
|
},
|
|
@@ -38,8 +38,8 @@ function bt(e) {
|
|
|
38
38
|
const C = b.indexOf(r);
|
|
39
39
|
if (C === -1)
|
|
40
40
|
return c === 1 ? b.find((I) => I > r) ?? (o ? b[0] : -1) : [...b].reverse().find((_) => _ < r) ?? (o ? b[b.length - 1] : -1);
|
|
41
|
-
let
|
|
42
|
-
return o ?
|
|
41
|
+
let D = C + c;
|
|
42
|
+
return o ? D = (D + b.length) % b.length : D = Math.max(0, Math.min(b.length - 1, D)), b[D];
|
|
43
43
|
},
|
|
44
44
|
[S, o]
|
|
45
45
|
), p = y(() => {
|
|
@@ -59,8 +59,8 @@ function bt(e) {
|
|
|
59
59
|
}, [m]), h = y(
|
|
60
60
|
(r) => {
|
|
61
61
|
if (!i) return;
|
|
62
|
-
const { key: c } = r, b = c === "ArrowUp" && (s === "vertical" || s === "both"), C = c === "ArrowDown" && (s === "vertical" || s === "both"),
|
|
63
|
-
if (b ||
|
|
62
|
+
const { key: c } = r, b = c === "ArrowUp" && (s === "vertical" || s === "both"), C = c === "ArrowDown" && (s === "vertical" || s === "both"), D = c === "ArrowLeft" && (s === "horizontal" || s === "both"), I = c === "ArrowRight" && (s === "horizontal" || s === "both");
|
|
63
|
+
if (b || D) {
|
|
64
64
|
r.preventDefault(), u === -1 ? x() : v();
|
|
65
65
|
return;
|
|
66
66
|
}
|
|
@@ -113,7 +113,7 @@ function bt(e) {
|
|
|
113
113
|
};
|
|
114
114
|
}
|
|
115
115
|
const Z = (e) => {
|
|
116
|
-
},
|
|
116
|
+
}, we = {
|
|
117
117
|
id: "entity-filter-1",
|
|
118
118
|
label: "Customer: Acme Corp",
|
|
119
119
|
field: "customer",
|
|
@@ -138,7 +138,7 @@ const Z = (e) => {
|
|
|
138
138
|
value: "widget-co-456",
|
|
139
139
|
onRemove: Z
|
|
140
140
|
}, ft = [
|
|
141
|
-
|
|
141
|
+
we,
|
|
142
142
|
Ne,
|
|
143
143
|
Se,
|
|
144
144
|
ke
|
|
@@ -169,11 +169,11 @@ const Z = (e) => {
|
|
|
169
169
|
{ variant: "block", width: 200, height: 32, borderRadius: 8 },
|
|
170
170
|
{ variant: "block", width: "80%", height: 12, borderRadius: "4px" },
|
|
171
171
|
{ variant: "block", width: 120, height: 44, borderRadius: 22 }
|
|
172
|
-
],
|
|
172
|
+
], Dt = [
|
|
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
|
-
],
|
|
176
|
+
], wt = [
|
|
177
177
|
{ variant: "circle", size: 24 },
|
|
178
178
|
{ variant: "circle", size: 40 },
|
|
179
179
|
{ variant: "circle", size: 64 }
|
|
@@ -199,7 +199,7 @@ const Z = (e) => {
|
|
|
199
199
|
minWidth: 148,
|
|
200
200
|
paddingTop: 4,
|
|
201
201
|
paddingBottom: 4
|
|
202
|
-
},
|
|
202
|
+
}, q = (e) => ({
|
|
203
203
|
padding: "6px 12px",
|
|
204
204
|
fontSize: 12,
|
|
205
205
|
lineHeight: 1.4,
|
|
@@ -214,7 +214,7 @@ const Z = (e) => {
|
|
|
214
214
|
textAlign: "left",
|
|
215
215
|
border: "none"
|
|
216
216
|
}), xe = (e) => ({
|
|
217
|
-
...
|
|
217
|
+
...q(e),
|
|
218
218
|
color: e ? "#4338ca" : "#4f46e5",
|
|
219
219
|
fontWeight: 600
|
|
220
220
|
}), Te = {
|
|
@@ -231,7 +231,7 @@ function Ie({
|
|
|
231
231
|
overflowActions: s,
|
|
232
232
|
onClose: i
|
|
233
233
|
}) {
|
|
234
|
-
const [l, f] = O(null), d = M(null),
|
|
234
|
+
const [l, f] = O(null), d = M(null), w = y(() => {
|
|
235
235
|
if (!t) return { ...re, top: 0, left: 0 };
|
|
236
236
|
const m = t.getBoundingClientRect();
|
|
237
237
|
return {
|
|
@@ -260,7 +260,7 @@ function Ie({
|
|
|
260
260
|
"data-status-chip-menu": n,
|
|
261
261
|
role: "menu",
|
|
262
262
|
"aria-label": "Status actions",
|
|
263
|
-
style:
|
|
263
|
+
style: w(),
|
|
264
264
|
children: [
|
|
265
265
|
/* @__PURE__ */ g(
|
|
266
266
|
"button",
|
|
@@ -279,7 +279,7 @@ function Ie({
|
|
|
279
279
|
"button",
|
|
280
280
|
{
|
|
281
281
|
role: "menuitem",
|
|
282
|
-
style:
|
|
282
|
+
style: q(l === "__graph"),
|
|
283
283
|
onMouseEnter: () => f("__graph"),
|
|
284
284
|
onMouseLeave: () => f(null),
|
|
285
285
|
onClick: () => {
|
|
@@ -293,7 +293,7 @@ function Ie({
|
|
|
293
293
|
"button",
|
|
294
294
|
{
|
|
295
295
|
role: "menuitem",
|
|
296
|
-
style:
|
|
296
|
+
style: q(l === m.id),
|
|
297
297
|
onMouseEnter: () => f(m.id),
|
|
298
298
|
onMouseLeave: () => f(null),
|
|
299
299
|
onClick: () => {
|
|
@@ -306,12 +306,12 @@ function Ie({
|
|
|
306
306
|
]
|
|
307
307
|
}
|
|
308
308
|
);
|
|
309
|
-
return
|
|
309
|
+
return De(u, document.body);
|
|
310
310
|
}
|
|
311
311
|
Ie.displayName = "StatusSlotChipMenu";
|
|
312
312
|
const Re = he(
|
|
313
313
|
function({ state: t, onPointerDown: n, onPointerUp: a, onPointerEnter: o, onPointerLeave: s, edge: i = "right", ariaLabel: l = "Resize card" }, f) {
|
|
314
|
-
const d = t === "handle-visible" || t === "dragging",
|
|
314
|
+
const d = t === "handle-visible" || t === "dragging", w = (u) => {
|
|
315
315
|
try {
|
|
316
316
|
u.currentTarget.setPointerCapture(u.pointerId);
|
|
317
317
|
} catch {
|
|
@@ -337,7 +337,7 @@ const Re = he(
|
|
|
337
337
|
`gloss-edge-handle--${i}`,
|
|
338
338
|
d ? "gloss-edge-handle--visible" : ""
|
|
339
339
|
].filter(Boolean).join(" "),
|
|
340
|
-
onPointerDown:
|
|
340
|
+
onPointerDown: w,
|
|
341
341
|
onPointerUp: N,
|
|
342
342
|
onPointerEnter: o,
|
|
343
343
|
onPointerLeave: s,
|
|
@@ -377,7 +377,7 @@ function xt({
|
|
|
377
377
|
enterMs: s = 180,
|
|
378
378
|
exitMs: i = 120
|
|
379
379
|
}) {
|
|
380
|
-
const [l, f] = O("idle"), [d,
|
|
380
|
+
const [l, f] = O("idle"), [d, w] = O(e), N = M(null), u = M(null), m = M("idle");
|
|
381
381
|
P(() => {
|
|
382
382
|
m.current = l;
|
|
383
383
|
}, [l]);
|
|
@@ -397,8 +397,8 @@ function xt({
|
|
|
397
397
|
if (m.current !== "dragging") return;
|
|
398
398
|
const r = h.clientX - (u.current ?? h.clientX), c = Math.round(r / S), b = Math.min(3, Math.max(1, e + c)), C = b !== e;
|
|
399
399
|
if (f(C ? "committed" : "cancelled"), C) {
|
|
400
|
-
const
|
|
401
|
-
n({ direction:
|
|
400
|
+
const D = b > e ? "grow" : "shrink";
|
|
401
|
+
n({ direction: D, targetColSpan: b, mode: t ? "slot-fill" : "sparkline-fidelity" });
|
|
402
402
|
} else
|
|
403
403
|
a?.();
|
|
404
404
|
},
|
|
@@ -414,12 +414,12 @@ function xt({
|
|
|
414
414
|
return window.addEventListener("keydown", h), () => window.removeEventListener("keydown", h);
|
|
415
415
|
}, [l, k]), P(() => {
|
|
416
416
|
if (l !== "dragging") {
|
|
417
|
-
|
|
417
|
+
w(e);
|
|
418
418
|
return;
|
|
419
419
|
}
|
|
420
420
|
const h = (r) => {
|
|
421
421
|
const c = r.clientX - (u.current ?? r.clientX), b = Math.round(c / S), C = Math.min(3, Math.max(1, e + b));
|
|
422
|
-
|
|
422
|
+
w((D) => D === C ? D : C);
|
|
423
423
|
};
|
|
424
424
|
return window.addEventListener("pointermove", h), () => window.removeEventListener("pointermove", h);
|
|
425
425
|
}, [l, e]), P(() => () => R(), [R]), P(() => {
|
|
@@ -707,7 +707,7 @@ function le({
|
|
|
707
707
|
(m.key === "Enter" || m.key === " ") && (m.preventDefault(), f(u));
|
|
708
708
|
},
|
|
709
709
|
[f]
|
|
710
|
-
),
|
|
710
|
+
), w = y(() => {
|
|
711
711
|
i(), t();
|
|
712
712
|
}, [i, t]), N = y(() => {
|
|
713
713
|
l(), t();
|
|
@@ -764,7 +764,7 @@ function le({
|
|
|
764
764
|
{
|
|
765
765
|
role: "menuitem",
|
|
766
766
|
className: "gloss-page-dropdown__action",
|
|
767
|
-
onClick:
|
|
767
|
+
onClick: w,
|
|
768
768
|
children: "+ New page"
|
|
769
769
|
}
|
|
770
770
|
),
|
|
@@ -792,10 +792,10 @@ const Le = function({
|
|
|
792
792
|
onManagePages: i,
|
|
793
793
|
maskRadius: l = "var(--gloss-radius-md)"
|
|
794
794
|
}) {
|
|
795
|
-
const f = M(null), [d,
|
|
796
|
-
|
|
795
|
+
const f = M(null), [d, w] = O(!1), N = y(() => {
|
|
796
|
+
w((S) => !S);
|
|
797
797
|
}, []), u = y(() => {
|
|
798
|
-
|
|
798
|
+
w(!1);
|
|
799
799
|
}, []), m = a[t]?.id ?? "";
|
|
800
800
|
return /* @__PURE__ */ A(
|
|
801
801
|
"div",
|
|
@@ -1291,7 +1291,7 @@ const z = F.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1291
1291
|
entityFilterOptions: [
|
|
1292
1292
|
{ id: "customers", label: "Customers" }
|
|
1293
1293
|
]
|
|
1294
|
-
},
|
|
1294
|
+
}, He = [
|
|
1295
1295
|
{
|
|
1296
1296
|
id: "recent-orders",
|
|
1297
1297
|
label: "Recent Orders",
|
|
@@ -1337,7 +1337,7 @@ const z = F.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1337
1337
|
routeKey: "customer.profile",
|
|
1338
1338
|
subtitle: "Opens in RepTime"
|
|
1339
1339
|
}
|
|
1340
|
-
],
|
|
1340
|
+
], Ge = [
|
|
1341
1341
|
{
|
|
1342
1342
|
id: "order-items",
|
|
1343
1343
|
label: "Items in Order",
|
|
@@ -1395,13 +1395,13 @@ const z = F.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1395
1395
|
tabType: "orders"
|
|
1396
1396
|
}
|
|
1397
1397
|
], Kt = {
|
|
1398
|
-
entityName:
|
|
1399
|
-
orderId:
|
|
1398
|
+
entityName: He,
|
|
1399
|
+
orderId: Ge,
|
|
1400
1400
|
numeric: ze
|
|
1401
|
-
},
|
|
1401
|
+
}, Ht = [
|
|
1402
1402
|
new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), (/* @__PURE__ */ new Date()).getDate() - 29),
|
|
1403
1403
|
/* @__PURE__ */ new Date()
|
|
1404
|
-
],
|
|
1404
|
+
], Gt = {
|
|
1405
1405
|
rangeA: [
|
|
1406
1406
|
new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), 1),
|
|
1407
1407
|
/* @__PURE__ */ new Date()
|
|
@@ -1483,7 +1483,7 @@ const z = F.createElement("span", { style: { color: "var(--color-text-muted)" }
|
|
|
1483
1483
|
{ id: "30d", label: "30D" },
|
|
1484
1484
|
{ id: "60d", label: "60D" },
|
|
1485
1485
|
{ id: "90d", label: "90D" }
|
|
1486
|
-
],
|
|
1486
|
+
], Ut = [
|
|
1487
1487
|
{ id: "mtd", label: "MTD" },
|
|
1488
1488
|
{ id: "qtd", label: "QTD" },
|
|
1489
1489
|
{ id: "ytd", label: "YTD" },
|
|
@@ -1515,7 +1515,7 @@ function oe(e, t) {
|
|
|
1515
1515
|
colSpan: 2
|
|
1516
1516
|
};
|
|
1517
1517
|
}
|
|
1518
|
-
const
|
|
1518
|
+
const qt = [
|
|
1519
1519
|
L("total-revenue", "Total Revenue"),
|
|
1520
1520
|
L("total-orders", "Total Orders"),
|
|
1521
1521
|
oe("revenue-trend", "Revenue Trend (2x)"),
|
|
@@ -1758,10 +1758,10 @@ function We({
|
|
|
1758
1758
|
}, [a, o]), F.useLayoutEffect(() => {
|
|
1759
1759
|
let d = null;
|
|
1760
1760
|
if (a ? d = a : o && (d = document.querySelector(o)), d) {
|
|
1761
|
-
const
|
|
1761
|
+
const w = d.getBoundingClientRect();
|
|
1762
1762
|
i({
|
|
1763
|
-
top:
|
|
1764
|
-
left:
|
|
1763
|
+
top: w.bottom + window.scrollY + 6,
|
|
1764
|
+
left: w.left + window.scrollX
|
|
1765
1765
|
});
|
|
1766
1766
|
}
|
|
1767
1767
|
}, [a, o]);
|
|
@@ -1816,10 +1816,10 @@ function Ye(e, t, n) {
|
|
|
1816
1816
|
});
|
|
1817
1817
|
return s.length === 0 ? "linear-gradient(to right, #888 0%, #888 100%)" : s.length === 1 ? `linear-gradient(to right, ${s[0]}, ${s[0]})` : `linear-gradient(to right, ${s.join(", ")})`;
|
|
1818
1818
|
}
|
|
1819
|
-
function
|
|
1819
|
+
function Ue(e) {
|
|
1820
1820
|
return e.map((t) => `${t.id}:${t.value}`).join("|");
|
|
1821
1821
|
}
|
|
1822
|
-
function
|
|
1822
|
+
function qe({
|
|
1823
1823
|
stops: e,
|
|
1824
1824
|
onChange: t,
|
|
1825
1825
|
min: n = 0,
|
|
@@ -1832,15 +1832,15 @@ function Ue({
|
|
|
1832
1832
|
), 0.01) : o, l = y(
|
|
1833
1833
|
(r) => Math.round(r / i) * i,
|
|
1834
1834
|
[i]
|
|
1835
|
-
), f = M(null), [d,
|
|
1835
|
+
), f = M(null), [d, w] = O(null), [N, u] = O(e), m = Ue(e), S = M(m);
|
|
1836
1836
|
P(() => {
|
|
1837
1837
|
S.current !== m && (S.current = m, !d && u(e));
|
|
1838
1838
|
}, [m, e, d]);
|
|
1839
1839
|
const R = ie(() => Ye(N, n, a), [N, n, a]), p = y(
|
|
1840
1840
|
(r) => {
|
|
1841
1841
|
if (!f.current) return n;
|
|
1842
|
-
const c = f.current.getBoundingClientRect(), b = c.width || 1, C = Math.max(0, Math.min(1, (r - c.left) / b)),
|
|
1843
|
-
return l(
|
|
1842
|
+
const c = f.current.getBoundingClientRect(), b = c.width || 1, C = Math.max(0, Math.min(1, (r - c.left) / b)), D = n + C * (a - n);
|
|
1843
|
+
return l(D);
|
|
1844
1844
|
},
|
|
1845
1845
|
[n, a, l]
|
|
1846
1846
|
);
|
|
@@ -1852,7 +1852,7 @@ function Ue({
|
|
|
1852
1852
|
const x = y(
|
|
1853
1853
|
(r, c) => {
|
|
1854
1854
|
const b = N.find((C) => C.id === c);
|
|
1855
|
-
s || b?.disabled || (r.preventDefault(),
|
|
1855
|
+
s || b?.disabled || (r.preventDefault(), w(c));
|
|
1856
1856
|
},
|
|
1857
1857
|
[s, N]
|
|
1858
1858
|
), T = M(N);
|
|
@@ -1863,13 +1863,13 @@ function Ue({
|
|
|
1863
1863
|
const r = (b) => {
|
|
1864
1864
|
const C = p(b.clientX);
|
|
1865
1865
|
u(
|
|
1866
|
-
(
|
|
1866
|
+
(D) => D.map((I) => I.id === d ? { ...I, value: C } : I)
|
|
1867
1867
|
);
|
|
1868
1868
|
}, c = (b) => {
|
|
1869
|
-
const C = p(b.clientX),
|
|
1869
|
+
const C = p(b.clientX), D = T.current.map(
|
|
1870
1870
|
(I) => I.id === d ? { ...I, value: C } : I
|
|
1871
1871
|
);
|
|
1872
|
-
u(
|
|
1872
|
+
u(D), w(null), v.current(D);
|
|
1873
1873
|
};
|
|
1874
1874
|
return window.addEventListener("pointermove", r), window.addEventListener("pointerup", c), window.addEventListener("pointercancel", c), () => {
|
|
1875
1875
|
window.removeEventListener("pointermove", r), window.removeEventListener("pointerup", c), window.removeEventListener("pointercancel", c);
|
|
@@ -1881,30 +1881,30 @@ function Ue({
|
|
|
1881
1881
|
const b = a - n;
|
|
1882
1882
|
if (b <= 0) return;
|
|
1883
1883
|
const C = r.shiftKey ? b / 20 : b / 100;
|
|
1884
|
-
let
|
|
1884
|
+
let D = c.value;
|
|
1885
1885
|
switch (r.key) {
|
|
1886
1886
|
case "ArrowRight":
|
|
1887
1887
|
case "ArrowUp":
|
|
1888
|
-
|
|
1888
|
+
D = c.value + C;
|
|
1889
1889
|
break;
|
|
1890
1890
|
case "ArrowLeft":
|
|
1891
1891
|
case "ArrowDown":
|
|
1892
|
-
|
|
1892
|
+
D = c.value - C;
|
|
1893
1893
|
break;
|
|
1894
1894
|
case "Home":
|
|
1895
|
-
|
|
1895
|
+
D = n;
|
|
1896
1896
|
break;
|
|
1897
1897
|
case "End":
|
|
1898
|
-
|
|
1898
|
+
D = a;
|
|
1899
1899
|
break;
|
|
1900
1900
|
default:
|
|
1901
1901
|
return;
|
|
1902
1902
|
}
|
|
1903
1903
|
r.preventDefault();
|
|
1904
|
-
const I = Math.max(n, Math.min(a,
|
|
1904
|
+
const I = Math.max(n, Math.min(a, D)), _ = l(I);
|
|
1905
1905
|
if (_ === c.value) return;
|
|
1906
1906
|
const K = N.map(
|
|
1907
|
-
(
|
|
1907
|
+
(H) => H.id === c.id ? { ...H, value: _ } : H
|
|
1908
1908
|
);
|
|
1909
1909
|
u(K), t(K);
|
|
1910
1910
|
},
|
|
@@ -1944,7 +1944,7 @@ function Ue({
|
|
|
1944
1944
|
}
|
|
1945
1945
|
) });
|
|
1946
1946
|
}
|
|
1947
|
-
|
|
1947
|
+
qe.displayName = "ThresholdRamp";
|
|
1948
1948
|
const me = ve(null);
|
|
1949
1949
|
function je() {
|
|
1950
1950
|
return ye(me);
|
|
@@ -1987,7 +1987,7 @@ function Xe({
|
|
|
1987
1987
|
disabled: o = !1,
|
|
1988
1988
|
name: s
|
|
1989
1989
|
}) {
|
|
1990
|
-
const i = t !== void 0, [l, f] = O(n), d = i ? t : l,
|
|
1990
|
+
const i = t !== void 0, [l, f] = O(n), d = i ? t : l, w = y(
|
|
1991
1991
|
(v) => {
|
|
1992
1992
|
i || f(v), a?.(v);
|
|
1993
1993
|
},
|
|
@@ -2025,19 +2025,19 @@ function Xe({
|
|
|
2025
2025
|
break;
|
|
2026
2026
|
case " ":
|
|
2027
2027
|
case "Enter":
|
|
2028
|
-
v.preventDefault(),
|
|
2028
|
+
v.preventDefault(), w(k);
|
|
2029
2029
|
return;
|
|
2030
2030
|
default:
|
|
2031
2031
|
return;
|
|
2032
2032
|
}
|
|
2033
2033
|
v.preventDefault();
|
|
2034
2034
|
const b = h[c].value;
|
|
2035
|
-
p(b),
|
|
2035
|
+
p(b), w(b);
|
|
2036
2036
|
},
|
|
2037
|
-
[o, e,
|
|
2037
|
+
[o, e, w, p]
|
|
2038
2038
|
), T = {
|
|
2039
2039
|
selectedValue: d,
|
|
2040
|
-
select:
|
|
2040
|
+
select: w,
|
|
2041
2041
|
isSelected: N,
|
|
2042
2042
|
groupDisabled: o,
|
|
2043
2043
|
name: s,
|
|
@@ -2085,9 +2085,9 @@ function tt(e) {
|
|
|
2085
2085
|
const d = ie(
|
|
2086
2086
|
() => et(e.zones),
|
|
2087
2087
|
[e.zones]
|
|
2088
|
-
),
|
|
2088
|
+
), w = M(d);
|
|
2089
2089
|
P(() => {
|
|
2090
|
-
|
|
2090
|
+
w.current !== d && (w.current = d, !a && n(
|
|
2091
2091
|
e.zones.map((p) => p.maxItems !== void 0 && p.items.length > p.maxItems ? (process.env.NODE_ENV !== "production" && console.warn(
|
|
2092
2092
|
`useSortableZones: zone "${p.zoneKey}" exceeds maxItems (${p.items.length} > ${p.maxItems}); trimming to cap.`
|
|
2093
2093
|
), { ...p, items: p.items.slice(0, p.maxItems) }) : p)
|
|
@@ -2133,29 +2133,29 @@ function tt(e) {
|
|
|
2133
2133
|
}
|
|
2134
2134
|
let r = t.map((c) => ({ ...c, items: [...c.items] }));
|
|
2135
2135
|
if (k === h) {
|
|
2136
|
-
const c = r.findIndex((_) => _.zoneKey === k), b = r[c], C = b.items.findIndex((_) => _.id === x.id),
|
|
2136
|
+
const c = r.findIndex((_) => _.zoneKey === k), b = r[c], C = b.items.findIndex((_) => _.id === x.id), D = b.items.findIndex((_) => _.id === T.id), I = D >= 0 ? D : Math.max(0, b.items.length - 1);
|
|
2137
2137
|
r[c] = {
|
|
2138
2138
|
...b,
|
|
2139
2139
|
items: Je(b.items, C, I)
|
|
2140
2140
|
};
|
|
2141
2141
|
} else {
|
|
2142
|
-
const c = r.findIndex((E) => E.zoneKey === k), b = r.findIndex((E) => E.zoneKey === h), C = r[c],
|
|
2142
|
+
const c = r.findIndex((E) => E.zoneKey === k), b = r.findIndex((E) => E.zoneKey === h), C = r[c], D = r[b], I = C.items.find((E) => E.id === x.id);
|
|
2143
2143
|
if (!I) {
|
|
2144
2144
|
v();
|
|
2145
2145
|
return;
|
|
2146
2146
|
}
|
|
2147
|
-
const _ = C.items.filter((E) => E.id !== x.id), K =
|
|
2148
|
-
let te = _, $ = [...
|
|
2149
|
-
if (
|
|
2147
|
+
const _ = C.items.filter((E) => E.id !== x.id), K = D.items.findIndex((E) => E.id === T.id), H = K >= 0 ? K : D.items.length;
|
|
2148
|
+
let te = _, $ = [...D.items];
|
|
2149
|
+
if (D.maxItems !== void 0 && $.length >= D.maxItems) {
|
|
2150
2150
|
const E = $[$.length - 1];
|
|
2151
|
-
$ = $.slice(0,
|
|
2151
|
+
$ = $.slice(0, D.maxItems - 1), te = [..._, E];
|
|
2152
2152
|
}
|
|
2153
|
-
const ae = Math.min(
|
|
2153
|
+
const ae = Math.min(H, $.length), fe = [
|
|
2154
2154
|
...$.slice(0, ae),
|
|
2155
2155
|
I,
|
|
2156
2156
|
...$.slice(ae)
|
|
2157
2157
|
];
|
|
2158
|
-
r[c] = { ...C, items: te }, r[b] = { ...
|
|
2158
|
+
r[c] = { ...C, items: te }, r[b] = { ...D, items: fe };
|
|
2159
2159
|
}
|
|
2160
2160
|
n(r), f.current?.(r), v();
|
|
2161
2161
|
},
|
|
@@ -2188,7 +2188,7 @@ function tt(e) {
|
|
|
2188
2188
|
handleDragEnd: m
|
|
2189
2189
|
};
|
|
2190
2190
|
}
|
|
2191
|
-
let
|
|
2191
|
+
let G = null, V = null, U = !1;
|
|
2192
2192
|
const at = [
|
|
2193
2193
|
"DndContext",
|
|
2194
2194
|
"DragOverlay",
|
|
@@ -2213,7 +2213,7 @@ function nt(e, t) {
|
|
|
2213
2213
|
return n.length === 0 ? { ok: !0 } : { ok: !1, missing: n };
|
|
2214
2214
|
}
|
|
2215
2215
|
function ot() {
|
|
2216
|
-
return
|
|
2216
|
+
return G ? Promise.resolve(G) : U ? Promise.resolve(null) : V || (V = (async () => {
|
|
2217
2217
|
try {
|
|
2218
2218
|
const [e, t, n] = await Promise.all([
|
|
2219
2219
|
import("@dnd-kit/core"),
|
|
@@ -2222,25 +2222,25 @@ function ot() {
|
|
|
2222
2222
|
"SortableZones: @dnd-kit/utilities failed to load; drag-overlay positioning will fall back (items may teleport instead of slide)."
|
|
2223
2223
|
), {}))
|
|
2224
2224
|
]), a = nt(e, t);
|
|
2225
|
-
return a.ok ? (
|
|
2225
|
+
return a.ok ? (G = {
|
|
2226
2226
|
core: e,
|
|
2227
2227
|
sortable: t,
|
|
2228
2228
|
utilities: n
|
|
2229
|
-
},
|
|
2229
|
+
}, G) : (U = !0, process.env.NODE_ENV !== "production" && console.error(
|
|
2230
2230
|
`SortableZones: @dnd-kit shape mismatch — missing exports: ${a.missing.join(", ")}. Check installed versions against optionalDependencies in @mt-gloss/ui.`
|
|
2231
2231
|
), null);
|
|
2232
2232
|
} catch {
|
|
2233
|
-
return
|
|
2233
|
+
return U = !0, null;
|
|
2234
2234
|
}
|
|
2235
2235
|
})(), V);
|
|
2236
2236
|
}
|
|
2237
2237
|
function st(e) {
|
|
2238
|
-
const { zones: t, onZoneChange: n, renderZone: a, renderItem: o, renderDragOverlay: s } = e, i = tt({ zones: t, onZoneChange: n }), [l, f] = F.useState(
|
|
2238
|
+
const { zones: t, onZoneChange: n, renderZone: a, renderItem: o, renderDragOverlay: s } = e, i = tt({ zones: t, onZoneChange: n }), [l, f] = F.useState(G);
|
|
2239
2239
|
return F.useEffect(() => {
|
|
2240
2240
|
if (l) return;
|
|
2241
2241
|
let d = !0;
|
|
2242
|
-
return ot().then((
|
|
2243
|
-
d && f(
|
|
2242
|
+
return ot().then((w) => {
|
|
2243
|
+
d && f(w);
|
|
2244
2244
|
}), () => {
|
|
2245
2245
|
d = !1;
|
|
2246
2246
|
};
|
|
@@ -2254,8 +2254,8 @@ function st(e) {
|
|
|
2254
2254
|
renderDragOverlay: s
|
|
2255
2255
|
}
|
|
2256
2256
|
) : /* @__PURE__ */ g("div", { "data-sortable-zones-passive": "true", children: i.zones.map((d) => {
|
|
2257
|
-
const
|
|
2258
|
-
return /* @__PURE__ */ g("div", { ...i.getZoneProps(d.zoneKey), children: a(d.zoneKey, d.items,
|
|
2257
|
+
const w = d.items.map((N) => /* @__PURE__ */ g(F.Fragment, { children: o(N) }, N.id));
|
|
2258
|
+
return /* @__PURE__ */ g("div", { ...i.getZoneProps(d.zoneKey), children: a(d.zoneKey, d.items, w) }, d.zoneKey);
|
|
2259
2259
|
}) });
|
|
2260
2260
|
}
|
|
2261
2261
|
st.displayName = "SortableZones";
|
|
@@ -2266,7 +2266,7 @@ function pe({
|
|
|
2266
2266
|
renderItem: a,
|
|
2267
2267
|
renderDragOverlay: o
|
|
2268
2268
|
}) {
|
|
2269
|
-
const { core: s, sortable: i, utilities: l } = t, { DndContext: f, DragOverlay: d, useSensors:
|
|
2269
|
+
const { core: s, sortable: i, utilities: l } = t, { DndContext: f, DragOverlay: d, useSensors: w, useSensor: N, useDroppable: u, PointerSensor: m, KeyboardSensor: S, closestCenter: R } = s, { SortableContext: p, verticalListSortingStrategy: x } = i, T = w(
|
|
2270
2270
|
N(m, { activationConstraint: { distance: 5 } }),
|
|
2271
2271
|
N(S)
|
|
2272
2272
|
), v = f, k = d, h = p;
|
|
@@ -2308,12 +2308,12 @@ function pe({
|
|
|
2308
2308
|
}
|
|
2309
2309
|
pe.displayName = "SortableZonesInner";
|
|
2310
2310
|
function ge({ id: e, useSortable: t, cssHelper: n, children: a }) {
|
|
2311
|
-
const { attributes: o, listeners: s, setNodeRef: i, transform: l, transition: f, isDragging: d } = t({ id: e }),
|
|
2311
|
+
const { attributes: o, listeners: s, setNodeRef: i, transform: l, transition: f, isDragging: d } = t({ id: e }), w = {
|
|
2312
2312
|
transform: n?.Transform?.toString(l) ?? void 0,
|
|
2313
2313
|
transition: f,
|
|
2314
2314
|
opacity: d ? 0.5 : 1
|
|
2315
2315
|
};
|
|
2316
|
-
return /* @__PURE__ */ g("div", { ref: i, style:
|
|
2316
|
+
return /* @__PURE__ */ g("div", { ref: i, style: w, "data-sortable-item-id": e, ...o, ...s, children: a });
|
|
2317
2317
|
}
|
|
2318
2318
|
ge.displayName = "SortableItem";
|
|
2319
2319
|
function be({
|
|
@@ -2350,240 +2350,243 @@ export {
|
|
|
2350
2350
|
sa as AccordionContent,
|
|
2351
2351
|
ia as AccordionItem,
|
|
2352
2352
|
la as AccordionTrigger,
|
|
2353
|
-
da as
|
|
2354
|
-
ca as
|
|
2355
|
-
ua as
|
|
2356
|
-
ma as
|
|
2357
|
-
pa as
|
|
2358
|
-
ga as
|
|
2359
|
-
ba as
|
|
2360
|
-
fa as
|
|
2361
|
-
ha as
|
|
2362
|
-
va as
|
|
2363
|
-
ya as
|
|
2364
|
-
Ca as
|
|
2353
|
+
da as ActionStrip,
|
|
2354
|
+
ca as Actionable,
|
|
2355
|
+
ua as AddressGroup,
|
|
2356
|
+
ma as AddressSelect,
|
|
2357
|
+
pa as AsyncLoader,
|
|
2358
|
+
ga as Autocomplete,
|
|
2359
|
+
ba as Badge,
|
|
2360
|
+
fa as BarChartCard,
|
|
2361
|
+
ha as BarsBg,
|
|
2362
|
+
va as Button,
|
|
2363
|
+
ya as ButtonGroup,
|
|
2364
|
+
Ca as ButtonGroupContext,
|
|
2365
|
+
Da as Card,
|
|
2365
2366
|
wa as CardActions,
|
|
2366
|
-
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
|
|
2370
|
-
|
|
2371
|
-
|
|
2372
|
-
|
|
2373
|
-
|
|
2374
|
-
|
|
2375
|
-
|
|
2376
|
-
|
|
2377
|
-
|
|
2378
|
-
|
|
2379
|
-
|
|
2380
|
-
|
|
2381
|
-
|
|
2382
|
-
|
|
2383
|
-
|
|
2384
|
-
|
|
2367
|
+
Na as CardBack,
|
|
2368
|
+
Sa as CardBody,
|
|
2369
|
+
ka as CardFooter,
|
|
2370
|
+
xa as CardHeader,
|
|
2371
|
+
Ta as CardMedia,
|
|
2372
|
+
Ia as CardShell,
|
|
2373
|
+
Ra as CardSubtitle,
|
|
2374
|
+
_a as CardTitle,
|
|
2375
|
+
Ma as ChartControlBar,
|
|
2376
|
+
Pa as Checkbox,
|
|
2377
|
+
Fa as CheckboxGroup,
|
|
2378
|
+
Ea as Chip,
|
|
2379
|
+
Oa as ColorPicker,
|
|
2380
|
+
Aa as ComparisonCard,
|
|
2381
|
+
La as ContactForm,
|
|
2382
|
+
$a as ContainerCard,
|
|
2383
|
+
Ba as ContainerCardActions,
|
|
2384
|
+
Ka as ContainerCardBody,
|
|
2385
|
+
Ha as ContainerCardFooter,
|
|
2385
2386
|
Ga as ContainerCardHeader,
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2387
|
+
za as ContainerCardMedia,
|
|
2388
|
+
Va as ContainerCardSubtitle,
|
|
2389
|
+
Za as ContainerCardTitle,
|
|
2390
|
+
Wa as ContainerDialog,
|
|
2391
|
+
Ya as ContainerDialogActions,
|
|
2392
|
+
Ua as ContainerDialogBody,
|
|
2392
2393
|
qa as ContainerDialogHeader,
|
|
2393
2394
|
lt as ContainerFormSection,
|
|
2394
|
-
|
|
2395
|
+
ja as ContainerPanel,
|
|
2395
2396
|
dt as ContainerTable,
|
|
2396
2397
|
it as ContainerToolbar,
|
|
2397
|
-
|
|
2398
|
-
|
|
2399
|
-
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
|
|
2403
|
-
|
|
2404
|
-
|
|
2405
|
-
|
|
2406
|
-
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2398
|
+
Qa as CreditCardForm,
|
|
2399
|
+
Xa as DEFAULT_FOOTER_IDS,
|
|
2400
|
+
Io as DEFAULT_MARKET_PRESETS,
|
|
2401
|
+
Ja as DEFAULT_OVERFLOW_IDS,
|
|
2402
|
+
Ro as DEFAULT_PINNED,
|
|
2403
|
+
er as DataTable,
|
|
2404
|
+
tr as DatePicker,
|
|
2405
|
+
ar as DateRangePicker,
|
|
2406
|
+
rr as DestructiveModal,
|
|
2407
|
+
nr as DirectionCard,
|
|
2408
|
+
or as Dismissible,
|
|
2409
|
+
sr as DistributionCard,
|
|
2410
|
+
ir as DonutChart,
|
|
2411
|
+
lr as Dropdown,
|
|
2412
|
+
dr as ENTITY_FILTER_KEYS,
|
|
2413
|
+
cr as ENTITY_PROFILE_ROUTES,
|
|
2414
|
+
ur as ENTITY_TYPE_PLURAL,
|
|
2412
2415
|
Re as EdgeHoverHandle,
|
|
2413
|
-
|
|
2414
|
-
|
|
2415
|
-
|
|
2416
|
-
|
|
2417
|
-
|
|
2418
|
-
|
|
2419
|
-
|
|
2420
|
-
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
|
|
2424
|
-
|
|
2425
|
-
|
|
2416
|
+
mr as EntityPicker,
|
|
2417
|
+
pr as EntitySearchPanel,
|
|
2418
|
+
gr as Expandable,
|
|
2419
|
+
br as ExpandableChip,
|
|
2420
|
+
fr as FLIP_AND_STAGE_TIMINGS,
|
|
2421
|
+
hr as FileUpload,
|
|
2422
|
+
vr as FilterChip,
|
|
2423
|
+
yr as FilterInput,
|
|
2424
|
+
Cr as FlipAndStageProvider,
|
|
2425
|
+
Dr as Form,
|
|
2426
|
+
wr as FormDialog,
|
|
2427
|
+
Nr as FormField,
|
|
2428
|
+
Sr as FusedShape,
|
|
2426
2429
|
_e as GhostPreview,
|
|
2427
|
-
|
|
2428
|
-
|
|
2429
|
-
|
|
2430
|
-
|
|
2431
|
-
|
|
2432
|
-
Tr as ImportWizard,
|
|
2430
|
+
kr as GroupCheckbox,
|
|
2431
|
+
xr as GroupRadio,
|
|
2432
|
+
Tr as HighlightCard,
|
|
2433
|
+
Ir as HybridDatePicker,
|
|
2434
|
+
Rr as ImportWizard,
|
|
2433
2435
|
We as InlineNudge,
|
|
2434
|
-
|
|
2435
|
-
|
|
2436
|
-
|
|
2437
|
-
|
|
2438
|
-
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2447
|
-
|
|
2448
|
-
|
|
2436
|
+
_r as Input,
|
|
2437
|
+
Mr as InputAddon,
|
|
2438
|
+
Pr as InputGroup,
|
|
2439
|
+
Fr as Link,
|
|
2440
|
+
Er as LoginForm,
|
|
2441
|
+
Or as MarketPresetRow,
|
|
2442
|
+
Ar as MaskPresets,
|
|
2443
|
+
Lr as MaskedInput,
|
|
2444
|
+
$r as Menu,
|
|
2445
|
+
Br as MenuDivider,
|
|
2446
|
+
Kr as MenuGroup,
|
|
2447
|
+
Hr as MenuItem,
|
|
2448
|
+
Gr as MergePrompt,
|
|
2449
|
+
zr as MetricCard,
|
|
2450
|
+
Vr as MetricCardGrid,
|
|
2449
2451
|
Ze as MetricGroupContainer,
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
|
|
2453
|
-
|
|
2454
|
-
|
|
2455
|
-
|
|
2452
|
+
Zr as MiniCalendar,
|
|
2453
|
+
Wr as MultiSelect,
|
|
2454
|
+
Yr as NumberInput,
|
|
2455
|
+
Ur as ObjectArrow,
|
|
2456
|
+
qr as OrderFilterBar,
|
|
2457
|
+
_o as PERIOD_OPTIONS,
|
|
2456
2458
|
Le as PageChip,
|
|
2457
2459
|
le as PageDropdown,
|
|
2458
|
-
|
|
2459
|
-
|
|
2460
|
-
|
|
2461
|
-
|
|
2462
|
-
|
|
2460
|
+
jr as PasswordInput,
|
|
2461
|
+
Qr as PaymentForm,
|
|
2462
|
+
Xr as PaymentMethodSelect,
|
|
2463
|
+
Jr as PhoneInput,
|
|
2464
|
+
en as PinToMetric,
|
|
2463
2465
|
Xe as PresetSwatchRow,
|
|
2464
|
-
|
|
2465
|
-
|
|
2466
|
-
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
2472
|
-
|
|
2473
|
-
|
|
2474
|
-
|
|
2475
|
-
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
|
|
2479
|
-
|
|
2480
|
-
|
|
2481
|
-
|
|
2482
|
-
|
|
2483
|
-
|
|
2484
|
-
|
|
2485
|
-
|
|
2486
|
-
|
|
2487
|
-
|
|
2466
|
+
tn as ProfileCard,
|
|
2467
|
+
an as ProgressCard,
|
|
2468
|
+
rn as QuickConfigPanel,
|
|
2469
|
+
Mo as ROLLING_OPTIONS,
|
|
2470
|
+
nn as Radio,
|
|
2471
|
+
on as RadioGroup,
|
|
2472
|
+
sn as RangeSlider,
|
|
2473
|
+
ln as Rating,
|
|
2474
|
+
dn as RegistrationForm,
|
|
2475
|
+
cn as Row1Controls,
|
|
2476
|
+
un as Row2FilterTray,
|
|
2477
|
+
mn as SearchInput,
|
|
2478
|
+
pn as SegmentCard,
|
|
2479
|
+
gn as SegmentedControl,
|
|
2480
|
+
bn as Select,
|
|
2481
|
+
fn as Selectable,
|
|
2482
|
+
hn as SimpleMetricCard,
|
|
2483
|
+
vn as SimpleSelector,
|
|
2484
|
+
yn as Skeleton,
|
|
2485
|
+
Cn as SkeletonCard,
|
|
2486
|
+
Dn as SkeletonChart,
|
|
2487
|
+
wn as SkeletonTable,
|
|
2488
|
+
Nn as Slider,
|
|
2489
|
+
Sn as Sortable,
|
|
2488
2490
|
st as SortableZones,
|
|
2489
|
-
|
|
2490
|
-
|
|
2491
|
-
|
|
2492
|
-
|
|
2491
|
+
kn as SparklineBg,
|
|
2492
|
+
xn as SplitButton,
|
|
2493
|
+
Tn as StackedGroupCard,
|
|
2494
|
+
In as StatusModeCard,
|
|
2493
2495
|
Ie as StatusSlotChipMenu,
|
|
2494
|
-
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
|
|
2500
|
-
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2496
|
+
Rn as Stepper,
|
|
2497
|
+
Po as TODAY_PRESET,
|
|
2498
|
+
_n as TabGroup,
|
|
2499
|
+
Mn as TabbedDataView,
|
|
2500
|
+
Pn as TagInput,
|
|
2501
|
+
Fn as Textarea,
|
|
2502
|
+
qe as ThresholdRamp,
|
|
2503
|
+
En as TimeFrame,
|
|
2504
|
+
On as TimePicker,
|
|
2505
|
+
An as Toggle,
|
|
2506
|
+
Ln as Tooltip,
|
|
2507
|
+
$n as Transition,
|
|
2508
|
+
Bn as TransitionGroup,
|
|
2509
|
+
Kn as TrendCard,
|
|
2510
|
+
Hn as TrendIndicator,
|
|
2511
|
+
ko as UIContext,
|
|
2510
2512
|
ee as UIContextProvider,
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2513
|
+
Gn as UnifiedBreakdownTable,
|
|
2514
|
+
zn as UnifiedContextMenu,
|
|
2515
|
+
Vn as addressGroupMetadata,
|
|
2516
|
+
Zn as addressSchema,
|
|
2515
2517
|
ft as allChips,
|
|
2516
2518
|
It as allStateFixtures,
|
|
2517
2519
|
Tt as allVariantFixtures,
|
|
2518
2520
|
Ct as blockSamples,
|
|
2521
|
+
Wn as buildDefaultOverflow,
|
|
2519
2522
|
kt as cardSamples,
|
|
2520
2523
|
Nt as chartSamples,
|
|
2521
|
-
|
|
2524
|
+
wt as circleSamples,
|
|
2522
2525
|
jt as compactLayout,
|
|
2523
2526
|
Bt as compactState,
|
|
2524
|
-
|
|
2525
|
-
|
|
2527
|
+
Yn as contactFormMetadata,
|
|
2528
|
+
Un as contactSchema,
|
|
2526
2529
|
Kt as contextMenuFixtures,
|
|
2527
|
-
|
|
2528
|
-
|
|
2530
|
+
qn as creditCardFormMetadata,
|
|
2531
|
+
jn as creditCardSchema,
|
|
2529
2532
|
Se as dateChip,
|
|
2530
2533
|
ue as defaultControlBarState,
|
|
2531
|
-
|
|
2532
|
-
|
|
2533
|
-
|
|
2534
|
+
Qn as destructiveModalMetadata,
|
|
2535
|
+
Xn as durations,
|
|
2536
|
+
Jn as easings,
|
|
2534
2537
|
Fe as emptyFixture,
|
|
2535
|
-
|
|
2536
|
-
|
|
2538
|
+
we as entityChip,
|
|
2539
|
+
He as entityNameActions,
|
|
2537
2540
|
vt as entityTabGroup,
|
|
2538
2541
|
Pe as errorFixture,
|
|
2539
2542
|
$t as filteredState,
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
|
|
2544
|
-
|
|
2543
|
+
Fo as findPreset,
|
|
2544
|
+
Eo as formatDateRange,
|
|
2545
|
+
Oo as formatMarketDates,
|
|
2546
|
+
Ao as formatTrend,
|
|
2547
|
+
Lo as formatValue,
|
|
2545
2548
|
Xt as fullLayout,
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2550
|
-
|
|
2551
|
-
|
|
2552
|
-
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2549
|
+
$o as generateMarketId,
|
|
2550
|
+
eo as generateTabId,
|
|
2551
|
+
Bo as getAllPresets,
|
|
2552
|
+
Ko as getDateRangeForPreset,
|
|
2553
|
+
to as getMenuActions,
|
|
2554
|
+
Ho as getPresetLabel,
|
|
2555
|
+
ao as getTransitionStyle,
|
|
2556
|
+
qt as gridCards,
|
|
2557
|
+
ro as interpolate,
|
|
2558
|
+
Go as isInRange,
|
|
2559
|
+
zo as isMarketActive,
|
|
2560
|
+
Vo as isSameDay,
|
|
2558
2561
|
Lt as itemColumns,
|
|
2559
2562
|
Ot as itemRows,
|
|
2560
2563
|
Me as loadingFixture,
|
|
2561
|
-
|
|
2562
|
-
|
|
2564
|
+
no as loginFormMetadata,
|
|
2565
|
+
oo as loginSchema,
|
|
2563
2566
|
ke as manufacturerChip,
|
|
2564
2567
|
aa as manyTabs,
|
|
2565
|
-
|
|
2566
|
-
|
|
2568
|
+
so as mergeHandlers,
|
|
2569
|
+
io as mergeRefs,
|
|
2567
2570
|
ht as metricTabGroup,
|
|
2568
2571
|
ea as mixedTabs,
|
|
2569
|
-
|
|
2572
|
+
Zo as normalizePresetId,
|
|
2570
2573
|
ze as numericActions,
|
|
2571
2574
|
At as orderColumns,
|
|
2572
|
-
|
|
2575
|
+
Ge as orderIdActions,
|
|
2573
2576
|
Et as orderRows,
|
|
2574
2577
|
Jt as ordersTabs,
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2578
|
+
lo as parseNumericValue,
|
|
2579
|
+
co as paymentFormMetadata,
|
|
2580
|
+
uo as paymentSchema,
|
|
2581
|
+
mo as presets,
|
|
2582
|
+
po as registrationFormMetadata,
|
|
2583
|
+
go as registrationSchema,
|
|
2584
|
+
Gt as sampleCompareRanges,
|
|
2582
2585
|
Zt as sampleCustomMarkets,
|
|
2583
|
-
|
|
2586
|
+
Ht as sampleDateRange,
|
|
2584
2587
|
Wt as sampleMarketPresetData,
|
|
2585
2588
|
Vt as sampleMarkets,
|
|
2586
|
-
|
|
2589
|
+
Ut as samplePeriodPresets,
|
|
2587
2590
|
zt as samplePreferences,
|
|
2588
2591
|
Yt as samplePresets,
|
|
2589
2592
|
ta as singleTab,
|
|
@@ -2598,21 +2601,21 @@ export {
|
|
|
2598
2601
|
Pt as standardNegativeFixture,
|
|
2599
2602
|
Ne as statusChip,
|
|
2600
2603
|
St as tableSamples,
|
|
2601
|
-
|
|
2604
|
+
Dt as textSamples,
|
|
2602
2605
|
yt as timeFrameTabGroup,
|
|
2603
|
-
|
|
2606
|
+
Wo as toUppercasePresetId,
|
|
2604
2607
|
bt as useArrowNavigation,
|
|
2605
|
-
|
|
2608
|
+
bo as useCheckboxGroupContext,
|
|
2606
2609
|
xt as useEdgeHoverResize,
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2610
|
+
fo as useFilterLayout,
|
|
2611
|
+
ho as useFlipAndStage,
|
|
2612
|
+
vo as useFlipAndStageContext,
|
|
2613
|
+
yo as useFlipAndStageContextOptional,
|
|
2611
2614
|
gt as useFocusReturn,
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2615
|
+
Co as useFocusTrap,
|
|
2616
|
+
Do as useFormContext,
|
|
2617
|
+
wo as useRadioGroupContext,
|
|
2618
|
+
No as useSlideOutReveal,
|
|
2616
2619
|
tt as useSortableZones,
|
|
2617
|
-
|
|
2620
|
+
xo as useUIContext
|
|
2618
2621
|
};
|