@protobase/ui 0.121.5 → 0.121.6

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 (299) hide show
  1. package/dist/account/messages.d.ts +2 -2
  2. package/dist/app/change-confirm/messages.d.ts +2 -2
  3. package/dist/app/charts/messages.d.ts +2 -2
  4. package/dist/app/confirm-sign-in-messages.d.ts +2 -2
  5. package/dist/app/conversation/messages.d.ts +2 -2
  6. package/dist/app/conversation-page/conversation-message.d.ts +10 -7
  7. package/dist/app/conversation-page/conversation-message.js +107 -20
  8. package/dist/app/conversation-page/conversation-messages.d.ts +9 -3
  9. package/dist/app/conversation-page/conversation-messages.js +42 -26
  10. package/dist/app/conversation-page/conversation-page.d.ts +2 -1
  11. package/dist/app/conversation-page/conversation-page.js +51 -30
  12. package/dist/app/conversation-page/conversation-reads.d.ts +17 -3
  13. package/dist/app/conversation-page/conversation-reads.js +30 -4
  14. package/dist/app/conversation-page/delete-message-dialog.d.ts +7 -0
  15. package/dist/app/conversation-page/delete-message-dialog.js +22 -0
  16. package/dist/app/conversation-page/message-access.d.ts +19 -0
  17. package/dist/app/conversation-page/message-access.js +25 -0
  18. package/dist/app/conversation-page/message-actions-bar.d.ts +12 -0
  19. package/dist/app/conversation-page/message-actions-bar.js +57 -0
  20. package/dist/app/conversation-page/message-actions-sheet.d.ts +18 -0
  21. package/dist/app/conversation-page/message-actions-sheet.js +73 -0
  22. package/dist/app/conversation-page/message-controls.d.ts +19 -0
  23. package/dist/app/conversation-page/message-controls.js +0 -0
  24. package/dist/app/conversation-page/message-editor.d.ts +23 -0
  25. package/dist/app/conversation-page/message-editor.js +72 -0
  26. package/dist/app/conversation-page/message-press.d.ts +59 -0
  27. package/dist/app/conversation-page/message-press.js +55 -0
  28. package/dist/app/conversation-page/message-setup.d.ts +27 -0
  29. package/dist/app/conversation-page/message-setup.js +0 -0
  30. package/dist/app/conversation-page/messages.d.ts +2 -2
  31. package/dist/app/conversation-page/reaction-chips.d.ts +18 -0
  32. package/dist/app/conversation-page/reaction-chips.js +30 -0
  33. package/dist/app/conversation-page/reactions.d.ts +28 -0
  34. package/dist/app/conversation-page/reactions.js +31 -0
  35. package/dist/app/conversation-page/reply-labels.d.ts +4 -0
  36. package/dist/app/conversation-page/reply-labels.js +9 -0
  37. package/dist/app/conversation-page/thread-head.d.ts +4 -0
  38. package/dist/app/conversation-page/thread-head.js +5 -0
  39. package/dist/app/conversation-page/thread-panel.d.ts +25 -0
  40. package/dist/app/conversation-page/thread-panel.js +107 -0
  41. package/dist/app/conversation-page/thread-summary.d.ts +10 -0
  42. package/dist/app/conversation-page/thread-summary.js +26 -0
  43. package/dist/app/conversation-page/use-message-controls.d.ts +14 -0
  44. package/dist/app/conversation-page/use-message-controls.js +32 -0
  45. package/dist/app/conversation-page/use-message-press.d.ts +16 -0
  46. package/dist/app/conversation-page/use-message-press.js +88 -0
  47. package/dist/app/conversation-page/use-message-reactions.d.ts +13 -0
  48. package/dist/app/conversation-page/use-message-reactions.js +24 -0
  49. package/dist/app/conversation-page/use-message-setup.d.ts +19 -0
  50. package/dist/app/conversation-page/use-message-setup.js +33 -0
  51. package/dist/app/conversation-page/use-message-writes.d.ts +14 -0
  52. package/dist/app/conversation-page/use-message-writes.js +49 -0
  53. package/dist/app/conversation-page/use-thread-address.d.ts +13 -0
  54. package/dist/app/conversation-page/use-thread-address.js +29 -0
  55. package/dist/app/conversation-page/use-thread-head.d.ts +15 -0
  56. package/dist/app/conversation-page/use-thread-head.js +31 -0
  57. package/dist/app/create/messages.d.ts +2 -2
  58. package/dist/app/current-address.d.ts +1 -0
  59. package/dist/app/current-address.js +2 -1
  60. package/dist/app/delete/messages.d.ts +2 -2
  61. package/dist/app/displays/messages.d.ts +2 -2
  62. package/dist/app/embedded-list/messages.d.ts +2 -2
  63. package/dist/app/export/messages.d.ts +2 -2
  64. package/dist/app/field-types/runner-install/messages.d.ts +2 -2
  65. package/dist/app/field-types/workflow/definition.d.ts +1 -1
  66. package/dist/app/field-types/workflow/messages.d.ts +2 -2
  67. package/dist/app/field-types/workflow-page/messages.d.ts +2 -2
  68. package/dist/app/field-types/workflow-run/messages.d.ts +2 -2
  69. package/dist/app/file-viewers/messages.d.ts +2 -2
  70. package/dist/app/focus/messages.d.ts +2 -2
  71. package/dist/app/gallery/gallery-layout.d.ts +2 -2
  72. package/dist/app/gallery/messages.d.ts +2 -2
  73. package/dist/app/hand-order/messages.d.ts +2 -2
  74. package/dist/app/history/messages.d.ts +2 -2
  75. package/dist/app/import/messages.d.ts +2 -2
  76. package/dist/app/list-messages.d.ts +2 -2
  77. package/dist/app/messages.d.ts +2 -2
  78. package/dist/app/pages/messages.d.ts +2 -2
  79. package/dist/app/record-chart/messages.d.ts +2 -2
  80. package/dist/app/record-messages.d.ts +2 -2
  81. package/dist/app/record-row/messages.d.ts +2 -2
  82. package/dist/app/related-cards/messages.d.ts +2 -2
  83. package/dist/app/runtime/messages.d.ts +2 -2
  84. package/dist/app/saved/messages.d.ts +2 -2
  85. package/dist/app/saved/use-favorite.d.ts +1 -1
  86. package/dist/app/searches/messages.d.ts +2 -2
  87. package/dist/app/searches/use-save-search.d.ts +1 -1
  88. package/dist/app-shell/messages.d.ts +2 -2
  89. package/dist/auth/messages.d.ts +2 -2
  90. package/dist/calls/messages.d.ts +2 -2
  91. package/dist/compact-table/messages.d.ts +2 -2
  92. package/dist/data/query-keys.d.ts +2 -0
  93. package/dist/data/query-keys.js +7 -0
  94. package/dist/data-grid/messages.d.ts +2 -2
  95. package/dist/filter-panel/messages.d.ts +2 -2
  96. package/dist/format/messages.d.ts +2 -2
  97. package/dist/invitations/messages.d.ts +2 -2
  98. package/dist/locale/en.js +33 -1
  99. package/dist/locale/en.json.d.ts +32 -0
  100. package/dist/locale/messages.d.ts +64 -0
  101. package/dist/locale/nl.js +33 -1
  102. package/dist/mailbox/messages.d.ts +2 -2
  103. package/dist/mocks/invoices.d.ts +1 -1
  104. package/dist/mocks/orders.d.ts +1 -1
  105. package/dist/notifications/bell/messages.d.ts +2 -2
  106. package/dist/organizations/messages.d.ts +2 -2
  107. package/dist/package.js +1 -1
  108. package/dist/plugins/messages.d.ts +2 -2
  109. package/dist/primitives/messages.d.ts +2 -2
  110. package/dist/shell/assets/{account-page-3oOLqJdq.js → account-page-D1S57VfK.js} +2 -2
  111. package/dist/shell/assets/{app-DjHH5Mka.js → app-2d0YQdR7.js} +7 -7
  112. package/dist/shell/assets/app-Cv0aTDUz.css +2 -0
  113. package/dist/shell/assets/{assistant-shell-RQTkG_2q.js → assistant-shell-Bb0KRa8E.js} +2 -2
  114. package/dist/shell/assets/board-display-B0hMSJLc.js +2 -0
  115. package/dist/shell/assets/calendar-display-DNTXJ2Lj.js +2 -0
  116. package/dist/shell/assets/{call-rings-NYyOUCrp.js → call-rings-D2efFDY-.js} +2 -2
  117. package/dist/shell/assets/{calls-BxDUPV6g.js → calls-mmgOyL_n.js} +2 -2
  118. package/dist/shell/assets/{circle-alert-4WHj4eiD.js → circle-alert-BWBUUk9M.js} +2 -2
  119. package/dist/shell/assets/{composed-page-NB57IFJx.js → composed-page-jwnPyg2o.js} +2 -2
  120. package/dist/shell/assets/{composer-section-nD86ydnx.js → composer-section-raPl4Mf_.js} +2 -2
  121. package/dist/shell/assets/{connect-route-CYi3CAzW.js → connect-route-DnTRKFdW.js} +2 -2
  122. package/dist/shell/assets/{copy-field-B21YVA1e.js → copy-field-BtAsyigB.js} +2 -2
  123. package/dist/shell/assets/create-route-CEuERj3K.js +2 -0
  124. package/dist/shell/assets/{custom-step-container-field-B0m2n_ZP.js → custom-step-container-field-B1RXdjeH.js} +4 -4
  125. package/dist/shell/assets/embedded-list-BIvBUQCm.js +3 -0
  126. package/dist/shell/assets/en-_QUqgkv9.js +2 -0
  127. package/dist/shell/assets/{export-dialog-Yp1PWTD3.js → export-dialog-BibbA1JE.js} +2 -2
  128. package/dist/shell/assets/export-worker-BUvAe-pU.js +15 -0
  129. package/dist/shell/assets/{first-organization-page-D_fYwVnJ.js → first-organization-page-DgL_N1W1.js} +2 -2
  130. package/dist/shell/assets/{graph-view-DpUh0125.js → graph-view-D5uSsu67.js} +2 -2
  131. package/dist/shell/assets/{group-donut-lFK0kxk2.js → group-donut-BeAjogon.js} +2 -2
  132. package/dist/shell/assets/{guest-call-page-y0vtPZ4Q.js → guest-call-page-DXOfa3rF.js} +3 -3
  133. package/dist/shell/assets/{html-viewer-Ch_o3S-N.js → html-viewer-SuYrL7fw.js} +2 -2
  134. package/dist/shell/assets/{import-dialog-COJYtW0v.js → import-dialog-DjMoHP8N.js} +2 -2
  135. package/dist/shell/assets/import-table-dialog-45beoZDX.js +2 -0
  136. package/dist/shell/assets/{index-Cog4qvBd.js → index-CH_1Ns3R.js} +1 -1
  137. package/dist/shell/assets/{invitations-page-DQ2gJKjJ.js → invitations-page-CwtY8Tbq.js} +2 -2
  138. package/dist/shell/assets/{layout-grid-CnWxeX6y.js → layout-grid-DSS3tNid.js} +2 -2
  139. package/dist/shell/assets/{legend-item-CxbnsaWM.js → legend-item--JCuOrBW.js} +2 -2
  140. package/dist/shell/assets/list-page-Do4wAJXr.js +4 -0
  141. package/dist/shell/assets/{maplibre-D91OvVN2.js → maplibre-DmuZi_YZ.js} +2 -2
  142. package/dist/shell/assets/{markdown-content-BBqjcKWb.js → markdown-content-B0lkEYGr.js} +2 -2
  143. package/dist/shell/assets/members-page-BaLe1e4J.js +2 -0
  144. package/dist/shell/assets/{message-content-BWbid0cJ.js → message-content-JJSKhX2W.js} +3 -3
  145. package/dist/shell/assets/messages-BaKmueMc.js +2 -0
  146. package/dist/shell/assets/nl-B7S2-35v.js +2 -0
  147. package/dist/shell/assets/organization-page-CIML07Cz.js +2 -0
  148. package/dist/shell/assets/organizations-page-Cctkt6cu.js +2 -0
  149. package/dist/shell/assets/parse-worker-BXZM3e8_.js +35 -0
  150. package/dist/shell/assets/{pending-invitation-row-lyixrKB6.js → pending-invitation-row-xf_wfIQ2.js} +2 -2
  151. package/dist/shell/assets/{period-chart-Bbc8p3Rg.js → period-chart-Cuw7AISK.js} +2 -2
  152. package/dist/shell/assets/{person-row-z2cLI7-t.js → person-row-DtXuek5W.js} +2 -2
  153. package/dist/shell/assets/public-form-page-noW7JMKv.js +2 -0
  154. package/dist/shell/assets/{record-lines-86164Z9g.js → record-lines-B-Wll3-R.js} +2 -2
  155. package/dist/shell/assets/{record-map-Bf4E_mGG.js → record-map-D6Yog0Uu.js} +2 -2
  156. package/dist/shell/assets/{record-opens-LCgqvPRp.js → record-opens-Cy15Gu5o.js} +2 -2
  157. package/dist/shell/assets/record-page-Bo0pD8vx.js +3 -0
  158. package/dist/shell/assets/{record-preview-Ccd8jn1P.js → record-preview-CDgsSTFF.js} +2 -2
  159. package/dist/shell/assets/{records-map-Dfn6Est5.js → records-map-CV5k8jcU.js} +2 -2
  160. package/dist/shell/assets/render-node-CtZZjLGx.js +3 -0
  161. package/dist/shell/assets/reorder-button-DHV9_n1M.js +2 -0
  162. package/dist/shell/assets/{run-trace-view-CSpcrh2g.js → run-trace-view-DOyzvKTV.js} +2 -2
  163. package/dist/shell/assets/{runner-install-field-Cx_wYqDa.js → runner-install-field-CJberN6i.js} +2 -2
  164. package/dist/shell/assets/{runtime-update-nAzCBurf.js → runtime-update-DiRL2UEA.js} +2 -2
  165. package/dist/shell/assets/shared-protobase-ui-Bq-qMwVs.js +1 -0
  166. package/dist/shell/assets/{sheet-source-c0GC-WZh.js → sheet-source-xZ9l3FLl.js} +3 -3
  167. package/dist/shell/assets/sign-in-policy-page-BUKwvVFG.js +2 -0
  168. package/dist/shell/assets/start-block-queries-s1eLXHpW.js +2 -0
  169. package/dist/shell/assets/step-catalog-BvlUh62_.js +2 -0
  170. package/dist/shell/assets/{step-panel-Dg17K_zr.js → step-panel-BGJiJ7z6.js} +2 -2
  171. package/dist/shell/assets/timeline-display-B_xs7U-p.js +2 -0
  172. package/dist/shell/assets/{trash-DhOlkezJ.js → trash-BfWYOlBD.js} +2 -2
  173. package/dist/shell/assets/{update-set-8ikjlH6J.js → update-set-iwxyRxhm.js} +2 -2
  174. package/dist/shell/assets/use-calendar-move-Cd92WAhx.js +2 -0
  175. package/dist/shell/assets/{use-display-rows-D-t41ukb.js → use-display-rows-HuX1NEhA.js} +2 -2
  176. package/dist/shell/assets/use-my-invitations-DaKmW2De.js +2 -0
  177. package/dist/shell/assets/{use-paged-search-Bd5FeVqP.js → use-paged-search-DPuOZYVz.js} +2 -2
  178. package/dist/shell/assets/{use-run-trace-zNmbuuI0.js → use-run-trace-Dukz4W0q.js} +2 -2
  179. package/dist/shell/assets/{use-workflow-page-CYSODCjU.js → use-workflow-page-Cgw-Aurp.js} +2 -2
  180. package/dist/shell/assets/{use-workflow-types-B_d3Wm_W.js → use-workflow-types-B1NI4zqE.js} +2 -2
  181. package/dist/shell/assets/{workflow-canvas-BhnZr06Y.js → workflow-canvas-B-IYnZVg.js} +4 -4
  182. package/dist/shell/assets/{workflow-field-DWpt44wp.js → workflow-field-BSH37gjx.js} +3 -3
  183. package/dist/shell/assets/{workflow-graph-editor-Ce_8ibEd.js → workflow-graph-editor-C1U_7a-n.js} +2 -2
  184. package/dist/shell/assets/{workflow-run-field-Bop7Wyjc.js → workflow-run-field-D_yV-Pdt.js} +3 -3
  185. package/dist/shell/assets/workflow-status-field-CIX3WM-W.js +2 -0
  186. package/dist/shell/assets/workflow-workbench-CoVlp47h.js +4 -0
  187. package/dist/shell/index.html +4 -4
  188. package/dist/shell/protobase.shell.json +2 -2
  189. package/dist/shell/protobase.sw.js +2 -2
  190. package/dist/shell-source-maps/assets/{account-page-3oOLqJdq.js.map → account-page-D1S57VfK.js.map} +1 -1
  191. package/dist/shell-source-maps/assets/app-2d0YQdR7.js.map +1 -0
  192. package/dist/shell-source-maps/assets/{assistant-shell-RQTkG_2q.js.map → assistant-shell-Bb0KRa8E.js.map} +1 -1
  193. package/dist/shell-source-maps/assets/{board-display-3VEgI2-G.js.map → board-display-B0hMSJLc.js.map} +1 -1
  194. package/dist/shell-source-maps/assets/{calendar-display-DnUzydOX.js.map → calendar-display-DNTXJ2Lj.js.map} +1 -1
  195. package/dist/shell-source-maps/assets/{call-rings-NYyOUCrp.js.map → call-rings-D2efFDY-.js.map} +1 -1
  196. package/dist/shell-source-maps/assets/{calls-BxDUPV6g.js.map → calls-mmgOyL_n.js.map} +1 -1
  197. package/dist/shell-source-maps/assets/{circle-alert-4WHj4eiD.js.map → circle-alert-BWBUUk9M.js.map} +1 -1
  198. package/dist/shell-source-maps/assets/{composed-page-NB57IFJx.js.map → composed-page-jwnPyg2o.js.map} +1 -1
  199. package/dist/shell-source-maps/assets/{composer-section-nD86ydnx.js.map → composer-section-raPl4Mf_.js.map} +1 -1
  200. package/dist/shell-source-maps/assets/{connect-route-CYi3CAzW.js.map → connect-route-DnTRKFdW.js.map} +1 -1
  201. package/dist/shell-source-maps/assets/{copy-field-B21YVA1e.js.map → copy-field-BtAsyigB.js.map} +1 -1
  202. package/dist/shell-source-maps/assets/{create-route-DG8lKoaw.js.map → create-route-CEuERj3K.js.map} +1 -1
  203. package/dist/shell-source-maps/assets/{custom-step-container-field-B0m2n_ZP.js.map → custom-step-container-field-B1RXdjeH.js.map} +1 -1
  204. package/dist/shell-source-maps/assets/{embedded-list-DPBYBewp.js.map → embedded-list-BIvBUQCm.js.map} +1 -1
  205. package/dist/shell-source-maps/assets/{en-BED8S1rX.js.map → en-_QUqgkv9.js.map} +1 -1
  206. package/dist/shell-source-maps/assets/{export-dialog-Yp1PWTD3.js.map → export-dialog-BibbA1JE.js.map} +1 -1
  207. package/dist/shell-source-maps/assets/export-worker-BUvAe-pU.js.map +1 -0
  208. package/dist/shell-source-maps/assets/{first-organization-page-D_fYwVnJ.js.map → first-organization-page-DgL_N1W1.js.map} +1 -1
  209. package/dist/shell-source-maps/assets/{graph-view-DpUh0125.js.map → graph-view-D5uSsu67.js.map} +1 -1
  210. package/dist/shell-source-maps/assets/{group-donut-lFK0kxk2.js.map → group-donut-BeAjogon.js.map} +1 -1
  211. package/dist/shell-source-maps/assets/{guest-call-page-y0vtPZ4Q.js.map → guest-call-page-DXOfa3rF.js.map} +1 -1
  212. package/dist/shell-source-maps/assets/{html-viewer-Ch_o3S-N.js.map → html-viewer-SuYrL7fw.js.map} +1 -1
  213. package/dist/shell-source-maps/assets/{import-dialog-COJYtW0v.js.map → import-dialog-DjMoHP8N.js.map} +1 -1
  214. package/dist/shell-source-maps/assets/{import-table-dialog-BVK63qN9.js.map → import-table-dialog-45beoZDX.js.map} +1 -1
  215. package/dist/shell-source-maps/assets/{invitations-page-DQ2gJKjJ.js.map → invitations-page-CwtY8Tbq.js.map} +1 -1
  216. package/dist/shell-source-maps/assets/{layout-grid-CnWxeX6y.js.map → layout-grid-DSS3tNid.js.map} +1 -1
  217. package/dist/shell-source-maps/assets/{legend-item-CxbnsaWM.js.map → legend-item--JCuOrBW.js.map} +1 -1
  218. package/dist/shell-source-maps/assets/{list-page-CVcURiCf.js.map → list-page-Do4wAJXr.js.map} +1 -1
  219. package/dist/shell-source-maps/assets/{maplibre-D91OvVN2.js.map → maplibre-DmuZi_YZ.js.map} +1 -1
  220. package/dist/shell-source-maps/assets/{markdown-content-BBqjcKWb.js.map → markdown-content-B0lkEYGr.js.map} +1 -1
  221. package/dist/shell-source-maps/assets/{members-page-nE56rARK.js.map → members-page-BaLe1e4J.js.map} +1 -1
  222. package/dist/shell-source-maps/assets/{message-content-BWbid0cJ.js.map → message-content-JJSKhX2W.js.map} +1 -1
  223. package/dist/shell-source-maps/assets/{messages-C2CtF7J9.js.map → messages-BaKmueMc.js.map} +1 -1
  224. package/dist/shell-source-maps/assets/nl-B7S2-35v.js.map +1 -0
  225. package/dist/shell-source-maps/assets/{organization-page-BFjoUdDW.js.map → organization-page-CIML07Cz.js.map} +1 -1
  226. package/dist/shell-source-maps/assets/{organizations-page-CkAMvdUh.js.map → organizations-page-Cctkt6cu.js.map} +1 -1
  227. package/dist/shell-source-maps/assets/parse-worker-BXZM3e8_.js.map +1 -0
  228. package/dist/shell-source-maps/assets/{pending-invitation-row-lyixrKB6.js.map → pending-invitation-row-xf_wfIQ2.js.map} +1 -1
  229. package/dist/shell-source-maps/assets/{period-chart-Bbc8p3Rg.js.map → period-chart-Cuw7AISK.js.map} +1 -1
  230. package/dist/shell-source-maps/assets/{person-row-z2cLI7-t.js.map → person-row-DtXuek5W.js.map} +1 -1
  231. package/dist/shell-source-maps/assets/{public-form-page-CdSWojtk.js.map → public-form-page-noW7JMKv.js.map} +1 -1
  232. package/dist/shell-source-maps/assets/{record-lines-86164Z9g.js.map → record-lines-B-Wll3-R.js.map} +1 -1
  233. package/dist/shell-source-maps/assets/{record-map-Bf4E_mGG.js.map → record-map-D6Yog0Uu.js.map} +1 -1
  234. package/dist/shell-source-maps/assets/{record-opens-LCgqvPRp.js.map → record-opens-Cy15Gu5o.js.map} +1 -1
  235. package/dist/shell-source-maps/assets/record-page-Bo0pD8vx.js.map +1 -0
  236. package/dist/shell-source-maps/assets/{record-preview-Ccd8jn1P.js.map → record-preview-CDgsSTFF.js.map} +1 -1
  237. package/dist/shell-source-maps/assets/{records-map-Dfn6Est5.js.map → records-map-CV5k8jcU.js.map} +1 -1
  238. package/dist/shell-source-maps/assets/{render-node-vMDMqnoF.js.map → render-node-CtZZjLGx.js.map} +1 -1
  239. package/dist/shell-source-maps/assets/{reorder-button-B8L4nfbO.js.map → reorder-button-DHV9_n1M.js.map} +1 -1
  240. package/dist/shell-source-maps/assets/{run-trace-view-CSpcrh2g.js.map → run-trace-view-DOyzvKTV.js.map} +1 -1
  241. package/dist/shell-source-maps/assets/{runner-install-field-Cx_wYqDa.js.map → runner-install-field-CJberN6i.js.map} +1 -1
  242. package/dist/shell-source-maps/assets/{runtime-update-nAzCBurf.js.map → runtime-update-DiRL2UEA.js.map} +1 -1
  243. package/dist/shell-source-maps/assets/{sheet-source-c0GC-WZh.js.map → sheet-source-xZ9l3FLl.js.map} +1 -1
  244. package/dist/shell-source-maps/assets/{sign-in-policy-page-CXa0c4KT.js.map → sign-in-policy-page-BUKwvVFG.js.map} +1 -1
  245. package/dist/shell-source-maps/assets/{start-block-queries-C05LRzeA.js.map → start-block-queries-s1eLXHpW.js.map} +1 -1
  246. package/dist/shell-source-maps/assets/{step-catalog-CK73Ybue.js.map → step-catalog-BvlUh62_.js.map} +1 -1
  247. package/dist/shell-source-maps/assets/{step-panel-Dg17K_zr.js.map → step-panel-BGJiJ7z6.js.map} +1 -1
  248. package/dist/shell-source-maps/assets/{timeline-display-kp9RN9m-.js.map → timeline-display-B_xs7U-p.js.map} +1 -1
  249. package/dist/shell-source-maps/assets/{trash-DhOlkezJ.js.map → trash-BfWYOlBD.js.map} +1 -1
  250. package/dist/shell-source-maps/assets/{update-set-8ikjlH6J.js.map → update-set-iwxyRxhm.js.map} +1 -1
  251. package/dist/shell-source-maps/assets/{use-calendar-move-DAoy91cG.js.map → use-calendar-move-Cd92WAhx.js.map} +1 -1
  252. package/dist/shell-source-maps/assets/{use-display-rows-D-t41ukb.js.map → use-display-rows-HuX1NEhA.js.map} +1 -1
  253. package/dist/shell-source-maps/assets/{use-my-invitations-DRo_aCmU.js.map → use-my-invitations-DaKmW2De.js.map} +1 -1
  254. package/dist/shell-source-maps/assets/{use-paged-search-Bd5FeVqP.js.map → use-paged-search-DPuOZYVz.js.map} +1 -1
  255. package/dist/shell-source-maps/assets/{use-run-trace-zNmbuuI0.js.map → use-run-trace-Dukz4W0q.js.map} +1 -1
  256. package/dist/shell-source-maps/assets/{use-workflow-page-CYSODCjU.js.map → use-workflow-page-Cgw-Aurp.js.map} +1 -1
  257. package/dist/shell-source-maps/assets/{use-workflow-types-B_d3Wm_W.js.map → use-workflow-types-B1NI4zqE.js.map} +1 -1
  258. package/dist/shell-source-maps/assets/{workflow-canvas-BhnZr06Y.js.map → workflow-canvas-B-IYnZVg.js.map} +1 -1
  259. package/dist/shell-source-maps/assets/{workflow-field-DWpt44wp.js.map → workflow-field-BSH37gjx.js.map} +1 -1
  260. package/dist/shell-source-maps/assets/{workflow-graph-editor-Ce_8ibEd.js.map → workflow-graph-editor-C1U_7a-n.js.map} +1 -1
  261. package/dist/shell-source-maps/assets/{workflow-run-field-Bop7Wyjc.js.map → workflow-run-field-D_yV-Pdt.js.map} +1 -1
  262. package/dist/shell-source-maps/assets/{workflow-status-field-BJlxjk2A.js.map → workflow-status-field-CIX3WM-W.js.map} +1 -1
  263. package/dist/shell-source-maps/assets/{workflow-workbench-fB8RaEan.js.map → workflow-workbench-CoVlp47h.js.map} +1 -1
  264. package/dist/status/messages.d.ts +2 -2
  265. package/dist/users/messages.d.ts +2 -2
  266. package/package.json +5 -5
  267. package/dist/shell/assets/app-DLkpxjgP.css +0 -2
  268. package/dist/shell/assets/board-display-3VEgI2-G.js +0 -2
  269. package/dist/shell/assets/calendar-display-DnUzydOX.js +0 -2
  270. package/dist/shell/assets/create-route-DG8lKoaw.js +0 -2
  271. package/dist/shell/assets/embedded-list-DPBYBewp.js +0 -3
  272. package/dist/shell/assets/en-BED8S1rX.js +0 -2
  273. package/dist/shell/assets/export-worker-S5xPFD_M.js +0 -15
  274. package/dist/shell/assets/import-table-dialog-BVK63qN9.js +0 -2
  275. package/dist/shell/assets/list-page-CVcURiCf.js +0 -4
  276. package/dist/shell/assets/members-page-nE56rARK.js +0 -2
  277. package/dist/shell/assets/messages-C2CtF7J9.js +0 -2
  278. package/dist/shell/assets/nl-DjHVomkB.js +0 -2
  279. package/dist/shell/assets/organization-page-BFjoUdDW.js +0 -2
  280. package/dist/shell/assets/organizations-page-CkAMvdUh.js +0 -2
  281. package/dist/shell/assets/parse-worker-CO_GFfU7.js +0 -35
  282. package/dist/shell/assets/public-form-page-CdSWojtk.js +0 -2
  283. package/dist/shell/assets/record-page-CjaqyGgn.js +0 -3
  284. package/dist/shell/assets/render-node-vMDMqnoF.js +0 -3
  285. package/dist/shell/assets/reorder-button-B8L4nfbO.js +0 -2
  286. package/dist/shell/assets/shared-protobase-ui-CjxtHEA2.js +0 -1
  287. package/dist/shell/assets/sign-in-policy-page-CXa0c4KT.js +0 -2
  288. package/dist/shell/assets/start-block-queries-C05LRzeA.js +0 -2
  289. package/dist/shell/assets/step-catalog-CK73Ybue.js +0 -2
  290. package/dist/shell/assets/timeline-display-kp9RN9m-.js +0 -2
  291. package/dist/shell/assets/use-calendar-move-DAoy91cG.js +0 -2
  292. package/dist/shell/assets/use-my-invitations-DRo_aCmU.js +0 -2
  293. package/dist/shell/assets/workflow-status-field-BJlxjk2A.js +0 -2
  294. package/dist/shell/assets/workflow-workbench-fB8RaEan.js +0 -4
  295. package/dist/shell-source-maps/assets/app-DjHH5Mka.js.map +0 -1
  296. package/dist/shell-source-maps/assets/export-worker-S5xPFD_M.js.map +0 -1
  297. package/dist/shell-source-maps/assets/nl-DjHVomkB.js.map +0 -1
  298. package/dist/shell-source-maps/assets/parse-worker-CO_GFfU7.js.map +0 -1
  299. package/dist/shell-source-maps/assets/record-page-CjaqyGgn.js.map +0 -1
@@ -1,7 +1,7 @@
1
1
  import { MessageValue } from "../locale/messages.js";
2
2
  //#region src/account/messages.d.ts
3
3
  export declare const text: {
4
- (id: "download" | "edit" | "default" | "name" | "as" | "account" | "mailbox" | "cancel" | "ended" | "noDevices" | "remove" | "revoke" | "copied" | "continue" | "signOut" | "loading" | "connected" | "passkey" | "code" | "optional" | "twoFactor" | "backupCodes" | "changeEmail" | "changePassword" | "setPassword" | "email" | "password" | "newPassword" | "newEmail" | "currentPassword" | "required" | "reset" | "save" | "passwordsDiffer" | "atLeast" | "useAtLeast" | "passwordTooLong" | "repeatPassword" | "addPasskey" | "staff" | "connections" | "done" | "passkeys" | "staffAccess" | "platformSignIn" | "noAccount" | "noAccountDescription" | "signInPolicy" | "couldNotReadMethods" | "couldNotReadProfile" | "profile" | "profileDescription" | "changeName" | "changeNameDescription" | "changeEmailDescription" | "sendCode" | "codeSentTo" | "otherAddress" | "theProvider" | "copy" | "yourPassword" | "passwordIsSet" | "passwordNotSet" | "passwordForbidden" | "passwordStaff" | "passwordSaved" | "changeSignsOutOthers" | "on" | "off" | "passkeysAllowed" | "passkeysRequired" | "passkeysForbidden" | "addedOn" | "addedEarlier" | "synced" | "oneDevice" | "rename" | "keepLastPasskey" | "confirmedAddPasskey" | "renamePasskey" | "renamePasskeyDescription" | "removePasskey" | "removePasskeyDescription" | "thisPasskey" | "connectedAccounts" | "connectedAccountsDescription" | "connect" | "connectAgain" | "mailboxDescription" | "fromAddresses" | "fromAddressesDescription" | "couldNotReadFromAddresses" | "mailboxOwnAddress" | "makeDefault" | "ownSignature" | "genericSignature" | "addFromAddress" | "addFromAddressDescription" | "changeFromAddressDescription" | "addAddress" | "fromAddress" | "fromAddressPlaceholder" | "fromName" | "fromNamePlaceholder" | "defaultFromAddress" | "signature" | "signaturePlaceholder" | "removeFromAddress" | "removeFromAddressDescription" | "connectionsDescription" | "connectedOn" | "connectionNeedsSignIn" | "connectionUsedBy" | "disconnect" | "disconnectTitle" | "disconnectDescription" | "disconnectWholeGrant" | "disconnectedRevoked" | "disconnectedQueued" | "disconnectedNotRevoked" | "stopped" | "signedInUntil" | "devices" | "devicesDescription" | "couldNotReadDevices" | "thisDevice" | "browserOn" | "aBrowserOn" | "unknownDevice" | "staffOf" | "signedInFromUntil" | "signOutDevice" | "signOutDeviceDescription" | "signOutLinkedDeviceDescription" | "deviceThrough" | "linkedOn" | "signOutOthers" | "signOutOthersTitle" | "signOutOthersDescription" | "staffSignIns" | "staffSignInsDescription" | "noStaffSignIns" | "qrCode" | "twoFactorAllowed" | "twoFactorRequired" | "twoFactorForbidden" | "twoFactorOnWithApp" | "twoFactorOnWithAppOrMail" | "twoFactorOnWithMail" | "turnOn" | "turnOff" | "addAuthenticator" | "newBackupCodes" | "twoFactorIsRequired" | "turnOffTitle" | "turnOffDescription" | "newCodesTitle" | "newCodesDescription" | "makeNewCodes" | "yourNewCodes" | "keepCodesSafe" | "savedCodes" | "authenticatorApp" | "authenticatorAppDescription" | "emailedCode" | "emailedCodeDescription" | "twoFactorIsOn" | "scanCode" | "cannotScan" | "codeFromApp" | "secondStep" | "passwordDescription" | "emailedSignInCode" | "emailedSignInCodeDescription" | "passkeysPolicyDescription" | "twoFactorPolicyDescription" | "staffAccessDescription" | "emailThePerson" | "platformSignInDescription" | "platformSignInWith" | "codeNeedsMail" | "passwordStaysOn" | "staffNeedsMail" | "platformOff" | "appliesAs" | "lastSaved" | "lastSavedBy" | "neverChanged" | "couldNotReadStaffSignIns" | "couldNotReadPolicy" | "policySaved" | "policySubtitle" | "mcpAddress" | "mcpAddressDescription" | "copyMcpAddress" | "accessTokens" | "accessTokensDescription" | "couldNotReadAccessTokens" | "noAccessTokens" | "newAccessToken" | "newAccessTokenDescription" | "accessTokenNamePlaceholder" | "accessTokenExpiry" | "expiresIn30Days" | "expiresIn90Days" | "expiresInAYear" | "neverExpires" | "createAccessToken" | "confirmedCreateAccessToken" | "accessTokenCreated" | "accessTokenCreatedDescription" | "copyAccessToken" | "noAnswerFromServer" | "copyRefused" | "createdOn" | "expiresOn" | "expiredOn" | "lastUsedOn" | "notUsedYet" | "actsAs" | "actsAsIn" | "revokeAccessToken" | "revokeAccessTokenDescription" | "addToClaude" | "deleteAccount" | "deleteAccountDescription" | "deleteAccountStaff" | "deleteAccountQuestion" | "deleteAccountWarning" | "deleteAccountPassword" | "deleteAccountConfirm" | "deleteAccountLastAdmin" | "deleteAccountLocked", values?: Record<string, MessageValue>): string;
5
- rich(id: "download" | "edit" | "default" | "name" | "as" | "account" | "mailbox" | "cancel" | "ended" | "noDevices" | "remove" | "revoke" | "copied" | "continue" | "signOut" | "loading" | "connected" | "passkey" | "code" | "optional" | "twoFactor" | "backupCodes" | "changeEmail" | "changePassword" | "setPassword" | "email" | "password" | "newPassword" | "newEmail" | "currentPassword" | "required" | "reset" | "save" | "passwordsDiffer" | "atLeast" | "useAtLeast" | "passwordTooLong" | "repeatPassword" | "addPasskey" | "staff" | "connections" | "done" | "passkeys" | "staffAccess" | "platformSignIn" | "noAccount" | "noAccountDescription" | "signInPolicy" | "couldNotReadMethods" | "couldNotReadProfile" | "profile" | "profileDescription" | "changeName" | "changeNameDescription" | "changeEmailDescription" | "sendCode" | "codeSentTo" | "otherAddress" | "theProvider" | "copy" | "yourPassword" | "passwordIsSet" | "passwordNotSet" | "passwordForbidden" | "passwordStaff" | "passwordSaved" | "changeSignsOutOthers" | "on" | "off" | "passkeysAllowed" | "passkeysRequired" | "passkeysForbidden" | "addedOn" | "addedEarlier" | "synced" | "oneDevice" | "rename" | "keepLastPasskey" | "confirmedAddPasskey" | "renamePasskey" | "renamePasskeyDescription" | "removePasskey" | "removePasskeyDescription" | "thisPasskey" | "connectedAccounts" | "connectedAccountsDescription" | "connect" | "connectAgain" | "mailboxDescription" | "fromAddresses" | "fromAddressesDescription" | "couldNotReadFromAddresses" | "mailboxOwnAddress" | "makeDefault" | "ownSignature" | "genericSignature" | "addFromAddress" | "addFromAddressDescription" | "changeFromAddressDescription" | "addAddress" | "fromAddress" | "fromAddressPlaceholder" | "fromName" | "fromNamePlaceholder" | "defaultFromAddress" | "signature" | "signaturePlaceholder" | "removeFromAddress" | "removeFromAddressDescription" | "connectionsDescription" | "connectedOn" | "connectionNeedsSignIn" | "connectionUsedBy" | "disconnect" | "disconnectTitle" | "disconnectDescription" | "disconnectWholeGrant" | "disconnectedRevoked" | "disconnectedQueued" | "disconnectedNotRevoked" | "stopped" | "signedInUntil" | "devices" | "devicesDescription" | "couldNotReadDevices" | "thisDevice" | "browserOn" | "aBrowserOn" | "unknownDevice" | "staffOf" | "signedInFromUntil" | "signOutDevice" | "signOutDeviceDescription" | "signOutLinkedDeviceDescription" | "deviceThrough" | "linkedOn" | "signOutOthers" | "signOutOthersTitle" | "signOutOthersDescription" | "staffSignIns" | "staffSignInsDescription" | "noStaffSignIns" | "qrCode" | "twoFactorAllowed" | "twoFactorRequired" | "twoFactorForbidden" | "twoFactorOnWithApp" | "twoFactorOnWithAppOrMail" | "twoFactorOnWithMail" | "turnOn" | "turnOff" | "addAuthenticator" | "newBackupCodes" | "twoFactorIsRequired" | "turnOffTitle" | "turnOffDescription" | "newCodesTitle" | "newCodesDescription" | "makeNewCodes" | "yourNewCodes" | "keepCodesSafe" | "savedCodes" | "authenticatorApp" | "authenticatorAppDescription" | "emailedCode" | "emailedCodeDescription" | "twoFactorIsOn" | "scanCode" | "cannotScan" | "codeFromApp" | "secondStep" | "passwordDescription" | "emailedSignInCode" | "emailedSignInCodeDescription" | "passkeysPolicyDescription" | "twoFactorPolicyDescription" | "staffAccessDescription" | "emailThePerson" | "platformSignInDescription" | "platformSignInWith" | "codeNeedsMail" | "passwordStaysOn" | "staffNeedsMail" | "platformOff" | "appliesAs" | "lastSaved" | "lastSavedBy" | "neverChanged" | "couldNotReadStaffSignIns" | "couldNotReadPolicy" | "policySaved" | "policySubtitle" | "mcpAddress" | "mcpAddressDescription" | "copyMcpAddress" | "accessTokens" | "accessTokensDescription" | "couldNotReadAccessTokens" | "noAccessTokens" | "newAccessToken" | "newAccessTokenDescription" | "accessTokenNamePlaceholder" | "accessTokenExpiry" | "expiresIn30Days" | "expiresIn90Days" | "expiresInAYear" | "neverExpires" | "createAccessToken" | "confirmedCreateAccessToken" | "accessTokenCreated" | "accessTokenCreatedDescription" | "copyAccessToken" | "noAnswerFromServer" | "copyRefused" | "createdOn" | "expiresOn" | "expiredOn" | "lastUsedOn" | "notUsedYet" | "actsAs" | "actsAsIn" | "revokeAccessToken" | "revokeAccessTokenDescription" | "addToClaude" | "deleteAccount" | "deleteAccountDescription" | "deleteAccountStaff" | "deleteAccountQuestion" | "deleteAccountWarning" | "deleteAccountPassword" | "deleteAccountConfirm" | "deleteAccountLastAdmin" | "deleteAccountLocked", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
4
+ (id: "download" | "name" | "cancel" | "as" | "account" | "mailbox" | "ended" | "noDevices" | "remove" | "revoke" | "copied" | "continue" | "connected" | "connections" | "edit" | "default" | "reset" | "signOut" | "loading" | "save" | "passkey" | "code" | "optional" | "twoFactor" | "backupCodes" | "changeEmail" | "changePassword" | "setPassword" | "email" | "password" | "newPassword" | "newEmail" | "currentPassword" | "required" | "passwordsDiffer" | "atLeast" | "useAtLeast" | "passwordTooLong" | "repeatPassword" | "addPasskey" | "staff" | "done" | "copy" | "connect" | "connectAgain" | "otherAddress" | "off" | "on" | "stopped" | "noAccount" | "noAccountDescription" | "signInPolicy" | "couldNotReadMethods" | "couldNotReadProfile" | "profile" | "profileDescription" | "changeName" | "changeNameDescription" | "changeEmailDescription" | "sendCode" | "codeSentTo" | "theProvider" | "yourPassword" | "passwordIsSet" | "passwordNotSet" | "passwordForbidden" | "passwordStaff" | "passwordSaved" | "changeSignsOutOthers" | "passkeys" | "passkeysAllowed" | "passkeysRequired" | "passkeysForbidden" | "addedOn" | "addedEarlier" | "synced" | "oneDevice" | "rename" | "keepLastPasskey" | "confirmedAddPasskey" | "renamePasskey" | "renamePasskeyDescription" | "removePasskey" | "removePasskeyDescription" | "thisPasskey" | "connectedAccounts" | "connectedAccountsDescription" | "mailboxDescription" | "fromAddresses" | "fromAddressesDescription" | "couldNotReadFromAddresses" | "mailboxOwnAddress" | "makeDefault" | "ownSignature" | "genericSignature" | "addFromAddress" | "addFromAddressDescription" | "changeFromAddressDescription" | "addAddress" | "fromAddress" | "fromAddressPlaceholder" | "fromName" | "fromNamePlaceholder" | "defaultFromAddress" | "signature" | "signaturePlaceholder" | "removeFromAddress" | "removeFromAddressDescription" | "connectionsDescription" | "connectedOn" | "connectionNeedsSignIn" | "connectionUsedBy" | "disconnect" | "disconnectTitle" | "disconnectDescription" | "disconnectWholeGrant" | "disconnectedRevoked" | "disconnectedQueued" | "disconnectedNotRevoked" | "signedInUntil" | "devices" | "devicesDescription" | "couldNotReadDevices" | "thisDevice" | "browserOn" | "aBrowserOn" | "unknownDevice" | "staffOf" | "signedInFromUntil" | "signOutDevice" | "signOutDeviceDescription" | "signOutLinkedDeviceDescription" | "deviceThrough" | "linkedOn" | "signOutOthers" | "signOutOthersTitle" | "signOutOthersDescription" | "staffSignIns" | "staffSignInsDescription" | "noStaffSignIns" | "qrCode" | "twoFactorAllowed" | "twoFactorRequired" | "twoFactorForbidden" | "twoFactorOnWithApp" | "twoFactorOnWithAppOrMail" | "twoFactorOnWithMail" | "turnOn" | "turnOff" | "addAuthenticator" | "newBackupCodes" | "twoFactorIsRequired" | "turnOffTitle" | "turnOffDescription" | "newCodesTitle" | "newCodesDescription" | "makeNewCodes" | "yourNewCodes" | "keepCodesSafe" | "savedCodes" | "authenticatorApp" | "authenticatorAppDescription" | "emailedCode" | "emailedCodeDescription" | "twoFactorIsOn" | "scanCode" | "cannotScan" | "codeFromApp" | "secondStep" | "passwordDescription" | "emailedSignInCode" | "emailedSignInCodeDescription" | "passkeysPolicyDescription" | "twoFactorPolicyDescription" | "staffAccess" | "staffAccessDescription" | "emailThePerson" | "platformSignIn" | "platformSignInDescription" | "platformSignInWith" | "codeNeedsMail" | "passwordStaysOn" | "staffNeedsMail" | "platformOff" | "appliesAs" | "lastSaved" | "lastSavedBy" | "neverChanged" | "couldNotReadStaffSignIns" | "couldNotReadPolicy" | "policySaved" | "policySubtitle" | "mcpAddress" | "mcpAddressDescription" | "copyMcpAddress" | "accessTokens" | "accessTokensDescription" | "couldNotReadAccessTokens" | "noAccessTokens" | "newAccessToken" | "newAccessTokenDescription" | "accessTokenNamePlaceholder" | "accessTokenExpiry" | "expiresIn30Days" | "expiresIn90Days" | "expiresInAYear" | "neverExpires" | "createAccessToken" | "confirmedCreateAccessToken" | "accessTokenCreated" | "accessTokenCreatedDescription" | "copyAccessToken" | "noAnswerFromServer" | "copyRefused" | "createdOn" | "expiresOn" | "expiredOn" | "lastUsedOn" | "notUsedYet" | "actsAs" | "actsAsIn" | "revokeAccessToken" | "revokeAccessTokenDescription" | "addToClaude" | "deleteAccount" | "deleteAccountDescription" | "deleteAccountStaff" | "deleteAccountQuestion" | "deleteAccountWarning" | "deleteAccountPassword" | "deleteAccountConfirm" | "deleteAccountLastAdmin" | "deleteAccountLocked", values?: Record<string, MessageValue>): string;
5
+ rich(id: "download" | "name" | "cancel" | "as" | "account" | "mailbox" | "ended" | "noDevices" | "remove" | "revoke" | "copied" | "continue" | "connected" | "connections" | "edit" | "default" | "reset" | "signOut" | "loading" | "save" | "passkey" | "code" | "optional" | "twoFactor" | "backupCodes" | "changeEmail" | "changePassword" | "setPassword" | "email" | "password" | "newPassword" | "newEmail" | "currentPassword" | "required" | "passwordsDiffer" | "atLeast" | "useAtLeast" | "passwordTooLong" | "repeatPassword" | "addPasskey" | "staff" | "done" | "copy" | "connect" | "connectAgain" | "otherAddress" | "off" | "on" | "stopped" | "noAccount" | "noAccountDescription" | "signInPolicy" | "couldNotReadMethods" | "couldNotReadProfile" | "profile" | "profileDescription" | "changeName" | "changeNameDescription" | "changeEmailDescription" | "sendCode" | "codeSentTo" | "theProvider" | "yourPassword" | "passwordIsSet" | "passwordNotSet" | "passwordForbidden" | "passwordStaff" | "passwordSaved" | "changeSignsOutOthers" | "passkeys" | "passkeysAllowed" | "passkeysRequired" | "passkeysForbidden" | "addedOn" | "addedEarlier" | "synced" | "oneDevice" | "rename" | "keepLastPasskey" | "confirmedAddPasskey" | "renamePasskey" | "renamePasskeyDescription" | "removePasskey" | "removePasskeyDescription" | "thisPasskey" | "connectedAccounts" | "connectedAccountsDescription" | "mailboxDescription" | "fromAddresses" | "fromAddressesDescription" | "couldNotReadFromAddresses" | "mailboxOwnAddress" | "makeDefault" | "ownSignature" | "genericSignature" | "addFromAddress" | "addFromAddressDescription" | "changeFromAddressDescription" | "addAddress" | "fromAddress" | "fromAddressPlaceholder" | "fromName" | "fromNamePlaceholder" | "defaultFromAddress" | "signature" | "signaturePlaceholder" | "removeFromAddress" | "removeFromAddressDescription" | "connectionsDescription" | "connectedOn" | "connectionNeedsSignIn" | "connectionUsedBy" | "disconnect" | "disconnectTitle" | "disconnectDescription" | "disconnectWholeGrant" | "disconnectedRevoked" | "disconnectedQueued" | "disconnectedNotRevoked" | "signedInUntil" | "devices" | "devicesDescription" | "couldNotReadDevices" | "thisDevice" | "browserOn" | "aBrowserOn" | "unknownDevice" | "staffOf" | "signedInFromUntil" | "signOutDevice" | "signOutDeviceDescription" | "signOutLinkedDeviceDescription" | "deviceThrough" | "linkedOn" | "signOutOthers" | "signOutOthersTitle" | "signOutOthersDescription" | "staffSignIns" | "staffSignInsDescription" | "noStaffSignIns" | "qrCode" | "twoFactorAllowed" | "twoFactorRequired" | "twoFactorForbidden" | "twoFactorOnWithApp" | "twoFactorOnWithAppOrMail" | "twoFactorOnWithMail" | "turnOn" | "turnOff" | "addAuthenticator" | "newBackupCodes" | "twoFactorIsRequired" | "turnOffTitle" | "turnOffDescription" | "newCodesTitle" | "newCodesDescription" | "makeNewCodes" | "yourNewCodes" | "keepCodesSafe" | "savedCodes" | "authenticatorApp" | "authenticatorAppDescription" | "emailedCode" | "emailedCodeDescription" | "twoFactorIsOn" | "scanCode" | "cannotScan" | "codeFromApp" | "secondStep" | "passwordDescription" | "emailedSignInCode" | "emailedSignInCodeDescription" | "passkeysPolicyDescription" | "twoFactorPolicyDescription" | "staffAccess" | "staffAccessDescription" | "emailThePerson" | "platformSignIn" | "platformSignInDescription" | "platformSignInWith" | "codeNeedsMail" | "passwordStaysOn" | "staffNeedsMail" | "platformOff" | "appliesAs" | "lastSaved" | "lastSavedBy" | "neverChanged" | "couldNotReadStaffSignIns" | "couldNotReadPolicy" | "policySaved" | "policySubtitle" | "mcpAddress" | "mcpAddressDescription" | "copyMcpAddress" | "accessTokens" | "accessTokensDescription" | "couldNotReadAccessTokens" | "noAccessTokens" | "newAccessToken" | "newAccessTokenDescription" | "accessTokenNamePlaceholder" | "accessTokenExpiry" | "expiresIn30Days" | "expiresIn90Days" | "expiresInAYear" | "neverExpires" | "createAccessToken" | "confirmedCreateAccessToken" | "accessTokenCreated" | "accessTokenCreatedDescription" | "copyAccessToken" | "noAnswerFromServer" | "copyRefused" | "createdOn" | "expiresOn" | "expiredOn" | "lastUsedOn" | "notUsedYet" | "actsAs" | "actsAsIn" | "revokeAccessToken" | "revokeAccessTokenDescription" | "addToClaude" | "deleteAccount" | "deleteAccountDescription" | "deleteAccountStaff" | "deleteAccountQuestion" | "deleteAccountWarning" | "deleteAccountPassword" | "deleteAccountConfirm" | "deleteAccountLastAdmin" | "deleteAccountLocked", 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/app/change-confirm/messages.d.ts
3
3
  export declare const text: {
4
- (id: "title" | "change" | "cancel", values?: Record<string, MessageValue>): string;
5
- rich(id: "title" | "change" | "cancel", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
4
+ (id: "title" | "cancel" | "change", values?: Record<string, MessageValue>): string;
5
+ rich(id: "title" | "cancel" | "change", 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/app/charts/messages.d.ts
3
3
  export declare const text: {
4
- (id: "count" | "sum" | "couldNotLoad" | "maximum" | "today" | "records" | "yes" | "no" | "average" | "nothingYet" | "notSet" | "other" | "toToday" | "period" | "chartKeys", values?: Record<string, MessageValue>): string;
5
- rich(id: "count" | "sum" | "couldNotLoad" | "maximum" | "today" | "records" | "yes" | "no" | "average" | "nothingYet" | "notSet" | "other" | "toToday" | "period" | "chartKeys", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
4
+ (id: "count" | "sum" | "yes" | "no" | "couldNotLoad" | "today" | "records" | "maximum" | "notSet" | "nothingYet" | "other" | "toToday" | "period" | "average" | "chartKeys", values?: Record<string, MessageValue>): string;
5
+ rich(id: "count" | "sum" | "yes" | "no" | "couldNotLoad" | "today" | "records" | "maximum" | "notSet" | "nothingYet" | "other" | "toToday" | "period" | "average" | "chartKeys", 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/app/confirm-sign-in-messages.d.ts
3
3
  export declare const text: {
4
- (id: "password" | "emailCode" | "codeSent" | "emailedCode" | "confirmTitle" | "confirmWhy" | "confirmWhyChange" | "usePasskey" | "authenticatorCode" | "confirm" | "emailNewCode" | "nothingToConfirmWith", values?: Record<string, MessageValue>): string;
5
- rich(id: "password" | "emailCode" | "codeSent" | "emailedCode" | "confirmTitle" | "confirmWhy" | "confirmWhyChange" | "usePasskey" | "authenticatorCode" | "confirm" | "emailNewCode" | "nothingToConfirmWith", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
4
+ (id: "password" | "emailCode" | "codeSent" | "confirm" | "confirmTitle" | "emailedCode" | "confirmWhy" | "confirmWhyChange" | "usePasskey" | "authenticatorCode" | "emailNewCode" | "nothingToConfirmWith", values?: Record<string, MessageValue>): string;
5
+ rich(id: "password" | "emailCode" | "codeSent" | "confirm" | "confirmTitle" | "emailedCode" | "confirmWhy" | "confirmWhyChange" | "usePasskey" | "authenticatorCode" | "emailNewCode" | "nothingToConfirmWith", 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/app/conversation/messages.d.ts
3
3
  export declare const text: {
4
- (id: "couldNotLoad" | "details" | "notSent" | "noMessages" | "loadingMessages" | "callInput" | "callResult" | "callError" | "couldNotLoadCalls" | "edited" | "editedAt" | "positionNotSaved", values?: Record<string, MessageValue>): string;
5
- rich(id: "couldNotLoad" | "details" | "notSent" | "noMessages" | "loadingMessages" | "callInput" | "callResult" | "callError" | "couldNotLoadCalls" | "edited" | "editedAt" | "positionNotSaved", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
4
+ (id: "cancel" | "someone" | "copied" | "edit" | "thread" | "message" | "couldNotLoad" | "save" | "delete" | "notSent" | "details" | "deleteDescription" | "deleteTitle" | "noMessages" | "loadingMessages" | "callInput" | "callResult" | "callError" | "couldNotLoadCalls" | "edited" | "editedAt" | "positionNotSaved" | "messageActions" | "reactWith" | "react" | "reactedBy" | "replyInThread" | "copyText" | "editMessage" | "yourMessage" | "messageFrom" | "showYourActions" | "showActionsFrom" | "showActions" | "notSaved" | "notDeleted" | "reactionNotSaved" | "replies" | "lastReply" | "replyPlaceholder" | "couldNotLoadThread" | "threadElsewhere" | "couldNotLoadReactions" | "notCopied", values?: Record<string, MessageValue>): string;
5
+ rich(id: "cancel" | "someone" | "copied" | "edit" | "thread" | "message" | "couldNotLoad" | "save" | "delete" | "notSent" | "details" | "deleteDescription" | "deleteTitle" | "noMessages" | "loadingMessages" | "callInput" | "callResult" | "callError" | "couldNotLoadCalls" | "edited" | "editedAt" | "positionNotSaved" | "messageActions" | "reactWith" | "react" | "reactedBy" | "replyInThread" | "copyText" | "editMessage" | "yourMessage" | "messageFrom" | "showYourActions" | "showActionsFrom" | "showActions" | "notSaved" | "notDeleted" | "reactionNotSaved" | "replies" | "lastReply" | "replyPlaceholder" | "couldNotLoadThread" | "threadElsewhere" | "couldNotLoadReactions" | "notCopied", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
6
6
  };
7
7
  //#endregion
@@ -1,19 +1,22 @@
1
1
  import { ChatAuthor } from "../../chat/chat-message.js";
2
2
  import "../../chat/index.js";
3
- import { Member } from "../../people/use-members.js";
4
- import { ConversationPageModel } from "@protobase/schema";
3
+ import { MessageSetup } from "./message-setup.js";
5
4
  //#region src/app/conversation-page/conversation-message.d.ts
6
5
  type Props = {
7
- page: ConversationPageModel;
6
+ setup: MessageSetup;
8
7
  row: Record<string, unknown>;
8
+ /** The message's key, as text. */
9
+ messageKey: string;
9
10
  author: ChatAuthor;
10
11
  time: string | undefined;
11
12
  continued: boolean;
12
- member: (id: string) => Member | undefined;
13
13
  };
14
14
  /**
15
- * One message under its author, named after the organization's member with their id when there is one, its text with
16
- * the people it mentions picked out as `MentionedText` does, and "(edited)" under it once changed.
15
+ * One message under its author, named after the organization's member with their id when there is one: its text with
16
+ * the people it mentions picked out as `MentionedText` does, or a box to change it while its author edits it; in the
17
+ * conversation itself its thread's replies; and a footer of "(edited)" once changed and its reactions. What the reader
18
+ * can do to it shows in a bar while they point at it, or, by touch, in a sheet a tap or long-press opens, which also
19
+ * copies its text; a button only a keyboard or screen reader reaches opens that sheet on a touch screen too.
17
20
  */
18
- export declare const ConversationMessage: ({ page, row, author, time, continued, member }: Props) => import("react").JSX.Element;
21
+ export declare const ConversationMessage: ({ setup, row, messageKey, author, time, continued }: Props) => import("react").JSX.Element;
19
22
  //#endregion
@@ -1,35 +1,122 @@
1
+ import { cn } from "../../lib/cn.js";
2
+ import { buttonClass } from "../../primitives/button.js";
1
3
  import { formatDateTime } from "../../format/date.js";
2
4
  import { ChatMessage } from "../../chat/chat-message.js";
3
5
  import { MentionedText } from "../../mentions/mentioned-text.js";
4
6
  import { text } from "./messages.js";
5
- import { jsx } from "react/jsx-runtime";
7
+ import { DeleteMessageDialog } from "./delete-message-dialog.js";
8
+ import { MessageActionsBar } from "./message-actions-bar.js";
9
+ import { MessageActionsSheet } from "./message-actions-sheet.js";
10
+ import { MessageEditor } from "./message-editor.js";
11
+ import { ReactionChips } from "./reaction-chips.js";
12
+ import { ThreadSummary } from "./thread-summary.js";
13
+ import { useMessageControls } from "./use-message-controls.js";
14
+ import { useMessagePress } from "./use-message-press.js";
15
+ import { useState } from "react";
16
+ import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
6
17
  //#region src/app/conversation-page/conversation-message.tsx
7
18
  const idsOf = (value) => Array.isArray(value) ? value.filter((id) => typeof id === "string") : [];
8
19
  /**
9
- * One message under its author, named after the organization's member with their id when there is one, its text with
10
- * the people it mentions picked out as `MentionedText` does, and "(edited)" under it once changed.
20
+ * One message under its author, named after the organization's member with their id when there is one: its text with
21
+ * the people it mentions picked out as `MentionedText` does, or a box to change it while its author edits it; in the
22
+ * conversation itself its thread's replies; and a footer of "(edited)" once changed and its reactions. What the reader
23
+ * can do to it shows in a bar while they point at it, or, by touch, in a sheet a tap or long-press opens, which also
24
+ * copies its text; a button only a keyboard or screen reader reaches opens that sheet on a touch screen too.
11
25
  */
12
- const ConversationMessage = ({ page, row, author, time, continued, member }) => {
26
+ const ConversationMessage = ({ setup, row, messageKey, author, time, continued }) => {
27
+ const { page, me, member } = setup;
28
+ const [editing, setEditing] = useState(false);
29
+ const [deleting, setDeleting] = useState(false);
30
+ const [acting, setActing] = useState(false);
31
+ const press = useMessagePress(() => setActing(true));
13
32
  const body = row[page.text] == null ? "" : String(row[page.text]);
14
- const mentioned = page.mentions === void 0 ? [] : idsOf(row[page.mentions]).map((id) => ({ name: member(id)?.name }));
33
+ const mine = me !== void 0 && author.id === me;
34
+ const name = member(author.id)?.name ?? author.name;
35
+ const mentionIds = page.mentions === void 0 ? [] : idsOf(row[page.mentions]);
36
+ const controls = useMessageControls(setup, {
37
+ row,
38
+ key: messageKey,
39
+ mine,
40
+ body,
41
+ onEdit: () => setEditing(true),
42
+ onDelete: () => setDeleting(true)
43
+ });
15
44
  const edited = page.edited === void 0 ? void 0 : row[page.edited];
16
- const footer = typeof edited === "string" && /* @__PURE__ */ jsx("span", {
17
- title: text("editedAt", { time: formatDateTime(Date.parse(edited)) }),
18
- children: text("edited")
45
+ const replies = page.thread && setup.threadTo ? Number(row[page.thread.count] ?? 0) : 0;
46
+ const last = page.thread && typeof row[page.thread.last] === "string" ? row[page.thread.last] : void 0;
47
+ const chips = controls.groups.length > 0 && /* @__PURE__ */ jsx(ReactionChips, {
48
+ groups: controls.groups,
49
+ member,
50
+ onReact: controls.onReact,
51
+ onUnreact: controls.onUnreact
19
52
  });
20
- return /* @__PURE__ */ jsx(ChatMessage, {
21
- author: {
22
- id: author.id,
23
- name: member(author.id)?.name ?? author.name
24
- },
25
- time,
26
- continued,
27
- footer,
28
- children: /* @__PURE__ */ jsx(MentionedText, {
29
- text: body,
30
- mentions: mentioned
31
- })
53
+ const footer = (typeof edited === "string" || chips) && /* @__PURE__ */ jsxs("span", {
54
+ className: "flex flex-wrap items-center gap-1",
55
+ children: [typeof edited === "string" && /* @__PURE__ */ jsx("span", {
56
+ title: text("editedAt", { time: formatDateTime(Date.parse(edited)) }),
57
+ children: text("edited")
58
+ }), chips]
32
59
  });
60
+ const title = mine ? text("yourMessage") : name ? text("messageFrom", { name }) : text("message");
61
+ const showLabel = mine ? text("showYourActions") : name ? text("showActionsFrom", { name }) : text("showActions");
62
+ return /* @__PURE__ */ jsxs(Fragment$1, { children: [
63
+ /* @__PURE__ */ jsxs("div", {
64
+ "data-message": messageKey,
65
+ className: cn("group relative rounded-md [@media(hover:none)]:select-none [@media(hover:none)]:[-webkit-touch-callout:none] [&_a]:[-webkit-touch-callout:default]", acting && "bg-muted"),
66
+ ...!editing && press,
67
+ children: [
68
+ !editing && /* @__PURE__ */ jsx(MessageActionsBar, { controls }),
69
+ !editing && /* @__PURE__ */ jsx("button", {
70
+ type: "button",
71
+ className: cn(buttonClass({
72
+ variant: "secondary",
73
+ size: "sm"
74
+ }), "sr-only focus-visible:not-sr-only focus-visible:absolute focus-visible:right-0 focus-visible:top-0 focus-visible:z-10 [@media(hover:hover)]:hidden"),
75
+ onClick: () => setActing(true),
76
+ children: showLabel
77
+ }),
78
+ /* @__PURE__ */ jsxs(ChatMessage, {
79
+ author: {
80
+ id: author.id,
81
+ name
82
+ },
83
+ time,
84
+ continued,
85
+ footer,
86
+ children: [editing ? /* @__PURE__ */ jsx(MessageEditor, {
87
+ body,
88
+ picked: mentionIds.flatMap((id) => member(id) ? [{
89
+ id,
90
+ name: member(id).name
91
+ }] : []),
92
+ searchPeople: setup.searchPeople,
93
+ onSave: (changed, mentions) => setup.writes.edit(messageKey, changed, mentions),
94
+ onCancel: () => setEditing(false)
95
+ }) : /* @__PURE__ */ jsx(MentionedText, {
96
+ text: body,
97
+ mentions: mentionIds.map((id) => ({ name: member(id)?.name }))
98
+ }), replies > 0 && controls.thread && /* @__PURE__ */ jsx(ThreadSummary, {
99
+ count: replies,
100
+ last,
101
+ to: controls.thread
102
+ })]
103
+ })
104
+ ]
105
+ }),
106
+ deleting && /* @__PURE__ */ jsx(DeleteMessageDialog, {
107
+ onClose: () => setDeleting(false),
108
+ onDelete: () => {
109
+ setDeleting(false);
110
+ setup.writes.remove(messageKey);
111
+ }
112
+ }),
113
+ acting && !editing && /* @__PURE__ */ jsx(MessageActionsSheet, {
114
+ controls,
115
+ title,
116
+ preview: body,
117
+ onClose: () => setActing(false)
118
+ })
119
+ ] });
33
120
  };
34
121
  //#endregion
35
122
  export { ConversationMessage };
@@ -1,4 +1,6 @@
1
- import { ConversationPageModel, ResourceModel } from "@protobase/schema";
1
+ import { PeopleSearch } from "../../mentions/use-people-search.js";
2
+ import "../../mentions/index.js";
3
+ import { AppAddress, ConversationPageModel, ResourceModel } from "@protobase/schema";
2
4
  //#region src/app/conversation-page/conversation-messages.d.ts
3
5
  type Props = {
4
6
  page: ConversationPageModel;
@@ -11,12 +13,16 @@ type Props = {
11
13
  openedAt: number | undefined;
12
14
  readTo: ((key: number) => void) | undefined;
13
15
  };
16
+ /** The address that opens a message's thread, for a conversation with threads. */
17
+ threadTo?: (key: string) => AppAddress;
18
+ /** Finds the people `@` lists while editing a message. */
19
+ searchPeople?: PeopleSearch;
14
20
  };
15
21
  /**
16
22
  * The record's messages, the latest page with earlier ones on request, read with the reader's own access and their
17
23
  * senders' names in the same read, kept current as the live updates tell of new, changed and deleted ones. They show
18
24
  * once the read position is there too, so they open on the "New messages" line, and reading to the end moves it. They
19
- * scroll in a box of their own, so the box that sends one stays in view.
25
+ * scroll in a box of their own, so the box that sends one stays in view. Their reactions are read a page at a time.
20
26
  */
21
- export declare const ConversationMessages: ({ page, model, recordKey, me, position }: Props) => import("react").JSX.Element;
27
+ export declare const ConversationMessages: ({ page, model, recordKey, me, position, threadTo, searchPeople }: Props) => import("react").JSX.Element;
22
28
  //#endregion
@@ -1,6 +1,5 @@
1
1
  import { useAdminMeta } from "../meta-gate.js";
2
2
  import { recordKey } from "../../live/model-helpers.js";
3
- import { useMembers } from "../../people/use-members.js";
4
3
  import { useList } from "../../data/use-list.js";
5
4
  import { ErrorBanner } from "../error-banner.js";
6
5
  import { Quiet } from "../pages/blocks/card-frame.js";
@@ -12,6 +11,7 @@ import { text } from "./messages.js";
12
11
  import { ConversationMessage } from "./conversation-message.js";
13
12
  import { messagesRequest } from "./conversation-reads.js";
14
13
  import { conversationRows, firstUnreadKey } from "./conversation-rows.js";
14
+ import { useMessageSetup } from "./use-message-setup.js";
15
15
  import { useNewLine } from "./use-new-line.js";
16
16
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
17
17
  //#region src/app/conversation-page/conversation-messages.tsx
@@ -19,11 +19,10 @@ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
19
19
  * The record's messages, the latest page with earlier ones on request, read with the reader's own access and their
20
20
  * senders' names in the same read, kept current as the live updates tell of new, changed and deleted ones. They show
21
21
  * once the read position is there too, so they open on the "New messages" line, and reading to the end moves it. They
22
- * scroll in a box of their own, so the box that sends one stays in view.
22
+ * scroll in a box of their own, so the box that sends one stays in view. Their reactions are read a page at a time.
23
23
  */
24
- const ConversationMessages = ({ page, model, recordKey: recordKey$1, me, position }) => {
24
+ const ConversationMessages = ({ page, model, recordKey: recordKey$1, me, position, threadTo, searchPeople }) => {
25
25
  const { resources, views } = useAdminMeta();
26
- const { member } = useMembers();
27
26
  const senders = [page.sender];
28
27
  const list = useList(model.name, {
29
28
  ...messagesRequest(page, recordKey$1),
@@ -31,6 +30,13 @@ const ConversationMessages = ({ page, model, recordKey: recordKey$1, me, positio
31
30
  });
32
31
  const oldestFirst = withLabels(resources, model, senders, list.items, list.labels).reverse();
33
32
  const key = (row) => String(recordKey(model, row));
33
+ const { setup, reactionsError } = useMessageSetup({
34
+ page,
35
+ me,
36
+ pages: (list.data?.pages ?? []).map((read) => read.items.map(key)),
37
+ threadTo,
38
+ searchPeople
39
+ });
34
40
  const state = threadState(list);
35
41
  const loaded = state === "messages" && !list.isLoading && position.ready;
36
42
  const newLineAbove = useNewLine(loaded && oldestFirst.length > 0 && position.openedAt !== void 0 && me !== void 0, () => firstUnreadKey(oldestFirst, {
@@ -57,29 +63,39 @@ const ConversationMessages = ({ page, model, recordKey: recordKey$1, me, positio
57
63
  const newest = oldestFirst.at(-1);
58
64
  const own = rows.findLast((line) => line.kind === "message" && me !== void 0 && line.author.id === me);
59
65
  const readTo = position.readTo;
60
- return /* @__PURE__ */ jsxs(Fragment, { children: [showsErrorAbove(list) && /* @__PURE__ */ jsx("div", {
61
- className: "shrink-0 p-2",
62
- children: /* @__PURE__ */ jsx(ErrorBanner, {
63
- title: text("couldNotLoad"),
64
- error: list.error,
65
- onRetry: retryOf(list)
66
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
67
+ showsErrorAbove(list) && /* @__PURE__ */ jsx("div", {
68
+ className: "shrink-0 p-2",
69
+ children: /* @__PURE__ */ jsx(ErrorBanner, {
70
+ title: text("couldNotLoad"),
71
+ error: list.error,
72
+ onRetry: retryOf(list)
73
+ })
74
+ }),
75
+ reactionsError !== void 0 && /* @__PURE__ */ jsx("div", {
76
+ className: "shrink-0 p-2",
77
+ children: /* @__PURE__ */ jsx(ErrorBanner, {
78
+ title: text("couldNotLoadReactions"),
79
+ error: reactionsError
80
+ })
81
+ }),
82
+ /* @__PURE__ */ jsx(ChatThread, {
83
+ length: oldestFirst.length,
84
+ followKey: own?.key,
85
+ empty: page.empty ?? text("noMessages"),
86
+ onLoadEarlier: list.hasNextPage ? () => void list.fetchNextPage() : void 0,
87
+ loadingEarlier: list.isFetchingNextPage,
88
+ onReadToEnd: readTo && newest ? () => readTo(Number(key(newest))) : void 0,
89
+ children: rows.map((line) => line.kind === "day" ? /* @__PURE__ */ jsx(ChatDivider, { label: line.label }, line.key) : line.kind === "new" ? /* @__PURE__ */ jsx(ChatDivider, { tone: "new" }, line.key) : /* @__PURE__ */ jsx(ConversationMessage, {
90
+ setup,
91
+ row: line.row,
92
+ messageKey: line.key,
93
+ author: line.author,
94
+ time: line.time,
95
+ continued: line.continued
96
+ }, line.key))
66
97
  })
67
- }), /* @__PURE__ */ jsx(ChatThread, {
68
- length: oldestFirst.length,
69
- followKey: own?.key,
70
- empty: page.empty ?? text("noMessages"),
71
- onLoadEarlier: list.hasNextPage ? () => void list.fetchNextPage() : void 0,
72
- loadingEarlier: list.isFetchingNextPage,
73
- onReadToEnd: readTo && newest ? () => readTo(Number(key(newest))) : void 0,
74
- children: rows.map((line) => line.kind === "day" ? /* @__PURE__ */ jsx(ChatDivider, { label: line.label }, line.key) : line.kind === "new" ? /* @__PURE__ */ jsx(ChatDivider, { tone: "new" }, line.key) : /* @__PURE__ */ jsx(ConversationMessage, {
75
- page,
76
- row: line.row,
77
- author: line.author,
78
- time: line.time,
79
- continued: line.continued,
80
- member
81
- }, line.key))
82
- })] });
98
+ ] });
83
99
  };
84
100
  //#endregion
85
101
  export { ConversationMessages };
@@ -8,7 +8,8 @@ type Props = {
8
8
  /**
9
9
  * A record page that is the record's conversation (`.record({ conversation })`), filling the content area: its header,
10
10
  * its messages and the box that sends one, where `@` lists the organization's members. The page does not scroll; the
11
- * messages scroll in a box of their own, so the box stays in view. Key it by the record, so another one starts afresh.
11
+ * messages scroll in a box of their own, so the box stays in view. With threads, the thread its address names
12
+ * (`?thread=`) opens in a panel beside it. Key it by the record, so another one starts afresh.
12
13
  */
13
14
  export declare const ConversationPage: ({ page, scope }: Props) => import("react").JSX.Element;
14
15
  //#endregion
@@ -9,13 +9,16 @@ import { text } from "./messages.js";
9
9
  import { ConversationHeader } from "./conversation-header.js";
10
10
  import { ConversationMessages } from "./conversation-messages.js";
11
11
  import { matchingMembers } from "./member-search.js";
12
+ import { ThreadPanel } from "./thread-panel.js";
12
13
  import { useReadPosition } from "./use-read-position.js";
14
+ import { useThreadAddress } from "./use-thread-address.js";
13
15
  import { jsx, jsxs } from "react/jsx-runtime";
14
16
  //#region src/app/conversation-page/conversation-page.tsx
15
17
  /**
16
18
  * A record page that is the record's conversation (`.record({ conversation })`), filling the content area: its header,
17
19
  * its messages and the box that sends one, where `@` lists the organization's members. The page does not scroll; the
18
- * messages scroll in a box of their own, so the box stays in view. Key it by the record, so another one starts afresh.
20
+ * messages scroll in a box of their own, so the box stays in view. With threads, the thread its address names
21
+ * (`?thread=`) opens in a panel beside it. Key it by the record, so another one starts afresh.
19
22
  */
20
23
  const ConversationPage = ({ page, scope }) => {
21
24
  const { resources, views } = useAdminMeta();
@@ -32,37 +35,55 @@ const ConversationPage = ({ page, scope }) => {
32
35
  me
33
36
  });
34
37
  const searchPeople = page.mentions === void 0 ? void 0 : async (query) => matchingMembers(members.data ?? [], query, me);
38
+ const thread = useThreadAddress(scope.model.name, scope.key);
39
+ const threaded = page.thread && {
40
+ ...page,
41
+ thread: page.thread
42
+ };
35
43
  return /* @__PURE__ */ jsx(FullArea, { children: /* @__PURE__ */ jsxs("div", {
36
- className: "flex min-h-0 min-w-0 flex-col",
37
- children: [
38
- /* @__PURE__ */ jsx(ConversationHeader, {
39
- page,
40
- scope,
41
- title
42
- }),
43
- /* @__PURE__ */ jsx(ConversationMessages, {
44
- page,
45
- model,
46
- recordKey: scope.key,
47
- me,
48
- position
49
- }),
50
- position.error !== void 0 && /* @__PURE__ */ jsx("p", {
51
- className: "shrink-0 px-4 text-sm text-danger-text",
52
- children: text("positionNotSaved")
53
- }),
54
- /* @__PURE__ */ jsx("div", {
55
- className: "shrink-0 px-3 pb-3",
56
- children: /* @__PURE__ */ jsx(MessageComposer, {
57
- resource: page.resource,
58
- field: page.text,
59
- values: { [page.field]: keyValue(scope.model, scope.key) },
60
- placeholder: page.placeholder,
61
- searchPeople,
62
- mentions: page.mentions
44
+ className: "flex min-h-0 min-w-0",
45
+ children: [/* @__PURE__ */ jsxs("div", {
46
+ className: "flex min-h-0 min-w-0 flex-1 flex-col",
47
+ children: [
48
+ /* @__PURE__ */ jsx(ConversationHeader, {
49
+ page,
50
+ scope,
51
+ title
52
+ }),
53
+ /* @__PURE__ */ jsx(ConversationMessages, {
54
+ page,
55
+ model,
56
+ recordKey: scope.key,
57
+ me,
58
+ position,
59
+ threadTo: threaded && thread.to,
60
+ searchPeople
61
+ }),
62
+ position.error !== void 0 && /* @__PURE__ */ jsx("p", {
63
+ className: "shrink-0 px-4 text-sm text-danger-text",
64
+ children: text("positionNotSaved")
65
+ }),
66
+ /* @__PURE__ */ jsx("div", {
67
+ className: "shrink-0 px-3 pb-3",
68
+ children: /* @__PURE__ */ jsx(MessageComposer, {
69
+ resource: page.resource,
70
+ field: page.text,
71
+ values: { [page.field]: keyValue(scope.model, scope.key) },
72
+ placeholder: page.placeholder,
73
+ searchPeople,
74
+ mentions: page.mentions
75
+ })
63
76
  })
64
- })
65
- ]
77
+ ]
78
+ }), threaded && thread.open !== void 0 && /* @__PURE__ */ jsx(ThreadPanel, {
79
+ page: threaded,
80
+ owner: scope.model,
81
+ recordKey: scope.key,
82
+ first: thread.open,
83
+ me,
84
+ searchPeople,
85
+ onClose: thread.close
86
+ }, thread.open)]
66
87
  }) });
67
88
  };
68
89
  //#endregion
@@ -1,16 +1,30 @@
1
- import { ConversationPageModel, ReadPositionModel } from "@protobase/schema";
1
+ import { Client } from "@protobase/client";
2
+ import { ConversationPageModel, ReactionsModel, ReadPositionModel } from "@protobase/schema";
2
3
  //#region src/app/conversation-page/conversation-reads.d.ts
3
4
  /** How many messages a page of the conversation brings: the latest on opening, and each "Load earlier". */
4
5
  export declare const conversationPageSize = 50;
6
+ /** How many reactions one read of a page of messages brings; a page with more reads on until it has them all. */
7
+ export declare const reactionsPageSize = 500;
5
8
  /**
6
9
  * The read of a conversation's messages through the list API, with the reader's own access, so a message they may not
7
- * read never shows: those whose relation holds the record's key, newest first, a page at a time.
10
+ * read never shows: those whose relation holds the record's key, newest first, a page at a time. With threads, only
11
+ * the messages of the conversation itself, not the replies in a thread.
8
12
  */
9
- export declare const messagesRequest: (page: Pick<ConversationPageModel, "field" | "time">, recordKey: string) => {
13
+ export declare const messagesRequest: (page: Pick<ConversationPageModel, "field" | "time" | "thread">, recordKey: string) => {
10
14
  filter: string;
11
15
  orderBy: string;
12
16
  pageSize: number;
13
17
  };
18
+ /** The read of the replies in the thread of the message keyed `first`, newest first, a page at a time. */
19
+ export declare const repliesRequest: (page: Pick<ConversationPageModel, "time">, thread: NonNullable<ConversationPageModel["thread"]>, first: string) => {
20
+ filter: string;
21
+ orderBy: string;
22
+ pageSize: number;
23
+ };
24
+ /** The filter of the reactions to the messages keyed `messages`. */
25
+ export declare const reactionsFilter: (reactions: Pick<ReactionsModel, "field">, messages: readonly string[]) => string;
26
+ /** Every reaction to the messages keyed `messages`, in one read, or one per `reactionsPageSize` of them. */
27
+ export declare const readReactions: (client: Pick<Client, "list">, reactions: Pick<ReactionsModel, "resource" | "field">, messages: readonly string[]) => Promise<Record<string, unknown>[]>;
14
28
  /**
15
29
  * The read of the reader's own read position in a record, through the list API: the one whose relation holds the
16
30
  * record's key and whose author, `author`, is `me`, even where the resource lets them read other people's.