@protobase/ui 0.115.0 → 0.116.0
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/comments/messages.d.ts +2 -2
- package/dist/app/confirm-sign-in-messages.d.ts +2 -2
- package/dist/app/conversation/messages.d.ts +2 -2
- package/dist/app/conversation/thread-state.d.ts +1 -1
- package/dist/app/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/embedded-list/messages.d.ts +2 -2
- package/dist/app/export/messages.d.ts +2 -2
- package/dist/app/field-messages.d.ts +2 -2
- package/dist/app/field-types/custom-step-container/messages.d.ts +2 -2
- package/dist/app/field-types/runner-install/messages.d.ts +2 -2
- package/dist/app/field-types/widget-part.d.ts +1 -1
- package/dist/app/field-types/workflow/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/custom-boundary.d.ts +1 -1
- package/dist/app/pages/custom-chosen.d.ts +1 -1
- package/dist/app/pages/messages.d.ts +2 -2
- package/dist/app/record-chart/messages.d.ts +2 -2
- package/dist/app/record-messages.d.ts +2 -2
- package/dist/app/record-row/messages.d.ts +2 -2
- package/dist/app/related-cards/messages.d.ts +2 -2
- package/dist/app/runtime/messages.d.ts +2 -2
- package/dist/app/saved/messages.d.ts +2 -2
- package/dist/app/saved/saved-list.d.ts +1 -1
- package/dist/app/saved/use-favorite.d.ts +1 -1
- package/dist/app/search/messages.d.ts +2 -2
- package/dist/app/searches/messages.d.ts +2 -2
- package/dist/app/searches/use-save-search.d.ts +1 -1
- package/dist/app-shell/messages.d.ts +2 -2
- package/dist/assistant-dock/messages.d.ts +2 -2
- package/dist/auth/auth-provider.d.ts +3 -2
- package/dist/auth/auth-provider.js +8 -5
- package/dist/auth/messages.d.ts +2 -2
- package/dist/auth/native-sign-in.d.ts +11 -0
- package/dist/auth/native-sign-in.js +11 -0
- 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/column-spec.d.ts +1 -1
- package/dist/data-grid/messages.d.ts +2 -2
- package/dist/filter-panel/messages.d.ts +2 -2
- package/dist/format/messages.d.ts +2 -2
- package/dist/forms/messages.d.ts +2 -2
- package/dist/inline-child-table/messages.d.ts +2 -2
- package/dist/invitations/messages.d.ts +2 -2
- package/dist/live/messages.d.ts +2 -2
- package/dist/mailbox/messages.d.ts +2 -2
- package/dist/mentions/messages.d.ts +2 -2
- package/dist/mocks/customers.d.ts +1 -1
- package/dist/mocks/invoices.d.ts +2 -2
- package/dist/mocks/orders.d.ts +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/before-sign-in.d.ts +1 -1
- package/dist/plugins/messages.d.ts +2 -2
- package/dist/primitives/messages.d.ts +2 -2
- package/dist/record-view/messages.d.ts +2 -2
- package/dist/shell/assets/{account-page-XnRBgIm3.js → account-page-9Aq9kvrG.js} +2 -2
- package/dist/shell/assets/app-BnDutf0s.js +34 -0
- package/dist/shell/assets/{app-BdzxOK1l.css → app-DcrDZ6Fc.css} +1 -1
- package/dist/shell/assets/{assistant-shell-B0UOjO9j.js → assistant-shell-BGtjYwwY.js} +2 -2
- package/dist/shell/assets/{board-display-82tI8eop.js → board-display-Ck6nnv4b.js} +2 -2
- package/dist/shell/assets/{calendar-display-DdVa8wHA.js → calendar-display-DKXi1P_o.js} +2 -2
- package/dist/shell/assets/{call-rings-CtUeFpjU.js → call-rings-Bs9dtURX.js} +2 -2
- package/dist/shell/assets/{calls-Joul8uMN.js → calls-DR-Ci2ND.js} +2 -2
- package/dist/shell/assets/{circle-alert-CKfEY2eG.js → circle-alert-C0Jeesr7.js} +2 -2
- package/dist/shell/assets/{composed-page-BRTMBrpL.js → composed-page-Bdzzzuyj.js} +2 -2
- package/dist/shell/assets/{composer-section-DAIjBfXV.js → composer-section-rLoyhseD.js} +2 -2
- package/dist/shell/assets/{connect-route-DApl7e0e.js → connect-route-B9xNNieq.js} +2 -2
- package/dist/shell/assets/{copy-field-BHZX0DSt.js → copy-field-DkCyHPwg.js} +2 -2
- package/dist/shell/assets/{create-route-V5JNc_Kq.js → create-route-DBrv5Kqi.js} +2 -2
- package/dist/shell/assets/{custom-step-container-field-DC27oiuQ.js → custom-step-container-field-Do5pWJ_q.js} +2 -2
- package/dist/shell/assets/{embedded-list-DAjlopsR.js → embedded-list-CPgxhzPw.js} +3 -3
- package/dist/shell/assets/{export-dialog-Co7gghJ9.js → export-dialog-CovrAwYy.js} +2 -2
- package/dist/shell/assets/{graph-view-D7yvxu1M.js → graph-view-BfRhAOfb.js} +2 -2
- package/dist/shell/assets/{group-donut-BrffJgvP.js → group-donut-DC8GLnC8.js} +2 -2
- package/dist/shell/assets/{guest-call-page-B0thHXzD.js → guest-call-page-Dc8M5yz6.js} +3 -3
- package/dist/shell/assets/{html-viewer-BbtenCM5.js → html-viewer-DH_s-gLB.js} +2 -2
- package/dist/shell/assets/{import-dialog-Q-qqFWmI.js → import-dialog-Ge24RdwQ.js} +2 -2
- package/dist/shell/assets/{import-table-dialog-CEDYy6gW.js → import-table-dialog-D1aVXF3R.js} +2 -2
- package/dist/shell/assets/{index-ygoGHYZq.js → index-Bi_Jks-d.js} +1 -1
- package/dist/shell/assets/{invitations-page-DZ_oGyRY.js → invitations-page-CFwYUoqb.js} +2 -2
- package/dist/shell/assets/{layout-grid-DV6ebMSb.js → layout-grid-DCBxzjaE.js} +2 -2
- package/dist/shell/assets/{legend-item-ClY5HSFP.js → legend-item-BZXnHPzh.js} +2 -2
- package/dist/shell/assets/{list-page-CxylG_Bi.js → list-page-DwIEEzTz.js} +4 -4
- package/dist/shell/assets/{maplibre-BIJVsLGQ.js → maplibre-C7kZagL3.js} +2 -2
- package/dist/shell/assets/{markdown-content-B-r0DBG0.js → markdown-content-DMl-cVjQ.js} +2 -2
- package/dist/shell/assets/{members-page-UU96y7EQ.js → members-page-BfrzLCXo.js} +2 -2
- package/dist/shell/assets/{messages-03zmq2oA.js → messages-D5XhIbDz.js} +2 -2
- package/dist/shell/assets/{organization-page-Bj3c9EW9.js → organization-page-DxA2154P.js} +2 -2
- package/dist/shell/assets/{organizations-page-Cwn2LlFj.js → organizations-page-Bf4oXbvZ.js} +2 -2
- package/dist/shell/assets/{pending-invitation-row-JzQ9tOn_.js → pending-invitation-row-BIO4J3ts.js} +2 -2
- package/dist/shell/assets/{period-chart-CWBy03F7.js → period-chart-CoT2IDzy.js} +2 -2
- package/dist/shell/assets/{person-row-BJP4ag6H.js → person-row-DBeHOA2K.js} +2 -2
- package/dist/shell/assets/{public-form-page-Ct45rBwR.js → public-form-page-Dhinql3j.js} +2 -2
- package/dist/shell/assets/{record-lines-DCs-txvG.js → record-lines-Dmb8bl38.js} +2 -2
- package/dist/shell/assets/{record-map-BMZTdCJn.js → record-map-BR34Q9uI.js} +2 -2
- package/dist/shell/assets/{record-opens-DQrqEFru.js → record-opens-Dbjd4FLe.js} +2 -2
- package/dist/shell/assets/{record-page-C6tevfpa.js → record-page-Dnpo_8uE.js} +3 -3
- package/dist/shell/assets/{record-preview-Bqm2whUV.js → record-preview-CarOT-Gn.js} +2 -2
- package/dist/shell/assets/{records-map-Dq1fZ0Ll.js → records-map-CXanq-qN.js} +2 -2
- package/dist/shell/assets/{render-node-DQMrGelM.js → render-node-DGYXKoGV.js} +3 -3
- package/dist/shell/assets/{reorder-button-C8G3bjeB.js → reorder-button-9_dAk_3O.js} +2 -2
- package/dist/shell/assets/{run-trace-view-BoSTWwYy.js → run-trace-view-D1DZCrDs.js} +2 -2
- package/dist/shell/assets/{runner-install-field-BcduhfGA.js → runner-install-field-C2XhrG0M.js} +2 -2
- package/dist/shell/assets/{runtime-update-BRoaUFOx.js → runtime-update-C5TxLpYf.js} +2 -2
- package/dist/shell/assets/{shared-protobase-ui-Ck4mYbeU.js → shared-protobase-ui-HnfzBwws.js} +1 -1
- package/dist/shell/assets/{sheet-source-RncsoczT.js → sheet-source-DqFYbJpm.js} +2 -2
- package/dist/shell/assets/{sign-in-policy-page-azN2k0xv.js → sign-in-policy-page-vjGTg9Do.js} +2 -2
- package/dist/shell/assets/{start-block-queries-kp3ICAXt.js → start-block-queries-CmVDv8_F.js} +2 -2
- package/dist/shell/assets/{step-catalog-QFTLEUUW.js → step-catalog-PWiIgJSI.js} +2 -2
- package/dist/shell/assets/{step-panel-CcBoYcad.js → step-panel-TfW-31Gv.js} +2 -2
- package/dist/shell/assets/{timeline-display-Cr61_SZU.js → timeline-display-eBf3tuig.js} +2 -2
- package/dist/shell/assets/{trash-Bb3IsZeK.js → trash-BjnGkZfx.js} +2 -2
- package/dist/shell/assets/{update-set-D8rImCxw.js → update-set-BahNKmxv.js} +2 -2
- package/dist/shell/assets/{use-calendar-move-DP_MzXTz.js → use-calendar-move-Bfp2yC0P.js} +2 -2
- package/dist/shell/assets/{use-display-rows-3xQM1gvv.js → use-display-rows-DsBBYuKB.js} +2 -2
- package/dist/shell/assets/{use-paged-search-DcNUhIL9.js → use-paged-search-DaT4uUhX.js} +2 -2
- package/dist/shell/assets/{use-run-trace-B9v2XkVL.js → use-run-trace-DHk7l8MX.js} +2 -2
- package/dist/shell/assets/{use-workflow-page-DZZERjMt.js → use-workflow-page-DPIhXcnb.js} +2 -2
- package/dist/shell/assets/{use-workflow-types-BRe2O0QF.js → use-workflow-types-Bp8iqkBg.js} +2 -2
- package/dist/shell/assets/{workflow-canvas-Be_DnY83.js → workflow-canvas-CiGUTx4K.js} +2 -2
- package/dist/shell/assets/{workflow-field-D3BW-Lvk.js → workflow-field-lqBx3RDj.js} +3 -3
- package/dist/shell/assets/{workflow-graph-editor-J0pJUxAk.js → workflow-graph-editor-DgufTFii.js} +2 -2
- package/dist/shell/assets/{workflow-run-field-DCoSJYVl.js → workflow-run-field-C4BtvPnB.js} +3 -3
- package/dist/shell/assets/{workflow-status-field-btxWS0rc.js → workflow-status-field-CqDaP0V9.js} +2 -2
- package/dist/shell/assets/{workflow-workbench-lBJ6-WBD.js → workflow-workbench-CgL6wHPG.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-XnRBgIm3.js.map → account-page-9Aq9kvrG.js.map} +1 -1
- package/dist/shell-source-maps/assets/app-BnDutf0s.js.map +1 -0
- package/dist/shell-source-maps/assets/{assistant-shell-B0UOjO9j.js.map → assistant-shell-BGtjYwwY.js.map} +1 -1
- package/dist/shell-source-maps/assets/{board-display-82tI8eop.js.map → board-display-Ck6nnv4b.js.map} +1 -1
- package/dist/shell-source-maps/assets/{calendar-display-DdVa8wHA.js.map → calendar-display-DKXi1P_o.js.map} +1 -1
- package/dist/shell-source-maps/assets/{call-rings-CtUeFpjU.js.map → call-rings-Bs9dtURX.js.map} +1 -1
- package/dist/shell-source-maps/assets/{calls-Joul8uMN.js.map → calls-DR-Ci2ND.js.map} +1 -1
- package/dist/shell-source-maps/assets/{circle-alert-CKfEY2eG.js.map → circle-alert-C0Jeesr7.js.map} +1 -1
- package/dist/shell-source-maps/assets/{composed-page-BRTMBrpL.js.map → composed-page-Bdzzzuyj.js.map} +1 -1
- package/dist/shell-source-maps/assets/{composer-section-DAIjBfXV.js.map → composer-section-rLoyhseD.js.map} +1 -1
- package/dist/shell-source-maps/assets/{connect-route-DApl7e0e.js.map → connect-route-B9xNNieq.js.map} +1 -1
- package/dist/shell-source-maps/assets/{copy-field-BHZX0DSt.js.map → copy-field-DkCyHPwg.js.map} +1 -1
- package/dist/shell-source-maps/assets/{create-route-V5JNc_Kq.js.map → create-route-DBrv5Kqi.js.map} +1 -1
- package/dist/shell-source-maps/assets/{custom-step-container-field-DC27oiuQ.js.map → custom-step-container-field-Do5pWJ_q.js.map} +1 -1
- package/dist/shell-source-maps/assets/{embedded-list-DAjlopsR.js.map → embedded-list-CPgxhzPw.js.map} +1 -1
- package/dist/shell-source-maps/assets/{export-dialog-Co7gghJ9.js.map → export-dialog-CovrAwYy.js.map} +1 -1
- package/dist/shell-source-maps/assets/{graph-view-D7yvxu1M.js.map → graph-view-BfRhAOfb.js.map} +1 -1
- package/dist/shell-source-maps/assets/{group-donut-BrffJgvP.js.map → group-donut-DC8GLnC8.js.map} +1 -1
- package/dist/shell-source-maps/assets/{guest-call-page-B0thHXzD.js.map → guest-call-page-Dc8M5yz6.js.map} +1 -1
- package/dist/shell-source-maps/assets/{html-viewer-BbtenCM5.js.map → html-viewer-DH_s-gLB.js.map} +1 -1
- package/dist/shell-source-maps/assets/{import-dialog-Q-qqFWmI.js.map → import-dialog-Ge24RdwQ.js.map} +1 -1
- package/dist/shell-source-maps/assets/{import-table-dialog-CEDYy6gW.js.map → import-table-dialog-D1aVXF3R.js.map} +1 -1
- package/dist/shell-source-maps/assets/{invitations-page-DZ_oGyRY.js.map → invitations-page-CFwYUoqb.js.map} +1 -1
- package/dist/shell-source-maps/assets/{layout-grid-DV6ebMSb.js.map → layout-grid-DCBxzjaE.js.map} +1 -1
- package/dist/shell-source-maps/assets/{legend-item-ClY5HSFP.js.map → legend-item-BZXnHPzh.js.map} +1 -1
- package/dist/shell-source-maps/assets/{list-page-CxylG_Bi.js.map → list-page-DwIEEzTz.js.map} +1 -1
- package/dist/shell-source-maps/assets/{maplibre-BIJVsLGQ.js.map → maplibre-C7kZagL3.js.map} +1 -1
- package/dist/shell-source-maps/assets/{markdown-content-B-r0DBG0.js.map → markdown-content-DMl-cVjQ.js.map} +1 -1
- package/dist/shell-source-maps/assets/{members-page-UU96y7EQ.js.map → members-page-BfrzLCXo.js.map} +1 -1
- package/dist/shell-source-maps/assets/{messages-03zmq2oA.js.map → messages-D5XhIbDz.js.map} +1 -1
- package/dist/shell-source-maps/assets/{organization-page-Bj3c9EW9.js.map → organization-page-DxA2154P.js.map} +1 -1
- package/dist/shell-source-maps/assets/{organizations-page-Cwn2LlFj.js.map → organizations-page-Bf4oXbvZ.js.map} +1 -1
- package/dist/shell-source-maps/assets/{pending-invitation-row-JzQ9tOn_.js.map → pending-invitation-row-BIO4J3ts.js.map} +1 -1
- package/dist/shell-source-maps/assets/{period-chart-CWBy03F7.js.map → period-chart-CoT2IDzy.js.map} +1 -1
- package/dist/shell-source-maps/assets/{person-row-BJP4ag6H.js.map → person-row-DBeHOA2K.js.map} +1 -1
- package/dist/shell-source-maps/assets/{public-form-page-Ct45rBwR.js.map → public-form-page-Dhinql3j.js.map} +1 -1
- package/dist/shell-source-maps/assets/{record-lines-DCs-txvG.js.map → record-lines-Dmb8bl38.js.map} +1 -1
- package/dist/shell-source-maps/assets/{record-map-BMZTdCJn.js.map → record-map-BR34Q9uI.js.map} +1 -1
- package/dist/shell-source-maps/assets/{record-opens-DQrqEFru.js.map → record-opens-Dbjd4FLe.js.map} +1 -1
- package/dist/shell-source-maps/assets/{record-page-C6tevfpa.js.map → record-page-Dnpo_8uE.js.map} +1 -1
- package/dist/shell-source-maps/assets/{record-preview-Bqm2whUV.js.map → record-preview-CarOT-Gn.js.map} +1 -1
- package/dist/shell-source-maps/assets/{records-map-Dq1fZ0Ll.js.map → records-map-CXanq-qN.js.map} +1 -1
- package/dist/shell-source-maps/assets/{render-node-DQMrGelM.js.map → render-node-DGYXKoGV.js.map} +1 -1
- package/dist/shell-source-maps/assets/{reorder-button-C8G3bjeB.js.map → reorder-button-9_dAk_3O.js.map} +1 -1
- package/dist/shell-source-maps/assets/{run-trace-view-BoSTWwYy.js.map → run-trace-view-D1DZCrDs.js.map} +1 -1
- package/dist/shell-source-maps/assets/{runner-install-field-BcduhfGA.js.map → runner-install-field-C2XhrG0M.js.map} +1 -1
- package/dist/shell-source-maps/assets/{runtime-update-BRoaUFOx.js.map → runtime-update-C5TxLpYf.js.map} +1 -1
- package/dist/shell-source-maps/assets/{sheet-source-RncsoczT.js.map → sheet-source-DqFYbJpm.js.map} +1 -1
- package/dist/shell-source-maps/assets/{sign-in-policy-page-azN2k0xv.js.map → sign-in-policy-page-vjGTg9Do.js.map} +1 -1
- package/dist/shell-source-maps/assets/{start-block-queries-kp3ICAXt.js.map → start-block-queries-CmVDv8_F.js.map} +1 -1
- package/dist/shell-source-maps/assets/{step-catalog-QFTLEUUW.js.map → step-catalog-PWiIgJSI.js.map} +1 -1
- package/dist/shell-source-maps/assets/{step-panel-CcBoYcad.js.map → step-panel-TfW-31Gv.js.map} +1 -1
- package/dist/shell-source-maps/assets/{timeline-display-Cr61_SZU.js.map → timeline-display-eBf3tuig.js.map} +1 -1
- package/dist/shell-source-maps/assets/{trash-Bb3IsZeK.js.map → trash-BjnGkZfx.js.map} +1 -1
- package/dist/shell-source-maps/assets/{update-set-D8rImCxw.js.map → update-set-BahNKmxv.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-calendar-move-DP_MzXTz.js.map → use-calendar-move-Bfp2yC0P.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-display-rows-3xQM1gvv.js.map → use-display-rows-DsBBYuKB.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-paged-search-DcNUhIL9.js.map → use-paged-search-DaT4uUhX.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-run-trace-B9v2XkVL.js.map → use-run-trace-DHk7l8MX.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-workflow-page-DZZERjMt.js.map → use-workflow-page-DPIhXcnb.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-workflow-types-BRe2O0QF.js.map → use-workflow-types-Bp8iqkBg.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-canvas-Be_DnY83.js.map → workflow-canvas-CiGUTx4K.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-field-D3BW-Lvk.js.map → workflow-field-lqBx3RDj.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-graph-editor-J0pJUxAk.js.map → workflow-graph-editor-DgufTFii.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-run-field-DCoSJYVl.js.map → workflow-run-field-C4BtvPnB.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-status-field-btxWS0rc.js.map → workflow-status-field-CqDaP0V9.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-workbench-lBJ6-WBD.js.map → workflow-workbench-CgL6wHPG.js.map} +1 -1
- package/dist/status/messages.d.ts +2 -2
- package/dist/tokens.css +10 -10
- package/dist/users/messages.d.ts +2 -2
- package/package.json +5 -5
- package/dist/shell/assets/app-p7iRIIoG.js +0 -34
- package/dist/shell-source-maps/assets/app-p7iRIIoG.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/app/list-messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "sort" | "search" | "
|
|
5
|
-
rich(id: "sort" | "search" | "
|
|
4
|
+
(id: "sort" | "search" | "clearSearch" | "delete" | "searchPlural" | "noList" | "filters" | "filtersCount" | "newRecord" | "export" | "openRecord" | "exportCount" | "deleteCount" | "actionCount" | "dragToSort" | "unreadableFilter" | "couldNotLoadRows" | "created" | "noMatchSearch" | "noMatchFilters" | "noMatch" | "noneYet" | "clearFilters", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "sort" | "search" | "clearSearch" | "delete" | "searchPlural" | "noList" | "filters" | "filtersCount" | "newRecord" | "export" | "openRecord" | "exportCount" | "deleteCount" | "actionCount" | "dragToSort" | "unreadableFilter" | "couldNotLoadRows" | "created" | "noMatchSearch" | "noMatchFilters" | "noMatch" | "noneYet" | "clearFilters", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
package/dist/app/messages.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/app/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "pages" | "open" | "replace" | "reload" | "account" | "signInPolicy" | "loading" | "remove" | "refreshing" | "noMatches" | "show" | "admin" | "assistant" | "notFound" | "noResource" | "somethingWentWrong" | "adminsOnly" | "onlyAdminPolicy" | "ownersOnly" | "onlyOwners" | "chooseResource" | "pickFromSidebar" | "nothingHere" | "pageNotLoaded" | "pageNotLoadedHelp" | "noPage" | "operationFailed" | "nothingSaved" | "new" | "loadingRecord" | "noComponent" | "choose" | "noValue" | "fileMissing" | "chooseFileFor" | "notUploaded" | "uploadingLabel" | "uploading" | "dropFile" | "chooseFile" | "average" | "sales" | "crm" | "catalog" | "inventory" | "hr" | "tables" | "cannotReach" | "searchPlural" | "couldNotLoadOptions" | "refreshFailed" | "leaveTitle" | "leaveDescription" | "leaveInputLost" | "stay" | "leave" | "reloadTitle" | "reloadDraftKept" | "reloadInputLost" | "keepEditing" | "hide" | "couldNotShow" | "setNewValue" | "noAnswer" | "signInRefused" | "loadingFrom" | "restWorks" | "tryAgain" | "staffSession" | "staffSignedIn" | "stopStaffSession" | "openLabel" | "opensNewTab", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "pages" | "open" | "replace" | "reload" | "account" | "signInPolicy" | "loading" | "remove" | "refreshing" | "noMatches" | "show" | "admin" | "assistant" | "notFound" | "noResource" | "somethingWentWrong" | "adminsOnly" | "onlyAdminPolicy" | "ownersOnly" | "onlyOwners" | "chooseResource" | "pickFromSidebar" | "nothingHere" | "pageNotLoaded" | "pageNotLoadedHelp" | "noPage" | "operationFailed" | "nothingSaved" | "new" | "loadingRecord" | "noComponent" | "choose" | "noValue" | "fileMissing" | "chooseFileFor" | "notUploaded" | "uploadingLabel" | "uploading" | "dropFile" | "chooseFile" | "average" | "sales" | "crm" | "catalog" | "inventory" | "hr" | "tables" | "cannotReach" | "searchPlural" | "couldNotLoadOptions" | "refreshFailed" | "leaveTitle" | "leaveDescription" | "leaveInputLost" | "stay" | "leave" | "reloadTitle" | "reloadDraftKept" | "reloadInputLost" | "keepEditing" | "hide" | "couldNotShow" | "setNewValue" | "noAnswer" | "signInRefused" | "loadingFrom" | "restWorks" | "tryAgain" | "staffSession" | "staffSignedIn" | "stopStaffSession" | "openLabel" | "opensNewTab", 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/meta-gate-messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "loading" | "
|
|
5
|
-
rich(id: "loading" | "
|
|
4
|
+
(id: "loading" | "cannotReach" | "noAnswer", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "loading" | "cannotReach" | "noAnswer", 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/new-version/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "title" | "
|
|
5
|
-
rich(id: "title" | "
|
|
4
|
+
(id: "title" | "description" | "reload" | "reloadPage" | "reloadPageHint" | "bannerTitle" | "bannerLine", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "title" | "description" | "reload" | "reloadPage" | "reloadPageHint" | "bannerTitle" | "bannerLine", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -21,6 +21,6 @@ export declare class CustomBoundary extends Component<CustomBoundaryProps, {
|
|
|
21
21
|
};
|
|
22
22
|
componentDidCatch(error: unknown, info: ErrorInfo): void;
|
|
23
23
|
componentDidUpdate(previous: CustomBoundaryProps): void;
|
|
24
|
-
render(): string | number | bigint | boolean |
|
|
24
|
+
render(): 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;
|
|
25
25
|
}
|
|
26
26
|
//#endregion
|
|
@@ -8,5 +8,5 @@ import { LayoutNode } from "@protobase/layout";
|
|
|
8
8
|
export declare const CustomChosen: ({ node, children }: {
|
|
9
9
|
node: LayoutNode;
|
|
10
10
|
children: ReactNode;
|
|
11
|
-
}) => string | number | bigint | boolean |
|
|
11
|
+
}) => 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;
|
|
12
12
|
//#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" | "saved" | "cancel" | "save" | "required" | "done" | "failed" | "tabs" | "couldNotLoad" | "notFound" | "noPage" | "noComponent" | "wholeNumber" | "notSaved" | "nothingYet" | "noTab" | "couldNotDraw" | "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" | "saved" | "cancel" | "save" | "required" | "done" | "failed" | "tabs" | "couldNotLoad" | "notFound" | "noPage" | "noComponent" | "wholeNumber" | "notSaved" | "nothingYet" | "noTab" | "couldNotDraw" | "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: "couldNotLoad" | "day" | "week" | "maximum" | "average" | "hour" | "range" | "measure" | "noSamples", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "couldNotLoad" | "day" | "week" | "maximum" | "average" | "hour" | "range" | "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: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "edit" | "fetching" | "saved" | "loading" | "cancel" | "save" | "history" | "comments" | "couldNotLoad" | "couldNotSave" | "delete" | "details" | "summary" | "lineNumber" | "noRecord" | "openingElsewhere" | "someoneElse" | "justNow" | "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: "edit" | "fetching" | "saved" | "loading" | "cancel" | "save" | "history" | "comments" | "couldNotLoad" | "couldNotSave" | "delete" | "details" | "summary" | "lineNumber" | "noRecord" | "openingElsewhere" | "someoneElse" | "justNow" | "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: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "couldNotLoad" | "viewAll" | "new" | "noneYet" | "noneMatch" | "couldNotLoadYour", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "couldNotLoad" | "viewAll" | "new" | "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: "open" | "
|
|
5
|
-
rich(id: "open" | "
|
|
4
|
+
(id: "open" | "couldNotLoad" | "nothingYet" | "left" | "add" | "showMore" | "showLess", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "open" | "couldNotLoad" | "nothingYet" | "left" | "add" | "showMore" | "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/runtime/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "failed" | "update" | "manual" | "close" | "updating" | "immediate" | "weekly" | "scheduled" | "job" | "build" | "updatingNow" | "started" | "nextOn" | "succeeded" | "unchanged" | "alreadyLatest" | "onlyAdmin" | "couldNotStart" | "runtimeUpdate" | "updateNow" | "currentVersion" | "latestVersion" | "checkFailed" | "updateAvailable", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "failed" | "update" | "manual" | "close" | "updating" | "immediate" | "weekly" | "scheduled" | "job" | "build" | "updatingNow" | "started" | "nextOn" | "succeeded" | "unchanged" | "alreadyLatest" | "onlyAdmin" | "couldNotStart" | "runtimeUpdate" | "updateNow" | "currentVersion" | "latestVersion" | "checkFailed" | "updateAvailable", 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" | "couldNotTakeOff" | "favorite", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "couldNotSave" | "noneYet" | "somethingWrong" | "couldNotLoadYour" | "couldNotTakeOff" | "favorite", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -15,5 +15,5 @@ type SavedListProps = {
|
|
|
15
15
|
* The list page of a view with `listOf`: the records the user's saved ones point at, in their own resource's list, once
|
|
16
16
|
* the saved ones have loaded; until then, or when there are none, the page says so under the view's title.
|
|
17
17
|
*/
|
|
18
|
-
export declare const SavedList: ({ model, view, target, children }: SavedListProps) => string | number | bigint | boolean |
|
|
18
|
+
export declare const SavedList: ({ model, view, target, children }: SavedListProps) => 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;
|
|
19
19
|
//#endregion
|
|
@@ -6,7 +6,7 @@ import { CardFavoriteModel, KeyValue } from "@protobase/schema";
|
|
|
6
6
|
* or takes it off, at once on screen; a refused write puts it back and says why.
|
|
7
7
|
*/
|
|
8
8
|
export declare const useFavorite: (favorite: CardFavoriteModel, key: string, target: KeyValue) => {
|
|
9
|
-
mode: "
|
|
9
|
+
mode: "save" | "sign-in" | undefined;
|
|
10
10
|
prompt: import("@protobase/schema").SignInPromptModel | undefined;
|
|
11
11
|
saved: boolean;
|
|
12
12
|
ready: boolean;
|
|
@@ -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: "saved" | "changed" | "cancel" | "save" | "on" | "off" | "optional" | "more" | "viewAll" | "couldNotSave" | "update" | "notFound" | "noResource" | "filters" | "unreadableFilter" | "noneYet" | "saveSearch" | "somethingWrong" | "removed" | "deleteTitle" | "noPlural" | "noneMatch" | "firstOf" | "couldNotChange" | "couldNotLoadYour" | "saveAsNew" | "updateName" | "updateNameQuestion" | "updateNounQuestion" | "couldNotRename" | "renameTitle" | "noSavedYet" | "asMany" | "fewer" | "added" | "filterChanges" | "addedRemoved" | "noRecordsDiff" | "searchSaved" | "openPlural" | "couldNotTakeOff" | "searchUpdated" | "couldNotUpdate" | "noNew", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "saved" | "changed" | "cancel" | "save" | "on" | "off" | "optional" | "more" | "viewAll" | "couldNotSave" | "update" | "notFound" | "noResource" | "filters" | "unreadableFilter" | "noneYet" | "saveSearch" | "somethingWrong" | "removed" | "deleteTitle" | "noPlural" | "noneMatch" | "firstOf" | "couldNotChange" | "couldNotLoadYour" | "saveAsNew" | "updateName" | "updateNameQuestion" | "updateNounQuestion" | "couldNotRename" | "renameTitle" | "noSavedYet" | "asMany" | "fewer" | "added" | "filterChanges" | "addedRemoved" | "noRecordsDiff" | "searchSaved" | "openPlural" | "couldNotTakeOff" | "searchUpdated" | "couldNotUpdate" | "noNew", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -8,7 +8,7 @@ import { SaveSearchModel } from "@protobase/schema";
|
|
|
8
8
|
* filter differs, `update` gives that search the list's filter.
|
|
9
9
|
*/
|
|
10
10
|
export declare const useSaveSearch: (search: SaveSearchModel, filter: string) => {
|
|
11
|
-
mode: "
|
|
11
|
+
mode: "save" | "sign-in" | undefined;
|
|
12
12
|
prompt: import("@protobase/schema").SignInPromptModel | undefined;
|
|
13
13
|
saved: boolean;
|
|
14
14
|
/** The search the list was opened from and differs from: its filter, and its name when it has one. */
|
|
@@ -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: "roles" | "signIn" | "resources" | "organizations" | "system" | "loading" | "signOut" | "breadcrumb" | "theme" | "search" | "tabs" | "navigation" | "more" | "openNavigation" | "backTo" | "closeSearch" | "clearSearch" | "globalSearch" | "searchResults" | "searching" | "noMatches" | "profileMenu" | "light" | "dark" | "recent" | "couldNotLoad" | "viewAll" | "couldNotSearch", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "roles" | "signIn" | "resources" | "organizations" | "system" | "loading" | "signOut" | "breadcrumb" | "theme" | "search" | "tabs" | "navigation" | "more" | "openNavigation" | "backTo" | "closeSearch" | "clearSearch" | "globalSearch" | "searchResults" | "searching" | "noMatches" | "profileMenu" | "light" | "dark" | "recent" | "couldNotLoad" | "viewAll" | "couldNotSearch", 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/assistant-dock/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "assistant" | "noAnswer" | "empty" | "couldNotDraw" | "askQuestion" | "reconnecting" | "backendNoAnswer" | "cannotShowLive", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "assistant" | "noAnswer" | "empty" | "couldNotDraw" | "askQuestion" | "reconnecting" | "backendNoAnswer" | "cannotShowLive", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -125,8 +125,9 @@ type AuthProviderProps = {
|
|
|
125
125
|
/**
|
|
126
126
|
* Finds out whether the server has a login and who is signed in, and keeps that state for the app. Without a `session`,
|
|
127
127
|
* it makes one on `origin`, the page's own by default, also when the page is served from an app's own scheme (see
|
|
128
|
-
* `customSchemeAuth`); in the iOS or Android app, with
|
|
129
|
-
* and "Forgot password?" is not offered, as a reset link cannot come back to
|
|
128
|
+
* `customSchemeAuth`); in the iOS or Android app, with a `nativeBridge` that offers ProtobaseAuth (`nativeSignInBridge`),
|
|
129
|
+
* the session signs in through native HTTP, and "Forgot password?" is not offered, as a reset link cannot come back to
|
|
130
|
+
* the app.
|
|
130
131
|
* Below a `StartCacheProvider`, someone who was signed in starts signed in, and the check runs behind the app.
|
|
131
132
|
* Someone already signed in when the page starts is no sign-in: `afterSignIn` runs only for one made on the page.
|
|
132
133
|
*/
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { nativeAuthFetch } from "../app/native-auth-fetch.js";
|
|
2
|
+
import { nativeSignInBridge } from "./native-sign-in.js";
|
|
2
3
|
import { pushNotifications } from "../notifications/push/push-notifications.js";
|
|
3
4
|
import { useStartCache } from "../data/start-cache/start-cache.js";
|
|
4
5
|
import { customSchemeAuth, isHttpOrigin } from "./custom-scheme-auth.js";
|
|
@@ -26,8 +27,9 @@ const useOptionalAuth = () => useContext(AuthContext);
|
|
|
26
27
|
/**
|
|
27
28
|
* Finds out whether the server has a login and who is signed in, and keeps that state for the app. Without a `session`,
|
|
28
29
|
* it makes one on `origin`, the page's own by default, also when the page is served from an app's own scheme (see
|
|
29
|
-
* `customSchemeAuth`); in the iOS or Android app, with
|
|
30
|
-
* and "Forgot password?" is not offered, as a reset link cannot come back to
|
|
30
|
+
* `customSchemeAuth`); in the iOS or Android app, with a `nativeBridge` that offers ProtobaseAuth (`nativeSignInBridge`),
|
|
31
|
+
* the session signs in through native HTTP, and "Forgot password?" is not offered, as a reset link cannot come back to
|
|
32
|
+
* the app.
|
|
31
33
|
* Below a `StartCacheProvider`, someone who was signed in starts signed in, and the check runs behind the app.
|
|
32
34
|
* Someone already signed in when the page starts is no sign-in: `afterSignIn` runs only for one made on the page.
|
|
33
35
|
*/
|
|
@@ -41,7 +43,8 @@ const AuthProvider = ({ session: given, origin, nativeBridge, afterSignIn, child
|
|
|
41
43
|
const [status, setStatus] = useState(cached?.status);
|
|
42
44
|
const signInMethods = status?.signInMethods ?? defaultSignInMethods;
|
|
43
45
|
const signInFirst = status?.signInFirst ?? "password";
|
|
44
|
-
const
|
|
46
|
+
const nativeSignIn = nativeSignInBridge(nativeBridge);
|
|
47
|
+
const passwordReset = Boolean(status?.passwordReset) && !nativeSignIn;
|
|
45
48
|
const changeEmail = Boolean(status?.changeEmail);
|
|
46
49
|
const accountDeletion = Boolean(status?.accountDeletion);
|
|
47
50
|
const mcp = status?.mcp;
|
|
@@ -81,13 +84,13 @@ const AuthProvider = ({ session: given, origin, nativeBridge, afterSignIn, child
|
|
|
81
84
|
return createAuthSession({
|
|
82
85
|
...authOrigin && { origin: authOrigin },
|
|
83
86
|
...scheme && { fetch: scheme.fetch },
|
|
84
|
-
...
|
|
87
|
+
...nativeSignIn && { fetch: nativeAuthFetch(nativeSignIn, authOrigin ?? window.location.origin) },
|
|
85
88
|
onSignedOut: () => signedOut.current()
|
|
86
89
|
});
|
|
87
90
|
}, [
|
|
88
91
|
given,
|
|
89
92
|
origin,
|
|
90
|
-
|
|
93
|
+
nativeSignIn
|
|
91
94
|
]);
|
|
92
95
|
const pushUser = useRef(void 0);
|
|
93
96
|
pushUser.current = state.kind === "signed-in" ? {
|
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: "signIn" | "email" | "or" | "reload" | "code" | "loading" | "setPassword" | "newPassword" | "repeatPassword" | "atLeast" | "useAtLeast" | "passwordTooLong" | "passwordsDiffer" | "continue" | "addPasskey" | "signOut" | "password" | "emailCode" | "verify" | "admin" | "cannotReach" | "noAnswer" | "tryAgain" | "reason" | "tooManyRequests" | "passwordChanged" | "backupCode" | "passwordOptional" | "backToSignIn" | "useAnotherAddress" | "checkEmail" | "newCodeSent" | "sendNewCode" | "sendNewCodeIn" | "signInCodeDescription" | "signInCodeSent" | "signUpCodeDescription" | "signUpCodeSent" | "noAdminTitle" | "noAdminDescription" | "noAdminExplanation" | "copyCommand" | "firstAdminExplanation" | "firstAdminLink" | "tooManyAttempts" | "resetTitle" | "resetDescription" | "sendResetLink" | "resetSent" | "linkExpiredTitle" | "linkExpiredExplanation" | "sendNewLink" | "choosePassword" | "signingInWith" | "takingYouTo" | "providerNotOffered" | "turnOnTwoFactor" | "requiredForEveryAccount" | "passkeyExplanation" | "couldNotReadAccount" | "signInTitle" | "runsOnProtobase" | "continueWith" | "signInWithPasskey" | "passkeyFor" | "emailSignInCode" | "usePassword" | "forgotPassword" | "newHere" | "haveAccount" | "createAnAccount" | "browse" | "notNow" | "detailsTitle" | "detailsDescription" | "yourName" | "codeWasRight" | "withoutPassword" | "createAccount" | "codeToConfirm" | "browseWithoutAccount" | "staffTitle" | "staffUnavailable" | "signInAsPerson" | "forStaffOf" | "theirEmail" | "reasonExample" | "staffExplanation" | "totpInstruction" | "otpInstruction" | "backupInstruction" | "twoFactorTitle" | "twoFactorDescription" | "codeToFinish" | "trustBrowser" | "trustBrowserFor" | "useAuthenticator" | "emailCodeInstead" | "useBackupCode", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "signIn" | "email" | "or" | "reload" | "code" | "loading" | "setPassword" | "newPassword" | "repeatPassword" | "atLeast" | "useAtLeast" | "passwordTooLong" | "passwordsDiffer" | "continue" | "addPasskey" | "signOut" | "password" | "emailCode" | "verify" | "admin" | "cannotReach" | "noAnswer" | "tryAgain" | "reason" | "tooManyRequests" | "passwordChanged" | "backupCode" | "passwordOptional" | "backToSignIn" | "useAnotherAddress" | "checkEmail" | "newCodeSent" | "sendNewCode" | "sendNewCodeIn" | "signInCodeDescription" | "signInCodeSent" | "signUpCodeDescription" | "signUpCodeSent" | "noAdminTitle" | "noAdminDescription" | "noAdminExplanation" | "copyCommand" | "firstAdminExplanation" | "firstAdminLink" | "tooManyAttempts" | "resetTitle" | "resetDescription" | "sendResetLink" | "resetSent" | "linkExpiredTitle" | "linkExpiredExplanation" | "sendNewLink" | "choosePassword" | "signingInWith" | "takingYouTo" | "providerNotOffered" | "turnOnTwoFactor" | "requiredForEveryAccount" | "passkeyExplanation" | "couldNotReadAccount" | "signInTitle" | "runsOnProtobase" | "continueWith" | "signInWithPasskey" | "passkeyFor" | "emailSignInCode" | "usePassword" | "forgotPassword" | "newHere" | "haveAccount" | "createAnAccount" | "browse" | "notNow" | "detailsTitle" | "detailsDescription" | "yourName" | "codeWasRight" | "withoutPassword" | "createAccount" | "codeToConfirm" | "browseWithoutAccount" | "staffTitle" | "staffUnavailable" | "signInAsPerson" | "forStaffOf" | "theirEmail" | "reasonExample" | "staffExplanation" | "totpInstruction" | "otpInstruction" | "backupInstruction" | "twoFactorTitle" | "twoFactorDescription" | "codeToFinish" | "trustBrowser" | "trustBrowserFor" | "useAuthenticator" | "emailCodeInstead" | "useBackupCode", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { NativeBridge } from "../app/native-auth-fetch.js";
|
|
2
|
+
//#region src/auth/native-sign-in.d.ts
|
|
3
|
+
/** The plugin that signs the iOS or Android app in through native HTTP (`nativeAuthFetch`). */
|
|
4
|
+
export declare const nativeSignInPlugin = "ProtobaseAuth";
|
|
5
|
+
/**
|
|
6
|
+
* The native bridge to sign in through, when the binary offers ProtobaseAuth; `undefined` in a browser and in a host
|
|
7
|
+
* that leaves it out, which keeps the session itself, such as one that serves the shell from its own scheme: the
|
|
8
|
+
* page's own requests then carry the session.
|
|
9
|
+
*/
|
|
10
|
+
export declare const nativeSignInBridge: (bridge: NativeBridge | undefined) => NativeBridge | undefined;
|
|
11
|
+
//#endregion
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//#region src/auth/native-sign-in.ts
|
|
2
|
+
/** The plugin that signs the iOS or Android app in through native HTTP (`nativeAuthFetch`). */
|
|
3
|
+
const nativeSignInPlugin = "ProtobaseAuth";
|
|
4
|
+
/**
|
|
5
|
+
* The native bridge to sign in through, when the binary offers ProtobaseAuth; `undefined` in a browser and in a host
|
|
6
|
+
* that leaves it out, which keeps the session itself, such as one that serves the shell from its own scheme: the
|
|
7
|
+
* page's own requests then carry the session.
|
|
8
|
+
*/
|
|
9
|
+
const nativeSignInBridge = (bridge) => bridge?.isPluginAvailable("ProtobaseAuth") ? bridge : void 0;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { nativeSignInBridge, nativeSignInPlugin };
|
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: "accept" | "join" | "you" | "copied" | "continue" | "remove" | "ended" | "noDevices" | "revoke" | "full" | "leave" | "inProgress" | "reconnecting" | "waiting" | "muted" | "yourName" | "camera" | "microphone" | "decline" | "startCall" | "people" | "joinCall" | "shareScreen" | "stopSharing" | "alone" | "connecting" | "removed" | "refused" | "unavailable" | "callAgain" | "noMicrophone" | "noCamera" | "cannotConnect" | "poorConnection" | "goodConnection" | "sharing" | "youAreSharing" | "speaking" | "preview" | "guestName" | "denied" | "askToJoin" | "someone" | "guests" | "waitingGuest" | "admit" | "deny" | "newLink" | "copyLink" | "guestLinks" | "noLinks" | "inLobby" | "guestsInCall" | "guestsMaySend" | "sendAll" | "sendCamera" | "sendMicrophone" | "linkUntil" | "linkUntilEnd" | "linkLasts" | "forAnHour" | "addressesVisible" | "guestRefused" | "close" | "guestIntro" | "youLeft", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "accept" | "join" | "you" | "copied" | "continue" | "remove" | "ended" | "noDevices" | "revoke" | "full" | "leave" | "inProgress" | "reconnecting" | "waiting" | "muted" | "yourName" | "camera" | "microphone" | "decline" | "startCall" | "people" | "joinCall" | "shareScreen" | "stopSharing" | "alone" | "connecting" | "removed" | "refused" | "unavailable" | "callAgain" | "noMicrophone" | "noCamera" | "cannotConnect" | "poorConnection" | "goodConnection" | "sharing" | "youAreSharing" | "speaking" | "preview" | "guestName" | "denied" | "askToJoin" | "someone" | "guests" | "waitingGuest" | "admit" | "deny" | "newLink" | "copyLink" | "guestLinks" | "noLinks" | "inLobby" | "guestsInCall" | "guestsMaySend" | "sendAll" | "sendCamera" | "sendMicrophone" | "linkUntil" | "linkUntilEnd" | "linkLasts" | "forAnHour" | "addressesVisible" | "guestRefused" | "close" | "guestIntro" | "youLeft", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
package/dist/chat/messages.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/chat/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "message" | "send" | "today" | "yesterday" | "newMessages" | "loadEarlier" | "working", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "message" | "send" | "today" | "yesterday" | "newMessages" | "loadEarlier" | "working", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -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
|
|
@@ -62,5 +62,5 @@ export type ColumnSpec = {
|
|
|
62
62
|
/** Drawn under the cell's content, outside the link a title cell is; every row of the grid grows to hold it. */
|
|
63
63
|
below?: (row: GridRow) => ReactNode;
|
|
64
64
|
};
|
|
65
|
-
export declare const isRightAligned: (kind: ColumnKind) => kind is "number" | "
|
|
65
|
+
export declare const isRightAligned: (kind: ColumnKind) => kind is "number" | "percent" | "signed" | "money";
|
|
66
66
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/data-grid/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "row" | "
|
|
5
|
-
rich(id: "row" | "
|
|
4
|
+
(id: "row" | "move" | "new" | "cancelled" | "unpin" | "selected" | "no" | "shownIn" | "unsortable" | "columnMenu" | "pinToLeft" | "resizeColumn" | "clearSelection" | "noRowsSelected" | "selectRow" | "rowActions" | "reorderInstructions" | "pickedUp" | "isOver" | "droppedAt" | "putBack", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "row" | "move" | "new" | "cancelled" | "unpin" | "selected" | "no" | "shownIn" | "unsortable" | "columnMenu" | "pinToLeft" | "resizeColumn" | "clearSelection" | "noRowsSelected" | "selectRow" | "rowActions" | "reorderInstructions" | "pickedUp" | "isOver" | "droppedAt" | "putBack", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/filter-panel/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "date" | "remove" | "noMatches" | "today" | "maximum" | "minimum" | "filters" | "yesterday" | "24h" | "7d" | "30d" | "90d" | "month" | "quarter" | "year" | "unknownPreset" | "unsupported" | "clearAll" | "searchIn" | "moreFilters" | "showOnly", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "date" | "remove" | "noMatches" | "today" | "maximum" | "minimum" | "filters" | "yesterday" | "24h" | "7d" | "30d" | "90d" | "month" | "quarter" | "year" | "unknownPreset" | "unsupported" | "clearAll" | "searchIn" | "moreFilters" | "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/format/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "rows" | "aboutRows" | "secondsAgo" | "minutesAgo" | "hoursAgo" | "daysAgo"
|
|
5
|
-
rich(id: "rows" | "aboutRows" | "secondsAgo" | "minutesAgo" | "hoursAgo" | "daysAgo"
|
|
4
|
+
(id: "justNow" | "rows" | "aboutRows" | "secondsAgo" | "minutesAgo" | "hoursAgo" | "daysAgo", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "justNow" | "rows" | "aboutRows" | "secondsAgo" | "minutesAgo" | "hoursAgo" | "daysAgo", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
package/dist/forms/messages.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/forms/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "send" | "loading" | "notFound" | "noForm" | "setByDatabase" | "notSent" | "checkTooLong", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "send" | "loading" | "notFound" | "noForm" | "setByDatabase" | "notSent" | "checkTooLong", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/inline-child-table/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "line" | "
|
|
5
|
-
rich(id: "line" | "
|
|
4
|
+
(id: "line" | "cancelled" | "pickedUp" | "instructions" | "over" | "dropped" | "droppedAtStart" | "addLine" | "noLines" | "moveUp" | "moveDown" | "removeLine" | "dragToReorder" | "actionsFor", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "line" | "cancelled" | "pickedUp" | "instructions" | "over" | "dropped" | "droppedAtStart" | "addLine" | "noLines" | "moveUp" | "moveDown" | "removeLine" | "dragToReorder" | "actionsFor", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -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: "
|
|
5
|
-
rich(id: "
|
|
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: "fileMissing" | "yes" | "no" | "shownIn" | "jsonItems", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "fileMissing" | "yes" | "no" | "shownIn" | "jsonItems", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|