@antelopejs/dms 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1232) hide show
  1. package/CHANGELOG.md +1 -0
  2. package/LICENSE +190 -0
  3. package/README.md +48 -0
  4. package/dist/attachments/access.d.ts +9 -0
  5. package/dist/attachments/access.js +66 -0
  6. package/dist/attachments/access.js.map +1 -0
  7. package/dist/attachments/bindings.d.ts +3 -0
  8. package/dist/attachments/bindings.js +25 -0
  9. package/dist/attachments/bindings.js.map +1 -0
  10. package/dist/attachments/fields.d.ts +7 -0
  11. package/dist/attachments/fields.js +25 -0
  12. package/dist/attachments/fields.js.map +1 -0
  13. package/dist/attachments/read.d.ts +11 -0
  14. package/dist/attachments/read.js +36 -0
  15. package/dist/attachments/read.js.map +1 -0
  16. package/dist/attachments/registry.d.ts +6 -0
  17. package/dist/attachments/registry.js +36 -0
  18. package/dist/attachments/registry.js.map +1 -0
  19. package/dist/attachments/save.d.ts +2 -0
  20. package/dist/attachments/save.js +86 -0
  21. package/dist/attachments/save.js.map +1 -0
  22. package/dist/attachments/table-view.d.ts +2 -0
  23. package/dist/attachments/table-view.js +71 -0
  24. package/dist/attachments/table-view.js.map +1 -0
  25. package/dist/attachments/uploads.d.ts +5 -0
  26. package/dist/attachments/uploads.js +29 -0
  27. package/dist/attachments/uploads.js.map +1 -0
  28. package/dist/automation/actions.d.ts +2 -0
  29. package/dist/automation/actions.js +150 -0
  30. package/dist/automation/actions.js.map +1 -0
  31. package/dist/automation/events.d.ts +49 -0
  32. package/dist/automation/events.js +23 -0
  33. package/dist/automation/events.js.map +1 -0
  34. package/dist/automation/index.d.ts +3 -0
  35. package/dist/automation/index.js +123 -0
  36. package/dist/automation/index.js.map +1 -0
  37. package/dist/automation/registration-lifecycle.d.ts +7 -0
  38. package/dist/automation/registration-lifecycle.js +24 -0
  39. package/dist/automation/registration-lifecycle.js.map +1 -0
  40. package/dist/automation/sources.d.ts +2 -0
  41. package/dist/automation/sources.js +81 -0
  42. package/dist/automation/sources.js.map +1 -0
  43. package/dist/automation/triggers.d.ts +2 -0
  44. package/dist/automation/triggers.js +139 -0
  45. package/dist/automation/triggers.js.map +1 -0
  46. package/dist/config.d.ts +58 -0
  47. package/dist/config.js +83 -0
  48. package/dist/config.js.map +1 -0
  49. package/dist/crons/cleanup-user-invites.d.ts +4 -0
  50. package/dist/crons/cleanup-user-invites.js +94 -0
  51. package/dist/crons/cleanup-user-invites.js.map +1 -0
  52. package/dist/crons/index.d.ts +4 -0
  53. package/dist/crons/index.js +25 -0
  54. package/dist/crons/index.js.map +1 -0
  55. package/dist/crons/sweep-stale-exports.d.ts +4 -0
  56. package/dist/crons/sweep-stale-exports.js +24 -0
  57. package/dist/crons/sweep-stale-exports.js.map +1 -0
  58. package/dist/db/index.d.ts +2 -0
  59. package/dist/db/index.js +19 -0
  60. package/dist/db/index.js.map +1 -0
  61. package/dist/db/models/attachments.model.d.ts +22 -0
  62. package/dist/db/models/attachments.model.js +9 -0
  63. package/dist/db/models/attachments.model.js.map +1 -0
  64. package/dist/db/models/index.d.ts +4 -0
  65. package/dist/db/models/index.js +21 -0
  66. package/dist/db/models/index.js.map +1 -0
  67. package/dist/db/models/systemState.model.d.ts +24 -0
  68. package/dist/db/models/systemState.model.js +19 -0
  69. package/dist/db/models/systemState.model.js.map +1 -0
  70. package/dist/db/models/userNotificationPreferences.model.d.ts +26 -0
  71. package/dist/db/models/userNotificationPreferences.model.js +71 -0
  72. package/dist/db/models/userNotificationPreferences.model.js.map +1 -0
  73. package/dist/db/models/userNotifications.model.d.ts +49 -0
  74. package/dist/db/models/userNotifications.model.js +217 -0
  75. package/dist/db/models/userNotifications.model.js.map +1 -0
  76. package/dist/db/tables/attachments.table.d.ts +9 -0
  77. package/dist/db/tables/attachments.table.js +43 -0
  78. package/dist/db/tables/attachments.table.js.map +1 -0
  79. package/dist/db/tables/index.d.ts +4 -0
  80. package/dist/db/tables/index.js +21 -0
  81. package/dist/db/tables/index.js.map +1 -0
  82. package/dist/db/tables/systemState.table.d.ts +8 -0
  83. package/dist/db/tables/systemState.table.js +48 -0
  84. package/dist/db/tables/systemState.table.js.map +1 -0
  85. package/dist/db/tables/userNotificationPreferences.table.d.ts +9 -0
  86. package/dist/db/tables/userNotificationPreferences.table.js +49 -0
  87. package/dist/db/tables/userNotificationPreferences.table.js.map +1 -0
  88. package/dist/db/tables/userNotifications.table.d.ts +19 -0
  89. package/dist/db/tables/userNotifications.table.js +93 -0
  90. package/dist/db/tables/userNotifications.table.js.map +1 -0
  91. package/dist/dev/module-update-notifications.d.ts +10 -0
  92. package/dist/dev/module-update-notifications.js +146 -0
  93. package/dist/dev/module-update-notifications.js.map +1 -0
  94. package/dist/hooks/invite-extensions.d.ts +1 -0
  95. package/dist/hooks/invite-extensions.js +43 -0
  96. package/dist/hooks/invite-extensions.js.map +1 -0
  97. package/dist/hooks/tenant-deleted.d.ts +1 -0
  98. package/dist/hooks/tenant-deleted.js +33 -0
  99. package/dist/hooks/tenant-deleted.js.map +1 -0
  100. package/dist/implementations/dms/attachments.d.ts +6 -0
  101. package/dist/implementations/dms/attachments.js +10 -0
  102. package/dist/implementations/dms/attachments.js.map +1 -0
  103. package/dist/implementations/dms/client-base-url.d.ts +1 -0
  104. package/dist/implementations/dms/client-base-url.js +6 -0
  105. package/dist/implementations/dms/client-base-url.js.map +1 -0
  106. package/dist/implementations/dms/dev-handshake.d.ts +1 -0
  107. package/dist/implementations/dms/dev-handshake.js +41 -0
  108. package/dist/implementations/dms/dev-handshake.js.map +1 -0
  109. package/dist/implementations/dms/dev-reload.d.ts +10 -0
  110. package/dist/implementations/dms/dev-reload.js +93 -0
  111. package/dist/implementations/dms/dev-reload.js.map +1 -0
  112. package/dist/implementations/dms/frontend-bootstrap.d.ts +7 -0
  113. package/dist/implementations/dms/frontend-bootstrap.js +39 -0
  114. package/dist/implementations/dms/frontend-bootstrap.js.map +1 -0
  115. package/dist/implementations/dms/frontend-modules.d.ts +23 -0
  116. package/dist/implementations/dms/frontend-modules.js +215 -0
  117. package/dist/implementations/dms/frontend-modules.js.map +1 -0
  118. package/dist/implementations/dms/guards.d.ts +7 -0
  119. package/dist/implementations/dms/guards.js +45 -0
  120. package/dist/implementations/dms/guards.js.map +1 -0
  121. package/dist/implementations/dms/invite-extensions.d.ts +7 -0
  122. package/dist/implementations/dms/invite-extensions.js +19 -0
  123. package/dist/implementations/dms/invite-extensions.js.map +1 -0
  124. package/dist/implementations/dms/manifest.d.ts +27 -0
  125. package/dist/implementations/dms/manifest.js +96 -0
  126. package/dist/implementations/dms/manifest.js.map +1 -0
  127. package/dist/implementations/dms/page.d.ts +93 -0
  128. package/dist/implementations/dms/page.js +894 -0
  129. package/dist/implementations/dms/page.js.map +1 -0
  130. package/dist/implementations/dms/permissions-resolver.d.ts +8 -0
  131. package/dist/implementations/dms/permissions-resolver.js +33 -0
  132. package/dist/implementations/dms/permissions-resolver.js.map +1 -0
  133. package/dist/implementations/dms/permissions.d.ts +9 -0
  134. package/dist/implementations/dms/permissions.js +64 -0
  135. package/dist/implementations/dms/permissions.js.map +1 -0
  136. package/dist/implementations/dms/quick-actions.d.ts +33 -0
  137. package/dist/implementations/dms/quick-actions.js +52 -0
  138. package/dist/implementations/dms/quick-actions.js.map +1 -0
  139. package/dist/implementations/dms/realtime.d.ts +12 -0
  140. package/dist/implementations/dms/realtime.js +37 -0
  141. package/dist/implementations/dms/realtime.js.map +1 -0
  142. package/dist/implementations/dms/route-params.d.ts +2 -0
  143. package/dist/implementations/dms/route-params.js +24 -0
  144. package/dist/implementations/dms/route-params.js.map +1 -0
  145. package/dist/implementations/dms/tenant-access.d.ts +8 -0
  146. package/dist/implementations/dms/tenant-access.js +34 -0
  147. package/dist/implementations/dms/tenant-access.js.map +1 -0
  148. package/dist/implementations/dms/uploads.d.ts +8 -0
  149. package/dist/implementations/dms/uploads.js +11 -0
  150. package/dist/implementations/dms/uploads.js.map +1 -0
  151. package/dist/implementations/dms/warn-once.d.ts +1 -0
  152. package/dist/implementations/dms/warn-once.js +17 -0
  153. package/dist/implementations/dms/warn-once.js.map +1 -0
  154. package/dist/implementations/dms-auth/index.d.ts +55 -0
  155. package/dist/implementations/dms-auth/index.js +349 -0
  156. package/dist/implementations/dms-auth/index.js.map +1 -0
  157. package/dist/implementations/dms-base/export-jobs.d.ts +2 -0
  158. package/dist/implementations/dms-base/export-jobs.js +12 -0
  159. package/dist/implementations/dms-base/export-jobs.js.map +1 -0
  160. package/dist/implementations/dms-base/search-route.d.ts +29 -0
  161. package/dist/implementations/dms-base/search-route.js +168 -0
  162. package/dist/implementations/dms-base/search-route.js.map +1 -0
  163. package/dist/implementations/dms-base/table-view.d.ts +43 -0
  164. package/dist/implementations/dms-base/table-view.js +232 -0
  165. package/dist/implementations/dms-base/table-view.js.map +1 -0
  166. package/dist/implementations/dms-base/tenant-export-archive.d.ts +1 -0
  167. package/dist/implementations/dms-base/tenant-export-archive.js +7 -0
  168. package/dist/implementations/dms-base/tenant-export-archive.js.map +1 -0
  169. package/dist/implementations/dms-html-render/constants.d.ts +2 -0
  170. package/dist/implementations/dms-html-render/constants.js +6 -0
  171. package/dist/implementations/dms-html-render/constants.js.map +1 -0
  172. package/dist/implementations/dms-html-render/index.d.ts +4 -0
  173. package/dist/implementations/dms-html-render/index.js +50 -0
  174. package/dist/implementations/dms-html-render/index.js.map +1 -0
  175. package/dist/implementations/dms-html-render/service-jwt.d.ts +1 -0
  176. package/dist/implementations/dms-html-render/service-jwt.js +17 -0
  177. package/dist/implementations/dms-html-render/service-jwt.js.map +1 -0
  178. package/dist/implementations/dms-html-render/template-registry.d.ts +9 -0
  179. package/dist/implementations/dms-html-render/template-registry.js +28 -0
  180. package/dist/implementations/dms-html-render/template-registry.js.map +1 -0
  181. package/dist/implementations/dms-notifications/index.d.ts +19 -0
  182. package/dist/implementations/dms-notifications/index.js +193 -0
  183. package/dist/implementations/dms-notifications/index.js.map +1 -0
  184. package/dist/implementations/dms-notifications/registry.d.ts +6 -0
  185. package/dist/implementations/dms-notifications/registry.js +18 -0
  186. package/dist/implementations/dms-notifications/registry.js.map +1 -0
  187. package/dist/index.d.ts +10 -0
  188. package/dist/index.js +195 -0
  189. package/dist/index.js.map +1 -0
  190. package/dist/pages/index.d.ts +3 -0
  191. package/dist/pages/index.js +20 -0
  192. package/dist/pages/index.js.map +1 -0
  193. package/dist/pages/modules/index.d.ts +1 -0
  194. package/dist/pages/modules/index.js +18 -0
  195. package/dist/pages/modules/index.js.map +1 -0
  196. package/dist/pages/modules/modules-index.d.ts +4 -0
  197. package/dist/pages/modules/modules-index.js +22 -0
  198. package/dist/pages/modules/modules-index.js.map +1 -0
  199. package/dist/pages/public/auth/2fa.d.ts +9 -0
  200. package/dist/pages/public/auth/2fa.js +26 -0
  201. package/dist/pages/public/auth/2fa.js.map +1 -0
  202. package/dist/pages/public/auth/accounts.d.ts +9 -0
  203. package/dist/pages/public/auth/accounts.js +27 -0
  204. package/dist/pages/public/auth/accounts.js.map +1 -0
  205. package/dist/pages/public/auth/backup.d.ts +9 -0
  206. package/dist/pages/public/auth/backup.js +26 -0
  207. package/dist/pages/public/auth/backup.js.map +1 -0
  208. package/dist/pages/public/auth/forgot-validation.d.ts +9 -0
  209. package/dist/pages/public/auth/forgot-validation.js +26 -0
  210. package/dist/pages/public/auth/forgot-validation.js.map +1 -0
  211. package/dist/pages/public/auth/forgot.d.ts +9 -0
  212. package/dist/pages/public/auth/forgot.js +26 -0
  213. package/dist/pages/public/auth/forgot.js.map +1 -0
  214. package/dist/pages/public/auth/login.d.ts +9 -0
  215. package/dist/pages/public/auth/login.js +26 -0
  216. package/dist/pages/public/auth/login.js.map +1 -0
  217. package/dist/pages/public/auth/oauth-complete.d.ts +9 -0
  218. package/dist/pages/public/auth/oauth-complete.js +26 -0
  219. package/dist/pages/public/auth/oauth-complete.js.map +1 -0
  220. package/dist/pages/public/auth/recover-success.d.ts +9 -0
  221. package/dist/pages/public/auth/recover-success.js +26 -0
  222. package/dist/pages/public/auth/recover-success.js.map +1 -0
  223. package/dist/pages/public/auth/recover.d.ts +9 -0
  224. package/dist/pages/public/auth/recover.js +26 -0
  225. package/dist/pages/public/auth/recover.js.map +1 -0
  226. package/dist/pages/public/auth/signup.d.ts +9 -0
  227. package/dist/pages/public/auth/signup.js +26 -0
  228. package/dist/pages/public/auth/signup.js.map +1 -0
  229. package/dist/pages/public/auth/validate.d.ts +9 -0
  230. package/dist/pages/public/auth/validate.js +26 -0
  231. package/dist/pages/public/auth/validate.js.map +1 -0
  232. package/dist/pages/public/index.d.ts +12 -0
  233. package/dist/pages/public/index.js +15 -0
  234. package/dist/pages/public/index.js.map +1 -0
  235. package/dist/pages/public/onboarding/index.d.ts +9 -0
  236. package/dist/pages/public/onboarding/index.js +26 -0
  237. package/dist/pages/public/onboarding/index.js.map +1 -0
  238. package/dist/pages/settings/index.d.ts +2 -0
  239. package/dist/pages/settings/index.js +19 -0
  240. package/dist/pages/settings/index.js.map +1 -0
  241. package/dist/pages/settings/settings-index.d.ts +4 -0
  242. package/dist/pages/settings/settings-index.js +22 -0
  243. package/dist/pages/settings/settings-index.js.map +1 -0
  244. package/dist/pages/settings/users/appearance.d.ts +9 -0
  245. package/dist/pages/settings/users/appearance.js +30 -0
  246. package/dist/pages/settings/users/appearance.js.map +1 -0
  247. package/dist/pages/settings/users/category.d.ts +1 -0
  248. package/dist/pages/settings/users/category.js +12 -0
  249. package/dist/pages/settings/users/category.js.map +1 -0
  250. package/dist/pages/settings/users/index.d.ts +8 -0
  251. package/dist/pages/settings/users/index.js +27 -0
  252. package/dist/pages/settings/users/index.js.map +1 -0
  253. package/dist/pages/settings/users/invites.d.ts +37 -0
  254. package/dist/pages/settings/users/invites.js +307 -0
  255. package/dist/pages/settings/users/invites.js.map +1 -0
  256. package/dist/pages/settings/users/member-invite-form.d.ts +5 -0
  257. package/dist/pages/settings/users/member-invite-form.js +125 -0
  258. package/dist/pages/settings/users/member-invite-form.js.map +1 -0
  259. package/dist/pages/settings/users/members.d.ts +18 -0
  260. package/dist/pages/settings/users/members.js +222 -0
  261. package/dist/pages/settings/users/members.js.map +1 -0
  262. package/dist/pages/settings/users/notifications.d.ts +39 -0
  263. package/dist/pages/settings/users/notifications.js +177 -0
  264. package/dist/pages/settings/users/notifications.js.map +1 -0
  265. package/dist/pages/settings/users/profile-helpers.d.ts +56 -0
  266. package/dist/pages/settings/users/profile-helpers.js +141 -0
  267. package/dist/pages/settings/users/profile-helpers.js.map +1 -0
  268. package/dist/pages/settings/users/profile.d.ts +63 -0
  269. package/dist/pages/settings/users/profile.js +414 -0
  270. package/dist/pages/settings/users/profile.js.map +1 -0
  271. package/dist/pages/settings/users/roles.d.ts +11 -0
  272. package/dist/pages/settings/users/roles.js +71 -0
  273. package/dist/pages/settings/users/roles.js.map +1 -0
  274. package/dist/pages/settings/users/shortcuts.d.ts +9 -0
  275. package/dist/pages/settings/users/shortcuts.js +30 -0
  276. package/dist/pages/settings/users/shortcuts.js.map +1 -0
  277. package/dist/realtime/broker.d.ts +31 -0
  278. package/dist/realtime/broker.js +34 -0
  279. package/dist/realtime/broker.js.map +1 -0
  280. package/dist/realtime/current.d.ts +5 -0
  281. package/dist/realtime/current.js +20 -0
  282. package/dist/realtime/current.js.map +1 -0
  283. package/dist/realtime/heartbeat.d.ts +5 -0
  284. package/dist/realtime/heartbeat.js +35 -0
  285. package/dist/realtime/heartbeat.js.map +1 -0
  286. package/dist/realtime/index.d.ts +16 -0
  287. package/dist/realtime/index.js +143 -0
  288. package/dist/realtime/index.js.map +1 -0
  289. package/dist/realtime/instance.d.ts +1 -0
  290. package/dist/realtime/instance.js +6 -0
  291. package/dist/realtime/instance.js.map +1 -0
  292. package/dist/realtime/presence.d.ts +38 -0
  293. package/dist/realtime/presence.js +241 -0
  294. package/dist/realtime/presence.js.map +1 -0
  295. package/dist/realtime/redis-broker.d.ts +14 -0
  296. package/dist/realtime/redis-broker.js +127 -0
  297. package/dist/realtime/redis-broker.js.map +1 -0
  298. package/dist/realtime/registry.d.ts +7 -0
  299. package/dist/realtime/registry.js +34 -0
  300. package/dist/realtime/registry.js.map +1 -0
  301. package/dist/realtime/sessions.d.ts +14 -0
  302. package/dist/realtime/sessions.js +30 -0
  303. package/dist/realtime/sessions.js.map +1 -0
  304. package/dist/realtime/sse.d.ts +7 -0
  305. package/dist/realtime/sse.js +55 -0
  306. package/dist/realtime/sse.js.map +1 -0
  307. package/dist/realtime/tableview-bridge.d.ts +1 -0
  308. package/dist/realtime/tableview-bridge.js +38 -0
  309. package/dist/realtime/tableview-bridge.js.map +1 -0
  310. package/dist/routes/auth/constants.d.ts +3 -0
  311. package/dist/routes/auth/constants.js +7 -0
  312. package/dist/routes/auth/constants.js.map +1 -0
  313. package/dist/routes/auth/forgot-password.d.ts +2 -0
  314. package/dist/routes/auth/forgot-password.js +33 -0
  315. package/dist/routes/auth/forgot-password.js.map +1 -0
  316. package/dist/routes/auth/index.d.ts +16 -0
  317. package/dist/routes/auth/index.js +33 -0
  318. package/dist/routes/auth/index.js.map +1 -0
  319. package/dist/routes/auth/invite.d.ts +8 -0
  320. package/dist/routes/auth/invite.js +30 -0
  321. package/dist/routes/auth/invite.js.map +1 -0
  322. package/dist/routes/auth/login.d.ts +3 -0
  323. package/dist/routes/auth/login.js +16 -0
  324. package/dist/routes/auth/login.js.map +1 -0
  325. package/dist/routes/auth/logout.d.ts +3 -0
  326. package/dist/routes/auth/logout.js +22 -0
  327. package/dist/routes/auth/logout.js.map +1 -0
  328. package/dist/routes/auth/me.d.ts +2 -0
  329. package/dist/routes/auth/me.js +8 -0
  330. package/dist/routes/auth/me.js.map +1 -0
  331. package/dist/routes/auth/oauth/authorize-url.d.ts +5 -0
  332. package/dist/routes/auth/oauth/authorize-url.js +18 -0
  333. package/dist/routes/auth/oauth/authorize-url.js.map +1 -0
  334. package/dist/routes/auth/oauth/callback.d.ts +11 -0
  335. package/dist/routes/auth/oauth/callback.js +51 -0
  336. package/dist/routes/auth/oauth/callback.js.map +1 -0
  337. package/dist/routes/auth/oauth/config.d.ts +21 -0
  338. package/dist/routes/auth/oauth/config.js +55 -0
  339. package/dist/routes/auth/oauth/config.js.map +1 -0
  340. package/dist/routes/auth/oauth/identity-resolution.d.ts +16 -0
  341. package/dist/routes/auth/oauth/identity-resolution.js +108 -0
  342. package/dist/routes/auth/oauth/identity-resolution.js.map +1 -0
  343. package/dist/routes/auth/oauth/index.d.ts +9 -0
  344. package/dist/routes/auth/oauth/index.js +26 -0
  345. package/dist/routes/auth/oauth/index.js.map +1 -0
  346. package/dist/routes/auth/oauth/linking-policy.d.ts +11 -0
  347. package/dist/routes/auth/oauth/linking-policy.js +28 -0
  348. package/dist/routes/auth/oauth/linking-policy.js.map +1 -0
  349. package/dist/routes/auth/oauth/providers.d.ts +15 -0
  350. package/dist/routes/auth/oauth/providers.js +80 -0
  351. package/dist/routes/auth/oauth/providers.js.map +1 -0
  352. package/dist/routes/auth/oauth/relay.d.ts +2 -0
  353. package/dist/routes/auth/oauth/relay.js +25 -0
  354. package/dist/routes/auth/oauth/relay.js.map +1 -0
  355. package/dist/routes/auth/oauth/state.d.ts +2 -0
  356. package/dist/routes/auth/oauth/state.js +71 -0
  357. package/dist/routes/auth/oauth/state.js.map +1 -0
  358. package/dist/routes/auth/oauth/token-exchange.d.ts +2 -0
  359. package/dist/routes/auth/oauth/token-exchange.js +34 -0
  360. package/dist/routes/auth/oauth/token-exchange.js.map +1 -0
  361. package/dist/routes/auth/pick-tenant.d.ts +1 -0
  362. package/dist/routes/auth/pick-tenant.js +12 -0
  363. package/dist/routes/auth/pick-tenant.js.map +1 -0
  364. package/dist/routes/auth/refresh.d.ts +4 -0
  365. package/dist/routes/auth/refresh.js +61 -0
  366. package/dist/routes/auth/refresh.js.map +1 -0
  367. package/dist/routes/auth/request-2fa-email.d.ts +6 -0
  368. package/dist/routes/auth/request-2fa-email.js +30 -0
  369. package/dist/routes/auth/request-2fa-email.js.map +1 -0
  370. package/dist/routes/auth/request-email-verification.d.ts +2 -0
  371. package/dist/routes/auth/request-email-verification.js +28 -0
  372. package/dist/routes/auth/request-email-verification.js.map +1 -0
  373. package/dist/routes/auth/reset-password.d.ts +2 -0
  374. package/dist/routes/auth/reset-password.js +23 -0
  375. package/dist/routes/auth/reset-password.js.map +1 -0
  376. package/dist/routes/auth/session-response.d.ts +5 -0
  377. package/dist/routes/auth/session-response.js +42 -0
  378. package/dist/routes/auth/session-response.js.map +1 -0
  379. package/dist/routes/auth/signup.d.ts +3 -0
  380. package/dist/routes/auth/signup.js +103 -0
  381. package/dist/routes/auth/signup.js.map +1 -0
  382. package/dist/routes/auth/switch-tenant.d.ts +3 -0
  383. package/dist/routes/auth/switch-tenant.js +46 -0
  384. package/dist/routes/auth/switch-tenant.js.map +1 -0
  385. package/dist/routes/auth/types.d.ts +18 -0
  386. package/dist/routes/auth/types.js +3 -0
  387. package/dist/routes/auth/types.js.map +1 -0
  388. package/dist/routes/auth/validate-forgot-password-token.d.ts +2 -0
  389. package/dist/routes/auth/validate-forgot-password-token.js +17 -0
  390. package/dist/routes/auth/validate-forgot-password-token.js.map +1 -0
  391. package/dist/routes/auth/verify-2fa.d.ts +3 -0
  392. package/dist/routes/auth/verify-2fa.js +62 -0
  393. package/dist/routes/auth/verify-2fa.js.map +1 -0
  394. package/dist/routes/auth/verify-email.d.ts +2 -0
  395. package/dist/routes/auth/verify-email.js +21 -0
  396. package/dist/routes/auth/verify-email.js.map +1 -0
  397. package/dist/routes/auth.d.ts +30 -0
  398. package/dist/routes/auth.js +239 -0
  399. package/dist/routes/auth.js.map +1 -0
  400. package/dist/routes/files.d.ts +18 -0
  401. package/dist/routes/files.js +76 -0
  402. package/dist/routes/files.js.map +1 -0
  403. package/dist/routes/index.d.ts +5 -0
  404. package/dist/routes/index.js +22 -0
  405. package/dist/routes/index.js.map +1 -0
  406. package/dist/routes/onboarding.d.ts +12 -0
  407. package/dist/routes/onboarding.js +90 -0
  408. package/dist/routes/onboarding.js.map +1 -0
  409. package/dist/routes/realtime.d.ts +15 -0
  410. package/dist/routes/realtime.js +226 -0
  411. package/dist/routes/realtime.js.map +1 -0
  412. package/dist/routes/system-state.d.ts +16 -0
  413. package/dist/routes/system-state.js +43 -0
  414. package/dist/routes/system-state.js.map +1 -0
  415. package/dist/test/antelope.test.d.ts +2 -0
  416. package/dist/test/antelope.test.js +130 -0
  417. package/dist/test/antelope.test.js.map +1 -0
  418. package/dist/test/attachment-host/index.d.ts +1 -0
  419. package/dist/test/attachment-host/index.js +4 -0
  420. package/dist/test/attachment-host/index.js.map +1 -0
  421. package/dist/test/attachment-host/native.d.ts +14 -0
  422. package/dist/test/attachment-host/native.js +158 -0
  423. package/dist/test/attachment-host/native.js.map +1 -0
  424. package/dist/test/helpers/attachments.d.ts +18 -0
  425. package/dist/test/helpers/attachments.js +57 -0
  426. package/dist/test/helpers/attachments.js.map +1 -0
  427. package/dist/test/helpers/auth.d.ts +23 -0
  428. package/dist/test/helpers/auth.js +58 -0
  429. package/dist/test/helpers/auth.js.map +1 -0
  430. package/dist/test/helpers/db.d.ts +2 -0
  431. package/dist/test/helpers/db.js +47 -0
  432. package/dist/test/helpers/db.js.map +1 -0
  433. package/dist/test/helpers/fixtures.d.ts +23 -0
  434. package/dist/test/helpers/fixtures.js +62 -0
  435. package/dist/test/helpers/fixtures.js.map +1 -0
  436. package/dist/test/helpers/http.d.ts +3 -0
  437. package/dist/test/helpers/http.js +22 -0
  438. package/dist/test/helpers/http.js.map +1 -0
  439. package/dist/test/helpers/logging.d.ts +5 -0
  440. package/dist/test/helpers/logging.js +18 -0
  441. package/dist/test/helpers/logging.js.map +1 -0
  442. package/dist/test/helpers/page-access.d.ts +16 -0
  443. package/dist/test/helpers/page-access.js +44 -0
  444. package/dist/test/helpers/page-access.js.map +1 -0
  445. package/dist/test/integration/auth/login.test.d.ts +1 -0
  446. package/dist/test/integration/auth/login.test.js +57 -0
  447. package/dist/test/integration/auth/login.test.js.map +1 -0
  448. package/dist/test/integration/auth/refresh.test.d.ts +1 -0
  449. package/dist/test/integration/auth/refresh.test.js +59 -0
  450. package/dist/test/integration/auth/refresh.test.js.map +1 -0
  451. package/dist/test/integration/auth/sessions.test.d.ts +1 -0
  452. package/dist/test/integration/auth/sessions.test.js +58 -0
  453. package/dist/test/integration/auth/sessions.test.js.map +1 -0
  454. package/dist/test/integration/auth/signup.test.d.ts +1 -0
  455. package/dist/test/integration/auth/signup.test.js +99 -0
  456. package/dist/test/integration/auth/signup.test.js.map +1 -0
  457. package/dist/test/integration/export-cleanup.test.d.ts +1 -0
  458. package/dist/test/integration/export-cleanup.test.js +144 -0
  459. package/dist/test/integration/export-cleanup.test.js.map +1 -0
  460. package/dist/test/integration/files/component-file-retries.test.d.ts +1 -0
  461. package/dist/test/integration/files/component-file-retries.test.js +219 -0
  462. package/dist/test/integration/files/component-file-retries.test.js.map +1 -0
  463. package/dist/test/integration/files/component-files.test.d.ts +1 -0
  464. package/dist/test/integration/files/component-files.test.js +264 -0
  465. package/dist/test/integration/files/component-files.test.js.map +1 -0
  466. package/dist/test/integration/files/sign-upload-token.test.d.ts +1 -0
  467. package/dist/test/integration/files/sign-upload-token.test.js +16 -0
  468. package/dist/test/integration/files/sign-upload-token.test.js.map +1 -0
  469. package/dist/test/integration/files/upload.test.d.ts +1 -0
  470. package/dist/test/integration/files/upload.test.js +114 -0
  471. package/dist/test/integration/files/upload.test.js.map +1 -0
  472. package/dist/test/integration/frontend-endpoints.test.d.ts +1 -0
  473. package/dist/test/integration/frontend-endpoints.test.js +84 -0
  474. package/dist/test/integration/frontend-endpoints.test.js.map +1 -0
  475. package/dist/test/integration/invite-resolution.test.d.ts +1 -0
  476. package/dist/test/integration/invite-resolution.test.js +438 -0
  477. package/dist/test/integration/invite-resolution.test.js.map +1 -0
  478. package/dist/test/integration/notifications.test.d.ts +1 -0
  479. package/dist/test/integration/notifications.test.js +263 -0
  480. package/dist/test/integration/notifications.test.js.map +1 -0
  481. package/dist/test/integration/setup.test.d.ts +1 -0
  482. package/dist/test/integration/setup.test.js +45 -0
  483. package/dist/test/integration/setup.test.js.map +1 -0
  484. package/dist/test/integration/tenant-lifecycle.test.d.ts +1 -0
  485. package/dist/test/integration/tenant-lifecycle.test.js +244 -0
  486. package/dist/test/integration/tenant-lifecycle.test.js.map +1 -0
  487. package/dist/test/unit/auth-token-purpose.test.d.ts +1 -0
  488. package/dist/test/unit/auth-token-purpose.test.js +84 -0
  489. package/dist/test/unit/auth-token-purpose.test.js.map +1 -0
  490. package/dist/test/unit/automation-registration-lifecycle.test.d.ts +1 -0
  491. package/dist/test/unit/automation-registration-lifecycle.test.js +23 -0
  492. package/dist/test/unit/automation-registration-lifecycle.test.js.map +1 -0
  493. package/dist/test/unit/db/system-state.model.test.d.ts +1 -0
  494. package/dist/test/unit/db/system-state.model.test.js +55 -0
  495. package/dist/test/unit/db/system-state.model.test.js.map +1 -0
  496. package/dist/test/unit/dev/module-update-notifications.test.d.ts +1 -0
  497. package/dist/test/unit/dev/module-update-notifications.test.js +43 -0
  498. package/dist/test/unit/dev/module-update-notifications.test.js.map +1 -0
  499. package/dist/test/unit/dist-self-imports.test.d.ts +1 -0
  500. package/dist/test/unit/dist-self-imports.test.js +25 -0
  501. package/dist/test/unit/dist-self-imports.test.js.map +1 -0
  502. package/dist/test/unit/frontend-bootstrap.test.d.ts +1 -0
  503. package/dist/test/unit/frontend-bootstrap.test.js +55 -0
  504. package/dist/test/unit/frontend-bootstrap.test.js.map +1 -0
  505. package/dist/test/unit/implementations/dms/archive-filter.test.d.ts +1 -0
  506. package/dist/test/unit/implementations/dms/archive-filter.test.js +63 -0
  507. package/dist/test/unit/implementations/dms/archive-filter.test.js.map +1 -0
  508. package/dist/test/unit/implementations/dms/category-slug-registry.test.d.ts +1 -0
  509. package/dist/test/unit/implementations/dms/category-slug-registry.test.js +187 -0
  510. package/dist/test/unit/implementations/dms/category-slug-registry.test.js.map +1 -0
  511. package/dist/test/unit/implementations/dms/dynamic-menu-hardening.test.d.ts +1 -0
  512. package/dist/test/unit/implementations/dms/dynamic-menu-hardening.test.js +168 -0
  513. package/dist/test/unit/implementations/dms/dynamic-menu-hardening.test.js.map +1 -0
  514. package/dist/test/unit/implementations/dms/dynamic-menu.test.d.ts +1 -0
  515. package/dist/test/unit/implementations/dms/dynamic-menu.test.js +478 -0
  516. package/dist/test/unit/implementations/dms/dynamic-menu.test.js.map +1 -0
  517. package/dist/test/unit/implementations/dms/frontend-module-metadata.test.d.ts +1 -0
  518. package/dist/test/unit/implementations/dms/frontend-module-metadata.test.js +38 -0
  519. package/dist/test/unit/implementations/dms/frontend-module-metadata.test.js.map +1 -0
  520. package/dist/test/unit/implementations/dms/gate-consistency.test.d.ts +1 -0
  521. package/dist/test/unit/implementations/dms/gate-consistency.test.js +112 -0
  522. package/dist/test/unit/implementations/dms/gate-consistency.test.js.map +1 -0
  523. package/dist/test/unit/implementations/dms/manifest-strip.test.d.ts +1 -0
  524. package/dist/test/unit/implementations/dms/manifest-strip.test.js +91 -0
  525. package/dist/test/unit/implementations/dms/manifest-strip.test.js.map +1 -0
  526. package/dist/test/unit/implementations/dms/notify-menu-changed.test.d.ts +1 -0
  527. package/dist/test/unit/implementations/dms/notify-menu-changed.test.js +47 -0
  528. package/dist/test/unit/implementations/dms/notify-menu-changed.test.js.map +1 -0
  529. package/dist/test/unit/implementations/dms/page-tenant-gate.test.d.ts +1 -0
  530. package/dist/test/unit/implementations/dms/page-tenant-gate.test.js +189 -0
  531. package/dist/test/unit/implementations/dms/page-tenant-gate.test.js.map +1 -0
  532. package/dist/test/unit/implementations/dms/permission-teardown.test.d.ts +1 -0
  533. package/dist/test/unit/implementations/dms/permission-teardown.test.js +105 -0
  534. package/dist/test/unit/implementations/dms/permission-teardown.test.js.map +1 -0
  535. package/dist/test/unit/implementations/dms/quick-actions-access.test.d.ts +1 -0
  536. package/dist/test/unit/implementations/dms/quick-actions-access.test.js +159 -0
  537. package/dist/test/unit/implementations/dms/quick-actions-access.test.js.map +1 -0
  538. package/dist/test/unit/implementations/dms/quick-actions-openform.test.d.ts +1 -0
  539. package/dist/test/unit/implementations/dms/quick-actions-openform.test.js +184 -0
  540. package/dist/test/unit/implementations/dms/quick-actions-openform.test.js.map +1 -0
  541. package/dist/test/unit/implementations/dms/subscribe-message.test.d.ts +1 -0
  542. package/dist/test/unit/implementations/dms/subscribe-message.test.js +68 -0
  543. package/dist/test/unit/implementations/dms/subscribe-message.test.js.map +1 -0
  544. package/dist/test/unit/implementations/dms/surface-redaction.test.d.ts +1 -0
  545. package/dist/test/unit/implementations/dms/surface-redaction.test.js +171 -0
  546. package/dist/test/unit/implementations/dms/surface-redaction.test.js.map +1 -0
  547. package/dist/test/unit/implementations/dms/user-can-access-page.test.d.ts +1 -0
  548. package/dist/test/unit/implementations/dms/user-can-access-page.test.js +113 -0
  549. package/dist/test/unit/implementations/dms/user-can-access-page.test.js.map +1 -0
  550. package/dist/test/unit/implementations/dms/user-permissions-gate.test.d.ts +1 -0
  551. package/dist/test/unit/implementations/dms/user-permissions-gate.test.js +158 -0
  552. package/dist/test/unit/implementations/dms/user-permissions-gate.test.js.map +1 -0
  553. package/dist/test/unit/implementations/dms/warn-once.test.d.ts +1 -0
  554. package/dist/test/unit/implementations/dms/warn-once.test.js +179 -0
  555. package/dist/test/unit/implementations/dms/warn-once.test.js.map +1 -0
  556. package/dist/test/unit/implementations/dms-base/archive-mode-helpers.test.d.ts +1 -0
  557. package/dist/test/unit/implementations/dms-base/archive-mode-helpers.test.js +121 -0
  558. package/dist/test/unit/implementations/dms-base/archive-mode-helpers.test.js.map +1 -0
  559. package/dist/test/unit/implementations/dms-base/table-view-export-batching.test.d.ts +1 -0
  560. package/dist/test/unit/implementations/dms-base/table-view-export-batching.test.js +120 -0
  561. package/dist/test/unit/implementations/dms-base/table-view-export-batching.test.js.map +1 -0
  562. package/dist/test/unit/implementations/dms-html-render/generate-html.test.d.ts +1 -0
  563. package/dist/test/unit/implementations/dms-html-render/generate-html.test.js +44 -0
  564. package/dist/test/unit/implementations/dms-html-render/generate-html.test.js.map +1 -0
  565. package/dist/test/unit/interfaces/dms/component-children-permissions.test.d.ts +1 -0
  566. package/dist/test/unit/interfaces/dms/component-children-permissions.test.js +357 -0
  567. package/dist/test/unit/interfaces/dms/component-children-permissions.test.js.map +1 -0
  568. package/dist/test/unit/interfaces/dms/component-transform.test.d.ts +1 -0
  569. package/dist/test/unit/interfaces/dms/component-transform.test.js +45 -0
  570. package/dist/test/unit/interfaces/dms/component-transform.test.js.map +1 -0
  571. package/dist/test/unit/interfaces/dms/has-permission-module-scope.test.d.ts +1 -0
  572. package/dist/test/unit/interfaces/dms/has-permission-module-scope.test.js +70 -0
  573. package/dist/test/unit/interfaces/dms/has-permission-module-scope.test.js.map +1 -0
  574. package/dist/test/unit/interfaces/dms/invite-extension.test.d.ts +1 -0
  575. package/dist/test/unit/interfaces/dms/invite-extension.test.js +371 -0
  576. package/dist/test/unit/interfaces/dms/invite-extension.test.js.map +1 -0
  577. package/dist/test/unit/interfaces/dms/module-permission-registration.test.d.ts +1 -0
  578. package/dist/test/unit/interfaces/dms/module-permission-registration.test.js +96 -0
  579. package/dist/test/unit/interfaces/dms/module-permission-registration.test.js.map +1 -0
  580. package/dist/test/unit/interfaces/dms/module-scoped-permissions.test.d.ts +1 -0
  581. package/dist/test/unit/interfaces/dms/module-scoped-permissions.test.js +28 -0
  582. package/dist/test/unit/interfaces/dms/module-scoped-permissions.test.js.map +1 -0
  583. package/dist/test/unit/interfaces/dms/native-file-registration.test.d.ts +1 -0
  584. package/dist/test/unit/interfaces/dms/native-file-registration.test.js +135 -0
  585. package/dist/test/unit/interfaces/dms/native-file-registration.test.js.map +1 -0
  586. package/dist/test/unit/interfaces/dms/page-extension.test.d.ts +1 -0
  587. package/dist/test/unit/interfaces/dms/page-extension.test.js +599 -0
  588. package/dist/test/unit/interfaces/dms/page-extension.test.js.map +1 -0
  589. package/dist/test/unit/interfaces/dms/page-layout-gate.test.d.ts +1 -0
  590. package/dist/test/unit/interfaces/dms/page-layout-gate.test.js +143 -0
  591. package/dist/test/unit/interfaces/dms/page-layout-gate.test.js.map +1 -0
  592. package/dist/test/unit/interfaces/dms/page-permission-teardown.test.d.ts +1 -0
  593. package/dist/test/unit/interfaces/dms/page-permission-teardown.test.js +75 -0
  594. package/dist/test/unit/interfaces/dms/page-permission-teardown.test.js.map +1 -0
  595. package/dist/test/unit/interfaces/dms/page-registration-identity.test.d.ts +1 -0
  596. package/dist/test/unit/interfaces/dms/page-registration-identity.test.js +203 -0
  597. package/dist/test/unit/interfaces/dms/page-registration-identity.test.js.map +1 -0
  598. package/dist/test/unit/interfaces/dms/page-teardown.test.d.ts +1 -0
  599. package/dist/test/unit/interfaces/dms/page-teardown.test.js +290 -0
  600. package/dist/test/unit/interfaces/dms/page-teardown.test.js.map +1 -0
  601. package/dist/test/unit/interfaces/dms/tenant-being-provisioned-hook.test.d.ts +1 -0
  602. package/dist/test/unit/interfaces/dms/tenant-being-provisioned-hook.test.js +92 -0
  603. package/dist/test/unit/interfaces/dms/tenant-being-provisioned-hook.test.js.map +1 -0
  604. package/dist/test/unit/interfaces/dms-auth/refresh-token-rotation.test.d.ts +1 -0
  605. package/dist/test/unit/interfaces/dms-auth/refresh-token-rotation.test.js +88 -0
  606. package/dist/test/unit/interfaces/dms-auth/refresh-token-rotation.test.js.map +1 -0
  607. package/dist/test/unit/interfaces/dms-base/chart-value-precision.test.d.ts +1 -0
  608. package/dist/test/unit/interfaces/dms-base/chart-value-precision.test.js +29 -0
  609. package/dist/test/unit/interfaces/dms-base/chart-value-precision.test.js.map +1 -0
  610. package/dist/test/unit/interfaces/dms-base/data-types/default-types.test.d.ts +1 -0
  611. package/dist/test/unit/interfaces/dms-base/data-types/default-types.test.js +254 -0
  612. package/dist/test/unit/interfaces/dms-base/data-types/default-types.test.js.map +1 -0
  613. package/dist/test/unit/interfaces/dms-base/data-types/status-type.test.d.ts +1 -0
  614. package/dist/test/unit/interfaces/dms-base/data-types/status-type.test.js +56 -0
  615. package/dist/test/unit/interfaces/dms-base/data-types/status-type.test.js.map +1 -0
  616. package/dist/test/unit/interfaces/dms-base/form-upload-tokens.test.d.ts +1 -0
  617. package/dist/test/unit/interfaces/dms-base/form-upload-tokens.test.js +175 -0
  618. package/dist/test/unit/interfaces/dms-base/form-upload-tokens.test.js.map +1 -0
  619. package/dist/test/unit/interfaces/dms-base/layouts.test.d.ts +1 -0
  620. package/dist/test/unit/interfaces/dms-base/layouts.test.js +33 -0
  621. package/dist/test/unit/interfaces/dms-base/layouts.test.js.map +1 -0
  622. package/dist/test/unit/interfaces/dms-base/nested-chart-card.test.d.ts +1 -0
  623. package/dist/test/unit/interfaces/dms-base/nested-chart-card.test.js +85 -0
  624. package/dist/test/unit/interfaces/dms-base/nested-chart-card.test.js.map +1 -0
  625. package/dist/test/unit/interfaces/dms-base/table-cell-wrap.test.d.ts +1 -0
  626. package/dist/test/unit/interfaces/dms-base/table-cell-wrap.test.js +29 -0
  627. package/dist/test/unit/interfaces/dms-base/table-cell-wrap.test.js.map +1 -0
  628. package/dist/test/unit/interfaces/dms-base/table-view-get-guard.test.d.ts +1 -0
  629. package/dist/test/unit/interfaces/dms-base/table-view-get-guard.test.js +205 -0
  630. package/dist/test/unit/interfaces/dms-base/table-view-get-guard.test.js.map +1 -0
  631. package/dist/test/unit/interfaces/dms-base/table-view-tenant-gate.test.d.ts +1 -0
  632. package/dist/test/unit/interfaces/dms-base/table-view-tenant-gate.test.js +208 -0
  633. package/dist/test/unit/interfaces/dms-base/table-view-tenant-gate.test.js.map +1 -0
  634. package/dist/test/unit/oauth-account-guard.test.d.ts +1 -0
  635. package/dist/test/unit/oauth-account-guard.test.js +96 -0
  636. package/dist/test/unit/oauth-account-guard.test.js.map +1 -0
  637. package/dist/test/unit/oauth-claim-account.test.d.ts +1 -0
  638. package/dist/test/unit/oauth-claim-account.test.js +90 -0
  639. package/dist/test/unit/oauth-claim-account.test.js.map +1 -0
  640. package/dist/test/unit/oauth-config.test.d.ts +1 -0
  641. package/dist/test/unit/oauth-config.test.js +112 -0
  642. package/dist/test/unit/oauth-config.test.js.map +1 -0
  643. package/dist/test/unit/oauth-linking-policy.test.d.ts +1 -0
  644. package/dist/test/unit/oauth-linking-policy.test.js +114 -0
  645. package/dist/test/unit/oauth-linking-policy.test.js.map +1 -0
  646. package/dist/test/unit/oauth-provider-identity.test.d.ts +1 -0
  647. package/dist/test/unit/oauth-provider-identity.test.js +126 -0
  648. package/dist/test/unit/oauth-provider-identity.test.js.map +1 -0
  649. package/dist/test/unit/oauth-relay.test.d.ts +1 -0
  650. package/dist/test/unit/oauth-relay.test.js +40 -0
  651. package/dist/test/unit/oauth-relay.test.js.map +1 -0
  652. package/dist/test/unit/oauth-state.test.d.ts +1 -0
  653. package/dist/test/unit/oauth-state.test.js +61 -0
  654. package/dist/test/unit/oauth-state.test.js.map +1 -0
  655. package/dist/test/unit/request-authenticators.test.d.ts +1 -0
  656. package/dist/test/unit/request-authenticators.test.js +153 -0
  657. package/dist/test/unit/request-authenticators.test.js.map +1 -0
  658. package/dist/test/unit/request-tenant-guards.test.d.ts +1 -0
  659. package/dist/test/unit/request-tenant-guards.test.js +161 -0
  660. package/dist/test/unit/request-tenant-guards.test.js.map +1 -0
  661. package/dist/test/unit/signup-account-guard.test.d.ts +1 -0
  662. package/dist/test/unit/signup-account-guard.test.js +123 -0
  663. package/dist/test/unit/signup-account-guard.test.js.map +1 -0
  664. package/dist/test/unit/upload-constraints.test.d.ts +1 -0
  665. package/dist/test/unit/upload-constraints.test.js +43 -0
  666. package/dist/test/unit/upload-constraints.test.js.map +1 -0
  667. package/dist/test/unit/upload-token.test.d.ts +1 -0
  668. package/dist/test/unit/upload-token.test.js +46 -0
  669. package/dist/test/unit/upload-token.test.js.map +1 -0
  670. package/dist/test/unit/utils/row-action-rule-evaluator.test.d.ts +1 -0
  671. package/dist/test/unit/utils/row-action-rule-evaluator.test.js +143 -0
  672. package/dist/test/unit/utils/row-action-rule-evaluator.test.js.map +1 -0
  673. package/dist/test/unit/utils/tenant-export-archive.test.d.ts +1 -0
  674. package/dist/test/unit/utils/tenant-export-archive.test.js +138 -0
  675. package/dist/test/unit/utils/tenant-export-archive.test.js.map +1 -0
  676. package/dist/test/unit/utils/type-check.test.d.ts +1 -0
  677. package/dist/test/unit/utils/type-check.test.js +143 -0
  678. package/dist/test/unit/utils/type-check.test.js.map +1 -0
  679. package/dist/test/unit/utils/value-parser.test.d.ts +1 -0
  680. package/dist/test/unit/utils/value-parser.test.js +166 -0
  681. package/dist/test/unit/utils/value-parser.test.js.map +1 -0
  682. package/dist/test/unit/validation/auth.schema.test.d.ts +1 -0
  683. package/dist/test/unit/validation/auth.schema.test.js +77 -0
  684. package/dist/test/unit/validation/auth.schema.test.js.map +1 -0
  685. package/dist/test/unit/validation/file.schema.test.d.ts +1 -0
  686. package/dist/test/unit/validation/file.schema.test.js +140 -0
  687. package/dist/test/unit/validation/file.schema.test.js.map +1 -0
  688. package/dist/test/unit/validation/member-invite.schema.test.d.ts +1 -0
  689. package/dist/test/unit/validation/member-invite.schema.test.js +117 -0
  690. package/dist/test/unit/validation/member-invite.schema.test.js.map +1 -0
  691. package/dist/test/unit/validation/onboarding/register-admin.schema.test.d.ts +1 -0
  692. package/dist/test/unit/validation/onboarding/register-admin.schema.test.js +69 -0
  693. package/dist/test/unit/validation/onboarding/register-admin.schema.test.js.map +1 -0
  694. package/dist/test/unit/validation/user-notification-preferences.schema.test.d.ts +1 -0
  695. package/dist/test/unit/validation/user-notification-preferences.schema.test.js +29 -0
  696. package/dist/test/unit/validation/user-notification-preferences.schema.test.js.map +1 -0
  697. package/dist/utils/account-notifications.d.ts +10 -0
  698. package/dist/utils/account-notifications.js +147 -0
  699. package/dist/utils/account-notifications.js.map +1 -0
  700. package/dist/utils/auth-key.d.ts +1 -0
  701. package/dist/utils/auth-key.js +12 -0
  702. package/dist/utils/auth-key.js.map +1 -0
  703. package/dist/utils/ensure-default-tenant.d.ts +1 -0
  704. package/dist/utils/ensure-default-tenant.js +27 -0
  705. package/dist/utils/ensure-default-tenant.js.map +1 -0
  706. package/dist/utils/export-jobs-run.d.ts +17 -0
  707. package/dist/utils/export-jobs-run.js +212 -0
  708. package/dist/utils/export-jobs-run.js.map +1 -0
  709. package/dist/utils/export-jobs.d.ts +14 -0
  710. package/dist/utils/export-jobs.js +241 -0
  711. package/dist/utils/export-jobs.js.map +1 -0
  712. package/dist/utils/index.d.ts +9 -0
  713. package/dist/utils/index.js +26 -0
  714. package/dist/utils/index.js.map +1 -0
  715. package/dist/utils/row-action-rule-evaluator.d.ts +4 -0
  716. package/dist/utils/row-action-rule-evaluator.js +47 -0
  717. package/dist/utils/row-action-rule-evaluator.js.map +1 -0
  718. package/dist/utils/run-in-batches.d.ts +1 -0
  719. package/dist/utils/run-in-batches.js +17 -0
  720. package/dist/utils/run-in-batches.js.map +1 -0
  721. package/dist/utils/tenant-export-archive.d.ts +6 -0
  722. package/dist/utils/tenant-export-archive.js +271 -0
  723. package/dist/utils/tenant-export-archive.js.map +1 -0
  724. package/dist/utils/upload-constraints.d.ts +4 -0
  725. package/dist/utils/upload-constraints.js +19 -0
  726. package/dist/utils/upload-constraints.js.map +1 -0
  727. package/dist/utils/upload-token.d.ts +11 -0
  728. package/dist/utils/upload-token.js +75 -0
  729. package/dist/utils/upload-token.js.map +1 -0
  730. package/dist/utils/user-agent.d.ts +3 -0
  731. package/dist/utils/user-agent.js +22 -0
  732. package/dist/utils/user-agent.js.map +1 -0
  733. package/dist/validation/auth.schema.d.ts +149 -0
  734. package/dist/validation/auth.schema.js +102 -0
  735. package/dist/validation/auth.schema.js.map +1 -0
  736. package/dist/validation/file.schema.d.ts +27 -0
  737. package/dist/validation/file.schema.js +50 -0
  738. package/dist/validation/file.schema.js.map +1 -0
  739. package/dist/validation/member-invite.schema.d.ts +59 -0
  740. package/dist/validation/member-invite.schema.js +38 -0
  741. package/dist/validation/member-invite.schema.js.map +1 -0
  742. package/dist/validation/onboarding/index.d.ts +1 -0
  743. package/dist/validation/onboarding/index.js +18 -0
  744. package/dist/validation/onboarding/index.js.map +1 -0
  745. package/dist/validation/onboarding/register-admin.schema.d.ts +22 -0
  746. package/dist/validation/onboarding/register-admin.schema.js +54 -0
  747. package/dist/validation/onboarding/register-admin.schema.js.map +1 -0
  748. package/dist/validation/password.d.ts +3 -0
  749. package/dist/validation/password.js +40 -0
  750. package/dist/validation/password.js.map +1 -0
  751. package/dist/validation/user-notification-preferences.schema.d.ts +2 -0
  752. package/dist/validation/user-notification-preferences.schema.js +39 -0
  753. package/dist/validation/user-notification-preferences.schema.js.map +1 -0
  754. package/frontend-vue/.prettierrc +10 -0
  755. package/frontend-vue/.vscode/settings.json +42 -0
  756. package/frontend-vue/antelope.config.json +5 -0
  757. package/frontend-vue/deferred-plugins.ts +29 -0
  758. package/frontend-vue/dms.email.ts +13 -0
  759. package/frontend-vue/dms.frontend.ts +190 -0
  760. package/frontend-vue/eslint.config.mjs +50 -0
  761. package/frontend-vue/i18n.config.ts +3 -0
  762. package/frontend-vue/layers/dms-auth/app/components/OAuthButtons.vue +58 -0
  763. package/frontend-vue/layers/dms-auth/app/composables/useAuthLinks.ts +33 -0
  764. package/frontend-vue/layers/dms-auth/app/composables/useCooldown.ts +23 -0
  765. package/frontend-vue/layers/dms-auth/app/composables/useLogout.ts +32 -0
  766. package/frontend-vue/layers/dms-auth/app/composables/useOAuthErrorToast.ts +39 -0
  767. package/frontend-vue/layers/dms-auth/app/composables/usePostLoginRedirect.ts +28 -0
  768. package/frontend-vue/layers/dms-auth/app/custom-pages/auth/2fa.vue +168 -0
  769. package/frontend-vue/layers/dms-auth/app/custom-pages/auth/accounts.vue +168 -0
  770. package/frontend-vue/layers/dms-auth/app/custom-pages/auth/backup.vue +98 -0
  771. package/frontend-vue/layers/dms-auth/app/custom-pages/auth/forgot-validation.vue +158 -0
  772. package/frontend-vue/layers/dms-auth/app/custom-pages/auth/forgot.vue +82 -0
  773. package/frontend-vue/layers/dms-auth/app/custom-pages/auth/login.vue +201 -0
  774. package/frontend-vue/layers/dms-auth/app/custom-pages/auth/oauth-complete.vue +80 -0
  775. package/frontend-vue/layers/dms-auth/app/custom-pages/auth/recover-success.vue +15 -0
  776. package/frontend-vue/layers/dms-auth/app/custom-pages/auth/recover.vue +124 -0
  777. package/frontend-vue/layers/dms-auth/app/custom-pages/auth/signup.vue +140 -0
  778. package/frontend-vue/layers/dms-auth/app/custom-pages/auth/validate.vue +151 -0
  779. package/frontend-vue/layers/dms-auth/app/middleware/auth.ts +91 -0
  780. package/frontend-vue/layers/dms-auth/app/utils/accountsFlow.ts +22 -0
  781. package/frontend-vue/layers/dms-auth/i18n/locales/auth-en-GB.json +174 -0
  782. package/frontend-vue/layers/dms-auth/i18n/locales/auth-fr-FR.json +174 -0
  783. package/frontend-vue/layers/dms-auth/shared/oauth.ts +48 -0
  784. package/frontend-vue/layers/dms-core/app/components/PermissionGate.vue +13 -0
  785. package/frontend-vue/layers/dms-core/app/composables/auth/useAuthFetch.ts +134 -0
  786. package/frontend-vue/layers/dms-core/app/composables/auth/useCurrentUser.ts +23 -0
  787. package/frontend-vue/layers/dms-core/app/composables/auth/useMultiAccount.ts +250 -0
  788. package/frontend-vue/layers/dms-core/app/composables/auth/usePermissions.ts +73 -0
  789. package/frontend-vue/layers/dms-core/app/composables/auth/useSessionRecovery.ts +50 -0
  790. package/frontend-vue/layers/dms-core/app/composables/components/useComponentEvent.ts +29 -0
  791. package/frontend-vue/layers/dms-core/app/composables/data-types/useDataType.ts +39 -0
  792. package/frontend-vue/layers/dms-core/app/composables/functions/useDefinedFunction.ts +23 -0
  793. package/frontend-vue/layers/dms-core/app/composables/leave-guard/index.ts +2 -0
  794. package/frontend-vue/layers/dms-core/app/composables/leave-guard/types.ts +19 -0
  795. package/frontend-vue/layers/dms-core/app/composables/leave-guard/useLeaveGuard.ts +105 -0
  796. package/frontend-vue/layers/dms-core/app/composables/period/compareResolvers.ts +44 -0
  797. package/frontend-vue/layers/dms-core/app/composables/period/presetResolvers.ts +142 -0
  798. package/frontend-vue/layers/dms-core/app/composables/period/types.ts +59 -0
  799. package/frontend-vue/layers/dms-core/app/composables/period/usePeriod.ts +173 -0
  800. package/frontend-vue/layers/dms-core/app/composables/period/usePeriodScope.ts +86 -0
  801. package/frontend-vue/layers/dms-core/app/composables/realtime/usePageRealtime.ts +46 -0
  802. package/frontend-vue/layers/dms-core/app/composables/realtime/useRealtimeTopic.ts +25 -0
  803. package/frontend-vue/layers/dms-core/app/composables/realtime/useSseStream.ts +173 -0
  804. package/frontend-vue/layers/dms-core/app/composables/realtime/useUserRealtime.ts +286 -0
  805. package/frontend-vue/layers/dms-core/app/composables/translation/useTranslation.ts +104 -0
  806. package/frontend-vue/layers/dms-core/app/composables/translation/useUniqueLocales.ts +18 -0
  807. package/frontend-vue/layers/dms-core/app/composables/useApiError.ts +57 -0
  808. package/frontend-vue/layers/dms-core/app/composables/useEventedAction.ts +53 -0
  809. package/frontend-vue/layers/dms-core/app/composables/useHomepage.ts +6 -0
  810. package/frontend-vue/layers/dms-core/app/composables/useTrailingDeduper.ts +24 -0
  811. package/frontend-vue/layers/dms-core/app/composables/user/usePreferences.ts +98 -0
  812. package/frontend-vue/layers/dms-core/app/composables/watch/useWatch.ts +132 -0
  813. package/frontend-vue/layers/dms-core/app/types/auth-types.ts +2 -0
  814. package/frontend-vue/layers/dms-core/app/types/auth.ts +31 -0
  815. package/frontend-vue/layers/dms-core/app/types/button.ts +7 -0
  816. package/frontend-vue/layers/dms-core/app/types/color.ts +11 -0
  817. package/frontend-vue/layers/dms-core/app/types/component.ts +23 -0
  818. package/frontend-vue/layers/dms-core/app/types/data-type.ts +11 -0
  819. package/frontend-vue/layers/dms-core/app/types/http.ts +18 -0
  820. package/frontend-vue/layers/dms-core/app/types/image.ts +5 -0
  821. package/frontend-vue/layers/dms-core/app/types/json.ts +6 -0
  822. package/frontend-vue/layers/dms-core/app/types/menu.ts +36 -0
  823. package/frontend-vue/layers/dms-core/app/types/orientation.ts +4 -0
  824. package/frontend-vue/layers/dms-core/app/types/row-action-operators.ts +60 -0
  825. package/frontend-vue/layers/dms-core/app/types/row-action.ts +51 -0
  826. package/frontend-vue/layers/dms-core/app/types/size.ts +7 -0
  827. package/frontend-vue/layers/dms-core/app/types/user.ts +9 -0
  828. package/frontend-vue/layers/dms-core/app/types/utils.ts +1 -0
  829. package/frontend-vue/layers/dms-core/app/types/watch.ts +25 -0
  830. package/frontend-vue/layers/dms-core/app/utils/dedupedRefresh.ts +33 -0
  831. package/frontend-vue/layers/dms-core/app/utils/downloadFile.ts +8 -0
  832. package/frontend-vue/layers/dms-core/app/utils/formatter.ts +280 -0
  833. package/frontend-vue/layers/dms-core/app/utils/http-status.ts +8 -0
  834. package/frontend-vue/layers/dms-core/app/utils/menu.ts +187 -0
  835. package/frontend-vue/layers/dms-core/app/utils/query-validation.ts +37 -0
  836. package/frontend-vue/layers/dms-core/app/utils/routePath.ts +11 -0
  837. package/frontend-vue/layers/dms-core/app/utils/row-action-rule-evaluator.ts +90 -0
  838. package/frontend-vue/layers/dms-core/app/utils/stringTypeParser.ts +80 -0
  839. package/frontend-vue/layers/dms-core/app/utils/trailingDeduper.ts +42 -0
  840. package/frontend-vue/layers/dms-core/app/utils/type-check.ts +32 -0
  841. package/frontend-vue/layers/dms-core/app/utils/url-interpolation.ts +16 -0
  842. package/frontend-vue/layers/dms-core/i18n/locales/core-en-GB.json +441 -0
  843. package/frontend-vue/layers/dms-core/i18n/locales/core-fr-FR.json +441 -0
  844. package/frontend-vue/layers/dms-core/shared/types/app-config.ts +37 -0
  845. package/frontend-vue/layers/dms-core/shared/types/runtime-config.d.ts +73 -0
  846. package/frontend-vue/layers/dms-core/types.d.ts +15 -0
  847. package/frontend-vue/layers/dms-layout/app/app.config.ts +258 -0
  848. package/frontend-vue/layers/dms-layout/app/assets/css/main.css +268 -0
  849. package/frontend-vue/layers/dms-layout/app/build/components/layout/Container.vue +13 -0
  850. package/frontend-vue/layers/dms-layout/app/build/components/layout/DashboardHeader.vue +271 -0
  851. package/frontend-vue/layers/dms-layout/app/build/components/layout/DashboardSidebar.vue +341 -0
  852. package/frontend-vue/layers/dms-layout/app/build/components/layout/Footer.vue +48 -0
  853. package/frontend-vue/layers/dms-layout/app/build/components/layout/PageHeader.vue +67 -0
  854. package/frontend-vue/layers/dms-layout/app/build/components/layout/QuickActionsPopover.vue +68 -0
  855. package/frontend-vue/layers/dms-layout/app/build/components/layout/sidebarState.ts +17 -0
  856. package/frontend-vue/layers/dms-layout/app/build/components/notification/NotificationCard.vue +99 -0
  857. package/frontend-vue/layers/dms-layout/app/build/components/notification/NotificationPopover.vue +231 -0
  858. package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/notification/NotificationPreferencesForm.vue +291 -0
  859. package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/notification/NotificationsList.vue +226 -0
  860. package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/shortcut/KeyboardShortcut.vue +19 -0
  861. package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/theme/CssVariablesList.vue +209 -0
  862. package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/theme/ScalePreview.vue +43 -0
  863. package/frontend-vue/layers/dms-layout/app/build/components/pages/settings/theme/ThemePreview.vue +78 -0
  864. package/frontend-vue/layers/dms-layout/app/components/AppWidgetsDock.vue +81 -0
  865. package/frontend-vue/layers/dms-layout/app/components/layout/AppLogo.vue +11 -0
  866. package/frontend-vue/layers/dms-layout/app/components/layout/DashboardSearch.vue +17 -0
  867. package/frontend-vue/layers/dms-layout/app/components/layout/HStack.vue +36 -0
  868. package/frontend-vue/layers/dms-layout/app/components/layout/Spacer.vue +28 -0
  869. package/frontend-vue/layers/dms-layout/app/components/layout/VStack.vue +33 -0
  870. package/frontend-vue/layers/dms-layout/app/components/navigation/AccordionItemSync.vue +45 -0
  871. package/frontend-vue/layers/dms-layout/app/components/navigation/CollapsedMenuItem.vue +187 -0
  872. package/frontend-vue/layers/dms-layout/app/components/navigation/NavigationMenu.vue +224 -0
  873. package/frontend-vue/layers/dms-layout/app/components/profile/ProfileLanguage.vue +71 -0
  874. package/frontend-vue/layers/dms-layout/app/components/profile/ProfileSessions.vue +321 -0
  875. package/frontend-vue/layers/dms-layout/app/components/profile/ProfileTwoFactor.vue +501 -0
  876. package/frontend-vue/layers/dms-layout/app/composables/favorites/useFavoritePages.ts +87 -0
  877. package/frontend-vue/layers/dms-layout/app/composables/general/types/index.ts +20 -0
  878. package/frontend-vue/layers/dms-layout/app/composables/general/useInterfaceScale.ts +12 -0
  879. package/frontend-vue/layers/dms-layout/app/composables/general/useSystemState.ts +43 -0
  880. package/frontend-vue/layers/dms-layout/app/composables/layout/stack-types.ts +24 -0
  881. package/frontend-vue/layers/dms-layout/app/composables/layout/useInfiniteScroll.ts +45 -0
  882. package/frontend-vue/layers/dms-layout/app/composables/notification/types/events.ts +6 -0
  883. package/frontend-vue/layers/dms-layout/app/composables/notification/useNotifications.ts +223 -0
  884. package/frontend-vue/layers/dms-layout/app/composables/page/useCurrentModule.ts +33 -0
  885. package/frontend-vue/layers/dms-layout/app/composables/page/useFirstAccessiblePage.ts +91 -0
  886. package/frontend-vue/layers/dms-layout/app/composables/page/useIsOwner.ts +6 -0
  887. package/frontend-vue/layers/dms-layout/app/composables/page/useModuleHistory.ts +42 -0
  888. package/frontend-vue/layers/dms-layout/app/composables/page/useModulesListing.ts +88 -0
  889. package/frontend-vue/layers/dms-layout/app/composables/page/usePageComponentPreload.ts +67 -0
  890. package/frontend-vue/layers/dms-layout/app/composables/page/usePageLayout.ts +27 -0
  891. package/frontend-vue/layers/dms-layout/app/composables/page/usePageLeaveGuard.ts +14 -0
  892. package/frontend-vue/layers/dms-layout/app/composables/page/usePrefetch.ts +21 -0
  893. package/frontend-vue/layers/dms-layout/app/composables/page/useQuickActions.ts +95 -0
  894. package/frontend-vue/layers/dms-layout/app/composables/page/useSiteLayout.ts +408 -0
  895. package/frontend-vue/layers/dms-layout/app/composables/useAppOverlay.ts +31 -0
  896. package/frontend-vue/layers/dms-layout/app/composables/useAppWidgets.ts +58 -0
  897. package/frontend-vue/layers/dms-layout/app/composables/useCommandPaletteSources.ts +171 -0
  898. package/frontend-vue/layers/dms-layout/app/composables/useDevReload.ts +401 -0
  899. package/frontend-vue/layers/dms-layout/app/composables/useFooterLinks.ts +32 -0
  900. package/frontend-vue/layers/dms-layout/app/composables/useHeaderActions.ts +72 -0
  901. package/frontend-vue/layers/dms-layout/app/composables/useSidebarWidgets.ts +144 -0
  902. package/frontend-vue/layers/dms-layout/app/custom-layouts/DefaultLayout.vue +55 -0
  903. package/frontend-vue/layers/dms-layout/app/custom-layouts/EmptyLayout.vue +23 -0
  904. package/frontend-vue/layers/dms-layout/app/custom-pages/modules.vue +114 -0
  905. package/frontend-vue/layers/dms-layout/app/custom-pages/settings/appearance.vue +174 -0
  906. package/frontend-vue/layers/dms-layout/app/custom-pages/settings/index.vue +164 -0
  907. package/frontend-vue/layers/dms-layout/app/custom-pages/settings/notifications.vue +15 -0
  908. package/frontend-vue/layers/dms-layout/app/custom-pages/settings/shortcuts.vue +136 -0
  909. package/frontend-vue/layers/dms-layout/app/emails/EmailAdminInvite.vue +32 -0
  910. package/frontend-vue/layers/dms-layout/app/emails/EmailExportReady.vue +45 -0
  911. package/frontend-vue/layers/dms-layout/app/emails/EmailResetPassword.vue +31 -0
  912. package/frontend-vue/layers/dms-layout/app/emails/EmailTwoFactor.vue +18 -0
  913. package/frontend-vue/layers/dms-layout/app/emails/EmailUserValidation.vue +30 -0
  914. package/frontend-vue/layers/dms-layout/app/emails/components/EmailButton.vue +21 -0
  915. package/frontend-vue/layers/dms-layout/app/emails/components/EmailLayout.vue +52 -0
  916. package/frontend-vue/layers/dms-layout/app/emails/components/EmailOTP.vue +22 -0
  917. package/frontend-vue/layers/dms-layout/app/emails/components/index.ts +93 -0
  918. package/frontend-vue/layers/dms-layout/app/error.vue +148 -0
  919. package/frontend-vue/layers/dms-layout/app/middleware/homepage-redirect.global.ts +11 -0
  920. package/frontend-vue/layers/dms-layout/app/middleware/module-routing.global.ts +136 -0
  921. package/frontend-vue/layers/dms-layout/app/middleware/page-leave-guard.global.ts +14 -0
  922. package/frontend-vue/layers/dms-layout/app/pages/[...slug].vue +475 -0
  923. package/frontend-vue/layers/dms-layout/app/plugins/command-palette-navigation.client.ts +76 -0
  924. package/frontend-vue/layers/dms-layout/app/plugins/command-palette-personal-pages.client.ts +97 -0
  925. package/frontend-vue/layers/dms-layout/app/plugins/command-palette-quick-actions.client.ts +44 -0
  926. package/frontend-vue/layers/dms-layout/app/plugins/command-palette-session.client.ts +96 -0
  927. package/frontend-vue/layers/dms-layout/app/plugins/dms-dev-reload.client.ts +45 -0
  928. package/frontend-vue/layers/dms-layout/app/plugins/dms-menu-sync.client.ts +45 -0
  929. package/frontend-vue/layers/dms-layout/app/plugins/interface-scale.ts +9 -0
  930. package/frontend-vue/layers/dms-layout/app/plugins/language-sync.ts +10 -0
  931. package/frontend-vue/layers/dms-layout/app/plugins/notification-stream.client.ts +61 -0
  932. package/frontend-vue/layers/dms-layout/app/plugins/profile-sync.client.ts +24 -0
  933. package/frontend-vue/layers/dms-layout/app/plugins/seo.ts +29 -0
  934. package/frontend-vue/layers/dms-layout/app/types/page-setup.ts +31 -0
  935. package/frontend-vue/layers/dms-layout/app/types/page.ts +129 -0
  936. package/frontend-vue/layers/dms-layout/app/utils/account-menu.ts +28 -0
  937. package/frontend-vue/layers/dms-layout/app/utils/dms-icons.ts +1 -0
  938. package/frontend-vue/layers/dms-layout/i18n/locales/layout-en-GB.json +272 -0
  939. package/frontend-vue/layers/dms-layout/i18n/locales/layout-fr-FR.json +276 -0
  940. package/frontend-vue/layers/dms-layout/public/fonts/Geist-Italic-Variable.woff2 +0 -0
  941. package/frontend-vue/layers/dms-layout/public/fonts/Geist-Variable.woff2 +0 -0
  942. package/frontend-vue/layers/dms-layout/public/fonts/GeistMono-Italic-Variable.woff2 +0 -0
  943. package/frontend-vue/layers/dms-layout/public/fonts/GeistMono-Variable.woff2 +0 -0
  944. package/frontend-vue/layers/dms-layout/public/fonts/LICENSE.txt +92 -0
  945. package/frontend-vue/layers/dms-layout/public/images/antelope-logo/dark.svg +46 -0
  946. package/frontend-vue/layers/dms-layout/public/images/antelope-logo/icon.svg +29 -0
  947. package/frontend-vue/layers/dms-layout/public/images/antelope-logo/light.svg +46 -0
  948. package/frontend-vue/layers/dms-onboarding/app/components/onboarding/steps/register.vue +172 -0
  949. package/frontend-vue/layers/dms-onboarding/app/composables/onboarding/index.ts +1 -0
  950. package/frontend-vue/layers/dms-onboarding/app/composables/onboarding/useOnboardingMiddleware.ts +51 -0
  951. package/frontend-vue/layers/dms-onboarding/app/custom-pages/onboarding.vue +9 -0
  952. package/frontend-vue/layers/dms-onboarding/app/middleware/onboarding.global.ts +21 -0
  953. package/frontend-vue/layers/dms-onboarding/i18n/locales/onboarding-en-GB.json +22 -0
  954. package/frontend-vue/layers/dms-onboarding/i18n/locales/onboarding-fr-FR.json +22 -0
  955. package/frontend-vue/layers/dms-ui/app/build/components/containers/drawer/DynamicDrawer.vue +117 -0
  956. package/frontend-vue/layers/dms-ui/app/build/components/containers/modal/DynamicModal.vue +131 -0
  957. package/frontend-vue/layers/dms-ui/app/build/components/form/PermissionsTreeNode.vue +148 -0
  958. package/frontend-vue/layers/dms-ui/app/build/components/table/Actions.vue +258 -0
  959. package/frontend-vue/layers/dms-ui/app/build/components/table/Empty.vue +143 -0
  960. package/frontend-vue/layers/dms-ui/app/build/components/table/FiltersRow.vue +197 -0
  961. package/frontend-vue/layers/dms-ui/app/build/components/table/Menu.vue +133 -0
  962. package/frontend-vue/layers/dms-ui/app/build/components/table/MenuColumns.vue +163 -0
  963. package/frontend-vue/layers/dms-ui/app/build/components/table/MenuFilter.vue +371 -0
  964. package/frontend-vue/layers/dms-ui/app/build/components/table/MenuImport.vue +71 -0
  965. package/frontend-vue/layers/dms-ui/app/build/components/table/MenuPage.vue +60 -0
  966. package/frontend-vue/layers/dms-ui/app/build/components/table/MenuRoot.vue +140 -0
  967. package/frontend-vue/layers/dms-ui/app/build/components/table/MenuSort.vue +107 -0
  968. package/frontend-vue/layers/dms-ui/app/build/components/table/MenuViewMode.vue +115 -0
  969. package/frontend-vue/layers/dms-ui/app/build/components/table/Pagination.vue +111 -0
  970. package/frontend-vue/layers/dms-ui/app/build/components/table/RowSelection.vue +89 -0
  971. package/frontend-vue/layers/dms-ui/app/build/components/table/Table.vue +814 -0
  972. package/frontend-vue/layers/dms-ui/app/build/components/table/Tabs.vue +94 -0
  973. package/frontend-vue/layers/dms-ui/app/build/composables/data-types/registerDefaults.ts +573 -0
  974. package/frontend-vue/layers/dms-ui/app/build/composables/form/registerFormFunctions.ts +43 -0
  975. package/frontend-vue/layers/dms-ui/app/build/composables/shortcuts/useShortcutRegistry.ts +31 -0
  976. package/frontend-vue/layers/dms-ui/app/build/composables/table/constants.ts +10 -0
  977. package/frontend-vue/layers/dms-ui/app/build/composables/table/types.ts +4 -0
  978. package/frontend-vue/layers/dms-ui/app/build/composables/table/useTable.ts +181 -0
  979. package/frontend-vue/layers/dms-ui/app/build/composables/table/useTableColumns.ts +566 -0
  980. package/frontend-vue/layers/dms-ui/app/build/composables/table/useTableConfigClipboard.ts +124 -0
  981. package/frontend-vue/layers/dms-ui/app/build/composables/table/useTableContext.ts +14 -0
  982. package/frontend-vue/layers/dms-ui/app/build/composables/table/useTableStates.ts +113 -0
  983. package/frontend-vue/layers/dms-ui/app/build/composables/table/utils/formatFilterValue.ts +32 -0
  984. package/frontend-vue/layers/dms-ui/app/build/composables/table/utils/menuItemFactory.ts +25 -0
  985. package/frontend-vue/layers/dms-ui/app/build/composables/table-view/registerDefaultFunctions.ts +32 -0
  986. package/frontend-vue/layers/dms-ui/app/build/composables/table-view/types.ts +14 -0
  987. package/frontend-vue/layers/dms-ui/app/build/composables/table-view/useTableViewConfig.ts +130 -0
  988. package/frontend-vue/layers/dms-ui/app/build/composables/table-view/useTableViewRowActions.ts +826 -0
  989. package/frontend-vue/layers/dms-ui/app/build/composables/table-view/utils/tableQuery.ts +75 -0
  990. package/frontend-vue/layers/dms-ui/app/build/types/tree.ts +172 -0
  991. package/frontend-vue/layers/dms-ui/app/components/PasswordStrength.vue +62 -0
  992. package/frontend-vue/layers/dms-ui/app/components/Placeholder.vue +49 -0
  993. package/frontend-vue/layers/dms-ui/app/components/RecursiveComponent.vue +85 -0
  994. package/frontend-vue/layers/dms-ui/app/components/activity/ActivityItem.vue +64 -0
  995. package/frontend-vue/layers/dms-ui/app/components/banner/Banner.vue +90 -0
  996. package/frontend-vue/layers/dms-ui/app/components/card/Card.vue +37 -0
  997. package/frontend-vue/layers/dms-ui/app/components/card/NavCard.vue +45 -0
  998. package/frontend-vue/layers/dms-ui/app/components/chart/ApexChartHost.vue +84 -0
  999. package/frontend-vue/layers/dms-ui/app/components/chart/Chart.vue +325 -0
  1000. package/frontend-vue/layers/dms-ui/app/components/chart/ChartCard.vue +196 -0
  1001. package/frontend-vue/layers/dms-ui/app/components/chart/internal/Sparkline.vue +119 -0
  1002. package/frontend-vue/layers/dms-ui/app/components/chart/internal/TrendBadge.vue +57 -0
  1003. package/frontend-vue/layers/dms-ui/app/components/confirm/ConfirmModal.vue +58 -0
  1004. package/frontend-vue/layers/dms-ui/app/components/copy/CopyButton.vue +38 -0
  1005. package/frontend-vue/layers/dms-ui/app/components/flow-canvas/FlowCanvas.vue +501 -0
  1006. package/frontend-vue/layers/dms-ui/app/components/form/Form.vue +533 -0
  1007. package/frontend-vue/layers/dms-ui/app/components/form/LocalizedField.vue +151 -0
  1008. package/frontend-vue/layers/dms-ui/app/components/form/components/Calendar.vue +121 -0
  1009. package/frontend-vue/layers/dms-ui/app/components/form/components/Cascader.vue +482 -0
  1010. package/frontend-vue/layers/dms-ui/app/components/form/components/Checkbox.vue +18 -0
  1011. package/frontend-vue/layers/dms-ui/app/components/form/components/DatePicker.vue +151 -0
  1012. package/frontend-vue/layers/dms-ui/app/components/form/components/DatePickerRange.vue +61 -0
  1013. package/frontend-vue/layers/dms-ui/app/components/form/components/Display.vue +59 -0
  1014. package/frontend-vue/layers/dms-ui/app/components/form/components/DisplayColor.vue +31 -0
  1015. package/frontend-vue/layers/dms-ui/app/components/form/components/DisplayFile.vue +35 -0
  1016. package/frontend-vue/layers/dms-ui/app/components/form/components/DisplayImage.vue +54 -0
  1017. package/frontend-vue/layers/dms-ui/app/components/form/components/DisplayPassword.vue +28 -0
  1018. package/frontend-vue/layers/dms-ui/app/components/form/components/DisplayRichText.vue +31 -0
  1019. package/frontend-vue/layers/dms-ui/app/components/form/components/File.vue +433 -0
  1020. package/frontend-vue/layers/dms-ui/app/components/form/components/Image.vue +946 -0
  1021. package/frontend-vue/layers/dms-ui/app/components/form/components/InputAddress.vue +525 -0
  1022. package/frontend-vue/layers/dms-ui/app/components/form/components/InputColor.vue +57 -0
  1023. package/frontend-vue/layers/dms-ui/app/components/form/components/InputEmail.vue +14 -0
  1024. package/frontend-vue/layers/dms-ui/app/components/form/components/InputNumber.vue +22 -0
  1025. package/frontend-vue/layers/dms-ui/app/components/form/components/InputPassword.vue +110 -0
  1026. package/frontend-vue/layers/dms-ui/app/components/form/components/InputPercentage.vue +48 -0
  1027. package/frontend-vue/layers/dms-ui/app/components/form/components/InputPhone.vue +18 -0
  1028. package/frontend-vue/layers/dms-ui/app/components/form/components/InputText.vue +18 -0
  1029. package/frontend-vue/layers/dms-ui/app/components/form/components/InputTime.vue +64 -0
  1030. package/frontend-vue/layers/dms-ui/app/components/form/components/InputTree.vue +98 -0
  1031. package/frontend-vue/layers/dms-ui/app/components/form/components/PermissionsTree.vue +133 -0
  1032. package/frontend-vue/layers/dms-ui/app/components/form/components/RadioGroup.vue +24 -0
  1033. package/frontend-vue/layers/dms-ui/app/components/form/components/Relation.vue +424 -0
  1034. package/frontend-vue/layers/dms-ui/app/components/form/components/RichText.vue +286 -0
  1035. package/frontend-vue/layers/dms-ui/app/components/form/components/Select.vue +118 -0
  1036. package/frontend-vue/layers/dms-ui/app/components/form/components/Slider.vue +13 -0
  1037. package/frontend-vue/layers/dms-ui/app/components/form/components/Switch.vue +18 -0
  1038. package/frontend-vue/layers/dms-ui/app/components/form/components/Textarea.vue +18 -0
  1039. package/frontend-vue/layers/dms-ui/app/components/grid/Grid.vue +42 -0
  1040. package/frontend-vue/layers/dms-ui/app/components/grid/GridRow.vue +28 -0
  1041. package/frontend-vue/layers/dms-ui/app/components/grid/constants.ts +7 -0
  1042. package/frontend-vue/layers/dms-ui/app/components/kpi/KpiCard.vue +163 -0
  1043. package/frontend-vue/layers/dms-ui/app/components/master-detail/MasterDetail.vue +75 -0
  1044. package/frontend-vue/layers/dms-ui/app/components/period/PeriodSelector.vue +308 -0
  1045. package/frontend-vue/layers/dms-ui/app/components/segmented/Segmented.vue +106 -0
  1046. package/frontend-vue/layers/dms-ui/app/components/status/StatusSummary.vue +118 -0
  1047. package/frontend-vue/layers/dms-ui/app/components/tab/Tab.vue +82 -0
  1048. package/frontend-vue/layers/dms-ui/app/components/table-view/CascaderPath.vue +78 -0
  1049. package/frontend-vue/layers/dms-ui/app/components/table-view/ExportToastContent.vue +24 -0
  1050. package/frontend-vue/layers/dms-ui/app/components/table-view/FilePreview.vue +57 -0
  1051. package/frontend-vue/layers/dms-ui/app/components/table-view/ImagePreview.vue +78 -0
  1052. package/frontend-vue/layers/dms-ui/app/components/table-view/KanbanBoard.vue +486 -0
  1053. package/frontend-vue/layers/dms-ui/app/components/table-view/KanbanDisplay.vue +70 -0
  1054. package/frontend-vue/layers/dms-ui/app/components/table-view/PresenceEditModal.vue +142 -0
  1055. package/frontend-vue/layers/dms-ui/app/components/table-view/TableView.vue +1143 -0
  1056. package/frontend-vue/layers/dms-ui/app/components/top-list/TopListCard.vue +235 -0
  1057. package/frontend-vue/layers/dms-ui/app/components/top-list/internal/TopListRow.vue +96 -0
  1058. package/frontend-vue/layers/dms-ui/app/components/tree/Tree.vue +195 -0
  1059. package/frontend-vue/layers/dms-ui/app/composables/chart/apexAnnotations.ts +74 -0
  1060. package/frontend-vue/layers/dms-ui/app/composables/chart/apexLocales.ts +42 -0
  1061. package/frontend-vue/layers/dms-ui/app/composables/chart/apexPlotOptions.ts +100 -0
  1062. package/frontend-vue/layers/dms-ui/app/composables/chart/apexTypeConfigs.ts +109 -0
  1063. package/frontend-vue/layers/dms-ui/app/composables/chart/events.ts +44 -0
  1064. package/frontend-vue/layers/dms-ui/app/composables/chart/formatValue.ts +156 -0
  1065. package/frontend-vue/layers/dms-ui/app/composables/chart/resolveSparklineAccent.ts +56 -0
  1066. package/frontend-vue/layers/dms-ui/app/composables/chart/types.ts +145 -0
  1067. package/frontend-vue/layers/dms-ui/app/composables/chart/useApexChart.ts +709 -0
  1068. package/frontend-vue/layers/dms-ui/app/composables/chart/useApexChart.types.ts +80 -0
  1069. package/frontend-vue/layers/dms-ui/app/composables/chart/useChartFetch.ts +204 -0
  1070. package/frontend-vue/layers/dms-ui/app/composables/chart/useChartTheme.ts +119 -0
  1071. package/frontend-vue/layers/dms-ui/app/composables/chart/useThemeRevision.ts +59 -0
  1072. package/frontend-vue/layers/dms-ui/app/composables/confirm/index.ts +2 -0
  1073. package/frontend-vue/layers/dms-ui/app/composables/confirm/useConfirm.ts +24 -0
  1074. package/frontend-vue/layers/dms-ui/app/composables/confirm/usePresenceEditWarning.ts +19 -0
  1075. package/frontend-vue/layers/dms-ui/app/composables/containers/index.ts +3 -0
  1076. package/frontend-vue/layers/dms-ui/app/composables/containers/openDynamicContainer.ts +99 -0
  1077. package/frontend-vue/layers/dms-ui/app/composables/containers/types.ts +43 -0
  1078. package/frontend-vue/layers/dms-ui/app/composables/containers/useDrawer.ts +27 -0
  1079. package/frontend-vue/layers/dms-ui/app/composables/containers/useModal.ts +27 -0
  1080. package/frontend-vue/layers/dms-ui/app/composables/form/types/api.ts +8 -0
  1081. package/frontend-vue/layers/dms-ui/app/composables/form/types/content-language.ts +5 -0
  1082. package/frontend-vue/layers/dms-ui/app/composables/form/types/events.ts +7 -0
  1083. package/frontend-vue/layers/dms-ui/app/composables/form/types/field-loading.ts +6 -0
  1084. package/frontend-vue/layers/dms-ui/app/composables/form/types/field.ts +28 -0
  1085. package/frontend-vue/layers/dms-ui/app/composables/form/types/functions.ts +5 -0
  1086. package/frontend-vue/layers/dms-ui/app/composables/form/types/index.ts +5 -0
  1087. package/frontend-vue/layers/dms-ui/app/composables/form/types/props.ts +29 -0
  1088. package/frontend-vue/layers/dms-ui/app/composables/form/types/validation.ts +7 -0
  1089. package/frontend-vue/layers/dms-ui/app/composables/form/types/value.ts +12 -0
  1090. package/frontend-vue/layers/dms-ui/app/composables/form/useForm.ts +543 -0
  1091. package/frontend-vue/layers/dms-ui/app/composables/form/useUploadWithProgress.ts +40 -0
  1092. package/frontend-vue/layers/dms-ui/app/composables/resolveDmsComponent.ts +61 -0
  1093. package/frontend-vue/layers/dms-ui/app/composables/tab/shortcuts/index.ts +3 -0
  1094. package/frontend-vue/layers/dms-ui/app/composables/tab/shortcuts/tabBuildShortcuts.ts +16 -0
  1095. package/frontend-vue/layers/dms-ui/app/composables/tab/shortcuts/tabShortcuts.ts +8 -0
  1096. package/frontend-vue/layers/dms-ui/app/composables/tab/shortcuts/useTabShortcuts.ts +14 -0
  1097. package/frontend-vue/layers/dms-ui/app/composables/tab/types/composable.ts +11 -0
  1098. package/frontend-vue/layers/dms-ui/app/composables/tab/types/events.ts +3 -0
  1099. package/frontend-vue/layers/dms-ui/app/composables/tab/types/index.ts +3 -0
  1100. package/frontend-vue/layers/dms-ui/app/composables/tab/types/item.ts +11 -0
  1101. package/frontend-vue/layers/dms-ui/app/composables/tab/types/props.ts +25 -0
  1102. package/frontend-vue/layers/dms-ui/app/composables/tab/useTab.ts +122 -0
  1103. package/frontend-vue/layers/dms-ui/app/composables/table-view/kanban.ts +151 -0
  1104. package/frontend-vue/layers/dms-ui/app/composables/table-view/shortcuts/index.ts +61 -0
  1105. package/frontend-vue/layers/dms-ui/app/composables/table-view/shortcuts/tableViewDelete.ts +23 -0
  1106. package/frontend-vue/layers/dms-ui/app/composables/table-view/shortcuts/tableViewEscape.ts +24 -0
  1107. package/frontend-vue/layers/dms-ui/app/composables/table-view/shortcuts/tableViewMetaR.ts +9 -0
  1108. package/frontend-vue/layers/dms-ui/app/composables/table-view/shortcuts/tableViewShiftA.ts +41 -0
  1109. package/frontend-vue/layers/dms-ui/app/composables/table-view/shortcuts/tableViewShiftF.ts +18 -0
  1110. package/frontend-vue/layers/dms-ui/app/composables/table-view/shortcuts/tableViewShiftN.ts +22 -0
  1111. package/frontend-vue/layers/dms-ui/app/composables/table-view/types/action-target.ts +48 -0
  1112. package/frontend-vue/layers/dms-ui/app/composables/table-view/types/column.ts +39 -0
  1113. package/frontend-vue/layers/dms-ui/app/composables/table-view/types/config.ts +94 -0
  1114. package/frontend-vue/layers/dms-ui/app/composables/table-view/types/custom-button.ts +11 -0
  1115. package/frontend-vue/layers/dms-ui/app/composables/table-view/types/display.ts +160 -0
  1116. package/frontend-vue/layers/dms-ui/app/composables/table-view/types/events.ts +23 -0
  1117. package/frontend-vue/layers/dms-ui/app/composables/table-view/types/functions.ts +3 -0
  1118. package/frontend-vue/layers/dms-ui/app/composables/table-view/types/index.ts +5 -0
  1119. package/frontend-vue/layers/dms-ui/app/composables/table-view/useTableViewDisplays.ts +66 -0
  1120. package/frontend-vue/layers/dms-ui/app/composables/table-view/useTableViewExport.ts +49 -0
  1121. package/frontend-vue/layers/dms-ui/app/composables/tree/shortcuts/index.ts +50 -0
  1122. package/frontend-vue/layers/dms-ui/app/composables/tree/shortcuts/treeArrowDown.ts +11 -0
  1123. package/frontend-vue/layers/dms-ui/app/composables/tree/shortcuts/treeArrowUp.ts +11 -0
  1124. package/frontend-vue/layers/dms-ui/app/composables/tree/shortcuts/treeEnd.ts +11 -0
  1125. package/frontend-vue/layers/dms-ui/app/composables/tree/shortcuts/treeEnter.ts +11 -0
  1126. package/frontend-vue/layers/dms-ui/app/composables/tree/shortcuts/treeEscape.ts +14 -0
  1127. package/frontend-vue/layers/dms-ui/app/composables/tree/shortcuts/treeHome.ts +11 -0
  1128. package/frontend-vue/layers/dms-ui/app/composables/tree/shortcuts/treeShiftA.ts +32 -0
  1129. package/frontend-vue/layers/dms-ui/app/composables/tree/shortcuts/treeSpace.ts +11 -0
  1130. package/frontend-vue/layers/dms-ui/app/composables/tree/types/events.ts +8 -0
  1131. package/frontend-vue/layers/dms-ui/app/composables/tree/types/index.ts +4 -0
  1132. package/frontend-vue/layers/dms-ui/app/composables/tree/types/navigation.ts +7 -0
  1133. package/frontend-vue/layers/dms-ui/app/composables/tree/types/node.ts +12 -0
  1134. package/frontend-vue/layers/dms-ui/app/composables/tree/types/props.ts +34 -0
  1135. package/frontend-vue/layers/dms-ui/app/composables/tree/useTree.ts +336 -0
  1136. package/frontend-vue/layers/dms-ui/app/composables/useExportJob.ts +356 -0
  1137. package/frontend-vue/layers/dms-ui/app/composables/useFileReadUrls.ts +105 -0
  1138. package/frontend-vue/layers/dms-ui/app/composables/usePasswordStrength.ts +71 -0
  1139. package/frontend-vue/layers/dms-ui/app/config/shortcuts-registry.ts +19 -0
  1140. package/frontend-vue/layers/dms-ui/app/plugins/register.ts +9 -0
  1141. package/frontend-vue/layers/dms-ui/app/plugins/shortcuts.ts +10 -0
  1142. package/frontend-vue/layers/dms-ui/app/plugins/table-view-displays.client.ts +31 -0
  1143. package/frontend-vue/layers/dms-ui/app/types/modal.ts +9 -0
  1144. package/frontend-vue/layers/dms-ui/app/types/quick-actions.ts +11 -0
  1145. package/frontend-vue/layers/dms-ui/app/types/row-action.ts +12 -0
  1146. package/frontend-vue/layers/dms-ui/app/types/shortcuts.ts +16 -0
  1147. package/frontend-vue/layers/dms-ui/app/types/table/base.ts +10 -0
  1148. package/frontend-vue/layers/dms-ui/app/types/table/index.ts +2 -0
  1149. package/frontend-vue/layers/dms-ui/app/types/table/query.ts +14 -0
  1150. package/frontend-vue/layers/dms-ui/app/utils/cascader.ts +203 -0
  1151. package/frontend-vue/layers/dms-ui/app/utils/fileConstraints.ts +47 -0
  1152. package/frontend-vue/layers/dms-ui/app/utils/imageResize.ts +100 -0
  1153. package/frontend-vue/layers/dms-ui/app/utils/rowClickAction.ts +48 -0
  1154. package/frontend-vue/layers/dms-ui/app/utils/semanticTint.ts +21 -0
  1155. package/frontend-vue/layers/dms-ui/i18n/locales/ui-en-GB.json +460 -0
  1156. package/frontend-vue/layers/dms-ui/i18n/locales/ui-fr-FR.json +461 -0
  1157. package/frontend-vue/package.json +93 -0
  1158. package/frontend-vue/pnpm-lock.yaml +7008 -0
  1159. package/frontend-vue/pnpm-workspace.yaml +9 -0
  1160. package/frontend-vue/tests/api-message-i18n.test.ts +46 -0
  1161. package/frontend-vue/tests/async-data-key-owners.test.ts +74 -0
  1162. package/frontend-vue/tests/cascader.test.ts +189 -0
  1163. package/frontend-vue/tests/chart-auto-y-range.test.ts +115 -0
  1164. package/frontend-vue/tests/chart-click-payload.test.ts +34 -0
  1165. package/frontend-vue/tests/chart-colors.browser.html +157 -0
  1166. package/frontend-vue/tests/chart-colors.test.ts +177 -0
  1167. package/frontend-vue/tests/chart-options.test.ts +281 -0
  1168. package/frontend-vue/tests/chart-series-styles.test.ts +131 -0
  1169. package/frontend-vue/tests/chart-value-precision.test.ts +54 -0
  1170. package/frontend-vue/tests/chart-value-propagation.test.ts +156 -0
  1171. package/frontend-vue/tests/command-palette-search-text.test.ts +118 -0
  1172. package/frontend-vue/tests/dev-reload.test.ts +252 -0
  1173. package/frontend-vue/tests/file-constraints.test.ts +72 -0
  1174. package/frontend-vue/tests/file-read-urls.test.ts +135 -0
  1175. package/frontend-vue/tests/fixtures/TableCellLayout.vue +73 -0
  1176. package/frontend-vue/tests/fixtures/chart-axes.html +39 -0
  1177. package/frontend-vue/tests/fixtures/chart-axes.ts +67 -0
  1178. package/frontend-vue/tests/fixtures/chart-precision.html +37 -0
  1179. package/frontend-vue/tests/fixtures/chart-precision.ts +118 -0
  1180. package/frontend-vue/tests/fixtures/theming/app/app.vue +49 -0
  1181. package/frontend-vue/tests/fixtures/theming/base/app/app.config.ts +1 -0
  1182. package/frontend-vue/tests/fixtures/theming/config.ts +7 -0
  1183. package/frontend-vue/tests/fixtures/theming/consumer/app/app.config.ts +15 -0
  1184. package/frontend-vue/tests/fixtures/theming/consumer/public/brand/dark.svg +1 -0
  1185. package/frontend-vue/tests/fixtures/theming/consumer/public/brand/icon.svg +1 -0
  1186. package/frontend-vue/tests/fixtures/theming/consumer/public/brand/light.svg +1 -0
  1187. package/frontend-vue/tests/fixtures/theming/consumer.css +19 -0
  1188. package/frontend-vue/tests/fixtures/theming/index.html +11 -0
  1189. package/frontend-vue/tests/fixtures/theming/main.ts +36 -0
  1190. package/frontend-vue/tests/fixtures/theming/runtime.ts +12 -0
  1191. package/frontend-vue/tests/fixtures/theming/vite.config.ts +36 -0
  1192. package/frontend-vue/tests/form-required-fields.test.ts +88 -0
  1193. package/frontend-vue/tests/form-reset.test.ts +66 -0
  1194. package/frontend-vue/tests/image-reference-preservation.test.ts +234 -0
  1195. package/frontend-vue/tests/menu-navigation.test.ts +106 -0
  1196. package/frontend-vue/tests/multi-account-validate.test.ts +99 -0
  1197. package/frontend-vue/tests/onboarding-register.test.ts +128 -0
  1198. package/frontend-vue/tests/page-layout-background-refresh.test.ts +321 -0
  1199. package/frontend-vue/tests/page-layout-registration.test.ts +70 -0
  1200. package/frontend-vue/tests/period-presets.test.ts +96 -0
  1201. package/frontend-vue/tests/period-relative-refresh.test.ts +61 -0
  1202. package/frontend-vue/tests/period-scope-first-fetch.test.ts +276 -0
  1203. package/frontend-vue/tests/post-login-redirect.test.ts +87 -0
  1204. package/frontend-vue/tests/quick-actions.test.ts +32 -0
  1205. package/frontend-vue/tests/realtime-auth-recovery.test.ts +146 -0
  1206. package/frontend-vue/tests/sidebar-footer-navigation.test.ts +128 -0
  1207. package/frontend-vue/tests/sidebar-widget-position.test.ts +117 -0
  1208. package/frontend-vue/tests/site-layout-hydration.test.ts +82 -0
  1209. package/frontend-vue/tests/site-layout-refresh.test.ts +131 -0
  1210. package/frontend-vue/tests/sse-stream.test.ts +268 -0
  1211. package/frontend-vue/tests/string-type-parser.test.ts +50 -0
  1212. package/frontend-vue/tests/table-async-data-key.test.ts +33 -0
  1213. package/frontend-vue/tests/table-cell-wrap.test.ts +44 -0
  1214. package/frontend-vue/tests/table-row-hover.test.ts +153 -0
  1215. package/frontend-vue/tests/theming-browser.mjs +130 -0
  1216. package/frontend-vue/tests/trailing-deduper.test.ts +74 -0
  1217. package/frontend-vue/tests/trend-delta-format.test.ts +24 -0
  1218. package/frontend-vue/tests/vue-inventory.test.ts +92 -0
  1219. package/frontend-vue/tests/widget-label-i18n.test.ts +179 -0
  1220. package/frontend-vue/vitest.config.ts +20 -0
  1221. package/package.json +127 -0
  1222. package/skills/dms/REFERENCE.md +39 -0
  1223. package/skills/dms/SKILL.md +98 -0
  1224. package/skills/dms-auth/SKILL.md +105 -0
  1225. package/skills/dms-dev/SKILL.md +107 -0
  1226. package/skills/dms-dev/scripts/dms-dev.sh +198 -0
  1227. package/skills/dms-module/REFERENCE.md +84 -0
  1228. package/skills/dms-module/SKILL.md +104 -0
  1229. package/skills/dms-pages/REFERENCE.md +27 -0
  1230. package/skills/dms-pages/SKILL.md +110 -0
  1231. package/skills/dms-project/REFERENCE.md +24 -0
  1232. package/skills/dms-project/SKILL.md +122 -0
package/CHANGELOG.md ADDED
@@ -0,0 +1 @@
1
+ # Changelog
package/LICENSE ADDED
@@ -0,0 +1,190 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ Copyright (c) 2025-present - AntelopeJS Team
179
+
180
+ Licensed under the Apache License, Version 2.0 (the "License");
181
+ you may not use this file except in compliance with the License.
182
+ You may obtain a copy of the License at
183
+
184
+ http://www.apache.org/licenses/LICENSE-2.0
185
+
186
+ Unless required by applicable law or agreed to in writing, software
187
+ distributed under the License is distributed on an "AS IS" BASIS,
188
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
189
+ See the License for the specific language governing permissions and
190
+ limitations under the License.
package/README.md ADDED
@@ -0,0 +1,48 @@
1
+ # @antelopejs/dms
2
+
3
+ <div align="center">
4
+ <a href="./LICENSE"><img alt="License" src="https://img.shields.io/badge/license-Apache--2.0-blue?style=for-the-badge&labelColor=000000"></a>
5
+ <a href="https://discord.gg/sjK28QHrA7"><img src="https://img.shields.io/badge/Discord-18181B?logo=discord&style=for-the-badge&color=000000" alt="Discord"></a>
6
+ <a href="https://antelopejs.com"><img src="https://img.shields.io/badge/Docs-18181B?style=for-the-badge&color=000000" alt="Documentation"></a>
7
+ </div>
8
+
9
+ The AntelopeJS dashboard management system (DMS). It provides an Inertia/Vue admin dashboard,
10
+ authentication and tenancy, declarative pages and components, data management, file uploads,
11
+ notifications, and realtime updates.
12
+
13
+ Its public contracts live in a separate package, [`@antelopejs/interface-dms`](../interface-dms):
14
+ modules import the interfaces from there and never from the runtime.
15
+
16
+ ## Installation
17
+
18
+ ```bash
19
+ ajs project modules add @antelopejs/dms
20
+ ```
21
+
22
+ The dashboard also requires an API module, a module implementing the Database interface, and an
23
+ authentication module. The frontend is served separately by the `ajs-dms` CLI from
24
+ [`@antelopejs/dms-frontend`](https://github.com/AntelopeJS/dms-frontend).
25
+
26
+ ## Getting started
27
+
28
+ Start with the [installation guide](./docs/01.getting-started/02.installation.md) and
29
+ [quickstart](./docs/01.getting-started/03.quickstart.md). The quickstart uses the maintained
30
+ [`template-dms-demo`](https://github.com/AntelopeJS/template-dms-demo), which includes a complete
31
+ backend and frontend setup.
32
+
33
+ Module settings belong in the `config` block for `@antelopejs/dms` in
34
+ `antelope.config.ts`. See the [configuration reference](./docs/02.building/02.configuration.md) for
35
+ the verified options and defaults. In production, set strong values for `auth.jwtSecret`,
36
+ `htmlRender.serviceSecret`, and `frontend.bootstrapSecret`; use Redis for realtime operation across
37
+ multiple backend instances.
38
+
39
+ ## Development
40
+
41
+ Run from the repository root, which is a pnpm workspace holding this package and
42
+ `packages/interface-dms`:
43
+
44
+ ```bash
45
+ pnpm install
46
+ pnpm build
47
+ pnpm test
48
+ ```
@@ -0,0 +1,9 @@
1
+ import type { RequestContext } from "@antelopejs/interface-api";
2
+ import type { NativeUploadFieldRegistration } from "@antelopejs/interface-dms/uploads";
3
+ import { type RequestPrincipal } from "@antelopejs/interface-dms/auth";
4
+ import type { UploadTokenClaims } from "../utils/upload-token";
5
+ export declare const RegisterNativeUploadField: {
6
+ register(registration: NativeUploadFieldRegistration): void;
7
+ unregister(registration: NativeUploadFieldRegistration): void;
8
+ };
9
+ export declare function assertNativeFileAccess(context: RequestContext, owner: UploadTokenClaims, write: boolean): Promise<RequestPrincipal>;
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RegisterNativeUploadField = void 0;
4
+ exports.assertNativeFileAccess = assertNativeFileAccess;
5
+ const interface_database_decorators_1 = require("@antelopejs/interface-database-decorators");
6
+ const page_1 = require("../implementations/dms/page");
7
+ const db_1 = require("@antelopejs/interface-dms/db");
8
+ const permissions_1 = require("@antelopejs/interface-dms/permissions");
9
+ const auth_1 = require("@antelopejs/interface-dms/auth");
10
+ const registry_1 = require("./registry");
11
+ const registrations = new Map();
12
+ exports.RegisterNativeUploadField = {
13
+ register(registration) {
14
+ const key = JSON.stringify(registration);
15
+ const current = registrations.get(key);
16
+ registrations.set(key, {
17
+ declaration: JSON.parse(key),
18
+ count: (current?.count || 0) + 1,
19
+ });
20
+ },
21
+ unregister(registration) {
22
+ const key = JSON.stringify(registration);
23
+ const current = registrations.get(key);
24
+ if (current && current.count > 1)
25
+ current.count -= 1;
26
+ else
27
+ registrations.delete(key);
28
+ },
29
+ };
30
+ function declarationsMatch(declaration, claims, write) {
31
+ return (declaration.pageId === claims.pageId &&
32
+ declaration.componentId === claims.componentId &&
33
+ declaration.field === claims.field &&
34
+ declaration.storage === claims.storage &&
35
+ declaration.path === claims.path &&
36
+ declaration.visibility === claims.visibility &&
37
+ (!write || declaration.writePermission === claims.writePermission));
38
+ }
39
+ async function hasComponentAccess(principal, registration, memberModel, roleModel, write) {
40
+ const member = await memberModel.getByUser(principal.user._id);
41
+ if (!member)
42
+ return false;
43
+ const permissions = await (0, permissions_1.GetEffectiveUserPermissions)(principal.user, principal.tenantId, member.roleIds, roleModel);
44
+ const required = [...registration.readPermissions];
45
+ if (write && registration.writePermission)
46
+ required.push(registration.writePermission);
47
+ return (await Promise.all(required.map((id) => (0, permissions_1.HasPermission)(permissions, id)))).every(Boolean);
48
+ }
49
+ async function assertNativeFileAccess(context, owner, write) {
50
+ if (!owner.pageId || !owner.componentId)
51
+ (0, registry_1.denyAttachment)();
52
+ const registration = [...registrations.values()].find((item) => declarationsMatch(item.declaration, owner, write))?.declaration;
53
+ if (!registration)
54
+ (0, registry_1.denyAttachment)();
55
+ if (write && registration.writePermission === "__native_upload_disabled__")
56
+ (0, registry_1.denyAttachment)();
57
+ const principal = await (0, auth_1.authenticateRequestPrincipal)(context);
58
+ const memberModel = (0, interface_database_decorators_1.GetModel)(db_1.TenantMemberModel, principal.tenantId);
59
+ const roleModel = (0, interface_database_decorators_1.GetModel)(db_1.RoleModel, principal.tenantId);
60
+ if (!(await (0, page_1.userCanAccessPage)(principal.user, registration.pageId, memberModel, roleModel, principal.tenantId)))
61
+ (0, registry_1.denyAttachment)();
62
+ if (!(await hasComponentAccess(principal, registration, memberModel, roleModel, write)))
63
+ (0, registry_1.denyAttachment)();
64
+ return principal;
65
+ }
66
+ //# sourceMappingURL=access.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"access.js","sourceRoot":"","sources":["../../src/attachments/access.ts"],"names":[],"mappings":";;;AA8EA,wDAoCC;AAjHD,6FAAqE;AACrE,sDAAgE;AAChE,qDAA4E;AAC5E,uEAG+C;AAE/C,yDAGwC;AAExC,yCAA4C;AAM5C,MAAM,aAAa,GAAG,IAAI,GAAG,EAA6B,CAAC;AAE9C,QAAA,yBAAyB,GAAG;IACvC,QAAQ,CAAC,YAA2C;QAClD,MAAM,GAAG,GAAG,IAAI,CAAC,SAAS,CAAC,YAAY,CAAC,CAAC;QACzC,MAAM,OAAO,GAAG,aAAa,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QACvC,aAAa,CAAC,GAAG,CAAC,GAAG,EAAE;YACrB,WAAW,EAAE,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC;YAC5B,KAAK,EAAE,CAAC,OAAO,EAAE,KAAK,IAAI,CAAC,CAAC,GAAG,CAAC;SACjC,CAAC,CAAC;IACL,CAAC;IACD,UAAU,CAAC,YAA2C;QACpD,MAAM,GAAG,GAAG,IAAI,CAAC,SAAS,CAAC,YAAY,CAAC,CAAC;QACzC,MAAM,OAAO,GAAG,aAAa,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QACvC,IAAI,OAAO,IAAI,OAAO,CAAC,KAAK,GAAG,CAAC;YAAE,OAAO,CAAC,KAAK,IAAI,CAAC,CAAC;;YAChD,aAAa,CAAC,M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ewMeta } from "@antelopejs/interface-dms/base/table-view/meta";
3
+ export declare function tableAttachmentFields(meta: TableViewMeta, scope: string): AttachmentField[];
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.tableAttachmentFields = tableAttachmentFields;
4
+ const data_types_1 = require("@antelopejs/interface-dms/base/data-types");
5
+ function tableAttachmentFields(meta, scope) {
6
+ return Object.entries(meta.columns).flatMap(([key, column]) => {
7
+ const kind = (0, data_types_1.getDataTypeId)(column.type);
8
+ if (kind !== "file" && kind !== "image")
9
+ return [];
10
+ const options = column.type.options;
11
+ return [
12
+ {
13
+ id: `${scope}#${key}`,
14
+ key,
15
+ kind,
16
+ storage: options?.storage,
17
+ visibility: options?.visibility === "public"
18
+ ? "public"
19
+ : "private",
20
+ constraints: options?.constraints,
21
+ },
22
+ ];
23
+ });
24
+ }
25
+ //# sourceMappingURL=bindings.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bindings.js","sourceRoot":"","sources":["../../src/attachments/bindings.ts"],"names":[],"mappings":";;AAIA,sDAsBC;AAzBD,0EAA0E;AAG1E,SAAgB,qBAAqB,CACnC,IAAmB,EACnB,KAAa;IAEb,OAAO,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,GAAG,EAAE,MAAM,CAAC,EAAE,EAAE;QAC5D,MAAM,IAAI,GAAG,IAAA,0BAAa,EAAC,MAAM,CAAC,IAAI,CAAC,CAAC;QACxC,IAAI,IAAI,KAAK,MAAM,IAAI,IAAI,KAAK,OAAO;YAAE,OAAO,EAAE,CAAC;QACnD,MAAM,OAAO,GAAG,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC;QACpC,OAAO;YACL;gBACE,EAAE,EAAE,GAAG,KAAK,IAAI,GAAG,EAAE;gBACrB,GAAG;gBACH,IAAI;gBACJ,OAAO,EAAE,OAAO,EAAE,OAA6B;gBAC/C,UAAU,EACR,OAAO,EAAE,UAAU,KAAK,QAAQ;oBAC9B,CAAC,CAAE,QAAkB;oBACrB,CAAC,CAAE,SAAmB;gBAC1B,WAAW,EAAE,OAAO,EAAE,WAA6C;aACpE;SACF,CAAC;IACJ,CAAC,CAAC,CAAC;AACL,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { AttachmentField } from "@antelopejs/interface-dms/attachments";
2
+ export interface AttachmentReference {
3
+ key: string;
4
+ field: AttachmentField;
5
+ }
6
+ export declare function collectAttachments(fields: AttachmentField[], document: Record<string, unknown>): AttachmentReference[];
7
+ export declare function containsAttachment(references: AttachmentReference[], reference: AttachmentReference): boolean;
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.collectAttachments = collectAttachments;
4
+ exports.containsAttachment = containsAttachment;
5
+ function extractKeys(value, kind) {
6
+ if (kind === "file" && typeof value === "string")
7
+ return value ? [value] : [];
8
+ if (!value || typeof value !== "object")
9
+ return [];
10
+ if (!Array.isArray(value) && kind === "image" && "key" in value) {
11
+ return typeof value.key === "string" && value.key ? [value.key] : [];
12
+ }
13
+ return Object.values(value).flatMap((item) => extractKeys(item, kind));
14
+ }
15
+ function collectAttachments(fields, document) {
16
+ return fields.flatMap((field) => [...new Set(extractKeys(document[field.key], field.kind))].map((key) => ({
17
+ key,
18
+ field,
19
+ })));
20
+ }
21
+ function containsAttachment(references, reference) {
22
+ return references.some((candidate) => candidate.key === reference.key &&
23
+ candidate.field.id === reference.field.id);
24
+ }
25
+ //# sourceMappingURL=fields.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fields.js","sourceRoot":"","sources":["../../src/attachments/fields.ts"],"names":[],"mappings":";;AAgBA,gDAUC;AAED,gDASC;AA9BD,SAAS,WAAW,CAAC,KAAc,EAAE,IAA6B;IAChE,IAAI,IAAI,KAAK,MAAM,IAAI,OAAO,KAAK,KAAK,QAAQ;QAAE,OAAO,KAAK,CAAC,CAAC,CAAC,CAA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function readAttachment(context: RequestContext, key: string, storage?: string): Promise<{
3
+ url: string;
4
+ expiresAt?: number;
5
+ resourceKey: string;
6
+ filename: string;
7
+ size: number;
8
+ mimetype: string;
9
+ lastModified: number;
10
+ metadata?: Record<string, string>;
11
+ }>;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.readAttachment = readAttachment;
4
+ const interface_api_1 = require("@antelopejs/interface-api");
5
+ const interface_file_storage_1 = require("@antelopejs/interface-file-storage");
6
+ const access_1 = require("./access");
7
+ const registry_1 = require("./registry");
8
+ const SIGNING_MARGIN_SECONDS = 1;
9
+ const MILLISECONDS_PER_SECOND = 1000;
10
+ async function readStoredFile(key, storage) {
11
+ try {
12
+ const metadata = await (0, interface_file_storage_1.GetFileMetadata)(key, storage);
13
+ const read = await (0, interface_file_storage_1.CreateReadUrl)(key, registry_1.PRIVATE_LINK_TTL_SECONDS - SIGNING_MARGIN_SECONDS, storage);
14
+ return { ...metadata, ...read };
15
+ }
16
+ catch (error) {
17
+ if (error instanceof interface_file_storage_1.FileNotFoundError)
18
+ throw new interface_api_1.HTTPResult(404, "File not found");
19
+ throw error;
20
+ }
21
+ }
22
+ async function readAttachment(context, key, storage) {
23
+ const attachment = await (0, registry_1.loadAttachment)(key, storage);
24
+ const claims = JSON.parse(attachment.claimsJson);
25
+ const principal = await (0, access_1.assertNativeFileAccess)(context, claims, false);
26
+ if (attachment.tenantId !== principal.tenantId)
27
+ (0, registry_1.denyAttachment)();
28
+ const deadline = Date.now() + registry_1.PRIVATE_LINK_TTL_SECONDS * MILLISECONDS_PER_SECOND;
29
+ const read = await readStoredFile(key, storage);
30
+ if (claims.visibility !== "public" &&
31
+ (!Number.isFinite(read.expiresAt) || read.expiresAt > deadline)) {
32
+ (0, registry_1.denyAttachment)();
33
+ }
34
+ return read;
35
+ }
36
+ //# sourceMappingURL=read.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"read.js","sourceRoot":"","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O,CAAC,CAAC;IAChD,IACE,MAAM,CAAC,UAAU,KAAK,QAAQ;QAC9B,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,IAAK,IAAI,CAAC,SAAoB,GAAG,QAAQ,CAAC,EAC3E,CAAC;QACD,IAAA,yBAAc,GAAE,CAAC;IACnB,CAAC;IACD,OAAO,IAAI,CAAC;AACd,CAAC"}
@@ -0,0 +1,6 @@
1
+ export declare const PRIVATE_LINK_TTL_SECONDS = 60;
2
+ export declare function attachmentTable(): import("@antelopejs/interface-database").Table<import("../db").Attachment>;
3
+ export declare function denyAttachment(): never;
4
+ export declare function attachmentId(key: string, storage?: string): string;
5
+ export declare function findAttachment(key: string, storage?: string): Promise<import("../db").Attachment | undefined>;
6
+ export declare function loadAttachment(key: string, storage?: string): Promise<import("../db").Attachment>;
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PRIVATE_LINK_TTL_SECONDS = void 0;
4
+ exports.attachmentTable = attachmentTable;
5
+ exports.denyAttachment = denyAttachment;
6
+ exports.attachmentId = attachmentId;
7
+ exports.findAttachment = findAttachment;
8
+ exports.loadAttachment = loadAttachment;
9
+ const node_crypto_1 = require("node:crypto");
10
+ const interface_api_1 = require("@antelopejs/interface-api");
11
+ const interface_database_decorators_1 = require("@antelopejs/interface-database-decorators");
12
+ const interface_file_storage_1 = require("@antelopejs/interface-file-storage");
13
+ const attachments_model_1 = require("../db/models/attachments.model");
14
+ exports.PRIVATE_LINK_TTL_SECONDS = 60;
15
+ const FORBIDDEN = 403;
16
+ function attachmentTable() {
17
+ return (0, interface_database_decorators_1.GetModel)(attachments_model_1.AttachmentModel).table;
18
+ }
19
+ function denyAttachment() {
20
+ throw new interface_api_1.HTTPResult(FORBIDDEN, "File access denied.");
21
+ }
22
+ function attachmentId(key, storage) {
23
+ return (0, node_crypto_1.createHash)("sha256")
24
+ .update(JSON.stringify([storage || "", (0, interface_file_storage_1.stripStagingPrefix)(key)]))
25
+ .digest("hex");
26
+ }
27
+ async function findAttachment(key, storage) {
28
+ return (0, interface_database_decorators_1.GetModel)(attachments_model_1.AttachmentModel).get(attachmentId(key, storage));
29
+ }
30
+ async function loadAttachment(key, storage) {
31
+ const attachment = await findAttachment(key, storage);
32
+ if (!attachment)
33
+ denyAttachment();
34
+ return attachment;
35
+ }
36
+ //# sourceMappingURL=registry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registry.js","sourceRoot":"","sources":["../../src/attachments/registry.ts"],"names":[],"mappings":";;;AASA,0CAEC;AAED,wCAEC;AAED,oCAIC;AAED,wCAEC;AAED,wCAIC;AA/BD,6CAAyC;AACzC,6DAAuD;AACvD,6FAAqE;AACrE,+EAAwE;AACxE,sEAAiE;AAEpD,QAAA,wBAAwB,GAAG,EAAE,CAAC;AAC3C,MAAM,SAAS,GAAG,GAAG,CAAC;AAEtB,SAAgB,eAAe;IAC7B,OAAO,IAAA,wCAAQ,EAAC,mCAAe,CAAC,CAAC,KAAK,CAAC;AACzC,CAAC;AAED,SAAgB,cAAc;IAC5B,MAAM,IAAI,0BAAU,CAAC,SAAS,EAAE,qBAAqB,CAAC,CAAC;AACzD,CAAC;AAED,SAAgB,YAAY,CAAC,GAAW,EAAE,OAAgB;IACxD,OAAO,IAAA,wBAAU,EAAC,QAAQ,CAAC;SACxB,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,OAAO,IAAI,EAAE,EAAE,IAAA,2CAAkB,EAAC,GAAG,CAAC,CAAC,CAAC,CAAC;SAChE,MAAM,CAAC,KAAK,CAAC,CAAC;AACnB,CAAC;AAEM,KAAK,UAAU,cAAc,CAAC,GAAW,EAAE,OAAgB;IAChE,OAAO,IAAA,wCAAQ,EAAC,mCAAe,CAAC,CAAC,GAAG,CAAC,YAAY,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC,CAAC;AACnE,CAAC;AAEM,KAAK,UAAU,cAAc,CAAC,GAAW,EAAE,OAAgB;IAChE,MAAM,UAAU,GAAG,MAAM,cAAc,CAAC,GAAG,EAAE,OAAO,CAAC,CAAC;IACtD,IAAI,CAAC,UAAU;QAAE,cAAc,EAAE,CAAC;IAClC,OAAO,UAAU,CAAC;AACpB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { AttachmentSaveRequest, AttachmentSaveResult } from "@antelopejs/interface-dms/attachments";
2
+ export declare function SaveComponentFiles<T>(request: AttachmentSaveRequest, save: (document: Record<string, unknown>) => Promise<AttachmentSaveResult<T>>): Promise<T>;
@@ -0,0 +1,86 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SaveComponentFiles = SaveComponentFiles;
4
+ const logging_1 = require("@antelopejs/interface-core/logging");
5
+ const interface_file_storage_1 = require("@antelopejs/interface-file-storage");
6
+ const access_1 = require("./access");
7
+ const fields_1 = require("./fields");
8
+ const registry_1 = require("./registry");
9
+ function assertConstraints(metadata, reference) {
10
+ const constraints = reference.field.constraints;
11
+ if (constraints?.maxSize !== undefined && metadata.size > constraints.maxSize)
12
+ (0, registry_1.denyAttachment)();
13
+ const allowed = constraints?.allowedMimetypes;
14
+ if (allowed?.length &&
15
+ !allowed.some((pattern) => pattern === metadata.mimetype ||
16
+ (pattern.endsWith("/*") &&
17
+ metadata.mimetype.startsWith(pattern.slice(0, -1)))))
18
+ (0, registry_1.denyAttachment)();
19
+ }
20
+ async function validateReference(request, ref) {
21
+ const attachment = await (0, registry_1.loadAttachment)(ref.key, ref.field.storage);
22
+ const owner = JSON.parse(attachment.claimsJson);
23
+ const principal = await (0, access_1.assertNativeFileAccess)(request.context, owner, false);
24
+ if (principal.tenantId !== attachment.tenantId ||
25
+ !owner.componentId ||
26
+ !request.componentIds.includes(owner.componentId) ||
27
+ owner.visibility !== (ref.field.visibility || "private"))
28
+ (0, registry_1.denyAttachment)();
29
+ }
30
+ async function prepareReferences(request) {
31
+ const submitted = (0, fields_1.collectAttachments)(request.fields, request.submitted);
32
+ for (const ref of (0, fields_1.collectAttachments)(request.fields, request.before))
33
+ await validateReference(request, ref);
34
+ for (const ref of submitted)
35
+ await validateReference(request, ref);
36
+ return submitted;
37
+ }
38
+ async function remapValue(value, map) {
39
+ if (typeof value === "string")
40
+ return map.get(value) ?? value;
41
+ if (!value || typeof value !== "object")
42
+ return value;
43
+ if (Array.isArray(value))
44
+ return Promise.all(value.map((item) => remapValue(item, map)));
45
+ return Object.fromEntries(await Promise.all(Object.entries(value).map(async ([key, item]) => [
46
+ key,
47
+ await remapValue(item, map),
48
+ ])));
49
+ }
50
+ async function promoteReferences(request, refs) {
51
+ const document = { ...request.submitted };
52
+ for (const field of request.fields) {
53
+ const mapping = new Map();
54
+ for (const ref of refs.filter((ref) => ref.field.id === field.id)) {
55
+ const key = (0, interface_file_storage_1.isStagedKey)(ref.key)
56
+ ? (await (0, interface_file_storage_1.PromoteFile)(ref.key, field.storage)).resourceKey
57
+ : ref.key;
58
+ assertConstraints(await (0, interface_file_storage_1.GetFileMetadata)(key, field.storage), ref);
59
+ mapping.set(ref.key, key);
60
+ }
61
+ if (field.key in document)
62
+ document[field.key] = await remapValue(document[field.key], mapping);
63
+ }
64
+ return document;
65
+ }
66
+ async function cleanRemoved(request, document) {
67
+ const after = (0, fields_1.collectAttachments)(request.fields, document);
68
+ for (const ref of (0, fields_1.collectAttachments)(request.fields, request.before)) {
69
+ try {
70
+ if ((0, fields_1.containsAttachment)(after, ref) ||
71
+ !(await (0, registry_1.findAttachment)(ref.key, ref.field.storage)))
72
+ continue;
73
+ await (0, interface_file_storage_1.DeleteFile)(ref.key, ref.field.storage);
74
+ }
75
+ catch (error) {
76
+ logging_1.Logging.Error("Native file cleanup failed", error);
77
+ }
78
+ }
79
+ }
80
+ async function SaveComponentFiles(request, save) {
81
+ const refs = await prepareReferences(request);
82
+ const saved = await save(await promoteReferences(request, refs));
83
+ await cleanRemoved(request, saved.document);
84
+ return saved.result;
85
+ }
86
+ //# sourceMappingURL=save.js.map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CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;IAC3D,KAAK,MAAM,GAAG,IAAI,IAAA,2BAAkB,EAAC,OAAO,CAAC,MAAM,EAAE,OAAO,CAAC,MAAM,CAAC,EAAE,CAAC;QACrE,IAAI,CAAC;YACH,IACE,IAAA,2BAAkB,EAAC,KAAK,EAAE,GAAG,CAAC;gBAC9B,CAAC,CAAC,MAAM,IAAA,yBAAc,EAAC,GAAG,CAAC,GAAG,EAAE,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;gBAEnD,SAAS;YACX,MAAM,IAAA,mCAAU,EAAC,GAAG,CAAC,GAAG,EAAE,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QAC/C,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,iBAAO,CAAC,KAAK,CAAC,4BAA4B,EAAE,KAAK,CAAC,CAAC;QACrD,CAAC;IACH,CAAC;AACH,CAAC;AAGM,KAAK,UAAU,kBAAkB,CACtC,OAA8B,EAC9B,IAA6E;IAE7E,MAAM,IAAI,GAAG,MAAM,iBAAiB,CAAC,OAAO,CAAC,CAAC;IAC9C,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,MAAM,iBAAiB,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC;IACjE,MAAM,YAAY,CAAC,OAAO,EAAE,KAAK,CAAC,QAAQ,CAAC,CAAC;IAC5C,OAAO,KAAK,CAAC,MAAM,CAAC;AACtB,CAAC"}
@@ -0,0 +1,2 @@
1
+ import type { TableViewAttachmentSaveRequest } from "@antelopejs/interface-dms/attachments";
2
+ export declare function SaveTableViewAttachments(request: TableViewAttachmentSaveRequest): Promise<unknown>;