@protobase/ui 0.121.11 → 0.121.12

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 (302) hide show
  1. package/dist/account/messages.d.ts +2 -2
  2. package/dist/app/app.js +3 -2
  3. package/dist/app/change-confirm/messages.d.ts +2 -2
  4. package/dist/app/charts/messages.d.ts +2 -2
  5. package/dist/app/confirm-sign-in-messages.d.ts +2 -2
  6. package/dist/app/conversation/message-composer.d.ts +5 -1
  7. package/dist/app/conversation/message-composer.js +10 -3
  8. package/dist/app/conversation-page/conversation-header.js +1 -1
  9. package/dist/app/conversation-page/conversation-message.js +1 -1
  10. package/dist/app/conversation-page/conversation-messages.js +1 -1
  11. package/dist/app/conversation-page/conversation-page.d.ts +5 -4
  12. package/dist/app/conversation-page/conversation-page.js +22 -6
  13. package/dist/app/conversation-page/message-editor.js +1 -1
  14. package/dist/app/conversation-page/message-ops.d.ts +3 -1
  15. package/dist/app/conversation-page/message-ops.js +7 -1
  16. package/dist/app/conversation-page/messages.d.ts +2 -2
  17. package/dist/app/conversation-page/reply-labels.js +1 -1
  18. package/dist/app/conversation-page/thread-panel.js +1 -1
  19. package/dist/app/conversation-page/use-message-writes.js +1 -1
  20. package/dist/app/create/messages.d.ts +2 -2
  21. package/dist/app/custom-section.d.ts +1 -1
  22. package/dist/app/delete/messages.d.ts +2 -2
  23. package/dist/app/displays/list-cards.d.ts +1 -1
  24. package/dist/app/displays/messages.d.ts +2 -2
  25. package/dist/app/export/messages.d.ts +2 -2
  26. package/dist/app/field-types/widget-part.d.ts +1 -1
  27. package/dist/app/field-types/workflow/definition.d.ts +1 -1
  28. package/dist/app/field-types/workflow/messages.d.ts +2 -2
  29. package/dist/app/field-types/workflow-page/messages.d.ts +2 -2
  30. package/dist/app/file-viewers/messages.d.ts +2 -2
  31. package/dist/app/focus/messages.d.ts +2 -2
  32. package/dist/app/hand-order/messages.d.ts +2 -2
  33. package/dist/app/history/messages.d.ts +2 -2
  34. package/dist/app/import/messages.d.ts +2 -2
  35. package/dist/app/list-messages.d.ts +2 -2
  36. package/dist/app/messages.d.ts +2 -2
  37. package/dist/app/meta-gate-messages.d.ts +2 -2
  38. package/dist/app/new-version/messages.d.ts +2 -2
  39. package/dist/app/pages/custom-boundary.d.ts +1 -1
  40. package/dist/app/pages/custom-chosen.d.ts +1 -1
  41. package/dist/app/pages/messages.d.ts +2 -2
  42. package/dist/app/record-messages.d.ts +2 -2
  43. package/dist/app/record-row/messages.d.ts +2 -2
  44. package/dist/app/related-cards/messages.d.ts +2 -2
  45. package/dist/app/saved/messages.d.ts +2 -2
  46. package/dist/app/saved/saved-list.d.ts +1 -1
  47. package/dist/app/saved/use-favorite.d.ts +1 -1
  48. package/dist/app/searches/messages.d.ts +2 -2
  49. package/dist/app/searches/use-save-search.d.ts +1 -1
  50. package/dist/app/use-nav-recent.d.ts +2 -2
  51. package/dist/app/use-nav-recent.js +5 -4
  52. package/dist/app-shell/messages.d.ts +2 -2
  53. package/dist/app-shell/nav.d.ts +5 -3
  54. package/dist/app-shell/record-marks.d.ts +1 -1
  55. package/dist/app-shell/record-marks.js +5 -3
  56. package/dist/app-shell/sidebar-records.d.ts +1 -1
  57. package/dist/app-shell/sidebar-records.js +6 -1
  58. package/dist/assistant-dock/messages.d.ts +2 -2
  59. package/dist/auth/messages.d.ts +2 -2
  60. package/dist/calls/messages.d.ts +2 -2
  61. package/dist/chat/composer.d.ts +3 -1
  62. package/dist/chat/composer.js +6 -2
  63. package/dist/chat/messages.d.ts +2 -2
  64. package/dist/compact-table/messages.d.ts +2 -2
  65. package/dist/data/api-provider.d.ts +33 -0
  66. package/dist/data/meta-data.d.ts +4 -0
  67. package/dist/data/use-live-updates.d.ts +5 -2
  68. package/dist/data/use-live-updates.js +25 -3
  69. package/dist/data/use-meta.js +1 -0
  70. package/dist/data-grid/messages.d.ts +2 -2
  71. package/dist/filter-panel/messages.d.ts +2 -2
  72. package/dist/index.d.ts +5 -1
  73. package/dist/index.js +5 -1
  74. package/dist/invitations/messages.d.ts +2 -2
  75. package/dist/locale/en.js +7 -2
  76. package/dist/locale/en.json.d.ts +5 -0
  77. package/dist/locale/messages.d.ts +10 -0
  78. package/dist/locale/nl.js +7 -2
  79. package/dist/locale/texts-gate.d.ts +1 -1
  80. package/dist/notifications/bell/messages.d.ts +2 -2
  81. package/dist/organizations/messages.d.ts +2 -2
  82. package/dist/package.js +1 -1
  83. package/dist/plugins/before-sign-in.d.ts +1 -1
  84. package/dist/plugins/plugin-api.exports.js +5 -1
  85. package/dist/primitives/messages.d.ts +2 -2
  86. package/dist/record-view/messages.d.ts +2 -2
  87. package/dist/relay/count-unread.d.ts +12 -0
  88. package/dist/relay/count-unread.js +34 -0
  89. package/dist/relay/relay-context.d.ts +17 -0
  90. package/dist/relay/relay-context.js +23 -0
  91. package/dist/relay/relay-provider.d.ts +11 -0
  92. package/dist/relay/relay-provider.js +58 -0
  93. package/dist/relay/relay-store.d.ts +31 -0
  94. package/dist/relay/relay-store.js +77 -0
  95. package/dist/relay/typing-line.d.ts +11 -0
  96. package/dist/relay/typing-line.js +30 -0
  97. package/dist/relay/typing.d.ts +37 -0
  98. package/dist/relay/typing.js +78 -0
  99. package/dist/relay/unread.d.ts +30 -0
  100. package/dist/relay/unread.js +35 -0
  101. package/dist/relay/use-relay-marks.d.ts +11 -0
  102. package/dist/relay/use-relay-marks.js +53 -0
  103. package/dist/relay/use-typing-sender.d.ts +11 -0
  104. package/dist/relay/use-typing-sender.js +32 -0
  105. package/dist/relay/use-unread-counts.d.ts +9 -0
  106. package/dist/relay/use-unread-counts.js +61 -0
  107. package/dist/relay/use-view-channel.d.ts +7 -0
  108. package/dist/relay/use-view-channel.js +21 -0
  109. package/dist/shell/assets/{account-page-Cz2-SP3Z.js → account-page-BsAc4o17.js} +2 -2
  110. package/dist/shell/assets/app-Bb88M0VJ.js +36 -0
  111. package/dist/shell/assets/{assistant-shell-CeW3U4tB.js → assistant-shell-CdVAnpMe.js} +2 -2
  112. package/dist/shell/assets/board-display-DKT7398I.js +2 -0
  113. package/dist/shell/assets/calendar-display-0c2dGTmG.js +2 -0
  114. package/dist/shell/assets/{call-rings-DwSrOHCr.js → call-rings-BV5na0xp.js} +2 -2
  115. package/dist/shell/assets/{calls-D1l4an28.js → calls-n9IoOXzL.js} +2 -2
  116. package/dist/shell/assets/{circle-alert-BEHXqTnA.js → circle-alert-kISSXwIV.js} +2 -2
  117. package/dist/shell/assets/{composed-page-CzszGryH.js → composed-page-hn7I0Ulk.js} +2 -2
  118. package/dist/shell/assets/{composer-section-v7aZuaJs.js → composer-section-Cb1kOpwt.js} +2 -2
  119. package/dist/shell/assets/{connect-route-B68buTBD.js → connect-route-l21XyxhS.js} +2 -2
  120. package/dist/shell/assets/{copy-field-CpG80Fod.js → copy-field-D22CFeg3.js} +2 -2
  121. package/dist/shell/assets/create-route-CSe9DhbY.js +2 -0
  122. package/dist/shell/assets/{custom-step-container-field-CooxBIkH.js → custom-step-container-field-C5l4j0FI.js} +4 -4
  123. package/dist/shell/assets/embedded-list-DjvOszEj.js +3 -0
  124. package/dist/shell/assets/en-DnsB2haa.js +2 -0
  125. package/dist/shell/assets/{export-dialog-CYGeeQBj.js → export-dialog-Bh3TSYyL.js} +2 -2
  126. package/dist/shell/assets/export-worker-DbK8hf_0.js +15 -0
  127. package/dist/shell/assets/{first-organization-page-B_TzRjNV.js → first-organization-page-BtfoRENE.js} +2 -2
  128. package/dist/shell/assets/{graph-view-DJGoThHW.js → graph-view-C4fwqz7Q.js} +2 -2
  129. package/dist/shell/assets/{group-donut-CtKQKKqq.js → group-donut-Bcnc0EaM.js} +2 -2
  130. package/dist/shell/assets/{guest-call-page-C2N1bb85.js → guest-call-page-D09z7u-V.js} +3 -3
  131. package/dist/shell/assets/{html-viewer-DHWsvJdf.js → html-viewer-BtwOBvDg.js} +2 -2
  132. package/dist/shell/assets/{import-dialog-BAmU6oMk.js → import-dialog-Dwx_yEfS.js} +2 -2
  133. package/dist/shell/assets/{import-table-dialog-C1TyvD2-.js → import-table-dialog-T3V3RoDY.js} +2 -2
  134. package/dist/shell/assets/{index-fJt7aRZ4.js → index-DvNpfiwE.js} +1 -1
  135. package/dist/shell/assets/invitations-page-X90SMPsK.js +2 -0
  136. package/dist/shell/assets/{layout-grid-CPhU6Mm7.js → layout-grid-Bp_eP5eU.js} +2 -2
  137. package/dist/shell/assets/{legend-item-DYmqDhq7.js → legend-item-CEZ-8FXv.js} +2 -2
  138. package/dist/shell/assets/list-page-BUtWO_Zd.js +4 -0
  139. package/dist/shell/assets/{maplibre-DXJkokbV.js → maplibre-Cv3xuTP_.js} +2 -2
  140. package/dist/shell/assets/{markdown-content-9-JeVEDq.js → markdown-content-jO-R6jpp.js} +2 -2
  141. package/dist/shell/assets/members-page-BZyldmfB.js +2 -0
  142. package/dist/shell/assets/{message-content-XnNocBEs.js → message-content-DJEa6jyY.js} +2 -2
  143. package/dist/shell/assets/messages-BIP4feL2.js +2 -0
  144. package/dist/shell/assets/nl-Ce2dHlet.js +2 -0
  145. package/dist/shell/assets/organization-page-CjQ7oJk4.js +2 -0
  146. package/dist/shell/assets/organizations-page-2cKqhNJh.js +2 -0
  147. package/dist/shell/assets/parse-worker-MvbeuzYJ.js +35 -0
  148. package/dist/shell/assets/{pending-invitation-row-C2tovkDY.js → pending-invitation-row-Cef2WdTI.js} +2 -2
  149. package/dist/shell/assets/{period-chart-DuLmYnEh.js → period-chart-BPq3Knz8.js} +2 -2
  150. package/dist/shell/assets/{person-row-B4SoiUz7.js → person-row-BLVor9QR.js} +2 -2
  151. package/dist/shell/assets/public-form-page-CMaHcrdf.js +2 -0
  152. package/dist/shell/assets/record-lines-jznjVtIQ.js +2 -0
  153. package/dist/shell/assets/{record-map-CUyHGUuT.js → record-map-9KEjeN_F.js} +2 -2
  154. package/dist/shell/assets/{record-opens-DtAuS5Iw.js → record-opens-CQLXpqJS.js} +2 -2
  155. package/dist/shell/assets/record-page-JFlxtSyg.js +3 -0
  156. package/dist/shell/assets/{record-preview-CF37imVo.js → record-preview-CUs7j-lh.js} +2 -2
  157. package/dist/shell/assets/{records-map-CLUkYUGA.js → records-map-CLF98-H0.js} +2 -2
  158. package/dist/shell/assets/render-node-DoB1k2WS.js +3 -0
  159. package/dist/shell/assets/reorder-button-Cg-WKutS.js +2 -0
  160. package/dist/shell/assets/{run-trace-view-B02ogfCg.js → run-trace-view-CmujelWd.js} +2 -2
  161. package/dist/shell/assets/{runner-install-field-B7d2ZTdV.js → runner-install-field-wpoIgnks.js} +2 -2
  162. package/dist/shell/assets/{runtime-update-LXdNfKZi.js → runtime-update-BaNRaM6l.js} +2 -2
  163. package/dist/shell/assets/shared-protobase-ui-630Rm7Jd.js +1 -0
  164. package/dist/shell/assets/sheet-source-7m5PMllh.js +3 -0
  165. package/dist/shell/assets/sign-in-policy-page-GgyC3l_6.js +2 -0
  166. package/dist/shell/assets/start-block-queries-B8K1ZsVK.js +2 -0
  167. package/dist/shell/assets/step-catalog-Dktva0VF.js +2 -0
  168. package/dist/shell/assets/{step-panel-C6qUOSA3.js → step-panel-CjUWMleA.js} +2 -2
  169. package/dist/shell/assets/timeline-display-CCPZ8VKv.js +2 -0
  170. package/dist/shell/assets/{trash-BiidFj0N.js → trash-BfIEK322.js} +2 -2
  171. package/dist/shell/assets/{update-set-B0qCO072.js → update-set-Drag3hOc.js} +2 -2
  172. package/dist/shell/assets/use-calendar-move-fM4kqYZF.js +2 -0
  173. package/dist/shell/assets/{use-display-rows-BpKLVhjZ.js → use-display-rows-CEB1AStC.js} +2 -2
  174. package/dist/shell/assets/use-my-invitations-DxoZihem.js +2 -0
  175. package/dist/shell/assets/{use-paged-search-BUf2evnc.js → use-paged-search-tHTP8FRX.js} +2 -2
  176. package/dist/shell/assets/{use-run-trace-D3CBWHfm.js → use-run-trace-b8SpFDRU.js} +2 -2
  177. package/dist/shell/assets/{use-workflow-page-DjHS4PFJ.js → use-workflow-page-oeKIRs_g.js} +2 -2
  178. package/dist/shell/assets/{use-workflow-types-D0XJQUAl.js → use-workflow-types-D1TLbN3E.js} +2 -2
  179. package/dist/shell/assets/{workflow-canvas-D1yNhbc_.js → workflow-canvas-CJQ0Ll0M.js} +4 -4
  180. package/dist/shell/assets/{workflow-field-BJb4Ns2G.js → workflow-field-CpGs8ZXh.js} +3 -3
  181. package/dist/shell/assets/{workflow-graph-editor-DzpB5Wg4.js → workflow-graph-editor-CLlL2jNQ.js} +2 -2
  182. package/dist/shell/assets/{workflow-run-field-BrkKGYZ3.js → workflow-run-field-R43RqM3Z.js} +3 -3
  183. package/dist/shell/assets/workflow-status-field-BaytFzWg.js +2 -0
  184. package/dist/shell/assets/workflow-workbench-DYClQZZ1.js +4 -0
  185. package/dist/shell/index.html +3 -3
  186. package/dist/shell/protobase.shell.json +2 -2
  187. package/dist/shell/protobase.sw.js +2 -2
  188. package/dist/shell-source-maps/assets/{account-page-Cz2-SP3Z.js.map → account-page-BsAc4o17.js.map} +1 -1
  189. package/dist/shell-source-maps/assets/app-Bb88M0VJ.js.map +1 -0
  190. package/dist/shell-source-maps/assets/{assistant-shell-CeW3U4tB.js.map → assistant-shell-CdVAnpMe.js.map} +1 -1
  191. package/dist/shell-source-maps/assets/{board-display-tgOCC0v0.js.map → board-display-DKT7398I.js.map} +1 -1
  192. package/dist/shell-source-maps/assets/{calendar-display-DRWz8QYh.js.map → calendar-display-0c2dGTmG.js.map} +1 -1
  193. package/dist/shell-source-maps/assets/{call-rings-DwSrOHCr.js.map → call-rings-BV5na0xp.js.map} +1 -1
  194. package/dist/shell-source-maps/assets/{calls-D1l4an28.js.map → calls-n9IoOXzL.js.map} +1 -1
  195. package/dist/shell-source-maps/assets/{circle-alert-BEHXqTnA.js.map → circle-alert-kISSXwIV.js.map} +1 -1
  196. package/dist/shell-source-maps/assets/{composed-page-CzszGryH.js.map → composed-page-hn7I0Ulk.js.map} +1 -1
  197. package/dist/shell-source-maps/assets/{composer-section-v7aZuaJs.js.map → composer-section-Cb1kOpwt.js.map} +1 -1
  198. package/dist/shell-source-maps/assets/{connect-route-B68buTBD.js.map → connect-route-l21XyxhS.js.map} +1 -1
  199. package/dist/shell-source-maps/assets/{copy-field-CpG80Fod.js.map → copy-field-D22CFeg3.js.map} +1 -1
  200. package/dist/shell-source-maps/assets/{create-route-BMWFJF8g.js.map → create-route-CSe9DhbY.js.map} +1 -1
  201. package/dist/shell-source-maps/assets/{custom-step-container-field-CooxBIkH.js.map → custom-step-container-field-C5l4j0FI.js.map} +1 -1
  202. package/dist/shell-source-maps/assets/{embedded-list-nfw7Gvsq.js.map → embedded-list-DjvOszEj.js.map} +1 -1
  203. package/dist/shell-source-maps/assets/en-DnsB2haa.js.map +1 -0
  204. package/dist/shell-source-maps/assets/{export-dialog-CYGeeQBj.js.map → export-dialog-Bh3TSYyL.js.map} +1 -1
  205. package/dist/shell-source-maps/assets/export-worker-DbK8hf_0.js.map +1 -0
  206. package/dist/shell-source-maps/assets/{first-organization-page-B_TzRjNV.js.map → first-organization-page-BtfoRENE.js.map} +1 -1
  207. package/dist/shell-source-maps/assets/{graph-view-DJGoThHW.js.map → graph-view-C4fwqz7Q.js.map} +1 -1
  208. package/dist/shell-source-maps/assets/{group-donut-CtKQKKqq.js.map → group-donut-Bcnc0EaM.js.map} +1 -1
  209. package/dist/shell-source-maps/assets/{guest-call-page-C2N1bb85.js.map → guest-call-page-D09z7u-V.js.map} +1 -1
  210. package/dist/shell-source-maps/assets/{html-viewer-DHWsvJdf.js.map → html-viewer-BtwOBvDg.js.map} +1 -1
  211. package/dist/shell-source-maps/assets/{import-dialog-BAmU6oMk.js.map → import-dialog-Dwx_yEfS.js.map} +1 -1
  212. package/dist/shell-source-maps/assets/{import-table-dialog-C1TyvD2-.js.map → import-table-dialog-T3V3RoDY.js.map} +1 -1
  213. package/dist/shell-source-maps/assets/{invitations-page-D_Z4B5Uu.js.map → invitations-page-X90SMPsK.js.map} +1 -1
  214. package/dist/shell-source-maps/assets/{layout-grid-CPhU6Mm7.js.map → layout-grid-Bp_eP5eU.js.map} +1 -1
  215. package/dist/shell-source-maps/assets/{legend-item-DYmqDhq7.js.map → legend-item-CEZ-8FXv.js.map} +1 -1
  216. package/dist/shell-source-maps/assets/{list-page-Cl4AAwTy.js.map → list-page-BUtWO_Zd.js.map} +1 -1
  217. package/dist/shell-source-maps/assets/{maplibre-DXJkokbV.js.map → maplibre-Cv3xuTP_.js.map} +1 -1
  218. package/dist/shell-source-maps/assets/{markdown-content-9-JeVEDq.js.map → markdown-content-jO-R6jpp.js.map} +1 -1
  219. package/dist/shell-source-maps/assets/{members-page-BIYD2hUu.js.map → members-page-BZyldmfB.js.map} +1 -1
  220. package/dist/shell-source-maps/assets/{message-content-XnNocBEs.js.map → message-content-DJEa6jyY.js.map} +1 -1
  221. package/dist/shell-source-maps/assets/{messages-DhhNH_o2.js.map → messages-BIP4feL2.js.map} +1 -1
  222. package/dist/shell-source-maps/assets/nl-Ce2dHlet.js.map +1 -0
  223. package/dist/shell-source-maps/assets/{organization-page-C7rfPxxc.js.map → organization-page-CjQ7oJk4.js.map} +1 -1
  224. package/dist/shell-source-maps/assets/{organizations-page-B5wqljdT.js.map → organizations-page-2cKqhNJh.js.map} +1 -1
  225. package/dist/shell-source-maps/assets/parse-worker-MvbeuzYJ.js.map +1 -0
  226. package/dist/shell-source-maps/assets/{pending-invitation-row-C2tovkDY.js.map → pending-invitation-row-Cef2WdTI.js.map} +1 -1
  227. package/dist/shell-source-maps/assets/{period-chart-DuLmYnEh.js.map → period-chart-BPq3Knz8.js.map} +1 -1
  228. package/dist/shell-source-maps/assets/{person-row-B4SoiUz7.js.map → person-row-BLVor9QR.js.map} +1 -1
  229. package/dist/shell-source-maps/assets/{public-form-page-BRHFIOvT.js.map → public-form-page-CMaHcrdf.js.map} +1 -1
  230. package/dist/shell-source-maps/assets/{record-lines-Bt1Un_65.js.map → record-lines-jznjVtIQ.js.map} +1 -1
  231. package/dist/shell-source-maps/assets/{record-map-CUyHGUuT.js.map → record-map-9KEjeN_F.js.map} +1 -1
  232. package/dist/shell-source-maps/assets/{record-opens-DtAuS5Iw.js.map → record-opens-CQLXpqJS.js.map} +1 -1
  233. package/dist/shell-source-maps/assets/record-page-JFlxtSyg.js.map +1 -0
  234. package/dist/shell-source-maps/assets/{record-preview-CF37imVo.js.map → record-preview-CUs7j-lh.js.map} +1 -1
  235. package/dist/shell-source-maps/assets/{records-map-CLUkYUGA.js.map → records-map-CLF98-H0.js.map} +1 -1
  236. package/dist/shell-source-maps/assets/render-node-DoB1k2WS.js.map +1 -0
  237. package/dist/shell-source-maps/assets/{reorder-button-BozBSEHe.js.map → reorder-button-Cg-WKutS.js.map} +1 -1
  238. package/dist/shell-source-maps/assets/{run-trace-view-B02ogfCg.js.map → run-trace-view-CmujelWd.js.map} +1 -1
  239. package/dist/shell-source-maps/assets/{runner-install-field-B7d2ZTdV.js.map → runner-install-field-wpoIgnks.js.map} +1 -1
  240. package/dist/shell-source-maps/assets/{runtime-update-LXdNfKZi.js.map → runtime-update-BaNRaM6l.js.map} +1 -1
  241. package/dist/shell-source-maps/assets/{sheet-source-G8rOez-U.js.map → sheet-source-7m5PMllh.js.map} +1 -1
  242. package/dist/shell-source-maps/assets/{sign-in-policy-page-DOTM6MOA.js.map → sign-in-policy-page-GgyC3l_6.js.map} +1 -1
  243. package/dist/shell-source-maps/assets/{start-block-queries-Dfg8kMRu.js.map → start-block-queries-B8K1ZsVK.js.map} +1 -1
  244. package/dist/shell-source-maps/assets/{step-catalog-CoBzB5jS.js.map → step-catalog-Dktva0VF.js.map} +1 -1
  245. package/dist/shell-source-maps/assets/{step-panel-C6qUOSA3.js.map → step-panel-CjUWMleA.js.map} +1 -1
  246. package/dist/shell-source-maps/assets/{timeline-display-5BAMjA9V.js.map → timeline-display-CCPZ8VKv.js.map} +1 -1
  247. package/dist/shell-source-maps/assets/{trash-BiidFj0N.js.map → trash-BfIEK322.js.map} +1 -1
  248. package/dist/shell-source-maps/assets/{update-set-B0qCO072.js.map → update-set-Drag3hOc.js.map} +1 -1
  249. package/dist/shell-source-maps/assets/{use-calendar-move-BGAc9T_n.js.map → use-calendar-move-fM4kqYZF.js.map} +1 -1
  250. package/dist/shell-source-maps/assets/{use-display-rows-BpKLVhjZ.js.map → use-display-rows-CEB1AStC.js.map} +1 -1
  251. package/dist/shell-source-maps/assets/{use-my-invitations-BQKKClDc.js.map → use-my-invitations-DxoZihem.js.map} +1 -1
  252. package/dist/shell-source-maps/assets/{use-paged-search-BUf2evnc.js.map → use-paged-search-tHTP8FRX.js.map} +1 -1
  253. package/dist/shell-source-maps/assets/{use-run-trace-D3CBWHfm.js.map → use-run-trace-b8SpFDRU.js.map} +1 -1
  254. package/dist/shell-source-maps/assets/{use-workflow-page-DjHS4PFJ.js.map → use-workflow-page-oeKIRs_g.js.map} +1 -1
  255. package/dist/shell-source-maps/assets/{use-workflow-types-D0XJQUAl.js.map → use-workflow-types-D1TLbN3E.js.map} +1 -1
  256. package/dist/shell-source-maps/assets/{workflow-canvas-D1yNhbc_.js.map → workflow-canvas-CJQ0Ll0M.js.map} +1 -1
  257. package/dist/shell-source-maps/assets/{workflow-field-BJb4Ns2G.js.map → workflow-field-CpGs8ZXh.js.map} +1 -1
  258. package/dist/shell-source-maps/assets/{workflow-graph-editor-DzpB5Wg4.js.map → workflow-graph-editor-CLlL2jNQ.js.map} +1 -1
  259. package/dist/shell-source-maps/assets/{workflow-run-field-BrkKGYZ3.js.map → workflow-run-field-R43RqM3Z.js.map} +1 -1
  260. package/dist/shell-source-maps/assets/workflow-status-field-BaytFzWg.js.map +1 -0
  261. package/dist/shell-source-maps/assets/{workflow-workbench-C-DxYJbt.js.map → workflow-workbench-DYClQZZ1.js.map} +1 -1
  262. package/dist/status/messages.d.ts +2 -2
  263. package/dist/users/messages.d.ts +2 -2
  264. package/package.json +5 -5
  265. package/dist/shell/assets/app-B3ocPAqs.js +0 -34
  266. package/dist/shell/assets/board-display-tgOCC0v0.js +0 -2
  267. package/dist/shell/assets/calendar-display-DRWz8QYh.js +0 -2
  268. package/dist/shell/assets/create-route-BMWFJF8g.js +0 -2
  269. package/dist/shell/assets/embedded-list-nfw7Gvsq.js +0 -3
  270. package/dist/shell/assets/en-0TxR0Vfb.js +0 -2
  271. package/dist/shell/assets/export-worker-AFqbgGzG.js +0 -15
  272. package/dist/shell/assets/invitations-page-D_Z4B5Uu.js +0 -2
  273. package/dist/shell/assets/list-page-Cl4AAwTy.js +0 -4
  274. package/dist/shell/assets/members-page-BIYD2hUu.js +0 -2
  275. package/dist/shell/assets/messages-DhhNH_o2.js +0 -2
  276. package/dist/shell/assets/nl-mDiTKi5y.js +0 -2
  277. package/dist/shell/assets/organization-page-C7rfPxxc.js +0 -2
  278. package/dist/shell/assets/organizations-page-B5wqljdT.js +0 -2
  279. package/dist/shell/assets/parse-worker-C5wWzRYH.js +0 -35
  280. package/dist/shell/assets/public-form-page-BRHFIOvT.js +0 -2
  281. package/dist/shell/assets/record-lines-Bt1Un_65.js +0 -2
  282. package/dist/shell/assets/record-page-DfvcIO5T.js +0 -3
  283. package/dist/shell/assets/render-node-CK68QvoX.js +0 -3
  284. package/dist/shell/assets/reorder-button-BozBSEHe.js +0 -2
  285. package/dist/shell/assets/shared-protobase-ui-B7gMFgle.js +0 -1
  286. package/dist/shell/assets/sheet-source-G8rOez-U.js +0 -3
  287. package/dist/shell/assets/sign-in-policy-page-DOTM6MOA.js +0 -2
  288. package/dist/shell/assets/start-block-queries-Dfg8kMRu.js +0 -2
  289. package/dist/shell/assets/step-catalog-CoBzB5jS.js +0 -2
  290. package/dist/shell/assets/timeline-display-5BAMjA9V.js +0 -2
  291. package/dist/shell/assets/use-calendar-move-BGAc9T_n.js +0 -2
  292. package/dist/shell/assets/use-my-invitations-BQKKClDc.js +0 -2
  293. package/dist/shell/assets/workflow-status-field-dbB3IT68.js +0 -2
  294. package/dist/shell/assets/workflow-workbench-C-DxYJbt.js +0 -4
  295. package/dist/shell-source-maps/assets/app-B3ocPAqs.js.map +0 -1
  296. package/dist/shell-source-maps/assets/en-0TxR0Vfb.js.map +0 -1
  297. package/dist/shell-source-maps/assets/export-worker-AFqbgGzG.js.map +0 -1
  298. package/dist/shell-source-maps/assets/nl-mDiTKi5y.js.map +0 -1
  299. package/dist/shell-source-maps/assets/parse-worker-C5wWzRYH.js.map +0 -1
  300. package/dist/shell-source-maps/assets/record-page-DfvcIO5T.js.map +0 -1
  301. package/dist/shell-source-maps/assets/render-node-CK68QvoX.js.map +0 -1
  302. package/dist/shell-source-maps/assets/workflow-status-field-dbB3IT68.js.map +0 -1
@@ -1,4 +1,5 @@
1
1
  import { cn } from "../lib/cn.js";
2
+ import { text } from "./messages.js";
2
3
  import { subRow } from "./sidebar-rows.js";
3
4
  import { CountBadge } from "../primitives/count-badge.js";
4
5
  import { StatusDot } from "./status-dot.js";
@@ -34,6 +35,10 @@ const RecordRows = ({ records, mode, onNavigate }) => records.map((record) => {
34
35
  textShown: "hover",
35
36
  className: "ml-1.5 shrink-0"
36
37
  }),
38
+ record.mark?.typing && /* @__PURE__ */ jsx("span", {
39
+ className: "ml-1.5 shrink-0 text-xs font-normal text-muted-foreground",
40
+ children: text("typing")
41
+ }),
37
42
  /* @__PURE__ */ jsx(CountBadge, {
38
43
  count: record.mark?.count,
39
44
  className: "ml-auto shrink-0"
@@ -42,7 +47,7 @@ const RecordRows = ({ records, mode, onNavigate }) => records.map((record) => {
42
47
  }) }, record.id);
43
48
  });
44
49
  const MarkedRows = ({ records, useMarks, ...rest }) => /* @__PURE__ */ jsx(RecordRows, {
45
- records: markRecords(records, useMarks()),
50
+ records: markRecords(records, useMarks(records)),
46
51
  ...rest
47
52
  });
48
53
  /** The rows of a sidebar group's records, marked by the group's `useMarks` hook when it has one. */
@@ -1,7 +1,7 @@
1
1
  import { MessageValue } from "../locale/messages.js";
2
2
  //#region src/assistant-dock/messages.d.ts
3
3
  export declare const text: {
4
- (id: "noAnswer" | "reconnecting" | "askQuestion" | "assistant" | "empty" | "backendNoAnswer" | "couldNotDraw" | "cannotShowLive", values?: Record<string, MessageValue>): string;
5
- rich(id: "noAnswer" | "reconnecting" | "askQuestion" | "assistant" | "empty" | "backendNoAnswer" | "couldNotDraw" | "cannotShowLive", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
4
+ (id: "reconnecting" | "askQuestion" | "assistant" | "empty" | "noAnswer" | "backendNoAnswer" | "couldNotDraw" | "cannotShowLive", values?: Record<string, MessageValue>): string;
5
+ rich(id: "reconnecting" | "askQuestion" | "assistant" | "empty" | "noAnswer" | "backendNoAnswer" | "couldNotDraw" | "cannotShowLive", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
6
6
  };
7
7
  //#endregion
@@ -1,7 +1,7 @@
1
1
  import { MessageValue } from "../locale/messages.js";
2
2
  //#region src/auth/messages.d.ts
3
3
  export declare const text: {
4
- (id: "admin" | "signIn" | "reason" | "or" | "loading" | "cannotReach" | "tryAgain" | "passwordChanged" | "noAnswer" | "code" | "backupCode" | "email" | "password" | "passwordOptional" | "signOut" | "continue" | "backToSignIn" | "useAnotherAddress" | "checkEmail" | "newCodeSent" | "sendNewCode" | "sendNewCodeIn" | "signInCodeDescription" | "signInCodeSent" | "signUpCodeDescription" | "signUpCodeSent" | "noAdminTitle" | "noAdminDescription" | "noAdminExplanation" | "copyCommand" | "firstAdminExplanation" | "firstAdminLink" | "reload" | "tooManyRequests" | "tooManyAttempts" | "resetTitle" | "resetDescription" | "sendResetLink" | "resetSent" | "linkExpiredTitle" | "linkExpiredExplanation" | "sendNewLink" | "passwordsDiffer" | "choosePassword" | "atLeast" | "useAtLeast" | "passwordTooLong" | "newPassword" | "repeatPassword" | "setPassword" | "signingInWith" | "takingYouTo" | "providerNotOffered" | "turnOnTwoFactor" | "addPasskey" | "requiredForEveryAccount" | "passkeyExplanation" | "couldNotReadAccount" | "signInTitle" | "runsOnProtobase" | "continueWith" | "signInWithPasskey" | "passkeyFor" | "emailSignInCode" | "usePassword" | "forgotPassword" | "newHere" | "haveAccount" | "createAnAccount" | "browse" | "notNow" | "detailsTitle" | "detailsDescription" | "yourName" | "codeWasRight" | "withoutPassword" | "createAccount" | "codeToConfirm" | "emailCode" | "browseWithoutAccount" | "staffTitle" | "staffUnavailable" | "signInAsPerson" | "forStaffOf" | "theirEmail" | "reasonExample" | "staffExplanation" | "totpInstruction" | "otpInstruction" | "backupInstruction" | "twoFactorTitle" | "twoFactorDescription" | "codeToFinish" | "trustBrowser" | "trustBrowserFor" | "verify" | "useAuthenticator" | "emailCodeInstead" | "useBackupCode", values?: Record<string, MessageValue>): string;
5
- rich(id: "admin" | "signIn" | "reason" | "or" | "loading" | "cannotReach" | "tryAgain" | "passwordChanged" | "noAnswer" | "code" | "backupCode" | "email" | "password" | "passwordOptional" | "signOut" | "continue" | "backToSignIn" | "useAnotherAddress" | "checkEmail" | "newCodeSent" | "sendNewCode" | "sendNewCodeIn" | "signInCodeDescription" | "signInCodeSent" | "signUpCodeDescription" | "signUpCodeSent" | "noAdminTitle" | "noAdminDescription" | "noAdminExplanation" | "copyCommand" | "firstAdminExplanation" | "firstAdminLink" | "reload" | "tooManyRequests" | "tooManyAttempts" | "resetTitle" | "resetDescription" | "sendResetLink" | "resetSent" | "linkExpiredTitle" | "linkExpiredExplanation" | "sendNewLink" | "passwordsDiffer" | "choosePassword" | "atLeast" | "useAtLeast" | "passwordTooLong" | "newPassword" | "repeatPassword" | "setPassword" | "signingInWith" | "takingYouTo" | "providerNotOffered" | "turnOnTwoFactor" | "addPasskey" | "requiredForEveryAccount" | "passkeyExplanation" | "couldNotReadAccount" | "signInTitle" | "runsOnProtobase" | "continueWith" | "signInWithPasskey" | "passkeyFor" | "emailSignInCode" | "usePassword" | "forgotPassword" | "newHere" | "haveAccount" | "createAnAccount" | "browse" | "notNow" | "detailsTitle" | "detailsDescription" | "yourName" | "codeWasRight" | "withoutPassword" | "createAccount" | "codeToConfirm" | "emailCode" | "browseWithoutAccount" | "staffTitle" | "staffUnavailable" | "signInAsPerson" | "forStaffOf" | "theirEmail" | "reasonExample" | "staffExplanation" | "totpInstruction" | "otpInstruction" | "backupInstruction" | "twoFactorTitle" | "twoFactorDescription" | "codeToFinish" | "trustBrowser" | "trustBrowserFor" | "verify" | "useAuthenticator" | "emailCodeInstead" | "useBackupCode", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
4
+ (id: "admin" | "or" | "yourName" | "continue" | "signIn" | "signOut" | "loading" | "reason" | "reload" | "noAnswer" | "tooManyRequests" | "code" | "setPassword" | "email" | "password" | "newPassword" | "verify" | "cannotReach" | "tryAgain" | "passwordChanged" | "backupCode" | "passwordOptional" | "backToSignIn" | "useAnotherAddress" | "checkEmail" | "newCodeSent" | "sendNewCode" | "sendNewCodeIn" | "signInCodeDescription" | "signInCodeSent" | "signUpCodeDescription" | "signUpCodeSent" | "noAdminTitle" | "noAdminDescription" | "noAdminExplanation" | "copyCommand" | "firstAdminExplanation" | "firstAdminLink" | "tooManyAttempts" | "resetTitle" | "resetDescription" | "sendResetLink" | "resetSent" | "linkExpiredTitle" | "linkExpiredExplanation" | "sendNewLink" | "passwordsDiffer" | "choosePassword" | "atLeast" | "useAtLeast" | "passwordTooLong" | "repeatPassword" | "signingInWith" | "takingYouTo" | "providerNotOffered" | "turnOnTwoFactor" | "addPasskey" | "requiredForEveryAccount" | "passkeyExplanation" | "couldNotReadAccount" | "signInTitle" | "runsOnProtobase" | "continueWith" | "signInWithPasskey" | "passkeyFor" | "emailSignInCode" | "usePassword" | "forgotPassword" | "newHere" | "haveAccount" | "createAnAccount" | "browse" | "notNow" | "detailsTitle" | "detailsDescription" | "codeWasRight" | "withoutPassword" | "createAccount" | "codeToConfirm" | "emailCode" | "browseWithoutAccount" | "staffTitle" | "staffUnavailable" | "signInAsPerson" | "forStaffOf" | "theirEmail" | "reasonExample" | "staffExplanation" | "totpInstruction" | "otpInstruction" | "backupInstruction" | "twoFactorTitle" | "twoFactorDescription" | "codeToFinish" | "trustBrowser" | "trustBrowserFor" | "useAuthenticator" | "emailCodeInstead" | "useBackupCode", values?: Record<string, MessageValue>): string;
5
+ rich(id: "admin" | "or" | "yourName" | "continue" | "signIn" | "signOut" | "loading" | "reason" | "reload" | "noAnswer" | "tooManyRequests" | "code" | "setPassword" | "email" | "password" | "newPassword" | "verify" | "cannotReach" | "tryAgain" | "passwordChanged" | "backupCode" | "passwordOptional" | "backToSignIn" | "useAnotherAddress" | "checkEmail" | "newCodeSent" | "sendNewCode" | "sendNewCodeIn" | "signInCodeDescription" | "signInCodeSent" | "signUpCodeDescription" | "signUpCodeSent" | "noAdminTitle" | "noAdminDescription" | "noAdminExplanation" | "copyCommand" | "firstAdminExplanation" | "firstAdminLink" | "tooManyAttempts" | "resetTitle" | "resetDescription" | "sendResetLink" | "resetSent" | "linkExpiredTitle" | "linkExpiredExplanation" | "sendNewLink" | "passwordsDiffer" | "choosePassword" | "atLeast" | "useAtLeast" | "passwordTooLong" | "repeatPassword" | "signingInWith" | "takingYouTo" | "providerNotOffered" | "turnOnTwoFactor" | "addPasskey" | "requiredForEveryAccount" | "passkeyExplanation" | "couldNotReadAccount" | "signInTitle" | "runsOnProtobase" | "continueWith" | "signInWithPasskey" | "passkeyFor" | "emailSignInCode" | "usePassword" | "forgotPassword" | "newHere" | "haveAccount" | "createAnAccount" | "browse" | "notNow" | "detailsTitle" | "detailsDescription" | "codeWasRight" | "withoutPassword" | "createAccount" | "codeToConfirm" | "emailCode" | "browseWithoutAccount" | "staffTitle" | "staffUnavailable" | "signInAsPerson" | "forStaffOf" | "theirEmail" | "reasonExample" | "staffExplanation" | "totpInstruction" | "otpInstruction" | "backupInstruction" | "twoFactorTitle" | "twoFactorDescription" | "codeToFinish" | "trustBrowser" | "trustBrowserFor" | "useAuthenticator" | "emailCodeInstead" | "useBackupCode", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
6
6
  };
7
7
  //#endregion
@@ -1,7 +1,7 @@
1
1
  import { MessageValue } from "../locale/messages.js";
2
2
  //#region src/calls/messages.d.ts
3
3
  export declare const text: {
4
- (id: "waiting" | "guests" | "join" | "ended" | "removed" | "full" | "refused" | "unavailable" | "denied" | "you" | "continue" | "yourName" | "people" | "accept" | "leave" | "decline" | "startCall" | "inProgress" | "joinCall" | "microphone" | "camera" | "shareScreen" | "stopSharing" | "muted" | "alone" | "connecting" | "reconnecting" | "callAgain" | "noMicrophone" | "noCamera" | "noDevices" | "cannotConnect" | "poorConnection" | "goodConnection" | "sharing" | "youAreSharing" | "speaking" | "preview" | "guestName" | "askToJoin" | "someone" | "waitingGuest" | "admit" | "deny" | "remove" | "revoke" | "newLink" | "copyLink" | "copied" | "guestLinks" | "noLinks" | "inLobby" | "guestsInCall" | "guestsMaySend" | "sendAll" | "sendCamera" | "sendMicrophone" | "linkUntil" | "linkUntilEnd" | "linkLasts" | "forAnHour" | "addressesVisible" | "guestRefused" | "close" | "guestIntro" | "youLeft", values?: Record<string, MessageValue>): string;
5
- rich(id: "waiting" | "guests" | "join" | "ended" | "removed" | "full" | "refused" | "unavailable" | "denied" | "you" | "continue" | "yourName" | "people" | "accept" | "leave" | "decline" | "startCall" | "inProgress" | "joinCall" | "microphone" | "camera" | "shareScreen" | "stopSharing" | "muted" | "alone" | "connecting" | "reconnecting" | "callAgain" | "noMicrophone" | "noCamera" | "noDevices" | "cannotConnect" | "poorConnection" | "goodConnection" | "sharing" | "youAreSharing" | "speaking" | "preview" | "guestName" | "askToJoin" | "someone" | "waitingGuest" | "admit" | "deny" | "remove" | "revoke" | "newLink" | "copyLink" | "copied" | "guestLinks" | "noLinks" | "inLobby" | "guestsInCall" | "guestsMaySend" | "sendAll" | "sendCamera" | "sendMicrophone" | "linkUntil" | "linkUntilEnd" | "linkLasts" | "forAnHour" | "addressesVisible" | "guestRefused" | "close" | "guestIntro" | "youLeft", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
4
+ (id: "join" | "camera" | "microphone" | "you" | "accept" | "decline" | "startCall" | "inProgress" | "people" | "joinCall" | "leave" | "shareScreen" | "stopSharing" | "muted" | "alone" | "connecting" | "reconnecting" | "full" | "removed" | "ended" | "refused" | "unavailable" | "callAgain" | "noMicrophone" | "noCamera" | "noDevices" | "cannotConnect" | "poorConnection" | "goodConnection" | "sharing" | "youAreSharing" | "speaking" | "preview" | "guestName" | "denied" | "waiting" | "askToJoin" | "someone" | "guests" | "waitingGuest" | "admit" | "deny" | "remove" | "revoke" | "newLink" | "copyLink" | "copied" | "guestLinks" | "noLinks" | "inLobby" | "guestsInCall" | "guestsMaySend" | "sendAll" | "sendCamera" | "sendMicrophone" | "linkUntil" | "linkUntilEnd" | "linkLasts" | "forAnHour" | "addressesVisible" | "guestRefused" | "close" | "yourName" | "guestIntro" | "continue" | "youLeft", values?: Record<string, MessageValue>): string;
5
+ rich(id: "join" | "camera" | "microphone" | "you" | "accept" | "decline" | "startCall" | "inProgress" | "people" | "joinCall" | "leave" | "shareScreen" | "stopSharing" | "muted" | "alone" | "connecting" | "reconnecting" | "full" | "removed" | "ended" | "refused" | "unavailable" | "callAgain" | "noMicrophone" | "noCamera" | "noDevices" | "cannotConnect" | "poorConnection" | "goodConnection" | "sharing" | "youAreSharing" | "speaking" | "preview" | "guestName" | "denied" | "waiting" | "askToJoin" | "someone" | "guests" | "waitingGuest" | "admit" | "deny" | "remove" | "revoke" | "newLink" | "copyLink" | "copied" | "guestLinks" | "noLinks" | "inLobby" | "guestsInCall" | "guestsMaySend" | "sendAll" | "sendCamera" | "sendMicrophone" | "linkUntil" | "linkUntilEnd" | "linkLasts" | "forAnHour" | "addressesVisible" | "guestRefused" | "close" | "yourName" | "guestIntro" | "continue" | "youLeft", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
6
6
  };
7
7
  //#endregion
@@ -22,11 +22,13 @@ export type ComposerProps = {
22
22
  canSendEmpty?: boolean;
23
23
  /** Gets the files pasted into the box or dropped on the composer; the composer itself uploads and sends nothing. A paste that holds text stays text. */
24
24
  onFiles?: (files: File[]) => void;
25
+ /** Gets the box's text each time the person changes it, such as to tell others they type. */
26
+ onDraft?: (text: string) => void;
25
27
  };
26
28
  /**
27
29
  * The text box under a chat, which grows with its text. Enter or the button sends the trimmed text and clears the box, once it is sent when `onSend` returns a promise;
28
30
  * Shift+Enter starts a new line; while the list of people to mention is open, Enter picks from it instead. With `canSendEmpty`,
29
31
  * such as while files are picked, it sends with no text too.
30
32
  */
31
- export declare const Composer: ({ onSend, busy, placeholder, inputRef, searchPeople, attachments, actions, canSendEmpty, onFiles }: ComposerProps) => import("react").JSX.Element;
33
+ export declare const Composer: ({ onSend, busy, placeholder, inputRef, searchPeople, attachments, actions, canSendEmpty, onFiles, onDraft }: ComposerProps) => import("react").JSX.Element;
32
34
  //#endregion
@@ -13,8 +13,12 @@ import { jsx, jsxs } from "react/jsx-runtime";
13
13
  * Shift+Enter starts a new line; while the list of people to mention is open, Enter picks from it instead. With `canSendEmpty`,
14
14
  * such as while files are picked, it sends with no text too.
15
15
  */
16
- const Composer = ({ onSend, busy, placeholder, inputRef, searchPeople, attachments, actions, canSendEmpty, onFiles }) => {
16
+ const Composer = ({ onSend, busy, placeholder, inputRef, searchPeople, attachments, actions, canSendEmpty, onFiles, onDraft }) => {
17
17
  const [draft, setDraft] = useState(emptyDraft);
18
+ const edit = (next) => {
19
+ setDraft(next);
20
+ onDraft?.(next.text);
21
+ };
18
22
  const message = draft.text.trim();
19
23
  const sendable = canSend(message, {
20
24
  busy,
@@ -74,7 +78,7 @@ const Composer = ({ onSend, busy, placeholder, inputRef, searchPeople, attachmen
74
78
  "aria-label": text("message"),
75
79
  placeholder,
76
80
  value: draft,
77
- onChange: setDraft,
81
+ onChange: edit,
78
82
  searchPeople,
79
83
  listAt: "above",
80
84
  onKeyDown,
@@ -1,7 +1,7 @@
1
1
  import { MessageValue } from "../locale/messages.js";
2
2
  //#region src/chat/messages.d.ts
3
3
  export declare const text: {
4
- (id: "send" | "message" | "today" | "yesterday" | "newMessages" | "loadEarlier" | "working", values?: Record<string, MessageValue>): string;
5
- rich(id: "send" | "message" | "today" | "yesterday" | "newMessages" | "loadEarlier" | "working", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
4
+ (id: "send" | "today" | "message" | "yesterday" | "newMessages" | "loadEarlier" | "working", values?: Record<string, MessageValue>): string;
5
+ rich(id: "send" | "today" | "message" | "yesterday" | "newMessages" | "loadEarlier" | "working", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
6
6
  };
7
7
  //#endregion
@@ -1,7 +1,7 @@
1
1
  import { MessageValue } from "../locale/messages.js";
2
2
  //#region src/compact-table/messages.d.ts
3
3
  export declare const text: {
4
- (id: "table" | "rows" | "noRows" | "cutOff", values?: Record<string, MessageValue>): string;
5
- rich(id: "table" | "rows" | "noRows" | "cutOff", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
4
+ (id: "table" | "noRows" | "rows" | "cutOff", values?: Record<string, MessageValue>): string;
5
+ rich(id: "table" | "noRows" | "rows" | "cutOff", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
6
6
  };
7
7
  //#endregion
@@ -60,6 +60,17 @@ export declare const useClient: () => {
60
60
  submitForm: (name: string, values: Record<string, unknown>, proof: import("@protobase/client").FormProof) => Promise<void>;
61
61
  live: (handlers: import("@protobase/client").LiveHandlers) => () => void;
62
62
  channel: (resource: string, key: import("@protobase/schema").KeyValue | readonly import("@protobase/schema").KeyValue[]) => import("@protobase/client").Channel;
63
+ relay: {
64
+ follow: (handlers: import("@protobase/client").RelayHandlers) => () => void;
65
+ status: () => import("@protobase/client").RelayStatus;
66
+ joined: (channel: string) => boolean;
67
+ join: (channel: string) => () => void;
68
+ send: (channel: string, event: string, payload: Record<string, unknown>) => Promise<void>;
69
+ direct: (to: string, event: string, payload: Record<string, unknown>) => Promise<void>;
70
+ view: (channel: string, keys: readonly string[] | undefined) => void;
71
+ reconnect: () => void;
72
+ presence: (next: import("@protobase/client").OwnPresence) => void;
73
+ };
63
74
  bridges: {
64
75
  open: (name: string, target: string) => Promise<import("@protobase/client").OpenedBridge>;
65
76
  };
@@ -161,6 +172,17 @@ export declare const useResourceClient: (resource: string) => {
161
172
  submitForm: (name: string, values: Record<string, unknown>, proof: import("@protobase/client").FormProof) => Promise<void>;
162
173
  live: (handlers: import("@protobase/client").LiveHandlers) => () => void;
163
174
  channel: (resource: string, key: import("@protobase/schema").KeyValue | readonly import("@protobase/schema").KeyValue[]) => import("@protobase/client").Channel;
175
+ relay: {
176
+ follow: (handlers: import("@protobase/client").RelayHandlers) => () => void;
177
+ status: () => import("@protobase/client").RelayStatus;
178
+ joined: (channel: string) => boolean;
179
+ join: (channel: string) => () => void;
180
+ send: (channel: string, event: string, payload: Record<string, unknown>) => Promise<void>;
181
+ direct: (to: string, event: string, payload: Record<string, unknown>) => Promise<void>;
182
+ view: (channel: string, keys: readonly string[] | undefined) => void;
183
+ reconnect: () => void;
184
+ presence: (next: import("@protobase/client").OwnPresence) => void;
185
+ };
164
186
  bridges: {
165
187
  open: (name: string, target: string) => Promise<import("@protobase/client").OpenedBridge>;
166
188
  };
@@ -259,6 +281,17 @@ export declare const useResourceClients: () => (resource: string) => {
259
281
  submitForm: (name: string, values: Record<string, unknown>, proof: import("@protobase/client").FormProof) => Promise<void>;
260
282
  live: (handlers: import("@protobase/client").LiveHandlers) => () => void;
261
283
  channel: (resource: string, key: import("@protobase/schema").KeyValue | readonly import("@protobase/schema").KeyValue[]) => import("@protobase/client").Channel;
284
+ relay: {
285
+ follow: (handlers: import("@protobase/client").RelayHandlers) => () => void;
286
+ status: () => import("@protobase/client").RelayStatus;
287
+ joined: (channel: string) => boolean;
288
+ join: (channel: string) => () => void;
289
+ send: (channel: string, event: string, payload: Record<string, unknown>) => Promise<void>;
290
+ direct: (to: string, event: string, payload: Record<string, unknown>) => Promise<void>;
291
+ view: (channel: string, keys: readonly string[] | undefined) => void;
292
+ reconnect: () => void;
293
+ presence: (next: import("@protobase/client").OwnPresence) => void;
294
+ };
262
295
  bridges: {
263
296
  open: (name: string, target: string) => Promise<import("@protobase/client").OpenedBridge>;
264
297
  };
@@ -54,6 +54,10 @@ export type MetaData = {
54
54
  status?: boolean;
55
55
  /** Whether the app has calls, which ring people on any page they have open (see `CallRings`). */
56
56
  calls?: boolean;
57
+ /** With the app's realtime relay: the resources whose changes it notices, which pages hear of from it (see `RelayProvider`). */
58
+ relay?: {
59
+ resources: string[];
60
+ };
57
61
  /** The language the app's screens are in for everyone, when it sets one (see `AppLocale`). */
58
62
  locale?: Locale;
59
63
  /** The app's own texts in the user's language, the messages their pages' `<Trans>` elements name (see `AppTexts`). */
@@ -1,8 +1,11 @@
1
1
  import { MetaData } from "./meta-data.js";
2
2
  //#region src/data/use-live-updates.d.ts
3
3
  /**
4
- * Keeps what the page shows of the app's `.live()` resources current: hears which records change (`client.live`) and
5
- * reads again the lists, records and counts of their resources. Connects only when the caller reads a live resource.
4
+ * Keeps what the page shows of the app's `.live()` resources current: hears which records change and reads again the
5
+ * lists, records and counts of their resources. With the app's realtime relay, the resources it notices are heard of
6
+ * from it, only those of the channel an open conversation shows while one is open, and all of them read again once
7
+ * after it reconnects; the others from `client.live`, which connects only when
8
+ * the caller reads such a resource.
6
9
  */
7
10
  export declare const useLiveUpdates: (meta: MetaData) => void;
8
11
  //#endregion
@@ -1,19 +1,41 @@
1
1
  import { FocusRefreshContext } from "./focus-refresh.js";
2
2
  import { useClient } from "./api-provider.js";
3
3
  import { sourceStatusOf } from "./with-sources.js";
4
+ import { useRelay } from "../relay/relay-context.js";
4
5
  import { liveRefresh } from "./live-refresh.js";
5
6
  import { useContext, useEffect, useMemo } from "react";
6
7
  import { useQueryClient } from "@tanstack/react-query";
7
8
  //#region src/data/use-live-updates.ts
8
9
  /**
9
- * Keeps what the page shows of the app's `.live()` resources current: hears which records change (`client.live`) and
10
- * reads again the lists, records and counts of their resources. Connects only when the caller reads a live resource.
10
+ * Keeps what the page shows of the app's `.live()` resources current: hears which records change and reads again the
11
+ * lists, records and counts of their resources. With the app's realtime relay, the resources it notices are heard of
12
+ * from it, only those of the channel an open conversation shows while one is open, and all of them read again once
13
+ * after it reconnects; the others from `client.live`, which connects only when
14
+ * the caller reads such a resource.
11
15
  */
12
16
  const useLiveUpdates = (meta) => {
13
17
  const client = useClient();
18
+ const relay = useRelay();
14
19
  const queryClient = useQueryClient();
15
20
  const focusRefresh = useContext(FocusRefreshContext);
16
- const live = useMemo(() => Object.values(meta.resources).filter((model) => model.live && !sourceStatusOf(meta, model.name)).map((model) => model.name).sort().join(","), [meta]);
21
+ const noticed = useMemo(() => relay ? new Set(meta.relay?.resources ?? []) : /* @__PURE__ */ new Set(), [relay, meta.relay]);
22
+ const live = useMemo(() => Object.values(meta.resources).filter((model) => model.live && !noticed.has(model.name) && !sourceStatusOf(meta, model.name)).map((model) => model.name).sort().join(","), [meta, noticed]);
23
+ useEffect(() => {
24
+ if (!relay || noticed.size === 0) return;
25
+ const refresh = liveRefresh(queryClient, () => focusRefresh?.paused() ?? false);
26
+ const stopNotices = relay.store.onNotice((notice) => relay.store.shows(notice) && refresh.changed([notice.resource]));
27
+ const stopResync = relay.store.onResync(() => refresh.changed(noticed));
28
+ return () => {
29
+ stopNotices();
30
+ stopResync();
31
+ refresh.stop();
32
+ };
33
+ }, [
34
+ relay,
35
+ noticed,
36
+ queryClient,
37
+ focusRefresh
38
+ ]);
17
39
  useEffect(() => {
18
40
  if (!live) return;
19
41
  const refresh = liveRefresh(queryClient, () => focusRefresh?.paused() ?? false);
@@ -51,6 +51,7 @@ const useMeta = () => {
51
51
  ...result.meta.notifications?.bell && { bell: true },
52
52
  ...result.meta.status && { status: true },
53
53
  ...result.meta.calls && { calls: true },
54
+ ...result.meta.relay && { relay: result.meta.relay },
54
55
  ...result.meta.locale && { locale: result.meta.locale },
55
56
  ...result.meta.texts && { texts: result.meta.texts },
56
57
  ...result.meta.files && { files: result.meta.files },
@@ -1,7 +1,7 @@
1
1
  import { MessageValue } from "../locale/messages.js";
2
2
  //#region src/data-grid/messages.d.ts
3
3
  export declare const text: {
4
- (id: "row" | "no" | "shownIn" | "new" | "unsortable" | "columnMenu" | "unpin" | "pinToLeft" | "resizeColumn" | "selected" | "clearSelection" | "noRowsSelected" | "selectRow" | "rowActions" | "move" | "reorderInstructions" | "pickedUp" | "isOver" | "droppedAt" | "putBack" | "cancelled", values?: Record<string, MessageValue>): string;
5
- rich(id: "row" | "no" | "shownIn" | "new" | "unsortable" | "columnMenu" | "unpin" | "pinToLeft" | "resizeColumn" | "selected" | "clearSelection" | "noRowsSelected" | "selectRow" | "rowActions" | "move" | "reorderInstructions" | "pickedUp" | "isOver" | "droppedAt" | "putBack" | "cancelled", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
4
+ (id: "row" | "new" | "no" | "shownIn" | "unsortable" | "columnMenu" | "unpin" | "pinToLeft" | "resizeColumn" | "selected" | "clearSelection" | "noRowsSelected" | "selectRow" | "rowActions" | "move" | "reorderInstructions" | "pickedUp" | "isOver" | "droppedAt" | "putBack" | "cancelled", values?: Record<string, MessageValue>): string;
5
+ rich(id: "row" | "new" | "no" | "shownIn" | "unsortable" | "columnMenu" | "unpin" | "pinToLeft" | "resizeColumn" | "selected" | "clearSelection" | "noRowsSelected" | "selectRow" | "rowActions" | "move" | "reorderInstructions" | "pickedUp" | "isOver" | "droppedAt" | "putBack" | "cancelled", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
6
6
  };
7
7
  //#endregion
@@ -1,7 +1,7 @@
1
1
  import { MessageValue } from "../locale/messages.js";
2
2
  //#region src/filter-panel/messages.d.ts
3
3
  export declare const text: {
4
- (id: "date" | "remove" | "noMatches" | "today" | "maximum" | "minimum" | "year" | "month" | "yesterday" | "24h" | "7d" | "30d" | "90d" | "quarter" | "unknownPreset" | "unsupported" | "clearAll" | "searchIn" | "moreFilters" | "filters" | "showOnly" | "couldNotLoadCounts", values?: Record<string, MessageValue>): string;
5
- rich(id: "date" | "remove" | "noMatches" | "today" | "maximum" | "minimum" | "year" | "month" | "yesterday" | "24h" | "7d" | "30d" | "90d" | "quarter" | "unknownPreset" | "unsupported" | "clearAll" | "searchIn" | "moreFilters" | "filters" | "showOnly" | "couldNotLoadCounts", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
4
+ (id: "remove" | "noMatches" | "date" | "today" | "maximum" | "minimum" | "year" | "month" | "yesterday" | "24h" | "7d" | "30d" | "90d" | "quarter" | "unknownPreset" | "unsupported" | "clearAll" | "searchIn" | "moreFilters" | "filters" | "showOnly" | "couldNotLoadCounts", values?: Record<string, MessageValue>): string;
5
+ rich(id: "remove" | "noMatches" | "date" | "today" | "maximum" | "minimum" | "year" | "month" | "yesterday" | "24h" | "7d" | "30d" | "90d" | "quarter" | "unknownPreset" | "unsupported" | "clearAll" | "searchIn" | "moreFilters" | "filters" | "showOnly" | "couldNotLoadCounts", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
6
6
  };
7
7
  //#endregion
package/dist/index.d.ts CHANGED
@@ -69,6 +69,10 @@ import { ToneEdge } from "./app/related-cards/tone-edge.js";
69
69
  import { AppLink, useAppAddress } from "./app/use-app-address.js";
70
70
  import { useApiToken } from "./auth/use-api-token.js";
71
71
  import { SignedInUser, useSignedInUser } from "./auth/use-signed-in-user.js";
72
+ import { useTypers } from "./relay/relay-context.js";
73
+ import { TypingLine } from "./relay/typing-line.js";
74
+ import { useTypingSender } from "./relay/use-typing-sender.js";
75
+ import { useViewChannel } from "./relay/use-view-channel.js";
72
76
  import { statusRefreshMs, useOwnStatus, useStatuses } from "./status/use-statuses.js";
73
77
  import { CallView, CallViewProps } from "./calls/call-view.js";
74
78
  import { RecordCall, RecordCallProps } from "./calls/record-call.js";
@@ -132,4 +136,4 @@ import { RecordPicker, RecordPickerProps } from "./app/record-picker.js";
132
136
  import { Spinner } from "./primitives/spinner.js";
133
137
  import { uiReadyEvent } from "./app/ui-ready.js";
134
138
  import { useQuery, useQueryClient } from "@tanstack/react-query";
135
- export { ActionCard, type ActionCardProps, type ActionContext, type ActionHandler, ActionInputError, type ActionInputProps, ApiProvider, type ApiProviderProps, App, AppLink, AppMark, type AppMarkProps, type AppProps, AssistantDock, type AssistantDockProps, AuthLayout, type AuthLayoutProps, AvailabilityMark, type BackendData, type BackendRefresh, type BeforeSignInProps, type BoardDrop, type BoardDropContext, type BoardDropUndo, type BoardDropWrite, Button, type ButtonProps, CallMark, type CallMarkProps, CallView, type CallViewProps, type CardAction, type CardTone, Carousel, type CarouselImage, type CarouselProps, type ChatAuthor, ChatDivider, type ChatDividerProps, ChatMessage, type ChatMessageProps, ChatThread, type ChatThreadProps, type ChoiceOption, Choices, type ChoicesProps, CodeForm, type CodeFormProps, CompactTable, type CompactTableProps, type ComponentRead, type ComponentReads, type ComponentSelect, Composer, type ComposerProps, type CreateForm, type CreateFormOptions, type CurrentAddress, Dialog, type DialogProps, type DiffLine, DiffView, type DiffViewProps, type Drop, type DropRule, Field, FieldBadge, FieldList, type FieldProps, type FieldWidget, type FieldWidgetEditorProps, type FieldWidgetProps, FileReadError, type FileViewer, type FileViewerProps, type FocusAction, FocusActions, FocusNotice, type FocusNoticeProps, FocusPage, type FocusPageProps, FocusPanel, type FocusPanelProps, type FocusRecord, type FocusSize, FocusSlot, type FocusSlotProps, type FocusZone, Form, type FormProps, type FrameLink, type FrameScripts, HtmlFrame, InPlaceForm, type InPlaceFormProps, Input, type InputProps, type LayoutRecord, type LinkAddress, type ListAddress, type ListChange, type ListDisplay, type ListDisplayRow, LogoMark, Markdown, type MarkdownContentProps as MarkdownProps, type MarksHook, type Member, type MembersResult, MentionBox, type MentionBoxProps, type MentionDraft, MentionedText, MenuSelect, type MenuSelectProps, MenuSurface, type MenuSurfaceProps, type MetaData, type NoticeLevel, OtpInput, type OtpInputProps, PartView, type PatchFile, type PeopleSearch, type PickedUser, type PickerGroup, type PickerItem, type PluginInfo, type Presence, type PresenceHook, type ProjectUi, type PushState, RecordCall, type RecordCallProps, type RecordCardProps, RecordLink, type RecordMark, RecordPicker, type RecordPickerProps, ResendCodeButton, type ResendCodeButtonProps, ResponsiveDialog, type ResponsiveDialogProps, RouteLink, type RouteTarget, SearchPicker, type SearchPickerProps, Section, Segmented, type SegmentedOption, type SegmentedProps, Select, type SelectProps, type ShellLogoProps, type SiblingFile, type SiblingPage, SidePanel, type SidePanelProps, SignInPrompt, type SignInPromptProps, type SignedInUser, Spinner, StatusMark, type StatusMarkProps, type Step, StepList, type StepState, Textarea, type TextareaProps, type TitleReader, type TitleRule, type ToastAction, type ToastApi, type ToastState, ToneEdge, type ViewedFile, allowDelayMs, buttonClass, chatDayLabel, closeSidebarEvent, definePlugin, defineUi, diffStats, emptyDraft, extensionPointsOf, fileNamed, isConflict, isFramed, logoTapEvent, mentionedIds, menuItemClass, mergeUi, parseDiff, parsePatch, pluginApi, pluginsChangedEvent, protobaseVersion, sameChatDay, showTextsIn, siblingPage, signedOutEvent, statusRefreshMs, uiFromModule, uiReadyEvent, useApiToken, useAppAddress, useArmedAfterFocus, useAssistant, useAssistantClient, useBackendData, useClient, useComponentReads, useComponentSelect, useCreateForm, useFacets, useFieldControl, useFileText, useFocusPage, useFocusRecord, useFocusZoneFilled, useGuardedPress, useHistogram, useInbox, useLayoutRecord, useList, useListDisplay, useMarkNotificationsRead, useMembers, useMeta, useOwnStatus, usePlugin, usePopoverMenu, usePresence, usePushNotifications, useQuery, useQueryClient, useRecord, useRecordCallAddress, useRecordCalls, useResourceClient, useSeries, useSiblingPage, useSignedInUser, useStatuses, useToast, useUnreadNotifications, useUpdateRecord };
139
+ export { ActionCard, type ActionCardProps, type ActionContext, type ActionHandler, ActionInputError, type ActionInputProps, ApiProvider, type ApiProviderProps, App, AppLink, AppMark, type AppMarkProps, type AppProps, AssistantDock, type AssistantDockProps, AuthLayout, type AuthLayoutProps, AvailabilityMark, type BackendData, type BackendRefresh, type BeforeSignInProps, type BoardDrop, type BoardDropContext, type BoardDropUndo, type BoardDropWrite, Button, type ButtonProps, CallMark, type CallMarkProps, CallView, type CallViewProps, type CardAction, type CardTone, Carousel, type CarouselImage, type CarouselProps, type ChatAuthor, ChatDivider, type ChatDividerProps, ChatMessage, type ChatMessageProps, ChatThread, type ChatThreadProps, type ChoiceOption, Choices, type ChoicesProps, CodeForm, type CodeFormProps, CompactTable, type CompactTableProps, type ComponentRead, type ComponentReads, type ComponentSelect, Composer, type ComposerProps, type CreateForm, type CreateFormOptions, type CurrentAddress, Dialog, type DialogProps, type DiffLine, DiffView, type DiffViewProps, type Drop, type DropRule, Field, FieldBadge, FieldList, type FieldProps, type FieldWidget, type FieldWidgetEditorProps, type FieldWidgetProps, FileReadError, type FileViewer, type FileViewerProps, type FocusAction, FocusActions, FocusNotice, type FocusNoticeProps, FocusPage, type FocusPageProps, FocusPanel, type FocusPanelProps, type FocusRecord, type FocusSize, FocusSlot, type FocusSlotProps, type FocusZone, Form, type FormProps, type FrameLink, type FrameScripts, HtmlFrame, InPlaceForm, type InPlaceFormProps, Input, type InputProps, type LayoutRecord, type LinkAddress, type ListAddress, type ListChange, type ListDisplay, type ListDisplayRow, LogoMark, Markdown, type MarkdownContentProps as MarkdownProps, type MarksHook, type Member, type MembersResult, MentionBox, type MentionBoxProps, type MentionDraft, MentionedText, MenuSelect, type MenuSelectProps, MenuSurface, type MenuSurfaceProps, type MetaData, type NoticeLevel, OtpInput, type OtpInputProps, PartView, type PatchFile, type PeopleSearch, type PickedUser, type PickerGroup, type PickerItem, type PluginInfo, type Presence, type PresenceHook, type ProjectUi, type PushState, RecordCall, type RecordCallProps, type RecordCardProps, RecordLink, type RecordMark, RecordPicker, type RecordPickerProps, ResendCodeButton, type ResendCodeButtonProps, ResponsiveDialog, type ResponsiveDialogProps, RouteLink, type RouteTarget, SearchPicker, type SearchPickerProps, Section, Segmented, type SegmentedOption, type SegmentedProps, Select, type SelectProps, type ShellLogoProps, type SiblingFile, type SiblingPage, SidePanel, type SidePanelProps, SignInPrompt, type SignInPromptProps, type SignedInUser, Spinner, StatusMark, type StatusMarkProps, type Step, StepList, type StepState, Textarea, type TextareaProps, type TitleReader, type TitleRule, type ToastAction, type ToastApi, type ToastState, ToneEdge, TypingLine, type ViewedFile, allowDelayMs, buttonClass, chatDayLabel, closeSidebarEvent, definePlugin, defineUi, diffStats, emptyDraft, extensionPointsOf, fileNamed, isConflict, isFramed, logoTapEvent, mentionedIds, menuItemClass, mergeUi, parseDiff, parsePatch, pluginApi, pluginsChangedEvent, protobaseVersion, sameChatDay, showTextsIn, siblingPage, signedOutEvent, statusRefreshMs, uiFromModule, uiReadyEvent, useApiToken, useAppAddress, useArmedAfterFocus, useAssistant, useAssistantClient, useBackendData, useClient, useComponentReads, useComponentSelect, useCreateForm, useFacets, useFieldControl, useFileText, useFocusPage, useFocusRecord, useFocusZoneFilled, useGuardedPress, useHistogram, useInbox, useLayoutRecord, useList, useListDisplay, useMarkNotificationsRead, useMembers, useMeta, useOwnStatus, usePlugin, usePopoverMenu, usePresence, usePushNotifications, useQuery, useQueryClient, useRecord, useRecordCallAddress, useRecordCalls, useResourceClient, useSeries, useSiblingPage, useSignedInUser, useStatuses, useToast, useTypers, useTypingSender, useUnreadNotifications, useUpdateRecord, useViewChannel };
package/dist/index.js CHANGED
@@ -27,6 +27,7 @@ import { extensionPointsOf } from "./plugins/extension-points.js";
27
27
  import { pluginsChangedEvent } from "./plugins/plugin-source.js";
28
28
  import { useApiToken } from "./auth/use-api-token.js";
29
29
  import { useSignedInUser } from "./auth/use-signed-in-user.js";
30
+ import { useTypers } from "./relay/relay-context.js";
30
31
  import { useRecord } from "./data/use-record.js";
31
32
  import { useToast } from "./toasts/toast-provider.js";
32
33
  import { usePresence } from "./presence/presence.js";
@@ -58,6 +59,9 @@ import { FieldBadge } from "./app/field-badge.js";
58
59
  import { ToneEdge } from "./app/related-cards/tone-edge.js";
59
60
  import { useListDisplay } from "./app/displays/display-context.js";
60
61
  import { RecordLink } from "./app/displays/record-link.js";
62
+ import { TypingLine } from "./relay/typing-line.js";
63
+ import { useTypingSender } from "./relay/use-typing-sender.js";
64
+ import { useViewChannel } from "./relay/use-view-channel.js";
61
65
  import { CallView } from "./calls/call-view.js";
62
66
  import { useRecordCallAddress } from "./calls/use-record-call-address.js";
63
67
  import { RecordCall } from "./calls/record-call.js";
@@ -102,4 +106,4 @@ import { useCreateForm } from "./app/create/use-create-form.js";
102
106
  import { InPlaceForm } from "./app/create/in-place-form.js";
103
107
  import { RecordPicker } from "./app/record-picker.js";
104
108
  import { useQuery, useQueryClient } from "@tanstack/react-query";
105
- export { ActionCard, ActionInputError, ApiProvider, App, AppLink, AppMark, AssistantDock, AuthLayout, AvailabilityMark, Button, CallMark, CallView, Carousel, ChatDivider, ChatMessage, ChatThread, Choices, CodeForm, CompactTable, Composer, Dialog, DiffView, Field, FieldBadge, FieldList, FileReadError, FocusActions, FocusNotice, FocusPage, FocusPanel, FocusSlot, Form, HtmlFrame, InPlaceForm, Input, LogoMark, Markdown, MentionBox, MentionedText, MenuSelect, MenuSurface, OtpInput, PartView, RecordCall, RecordLink, RecordPicker, ResendCodeButton, ResponsiveDialog, RouteLink, SearchPicker, Section, Segmented, Select, SidePanel, SignInPrompt, Spinner, StatusMark, StepList, Textarea, ToneEdge, allowDelayMs, buttonClass, chatDayLabel, closeSidebarEvent, definePlugin, defineUi, diffStats, emptyDraft, extensionPointsOf, fileNamed, isConflict, isFramed, logoTapEvent, mentionedIds, menuItemClass, mergeUi, parseDiff, parsePatch, pluginApi, pluginsChangedEvent, protobaseVersion, sameChatDay, showTextsIn, siblingPage, signedOutEvent, statusRefreshMs, uiFromModule, uiReadyEvent, useApiToken, useAppAddress, useArmedAfterFocus, useAssistant, useAssistantClient, useBackendData, useClient, useComponentReads, useComponentSelect, useCreateForm, useFacets, useFieldControl, useFileText, useFocusPage, useFocusRecord, useFocusZoneFilled, useGuardedPress, useHistogram, useInbox, useLayoutRecord, useList, useListDisplay, useMarkNotificationsRead, useMembers, useMeta, useOwnStatus, usePlugin, usePopoverMenu, usePresence, usePushNotifications, useQuery, useQueryClient, useRecord, useRecordCallAddress, useRecordCalls, useResourceClient, useSeries, useSiblingPage, useSignedInUser, useStatuses, useToast, useUnreadNotifications, useUpdateRecord };
109
+ export { ActionCard, ActionInputError, ApiProvider, App, AppLink, AppMark, AssistantDock, AuthLayout, AvailabilityMark, Button, CallMark, CallView, Carousel, ChatDivider, ChatMessage, ChatThread, Choices, CodeForm, CompactTable, Composer, Dialog, DiffView, Field, FieldBadge, FieldList, FileReadError, FocusActions, FocusNotice, FocusPage, FocusPanel, FocusSlot, Form, HtmlFrame, InPlaceForm, Input, LogoMark, Markdown, MentionBox, MentionedText, MenuSelect, MenuSurface, OtpInput, PartView, RecordCall, RecordLink, RecordPicker, ResendCodeButton, ResponsiveDialog, RouteLink, SearchPicker, Section, Segmented, Select, SidePanel, SignInPrompt, Spinner, StatusMark, StepList, Textarea, ToneEdge, TypingLine, allowDelayMs, buttonClass, chatDayLabel, closeSidebarEvent, definePlugin, defineUi, diffStats, emptyDraft, extensionPointsOf, fileNamed, isConflict, isFramed, logoTapEvent, mentionedIds, menuItemClass, mergeUi, parseDiff, parsePatch, pluginApi, pluginsChangedEvent, protobaseVersion, sameChatDay, showTextsIn, siblingPage, signedOutEvent, statusRefreshMs, uiFromModule, uiReadyEvent, useApiToken, useAppAddress, useArmedAfterFocus, useAssistant, useAssistantClient, useBackendData, useClient, useComponentReads, useComponentSelect, useCreateForm, useFacets, useFieldControl, useFileText, useFocusPage, useFocusRecord, useFocusZoneFilled, useGuardedPress, useHistogram, useInbox, useLayoutRecord, useList, useListDisplay, useMarkNotificationsRead, useMembers, useMeta, useOwnStatus, usePlugin, usePopoverMenu, usePresence, usePushNotifications, useQuery, useQueryClient, useRecord, useRecordCallAddress, useRecordCalls, useResourceClient, useSeries, useSiblingPage, useSignedInUser, useStatuses, useToast, useTypers, useTypingSender, useUnreadNotifications, useUpdateRecord, useViewChannel };
@@ -1,7 +1,7 @@
1
1
  import { MessageValue } from "../locale/messages.js";
2
2
  //#region src/invitations/messages.d.ts
3
3
  export declare const text: {
4
- (id: "email" | "revoke" | "until" | "invite" | "expired" | "sendAgain" | "passLinkOn", values?: Record<string, MessageValue>): string;
5
- rich(id: "email" | "revoke" | "until" | "invite" | "expired" | "sendAgain" | "passLinkOn", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
4
+ (id: "revoke" | "until" | "email" | "invite" | "expired" | "sendAgain" | "passLinkOn", values?: Record<string, MessageValue>): string;
5
+ rich(id: "revoke" | "until" | "email" | "invite" | "expired" | "sendAgain" | "passLinkOn", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
6
6
  };
7
7
  //#endregion
package/dist/locale/en.js CHANGED
@@ -355,7 +355,9 @@ var en_default = {
355
355
  "loading": "Loading...",
356
356
  "couldNotLoad": "Could not load",
357
357
  "viewAll": "View all",
358
- "couldNotSearch": "Could not search <lower>{label}</lower>"
358
+ "couldNotSearch": "Could not search <lower>{label}</lower>",
359
+ "typing": "typing…",
360
+ "unread": "{count, plural, one {# unread message} other {# unread messages}}"
359
361
  },
360
362
  "app/built-in-views": {
361
363
  "table_definitions.tables.names.singular": "Table",
@@ -726,7 +728,10 @@ var en_default = {
726
728
  "fileNotUploaded": "Not uploaded: {reason}",
727
729
  "uploadedPercent": "{percent}%",
728
730
  "fileMissing": "This file is missing",
729
- "couldNotLoadFiles": "Could not load the files"
731
+ "couldNotLoadFiles": "Could not load the files",
732
+ "typingOne": "{name} is typing…",
733
+ "typingTwo": "{first} and {second} are typing…",
734
+ "typingMany": "Several people are typing…"
730
735
  },
731
736
  "app/create": {
732
737
  "title": "New <lower>{noun}</lower>",
@@ -358,6 +358,8 @@ declare const _exports: {
358
358
  couldNotLoad: string;
359
359
  viewAll: string;
360
360
  couldNotSearch: string;
361
+ typing: string;
362
+ unread: string;
361
363
  };
362
364
  "app/built-in-views": {
363
365
  "table_definitions.tables.names.singular": string;
@@ -729,6 +731,9 @@ declare const _exports: {
729
731
  uploadedPercent: string;
730
732
  fileMissing: string;
731
733
  couldNotLoadFiles: string;
734
+ typingOne: string;
735
+ typingTwo: string;
736
+ typingMany: string;
732
737
  };
733
738
  "app/create": {
734
739
  title: string;
@@ -387,6 +387,8 @@ export declare const messages: <N extends Namespace>(namespace: N) => {
387
387
  couldNotLoad: string;
388
388
  viewAll: string;
389
389
  couldNotSearch: string;
390
+ typing: string;
391
+ unread: string;
390
392
  };
391
393
  "app/built-in-views": {
392
394
  "table_definitions.tables.names.singular": string;
@@ -758,6 +760,9 @@ export declare const messages: <N extends Namespace>(namespace: N) => {
758
760
  uploadedPercent: string;
759
761
  fileMissing: string;
760
762
  couldNotLoadFiles: string;
763
+ typingOne: string;
764
+ typingTwo: string;
765
+ typingMany: string;
761
766
  };
762
767
  "app/create": {
763
768
  title: string;
@@ -2819,6 +2824,8 @@ export declare const messages: <N extends Namespace>(namespace: N) => {
2819
2824
  couldNotLoad: string;
2820
2825
  viewAll: string;
2821
2826
  couldNotSearch: string;
2827
+ typing: string;
2828
+ unread: string;
2822
2829
  };
2823
2830
  "app/built-in-views": {
2824
2831
  "table_definitions.tables.names.singular": string;
@@ -3190,6 +3197,9 @@ export declare const messages: <N extends Namespace>(namespace: N) => {
3190
3197
  uploadedPercent: string;
3191
3198
  fileMissing: string;
3192
3199
  couldNotLoadFiles: string;
3200
+ typingOne: string;
3201
+ typingTwo: string;
3202
+ typingMany: string;
3193
3203
  };
3194
3204
  "app/create": {
3195
3205
  title: string;
package/dist/locale/nl.js CHANGED
@@ -355,7 +355,9 @@ var nl_default = {
355
355
  "loading": "Laden...",
356
356
  "couldNotLoad": "Kon niet laden",
357
357
  "viewAll": "Alles bekijken",
358
- "couldNotSearch": "Kon niet zoeken in <lower>{label}</lower>"
358
+ "couldNotSearch": "Kon niet zoeken in <lower>{label}</lower>",
359
+ "typing": "typt…",
360
+ "unread": "{count, plural, one {# ongelezen bericht} other {# ongelezen berichten}}"
359
361
  },
360
362
  "app/built-in-views": {
361
363
  "table_definitions.tables.names.singular": "Tabel",
@@ -726,7 +728,10 @@ var nl_default = {
726
728
  "fileNotUploaded": "Niet geüpload: {reason}",
727
729
  "uploadedPercent": "{percent}%",
728
730
  "fileMissing": "Dit bestand ontbreekt",
729
- "couldNotLoadFiles": "Kon de bestanden niet laden"
731
+ "couldNotLoadFiles": "Kon de bestanden niet laden",
732
+ "typingOne": "{name} typt…",
733
+ "typingTwo": "{first} en {second} typen…",
734
+ "typingMany": "Meerdere mensen typen…"
730
735
  },
731
736
  "app/create": {
732
737
  "title": "{noun} toevoegen",
@@ -18,7 +18,7 @@ export declare class TextsBoundary extends Component<{
18
18
  static getDerivedStateFromError(): {
19
19
  failed: boolean;
20
20
  };
21
- render(): string | number | bigint | boolean | import("react").JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | null | undefined;
21
+ render(): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react").JSX.Element | null | undefined;
22
22
  }
23
23
  /** Draws its children once the texts of `locale` are loaded, holding the launch splash until then, and says so when they do not load. */
24
24
  export declare const TextsGate: ({ locale, children }: {
@@ -1,7 +1,7 @@
1
1
  import { MessageValue } from "../../locale/messages.js";
2
2
  //#region src/notifications/bell/messages.d.ts
3
3
  export declare const text: {
4
- (id: "tryAgain" | "unread" | "empty" | "showMore" | "notifications" | "notificationsUnread" | "notificationsManyUnread" | "markAllRead" | "loadFailed" | "pushOff" | "turnOn" | "pushOn" | "turnOff" | "pushBlocked" | "pushRegistrationFailed" | "pushNoTokenApns" | "pushNoTokenFcm" | "pushRefused" | "pushFailed" | "pushOffNotStored", values?: Record<string, MessageValue>): string;
5
- rich(id: "tryAgain" | "unread" | "empty" | "showMore" | "notifications" | "notificationsUnread" | "notificationsManyUnread" | "markAllRead" | "loadFailed" | "pushOff" | "turnOn" | "pushOn" | "turnOff" | "pushBlocked" | "pushRegistrationFailed" | "pushNoTokenApns" | "pushNoTokenFcm" | "pushRefused" | "pushFailed" | "pushOffNotStored", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
4
+ (id: "unread" | "empty" | "tryAgain" | "showMore" | "turnOn" | "turnOff" | "notifications" | "notificationsUnread" | "notificationsManyUnread" | "markAllRead" | "loadFailed" | "pushOff" | "pushOn" | "pushBlocked" | "pushRegistrationFailed" | "pushNoTokenApns" | "pushNoTokenFcm" | "pushRefused" | "pushFailed" | "pushOffNotStored", values?: Record<string, MessageValue>): string;
5
+ rich(id: "unread" | "empty" | "tryAgain" | "showMore" | "turnOn" | "turnOff" | "notifications" | "notificationsUnread" | "notificationsManyUnread" | "markAllRead" | "loadFailed" | "pushOff" | "pushOn" | "pushBlocked" | "pushRegistrationFailed" | "pushNoTokenApns" | "pushNoTokenFcm" | "pushRefused" | "pushFailed" | "pushOffNotStored", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
6
6
  };
7
7
  //#endregion
@@ -1,7 +1,7 @@
1
1
  import { MessageValue } from "../locale/messages.js";
2
2
  //#region src/organizations/messages.d.ts
3
3
  export declare const text: {
4
- (id: "admin" | "name" | "join" | "invalidLink" | "invitations" | "organizations" | "loading" | "tryAgain" | "password" | "passwordOptional" | "signOut" | "yourName" | "members" | "organization" | "joining" | "create" | "open" | "accept" | "leave" | "remove" | "guestLinks" | "save" | "cancel" | "until" | "current" | "delete" | "owner" | "member" | "manageOrganizations" | "slug" | "allOrganizations" | "allOrganizationsDescription" | "findOrganization" | "nameOrSlug" | "cannotChangeRole" | "makeAccountToJoin" | "makeAccount" | "passwordRequired" | "createAndJoin" | "createYourAccount" | "invitation" | "goToApp" | "invitesToApp" | "invitesTo" | "invitesToWith" | "hasAccount" | "signInAs" | "signInAsToJoin" | "otherAddress" | "signOutToAccept" | "inviteSomeone" | "inviteDescription" | "organizationRole" | "peopleInvited" | "notAcceptedYet" | "sendingAgain" | "nobodyWaiting" | "roleOf" | "couldNotReadMembers" | "whoWorks" | "membersDescription" | "details" | "detailsEditable" | "detailsReadOnly" | "guestLinksDescription" | "guestLinksAllowed" | "handOver" | "handOverDescription" | "newOwner" | "chooseMember" | "deleteOrganization" | "deleteDescription" | "deleteTitle" | "deleteConfirm" | "organizationName" | "leaveOwner" | "leaveMember" | "leaveName" | "noOrganization" | "youAre" | "throughGlobalRoles" | "newOrganization" | "newOrganizationDescription" | "invitationsForYou" | "invitationsForYouDescription" | "anOrganization" | "noAppRoles" | "organizationsSubtitle" | "yourOrganizations" | "memberOf" | "notMember" | "couldNotReadOrganizations" | "word" | "words" | "createTitle" | "createButton" | "creating" | "nameNeeded" | "signedInAs" | "invitedTitle" | "invitedSubtitle" | "createInstead" | "backToInvitations" | "notInAnyTitle" | "notInAny" | "invitedSubtitleJoinOnly" | "expires" | "invitationsNotLoaded" | "invitationsNotLoadedHelp", values?: Record<string, MessageValue>): string;
5
- rich(id: "admin" | "name" | "join" | "invalidLink" | "invitations" | "organizations" | "loading" | "tryAgain" | "password" | "passwordOptional" | "signOut" | "yourName" | "members" | "organization" | "joining" | "create" | "open" | "accept" | "leave" | "remove" | "guestLinks" | "save" | "cancel" | "until" | "current" | "delete" | "owner" | "member" | "manageOrganizations" | "slug" | "allOrganizations" | "allOrganizationsDescription" | "findOrganization" | "nameOrSlug" | "cannotChangeRole" | "makeAccountToJoin" | "makeAccount" | "passwordRequired" | "createAndJoin" | "createYourAccount" | "invitation" | "goToApp" | "invitesToApp" | "invitesTo" | "invitesToWith" | "hasAccount" | "signInAs" | "signInAsToJoin" | "otherAddress" | "signOutToAccept" | "inviteSomeone" | "inviteDescription" | "organizationRole" | "peopleInvited" | "notAcceptedYet" | "sendingAgain" | "nobodyWaiting" | "roleOf" | "couldNotReadMembers" | "whoWorks" | "membersDescription" | "details" | "detailsEditable" | "detailsReadOnly" | "guestLinksDescription" | "guestLinksAllowed" | "handOver" | "handOverDescription" | "newOwner" | "chooseMember" | "deleteOrganization" | "deleteDescription" | "deleteTitle" | "deleteConfirm" | "organizationName" | "leaveOwner" | "leaveMember" | "leaveName" | "noOrganization" | "youAre" | "throughGlobalRoles" | "newOrganization" | "newOrganizationDescription" | "invitationsForYou" | "invitationsForYouDescription" | "anOrganization" | "noAppRoles" | "organizationsSubtitle" | "yourOrganizations" | "memberOf" | "notMember" | "couldNotReadOrganizations" | "word" | "words" | "createTitle" | "createButton" | "creating" | "nameNeeded" | "signedInAs" | "invitedTitle" | "invitedSubtitle" | "createInstead" | "backToInvitations" | "notInAnyTitle" | "notInAny" | "invitedSubtitleJoinOnly" | "expires" | "invitationsNotLoaded" | "invitationsNotLoadedHelp", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
4
+ (id: "admin" | "create" | "open" | "join" | "name" | "member" | "cancel" | "invitations" | "organizations" | "accept" | "leave" | "remove" | "guestLinks" | "yourName" | "signOut" | "loading" | "members" | "organization" | "save" | "until" | "joining" | "current" | "password" | "delete" | "owner" | "tryAgain" | "passwordOptional" | "invalidLink" | "manageOrganizations" | "slug" | "allOrganizations" | "allOrganizationsDescription" | "findOrganization" | "nameOrSlug" | "cannotChangeRole" | "makeAccountToJoin" | "makeAccount" | "passwordRequired" | "createAndJoin" | "createYourAccount" | "invitation" | "goToApp" | "invitesToApp" | "invitesTo" | "invitesToWith" | "hasAccount" | "signInAs" | "signInAsToJoin" | "otherAddress" | "signOutToAccept" | "inviteSomeone" | "inviteDescription" | "organizationRole" | "peopleInvited" | "notAcceptedYet" | "sendingAgain" | "nobodyWaiting" | "roleOf" | "couldNotReadMembers" | "whoWorks" | "membersDescription" | "details" | "detailsEditable" | "detailsReadOnly" | "guestLinksDescription" | "guestLinksAllowed" | "handOver" | "handOverDescription" | "newOwner" | "chooseMember" | "deleteOrganization" | "deleteDescription" | "deleteTitle" | "deleteConfirm" | "organizationName" | "leaveOwner" | "leaveMember" | "leaveName" | "noOrganization" | "youAre" | "throughGlobalRoles" | "newOrganization" | "newOrganizationDescription" | "invitationsForYou" | "invitationsForYouDescription" | "anOrganization" | "noAppRoles" | "organizationsSubtitle" | "yourOrganizations" | "memberOf" | "notMember" | "couldNotReadOrganizations" | "word" | "words" | "createTitle" | "createButton" | "creating" | "nameNeeded" | "signedInAs" | "invitedTitle" | "invitedSubtitle" | "createInstead" | "backToInvitations" | "notInAnyTitle" | "notInAny" | "invitedSubtitleJoinOnly" | "expires" | "invitationsNotLoaded" | "invitationsNotLoadedHelp", values?: Record<string, MessageValue>): string;
5
+ rich(id: "admin" | "create" | "open" | "join" | "name" | "member" | "cancel" | "invitations" | "organizations" | "accept" | "leave" | "remove" | "guestLinks" | "yourName" | "signOut" | "loading" | "members" | "organization" | "save" | "until" | "joining" | "current" | "password" | "delete" | "owner" | "tryAgain" | "passwordOptional" | "invalidLink" | "manageOrganizations" | "slug" | "allOrganizations" | "allOrganizationsDescription" | "findOrganization" | "nameOrSlug" | "cannotChangeRole" | "makeAccountToJoin" | "makeAccount" | "passwordRequired" | "createAndJoin" | "createYourAccount" | "invitation" | "goToApp" | "invitesToApp" | "invitesTo" | "invitesToWith" | "hasAccount" | "signInAs" | "signInAsToJoin" | "otherAddress" | "signOutToAccept" | "inviteSomeone" | "inviteDescription" | "organizationRole" | "peopleInvited" | "notAcceptedYet" | "sendingAgain" | "nobodyWaiting" | "roleOf" | "couldNotReadMembers" | "whoWorks" | "membersDescription" | "details" | "detailsEditable" | "detailsReadOnly" | "guestLinksDescription" | "guestLinksAllowed" | "handOver" | "handOverDescription" | "newOwner" | "chooseMember" | "deleteOrganization" | "deleteDescription" | "deleteTitle" | "deleteConfirm" | "organizationName" | "leaveOwner" | "leaveMember" | "leaveName" | "noOrganization" | "youAre" | "throughGlobalRoles" | "newOrganization" | "newOrganizationDescription" | "invitationsForYou" | "invitationsForYouDescription" | "anOrganization" | "noAppRoles" | "organizationsSubtitle" | "yourOrganizations" | "memberOf" | "notMember" | "couldNotReadOrganizations" | "word" | "words" | "createTitle" | "createButton" | "creating" | "nameNeeded" | "signedInAs" | "invitedTitle" | "invitedSubtitle" | "createInstead" | "backToInvitations" | "notInAnyTitle" | "notInAny" | "invitedSubtitleJoinOnly" | "expires" | "invitationsNotLoaded" | "invitationsNotLoadedHelp", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
6
6
  };
7
7
  //#endregion
package/dist/package.js CHANGED
@@ -1,5 +1,5 @@
1
1
  //#region package.json
2
- var version = "0.121.11";
2
+ var version = "0.121.12";
3
3
  var protobase = { "pluginApi": 1 };
4
4
  //#endregion
5
5
  export { protobase, version };
@@ -8,5 +8,5 @@ import { ReactNode } from "react";
8
8
  */
9
9
  export declare const BeforeSignIn: ({ children }: {
10
10
  children: ReactNode;
11
- }) => string | number | bigint | boolean | import("react").JSX.Element | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | null | undefined;
11
+ }) => string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react").JSX.Element | null | undefined;
12
12
  //#endregion