@protobase/ui 0.121.11 → 0.121.12
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/app/app.js +3 -2
- package/dist/app/change-confirm/messages.d.ts +2 -2
- package/dist/app/charts/messages.d.ts +2 -2
- package/dist/app/confirm-sign-in-messages.d.ts +2 -2
- package/dist/app/conversation/message-composer.d.ts +5 -1
- package/dist/app/conversation/message-composer.js +10 -3
- package/dist/app/conversation-page/conversation-header.js +1 -1
- package/dist/app/conversation-page/conversation-message.js +1 -1
- package/dist/app/conversation-page/conversation-messages.js +1 -1
- package/dist/app/conversation-page/conversation-page.d.ts +5 -4
- package/dist/app/conversation-page/conversation-page.js +22 -6
- package/dist/app/conversation-page/message-editor.js +1 -1
- package/dist/app/conversation-page/message-ops.d.ts +3 -1
- package/dist/app/conversation-page/message-ops.js +7 -1
- package/dist/app/conversation-page/messages.d.ts +2 -2
- package/dist/app/conversation-page/reply-labels.js +1 -1
- package/dist/app/conversation-page/thread-panel.js +1 -1
- package/dist/app/conversation-page/use-message-writes.js +1 -1
- package/dist/app/create/messages.d.ts +2 -2
- package/dist/app/custom-section.d.ts +1 -1
- package/dist/app/delete/messages.d.ts +2 -2
- package/dist/app/displays/list-cards.d.ts +1 -1
- package/dist/app/displays/messages.d.ts +2 -2
- package/dist/app/export/messages.d.ts +2 -2
- package/dist/app/field-types/widget-part.d.ts +1 -1
- package/dist/app/field-types/workflow/definition.d.ts +1 -1
- package/dist/app/field-types/workflow/messages.d.ts +2 -2
- package/dist/app/field-types/workflow-page/messages.d.ts +2 -2
- package/dist/app/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/history/messages.d.ts +2 -2
- package/dist/app/import/messages.d.ts +2 -2
- package/dist/app/list-messages.d.ts +2 -2
- package/dist/app/messages.d.ts +2 -2
- package/dist/app/meta-gate-messages.d.ts +2 -2
- package/dist/app/new-version/messages.d.ts +2 -2
- package/dist/app/pages/custom-boundary.d.ts +1 -1
- package/dist/app/pages/custom-chosen.d.ts +1 -1
- package/dist/app/pages/messages.d.ts +2 -2
- package/dist/app/record-messages.d.ts +2 -2
- package/dist/app/record-row/messages.d.ts +2 -2
- package/dist/app/related-cards/messages.d.ts +2 -2
- package/dist/app/saved/messages.d.ts +2 -2
- package/dist/app/saved/saved-list.d.ts +1 -1
- package/dist/app/saved/use-favorite.d.ts +1 -1
- package/dist/app/searches/messages.d.ts +2 -2
- package/dist/app/searches/use-save-search.d.ts +1 -1
- package/dist/app/use-nav-recent.d.ts +2 -2
- package/dist/app/use-nav-recent.js +5 -4
- package/dist/app-shell/messages.d.ts +2 -2
- package/dist/app-shell/nav.d.ts +5 -3
- package/dist/app-shell/record-marks.d.ts +1 -1
- package/dist/app-shell/record-marks.js +5 -3
- package/dist/app-shell/sidebar-records.d.ts +1 -1
- package/dist/app-shell/sidebar-records.js +6 -1
- package/dist/assistant-dock/messages.d.ts +2 -2
- package/dist/auth/messages.d.ts +2 -2
- package/dist/calls/messages.d.ts +2 -2
- package/dist/chat/composer.d.ts +3 -1
- package/dist/chat/composer.js +6 -2
- package/dist/chat/messages.d.ts +2 -2
- package/dist/compact-table/messages.d.ts +2 -2
- package/dist/data/api-provider.d.ts +33 -0
- package/dist/data/meta-data.d.ts +4 -0
- package/dist/data/use-live-updates.d.ts +5 -2
- package/dist/data/use-live-updates.js +25 -3
- package/dist/data/use-meta.js +1 -0
- package/dist/data-grid/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 +5 -1
- package/dist/invitations/messages.d.ts +2 -2
- package/dist/locale/en.js +7 -2
- package/dist/locale/en.json.d.ts +5 -0
- package/dist/locale/messages.d.ts +10 -0
- package/dist/locale/nl.js +7 -2
- package/dist/locale/texts-gate.d.ts +1 -1
- package/dist/notifications/bell/messages.d.ts +2 -2
- package/dist/organizations/messages.d.ts +2 -2
- package/dist/package.js +1 -1
- package/dist/plugins/before-sign-in.d.ts +1 -1
- package/dist/plugins/plugin-api.exports.js +5 -1
- package/dist/primitives/messages.d.ts +2 -2
- package/dist/record-view/messages.d.ts +2 -2
- package/dist/relay/count-unread.d.ts +12 -0
- package/dist/relay/count-unread.js +34 -0
- package/dist/relay/relay-context.d.ts +17 -0
- package/dist/relay/relay-context.js +23 -0
- package/dist/relay/relay-provider.d.ts +11 -0
- package/dist/relay/relay-provider.js +58 -0
- package/dist/relay/relay-store.d.ts +31 -0
- package/dist/relay/relay-store.js +77 -0
- package/dist/relay/typing-line.d.ts +11 -0
- package/dist/relay/typing-line.js +30 -0
- package/dist/relay/typing.d.ts +37 -0
- package/dist/relay/typing.js +78 -0
- package/dist/relay/unread.d.ts +30 -0
- package/dist/relay/unread.js +35 -0
- package/dist/relay/use-relay-marks.d.ts +11 -0
- package/dist/relay/use-relay-marks.js +53 -0
- package/dist/relay/use-typing-sender.d.ts +11 -0
- package/dist/relay/use-typing-sender.js +32 -0
- package/dist/relay/use-unread-counts.d.ts +9 -0
- package/dist/relay/use-unread-counts.js +61 -0
- package/dist/relay/use-view-channel.d.ts +7 -0
- package/dist/relay/use-view-channel.js +21 -0
- package/dist/shell/assets/{account-page-Cz2-SP3Z.js → account-page-BsAc4o17.js} +2 -2
- package/dist/shell/assets/app-Bb88M0VJ.js +36 -0
- package/dist/shell/assets/{assistant-shell-CeW3U4tB.js → assistant-shell-CdVAnpMe.js} +2 -2
- package/dist/shell/assets/board-display-DKT7398I.js +2 -0
- package/dist/shell/assets/calendar-display-0c2dGTmG.js +2 -0
- package/dist/shell/assets/{call-rings-DwSrOHCr.js → call-rings-BV5na0xp.js} +2 -2
- package/dist/shell/assets/{calls-D1l4an28.js → calls-n9IoOXzL.js} +2 -2
- package/dist/shell/assets/{circle-alert-BEHXqTnA.js → circle-alert-kISSXwIV.js} +2 -2
- package/dist/shell/assets/{composed-page-CzszGryH.js → composed-page-hn7I0Ulk.js} +2 -2
- package/dist/shell/assets/{composer-section-v7aZuaJs.js → composer-section-Cb1kOpwt.js} +2 -2
- package/dist/shell/assets/{connect-route-B68buTBD.js → connect-route-l21XyxhS.js} +2 -2
- package/dist/shell/assets/{copy-field-CpG80Fod.js → copy-field-D22CFeg3.js} +2 -2
- package/dist/shell/assets/create-route-CSe9DhbY.js +2 -0
- package/dist/shell/assets/{custom-step-container-field-CooxBIkH.js → custom-step-container-field-C5l4j0FI.js} +4 -4
- package/dist/shell/assets/embedded-list-DjvOszEj.js +3 -0
- package/dist/shell/assets/en-DnsB2haa.js +2 -0
- package/dist/shell/assets/{export-dialog-CYGeeQBj.js → export-dialog-Bh3TSYyL.js} +2 -2
- package/dist/shell/assets/export-worker-DbK8hf_0.js +15 -0
- package/dist/shell/assets/{first-organization-page-B_TzRjNV.js → first-organization-page-BtfoRENE.js} +2 -2
- package/dist/shell/assets/{graph-view-DJGoThHW.js → graph-view-C4fwqz7Q.js} +2 -2
- package/dist/shell/assets/{group-donut-CtKQKKqq.js → group-donut-Bcnc0EaM.js} +2 -2
- package/dist/shell/assets/{guest-call-page-C2N1bb85.js → guest-call-page-D09z7u-V.js} +3 -3
- package/dist/shell/assets/{html-viewer-DHWsvJdf.js → html-viewer-BtwOBvDg.js} +2 -2
- package/dist/shell/assets/{import-dialog-BAmU6oMk.js → import-dialog-Dwx_yEfS.js} +2 -2
- package/dist/shell/assets/{import-table-dialog-C1TyvD2-.js → import-table-dialog-T3V3RoDY.js} +2 -2
- package/dist/shell/assets/{index-fJt7aRZ4.js → index-DvNpfiwE.js} +1 -1
- package/dist/shell/assets/invitations-page-X90SMPsK.js +2 -0
- package/dist/shell/assets/{layout-grid-CPhU6Mm7.js → layout-grid-Bp_eP5eU.js} +2 -2
- package/dist/shell/assets/{legend-item-DYmqDhq7.js → legend-item-CEZ-8FXv.js} +2 -2
- package/dist/shell/assets/list-page-BUtWO_Zd.js +4 -0
- package/dist/shell/assets/{maplibre-DXJkokbV.js → maplibre-Cv3xuTP_.js} +2 -2
- package/dist/shell/assets/{markdown-content-9-JeVEDq.js → markdown-content-jO-R6jpp.js} +2 -2
- package/dist/shell/assets/members-page-BZyldmfB.js +2 -0
- package/dist/shell/assets/{message-content-XnNocBEs.js → message-content-DJEa6jyY.js} +2 -2
- package/dist/shell/assets/messages-BIP4feL2.js +2 -0
- package/dist/shell/assets/nl-Ce2dHlet.js +2 -0
- package/dist/shell/assets/organization-page-CjQ7oJk4.js +2 -0
- package/dist/shell/assets/organizations-page-2cKqhNJh.js +2 -0
- package/dist/shell/assets/parse-worker-MvbeuzYJ.js +35 -0
- package/dist/shell/assets/{pending-invitation-row-C2tovkDY.js → pending-invitation-row-Cef2WdTI.js} +2 -2
- package/dist/shell/assets/{period-chart-DuLmYnEh.js → period-chart-BPq3Knz8.js} +2 -2
- package/dist/shell/assets/{person-row-B4SoiUz7.js → person-row-BLVor9QR.js} +2 -2
- package/dist/shell/assets/public-form-page-CMaHcrdf.js +2 -0
- package/dist/shell/assets/record-lines-jznjVtIQ.js +2 -0
- package/dist/shell/assets/{record-map-CUyHGUuT.js → record-map-9KEjeN_F.js} +2 -2
- package/dist/shell/assets/{record-opens-DtAuS5Iw.js → record-opens-CQLXpqJS.js} +2 -2
- package/dist/shell/assets/record-page-JFlxtSyg.js +3 -0
- package/dist/shell/assets/{record-preview-CF37imVo.js → record-preview-CUs7j-lh.js} +2 -2
- package/dist/shell/assets/{records-map-CLUkYUGA.js → records-map-CLF98-H0.js} +2 -2
- package/dist/shell/assets/render-node-DoB1k2WS.js +3 -0
- package/dist/shell/assets/reorder-button-Cg-WKutS.js +2 -0
- package/dist/shell/assets/{run-trace-view-B02ogfCg.js → run-trace-view-CmujelWd.js} +2 -2
- package/dist/shell/assets/{runner-install-field-B7d2ZTdV.js → runner-install-field-wpoIgnks.js} +2 -2
- package/dist/shell/assets/{runtime-update-LXdNfKZi.js → runtime-update-BaNRaM6l.js} +2 -2
- package/dist/shell/assets/shared-protobase-ui-630Rm7Jd.js +1 -0
- package/dist/shell/assets/sheet-source-7m5PMllh.js +3 -0
- package/dist/shell/assets/sign-in-policy-page-GgyC3l_6.js +2 -0
- package/dist/shell/assets/start-block-queries-B8K1ZsVK.js +2 -0
- package/dist/shell/assets/step-catalog-Dktva0VF.js +2 -0
- package/dist/shell/assets/{step-panel-C6qUOSA3.js → step-panel-CjUWMleA.js} +2 -2
- package/dist/shell/assets/timeline-display-CCPZ8VKv.js +2 -0
- package/dist/shell/assets/{trash-BiidFj0N.js → trash-BfIEK322.js} +2 -2
- package/dist/shell/assets/{update-set-B0qCO072.js → update-set-Drag3hOc.js} +2 -2
- package/dist/shell/assets/use-calendar-move-fM4kqYZF.js +2 -0
- package/dist/shell/assets/{use-display-rows-BpKLVhjZ.js → use-display-rows-CEB1AStC.js} +2 -2
- package/dist/shell/assets/use-my-invitations-DxoZihem.js +2 -0
- package/dist/shell/assets/{use-paged-search-BUf2evnc.js → use-paged-search-tHTP8FRX.js} +2 -2
- package/dist/shell/assets/{use-run-trace-D3CBWHfm.js → use-run-trace-b8SpFDRU.js} +2 -2
- package/dist/shell/assets/{use-workflow-page-DjHS4PFJ.js → use-workflow-page-oeKIRs_g.js} +2 -2
- package/dist/shell/assets/{use-workflow-types-D0XJQUAl.js → use-workflow-types-D1TLbN3E.js} +2 -2
- package/dist/shell/assets/{workflow-canvas-D1yNhbc_.js → workflow-canvas-CJQ0Ll0M.js} +4 -4
- package/dist/shell/assets/{workflow-field-BJb4Ns2G.js → workflow-field-CpGs8ZXh.js} +3 -3
- package/dist/shell/assets/{workflow-graph-editor-DzpB5Wg4.js → workflow-graph-editor-CLlL2jNQ.js} +2 -2
- package/dist/shell/assets/{workflow-run-field-BrkKGYZ3.js → workflow-run-field-R43RqM3Z.js} +3 -3
- package/dist/shell/assets/workflow-status-field-BaytFzWg.js +2 -0
- package/dist/shell/assets/workflow-workbench-DYClQZZ1.js +4 -0
- package/dist/shell/index.html +3 -3
- package/dist/shell/protobase.shell.json +2 -2
- package/dist/shell/protobase.sw.js +2 -2
- package/dist/shell-source-maps/assets/{account-page-Cz2-SP3Z.js.map → account-page-BsAc4o17.js.map} +1 -1
- package/dist/shell-source-maps/assets/app-Bb88M0VJ.js.map +1 -0
- package/dist/shell-source-maps/assets/{assistant-shell-CeW3U4tB.js.map → assistant-shell-CdVAnpMe.js.map} +1 -1
- package/dist/shell-source-maps/assets/{board-display-tgOCC0v0.js.map → board-display-DKT7398I.js.map} +1 -1
- package/dist/shell-source-maps/assets/{calendar-display-DRWz8QYh.js.map → calendar-display-0c2dGTmG.js.map} +1 -1
- package/dist/shell-source-maps/assets/{call-rings-DwSrOHCr.js.map → call-rings-BV5na0xp.js.map} +1 -1
- package/dist/shell-source-maps/assets/{calls-D1l4an28.js.map → calls-n9IoOXzL.js.map} +1 -1
- package/dist/shell-source-maps/assets/{circle-alert-BEHXqTnA.js.map → circle-alert-kISSXwIV.js.map} +1 -1
- package/dist/shell-source-maps/assets/{composed-page-CzszGryH.js.map → composed-page-hn7I0Ulk.js.map} +1 -1
- package/dist/shell-source-maps/assets/{composer-section-v7aZuaJs.js.map → composer-section-Cb1kOpwt.js.map} +1 -1
- package/dist/shell-source-maps/assets/{connect-route-B68buTBD.js.map → connect-route-l21XyxhS.js.map} +1 -1
- package/dist/shell-source-maps/assets/{copy-field-CpG80Fod.js.map → copy-field-D22CFeg3.js.map} +1 -1
- package/dist/shell-source-maps/assets/{create-route-BMWFJF8g.js.map → create-route-CSe9DhbY.js.map} +1 -1
- package/dist/shell-source-maps/assets/{custom-step-container-field-CooxBIkH.js.map → custom-step-container-field-C5l4j0FI.js.map} +1 -1
- package/dist/shell-source-maps/assets/{embedded-list-nfw7Gvsq.js.map → embedded-list-DjvOszEj.js.map} +1 -1
- package/dist/shell-source-maps/assets/en-DnsB2haa.js.map +1 -0
- package/dist/shell-source-maps/assets/{export-dialog-CYGeeQBj.js.map → export-dialog-Bh3TSYyL.js.map} +1 -1
- package/dist/shell-source-maps/assets/export-worker-DbK8hf_0.js.map +1 -0
- package/dist/shell-source-maps/assets/{first-organization-page-B_TzRjNV.js.map → first-organization-page-BtfoRENE.js.map} +1 -1
- package/dist/shell-source-maps/assets/{graph-view-DJGoThHW.js.map → graph-view-C4fwqz7Q.js.map} +1 -1
- package/dist/shell-source-maps/assets/{group-donut-CtKQKKqq.js.map → group-donut-Bcnc0EaM.js.map} +1 -1
- package/dist/shell-source-maps/assets/{guest-call-page-C2N1bb85.js.map → guest-call-page-D09z7u-V.js.map} +1 -1
- package/dist/shell-source-maps/assets/{html-viewer-DHWsvJdf.js.map → html-viewer-BtwOBvDg.js.map} +1 -1
- package/dist/shell-source-maps/assets/{import-dialog-BAmU6oMk.js.map → import-dialog-Dwx_yEfS.js.map} +1 -1
- package/dist/shell-source-maps/assets/{import-table-dialog-C1TyvD2-.js.map → import-table-dialog-T3V3RoDY.js.map} +1 -1
- package/dist/shell-source-maps/assets/{invitations-page-D_Z4B5Uu.js.map → invitations-page-X90SMPsK.js.map} +1 -1
- package/dist/shell-source-maps/assets/{layout-grid-CPhU6Mm7.js.map → layout-grid-Bp_eP5eU.js.map} +1 -1
- package/dist/shell-source-maps/assets/{legend-item-DYmqDhq7.js.map → legend-item-CEZ-8FXv.js.map} +1 -1
- package/dist/shell-source-maps/assets/{list-page-Cl4AAwTy.js.map → list-page-BUtWO_Zd.js.map} +1 -1
- package/dist/shell-source-maps/assets/{maplibre-DXJkokbV.js.map → maplibre-Cv3xuTP_.js.map} +1 -1
- package/dist/shell-source-maps/assets/{markdown-content-9-JeVEDq.js.map → markdown-content-jO-R6jpp.js.map} +1 -1
- package/dist/shell-source-maps/assets/{members-page-BIYD2hUu.js.map → members-page-BZyldmfB.js.map} +1 -1
- package/dist/shell-source-maps/assets/{message-content-XnNocBEs.js.map → message-content-DJEa6jyY.js.map} +1 -1
- package/dist/shell-source-maps/assets/{messages-DhhNH_o2.js.map → messages-BIP4feL2.js.map} +1 -1
- package/dist/shell-source-maps/assets/nl-Ce2dHlet.js.map +1 -0
- package/dist/shell-source-maps/assets/{organization-page-C7rfPxxc.js.map → organization-page-CjQ7oJk4.js.map} +1 -1
- package/dist/shell-source-maps/assets/{organizations-page-B5wqljdT.js.map → organizations-page-2cKqhNJh.js.map} +1 -1
- package/dist/shell-source-maps/assets/parse-worker-MvbeuzYJ.js.map +1 -0
- package/dist/shell-source-maps/assets/{pending-invitation-row-C2tovkDY.js.map → pending-invitation-row-Cef2WdTI.js.map} +1 -1
- package/dist/shell-source-maps/assets/{period-chart-DuLmYnEh.js.map → period-chart-BPq3Knz8.js.map} +1 -1
- package/dist/shell-source-maps/assets/{person-row-B4SoiUz7.js.map → person-row-BLVor9QR.js.map} +1 -1
- package/dist/shell-source-maps/assets/{public-form-page-BRHFIOvT.js.map → public-form-page-CMaHcrdf.js.map} +1 -1
- package/dist/shell-source-maps/assets/{record-lines-Bt1Un_65.js.map → record-lines-jznjVtIQ.js.map} +1 -1
- package/dist/shell-source-maps/assets/{record-map-CUyHGUuT.js.map → record-map-9KEjeN_F.js.map} +1 -1
- package/dist/shell-source-maps/assets/{record-opens-DtAuS5Iw.js.map → record-opens-CQLXpqJS.js.map} +1 -1
- package/dist/shell-source-maps/assets/record-page-JFlxtSyg.js.map +1 -0
- package/dist/shell-source-maps/assets/{record-preview-CF37imVo.js.map → record-preview-CUs7j-lh.js.map} +1 -1
- package/dist/shell-source-maps/assets/{records-map-CLUkYUGA.js.map → records-map-CLF98-H0.js.map} +1 -1
- package/dist/shell-source-maps/assets/render-node-DoB1k2WS.js.map +1 -0
- package/dist/shell-source-maps/assets/{reorder-button-BozBSEHe.js.map → reorder-button-Cg-WKutS.js.map} +1 -1
- package/dist/shell-source-maps/assets/{run-trace-view-B02ogfCg.js.map → run-trace-view-CmujelWd.js.map} +1 -1
- package/dist/shell-source-maps/assets/{runner-install-field-B7d2ZTdV.js.map → runner-install-field-wpoIgnks.js.map} +1 -1
- package/dist/shell-source-maps/assets/{runtime-update-LXdNfKZi.js.map → runtime-update-BaNRaM6l.js.map} +1 -1
- package/dist/shell-source-maps/assets/{sheet-source-G8rOez-U.js.map → sheet-source-7m5PMllh.js.map} +1 -1
- package/dist/shell-source-maps/assets/{sign-in-policy-page-DOTM6MOA.js.map → sign-in-policy-page-GgyC3l_6.js.map} +1 -1
- package/dist/shell-source-maps/assets/{start-block-queries-Dfg8kMRu.js.map → start-block-queries-B8K1ZsVK.js.map} +1 -1
- package/dist/shell-source-maps/assets/{step-catalog-CoBzB5jS.js.map → step-catalog-Dktva0VF.js.map} +1 -1
- package/dist/shell-source-maps/assets/{step-panel-C6qUOSA3.js.map → step-panel-CjUWMleA.js.map} +1 -1
- package/dist/shell-source-maps/assets/{timeline-display-5BAMjA9V.js.map → timeline-display-CCPZ8VKv.js.map} +1 -1
- package/dist/shell-source-maps/assets/{trash-BiidFj0N.js.map → trash-BfIEK322.js.map} +1 -1
- package/dist/shell-source-maps/assets/{update-set-B0qCO072.js.map → update-set-Drag3hOc.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-calendar-move-BGAc9T_n.js.map → use-calendar-move-fM4kqYZF.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-display-rows-BpKLVhjZ.js.map → use-display-rows-CEB1AStC.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-my-invitations-BQKKClDc.js.map → use-my-invitations-DxoZihem.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-paged-search-BUf2evnc.js.map → use-paged-search-tHTP8FRX.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-run-trace-D3CBWHfm.js.map → use-run-trace-b8SpFDRU.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-workflow-page-DjHS4PFJ.js.map → use-workflow-page-oeKIRs_g.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-workflow-types-D0XJQUAl.js.map → use-workflow-types-D1TLbN3E.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-canvas-D1yNhbc_.js.map → workflow-canvas-CJQ0Ll0M.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-field-BJb4Ns2G.js.map → workflow-field-CpGs8ZXh.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-graph-editor-DzpB5Wg4.js.map → workflow-graph-editor-CLlL2jNQ.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-run-field-BrkKGYZ3.js.map → workflow-run-field-R43RqM3Z.js.map} +1 -1
- package/dist/shell-source-maps/assets/workflow-status-field-BaytFzWg.js.map +1 -0
- package/dist/shell-source-maps/assets/{workflow-workbench-C-DxYJbt.js.map → workflow-workbench-DYClQZZ1.js.map} +1 -1
- package/dist/status/messages.d.ts +2 -2
- package/dist/users/messages.d.ts +2 -2
- package/package.json +5 -5
- package/dist/shell/assets/app-B3ocPAqs.js +0 -34
- package/dist/shell/assets/board-display-tgOCC0v0.js +0 -2
- package/dist/shell/assets/calendar-display-DRWz8QYh.js +0 -2
- package/dist/shell/assets/create-route-BMWFJF8g.js +0 -2
- package/dist/shell/assets/embedded-list-nfw7Gvsq.js +0 -3
- package/dist/shell/assets/en-0TxR0Vfb.js +0 -2
- package/dist/shell/assets/export-worker-AFqbgGzG.js +0 -15
- package/dist/shell/assets/invitations-page-D_Z4B5Uu.js +0 -2
- package/dist/shell/assets/list-page-Cl4AAwTy.js +0 -4
- package/dist/shell/assets/members-page-BIYD2hUu.js +0 -2
- package/dist/shell/assets/messages-DhhNH_o2.js +0 -2
- package/dist/shell/assets/nl-mDiTKi5y.js +0 -2
- package/dist/shell/assets/organization-page-C7rfPxxc.js +0 -2
- package/dist/shell/assets/organizations-page-B5wqljdT.js +0 -2
- package/dist/shell/assets/parse-worker-C5wWzRYH.js +0 -35
- package/dist/shell/assets/public-form-page-BRHFIOvT.js +0 -2
- package/dist/shell/assets/record-lines-Bt1Un_65.js +0 -2
- package/dist/shell/assets/record-page-DfvcIO5T.js +0 -3
- package/dist/shell/assets/render-node-CK68QvoX.js +0 -3
- package/dist/shell/assets/reorder-button-BozBSEHe.js +0 -2
- package/dist/shell/assets/shared-protobase-ui-B7gMFgle.js +0 -1
- package/dist/shell/assets/sheet-source-G8rOez-U.js +0 -3
- package/dist/shell/assets/sign-in-policy-page-DOTM6MOA.js +0 -2
- package/dist/shell/assets/start-block-queries-Dfg8kMRu.js +0 -2
- package/dist/shell/assets/step-catalog-CoBzB5jS.js +0 -2
- package/dist/shell/assets/timeline-display-5BAMjA9V.js +0 -2
- package/dist/shell/assets/use-calendar-move-BGAc9T_n.js +0 -2
- package/dist/shell/assets/use-my-invitations-BQKKClDc.js +0 -2
- package/dist/shell/assets/workflow-status-field-dbB3IT68.js +0 -2
- package/dist/shell/assets/workflow-workbench-C-DxYJbt.js +0 -4
- package/dist/shell-source-maps/assets/app-B3ocPAqs.js.map +0 -1
- package/dist/shell-source-maps/assets/en-0TxR0Vfb.js.map +0 -1
- package/dist/shell-source-maps/assets/export-worker-AFqbgGzG.js.map +0 -1
- package/dist/shell-source-maps/assets/nl-mDiTKi5y.js.map +0 -1
- package/dist/shell-source-maps/assets/parse-worker-C5wWzRYH.js.map +0 -1
- package/dist/shell-source-maps/assets/record-page-DfvcIO5T.js.map +0 -1
- package/dist/shell-source-maps/assets/render-node-CK68QvoX.js.map +0 -1
- package/dist/shell-source-maps/assets/workflow-status-field-dbB3IT68.js.map +0 -1
|
@@ -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" | "edit" | "name" | "cancel" | "as" | "account" | "mailbox" | "ended" | "noDevices" | "remove" | "revoke" | "copied" | "continue" | "connected" | "signOut" | "loading" | "connections" | "default" | "save" | "reset" | "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" | "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" | "stopped" | "signedInUntil" | "devices" | "devicesDescription" | "couldNotReadDevices" | "thisDevice" | "browserOn" | "aBrowserOn" | "unknownDevice" | "staffOf" | "signedInFromUntil" | "signOutDevice" | "signOutDeviceDescription" | "signOutLinkedDeviceDescription" | "deviceThrough" | "linkedOn" | "signOutOthers" | "signOutOthersTitle" | "signOutOthersDescription" | "staffSignIns" | "staffSignInsDescription" | "noStaffSignIns" | "qrCode" | "twoFactorAllowed" | "twoFactorRequired" | "twoFactorForbidden" | "twoFactorOnWithApp" | "twoFactorOnWithAppOrMail" | "twoFactorOnWithMail" | "turnOn" | "turnOff" | "addAuthenticator" | "newBackupCodes" | "twoFactorIsRequired" | "turnOffTitle" | "turnOffDescription" | "newCodesTitle" | "newCodesDescription" | "makeNewCodes" | "yourNewCodes" | "keepCodesSafe" | "savedCodes" | "authenticatorApp" | "authenticatorAppDescription" | "emailedCode" | "emailedCodeDescription" | "twoFactorIsOn" | "scanCode" | "cannotScan" | "codeFromApp" | "secondStep" | "passwordDescription" | "emailedSignInCode" | "emailedSignInCodeDescription" | "passkeysPolicyDescription" | "twoFactorPolicyDescription" | "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" | "edit" | "name" | "cancel" | "as" | "account" | "mailbox" | "ended" | "noDevices" | "remove" | "revoke" | "copied" | "continue" | "connected" | "signOut" | "loading" | "connections" | "default" | "save" | "reset" | "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" | "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" | "stopped" | "signedInUntil" | "devices" | "devicesDescription" | "couldNotReadDevices" | "thisDevice" | "browserOn" | "aBrowserOn" | "unknownDevice" | "staffOf" | "signedInFromUntil" | "signOutDevice" | "signOutDeviceDescription" | "signOutLinkedDeviceDescription" | "deviceThrough" | "linkedOn" | "signOutOthers" | "signOutOthersTitle" | "signOutOthersDescription" | "staffSignIns" | "staffSignInsDescription" | "noStaffSignIns" | "qrCode" | "twoFactorAllowed" | "twoFactorRequired" | "twoFactorForbidden" | "twoFactorOnWithApp" | "twoFactorOnWithAppOrMail" | "twoFactorOnWithMail" | "turnOn" | "turnOff" | "addAuthenticator" | "newBackupCodes" | "twoFactorIsRequired" | "turnOffTitle" | "turnOffDescription" | "newCodesTitle" | "newCodesDescription" | "makeNewCodes" | "yourNewCodes" | "keepCodesSafe" | "savedCodes" | "authenticatorApp" | "authenticatorAppDescription" | "emailedCode" | "emailedCodeDescription" | "twoFactorIsOn" | "scanCode" | "cannotScan" | "codeFromApp" | "secondStep" | "passwordDescription" | "emailedSignInCode" | "emailedSignInCodeDescription" | "passkeysPolicyDescription" | "twoFactorPolicyDescription" | "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
|
package/dist/app/app.js
CHANGED
|
@@ -47,6 +47,7 @@ import { breadcrumbFor } from "./breadcrumb-for.js";
|
|
|
47
47
|
import { usePresence } from "../presence/presence.js";
|
|
48
48
|
import { ProjectUiContext, useProjectUi } from "./pages/project-ui.js";
|
|
49
49
|
import { PresenceProvider } from "../presence/presence-provider.js";
|
|
50
|
+
import { RelayProvider } from "../relay/relay-provider.js";
|
|
50
51
|
import { useOrganizationText } from "../organizations/organization-word.js";
|
|
51
52
|
import { reopenIn, useOrganizations } from "../organizations/use-organizations.js";
|
|
52
53
|
import { actingUser } from "../roles/acting-user.js";
|
|
@@ -441,12 +442,12 @@ const Authenticated = ({ baseUrl, client, sources, workspace, sidebarMode, ui, a
|
|
|
441
442
|
/* @__PURE__ */ jsx(LiveUpdateCheck, {}),
|
|
442
443
|
path === connectRoute ? /* @__PURE__ */ jsx(ConnectRoute, {}) : /* @__PURE__ */ jsx(PluginGate, {
|
|
443
444
|
ui,
|
|
444
|
-
children: /* @__PURE__ */ jsx(PresenceProvider, { children: /* @__PURE__ */ jsx(RecordTitles, { children: /* @__PURE__ */ jsx(Routes, {
|
|
445
|
+
children: /* @__PURE__ */ jsx(PresenceProvider, { children: /* @__PURE__ */ jsx(RelayProvider, { children: /* @__PURE__ */ jsx(RecordTitles, { children: /* @__PURE__ */ jsx(Routes, {
|
|
445
446
|
workspace,
|
|
446
447
|
sidebarMode,
|
|
447
448
|
assistant,
|
|
448
449
|
runtime
|
|
449
|
-
}) }) })
|
|
450
|
+
}) }) }) })
|
|
450
451
|
})
|
|
451
452
|
] }) })
|
|
452
453
|
}, owner);
|
|
@@ -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" | "change" | "cancel", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "title" | "change" | "cancel", 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: "couldNotLoad" | "count" | "today" | "sum" | "records" | "maximum" | "yes" | "no" | "notSet" | "nothingYet" | "other" | "toToday" | "period" | "average" | "chartKeys", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "couldNotLoad" | "count" | "today" | "sum" | "records" | "maximum" | "yes" | "no" | "notSet" | "nothingYet" | "other" | "toToday" | "period" | "average" | "chartKeys", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/app/confirm-sign-in-messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "password" | "emailCode" | "codeSent" | "confirm" | "
|
|
5
|
-
rich(id: "password" | "emailCode" | "codeSent" | "confirm" | "
|
|
4
|
+
(id: "password" | "emailCode" | "codeSent" | "confirm" | "emailedCode" | "confirmTitle" | "confirmWhy" | "confirmWhyChange" | "usePasskey" | "authenticatorCode" | "emailNewCode" | "nothingToConfirmWith", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "password" | "emailCode" | "codeSent" | "confirm" | "emailedCode" | "confirmTitle" | "confirmWhy" | "confirmWhyChange" | "usePasskey" | "authenticatorCode" | "emailNewCode" | "nothingToConfirmWith", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -15,6 +15,10 @@ export type MessageComposerProps = {
|
|
|
15
15
|
mentions?: string;
|
|
16
16
|
/** The files a message carries, picked, pasted or dropped in the box and uploaded at once. */
|
|
17
17
|
attachments?: AttachmentsModel;
|
|
18
|
+
/** Gets the box's text each time the person changes it, such as to tell others they type. */
|
|
19
|
+
onDraft?: (text: string) => void;
|
|
20
|
+
/** Gets the key of each message sent, once the server took it. */
|
|
21
|
+
onSent?: (key: string) => void;
|
|
18
22
|
};
|
|
19
23
|
/**
|
|
20
24
|
* A box that sends a message: each send creates a record of `resource` with the text in `field`, the ids of the people
|
|
@@ -22,5 +26,5 @@ export type MessageComposerProps = {
|
|
|
22
26
|
* picks files, and pasted and dropped ones join them: each uploads at once and shows above the box, the message waits
|
|
23
27
|
* for their uploads and is written with them in one batch, and once one is uploaded it may go without text.
|
|
24
28
|
*/
|
|
25
|
-
export declare const MessageComposer: ({ resource, field, values, placeholder, searchPeople, mentions, attachments }: MessageComposerProps) => import("react").JSX.Element | null;
|
|
29
|
+
export declare const MessageComposer: ({ resource, field, values, placeholder, searchPeople, mentions, attachments, onDraft, onSent }: MessageComposerProps) => import("react").JSX.Element | null;
|
|
26
30
|
//#endregion
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { useClient } from "../../data/api-provider.js";
|
|
2
2
|
import { useAdminMeta, usePermissions } from "../meta-gate.js";
|
|
3
3
|
import { can } from "../permissions.js";
|
|
4
|
+
import { recordKey } from "../../live/model-helpers.js";
|
|
4
5
|
import { acceptOf } from "../../live/file-values.js";
|
|
5
6
|
import { ErrorBanner } from "../error-banner.js";
|
|
6
7
|
import { useRefreshResource } from "../pages/use-layout-data.js";
|
|
7
8
|
import { Composer } from "../../chat/composer.js";
|
|
8
9
|
import { AttachmentPicker } from "../conversation-page/attachment-picker.js";
|
|
9
|
-
import { sendOps } from "../conversation-page/message-ops.js";
|
|
10
|
+
import { sendOps, sentMessage } from "../conversation-page/message-ops.js";
|
|
10
11
|
import { PendingAttachments } from "../conversation-page/pending-attachments.js";
|
|
11
12
|
import { useAttachmentUploads } from "../conversation-page/use-attachment-uploads.js";
|
|
12
13
|
import { text } from "./messages.js";
|
|
@@ -19,7 +20,7 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
19
20
|
* picks files, and pasted and dropped ones join them: each uploads at once and shows above the box, the message waits
|
|
20
21
|
* for their uploads and is written with them in one batch, and once one is uploaded it may go without text.
|
|
21
22
|
*/
|
|
22
|
-
const MessageComposer = ({ resource, field, values, placeholder, searchPeople, mentions, attachments }) => {
|
|
23
|
+
const MessageComposer = ({ resource, field, values, placeholder, searchPeople, mentions, attachments, onDraft, onSent }) => {
|
|
23
24
|
const { resources } = useAdminMeta();
|
|
24
25
|
const client = useClient();
|
|
25
26
|
const refresh = useRefreshResource();
|
|
@@ -39,7 +40,12 @@ const MessageComposer = ({ resource, field, values, placeholder, searchPeople, m
|
|
|
39
40
|
...message !== "" && { [field]: message },
|
|
40
41
|
...mentions !== void 0 && { [mentions]: mentioned }
|
|
41
42
|
};
|
|
42
|
-
const
|
|
43
|
+
const write = attachments && tickets.length > 0 ? client.batchWrite(sendOps(resource, data, attachments, tickets)).then(sentMessage) : client.create(resource, data).then((created) => created.record);
|
|
44
|
+
const model = resources[resource];
|
|
45
|
+
const sent = await write.then((record) => {
|
|
46
|
+
onSent?.(String(recordKey(model, record)));
|
|
47
|
+
return true;
|
|
48
|
+
}, (error) => {
|
|
43
49
|
setFailure(error);
|
|
44
50
|
return false;
|
|
45
51
|
});
|
|
@@ -60,6 +66,7 @@ const MessageComposer = ({ resource, field, values, placeholder, searchPeople, m
|
|
|
60
66
|
busy: sending || files.uploading,
|
|
61
67
|
placeholder,
|
|
62
68
|
searchPeople,
|
|
69
|
+
onDraft,
|
|
63
70
|
...attachments && {
|
|
64
71
|
actions: /* @__PURE__ */ jsx(AttachmentPicker, {
|
|
65
72
|
onPick: files.pick,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { cn } from "../../lib/cn.js";
|
|
2
2
|
import { buttonClass } from "../../primitives/button.js";
|
|
3
3
|
import { AppLink } from "../use-app-address.js";
|
|
4
|
-
import { CallMark } from "../../calls/call-mark.js";
|
|
5
4
|
import { text } from "./messages.js";
|
|
5
|
+
import { CallMark } from "../../calls/call-mark.js";
|
|
6
6
|
import { MembersTitle } from "./members-title.js";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
//#region src/app/conversation-page/conversation-header.tsx
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { cn } from "../../lib/cn.js";
|
|
2
2
|
import { buttonClass } from "../../primitives/button.js";
|
|
3
3
|
import { formatDateTime } from "../../format/date.js";
|
|
4
|
+
import { text } from "./messages.js";
|
|
4
5
|
import { ChatMessage } from "../../chat/chat-message.js";
|
|
5
6
|
import { MentionedText } from "../../mentions/mentioned-text.js";
|
|
6
|
-
import { text } from "./messages.js";
|
|
7
7
|
import { DeleteMessageDialog } from "./delete-message-dialog.js";
|
|
8
8
|
import { MessageActionsBar } from "./message-actions-bar.js";
|
|
9
9
|
import { MessageActionsSheet } from "./message-actions-sheet.js";
|
|
@@ -4,9 +4,9 @@ import { useList } from "../../data/use-list.js";
|
|
|
4
4
|
import { ErrorBanner } from "../error-banner.js";
|
|
5
5
|
import { Quiet } from "../pages/blocks/card-frame.js";
|
|
6
6
|
import { listLabels, withLabels } from "../../live/relation-labels.js";
|
|
7
|
+
import { text } from "./messages.js";
|
|
7
8
|
import { ChatDivider } from "../../chat/chat-divider.js";
|
|
8
9
|
import { ChatThread } from "../../chat/chat-thread.js";
|
|
9
|
-
import { text } from "./messages.js";
|
|
10
10
|
import { retryOf, showsErrorAbove, threadState } from "../conversation/thread-state.js";
|
|
11
11
|
import { ConversationMessage } from "./conversation-message.js";
|
|
12
12
|
import { messagesRequest } from "./conversation-reads.js";
|
|
@@ -8,10 +8,11 @@ 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. With
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
11
|
+
* messages scroll in a box of their own, so the box stays in view. With `typing`, a line above the box says who else
|
|
12
|
+
* types, over the app's realtime relay. With threads, the thread its address names (`?thread=`) opens in a panel beside
|
|
13
|
+
* it. With `call`, the record's call shows while the page joins it (`?call=join`), between the header and the messages:
|
|
14
|
+
* beside them, or above them at mobile width, with a thread's panel after both, covering the screen at mobile width. Key
|
|
15
|
+
* it by the record, so another one starts afresh.
|
|
15
16
|
*/
|
|
16
17
|
export declare const ConversationPage: ({ page, scope }: Props) => import("react").JSX.Element;
|
|
17
18
|
//#endregion
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { useOptionalAuth } from "../../auth/auth-provider.js";
|
|
2
2
|
import { useAdminMeta } from "../meta-gate.js";
|
|
3
|
+
import { useRelay } from "../../relay/relay-context.js";
|
|
3
4
|
import { useMembers } from "../../people/use-members.js";
|
|
4
5
|
import { useRecordTitle } from "../titles/record-titles.js";
|
|
5
|
-
import { keyValue } from "../create/create-values.js";
|
|
6
6
|
import { text } from "./messages.js";
|
|
7
|
+
import { TypingLine } from "../../relay/typing-line.js";
|
|
8
|
+
import { useTypingSender } from "../../relay/use-typing-sender.js";
|
|
9
|
+
import { useViewChannel } from "../../relay/use-view-channel.js";
|
|
10
|
+
import { keyValue } from "../create/create-values.js";
|
|
7
11
|
import { MessageComposer } from "../conversation/message-composer.js";
|
|
8
12
|
import { FullArea } from "../full-area-record.js";
|
|
9
13
|
import { ConversationCall } from "./conversation-call.js";
|
|
@@ -18,10 +22,11 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
18
22
|
/**
|
|
19
23
|
* A record page that is the record's conversation (`.record({ conversation })`), filling the content area: its header,
|
|
20
24
|
* its messages and the box that sends one, where `@` lists the organization's members. The page does not scroll; the
|
|
21
|
-
* messages scroll in a box of their own, so the box stays in view. With
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
+
* messages scroll in a box of their own, so the box stays in view. With `typing`, a line above the box says who else
|
|
26
|
+
* types, over the app's realtime relay. With threads, the thread its address names (`?thread=`) opens in a panel beside
|
|
27
|
+
* it. With `call`, the record's call shows while the page joins it (`?call=join`), between the header and the messages:
|
|
28
|
+
* beside them, or above them at mobile width, with a thread's panel after both, covering the screen at mobile width. Key
|
|
29
|
+
* it by the record, so another one starts afresh.
|
|
25
30
|
*/
|
|
26
31
|
const ConversationPage = ({ page, scope }) => {
|
|
27
32
|
const { resources, views } = useAdminMeta();
|
|
@@ -43,6 +48,11 @@ const ConversationPage = ({ page, scope }) => {
|
|
|
43
48
|
...page,
|
|
44
49
|
thread: page.thread
|
|
45
50
|
};
|
|
51
|
+
const channel = `${scope.model.name}/${scope.key}`;
|
|
52
|
+
const relay = useRelay();
|
|
53
|
+
useViewChannel(channel);
|
|
54
|
+
const typing = useTypingSender(channel);
|
|
55
|
+
const typed = page.typing && relay ? typing : void 0;
|
|
46
56
|
return /* @__PURE__ */ jsx(FullArea, { children: /* @__PURE__ */ jsxs("div", {
|
|
47
57
|
className: "flex min-h-0 min-w-0",
|
|
48
58
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
@@ -72,6 +82,7 @@ const ConversationPage = ({ page, scope }) => {
|
|
|
72
82
|
className: "shrink-0 px-4 text-sm text-danger-text",
|
|
73
83
|
children: text("positionNotSaved")
|
|
74
84
|
}),
|
|
85
|
+
typed && /* @__PURE__ */ jsx(TypingLine, { channel }),
|
|
75
86
|
/* @__PURE__ */ jsx("div", {
|
|
76
87
|
className: "shrink-0 px-3 pb-3",
|
|
77
88
|
children: /* @__PURE__ */ jsx(MessageComposer, {
|
|
@@ -81,7 +92,12 @@ const ConversationPage = ({ page, scope }) => {
|
|
|
81
92
|
placeholder: page.placeholder,
|
|
82
93
|
searchPeople,
|
|
83
94
|
mentions: page.mentions,
|
|
84
|
-
attachments: page.attachments
|
|
95
|
+
attachments: page.attachments,
|
|
96
|
+
onDraft: typed?.onText,
|
|
97
|
+
onSent: (key) => {
|
|
98
|
+
typed?.onSent();
|
|
99
|
+
relay?.store.sent(key);
|
|
100
|
+
}
|
|
85
101
|
})
|
|
86
102
|
})
|
|
87
103
|
]
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Button } from "../../primitives/button.js";
|
|
2
|
+
import { text } from "./messages.js";
|
|
2
3
|
import { mentionedIds } from "../../mentions/mention-text.js";
|
|
3
4
|
import { MentionBox } from "../../mentions/mention-box.js";
|
|
4
|
-
import { text } from "./messages.js";
|
|
5
5
|
import { useEffect, useRef, useState } from "react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region src/app/conversation-page/message-editor.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Attachment } from "./attachments.js";
|
|
2
|
-
import { BatchOp } from "@protobase/client";
|
|
2
|
+
import { BatchOp, BatchResult } from "@protobase/client";
|
|
3
3
|
import { AttachmentsModel, ResourceModel } from "@protobase/schema";
|
|
4
4
|
//#region src/app/conversation-page/message-ops.d.ts
|
|
5
5
|
/**
|
|
@@ -7,6 +7,8 @@ import { AttachmentsModel, ResourceModel } from "@protobase/schema";
|
|
|
7
7
|
* message first, then one attachment per upload `ticket`, each pointing at the message the batch creates.
|
|
8
8
|
*/
|
|
9
9
|
export declare const sendOps: (resource: string, data: Record<string, unknown>, attachments: AttachmentsModel, tickets: readonly string[]) => BatchOp[];
|
|
10
|
+
/** The message a `sendOps` batch created, its first result. */
|
|
11
|
+
export declare const sentMessage: (result: BatchResult) => Record<string, unknown>;
|
|
10
12
|
/** The one batch that deletes the message keyed `key` of `page.resource` after its `files`, so none outlives it. */
|
|
11
13
|
export declare const deleteOps: (page: {
|
|
12
14
|
resource: string;
|
|
@@ -18,6 +18,12 @@ const sendOps = (resource, data, attachments, tickets) => [{
|
|
|
18
18
|
[attachments.file]: ticket
|
|
19
19
|
}
|
|
20
20
|
}))];
|
|
21
|
+
/** The message a `sendOps` batch created, its first result. */
|
|
22
|
+
const sentMessage = (result) => {
|
|
23
|
+
const first = result.results[0];
|
|
24
|
+
if (first?.op !== "create") throw new Error("A message batch starts with the message it creates");
|
|
25
|
+
return first.record;
|
|
26
|
+
};
|
|
21
27
|
/** The one batch that deletes the message keyed `key` of `page.resource` after its `files`, so none outlives it. */
|
|
22
28
|
const deleteOps = (page, model, key, files) => [...page.attachments ? files.map((file) => ({
|
|
23
29
|
op: "delete",
|
|
@@ -29,4 +35,4 @@ const deleteOps = (page, model, key, files) => [...page.attachments ? files.map(
|
|
|
29
35
|
key: keyValue(model, key)
|
|
30
36
|
}];
|
|
31
37
|
//#endregion
|
|
32
|
-
export { deleteOps, sendOps };
|
|
38
|
+
export { deleteOps, sendOps, sentMessage };
|
|
@@ -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: "edit" | "thread" | "
|
|
5
|
-
rich(id: "edit" | "thread" | "
|
|
4
|
+
(id: "edit" | "thread" | "cancel" | "someone" | "copied" | "couldNotLoad" | "save" | "message" | "delete" | "fileMissing" | "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" | "attachFiles" | "filesToAttach" | "filesToSend" | "takeFileOff" | "fileTooLarge" | "fileNotUploaded" | "uploadedPercent" | "couldNotLoadFiles" | "typingOne" | "typingTwo" | "typingMany", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "edit" | "thread" | "cancel" | "someone" | "copied" | "couldNotLoad" | "save" | "message" | "delete" | "fileMissing" | "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" | "attachFiles" | "filesToAttach" | "filesToSend" | "takeFileOff" | "fileTooLarge" | "fileNotUploaded" | "uploadedPercent" | "couldNotLoadFiles" | "typingOne" | "typingTwo" | "typingMany", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { viewerZone } from "../../format/zone.js";
|
|
2
2
|
import { formatTime } from "../../format/date.js";
|
|
3
|
-
import { chatDayLabel } from "../../chat/chat-day.js";
|
|
4
3
|
import { text } from "./messages.js";
|
|
4
|
+
import { chatDayLabel } from "../../chat/chat-day.js";
|
|
5
5
|
//#region src/app/conversation-page/reply-labels.ts
|
|
6
6
|
/** When a thread's last reply came, sent at `time`: "Last reply Today, 10:42", in the viewer's zone unless given. */
|
|
7
7
|
const lastReplyLabel = (time, now = Date.now(), zone = viewerZone()) => text("lastReply", { time: `${chatDayLabel(time, now, zone)}, ${formatTime(Date.parse(time), zone)}` });
|
|
@@ -4,11 +4,11 @@ import { useList } from "../../data/use-list.js";
|
|
|
4
4
|
import { ErrorBanner } from "../error-banner.js";
|
|
5
5
|
import { Quiet } from "../pages/blocks/card-frame.js";
|
|
6
6
|
import { listLabels, withLabels } from "../../live/relation-labels.js";
|
|
7
|
+
import { text } from "./messages.js";
|
|
7
8
|
import { ChatDivider } from "../../chat/chat-divider.js";
|
|
8
9
|
import { ChatThread } from "../../chat/chat-thread.js";
|
|
9
10
|
import { SidePanel } from "../../side-panel/side-panel.js";
|
|
10
11
|
import { keyValue } from "../create/create-values.js";
|
|
11
|
-
import { text } from "./messages.js";
|
|
12
12
|
import { MessageComposer } from "../conversation/message-composer.js";
|
|
13
13
|
import { authorOf } from "../conversation/thread-items.js";
|
|
14
14
|
import { ConversationMessage } from "./conversation-message.js";
|
|
@@ -4,8 +4,8 @@ import { useToast } from "../../toasts/toast-provider.js";
|
|
|
4
4
|
import { recordKey } from "../../live/model-helpers.js";
|
|
5
5
|
import { refusalReason } from "../displays/board-columns.js";
|
|
6
6
|
import { useRefreshResource } from "../pages/use-layout-data.js";
|
|
7
|
-
import { keyValue } from "../create/create-values.js";
|
|
8
7
|
import { text } from "./messages.js";
|
|
8
|
+
import { keyValue } from "../create/create-values.js";
|
|
9
9
|
import { deleteOps } from "./message-ops.js";
|
|
10
10
|
//#region src/app/conversation-page/use-message-writes.ts
|
|
11
11
|
/**
|
|
@@ -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: "title" | "
|
|
5
|
-
rich(id: "title" | "
|
|
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
|
|
@@ -11,5 +11,5 @@ export declare const CustomSection: ({ item, scope, fallback }: {
|
|
|
11
11
|
item: CustomSectionModel;
|
|
12
12
|
scope: LayoutRecord;
|
|
13
13
|
fallback: ReactNode | undefined;
|
|
14
|
-
}) => string | number | bigint | boolean |
|
|
14
|
+
}) => string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react").JSX.Element | null | undefined;
|
|
15
15
|
//#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: "cancel" | "delete" | "working" | "done" | "progress" | "kept" | "confirmTitle" | "confirmDescription" | "changedTitle" | "changedDescription" | "reviewChanges" | "deleteAnyway" | "noVisibleChanges" | "bulkConfirmTitle" | "bulkConfirmDescription" | "
|
|
5
|
-
rich(id: "cancel" | "delete" | "working" | "done" | "progress" | "kept" | "confirmTitle" | "confirmDescription" | "changedTitle" | "changedDescription" | "reviewChanges" | "deleteAnyway" | "noVisibleChanges" | "bulkConfirmTitle" | "bulkConfirmDescription" | "
|
|
4
|
+
(id: "cancel" | "delete" | "working" | "done" | "progress" | "kept" | "show" | "confirmTitle" | "deleteCount" | "confirmDescription" | "changedTitle" | "changedDescription" | "reviewChanges" | "deleteAnyway" | "noVisibleChanges" | "bulkConfirmTitle" | "bulkConfirmDescription" | "deleting" | "deleted" | "deletedOf" | "deletedToast" | "undo" | "restored" | "alreadyBack" | "couldNotRestore" | "couldNotDelete" | "changedSinceLoaded" | "stillPointAt", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "cancel" | "delete" | "working" | "done" | "progress" | "kept" | "show" | "confirmTitle" | "deleteCount" | "confirmDescription" | "changedTitle" | "changedDescription" | "reviewChanges" | "deleteAnyway" | "noVisibleChanges" | "bulkConfirmTitle" | "bulkConfirmDescription" | "deleting" | "deleted" | "deletedOf" | "deletedToast" | "undo" | "restored" | "alreadyBack" | "couldNotRestore" | "couldNotDelete" | "changedSinceLoaded" | "stillPointAt", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -24,5 +24,5 @@ type ListCardsProps = {
|
|
|
24
24
|
* The list page's cards display: a card per record (see `RecordCard`), scrolled like the table. An embedded list,
|
|
25
25
|
* which shows a few cards whole, draws them with `CardsDisplay`.
|
|
26
26
|
*/
|
|
27
|
-
export declare const ListCards: ({ model, view, display, list, empty }: ListCardsProps) => string | number | bigint | boolean |
|
|
27
|
+
export declare const ListCards: ({ model, view, display, list, empty }: ListCardsProps) => string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react").JSX.Element;
|
|
28
28
|
//#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: "display" | "list" | "ascending" | "descending" | "close" | "sort" | "today" | "table" | "next" | "month" | "week" | "pickedUp" | "isOver" | "putBack" | "cancelled" | "quarter" | "showMore" | "previous" | "noComponent" | "noValue" | "chosen" | "couldNotLoadRows" | "undo" | "movedTo" | "orderChanged" | "stayedIn" | "couldNotUndo" | "noPlural" | "somethingWrong" | "noDrop" | "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" | "approximatePosition" | "features" | "couldNotReorder" | "couldNotMoveTo" | "checkRefused" | "moreHidden", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "display" | "list" | "ascending" | "descending" | "close" | "sort" | "today" | "table" | "next" | "month" | "week" | "pickedUp" | "isOver" | "putBack" | "cancelled" | "quarter" | "showMore" | "previous" | "noComponent" | "noValue" | "chosen" | "couldNotLoadRows" | "undo" | "movedTo" | "orderChanged" | "stayedIn" | "couldNotUndo" | "noPlural" | "somethingWrong" | "noDrop" | "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" | "approximatePosition" | "features" | "couldNotReorder" | "couldNotMoveTo" | "checkRefused" | "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/export/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "cancel" | "format" | "values" | "rows" | "selected" | "cancelled" | "columns" | "done" | "moveUp" | "moveDown" | "export" | "csv" | "excel" | "asShown" | "rawValues" | "shownHint" | "rawHint" | "counting" | "moreThan" | "selectedRows" | "rowsInList" | "exportPlural" | "listHint" | "exports" | "overLimit" | "exporting" | "rowsExported" | "doneOf" | "exported" | "truncated" | "couldNotExport" | "couldNotBuild" | "workbook" | "csvFile", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "cancel" | "format" | "values" | "rows" | "selected" | "cancelled" | "columns" | "done" | "moveUp" | "moveDown" | "export" | "csv" | "excel" | "asShown" | "rawValues" | "shownHint" | "rawHint" | "counting" | "moreThan" | "selectedRows" | "rowsInList" | "exportPlural" | "listHint" | "exports" | "overLimit" | "exporting" | "rowsExported" | "doneOf" | "exported" | "truncated" | "couldNotExport" | "couldNotBuild" | "workbook" | "csvFile", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -13,5 +13,5 @@ type WidgetPartProps = {
|
|
|
13
13
|
invalid?: boolean;
|
|
14
14
|
};
|
|
15
15
|
/** One part of a field type for a field, inside a boundary that draws the built-in rendering instead when it throws. */
|
|
16
|
-
export declare const WidgetPart: ({ fallback, ...rest }: WidgetPartProps) => string | number | bigint | boolean |
|
|
16
|
+
export declare const WidgetPart: ({ fallback, ...rest }: WidgetPartProps) => string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react").JSX.Element | null | undefined;
|
|
17
17
|
//#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: "
|
|
27
|
+
trace: "none" | "failed" | "all" | null;
|
|
28
28
|
};
|
|
29
29
|
/** The names of a path, outermost first. */
|
|
30
30
|
export declare const pathNames: (path: StatePath) => string[];
|