@nivaro/react 0.3.100 → 0.3.101
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/dist/full.css +1 -1
- package/dist/hooks/useSessionRecorder.js +1 -1
- package/dist/index.d.ts +46 -3
- package/dist/index.js +623 -620
- package/dist/shared/components/ActivityEntry.js +5 -5
- package/dist/shared/components/ItemEditForm.js +2708 -2704
- package/dist/shared/components/JobsTray.js +74 -63
- package/dist/shared/components/NotificationBell.js +80 -73
- package/dist/shared/components/TipLayer.js +56 -41
- package/dist/shared/components/integrations/console/SignalCard.js +40 -40
- package/dist/shared/components/integrations/console/drill/SubmissionDrill.js +95 -73
- package/dist/shared/components/integrations/console/drill/status.js +23 -18
- package/dist/shared/components/item-edit/RecordInsights.js +86 -86
- package/dist/shared/components/item-edit/header-path-preview.js +46 -34
- package/dist/shared/components/notifications/DeliveryChips.js +1 -2
- package/dist/shared/components/panels/BackgroundMove.js +152 -85
- package/dist/shared/components/panels/PipelinePanel.js +602 -594
- package/dist/shared/components/profile/ActivityFeedCard.js +322 -0
- package/dist/shared/components/profile/DayTimeline.js +145 -140
- package/dist/shared/components/profile/PersonAccess.js +679 -383
- package/dist/shared/components/profile/PersonActivity.js +404 -427
- package/dist/shared/components/profile/PersonDidPanel.js +248 -134
- package/dist/shared/components/profile/PersonProfile.js +33 -32
- package/dist/shared/components/profile/journey-view.js +166 -0
- package/dist/shared/lib/activity-sentence.js +319 -236
- package/dist/shared/lib/jobs-tray.js +60 -41
- package/dist/shared/lib/move-failure.js +16 -6
- package/dist/shared/lib/obligation-banner.js +16 -16
- package/dist/shared/lib/partner-failure.js +44 -32
- package/package.json +1 -1
|
@@ -0,0 +1,322 @@
|
|
|
1
|
+
import { jsxs as l, jsx as i, Fragment as M } from "react/jsx-runtime";
|
|
2
|
+
import { useQuery as K, useInfiniteQuery as U } from "@tanstack/react-query";
|
|
3
|
+
import { X as G, ArrowDownAZ as Q, ArrowUpAZ as Z, Activity as z, ShieldCheck as B, ChevronRight as H, Globe as V } from "lucide-react";
|
|
4
|
+
import { useState as k, useMemo as A } from "react";
|
|
5
|
+
import { useNivaroClient as X, useItemNavigation as J, useNavigation as Y } from "../../context.js";
|
|
6
|
+
import { groupActivity as ee, readableTitle as te, linkChanges as D, activityWhy as ae, linkPairText as F, junctionOf as w, recordPhrase as ne, renderActivitySentence as O, actorName as T, parseTransitionComment as E, transitionVerb as ie, renderActivityGroupSentence as re } from "../../lib/activity-sentence.js";
|
|
7
|
+
import { get as P } from "../../lib/commands.js";
|
|
8
|
+
import { cn as S, formatDateTime as oe, formatRelative as se } from "../../lib/utils.js";
|
|
9
|
+
import { useActivityLabels as ce } from "../ActivityEntry.js";
|
|
10
|
+
import { ErrorNotice as le } from "../ErrorNotice.js";
|
|
11
|
+
import { SimpleSelect as de } from "../ui/SimpleSelect.js";
|
|
12
|
+
import { SectionCard as ue, EmptyLine as me } from "./primitives.js";
|
|
13
|
+
function pe(e) {
|
|
14
|
+
return !e.collection || !e.item || /^(nivaro|directus)_/i.test(e.collection) ? !1 : e.action !== "delete";
|
|
15
|
+
}
|
|
16
|
+
const he = {
|
|
17
|
+
read: "Opened",
|
|
18
|
+
create: "Created",
|
|
19
|
+
update: "Edited",
|
|
20
|
+
delete: "Deleted",
|
|
21
|
+
login: "Signed in",
|
|
22
|
+
logout: "Signed out",
|
|
23
|
+
comment: "Commented",
|
|
24
|
+
transition: "Moved",
|
|
25
|
+
"pipeline-transition": "Moved",
|
|
26
|
+
"access-request": "Asked for access",
|
|
27
|
+
"access-request-grant": "Access granted",
|
|
28
|
+
"access-request-deny": "Access declined",
|
|
29
|
+
"notification-read": "Read notifications",
|
|
30
|
+
"copy-access": "Access copied"
|
|
31
|
+
};
|
|
32
|
+
function j(e) {
|
|
33
|
+
return he[e] ?? te(e);
|
|
34
|
+
}
|
|
35
|
+
const ge = {
|
|
36
|
+
create: "bg-emerald-500",
|
|
37
|
+
update: "bg-slate-400 dark:bg-slate-500",
|
|
38
|
+
delete: "bg-red-500",
|
|
39
|
+
signin: "bg-violet-500",
|
|
40
|
+
access: "bg-amber-500",
|
|
41
|
+
other: "bg-slate-400"
|
|
42
|
+
};
|
|
43
|
+
function R(e, n) {
|
|
44
|
+
const t = e[0];
|
|
45
|
+
if (t.about_them) return "access";
|
|
46
|
+
const s = new Set(e.map((o) => o.action));
|
|
47
|
+
return e.length > 1 && w(t, n) ? s.size > 1 ? "update" : R([t]) : t.action === "create" ? "create" : t.action === "delete" ? "delete" : t.action === "login" || t.action === "logout" ? "signin" : /^access-request/.test(t.action) ? "access" : t.action === "update" || t.action.includes("transition") ? "update" : "other";
|
|
48
|
+
}
|
|
49
|
+
function W(e, n) {
|
|
50
|
+
const t = e[0];
|
|
51
|
+
if (e.length === 1 && !w(t, n)) {
|
|
52
|
+
const d = ne(t.collection, t.item, n);
|
|
53
|
+
if (t.action === "update" && d) {
|
|
54
|
+
const r = O(t, n), u = T(t, n), f = r.startsWith(`${u} `) ? r.slice(u.length + 1) : r;
|
|
55
|
+
return f.startsWith("updated ") ? `Edited ${f.slice(8)}` : q(f);
|
|
56
|
+
}
|
|
57
|
+
if (/transition$/.test(t.action) && d) {
|
|
58
|
+
const r = E(t.comment);
|
|
59
|
+
return `${ie(r.via)} ${d}`;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
const s = e.length > 1 ? re(e, n) : O(t, n), o = T(t, n);
|
|
63
|
+
return q(s.startsWith(`${o} `) ? s.slice(o.length + 1) : s);
|
|
64
|
+
}
|
|
65
|
+
function q(e) {
|
|
66
|
+
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
67
|
+
}
|
|
68
|
+
function fe(e) {
|
|
69
|
+
if (!/transition$/.test(e.action)) return null;
|
|
70
|
+
const n = E(e.comment);
|
|
71
|
+
return n.from && n.to ? `${n.from} → ${n.to}` : n.to ? `→ ${n.to}` : null;
|
|
72
|
+
}
|
|
73
|
+
function xe(e, n) {
|
|
74
|
+
const t = w(e, n) ? D([e], n) : null, s = (t == null ? void 0 : t.rest[0]) ?? (t != null && t.pairs[0] ? F(t.pairs[0]) : null);
|
|
75
|
+
return s ? s.charAt(0).toUpperCase() + s.slice(1) : W([e], n);
|
|
76
|
+
}
|
|
77
|
+
function ve(e, n) {
|
|
78
|
+
var t, s;
|
|
79
|
+
for (const o of e) {
|
|
80
|
+
const d = w(o, n);
|
|
81
|
+
if (d) {
|
|
82
|
+
if (d.parent_id && ((t = n == null ? void 0 : n.records) == null ? void 0 : t[`${d.parent_collection}:${d.parent_id}`]) !== null)
|
|
83
|
+
return { collection: d.parent_collection, itemId: String(d.parent_id) };
|
|
84
|
+
continue;
|
|
85
|
+
}
|
|
86
|
+
if (((s = n == null ? void 0 : n.records) == null ? void 0 : s[`${o.collection}:${o.item}`]) === null) return null;
|
|
87
|
+
if (pe(o)) return { collection: o.collection, itemId: o.item };
|
|
88
|
+
}
|
|
89
|
+
return null;
|
|
90
|
+
}
|
|
91
|
+
const be = 50;
|
|
92
|
+
function qe({ userId: e }) {
|
|
93
|
+
var y, m;
|
|
94
|
+
const n = X(), [t, s] = k(""), [o, d] = k(""), [r, u] = k("desc"), f = !!t || !!o, { data: p } = K({
|
|
95
|
+
queryKey: ["nvr-user-activity-summary", e],
|
|
96
|
+
queryFn: () => n.request(P(`/user-activity/${e}/summary`)).then((a) => a.data)
|
|
97
|
+
}), c = U({
|
|
98
|
+
queryKey: ["nvr-user-activity", e, t, o, r],
|
|
99
|
+
queryFn: ({ pageParam: a }) => n.request(
|
|
100
|
+
P(`/user-activity/${e}`, {
|
|
101
|
+
page: a,
|
|
102
|
+
limit: be,
|
|
103
|
+
...t && { action: t },
|
|
104
|
+
...o && { collection: o },
|
|
105
|
+
sort: r
|
|
106
|
+
})
|
|
107
|
+
),
|
|
108
|
+
initialPageParam: 1,
|
|
109
|
+
getNextPageParam: (a) => a.page * a.limit < a.total ? a.page + 1 : void 0
|
|
110
|
+
}), x = A(() => {
|
|
111
|
+
var a;
|
|
112
|
+
return ((a = c.data) == null ? void 0 : a.pages.flatMap((g) => g.data)) ?? [];
|
|
113
|
+
}, [c.data]), v = ((m = (y = c.data) == null ? void 0 : y.pages[0]) == null ? void 0 : m.total) ?? (p == null ? void 0 : p.total) ?? 0, b = A(() => x.filter((a) => !a.about_them), [x]), h = ce(b), C = A(() => {
|
|
114
|
+
const a = [];
|
|
115
|
+
for (const g of ee(x, { labels: h })) {
|
|
116
|
+
const I = g.entries[0], _ = new Date(I.timestamp).toLocaleDateString(void 0, {
|
|
117
|
+
weekday: "short",
|
|
118
|
+
month: "short",
|
|
119
|
+
day: "numeric",
|
|
120
|
+
year: "numeric"
|
|
121
|
+
}), N = a[a.length - 1], L = g.entries.some(($) => $.about_them) ? g.entries.map(($) => [$]) : [g.entries];
|
|
122
|
+
(N == null ? void 0 : N.date) === _ ? N.groups.push(...L) : a.push({ date: _, groups: L });
|
|
123
|
+
}
|
|
124
|
+
return a;
|
|
125
|
+
}, [x, h]);
|
|
126
|
+
return /* @__PURE__ */ l(
|
|
127
|
+
ue,
|
|
128
|
+
{
|
|
129
|
+
icon: /* @__PURE__ */ i(z, { className: "h-4 w-4" }),
|
|
130
|
+
title: "Activity",
|
|
131
|
+
hint: v ? `${v.toLocaleString()} event${v === 1 ? "" : "s"}` : void 0,
|
|
132
|
+
testId: "activity",
|
|
133
|
+
actions: /* @__PURE__ */ l(
|
|
134
|
+
"button",
|
|
135
|
+
{
|
|
136
|
+
type: "button",
|
|
137
|
+
onClick: () => u((a) => a === "desc" ? "asc" : "desc"),
|
|
138
|
+
className: "inline-flex h-7 items-center gap-1 rounded-md px-2 text-[11.5px] text-slate-500 hover:bg-slate-50 hover:text-slate-800 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-nvr-cyan/50 dark:text-slate-400 dark:hover:bg-muted",
|
|
139
|
+
children: [
|
|
140
|
+
r === "desc" ? /* @__PURE__ */ i(Q, { className: "h-3.5 w-3.5" }) : /* @__PURE__ */ i(Z, { className: "h-3.5 w-3.5" }),
|
|
141
|
+
r === "desc" ? "Newest first" : "Oldest first"
|
|
142
|
+
]
|
|
143
|
+
}
|
|
144
|
+
),
|
|
145
|
+
children: [
|
|
146
|
+
p && p.actions.length > 0 && /* @__PURE__ */ l("div", { className: "mb-3 flex flex-wrap items-center gap-1.5", children: [
|
|
147
|
+
p.actions.map((a) => /* @__PURE__ */ l(
|
|
148
|
+
"button",
|
|
149
|
+
{
|
|
150
|
+
type: "button",
|
|
151
|
+
"aria-pressed": t === a.action,
|
|
152
|
+
onClick: () => s(t === a.action ? "" : a.action),
|
|
153
|
+
className: S(
|
|
154
|
+
"inline-flex items-center gap-1 rounded-full border px-2 py-0.5 text-[11.5px] transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-nvr-cyan/50",
|
|
155
|
+
t === a.action ? "border-nvr-cyan/40 bg-nvr-cyan/10 text-nvr-navy dark:text-nvr-cyan" : "border-slate-200 text-slate-600 hover:bg-slate-50 dark:border-border dark:text-slate-300 dark:hover:bg-muted"
|
|
156
|
+
),
|
|
157
|
+
children: [
|
|
158
|
+
j(a.action),
|
|
159
|
+
/* @__PURE__ */ i("span", { className: "tabular-nums text-slate-500 dark:text-slate-400", children: a.count.toLocaleString() })
|
|
160
|
+
]
|
|
161
|
+
},
|
|
162
|
+
a.action
|
|
163
|
+
)),
|
|
164
|
+
p.collections.length > 1 && /* @__PURE__ */ i(
|
|
165
|
+
de,
|
|
166
|
+
{
|
|
167
|
+
ariaLabel: "Collection",
|
|
168
|
+
value: o,
|
|
169
|
+
onChange: d,
|
|
170
|
+
options: [
|
|
171
|
+
{ value: "", label: "Every collection" },
|
|
172
|
+
...p.collections.map((a) => ({
|
|
173
|
+
value: a.collection,
|
|
174
|
+
label: `${a.collection_label ?? a.collection} · ${a.count}`
|
|
175
|
+
}))
|
|
176
|
+
],
|
|
177
|
+
className: "ml-auto h-7 w-[200px] text-[11.5px]"
|
|
178
|
+
}
|
|
179
|
+
),
|
|
180
|
+
f && /* @__PURE__ */ l(
|
|
181
|
+
"button",
|
|
182
|
+
{
|
|
183
|
+
type: "button",
|
|
184
|
+
onClick: () => {
|
|
185
|
+
s(""), d("");
|
|
186
|
+
},
|
|
187
|
+
className: "inline-flex items-center gap-1 text-[11.5px] text-slate-500 hover:text-slate-800 dark:text-slate-400 dark:hover:text-slate-200",
|
|
188
|
+
children: [
|
|
189
|
+
/* @__PURE__ */ i(G, { className: "h-3 w-3" }),
|
|
190
|
+
" Clear"
|
|
191
|
+
]
|
|
192
|
+
}
|
|
193
|
+
)
|
|
194
|
+
] }),
|
|
195
|
+
c.isLoading ? /* @__PURE__ */ i("div", { className: "space-y-3", "aria-busy": !0, children: [0, 1, 2, 3].map((a) => /* @__PURE__ */ l("div", { className: "flex animate-pulse gap-3", children: [
|
|
196
|
+
/* @__PURE__ */ i("div", { className: "mt-1 h-2 w-2 rounded-full bg-slate-100 dark:bg-muted" }),
|
|
197
|
+
/* @__PURE__ */ l("div", { className: "flex-1 space-y-1.5", children: [
|
|
198
|
+
/* @__PURE__ */ i("div", { className: "h-3 w-48 rounded bg-slate-100 dark:bg-muted" }),
|
|
199
|
+
/* @__PURE__ */ i("div", { className: "h-3 w-24 rounded bg-slate-100 dark:bg-muted" })
|
|
200
|
+
] })
|
|
201
|
+
] }, a)) }) : c.isError ? /* @__PURE__ */ i(
|
|
202
|
+
le,
|
|
203
|
+
{
|
|
204
|
+
error: c.error,
|
|
205
|
+
what: "this activity",
|
|
206
|
+
onRetry: () => void c.refetch()
|
|
207
|
+
}
|
|
208
|
+
) : x.length === 0 ? /* @__PURE__ */ i(me, { children: f ? "Nothing matches those filters." : "No activity recorded." }) : /* @__PURE__ */ l("div", { "data-activity-feed": !0, children: [
|
|
209
|
+
C.map((a) => /* @__PURE__ */ l("div", { children: [
|
|
210
|
+
/* @__PURE__ */ l("div", { className: "flex items-center gap-3 py-2", children: [
|
|
211
|
+
/* @__PURE__ */ i("div", { className: "h-px flex-1 bg-slate-100 dark:bg-border" }),
|
|
212
|
+
/* @__PURE__ */ i("span", { className: "text-[11.5px] font-medium text-slate-500 dark:text-slate-400", children: a.date }),
|
|
213
|
+
/* @__PURE__ */ i("div", { className: "h-px flex-1 bg-slate-100 dark:bg-border" })
|
|
214
|
+
] }),
|
|
215
|
+
/* @__PURE__ */ i("ol", { className: "relative ml-1 border-l border-slate-100 dark:border-border", children: a.groups.map((g) => /* @__PURE__ */ i(ye, { entries: g, labels: h }, g[0].id)) })
|
|
216
|
+
] }, a.date)),
|
|
217
|
+
c.hasNextPage && /* @__PURE__ */ i("div", { className: "pt-3 text-center", children: /* @__PURE__ */ i(
|
|
218
|
+
"button",
|
|
219
|
+
{
|
|
220
|
+
type: "button",
|
|
221
|
+
disabled: c.isFetchingNextPage,
|
|
222
|
+
onClick: () => void c.fetchNextPage(),
|
|
223
|
+
className: "inline-flex h-7 items-center rounded-md border border-slate-200 px-3 text-[11.5px] font-medium text-slate-600 hover:bg-slate-50 disabled:opacity-50 dark:border-border dark:text-slate-300 dark:hover:bg-muted",
|
|
224
|
+
children: c.isFetchingNextPage ? "Loading…" : "Load more"
|
|
225
|
+
}
|
|
226
|
+
) })
|
|
227
|
+
] })
|
|
228
|
+
]
|
|
229
|
+
}
|
|
230
|
+
);
|
|
231
|
+
}
|
|
232
|
+
function ye({ entries: e, labels: n }) {
|
|
233
|
+
const { urlFor: t } = J(), s = Y(), [o, d] = k(!1), r = e[0], u = !!r.about_them, f = R(e, n), p = !u && e.length > 1 ? D(e, n) : null, c = p && p.pairs.length + p.rest.length > 1 ? p : null, x = u ? r.summary ?? j(r.action) : c ? `Changed ${c.parent}` : W(e, n), v = u ? null : ve(e, n), b = v ? t(v) : null, h = u || e.length > 1 ? null : ae(r), C = !u && e.length === 1 ? fe(r) : null, y = u ? r.detail : c ? (([m, ...a]) => [m.charAt(0).toUpperCase() + m.slice(1), ...a].join(" · "))([
|
|
234
|
+
...c.pairs.map(F),
|
|
235
|
+
...c.rest
|
|
236
|
+
]) : [C, (h == null ? void 0 : h.reason) || (h == null ? void 0 : h.note)].filter(Boolean).join(" · ") || null;
|
|
237
|
+
return /* @__PURE__ */ l(
|
|
238
|
+
"li",
|
|
239
|
+
{
|
|
240
|
+
className: "relative py-2 pl-4",
|
|
241
|
+
"data-activity-row": r.id,
|
|
242
|
+
"data-about-them": u || void 0,
|
|
243
|
+
children: [
|
|
244
|
+
u ? /* @__PURE__ */ i(
|
|
245
|
+
B,
|
|
246
|
+
{
|
|
247
|
+
"aria-hidden": !0,
|
|
248
|
+
className: "absolute -left-[7px] top-[11px] h-3.5 w-3.5 rounded-full bg-white text-amber-600 dark:bg-card dark:text-amber-400"
|
|
249
|
+
}
|
|
250
|
+
) : /* @__PURE__ */ i(
|
|
251
|
+
"span",
|
|
252
|
+
{
|
|
253
|
+
"aria-hidden": !0,
|
|
254
|
+
className: S("absolute -left-[4.5px] top-[15px] h-2 w-2 rounded-full", ge[f])
|
|
255
|
+
}
|
|
256
|
+
),
|
|
257
|
+
/* @__PURE__ */ l("div", { className: "flex items-baseline gap-3", children: [
|
|
258
|
+
/* @__PURE__ */ l("p", { className: "min-w-0 flex-1 text-[12.5px] leading-5 text-slate-700 dark:text-slate-200", children: [
|
|
259
|
+
b ? /* @__PURE__ */ i(
|
|
260
|
+
"a",
|
|
261
|
+
{
|
|
262
|
+
href: b,
|
|
263
|
+
onClick: (m) => {
|
|
264
|
+
m.metaKey || m.ctrlKey || (m.preventDefault(), s.navigate(b));
|
|
265
|
+
},
|
|
266
|
+
className: "rounded-sm hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-nvr-cyan/50",
|
|
267
|
+
"data-activity-sentence": !0,
|
|
268
|
+
children: x
|
|
269
|
+
}
|
|
270
|
+
) : /* @__PURE__ */ i("span", { "data-activity-sentence": !0, children: x }),
|
|
271
|
+
u && /* @__PURE__ */ i("span", { className: "ml-1.5 whitespace-nowrap rounded bg-amber-50 px-1 py-px text-[11px] font-medium text-amber-800 dark:bg-amber-500/10 dark:text-amber-300", children: "Their access" })
|
|
272
|
+
] }),
|
|
273
|
+
/* @__PURE__ */ i(
|
|
274
|
+
"time",
|
|
275
|
+
{
|
|
276
|
+
dateTime: r.timestamp,
|
|
277
|
+
className: "shrink-0 text-[11.5px] tabular-nums text-slate-500 dark:text-slate-400",
|
|
278
|
+
"data-tip": `${oe(r.timestamp)} · ${se(r.timestamp)}`,
|
|
279
|
+
children: new Date(r.timestamp).toLocaleTimeString([], { hour: "numeric", minute: "2-digit" })
|
|
280
|
+
}
|
|
281
|
+
)
|
|
282
|
+
] }),
|
|
283
|
+
y && /* @__PURE__ */ i("p", { className: "mt-0.5 text-[12px] leading-5 text-slate-500 dark:text-slate-400", children: y }),
|
|
284
|
+
e.length > 1 && /* @__PURE__ */ l(M, { children: [
|
|
285
|
+
/* @__PURE__ */ l(
|
|
286
|
+
"button",
|
|
287
|
+
{
|
|
288
|
+
type: "button",
|
|
289
|
+
"aria-expanded": o,
|
|
290
|
+
onClick: () => d((m) => !m),
|
|
291
|
+
className: "mt-0.5 inline-flex items-center gap-1 rounded-sm text-[11.5px] text-slate-500 hover:text-slate-800 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-nvr-cyan/50 dark:text-slate-400 dark:hover:text-slate-200",
|
|
292
|
+
children: [
|
|
293
|
+
/* @__PURE__ */ i(
|
|
294
|
+
H,
|
|
295
|
+
{
|
|
296
|
+
"aria-hidden": !0,
|
|
297
|
+
className: S(
|
|
298
|
+
"h-3 w-3 transition-transform motion-reduce:transition-none",
|
|
299
|
+
o && "rotate-90"
|
|
300
|
+
)
|
|
301
|
+
}
|
|
302
|
+
),
|
|
303
|
+
o ? "Hide each step" : `Show each step (${e.length})`
|
|
304
|
+
]
|
|
305
|
+
}
|
|
306
|
+
),
|
|
307
|
+
o && /* @__PURE__ */ i("ul", { className: "mt-1 space-y-0.5 border-l border-slate-200 pl-3 dark:border-border", children: [...e].reverse().map((m) => /* @__PURE__ */ i("li", { className: "text-[12px] leading-5 text-slate-600 dark:text-slate-300", children: xe(m, n) }, m.id)) })
|
|
308
|
+
] }),
|
|
309
|
+
r.ip && /* @__PURE__ */ l("span", { className: "mt-0.5 inline-flex items-center gap-1 font-mono text-[11px] text-slate-500 dark:text-slate-400", children: [
|
|
310
|
+
/* @__PURE__ */ i(V, { className: "h-2.5 w-2.5", "aria-hidden": !0 }),
|
|
311
|
+
" ",
|
|
312
|
+
r.ip
|
|
313
|
+
] })
|
|
314
|
+
]
|
|
315
|
+
}
|
|
316
|
+
);
|
|
317
|
+
}
|
|
318
|
+
export {
|
|
319
|
+
qe as ActivityFeedCard,
|
|
320
|
+
j as actionWord,
|
|
321
|
+
pe as activityLinkable
|
|
322
|
+
};
|