@protobase/ui 0.117.7 → 0.118.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/activity-chart/activity-chart.d.ts +3 -1
- package/dist/activity-chart/activity-chart.js +21 -14
- package/dist/activity-chart/messages.d.ts +2 -2
- package/dist/app/app.js +67 -31
- package/dist/app/change-confirm/messages.d.ts +2 -2
- package/dist/app/charts/chart-params.js +1 -1
- package/dist/app/charts/messages.d.ts +2 -2
- package/dist/app/comments/messages.d.ts +2 -2
- package/dist/app/confirm-sign-in-messages.d.ts +2 -2
- package/dist/app/conversation/thread-state.d.ts +1 -1
- package/dist/app/create/messages.d.ts +2 -2
- package/dist/app/custom-section.d.ts +1 -1
- package/dist/app/delete/messages.d.ts +2 -2
- package/dist/app/displays/calendar-event.js +1 -1
- package/dist/app/displays/list-cards.d.ts +1 -1
- package/dist/app/displays/messages.d.ts +2 -2
- package/dist/app/displays/use-calendar-move.js +1 -1
- package/dist/app/export/messages.d.ts +2 -2
- package/dist/app/field-messages.d.ts +2 -2
- package/dist/app/field-types/custom-step-container/messages.d.ts +2 -2
- package/dist/app/field-types/widget-part.d.ts +1 -1
- package/dist/app/field-types/workflow/definition.d.ts +1 -1
- package/dist/app/field-types/workflow/messages.d.ts +2 -2
- package/dist/app/field-types/workflow-page/messages.d.ts +2 -2
- package/dist/app/field-types/workflow-run/messages.d.ts +2 -2
- package/dist/app/file-viewers/messages.d.ts +2 -2
- package/dist/app/focus/messages.d.ts +2 -2
- package/dist/app/gallery/messages.d.ts +2 -2
- package/dist/app/hand-order/messages.d.ts +2 -2
- package/dist/app/history/messages.d.ts +2 -2
- package/dist/app/import/messages.d.ts +2 -2
- package/dist/app/lazy-routes.d.ts +4 -0
- package/dist/app/lazy-routes.js +2 -1
- package/dist/app/list-chart.d.ts +1 -1
- package/dist/app/list-chart.js +6 -4
- package/dist/app/list-messages.d.ts +2 -2
- package/dist/app/list-page.js +1 -1
- package/dist/app/messages.d.ts +2 -2
- package/dist/app/meta-gate-messages.d.ts +2 -2
- package/dist/app/nav-recent.js +1 -1
- package/dist/app/pages/custom-boundary.d.ts +1 -1
- package/dist/app/pages/custom-chosen.d.ts +1 -1
- package/dist/app/pages/messages.d.ts +2 -2
- package/dist/app/record-chart/messages.d.ts +2 -2
- package/dist/app/record-messages.d.ts +2 -2
- package/dist/app/record-mode/shown-layout.d.ts +1 -1
- package/dist/app/record-row/messages.d.ts +2 -2
- package/dist/app/related-cards/messages.d.ts +2 -2
- package/dist/app/saved/messages.d.ts +2 -2
- package/dist/app/saved/saved-list.d.ts +1 -1
- package/dist/app/searches/messages.d.ts +2 -2
- package/dist/app/searches/update-search-dialog.js +1 -1
- package/dist/app/start-record.d.ts +22 -0
- package/dist/app/start-record.js +33 -0
- package/dist/app/use-nav-recent.d.ts +2 -2
- package/dist/app/use-nav-recent.js +8 -3
- package/dist/app/use-start-address.d.ts +21 -0
- package/dist/app/use-start-address.js +49 -0
- package/dist/app-shell/messages.d.ts +2 -2
- package/dist/app-shell/profile-menu.d.ts +2 -0
- package/dist/app-shell/profile-menu.js +1 -1
- package/dist/assistant-dock/messages.d.ts +2 -2
- package/dist/auth/messages.d.ts +2 -2
- package/dist/calls/messages.d.ts +2 -2
- package/dist/compact-table/messages.d.ts +2 -2
- package/dist/data/aggregate-loader.d.ts +38 -0
- package/dist/data/aggregate-loader.js +68 -0
- package/dist/data/api-provider.d.ts +3 -0
- package/dist/data/query-keys.d.ts +4 -0
- package/dist/data/query-keys.js +11 -0
- package/dist/data/start-cache/restored-state.d.ts +7 -0
- package/dist/data/start-cache/restored-state.js +5 -1
- package/dist/data/use-aggregates.js +7 -6
- package/dist/data-grid/messages.d.ts +2 -2
- package/dist/filter-panel/facet-combobox.js +38 -31
- package/dist/filter-panel/facet-group.js +5 -1
- package/dist/filter-panel/filter-config.d.ts +4 -0
- package/dist/filter-panel/messages.d.ts +2 -2
- package/dist/filter-panel/range-filter.js +4 -0
- package/dist/invitations/messages.d.ts +2 -2
- package/dist/live/messages.d.ts +2 -2
- package/dist/live/use-filter-config.d.ts +3 -2
- package/dist/live/use-filter-config.js +31 -8
- package/dist/locale/en.js +42 -23
- package/dist/locale/en.json.d.ts +19 -0
- package/dist/locale/messages.d.ts +38 -0
- package/dist/locale/nl.js +42 -23
- package/dist/locale/texts-gate.d.ts +1 -1
- package/dist/notifications/bell/messages.d.ts +2 -2
- package/dist/organizations/all-organizations.js +5 -3
- package/dist/organizations/first-organization-page.d.ts +21 -0
- package/dist/organizations/first-organization-page.js +125 -0
- package/dist/organizations/invitations-page.js +3 -1
- package/dist/organizations/members-page.js +5 -2
- package/dist/organizations/messages.d.ts +2 -2
- package/dist/organizations/my-invitation-row.d.ts +11 -0
- package/dist/organizations/my-invitation-row.js +34 -0
- package/dist/organizations/new-organization-form.d.ts +10 -0
- package/dist/organizations/new-organization-form.js +76 -0
- package/dist/organizations/organization-page.js +9 -6
- package/dist/organizations/organization-paths.d.ts +7 -2
- package/dist/organizations/organization-paths.js +14 -8
- package/dist/organizations/organization-word.d.ts +14 -0
- package/dist/organizations/organization-word.js +22 -0
- package/dist/organizations/organizations-page.d.ts +0 -2
- package/dist/organizations/organizations-page.js +31 -98
- package/dist/organizations/use-my-invitations.d.ts +17 -0
- package/dist/organizations/use-my-invitations.js +30 -0
- package/dist/organizations/use-organizations.d.ts +4 -0
- package/dist/organizations/use-organizations.js +8 -3
- package/dist/package.js +1 -1
- package/dist/plugins/before-sign-in.d.ts +1 -1
- package/dist/primitives/messages.d.ts +2 -2
- package/dist/record-view/messages.d.ts +2 -2
- package/dist/shell/assets/{account-page-B_azef82.js → account-page-D9hXd-u3.js} +2 -2
- package/dist/shell/assets/app-D6luJ1k4.js +34 -0
- package/dist/shell/assets/{app-Dq5eubgK.css → app-xwgcmboV.css} +1 -1
- package/dist/shell/assets/{assistant-shell-BDKCWgs7.js → assistant-shell-DDkCxLNG.js} +2 -2
- package/dist/shell/assets/board-display-plYPsh6z.js +2 -0
- package/dist/shell/assets/calendar-display-B3kFBd2k.js +2 -0
- package/dist/shell/assets/{call-rings-ClQinnwb.js → call-rings-B5rBD5EL.js} +2 -2
- package/dist/shell/assets/{calls-s6XuZsjs.js → calls-z1AEvYOC.js} +2 -2
- package/dist/shell/assets/{circle-alert-CCchwpE2.js → circle-alert-C_1i142n.js} +2 -2
- package/dist/shell/assets/{composed-page-Cj-OwCZB.js → composed-page--UJ8tsC0.js} +2 -2
- package/dist/shell/assets/{composer-section-BWJgscVY.js → composer-section-tfrO2pIi.js} +2 -2
- package/dist/shell/assets/{connect-route-DpM6_5A-.js → connect-route-rVNQDWcE.js} +2 -2
- package/dist/shell/assets/{copy-field-DJZYMDoO.js → copy-field-D9agQmK0.js} +2 -2
- package/dist/shell/assets/create-route-C4xN9aXd.js +2 -0
- package/dist/shell/assets/{custom-step-container-field-B0SWYcOK.js → custom-step-container-field-BanmPoI-.js} +4 -4
- package/dist/shell/assets/embedded-list-B_e_Quer.js +3 -0
- package/dist/shell/assets/en-BrEwbNhJ.js +2 -0
- package/dist/shell/assets/{export-dialog-DOtYGy3R.js → export-dialog-g69vJ8j2.js} +2 -2
- package/dist/shell/assets/export-worker-DuHOhIiP.js +15 -0
- package/dist/shell/assets/first-organization-page-Cijgw9tC.js +2 -0
- package/dist/shell/assets/{graph-view-G-uTEd7F.js → graph-view-DXDcn-Fx.js} +2 -2
- package/dist/shell/assets/{group-donut-C_BThKYK.js → group-donut-B3bCn83A.js} +2 -2
- package/dist/shell/assets/{guest-call-page-CUucHFn7.js → guest-call-page-rAD4EXPd.js} +3 -3
- package/dist/shell/assets/{html-viewer-CxMoymHe.js → html-viewer-BxhCE5h2.js} +2 -2
- package/dist/shell/assets/{import-dialog-DJdNJeuD.js → import-dialog-adjnDUuk.js} +2 -2
- package/dist/shell/assets/import-table-dialog-yV9UTlBY.js +2 -0
- package/dist/shell/assets/{index-BpuPTpcS.js → index-BBHelxJ2.js} +1 -1
- package/dist/shell/assets/invitations-page-FKTUQL8J.js +2 -0
- package/dist/shell/assets/{layout-grid-IQchsfWp.js → layout-grid-B3Php1Rf.js} +2 -2
- package/dist/shell/assets/{legend-item-BlI2FIuO.js → legend-item-BbV6BD6w.js} +2 -2
- package/dist/shell/assets/list-page-CNhV2TuF.js +4 -0
- package/dist/shell/assets/{maplibre-BNosce4R.js → maplibre-D4xk_BLC.js} +2 -2
- package/dist/shell/assets/{markdown-content-C_-l2O5-.js → markdown-content-CnNrPGcY.js} +2 -2
- package/dist/shell/assets/members-page-CnxFoeyp.js +2 -0
- package/dist/shell/assets/{messages-DAlS_OLf.js → messages-BHPGrBhJ.js} +2 -2
- package/dist/shell/assets/nl-Dto12ewP.js +2 -0
- package/dist/shell/assets/organization-page-B6k9pMkb.js +2 -0
- package/dist/shell/assets/organizations-page-D33Ruydz.js +2 -0
- package/dist/shell/assets/parse-worker-BRxyLV_D.js +35 -0
- package/dist/shell/assets/{pending-invitation-row-nDslRIg_.js → pending-invitation-row-D_vU7ynw.js} +2 -2
- package/dist/shell/assets/{period-chart-Dbykq15D.js → period-chart-DPlEbvX7.js} +2 -2
- package/dist/shell/assets/{person-row-RUXD4Z6I.js → person-row-DMY-aQjx.js} +2 -2
- package/dist/shell/assets/public-form-page-DTgXLDpt.js +2 -0
- package/dist/shell/assets/record-lines-SeXhFNSm.js +2 -0
- package/dist/shell/assets/{record-map-SrorcD8G.js → record-map-BiLFEqYi.js} +2 -2
- package/dist/shell/assets/{record-opens-BkQP4ve9.js → record-opens-Ct9iF9FZ.js} +2 -2
- package/dist/shell/assets/record-page-TxDSHcMe.js +3 -0
- package/dist/shell/assets/{record-preview-C8xkvcPt.js → record-preview-J1o4Sqs-.js} +2 -2
- package/dist/shell/assets/{records-map-DgQ3MJFS.js → records-map-Cwdig5mb.js} +2 -2
- package/dist/shell/assets/render-node-BpHo-wre.js +3 -0
- package/dist/shell/assets/reorder-button-CBOmzmhg.js +2 -0
- package/dist/shell/assets/{run-trace-view-C2MAxHm8.js → run-trace-view-1fk6kU1U.js} +2 -2
- package/dist/shell/assets/{runner-install-field-BYzWk3Ye.js → runner-install-field-C_hTvogl.js} +2 -2
- package/dist/shell/assets/{runtime-update-CVNAIIII.js → runtime-update-8hRmQkq-.js} +2 -2
- package/dist/shell/assets/shared-protobase-ui-Tq2sgl9G.js +1 -0
- package/dist/shell/assets/{sheet-source-BNfkNzNO.js → sheet-source-CD5hImgE.js} +3 -3
- package/dist/shell/assets/sign-in-policy-page-BQ8ck7Ar.js +2 -0
- package/dist/shell/assets/start-block-queries-4uvupY9E.js +2 -0
- package/dist/shell/assets/step-catalog-B2eQNTOp.js +2 -0
- package/dist/shell/assets/{step-panel-DDSMdJhn.js → step-panel-BVdV2FNT.js} +2 -2
- package/dist/shell/assets/timeline-display-BxihBkFH.js +2 -0
- package/dist/shell/assets/{trash-Du1HjUvA.js → trash-5PpoeP3R.js} +2 -2
- package/dist/shell/assets/{update-set-BQN3GDI3.js → update-set-BnRA9YhA.js} +2 -2
- package/dist/shell/assets/use-calendar-move-Bu9MSBcs.js +2 -0
- package/dist/shell/assets/{use-display-rows-BWZ3ByZb.js → use-display-rows-ERQ-vbki.js} +2 -2
- package/dist/shell/assets/use-my-invitations-CnAvjXV0.js +2 -0
- package/dist/shell/assets/{use-paged-search-DvGQocxR.js → use-paged-search-CcEitpWG.js} +2 -2
- package/dist/shell/assets/{use-run-trace-CNqw_HuX.js → use-run-trace-CV461SQS.js} +2 -2
- package/dist/shell/assets/{use-workflow-page-jjK3t-vf.js → use-workflow-page-peSmP1Jq.js} +2 -2
- package/dist/shell/assets/{use-workflow-types-CxeOmx1U.js → use-workflow-types-xM8CZO96.js} +2 -2
- package/dist/shell/assets/{workflow-canvas-BgC2BoRd.js → workflow-canvas-CkKd9u0-.js} +4 -4
- package/dist/shell/assets/{workflow-field-DAk0UqrK.js → workflow-field-WovRhNaT.js} +3 -3
- package/dist/shell/assets/{workflow-graph-editor-0KyZBj6R.js → workflow-graph-editor-DRZ2UtBp.js} +2 -2
- package/dist/shell/assets/{workflow-run-field-rlISvE35.js → workflow-run-field-CrBAVhOq.js} +3 -3
- package/dist/shell/assets/workflow-status-field-DgjtbjlH.js +2 -0
- package/dist/shell/assets/workflow-workbench-D8vU7ifz.js +4 -0
- package/dist/shell/index.html +4 -4
- package/dist/shell/protobase.shell.json +2 -2
- package/dist/shell/protobase.sw.js +2 -2
- package/dist/shell-source-maps/assets/{account-page-B_azef82.js.map → account-page-D9hXd-u3.js.map} +1 -1
- package/dist/shell-source-maps/assets/app-D6luJ1k4.js.map +1 -0
- package/dist/shell-source-maps/assets/{assistant-shell-BDKCWgs7.js.map → assistant-shell-DDkCxLNG.js.map} +1 -1
- package/dist/shell-source-maps/assets/{board-display-RfXJJ01f.js.map → board-display-plYPsh6z.js.map} +1 -1
- package/dist/shell-source-maps/assets/{calendar-display-CWANjACC.js.map → calendar-display-B3kFBd2k.js.map} +1 -1
- package/dist/shell-source-maps/assets/{call-rings-ClQinnwb.js.map → call-rings-B5rBD5EL.js.map} +1 -1
- package/dist/shell-source-maps/assets/{calls-s6XuZsjs.js.map → calls-z1AEvYOC.js.map} +1 -1
- package/dist/shell-source-maps/assets/{circle-alert-CCchwpE2.js.map → circle-alert-C_1i142n.js.map} +1 -1
- package/dist/shell-source-maps/assets/{composed-page-Cj-OwCZB.js.map → composed-page--UJ8tsC0.js.map} +1 -1
- package/dist/shell-source-maps/assets/{composer-section-BWJgscVY.js.map → composer-section-tfrO2pIi.js.map} +1 -1
- package/dist/shell-source-maps/assets/{connect-route-DpM6_5A-.js.map → connect-route-rVNQDWcE.js.map} +1 -1
- package/dist/shell-source-maps/assets/{copy-field-DJZYMDoO.js.map → copy-field-D9agQmK0.js.map} +1 -1
- package/dist/shell-source-maps/assets/{create-route-CQeYkXaB.js.map → create-route-C4xN9aXd.js.map} +1 -1
- package/dist/shell-source-maps/assets/{custom-step-container-field-B0SWYcOK.js.map → custom-step-container-field-BanmPoI-.js.map} +1 -1
- package/dist/shell-source-maps/assets/{embedded-list-CQ7VmI-J.js.map → embedded-list-B_e_Quer.js.map} +1 -1
- package/dist/shell-source-maps/assets/en-BrEwbNhJ.js.map +1 -0
- package/dist/shell-source-maps/assets/{export-dialog-DOtYGy3R.js.map → export-dialog-g69vJ8j2.js.map} +1 -1
- package/dist/shell-source-maps/assets/export-worker-DuHOhIiP.js.map +1 -0
- package/dist/shell-source-maps/assets/first-organization-page-Cijgw9tC.js.map +1 -0
- package/dist/shell-source-maps/assets/{graph-view-G-uTEd7F.js.map → graph-view-DXDcn-Fx.js.map} +1 -1
- package/dist/shell-source-maps/assets/{group-donut-C_BThKYK.js.map → group-donut-B3bCn83A.js.map} +1 -1
- package/dist/shell-source-maps/assets/{guest-call-page-CUucHFn7.js.map → guest-call-page-rAD4EXPd.js.map} +1 -1
- package/dist/shell-source-maps/assets/{html-viewer-CxMoymHe.js.map → html-viewer-BxhCE5h2.js.map} +1 -1
- package/dist/shell-source-maps/assets/{import-dialog-DJdNJeuD.js.map → import-dialog-adjnDUuk.js.map} +1 -1
- package/dist/shell-source-maps/assets/{import-table-dialog-vxHtntUq.js.map → import-table-dialog-yV9UTlBY.js.map} +1 -1
- package/dist/shell-source-maps/assets/invitations-page-FKTUQL8J.js.map +1 -0
- package/dist/shell-source-maps/assets/{layout-grid-IQchsfWp.js.map → layout-grid-B3Php1Rf.js.map} +1 -1
- package/dist/shell-source-maps/assets/{legend-item-BlI2FIuO.js.map → legend-item-BbV6BD6w.js.map} +1 -1
- package/dist/shell-source-maps/assets/list-page-CNhV2TuF.js.map +1 -0
- package/dist/shell-source-maps/assets/{maplibre-BNosce4R.js.map → maplibre-D4xk_BLC.js.map} +1 -1
- package/dist/shell-source-maps/assets/{markdown-content-C_-l2O5-.js.map → markdown-content-CnNrPGcY.js.map} +1 -1
- package/dist/shell-source-maps/assets/members-page-CnxFoeyp.js.map +1 -0
- package/dist/shell-source-maps/assets/{messages-DAlS_OLf.js.map → messages-BHPGrBhJ.js.map} +1 -1
- package/dist/shell-source-maps/assets/nl-Dto12ewP.js.map +1 -0
- package/dist/shell-source-maps/assets/organization-page-B6k9pMkb.js.map +1 -0
- package/dist/shell-source-maps/assets/organizations-page-D33Ruydz.js.map +1 -0
- package/dist/shell-source-maps/assets/parse-worker-BRxyLV_D.js.map +1 -0
- package/dist/shell-source-maps/assets/{pending-invitation-row-nDslRIg_.js.map → pending-invitation-row-D_vU7ynw.js.map} +1 -1
- package/dist/shell-source-maps/assets/{period-chart-Dbykq15D.js.map → period-chart-DPlEbvX7.js.map} +1 -1
- package/dist/shell-source-maps/assets/{person-row-RUXD4Z6I.js.map → person-row-DMY-aQjx.js.map} +1 -1
- package/dist/shell-source-maps/assets/{public-form-page-CI1ghnwR.js.map → public-form-page-DTgXLDpt.js.map} +1 -1
- package/dist/shell-source-maps/assets/{record-lines-sVjQkysF.js.map → record-lines-SeXhFNSm.js.map} +1 -1
- package/dist/shell-source-maps/assets/{record-map-SrorcD8G.js.map → record-map-BiLFEqYi.js.map} +1 -1
- package/dist/shell-source-maps/assets/{record-opens-BkQP4ve9.js.map → record-opens-Ct9iF9FZ.js.map} +1 -1
- package/dist/shell-source-maps/assets/{record-page-CA2bmhxx.js.map → record-page-TxDSHcMe.js.map} +1 -1
- package/dist/shell-source-maps/assets/{record-preview-C8xkvcPt.js.map → record-preview-J1o4Sqs-.js.map} +1 -1
- package/dist/shell-source-maps/assets/{records-map-DgQ3MJFS.js.map → records-map-Cwdig5mb.js.map} +1 -1
- package/dist/shell-source-maps/assets/{render-node-eKuGRuq5.js.map → render-node-BpHo-wre.js.map} +1 -1
- package/dist/shell-source-maps/assets/{reorder-button-DFrAk-Xc.js.map → reorder-button-CBOmzmhg.js.map} +1 -1
- package/dist/shell-source-maps/assets/{run-trace-view-C2MAxHm8.js.map → run-trace-view-1fk6kU1U.js.map} +1 -1
- package/dist/shell-source-maps/assets/{runner-install-field-BYzWk3Ye.js.map → runner-install-field-C_hTvogl.js.map} +1 -1
- package/dist/shell-source-maps/assets/{runtime-update-CVNAIIII.js.map → runtime-update-8hRmQkq-.js.map} +1 -1
- package/dist/shell-source-maps/assets/{sheet-source-BNfkNzNO.js.map → sheet-source-CD5hImgE.js.map} +1 -1
- package/dist/shell-source-maps/assets/{sign-in-policy-page-DqH94QZl.js.map → sign-in-policy-page-BQ8ck7Ar.js.map} +1 -1
- package/dist/shell-source-maps/assets/{start-block-queries-CAEd4yVp.js.map → start-block-queries-4uvupY9E.js.map} +1 -1
- package/dist/shell-source-maps/assets/{step-catalog-wasAn9L1.js.map → step-catalog-B2eQNTOp.js.map} +1 -1
- package/dist/shell-source-maps/assets/{step-panel-DDSMdJhn.js.map → step-panel-BVdV2FNT.js.map} +1 -1
- package/dist/shell-source-maps/assets/{timeline-display-CLcdY1TN.js.map → timeline-display-BxihBkFH.js.map} +1 -1
- package/dist/shell-source-maps/assets/{trash-Du1HjUvA.js.map → trash-5PpoeP3R.js.map} +1 -1
- package/dist/shell-source-maps/assets/{update-set-BQN3GDI3.js.map → update-set-BnRA9YhA.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-calendar-move-C8LZwkOo.js.map → use-calendar-move-Bu9MSBcs.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-display-rows-BWZ3ByZb.js.map → use-display-rows-ERQ-vbki.js.map} +1 -1
- package/dist/shell-source-maps/assets/use-my-invitations-CnAvjXV0.js.map +1 -0
- package/dist/shell-source-maps/assets/{use-paged-search-DvGQocxR.js.map → use-paged-search-CcEitpWG.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-run-trace-CNqw_HuX.js.map → use-run-trace-CV461SQS.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-workflow-page-jjK3t-vf.js.map → use-workflow-page-peSmP1Jq.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-workflow-types-CxeOmx1U.js.map → use-workflow-types-xM8CZO96.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-canvas-BgC2BoRd.js.map → workflow-canvas-CkKd9u0-.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-field-DAk0UqrK.js.map → workflow-field-WovRhNaT.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-graph-editor-0KyZBj6R.js.map → workflow-graph-editor-DRZ2UtBp.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-run-field-rlISvE35.js.map → workflow-run-field-CrBAVhOq.js.map} +1 -1
- package/dist/shell-source-maps/assets/workflow-status-field-DgjtbjlH.js.map +1 -0
- package/dist/shell-source-maps/assets/{workflow-workbench-CYjY4iZy.js.map → workflow-workbench-D8vU7ifz.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-1j5nx8lw.js +0 -34
- package/dist/shell/assets/board-display-RfXJJ01f.js +0 -2
- package/dist/shell/assets/calendar-display-CWANjACC.js +0 -2
- package/dist/shell/assets/create-route-CQeYkXaB.js +0 -2
- package/dist/shell/assets/embedded-list-CQ7VmI-J.js +0 -3
- package/dist/shell/assets/en-Dm9QE1tF.js +0 -2
- package/dist/shell/assets/export-worker-CHLq663S.js +0 -15
- package/dist/shell/assets/import-table-dialog-vxHtntUq.js +0 -2
- package/dist/shell/assets/invitations-page-a0oQdGxB.js +0 -2
- package/dist/shell/assets/list-page-BXVd_Eq3.js +0 -4
- package/dist/shell/assets/members-page-Bm3GFEhM.js +0 -2
- package/dist/shell/assets/nl-Cyam8kgY.js +0 -2
- package/dist/shell/assets/organization-page-BbzBkLeU.js +0 -2
- package/dist/shell/assets/organizations-page-BkarXyu5.js +0 -2
- package/dist/shell/assets/parse-worker-DI-FeZWV.js +0 -35
- package/dist/shell/assets/public-form-page-CI1ghnwR.js +0 -2
- package/dist/shell/assets/record-lines-sVjQkysF.js +0 -2
- package/dist/shell/assets/record-page-CA2bmhxx.js +0 -3
- package/dist/shell/assets/render-node-eKuGRuq5.js +0 -3
- package/dist/shell/assets/reorder-button-DFrAk-Xc.js +0 -2
- package/dist/shell/assets/shared-protobase-ui-C_Oyn30V.js +0 -1
- package/dist/shell/assets/sign-in-policy-page-DqH94QZl.js +0 -2
- package/dist/shell/assets/start-block-queries-CAEd4yVp.js +0 -2
- package/dist/shell/assets/step-catalog-wasAn9L1.js +0 -2
- package/dist/shell/assets/timeline-display-CLcdY1TN.js +0 -2
- package/dist/shell/assets/use-calendar-move-C8LZwkOo.js +0 -2
- package/dist/shell/assets/workflow-status-field-jZ1pLRdt.js +0 -2
- package/dist/shell/assets/workflow-workbench-CYjY4iZy.js +0 -4
- package/dist/shell-source-maps/assets/app-1j5nx8lw.js.map +0 -1
- package/dist/shell-source-maps/assets/en-Dm9QE1tF.js.map +0 -1
- package/dist/shell-source-maps/assets/export-worker-CHLq663S.js.map +0 -1
- package/dist/shell-source-maps/assets/invitations-page-a0oQdGxB.js.map +0 -1
- package/dist/shell-source-maps/assets/list-page-BXVd_Eq3.js.map +0 -1
- package/dist/shell-source-maps/assets/members-page-Bm3GFEhM.js.map +0 -1
- package/dist/shell-source-maps/assets/nl-Cyam8kgY.js.map +0 -1
- package/dist/shell-source-maps/assets/organization-page-BbzBkLeU.js.map +0 -1
- package/dist/shell-source-maps/assets/organizations-page-BkarXyu5.js.map +0 -1
- package/dist/shell-source-maps/assets/parse-worker-DI-FeZWV.js.map +0 -1
- package/dist/shell-source-maps/assets/workflow-status-field-jZ1pLRdt.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/account/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "name" | "cancel" | "as" | "account" | "mailbox" | "ended" | "noDevices" | "remove" | "revoke" | "copied" | "continue" | "download" | "connected" | "loading" | "code" | "email" | "password" | "signOut" | "passwordsDiffer" | "atLeast" | "useAtLeast" | "passwordTooLong" | "newPassword" | "repeatPassword" | "setPassword" | "addPasskey" | "connections" | "twoFactor" | "passkey" | "edit" | "default" | "reset" | "save" | "optional" | "backupCodes" | "changeEmail" | "changePassword" | "newEmail" | "currentPassword" | "required" | "staff" | "done" | "copy" | "connect" | "connectAgain" | "otherAddress" | "off" | "on" | "noAccount" | "noAccountDescription" | "signInPolicy" | "couldNotReadMethods" | "couldNotReadProfile" | "profile" | "profileDescription" | "changeName" | "changeNameDescription" | "changeEmailDescription" | "sendCode" | "codeSentTo" | "theProvider" | "yourPassword" | "passwordIsSet" | "passwordNotSet" | "passwordForbidden" | "passwordStaff" | "passwordSaved" | "changeSignsOutOthers" | "passkeys" | "passkeysAllowed" | "passkeysRequired" | "passkeysForbidden" | "addedOn" | "addedEarlier" | "synced" | "oneDevice" | "rename" | "keepLastPasskey" | "confirmedAddPasskey" | "renamePasskey" | "renamePasskeyDescription" | "removePasskey" | "removePasskeyDescription" | "thisPasskey" | "connectedAccounts" | "connectedAccountsDescription" | "mailboxDescription" | "fromAddresses" | "fromAddressesDescription" | "couldNotReadFromAddresses" | "mailboxOwnAddress" | "makeDefault" | "ownSignature" | "genericSignature" | "addFromAddress" | "addFromAddressDescription" | "changeFromAddressDescription" | "addAddress" | "fromAddress" | "fromAddressPlaceholder" | "fromName" | "fromNamePlaceholder" | "defaultFromAddress" | "signature" | "signaturePlaceholder" | "removeFromAddress" | "removeFromAddressDescription" | "connectionsDescription" | "connectedOn" | "connectionNeedsSignIn" | "connectionUsedBy" | "disconnect" | "disconnectTitle" | "disconnectDescription" | "disconnectWholeGrant" | "disconnectedRevoked" | "disconnectedQueued" | "disconnectedNotRevoked" | "stopped" | "signedInUntil" | "devices" | "devicesDescription" | "couldNotReadDevices" | "thisDevice" | "browserOn" | "aBrowserOn" | "unknownDevice" | "staffOf" | "signedInFromUntil" | "signOutDevice" | "signOutDeviceDescription" | "signOutLinkedDeviceDescription" | "deviceThrough" | "linkedOn" | "signOutOthers" | "signOutOthersTitle" | "signOutOthersDescription" | "staffSignIns" | "staffSignInsDescription" | "noStaffSignIns" | "qrCode" | "twoFactorAllowed" | "twoFactorRequired" | "twoFactorForbidden" | "twoFactorOnWithApp" | "twoFactorOnWithAppOrMail" | "twoFactorOnWithMail" | "turnOn" | "turnOff" | "addAuthenticator" | "newBackupCodes" | "twoFactorIsRequired" | "turnOffTitle" | "turnOffDescription" | "newCodesTitle" | "newCodesDescription" | "makeNewCodes" | "yourNewCodes" | "keepCodesSafe" | "savedCodes" | "authenticatorApp" | "authenticatorAppDescription" | "emailedCode" | "emailedCodeDescription" | "twoFactorIsOn" | "scanCode" | "cannotScan" | "codeFromApp" | "secondStep" | "passwordDescription" | "emailedSignInCode" | "emailedSignInCodeDescription" | "passkeysPolicyDescription" | "twoFactorPolicyDescription" | "staffAccess" | "staffAccessDescription" | "emailThePerson" | "platformSignIn" | "platformSignInDescription" | "platformSignInWith" | "codeNeedsMail" | "passwordStaysOn" | "staffNeedsMail" | "platformOff" | "appliesAs" | "lastSaved" | "lastSavedBy" | "neverChanged" | "couldNotReadStaffSignIns" | "couldNotReadPolicy" | "policySaved" | "policySubtitle" | "mcpAddress" | "mcpAddressDescription" | "copyMcpAddress" | "accessTokens" | "accessTokensDescription" | "couldNotReadAccessTokens" | "noAccessTokens" | "newAccessToken" | "newAccessTokenDescription" | "accessTokenNamePlaceholder" | "accessTokenExpiry" | "expiresIn30Days" | "expiresIn90Days" | "expiresInAYear" | "neverExpires" | "createAccessToken" | "confirmedCreateAccessToken" | "accessTokenCreated" | "accessTokenCreatedDescription" | "copyAccessToken" | "noAnswerFromServer" | "copyRefused" | "createdOn" | "expiresOn" | "expiredOn" | "lastUsedOn" | "notUsedYet" | "actsAs" | "actsAsIn" | "revokeAccessToken" | "revokeAccessTokenDescription" | "addToClaude" | "deleteAccount" | "deleteAccountDescription" | "deleteAccountStaff" | "deleteAccountQuestion" | "deleteAccountWarning" | "deleteAccountPassword" | "deleteAccountConfirm" | "deleteAccountLastAdmin" | "deleteAccountLocked", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "name" | "cancel" | "as" | "account" | "mailbox" | "ended" | "noDevices" | "remove" | "revoke" | "copied" | "continue" | "download" | "connected" | "loading" | "code" | "email" | "password" | "signOut" | "passwordsDiffer" | "atLeast" | "useAtLeast" | "passwordTooLong" | "newPassword" | "repeatPassword" | "setPassword" | "addPasskey" | "connections" | "twoFactor" | "passkey" | "edit" | "default" | "reset" | "save" | "optional" | "backupCodes" | "changeEmail" | "changePassword" | "newEmail" | "currentPassword" | "required" | "staff" | "done" | "copy" | "connect" | "connectAgain" | "otherAddress" | "off" | "on" | "noAccount" | "noAccountDescription" | "signInPolicy" | "couldNotReadMethods" | "couldNotReadProfile" | "profile" | "profileDescription" | "changeName" | "changeNameDescription" | "changeEmailDescription" | "sendCode" | "codeSentTo" | "theProvider" | "yourPassword" | "passwordIsSet" | "passwordNotSet" | "passwordForbidden" | "passwordStaff" | "passwordSaved" | "changeSignsOutOthers" | "passkeys" | "passkeysAllowed" | "passkeysRequired" | "passkeysForbidden" | "addedOn" | "addedEarlier" | "synced" | "oneDevice" | "rename" | "keepLastPasskey" | "confirmedAddPasskey" | "renamePasskey" | "renamePasskeyDescription" | "removePasskey" | "removePasskeyDescription" | "thisPasskey" | "connectedAccounts" | "connectedAccountsDescription" | "mailboxDescription" | "fromAddresses" | "fromAddressesDescription" | "couldNotReadFromAddresses" | "mailboxOwnAddress" | "makeDefault" | "ownSignature" | "genericSignature" | "addFromAddress" | "addFromAddressDescription" | "changeFromAddressDescription" | "addAddress" | "fromAddress" | "fromAddressPlaceholder" | "fromName" | "fromNamePlaceholder" | "defaultFromAddress" | "signature" | "signaturePlaceholder" | "removeFromAddress" | "removeFromAddressDescription" | "connectionsDescription" | "connectedOn" | "connectionNeedsSignIn" | "connectionUsedBy" | "disconnect" | "disconnectTitle" | "disconnectDescription" | "disconnectWholeGrant" | "disconnectedRevoked" | "disconnectedQueued" | "disconnectedNotRevoked" | "stopped" | "signedInUntil" | "devices" | "devicesDescription" | "couldNotReadDevices" | "thisDevice" | "browserOn" | "aBrowserOn" | "unknownDevice" | "staffOf" | "signedInFromUntil" | "signOutDevice" | "signOutDeviceDescription" | "signOutLinkedDeviceDescription" | "deviceThrough" | "linkedOn" | "signOutOthers" | "signOutOthersTitle" | "signOutOthersDescription" | "staffSignIns" | "staffSignInsDescription" | "noStaffSignIns" | "qrCode" | "twoFactorAllowed" | "twoFactorRequired" | "twoFactorForbidden" | "twoFactorOnWithApp" | "twoFactorOnWithAppOrMail" | "twoFactorOnWithMail" | "turnOn" | "turnOff" | "addAuthenticator" | "newBackupCodes" | "twoFactorIsRequired" | "turnOffTitle" | "turnOffDescription" | "newCodesTitle" | "newCodesDescription" | "makeNewCodes" | "yourNewCodes" | "keepCodesSafe" | "savedCodes" | "authenticatorApp" | "authenticatorAppDescription" | "emailedCode" | "emailedCodeDescription" | "twoFactorIsOn" | "scanCode" | "cannotScan" | "codeFromApp" | "secondStep" | "passwordDescription" | "emailedSignInCode" | "emailedSignInCodeDescription" | "passkeysPolicyDescription" | "twoFactorPolicyDescription" | "staffAccess" | "staffAccessDescription" | "emailThePerson" | "platformSignIn" | "platformSignInDescription" | "platformSignInWith" | "codeNeedsMail" | "passwordStaysOn" | "staffNeedsMail" | "platformOff" | "appliesAs" | "lastSaved" | "lastSavedBy" | "neverChanged" | "couldNotReadStaffSignIns" | "couldNotReadPolicy" | "policySaved" | "policySubtitle" | "mcpAddress" | "mcpAddressDescription" | "copyMcpAddress" | "accessTokens" | "accessTokensDescription" | "couldNotReadAccessTokens" | "noAccessTokens" | "newAccessToken" | "newAccessTokenDescription" | "accessTokenNamePlaceholder" | "accessTokenExpiry" | "expiresIn30Days" | "expiresIn90Days" | "expiresInAYear" | "neverExpires" | "createAccessToken" | "confirmedCreateAccessToken" | "accessTokenCreated" | "accessTokenCreatedDescription" | "copyAccessToken" | "noAnswerFromServer" | "copyRefused" | "createdOn" | "expiresOn" | "expiredOn" | "lastUsedOn" | "notUsedYet" | "actsAs" | "actsAsIn" | "revokeAccessToken" | "revokeAccessTokenDescription" | "addToClaude" | "deleteAccount" | "deleteAccountDescription" | "deleteAccountStaff" | "deleteAccountQuestion" | "deleteAccountWarning" | "deleteAccountPassword" | "deleteAccountConfirm" | "deleteAccountLastAdmin" | "deleteAccountLocked", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -13,8 +13,10 @@ export type ActivityChartProps = {
|
|
|
13
13
|
onGranularityChange?: (granularity: ActivityGranularity) => void;
|
|
14
14
|
/** Text after the total, for example "last 30 days". */
|
|
15
15
|
periodLabel?: string;
|
|
16
|
+
/** `loading` while the counts are on their way, `failed` when they could not be loaded: no total or bars then. */
|
|
17
|
+
state?: 'loading' | 'failed';
|
|
16
18
|
className?: string;
|
|
17
19
|
};
|
|
18
20
|
/** Counts per day or week under their total and change, drawn as a date chart's bars with its tooltip, keys and table. */
|
|
19
|
-
export declare const ActivityChart: ({ title, defaultGranularity, data, granularity: controlled, onGranularityChange, periodLabel, className }: ActivityChartProps) => import("react").JSX.Element;
|
|
21
|
+
export declare const ActivityChart: ({ title, defaultGranularity, data, granularity: controlled, onGranularityChange, periodLabel, state, className }: ActivityChartProps) => import("react").JSX.Element;
|
|
20
22
|
//#endregion
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { cn } from "../lib/cn.js";
|
|
2
|
+
import { Skeleton } from "../primitives/skeleton.js";
|
|
2
3
|
import { Segmented } from "../primitives/segmented.js";
|
|
3
4
|
import { formatInt } from "../format/number.js";
|
|
4
5
|
import { PeriodChart } from "../app/charts/lazy-charts.js";
|
|
5
6
|
import { halfOverHalfDelta, totalCount } from "./activity-math.js";
|
|
6
7
|
import { text } from "./messages.js";
|
|
7
8
|
import { useState } from "react";
|
|
8
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
+
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
9
10
|
//#region src/activity-chart/activity-chart.tsx
|
|
10
11
|
/** Counts per day or week under their total and change, drawn as a date chart's bars with its tooltip, keys and table. */
|
|
11
|
-
const ActivityChart = ({ title, defaultGranularity = "day", data, granularity: controlled, onGranularityChange, periodLabel, className }) => {
|
|
12
|
+
const ActivityChart = ({ title, defaultGranularity = "day", data, granularity: controlled, onGranularityChange, periodLabel, state, className }) => {
|
|
12
13
|
const [local, setLocal] = useState(defaultGranularity);
|
|
13
14
|
const granularity = controlled ?? local;
|
|
14
15
|
const setGranularity = onGranularityChange ?? setLocal;
|
|
@@ -29,18 +30,17 @@ const ActivityChart = ({ title, defaultGranularity = "day", data, granularity: c
|
|
|
29
30
|
className: "font-semibold",
|
|
30
31
|
children: title
|
|
31
32
|
}),
|
|
32
|
-
/* @__PURE__ */ jsx("span", {
|
|
33
|
+
state === void 0 && /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx("span", {
|
|
33
34
|
className: "font-semibold tabular-nums",
|
|
34
35
|
children: formatInt(totalCount(data))
|
|
35
|
-
}),
|
|
36
|
-
/* @__PURE__ */ jsxs("span", {
|
|
36
|
+
}), /* @__PURE__ */ jsxs("span", {
|
|
37
37
|
className: cn("text-xs font-medium tabular-nums", delta >= 0 ? "text-success-text" : "text-danger-text"),
|
|
38
38
|
children: [
|
|
39
39
|
delta >= 0 ? "+" : "−",
|
|
40
40
|
Math.abs(delta).toFixed(1),
|
|
41
41
|
"%"
|
|
42
42
|
]
|
|
43
|
-
}),
|
|
43
|
+
})] }),
|
|
44
44
|
/* @__PURE__ */ jsx("span", {
|
|
45
45
|
className: "hidden text-xs text-muted-foreground sm:inline",
|
|
46
46
|
children: periodLabel ?? `last ${granularity === "day" ? "30 days" : "12 weeks"}`
|
|
@@ -57,15 +57,22 @@ const ActivityChart = ({ title, defaultGranularity = "day", data, granularity: c
|
|
|
57
57
|
label: text("week")
|
|
58
58
|
}]
|
|
59
59
|
})]
|
|
60
|
-
}), /* @__PURE__ */
|
|
60
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
61
61
|
className: "mt-2",
|
|
62
|
-
children:
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
62
|
+
children: [
|
|
63
|
+
state === "failed" && /* @__PURE__ */ jsx("p", {
|
|
64
|
+
className: "py-6 text-danger-text",
|
|
65
|
+
children: text("couldNotLoad")
|
|
66
|
+
}),
|
|
67
|
+
state === "loading" && /* @__PURE__ */ jsx(Skeleton, { className: "h-24 w-full" }),
|
|
68
|
+
state === void 0 && /* @__PURE__ */ jsx(PeriodChart, {
|
|
69
|
+
points,
|
|
70
|
+
measure: { kind: "count" },
|
|
71
|
+
bucket: granularity,
|
|
72
|
+
type: "bar",
|
|
73
|
+
compact: true
|
|
74
|
+
})
|
|
75
|
+
]
|
|
69
76
|
})]
|
|
70
77
|
});
|
|
71
78
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/activity-chart/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "day" | "week", values?: Record<string, MessageValue>): string;
|
|
5
|
-
rich(id: "day" | "week", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
4
|
+
(id: "couldNotLoad" | "day" | "week", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "couldNotLoad" | "day" | "week", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
package/dist/app/app.js
CHANGED
|
@@ -27,7 +27,7 @@ import { tellSignedOut } from "../app-shell/signed-out.js";
|
|
|
27
27
|
import { createQueryPersistence } from "../data/start-cache/query-persistence.js";
|
|
28
28
|
import { documentTitle, titleParts, useDocumentTitle } from "./document-title.js";
|
|
29
29
|
import { useSignInAddress } from "../auth/use-sign-in-address.js";
|
|
30
|
-
import { managesOrganization, organizationMenuItems, organizationPageTitle } from "../organizations/organization-paths.js";
|
|
30
|
+
import { firstOrganizationPath, isFirstOrganizationPath, managesOrganization, organizationMenuItems, organizationPageTitle } from "../organizations/organization-paths.js";
|
|
31
31
|
import { CustomBoundary } from "./pages/custom-boundary.js";
|
|
32
32
|
import { PluginSourceProvider } from "../plugins/plugin-source.js";
|
|
33
33
|
import { AuthGate } from "../auth/auth-gate.js";
|
|
@@ -47,12 +47,13 @@ import { breadcrumbFor } from "./breadcrumb-for.js";
|
|
|
47
47
|
import { usePresence } from "../presence/presence.js";
|
|
48
48
|
import { ProjectUiContext, useProjectUi } from "./pages/project-ui.js";
|
|
49
49
|
import { PresenceProvider } from "../presence/presence-provider.js";
|
|
50
|
+
import { useOrganizationText } from "../organizations/organization-word.js";
|
|
50
51
|
import { reopenIn, useOrganizations } from "../organizations/use-organizations.js";
|
|
51
52
|
import { actingUser } from "../roles/acting-user.js";
|
|
52
53
|
import { useActiveRole } from "../roles/use-active-role.js";
|
|
53
54
|
import { userMenuFromMeta } from "./user-menu-from-meta.js";
|
|
54
55
|
import { navFromMeta, navItemId } from "./nav-from-meta.js";
|
|
55
|
-
import {
|
|
56
|
+
import { useStartAddress } from "./use-start-address.js";
|
|
56
57
|
import { pageTabs, shownPageTab } from "./pages/page-tabs.js";
|
|
57
58
|
import { ProjectLogo } from "./project-logo.js";
|
|
58
59
|
import { ShellBell } from "./shell-bell.js";
|
|
@@ -66,7 +67,7 @@ import { useGlobalSearch } from "./search/use-global-search.js";
|
|
|
66
67
|
import { NewVersionBanner } from "./new-version/new-version-banner.js";
|
|
67
68
|
import { NewVersionButton } from "./new-version/new-version-button.js";
|
|
68
69
|
import { NewVersionToast } from "./new-version/new-version-toast.js";
|
|
69
|
-
import { AccountPage, AssistantPanel, CallRings, ComposedPage, ConnectRoute, CreateRoute, GuestCallPage, InvitationsPage, ListPage, MembersPage, OrganizationPage, OrganizationsPage, PublicFormPage, RecordPage, RuntimeUpdateButton, SignInPolicyPage, preloadPages } from "./lazy-routes.js";
|
|
70
|
+
import { AccountPage, AssistantPanel, CallRings, ComposedPage, ConnectRoute, CreateRoute, FirstOrganizationPage, GuestCallPage, InvitationsPage, ListPage, MembersPage, OrganizationPage, OrganizationsPage, PublicFormPage, RecordPage, RuntimeUpdateButton, SignInPolicyPage, preloadPages } from "./lazy-routes.js";
|
|
70
71
|
import { StaffBanner } from "./staff-banner.js";
|
|
71
72
|
import { useNavRecent } from "./use-nav-recent.js";
|
|
72
73
|
import { useAppAddress } from "./use-app-address.js";
|
|
@@ -109,21 +110,29 @@ const Routes = ({ workspace, sidebarMode, assistant, runtime }) => {
|
|
|
109
110
|
const shown = recordOf(address);
|
|
110
111
|
const search = useGlobalSearch();
|
|
111
112
|
const theme = useTheme();
|
|
113
|
+
const organizations = useOrganizations(Boolean(organizationSettings && user));
|
|
114
|
+
const current = organizations.current;
|
|
115
|
+
const organizationText = useOrganizationText();
|
|
116
|
+
const outsideOrganizations = Boolean(organizationSettings) && current !== void 0 && !current.organization && organizations.fresh;
|
|
117
|
+
const organizationsPending = Boolean(organizationSettings && user) && !organizations.error && (current === void 0 || !current.organization && !organizations.fresh);
|
|
118
|
+
const inOrganization = !outsideOrganizations && !organizationsPending;
|
|
112
119
|
const recent = useNavRecent(meta, basePath, {
|
|
113
120
|
resource: shown?.resource,
|
|
114
121
|
key: shown?.key
|
|
115
|
-
});
|
|
122
|
+
}, inOrganization);
|
|
116
123
|
const restored = useRestoredState();
|
|
117
124
|
useLiveUpdates(meta);
|
|
118
|
-
const groups = navFromMeta(meta, basePath, recent);
|
|
119
|
-
const
|
|
125
|
+
const groups = inOrganization ? navFromMeta(meta, basePath, recent) : [];
|
|
126
|
+
const startOrganization = !organizationSettings || !user ? "" : organizations.fresh ? current?.organization?.id ?? "" : organizations.failed ? null : void 0;
|
|
127
|
+
const start = useStartAddress(meta, path === "/" && inOrganization, startOrganization);
|
|
120
128
|
const page = address?.kind === "page" ? meta.pages[address.page] : void 0;
|
|
121
129
|
useEffect(() => {
|
|
122
|
-
if (path !== "/") return;
|
|
123
|
-
if (start) go(start, { replace: true });
|
|
130
|
+
if (path !== "/" || !inOrganization || start.state === "resolving") return;
|
|
131
|
+
if (start.address) go(start.address, { replace: true });
|
|
124
132
|
else if (user) navigate(accountPath, { replace: true });
|
|
125
133
|
}, [
|
|
126
134
|
path,
|
|
135
|
+
inOrganization,
|
|
127
136
|
start,
|
|
128
137
|
go,
|
|
129
138
|
user,
|
|
@@ -172,15 +181,25 @@ const Routes = ({ workspace, sidebarMode, assistant, runtime }) => {
|
|
|
172
181
|
const acting = user && actingUser(user, role.current);
|
|
173
182
|
const admin = acting ? isAdmin(acting) : false;
|
|
174
183
|
const pluginsOff = usePluginsOff();
|
|
175
|
-
const
|
|
176
|
-
const current = organizations.current;
|
|
177
|
-
const outsideOrganizations = Boolean(organizationSettings) && current !== void 0 && !current.organization;
|
|
178
|
-
const organizationPage = organizationSettings && user ? organizationPageTitle(path) : void 0;
|
|
184
|
+
const organizationPage = organizationSettings && user ? organizationPageTitle(path, organizationText) : void 0;
|
|
179
185
|
const account = useAccountPage();
|
|
180
186
|
const accountAddress = user ? readAccountPath(path) : void 0;
|
|
187
|
+
const staysOutside = isFirstOrganizationPath(path) || path === "/-/organizations" || path === "/-/sign-in-policy" || path === "/-/menu" || Boolean(accountAddress);
|
|
188
|
+
const firstOrganizationShown = isFirstOrganizationPath(path);
|
|
189
|
+
useEffect(() => {
|
|
190
|
+
if (outsideOrganizations && !staysOutside) navigate(firstOrganizationPath, { replace: true });
|
|
191
|
+
else if (inOrganization && Boolean(current?.organization) && firstOrganizationShown) navigate("/", { replace: true });
|
|
192
|
+
}, [
|
|
193
|
+
outsideOrganizations,
|
|
194
|
+
staysOutside,
|
|
195
|
+
inOrganization,
|
|
196
|
+
current,
|
|
197
|
+
firstOrganizationShown,
|
|
198
|
+
navigate
|
|
199
|
+
]);
|
|
181
200
|
const accountTab = accountAddress && account ? shownPageTab(pageTabs(account.tree), accountAddress.tab) : void 0;
|
|
182
201
|
const menuShown = path === menuPagePath;
|
|
183
|
-
const tabs = bottomBarFromMeta(meta, basePath, place, address?.kind === "list" || address?.kind === "page");
|
|
202
|
+
const tabs = inOrganization ? bottomBarFromMeta(meta, basePath, place, address?.kind === "list" || address?.kind === "page") : [];
|
|
184
203
|
const firstTab = tabs.find((tab) => !tab.external)?.href.slice(basePath.length);
|
|
185
204
|
const menuPage = {
|
|
186
205
|
href: `${basePath}${menuPagePath}`,
|
|
@@ -251,10 +270,17 @@ const Routes = ({ workspace, sidebarMode, assistant, runtime }) => {
|
|
|
251
270
|
current,
|
|
252
271
|
statuses,
|
|
253
272
|
presence
|
|
254
|
-
}) : /* @__PURE__ */ jsx(InvitationsPage, { current }) : organizationPage && path === "/-/organizations"
|
|
273
|
+
}) : /* @__PURE__ */ jsx(InvitationsPage, { current }) : organizationPage && path === "/-/organizations" ? /* @__PURE__ */ jsx(OrganizationsPage, {
|
|
255
274
|
state: organizations,
|
|
256
275
|
basePath
|
|
257
|
-
}) :
|
|
276
|
+
}) : organizationsPending && organizations.failed ? /* @__PURE__ */ jsx(Notice, {
|
|
277
|
+
title: organizationText("couldNotReadOrganizations"),
|
|
278
|
+
children: /* @__PURE__ */ jsx(Button, {
|
|
279
|
+
className: "mt-3",
|
|
280
|
+
onClick: organizations.reload,
|
|
281
|
+
children: organizationText("tryAgain")
|
|
282
|
+
})
|
|
283
|
+
}) : outsideOrganizations || organizationsPending ? null : !address ? path === "/" ? start.state === "resolving" || start.address ? null : /* @__PURE__ */ jsx(Notice, {
|
|
258
284
|
title: text("chooseResource"),
|
|
259
285
|
children: text("pickFromSidebar")
|
|
260
286
|
}) : /* @__PURE__ */ jsx(Notice, {
|
|
@@ -275,6 +301,27 @@ const Routes = ({ workspace, sidebarMode, assistant, runtime }) => {
|
|
|
275
301
|
recordKey: address.key
|
|
276
302
|
}, `${address.resource}/${address.key}`) : /* @__PURE__ */ jsx(ListPage, { address }, navItemId(address.resource, address.list));
|
|
277
303
|
const pluginNotice = admin && pluginsOff.length > 0;
|
|
304
|
+
const signOutDialog = signingOut && /* @__PURE__ */ jsx(Dialog, {
|
|
305
|
+
title: text("signOutQuestion"),
|
|
306
|
+
description: text("signOutHelp"),
|
|
307
|
+
onClose: () => setSigningOut(false),
|
|
308
|
+
actions: /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(Button, {
|
|
309
|
+
onClick: () => setSigningOut(false),
|
|
310
|
+
children: text("signOutCancel")
|
|
311
|
+
}), /* @__PURE__ */ jsx(Button, {
|
|
312
|
+
variant: "primary",
|
|
313
|
+
onClick: () => void confirmSignOut(),
|
|
314
|
+
children: text("signOutConfirm")
|
|
315
|
+
})] })
|
|
316
|
+
});
|
|
317
|
+
if (user && outsideOrganizations && isFirstOrganizationPath(path)) return /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(FirstOrganizationPage, {
|
|
318
|
+
path,
|
|
319
|
+
basePath,
|
|
320
|
+
email: user.email,
|
|
321
|
+
mayCreate: organizationSettings?.create === "everyone" || isAdmin(user),
|
|
322
|
+
seesAll: (current?.globalRoles.length ?? 0) > 0,
|
|
323
|
+
onSignOut: () => setSigningOut(true)
|
|
324
|
+
}), signOutDialog] });
|
|
278
325
|
return /* @__PURE__ */ jsx(AppShell, {
|
|
279
326
|
pageScroll: true,
|
|
280
327
|
sidebarMode: sidebarMode ?? "text-small",
|
|
@@ -294,12 +341,13 @@ const Routes = ({ workspace, sidebarMode, assistant, runtime }) => {
|
|
|
294
341
|
menuPage,
|
|
295
342
|
bottomBarSearch: bottomBarSearch(meta),
|
|
296
343
|
userMenu: [
|
|
297
|
-
userMenuFromMeta(meta, basePath, place),
|
|
298
|
-
organizationSettings && user ? organizationMenuItems(basePath, path, current) : [],
|
|
344
|
+
inOrganization ? userMenuFromMeta(meta, basePath, place) : [],
|
|
345
|
+
organizationSettings && user ? organizationMenuItems(basePath, path, organizationText, current) : [],
|
|
299
346
|
user ? accountMenuItems(basePath, path, admin) : []
|
|
300
347
|
],
|
|
301
348
|
account: user && `${basePath}/-/account`,
|
|
302
349
|
organizations: organizationSettings && {
|
|
350
|
+
label: organizationText("organizations"),
|
|
303
351
|
...current?.organization && { current: {
|
|
304
352
|
id: current.organization.id,
|
|
305
353
|
name: current.organization.name
|
|
@@ -325,7 +373,7 @@ const Routes = ({ workspace, sidebarMode, assistant, runtime }) => {
|
|
|
325
373
|
signIn: staff,
|
|
326
374
|
onStop: stopStaffSession
|
|
327
375
|
}), pluginNotice && /* @__PURE__ */ jsx(PluginNotice, { off: pluginsOff })] }),
|
|
328
|
-
search: search.available ? {
|
|
376
|
+
search: search.available && inOrganization ? {
|
|
329
377
|
placeholder: search.placeholder,
|
|
330
378
|
text: search.text,
|
|
331
379
|
onTextChange: search.setText,
|
|
@@ -348,19 +396,7 @@ const Routes = ({ workspace, sidebarMode, assistant, runtime }) => {
|
|
|
348
396
|
overlays: /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
349
397
|
status.dialog,
|
|
350
398
|
meta.calls && user && !staff && /* @__PURE__ */ jsx(CallRings, {}),
|
|
351
|
-
|
|
352
|
-
title: text("signOutQuestion"),
|
|
353
|
-
description: text("signOutHelp"),
|
|
354
|
-
onClose: () => setSigningOut(false),
|
|
355
|
-
actions: /* @__PURE__ */ jsxs(Fragment$1, { children: [/* @__PURE__ */ jsx(Button, {
|
|
356
|
-
onClick: () => setSigningOut(false),
|
|
357
|
-
children: text("signOutCancel")
|
|
358
|
-
}), /* @__PURE__ */ jsx(Button, {
|
|
359
|
-
variant: "primary",
|
|
360
|
-
onClick: () => void confirmSignOut(),
|
|
361
|
-
children: text("signOutConfirm")
|
|
362
|
-
})] })
|
|
363
|
-
})
|
|
399
|
+
signOutDialog
|
|
364
400
|
] }),
|
|
365
401
|
rightPanel: (RightPanel || assistantPanel) && /* @__PURE__ */ jsxs(Fragment$1, { children: [RightPanel && /* @__PURE__ */ jsx(CustomBoundary, {
|
|
366
402
|
name: "shell.rightPanel",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../../locale/messages.js";
|
|
2
2
|
//#region src/app/change-confirm/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "cancel" | "title" | "change", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "cancel" | "title" | "change", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { viewerZone } from "../../format/zone.js";
|
|
2
1
|
import { labelFieldOf } from "../../live/model-helpers.js";
|
|
2
|
+
import { viewerZone } from "../../format/zone.js";
|
|
3
3
|
import "./chart-groups.js";
|
|
4
4
|
//#region src/app/charts/chart-params.ts
|
|
5
5
|
const labelOf = (field, resources, views) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../../locale/messages.js";
|
|
2
2
|
//#region src/app/charts/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "count" | "sum" | "
|
|
5
|
-
rich(id: "count" | "sum" | "
|
|
4
|
+
(id: "count" | "sum" | "yes" | "no" | "couldNotLoad" | "today" | "records" | "maximum" | "average" | "nothingYet" | "notSet" | "other" | "toToday" | "period" | "chartKeys", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "count" | "sum" | "yes" | "no" | "couldNotLoad" | "today" | "records" | "maximum" | "average" | "nothingYet" | "notSet" | "other" | "toToday" | "period" | "chartKeys", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../../locale/messages.js";
|
|
2
2
|
//#region src/app/comments/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "placeholder" | "couldNotLoad" | "
|
|
5
|
-
rich(id: "placeholder" | "couldNotLoad" | "
|
|
4
|
+
(id: "placeholder" | "couldNotLoad" | "couldNotPost" | "comment" | "showEarlier" | "noComments", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "placeholder" | "couldNotLoad" | "couldNotPost" | "comment" | "showEarlier" | "noComments", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/app/confirm-sign-in-messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "password" | "emailCode" | "codeSent" | "
|
|
5
|
-
rich(id: "password" | "emailCode" | "codeSent" | "
|
|
4
|
+
(id: "password" | "emailCode" | "codeSent" | "emailedCode" | "confirmTitle" | "confirmWhy" | "confirmWhyChange" | "usePasskey" | "authenticatorCode" | "confirm" | "emailNewCode" | "nothingToConfirmWith", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "password" | "emailCode" | "codeSent" | "emailedCode" | "confirmTitle" | "confirmWhy" | "confirmWhyChange" | "usePasskey" | "authenticatorCode" | "confirm" | "emailNewCode" | "nothingToConfirmWith", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -8,7 +8,7 @@ type ThreadList = {
|
|
|
8
8
|
* What a thread shows of its list: the error only while no message has loaded, so a failed refetch keeps the messages
|
|
9
9
|
* on screen and the reader's place in them; then its loading line until the first page arrives; then the messages.
|
|
10
10
|
*/
|
|
11
|
-
export declare const threadState: (list: ThreadList) => "
|
|
11
|
+
export declare const threadState: (list: ThreadList) => "error" | "loading" | "messages";
|
|
12
12
|
/** What an empty thread says: its loading line while its calls still load, so it never says empty before they arrive. */
|
|
13
13
|
export declare const emptyLine: (calls: {
|
|
14
14
|
isLoading: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../../locale/messages.js";
|
|
2
2
|
//#region src/app/create/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "cancel" | "title" | "subject" | "setByDatabase" | "submit" | "details" | "notSaved" | "notCreated" | "otherFields" | "notAllowed" | "cannotCreate", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "cancel" | "title" | "subject" | "setByDatabase" | "submit" | "details" | "notSaved" | "notCreated" | "otherFields" | "notAllowed" | "cannotCreate", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -11,5 +11,5 @@ export declare const CustomSection: ({ item, scope, fallback }: {
|
|
|
11
11
|
item: CustomSectionModel;
|
|
12
12
|
scope: LayoutRecord;
|
|
13
13
|
fallback: ReactNode | undefined;
|
|
14
|
-
}) => string | number | bigint | boolean |
|
|
14
|
+
}) => string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react").JSX.Element | null | undefined;
|
|
15
15
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../../locale/messages.js";
|
|
2
2
|
//#region src/app/delete/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "cancel" | "
|
|
5
|
-
rich(id: "cancel" | "
|
|
4
|
+
(id: "cancel" | "delete" | "working" | "done" | "progress" | "kept" | "show" | "confirmTitle" | "deleteCount" | "undo" | "confirmDescription" | "changedTitle" | "changedDescription" | "reviewChanges" | "deleteAnyway" | "noVisibleChanges" | "bulkConfirmTitle" | "bulkConfirmDescription" | "deleting" | "deleted" | "deletedOf" | "deletedToast" | "restored" | "alreadyBack" | "couldNotRestore" | "couldNotDelete" | "changedSinceLoaded" | "stillPointAt", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "cancel" | "delete" | "working" | "done" | "progress" | "kept" | "show" | "confirmTitle" | "deleteCount" | "undo" | "confirmDescription" | "changedTitle" | "changedDescription" | "reviewChanges" | "deleteAnyway" | "noVisibleChanges" | "bulkConfirmTitle" | "bulkConfirmDescription" | "deleting" | "deleted" | "deletedOf" | "deletedToast" | "restored" | "alreadyBack" | "couldNotRestore" | "couldNotDelete" | "changedSinceLoaded" | "stillPointAt", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { cn } from "../../lib/cn.js";
|
|
2
|
+
import { recordTitleField } from "../../live/model-helpers.js";
|
|
2
3
|
import { dayIn, viewerZone } from "../../format/zone.js";
|
|
3
4
|
import { formatTime } from "../../format/date.js";
|
|
4
|
-
import { recordTitleField } from "../../live/model-helpers.js";
|
|
5
5
|
import { displayValue } from "../../live/display-value.js";
|
|
6
6
|
import { AppLink } from "../use-app-address.js";
|
|
7
7
|
import { useSeedRecord } from "../record-preview.js";
|
|
@@ -24,5 +24,5 @@ type ListCardsProps = {
|
|
|
24
24
|
* The list page's cards display: a card per record (see `RecordCard`), scrolled like the table. An embedded list,
|
|
25
25
|
* which shows a few cards whole, draws them with `CardsDisplay`.
|
|
26
26
|
*/
|
|
27
|
-
export declare const ListCards: ({ model, view, display, list, empty }: ListCardsProps) => string | number | bigint | boolean |
|
|
27
|
+
export declare const ListCards: ({ model, view, display, list, empty }: ListCardsProps) => string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react").JSX.Element;
|
|
28
28
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../../locale/messages.js";
|
|
2
2
|
//#region src/app/displays/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "ascending" | "descending" | "close" | "sort" | "display" | "list" | "today" | "table" | "next" | "month" | "week" | "pickedUp" | "isOver" | "putBack" | "cancelled" | "quarter" | "showMore" | "previous" | "noComponent" | "noValue" | "couldNotLoadRows" | "chosen" | "place" | "movedTo" | "orderChanged" | "stayedIn" | "undo" | "couldNotUndo" | "noPlural" | "somethingWrong" | "noDrop" | "wasMovedTo" | "startsOn" | "noColumn" | "noDay" | "placeOf" | "boardAcross" | "boardAnywhere" | "boardWithin" | "calendarInstructions" | "timelineInstructions" | "calendarScale" | "timelineScale" | "previousPeriod" | "nextPeriod" | "capped" | "nothingIn" | "noneMatch" | "showOneApproximate" | "showOne" | "showMany" | "showManyApproximate" | "showManySomeApproximate" | "zoomIn" | "needsStyle" | "noneHere" | "showAll" | "approximatePosition" | "features" | "couldNotReorder" | "couldNotMoveTo" | "moreHidden", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "ascending" | "descending" | "close" | "sort" | "display" | "list" | "today" | "table" | "next" | "month" | "week" | "pickedUp" | "isOver" | "putBack" | "cancelled" | "quarter" | "showMore" | "previous" | "noComponent" | "noValue" | "couldNotLoadRows" | "chosen" | "place" | "movedTo" | "orderChanged" | "stayedIn" | "undo" | "couldNotUndo" | "noPlural" | "somethingWrong" | "noDrop" | "wasMovedTo" | "startsOn" | "noColumn" | "noDay" | "placeOf" | "boardAcross" | "boardAnywhere" | "boardWithin" | "calendarInstructions" | "timelineInstructions" | "calendarScale" | "timelineScale" | "previousPeriod" | "nextPeriod" | "capped" | "nothingIn" | "noneMatch" | "showOneApproximate" | "showOne" | "showMany" | "showManyApproximate" | "showManySomeApproximate" | "zoomIn" | "needsStyle" | "noneHere" | "showAll" | "approximatePosition" | "features" | "couldNotReorder" | "couldNotMoveTo" | "moreHidden", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useClient } from "../../data/api-provider.js";
|
|
2
2
|
import { useToast } from "../../toasts/toast-provider.js";
|
|
3
|
-
import { formatDate } from "../../format/date.js";
|
|
4
3
|
import { recordKey } from "../../live/model-helpers.js";
|
|
4
|
+
import { formatDate } from "../../format/date.js";
|
|
5
5
|
import { text } from "./messages.js";
|
|
6
6
|
import { refusalReason } from "./board-columns.js";
|
|
7
7
|
import { useRefreshResource } from "../pages/use-layout-data.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../../locale/messages.js";
|
|
2
2
|
//#region src/app/export/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "cancel" | "format" | "values" | "columns" | "rows" | "truncated" | "selected" | "cancelled" | "done" | "moveUp" | "moveDown" | "export" | "csv" | "excel" | "asShown" | "rawValues" | "shownHint" | "rawHint" | "counting" | "moreThan" | "selectedRows" | "rowsInList" | "exportPlural" | "listHint" | "exports" | "overLimit" | "exporting" | "rowsExported" | "doneOf" | "exported" | "couldNotExport" | "couldNotBuild" | "workbook" | "csvFile", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "cancel" | "format" | "values" | "columns" | "rows" | "truncated" | "selected" | "cancelled" | "done" | "moveUp" | "moveDown" | "export" | "csv" | "excel" | "asShown" | "rawValues" | "shownHint" | "rawHint" | "counting" | "moreThan" | "selectedRows" | "rowsInList" | "exportPlural" | "listHint" | "exports" | "overLimit" | "exporting" | "rowsExported" | "doneOf" | "exported" | "couldNotExport" | "couldNotBuild" | "workbook" | "csvFile", 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/field-messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "number" | "
|
|
5
|
-
rich(id: "number" | "
|
|
4
|
+
(id: "number" | "date" | "timestamp" | "uuid" | "enum" | "json" | "relation" | "currency" | "country" | "required" | "atLeastCharacters" | "atMostCharacters" | "wholeNumberAtLeast" | "wholeNumberAtMost" | "wholeNumber" | "wholeNumberBelow" | "decimalsBelow" | "checkField" | "checkFields", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "number" | "date" | "timestamp" | "uuid" | "enum" | "json" | "relation" | "currency" | "country" | "required" | "atLeastCharacters" | "atMostCharacters" | "wholeNumberAtLeast" | "wholeNumberAtMost" | "wholeNumber" | "wholeNumberBelow" | "decimalsBelow" | "checkField" | "checkFields", 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/field-types/custom-step-container/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "command" | "path" | "summary" | "dockerfile" | "ownCommand" | "fileNumber" | "pathExample" | "removeFile" | "fileText" | "addFile" | "commandLines", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "command" | "path" | "summary" | "dockerfile" | "ownCommand" | "fileNumber" | "pathExample" | "removeFile" | "fileText" | "addFile" | "commandLines", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -13,5 +13,5 @@ type WidgetPartProps = {
|
|
|
13
13
|
invalid?: boolean;
|
|
14
14
|
};
|
|
15
15
|
/** One part of a field type for a field, inside a boundary that draws the built-in rendering instead when it throws. */
|
|
16
|
-
export declare const WidgetPart: ({ fallback, ...rest }: WidgetPartProps) => string | number | bigint | boolean |
|
|
16
|
+
export declare const WidgetPart: ({ fallback, ...rest }: WidgetPartProps) => string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react").JSX.Element | null | undefined;
|
|
17
17
|
//#endregion
|
|
@@ -24,7 +24,7 @@ export declare const definitionRecord: (definition: Definition) => {
|
|
|
24
24
|
trigger: import("@protobase/workflows").Trigger;
|
|
25
25
|
execution_order: import("@protobase/workflows").Order;
|
|
26
26
|
connections: Record<string, string> | null;
|
|
27
|
-
trace: "
|
|
27
|
+
trace: "failed" | "all" | "none" | null;
|
|
28
28
|
};
|
|
29
29
|
/** The names of a path, outermost first. */
|
|
30
30
|
export declare const pathNames: (path: StatePath) => string[];
|