@declarion/react 0.48.2 → 0.50.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 (88) hide show
  1. package/dist-lib/Check-DAfMbQIw.js +38 -0
  2. package/dist-lib/{DraggableChildrenTable-p2ZSdwzj.js → DraggableChildrenTable-Dar8C-Z9.js} +31 -31
  3. package/dist-lib/DynamicIcon-DW5krHuX.js +280 -0
  4. package/dist-lib/{Grid-CjLFAKMZ.js → Grid-BkHtfsty.js} +2 -2
  5. package/dist-lib/{LayoutRenderer-DCscqXsv.js → LayoutRenderer-Cic7IAop.js} +601 -598
  6. package/dist-lib/ListCardsBody-Dko91bLv.js +287 -0
  7. package/dist-lib/{MarkdownRenderer-Sb7zcvj0.js → MarkdownRenderer-CJrVG5HZ.js} +1 -1
  8. package/dist-lib/RefreshControl-BS8WWL8i.js +430 -0
  9. package/dist-lib/{SmartDetailPage.impl-BAW-Tx_H.js → SmartDetailPage.impl-DxRDo0p2.js} +521 -516
  10. package/dist-lib/SmartListPage.impl-CNdq5Vts.js +2849 -0
  11. package/dist-lib/{SmartRecordListPage.impl-DtSSlGrI.js → SmartRecordListPage.impl-3ct7f4rT.js} +244 -241
  12. package/dist-lib/SortHeaderMenu-NgjkW8QZ.js +106 -0
  13. package/dist-lib/action-dispatch-hVrm3Hrg.js +1984 -0
  14. package/dist-lib/api/batch.d.ts +5 -2
  15. package/dist-lib/api/data.d.ts +35 -4
  16. package/dist-lib/api/entities.d.ts +3 -3
  17. package/dist-lib/cardProjection-BR-fXPvJ.js +757 -0
  18. package/dist-lib/components/{shared → actions}/ObjectActionBar.d.ts +1 -1
  19. package/dist-lib/components/{shared → actions}/ResponsiveActionBar.d.ts +1 -1
  20. package/dist-lib/components/fields/cells/factories/date.d.ts +2 -0
  21. package/dist-lib/components/file-widgets/upload.d.ts +6 -1
  22. package/dist-lib/components/layout/Layout.d.ts +1 -1
  23. package/dist-lib/components/layout/TopBar.d.ts +1 -1
  24. package/dist-lib/components/pages/SmartListPage.d.ts +2 -12
  25. package/dist-lib/components/pages/SmartListPage.impl.d.ts +4 -0
  26. package/dist-lib/components/pages/list/ListCardRow.d.ts +40 -0
  27. package/dist-lib/components/pages/list/ListCardsBody.d.ts +34 -0
  28. package/dist-lib/components/pages/list/ListFloatbar.d.ts +1 -1
  29. package/dist-lib/components/pages/list/ListFooter.d.ts +26 -0
  30. package/dist-lib/components/pages/list/ListHeader.d.ts +1 -1
  31. package/dist-lib/components/pages/list/ListNoRows.d.ts +32 -0
  32. package/dist-lib/components/pages/list/ListTable.d.ts +34 -0
  33. package/dist-lib/components/pages/list/ListTableRow.d.ts +18 -0
  34. package/dist-lib/components/pages/list/ListToolbar.d.ts +43 -0
  35. package/dist-lib/components/pages/list/SortHeaderMenu.d.ts +14 -0
  36. package/dist-lib/components/pages/list/page-size.d.ts +3 -0
  37. package/dist-lib/components/pages/list/sortable-header.d.ts +2 -0
  38. package/dist-lib/components/pages/list/useListColumnLayout.d.ts +37 -0
  39. package/dist-lib/components/pages/list/useListQuery.d.ts +66 -0
  40. package/dist-lib/components/pages/list/useListRowInteraction.d.ts +61 -0
  41. package/dist-lib/components/pages/list/useListSelection.d.ts +31 -0
  42. package/dist-lib/components/pages/list/useListSort.d.ts +45 -0
  43. package/dist-lib/components/pages/list/useListViews.d.ts +46 -0
  44. package/dist-lib/components/pages/list/useRowMenu.d.ts +1 -1
  45. package/dist-lib/components/primitives/Icons.d.ts +5 -0
  46. package/dist-lib/components/shared/RefreshControl.d.ts +17 -4
  47. package/dist-lib/field-classification-Bm0mgbwA.js +1134 -0
  48. package/dist-lib/format-count-BfRGwx2v.js +1551 -0
  49. package/dist-lib/hooks/useBrandingChrome.d.ts +17 -1
  50. package/dist-lib/hooks/useText.d.ts +3 -0
  51. package/dist-lib/hooks/useViews.d.ts +1 -1
  52. package/dist-lib/icons.js +1 -1
  53. package/dist-lib/index.d.ts +17 -15
  54. package/dist-lib/index.js +1784 -6288
  55. package/dist-lib/lib/messages.d.ts +7 -1
  56. package/dist-lib/lib/rowClickGesture.d.ts +12 -0
  57. package/dist-lib/lib/timestamp.d.ts +8 -3
  58. package/dist-lib/peekDraftStore-bb4WroTA.js +194 -0
  59. package/dist-lib/record-documents-key-8fdm7C10.js +27 -0
  60. package/dist-lib/registry-CgeGoWpW.js +1768 -0
  61. package/dist-lib/testing.d.ts +17 -2
  62. package/dist-lib/testing.js +72 -58
  63. package/dist-lib/types/api.d.ts +54 -12
  64. package/dist-lib/types/schema.d.ts +22 -6
  65. package/dist-lib/{useCurrentScreen-BshVTPVq.js → useCurrentScreen-D3XH5ptA.js} +1127 -1070
  66. package/dist-lib/useListQuery-CfuINl-0.js +87 -0
  67. package/dist-lib/useProperties-DNocaxBX.js +81 -0
  68. package/dist-lib/{useProperties-DrHFr0A1.js → useTabSearchMirror-d0BAUIcQ.js} +116 -194
  69. package/dist-lib/{value-B1O6QikE.js → value-D71J0sJq.js} +69 -69
  70. package/package.json +1 -1
  71. package/dist-lib/DynamicIcon-Dc2j-rg_.js +0 -275
  72. package/dist-lib/RefreshControl-Cnl9nE0x.js +0 -945
  73. package/dist-lib/registry-CCxnZW2b.js +0 -5281
  74. /package/dist-lib/components/{shared → actions}/ActionButton.d.ts +0 -0
  75. /package/dist-lib/components/{shared → actions}/ActionDialog.d.ts +0 -0
  76. /package/dist-lib/components/{shared → actions}/ActionResultDialog.d.ts +0 -0
  77. /package/dist-lib/components/{shared → actions}/ActionRunner.d.ts +0 -0
  78. /package/dist-lib/components/{mass-edit → actions}/PropertyGridEditor.d.ts +0 -0
  79. /package/dist-lib/components/{shared → actions}/RowActionsKebab.d.ts +0 -0
  80. /package/dist-lib/components/{shared → chrome}/AssociationTabs.d.ts +0 -0
  81. /package/dist-lib/components/{shared → chrome}/AuditMetaStrip.d.ts +0 -0
  82. /package/dist-lib/components/{shared → chrome}/Breadcrumbs.d.ts +0 -0
  83. /package/dist-lib/components/{shared → chrome}/HighlightsStrip.d.ts +0 -0
  84. /package/dist-lib/components/{shared → chrome}/PageHeader.d.ts +0 -0
  85. /package/dist-lib/components/{shared → chrome}/RecordHeader.d.ts +0 -0
  86. /package/dist-lib/components/{shell → layout}/CommandPalette.d.ts +0 -0
  87. /package/dist-lib/components/{columns → list}/ColumnPicker.d.ts +0 -0
  88. /package/dist-lib/components/{views → list}/ViewSwitcher.d.ts +0 -0
@@ -0,0 +1,430 @@
1
+ import { s as e } from "./DynamicIcon-DW5krHuX.js";
2
+ import { $n as t, dr as n, ir as r, pt as i, rr as a, ur as o } from "./useCurrentScreen-D3XH5ptA.js";
3
+ import { A as s, B as c, C as l } from "./field-classification-Bm0mgbwA.js";
4
+ import { useCallback as u, useEffect as d, useId as f, useMemo as p, useRef as m, useState as h } from "react";
5
+ import { useLocation as g } from "react-router";
6
+ import { Fragment as _, jsx as v, jsxs as y } from "react/jsx-runtime";
7
+ import { createPortal as b } from "react-dom";
8
+ //#region src/components/primitives/Avatar.tsx
9
+ function x({ name: e, size: t = 22, color: n }) {
10
+ let r = e.split(/\s+/).map((e) => e[0]).slice(0, 2).join("").toUpperCase(), i = e.split("").reduce((e, t) => e + t.charCodeAt(0), 0), a = [
11
+ "#DCE4F6",
12
+ "#E4DCF6",
13
+ "#F6DCE4",
14
+ "#F6E4DC",
15
+ "#DCF6E4",
16
+ "#DCF6F1",
17
+ "#F1F6DC",
18
+ "#F6DCF1"
19
+ ], o = n || a[i % a.length];
20
+ return /* @__PURE__ */ v("span", {
21
+ style: {
22
+ display: "inline-flex",
23
+ alignItems: "center",
24
+ justifyContent: "center",
25
+ width: t,
26
+ height: t,
27
+ borderRadius: 999,
28
+ background: o,
29
+ color: "#1E2A4A",
30
+ fontSize: t < 20 ? 9.5 : 10.5,
31
+ fontWeight: 600,
32
+ flexShrink: 0
33
+ },
34
+ children: r
35
+ });
36
+ }
37
+ //#endregion
38
+ //#region src/components/primitives/Tooltip.tsx
39
+ var ee = 350, S = 80, C = 260, w = 6, T = 4;
40
+ function E(e, t) {
41
+ let [n, r] = h(!1), [i, a] = h(null), o = m(null), s = m(null), c = m(null), l = f(), p = u(() => {
42
+ s.current && clearTimeout(s.current), c.current && clearTimeout(c.current), s.current = null, c.current = null;
43
+ }, []), g = u(() => {
44
+ let t = e.current;
45
+ if (!t) return;
46
+ let n = t.getBoundingClientRect(), r = o.current, i = r?.offsetWidth ?? C, s = r?.offsetHeight ?? 0, c = n.left + n.width / 2 - i / 2;
47
+ c = Math.max(T, Math.min(c, window.innerWidth - i - T));
48
+ let l = n.top - w - s < T ? n.bottom + w : n.top - w - s;
49
+ a({
50
+ left: c,
51
+ top: l
52
+ });
53
+ }, [e]), _ = u((e) => {
54
+ t && (p(), e ? r(!0) : s.current = setTimeout(() => r(!0), ee));
55
+ }, [p, t]), y = u(() => {
56
+ p(), c.current = setTimeout(() => r(!1), S);
57
+ }, [p]);
58
+ d(() => {
59
+ if (!n) {
60
+ a(null);
61
+ return;
62
+ }
63
+ g();
64
+ let e = () => g();
65
+ return window.addEventListener("scroll", e, !0), window.addEventListener("resize", e), () => {
66
+ window.removeEventListener("scroll", e, !0), window.removeEventListener("resize", e);
67
+ };
68
+ }, [n, g]), d(() => p, [p]), d(() => {
69
+ if (!n) return;
70
+ let t = (t) => {
71
+ let n = e.current;
72
+ n && t.target instanceof Node && n.contains(t.target) || r(!1);
73
+ };
74
+ return document.addEventListener("pointerdown", t, !0), () => document.removeEventListener("pointerdown", t, !0);
75
+ }, [n, e]);
76
+ let x = {
77
+ position: "fixed",
78
+ left: i?.left ?? 0,
79
+ top: i?.top ?? 0,
80
+ zIndex: 1e3,
81
+ maxWidth: C,
82
+ padding: "5px 8px",
83
+ borderRadius: 6,
84
+ background: "var(--surface-inverse, #1f2430)",
85
+ color: "var(--text-inverse, #f5f6f8)",
86
+ fontSize: 12,
87
+ lineHeight: 1.4,
88
+ boxShadow: "0 4px 14px rgba(0,0,0,0.18)",
89
+ pointerEvents: "none",
90
+ visibility: i ? "visible" : "hidden",
91
+ whiteSpace: "normal"
92
+ }, E = n && t ? b(/* @__PURE__ */ v("div", {
93
+ ref: o,
94
+ id: l,
95
+ role: "tooltip",
96
+ style: x,
97
+ children: t
98
+ }), document.body) : null;
99
+ return {
100
+ open: n,
101
+ triggerHandlers: {
102
+ onMouseEnter: () => _(!1),
103
+ onMouseLeave: y,
104
+ onFocus: () => _(!0),
105
+ onBlur: y,
106
+ onPointerUp: (e) => {
107
+ e.pointerType === "mouse" || !t || (p(), r((e) => !e));
108
+ }
109
+ },
110
+ describedBy: n && t ? l : void 0,
111
+ portal: E
112
+ };
113
+ }
114
+ function D({ content: e, children: t, triggerProps: n }) {
115
+ let r = m(null), { triggerHandlers: i, describedBy: a, portal: o } = E(r, e);
116
+ return e ? /* @__PURE__ */ y(_, { children: [/* @__PURE__ */ v("span", {
117
+ ...n,
118
+ ref: r,
119
+ "aria-describedby": a,
120
+ style: {
121
+ display: "inline-flex",
122
+ alignItems: "center",
123
+ ...n?.style ?? {}
124
+ },
125
+ ...i,
126
+ children: t
127
+ }), o] }) : /* @__PURE__ */ v(_, { children: t });
128
+ }
129
+ function O({ label: t, size: n = 14, ...r }) {
130
+ return /* @__PURE__ */ v(D, {
131
+ content: t,
132
+ children: /* @__PURE__ */ v("span", {
133
+ tabIndex: 0,
134
+ role: "note",
135
+ "aria-label": t,
136
+ "data-testid": r["data-testid"],
137
+ style: {
138
+ display: "inline-flex",
139
+ alignItems: "center",
140
+ color: "var(--text-3)",
141
+ cursor: "help"
142
+ },
143
+ children: /* @__PURE__ */ v(e.info, { size: n })
144
+ })
145
+ });
146
+ }
147
+ //#endregion
148
+ //#region src/lib/branding.ts
149
+ var k = "branding";
150
+ function A(e, t) {
151
+ return e?.parameters.find((e) => e.code === t)?.value;
152
+ }
153
+ function j(e) {
154
+ return M(A(e, k));
155
+ }
156
+ function M(e) {
157
+ if (P(e)) return e;
158
+ }
159
+ function N(e) {
160
+ let t = j(e)?.identity;
161
+ return P(t) ? t : void 0;
162
+ }
163
+ function P(e) {
164
+ return !!e && typeof e == "object" && !Array.isArray(e);
165
+ }
166
+ function F(e) {
167
+ if (!e) return !1;
168
+ let t = e.trim();
169
+ return t ? t.startsWith("/") || t.startsWith("http://") || t.startsWith("https://") || t.startsWith("data:image/") : !1;
170
+ }
171
+ //#endregion
172
+ //#region src/hooks/useBranding.ts
173
+ function I() {
174
+ let e = c(k);
175
+ return {
176
+ branding: M(e.value),
177
+ isLoading: e.loading
178
+ };
179
+ }
180
+ function L() {
181
+ return I().branding?.identity;
182
+ }
183
+ function R() {
184
+ return I().branding?.chrome;
185
+ }
186
+ //#endregion
187
+ //#region src/hooks/useBrandingChrome.ts
188
+ function z() {
189
+ let e = i(), t = R();
190
+ return (e.enabled ? t?.embed?.viewport : t?.full?.viewport) ?? "auto";
191
+ }
192
+ function B(e, t) {
193
+ return typeof e == "number" && Number.isFinite(e) && e > 0 ? e : t;
194
+ }
195
+ function V() {
196
+ let e = i(), t = R(), n = e.enabled ? t?.embed?.breakpoints : t?.full?.breakpoints, r = n?.phone_max, a = n?.tablet_max, o = n?.landscape_phone_max_height;
197
+ return p(() => H({
198
+ phone_max: r,
199
+ tablet_max: a,
200
+ landscape_phone_max_height: o
201
+ }), [
202
+ r,
203
+ a,
204
+ o
205
+ ]);
206
+ }
207
+ function H(e) {
208
+ let t = B(e?.phone_max, r.phoneMax), n = B(e?.tablet_max, r.tabletMax), i = t < n;
209
+ return i || console.error(`branding.chrome breakpoints: phone_max (${t}) must be below tablet_max (${n}), or no viewport can ever resolve to the tablet class. Both bounds fall back to the SDK defaults.`), {
210
+ phoneMax: i ? t : r.phoneMax,
211
+ tabletMax: i ? n : r.tabletMax,
212
+ landscapePhoneMaxHeight: B(e?.landscape_phone_max_height, r.landscapePhoneMaxHeight)
213
+ };
214
+ }
215
+ function U(e) {
216
+ let t = i(), n = R();
217
+ return p(() => {
218
+ let r = { ...t.enabled ? n?.embed?.surfaces?.[e] : n?.full?.surfaces?.[e] };
219
+ return {
220
+ ...r,
221
+ isVisible: (e) => r[e] !== !1
222
+ };
223
+ }, [
224
+ n,
225
+ t.enabled,
226
+ e
227
+ ]);
228
+ }
229
+ function W() {
230
+ let e = R();
231
+ return p(() => {
232
+ let t = { ...e?.full?.shell };
233
+ return {
234
+ ...t,
235
+ isVisible: (e) => t[e] !== !1
236
+ };
237
+ }, [e]);
238
+ }
239
+ //#endregion
240
+ //#region src/lib/scroll-restoration.ts
241
+ var G = "scroll", K = 120, q = 24, J = 600;
242
+ function Y(e, t) {
243
+ return Number.isFinite(e) ? Math.max(0, Math.min(e, Number.isFinite(t) && t > 0 ? t : 0)) : 0;
244
+ }
245
+ function X(e, t, n) {
246
+ let r = Number.isFinite(e) ? e : 0;
247
+ if (t) {
248
+ let e = n[t.index];
249
+ if (e !== void 0) return {
250
+ key: e,
251
+ delta: Math.max(0, r - t.start),
252
+ offset: r
253
+ };
254
+ }
255
+ return {
256
+ key: "",
257
+ delta: 0,
258
+ offset: r
259
+ };
260
+ }
261
+ function Z(e, t, n, r) {
262
+ if (!e) return null;
263
+ if (e.key) {
264
+ let i = t.indexOf(e.key);
265
+ if (i >= 0) {
266
+ let t = n(i);
267
+ if (t !== void 0) return Y(t + e.delta, r);
268
+ }
269
+ }
270
+ return Y(e.offset, r);
271
+ }
272
+ function Q(e = G) {
273
+ let t = g(), n = m(null);
274
+ if (n.current === null) {
275
+ let r = l(t), i = s.getState().read(r, e);
276
+ n.current = i && Number.isFinite(i.offset) ? Math.max(0, i.offset) : 0;
277
+ }
278
+ return n.current;
279
+ }
280
+ function te(e) {
281
+ let t = 0, n = null, r = () => {
282
+ n = null, t = Date.now(), e();
283
+ };
284
+ return {
285
+ trigger() {
286
+ let e = Date.now() - t;
287
+ e >= K ? r() : n === null && (n = setTimeout(r, K - e));
288
+ },
289
+ flush() {
290
+ n !== null && (clearTimeout(n), n = null), e();
291
+ },
292
+ cancel() {
293
+ n !== null && (clearTimeout(n), n = null);
294
+ }
295
+ };
296
+ }
297
+ function ne(e) {
298
+ let { virtualizer: t, scrollElementRef: n, rowKeys: r } = e, i = e.stateKey ?? "scroll", a = e.enabled ?? !0, o = g(), c = l(o), u = m(t);
299
+ u.current = t;
300
+ let f = m(r);
301
+ f.current = r;
302
+ let p = m(null);
303
+ d(() => {
304
+ p.current !== c && (p.current = null);
305
+ }, [c]), d(() => {
306
+ if (!a) return;
307
+ let e = u.current;
308
+ if (!e || r.length === 0) return;
309
+ let t = s.getState().read(c, i), n = p.current !== c;
310
+ if (p.current = c, !t) {
311
+ n && e.scrollToOffset(0, {
312
+ align: "start",
313
+ behavior: "auto"
314
+ });
315
+ return;
316
+ }
317
+ let o = 0, l = 0, d = NaN, m = () => {
318
+ let e = u.current;
319
+ if (!e) return;
320
+ let n = Z(t, f.current, (t) => e.getOffsetForIndex(t, "start")?.[0], e.getTotalSize());
321
+ n !== null && (Number.isNaN(d) || Math.abs(n - d) > 1) && (e.scrollToOffset(n, {
322
+ align: "start",
323
+ behavior: "auto"
324
+ }), d = n, l++ < q && (o = requestAnimationFrame(m)));
325
+ };
326
+ return m(), () => {
327
+ o && cancelAnimationFrame(o);
328
+ };
329
+ }, [
330
+ a,
331
+ c,
332
+ r,
333
+ i
334
+ ]), $(n, a, c, i, (e) => {
335
+ let t = u.current;
336
+ if (!t) return null;
337
+ let n = e.scrollTop, r = n > 0 ? n : t.scrollOffset ?? 0;
338
+ return X(r, t.getVirtualItemForOffset(r), f.current);
339
+ });
340
+ }
341
+ function $(e, t, n, r, i) {
342
+ let a = m(i);
343
+ a.current = i, d(() => {
344
+ if (!t) return;
345
+ let i = 0, o = J, c = null, l = null, u = (e) => {
346
+ let t = a.current(e);
347
+ t && s.getState().set(n, r, t);
348
+ }, d = () => l?.trigger(), f = () => {
349
+ let t = e.current;
350
+ if (!t) {
351
+ o-- > 0 && (i = requestAnimationFrame(f));
352
+ return;
353
+ }
354
+ c = t, l = te(() => u(t)), t.addEventListener("scroll", d, { passive: !0 });
355
+ };
356
+ return f(), () => {
357
+ i && cancelAnimationFrame(i), c && c.removeEventListener("scroll", d), l?.flush();
358
+ };
359
+ }, [
360
+ t,
361
+ e,
362
+ n,
363
+ r
364
+ ]);
365
+ }
366
+ function re(e) {
367
+ let { scrollElementRef: t } = e, n = e.stateKey ?? "scroll", r = e.enabled ?? !0, i = g(), a = l(i), o = m(null);
368
+ d(() => {
369
+ if (!r || o.current === a) return;
370
+ let e = 0, i = J, c = () => {
371
+ let r = t.current;
372
+ if (!r) {
373
+ i-- > 0 && (e = requestAnimationFrame(c));
374
+ return;
375
+ }
376
+ o.current = a;
377
+ let l = s.getState().read(a, n);
378
+ l && (r.scrollTop = Number.isFinite(l.offset) ? Math.max(0, l.offset) : 0);
379
+ };
380
+ return c(), () => {
381
+ e && cancelAnimationFrame(e);
382
+ };
383
+ }, [
384
+ r,
385
+ a,
386
+ n,
387
+ t
388
+ ]), $(t, r, a, n, (e) => ({
389
+ key: "",
390
+ delta: 0,
391
+ offset: e.scrollTop
392
+ }));
393
+ }
394
+ //#endregion
395
+ //#region src/components/shared/RefreshControl.tsx
396
+ function ie({ liveObject: r, realtime: i = !0 }) {
397
+ let { isPhone: s } = a(), c = r.isLive ? s ? void 0 : "Live" : "Updates paused";
398
+ return /* @__PURE__ */ y("span", {
399
+ style: {
400
+ display: "inline-flex",
401
+ alignItems: "center",
402
+ gap: 8
403
+ },
404
+ children: [/* @__PURE__ */ v(n, {
405
+ icon: r.isFetching ? /* @__PURE__ */ v("span", {
406
+ "data-testid": "refresh-spinner",
407
+ style: { display: "inline-flex" },
408
+ children: /* @__PURE__ */ v(t, { size: 14 })
409
+ }) : /* @__PURE__ */ v(e.refresh, { size: 14 }),
410
+ title: "Refresh",
411
+ disabled: r.isLoading || r.isFetching,
412
+ onClick: () => {
413
+ r.refetch();
414
+ }
415
+ }), i && /* @__PURE__ */ v("span", {
416
+ "data-testid": "live-indicator",
417
+ role: "status",
418
+ "aria-label": r.isLive ? "Live" : "Updates paused",
419
+ title: r.isLive ? "This view updates automatically in realtime." : "Realtime updates are paused. Refresh manually to load the latest data.",
420
+ children: /* @__PURE__ */ v(o, {
421
+ tone: r.isLive ? "emerald" : "amber",
422
+ size: "xs",
423
+ dot: !0,
424
+ children: c
425
+ })
426
+ })]
427
+ });
428
+ }
429
+ //#endregion
430
+ export { x as _, ne as a, W as c, L as d, N as f, E as g, D as h, Q as i, z as l, O as m, G as n, V as o, F as p, re as r, U as s, ie as t, I as u };