@protobase/ui 0.117.6 → 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.
Files changed (260) hide show
  1. package/dist/account/messages.d.ts +2 -2
  2. package/dist/activity-chart/activity-chart.d.ts +3 -1
  3. package/dist/activity-chart/activity-chart.js +21 -14
  4. package/dist/activity-chart/messages.d.ts +2 -2
  5. package/dist/app/charts/messages.d.ts +2 -2
  6. package/dist/app/comments/messages.d.ts +2 -2
  7. package/dist/app/confirm-sign-in-messages.d.ts +2 -2
  8. package/dist/app/conversation/thread-state.d.ts +1 -1
  9. package/dist/app/create/messages.d.ts +2 -2
  10. package/dist/app/delete/messages.d.ts +2 -2
  11. package/dist/app/displays/messages.d.ts +2 -2
  12. package/dist/app/export/messages.d.ts +2 -2
  13. package/dist/app/field-messages.d.ts +2 -2
  14. package/dist/app/field-types/custom-step-container/messages.d.ts +2 -2
  15. package/dist/app/field-types/json/messages.d.ts +2 -2
  16. package/dist/app/field-types/runner-install/messages.d.ts +2 -2
  17. package/dist/app/field-types/workflow/messages.d.ts +2 -2
  18. package/dist/app/field-types/workflow-page/messages.d.ts +2 -2
  19. package/dist/app/field-types/workflow-run/messages.d.ts +2 -2
  20. package/dist/app/field-types/workflow-status/messages.d.ts +2 -2
  21. package/dist/app/file-viewers/messages.d.ts +2 -2
  22. package/dist/app/focus/messages.d.ts +2 -2
  23. package/dist/app/gallery/gallery-layout.d.ts +2 -2
  24. package/dist/app/gallery/messages.d.ts +2 -2
  25. package/dist/app/hand-order/messages.d.ts +2 -2
  26. package/dist/app/history/messages.d.ts +2 -2
  27. package/dist/app/import/messages.d.ts +2 -2
  28. package/dist/app/list-chart.d.ts +1 -1
  29. package/dist/app/list-chart.js +6 -4
  30. package/dist/app/list-messages.d.ts +2 -2
  31. package/dist/app/messages.d.ts +2 -2
  32. package/dist/app/pages/messages.d.ts +2 -2
  33. package/dist/app/record-chart/messages.d.ts +2 -2
  34. package/dist/app/record-messages.d.ts +2 -2
  35. package/dist/app/record-mode/shown-layout.d.ts +1 -1
  36. package/dist/app/record-row/messages.d.ts +2 -2
  37. package/dist/app/related-cards/messages.d.ts +2 -2
  38. package/dist/app/runtime/messages.d.ts +2 -2
  39. package/dist/app/saved/messages.d.ts +2 -2
  40. package/dist/app/searches/messages.d.ts +2 -2
  41. package/dist/app-shell/messages.d.ts +2 -2
  42. package/dist/auth/messages.d.ts +2 -2
  43. package/dist/calls/messages.d.ts +2 -2
  44. package/dist/carousel/messages.d.ts +2 -2
  45. package/dist/chat/messages.d.ts +2 -2
  46. package/dist/data/aggregate-loader.d.ts +38 -0
  47. package/dist/data/aggregate-loader.js +68 -0
  48. package/dist/data/api-provider.d.ts +3 -0
  49. package/dist/data/use-aggregates.js +7 -6
  50. package/dist/data-grid/column-spec.d.ts +1 -1
  51. package/dist/data-grid/messages.d.ts +2 -2
  52. package/dist/filter-panel/facet-combobox.js +38 -31
  53. package/dist/filter-panel/facet-group.js +5 -1
  54. package/dist/filter-panel/filter-config.d.ts +4 -0
  55. package/dist/filter-panel/messages.d.ts +2 -2
  56. package/dist/filter-panel/range-filter.js +4 -0
  57. package/dist/format/messages.d.ts +2 -2
  58. package/dist/forms/messages.d.ts +2 -2
  59. package/dist/inline-child-table/messages.d.ts +2 -2
  60. package/dist/invitations/messages.d.ts +2 -2
  61. package/dist/live/use-filter-config.d.ts +3 -2
  62. package/dist/live/use-filter-config.js +31 -8
  63. package/dist/locale/en.js +4 -2
  64. package/dist/locale/en.json.d.ts +2 -0
  65. package/dist/locale/messages.d.ts +4 -0
  66. package/dist/locale/nl.js +4 -2
  67. package/dist/mailbox/messages.d.ts +2 -2
  68. package/dist/mocks/invoices.d.ts +1 -1
  69. package/dist/mocks/orders.d.ts +1 -1
  70. package/dist/mocks/stockMoves.d.ts +1 -1
  71. package/dist/notifications/bell/messages.d.ts +2 -2
  72. package/dist/organizations/messages.d.ts +2 -2
  73. package/dist/package.js +1 -1
  74. package/dist/plugins/messages.d.ts +2 -2
  75. package/dist/primitives/messages.d.ts +2 -2
  76. package/dist/record-view/messages.d.ts +2 -2
  77. package/dist/shell/assets/{account-page-Bqb6zGSu.js → account-page-DOXkanFO.js} +2 -2
  78. package/dist/shell/assets/{app-DzYUvsKN.js → app-B48LQpC1.js} +11 -11
  79. package/dist/shell/assets/{assistant-shell-DOwiIEWE.js → assistant-shell-Drpmyy7B.js} +2 -2
  80. package/dist/shell/assets/board-display-D9PUmRbl.js +2 -0
  81. package/dist/shell/assets/{calendar-display-CigAD33q.js → calendar-display-B8J8DI5J.js} +2 -2
  82. package/dist/shell/assets/call-rings-C7f5skja.js +2 -0
  83. package/dist/shell/assets/{calls-D7-msX2f.js → calls-Ca2RAgzS.js} +2 -2
  84. package/dist/shell/assets/{circle-alert-BBrhHhh-.js → circle-alert-B5-CtUEU.js} +2 -2
  85. package/dist/shell/assets/{composed-page-CnajGi9M.js → composed-page-BMYkHKrZ.js} +2 -2
  86. package/dist/shell/assets/{composer-section-CEiUZctQ.js → composer-section-CHUNzdVu.js} +2 -2
  87. package/dist/shell/assets/{connect-route-B1pwUNo5.js → connect-route-B_u1trIm.js} +2 -2
  88. package/dist/shell/assets/{copy-field-DSicODbK.js → copy-field-9SzlccPw.js} +2 -2
  89. package/dist/shell/assets/create-route-rbublA-_.js +2 -0
  90. package/dist/shell/assets/{custom-step-container-field-DGBCh3aW.js → custom-step-container-field-BqLAbXaI.js} +4 -4
  91. package/dist/shell/assets/embedded-list-CdFZ5TIe.js +3 -0
  92. package/dist/shell/assets/en-wsBk87ZG.js +2 -0
  93. package/dist/shell/assets/{export-dialog-C7aFNN_I.js → export-dialog-DG5H_BHu.js} +2 -2
  94. package/dist/shell/assets/export-worker-CQwKM8Oc.js +15 -0
  95. package/dist/shell/assets/{graph-view-DIEwXkMm.js → graph-view-DFeWGm5G.js} +2 -2
  96. package/dist/shell/assets/{group-donut-No1GKRrh.js → group-donut-D9vSqco5.js} +2 -2
  97. package/dist/shell/assets/{guest-call-page-C0GElAN6.js → guest-call-page-DIEo-q93.js} +3 -3
  98. package/dist/shell/assets/{html-viewer-C3HC5LlC.js → html-viewer-F2craD8b.js} +2 -2
  99. package/dist/shell/assets/{import-dialog-e6K5QITR.js → import-dialog-C6QghYOc.js} +2 -2
  100. package/dist/shell/assets/import-table-dialog-BzpzE7wd.js +2 -0
  101. package/dist/shell/assets/{index-B_wfA6Kh.js → index-lcg5mDSu.js} +1 -1
  102. package/dist/shell/assets/invitations-page-nBjy3DSn.js +2 -0
  103. package/dist/shell/assets/{layout-grid-hthVLoXp.js → layout-grid-XTZwSFbV.js} +2 -2
  104. package/dist/shell/assets/{legend-item-D545faKl.js → legend-item-BoeI6b5Y.js} +2 -2
  105. package/dist/shell/assets/list-page-C7h-_WJY.js +4 -0
  106. package/dist/shell/assets/{maplibre-BlAV3xhB.js → maplibre-CLloBp_X.js} +2 -2
  107. package/dist/shell/assets/{markdown-content-D5FzgqvR.js → markdown-content-CEV942Pa.js} +2 -2
  108. package/dist/shell/assets/members-page-D1uMhOZR.js +2 -0
  109. package/dist/shell/assets/messages-lXPHUGLV.js +2 -0
  110. package/dist/shell/assets/nl-nieWXCy1.js +2 -0
  111. package/dist/shell/assets/organization-page-RMZnMPR0.js +2 -0
  112. package/dist/shell/assets/organizations-page-Ce6Nwl7X.js +2 -0
  113. package/dist/shell/assets/parse-worker-BN8cVWIa.js +35 -0
  114. package/dist/shell/assets/{pending-invitation-row-kfzdAW1e.js → pending-invitation-row-T-_gptFs.js} +2 -2
  115. package/dist/shell/assets/{period-chart-CaH4lnzr.js → period-chart-BLA0qneK.js} +2 -2
  116. package/dist/shell/assets/{person-row-CR5zNgI0.js → person-row-CB2jyi4a.js} +2 -2
  117. package/dist/shell/assets/public-form-page-CvtOJGMY.js +2 -0
  118. package/dist/shell/assets/record-lines-C-s6d1b-.js +2 -0
  119. package/dist/shell/assets/{record-map-Bgjc6l6v.js → record-map-1LgfFbVl.js} +2 -2
  120. package/dist/shell/assets/{record-opens-BDYrsPg7.js → record-opens-DayPkcEp.js} +2 -2
  121. package/dist/shell/assets/record-page-BMFIEvdR.js +3 -0
  122. package/dist/shell/assets/{record-preview-D69nznsk.js → record-preview-DYLddBgR.js} +2 -2
  123. package/dist/shell/assets/{records-map-Cjs4-0-T.js → records-map-Dbzp06m5.js} +2 -2
  124. package/dist/shell/assets/render-node-DEeBoZ9i.js +3 -0
  125. package/dist/shell/assets/reorder-button-BauUDONv.js +2 -0
  126. package/dist/shell/assets/{run-trace-view-CZkpU6FK.js → run-trace-view-C7Fa31YF.js} +2 -2
  127. package/dist/shell/assets/{runner-install-field-Bg2frYus.js → runner-install-field-Bpj6cGb0.js} +2 -2
  128. package/dist/shell/assets/{runtime-update-bb8Mych_.js → runtime-update-CZ31fRYM.js} +2 -2
  129. package/dist/shell/assets/shared-protobase-ui-BGJ_UVNP.js +1 -0
  130. package/dist/shell/assets/{sheet-source-Cn2x0B7b.js → sheet-source-CpQBUfMu.js} +3 -3
  131. package/dist/shell/assets/sign-in-policy-page-BumL1ZPK.js +2 -0
  132. package/dist/shell/assets/start-block-queries-DYE83u9M.js +2 -0
  133. package/dist/shell/assets/step-catalog-DAHY1jbn.js +2 -0
  134. package/dist/shell/assets/{step-panel-BPHKL3JP.js → step-panel-BNu4CT-a.js} +2 -2
  135. package/dist/shell/assets/timeline-display-Dj7rfbX5.js +2 -0
  136. package/dist/shell/assets/{trash-DvIkRk0v.js → trash-DGtnZxzc.js} +2 -2
  137. package/dist/shell/assets/{update-set-C6scM9Py.js → update-set-DmSoOUGC.js} +2 -2
  138. package/dist/shell/assets/use-calendar-move-r5AsNTri.js +2 -0
  139. package/dist/shell/assets/{use-display-rows-9Pz57Zus.js → use-display-rows-QMseygYe.js} +2 -2
  140. package/dist/shell/assets/{use-paged-search-CHxoPbgl.js → use-paged-search-CI7t7XI0.js} +2 -2
  141. package/dist/shell/assets/{use-run-trace-DdUrSC__.js → use-run-trace-D0jDOrL8.js} +2 -2
  142. package/dist/shell/assets/{use-workflow-page-BqleruNg.js → use-workflow-page-BMjBBt83.js} +2 -2
  143. package/dist/shell/assets/{use-workflow-types-DUEWsZgC.js → use-workflow-types-8ZRuZVuJ.js} +2 -2
  144. package/dist/shell/assets/{workflow-canvas-cQ7U4Mgc.js → workflow-canvas-DtTiaGIh.js} +4 -4
  145. package/dist/shell/assets/{workflow-field-c0IiPQaY.js → workflow-field-2I9HpR3s.js} +3 -3
  146. package/dist/shell/assets/{workflow-graph-editor-BAwGZFkg.js → workflow-graph-editor-DJoriSTb.js} +2 -2
  147. package/dist/shell/assets/{workflow-run-field-Y49d5OnF.js → workflow-run-field-BB6DMeK0.js} +3 -3
  148. package/dist/shell/assets/workflow-status-field-L_mimjzo.js +2 -0
  149. package/dist/shell/assets/workflow-workbench-PnPXVcoE.js +4 -0
  150. package/dist/shell/index.html +3 -3
  151. package/dist/shell/protobase.shell.json +2 -2
  152. package/dist/shell/protobase.sw.js +2 -2
  153. package/dist/shell-source-maps/assets/{account-page-Bqb6zGSu.js.map → account-page-DOXkanFO.js.map} +1 -1
  154. package/dist/shell-source-maps/assets/app-B48LQpC1.js.map +1 -0
  155. package/dist/shell-source-maps/assets/{assistant-shell-DOwiIEWE.js.map → assistant-shell-Drpmyy7B.js.map} +1 -1
  156. package/dist/shell-source-maps/assets/{board-display-BmqzVMBI.js.map → board-display-D9PUmRbl.js.map} +1 -1
  157. package/dist/shell-source-maps/assets/{calendar-display-CigAD33q.js.map → calendar-display-B8J8DI5J.js.map} +1 -1
  158. package/dist/shell-source-maps/assets/{call-rings-CTIiSB__.js.map → call-rings-C7f5skja.js.map} +1 -1
  159. package/dist/shell-source-maps/assets/{calls-D7-msX2f.js.map → calls-Ca2RAgzS.js.map} +1 -1
  160. package/dist/shell-source-maps/assets/{circle-alert-BBrhHhh-.js.map → circle-alert-B5-CtUEU.js.map} +1 -1
  161. package/dist/shell-source-maps/assets/{composed-page-CnajGi9M.js.map → composed-page-BMYkHKrZ.js.map} +1 -1
  162. package/dist/shell-source-maps/assets/{composer-section-CEiUZctQ.js.map → composer-section-CHUNzdVu.js.map} +1 -1
  163. package/dist/shell-source-maps/assets/{connect-route-B1pwUNo5.js.map → connect-route-B_u1trIm.js.map} +1 -1
  164. package/dist/shell-source-maps/assets/{copy-field-DSicODbK.js.map → copy-field-9SzlccPw.js.map} +1 -1
  165. package/dist/shell-source-maps/assets/{create-route-IrF4K8-E.js.map → create-route-rbublA-_.js.map} +1 -1
  166. package/dist/shell-source-maps/assets/{custom-step-container-field-DGBCh3aW.js.map → custom-step-container-field-BqLAbXaI.js.map} +1 -1
  167. package/dist/shell-source-maps/assets/{embedded-list-y9Zllidc.js.map → embedded-list-CdFZ5TIe.js.map} +1 -1
  168. package/dist/shell-source-maps/assets/en-wsBk87ZG.js.map +1 -0
  169. package/dist/shell-source-maps/assets/{export-dialog-C7aFNN_I.js.map → export-dialog-DG5H_BHu.js.map} +1 -1
  170. package/dist/shell-source-maps/assets/{export-worker-CHLq663S.js.map → export-worker-CQwKM8Oc.js.map} +1 -1
  171. package/dist/shell-source-maps/assets/{graph-view-DIEwXkMm.js.map → graph-view-DFeWGm5G.js.map} +1 -1
  172. package/dist/shell-source-maps/assets/{group-donut-No1GKRrh.js.map → group-donut-D9vSqco5.js.map} +1 -1
  173. package/dist/shell-source-maps/assets/{guest-call-page-C0GElAN6.js.map → guest-call-page-DIEo-q93.js.map} +1 -1
  174. package/dist/shell-source-maps/assets/{html-viewer-C3HC5LlC.js.map → html-viewer-F2craD8b.js.map} +1 -1
  175. package/dist/shell-source-maps/assets/{import-dialog-e6K5QITR.js.map → import-dialog-C6QghYOc.js.map} +1 -1
  176. package/dist/shell-source-maps/assets/{import-table-dialog-BGu9aIO6.js.map → import-table-dialog-BzpzE7wd.js.map} +1 -1
  177. package/dist/shell-source-maps/assets/{invitations-page-Dc_YyiPd.js.map → invitations-page-nBjy3DSn.js.map} +1 -1
  178. package/dist/shell-source-maps/assets/{layout-grid-hthVLoXp.js.map → layout-grid-XTZwSFbV.js.map} +1 -1
  179. package/dist/shell-source-maps/assets/{legend-item-D545faKl.js.map → legend-item-BoeI6b5Y.js.map} +1 -1
  180. package/dist/shell-source-maps/assets/list-page-C7h-_WJY.js.map +1 -0
  181. package/dist/shell-source-maps/assets/{maplibre-BlAV3xhB.js.map → maplibre-CLloBp_X.js.map} +1 -1
  182. package/dist/shell-source-maps/assets/{markdown-content-D5FzgqvR.js.map → markdown-content-CEV942Pa.js.map} +1 -1
  183. package/dist/shell-source-maps/assets/{members-page-BacI69K5.js.map → members-page-D1uMhOZR.js.map} +1 -1
  184. package/dist/shell-source-maps/assets/{messages-xzaxaGR2.js.map → messages-lXPHUGLV.js.map} +1 -1
  185. package/dist/shell-source-maps/assets/nl-nieWXCy1.js.map +1 -0
  186. package/dist/shell-source-maps/assets/{organization-page-DdeKAkoY.js.map → organization-page-RMZnMPR0.js.map} +1 -1
  187. package/dist/shell-source-maps/assets/{organizations-page-CIm5yo6I.js.map → organizations-page-Ce6Nwl7X.js.map} +1 -1
  188. package/dist/shell-source-maps/assets/parse-worker-BN8cVWIa.js.map +1 -0
  189. package/dist/shell-source-maps/assets/{pending-invitation-row-kfzdAW1e.js.map → pending-invitation-row-T-_gptFs.js.map} +1 -1
  190. package/dist/shell-source-maps/assets/{period-chart-CaH4lnzr.js.map → period-chart-BLA0qneK.js.map} +1 -1
  191. package/dist/shell-source-maps/assets/{person-row-CR5zNgI0.js.map → person-row-CB2jyi4a.js.map} +1 -1
  192. package/dist/shell-source-maps/assets/{public-form-page-DMT_-q3R.js.map → public-form-page-CvtOJGMY.js.map} +1 -1
  193. package/dist/shell-source-maps/assets/{record-lines-BbEMwyZz.js.map → record-lines-C-s6d1b-.js.map} +1 -1
  194. package/dist/shell-source-maps/assets/{record-map-Bgjc6l6v.js.map → record-map-1LgfFbVl.js.map} +1 -1
  195. package/dist/shell-source-maps/assets/{record-opens-BDYrsPg7.js.map → record-opens-DayPkcEp.js.map} +1 -1
  196. package/dist/shell-source-maps/assets/{record-page-CTlLVFMY.js.map → record-page-BMFIEvdR.js.map} +1 -1
  197. package/dist/shell-source-maps/assets/{record-preview-D69nznsk.js.map → record-preview-DYLddBgR.js.map} +1 -1
  198. package/dist/shell-source-maps/assets/{records-map-Cjs4-0-T.js.map → records-map-Dbzp06m5.js.map} +1 -1
  199. package/dist/shell-source-maps/assets/{render-node-p5OrHoJa.js.map → render-node-DEeBoZ9i.js.map} +1 -1
  200. package/dist/shell-source-maps/assets/{reorder-button-D6e3M-BK.js.map → reorder-button-BauUDONv.js.map} +1 -1
  201. package/dist/shell-source-maps/assets/{run-trace-view-CZkpU6FK.js.map → run-trace-view-C7Fa31YF.js.map} +1 -1
  202. package/dist/shell-source-maps/assets/{runner-install-field-Bg2frYus.js.map → runner-install-field-Bpj6cGb0.js.map} +1 -1
  203. package/dist/shell-source-maps/assets/{runtime-update-bb8Mych_.js.map → runtime-update-CZ31fRYM.js.map} +1 -1
  204. package/dist/shell-source-maps/assets/{sheet-source-Cn2x0B7b.js.map → sheet-source-CpQBUfMu.js.map} +1 -1
  205. package/dist/shell-source-maps/assets/{sign-in-policy-page-B5opy3S1.js.map → sign-in-policy-page-BumL1ZPK.js.map} +1 -1
  206. package/dist/shell-source-maps/assets/{start-block-queries-DoDAw6-T.js.map → start-block-queries-DYE83u9M.js.map} +1 -1
  207. package/dist/shell-source-maps/assets/{step-catalog-CtopLqDZ.js.map → step-catalog-DAHY1jbn.js.map} +1 -1
  208. package/dist/shell-source-maps/assets/{step-panel-BPHKL3JP.js.map → step-panel-BNu4CT-a.js.map} +1 -1
  209. package/dist/shell-source-maps/assets/{timeline-display-Df0FwDTq.js.map → timeline-display-Dj7rfbX5.js.map} +1 -1
  210. package/dist/shell-source-maps/assets/{trash-DvIkRk0v.js.map → trash-DGtnZxzc.js.map} +1 -1
  211. package/dist/shell-source-maps/assets/{update-set-C6scM9Py.js.map → update-set-DmSoOUGC.js.map} +1 -1
  212. package/dist/shell-source-maps/assets/{use-calendar-move-DcZxW6eO.js.map → use-calendar-move-r5AsNTri.js.map} +1 -1
  213. package/dist/shell-source-maps/assets/{use-display-rows-9Pz57Zus.js.map → use-display-rows-QMseygYe.js.map} +1 -1
  214. package/dist/shell-source-maps/assets/{use-paged-search-CHxoPbgl.js.map → use-paged-search-CI7t7XI0.js.map} +1 -1
  215. package/dist/shell-source-maps/assets/{use-run-trace-DdUrSC__.js.map → use-run-trace-D0jDOrL8.js.map} +1 -1
  216. package/dist/shell-source-maps/assets/{use-workflow-page-BqleruNg.js.map → use-workflow-page-BMjBBt83.js.map} +1 -1
  217. package/dist/shell-source-maps/assets/{use-workflow-types-DUEWsZgC.js.map → use-workflow-types-8ZRuZVuJ.js.map} +1 -1
  218. package/dist/shell-source-maps/assets/{workflow-canvas-cQ7U4Mgc.js.map → workflow-canvas-DtTiaGIh.js.map} +1 -1
  219. package/dist/shell-source-maps/assets/{workflow-field-c0IiPQaY.js.map → workflow-field-2I9HpR3s.js.map} +1 -1
  220. package/dist/shell-source-maps/assets/{workflow-graph-editor-BAwGZFkg.js.map → workflow-graph-editor-DJoriSTb.js.map} +1 -1
  221. package/dist/shell-source-maps/assets/{workflow-run-field-Y49d5OnF.js.map → workflow-run-field-BB6DMeK0.js.map} +1 -1
  222. package/dist/shell-source-maps/assets/workflow-status-field-L_mimjzo.js.map +1 -0
  223. package/dist/shell-source-maps/assets/{workflow-workbench-Bvx_2IBB.js.map → workflow-workbench-PnPXVcoE.js.map} +1 -1
  224. package/dist/status/messages.d.ts +2 -2
  225. package/dist/users/messages.d.ts +2 -2
  226. package/package.json +5 -5
  227. package/dist/shell/assets/board-display-BmqzVMBI.js +0 -2
  228. package/dist/shell/assets/call-rings-CTIiSB__.js +0 -2
  229. package/dist/shell/assets/create-route-IrF4K8-E.js +0 -2
  230. package/dist/shell/assets/embedded-list-y9Zllidc.js +0 -3
  231. package/dist/shell/assets/en-Dm9QE1tF.js +0 -2
  232. package/dist/shell/assets/export-worker-CHLq663S.js +0 -15
  233. package/dist/shell/assets/import-table-dialog-BGu9aIO6.js +0 -2
  234. package/dist/shell/assets/invitations-page-Dc_YyiPd.js +0 -2
  235. package/dist/shell/assets/list-page-LW7JjE8M.js +0 -4
  236. package/dist/shell/assets/members-page-BacI69K5.js +0 -2
  237. package/dist/shell/assets/messages-xzaxaGR2.js +0 -2
  238. package/dist/shell/assets/nl-Cyam8kgY.js +0 -2
  239. package/dist/shell/assets/organization-page-DdeKAkoY.js +0 -2
  240. package/dist/shell/assets/organizations-page-CIm5yo6I.js +0 -2
  241. package/dist/shell/assets/parse-worker-DI-FeZWV.js +0 -35
  242. package/dist/shell/assets/public-form-page-DMT_-q3R.js +0 -2
  243. package/dist/shell/assets/record-lines-BbEMwyZz.js +0 -2
  244. package/dist/shell/assets/record-page-CTlLVFMY.js +0 -3
  245. package/dist/shell/assets/render-node-p5OrHoJa.js +0 -3
  246. package/dist/shell/assets/reorder-button-D6e3M-BK.js +0 -2
  247. package/dist/shell/assets/shared-protobase-ui-CDq17YBF.js +0 -1
  248. package/dist/shell/assets/sign-in-policy-page-B5opy3S1.js +0 -2
  249. package/dist/shell/assets/start-block-queries-DoDAw6-T.js +0 -2
  250. package/dist/shell/assets/step-catalog-CtopLqDZ.js +0 -2
  251. package/dist/shell/assets/timeline-display-Df0FwDTq.js +0 -2
  252. package/dist/shell/assets/use-calendar-move-DcZxW6eO.js +0 -2
  253. package/dist/shell/assets/workflow-status-field-fYllRt7c.js +0 -2
  254. package/dist/shell/assets/workflow-workbench-Bvx_2IBB.js +0 -4
  255. package/dist/shell-source-maps/assets/app-DzYUvsKN.js.map +0 -1
  256. package/dist/shell-source-maps/assets/en-Dm9QE1tF.js.map +0 -1
  257. package/dist/shell-source-maps/assets/list-page-LW7JjE8M.js.map +0 -1
  258. package/dist/shell-source-maps/assets/nl-Cyam8kgY.js.map +0 -1
  259. package/dist/shell-source-maps/assets/parse-worker-DI-FeZWV.js.map +0 -1
  260. package/dist/shell-source-maps/assets/workflow-status-field-fYllRt7c.js.map +0 -1
@@ -1,7 +1,7 @@
1
1
  import { MessageValue } from "../../locale/messages.js";
2
2
  //#region src/app/import/messages.d.ts
3
3
  export declare const text: {
4
- (id: "download" | "field" | "back" | "create" | "file" | "row" | "line" | "column" | "saving" | "failed" | "cancel" | "check" | "update" | "next" | "columns" | "rows" | "cancelled" | "done" | "stopped" | "created" | "summary" | "updated" | "unreadable" | "reading" | "import" | "importPlural" | "couldNotReadFile" | "couldNotCheck" | "checkRows" | "checking" | "importRows" | "cancelImport" | "fileHint" | "theFile" | "sheet" | "upsert" | "createHint" | "updateHint" | "upsertHint" | "doNotImport" | "whatEachRowDoes" | "findBy" | "chooseField" | "findByHint" | "foundInColumn" | "chooseColumn" | "numbers" | "dates" | "dayFirst" | "monthFirst" | "datesHint" | "requiredMarked" | "emptyInFirstRows" | "fieldFor" | "foundBy" | "pluralFoundBy" | "noColumnFills" | "rowsNotImported" | "rowProblems" | "andMore" | "checkingRows" | "toCreate" | "toUpdate" | "withProblems" | "firstRows" | "problemRows" | "batches" | "stopping" | "rowsSaved" | "skipped" | "notWrittenHint" | "notImportedFile" | "problems" | "notNumber" | "notWholeNumber" | "tooLarge" | "notBoolean" | "notDate" | "hasTime" | "severalValues" | "notOneOf" | "notText" | "nestedValue" | "emptyRequired" | "noneHas" | "severalHave" | "notOneRecord" | "nothingToUpdate" | "fileNotUtf8" | "noSheets" | "missingSheetPart" | "notZip" | "zip64" | "compression" | "notWorkbook" | "noSheetCalled" | "jsonInvalid" | "jsonNotList" | "fromFile" | "tableFromFile" | "newTable" | "noTitle" | "needed" | "nameForm" | "nameReservedWord" | "nameReservedField" | "nameTaken" | "nameTwice" | "noFields" | "typeFor" | "labelFor" | "nameFor" | "decimalSize" | "typesFromCells" | "couldNotMakeTable" | "makeTable" | "openTable" | "labelTooLong", values?: Record<string, MessageValue>): string;
5
- rich(id: "download" | "field" | "back" | "create" | "file" | "row" | "line" | "column" | "saving" | "failed" | "cancel" | "check" | "update" | "next" | "columns" | "rows" | "cancelled" | "done" | "stopped" | "created" | "summary" | "updated" | "unreadable" | "reading" | "import" | "importPlural" | "couldNotReadFile" | "couldNotCheck" | "checkRows" | "checking" | "importRows" | "cancelImport" | "fileHint" | "theFile" | "sheet" | "upsert" | "createHint" | "updateHint" | "upsertHint" | "doNotImport" | "whatEachRowDoes" | "findBy" | "chooseField" | "findByHint" | "foundInColumn" | "chooseColumn" | "numbers" | "dates" | "dayFirst" | "monthFirst" | "datesHint" | "requiredMarked" | "emptyInFirstRows" | "fieldFor" | "foundBy" | "pluralFoundBy" | "noColumnFills" | "rowsNotImported" | "rowProblems" | "andMore" | "checkingRows" | "toCreate" | "toUpdate" | "withProblems" | "firstRows" | "problemRows" | "batches" | "stopping" | "rowsSaved" | "skipped" | "notWrittenHint" | "notImportedFile" | "problems" | "notNumber" | "notWholeNumber" | "tooLarge" | "notBoolean" | "notDate" | "hasTime" | "severalValues" | "notOneOf" | "notText" | "nestedValue" | "emptyRequired" | "noneHas" | "severalHave" | "notOneRecord" | "nothingToUpdate" | "fileNotUtf8" | "noSheets" | "missingSheetPart" | "notZip" | "zip64" | "compression" | "notWorkbook" | "noSheetCalled" | "jsonInvalid" | "jsonNotList" | "fromFile" | "tableFromFile" | "newTable" | "noTitle" | "needed" | "nameForm" | "nameReservedWord" | "nameReservedField" | "nameTaken" | "nameTwice" | "noFields" | "typeFor" | "labelFor" | "nameFor" | "decimalSize" | "typesFromCells" | "couldNotMakeTable" | "makeTable" | "openTable" | "labelTooLong", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
4
+ (id: "row" | "line" | "create" | "file" | "back" | "download" | "check" | "update" | "column" | "saving" | "field" | "failed" | "cancel" | "next" | "rows" | "columns" | "cancelled" | "created" | "updated" | "unreadable" | "summary" | "done" | "reading" | "import" | "importPlural" | "couldNotReadFile" | "couldNotCheck" | "checkRows" | "checking" | "importRows" | "cancelImport" | "fileHint" | "theFile" | "sheet" | "upsert" | "createHint" | "updateHint" | "upsertHint" | "doNotImport" | "whatEachRowDoes" | "findBy" | "chooseField" | "findByHint" | "foundInColumn" | "chooseColumn" | "numbers" | "dates" | "dayFirst" | "monthFirst" | "datesHint" | "requiredMarked" | "emptyInFirstRows" | "fieldFor" | "foundBy" | "pluralFoundBy" | "noColumnFills" | "rowsNotImported" | "rowProblems" | "andMore" | "checkingRows" | "toCreate" | "toUpdate" | "withProblems" | "firstRows" | "problemRows" | "batches" | "stopping" | "rowsSaved" | "stopped" | "skipped" | "notWrittenHint" | "notImportedFile" | "problems" | "notNumber" | "notWholeNumber" | "tooLarge" | "notBoolean" | "notDate" | "hasTime" | "severalValues" | "notOneOf" | "notText" | "nestedValue" | "emptyRequired" | "noneHas" | "severalHave" | "notOneRecord" | "nothingToUpdate" | "fileNotUtf8" | "noSheets" | "missingSheetPart" | "notZip" | "zip64" | "compression" | "notWorkbook" | "noSheetCalled" | "jsonInvalid" | "jsonNotList" | "fromFile" | "tableFromFile" | "newTable" | "noTitle" | "needed" | "nameForm" | "nameReservedWord" | "nameReservedField" | "nameTaken" | "nameTwice" | "noFields" | "typeFor" | "labelFor" | "nameFor" | "decimalSize" | "typesFromCells" | "couldNotMakeTable" | "makeTable" | "openTable" | "labelTooLong", values?: Record<string, MessageValue>): string;
5
+ rich(id: "row" | "line" | "create" | "file" | "back" | "download" | "check" | "update" | "column" | "saving" | "field" | "failed" | "cancel" | "next" | "rows" | "columns" | "cancelled" | "created" | "updated" | "unreadable" | "summary" | "done" | "reading" | "import" | "importPlural" | "couldNotReadFile" | "couldNotCheck" | "checkRows" | "checking" | "importRows" | "cancelImport" | "fileHint" | "theFile" | "sheet" | "upsert" | "createHint" | "updateHint" | "upsertHint" | "doNotImport" | "whatEachRowDoes" | "findBy" | "chooseField" | "findByHint" | "foundInColumn" | "chooseColumn" | "numbers" | "dates" | "dayFirst" | "monthFirst" | "datesHint" | "requiredMarked" | "emptyInFirstRows" | "fieldFor" | "foundBy" | "pluralFoundBy" | "noColumnFills" | "rowsNotImported" | "rowProblems" | "andMore" | "checkingRows" | "toCreate" | "toUpdate" | "withProblems" | "firstRows" | "problemRows" | "batches" | "stopping" | "rowsSaved" | "stopped" | "skipped" | "notWrittenHint" | "notImportedFile" | "problems" | "notNumber" | "notWholeNumber" | "tooLarge" | "notBoolean" | "notDate" | "hasTime" | "severalValues" | "notOneOf" | "notText" | "nestedValue" | "emptyRequired" | "noneHas" | "severalHave" | "notOneRecord" | "nothingToUpdate" | "fileNotUtf8" | "noSheets" | "missingSheetPart" | "notZip" | "zip64" | "compression" | "notWorkbook" | "noSheetCalled" | "jsonInvalid" | "jsonNotList" | "fromFile" | "tableFromFile" | "newTable" | "noTitle" | "needed" | "nameForm" | "nameReservedWord" | "nameReservedField" | "nameTaken" | "nameTwice" | "noFields" | "typeFor" | "labelFor" | "nameFor" | "decimalSize" | "typesFromCells" | "couldNotMakeTable" | "makeTable" | "openTable" | "labelTooLong", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
6
6
  };
7
7
  //#endregion
@@ -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;
@@ -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 data = useSeries(resource, {
18
+ const series = useSeries(resource, {
19
19
  field: chart.field,
20
20
  range,
21
21
  granularity,
22
22
  filter,
23
23
  timeZone: viewerZone()
24
- }).data?.points.map((point) => ({
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" | "clearSearch" | "delete" | "searchPlural" | "noList" | "filters" | "filtersCount" | "newRecord" | "export" | "openRecord" | "exportCount" | "deleteCount" | "actionCount" | "dragToSort" | "unreadableFilter" | "couldNotLoadRows" | "created" | "noMatchSearch" | "noMatchFilters" | "noMatch" | "noneYet" | "clearFilters", values?: Record<string, MessageValue>): string;
5
- rich(id: "sort" | "search" | "clearSearch" | "delete" | "searchPlural" | "noList" | "filters" | "filtersCount" | "newRecord" | "export" | "openRecord" | "exportCount" | "deleteCount" | "actionCount" | "dragToSort" | "unreadableFilter" | "couldNotLoadRows" | "created" | "noMatchSearch" | "noMatchFilters" | "noMatch" | "noneYet" | "clearFilters", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
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
@@ -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: "loading" | "replace" | "pages" | "open" | "account" | "cannotReach" | "tryAgain" | "noAnswer" | "reload" | "admin" | "menu" | "refreshing" | "leave" | "noMatches" | "assistant" | "remove" | "new" | "fileMissing" | "signInPolicy" | "notFound" | "noResource" | "somethingWentWrong" | "adminsOnly" | "onlyAdminPolicy" | "ownersOnly" | "onlyOwners" | "chooseResource" | "pickFromSidebar" | "nothingHere" | "pageNotLoaded" | "pageNotLoadedHelp" | "signOutQuestion" | "signOutHelp" | "signOutCancel" | "signOutConfirm" | "noPage" | "operationFailed" | "nothingSaved" | "loadingRecord" | "noComponent" | "choose" | "noValue" | "chooseFileFor" | "notUploaded" | "uploadingLabel" | "uploading" | "dropFile" | "chooseFile" | "average" | "sales" | "crm" | "catalog" | "inventory" | "hr" | "tables" | "searchPlural" | "couldNotLoadOptions" | "refreshFailedTitle" | "refreshFailedHelp" | "refreshRetry" | "refreshClose" | "refreshWhy" | "refreshFailed" | "leaveTitle" | "leaveDescription" | "leaveInputLost" | "stay" | "reloadTitle" | "reloadDraftKept" | "reloadInputLost" | "keepEditing" | "show" | "hide" | "couldNotShow" | "setNewValue" | "signInRefused" | "loadingFrom" | "restWorks" | "staffSession" | "staffSignedIn" | "stopStaffSession" | "openLabel" | "opensNewTab", values?: Record<string, MessageValue>): string;
5
- rich(id: "loading" | "replace" | "pages" | "open" | "account" | "cannotReach" | "tryAgain" | "noAnswer" | "reload" | "admin" | "menu" | "refreshing" | "leave" | "noMatches" | "assistant" | "remove" | "new" | "fileMissing" | "signInPolicy" | "notFound" | "noResource" | "somethingWentWrong" | "adminsOnly" | "onlyAdminPolicy" | "ownersOnly" | "onlyOwners" | "chooseResource" | "pickFromSidebar" | "nothingHere" | "pageNotLoaded" | "pageNotLoadedHelp" | "signOutQuestion" | "signOutHelp" | "signOutCancel" | "signOutConfirm" | "noPage" | "operationFailed" | "nothingSaved" | "loadingRecord" | "noComponent" | "choose" | "noValue" | "chooseFileFor" | "notUploaded" | "uploadingLabel" | "uploading" | "dropFile" | "chooseFile" | "average" | "sales" | "crm" | "catalog" | "inventory" | "hr" | "tables" | "searchPlural" | "couldNotLoadOptions" | "refreshFailedTitle" | "refreshFailedHelp" | "refreshRetry" | "refreshClose" | "refreshWhy" | "refreshFailed" | "leaveTitle" | "leaveDescription" | "leaveInputLost" | "stay" | "reloadTitle" | "reloadDraftKept" | "reloadInputLost" | "keepEditing" | "show" | "hide" | "couldNotShow" | "setNewValue" | "signInRefused" | "loadingFrom" | "restWorks" | "staffSession" | "staffSignedIn" | "stopStaffSession" | "openLabel" | "opensNewTab", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
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/pages/messages.d.ts
3
3
  export declare const text: {
4
- (id: "number" | "create" | "saved" | "failed" | "tabs" | "couldNotLoad" | "save" | "cancel" | "couldNotDraw" | "required" | "done" | "notFound" | "noPage" | "noComponent" | "wholeNumber" | "notSaved" | "nothingYet" | "somethingWrong" | "settings" | "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" | "saved" | "failed" | "tabs" | "couldNotLoad" | "save" | "cancel" | "couldNotDraw" | "required" | "done" | "notFound" | "noPage" | "noComponent" | "wholeNumber" | "notSaved" | "nothingYet" | "somethingWrong" | "settings" | "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;
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: "couldNotLoad" | "maximum" | "day" | "hour" | "week" | "average" | "range" | "measure" | "noSamples", values?: Record<string, MessageValue>): string;
5
- rich(id: "couldNotLoad" | "maximum" | "day" | "hour" | "week" | "average" | "range" | "measure" | "noSamples", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
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: "loading" | "edit" | "fetching" | "saved" | "history" | "comments" | "couldNotLoad" | "save" | "cancel" | "couldNotSave" | "delete" | "lineNumber" | "details" | "summary" | "noRecord" | "openingElsewhere" | "someoneElse" | "justNow" | "unsavedChanges" | "notSaved" | "linesChanged" | "linesReloaded" | "unsavedKept" | "continueEditing" | "discard" | "unsavedRestored" | "keep" | "savingSubject" | "subjectSaved" | "changedBySomeoneElse" | "recordActions" | "nothingYet" | "relatedRecords" | "lineField" | "tooManyLines", values?: Record<string, MessageValue>): string;
5
- rich(id: "loading" | "edit" | "fetching" | "saved" | "history" | "comments" | "couldNotLoad" | "save" | "cancel" | "couldNotSave" | "delete" | "lineNumber" | "details" | "summary" | "noRecord" | "openingElsewhere" | "someoneElse" | "justNow" | "unsavedChanges" | "notSaved" | "linesChanged" | "linesReloaded" | "unsavedKept" | "continueEditing" | "discard" | "unsavedRestored" | "keep" | "savingSubject" | "subjectSaved" | "changedBySomeoneElse" | "recordActions" | "nothingYet" | "relatedRecords" | "lineField" | "tooManyLines", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
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) => "always" | (string & {}) | "editing" | "reading" | undefined;
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: "couldNotLoad" | "viewAll" | "new" | "noneYet" | "noneMatch" | "couldNotLoadYour", values?: Record<string, MessageValue>): string;
5
- rich(id: "couldNotLoad" | "viewAll" | "new" | "noneYet" | "noneMatch" | "couldNotLoadYour", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
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" | "left" | "add" | "nothingYet" | "showMore" | "showLess", values?: Record<string, MessageValue>): string;
5
- rich(id: "open" | "couldNotLoad" | "left" | "add" | "nothingYet" | "showMore" | "showLess", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
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: "failed" | "update" | "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: "failed" | "update" | "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;
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
@@ -1,7 +1,7 @@
1
1
  import { MessageValue } from "../../locale/messages.js";
2
2
  //#region src/app/saved/messages.d.ts
3
3
  export declare const text: {
4
- (id: "couldNotSave" | "noneYet" | "somethingWrong" | "couldNotLoadYour" | "favorite" | "couldNotTakeOff", values?: Record<string, MessageValue>): string;
5
- rich(id: "couldNotSave" | "noneYet" | "somethingWrong" | "couldNotLoadYour" | "favorite" | "couldNotTakeOff", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
4
+ (id: "couldNotSave" | "somethingWrong" | "couldNotLoadYour" | "noneYet" | "favorite" | "couldNotTakeOff", values?: Record<string, MessageValue>): string;
5
+ rich(id: "couldNotSave" | "somethingWrong" | "couldNotLoadYour" | "noneYet" | "favorite" | "couldNotTakeOff", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
6
6
  };
7
7
  //#endregion
@@ -1,7 +1,7 @@
1
1
  import { MessageValue } from "../../locale/messages.js";
2
2
  //#region src/app/searches/messages.d.ts
3
3
  export declare const text: {
4
- (id: "changed" | "saved" | "more" | "viewAll" | "save" | "cancel" | "couldNotSave" | "optional" | "update" | "removed" | "on" | "off" | "notFound" | "noResource" | "filters" | "unreadableFilter" | "noneYet" | "noPlural" | "somethingWrong" | "noneMatch" | "firstOf" | "couldNotChange" | "couldNotLoadYour" | "couldNotTakeOff" | "saveSearch" | "saveAsNew" | "updateName" | "updateNameQuestion" | "updateNounQuestion" | "couldNotRename" | "renameTitle" | "deleteTitle" | "noSavedYet" | "asMany" | "fewer" | "added" | "filterChanges" | "addedRemoved" | "noRecordsDiff" | "searchSaved" | "openPlural" | "searchUpdated" | "couldNotUpdate" | "noNew", values?: Record<string, MessageValue>): string;
5
- rich(id: "changed" | "saved" | "more" | "viewAll" | "save" | "cancel" | "couldNotSave" | "optional" | "update" | "removed" | "on" | "off" | "notFound" | "noResource" | "filters" | "unreadableFilter" | "noneYet" | "noPlural" | "somethingWrong" | "noneMatch" | "firstOf" | "couldNotChange" | "couldNotLoadYour" | "couldNotTakeOff" | "saveSearch" | "saveAsNew" | "updateName" | "updateNameQuestion" | "updateNounQuestion" | "couldNotRename" | "renameTitle" | "deleteTitle" | "noSavedYet" | "asMany" | "fewer" | "added" | "filterChanges" | "addedRemoved" | "noRecordsDiff" | "searchSaved" | "openPlural" | "searchUpdated" | "couldNotUpdate" | "noNew", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
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: "loading" | "signIn" | "resources" | "organizations" | "roles" | "signOut" | "system" | "theme" | "breadcrumb" | "search" | "tabs" | "navigation" | "more" | "openNavigation" | "backTo" | "closeSearch" | "clearSearch" | "globalSearch" | "searchResults" | "searching" | "noMatches" | "accountOf" | "profileMenu" | "light" | "dark" | "recent" | "couldNotLoad" | "viewAll" | "couldNotSearch", values?: Record<string, MessageValue>): string;
5
- rich(id: "loading" | "signIn" | "resources" | "organizations" | "roles" | "signOut" | "system" | "theme" | "breadcrumb" | "search" | "tabs" | "navigation" | "more" | "openNavigation" | "backTo" | "closeSearch" | "clearSearch" | "globalSearch" | "searchResults" | "searching" | "noMatches" | "accountOf" | "profileMenu" | "light" | "dark" | "recent" | "couldNotLoad" | "viewAll" | "couldNotSearch", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
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/auth/messages.d.ts
3
3
  export declare const text: {
4
- (id: "loading" | "email" | "signIn" | "or" | "cannotReach" | "tryAgain" | "passwordChanged" | "noAnswer" | "code" | "backupCode" | "password" | "passwordOptional" | "signOut" | "continue" | "backToSignIn" | "useAnotherAddress" | "checkEmail" | "newCodeSent" | "sendNewCode" | "sendNewCodeIn" | "signInCodeDescription" | "signInCodeSent" | "signUpCodeDescription" | "signUpCodeSent" | "noAdminTitle" | "noAdminDescription" | "noAdminExplanation" | "copyCommand" | "firstAdminExplanation" | "firstAdminLink" | "reload" | "tooManyRequests" | "tooManyAttempts" | "resetTitle" | "resetDescription" | "sendResetLink" | "resetSent" | "linkExpiredTitle" | "linkExpiredExplanation" | "sendNewLink" | "passwordsDiffer" | "choosePassword" | "atLeast" | "useAtLeast" | "passwordTooLong" | "newPassword" | "repeatPassword" | "setPassword" | "signingInWith" | "takingYouTo" | "providerNotOffered" | "turnOnTwoFactor" | "addPasskey" | "requiredForEveryAccount" | "passkeyExplanation" | "couldNotReadAccount" | "signInTitle" | "runsOnProtobase" | "continueWith" | "signInWithPasskey" | "passkeyFor" | "emailSignInCode" | "usePassword" | "forgotPassword" | "newHere" | "haveAccount" | "createAnAccount" | "browse" | "notNow" | "detailsTitle" | "detailsDescription" | "yourName" | "codeWasRight" | "withoutPassword" | "createAccount" | "codeToConfirm" | "emailCode" | "browseWithoutAccount" | "staffTitle" | "staffUnavailable" | "signInAsPerson" | "forStaffOf" | "theirEmail" | "reason" | "reasonExample" | "staffExplanation" | "totpInstruction" | "otpInstruction" | "backupInstruction" | "twoFactorTitle" | "twoFactorDescription" | "codeToFinish" | "trustBrowser" | "trustBrowserFor" | "verify" | "useAuthenticator" | "emailCodeInstead" | "useBackupCode" | "admin", values?: Record<string, MessageValue>): string;
5
- rich(id: "loading" | "email" | "signIn" | "or" | "cannotReach" | "tryAgain" | "passwordChanged" | "noAnswer" | "code" | "backupCode" | "password" | "passwordOptional" | "signOut" | "continue" | "backToSignIn" | "useAnotherAddress" | "checkEmail" | "newCodeSent" | "sendNewCode" | "sendNewCodeIn" | "signInCodeDescription" | "signInCodeSent" | "signUpCodeDescription" | "signUpCodeSent" | "noAdminTitle" | "noAdminDescription" | "noAdminExplanation" | "copyCommand" | "firstAdminExplanation" | "firstAdminLink" | "reload" | "tooManyRequests" | "tooManyAttempts" | "resetTitle" | "resetDescription" | "sendResetLink" | "resetSent" | "linkExpiredTitle" | "linkExpiredExplanation" | "sendNewLink" | "passwordsDiffer" | "choosePassword" | "atLeast" | "useAtLeast" | "passwordTooLong" | "newPassword" | "repeatPassword" | "setPassword" | "signingInWith" | "takingYouTo" | "providerNotOffered" | "turnOnTwoFactor" | "addPasskey" | "requiredForEveryAccount" | "passkeyExplanation" | "couldNotReadAccount" | "signInTitle" | "runsOnProtobase" | "continueWith" | "signInWithPasskey" | "passkeyFor" | "emailSignInCode" | "usePassword" | "forgotPassword" | "newHere" | "haveAccount" | "createAnAccount" | "browse" | "notNow" | "detailsTitle" | "detailsDescription" | "yourName" | "codeWasRight" | "withoutPassword" | "createAccount" | "codeToConfirm" | "emailCode" | "browseWithoutAccount" | "staffTitle" | "staffUnavailable" | "signInAsPerson" | "forStaffOf" | "theirEmail" | "reason" | "reasonExample" | "staffExplanation" | "totpInstruction" | "otpInstruction" | "backupInstruction" | "twoFactorTitle" | "twoFactorDescription" | "codeToFinish" | "trustBrowser" | "trustBrowserFor" | "verify" | "useAuthenticator" | "emailCodeInstead" | "useBackupCode" | "admin", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
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
@@ -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: "you" | "continue" | "yourName" | "accept" | "join" | "leave" | "reconnecting" | "waiting" | "revoke" | "full" | "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" | "remove" | "newLink" | "copyLink" | "copied" | "guestLinks" | "noLinks" | "inLobby" | "guestsInCall" | "guestsMaySend" | "sendAll" | "sendCamera" | "sendMicrophone" | "linkUntil" | "linkUntilEnd" | "linkLasts" | "forAnHour" | "addressesVisible" | "guestRefused" | "close" | "guestIntro" | "youLeft", values?: Record<string, MessageValue>): string;
5
- rich(id: "you" | "continue" | "yourName" | "accept" | "join" | "leave" | "reconnecting" | "waiting" | "revoke" | "full" | "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" | "remove" | "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;
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: "photoOf" | "previousPhoto" | "nextPhoto", values?: Record<string, MessageValue>): string;
5
- rich(id: "photoOf" | "previousPhoto" | "nextPhoto", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
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
@@ -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: "send" | "message" | "today" | "yesterday" | "newMessages" | "loadEarlier" | "working", values?: Record<string, MessageValue>): string;
5
- rich(id: "send" | "message" | "today" | "yesterday" | "newMessages" | "loadEarlier" | "working", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
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
@@ -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 client = useClient();
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: () => client.facets(resource, field, {
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 client = useClient();
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: () => client.series(resource, {
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 client = useClient();
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: () => client.histogram(resource, field, {
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" | "money" | "signed" | "percent";
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" | "new" | "no" | "shownIn" | "unsortable" | "columnMenu" | "unpin" | "pinToLeft" | "resizeColumn" | "selected" | "clearSelection" | "noRowsSelected" | "selectRow" | "rowActions" | "move" | "reorderInstructions" | "pickedUp" | "isOver" | "droppedAt" | "putBack" | "cancelled", values?: Record<string, MessageValue>): string;
5
- rich(id: "row" | "new" | "no" | "shownIn" | "unsortable" | "columnMenu" | "unpin" | "pinToLeft" | "resizeColumn" | "selected" | "clearSelection" | "noRowsSelected" | "selectRow" | "rowActions" | "move" | "reorderInstructions" | "pickedUp" | "isOver" | "droppedAt" | "putBack" | "cancelled", values: Record<string, MessageValue | import("react").ReactNode>): import("react").ReactNode;
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