@mechane-ai/elements 0.11.0 → 0.13.0

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.
Files changed (69) hide show
  1. package/README.md +23 -4
  2. package/dist/ai.js +167 -141
  3. package/dist/{categorical-values-FYc43JCa.js → categorical-values-DwobbjBq.js} +2 -2
  4. package/dist/{chart-frame-Bczk5sWj.js → chart-frame-DAxsgMyl.js} +4 -4
  5. package/dist/{chart-input-CbzVN76m.js → chart-input-B0snxbMH.js} +2 -2
  6. package/dist/charts/cartesian.js +6 -6
  7. package/dist/charts/distribution.js +2 -2
  8. package/dist/charts/graph.js +3 -3
  9. package/dist/charts/hierarchy.js +3 -3
  10. package/dist/charts/matrix.js +2 -2
  11. package/dist/charts/timeline.js +4 -4
  12. package/dist/charts.js +1 -1
  13. package/dist/{code-block-B7xzM3tD.js → code-block-VwrOHz5j.js} +2 -2
  14. package/dist/collections.js +402 -267
  15. package/dist/content/code.js +1 -1
  16. package/dist/content/diff.js +3 -3
  17. package/dist/content/link.js +1 -1
  18. package/dist/content/markdown.js +2 -2
  19. package/dist/content/tree.js +2 -2
  20. package/dist/{content-link-CatGOrbo.js → content-link-Oj-MtNYi.js} +1 -1
  21. package/dist/content.js +3 -4
  22. package/dist/elements.css +141 -96
  23. package/dist/feedback.js +1 -1
  24. package/dist/forms/dates.js +22 -23
  25. package/dist/forms.js +1 -1
  26. package/dist/index.js +1 -1
  27. package/dist/layout.js +223 -237
  28. package/dist/navigation/commands.js +3 -3
  29. package/dist/navigation.js +26 -12
  30. package/dist/overlays.js +1 -1
  31. package/dist/packages/ai/src/index.d.ts +2 -2
  32. package/dist/packages/ai/src/prompt-input.d.ts +4 -0
  33. package/dist/packages/collections/src/collection-controls.d.ts +1 -1
  34. package/dist/packages/collections/src/data-table.d.ts +24 -6
  35. package/dist/packages/collections/src/index.d.ts +2 -2
  36. package/dist/packages/core/src/actions.d.ts +5 -8
  37. package/dist/packages/feedback/src/async-region.d.ts +15 -9
  38. package/dist/packages/feedback/src/control-placeholders.d.ts +21 -0
  39. package/dist/packages/feedback/src/index.d.ts +4 -3
  40. package/dist/packages/forms/src/field-styles.d.ts +2 -74
  41. package/dist/packages/forms/src/form-actions.d.ts +11 -0
  42. package/dist/packages/forms/src/form-controls.d.ts +1 -1
  43. package/dist/packages/forms/src/forms.d.ts +3 -3
  44. package/dist/packages/forms/src/index.d.ts +2 -0
  45. package/dist/packages/forms/src/select.d.ts +2 -2
  46. package/dist/packages/forms/src/selection-styles.d.ts +0 -13
  47. package/dist/packages/foundations/src/control-styles.d.ts +122 -0
  48. package/dist/packages/foundations/src/style-composition.d.ts +0 -2
  49. package/dist/packages/foundations/src/tokens.stylex.d.ts +13 -2
  50. package/dist/packages/layout/src/frame.stylex.d.ts +0 -1
  51. package/dist/packages/layout/src/index.d.ts +2 -0
  52. package/dist/packages/layout/src/page-content.d.ts +5 -0
  53. package/dist/packages/layout/src/page-toolbar.d.ts +1 -1
  54. package/dist/packages/layout/src/sidebar.d.ts +3 -3
  55. package/dist/packages/navigation/src/index.d.ts +2 -2
  56. package/dist/packages/navigation/src/page-navigation.d.ts +5 -0
  57. package/dist/{pierre-diff--zsiHCCB.js → pierre-diff-sUAU-xeL.js} +1 -1
  58. package/dist/{pierre-theme-D9hnHv3Z.js → pierre-theme-CBAncKdH.js} +1 -1
  59. package/dist/{pierre-tree-D47uA7lb.js → pierre-tree-Db1yaDM2.js} +3 -3
  60. package/dist/src-B0UTwpOz.js +1003 -0
  61. package/dist/{src-D05isEh_.js → src-BNlyCwOr.js} +141 -69
  62. package/dist/{src-Cs0dRc4X.js → src-CVlgjAlw.js} +1 -1
  63. package/dist/src-DMsnWyru.js +1184 -0
  64. package/dist/tokens.js +18 -8
  65. package/package.json +1 -1
  66. package/packages/foundations/src/tokens.stylex.ts +15 -5
  67. package/dist/packages/feedback/src/loading.d.ts +0 -7
  68. package/dist/src-C_heP5kL.js +0 -1264
  69. package/dist/src-DXsGTJgv.js +0 -969
@@ -1,47 +1,50 @@
1
- import { C as e, c as t, f as n, g as r, w as i } from "./src-D05isEh_.js";
2
- import { r as a } from "./src-C_heP5kL.js";
3
- import { r as o, t as s } from "./src-Cs0dRc4X.js";
4
- import { t as c } from "./accessibility-C-aIZ1Yx.js";
5
- import { tableGeometry as l } from "./tokens.js";
6
- import { mergeProps as u } from "@base-ui/react/merge-props";
7
- import * as d from "@stylexjs/stylex";
8
- import { Fragment as ee, useEffect as f, useLayoutEffect as p, useMemo as te, useRef as m, useState as h } from "react";
9
- import { Fragment as g, jsx as _, jsxs as v } from "react/jsx-runtime";
10
- import { ArrowDown as ne, ArrowUp as re, ArrowUpDown as ie, ChevronLeft as y, ChevronRight as b, Columns3 as x, X as S } from "lucide-react";
11
- import { createColumnHelper as ae, tableFeatures as C, useTable as oe } from "@tanstack/react-table";
1
+ import { C as e, c as t, f as n, g as r, w as i } from "./src-BNlyCwOr.js";
2
+ import { r as a } from "./src-DMsnWyru.js";
3
+ import { r as o, t as s } from "./src-CVlgjAlw.js";
4
+ import { d as c } from "./src-B0UTwpOz.js";
5
+ import { t as l } from "./accessibility-C-aIZ1Yx.js";
6
+ import { tableGeometry as u } from "./tokens.js";
7
+ import { mergeProps as d } from "@base-ui/react/merge-props";
8
+ import * as f from "@stylexjs/stylex";
9
+ import { Children as p, Fragment as ee, useEffect as m, useLayoutEffect as h, useMemo as te, useRef as g, useState as _ } from "react";
10
+ import { Fragment as v, jsx as y, jsxs as b } from "react/jsx-runtime";
11
+ import { ArrowDown as ne, ArrowUp as re, ArrowUpDown as ie, ChevronLeft as x, ChevronRight as S, Columns3 as C, X as w } from "lucide-react";
12
+ import { createColumnHelper as ae, tableFeatures as T, useTable as oe } from "@tanstack/react-table";
12
13
  import { defaultRangeExtractor as se, useVirtualizer as ce } from "@tanstack/react-virtual";
13
14
  // packages/collections/src/collection-controls.tsx
14
- var w = { remove: {
15
+ var E = { remove: {
15
16
  kmuXW: "x2lah0s",
16
17
  $$css: !0
17
18
  } };
18
- function T({ label: e, children: t, actions: n }) {
19
- return /* @__PURE__ */ v("div", {
19
+ function D({ label: e, children: t, actions: n }) {
20
+ let r = p.toArray(t).length > 0, i = p.toArray(n).length > 0;
21
+ return !r && !i ? null : /* @__PURE__ */ b("div", {
20
22
  role: "group",
21
23
  "aria-label": e,
22
- className: "x78zum5 x6s0dn4 x1a02dak xeuugli x1hnptsi x1m92p3w xn9t2bk xso031l x1q0q8m5 x1qndepd xbixft x1hz01jw xtqrqnz x1778rvt",
23
- children: [t, n != null && /* @__PURE__ */ _("div", {
24
+ className: "x9f619 x78zum5 x6s0dn4 x1a02dak xeuugli x1oec0jp x1hnptsi x1dc62k6 xmpbh3m xp0u5rt xso031l x1q0q8m5 x1qndepd xbixft x1hz01jw xtqrqnz x1778rvt xjl7jj",
25
+ children: [t, i && /* @__PURE__ */ y("div", {
24
26
  className: "x78zum5 x6s0dn4 x1a02dak x1hnptsi xeuugli xvc5jky",
25
27
  children: n
26
28
  })]
27
29
  });
28
30
  }
29
- function E({ filters: e, onRemove: t, label: n = "Applied filters" }) {
30
- return /* @__PURE__ */ _("div", {
31
+ function O({ filters: e, onRemove: t, label: n = "Applied filters" }) {
32
+ return e.length === 0 ? null : /* @__PURE__ */ y("div", {
31
33
  role: "group",
32
34
  "aria-label": n,
33
35
  className: "x78zum5 x6s0dn4 x1a02dak x1hnptsi xeuugli",
34
- children: e.map((e) => /* @__PURE__ */ v("span", {
35
- className: "x3nfvp2 x6s0dn4 xunmzkg xyibt8p xmkeg23 x1y0btm7 x1ey3b81 x1ok0vyi xeuugli x193iq5w xj0a0fe xpvm0e4 xbixft x1hz01jw xtqrqnz x1778rvt",
36
- children: [/* @__PURE__ */ _("span", {
37
- className: "xeuugli xj0a0fe",
36
+ children: e.map((e) => /* @__PURE__ */ b("span", {
37
+ className: "x1n2onr6 x9f619 x3nfvp2 x6s0dn4 xunmzkg x1f9pz31 x17kqdoe xyibt8p x1ok0vyi xeuugli x193iq5w xpvm0e4 xbixft x1hz01jw xtqrqnz x1778rvt x1s928wv x1j6awrg xarstr8 x5hscyn x86avzo x10z0kkz x1k48kgn x2q1x1w",
38
+ children: [/* @__PURE__ */ y("span", {
39
+ title: e.label,
40
+ className: "xeuugli xb3r6kr xlyipyv xuxw1ft",
38
41
  children: e.label
39
- }), /* @__PURE__ */ _(i, {
42
+ }), /* @__PURE__ */ y(i, {
40
43
  "aria-label": `Remove ${e.label}`,
41
44
  variant: "ghost",
42
45
  onClick: () => t(e.id),
43
- xstyle: w.remove,
44
- children: /* @__PURE__ */ _(S, {
46
+ xstyle: E.remove,
47
+ children: /* @__PURE__ */ y(w, {
45
48
  size: 14,
46
49
  "aria-hidden": "true"
47
50
  })
@@ -49,54 +52,51 @@ function E({ filters: e, onRemove: t, label: n = "Applied filters" }) {
49
52
  }, e.id))
50
53
  });
51
54
  }
52
- function D({ columns: t, onVisibilityChange: n, label: r = "Columns" }) {
53
- return /* @__PURE__ */ v(o.Root, { children: [/* @__PURE__ */ v(o.Trigger, {
54
- render: /* @__PURE__ */ _(e, {
55
- variant: "outline",
56
- size: "md"
57
- }),
58
- children: [/* @__PURE__ */ _(x, {
55
+ function k({ columns: t, onVisibilityChange: n, label: r = "Columns" }) {
56
+ return /* @__PURE__ */ b(o.Root, { children: [/* @__PURE__ */ b(o.Trigger, {
57
+ render: /* @__PURE__ */ y(e, { variant: "outline" }),
58
+ children: [/* @__PURE__ */ y(C, {
59
59
  size: 16,
60
60
  "aria-hidden": "true"
61
61
  }), r]
62
- }), /* @__PURE__ */ _(o.Portal, { children: /* @__PURE__ */ _(o.Positioner, {
62
+ }), /* @__PURE__ */ y(o.Portal, { children: /* @__PURE__ */ y(o.Positioner, {
63
63
  align: "end",
64
- children: /* @__PURE__ */ _(o.Popup, {
64
+ children: /* @__PURE__ */ y(o.Popup, {
65
65
  "aria-label": r,
66
- children: /* @__PURE__ */ _("div", {
66
+ children: /* @__PURE__ */ y("div", {
67
67
  className: "xrvj5dj x1n8ia3y xfb3i0g",
68
- children: t.map((e) => /* @__PURE__ */ v("label", {
68
+ children: t.map((e) => /* @__PURE__ */ b("label", {
69
69
  className: "x78zum5 x6s0dn4 x1hnptsi xbixft xtqrqnz x1hz01jw x1778rvt xeuugli xj0a0fe",
70
- children: [/* @__PURE__ */ _(a.Root, {
70
+ children: [/* @__PURE__ */ y(a.Root, {
71
71
  checked: e.visible,
72
72
  onCheckedChange: (t) => n(e.id, t),
73
73
  disabled: e.required,
74
- children: /* @__PURE__ */ _(a.Indicator, {})
74
+ children: /* @__PURE__ */ y(a.Indicator, {})
75
75
  }), e.label]
76
76
  }, e.id))
77
77
  })
78
78
  })
79
79
  }) })] });
80
80
  }
81
- function O({ description: n, previous: r, next: i }) {
82
- return /* @__PURE__ */ v("nav", {
81
+ function A({ description: n, previous: r, next: i }) {
82
+ return /* @__PURE__ */ b("nav", {
83
83
  "aria-label": "Pagination",
84
84
  className: "x78zum5 x6s0dn4 x1qughib x1a02dak xaml1ju xeuugli",
85
- children: [/* @__PURE__ */ _(t, { children: n }), /* @__PURE__ */ v("div", {
85
+ children: [/* @__PURE__ */ y(t, { children: n }), /* @__PURE__ */ b("div", {
86
86
  className: "x78zum5 x6s0dn4 x1a02dak x1hnptsi xeuugli xvc5jky",
87
- children: [/* @__PURE__ */ v(e, {
87
+ children: [/* @__PURE__ */ b(e, {
88
88
  variant: "outline",
89
89
  disabled: r.disabled,
90
90
  onClick: r.onClick,
91
- children: [/* @__PURE__ */ _(y, {
91
+ children: [/* @__PURE__ */ y(x, {
92
92
  size: 16,
93
93
  "aria-hidden": "true"
94
94
  }), "Previous"]
95
- }), /* @__PURE__ */ v(e, {
95
+ }), /* @__PURE__ */ b(e, {
96
96
  variant: "outline",
97
97
  disabled: i.disabled,
98
98
  onClick: i.onClick,
99
- children: ["Next", /* @__PURE__ */ _(b, {
99
+ children: ["Next", /* @__PURE__ */ y(S, {
100
100
  size: 16,
101
101
  "aria-hidden": "true"
102
102
  })]
@@ -105,8 +105,8 @@ function O({ description: n, previous: r, next: i }) {
105
105
  });
106
106
  }
107
107
  // packages/collections/src/use-end-reached.ts
108
- function k({ end: e, viewport: t, onEndReached: n, content: r }) {
109
- f(() => {
108
+ function le({ end: e, viewport: t, onEndReached: n, content: r }) {
109
+ m(() => {
110
110
  if (n === void 0 || e.current === null) return;
111
111
  let r = new IntersectionObserver((e) => {
112
112
  e.some((e) => e.isIntersecting) && n();
@@ -120,7 +120,7 @@ function k({ end: e, viewport: t, onEndReached: n, content: r }) {
120
120
  ]);
121
121
  }
122
122
  // packages/collections/src/data-table.tsx
123
- var le = C({}), ue = "a, button, input, select, textarea, label, summary, [role=\"button\"], [role=\"link\"], [role=\"switch\"], [role=\"checkbox\"], [role=\"radio\"], [role=\"combobox\"], [role=\"slider\"], [role=\"spinbutton\"], [role=\"textbox\"], [role=\"tab\"], [role^=\"menuitem\"], [contenteditable]:not([contenteditable=\"false\"]), [tabindex]:not([tabindex=\"-1\"])", de = /* @__PURE__ */ new Map([["ArrowUp", -1], ["ArrowDown", 1]]), A = {
123
+ var ue = T({}), de = 76, fe = "a, button, input, select, textarea, label, summary, [role=\"button\"], [role=\"link\"], [role=\"switch\"], [role=\"checkbox\"], [role=\"radio\"], [role=\"combobox\"], [role=\"slider\"], [role=\"spinbutton\"], [role=\"textbox\"], [role=\"tab\"], [role^=\"menuitem\"], [contenteditable]:not([contenteditable=\"false\"]), [tabindex]:not([tabindex=\"-1\"])", pe = /* @__PURE__ */ new Map([["ArrowUp", -1], ["ArrowDown", 1]]), me = {
124
124
  kmVPX3: "x1717udv",
125
125
  kMzoRj: "xc342km",
126
126
  $$css: !0
@@ -136,6 +136,10 @@ var le = C({}), ue = "a, button, input, select, textarea, label, summary, [role=
136
136
  $$css: !0
137
137
  },
138
138
  content: { $$css: !0 },
139
+ placeholder: {
140
+ kfzvcC: "x47corl",
141
+ $$css: !0
142
+ },
139
143
  fillFrame: {
140
144
  k1xSpc: "x78zum5",
141
145
  kXwgrk: "xdt5ytf",
@@ -185,7 +189,7 @@ var le = C({}), ue = "a, button, input, select, textarea, label, summary, [role=
185
189
  }],
186
190
  caption: {
187
191
  k9WMMc: "xdpxx8g",
188
- kmVPX3: "x1c8xbx5",
192
+ kmVPX3: "xg7ukam",
189
193
  kMwMTN: "x153jb6y",
190
194
  kGuDYH: "xy8obcc",
191
195
  kLWn49: "xas2l8k",
@@ -195,10 +199,10 @@ var le = C({}), ue = "a, button, input, select, textarea, label, summary, [role=
195
199
  kB7OPa: "x9f619",
196
200
  kVAEAm: "x7wzq59",
197
201
  k87sOh: "x13vifvy",
198
- kY2c9j: "x1vjfegm",
202
+ kY2c9j: "x4k8i88",
199
203
  kZKoxP: "x24vdcc",
200
204
  k8WAf4: "xt970qd",
201
- kg3NbH: "x1m92p3w",
205
+ kg3NbH: "x1dc62k6",
202
206
  kt9PQ7: "xso031l",
203
207
  kfdmCh: "x1q0q8m5",
204
208
  kL6WhQ: "x1qndepd",
@@ -211,9 +215,9 @@ var le = C({}), ue = "a, button, input, select, textarea, label, summary, [role=
211
215
  $$css: !0
212
216
  },
213
217
  cell: {
214
- k7Eaqz: "x1cxjkq6",
218
+ kB7OPa: "x9f619",
215
219
  k8WAf4: "xt970qd",
216
- kg3NbH: "x1m92p3w",
220
+ kg3NbH: "x1dc62k6",
217
221
  kXLuUW: "xxymvpz",
218
222
  kHjlTd: "xj0a0fe",
219
223
  $$css: !0
@@ -243,61 +247,184 @@ var le = C({}), ue = "a, button, input, select, textarea, label, summary, [role=
243
247
  $$css: !0
244
248
  },
245
249
  spacer: (e) => [
246
- A,
250
+ me,
247
251
  {
248
252
  kZKoxP: e == null ? e : "x16ye13r",
249
253
  $$css: !0
250
254
  },
251
255
  { "--x-height": ((e) => typeof e == "number" ? e + "px" : e ?? void 0)(e) }
252
256
  ]
253
- }, fe = {
257
+ }, M = {
258
+ primary: {
259
+ minimumWidth: 240,
260
+ flexible: !0,
261
+ truncate: !0
262
+ },
263
+ text: {
264
+ minimumWidth: 160,
265
+ flexible: !1,
266
+ truncate: !0
267
+ },
268
+ status: {
269
+ minimumWidth: 160,
270
+ flexible: !1,
271
+ truncate: !1
272
+ },
273
+ number: {
274
+ minimumWidth: 112,
275
+ flexible: !1,
276
+ truncate: !1
277
+ },
278
+ timestamp: {
279
+ minimumWidth: 160,
280
+ flexible: !1,
281
+ truncate: !1
282
+ },
283
+ actions: {
284
+ minimumWidth: 112,
285
+ flexible: !1,
286
+ truncate: !1
287
+ }
288
+ }, he = {
254
289
  fixed: j.content,
255
290
  content: j.contentCell
256
- }, M = {
257
- start: j.start,
258
- end: j.end
259
- }, pe = {
291
+ }, N = {
292
+ primary: j.start,
293
+ text: j.start,
294
+ status: j.start,
295
+ number: j.end,
296
+ timestamp: j.end,
297
+ actions: j.end
298
+ }, ge = {
260
299
  content: j.content,
261
300
  fill: j.fillFrame
262
- }, me = {
301
+ }, P = {
263
302
  content: j.content,
264
303
  fill: j.fillViewport
265
304
  };
266
- function N({ children: e, secondary: t, leading: n }) {
267
- return /* @__PURE__ */ v("span", {
305
+ function F(e) {
306
+ return e.map((e) => {
307
+ let t = M[e.role], n = e.width ?? (t.flexible ? void 0 : t.minimumWidth);
308
+ return {
309
+ ...e,
310
+ ...n === void 0 ? {} : { width: n }
311
+ };
312
+ });
313
+ }
314
+ function I(e, t = 0) {
315
+ return {
316
+ minimumWidth: e.reduce((e, t) => e + (t.width ?? M[t.role].minimumWidth), t),
317
+ compactWidth: e.filter((e) => e.secondary !== !0).reduce((e, t) => e + (t.width ?? M[t.role].minimumWidth), t)
318
+ };
319
+ }
320
+ function _e({ columns: e, selectable: t = !1 }) {
321
+ return /* @__PURE__ */ b("colgroup", { children: [t && /* @__PURE__ */ y("col", { className: "x1d7z9mz xeuugli x1dc62k6" }), e.map((e) => /* @__PURE__ */ y("col", { ...f.props(e.width !== void 0 && j.width(e.width), e.secondary === !0 && j.secondary) }, e.id))] });
322
+ }
323
+ function L({ columns: e, sizing: t = "content", rowSizing: n = "fixed", hideHeaders: r = !1 }) {
324
+ let i = F(e), { minimumWidth: a, compactWidth: o } = I(i);
325
+ return /* @__PURE__ */ y("div", {
326
+ "aria-hidden": !0,
327
+ inert: !0,
328
+ ...f.props(j.frame, ge[t], j.placeholder),
329
+ children: /* @__PURE__ */ y("div", {
330
+ ...f.props(j.viewport, P[t]),
331
+ children: /* @__PURE__ */ b("table", {
332
+ ...f.props(j.table, j.fixed, j.minimumWidth(a, o)),
333
+ children: [
334
+ /* @__PURE__ */ y(_e, { columns: i }),
335
+ /* @__PURE__ */ y("thead", {
336
+ ...f.props(r && l.hidden),
337
+ children: /* @__PURE__ */ y("tr", { children: i.map((e) => /* @__PURE__ */ y("th", {
338
+ ...f.props(j.header, N[e.role], e.width !== void 0 && j.width(e.width), e.secondary === !0 && j.secondary),
339
+ children: /* @__PURE__ */ y("span", {
340
+ className: "x1lliihq xeuugli xb3r6kr xlyipyv xuxw1ft",
341
+ children: e.label
342
+ })
343
+ }, e.id)) })
344
+ }),
345
+ /* @__PURE__ */ y("tbody", { children: [
346
+ "first",
347
+ "second",
348
+ "third"
349
+ ].map((e) => /* @__PURE__ */ y("tr", {
350
+ className: "x1v2how9 xso031l x1q0q8m5 x1qndepd x13nmlw8 x1t1lzn6",
351
+ children: i.map((e) => /* @__PURE__ */ y("td", {
352
+ ...f.props(j.cell, he[n], N[e.role], e.width !== void 0 && j.width(e.width), e.secondary === !0 && j.secondary),
353
+ children: /* @__PURE__ */ y(H, {
354
+ role: e.role,
355
+ fixed: n === "fixed",
356
+ truncate: void 0,
357
+ children: e.placeholder ?? /* @__PURE__ */ y(c, { width: "60%" })
358
+ })
359
+ }, e.id))
360
+ }, e)) })
361
+ ]
362
+ })
363
+ })
364
+ });
365
+ }
366
+ function R({ children: e, leading: t, decorative: n = !1 }) {
367
+ return /* @__PURE__ */ b("span", {
368
+ "aria-hidden": n || void 0,
369
+ inert: n || void 0,
268
370
  className: "x78zum5 x6s0dn4 x1n8ia3y xeuugli xh8yej3",
269
- children: [n !== void 0 && /* @__PURE__ */ _("span", {
371
+ children: [t !== void 0 && /* @__PURE__ */ y("span", {
270
372
  "aria-hidden": !0,
271
373
  className: "x3nfvp2 x6s0dn4 x2lah0s",
272
- children: n
273
- }), /* @__PURE__ */ v("span", {
374
+ children: t
375
+ }), /* @__PURE__ */ y("span", {
274
376
  className: "x98rzlu xeuugli",
275
- children: [/* @__PURE__ */ _("span", {
377
+ children: e
378
+ })]
379
+ });
380
+ }
381
+ function z({ children: e, secondary: t, leading: n, trailing: r }) {
382
+ return /* @__PURE__ */ b(R, {
383
+ leading: n,
384
+ children: [/* @__PURE__ */ b("span", {
385
+ className: "x78zum5 x6s0dn4 x1hnptsi xeuugli",
386
+ children: [/* @__PURE__ */ y("span", {
276
387
  title: e,
277
- className: "x1lliihq xeuugli xh8yej3 xb3r6kr xuxw1ft xlyipyv",
388
+ className: "x1lliihq xeuugli x14atkfc xs83m0k xb3r6kr xuxw1ft xlyipyv",
278
389
  children: e
279
- }), t !== void 0 && /* @__PURE__ */ _("span", {
280
- title: t,
281
- className: "x1lliihq xeuugli xh8yej3 xb3r6kr xuxw1ft xlyipyv x153jb6y xy8obcc xas2l8k",
282
- children: t
390
+ }), r != null && /* @__PURE__ */ y("span", {
391
+ className: "x3nfvp2 x6s0dn4 x2lah0s",
392
+ children: r
283
393
  })]
394
+ }), t !== void 0 && /* @__PURE__ */ y("span", {
395
+ title: t,
396
+ className: "x1lliihq xeuugli xh8yej3 xb3r6kr xuxw1ft xlyipyv x153jb6y xy8obcc xas2l8k",
397
+ children: t
284
398
  })]
285
399
  });
286
400
  }
287
- function P({ rows: e, columns: t, getRowId: n, caption: r, empty: i, sort: o, onSortChange: s, selectedIds: u, onSelectionChange: g, selectionLabel: y, rowAction: b, activeRowId: x, focusRowId: S, hideCaption: C = !1, hideHeaders: w = !1, rowSizing: T = "fixed", window: E, endContent: D, onEndReached: O, footer: A }) {
288
- let N = te(() => {
401
+ function B({ leading: e, secondary: t = !1 }) {
402
+ return /* @__PURE__ */ b(R, {
403
+ leading: e,
404
+ decorative: !0,
405
+ children: [/* @__PURE__ */ y("span", {
406
+ className: "x1lliihq xeuugli xh8yej3",
407
+ children: /* @__PURE__ */ y(c, { width: "70%" })
408
+ }), t && /* @__PURE__ */ y("span", {
409
+ className: "x1lliihq xeuugli xh8yej3 x153jb6y xy8obcc xas2l8k",
410
+ children: /* @__PURE__ */ y(c, { width: "45%" })
411
+ })]
412
+ });
413
+ }
414
+ function V({ rows: e, columns: t, getRowId: n, caption: r, empty: i, sort: o, onSortChange: s, selectedIds: c, onSelectionChange: d, selectionLabel: p, rowAction: v, activeRowId: x, focusRowId: S, hideCaption: C = !1, hideHeaders: w = !1, rowSizing: T = "fixed", window: E, endContent: D, onEndReached: O, footer: k }) {
415
+ let A = te(() => F(t), [t]), me = te(() => {
289
416
  let e = ae();
290
- return e.columns(t.map((t) => e.display({
417
+ return e.columns(A.map((t) => e.display({
291
418
  id: t.id,
292
419
  header: t.label
293
420
  })));
294
- }, [t]), P = oe({
295
- features: le,
296
- columns: N,
421
+ }, [A]), M = oe({
422
+ features: ue,
423
+ columns: me,
297
424
  data: e,
298
425
  getRowId: n
299
- }), L = m(null), R = m(null), z = m(null), B = m(null), [V, H] = h(0), [U, W] = h(), G = m(void 0), K = m(void 0), q = e.findIndex((e) => n(e) === U), J = t.findIndex((e) => e.secondary !== !0), Y = typeof E?.height == "string" ? E.height : "content";
300
- p(() => {
426
+ }), L = g(null), R = g(null), z = g(null), B = g(null), [V, ye] = _(0), [be, W] = _(), G = g(void 0), K = g(void 0), q = e.findIndex((e) => n(e) === be), J = A.findIndex((e) => e.role === "primary" && e.secondary !== !0), xe = J === -1 ? A.findIndex((e) => e.secondary !== !0) : J, Y = typeof E?.height == "string" ? E.height : "content";
427
+ h(() => {
301
428
  if (S === void 0) {
302
429
  K.current = void 0;
303
430
  return;
@@ -309,14 +436,14 @@ function P({ rows: e, columns: t, getRowId: n, caption: r, empty: i, sort: o, on
309
436
  e.focus({ preventScroll: !0 }), K.current = S;
310
437
  });
311
438
  return () => cancelAnimationFrame(t);
312
- }, [e, S]), k({
439
+ }, [e, S]), le({
313
440
  end: R,
314
441
  onEndReached: E === void 0 ? O : void 0,
315
442
  content: e.length
316
- }), f(() => {
443
+ }), m(() => {
317
444
  let e = z.current, t = B.current;
318
445
  if (E === void 0 || e === null || t === null) return;
319
- let n = new ResizeObserver(() => H(e.offsetHeight + t.offsetHeight));
446
+ let n = new ResizeObserver(() => ye(e.offsetHeight + t.offsetHeight));
320
447
  return n.observe(e), n.observe(t), () => n.disconnect();
321
448
  }, [
322
449
  E,
@@ -332,7 +459,7 @@ function P({ rows: e, columns: t, getRowId: n, caption: r, empty: i, sort: o, on
332
459
  if (r === void 0) throw RangeError("The virtual row is outside the supplied table page.");
333
460
  return n(r);
334
461
  },
335
- estimateSize: () => T === "fixed" ? l.rowHeight : E?.estimatedRowHeight ?? l.rowHeight,
462
+ estimateSize: () => T === "fixed" ? u.rowHeight : E?.estimatedRowHeight ?? u.rowHeight,
336
463
  scrollMargin: V,
337
464
  scrollPaddingStart: V,
338
465
  overscan: 6,
@@ -345,75 +472,78 @@ function P({ rows: e, columns: t, getRowId: n, caption: r, empty: i, sort: o, on
345
472
  q + 1
346
473
  ])].filter((t) => t >= 0 && t < e.length).toSorted((e, t) => e - t);
347
474
  }
348
- }), ge = E === void 0 ? P.getRowModel().rows.map((e, t) => ({
475
+ }), Se = E === void 0 ? M.getRowModel().rows.map((e, t) => ({
349
476
  row: e,
350
477
  index: t,
351
478
  spacerHeight: 0
352
479
  })) : X.getVirtualItems().flatMap((e, t, n) => {
353
- let r = P.getRowModel().rows[e.index];
480
+ let r = M.getRowModel().rows[e.index];
354
481
  return r === void 0 ? [] : [{
355
482
  row: r,
356
483
  index: e.index,
357
484
  spacerHeight: e.start - (n[t - 1]?.end ?? V)
358
485
  }];
359
486
  }), Z = E !== void 0 && (e.length === 0 || X.range?.endIndex === e.length - 1);
360
- f(() => {
487
+ m(() => {
361
488
  Z && O?.();
362
489
  }, [
363
490
  Z,
364
491
  O,
365
492
  e.length
366
- ]), p(() => {
493
+ ]), h(() => {
367
494
  if (G.current === void 0) return;
368
495
  let e = Array.from(L.current?.querySelectorAll("[data-row-id]") ?? []).find((e) => e.dataset.rowId === G.current)?.querySelector("[data-row-action]");
369
496
  e != null && (e.focus({ preventScroll: E !== void 0 }), G.current = void 0);
370
497
  });
371
- function Q(t, r) {
498
+ function Ce(t, r) {
372
499
  let i = t.metaKey || t.ctrlKey, a = t.altKey || t.shiftKey;
373
500
  if (i || a) return;
374
- let o = de.get(t.key);
501
+ let o = pe.get(t.key);
375
502
  if (o === void 0) return;
376
503
  t.preventDefault();
377
504
  let s = r + o, c = e[s];
378
505
  c !== void 0 && (G.current = n(c), W(G.current), E !== void 0 && X.scrollToIndex(s, { align: "auto" }));
379
506
  }
380
- let $ = t.length + (u === void 0 ? 0 : 1), _e = u === void 0 ? 0 : 44, ve = A != null && typeof A != "boolean", ye = t.reduce((e, t) => e + (t.width ?? 160), _e), be = t.filter((e) => e.secondary !== !0).reduce((e, t) => e + (t.width ?? 160), _e), xe = X.getTotalSize() - (X.getVirtualItems().at(-1)?.end ?? V) + V;
381
- return /* @__PURE__ */ v("div", {
382
- ...d.props(j.frame, pe[Y]),
383
- children: [/* @__PURE__ */ v("div", {
507
+ let Q = A.length + (c === void 0 ? 0 : 1), $ = c === void 0 ? 0 : de, we = k != null && typeof k != "boolean", { minimumWidth: Te, compactWidth: Ee } = I(A, $), De = X.getTotalSize() - (X.getVirtualItems().at(-1)?.end ?? V) + V;
508
+ return /* @__PURE__ */ b("div", {
509
+ ...f.props(j.frame, ge[Y]),
510
+ children: [/* @__PURE__ */ b("div", {
384
511
  ref: L,
385
512
  role: "region",
386
513
  "aria-label": r,
387
514
  tabIndex: 0,
388
- ...d.props(j.viewport, me[Y], typeof E?.height == "number" && j.virtual(E.height)),
389
- children: [/* @__PURE__ */ v("table", {
515
+ ...f.props(j.viewport, P[Y], typeof E?.height == "number" && j.virtual(E.height)),
516
+ children: [/* @__PURE__ */ b("table", {
390
517
  "aria-rowcount": E === void 0 ? void 0 : Math.max(1, e.length) + 1,
391
- ...d.props(j.table, (T === "fixed" || t.some((e) => e.truncate === !0)) && j.fixed, j.minimumWidth(ye, be)),
518
+ ...f.props(j.table, j.fixed, j.minimumWidth(Te, Ee)),
392
519
  children: [
393
- /* @__PURE__ */ _("caption", {
520
+ /* @__PURE__ */ y("caption", {
394
521
  ref: z,
395
- ...d.props(j.caption, C && c.hidden),
522
+ ...f.props(j.caption, C && l.hidden),
396
523
  children: r
397
524
  }),
398
- /* @__PURE__ */ v("colgroup", { children: [u !== void 0 && /* @__PURE__ */ _("col", { className: "x187nhsf xeuugli x1doqdfy" }), t.map((e) => /* @__PURE__ */ _("col", { ...d.props(e.width !== void 0 && j.width(e.width), e.secondary === !0 && j.secondary) }, e.id))] }),
399
- /* @__PURE__ */ _("thead", {
525
+ /* @__PURE__ */ y(_e, {
526
+ columns: A,
527
+ selectable: c !== void 0
528
+ }),
529
+ /* @__PURE__ */ y("thead", {
400
530
  ref: B,
401
- ...d.props(w && c.hidden),
402
- children: /* @__PURE__ */ v("tr", { children: [u !== void 0 && /* @__PURE__ */ _("th", {
531
+ ...f.props(w && l.hidden),
532
+ children: /* @__PURE__ */ b("tr", { children: [c !== void 0 && /* @__PURE__ */ y("th", {
403
533
  scope: "col",
404
- className: "x9f619 x7wzq59 x13vifvy x1vjfegm x24vdcc xt970qd xso031l x1q0q8m5 x1qndepd x153jb6y xpvm0e4 xj57cvi xy8obcc xas2l8k xuxw1ft x187nhsf xeuugli x1doqdfy",
405
- children: /* @__PURE__ */ _("span", {
406
- ...d.props(c.hidden),
534
+ className: "x9f619 x7wzq59 x13vifvy x4k8i88 x24vdcc xt970qd xso031l x1q0q8m5 x1qndepd x153jb6y xpvm0e4 xj57cvi xy8obcc xas2l8k xuxw1ft x1d7z9mz xeuugli x1dc62k6",
535
+ children: /* @__PURE__ */ y("span", {
536
+ ...f.props(l.hidden),
407
537
  children: "Select"
408
538
  })
409
- }), t.map((e) => {
539
+ }), A.map((e) => {
410
540
  let t = o?.columnId === e.id ? o.direction : void 0;
411
- return /* @__PURE__ */ _("th", {
541
+ return /* @__PURE__ */ y("th", {
412
542
  scope: "col",
413
543
  title: e.label,
414
544
  "aria-sort": t,
415
- ...d.props(j.header, M[e.align ?? "start"], e.width !== void 0 && j.width(e.width), e.secondary === !0 && j.secondary),
416
- children: e.sortable === !0 && s !== void 0 ? /* @__PURE__ */ v("button", {
545
+ ...f.props(j.header, N[e.role], e.width !== void 0 && j.width(e.width), e.secondary === !0 && j.secondary),
546
+ children: e.sortable === !0 && s !== void 0 ? /* @__PURE__ */ b("button", {
417
547
  type: "button",
418
548
  className: "x3nfvp2 x6s0dn4 x1hnptsi x193iq5w xeuugli x3h6u66 xwu7q15 x1717udv xc342km x1heor9g xjbqb8w xjb2p0i x1qlqyl8 x1pd3egz x15bjb6t x1ypdohk x1mkgjtd x1s9zmfe x13qnu6 x9v5kkp x19rmrnh x7s97pk",
419
549
  onClick: () => {
@@ -425,40 +555,40 @@ function P({ rows: e, columns: t, getRowId: n, caption: r, empty: i, sort: o, on
425
555
  direction: "ascending"
426
556
  });
427
557
  },
428
- children: [/* @__PURE__ */ _("span", {
558
+ children: [/* @__PURE__ */ y("span", {
429
559
  className: "x1lliihq xeuugli xb3r6kr xlyipyv xuxw1ft",
430
560
  children: e.label
431
- }), _(t === "ascending" ? re : t === "descending" ? ne : ie, {
561
+ }), y(t === "ascending" ? re : t === "descending" ? ne : ie, {
432
562
  size: 14,
433
563
  "aria-hidden": "true",
434
564
  className: "x2lah0s"
435
565
  })]
436
- }) : /* @__PURE__ */ _("span", {
566
+ }) : /* @__PURE__ */ y("span", {
437
567
  className: "x1lliihq xeuugli xb3r6kr xlyipyv xuxw1ft",
438
568
  children: e.label
439
569
  })
440
570
  }, e.id);
441
571
  })] })
442
572
  }),
443
- /* @__PURE__ */ v("tbody", {
573
+ /* @__PURE__ */ b("tbody", {
444
574
  onBlur: (e) => {
445
575
  e.currentTarget.contains(e.relatedTarget) || W(void 0);
446
576
  },
447
577
  children: [
448
- ge.map(({ row: e, index: n, spacerHeight: r }) => /* @__PURE__ */ v(ee, { children: [r > 0 && /* @__PURE__ */ _("tr", {
578
+ Se.map(({ row: e, index: t, spacerHeight: n }) => /* @__PURE__ */ b(ee, { children: [n > 0 && /* @__PURE__ */ y("tr", {
449
579
  "aria-hidden": "true",
450
- children: /* @__PURE__ */ _("td", {
451
- colSpan: $,
452
- ...d.props(j.spacer(r))
580
+ children: /* @__PURE__ */ y("td", {
581
+ colSpan: Q,
582
+ ...f.props(j.spacer(n))
453
583
  })
454
- }), /* @__PURE__ */ v("tr", {
455
- "data-index": n,
584
+ }), /* @__PURE__ */ b("tr", {
585
+ "data-index": t,
456
586
  "data-row-id": e.id,
457
- "aria-rowindex": E === void 0 ? void 0 : n + 2,
587
+ "aria-rowindex": E === void 0 ? void 0 : t + 2,
458
588
  ref: E === void 0 || T === "fixed" ? void 0 : X.measureElement,
459
589
  onFocus: () => W(e.id),
460
590
  onClick: (e) => {
461
- if (b === void 0 || !I(e) || e.target instanceof Element && e.target.closest(ue) !== null) return;
591
+ if (v === void 0 || !U(e) || e.target instanceof Element && e.target.closest(fe) !== null) return;
462
592
  let t = e.currentTarget.querySelector("[data-row-action]");
463
593
  t?.focus({ preventScroll: !0 }), t?.click();
464
594
  },
@@ -467,159 +597,165 @@ function P({ rows: e, columns: t, getRowId: n, caption: r, empty: i, sort: o, on
467
597
  2: { className: "x1v2how9 xso031l x1q0q8m5 x1qndepd x13nmlw8 x1t1lzn6 x1ypdohk x1ecmtor" },
468
598
  1: { className: "x1v2how9 xso031l x1q0q8m5 x1qndepd x13nmlw8 x1t1lzn6 x1r8u7ye" },
469
599
  3: { className: "x1v2how9 xso031l x1q0q8m5 x1qndepd x13nmlw8 x1t1lzn6 x1ypdohk x1ecmtor x1r8u7ye" }
470
- }[(b !== void 0) << 1 | (u?.has(e.id) === !0 || x === e.id)],
471
- children: [u !== void 0 && /* @__PURE__ */ _("td", {
472
- className: "xt970qd xxymvpz xj0a0fe x187nhsf xeuugli x1doqdfy",
473
- children: /* @__PURE__ */ _(a.Root, {
474
- "aria-label": y(e.original),
475
- checked: u.has(e.id),
600
+ }[(v !== void 0) << 1 | (c?.has(e.id) === !0 || x === e.id)],
601
+ children: [c !== void 0 && /* @__PURE__ */ y("td", {
602
+ className: "x9f619 xt970qd xxymvpz xj0a0fe x1d7z9mz xeuugli x1dc62k6",
603
+ children: /* @__PURE__ */ y(a.Root, {
604
+ "aria-label": p(e.original),
605
+ checked: c.has(e.id),
476
606
  onCheckedChange: (t) => {
477
- let n = new Set(u);
478
- t ? n.add(e.id) : n.delete(e.id), g(n);
607
+ let n = new Set(c);
608
+ t ? n.add(e.id) : n.delete(e.id), d(n);
479
609
  },
480
- children: /* @__PURE__ */ _(a.Indicator, {})
610
+ children: /* @__PURE__ */ y(a.Indicator, {})
481
611
  })
482
- }), t.map((t, r) => /* @__PURE__ */ _("td", {
483
- ...d.props(j.cell, fe[T], M[t.align ?? "start"], t.width !== void 0 && j.width(t.width), t.secondary === !0 && j.secondary),
484
- children: b !== void 0 && r === J ? /* @__PURE__ */ _(he, {
612
+ }), A.map((n, r) => /* @__PURE__ */ y("td", {
613
+ ...f.props(j.cell, he[T], N[n.role], n.width !== void 0 && j.width(n.width), n.secondary === !0 && j.secondary),
614
+ children: v !== void 0 && r === xe ? /* @__PURE__ */ y(ve, {
485
615
  row: e.original,
486
- action: b,
616
+ action: v,
487
617
  active: x === e.id,
488
- onKeyDown: (e) => Q(e, n),
489
- children: /* @__PURE__ */ _(F, {
618
+ onKeyDown: (e) => Ce(e, t),
619
+ children: /* @__PURE__ */ y(H, {
620
+ role: n.role,
490
621
  fixed: T === "fixed",
491
- truncate: t.truncate,
492
- children: t.cell(e.original)
622
+ truncate: n.truncate,
623
+ children: n.cell(e.original)
493
624
  })
494
- }) : /* @__PURE__ */ _(F, {
625
+ }) : /* @__PURE__ */ y(H, {
626
+ role: n.role,
495
627
  fixed: T === "fixed",
496
- truncate: t.truncate,
497
- children: t.cell(e.original)
628
+ truncate: n.truncate,
629
+ children: n.cell(e.original)
498
630
  })
499
- }, t.id))]
631
+ }, n.id))]
500
632
  })] }, e.id)),
501
- E !== void 0 && xe > 0 && /* @__PURE__ */ _("tr", {
633
+ E !== void 0 && De > 0 && /* @__PURE__ */ y("tr", {
502
634
  "aria-hidden": "true",
503
- children: /* @__PURE__ */ _("td", {
504
- colSpan: $,
505
- ...d.props(j.spacer(xe))
635
+ children: /* @__PURE__ */ y("td", {
636
+ colSpan: Q,
637
+ ...f.props(j.spacer(De))
506
638
  })
507
639
  }),
508
- e.length === 0 && /* @__PURE__ */ _("tr", { children: /* @__PURE__ */ _("td", {
509
- colSpan: $,
640
+ e.length === 0 && /* @__PURE__ */ y("tr", { children: /* @__PURE__ */ y("td", {
641
+ colSpan: Q,
510
642
  className: "x1ttojsm x2b8uid x153jb6y",
511
643
  children: i
512
644
  }) })
513
645
  ]
514
646
  })
515
647
  ]
516
- }), /* @__PURE__ */ _("div", {
648
+ }), /* @__PURE__ */ y("div", {
517
649
  ref: R,
518
650
  ...{
519
651
  0: {},
520
- 1: { className: "xid9utz x1c8xbx5 x153jb6y xy8obcc xas2l8k x15x95ik x1az1eml" }
652
+ 1: { className: "xid9utz xg7ukam x153jb6y xy8obcc xas2l8k x15x95ik x1az1eml" }
521
653
  }[D !== void 0 | 0],
522
654
  children: D
523
655
  })]
524
- }), ve && /* @__PURE__ */ _("div", {
525
- className: "x1c8xbx5 x178xt8z x13fuv20 xhjagg4",
526
- children: A
656
+ }), we && /* @__PURE__ */ y("div", {
657
+ className: "xg7ukam x178xt8z x13fuv20 xhjagg4",
658
+ children: k
527
659
  })]
528
660
  });
529
661
  }
530
- function F({ fixed: e, truncate: t, children: n }) {
531
- let r = typeof n == "string" && (t ?? e);
532
- return /* @__PURE__ */ _("span", {
662
+ function H({ role: e, fixed: t, truncate: n, children: r }) {
663
+ let i = M[e], a = t && i.truncate, o = typeof r == "string" && (n ?? a);
664
+ return /* @__PURE__ */ y("span", {
533
665
  ...{
534
666
  0: { className: "x78zum5 x6s0dn4 xeuugli xh8yej3 xz7qr2x" },
535
667
  1: { className: "x78zum5 x6s0dn4 xeuugli xh8yej3 xt7dq6l" }
536
- }[!e | 0],
537
- children: /* @__PURE__ */ _("span", {
538
- title: typeof n == "string" ? n : void 0,
668
+ }[!t | 0],
669
+ children: /* @__PURE__ */ y("span", {
670
+ title: typeof r == "string" ? r : void 0,
539
671
  ...{
540
- 0: { className: "x1lliihq xeuugli x193iq5w" },
541
- 2: { className: "x1lliihq xeuugli x193iq5w xh8yej3 xhbluta" },
542
- 1: { className: "x1lliihq xeuugli x193iq5w xb3r6kr xuxw1ft xlyipyv" },
543
- 3: { className: "x1lliihq xeuugli x193iq5w xh8yej3 xhbluta xb3r6kr xuxw1ft xlyipyv" }
544
- }[!!e << 1 | !!r],
545
- children: n
672
+ 0: { className: "x1lliihq xeuugli xh8yej3 x193iq5w" },
673
+ 4: { className: "x1lliihq xeuugli xh8yej3 x193iq5w xhbluta" },
674
+ 2: { className: "x1lliihq xeuugli xh8yej3 x193iq5w xuxw1ft" },
675
+ 6: { className: "x1lliihq xeuugli xh8yej3 x193iq5w xhbluta xuxw1ft" },
676
+ 1: { className: "x1lliihq xeuugli xh8yej3 x193iq5w xb3r6kr xuxw1ft xlyipyv" },
677
+ 5: { className: "x1lliihq xeuugli xh8yej3 x193iq5w xhbluta xb3r6kr xuxw1ft xlyipyv" },
678
+ 3: { className: "x1lliihq xeuugli xh8yej3 x193iq5w xb3r6kr xuxw1ft xlyipyv" },
679
+ 7: { className: "x1lliihq xeuugli xh8yej3 x193iq5w xhbluta xb3r6kr xuxw1ft xlyipyv" }
680
+ }[!!t << 2 | !(!t || i.truncate) << 1 | !!o],
681
+ children: r
546
682
  })
547
683
  });
548
684
  }
549
- function I(e) {
685
+ function U(e) {
550
686
  if (e.defaultPrevented || e.button !== 0) return !1;
551
687
  let t = e.metaKey || e.ctrlKey, n = e.altKey || e.shiftKey;
552
688
  return t || n ? !1 : e.detail === 0 || e.currentTarget.ownerDocument.getSelection()?.isCollapsed !== !1;
553
689
  }
554
- function he({ row: e, action: t, active: n, children: r, onKeyDown: i }) {
555
- let a = t.label?.(e), o = t.href === void 0 ? /* @__PURE__ */ _("button", {
690
+ function ve({ row: e, action: t, active: n, children: r, onKeyDown: i }) {
691
+ let a = t.label?.(e), o = t.href === void 0 ? /* @__PURE__ */ y("button", {
556
692
  type: "button",
557
693
  "aria-label": a,
558
694
  "aria-pressed": n,
559
695
  "data-row-action": !0,
560
696
  onKeyDown: i,
561
697
  onClick: (n) => {
562
- I(n) && t.onActivate(e);
698
+ U(n) && t.onActivate(e);
563
699
  },
564
- className: "x1rh3ycu x1hx0egp x78zum5 x6s0dn4 xh8yej3 xeuugli xaeotn9 xwu7q15 x1717udv xc342km x1ok0vyi x1heor9g xjbqb8w xjb2p0i x1qlqyl8 x1pd3egz x15bjb6t x16tdsg8 x1hl2dhg x1ypdohk x13qnu6 x9v5kkp x19rmrnh x7s97pk",
700
+ className: "x1rh3ycu x1hx0egp x78zum5 x6s0dn4 xh8yej3 xeuugli x17tes2r xwu7q15 x1717udv xc342km x1ok0vyi x1heor9g xjbqb8w xjb2p0i x1qlqyl8 x1pd3egz x15bjb6t x16tdsg8 x1hl2dhg x1ypdohk x13qnu6 x9v5kkp x19rmrnh x7s97pk",
565
701
  children: r
566
- }) : /* @__PURE__ */ _("a", {
702
+ }) : /* @__PURE__ */ y("a", {
567
703
  href: t.href(e),
568
704
  "aria-label": a,
569
705
  "data-row-action": !0,
570
706
  onKeyDown: i,
571
707
  onClick: (n) => {
572
- t.onActivate !== void 0 && I(n) && (n.preventDefault(), t.onActivate(e));
708
+ t.onActivate !== void 0 && U(n) && (n.preventDefault(), t.onActivate(e));
573
709
  },
574
- className: "x1rh3ycu x1hx0egp x78zum5 x6s0dn4 xh8yej3 xeuugli xaeotn9 xwu7q15 x1717udv xc342km x1ok0vyi x1heor9g xjbqb8w xjb2p0i x1qlqyl8 x1pd3egz x15bjb6t x16tdsg8 x1hl2dhg x1ypdohk x13qnu6 x9v5kkp x19rmrnh x7s97pk",
710
+ className: "x1rh3ycu x1hx0egp x78zum5 x6s0dn4 xh8yej3 xeuugli x17tes2r xwu7q15 x1717udv xc342km x1ok0vyi x1heor9g xjbqb8w xjb2p0i x1qlqyl8 x1pd3egz x15bjb6t x16tdsg8 x1hl2dhg x1ypdohk x13qnu6 x9v5kkp x19rmrnh x7s97pk",
575
711
  children: r
576
712
  });
577
- return a === void 0 ? o : /* @__PURE__ */ v(s.Root, { children: [/* @__PURE__ */ _(s.Trigger, { render: o }), /* @__PURE__ */ _(s.Portal, { children: /* @__PURE__ */ _(s.Positioner, {
713
+ return a === void 0 ? o : /* @__PURE__ */ b(s.Root, { children: [/* @__PURE__ */ y(s.Trigger, { render: o }), /* @__PURE__ */ y(s.Portal, { children: /* @__PURE__ */ y(s.Positioner, {
578
714
  side: "top",
579
715
  align: "start",
580
- children: /* @__PURE__ */ _(s.Popup, { children: a })
716
+ children: /* @__PURE__ */ y(s.Popup, { children: a })
581
717
  }) })] });
582
718
  }
583
719
  // packages/collections/src/collection-scroll.tsx
584
- function L(r) {
720
+ function ye(r) {
585
721
  switch (r.status) {
586
- case "loading": return /* @__PURE__ */ _(t, {
722
+ case "loading": return /* @__PURE__ */ y(t, {
587
723
  role: "status",
588
724
  variant: "caption",
589
725
  tone: "muted",
590
726
  children: r.message ?? "Loading…"
591
727
  });
592
- case "complete": return r.message === void 0 ? null : /* @__PURE__ */ _(t, {
728
+ case "complete": return r.message === void 0 ? null : /* @__PURE__ */ y(t, {
593
729
  variant: "caption",
594
730
  tone: "muted",
595
731
  children: r.message
596
732
  });
597
- case "ready": return /* @__PURE__ */ _(e, {
733
+ case "ready": return /* @__PURE__ */ y(e, {
598
734
  onClick: r.onLoadMore,
599
735
  children: r.message ?? "Load more"
600
736
  });
601
- case "error": return /* @__PURE__ */ v(n, {
737
+ case "error": return /* @__PURE__ */ b(n, {
602
738
  role: "status",
603
- children: [/* @__PURE__ */ _(t, {
739
+ children: [/* @__PURE__ */ y(t, {
604
740
  variant: "caption",
605
741
  tone: "muted",
606
742
  children: r.message ?? "More records could not be loaded."
607
- }), /* @__PURE__ */ _(e, {
743
+ }), /* @__PURE__ */ y(e, {
608
744
  onClick: r.onLoadMore,
609
745
  children: "Retry"
610
746
  })]
611
747
  });
612
748
  }
613
749
  }
614
- function R({ children: e, endContent: t, onEndReached: n, fill: r = !1, endPosition: i = "end", label: a = "Collection" }) {
615
- let o = m(null), s = m(null);
616
- k({
750
+ function be({ children: e, endContent: t, onEndReached: n, fill: r = !1, endPosition: i = "end", label: a = "Collection" }) {
751
+ let o = g(null), s = g(null);
752
+ le({
617
753
  end: s,
618
754
  viewport: r ? o : void 0,
619
755
  onEndReached: n,
620
756
  content: e
621
757
  });
622
- let c = /* @__PURE__ */ _("div", {
758
+ let c = /* @__PURE__ */ y("div", {
623
759
  ref: s,
624
760
  ...{
625
761
  0: {},
@@ -627,7 +763,7 @@ function R({ children: e, endContent: t, onEndReached: n, fill: r = !1, endPosit
627
763
  }[t !== void 0 | 0],
628
764
  children: t
629
765
  });
630
- return /* @__PURE__ */ v("div", {
766
+ return /* @__PURE__ */ b("div", {
631
767
  ref: o,
632
768
  role: r ? "region" : void 0,
633
769
  "aria-label": r ? a : void 0,
@@ -644,45 +780,44 @@ function R({ children: e, endContent: t, onEndReached: n, fill: r = !1, endPosit
644
780
  });
645
781
  }
646
782
  // packages/collections/src/inspector.tsx
647
- var z = 860;
648
- function B({ master: t, detail: n, label: r, masterLabel: i, revealKey: a, returnFocusRef: o, ...s }) {
649
- let c = m(null), l = m(null), d = m(null);
650
- p(() => {
651
- a !== void 0 && c.current !== null && d.current !== null && c.current.clientWidth <= z && (d.current.focus({ preventScroll: !0 }), d.current.scrollIntoView({
783
+ var W = 860;
784
+ function G({ master: t, detail: n, label: r, masterLabel: i, revealKey: a, returnFocusRef: o, ...s }) {
785
+ let c = g(null), l = g(null), u = g(null);
786
+ h(() => {
787
+ a !== void 0 && c.current !== null && u.current !== null && c.current.clientWidth <= W && (u.current.focus({ preventScroll: !0 }), u.current.scrollIntoView({
652
788
  block: "start",
653
789
  behavior: "instant"
654
790
  }));
655
791
  }, [a]);
656
- function ee() {
792
+ function f() {
657
793
  let e = o?.current ?? l.current;
658
794
  e?.focus({ preventScroll: !0 }), e?.scrollIntoView({
659
795
  block: "nearest",
660
796
  behavior: "instant"
661
797
  });
662
798
  }
663
- return /* @__PURE__ */ _("div", {
664
- ...u({ className: "x9vvk8s x12h1iku xeuugli xbixft x1hz01jw xtqrqnz x1778rvt" }, s),
665
- children: /* @__PURE__ */ v("div", {
799
+ return /* @__PURE__ */ y("div", {
800
+ ...d({ className: "x9vvk8s x12h1iku xeuugli xbixft x1hz01jw xtqrqnz x1778rvt" }, s),
801
+ children: /* @__PURE__ */ b("div", {
666
802
  ref: c,
667
803
  className: "xrvj5dj x4ruv2j x1y7acmc x7a106z x1j825kq xeuugli",
668
- children: [/* @__PURE__ */ _("div", {
804
+ children: [/* @__PURE__ */ y("div", {
669
805
  ref: l,
670
806
  role: "group",
671
807
  "aria-label": i,
672
808
  tabIndex: -1,
673
809
  className: "xeuugli",
674
810
  children: t
675
- }), /* @__PURE__ */ v("aside", {
676
- ref: d,
811
+ }), /* @__PURE__ */ b("aside", {
812
+ ref: u,
677
813
  "aria-label": r,
678
814
  tabIndex: -1,
679
815
  className: "x7wzq59 x7cfggw xqfmuo8 xeuugli x1sbza1b xhuqrux xexx8yu xdz7uhd xpilrb4 xdctr63 x1t7ytsu x97x49r x972fbf x1mg79u0 x13fuv20 xhjagg4 x14ijc3v x13qnu6 x9v5kkp x19rmrnh x12ijfkc",
680
- children: [/* @__PURE__ */ _("div", {
816
+ children: [/* @__PURE__ */ y("div", {
681
817
  className: "x1s85apg x1yamub6 x1xxlxpq",
682
- children: /* @__PURE__ */ v(e, {
683
- size: "sm",
818
+ children: /* @__PURE__ */ b(e, {
684
819
  variant: "ghost",
685
- onClick: ee,
820
+ onClick: f,
686
821
  children: ["Back to ", i.toLowerCase()]
687
822
  })
688
823
  }), n]
@@ -690,15 +825,15 @@ function B({ master: t, detail: n, label: r, masterLabel: i, revealKey: a, retur
690
825
  })
691
826
  });
692
827
  }
693
- function V({ items: e, ...t }) {
694
- return /* @__PURE__ */ _("dl", {
695
- ...u({ className: "x1ghz6dp xrvj5dj xezdspq x1i3977y xuytk5h x1hz01jw xvmahel xtqrqnz x1778rvt" }, t),
696
- children: e.map(({ label: e, value: t }) => /* @__PURE__ */ v("div", {
828
+ function K({ items: e, ...t }) {
829
+ return /* @__PURE__ */ y("dl", {
830
+ ...d({ className: "x1ghz6dp xrvj5dj xezdspq x1i3977y xuytk5h x1hz01jw xvmahel xtqrqnz x1778rvt" }, t),
831
+ children: e.map(({ label: e, value: t }) => /* @__PURE__ */ b("div", {
697
832
  className: "xjp7ctv",
698
- children: [/* @__PURE__ */ _("dt", {
833
+ children: [/* @__PURE__ */ y("dt", {
699
834
  className: "xeuugli x153jb6y xj0a0fe",
700
835
  children: e
701
- }), /* @__PURE__ */ _("dd", {
836
+ }), /* @__PURE__ */ y("dd", {
702
837
  className: "xeuugli x1ghz6dp xbixft xj0a0fe xss6m8b",
703
838
  children: t
704
839
  })]
@@ -706,20 +841,20 @@ function V({ items: e, ...t }) {
706
841
  });
707
842
  }
708
843
  // packages/collections/src/list-footer.tsx
709
- function H({ children: e, actions: t, ...n }) {
710
- return /* @__PURE__ */ v("div", {
711
- ...u({ className: "x78zum5 x6s0dn4 x1qughib x1a02dak xeuugli x1n8ia3y x1qokhjc x1m92p3w x178xt8z x13fuv20 xhjagg4 x153jb6y x1hz01jw xvmahel xtqrqnz x1778rvt" }, n),
712
- children: [/* @__PURE__ */ _("div", {
844
+ function q({ children: e, actions: t, ...n }) {
845
+ return /* @__PURE__ */ b("div", {
846
+ ...d({ className: "x78zum5 x6s0dn4 x1qughib x1a02dak xeuugli x1n8ia3y x1qokhjc x1m92p3w x178xt8z x13fuv20 xhjagg4 x153jb6y x1hz01jw xvmahel xtqrqnz x1778rvt" }, n),
847
+ children: [/* @__PURE__ */ y("div", {
713
848
  className: "xeuugli xj0a0fe",
714
849
  children: e
715
- }), t != null && /* @__PURE__ */ _("div", {
850
+ }), t != null && /* @__PURE__ */ y("div", {
716
851
  className: "x78zum5 x6s0dn4 x1a02dak x1hnptsi xeuugli",
717
852
  children: t
718
853
  })]
719
854
  });
720
855
  }
721
856
  // packages/collections/src/metrics.tsx
722
- var U = {
857
+ var J = {
723
858
  grid: {
724
859
  k1xSpc: "x78zum5",
725
860
  kwnvtZ: "x1a02dak",
@@ -737,41 +872,41 @@ var U = {
737
872
  kogj98: "x1ghz6dp",
738
873
  $$css: !0
739
874
  }
740
- }, W = {
741
- inline: U.grid,
742
- columns: U.columns
875
+ }, xe = {
876
+ inline: J.grid,
877
+ columns: J.columns
743
878
  };
744
- function G({ layout: e = "inline", ...t }) {
745
- return /* @__PURE__ */ _("dl", { ...u(d.props(W[e]), t) });
879
+ function Y({ layout: e = "inline", ...t }) {
880
+ return /* @__PURE__ */ y("dl", { ...d(f.props(xe[e]), t) });
746
881
  }
747
- function K({ label: e, value: t, ...n }) {
748
- return /* @__PURE__ */ v("div", {
749
- ...u({ className: "x3nfvp2 x1pha0wt x1a02dak xunmzkg xeuugli x1hz01jw xvmahel xtqrqnz x1778rvt" }, n),
750
- children: [/* @__PURE__ */ _("dt", {
882
+ function X({ label: e, value: t, ...n }) {
883
+ return /* @__PURE__ */ b("div", {
884
+ ...d({ className: "x3nfvp2 x1pha0wt x1a02dak xunmzkg xeuugli x1hz01jw xvmahel xtqrqnz x1778rvt" }, n),
885
+ children: [/* @__PURE__ */ y("dt", {
751
886
  className: "xeuugli x153jb6y x9ek82g xj0a0fe",
752
887
  children: e
753
- }), /* @__PURE__ */ _("dd", {
888
+ }), /* @__PURE__ */ y("dd", {
754
889
  className: "xeuugli x1ghz6dp xbixft xk4h15q xss6m8b xj0a0fe",
755
890
  children: t
756
891
  })]
757
892
  });
758
893
  }
759
894
  // packages/collections/src/table.tsx
760
- var q = {
895
+ var Se = {
761
896
  kzqmXN: "x11ymkkh x2ipgtl",
762
897
  $$css: !0
763
- }, J = {
898
+ }, Z = {
764
899
  secondary: {
765
900
  k1xSpc: "x1n9xxwz xazwdyr",
766
901
  $$css: !0
767
902
  },
768
- column: (e) => [q, { "--x-1xmrurk": ((e) => typeof e == "number" ? e + "px" : e ?? void 0)(`${e}%`) }],
903
+ column: (e) => [Se, { "--x-1xmrurk": ((e) => typeof e == "number" ? e + "px" : e ?? void 0)(`${e}%`) }],
769
904
  th: {
770
905
  kVAEAm: "x1n2onr6",
771
906
  kZKoxP: "x24vdcc",
772
907
  kB7OPa: "x9f619",
773
908
  k8WAf4: "xt970qd",
774
- kg3NbH: "x1m92p3w",
909
+ kg3NbH: "x1dc62k6",
775
910
  kWkggS: "xpvm0e4",
776
911
  kMwMTN: "x153jb6y",
777
912
  kGuDYH: "xy8obcc",
@@ -796,101 +931,101 @@ var q = {
796
931
  $$css: !0
797
932
  }
798
933
  };
799
- function Y({ headers: e, children: t, label: n, ...r }) {
934
+ function Ce({ headers: e, children: t, label: n, ...r }) {
800
935
  let i = e.findLastIndex((e) => typeof e == "string" || e.secondary !== !0);
801
- return /* @__PURE__ */ _("div", {
936
+ return /* @__PURE__ */ y("div", {
802
937
  role: "region",
803
938
  "aria-label": n,
804
939
  tabIndex: 0,
805
940
  className: "xeuugli xh8yej3 xw2csxc x1t137rt x13qnu6 x9v5kkp x19rmrnh x1bqaal",
806
- children: /* @__PURE__ */ v("table", {
807
- ...u({ "aria-label": n }, {
941
+ children: /* @__PURE__ */ b("table", {
942
+ ...d({ "aria-label": n }, {
808
943
  0: { className: "xh8yej3 x1mwwwfo xpvm0e4 x1hz01jw xvmahel xtqrqnz x1778rvt xdpxx8g" },
809
944
  1: { className: "xh8yej3 x1mwwwfo xpvm0e4 x1hz01jw xvmahel xtqrqnz x1778rvt xdpxx8g x140o2bo" }
810
945
  }[!!e.some((e) => typeof e != "string") | 0], r),
811
- children: [/* @__PURE__ */ _("thead", { children: /* @__PURE__ */ _("tr", { children: e.map((t, n) => /* @__PURE__ */ _("th", {
946
+ children: [/* @__PURE__ */ y("thead", { children: /* @__PURE__ */ y("tr", { children: e.map((t, n) => /* @__PURE__ */ y("th", {
812
947
  scope: "col",
813
- ...d.props(J.th, typeof t != "string" && J.column(t.width), typeof t != "string" && t.secondary === !0 && J.secondary, n === e.length - 1 && J.lastHeader, n === i && J.lastPrimaryHeader),
814
- children: /* @__PURE__ */ _("span", {
948
+ ...f.props(Z.th, typeof t != "string" && Z.column(t.width), typeof t != "string" && t.secondary === !0 && Z.secondary, n === e.length - 1 && Z.lastHeader, n === i && Z.lastPrimaryHeader),
949
+ children: /* @__PURE__ */ y("span", {
815
950
  title: typeof t == "string" ? t : t.label,
816
951
  className: "x1lliihq xb3r6kr xlyipyv",
817
952
  children: typeof t == "string" ? t : t.label
818
953
  })
819
- }, typeof t == "string" ? t : t.label)) }) }), /* @__PURE__ */ _("tbody", { children: t })]
954
+ }, typeof t == "string" ? t : t.label)) }) }), /* @__PURE__ */ y("tbody", { children: t })]
820
955
  })
821
956
  });
822
957
  }
823
- function X({ children: e, secondary: t = !1, mobileLabel: n, ...r }) {
824
- return /* @__PURE__ */ v("td", {
825
- ...u({
826
- 0: { className: "x1v2how9 x9f619 x1hmw7ec x1m92p3w xbixft xxymvpz xuxw1ft xss6m8b xb3r6kr xlyipyv" },
827
- 1: { className: "x1v2how9 x9f619 x1hmw7ec x1m92p3w xbixft xxymvpz xuxw1ft xss6m8b xb3r6kr xlyipyv x1n9xxwz xazwdyr" }
958
+ function Q({ children: e, secondary: t = !1, mobileLabel: n, ...r }) {
959
+ return /* @__PURE__ */ b("td", {
960
+ ...d({
961
+ 0: { className: "x1v2how9 x9f619 x1hmw7ec x1dc62k6 xbixft xxymvpz xuxw1ft xss6m8b xb3r6kr xlyipyv" },
962
+ 1: { className: "x1v2how9 x9f619 x1hmw7ec x1dc62k6 xbixft xxymvpz xuxw1ft xss6m8b xb3r6kr xlyipyv x1n9xxwz xazwdyr" }
828
963
  }[!!t | 0], r),
829
- children: [e, n !== void 0 && /* @__PURE__ */ _("small", {
964
+ children: [e, n !== void 0 && /* @__PURE__ */ y("small", {
830
965
  className: "x1s85apg xacuhyv x153jb6y xy8obcc xas2l8k xb3r6kr xlyipyv",
831
966
  children: n
832
967
  })]
833
968
  });
834
969
  }
835
970
  // packages/collections/src/timestamp.tsx
836
- function ge({ dateTime: e, label: t, title: n }) {
837
- return n === void 0 ? /* @__PURE__ */ _("time", {
971
+ function $({ dateTime: e, label: t, title: n }) {
972
+ return n === void 0 ? /* @__PURE__ */ y("time", {
838
973
  dateTime: e,
839
974
  className: "x1hz01jw xy8obcc xas2l8k x153jb6y xss6m8b xj0a0fe x13qnu6 x9v5kkp x19rmrnh x7s97pk",
840
975
  children: t
841
- }) : /* @__PURE__ */ v(s.Root, { children: [/* @__PURE__ */ _(s.Trigger, {
842
- render: /* @__PURE__ */ _("time", {
976
+ }) : /* @__PURE__ */ b(s.Root, { children: [/* @__PURE__ */ y(s.Trigger, {
977
+ render: /* @__PURE__ */ y("time", {
843
978
  dateTime: e,
844
979
  tabIndex: 0,
845
980
  "aria-label": n,
846
981
  className: "x1hz01jw xy8obcc xas2l8k x153jb6y xss6m8b xj0a0fe x13qnu6 x9v5kkp x19rmrnh x7s97pk"
847
982
  }),
848
983
  children: t
849
- }), /* @__PURE__ */ _(s.Portal, { children: /* @__PURE__ */ _(s.Positioner, { children: /* @__PURE__ */ _(s.Popup, { children: n }) }) })] });
984
+ }), /* @__PURE__ */ y(s.Portal, { children: /* @__PURE__ */ y(s.Positioner, { children: /* @__PURE__ */ y(s.Popup, { children: n }) }) })] });
850
985
  }
851
986
  // packages/collections/src/timeline.tsx
852
- function Z({ label: e, children: t }) {
853
- return /* @__PURE__ */ _("ol", {
987
+ function we({ label: e, children: t }) {
988
+ return /* @__PURE__ */ y("ol", {
854
989
  "aria-label": e,
855
990
  className: "xe8uvvx x1ghz6dp x1717udv xeuugli",
856
991
  children: t
857
992
  });
858
993
  }
859
- function Q({ icon: e, title: t, time: n, metadata: i, children: a, details: o, defaultOpen: s = !1 }) {
860
- let [c, l] = h(s), u = /* @__PURE__ */ v("div", {
994
+ function Te({ icon: e, title: t, time: n, metadata: i, children: a, details: o, defaultOpen: s = !1 }) {
995
+ let [c, l] = _(s), u = /* @__PURE__ */ b("div", {
861
996
  className: "x78zum5 x1pha0wt x1hnptsi x1a02dak xeuugli",
862
- children: [/* @__PURE__ */ _("div", {
997
+ children: [/* @__PURE__ */ y("div", {
863
998
  className: "xeuugli xk4h15q xj0a0fe",
864
- children: o === void 0 ? t : /* @__PURE__ */ _(r.Trigger, {
999
+ children: o === void 0 ? t : /* @__PURE__ */ y(r.Trigger, {
865
1000
  className: "x14atkfc x16exltd xwu7q15 xt970qd xlqzeqv",
866
1001
  children: t
867
1002
  })
868
- }), n != null && /* @__PURE__ */ _("div", {
1003
+ }), n != null && /* @__PURE__ */ y("div", {
869
1004
  className: "xeuugli x153jb6y xy8obcc xas2l8k xss6m8b xj0a0fe",
870
1005
  children: n
871
1006
  })]
872
- }), d = /* @__PURE__ */ v(g, { children: [
1007
+ }), d = /* @__PURE__ */ b(v, { children: [
873
1008
  u,
874
- a != null && (!c || o === void 0) && /* @__PURE__ */ _("div", {
1009
+ a != null && (!c || o === void 0) && /* @__PURE__ */ y("div", {
875
1010
  className: "xeuugli x1ewvobj xj0a0fe",
876
1011
  children: a
877
1012
  }),
878
- i != null && /* @__PURE__ */ _("div", {
1013
+ i != null && /* @__PURE__ */ y("div", {
879
1014
  className: "xeuugli x153jb6y xy8obcc xas2l8k xj0a0fe",
880
1015
  children: i
881
1016
  }),
882
- o !== void 0 && /* @__PURE__ */ _(r.Panel, { children: o })
1017
+ o !== void 0 && /* @__PURE__ */ y(r.Panel, { children: o })
883
1018
  ] });
884
- return /* @__PURE__ */ v("li", {
1019
+ return /* @__PURE__ */ b("li", {
885
1020
  className: "x1n2onr6 xrvj5dj x1eqwfih x1y1mm1b xhlx3wy xeuugli x1hz01jw xvmahel xtqrqnz x1778rvt xbixft x1cpjm7i x1hmns74 x1lk18uv x1gi6gvw x1jw5pjq x1vgi0k x1mi36wk x1wse844 xup0pd7",
886
- children: [/* @__PURE__ */ _("span", {
1021
+ children: [/* @__PURE__ */ y("span", {
887
1022
  "aria-hidden": !0,
888
1023
  className: "x78zum5 x6s0dn4 xl56j7k x1b1e0sl x153jb6y",
889
1024
  children: e
890
- }), o === void 0 ? /* @__PURE__ */ _("div", {
1025
+ }), o === void 0 ? /* @__PURE__ */ y("div", {
891
1026
  className: "xrvj5dj x1hnptsi xeuugli",
892
1027
  children: d
893
- }) : /* @__PURE__ */ _(r.Root, {
1028
+ }) : /* @__PURE__ */ y(r.Root, {
894
1029
  open: c,
895
1030
  onOpenChange: l,
896
1031
  className: "xrvj5dj x1hnptsi xeuugli xh8yej3",
@@ -898,8 +1033,8 @@ function Q({ icon: e, title: t, time: n, metadata: i, children: a, details: o, d
898
1033
  })]
899
1034
  });
900
1035
  }
901
- var $ = {
902
- Root: Z,
903
- Item: Q
1036
+ var Ee = {
1037
+ Root: we,
1038
+ Item: Te
904
1039
  };
905
- export { X as Cell, L as CollectionEnd, O as CollectionPagination, R as CollectionScroll, T as CollectionToolbar, D as ColumnControls, P as DataTable, N as DataTableText, V as Details, E as FilterChips, B as Inspector, H as ListFooter, K as Metric, G as MetricGrid, Y as Table, $ as Timeline, ge as Timestamp };
1040
+ export { Q as Cell, ye as CollectionEnd, A as CollectionPagination, be as CollectionScroll, D as CollectionToolbar, k as ColumnControls, V as DataTable, L as DataTablePlaceholder, z as DataTableText, B as DataTableTextPlaceholder, K as Details, O as FilterChips, G as Inspector, q as ListFooter, X as Metric, Y as MetricGrid, Ce as Table, Ee as Timeline, $ as Timestamp };