@nivaro/react 0.3.114 → 0.3.115

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.
Files changed (281) hide show
  1. package/dist/components/ScreenShareHost.js +24 -0
  2. package/dist/full.css +50 -2
  3. package/dist/hooks/useSessionRecorder.js +61 -60
  4. package/dist/index.d.ts +1717 -21
  5. package/dist/index.js +1091 -950
  6. package/dist/shared/components/ActivityEntry.js +209 -97
  7. package/dist/shared/components/AgentPresenceChip.js +51 -0
  8. package/dist/shared/components/AnnouncementBanner.js +56 -41
  9. package/dist/shared/components/AutolinkedText.js +98 -85
  10. package/dist/shared/components/BroadcastView.js +149 -141
  11. package/dist/shared/components/CacheStamp.js +78 -30
  12. package/dist/shared/components/CollectionBrowserView.js +4088 -3592
  13. package/dist/shared/components/ConfigChangeStrip.js +63 -0
  14. package/dist/shared/components/ConfigReachNote.js +107 -0
  15. package/dist/shared/components/ConformanceView.js +389 -319
  16. package/dist/shared/components/DataTable.js +1 -0
  17. package/dist/shared/components/DelegateCoverLine.js +164 -0
  18. package/dist/shared/components/EnvironmentNotice.js +56 -65
  19. package/dist/shared/components/FilePreviewLightbox.js +89 -43
  20. package/dist/shared/components/FindingFixedMark.js +23 -0
  21. package/dist/shared/components/GridPresenceLine.js +100 -0
  22. package/dist/shared/components/IdleReloadWatcher.js +82 -43
  23. package/dist/shared/components/InStep.js +46 -0
  24. package/dist/shared/components/ItemEditForm.js +5504 -4889
  25. package/dist/shared/components/LiveAnnouncer.js +62 -0
  26. package/dist/shared/components/LiveCount.js +54 -0
  27. package/dist/shared/components/LiveFigure.js +28 -0
  28. package/dist/shared/components/LiveListControls.js +114 -0
  29. package/dist/shared/components/LiveNewMatchesPill.js +25 -0
  30. package/dist/shared/components/LiveOffNote.js +44 -0
  31. package/dist/shared/components/LivePreferenceHost.js +42 -0
  32. package/dist/shared/components/LiveRowMark.js +25 -20
  33. package/dist/shared/components/LiveTraceView.js +257 -0
  34. package/dist/shared/components/MapView.js +30 -29
  35. package/dist/shared/components/MatrixEditor.js +497 -462
  36. package/dist/shared/components/MyWorkView.js +346 -272
  37. package/dist/shared/components/NotificationBell.js +215 -201
  38. package/dist/shared/components/PageRenderer.js +636 -599
  39. package/dist/shared/components/PresenceDot.js +21 -0
  40. package/dist/shared/components/ProfileView.js +656 -536
  41. package/dist/shared/components/RealtimeStatusBanner.js +25 -25
  42. package/dist/shared/components/RecentRecordsRail.js +51 -48
  43. package/dist/shared/components/RecordCompare.js +241 -150
  44. package/dist/shared/components/RecordDrilldownSheet.js +66 -64
  45. package/dist/shared/components/RecordGridEditor.js +350 -311
  46. package/dist/shared/components/RecordHoverCard.js +147 -0
  47. package/dist/shared/components/RecordPeekHost.js +111 -0
  48. package/dist/shared/components/RecordReadView.js +414 -412
  49. package/dist/shared/components/RelativeTime.js +16 -0
  50. package/dist/shared/components/ReportView.js +1396 -1304
  51. package/dist/shared/components/ScreenRefreshButton.js +77 -0
  52. package/dist/shared/components/TabCountHost.js +10 -0
  53. package/dist/shared/components/TickerNumber.js +19 -18
  54. package/dist/shared/components/TipLayer.js +70 -58
  55. package/dist/shared/components/WidgetImageMenu.js +59 -0
  56. package/dist/shared/components/WidgetSlot.js +571 -524
  57. package/dist/shared/components/activity/RecordActivityStream.js +317 -0
  58. package/dist/shared/components/bulk/BulkSelectionNotices.js +220 -0
  59. package/dist/shared/components/cbv/approval-changed.js +20 -0
  60. package/dist/shared/components/cbv/changed-by-others.js +251 -0
  61. package/dist/shared/components/change-proposals/ChangeProposalsPanel.js +320 -0
  62. package/dist/shared/components/change-proposals/ProposalValue.js +28 -0
  63. package/dist/shared/components/change-proposals/ProposeChangeButton.js +44 -0
  64. package/dist/shared/components/change-proposals/ProposeChangeDialog.js +359 -0
  65. package/dist/shared/components/change-proposals/types.js +4 -0
  66. package/dist/shared/components/chat/ChatPanel.js +1571 -1528
  67. package/dist/shared/components/chat/Composer.js +276 -298
  68. package/dist/shared/components/chat/room-due.js +13 -0
  69. package/dist/shared/components/collections-directory/CollectionRow.js +76 -75
  70. package/dist/shared/components/collections-directory/CollectionsDirectory.js +415 -395
  71. package/dist/shared/components/collections-directory/directory-data.js +75 -63
  72. package/dist/shared/components/imports/ImportConsole.js +159 -155
  73. package/dist/shared/components/imports/ImportDuplicatesNotice.js +46 -31
  74. package/dist/shared/components/integrations/SendStatus.js +202 -0
  75. package/dist/shared/components/integrations/console/IntegrationsConsole.js +45 -36
  76. package/dist/shared/components/integrations/console/ReadyToSendView.js +453 -0
  77. package/dist/shared/components/integrations/console/api.js +161 -117
  78. package/dist/shared/components/integrations/console/tone.js +15 -12
  79. package/dist/shared/components/item-edit/CatalogPickerField.js +1353 -1245
  80. package/dist/shared/components/item-edit/ChangedAfterApprovalBadge.js +162 -0
  81. package/dist/shared/components/item-edit/CloneDialog.js +208 -206
  82. package/dist/shared/components/item-edit/DerivedCauseNote.js +57 -0
  83. package/dist/shared/components/item-edit/DraftRecoveryBanner.js +81 -70
  84. package/dist/shared/components/item-edit/DuplicateNotice.js +169 -101
  85. package/dist/shared/components/item-edit/FieldAffordances.js +294 -385
  86. package/dist/shared/components/item-edit/FieldComments.js +159 -116
  87. package/dist/shared/components/item-edit/FieldPointer.js +132 -0
  88. package/dist/shared/components/item-edit/FieldRenderer.js +277 -273
  89. package/dist/shared/components/item-edit/FieldRow.js +519 -439
  90. package/dist/shared/components/item-edit/FieldSourceBadge.js +88 -0
  91. package/dist/shared/components/item-edit/FilePickerField.js +454 -369
  92. package/dist/shared/components/item-edit/GroupSection.js +618 -567
  93. package/dist/shared/components/item-edit/HeldEditsChip.js +113 -0
  94. package/dist/shared/components/item-edit/InlineTableField.js +2891 -2723
  95. package/dist/shared/components/item-edit/ListNeighborNav.js +79 -0
  96. package/dist/shared/components/item-edit/LiveTraceSheet.js +26 -0
  97. package/dist/shared/components/item-edit/M2MCombobox.js +284 -273
  98. package/dist/shared/components/item-edit/OutboxReviewTray.js +313 -0
  99. package/dist/shared/components/item-edit/PickerBadges.js +52 -0
  100. package/dist/shared/components/item-edit/PlanGrid.js +434 -439
  101. package/dist/shared/components/item-edit/RecalcValue.js +55 -0
  102. package/dist/shared/components/item-edit/RecordChatActions.js +76 -64
  103. package/dist/shared/components/item-edit/RecordChatMentionsChip.js +103 -0
  104. package/dist/shared/components/item-edit/RecordGrantTools.js +87 -86
  105. package/dist/shared/components/item-edit/RecordHelpChip.js +70 -0
  106. package/dist/shared/components/item-edit/RecordLiveSync.js +230 -217
  107. package/dist/shared/components/item-edit/RecordOutbox.js +53 -52
  108. package/dist/shared/components/item-edit/RecordRecapStrip.js +109 -36
  109. package/dist/shared/components/item-edit/RelationCombobox.js +229 -217
  110. package/dist/shared/components/item-edit/RelationGroupedCombobox.js +105 -100
  111. package/dist/shared/components/item-edit/RemoteChangeUi.js +454 -0
  112. package/dist/shared/components/item-edit/RemoteUploads.js +55 -0
  113. package/dist/shared/components/item-edit/RemovedLineNote.js +92 -0
  114. package/dist/shared/components/item-edit/RichTextEditorImpl.js +298 -223
  115. package/dist/shared/components/item-edit/ScheduledChangeChip.js +244 -0
  116. package/dist/shared/components/item-edit/SectionPresence.js +78 -0
  117. package/dist/shared/components/item-edit/SplitLinesButton.js +166 -0
  118. package/dist/shared/components/item-edit/catalog-line-watch.js +94 -0
  119. package/dist/shared/components/item-edit/coedit/collab.js +84 -0
  120. package/dist/shared/components/item-edit/coedit/context.js +24 -0
  121. package/dist/shared/components/item-edit/coedit/cursors.js +103 -0
  122. package/dist/shared/components/item-edit/coedit/safe-link.js +15 -0
  123. package/dist/shared/components/item-edit/coedit/session.js +382 -0
  124. package/dist/shared/components/item-edit/coedit/useCoedit.js +49 -0
  125. package/dist/shared/components/item-edit/file-live.js +77 -0
  126. package/dist/shared/components/item-edit/file-processing.js +87 -0
  127. package/dist/shared/components/item-edit/layout-switch.js +148 -0
  128. package/dist/shared/components/item-edit/live-related.js +23 -0
  129. package/dist/shared/components/item-edit/live-title.js +66 -0
  130. package/dist/shared/components/item-edit/partner-needs.js +142 -0
  131. package/dist/shared/components/item-edit/removed-line.js +58 -0
  132. package/dist/shared/components/item-edit/render-stability.js +70 -59
  133. package/dist/shared/components/layout-editor/ChangeNote.js +36 -34
  134. package/dist/shared/components/layout-editor/CollabParts.js +72 -70
  135. package/dist/shared/components/layout-editor/LayoutEditor.js +306 -303
  136. package/dist/shared/components/list/InlineEdit.js +504 -208
  137. package/dist/shared/components/list/ListViewers.js +81 -0
  138. package/dist/shared/components/merge/MergeRecordsDialog.js +1227 -0
  139. package/dist/shared/components/merge/MergeWithFlow.js +290 -0
  140. package/dist/shared/components/merge/merge-values.js +110 -0
  141. package/dist/shared/components/monitoring/InactiveUserLinksView.js +285 -258
  142. package/dist/shared/components/notifications/NotificationCenterView.js +388 -321
  143. package/dist/shared/components/notifications/NotificationDetailBits.js +205 -130
  144. package/dist/shared/components/notifications/NotificationRulesEditor.js +72 -52
  145. package/dist/shared/components/notifications/bundles.js +21 -19
  146. package/dist/shared/components/notifications/resolved-line.js +25 -0
  147. package/dist/shared/components/ops/OpsTasksView.js +45 -44
  148. package/dist/shared/components/panels/AccessGrantedNote.js +85 -0
  149. package/dist/shared/components/panels/AlertBanners.js +132 -0
  150. package/dist/shared/components/panels/AsyncUserPicker.js +54 -45
  151. package/dist/shared/components/panels/BranchLanes.js +82 -54
  152. package/dist/shared/components/panels/CommentAwareness.js +332 -0
  153. package/dist/shared/components/panels/CommentImages.js +219 -0
  154. package/dist/shared/components/panels/CommentPanel.js +649 -530
  155. package/dist/shared/components/panels/ExternalRequestsChip.js +98 -80
  156. package/dist/shared/components/panels/NewSinceChip.js +16 -0
  157. package/dist/shared/components/panels/OwnerOpenedLine.js +85 -0
  158. package/dist/shared/components/panels/PipelinePanel.js +1644 -1494
  159. package/dist/shared/components/panels/ResubmissionDiff.js +293 -0
  160. package/dist/shared/components/panels/SlaBreachBanner.js +30 -29
  161. package/dist/shared/components/panels/SlaClock.js +130 -99
  162. package/dist/shared/components/panels/TaskPanel.js +308 -287
  163. package/dist/shared/components/panels/unseen-move-check.js +101 -0
  164. package/dist/shared/components/pipeline/OwnerMatrix.js +80 -71
  165. package/dist/shared/components/pipeline/OwnerMatrixSheet.js +495 -0
  166. package/dist/shared/components/pipeline/PipelineEditorView.js +1855 -1771
  167. package/dist/shared/components/profile/AgentNameField.js +141 -0
  168. package/dist/shared/components/profile/AgentsPanel.js +55 -46
  169. package/dist/shared/components/profile/PersonAccess.js +398 -330
  170. package/dist/shared/components/profile/PersonAdminTools.js +127 -113
  171. package/dist/shared/components/profile/PersonProfile.js +81 -73
  172. package/dist/shared/components/profile/SignInTroubleshooter.js +361 -0
  173. package/dist/shared/components/queue/QueueBulkBar.js +101 -84
  174. package/dist/shared/components/queue/QueueItemSheet.js +66 -66
  175. package/dist/shared/components/queue/QueueTeamStrip.js +279 -0
  176. package/dist/shared/components/queue/QueueWorklist.js +1927 -1635
  177. package/dist/shared/components/send-view/SendViewButton.js +136 -0
  178. package/dist/shared/components/send-view/SentViewCards.js +147 -0
  179. package/dist/shared/components/support/ReportProblem.js +1 -0
  180. package/dist/shared/components/support/ScreenShare.js +554 -0
  181. package/dist/shared/components/support/SupportView.js +160 -129
  182. package/dist/shared/components/support/TicketDetailSheet.js +101 -89
  183. package/dist/shared/components/watch-list/WatchDock.js +1044 -0
  184. package/dist/shared/components/watch-list/WatchExtras.js +723 -0
  185. package/dist/shared/components/watch-list/WatchListButton.js +46 -0
  186. package/dist/shared/components/watch-list/WatchPinButton.js +67 -0
  187. package/dist/shared/components/watch-list/WatchRows.js +348 -0
  188. package/dist/shared/lib/activity-sentence.js +87 -75
  189. package/dist/shared/lib/agent-presence.js +46 -0
  190. package/dist/shared/lib/approval-progress.js +49 -0
  191. package/dist/shared/lib/attention-prefs.js +27 -0
  192. package/dist/shared/lib/cell-locks.js +56 -0
  193. package/dist/shared/lib/co-edit.js +166 -0
  194. package/dist/shared/lib/coedit-registry.js +44 -0
  195. package/dist/shared/lib/comment-awareness.js +124 -0
  196. package/dist/shared/lib/comment-images.js +45 -0
  197. package/dist/shared/lib/config-watch.js +94 -0
  198. package/dist/shared/lib/copy-rules.js +65 -0
  199. package/dist/shared/lib/count-step.js +30 -0
  200. package/dist/shared/lib/deadline-ticker.js +68 -0
  201. package/dist/shared/lib/derived-causes.js +115 -0
  202. package/dist/shared/lib/draft-store.js +114 -85
  203. package/dist/shared/lib/error-hints.js +1 -0
  204. package/dist/shared/lib/field-merge.js +126 -0
  205. package/dist/shared/lib/filter-sentence.js +10 -10
  206. package/dist/shared/lib/focus-mode.js +16 -12
  207. package/dist/shared/lib/grid-cursors.js +77 -0
  208. package/dist/shared/lib/grid-presence.js +182 -0
  209. package/dist/shared/lib/idle-reload.js +100 -73
  210. package/dist/shared/lib/in-step.js +45 -0
  211. package/dist/shared/lib/integration-chip.js +19 -18
  212. package/dist/shared/lib/line-locks.js +141 -0
  213. package/dist/shared/lib/line-split.js +41 -0
  214. package/dist/shared/lib/linked-changes.js +150 -0
  215. package/dist/shared/lib/list-return.js +231 -0
  216. package/dist/shared/lib/list-viewers.js +52 -0
  217. package/dist/shared/lib/live-announcer.js +86 -0
  218. package/dist/shared/lib/live-counts.js +85 -0
  219. package/dist/shared/lib/live-data-changed.js +108 -0
  220. package/dist/shared/lib/live-deltas.js +81 -0
  221. package/dist/shared/lib/live-findings.js +113 -0
  222. package/dist/shared/lib/live-groups.js +122 -0
  223. package/dist/shared/lib/live-link-labels.js +162 -0
  224. package/dist/shared/lib/live-list-flow.js +334 -0
  225. package/dist/shared/lib/live-list.js +143 -129
  226. package/dist/shared/lib/live-moves.js +51 -0
  227. package/dist/shared/lib/live-ops.js +26 -26
  228. package/dist/shared/lib/live-pickers.js +7 -0
  229. package/dist/shared/lib/live-preference.js +184 -0
  230. package/dist/shared/lib/live-queries.js +226 -181
  231. package/dist/shared/lib/live-screen.js +333 -0
  232. package/dist/shared/lib/live-search.js +108 -0
  233. package/dist/shared/lib/live-seen.js +35 -0
  234. package/dist/shared/lib/live-views.js +100 -0
  235. package/dist/shared/lib/live.js +159 -133
  236. package/dist/shared/lib/missed-updates.js +198 -0
  237. package/dist/shared/lib/newer-file.js +56 -0
  238. package/dist/shared/lib/notification-sound.js +42 -20
  239. package/dist/shared/lib/own-writes.js +59 -41
  240. package/dist/shared/lib/picker-badges.js +94 -0
  241. package/dist/shared/lib/presence-signals.js +131 -84
  242. package/dist/shared/lib/realtime.js +49 -24
  243. package/dist/shared/lib/record-gaps.js +85 -0
  244. package/dist/shared/lib/record-outbox.js +369 -222
  245. package/dist/shared/lib/record-peek.js +75 -0
  246. package/dist/shared/lib/record-tabs.js +92 -72
  247. package/dist/shared/lib/relative-ticker.js +42 -0
  248. package/dist/shared/lib/request-gate.js +119 -119
  249. package/dist/shared/lib/rollup-recalc.js +107 -0
  250. package/dist/shared/lib/room-gaps.js +40 -36
  251. package/dist/shared/lib/rum.js +137 -87
  252. package/dist/shared/lib/save-progress.js +20 -0
  253. package/dist/shared/lib/scheduled-countdown.js +67 -0
  254. package/dist/shared/lib/screen-refresh.js +160 -0
  255. package/dist/shared/lib/screen-share.js +234 -0
  256. package/dist/shared/lib/seen-since.js +74 -0
  257. package/dist/shared/lib/selection-watch.js +205 -0
  258. package/dist/shared/lib/send-status.js +132 -0
  259. package/dist/shared/lib/send-view.js +23 -0
  260. package/dist/shared/lib/socket-liveness.js +155 -0
  261. package/dist/shared/lib/socket-realtime.js +168 -140
  262. package/dist/shared/lib/state-census.js +53 -0
  263. package/dist/shared/lib/summary-mode.js +61 -39
  264. package/dist/shared/lib/tab-attention.js +143 -32
  265. package/dist/shared/lib/table-density.js +64 -0
  266. package/dist/shared/lib/track-travel.js +40 -0
  267. package/dist/shared/lib/unseen-changes.js +68 -0
  268. package/dist/shared/lib/upload-file.js +33 -0
  269. package/dist/shared/lib/upload-presence.js +127 -0
  270. package/dist/shared/lib/urgent-chime.js +65 -0
  271. package/dist/shared/lib/use-online-users.js +32 -11
  272. package/dist/shared/lib/user-sync.js +155 -39
  273. package/dist/shared/lib/waiting-count.js +44 -0
  274. package/dist/shared/lib/watch-desktop.js +83 -0
  275. package/dist/shared/lib/watch-list.js +447 -0
  276. package/dist/shared/lib/widget-image-render.js +64 -0
  277. package/dist/shared/lib/widget-image.js +111 -0
  278. package/dist/shared/lib/worker-socket.js +130 -104
  279. package/dist/shared/lib/write-to-screen.js +133 -0
  280. package/package.json +1 -1
  281. package/styles.css +49 -1
@@ -1,38 +1,60 @@
1
- import { isCleanRecording as f } from "../components/help-videos/recorder/cleanRecording.js";
2
- import { shouldPlayHere as l } from "./tab-sound.js";
3
- let u = null;
1
+ import { isCleanRecording as s } from "../components/help-videos/recorder/cleanRecording.js";
2
+ import { shouldPlayHere as m } from "./tab-sound.js";
3
+ let c = null;
4
4
  function d() {
5
5
  if (typeof window > "u") return null;
6
6
  try {
7
- return u || (u = new AudioContext()), u.state === "suspended" && u.resume().catch(() => {
8
- }), u;
7
+ return c || (c = new AudioContext()), c.state === "suspended" && c.resume().catch(() => {
8
+ }), c;
9
9
  } catch {
10
10
  return null;
11
11
  }
12
12
  }
13
- function a(n, o, t, e, r) {
14
- const i = n.createOscillator(), c = n.createGain();
15
- i.type = "sine", i.frequency.value = o, c.gain.setValueAtTime(1e-4, t), c.gain.exponentialRampToValueAtTime(r, t + 0.015), c.gain.exponentialRampToValueAtTime(1e-4, t + e), i.connect(c), c.connect(n.destination), i.start(t), i.stop(t + e + 0.05);
13
+ function r(n, e, t, o, l) {
14
+ const i = n.createOscillator(), u = n.createGain();
15
+ i.type = "sine", i.frequency.value = e, u.gain.setValueAtTime(1e-4, t), u.gain.exponentialRampToValueAtTime(l, t + 0.015), u.gain.exponentialRampToValueAtTime(1e-4, t + o), i.connect(u), u.connect(n.destination), i.start(t), i.stop(t + o + 0.05);
16
16
  }
17
- function y(n, o = {}) {
18
- if (!n || n === "off" || f() || !o.preview && !l()) return;
19
- const t = d();
20
- if (t)
17
+ function p(n, e = {}) {
18
+ if (!(!n || n === "off") && !s()) {
19
+ if (e.preview) {
20
+ a(n);
21
+ return;
22
+ }
23
+ m() && setTimeout(() => {
24
+ h() || a(n);
25
+ }, g);
26
+ }
27
+ }
28
+ let f = 0;
29
+ const y = 1500, g = 120;
30
+ function w(n = Date.now()) {
31
+ f = n;
32
+ }
33
+ function h(n = Date.now()) {
34
+ return n - f < y;
35
+ }
36
+ function a(n) {
37
+ const e = d();
38
+ if (e)
21
39
  try {
22
- const e = t.currentTime;
23
- n === "chime" ? (a(t, 660, e, 0.14, 0.06), a(t, 880, e + 0.12, 0.2, 0.06)) : a(t, 880, e, 0.09, 0.03);
40
+ const t = e.currentTime;
41
+ n === "chime" ? (r(e, 660, t, 0.14, 0.06), r(e, 880, t + 0.12, 0.2, 0.06)) : r(e, 880, t, 0.09, 0.03);
24
42
  } catch {
25
43
  }
26
44
  }
27
- function g(n, o) {
45
+ function C(n, e) {
28
46
  const t = n == null ? void 0 : n.notification_sounds;
29
- if (o && t && typeof t == "object") {
30
- const e = t[o];
31
- if (e === "off" || e === "subtle" || e === "chime") return e;
47
+ if (e && t && typeof t == "object") {
48
+ const o = t[e];
49
+ if (o === "off" || o === "subtle" || o === "chime") return o;
32
50
  }
33
51
  return typeof (n == null ? void 0 : n.notification_sound) == "string" ? n.notification_sound : "off";
34
52
  }
35
53
  export {
36
- y as playNotificationSound,
37
- g as soundForCategory
54
+ g as URGENT_SOUND_DEFER_MS,
55
+ y as URGENT_SOUND_WINDOW_MS,
56
+ w as noteUrgentChime,
57
+ p as playNotificationSound,
58
+ C as soundForCategory,
59
+ h as urgentChimeJustPlayed
38
60
  };
@@ -1,84 +1,102 @@
1
1
  const _ = /* @__PURE__ */ new Map();
2
- function p(e, r) {
3
- return `${e}:${r == null ? "*" : String(r)}`;
2
+ function p(t, r) {
3
+ return `${t}:${r == null ? "*" : String(r)}`;
4
4
  }
5
- function f(e, r, n = 6e3, o) {
6
- if (!e) return;
7
- const s = Date.now(), i = p(e, r), l = o && o.length > 0 ? new Set(o) : null, u = _.get(i), c = u && u.exp >= s ? u : null, T = !l || c && !c.fields ? null : c != null && c.fields ? /* @__PURE__ */ new Set([...c.fields, ...l]) : l;
5
+ function l(t, r, n = 6e3, o) {
6
+ if (!t) return;
7
+ const s = Date.now(), i = p(t, r), u = o && o.length > 0 ? new Set(o) : null, f = _.get(i), c = f && f.exp >= s ? f : null, T = !u || c && !c.fields ? null : c != null && c.fields ? /* @__PURE__ */ new Set([...c.fields, ...u]) : u;
8
8
  if (_.set(i, { exp: s + n, fields: T }), _.size > 200)
9
- for (const [A, E] of _) E.exp < s && _.delete(A);
9
+ for (const [m, A] of _) A.exp < s && _.delete(m);
10
10
  }
11
- function M(e, r, n) {
12
- const o = _.get(p(e, r));
11
+ function z(t, r, n) {
12
+ const o = _.get(p(t, r));
13
13
  return !o || o.exp < Date.now() ? !1 : !o.fields || !n || n.length === 0 ? !0 : n.some((s) => {
14
14
  var i;
15
15
  return (i = o.fields) == null ? void 0 : i.has(s);
16
16
  });
17
17
  }
18
- const w = /^\/items\/([A-Za-z_][A-Za-z0-9_]*)\/([^/?#]+)$/, O = /^\/items\/([A-Za-z_][A-Za-z0-9_]*)$/, I = /^\/items\/([A-Za-z_][A-Za-z0-9_]*)\/(batch|bulk)$/, S = /^\/pipelines\/instance\/([A-Za-z_][A-Za-z0-9_]*)\/([^/?#]+)/, y = /^\/addendums\/([A-Za-z_][A-Za-z0-9_]*)\/([^/?#]+)/, N = /* @__PURE__ */ new Set(["batch", "bulk", "batch-read", "aggregate", "export", "auto-id-preview"]), R = [
18
+ const O = /^\/items\/([A-Za-z_][A-Za-z0-9_]*)\/([^/?#]+)$/, I = /^\/items\/([A-Za-z_][A-Za-z0-9_]*)$/, S = /^\/items\/([A-Za-z_][A-Za-z0-9_]*)\/(batch|bulk)$/, y = /^\/pipelines\/instance\/([A-Za-z_][A-Za-z0-9_]*)\/([^/?#]+)/, N = /^\/addendums\/([A-Za-z_][A-Za-z0-9_]*)\/([^/?#]+)/, C = /* @__PURE__ */ new Set(["batch", "bulk", "batch-read", "aggregate", "export", "auto-id-preview"]), R = [
19
19
  [/^\/comments(\/|$)/, ["$comments"]],
20
20
  [/^\/tasks(\/|$)/, ["$tasks"]],
21
21
  [/^\/addendums(\/|$)/, ["$addendums"]],
22
22
  [/^\/pipelines\/instance\//, ["$state", "$owners"]]
23
23
  ];
24
- function $(e) {
25
- for (const [r, n] of R) if (r.test(e)) return n;
24
+ function $(t) {
25
+ for (const [r, n] of R) if (r.test(t)) return n;
26
26
  return null;
27
27
  }
28
- function m(e) {
29
- if (!e || typeof e != "object" || Array.isArray(e)) return null;
30
- const r = Object.keys(e).filter((n) => !n.startsWith("_"));
28
+ function W(t) {
29
+ if (!t || typeof t != "object" || Array.isArray(t)) return null;
30
+ const r = Object.keys(t).filter((n) => !n.startsWith("_"));
31
31
  return r.length > 0 ? r : null;
32
32
  }
33
- function x(e, r) {
33
+ function M(t, r) {
34
34
  const n = (s) => s === !0 || s === 1 || s === "1" || s === "true";
35
35
  if (r && typeof r == "object" && n(r.dry_run))
36
36
  return !0;
37
- const o = e == null ? void 0 : e.split("?")[1];
37
+ const o = t == null ? void 0 : t.split("?")[1];
38
38
  return o ? n(new URLSearchParams(o).get("dry_run")) : !1;
39
39
  }
40
- function z(e, r, n, o) {
41
- var A, E;
42
- const s = (e ?? "GET").toUpperCase();
40
+ function x(t, r, n, o) {
41
+ var m, A;
42
+ const s = (t ?? "GET").toUpperCase();
43
43
  if (s === "GET" || !r) return;
44
44
  const i = r.split("?")[0];
45
45
  if (o !== void 0) {
46
- const t = O.exec(i), a = (A = o == null ? void 0 : o.data) == null ? void 0 : A.id;
47
- t && s === "POST" && a != null && f(t[1], a);
46
+ const e = I.exec(i), a = (m = o == null ? void 0 : o.data) == null ? void 0 : m.id;
47
+ e && s === "POST" && a != null && l(e[1], a);
48
48
  return;
49
49
  }
50
- const l = I.exec(i);
51
- if (l) {
52
- const t = n, a = Array.isArray(t) ? t : Array.isArray(t == null ? void 0 : t.update) ? t.update : Array.isArray(t == null ? void 0 : t.rows) ? t.rows : [];
50
+ const u = S.exec(i);
51
+ if (u) {
52
+ const e = n, a = Array.isArray(e) ? e : Array.isArray(e == null ? void 0 : e.update) ? e.update : Array.isArray(e == null ? void 0 : e.rows) ? e.rows : [];
53
53
  for (const d of a)
54
- d && typeof d == "object" && d.id != null && f(
55
- l[1],
54
+ d && typeof d == "object" && d.id != null && l(
55
+ u[1],
56
56
  d.id,
57
57
  6e3,
58
- ((E = m(d)) == null ? void 0 : E.filter((W) => W !== "id")) ?? null
58
+ ((A = W(d)) == null ? void 0 : A.filter((w) => w !== "id")) ?? null
59
59
  );
60
60
  return;
61
61
  }
62
- const u = w.exec(i);
63
- if (u) {
64
- const [, t, a] = u;
65
- N.has(a) || f(
66
- t,
62
+ const f = O.exec(i);
63
+ if (f) {
64
+ const [, e, a] = f;
65
+ C.has(a) || l(
66
+ e,
67
67
  decodeURIComponent(a),
68
68
  6e3,
69
- s === "DELETE" ? null : m(n)
69
+ s === "DELETE" ? null : W(n)
70
70
  );
71
71
  return;
72
72
  }
73
- const c = $(i), T = S.exec(i) ?? y.exec(i);
74
- if (T && f(T[1], decodeURIComponent(T[2]), 6e3, c), n && typeof n == "object" && !Array.isArray(n)) {
75
- const t = n;
76
- typeof t.collection == "string" && t.item != null && f(t.collection, t.item, 6e3, c), typeof t.parent_collection == "string" && t.parent_id != null && f(t.parent_collection, t.parent_id, 6e3, c);
73
+ const c = $(i), T = y.exec(i) ?? N.exec(i);
74
+ if (T && l(T[1], decodeURIComponent(T[2]), 6e3, c), n && typeof n == "object" && !Array.isArray(n)) {
75
+ const e = n;
76
+ typeof e.collection == "string" && e.item != null && l(e.collection, e.item, 6e3, c), typeof e.parent_collection == "string" && e.parent_id != null && l(e.parent_collection, e.parent_id, 6e3, c);
77
77
  }
78
78
  }
79
+ const E = /* @__PURE__ */ new Set();
80
+ function L(t) {
81
+ return E.add(t), () => {
82
+ E.delete(t);
83
+ };
84
+ }
85
+ function g(t, r, n) {
86
+ if (E.size === 0 || !n) return;
87
+ const o = (r ?? "GET").toUpperCase();
88
+ if (o !== "GET")
89
+ for (const s of [...E])
90
+ try {
91
+ s({ phase: t, method: o, path: n });
92
+ } catch {
93
+ }
94
+ }
79
95
  export {
80
- M as isOwnWrite,
81
- x as isRehearsalCommand,
82
- f as noteOwnWrite,
83
- z as noteOwnWriteFromCommand
96
+ g as announceWriteCommand,
97
+ z as isOwnWrite,
98
+ M as isRehearsalCommand,
99
+ l as noteOwnWrite,
100
+ x as noteOwnWriteFromCommand,
101
+ L as onWriteCommand
84
102
  };
@@ -0,0 +1,94 @@
1
+ import { useQueries as M, useQuery as k } from "@tanstack/react-query";
2
+ import { useNivaroClient as v } from "../context.js";
3
+ import { post as B } from "./commands.js";
4
+ import { pickerOptionsMeta as S } from "./live-pickers.js";
5
+ import { liveQueryMeta as T } from "./live-queries.js";
6
+ const q = 30, h = 200, O = 5 * 6e4, m = /* @__PURE__ */ new Map(), y = /* @__PURE__ */ new Map();
7
+ function A(e) {
8
+ return y.get(e);
9
+ }
10
+ function g(e, r = Date.now()) {
11
+ const s = m.get(e);
12
+ return s !== void 0 && s > r;
13
+ }
14
+ function N(e, r = q) {
15
+ const s = /* @__PURE__ */ new Map(), p = async (t) => {
16
+ var u, i, d;
17
+ const o = s.get(t);
18
+ if (s.delete(t), !o) return;
19
+ const n = [...o.ids], f = {};
20
+ try {
21
+ for (let a = 0; a < n.length; a += h) {
22
+ const c = await e(t, n.slice(a, a + h));
23
+ if (Object.assign(f, c.data ?? {}), ((u = c.meta) == null ? void 0 : u.rules) === 0 ? m.set(t, Date.now() + O) : m.delete(t), Array.isArray((i = c.meta) == null ? void 0 : i.watch) && y.set(t, c.meta.watch), ((d = c.meta) == null ? void 0 : d.rules) === 0) break;
24
+ }
25
+ } catch {
26
+ }
27
+ for (const a of o.waiters) a(f);
28
+ };
29
+ return {
30
+ load(t, o) {
31
+ if (o.length === 0 || g(t)) return Promise.resolve({});
32
+ let n = s.get(t);
33
+ n || (n = { ids: /* @__PURE__ */ new Set(), waiters: [] }, s.set(t, n), setTimeout(() => void p(t), r));
34
+ for (const u of o) n.ids.add(u);
35
+ const f = n;
36
+ return new Promise((u) => {
37
+ f.waiters.push((i) => {
38
+ const d = {};
39
+ for (const a of o) i[a] && (d[a] = i[a]);
40
+ u(d);
41
+ });
42
+ });
43
+ }
44
+ };
45
+ }
46
+ const w = /* @__PURE__ */ new WeakMap();
47
+ function b() {
48
+ const e = v();
49
+ let r = w.get(e);
50
+ return r || (r = N(
51
+ (s, p) => e.request(B("/picker-badges", { collection: s, ids: p }))
52
+ ), w.set(e, r)), r;
53
+ }
54
+ const _ = {};
55
+ function W(e, r, s = !0) {
56
+ const p = b(), t = [...new Set(r.map(String))], o = s && !!e && t.length > 0 && !g(e), n = S(e), f = M({
57
+ queries: (o ? t : []).map((i) => ({
58
+ queryKey: ["picker-badges-opt", e, i],
59
+ queryFn: () => p.load(e, [i]).then((d) => d[i] ?? []),
60
+ staleTime: 3e4,
61
+ meta: n
62
+ }))
63
+ });
64
+ if (!o) return _;
65
+ const u = {};
66
+ return f.forEach((i, d) => {
67
+ var a;
68
+ (a = i.data) != null && a.length && (u[t[d]] = i.data);
69
+ }), u;
70
+ }
71
+ function $(e, r, s = !0) {
72
+ const p = b(), t = r == null || r === "" ? "" : String(r), o = s && !!e && t !== "" && !g(e), n = e ? A(e) : void 0, { data: f } = k({
73
+ queryKey: ["picker-badges", e, t],
74
+ queryFn: () => p.load(e, [t]),
75
+ enabled: o,
76
+ staleTime: 3e4,
77
+ meta: e ? T({
78
+ record: { collection: e, id: t },
79
+ ...n ? { fields: n.filter((u) => !u.startsWith("$")) } : {},
80
+ aspects: ["$state", "$picker"]
81
+ }) : void 0
82
+ });
83
+ return (f == null ? void 0 : f[t]) ?? [];
84
+ }
85
+ export {
86
+ q as BATCH_MS,
87
+ h as MAX_IDS,
88
+ O as NONE_TTL_MS,
89
+ A as badgeWatchFor,
90
+ N as createBadgeBatcher,
91
+ g as knownNoBadges,
92
+ W as useOptionBadges,
93
+ $ as useRecordBadges
94
+ };
@@ -1,131 +1,178 @@
1
- import { useQuery as $ } from "@tanstack/react-query";
2
- import { useState as d, useEffect as f, useRef as T, useCallback as w, useContext as x } from "react";
3
- import { ItemEditAuthContext as E, useOptionalNivaroClient as N } from "../context.js";
4
- import { get as A } from "./commands.js";
5
- import { useLiveEvent as m } from "./live.js";
6
- import { useOptionalRealtime as S } from "./realtime.js";
7
- const P = 7e3, R = 4e3;
8
- function h(e, t, n, s) {
9
- const r = t.user;
10
- if (!(r != null && r.id)) return e;
11
- const o = String(r.id).toUpperCase();
12
- if (s && o === s.toUpperCase()) return e;
13
- const a = new Map(e);
14
- return t.state === "stop" ? a.delete(o) : a.set(o, { name: String(r.name || "Someone"), until: n + P }), a;
1
+ import { useQuery as N } from "@tanstack/react-query";
2
+ import { useEffect as a, useState as d, useRef as g, useCallback as S, useContext as E } from "react";
3
+ import { ItemEditAuthContext as _, useOptionalNivaroClient as P } from "../context.js";
4
+ import { get as R } from "./commands.js";
5
+ import { useLiveEvent as h } from "./live.js";
6
+ import { useOptionalRealtime as y } from "./realtime.js";
7
+ const x = 7e3, A = 4e3, D = 6e3;
8
+ function T(e, r, n, s) {
9
+ const t = r.user;
10
+ if (!(t != null && t.id)) return e;
11
+ const i = String(t.id).toUpperCase();
12
+ if (s && i === s.toUpperCase()) return e;
13
+ const u = typeof r.field == "string" && r.field ? r.field : null, o = u ? `${i}|${u}` : i, c = new Map(e);
14
+ return r.state === "stop" ? c.delete(o) : c.set(o, {
15
+ name: String(t.name || "Someone"),
16
+ until: n + x,
17
+ ...u ? { field: u } : {}
18
+ }), c;
15
19
  }
16
- function b(e, t) {
20
+ function L(e, r) {
17
21
  let n = !1;
18
22
  const s = new Map(e);
19
- for (const [r, o] of e)
20
- o.until <= t && (s.delete(r), n = !0);
23
+ for (const [t, i] of e)
24
+ i.until <= r && (s.delete(t), n = !0);
21
25
  return n ? s : e;
22
26
  }
23
- function y(e) {
24
- return [...e.values()].map((t) => t.name);
27
+ function m(e) {
28
+ return [...new Set([...e.values()].map((r) => r.name))];
25
29
  }
26
30
  function O(e) {
31
+ const r = /* @__PURE__ */ new Map();
32
+ for (const n of e.values()) {
33
+ const s = n.field ?? "", t = r.get(s) ?? { field: n.field ?? null, names: [] };
34
+ t.names.includes(n.name) || t.names.push(n.name), r.set(s, t);
35
+ }
36
+ return [...r.values()].sort(
37
+ (n, s) => n.field === s.field ? 0 : n.field == null ? -1 : s.field == null ? 1 : n.field < s.field ? -1 : 1
38
+ );
39
+ }
40
+ function k(e) {
27
41
  if (e.length === 0) return null;
28
42
  if (e.length === 1) return e[0];
29
43
  if (e.length === 2) return `${e[0]} and ${e[1]}`;
30
- const t = e.length - 2;
31
- return `${e[0]}, ${e[1]} and ${t} other${t === 1 ? "" : "s"}`;
44
+ const r = e.length - 2;
45
+ return `${e[0]}, ${e[1]} and ${r} other${r === 1 ? "" : "s"}`;
32
46
  }
33
- function F(e, t) {
34
- const n = O(e);
35
- return n ? `${n} ${e.length === 1 ? "is" : "are"} ${t}` : null;
47
+ function Y(e, r) {
48
+ const n = k(e);
49
+ return n ? `${n} ${e.length === 1 ? "is" : "are"} ${r}` : null;
36
50
  }
37
51
  function v() {
38
- const { userId: e } = x(E), t = N(), { data: n } = $({
52
+ const { userId: e } = E(_), r = P(), { data: n } = N({
39
53
  queryKey: ["nvr-my-user-id"],
40
- queryFn: () => t.request(A("/users/me")).then((s) => {
41
- var r;
42
- return (r = s.data) != null && r.id ? String(s.data.id) : null;
54
+ queryFn: () => r.request(R("/users/me")).then((s) => {
55
+ var t;
56
+ return (t = s.data) != null && t.id ? String(s.data.id) : null;
43
57
  }),
44
- enabled: !e && !!t,
58
+ enabled: !e && !!r,
45
59
  staleTime: Number.POSITIVE_INFINITY,
46
60
  retry: !1
47
61
  });
48
62
  return e || n || null;
49
63
  }
50
- function I(e, t) {
51
- f(() => {
64
+ function I(e, r) {
65
+ a(() => {
52
66
  if (e.size === 0) return;
53
- const n = setInterval(() => t((s) => b(s, Date.now())), 1e3);
67
+ const n = setInterval(() => r((s) => L(s, Date.now())), 1e3);
54
68
  return () => clearInterval(n);
55
- }, [e.size, t]);
69
+ }, [e.size, r]);
70
+ }
71
+ function j(e, r, n, s = {}) {
72
+ const t = p(e, r, n);
73
+ if (s.field === void 0) return m(t);
74
+ const i = new Map([...t].filter(([, u]) => (u.field ?? null) === s.field));
75
+ return m(i);
56
76
  }
57
- function G(e, t, n) {
58
- const s = v(), [r, o] = d(() => /* @__PURE__ */ new Map()), a = t == null ? "" : String(t);
59
- return f(() => {
60
- o(/* @__PURE__ */ new Map());
61
- }, [e, a, n]), m(
77
+ function H(e, r) {
78
+ return O(p(e, r, "note"));
79
+ }
80
+ function p(e, r, n) {
81
+ const s = v(), [t, i] = d(() => /* @__PURE__ */ new Map()), u = r == null ? "" : String(r);
82
+ return a(() => {
83
+ i(/* @__PURE__ */ new Map());
84
+ }, [e, u, n]), h(
62
85
  "record:signal",
63
- (u) => {
64
- (u == null ? void 0 : u.kind) === n && o((l) => h(l, u, Date.now(), s));
86
+ (o) => {
87
+ (o == null ? void 0 : o.kind) === n && i((c) => T(c, o, Date.now(), s));
65
88
  },
66
89
  {
67
- enabled: !!e && !!a,
90
+ enabled: !!e && !!u,
68
91
  includeOwn: !0,
69
- match: (u) => (u == null ? void 0 : u.collection) === e && String(u == null ? void 0 : u.item) === a
92
+ match: (o) => (o == null ? void 0 : o.collection) === e && String(o == null ? void 0 : o.item) === u
70
93
  }
71
- ), I(r, o), y(r);
94
+ ), I(t, i), t;
72
95
  }
73
- function U(e, t, n) {
74
- const s = S(), r = t == null ? "" : String(t);
75
- return w(
76
- (o) => {
77
- if (!e || !r || r === "new") return;
78
- const a = { collection: e, item: r, kind: n, state: o };
79
- s == null || s.emit("record:signal", a), typeof window < "u" && window.dispatchEvent(new CustomEvent("nvr:record-signal-out", { detail: a }));
96
+ function M(e, r, n, s) {
97
+ const t = y(), i = r == null ? "" : String(r);
98
+ return S(
99
+ (u) => {
100
+ if (!e || !i || i === "new") return;
101
+ const o = { collection: e, item: i, kind: n, state: u, ...s ? { field: s } : {} };
102
+ t == null || t.emit("record:signal", o), typeof window < "u" && window.dispatchEvent(new CustomEvent("nvr:record-signal-out", { detail: o }));
103
+ },
104
+ [t, e, i, n, s]
105
+ );
106
+ }
107
+ const U = 2500;
108
+ function K(e, r, n, s) {
109
+ const t = M(e, r, "note", s), i = g(0), u = g(null);
110
+ a(() => {
111
+ if (u.current && clearTimeout(u.current), u.current = null, !n.trim()) {
112
+ i.current && t("stop"), i.current = 0;
113
+ return;
114
+ }
115
+ const o = Date.now();
116
+ o - i.current >= U && (i.current = o, t("start")), u.current = setTimeout(() => {
117
+ u.current = null, i.current && t("stop"), i.current = 0;
118
+ }, D);
119
+ }, [n, t]), a(
120
+ () => () => {
121
+ u.current && clearTimeout(u.current), t("stop");
80
122
  },
81
- [s, e, r, n]
123
+ [t]
82
124
  );
83
125
  }
84
- function V(e, t, n, s) {
85
- const r = U(e, t, n);
86
- f(() => {
126
+ function Q(e, r, n, s) {
127
+ const t = M(e, r, n);
128
+ a(() => {
87
129
  if (!s) return;
88
- r("start");
89
- const o = setInterval(() => r("start"), R);
130
+ t("start");
131
+ const i = setInterval(() => t("start"), A);
90
132
  return () => {
91
- clearInterval(o), r("stop");
133
+ clearInterval(i), t("stop");
92
134
  };
93
- }, [s, r]);
135
+ }, [s, t]);
94
136
  }
95
- function j(e, t) {
96
- const n = S(), s = v(), r = t || s, [o, a] = d([]), [u, l] = d(() => /* @__PURE__ */ new Map()), g = T(0);
97
- f(() => {
98
- if (a([]), l(/* @__PURE__ */ new Map()), !(!n || !e))
137
+ function W(e, r) {
138
+ const n = y(), s = v(), t = r || s, [i, u] = d([]), [o, c] = d(() => /* @__PURE__ */ new Map()), w = g(0);
139
+ a(() => {
140
+ if (u([]), c(/* @__PURE__ */ new Map()), !(!n || !e))
99
141
  return n.emit("ops:join", { topic: e }), () => n.emit("ops:leave", { topic: e });
100
- }, [n, e]), m(
142
+ }, [n, e]), h(
101
143
  "ops:changed",
102
- (i) => {
103
- var c;
104
- Array.isArray(i == null ? void 0 : i.viewers) && a(i.viewers), ((c = i == null ? void 0 : i.signal) == null ? void 0 : c.kind) === "reply" && l((M) => h(M, i.signal, Date.now(), r));
144
+ (l) => {
145
+ var f;
146
+ Array.isArray(l == null ? void 0 : l.viewers) && u(l.viewers), ((f = l == null ? void 0 : l.signal) == null ? void 0 : f.kind) === "reply" && c((C) => T(C, l.signal, Date.now(), t));
105
147
  },
106
- { enabled: !!n && !!e, includeOwn: !0, match: (i) => (i == null ? void 0 : i.topic) === e }
107
- ), I(u, l);
108
- const C = w(
109
- (i) => {
148
+ { enabled: !!n && !!e, includeOwn: !0, match: (l) => (l == null ? void 0 : l.topic) === e }
149
+ ), I(o, c);
150
+ const $ = S(
151
+ (l) => {
110
152
  if (!n || !e) return;
111
- const c = Date.now();
112
- i && c - g.current < 2500 || (g.current = i ? c : 0, n.emit("ops:signal", { topic: e, kind: "reply", state: i ? "start" : "stop" }));
153
+ const f = Date.now();
154
+ l && f - w.current < 2500 || (w.current = l ? f : 0, n.emit("ops:signal", { topic: e, kind: "reply", state: l ? "start" : "stop" }));
113
155
  },
114
156
  [n, e]
115
157
  );
116
- return { viewers: o.filter((i) => !r || String(i.id).toUpperCase() !== r.toUpperCase()), replying: y(u), signalReplying: C };
158
+ return { viewers: i.filter((l) => !t || String(l.id).toUpperCase() !== t.toUpperCase()), replying: m(o), signalReplying: $ };
117
159
  }
118
160
  export {
119
- R as SIGNAL_BEAT_MS,
120
- P as SIGNAL_TTL_MS,
121
- h as applySignal,
122
- b as expirePeers,
123
- y as peerNames,
124
- F as signalSentence,
161
+ A as SIGNAL_BEAT_MS,
162
+ U as SIGNAL_THROTTLE_MS,
163
+ x as SIGNAL_TTL_MS,
164
+ D as TYPING_IDLE_MS,
165
+ T as applySignal,
166
+ L as expirePeers,
167
+ m as peerNames,
168
+ Y as signalSentence,
169
+ O as typistsByThread,
170
+ K as useDraftTypingSignal,
125
171
  v as useMyUserId,
126
- G as useRecordSignalPeers,
127
- U as useRecordSignalSender,
128
- V as useRecordSignalWhile,
129
- j as useTopicPresence,
130
- O as whoText
172
+ H as useNoteTypists,
173
+ j as useRecordSignalPeers,
174
+ M as useRecordSignalSender,
175
+ Q as useRecordSignalWhile,
176
+ W as useTopicPresence,
177
+ k as whoText
131
178
  };