@protobase/ui 0.121.4 → 0.121.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/confirm-sign-in-messages.d.ts +2 -2
- package/dist/app/conversation/messages.d.ts +2 -2
- package/dist/app/conversation-page/conversation-message.d.ts +10 -7
- package/dist/app/conversation-page/conversation-message.js +107 -20
- package/dist/app/conversation-page/conversation-messages.d.ts +9 -3
- package/dist/app/conversation-page/conversation-messages.js +42 -26
- package/dist/app/conversation-page/conversation-page.d.ts +2 -1
- package/dist/app/conversation-page/conversation-page.js +51 -30
- package/dist/app/conversation-page/conversation-reads.d.ts +17 -3
- package/dist/app/conversation-page/conversation-reads.js +30 -4
- package/dist/app/conversation-page/delete-message-dialog.d.ts +7 -0
- package/dist/app/conversation-page/delete-message-dialog.js +22 -0
- package/dist/app/conversation-page/message-access.d.ts +19 -0
- package/dist/app/conversation-page/message-access.js +25 -0
- package/dist/app/conversation-page/message-actions-bar.d.ts +12 -0
- package/dist/app/conversation-page/message-actions-bar.js +57 -0
- package/dist/app/conversation-page/message-actions-sheet.d.ts +18 -0
- package/dist/app/conversation-page/message-actions-sheet.js +73 -0
- package/dist/app/conversation-page/message-controls.d.ts +19 -0
- package/dist/app/conversation-page/message-controls.js +0 -0
- package/dist/app/conversation-page/message-editor.d.ts +23 -0
- package/dist/app/conversation-page/message-editor.js +72 -0
- package/dist/app/conversation-page/message-press.d.ts +59 -0
- package/dist/app/conversation-page/message-press.js +55 -0
- package/dist/app/conversation-page/message-setup.d.ts +27 -0
- package/dist/app/conversation-page/message-setup.js +0 -0
- package/dist/app/conversation-page/messages.d.ts +2 -2
- package/dist/app/conversation-page/reaction-chips.d.ts +18 -0
- package/dist/app/conversation-page/reaction-chips.js +30 -0
- package/dist/app/conversation-page/reactions.d.ts +28 -0
- package/dist/app/conversation-page/reactions.js +31 -0
- package/dist/app/conversation-page/reply-labels.d.ts +4 -0
- package/dist/app/conversation-page/reply-labels.js +9 -0
- package/dist/app/conversation-page/thread-head.d.ts +4 -0
- package/dist/app/conversation-page/thread-head.js +5 -0
- package/dist/app/conversation-page/thread-panel.d.ts +25 -0
- package/dist/app/conversation-page/thread-panel.js +107 -0
- package/dist/app/conversation-page/thread-summary.d.ts +10 -0
- package/dist/app/conversation-page/thread-summary.js +26 -0
- package/dist/app/conversation-page/use-message-controls.d.ts +14 -0
- package/dist/app/conversation-page/use-message-controls.js +32 -0
- package/dist/app/conversation-page/use-message-press.d.ts +16 -0
- package/dist/app/conversation-page/use-message-press.js +88 -0
- package/dist/app/conversation-page/use-message-reactions.d.ts +13 -0
- package/dist/app/conversation-page/use-message-reactions.js +24 -0
- package/dist/app/conversation-page/use-message-setup.d.ts +19 -0
- package/dist/app/conversation-page/use-message-setup.js +33 -0
- package/dist/app/conversation-page/use-message-writes.d.ts +14 -0
- package/dist/app/conversation-page/use-message-writes.js +49 -0
- package/dist/app/conversation-page/use-thread-address.d.ts +13 -0
- package/dist/app/conversation-page/use-thread-address.js +29 -0
- package/dist/app/conversation-page/use-thread-head.d.ts +15 -0
- package/dist/app/conversation-page/use-thread-head.js +31 -0
- package/dist/app/create/messages.d.ts +2 -2
- package/dist/app/current-address.d.ts +1 -0
- package/dist/app/current-address.js +2 -1
- package/dist/app/custom-section.d.ts +1 -1
- package/dist/app/delete/messages.d.ts +2 -2
- package/dist/app/displays/list-cards.d.ts +1 -1
- package/dist/app/displays/messages.d.ts +2 -2
- package/dist/app/embedded-list/messages.d.ts +2 -2
- package/dist/app/export/messages.d.ts +2 -2
- package/dist/app/field-messages.d.ts +2 -2
- package/dist/app/field-types/custom-step-container/messages.d.ts +2 -2
- package/dist/app/field-types/runner-install/messages.d.ts +2 -2
- package/dist/app/field-types/widget-part.d.ts +1 -1
- package/dist/app/field-types/workflow/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/hand-order/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/meta-gate-messages.d.ts +2 -2
- package/dist/app/new-version/messages.d.ts +2 -2
- package/dist/app/pages/custom-boundary.d.ts +1 -1
- package/dist/app/pages/custom-chosen.d.ts +1 -1
- package/dist/app/pages/messages.d.ts +2 -2
- package/dist/app/record-chart/messages.d.ts +2 -2
- package/dist/app/record-messages.d.ts +2 -2
- package/dist/app/record-mode/shown-layout.d.ts +1 -1
- package/dist/app/record-row/messages.d.ts +2 -2
- package/dist/app/related-cards/messages.d.ts +2 -2
- package/dist/app/runtime/messages.d.ts +2 -2
- package/dist/app/saved/messages.d.ts +2 -2
- package/dist/app/saved/saved-list.d.ts +1 -1
- package/dist/app/searches/messages.d.ts +2 -2
- 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/compact-table/messages.d.ts +2 -2
- package/dist/data/query-keys.d.ts +2 -0
- package/dist/data/query-keys.js +7 -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/invitations/messages.d.ts +2 -2
- package/dist/locale/en.js +33 -1
- package/dist/locale/en.json.d.ts +32 -0
- package/dist/locale/messages.d.ts +64 -0
- package/dist/locale/nl.js +33 -1
- package/dist/locale/texts-gate.d.ts +1 -1
- package/dist/mailbox/messages.d.ts +2 -2
- package/dist/mentions/messages.d.ts +2 -2
- package/dist/mocks/orders.d.ts +1 -1
- package/dist/notifications/bell/messages.d.ts +2 -2
- package/dist/organizations/messages.d.ts +2 -2
- package/dist/package.js +1 -1
- package/dist/plugins/before-sign-in.d.ts +1 -1
- package/dist/primitives/messages.d.ts +2 -2
- package/dist/record-view/messages.d.ts +2 -2
- package/dist/shell/assets/{account-page-DUZhZTQe.js → account-page-D1S57VfK.js} +2 -2
- package/dist/shell/assets/{app-CWCg5I0x.js → app-2d0YQdR7.js} +7 -7
- package/dist/shell/assets/app-Cv0aTDUz.css +2 -0
- package/dist/shell/assets/{assistant-shell-BB-qTSNN.js → assistant-shell-Bb0KRa8E.js} +2 -2
- package/dist/shell/assets/board-display-B0hMSJLc.js +2 -0
- package/dist/shell/assets/calendar-display-DNTXJ2Lj.js +2 -0
- package/dist/shell/assets/{call-rings-CMu9LCVA.js → call-rings-D2efFDY-.js} +2 -2
- package/dist/shell/assets/{calls-CAwUiNFC.js → calls-mmgOyL_n.js} +2 -2
- package/dist/shell/assets/{circle-alert-DBbXAqFr.js → circle-alert-BWBUUk9M.js} +2 -2
- package/dist/shell/assets/{composed-page-CDZcDEpb.js → composed-page-jwnPyg2o.js} +2 -2
- package/dist/shell/assets/{composer-section-BLXex8WX.js → composer-section-raPl4Mf_.js} +2 -2
- package/dist/shell/assets/{connect-route-DMz3C4cs.js → connect-route-DnTRKFdW.js} +2 -2
- package/dist/shell/assets/{copy-field-D0wtSWzb.js → copy-field-BtAsyigB.js} +2 -2
- package/dist/shell/assets/create-route-CEuERj3K.js +2 -0
- package/dist/shell/assets/{custom-step-container-field-B2IfCGAR.js → custom-step-container-field-B1RXdjeH.js} +4 -4
- package/dist/shell/assets/embedded-list-BIvBUQCm.js +3 -0
- package/dist/shell/assets/en-_QUqgkv9.js +2 -0
- package/dist/shell/assets/{export-dialog-Ogugn53w.js → export-dialog-BibbA1JE.js} +2 -2
- package/dist/shell/assets/export-worker-BUvAe-pU.js +15 -0
- package/dist/shell/assets/{first-organization-page-C4-rQ_I2.js → first-organization-page-DgL_N1W1.js} +2 -2
- package/dist/shell/assets/{graph-view-CzTg5srj.js → graph-view-D5uSsu67.js} +2 -2
- package/dist/shell/assets/{group-donut-3ebIs5gF.js → group-donut-BeAjogon.js} +2 -2
- package/dist/shell/assets/{guest-call-page-CD0LJIht.js → guest-call-page-DXOfa3rF.js} +3 -3
- package/dist/shell/assets/{html-viewer-BYJGABwQ.js → html-viewer-SuYrL7fw.js} +2 -2
- package/dist/shell/assets/{import-dialog-BpUqiIUH.js → import-dialog-DjMoHP8N.js} +2 -2
- package/dist/shell/assets/import-table-dialog-45beoZDX.js +2 -0
- package/dist/shell/assets/{index-k2uQ-7c-.js → index-CH_1Ns3R.js} +1 -1
- package/dist/shell/assets/{invitations-page-BsN4z7EC.js → invitations-page-CwtY8Tbq.js} +2 -2
- package/dist/shell/assets/{layout-grid-DvW29fH0.js → layout-grid-DSS3tNid.js} +2 -2
- package/dist/shell/assets/{legend-item-CuD1ms2_.js → legend-item--JCuOrBW.js} +2 -2
- package/dist/shell/assets/list-page-Do4wAJXr.js +4 -0
- package/dist/shell/assets/{maplibre-DWK2ok5e.js → maplibre-DmuZi_YZ.js} +2 -2
- package/dist/shell/assets/{markdown-content-HRnOc3WU.js → markdown-content-B0lkEYGr.js} +2 -2
- package/dist/shell/assets/members-page-BaLe1e4J.js +2 -0
- package/dist/shell/assets/{message-content-ypqgAMEt.js → message-content-JJSKhX2W.js} +3 -3
- package/dist/shell/assets/messages-BaKmueMc.js +2 -0
- package/dist/shell/assets/nl-B7S2-35v.js +2 -0
- package/dist/shell/assets/organization-page-CIML07Cz.js +2 -0
- package/dist/shell/assets/organizations-page-Cctkt6cu.js +2 -0
- package/dist/shell/assets/parse-worker-BXZM3e8_.js +35 -0
- package/dist/shell/assets/{pending-invitation-row-1zBmAsKC.js → pending-invitation-row-xf_wfIQ2.js} +2 -2
- package/dist/shell/assets/{period-chart-Mcf3pdtE.js → period-chart-Cuw7AISK.js} +2 -2
- package/dist/shell/assets/{person-row-Dg1T6u1A.js → person-row-DtXuek5W.js} +2 -2
- package/dist/shell/assets/public-form-page-noW7JMKv.js +2 -0
- package/dist/shell/assets/{record-lines-B4MMhxps.js → record-lines-B-Wll3-R.js} +2 -2
- package/dist/shell/assets/{record-map-C8o8jmlo.js → record-map-D6Yog0Uu.js} +2 -2
- package/dist/shell/assets/{record-opens-Ds_etNOv.js → record-opens-Cy15Gu5o.js} +2 -2
- package/dist/shell/assets/record-page-Bo0pD8vx.js +3 -0
- package/dist/shell/assets/{record-preview-C2bjzVoh.js → record-preview-CDgsSTFF.js} +2 -2
- package/dist/shell/assets/{records-map-DT_SwhgY.js → records-map-CV5k8jcU.js} +2 -2
- package/dist/shell/assets/render-node-CtZZjLGx.js +3 -0
- package/dist/shell/assets/reorder-button-DHV9_n1M.js +2 -0
- package/dist/shell/assets/{run-trace-view-CScFddUb.js → run-trace-view-DOyzvKTV.js} +2 -2
- package/dist/shell/assets/{runner-install-field-DyyHVUfd.js → runner-install-field-CJberN6i.js} +2 -2
- package/dist/shell/assets/{runtime-update-CuLL4Qbm.js → runtime-update-DiRL2UEA.js} +2 -2
- package/dist/shell/assets/shared-protobase-ui-Bq-qMwVs.js +1 -0
- package/dist/shell/assets/{sheet-source-IXyzIyO8.js → sheet-source-xZ9l3FLl.js} +3 -3
- package/dist/shell/assets/sign-in-policy-page-BUKwvVFG.js +2 -0
- package/dist/shell/assets/start-block-queries-s1eLXHpW.js +2 -0
- package/dist/shell/assets/step-catalog-BvlUh62_.js +2 -0
- package/dist/shell/assets/{step-panel-CA5-2Doz.js → step-panel-BGJiJ7z6.js} +2 -2
- package/dist/shell/assets/timeline-display-B_xs7U-p.js +2 -0
- package/dist/shell/assets/{trash-Cd-g6Eyo.js → trash-BfWYOlBD.js} +2 -2
- package/dist/shell/assets/{update-set-DfPWNMBL.js → update-set-iwxyRxhm.js} +2 -2
- package/dist/shell/assets/use-calendar-move-Cd92WAhx.js +2 -0
- package/dist/shell/assets/{use-display-rows-CYGJYJrz.js → use-display-rows-HuX1NEhA.js} +2 -2
- package/dist/shell/assets/use-my-invitations-DaKmW2De.js +2 -0
- package/dist/shell/assets/{use-paged-search-cBs-xWuq.js → use-paged-search-DPuOZYVz.js} +2 -2
- package/dist/shell/assets/{use-run-trace-CSdKdxn9.js → use-run-trace-Dukz4W0q.js} +2 -2
- package/dist/shell/assets/{use-workflow-page-DGd_5JMB.js → use-workflow-page-Cgw-Aurp.js} +2 -2
- package/dist/shell/assets/{use-workflow-types-BQl6tPM-.js → use-workflow-types-B1NI4zqE.js} +2 -2
- package/dist/shell/assets/{workflow-canvas-DbLkc3zJ.js → workflow-canvas-B-IYnZVg.js} +4 -4
- package/dist/shell/assets/{workflow-field-DRAphvYG.js → workflow-field-BSH37gjx.js} +3 -3
- package/dist/shell/assets/{workflow-graph-editor-CzgoB1_t.js → workflow-graph-editor-C1U_7a-n.js} +2 -2
- package/dist/shell/assets/{workflow-run-field-CQf9E5e1.js → workflow-run-field-D_yV-Pdt.js} +3 -3
- package/dist/shell/assets/workflow-status-field-CIX3WM-W.js +2 -0
- package/dist/shell/assets/workflow-workbench-CoVlp47h.js +4 -0
- package/dist/shell/index.html +4 -4
- package/dist/shell/protobase.shell.json +2 -2
- package/dist/shell/protobase.sw.js +2 -2
- package/dist/shell-source-maps/assets/{account-page-DUZhZTQe.js.map → account-page-D1S57VfK.js.map} +1 -1
- package/dist/shell-source-maps/assets/app-2d0YQdR7.js.map +1 -0
- package/dist/shell-source-maps/assets/{assistant-shell-BB-qTSNN.js.map → assistant-shell-Bb0KRa8E.js.map} +1 -1
- package/dist/shell-source-maps/assets/{board-display-DxdFR3Wq.js.map → board-display-B0hMSJLc.js.map} +1 -1
- package/dist/shell-source-maps/assets/{calendar-display-uBGEfuIv.js.map → calendar-display-DNTXJ2Lj.js.map} +1 -1
- package/dist/shell-source-maps/assets/{call-rings-CMu9LCVA.js.map → call-rings-D2efFDY-.js.map} +1 -1
- package/dist/shell-source-maps/assets/{calls-CAwUiNFC.js.map → calls-mmgOyL_n.js.map} +1 -1
- package/dist/shell-source-maps/assets/{circle-alert-DBbXAqFr.js.map → circle-alert-BWBUUk9M.js.map} +1 -1
- package/dist/shell-source-maps/assets/{composed-page-CDZcDEpb.js.map → composed-page-jwnPyg2o.js.map} +1 -1
- package/dist/shell-source-maps/assets/{composer-section-BLXex8WX.js.map → composer-section-raPl4Mf_.js.map} +1 -1
- package/dist/shell-source-maps/assets/{connect-route-DMz3C4cs.js.map → connect-route-DnTRKFdW.js.map} +1 -1
- package/dist/shell-source-maps/assets/{copy-field-D0wtSWzb.js.map → copy-field-BtAsyigB.js.map} +1 -1
- package/dist/shell-source-maps/assets/{create-route-BQoMwg6m.js.map → create-route-CEuERj3K.js.map} +1 -1
- package/dist/shell-source-maps/assets/{custom-step-container-field-B2IfCGAR.js.map → custom-step-container-field-B1RXdjeH.js.map} +1 -1
- package/dist/shell-source-maps/assets/{embedded-list-BOlcwiiA.js.map → embedded-list-BIvBUQCm.js.map} +1 -1
- package/dist/shell-source-maps/assets/{en-BED8S1rX.js.map → en-_QUqgkv9.js.map} +1 -1
- package/dist/shell-source-maps/assets/{export-dialog-Ogugn53w.js.map → export-dialog-BibbA1JE.js.map} +1 -1
- package/dist/shell-source-maps/assets/export-worker-BUvAe-pU.js.map +1 -0
- package/dist/shell-source-maps/assets/{first-organization-page-C4-rQ_I2.js.map → first-organization-page-DgL_N1W1.js.map} +1 -1
- package/dist/shell-source-maps/assets/{graph-view-CzTg5srj.js.map → graph-view-D5uSsu67.js.map} +1 -1
- package/dist/shell-source-maps/assets/{group-donut-3ebIs5gF.js.map → group-donut-BeAjogon.js.map} +1 -1
- package/dist/shell-source-maps/assets/{guest-call-page-CD0LJIht.js.map → guest-call-page-DXOfa3rF.js.map} +1 -1
- package/dist/shell-source-maps/assets/{html-viewer-BYJGABwQ.js.map → html-viewer-SuYrL7fw.js.map} +1 -1
- package/dist/shell-source-maps/assets/{import-dialog-BpUqiIUH.js.map → import-dialog-DjMoHP8N.js.map} +1 -1
- package/dist/shell-source-maps/assets/{import-table-dialog-CYYjVijG.js.map → import-table-dialog-45beoZDX.js.map} +1 -1
- package/dist/shell-source-maps/assets/{invitations-page-BsN4z7EC.js.map → invitations-page-CwtY8Tbq.js.map} +1 -1
- package/dist/shell-source-maps/assets/{layout-grid-DvW29fH0.js.map → layout-grid-DSS3tNid.js.map} +1 -1
- package/dist/shell-source-maps/assets/{legend-item-CuD1ms2_.js.map → legend-item--JCuOrBW.js.map} +1 -1
- package/dist/shell-source-maps/assets/{list-page-BtuFsbiK.js.map → list-page-Do4wAJXr.js.map} +1 -1
- package/dist/shell-source-maps/assets/{maplibre-DWK2ok5e.js.map → maplibre-DmuZi_YZ.js.map} +1 -1
- package/dist/shell-source-maps/assets/{markdown-content-HRnOc3WU.js.map → markdown-content-B0lkEYGr.js.map} +1 -1
- package/dist/shell-source-maps/assets/{members-page-CXYBNAaR.js.map → members-page-BaLe1e4J.js.map} +1 -1
- package/dist/shell-source-maps/assets/{message-content-ypqgAMEt.js.map → message-content-JJSKhX2W.js.map} +1 -1
- package/dist/shell-source-maps/assets/{messages-QTTbTkpW.js.map → messages-BaKmueMc.js.map} +1 -1
- package/dist/shell-source-maps/assets/nl-B7S2-35v.js.map +1 -0
- package/dist/shell-source-maps/assets/{organization-page-C0iuWYaS.js.map → organization-page-CIML07Cz.js.map} +1 -1
- package/dist/shell-source-maps/assets/{organizations-page-BOryGu_-.js.map → organizations-page-Cctkt6cu.js.map} +1 -1
- package/dist/shell-source-maps/assets/parse-worker-BXZM3e8_.js.map +1 -0
- package/dist/shell-source-maps/assets/{pending-invitation-row-1zBmAsKC.js.map → pending-invitation-row-xf_wfIQ2.js.map} +1 -1
- package/dist/shell-source-maps/assets/{period-chart-Mcf3pdtE.js.map → period-chart-Cuw7AISK.js.map} +1 -1
- package/dist/shell-source-maps/assets/{person-row-Dg1T6u1A.js.map → person-row-DtXuek5W.js.map} +1 -1
- package/dist/shell-source-maps/assets/{public-form-page-DKBrB0BB.js.map → public-form-page-noW7JMKv.js.map} +1 -1
- package/dist/shell-source-maps/assets/{record-lines-B4MMhxps.js.map → record-lines-B-Wll3-R.js.map} +1 -1
- package/dist/shell-source-maps/assets/{record-map-C8o8jmlo.js.map → record-map-D6Yog0Uu.js.map} +1 -1
- package/dist/shell-source-maps/assets/{record-opens-Ds_etNOv.js.map → record-opens-Cy15Gu5o.js.map} +1 -1
- package/dist/shell-source-maps/assets/record-page-Bo0pD8vx.js.map +1 -0
- package/dist/shell-source-maps/assets/{record-preview-C2bjzVoh.js.map → record-preview-CDgsSTFF.js.map} +1 -1
- package/dist/shell-source-maps/assets/{records-map-DT_SwhgY.js.map → records-map-CV5k8jcU.js.map} +1 -1
- package/dist/shell-source-maps/assets/{render-node-BKYZK3FU.js.map → render-node-CtZZjLGx.js.map} +1 -1
- package/dist/shell-source-maps/assets/{reorder-button-DmgQZa3E.js.map → reorder-button-DHV9_n1M.js.map} +1 -1
- package/dist/shell-source-maps/assets/{run-trace-view-CScFddUb.js.map → run-trace-view-DOyzvKTV.js.map} +1 -1
- package/dist/shell-source-maps/assets/{runner-install-field-DyyHVUfd.js.map → runner-install-field-CJberN6i.js.map} +1 -1
- package/dist/shell-source-maps/assets/{runtime-update-CuLL4Qbm.js.map → runtime-update-DiRL2UEA.js.map} +1 -1
- package/dist/shell-source-maps/assets/{sheet-source-IXyzIyO8.js.map → sheet-source-xZ9l3FLl.js.map} +1 -1
- package/dist/shell-source-maps/assets/{sign-in-policy-page-Dto5W87n.js.map → sign-in-policy-page-BUKwvVFG.js.map} +1 -1
- package/dist/shell-source-maps/assets/{start-block-queries-DNegRXtD.js.map → start-block-queries-s1eLXHpW.js.map} +1 -1
- package/dist/shell-source-maps/assets/{step-catalog-Dw8bipyJ.js.map → step-catalog-BvlUh62_.js.map} +1 -1
- package/dist/shell-source-maps/assets/{step-panel-CA5-2Doz.js.map → step-panel-BGJiJ7z6.js.map} +1 -1
- package/dist/shell-source-maps/assets/{timeline-display-BLF3onV2.js.map → timeline-display-B_xs7U-p.js.map} +1 -1
- package/dist/shell-source-maps/assets/{trash-Cd-g6Eyo.js.map → trash-BfWYOlBD.js.map} +1 -1
- package/dist/shell-source-maps/assets/{update-set-DfPWNMBL.js.map → update-set-iwxyRxhm.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-calendar-move-J9sB_jXo.js.map → use-calendar-move-Cd92WAhx.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-display-rows-CYGJYJrz.js.map → use-display-rows-HuX1NEhA.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-my-invitations-DZ0rA8RK.js.map → use-my-invitations-DaKmW2De.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-paged-search-cBs-xWuq.js.map → use-paged-search-DPuOZYVz.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-run-trace-CSdKdxn9.js.map → use-run-trace-Dukz4W0q.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-workflow-page-DGd_5JMB.js.map → use-workflow-page-Cgw-Aurp.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-workflow-types-BQl6tPM-.js.map → use-workflow-types-B1NI4zqE.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-canvas-DbLkc3zJ.js.map → workflow-canvas-B-IYnZVg.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-field-DRAphvYG.js.map → workflow-field-BSH37gjx.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-graph-editor-CzgoB1_t.js.map → workflow-graph-editor-C1U_7a-n.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-run-field-CQf9E5e1.js.map → workflow-run-field-D_yV-Pdt.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-status-field-CiaCtBkf.js.map → workflow-status-field-CIX3WM-W.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-workbench-CMl69WwH.js.map → workflow-workbench-CoVlp47h.js.map} +1 -1
- package/dist/status/messages.d.ts +2 -2
- package/dist/users/messages.d.ts +2 -2
- package/package.json +5 -5
- package/dist/shell/assets/app-DLkpxjgP.css +0 -2
- package/dist/shell/assets/board-display-DxdFR3Wq.js +0 -2
- package/dist/shell/assets/calendar-display-uBGEfuIv.js +0 -2
- package/dist/shell/assets/create-route-BQoMwg6m.js +0 -2
- package/dist/shell/assets/embedded-list-BOlcwiiA.js +0 -3
- package/dist/shell/assets/en-BED8S1rX.js +0 -2
- package/dist/shell/assets/export-worker-S5xPFD_M.js +0 -15
- package/dist/shell/assets/import-table-dialog-CYYjVijG.js +0 -2
- package/dist/shell/assets/list-page-BtuFsbiK.js +0 -4
- package/dist/shell/assets/members-page-CXYBNAaR.js +0 -2
- package/dist/shell/assets/messages-QTTbTkpW.js +0 -2
- package/dist/shell/assets/nl-DjHVomkB.js +0 -2
- package/dist/shell/assets/organization-page-C0iuWYaS.js +0 -2
- package/dist/shell/assets/organizations-page-BOryGu_-.js +0 -2
- package/dist/shell/assets/parse-worker-CO_GFfU7.js +0 -35
- package/dist/shell/assets/public-form-page-DKBrB0BB.js +0 -2
- package/dist/shell/assets/record-page-DR3a2_Z8.js +0 -3
- package/dist/shell/assets/render-node-BKYZK3FU.js +0 -3
- package/dist/shell/assets/reorder-button-DmgQZa3E.js +0 -2
- package/dist/shell/assets/shared-protobase-ui-DOsgmmrs.js +0 -1
- package/dist/shell/assets/sign-in-policy-page-Dto5W87n.js +0 -2
- package/dist/shell/assets/start-block-queries-DNegRXtD.js +0 -2
- package/dist/shell/assets/step-catalog-Dw8bipyJ.js +0 -2
- package/dist/shell/assets/timeline-display-BLF3onV2.js +0 -2
- package/dist/shell/assets/use-calendar-move-J9sB_jXo.js +0 -2
- package/dist/shell/assets/use-my-invitations-DZ0rA8RK.js +0 -2
- package/dist/shell/assets/workflow-status-field-CiaCtBkf.js +0 -2
- package/dist/shell/assets/workflow-workbench-CMl69WwH.js +0 -4
- package/dist/shell-source-maps/assets/app-CWCg5I0x.js.map +0 -1
- package/dist/shell-source-maps/assets/export-worker-S5xPFD_M.js.map +0 -1
- package/dist/shell-source-maps/assets/nl-DjHVomkB.js.map +0 -1
- package/dist/shell-source-maps/assets/parse-worker-CO_GFfU7.js.map +0 -1
- package/dist/shell-source-maps/assets/record-page-DR3a2_Z8.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: "download" | "name" | "cancel" | "as" | "account" | "mailbox" | "ended" | "noDevices" | "remove" | "revoke" | "copied" | "continue" | "connected" | "connections" | "edit" | "default" | "reset" | "signOut" | "loading" | "save" | "passkey" | "code" | "optional" | "twoFactor" | "backupCodes" | "changeEmail" | "changePassword" | "setPassword" | "email" | "password" | "newPassword" | "newEmail" | "currentPassword" | "required" | "passwordsDiffer" | "atLeast" | "useAtLeast" | "passwordTooLong" | "repeatPassword" | "addPasskey" | "staff" | "done" | "copy" | "connect" | "connectAgain" | "otherAddress" | "off" | "on" | "stopped" | "noAccount" | "noAccountDescription" | "signInPolicy" | "couldNotReadMethods" | "couldNotReadProfile" | "profile" | "profileDescription" | "changeName" | "changeNameDescription" | "changeEmailDescription" | "sendCode" | "codeSentTo" | "theProvider" | "yourPassword" | "passwordIsSet" | "passwordNotSet" | "passwordForbidden" | "passwordStaff" | "passwordSaved" | "changeSignsOutOthers" | "passkeys" | "passkeysAllowed" | "passkeysRequired" | "passkeysForbidden" | "addedOn" | "addedEarlier" | "synced" | "oneDevice" | "rename" | "keepLastPasskey" | "confirmedAddPasskey" | "renamePasskey" | "renamePasskeyDescription" | "removePasskey" | "removePasskeyDescription" | "thisPasskey" | "connectedAccounts" | "connectedAccountsDescription" | "mailboxDescription" | "fromAddresses" | "fromAddressesDescription" | "couldNotReadFromAddresses" | "mailboxOwnAddress" | "makeDefault" | "ownSignature" | "genericSignature" | "addFromAddress" | "addFromAddressDescription" | "changeFromAddressDescription" | "addAddress" | "fromAddress" | "fromAddressPlaceholder" | "fromName" | "fromNamePlaceholder" | "defaultFromAddress" | "signature" | "signaturePlaceholder" | "removeFromAddress" | "removeFromAddressDescription" | "connectionsDescription" | "connectedOn" | "connectionNeedsSignIn" | "connectionUsedBy" | "disconnect" | "disconnectTitle" | "disconnectDescription" | "disconnectWholeGrant" | "disconnectedRevoked" | "disconnectedQueued" | "disconnectedNotRevoked" | "signedInUntil" | "devices" | "devicesDescription" | "couldNotReadDevices" | "thisDevice" | "browserOn" | "aBrowserOn" | "unknownDevice" | "staffOf" | "signedInFromUntil" | "signOutDevice" | "signOutDeviceDescription" | "signOutLinkedDeviceDescription" | "deviceThrough" | "linkedOn" | "signOutOthers" | "signOutOthersTitle" | "signOutOthersDescription" | "staffSignIns" | "staffSignInsDescription" | "noStaffSignIns" | "qrCode" | "twoFactorAllowed" | "twoFactorRequired" | "twoFactorForbidden" | "twoFactorOnWithApp" | "twoFactorOnWithAppOrMail" | "twoFactorOnWithMail" | "turnOn" | "turnOff" | "addAuthenticator" | "newBackupCodes" | "twoFactorIsRequired" | "turnOffTitle" | "turnOffDescription" | "newCodesTitle" | "newCodesDescription" | "makeNewCodes" | "yourNewCodes" | "keepCodesSafe" | "savedCodes" | "authenticatorApp" | "authenticatorAppDescription" | "emailedCode" | "emailedCodeDescription" | "twoFactorIsOn" | "scanCode" | "cannotScan" | "codeFromApp" | "secondStep" | "passwordDescription" | "emailedSignInCode" | "emailedSignInCodeDescription" | "passkeysPolicyDescription" | "twoFactorPolicyDescription" | "staffAccess" | "staffAccessDescription" | "emailThePerson" | "platformSignIn" | "platformSignInDescription" | "platformSignInWith" | "codeNeedsMail" | "passwordStaysOn" | "staffNeedsMail" | "platformOff" | "appliesAs" | "lastSaved" | "lastSavedBy" | "neverChanged" | "couldNotReadStaffSignIns" | "couldNotReadPolicy" | "policySaved" | "policySubtitle" | "mcpAddress" | "mcpAddressDescription" | "copyMcpAddress" | "accessTokens" | "accessTokensDescription" | "couldNotReadAccessTokens" | "noAccessTokens" | "newAccessToken" | "newAccessTokenDescription" | "accessTokenNamePlaceholder" | "accessTokenExpiry" | "expiresIn30Days" | "expiresIn90Days" | "expiresInAYear" | "neverExpires" | "createAccessToken" | "confirmedCreateAccessToken" | "accessTokenCreated" | "accessTokenCreatedDescription" | "copyAccessToken" | "noAnswerFromServer" | "copyRefused" | "createdOn" | "expiresOn" | "expiredOn" | "lastUsedOn" | "notUsedYet" | "actsAs" | "actsAsIn" | "revokeAccessToken" | "revokeAccessTokenDescription" | "addToClaude" | "deleteAccount" | "deleteAccountDescription" | "deleteAccountStaff" | "deleteAccountQuestion" | "deleteAccountWarning" | "deleteAccountPassword" | "deleteAccountConfirm" | "deleteAccountLastAdmin" | "deleteAccountLocked", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "download" | "name" | "cancel" | "as" | "account" | "mailbox" | "ended" | "noDevices" | "remove" | "revoke" | "copied" | "continue" | "connected" | "connections" | "edit" | "default" | "reset" | "signOut" | "loading" | "save" | "passkey" | "code" | "optional" | "twoFactor" | "backupCodes" | "changeEmail" | "changePassword" | "setPassword" | "email" | "password" | "newPassword" | "newEmail" | "currentPassword" | "required" | "passwordsDiffer" | "atLeast" | "useAtLeast" | "passwordTooLong" | "repeatPassword" | "addPasskey" | "staff" | "done" | "copy" | "connect" | "connectAgain" | "otherAddress" | "off" | "on" | "stopped" | "noAccount" | "noAccountDescription" | "signInPolicy" | "couldNotReadMethods" | "couldNotReadProfile" | "profile" | "profileDescription" | "changeName" | "changeNameDescription" | "changeEmailDescription" | "sendCode" | "codeSentTo" | "theProvider" | "yourPassword" | "passwordIsSet" | "passwordNotSet" | "passwordForbidden" | "passwordStaff" | "passwordSaved" | "changeSignsOutOthers" | "passkeys" | "passkeysAllowed" | "passkeysRequired" | "passkeysForbidden" | "addedOn" | "addedEarlier" | "synced" | "oneDevice" | "rename" | "keepLastPasskey" | "confirmedAddPasskey" | "renamePasskey" | "renamePasskeyDescription" | "removePasskey" | "removePasskeyDescription" | "thisPasskey" | "connectedAccounts" | "connectedAccountsDescription" | "mailboxDescription" | "fromAddresses" | "fromAddressesDescription" | "couldNotReadFromAddresses" | "mailboxOwnAddress" | "makeDefault" | "ownSignature" | "genericSignature" | "addFromAddress" | "addFromAddressDescription" | "changeFromAddressDescription" | "addAddress" | "fromAddress" | "fromAddressPlaceholder" | "fromName" | "fromNamePlaceholder" | "defaultFromAddress" | "signature" | "signaturePlaceholder" | "removeFromAddress" | "removeFromAddressDescription" | "connectionsDescription" | "connectedOn" | "connectionNeedsSignIn" | "connectionUsedBy" | "disconnect" | "disconnectTitle" | "disconnectDescription" | "disconnectWholeGrant" | "disconnectedRevoked" | "disconnectedQueued" | "disconnectedNotRevoked" | "signedInUntil" | "devices" | "devicesDescription" | "couldNotReadDevices" | "thisDevice" | "browserOn" | "aBrowserOn" | "unknownDevice" | "staffOf" | "signedInFromUntil" | "signOutDevice" | "signOutDeviceDescription" | "signOutLinkedDeviceDescription" | "deviceThrough" | "linkedOn" | "signOutOthers" | "signOutOthersTitle" | "signOutOthersDescription" | "staffSignIns" | "staffSignInsDescription" | "noStaffSignIns" | "qrCode" | "twoFactorAllowed" | "twoFactorRequired" | "twoFactorForbidden" | "twoFactorOnWithApp" | "twoFactorOnWithAppOrMail" | "twoFactorOnWithMail" | "turnOn" | "turnOff" | "addAuthenticator" | "newBackupCodes" | "twoFactorIsRequired" | "turnOffTitle" | "turnOffDescription" | "newCodesTitle" | "newCodesDescription" | "makeNewCodes" | "yourNewCodes" | "keepCodesSafe" | "savedCodes" | "authenticatorApp" | "authenticatorAppDescription" | "emailedCode" | "emailedCodeDescription" | "twoFactorIsOn" | "scanCode" | "cannotScan" | "codeFromApp" | "secondStep" | "passwordDescription" | "emailedSignInCode" | "emailedSignInCodeDescription" | "passkeysPolicyDescription" | "twoFactorPolicyDescription" | "staffAccess" | "staffAccessDescription" | "emailThePerson" | "platformSignIn" | "platformSignInDescription" | "platformSignInWith" | "codeNeedsMail" | "passwordStaysOn" | "staffNeedsMail" | "platformOff" | "appliesAs" | "lastSaved" | "lastSavedBy" | "neverChanged" | "couldNotReadStaffSignIns" | "couldNotReadPolicy" | "policySaved" | "policySubtitle" | "mcpAddress" | "mcpAddressDescription" | "copyMcpAddress" | "accessTokens" | "accessTokensDescription" | "couldNotReadAccessTokens" | "noAccessTokens" | "newAccessToken" | "newAccessTokenDescription" | "accessTokenNamePlaceholder" | "accessTokenExpiry" | "expiresIn30Days" | "expiresIn90Days" | "expiresInAYear" | "neverExpires" | "createAccessToken" | "confirmedCreateAccessToken" | "accessTokenCreated" | "accessTokenCreatedDescription" | "copyAccessToken" | "noAnswerFromServer" | "copyRefused" | "createdOn" | "expiresOn" | "expiredOn" | "lastUsedOn" | "notUsedYet" | "actsAs" | "actsAsIn" | "revokeAccessToken" | "revokeAccessTokenDescription" | "addToClaude" | "deleteAccount" | "deleteAccountDescription" | "deleteAccountStaff" | "deleteAccountQuestion" | "deleteAccountWarning" | "deleteAccountPassword" | "deleteAccountConfirm" | "deleteAccountLastAdmin" | "deleteAccountLocked", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/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: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "title" | "cancel" | "change", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "title" | "cancel" | "change", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../../locale/messages.js";
|
|
2
2
|
//#region src/app/charts/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "count" | "
|
|
5
|
-
rich(id: "count" | "
|
|
4
|
+
(id: "count" | "sum" | "yes" | "no" | "couldNotLoad" | "today" | "records" | "maximum" | "notSet" | "nothingYet" | "other" | "toToday" | "period" | "average" | "chartKeys", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "count" | "sum" | "yes" | "no" | "couldNotLoad" | "today" | "records" | "maximum" | "notSet" | "nothingYet" | "other" | "toToday" | "period" | "average" | "chartKeys", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/app/confirm-sign-in-messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
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: "couldNotLoad" | "
|
|
5
|
-
rich(id: "couldNotLoad" | "
|
|
4
|
+
(id: "cancel" | "someone" | "copied" | "edit" | "thread" | "message" | "couldNotLoad" | "save" | "delete" | "notSent" | "details" | "deleteDescription" | "deleteTitle" | "noMessages" | "loadingMessages" | "callInput" | "callResult" | "callError" | "couldNotLoadCalls" | "edited" | "editedAt" | "positionNotSaved" | "messageActions" | "reactWith" | "react" | "reactedBy" | "replyInThread" | "copyText" | "editMessage" | "yourMessage" | "messageFrom" | "showYourActions" | "showActionsFrom" | "showActions" | "notSaved" | "notDeleted" | "reactionNotSaved" | "replies" | "lastReply" | "replyPlaceholder" | "couldNotLoadThread" | "threadElsewhere" | "couldNotLoadReactions" | "notCopied", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "cancel" | "someone" | "copied" | "edit" | "thread" | "message" | "couldNotLoad" | "save" | "delete" | "notSent" | "details" | "deleteDescription" | "deleteTitle" | "noMessages" | "loadingMessages" | "callInput" | "callResult" | "callError" | "couldNotLoadCalls" | "edited" | "editedAt" | "positionNotSaved" | "messageActions" | "reactWith" | "react" | "reactedBy" | "replyInThread" | "copyText" | "editMessage" | "yourMessage" | "messageFrom" | "showYourActions" | "showActionsFrom" | "showActions" | "notSaved" | "notDeleted" | "reactionNotSaved" | "replies" | "lastReply" | "replyPlaceholder" | "couldNotLoadThread" | "threadElsewhere" | "couldNotLoadReactions" | "notCopied", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -1,19 +1,22 @@
|
|
|
1
1
|
import { ChatAuthor } from "../../chat/chat-message.js";
|
|
2
2
|
import "../../chat/index.js";
|
|
3
|
-
import {
|
|
4
|
-
import { ConversationPageModel } from "@protobase/schema";
|
|
3
|
+
import { MessageSetup } from "./message-setup.js";
|
|
5
4
|
//#region src/app/conversation-page/conversation-message.d.ts
|
|
6
5
|
type Props = {
|
|
7
|
-
|
|
6
|
+
setup: MessageSetup;
|
|
8
7
|
row: Record<string, unknown>;
|
|
8
|
+
/** The message's key, as text. */
|
|
9
|
+
messageKey: string;
|
|
9
10
|
author: ChatAuthor;
|
|
10
11
|
time: string | undefined;
|
|
11
12
|
continued: boolean;
|
|
12
|
-
member: (id: string) => Member | undefined;
|
|
13
13
|
};
|
|
14
14
|
/**
|
|
15
|
-
* One message under its author, named after the organization's member with their id when there is one
|
|
16
|
-
* the people it mentions picked out as `MentionedText` does,
|
|
15
|
+
* One message under its author, named after the organization's member with their id when there is one: its text with
|
|
16
|
+
* the people it mentions picked out as `MentionedText` does, or a box to change it while its author edits it; in the
|
|
17
|
+
* conversation itself its thread's replies; and a footer of "(edited)" once changed and its reactions. What the reader
|
|
18
|
+
* can do to it shows in a bar while they point at it, or, by touch, in a sheet a tap or long-press opens, which also
|
|
19
|
+
* copies its text; a button only a keyboard or screen reader reaches opens that sheet on a touch screen too.
|
|
17
20
|
*/
|
|
18
|
-
export declare const ConversationMessage: ({
|
|
21
|
+
export declare const ConversationMessage: ({ setup, row, messageKey, author, time, continued }: Props) => import("react").JSX.Element;
|
|
19
22
|
//#endregion
|
|
@@ -1,35 +1,122 @@
|
|
|
1
|
+
import { cn } from "../../lib/cn.js";
|
|
2
|
+
import { buttonClass } from "../../primitives/button.js";
|
|
1
3
|
import { formatDateTime } from "../../format/date.js";
|
|
2
4
|
import { ChatMessage } from "../../chat/chat-message.js";
|
|
3
5
|
import { MentionedText } from "../../mentions/mentioned-text.js";
|
|
4
6
|
import { text } from "./messages.js";
|
|
5
|
-
import {
|
|
7
|
+
import { DeleteMessageDialog } from "./delete-message-dialog.js";
|
|
8
|
+
import { MessageActionsBar } from "./message-actions-bar.js";
|
|
9
|
+
import { MessageActionsSheet } from "./message-actions-sheet.js";
|
|
10
|
+
import { MessageEditor } from "./message-editor.js";
|
|
11
|
+
import { ReactionChips } from "./reaction-chips.js";
|
|
12
|
+
import { ThreadSummary } from "./thread-summary.js";
|
|
13
|
+
import { useMessageControls } from "./use-message-controls.js";
|
|
14
|
+
import { useMessagePress } from "./use-message-press.js";
|
|
15
|
+
import { useState } from "react";
|
|
16
|
+
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
6
17
|
//#region src/app/conversation-page/conversation-message.tsx
|
|
7
18
|
const idsOf = (value) => Array.isArray(value) ? value.filter((id) => typeof id === "string") : [];
|
|
8
19
|
/**
|
|
9
|
-
* One message under its author, named after the organization's member with their id when there is one
|
|
10
|
-
* the people it mentions picked out as `MentionedText` does,
|
|
20
|
+
* One message under its author, named after the organization's member with their id when there is one: its text with
|
|
21
|
+
* the people it mentions picked out as `MentionedText` does, or a box to change it while its author edits it; in the
|
|
22
|
+
* conversation itself its thread's replies; and a footer of "(edited)" once changed and its reactions. What the reader
|
|
23
|
+
* can do to it shows in a bar while they point at it, or, by touch, in a sheet a tap or long-press opens, which also
|
|
24
|
+
* copies its text; a button only a keyboard or screen reader reaches opens that sheet on a touch screen too.
|
|
11
25
|
*/
|
|
12
|
-
const ConversationMessage = ({
|
|
26
|
+
const ConversationMessage = ({ setup, row, messageKey, author, time, continued }) => {
|
|
27
|
+
const { page, me, member } = setup;
|
|
28
|
+
const [editing, setEditing] = useState(false);
|
|
29
|
+
const [deleting, setDeleting] = useState(false);
|
|
30
|
+
const [acting, setActing] = useState(false);
|
|
31
|
+
const press = useMessagePress(() => setActing(true));
|
|
13
32
|
const body = row[page.text] == null ? "" : String(row[page.text]);
|
|
14
|
-
const
|
|
33
|
+
const mine = me !== void 0 && author.id === me;
|
|
34
|
+
const name = member(author.id)?.name ?? author.name;
|
|
35
|
+
const mentionIds = page.mentions === void 0 ? [] : idsOf(row[page.mentions]);
|
|
36
|
+
const controls = useMessageControls(setup, {
|
|
37
|
+
row,
|
|
38
|
+
key: messageKey,
|
|
39
|
+
mine,
|
|
40
|
+
body,
|
|
41
|
+
onEdit: () => setEditing(true),
|
|
42
|
+
onDelete: () => setDeleting(true)
|
|
43
|
+
});
|
|
15
44
|
const edited = page.edited === void 0 ? void 0 : row[page.edited];
|
|
16
|
-
const
|
|
17
|
-
|
|
18
|
-
|
|
45
|
+
const replies = page.thread && setup.threadTo ? Number(row[page.thread.count] ?? 0) : 0;
|
|
46
|
+
const last = page.thread && typeof row[page.thread.last] === "string" ? row[page.thread.last] : void 0;
|
|
47
|
+
const chips = controls.groups.length > 0 && /* @__PURE__ */ jsx(ReactionChips, {
|
|
48
|
+
groups: controls.groups,
|
|
49
|
+
member,
|
|
50
|
+
onReact: controls.onReact,
|
|
51
|
+
onUnreact: controls.onUnreact
|
|
19
52
|
});
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
continued,
|
|
27
|
-
footer,
|
|
28
|
-
children: /* @__PURE__ */ jsx(MentionedText, {
|
|
29
|
-
text: body,
|
|
30
|
-
mentions: mentioned
|
|
31
|
-
})
|
|
53
|
+
const footer = (typeof edited === "string" || chips) && /* @__PURE__ */ jsxs("span", {
|
|
54
|
+
className: "flex flex-wrap items-center gap-1",
|
|
55
|
+
children: [typeof edited === "string" && /* @__PURE__ */ jsx("span", {
|
|
56
|
+
title: text("editedAt", { time: formatDateTime(Date.parse(edited)) }),
|
|
57
|
+
children: text("edited")
|
|
58
|
+
}), chips]
|
|
32
59
|
});
|
|
60
|
+
const title = mine ? text("yourMessage") : name ? text("messageFrom", { name }) : text("message");
|
|
61
|
+
const showLabel = mine ? text("showYourActions") : name ? text("showActionsFrom", { name }) : text("showActions");
|
|
62
|
+
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
63
|
+
/* @__PURE__ */ jsxs("div", {
|
|
64
|
+
"data-message": messageKey,
|
|
65
|
+
className: cn("group relative rounded-md [@media(hover:none)]:select-none [@media(hover:none)]:[-webkit-touch-callout:none] [&_a]:[-webkit-touch-callout:default]", acting && "bg-muted"),
|
|
66
|
+
...!editing && press,
|
|
67
|
+
children: [
|
|
68
|
+
!editing && /* @__PURE__ */ jsx(MessageActionsBar, { controls }),
|
|
69
|
+
!editing && /* @__PURE__ */ jsx("button", {
|
|
70
|
+
type: "button",
|
|
71
|
+
className: cn(buttonClass({
|
|
72
|
+
variant: "secondary",
|
|
73
|
+
size: "sm"
|
|
74
|
+
}), "sr-only focus-visible:not-sr-only focus-visible:absolute focus-visible:right-0 focus-visible:top-0 focus-visible:z-10 [@media(hover:hover)]:hidden"),
|
|
75
|
+
onClick: () => setActing(true),
|
|
76
|
+
children: showLabel
|
|
77
|
+
}),
|
|
78
|
+
/* @__PURE__ */ jsxs(ChatMessage, {
|
|
79
|
+
author: {
|
|
80
|
+
id: author.id,
|
|
81
|
+
name
|
|
82
|
+
},
|
|
83
|
+
time,
|
|
84
|
+
continued,
|
|
85
|
+
footer,
|
|
86
|
+
children: [editing ? /* @__PURE__ */ jsx(MessageEditor, {
|
|
87
|
+
body,
|
|
88
|
+
picked: mentionIds.flatMap((id) => member(id) ? [{
|
|
89
|
+
id,
|
|
90
|
+
name: member(id).name
|
|
91
|
+
}] : []),
|
|
92
|
+
searchPeople: setup.searchPeople,
|
|
93
|
+
onSave: (changed, mentions) => setup.writes.edit(messageKey, changed, mentions),
|
|
94
|
+
onCancel: () => setEditing(false)
|
|
95
|
+
}) : /* @__PURE__ */ jsx(MentionedText, {
|
|
96
|
+
text: body,
|
|
97
|
+
mentions: mentionIds.map((id) => ({ name: member(id)?.name }))
|
|
98
|
+
}), replies > 0 && controls.thread && /* @__PURE__ */ jsx(ThreadSummary, {
|
|
99
|
+
count: replies,
|
|
100
|
+
last,
|
|
101
|
+
to: controls.thread
|
|
102
|
+
})]
|
|
103
|
+
})
|
|
104
|
+
]
|
|
105
|
+
}),
|
|
106
|
+
deleting && /* @__PURE__ */ jsx(DeleteMessageDialog, {
|
|
107
|
+
onClose: () => setDeleting(false),
|
|
108
|
+
onDelete: () => {
|
|
109
|
+
setDeleting(false);
|
|
110
|
+
setup.writes.remove(messageKey);
|
|
111
|
+
}
|
|
112
|
+
}),
|
|
113
|
+
acting && !editing && /* @__PURE__ */ jsx(MessageActionsSheet, {
|
|
114
|
+
controls,
|
|
115
|
+
title,
|
|
116
|
+
preview: body,
|
|
117
|
+
onClose: () => setActing(false)
|
|
118
|
+
})
|
|
119
|
+
] });
|
|
33
120
|
};
|
|
34
121
|
//#endregion
|
|
35
122
|
export { ConversationMessage };
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PeopleSearch } from "../../mentions/use-people-search.js";
|
|
2
|
+
import "../../mentions/index.js";
|
|
3
|
+
import { AppAddress, ConversationPageModel, ResourceModel } from "@protobase/schema";
|
|
2
4
|
//#region src/app/conversation-page/conversation-messages.d.ts
|
|
3
5
|
type Props = {
|
|
4
6
|
page: ConversationPageModel;
|
|
@@ -11,12 +13,16 @@ type Props = {
|
|
|
11
13
|
openedAt: number | undefined;
|
|
12
14
|
readTo: ((key: number) => void) | undefined;
|
|
13
15
|
};
|
|
16
|
+
/** The address that opens a message's thread, for a conversation with threads. */
|
|
17
|
+
threadTo?: (key: string) => AppAddress;
|
|
18
|
+
/** Finds the people `@` lists while editing a message. */
|
|
19
|
+
searchPeople?: PeopleSearch;
|
|
14
20
|
};
|
|
15
21
|
/**
|
|
16
22
|
* The record's messages, the latest page with earlier ones on request, read with the reader's own access and their
|
|
17
23
|
* senders' names in the same read, kept current as the live updates tell of new, changed and deleted ones. They show
|
|
18
24
|
* once the read position is there too, so they open on the "New messages" line, and reading to the end moves it. They
|
|
19
|
-
* scroll in a box of their own, so the box that sends one stays in view.
|
|
25
|
+
* scroll in a box of their own, so the box that sends one stays in view. Their reactions are read a page at a time.
|
|
20
26
|
*/
|
|
21
|
-
export declare const ConversationMessages: ({ page, model, recordKey, me, position }: Props) => import("react").JSX.Element;
|
|
27
|
+
export declare const ConversationMessages: ({ page, model, recordKey, me, position, threadTo, searchPeople }: Props) => import("react").JSX.Element;
|
|
22
28
|
//#endregion
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { useAdminMeta } from "../meta-gate.js";
|
|
2
2
|
import { recordKey } from "../../live/model-helpers.js";
|
|
3
|
-
import { useMembers } from "../../people/use-members.js";
|
|
4
3
|
import { useList } from "../../data/use-list.js";
|
|
5
4
|
import { ErrorBanner } from "../error-banner.js";
|
|
6
5
|
import { Quiet } from "../pages/blocks/card-frame.js";
|
|
@@ -12,6 +11,7 @@ import { text } from "./messages.js";
|
|
|
12
11
|
import { ConversationMessage } from "./conversation-message.js";
|
|
13
12
|
import { messagesRequest } from "./conversation-reads.js";
|
|
14
13
|
import { conversationRows, firstUnreadKey } from "./conversation-rows.js";
|
|
14
|
+
import { useMessageSetup } from "./use-message-setup.js";
|
|
15
15
|
import { useNewLine } from "./use-new-line.js";
|
|
16
16
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
17
17
|
//#region src/app/conversation-page/conversation-messages.tsx
|
|
@@ -19,11 +19,10 @@ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
|
19
19
|
* The record's messages, the latest page with earlier ones on request, read with the reader's own access and their
|
|
20
20
|
* senders' names in the same read, kept current as the live updates tell of new, changed and deleted ones. They show
|
|
21
21
|
* once the read position is there too, so they open on the "New messages" line, and reading to the end moves it. They
|
|
22
|
-
* scroll in a box of their own, so the box that sends one stays in view.
|
|
22
|
+
* scroll in a box of their own, so the box that sends one stays in view. Their reactions are read a page at a time.
|
|
23
23
|
*/
|
|
24
|
-
const ConversationMessages = ({ page, model, recordKey: recordKey$1, me, position }) => {
|
|
24
|
+
const ConversationMessages = ({ page, model, recordKey: recordKey$1, me, position, threadTo, searchPeople }) => {
|
|
25
25
|
const { resources, views } = useAdminMeta();
|
|
26
|
-
const { member } = useMembers();
|
|
27
26
|
const senders = [page.sender];
|
|
28
27
|
const list = useList(model.name, {
|
|
29
28
|
...messagesRequest(page, recordKey$1),
|
|
@@ -31,6 +30,13 @@ const ConversationMessages = ({ page, model, recordKey: recordKey$1, me, positio
|
|
|
31
30
|
});
|
|
32
31
|
const oldestFirst = withLabels(resources, model, senders, list.items, list.labels).reverse();
|
|
33
32
|
const key = (row) => String(recordKey(model, row));
|
|
33
|
+
const { setup, reactionsError } = useMessageSetup({
|
|
34
|
+
page,
|
|
35
|
+
me,
|
|
36
|
+
pages: (list.data?.pages ?? []).map((read) => read.items.map(key)),
|
|
37
|
+
threadTo,
|
|
38
|
+
searchPeople
|
|
39
|
+
});
|
|
34
40
|
const state = threadState(list);
|
|
35
41
|
const loaded = state === "messages" && !list.isLoading && position.ready;
|
|
36
42
|
const newLineAbove = useNewLine(loaded && oldestFirst.length > 0 && position.openedAt !== void 0 && me !== void 0, () => firstUnreadKey(oldestFirst, {
|
|
@@ -57,29 +63,39 @@ const ConversationMessages = ({ page, model, recordKey: recordKey$1, me, positio
|
|
|
57
63
|
const newest = oldestFirst.at(-1);
|
|
58
64
|
const own = rows.findLast((line) => line.kind === "message" && me !== void 0 && line.author.id === me);
|
|
59
65
|
const readTo = position.readTo;
|
|
60
|
-
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
67
|
+
showsErrorAbove(list) && /* @__PURE__ */ jsx("div", {
|
|
68
|
+
className: "shrink-0 p-2",
|
|
69
|
+
children: /* @__PURE__ */ jsx(ErrorBanner, {
|
|
70
|
+
title: text("couldNotLoad"),
|
|
71
|
+
error: list.error,
|
|
72
|
+
onRetry: retryOf(list)
|
|
73
|
+
})
|
|
74
|
+
}),
|
|
75
|
+
reactionsError !== void 0 && /* @__PURE__ */ jsx("div", {
|
|
76
|
+
className: "shrink-0 p-2",
|
|
77
|
+
children: /* @__PURE__ */ jsx(ErrorBanner, {
|
|
78
|
+
title: text("couldNotLoadReactions"),
|
|
79
|
+
error: reactionsError
|
|
80
|
+
})
|
|
81
|
+
}),
|
|
82
|
+
/* @__PURE__ */ jsx(ChatThread, {
|
|
83
|
+
length: oldestFirst.length,
|
|
84
|
+
followKey: own?.key,
|
|
85
|
+
empty: page.empty ?? text("noMessages"),
|
|
86
|
+
onLoadEarlier: list.hasNextPage ? () => void list.fetchNextPage() : void 0,
|
|
87
|
+
loadingEarlier: list.isFetchingNextPage,
|
|
88
|
+
onReadToEnd: readTo && newest ? () => readTo(Number(key(newest))) : void 0,
|
|
89
|
+
children: rows.map((line) => line.kind === "day" ? /* @__PURE__ */ jsx(ChatDivider, { label: line.label }, line.key) : line.kind === "new" ? /* @__PURE__ */ jsx(ChatDivider, { tone: "new" }, line.key) : /* @__PURE__ */ jsx(ConversationMessage, {
|
|
90
|
+
setup,
|
|
91
|
+
row: line.row,
|
|
92
|
+
messageKey: line.key,
|
|
93
|
+
author: line.author,
|
|
94
|
+
time: line.time,
|
|
95
|
+
continued: line.continued
|
|
96
|
+
}, line.key))
|
|
66
97
|
})
|
|
67
|
-
})
|
|
68
|
-
length: oldestFirst.length,
|
|
69
|
-
followKey: own?.key,
|
|
70
|
-
empty: page.empty ?? text("noMessages"),
|
|
71
|
-
onLoadEarlier: list.hasNextPage ? () => void list.fetchNextPage() : void 0,
|
|
72
|
-
loadingEarlier: list.isFetchingNextPage,
|
|
73
|
-
onReadToEnd: readTo && newest ? () => readTo(Number(key(newest))) : void 0,
|
|
74
|
-
children: rows.map((line) => line.kind === "day" ? /* @__PURE__ */ jsx(ChatDivider, { label: line.label }, line.key) : line.kind === "new" ? /* @__PURE__ */ jsx(ChatDivider, { tone: "new" }, line.key) : /* @__PURE__ */ jsx(ConversationMessage, {
|
|
75
|
-
page,
|
|
76
|
-
row: line.row,
|
|
77
|
-
author: line.author,
|
|
78
|
-
time: line.time,
|
|
79
|
-
continued: line.continued,
|
|
80
|
-
member
|
|
81
|
-
}, line.key))
|
|
82
|
-
})] });
|
|
98
|
+
] });
|
|
83
99
|
};
|
|
84
100
|
//#endregion
|
|
85
101
|
export { ConversationMessages };
|
|
@@ -8,7 +8,8 @@ type Props = {
|
|
|
8
8
|
/**
|
|
9
9
|
* A record page that is the record's conversation (`.record({ conversation })`), filling the content area: its header,
|
|
10
10
|
* its messages and the box that sends one, where `@` lists the organization's members. The page does not scroll; the
|
|
11
|
-
* messages scroll in a box of their own, so the box stays in view.
|
|
11
|
+
* messages scroll in a box of their own, so the box stays in view. With threads, the thread its address names
|
|
12
|
+
* (`?thread=`) opens in a panel beside it. Key it by the record, so another one starts afresh.
|
|
12
13
|
*/
|
|
13
14
|
export declare const ConversationPage: ({ page, scope }: Props) => import("react").JSX.Element;
|
|
14
15
|
//#endregion
|
|
@@ -9,13 +9,16 @@ import { text } from "./messages.js";
|
|
|
9
9
|
import { ConversationHeader } from "./conversation-header.js";
|
|
10
10
|
import { ConversationMessages } from "./conversation-messages.js";
|
|
11
11
|
import { matchingMembers } from "./member-search.js";
|
|
12
|
+
import { ThreadPanel } from "./thread-panel.js";
|
|
12
13
|
import { useReadPosition } from "./use-read-position.js";
|
|
14
|
+
import { useThreadAddress } from "./use-thread-address.js";
|
|
13
15
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
14
16
|
//#region src/app/conversation-page/conversation-page.tsx
|
|
15
17
|
/**
|
|
16
18
|
* A record page that is the record's conversation (`.record({ conversation })`), filling the content area: its header,
|
|
17
19
|
* its messages and the box that sends one, where `@` lists the organization's members. The page does not scroll; the
|
|
18
|
-
* messages scroll in a box of their own, so the box stays in view.
|
|
20
|
+
* messages scroll in a box of their own, so the box stays in view. With threads, the thread its address names
|
|
21
|
+
* (`?thread=`) opens in a panel beside it. Key it by the record, so another one starts afresh.
|
|
19
22
|
*/
|
|
20
23
|
const ConversationPage = ({ page, scope }) => {
|
|
21
24
|
const { resources, views } = useAdminMeta();
|
|
@@ -32,37 +35,55 @@ const ConversationPage = ({ page, scope }) => {
|
|
|
32
35
|
me
|
|
33
36
|
});
|
|
34
37
|
const searchPeople = page.mentions === void 0 ? void 0 : async (query) => matchingMembers(members.data ?? [], query, me);
|
|
38
|
+
const thread = useThreadAddress(scope.model.name, scope.key);
|
|
39
|
+
const threaded = page.thread && {
|
|
40
|
+
...page,
|
|
41
|
+
thread: page.thread
|
|
42
|
+
};
|
|
35
43
|
return /* @__PURE__ */ jsx(FullArea, { children: /* @__PURE__ */ jsxs("div", {
|
|
36
|
-
className: "flex min-h-0 min-w-0
|
|
37
|
-
children: [
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
44
|
+
className: "flex min-h-0 min-w-0",
|
|
45
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
46
|
+
className: "flex min-h-0 min-w-0 flex-1 flex-col",
|
|
47
|
+
children: [
|
|
48
|
+
/* @__PURE__ */ jsx(ConversationHeader, {
|
|
49
|
+
page,
|
|
50
|
+
scope,
|
|
51
|
+
title
|
|
52
|
+
}),
|
|
53
|
+
/* @__PURE__ */ jsx(ConversationMessages, {
|
|
54
|
+
page,
|
|
55
|
+
model,
|
|
56
|
+
recordKey: scope.key,
|
|
57
|
+
me,
|
|
58
|
+
position,
|
|
59
|
+
threadTo: threaded && thread.to,
|
|
60
|
+
searchPeople
|
|
61
|
+
}),
|
|
62
|
+
position.error !== void 0 && /* @__PURE__ */ jsx("p", {
|
|
63
|
+
className: "shrink-0 px-4 text-sm text-danger-text",
|
|
64
|
+
children: text("positionNotSaved")
|
|
65
|
+
}),
|
|
66
|
+
/* @__PURE__ */ jsx("div", {
|
|
67
|
+
className: "shrink-0 px-3 pb-3",
|
|
68
|
+
children: /* @__PURE__ */ jsx(MessageComposer, {
|
|
69
|
+
resource: page.resource,
|
|
70
|
+
field: page.text,
|
|
71
|
+
values: { [page.field]: keyValue(scope.model, scope.key) },
|
|
72
|
+
placeholder: page.placeholder,
|
|
73
|
+
searchPeople,
|
|
74
|
+
mentions: page.mentions
|
|
75
|
+
})
|
|
63
76
|
})
|
|
64
|
-
|
|
65
|
-
|
|
77
|
+
]
|
|
78
|
+
}), threaded && thread.open !== void 0 && /* @__PURE__ */ jsx(ThreadPanel, {
|
|
79
|
+
page: threaded,
|
|
80
|
+
owner: scope.model,
|
|
81
|
+
recordKey: scope.key,
|
|
82
|
+
first: thread.open,
|
|
83
|
+
me,
|
|
84
|
+
searchPeople,
|
|
85
|
+
onClose: thread.close
|
|
86
|
+
}, thread.open)]
|
|
66
87
|
}) });
|
|
67
88
|
};
|
|
68
89
|
//#endregion
|
|
@@ -1,16 +1,30 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Client } from "@protobase/client";
|
|
2
|
+
import { ConversationPageModel, ReactionsModel, ReadPositionModel } from "@protobase/schema";
|
|
2
3
|
//#region src/app/conversation-page/conversation-reads.d.ts
|
|
3
4
|
/** How many messages a page of the conversation brings: the latest on opening, and each "Load earlier". */
|
|
4
5
|
export declare const conversationPageSize = 50;
|
|
6
|
+
/** How many reactions one read of a page of messages brings; a page with more reads on until it has them all. */
|
|
7
|
+
export declare const reactionsPageSize = 500;
|
|
5
8
|
/**
|
|
6
9
|
* The read of a conversation's messages through the list API, with the reader's own access, so a message they may not
|
|
7
|
-
* read never shows: those whose relation holds the record's key, newest first, a page at a time.
|
|
10
|
+
* read never shows: those whose relation holds the record's key, newest first, a page at a time. With threads, only
|
|
11
|
+
* the messages of the conversation itself, not the replies in a thread.
|
|
8
12
|
*/
|
|
9
|
-
export declare const messagesRequest: (page: Pick<ConversationPageModel, "field" | "time">, recordKey: string) => {
|
|
13
|
+
export declare const messagesRequest: (page: Pick<ConversationPageModel, "field" | "time" | "thread">, recordKey: string) => {
|
|
10
14
|
filter: string;
|
|
11
15
|
orderBy: string;
|
|
12
16
|
pageSize: number;
|
|
13
17
|
};
|
|
18
|
+
/** The read of the replies in the thread of the message keyed `first`, newest first, a page at a time. */
|
|
19
|
+
export declare const repliesRequest: (page: Pick<ConversationPageModel, "time">, thread: NonNullable<ConversationPageModel["thread"]>, first: string) => {
|
|
20
|
+
filter: string;
|
|
21
|
+
orderBy: string;
|
|
22
|
+
pageSize: number;
|
|
23
|
+
};
|
|
24
|
+
/** The filter of the reactions to the messages keyed `messages`. */
|
|
25
|
+
export declare const reactionsFilter: (reactions: Pick<ReactionsModel, "field">, messages: readonly string[]) => string;
|
|
26
|
+
/** Every reaction to the messages keyed `messages`, in one read, or one per `reactionsPageSize` of them. */
|
|
27
|
+
export declare const readReactions: (client: Pick<Client, "list">, reactions: Pick<ReactionsModel, "resource" | "field">, messages: readonly string[]) => Promise<Record<string, unknown>[]>;
|
|
14
28
|
/**
|
|
15
29
|
* The read of the reader's own read position in a record, through the list API: the one whose relation holds the
|
|
16
30
|
* record's key and whose author, `author`, is `me`, even where the resource lets them read other people's.
|