@protobase/ui 0.121.7 → 0.121.9
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/change-confirm/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-messages.js +3 -3
- package/dist/app/conversation-page/conversation-rows.d.ts +5 -2
- package/dist/app/conversation-page/conversation-rows.js +10 -7
- package/dist/app/conversation-page/messages.d.ts +2 -2
- package/dist/app/conversation-page/messages.js +1 -1
- package/dist/app/conversation-page/read-position-write.d.ts +21 -0
- package/dist/app/conversation-page/read-position-write.js +25 -0
- package/dist/app/conversation-page/use-read-position.d.ts +3 -2
- package/dist/app/conversation-page/use-read-position.js +33 -34
- package/dist/app/create/messages.d.ts +2 -2
- package/dist/app/delete/messages.d.ts +2 -2
- 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/json/messages.d.ts +2 -2
- package/dist/app/field-types/runner-install/messages.d.ts +2 -2
- 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/gallery-layout.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/new-version/messages.d.ts +2 -2
- 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/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-grid/messages.d.ts +2 -2
- package/dist/filter-panel/messages.d.ts +2 -2
- package/dist/index.d.ts +5 -1
- package/dist/index.js +4 -1
- package/dist/inline-child-table/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 +6 -1
- package/dist/locale/en.json.d.ts +5 -0
- package/dist/locale/messages.d.ts +10 -0
- package/dist/locale/nl.js +6 -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/invoices.d.ts +1 -1
- package/dist/mocks/orders.d.ts +2 -2
- 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/plugin-api.exports.js +3 -0
- package/dist/primitives/messages.d.ts +2 -2
- package/dist/record-view/messages.d.ts +2 -2
- package/dist/shell/assets/{account-page-D2DFhATt.js → account-page-CfX28GQ8.js} +2 -2
- package/dist/shell/assets/{app-BYgBo_z1.js → app-26FM9hvC.js} +5 -5
- package/dist/shell/assets/{assistant-shell-CZuq3-_1.js → assistant-shell-z2XOEbOj.js} +2 -2
- package/dist/shell/assets/{board-display-BC1Xwyy-.js → board-display-DJpwNHqR.js} +2 -2
- package/dist/shell/assets/{calendar-display-BAQS9s6i.js → calendar-display-CCAuGvO0.js} +2 -2
- package/dist/shell/assets/{call-rings-B9fm8IVt.js → call-rings-DpsiFB6J.js} +2 -2
- package/dist/shell/assets/{calls-Czowx1YO.js → calls-DXZIKdLq.js} +2 -2
- package/dist/shell/assets/{circle-alert-_fRBdP-Q.js → circle-alert-DLkf2jqw.js} +2 -2
- package/dist/shell/assets/{composed-page-CW54YFwq.js → composed-page-Dgq_w1W6.js} +2 -2
- package/dist/shell/assets/{composer-section-C5FkK1rg.js → composer-section-DfppQhmw.js} +2 -2
- package/dist/shell/assets/{connect-route-9UQdPFMU.js → connect-route-CY2ZfSc_.js} +2 -2
- package/dist/shell/assets/{copy-field-kzYEwhr-.js → copy-field-q7yD4jZB.js} +2 -2
- package/dist/shell/assets/{create-route-BUYfZRsc.js → create-route-DA9m3zuH.js} +2 -2
- package/dist/shell/assets/{custom-step-container-field--zORrk8N.js → custom-step-container-field-CgoMp_U9.js} +2 -2
- package/dist/shell/assets/{embedded-list-CHU_9xSx.js → embedded-list-BdX2FUxK.js} +3 -3
- package/dist/shell/assets/en-F4WlEfjV.js +2 -0
- package/dist/shell/assets/{export-dialog-BOBW8mCE.js → export-dialog-WJeF3CbF.js} +2 -2
- package/dist/shell/assets/export-worker-BbrJ4DH1.js +15 -0
- package/dist/shell/assets/{first-organization-page-MW8S5Y7S.js → first-organization-page-DEEIRm-0.js} +2 -2
- package/dist/shell/assets/{graph-view-D0OeBjYF.js → graph-view-D4xNpQ_g.js} +2 -2
- package/dist/shell/assets/{group-donut-xyziydWM.js → group-donut-BaFas9ku.js} +2 -2
- package/dist/shell/assets/{guest-call-page-DH1kDNtt.js → guest-call-page-DkPBCsWu.js} +3 -3
- package/dist/shell/assets/{html-viewer-c3e-7OLn.js → html-viewer-BxpAIOTS.js} +2 -2
- package/dist/shell/assets/{import-dialog-C6bOsAIq.js → import-dialog-CGbSlHpH.js} +2 -2
- package/dist/shell/assets/{import-table-dialog-CQccEHdf.js → import-table-dialog-D_Ocp3vu.js} +2 -2
- package/dist/shell/assets/{index-CLpS4x6F.js → index-BqXzr-yT.js} +1 -1
- package/dist/shell/assets/{invitations-page-D6HhsOWj.js → invitations-page-BMPl6GWq.js} +2 -2
- package/dist/shell/assets/{layout-grid-pjoZzXon.js → layout-grid-DRPuMrqQ.js} +2 -2
- package/dist/shell/assets/{legend-item-B86V--7o.js → legend-item-BBq7fIY0.js} +2 -2
- package/dist/shell/assets/{list-page-dNzugv-H.js → list-page-C2PiELeV.js} +4 -4
- package/dist/shell/assets/{maplibre-DQzo1J5C.js → maplibre-DtBIeJSN.js} +2 -2
- package/dist/shell/assets/{markdown-content-MhPltQkM.js → markdown-content-CtsPlIoM.js} +2 -2
- package/dist/shell/assets/{members-page-CtpsMd1_.js → members-page-BOGEqd2d.js} +2 -2
- package/dist/shell/assets/{message-content-BcVNCPRA.js → message-content-DXUPTfSg.js} +2 -2
- package/dist/shell/assets/{messages-DbktI6r5.js → messages-uoUGFNWe.js} +2 -2
- package/dist/shell/assets/nl-CGzPjT6w.js +2 -0
- package/dist/shell/assets/{organization-page-DFbVBi0Z.js → organization-page-i6ma8Zpd.js} +2 -2
- package/dist/shell/assets/{organizations-page-CwNmA9m_.js → organizations-page-DoKdrKKR.js} +2 -2
- package/dist/shell/assets/parse-worker-CG0FAJQa.js +35 -0
- package/dist/shell/assets/{pending-invitation-row-DoSd4IA0.js → pending-invitation-row-CNhLeVIQ.js} +2 -2
- package/dist/shell/assets/{period-chart-BHhRENq9.js → period-chart-Dt45QkuG.js} +2 -2
- package/dist/shell/assets/{person-row-CAw28fyx.js → person-row-CcvbtovO.js} +2 -2
- package/dist/shell/assets/{public-form-page-BSMW5adw.js → public-form-page-uedT0S1c.js} +2 -2
- package/dist/shell/assets/{record-lines-D6y6-mvM.js → record-lines-Dv0Sa0Bm.js} +2 -2
- package/dist/shell/assets/{record-map-BWSxXERS.js → record-map-B9GnjR1C.js} +2 -2
- package/dist/shell/assets/{record-opens-CgMvd88M.js → record-opens-B4gCpNRB.js} +2 -2
- package/dist/shell/assets/record-page-Cj_q__l8.js +3 -0
- package/dist/shell/assets/{record-preview-BI6XSujc.js → record-preview-JiWY0Bog.js} +2 -2
- package/dist/shell/assets/{records-map-DqgtOW5s.js → records-map-C8eK7w7P.js} +2 -2
- package/dist/shell/assets/{render-node-WNms9GRI.js → render-node-BuW1TcF4.js} +3 -3
- package/dist/shell/assets/{reorder-button-el0y4Qb_.js → reorder-button-osmG3Y_Q.js} +2 -2
- package/dist/shell/assets/{run-trace-view-DlOxyoRy.js → run-trace-view-C9eyUJ6D.js} +2 -2
- package/dist/shell/assets/{runner-install-field-BW0Yr1jA.js → runner-install-field-DSyxhG1I.js} +2 -2
- package/dist/shell/assets/{runtime-update-15cUO82W.js → runtime-update-L7M--oiI.js} +2 -2
- package/dist/shell/assets/shared-protobase-ui-DfJkgcs2.js +1 -0
- package/dist/shell/assets/{sheet-source-CXBPRRJ7.js → sheet-source-D5zF3gg-.js} +3 -3
- package/dist/shell/assets/{sign-in-policy-page-C-Norcx-.js → sign-in-policy-page-DYeJZDYd.js} +2 -2
- package/dist/shell/assets/{start-block-queries-Ds0t8AIB.js → start-block-queries-KIFQbRdj.js} +2 -2
- package/dist/shell/assets/{step-catalog-C0Jv_f2p.js → step-catalog-DOFD42Kz.js} +2 -2
- package/dist/shell/assets/{step-panel-xxYW43ZO.js → step-panel-DMfELcMq.js} +2 -2
- package/dist/shell/assets/{timeline-display-DMfHIekc.js → timeline-display-YsTp3TdW.js} +2 -2
- package/dist/shell/assets/{trash-DZjQRbg0.js → trash-CjMf5J76.js} +2 -2
- package/dist/shell/assets/{update-set-C0O3YlPe.js → update-set-WE2PkaIw.js} +2 -2
- package/dist/shell/assets/{use-calendar-move-Ck9j0VjG.js → use-calendar-move-z44ne2up.js} +2 -2
- package/dist/shell/assets/{use-display-rows-BI5CIpA4.js → use-display-rows-mgonVNXo.js} +2 -2
- package/dist/shell/assets/{use-my-invitations-DOL5bOzC.js → use-my-invitations-KI0E0ZhE.js} +2 -2
- package/dist/shell/assets/{use-paged-search-CxcddHjw.js → use-paged-search-RKqj14d3.js} +2 -2
- package/dist/shell/assets/{use-run-trace-Dxw-VDf9.js → use-run-trace-Cpbf2fu6.js} +2 -2
- package/dist/shell/assets/{use-workflow-page-DerdCK9r.js → use-workflow-page-CoLMHSGc.js} +2 -2
- package/dist/shell/assets/{use-workflow-types-D7ucZS1V.js → use-workflow-types-D-FjK73S.js} +2 -2
- package/dist/shell/assets/{workflow-canvas-DW-a463k.js → workflow-canvas-RpvT30bM.js} +2 -2
- package/dist/shell/assets/{workflow-field-D0yL3zqL.js → workflow-field-lsm3hyfI.js} +3 -3
- package/dist/shell/assets/{workflow-graph-editor-LTVY9Oyx.js → workflow-graph-editor-jIDR6xNQ.js} +2 -2
- package/dist/shell/assets/{workflow-run-field-Bf-BDgRL.js → workflow-run-field-BBBew-3S.js} +3 -3
- package/dist/shell/assets/{workflow-status-field-CRbBFb6K.js → workflow-status-field-DfUANDAX.js} +2 -2
- package/dist/shell/assets/{workflow-workbench-FmLVX6Ri.js → workflow-workbench-C_-fh16c.js} +2 -2
- 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-D2DFhATt.js.map → account-page-CfX28GQ8.js.map} +1 -1
- package/dist/shell-source-maps/assets/{app-BYgBo_z1.js.map → app-26FM9hvC.js.map} +1 -1
- package/dist/shell-source-maps/assets/{assistant-shell-CZuq3-_1.js.map → assistant-shell-z2XOEbOj.js.map} +1 -1
- package/dist/shell-source-maps/assets/{board-display-BC1Xwyy-.js.map → board-display-DJpwNHqR.js.map} +1 -1
- package/dist/shell-source-maps/assets/{calendar-display-BAQS9s6i.js.map → calendar-display-CCAuGvO0.js.map} +1 -1
- package/dist/shell-source-maps/assets/{call-rings-B9fm8IVt.js.map → call-rings-DpsiFB6J.js.map} +1 -1
- package/dist/shell-source-maps/assets/{calls-Czowx1YO.js.map → calls-DXZIKdLq.js.map} +1 -1
- package/dist/shell-source-maps/assets/{circle-alert-_fRBdP-Q.js.map → circle-alert-DLkf2jqw.js.map} +1 -1
- package/dist/shell-source-maps/assets/{composed-page-CW54YFwq.js.map → composed-page-Dgq_w1W6.js.map} +1 -1
- package/dist/shell-source-maps/assets/{composer-section-C5FkK1rg.js.map → composer-section-DfppQhmw.js.map} +1 -1
- package/dist/shell-source-maps/assets/{connect-route-9UQdPFMU.js.map → connect-route-CY2ZfSc_.js.map} +1 -1
- package/dist/shell-source-maps/assets/{copy-field-kzYEwhr-.js.map → copy-field-q7yD4jZB.js.map} +1 -1
- package/dist/shell-source-maps/assets/{create-route-BUYfZRsc.js.map → create-route-DA9m3zuH.js.map} +1 -1
- package/dist/shell-source-maps/assets/{custom-step-container-field--zORrk8N.js.map → custom-step-container-field-CgoMp_U9.js.map} +1 -1
- package/dist/shell-source-maps/assets/{embedded-list-CHU_9xSx.js.map → embedded-list-BdX2FUxK.js.map} +1 -1
- package/dist/shell-source-maps/assets/en-F4WlEfjV.js.map +1 -0
- package/dist/shell-source-maps/assets/{export-dialog-BOBW8mCE.js.map → export-dialog-WJeF3CbF.js.map} +1 -1
- package/dist/shell-source-maps/assets/export-worker-BbrJ4DH1.js.map +1 -0
- package/dist/shell-source-maps/assets/{first-organization-page-MW8S5Y7S.js.map → first-organization-page-DEEIRm-0.js.map} +1 -1
- package/dist/shell-source-maps/assets/{graph-view-D0OeBjYF.js.map → graph-view-D4xNpQ_g.js.map} +1 -1
- package/dist/shell-source-maps/assets/{group-donut-xyziydWM.js.map → group-donut-BaFas9ku.js.map} +1 -1
- package/dist/shell-source-maps/assets/{guest-call-page-DH1kDNtt.js.map → guest-call-page-DkPBCsWu.js.map} +1 -1
- package/dist/shell-source-maps/assets/{html-viewer-c3e-7OLn.js.map → html-viewer-BxpAIOTS.js.map} +1 -1
- package/dist/shell-source-maps/assets/{import-dialog-C6bOsAIq.js.map → import-dialog-CGbSlHpH.js.map} +1 -1
- package/dist/shell-source-maps/assets/{import-table-dialog-CQccEHdf.js.map → import-table-dialog-D_Ocp3vu.js.map} +1 -1
- package/dist/shell-source-maps/assets/{invitations-page-D6HhsOWj.js.map → invitations-page-BMPl6GWq.js.map} +1 -1
- package/dist/shell-source-maps/assets/{layout-grid-pjoZzXon.js.map → layout-grid-DRPuMrqQ.js.map} +1 -1
- package/dist/shell-source-maps/assets/{legend-item-B86V--7o.js.map → legend-item-BBq7fIY0.js.map} +1 -1
- package/dist/shell-source-maps/assets/{list-page-dNzugv-H.js.map → list-page-C2PiELeV.js.map} +1 -1
- package/dist/shell-source-maps/assets/{maplibre-DQzo1J5C.js.map → maplibre-DtBIeJSN.js.map} +1 -1
- package/dist/shell-source-maps/assets/{markdown-content-MhPltQkM.js.map → markdown-content-CtsPlIoM.js.map} +1 -1
- package/dist/shell-source-maps/assets/{members-page-CtpsMd1_.js.map → members-page-BOGEqd2d.js.map} +1 -1
- package/dist/shell-source-maps/assets/{message-content-BcVNCPRA.js.map → message-content-DXUPTfSg.js.map} +1 -1
- package/dist/shell-source-maps/assets/{messages-DbktI6r5.js.map → messages-uoUGFNWe.js.map} +1 -1
- package/dist/shell-source-maps/assets/nl-CGzPjT6w.js.map +1 -0
- package/dist/shell-source-maps/assets/{organization-page-DFbVBi0Z.js.map → organization-page-i6ma8Zpd.js.map} +1 -1
- package/dist/shell-source-maps/assets/{organizations-page-CwNmA9m_.js.map → organizations-page-DoKdrKKR.js.map} +1 -1
- package/dist/shell-source-maps/assets/parse-worker-CG0FAJQa.js.map +1 -0
- package/dist/shell-source-maps/assets/{pending-invitation-row-DoSd4IA0.js.map → pending-invitation-row-CNhLeVIQ.js.map} +1 -1
- package/dist/shell-source-maps/assets/{period-chart-BHhRENq9.js.map → period-chart-Dt45QkuG.js.map} +1 -1
- package/dist/shell-source-maps/assets/{person-row-CAw28fyx.js.map → person-row-CcvbtovO.js.map} +1 -1
- package/dist/shell-source-maps/assets/{public-form-page-BSMW5adw.js.map → public-form-page-uedT0S1c.js.map} +1 -1
- package/dist/shell-source-maps/assets/{record-lines-D6y6-mvM.js.map → record-lines-Dv0Sa0Bm.js.map} +1 -1
- package/dist/shell-source-maps/assets/{record-map-BWSxXERS.js.map → record-map-B9GnjR1C.js.map} +1 -1
- package/dist/shell-source-maps/assets/{record-opens-CgMvd88M.js.map → record-opens-B4gCpNRB.js.map} +1 -1
- package/dist/shell-source-maps/assets/record-page-Cj_q__l8.js.map +1 -0
- package/dist/shell-source-maps/assets/{record-preview-BI6XSujc.js.map → record-preview-JiWY0Bog.js.map} +1 -1
- package/dist/shell-source-maps/assets/{records-map-DqgtOW5s.js.map → records-map-C8eK7w7P.js.map} +1 -1
- package/dist/shell-source-maps/assets/{render-node-WNms9GRI.js.map → render-node-BuW1TcF4.js.map} +1 -1
- package/dist/shell-source-maps/assets/{reorder-button-el0y4Qb_.js.map → reorder-button-osmG3Y_Q.js.map} +1 -1
- package/dist/shell-source-maps/assets/{run-trace-view-DlOxyoRy.js.map → run-trace-view-C9eyUJ6D.js.map} +1 -1
- package/dist/shell-source-maps/assets/{runner-install-field-BW0Yr1jA.js.map → runner-install-field-DSyxhG1I.js.map} +1 -1
- package/dist/shell-source-maps/assets/{runtime-update-15cUO82W.js.map → runtime-update-L7M--oiI.js.map} +1 -1
- package/dist/shell-source-maps/assets/{sheet-source-CXBPRRJ7.js.map → sheet-source-D5zF3gg-.js.map} +1 -1
- package/dist/shell-source-maps/assets/{sign-in-policy-page-C-Norcx-.js.map → sign-in-policy-page-DYeJZDYd.js.map} +1 -1
- package/dist/shell-source-maps/assets/{start-block-queries-Ds0t8AIB.js.map → start-block-queries-KIFQbRdj.js.map} +1 -1
- package/dist/shell-source-maps/assets/{step-catalog-C0Jv_f2p.js.map → step-catalog-DOFD42Kz.js.map} +1 -1
- package/dist/shell-source-maps/assets/{step-panel-xxYW43ZO.js.map → step-panel-DMfELcMq.js.map} +1 -1
- package/dist/shell-source-maps/assets/{timeline-display-DMfHIekc.js.map → timeline-display-YsTp3TdW.js.map} +1 -1
- package/dist/shell-source-maps/assets/{trash-DZjQRbg0.js.map → trash-CjMf5J76.js.map} +1 -1
- package/dist/shell-source-maps/assets/{update-set-C0O3YlPe.js.map → update-set-WE2PkaIw.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-calendar-move-Ck9j0VjG.js.map → use-calendar-move-z44ne2up.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-display-rows-BI5CIpA4.js.map → use-display-rows-mgonVNXo.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-my-invitations-DOL5bOzC.js.map → use-my-invitations-KI0E0ZhE.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-paged-search-CxcddHjw.js.map → use-paged-search-RKqj14d3.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-run-trace-Dxw-VDf9.js.map → use-run-trace-Cpbf2fu6.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-workflow-page-DerdCK9r.js.map → use-workflow-page-CoLMHSGc.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-workflow-types-D7ucZS1V.js.map → use-workflow-types-D-FjK73S.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-canvas-DW-a463k.js.map → workflow-canvas-RpvT30bM.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-field-D0yL3zqL.js.map → workflow-field-lsm3hyfI.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-graph-editor-LTVY9Oyx.js.map → workflow-graph-editor-jIDR6xNQ.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-run-field-Bf-BDgRL.js.map → workflow-run-field-BBBew-3S.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-status-field-CRbBFb6K.js.map → workflow-status-field-DfUANDAX.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-workbench-FmLVX6Ri.js.map → workflow-workbench-C_-fh16c.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/en-_QUqgkv9.js +0 -2
- package/dist/shell/assets/export-worker-BUvAe-pU.js +0 -15
- package/dist/shell/assets/nl-B7S2-35v.js +0 -2
- package/dist/shell/assets/parse-worker-BXZM3e8_.js +0 -35
- package/dist/shell/assets/record-page-YjDzQpdH.js +0 -3
- package/dist/shell/assets/shared-protobase-ui-CrlPSKTg.js +0 -1
- package/dist/shell-source-maps/assets/en-_QUqgkv9.js.map +0 -1
- package/dist/shell-source-maps/assets/export-worker-BUvAe-pU.js.map +0 -1
- package/dist/shell-source-maps/assets/nl-B7S2-35v.js.map +0 -1
- package/dist/shell-source-maps/assets/parse-worker-BXZM3e8_.js.map +0 -1
- package/dist/shell-source-maps/assets/record-page-YjDzQpdH.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: "email" | "download" | "name" | "cancel" | "as" | "account" | "mailbox" | "ended" | "noDevices" | "remove" | "revoke" | "copied" | "continue" | "loading" | "code" | "password" | "signOut" | "passwordsDiffer" | "atLeast" | "useAtLeast" | "passwordTooLong" | "newPassword" | "repeatPassword" | "setPassword" | "addPasskey" | "connected" | "twoFactor" | "passkey" | "connections" | "edit" | "staff" | "default" | "reset" | "save" | "optional" | "backupCodes" | "changeEmail" | "changePassword" | "newEmail" | "currentPassword" | "required" | "done" | "copy" | "off" | "connect" | "connectAgain" | "otherAddress" | "on" | "stopped" | "noAccount" | "noAccountDescription" | "signInPolicy" | "couldNotReadMethods" | "couldNotReadProfile" | "profile" | "profileDescription" | "changeName" | "changeNameDescription" | "changeEmailDescription" | "sendCode" | "codeSentTo" | "theProvider" | "yourPassword" | "passwordIsSet" | "passwordNotSet" | "passwordForbidden" | "passwordStaff" | "passwordSaved" | "changeSignsOutOthers" | "passkeys" | "passkeysAllowed" | "passkeysRequired" | "passkeysForbidden" | "addedOn" | "addedEarlier" | "synced" | "oneDevice" | "rename" | "keepLastPasskey" | "confirmedAddPasskey" | "renamePasskey" | "renamePasskeyDescription" | "removePasskey" | "removePasskeyDescription" | "thisPasskey" | "connectedAccounts" | "connectedAccountsDescription" | "mailboxDescription" | "fromAddresses" | "fromAddressesDescription" | "couldNotReadFromAddresses" | "mailboxOwnAddress" | "makeDefault" | "ownSignature" | "genericSignature" | "addFromAddress" | "addFromAddressDescription" | "changeFromAddressDescription" | "addAddress" | "fromAddress" | "fromAddressPlaceholder" | "fromName" | "fromNamePlaceholder" | "defaultFromAddress" | "signature" | "signaturePlaceholder" | "removeFromAddress" | "removeFromAddressDescription" | "connectionsDescription" | "connectedOn" | "connectionNeedsSignIn" | "connectionUsedBy" | "disconnect" | "disconnectTitle" | "disconnectDescription" | "disconnectWholeGrant" | "disconnectedRevoked" | "disconnectedQueued" | "disconnectedNotRevoked" | "signedInUntil" | "devices" | "devicesDescription" | "couldNotReadDevices" | "thisDevice" | "browserOn" | "aBrowserOn" | "unknownDevice" | "staffOf" | "signedInFromUntil" | "signOutDevice" | "signOutDeviceDescription" | "signOutLinkedDeviceDescription" | "deviceThrough" | "linkedOn" | "signOutOthers" | "signOutOthersTitle" | "signOutOthersDescription" | "staffSignIns" | "staffSignInsDescription" | "noStaffSignIns" | "qrCode" | "twoFactorAllowed" | "twoFactorRequired" | "twoFactorForbidden" | "twoFactorOnWithApp" | "twoFactorOnWithAppOrMail" | "twoFactorOnWithMail" | "turnOn" | "turnOff" | "addAuthenticator" | "newBackupCodes" | "twoFactorIsRequired" | "turnOffTitle" | "turnOffDescription" | "newCodesTitle" | "newCodesDescription" | "makeNewCodes" | "yourNewCodes" | "keepCodesSafe" | "savedCodes" | "authenticatorApp" | "authenticatorAppDescription" | "emailedCode" | "emailedCodeDescription" | "twoFactorIsOn" | "scanCode" | "cannotScan" | "codeFromApp" | "secondStep" | "passwordDescription" | "emailedSignInCode" | "emailedSignInCodeDescription" | "passkeysPolicyDescription" | "twoFactorPolicyDescription" | "staffAccess" | "staffAccessDescription" | "emailThePerson" | "platformSignIn" | "platformSignInDescription" | "platformSignInWith" | "codeNeedsMail" | "passwordStaysOn" | "staffNeedsMail" | "platformOff" | "appliesAs" | "lastSaved" | "lastSavedBy" | "neverChanged" | "couldNotReadStaffSignIns" | "couldNotReadPolicy" | "policySaved" | "policySubtitle" | "mcpAddress" | "mcpAddressDescription" | "copyMcpAddress" | "accessTokens" | "accessTokensDescription" | "couldNotReadAccessTokens" | "noAccessTokens" | "newAccessToken" | "newAccessTokenDescription" | "accessTokenNamePlaceholder" | "accessTokenExpiry" | "expiresIn30Days" | "expiresIn90Days" | "expiresInAYear" | "neverExpires" | "createAccessToken" | "confirmedCreateAccessToken" | "accessTokenCreated" | "accessTokenCreatedDescription" | "copyAccessToken" | "noAnswerFromServer" | "copyRefused" | "createdOn" | "expiresOn" | "expiredOn" | "lastUsedOn" | "notUsedYet" | "actsAs" | "actsAsIn" | "revokeAccessToken" | "revokeAccessTokenDescription" | "addToClaude" | "deleteAccount" | "deleteAccountDescription" | "deleteAccountStaff" | "deleteAccountQuestion" | "deleteAccountWarning" | "deleteAccountPassword" | "deleteAccountConfirm" | "deleteAccountLastAdmin" | "deleteAccountLocked", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "email" | "download" | "name" | "cancel" | "as" | "account" | "mailbox" | "ended" | "noDevices" | "remove" | "revoke" | "copied" | "continue" | "loading" | "code" | "password" | "signOut" | "passwordsDiffer" | "atLeast" | "useAtLeast" | "passwordTooLong" | "newPassword" | "repeatPassword" | "setPassword" | "addPasskey" | "connected" | "twoFactor" | "passkey" | "connections" | "edit" | "staff" | "default" | "reset" | "save" | "optional" | "backupCodes" | "changeEmail" | "changePassword" | "newEmail" | "currentPassword" | "required" | "done" | "copy" | "off" | "connect" | "connectAgain" | "otherAddress" | "on" | "stopped" | "noAccount" | "noAccountDescription" | "signInPolicy" | "couldNotReadMethods" | "couldNotReadProfile" | "profile" | "profileDescription" | "changeName" | "changeNameDescription" | "changeEmailDescription" | "sendCode" | "codeSentTo" | "theProvider" | "yourPassword" | "passwordIsSet" | "passwordNotSet" | "passwordForbidden" | "passwordStaff" | "passwordSaved" | "changeSignsOutOthers" | "passkeys" | "passkeysAllowed" | "passkeysRequired" | "passkeysForbidden" | "addedOn" | "addedEarlier" | "synced" | "oneDevice" | "rename" | "keepLastPasskey" | "confirmedAddPasskey" | "renamePasskey" | "renamePasskeyDescription" | "removePasskey" | "removePasskeyDescription" | "thisPasskey" | "connectedAccounts" | "connectedAccountsDescription" | "mailboxDescription" | "fromAddresses" | "fromAddressesDescription" | "couldNotReadFromAddresses" | "mailboxOwnAddress" | "makeDefault" | "ownSignature" | "genericSignature" | "addFromAddress" | "addFromAddressDescription" | "changeFromAddressDescription" | "addAddress" | "fromAddress" | "fromAddressPlaceholder" | "fromName" | "fromNamePlaceholder" | "defaultFromAddress" | "signature" | "signaturePlaceholder" | "removeFromAddress" | "removeFromAddressDescription" | "connectionsDescription" | "connectedOn" | "connectionNeedsSignIn" | "connectionUsedBy" | "disconnect" | "disconnectTitle" | "disconnectDescription" | "disconnectWholeGrant" | "disconnectedRevoked" | "disconnectedQueued" | "disconnectedNotRevoked" | "signedInUntil" | "devices" | "devicesDescription" | "couldNotReadDevices" | "thisDevice" | "browserOn" | "aBrowserOn" | "unknownDevice" | "staffOf" | "signedInFromUntil" | "signOutDevice" | "signOutDeviceDescription" | "signOutLinkedDeviceDescription" | "deviceThrough" | "linkedOn" | "signOutOthers" | "signOutOthersTitle" | "signOutOthersDescription" | "staffSignIns" | "staffSignInsDescription" | "noStaffSignIns" | "qrCode" | "twoFactorAllowed" | "twoFactorRequired" | "twoFactorForbidden" | "twoFactorOnWithApp" | "twoFactorOnWithAppOrMail" | "twoFactorOnWithMail" | "turnOn" | "turnOff" | "addAuthenticator" | "newBackupCodes" | "twoFactorIsRequired" | "turnOffTitle" | "turnOffDescription" | "newCodesTitle" | "newCodesDescription" | "makeNewCodes" | "yourNewCodes" | "keepCodesSafe" | "savedCodes" | "authenticatorApp" | "authenticatorAppDescription" | "emailedCode" | "emailedCodeDescription" | "twoFactorIsOn" | "scanCode" | "cannotScan" | "codeFromApp" | "secondStep" | "passwordDescription" | "emailedSignInCode" | "emailedSignInCodeDescription" | "passkeysPolicyDescription" | "twoFactorPolicyDescription" | "staffAccess" | "staffAccessDescription" | "emailThePerson" | "platformSignIn" | "platformSignInDescription" | "platformSignInWith" | "codeNeedsMail" | "passwordStaysOn" | "staffNeedsMail" | "platformOff" | "appliesAs" | "lastSaved" | "lastSavedBy" | "neverChanged" | "couldNotReadStaffSignIns" | "couldNotReadPolicy" | "policySaved" | "policySubtitle" | "mcpAddress" | "mcpAddressDescription" | "copyMcpAddress" | "accessTokens" | "accessTokensDescription" | "couldNotReadAccessTokens" | "noAccessTokens" | "newAccessToken" | "newAccessTokenDescription" | "accessTokenNamePlaceholder" | "accessTokenExpiry" | "expiresIn30Days" | "expiresIn90Days" | "expiresInAYear" | "neverExpires" | "createAccessToken" | "confirmedCreateAccessToken" | "accessTokenCreated" | "accessTokenCreatedDescription" | "copyAccessToken" | "noAnswerFromServer" | "copyRefused" | "createdOn" | "expiresOn" | "expiredOn" | "lastUsedOn" | "notUsedYet" | "actsAs" | "actsAsIn" | "revokeAccessToken" | "revokeAccessTokenDescription" | "addToClaude" | "deleteAccount" | "deleteAccountDescription" | "deleteAccountStaff" | "deleteAccountQuestion" | "deleteAccountWarning" | "deleteAccountPassword" | "deleteAccountConfirm" | "deleteAccountLastAdmin" | "deleteAccountLocked", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/activity-chart/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "couldNotLoad" | "day" | "week", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "couldNotLoad" | "day" | "week", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../../locale/messages.js";
|
|
2
2
|
//#region src/app/change-confirm/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "title" | "
|
|
5
|
-
rich(id: "title" | "
|
|
4
|
+
(id: "title" | "cancel" | "change", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "title" | "cancel" | "change", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../../locale/messages.js";
|
|
2
2
|
//#region src/app/charts/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "count" | "sum" | "yes" | "no" | "couldNotLoad" | "today" | "records" | "maximum" | "notSet" | "nothingYet" | "other" | "toToday" | "period" | "average" | "chartKeys", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "count" | "sum" | "yes" | "no" | "couldNotLoad" | "today" | "records" | "maximum" | "notSet" | "nothingYet" | "other" | "toToday" | "period" | "average" | "chartKeys", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../../locale/messages.js";
|
|
2
2
|
//#region src/app/comments/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "placeholder" | "couldNotLoad" | "comment" | "couldNotPost" | "showEarlier" | "noComments", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "placeholder" | "couldNotLoad" | "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: "password" | "emailCode" | "codeSent" | "confirm" | "confirmTitle" | "emailedCode" | "confirmWhy" | "confirmWhyChange" | "usePasskey" | "authenticatorCode" | "emailNewCode" | "nothingToConfirmWith", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "password" | "emailCode" | "codeSent" | "confirm" | "confirmTitle" | "emailedCode" | "confirmWhy" | "confirmWhyChange" | "usePasskey" | "authenticatorCode" | "emailNewCode" | "nothingToConfirmWith", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../../locale/messages.js";
|
|
2
2
|
//#region src/app/conversation/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "couldNotLoad" | "notSent" | "noMessages" | "loadingMessages" | "callInput" | "callResult" | "callError" | "couldNotLoadCalls", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "couldNotLoad" | "notSent" | "noMessages" | "loadingMessages" | "callInput" | "callResult" | "callError" | "couldNotLoadCalls", 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) => "error" | "loading" | "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;
|
|
@@ -10,7 +10,7 @@ import { retryOf, showsErrorAbove, threadState } from "../conversation/thread-st
|
|
|
10
10
|
import { text } from "./messages.js";
|
|
11
11
|
import { ConversationMessage } from "./conversation-message.js";
|
|
12
12
|
import { messagesRequest } from "./conversation-reads.js";
|
|
13
|
-
import { conversationRows, firstUnreadKey } from "./conversation-rows.js";
|
|
13
|
+
import { conversationRows, firstUnreadKey, highestKey } from "./conversation-rows.js";
|
|
14
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";
|
|
@@ -60,7 +60,7 @@ const ConversationMessages = ({ page, model, recordKey: recordKey$1, me, positio
|
|
|
60
60
|
sender: page.sender,
|
|
61
61
|
time: page.time
|
|
62
62
|
}, newLineAbove);
|
|
63
|
-
const
|
|
63
|
+
const readEnd = highestKey(oldestFirst, key);
|
|
64
64
|
const own = rows.findLast((line) => line.kind === "message" && me !== void 0 && line.author.id === me);
|
|
65
65
|
const readTo = position.readTo;
|
|
66
66
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -85,7 +85,7 @@ const ConversationMessages = ({ page, model, recordKey: recordKey$1, me, positio
|
|
|
85
85
|
empty: page.empty ?? text("noMessages"),
|
|
86
86
|
onLoadEarlier: list.hasNextPage ? () => void list.fetchNextPage() : void 0,
|
|
87
87
|
loadingEarlier: list.isFetchingNextPage,
|
|
88
|
-
onReadToEnd: readTo &&
|
|
88
|
+
onReadToEnd: readTo && readEnd !== void 0 ? () => readTo(readEnd) : void 0,
|
|
89
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
90
|
setup,
|
|
91
91
|
row: line.row,
|
|
@@ -36,8 +36,11 @@ export type ConversationRow = {
|
|
|
36
36
|
export declare const conversationRows: (oldestFirst: Row[], { key, sender, time }: MessageFields, newLineAbove?: string, now?: number) => ConversationRow[];
|
|
37
37
|
/**
|
|
38
38
|
* The key of the message the "New messages" line goes above: the first after `lastRead`, the key of the newest message
|
|
39
|
-
* the reader read, by someone other than `me`; none when none is unread. When
|
|
40
|
-
*
|
|
39
|
+
* the reader read, by someone other than `me`; none when none is unread. When earlier messages are not loaded and the
|
|
40
|
+
* lowest loaded key is past `lastRead`, the first unread one may be among those, so there is no line rather than one in
|
|
41
|
+
* the wrong place.
|
|
41
42
|
*/
|
|
42
43
|
export declare const firstUnreadKey: (oldestFirst: Row[], { key, sender }: Omit<MessageFields, "time">, lastRead: number, me: string, hasEarlier: boolean) => string | undefined;
|
|
44
|
+
/** The highest key among the messages, the one reading them all reads to, whatever order their times put them in. */
|
|
45
|
+
export declare const highestKey: (rows: Row[], key: (row: Row) => string) => number | undefined;
|
|
43
46
|
//#endregion
|
|
@@ -38,16 +38,19 @@ const conversationRows = (oldestFirst, { key, sender, time }, newLineAbove, now
|
|
|
38
38
|
}
|
|
39
39
|
];
|
|
40
40
|
});
|
|
41
|
+
const keysOf = (rows, key) => rows.map((row) => Number(key(row)));
|
|
41
42
|
/**
|
|
42
43
|
* The key of the message the "New messages" line goes above: the first after `lastRead`, the key of the newest message
|
|
43
|
-
* the reader read, by someone other than `me`; none when none is unread. When
|
|
44
|
-
*
|
|
44
|
+
* the reader read, by someone other than `me`; none when none is unread. When earlier messages are not loaded and the
|
|
45
|
+
* lowest loaded key is past `lastRead`, the first unread one may be among those, so there is no line rather than one in
|
|
46
|
+
* the wrong place.
|
|
45
47
|
*/
|
|
46
48
|
const firstUnreadKey = (oldestFirst, { key, sender }, lastRead, me, hasEarlier) => {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
return key(oldestFirst[index]);
|
|
49
|
+
if (hasEarlier && Math.min(...keysOf(oldestFirst, key)) > lastRead) return;
|
|
50
|
+
const found = oldestFirst.find((row) => Number(key(row)) > lastRead && authorOf(row[sender]).id !== me);
|
|
51
|
+
return found && key(found);
|
|
51
52
|
};
|
|
53
|
+
/** The highest key among the messages, the one reading them all reads to, whatever order their times put them in. */
|
|
54
|
+
const highestKey = (rows, key) => rows.length === 0 ? void 0 : Math.max(...keysOf(rows, key));
|
|
52
55
|
//#endregion
|
|
53
|
-
export { conversationRows, firstUnreadKey, groupWindowMs };
|
|
56
|
+
export { conversationRows, firstUnreadKey, groupWindowMs, highestKey };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../../locale/messages.js";
|
|
2
2
|
//#region src/app/conversation-page/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "cancel" | "someone" | "copied" | "edit" | "thread" | "message" | "couldNotLoad" | "save" | "delete" | "details" | "deleteDescription" | "deleteTitle" | "noMessages" | "loadingMessages" | "edited" | "editedAt" | "positionNotSaved" | "messageActions" | "reactWith" | "react" | "reactedBy" | "replyInThread" | "copyText" | "editMessage" | "yourMessage" | "messageFrom" | "showYourActions" | "showActionsFrom" | "showActions" | "notSaved" | "notDeleted" | "reactionNotSaved" | "replies" | "lastReply" | "replyPlaceholder" | "couldNotLoadThread" | "threadElsewhere" | "couldNotLoadReactions" | "notCopied", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "cancel" | "someone" | "copied" | "edit" | "thread" | "message" | "couldNotLoad" | "save" | "delete" | "details" | "deleteDescription" | "deleteTitle" | "noMessages" | "loadingMessages" | "edited" | "editedAt" | "positionNotSaved" | "messageActions" | "reactWith" | "react" | "reactedBy" | "replyInThread" | "copyText" | "editMessage" | "yourMessage" | "messageFrom" | "showYourActions" | "showActionsFrom" | "showActions" | "notSaved" | "notDeleted" | "reactionNotSaved" | "replies" | "lastReply" | "replyPlaceholder" | "couldNotLoadThread" | "threadElsewhere" | "couldNotLoadReactions" | "notCopied", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
//#region src/app/conversation-page/read-position-write.d.ts
|
|
2
|
+
/** The reader's stored position: its record's key, the key of the message they read to, and the version it was read at. */
|
|
3
|
+
export type SavedPosition = {
|
|
4
|
+
key: string;
|
|
5
|
+
lastRead: number;
|
|
6
|
+
etag: string;
|
|
7
|
+
};
|
|
8
|
+
/** How the position is read and written: `update` writes only over the version `at` holds, else rejects with a 412. */
|
|
9
|
+
export type PositionStore = {
|
|
10
|
+
find: () => Promise<SavedPosition | undefined>;
|
|
11
|
+
create: (lastRead: number) => Promise<SavedPosition>;
|
|
12
|
+
update: (at: SavedPosition, lastRead: number) => Promise<SavedPosition>;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Moves the reader's position up to `lastRead` from `saved`, what this tab last stored, and answers what is stored
|
|
16
|
+
* after. It never moves down: each write goes over the version it compared against, so when another tab wrote since,
|
|
17
|
+
* the write is refused, and the position that tab stored is compared again and kept when it is as far or further. A
|
|
18
|
+
* create another tab beat to it, refused as taken, goes the same way.
|
|
19
|
+
*/
|
|
20
|
+
export declare const moveReadPosition: (store: PositionStore, saved: SavedPosition | undefined, lastRead: number) => Promise<SavedPosition>;
|
|
21
|
+
//#endregion
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { isApiError } from "@protobase/client";
|
|
2
|
+
//#region src/app/conversation-page/read-position-write.ts
|
|
3
|
+
const stored = async (store, failed) => {
|
|
4
|
+
const found = await store.find();
|
|
5
|
+
if (!found) throw failed;
|
|
6
|
+
return found;
|
|
7
|
+
};
|
|
8
|
+
const raise = (store, at, lastRead) => at.lastRead >= lastRead ? at : store.update(at, lastRead);
|
|
9
|
+
/**
|
|
10
|
+
* Moves the reader's position up to `lastRead` from `saved`, what this tab last stored, and answers what is stored
|
|
11
|
+
* after. It never moves down: each write goes over the version it compared against, so when another tab wrote since,
|
|
12
|
+
* the write is refused, and the position that tab stored is compared again and kept when it is as far or further. A
|
|
13
|
+
* create another tab beat to it, refused as taken, goes the same way.
|
|
14
|
+
*/
|
|
15
|
+
const moveReadPosition = async (store, saved, lastRead) => {
|
|
16
|
+
if (saved && saved.lastRead >= lastRead) return saved;
|
|
17
|
+
const write = saved ? store.update(saved, lastRead) : store.create(lastRead);
|
|
18
|
+
const status = saved ? 412 : 409;
|
|
19
|
+
return write.catch(async (failed) => {
|
|
20
|
+
if (!isApiError(failed) || failed.status !== status) throw failed;
|
|
21
|
+
return raise(store, await stored(store, failed), lastRead);
|
|
22
|
+
});
|
|
23
|
+
};
|
|
24
|
+
//#endregion
|
|
25
|
+
export { moveReadPosition };
|
|
@@ -14,8 +14,9 @@ type Props = {
|
|
|
14
14
|
* The reader's read position in a record's conversation. `openedAt` is the key of the newest message they had read when
|
|
15
15
|
* they opened it, 0 for none, and undefined while it loads or without a read position: it stays put while the page is
|
|
16
16
|
* open, so the "New messages" line does not move as they read. `readTo` moves the position to a message they read; it
|
|
17
|
-
* never moves back, a move to where it is writes nothing, and moves go
|
|
18
|
-
* `ready` holds at once and there is no `readTo`, so nothing is read or
|
|
17
|
+
* never moves back, not even over a further move another tab stored, a move to where it is writes nothing, and moves go
|
|
18
|
+
* one after another. Without a read position, `ready` holds at once and there is no `readTo`, so nothing is read or
|
|
19
|
+
* written; one that could not be read is ready too.
|
|
19
20
|
*/
|
|
20
21
|
export declare const useReadPosition: ({ position, model, owner, recordKey, me }: Props) => {
|
|
21
22
|
ready: boolean;
|
|
@@ -2,15 +2,16 @@ import { useClient } from "../../data/api-provider.js";
|
|
|
2
2
|
import { recordKey } from "../../live/model-helpers.js";
|
|
3
3
|
import { keyValue } from "../create/create-values.js";
|
|
4
4
|
import { ownPositionFilter } from "./conversation-reads.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
5
|
+
import { moveReadPosition } from "./read-position-write.js";
|
|
6
|
+
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
7
7
|
//#region src/app/conversation-page/use-read-position.ts
|
|
8
8
|
/**
|
|
9
9
|
* The reader's read position in a record's conversation. `openedAt` is the key of the newest message they had read when
|
|
10
10
|
* they opened it, 0 for none, and undefined while it loads or without a read position: it stays put while the page is
|
|
11
11
|
* open, so the "New messages" line does not move as they read. `readTo` moves the position to a message they read; it
|
|
12
|
-
* never moves back, a move to where it is writes nothing, and moves go
|
|
13
|
-
* `ready` holds at once and there is no `readTo`, so nothing is read or
|
|
12
|
+
* never moves back, not even over a further move another tab stored, a move to where it is writes nothing, and moves go
|
|
13
|
+
* one after another. Without a read position, `ready` holds at once and there is no `readTo`, so nothing is read or
|
|
14
|
+
* written; one that could not be read is ready too.
|
|
14
15
|
*/
|
|
15
16
|
const useReadPosition = ({ position, model, owner, recordKey: recordKey$1, me }) => {
|
|
16
17
|
const client = useClient();
|
|
@@ -30,7 +31,8 @@ const useReadPosition = ({ position, model, owner, recordKey: recordKey$1, me })
|
|
|
30
31
|
if (!found) return;
|
|
31
32
|
return {
|
|
32
33
|
key: String(recordKey(model, found)),
|
|
33
|
-
lastRead: Number(found[position.message] ?? 0)
|
|
34
|
+
lastRead: Number(found[position.message] ?? 0),
|
|
35
|
+
etag: String(found.etag)
|
|
34
36
|
};
|
|
35
37
|
}, [
|
|
36
38
|
client,
|
|
@@ -48,43 +50,40 @@ const useReadPosition = ({ position, model, owner, recordKey: recordKey$1, me })
|
|
|
48
50
|
setOpenedAt(found?.lastRead ?? 0);
|
|
49
51
|
}, setError);
|
|
50
52
|
}, [kept, find]);
|
|
51
|
-
const
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
}
|
|
72
|
-
}, [
|
|
53
|
+
const store = useMemo(() => ({
|
|
54
|
+
find,
|
|
55
|
+
create: async (lastRead) => {
|
|
56
|
+
const made = await client.create(position.resource, {
|
|
57
|
+
[position.field]: keyValue(owner, recordKey$1),
|
|
58
|
+
[position.message]: lastRead
|
|
59
|
+
});
|
|
60
|
+
return {
|
|
61
|
+
key: String(recordKey(model, made.record)),
|
|
62
|
+
lastRead,
|
|
63
|
+
etag: made.etag
|
|
64
|
+
};
|
|
65
|
+
},
|
|
66
|
+
update: async (at, lastRead) => {
|
|
67
|
+
const { etag } = await client.update(position.resource, at.key, { [position.message]: lastRead }, at.etag);
|
|
68
|
+
return {
|
|
69
|
+
key: at.key,
|
|
70
|
+
lastRead,
|
|
71
|
+
etag
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
}), [
|
|
73
75
|
client,
|
|
74
76
|
position,
|
|
75
77
|
owner,
|
|
76
78
|
recordKey$1,
|
|
77
79
|
model,
|
|
78
|
-
find
|
|
79
|
-
update
|
|
80
|
+
find
|
|
80
81
|
]);
|
|
81
82
|
const readTo = useCallback((lastRead) => {
|
|
82
|
-
writing.current = writing.current.then(() => {
|
|
83
|
-
|
|
84
|
-
if (at && at.lastRead >= lastRead) return;
|
|
85
|
-
return at ? update(at, lastRead) : create(lastRead);
|
|
83
|
+
writing.current = writing.current.then(async () => {
|
|
84
|
+
saved.current = await moveReadPosition(store, saved.current, lastRead);
|
|
86
85
|
}).catch(setError);
|
|
87
|
-
}, [
|
|
86
|
+
}, [store]);
|
|
88
87
|
return {
|
|
89
88
|
ready: !kept || openedAt !== void 0 || error !== void 0,
|
|
90
89
|
openedAt: kept ? openedAt : void 0,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../../locale/messages.js";
|
|
2
2
|
//#region src/app/create/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "title" | "cancel" | "subject" | "setByDatabase" | "submit" | "details" | "notSaved" | "notCreated" | "otherFields" | "notAllowed" | "cannotCreate", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "title" | "cancel" | "subject" | "setByDatabase" | "submit" | "details" | "notSaved" | "notCreated" | "otherFields" | "notAllowed" | "cannotCreate", 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/delete/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "cancel" | "working" | "delete" | "done" | "progress" | "kept" | "confirmTitle" | "confirmDescription" | "changedTitle" | "changedDescription" | "reviewChanges" | "deleteAnyway" | "noVisibleChanges" | "bulkConfirmTitle" | "bulkConfirmDescription" | "deleteCount" | "deleting" | "deleted" | "deletedOf" | "deletedToast" | "undo" | "restored" | "alreadyBack" | "couldNotRestore" | "couldNotDelete" | "changedSinceLoaded" | "stillPointAt" | "show", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "cancel" | "working" | "delete" | "done" | "progress" | "kept" | "confirmTitle" | "confirmDescription" | "changedTitle" | "changedDescription" | "reviewChanges" | "deleteAnyway" | "noVisibleChanges" | "bulkConfirmTitle" | "bulkConfirmDescription" | "deleteCount" | "deleting" | "deleted" | "deletedOf" | "deletedToast" | "undo" | "restored" | "alreadyBack" | "couldNotRestore" | "couldNotDelete" | "changedSinceLoaded" | "stillPointAt" | "show", 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/displays/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "ascending" | "descending" | "close" | "sort" | "display" | "list" | "next" | "today" | "month" | "table" | "week" | "pickedUp" | "isOver" | "putBack" | "cancelled" | "quarter" | "showMore" | "previous" | "undo" | "movedTo" | "orderChanged" | "stayedIn" | "couldNotUndo" | "couldNotLoadRows" | "noPlural" | "noValue" | "somethingWrong" | "noDrop" | "noComponent" | "wasMovedTo" | "startsOn" | "noColumn" | "noDay" | "placeOf" | "place" | "boardAcross" | "boardAnywhere" | "boardWithin" | "calendarInstructions" | "timelineInstructions" | "calendarScale" | "timelineScale" | "previousPeriod" | "nextPeriod" | "capped" | "nothingIn" | "noneMatch" | "showOneApproximate" | "showOne" | "showMany" | "showManyApproximate" | "showManySomeApproximate" | "zoomIn" | "needsStyle" | "noneHere" | "showAll" | "chosen" | "approximatePosition" | "features" | "couldNotReorder" | "couldNotMoveTo" | "moreHidden", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "ascending" | "descending" | "close" | "sort" | "display" | "list" | "next" | "today" | "month" | "table" | "week" | "pickedUp" | "isOver" | "putBack" | "cancelled" | "quarter" | "showMore" | "previous" | "undo" | "movedTo" | "orderChanged" | "stayedIn" | "couldNotUndo" | "couldNotLoadRows" | "noPlural" | "noValue" | "somethingWrong" | "noDrop" | "noComponent" | "wasMovedTo" | "startsOn" | "noColumn" | "noDay" | "placeOf" | "place" | "boardAcross" | "boardAnywhere" | "boardWithin" | "calendarInstructions" | "timelineInstructions" | "calendarScale" | "timelineScale" | "previousPeriod" | "nextPeriod" | "capped" | "nothingIn" | "noneMatch" | "showOneApproximate" | "showOne" | "showMany" | "showManyApproximate" | "showManySomeApproximate" | "zoomIn" | "needsStyle" | "noneHere" | "showAll" | "chosen" | "approximatePosition" | "features" | "couldNotReorder" | "couldNotMoveTo" | "moreHidden", 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/embedded-list/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "open" | "edit" | "couldNotLoad" | "viewAll" | "nothingYet" | "firstOf" | "firstOfAbout", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "open" | "edit" | "couldNotLoad" | "viewAll" | "nothingYet" | "firstOf" | "firstOfAbout", 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/export/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "cancel" | "format" | "values" | "columns" | "rows" | "truncated" | "selected" | "cancelled" | "done" | "csv" | "export" | "excel" | "asShown" | "rawValues" | "shownHint" | "rawHint" | "counting" | "moreThan" | "moveUp" | "moveDown" | "selectedRows" | "rowsInList" | "exportPlural" | "listHint" | "exports" | "overLimit" | "exporting" | "rowsExported" | "doneOf" | "exported" | "couldNotExport" | "couldNotBuild" | "workbook" | "csvFile", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "cancel" | "format" | "values" | "columns" | "rows" | "truncated" | "selected" | "cancelled" | "done" | "csv" | "export" | "excel" | "asShown" | "rawValues" | "shownHint" | "rawHint" | "counting" | "moreThan" | "moveUp" | "moveDown" | "selectedRows" | "rowsInList" | "exportPlural" | "listHint" | "exports" | "overLimit" | "exporting" | "rowsExported" | "doneOf" | "exported" | "couldNotExport" | "couldNotBuild" | "workbook" | "csvFile", 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/field-messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "number" | "
|
|
5
|
-
rich(id: "number" | "
|
|
4
|
+
(id: "number" | "date" | "timestamp" | "uuid" | "enum" | "json" | "relation" | "currency" | "country" | "required" | "atLeastCharacters" | "atMostCharacters" | "wholeNumberAtLeast" | "wholeNumberAtMost" | "wholeNumber" | "wholeNumberBelow" | "decimalsBelow" | "mailSender" | "checkField" | "checkFields", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "number" | "date" | "timestamp" | "uuid" | "enum" | "json" | "relation" | "currency" | "country" | "required" | "atLeastCharacters" | "atMostCharacters" | "wholeNumberAtLeast" | "wholeNumberAtMost" | "wholeNumber" | "wholeNumberBelow" | "decimalsBelow" | "mailSender" | "checkField" | "checkFields", 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/field-types/custom-step-container/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "command" | "path" | "summary" | "dockerfile" | "ownCommand" | "fileNumber" | "pathExample" | "removeFile" | "fileText" | "addFile" | "commandLines", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "command" | "path" | "summary" | "dockerfile" | "ownCommand" | "fileNumber" | "pathExample" | "removeFile" | "fileText" | "addFile" | "commandLines", 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/field-types/json/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "showAll" | "
|
|
5
|
-
rich(id: "showAll" | "
|
|
4
|
+
(id: "showAll" | "notJson" | "showLess", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "showAll" | "notJson" | "showLess", 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/field-types/runner-install/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "failed" | "revoked" | "copy" | "issue" | "registered" | "again" | "shownOnce" | "notYours", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "failed" | "revoked" | "copy" | "issue" | "registered" | "again" | "shownOnce" | "notYours", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -24,7 +24,7 @@ export declare const definitionRecord: (definition: Definition) => {
|
|
|
24
24
|
trigger: import("@protobase/workflows").Trigger;
|
|
25
25
|
execution_order: import("@protobase/workflows").Order;
|
|
26
26
|
connections: Record<string, string> | null;
|
|
27
|
-
trace: "failed" | "
|
|
27
|
+
trace: "failed" | "all" | "none" | null;
|
|
28
28
|
};
|
|
29
29
|
/** The names of a path, outermost first. */
|
|
30
30
|
export declare const pathNames: (path: StatePath) => string[];
|