@antelopejs/dms 0.25.6 → 0.25.7-next.1111.gaba637e

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 (384) hide show
  1. package/CHANGELOG.md +0 -60
  2. package/README.md +1 -1
  3. package/data/mockup-spec.schema.json +223 -303
  4. package/dist/implementations/dms-auth/account-emails.js +2 -2
  5. package/dist/implementations/dms-auth/account-emails.js.map +1 -1
  6. package/dist/implementations/dms-auth/index.js +2 -1
  7. package/dist/implementations/dms-auth/index.js.map +1 -1
  8. package/dist/implementations/dms-base/search-route.js +5 -8
  9. package/dist/implementations/dms-base/search-route.js.map +1 -1
  10. package/dist/implementations/dms-builder/engine/cell-displays.js +1 -4
  11. package/dist/implementations/dms-builder/engine/cell-displays.js.map +1 -1
  12. package/dist/implementations/dms-builder/engine/mapped-displays.js +1 -5
  13. package/dist/implementations/dms-builder/engine/mapped-displays.js.map +1 -1
  14. package/dist/implementations/dms-builder/engine/resource-emit.js +0 -4
  15. package/dist/implementations/dms-builder/engine/resource-emit.js.map +1 -1
  16. package/dist/implementations/dms-builder/engine/theme-assets.js +17 -5
  17. package/dist/implementations/dms-builder/engine/theme-assets.js.map +1 -1
  18. package/dist/index.js +1 -0
  19. package/dist/index.js.map +1 -1
  20. package/dist/mcp/index.d.ts +1 -0
  21. package/dist/mcp/index.js +5 -0
  22. package/dist/mcp/index.js.map +1 -1
  23. package/dist/mcp/mockup-export/capture.d.ts +15 -0
  24. package/dist/mcp/mockup-export/capture.js +97 -0
  25. package/dist/mcp/mockup-export/capture.js.map +1 -0
  26. package/dist/mcp/mockup-export/document.d.ts +4 -0
  27. package/dist/mcp/mockup-export/document.js +199 -0
  28. package/dist/mcp/mockup-export/document.js.map +1 -0
  29. package/dist/mcp/mockup-export/index.d.ts +23 -0
  30. package/dist/mcp/mockup-export/index.js +90 -0
  31. package/dist/mcp/mockup-export/index.js.map +1 -0
  32. package/dist/mcp/mockup-export/plan.d.ts +78 -0
  33. package/dist/mcp/mockup-export/plan.js +257 -0
  34. package/dist/mcp/mockup-export/plan.js.map +1 -0
  35. package/dist/mcp/mockup-export/route.d.ts +13 -0
  36. package/dist/mcp/mockup-export/route.js +66 -0
  37. package/dist/mcp/mockup-export/route.js.map +1 -0
  38. package/dist/mcp/page-verify/index.d.ts +14 -0
  39. package/dist/mcp/page-verify/index.js +9 -5
  40. package/dist/mcp/page-verify/index.js.map +1 -1
  41. package/dist/mcp/page-verify/mockup.d.ts +2 -1
  42. package/dist/mcp/page-verify/mockup.js +1 -0
  43. package/dist/mcp/page-verify/mockup.js.map +1 -1
  44. package/dist/mcp/page-verify/playwright.d.ts +22 -4
  45. package/dist/mcp/page-verify/playwright.js.map +1 -1
  46. package/dist/mcp/tools/mockup-apply-to-page.js +1 -1
  47. package/dist/mcp/tools/mockup-apply-to-page.js.map +1 -1
  48. package/dist/mcp/tools/mockup-export-pdf.d.ts +1 -0
  49. package/dist/mcp/tools/mockup-export-pdf.js +71 -0
  50. package/dist/mcp/tools/mockup-export-pdf.js.map +1 -0
  51. package/dist/mcp/tools/mockup-patch-spec.js +1 -1
  52. package/dist/mcp/tools/mockup-patch-spec.js.map +1 -1
  53. package/dist/mcp/tools/mockup-read-spec.js +10 -3
  54. package/dist/mcp/tools/mockup-read-spec.js.map +1 -1
  55. package/dist/mcp/tools/mockup-write-spec.js +1 -1
  56. package/dist/mcp/tools/mockup-write-spec.js.map +1 -1
  57. package/dist/mcp/tools/mockup.js +2 -0
  58. package/dist/mcp/tools/mockup.js.map +1 -1
  59. package/dist/mcp/tools/page-verify.d.ts +1 -0
  60. package/dist/mcp/tools/page-verify.js +5 -1
  61. package/dist/mcp/tools/page-verify.js.map +1 -1
  62. package/dist/mockup/apply-notes.d.ts +1 -1
  63. package/dist/mockup/apply-notes.js +1 -2
  64. package/dist/mockup/apply-notes.js.map +1 -1
  65. package/dist/mockup/apply-plan.js +0 -3
  66. package/dist/mockup/apply-plan.js.map +1 -1
  67. package/dist/mockup/compile.d.ts +6 -1
  68. package/dist/mockup/compile.js +29 -25
  69. package/dist/mockup/compile.js.map +1 -1
  70. package/dist/mockup/controller-blocks.js +10 -62
  71. package/dist/mockup/controller-blocks.js.map +1 -1
  72. package/dist/mockup/database-manifest.d.ts +2 -0
  73. package/dist/mockup/database-manifest.js +75 -0
  74. package/dist/mockup/database-manifest.js.map +1 -0
  75. package/dist/mockup/display-values.js +1 -1
  76. package/dist/mockup/display-values.js.map +1 -1
  77. package/dist/mockup/entities.d.ts +20 -0
  78. package/dist/mockup/entities.js +213 -0
  79. package/dist/mockup/entities.js.map +1 -0
  80. package/dist/mockup/files.d.ts +2 -2
  81. package/dist/mockup/files.js +2 -2
  82. package/dist/mockup/files.js.map +1 -1
  83. package/dist/mockup/fixture-answers.d.ts +1 -0
  84. package/dist/mockup/fixture-answers.js +1 -1
  85. package/dist/mockup/fixture-answers.js.map +1 -1
  86. package/dist/mockup/{capture-routes.d.ts → fixture-routes.d.ts} +11 -6
  87. package/dist/mockup/fixture-routes.js +155 -0
  88. package/dist/mockup/fixture-routes.js.map +1 -0
  89. package/dist/mockup/fixtures.d.ts +1 -3
  90. package/dist/mockup/fixtures.js +2 -25
  91. package/dist/mockup/fixtures.js.map +1 -1
  92. package/dist/mockup/form-fields.js +1 -10
  93. package/dist/mockup/form-fields.js.map +1 -1
  94. package/dist/mockup/generate.js +4 -1
  95. package/dist/mockup/generate.js.map +1 -1
  96. package/dist/mockup/history-routes.js +2 -17
  97. package/dist/mockup/history-routes.js.map +1 -1
  98. package/dist/mockup/index.d.ts +3 -0
  99. package/dist/mockup/index.js +3 -0
  100. package/dist/mockup/index.js.map +1 -1
  101. package/dist/mockup/json-schema-entities.d.ts +5 -0
  102. package/dist/mockup/json-schema-entities.js +141 -0
  103. package/dist/mockup/json-schema-entities.js.map +1 -0
  104. package/dist/mockup/json-schema.js +23 -24
  105. package/dist/mockup/json-schema.js.map +1 -1
  106. package/dist/mockup/json.d.ts +8 -0
  107. package/dist/mockup/json.js +20 -0
  108. package/dist/mockup/json.js.map +1 -0
  109. package/dist/mockup/manage.js +1 -1
  110. package/dist/mockup/manage.js.map +1 -1
  111. package/dist/mockup/manifest-blocks.d.ts +19 -0
  112. package/dist/mockup/manifest-blocks.js +65 -0
  113. package/dist/mockup/manifest-blocks.js.map +1 -0
  114. package/dist/mockup/model.d.ts +106 -255
  115. package/dist/mockup/model.js +86 -82
  116. package/dist/mockup/model.js.map +1 -1
  117. package/dist/mockup/module-manifests.d.ts +22 -0
  118. package/dist/mockup/module-manifests.js +28 -0
  119. package/dist/mockup/module-manifests.js.map +1 -0
  120. package/dist/mockup/modules-schema.d.ts +2 -0
  121. package/dist/mockup/modules-schema.js +42 -0
  122. package/dist/mockup/modules-schema.js.map +1 -0
  123. package/dist/mockup/modules.d.ts +20 -9
  124. package/dist/mockup/modules.js +146 -22
  125. package/dist/mockup/modules.js.map +1 -1
  126. package/dist/mockup/page-links.d.ts +1 -2
  127. package/dist/mockup/page-links.js +3 -14
  128. package/dist/mockup/page-links.js.map +1 -1
  129. package/dist/mockup/refusals.d.ts +4 -1
  130. package/dist/mockup/refusals.js +15 -1
  131. package/dist/mockup/refusals.js.map +1 -1
  132. package/dist/mockup/routes.d.ts +1 -5
  133. package/dist/mockup/routes.js +9 -171
  134. package/dist/mockup/routes.js.map +1 -1
  135. package/dist/mockup/saas-manifest.d.ts +2 -0
  136. package/dist/mockup/saas-manifest.js +496 -0
  137. package/dist/mockup/saas-manifest.js.map +1 -0
  138. package/dist/mockup/sample-rows.js +0 -4
  139. package/dist/mockup/sample-rows.js.map +1 -1
  140. package/dist/mockup/state.d.ts +76 -0
  141. package/dist/mockup/state.js +22 -0
  142. package/dist/mockup/state.js.map +1 -0
  143. package/dist/mockup/{summary-fields.js → store-summary.js} +1 -1
  144. package/dist/mockup/store-summary.js.map +1 -0
  145. package/dist/mockup/store.d.ts +1 -2
  146. package/dist/mockup/store.js +16 -22
  147. package/dist/mockup/store.js.map +1 -1
  148. package/dist/mockup/table-columns.js +3 -9
  149. package/dist/mockup/table-columns.js.map +1 -1
  150. package/dist/mockup/table-options.d.ts +1 -4
  151. package/dist/mockup/table-options.js +2 -40
  152. package/dist/mockup/table-options.js.map +1 -1
  153. package/dist/mockup/tenancy.d.ts +19 -0
  154. package/dist/mockup/tenancy.js +73 -0
  155. package/dist/mockup/tenancy.js.map +1 -0
  156. package/dist/mockup/tenant-rows.d.ts +4 -0
  157. package/dist/mockup/tenant-rows.js +19 -0
  158. package/dist/mockup/tenant-rows.js.map +1 -0
  159. package/dist/mockup/validate.d.ts +1 -7
  160. package/dist/mockup/validate.js +3 -76
  161. package/dist/mockup/validate.js.map +1 -1
  162. package/dist/pages/account.d.ts +0 -1
  163. package/dist/pages/account.js +0 -1
  164. package/dist/pages/account.js.map +1 -1
  165. package/dist/pages/settings/overview/account-summary.d.ts +0 -2
  166. package/dist/pages/settings/overview/account-summary.js +8 -17
  167. package/dist/pages/settings/overview/account-summary.js.map +1 -1
  168. package/dist/pages/settings/settings-index.js +1 -2
  169. package/dist/pages/settings/settings-index.js.map +1 -1
  170. package/dist/realtime/sse.js +4 -2
  171. package/dist/realtime/sse.js.map +1 -1
  172. package/dist/store/internal/frontend/dev-reload.js +1 -7
  173. package/dist/store/internal/frontend/dev-reload.js.map +1 -1
  174. package/dist/utils/account-notifications.js +0 -1
  175. package/dist/utils/account-notifications.js.map +1 -1
  176. package/dist/utils/email-change-mail.js +2 -2
  177. package/dist/utils/email-change-mail.js.map +1 -1
  178. package/dist/utils/export-jobs.js +2 -2
  179. package/dist/utils/export-jobs.js.map +1 -1
  180. package/dist/utils/index.d.ts +0 -2
  181. package/dist/utils/index.js +0 -2
  182. package/dist/utils/index.js.map +1 -1
  183. package/dist/validation/index.d.ts +0 -1
  184. package/dist/validation/index.js +0 -1
  185. package/dist/validation/index.js.map +1 -1
  186. package/frontend-vue/eslint-globals.generated.mjs +2 -2
  187. package/frontend-vue/layers/dms-auth/app/custom-pages/auth/2fa.vue +0 -3
  188. package/frontend-vue/layers/dms-auth/app/custom-pages/auth/backup.vue +0 -3
  189. package/frontend-vue/layers/dms-auth/app/custom-pages/auth/forgot-validation.vue +0 -3
  190. package/frontend-vue/layers/dms-auth/app/custom-pages/auth/forgot.vue +0 -3
  191. package/frontend-vue/layers/dms-auth/app/custom-pages/auth/login.vue +1 -4
  192. package/frontend-vue/layers/dms-auth/app/custom-pages/auth/recover.vue +0 -3
  193. package/frontend-vue/layers/dms-auth/app/custom-pages/auth/signup.vue +1 -17
  194. package/frontend-vue/layers/dms-auth/app/custom-pages/auth/validate.vue +0 -3
  195. package/frontend-vue/layers/dms-auth/i18n/locales/auth-fr-FR.json +10 -10
  196. package/frontend-vue/layers/dms-core/app/build/composables/api-error.ts +0 -8
  197. package/frontend-vue/layers/dms-core/app/composables/data-types/useDataType.ts +2 -3
  198. package/frontend-vue/layers/dms-core/app/composables/translation/useUniqueLocales.ts +5 -23
  199. package/frontend-vue/layers/dms-core/app/composables/useApiErrorPresenter.ts +0 -1
  200. package/frontend-vue/layers/dms-core/app/composables/useFieldErrors.ts +443 -12
  201. package/frontend-vue/layers/dms-core/i18n/locales/core-en-GB.json +0 -8
  202. package/frontend-vue/layers/dms-core/i18n/locales/core-fr-FR.json +0 -8
  203. package/frontend-vue/layers/dms-core/shared/types/app-config.ts +0 -2
  204. package/frontend-vue/layers/dms-layout/app/app.config.ts +0 -1
  205. package/frontend-vue/layers/dms-layout/app/build/components/layout/DashboardHeader.vue +4 -7
  206. package/frontend-vue/layers/dms-layout/app/build/components/layout/DashboardSidebar.vue +29 -14
  207. package/frontend-vue/layers/dms-layout/app/build/components/layout/LayoutFooter.vue +0 -2
  208. package/frontend-vue/layers/dms-layout/app/build/components/layout/MockupSidebarMenu.vue +21 -6
  209. package/frontend-vue/layers/dms-layout/app/build/components/layout/PreviewPageHeader.vue +3 -19
  210. package/frontend-vue/layers/dms-layout/app/build/components/layout/mockupMenu.ts +110 -9
  211. package/frontend-vue/layers/dms-layout/app/build/components/notification/NotificationPopover.vue +2 -8
  212. package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/notification/NotificationInboxItem.vue +9 -6
  213. package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/notification/NotificationMatrixCategory.vue +2 -6
  214. package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/notification/NotificationMatrixSubject.vue +22 -27
  215. package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/notification/NotificationPreferencesForm.vue +10 -8
  216. package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/notification/notificationDisplay.ts +3 -39
  217. package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/shell/SettingsShell.vue +5 -38
  218. package/frontend-vue/layers/dms-layout/app/build/composables/settings/profile/useProfilePreferences.ts +3 -1
  219. package/frontend-vue/layers/dms-layout/app/build/utils/dev-reload-stream.ts +4 -23
  220. package/frontend-vue/layers/dms-layout/app/custom-layouts/EmptyLayout.vue +31 -39
  221. package/frontend-vue/layers/dms-layout/app/custom-layouts/PreviewLayout.vue +9 -60
  222. package/frontend-vue/layers/dms-layout/app/error.vue +1 -1
  223. package/frontend-vue/layers/dms-layout/app/middleware/module-routing.global.ts +1 -7
  224. package/frontend-vue/layers/dms-layout/app/plugins/dms-menu-sync.client.ts +1 -14
  225. package/frontend-vue/layers/dms-layout/app/utils/breadcrumb.ts +0 -13
  226. package/frontend-vue/layers/dms-layout/i18n/locales/layout-en-GB.json +1 -1
  227. package/frontend-vue/layers/dms-layout/i18n/locales/layout-fr-FR.json +5 -5
  228. package/frontend-vue/layers/dms-onboarding/app/build/components/onboarding/steps/StepPlatform.vue +0 -3
  229. package/frontend-vue/layers/dms-onboarding/app/components/onboarding/steps/StepRegister.vue +1 -3
  230. package/frontend-vue/layers/dms-ui/app/build/components/block-preview/BlockPreviewSketch.vue +1 -1
  231. package/frontend-vue/layers/dms-ui/app/build/components/block-preview/MockupDatabase.vue +165 -0
  232. package/frontend-vue/layers/dms-ui/app/build/components/block-preview/MockupHeaderActions.vue +4 -1
  233. package/frontend-vue/layers/dms-ui/app/build/components/block-preview/MockupInspector.vue +1 -2
  234. package/frontend-vue/layers/dms-ui/app/build/components/block-preview/MockupIssues.vue +1 -22
  235. package/frontend-vue/layers/dms-ui/app/build/components/block-preview/MockupModules.vue +11 -6
  236. package/frontend-vue/layers/dms-ui/app/build/components/block-preview/MockupOverview.vue +182 -125
  237. package/frontend-vue/layers/dms-ui/app/build/components/block-preview/MockupOverviewSlot.vue +12 -114
  238. package/frontend-vue/layers/dms-ui/app/build/components/block-preview/MockupPinLayer.vue +4 -10
  239. package/frontend-vue/layers/dms-ui/app/build/components/block-preview/MockupTenantBanner.vue +48 -0
  240. package/frontend-vue/layers/dms-ui/app/build/components/block-preview/MockupTopBar.vue +76 -8
  241. package/frontend-vue/layers/dms-ui/app/build/components/block-preview/MockupWorkbench.vue +65 -9
  242. package/frontend-vue/layers/dms-ui/app/build/components/block-preview/MockupWorkspaceSwitcher.vue +142 -0
  243. package/frontend-vue/layers/dms-ui/app/build/components/table-view/ExpandedRowDetail.vue +6 -26
  244. package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/previewNavigation.ts +8 -8
  245. package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/useBlockPreviewEmbed.ts +6 -46
  246. package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/useMockupDatabase.ts +175 -0
  247. package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/useMockupOverview.ts +35 -109
  248. package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/useMockupPageFrame.ts +18 -5
  249. package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/useMockupPdfExport.ts +76 -0
  250. package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/useMockupRoutePage.ts +1 -4
  251. package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/useMockupTenancy.ts +63 -0
  252. package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/useMockupViewerPages.ts +1 -3
  253. package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/useMockupViewerShortcuts.ts +6 -0
  254. package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/usePreviewFrame.ts +13 -68
  255. package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/usePreviewLinks.ts +7 -17
  256. package/frontend-vue/layers/dms-ui/app/build/composables/confirm/fetchedConfirmDialog.ts +0 -6
  257. package/frontend-vue/layers/dms-ui/app/build/composables/data-types/defaultDisplayComponents.ts +0 -4
  258. package/frontend-vue/layers/dms-ui/app/build/composables/data-types/defaultPrimitiveTypes.ts +0 -38
  259. package/frontend-vue/layers/dms-ui/app/build/composables/data-types/registerFieldTypes.ts +3 -69
  260. package/frontend-vue/layers/dms-ui/app/build/composables/data-types/useColumnValueRenderer.ts +7 -20
  261. package/frontend-vue/layers/dms-ui/app/build/composables/form/keyValueRows.ts +0 -36
  262. package/frontend-vue/layers/dms-ui/app/build/composables/form/useInstantForm.ts +0 -4
  263. package/frontend-vue/layers/dms-ui/app/build/composables/table-view/tableViewGrouping.ts +0 -1
  264. package/frontend-vue/layers/dms-ui/app/build/composables/table-view/tableViewListing.ts +5 -21
  265. package/frontend-vue/layers/dms-ui/app/build/composables/table-view/tableViewSorting.ts +0 -8
  266. package/frontend-vue/layers/dms-ui/app/build/composables/table-view/useGroupedRows.ts +4 -32
  267. package/frontend-vue/layers/dms-ui/app/build/composables/table-view/useTableFooter.ts +1 -1
  268. package/frontend-vue/layers/dms-ui/app/build/composables/table-view/useTableRows.ts +1 -1
  269. package/frontend-vue/layers/dms-ui/app/build/composables/table-view/utils/displayOptions.ts +2 -14
  270. package/frontend-vue/layers/dms-ui/app/build/composables/table-view/utils/groupedRows.ts +6 -68
  271. package/frontend-vue/layers/dms-ui/app/build/composables/table-view/utils/tableQuery.ts +0 -5
  272. package/frontend-vue/layers/dms-ui/app/build/mockups/MockupCard.vue +48 -73
  273. package/frontend-vue/layers/dms-ui/app/build/mockups/MockupCards.vue +11 -18
  274. package/frontend-vue/layers/dms-ui/app/build/mockups/MockupThumbnail.vue +125 -34
  275. package/frontend-vue/layers/dms-ui/app/build/mockups/manage.ts +3 -7
  276. package/frontend-vue/layers/dms-ui/app/build/utils/blockPreviewMessages.ts +149 -84
  277. package/frontend-vue/layers/dms-ui/app/build/utils/blockPreviewNavigation.ts +119 -0
  278. package/frontend-vue/layers/dms-ui/app/build/utils/mockup.ts +72 -43
  279. package/frontend-vue/layers/dms-ui/app/build/utils/mockupEntities.ts +80 -0
  280. package/frontend-vue/layers/dms-ui/app/build/utils/mockupFrame.ts +92 -8
  281. package/frontend-vue/layers/dms-ui/app/build/utils/mockupLinks.ts +1 -35
  282. package/frontend-vue/layers/dms-ui/app/build/utils/mockupOverview.ts +17 -44
  283. package/frontend-vue/layers/dms-ui/app/build/utils/mockupSchema.ts +177 -0
  284. package/frontend-vue/layers/dms-ui/app/build/utils/mockupShortcuts.ts +14 -3
  285. package/frontend-vue/layers/dms-ui/app/build/utils/mockupSpec.ts +14 -26
  286. package/frontend-vue/layers/dms-ui/app/build/utils/mockupTenancy.ts +151 -0
  287. package/frontend-vue/layers/dms-ui/app/build/utils/mockupTenants.ts +23 -0
  288. package/frontend-vue/layers/dms-ui/app/build/utils/recordGuards.ts +15 -0
  289. package/frontend-vue/layers/dms-ui/app/components/block-preview/BlockPreview.vue +6 -56
  290. package/frontend-vue/layers/dms-ui/app/components/block-preview/MockupViewer.vue +3 -0
  291. package/frontend-vue/layers/dms-ui/app/components/confirm/ConfirmModal.vue +7 -7
  292. package/frontend-vue/layers/dms-ui/app/components/flow-canvas/FlowCanvas.vue +7 -4
  293. package/frontend-vue/layers/dms-ui/app/components/form/components/InputPhone.vue +0 -5
  294. package/frontend-vue/layers/dms-ui/app/components/form/components/KeyValue.vue +20 -2
  295. package/frontend-vue/layers/dms-ui/app/components/key-value-list/KeyValueList.vue +15 -51
  296. package/frontend-vue/layers/dms-ui/app/composables/form/useForm.ts +8 -3
  297. package/frontend-vue/layers/dms-ui/app/composables/table-view/types/config.ts +0 -10
  298. package/frontend-vue/layers/dms-ui/app/entries/components/block-preview/MockupTenantBanner.ts +2 -0
  299. package/frontend-vue/layers/dms-ui/app/entries/components/block-preview/MockupWorkspaceSwitcher.ts +2 -0
  300. package/frontend-vue/layers/dms-ui/app/entries/composables/block-preview/useMockupPdfExport.ts +1 -0
  301. package/frontend-vue/layers/dms-ui/app/entries/composables/block-preview/useMockupTenancy.ts +1 -0
  302. package/frontend-vue/layers/dms-ui/app/entries/utils/blockPreview.ts +0 -3
  303. package/frontend-vue/layers/dms-ui/app/entries/utils/mockupSchema.ts +1 -0
  304. package/frontend-vue/layers/dms-ui/app/entries/utils/mockupTenancy.ts +1 -0
  305. package/frontend-vue/layers/dms-ui/app/entries/utils/mockupTenants.ts +1 -0
  306. package/frontend-vue/layers/dms-ui/app/types/table/query.ts +0 -5
  307. package/frontend-vue/layers/dms-ui/i18n/locales/ui-en-GB.json +28 -2
  308. package/frontend-vue/layers/dms-ui/i18n/locales/ui-fr-FR.json +38 -12
  309. package/frontend-vue/scripts/check-invariants.mjs +0 -101
  310. package/package.json +5 -5
  311. package/skills/dms/SKILL.md +2 -4
  312. package/skills/dms-module/SKILL.md +0 -3
  313. package/dist/implementations/dms-base/group-order.d.ts +0 -18
  314. package/dist/implementations/dms-base/group-order.js +0 -66
  315. package/dist/implementations/dms-base/group-order.js.map +0 -1
  316. package/dist/mockup/capture-routes.js +0 -101
  317. package/dist/mockup/capture-routes.js.map +0 -1
  318. package/dist/mockup/capture.d.ts +0 -10
  319. package/dist/mockup/capture.js +0 -64
  320. package/dist/mockup/capture.js.map +0 -1
  321. package/dist/mockup/header-action.d.ts +0 -47
  322. package/dist/mockup/header-action.js +0 -46
  323. package/dist/mockup/header-action.js.map +0 -1
  324. package/dist/mockup/json-schema-header.d.ts +0 -2
  325. package/dist/mockup/json-schema-header.js +0 -69
  326. package/dist/mockup/json-schema-header.js.map +0 -1
  327. package/dist/mockup/json-schema-layout.d.ts +0 -2
  328. package/dist/mockup/json-schema-layout.js +0 -61
  329. package/dist/mockup/json-schema-layout.js.map +0 -1
  330. package/dist/mockup/summary-fields.js.map +0 -1
  331. package/dist/mockup/table-param-filters.d.ts +0 -52
  332. package/dist/mockup/table-param-filters.js +0 -83
  333. package/dist/mockup/table-param-filters.js.map +0 -1
  334. package/dist/mockup/table-row-actions.d.ts +0 -2
  335. package/dist/mockup/table-row-actions.js +0 -85
  336. package/dist/mockup/table-row-actions.js.map +0 -1
  337. package/dist/mockup/unknown-keys.d.ts +0 -3
  338. package/dist/mockup/unknown-keys.js +0 -45
  339. package/dist/mockup/unknown-keys.js.map +0 -1
  340. package/dist/utils/email-plain-text.d.ts +0 -1
  341. package/dist/utils/email-plain-text.js +0 -95
  342. package/dist/utils/email-plain-text.js.map +0 -1
  343. package/dist/utils/html-email.d.ts +0 -8
  344. package/dist/utils/html-email.js +0 -9
  345. package/dist/utils/html-email.js.map +0 -1
  346. package/dist/utils/image-signatures.d.ts +0 -3
  347. package/dist/utils/image-signatures.js +0 -22
  348. package/dist/utils/image-signatures.js.map +0 -1
  349. package/dist/utils/sse-keepalive/index.d.ts +0 -3
  350. package/dist/utils/sse-keepalive/index.js +0 -8
  351. package/dist/utils/sse-keepalive/index.js.map +0 -1
  352. package/dist/validation/allowed-keys.d.ts +0 -2
  353. package/dist/validation/allowed-keys.js +0 -16
  354. package/dist/validation/allowed-keys.js.map +0 -1
  355. package/frontend-vue/layers/dms-core/app/build/composables/field-errors.ts +0 -485
  356. package/frontend-vue/layers/dms-core/app/build/composables/useHydrated.ts +0 -27
  357. package/frontend-vue/layers/dms-core/app/entries/composables/useHydrated.ts +0 -1
  358. package/frontend-vue/layers/dms-layout/app/build/components/layout/EmptyLayoutBrand.vue +0 -49
  359. package/frontend-vue/layers/dms-layout/app/entries/components/pages/settings/shell/SettingsShell.ts +0 -2
  360. package/frontend-vue/layers/dms-ui/app/build/components/block-preview/MockupOverviewArrows.vue +0 -110
  361. package/frontend-vue/layers/dms-ui/app/build/components/block-preview/MockupOverviewFrameImage.vue +0 -75
  362. package/frontend-vue/layers/dms-ui/app/build/components/block-preview/MockupOverviewZoom.vue +0 -67
  363. package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/previewCapture.ts +0 -247
  364. package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/previewCaptureAssets.ts +0 -181
  365. package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/previewRaster.ts +0 -45
  366. package/frontend-vue/layers/dms-ui/app/build/composables/block-preview/useOverviewCaptures.ts +0 -136
  367. package/frontend-vue/layers/dms-ui/app/build/utils/blockPreviewCapture.ts +0 -96
  368. package/frontend-vue/layers/dms-ui/app/build/utils/blockPreviewChannel.ts +0 -10
  369. package/frontend-vue/layers/dms-ui/app/build/utils/blockPreviewRects.ts +0 -61
  370. package/frontend-vue/layers/dms-ui/app/build/utils/dotGrid.ts +0 -37
  371. package/frontend-vue/layers/dms-ui/app/build/utils/legalIdentifier.ts +0 -279
  372. package/frontend-vue/layers/dms-ui/app/build/utils/mockupCaptures.ts +0 -130
  373. package/frontend-vue/layers/dms-ui/app/build/utils/previewHeader.ts +0 -154
  374. package/frontend-vue/layers/dms-ui/app/build/utils/previewPageLayout.ts +0 -149
  375. package/frontend-vue/layers/dms-ui/app/build/utils/previewPageQuery.ts +0 -42
  376. package/frontend-vue/layers/dms-ui/app/components/form/components/InputIdentifier.vue +0 -90
  377. package/frontend-vue/layers/dms-ui/app/entries/composables/block-preview/previewCapture.ts +0 -1
  378. package/frontend-vue/layers/dms-ui/app/entries/composables/block-preview/previewCaptureAssets.ts +0 -1
  379. package/frontend-vue/layers/dms-ui/app/entries/composables/block-preview/usePreviewFrame.ts +0 -1
  380. package/frontend-vue/layers/dms-ui/app/entries/composables/table-view/utils/displayOptions.ts +0 -1
  381. package/frontend-vue/layers/dms-ui/app/entries/mockups/manage.ts +0 -1
  382. package/frontend-vue/layers/dms-ui/app/entries/utils/legalIdentifier.ts +0 -1
  383. package/frontend-vue/layers/dms-ui/app/entries/utils/mockupCaptures.ts +0 -1
  384. /package/dist/mockup/{summary-fields.d.ts → store-summary.d.ts} +0 -0
@@ -88,6 +88,137 @@
88
88
  }
89
89
  }
90
90
  },
91
+ "entities": {
92
+ "type": "object",
93
+ "propertyNames": {
94
+ "pattern": "^[A-Za-z0-9_-]{1,64}$"
95
+ },
96
+ "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.",
97
+ "additionalProperties": {
98
+ "type": "object",
99
+ "required": [
100
+ "fields"
101
+ ],
102
+ "additionalProperties": false,
103
+ "properties": {
104
+ "tenantScoped": {
105
+ "type": "boolean",
106
+ "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."
107
+ },
108
+ "fields": {
109
+ "type": "object",
110
+ "propertyNames": {
111
+ "pattern": "^[A-Za-z0-9_-]{1,64}$"
112
+ },
113
+ "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.",
114
+ "additionalProperties": {
115
+ "oneOf": [
116
+ {
117
+ "type": "object",
118
+ "required": [
119
+ "type"
120
+ ],
121
+ "additionalProperties": false,
122
+ "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).",
123
+ "properties": {
124
+ "type": {
125
+ "enum": [
126
+ "string",
127
+ "number",
128
+ "price",
129
+ "boolean",
130
+ "date",
131
+ "email",
132
+ "url"
133
+ ]
134
+ }
135
+ }
136
+ },
137
+ {
138
+ "type": "object",
139
+ "required": [
140
+ "type",
141
+ "values"
142
+ ],
143
+ "additionalProperties": false,
144
+ "description": "A field that takes one of a fixed list of values.",
145
+ "properties": {
146
+ "type": {
147
+ "const": "enum"
148
+ },
149
+ "values": {
150
+ "type": "array",
151
+ "minItems": 1,
152
+ "items": {
153
+ "type": "string",
154
+ "minLength": 1
155
+ },
156
+ "description": "The values it takes, at least one."
157
+ }
158
+ }
159
+ },
160
+ {
161
+ "type": "object",
162
+ "required": [
163
+ "type",
164
+ "to"
165
+ ],
166
+ "additionalProperties": false,
167
+ "description": "A field that holds the id of a row of another entity, drawn as a relation in the diagram.",
168
+ "properties": {
169
+ "type": {
170
+ "const": "ref"
171
+ },
172
+ "to": {
173
+ "type": "string",
174
+ "pattern": "^[A-Za-z0-9_-]{1,64}$",
175
+ "description": "The entity it points to. It must be one of the spec's entities."
176
+ }
177
+ }
178
+ }
179
+ ]
180
+ }
181
+ }
182
+ }
183
+ }
184
+ },
185
+ "fixtures": {
186
+ "type": "object",
187
+ "required": [
188
+ "tenants"
189
+ ],
190
+ "additionalProperties": false,
191
+ "description": "Data the mockup itself draws, beside the data of its pages.",
192
+ "properties": {
193
+ "tenants": {
194
+ "type": "array",
195
+ "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.",
196
+ "items": {
197
+ "type": "object",
198
+ "required": [
199
+ "id",
200
+ "name"
201
+ ],
202
+ "additionalProperties": false,
203
+ "properties": {
204
+ "id": {
205
+ "type": "string",
206
+ "minLength": 1,
207
+ "description": "The tenant's id, which \"tenantId\" holds in its rows. Unique."
208
+ },
209
+ "name": {
210
+ "type": "string",
211
+ "description": "The name the switcher shows."
212
+ },
213
+ "plan": {
214
+ "type": "string",
215
+ "description": "The plan, shown under the name in the switcher."
216
+ }
217
+ }
218
+ }
219
+ }
220
+ }
221
+ },
91
222
  "categories": {
92
223
  "type": "array",
93
224
  "maxItems": 50,
@@ -167,18 +298,55 @@
167
298
  "type": "array",
168
299
  "maxItems": 50,
169
300
  "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.",
301
+ "description": "The DMS modules the app needs. 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 lists it, and it brings the pages of its manifest, drawn from fixtures. A spec page with the id of a manifest page, such as saas-plans, overrides it. An object is a custom module: a menu root grouping spec pages. Each module is a menu root, with its sub-sections, under the app's own menu.",
171
302
  "items": {
172
- "enum": [
173
- "ai",
174
- "api",
175
- "automation",
176
- "database",
177
- "lang",
178
- "mailing",
179
- "marketing",
180
- "media",
181
- "saas"
303
+ "anyOf": [
304
+ {
305
+ "enum": [
306
+ "ai",
307
+ "api",
308
+ "automation",
309
+ "database",
310
+ "lang",
311
+ "mailing",
312
+ "marketing",
313
+ "media",
314
+ "saas"
315
+ ],
316
+ "description": "A catalog module's id."
317
+ },
318
+ {
319
+ "type": "object",
320
+ "required": [
321
+ "id",
322
+ "title",
323
+ "pages"
324
+ ],
325
+ "additionalProperties": false,
326
+ "description": "A custom module: a menu root listing spec pages. Its id is no catalog id.",
327
+ "properties": {
328
+ "id": {
329
+ "type": "string",
330
+ "pattern": "^[a-z0-9][a-z0-9-]{0,63}$"
331
+ },
332
+ "title": {
333
+ "type": "string"
334
+ },
335
+ "icon": {
336
+ "type": "string",
337
+ "description": "An icon name, e.g. i-ph-truck."
338
+ },
339
+ "pages": {
340
+ "type": "array",
341
+ "maxItems": 50,
342
+ "description": "The ids of the spec pages the module lists, in menu order. A listed page sets no category.",
343
+ "items": {
344
+ "type": "string",
345
+ "pattern": "^[a-z0-9][a-z0-9-]{0,63}$"
346
+ }
347
+ }
348
+ }
349
+ }
182
350
  ]
183
351
  }
184
352
  },
@@ -290,7 +458,7 @@
290
458
  "route": {
291
459
  "type": "string",
292
460
  "pattern": "^:[A-Za-z_][A-Za-z0-9_]*$",
293
- "description": "A route parameter, \":id\": the page shows one row. An option \"fixture:<key>\" naming a parent's rows reads the row whose _id, else id, is the parameter, a \"page:<id>\" link from a table row passes that row's id, and a TableView lists only the rows of a parent's fixture that belong to it with routeParamFilters, { \"id\": { \"field\": \"orderId\" } }. Needs a parent."
461
+ "description": "A route parameter, \":id\": the page shows one row. An option \"fixture:<key>\" naming a parent's rows reads the row whose _id, else id, is the parameter, and a \"page:<id>\" link from a table row passes that row's id. Needs a parent."
294
462
  },
295
463
  "icon": {
296
464
  "type": "string",
@@ -308,7 +476,7 @@
308
476
  "label"
309
477
  ],
310
478
  "additionalProperties": false,
311
- "description": "A button right of the page title, as a PageHeaderButton of DefaultLayout({ headerActions }) writes it: its look, the page of the mockup it opens and the dialog it asks in first.",
479
+ "description": "A button right of the page title, as a PageHeaderButton of DefaultLayout({ headerActions }) looks. What it does is code, so the mockup holds none.",
312
480
  "properties": {
313
481
  "label": {
314
482
  "type": "string"
@@ -336,238 +504,11 @@
336
504
  "ghost",
337
505
  "link"
338
506
  ]
339
- },
340
- "target": {
341
- "type": "object",
342
- "required": [
343
- "type",
344
- "url"
345
- ],
346
- "additionalProperties": false,
347
- "description": "The page of the mockup the button opens: { \"type\": \"page\", \"url\": \"page:<id>\" }.",
348
- "properties": {
349
- "type": {
350
- "const": "page"
351
- },
352
- "url": {
353
- "type": "string",
354
- "pattern": "^page:"
355
- }
356
- }
357
- },
358
- "confirm": {
359
- "type": "object",
360
- "required": [
361
- "title"
362
- ],
363
- "additionalProperties": false,
364
- "description": "The dialog the button asks in before it goes, as a fixed ConfirmDialog writes it; confirming opens its target, cancelling stays. A dialog the server words ({ from }), its fields and its component are code.",
365
- "properties": {
366
- "title": {
367
- "type": "string"
368
- },
369
- "description": {
370
- "type": "string"
371
- },
372
- "params": {
373
- "type": "object",
374
- "additionalProperties": {
375
- "type": [
376
- "string",
377
- "number"
378
- ]
379
- },
380
- "description": "Values the texts are interpolated with: {name}."
381
- },
382
- "icon": {
383
- "type": "string"
384
- },
385
- "color": {
386
- "enum": [
387
- "neutral",
388
- "primary",
389
- "secondary",
390
- "success",
391
- "warning",
392
- "error",
393
- "info"
394
- ]
395
- },
396
- "confirmLabel": {
397
- "type": "string"
398
- },
399
- "cancelLabel": {
400
- "type": "string"
401
- },
402
- "impact": {
403
- "type": "array",
404
- "items": {
405
- "type": "object",
406
- "required": [
407
- "icon",
408
- "label"
409
- ],
410
- "additionalProperties": false,
411
- "description": "One dependent the action affects, listed above the buttons.",
412
- "properties": {
413
- "icon": {
414
- "type": "string"
415
- },
416
- "label": {
417
- "type": "string"
418
- },
419
- "count": {
420
- "type": [
421
- "number",
422
- "string"
423
- ]
424
- }
425
- }
426
- }
427
- },
428
- "blocked": {
429
- "type": "boolean",
430
- "description": "The action cannot run: the dialog only explains why."
431
- },
432
- "confirmText": {
433
- "type": "string",
434
- "description": "Text the user types to confirm."
435
- },
436
- "confirmTextCaseInsensitive": {
437
- "type": "boolean"
438
- }
439
- }
440
507
  }
441
508
  }
442
509
  },
443
510
  "description": "The buttons right of the title, in order, as DefaultLayout({ headerActions }) declares them."
444
511
  },
445
- "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.",
447
- "oneOf": [
448
- {
449
- "enum": [
450
- "default",
451
- "form-page",
452
- "settings",
453
- "empty"
454
- ]
455
- },
456
- {
457
- "type": "object",
458
- "required": [
459
- "type"
460
- ],
461
- "additionalProperties": false,
462
- "properties": {
463
- "type": {
464
- "const": "default"
465
- },
466
- "options": {
467
- "type": "object",
468
- "additionalProperties": false,
469
- "properties": {
470
- "fullWidth": {
471
- "type": "boolean",
472
- "default": true,
473
- "description": "The blocks span the whole panel; false keeps them in a readable column."
474
- },
475
- "hideHeader": {
476
- "type": "boolean",
477
- "description": "Leaves out the page header: its title, icon, description and buttons."
478
- },
479
- "fillHeight": {
480
- "type": "boolean",
481
- "description": "The page fills the height of the frame, and its last block takes what is left."
482
- }
483
- }
484
- }
485
- }
486
- },
487
- {
488
- "type": "object",
489
- "required": [
490
- "type"
491
- ],
492
- "additionalProperties": false,
493
- "properties": {
494
- "type": {
495
- "const": "form-page"
496
- },
497
- "options": {
498
- "type": "object",
499
- "additionalProperties": false,
500
- "properties": {
501
- "hideHeader": {
502
- "type": "boolean",
503
- "description": "Leaves out the page header: its title, icon, description and buttons."
504
- },
505
- "fillHeight": {
506
- "type": "boolean",
507
- "description": "The page fills the height of the frame, and its last block takes what is left."
508
- }
509
- }
510
- }
511
- }
512
- },
513
- {
514
- "type": "object",
515
- "required": [
516
- "type"
517
- ],
518
- "additionalProperties": false,
519
- "properties": {
520
- "type": {
521
- "const": "settings"
522
- },
523
- "options": {
524
- "type": "object",
525
- "additionalProperties": false,
526
- "properties": {
527
- "hideHeader": {
528
- "type": "boolean",
529
- "description": "Leaves out the page header: its title, icon, description and buttons."
530
- },
531
- "fillHeight": {
532
- "type": "boolean",
533
- "description": "The page fills the height of the frame, and its last block takes what is left."
534
- }
535
- }
536
- }
537
- }
538
- },
539
- {
540
- "type": "object",
541
- "required": [
542
- "type"
543
- ],
544
- "additionalProperties": false,
545
- "properties": {
546
- "type": {
547
- "const": "empty"
548
- },
549
- "options": {
550
- "type": "object",
551
- "additionalProperties": false,
552
- "properties": {
553
- "hideBrand": {
554
- "type": "boolean",
555
- "description": "Leaves out the app logo and the theme toggle above the page."
556
- },
557
- "hideFooter": {
558
- "type": "boolean",
559
- "description": "Leaves out the footer under the page."
560
- },
561
- "fillHeight": {
562
- "type": "boolean",
563
- "description": "The page fills the height of the window, and its last block takes what is left."
564
- }
565
- }
566
- }
567
- }
568
- }
569
- ]
570
- },
571
512
  "options": {
572
513
  "type": "object",
573
514
  "additionalProperties": false,
@@ -629,17 +570,30 @@
629
570
  {
630
571
  "$ref": "#/$defs/generate"
631
572
  },
573
+ {
574
+ "$ref": "#/$defs/entityFixture"
575
+ },
632
576
  {
633
577
  "not": {
634
578
  "type": "object",
635
- "required": [
636
- "$generate"
579
+ "anyOf": [
580
+ {
581
+ "required": [
582
+ "$generate"
583
+ ]
584
+ },
585
+ {
586
+ "required": [
587
+ "entity",
588
+ "rows"
589
+ ]
590
+ }
637
591
  ]
638
592
  }
639
593
  }
640
594
  ]
641
595
  },
642
- "description": "Data a block reads: an option \"fixture:<key>\" is served from here. A value { \"$generate\": { \"rows\", \"fields\" } } is replaced by generated rows."
596
+ "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
597
  },
644
598
  "tree": {
645
599
  "type": "array",
@@ -754,6 +708,29 @@
754
708
  }
755
709
  }
756
710
  },
711
+ "entityFixture": {
712
+ "type": "object",
713
+ "required": [
714
+ "entity",
715
+ "rows"
716
+ ],
717
+ "additionalProperties": false,
718
+ "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.",
719
+ "properties": {
720
+ "entity": {
721
+ "type": "string",
722
+ "pattern": "^[A-Za-z0-9_-]{1,64}$",
723
+ "description": "The name of one of the spec's entities."
724
+ },
725
+ "rows": {
726
+ "type": "array",
727
+ "items": {
728
+ "type": "object"
729
+ },
730
+ "description": "The rows, as objects keyed by field name. A row whose id an earlier row of the entity has is dropped."
731
+ }
732
+ }
733
+ },
757
734
  "node": {
758
735
  "oneOf": [
759
736
  {
@@ -10599,12 +10576,6 @@
10599
10576
  },
10600
10577
  "label": {
10601
10578
  "type": "string"
10602
- },
10603
- "fullWidth": {
10604
- "type": "boolean"
10605
- },
10606
- "hideEmpty": {
10607
- "type": "boolean"
10608
10579
  }
10609
10580
  },
10610
10581
  "required": [
@@ -10956,8 +10927,7 @@
10956
10927
  "required": [
10957
10928
  "field"
10958
10929
  ]
10959
- },
10960
- "description": "Filters the rows by a query parameter of the page's URL, as on a real TableView: { \"<param>\": { field, mode?, visible?, label? } }. In the viewer, the page's query is the viewer's, ?record= included, without the parameters the viewer reads itself: name, page, width, data, state and fixtures. To follow the row a page with a route shows, prefer routeParamFilters."
10930
+ }
10961
10931
  },
10962
10932
  "tabs": {
10963
10933
  "type": "array",
@@ -11297,25 +11267,7 @@
11297
11267
  "capabilities": {
11298
11268
  "type": "object",
11299
11269
  "properties": {},
11300
- "description": "Defaults to search, sort, paginate and filter, all on: the rows route applies tabs, quick filters and column filters. A table that sets it keeps its own value, and tabs, quick filters, routeParamFilters and queryParamFilters need filter: true."
11301
- },
11302
- "routeParamFilters": {
11303
- "type": "object",
11304
- "additionalProperties": {
11305
- "type": "object",
11306
- "properties": {
11307
- "field": {
11308
- "type": "string"
11309
- },
11310
- "mode": {
11311
- "type": "string"
11312
- }
11313
- },
11314
- "required": [
11315
- "field"
11316
- ]
11317
- },
11318
- "description": "Filters the rows by a route parameter of the page, as on a real TableView: { \"<param>\": { field, mode? } }, mode \"is\" by default. On a page with \"route\": \":id\", { \"id\": { \"field\": \"orderId\" } } lists the rows whose orderId is the id of the row the page shows, its sample row until a link names one. The parameter must be the page's route parameter."
11270
+ "description": "Defaults to search, sort, paginate and filter, all on: the rows route applies tabs, quick filters and column filters. A table that sets it keeps its own value, and tabs, quick filters and queryParamFilters need filter: true."
11319
11271
  },
11320
11272
  "formContainer": {
11321
11273
  "anyOf": [
@@ -11545,49 +11497,17 @@
11545
11497
  "week"
11546
11498
  ]
11547
11499
  },
11548
- "order": {
11549
- "anyOf": [
11550
- {
11551
- "type": "string",
11552
- "enum": [
11553
- "items"
11554
- ]
11555
- },
11556
- {
11557
- "type": "array",
11558
- "items": {
11559
- "anyOf": [
11560
- {
11561
- "type": "string"
11562
- },
11563
- {
11564
- "type": "number"
11565
- },
11566
- {
11567
- "type": "boolean"
11568
- }
11569
- ]
11570
- }
11571
- }
11572
- ]
11573
- },
11574
11500
  "collapsible": {
11575
11501
  "type": "boolean"
11576
11502
  },
11577
11503
  "count": {
11578
11504
  "type": "boolean"
11579
- },
11580
- "pinned": {
11581
- "type": "boolean"
11582
- },
11583
- "pinnedLabel": {
11584
- "type": "string"
11585
11505
  }
11586
11506
  },
11587
11507
  "required": [
11588
11508
  "groupByField"
11589
11509
  ],
11590
- "description": "The grid with a header row per group of groupByField, a sortable column; by day or week needs a date column. order: \"items\" lists the groups in the order of the badge's items, or a list of values gives that order. pinned: true leads it with the rows pinnedRows accepts, under pinnedLabel."
11510
+ "description": "The grid with a header row per group of groupByField, a sortable column; by day or week needs a date column."
11591
11511
  },
11592
11512
  "views": {
11593
11513
  "type": "object",
@@ -6,14 +6,14 @@ exports.sendEmailForgotEmail = sendEmailForgotEmail;
6
6
  const logging_1 = require("@antelopejs/interface-core/logging");
7
7
  const html_render_1 = require("@antelopejs/interface-dms/html-render");
8
8
  const time_1 = require("@antelopejs/interface-dms/utils/internal/time");
9
+ const interface_email_1 = require("@antelopejs/interface-email");
9
10
  const config_1 = require("../../config");
10
11
  const email_subjects_1 = require("../../utils/email-subjects");
11
- const utils_1 = require("../../utils");
12
12
  const ResetPasswordTemplate = (0, html_render_1.RegisterHtmlTemplate)("EmailResetPassword");
13
13
  const EmailValidationTemplate = (0, html_render_1.RegisterHtmlTemplate)("EmailUserValidation");
14
14
  const TwoFactorEmailTemplate = (0, html_render_1.RegisterHtmlTemplate)("EmailTwoFactor");
15
15
  async function sendAccountEmail(user, { subject, label, html }) {
16
- const result = await (0, utils_1.sendHtmlEmail)({
16
+ const result = await (0, interface_email_1.Send)({
17
17
  to: user.email,
18
18
  subject: (0, email_subjects_1.builtInEmailSubject)(subject, user.language),
19
19
  html,
@@ -1 +1 @@
1
- {"version":3,"file":"account-emails.js","sourceRoot":"","sources":["../../../src/implementations/dms-auth/account-emails.ts"],"names":[],"mappings":";;;;;AAAA,gEAA6D;AAE7D,uEAG+C;AAC/C,wEAAsF;AACtF,yCAA6C;AAC7C,+DAGoC;AACpC,uCAA4C;AAgB5C,MAAM,qBAAqB,GACzB,IAAA,kCAAoB,EAAoB,oBAAoB,CAAC,CAAC;AAEhE,MAAM,uBAAuB,GAAG,IAAA,kCAAoB,EAClD,qBAAqB,CACtB,CAAC;AAOF,MAAM,sBAAsB,GAC1B,IAAA,kCAAoB,EAAqB,gBAAgB,CAAC,CAAC;AAS7D,KAAK,UAAU,gBAAgB,CAC7B,IAAU,EACV,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAgB;IAEtC,MAAM,MAAM,GAAG,MAAM,IAAA,qBAAa,EAAC;QACjC,EAAE,EAAE,IAAI,CAAC,KAAK;QACd,OAAO,EAAE,IAAA,oCAAmB,EAAC,OAAO,EAAE,IAAI,CAAC,QAAQ,CAAC;QACpD,IAAI;KACL,CAAC,CAAC;IAEH,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC;QACpB,iBAAO,CAAC,KAAK,CACX,6BAA6B,KAAK,cAAc,IAAI,CAAC,KAAK,MAAM,MAAM,CAAC,KAAK,EAAE,OAAO,EAAE,CACxF,CAAC;QACF,MAAM,IAAI,KAAK,CAAC,yBAAyB,MAAM,CAAC,KAAK,EAAE,OAAO,EAAE,CAAC,CAAC;IACpE,CAAC;IAED,iBAAO,CAAC,IAAI,CAAC,cAAc,KAAK,mBAAmB,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC;AACpE,CAAC;AAEM,KAAK,uBAAuB,IAAU,EAAE,IAAY;IACzD,MAAM,IAAI,GAAG,MAAM,IAAA,0BAAY,EAC7B,sBAAsB,EACtB;QACE,QAAQ,EAAE,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,KAAK;QACjC,gBAAgB,EAAE,IAAI;KACvB,EACD,IAAI,CAAC,QAAQ,CACd,CAAC;IACF,MAAM,gBAAgB,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;AAC7E,CAAC;AAEM,KAAK,mCAAmC,IAAU;IACvD,MAAM,WAAW,GACf,IAAA,sBAAa,GAAE,CAAC,4BAA4B,GAAG,4BAAqB,CAAC;IAEvE,MAAM,IAAI,GAAG,MAAM,IAAA,0BAAY,EAC7B,uBAAuB,EACvB;QACE,QAAQ,EAAE,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,KAAK;QACjC,cAAc,EAAE,IAAI,CAAC,eAAe;QACpC,SAAS,EAAE,GAAG,WAAW,QAAQ;QACjC,cAAc,EAAE,WAAW;KAC5B,EACD,IAAI,CAAC,QAAQ,CACd,CAAC;IACF,MAAM,gBAAgB,CAAC,IAAI,EAAE;QAC3B,OAAO,EAAE,gBAAgB;QACzB,KAAK,EAAE,YAAY;QACnB,IAAI;KACL,CAAC,CAAC;AACL,CAAC;AAEM,KAAK,+BAA+B,IAAU;IACnD,MAAM,WAAW,GACf,IAAA,sBAAa,GAAE,CAAC,4BAA4B,GAAG,4BAAqB,CAAC;IAEvE,MAAM,IAAI,GAAG,MAAM,IAAA,0BAAY,EAC7B,qBAAqB,EACrB;QACE,QAAQ,EAAE,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,KAAK;QACjC,SAAS,EAAE,IAAI,CAAC,mBAAmB;QACnC,SAAS,EAAE,GAAG,WAAW,QAAQ;QACjC,cAAc,EAAE,WAAW;KAC5B,EACD,IAAI,CAAC,QAAQ,CACd,CAAC;IACF,MAAM,gBAAgB,CAAC,IAAI,EAAE;QAC3B,OAAO,EAAE,eAAe;QACxB,KAAK,EAAE,gBAAgB;QACvB,IAAI;KACL,CAAC,CAAC;AACL,CAAC"}
1
+ {"version":3,"file":"account-emails.js","sourceRoot":"","sources":["../../../src/implementations/dms-auth/account-emails.ts"],"names":[],"mappings":";;;;;AAAA,gEAA6D;AAE7D,uEAG+C;AAC/C,wEAAsF;AACtF,iEAAmD;AACnD,yCAA6C;AAC7C,+DAGoC;AAgBpC,MAAM,qBAAqB,GACzB,IAAA,kCAAoB,EAAoB,oBAAoB,CAAC,CAAC;AAEhE,MAAM,uBAAuB,GAAG,IAAA,kCAAoB,EAClD,qBAAqB,CACtB,CAAC;AAOF,MAAM,sBAAsB,GAC1B,IAAA,kCAAoB,EAAqB,gBAAgB,CAAC,CAAC;AAS7D,KAAK,UAAU,gBAAgB,CAC7B,IAAU,EACV,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,EAAgB;IAEtC,MAAM,MAAM,GAAG,MAAM,IAAA,sBAAI,EAAC;QACxB,EAAE,EAAE,IAAI,CAAC,KAAK;QACd,OAAO,EAAE,IAAA,oCAAmB,EAAC,OAAO,EAAE,IAAI,CAAC,QAAQ,CAAC;QACpD,IAAI;KACL,CAAC,CAAC;IAEH,IAAI,CAAC,MAAM,CAAC,OAAO,EAAE,CAAC;QACpB,iBAAO,CAAC,KAAK,CACX,6BAA6B,KAAK,cAAc,IAAI,CAAC,KAAK,MAAM,MAAM,CAAC,KAAK,EAAE,OAAO,EAAE,CACxF,CAAC;QACF,MAAM,IAAI,KAAK,CAAC,yBAAyB,MAAM,CAAC,KAAK,EAAE,OAAO,EAAE,CAAC,CAAC;IACpE,CAAC;IAED,iBAAO,CAAC,IAAI,CAAC,cAAc,KAAK,mBAAmB,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC;AACpE,CAAC;AAEM,KAAK,uBAAuB,IAAU,EAAE,IAAY;IACzD,MAAM,IAAI,GAAG,MAAM,IAAA,0BAAY,EAC7B,sBAAsB,EACtB;QACE,QAAQ,EAAE,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,KAAK;QACjC,gBAAgB,EAAE,IAAI;KACvB,EACD,IAAI,CAAC,QAAQ,CACd,CAAC;IACF,MAAM,gBAAgB,CAAC,IAAI,EAAE,EAAE,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC,CAAC;AAC7E,CAAC;AAEM,KAAK,mCAAmC,IAAU;IACvD,MAAM,WAAW,GACf,IAAA,sBAAa,GAAE,CAAC,4BAA4B,GAAG,4BAAqB,CAAC;IAEvE,MAAM,IAAI,GAAG,MAAM,IAAA,0BAAY,EAC7B,uBAAuB,EACvB;QACE,QAAQ,EAAE,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,KAAK;QACjC,cAAc,EAAE,IAAI,CAAC,eAAe;QACpC,SAAS,EAAE,GAAG,WAAW,QAAQ;QACjC,cAAc,EAAE,WAAW;KAC5B,EACD,IAAI,CAAC,QAAQ,CACd,CAAC;IACF,MAAM,gBAAgB,CAAC,IAAI,EAAE;QAC3B,OAAO,EAAE,gBAAgB;QACzB,KAAK,EAAE,YAAY;QACnB,IAAI;KACL,CAAC,CAAC;AACL,CAAC;AAEM,KAAK,+BAA+B,IAAU;IACnD,MAAM,WAAW,GACf,IAAA,sBAAa,GAAE,CAAC,4BAA4B,GAAG,4BAAqB,CAAC;IAEvE,MAAM,IAAI,GAAG,MAAM,IAAA,0BAAY,EAC7B,qBAAqB,EACrB;QACE,QAAQ,EAAE,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,KAAK;QACjC,SAAS,EAAE,IAAI,CAAC,mBAAmB;QACnC,SAAS,EAAE,GAAG,WAAW,QAAQ;QACjC,cAAc,EAAE,WAAW;KAC5B,EACD,IAAI,CAAC,QAAQ,CACd,CAAC;IACF,MAAM,gBAAgB,CAAC,IAAI,EAAE;QAC3B,OAAO,EAAE,eAAe;QACxB,KAAK,EAAE,gBAAgB;QACvB,IAAI;KACL,CAAC,CAAC;AACL,CAAC"}
@@ -29,6 +29,7 @@ const node_crypto_1 = require("node:crypto");
29
29
  const interface_api_1 = require("@antelopejs/interface-api");
30
30
  const logging_1 = require("@antelopejs/interface-core/logging");
31
31
  const interface_database_decorators_1 = require("@antelopejs/interface-database-decorators");
32
+ const interface_email_1 = require("@antelopejs/interface-email");
32
33
  const db_1 = require("@antelopejs/interface-dms/auth/db");
33
34
  const types_1 = require("@antelopejs/interface-dms/base/types");
34
35
  const html_render_1 = require("@antelopejs/interface-dms/html-render");
@@ -299,7 +300,7 @@ async function sendAdminInviteEmail(email, token, inviteeName, context = {}) {
299
300
  expiresInDays: invites_1.INVITE_EXPIRY_DAYS,
300
301
  ...names,
301
302
  }, language);
302
- const result = await (0, utils_1.sendHtmlEmail)({
303
+ const result = await (0, interface_email_1.Send)({
303
304
  to: email,
304
305
  subject: (0, utils_1.buildAdminInviteSubject)(names, language),
305
306
  html,