@protobase/ui 0.121.5 → 0.121.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/messages.d.ts +2 -2
- package/dist/activity-chart/messages.d.ts +2 -2
- package/dist/app/charts/messages.d.ts +2 -2
- package/dist/app/comments/messages.d.ts +2 -2
- package/dist/app/confirm-sign-in-messages.d.ts +2 -2
- package/dist/app/conversation/messages.d.ts +2 -2
- package/dist/app/conversation/thread-state.d.ts +1 -1
- package/dist/app/conversation-page/conversation-call.d.ts +14 -0
- package/dist/app/conversation-page/conversation-call.js +28 -0
- package/dist/app/conversation-page/conversation-header.d.ts +2 -1
- package/dist/app/conversation-page/conversation-header.js +20 -12
- package/dist/app/conversation-page/conversation-message.d.ts +10 -7
- package/dist/app/conversation-page/conversation-message.js +107 -20
- package/dist/app/conversation-page/conversation-messages.d.ts +9 -3
- package/dist/app/conversation-page/conversation-messages.js +42 -26
- package/dist/app/conversation-page/conversation-page.d.ts +4 -1
- package/dist/app/conversation-page/conversation-page.js +60 -28
- package/dist/app/conversation-page/conversation-reads.d.ts +17 -3
- package/dist/app/conversation-page/conversation-reads.js +30 -4
- package/dist/app/conversation-page/delete-message-dialog.d.ts +7 -0
- package/dist/app/conversation-page/delete-message-dialog.js +22 -0
- package/dist/app/conversation-page/message-access.d.ts +19 -0
- package/dist/app/conversation-page/message-access.js +25 -0
- package/dist/app/conversation-page/message-actions-bar.d.ts +12 -0
- package/dist/app/conversation-page/message-actions-bar.js +57 -0
- package/dist/app/conversation-page/message-actions-sheet.d.ts +18 -0
- package/dist/app/conversation-page/message-actions-sheet.js +73 -0
- package/dist/app/conversation-page/message-controls.d.ts +19 -0
- package/dist/app/conversation-page/message-controls.js +0 -0
- package/dist/app/conversation-page/message-editor.d.ts +23 -0
- package/dist/app/conversation-page/message-editor.js +72 -0
- package/dist/app/conversation-page/message-press.d.ts +59 -0
- package/dist/app/conversation-page/message-press.js +55 -0
- package/dist/app/conversation-page/message-setup.d.ts +27 -0
- package/dist/app/conversation-page/message-setup.js +0 -0
- package/dist/app/conversation-page/messages.d.ts +2 -2
- package/dist/app/conversation-page/reaction-chips.d.ts +18 -0
- package/dist/app/conversation-page/reaction-chips.js +30 -0
- package/dist/app/conversation-page/reactions.d.ts +28 -0
- package/dist/app/conversation-page/reactions.js +31 -0
- package/dist/app/conversation-page/reply-labels.d.ts +4 -0
- package/dist/app/conversation-page/reply-labels.js +9 -0
- package/dist/app/conversation-page/thread-head.d.ts +4 -0
- package/dist/app/conversation-page/thread-head.js +5 -0
- package/dist/app/conversation-page/thread-panel.d.ts +25 -0
- package/dist/app/conversation-page/thread-panel.js +107 -0
- package/dist/app/conversation-page/thread-summary.d.ts +10 -0
- package/dist/app/conversation-page/thread-summary.js +26 -0
- package/dist/app/conversation-page/use-message-controls.d.ts +14 -0
- package/dist/app/conversation-page/use-message-controls.js +32 -0
- package/dist/app/conversation-page/use-message-press.d.ts +16 -0
- package/dist/app/conversation-page/use-message-press.js +88 -0
- package/dist/app/conversation-page/use-message-reactions.d.ts +13 -0
- package/dist/app/conversation-page/use-message-reactions.js +24 -0
- package/dist/app/conversation-page/use-message-setup.d.ts +19 -0
- package/dist/app/conversation-page/use-message-setup.js +33 -0
- package/dist/app/conversation-page/use-message-writes.d.ts +14 -0
- package/dist/app/conversation-page/use-message-writes.js +49 -0
- package/dist/app/conversation-page/use-thread-address.d.ts +13 -0
- package/dist/app/conversation-page/use-thread-address.js +32 -0
- package/dist/app/conversation-page/use-thread-head.d.ts +15 -0
- package/dist/app/conversation-page/use-thread-head.js +31 -0
- package/dist/app/create/messages.d.ts +2 -2
- package/dist/app/current-address.d.ts +1 -0
- package/dist/app/current-address.js +2 -1
- package/dist/app/custom-section.d.ts +1 -1
- package/dist/app/delete/messages.d.ts +2 -2
- package/dist/app/displays/list-cards.d.ts +1 -1
- package/dist/app/displays/messages.d.ts +2 -2
- package/dist/app/embedded-list/messages.d.ts +2 -2
- package/dist/app/export/messages.d.ts +2 -2
- package/dist/app/field-messages.d.ts +2 -2
- package/dist/app/field-types/custom-step-container/messages.d.ts +2 -2
- package/dist/app/field-types/runner-install/messages.d.ts +2 -2
- package/dist/app/field-types/widget-part.d.ts +1 -1
- package/dist/app/field-types/workflow/definition.d.ts +1 -1
- package/dist/app/field-types/workflow/messages.d.ts +2 -2
- package/dist/app/field-types/workflow-page/messages.d.ts +2 -2
- package/dist/app/field-types/workflow-run/messages.d.ts +2 -2
- package/dist/app/field-types/workflow-status/messages.d.ts +2 -2
- package/dist/app/file-viewers/messages.d.ts +2 -2
- package/dist/app/focus/messages.d.ts +2 -2
- package/dist/app/gallery/messages.d.ts +2 -2
- package/dist/app/hand-order/messages.d.ts +2 -2
- package/dist/app/history/messages.d.ts +2 -2
- package/dist/app/import/messages.d.ts +2 -2
- package/dist/app/list-messages.d.ts +2 -2
- package/dist/app/messages.d.ts +2 -2
- package/dist/app/meta-gate-messages.d.ts +2 -2
- package/dist/app/new-version/messages.d.ts +2 -2
- package/dist/app/pages/custom-boundary.d.ts +1 -1
- package/dist/app/pages/custom-chosen.d.ts +1 -1
- package/dist/app/pages/messages.d.ts +2 -2
- package/dist/app/record-chart/messages.d.ts +2 -2
- package/dist/app/record-messages.d.ts +2 -2
- package/dist/app/record-mode/shown-layout.d.ts +1 -1
- package/dist/app/record-row/messages.d.ts +2 -2
- package/dist/app/related-cards/messages.d.ts +2 -2
- package/dist/app/runtime/messages.d.ts +2 -2
- package/dist/app/saved/messages.d.ts +2 -2
- package/dist/app/saved/saved-list.d.ts +1 -1
- package/dist/app/saved/use-favorite.d.ts +1 -1
- package/dist/app/search/messages.d.ts +2 -2
- package/dist/app/searches/messages.d.ts +2 -2
- package/dist/app/searches/use-save-search.d.ts +1 -1
- package/dist/app-shell/messages.d.ts +2 -2
- package/dist/assistant-dock/messages.d.ts +2 -2
- package/dist/auth/messages.d.ts +2 -2
- package/dist/calls/messages.d.ts +2 -2
- package/dist/carousel/messages.d.ts +2 -2
- package/dist/chat/messages.d.ts +2 -2
- package/dist/data/api-provider.d.ts +3 -0
- package/dist/data/query-keys.d.ts +2 -0
- package/dist/data/query-keys.js +7 -0
- package/dist/data-grid/messages.d.ts +2 -2
- package/dist/filter-panel/messages.d.ts +2 -2
- package/dist/format/messages.d.ts +2 -2
- package/dist/forms/messages.d.ts +2 -2
- package/dist/invitations/messages.d.ts +2 -2
- package/dist/live/messages.d.ts +2 -2
- package/dist/locale/en.js +33 -1
- package/dist/locale/en.json.d.ts +32 -0
- package/dist/locale/messages.d.ts +64 -0
- package/dist/locale/nl.js +33 -1
- package/dist/locale/texts-gate.d.ts +1 -1
- package/dist/mailbox/messages.d.ts +2 -2
- package/dist/markdown/messages.d.ts +2 -2
- package/dist/mentions/messages.d.ts +2 -2
- package/dist/mocks/orders.d.ts +1 -1
- package/dist/notifications/bell/messages.d.ts +2 -2
- package/dist/organizations/messages.d.ts +2 -2
- package/dist/package.js +1 -1
- package/dist/plugins/before-sign-in.d.ts +1 -1
- package/dist/plugins/messages.d.ts +2 -2
- package/dist/primitives/messages.d.ts +2 -2
- package/dist/record-view/messages.d.ts +2 -2
- package/dist/shell/assets/{account-page-3oOLqJdq.js → account-page-D2DFhATt.js} +2 -2
- package/dist/shell/assets/{app-DjHH5Mka.js → app-BYgBo_z1.js} +7 -7
- package/dist/shell/assets/app-woXO0qfi.css +2 -0
- package/dist/shell/assets/{assistant-shell-RQTkG_2q.js → assistant-shell-CZuq3-_1.js} +2 -2
- package/dist/shell/assets/board-display-BC1Xwyy-.js +2 -0
- package/dist/shell/assets/calendar-display-BAQS9s6i.js +2 -0
- package/dist/shell/assets/{call-rings-NYyOUCrp.js → call-rings-B9fm8IVt.js} +2 -2
- package/dist/shell/assets/{calls-BxDUPV6g.js → calls-Czowx1YO.js} +2 -2
- package/dist/shell/assets/{circle-alert-4WHj4eiD.js → circle-alert-_fRBdP-Q.js} +2 -2
- package/dist/shell/assets/{composed-page-NB57IFJx.js → composed-page-CW54YFwq.js} +2 -2
- package/dist/shell/assets/{composer-section-nD86ydnx.js → composer-section-C5FkK1rg.js} +2 -2
- package/dist/shell/assets/{connect-route-CYi3CAzW.js → connect-route-9UQdPFMU.js} +2 -2
- package/dist/shell/assets/{copy-field-B21YVA1e.js → copy-field-kzYEwhr-.js} +2 -2
- package/dist/shell/assets/create-route-BUYfZRsc.js +2 -0
- package/dist/shell/assets/{custom-step-container-field-B0m2n_ZP.js → custom-step-container-field--zORrk8N.js} +4 -4
- package/dist/shell/assets/embedded-list-CHU_9xSx.js +3 -0
- package/dist/shell/assets/en-_QUqgkv9.js +2 -0
- package/dist/shell/assets/{export-dialog-Yp1PWTD3.js → export-dialog-BOBW8mCE.js} +2 -2
- package/dist/shell/assets/export-worker-BUvAe-pU.js +15 -0
- package/dist/shell/assets/{first-organization-page-D_fYwVnJ.js → first-organization-page-MW8S5Y7S.js} +2 -2
- package/dist/shell/assets/{graph-view-DpUh0125.js → graph-view-D0OeBjYF.js} +2 -2
- package/dist/shell/assets/{group-donut-lFK0kxk2.js → group-donut-xyziydWM.js} +2 -2
- package/dist/shell/assets/{guest-call-page-y0vtPZ4Q.js → guest-call-page-DH1kDNtt.js} +3 -3
- package/dist/shell/assets/{html-viewer-Ch_o3S-N.js → html-viewer-c3e-7OLn.js} +2 -2
- package/dist/shell/assets/{import-dialog-COJYtW0v.js → import-dialog-C6bOsAIq.js} +2 -2
- package/dist/shell/assets/import-table-dialog-CQccEHdf.js +2 -0
- package/dist/shell/assets/{index-Cog4qvBd.js → index-CLpS4x6F.js} +1 -1
- package/dist/shell/assets/{invitations-page-DQ2gJKjJ.js → invitations-page-D6HhsOWj.js} +2 -2
- package/dist/shell/assets/{layout-grid-CnWxeX6y.js → layout-grid-pjoZzXon.js} +2 -2
- package/dist/shell/assets/{legend-item-CxbnsaWM.js → legend-item-B86V--7o.js} +2 -2
- package/dist/shell/assets/list-page-dNzugv-H.js +4 -0
- package/dist/shell/assets/{maplibre-D91OvVN2.js → maplibre-DQzo1J5C.js} +2 -2
- package/dist/shell/assets/{markdown-content-BBqjcKWb.js → markdown-content-MhPltQkM.js} +2 -2
- package/dist/shell/assets/members-page-CtpsMd1_.js +2 -0
- package/dist/shell/assets/{message-content-BWbid0cJ.js → message-content-BcVNCPRA.js} +3 -3
- package/dist/shell/assets/messages-DbktI6r5.js +2 -0
- package/dist/shell/assets/nl-B7S2-35v.js +2 -0
- package/dist/shell/assets/organization-page-DFbVBi0Z.js +2 -0
- package/dist/shell/assets/organizations-page-CwNmA9m_.js +2 -0
- package/dist/shell/assets/parse-worker-BXZM3e8_.js +35 -0
- package/dist/shell/assets/{pending-invitation-row-lyixrKB6.js → pending-invitation-row-DoSd4IA0.js} +2 -2
- package/dist/shell/assets/{period-chart-Bbc8p3Rg.js → period-chart-BHhRENq9.js} +2 -2
- package/dist/shell/assets/{person-row-z2cLI7-t.js → person-row-CAw28fyx.js} +2 -2
- package/dist/shell/assets/public-form-page-BSMW5adw.js +2 -0
- package/dist/shell/assets/{record-lines-86164Z9g.js → record-lines-D6y6-mvM.js} +2 -2
- package/dist/shell/assets/{record-map-Bf4E_mGG.js → record-map-BWSxXERS.js} +2 -2
- package/dist/shell/assets/{record-opens-LCgqvPRp.js → record-opens-CgMvd88M.js} +2 -2
- package/dist/shell/assets/record-page-YjDzQpdH.js +3 -0
- package/dist/shell/assets/{record-preview-Ccd8jn1P.js → record-preview-BI6XSujc.js} +2 -2
- package/dist/shell/assets/{records-map-Dfn6Est5.js → records-map-DqgtOW5s.js} +2 -2
- package/dist/shell/assets/render-node-WNms9GRI.js +3 -0
- package/dist/shell/assets/reorder-button-el0y4Qb_.js +2 -0
- package/dist/shell/assets/{run-trace-view-CSpcrh2g.js → run-trace-view-DlOxyoRy.js} +2 -2
- package/dist/shell/assets/{runner-install-field-Cx_wYqDa.js → runner-install-field-BW0Yr1jA.js} +2 -2
- package/dist/shell/assets/{runtime-update-nAzCBurf.js → runtime-update-15cUO82W.js} +2 -2
- package/dist/shell/assets/shared-protobase-ui-CrlPSKTg.js +1 -0
- package/dist/shell/assets/{sheet-source-c0GC-WZh.js → sheet-source-CXBPRRJ7.js} +3 -3
- package/dist/shell/assets/sign-in-policy-page-C-Norcx-.js +2 -0
- package/dist/shell/assets/start-block-queries-Ds0t8AIB.js +2 -0
- package/dist/shell/assets/step-catalog-C0Jv_f2p.js +2 -0
- package/dist/shell/assets/{step-panel-Dg17K_zr.js → step-panel-xxYW43ZO.js} +2 -2
- package/dist/shell/assets/timeline-display-DMfHIekc.js +2 -0
- package/dist/shell/assets/{trash-DhOlkezJ.js → trash-DZjQRbg0.js} +2 -2
- package/dist/shell/assets/{update-set-8ikjlH6J.js → update-set-C0O3YlPe.js} +2 -2
- package/dist/shell/assets/use-calendar-move-Ck9j0VjG.js +2 -0
- package/dist/shell/assets/{use-display-rows-D-t41ukb.js → use-display-rows-BI5CIpA4.js} +2 -2
- package/dist/shell/assets/use-my-invitations-DOL5bOzC.js +2 -0
- package/dist/shell/assets/{use-paged-search-Bd5FeVqP.js → use-paged-search-CxcddHjw.js} +2 -2
- package/dist/shell/assets/{use-run-trace-zNmbuuI0.js → use-run-trace-Dxw-VDf9.js} +2 -2
- package/dist/shell/assets/{use-workflow-page-CYSODCjU.js → use-workflow-page-DerdCK9r.js} +2 -2
- package/dist/shell/assets/{use-workflow-types-B_d3Wm_W.js → use-workflow-types-D7ucZS1V.js} +2 -2
- package/dist/shell/assets/{workflow-canvas-BhnZr06Y.js → workflow-canvas-DW-a463k.js} +4 -4
- package/dist/shell/assets/{workflow-field-DWpt44wp.js → workflow-field-D0yL3zqL.js} +3 -3
- package/dist/shell/assets/{workflow-graph-editor-Ce_8ibEd.js → workflow-graph-editor-LTVY9Oyx.js} +2 -2
- package/dist/shell/assets/{workflow-run-field-Bop7Wyjc.js → workflow-run-field-Bf-BDgRL.js} +3 -3
- package/dist/shell/assets/workflow-status-field-CRbBFb6K.js +2 -0
- package/dist/shell/assets/workflow-workbench-FmLVX6Ri.js +4 -0
- package/dist/shell/index.html +4 -4
- package/dist/shell/protobase.shell.json +2 -2
- package/dist/shell/protobase.sw.js +2 -2
- package/dist/shell-source-maps/assets/{account-page-3oOLqJdq.js.map → account-page-D2DFhATt.js.map} +1 -1
- package/dist/shell-source-maps/assets/app-BYgBo_z1.js.map +1 -0
- package/dist/shell-source-maps/assets/{assistant-shell-RQTkG_2q.js.map → assistant-shell-CZuq3-_1.js.map} +1 -1
- package/dist/shell-source-maps/assets/{board-display-3VEgI2-G.js.map → board-display-BC1Xwyy-.js.map} +1 -1
- package/dist/shell-source-maps/assets/{calendar-display-DnUzydOX.js.map → calendar-display-BAQS9s6i.js.map} +1 -1
- package/dist/shell-source-maps/assets/{call-rings-NYyOUCrp.js.map → call-rings-B9fm8IVt.js.map} +1 -1
- package/dist/shell-source-maps/assets/{calls-BxDUPV6g.js.map → calls-Czowx1YO.js.map} +1 -1
- package/dist/shell-source-maps/assets/{circle-alert-4WHj4eiD.js.map → circle-alert-_fRBdP-Q.js.map} +1 -1
- package/dist/shell-source-maps/assets/{composed-page-NB57IFJx.js.map → composed-page-CW54YFwq.js.map} +1 -1
- package/dist/shell-source-maps/assets/{composer-section-nD86ydnx.js.map → composer-section-C5FkK1rg.js.map} +1 -1
- package/dist/shell-source-maps/assets/{connect-route-CYi3CAzW.js.map → connect-route-9UQdPFMU.js.map} +1 -1
- package/dist/shell-source-maps/assets/{copy-field-B21YVA1e.js.map → copy-field-kzYEwhr-.js.map} +1 -1
- package/dist/shell-source-maps/assets/{create-route-DG8lKoaw.js.map → create-route-BUYfZRsc.js.map} +1 -1
- package/dist/shell-source-maps/assets/{custom-step-container-field-B0m2n_ZP.js.map → custom-step-container-field--zORrk8N.js.map} +1 -1
- package/dist/shell-source-maps/assets/{embedded-list-DPBYBewp.js.map → embedded-list-CHU_9xSx.js.map} +1 -1
- package/dist/shell-source-maps/assets/{en-BED8S1rX.js.map → en-_QUqgkv9.js.map} +1 -1
- package/dist/shell-source-maps/assets/{export-dialog-Yp1PWTD3.js.map → export-dialog-BOBW8mCE.js.map} +1 -1
- package/dist/shell-source-maps/assets/export-worker-BUvAe-pU.js.map +1 -0
- package/dist/shell-source-maps/assets/{first-organization-page-D_fYwVnJ.js.map → first-organization-page-MW8S5Y7S.js.map} +1 -1
- package/dist/shell-source-maps/assets/{graph-view-DpUh0125.js.map → graph-view-D0OeBjYF.js.map} +1 -1
- package/dist/shell-source-maps/assets/{group-donut-lFK0kxk2.js.map → group-donut-xyziydWM.js.map} +1 -1
- package/dist/shell-source-maps/assets/{guest-call-page-y0vtPZ4Q.js.map → guest-call-page-DH1kDNtt.js.map} +1 -1
- package/dist/shell-source-maps/assets/{html-viewer-Ch_o3S-N.js.map → html-viewer-c3e-7OLn.js.map} +1 -1
- package/dist/shell-source-maps/assets/{import-dialog-COJYtW0v.js.map → import-dialog-C6bOsAIq.js.map} +1 -1
- package/dist/shell-source-maps/assets/{import-table-dialog-BVK63qN9.js.map → import-table-dialog-CQccEHdf.js.map} +1 -1
- package/dist/shell-source-maps/assets/{invitations-page-DQ2gJKjJ.js.map → invitations-page-D6HhsOWj.js.map} +1 -1
- package/dist/shell-source-maps/assets/{layout-grid-CnWxeX6y.js.map → layout-grid-pjoZzXon.js.map} +1 -1
- package/dist/shell-source-maps/assets/{legend-item-CxbnsaWM.js.map → legend-item-B86V--7o.js.map} +1 -1
- package/dist/shell-source-maps/assets/{list-page-CVcURiCf.js.map → list-page-dNzugv-H.js.map} +1 -1
- package/dist/shell-source-maps/assets/{maplibre-D91OvVN2.js.map → maplibre-DQzo1J5C.js.map} +1 -1
- package/dist/shell-source-maps/assets/{markdown-content-BBqjcKWb.js.map → markdown-content-MhPltQkM.js.map} +1 -1
- package/dist/shell-source-maps/assets/{members-page-nE56rARK.js.map → members-page-CtpsMd1_.js.map} +1 -1
- package/dist/shell-source-maps/assets/{message-content-BWbid0cJ.js.map → message-content-BcVNCPRA.js.map} +1 -1
- package/dist/shell-source-maps/assets/{messages-C2CtF7J9.js.map → messages-DbktI6r5.js.map} +1 -1
- package/dist/shell-source-maps/assets/nl-B7S2-35v.js.map +1 -0
- package/dist/shell-source-maps/assets/{organization-page-BFjoUdDW.js.map → organization-page-DFbVBi0Z.js.map} +1 -1
- package/dist/shell-source-maps/assets/{organizations-page-CkAMvdUh.js.map → organizations-page-CwNmA9m_.js.map} +1 -1
- package/dist/shell-source-maps/assets/parse-worker-BXZM3e8_.js.map +1 -0
- package/dist/shell-source-maps/assets/{pending-invitation-row-lyixrKB6.js.map → pending-invitation-row-DoSd4IA0.js.map} +1 -1
- package/dist/shell-source-maps/assets/{period-chart-Bbc8p3Rg.js.map → period-chart-BHhRENq9.js.map} +1 -1
- package/dist/shell-source-maps/assets/{person-row-z2cLI7-t.js.map → person-row-CAw28fyx.js.map} +1 -1
- package/dist/shell-source-maps/assets/{public-form-page-CdSWojtk.js.map → public-form-page-BSMW5adw.js.map} +1 -1
- package/dist/shell-source-maps/assets/{record-lines-86164Z9g.js.map → record-lines-D6y6-mvM.js.map} +1 -1
- package/dist/shell-source-maps/assets/{record-map-Bf4E_mGG.js.map → record-map-BWSxXERS.js.map} +1 -1
- package/dist/shell-source-maps/assets/{record-opens-LCgqvPRp.js.map → record-opens-CgMvd88M.js.map} +1 -1
- package/dist/shell-source-maps/assets/record-page-YjDzQpdH.js.map +1 -0
- package/dist/shell-source-maps/assets/{record-preview-Ccd8jn1P.js.map → record-preview-BI6XSujc.js.map} +1 -1
- package/dist/shell-source-maps/assets/{records-map-Dfn6Est5.js.map → records-map-DqgtOW5s.js.map} +1 -1
- package/dist/shell-source-maps/assets/{render-node-vMDMqnoF.js.map → render-node-WNms9GRI.js.map} +1 -1
- package/dist/shell-source-maps/assets/{reorder-button-B8L4nfbO.js.map → reorder-button-el0y4Qb_.js.map} +1 -1
- package/dist/shell-source-maps/assets/{run-trace-view-CSpcrh2g.js.map → run-trace-view-DlOxyoRy.js.map} +1 -1
- package/dist/shell-source-maps/assets/{runner-install-field-Cx_wYqDa.js.map → runner-install-field-BW0Yr1jA.js.map} +1 -1
- package/dist/shell-source-maps/assets/{runtime-update-nAzCBurf.js.map → runtime-update-15cUO82W.js.map} +1 -1
- package/dist/shell-source-maps/assets/{sheet-source-c0GC-WZh.js.map → sheet-source-CXBPRRJ7.js.map} +1 -1
- package/dist/shell-source-maps/assets/{sign-in-policy-page-CXa0c4KT.js.map → sign-in-policy-page-C-Norcx-.js.map} +1 -1
- package/dist/shell-source-maps/assets/{start-block-queries-C05LRzeA.js.map → start-block-queries-Ds0t8AIB.js.map} +1 -1
- package/dist/shell-source-maps/assets/{step-catalog-CK73Ybue.js.map → step-catalog-C0Jv_f2p.js.map} +1 -1
- package/dist/shell-source-maps/assets/{step-panel-Dg17K_zr.js.map → step-panel-xxYW43ZO.js.map} +1 -1
- package/dist/shell-source-maps/assets/{timeline-display-kp9RN9m-.js.map → timeline-display-DMfHIekc.js.map} +1 -1
- package/dist/shell-source-maps/assets/{trash-DhOlkezJ.js.map → trash-DZjQRbg0.js.map} +1 -1
- package/dist/shell-source-maps/assets/{update-set-8ikjlH6J.js.map → update-set-C0O3YlPe.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-calendar-move-DAoy91cG.js.map → use-calendar-move-Ck9j0VjG.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-display-rows-D-t41ukb.js.map → use-display-rows-BI5CIpA4.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-my-invitations-DRo_aCmU.js.map → use-my-invitations-DOL5bOzC.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-paged-search-Bd5FeVqP.js.map → use-paged-search-CxcddHjw.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-run-trace-zNmbuuI0.js.map → use-run-trace-Dxw-VDf9.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-workflow-page-CYSODCjU.js.map → use-workflow-page-DerdCK9r.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-workflow-types-B_d3Wm_W.js.map → use-workflow-types-D7ucZS1V.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-canvas-BhnZr06Y.js.map → workflow-canvas-DW-a463k.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-field-DWpt44wp.js.map → workflow-field-D0yL3zqL.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-graph-editor-Ce_8ibEd.js.map → workflow-graph-editor-LTVY9Oyx.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-run-field-Bop7Wyjc.js.map → workflow-run-field-Bf-BDgRL.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-status-field-BJlxjk2A.js.map → workflow-status-field-CRbBFb6K.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-workbench-fB8RaEan.js.map → workflow-workbench-FmLVX6Ri.js.map} +1 -1
- package/dist/status/messages.d.ts +2 -2
- package/dist/users/messages.d.ts +2 -2
- package/package.json +5 -5
- package/dist/shell/assets/app-DLkpxjgP.css +0 -2
- package/dist/shell/assets/board-display-3VEgI2-G.js +0 -2
- package/dist/shell/assets/calendar-display-DnUzydOX.js +0 -2
- package/dist/shell/assets/create-route-DG8lKoaw.js +0 -2
- package/dist/shell/assets/embedded-list-DPBYBewp.js +0 -3
- package/dist/shell/assets/en-BED8S1rX.js +0 -2
- package/dist/shell/assets/export-worker-S5xPFD_M.js +0 -15
- package/dist/shell/assets/import-table-dialog-BVK63qN9.js +0 -2
- package/dist/shell/assets/list-page-CVcURiCf.js +0 -4
- package/dist/shell/assets/members-page-nE56rARK.js +0 -2
- package/dist/shell/assets/messages-C2CtF7J9.js +0 -2
- package/dist/shell/assets/nl-DjHVomkB.js +0 -2
- package/dist/shell/assets/organization-page-BFjoUdDW.js +0 -2
- package/dist/shell/assets/organizations-page-CkAMvdUh.js +0 -2
- package/dist/shell/assets/parse-worker-CO_GFfU7.js +0 -35
- package/dist/shell/assets/public-form-page-CdSWojtk.js +0 -2
- package/dist/shell/assets/record-page-CjaqyGgn.js +0 -3
- package/dist/shell/assets/render-node-vMDMqnoF.js +0 -3
- package/dist/shell/assets/reorder-button-B8L4nfbO.js +0 -2
- package/dist/shell/assets/shared-protobase-ui-CjxtHEA2.js +0 -1
- package/dist/shell/assets/sign-in-policy-page-CXa0c4KT.js +0 -2
- package/dist/shell/assets/start-block-queries-C05LRzeA.js +0 -2
- package/dist/shell/assets/step-catalog-CK73Ybue.js +0 -2
- package/dist/shell/assets/timeline-display-kp9RN9m-.js +0 -2
- package/dist/shell/assets/use-calendar-move-DAoy91cG.js +0 -2
- package/dist/shell/assets/use-my-invitations-DRo_aCmU.js +0 -2
- package/dist/shell/assets/workflow-status-field-BJlxjk2A.js +0 -2
- package/dist/shell/assets/workflow-workbench-fB8RaEan.js +0 -4
- package/dist/shell-source-maps/assets/app-DjHH5Mka.js.map +0 -1
- package/dist/shell-source-maps/assets/export-worker-S5xPFD_M.js.map +0 -1
- package/dist/shell-source-maps/assets/nl-DjHVomkB.js.map +0 -1
- package/dist/shell-source-maps/assets/parse-worker-CO_GFfU7.js.map +0 -1
- 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: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "code" | "email" | "connections" | "staff" | "as" | "account" | "mailbox" | "noAccount" | "noAccountDescription" | "signInPolicy" | "couldNotReadMethods" | "couldNotReadProfile" | "profile" | "profileDescription" | "changeName" | "changeNameDescription" | "changeEmail" | "changeEmailDescription" | "newEmail" | "sendCode" | "codeSentTo" | "otherAddress" | "theProvider" | "loading" | "backupCodes" | "copied" | "copy" | "download" | "cancel" | "save" | "name" | "yourPassword" | "passwordIsSet" | "passwordNotSet" | "passwordForbidden" | "passwordStaff" | "passwordSaved" | "changePassword" | "setPassword" | "currentPassword" | "newPassword" | "repeatPassword" | "changeSignsOutOthers" | "atLeast" | "useAtLeast" | "passwordTooLong" | "passwordsDiffer" | "continue" | "on" | "off" | "optional" | "required" | "passkeys" | "passkey" | "passkeysAllowed" | "passkeysRequired" | "passkeysForbidden" | "addedOn" | "addedEarlier" | "synced" | "oneDevice" | "rename" | "remove" | "keepLastPasskey" | "addPasskey" | "confirmedAddPasskey" | "renamePasskey" | "renamePasskeyDescription" | "removePasskey" | "removePasskeyDescription" | "thisPasskey" | "connectedAccounts" | "connectedAccountsDescription" | "connected" | "connect" | "connectAgain" | "mailboxDescription" | "fromAddresses" | "fromAddressesDescription" | "couldNotReadFromAddresses" | "mailboxOwnAddress" | "makeDefault" | "default" | "edit" | "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" | "ended" | "signedInUntil" | "devices" | "devicesDescription" | "couldNotReadDevices" | "noDevices" | "thisDevice" | "browserOn" | "aBrowserOn" | "unknownDevice" | "staffOf" | "signedInFromUntil" | "signOut" | "signOutDevice" | "signOutDeviceDescription" | "signOutLinkedDeviceDescription" | "deviceThrough" | "linkedOn" | "signOutOthers" | "signOutOthersTitle" | "signOutOthersDescription" | "staffSignIns" | "staffSignInsDescription" | "noStaffSignIns" | "qrCode" | "twoFactor" | "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" | "password" | "passwordDescription" | "emailedSignInCode" | "emailedSignInCodeDescription" | "passkeysPolicyDescription" | "twoFactorPolicyDescription" | "staffAccess" | "staffAccessDescription" | "emailThePerson" | "platformSignIn" | "platformSignInDescription" | "platformSignInWith" | "codeNeedsMail" | "passwordStaysOn" | "staffNeedsMail" | "platformOff" | "appliesAs" | "lastSaved" | "lastSavedBy" | "neverChanged" | "reset" | "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" | "done" | "createdOn" | "expiresOn" | "expiredOn" | "lastUsedOn" | "notUsedYet" | "actsAs" | "actsAsIn" | "revoke" | "revokeAccessToken" | "revokeAccessTokenDescription" | "addToClaude" | "deleteAccount" | "deleteAccountDescription" | "deleteAccountStaff" | "deleteAccountQuestion" | "deleteAccountWarning" | "deleteAccountPassword" | "deleteAccountConfirm" | "deleteAccountLastAdmin" | "deleteAccountLocked", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "code" | "email" | "connections" | "staff" | "as" | "account" | "mailbox" | "noAccount" | "noAccountDescription" | "signInPolicy" | "couldNotReadMethods" | "couldNotReadProfile" | "profile" | "profileDescription" | "changeName" | "changeNameDescription" | "changeEmail" | "changeEmailDescription" | "newEmail" | "sendCode" | "codeSentTo" | "otherAddress" | "theProvider" | "loading" | "backupCodes" | "copied" | "copy" | "download" | "cancel" | "save" | "name" | "yourPassword" | "passwordIsSet" | "passwordNotSet" | "passwordForbidden" | "passwordStaff" | "passwordSaved" | "changePassword" | "setPassword" | "currentPassword" | "newPassword" | "repeatPassword" | "changeSignsOutOthers" | "atLeast" | "useAtLeast" | "passwordTooLong" | "passwordsDiffer" | "continue" | "on" | "off" | "optional" | "required" | "passkeys" | "passkey" | "passkeysAllowed" | "passkeysRequired" | "passkeysForbidden" | "addedOn" | "addedEarlier" | "synced" | "oneDevice" | "rename" | "remove" | "keepLastPasskey" | "addPasskey" | "confirmedAddPasskey" | "renamePasskey" | "renamePasskeyDescription" | "removePasskey" | "removePasskeyDescription" | "thisPasskey" | "connectedAccounts" | "connectedAccountsDescription" | "connected" | "connect" | "connectAgain" | "mailboxDescription" | "fromAddresses" | "fromAddressesDescription" | "couldNotReadFromAddresses" | "mailboxOwnAddress" | "makeDefault" | "default" | "edit" | "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" | "ended" | "signedInUntil" | "devices" | "devicesDescription" | "couldNotReadDevices" | "noDevices" | "thisDevice" | "browserOn" | "aBrowserOn" | "unknownDevice" | "staffOf" | "signedInFromUntil" | "signOut" | "signOutDevice" | "signOutDeviceDescription" | "signOutLinkedDeviceDescription" | "deviceThrough" | "linkedOn" | "signOutOthers" | "signOutOthersTitle" | "signOutOthersDescription" | "staffSignIns" | "staffSignInsDescription" | "noStaffSignIns" | "qrCode" | "twoFactor" | "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" | "password" | "passwordDescription" | "emailedSignInCode" | "emailedSignInCodeDescription" | "passkeysPolicyDescription" | "twoFactorPolicyDescription" | "staffAccess" | "staffAccessDescription" | "emailThePerson" | "platformSignIn" | "platformSignInDescription" | "platformSignInWith" | "codeNeedsMail" | "passwordStaysOn" | "staffNeedsMail" | "platformOff" | "appliesAs" | "lastSaved" | "lastSavedBy" | "neverChanged" | "reset" | "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" | "done" | "createdOn" | "expiresOn" | "expiredOn" | "lastUsedOn" | "notUsedYet" | "actsAs" | "actsAsIn" | "revoke" | "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/activity-chart/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "day" | "week" | "couldNotLoad", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "day" | "week" | "couldNotLoad", 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: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "no" | "couldNotLoad" | "maximum" | "average" | "today" | "count" | "notSet" | "yes" | "nothingYet" | "other" | "records" | "toToday" | "period" | "sum" | "chartKeys", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "no" | "couldNotLoad" | "maximum" | "average" | "today" | "count" | "notSet" | "yes" | "nothingYet" | "other" | "records" | "toToday" | "period" | "sum" | "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/comments/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "couldNotLoad" | "placeholder" | "comment" | "couldNotPost" | "showEarlier" | "noComments", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "couldNotLoad" | "placeholder" | "comment" | "couldNotPost" | "showEarlier" | "noComments", 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: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "emailedCode" | "password" | "emailCode" | "confirmTitle" | "confirmWhy" | "confirmWhyChange" | "usePasskey" | "authenticatorCode" | "confirm" | "codeSent" | "emailNewCode" | "nothingToConfirmWith", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "emailedCode" | "password" | "emailCode" | "confirmTitle" | "confirmWhy" | "confirmWhyChange" | "usePasskey" | "authenticatorCode" | "confirm" | "codeSent" | "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" | "
|
|
5
|
-
rich(id: "couldNotLoad" | "
|
|
4
|
+
(id: "details" | "message" | "copied" | "cancel" | "save" | "edit" | "couldNotLoad" | "delete" | "notSent" | "deleteDescription" | "deleteTitle" | "noMessages" | "loadingMessages" | "callInput" | "callResult" | "callError" | "couldNotLoadCalls" | "edited" | "editedAt" | "positionNotSaved" | "messageActions" | "reactWith" | "react" | "reactedBy" | "someone" | "replyInThread" | "copyText" | "editMessage" | "yourMessage" | "messageFrom" | "showYourActions" | "showActionsFrom" | "showActions" | "notSaved" | "notDeleted" | "reactionNotSaved" | "replies" | "lastReply" | "thread" | "replyPlaceholder" | "couldNotLoadThread" | "threadElsewhere" | "couldNotLoadReactions" | "notCopied", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "details" | "message" | "copied" | "cancel" | "save" | "edit" | "couldNotLoad" | "delete" | "notSent" | "deleteDescription" | "deleteTitle" | "noMessages" | "loadingMessages" | "callInput" | "callResult" | "callError" | "couldNotLoadCalls" | "edited" | "editedAt" | "positionNotSaved" | "messageActions" | "reactWith" | "react" | "reactedBy" | "someone" | "replyInThread" | "copyText" | "editMessage" | "yourMessage" | "messageFrom" | "showYourActions" | "showActionsFrom" | "showActions" | "notSaved" | "notDeleted" | "reactionNotSaved" | "replies" | "lastReply" | "thread" | "replyPlaceholder" | "couldNotLoadThread" | "threadElsewhere" | "couldNotLoadReactions" | "notCopied", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -8,7 +8,7 @@ type ThreadList = {
|
|
|
8
8
|
* What a thread shows of its list: the error only while no message has loaded, so a failed refetch keeps the messages
|
|
9
9
|
* on screen and the reader's place in them; then its loading line until the first page arrives; then the messages.
|
|
10
10
|
*/
|
|
11
|
-
export declare const threadState: (list: ThreadList) => "
|
|
11
|
+
export declare const threadState: (list: ThreadList) => "loading" | "error" | "messages";
|
|
12
12
|
/** What an empty thread says: its loading line while its calls still load, so it never says empty before they arrive. */
|
|
13
13
|
export declare const emptyLine: (calls: {
|
|
14
14
|
isLoading: boolean;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { LayoutRecord } from "../pages/record-scope.js";
|
|
2
|
+
import { ConversationPageModel } from "@protobase/schema";
|
|
3
|
+
//#region src/app/conversation-page/conversation-call.d.ts
|
|
4
|
+
type Props = {
|
|
5
|
+
page: ConversationPageModel;
|
|
6
|
+
scope: LayoutRecord;
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* The record's call while the page joins it (`?call=join`), on a conversation with `call`: beside the messages, or
|
|
10
|
+
* above them at mobile width, half the space either way, so the box under the messages stays in view. It opens the
|
|
11
|
+
* `call` function's socket with the record's key, and names the people in it after the organization's members.
|
|
12
|
+
*/
|
|
13
|
+
export declare const ConversationCall: ({ page, scope }: Props) => import("react").JSX.Element | null;
|
|
14
|
+
//#endregion
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { useClient } from "../../data/api-provider.js";
|
|
2
|
+
import { useMembers } from "../../people/use-members.js";
|
|
3
|
+
import { useRecordCallAddress } from "../../calls/use-record-call-address.js";
|
|
4
|
+
import { RecordCall } from "../../calls/record-call.js";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
//#region src/app/conversation-page/conversation-call.tsx
|
|
7
|
+
/**
|
|
8
|
+
* The record's call while the page joins it (`?call=join`), on a conversation with `call`: beside the messages, or
|
|
9
|
+
* above them at mobile width, half the space either way, so the box under the messages stays in view. It opens the
|
|
10
|
+
* `call` function's socket with the record's key, and names the people in it after the organization's members.
|
|
11
|
+
*/
|
|
12
|
+
const ConversationCall = ({ page, scope }) => {
|
|
13
|
+
const { joining } = useRecordCallAddress(scope.model.name, scope.key);
|
|
14
|
+
const client = useClient();
|
|
15
|
+
const members = useMembers();
|
|
16
|
+
if (page.call === void 0 || !joining) return null;
|
|
17
|
+
return /* @__PURE__ */ jsx("div", {
|
|
18
|
+
className: "grid min-h-0 min-w-0 shrink-0 grid-cols-[minmax(0,1fr)] grid-rows-[minmax(0,1fr)] border-border max-md:h-1/2 max-md:border-b md:w-1/2 md:border-r",
|
|
19
|
+
children: /* @__PURE__ */ jsx(RecordCall, {
|
|
20
|
+
resource: scope.model.name,
|
|
21
|
+
recordKey: scope.key,
|
|
22
|
+
url: client.functionSocketUrl(page.call, { key: scope.key }),
|
|
23
|
+
nameOf: (user) => members.member(user)?.name ?? user
|
|
24
|
+
})
|
|
25
|
+
});
|
|
26
|
+
};
|
|
27
|
+
//#endregion
|
|
28
|
+
export { ConversationCall };
|
|
@@ -9,7 +9,8 @@ type Props = {
|
|
|
9
9
|
/**
|
|
10
10
|
* The slim row over a conversation: the record's title, which the top bar repeats at mobile width and so shows only on
|
|
11
11
|
* a wider screen, or with `members` the other people in it with their status, shown at every width; its `subtitle`
|
|
12
|
-
* beside it;
|
|
12
|
+
* beside it; with `call`, the record's call, Start call or the call going on with Join; and a link to the record's
|
|
13
|
+
* standard page, where its details, Edit and Delete are.
|
|
13
14
|
*/
|
|
14
15
|
export declare const ConversationHeader: ({ page, scope, title }: Props) => import("react").JSX.Element;
|
|
15
16
|
//#endregion
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { cn } from "../../lib/cn.js";
|
|
2
2
|
import { buttonClass } from "../../primitives/button.js";
|
|
3
3
|
import { AppLink } from "../use-app-address.js";
|
|
4
|
+
import { CallMark } from "../../calls/call-mark.js";
|
|
4
5
|
import { MembersTitle } from "./members-title.js";
|
|
5
6
|
import { text } from "./messages.js";
|
|
6
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -8,7 +9,8 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
8
9
|
/**
|
|
9
10
|
* The slim row over a conversation: the record's title, which the top bar repeats at mobile width and so shows only on
|
|
10
11
|
* a wider screen, or with `members` the other people in it with their status, shown at every width; its `subtitle`
|
|
11
|
-
* beside it;
|
|
12
|
+
* beside it; with `call`, the record's call, Start call or the call going on with Join; and a link to the record's
|
|
13
|
+
* standard page, where its details, Edit and Delete are.
|
|
12
14
|
*/
|
|
13
15
|
const ConversationHeader = ({ page, scope, title }) => {
|
|
14
16
|
const subtitle = page.subtitle === void 0 ? void 0 : scope.record[page.subtitle];
|
|
@@ -27,18 +29,24 @@ const ConversationHeader = ({ page, scope, title }) => {
|
|
|
27
29
|
className: "min-w-0 flex-1 truncate text-sm text-muted-foreground",
|
|
28
30
|
children: subtitle
|
|
29
31
|
}),
|
|
30
|
-
/* @__PURE__ */
|
|
31
|
-
|
|
32
|
-
|
|
32
|
+
/* @__PURE__ */ jsxs("div", {
|
|
33
|
+
className: "ml-auto flex shrink-0 items-center gap-2",
|
|
34
|
+
children: [page.call !== void 0 && /* @__PURE__ */ jsx(CallMark, {
|
|
33
35
|
resource: scope.model.name,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
36
|
+
recordKey: scope.key
|
|
37
|
+
}), /* @__PURE__ */ jsx(AppLink, {
|
|
38
|
+
to: {
|
|
39
|
+
kind: "record",
|
|
40
|
+
resource: scope.model.name,
|
|
41
|
+
key: scope.key,
|
|
42
|
+
standard: true
|
|
43
|
+
},
|
|
44
|
+
className: buttonClass({
|
|
45
|
+
variant: "ghost",
|
|
46
|
+
size: "sm"
|
|
47
|
+
}),
|
|
48
|
+
children: text("details")
|
|
49
|
+
})]
|
|
42
50
|
})
|
|
43
51
|
]
|
|
44
52
|
});
|
|
@@ -1,19 +1,22 @@
|
|
|
1
1
|
import { ChatAuthor } from "../../chat/chat-message.js";
|
|
2
2
|
import "../../chat/index.js";
|
|
3
|
-
import {
|
|
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
|
-
|
|
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
|
|
16
|
-
* the people it mentions picked out as `MentionedText` does,
|
|
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: ({
|
|
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 {
|
|
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
|
|
10
|
-
* the people it mentions picked out as `MentionedText` does,
|
|
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 = ({
|
|
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
|
|
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
|
|
17
|
-
|
|
18
|
-
|
|
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
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
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 {
|
|
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: [
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
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
|
-
})
|
|
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,10 @@ 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.
|
|
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. With `call`, the record's call shows while the page joins it (`?call=join`),
|
|
13
|
+
* between the header and the messages: beside them, or above them at mobile width, with a thread's panel after both,
|
|
14
|
+
* covering the screen at mobile width. Key it by the record, so another one starts afresh.
|
|
12
15
|
*/
|
|
13
16
|
export declare const ConversationPage: ({ page, scope }: Props) => import("react").JSX.Element;
|
|
14
17
|
//#endregion
|