@nivaro/react 0.3.114 → 0.3.116
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/components/ScreenShareHost.js +24 -0
- package/dist/full.css +50 -2
- package/dist/hooks/useSessionRecorder.js +61 -60
- package/dist/index.d.ts +1728 -22
- package/dist/index.js +1091 -950
- package/dist/shared/components/ActivityEntry.js +209 -97
- package/dist/shared/components/AgentPresenceChip.js +51 -0
- package/dist/shared/components/AnnouncementBanner.js +56 -41
- package/dist/shared/components/AutolinkedText.js +98 -85
- package/dist/shared/components/BroadcastView.js +149 -141
- package/dist/shared/components/CacheStamp.js +78 -30
- package/dist/shared/components/CollectionBrowserView.js +4909 -4182
- package/dist/shared/components/ConfigChangeStrip.js +63 -0
- package/dist/shared/components/ConfigReachNote.js +107 -0
- package/dist/shared/components/ConformanceView.js +389 -319
- package/dist/shared/components/DataTable.js +612 -551
- package/dist/shared/components/DelegateCoverLine.js +164 -0
- package/dist/shared/components/EnvironmentNotice.js +56 -65
- package/dist/shared/components/FilePreviewLightbox.js +89 -43
- package/dist/shared/components/FindingFixedMark.js +23 -0
- package/dist/shared/components/GridPresenceLine.js +100 -0
- package/dist/shared/components/IdleReloadWatcher.js +82 -43
- package/dist/shared/components/InStep.js +46 -0
- package/dist/shared/components/ItemEditForm.js +5504 -4889
- package/dist/shared/components/LiveAnnouncer.js +62 -0
- package/dist/shared/components/LiveCount.js +54 -0
- package/dist/shared/components/LiveFigure.js +28 -0
- package/dist/shared/components/LiveListControls.js +114 -0
- package/dist/shared/components/LiveNewMatchesPill.js +25 -0
- package/dist/shared/components/LiveOffNote.js +44 -0
- package/dist/shared/components/LivePreferenceHost.js +42 -0
- package/dist/shared/components/LiveRowMark.js +25 -20
- package/dist/shared/components/LiveTraceView.js +257 -0
- package/dist/shared/components/MapView.js +30 -29
- package/dist/shared/components/MatrixEditor.js +497 -462
- package/dist/shared/components/MyWorkView.js +346 -272
- package/dist/shared/components/NotificationBell.js +215 -201
- package/dist/shared/components/OverflowRail.js +326 -0
- package/dist/shared/components/PageRenderer.js +636 -599
- package/dist/shared/components/PresenceDot.js +21 -0
- package/dist/shared/components/ProfileView.js +656 -536
- package/dist/shared/components/RealtimeStatusBanner.js +25 -25
- package/dist/shared/components/RecentRecordsRail.js +51 -48
- package/dist/shared/components/RecordCompare.js +241 -150
- package/dist/shared/components/RecordDrilldownSheet.js +66 -64
- package/dist/shared/components/RecordGridEditor.js +350 -311
- package/dist/shared/components/RecordHoverCard.js +147 -0
- package/dist/shared/components/RecordPeekHost.js +111 -0
- package/dist/shared/components/RecordReadView.js +414 -412
- package/dist/shared/components/RelativeTime.js +16 -0
- package/dist/shared/components/ReportView.js +1396 -1304
- package/dist/shared/components/ScreenRefreshButton.js +77 -0
- package/dist/shared/components/TabCountHost.js +10 -0
- package/dist/shared/components/TickerNumber.js +19 -18
- package/dist/shared/components/TipLayer.js +70 -58
- package/dist/shared/components/WidgetImageMenu.js +59 -0
- package/dist/shared/components/WidgetSlot.js +571 -524
- package/dist/shared/components/activity/RecordActivityStream.js +317 -0
- package/dist/shared/components/bulk/BulkSelectionNotices.js +220 -0
- package/dist/shared/components/cbv/approval-changed.js +20 -0
- package/dist/shared/components/cbv/changed-by-others.js +251 -0
- package/dist/shared/components/change-proposals/ChangeProposalsPanel.js +320 -0
- package/dist/shared/components/change-proposals/ProposalValue.js +28 -0
- package/dist/shared/components/change-proposals/ProposeChangeButton.js +44 -0
- package/dist/shared/components/change-proposals/ProposeChangeDialog.js +359 -0
- package/dist/shared/components/change-proposals/types.js +4 -0
- package/dist/shared/components/chat/ChatPanel.js +1571 -1528
- package/dist/shared/components/chat/Composer.js +276 -298
- package/dist/shared/components/chat/room-due.js +13 -0
- package/dist/shared/components/collections-directory/CollectionRow.js +76 -75
- package/dist/shared/components/collections-directory/CollectionsDirectory.js +415 -395
- package/dist/shared/components/collections-directory/directory-data.js +75 -63
- package/dist/shared/components/imports/ImportConsole.js +159 -155
- package/dist/shared/components/imports/ImportDuplicatesNotice.js +46 -31
- package/dist/shared/components/integrations/SendStatus.js +202 -0
- package/dist/shared/components/integrations/console/IntegrationsConsole.js +45 -36
- package/dist/shared/components/integrations/console/ReadyToSendView.js +453 -0
- package/dist/shared/components/integrations/console/SignalCard.js +84 -77
- package/dist/shared/components/integrations/console/api.js +161 -117
- package/dist/shared/components/integrations/console/tone.js +15 -12
- package/dist/shared/components/item-edit/CatalogPickerField.js +1353 -1245
- package/dist/shared/components/item-edit/ChangedAfterApprovalBadge.js +162 -0
- package/dist/shared/components/item-edit/CloneDialog.js +208 -206
- package/dist/shared/components/item-edit/DerivedCauseNote.js +57 -0
- package/dist/shared/components/item-edit/DraftRecoveryBanner.js +81 -70
- package/dist/shared/components/item-edit/DuplicateNotice.js +169 -101
- package/dist/shared/components/item-edit/FieldAffordances.js +294 -385
- package/dist/shared/components/item-edit/FieldComments.js +159 -116
- package/dist/shared/components/item-edit/FieldPointer.js +132 -0
- package/dist/shared/components/item-edit/FieldRenderer.js +277 -273
- package/dist/shared/components/item-edit/FieldRow.js +519 -439
- package/dist/shared/components/item-edit/FieldSourceBadge.js +88 -0
- package/dist/shared/components/item-edit/FilePickerField.js +454 -369
- package/dist/shared/components/item-edit/GroupSection.js +618 -567
- package/dist/shared/components/item-edit/HeldEditsChip.js +113 -0
- package/dist/shared/components/item-edit/InlineTableField.js +2891 -2723
- package/dist/shared/components/item-edit/ListNeighborNav.js +79 -0
- package/dist/shared/components/item-edit/LiveTraceSheet.js +26 -0
- package/dist/shared/components/item-edit/M2MCombobox.js +284 -273
- package/dist/shared/components/item-edit/OutboxReviewTray.js +313 -0
- package/dist/shared/components/item-edit/PickerBadges.js +52 -0
- package/dist/shared/components/item-edit/PlanGrid.js +434 -439
- package/dist/shared/components/item-edit/RecalcValue.js +55 -0
- package/dist/shared/components/item-edit/RecordChatActions.js +76 -64
- package/dist/shared/components/item-edit/RecordChatMentionsChip.js +103 -0
- package/dist/shared/components/item-edit/RecordGrantTools.js +87 -86
- package/dist/shared/components/item-edit/RecordHelpChip.js +70 -0
- package/dist/shared/components/item-edit/RecordLiveSync.js +230 -217
- package/dist/shared/components/item-edit/RecordOutbox.js +53 -52
- package/dist/shared/components/item-edit/RecordRecapStrip.js +109 -36
- package/dist/shared/components/item-edit/RelationCombobox.js +229 -217
- package/dist/shared/components/item-edit/RelationGroupedCombobox.js +105 -100
- package/dist/shared/components/item-edit/RemoteChangeUi.js +454 -0
- package/dist/shared/components/item-edit/RemoteUploads.js +55 -0
- package/dist/shared/components/item-edit/RemovedLineNote.js +92 -0
- package/dist/shared/components/item-edit/RichTextEditorImpl.js +298 -223
- package/dist/shared/components/item-edit/ScheduledChangeChip.js +244 -0
- package/dist/shared/components/item-edit/SectionPresence.js +78 -0
- package/dist/shared/components/item-edit/SplitLinesButton.js +166 -0
- package/dist/shared/components/item-edit/catalog-line-watch.js +94 -0
- package/dist/shared/components/item-edit/coedit/collab.js +84 -0
- package/dist/shared/components/item-edit/coedit/context.js +24 -0
- package/dist/shared/components/item-edit/coedit/cursors.js +103 -0
- package/dist/shared/components/item-edit/coedit/safe-link.js +15 -0
- package/dist/shared/components/item-edit/coedit/session.js +382 -0
- package/dist/shared/components/item-edit/coedit/useCoedit.js +49 -0
- package/dist/shared/components/item-edit/file-live.js +77 -0
- package/dist/shared/components/item-edit/file-processing.js +87 -0
- package/dist/shared/components/item-edit/layout-switch.js +148 -0
- package/dist/shared/components/item-edit/live-related.js +23 -0
- package/dist/shared/components/item-edit/live-title.js +66 -0
- package/dist/shared/components/item-edit/partner-needs.js +142 -0
- package/dist/shared/components/item-edit/removed-line.js +58 -0
- package/dist/shared/components/item-edit/render-stability.js +70 -59
- package/dist/shared/components/layout-editor/ChangeNote.js +36 -34
- package/dist/shared/components/layout-editor/CollabParts.js +72 -70
- package/dist/shared/components/layout-editor/LayoutEditor.js +306 -303
- package/dist/shared/components/list/InlineEdit.js +504 -208
- package/dist/shared/components/list/ListViewers.js +81 -0
- package/dist/shared/components/list/PhonePager.js +50 -0
- package/dist/shared/components/merge/MergeRecordsDialog.js +1227 -0
- package/dist/shared/components/merge/MergeWithFlow.js +290 -0
- package/dist/shared/components/merge/merge-values.js +110 -0
- package/dist/shared/components/monitoring/InactiveUserLinksView.js +285 -258
- package/dist/shared/components/notifications/NotificationCenterView.js +389 -323
- package/dist/shared/components/notifications/NotificationDetailBits.js +205 -130
- package/dist/shared/components/notifications/NotificationRulesEditor.js +72 -52
- package/dist/shared/components/notifications/bundles.js +21 -19
- package/dist/shared/components/notifications/resolved-line.js +25 -0
- package/dist/shared/components/ops/OpsTasksView.js +45 -44
- package/dist/shared/components/panels/AccessGrantedNote.js +85 -0
- package/dist/shared/components/panels/AlertBanners.js +132 -0
- package/dist/shared/components/panels/AsyncUserPicker.js +54 -45
- package/dist/shared/components/panels/BranchLanes.js +82 -54
- package/dist/shared/components/panels/CommentAwareness.js +332 -0
- package/dist/shared/components/panels/CommentImages.js +219 -0
- package/dist/shared/components/panels/CommentPanel.js +649 -530
- package/dist/shared/components/panels/ExternalRequestsChip.js +98 -80
- package/dist/shared/components/panels/NewSinceChip.js +16 -0
- package/dist/shared/components/panels/OwnerOpenedLine.js +85 -0
- package/dist/shared/components/panels/PipelinePanel.js +1644 -1494
- package/dist/shared/components/panels/ResubmissionDiff.js +293 -0
- package/dist/shared/components/panels/SlaBreachBanner.js +30 -29
- package/dist/shared/components/panels/SlaClock.js +130 -99
- package/dist/shared/components/panels/TaskPanel.js +308 -287
- package/dist/shared/components/panels/unseen-move-check.js +101 -0
- package/dist/shared/components/pipeline/OwnerMatrix.js +80 -71
- package/dist/shared/components/pipeline/OwnerMatrixSheet.js +495 -0
- package/dist/shared/components/pipeline/PipelineEditorView.js +2050 -1942
- package/dist/shared/components/profile/AgentNameField.js +141 -0
- package/dist/shared/components/profile/AgentsPanel.js +55 -46
- package/dist/shared/components/profile/PersonAccess.js +398 -330
- package/dist/shared/components/profile/PersonAdminTools.js +127 -113
- package/dist/shared/components/profile/PersonProfile.js +81 -73
- package/dist/shared/components/profile/SignInTroubleshooter.js +361 -0
- package/dist/shared/components/queue/OwnerAvatars.js +9 -9
- package/dist/shared/components/queue/QueueBulkBar.js +101 -84
- package/dist/shared/components/queue/QueueItemSheet.js +66 -66
- package/dist/shared/components/queue/QueueTeamStrip.js +279 -0
- package/dist/shared/components/queue/QueueWorklist.js +2407 -1950
- package/dist/shared/components/queue/worklist-helpers.js +10 -6
- package/dist/shared/components/send-view/SendViewButton.js +136 -0
- package/dist/shared/components/send-view/SentViewCards.js +147 -0
- package/dist/shared/components/support/ReportProblem.js +1 -0
- package/dist/shared/components/support/ScreenShare.js +554 -0
- package/dist/shared/components/support/SupportView.js +160 -129
- package/dist/shared/components/support/TicketDetailSheet.js +101 -89
- package/dist/shared/components/ui/popover.js +53 -29
- package/dist/shared/components/watch-list/WatchDock.js +1044 -0
- package/dist/shared/components/watch-list/WatchExtras.js +723 -0
- package/dist/shared/components/watch-list/WatchListButton.js +46 -0
- package/dist/shared/components/watch-list/WatchPinButton.js +67 -0
- package/dist/shared/components/watch-list/WatchRows.js +348 -0
- package/dist/shared/lib/activity-sentence.js +87 -75
- package/dist/shared/lib/agent-presence.js +46 -0
- package/dist/shared/lib/approval-progress.js +49 -0
- package/dist/shared/lib/attention-prefs.js +27 -0
- package/dist/shared/lib/cell-locks.js +56 -0
- package/dist/shared/lib/co-edit.js +166 -0
- package/dist/shared/lib/coedit-registry.js +44 -0
- package/dist/shared/lib/comment-awareness.js +124 -0
- package/dist/shared/lib/comment-images.js +45 -0
- package/dist/shared/lib/config-watch.js +94 -0
- package/dist/shared/lib/copy-rules.js +65 -0
- package/dist/shared/lib/count-step.js +30 -0
- package/dist/shared/lib/deadline-ticker.js +68 -0
- package/dist/shared/lib/derived-causes.js +115 -0
- package/dist/shared/lib/draft-store.js +114 -85
- package/dist/shared/lib/error-hints.js +1 -0
- package/dist/shared/lib/field-merge.js +126 -0
- package/dist/shared/lib/filter-sentence.js +10 -10
- package/dist/shared/lib/focus-mode.js +16 -12
- package/dist/shared/lib/grid-cursors.js +77 -0
- package/dist/shared/lib/grid-presence.js +182 -0
- package/dist/shared/lib/idle-reload.js +100 -73
- package/dist/shared/lib/in-step.js +45 -0
- package/dist/shared/lib/integration-chip.js +19 -18
- package/dist/shared/lib/keep-row-focus.js +43 -0
- package/dist/shared/lib/line-locks.js +141 -0
- package/dist/shared/lib/line-split.js +41 -0
- package/dist/shared/lib/linked-changes.js +150 -0
- package/dist/shared/lib/list-return.js +231 -0
- package/dist/shared/lib/list-viewers.js +52 -0
- package/dist/shared/lib/live-announcer.js +86 -0
- package/dist/shared/lib/live-counts.js +85 -0
- package/dist/shared/lib/live-data-changed.js +108 -0
- package/dist/shared/lib/live-deltas.js +81 -0
- package/dist/shared/lib/live-findings.js +113 -0
- package/dist/shared/lib/live-groups.js +122 -0
- package/dist/shared/lib/live-link-labels.js +162 -0
- package/dist/shared/lib/live-list-flow.js +334 -0
- package/dist/shared/lib/live-list.js +143 -129
- package/dist/shared/lib/live-moves.js +51 -0
- package/dist/shared/lib/live-ops.js +26 -26
- package/dist/shared/lib/live-pickers.js +7 -0
- package/dist/shared/lib/live-preference.js +184 -0
- package/dist/shared/lib/live-queries.js +226 -181
- package/dist/shared/lib/live-screen.js +333 -0
- package/dist/shared/lib/live-search.js +108 -0
- package/dist/shared/lib/live-seen.js +35 -0
- package/dist/shared/lib/live-views.js +100 -0
- package/dist/shared/lib/live.js +159 -133
- package/dist/shared/lib/missed-updates.js +198 -0
- package/dist/shared/lib/newer-file.js +56 -0
- package/dist/shared/lib/notification-sound.js +42 -20
- package/dist/shared/lib/obligation-banner.js +17 -17
- package/dist/shared/lib/own-writes.js +59 -41
- package/dist/shared/lib/picker-badges.js +94 -0
- package/dist/shared/lib/presence-signals.js +131 -84
- package/dist/shared/lib/rail-menu-context.js +9 -0
- package/dist/shared/lib/realtime.js +49 -24
- package/dist/shared/lib/record-gaps.js +85 -0
- package/dist/shared/lib/record-outbox.js +369 -222
- package/dist/shared/lib/record-peek.js +75 -0
- package/dist/shared/lib/record-tabs.js +92 -72
- package/dist/shared/lib/relative-ticker.js +42 -0
- package/dist/shared/lib/request-gate.js +119 -119
- package/dist/shared/lib/rollup-recalc.js +107 -0
- package/dist/shared/lib/room-gaps.js +40 -36
- package/dist/shared/lib/row-surface.js +7 -0
- package/dist/shared/lib/rum.js +137 -87
- package/dist/shared/lib/save-progress.js +20 -0
- package/dist/shared/lib/scheduled-countdown.js +67 -0
- package/dist/shared/lib/screen-refresh.js +160 -0
- package/dist/shared/lib/screen-share.js +234 -0
- package/dist/shared/lib/seen-since.js +74 -0
- package/dist/shared/lib/selection-watch.js +205 -0
- package/dist/shared/lib/send-status.js +132 -0
- package/dist/shared/lib/send-view.js +23 -0
- package/dist/shared/lib/socket-liveness.js +155 -0
- package/dist/shared/lib/socket-realtime.js +168 -140
- package/dist/shared/lib/state-census.js +53 -0
- package/dist/shared/lib/summary-mode.js +61 -39
- package/dist/shared/lib/tab-attention.js +143 -32
- package/dist/shared/lib/table-density.js +64 -0
- package/dist/shared/lib/table-pins.js +20 -18
- package/dist/shared/lib/track-travel.js +40 -0
- package/dist/shared/lib/unseen-changes.js +68 -0
- package/dist/shared/lib/upload-file.js +62 -0
- package/dist/shared/lib/upload-presence.js +127 -0
- package/dist/shared/lib/urgent-chime.js +65 -0
- package/dist/shared/lib/use-below-md.js +29 -0
- package/dist/shared/lib/use-online-users.js +32 -11
- package/dist/shared/lib/user-sync.js +155 -39
- package/dist/shared/lib/waiting-count.js +44 -0
- package/dist/shared/lib/watch-desktop.js +83 -0
- package/dist/shared/lib/watch-list.js +447 -0
- package/dist/shared/lib/widget-image-render.js +64 -0
- package/dist/shared/lib/widget-image.js +111 -0
- package/dist/shared/lib/worker-socket.js +130 -104
- package/dist/shared/lib/write-to-screen.js +133 -0
- package/package.json +1 -1
- package/styles.css +49 -1
|
@@ -1,70 +1,91 @@
|
|
|
1
|
-
import { bindClientChaosSocket as
|
|
2
|
-
import { onSignedIn as
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { bindClientChaosSocket as N } from "./client-chaos.js";
|
|
2
|
+
import { onSignedIn as Y, signedOutBackoff as G, isSignedOut as H } from "./signed-out.js";
|
|
3
|
+
import { registerLiveness as J, onWakeSignals as Q, attachSocketLiveness as V } from "./socket-liveness.js";
|
|
4
|
+
const X = 1, Z = "nvr-realtime-worker";
|
|
5
|
+
function ee() {
|
|
5
6
|
return typeof window < "u" && typeof window.SharedWorker == "function";
|
|
6
7
|
}
|
|
7
|
-
function
|
|
8
|
+
function te() {
|
|
8
9
|
try {
|
|
9
|
-
const o = localStorage.getItem(
|
|
10
|
+
const o = localStorage.getItem(Z);
|
|
10
11
|
return o === "on" || o === "off" ? o : null;
|
|
11
12
|
} catch {
|
|
12
13
|
return null;
|
|
13
14
|
}
|
|
14
15
|
}
|
|
15
|
-
function
|
|
16
|
-
const
|
|
17
|
-
return
|
|
16
|
+
function ne(o, a) {
|
|
17
|
+
const d = typeof a == "string" ? a.trim() : "";
|
|
18
|
+
return d ? `${o}${o.includes("?") ? "&" : "?"}b=${encodeURIComponent(d.slice(0, 64))}` : o;
|
|
18
19
|
}
|
|
19
|
-
function
|
|
20
|
-
if (!
|
|
20
|
+
function re(o) {
|
|
21
|
+
if (!ee() || te() === "off") return !1;
|
|
21
22
|
try {
|
|
22
23
|
return new URL(o, window.location.href).origin === window.location.origin;
|
|
23
24
|
} catch {
|
|
24
25
|
return !1;
|
|
25
26
|
}
|
|
26
27
|
}
|
|
27
|
-
function
|
|
28
|
-
const
|
|
29
|
-
let c = "pending", f = null,
|
|
30
|
-
const
|
|
31
|
-
let
|
|
32
|
-
const A =
|
|
33
|
-
|
|
28
|
+
function se(o) {
|
|
29
|
+
const a = /* @__PURE__ */ new Map(), d = /* @__PURE__ */ new Set();
|
|
30
|
+
let c = "pending", f = null, r = null, k = !1, E = null, F = 0;
|
|
31
|
+
const W = /* @__PURE__ */ new Map(), _ = [];
|
|
32
|
+
let D = 0, p = null, b = null, y = !1, w = !1, h = 0, v = 0, S = null, R = !1, u = null;
|
|
33
|
+
const A = /* @__PURE__ */ new Set();
|
|
34
|
+
let O = !1;
|
|
35
|
+
const M = (t, e) => {
|
|
36
|
+
const n = c === "fallback" ? !!(u != null && u.repairing()) : R;
|
|
37
|
+
if (n !== O) {
|
|
38
|
+
O = n;
|
|
39
|
+
for (const i of [...A])
|
|
40
|
+
try {
|
|
41
|
+
i(n, n ? void 0 : e ?? "gave-up");
|
|
42
|
+
} catch {
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}, L = { probes: 0, failedProbes: 0, repairs: 0, repaired: 0, gaveUp: 0 }, q = {
|
|
46
|
+
repairing: () => O,
|
|
47
|
+
onRepairing(t) {
|
|
48
|
+
return A.add(t), () => {
|
|
49
|
+
A.delete(t);
|
|
50
|
+
};
|
|
51
|
+
},
|
|
52
|
+
stats: () => (u == null ? void 0 : u.stats()) ?? { ...L }
|
|
53
|
+
}, C = (t, e) => {
|
|
54
|
+
for (const n of [...a.get(t) ?? []])
|
|
34
55
|
try {
|
|
35
|
-
|
|
56
|
+
n(...e);
|
|
36
57
|
} catch {
|
|
37
58
|
}
|
|
38
|
-
for (const
|
|
59
|
+
for (const n of [...d])
|
|
39
60
|
try {
|
|
40
|
-
|
|
61
|
+
n(t, ...e);
|
|
41
62
|
} catch {
|
|
42
63
|
}
|
|
43
|
-
},
|
|
44
|
-
if (
|
|
64
|
+
}, K = () => {
|
|
65
|
+
if (p && clearTimeout(p), p = null, b && clearInterval(b), b = null, f)
|
|
45
66
|
try {
|
|
46
67
|
f.postMessage({ t: "bye" }), f.close();
|
|
47
68
|
} catch {
|
|
48
69
|
}
|
|
49
70
|
f = null;
|
|
50
|
-
},
|
|
51
|
-
var i,
|
|
52
|
-
if (c === "fallback" ||
|
|
71
|
+
}, g = (t) => {
|
|
72
|
+
var i, m, T;
|
|
73
|
+
if (c === "fallback" || y) return;
|
|
53
74
|
const e = k;
|
|
54
|
-
|
|
55
|
-
const
|
|
56
|
-
|
|
57
|
-
for (const [
|
|
58
|
-
|
|
75
|
+
K(), c = "fallback", k = !1;
|
|
76
|
+
const n = o.fallback();
|
|
77
|
+
r = n, w && ((i = n.disconnect) == null || i.call(n));
|
|
78
|
+
for (const [I, P] of a) for (const j of P) n.on(I, j);
|
|
79
|
+
d.size && ((m = n.onAny) == null || m.call(n, (I, ...P) => U(I, P))), e && C("disconnect", ["worker-fallback"]), R = !1, u = V(n), u == null || u.onRepairing(M), M(), (T = o.onMode) == null || T.call(o, "fallback", t);
|
|
59
80
|
};
|
|
60
|
-
function
|
|
61
|
-
for (const
|
|
81
|
+
function U(t, e) {
|
|
82
|
+
for (const n of [...d])
|
|
62
83
|
try {
|
|
63
|
-
|
|
84
|
+
n(t, ...e);
|
|
64
85
|
} catch {
|
|
65
86
|
}
|
|
66
87
|
}
|
|
67
|
-
const
|
|
88
|
+
const $ = () => l({
|
|
68
89
|
t: "hello",
|
|
69
90
|
app: o.app,
|
|
70
91
|
features: o.features ?? [],
|
|
@@ -74,18 +95,18 @@ function Q(o) {
|
|
|
74
95
|
try {
|
|
75
96
|
f == null || f.postMessage(t);
|
|
76
97
|
} catch {
|
|
77
|
-
|
|
98
|
+
g("port-closed");
|
|
78
99
|
}
|
|
79
|
-
},
|
|
80
|
-
var
|
|
100
|
+
}, x = (t) => {
|
|
101
|
+
var n;
|
|
81
102
|
const e = t.data;
|
|
82
|
-
if (!(!e || typeof e != "object" ||
|
|
83
|
-
switch (
|
|
103
|
+
if (!(!e || typeof e != "object" || y))
|
|
104
|
+
switch (D = Date.now(), e.t) {
|
|
84
105
|
case "ready": {
|
|
85
|
-
if (
|
|
86
|
-
c = "worker",
|
|
87
|
-
Date.now() -
|
|
88
|
-
}, 5e3), (
|
|
106
|
+
if (p && clearTimeout(p), p = null, e.proto !== X) return g(`proto-${String(e.proto)}`);
|
|
107
|
+
c = "worker", w || $(), b = setInterval(() => {
|
|
108
|
+
Date.now() - D > (o.silentMs ?? 2e4) && g("worker-silent");
|
|
109
|
+
}, 5e3), (n = o.onMode) == null || n.call(o, "worker", "ready");
|
|
89
110
|
return;
|
|
90
111
|
}
|
|
91
112
|
case "ping":
|
|
@@ -93,119 +114,124 @@ function Q(o) {
|
|
|
93
114
|
return;
|
|
94
115
|
case "status": {
|
|
95
116
|
k = !!e.connected;
|
|
96
|
-
const i = typeof e.transport == "string" ? e.transport : null,
|
|
97
|
-
if (
|
|
117
|
+
const i = typeof e.transport == "string" ? e.transport : null, m = i === "websocket" && E !== "websocket";
|
|
118
|
+
if (E = i, m) for (const T of _.splice(0)) T();
|
|
98
119
|
return;
|
|
99
120
|
}
|
|
100
121
|
case "need-token":
|
|
101
|
-
|
|
102
|
-
(i) => l({ t: "token", req: e.req, token: i, ...i ? {} : { signedOut:
|
|
122
|
+
z().then(
|
|
123
|
+
(i) => l({ t: "token", req: e.req, token: i, ...i ? {} : { signedOut: H() } })
|
|
103
124
|
);
|
|
104
125
|
return;
|
|
105
126
|
case "ev": {
|
|
106
|
-
if (
|
|
107
|
-
e.event === "connect" && (k = !0), e.event === "disconnect" && (k = !1),
|
|
127
|
+
if (w) return;
|
|
128
|
+
e.event === "connect" && (k = !0), e.event === "disconnect" && (k = !1), C(String(e.event), Array.isArray(e.args) ? e.args : []);
|
|
108
129
|
return;
|
|
109
130
|
}
|
|
110
131
|
case "ack": {
|
|
111
|
-
const i =
|
|
112
|
-
|
|
132
|
+
const i = W.get(e.id);
|
|
133
|
+
W.delete(e.id), i == null || i(...Array.isArray(e.args) ? e.args : []);
|
|
113
134
|
return;
|
|
114
135
|
}
|
|
115
136
|
case "fallback":
|
|
116
|
-
|
|
137
|
+
g(String(e.reason ?? "worker"));
|
|
138
|
+
return;
|
|
139
|
+
case "repair":
|
|
140
|
+
R = e.on === !0, M(R, e.outcome === "repaired" ? "repaired" : "gave-up");
|
|
117
141
|
return;
|
|
118
142
|
default:
|
|
119
143
|
return;
|
|
120
144
|
}
|
|
121
|
-
},
|
|
122
|
-
if (Date.now() <
|
|
145
|
+
}, z = async () => {
|
|
146
|
+
if (Date.now() < v) return null;
|
|
123
147
|
const t = await o.authToken().catch(() => null);
|
|
124
|
-
return t ? (
|
|
125
|
-
},
|
|
148
|
+
return t ? (h = 0, v = 0, t) : (h += 1, v = Date.now() + G(h), null);
|
|
149
|
+
}, B = () => {
|
|
126
150
|
var t;
|
|
127
|
-
if (!
|
|
151
|
+
if (!re(o.url)) return g("unsupported");
|
|
128
152
|
try {
|
|
129
|
-
const e = new SharedWorker(
|
|
153
|
+
const e = new SharedWorker(ne(o.url, (t = o.version) == null ? void 0 : t.build), {
|
|
130
154
|
name: o.name ?? o.app
|
|
131
155
|
});
|
|
132
|
-
f = e.port, f.onmessage =
|
|
156
|
+
f = e.port, f.onmessage = x, f.onmessageerror = () => g("message-error"), e.onerror = () => g("worker-error"), f.start(), p = setTimeout(() => g("no-greeting"), o.readyTimeoutMs ?? 15e3);
|
|
133
157
|
} catch {
|
|
134
|
-
|
|
158
|
+
g("construct-failed");
|
|
135
159
|
}
|
|
136
160
|
if (typeof window < "u") {
|
|
137
161
|
const e = () => {
|
|
138
162
|
c === "worker" && document.visibilityState === "visible" && l({ t: "active" });
|
|
139
163
|
};
|
|
140
|
-
document.addEventListener("visibilitychange", e), window.addEventListener("focus", e),
|
|
164
|
+
document.addEventListener("visibilitychange", e), window.addEventListener("focus", e), Q((n) => {
|
|
165
|
+
c === "worker" && !y && l({ t: "wake", reason: n });
|
|
166
|
+
}), window.addEventListener("pagehide", () => {
|
|
141
167
|
c === "worker" && l({ t: "bye" });
|
|
142
168
|
});
|
|
143
169
|
}
|
|
144
|
-
},
|
|
170
|
+
}, s = {
|
|
145
171
|
get connected() {
|
|
146
|
-
return
|
|
172
|
+
return w && c !== "fallback" ? !1 : c === "fallback" ? !!(r != null && r.connected) : k;
|
|
147
173
|
},
|
|
148
174
|
on(t, e) {
|
|
149
|
-
const
|
|
150
|
-
return
|
|
175
|
+
const n = a.get(t) ?? /* @__PURE__ */ new Set();
|
|
176
|
+
return a.set(t, n), n.add(e), c === "fallback" && (r == null || r.on(t, e)), s;
|
|
151
177
|
},
|
|
152
178
|
off(t, e) {
|
|
153
|
-
var
|
|
154
|
-
return e ? (
|
|
179
|
+
var n;
|
|
180
|
+
return e ? (n = a.get(t)) == null || n.delete(e) : a.delete(t), c === "fallback" && (r == null || r.off(t, e)), s;
|
|
155
181
|
},
|
|
156
182
|
once(t, e) {
|
|
157
|
-
const
|
|
158
|
-
|
|
183
|
+
const n = (...i) => {
|
|
184
|
+
s.off(t, n), e(...i);
|
|
159
185
|
};
|
|
160
|
-
return
|
|
186
|
+
return s.on(t, n);
|
|
161
187
|
},
|
|
162
188
|
onAny(t) {
|
|
163
|
-
var
|
|
164
|
-
const e =
|
|
165
|
-
return
|
|
189
|
+
var n;
|
|
190
|
+
const e = d.size === 0;
|
|
191
|
+
return d.add(t), c === "fallback" && e && ((n = r == null ? void 0 : r.onAny) == null || n.call(r, (i, ...m) => U(i, m))), s;
|
|
166
192
|
},
|
|
167
193
|
offAny(t) {
|
|
168
|
-
return
|
|
194
|
+
return d.delete(t), s;
|
|
169
195
|
},
|
|
170
196
|
listeners(t) {
|
|
171
|
-
return [...
|
|
197
|
+
return [...a.get(t) ?? []];
|
|
172
198
|
},
|
|
173
199
|
emit(t, ...e) {
|
|
174
|
-
if (c === "fallback") return
|
|
175
|
-
const
|
|
176
|
-
if (
|
|
177
|
-
return typeof
|
|
178
|
-
if (typeof
|
|
179
|
-
const i = ++
|
|
180
|
-
|
|
200
|
+
if (c === "fallback") return r == null ? void 0 : r.emit(t, ...e);
|
|
201
|
+
const n = e[e.length - 1];
|
|
202
|
+
if (w)
|
|
203
|
+
return typeof n == "function" && setTimeout(() => n(), 0), s;
|
|
204
|
+
if (typeof n == "function") {
|
|
205
|
+
const i = ++F;
|
|
206
|
+
W.set(i, n), l({ t: "emit", event: t, payload: e[0], ack: i });
|
|
181
207
|
} else l({ t: "emit", event: t, payload: e[0] });
|
|
182
|
-
return
|
|
208
|
+
return s;
|
|
183
209
|
},
|
|
184
210
|
connect() {
|
|
185
211
|
var t;
|
|
186
|
-
c === "fallback" ? (t =
|
|
212
|
+
c === "fallback" ? (t = r == null ? void 0 : r.connect) == null || t.call(r) : l({ t: "connect" });
|
|
187
213
|
},
|
|
188
214
|
disconnect() {
|
|
189
215
|
var t;
|
|
190
|
-
|
|
216
|
+
y = !0, S == null || S(), K(), (t = r == null ? void 0 : r.disconnect) == null || t.call(r);
|
|
191
217
|
},
|
|
192
218
|
signedIn() {
|
|
193
|
-
|
|
219
|
+
h = 0, v = 0, !(c !== "worker" || y) && (l({ t: "signed-in" }), (typeof document > "u" || document.visibilityState === "visible") && l({ t: "active" }));
|
|
194
220
|
},
|
|
195
221
|
mode: () => c,
|
|
196
222
|
chaosPause(t) {
|
|
197
|
-
var e,
|
|
198
|
-
if (!(t ===
|
|
199
|
-
if (
|
|
200
|
-
t ? (e =
|
|
223
|
+
var e, n;
|
|
224
|
+
if (!(t === w || y)) {
|
|
225
|
+
if (w = t, c === "fallback") {
|
|
226
|
+
t ? (e = r == null ? void 0 : r.disconnect) == null || e.call(r) : (n = r == null ? void 0 : r.connect) == null || n.call(r);
|
|
201
227
|
return;
|
|
202
228
|
}
|
|
203
229
|
if (t) {
|
|
204
230
|
const i = k;
|
|
205
|
-
k = !1, i &&
|
|
231
|
+
k = !1, i && C("disconnect", ["transport close"]);
|
|
206
232
|
return;
|
|
207
233
|
}
|
|
208
|
-
c === "worker" &&
|
|
234
|
+
c === "worker" && $(), typeof window < "u" && window.dispatchEvent(new CustomEvent("nvr:catchup-full"));
|
|
209
235
|
}
|
|
210
236
|
},
|
|
211
237
|
io: {
|
|
@@ -213,25 +239,25 @@ function Q(o) {
|
|
|
213
239
|
get transport() {
|
|
214
240
|
return {
|
|
215
241
|
get name() {
|
|
216
|
-
var t, e,
|
|
217
|
-
return c === "fallback" ? (
|
|
242
|
+
var t, e, n;
|
|
243
|
+
return c === "fallback" ? (n = (e = (t = r == null ? void 0 : r.io) == null ? void 0 : t.engine) == null ? void 0 : e.transport) == null ? void 0 : n.name : E ?? void 0;
|
|
218
244
|
}
|
|
219
245
|
};
|
|
220
246
|
},
|
|
221
247
|
once(t, e) {
|
|
222
|
-
t === "upgrade" &&
|
|
248
|
+
t === "upgrade" && _.push(e);
|
|
223
249
|
}
|
|
224
250
|
}
|
|
225
251
|
}
|
|
226
252
|
};
|
|
227
|
-
return
|
|
253
|
+
return S = Y(() => s.signedIn()), J(s, q), B(), N(s), s;
|
|
228
254
|
}
|
|
229
255
|
export {
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
256
|
+
Z as WORKER_SOCKET_PREF_KEY,
|
|
257
|
+
X as WORKER_SOCKET_PROTO,
|
|
258
|
+
se as createWorkerSocket,
|
|
259
|
+
ee as sharedWorkerSupported,
|
|
260
|
+
re as shouldUseWorkerSocket,
|
|
261
|
+
te as workerSocketPreference,
|
|
262
|
+
ne as workerUrlForBuild
|
|
237
263
|
};
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
import { getLiveMode as q } from "./live-preference.js";
|
|
2
|
+
import { isOwnWrite as N } from "./own-writes.js";
|
|
3
|
+
import { screenRefreshClient as M } from "./screen-refresh.js";
|
|
4
|
+
import { serverNow as E } from "./server-clock.js";
|
|
5
|
+
const b = 2500, k = 2e4, p = 2e3, W = 5, G = 3e4;
|
|
6
|
+
function I(e, s) {
|
|
7
|
+
const n = Array.isArray(e.changed_fields) ? e.changed_fields : null;
|
|
8
|
+
return (Array.isArray(e.items) ? e.items : [e.item]).some(
|
|
9
|
+
(l) => l != null && l !== "*" && N(s, l, n ?? void 0)
|
|
10
|
+
);
|
|
11
|
+
}
|
|
12
|
+
function x(e) {
|
|
13
|
+
const s = [], n = /* @__PURE__ */ new Set();
|
|
14
|
+
let r = null, l = Number.NEGATIVE_INFINITY, f = null;
|
|
15
|
+
const y = () => {
|
|
16
|
+
f != null && e.clearTimer(f), f = null, s.length !== 0 && e.send(s.splice(0, s.length));
|
|
17
|
+
}, w = (t) => {
|
|
18
|
+
s.push(t), s.length >= W ? y() : f == null && (f = e.setTimer(y, G));
|
|
19
|
+
}, a = () => {
|
|
20
|
+
const t = r;
|
|
21
|
+
t && (r = null, t.unsub(), e.clearTimer(t.startTimer), e.clearTimer(t.capTimer));
|
|
22
|
+
}, _ = (t) => {
|
|
23
|
+
const c = [...t.tracked], o = JSON.stringify(t.collection), d = c.filter((m) => {
|
|
24
|
+
try {
|
|
25
|
+
return JSON.stringify(m.queryKey).includes(o);
|
|
26
|
+
} catch {
|
|
27
|
+
return !1;
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
return d.length > 0 ? d : c;
|
|
31
|
+
}, S = (t) => t.tracked.size > 0 && _(t).every((c) => c.state.fetchStatus === "idle"), A = (t) => {
|
|
32
|
+
if (r !== t || !S(t)) return;
|
|
33
|
+
const c = ++t.settleGen;
|
|
34
|
+
e.frame(
|
|
35
|
+
() => e.frame(() => {
|
|
36
|
+
if (r !== t || t.settleGen !== c || !S(t)) return;
|
|
37
|
+
if (!e.visible()) return a();
|
|
38
|
+
const o = e.serverNow();
|
|
39
|
+
a(), w({
|
|
40
|
+
seq: t.seq,
|
|
41
|
+
st: t.st,
|
|
42
|
+
rx: t.rx,
|
|
43
|
+
done: o,
|
|
44
|
+
screen: t.screen,
|
|
45
|
+
collection: t.collection
|
|
46
|
+
});
|
|
47
|
+
})
|
|
48
|
+
);
|
|
49
|
+
};
|
|
50
|
+
return {
|
|
51
|
+
note: (t) => {
|
|
52
|
+
if (!t || typeof t != "object") return !1;
|
|
53
|
+
const c = t, o = c._seq, d = c._st, m = c.collection;
|
|
54
|
+
if (typeof o != "number" || typeof d != "number" || typeof m != "string" || n.has(o) || (n.add(o), n.size > 200 && n.delete(n.values().next().value), r || e.liveMode() !== "normal" || !e.visible())) return !1;
|
|
55
|
+
const T = e.now();
|
|
56
|
+
if (T - l < p || I(c, m)) return !1;
|
|
57
|
+
const g = e.client();
|
|
58
|
+
if (!g) return !1;
|
|
59
|
+
l = T;
|
|
60
|
+
const i = {
|
|
61
|
+
seq: o,
|
|
62
|
+
st: d,
|
|
63
|
+
rx: e.serverNow(),
|
|
64
|
+
t0: T,
|
|
65
|
+
collection: m,
|
|
66
|
+
screen: e.screen(),
|
|
67
|
+
tracked: /* @__PURE__ */ new Set(),
|
|
68
|
+
settleGen: 0,
|
|
69
|
+
unsub: () => {
|
|
70
|
+
},
|
|
71
|
+
startTimer: null,
|
|
72
|
+
capTimer: null
|
|
73
|
+
};
|
|
74
|
+
return r = i, i.unsub = g.getQueryCache().subscribe((h) => {
|
|
75
|
+
var v;
|
|
76
|
+
if (r !== i || h.type !== "updated") return;
|
|
77
|
+
if (((v = h.action) == null ? void 0 : v.type) === "fetch" && e.now() - i.t0 <= b) {
|
|
78
|
+
i.tracked.add(h.query), i.settleGen++;
|
|
79
|
+
return;
|
|
80
|
+
}
|
|
81
|
+
i.tracked.has(h.query) && A(i);
|
|
82
|
+
}), i.startTimer = e.setTimer(() => {
|
|
83
|
+
r === i && i.tracked.size === 0 && a();
|
|
84
|
+
}, b), i.capTimer = e.setTimer(() => {
|
|
85
|
+
r === i && a();
|
|
86
|
+
}, k), !0;
|
|
87
|
+
},
|
|
88
|
+
flush: y,
|
|
89
|
+
pending: () => s.length,
|
|
90
|
+
measuring: () => r != null,
|
|
91
|
+
stop: () => {
|
|
92
|
+
a(), y();
|
|
93
|
+
}
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
let u = null;
|
|
97
|
+
function C(e) {
|
|
98
|
+
if (u || typeof window > "u" || typeof document > "u") return;
|
|
99
|
+
u = x({
|
|
100
|
+
now: () => typeof performance < "u" ? performance.now() : Date.now(),
|
|
101
|
+
serverNow: E,
|
|
102
|
+
client: M,
|
|
103
|
+
visible: () => document.visibilityState !== "hidden",
|
|
104
|
+
liveMode: q,
|
|
105
|
+
frame: (n) => requestAnimationFrame(() => n()),
|
|
106
|
+
setTimer: (n, r) => setTimeout(n, r),
|
|
107
|
+
clearTimer: (n) => {
|
|
108
|
+
n != null && clearTimeout(n);
|
|
109
|
+
},
|
|
110
|
+
screen: e.screen,
|
|
111
|
+
send: e.send
|
|
112
|
+
});
|
|
113
|
+
const s = u;
|
|
114
|
+
window.addEventListener("pagehide", () => s.flush()), document.addEventListener("visibilitychange", () => {
|
|
115
|
+
document.visibilityState === "hidden" && s.flush();
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
function D(e) {
|
|
119
|
+
try {
|
|
120
|
+
u == null || u.note(e);
|
|
121
|
+
} catch {
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
export {
|
|
125
|
+
W as FLUSH_AT,
|
|
126
|
+
G as FLUSH_EVERY_MS,
|
|
127
|
+
k as MAX_MEASURE_MS,
|
|
128
|
+
p as MIN_GAP_MS,
|
|
129
|
+
b as START_WINDOW_MS,
|
|
130
|
+
x as createWriteToScreenSampler,
|
|
131
|
+
D as noteWriteToScreenEvent,
|
|
132
|
+
C as startWriteToScreen
|
|
133
|
+
};
|
package/package.json
CHANGED
package/styles.css
CHANGED
|
@@ -185,6 +185,19 @@ tr.nvr-row-flash > td {
|
|
|
185
185
|
to { transform: scale(1); }
|
|
186
186
|
}
|
|
187
187
|
.nvr-fill-sweep { animation: nvr-fill-sweep var(--nvr-dur-slow) var(--nvr-ease-out) 1; transform-origin: center; }
|
|
188
|
+
/* rt8 #17: the pipeline track follows a move someone else made — each crossed segment draws in
|
|
189
|
+
turn (send backs right to left), the step it lands on fills when the line reaches it. Normal
|
|
190
|
+
live mode only (Calm / Off / reduced motion: none, decided in PipelinePanel too). */
|
|
191
|
+
@keyframes nvr-track-travel {
|
|
192
|
+
from { transform: scaleX(0); }
|
|
193
|
+
to { transform: scaleX(1); }
|
|
194
|
+
}
|
|
195
|
+
.nvr-track-travel { animation: nvr-track-travel var(--nvr-track-seg, 240ms) cubic-bezier(0.4, 0, 0.2, 1) both; }
|
|
196
|
+
@keyframes nvr-track-arrive {
|
|
197
|
+
from { transform: scale(0.78); opacity: 0.35; }
|
|
198
|
+
to { transform: scale(1); opacity: 1; }
|
|
199
|
+
}
|
|
200
|
+
.nvr-track-arrive { animation: nvr-track-arrive var(--nvr-dur-slow) var(--nvr-ease-out) var(--nvr-track-arrive, 0ms) both; }
|
|
188
201
|
@keyframes nvr-rise-in {
|
|
189
202
|
from { opacity: 0; transform: translateY(4px); }
|
|
190
203
|
to { opacity: 1; transform: none; }
|
|
@@ -224,6 +237,11 @@ tr.nvr-row-flash > td {
|
|
|
224
237
|
.nvr-shake { animation: nvr-shake 260ms ease-out 1; }
|
|
225
238
|
@keyframes nvr-fade-in { from { opacity: 0; } to { opacity: 1; } }
|
|
226
239
|
.nvr-fade-in { animation: nvr-fade-in 160ms ease-out both; }
|
|
240
|
+
/* rt9 #10: a derived-value note that just happened: one faint cyan wash that settles. */
|
|
241
|
+
@keyframes nvr-derived-fresh { from { background-color: rgb(var(--nvr-cyan-rgb, 0 206 255) / 0.14); } to { background-color: transparent; } }
|
|
242
|
+
.nvr-derived-fresh { animation: nvr-derived-fresh 2400ms cubic-bezier(0.16, 1, 0.3, 1) both; }
|
|
243
|
+
@media (prefers-reduced-motion: reduce) { .nvr-derived-fresh { animation: none; } }
|
|
244
|
+
html[data-live-mode] .nvr-derived-fresh { animation: none; }
|
|
227
245
|
|
|
228
246
|
/* Item editor polish, round 2 */
|
|
229
247
|
/* Pinned header lifts once the body has scrolled under it. */
|
|
@@ -298,9 +316,39 @@ tr.nvr-row-flash > td {
|
|
|
298
316
|
|
|
299
317
|
|
|
300
318
|
@media (prefers-reduced-motion: reduce) {
|
|
301
|
-
.nvr-saved-glow, .nvr-pop, .nvr-state-pulse, .nvr-fill-sweep, .nvr-rise-in, .nvr-section-enter, .nvr-tab-enter, .nvr-expand-in, .nvr-shake, .nvr-fade-in, .nvr-autofill-glow, .nvr-pop-in, .nvr-value-pulse, .nvr-value-pulse-bg, .nvr-idle-breathe, .nvr-row-enter, .nvr-slide-up, .nvr-slide-up-centered { animation: none; }
|
|
319
|
+
.nvr-saved-glow, .nvr-pop, .nvr-state-pulse, .nvr-fill-sweep, .nvr-rise-in, .nvr-section-enter, .nvr-tab-enter, .nvr-expand-in, .nvr-shake, .nvr-fade-in, .nvr-autofill-glow, .nvr-pop-in, .nvr-value-pulse, .nvr-value-pulse-bg, .nvr-idle-breathe, .nvr-row-enter, .nvr-slide-up, .nvr-slide-up-centered, .nvr-track-travel, .nvr-track-arrive { animation: none; }
|
|
302
320
|
}
|
|
303
321
|
|
|
322
|
+
/* Someone else's cursor in a grid cell (grid cursors, round-8 budget grid presence): a ring in
|
|
323
|
+
that person's colour (--nvr-cursor, set by markRemoteCell). On an input itself it is an inset
|
|
324
|
+
shadow (never clipped by the cell); on a wrapper it is a ring just outside it (the input
|
|
325
|
+
inside would cover an inset one). Shadows, not outlines: hosts may switch outlines off
|
|
326
|
+
(efp-new does, !important). Their name rides data-tip and the initials chip. */
|
|
327
|
+
[data-grid-cell].nvr-remote-editing:is(input, textarea) {
|
|
328
|
+
box-shadow: inset 0 0 0 2px var(--nvr-cursor, rgb(14 165 233 / 0.6));
|
|
329
|
+
border-radius: 4px;
|
|
330
|
+
}
|
|
331
|
+
[data-grid-cell].nvr-remote-editing:not(input):not(textarea) {
|
|
332
|
+
box-shadow: 0 0 0 2px var(--nvr-cursor, rgb(14 165 233 / 0.6));
|
|
333
|
+
border-radius: 6px;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
/* Live updates Calm / Off (Profile → Display, packages/shared lib/live-preference.ts sets
|
|
337
|
+
html[data-live-mode]): changes land without fades, flashes or marks, and no one else's
|
|
338
|
+
editing outline. Twin: admin/src/globals.css + packages/react/styles.css. */
|
|
339
|
+
html[data-live-mode] .nvr-value-pulse,
|
|
340
|
+
html[data-live-mode] .nvr-value-pulse-bg,
|
|
341
|
+
html[data-live-mode] .nvr-state-pulse,
|
|
342
|
+
html[data-live-mode] .nvr-row-enter,
|
|
343
|
+
html[data-live-mode] tr.nvr-row-flash > td,
|
|
344
|
+
html[data-live-mode] .nvr-row-flash,
|
|
345
|
+
html[data-live-mode] .nvr-track-travel,
|
|
346
|
+
html[data-live-mode] .nvr-track-arrive { animation: none; }
|
|
347
|
+
html[data-live-mode] .nvr-remote-editing { outline: none; box-shadow: none; }
|
|
348
|
+
html[data-live-mode] .nvr-remote-editing::after,
|
|
349
|
+
html[data-live-mode] .nvr-remote-editing > td:first-child::after { display: none; }
|
|
350
|
+
html[data-live-mode] [data-live-mark='new'] { visibility: hidden; }
|
|
351
|
+
|
|
304
352
|
/* Every help-video recording (clean screen or not) puts data-nvr-recording on
|
|
305
353
|
<html> from the countdown to the stop: data-nvr-recording-hide="always"
|
|
306
354
|
(a masquerade bar) never shows in a video. */
|