@protobase/ui 0.119.1 → 0.119.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/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/export/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/focus/messages.d.ts +2 -2
- package/dist/app/gallery/gallery-layout.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/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/related-cards/messages.d.ts +2 -2
- package/dist/app/saved/messages.d.ts +2 -2
- package/dist/app/saved/use-favorite.d.ts +1 -1
- package/dist/app/searches/messages.d.ts +2 -2
- package/dist/app/searches/use-save-search.d.ts +1 -1
- package/dist/app/start-target.d.ts +38 -0
- package/dist/app/start-target.js +38 -0
- package/dist/app/use-start-address.d.ts +6 -9
- package/dist/app/use-start-address.js +23 -21
- package/dist/app-shell/messages.d.ts +2 -2
- package/dist/assistant-dock/messages.d.ts +2 -2
- package/dist/auth/messages.d.ts +2 -2
- package/dist/calls/messages.d.ts +2 -2
- package/dist/filter-panel/messages.d.ts +2 -2
- package/dist/forms/messages.d.ts +2 -2
- package/dist/invitations/messages.d.ts +2 -2
- package/dist/mocks/customers.d.ts +1 -1
- package/dist/mocks/invoices.d.ts +1 -1
- package/dist/mocks/orders.d.ts +2 -2
- package/dist/notifications/bell/messages.d.ts +2 -2
- package/dist/organizations/messages.d.ts +2 -2
- package/dist/package.js +1 -1
- package/dist/plugins/messages.d.ts +2 -2
- package/dist/primitives/messages.d.ts +2 -2
- package/dist/shell/assets/{account-page-BXnceUQo.js → account-page-d4bA-Rnh.js} +2 -2
- package/dist/shell/assets/{app-D3BCcbgE.js → app-B94YfKGx.js} +11 -11
- package/dist/shell/assets/{assistant-shell-DKf9TfL2.js → assistant-shell-DTNOfaAZ.js} +2 -2
- package/dist/shell/assets/{board-display-DJkQwIfT.js → board-display-ClTe26F0.js} +2 -2
- package/dist/shell/assets/{calendar-display-BKyuHAAF.js → calendar-display-CwBcu_JO.js} +2 -2
- package/dist/shell/assets/{call-rings-D_kQbFd3.js → call-rings-D8cGALi4.js} +2 -2
- package/dist/shell/assets/{calls-D6jSGMCo.js → calls-DLSo4hNS.js} +2 -2
- package/dist/shell/assets/{circle-alert-ytReRN_c.js → circle-alert-C8YjGdRx.js} +2 -2
- package/dist/shell/assets/{composed-page-CbNBBioS.js → composed-page-DBHl-wl_.js} +2 -2
- package/dist/shell/assets/{composer-section-cg-cdFZx.js → composer-section-6TvE0L2w.js} +2 -2
- package/dist/shell/assets/{connect-route-hMUPiAft.js → connect-route-C8Km-e8S.js} +2 -2
- package/dist/shell/assets/{copy-field-BoXXafL7.js → copy-field-DXp0fGDR.js} +2 -2
- package/dist/shell/assets/{create-route-BePHRkTZ.js → create-route-s8RsjtyM.js} +2 -2
- package/dist/shell/assets/{custom-step-container-field-B3bsPeCV.js → custom-step-container-field-B8ut5WnP.js} +2 -2
- package/dist/shell/assets/{embedded-list-6lQyJozS.js → embedded-list-OJQKeuBN.js} +3 -3
- package/dist/shell/assets/{export-dialog-BUbdSkkU.js → export-dialog-gSUSlzOy.js} +2 -2
- package/dist/shell/assets/{first-organization-page-BhQOFT5P.js → first-organization-page-C7YZ32Kt.js} +2 -2
- package/dist/shell/assets/{graph-view-DZHMI-UQ.js → graph-view-_7poAZsr.js} +2 -2
- package/dist/shell/assets/{group-donut-Cu5Ny3gq.js → group-donut-XjNEBVUq.js} +2 -2
- package/dist/shell/assets/{guest-call-page-DlAkbaRH.js → guest-call-page-Cj6F3D3u.js} +3 -3
- package/dist/shell/assets/{html-viewer-DrSS-WnU.js → html-viewer-CmYTAzWa.js} +2 -2
- package/dist/shell/assets/{import-dialog-Dk_31-PT.js → import-dialog-bNG6qX6Q.js} +2 -2
- package/dist/shell/assets/{import-table-dialog-vL-juOMH.js → import-table-dialog-BbI7GJ8R.js} +2 -2
- package/dist/shell/assets/{index-CTmZ8-B4.js → index-CYraq2Hi.js} +1 -1
- package/dist/shell/assets/{invitations-page-CfTEdorg.js → invitations-page-XV6kL2Mk.js} +2 -2
- package/dist/shell/assets/{layout-grid-CTlIrnH5.js → layout-grid-dpoR6hFU.js} +2 -2
- package/dist/shell/assets/{legend-item-CqkLpsWb.js → legend-item-WwKh2W6n.js} +2 -2
- package/dist/shell/assets/{list-page-Czg2Jaxx.js → list-page-DImD2FRO.js} +4 -4
- package/dist/shell/assets/{maplibre-Bd79IbdT.js → maplibre-Bm0OQH9k.js} +2 -2
- package/dist/shell/assets/{markdown-content-BGl9PFVi.js → markdown-content-BZLiLira.js} +2 -2
- package/dist/shell/assets/{members-page-CEB-Wkl8.js → members-page-ZcqzlQu6.js} +2 -2
- package/dist/shell/assets/{messages-Ce8dRRRN.js → messages-vzi5T1Xo.js} +2 -2
- package/dist/shell/assets/{organization-page-CTxtblmm.js → organization-page-CjrQmpot.js} +2 -2
- package/dist/shell/assets/{organizations-page-DeNhUQDU.js → organizations-page-C7gJsoCx.js} +2 -2
- package/dist/shell/assets/{pending-invitation-row-BMp0ZxE8.js → pending-invitation-row-BZVOux9W.js} +2 -2
- package/dist/shell/assets/{period-chart-BDqtO8mc.js → period-chart-GDqLnl9l.js} +2 -2
- package/dist/shell/assets/{person-row-DRqtbPma.js → person-row-DgXLW9D8.js} +2 -2
- package/dist/shell/assets/{public-form-page-XgK3-Nzh.js → public-form-page-DjLnqHPx.js} +2 -2
- package/dist/shell/assets/{record-lines-DdN5hlI_.js → record-lines-CDTPiIdF.js} +2 -2
- package/dist/shell/assets/{record-map-sOmjX80D.js → record-map-Dcmuv9J8.js} +2 -2
- package/dist/shell/assets/{record-opens-DLfbC3xo.js → record-opens-D7SV04zf.js} +2 -2
- package/dist/shell/assets/{record-page-BntRofCL.js → record-page-DGWHTUdD.js} +3 -3
- package/dist/shell/assets/{record-preview-QMV2lW2j.js → record-preview-DsIrTWKZ.js} +2 -2
- package/dist/shell/assets/{records-map-DgTxGcbC.js → records-map-G0QXqaUR.js} +2 -2
- package/dist/shell/assets/{render-node-CkL5Sgl_.js → render-node-0_Pb8ixy.js} +3 -3
- package/dist/shell/assets/{reorder-button-8yWv8J72.js → reorder-button-BhhzhhTO.js} +2 -2
- package/dist/shell/assets/{run-trace-view-BPvPw3Ko.js → run-trace-view-DLY3Mt5m.js} +2 -2
- package/dist/shell/assets/{runner-install-field-CKP8E9ZO.js → runner-install-field-Iwp4UP6o.js} +2 -2
- package/dist/shell/assets/{runtime-update-DGbf2Nmm.js → runtime-update-DKcAQek2.js} +2 -2
- package/dist/shell/assets/{shared-protobase-ui-DN-uvpOy.js → shared-protobase-ui-XTZSVgEm.js} +1 -1
- package/dist/shell/assets/{sheet-source-cKJfUaud.js → sheet-source-DxVQhlKF.js} +2 -2
- package/dist/shell/assets/{sign-in-policy-page-Bty4Ih1x.js → sign-in-policy-page-E1eBhmUM.js} +2 -2
- package/dist/shell/assets/{start-block-queries-x-gNbPt1.js → start-block-queries-Bu7xMabd.js} +2 -2
- package/dist/shell/assets/{step-catalog-CCAXc8kn.js → step-catalog-BPk6WuYH.js} +2 -2
- package/dist/shell/assets/{step-panel-jmfh86YA.js → step-panel-BXHWAw8x.js} +2 -2
- package/dist/shell/assets/{timeline-display-CtxOHPoJ.js → timeline-display-CJHQiDm9.js} +2 -2
- package/dist/shell/assets/{trash-CFCBxAWq.js → trash-MHAT5Hf3.js} +2 -2
- package/dist/shell/assets/{update-set-BYNQUWVp.js → update-set-B0D_tNDz.js} +2 -2
- package/dist/shell/assets/{use-calendar-move-BytgRG51.js → use-calendar-move-O_48Gqvs.js} +2 -2
- package/dist/shell/assets/{use-display-rows-DGw9J73C.js → use-display-rows-vjthlkqo.js} +2 -2
- package/dist/shell/assets/{use-my-invitations-BcMFAcXl.js → use-my-invitations-DDPuugTE.js} +2 -2
- package/dist/shell/assets/{use-paged-search-CKcKKO6y.js → use-paged-search-DRj8498k.js} +2 -2
- package/dist/shell/assets/{use-run-trace-BRwbwZcf.js → use-run-trace-CWGAibgF.js} +2 -2
- package/dist/shell/assets/{use-workflow-page-DsD276W-.js → use-workflow-page-C9ZEXX5R.js} +2 -2
- package/dist/shell/assets/{use-workflow-types-Bn24Chp-.js → use-workflow-types-DDh28X2_.js} +2 -2
- package/dist/shell/assets/{workflow-canvas-BKd_Yd0v.js → workflow-canvas-n_YJtaOh.js} +2 -2
- package/dist/shell/assets/{workflow-field-DyBaV6m5.js → workflow-field-CpkY17Cc.js} +3 -3
- package/dist/shell/assets/{workflow-graph-editor-B8RJ52_E.js → workflow-graph-editor-V-ZGHSrC.js} +2 -2
- package/dist/shell/assets/{workflow-run-field-CzluYhjs.js → workflow-run-field-CoUJGVdX.js} +3 -3
- package/dist/shell/assets/{workflow-status-field-_umgNjK4.js → workflow-status-field-nmrhtSls.js} +2 -2
- package/dist/shell/assets/{workflow-workbench-CqOI36Oy.js → workflow-workbench-DvzNEdn3.js} +2 -2
- package/dist/shell/index.html +3 -3
- package/dist/shell/protobase.shell.json +2 -2
- package/dist/shell/protobase.sw.js +2 -2
- package/dist/shell-source-maps/assets/{account-page-BXnceUQo.js.map → account-page-d4bA-Rnh.js.map} +1 -1
- package/dist/shell-source-maps/assets/app-B94YfKGx.js.map +1 -0
- package/dist/shell-source-maps/assets/{assistant-shell-DKf9TfL2.js.map → assistant-shell-DTNOfaAZ.js.map} +1 -1
- package/dist/shell-source-maps/assets/{board-display-DJkQwIfT.js.map → board-display-ClTe26F0.js.map} +1 -1
- package/dist/shell-source-maps/assets/{calendar-display-BKyuHAAF.js.map → calendar-display-CwBcu_JO.js.map} +1 -1
- package/dist/shell-source-maps/assets/{call-rings-D_kQbFd3.js.map → call-rings-D8cGALi4.js.map} +1 -1
- package/dist/shell-source-maps/assets/{calls-D6jSGMCo.js.map → calls-DLSo4hNS.js.map} +1 -1
- package/dist/shell-source-maps/assets/{circle-alert-ytReRN_c.js.map → circle-alert-C8YjGdRx.js.map} +1 -1
- package/dist/shell-source-maps/assets/{composed-page-CbNBBioS.js.map → composed-page-DBHl-wl_.js.map} +1 -1
- package/dist/shell-source-maps/assets/{composer-section-cg-cdFZx.js.map → composer-section-6TvE0L2w.js.map} +1 -1
- package/dist/shell-source-maps/assets/{connect-route-hMUPiAft.js.map → connect-route-C8Km-e8S.js.map} +1 -1
- package/dist/shell-source-maps/assets/{copy-field-BoXXafL7.js.map → copy-field-DXp0fGDR.js.map} +1 -1
- package/dist/shell-source-maps/assets/{create-route-BePHRkTZ.js.map → create-route-s8RsjtyM.js.map} +1 -1
- package/dist/shell-source-maps/assets/{custom-step-container-field-B3bsPeCV.js.map → custom-step-container-field-B8ut5WnP.js.map} +1 -1
- package/dist/shell-source-maps/assets/{embedded-list-6lQyJozS.js.map → embedded-list-OJQKeuBN.js.map} +1 -1
- package/dist/shell-source-maps/assets/{export-dialog-BUbdSkkU.js.map → export-dialog-gSUSlzOy.js.map} +1 -1
- package/dist/shell-source-maps/assets/{first-organization-page-BhQOFT5P.js.map → first-organization-page-C7YZ32Kt.js.map} +1 -1
- package/dist/shell-source-maps/assets/{graph-view-DZHMI-UQ.js.map → graph-view-_7poAZsr.js.map} +1 -1
- package/dist/shell-source-maps/assets/{group-donut-Cu5Ny3gq.js.map → group-donut-XjNEBVUq.js.map} +1 -1
- package/dist/shell-source-maps/assets/{guest-call-page-DlAkbaRH.js.map → guest-call-page-Cj6F3D3u.js.map} +1 -1
- package/dist/shell-source-maps/assets/{html-viewer-DrSS-WnU.js.map → html-viewer-CmYTAzWa.js.map} +1 -1
- package/dist/shell-source-maps/assets/{import-dialog-Dk_31-PT.js.map → import-dialog-bNG6qX6Q.js.map} +1 -1
- package/dist/shell-source-maps/assets/{import-table-dialog-vL-juOMH.js.map → import-table-dialog-BbI7GJ8R.js.map} +1 -1
- package/dist/shell-source-maps/assets/{invitations-page-CfTEdorg.js.map → invitations-page-XV6kL2Mk.js.map} +1 -1
- package/dist/shell-source-maps/assets/{layout-grid-CTlIrnH5.js.map → layout-grid-dpoR6hFU.js.map} +1 -1
- package/dist/shell-source-maps/assets/{legend-item-CqkLpsWb.js.map → legend-item-WwKh2W6n.js.map} +1 -1
- package/dist/shell-source-maps/assets/{list-page-Czg2Jaxx.js.map → list-page-DImD2FRO.js.map} +1 -1
- package/dist/shell-source-maps/assets/{maplibre-Bd79IbdT.js.map → maplibre-Bm0OQH9k.js.map} +1 -1
- package/dist/shell-source-maps/assets/{markdown-content-BGl9PFVi.js.map → markdown-content-BZLiLira.js.map} +1 -1
- package/dist/shell-source-maps/assets/{members-page-CEB-Wkl8.js.map → members-page-ZcqzlQu6.js.map} +1 -1
- package/dist/shell-source-maps/assets/{messages-Ce8dRRRN.js.map → messages-vzi5T1Xo.js.map} +1 -1
- package/dist/shell-source-maps/assets/{organization-page-CTxtblmm.js.map → organization-page-CjrQmpot.js.map} +1 -1
- package/dist/shell-source-maps/assets/{organizations-page-DeNhUQDU.js.map → organizations-page-C7gJsoCx.js.map} +1 -1
- package/dist/shell-source-maps/assets/{pending-invitation-row-BMp0ZxE8.js.map → pending-invitation-row-BZVOux9W.js.map} +1 -1
- package/dist/shell-source-maps/assets/{period-chart-BDqtO8mc.js.map → period-chart-GDqLnl9l.js.map} +1 -1
- package/dist/shell-source-maps/assets/{person-row-DRqtbPma.js.map → person-row-DgXLW9D8.js.map} +1 -1
- package/dist/shell-source-maps/assets/{public-form-page-XgK3-Nzh.js.map → public-form-page-DjLnqHPx.js.map} +1 -1
- package/dist/shell-source-maps/assets/{record-lines-DdN5hlI_.js.map → record-lines-CDTPiIdF.js.map} +1 -1
- package/dist/shell-source-maps/assets/{record-map-sOmjX80D.js.map → record-map-Dcmuv9J8.js.map} +1 -1
- package/dist/shell-source-maps/assets/{record-opens-DLfbC3xo.js.map → record-opens-D7SV04zf.js.map} +1 -1
- package/dist/shell-source-maps/assets/{record-page-BntRofCL.js.map → record-page-DGWHTUdD.js.map} +1 -1
- package/dist/shell-source-maps/assets/{record-preview-QMV2lW2j.js.map → record-preview-DsIrTWKZ.js.map} +1 -1
- package/dist/shell-source-maps/assets/{records-map-DgTxGcbC.js.map → records-map-G0QXqaUR.js.map} +1 -1
- package/dist/shell-source-maps/assets/{render-node-CkL5Sgl_.js.map → render-node-0_Pb8ixy.js.map} +1 -1
- package/dist/shell-source-maps/assets/{reorder-button-8yWv8J72.js.map → reorder-button-BhhzhhTO.js.map} +1 -1
- package/dist/shell-source-maps/assets/{run-trace-view-BPvPw3Ko.js.map → run-trace-view-DLY3Mt5m.js.map} +1 -1
- package/dist/shell-source-maps/assets/{runner-install-field-CKP8E9ZO.js.map → runner-install-field-Iwp4UP6o.js.map} +1 -1
- package/dist/shell-source-maps/assets/{runtime-update-DGbf2Nmm.js.map → runtime-update-DKcAQek2.js.map} +1 -1
- package/dist/shell-source-maps/assets/{sheet-source-cKJfUaud.js.map → sheet-source-DxVQhlKF.js.map} +1 -1
- package/dist/shell-source-maps/assets/{sign-in-policy-page-Bty4Ih1x.js.map → sign-in-policy-page-E1eBhmUM.js.map} +1 -1
- package/dist/shell-source-maps/assets/{start-block-queries-x-gNbPt1.js.map → start-block-queries-Bu7xMabd.js.map} +1 -1
- package/dist/shell-source-maps/assets/{step-catalog-CCAXc8kn.js.map → step-catalog-BPk6WuYH.js.map} +1 -1
- package/dist/shell-source-maps/assets/{step-panel-jmfh86YA.js.map → step-panel-BXHWAw8x.js.map} +1 -1
- package/dist/shell-source-maps/assets/{timeline-display-CtxOHPoJ.js.map → timeline-display-CJHQiDm9.js.map} +1 -1
- package/dist/shell-source-maps/assets/{trash-CFCBxAWq.js.map → trash-MHAT5Hf3.js.map} +1 -1
- package/dist/shell-source-maps/assets/{update-set-BYNQUWVp.js.map → update-set-B0D_tNDz.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-calendar-move-BytgRG51.js.map → use-calendar-move-O_48Gqvs.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-display-rows-DGw9J73C.js.map → use-display-rows-vjthlkqo.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-my-invitations-BcMFAcXl.js.map → use-my-invitations-DDPuugTE.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-paged-search-CKcKKO6y.js.map → use-paged-search-DRj8498k.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-run-trace-BRwbwZcf.js.map → use-run-trace-CWGAibgF.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-workflow-page-DsD276W-.js.map → use-workflow-page-C9ZEXX5R.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-workflow-types-Bn24Chp-.js.map → use-workflow-types-DDh28X2_.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-canvas-BKd_Yd0v.js.map → workflow-canvas-n_YJtaOh.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-field-DyBaV6m5.js.map → workflow-field-CpkY17Cc.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-graph-editor-B8RJ52_E.js.map → workflow-graph-editor-V-ZGHSrC.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-run-field-CzluYhjs.js.map → workflow-run-field-CoUJGVdX.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-status-field-_umgNjK4.js.map → workflow-status-field-nmrhtSls.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-workbench-CqOI36Oy.js.map → workflow-workbench-DvzNEdn3.js.map} +1 -1
- package/dist/status/messages.d.ts +2 -2
- package/dist/users/messages.d.ts +2 -2
- package/package.json +5 -5
- package/dist/shell-source-maps/assets/app-D3BCcbgE.js.map +0 -1
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { MetaData } from "../data/meta-data.js";
|
|
2
|
+
import { StartEntry } from "./start-record.js";
|
|
3
|
+
import { QueryState } from "@tanstack/react-query";
|
|
4
|
+
import { AppAddress } from "@protobase/schema";
|
|
5
|
+
//#region src/app/start-target.d.ts
|
|
6
|
+
export type StartTarget = {
|
|
7
|
+
state: 'resolving';
|
|
8
|
+
} | {
|
|
9
|
+
state: 'ready';
|
|
10
|
+
address?: AppAddress;
|
|
11
|
+
};
|
|
12
|
+
/** Where the start record's lookup stands: still running, its last fetch failed, or the rows it found. */
|
|
13
|
+
export type StartLookup = {
|
|
14
|
+
pending: boolean;
|
|
15
|
+
failed: boolean;
|
|
16
|
+
rows?: Record<string, unknown>[];
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* What `/` opens, from the start entry and first sidebar entry of `/meta` (`startEntry`, `startAddress`) and the start
|
|
20
|
+
* record's lookup; see `useStartAddress`. In an app with organizations (`organization` other than `''`) it waits for a
|
|
21
|
+
* `/meta` answered in this page load (`metaSettled`), as a cached one may be from another organization or from none,
|
|
22
|
+
* such as the one cached on the first-organization screen, which names no start.
|
|
23
|
+
*/
|
|
24
|
+
export declare const startTarget: ({ entry, fallback, enabled, organization, metaSettled, lookup }: {
|
|
25
|
+
entry: StartEntry | undefined;
|
|
26
|
+
fallback: AppAddress | undefined;
|
|
27
|
+
enabled: boolean;
|
|
28
|
+
organization: string | null | undefined;
|
|
29
|
+
metaSettled: boolean;
|
|
30
|
+
lookup: StartLookup;
|
|
31
|
+
}) => StartTarget;
|
|
32
|
+
/**
|
|
33
|
+
* Whether the `/meta` drawn is one read in this page load, or the start cache's once reading it again failed: the one
|
|
34
|
+
* the `/meta` query holds (`state`), compared by ETag, as what is drawn may still be the query's previous answer for a
|
|
35
|
+
* render.
|
|
36
|
+
*/
|
|
37
|
+
export declare const metaSettled: (drawn: MetaData, state: Pick<QueryState<MetaData>, "data" | "dataUpdatedAt"> | undefined, startedAt: number, lastFailed: boolean) => boolean;
|
|
38
|
+
//#endregion
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { isAnsweredNow } from "../data/start-cache/restored-state.js";
|
|
2
|
+
import { startKey } from "./start-record.js";
|
|
3
|
+
//#region src/app/start-target.ts
|
|
4
|
+
/**
|
|
5
|
+
* What `/` opens, from the start entry and first sidebar entry of `/meta` (`startEntry`, `startAddress`) and the start
|
|
6
|
+
* record's lookup; see `useStartAddress`. In an app with organizations (`organization` other than `''`) it waits for a
|
|
7
|
+
* `/meta` answered in this page load (`metaSettled`), as a cached one may be from another organization or from none,
|
|
8
|
+
* such as the one cached on the first-organization screen, which names no start.
|
|
9
|
+
*/
|
|
10
|
+
const startTarget = ({ entry, fallback, enabled, organization, metaSettled, lookup }) => {
|
|
11
|
+
const opensFallback = {
|
|
12
|
+
state: "ready",
|
|
13
|
+
...fallback && { address: fallback }
|
|
14
|
+
};
|
|
15
|
+
if (organization === null) return opensFallback;
|
|
16
|
+
if (organization !== "" && !metaSettled) return enabled ? { state: "resolving" } : opensFallback;
|
|
17
|
+
if (!entry) return opensFallback;
|
|
18
|
+
if (organization === void 0 || lookup.pending) return enabled ? { state: "resolving" } : opensFallback;
|
|
19
|
+
if (lookup.failed) return opensFallback;
|
|
20
|
+
const key = lookup.rows && startKey(entry.model, lookup.rows);
|
|
21
|
+
if (key !== void 0) return {
|
|
22
|
+
state: "ready",
|
|
23
|
+
address: {
|
|
24
|
+
kind: "record",
|
|
25
|
+
resource: entry.model.name,
|
|
26
|
+
key
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
return opensFallback;
|
|
30
|
+
};
|
|
31
|
+
/**
|
|
32
|
+
* Whether the `/meta` drawn is one read in this page load, or the start cache's once reading it again failed: the one
|
|
33
|
+
* the `/meta` query holds (`state`), compared by ETag, as what is drawn may still be the query's previous answer for a
|
|
34
|
+
* render.
|
|
35
|
+
*/
|
|
36
|
+
const metaSettled = (drawn, state, startedAt, lastFailed) => state?.data?.etag === drawn.etag && (isAnsweredNow(state, startedAt) || lastFailed);
|
|
37
|
+
//#endregion
|
|
38
|
+
export { metaSettled, startTarget };
|
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
import { MetaData } from "../data/meta-data.js";
|
|
2
|
-
import {
|
|
2
|
+
import { StartTarget } from "./start-target.js";
|
|
3
3
|
//#region src/app/use-start-address.d.ts
|
|
4
|
-
export type StartTarget = {
|
|
5
|
-
state: 'resolving';
|
|
6
|
-
} | {
|
|
7
|
-
state: 'ready';
|
|
8
|
-
address?: AppAddress;
|
|
9
|
-
};
|
|
10
4
|
/**
|
|
11
5
|
* What `/` opens: the record the first sidebar entry with `nav.start` finds, read with the caller's access, else the
|
|
12
6
|
* first sidebar entry (`startAddress`). `resolving` while the lookup runs, so `/` draws nothing rather than a list it
|
|
@@ -15,7 +9,10 @@ export type StartTarget = {
|
|
|
15
9
|
* found before. The answer is a query, so the start cache has it on the next start.
|
|
16
10
|
*
|
|
17
11
|
* `organization` is the one the record is looked up in, `''` in an app without organizations: `undefined` while it is
|
|
18
|
-
* not yet known for certain, which resolves, and `null` once it cannot be, which opens the first entry.
|
|
12
|
+
* not yet known for certain, which resolves, and `null` once it cannot be, which opens the first entry. With
|
|
13
|
+
* organizations, `/` also waits for `/meta` to be read in this page load, or to fail, rather than settle on the start
|
|
14
|
+
* cache's (see `startTarget`).
|
|
19
15
|
*/
|
|
20
16
|
export declare const useStartAddress: (meta: MetaData, enabled: boolean, organization: string | null | undefined) => StartTarget;
|
|
21
|
-
//#endregion
|
|
17
|
+
//#endregion
|
|
18
|
+
export type { StartTarget };
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { keys } from "../data/query-keys.js";
|
|
2
|
-
import { lastFetchFailed } from "../data/start-cache/restored-state.js";
|
|
2
|
+
import { ClientStartContext, lastFetchFailed } from "../data/start-cache/restored-state.js";
|
|
3
3
|
import { useClient } from "../data/api-provider.js";
|
|
4
|
+
import { useMeta } from "../data/use-meta.js";
|
|
4
5
|
import { startAddress } from "./start-address.js";
|
|
5
|
-
import { startEntry,
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
6
|
+
import { startEntry, startRequest } from "./start-record.js";
|
|
7
|
+
import { metaSettled, startTarget } from "./start-target.js";
|
|
8
|
+
import { useContext, useMemo } from "react";
|
|
9
|
+
import { useQuery, useQueryClient } from "@tanstack/react-query";
|
|
8
10
|
//#region src/app/use-start-address.ts
|
|
9
11
|
/**
|
|
10
12
|
* What `/` opens: the record the first sidebar entry with `nav.start` finds, read with the caller's access, else the
|
|
@@ -14,10 +16,15 @@ import { useQuery } from "@tanstack/react-query";
|
|
|
14
16
|
* found before. The answer is a query, so the start cache has it on the next start.
|
|
15
17
|
*
|
|
16
18
|
* `organization` is the one the record is looked up in, `''` in an app without organizations: `undefined` while it is
|
|
17
|
-
* not yet known for certain, which resolves, and `null` once it cannot be, which opens the first entry.
|
|
19
|
+
* not yet known for certain, which resolves, and `null` once it cannot be, which opens the first entry. With
|
|
20
|
+
* organizations, `/` also waits for `/meta` to be read in this page load, or to fail, rather than settle on the start
|
|
21
|
+
* cache's (see `startTarget`).
|
|
18
22
|
*/
|
|
19
23
|
const useStartAddress = (meta, enabled, organization) => {
|
|
20
24
|
const client = useClient();
|
|
25
|
+
const startedAt = useContext(ClientStartContext);
|
|
26
|
+
const metaQuery = useMeta();
|
|
27
|
+
const metaState = useQueryClient().getQueryState(keys.meta);
|
|
21
28
|
const entry = useMemo(() => startEntry(meta), [meta]);
|
|
22
29
|
const fallback = useMemo(() => startAddress(meta), [meta]);
|
|
23
30
|
const request = entry && startRequest(entry, meta);
|
|
@@ -27,23 +34,18 @@ const useStartAddress = (meta, enabled, organization) => {
|
|
|
27
34
|
enabled: enabled && Boolean(entry) && typeof organization === "string",
|
|
28
35
|
retry: false
|
|
29
36
|
});
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
address: {
|
|
41
|
-
kind: "record",
|
|
42
|
-
resource: entry.model.name,
|
|
43
|
-
key
|
|
37
|
+
return startTarget({
|
|
38
|
+
entry,
|
|
39
|
+
fallback,
|
|
40
|
+
enabled,
|
|
41
|
+
organization,
|
|
42
|
+
metaSettled: metaSettled(meta, metaState, startedAt, lastFetchFailed(metaQuery)),
|
|
43
|
+
lookup: {
|
|
44
|
+
pending: query.isPending,
|
|
45
|
+
failed: lastFetchFailed(query),
|
|
46
|
+
...query.data && { rows: query.data.items }
|
|
44
47
|
}
|
|
45
|
-
};
|
|
46
|
-
return opensFallback;
|
|
48
|
+
});
|
|
47
49
|
};
|
|
48
50
|
//#endregion
|
|
49
51
|
export { useStartAddress };
|
|
@@ -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: "organizations" | "roles" | "signIn" | "resources" | "system" | "theme" | "breadcrumb" | "search" | "tabs" | "navigation" | "more" | "openNavigation" | "backTo" | "closeSearch" | "clearSearch" | "globalSearch" | "searchResults" | "searching" | "noMatches" | "accountOf" | "profileMenu" | "
|
|
5
|
-
rich(id: "organizations" | "roles" | "signIn" | "resources" | "system" | "theme" | "breadcrumb" | "search" | "tabs" | "navigation" | "more" | "openNavigation" | "backTo" | "closeSearch" | "clearSearch" | "globalSearch" | "searchResults" | "searching" | "noMatches" | "accountOf" | "profileMenu" | "
|
|
4
|
+
(id: "organizations" | "roles" | "loading" | "signIn" | "signOut" | "resources" | "system" | "theme" | "breadcrumb" | "search" | "tabs" | "navigation" | "more" | "openNavigation" | "backTo" | "closeSearch" | "clearSearch" | "globalSearch" | "searchResults" | "searching" | "noMatches" | "accountOf" | "profileMenu" | "light" | "dark" | "recent" | "couldNotLoad" | "viewAll" | "couldNotSearch", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "organizations" | "roles" | "loading" | "signIn" | "signOut" | "resources" | "system" | "theme" | "breadcrumb" | "search" | "tabs" | "navigation" | "more" | "openNavigation" | "backTo" | "closeSearch" | "clearSearch" | "globalSearch" | "searchResults" | "searching" | "noMatches" | "accountOf" | "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: "noAnswer" | "reconnecting" | "askQuestion" | "assistant" | "empty" | "backendNoAnswer" | "couldNotDraw" | "cannotShowLive", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "noAnswer" | "reconnecting" | "askQuestion" | "assistant" | "empty" | "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: "admin" | "or" | "loading" | "cannotReach" | "tryAgain" | "passwordChanged" | "noAnswer" | "code" | "backupCode" | "email" | "password" | "passwordOptional" | "signIn" | "signOut" | "continue" | "backToSignIn" | "useAnotherAddress" | "checkEmail" | "newCodeSent" | "sendNewCode" | "sendNewCodeIn" | "signInCodeDescription" | "signInCodeSent" | "signUpCodeDescription" | "signUpCodeSent" | "noAdminTitle" | "noAdminDescription" | "noAdminExplanation" | "copyCommand" | "firstAdminExplanation" | "firstAdminLink" | "reload" | "tooManyRequests" | "tooManyAttempts" | "resetTitle" | "resetDescription" | "sendResetLink" | "resetSent" | "linkExpiredTitle" | "linkExpiredExplanation" | "sendNewLink" | "passwordsDiffer" | "choosePassword" | "atLeast" | "useAtLeast" | "passwordTooLong" | "newPassword" | "repeatPassword" | "setPassword" | "signingInWith" | "takingYouTo" | "providerNotOffered" | "turnOnTwoFactor" | "addPasskey" | "requiredForEveryAccount" | "passkeyExplanation" | "couldNotReadAccount" | "signInTitle" | "runsOnProtobase" | "continueWith" | "signInWithPasskey" | "passkeyFor" | "emailSignInCode" | "usePassword" | "forgotPassword" | "newHere" | "haveAccount" | "createAnAccount" | "browse" | "notNow" | "detailsTitle" | "detailsDescription" | "yourName" | "codeWasRight" | "withoutPassword" | "createAccount" | "codeToConfirm" | "emailCode" | "browseWithoutAccount" | "staffTitle" | "staffUnavailable" | "signInAsPerson" | "forStaffOf" | "theirEmail" | "reason" | "reasonExample" | "staffExplanation" | "totpInstruction" | "otpInstruction" | "backupInstruction" | "twoFactorTitle" | "twoFactorDescription" | "codeToFinish" | "trustBrowser" | "trustBrowserFor" | "verify" | "useAuthenticator" | "emailCodeInstead" | "useBackupCode", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "admin" | "or" | "loading" | "cannotReach" | "tryAgain" | "passwordChanged" | "noAnswer" | "code" | "backupCode" | "email" | "password" | "passwordOptional" | "signIn" | "signOut" | "continue" | "backToSignIn" | "useAnotherAddress" | "checkEmail" | "newCodeSent" | "sendNewCode" | "sendNewCodeIn" | "signInCodeDescription" | "signInCodeSent" | "signUpCodeDescription" | "signUpCodeSent" | "noAdminTitle" | "noAdminDescription" | "noAdminExplanation" | "copyCommand" | "firstAdminExplanation" | "firstAdminLink" | "reload" | "tooManyRequests" | "tooManyAttempts" | "resetTitle" | "resetDescription" | "sendResetLink" | "resetSent" | "linkExpiredTitle" | "linkExpiredExplanation" | "sendNewLink" | "passwordsDiffer" | "choosePassword" | "atLeast" | "useAtLeast" | "passwordTooLong" | "newPassword" | "repeatPassword" | "setPassword" | "signingInWith" | "takingYouTo" | "providerNotOffered" | "turnOnTwoFactor" | "addPasskey" | "requiredForEveryAccount" | "passkeyExplanation" | "couldNotReadAccount" | "signInTitle" | "runsOnProtobase" | "continueWith" | "signInWithPasskey" | "passkeyFor" | "emailSignInCode" | "usePassword" | "forgotPassword" | "newHere" | "haveAccount" | "createAnAccount" | "browse" | "notNow" | "detailsTitle" | "detailsDescription" | "yourName" | "codeWasRight" | "withoutPassword" | "createAccount" | "codeToConfirm" | "emailCode" | "browseWithoutAccount" | "staffTitle" | "staffUnavailable" | "signInAsPerson" | "forStaffOf" | "theirEmail" | "reason" | "reasonExample" | "staffExplanation" | "totpInstruction" | "otpInstruction" | "backupInstruction" | "twoFactorTitle" | "twoFactorDescription" | "codeToFinish" | "trustBrowser" | "trustBrowserFor" | "verify" | "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: "you" | "continue" | "yourName" | "camera" | "microphone" | "accept" | "decline" | "startCall" | "join" | "inProgress" | "people" | "joinCall" | "leave" | "shareScreen" | "stopSharing" | "muted" | "alone" | "connecting" | "reconnecting" | "full" | "removed" | "ended" | "refused" | "unavailable" | "callAgain" | "noMicrophone" | "noCamera" | "noDevices" | "cannotConnect" | "poorConnection" | "goodConnection" | "sharing" | "youAreSharing" | "speaking" | "preview" | "guestName" | "denied" | "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" | "guestIntro" | "youLeft", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "you" | "continue" | "yourName" | "camera" | "microphone" | "accept" | "decline" | "startCall" | "join" | "inProgress" | "people" | "joinCall" | "leave" | "shareScreen" | "stopSharing" | "muted" | "alone" | "connecting" | "reconnecting" | "full" | "removed" | "ended" | "refused" | "unavailable" | "callAgain" | "noMicrophone" | "noCamera" | "noDevices" | "cannotConnect" | "poorConnection" | "goodConnection" | "sharing" | "youAreSharing" | "speaking" | "preview" | "guestName" | "denied" | "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" | "guestIntro" | "youLeft", 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" | "date" | "noMatches" | "
|
|
5
|
-
rich(id: "remove" | "date" | "noMatches" | "
|
|
4
|
+
(id: "remove" | "date" | "noMatches" | "today" | "maximum" | "minimum" | "year" | "month" | "yesterday" | "24h" | "7d" | "30d" | "90d" | "quarter" | "unknownPreset" | "unsupported" | "clearAll" | "searchIn" | "moreFilters" | "filters" | "showOnly" | "couldNotLoadCounts", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "remove" | "date" | "noMatches" | "today" | "maximum" | "minimum" | "year" | "month" | "yesterday" | "24h" | "7d" | "30d" | "90d" | "quarter" | "unknownPreset" | "unsupported" | "clearAll" | "searchIn" | "moreFilters" | "filters" | "showOnly" | "couldNotLoadCounts", 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: "loading" | "send" | "notFound" | "noForm" | "setByDatabase" | "notSent" | "checkTooLong", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "loading" | "send" | "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/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
|
|
@@ -3,7 +3,7 @@ export declare const customerCount = 480;
|
|
|
3
3
|
export declare const customerAt: (index: number) => {
|
|
4
4
|
id: string;
|
|
5
5
|
name: string;
|
|
6
|
-
country: "
|
|
6
|
+
country: "GB" | "NL" | "DE";
|
|
7
7
|
city: NonNullable<"Rotterdam" | "Eindhoven" | "Utrecht" | "Zwolle" | "Breda" | "Groningen" | "Düsseldorf" | "Köln" | "Stuttgart" | "Hamburg" | "Münster" | "Nürnberg" | "Leeds" | "Bristol" | "Birmingham" | "Manchester" | "Sheffield">;
|
|
8
8
|
};
|
|
9
9
|
export type Customer = ReturnType<typeof customerAt>;
|
package/dist/mocks/invoices.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ export declare const invoiceAt: (index: number) => {
|
|
|
18
18
|
customer: {
|
|
19
19
|
id: string;
|
|
20
20
|
name: string;
|
|
21
|
-
country: "
|
|
21
|
+
country: "GB" | "NL" | "DE";
|
|
22
22
|
city: NonNullable<"Rotterdam" | "Eindhoven" | "Utrecht" | "Zwolle" | "Breda" | "Groningen" | "Düsseldorf" | "Köln" | "Stuttgart" | "Hamburg" | "Münster" | "Nürnberg" | "Leeds" | "Bristol" | "Birmingham" | "Manchester" | "Sheffield">;
|
|
23
23
|
};
|
|
24
24
|
status: "draft" | "sent" | "paid" | "overdue";
|
package/dist/mocks/orders.d.ts
CHANGED
|
@@ -9,10 +9,10 @@ export declare const orderAt: (index: number) => {
|
|
|
9
9
|
id: string;
|
|
10
10
|
name: string;
|
|
11
11
|
};
|
|
12
|
-
country: "
|
|
12
|
+
country: "GB" | "NL" | "DE";
|
|
13
13
|
status: "cancelled" | "draft" | "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";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../../locale/messages.js";
|
|
2
2
|
//#region src/notifications/bell/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "tryAgain" | "unread" | "empty" | "showMore" | "turnOn" | "turnOff" | "notifications" | "notificationsUnread" | "notificationsManyUnread" | "markAllRead" | "loadFailed" | "pushOff" | "pushOn" | "pushBlocked" | "pushRegistrationFailed" | "pushNoTokenApns" | "pushNoTokenFcm" | "pushRefused" | "pushFailed" | "pushOffNotStored", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "tryAgain" | "unread" | "empty" | "showMore" | "turnOn" | "turnOff" | "notifications" | "notificationsUnread" | "notificationsManyUnread" | "markAllRead" | "loadFailed" | "pushOff" | "pushOn" | "pushBlocked" | "pushRegistrationFailed" | "pushNoTokenApns" | "pushNoTokenFcm" | "pushRefused" | "pushFailed" | "pushOffNotStored", 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/organizations/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "admin" | "invalidLink" | "invitations" | "organizations" | "loading" | "tryAgain" | "password" | "passwordOptional" | "signOut" | "yourName" | "name" | "member" | "cancel" | "accept" | "join" | "leave" | "remove" | "guestLinks" | "organization" | "open" | "create" | "joining" | "members" | "save" | "until" | "current" | "delete" | "owner" | "manageOrganizations" | "slug" | "allOrganizations" | "allOrganizationsDescription" | "findOrganization" | "nameOrSlug" | "cannotChangeRole" | "makeAccountToJoin" | "makeAccount" | "passwordRequired" | "createAndJoin" | "createYourAccount" | "invitation" | "goToApp" | "invitesToApp" | "invitesTo" | "invitesToWith" | "hasAccount" | "signInAs" | "signInAsToJoin" | "otherAddress" | "signOutToAccept" | "inviteSomeone" | "inviteDescription" | "organizationRole" | "peopleInvited" | "notAcceptedYet" | "sendingAgain" | "nobodyWaiting" | "roleOf" | "couldNotReadMembers" | "whoWorks" | "membersDescription" | "details" | "detailsEditable" | "detailsReadOnly" | "guestLinksDescription" | "guestLinksAllowed" | "handOver" | "handOverDescription" | "newOwner" | "chooseMember" | "deleteOrganization" | "deleteDescription" | "deleteTitle" | "deleteConfirm" | "organizationName" | "leaveOwner" | "leaveMember" | "leaveName" | "noOrganization" | "youAre" | "throughGlobalRoles" | "newOrganization" | "newOrganizationDescription" | "invitationsForYou" | "invitationsForYouDescription" | "anOrganization" | "noAppRoles" | "organizationsSubtitle" | "yourOrganizations" | "memberOf" | "notMember" | "couldNotReadOrganizations" | "word" | "words" | "createTitle" | "createButton" | "creating" | "nameNeeded" | "signedInAs" | "invitedTitle" | "invitedSubtitle" | "createInstead" | "backToInvitations" | "notInAnyTitle" | "notInAny" | "invitedSubtitleJoinOnly" | "expires" | "invitationsNotLoaded" | "invitationsNotLoadedHelp", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "admin" | "invalidLink" | "invitations" | "organizations" | "loading" | "tryAgain" | "password" | "passwordOptional" | "signOut" | "yourName" | "name" | "member" | "cancel" | "accept" | "join" | "leave" | "remove" | "guestLinks" | "organization" | "open" | "create" | "joining" | "members" | "save" | "until" | "current" | "delete" | "owner" | "manageOrganizations" | "slug" | "allOrganizations" | "allOrganizationsDescription" | "findOrganization" | "nameOrSlug" | "cannotChangeRole" | "makeAccountToJoin" | "makeAccount" | "passwordRequired" | "createAndJoin" | "createYourAccount" | "invitation" | "goToApp" | "invitesToApp" | "invitesTo" | "invitesToWith" | "hasAccount" | "signInAs" | "signInAsToJoin" | "otherAddress" | "signOutToAccept" | "inviteSomeone" | "inviteDescription" | "organizationRole" | "peopleInvited" | "notAcceptedYet" | "sendingAgain" | "nobodyWaiting" | "roleOf" | "couldNotReadMembers" | "whoWorks" | "membersDescription" | "details" | "detailsEditable" | "detailsReadOnly" | "guestLinksDescription" | "guestLinksAllowed" | "handOver" | "handOverDescription" | "newOwner" | "chooseMember" | "deleteOrganization" | "deleteDescription" | "deleteTitle" | "deleteConfirm" | "organizationName" | "leaveOwner" | "leaveMember" | "leaveName" | "noOrganization" | "youAre" | "throughGlobalRoles" | "newOrganization" | "newOrganizationDescription" | "invitationsForYou" | "invitationsForYouDescription" | "anOrganization" | "noAppRoles" | "organizationsSubtitle" | "yourOrganizations" | "memberOf" | "notMember" | "couldNotReadOrganizations" | "word" | "words" | "createTitle" | "createButton" | "creating" | "nameNeeded" | "signedInAs" | "invitedTitle" | "invitedSubtitle" | "createInstead" | "backToInvitations" | "notInAnyTitle" | "notInAny" | "invitedSubtitleJoinOnly" | "expires" | "invitationsNotLoaded" | "invitationsNotLoadedHelp", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
package/dist/package.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/plugins/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "loading" | "couldNotLoad" | "
|
|
5
|
-
rich(id: "loading" | "couldNotLoad" | "
|
|
4
|
+
(id: "loading" | "couldNotLoad" | "pluginsOff" | "pluginOff" | "dismiss" | "answered" | "notObject" | "noName" | "noApi" | "noVersions" | "noModule" | "badStylesheet" | "badVersion", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "loading" | "couldNotLoad" | "pluginsOff" | "pluginOff" | "dismiss" | "answered" | "notObject" | "noName" | "noApi" | "noVersions" | "noModule" | "badStylesheet" | "badVersion", 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/primitives/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "loading" | "remove" | "close" | "next" | "previous" | "dragToClose", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "loading" | "remove" | "close" | "next" | "previous" | "dragToClose", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(function(){try{var e=typeof globalThis<`u`?globalThis:typeof window<`u`?window:typeof global<`u`?global:typeof self<`u`?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(n!=null)for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}return e}({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:protobase-app":!0})}catch{}})();import{o as e}from"./rolldown-runtime-DFwUHQ4A.js";import{t}from"./react-CuiNlnus.js";import{Ho as n,_s as r,pa as i,ts as a,vs as o}from"./app-
|
|
2
|
-
//# debugId=
|
|
1
|
+
(function(){try{var e=typeof globalThis<`u`?globalThis:typeof window<`u`?window:typeof global<`u`?global:typeof self<`u`?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(n!=null)for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}return e}({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:protobase-app":!0})}catch{}})();import{o as e}from"./rolldown-runtime-DFwUHQ4A.js";import{t}from"./react-CuiNlnus.js";import{Ho as n,_s as r,pa as i,ts as a,vs as o}from"./app-B94YfKGx.js";import{t as s}from"./render-node-0_Pb8ixy.js";var c=e(t(),1),l=({tab:e})=>{let t=n();return t?(0,c.jsx)(i,{route:{...e&&{tab:e},pathOf:r},children:(0,c.jsx)(s,{node:t.tree})}):(0,c.jsx)(a,{title:o(`noAccount`),children:o(`noAccountDescription`)})};export{l as AccountPage};
|
|
2
|
+
//# debugId=1de1b03e-4678-4482-a279-b182b7154244
|