@protobase/ui 0.117.7 → 0.118.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/messages.d.ts +2 -2
- package/dist/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/charts/messages.d.ts +2 -2
- package/dist/app/comments/messages.d.ts +2 -2
- package/dist/app/conversation/thread-state.d.ts +1 -1
- package/dist/app/create/messages.d.ts +2 -2
- package/dist/app/custom-section.d.ts +1 -1
- package/dist/app/delete/messages.d.ts +2 -2
- package/dist/app/displays/list-cards.d.ts +1 -1
- package/dist/app/displays/messages.d.ts +2 -2
- package/dist/app/embedded-list/messages.d.ts +2 -2
- package/dist/app/export/messages.d.ts +2 -2
- package/dist/app/field-messages.d.ts +2 -2
- package/dist/app/field-types/runner-install/messages.d.ts +2 -2
- package/dist/app/field-types/widget-part.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/field-types/workflow-status/messages.d.ts +2 -2
- package/dist/app/gallery/gallery-layout.d.ts +2 -2
- package/dist/app/gallery/messages.d.ts +2 -2
- package/dist/app/hand-order/messages.d.ts +2 -2
- package/dist/app/history/messages.d.ts +2 -2
- package/dist/app/import/messages.d.ts +2 -2
- package/dist/app/list-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/messages.d.ts +2 -2
- package/dist/app/meta-gate-messages.d.ts +2 -2
- package/dist/app/new-version/messages.d.ts +2 -2
- package/dist/app/pages/custom-boundary.d.ts +1 -1
- package/dist/app/pages/custom-chosen.d.ts +1 -1
- package/dist/app/pages/messages.d.ts +2 -2
- package/dist/app/record-chart/messages.d.ts +2 -2
- package/dist/app/record-messages.d.ts +2 -2
- package/dist/app/record-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/runtime/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-shell/messages.d.ts +2 -2
- package/dist/assistant-dock/messages.d.ts +2 -2
- package/dist/auth/messages.d.ts +2 -2
- package/dist/calls/messages.d.ts +2 -2
- package/dist/carousel/messages.d.ts +2 -2
- package/dist/chat/messages.d.ts +2 -2
- package/dist/compact-table/messages.d.ts +2 -2
- package/dist/data/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/use-aggregates.js +7 -6
- package/dist/data-grid/column-spec.d.ts +1 -1
- 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/forms/messages.d.ts +2 -2
- package/dist/inline-child-table/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 +4 -2
- package/dist/locale/en.json.d.ts +2 -0
- package/dist/locale/messages.d.ts +4 -0
- package/dist/locale/nl.js +4 -2
- package/dist/locale/texts-gate.d.ts +1 -1
- package/dist/notifications/bell/messages.d.ts +2 -2
- package/dist/organizations/messages.d.ts +2 -2
- package/dist/package.js +1 -1
- package/dist/plugins/before-sign-in.d.ts +1 -1
- package/dist/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-DOXkanFO.js} +2 -2
- package/dist/shell/assets/{app-1j5nx8lw.js → app-B48LQpC1.js} +11 -11
- package/dist/shell/assets/{assistant-shell-BDKCWgs7.js → assistant-shell-Drpmyy7B.js} +2 -2
- package/dist/shell/assets/board-display-D9PUmRbl.js +2 -0
- package/dist/shell/assets/{calendar-display-CWANjACC.js → calendar-display-B8J8DI5J.js} +2 -2
- package/dist/shell/assets/call-rings-C7f5skja.js +2 -0
- package/dist/shell/assets/{calls-s6XuZsjs.js → calls-Ca2RAgzS.js} +2 -2
- package/dist/shell/assets/{circle-alert-CCchwpE2.js → circle-alert-B5-CtUEU.js} +2 -2
- package/dist/shell/assets/{composed-page-Cj-OwCZB.js → composed-page-BMYkHKrZ.js} +2 -2
- package/dist/shell/assets/{composer-section-BWJgscVY.js → composer-section-CHUNzdVu.js} +2 -2
- package/dist/shell/assets/{connect-route-DpM6_5A-.js → connect-route-B_u1trIm.js} +2 -2
- package/dist/shell/assets/{copy-field-DJZYMDoO.js → copy-field-9SzlccPw.js} +2 -2
- package/dist/shell/assets/create-route-rbublA-_.js +2 -0
- package/dist/shell/assets/{custom-step-container-field-B0SWYcOK.js → custom-step-container-field-BqLAbXaI.js} +4 -4
- package/dist/shell/assets/embedded-list-CdFZ5TIe.js +3 -0
- package/dist/shell/assets/en-wsBk87ZG.js +2 -0
- package/dist/shell/assets/{export-dialog-DOtYGy3R.js → export-dialog-DG5H_BHu.js} +2 -2
- package/dist/shell/assets/export-worker-CQwKM8Oc.js +15 -0
- package/dist/shell/assets/{graph-view-G-uTEd7F.js → graph-view-DFeWGm5G.js} +2 -2
- package/dist/shell/assets/{group-donut-C_BThKYK.js → group-donut-D9vSqco5.js} +2 -2
- package/dist/shell/assets/{guest-call-page-CUucHFn7.js → guest-call-page-DIEo-q93.js} +3 -3
- package/dist/shell/assets/{html-viewer-CxMoymHe.js → html-viewer-F2craD8b.js} +2 -2
- package/dist/shell/assets/{import-dialog-DJdNJeuD.js → import-dialog-C6QghYOc.js} +2 -2
- package/dist/shell/assets/import-table-dialog-BzpzE7wd.js +2 -0
- package/dist/shell/assets/{index-BpuPTpcS.js → index-lcg5mDSu.js} +1 -1
- package/dist/shell/assets/invitations-page-nBjy3DSn.js +2 -0
- package/dist/shell/assets/{layout-grid-IQchsfWp.js → layout-grid-XTZwSFbV.js} +2 -2
- package/dist/shell/assets/{legend-item-BlI2FIuO.js → legend-item-BoeI6b5Y.js} +2 -2
- package/dist/shell/assets/list-page-C7h-_WJY.js +4 -0
- package/dist/shell/assets/{maplibre-BNosce4R.js → maplibre-CLloBp_X.js} +2 -2
- package/dist/shell/assets/{markdown-content-C_-l2O5-.js → markdown-content-CEV942Pa.js} +2 -2
- package/dist/shell/assets/members-page-D1uMhOZR.js +2 -0
- package/dist/shell/assets/messages-lXPHUGLV.js +2 -0
- package/dist/shell/assets/nl-nieWXCy1.js +2 -0
- package/dist/shell/assets/organization-page-RMZnMPR0.js +2 -0
- package/dist/shell/assets/organizations-page-Ce6Nwl7X.js +2 -0
- package/dist/shell/assets/parse-worker-BN8cVWIa.js +35 -0
- package/dist/shell/assets/{pending-invitation-row-nDslRIg_.js → pending-invitation-row-T-_gptFs.js} +2 -2
- package/dist/shell/assets/{period-chart-Dbykq15D.js → period-chart-BLA0qneK.js} +2 -2
- package/dist/shell/assets/{person-row-RUXD4Z6I.js → person-row-CB2jyi4a.js} +2 -2
- package/dist/shell/assets/public-form-page-CvtOJGMY.js +2 -0
- package/dist/shell/assets/record-lines-C-s6d1b-.js +2 -0
- package/dist/shell/assets/{record-map-SrorcD8G.js → record-map-1LgfFbVl.js} +2 -2
- package/dist/shell/assets/{record-opens-BkQP4ve9.js → record-opens-DayPkcEp.js} +2 -2
- package/dist/shell/assets/record-page-BMFIEvdR.js +3 -0
- package/dist/shell/assets/{record-preview-C8xkvcPt.js → record-preview-DYLddBgR.js} +2 -2
- package/dist/shell/assets/{records-map-DgQ3MJFS.js → records-map-Dbzp06m5.js} +2 -2
- package/dist/shell/assets/render-node-DEeBoZ9i.js +3 -0
- package/dist/shell/assets/reorder-button-BauUDONv.js +2 -0
- package/dist/shell/assets/{run-trace-view-C2MAxHm8.js → run-trace-view-C7Fa31YF.js} +2 -2
- package/dist/shell/assets/{runner-install-field-BYzWk3Ye.js → runner-install-field-Bpj6cGb0.js} +2 -2
- package/dist/shell/assets/{runtime-update-CVNAIIII.js → runtime-update-CZ31fRYM.js} +2 -2
- package/dist/shell/assets/shared-protobase-ui-BGJ_UVNP.js +1 -0
- package/dist/shell/assets/{sheet-source-BNfkNzNO.js → sheet-source-CpQBUfMu.js} +3 -3
- package/dist/shell/assets/sign-in-policy-page-BumL1ZPK.js +2 -0
- package/dist/shell/assets/start-block-queries-DYE83u9M.js +2 -0
- package/dist/shell/assets/step-catalog-DAHY1jbn.js +2 -0
- package/dist/shell/assets/{step-panel-DDSMdJhn.js → step-panel-BNu4CT-a.js} +2 -2
- package/dist/shell/assets/timeline-display-Dj7rfbX5.js +2 -0
- package/dist/shell/assets/{trash-Du1HjUvA.js → trash-DGtnZxzc.js} +2 -2
- package/dist/shell/assets/{update-set-BQN3GDI3.js → update-set-DmSoOUGC.js} +2 -2
- package/dist/shell/assets/use-calendar-move-r5AsNTri.js +2 -0
- package/dist/shell/assets/{use-display-rows-BWZ3ByZb.js → use-display-rows-QMseygYe.js} +2 -2
- package/dist/shell/assets/{use-paged-search-DvGQocxR.js → use-paged-search-CI7t7XI0.js} +2 -2
- package/dist/shell/assets/{use-run-trace-CNqw_HuX.js → use-run-trace-D0jDOrL8.js} +2 -2
- package/dist/shell/assets/{use-workflow-page-jjK3t-vf.js → use-workflow-page-BMjBBt83.js} +2 -2
- package/dist/shell/assets/{use-workflow-types-CxeOmx1U.js → use-workflow-types-8ZRuZVuJ.js} +2 -2
- package/dist/shell/assets/{workflow-canvas-BgC2BoRd.js → workflow-canvas-DtTiaGIh.js} +4 -4
- package/dist/shell/assets/{workflow-field-DAk0UqrK.js → workflow-field-2I9HpR3s.js} +3 -3
- package/dist/shell/assets/{workflow-graph-editor-0KyZBj6R.js → workflow-graph-editor-DJoriSTb.js} +2 -2
- package/dist/shell/assets/{workflow-run-field-rlISvE35.js → workflow-run-field-BB6DMeK0.js} +3 -3
- package/dist/shell/assets/workflow-status-field-L_mimjzo.js +2 -0
- package/dist/shell/assets/workflow-workbench-PnPXVcoE.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-B_azef82.js.map → account-page-DOXkanFO.js.map} +1 -1
- package/dist/shell-source-maps/assets/app-B48LQpC1.js.map +1 -0
- package/dist/shell-source-maps/assets/{assistant-shell-BDKCWgs7.js.map → assistant-shell-Drpmyy7B.js.map} +1 -1
- package/dist/shell-source-maps/assets/{board-display-RfXJJ01f.js.map → board-display-D9PUmRbl.js.map} +1 -1
- package/dist/shell-source-maps/assets/{calendar-display-CWANjACC.js.map → calendar-display-B8J8DI5J.js.map} +1 -1
- package/dist/shell-source-maps/assets/{call-rings-ClQinnwb.js.map → call-rings-C7f5skja.js.map} +1 -1
- package/dist/shell-source-maps/assets/{calls-s6XuZsjs.js.map → calls-Ca2RAgzS.js.map} +1 -1
- package/dist/shell-source-maps/assets/{circle-alert-CCchwpE2.js.map → circle-alert-B5-CtUEU.js.map} +1 -1
- package/dist/shell-source-maps/assets/{composed-page-Cj-OwCZB.js.map → composed-page-BMYkHKrZ.js.map} +1 -1
- package/dist/shell-source-maps/assets/{composer-section-BWJgscVY.js.map → composer-section-CHUNzdVu.js.map} +1 -1
- package/dist/shell-source-maps/assets/{connect-route-DpM6_5A-.js.map → connect-route-B_u1trIm.js.map} +1 -1
- package/dist/shell-source-maps/assets/{copy-field-DJZYMDoO.js.map → copy-field-9SzlccPw.js.map} +1 -1
- package/dist/shell-source-maps/assets/{create-route-CQeYkXaB.js.map → create-route-rbublA-_.js.map} +1 -1
- package/dist/shell-source-maps/assets/{custom-step-container-field-B0SWYcOK.js.map → custom-step-container-field-BqLAbXaI.js.map} +1 -1
- package/dist/shell-source-maps/assets/{embedded-list-CQ7VmI-J.js.map → embedded-list-CdFZ5TIe.js.map} +1 -1
- package/dist/shell-source-maps/assets/en-wsBk87ZG.js.map +1 -0
- package/dist/shell-source-maps/assets/{export-dialog-DOtYGy3R.js.map → export-dialog-DG5H_BHu.js.map} +1 -1
- package/dist/shell-source-maps/assets/{export-worker-CHLq663S.js.map → export-worker-CQwKM8Oc.js.map} +1 -1
- package/dist/shell-source-maps/assets/{graph-view-G-uTEd7F.js.map → graph-view-DFeWGm5G.js.map} +1 -1
- package/dist/shell-source-maps/assets/{group-donut-C_BThKYK.js.map → group-donut-D9vSqco5.js.map} +1 -1
- package/dist/shell-source-maps/assets/{guest-call-page-CUucHFn7.js.map → guest-call-page-DIEo-q93.js.map} +1 -1
- package/dist/shell-source-maps/assets/{html-viewer-CxMoymHe.js.map → html-viewer-F2craD8b.js.map} +1 -1
- package/dist/shell-source-maps/assets/{import-dialog-DJdNJeuD.js.map → import-dialog-C6QghYOc.js.map} +1 -1
- package/dist/shell-source-maps/assets/{import-table-dialog-vxHtntUq.js.map → import-table-dialog-BzpzE7wd.js.map} +1 -1
- package/dist/shell-source-maps/assets/{invitations-page-a0oQdGxB.js.map → invitations-page-nBjy3DSn.js.map} +1 -1
- package/dist/shell-source-maps/assets/{layout-grid-IQchsfWp.js.map → layout-grid-XTZwSFbV.js.map} +1 -1
- package/dist/shell-source-maps/assets/{legend-item-BlI2FIuO.js.map → legend-item-BoeI6b5Y.js.map} +1 -1
- package/dist/shell-source-maps/assets/list-page-C7h-_WJY.js.map +1 -0
- package/dist/shell-source-maps/assets/{maplibre-BNosce4R.js.map → maplibre-CLloBp_X.js.map} +1 -1
- package/dist/shell-source-maps/assets/{markdown-content-C_-l2O5-.js.map → markdown-content-CEV942Pa.js.map} +1 -1
- package/dist/shell-source-maps/assets/{members-page-Bm3GFEhM.js.map → members-page-D1uMhOZR.js.map} +1 -1
- package/dist/shell-source-maps/assets/{messages-DAlS_OLf.js.map → messages-lXPHUGLV.js.map} +1 -1
- package/dist/shell-source-maps/assets/nl-nieWXCy1.js.map +1 -0
- package/dist/shell-source-maps/assets/{organization-page-BbzBkLeU.js.map → organization-page-RMZnMPR0.js.map} +1 -1
- package/dist/shell-source-maps/assets/{organizations-page-BkarXyu5.js.map → organizations-page-Ce6Nwl7X.js.map} +1 -1
- package/dist/shell-source-maps/assets/parse-worker-BN8cVWIa.js.map +1 -0
- package/dist/shell-source-maps/assets/{pending-invitation-row-nDslRIg_.js.map → pending-invitation-row-T-_gptFs.js.map} +1 -1
- package/dist/shell-source-maps/assets/{period-chart-Dbykq15D.js.map → period-chart-BLA0qneK.js.map} +1 -1
- package/dist/shell-source-maps/assets/{person-row-RUXD4Z6I.js.map → person-row-CB2jyi4a.js.map} +1 -1
- package/dist/shell-source-maps/assets/{public-form-page-CI1ghnwR.js.map → public-form-page-CvtOJGMY.js.map} +1 -1
- package/dist/shell-source-maps/assets/{record-lines-sVjQkysF.js.map → record-lines-C-s6d1b-.js.map} +1 -1
- package/dist/shell-source-maps/assets/{record-map-SrorcD8G.js.map → record-map-1LgfFbVl.js.map} +1 -1
- package/dist/shell-source-maps/assets/{record-opens-BkQP4ve9.js.map → record-opens-DayPkcEp.js.map} +1 -1
- package/dist/shell-source-maps/assets/{record-page-CA2bmhxx.js.map → record-page-BMFIEvdR.js.map} +1 -1
- package/dist/shell-source-maps/assets/{record-preview-C8xkvcPt.js.map → record-preview-DYLddBgR.js.map} +1 -1
- package/dist/shell-source-maps/assets/{records-map-DgQ3MJFS.js.map → records-map-Dbzp06m5.js.map} +1 -1
- package/dist/shell-source-maps/assets/{render-node-eKuGRuq5.js.map → render-node-DEeBoZ9i.js.map} +1 -1
- package/dist/shell-source-maps/assets/{reorder-button-DFrAk-Xc.js.map → reorder-button-BauUDONv.js.map} +1 -1
- package/dist/shell-source-maps/assets/{run-trace-view-C2MAxHm8.js.map → run-trace-view-C7Fa31YF.js.map} +1 -1
- package/dist/shell-source-maps/assets/{runner-install-field-BYzWk3Ye.js.map → runner-install-field-Bpj6cGb0.js.map} +1 -1
- package/dist/shell-source-maps/assets/{runtime-update-CVNAIIII.js.map → runtime-update-CZ31fRYM.js.map} +1 -1
- package/dist/shell-source-maps/assets/{sheet-source-BNfkNzNO.js.map → sheet-source-CpQBUfMu.js.map} +1 -1
- package/dist/shell-source-maps/assets/{sign-in-policy-page-DqH94QZl.js.map → sign-in-policy-page-BumL1ZPK.js.map} +1 -1
- package/dist/shell-source-maps/assets/{start-block-queries-CAEd4yVp.js.map → start-block-queries-DYE83u9M.js.map} +1 -1
- package/dist/shell-source-maps/assets/{step-catalog-wasAn9L1.js.map → step-catalog-DAHY1jbn.js.map} +1 -1
- package/dist/shell-source-maps/assets/{step-panel-DDSMdJhn.js.map → step-panel-BNu4CT-a.js.map} +1 -1
- package/dist/shell-source-maps/assets/{timeline-display-CLcdY1TN.js.map → timeline-display-Dj7rfbX5.js.map} +1 -1
- package/dist/shell-source-maps/assets/{trash-Du1HjUvA.js.map → trash-DGtnZxzc.js.map} +1 -1
- package/dist/shell-source-maps/assets/{update-set-BQN3GDI3.js.map → update-set-DmSoOUGC.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-calendar-move-C8LZwkOo.js.map → use-calendar-move-r5AsNTri.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-display-rows-BWZ3ByZb.js.map → use-display-rows-QMseygYe.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-paged-search-DvGQocxR.js.map → use-paged-search-CI7t7XI0.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-run-trace-CNqw_HuX.js.map → use-run-trace-D0jDOrL8.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-workflow-page-jjK3t-vf.js.map → use-workflow-page-BMjBBt83.js.map} +1 -1
- package/dist/shell-source-maps/assets/{use-workflow-types-CxeOmx1U.js.map → use-workflow-types-8ZRuZVuJ.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-canvas-BgC2BoRd.js.map → workflow-canvas-DtTiaGIh.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-field-DAk0UqrK.js.map → workflow-field-2I9HpR3s.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-graph-editor-0KyZBj6R.js.map → workflow-graph-editor-DJoriSTb.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-run-field-rlISvE35.js.map → workflow-run-field-BB6DMeK0.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-status-field-jZ1pLRdt.js.map → workflow-status-field-L_mimjzo.js.map} +1 -1
- package/dist/shell-source-maps/assets/{workflow-workbench-CYjY4iZy.js.map → workflow-workbench-PnPXVcoE.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/board-display-RfXJJ01f.js +0 -2
- package/dist/shell/assets/call-rings-ClQinnwb.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/messages-DAlS_OLf.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/list-page-BXVd_Eq3.js.map +0 -1
- package/dist/shell-source-maps/assets/nl-Cyam8kgY.js.map +0 -1
- package/dist/shell-source-maps/assets/parse-worker-DI-FeZWV.js.map +0 -1
package/dist/app/list-chart.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PeriodChartModel } from "@protobase/schema";
|
|
2
2
|
//#region src/app/list-chart.d.ts
|
|
3
|
-
/** The view's chart, drawn from `:series` with the list's current filter. */
|
|
3
|
+
/** The view's chart, drawn from `:series` with the list's current filter; a series that failed to load shows as failed, never as an empty chart. */
|
|
4
4
|
export declare const ListChart: ({ resource, chart, title, filter }: {
|
|
5
5
|
resource: string;
|
|
6
6
|
chart: PeriodChartModel;
|
package/dist/app/list-chart.js
CHANGED
|
@@ -11,17 +11,18 @@ const periods = {
|
|
|
11
11
|
"1y": "last year",
|
|
12
12
|
all: "all time"
|
|
13
13
|
};
|
|
14
|
-
/** The view's chart, drawn from `:series` with the list's current filter. */
|
|
14
|
+
/** The view's chart, drawn from `:series` with the list's current filter; a series that failed to load shows as failed, never as an empty chart. */
|
|
15
15
|
const ListChart = ({ resource, chart, title, filter }) => {
|
|
16
16
|
const [granularity, setGranularity] = useState(chart.granularity === "week" ? "week" : "day");
|
|
17
17
|
const range = granularity === "week" ? "90d" : chart.range;
|
|
18
|
-
const
|
|
18
|
+
const series = useSeries(resource, {
|
|
19
19
|
field: chart.field,
|
|
20
20
|
range,
|
|
21
21
|
granularity,
|
|
22
22
|
filter,
|
|
23
23
|
timeZone: viewerZone()
|
|
24
|
-
})
|
|
24
|
+
});
|
|
25
|
+
const data = series.data?.points.map((point) => ({
|
|
25
26
|
at: Date.parse(`${point.bucket}Z`),
|
|
26
27
|
count: point.count
|
|
27
28
|
})) ?? [];
|
|
@@ -30,7 +31,8 @@ const ListChart = ({ resource, chart, title, filter }) => {
|
|
|
30
31
|
data,
|
|
31
32
|
granularity,
|
|
32
33
|
onGranularityChange: setGranularity,
|
|
33
|
-
periodLabel: granularity === "week" ? "last 12 weeks" : periods[range]
|
|
34
|
+
periodLabel: granularity === "week" ? "last 12 weeks" : periods[range],
|
|
35
|
+
state: series.isError ? "failed" : series.isPending ? "loading" : void 0
|
|
34
36
|
});
|
|
35
37
|
};
|
|
36
38
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/app/list-messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "sort" | "search" | "
|
|
5
|
-
rich(id: "sort" | "search" | "
|
|
4
|
+
(id: "sort" | "search" | "delete" | "clearSearch" | "filters" | "created" | "deleteCount" | "couldNotLoadRows" | "export" | "noneYet" | "unreadableFilter" | "searchPlural" | "noList" | "filtersCount" | "newRecord" | "openRecord" | "exportCount" | "actionCount" | "dragToSort" | "noMatchSearch" | "noMatchFilters" | "noMatch" | "clearFilters", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "sort" | "search" | "delete" | "clearSearch" | "filters" | "created" | "deleteCount" | "couldNotLoadRows" | "export" | "noneYet" | "unreadableFilter" | "searchPlural" | "noList" | "filtersCount" | "newRecord" | "openRecord" | "exportCount" | "actionCount" | "dragToSort" | "noMatchSearch" | "noMatchFilters" | "noMatch" | "clearFilters", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
package/dist/app/messages.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/app/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "account" | "pages" | "open" | "replace" | "admin" | "reload" | "loading" | "cannotReach" | "tryAgain" | "noAnswer" | "menu" | "refreshing" | "noMatches" | "remove" | "assistant" | "leave" | "notFound" | "fileMissing" | "hr" | "average" | "show" | "noValue" | "noComponent" | "couldNotShow" | "noPage" | "new" | "hide" | "noResource" | "signInPolicy" | "somethingWentWrong" | "adminsOnly" | "onlyAdminPolicy" | "ownersOnly" | "onlyOwners" | "chooseResource" | "pickFromSidebar" | "nothingHere" | "pageNotLoaded" | "pageNotLoadedHelp" | "signOutQuestion" | "signOutHelp" | "signOutCancel" | "signOutConfirm" | "operationFailed" | "nothingSaved" | "loadingRecord" | "choose" | "chooseFileFor" | "notUploaded" | "uploadingLabel" | "uploading" | "dropFile" | "chooseFile" | "sales" | "crm" | "catalog" | "inventory" | "tables" | "searchPlural" | "couldNotLoadOptions" | "refreshFailedTitle" | "refreshFailedHelp" | "refreshRetry" | "refreshClose" | "refreshWhy" | "refreshFailed" | "leaveTitle" | "leaveDescription" | "leaveInputLost" | "stay" | "reloadTitle" | "reloadDraftKept" | "reloadInputLost" | "keepEditing" | "setNewValue" | "signInRefused" | "loadingFrom" | "restWorks" | "staffSession" | "staffSignedIn" | "stopStaffSession" | "openLabel" | "opensNewTab", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "account" | "pages" | "open" | "replace" | "admin" | "reload" | "loading" | "cannotReach" | "tryAgain" | "noAnswer" | "menu" | "refreshing" | "noMatches" | "remove" | "assistant" | "leave" | "notFound" | "fileMissing" | "hr" | "average" | "show" | "noValue" | "noComponent" | "couldNotShow" | "noPage" | "new" | "hide" | "noResource" | "signInPolicy" | "somethingWentWrong" | "adminsOnly" | "onlyAdminPolicy" | "ownersOnly" | "onlyOwners" | "chooseResource" | "pickFromSidebar" | "nothingHere" | "pageNotLoaded" | "pageNotLoadedHelp" | "signOutQuestion" | "signOutHelp" | "signOutCancel" | "signOutConfirm" | "operationFailed" | "nothingSaved" | "loadingRecord" | "choose" | "chooseFileFor" | "notUploaded" | "uploadingLabel" | "uploading" | "dropFile" | "chooseFile" | "sales" | "crm" | "catalog" | "inventory" | "tables" | "searchPlural" | "couldNotLoadOptions" | "refreshFailedTitle" | "refreshFailedHelp" | "refreshRetry" | "refreshClose" | "refreshWhy" | "refreshFailed" | "leaveTitle" | "leaveDescription" | "leaveInputLost" | "stay" | "reloadTitle" | "reloadDraftKept" | "reloadInputLost" | "keepEditing" | "setNewValue" | "signInRefused" | "loadingFrom" | "restWorks" | "staffSession" | "staffSignedIn" | "stopStaffSession" | "openLabel" | "opensNewTab", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/app/meta-gate-messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "loading" | "
|
|
5
|
-
rich(id: "loading" | "
|
|
4
|
+
(id: "loading" | "cannotReach" | "noAnswer", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "loading" | "cannotReach" | "noAnswer", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../../locale/messages.js";
|
|
2
2
|
//#region src/app/new-version/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "title" | "
|
|
5
|
-
rich(id: "title" | "
|
|
4
|
+
(id: "title" | "description" | "reload" | "reloadPage" | "reloadPageHint" | "bannerTitle" | "bannerLine", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "title" | "description" | "reload" | "reloadPage" | "reloadPageHint" | "bannerTitle" | "bannerLine", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -21,6 +21,6 @@ export declare class CustomBoundary extends Component<CustomBoundaryProps, {
|
|
|
21
21
|
};
|
|
22
22
|
componentDidCatch(error: unknown, info: ErrorInfo): void;
|
|
23
23
|
componentDidUpdate(previous: CustomBoundaryProps): void;
|
|
24
|
-
render(): string | number | bigint | boolean |
|
|
24
|
+
render(): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react").JSX.Element | null | undefined;
|
|
25
25
|
}
|
|
26
26
|
//#endregion
|
|
@@ -8,5 +8,5 @@ import { LayoutNode } from "@protobase/layout";
|
|
|
8
8
|
export declare const CustomChosen: ({ node, children }: {
|
|
9
9
|
node: LayoutNode;
|
|
10
10
|
children: ReactNode;
|
|
11
|
-
}) => string | number | bigint | boolean |
|
|
11
|
+
}) => string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react").JSX.Element | null | undefined;
|
|
12
12
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../../locale/messages.js";
|
|
2
2
|
//#region src/app/pages/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "number" | "create" | "
|
|
5
|
-
rich(id: "number" | "create" | "
|
|
4
|
+
(id: "number" | "create" | "required" | "saved" | "failed" | "tabs" | "couldNotLoad" | "save" | "cancel" | "couldNotDraw" | "notFound" | "nothingYet" | "done" | "notSaved" | "wholeNumber" | "somethingWrong" | "noComponent" | "settings" | "noPage" | "noTab" | "unknownBlock" | "needsRecord" | "cannotChange" | "cannotDelete" | "doesNotApply" | "noHandler" | "noInputComponent" | "doneOn" | "refusedOn" | "noAction" | "loadMore" | "timelineCut" | "couldNotCount" | "dateFormat" | "atMost" | "tickEvery" | "nothingToTick" | "forRecords" | "timelineRange" | "timelineNow" | "timelinePoint", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "number" | "create" | "required" | "saved" | "failed" | "tabs" | "couldNotLoad" | "save" | "cancel" | "couldNotDraw" | "notFound" | "nothingYet" | "done" | "notSaved" | "wholeNumber" | "somethingWrong" | "noComponent" | "settings" | "noPage" | "noTab" | "unknownBlock" | "needsRecord" | "cannotChange" | "cannotDelete" | "doesNotApply" | "noHandler" | "noInputComponent" | "doneOn" | "refusedOn" | "noAction" | "loadMore" | "timelineCut" | "couldNotCount" | "dateFormat" | "atMost" | "tickEvery" | "nothingToTick" | "forRecords" | "timelineRange" | "timelineNow" | "timelinePoint", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../../locale/messages.js";
|
|
2
2
|
//#region src/app/record-chart/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "maximum" | "couldNotLoad" | "day" | "hour" | "week" | "range" | "average" | "measure" | "noSamples", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "maximum" | "couldNotLoad" | "day" | "hour" | "week" | "range" | "average" | "measure" | "noSamples", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/app/record-messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "edit" | "delete" | "loading" | "fetching" | "saved" | "history" | "comments" | "couldNotLoad" | "save" | "cancel" | "couldNotSave" | "justNow" | "details" | "summary" | "nothingYet" | "notSaved" | "keep" | "discard" | "changedBySomeoneElse" | "lineNumber" | "noRecord" | "openingElsewhere" | "someoneElse" | "unsavedChanges" | "linesChanged" | "linesReloaded" | "unsavedKept" | "continueEditing" | "unsavedRestored" | "savingSubject" | "subjectSaved" | "recordActions" | "relatedRecords" | "lineField" | "tooManyLines", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "edit" | "delete" | "loading" | "fetching" | "saved" | "history" | "comments" | "couldNotLoad" | "save" | "cancel" | "couldNotSave" | "justNow" | "details" | "summary" | "nothingYet" | "notSaved" | "keep" | "discard" | "changedBySomeoneElse" | "lineNumber" | "noRecord" | "openingElsewhere" | "someoneElse" | "unsavedChanges" | "linesChanged" | "linesReloaded" | "unsavedKept" | "continueEditing" | "unsavedRestored" | "savingSubject" | "subjectSaved" | "recordActions" | "relatedRecords" | "lineField" | "tooManyLines", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CustomSectionModel, LayoutItemModel } from "@protobase/schema";
|
|
2
2
|
//#region src/app/record-mode/shown-layout.d.ts
|
|
3
|
-
export declare const whenOf: (item: LayoutItemModel) =>
|
|
3
|
+
export declare const whenOf: (item: LayoutItemModel) => (string & {}) | "always" | "editing" | "reading" | undefined;
|
|
4
4
|
/** The items with a record condition in `when`, those inside tabs, groups and fallbacks too, whose conditions the page evaluates: a group before its items. */
|
|
5
5
|
export declare const conditionalItems: (items: LayoutItemModel[]) => LayoutItemModel[];
|
|
6
6
|
/** A shown custom section: `fallbackAt` holds each shown fallback item's place in the whole fallback. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../../locale/messages.js";
|
|
2
2
|
//#region src/app/record-row/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "couldNotLoad" | "viewAll" | "noneMatch" | "new" | "couldNotLoadYour" | "noneYet", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "couldNotLoad" | "viewAll" | "noneMatch" | "new" | "couldNotLoadYour" | "noneYet", 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" | "couldNotLoad" | "
|
|
5
|
-
rich(id: "open" | "couldNotLoad" | "
|
|
4
|
+
(id: "open" | "couldNotLoad" | "showMore" | "left" | "nothingYet" | "showLess" | "add", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "open" | "couldNotLoad" | "showMore" | "left" | "nothingYet" | "showLess" | "add", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../../locale/messages.js";
|
|
2
2
|
//#region src/app/runtime/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "update" | "failed" | "close" | "immediate" | "weekly" | "scheduled" | "manual" | "job" | "build" | "updatingNow" | "started" | "nextOn" | "succeeded" | "unchanged" | "alreadyLatest" | "onlyAdmin" | "couldNotStart" | "runtimeUpdate" | "updating" | "updateNow" | "currentVersion" | "latestVersion" | "checkFailed" | "updateAvailable", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "update" | "failed" | "close" | "immediate" | "weekly" | "scheduled" | "manual" | "job" | "build" | "updatingNow" | "started" | "nextOn" | "succeeded" | "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
|
|
@@ -15,5 +15,5 @@ type SavedListProps = {
|
|
|
15
15
|
* The list page of a view with `listOf`: the records the user's saved ones point at, in their own resource's list, once
|
|
16
16
|
* the saved ones have loaded; until then, or when there are none, the page says so under the view's title.
|
|
17
17
|
*/
|
|
18
|
-
export declare const SavedList: ({ model, view, target, children }: SavedListProps) => string | number | bigint | boolean |
|
|
18
|
+
export declare const SavedList: ({ model, view, target, children }: SavedListProps) => string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react").JSX.Element | null | undefined;
|
|
19
19
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../../locale/messages.js";
|
|
2
2
|
//#region src/app/searches/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "changed" | "optional" | "update" | "saved" | "more" | "viewAll" | "save" | "cancel" | "couldNotSave" | "filters" | "removed" | "notFound" | "deleteTitle" | "on" | "off" | "noPlural" | "somethingWrong" | "noneMatch" | "firstOf" | "couldNotChange" | "couldNotLoadYour" | "noneYet" | "couldNotTakeOff" | "saveSearch" | "saveAsNew" | "updateName" | "updateNameQuestion" | "updateNounQuestion" | "couldNotRename" | "renameTitle" | "unreadableFilter" | "noResource" | "noSavedYet" | "asMany" | "fewer" | "added" | "filterChanges" | "addedRemoved" | "noRecordsDiff" | "searchSaved" | "openPlural" | "searchUpdated" | "couldNotUpdate" | "noNew", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "changed" | "optional" | "update" | "saved" | "more" | "viewAll" | "save" | "cancel" | "couldNotSave" | "filters" | "removed" | "notFound" | "deleteTitle" | "on" | "off" | "noPlural" | "somethingWrong" | "noneMatch" | "firstOf" | "couldNotChange" | "couldNotLoadYour" | "noneYet" | "couldNotTakeOff" | "saveSearch" | "saveAsNew" | "updateName" | "updateNameQuestion" | "updateNounQuestion" | "couldNotRename" | "renameTitle" | "unreadableFilter" | "noResource" | "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
|
|
@@ -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: "signIn" | "
|
|
5
|
-
rich(id: "signIn" | "
|
|
4
|
+
(id: "signIn" | "organizations" | "roles" | "resources" | "search" | "signOut" | "system" | "loading" | "theme" | "breadcrumb" | "tabs" | "navigation" | "more" | "openNavigation" | "backTo" | "closeSearch" | "clearSearch" | "globalSearch" | "searchResults" | "searching" | "noMatches" | "accountOf" | "profileMenu" | "light" | "dark" | "recent" | "couldNotLoad" | "viewAll" | "couldNotSearch", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "signIn" | "organizations" | "roles" | "resources" | "search" | "signOut" | "system" | "loading" | "theme" | "breadcrumb" | "tabs" | "navigation" | "more" | "openNavigation" | "backTo" | "closeSearch" | "clearSearch" | "globalSearch" | "searchResults" | "searching" | "noMatches" | "accountOf" | "profileMenu" | "light" | "dark" | "recent" | "couldNotLoad" | "viewAll" | "couldNotSearch", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/assistant-dock/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "noAnswer" | "askQuestion" | "assistant" | "reconnecting" | "empty" | "backendNoAnswer" | "couldNotDraw" | "cannotShowLive", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "noAnswer" | "askQuestion" | "assistant" | "reconnecting" | "empty" | "backendNoAnswer" | "couldNotDraw" | "cannotShowLive", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
package/dist/auth/messages.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/auth/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "signIn" | "or" | "tooManyRequests" | "code" | "signOut" | "setPassword" | "email" | "password" | "newPassword" | "verify" | "admin" | "reload" | "loading" | "cannotReach" | "tryAgain" | "passwordChanged" | "noAnswer" | "backupCode" | "passwordOptional" | "continue" | "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" | "yourName" | "codeWasRight" | "withoutPassword" | "createAccount" | "codeToConfirm" | "emailCode" | "browseWithoutAccount" | "staffTitle" | "staffUnavailable" | "signInAsPerson" | "forStaffOf" | "theirEmail" | "reason" | "reasonExample" | "staffExplanation" | "totpInstruction" | "otpInstruction" | "backupInstruction" | "twoFactorTitle" | "twoFactorDescription" | "codeToFinish" | "trustBrowser" | "trustBrowserFor" | "useAuthenticator" | "emailCodeInstead" | "useBackupCode", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "signIn" | "or" | "tooManyRequests" | "code" | "signOut" | "setPassword" | "email" | "password" | "newPassword" | "verify" | "admin" | "reload" | "loading" | "cannotReach" | "tryAgain" | "passwordChanged" | "noAnswer" | "backupCode" | "passwordOptional" | "continue" | "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" | "yourName" | "codeWasRight" | "withoutPassword" | "createAccount" | "codeToConfirm" | "emailCode" | "browseWithoutAccount" | "staffTitle" | "staffUnavailable" | "signInAsPerson" | "forStaffOf" | "theirEmail" | "reason" | "reasonExample" | "staffExplanation" | "totpInstruction" | "otpInstruction" | "backupInstruction" | "twoFactorTitle" | "twoFactorDescription" | "codeToFinish" | "trustBrowser" | "trustBrowserFor" | "useAuthenticator" | "emailCodeInstead" | "useBackupCode", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
package/dist/calls/messages.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/calls/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "waiting" | "you" | "join" | "revoke" | "accept" | "full" | "continue" | "yourName" | "remove" | "reconnecting" | "leave" | "camera" | "microphone" | "decline" | "startCall" | "inProgress" | "people" | "joinCall" | "shareScreen" | "stopSharing" | "muted" | "alone" | "connecting" | "removed" | "ended" | "refused" | "unavailable" | "callAgain" | "noMicrophone" | "noCamera" | "noDevices" | "cannotConnect" | "poorConnection" | "goodConnection" | "sharing" | "youAreSharing" | "speaking" | "preview" | "guestName" | "denied" | "askToJoin" | "someone" | "guests" | "waitingGuest" | "admit" | "deny" | "newLink" | "copyLink" | "copied" | "guestLinks" | "noLinks" | "inLobby" | "guestsInCall" | "guestsMaySend" | "sendAll" | "sendCamera" | "sendMicrophone" | "linkUntil" | "linkUntilEnd" | "linkLasts" | "forAnHour" | "addressesVisible" | "guestRefused" | "close" | "guestIntro" | "youLeft", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "waiting" | "you" | "join" | "revoke" | "accept" | "full" | "continue" | "yourName" | "remove" | "reconnecting" | "leave" | "camera" | "microphone" | "decline" | "startCall" | "inProgress" | "people" | "joinCall" | "shareScreen" | "stopSharing" | "muted" | "alone" | "connecting" | "removed" | "ended" | "refused" | "unavailable" | "callAgain" | "noMicrophone" | "noCamera" | "noDevices" | "cannotConnect" | "poorConnection" | "goodConnection" | "sharing" | "youAreSharing" | "speaking" | "preview" | "guestName" | "denied" | "askToJoin" | "someone" | "guests" | "waitingGuest" | "admit" | "deny" | "newLink" | "copyLink" | "copied" | "guestLinks" | "noLinks" | "inLobby" | "guestsInCall" | "guestsMaySend" | "sendAll" | "sendCamera" | "sendMicrophone" | "linkUntil" | "linkUntilEnd" | "linkLasts" | "forAnHour" | "addressesVisible" | "guestRefused" | "close" | "guestIntro" | "youLeft", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/carousel/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "previousPhoto" | "nextPhoto" | "photoOf", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "previousPhoto" | "nextPhoto" | "photoOf", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
package/dist/chat/messages.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/chat/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "message" | "send" | "today" | "yesterday" | "working" | "newMessages" | "loadEarlier", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "message" | "send" | "today" | "yesterday" | "working" | "newMessages" | "loadEarlier", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/compact-table/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "
|
|
5
|
-
rich(id: "
|
|
4
|
+
(id: "table" | "rows" | "noRows" | "cutOff", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "table" | "rows" | "noRows" | "cutOff", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { AggregateBatch, Client, Facet, Histogram, Series } from "@protobase/client";
|
|
2
|
+
//#region src/data/aggregate-loader.d.ts
|
|
3
|
+
type Batch = Required<AggregateBatch>;
|
|
4
|
+
/** The most reads of one kind a `:batchAggregates` request takes; a page that starts more sends another. */
|
|
5
|
+
export declare const batchReads = 100;
|
|
6
|
+
/**
|
|
7
|
+
* Gathers the facet, histogram and series reads started in the same task into one `client.batchAggregates` request per
|
|
8
|
+
* resource, so a list page's filters and chart cost one request, and the reads that share a filter one set of scans,
|
|
9
|
+
* rather than one request and one scan each. Each read resolves with its own answer; when the request fails, every read
|
|
10
|
+
* in it rejects with its error.
|
|
11
|
+
*/
|
|
12
|
+
export declare const aggregateLoader: (client: Client) => {
|
|
13
|
+
facets: (resource: string, field: string, options?: {
|
|
14
|
+
filter?: string;
|
|
15
|
+
limit?: number;
|
|
16
|
+
label?: string;
|
|
17
|
+
}) => Promise<Facet[]>;
|
|
18
|
+
histogram: (resource: string, field: string, options?: {
|
|
19
|
+
filter?: string;
|
|
20
|
+
buckets?: number;
|
|
21
|
+
}) => Promise<Histogram>;
|
|
22
|
+
series: (resource: string, params: Batch["series"][number]) => Promise<Series>;
|
|
23
|
+
};
|
|
24
|
+
export type AggregateLoader = ReturnType<typeof aggregateLoader>;
|
|
25
|
+
/** The loader that batches `client`'s aggregate reads. */
|
|
26
|
+
export declare const loaderOf: (client: Client) => {
|
|
27
|
+
facets: (resource: string, field: string, options?: {
|
|
28
|
+
filter?: string;
|
|
29
|
+
limit?: number;
|
|
30
|
+
label?: string;
|
|
31
|
+
}) => Promise<Facet[]>;
|
|
32
|
+
histogram: (resource: string, field: string, options?: {
|
|
33
|
+
filter?: string;
|
|
34
|
+
buckets?: number;
|
|
35
|
+
}) => Promise<Histogram>;
|
|
36
|
+
series: (resource: string, params: Batch["series"][number]) => Promise<Series>;
|
|
37
|
+
};
|
|
38
|
+
//#endregion
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
//#region src/data/aggregate-loader.ts
|
|
2
|
+
/** The most reads of one kind a `:batchAggregates` request takes; a page that starts more sends another. */
|
|
3
|
+
const batchReads = 100;
|
|
4
|
+
/**
|
|
5
|
+
* Gathers the facet, histogram and series reads started in the same task into one `client.batchAggregates` request per
|
|
6
|
+
* resource, so a list page's filters and chart cost one request, and the reads that share a filter one set of scans,
|
|
7
|
+
* rather than one request and one scan each. Each read resolves with its own answer; when the request fails, every read
|
|
8
|
+
* in it rejects with its error.
|
|
9
|
+
*/
|
|
10
|
+
const aggregateLoader = (client) => {
|
|
11
|
+
const open = /* @__PURE__ */ new Map();
|
|
12
|
+
const send = async (resource, { batch, waiting }) => {
|
|
13
|
+
const settled = await client.batchAggregates(resource, batch).then((result) => ({ result }), (error) => ({ error }));
|
|
14
|
+
for (const read of waiting) if ("error" in settled) read.reject(settled.error);
|
|
15
|
+
else read.resolve(settled.result[read.kind][read.index]);
|
|
16
|
+
};
|
|
17
|
+
const close = (resource, closing) => {
|
|
18
|
+
if (open.get(resource) !== closing) return;
|
|
19
|
+
open.delete(resource);
|
|
20
|
+
send(resource, closing);
|
|
21
|
+
};
|
|
22
|
+
const read = (resource, kind, request) => new Promise((resolve, reject) => {
|
|
23
|
+
const known = open.get(resource);
|
|
24
|
+
if (known && known.batch[kind].length >= 100) close(resource, known);
|
|
25
|
+
const current = open.get(resource) ?? {
|
|
26
|
+
batch: {
|
|
27
|
+
facets: [],
|
|
28
|
+
histograms: [],
|
|
29
|
+
series: []
|
|
30
|
+
},
|
|
31
|
+
waiting: []
|
|
32
|
+
};
|
|
33
|
+
if (!open.has(resource)) {
|
|
34
|
+
open.set(resource, current);
|
|
35
|
+
setTimeout(() => close(resource, current), 0);
|
|
36
|
+
}
|
|
37
|
+
const list = current.batch[kind];
|
|
38
|
+
list.push(request);
|
|
39
|
+
current.waiting.push({
|
|
40
|
+
kind,
|
|
41
|
+
index: list.length - 1,
|
|
42
|
+
resolve,
|
|
43
|
+
reject
|
|
44
|
+
});
|
|
45
|
+
});
|
|
46
|
+
return {
|
|
47
|
+
facets: (resource, field, options = {}) => read(resource, "facets", {
|
|
48
|
+
field,
|
|
49
|
+
...options
|
|
50
|
+
}),
|
|
51
|
+
histogram: (resource, field, options = {}) => read(resource, "histograms", {
|
|
52
|
+
field,
|
|
53
|
+
...options
|
|
54
|
+
}),
|
|
55
|
+
series: (resource, params) => read(resource, "series", params)
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
const loaders = /* @__PURE__ */ new WeakMap();
|
|
59
|
+
/** The loader that batches `client`'s aggregate reads. */
|
|
60
|
+
const loaderOf = (client) => {
|
|
61
|
+
const known = loaders.get(client);
|
|
62
|
+
if (known) return known;
|
|
63
|
+
const made = aggregateLoader(client);
|
|
64
|
+
loaders.set(client, made);
|
|
65
|
+
return made;
|
|
66
|
+
};
|
|
67
|
+
//#endregion
|
|
68
|
+
export { aggregateLoader, batchReads, loaderOf };
|
|
@@ -45,6 +45,7 @@ export declare const useClient: () => {
|
|
|
45
45
|
filter?: import("@protobase/client").FilterInput;
|
|
46
46
|
buckets?: number;
|
|
47
47
|
}) => Promise<import("@protobase/client").Histogram>;
|
|
48
|
+
batchAggregates: (resource: import("@protobase/client").ResourceRef, batch: import("@protobase/client").AggregateBatch) => Promise<import("@protobase/client").AggregateBatchResult>;
|
|
48
49
|
map: <R extends import("@protobase/client").ResourceRef>(resource: R, params: import("@protobase/client").MapParams) => Promise<import("@protobase/client").MapResult<import("@protobase/client").RecordOf<R>>>;
|
|
49
50
|
seek: <R extends import("@protobase/client").ResourceRef>(resource: R, params: import("@protobase/client").ListParams & {
|
|
50
51
|
position: number;
|
|
@@ -144,6 +145,7 @@ export declare const useResourceClient: (resource: string) => {
|
|
|
144
145
|
filter?: import("@protobase/client").FilterInput;
|
|
145
146
|
buckets?: number;
|
|
146
147
|
}) => Promise<import("@protobase/client").Histogram>;
|
|
148
|
+
batchAggregates: (resource: import("@protobase/client").ResourceRef, batch: import("@protobase/client").AggregateBatch) => Promise<import("@protobase/client").AggregateBatchResult>;
|
|
147
149
|
map: <R extends import("@protobase/client").ResourceRef>(resource: R, params: import("@protobase/client").MapParams) => Promise<import("@protobase/client").MapResult<import("@protobase/client").RecordOf<R>>>;
|
|
148
150
|
seek: <R extends import("@protobase/client").ResourceRef>(resource: R, params: import("@protobase/client").ListParams & {
|
|
149
151
|
position: number;
|
|
@@ -240,6 +242,7 @@ export declare const useResourceClients: () => (resource: string) => {
|
|
|
240
242
|
filter?: import("@protobase/client").FilterInput;
|
|
241
243
|
buckets?: number;
|
|
242
244
|
}) => Promise<import("@protobase/client").Histogram>;
|
|
245
|
+
batchAggregates: (resource: import("@protobase/client").ResourceRef, batch: import("@protobase/client").AggregateBatch) => Promise<import("@protobase/client").AggregateBatchResult>;
|
|
243
246
|
map: <R extends import("@protobase/client").ResourceRef>(resource: R, params: import("@protobase/client").MapParams) => Promise<import("@protobase/client").MapResult<import("@protobase/client").RecordOf<R>>>;
|
|
244
247
|
seek: <R extends import("@protobase/client").ResourceRef>(resource: R, params: import("@protobase/client").ListParams & {
|
|
245
248
|
position: number;
|
|
@@ -1,39 +1,40 @@
|
|
|
1
1
|
import { keys } from "./query-keys.js";
|
|
2
2
|
import { useClient } from "./api-provider.js";
|
|
3
|
+
import { loaderOf } from "./aggregate-loader.js";
|
|
3
4
|
import { filterText } from "@protobase/client";
|
|
4
5
|
import { useQueries, useQuery } from "@tanstack/react-query";
|
|
5
6
|
//#region src/data/use-aggregates.ts
|
|
6
7
|
const useFacets = (resource, field, filter, enabled = true) => {
|
|
7
|
-
const
|
|
8
|
+
const loader = loaderOf(useClient());
|
|
8
9
|
const text = filterText(filter) ?? "";
|
|
9
10
|
return useQuery({
|
|
10
11
|
queryKey: keys.facets(resource, field, text),
|
|
11
12
|
enabled,
|
|
12
|
-
queryFn: () =>
|
|
13
|
+
queryFn: () => loader.facets(resource, field, {
|
|
13
14
|
filter: text,
|
|
14
15
|
limit: 50
|
|
15
16
|
})
|
|
16
17
|
});
|
|
17
18
|
};
|
|
18
19
|
const useSeries = (resource, params, enabled = true) => {
|
|
19
|
-
const
|
|
20
|
+
const loader = loaderOf(useClient());
|
|
20
21
|
const text = filterText(params.filter) ?? "";
|
|
21
22
|
return useQuery({
|
|
22
23
|
queryKey: keys.series(resource, params.field, `${params.range ?? ""}${params.from ?? ""}${params.to ?? ""}`, params.granularity ?? "", text),
|
|
23
24
|
enabled,
|
|
24
|
-
queryFn: () =>
|
|
25
|
+
queryFn: () => loader.series(resource, {
|
|
25
26
|
...params,
|
|
26
27
|
filter: text
|
|
27
28
|
})
|
|
28
29
|
});
|
|
29
30
|
};
|
|
30
31
|
const useHistogram = (resource, field, filter, buckets = 20, enabled = true) => {
|
|
31
|
-
const
|
|
32
|
+
const loader = loaderOf(useClient());
|
|
32
33
|
const text = filterText(filter) ?? "";
|
|
33
34
|
return useQuery({
|
|
34
35
|
queryKey: keys.histogram(resource, field, buckets, text),
|
|
35
36
|
enabled,
|
|
36
|
-
queryFn: () =>
|
|
37
|
+
queryFn: () => loader.histogram(resource, field, {
|
|
37
38
|
filter: text,
|
|
38
39
|
buckets
|
|
39
40
|
})
|
|
@@ -62,5 +62,5 @@ export type ColumnSpec = {
|
|
|
62
62
|
/** Drawn under the cell's content, outside the link a title cell is; every row of the grid grows to hold it. */
|
|
63
63
|
below?: (row: GridRow) => ReactNode;
|
|
64
64
|
};
|
|
65
|
-
export declare const isRightAligned: (kind: ColumnKind) => kind is "number" | "
|
|
65
|
+
export declare const isRightAligned: (kind: ColumnKind) => kind is "number" | "percent" | "signed" | "money";
|
|
66
66
|
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MessageValue } from "../locale/messages.js";
|
|
2
2
|
//#region src/data-grid/messages.d.ts
|
|
3
3
|
export declare const text: {
|
|
4
|
-
(id: "row" | "
|
|
5
|
-
rich(id: "row" | "
|
|
4
|
+
(id: "row" | "selected" | "pickedUp" | "cancelled" | "no" | "shownIn" | "isOver" | "putBack" | "new" | "unpin" | "move" | "unsortable" | "columnMenu" | "pinToLeft" | "resizeColumn" | "clearSelection" | "noRowsSelected" | "selectRow" | "rowActions" | "reorderInstructions" | "droppedAt", values?: Record<string, MessageValue>): string;
|
|
5
|
+
rich(id: "row" | "selected" | "pickedUp" | "cancelled" | "no" | "shownIn" | "isOver" | "putBack" | "new" | "unpin" | "move" | "unsortable" | "columnMenu" | "pinToLeft" | "resizeColumn" | "clearSelection" | "noRowsSelected" | "selectRow" | "rowActions" | "reorderInstructions" | "droppedAt", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|