@abraca/junis 2.80.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (383) hide show
  1. package/README.md +594 -0
  2. package/dist/module.d.mts +158 -0
  3. package/dist/module.json +12 -0
  4. package/dist/module.mjs +957 -0
  5. package/dist/runtime/assets/css/jun.css +13 -0
  6. package/dist/runtime/components/JunAnnouncement.d.vue.ts +3 -0
  7. package/dist/runtime/components/JunAnnouncement.vue +88 -0
  8. package/dist/runtime/components/JunAnnouncement.vue.d.ts +3 -0
  9. package/dist/runtime/components/JunAppreciate.d.vue.ts +6 -0
  10. package/dist/runtime/components/JunAppreciate.vue +71 -0
  11. package/dist/runtime/components/JunAppreciate.vue.d.ts +6 -0
  12. package/dist/runtime/components/JunBackgroundPhoto.d.vue.ts +3 -0
  13. package/dist/runtime/components/JunBackgroundPhoto.vue +23 -0
  14. package/dist/runtime/components/JunBackgroundPhoto.vue.d.ts +3 -0
  15. package/dist/runtime/components/JunBlobBackdrop.client.d.vue.ts +3 -0
  16. package/dist/runtime/components/JunBlobBackdrop.client.vue +120 -0
  17. package/dist/runtime/components/JunBlobBackdrop.client.vue.d.ts +3 -0
  18. package/dist/runtime/components/JunBreadcrumbs.d.vue.ts +16 -0
  19. package/dist/runtime/components/JunBreadcrumbs.vue +63 -0
  20. package/dist/runtime/components/JunBreadcrumbs.vue.d.ts +16 -0
  21. package/dist/runtime/components/JunCampfireChat.d.vue.ts +14 -0
  22. package/dist/runtime/components/JunCampfireChat.vue +136 -0
  23. package/dist/runtime/components/JunCampfireChat.vue.d.ts +14 -0
  24. package/dist/runtime/components/JunCampfirePanel.d.vue.ts +33 -0
  25. package/dist/runtime/components/JunCampfirePanel.vue +202 -0
  26. package/dist/runtime/components/JunCampfirePanel.vue.d.ts +33 -0
  27. package/dist/runtime/components/JunCampfirePresence.client.d.vue.ts +3 -0
  28. package/dist/runtime/components/JunCampfirePresence.client.vue +321 -0
  29. package/dist/runtime/components/JunCampfirePresence.client.vue.d.ts +3 -0
  30. package/dist/runtime/components/JunCampfireRoster.d.vue.ts +19 -0
  31. package/dist/runtime/components/JunCampfireRoster.vue +259 -0
  32. package/dist/runtime/components/JunCampfireRoster.vue.d.ts +19 -0
  33. package/dist/runtime/components/JunCampfireYou.d.vue.ts +10 -0
  34. package/dist/runtime/components/JunCampfireYou.vue +157 -0
  35. package/dist/runtime/components/JunCampfireYou.vue.d.ts +10 -0
  36. package/dist/runtime/components/JunDocSurface.d.vue.ts +34 -0
  37. package/dist/runtime/components/JunDocSurface.vue +117 -0
  38. package/dist/runtime/components/JunDocSurface.vue.d.ts +34 -0
  39. package/dist/runtime/components/JunFestivalPlayer.client.d.vue.ts +3 -0
  40. package/dist/runtime/components/JunFestivalPlayer.client.vue +471 -0
  41. package/dist/runtime/components/JunFestivalPlayer.client.vue.d.ts +3 -0
  42. package/dist/runtime/components/JunFooter.d.vue.ts +3 -0
  43. package/dist/runtime/components/JunFooter.vue +102 -0
  44. package/dist/runtime/components/JunFooter.vue.d.ts +3 -0
  45. package/dist/runtime/components/JunGlobeEditor.client.d.vue.ts +43 -0
  46. package/dist/runtime/components/JunGlobeEditor.client.vue +315 -0
  47. package/dist/runtime/components/JunGlobeEditor.client.vue.d.ts +43 -0
  48. package/dist/runtime/components/JunGlobeMap.client.d.vue.ts +58 -0
  49. package/dist/runtime/components/JunGlobeMap.client.vue +495 -0
  50. package/dist/runtime/components/JunGlobeMap.client.vue.d.ts +58 -0
  51. package/dist/runtime/components/JunHead.d.vue.ts +3 -0
  52. package/dist/runtime/components/JunHead.vue +79 -0
  53. package/dist/runtime/components/JunHead.vue.d.ts +3 -0
  54. package/dist/runtime/components/JunHorizontalTimeline.d.vue.ts +0 -0
  55. package/dist/runtime/components/JunHorizontalTimeline.vue +363 -0
  56. package/dist/runtime/components/JunHorizontalTimeline.vue.d.ts +0 -0
  57. package/dist/runtime/components/JunImagePopup.client.d.vue.ts +3 -0
  58. package/dist/runtime/components/JunImagePopup.client.vue +422 -0
  59. package/dist/runtime/components/JunImagePopup.client.vue.d.ts +3 -0
  60. package/dist/runtime/components/JunIntro.d.vue.ts +3 -0
  61. package/dist/runtime/components/JunIntro.vue +156 -0
  62. package/dist/runtime/components/JunIntro.vue.d.ts +3 -0
  63. package/dist/runtime/components/JunItemMenu.d.vue.ts +50 -0
  64. package/dist/runtime/components/JunItemMenu.vue +97 -0
  65. package/dist/runtime/components/JunItemMenu.vue.d.ts +50 -0
  66. package/dist/runtime/components/JunLinksRow.d.vue.ts +19 -0
  67. package/dist/runtime/components/JunLinksRow.vue +96 -0
  68. package/dist/runtime/components/JunLinksRow.vue.d.ts +19 -0
  69. package/dist/runtime/components/JunLogo.d.vue.ts +15 -0
  70. package/dist/runtime/components/JunLogo.vue +360 -0
  71. package/dist/runtime/components/JunLogo.vue.d.ts +15 -0
  72. package/dist/runtime/components/JunMedia.client.d.vue.ts +40 -0
  73. package/dist/runtime/components/JunMedia.client.vue +117 -0
  74. package/dist/runtime/components/JunMedia.client.vue.d.ts +40 -0
  75. package/dist/runtime/components/JunMosaicPane.client.d.vue.ts +24 -0
  76. package/dist/runtime/components/JunMosaicPane.client.vue +95 -0
  77. package/dist/runtime/components/JunMosaicPane.client.vue.d.ts +24 -0
  78. package/dist/runtime/components/JunNavigation.d.vue.ts +26 -0
  79. package/dist/runtime/components/JunNavigation.vue +1149 -0
  80. package/dist/runtime/components/JunNavigation.vue.d.ts +26 -0
  81. package/dist/runtime/components/JunNodePanel.client.d.vue.ts +3 -0
  82. package/dist/runtime/components/JunNodePanel.client.vue +23 -0
  83. package/dist/runtime/components/JunNodePanel.client.vue.d.ts +3 -0
  84. package/dist/runtime/components/JunNotFound.d.vue.ts +7 -0
  85. package/dist/runtime/components/JunNotFound.vue +137 -0
  86. package/dist/runtime/components/JunNotFound.vue.d.ts +7 -0
  87. package/dist/runtime/components/JunPageHero.d.vue.ts +25 -0
  88. package/dist/runtime/components/JunPageHero.vue +90 -0
  89. package/dist/runtime/components/JunPageHero.vue.d.ts +25 -0
  90. package/dist/runtime/components/JunPatternBackdrop.client.d.vue.ts +7 -0
  91. package/dist/runtime/components/JunPatternBackdrop.client.vue +95 -0
  92. package/dist/runtime/components/JunPatternBackdrop.client.vue.d.ts +7 -0
  93. package/dist/runtime/components/JunPeerCursors.client.d.vue.ts +3 -0
  94. package/dist/runtime/components/JunPeerCursors.client.vue +123 -0
  95. package/dist/runtime/components/JunPeerCursors.client.vue.d.ts +3 -0
  96. package/dist/runtime/components/JunPresenceBlobs.client.d.vue.ts +3 -0
  97. package/dist/runtime/components/JunPresenceBlobs.client.vue +172 -0
  98. package/dist/runtime/components/JunPresenceBlobs.client.vue.d.ts +3 -0
  99. package/dist/runtime/components/JunSearch.client.d.vue.ts +3 -0
  100. package/dist/runtime/components/JunSearch.client.vue +809 -0
  101. package/dist/runtime/components/JunSearch.client.vue.d.ts +3 -0
  102. package/dist/runtime/components/JunServiceCard.d.vue.ts +10 -0
  103. package/dist/runtime/components/JunServiceCard.vue +145 -0
  104. package/dist/runtime/components/JunServiceCard.vue.d.ts +10 -0
  105. package/dist/runtime/components/JunShaderBackdrop.client.d.vue.ts +3 -0
  106. package/dist/runtime/components/JunShaderBackdrop.client.vue +82 -0
  107. package/dist/runtime/components/JunShaderBackdrop.client.vue.d.ts +3 -0
  108. package/dist/runtime/components/JunShell.d.vue.ts +17 -0
  109. package/dist/runtime/components/JunShell.vue +80 -0
  110. package/dist/runtime/components/JunShell.vue.d.ts +17 -0
  111. package/dist/runtime/components/JunStudioBar.client.d.vue.ts +3 -0
  112. package/dist/runtime/components/JunStudioBar.client.vue +462 -0
  113. package/dist/runtime/components/JunStudioBar.client.vue.d.ts +3 -0
  114. package/dist/runtime/components/JunStudioLogin.client.d.vue.ts +3 -0
  115. package/dist/runtime/components/JunStudioLogin.client.vue +58 -0
  116. package/dist/runtime/components/JunStudioLogin.client.vue.d.ts +3 -0
  117. package/dist/runtime/components/JunThemeToggle.d.vue.ts +3 -0
  118. package/dist/runtime/components/JunThemeToggle.vue +32 -0
  119. package/dist/runtime/components/JunThemeToggle.vue.d.ts +3 -0
  120. package/dist/runtime/components/JunTravellersChip.d.vue.ts +9 -0
  121. package/dist/runtime/components/JunTravellersChip.vue +111 -0
  122. package/dist/runtime/components/JunTravellersChip.vue.d.ts +9 -0
  123. package/dist/runtime/components/JunVideoEmbed.client.d.vue.ts +23 -0
  124. package/dist/runtime/components/JunVideoEmbed.client.vue +124 -0
  125. package/dist/runtime/components/JunVideoEmbed.client.vue.d.ts +23 -0
  126. package/dist/runtime/components/css-modules.d.ts +7 -0
  127. package/dist/runtime/components/renderers/.gitkeep +0 -0
  128. package/dist/runtime/components/renderers/JunAppsRenderer.d.vue.ts +10 -0
  129. package/dist/runtime/components/renderers/JunAppsRenderer.vue +271 -0
  130. package/dist/runtime/components/renderers/JunAppsRenderer.vue.d.ts +10 -0
  131. package/dist/runtime/components/renderers/JunCinemaRenderer.d.vue.ts +10 -0
  132. package/dist/runtime/components/renderers/JunCinemaRenderer.vue +465 -0
  133. package/dist/runtime/components/renderers/JunCinemaRenderer.vue.d.ts +10 -0
  134. package/dist/runtime/components/renderers/JunConfigRenderer.d.vue.ts +10 -0
  135. package/dist/runtime/components/renderers/JunConfigRenderer.vue +2045 -0
  136. package/dist/runtime/components/renderers/JunConfigRenderer.vue.d.ts +10 -0
  137. package/dist/runtime/components/renderers/JunCvRenderer.d.vue.ts +10 -0
  138. package/dist/runtime/components/renderers/JunCvRenderer.vue +256 -0
  139. package/dist/runtime/components/renderers/JunCvRenderer.vue.d.ts +10 -0
  140. package/dist/runtime/components/renderers/JunEntryRenderer.d.vue.ts +10 -0
  141. package/dist/runtime/components/renderers/JunEntryRenderer.vue +429 -0
  142. package/dist/runtime/components/renderers/JunEntryRenderer.vue.d.ts +10 -0
  143. package/dist/runtime/components/renderers/JunFestivalRenderer.d.vue.ts +10 -0
  144. package/dist/runtime/components/renderers/JunFestivalRenderer.vue +557 -0
  145. package/dist/runtime/components/renderers/JunFestivalRenderer.vue.d.ts +10 -0
  146. package/dist/runtime/components/renderers/JunGlobeRenderer.d.vue.ts +10 -0
  147. package/dist/runtime/components/renderers/JunGlobeRenderer.vue +91 -0
  148. package/dist/runtime/components/renderers/JunGlobeRenderer.vue.d.ts +10 -0
  149. package/dist/runtime/components/renderers/JunGuestbookRenderer.d.vue.ts +10 -0
  150. package/dist/runtime/components/renderers/JunGuestbookRenderer.vue +326 -0
  151. package/dist/runtime/components/renderers/JunGuestbookRenderer.vue.d.ts +10 -0
  152. package/dist/runtime/components/renderers/JunHomeRenderer.d.vue.ts +10 -0
  153. package/dist/runtime/components/renderers/JunHomeRenderer.vue +585 -0
  154. package/dist/runtime/components/renderers/JunHomeRenderer.vue.d.ts +10 -0
  155. package/dist/runtime/components/renderers/JunJournalRenderer.d.vue.ts +10 -0
  156. package/dist/runtime/components/renderers/JunJournalRenderer.vue +420 -0
  157. package/dist/runtime/components/renderers/JunJournalRenderer.vue.d.ts +10 -0
  158. package/dist/runtime/components/renderers/JunLibraryRenderer.d.vue.ts +10 -0
  159. package/dist/runtime/components/renderers/JunLibraryRenderer.vue +319 -0
  160. package/dist/runtime/components/renderers/JunLibraryRenderer.vue.d.ts +10 -0
  161. package/dist/runtime/components/renderers/JunLinksRenderer.d.vue.ts +10 -0
  162. package/dist/runtime/components/renderers/JunLinksRenderer.vue +206 -0
  163. package/dist/runtime/components/renderers/JunLinksRenderer.vue.d.ts +10 -0
  164. package/dist/runtime/components/renderers/JunLiveRenderer.d.vue.ts +10 -0
  165. package/dist/runtime/components/renderers/JunLiveRenderer.vue +684 -0
  166. package/dist/runtime/components/renderers/JunLiveRenderer.vue.d.ts +10 -0
  167. package/dist/runtime/components/renderers/JunMosaicRenderer.d.vue.ts +10 -0
  168. package/dist/runtime/components/renderers/JunMosaicRenderer.vue +572 -0
  169. package/dist/runtime/components/renderers/JunMosaicRenderer.vue.d.ts +10 -0
  170. package/dist/runtime/components/renderers/JunMovieRenderer.d.vue.ts +10 -0
  171. package/dist/runtime/components/renderers/JunMovieRenderer.vue +539 -0
  172. package/dist/runtime/components/renderers/JunMovieRenderer.vue.d.ts +10 -0
  173. package/dist/runtime/components/renderers/JunNowRenderer.d.vue.ts +10 -0
  174. package/dist/runtime/components/renderers/JunNowRenderer.vue +382 -0
  175. package/dist/runtime/components/renderers/JunNowRenderer.vue.d.ts +10 -0
  176. package/dist/runtime/components/renderers/JunProjectRenderer.d.vue.ts +10 -0
  177. package/dist/runtime/components/renderers/JunProjectRenderer.vue +413 -0
  178. package/dist/runtime/components/renderers/JunProjectRenderer.vue.d.ts +10 -0
  179. package/dist/runtime/components/renderers/JunRedirectRenderer.d.vue.ts +10 -0
  180. package/dist/runtime/components/renderers/JunRedirectRenderer.vue +133 -0
  181. package/dist/runtime/components/renderers/JunRedirectRenderer.vue.d.ts +10 -0
  182. package/dist/runtime/components/renderers/JunServicesRenderer.d.vue.ts +10 -0
  183. package/dist/runtime/components/renderers/JunServicesRenderer.vue +267 -0
  184. package/dist/runtime/components/renderers/JunServicesRenderer.vue.d.ts +10 -0
  185. package/dist/runtime/components/renderers/JunStatsRenderer.d.vue.ts +10 -0
  186. package/dist/runtime/components/renderers/JunStatsRenderer.vue +230 -0
  187. package/dist/runtime/components/renderers/JunStatsRenderer.vue.d.ts +10 -0
  188. package/dist/runtime/components/renderers/JunTrackRenderer.d.vue.ts +10 -0
  189. package/dist/runtime/components/renderers/JunTrackRenderer.vue +380 -0
  190. package/dist/runtime/components/renderers/JunTrackRenderer.vue.d.ts +10 -0
  191. package/dist/runtime/components/renderers/JunUsesRenderer.d.vue.ts +10 -0
  192. package/dist/runtime/components/renderers/JunUsesRenderer.vue +254 -0
  193. package/dist/runtime/components/renderers/JunUsesRenderer.vue.d.ts +10 -0
  194. package/dist/runtime/components/renderers/JunWallRenderer.d.vue.ts +10 -0
  195. package/dist/runtime/components/renderers/JunWallRenderer.vue +276 -0
  196. package/dist/runtime/components/renderers/JunWallRenderer.vue.d.ts +10 -0
  197. package/dist/runtime/components/renderers/JunWindowRenderer.d.vue.ts +10 -0
  198. package/dist/runtime/components/renderers/JunWindowRenderer.vue +516 -0
  199. package/dist/runtime/components/renderers/JunWindowRenderer.vue.d.ts +10 -0
  200. package/dist/runtime/composables/useJunBackdrop.d.ts +9 -0
  201. package/dist/runtime/composables/useJunBackdrop.js +27 -0
  202. package/dist/runtime/composables/useJunBackground.d.ts +78 -0
  203. package/dist/runtime/composables/useJunBackground.js +65 -0
  204. package/dist/runtime/composables/useJunCampfire.d.ts +156 -0
  205. package/dist/runtime/composables/useJunCampfire.js +225 -0
  206. package/dist/runtime/composables/useJunChrome.d.ts +66 -0
  207. package/dist/runtime/composables/useJunChrome.js +233 -0
  208. package/dist/runtime/composables/useJunColorMode.d.ts +8 -0
  209. package/dist/runtime/composables/useJunColorMode.js +11 -0
  210. package/dist/runtime/composables/useJunCommands.d.ts +37 -0
  211. package/dist/runtime/composables/useJunCommands.js +225 -0
  212. package/dist/runtime/composables/useJunCreatePage.d.ts +17 -0
  213. package/dist/runtime/composables/useJunCreatePage.js +30 -0
  214. package/dist/runtime/composables/useJunCurrentDoc.d.ts +5 -0
  215. package/dist/runtime/composables/useJunCurrentDoc.js +14 -0
  216. package/dist/runtime/composables/useJunDocMenu.d.ts +71 -0
  217. package/dist/runtime/composables/useJunDocMenu.js +344 -0
  218. package/dist/runtime/composables/useJunDocPage.d.ts +99 -0
  219. package/dist/runtime/composables/useJunDocPage.js +155 -0
  220. package/dist/runtime/composables/useJunFollow.d.ts +11 -0
  221. package/dist/runtime/composables/useJunFollow.js +38 -0
  222. package/dist/runtime/composables/useJunGroupedDnD.d.ts +74 -0
  223. package/dist/runtime/composables/useJunGroupedDnD.js +186 -0
  224. package/dist/runtime/composables/useJunImagePopup.d.ts +37 -0
  225. package/dist/runtime/composables/useJunImagePopup.js +24 -0
  226. package/dist/runtime/composables/useJunIntro.d.ts +7 -0
  227. package/dist/runtime/composables/useJunIntro.js +8 -0
  228. package/dist/runtime/composables/useJunListDnD.d.ts +65 -0
  229. package/dist/runtime/composables/useJunListDnD.js +159 -0
  230. package/dist/runtime/composables/useJunMediaImport.d.ts +27 -0
  231. package/dist/runtime/composables/useJunMediaImport.js +90 -0
  232. package/dist/runtime/composables/useJunNavSettings.d.ts +57 -0
  233. package/dist/runtime/composables/useJunNavSettings.js +74 -0
  234. package/dist/runtime/composables/useJunNodePanel.d.ts +41 -0
  235. package/dist/runtime/composables/useJunNodePanel.js +36 -0
  236. package/dist/runtime/composables/useJunOpenDoc.d.ts +7 -0
  237. package/dist/runtime/composables/useJunOpenDoc.js +30 -0
  238. package/dist/runtime/composables/useJunOptions.d.ts +68 -0
  239. package/dist/runtime/composables/useJunOptions.js +68 -0
  240. package/dist/runtime/composables/useJunPalette.d.ts +16 -0
  241. package/dist/runtime/composables/useJunPalette.js +72 -0
  242. package/dist/runtime/composables/useJunPeopleAdmin.d.ts +69 -0
  243. package/dist/runtime/composables/useJunPeopleAdmin.js +73 -0
  244. package/dist/runtime/composables/useJunPlayer.d.ts +99 -0
  245. package/dist/runtime/composables/useJunPlayer.js +208 -0
  246. package/dist/runtime/composables/useJunPresence.d.ts +32 -0
  247. package/dist/runtime/composables/useJunPresence.js +53 -0
  248. package/dist/runtime/composables/useJunPressDrag.d.ts +20 -0
  249. package/dist/runtime/composables/useJunPressDrag.js +85 -0
  250. package/dist/runtime/composables/useJunRecent.d.ts +9 -0
  251. package/dist/runtime/composables/useJunRecent.js +44 -0
  252. package/dist/runtime/composables/useJunRename.d.ts +19 -0
  253. package/dist/runtime/composables/useJunRename.js +62 -0
  254. package/dist/runtime/composables/useJunRouteGeoHeal.d.ts +1 -0
  255. package/dist/runtime/composables/useJunRouteGeoHeal.js +45 -0
  256. package/dist/runtime/composables/useJunRouting.d.ts +29 -0
  257. package/dist/runtime/composables/useJunRouting.js +101 -0
  258. package/dist/runtime/composables/useJunSearch.d.ts +6 -0
  259. package/dist/runtime/composables/useJunSearch.js +16 -0
  260. package/dist/runtime/composables/useJunSelfId.d.ts +1 -0
  261. package/dist/runtime/composables/useJunSelfId.js +28 -0
  262. package/dist/runtime/composables/useJunSiteConfig.d.ts +229 -0
  263. package/dist/runtime/composables/useJunSiteConfig.js +95 -0
  264. package/dist/runtime/composables/useJunSiteConfigValues.d.ts +33 -0
  265. package/dist/runtime/composables/useJunSiteConfigValues.js +21 -0
  266. package/dist/runtime/composables/useJunStagger.d.ts +54 -0
  267. package/dist/runtime/composables/useJunStagger.js +23 -0
  268. package/dist/runtime/composables/useJunStudio.d.ts +11 -0
  269. package/dist/runtime/composables/useJunStudio.js +51 -0
  270. package/dist/runtime/composables/useJunSurface.d.ts +19 -0
  271. package/dist/runtime/composables/useJunSurface.js +8 -0
  272. package/dist/runtime/composables/useJunTheme.d.ts +21 -0
  273. package/dist/runtime/composables/useJunTheme.js +138 -0
  274. package/dist/runtime/composables/useJunThemeTransition.d.ts +5 -0
  275. package/dist/runtime/composables/useJunThemeTransition.js +32 -0
  276. package/dist/runtime/composables/useJunUpload.d.ts +12 -0
  277. package/dist/runtime/composables/useJunUpload.js +44 -0
  278. package/dist/runtime/composables/useJunViewingAccent.d.ts +6 -0
  279. package/dist/runtime/composables/useJunViewingAccent.js +28 -0
  280. package/dist/runtime/error.d.vue.ts +7 -0
  281. package/dist/runtime/error.vue +74 -0
  282. package/dist/runtime/error.vue.d.ts +7 -0
  283. package/dist/runtime/layouts/jun.d.vue.ts +13 -0
  284. package/dist/runtime/layouts/jun.vue +162 -0
  285. package/dist/runtime/layouts/jun.vue.d.ts +13 -0
  286. package/dist/runtime/pages/doc.d.vue.ts +3 -0
  287. package/dist/runtime/pages/doc.vue +142 -0
  288. package/dist/runtime/pages/doc.vue.d.ts +3 -0
  289. package/dist/runtime/pages/index.d.vue.ts +3 -0
  290. package/dist/runtime/pages/index.vue +64 -0
  291. package/dist/runtime/pages/index.vue.d.ts +3 -0
  292. package/dist/runtime/plugins/jun-drag-affordance.client.d.ts +2 -0
  293. package/dist/runtime/plugins/jun-drag-affordance.client.js +9 -0
  294. package/dist/runtime/router.options.d.ts +3 -0
  295. package/dist/runtime/router.options.js +72 -0
  296. package/dist/runtime/server/api/nav.get.d.ts +9 -0
  297. package/dist/runtime/server/api/nav.get.js +16 -0
  298. package/dist/runtime/server/api/resolve/[...slug].get.d.ts +18 -0
  299. package/dist/runtime/server/api/resolve/[...slug].get.js +20 -0
  300. package/dist/runtime/server/api/search.get.d.ts +13 -0
  301. package/dist/runtime/server/api/search.get.js +72 -0
  302. package/dist/runtime/server/api/service.get.d.ts +12 -0
  303. package/dist/runtime/server/api/service.get.js +39 -0
  304. package/dist/runtime/server/api/site-config.get.d.ts +2 -0
  305. package/dist/runtime/server/api/site-config.get.js +3 -0
  306. package/dist/runtime/server/api/stats.get.d.ts +12 -0
  307. package/dist/runtime/server/api/stats.get.js +56 -0
  308. package/dist/runtime/server/janitor/junJanitorActor.d.ts +179 -0
  309. package/dist/runtime/server/janitor/junJanitorActor.js +305 -0
  310. package/dist/runtime/server/janitor/junJanitorChores.d.ts +137 -0
  311. package/dist/runtime/server/janitor/junJanitorChores.js +189 -0
  312. package/dist/runtime/server/janitor/junJanitorDiff.d.ts +41 -0
  313. package/dist/runtime/server/janitor/junJanitorDiff.js +109 -0
  314. package/dist/runtime/server/janitor/junJanitorListen.d.ts +33 -0
  315. package/dist/runtime/server/janitor/junJanitorListen.js +43 -0
  316. package/dist/runtime/server/janitor/junJanitorMachine.d.ts +60 -0
  317. package/dist/runtime/server/janitor/junJanitorMachine.js +598 -0
  318. package/dist/runtime/server/janitor/junJanitorMotor.d.ts +211 -0
  319. package/dist/runtime/server/janitor/junJanitorMotor.js +241 -0
  320. package/dist/runtime/server/janitor/junJanitorPatrol.d.ts +68 -0
  321. package/dist/runtime/server/janitor/junJanitorPatrol.js +34 -0
  322. package/dist/runtime/server/janitor/junJanitorPerform.d.ts +70 -0
  323. package/dist/runtime/server/janitor/junJanitorPerform.js +72 -0
  324. package/dist/runtime/server/janitor/junJanitorRandom.d.ts +54 -0
  325. package/dist/runtime/server/janitor/junJanitorRandom.js +48 -0
  326. package/dist/runtime/server/janitor/junJanitorStore.d.ts +159 -0
  327. package/dist/runtime/server/janitor/junJanitorStore.js +269 -0
  328. package/dist/runtime/server/janitor/junJanitorVoice.d.ts +86 -0
  329. package/dist/runtime/server/janitor/junJanitorVoice.js +193 -0
  330. package/dist/runtime/server/janitor/junJanitorYText.d.ts +164 -0
  331. package/dist/runtime/server/janitor/junJanitorYText.js +258 -0
  332. package/dist/runtime/server/plugins/jun-bootstrap.d.ts +25 -0
  333. package/dist/runtime/server/plugins/jun-bootstrap.js +652 -0
  334. package/dist/runtime/server/plugins/jun-doc-cache.d.ts +2 -0
  335. package/dist/runtime/server/plugins/jun-doc-cache.js +142 -0
  336. package/dist/runtime/server/plugins/jun-janitor.d.ts +2 -0
  337. package/dist/runtime/server/plugins/jun-janitor.js +176 -0
  338. package/dist/runtime/server/plugins/jun-rpc.d.ts +2 -0
  339. package/dist/runtime/server/plugins/jun-rpc.js +455 -0
  340. package/dist/runtime/server/routes/feed.json.get.d.ts +21 -0
  341. package/dist/runtime/server/routes/feed.json.get.js +25 -0
  342. package/dist/runtime/server/routes/feed.xml.get.d.ts +2 -0
  343. package/dist/runtime/server/routes/feed.xml.get.js +34 -0
  344. package/dist/runtime/server/routes/sitemap.xml.get.d.ts +2 -0
  345. package/dist/runtime/server/routes/sitemap.xml.get.js +27 -0
  346. package/dist/runtime/server/utils/junCache.d.ts +41 -0
  347. package/dist/runtime/server/utils/junCache.js +32 -0
  348. package/dist/runtime/server/utils/junFeed.d.ts +20 -0
  349. package/dist/runtime/server/utils/junFeed.js +71 -0
  350. package/dist/runtime/server/utils/junServiceFetch.d.ts +46 -0
  351. package/dist/runtime/server/utils/junServiceFetch.js +320 -0
  352. package/dist/runtime/server/utils/junVisibility.d.ts +31 -0
  353. package/dist/runtime/server/utils/junVisibility.js +6 -0
  354. package/dist/runtime/types.d.ts +853 -0
  355. package/dist/runtime/types.js +1 -0
  356. package/dist/runtime/utils/junDate.d.ts +38 -0
  357. package/dist/runtime/utils/junDate.js +30 -0
  358. package/dist/runtime/utils/junDndGeometry.d.ts +62 -0
  359. package/dist/runtime/utils/junDndGeometry.js +56 -0
  360. package/dist/runtime/utils/junDocTypeIcons.d.ts +30 -0
  361. package/dist/runtime/utils/junDocTypeIcons.js +30 -0
  362. package/dist/runtime/utils/junEditorBodyText.d.ts +32 -0
  363. package/dist/runtime/utils/junEditorBodyText.js +10 -0
  364. package/dist/runtime/utils/junMapboxToken.d.ts +1 -0
  365. package/dist/runtime/utils/junMapboxToken.js +5 -0
  366. package/dist/runtime/utils/junMatch.d.ts +45 -0
  367. package/dist/runtime/utils/junMatch.js +37 -0
  368. package/dist/runtime/utils/junMetaSchemas.d.ts +23 -0
  369. package/dist/runtime/utils/junMetaSchemas.js +94 -0
  370. package/dist/runtime/utils/junMotion.d.ts +71 -0
  371. package/dist/runtime/utils/junMotion.js +3 -0
  372. package/dist/runtime/utils/junServiceRef.d.ts +21 -0
  373. package/dist/runtime/utils/junServiceRef.js +94 -0
  374. package/dist/runtime/utils/junSimplifyPath.d.ts +23 -0
  375. package/dist/runtime/utils/junSimplifyPath.js +57 -0
  376. package/dist/runtime/utils/junTransportModes.d.ts +49 -0
  377. package/dist/runtime/utils/junTransportModes.js +37 -0
  378. package/dist/runtime/utils/junVideoSource.d.ts +51 -0
  379. package/dist/runtime/utils/junVideoSource.js +110 -0
  380. package/dist/runtime/utils/junVisibility.d.ts +14 -0
  381. package/dist/runtime/utils/junVisibility.js +6 -0
  382. package/dist/types.d.mts +5 -0
  383. package/package.json +111 -0
package/README.md ADDED
@@ -0,0 +1,594 @@
1
+ # @abraca/junis
2
+
3
+ A website builder for [Abracadabra](https://github.com/abracadabra). Point it at
4
+ a document tree and you get a website: typed page renderers, presence-aware
5
+ chrome, an owner editing studio, server-side rendering, feeds, search, and
6
+ visitor interaction — all driven by documents rather than code.
7
+
8
+ Everything is a document, settings included. The site's configuration lives in a
9
+ hidden document whose meta *is* the config and whose page is the settings UI.
10
+
11
+ > **Status: pre-1.0, and honest about it.** Twenty-three of the twenty-four page
12
+ > types render and are exercised on every boot by `pnpm parity` — **417 SSR
13
+ > assertions**, from an empty database. The **globe** is the twenty-fourth: it is
14
+ > ported but has **never been rendered**, because it needs a Mapbox token and
15
+ > seeded waypoints. Treat it as unproven.
16
+ >
17
+ > `pnpm parity:nav` — the only check that catches broken client-side navigation —
18
+ > **skips unless `puppeteer-core` is installed**, and it has never run here. A
19
+ > green suite without it means the SSR payload is right, nothing more.
20
+ >
21
+ > Remaining gaps are listed in `FOLLOW-UP.md`; every deliberate difference from
22
+ > the reference implementation is in `PARITY-PLAN.md` §8. `CLAUDE.md` is the
23
+ > current one — the other plan documents are historical and say so.
24
+
25
+ ```bash
26
+ pnpm add @abraca/junis @abraca/nuxt @abraca/dabra @abraca/convert
27
+ ```
28
+
29
+ All four ship from the same release train and carry the same version. The three
30
+ `@abraca/*` siblings are **peers**, not dependencies, so your app resolves one
31
+ copy of each — a second copy of `@abraca/convert` means a second `yjs` identity,
32
+ and Y content built against one cannot be inserted into a document owned by the
33
+ other.
34
+
35
+ ```ts
36
+ // nuxt.config.ts
37
+ export default defineNuxtConfig({
38
+ modules: ['@abraca/junis'],
39
+
40
+ jun: {
41
+ brand: { name: 'Acme', tagline: 'We make things' },
42
+ },
43
+
44
+ abracadabra: {
45
+ url: 'https://your-backend.example.com',
46
+ entryDocId: '…',
47
+ },
48
+ })
49
+ ```
50
+
51
+ ```css
52
+ /* app/assets/css/main.css */
53
+ @import "tailwindcss";
54
+ @import "@nuxt/ui";
55
+ @import "@abraca/junis/css";
56
+ ```
57
+
58
+ That is a working website. The module installs what it builds on (`@abraca/nuxt`,
59
+ `@nuxt/ui`, `@nuxt/fonts`, `@nuxt/image`, `@vueuse/motion`) unless you have
60
+ listed them yourself.
61
+
62
+ ---
63
+
64
+ ## ⚠️ Registration must stay open
65
+
66
+ The single most important thing about deploying anything built on this module.
67
+
68
+ A visitor is **not** an anonymous session: the SDK mints a guest Ed25519 keypair
69
+ in the browser and *registers* it. That soft identity is a real account, so the
70
+ visitor is `authenticated` and should land on `[access].authenticated` =
71
+ **`viewer`** — read and awareness, no write.
72
+
73
+ `Observer`, the only role an anonymous principal may hold, is excluded from the
74
+ server's `can_send_awareness()`. An anonymous visitor therefore **cannot carry
75
+ presence**, which is the premise of the entire system. Closing registration
76
+ silently pushes every visitor onto that path, and nothing will look broken —
77
+ presence simply stops.
78
+
79
+ Because visitors cannot write, everything they contribute (guestbook
80
+ signatures, reactions) goes through the RPC runner, whose handlers receive the
81
+ server-stamped caller id.
82
+
83
+ ---
84
+
85
+ ## Page types
86
+
87
+ Each key registers a `jun-<key>` type and mounts its renderer. All are on by
88
+ default except `globe`.
89
+
90
+ | Type | What it is |
91
+ |---|---|
92
+ | `jun-journal` → `jun-entry` | A writing feed and its articles. Drafts, scheduled publishing, covers. |
93
+ | `jun-live` → `jun-now` | A social timeline and its posts. The composer is a draft *document*. |
94
+ | `jun-apps` → `jun-app` | A reorderable icon grid and its project pages. |
95
+ | `jun-links` | A column of link rows. A row with no URL opens its own page. |
96
+ | `jun-cv` | A career spine, newest first. |
97
+ | `jun-uses` | A grouped list; the sections come from the page's own meta. |
98
+ | `jun-library` | A reading list shelved by status, with ratings. |
99
+ | `jun-wall` | A masonry photo wall. Photos are real documents with EXIF extracted. |
100
+ | `jun-cinema` → `jun-movie` | A poster shelf and its theatre. Uploaded film (streamed) or a provider link (facade). |
101
+ | `jun-festival` → `jun-track` | A music library shaped like a music app, with a player that survives navigation. |
102
+ | `jun-services` | Live figures from keyless public APIs, fetched and cached server-side. |
103
+ | `jun-mosaic` | A page composed of other pages — panes are documents, rendered by their own renderers. |
104
+ | `jun-guestbook` | The one page visitors write to, over RPC. |
105
+ | `jun-stats` | Live numbers over the document tree. |
106
+ | `jun-window` | A pretend app — the presence vocabulary, all at once. |
107
+ | `jun-redirect` | A document whose `meta.url` is a destination. Emits a real 301. |
108
+ | `jun-home` | A composed front page — sections assembled from the tree. |
109
+ | `jun-config` | The site's own settings. Owner-only, enforced. |
110
+ | `jun-globe` | A map of a journey with a route editor. **Off by default** — see below. |
111
+
112
+ ```ts
113
+ jun: {
114
+ pageTypes: {
115
+ globe: true, // opt in
116
+ guestbook: false, // never registered
117
+ journal: { label: 'Notes', icon: 'i-lucide-notebook' },
118
+ },
119
+ }
120
+ ```
121
+
122
+ `false` means the renderer chunk is never referenced, so a disabled type's
123
+ dependencies never enter your bundle graph. That is why this is a build-time
124
+ option and not something the settings document carries.
125
+
126
+ ### The home page
127
+
128
+ `/` renders the **space root document** through the ordinary pipeline, which is
129
+ usually right. Setting that document's type to `jun-home` — from its own context
130
+ menu — opts into `JunHomeRenderer` instead: a front page assembled from sections
131
+ that resolve themselves out of the document tree.
132
+
133
+ | | |
134
+ |---|---|
135
+ | Layouts | `stack` · `split` · `magazine` · `minimal` |
136
+ | Sections | hero · latest writing · projects · now · links · pages · page content |
137
+
138
+ Both live in the document's meta (`homeLayout`, `homeSections`), edited from a
139
+ bar on the page itself. Nothing in it knows a slug or a type id: a site that
140
+ renames its journal, remaps a type or turns projects off keeps a working home
141
+ page, and the section that has nothing to show drops out heading and all.
142
+
143
+ **Adopting an existing corpus?** `pageTypeAliases` maps a legacy type id onto a
144
+ canonical one, so documents keep rendering without a migration:
145
+
146
+ ```ts
147
+ jun: { pageTypeAliases: { 'janis-journal': 'jun-journal' } }
148
+ ```
149
+
150
+ ### The mosaic — an alternative to the home page
151
+
152
+ `jun-home` composes a front page out of a fixed vocabulary of sections.
153
+ `jun-mosaic` has no vocabulary: **its children are the panes**, and a pane
154
+ renders a *document* through `<ADocRenderer>` — the same call a whole page
155
+ makes. So a mosaic can hold a live journal feed beside a globe beside a kanban,
156
+ and none of it is a special case.
157
+
158
+ | | |
159
+ |---|---|
160
+ | Layouts | `bento` · `columns` · `masonry` · `feature` · `freeform` |
161
+ | A pane | `meta.paneDoc` (render that document) · nothing (render itself) · `meta.paneWidget` (`clock`, `presence`, `brand`) |
162
+ | Sizing | `meta.paneSpan` `{ c, r }` in grid units; `meta.paneRect` `{ x, y, w, h }` in freeform |
163
+
164
+ Drag a tile to rearrange, drag its corner to resize, drag a page in from the
165
+ navigation to add it — every one of those is a CRDT write, so the layout changes
166
+ live for anyone else looking at it. Setting the ROOT document's type to
167
+ `jun-mosaic` makes it the front page, the same opt-in `jun-home` uses.
168
+
169
+ Panes are never editable and (by default) not interactive: a tile is a window
170
+ onto a document, and clicking it opens that document. `meta.paneInteractive`
171
+ opts a single pane back in. Live panes mount lazily and are capped
172
+ (`jun.mosaic.maxPanes`, default 24); a pane past the cap, or one that would
173
+ nest the page inside itself, renders as a card rather than disappearing.
174
+
175
+ ### Media: what leaves the browser, and when
176
+
177
+ `jun-cinema` and `jun-festival` both take **uploads or links**, and the two
178
+ behave very differently on purpose.
179
+
180
+ - **Uploads stream.** `JunMedia` mints a short-lived grant and hands the browser
181
+ a server URL, so a film seeks over HTTP Range instead of downloading whole.
182
+ Raise `[uploads] max_file_size` on your backend — the 10 MiB default rejects
183
+ a phone video.
184
+ - **Links show a facade.** A YouTube or Vimeo URL renders a poster and a play
185
+ button; the third-party iframe is constructed only after a click, against
186
+ `youtube-nocookie.com`. Nothing is requested from a provider until a visitor
187
+ asks for it. `features.thirdPartyEmbeds: false` degrades every provider link
188
+ to a link card, and `jun.embeds.remoteThumbnails` (off) governs whether even
189
+ the poster may come from the provider.
190
+ - **An unrecognised host never becomes an iframe.** It renders as a link.
191
+
192
+ ### Signals fetch from the server, never the browser
193
+
194
+ `jun-services` cards are fetched by the module's own cached endpoint. Every
195
+ adapter is keyless — `github-repo`, `github-user`, `npm`, `crates`, `rss`,
196
+ `http`, `og` — and adding a card is pasting a URL, which is sniffed into a
197
+ provider and a reference.
198
+
199
+ Three of them (`rss`, `http`, `og`) take a URL from a document, which makes the
200
+ endpoint a request forwarder. It is guarded: http(s) only, DNS resolved and
201
+ checked against private/loopback/link-local ranges at every redirect hop, a
202
+ five-second timeout, a one-megabyte body cap, and nothing about the visitor
203
+ forwarded. A site that wants no such surface drops those three:
204
+
205
+ ```ts
206
+ jun: { services: { adapters: ['github-repo', 'npm'] } }
207
+ ```
208
+
209
+ `jun.githubToken` is optional and **server-only**; without it GitHub allows 60
210
+ requests an hour per server IP, which the cache normally absorbs.
211
+
212
+ ### The globe needs a Mapbox token
213
+
214
+ It is the module's only external-service dependency, and the only place a site
215
+ must configure something beyond its own content:
216
+
217
+ ```ts
218
+ jun: {
219
+ pageTypes: { globe: true },
220
+ mapboxToken: process.env.MAPBOX_TOKEN,
221
+ }
222
+ ```
223
+
224
+ It falls back to whatever `@abraca/nuxt` is already configured with, so a site
225
+ that already shows maps needs nothing new.
226
+
227
+ ---
228
+
229
+ ## Options
230
+
231
+ ### `brand`
232
+
233
+ Site identity. The only thing most sites set.
234
+
235
+ | | |
236
+ |---|---|
237
+ | `name` | `<title>` suffix, JSON-LD, footer, studio bar |
238
+ | `tagline` | Meta description default, hero subtitle fallback |
239
+ | `seoDescription` | Overrides `tagline` for the meta description |
240
+ | `avatar` | Author avatar on timeline posts. Falls back to an icon. |
241
+ | `logoMark` | Which built-in mark `<JunLogo>` draws. Default `'sun'`. |
242
+ | `logoVariant` | `'mark'` (default) \| `'lockup'` \| `'wordmark'` |
243
+ | `themeColor` | PWA / browser theme colour |
244
+ | `icons` | PWA manifest icons. No defaults — see *PWA* below. |
245
+ | `schemaType` | `'Person'` \| `'Organization'` \| `false` |
246
+
247
+ `name` defaults to **`Jun!s`**. The bang is part of the name rather than
248
+ punctuation, and `<JunLogo>` gives it its own span so a lockup can weight it —
249
+ a name without one renders as plain text, so this costs nothing to override.
250
+
251
+ `logoMark` and `logoVariant` choose between the marks `<JunLogo>` already
252
+ draws; they are not a way to supply a logo of your own. It ships four, each the
253
+ bang in a different register — `sun` (the orb, and the one mark that carries a
254
+ colour; the default), `sprout` (a lowercase j that is also a tree, and upside
255
+ down the bang), `node` (the same silhouette as a graph: three points, two
256
+ edges) and `page` (the document glyph with the bang set inside it) — plus three
257
+ variants (`mark`, `lockup`, `wordmark`), all pickable live from the settings
258
+ document. To supply a logo of your OWN, declare your own `JunLogo.vue` in
259
+ `app/components/`; Nuxt's name resolution prefers it everywhere the mark
260
+ appears.
261
+
262
+ **The sun takes the site's accent.** It is the one mark with chroma, and the
263
+ chroma is `themeAccent`'s: the theme sheet emits `--jun-sun-from` / `-to` /
264
+ `-core` / `-glow` per colour scheme, so the orb follows an accent change live
265
+ and needs no colour-mode read of its own. Its core is picked by the body's
266
+ BRIGHTNESS rather than by the scheme — white on a pale orb is a featureless
267
+ disc, and a pale accent has that problem in daylight. A monochrome site gets
268
+ the monochrome orb: near-black with a white core, inverted on dark.
269
+
270
+ Hover, press and the intro's draw are CSS, in `jun.css` rather than in the
271
+ component — they have to answer an ancestor's `:hover` (the navbar's home link,
272
+ the settings picker's button), which a scoped style cannot reach.
273
+
274
+ Whatever you use must render identical markup in the navbar and the intro — the
275
+ first-load sequence FLIP-morphs one onto the other, and the handoff is only
276
+ invisible if they match. That is why the mark is chosen inside the component
277
+ rather than passed in per call site.
278
+
279
+ ### `features`
280
+
281
+ Each flag gates **both halves** of its feature — the client mount and the server
282
+ routes or runners it needs — so switching one off genuinely removes it.
283
+
284
+ | Flag | Default | |
285
+ |---|---|---|
286
+ | `intro` | `true` | First-load logo choreography |
287
+ | `backdrop` | `'blobs'` | The ambient field — see *Backdrops* below |
288
+ | `presence` | `true` | The base every other presence feature reads |
289
+ | `awareBlobs` | `true` | Peers as soft tinted blobs |
290
+ | `peerCursors` | `false` | Named site-wide cursors — reads as surveillance |
291
+ | `travellersChip` | `false` | A "who's online" widget, which this is not |
292
+ | `campfire` | `false` | The user center — see *Campfire* below |
293
+ | `studio` | `true` | Owner edit mode |
294
+ | `search` | `true` | ⌘K overlay + full-text endpoint |
295
+ | `feeds` | `true` | `/feed.xml` + `/feed.json` |
296
+ | `sitemap` | `true` | `/sitemap.xml` |
297
+ | `rpc` | `true` | Visitor writes: guestbook, reactions, scheduled publishing |
298
+ | `docCache` | `true` | The SSR runner. Without it pages render empty. |
299
+ | `bootstrap` | `true` | Seed a starter tree into an empty backend |
300
+ | `slideover` | `true` | The document peek panel — powers "Open in slideover" |
301
+ | `contextMenu` | `true` | Document context menus. Off leaves the browser's own. |
302
+ | `lightbox` · `announcement` · `footer` | `true` | |
303
+
304
+ ### `campfire`
305
+
306
+ The site's **user center**: a hearth in one corner that opens a small tabbed
307
+ panel — who else is here, one shared fire to talk around, and each visitor's own
308
+ handle. `features.campfire` decides whether a fresh site boots with it lit;
309
+ every key below is also a Site Config key, so the owner changes any of them live
310
+ from the settings page without a redeploy.
311
+
312
+ | | Default | |
313
+ |---|---|---|
314
+ | `title` | `'Campfire'` | What the place is called — header, empty state, every aria label |
315
+ | `icon` | `'i-lucide-flame'` | The mark on the hearth, its panel and its chat tab |
316
+ | `chat` | `true` | The shared fire. See the note below — this one has a server half. |
317
+ | `roster` | `true` | Who is here, and where |
318
+ | `identity` | `true` | The visitor's own handle and mood |
319
+ | `reactions` | `true` | Emoji embers, rising whether the panel is open or not |
320
+ | `follow` | `true` | Tap a traveller to walk the site with them |
321
+ | `showPages` | `true` | Show what each person is reading. Off is the private choice. |
322
+ | `showBots` | `false` | Include runners and agents. Off by default — see below. |
323
+ | `allowRename` | `true` | Let a visitor choose their own handle |
324
+ | `reactionSet` | `['🔥','❤️','👋','☕']` | The palette, in order |
325
+ | `historyLimit` | `60` | Messages kept on screen (5–300) |
326
+ | `placement` | `'bottom-right'` | Any of the four corners. The top two clear the navbar. |
327
+ | `size` | `'md'` | `sm` · `md` · `lg` |
328
+ | `pillMode` | `'full'` | `full` · `compact` · `count` · `ember` — how loud the closed hearth is |
329
+ | `rosterStyle` | `'list'` | `list` · `grid` · `facepile` · `dots` |
330
+ | `openTab` | `'auto'` | Which panel a tap opens |
331
+ | `blur` · `ember` | `true` | The frosted panel; the warm flame (off keeps it grey) |
332
+ | `label` | `''` | Replaces "N others warming here". `{n}` is the count. |
333
+
334
+ **`chat` has a server half, and it is the reason chat works at all.** Visitors
335
+ are soft identities pinned to `viewer` and the server gates `messages:send` on
336
+ write access to the CHANNEL document — so a campfire bound to the space root has
337
+ every visitor message silently rejected behind the client's own optimistic echo.
338
+ The `jun:campfire` runner (in `jun-rpc`) therefore opens exactly ONE document
339
+ with `public_access = "editor"`: a hidden `kind: "channel"` child of the space
340
+ root. Turning `chat` off clears that access again. This needs `features.rpc`;
341
+ without the runner there is no channel, and the panel says so rather than
342
+ offering a composer that loses what is typed into it.
343
+
344
+ **`showBots` is off** because a site with a doc-cache runner would otherwise
345
+ greet its first human visitor with "3 others warming here", none of whom are
346
+ people. A session that never broadcasts a page is a process, not a reader; the
347
+ janitor deliberately broadcasts one, so it counts as a person.
348
+
349
+ **Renaming it renames the metaphor too.** "Campfire" is this module's word, not
350
+ every site's — a support desk, a common room, a lobby. Setting `title` to
351
+ anything else also drops the two strings that only make sense around a fire: the
352
+ chat tab becomes "Chat" rather than "Fire", and the no-channel state says "no
353
+ channel yet" rather than "the fire is not lit yet". Pick a `icon` to match; the
354
+ settings page offers the full Lucide set through the same picker the document
355
+ tree uses, and an unrecognised value falls back rather than rendering an empty
356
+ box.
357
+
358
+ **The owner can change a person's role from the roster.** In the `list` style,
359
+ each row carries a menu for the site owner: Owner / Editor / Viewer / Observer,
360
+ "Remove access", and the person's public key. It writes a permission row on the
361
+ SPACE ROOT, so it cascades exactly as the campfire channel's own access does,
362
+ and it reads the permissions back afterwards — the chip beside a name is what
363
+ the SERVER stores, never what was asked for. `admin` and `service` are not
364
+ offered: the server refuses to grant an elevated role to anyone but a root
365
+ admin, so a button for it would be a button that fails.
366
+
367
+ The grant is keyed on the public key awareness carries, which is the DEVICE
368
+ key. For a soft identity — every ordinary visitor — that key IS the account. For
369
+ someone who signed in with a password on a device with its own keypair the two
370
+ differ, and no endpoint resolves one to the other from the browser; the read-back
371
+ is what makes that visible rather than silent. The other three roster styles get
372
+ no menu at all: they are ambient displays, and hanging a privilege change off a
373
+ 10px dot is how someone grants ownership by accident.
374
+
375
+ ### `contextMenu`
376
+
377
+ Every document surface — nav items, list rows, grid tiles, cards — carries the
378
+ same menu, built by `useJunDocMenu()`. **Visitors get the read-only half**
379
+ (open, open in a new tab, open in the slideover, copy link, share, subscribe);
380
+ the owner vocabulary (rename, icon, page type, duplicate, pin, hide, move,
381
+ trash) is added while editing.
382
+
383
+ Each item is individually switchable, because a menu is site voice rather than
384
+ plumbing:
385
+
386
+ | | Default | |
387
+ |---|---|---|
388
+ | `enabled` | `true` | Master switch. Off leaves the browser's menu everywhere. |
389
+ | `visitor` | `true` | The read-only half. Off returns to owner-only. |
390
+ | `open` · `newTab` · `slideover` · `copyLink` · `share` · `subscribe` | `true` | |
391
+ | `copyMarkdown` · `copyTitle` · `copyId` | `false` | Opt-in — clutter on a small site |
392
+ | `duplicate` · `changeType` · `setIcon` · `pin` · `hide` · `moveToTop` · `trash` | `true` | Owner items |
393
+ | `suppressNative` | `false` | Suppress the browser menu on page body for visitors |
394
+
395
+ `suppressNative` defaults to **off** on purpose. The reference site suppressed
396
+ it unconditionally, which also took away "Copy" on every paragraph of prose.
397
+
398
+ Contribute your own items from a client plugin:
399
+
400
+ ```ts
401
+ registerJunMenuItems((ctx) => ctx.type === 'jun-app'
402
+ ? [[{ label: 'Open repository', icon: 'i-lucide-github', onSelect: () => …ically }]]
403
+ : null)
404
+ ```
405
+
406
+ ### `navigation`
407
+
408
+ Build-time defaults for the navbar. Every one is also a Site Config key, so
409
+ these are what a fresh site boots with rather than a lock.
410
+
411
+ | | Default | |
412
+ |---|---|---|
413
+ | `placement` | `'top'` | `top` \| `top-bar` \| `bottom` \| `rail-left` \| `rail-right` |
414
+ | `shape` | `'pill'` | `pill` \| `rounded` \| `square` \| `ghost` |
415
+ | `size` | `'md'` | `sm` \| `md` \| `lg` |
416
+ | `itemMode` | `'text'` | `text` \| `icon` \| `icon-focus` \| `icon-text` \| `icon-stack` |
417
+ | `activeStyle` | `'underline'` | `underline` \| `pill` \| `dot` \| `bold` \| `glow` \| `box` \| `bracket` |
418
+ | `autoHide` · `blur` · `showLogo` · `centerActive` | `true` | |
419
+ | `showIndices` · `keyboardNav` · `freshnessDots` | `true` | |
420
+ | `homeItem` | `false` | An explicit Home item |
421
+ | `travellers` | `false` | The fellow-travellers dot stack in the right cluster |
422
+ | `travellersList` | `false` | Hovering that stack names each traveller and their page |
423
+
424
+ Every placement **floats over** the content rather than displacing it, which is
425
+ what keeps it a presentation choice: no renderer knows which one is active and
426
+ switching one live never reflows a page. The rails fall back to `top` below
427
+ `lg`, and a PANEL page type still docks the bar full-width regardless.
428
+
429
+ **Both traveller switches are off, and they are two switches for a reason.** The
430
+ dots say how MANY people are here; the roster says WHO they are and what each is
431
+ reading. A site may reasonably want the first without the second, and off is the
432
+ more private default for both — in a navbar whose whole idea is slight ambient
433
+ presence, a dot stack with a hover roster reads as a "who's online" widget, and
434
+ the campfire is where a real user center belongs. With `travellersList` off the
435
+ chip renders as a plain readout with no popover at all, rather than a button
436
+ that opens nothing. `features.travellersChip` still decides whether the
437
+ component is in the build; these decide whether it is shown.
438
+
439
+ ### Surface — the performance lever
440
+
441
+ `themeSurface` on the settings document: `glass` (default) · `soft` · `solid`.
442
+
443
+ `backdrop-filter` is the most expensive property on the page, and this site has
444
+ one on the navbar, every card, the hearth, the lightbox, the timeline and
445
+ several renderers. Each re-reads whatever is behind it, so a background image
446
+ multiplies the cost across all of them at once — which is exactly when a site
447
+ starts to feel sluggish.
448
+
449
+ | | Frosted surfaces | |
450
+ |---|---|---|
451
+ | `glass` | 15 | The house look |
452
+ | `soft` | 4 | Navbar and hearth only; content surfaces go flat |
453
+ | `solid` | 0 | No blur anywhere, panels opaque |
454
+
455
+ (Counts measured on the settings page — the heaviest one.)
456
+
457
+ Removal is universal (`backdrop-filter: none` on `*`), restoration is a short
458
+ list by name. That asymmetry is deliberate: setting a *value* on `*` would give
459
+ every element its own compositing layer, which would be far worse than the
460
+ problem it solves.
461
+
462
+ ### Backdrops
463
+
464
+ `features.backdrop` picks the ambient field:
465
+
466
+ `blobs` · `dots` · `grid` · `aurora` · `mesh` · `rings` · `waves` · `noise` ·
467
+ `solid` · `shader` · `false`
468
+
469
+ All of them except `shader` are pure CSS — no canvas, no `filter: blur()`, no
470
+ per-frame JavaScript beyond a pointer parallax that stops once it settles — so
471
+ the owner can switch between them **live** from the settings page. `shader`
472
+ pulls an optional WebGL peer and must be chosen at build time; when it is, the
473
+ runtime picker is disabled and says why.
474
+
475
+ `backdrops` narrows the set the settings page offers.
476
+
477
+ **A background IMAGE composes with the backdrop rather than replacing it.** Drop
478
+ a photograph or a texture on the settings page and it becomes the page's base,
479
+ with the chosen field still drifting across it — `cover` / `contain` / `tile`, a
480
+ strength from 5% to 100%, and an optional softening. It is stored as an upload
481
+ reference (`<docId>/<uploadId>`, attached to the space root) or as a literal
482
+ URL, and served off the thumbnail ladder rather than as the original: a
483
+ background sits behind content, usually below full strength, and the difference
484
+ is a multi-megabyte decode against a hundred kilobytes.
485
+
486
+ **Softening is a low-resolution source, never `filter: blur()`.** A blurred
487
+ full-viewport layer is a Gaussian the compositor re-reads for the layer and
488
+ again for every `backdrop-filter` surface above it — which on this site is the
489
+ navbar, every card and the hearth. A 64px copy scaled up to the viewport is the
490
+ same picture and costs nothing: upscaling *is* a blur. (It is disabled for
491
+ `tile`, where the image's natural size is the repeat size.)
492
+
493
+ The image is painted INSIDE the backdrop component rather than on a layer
494
+ beneath it, and that is load-bearing: both backdrops own an opaque base colour
495
+ because `mix-blend-mode` blends only within its own stacking context, and five
496
+ of the nine kinds multiply or screen against it. A separate `-z-20` layer with a
497
+ transparent backdrop above it would have silently broken aurora, mesh, rings,
498
+ waves and noise. Here the pattern blends against the photograph, which is what
499
+ "they work together" has to mean to be worth having.
500
+
501
+ **Dark mode.** Every kind reads far more strongly on a dark scheme than a naive
502
+ port of its light values would: a pattern screening onto a near-black base at
503
+ the alpha that reads as a quiet texture on white lands within a couple of RGB
504
+ steps of the background and is, in practice, invisible. The dark palettes are
505
+ brighter and the dark opacities higher — both halves were needed, and the blob
506
+ field takes its two inner alphas from CSS variables so the scheme can raise them
507
+ without the gradient builder knowing which scheme it is in.
508
+
509
+ ### Everything else
510
+
511
+ | Option | |
512
+ |---|---|
513
+ | `layout` | Which types are immersive / panel / feed / self-padded |
514
+ | `nodePanel` | `'navigate'` (default) or `'slideover'` — what a plain click does |
515
+ | `palettes` · `paletteMap` | Backdrop palettes, keyed by TYPE so a rename keeps them |
516
+ | `seed` | The starter tree. `'default'` seeds one page per enabled type. |
517
+ | `guestNames` | Vocabulary for warm anonymous handles |
518
+ | `metaExcludeKeys` | Keys that must never auto-materialise as an editor chip |
519
+ | `siteConfigDefaults` | Starting values for the settings document |
520
+ | `imageDomains` | Remote hosts `<NuxtImg>` may optimise |
521
+ | `apiBase` | Default `/api/_jun` |
522
+ | `pages` · `layoutName` · `fonts` · `autoInstall` | Opt out of what the module registers |
523
+
524
+ ---
525
+
526
+ ## PWA
527
+
528
+ A manifest is contributed **only if you have installed `@vite-pwa/nuxt`
529
+ yourself**. A service worker has real consequences — stale assets, update
530
+ prompts — and that is not a decision a content module should make for you.
531
+
532
+ It is built from `brand`, so your manifest and your site cannot drift apart. No
533
+ default icons are supplied: pointing a manifest at files you do not have
534
+ produces a *broken* install prompt rather than none.
535
+
536
+ Navigations stay network-first with no offline fallback. This is a realtime SSR
537
+ site and the CRDT layer owns offline data; a worker serving stale HTML would
538
+ fight it.
539
+
540
+ ---
541
+
542
+ ## How it renders
543
+
544
+ Documents are **server-rendered from a Nitro doc cache**, then become realtime
545
+ on the client. Skeletons should rarely be seen.
546
+
547
+ The seeder writes real document bodies into a fresh backend and hands them
548
+ straight to that cache, so a cold deploy serves prose on its first request
549
+ rather than empty pages for the first two minutes.
550
+
551
+ Page-type renderers are client-only by design, which means for a crawler, a feed
552
+ reader or a link preview **the SSR payload is the site**. `pnpm parity` asserts
553
+ that half: every sitemap URL returns 200 with its own title and description, a
554
+ document with a body ships that body, no page paints a skeleton, JSON-LD appears
555
+ where a type declares it, feeds carry real content, search reaches body text,
556
+ and an unknown URL is a real 404.
557
+
558
+ ---
559
+
560
+ ## Commands
561
+
562
+ ```bash
563
+ pnpm dev # backend + Nuxt
564
+ pnpm dev:clean # reset the playground database and caches
565
+ pnpm parity # SSR assertions against a running dev server
566
+ pnpm parity:nav # clicks through the nav — catches broken client routing
567
+ pnpm lint
568
+ pnpm typecheck
569
+ ```
570
+
571
+ Run **both** parity scripts. They are blind to different things: `parity`
572
+ reloads for every check, so it cannot see a broken in-app navigation, and
573
+ `parity:nav` never reloads, so it cannot see an SSR regression. A bug that
574
+ survived twelve phases here was invisible to the first and obvious to the
575
+ second.
576
+
577
+ > `pnpm dev:clean` prints an IndexedDB incantation to run in any open tab.
578
+ > That is not optional: a tab still open on the site will re-push its copy of
579
+ > the old tree on reconnect, and you end up with two of every page. Repeat the
580
+ > cycle and the tree multiplies. A deleted database is not a tombstone — it is a
581
+ > peer that lost its memory, and the browser holds the newer state.
582
+
583
+ ## Requirements
584
+
585
+ Node ≥ 22 · `@abraca/nuxt` ≥ 2.74.0 · Nuxt 4
586
+
587
+ `yjs`, `y-protocols`, `@tiptap/*`, `prosemirror-*` and `vue` must each resolve
588
+ to **one copy**. Two `yjs` copies break every `instanceof` check, which empties
589
+ the SSR cache silently. The module dedupes what it can; a workspace with linked
590
+ packages may need `pnpm.overrides`.
591
+
592
+ ## Licence
593
+
594
+ MIT