@nivaro/react 0.3.66 → 0.3.68
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 +15 -1
- package/dist/index.js +836 -835
- package/dist/shared/components/ActivityEntry.js +28 -28
- package/dist/shared/components/CollectionBrowserView.js +584 -585
- package/dist/shared/components/ConformanceView.js +34 -34
- package/dist/shared/components/ItemEditForm.js +1758 -1758
- package/dist/shared/components/RecordCompare.js +149 -129
- package/dist/shared/components/ReportView.js +196 -196
- package/dist/shared/components/SlaRulesView.js +36 -36
- package/dist/shared/components/bulk/BulkCompareButton.js +16 -16
- package/dist/shared/components/chat/ChatPanel.js +484 -487
- package/dist/shared/components/chat/ChatViews.js +66 -66
- package/dist/shared/components/chat/RoomParts.js +159 -157
- package/dist/shared/components/help-videos/editor/StatsTab.js +48 -47
- package/dist/shared/components/help-videos/editor/VersionsTab.js +17 -16
- package/dist/shared/components/imports/CollectionImportPanel.js +72 -72
- package/dist/shared/components/integrations/IntegrationObligationsView.js +199 -187
- package/dist/shared/components/integrations/console/EventsView.js +22 -24
- package/dist/shared/components/integrations/console/SubmissionRow.js +6 -13
- package/dist/shared/components/integrations/console/drill/SubmissionDrill.js +29 -28
- package/dist/shared/components/integrations/console/tone.js +22 -21
- package/dist/shared/components/item-edit/FieldRow.js +188 -188
- package/dist/shared/components/item-edit/FilePickerField.js +281 -297
- package/dist/shared/components/item-edit/GroupSection.js +209 -209
- package/dist/shared/components/item-edit/RecordInsights.js +101 -101
- package/dist/shared/components/item-edit/SummaryPanel.js +31 -31
- package/dist/shared/components/layout-editor/assist/ExplainDiff.js +12 -12
- package/dist/shared/components/panels/AddendumPanel.js +409 -411
- package/dist/shared/components/panels/BranchLanes.js +7 -7
- package/dist/shared/components/panels/CommentPanel.js +204 -197
- package/dist/shared/components/panels/PipelinePanel.js +264 -264
- package/dist/shared/components/panels/RecordIntegrityBanner.js +78 -78
- package/dist/shared/components/panels/RevisionsPanel.js +229 -229
- package/dist/shared/components/panels/TaskPanel.js +75 -75
- package/dist/shared/components/queue/QueueWorklist.js +591 -589
- package/dist/shared/lib/compare-value.js +73 -0
- package/dist/shared/lib/format-value.js +18 -17
- package/dist/shared/lib/utils.js +87 -80
- package/package.json +1 -1
|
@@ -9,7 +9,7 @@ import { noteReplayEvent as _e, createReplayCheckoutState as De } from "../share
|
|
|
9
9
|
import { emitReplayTap as Te, setReplayRecorderMode as N, registerReplayCapture as qe, clipEndOffset as Le, withClipKind as Pe } from "../shared/lib/replay-capture.js";
|
|
10
10
|
import { instrumentConsole as Ne, instrumentRequests as Fe, redactSecrets as Me } from "../shared/lib/replay-context.js";
|
|
11
11
|
import { instrumentSocket as Oe } from "../shared/lib/replay-socket.js";
|
|
12
|
-
const Ue = "nivaro-react@0.3.
|
|
12
|
+
const Ue = "nivaro-react@0.3.68", j = 1e4, We = 150, He = 3e3, Ke = 600, $e = (n) => `nvr_replay_resume${n ? `:${n}` : ""}`, G = () => typeof navigator > "u" || navigator.onLine !== !1;
|
|
13
13
|
function Be(n) {
|
|
14
14
|
return typeof n.url != "string" || typeof fetch != "function" ? null : (f, a) => {
|
|
15
15
|
const u = typeof n.getToken == "function" ? n.getToken() : void 0, d = { "Content-Type": "application/json" };
|
package/dist/index.d.ts
CHANGED
|
@@ -3802,7 +3802,14 @@ export declare function forgetSettledReads(): void;
|
|
|
3802
3802
|
|
|
3803
3803
|
export declare function formatDate(date: string | Date, opts?: Intl.DateTimeFormatOptions): string;
|
|
3804
3804
|
|
|
3805
|
-
|
|
3805
|
+
/**
|
|
3806
|
+
* THE date-time format ("Nov 8, 2026, 3:14 PM", the viewer's local time or
|
|
3807
|
+
* their chosen zone). Every date-time a person reads — worklists, record
|
|
3808
|
+
* history, activity, comments, invoice tables — goes through this, never an
|
|
3809
|
+
* ad hoc toLocaleString (army 11: the worklist and the history disagreed).
|
|
3810
|
+
* Empty → ''; a value that is not a date comes back as written.
|
|
3811
|
+
*/
|
|
3812
|
+
export declare function formatDateTime(date: string | Date | number | null | undefined): string;
|
|
3806
3813
|
|
|
3807
3814
|
export declare function formatFileSize(bytes: number | null | undefined): string;
|
|
3808
3815
|
|
|
@@ -11238,6 +11245,13 @@ export declare function tokenize(q: string | null | undefined): string[];
|
|
|
11238
11245
|
|
|
11239
11246
|
export declare type TokenResolver = (path: string) => unknown;
|
|
11240
11247
|
|
|
11248
|
+
/**
|
|
11249
|
+
* `new Date(v).toLocaleDateString()` that keeps a calendar date on its day:
|
|
11250
|
+
* `'2026-11-15'` (and UTC midnight) parses as UTC, so for any viewer west of
|
|
11251
|
+
* UTC the plain call shows the 14th. Real timestamps render as before.
|
|
11252
|
+
*/
|
|
11253
|
+
export declare function toLocalDateString(value: unknown): string;
|
|
11254
|
+
|
|
11241
11255
|
declare type Tone = 'accent' | 'warning' | 'neutral';
|
|
11242
11256
|
|
|
11243
11257
|
/** Which of the four alert tones an outcome reads as — overdue/failed/missing
|