@protobase/ui 0.121.11 → 0.121.13
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/app.js +3 -2
- package/dist/app/change-confirm/messages.d.ts +2 -2
- package/dist/app/charts/messages.d.ts +2 -2
- package/dist/app/confirm-sign-in-messages.d.ts +2 -2
- package/dist/app/conversation/message-composer.d.ts +5 -1
- package/dist/app/conversation/message-composer.js +10 -3
- package/dist/app/conversation-page/conversation-header.js +1 -1
- package/dist/app/conversation-page/conversation-message.js +1 -1
- package/dist/app/conversation-page/conversation-messages.js +1 -1
- package/dist/app/conversation-page/conversation-page.d.ts +5 -4
- package/dist/app/conversation-page/conversation-page.js +22 -6
- package/dist/app/conversation-page/message-editor.js +1 -1
- package/dist/app/conversation-page/message-ops.d.ts +3 -1
- package/dist/app/conversation-page/message-ops.js +7 -1
- package/dist/app/conversation-page/messages.d.ts +2 -2
- package/dist/app/conversation-page/reply-labels.js +1 -1
- package/dist/app/conversation-page/thread-panel.js +1 -1
- package/dist/app/conversation-page/use-message-writes.js +1 -1
- package/dist/app/create/messages.d.ts +2 -2
- 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/export/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/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/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-edit/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/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/searches/messages.d.ts +2 -2
- package/dist/app/searches/use-save-search.d.ts +1 -1
- package/dist/app/use-nav-recent.d.ts +2 -2
- package/dist/app/use-nav-recent.js +5 -4
- package/dist/app-shell/messages.d.ts +2 -2
- package/dist/app-shell/nav.d.ts +5 -3
- package/dist/app-shell/record-marks.d.ts +1 -1
- package/dist/app-shell/record-marks.js +5 -3
- package/dist/app-shell/sidebar-records.d.ts +1 -1
- package/dist/app-shell/sidebar-records.js +6 -1
- 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/chat/composer.d.ts +3 -1
- package/dist/chat/composer.js +6 -2
- package/dist/chat/messages.d.ts +2 -2
- package/dist/data/api-provider.d.ts +33 -0
- package/dist/data/meta-data.d.ts +4 -0
- package/dist/data/use-live-updates.d.ts +5 -2
- package/dist/data/use-live-updates.js +25 -3
- package/dist/data/use-meta.js +1 -0
- package/dist/data-grid/column-spec.d.ts +1 -1
- 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/index.d.ts +5 -1
- package/dist/index.js +5 -1
- package/dist/inline-child-table/messages.d.ts +2 -2
- package/dist/live/messages.d.ts +2 -2
- package/dist/locale/en.js +7 -2
- package/dist/locale/en.json.d.ts +5 -0
- package/dist/locale/messages.d.ts +10 -0
- package/dist/locale/nl.js +7 -2
- package/dist/locale/texts-gate.d.ts +1 -1
- package/dist/mailbox/messages.d.ts +2 -2
- package/dist/mocks/customers.d.ts +1 -1
- package/dist/mocks/invoices.d.ts +2 -2
- package/dist/mocks/orders.d.ts +1 -1
- package/dist/mocks/stockMoves.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/plugins/plugin-api.exports.js +5 -1
- package/dist/primitives/messages.d.ts +2 -2
- package/dist/relay/count-unread.d.ts +12 -0
- package/dist/relay/count-unread.js +34 -0
- package/dist/relay/relay-context.d.ts +17 -0
- package/dist/relay/relay-context.js +23 -0
- package/dist/relay/relay-provider.d.ts +11 -0
- package/dist/relay/relay-provider.js +58 -0
- package/dist/relay/relay-store.d.ts +31 -0
- package/dist/relay/relay-store.js +77 -0
- package/dist/relay/typing-line.d.ts +11 -0
- package/dist/relay/typing-line.js +30 -0
- package/dist/relay/typing.d.ts +37 -0
- package/dist/relay/typing.js +78 -0
- package/dist/relay/unread.d.ts +30 -0
- package/dist/relay/unread.js +35 -0
- package/dist/relay/use-relay-marks.d.ts +11 -0
- package/dist/relay/use-relay-marks.js +53 -0
- package/dist/relay/use-typing-sender.d.ts +11 -0
- package/dist/relay/use-typing-sender.js +32 -0
- package/dist/relay/use-unread-counts.d.ts +9 -0
- package/dist/relay/use-unread-counts.js +61 -0
- package/dist/relay/use-view-channel.d.ts +7 -0
- package/dist/relay/use-view-channel.js +21 -0
- package/dist/shell/assets/{account-page-Cz2-SP3Z.js → account-page-BiW75oAt.js} +2 -2
- package/dist/shell/assets/app-CONqqVEp.js +36 -0
- package/dist/shell/assets/{assistant-shell-CeW3U4tB.js → assistant-shell-CI8XmGPz.js} +2 -2
- package/dist/shell/assets/board-display-G0A9DG-O.js +2 -0
- package/dist/shell/assets/calendar-display-NkSQgeal.js +2 -0
- package/dist/shell/assets/{call-rings-DwSrOHCr.js → call-rings-0TNlWSxz.js} +2 -2
- package/dist/shell/assets/{calls-D1l4an28.js → calls-C7XJGJtG.js} +2 -2
- package/dist/shell/assets/{circle-alert-BEHXqTnA.js → circle-alert-X92Rz4B3.js} +2 -2
- package/dist/shell/assets/{composed-page-CzszGryH.js → composed-page-DPJGOtXk.js} +2 -2
- package/dist/shell/assets/{composer-section-v7aZuaJs.js → composer-section-JVIi3Liw.js} +2 -2
- package/dist/shell/assets/{connect-route-B68buTBD.js → connect-route-CnEB9WFV.js} +2 -2
- package/dist/shell/assets/{copy-field-CpG80Fod.js → copy-field-CxJRqfAI.js} +2 -2
- package/dist/shell/assets/create-route-3n42ukxG.js +2 -0
- package/dist/shell/assets/{custom-step-container-field-CooxBIkH.js → custom-step-container-field-B6LXbOfi.js} +4 -4
- package/dist/shell/assets/embedded-list-BXN39go2.js +3 -0
- package/dist/shell/assets/en-DnsB2haa.js +2 -0
- package/dist/shell/assets/{export-dialog-CYGeeQBj.js → export-dialog-Bg-iE9he.js} +2 -2
- package/dist/shell/assets/export-worker-DbK8hf_0.js +15 -0
- package/dist/shell/assets/{first-organization-page-B_TzRjNV.js → first-organization-page-BMfMEJ0L.js} +2 -2
- package/dist/shell/assets/{graph-view-DJGoThHW.js → graph-view-D5gACv8d.js} +2 -2
- package/dist/shell/assets/{group-donut-CtKQKKqq.js → group-donut-I2kILFBR.js} +2 -2
- package/dist/shell/assets/{guest-call-page-C2N1bb85.js → guest-call-page-D3M4dR3J.js} +3 -3
- package/dist/shell/assets/{html-viewer-DHWsvJdf.js → html-viewer-CmiIwn7y.js} +2 -2
- package/dist/shell/assets/{import-dialog-BAmU6oMk.js → import-dialog-BWXSXLy9.js} +2 -2
- package/dist/shell/assets/{import-table-dialog-C1TyvD2-.js → import-table-dialog-dRLvoLxK.js} +2 -2
- package/dist/shell/assets/{index-fJt7aRZ4.js → index-DwDhzXCo.js} +1 -1
- package/dist/shell/assets/invitations-page-BC0t9nV3.js +2 -0
- package/dist/shell/assets/{layout-grid-CPhU6Mm7.js → layout-grid-0SB37tX1.js} +2 -2
- package/dist/shell/assets/{legend-item-DYmqDhq7.js → legend-item-Bv1rltCv.js} +2 -2
- package/dist/shell/assets/list-page-CIpQ2O7R.js +4 -0
- package/dist/shell/assets/{maplibre-DXJkokbV.js → maplibre-BhE7KAqB.js} +2 -2
- package/dist/shell/assets/{markdown-content-9-JeVEDq.js → markdown-content-DJ7-n0Z_.js} +2 -2
- package/dist/shell/assets/members-page-BJpCn7qt.js +2 -0
- package/dist/shell/assets/{message-content-XnNocBEs.js → message-content-CRdJWnUH.js} +2 -2
- package/dist/shell/assets/messages-BNSLYy1a.js +2 -0
- package/dist/shell/assets/nl-Ce2dHlet.js +2 -0
- package/dist/shell/assets/organization-page-tBj092Fw.js +2 -0
- package/dist/shell/assets/organizations-page-CnONo4i-.js +2 -0
- package/dist/shell/assets/parse-worker-MvbeuzYJ.js +35 -0
- package/dist/shell/assets/{pending-invitation-row-C2tovkDY.js → pending-invitation-row-J_r95Xwv.js} +2 -2
- package/dist/shell/assets/{period-chart-DuLmYnEh.js → period-chart-CSjsnzTY.js} +2 -2
- package/dist/shell/assets/{person-row-B4SoiUz7.js → person-row-Ci9ECaJa.js} +2 -2
- package/dist/shell/assets/public-form-page-CBy2Ulcs.js +2 -0
- package/dist/shell/assets/record-lines-CSkPEq1f.js +2 -0
- package/dist/shell/assets/{record-map-CUyHGUuT.js → record-map-DRtzHwa0.js} +2 -2
- package/dist/shell/assets/{record-opens-DtAuS5Iw.js → record-opens-CeOBI39T.js} +2 -2
- package/dist/shell/assets/record-page-BD_zvjHr.js +3 -0
- package/dist/shell/assets/{record-preview-CF37imVo.js → record-preview-D0rLqYFH.js} +2 -2
- package/dist/shell/assets/{records-map-CLUkYUGA.js → records-map-BC_K0RDI.js} +2 -2
- package/dist/shell/assets/render-node-eUTdIPBj.js +3 -0
- package/dist/shell/assets/reorder-button-BVceX7gP.js +2 -0
- package/dist/shell/assets/{run-trace-view-B02ogfCg.js → run-trace-view-hxNAb9rR.js} +2 -2
- package/dist/shell/assets/{runner-install-field-B7d2ZTdV.js → runner-install-field-DnvAOzy5.js} +2 -2
- package/dist/shell/assets/{runtime-update-LXdNfKZi.js → runtime-update-qxsAz5M1.js} +2 -2
- package/dist/shell/assets/shared-protobase-ui-BYIa30Wi.js +1 -0
- package/dist/shell/assets/sheet-source-BucFVhPg.js +3 -0
- package/dist/shell/assets/sign-in-policy-page-BEqYTjla.js +2 -0
- package/dist/shell/assets/start-block-queries-CacU6Yef.js +2 -0
- package/dist/shell/assets/step-catalog-BzL3DkPx.js +2 -0
- package/dist/shell/assets/{step-panel-C6qUOSA3.js → step-panel-CgBuE7Cg.js} +2 -2
- package/dist/shell/assets/timeline-display-_KfByRT4.js +2 -0
- package/dist/shell/assets/{trash-BiidFj0N.js → trash-SlzmvtD1.js} +2 -2
- package/dist/shell/assets/{update-set-B0qCO072.js → update-set-BWwQIjw7.js} +2 -2
- package/dist/shell/assets/use-calendar-move-gwhvc-31.js +2 -0
- package/dist/shell/assets/{use-display-rows-BpKLVhjZ.js → use-display-rows-D_VvQK1o.js} +2 -2
- package/dist/shell/assets/use-my-invitations-hkJuWwn6.js +2 -0
- package/dist/shell/assets/{use-paged-search-BUf2evnc.js → use-paged-search-PObuLo2W.js} +2 -2
- package/dist/shell/assets/{use-run-trace-D3CBWHfm.js → use-run-trace-Dfgd79SI.js} +2 -2
- package/dist/shell/assets/{use-workflow-page-DjHS4PFJ.js → use-workflow-page-FEUfCpTS.js} +2 -2
- package/dist/shell/assets/{use-workflow-types-D0XJQUAl.js → use-workflow-types-DdclcEcs.js} +2 -2
- package/dist/shell/assets/{workflow-canvas-D1yNhbc_.js → workflow-canvas-BFZlQrwq.js} +4 -4
- package/dist/shell/assets/{workflow-field-BJb4Ns2G.js → workflow-field-CNW_YsyC.js} +3 -3
- package/dist/shell/assets/{workflow-graph-editor-DzpB5Wg4.js → workflow-graph-editor-BWDihza8.js} +2 -2
- package/dist/shell/assets/{workflow-run-field-BrkKGYZ3.js → workflow-run-field-Cn7yP92K.js} +3 -3
- package/dist/shell/assets/workflow-status-field-QuxS3MI_.js +2 -0
- package/dist/shell/assets/workflow-workbench-Crm4s5S7.js +4 -0
- package/dist/shell/index.html +3 -3
- package/dist/shell/protobase.shell.json +2 -2
- package/dist/shell/protobase.sw.js +2 -2
- package/dist/shell-source-maps/assets/{account-page-Cz2-SP3Z.js.map → account-page-BiW75oAt.js.map} +1 -1
- package/dist/shell-source-maps/assets/app-CONqqVEp.js.map +1 -0
- package/dist/shell-source-maps/assets/{assistant-shell-CeW3U4tB.js.map → assistant-shell-CI8XmGPz.js.map} +1 -1
- package/dist/shell-source-maps/assets/{board-display-tgOCC0v0.js.map → board-display-G0A9DG-O.js.map} +1 -1
- package/dist/shell-source-maps/assets/{calendar-display-DRWz8QYh.js.map → calendar-display-NkSQgeal.js.map} +1 -1
- package/dist/shell-source-maps/assets/{call-rings-DwSrOHCr.js.map → call-rings-0TNlWSxz.js.map} +1 -1
- package/dist/shell-source-maps/assets/{calls-D1l4an28.js.map → calls-C7XJGJtG.js.map} +1 -1
- package/dist/shell-source-maps/assets/{circle-alert-BEHXqTnA.js.map → circle-alert-X92Rz4B3.js.map} +1 -1
- package/dist/shell-source-maps/assets/{composed-page-CzszGryH.js.map → composed-page-DPJGOtXk.js.map} +1 -1
- package/dist/shell-source-maps/assets/{composer-section-v7aZuaJs.js.map → composer-section-JVIi3Liw.js.map} +1 -1
- package/dist/shell-source-maps/assets/{connect-route-B68buTBD.js.map → connect-route-CnEB9WFV.js.map} +1 -1
- package/dist/shell-source-maps/assets/{copy-field-CpG80Fod.js.map → copy-field-CxJRqfAI.js.map} +1 -1
- package/dist/shell-source-maps/assets/{create-route-BMWFJF8g.js.map → create-route-3n42ukxG.js.map} +1 -1
- package/dist/shell-source-maps/assets/{custom-step-container-field-CooxBIkH.js.map → custom-step-container-field-B6LXbOfi.js.map} +1 -1
- package/dist/shell-source-maps/assets/{embedded-list-nfw7Gvsq.js.map → embedded-list-BXN39go2.js.map} +1 -1
- package/dist/shell-source-maps/assets/en-DnsB2haa.js.map +1 -0
- package/dist/shell-source-maps/assets/{export-dialog-CYGeeQBj.js.map → export-dialog-Bg-iE9he.js.map} +1 -1
- package/dist/shell-source-maps/assets/export-worker-DbK8hf_0.js.map +1 -0
- package/dist/shell-source-maps/assets/{first-organization-page-B_TzRjNV.js.map → first-organization-page-BMfMEJ0L.js.map} +1 -1
- package/dist/shell-source-maps/assets/{graph-view-DJGoThHW.js.map → graph-view-D5gACv8d.js.map} +1 -1
- package/dist/shell-source-maps/assets/{group-donut-CtKQKKqq.js.map → group-donut-I2kILFBR.js.map} +1 -1
- package/dist/shell-source-maps/assets/{guest-call-page-C2N1bb85.js.map → guest-call-page-D3M4dR3J.js.map} +1 -1
- package/dist/shell-source-maps/assets/{html-viewer-DHWsvJdf.js.map → html-viewer-CmiIwn7y.js.map} +1 -1
- package/dist/shell-source-maps/assets/{import-dialog-BAmU6oMk.js.map → import-dialog-BWXSXLy9.js.map} +1 -1
- package/dist/shell-source-maps/assets/{import-table-dialog-C1TyvD2-.js.map → import-table-dialog-dRLvoLxK.js.map} +1 -1
- package/dist/shell-source-maps/assets/{invitations-page-D_Z4B5Uu.js.map → invitations-page-BC0t9nV3.js.map} +1 -1
- package/dist/shell-source-maps/assets/{layout-grid-CPhU6Mm7.js.map → layout-grid-0SB37tX1.js.map} +1 -1
- package/dist/shell-source-maps/assets/{legend-item-DYmqDhq7.js.map → legend-item-Bv1rltCv.js.map} +1 -1
- package/dist/shell-source-maps/assets/{list-page-Cl4AAwTy.js.map → list-page-CIpQ2O7R.js.map} +1 -1
- package/dist/shell-source-maps/assets/{maplibre-DXJkokbV.js.map → maplibre-BhE7KAqB.js.map} +1 -1
- package/dist/shell-source-maps/assets/{markdown-content-9-JeVEDq.js.map → markdown-content-DJ7-n0Z_.js.map} +1 -1
- package/dist/shell-source-maps/assets/{members-page-BIYD2hUu.js.map → members-page-BJpCn7qt.js.map} +1 -1
- package/dist/shell-source-maps/assets/{message-content-XnNocBEs.js.map → message-content-CRdJWnUH.js.map} +1 -1
- package/dist/shell-source-maps/assets/{messages-DhhNH_o2.js.map → messages-BNSLYy1a.js.map} +1 -1
- package/dist/shell-source-maps/assets/nl-Ce2dHlet.js.map +1 -0
- package/dist/shell-source-maps/assets/{organization-page-C7rfPxxc.js.map → organization-page-tBj092Fw.js.map} +1 -1
- package/dist/shell-source-maps/assets/{organizations-page-B5wqljdT.js.map → organizations-page-CnONo4i-.js.map} +1 -1
- package/dist/shell-source-maps/assets/parse-worker-MvbeuzYJ.js.map +1 -0
- package/dist/shell-source-maps/assets/{pending-invitation-row-C2tovkDY.js.map → pending-invitation-row-J_r95Xwv.js.map} +1 -1
- package/dist/shell-source-maps/assets/{period-chart-DuLmYnEh.js.map → period-chart-CSjsnzTY.js.map} +1 -1
- package/dist/shell-source-maps/assets/{person-row-B4SoiUz7.js.map → person-row-Ci9ECaJa.js.map} +1 -1
- package/dist/shell-source-maps/assets/{public-form-page-BRHFIOvT.js.map → public-form-page-CBy2Ulcs.js.map} +1 -1
- package/dist/shell-source-maps/assets/{record-lines-Bt1Un_65.js.map → record-lines-CSkPEq1f.js.map} +1 -1
- package/dist/shell-source-maps/assets/{record-map-CUyHGUuT.js.map → record-map-DRtzHwa0.js.map} +1 -1
- package/dist/shell-source-maps/assets/{record-opens-DtAuS5Iw.js.map → record-opens-CeOBI39T.js.map} +1 -1
- package/dist/shell-source-maps/assets/record-page-BD_zvjHr.js.map +1 -0
- package/dist/shell-source-maps/assets/{record-preview-CF37imVo.js.map → record-preview-D0rLqYFH.js.map} +1 -1
- package/dist/shell-source-maps/assets/{records-map-CLUkYUGA.js.map → records-map-BC_K0RDI.js.map} +1 -1
- package/dist/shell-source-maps/assets/render-node-eUTdIPBj.js.map +1 -0
- package/dist/shell-source-maps/assets/{reorder-button-BozBSEHe.js.map → reorder-button-BVceX7gP.js.map} +1 -1
- package/dist/shell-source-maps/assets/{run-trace-view-B02ogfCg.js.map → run-trace-view-hxNAb9rR.js.map} +1 -1
- package/dist/shell-source-maps/assets/{runner-install-field-B7d2ZTdV.js.map → runner-install-field-DnvAOzy5.js.map} +1 -1
- package/dist/shell-source-maps/assets/{runtime-update-LXdNfKZi.js.map → runtime-update-qxsAz5M1.js.map} +1 -1
- package/dist/shell-source-maps/assets/{sheet-source-G8rOez-U.js.map → sheet-source-BucFVhPg.js.map} +1 -1
- package/dist/shell-source-maps/assets/{sign-in-policy-page-DOTM6MOA.js.map → sign-in-policy-page-BEqYTjla.js.map} +1 -1
- package/dist/shell-source-maps/assets/{start-block-queries-Dfg8kMRu.js.map → start-block-queries-CacU6Yef.js.map} +1 -1
- package/dist/shell-source-maps/assets/{step-catalog-CoBzB5jS.js.map → step-catalog-BzL3DkPx.js.map} +1 -1
- package/dist/shell-source-maps/assets/{step-panel-C6qUOSA3.js.map → step-panel-CgBuE7Cg.js.map} +1 -1
- package/dist/shell-source-maps/assets/{timeline-display-5BAMjA9V.js.map → timeline-display-_KfByRT4.js.map} +1 -1
- package/dist/shell-source-maps/assets/{trash-BiidFj0N.js.map → trash-SlzmvtD1.js.map} +1 -1
- package/dist/shell-source-maps/assets/{update-set-B0qCO072.js.map → update-set-BWwQIjw7.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-calendar-move-BGAc9T_n.js.map → use-calendar-move-gwhvc-31.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-display-rows-BpKLVhjZ.js.map → use-display-rows-D_VvQK1o.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-my-invitations-BQKKClDc.js.map → use-my-invitations-hkJuWwn6.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-paged-search-BUf2evnc.js.map → use-paged-search-PObuLo2W.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-run-trace-D3CBWHfm.js.map → use-run-trace-Dfgd79SI.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-workflow-page-DjHS4PFJ.js.map → use-workflow-page-FEUfCpTS.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-workflow-types-D0XJQUAl.js.map → use-workflow-types-DdclcEcs.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-canvas-D1yNhbc_.js.map → workflow-canvas-BFZlQrwq.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-field-BJb4Ns2G.js.map → workflow-field-CNW_YsyC.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-graph-editor-DzpB5Wg4.js.map → workflow-graph-editor-BWDihza8.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-run-field-BrkKGYZ3.js.map → workflow-run-field-Cn7yP92K.js.map} +1 -1
- package/dist/shell-source-maps/assets/workflow-status-field-QuxS3MI_.js.map +1 -0
- package/dist/shell-source-maps/assets/{workflow-workbench-C-DxYJbt.js.map → workflow-workbench-Crm4s5S7.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-B3ocPAqs.js +0 -34
- package/dist/shell/assets/board-display-tgOCC0v0.js +0 -2
- package/dist/shell/assets/calendar-display-DRWz8QYh.js +0 -2
- package/dist/shell/assets/create-route-BMWFJF8g.js +0 -2
- package/dist/shell/assets/embedded-list-nfw7Gvsq.js +0 -3
- package/dist/shell/assets/en-0TxR0Vfb.js +0 -2
- package/dist/shell/assets/export-worker-AFqbgGzG.js +0 -15
- package/dist/shell/assets/invitations-page-D_Z4B5Uu.js +0 -2
- package/dist/shell/assets/list-page-Cl4AAwTy.js +0 -4
- package/dist/shell/assets/members-page-BIYD2hUu.js +0 -2
- package/dist/shell/assets/messages-DhhNH_o2.js +0 -2
- package/dist/shell/assets/nl-mDiTKi5y.js +0 -2
- package/dist/shell/assets/organization-page-C7rfPxxc.js +0 -2
- package/dist/shell/assets/organizations-page-B5wqljdT.js +0 -2
- package/dist/shell/assets/parse-worker-C5wWzRYH.js +0 -35
- package/dist/shell/assets/public-form-page-BRHFIOvT.js +0 -2
- package/dist/shell/assets/record-lines-Bt1Un_65.js +0 -2
- package/dist/shell/assets/record-page-DfvcIO5T.js +0 -3
- package/dist/shell/assets/render-node-CK68QvoX.js +0 -3
- package/dist/shell/assets/reorder-button-BozBSEHe.js +0 -2
- package/dist/shell/assets/shared-protobase-ui-B7gMFgle.js +0 -1
- package/dist/shell/assets/sheet-source-G8rOez-U.js +0 -3
- package/dist/shell/assets/sign-in-policy-page-DOTM6MOA.js +0 -2
- package/dist/shell/assets/start-block-queries-Dfg8kMRu.js +0 -2
- package/dist/shell/assets/step-catalog-CoBzB5jS.js +0 -2
- package/dist/shell/assets/timeline-display-5BAMjA9V.js +0 -2
- package/dist/shell/assets/use-calendar-move-BGAc9T_n.js +0 -2
- package/dist/shell/assets/use-my-invitations-BQKKClDc.js +0 -2
- package/dist/shell/assets/workflow-status-field-dbB3IT68.js +0 -2
- package/dist/shell/assets/workflow-workbench-C-DxYJbt.js +0 -4
- package/dist/shell-source-maps/assets/app-B3ocPAqs.js.map +0 -1
- package/dist/shell-source-maps/assets/en-0TxR0Vfb.js.map +0 -1
- package/dist/shell-source-maps/assets/export-worker-AFqbgGzG.js.map +0 -1
- package/dist/shell-source-maps/assets/nl-mDiTKi5y.js.map +0 -1
- package/dist/shell-source-maps/assets/parse-worker-C5wWzRYH.js.map +0 -1
- package/dist/shell-source-maps/assets/record-page-DfvcIO5T.js.map +0 -1
- package/dist/shell-source-maps/assets/render-node-CK68QvoX.js.map +0 -1
- package/dist/shell-source-maps/assets/workflow-status-field-dbB3IT68.js.map +0 -1
package/dist/app-shell/nav.d.ts
CHANGED
|
@@ -18,13 +18,15 @@ export type NavRecord = {
|
|
|
18
18
|
* How a record under a sidebar entry stands out for the person reading, such as an unread conversation: `strong` draws
|
|
19
19
|
* its title bold, `count` a badge at the end of its row (none at 0), and `label`, such as "3 mentions", is added to its
|
|
20
20
|
* name for screen readers and its tooltip. `person`, a user id, names the one person the record stands for, such as
|
|
21
|
-
* the other person in a direct message: the row shows their presence and status beside its title.
|
|
21
|
+
* the other person in a direct message: the row shows their presence and status beside its title. `typing` says
|
|
22
|
+
* "typing…" beside it, while someone else types in it.
|
|
22
23
|
*/
|
|
23
24
|
export type RecordMark = {
|
|
24
25
|
strong?: boolean;
|
|
25
26
|
count?: number;
|
|
26
27
|
label?: string;
|
|
27
28
|
person?: string;
|
|
29
|
+
typing?: boolean;
|
|
28
30
|
};
|
|
29
31
|
/** A record's mark as the sidebar draws it: its person, when it names one, as their presence and status. */
|
|
30
32
|
export type ShownMark = Omit<RecordMark, 'person'> & {
|
|
@@ -36,11 +38,11 @@ export type NavRecent = {
|
|
|
36
38
|
} | {
|
|
37
39
|
state: 'error';
|
|
38
40
|
} |
|
|
39
|
-
/** `useMarks`, a React hook the group calls while it shows
|
|
41
|
+
/** `useMarks`, a React hook the group calls with the records while it shows them, marks them by their `id`. */
|
|
40
42
|
{
|
|
41
43
|
state: 'ready';
|
|
42
44
|
records: NavRecord[];
|
|
43
|
-
useMarks?: () => Record<string, ShownMark> | undefined;
|
|
45
|
+
useMarks?: (records: readonly NavRecord[]) => Record<string, ShownMark> | undefined;
|
|
44
46
|
};
|
|
45
47
|
export type NavItem = {
|
|
46
48
|
id: string;
|
|
@@ -7,7 +7,7 @@ export type MarkedRecord = NavRecord & {
|
|
|
7
7
|
export declare const markRecords: (records: NavRecord[], marks: Record<string, ShownMark> | undefined) => MarkedRecord[];
|
|
8
8
|
/**
|
|
9
9
|
* What a sidebar record is called for screen readers and in its tooltip: its title, with its status, its person's
|
|
10
|
-
* presence and status, and its mark's label.
|
|
10
|
+
* presence and status, whether someone types in it, and its mark's label.
|
|
11
11
|
*/
|
|
12
12
|
export declare const recordNames: (record: MarkedRecord) => {
|
|
13
13
|
ariaLabel: string;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { text } from "
|
|
1
|
+
import { text } from "./messages.js";
|
|
2
|
+
import { text as text$1 } from "../status/messages.js";
|
|
2
3
|
import { availabilityLabel } from "../status/status-mark.js";
|
|
3
4
|
import { heldStatus } from "@protobase/schema/internal";
|
|
4
5
|
//#region src/app-shell/record-marks.ts
|
|
@@ -13,19 +14,20 @@ const personWords = (person) => {
|
|
|
13
14
|
if (!person) return [];
|
|
14
15
|
const held = heldStatus(person.status);
|
|
15
16
|
return [
|
|
16
|
-
person.presence && text(person.presence),
|
|
17
|
+
person.presence && text$1(person.presence),
|
|
17
18
|
held && held.availability !== "automatic" ? availabilityLabel(held.availability) : void 0,
|
|
18
19
|
held?.text ?? void 0
|
|
19
20
|
];
|
|
20
21
|
};
|
|
21
22
|
/**
|
|
22
23
|
* What a sidebar record is called for screen readers and in its tooltip: its title, with its status, its person's
|
|
23
|
-
* presence and status, and its mark's label.
|
|
24
|
+
* presence and status, whether someone types in it, and its mark's label.
|
|
24
25
|
*/
|
|
25
26
|
const recordNames = (record) => {
|
|
26
27
|
const extra = [
|
|
27
28
|
record.status?.label,
|
|
28
29
|
...personWords(record.mark?.person),
|
|
30
|
+
record.mark?.typing ? text("typing") : void 0,
|
|
29
31
|
record.mark?.label
|
|
30
32
|
].filter((part) => part !== void 0 && part !== "");
|
|
31
33
|
return {
|
|
@@ -4,7 +4,7 @@ type Mode = 'text-large' | 'text-small';
|
|
|
4
4
|
/** The rows of a sidebar group's records, marked by the group's `useMarks` hook when it has one. */
|
|
5
5
|
export declare const SidebarRecords: ({ records, useMarks, mode, onNavigate }: {
|
|
6
6
|
records: NavRecord[];
|
|
7
|
-
useMarks?: () => Record<string, ShownMark> | undefined;
|
|
7
|
+
useMarks?: (records: readonly NavRecord[]) => Record<string, ShownMark> | undefined;
|
|
8
8
|
mode: Mode;
|
|
9
9
|
onNavigate?: (href: string) => void;
|
|
10
10
|
}) => import("react").JSX.Element;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { cn } from "../lib/cn.js";
|
|
2
|
+
import { text } from "./messages.js";
|
|
2
3
|
import { subRow } from "./sidebar-rows.js";
|
|
3
4
|
import { CountBadge } from "../primitives/count-badge.js";
|
|
4
5
|
import { StatusDot } from "./status-dot.js";
|
|
@@ -34,6 +35,10 @@ const RecordRows = ({ records, mode, onNavigate }) => records.map((record) => {
|
|
|
34
35
|
textShown: "hover",
|
|
35
36
|
className: "ml-1.5 shrink-0"
|
|
36
37
|
}),
|
|
38
|
+
record.mark?.typing && /* @__PURE__ */ jsx("span", {
|
|
39
|
+
className: "ml-1.5 shrink-0 text-xs font-normal text-muted-foreground",
|
|
40
|
+
children: text("typing")
|
|
41
|
+
}),
|
|
37
42
|
/* @__PURE__ */ jsx(CountBadge, {
|
|
38
43
|
count: record.mark?.count,
|
|
39
44
|
className: "ml-auto shrink-0"
|
|
@@ -42,7 +47,7 @@ const RecordRows = ({ records, mode, onNavigate }) => records.map((record) => {
|
|
|
42
47
|
}) }, record.id);
|
|
43
48
|
});
|
|
44
49
|
const MarkedRows = ({ records, useMarks, ...rest }) => /* @__PURE__ */ jsx(RecordRows, {
|
|
45
|
-
records: markRecords(records, useMarks()),
|
|
50
|
+
records: markRecords(records, useMarks(records)),
|
|
46
51
|
...rest
|
|
47
52
|
});
|
|
48
53
|
/** The rows of a sidebar group's records, marked by the group's `useMarks` hook when it has one. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/assistant-dock/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "assistant" | "noAnswer" | "empty" | "couldNotDraw" | "askQuestion" | "reconnecting" | "backendNoAnswer" | "cannotShowLive", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "assistant" | "noAnswer" | "empty" | "couldNotDraw" | "askQuestion" | "reconnecting" | "backendNoAnswer" | "cannotShowLive", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
package/dist/auth/messages.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/auth/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "email" | "signIn" | "or" | "reload" | "code" | "loading" | "setPassword" | "newPassword" | "repeatPassword" | "atLeast" | "useAtLeast" | "passwordTooLong" | "passwordsDiffer" | "continue" | "addPasskey" | "signOut" | "password" | "emailCode" | "reason" | "verify" | "admin" | "cannotReach" | "noAnswer" | "tryAgain" | "tooManyRequests" | "passwordChanged" | "backupCode" | "passwordOptional" | "backToSignIn" | "useAnotherAddress" | "checkEmail" | "newCodeSent" | "sendNewCode" | "sendNewCodeIn" | "signInCodeDescription" | "signInCodeSent" | "signUpCodeDescription" | "signUpCodeSent" | "noAdminTitle" | "noAdminDescription" | "noAdminExplanation" | "copyCommand" | "firstAdminExplanation" | "firstAdminLink" | "tooManyAttempts" | "resetTitle" | "resetDescription" | "sendResetLink" | "resetSent" | "linkExpiredTitle" | "linkExpiredExplanation" | "sendNewLink" | "choosePassword" | "signingInWith" | "takingYouTo" | "providerNotOffered" | "turnOnTwoFactor" | "requiredForEveryAccount" | "passkeyExplanation" | "couldNotReadAccount" | "signInTitle" | "runsOnProtobase" | "continueWith" | "signInWithPasskey" | "passkeyFor" | "emailSignInCode" | "usePassword" | "forgotPassword" | "newHere" | "haveAccount" | "createAnAccount" | "browse" | "notNow" | "detailsTitle" | "detailsDescription" | "yourName" | "codeWasRight" | "withoutPassword" | "createAccount" | "codeToConfirm" | "browseWithoutAccount" | "staffTitle" | "staffUnavailable" | "signInAsPerson" | "forStaffOf" | "theirEmail" | "reasonExample" | "staffExplanation" | "totpInstruction" | "otpInstruction" | "backupInstruction" | "twoFactorTitle" | "twoFactorDescription" | "codeToFinish" | "trustBrowser" | "trustBrowserFor" | "useAuthenticator" | "emailCodeInstead" | "useBackupCode", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "email" | "signIn" | "or" | "reload" | "code" | "loading" | "setPassword" | "newPassword" | "repeatPassword" | "atLeast" | "useAtLeast" | "passwordTooLong" | "passwordsDiffer" | "continue" | "addPasskey" | "signOut" | "password" | "emailCode" | "reason" | "verify" | "admin" | "cannotReach" | "noAnswer" | "tryAgain" | "tooManyRequests" | "passwordChanged" | "backupCode" | "passwordOptional" | "backToSignIn" | "useAnotherAddress" | "checkEmail" | "newCodeSent" | "sendNewCode" | "sendNewCodeIn" | "signInCodeDescription" | "signInCodeSent" | "signUpCodeDescription" | "signUpCodeSent" | "noAdminTitle" | "noAdminDescription" | "noAdminExplanation" | "copyCommand" | "firstAdminExplanation" | "firstAdminLink" | "tooManyAttempts" | "resetTitle" | "resetDescription" | "sendResetLink" | "resetSent" | "linkExpiredTitle" | "linkExpiredExplanation" | "sendNewLink" | "choosePassword" | "signingInWith" | "takingYouTo" | "providerNotOffered" | "turnOnTwoFactor" | "requiredForEveryAccount" | "passkeyExplanation" | "couldNotReadAccount" | "signInTitle" | "runsOnProtobase" | "continueWith" | "signInWithPasskey" | "passkeyFor" | "emailSignInCode" | "usePassword" | "forgotPassword" | "newHere" | "haveAccount" | "createAnAccount" | "browse" | "notNow" | "detailsTitle" | "detailsDescription" | "yourName" | "codeWasRight" | "withoutPassword" | "createAccount" | "codeToConfirm" | "browseWithoutAccount" | "staffTitle" | "staffUnavailable" | "signInAsPerson" | "forStaffOf" | "theirEmail" | "reasonExample" | "staffExplanation" | "totpInstruction" | "otpInstruction" | "backupInstruction" | "twoFactorTitle" | "twoFactorDescription" | "codeToFinish" | "trustBrowser" | "trustBrowserFor" | "useAuthenticator" | "emailCodeInstead" | "useBackupCode", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
package/dist/calls/messages.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/calls/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "join" | "accept" | "you" | "copied" | "continue" | "remove" | "ended" | "noDevices" | "revoke" | "full" | "leave" | "inProgress" | "reconnecting" | "waiting" | "yourName" | "camera" | "microphone" | "decline" | "startCall" | "people" | "joinCall" | "shareScreen" | "stopSharing" | "muted" | "alone" | "connecting" | "removed" | "refused" | "unavailable" | "callAgain" | "noMicrophone" | "noCamera" | "cannotConnect" | "poorConnection" | "goodConnection" | "sharing" | "youAreSharing" | "speaking" | "preview" | "guestName" | "denied" | "askToJoin" | "someone" | "guests" | "waitingGuest" | "admit" | "deny" | "newLink" | "copyLink" | "guestLinks" | "noLinks" | "inLobby" | "guestsInCall" | "guestsMaySend" | "sendAll" | "sendCamera" | "sendMicrophone" | "linkUntil" | "linkUntilEnd" | "linkLasts" | "forAnHour" | "addressesVisible" | "guestRefused" | "close" | "guestIntro" | "youLeft", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "join" | "accept" | "you" | "copied" | "continue" | "remove" | "ended" | "noDevices" | "revoke" | "full" | "leave" | "inProgress" | "reconnecting" | "waiting" | "yourName" | "camera" | "microphone" | "decline" | "startCall" | "people" | "joinCall" | "shareScreen" | "stopSharing" | "muted" | "alone" | "connecting" | "removed" | "refused" | "unavailable" | "callAgain" | "noMicrophone" | "noCamera" | "cannotConnect" | "poorConnection" | "goodConnection" | "sharing" | "youAreSharing" | "speaking" | "preview" | "guestName" | "denied" | "askToJoin" | "someone" | "guests" | "waitingGuest" | "admit" | "deny" | "newLink" | "copyLink" | "guestLinks" | "noLinks" | "inLobby" | "guestsInCall" | "guestsMaySend" | "sendAll" | "sendCamera" | "sendMicrophone" | "linkUntil" | "linkUntilEnd" | "linkLasts" | "forAnHour" | "addressesVisible" | "guestRefused" | "close" | "guestIntro" | "youLeft", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
package/dist/chat/composer.d.ts
CHANGED
|
@@ -22,11 +22,13 @@ export type ComposerProps = {
|
|
|
22
22
|
canSendEmpty?: boolean;
|
|
23
23
|
/** Gets the files pasted into the box or dropped on the composer; the composer itself uploads and sends nothing. A paste that holds text stays text. */
|
|
24
24
|
onFiles?: (files: File[]) => void;
|
|
25
|
+
/** Gets the box's text each time the person changes it, such as to tell others they type. */
|
|
26
|
+
onDraft?: (text: string) => void;
|
|
25
27
|
};
|
|
26
28
|
/**
|
|
27
29
|
* The text box under a chat, which grows with its text. Enter or the button sends the trimmed text and clears the box, once it is sent when `onSend` returns a promise;
|
|
28
30
|
* Shift+Enter starts a new line; while the list of people to mention is open, Enter picks from it instead. With `canSendEmpty`,
|
|
29
31
|
* such as while files are picked, it sends with no text too.
|
|
30
32
|
*/
|
|
31
|
-
export declare const Composer: ({ onSend, busy, placeholder, inputRef, searchPeople, attachments, actions, canSendEmpty, onFiles }: ComposerProps) => import("react").JSX.Element;
|
|
33
|
+
export declare const Composer: ({ onSend, busy, placeholder, inputRef, searchPeople, attachments, actions, canSendEmpty, onFiles, onDraft }: ComposerProps) => import("react").JSX.Element;
|
|
32
34
|
//#endregion
|
package/dist/chat/composer.js
CHANGED
|
@@ -13,8 +13,12 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
13
13
|
* Shift+Enter starts a new line; while the list of people to mention is open, Enter picks from it instead. With `canSendEmpty`,
|
|
14
14
|
* such as while files are picked, it sends with no text too.
|
|
15
15
|
*/
|
|
16
|
-
const Composer = ({ onSend, busy, placeholder, inputRef, searchPeople, attachments, actions, canSendEmpty, onFiles }) => {
|
|
16
|
+
const Composer = ({ onSend, busy, placeholder, inputRef, searchPeople, attachments, actions, canSendEmpty, onFiles, onDraft }) => {
|
|
17
17
|
const [draft, setDraft] = useState(emptyDraft);
|
|
18
|
+
const edit = (next) => {
|
|
19
|
+
setDraft(next);
|
|
20
|
+
onDraft?.(next.text);
|
|
21
|
+
};
|
|
18
22
|
const message = draft.text.trim();
|
|
19
23
|
const sendable = canSend(message, {
|
|
20
24
|
busy,
|
|
@@ -74,7 +78,7 @@ const Composer = ({ onSend, busy, placeholder, inputRef, searchPeople, attachmen
|
|
|
74
78
|
"aria-label": text("message"),
|
|
75
79
|
placeholder,
|
|
76
80
|
value: draft,
|
|
77
|
-
onChange:
|
|
81
|
+
onChange: edit,
|
|
78
82
|
searchPeople,
|
|
79
83
|
listAt: "above",
|
|
80
84
|
onKeyDown,
|
package/dist/chat/messages.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/chat/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "message" | "send" | "today" | "yesterday" | "newMessages" | "loadEarlier" | "working", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "message" | "send" | "today" | "yesterday" | "newMessages" | "loadEarlier" | "working", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -60,6 +60,17 @@ export declare const useClient: () => {
|
|
|
60
60
|
submitForm: (name: string, values: Record<string, unknown>, proof: import("@protobase/client").FormProof) => Promise<void>;
|
|
61
61
|
live: (handlers: import("@protobase/client").LiveHandlers) => () => void;
|
|
62
62
|
channel: (resource: string, key: import("@protobase/schema").KeyValue | readonly import("@protobase/schema").KeyValue[]) => import("@protobase/client").Channel;
|
|
63
|
+
relay: {
|
|
64
|
+
follow: (handlers: import("@protobase/client").RelayHandlers) => () => void;
|
|
65
|
+
status: () => import("@protobase/client").RelayStatus;
|
|
66
|
+
joined: (channel: string) => boolean;
|
|
67
|
+
join: (channel: string) => () => void;
|
|
68
|
+
send: (channel: string, event: string, payload: Record<string, unknown>) => Promise<void>;
|
|
69
|
+
direct: (to: string, event: string, payload: Record<string, unknown>) => Promise<void>;
|
|
70
|
+
view: (channel: string, keys: readonly string[] | undefined) => void;
|
|
71
|
+
reconnect: () => void;
|
|
72
|
+
presence: (next: import("@protobase/client").OwnPresence) => void;
|
|
73
|
+
};
|
|
63
74
|
bridges: {
|
|
64
75
|
open: (name: string, target: string) => Promise<import("@protobase/client").OpenedBridge>;
|
|
65
76
|
};
|
|
@@ -161,6 +172,17 @@ export declare const useResourceClient: (resource: string) => {
|
|
|
161
172
|
submitForm: (name: string, values: Record<string, unknown>, proof: import("@protobase/client").FormProof) => Promise<void>;
|
|
162
173
|
live: (handlers: import("@protobase/client").LiveHandlers) => () => void;
|
|
163
174
|
channel: (resource: string, key: import("@protobase/schema").KeyValue | readonly import("@protobase/schema").KeyValue[]) => import("@protobase/client").Channel;
|
|
175
|
+
relay: {
|
|
176
|
+
follow: (handlers: import("@protobase/client").RelayHandlers) => () => void;
|
|
177
|
+
status: () => import("@protobase/client").RelayStatus;
|
|
178
|
+
joined: (channel: string) => boolean;
|
|
179
|
+
join: (channel: string) => () => void;
|
|
180
|
+
send: (channel: string, event: string, payload: Record<string, unknown>) => Promise<void>;
|
|
181
|
+
direct: (to: string, event: string, payload: Record<string, unknown>) => Promise<void>;
|
|
182
|
+
view: (channel: string, keys: readonly string[] | undefined) => void;
|
|
183
|
+
reconnect: () => void;
|
|
184
|
+
presence: (next: import("@protobase/client").OwnPresence) => void;
|
|
185
|
+
};
|
|
164
186
|
bridges: {
|
|
165
187
|
open: (name: string, target: string) => Promise<import("@protobase/client").OpenedBridge>;
|
|
166
188
|
};
|
|
@@ -259,6 +281,17 @@ export declare const useResourceClients: () => (resource: string) => {
|
|
|
259
281
|
submitForm: (name: string, values: Record<string, unknown>, proof: import("@protobase/client").FormProof) => Promise<void>;
|
|
260
282
|
live: (handlers: import("@protobase/client").LiveHandlers) => () => void;
|
|
261
283
|
channel: (resource: string, key: import("@protobase/schema").KeyValue | readonly import("@protobase/schema").KeyValue[]) => import("@protobase/client").Channel;
|
|
284
|
+
relay: {
|
|
285
|
+
follow: (handlers: import("@protobase/client").RelayHandlers) => () => void;
|
|
286
|
+
status: () => import("@protobase/client").RelayStatus;
|
|
287
|
+
joined: (channel: string) => boolean;
|
|
288
|
+
join: (channel: string) => () => void;
|
|
289
|
+
send: (channel: string, event: string, payload: Record<string, unknown>) => Promise<void>;
|
|
290
|
+
direct: (to: string, event: string, payload: Record<string, unknown>) => Promise<void>;
|
|
291
|
+
view: (channel: string, keys: readonly string[] | undefined) => void;
|
|
292
|
+
reconnect: () => void;
|
|
293
|
+
presence: (next: import("@protobase/client").OwnPresence) => void;
|
|
294
|
+
};
|
|
262
295
|
bridges: {
|
|
263
296
|
open: (name: string, target: string) => Promise<import("@protobase/client").OpenedBridge>;
|
|
264
297
|
};
|
package/dist/data/meta-data.d.ts
CHANGED
|
@@ -54,6 +54,10 @@ export type MetaData = {
|
|
|
54
54
|
status?: boolean;
|
|
55
55
|
/** Whether the app has calls, which ring people on any page they have open (see `CallRings`). */
|
|
56
56
|
calls?: boolean;
|
|
57
|
+
/** With the app's realtime relay: the resources whose changes it notices, which pages hear of from it (see `RelayProvider`). */
|
|
58
|
+
relay?: {
|
|
59
|
+
resources: string[];
|
|
60
|
+
};
|
|
57
61
|
/** The language the app's screens are in for everyone, when it sets one (see `AppLocale`). */
|
|
58
62
|
locale?: Locale;
|
|
59
63
|
/** The app's own texts in the user's language, the messages their pages' `<Trans>` elements name (see `AppTexts`). */
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { MetaData } from "./meta-data.js";
|
|
2
2
|
//#region src/data/use-live-updates.d.ts
|
|
3
3
|
/**
|
|
4
|
-
* Keeps what the page shows of the app's `.live()` resources current: hears which records change
|
|
5
|
-
*
|
|
4
|
+
* Keeps what the page shows of the app's `.live()` resources current: hears which records change and reads again the
|
|
5
|
+
* lists, records and counts of their resources. With the app's realtime relay, the resources it notices are heard of
|
|
6
|
+
* from it, only those of the channel an open conversation shows while one is open, and all of them read again once
|
|
7
|
+
* after it reconnects; the others from `client.live`, which connects only when
|
|
8
|
+
* the caller reads such a resource.
|
|
6
9
|
*/
|
|
7
10
|
export declare const useLiveUpdates: (meta: MetaData) => void;
|
|
8
11
|
//#endregion
|
|
@@ -1,19 +1,41 @@
|
|
|
1
1
|
import { FocusRefreshContext } from "./focus-refresh.js";
|
|
2
2
|
import { useClient } from "./api-provider.js";
|
|
3
3
|
import { sourceStatusOf } from "./with-sources.js";
|
|
4
|
+
import { useRelay } from "../relay/relay-context.js";
|
|
4
5
|
import { liveRefresh } from "./live-refresh.js";
|
|
5
6
|
import { useContext, useEffect, useMemo } from "react";
|
|
6
7
|
import { useQueryClient } from "@tanstack/react-query";
|
|
7
8
|
//#region src/data/use-live-updates.ts
|
|
8
9
|
/**
|
|
9
|
-
* Keeps what the page shows of the app's `.live()` resources current: hears which records change
|
|
10
|
-
*
|
|
10
|
+
* Keeps what the page shows of the app's `.live()` resources current: hears which records change and reads again the
|
|
11
|
+
* lists, records and counts of their resources. With the app's realtime relay, the resources it notices are heard of
|
|
12
|
+
* from it, only those of the channel an open conversation shows while one is open, and all of them read again once
|
|
13
|
+
* after it reconnects; the others from `client.live`, which connects only when
|
|
14
|
+
* the caller reads such a resource.
|
|
11
15
|
*/
|
|
12
16
|
const useLiveUpdates = (meta) => {
|
|
13
17
|
const client = useClient();
|
|
18
|
+
const relay = useRelay();
|
|
14
19
|
const queryClient = useQueryClient();
|
|
15
20
|
const focusRefresh = useContext(FocusRefreshContext);
|
|
16
|
-
const
|
|
21
|
+
const noticed = useMemo(() => relay ? new Set(meta.relay?.resources ?? []) : /* @__PURE__ */ new Set(), [relay, meta.relay]);
|
|
22
|
+
const live = useMemo(() => Object.values(meta.resources).filter((model) => model.live && !noticed.has(model.name) && !sourceStatusOf(meta, model.name)).map((model) => model.name).sort().join(","), [meta, noticed]);
|
|
23
|
+
useEffect(() => {
|
|
24
|
+
if (!relay || noticed.size === 0) return;
|
|
25
|
+
const refresh = liveRefresh(queryClient, () => focusRefresh?.paused() ?? false);
|
|
26
|
+
const stopNotices = relay.store.onNotice((notice) => relay.store.shows(notice) && refresh.changed([notice.resource]));
|
|
27
|
+
const stopResync = relay.store.onResync(() => refresh.changed(noticed));
|
|
28
|
+
return () => {
|
|
29
|
+
stopNotices();
|
|
30
|
+
stopResync();
|
|
31
|
+
refresh.stop();
|
|
32
|
+
};
|
|
33
|
+
}, [
|
|
34
|
+
relay,
|
|
35
|
+
noticed,
|
|
36
|
+
queryClient,
|
|
37
|
+
focusRefresh
|
|
38
|
+
]);
|
|
17
39
|
useEffect(() => {
|
|
18
40
|
if (!live) return;
|
|
19
41
|
const refresh = liveRefresh(queryClient, () => focusRefresh?.paused() ?? false);
|
package/dist/data/use-meta.js
CHANGED
|
@@ -51,6 +51,7 @@ const useMeta = () => {
|
|
|
51
51
|
...result.meta.notifications?.bell && { bell: true },
|
|
52
52
|
...result.meta.status && { status: true },
|
|
53
53
|
...result.meta.calls && { calls: true },
|
|
54
|
+
...result.meta.relay && { relay: result.meta.relay },
|
|
54
55
|
...result.meta.locale && { locale: result.meta.locale },
|
|
55
56
|
...result.meta.texts && { texts: result.meta.texts },
|
|
56
57
|
...result.meta.files && { files: result.meta.files },
|
|
@@ -62,5 +62,5 @@ export type ColumnSpec = {
|
|
|
62
62
|
/** Drawn under the cell's content, outside the link a title cell is; every row of the grid grows to hold it. */
|
|
63
63
|
below?: (row: GridRow) => ReactNode;
|
|
64
64
|
};
|
|
65
|
-
export declare const isRightAligned: (kind: ColumnKind) => kind is "number" | "
|
|
65
|
+
export declare const isRightAligned: (kind: ColumnKind) => kind is "number" | "percent" | "signed" | "money";
|
|
66
66
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/data-grid/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "row" | "
|
|
5
|
-
rich(id: "row" | "
|
|
4
|
+
(id: "row" | "cancelled" | "move" | "new" | "unpin" | "selected" | "no" | "shownIn" | "unsortable" | "columnMenu" | "pinToLeft" | "resizeColumn" | "clearSelection" | "noRowsSelected" | "selectRow" | "rowActions" | "reorderInstructions" | "pickedUp" | "isOver" | "droppedAt" | "putBack", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "row" | "cancelled" | "move" | "new" | "unpin" | "selected" | "no" | "shownIn" | "unsortable" | "columnMenu" | "pinToLeft" | "resizeColumn" | "clearSelection" | "noRowsSelected" | "selectRow" | "rowActions" | "reorderInstructions" | "pickedUp" | "isOver" | "droppedAt" | "putBack", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/filter-panel/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "date" | "remove" | "
|
|
5
|
-
rich(id: "date" | "remove" | "
|
|
4
|
+
(id: "date" | "remove" | "maximum" | "minimum" | "filters" | "today" | "yesterday" | "24h" | "7d" | "30d" | "90d" | "month" | "quarter" | "year" | "noMatches" | "unknownPreset" | "unsupported" | "clearAll" | "searchIn" | "moreFilters" | "showOnly" | "couldNotLoadCounts", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "date" | "remove" | "maximum" | "minimum" | "filters" | "today" | "yesterday" | "24h" | "7d" | "30d" | "90d" | "month" | "quarter" | "year" | "noMatches" | "unknownPreset" | "unsupported" | "clearAll" | "searchIn" | "moreFilters" | "showOnly" | "couldNotLoadCounts", 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/format/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "rows" | "aboutRows" | "secondsAgo" | "minutesAgo" | "hoursAgo" | "daysAgo"
|
|
5
|
-
rich(id: "rows" | "aboutRows" | "secondsAgo" | "minutesAgo" | "hoursAgo" | "daysAgo"
|
|
4
|
+
(id: "justNow" | "rows" | "aboutRows" | "secondsAgo" | "minutesAgo" | "hoursAgo" | "daysAgo", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "justNow" | "rows" | "aboutRows" | "secondsAgo" | "minutesAgo" | "hoursAgo" | "daysAgo", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
package/dist/forms/messages.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/forms/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "send" | "loading" | "notFound" | "noForm" | "setByDatabase" | "notSent" | "checkTooLong", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "send" | "loading" | "notFound" | "noForm" | "setByDatabase" | "notSent" | "checkTooLong", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
package/dist/index.d.ts
CHANGED
|
@@ -69,6 +69,10 @@ import { ToneEdge } from "./app/related-cards/tone-edge.js";
|
|
|
69
69
|
import { AppLink, useAppAddress } from "./app/use-app-address.js";
|
|
70
70
|
import { useApiToken } from "./auth/use-api-token.js";
|
|
71
71
|
import { SignedInUser, useSignedInUser } from "./auth/use-signed-in-user.js";
|
|
72
|
+
import { useTypers } from "./relay/relay-context.js";
|
|
73
|
+
import { TypingLine } from "./relay/typing-line.js";
|
|
74
|
+
import { useTypingSender } from "./relay/use-typing-sender.js";
|
|
75
|
+
import { useViewChannel } from "./relay/use-view-channel.js";
|
|
72
76
|
import { statusRefreshMs, useOwnStatus, useStatuses } from "./status/use-statuses.js";
|
|
73
77
|
import { CallView, CallViewProps } from "./calls/call-view.js";
|
|
74
78
|
import { RecordCall, RecordCallProps } from "./calls/record-call.js";
|
|
@@ -132,4 +136,4 @@ import { RecordPicker, RecordPickerProps } from "./app/record-picker.js";
|
|
|
132
136
|
import { Spinner } from "./primitives/spinner.js";
|
|
133
137
|
import { uiReadyEvent } from "./app/ui-ready.js";
|
|
134
138
|
import { useQuery, useQueryClient } from "@tanstack/react-query";
|
|
135
|
-
export { ActionCard, type ActionCardProps, type ActionContext, type ActionHandler, ActionInputError, type ActionInputProps, ApiProvider, type ApiProviderProps, App, AppLink, AppMark, type AppMarkProps, type AppProps, AssistantDock, type AssistantDockProps, AuthLayout, type AuthLayoutProps, AvailabilityMark, type BackendData, type BackendRefresh, type BeforeSignInProps, type BoardDrop, type BoardDropContext, type BoardDropUndo, type BoardDropWrite, Button, type ButtonProps, CallMark, type CallMarkProps, CallView, type CallViewProps, type CardAction, type CardTone, Carousel, type CarouselImage, type CarouselProps, type ChatAuthor, ChatDivider, type ChatDividerProps, ChatMessage, type ChatMessageProps, ChatThread, type ChatThreadProps, type ChoiceOption, Choices, type ChoicesProps, CodeForm, type CodeFormProps, CompactTable, type CompactTableProps, type ComponentRead, type ComponentReads, type ComponentSelect, Composer, type ComposerProps, type CreateForm, type CreateFormOptions, type CurrentAddress, Dialog, type DialogProps, type DiffLine, DiffView, type DiffViewProps, type Drop, type DropRule, Field, FieldBadge, FieldList, type FieldProps, type FieldWidget, type FieldWidgetEditorProps, type FieldWidgetProps, FileReadError, type FileViewer, type FileViewerProps, type FocusAction, FocusActions, FocusNotice, type FocusNoticeProps, FocusPage, type FocusPageProps, FocusPanel, type FocusPanelProps, type FocusRecord, type FocusSize, FocusSlot, type FocusSlotProps, type FocusZone, Form, type FormProps, type FrameLink, type FrameScripts, HtmlFrame, InPlaceForm, type InPlaceFormProps, Input, type InputProps, type LayoutRecord, type LinkAddress, type ListAddress, type ListChange, type ListDisplay, type ListDisplayRow, LogoMark, Markdown, type MarkdownContentProps as MarkdownProps, type MarksHook, type Member, type MembersResult, MentionBox, type MentionBoxProps, type MentionDraft, MentionedText, MenuSelect, type MenuSelectProps, MenuSurface, type MenuSurfaceProps, type MetaData, type NoticeLevel, OtpInput, type OtpInputProps, PartView, type PatchFile, type PeopleSearch, type PickedUser, type PickerGroup, type PickerItem, type PluginInfo, type Presence, type PresenceHook, type ProjectUi, type PushState, RecordCall, type RecordCallProps, type RecordCardProps, RecordLink, type RecordMark, RecordPicker, type RecordPickerProps, ResendCodeButton, type ResendCodeButtonProps, ResponsiveDialog, type ResponsiveDialogProps, RouteLink, type RouteTarget, SearchPicker, type SearchPickerProps, Section, Segmented, type SegmentedOption, type SegmentedProps, Select, type SelectProps, type ShellLogoProps, type SiblingFile, type SiblingPage, SidePanel, type SidePanelProps, SignInPrompt, type SignInPromptProps, type SignedInUser, Spinner, StatusMark, type StatusMarkProps, type Step, StepList, type StepState, Textarea, type TextareaProps, type TitleReader, type TitleRule, type ToastAction, type ToastApi, type ToastState, ToneEdge, type ViewedFile, allowDelayMs, buttonClass, chatDayLabel, closeSidebarEvent, definePlugin, defineUi, diffStats, emptyDraft, extensionPointsOf, fileNamed, isConflict, isFramed, logoTapEvent, mentionedIds, menuItemClass, mergeUi, parseDiff, parsePatch, pluginApi, pluginsChangedEvent, protobaseVersion, sameChatDay, showTextsIn, siblingPage, signedOutEvent, statusRefreshMs, uiFromModule, uiReadyEvent, useApiToken, useAppAddress, useArmedAfterFocus, useAssistant, useAssistantClient, useBackendData, useClient, useComponentReads, useComponentSelect, useCreateForm, useFacets, useFieldControl, useFileText, useFocusPage, useFocusRecord, useFocusZoneFilled, useGuardedPress, useHistogram, useInbox, useLayoutRecord, useList, useListDisplay, useMarkNotificationsRead, useMembers, useMeta, useOwnStatus, usePlugin, usePopoverMenu, usePresence, usePushNotifications, useQuery, useQueryClient, useRecord, useRecordCallAddress, useRecordCalls, useResourceClient, useSeries, useSiblingPage, useSignedInUser, useStatuses, useToast, useUnreadNotifications, useUpdateRecord };
|
|
139
|
+
export { ActionCard, type ActionCardProps, type ActionContext, type ActionHandler, ActionInputError, type ActionInputProps, ApiProvider, type ApiProviderProps, App, AppLink, AppMark, type AppMarkProps, type AppProps, AssistantDock, type AssistantDockProps, AuthLayout, type AuthLayoutProps, AvailabilityMark, type BackendData, type BackendRefresh, type BeforeSignInProps, type BoardDrop, type BoardDropContext, type BoardDropUndo, type BoardDropWrite, Button, type ButtonProps, CallMark, type CallMarkProps, CallView, type CallViewProps, type CardAction, type CardTone, Carousel, type CarouselImage, type CarouselProps, type ChatAuthor, ChatDivider, type ChatDividerProps, ChatMessage, type ChatMessageProps, ChatThread, type ChatThreadProps, type ChoiceOption, Choices, type ChoicesProps, CodeForm, type CodeFormProps, CompactTable, type CompactTableProps, type ComponentRead, type ComponentReads, type ComponentSelect, Composer, type ComposerProps, type CreateForm, type CreateFormOptions, type CurrentAddress, Dialog, type DialogProps, type DiffLine, DiffView, type DiffViewProps, type Drop, type DropRule, Field, FieldBadge, FieldList, type FieldProps, type FieldWidget, type FieldWidgetEditorProps, type FieldWidgetProps, FileReadError, type FileViewer, type FileViewerProps, type FocusAction, FocusActions, FocusNotice, type FocusNoticeProps, FocusPage, type FocusPageProps, FocusPanel, type FocusPanelProps, type FocusRecord, type FocusSize, FocusSlot, type FocusSlotProps, type FocusZone, Form, type FormProps, type FrameLink, type FrameScripts, HtmlFrame, InPlaceForm, type InPlaceFormProps, Input, type InputProps, type LayoutRecord, type LinkAddress, type ListAddress, type ListChange, type ListDisplay, type ListDisplayRow, LogoMark, Markdown, type MarkdownContentProps as MarkdownProps, type MarksHook, type Member, type MembersResult, MentionBox, type MentionBoxProps, type MentionDraft, MentionedText, MenuSelect, type MenuSelectProps, MenuSurface, type MenuSurfaceProps, type MetaData, type NoticeLevel, OtpInput, type OtpInputProps, PartView, type PatchFile, type PeopleSearch, type PickedUser, type PickerGroup, type PickerItem, type PluginInfo, type Presence, type PresenceHook, type ProjectUi, type PushState, RecordCall, type RecordCallProps, type RecordCardProps, RecordLink, type RecordMark, RecordPicker, type RecordPickerProps, ResendCodeButton, type ResendCodeButtonProps, ResponsiveDialog, type ResponsiveDialogProps, RouteLink, type RouteTarget, SearchPicker, type SearchPickerProps, Section, Segmented, type SegmentedOption, type SegmentedProps, Select, type SelectProps, type ShellLogoProps, type SiblingFile, type SiblingPage, SidePanel, type SidePanelProps, SignInPrompt, type SignInPromptProps, type SignedInUser, Spinner, StatusMark, type StatusMarkProps, type Step, StepList, type StepState, Textarea, type TextareaProps, type TitleReader, type TitleRule, type ToastAction, type ToastApi, type ToastState, ToneEdge, TypingLine, type ViewedFile, allowDelayMs, buttonClass, chatDayLabel, closeSidebarEvent, definePlugin, defineUi, diffStats, emptyDraft, extensionPointsOf, fileNamed, isConflict, isFramed, logoTapEvent, mentionedIds, menuItemClass, mergeUi, parseDiff, parsePatch, pluginApi, pluginsChangedEvent, protobaseVersion, sameChatDay, showTextsIn, siblingPage, signedOutEvent, statusRefreshMs, uiFromModule, uiReadyEvent, useApiToken, useAppAddress, useArmedAfterFocus, useAssistant, useAssistantClient, useBackendData, useClient, useComponentReads, useComponentSelect, useCreateForm, useFacets, useFieldControl, useFileText, useFocusPage, useFocusRecord, useFocusZoneFilled, useGuardedPress, useHistogram, useInbox, useLayoutRecord, useList, useListDisplay, useMarkNotificationsRead, useMembers, useMeta, useOwnStatus, usePlugin, usePopoverMenu, usePresence, usePushNotifications, useQuery, useQueryClient, useRecord, useRecordCallAddress, useRecordCalls, useResourceClient, useSeries, useSiblingPage, useSignedInUser, useStatuses, useToast, useTypers, useTypingSender, useUnreadNotifications, useUpdateRecord, useViewChannel };
|
package/dist/index.js
CHANGED
|
@@ -27,6 +27,7 @@ import { extensionPointsOf } from "./plugins/extension-points.js";
|
|
|
27
27
|
import { pluginsChangedEvent } from "./plugins/plugin-source.js";
|
|
28
28
|
import { useApiToken } from "./auth/use-api-token.js";
|
|
29
29
|
import { useSignedInUser } from "./auth/use-signed-in-user.js";
|
|
30
|
+
import { useTypers } from "./relay/relay-context.js";
|
|
30
31
|
import { useRecord } from "./data/use-record.js";
|
|
31
32
|
import { useToast } from "./toasts/toast-provider.js";
|
|
32
33
|
import { usePresence } from "./presence/presence.js";
|
|
@@ -58,6 +59,9 @@ import { FieldBadge } from "./app/field-badge.js";
|
|
|
58
59
|
import { ToneEdge } from "./app/related-cards/tone-edge.js";
|
|
59
60
|
import { useListDisplay } from "./app/displays/display-context.js";
|
|
60
61
|
import { RecordLink } from "./app/displays/record-link.js";
|
|
62
|
+
import { TypingLine } from "./relay/typing-line.js";
|
|
63
|
+
import { useTypingSender } from "./relay/use-typing-sender.js";
|
|
64
|
+
import { useViewChannel } from "./relay/use-view-channel.js";
|
|
61
65
|
import { CallView } from "./calls/call-view.js";
|
|
62
66
|
import { useRecordCallAddress } from "./calls/use-record-call-address.js";
|
|
63
67
|
import { RecordCall } from "./calls/record-call.js";
|
|
@@ -102,4 +106,4 @@ import { useCreateForm } from "./app/create/use-create-form.js";
|
|
|
102
106
|
import { InPlaceForm } from "./app/create/in-place-form.js";
|
|
103
107
|
import { RecordPicker } from "./app/record-picker.js";
|
|
104
108
|
import { useQuery, useQueryClient } from "@tanstack/react-query";
|
|
105
|
-
export { ActionCard, ActionInputError, ApiProvider, App, AppLink, AppMark, AssistantDock, AuthLayout, AvailabilityMark, Button, CallMark, CallView, Carousel, ChatDivider, ChatMessage, ChatThread, Choices, CodeForm, CompactTable, Composer, Dialog, DiffView, Field, FieldBadge, FieldList, FileReadError, FocusActions, FocusNotice, FocusPage, FocusPanel, FocusSlot, Form, HtmlFrame, InPlaceForm, Input, LogoMark, Markdown, MentionBox, MentionedText, MenuSelect, MenuSurface, OtpInput, PartView, RecordCall, RecordLink, RecordPicker, ResendCodeButton, ResponsiveDialog, RouteLink, SearchPicker, Section, Segmented, Select, SidePanel, SignInPrompt, Spinner, StatusMark, StepList, Textarea, ToneEdge, allowDelayMs, buttonClass, chatDayLabel, closeSidebarEvent, definePlugin, defineUi, diffStats, emptyDraft, extensionPointsOf, fileNamed, isConflict, isFramed, logoTapEvent, mentionedIds, menuItemClass, mergeUi, parseDiff, parsePatch, pluginApi, pluginsChangedEvent, protobaseVersion, sameChatDay, showTextsIn, siblingPage, signedOutEvent, statusRefreshMs, uiFromModule, uiReadyEvent, useApiToken, useAppAddress, useArmedAfterFocus, useAssistant, useAssistantClient, useBackendData, useClient, useComponentReads, useComponentSelect, useCreateForm, useFacets, useFieldControl, useFileText, useFocusPage, useFocusRecord, useFocusZoneFilled, useGuardedPress, useHistogram, useInbox, useLayoutRecord, useList, useListDisplay, useMarkNotificationsRead, useMembers, useMeta, useOwnStatus, usePlugin, usePopoverMenu, usePresence, usePushNotifications, useQuery, useQueryClient, useRecord, useRecordCallAddress, useRecordCalls, useResourceClient, useSeries, useSiblingPage, useSignedInUser, useStatuses, useToast, useUnreadNotifications, useUpdateRecord };
|
|
109
|
+
export { ActionCard, ActionInputError, ApiProvider, App, AppLink, AppMark, AssistantDock, AuthLayout, AvailabilityMark, Button, CallMark, CallView, Carousel, ChatDivider, ChatMessage, ChatThread, Choices, CodeForm, CompactTable, Composer, Dialog, DiffView, Field, FieldBadge, FieldList, FileReadError, FocusActions, FocusNotice, FocusPage, FocusPanel, FocusSlot, Form, HtmlFrame, InPlaceForm, Input, LogoMark, Markdown, MentionBox, MentionedText, MenuSelect, MenuSurface, OtpInput, PartView, RecordCall, RecordLink, RecordPicker, ResendCodeButton, ResponsiveDialog, RouteLink, SearchPicker, Section, Segmented, Select, SidePanel, SignInPrompt, Spinner, StatusMark, StepList, Textarea, ToneEdge, TypingLine, allowDelayMs, buttonClass, chatDayLabel, closeSidebarEvent, definePlugin, defineUi, diffStats, emptyDraft, extensionPointsOf, fileNamed, isConflict, isFramed, logoTapEvent, mentionedIds, menuItemClass, mergeUi, parseDiff, parsePatch, pluginApi, pluginsChangedEvent, protobaseVersion, sameChatDay, showTextsIn, siblingPage, signedOutEvent, statusRefreshMs, uiFromModule, uiReadyEvent, useApiToken, useAppAddress, useArmedAfterFocus, useAssistant, useAssistantClient, useBackendData, useClient, useComponentReads, useComponentSelect, useCreateForm, useFacets, useFieldControl, useFileText, useFocusPage, useFocusRecord, useFocusZoneFilled, useGuardedPress, useHistogram, useInbox, useLayoutRecord, useList, useListDisplay, useMarkNotificationsRead, useMembers, useMeta, useOwnStatus, usePlugin, usePopoverMenu, usePresence, usePushNotifications, useQuery, useQueryClient, useRecord, useRecordCallAddress, useRecordCalls, useResourceClient, useSeries, useSiblingPage, useSignedInUser, useStatuses, useToast, useTypers, useTypingSender, useUnreadNotifications, useUpdateRecord, useViewChannel };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/inline-child-table/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "line" | "
|
|
5
|
-
rich(id: "line" | "
|
|
4
|
+
(id: "line" | "cancelled" | "pickedUp" | "instructions" | "over" | "dropped" | "droppedAtStart" | "addLine" | "noLines" | "moveUp" | "moveDown" | "removeLine" | "dragToReorder" | "actionsFor", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "line" | "cancelled" | "pickedUp" | "instructions" | "over" | "dropped" | "droppedAtStart" | "addLine" | "noLines" | "moveUp" | "moveDown" | "removeLine" | "dragToReorder" | "actionsFor", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
package/dist/live/messages.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/live/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "fileMissing" | "yes" | "no" | "shownIn" | "jsonItems", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "fileMissing" | "yes" | "no" | "shownIn" | "jsonItems", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
package/dist/locale/en.js
CHANGED
|
@@ -355,7 +355,9 @@ var en_default = {
|
|
|
355
355
|
"loading": "Loading...",
|
|
356
356
|
"couldNotLoad": "Could not load",
|
|
357
357
|
"viewAll": "View all",
|
|
358
|
-
"couldNotSearch": "Could not search <lower>{label}</lower>"
|
|
358
|
+
"couldNotSearch": "Could not search <lower>{label}</lower>",
|
|
359
|
+
"typing": "typing…",
|
|
360
|
+
"unread": "{count, plural, one {# unread message} other {# unread messages}}"
|
|
359
361
|
},
|
|
360
362
|
"app/built-in-views": {
|
|
361
363
|
"table_definitions.tables.names.singular": "Table",
|
|
@@ -726,7 +728,10 @@ var en_default = {
|
|
|
726
728
|
"fileNotUploaded": "Not uploaded: {reason}",
|
|
727
729
|
"uploadedPercent": "{percent}%",
|
|
728
730
|
"fileMissing": "This file is missing",
|
|
729
|
-
"couldNotLoadFiles": "Could not load the files"
|
|
731
|
+
"couldNotLoadFiles": "Could not load the files",
|
|
732
|
+
"typingOne": "{name} is typing…",
|
|
733
|
+
"typingTwo": "{first} and {second} are typing…",
|
|
734
|
+
"typingMany": "Several people are typing…"
|
|
730
735
|
},
|
|
731
736
|
"app/create": {
|
|
732
737
|
"title": "New <lower>{noun}</lower>",
|
package/dist/locale/en.json.d.ts
CHANGED
|
@@ -358,6 +358,8 @@ declare const _exports: {
|
|
|
358
358
|
couldNotLoad: string;
|
|
359
359
|
viewAll: string;
|
|
360
360
|
couldNotSearch: string;
|
|
361
|
+
typing: string;
|
|
362
|
+
unread: string;
|
|
361
363
|
};
|
|
362
364
|
"app/built-in-views": {
|
|
363
365
|
"table_definitions.tables.names.singular": string;
|
|
@@ -729,6 +731,9 @@ declare const _exports: {
|
|
|
729
731
|
uploadedPercent: string;
|
|
730
732
|
fileMissing: string;
|
|
731
733
|
couldNotLoadFiles: string;
|
|
734
|
+
typingOne: string;
|
|
735
|
+
typingTwo: string;
|
|
736
|
+
typingMany: string;
|
|
732
737
|
};
|
|
733
738
|
"app/create": {
|
|
734
739
|
title: string;
|
|
@@ -387,6 +387,8 @@ export declare const messages: <N extends Namespace>(namespace: N) => {
|
|
|
387
387
|
couldNotLoad: string;
|
|
388
388
|
viewAll: string;
|
|
389
389
|
couldNotSearch: string;
|
|
390
|
+
typing: string;
|
|
391
|
+
unread: string;
|
|
390
392
|
};
|
|
391
393
|
"app/built-in-views": {
|
|
392
394
|
"table_definitions.tables.names.singular": string;
|
|
@@ -758,6 +760,9 @@ export declare const messages: <N extends Namespace>(namespace: N) => {
|
|
|
758
760
|
uploadedPercent: string;
|
|
759
761
|
fileMissing: string;
|
|
760
762
|
couldNotLoadFiles: string;
|
|
763
|
+
typingOne: string;
|
|
764
|
+
typingTwo: string;
|
|
765
|
+
typingMany: string;
|
|
761
766
|
};
|
|
762
767
|
"app/create": {
|
|
763
768
|
title: string;
|
|
@@ -2819,6 +2824,8 @@ export declare const messages: <N extends Namespace>(namespace: N) => {
|
|
|
2819
2824
|
couldNotLoad: string;
|
|
2820
2825
|
viewAll: string;
|
|
2821
2826
|
couldNotSearch: string;
|
|
2827
|
+
typing: string;
|
|
2828
|
+
unread: string;
|
|
2822
2829
|
};
|
|
2823
2830
|
"app/built-in-views": {
|
|
2824
2831
|
"table_definitions.tables.names.singular": string;
|
|
@@ -3190,6 +3197,9 @@ export declare const messages: <N extends Namespace>(namespace: N) => {
|
|
|
3190
3197
|
uploadedPercent: string;
|
|
3191
3198
|
fileMissing: string;
|
|
3192
3199
|
couldNotLoadFiles: string;
|
|
3200
|
+
typingOne: string;
|
|
3201
|
+
typingTwo: string;
|
|
3202
|
+
typingMany: string;
|
|
3193
3203
|
};
|
|
3194
3204
|
"app/create": {
|
|
3195
3205
|
title: string;
|