@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,29 +1,31 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import { bindClientChaosSocket as
|
|
5
|
-
import { deliveryAckFor as
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
var k = Object.defineProperty;
|
|
2
|
+
var G = (l, o, n) => o in l ? k(l, o, { enumerable: !0, configurable: !0, writable: !0, value: n }) : l[o] = n;
|
|
3
|
+
var U = (l, o, n) => G(l, typeof o != "symbol" ? o + "" : o, n);
|
|
4
|
+
import { bindClientChaosSocket as $ } from "./client-chaos.js";
|
|
5
|
+
import { deliveryAckFor as x } from "./delivery-ack.js";
|
|
6
|
+
import { createRecordGapTracker as B, recordRefetchEvent as D } from "./record-gaps.js";
|
|
7
|
+
import { forgetSettledReads as W } from "./request-gate.js";
|
|
8
|
+
import { createRoomGapTracker as V, refetchEventsFor as z } from "./room-gaps.js";
|
|
9
|
+
import { livenessOf as H, attachSocketLiveness as K } from "./socket-liveness.js";
|
|
10
|
+
const I = 3e3;
|
|
11
|
+
function P(l = I) {
|
|
12
|
+
const o = /* @__PURE__ */ new Map();
|
|
13
|
+
return (n, m) => {
|
|
14
|
+
var w;
|
|
15
|
+
if (!(l > 0)) {
|
|
16
|
+
m();
|
|
15
17
|
return;
|
|
16
18
|
}
|
|
17
|
-
const
|
|
18
|
-
if (
|
|
19
|
-
const
|
|
19
|
+
const u = o.has(n);
|
|
20
|
+
if (o.set(n, m), u) return;
|
|
21
|
+
const a = setTimeout(
|
|
20
22
|
() => {
|
|
21
|
-
const
|
|
22
|
-
|
|
23
|
+
const d = o.get(n);
|
|
24
|
+
o.delete(n), d == null || d();
|
|
23
25
|
},
|
|
24
|
-
Math.floor(Math.random() *
|
|
26
|
+
Math.floor(Math.random() * l)
|
|
25
27
|
);
|
|
26
|
-
(
|
|
28
|
+
(w = a.unref) == null || w.call(a);
|
|
27
29
|
};
|
|
28
30
|
}
|
|
29
31
|
const j = {
|
|
@@ -32,182 +34,208 @@ const j = {
|
|
|
32
34
|
configUpdate: "nvr:config-update",
|
|
33
35
|
forceRefresh: "nvr:force-refresh"
|
|
34
36
|
};
|
|
35
|
-
class
|
|
36
|
-
constructor(
|
|
37
|
-
|
|
38
|
-
this.join =
|
|
37
|
+
class M {
|
|
38
|
+
constructor(o, n) {
|
|
39
|
+
U(this, "refs", /* @__PURE__ */ new Map());
|
|
40
|
+
this.join = o, this.leave = n;
|
|
39
41
|
}
|
|
40
|
-
add(
|
|
41
|
-
const
|
|
42
|
-
this.refs.set(
|
|
42
|
+
add(o) {
|
|
43
|
+
const n = this.refs.get(o) ?? 0;
|
|
44
|
+
this.refs.set(o, n + 1), n === 0 && this.join(o);
|
|
43
45
|
}
|
|
44
|
-
remove(
|
|
45
|
-
const
|
|
46
|
-
|
|
46
|
+
remove(o) {
|
|
47
|
+
const n = this.refs.get(o) ?? 0;
|
|
48
|
+
n <= 0 || (n === 1 ? (this.refs.delete(o), this.leave(o)) : this.refs.set(o, n - 1));
|
|
47
49
|
}
|
|
48
50
|
rejoinAll() {
|
|
49
|
-
for (const
|
|
51
|
+
for (const o of this.refs.keys()) this.join(o);
|
|
50
52
|
}
|
|
51
53
|
keys() {
|
|
52
54
|
return [...this.refs.keys()];
|
|
53
55
|
}
|
|
54
56
|
}
|
|
55
|
-
function
|
|
56
|
-
let
|
|
57
|
-
const
|
|
58
|
-
var
|
|
59
|
-
return ((
|
|
60
|
-
},
|
|
61
|
-
const
|
|
62
|
-
if (!(
|
|
63
|
-
|
|
64
|
-
for (const
|
|
57
|
+
function oe(l) {
|
|
58
|
+
let o = null, n = 0, m = !1, u = null, a = { state: "live", transport: null, refreshed: null, resumed: null };
|
|
59
|
+
const w = /* @__PURE__ */ new Set(), d = (e) => {
|
|
60
|
+
var t;
|
|
61
|
+
return ((t = l.windowEvents) == null ? void 0 : t[e]) !== !1;
|
|
62
|
+
}, L = P(l.reactionJitterMs ?? I), E = /* @__PURE__ */ new Set(), v = (e) => {
|
|
63
|
+
const t = { ...a, ...e };
|
|
64
|
+
if (!(t.state === a.state && t.transport === a.transport && t.refreshed === a.refreshed && t.resumed === a.resumed && (t.repair ?? null) === (a.repair ?? null))) {
|
|
65
|
+
a = t;
|
|
66
|
+
for (const s of w) s(a);
|
|
65
67
|
}
|
|
66
68
|
}, _ = () => {
|
|
67
|
-
var e,
|
|
68
|
-
return ((
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
},
|
|
74
|
-
|
|
75
|
-
},
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
69
|
+
var e, t, s;
|
|
70
|
+
return ((s = (t = (e = o == null ? void 0 : o.io) == null ? void 0 : e.engine) == null ? void 0 : t.transport) == null ? void 0 : s.name) ?? null;
|
|
71
|
+
};
|
|
72
|
+
let q = !1;
|
|
73
|
+
const N = () => {
|
|
74
|
+
q && (q = !1, v({ repair: null }));
|
|
75
|
+
}, C = (e, t) => {
|
|
76
|
+
u && clearTimeout(u), u = null, v({ state: "live", transport: _(), refreshed: e, resumed: t }), N();
|
|
77
|
+
}, g = (e, t) => {
|
|
78
|
+
typeof window > "u" || window.dispatchEvent(new CustomEvent(e, { detail: t }));
|
|
79
|
+
}, p = (e, t) => {
|
|
80
|
+
o != null && o.connected && o.emit(e, t);
|
|
81
|
+
}, F = (e, t) => {
|
|
82
|
+
var s;
|
|
83
|
+
for (const r of ((s = o == null ? void 0 : o.listeners) == null ? void 0 : s.call(o, e)) ?? []) r(t);
|
|
84
|
+
}, h = B({
|
|
85
|
+
refetch: (e) => {
|
|
86
|
+
for (const t of e) {
|
|
87
|
+
const s = D(t);
|
|
88
|
+
F(s.event, s.payload);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}), O = (e) => e.filter((t) => t.startsWith("collection:")).map((t) => t.slice(11)), y = (e) => {
|
|
92
|
+
h.forget(O(e));
|
|
93
|
+
for (const t of z(e)) F(t.event, t.payload);
|
|
94
|
+
g("nvr:realtime-stale", { rooms: e });
|
|
95
|
+
}, R = V({
|
|
96
|
+
request: (e) => p("catchup:room", e),
|
|
97
|
+
dispatch: (e, t) => {
|
|
98
|
+
h.observe(e, t), F(e, t);
|
|
99
|
+
},
|
|
100
|
+
refetch: y
|
|
101
|
+
}), S = new M(
|
|
86
102
|
(e) => {
|
|
87
|
-
|
|
103
|
+
R.reset([`collection:${e}`]), h.forget([e]), p("collection:join", { collection: e });
|
|
88
104
|
},
|
|
89
105
|
(e) => {
|
|
90
|
-
|
|
106
|
+
R.reset([`collection:${e}`]), h.forget([e]), p("collection:leave", { collection: e });
|
|
91
107
|
}
|
|
92
|
-
),
|
|
108
|
+
), b = new M(
|
|
93
109
|
// The Traffic Map page reads batched frames (api traffic-map-batch.ts); twin: admin
|
|
94
110
|
// lib/socket.ts watchJoinPayload.
|
|
95
|
-
(e) =>
|
|
96
|
-
(e) =>
|
|
97
|
-
),
|
|
98
|
-
(e) =>
|
|
99
|
-
(e) =>
|
|
111
|
+
(e) => p("admin:join", e === "traffic-map" ? { room: e, frames: "batch" } : { room: e }),
|
|
112
|
+
(e) => p("admin:leave", { room: e })
|
|
113
|
+
), A = new M(
|
|
114
|
+
(e) => p("ops:join", { topic: e }),
|
|
115
|
+
(e) => p("ops:leave", { topic: e })
|
|
100
116
|
), T = () => {
|
|
101
|
-
var
|
|
102
|
-
if (
|
|
103
|
-
const e = typeof
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
117
|
+
var s;
|
|
118
|
+
if (o) return o;
|
|
119
|
+
const e = typeof l.socket == "function" ? l.socket() : l.socket;
|
|
120
|
+
o = e, $(e);
|
|
121
|
+
const t = H(e) ?? K(e);
|
|
122
|
+
return t && (t.repairing() && (a = { ...a, repair: "silent" }), t.onRepairing((r, c) => {
|
|
123
|
+
q = !r && c === "repaired", q || v({ repair: r ? "silent" : null });
|
|
124
|
+
})), m = e.connected, e.on("auth:ok", () => {
|
|
125
|
+
if (R.reset(), S.rejoinAll(), b.rejoinAll(), A.rejoinAll(), m && n > 0) {
|
|
126
|
+
const r = n;
|
|
127
|
+
v({ transport: _() }), u && clearTimeout(u), u = setTimeout(() => C(null, "unverified"), l.catchupTimeoutMs ?? 8e3), e.emit("catchup", { cursor: r });
|
|
108
128
|
} else
|
|
109
|
-
|
|
129
|
+
v({
|
|
110
130
|
state: "live",
|
|
111
131
|
transport: _(),
|
|
112
132
|
refreshed: null,
|
|
113
|
-
resumed:
|
|
114
|
-
});
|
|
115
|
-
|
|
116
|
-
}), e.on("catchup:cursor", (
|
|
117
|
-
|
|
133
|
+
resumed: m && a.state === "reconnecting" ? "unverified" : null
|
|
134
|
+
}), N();
|
|
135
|
+
m = !0;
|
|
136
|
+
}), e.on("catchup:cursor", (r) => {
|
|
137
|
+
n === 0 && typeof (r == null ? void 0 : r.seq) == "number" && r.seq > 0 && (n = r.seq);
|
|
118
138
|
}), e.on("disconnect", () => {
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
const
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
139
|
+
u && clearTimeout(u), u = null;
|
|
140
|
+
const r = !!(t != null && t.repairing());
|
|
141
|
+
q = !1, v({ state: "reconnecting", refreshed: null, ...r ? {} : { repair: null } });
|
|
142
|
+
}), e.on("connect_error", () => v({ state: "reconnecting", refreshed: null })), (s = e.onAny) == null || s.call(e, (r, c) => {
|
|
143
|
+
const i = c == null ? void 0 : c._seq;
|
|
144
|
+
typeof i == "number" && i > n && (n = i), R.observe(c), h.observe(r, c);
|
|
145
|
+
const f = x(c);
|
|
146
|
+
f && e.emit("rt:ack", f);
|
|
147
|
+
}), e.on("catchup:room:events", (r) => R.replayed(r)), e.on("realtime:stale", (r) => {
|
|
148
|
+
const c = Array.isArray(r == null ? void 0 : r.rooms) ? r.rooms.filter((i) => typeof i == "string") : [];
|
|
149
|
+
R.reset(c), h.forget(r != null && r.all ? void 0 : O(c)), r != null && r.all ? (d("catchupFull") && g(j.catchupFull, {}), g("nvr:realtime-stale", { rooms: c, all: !0 })) : c.length && y(c);
|
|
128
150
|
}), e.on(
|
|
129
151
|
"catchup:events",
|
|
130
|
-
(
|
|
131
|
-
var
|
|
132
|
-
for (const
|
|
133
|
-
|
|
134
|
-
|
|
152
|
+
(r) => {
|
|
153
|
+
var c;
|
|
154
|
+
for (const i of (r == null ? void 0 : r.events) ?? []) {
|
|
155
|
+
i.seq > n && (n = i.seq);
|
|
156
|
+
const f = {
|
|
157
|
+
...i.payload,
|
|
158
|
+
_seq: i.seq,
|
|
159
|
+
...typeof i.iseq == "number" ? { _iseq: i.iseq } : {}
|
|
160
|
+
};
|
|
161
|
+
h.observe(i.event, f);
|
|
162
|
+
for (const J of ((c = e.listeners) == null ? void 0 : c.call(e, i.event)) ?? []) J(f);
|
|
135
163
|
}
|
|
136
|
-
|
|
164
|
+
C(null, "replayed");
|
|
137
165
|
}
|
|
138
|
-
), e.on("catchup:full", (
|
|
139
|
-
|
|
140
|
-
(
|
|
166
|
+
), e.on("catchup:full", (r) => {
|
|
167
|
+
h.forget(), d("catchupFull") && L("full", () => g(j.catchupFull, {})), C(
|
|
168
|
+
(r == null ? void 0 : r.reason) === "slow-consumer" ? "Live updates resumed. This tab fell too far behind to send each change, so the lists and records on this page were reloaded." : "Live updates resumed. The connection was gone too long to replay each change, so the lists and records on this page were reloaded.",
|
|
141
169
|
"reloaded"
|
|
142
170
|
);
|
|
143
|
-
}), e.on("access:changed", (
|
|
144
|
-
var
|
|
145
|
-
if (
|
|
146
|
-
for (const
|
|
147
|
-
|
|
148
|
-
const
|
|
149
|
-
|
|
171
|
+
}), e.on("access:changed", (r) => {
|
|
172
|
+
var c;
|
|
173
|
+
if (W(), (c = r == null ? void 0 : r.rooms_left) != null && c.length && d("accessChanged")) {
|
|
174
|
+
for (const i of r.rooms_left) E.add(i);
|
|
175
|
+
L("access", () => {
|
|
176
|
+
const i = [...E];
|
|
177
|
+
E.clear(), g(j.accessChanged, { rooms_left: i });
|
|
150
178
|
});
|
|
151
179
|
}
|
|
152
|
-
}), e.on("config:update", (
|
|
153
|
-
|
|
154
|
-
}), e.on("client:force-refresh", (
|
|
155
|
-
|
|
180
|
+
}), e.on("config:update", (r) => {
|
|
181
|
+
W(), d("configUpdate") && g(j.configUpdate, r ?? {});
|
|
182
|
+
}), e.on("client:force-refresh", (r) => {
|
|
183
|
+
d("forceRefresh") && g(j.forceRefresh, r ?? {});
|
|
156
184
|
}), e;
|
|
157
185
|
};
|
|
158
186
|
return {
|
|
159
|
-
subscribeCollections(e,
|
|
160
|
-
const
|
|
161
|
-
for (const
|
|
162
|
-
const c = (
|
|
163
|
-
|
|
187
|
+
subscribeCollections(e, t) {
|
|
188
|
+
const s = T(), r = [...new Set(e.filter(Boolean))];
|
|
189
|
+
for (const f of r) S.add(f);
|
|
190
|
+
const c = (f) => {
|
|
191
|
+
f != null && f.collection && r.includes(f.collection) && t(f);
|
|
164
192
|
};
|
|
165
|
-
|
|
166
|
-
let
|
|
193
|
+
s.on("collection:update", c);
|
|
194
|
+
let i = !1;
|
|
167
195
|
return () => {
|
|
168
|
-
if (!
|
|
169
|
-
|
|
170
|
-
for (const
|
|
196
|
+
if (!i) {
|
|
197
|
+
i = !0, s.off("collection:update", c);
|
|
198
|
+
for (const f of r) S.remove(f);
|
|
171
199
|
}
|
|
172
200
|
};
|
|
173
201
|
},
|
|
174
|
-
on(e,
|
|
175
|
-
const
|
|
176
|
-
return
|
|
177
|
-
|
|
202
|
+
on(e, t) {
|
|
203
|
+
const s = T();
|
|
204
|
+
return s.on(e, t), () => {
|
|
205
|
+
s.off(e, t);
|
|
178
206
|
};
|
|
179
207
|
},
|
|
180
|
-
emit(e,
|
|
208
|
+
emit(e, t) {
|
|
181
209
|
if (T(), e === "ops:join" || e === "ops:leave") {
|
|
182
|
-
const
|
|
183
|
-
if (!
|
|
184
|
-
e === "ops:join" ?
|
|
210
|
+
const s = String((t == null ? void 0 : t.topic) ?? "");
|
|
211
|
+
if (!s) return;
|
|
212
|
+
e === "ops:join" ? A.add(s) : A.remove(s);
|
|
185
213
|
return;
|
|
186
214
|
}
|
|
187
|
-
|
|
215
|
+
o == null || o.emit(e, t);
|
|
188
216
|
},
|
|
189
217
|
status() {
|
|
190
|
-
return
|
|
218
|
+
return a;
|
|
191
219
|
},
|
|
192
220
|
onStatus(e) {
|
|
193
|
-
return T(),
|
|
194
|
-
|
|
221
|
+
return T(), w.add(e), () => {
|
|
222
|
+
w.delete(e);
|
|
195
223
|
};
|
|
196
224
|
},
|
|
197
225
|
joinWatch(e) {
|
|
198
|
-
T(),
|
|
199
|
-
let
|
|
226
|
+
T(), b.add(e);
|
|
227
|
+
let t = !1;
|
|
200
228
|
return () => {
|
|
201
|
-
|
|
229
|
+
t || (t = !0, b.remove(e));
|
|
202
230
|
};
|
|
203
231
|
},
|
|
204
232
|
held() {
|
|
205
|
-
return { collections:
|
|
233
|
+
return { collections: S.keys(), watch: b.keys(), ops: A.keys() };
|
|
206
234
|
}
|
|
207
235
|
};
|
|
208
236
|
}
|
|
209
237
|
export {
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
238
|
+
I as REACTION_JITTER_MS,
|
|
239
|
+
P as createJitteredReaction,
|
|
240
|
+
oe as createSocketRealtime
|
|
213
241
|
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { useQuery as l } from "@tanstack/react-query";
|
|
2
|
+
import { useMemo as a } from "react";
|
|
3
|
+
import { useNivaroClient as d } from "../context.js";
|
|
4
|
+
import { get as f } from "./commands.js";
|
|
5
|
+
import { liveQueryMeta as m } from "./live-queries.js";
|
|
6
|
+
const p = (t, n) => !!t && t.toUpperCase() === n.toUpperCase();
|
|
7
|
+
function h(t, n) {
|
|
8
|
+
const s = /* @__PURE__ */ new Map();
|
|
9
|
+
for (const e of n) {
|
|
10
|
+
const u = t.filter((o) => p(o.state_id, e)).map((o) => ({
|
|
11
|
+
collection: o.collection,
|
|
12
|
+
count: Number(o.count) || 0,
|
|
13
|
+
oldestAt: o.oldest_at ?? null
|
|
14
|
+
})).sort((o, c) => c.count - o.count);
|
|
15
|
+
let r = null;
|
|
16
|
+
for (const o of u)
|
|
17
|
+
o.oldestAt && (!r || Date.parse(o.oldestAt) < Date.parse(r)) && (r = o.oldestAt);
|
|
18
|
+
s.set(e, {
|
|
19
|
+
count: u.reduce((o, c) => o + c.count, 0),
|
|
20
|
+
oldestAt: r,
|
|
21
|
+
byCollection: u
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
return s;
|
|
25
|
+
}
|
|
26
|
+
function A(t, n = Date.now()) {
|
|
27
|
+
if (!t) return null;
|
|
28
|
+
const s = Date.parse(t);
|
|
29
|
+
if (!Number.isFinite(s)) return null;
|
|
30
|
+
const e = Math.floor(Math.max(0, n - s) / 864e5);
|
|
31
|
+
return e < 1 ? "oldest today" : e > 365 ? `oldest ${(e / 365.25).toFixed(1)} yr` : e > 60 ? `oldest ${Math.round(e / 30.4)} mo` : `oldest ${e} d`;
|
|
32
|
+
}
|
|
33
|
+
function D(t, n) {
|
|
34
|
+
return `/collections/${encodeURIComponent(t)}?state=${encodeURIComponent(n)}`;
|
|
35
|
+
}
|
|
36
|
+
function U(t, n) {
|
|
37
|
+
const s = d(), e = [...new Set(n)].sort().join("|"), i = a(() => e ? e.split("|") : [], [e]);
|
|
38
|
+
return l({
|
|
39
|
+
queryKey: ["instance-distribution", t],
|
|
40
|
+
enabled: !!t,
|
|
41
|
+
queryFn: () => s.request(f(`/pipelines/${t}/instance-distribution`)),
|
|
42
|
+
staleTime: 3e4,
|
|
43
|
+
// A move says `$state` on its record; creates and deletes always count; a plain column edit
|
|
44
|
+
// does not (fields: []), so typing in a record never re-counts the pipeline.
|
|
45
|
+
meta: i.length ? m({ reads: i, fields: [], aspects: ["$state"], minGapMs: 15e3 }) : void 0
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
export {
|
|
49
|
+
h as censusByState,
|
|
50
|
+
A as oldestHint,
|
|
51
|
+
D as stateListPath,
|
|
52
|
+
U as useStateCensus
|
|
53
|
+
};
|
|
@@ -1,73 +1,95 @@
|
|
|
1
|
-
import { normalizeRecordConditions as
|
|
2
|
-
const
|
|
3
|
-
function
|
|
4
|
-
if (!e || typeof e != "object") return
|
|
5
|
-
const t = e,
|
|
1
|
+
import { normalizeRecordConditions as d, recordMatchesAll as c } from "./record-conditions.js";
|
|
2
|
+
const m = "__none__", f = { default: "edit", rules: [] };
|
|
3
|
+
function y(e) {
|
|
4
|
+
if (!e || typeof e != "object") return f;
|
|
5
|
+
const t = e, r = t.default === "summary" ? "summary" : "edit", o = [];
|
|
6
6
|
if (Array.isArray(t.rules))
|
|
7
|
-
for (const
|
|
8
|
-
if (!
|
|
9
|
-
const s =
|
|
10
|
-
|
|
7
|
+
for (const n of t.rules) {
|
|
8
|
+
if (!n || typeof n != "object") continue;
|
|
9
|
+
const s = n;
|
|
10
|
+
o.push({
|
|
11
11
|
roles: Array.isArray(s.roles) ? s.roles.map(String) : null,
|
|
12
12
|
states: Array.isArray(s.states) ? s.states.map(String) : null,
|
|
13
13
|
states_op: s.states_op === "not_in" ? "not_in" : "in",
|
|
14
|
-
conditions:
|
|
14
|
+
conditions: d(s.conditions),
|
|
15
15
|
mode: s.mode === "summary" ? "summary" : "edit"
|
|
16
16
|
});
|
|
17
17
|
}
|
|
18
|
-
return {
|
|
18
|
+
return {
|
|
19
|
+
default: r,
|
|
20
|
+
rules: o,
|
|
21
|
+
...t.edit_lock ? { edit_lock: t.edit_lock } : {},
|
|
22
|
+
...t.change_proposals === !0 ? { change_proposals: !0 } : {},
|
|
23
|
+
...t.line_locks === !0 ? { line_locks: !0 } : {},
|
|
24
|
+
...t.changed_after_approval === !1 ? { changed_after_approval: !1 } : u(t.changed_after_approval) ? { changed_after_approval: { states: u(t.changed_after_approval) ?? [] } } : {}
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
function u(e) {
|
|
28
|
+
if (!e || typeof e != "object" || Array.isArray(e)) return null;
|
|
29
|
+
const t = e.states, r = Array.isArray(t) ? t.filter((o) => typeof o == "string") : [];
|
|
30
|
+
return r.length > 0 ? r : null;
|
|
31
|
+
}
|
|
32
|
+
function h(e) {
|
|
33
|
+
var o, n;
|
|
34
|
+
if (!e) return null;
|
|
35
|
+
const t = e.changed_after_approval;
|
|
36
|
+
if (t === !1) return null;
|
|
37
|
+
if (t && t.states.length > 0) return t.states;
|
|
38
|
+
const r = ((n = (o = e.edit_lock) == null ? void 0 : o.admin_only) == null ? void 0 : n.states) ?? [];
|
|
39
|
+
return r.length > 0 ? r : null;
|
|
19
40
|
}
|
|
20
41
|
const S = (e) => !!(e != null && e.rules.some((t) => {
|
|
21
|
-
var
|
|
22
|
-
return (((
|
|
23
|
-
})),
|
|
24
|
-
var
|
|
25
|
-
return (((
|
|
42
|
+
var r;
|
|
43
|
+
return (((r = t.roles) == null ? void 0 : r.length) ?? 0) > 0;
|
|
44
|
+
})), A = (e) => !!(e != null && e.rules.some((t) => {
|
|
45
|
+
var r;
|
|
46
|
+
return (((r = t.states) == null ? void 0 : r.length) ?? 0) > 0;
|
|
26
47
|
})), R = (e) => !!(e != null && e.rules.some((t) => {
|
|
27
|
-
var o;
|
|
28
|
-
return (((o = t.conditions) == null ? void 0 : o.length) ?? 0) > 0;
|
|
29
|
-
}));
|
|
30
|
-
function A(e, t) {
|
|
31
48
|
var r;
|
|
49
|
+
return (((r = t.conditions) == null ? void 0 : r.length) ?? 0) > 0;
|
|
50
|
+
}));
|
|
51
|
+
function v(e, t) {
|
|
52
|
+
var n;
|
|
32
53
|
if (t.isNew || !e) return "edit";
|
|
33
|
-
const
|
|
54
|
+
const r = t.role ? t.role.toLowerCase() : null, o = t.stateKey ?? m;
|
|
34
55
|
for (const s of e.rules) {
|
|
35
56
|
const l = s.roles ?? [];
|
|
36
|
-
if (l.length > 0 && (!
|
|
37
|
-
const
|
|
38
|
-
if (
|
|
39
|
-
const
|
|
40
|
-
if (!(s.states_op === "not_in" ? !
|
|
57
|
+
if (l.length > 0 && (!r || !l.some((a) => a.toLowerCase() === r))) continue;
|
|
58
|
+
const i = s.states ?? [];
|
|
59
|
+
if (i.length > 0) {
|
|
60
|
+
const a = i.includes(o);
|
|
61
|
+
if (!(s.states_op === "not_in" ? !a : a)) continue;
|
|
41
62
|
}
|
|
42
|
-
if (!((((
|
|
63
|
+
if (!((((n = s.conditions) == null ? void 0 : n.length) ?? 0) > 0 && (!t.record || !c(t.record, s.conditions))))
|
|
43
64
|
return s.mode;
|
|
44
65
|
}
|
|
45
66
|
return e.default;
|
|
46
67
|
}
|
|
47
|
-
function
|
|
48
|
-
return JSON.stringify([e, t ?? null,
|
|
68
|
+
function k(e, t, r) {
|
|
69
|
+
return JSON.stringify([e, t ?? null, r ? r.toLowerCase() : null]);
|
|
49
70
|
}
|
|
50
71
|
function N(e, t) {
|
|
51
72
|
if (!e) return !1;
|
|
52
73
|
try {
|
|
53
|
-
const
|
|
54
|
-
return Array.isArray(
|
|
74
|
+
const r = JSON.parse(e);
|
|
75
|
+
return Array.isArray(r) && r[0] === t;
|
|
55
76
|
} catch {
|
|
56
77
|
return !1;
|
|
57
78
|
}
|
|
58
79
|
}
|
|
59
|
-
function
|
|
80
|
+
function g(e) {
|
|
60
81
|
return !e.first && (e.unsaved || e.lineDrafts > 0);
|
|
61
82
|
}
|
|
62
83
|
export {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
84
|
+
f as EMPTY_SUMMARY_RULES,
|
|
85
|
+
m as NO_STATE,
|
|
86
|
+
h as approvalBadgeStates,
|
|
87
|
+
g as holdSummaryReresolve,
|
|
88
|
+
y as normalizeSummaryModeRules,
|
|
89
|
+
v as resolveSummaryMode,
|
|
68
90
|
N as sameSummaryRecord,
|
|
69
|
-
|
|
91
|
+
k as summaryResolveSignature,
|
|
70
92
|
R as summaryRulesNeedRecord,
|
|
71
93
|
S as summaryRulesNeedRole,
|
|
72
|
-
|
|
94
|
+
A as summaryRulesNeedState
|
|
73
95
|
};
|