@nivaro/react 0.3.116 → 0.3.118
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 +140 -14
- package/dist/index.js +488 -485
- package/dist/shared/components/ActivityEntry.js +130 -125
- package/dist/shared/components/AgentPresenceChip.js +36 -26
- package/dist/shared/components/CellCopyLayer.js +50 -45
- package/dist/shared/components/CollectionBrowserView.js +3855 -3785
- package/dist/shared/components/FilePreviewLightbox.js +96 -58
- package/dist/shared/components/InStep.js +18 -17
- package/dist/shared/components/ItemEditForm.js +4220 -4175
- package/dist/shared/components/JobsTray.js +8 -8
- package/dist/shared/components/LiveNewMatchesPill.js +21 -14
- package/dist/shared/components/LiveOffNote.js +3 -2
- package/dist/shared/components/LiveRowMark.js +53 -23
- package/dist/shared/components/LiveTraceView.js +162 -123
- package/dist/shared/components/MyWorkView.js +320 -299
- package/dist/shared/components/NotificationBell.js +14 -14
- package/dist/shared/components/OverflowRail.js +1 -1
- package/dist/shared/components/PageRenderer.js +120 -116
- package/dist/shared/components/ProfileView.js +203 -202
- package/dist/shared/components/RealtimeStatusBanner.js +31 -29
- package/dist/shared/components/RecordDrilldownSheet.js +7 -7
- package/dist/shared/components/RecordHoverCard.js +102 -84
- package/dist/shared/components/RecordReadView.js +146 -146
- package/dist/shared/components/ReportView.js +1086 -1091
- package/dist/shared/components/ScreenRefreshButton.js +34 -32
- package/dist/shared/components/TipLayer.js +65 -58
- package/dist/shared/components/WidgetImageMenu.js +83 -43
- package/dist/shared/components/activity/RecordActivityStream.js +175 -173
- package/dist/shared/components/bulk/BulkSelectionNotices.js +142 -119
- package/dist/shared/components/cbv/column-totals.js +62 -57
- package/dist/shared/components/change-proposals/ChangeProposalsPanel.js +158 -143
- package/dist/shared/components/change-proposals/ProposeChangeButton.js +17 -11
- package/dist/shared/components/change-proposals/ProposeChangeDialog.js +201 -173
- package/dist/shared/components/charts/category-axis.js +93 -0
- package/dist/shared/components/chat/ChatAnalyticsView.js +27 -27
- package/dist/shared/components/chat/HuddleAnalyticsTab.js +17 -17
- package/dist/shared/components/collections-directory/CollectionsToolbar.js +39 -41
- package/dist/shared/components/collections-directory/page-model.js +72 -67
- package/dist/shared/components/integrations/RecordIntegrationPreview.js +48 -56
- package/dist/shared/components/integrations/SendStatus.js +65 -59
- package/dist/shared/components/integrations/console/ReadyToSendView.js +275 -209
- package/dist/shared/components/integrations/console/SignalCard.js +237 -230
- package/dist/shared/components/item-edit/CatalogPickerField.js +227 -205
- package/dist/shared/components/item-edit/ChangedAfterApprovalBadge.js +131 -92
- package/dist/shared/components/item-edit/CloneDialog.js +191 -161
- package/dist/shared/components/item-edit/DerivedCauseNote.js +44 -30
- package/dist/shared/components/item-edit/DraftRecoveryBanner.js +153 -134
- package/dist/shared/components/item-edit/FieldComments.js +54 -53
- package/dist/shared/components/item-edit/FieldPointer.js +82 -67
- package/dist/shared/components/item-edit/FieldRow.js +106 -100
- package/dist/shared/components/item-edit/FieldSourceBadge.js +58 -56
- package/dist/shared/components/item-edit/FilePickerField.js +452 -387
- package/dist/shared/components/item-edit/HeaderSummaryChip.js +78 -56
- package/dist/shared/components/item-edit/HeaderTools.js +94 -85
- package/dist/shared/components/item-edit/InlineTableField.js +1242 -1218
- package/dist/shared/components/item-edit/ListNeighborNav.js +47 -50
- package/dist/shared/components/item-edit/LiveTraceSheet.js +15 -10
- package/dist/shared/components/item-edit/MembershipSetField.js +285 -254
- package/dist/shared/components/item-edit/OutboxReviewTray.js +155 -144
- package/dist/shared/components/item-edit/QueueReturnChip.js +15 -36
- package/dist/shared/components/item-edit/RecalcValue.js +57 -32
- package/dist/shared/components/item-edit/RecordHelpChip.js +21 -22
- package/dist/shared/components/item-edit/RecordLiveSync.js +283 -231
- package/dist/shared/components/item-edit/RelationCombobox.js +439 -393
- package/dist/shared/components/item-edit/RemoteChangeUi.js +292 -224
- package/dist/shared/components/item-edit/RemoteUploads.js +26 -20
- package/dist/shared/components/item-edit/RemovedLineNote.js +77 -67
- package/dist/shared/components/item-edit/RichTextEditorImpl.js +184 -179
- package/dist/shared/components/item-edit/ScheduledChangeChip.js +168 -134
- package/dist/shared/components/item-edit/SectionPresence.js +18 -10
- package/dist/shared/components/item-edit/SplitLinesButton.js +163 -139
- package/dist/shared/components/item-edit/UserChip.js +1 -1
- package/dist/shared/components/item-edit/file-live.js +69 -54
- package/dist/shared/components/item-edit/layout-switch.js +98 -89
- package/dist/shared/components/item-edit/partner-needs.js +12 -12
- package/dist/shared/components/item-edit/removed-line.js +31 -25
- package/dist/shared/components/layout-editor/pickers/field-picker.js +112 -104
- package/dist/shared/components/list/ListViewers.js +46 -35
- package/dist/shared/components/notifications/NotificationCenterView.js +479 -437
- package/dist/shared/components/panels/AccessDeniedPanel.js +176 -101
- package/dist/shared/components/panels/AlertBanners.js +82 -72
- package/dist/shared/components/panels/BranchLanes.js +22 -22
- package/dist/shared/components/panels/CommentImages.js +123 -102
- package/dist/shared/components/panels/CommentPanel.js +186 -185
- package/dist/shared/components/panels/ExternalRequestsChip.js +111 -119
- package/dist/shared/components/panels/OwnerOpenedLine.js +31 -24
- package/dist/shared/components/panels/PipelinePanel.js +2037 -1885
- package/dist/shared/components/panels/ResubmissionDiff.js +163 -142
- package/dist/shared/components/pipeline/BindingStartStateSettings.js +163 -0
- package/dist/shared/components/pipeline/OwnerMatrixSheet.js +400 -288
- package/dist/shared/components/pipeline/PipelineEditorView.js +320 -299
- package/dist/shared/components/profile/AgentNameField.js +107 -81
- package/dist/shared/components/profile/AgentsPanel.js +184 -184
- package/dist/shared/components/profile/PersonAccess.js +599 -495
- package/dist/shared/components/profile/SignInTroubleshooter.js +160 -127
- package/dist/shared/components/profile/SignedInDevices.js +17 -17
- package/dist/shared/components/profile/primitives.js +1 -1
- package/dist/shared/components/queue/OwnerAvatars.js +91 -54
- package/dist/shared/components/queue/QueueTeamStrip.js +56 -46
- package/dist/shared/components/queue/QueueWorklist.js +1002 -983
- package/dist/shared/components/support/AssignRules.js +1733 -0
- package/dist/shared/components/support/PersonPick.js +88 -0
- package/dist/shared/components/support/RequestList.js +790 -0
- package/dist/shared/components/support/ScreenShare.js +158 -152
- package/dist/shared/components/support/SupportRequestDialog.js +50 -48
- package/dist/shared/components/support/SupportView.js +140 -246
- package/dist/shared/components/support/TicketDetailSheet.js +82 -75
- package/dist/shared/components/support/TicketSlowScreens.js +9 -9
- package/dist/shared/components/support/assign-rules-text.js +171 -0
- package/dist/shared/components/support/support-list.js +125 -0
- package/dist/shared/components/ui/SimpleSelect.js +28 -20
- package/dist/shared/components/ui/checkbox.js +6 -6
- package/dist/shared/components/ui/select.js +43 -39
- package/dist/shared/components/ui/sheet.js +9 -9
- package/dist/shared/components/ui/switch.js +12 -11
- package/dist/shared/components/watch-list/WatchDock.js +532 -459
- package/dist/shared/components/watch-list/WatchExtras.js +332 -286
- package/dist/shared/components/watch-list/WatchRows.js +164 -140
- package/dist/shared/lib/activity-sentence.js +103 -91
- package/dist/shared/lib/agent-presence.js +27 -21
- package/dist/shared/lib/approval-progress.js +2 -2
- package/dist/shared/lib/copy-rules.js +31 -24
- package/dist/shared/lib/derived-causes.js +113 -78
- package/dist/shared/lib/grid-cursors.js +26 -26
- package/dist/shared/lib/label-flash.js +27 -0
- package/dist/shared/lib/list-return.js +137 -125
- package/dist/shared/lib/live-deltas.js +40 -34
- package/dist/shared/lib/live-groups.js +56 -52
- package/dist/shared/lib/live-preference.js +64 -59
- package/dist/shared/lib/live-screen.js +223 -192
- package/dist/shared/lib/partner-failure.js +11 -11
- package/dist/shared/lib/rollup-recalc.js +68 -64
- package/dist/shared/lib/screen-refresh.js +74 -68
- package/dist/shared/lib/screen-share.js +108 -104
- package/dist/shared/lib/send-status.js +77 -61
- package/dist/shared/lib/text-diff-window.js +29 -0
- package/dist/shared/lib/use-query-entry.js +17 -0
- package/dist/shared/lib/watch-list.js +210 -209
- package/dist/shared/lib/widget-image-render.js +72 -49
- package/package.json +1 -1
|
@@ -1,73 +1,70 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { ChevronUp as
|
|
3
|
-
import { useMemo as
|
|
4
|
-
import { useNavigation as
|
|
5
|
-
import { listReturnFor as
|
|
6
|
-
function
|
|
1
|
+
import { jsxs as w, jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { ChevronUp as N, ChevronDown as T } from "lucide-react";
|
|
3
|
+
import { useMemo as f } from "react";
|
|
4
|
+
import { useNavigation as L, useItemNavigation as y } from "../../context.js";
|
|
5
|
+
import { listReturnFor as C, listNeighbors as F, stepListReturn as R } from "../../lib/list-return.js";
|
|
6
|
+
function B({
|
|
7
7
|
collection: d,
|
|
8
|
-
itemId:
|
|
9
|
-
className:
|
|
8
|
+
itemId: n,
|
|
9
|
+
className: v
|
|
10
10
|
}) {
|
|
11
|
-
var
|
|
12
|
-
const
|
|
13
|
-
() => d &&
|
|
14
|
-
[d,
|
|
15
|
-
),
|
|
16
|
-
if (!
|
|
17
|
-
const
|
|
18
|
-
if (!
|
|
19
|
-
const
|
|
20
|
-
if (
|
|
21
|
-
|
|
11
|
+
var b;
|
|
12
|
+
const g = L(), { urlFor: m } = y(), o = f(
|
|
13
|
+
() => d && n != null && n !== "new" ? { collection: d, id: String(n) } : null,
|
|
14
|
+
[d, n]
|
|
15
|
+
), s = f(() => o ? C(o) : null, [o]), t = o ? F(s, o) : null;
|
|
16
|
+
if (!s || !t || t.total < 2) return null;
|
|
17
|
+
const a = ((b = s.label) == null ? void 0 : b.trim()) || "the list", l = (e, r) => {
|
|
18
|
+
if (!e) return;
|
|
19
|
+
const x = m({ collection: e.collection, itemId: e.id });
|
|
20
|
+
if (r.metaKey || r.ctrlKey || r.shiftKey || r.button === 1) {
|
|
21
|
+
r.preventDefault(), window.open(x, "_blank", "noopener");
|
|
22
22
|
return;
|
|
23
23
|
}
|
|
24
|
-
|
|
25
|
-
}, u = "flex h-7 w-7 items-center justify-center rounded-md text-slate-500 transition-colors hover:bg-slate-100 hover:text-slate-900 disabled:
|
|
26
|
-
return /* @__PURE__ */
|
|
24
|
+
R(e), g.navigate(x, { replace: !0 });
|
|
25
|
+
}, c = t.listTotal != null ? `${t.approx ? "about " : ""}${t.listTotal.toLocaleString()}` : t.total.toLocaleString(), k = `${t.position.toLocaleString()} of ${c}${t.listTotal == null ? " shown" : ""}`, $ = t.listTotal != null ? `Record ${t.position.toLocaleString()} of ${c} in ${a}` : `Record ${t.index} of the ${t.total} shown from ${a}`, u = t.prev ? `Previous in ${a}` : t.moreBefore ? "First on this page — go back to the list for the page before" : t.listTotal == null && t.position > 1 ? `First of the ${t.total} shown` : `First in ${a}`, h = t.next ? `Next in ${a}` : t.moreAfter ? "Last on this page — go back to the list for the next page" : t.listTotal == null ? `Last of the ${t.total} shown — go back to the list for more` : `Last in ${a}`, p = "flex h-7 w-7 items-center justify-center rounded-md text-slate-500 transition-colors hover:bg-slate-100 hover:text-slate-900 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-nvr-cyan/60 aria-disabled:cursor-default aria-disabled:text-slate-300 aria-disabled:hover:bg-transparent aria-disabled:hover:text-slate-300 dark:text-slate-400 dark:hover:bg-white/[0.06] dark:hover:text-slate-100 dark:aria-disabled:text-slate-600 dark:aria-disabled:hover:bg-transparent dark:aria-disabled:hover:text-slate-600";
|
|
26
|
+
return /* @__PURE__ */ w(
|
|
27
27
|
"nav",
|
|
28
28
|
{
|
|
29
|
-
"aria-label": `Records in ${
|
|
30
|
-
"data-list-neighbors":
|
|
31
|
-
className:
|
|
29
|
+
"aria-label": `Records in ${a}`,
|
|
30
|
+
"data-list-neighbors": s.list,
|
|
31
|
+
className: v ?? "flex shrink-0 items-center gap-0.5 rounded-lg border border-slate-200 bg-white px-0.5 dark:border-border dark:bg-card",
|
|
32
32
|
children: [
|
|
33
|
-
/* @__PURE__ */
|
|
33
|
+
/* @__PURE__ */ i(
|
|
34
34
|
"button",
|
|
35
35
|
{
|
|
36
36
|
type: "button",
|
|
37
|
-
className:
|
|
38
|
-
disabled: !
|
|
39
|
-
onClick: (
|
|
40
|
-
onAuxClick: (
|
|
41
|
-
"aria-label":
|
|
42
|
-
"data-tip":
|
|
37
|
+
className: p,
|
|
38
|
+
"aria-disabled": !t.prev || void 0,
|
|
39
|
+
onClick: (e) => l(t.prev, e),
|
|
40
|
+
onAuxClick: (e) => l(t.prev, e),
|
|
41
|
+
"aria-label": u,
|
|
42
|
+
"data-tip": u,
|
|
43
43
|
"data-list-prev": !0,
|
|
44
|
-
children: /* @__PURE__ */
|
|
44
|
+
children: /* @__PURE__ */ i(N, { "aria-hidden": !0, className: "h-4 w-4" })
|
|
45
45
|
}
|
|
46
46
|
),
|
|
47
|
-
/* @__PURE__ */
|
|
47
|
+
/* @__PURE__ */ i(
|
|
48
48
|
"span",
|
|
49
49
|
{
|
|
50
|
-
className: "min-w-[3.25rem] select-none px-0.5 text-center text-[11.5px] tabular-nums text-slate-500 dark:text-slate-400",
|
|
51
|
-
"data-tip":
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
" of ",
|
|
55
|
-
e.total
|
|
56
|
-
]
|
|
50
|
+
className: "min-w-[3.25rem] select-none whitespace-nowrap px-0.5 text-center text-[11.5px] tabular-nums text-slate-500 dark:text-slate-400",
|
|
51
|
+
"data-tip": $,
|
|
52
|
+
"data-list-count": !0,
|
|
53
|
+
children: k
|
|
57
54
|
}
|
|
58
55
|
),
|
|
59
|
-
/* @__PURE__ */
|
|
56
|
+
/* @__PURE__ */ i(
|
|
60
57
|
"button",
|
|
61
58
|
{
|
|
62
59
|
type: "button",
|
|
63
|
-
className:
|
|
64
|
-
disabled: !
|
|
65
|
-
onClick: (
|
|
66
|
-
onAuxClick: (
|
|
67
|
-
"aria-label":
|
|
68
|
-
"data-tip":
|
|
60
|
+
className: p,
|
|
61
|
+
"aria-disabled": !t.next || void 0,
|
|
62
|
+
onClick: (e) => l(t.next, e),
|
|
63
|
+
onAuxClick: (e) => l(t.next, e),
|
|
64
|
+
"aria-label": h,
|
|
65
|
+
"data-tip": h,
|
|
69
66
|
"data-list-next": !0,
|
|
70
|
-
children: /* @__PURE__ */
|
|
67
|
+
children: /* @__PURE__ */ i(T, { "aria-hidden": !0, className: "h-4 w-4" })
|
|
71
68
|
}
|
|
72
69
|
)
|
|
73
70
|
]
|
|
@@ -75,5 +72,5 @@ function D({
|
|
|
75
72
|
);
|
|
76
73
|
}
|
|
77
74
|
export {
|
|
78
|
-
|
|
75
|
+
B as ListNeighborNav
|
|
79
76
|
};
|
|
@@ -1,26 +1,31 @@
|
|
|
1
1
|
import { jsx as e, jsxs as h } from "react/jsx-runtime";
|
|
2
2
|
import { LiveTraceView as l } from "../LiveTraceView.js";
|
|
3
|
-
import { Sheet as
|
|
4
|
-
function
|
|
5
|
-
collection:
|
|
6
|
-
itemId:
|
|
7
|
-
open:
|
|
8
|
-
onClose:
|
|
3
|
+
import { Sheet as o, SheetContent as c, SheetHeader as d, SheetTitle as m } from "../ui/sheet.js";
|
|
4
|
+
function f({
|
|
5
|
+
collection: i,
|
|
6
|
+
itemId: s,
|
|
7
|
+
open: r,
|
|
8
|
+
onClose: n
|
|
9
9
|
}) {
|
|
10
|
-
return /* @__PURE__ */ e(
|
|
11
|
-
|
|
10
|
+
return /* @__PURE__ */ e(o, { open: r, onOpenChange: (t) => !t && n(), children: /* @__PURE__ */ h(
|
|
11
|
+
c,
|
|
12
12
|
{
|
|
13
13
|
side: "right",
|
|
14
14
|
className: "w-full overflow-y-auto sm:max-w-2xl",
|
|
15
15
|
"data-live-trace-sheet": !0,
|
|
16
|
+
onOpenAutoFocus: (t) => {
|
|
17
|
+
var a;
|
|
18
|
+
t.preventDefault(), (a = t.currentTarget) == null || a.focus();
|
|
19
|
+
},
|
|
20
|
+
tabIndex: -1,
|
|
16
21
|
children: [
|
|
17
22
|
/* @__PURE__ */ e(d, { children: /* @__PURE__ */ e(m, { children: "Why didn't this page update?" }) }),
|
|
18
23
|
/* @__PURE__ */ e("p", { className: "mt-1 text-[12px] text-slate-500 dark:text-slate-400", children: "What the server sent live for this record, the writes it saw, and who was listening." }),
|
|
19
|
-
|
|
24
|
+
r && /* @__PURE__ */ e(l, { collection: i, item: s, className: "mt-4" })
|
|
20
25
|
]
|
|
21
26
|
}
|
|
22
27
|
) });
|
|
23
28
|
}
|
|
24
29
|
export {
|
|
25
|
-
|
|
30
|
+
f as LiveTraceSheet
|
|
26
31
|
};
|