@antelopejs/dms 0.25.7 → 0.25.8-next.1166.gbc4d5cc

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 (409) hide show
  1. package/E2E.md +3 -2
  2. package/data/mockup-example/spec.json +11 -0
  3. package/data/mockup-spec.schema.json +399 -20
  4. package/dist/e2e/index.d.mts +3 -1
  5. package/dist/e2e/run-state.d.mts +8 -0
  6. package/dist/e2e/stack.d.mts +3 -1
  7. package/dist/implementations/dms/page/access.js +1 -1
  8. package/dist/implementations/dms/page/access.js.map +1 -1
  9. package/dist/implementations/dms/page/payloads.js +1 -1
  10. package/dist/implementations/dms/page/payloads.js.map +1 -1
  11. package/dist/implementations/dms/page/registry.js +1 -1
  12. package/dist/implementations/dms/page/registry.js.map +1 -1
  13. package/dist/implementations/dms-base/bulk-selection.d.ts +1 -1
  14. package/dist/implementations/dms-base/bulk-selection.js +7 -1
  15. package/dist/implementations/dms-base/bulk-selection.js.map +1 -1
  16. package/dist/implementations/dms-base/group-order.d.ts +1 -1
  17. package/dist/implementations/dms-base/group-order.js +17 -4
  18. package/dist/implementations/dms-base/group-order.js.map +1 -1
  19. package/dist/implementations/dms-base/search-route.d.ts +1 -1
  20. package/dist/implementations/dms-base/search-route.js +11 -3
  21. package/dist/implementations/dms-base/search-route.js.map +1 -1
  22. package/dist/implementations/dms-base/table-view.js +12 -3
  23. package/dist/implementations/dms-base/table-view.js.map +1 -1
  24. package/dist/implementations/dms-builder/engine/expression.js +3 -2
  25. package/dist/implementations/dms-builder/engine/expression.js.map +1 -1
  26. package/dist/implementations/dms-builder/engine/inherited-variables.js +2 -1
  27. package/dist/implementations/dms-builder/engine/inherited-variables.js.map +1 -1
  28. package/dist/implementations/dms-builder/engine/preview.js +2 -1
  29. package/dist/implementations/dms-builder/engine/preview.js.map +1 -1
  30. package/dist/implementations/dms-builder/engine/table-view-settings.js +34 -14
  31. package/dist/implementations/dms-builder/engine/table-view-settings.js.map +1 -1
  32. package/dist/index.js +2 -0
  33. package/dist/index.js.map +1 -1
  34. package/dist/mcp/index.d.ts +2 -0
  35. package/dist/mcp/index.js +9 -0
  36. package/dist/mcp/index.js.map +1 -1
  37. package/dist/mcp/mockup-export/capture.d.ts +19 -0
  38. package/dist/mcp/mockup-export/capture.js +99 -0
  39. package/dist/mcp/mockup-export/capture.js.map +1 -0
  40. package/dist/mcp/mockup-export/document.d.ts +4 -0
  41. package/dist/mcp/mockup-export/document.js +199 -0
  42. package/dist/mcp/mockup-export/document.js.map +1 -0
  43. package/dist/mcp/mockup-export/index.d.ts +20 -0
  44. package/dist/mcp/mockup-export/index.js +110 -0
  45. package/dist/mcp/mockup-export/index.js.map +1 -0
  46. package/dist/mcp/mockup-export/jobs.d.ts +32 -0
  47. package/dist/mcp/mockup-export/jobs.js +49 -0
  48. package/dist/mcp/mockup-export/jobs.js.map +1 -0
  49. package/dist/mcp/mockup-export/plan.d.ts +78 -0
  50. package/dist/mcp/mockup-export/plan.js +292 -0
  51. package/dist/mcp/mockup-export/plan.js.map +1 -0
  52. package/dist/mcp/mockup-export/route.d.ts +23 -0
  53. package/dist/mcp/mockup-export/route.js +91 -0
  54. package/dist/mcp/mockup-export/route.js.map +1 -0
  55. package/dist/mcp/page-verify/index.d.ts +15 -0
  56. package/dist/mcp/page-verify/index.js +16 -6
  57. package/dist/mcp/page-verify/index.js.map +1 -1
  58. package/dist/mcp/page-verify/mockup.d.ts +2 -1
  59. package/dist/mcp/page-verify/mockup.js +1 -0
  60. package/dist/mcp/page-verify/mockup.js.map +1 -1
  61. package/dist/mcp/page-verify/modules.d.ts +8 -0
  62. package/dist/mcp/page-verify/modules.js +49 -0
  63. package/dist/mcp/page-verify/modules.js.map +1 -0
  64. package/dist/mcp/page-verify/playwright.d.ts +22 -4
  65. package/dist/mcp/page-verify/playwright.js.map +1 -1
  66. package/dist/mcp/page-verify/report.d.ts +1 -0
  67. package/dist/mcp/tools/mockup-export-pdf.d.ts +1 -0
  68. package/dist/mcp/tools/mockup-export-pdf.js +69 -0
  69. package/dist/mcp/tools/mockup-export-pdf.js.map +1 -0
  70. package/dist/mcp/tools/mockup-module-catalog.d.ts +1 -0
  71. package/dist/mcp/tools/mockup-module-catalog.js +36 -0
  72. package/dist/mcp/tools/mockup-module-catalog.js.map +1 -0
  73. package/dist/mcp/tools/mockup-read-spec.js +2 -3
  74. package/dist/mcp/tools/mockup-read-spec.js.map +1 -1
  75. package/dist/mcp/tools/mockup.js +4 -0
  76. package/dist/mcp/tools/mockup.js.map +1 -1
  77. package/dist/mcp/tools/page-verify.d.ts +1 -0
  78. package/dist/mcp/tools/page-verify.js +6 -2
  79. package/dist/mcp/tools/page-verify.js.map +1 -1
  80. package/dist/mockup/annotations.js +2 -2
  81. package/dist/mockup/annotations.js.map +1 -1
  82. package/dist/mockup/apply-notes.js +1 -1
  83. package/dist/mockup/apply-notes.js.map +1 -1
  84. package/dist/mockup/compile-layouts.d.ts +5 -0
  85. package/dist/mockup/compile-layouts.js +74 -0
  86. package/dist/mockup/compile-layouts.js.map +1 -0
  87. package/dist/mockup/compile-nodes.d.ts +11 -0
  88. package/dist/mockup/compile-nodes.js +119 -0
  89. package/dist/mockup/compile-nodes.js.map +1 -0
  90. package/dist/mockup/compile-pages.d.ts +18 -0
  91. package/dist/mockup/compile-pages.js +188 -0
  92. package/dist/mockup/compile-pages.js.map +1 -0
  93. package/dist/mockup/compile.d.ts +6 -10
  94. package/dist/mockup/compile.js +31 -289
  95. package/dist/mockup/compile.js.map +1 -1
  96. package/dist/mockup/create.d.ts +16 -0
  97. package/dist/mockup/create.js +78 -0
  98. package/dist/mockup/create.js.map +1 -0
  99. package/dist/mockup/created-watch.d.ts +18 -0
  100. package/dist/mockup/created-watch.js +110 -0
  101. package/dist/mockup/created-watch.js.map +1 -0
  102. package/dist/mockup/entities.d.ts +20 -0
  103. package/dist/mockup/entities.js +213 -0
  104. package/dist/mockup/entities.js.map +1 -0
  105. package/dist/mockup/etag.d.ts +1 -0
  106. package/dist/mockup/etag.js +10 -0
  107. package/dist/mockup/etag.js.map +1 -0
  108. package/dist/mockup/extensions.d.ts +17 -0
  109. package/dist/mockup/extensions.js +56 -0
  110. package/dist/mockup/extensions.js.map +1 -0
  111. package/dist/mockup/files.d.ts +2 -1
  112. package/dist/mockup/files.js +2 -1
  113. package/dist/mockup/files.js.map +1 -1
  114. package/dist/mockup/fixture-answers.d.ts +1 -0
  115. package/dist/mockup/fixture-answers.js +1 -1
  116. package/dist/mockup/fixture-answers.js.map +1 -1
  117. package/dist/mockup/fixture-batch.d.ts +21 -0
  118. package/dist/mockup/fixture-batch.js +111 -0
  119. package/dist/mockup/fixture-batch.js.map +1 -0
  120. package/dist/mockup/fixture-routes.d.ts +21 -0
  121. package/dist/mockup/fixture-routes.js +136 -0
  122. package/dist/mockup/fixture-routes.js.map +1 -0
  123. package/dist/mockup/fixtures.d.ts +0 -27
  124. package/dist/mockup/fixtures.js +11 -117
  125. package/dist/mockup/fixtures.js.map +1 -1
  126. package/dist/mockup/from-page.js +2 -9
  127. package/dist/mockup/from-page.js.map +1 -1
  128. package/dist/mockup/generate.js +4 -1
  129. package/dist/mockup/generate.js.map +1 -1
  130. package/dist/mockup/history-routes.d.ts +2 -4
  131. package/dist/mockup/history-routes.js +27 -36
  132. package/dist/mockup/history-routes.js.map +1 -1
  133. package/dist/mockup/history.js +2 -1
  134. package/dist/mockup/history.js.map +1 -1
  135. package/dist/mockup/index.d.ts +10 -0
  136. package/dist/mockup/index.js +10 -0
  137. package/dist/mockup/index.js.map +1 -1
  138. package/dist/mockup/json-schema-entities.d.ts +5 -0
  139. package/dist/mockup/json-schema-entities.js +141 -0
  140. package/dist/mockup/json-schema-entities.js.map +1 -0
  141. package/dist/mockup/json-schema-layout.d.ts +1 -0
  142. package/dist/mockup/json-schema-layout.js +95 -2
  143. package/dist/mockup/json-schema-layout.js.map +1 -1
  144. package/dist/mockup/json-schema.js +40 -23
  145. package/dist/mockup/json-schema.js.map +1 -1
  146. package/dist/mockup/json.d.ts +8 -0
  147. package/dist/mockup/json.js +20 -0
  148. package/dist/mockup/json.js.map +1 -0
  149. package/dist/mockup/layout-model.d.ts +156 -0
  150. package/dist/mockup/layout-model.js +96 -0
  151. package/dist/mockup/layout-model.js.map +1 -0
  152. package/dist/mockup/layouts.d.ts +9 -0
  153. package/dist/mockup/layouts.js +40 -0
  154. package/dist/mockup/layouts.js.map +1 -0
  155. package/dist/mockup/manage-routes.d.ts +3 -1
  156. package/dist/mockup/manage-routes.js +38 -1
  157. package/dist/mockup/manage-routes.js.map +1 -1
  158. package/dist/mockup/manage.js +1 -1
  159. package/dist/mockup/manage.js.map +1 -1
  160. package/dist/mockup/model.d.ts +137 -101
  161. package/dist/mockup/model.js +105 -91
  162. package/dist/mockup/model.js.map +1 -1
  163. package/dist/mockup/module-manifests.d.ts +99 -0
  164. package/dist/mockup/module-manifests.js +95 -0
  165. package/dist/mockup/module-manifests.js.map +1 -0
  166. package/dist/mockup/module-states.d.ts +10 -0
  167. package/dist/mockup/module-states.js +85 -0
  168. package/dist/mockup/module-states.js.map +1 -0
  169. package/dist/mockup/modules-schema.d.ts +2 -0
  170. package/dist/mockup/modules-schema.js +39 -0
  171. package/dist/mockup/modules-schema.js.map +1 -0
  172. package/dist/mockup/modules.d.ts +6 -9
  173. package/dist/mockup/modules.js +105 -24
  174. package/dist/mockup/modules.js.map +1 -1
  175. package/dist/mockup/owner-controller.js +1 -1
  176. package/dist/mockup/owner-controller.js.map +1 -1
  177. package/dist/mockup/page-capture-routes.d.ts +19 -0
  178. package/dist/mockup/page-capture-routes.js +92 -0
  179. package/dist/mockup/page-capture-routes.js.map +1 -0
  180. package/dist/mockup/page-captures.d.ts +61 -0
  181. package/dist/mockup/page-captures.js +252 -0
  182. package/dist/mockup/page-captures.js.map +1 -0
  183. package/dist/mockup/parse-spec.d.ts +10 -0
  184. package/dist/mockup/parse-spec.js +62 -0
  185. package/dist/mockup/parse-spec.js.map +1 -0
  186. package/dist/mockup/places.d.ts +17 -0
  187. package/dist/mockup/places.js +75 -0
  188. package/dist/mockup/places.js.map +1 -0
  189. package/dist/mockup/presence-board.js +1 -1
  190. package/dist/mockup/presence-board.js.map +1 -1
  191. package/dist/mockup/presence-routes.js +2 -2
  192. package/dist/mockup/presence-routes.js.map +1 -1
  193. package/dist/mockup/refusals.d.ts +5 -0
  194. package/dist/mockup/refusals.js +16 -0
  195. package/dist/mockup/refusals.js.map +1 -1
  196. package/dist/mockup/routes.d.ts +3 -5
  197. package/dist/mockup/routes.js +19 -162
  198. package/dist/mockup/routes.js.map +1 -1
  199. package/dist/mockup/sketch-limits.d.ts +1 -0
  200. package/dist/mockup/sketch-limits.js +2 -1
  201. package/dist/mockup/sketch-limits.js.map +1 -1
  202. package/dist/mockup/sketch.d.ts +2 -2
  203. package/dist/mockup/sketch.js +2 -1
  204. package/dist/mockup/sketch.js.map +1 -1
  205. package/dist/mockup/slug.d.ts +3 -0
  206. package/dist/mockup/slug.js +7 -0
  207. package/dist/mockup/slug.js.map +1 -0
  208. package/dist/mockup/source-routes.d.ts +5 -4
  209. package/dist/mockup/source-routes.js +26 -17
  210. package/dist/mockup/source-routes.js.map +1 -1
  211. package/dist/mockup/source.js +2 -1
  212. package/dist/mockup/source.js.map +1 -1
  213. package/dist/mockup/state-patch.d.ts +22 -0
  214. package/dist/mockup/state-patch.js +75 -0
  215. package/dist/mockup/state-patch.js.map +1 -0
  216. package/dist/mockup/state.d.ts +112 -0
  217. package/dist/mockup/state.js +22 -0
  218. package/dist/mockup/state.js.map +1 -0
  219. package/dist/mockup/store-list.d.ts +28 -0
  220. package/dist/mockup/store-list.js +89 -0
  221. package/dist/mockup/store-list.js.map +1 -0
  222. package/dist/mockup/store.d.ts +16 -37
  223. package/dist/mockup/store.js +85 -200
  224. package/dist/mockup/store.js.map +1 -1
  225. package/dist/mockup/table-archive.d.ts +0 -1
  226. package/dist/mockup/table-archive.js +0 -16
  227. package/dist/mockup/table-archive.js.map +1 -1
  228. package/dist/mockup/tenancy.d.ts +19 -0
  229. package/dist/mockup/tenancy.js +73 -0
  230. package/dist/mockup/tenancy.js.map +1 -0
  231. package/dist/mockup/tenant-rows.d.ts +4 -0
  232. package/dist/mockup/tenant-rows.js +19 -0
  233. package/dist/mockup/tenant-rows.js.map +1 -0
  234. package/dist/pages/settings/users/account-activity.js +2 -1
  235. package/dist/pages/settings/users/account-activity.js.map +1 -1
  236. package/dist/routes/auth/oauth/config.js +1 -1
  237. package/dist/routes/auth/oauth/config.js.map +1 -1
  238. package/dist/routes/system-state.js +1 -1
  239. package/dist/routes/system-state.js.map +1 -1
  240. package/dist/store/interfaces.js +2 -1
  241. package/dist/store/interfaces.js.map +1 -1
  242. package/dist/utils/export-jobs-run.js +4 -4
  243. package/dist/utils/export-jobs-run.js.map +1 -1
  244. package/dist/utils/export-jobs.js +15 -3
  245. package/dist/utils/export-jobs.js.map +1 -1
  246. package/e2e/index.mjs +25 -3
  247. package/e2e/journey-run.mjs +4 -3
  248. package/e2e/run-state.mjs +11 -0
  249. package/e2e/stack.mjs +9 -1
  250. package/frontend-vue/eslint-globals.generated.mjs +40 -38
  251. package/frontend-vue/layers/dms-core/app/build/utils/asyncDataScope.ts +3 -31
  252. package/frontend-vue/layers/dms-core/app/composables/auth/useAuthFetch.ts +8 -2
  253. package/frontend-vue/layers/dms-core/app/composables/page/useSiteLayout.ts +5 -2
  254. package/frontend-vue/layers/dms-core/app/composables/period/usePeriod.ts +13 -19
  255. package/frontend-vue/layers/dms-core/app/composables/period/usePeriodScope.ts +6 -15
  256. package/frontend-vue/layers/dms-core/app/utils/localFetchAnswers.ts +124 -0
  257. package/frontend-vue/layers/dms-core/app/utils/textDigest.ts +29 -0
  258. package/frontend-vue/layers/dms-core/i18n/locales/core-en-GB.json +27 -3
  259. package/frontend-vue/layers/dms-core/i18n/locales/core-fr-FR.json +27 -3
  260. package/frontend-vue/layers/dms-layout/app/build/components/layout/DashboardSidebar.vue +110 -30
  261. package/frontend-vue/layers/dms-layout/app/build/components/layout/MockupSidebarMenu.vue +21 -6
  262. package/frontend-vue/layers/dms-layout/app/build/components/layout/SidebarUserMenu.vue +19 -7
  263. package/frontend-vue/layers/dms-layout/app/build/components/layout/mockupMenu.ts +79 -9
  264. package/frontend-vue/layers/dms-layout/app/build/components/layout/mockupWidgets.ts +65 -0
  265. package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/shell/SettingsNav.vue +17 -4
  266. package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/shell/SettingsShell.vue +12 -0
  267. package/frontend-vue/layers/dms-layout/app/build/composables/notification/useNotificationGroupsOpen.ts +3 -3
  268. package/frontend-vue/layers/dms-layout/app/build/composables/notification/useNotificationPreferences.ts +13 -8
  269. package/frontend-vue/layers/dms-layout/app/build/composables/settings/useSettingsNavigation.ts +39 -0
  270. package/frontend-vue/layers/dms-layout/app/build/mockups/created-mockups.ts +12 -2
  271. package/frontend-vue/layers/dms-layout/app/build/mockups/created-toast.ts +9 -1
  272. package/frontend-vue/layers/dms-layout/app/composables/page/useModuleHistory.ts +3 -1
  273. package/frontend-vue/layers/dms-layout/app/custom-layouts/PreviewLayout.vue +53 -6
  274. package/frontend-vue/layers/dms-ui/app/build/components/block-preview/BlockPreviewSketch.vue +31 -5
  275. package/frontend-vue/layers/dms-ui/app/build/components/block-preview/MockupCanvasChrome.vue +1 -1
  276. package/frontend-vue/layers/dms-ui/app/build/components/block-preview/MockupDatabase.vue +153 -0
  277. package/frontend-vue/layers/dms-ui/app/build/components/block-preview/MockupEmptyState.vue +23 -0
  278. package/frontend-vue/layers/dms-ui/app/build/components/block-preview/MockupModuleStore.vue +164 -0
  279. package/frontend-vue/layers/dms-ui/app/build/components/block-preview/MockupOverview.vue +59 -33
  280. package/frontend-vue/layers/dms-ui/app/build/components/block-preview/MockupOverviewSectionLabel.vue +51 -0
  281. package/frontend-vue/layers/dms-ui/app/build/components/block-preview/MockupOverviewSlot.vue +58 -12
  282. package/frontend-vue/layers/dms-ui/app/build/components/block-preview/MockupPagesList.vue +21 -0
  283. package/frontend-vue/layers/dms-ui/app/build/components/block-preview/MockupPinCard.vue +1 -1
  284. package/frontend-vue/layers/dms-ui/app/build/components/block-preview/MockupPinLayer.vue +1 -1
  285. package/frontend-vue/layers/dms-ui/app/build/components/block-preview/MockupReconnecting.vue +17 -0
  286. package/frontend-vue/layers/dms-ui/app/build/components/block-preview/MockupTenantBanner.vue +48 -0
  287. package/frontend-vue/layers/dms-ui/app/build/components/block-preview/MockupTopBar.vue +77 -9
  288. package/frontend-vue/layers/dms-ui/app/build/components/block-preview/MockupWorkbench.vue +130 -45
  289. package/frontend-vue/layers/dms-ui/app/build/components/block-preview/MockupWorkspaceSwitcher.vue +142 -0
  290. package/frontend-vue/layers/dms-ui/app/build/components/block-preview/{MockupOverviewZoom.vue → MockupZoomControls.vue} +23 -15
  291. package/frontend-vue/layers/dms-ui/app/build/components/table/tableComponentTheme.ts +4 -2
  292. package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/previewCapture.ts +70 -3
  293. package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/previewNavigation.ts +44 -4
  294. package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/useBlockInspector.ts +14 -2
  295. package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/useBlockPreviewEmbed.ts +241 -35
  296. package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/useFixtureBatches.ts +154 -0
  297. package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/useMockupActivation.ts +157 -0
  298. package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/useMockupDatabase.ts +165 -0
  299. package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/useMockupEditing.ts +13 -1
  300. package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/useMockupFrameRender.ts +126 -0
  301. package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/useMockupFrameSize.ts +10 -5
  302. package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/useMockupOverview.ts +63 -25
  303. package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/useMockupPageFrame.ts +82 -29
  304. package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/useMockupPageZoom.ts +138 -0
  305. package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/useMockupPdfExport.ts +124 -0
  306. package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/useMockupPins.ts +1 -1
  307. package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/useMockupRealData.ts +10 -3
  308. package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/useMockupRoutePage.ts +60 -14
  309. package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/useMockupSession.ts +8 -3
  310. package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/useMockupSpec.ts +6 -2
  311. package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/useMockupTenancy.ts +37 -0
  312. package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/useMockupToolModes.ts +5 -7
  313. package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/useMockupViewerActivation.ts +56 -0
  314. package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/useMockupViewerExport.ts +46 -0
  315. package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/useMockupViewerPages.ts +29 -8
  316. package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/useMockupViewerShortcuts.ts +13 -2
  317. package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/useOverviewCaptures.ts +39 -10
  318. package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/usePersistedCaptures.ts +151 -0
  319. package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/usePreviewFrame.ts +19 -0
  320. package/frontend-vue/layers/dms-ui/app/build/composables/containers/drawerSize.ts +4 -1
  321. package/frontend-vue/layers/dms-ui/app/build/composables/data-types/defaultIdentityCells.ts +1 -1
  322. package/frontend-vue/layers/dms-ui/app/build/composables/data-types/relationBadges.ts +2 -1
  323. package/frontend-vue/layers/dms-ui/app/build/composables/form/formState.ts +3 -1
  324. package/frontend-vue/layers/dms-ui/app/build/composables/navigation/useNavBadges.ts +3 -1
  325. package/frontend-vue/layers/dms-ui/app/build/composables/page-toolbar/toolbarControlHeight.ts +1 -1
  326. package/frontend-vue/layers/dms-ui/app/build/composables/table-view/tableViewPresence.ts +10 -4
  327. package/frontend-vue/layers/dms-ui/app/build/composables/table-view/tableViewSelection.ts +5 -2
  328. package/frontend-vue/layers/dms-ui/app/build/composables/table-view/useExpandedRowDetails.ts +6 -6
  329. package/frontend-vue/layers/dms-ui/app/build/composables/table-view/utils/card.ts +4 -1
  330. package/frontend-vue/layers/dms-ui/app/build/composables/table-view/utils/formTexts.ts +2 -2
  331. package/frontend-vue/layers/dms-ui/app/build/composables/table-view/utils/views.ts +1 -1
  332. package/frontend-vue/layers/dms-ui/app/build/mockups/MockupCards.vue +37 -3
  333. package/frontend-vue/layers/dms-ui/app/build/mockups/MockupCreateModal.vue +130 -0
  334. package/frontend-vue/layers/dms-ui/app/build/mockups/manage.ts +20 -1
  335. package/frontend-vue/layers/dms-ui/app/build/utils/blockPreviewChannel.ts +1 -8
  336. package/frontend-vue/layers/dms-ui/app/build/utils/blockPreviewMessages.ts +141 -103
  337. package/frontend-vue/layers/dms-ui/app/build/utils/blockPreviewNavigation.ts +332 -0
  338. package/frontend-vue/layers/dms-ui/app/build/utils/blockPreviewRects.ts +22 -0
  339. package/frontend-vue/layers/dms-ui/app/build/utils/mockup.ts +75 -173
  340. package/frontend-vue/layers/dms-ui/app/build/utils/mockupActivation.ts +100 -0
  341. package/frontend-vue/layers/dms-ui/app/build/utils/mockupAnnotations.ts +146 -0
  342. package/frontend-vue/layers/dms-ui/app/build/utils/mockupCaptures.ts +118 -9
  343. package/frontend-vue/layers/dms-ui/app/build/utils/mockupEdit.ts +0 -2
  344. package/frontend-vue/layers/dms-ui/app/build/utils/mockupEntities.ts +80 -0
  345. package/frontend-vue/layers/dms-ui/app/build/utils/mockupFrame.ts +123 -8
  346. package/frontend-vue/layers/dms-ui/app/build/utils/mockupLinks.ts +6 -2
  347. package/frontend-vue/layers/dms-ui/app/build/utils/mockupModuleNavigation.ts +171 -0
  348. package/frontend-vue/layers/dms-ui/app/build/utils/mockupModules.ts +138 -0
  349. package/frontend-vue/layers/dms-ui/app/build/utils/mockupOverview.ts +42 -8
  350. package/frontend-vue/layers/dms-ui/app/build/utils/mockupOverviewSections.ts +66 -0
  351. package/frontend-vue/layers/dms-ui/app/build/utils/mockupPageTree.ts +15 -0
  352. package/frontend-vue/layers/dms-ui/app/build/utils/mockupPins.ts +6 -8
  353. package/frontend-vue/layers/dms-ui/app/build/utils/mockupRealData.ts +18 -5
  354. package/frontend-vue/layers/dms-ui/app/build/utils/mockupSchema.ts +177 -0
  355. package/frontend-vue/layers/dms-ui/app/build/utils/mockupSections.ts +1 -2
  356. package/frontend-vue/layers/dms-ui/app/build/utils/mockupShortcuts.ts +17 -6
  357. package/frontend-vue/layers/dms-ui/app/build/utils/mockupSketchStates.ts +7 -2
  358. package/frontend-vue/layers/dms-ui/app/build/utils/mockupSpec.ts +0 -3
  359. package/frontend-vue/layers/dms-ui/app/build/utils/mockupStatePatch.ts +179 -0
  360. package/frontend-vue/layers/dms-ui/app/build/utils/mockupStream.ts +17 -2
  361. package/frontend-vue/layers/dms-ui/app/build/utils/mockupTenancy.ts +143 -0
  362. package/frontend-vue/layers/dms-ui/app/build/utils/mockupTenants.ts +23 -0
  363. package/frontend-vue/layers/dms-ui/app/build/utils/mockupVersions.ts +2 -7
  364. package/frontend-vue/layers/dms-ui/app/build/utils/previewFixtureAnswers.ts +156 -0
  365. package/frontend-vue/layers/dms-ui/app/build/utils/previewFixturesOnly.ts +8 -0
  366. package/frontend-vue/layers/dms-ui/app/build/utils/previewPageLayout.ts +108 -6
  367. package/frontend-vue/layers/dms-ui/app/build/utils/previewPageQuery.ts +5 -1
  368. package/frontend-vue/layers/dms-ui/app/build/utils/previewRows.ts +400 -0
  369. package/frontend-vue/layers/dms-ui/app/build/utils/recordGuards.ts +15 -0
  370. package/frontend-vue/layers/dms-ui/app/build/utils/sketch.ts +40 -10
  371. package/frontend-vue/layers/dms-ui/app/components/block-preview/BlockPreview.vue +23 -6
  372. package/frontend-vue/layers/dms-ui/app/components/block-preview/MockupViewer.vue +2 -0
  373. package/frontend-vue/layers/dms-ui/app/components/chart/ChartBlock.vue +1 -2
  374. package/frontend-vue/layers/dms-ui/app/components/form/components/RepeaterTable.vue +3 -1
  375. package/frontend-vue/layers/dms-ui/app/composables/chart/useApexChart.ts +0 -2
  376. package/frontend-vue/layers/dms-ui/app/composables/chart/useApexChart.types.ts +0 -1
  377. package/frontend-vue/layers/dms-ui/app/composables/chart/useChartTheme.ts +8 -2
  378. package/frontend-vue/layers/dms-ui/app/composables/table-view/useTableDataChanges.ts +5 -4
  379. package/frontend-vue/layers/dms-ui/app/entries/components/block-preview/MockupModuleStore.ts +2 -0
  380. package/frontend-vue/layers/dms-ui/app/entries/components/block-preview/MockupTenantBanner.ts +2 -0
  381. package/frontend-vue/layers/dms-ui/app/entries/components/block-preview/MockupWorkspaceSwitcher.ts +2 -0
  382. package/frontend-vue/layers/dms-ui/app/entries/composables/block-preview/useFixtureBatches.ts +1 -0
  383. package/frontend-vue/layers/dms-ui/app/entries/composables/block-preview/useMockupActivation.ts +1 -0
  384. package/frontend-vue/layers/dms-ui/app/entries/composables/block-preview/useMockupOverview.ts +1 -0
  385. package/frontend-vue/layers/dms-ui/app/entries/composables/block-preview/useMockupPdfExport.ts +1 -0
  386. package/frontend-vue/layers/dms-ui/app/entries/composables/block-preview/useMockupRoutePage.ts +1 -0
  387. package/frontend-vue/layers/dms-ui/app/entries/composables/block-preview/useMockupSession.ts +1 -0
  388. package/frontend-vue/layers/dms-ui/app/entries/composables/block-preview/useMockupTenancy.ts +1 -0
  389. package/frontend-vue/layers/dms-ui/app/entries/composables/block-preview/usePersistedCaptures.ts +1 -0
  390. package/frontend-vue/layers/dms-ui/app/entries/utils/json.ts +1 -0
  391. package/frontend-vue/layers/dms-ui/app/entries/utils/mockupActivation.ts +1 -0
  392. package/frontend-vue/layers/dms-ui/app/entries/utils/mockupAnnotations.ts +1 -0
  393. package/frontend-vue/layers/dms-ui/app/entries/utils/mockupModuleNavigation.ts +1 -0
  394. package/frontend-vue/layers/dms-ui/app/entries/utils/mockupOverviewSections.ts +1 -0
  395. package/frontend-vue/layers/dms-ui/app/entries/utils/mockupSchema.ts +1 -0
  396. package/frontend-vue/layers/dms-ui/app/entries/utils/mockupStatePatch.ts +1 -0
  397. package/frontend-vue/layers/dms-ui/app/entries/utils/mockupTenancy.ts +1 -0
  398. package/frontend-vue/layers/dms-ui/app/entries/utils/mockupTenants.ts +1 -0
  399. package/frontend-vue/layers/dms-ui/app/entries/utils/previewFixtureAnswers.ts +1 -0
  400. package/frontend-vue/layers/dms-ui/app/entries/utils/previewRows.ts +1 -0
  401. package/frontend-vue/layers/dms-ui/i18n/locales/ui-en-GB.json +53 -4
  402. package/frontend-vue/layers/dms-ui/i18n/locales/ui-fr-FR.json +53 -4
  403. package/frontend-vue/package.json +2 -2
  404. package/frontend-vue/server/private-options.ts +13 -3
  405. package/package.json +5 -5
  406. package/dist/mockup/row-filters.d.ts +0 -8
  407. package/dist/mockup/row-filters.js +0 -107
  408. package/dist/mockup/row-filters.js.map +0 -1
  409. package/frontend-vue/layers/dms-ui/app/build/components/block-preview/MockupModules.vue +0 -47
package/E2E.md CHANGED
@@ -50,7 +50,7 @@ Each `*.mjs` file of `e2e/journeys/` is a feature, named after the file, and exp
50
50
 
51
51
  `registerJourneys()` reads both from the config that loaded it.
52
52
 
53
- A suite runs on two workers. The global setup starts a run for each, with its own playground copy, ports, MongoDB, mail sink, backends and dashboard, and each worker runs its tests one at a time against its own run, taking the next test in order, the files in alphabetical order. `--workers=N` starts N runs. With `DMS_E2E_RUN`, the suite runs on one worker. A config that starts a `webServer`, such as a mock of an outside API, shares it between the workers, so the global setup refuses more than one: set `workers: 1` with `defineConfig(e2eConfig(), { workers: 1, webServer })`. `registerJourneys()` registers the journeys of the config's `smoke` feature first, then the other features in alphabetical order, then every journey marked `last`, so `--grep @smoke` runs the `smoke` journey before the other journeys. Name the journeys file so that it sorts after the specs (`zz-journeys.spec.ts`): a journey marked `last` changes the playground of its worker's run for the backends that follow, and a spec that sorts after it on that worker cannot start its backend. `--shard=i/N` splits a suite across machines, each with a run of its own.
53
+ A suite runs on two workers, or as many as `DMS_E2E_WORKERS` says. The global setup starts a run for each, with its own playground copy, ports, MongoDB, mail sink, backends and dashboard, and each worker runs its tests one at a time against its own run, taking the next test in order, the files in alphabetical order. Each test on a fresh database gets a backend that has served nothing else, booted ahead of it: the run boots the first one while its dashboard starts, and each test boots the next one while it runs, so only a test that follows one shorter than a backend boot waits for the rest of it. `--workers=N` starts N runs. With `DMS_E2E_RUN`, the suite runs on one worker. A config that starts a `webServer`, such as a mock of an outside API, shares it between the workers, so the global setup refuses more than one: set `workers: 1` with `defineConfig(e2eConfig(), { workers: 1, webServer })`. `registerJourneys()` registers the journeys of the config's `smoke` feature first, then the other features in alphabetical order, then every journey marked `last`, so `--grep @smoke` runs the `smoke` journey before the other journeys. Name the journeys file so that it sorts after the specs (`zz-journeys.spec.ts`): a journey marked `last` changes the playground of its worker's run for the backends that follow, and a spec that sorts after it on that worker cannot start its backend. `--shard=i/N` splits a suite across machines, each with a run of its own.
54
54
 
55
55
  ## Write a spec
56
56
 
@@ -119,7 +119,8 @@ test("the administrator reads the onboarding state", async () => {
119
119
  - `DMS_E2E_PREBUILT=1`: the global setup and `startRun` skip the config's `prepare` commands (install and build), for a checkout an earlier run prepared.
120
120
  - `DMS_E2E_RUN=<run folder>`: the tests drive that run, such as one `startRun` started, and the suite stops nothing. A run whose dashboard is not served the way the suite asks is refused.
121
121
  - `DMS_E2E_RUNS`: the folder the run folders go to.
122
- - `DMS_E2E_NO_STANDBY=1`: each fresh database's backend starts when the test needs it, rather than one ahead.
122
+ - `DMS_E2E_WORKERS=<n>`: the suite runs on `n` workers, each with a run of its own, in place of two. Raise it on a runner with the cores and memory for more runs; `--workers=N` and a config's `workers` still take precedence.
123
+ - `DMS_E2E_NO_STANDBY=1`: each fresh database's backend starts when the test needs it, rather than one ahead, the first test's included.
123
124
  - `DMS_E2E_SHUFFLE=<seed>`: `registerJourneys()` registers the journeys not marked `last` in an order drawn from the seed, the same for the same seed, and the `last` ones after them. A suite that passes under several seeds holds no journey that depends on another's state.
124
125
 
125
126
  ## Port recipe
@@ -40,6 +40,17 @@
40
40
  }
41
41
  },
42
42
  "tree": [
43
+ {
44
+ "id": "toolbar",
45
+ "type": "PageToolbar",
46
+ "children": [
47
+ {
48
+ "id": "period",
49
+ "type": "PeriodSelector",
50
+ "options": { "defaultPreset": "last-7-days" }
51
+ }
52
+ ]
53
+ },
43
54
  {
44
55
  "type": "Grid",
45
56
  "options": { "gap": "1rem", "minColumnWidth": "220px" },
@@ -42,7 +42,6 @@
42
42
  "pages": {
43
43
  "type": "array",
44
44
  "minItems": 1,
45
- "maxItems": 50,
46
45
  "items": {
47
46
  "type": "object",
48
47
  "required": [
@@ -88,9 +87,139 @@
88
87
  }
89
88
  }
90
89
  },
90
+ "entities": {
91
+ "type": "object",
92
+ "propertyNames": {
93
+ "pattern": "^[A-Za-z0-9_-]{1,64}$"
94
+ },
95
+ "description": "The app's data model: its tables, by name. The viewer draws them as a diagram of their relations and a browser of their rows. A page fixture { \"entity\": \"<name>\", \"rows\": [...] } holds the rows of one, checked against its fields. Declare an entity before a fixture points at it.",
96
+ "additionalProperties": {
97
+ "type": "object",
98
+ "required": [
99
+ "fields"
100
+ ],
101
+ "additionalProperties": false,
102
+ "properties": {
103
+ "tenantScoped": {
104
+ "type": "boolean",
105
+ "description": "true when each tenant has its own rows of this entity, as with a tenant-scoped DMS model. The entity then has a \"tenantId\" string field right after \"id\", declared or implied, and SaaS mode shows a tenant only the rows whose \"tenantId\" is its id."
106
+ },
107
+ "fields": {
108
+ "type": "object",
109
+ "propertyNames": {
110
+ "pattern": "^[A-Za-z0-9_-]{1,64}$"
111
+ },
112
+ "description": "The columns of the entity, by name. \"id\" is the key of every row: leave it out and it is a string field; declare it to give it another type. The viewer draws \"id\" first, then the other fields in this order.",
113
+ "additionalProperties": {
114
+ "oneOf": [
115
+ {
116
+ "type": "object",
117
+ "required": [
118
+ "type"
119
+ ],
120
+ "additionalProperties": false,
121
+ "description": "A plain field. Types: string; number; price (an amount); boolean; date (a string \"Date.parse\" reads, such as 2026-11-13); email; url (an absolute URL).",
122
+ "properties": {
123
+ "type": {
124
+ "enum": [
125
+ "string",
126
+ "number",
127
+ "price",
128
+ "boolean",
129
+ "date",
130
+ "email",
131
+ "url"
132
+ ]
133
+ }
134
+ }
135
+ },
136
+ {
137
+ "type": "object",
138
+ "required": [
139
+ "type",
140
+ "values"
141
+ ],
142
+ "additionalProperties": false,
143
+ "description": "A field that takes one of a fixed list of values.",
144
+ "properties": {
145
+ "type": {
146
+ "const": "enum"
147
+ },
148
+ "values": {
149
+ "type": "array",
150
+ "minItems": 1,
151
+ "items": {
152
+ "type": "string",
153
+ "minLength": 1
154
+ },
155
+ "description": "The values it takes, at least one."
156
+ }
157
+ }
158
+ },
159
+ {
160
+ "type": "object",
161
+ "required": [
162
+ "type",
163
+ "to"
164
+ ],
165
+ "additionalProperties": false,
166
+ "description": "A field that holds the id of a row of another entity, drawn as a relation in the diagram.",
167
+ "properties": {
168
+ "type": {
169
+ "const": "ref"
170
+ },
171
+ "to": {
172
+ "type": "string",
173
+ "pattern": "^[A-Za-z0-9_-]{1,64}$",
174
+ "description": "The entity it points to. It must be one of the spec's entities."
175
+ }
176
+ }
177
+ }
178
+ ]
179
+ }
180
+ }
181
+ }
182
+ }
183
+ },
184
+ "fixtures": {
185
+ "type": "object",
186
+ "required": [
187
+ "tenants"
188
+ ],
189
+ "additionalProperties": false,
190
+ "description": "Data the mockup itself draws, beside the data of its pages.",
191
+ "properties": {
192
+ "tenants": {
193
+ "type": "array",
194
+ "description": "The workspaces the viewer's SaaS mode lists in its switcher. A mockup that lists the \"saas\" module can be viewed as one of them: rows of a tenant-scoped entity whose \"tenantId\" is another tenant's are hidden.",
195
+ "items": {
196
+ "type": "object",
197
+ "required": [
198
+ "id",
199
+ "name"
200
+ ],
201
+ "additionalProperties": false,
202
+ "properties": {
203
+ "id": {
204
+ "type": "string",
205
+ "minLength": 1,
206
+ "description": "The tenant's id, which \"tenantId\" holds in its rows. Unique."
207
+ },
208
+ "name": {
209
+ "type": "string",
210
+ "description": "The name the switcher shows."
211
+ },
212
+ "plan": {
213
+ "type": "string",
214
+ "description": "The plan, shown under the name in the switcher."
215
+ }
216
+ }
217
+ }
218
+ }
219
+ }
220
+ },
91
221
  "categories": {
92
222
  "type": "array",
93
- "maxItems": 50,
94
223
  "description": "The sections of the sidebar, in the menu's order, as categories of the dashboard's menu (RootCategory). A page names one in its category.",
95
224
  "items": {
96
225
  "type": "object",
@@ -163,28 +292,196 @@
163
292
  }
164
293
  }
165
294
  },
295
+ "layouts": {
296
+ "type": "array",
297
+ "maxItems": 10,
298
+ "description": "Custom layouts a page names with layout: { \"type\": \"custom\", \"id\": <id> }, each drawn around the page from sketches: a header above it, an aside beside it and a footer under it. Each region follows the sketch rules: static HTML and CSS, drawn in a sandboxed frame. The build writes a layout as a layout of the project, never in the DMS.",
299
+ "items": {
300
+ "type": "object",
301
+ "required": [
302
+ "id",
303
+ "title"
304
+ ],
305
+ "additionalProperties": false,
306
+ "description": "Draws at least one of header, aside and footer.",
307
+ "anyOf": [
308
+ {
309
+ "required": [
310
+ "header"
311
+ ]
312
+ },
313
+ {
314
+ "required": [
315
+ "aside"
316
+ ]
317
+ },
318
+ {
319
+ "required": [
320
+ "footer"
321
+ ]
322
+ }
323
+ ],
324
+ "properties": {
325
+ "id": {
326
+ "type": "string",
327
+ "pattern": "^[a-z0-9][a-z0-9-]{0,63}$",
328
+ "description": "Unique among the layouts."
329
+ },
330
+ "title": {
331
+ "type": "string"
332
+ },
333
+ "description": {
334
+ "type": "string"
335
+ },
336
+ "dashboard": {
337
+ "type": "boolean",
338
+ "default": true,
339
+ "description": "true keeps the dashboard's sidebar, top bar and page header around the page; false leaves them out, as EmptyLayout does."
340
+ },
341
+ "header": {
342
+ "type": "object",
343
+ "required": [
344
+ "html"
345
+ ],
346
+ "additionalProperties": false,
347
+ "description": "Drawn above the page.",
348
+ "properties": {
349
+ "html": {
350
+ "type": "string",
351
+ "maxLength": 524288
352
+ },
353
+ "css": {
354
+ "type": "string",
355
+ "maxLength": 524288
356
+ },
357
+ "height": {
358
+ "type": "integer",
359
+ "minimum": 32,
360
+ "maximum": 1200,
361
+ "default": 64,
362
+ "description": "The sketch's frame height, in pixels."
363
+ }
364
+ }
365
+ },
366
+ "aside": {
367
+ "type": "object",
368
+ "required": [
369
+ "html"
370
+ ],
371
+ "additionalProperties": false,
372
+ "description": "Drawn beside the page.",
373
+ "properties": {
374
+ "html": {
375
+ "type": "string",
376
+ "maxLength": 524288
377
+ },
378
+ "css": {
379
+ "type": "string",
380
+ "maxLength": 524288
381
+ },
382
+ "height": {
383
+ "type": "integer",
384
+ "minimum": 32,
385
+ "maximum": 1200,
386
+ "default": 480,
387
+ "description": "The sketch's frame height, in pixels."
388
+ },
389
+ "width": {
390
+ "type": "integer",
391
+ "minimum": 120,
392
+ "maximum": 480,
393
+ "default": 280,
394
+ "description": "The aside's width, in pixels."
395
+ },
396
+ "side": {
397
+ "enum": [
398
+ "start",
399
+ "end"
400
+ ],
401
+ "default": "end",
402
+ "description": "The side of the page the aside is on: start is the left in a left-to-right language."
403
+ }
404
+ }
405
+ },
406
+ "footer": {
407
+ "type": "object",
408
+ "required": [
409
+ "html"
410
+ ],
411
+ "additionalProperties": false,
412
+ "description": "Drawn under the page.",
413
+ "properties": {
414
+ "html": {
415
+ "type": "string",
416
+ "maxLength": 524288
417
+ },
418
+ "css": {
419
+ "type": "string",
420
+ "maxLength": 524288
421
+ },
422
+ "height": {
423
+ "type": "integer",
424
+ "minimum": 32,
425
+ "maximum": 1200,
426
+ "default": 48,
427
+ "description": "The sketch's frame height, in pixels."
428
+ }
429
+ }
430
+ }
431
+ }
432
+ }
433
+ },
166
434
  "modules": {
167
435
  "type": "array",
168
- "maxItems": 50,
169
436
  "uniqueItems": true,
170
- "description": "The DMS modules the app needs, by their ids in the module store catalog. Building the mockup installs each one (`ajs project modules add <package>`), and the viewer lists them.",
437
+ "description": "The DMS modules the app installs. A string is a catalog module's id in the module store catalog: building the mockup installs it (`ajs project modules add <package>`), the viewer's Modules button lists it in the module store, and it brings its sidebar widgets and settings pages, drawn from the spec's fixtures. An installed module's own pages are never drawn: the mockup shows only the pages it adds or extends. An object is a custom module, which a page joins with its `module`. A module that provides tenancy, such as saas, makes the viewer show the mockup in SaaS mode, as the first of fixtures.tenants.",
171
438
  "items": {
172
- "enum": [
173
- "ai",
174
- "api",
175
- "automation",
176
- "database",
177
- "lang",
178
- "mailing",
179
- "marketing",
180
- "media",
181
- "saas"
439
+ "anyOf": [
440
+ {
441
+ "enum": [
442
+ "ai",
443
+ "api",
444
+ "automation",
445
+ "database",
446
+ "lang",
447
+ "mailing",
448
+ "marketing",
449
+ "media",
450
+ "saas"
451
+ ],
452
+ "description": "A catalog module's id."
453
+ },
454
+ {
455
+ "type": "object",
456
+ "required": [
457
+ "id",
458
+ "title"
459
+ ],
460
+ "additionalProperties": false,
461
+ "description": "A custom module, listed in the module store. Spec pages with its id as `module` sit at its owner-only root, /modules/<id>. Its id is no catalog id.",
462
+ "properties": {
463
+ "id": {
464
+ "type": "string",
465
+ "pattern": "^[a-z0-9][a-z0-9-]{0,63}$"
466
+ },
467
+ "title": {
468
+ "type": "string"
469
+ },
470
+ "icon": {
471
+ "type": "string",
472
+ "description": "An icon name, e.g. i-ph-truck."
473
+ },
474
+ "description": {
475
+ "type": "string",
476
+ "description": "A line the module store shows on its card."
477
+ }
478
+ }
479
+ }
182
480
  ]
183
481
  }
184
482
  },
185
483
  "pages": {
186
484
  "type": "array",
187
- "maxItems": 50,
188
485
  "description": "May be empty: create the mockup first and add its pages later.",
189
486
  "items": {
190
487
  "$ref": "#/$defs/page"
@@ -275,7 +572,35 @@
275
572
  },
276
573
  "category": {
277
574
  "type": "string",
278
- "description": "The id of the categories entry the page is listed under in the sidebar. Left out, the page is in the default \"Pages\" section."
575
+ "description": "The id of the categories entry the page is listed under in the sidebar. Left out, the page is in the default \"Pages\" section. A page with a module sits at its module's root: it sets no category."
576
+ },
577
+ "settings": {
578
+ "const": true,
579
+ "description": "true adds the page to the dashboard's Settings, under settingsCategory: its full id is settings.<id> and its path /settings/<id>. Without a layout of its own, it is drawn in the settings layout. Not with `category`, `module` or `extends`."
580
+ },
581
+ "module": {
582
+ "type": "string",
583
+ "pattern": "^[a-z0-9][a-z0-9-]{0,63}$",
584
+ "description": "The id of a module the spec's modules list, a catalog id or a custom one: the page is added to that module's owner-only root, /modules/<id>, as a page declared with `module` under RegisterModule. Not with `extends`."
585
+ },
586
+ "extends": {
587
+ "type": "string",
588
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}(\\.[A-Za-z0-9][A-Za-z0-9_-]{0,63}){0,7}$",
589
+ "description": "The full dotted id of an existing page of the app or of an installed module, such as settings.workspace.members, saas.billing or orders.list. The page's blocks are the components a @RegisterPageExtension(<extends>) class injects into that page, and the mockup shows only them, around a placeholder for the page's own blocks. Several pages may extend one target. Not with `module`, and not a page of this spec."
590
+ },
591
+ "before": {
592
+ "type": "string",
593
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}(\\.[A-Za-z0-9][A-Za-z0-9_-]{0,63}){0,7}$",
594
+ "description": "Needs `extends`. The anchor on the target page the blocks go before, a static field name or a dotted path such as table or content.tasks, as .before(anchor). Not with `after`."
595
+ },
596
+ "after": {
597
+ "type": "string",
598
+ "pattern": "^[A-Za-z0-9][A-Za-z0-9_-]{0,63}(\\.[A-Za-z0-9][A-Za-z0-9_-]{0,63}){0,7}$",
599
+ "description": "Needs `extends`. The anchor on the target page the blocks go after, as .after(anchor). Not with `before`. With neither, the blocks are appended after the target's own."
600
+ },
601
+ "order": {
602
+ "type": "number",
603
+ "description": "Needs `extends`. Orders extensions that land at the same spot, as .order(n): the lower goes first, a missing one is 0, and equal orders fall back to the page id, then the spec's order."
279
604
  },
280
605
  "menu": {
281
606
  "type": "boolean",
@@ -443,7 +768,7 @@
443
768
  "description": "The buttons right of the title, in order, as DefaultLayout({ headerActions }) declares them."
444
769
  },
445
770
  "layout": {
446
- "description": "The layout the page is drawn and built in: \"default\" (DefaultLayout, the dashboard frame), \"form-page\" (FormPageLayout, the frame with a readable column), \"settings\" (SettingsLayout, the frame with the settings navigation) or \"empty\" (EmptyLayout, no sidebar, no top bar and no page header). A name, or { type, options } with the layout's options. Absent, the page takes the dashboard frame.",
771
+ "description": "The layout the page is drawn and built in: \"default\" (DefaultLayout, the dashboard frame), \"form-page\" (FormPageLayout, the frame with a readable column), \"settings\" (SettingsLayout, the frame with the settings navigation) or \"empty\" (EmptyLayout, no sidebar, no top bar and no page header). A name, or { type, options } with the layout's options. { type: \"custom\", id } draws the page in the custom layout of `layouts` with that id. Absent, the page takes the dashboard frame, and a settings page the settings layout.",
447
772
  "oneOf": [
448
773
  {
449
774
  "enum": [
@@ -453,6 +778,24 @@
453
778
  "empty"
454
779
  ]
455
780
  },
781
+ {
782
+ "type": "object",
783
+ "required": [
784
+ "type",
785
+ "id"
786
+ ],
787
+ "additionalProperties": false,
788
+ "properties": {
789
+ "type": {
790
+ "const": "custom"
791
+ },
792
+ "id": {
793
+ "type": "string",
794
+ "pattern": "^[a-z0-9][a-z0-9-]{0,63}$",
795
+ "description": "The id of an entry of the spec's `layouts`."
796
+ }
797
+ }
798
+ },
456
799
  {
457
800
  "type": "object",
458
801
  "required": [
@@ -629,17 +972,30 @@
629
972
  {
630
973
  "$ref": "#/$defs/generate"
631
974
  },
975
+ {
976
+ "$ref": "#/$defs/entityFixture"
977
+ },
632
978
  {
633
979
  "not": {
634
980
  "type": "object",
635
- "required": [
636
- "$generate"
981
+ "anyOf": [
982
+ {
983
+ "required": [
984
+ "$generate"
985
+ ]
986
+ },
987
+ {
988
+ "required": [
989
+ "entity",
990
+ "rows"
991
+ ]
992
+ }
637
993
  ]
638
994
  }
639
995
  }
640
996
  ]
641
997
  },
642
- "description": "Data a block reads: an option \"fixture:<key>\" is served from here. A value { \"$generate\": { \"rows\", \"fields\" } } is replaced by generated rows."
998
+ "description": "Data a block reads: an option \"fixture:<key>\" is served from here. A value { \"$generate\": { \"rows\", \"fields\" } } is replaced by generated rows; a value { \"entity\", \"rows\" } holds the rows of an entity of the spec."
643
999
  },
644
1000
  "tree": {
645
1001
  "type": "array",
@@ -754,6 +1110,29 @@
754
1110
  }
755
1111
  }
756
1112
  },
1113
+ "entityFixture": {
1114
+ "type": "object",
1115
+ "required": [
1116
+ "entity",
1117
+ "rows"
1118
+ ],
1119
+ "additionalProperties": false,
1120
+ "description": "The rows of an entity, as a fixture. Read as an array of row objects, by a table's `fixture:<key>` as by any other block. Every row is checked against the entity: each key is one of its fields, each value fits the field's type (null always does), and a ref holds the id of a row of its target once the target has rows. The viewer lists them in the data browser.",
1121
+ "properties": {
1122
+ "entity": {
1123
+ "type": "string",
1124
+ "pattern": "^[A-Za-z0-9_-]{1,64}$",
1125
+ "description": "The name of one of the spec's entities."
1126
+ },
1127
+ "rows": {
1128
+ "type": "array",
1129
+ "items": {
1130
+ "type": "object"
1131
+ },
1132
+ "description": "The rows, as objects keyed by field name. A row whose id an earlier row of the entity has is dropped."
1133
+ }
1134
+ }
1135
+ },
757
1136
  "node": {
758
1137
  "oneOf": [
759
1138
  {
@@ -1,5 +1,6 @@
1
1
  /**
2
- * The Playwright config of a suite: two workers, each against a run of its
2
+ * The Playwright config of a suite: two workers, or as many as
3
+ * `DMS_E2E_WORKERS` says, each against a run of its
3
4
  * own that the global setup starts (one worker when `DMS_E2E_RUN` names
4
5
  * the run to drive), one retry in a GitHub merge-queue run (`merge_group`),
5
6
  * which reports a pass on retry as flaky, and none elsewhere, a test timeout
@@ -16,6 +17,7 @@
16
17
  *
17
18
  * @param {SuiteOptions} [options] The suite
18
19
  * @returns {import("@playwright/test").PlaywrightTestConfig} The config
20
+ * @throws When `DMS_E2E_WORKERS` is set and is no positive integer
19
21
  */
20
22
  export function e2eConfig(options?: SuiteOptions): import("@playwright/test").PlaywrightTestConfig;
21
23
  /**
@@ -47,6 +47,14 @@ export function runPaths(dir: string): {
47
47
  * @returns {string} The database name
48
48
  */
49
49
  export function databaseName(id: string): string;
50
+ /**
51
+ * The database suffix of a run's `count`th journey on a fresh database:
52
+ * `j001` for the first.
53
+ *
54
+ * @param {number} count The journey's rank among the run's fresh databases, from 1
55
+ * @returns {string} The suffix
56
+ */
57
+ export function journeySuffix(count: number): string;
50
58
  /**
51
59
  * Creates the folders of a new run.
52
60
  *
@@ -119,7 +119,9 @@ export function frontendSpec(state: RunState): ReturnType<typeof spec>;
119
119
  * Starts an isolated DMS from a playground: a copy of it in a run folder,
120
120
  * free ports, the `docs` environment, a `verify_<run>` database on a mongod
121
121
  * the run owns (or `--mongo-url`), fresh secrets, a mail sink, and a
122
- * forwarder on the API port to a backend on a port of its own. With
122
+ * forwarder on the API port to a backend on a port of its own, and,
123
+ * unless `noStandby`, the standby backend of the first journey's database,
124
+ * which boots while the dashboard starts. With
123
125
  * `renderer`, the dashboard is that built dms-frontend checkout. Ready once
124
126
  * `/api/onboarding/informations` and `/dms-preview` answer 200. The frontend
125
127
  * build comes from the build cache when an earlier run built the same inputs
@@ -24,7 +24,7 @@ const page_1 = require("@antelopejs/interface-dms/page");
24
24
  const state_1 = require("./state");
25
25
  const HTTP_UNAUTHORIZED = 401;
26
26
  const HTTP_FORBIDDEN = 403;
27
- const ERROR_UNAUTHENTICATED = "Authentication required";
27
+ const ERROR_UNAUTHENTICATED = "$dms.refusals.auth.authentication_required";
28
28
  const ERROR_UNAUTHORIZED = "error.unauthorized";
29
29
  function isPlatformPage(fullId) {
30
30
  return (0, utils_1.isPlatformPage)(fullId);
@@ -1 +1 @@
1
- {"version":3,"file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ue)(utils_1.pagesBySlug, path))
59
59
  return path;
60
60
  return Object.keys(utils_1.pagesBySlug).find((pattern) => pattern.includes(":") && matchesPagePattern(pattern, path));
61
61
  }
@@ -1 +1 @@
1
- {"version":3,"file":"payloads.js","sourceRoot":"","sources":["../../../../src/implementations/dms/page/payloads.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AACA,0CAA6C;AAC7C,yDAGwC;AACxC,uEAAwD;AACxD,wDAA4E;AAC5E,sDAG2B;AAK3B,2FAA2F;AAC3F,8CAAqD;AACrD,oDAA0D;AAC1D,mCAA6E;AAC7E,qDAG0B;AAY1B,qCAIkB;AAClB,iDAAyE;AACzE,+DAAiE;AACjE,mDAAuD;AAE1C,QAAA,0BAA0B,GAAG,MAAM,CAAC;AAEpC,QAAA,uBAAuB,GAAG,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;AAO1D,qBACE,cAA2C,EAC3C,aAAa,GAAa,CAAC,QAAA,0BAA0B,CAAC;IAEtD,MAAM,KAAK,GAAG,MAAM,CAAC,WAAW,CAAC,cAAc,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC;IAClE,KAAK,MAAM,IAAI,IAAI,aAAa;QAAE,OAAO,KAAK,CAAC,IAAI,CAAC,CAAC;IACrD,OAAO,KAAK,CAAC;AACf,CAAC;AAED,4BAAmC,OAAe,EAAE,IAAY;IAC9D,MAAM,eAAe,GAAG,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAC3D,MAAM,YAAY,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IACrD,OAAO,CACL,eAAe,CAAC,MAAM,KAAK,YAAY,CAAC,MAAM;QAC9C,eAAe,CAAC,KAAK,CACnB,CAAC,OAAO,EAAE,KAAK,EAAE,EAAE,CACjB,OAAO,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,OAAO,KAAK,YAAY,CAA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