@protobase/ui 0.117.2 → 0.117.3
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/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/create/messages.d.ts +2 -2
- package/dist/app/delete/messages.d.ts +2 -2
- package/dist/app/displays/messages.d.ts +2 -2
- package/dist/app/embedded-list/messages.d.ts +2 -2
- package/dist/app/export/messages.d.ts +2 -2
- package/dist/app/field-messages.d.ts +2 -2
- package/dist/app/field-types/json/messages.d.ts +2 -2
- package/dist/app/field-types/runner-install/messages.d.ts +2 -2
- package/dist/app/field-types/workflow/definition.d.ts +1 -1
- package/dist/app/field-types/workflow/messages.d.ts +2 -2
- package/dist/app/field-types/workflow-page/messages.d.ts +2 -2
- package/dist/app/field-types/workflow-run/messages.d.ts +2 -2
- package/dist/app/file-viewers/messages.d.ts +2 -2
- package/dist/app/focus/messages.d.ts +2 -2
- package/dist/app/gallery/gallery-layout.d.ts +2 -2
- package/dist/app/gallery/messages.d.ts +2 -2
- package/dist/app/hand-order/messages.d.ts +2 -2
- package/dist/app/history/messages.d.ts +2 -2
- package/dist/app/import/messages.d.ts +2 -2
- package/dist/app/list-messages.d.ts +2 -2
- package/dist/app/messages.d.ts +2 -2
- package/dist/app/meta-gate-messages.d.ts +2 -2
- package/dist/app/new-version/messages.d.ts +2 -2
- package/dist/app/pages/guide/billing-config.d.ts +1 -1
- package/dist/app/pages/guide/billing-views.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-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/search/messages.d.ts +2 -2
- package/dist/app/searches/messages.d.ts +2 -2
- package/dist/app-shell/account-entry.js +1 -1
- package/dist/app-shell/app-shell.js +6 -5
- package/dist/app-shell/brand-bar.d.ts +4 -3
- package/dist/app-shell/brand-bar.js +4 -3
- package/dist/app-shell/drawer.js +6 -1
- package/dist/app-shell/leading-slot.d.ts +6 -2
- package/dist/app-shell/leading-slot.js +6 -2
- package/dist/app-shell/messages.d.ts +2 -2
- package/dist/app-shell/more-page.d.ts +6 -0
- package/dist/app-shell/more-page.js +7 -1
- package/dist/app-shell/profile-menu.js +6 -5
- package/dist/app-shell/top-bar.js +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/chat/messages.d.ts +2 -2
- package/dist/compact-table/messages.d.ts +2 -2
- package/dist/data-grid/messages.d.ts +2 -2
- package/dist/filter-panel/messages.d.ts +2 -2
- package/dist/invitations/messages.d.ts +2 -2
- package/dist/live/messages.d.ts +2 -2
- package/dist/mentions/messages.d.ts +2 -2
- package/dist/mocks/orders.d.ts +2 -2
- package/dist/notifications/bell/messages.d.ts +2 -2
- package/dist/organizations/messages.d.ts +2 -2
- package/dist/package.js +1 -1
- package/dist/plugins/messages.d.ts +2 -2
- package/dist/primitives/avatar.js +3 -2
- package/dist/primitives/menu-surface.d.ts +2 -2
- package/dist/primitives/menu-surface.js +3 -2
- package/dist/primitives/popover-menu.js +1 -0
- package/dist/primitives/segmented.js +4 -3
- package/dist/primitives/sheet.d.ts +6 -1
- package/dist/primitives/sheet.js +19 -23
- package/dist/record-view/messages.d.ts +2 -2
- package/dist/shell/assets/{account-page-U7RldneI.js → account-page-CnXeVG2Y.js} +2 -2
- package/dist/shell/assets/{app-94a88jzE.js → app-Dhno5n-x.js} +11 -11
- package/dist/shell/assets/app-Dq5eubgK.css +2 -0
- package/dist/shell/assets/{assistant-shell-BJWCAwCu.js → assistant-shell-CiBgXc2G.js} +2 -2
- package/dist/shell/assets/{board-display-DSazq67h.js → board-display-CbDhUr3M.js} +2 -2
- package/dist/shell/assets/{calendar-display-CpqjM4oV.js → calendar-display-DYCeXWel.js} +2 -2
- package/dist/shell/assets/{call-rings-DnL8InVq.js → call-rings-DasjTYQQ.js} +2 -2
- package/dist/shell/assets/{calls-CTRygR5f.js → calls-CK0S2A1I.js} +2 -2
- package/dist/shell/assets/{circle-alert-B63XjMgn.js → circle-alert-DsS_wh95.js} +2 -2
- package/dist/shell/assets/{composed-page-BVm_6eWU.js → composed-page-DR1_Pmnm.js} +2 -2
- package/dist/shell/assets/{composer-section-DETU2Obd.js → composer-section-Drni_iH0.js} +2 -2
- package/dist/shell/assets/{connect-route-BILeY04q.js → connect-route-CWqZ4ZdQ.js} +2 -2
- package/dist/shell/assets/{copy-field-CmFjZmVI.js → copy-field-BEMhQB0i.js} +2 -2
- package/dist/shell/assets/{create-route-BT69PwsI.js → create-route-DcR4vO0R.js} +2 -2
- package/dist/shell/assets/{custom-step-container-field-CZDuNAGK.js → custom-step-container-field-CQNLXPAV.js} +2 -2
- package/dist/shell/assets/{embedded-list-C9U2ypuX.js → embedded-list-CUUg5UdE.js} +3 -3
- package/dist/shell/assets/{export-dialog-DoaQ8h-M.js → export-dialog-BF7ErysJ.js} +2 -2
- package/dist/shell/assets/{graph-view-COd5Mp2P.js → graph-view-CYY1Wxfn.js} +2 -2
- package/dist/shell/assets/{group-donut-DUBQuhYa.js → group-donut-BrPYdLB4.js} +2 -2
- package/dist/shell/assets/{guest-call-page-Bu41Ptk4.js → guest-call-page-vE_LtZb2.js} +3 -3
- package/dist/shell/assets/{html-viewer-Bz3ots0-.js → html-viewer-d5JaZY_d.js} +2 -2
- package/dist/shell/assets/{import-dialog-B0lJXEBq.js → import-dialog-Cwopdvpl.js} +2 -2
- package/dist/shell/assets/{import-table-dialog-CaZameXo.js → import-table-dialog-iJiIRDzs.js} +2 -2
- package/dist/shell/assets/{index-YZpQ8sMq.js → index-FlDNHH-7.js} +1 -1
- package/dist/shell/assets/{invitations-page-DPzcVGHk.js → invitations-page-C7lvsotm.js} +2 -2
- package/dist/shell/assets/{layout-grid-hoLv1QVh.js → layout-grid-CMNfsxPk.js} +2 -2
- package/dist/shell/assets/{legend-item-CU6Kt-GZ.js → legend-item-CcZfSPqr.js} +2 -2
- package/dist/shell/assets/{list-page-C8Z3OhmV.js → list-page-C1SSeT_l.js} +4 -4
- package/dist/shell/assets/{maplibre-BOVzS79J.js → maplibre-CZgGye8n.js} +2 -2
- package/dist/shell/assets/{markdown-content-BMDl_vl_.js → markdown-content-DqspuxI3.js} +2 -2
- package/dist/shell/assets/{members-page-O752tFj8.js → members-page-BFe1wo7t.js} +2 -2
- package/dist/shell/assets/{messages-TLh-JbDm.js → messages-Djmoh5Qy.js} +2 -2
- package/dist/shell/assets/{organization-page-DDwBkk8F.js → organization-page-BS5CBM7T.js} +2 -2
- package/dist/shell/assets/{organizations-page-DNYezYgw.js → organizations-page-D-2TFpDm.js} +2 -2
- package/dist/shell/assets/{pending-invitation-row-DRjEfn76.js → pending-invitation-row-MW_m7ClO.js} +2 -2
- package/dist/shell/assets/{period-chart-B_Vtp_OD.js → period-chart-D5Gmfn_N.js} +2 -2
- package/dist/shell/assets/{person-row-ehgAozYT.js → person-row-DixR2c5_.js} +2 -2
- package/dist/shell/assets/{public-form-page-JM_r4BIq.js → public-form-page-BD-0Pq4m.js} +2 -2
- package/dist/shell/assets/{record-lines-B8maPngL.js → record-lines-C61HlpSx.js} +2 -2
- package/dist/shell/assets/{record-map-BJI9HhZO.js → record-map-C-VFW3uK.js} +2 -2
- package/dist/shell/assets/{record-opens-BP2LRuAM.js → record-opens-0Hwj29eY.js} +2 -2
- package/dist/shell/assets/{record-page-DsLORKNo.js → record-page-DSlsKtND.js} +3 -3
- package/dist/shell/assets/{record-preview-BDMeb9qp.js → record-preview-9gB2HCqq.js} +2 -2
- package/dist/shell/assets/{records-map-D2IAAn9Z.js → records-map-CHzxxjrz.js} +2 -2
- package/dist/shell/assets/{render-node-CAL7-6hf.js → render-node-Bx2j3Z9N.js} +3 -3
- package/dist/shell/assets/{reorder-button-D9hO_nqd.js → reorder-button-BbnTcDWe.js} +2 -2
- package/dist/shell/assets/{run-trace-view-CqCld741.js → run-trace-view-BFoZdUL_.js} +2 -2
- package/dist/shell/assets/{runner-install-field-Cpd0yW2w.js → runner-install-field-oUIwmXJr.js} +2 -2
- package/dist/shell/assets/{runtime-update-Cg98ENel.js → runtime-update-C_nVK-Ib.js} +2 -2
- package/dist/shell/assets/{shared-protobase-ui-JVA65IEp.js → shared-protobase-ui-DK57grt-.js} +1 -1
- package/dist/shell/assets/{sheet-source-fKebPN-3.js → sheet-source-DPrt_4fp.js} +2 -2
- package/dist/shell/assets/{sign-in-policy-page-DtxdycdZ.js → sign-in-policy-page-OkYaQyjd.js} +2 -2
- package/dist/shell/assets/{start-block-queries-DIJZ-fEE.js → start-block-queries-BEWBUhWg.js} +2 -2
- package/dist/shell/assets/{step-catalog-DefIkvlp.js → step-catalog-B37ubHh0.js} +2 -2
- package/dist/shell/assets/{step-panel-DhFvGljv.js → step-panel-CLYTTuEx.js} +2 -2
- package/dist/shell/assets/{timeline-display-CsGry__i.js → timeline-display-Be98AAvH.js} +2 -2
- package/dist/shell/assets/{trash-B3Zy6Kx1.js → trash-B3AS7MZB.js} +2 -2
- package/dist/shell/assets/{update-set-C_skfvwV.js → update-set-LOqKj6_s.js} +2 -2
- package/dist/shell/assets/{use-calendar-move-CZtjDwpL.js → use-calendar-move-tAYNZeaf.js} +2 -2
- package/dist/shell/assets/{use-display-rows-DHVZ49lA.js → use-display-rows-BNTGJCuA.js} +2 -2
- package/dist/shell/assets/{use-paged-search-COK4rUdF.js → use-paged-search-zW8DC14J.js} +2 -2
- package/dist/shell/assets/{use-run-trace-CRPYmppF.js → use-run-trace-BfNKHhse.js} +2 -2
- package/dist/shell/assets/{use-workflow-page-NQnBpQBn.js → use-workflow-page-gk8rhqQH.js} +2 -2
- package/dist/shell/assets/{use-workflow-types-BONTV-ip.js → use-workflow-types-BY3B_Oaj.js} +2 -2
- package/dist/shell/assets/{workflow-canvas-wK7am90B.js → workflow-canvas-D2uLwFrs.js} +2 -2
- package/dist/shell/assets/{workflow-field-D4NB5B1z.js → workflow-field-QMvj5PMy.js} +3 -3
- package/dist/shell/assets/{workflow-graph-editor-CBPqhazd.js → workflow-graph-editor-DX7BUqLb.js} +2 -2
- package/dist/shell/assets/{workflow-run-field-C1N-mmHl.js → workflow-run-field-DF95Gx_P.js} +3 -3
- package/dist/shell/assets/{workflow-status-field-DEgDvkpV.js → workflow-status-field-COisBbne.js} +2 -2
- package/dist/shell/assets/{workflow-workbench-mJR1exSe.js → workflow-workbench-DG-OVltK.js} +2 -2
- 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-U7RldneI.js.map → account-page-CnXeVG2Y.js.map} +1 -1
- package/dist/shell-source-maps/assets/app-Dhno5n-x.js.map +1 -0
- package/dist/shell-source-maps/assets/{assistant-shell-BJWCAwCu.js.map → assistant-shell-CiBgXc2G.js.map} +1 -1
- package/dist/shell-source-maps/assets/{board-display-DSazq67h.js.map → board-display-CbDhUr3M.js.map} +1 -1
- package/dist/shell-source-maps/assets/{calendar-display-CpqjM4oV.js.map → calendar-display-DYCeXWel.js.map} +1 -1
- package/dist/shell-source-maps/assets/{call-rings-DnL8InVq.js.map → call-rings-DasjTYQQ.js.map} +1 -1
- package/dist/shell-source-maps/assets/{calls-CTRygR5f.js.map → calls-CK0S2A1I.js.map} +1 -1
- package/dist/shell-source-maps/assets/{circle-alert-B63XjMgn.js.map → circle-alert-DsS_wh95.js.map} +1 -1
- package/dist/shell-source-maps/assets/{composed-page-BVm_6eWU.js.map → composed-page-DR1_Pmnm.js.map} +1 -1
- package/dist/shell-source-maps/assets/{composer-section-DETU2Obd.js.map → composer-section-Drni_iH0.js.map} +1 -1
- package/dist/shell-source-maps/assets/{connect-route-BILeY04q.js.map → connect-route-CWqZ4ZdQ.js.map} +1 -1
- package/dist/shell-source-maps/assets/{copy-field-CmFjZmVI.js.map → copy-field-BEMhQB0i.js.map} +1 -1
- package/dist/shell-source-maps/assets/{create-route-BT69PwsI.js.map → create-route-DcR4vO0R.js.map} +1 -1
- package/dist/shell-source-maps/assets/{custom-step-container-field-CZDuNAGK.js.map → custom-step-container-field-CQNLXPAV.js.map} +1 -1
- package/dist/shell-source-maps/assets/{embedded-list-C9U2ypuX.js.map → embedded-list-CUUg5UdE.js.map} +1 -1
- package/dist/shell-source-maps/assets/{export-dialog-DoaQ8h-M.js.map → export-dialog-BF7ErysJ.js.map} +1 -1
- package/dist/shell-source-maps/assets/{graph-view-COd5Mp2P.js.map → graph-view-CYY1Wxfn.js.map} +1 -1
- package/dist/shell-source-maps/assets/{group-donut-DUBQuhYa.js.map → group-donut-BrPYdLB4.js.map} +1 -1
- package/dist/shell-source-maps/assets/{guest-call-page-Bu41Ptk4.js.map → guest-call-page-vE_LtZb2.js.map} +1 -1
- package/dist/shell-source-maps/assets/{html-viewer-Bz3ots0-.js.map → html-viewer-d5JaZY_d.js.map} +1 -1
- package/dist/shell-source-maps/assets/{import-dialog-B0lJXEBq.js.map → import-dialog-Cwopdvpl.js.map} +1 -1
- package/dist/shell-source-maps/assets/{import-table-dialog-CaZameXo.js.map → import-table-dialog-iJiIRDzs.js.map} +1 -1
- package/dist/shell-source-maps/assets/{invitations-page-DPzcVGHk.js.map → invitations-page-C7lvsotm.js.map} +1 -1
- package/dist/shell-source-maps/assets/{layout-grid-hoLv1QVh.js.map → layout-grid-CMNfsxPk.js.map} +1 -1
- package/dist/shell-source-maps/assets/{legend-item-CU6Kt-GZ.js.map → legend-item-CcZfSPqr.js.map} +1 -1
- package/dist/shell-source-maps/assets/{list-page-C8Z3OhmV.js.map → list-page-C1SSeT_l.js.map} +1 -1
- package/dist/shell-source-maps/assets/{maplibre-BOVzS79J.js.map → maplibre-CZgGye8n.js.map} +1 -1
- package/dist/shell-source-maps/assets/{markdown-content-BMDl_vl_.js.map → markdown-content-DqspuxI3.js.map} +1 -1
- package/dist/shell-source-maps/assets/{members-page-O752tFj8.js.map → members-page-BFe1wo7t.js.map} +1 -1
- package/dist/shell-source-maps/assets/{messages-TLh-JbDm.js.map → messages-Djmoh5Qy.js.map} +1 -1
- package/dist/shell-source-maps/assets/{organization-page-DDwBkk8F.js.map → organization-page-BS5CBM7T.js.map} +1 -1
- package/dist/shell-source-maps/assets/{organizations-page-DNYezYgw.js.map → organizations-page-D-2TFpDm.js.map} +1 -1
- package/dist/shell-source-maps/assets/{pending-invitation-row-DRjEfn76.js.map → pending-invitation-row-MW_m7ClO.js.map} +1 -1
- package/dist/shell-source-maps/assets/{period-chart-B_Vtp_OD.js.map → period-chart-D5Gmfn_N.js.map} +1 -1
- package/dist/shell-source-maps/assets/{person-row-ehgAozYT.js.map → person-row-DixR2c5_.js.map} +1 -1
- package/dist/shell-source-maps/assets/{public-form-page-JM_r4BIq.js.map → public-form-page-BD-0Pq4m.js.map} +1 -1
- package/dist/shell-source-maps/assets/{record-lines-B8maPngL.js.map → record-lines-C61HlpSx.js.map} +1 -1
- package/dist/shell-source-maps/assets/{record-map-BJI9HhZO.js.map → record-map-C-VFW3uK.js.map} +1 -1
- package/dist/shell-source-maps/assets/{record-opens-BP2LRuAM.js.map → record-opens-0Hwj29eY.js.map} +1 -1
- package/dist/shell-source-maps/assets/{record-page-DsLORKNo.js.map → record-page-DSlsKtND.js.map} +1 -1
- package/dist/shell-source-maps/assets/{record-preview-BDMeb9qp.js.map → record-preview-9gB2HCqq.js.map} +1 -1
- package/dist/shell-source-maps/assets/{records-map-D2IAAn9Z.js.map → records-map-CHzxxjrz.js.map} +1 -1
- package/dist/shell-source-maps/assets/{render-node-CAL7-6hf.js.map → render-node-Bx2j3Z9N.js.map} +1 -1
- package/dist/shell-source-maps/assets/{reorder-button-D9hO_nqd.js.map → reorder-button-BbnTcDWe.js.map} +1 -1
- package/dist/shell-source-maps/assets/{run-trace-view-CqCld741.js.map → run-trace-view-BFoZdUL_.js.map} +1 -1
- package/dist/shell-source-maps/assets/{runner-install-field-Cpd0yW2w.js.map → runner-install-field-oUIwmXJr.js.map} +1 -1
- package/dist/shell-source-maps/assets/{runtime-update-Cg98ENel.js.map → runtime-update-C_nVK-Ib.js.map} +1 -1
- package/dist/shell-source-maps/assets/{sheet-source-fKebPN-3.js.map → sheet-source-DPrt_4fp.js.map} +1 -1
- package/dist/shell-source-maps/assets/{sign-in-policy-page-DtxdycdZ.js.map → sign-in-policy-page-OkYaQyjd.js.map} +1 -1
- package/dist/shell-source-maps/assets/{start-block-queries-DIJZ-fEE.js.map → start-block-queries-BEWBUhWg.js.map} +1 -1
- package/dist/shell-source-maps/assets/{step-catalog-DefIkvlp.js.map → step-catalog-B37ubHh0.js.map} +1 -1
- package/dist/shell-source-maps/assets/{step-panel-DhFvGljv.js.map → step-panel-CLYTTuEx.js.map} +1 -1
- package/dist/shell-source-maps/assets/{timeline-display-CsGry__i.js.map → timeline-display-Be98AAvH.js.map} +1 -1
- package/dist/shell-source-maps/assets/{trash-B3Zy6Kx1.js.map → trash-B3AS7MZB.js.map} +1 -1
- package/dist/shell-source-maps/assets/{update-set-C_skfvwV.js.map → update-set-LOqKj6_s.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-calendar-move-CZtjDwpL.js.map → use-calendar-move-tAYNZeaf.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-display-rows-DHVZ49lA.js.map → use-display-rows-BNTGJCuA.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-paged-search-COK4rUdF.js.map → use-paged-search-zW8DC14J.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-run-trace-CRPYmppF.js.map → use-run-trace-BfNKHhse.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-workflow-page-NQnBpQBn.js.map → use-workflow-page-gk8rhqQH.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-workflow-types-BONTV-ip.js.map → use-workflow-types-BY3B_Oaj.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-canvas-wK7am90B.js.map → workflow-canvas-D2uLwFrs.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-field-D4NB5B1z.js.map → workflow-field-QMvj5PMy.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-graph-editor-CBPqhazd.js.map → workflow-graph-editor-DX7BUqLb.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-run-field-C1N-mmHl.js.map → workflow-run-field-DF95Gx_P.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-status-field-DEgDvkpV.js.map → workflow-status-field-COisBbne.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-workbench-mJR1exSe.js.map → workflow-workbench-DG-OVltK.js.map} +1 -1
- package/dist/status/messages.d.ts +2 -2
- package/dist/theme.css +2 -2
- package/dist/users/messages.d.ts +2 -2
- package/package.json +5 -5
- package/dist/shell/assets/app-BAQxWF5r.css +0 -2
- package/dist/shell-source-maps/assets/app-94a88jzE.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../../locale/messages.js";
|
|
2
2
|
//#region src/app/new-version/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "title" | "reload" | "description" | "reloadPage" | "reloadPageHint" | "bannerTitle" | "bannerLine", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "title" | "reload" | "description" | "reloadPage" | "reloadPageHint" | "bannerTitle" | "bannerLine", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -31,6 +31,6 @@ export declare const invoices: import("@protobase/schema").ResourceBuilder<{
|
|
|
31
31
|
readonly number: import("@protobase/schema").Field<string>;
|
|
32
32
|
readonly issued_at: import("@protobase/schema").Field<string>;
|
|
33
33
|
readonly total: import("@protobase/schema").Field<string>;
|
|
34
|
-
readonly status: import("@protobase/schema").Field<"
|
|
34
|
+
readonly status: import("@protobase/schema").Field<"open" | "paid">;
|
|
35
35
|
}, import("@protobase/schema").Ref<"id", number>, "invoices">;
|
|
36
36
|
//#endregion
|
|
@@ -31,6 +31,6 @@ export declare const invoicesView: import("@protobase/schema").ViewBuilder<impor
|
|
|
31
31
|
readonly number: import("@protobase/schema").Field<string>;
|
|
32
32
|
readonly issued_at: import("@protobase/schema").Field<string>;
|
|
33
33
|
readonly total: import("@protobase/schema").Field<string>;
|
|
34
|
-
readonly status: import("@protobase/schema").Field<"
|
|
34
|
+
readonly status: import("@protobase/schema").Field<"open" | "paid">;
|
|
35
35
|
}, import("@protobase/schema").Ref<"id", number>, "invoices">>;
|
|
36
36
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../../locale/messages.js";
|
|
2
2
|
//#region src/app/pages/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "number" | "
|
|
5
|
-
rich(id: "number" | "
|
|
4
|
+
(id: "number" | "create" | "cancel" | "failed" | "saved" | "tabs" | "couldNotLoad" | "save" | "couldNotDraw" | "required" | "done" | "notFound" | "noPage" | "noComponent" | "wholeNumber" | "notSaved" | "nothingYet" | "noTab" | "unknownBlock" | "somethingWrong" | "needsRecord" | "cannotChange" | "cannotDelete" | "doesNotApply" | "noHandler" | "noInputComponent" | "doneOn" | "refusedOn" | "noAction" | "loadMore" | "timelineCut" | "settings" | "couldNotCount" | "dateFormat" | "atMost" | "tickEvery" | "nothingToTick" | "forRecords" | "timelineRange" | "timelineNow" | "timelinePoint", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "number" | "create" | "cancel" | "failed" | "saved" | "tabs" | "couldNotLoad" | "save" | "couldNotDraw" | "required" | "done" | "notFound" | "noPage" | "noComponent" | "wholeNumber" | "notSaved" | "nothingYet" | "noTab" | "unknownBlock" | "somethingWrong" | "needsRecord" | "cannotChange" | "cannotDelete" | "doesNotApply" | "noHandler" | "noInputComponent" | "doneOn" | "refusedOn" | "noAction" | "loadMore" | "timelineCut" | "settings" | "couldNotCount" | "dateFormat" | "atMost" | "tickEvery" | "nothingToTick" | "forRecords" | "timelineRange" | "timelineNow" | "timelinePoint", 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/record-chart/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "day" | "hour" | "couldNotLoad" | "maximum" | "week" | "range" | "average" | "measure" | "noSamples", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "day" | "hour" | "couldNotLoad" | "maximum" | "week" | "range" | "average" | "measure" | "noSamples", 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/record-messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "loading" | "
|
|
5
|
-
rich(id: "loading" | "
|
|
4
|
+
(id: "loading" | "edit" | "cancel" | "fetching" | "saved" | "history" | "comments" | "couldNotLoad" | "save" | "couldNotSave" | "delete" | "justNow" | "details" | "summary" | "lineNumber" | "noRecord" | "openingElsewhere" | "someoneElse" | "unsavedChanges" | "notSaved" | "linesChanged" | "linesReloaded" | "unsavedKept" | "continueEditing" | "discard" | "unsavedRestored" | "keep" | "savingSubject" | "subjectSaved" | "changedBySomeoneElse" | "recordActions" | "nothingYet" | "relatedRecords" | "lineField" | "tooManyLines", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "loading" | "edit" | "cancel" | "fetching" | "saved" | "history" | "comments" | "couldNotLoad" | "save" | "couldNotSave" | "delete" | "justNow" | "details" | "summary" | "lineNumber" | "noRecord" | "openingElsewhere" | "someoneElse" | "unsavedChanges" | "notSaved" | "linesChanged" | "linesReloaded" | "unsavedKept" | "continueEditing" | "discard" | "unsavedRestored" | "keep" | "savingSubject" | "subjectSaved" | "changedBySomeoneElse" | "recordActions" | "nothingYet" | "relatedRecords" | "lineField" | "tooManyLines", 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/record-row/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "new" | "couldNotLoad" | "
|
|
5
|
-
rich(id: "new" | "couldNotLoad" | "
|
|
4
|
+
(id: "new" | "couldNotLoad" | "viewAll" | "noneYet" | "noneMatch" | "couldNotLoadYour", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "new" | "couldNotLoad" | "viewAll" | "noneYet" | "noneMatch" | "couldNotLoadYour", 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/related-cards/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "open" | "couldNotLoad" | "left" | "add" | "showMore" | "nothingYet" | "showLess", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "open" | "couldNotLoad" | "left" | "add" | "showMore" | "nothingYet" | "showLess", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../../locale/messages.js";
|
|
2
2
|
//#region src/app/saved/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "couldNotSave" | "
|
|
5
|
-
rich(id: "couldNotSave" | "
|
|
4
|
+
(id: "couldNotSave" | "noneYet" | "somethingWrong" | "couldNotLoadYour" | "favorite" | "couldNotTakeOff", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "couldNotSave" | "noneYet" | "somethingWrong" | "couldNotLoadYour" | "favorite" | "couldNotTakeOff", 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/search/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "create" | "search" | "searchOne" | "searchTwo" | "searchMore" | "goTo", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "create" | "search" | "searchOne" | "searchTwo" | "searchMore" | "goTo", 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/searches/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "removed" | "cancel" | "changed" | "saved" | "more" | "viewAll" | "save" | "couldNotSave" | "optional" | "update" | "filters" | "notFound" | "deleteTitle" | "off" | "on" | "noResource" | "unreadableFilter" | "noneYet" | "somethingWrong" | "noPlural" | "noneMatch" | "couldNotLoadYour" | "firstOf" | "couldNotTakeOff" | "saveSearch" | "saveAsNew" | "updateName" | "updateNameQuestion" | "updateNounQuestion" | "couldNotRename" | "renameTitle" | "noSavedYet" | "couldNotChange" | "asMany" | "fewer" | "added" | "filterChanges" | "addedRemoved" | "noRecordsDiff" | "searchSaved" | "openPlural" | "searchUpdated" | "couldNotUpdate" | "noNew", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "removed" | "cancel" | "changed" | "saved" | "more" | "viewAll" | "save" | "couldNotSave" | "optional" | "update" | "filters" | "notFound" | "deleteTitle" | "off" | "on" | "noResource" | "unreadableFilter" | "noneYet" | "somethingWrong" | "noPlural" | "noneMatch" | "couldNotLoadYour" | "firstOf" | "couldNotTakeOff" | "saveSearch" | "saveAsNew" | "updateName" | "updateNameQuestion" | "updateNounQuestion" | "couldNotRename" | "renameTitle" | "noSavedYet" | "couldNotChange" | "asMany" | "fewer" | "added" | "filterChanges" | "addedRemoved" | "noRecordsDiff" | "searchSaved" | "openPlural" | "searchUpdated" | "couldNotUpdate" | "noNew", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -25,7 +25,7 @@ const AccountEntry = ({ user, signIn, onBrand, ...menu }) => {
|
|
|
25
25
|
}) : signIn && /* @__PURE__ */ jsx(RouteLink, {
|
|
26
26
|
to: signIn,
|
|
27
27
|
"aria-label": text("signIn"),
|
|
28
|
-
className: cn("size-[min(2.75rem,max(44px,13vw))] shrink-0", "flex items-center justify-center rounded-
|
|
28
|
+
className: cn("size-[min(2.75rem,max(44px,13vw))] shrink-0", "flex items-center justify-center rounded-full hover:bg-muted"),
|
|
29
29
|
children: /* @__PURE__ */ jsx("span", {
|
|
30
30
|
className: cn("flex size-[min(2rem,max(32px,9vw))] items-center justify-center rounded-full", onBrand ? "bg-primary-foreground/20 text-primary-foreground" : "bg-muted text-muted-foreground"),
|
|
31
31
|
children: /* @__PURE__ */ jsx(UserRound, {
|
|
@@ -12,7 +12,7 @@ import { Sidebar } from "./sidebar.js";
|
|
|
12
12
|
import { useSidebarNoticeShown } from "./sidebar-notice.js";
|
|
13
13
|
import { TopBarSlotContext } from "./top-bar-slot.js";
|
|
14
14
|
import { useMenuPageBackground } from "./menu-page.js";
|
|
15
|
-
import { accountInTopBar, searchPlacement, useMorePageMode } from "./more-page.js";
|
|
15
|
+
import { accountInTopBar, phoneAppLook, searchPlacement, useMorePageMode } from "./more-page.js";
|
|
16
16
|
import { useBrandStatusBar } from "./brand-status-bar.js";
|
|
17
17
|
import { AccountEntry } from "./account-entry.js";
|
|
18
18
|
import { useCallback, useEffect, useRef, useState } from "react";
|
|
@@ -34,13 +34,14 @@ const AppShell = ({ sidebarMode, activeItem, breadcrumb, titleStatus, staleConte
|
|
|
34
34
|
const tabs = !desktop && bottomBar && bottomBar.length > 0 ? bottomBar : void 0;
|
|
35
35
|
const more = useMorePageMode(tabs, menuPage);
|
|
36
36
|
const accountOnTop = accountInTopBar(desktop);
|
|
37
|
+
const phoneLook = phoneAppLook(desktop);
|
|
37
38
|
const onMore = more.on && onNavigate ? () => onNavigate(more.href) : () => setDrawerOpen(true);
|
|
38
39
|
const menuShown = more.on && more.shown;
|
|
39
40
|
useMenuPageBackground(menuShown);
|
|
40
41
|
const [searchOpen, setSearchOpen] = useState(false);
|
|
41
42
|
const brandProbe = useRef(null);
|
|
42
43
|
const ShellLogo = logo ?? Logo;
|
|
43
|
-
useBrandStatusBar(
|
|
44
|
+
useBrandStatusBar(phoneLook, brandProbe);
|
|
44
45
|
const searchAt = search && searchPlacement({
|
|
45
46
|
desktop,
|
|
46
47
|
more: more.on,
|
|
@@ -117,8 +118,8 @@ const AppShell = ({ sidebarMode, activeItem, breadcrumb, titleStatus, staleConte
|
|
|
117
118
|
onNavigate,
|
|
118
119
|
onBack,
|
|
119
120
|
actions,
|
|
120
|
-
brand:
|
|
121
|
-
backInLeadingSlot:
|
|
121
|
+
brand: phoneLook,
|
|
122
|
+
backInLeadingSlot: phoneLook,
|
|
122
123
|
...firstTabShown && { leading: /* @__PURE__ */ jsx("div", {
|
|
123
124
|
className: "flex min-w-0 items-center",
|
|
124
125
|
onClick: () => tellLogoTap(),
|
|
@@ -130,7 +131,7 @@ const AppShell = ({ sidebarMode, activeItem, breadcrumb, titleStatus, staleConte
|
|
|
130
131
|
})
|
|
131
132
|
}) },
|
|
132
133
|
account: accountOnTop && /* @__PURE__ */ jsx(AccountEntry, {
|
|
133
|
-
onBrand:
|
|
134
|
+
onBrand: phoneLook,
|
|
134
135
|
user,
|
|
135
136
|
signIn,
|
|
136
137
|
open: profileMenuOpen,
|
|
@@ -3,10 +3,11 @@
|
|
|
3
3
|
export declare const brandBar = "bg-primary border-transparent";
|
|
4
4
|
/**
|
|
5
5
|
* The bar's content in the brand's foreground, the theme's own `primary-foreground`: its text and every icon and link in
|
|
6
|
-
* it, whatever colour class they carry elsewhere
|
|
7
|
-
* what
|
|
6
|
+
* it, whatever colour class they carry elsewhere, and a pressed or hovered button lit in it rather than the page's
|
|
7
|
+
* muted grey. Only on the bar's content: what covers the bar, such as search, and what opens from it, which is drawn at
|
|
8
|
+
* the document's root, keep the page's colours.
|
|
8
9
|
*/
|
|
9
|
-
export declare const brandContent = "text-primary-foreground [&_*]:text-primary-foreground";
|
|
10
|
+
export declare const brandContent = "text-primary-foreground [&_*]:text-primary-foreground [&_button:hover]:bg-primary-foreground/15";
|
|
10
11
|
/**
|
|
11
12
|
* The status bar's style over a bar of `color`: light text over a dark colour, dark text over a light one, as the
|
|
12
13
|
* native SystemBars plugin names them (`DARK` for a dark background).
|
|
@@ -3,10 +3,11 @@
|
|
|
3
3
|
const brandBar = "bg-primary border-transparent";
|
|
4
4
|
/**
|
|
5
5
|
* The bar's content in the brand's foreground, the theme's own `primary-foreground`: its text and every icon and link in
|
|
6
|
-
* it, whatever colour class they carry elsewhere
|
|
7
|
-
* what
|
|
6
|
+
* it, whatever colour class they carry elsewhere, and a pressed or hovered button lit in it rather than the page's
|
|
7
|
+
* muted grey. Only on the bar's content: what covers the bar, such as search, and what opens from it, which is drawn at
|
|
8
|
+
* the document's root, keep the page's colours.
|
|
8
9
|
*/
|
|
9
|
-
const brandContent = "text-primary-foreground [&_*]:text-primary-foreground";
|
|
10
|
+
const brandContent = "text-primary-foreground [&_*]:text-primary-foreground [&_button:hover]:bg-primary-foreground/15";
|
|
10
11
|
/**
|
|
11
12
|
* The status bar's style over a bar of `color`: light text over a dark colour, dark text over a light one, as the
|
|
12
13
|
* native SystemBars plugin names them (`DARK` for a dark background).
|
package/dist/app-shell/drawer.js
CHANGED
|
@@ -2,7 +2,7 @@ import { cn } from "../lib/cn.js";
|
|
|
2
2
|
import { useFocusTrap } from "../lib/use-focus-trap.js";
|
|
3
3
|
import { text } from "./messages.js";
|
|
4
4
|
import { useDrawerDrag } from "../primitives/use-drawer-drag.js";
|
|
5
|
-
import { useEffect, useRef, useState } from "react";
|
|
5
|
+
import { useEffect, useLayoutEffect, useRef, useState } from "react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region src/app-shell/drawer.tsx
|
|
8
8
|
/** How long the drawer takes to slide in and out, and its backdrop to fade. */
|
|
@@ -16,6 +16,11 @@ const drawerSlideMs = 200;
|
|
|
16
16
|
const Drawer = ({ id, open, onClose, children }) => {
|
|
17
17
|
const panel = useRef(null);
|
|
18
18
|
const backdrop = useRef(null);
|
|
19
|
+
useLayoutEffect(() => {
|
|
20
|
+
if (!open) return;
|
|
21
|
+
const field = document.activeElement;
|
|
22
|
+
if (field instanceof HTMLElement && field.matches("input, textarea, select, [contenteditable]")) field.blur();
|
|
23
|
+
}, [open]);
|
|
19
24
|
useFocusTrap(panel, open, onClose);
|
|
20
25
|
const draggedOut = useRef(false);
|
|
21
26
|
const { panelHandlers, backdropHandlers, dragged } = useDrawerDrag({
|
|
@@ -4,6 +4,10 @@
|
|
|
4
4
|
* bar's left inset, the app's mark or the back chevron, then the app's name or the page's title at the same place.
|
|
5
5
|
*/
|
|
6
6
|
export declare const leadingRow = "flex min-w-0 items-center gap-2.5";
|
|
7
|
-
/**
|
|
8
|
-
|
|
7
|
+
/**
|
|
8
|
+
* The slot's box: the app mark's size (`AppMark`'s `sm`), which the back chevron takes too. It grows with the text only
|
|
9
|
+
* up to 8% of the screen's width, as the bar's buttons do (`topBarButton`), so the title keeps its room beside it at
|
|
10
|
+
* the largest text sizes.
|
|
11
|
+
*/
|
|
12
|
+
export declare const leadingBox = "size-[min(1.75rem,max(28px,8vw))]";
|
|
9
13
|
//#endregion
|
|
@@ -4,7 +4,11 @@
|
|
|
4
4
|
* bar's left inset, the app's mark or the back chevron, then the app's name or the page's title at the same place.
|
|
5
5
|
*/
|
|
6
6
|
const leadingRow = "flex min-w-0 items-center gap-2.5";
|
|
7
|
-
/**
|
|
8
|
-
|
|
7
|
+
/**
|
|
8
|
+
* The slot's box: the app mark's size (`AppMark`'s `sm`), which the back chevron takes too. It grows with the text only
|
|
9
|
+
* up to 8% of the screen's width, as the bar's buttons do (`topBarButton`), so the title keeps its room beside it at
|
|
10
|
+
* the largest text sizes.
|
|
11
|
+
*/
|
|
12
|
+
const leadingBox = "size-[min(1.75rem,max(28px,8vw))]";
|
|
9
13
|
//#endregion
|
|
10
14
|
export { leadingBox, leadingRow };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/app-shell/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "signIn" | "loading" | "resources" | "organizations" | "system" | "roles" | "theme" | "breadcrumb" | "search" | "tabs" | "navigation" | "more" | "openNavigation" | "backTo" | "closeSearch" | "clearSearch" | "globalSearch" | "searchResults" | "searching" | "noMatches" | "accountOf" | "profileMenu" | "signOut" | "light" | "dark" | "recent" | "couldNotLoad" | "viewAll" | "couldNotSearch", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "signIn" | "loading" | "resources" | "organizations" | "system" | "roles" | "theme" | "breadcrumb" | "search" | "tabs" | "navigation" | "more" | "openNavigation" | "backTo" | "closeSearch" | "clearSearch" | "globalSearch" | "searchResults" | "searching" | "noMatches" | "accountOf" | "profileMenu" | "signOut" | "light" | "dark" | "recent" | "couldNotLoad" | "viewAll" | "couldNotSearch", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -33,6 +33,12 @@ export declare const useMorePageMode: (tabs: BottomBarTab[] | undefined, menuPag
|
|
|
33
33
|
* the bottom of the sidebar: on every phone-width page, so its menu never opens over the sidebar's drawer.
|
|
34
34
|
*/
|
|
35
35
|
export declare const accountInTopBar: (desktop: boolean) => boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Whether the top bar looks as a phone app's does: in the brand colour up behind the status bar, the way back in the
|
|
38
|
+
* leading slot beside the title, the account on the brand colour. On every phone-width page, with a bottom bar or
|
|
39
|
+
* without; More page mode changes only how the app is navigated (tabs and More rather than the menu button and drawer).
|
|
40
|
+
*/
|
|
41
|
+
export declare const phoneAppLook: (desktop: boolean) => boolean;
|
|
36
42
|
/**
|
|
37
43
|
* Where search is: in the top bar on a desktop and on a phone without a bottom bar; in More page mode, in the bottom bar
|
|
38
44
|
* where the app put it there (`m.search()`), and otherwise at the top of the More page.
|
|
@@ -22,9 +22,15 @@ const useMorePageMode = (tabs, menuPage) => morePageMode({
|
|
|
22
22
|
*/
|
|
23
23
|
const accountInTopBar = (desktop) => !desktop;
|
|
24
24
|
/**
|
|
25
|
+
* Whether the top bar looks as a phone app's does: in the brand colour up behind the status bar, the way back in the
|
|
26
|
+
* leading slot beside the title, the account on the brand colour. On every phone-width page, with a bottom bar or
|
|
27
|
+
* without; More page mode changes only how the app is navigated (tabs and More rather than the menu button and drawer).
|
|
28
|
+
*/
|
|
29
|
+
const phoneAppLook = (desktop) => !desktop;
|
|
30
|
+
/**
|
|
25
31
|
* Where search is: in the top bar on a desktop and on a phone without a bottom bar; in More page mode, in the bottom bar
|
|
26
32
|
* where the app put it there (`m.search()`), and otherwise at the top of the More page.
|
|
27
33
|
*/
|
|
28
34
|
const searchPlacement = ({ desktop, more, inBottomBar }) => desktop || !more ? "top-bar" : inBottomBar ? "bottom-bar" : "more-page";
|
|
29
35
|
//#endregion
|
|
30
|
-
export { accountInTopBar, morePageMode, searchPlacement, useMorePageMode };
|
|
36
|
+
export { accountInTopBar, morePageMode, phoneAppLook, searchPlacement, useMorePageMode };
|
|
@@ -22,6 +22,7 @@ const ProfileMenu = ({ user, compact, open: controlled, items = [], account, onN
|
|
|
22
22
|
useEffect(() => {
|
|
23
23
|
if (!open || controlled !== void 0) return;
|
|
24
24
|
const close = (event) => {
|
|
25
|
+
if (menuRef.current?.closest("[aria-modal=\"true\"]")) return;
|
|
25
26
|
const inside = root.current?.contains(event.target) || menuRef.current?.contains(event.target);
|
|
26
27
|
if (event instanceof KeyboardEvent ? event.key === "Escape" : !inside) setLocal(false);
|
|
27
28
|
};
|
|
@@ -60,6 +61,7 @@ const ProfileMenu = ({ user, compact, open: controlled, items = [], account, onN
|
|
|
60
61
|
role: "menuitem",
|
|
61
62
|
href: account,
|
|
62
63
|
onClick: (event) => follow(event, account),
|
|
64
|
+
"data-menu-heading": "",
|
|
63
65
|
className: "block border-b px-3 pb-2 pt-1.5 hover:bg-muted",
|
|
64
66
|
children: [/* @__PURE__ */ jsx("div", {
|
|
65
67
|
className: "font-medium",
|
|
@@ -69,6 +71,7 @@ const ProfileMenu = ({ user, compact, open: controlled, items = [], account, onN
|
|
|
69
71
|
children: user.email
|
|
70
72
|
})]
|
|
71
73
|
}) : /* @__PURE__ */ jsxs("div", {
|
|
74
|
+
"data-menu-heading": "",
|
|
72
75
|
className: "border-b px-3 pb-2 pt-1.5",
|
|
73
76
|
children: [/* @__PURE__ */ jsx("div", {
|
|
74
77
|
className: "font-medium",
|
|
@@ -166,7 +169,7 @@ const ProfileMenu = ({ user, compact, open: controlled, items = [], account, onN
|
|
|
166
169
|
className: "relative",
|
|
167
170
|
children: [/* @__PURE__ */ jsxs("button", {
|
|
168
171
|
type: "button",
|
|
169
|
-
className: inTopBar ? cn(topBarBox, "flex items-center justify-center rounded-
|
|
172
|
+
className: inTopBar ? cn(topBarBox, "flex items-center justify-center rounded-full hover:bg-muted") : "flex min-h-11 w-full items-center gap-2.5 rounded-md p-1 text-left hover:bg-muted md:min-h-0",
|
|
170
173
|
"aria-label": label ?? text("profileMenu"),
|
|
171
174
|
"aria-haspopup": "menu",
|
|
172
175
|
"aria-expanded": open,
|
|
@@ -177,14 +180,12 @@ const ProfileMenu = ({ user, compact, open: controlled, items = [], account, onN
|
|
|
177
180
|
children: /* @__PURE__ */ jsx(Avatar, {
|
|
178
181
|
initials: user.initials,
|
|
179
182
|
hue: user.hue,
|
|
180
|
-
size: "bar"
|
|
181
|
-
className: "ring-0"
|
|
183
|
+
size: "bar"
|
|
182
184
|
})
|
|
183
185
|
}) : /* @__PURE__ */ jsx(Avatar, {
|
|
184
186
|
initials: user.initials,
|
|
185
187
|
hue: user.hue,
|
|
186
|
-
size: "md"
|
|
187
|
-
className: "ring-0"
|
|
188
|
+
size: "md"
|
|
188
189
|
}), !compact && /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsxs("span", {
|
|
189
190
|
className: "min-w-0 flex-1 leading-tight",
|
|
190
191
|
children: [status?.mark ? /* @__PURE__ */ jsxs("span", {
|
|
@@ -60,7 +60,7 @@ const TopBar = ({ breadcrumb, titleStatus, onNavigate, onBack, actions, brand, l
|
|
|
60
60
|
className: "pointer-events-none absolute inset-x-0 bottom-full h-screen bg-primary md:hidden"
|
|
61
61
|
}),
|
|
62
62
|
/* @__PURE__ */ jsxs("div", {
|
|
63
|
-
className: cn("contents", brand && "text-primary-foreground [&_*]:text-primary-foreground"),
|
|
63
|
+
className: cn("contents", brand && "text-primary-foreground [&_*]:text-primary-foreground [&_button:hover]:bg-primary-foreground/15"),
|
|
64
64
|
children: [
|
|
65
65
|
onMenu && /* @__PURE__ */ jsx("button", {
|
|
66
66
|
type: "button",
|
|
@@ -89,7 +89,7 @@ const TopBar = ({ breadcrumb, titleStatus, onNavigate, onBack, actions, brand, l
|
|
|
89
89
|
event.preventDefault();
|
|
90
90
|
follow(back.href);
|
|
91
91
|
},
|
|
92
|
-
className: cn("size-
|
|
92
|
+
className: cn("size-[min(1.75rem,max(28px,8vw))]", "relative flex shrink-0 items-center justify-center rounded-full text-foreground after:absolute after:-inset-2 [&_svg]:size-[min(1.5rem,max(24px,7vw))]"),
|
|
93
93
|
children: /* @__PURE__ */ jsx(ChevronLeft, { "aria-hidden": true })
|
|
94
94
|
}), /* @__PURE__ */ jsx(Breadcrumb, {
|
|
95
95
|
parts: breadcrumb,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/assistant-dock/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "reconnecting" | "empty" | "askQuestion" | "assistant" | "noAnswer" | "backendNoAnswer" | "couldNotDraw" | "cannotShowLive", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "reconnecting" | "empty" | "askQuestion" | "assistant" | "noAnswer" | "backendNoAnswer" | "couldNotDraw" | "cannotShowLive", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
package/dist/auth/messages.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/auth/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "email" | "password" | "emailCode" | "reason" | "signIn" | "loading" | "admin" | "or" | "reload" | "yourName" | "continue" | "signOut" | "noAnswer" | "tooManyRequests" | "code" | "setPassword" | "newPassword" | "verify" | "cannotReach" | "tryAgain" | "passwordChanged" | "backupCode" | "passwordOptional" | "backToSignIn" | "useAnotherAddress" | "checkEmail" | "newCodeSent" | "sendNewCode" | "sendNewCodeIn" | "signInCodeDescription" | "signInCodeSent" | "signUpCodeDescription" | "signUpCodeSent" | "noAdminTitle" | "noAdminDescription" | "noAdminExplanation" | "copyCommand" | "firstAdminExplanation" | "firstAdminLink" | "tooManyAttempts" | "resetTitle" | "resetDescription" | "sendResetLink" | "resetSent" | "linkExpiredTitle" | "linkExpiredExplanation" | "sendNewLink" | "passwordsDiffer" | "choosePassword" | "atLeast" | "useAtLeast" | "passwordTooLong" | "repeatPassword" | "signingInWith" | "takingYouTo" | "providerNotOffered" | "turnOnTwoFactor" | "addPasskey" | "requiredForEveryAccount" | "passkeyExplanation" | "couldNotReadAccount" | "signInTitle" | "runsOnProtobase" | "continueWith" | "signInWithPasskey" | "passkeyFor" | "emailSignInCode" | "usePassword" | "forgotPassword" | "newHere" | "haveAccount" | "createAnAccount" | "browse" | "notNow" | "detailsTitle" | "detailsDescription" | "codeWasRight" | "withoutPassword" | "createAccount" | "codeToConfirm" | "browseWithoutAccount" | "staffTitle" | "staffUnavailable" | "signInAsPerson" | "forStaffOf" | "theirEmail" | "reasonExample" | "staffExplanation" | "totpInstruction" | "otpInstruction" | "backupInstruction" | "twoFactorTitle" | "twoFactorDescription" | "codeToFinish" | "trustBrowser" | "trustBrowserFor" | "useAuthenticator" | "emailCodeInstead" | "useBackupCode", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "email" | "password" | "emailCode" | "reason" | "signIn" | "loading" | "admin" | "or" | "reload" | "yourName" | "continue" | "signOut" | "noAnswer" | "tooManyRequests" | "code" | "setPassword" | "newPassword" | "verify" | "cannotReach" | "tryAgain" | "passwordChanged" | "backupCode" | "passwordOptional" | "backToSignIn" | "useAnotherAddress" | "checkEmail" | "newCodeSent" | "sendNewCode" | "sendNewCodeIn" | "signInCodeDescription" | "signInCodeSent" | "signUpCodeDescription" | "signUpCodeSent" | "noAdminTitle" | "noAdminDescription" | "noAdminExplanation" | "copyCommand" | "firstAdminExplanation" | "firstAdminLink" | "tooManyAttempts" | "resetTitle" | "resetDescription" | "sendResetLink" | "resetSent" | "linkExpiredTitle" | "linkExpiredExplanation" | "sendNewLink" | "passwordsDiffer" | "choosePassword" | "atLeast" | "useAtLeast" | "passwordTooLong" | "repeatPassword" | "signingInWith" | "takingYouTo" | "providerNotOffered" | "turnOnTwoFactor" | "addPasskey" | "requiredForEveryAccount" | "passkeyExplanation" | "couldNotReadAccount" | "signInTitle" | "runsOnProtobase" | "continueWith" | "signInWithPasskey" | "passkeyFor" | "emailSignInCode" | "usePassword" | "forgotPassword" | "newHere" | "haveAccount" | "createAnAccount" | "browse" | "notNow" | "detailsTitle" | "detailsDescription" | "codeWasRight" | "withoutPassword" | "createAccount" | "codeToConfirm" | "browseWithoutAccount" | "staffTitle" | "staffUnavailable" | "signInAsPerson" | "forStaffOf" | "theirEmail" | "reasonExample" | "staffExplanation" | "totpInstruction" | "otpInstruction" | "backupInstruction" | "twoFactorTitle" | "twoFactorDescription" | "codeToFinish" | "trustBrowser" | "trustBrowserFor" | "useAuthenticator" | "emailCodeInstead" | "useBackupCode", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
package/dist/calls/messages.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/calls/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "ended" | "removed" | "full" | "refused" | "unavailable" | "denied" | "leave" | "accept" | "join" | "camera" | "microphone" | "you" | "decline" | "startCall" | "inProgress" | "people" | "joinCall" | "shareScreen" | "stopSharing" | "muted" | "alone" | "connecting" | "reconnecting" | "callAgain" | "noMicrophone" | "noCamera" | "noDevices" | "cannotConnect" | "poorConnection" | "goodConnection" | "sharing" | "youAreSharing" | "speaking" | "preview" | "guestName" | "waiting" | "askToJoin" | "someone" | "guests" | "waitingGuest" | "admit" | "deny" | "remove" | "revoke" | "newLink" | "copyLink" | "copied" | "guestLinks" | "noLinks" | "inLobby" | "guestsInCall" | "guestsMaySend" | "sendAll" | "sendCamera" | "sendMicrophone" | "linkUntil" | "linkUntilEnd" | "linkLasts" | "forAnHour" | "addressesVisible" | "guestRefused" | "close" | "yourName" | "guestIntro" | "continue" | "youLeft", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "ended" | "removed" | "full" | "refused" | "unavailable" | "denied" | "leave" | "accept" | "join" | "camera" | "microphone" | "you" | "decline" | "startCall" | "inProgress" | "people" | "joinCall" | "shareScreen" | "stopSharing" | "muted" | "alone" | "connecting" | "reconnecting" | "callAgain" | "noMicrophone" | "noCamera" | "noDevices" | "cannotConnect" | "poorConnection" | "goodConnection" | "sharing" | "youAreSharing" | "speaking" | "preview" | "guestName" | "waiting" | "askToJoin" | "someone" | "guests" | "waitingGuest" | "admit" | "deny" | "remove" | "revoke" | "newLink" | "copyLink" | "copied" | "guestLinks" | "noLinks" | "inLobby" | "guestsInCall" | "guestsMaySend" | "sendAll" | "sendCamera" | "sendMicrophone" | "linkUntil" | "linkUntilEnd" | "linkLasts" | "forAnHour" | "addressesVisible" | "guestRefused" | "close" | "yourName" | "guestIntro" | "continue" | "youLeft", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
package/dist/chat/messages.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/chat/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "send" | "message" | "today" | "yesterday" | "newMessages" | "loadEarlier" | "working", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "send" | "message" | "today" | "yesterday" | "newMessages" | "loadEarlier" | "working", 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/compact-table/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "table" | "rows" | "noRows" | "cutOff", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "table" | "rows" | "noRows" | "cutOff", 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/data-grid/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "row" | "new" | "
|
|
5
|
-
rich(id: "row" | "new" | "
|
|
4
|
+
(id: "row" | "new" | "no" | "shownIn" | "unsortable" | "columnMenu" | "unpin" | "pinToLeft" | "resizeColumn" | "selected" | "clearSelection" | "noRowsSelected" | "selectRow" | "rowActions" | "move" | "reorderInstructions" | "pickedUp" | "isOver" | "droppedAt" | "putBack" | "cancelled", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "row" | "new" | "no" | "shownIn" | "unsortable" | "columnMenu" | "unpin" | "pinToLeft" | "resizeColumn" | "selected" | "clearSelection" | "noRowsSelected" | "selectRow" | "rowActions" | "move" | "reorderInstructions" | "pickedUp" | "isOver" | "droppedAt" | "putBack" | "cancelled", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/filter-panel/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "remove" | "
|
|
5
|
-
rich(id: "remove" | "
|
|
4
|
+
(id: "remove" | "date" | "year" | "month" | "today" | "yesterday" | "noMatches" | "maximum" | "minimum" | "24h" | "7d" | "30d" | "90d" | "quarter" | "unknownPreset" | "unsupported" | "clearAll" | "searchIn" | "moreFilters" | "filters" | "showOnly", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "remove" | "date" | "year" | "month" | "today" | "yesterday" | "noMatches" | "maximum" | "minimum" | "24h" | "7d" | "30d" | "90d" | "quarter" | "unknownPreset" | "unsupported" | "clearAll" | "searchIn" | "moreFilters" | "filters" | "showOnly", 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/invitations/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "email" | "revoke" | "
|
|
5
|
-
rich(id: "email" | "revoke" | "
|
|
4
|
+
(id: "email" | "revoke" | "until" | "invite" | "expired" | "sendAgain" | "passLinkOn", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "email" | "revoke" | "until" | "invite" | "expired" | "sendAgain" | "passLinkOn", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
package/dist/live/messages.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/live/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "yes" | "no" | "shownIn" | "fileMissing" | "jsonItems", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "yes" | "no" | "shownIn" | "fileMissing" | "jsonItems", 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/mentions/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "couldNotSearch" | "peopleToMention" | "noOneFound", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "couldNotSearch" | "peopleToMention" | "noOneFound", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
package/dist/mocks/orders.d.ts
CHANGED
|
@@ -10,9 +10,9 @@ export declare const orderAt: (index: number) => {
|
|
|
10
10
|
name: string;
|
|
11
11
|
};
|
|
12
12
|
country: "GB" | "NL" | "DE";
|
|
13
|
-
status: "
|
|
13
|
+
status: "draft" | "cancelled" | "confirmed" | "picking" | "shipped" | "delivered";
|
|
14
14
|
totalCents: number;
|
|
15
|
-
discount: 0 | 15 |
|
|
15
|
+
discount: 0 | 15 | 10 | 5;
|
|
16
16
|
paid: boolean;
|
|
17
17
|
createdAt: number;
|
|
18
18
|
owner: "u2" | "u5" | "u8";
|