@protobase/ui 0.118.1 → 0.119.1
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/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/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/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/workflow/messages.d.ts +2 -2
- package/dist/app/field-types/workflow-page/messages.d.ts +2 -2
- package/dist/app/field-types/workflow-run/messages.d.ts +2 -2
- package/dist/app/file-viewers/messages.d.ts +2 -2
- package/dist/app/focus/messages.d.ts +2 -2
- package/dist/app/hand-order/messages.d.ts +2 -2
- package/dist/app/import/messages.d.ts +2 -2
- package/dist/app/list-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/opened-address.d.ts +9 -0
- package/dist/app/opened-address.js +14 -0
- package/dist/app/pages/messages.d.ts +2 -2
- package/dist/app/record-chart/messages.d.ts +2 -2
- package/dist/app/record-messages.d.ts +2 -2
- package/dist/app/record-mode/shown-layout.d.ts +1 -1
- package/dist/app/record-opens.d.ts +1 -6
- package/dist/app/record-opens.js +2 -12
- package/dist/app/record-page.js +2 -1
- package/dist/app/record-row/messages.d.ts +2 -2
- package/dist/app/related-cards/messages.d.ts +2 -2
- package/dist/app/runtime/messages.d.ts +2 -2
- package/dist/app/saved/messages.d.ts +2 -2
- package/dist/app/saved/use-favorite.d.ts +1 -1
- package/dist/app/search/search-model.d.ts +7 -3
- package/dist/app/search/search-model.js +13 -6
- 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-messages.d.ts +2 -0
- package/dist/auth/auth-messages.js +3 -1
- package/dist/auth/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/locale/en.js +4 -1
- package/dist/locale/en.json.d.ts +3 -0
- package/dist/locale/messages.d.ts +6 -0
- package/dist/locale/nl.js +4 -1
- package/dist/mocks/customers.d.ts +1 -1
- package/dist/mocks/invoices.d.ts +1 -1
- package/dist/mocks/orders.d.ts +3 -3
- package/dist/notifications/bell/messages.d.ts +2 -2
- package/dist/organizations/first-organization-page.js +5 -7
- package/dist/organizations/messages.d.ts +2 -2
- package/dist/organizations/my-invitation-row.d.ts +6 -2
- package/dist/organizations/my-invitation-row.js +8 -3
- package/dist/organizations/new-organization-form.js +3 -2
- package/dist/organizations/organizations-page.js +4 -6
- package/dist/organizations/use-action.d.ts +10 -1
- package/dist/organizations/use-action.js +25 -15
- package/dist/organizations/use-join-invitation.d.ts +9 -0
- package/dist/organizations/use-join-invitation.js +25 -0
- package/dist/package.js +1 -1
- package/dist/plugins/messages.d.ts +2 -2
- package/dist/primitives/button.d.ts +4 -2
- package/dist/primitives/button.js +23 -15
- package/dist/shell/assets/{account-page-D9hXd-u3.js → account-page-BXnceUQo.js} +2 -2
- package/dist/shell/assets/app-D3BCcbgE.js +34 -0
- package/dist/shell/assets/{assistant-shell-DDkCxLNG.js → assistant-shell-DKf9TfL2.js} +2 -2
- package/dist/shell/assets/board-display-DJkQwIfT.js +2 -0
- package/dist/shell/assets/calendar-display-BKyuHAAF.js +2 -0
- package/dist/shell/assets/{call-rings-B5rBD5EL.js → call-rings-D_kQbFd3.js} +2 -2
- package/dist/shell/assets/{calls-z1AEvYOC.js → calls-D6jSGMCo.js} +2 -2
- package/dist/shell/assets/{circle-alert-C_1i142n.js → circle-alert-ytReRN_c.js} +2 -2
- package/dist/shell/assets/{composed-page--UJ8tsC0.js → composed-page-CbNBBioS.js} +2 -2
- package/dist/shell/assets/{composer-section-tfrO2pIi.js → composer-section-cg-cdFZx.js} +2 -2
- package/dist/shell/assets/{connect-route-rVNQDWcE.js → connect-route-hMUPiAft.js} +2 -2
- package/dist/shell/assets/{copy-field-D9agQmK0.js → copy-field-BoXXafL7.js} +2 -2
- package/dist/shell/assets/create-route-BePHRkTZ.js +2 -0
- package/dist/shell/assets/{custom-step-container-field-BanmPoI-.js → custom-step-container-field-B3bsPeCV.js} +4 -4
- package/dist/shell/assets/embedded-list-6lQyJozS.js +3 -0
- package/dist/shell/assets/{en-BrEwbNhJ.js → en-dURxhEht.js} +2 -2
- package/dist/shell/assets/{export-dialog-g69vJ8j2.js → export-dialog-BUbdSkkU.js} +2 -2
- package/dist/shell/assets/export-worker-DfIG4xQy.js +15 -0
- package/dist/shell/assets/first-organization-page-BhQOFT5P.js +2 -0
- package/dist/shell/assets/{graph-view-DXDcn-Fx.js → graph-view-DZHMI-UQ.js} +2 -2
- package/dist/shell/assets/{group-donut-B3bCn83A.js → group-donut-Cu5Ny3gq.js} +2 -2
- package/dist/shell/assets/{guest-call-page-rAD4EXPd.js → guest-call-page-DlAkbaRH.js} +3 -3
- package/dist/shell/assets/{html-viewer-BxhCE5h2.js → html-viewer-DrSS-WnU.js} +2 -2
- package/dist/shell/assets/{import-dialog-adjnDUuk.js → import-dialog-Dk_31-PT.js} +2 -2
- package/dist/shell/assets/import-table-dialog-vL-juOMH.js +2 -0
- package/dist/shell/assets/{index-BBHelxJ2.js → index-CTmZ8-B4.js} +1 -1
- package/dist/shell/assets/invitations-page-CfTEdorg.js +2 -0
- package/dist/shell/assets/{layout-grid-B3Php1Rf.js → layout-grid-CTlIrnH5.js} +2 -2
- package/dist/shell/assets/{legend-item-BbV6BD6w.js → legend-item-CqkLpsWb.js} +2 -2
- package/dist/shell/assets/list-page-Czg2Jaxx.js +4 -0
- package/dist/shell/assets/{maplibre-D4xk_BLC.js → maplibre-Bd79IbdT.js} +2 -2
- package/dist/shell/assets/{markdown-content-CnNrPGcY.js → markdown-content-BGl9PFVi.js} +2 -2
- package/dist/shell/assets/members-page-CEB-Wkl8.js +2 -0
- package/dist/shell/assets/messages-Ce8dRRRN.js +2 -0
- package/dist/shell/assets/{nl-Dto12ewP.js → nl-B0dpIbbz.js} +2 -2
- package/dist/shell/assets/organization-page-CTxtblmm.js +2 -0
- package/dist/shell/assets/organizations-page-DeNhUQDU.js +2 -0
- package/dist/shell/assets/parse-worker-VaelBbE0.js +35 -0
- package/dist/shell/assets/{pending-invitation-row-D_vU7ynw.js → pending-invitation-row-BMp0ZxE8.js} +2 -2
- package/dist/shell/assets/{period-chart-DPlEbvX7.js → period-chart-BDqtO8mc.js} +2 -2
- package/dist/shell/assets/{person-row-DMY-aQjx.js → person-row-DRqtbPma.js} +2 -2
- package/dist/shell/assets/public-form-page-XgK3-Nzh.js +2 -0
- package/dist/shell/assets/{record-lines-SeXhFNSm.js → record-lines-DdN5hlI_.js} +2 -2
- package/dist/shell/assets/{record-map-BiLFEqYi.js → record-map-sOmjX80D.js} +2 -2
- package/dist/shell/assets/{record-opens-Ct9iF9FZ.js → record-opens-DLfbC3xo.js} +2 -2
- package/dist/shell/assets/record-page-BntRofCL.js +3 -0
- package/dist/shell/assets/{record-preview-J1o4Sqs-.js → record-preview-QMV2lW2j.js} +2 -2
- package/dist/shell/assets/{records-map-Cwdig5mb.js → records-map-DgTxGcbC.js} +2 -2
- package/dist/shell/assets/render-node-CkL5Sgl_.js +3 -0
- package/dist/shell/assets/reorder-button-8yWv8J72.js +2 -0
- package/dist/shell/assets/{run-trace-view-1fk6kU1U.js → run-trace-view-BPvPw3Ko.js} +2 -2
- package/dist/shell/assets/{runner-install-field-C_hTvogl.js → runner-install-field-CKP8E9ZO.js} +2 -2
- package/dist/shell/assets/{runtime-update-8hRmQkq-.js → runtime-update-DGbf2Nmm.js} +2 -2
- package/dist/shell/assets/shared-protobase-ui-DN-uvpOy.js +1 -0
- package/dist/shell/assets/{sheet-source-CD5hImgE.js → sheet-source-cKJfUaud.js} +3 -3
- package/dist/shell/assets/sign-in-policy-page-Bty4Ih1x.js +2 -0
- package/dist/shell/assets/start-block-queries-x-gNbPt1.js +2 -0
- package/dist/shell/assets/step-catalog-CCAXc8kn.js +2 -0
- package/dist/shell/assets/{step-panel-BVdV2FNT.js → step-panel-jmfh86YA.js} +2 -2
- package/dist/shell/assets/timeline-display-CtxOHPoJ.js +2 -0
- package/dist/shell/assets/{trash-5PpoeP3R.js → trash-CFCBxAWq.js} +2 -2
- package/dist/shell/assets/{update-set-BnRA9YhA.js → update-set-BYNQUWVp.js} +2 -2
- package/dist/shell/assets/use-calendar-move-BytgRG51.js +2 -0
- package/dist/shell/assets/{use-display-rows-ERQ-vbki.js → use-display-rows-DGw9J73C.js} +2 -2
- package/dist/shell/assets/use-my-invitations-BcMFAcXl.js +2 -0
- package/dist/shell/assets/{use-paged-search-CcEitpWG.js → use-paged-search-CKcKKO6y.js} +2 -2
- package/dist/shell/assets/{use-run-trace-CV461SQS.js → use-run-trace-BRwbwZcf.js} +2 -2
- package/dist/shell/assets/{use-workflow-page-peSmP1Jq.js → use-workflow-page-DsD276W-.js} +2 -2
- package/dist/shell/assets/{use-workflow-types-xM8CZO96.js → use-workflow-types-Bn24Chp-.js} +2 -2
- package/dist/shell/assets/{workflow-canvas-CkKd9u0-.js → workflow-canvas-BKd_Yd0v.js} +4 -4
- package/dist/shell/assets/{workflow-field-WovRhNaT.js → workflow-field-DyBaV6m5.js} +3 -3
- package/dist/shell/assets/{workflow-graph-editor-DRZ2UtBp.js → workflow-graph-editor-B8RJ52_E.js} +2 -2
- package/dist/shell/assets/{workflow-run-field-CrBAVhOq.js → workflow-run-field-CzluYhjs.js} +3 -3
- package/dist/shell/assets/workflow-status-field-_umgNjK4.js +2 -0
- package/dist/shell/assets/workflow-workbench-CqOI36Oy.js +4 -0
- package/dist/shell/index.html +3 -3
- package/dist/shell/protobase.shell.json +2 -2
- package/dist/shell/protobase.sw.js +2 -2
- package/dist/shell-source-maps/assets/{account-page-D9hXd-u3.js.map → account-page-BXnceUQo.js.map} +1 -1
- package/dist/shell-source-maps/assets/app-D3BCcbgE.js.map +1 -0
- package/dist/shell-source-maps/assets/{assistant-shell-DDkCxLNG.js.map → assistant-shell-DKf9TfL2.js.map} +1 -1
- package/dist/shell-source-maps/assets/{board-display-plYPsh6z.js.map → board-display-DJkQwIfT.js.map} +1 -1
- package/dist/shell-source-maps/assets/{calendar-display-B3kFBd2k.js.map → calendar-display-BKyuHAAF.js.map} +1 -1
- package/dist/shell-source-maps/assets/{call-rings-B5rBD5EL.js.map → call-rings-D_kQbFd3.js.map} +1 -1
- package/dist/shell-source-maps/assets/{calls-z1AEvYOC.js.map → calls-D6jSGMCo.js.map} +1 -1
- package/dist/shell-source-maps/assets/{circle-alert-C_1i142n.js.map → circle-alert-ytReRN_c.js.map} +1 -1
- package/dist/shell-source-maps/assets/{composed-page--UJ8tsC0.js.map → composed-page-CbNBBioS.js.map} +1 -1
- package/dist/shell-source-maps/assets/{composer-section-tfrO2pIi.js.map → composer-section-cg-cdFZx.js.map} +1 -1
- package/dist/shell-source-maps/assets/{connect-route-rVNQDWcE.js.map → connect-route-hMUPiAft.js.map} +1 -1
- package/dist/shell-source-maps/assets/{copy-field-D9agQmK0.js.map → copy-field-BoXXafL7.js.map} +1 -1
- package/dist/shell-source-maps/assets/{create-route-C4xN9aXd.js.map → create-route-BePHRkTZ.js.map} +1 -1
- package/dist/shell-source-maps/assets/{custom-step-container-field-BanmPoI-.js.map → custom-step-container-field-B3bsPeCV.js.map} +1 -1
- package/dist/shell-source-maps/assets/{embedded-list-B_e_Quer.js.map → embedded-list-6lQyJozS.js.map} +1 -1
- package/dist/shell-source-maps/assets/en-dURxhEht.js.map +1 -0
- package/dist/shell-source-maps/assets/{export-dialog-g69vJ8j2.js.map → export-dialog-BUbdSkkU.js.map} +1 -1
- package/dist/shell-source-maps/assets/export-worker-DfIG4xQy.js.map +1 -0
- package/dist/shell-source-maps/assets/first-organization-page-BhQOFT5P.js.map +1 -0
- package/dist/shell-source-maps/assets/{graph-view-DXDcn-Fx.js.map → graph-view-DZHMI-UQ.js.map} +1 -1
- package/dist/shell-source-maps/assets/{group-donut-B3bCn83A.js.map → group-donut-Cu5Ny3gq.js.map} +1 -1
- package/dist/shell-source-maps/assets/{guest-call-page-rAD4EXPd.js.map → guest-call-page-DlAkbaRH.js.map} +1 -1
- package/dist/shell-source-maps/assets/{html-viewer-BxhCE5h2.js.map → html-viewer-DrSS-WnU.js.map} +1 -1
- package/dist/shell-source-maps/assets/{import-dialog-adjnDUuk.js.map → import-dialog-Dk_31-PT.js.map} +1 -1
- package/dist/shell-source-maps/assets/{import-table-dialog-yV9UTlBY.js.map → import-table-dialog-vL-juOMH.js.map} +1 -1
- package/dist/shell-source-maps/assets/{invitations-page-FKTUQL8J.js.map → invitations-page-CfTEdorg.js.map} +1 -1
- package/dist/shell-source-maps/assets/{layout-grid-B3Php1Rf.js.map → layout-grid-CTlIrnH5.js.map} +1 -1
- package/dist/shell-source-maps/assets/{legend-item-BbV6BD6w.js.map → legend-item-CqkLpsWb.js.map} +1 -1
- package/dist/shell-source-maps/assets/{list-page-CNhV2TuF.js.map → list-page-Czg2Jaxx.js.map} +1 -1
- package/dist/shell-source-maps/assets/{maplibre-D4xk_BLC.js.map → maplibre-Bd79IbdT.js.map} +1 -1
- package/dist/shell-source-maps/assets/{markdown-content-CnNrPGcY.js.map → markdown-content-BGl9PFVi.js.map} +1 -1
- package/dist/shell-source-maps/assets/{members-page-CnxFoeyp.js.map → members-page-CEB-Wkl8.js.map} +1 -1
- package/dist/shell-source-maps/assets/{messages-BHPGrBhJ.js.map → messages-Ce8dRRRN.js.map} +1 -1
- package/dist/shell-source-maps/assets/nl-B0dpIbbz.js.map +1 -0
- package/dist/shell-source-maps/assets/{organization-page-B6k9pMkb.js.map → organization-page-CTxtblmm.js.map} +1 -1
- package/dist/shell-source-maps/assets/organizations-page-DeNhUQDU.js.map +1 -0
- package/dist/shell-source-maps/assets/parse-worker-VaelBbE0.js.map +1 -0
- package/dist/shell-source-maps/assets/{pending-invitation-row-D_vU7ynw.js.map → pending-invitation-row-BMp0ZxE8.js.map} +1 -1
- package/dist/shell-source-maps/assets/{period-chart-DPlEbvX7.js.map → period-chart-BDqtO8mc.js.map} +1 -1
- package/dist/shell-source-maps/assets/{person-row-DMY-aQjx.js.map → person-row-DRqtbPma.js.map} +1 -1
- package/dist/shell-source-maps/assets/{public-form-page-DTgXLDpt.js.map → public-form-page-XgK3-Nzh.js.map} +1 -1
- package/dist/shell-source-maps/assets/{record-lines-SeXhFNSm.js.map → record-lines-DdN5hlI_.js.map} +1 -1
- package/dist/shell-source-maps/assets/{record-map-BiLFEqYi.js.map → record-map-sOmjX80D.js.map} +1 -1
- package/dist/shell-source-maps/assets/record-opens-DLfbC3xo.js.map +1 -0
- package/dist/shell-source-maps/assets/{record-page-TxDSHcMe.js.map → record-page-BntRofCL.js.map} +1 -1
- package/dist/shell-source-maps/assets/{record-preview-J1o4Sqs-.js.map → record-preview-QMV2lW2j.js.map} +1 -1
- package/dist/shell-source-maps/assets/{records-map-Cwdig5mb.js.map → records-map-DgTxGcbC.js.map} +1 -1
- package/dist/shell-source-maps/assets/{render-node-BpHo-wre.js.map → render-node-CkL5Sgl_.js.map} +1 -1
- package/dist/shell-source-maps/assets/{reorder-button-CBOmzmhg.js.map → reorder-button-8yWv8J72.js.map} +1 -1
- package/dist/shell-source-maps/assets/{run-trace-view-1fk6kU1U.js.map → run-trace-view-BPvPw3Ko.js.map} +1 -1
- package/dist/shell-source-maps/assets/{runner-install-field-C_hTvogl.js.map → runner-install-field-CKP8E9ZO.js.map} +1 -1
- package/dist/shell-source-maps/assets/{runtime-update-8hRmQkq-.js.map → runtime-update-DGbf2Nmm.js.map} +1 -1
- package/dist/shell-source-maps/assets/{sheet-source-CD5hImgE.js.map → sheet-source-cKJfUaud.js.map} +1 -1
- package/dist/shell-source-maps/assets/{sign-in-policy-page-BQ8ck7Ar.js.map → sign-in-policy-page-Bty4Ih1x.js.map} +1 -1
- package/dist/shell-source-maps/assets/{start-block-queries-4uvupY9E.js.map → start-block-queries-x-gNbPt1.js.map} +1 -1
- package/dist/shell-source-maps/assets/{step-catalog-B2eQNTOp.js.map → step-catalog-CCAXc8kn.js.map} +1 -1
- package/dist/shell-source-maps/assets/{step-panel-BVdV2FNT.js.map → step-panel-jmfh86YA.js.map} +1 -1
- package/dist/shell-source-maps/assets/{timeline-display-BxihBkFH.js.map → timeline-display-CtxOHPoJ.js.map} +1 -1
- package/dist/shell-source-maps/assets/{trash-5PpoeP3R.js.map → trash-CFCBxAWq.js.map} +1 -1
- package/dist/shell-source-maps/assets/{update-set-BnRA9YhA.js.map → update-set-BYNQUWVp.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-calendar-move-Bu9MSBcs.js.map → use-calendar-move-BytgRG51.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-display-rows-ERQ-vbki.js.map → use-display-rows-DGw9J73C.js.map} +1 -1
- package/dist/shell-source-maps/assets/use-my-invitations-BcMFAcXl.js.map +1 -0
- package/dist/shell-source-maps/assets/{use-paged-search-CcEitpWG.js.map → use-paged-search-CKcKKO6y.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-run-trace-CV461SQS.js.map → use-run-trace-BRwbwZcf.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-workflow-page-peSmP1Jq.js.map → use-workflow-page-DsD276W-.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-workflow-types-xM8CZO96.js.map → use-workflow-types-Bn24Chp-.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-canvas-CkKd9u0-.js.map → workflow-canvas-BKd_Yd0v.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-field-WovRhNaT.js.map → workflow-field-DyBaV6m5.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-graph-editor-DRZ2UtBp.js.map → workflow-graph-editor-B8RJ52_E.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-run-field-CrBAVhOq.js.map → workflow-run-field-CzluYhjs.js.map} +1 -1
- package/dist/shell-source-maps/assets/workflow-status-field-_umgNjK4.js.map +1 -0
- package/dist/shell-source-maps/assets/{workflow-workbench-D8vU7ifz.js.map → workflow-workbench-CqOI36Oy.js.map} +1 -1
- package/dist/status/messages.d.ts +2 -2
- package/dist/users/messages.d.ts +2 -2
- package/package.json +5 -5
- package/dist/shell/assets/app-D6luJ1k4.js +0 -34
- package/dist/shell/assets/board-display-plYPsh6z.js +0 -2
- package/dist/shell/assets/calendar-display-B3kFBd2k.js +0 -2
- package/dist/shell/assets/create-route-C4xN9aXd.js +0 -2
- package/dist/shell/assets/embedded-list-B_e_Quer.js +0 -3
- package/dist/shell/assets/export-worker-DuHOhIiP.js +0 -15
- package/dist/shell/assets/first-organization-page-Cijgw9tC.js +0 -2
- package/dist/shell/assets/import-table-dialog-yV9UTlBY.js +0 -2
- package/dist/shell/assets/invitations-page-FKTUQL8J.js +0 -2
- package/dist/shell/assets/list-page-CNhV2TuF.js +0 -4
- package/dist/shell/assets/members-page-CnxFoeyp.js +0 -2
- package/dist/shell/assets/messages-BHPGrBhJ.js +0 -2
- package/dist/shell/assets/organization-page-B6k9pMkb.js +0 -2
- package/dist/shell/assets/organizations-page-D33Ruydz.js +0 -2
- package/dist/shell/assets/parse-worker-BRxyLV_D.js +0 -35
- package/dist/shell/assets/public-form-page-DTgXLDpt.js +0 -2
- package/dist/shell/assets/record-page-TxDSHcMe.js +0 -3
- package/dist/shell/assets/render-node-BpHo-wre.js +0 -3
- package/dist/shell/assets/reorder-button-CBOmzmhg.js +0 -2
- package/dist/shell/assets/shared-protobase-ui-Tq2sgl9G.js +0 -1
- package/dist/shell/assets/sign-in-policy-page-BQ8ck7Ar.js +0 -2
- package/dist/shell/assets/start-block-queries-4uvupY9E.js +0 -2
- package/dist/shell/assets/step-catalog-B2eQNTOp.js +0 -2
- package/dist/shell/assets/timeline-display-BxihBkFH.js +0 -2
- package/dist/shell/assets/use-calendar-move-Bu9MSBcs.js +0 -2
- package/dist/shell/assets/use-my-invitations-CnAvjXV0.js +0 -2
- package/dist/shell/assets/workflow-status-field-DgjtbjlH.js +0 -2
- package/dist/shell/assets/workflow-workbench-D8vU7ifz.js +0 -4
- package/dist/shell-source-maps/assets/app-D6luJ1k4.js.map +0 -1
- package/dist/shell-source-maps/assets/en-BrEwbNhJ.js.map +0 -1
- package/dist/shell-source-maps/assets/export-worker-DuHOhIiP.js.map +0 -1
- package/dist/shell-source-maps/assets/first-organization-page-Cijgw9tC.js.map +0 -1
- package/dist/shell-source-maps/assets/nl-Dto12ewP.js.map +0 -1
- package/dist/shell-source-maps/assets/organizations-page-D33Ruydz.js.map +0 -1
- package/dist/shell-source-maps/assets/parse-worker-BRxyLV_D.js.map +0 -1
- package/dist/shell-source-maps/assets/record-opens-Ct9iF9FZ.js.map +0 -1
- package/dist/shell-source-maps/assets/use-my-invitations-CnAvjXV0.js.map +0 -1
- package/dist/shell-source-maps/assets/workflow-status-field-DgjtbjlH.js.map +0 -1
|
@@ -1,12 +1,7 @@
|
|
|
1
1
|
import { AppAddress } from "@protobase/schema";
|
|
2
2
|
//#region src/app/record-opens.d.ts
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
* record by an empty key, as a field it names is empty, so the record's own page shows instead.
|
|
6
|
-
*/
|
|
7
|
-
export declare const openedAddress: (to: AppAddress, record: Record<string, unknown>) => AppAddress | undefined;
|
|
8
|
-
/**
|
|
9
|
-
* A record's page that opens another address in its place (`.recordOpens(...)`), as `openedAddress` fills it,
|
|
4
|
+
* A record's page that opens another address in its place (`.recordOpens(...)`), as `openedAddress` picks and fills it,
|
|
10
5
|
* replacing this address in the history so Back skips it.
|
|
11
6
|
*/
|
|
12
7
|
export declare const RecordOpens: ({ to }: {
|
package/dist/app/record-opens.js
CHANGED
|
@@ -2,20 +2,10 @@ import { Notice } from "./meta-gate.js";
|
|
|
2
2
|
import { useAppAddress } from "./use-app-address.js";
|
|
3
3
|
import { text } from "./record-messages.js";
|
|
4
4
|
import { useEffect } from "react";
|
|
5
|
-
import { fillAddress } from "@protobase/schema/internal";
|
|
6
5
|
import { jsx } from "react/jsx-runtime";
|
|
7
6
|
//#region src/app/record-opens.tsx
|
|
8
7
|
/**
|
|
9
|
-
*
|
|
10
|
-
* record by an empty key, as a field it names is empty, so the record's own page shows instead.
|
|
11
|
-
*/
|
|
12
|
-
const openedAddress = (to, record) => {
|
|
13
|
-
const filled = fillAddress(to, record);
|
|
14
|
-
if (filled.kind !== "record") return filled;
|
|
15
|
-
return (Array.isArray(filled.key) ? filled.key : [filled.key]).some((part) => part === "") ? void 0 : filled;
|
|
16
|
-
};
|
|
17
|
-
/**
|
|
18
|
-
* A record's page that opens another address in its place (`.recordOpens(...)`), as `openedAddress` fills it,
|
|
8
|
+
* A record's page that opens another address in its place (`.recordOpens(...)`), as `openedAddress` picks and fills it,
|
|
19
9
|
* replacing this address in the history so Back skips it.
|
|
20
10
|
*/
|
|
21
11
|
const RecordOpens = ({ to }) => {
|
|
@@ -27,4 +17,4 @@ const RecordOpens = ({ to }) => {
|
|
|
27
17
|
});
|
|
28
18
|
};
|
|
29
19
|
//#endregion
|
|
30
|
-
export { RecordOpens
|
|
20
|
+
export { RecordOpens };
|
package/dist/app/record-page.js
CHANGED
|
@@ -14,6 +14,7 @@ import { useOpenedRecord } from "../data/use-record.js";
|
|
|
14
14
|
import { useProjectUi } from "./pages/project-ui.js";
|
|
15
15
|
import { can, fieldAccess } from "./permissions.js";
|
|
16
16
|
import { useRecordTitle } from "./titles/record-titles.js";
|
|
17
|
+
import { openedAddress } from "./opened-address.js";
|
|
17
18
|
import { RecordSkeleton } from "./record-skeleton.js";
|
|
18
19
|
import { markdownExcerpt } from "../markdown/markdown-excerpt.js";
|
|
19
20
|
import { isMarkdown } from "../markdown/markdown-hint.js";
|
|
@@ -54,7 +55,7 @@ import { groupOpen, toggledOpen } from "./group-open.js";
|
|
|
54
55
|
import { IncomingCard } from "./incoming-card.js";
|
|
55
56
|
import { useDeleteFlow } from "./delete/use-delete-flow.js";
|
|
56
57
|
import { useRestore } from "./delete/use-restore.js";
|
|
57
|
-
import { RecordOpens
|
|
58
|
+
import { RecordOpens } from "./record-opens.js";
|
|
58
59
|
import { auditField } from "../live/audit-fields.js";
|
|
59
60
|
import { RecordActions } from "./pages/record-actions.js";
|
|
60
61
|
import { useRecordEditor } from "./use-record-editor.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../../locale/messages.js";
|
|
2
2
|
//#region src/app/record-row/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "new" | "couldNotLoad" | "viewAll" | "
|
|
5
|
-
rich(id: "new" | "couldNotLoad" | "viewAll" | "
|
|
4
|
+
(id: "new" | "couldNotLoad" | "viewAll" | "noneMatch" | "noneYet" | "couldNotLoadYour", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "new" | "couldNotLoad" | "viewAll" | "noneMatch" | "noneYet" | "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" | "left" | "couldNotLoad" | "add" | "
|
|
5
|
-
rich(id: "open" | "left" | "couldNotLoad" | "add" | "
|
|
4
|
+
(id: "open" | "left" | "couldNotLoad" | "add" | "nothingYet" | "showMore" | "showLess", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "open" | "left" | "couldNotLoad" | "add" | "nothingYet" | "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: "close" | "failed" | "update" | "
|
|
5
|
-
rich(id: "close" | "failed" | "update" | "
|
|
4
|
+
(id: "close" | "failed" | "update" | "manual" | "succeeded" | "started" | "immediate" | "weekly" | "scheduled" | "job" | "build" | "updatingNow" | "nextOn" | "unchanged" | "alreadyLatest" | "onlyAdmin" | "couldNotStart" | "runtimeUpdate" | "updating" | "updateNow" | "currentVersion" | "latestVersion" | "checkFailed" | "updateAvailable", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "close" | "failed" | "update" | "manual" | "succeeded" | "started" | "immediate" | "weekly" | "scheduled" | "job" | "build" | "updatingNow" | "nextOn" | "unchanged" | "alreadyLatest" | "onlyAdmin" | "couldNotStart" | "runtimeUpdate" | "updating" | "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" | "somethingWrong" | "noneYet" | "couldNotLoadYour" | "favorite" | "couldNotTakeOff", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "couldNotSave" | "somethingWrong" | "noneYet" | "couldNotLoadYour" | "favorite" | "couldNotTakeOff", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#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;
|
|
@@ -24,13 +24,17 @@ export declare const searchFilter: (text: string) => string;
|
|
|
24
24
|
export declare const titleFields: (target: SearchTarget) => string[];
|
|
25
25
|
/** The second line's field, unless the search matched another: the view's `searchResult.subtitle`, else the first search field not in the title. */
|
|
26
26
|
export declare const subtitleField: (target: SearchTarget) => string | undefined;
|
|
27
|
-
/**
|
|
27
|
+
/**
|
|
28
|
+
* The fields a result needs: the key, the title or those its derived title reads, the subtitle, the search fields, which
|
|
29
|
+
* say what the text matched, and those the addresses its record's page opens (`recordOpens`) are filled from.
|
|
30
|
+
*/
|
|
28
31
|
export declare const searchFields: (target: SearchTarget) => string[];
|
|
29
32
|
/**
|
|
30
33
|
* A row as a result for `text`: its title fields joined by spaces (the key when they are empty) over a subtitle, which is
|
|
31
34
|
* the search field explaining the match when neither the title nor the default subtitle does (a phone number searched
|
|
32
|
-
* for), else the default subtitle.
|
|
33
|
-
*
|
|
35
|
+
* for), else the default subtitle. It links to the address the record's page opens in its place, when its view has one
|
|
36
|
+
* the row fits, else to the record. `basePath` is where the app is served, so the link opens it in a new tab too;
|
|
37
|
+
* `titleOf` titles a view's derived title for the reader.
|
|
34
38
|
*/
|
|
35
39
|
export declare const toHit: (target: SearchTarget, row: Record<string, unknown>, text: string, basePath?: string, titleOf?: RecordTitleOf) => SearchHit;
|
|
36
40
|
//#endregion
|
|
@@ -2,7 +2,8 @@ import { humanize } from "../../live/naming.js";
|
|
|
2
2
|
import { recordKey, recordTitleField } from "../../live/model-helpers.js";
|
|
3
3
|
import { recordTitleOf, titleFieldsOf } from "../titles/record-title-of.js";
|
|
4
4
|
import { text } from "./messages.js";
|
|
5
|
-
import {
|
|
5
|
+
import { openedAddress } from "../opened-address.js";
|
|
6
|
+
import { addressPlaceholders, encodeKey, matchedSearchField } from "@protobase/schema/internal";
|
|
6
7
|
import { appPath, createWhere, enumLabel, printFilter } from "@protobase/schema";
|
|
7
8
|
//#region src/app/search/search-model.ts
|
|
8
9
|
const where$1 = createWhere();
|
|
@@ -47,15 +48,20 @@ const subtitleField = (target) => {
|
|
|
47
48
|
const title = titleFields(target);
|
|
48
49
|
return target.view?.searchResult?.subtitle ?? target.model.search?.find((name) => !title.includes(name));
|
|
49
50
|
};
|
|
50
|
-
/**
|
|
51
|
+
/**
|
|
52
|
+
* The fields a result needs: the key, the title or those its derived title reads, the subtitle, the search fields, which
|
|
53
|
+
* say what the text matched, and those the addresses its record's page opens (`recordOpens`) are filled from.
|
|
54
|
+
*/
|
|
51
55
|
const searchFields = (target) => {
|
|
52
56
|
const subtitle = subtitleField(target);
|
|
53
57
|
const derived = derivesTitle(target) ? titleFieldsOf(target.model, target.view) : [];
|
|
58
|
+
const opens = (target.view?.recordOpens ?? []).flatMap(addressPlaceholders);
|
|
54
59
|
const lineFields = [
|
|
55
60
|
...titleFields(target),
|
|
56
61
|
...derived,
|
|
57
62
|
...subtitle ? [subtitle] : [],
|
|
58
|
-
...target.model.search ?? []
|
|
63
|
+
...target.model.search ?? [],
|
|
64
|
+
...opens
|
|
59
65
|
];
|
|
60
66
|
return [.../* @__PURE__ */ new Set([...target.model.primaryKey, ...lineFields.filter((name) => Object.hasOwn(target.model.fields, name))])];
|
|
61
67
|
};
|
|
@@ -68,8 +74,9 @@ const shown = (target, row, name) => {
|
|
|
68
74
|
/**
|
|
69
75
|
* A row as a result for `text`: its title fields joined by spaces (the key when they are empty) over a subtitle, which is
|
|
70
76
|
* the search field explaining the match when neither the title nor the default subtitle does (a phone number searched
|
|
71
|
-
* for), else the default subtitle.
|
|
72
|
-
*
|
|
77
|
+
* for), else the default subtitle. It links to the address the record's page opens in its place, when its view has one
|
|
78
|
+
* the row fits, else to the record. `basePath` is where the app is served, so the link opens it in a new tab too;
|
|
79
|
+
* `titleOf` titles a view's derived title for the reader.
|
|
73
80
|
*/
|
|
74
81
|
const toHit = (target, row, text, basePath = "", titleOf = recordTitleOf({}, {
|
|
75
82
|
user: void 0,
|
|
@@ -84,7 +91,7 @@ const toHit = (target, row, text, basePath = "", titleOf = recordTitleOf({}, {
|
|
|
84
91
|
id: key,
|
|
85
92
|
title: derivesTitle(target) ? titleOf(target.model, target.view, row, key) : title.map((name) => shown(target, row, name)).filter(Boolean).join(" ") || key,
|
|
86
93
|
...subtitle && { subtitle },
|
|
87
|
-
href: appPath({
|
|
94
|
+
href: appPath(openedAddress(target.view?.recordOpens ?? [], row) ?? {
|
|
88
95
|
kind: "record",
|
|
89
96
|
resource: target.model.name,
|
|
90
97
|
key
|
|
@@ -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: "cancel" | "changed" | "removed" | "saved" | "more" | "viewAll" | "save" | "couldNotSave" | "optional" | "update" | "filters" | "
|
|
5
|
-
rich(id: "cancel" | "changed" | "removed" | "saved" | "more" | "viewAll" | "save" | "couldNotSave" | "optional" | "update" | "filters" | "
|
|
4
|
+
(id: "cancel" | "changed" | "removed" | "saved" | "more" | "viewAll" | "save" | "couldNotSave" | "optional" | "update" | "filters" | "deleteTitle" | "notFound" | "on" | "off" | "firstOf" | "noPlural" | "somethingWrong" | "noneMatch" | "couldNotChange" | "noResource" | "unreadableFilter" | "noneYet" | "couldNotLoadYour" | "saveSearch" | "couldNotTakeOff" | "saveAsNew" | "updateName" | "updateNameQuestion" | "updateNounQuestion" | "couldNotRename" | "renameTitle" | "noSavedYet" | "asMany" | "fewer" | "added" | "filterChanges" | "addedRemoved" | "noRecordsDiff" | "searchSaved" | "openPlural" | "searchUpdated" | "couldNotUpdate" | "noNew", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "cancel" | "changed" | "removed" | "saved" | "more" | "viewAll" | "save" | "couldNotSave" | "optional" | "update" | "filters" | "deleteTitle" | "notFound" | "on" | "off" | "firstOf" | "noPlural" | "somethingWrong" | "noneMatch" | "couldNotChange" | "noResource" | "unreadableFilter" | "noneYet" | "couldNotLoadYour" | "saveSearch" | "couldNotTakeOff" | "saveAsNew" | "updateName" | "updateNameQuestion" | "updateNounQuestion" | "couldNotRename" | "renameTitle" | "noSavedYet" | "asMany" | "fewer" | "added" | "filterChanges" | "addedRemoved" | "noRecordsDiff" | "searchSaved" | "openPlural" | "searchUpdated" | "couldNotUpdate" | "noNew", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -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: "organizations" | "roles" | "
|
|
5
|
-
rich(id: "organizations" | "roles" | "
|
|
4
|
+
(id: "organizations" | "roles" | "signIn" | "resources" | "system" | "theme" | "breadcrumb" | "search" | "tabs" | "navigation" | "more" | "openNavigation" | "backTo" | "closeSearch" | "clearSearch" | "globalSearch" | "searchResults" | "searching" | "noMatches" | "accountOf" | "profileMenu" | "signOut" | "light" | "dark" | "recent" | "loading" | "couldNotLoad" | "viewAll" | "couldNotSearch", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "organizations" | "roles" | "signIn" | "resources" | "system" | "theme" | "breadcrumb" | "search" | "tabs" | "navigation" | "more" | "openNavigation" | "backTo" | "closeSearch" | "clearSearch" | "globalSearch" | "searchResults" | "searching" | "noMatches" | "accountOf" | "profileMenu" | "signOut" | "light" | "dark" | "recent" | "loading" | "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: "reconnecting" | "
|
|
5
|
-
rich(id: "reconnecting" | "
|
|
4
|
+
(id: "reconnecting" | "askQuestion" | "assistant" | "empty" | "noAnswer" | "backendNoAnswer" | "couldNotDraw" | "cannotShowLive", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "reconnecting" | "askQuestion" | "assistant" | "empty" | "noAnswer" | "backendNoAnswer" | "couldNotDraw" | "cannotShowLive", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -2,6 +2,8 @@ import { AuthError } from "@protobase/client";
|
|
|
2
2
|
//#region src/auth/auth-messages.d.ts
|
|
3
3
|
/** Better Auth's error from a sign-in step or an account change, in words for the person at the keyboard. */
|
|
4
4
|
export declare const authMessage: (error: AuthError) => string;
|
|
5
|
+
/** That a change got no answer from the server, such as offline. */
|
|
6
|
+
export declare const unreachableMessage: () => string;
|
|
5
7
|
/** As `authMessage`, for the password form: any other 401 is a wrong email or password. */
|
|
6
8
|
export declare const signInMessage: (error: AuthError) => string;
|
|
7
9
|
/** Why a staff sign-in did not go through, from the code it came back with or an `AuthError` of its start. */
|
|
@@ -31,6 +31,8 @@ const lookup = (ids, code) => {
|
|
|
31
31
|
const known = (error) => lookup(messages, error.code);
|
|
32
32
|
/** Better Auth's error from a sign-in step or an account change, in words for the person at the keyboard. */
|
|
33
33
|
const authMessage = (error) => known(error) ?? (error.status === 429 ? text("tooManyRequests") : error.message);
|
|
34
|
+
/** That a change got no answer from the server, such as offline. */
|
|
35
|
+
const unreachableMessage = () => text("unreachable");
|
|
34
36
|
/** As `authMessage`, for the password form: any other 401 is a wrong email or password. */
|
|
35
37
|
const signInMessage = (error) => known(error) ?? (error.status === 429 ? text("tooManyRequests") : error.status === 401 ? text("wrongEmailOrPassword") : error.message);
|
|
36
38
|
const staffMessages = {
|
|
@@ -62,4 +64,4 @@ const providerMessages = {
|
|
|
62
64
|
/** Why signing in or linking with the provider `name` did not go through, from the code it came back with. */
|
|
63
65
|
const providerMessage = (code, name) => providerMessages[code]?.(name) ?? text("providerFailed", { name });
|
|
64
66
|
//#endregion
|
|
65
|
-
export { authMessage, providerMessage, signInMessage, staffSignInMessage };
|
|
67
|
+
export { authMessage, providerMessage, signInMessage, staffSignInMessage, unreachableMessage };
|
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: "or" | "yourName" | "continue" | "
|
|
5
|
-
rich(id: "or" | "yourName" | "continue" | "
|
|
4
|
+
(id: "or" | "yourName" | "continue" | "signIn" | "reason" | "reload" | "signOut" | "loading" | "code" | "email" | "noAnswer" | "tooManyRequests" | "setPassword" | "password" | "newPassword" | "verify" | "admin" | "cannotReach" | "tryAgain" | "passwordChanged" | "backupCode" | "passwordOptional" | "backToSignIn" | "useAnotherAddress" | "checkEmail" | "newCodeSent" | "sendNewCode" | "sendNewCodeIn" | "signInCodeDescription" | "signInCodeSent" | "signUpCodeDescription" | "signUpCodeSent" | "noAdminTitle" | "noAdminDescription" | "noAdminExplanation" | "copyCommand" | "firstAdminExplanation" | "firstAdminLink" | "tooManyAttempts" | "resetTitle" | "resetDescription" | "sendResetLink" | "resetSent" | "linkExpiredTitle" | "linkExpiredExplanation" | "sendNewLink" | "passwordsDiffer" | "choosePassword" | "atLeast" | "useAtLeast" | "passwordTooLong" | "repeatPassword" | "signingInWith" | "takingYouTo" | "providerNotOffered" | "turnOnTwoFactor" | "addPasskey" | "requiredForEveryAccount" | "passkeyExplanation" | "couldNotReadAccount" | "signInTitle" | "runsOnProtobase" | "continueWith" | "signInWithPasskey" | "passkeyFor" | "emailSignInCode" | "usePassword" | "forgotPassword" | "newHere" | "haveAccount" | "createAnAccount" | "browse" | "notNow" | "detailsTitle" | "detailsDescription" | "codeWasRight" | "withoutPassword" | "createAccount" | "codeToConfirm" | "emailCode" | "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: "or" | "yourName" | "continue" | "signIn" | "reason" | "reload" | "signOut" | "loading" | "code" | "email" | "noAnswer" | "tooManyRequests" | "setPassword" | "password" | "newPassword" | "verify" | "admin" | "cannotReach" | "tryAgain" | "passwordChanged" | "backupCode" | "passwordOptional" | "backToSignIn" | "useAnotherAddress" | "checkEmail" | "newCodeSent" | "sendNewCode" | "sendNewCodeIn" | "signInCodeDescription" | "signInCodeSent" | "signUpCodeDescription" | "signUpCodeSent" | "noAdminTitle" | "noAdminDescription" | "noAdminExplanation" | "copyCommand" | "firstAdminExplanation" | "firstAdminLink" | "tooManyAttempts" | "resetTitle" | "resetDescription" | "sendResetLink" | "resetSent" | "linkExpiredTitle" | "linkExpiredExplanation" | "sendNewLink" | "passwordsDiffer" | "choosePassword" | "atLeast" | "useAtLeast" | "passwordTooLong" | "repeatPassword" | "signingInWith" | "takingYouTo" | "providerNotOffered" | "turnOnTwoFactor" | "addPasskey" | "requiredForEveryAccount" | "passkeyExplanation" | "couldNotReadAccount" | "signInTitle" | "runsOnProtobase" | "continueWith" | "signInWithPasskey" | "passkeyFor" | "emailSignInCode" | "usePassword" | "forgotPassword" | "newHere" | "haveAccount" | "createAnAccount" | "browse" | "notNow" | "detailsTitle" | "detailsDescription" | "codeWasRight" | "withoutPassword" | "createAccount" | "codeToConfirm" | "emailCode" | "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
|
|
@@ -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" | "24h" | "7d" | "30d" | "90d" | "month" | "year" | "today" | "maximum" | "minimum" | "yesterday" | "quarter" | "unknownPreset" | "unsupported" | "clearAll" | "searchIn" | "moreFilters" | "filters" | "showOnly" | "couldNotLoadCounts", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "remove" | "date" | "noMatches" | "24h" | "7d" | "30d" | "90d" | "month" | "year" | "today" | "maximum" | "minimum" | "yesterday" | "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: "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/invitations/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "revoke" | "
|
|
5
|
-
rich(id: "revoke" | "
|
|
4
|
+
(id: "revoke" | "until" | "email" | "invite" | "expired" | "sendAgain" | "passLinkOn", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "revoke" | "until" | "email" | "invite" | "expired" | "sendAgain" | "passLinkOn", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
package/dist/locale/en.js
CHANGED
|
@@ -1870,7 +1870,8 @@ var en_default = {
|
|
|
1870
1870
|
"couldNotLink": "Your {name} account could not be linked. Try again.",
|
|
1871
1871
|
"accessDenied": "{name} did not let you in, or you cancelled.",
|
|
1872
1872
|
"domainNotAllowed": "{name} signed you in with an address this app does not accept from it. Sign in another way.",
|
|
1873
|
-
"providerFailed": "Signing in with {name} did not go through. Try again."
|
|
1873
|
+
"providerFailed": "Signing in with {name} did not go through. Try again.",
|
|
1874
|
+
"unreachable": "Could not reach the server. Try again."
|
|
1874
1875
|
},
|
|
1875
1876
|
calls: {
|
|
1876
1877
|
"accept": "Accept",
|
|
@@ -2138,6 +2139,7 @@ var en_default = {
|
|
|
2138
2139
|
"invitesTo": "{inviter} invites you to {organization} as {role}.",
|
|
2139
2140
|
"invitesToWith": "{inviter} invites you to {organization} as {role}, with {roles}.",
|
|
2140
2141
|
"join": "Join {name}",
|
|
2142
|
+
"joining": "Joining {name}…",
|
|
2141
2143
|
"hasAccount": "{email} has an account already: sign in with it.",
|
|
2142
2144
|
"signOut": "Sign out",
|
|
2143
2145
|
"signInAs": "Sign in as {email}",
|
|
@@ -2194,6 +2196,7 @@ var en_default = {
|
|
|
2194
2196
|
"words": "Organizations",
|
|
2195
2197
|
"createTitle": "Create your <lower>{word}</lower>",
|
|
2196
2198
|
"createButton": "Create <lower>{word}</lower>",
|
|
2199
|
+
"creating": "Creating <lower>{word}</lower>…",
|
|
2197
2200
|
"nameNeeded": "Give your <lower>{word}</lower> a name",
|
|
2198
2201
|
"signedInAs": "Signed in as {email}",
|
|
2199
2202
|
"invitedTitle": "You are invited",
|
package/dist/locale/en.json.d.ts
CHANGED
|
@@ -1879,6 +1879,7 @@ declare const _exports: {
|
|
|
1879
1879
|
accessDenied: string;
|
|
1880
1880
|
domainNotAllowed: string;
|
|
1881
1881
|
providerFailed: string;
|
|
1882
|
+
unreachable: string;
|
|
1882
1883
|
};
|
|
1883
1884
|
calls: {
|
|
1884
1885
|
accept: string;
|
|
@@ -2148,6 +2149,7 @@ declare const _exports: {
|
|
|
2148
2149
|
invitesTo: string;
|
|
2149
2150
|
invitesToWith: string;
|
|
2150
2151
|
join: string;
|
|
2152
|
+
joining: string;
|
|
2151
2153
|
hasAccount: string;
|
|
2152
2154
|
signOut: string;
|
|
2153
2155
|
signInAs: string;
|
|
@@ -2204,6 +2206,7 @@ declare const _exports: {
|
|
|
2204
2206
|
words: string;
|
|
2205
2207
|
createTitle: string;
|
|
2206
2208
|
createButton: string;
|
|
2209
|
+
creating: string;
|
|
2207
2210
|
nameNeeded: string;
|
|
2208
2211
|
signedInAs: string;
|
|
2209
2212
|
invitedTitle: string;
|
|
@@ -1908,6 +1908,7 @@ export declare const messages: <N extends Namespace>(namespace: N) => {
|
|
|
1908
1908
|
accessDenied: string;
|
|
1909
1909
|
domainNotAllowed: string;
|
|
1910
1910
|
providerFailed: string;
|
|
1911
|
+
unreachable: string;
|
|
1911
1912
|
};
|
|
1912
1913
|
calls: {
|
|
1913
1914
|
accept: string;
|
|
@@ -2177,6 +2178,7 @@ export declare const messages: <N extends Namespace>(namespace: N) => {
|
|
|
2177
2178
|
invitesTo: string;
|
|
2178
2179
|
invitesToWith: string;
|
|
2179
2180
|
join: string;
|
|
2181
|
+
joining: string;
|
|
2180
2182
|
hasAccount: string;
|
|
2181
2183
|
signOut: string;
|
|
2182
2184
|
signInAs: string;
|
|
@@ -2233,6 +2235,7 @@ export declare const messages: <N extends Namespace>(namespace: N) => {
|
|
|
2233
2235
|
words: string;
|
|
2234
2236
|
createTitle: string;
|
|
2235
2237
|
createButton: string;
|
|
2238
|
+
creating: string;
|
|
2236
2239
|
nameNeeded: string;
|
|
2237
2240
|
signedInAs: string;
|
|
2238
2241
|
invitedTitle: string;
|
|
@@ -4258,6 +4261,7 @@ export declare const messages: <N extends Namespace>(namespace: N) => {
|
|
|
4258
4261
|
accessDenied: string;
|
|
4259
4262
|
domainNotAllowed: string;
|
|
4260
4263
|
providerFailed: string;
|
|
4264
|
+
unreachable: string;
|
|
4261
4265
|
};
|
|
4262
4266
|
calls: {
|
|
4263
4267
|
accept: string;
|
|
@@ -4527,6 +4531,7 @@ export declare const messages: <N extends Namespace>(namespace: N) => {
|
|
|
4527
4531
|
invitesTo: string;
|
|
4528
4532
|
invitesToWith: string;
|
|
4529
4533
|
join: string;
|
|
4534
|
+
joining: string;
|
|
4530
4535
|
hasAccount: string;
|
|
4531
4536
|
signOut: string;
|
|
4532
4537
|
signInAs: string;
|
|
@@ -4583,6 +4588,7 @@ export declare const messages: <N extends Namespace>(namespace: N) => {
|
|
|
4583
4588
|
words: string;
|
|
4584
4589
|
createTitle: string;
|
|
4585
4590
|
createButton: string;
|
|
4591
|
+
creating: string;
|
|
4586
4592
|
nameNeeded: string;
|
|
4587
4593
|
signedInAs: string;
|
|
4588
4594
|
invitedTitle: string;
|
package/dist/locale/nl.js
CHANGED
|
@@ -1870,7 +1870,8 @@ var nl_default = {
|
|
|
1870
1870
|
"couldNotLink": "Je {name}-account kon niet worden gekoppeld. Probeer het opnieuw.",
|
|
1871
1871
|
"accessDenied": "{name} liet je niet binnen, of je hebt geannuleerd.",
|
|
1872
1872
|
"domainNotAllowed": "{name} logde je in met een adres dat deze app daarvan niet accepteert. Log op een andere manier in.",
|
|
1873
|
-
"providerFailed": "Inloggen met {name} lukte niet. Probeer het opnieuw."
|
|
1873
|
+
"providerFailed": "Inloggen met {name} lukte niet. Probeer het opnieuw.",
|
|
1874
|
+
"unreachable": "De server is niet bereikbaar. Probeer het opnieuw."
|
|
1874
1875
|
},
|
|
1875
1876
|
calls: {
|
|
1876
1877
|
"accept": "Opnemen",
|
|
@@ -2138,6 +2139,7 @@ var nl_default = {
|
|
|
2138
2139
|
"invitesTo": "{inviter} nodigt je uit voor {organization} als {role}.",
|
|
2139
2140
|
"invitesToWith": "{inviter} nodigt je uit voor {organization} als {role}, met {roles}.",
|
|
2140
2141
|
"join": "Lid worden van {name}",
|
|
2142
|
+
"joining": "Je wordt lid van {name}…",
|
|
2141
2143
|
"hasAccount": "{email} heeft al een account: log daarmee in.",
|
|
2142
2144
|
"signOut": "Uitloggen",
|
|
2143
2145
|
"signInAs": "Inloggen als {email}",
|
|
@@ -2194,6 +2196,7 @@ var nl_default = {
|
|
|
2194
2196
|
"words": "Organisaties",
|
|
2195
2197
|
"createTitle": "Maak je <lower>{word}</lower> aan",
|
|
2196
2198
|
"createButton": "{word} aanmaken",
|
|
2199
|
+
"creating": "{word} wordt aangemaakt…",
|
|
2197
2200
|
"nameNeeded": "Geef je <lower>{word}</lower> een naam",
|
|
2198
2201
|
"signedInAs": "Ingelogd als {email}",
|
|
2199
2202
|
"invitedTitle": "Je bent uitgenodigd",
|
|
@@ -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: "NL" | "DE" | "GB";
|
|
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: "NL" | "DE" | "GB";
|
|
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: "
|
|
13
|
-
status: "
|
|
12
|
+
country: "NL" | "DE" | "GB";
|
|
13
|
+
status: "cancelled" | "draft" | "confirmed" | "picking" | "shipped" | "delivered";
|
|
14
14
|
totalCents: number;
|
|
15
|
-
discount: 0 | 15 |
|
|
15
|
+
discount: 0 | 15 | 5 | 10;
|
|
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: "unread" | "empty" | "tryAgain" | "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: "unread" | "empty" | "tryAgain" | "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
|
|
@@ -4,11 +4,11 @@ import { useAuth } from "../auth/auth-provider.js";
|
|
|
4
4
|
import { SectionError } from "../account/account-section.js";
|
|
5
5
|
import { AuthLayout } from "../auth/auth-layout.js";
|
|
6
6
|
import "./organization-paths.js";
|
|
7
|
-
import { useAction } from "./use-action.js";
|
|
8
7
|
import { useOrganizationText } from "./organization-word.js";
|
|
9
8
|
import { reopenIn } from "./use-organizations.js";
|
|
10
9
|
import { MyInvitationRow } from "./my-invitation-row.js";
|
|
11
10
|
import { NewOrganizationForm } from "./new-organization-form.js";
|
|
11
|
+
import { useJoinInvitation } from "./use-join-invitation.js";
|
|
12
12
|
import { useMyInvitations } from "./use-my-invitations.js";
|
|
13
13
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
14
14
|
//#region src/organizations/first-organization-page.tsx
|
|
@@ -38,11 +38,11 @@ const SignedInAs = ({ email, onSignOut, children }) => {
|
|
|
38
38
|
* opens the app afresh at its start address. Someone who may not create and has no invitation is told to ask for one.
|
|
39
39
|
*/
|
|
40
40
|
const FirstOrganizationPage = ({ path, basePath, email, mayCreate, seesAll, onSignOut }) => {
|
|
41
|
-
const {
|
|
41
|
+
const { organizations: settings } = useAuth();
|
|
42
42
|
const t = useOrganizationText();
|
|
43
43
|
const read = useMyInvitations();
|
|
44
|
-
const { busy, error, run } = useAction();
|
|
45
44
|
const opened = () => reopenIn(basePath);
|
|
45
|
+
const { busy, error, joining, join } = useJoinInvitation(opened);
|
|
46
46
|
const all = seesAll && /* @__PURE__ */ jsx(Link, {
|
|
47
47
|
to: "/-/organizations",
|
|
48
48
|
className: linkClass,
|
|
@@ -79,10 +79,8 @@ const FirstOrganizationPage = ({ path, basePath, email, mayCreate, seesAll, onSi
|
|
|
79
79
|
invitation,
|
|
80
80
|
t,
|
|
81
81
|
busy,
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
opened();
|
|
85
|
-
})
|
|
82
|
+
joining: joining === invitation.id,
|
|
83
|
+
onJoin: () => join(invitation.id)
|
|
86
84
|
}, invitation.id))
|
|
87
85
|
}),
|
|
88
86
|
mayCreate && /* @__PURE__ */ jsx("p", {
|