@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
@@ -0,0 +1,853 @@
1
+ /**
2
+ * Public option + runtime types for @abraca/junis.
3
+ *
4
+ * These live under `runtime/` rather than in `module.ts` on purpose: the same
5
+ * shapes are consumed on BOTH sides — `module.ts` validates and resolves them
6
+ * at build time, and the runtime composables (`useJunBrand`, `useJunFeatures`,
7
+ * `useJunLayoutPolicy`) read the resolved copy back out of
8
+ * `runtimeConfig.public.jun`. One definition, no drift.
9
+ */
10
+ /**
11
+ * The website's page-type vocabulary. Each key registers a `jun-<key>` page
12
+ * type with the Abracadabra registry and mounts its renderer.
13
+ *
14
+ * Grouped by role:
15
+ * - LIST pages hold child documents and render them as a feed/grid/timeline.
16
+ * - DETAIL pages are the children of a list page and render one document.
17
+ * - SYSTEM pages are singletons that configure or describe the site itself.
18
+ */
19
+ export type JunPageTypeKey = 'apps' | 'journal' | 'live' | 'links' | 'cv' | 'wall' | 'uses' | 'library' | 'guestbook' | 'cinema' | 'festival' | 'services' | 'app' | 'entry' | 'now' | 'movie' | 'track' | 'globe' | 'mosaic' | 'config' | 'redirect' | 'stats' | 'window' | 'home';
20
+ /** Per-page-type overrides. `true` keeps every default; `false` never registers it. */
21
+ export interface JunPageTypeOverride {
22
+ /** Display name in pickers, breadcrumbs and the type switcher. */
23
+ label?: string;
24
+ /** Lucide icon, kebab-case with the `i-lucide-` prefix. */
25
+ icon?: string;
26
+ /**
27
+ * Registered type id. Defaults to `jun-<key>`. Override to adopt an existing
28
+ * corpus without rewriting every document's type — but prefer
29
+ * `pageTypeAliases`, which keeps the canonical id and maps the legacy one.
30
+ */
31
+ type?: string;
32
+ }
33
+ export type JunPageTypesOption = Partial<Record<JunPageTypeKey, boolean | JunPageTypeOverride>>;
34
+ /**
35
+ * Site-wide behaviours. Each flag gates BOTH halves of its feature — the client
36
+ * mount and the server endpoints/runners it needs — so switching one off
37
+ * genuinely removes it rather than hiding its UI.
38
+ */
39
+ export interface JunFeatures {
40
+ /** First-load logo choreography (draw → fill → FLIP-morph into the navbar). */
41
+ intro?: boolean;
42
+ /**
43
+ * The persistent ambient backdrop. See `JunBackdropKind` for the family.
44
+ *
45
+ * This is the site's DEFAULT; every kind except `'shader'` can additionally
46
+ * be switched live from the settings page, because none of them carries a
47
+ * dependency. `'shader'` cannot — it is the one backdrop whose file must be
48
+ * in the build for it to exist at all.
49
+ */
50
+ backdrop?: JunBackdropKind | false;
51
+ /** Broadcast the `docId` + `page` awareness fields. The base every other presence feature reads. */
52
+ presence?: boolean;
53
+ /**
54
+ * Peers on the same page as soft colour-tinted blobs over whatever their
55
+ * cursor is on — `@abraca/nuxt`'s `<APresenceBlobs>`, anchored to the ELEMENT
56
+ * under the peer's pointer rather than to a fraction of their window, so a
57
+ * blob stays on the same content through scroll and resize on either side.
58
+ * Also mounts the `useAAFocus()` broadcast that feeds it.
59
+ */
60
+ awareBlobs?: boolean;
61
+ /** Named site-wide cursors. Off by default — reads as surveillance, not company. */
62
+ peerCursors?: boolean;
63
+ /** Dot stack + roster in the nav's right cluster. Off by default — reads as a "who's online" widget. */
64
+ travellersChip?: boolean;
65
+ /** Slide-up chat panel with emoji embers and follow-a-traveller. Off by default. */
66
+ campfire?: boolean;
67
+ /** Owner edit mode: login, studio bar, inline renames, drag-reorder. */
68
+ studio?: boolean;
69
+ /**
70
+ * Let ANY visitor whose server role permits writing enter edit mode, without
71
+ * signing in with a password. For open demos — a site that hands its document
72
+ * tree to whoever turns up.
73
+ *
74
+ * **Off by default, and it grants nothing.** The server remains the only
75
+ * authority: the write-role check still has to pass, so on an ordinary
76
+ * deployment (visitors land on `viewer`) switching this on changes nothing.
77
+ * What it drops is `useJunStudio`'s second, client-side requirement that the
78
+ * writer hold a claimed password account — the signal that separates an owner
79
+ * from a passing soft identity. Turn it on only alongside a server that
80
+ * deliberately grants visitors write on this site's subtree.
81
+ */
82
+ openEditing?: boolean;
83
+ /** ⌘K overlay + the `/api/_jun/search` full-text endpoint over the SSR doc cache. */
84
+ search?: boolean;
85
+ /** `/feed.xml` (Atom) + `/feed.json` (JSON Feed 1.1). */
86
+ feeds?: boolean;
87
+ /** `/sitemap.xml` from the persisted slug map. */
88
+ sitemap?: boolean;
89
+ /** Visitor writes over RPC v1: guestbook signing, reactions, scheduled publishing. */
90
+ rpc?: boolean;
91
+ /**
92
+ * The standalone-provider SSR doc cache runner. Without it pages server-render
93
+ * empty and visitors see skeletons until the CRDT syncs.
94
+ */
95
+ docCache?: boolean;
96
+ /** Seed a starter tree into a fresh, empty backend. No-ops the moment content exists. */
97
+ bootstrap?: boolean;
98
+ /** Shared FLIP-morphing image lightbox. */
99
+ lightbox?: boolean;
100
+ /** Config-driven announcement ribbon under the navbar. */
101
+ announcement?: boolean;
102
+ /** Config-driven footer line with a live "Updated <relative>". */
103
+ footer?: boolean;
104
+ /**
105
+ * The document slideover — a PEEK that keeps the current page and streams a
106
+ * child document into a panel beside it. Powers the "Open in slideover"
107
+ * context-menu item and `nodePanel: 'slideover'`.
108
+ */
109
+ slideover?: boolean;
110
+ /**
111
+ * Document context menus. Off means no Jun menu anywhere and the browser's
112
+ * own menu everywhere — a legitimate choice for a site that wants nothing
113
+ * but text selection.
114
+ */
115
+ contextMenu?: boolean;
116
+ /**
117
+ * Third-party video embeds (YouTube, Vimeo). ON by default, and even then
118
+ * nothing is requested until a visitor presses play — `JunVideoEmbed` renders
119
+ * a facade first. Off degrades every provider URL to a link card, which is
120
+ * the honest setting for a site that promises no third-party contact at all.
121
+ *
122
+ * Uploaded video is unaffected: it streams from the site's own server.
123
+ */
124
+ thirdPartyEmbeds?: boolean;
125
+ /**
126
+ * The persistent audio player — one `<audio>` element mounted in the layout,
127
+ * so a track keeps playing while the visitor reads something else.
128
+ *
129
+ * Follows the `festival` page type: pointless without one, and a site with no
130
+ * music page should not carry a media element or a Media Session handler.
131
+ */
132
+ player?: boolean;
133
+ /**
134
+ * Shared playback position on a movie page: everyone's playhead as a ghost
135
+ * marker on the scrubber, click to sync. Awareness only — no writes — so it
136
+ * works for viewer-role visitors, which is the only reason it can exist.
137
+ *
138
+ * Off by default. On a page nobody shares it is a fixed cost with no effect,
139
+ * and on a page many people share it is a strong claim about what a visitor's
140
+ * scrubbing reveals.
141
+ */
142
+ watchTogether?: boolean;
143
+ /**
144
+ * The janitor — a simulated person who patrols the site and reverts visitor
145
+ * edits back to a baseline, by hand, in front of everyone. See
146
+ * `JunJanitorOptions` and JANITOR-PLAN.md.
147
+ *
148
+ * **Off by default, and deliberately so.** It is a demo-site gag, it holds a
149
+ * write-capable identity, and it deletes content. A site that has not asked
150
+ * for it must never get one. Its configuration lives in the PRIVATE
151
+ * `runtimeConfig.jun.janitor`, not in the public block — it carries
152
+ * credentials.
153
+ */
154
+ janitor?: boolean;
155
+ }
156
+ /**
157
+ * How the janitor authenticates.
158
+ *
159
+ * `own` is the honest one: its own Ed25519 account, derived deterministically
160
+ * from its name the way `@abraca/orchestrator` derives an actor's, so it is the
161
+ * same person on the server every boot and its chat lines carry its own byline.
162
+ * That account still needs write scope — an ordinary registration lands on
163
+ * `[access].authenticated`, which is `viewer` — so its public key has to be
164
+ * granted service role once (`[[users.system_users]]`, or the
165
+ * `INSERT INTO permissions` the `jun-rpc` header documents for dev). The runner
166
+ * prints the key and the grant on first boot rather than failing quietly.
167
+ *
168
+ * `service` borrows the module's own service client. Nothing to configure, but
169
+ * the janitor's messages then carry the runner's display name.
170
+ */
171
+ export type JunJanitorIdentityMode = 'own' | 'service';
172
+ export interface JunJanitorIdentity {
173
+ mode?: JunJanitorIdentityMode;
174
+ /** Seed for the deterministic keypair. Defaults to the janitor's name. */
175
+ seed?: string;
176
+ /** Read the keypair from this file instead of deriving it. */
177
+ keyFile?: string;
178
+ }
179
+ /**
180
+ * `observe` — full presence, full commentary, and **not one write**. Everything
181
+ * it would have done is logged instead. This is the default, and it is the only
182
+ * responsible default for something that deletes prose.
183
+ *
184
+ * `clean` — it actually does the work.
185
+ */
186
+ export type JunJanitorMode = 'observe' | 'clean';
187
+ /**
188
+ * When the "clean" state of the site is captured.
189
+ *
190
+ * Never implicit. Without a baseline the janitor exists, wanders and talks, and
191
+ * changes nothing — because inferring a baseline from whatever is on the site
192
+ * right now freezes somebody's mess as canon.
193
+ */
194
+ export type JunJanitorBaselineMode = 'after-seed' | 'manual' | 'off';
195
+ export interface JunJanitorOptions {
196
+ /** Master switch. Also gated by `features.janitor`. */
197
+ enabled?: boolean;
198
+ mode?: JunJanitorMode;
199
+ /** Display name, in chat and over its caret. Lowercase reads better. */
200
+ name?: string;
201
+ /** Its colour. Staff, not a guest — a dim neutral, never a presence hue. */
202
+ color?: string;
203
+ identity?: JunJanitorIdentity;
204
+ baseline?: JunJanitorBaselineMode;
205
+ /**
206
+ * Hours it works, site-local, `[start, end)` on a 24h clock. `[0, 24]` is
207
+ * always on duty. A night shift is the funnier default but a site that wants
208
+ * visitors to SEE it should overlap with its traffic.
209
+ */
210
+ shiftHours?: [number, number];
211
+ /** Ceilings, independent of how much mess arrives. */
212
+ budget?: {
213
+ /** Chores per hour. */
214
+ choresPerHour?: number;
215
+ /** Chat lines per hour. */
216
+ linesPerHour?: number;
217
+ /** Never remove more than this fraction of one document in a single visit. */
218
+ maxDocRemovalRatio?: number;
219
+ /** Chores between breaks. */
220
+ choresPerShift?: number;
221
+ };
222
+ /** Documents it must never touch, whatever the baseline holds. */
223
+ ignoreDocIds?: string[];
224
+ /**
225
+ * Extra phrases, merged into the vocabulary per event. How a site gives it a
226
+ * local accent without forking the module.
227
+ */
228
+ phrases?: Record<string, string[]>;
229
+ /**
230
+ * Tuning overrides for the motor model, the patrol policy, the chore policy
231
+ * and the voice cadence. Every key optional; the defaults are the tuned set.
232
+ * Typed loosely here on purpose — the shapes live beside the code that uses
233
+ * them, in `runtime/server/janitor/`, and are not part of the public contract.
234
+ */
235
+ tuning?: {
236
+ motor?: Record<string, number>;
237
+ patrol?: Record<string, number>;
238
+ chores?: Record<string, unknown>;
239
+ voice?: Record<string, number>;
240
+ };
241
+ }
242
+ /**
243
+ * Which items a document context menu offers.
244
+ *
245
+ * Every key is INDIVIDUALLY switchable because a menu is site voice, not
246
+ * plumbing: a portfolio may want only "Copy link", a wiki may want the lot.
247
+ * Items marked *(default off)* are the ones that read as clutter on a small
248
+ * site and as essential on a large one.
249
+ */
250
+ export interface JunContextMenuOptions {
251
+ /** Master switch. `false` leaves the browser's own menu everywhere. */
252
+ enabled?: boolean;
253
+ /**
254
+ * Show the READ-ONLY half to visitors. On by default, and switching it off
255
+ * should be a decision: a visitor with no menu at all is worse off than on a
256
+ * plain HTML page.
257
+ */
258
+ visitor?: boolean;
259
+ open?: boolean;
260
+ newTab?: boolean;
261
+ slideover?: boolean;
262
+ copyLink?: boolean;
263
+ /** Off by default. `[Title](https://…)`. */
264
+ copyMarkdown?: boolean;
265
+ /** The plain document title. Off by default. */
266
+ copyTitle?: boolean;
267
+ share?: boolean;
268
+ /** Feed URL, offered only on types whose children syndicate. */
269
+ subscribe?: boolean;
270
+ /** The raw document id — useful while developing, noise otherwise. Off by default. */
271
+ copyId?: boolean;
272
+ duplicate?: boolean;
273
+ /** Convert a page to another registered type. Safe because every renderer tolerates foreign children. */
274
+ changeType?: boolean;
275
+ setIcon?: boolean;
276
+ pin?: boolean;
277
+ hide?: boolean;
278
+ moveToTop?: boolean;
279
+ trash?: boolean;
280
+ /**
281
+ * Suppress the browser's own menu on the page BODY for visitors.
282
+ *
283
+ * The reference site did this unconditionally, which is why a visitor could
284
+ * not copy a paragraph. Default `false`: the native menu is left alone
285
+ * wherever Jun does not provide one of its own.
286
+ */
287
+ suppressNative?: boolean;
288
+ }
289
+ /**
290
+ * Where the navbar lives.
291
+ *
292
+ * Every placement FLOATS over the content rather than displacing it, which is
293
+ * what keeps this a presentation choice: no renderer has to know which one is
294
+ * active, and switching one live never reflows a page.
295
+ *
296
+ * - `top` — the floating pill, centred under the top edge (default).
297
+ * - `top-bar` — full-width, docked to the top edge, always. What PANEL page
298
+ * types force today regardless of this setting.
299
+ * - `bottom` — a floating dock at the bottom edge, thumb-reachable.
300
+ * - `rail-left` /
301
+ * `rail-right` — a vertical rail against the side. Falls back to `top` below
302
+ * the `lg` breakpoint, where a rail would eat the viewport.
303
+ */
304
+ export type JunNavPlacement = 'top' | 'top-bar' | 'bottom' | 'rail-left' | 'rail-right';
305
+ /** The navbar's own container shape. `ghost` drops the panel entirely. */
306
+ export type JunNavShape = 'pill' | 'rounded' | 'square' | 'ghost';
307
+ export type JunNavSize = 'sm' | 'md' | 'lg';
308
+ /** How a nav item renders. */
309
+ export type JunNavItemMode = 'text' | 'icon' | 'icon-focus' | 'icon-text' | 'icon-stack';
310
+ /** How the ACTIVE item is marked. */
311
+ export type JunNavActiveStyle = 'underline' | 'pill' | 'dot' | 'bold' | 'glow' | 'box' | 'bracket';
312
+ /**
313
+ * What pressing the navbar's logo does.
314
+ *
315
+ * `home` is the convention and the default. `palette` is for a site that would
316
+ * rather spend its one obvious affordance on search than on a link to a page
317
+ * the visitor is usually already on — with `navHomeItem` on, the way home is
318
+ * still in the track, so nothing is lost.
319
+ */
320
+ export type JunNavLogoAction = 'home' | 'palette';
321
+ /**
322
+ * Build-time navigation defaults. Each one is also a Site Config key, so the
323
+ * owner can change it live; this is only what a fresh site boots with.
324
+ */
325
+ export interface JunNavigationOptions {
326
+ placement?: JunNavPlacement;
327
+ shape?: JunNavShape;
328
+ size?: JunNavSize;
329
+ itemMode?: JunNavItemMode;
330
+ activeStyle?: JunNavActiveStyle;
331
+ /** Scroll away on the way down, return on the way up. */
332
+ autoHide?: boolean;
333
+ /** The frosted panel. Off for flat designs. */
334
+ blur?: boolean;
335
+ /** An explicit Home item, for sites whose logo is not the way home. */
336
+ homeItem?: boolean;
337
+ /** The little 1–9 chips beside text items. */
338
+ showIndices?: boolean;
339
+ /** Digits 0–9 jump to a page. */
340
+ keyboardNav?: boolean;
341
+ /** A hollow dot when a page's subtree changed since this visitor's last visit. */
342
+ freshnessDots?: boolean;
343
+ /** Render the logo. Off for a site whose navbar is only links. */
344
+ showLogo?: boolean;
345
+ /** What the logo does when pressed. */
346
+ logoAction?: JunNavLogoAction;
347
+ /**
348
+ * The search button in the right cluster.
349
+ *
350
+ * Off is a real choice, not a mistake: ⌘K still works, the logo can be made
351
+ * to open the palette instead, and a navbar with no right cluster at all is a
352
+ * legitimate design. It is ON by default because a site whose only way into
353
+ * search is a keyboard shortcut has no way into search on a phone.
354
+ */
355
+ searchButton?: boolean;
356
+ /** Centre the active item in the track on navigation. */
357
+ centerActive?: boolean;
358
+ /**
359
+ * The "fellow travellers" dot stack in the right cluster.
360
+ *
361
+ * **Off.** A dot stack plus a roster in the navbar reads as a "who's online"
362
+ * widget, which is the opposite of slight ambient presence — and a site that
363
+ * wants a real user center has the campfire for it. Presence still shows
364
+ * where it means something: the item dots, the card accents, the aware blobs.
365
+ *
366
+ * `features.travellersChip` decides whether the component is in the build;
367
+ * this is what the Site Config key defaults to.
368
+ */
369
+ travellers?: boolean;
370
+ /**
371
+ * Whether hovering that stack opens the roster listing each traveller by
372
+ * name and page.
373
+ *
374
+ * Separate from `travellers` because they are different disclosures: the
375
+ * dots say how many, the list says who and where. A site may want the first
376
+ * without the second, and off is the more private default for both.
377
+ */
378
+ travellersList?: boolean;
379
+ }
380
+ /**
381
+ * Which corner the hearth sits in. All four are viewport-fixed and float over
382
+ * the content — the panel opens along the same edge, so the choice never has to
383
+ * be coordinated with the navbar's own placement.
384
+ */
385
+ export type JunCampfirePlacement = 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left';
386
+ /**
387
+ * How much the closed hearth says about itself.
388
+ *
389
+ * - `full` — ember, facepile and a sentence. The reference look.
390
+ * - `compact` — ember, facepile and a count.
391
+ * - `count` — ember and a count. No faces.
392
+ * - `ember` — the ember alone. The quietest a live hearth can be.
393
+ */
394
+ export type JunCampfirePillMode = 'full' | 'compact' | 'count' | 'ember';
395
+ /**
396
+ * How the roster draws the people who are here.
397
+ *
398
+ * - `list` — a row each: name, where they are, and the follow action.
399
+ * - `grid` — avatar tiles. Reads as a room rather than a queue.
400
+ * - `facepile` — one overlapping stack. The most ambient.
401
+ * - `dots` — pubkey-tinted dots and nothing else. Presence without identity.
402
+ */
403
+ export type JunCampfireRosterStyle = 'list' | 'grid' | 'facepile' | 'dots';
404
+ /** Which panel a tap on the hearth opens. `auto` picks the first enabled one. */
405
+ export type JunCampfireTab = 'auto' | 'here' | 'fire' | 'you';
406
+ export type JunCampfireSize = 'sm' | 'md' | 'lg';
407
+ /**
408
+ * Build-time campfire defaults. Every key is ALSO a Site Config key
409
+ * (`campfire<Key>`), so the owner changes any of them live; this is only what a
410
+ * fresh site boots with.
411
+ *
412
+ * `features.campfire` still decides whether the hearth is in the build at all.
413
+ * These describe what it is once it is.
414
+ */
415
+ export interface JunCampfireOptions {
416
+ /**
417
+ * The name of the place. Shown in the panel header and in every aria label.
418
+ *
419
+ * "Campfire" is this module's metaphor, not every site's: a support desk, a
420
+ * common room, a lobby. The word appears often enough — header, empty state,
421
+ * the pill's label for a screen reader — that a site stuck with ours would
422
+ * be describing someone else's building.
423
+ */
424
+ title?: string;
425
+ /**
426
+ * The mark on the hearth, as a Lucide icon id (`i-lucide-flame`).
427
+ *
428
+ * Renamed places want their own sign. Validated against the `i-lucide-*`
429
+ * shape at read time, because this is CRDT data an older client may have
430
+ * written — an unrecognised value falls back rather than rendering the icon
431
+ * component's own missing-glyph box.
432
+ */
433
+ icon?: string;
434
+ /**
435
+ * Ambient chat around one shared fire.
436
+ *
437
+ * Switching this off does more than hide a tab: the runner clears the
438
+ * campfire channel's `public_access`, so the server stops accepting visitor
439
+ * sends too. Both halves, like every other feature flag here.
440
+ */
441
+ chat?: boolean;
442
+ /** The people panel — who else is here, and where. */
443
+ roster?: boolean;
444
+ /** The identity panel: a visitor's own handle and status. */
445
+ identity?: boolean;
446
+ /** Emoji embers, rising in the corner whether or not the panel is open. */
447
+ reactions?: boolean;
448
+ /** Tap a traveller to follow their journey through the site. */
449
+ follow?: boolean;
450
+ /** Show which page each traveller is on. Off is the more private choice. */
451
+ showPages?: boolean;
452
+ /**
453
+ * Include service identities — runners, the janitor, AI agents — in the
454
+ * roster and the count.
455
+ *
456
+ * Off by default: a site with a doc-cache runner and a janitor otherwise
457
+ * greets its first human visitor with "3 others warming here", none of whom
458
+ * are people.
459
+ */
460
+ showBots?: boolean;
461
+ /** Let a visitor rename themselves from the identity panel. */
462
+ allowRename?: boolean;
463
+ /** The reaction palette. Emoji, in the order they appear. */
464
+ reactionSet?: string[];
465
+ /** How many messages the fire keeps on screen. */
466
+ historyLimit?: number;
467
+ placement?: JunCampfirePlacement;
468
+ size?: JunCampfireSize;
469
+ pillMode?: JunCampfirePillMode;
470
+ rosterStyle?: JunCampfireRosterStyle;
471
+ /** Which panel a tap opens. */
472
+ openTab?: JunCampfireTab;
473
+ /** The frosted panel. Off for a flat design. */
474
+ blur?: boolean;
475
+ /** Warm the ember and the unread chip. Off keeps the hearth monochrome. */
476
+ ember?: boolean;
477
+ /**
478
+ * Replace "N others warming here". `{n}` interpolates the count; the string
479
+ * is used verbatim otherwise.
480
+ */
481
+ label?: string;
482
+ }
483
+ /**
484
+ * The ambient backdrop family.
485
+ *
486
+ * All of these except `shader` are pure CSS — no canvas, no `filter: blur()`,
487
+ * no per-frame JavaScript beyond an optional pointer parallax — which is what
488
+ * makes them switchable at RUNTIME from the settings page. `shader` pulls an
489
+ * optional WebGL peer and must be chosen at build time.
490
+ *
491
+ * - `blobs` — three spare radial-gradient blobs. The house default.
492
+ * - `dots` — a quiet dot lattice, drifting.
493
+ * - `grid` — engineering-paper rules with a soft radial mask.
494
+ * - `aurora` — two wide diagonal colour bands, slowly crossing.
495
+ * - `mesh` — four corner-anchored gradients breathing against each other.
496
+ * - `rings` — concentric rings expanding from a single origin.
497
+ * - `waves` — layered sine bands along the bottom edge.
498
+ * - `noise` — a still, near-invisible film grain. The most restrained option.
499
+ * - `solid` — the flat theme base, and nothing else.
500
+ * - `shader` — the WebGL lava-lamp. Beautiful, expensive, opt-in.
501
+ */
502
+ export type JunBackdropKind = 'blobs' | 'dots' | 'grid' | 'aurora' | 'mesh' | 'rings' | 'waves' | 'noise' | 'solid' | 'shader';
503
+ /** The CSS-only kinds — the set a site can switch between at runtime. */
504
+ export declare const JUN_RUNTIME_BACKDROPS: JunBackdropKind[];
505
+ /**
506
+ * How an uploaded background image fills the viewport.
507
+ *
508
+ * - `cover` — fill it, cropping. What a photograph wants.
509
+ * - `contain` — fit it whole, letterboxed onto the theme base.
510
+ * - `tile` — repeat at natural size. What a texture wants.
511
+ *
512
+ * There is no `fixed`/`scroll` choice: the background lives on a `position:
513
+ * fixed` layer, so it never scrolls in the first place.
514
+ */
515
+ export type JunBackgroundFit = 'cover' | 'contain' | 'tile';
516
+ /**
517
+ * Which of the built-in `<JunLogo>` marks a site boots with. See that
518
+ * component's header for what each one is.
519
+ */
520
+ export type JunLogoMark = 'sprout' | 'node' | 'page' | 'sun';
521
+ /** Mark alone, mark + name, or name alone. */
522
+ export type JunLogoVariant = 'mark' | 'lockup' | 'wordmark';
523
+ /**
524
+ * Site identity.
525
+ *
526
+ * `logoMark` / `logoVariant` choose between the marks `<JunLogo>` already
527
+ * draws — they are not a way to supply a logo. A logo of your OWN is a
528
+ * COMPONENT: declare `JunLogo.vue` in your `app/components/` and Nuxt's name
529
+ * resolution prefers it over the module's everywhere the mark appears, or fill
530
+ * the `#logo` slot on `<JunShell>` / `<JunNavigation>` for a one-off.
531
+ *
532
+ * Whatever you use must render identical markup in the navbar and in the
533
+ * intro: the first-load sequence FLIP-morphs one onto the other, and the
534
+ * handoff is only invisible if they match.
535
+ */
536
+ export interface JunBrand {
537
+ /** Site name — `<title>` suffix, JSON-LD, footer, studio bar. */
538
+ name?: string;
539
+ /** One-line description — meta description default, hero subtitle fallback. */
540
+ tagline?: string;
541
+ /**
542
+ * Default `<meta name="description">` for pages with no prose of their own.
543
+ * The Site Config document's `seoDescription` overrides it per deployment.
544
+ * Falls back to `tagline` when unset.
545
+ */
546
+ seoDescription?: string;
547
+ /**
548
+ * The author avatar shown by the Live and Journal renderers. A public path
549
+ * or absolute URL. The reference site hardcoded `/apple-touch-icon.png`
550
+ * INSIDE two renderers, which is exactly what a module cannot do.
551
+ */
552
+ avatar?: string;
553
+ /**
554
+ * Which built-in mark to draw. The Site Config document's `brandLogo` wins
555
+ * over it, live.
556
+ */
557
+ logoMark?: JunLogoMark;
558
+ /** Mark, mark + name, or name alone. Site Config key: `brandLogoVariant`. */
559
+ logoVariant?: JunLogoVariant;
560
+ /** PWA / browser theme colour. */
561
+ themeColor?: string;
562
+ /**
563
+ * PWA manifest icons. Public paths, since the manifest is fetched by the
564
+ * browser rather than bundled. Omit and no manifest icons are declared —
565
+ * which is better than pointing at files a site does not have.
566
+ */
567
+ icons?: {
568
+ src: string;
569
+ sizes: string;
570
+ type?: string;
571
+ purpose?: string;
572
+ }[];
573
+ /** Structured-data type emitted on the index page. `false` emits none. */
574
+ schemaType?: 'Person' | 'Organization' | false;
575
+ }
576
+ /**
577
+ * How each page type lays out. Three buckets, matching the CSS:
578
+ *
579
+ * IMMERSIVE — canvas types that ARE the page. Renderer fills the viewport,
580
+ * navbar floats over it as a pill, backdrop hides.
581
+ * PANEL — structured full-size types. Navbar expands full-width and docks
582
+ * to the top edge; the renderer fills the viewport BELOW it.
583
+ * FLOWING — everything else (default). Page scroll, nav auto-hides.
584
+ *
585
+ * Unknown types fall to FLOWING deliberately: an unregistered type renders
586
+ * through the module's editor, which flows — locking it would clip it under
587
+ * the nav.
588
+ */
589
+ export interface JunLayoutPolicy {
590
+ immersive?: string[];
591
+ panel?: string[];
592
+ /** Editorial pages that flow full-width and manage their own inner width. */
593
+ feed?: string[];
594
+ /** Detail pages that own their column width AND its horizontal padding. */
595
+ selfPadded?: string[];
596
+ /** Reading width for flowing editor content, by type, with a `default` key. */
597
+ readingWidth?: Record<string, string>;
598
+ }
599
+ /** One backdrop palette, in one colour scheme. All values are hex. */
600
+ export interface JunPalette {
601
+ /** The chromatic blob colour — a hint, never bright. */
602
+ blobA: string;
603
+ /** The page-background tone the blob dissolves into. */
604
+ blobB: string;
605
+ /** Ambient layer beneath the blobs. */
606
+ fogA: string;
607
+ fogB: string;
608
+ }
609
+ export interface JunPaletteSet {
610
+ light: JunPalette;
611
+ dark: JunPalette;
612
+ }
613
+ /**
614
+ * Starting values for the Site Config *document* — the hidden `jun-config` doc
615
+ * whose meta IS the site's runtime configuration. Anything the owner sets in
616
+ * the settings page wins over these; this is only what a brand-new site boots
617
+ * with. Defaults are stored as `undefined` (picking the default clears the key).
618
+ */
619
+ export interface JunSiteConfigDefaults {
620
+ navItemMode?: JunNavItemMode;
621
+ navActiveStyle?: JunNavActiveStyle;
622
+ navPlacement?: JunNavPlacement;
623
+ navShape?: JunNavShape;
624
+ navSize?: JunNavSize;
625
+ navAutoHide?: boolean;
626
+ navBlur?: boolean;
627
+ navHomeItem?: boolean;
628
+ navShowLogo?: boolean;
629
+ navCenterActive?: boolean;
630
+ navShowIndices?: boolean;
631
+ navKeyboardNav?: boolean;
632
+ navFreshnessDots?: boolean;
633
+ themeRadius?: 'none' | 'sm' | 'md' | 'lg' | 'xl';
634
+ themeAccent?: string;
635
+ themeNeutral?: 'slate' | 'zinc' | 'stone';
636
+ themeBlobs?: 'off' | 'quiet' | 'normal' | 'bold';
637
+ themeFont?: 'default' | 'serif' | 'grotesk' | 'mono';
638
+ /** Runtime backdrop override. Any CSS kind; `shader` is build-time only. */
639
+ themeBackdrop?: JunBackdropKind;
640
+ guestbookEnabled?: boolean;
641
+ reactionsEnabled?: boolean;
642
+ feedsEnabled?: boolean;
643
+ footerShowUpdated?: boolean;
644
+ }
645
+ /** One page in the starter tree. Children nest arbitrarily deep. */
646
+ export interface JunSeedNode {
647
+ /** Document label — also the source of its slug. */
648
+ label: string;
649
+ /** Page-type key (`'journal'`) or a raw registered type id (`'doc'`). */
650
+ type: JunPageTypeKey | string;
651
+ /** Lucide icon for nav + breadcrumbs. */
652
+ icon?: string;
653
+ /** Meta written onto the tree entry (excerpt, hidden, date, …). */
654
+ meta?: Record<string, unknown>;
655
+ /** Markdown body. */
656
+ body?: string;
657
+ children?: JunSeedNode[];
658
+ }
659
+ export interface JunSeedOptions {
660
+ enabled?: boolean;
661
+ /**
662
+ * `'default'` seeds one page per ENABLED page type — the full surface, so a
663
+ * fresh deploy exercises every renderer instead of leaving most unreachable.
664
+ * An array describes your own tree instead.
665
+ */
666
+ tree?: 'default' | JunSeedNode[];
667
+ /**
668
+ * The ROOT document's own tree entry — the self-descriptor `/` renders from.
669
+ *
670
+ * It is a separate option rather than a node in `tree` because the root is
671
+ * not a child of anything: the seeder cannot mint an id for it (it already
672
+ * has one — `service.rootDocId`) and cannot give it a `parentId`. Left
673
+ * unset, the root is seeded as an untitled `'doc'` and `/` renders the space
674
+ * root through the ordinary pipeline, which is the module's default.
675
+ *
676
+ * Setting `type` is the opt-in that makes `/` a composed front page:
677
+ * `{ type: 'jun-home' }`. Use the RESOLVED type id, not the page-type key —
678
+ * a site that remaps `home` must name its own id here, the same rule seed
679
+ * nodes follow.
680
+ */
681
+ root?: {
682
+ label?: string;
683
+ type?: string;
684
+ meta?: Record<string, unknown>;
685
+ };
686
+ }
687
+ /**
688
+ * The value stored against a document id in the `doc-tree` map.
689
+ *
690
+ * Declared here rather than in each consumer for a TYPE reason, not a tidiness
691
+ * one. `useChildTree().treeMap.set` takes this exact shape, and a consumer that
692
+ * describes its parameter as the looser `Record<string, unknown>` is not
693
+ * assignable to it — function parameters are contravariant, so the wider type
694
+ * fails where a narrower one succeeds. Anything holding a reference to
695
+ * `treeMap` must use this, or it will not compile against the real map.
696
+ */
697
+ export interface JunTreeEntryValue {
698
+ label: string;
699
+ parentId: string | null;
700
+ order: number;
701
+ type?: string;
702
+ meta?: Record<string, unknown>;
703
+ createdAt?: number;
704
+ updatedAt?: number;
705
+ trashed?: boolean;
706
+ }
707
+ /**
708
+ * Warm anonymous handles, joined "Adjective-Noun". Every visitor is a soft
709
+ * identity with a real (registered) keypair, so this is their name, not a
710
+ * session label.
711
+ */
712
+ export interface JunGuestNames {
713
+ adjectives?: string[];
714
+ nouns?: string[];
715
+ }
716
+ /**
717
+ * What `module.ts` writes into `runtimeConfig.public.jun` — fully resolved, no
718
+ * optionals left unfilled, which is why the runtime composables never need
719
+ * their own fallbacks.
720
+ */
721
+ /**
722
+ * A declarative schema.org spec for a page type, expanded at render time by
723
+ * `junBuildJsonLd`.
724
+ *
725
+ * DATA, not a function — it has to survive serialisation into
726
+ * `runtimeConfig`, and a function does not. Values are literals, or
727
+ * `{ from: 'meta.date', format: 'iso-date' }` references resolved against the
728
+ * SERVER cache entry. A reference that resolves to nothing drops its key.
729
+ */
730
+ export type JunJsonLdSpec = Record<string, unknown>;
731
+ /** How the site treats content it does not host. */
732
+ export interface JunEmbedOptions {
733
+ /**
734
+ * Load the PROVIDER's poster image on a video facade.
735
+ *
736
+ * Off by default, and it is not a cosmetic default: fetching
737
+ * `i.ytimg.com/vi/<id>/hqdefault.jpg` tells YouTube who is reading the page
738
+ * exactly as reliably as the player would, so a facade that loads it has
739
+ * given away the thing the facade exists to protect. With it off a film shows
740
+ * the document's OWN cover, which is better art anyway.
741
+ */
742
+ remoteThumbnails?: boolean;
743
+ }
744
+ /** The mosaic's guard rails. Everything else about a mosaic is document meta. */
745
+ export interface JunMosaicOptions {
746
+ /**
747
+ * Panes rendered as LIVE documents before the rest degrade to cards.
748
+ *
749
+ * Each live pane is a mounted renderer with its own tree subscription; a
750
+ * hundred of them is a hundred subscriptions and a page that janks on every
751
+ * keystroke anywhere in the site. Panes past the cap still render — as static
752
+ * cards — so nothing ever disappears for being too far down.
753
+ */
754
+ maxPanes?: number;
755
+ /**
756
+ * How deep an embed may nest. `1` means a mosaic renders its panes, and a
757
+ * mosaic INSIDE a pane renders as a card. Raising it is a performance
758
+ * decision, not a capability one — the cycle guard is separate and absolute.
759
+ */
760
+ maxDepth?: number;
761
+ }
762
+ /** Which external-service adapters the `services` page type may call. */
763
+ export interface JunServicesOptions {
764
+ /**
765
+ * Enabled adapter ids. The default set is every keyless one.
766
+ *
767
+ * `rss`, `http` and `og` take a URL from the DOCUMENT rather than building
768
+ * one from an id, so they are the three that reach an arbitrary host. They
769
+ * pass the SSRF guard, but a site that wants no such surface at all should
770
+ * list only the id-based adapters here.
771
+ */
772
+ adapters?: string[];
773
+ /** Seconds a fetched result stays fresh. Also bounds how hard a rate limit bites. */
774
+ ttl?: number;
775
+ }
776
+ export interface JunRuntimeOptions {
777
+ brand: {
778
+ name: string;
779
+ tagline: string;
780
+ seoDescription: string;
781
+ avatar: string;
782
+ logoMark: JunLogoMark;
783
+ logoVariant: JunLogoVariant;
784
+ themeColor: string;
785
+ schemaType: JunBrand['schemaType'];
786
+ };
787
+ features: Required<JunFeatures>;
788
+ layout: Required<JunLayoutPolicy>;
789
+ siteConfigDefaults: JunSiteConfigDefaults;
790
+ guestNames: Required<JunGuestNames>;
791
+ /** Registered type ids, in declaration order — drives nav, pickers and the seeder. */
792
+ pageTypes: string[];
793
+ /**
794
+ * Type ids whose CHILDREN are feed items. Distinct from `layout.feed`, which
795
+ * only says how a page lays out — a portfolio grid is a full-width layout and
796
+ * emphatically not a publication.
797
+ */
798
+ feedItemTypes: string[];
799
+ /**
800
+ * Page-type KEY → its registered type id (`redirect` → `jun-redirect`).
801
+ * Components switch on this rather than hard-coding an id, so a site that
802
+ * remaps a type through `pageTypes[key].type` keeps working.
803
+ * Absent when the type is disabled — which is itself the "is it on?" check.
804
+ */
805
+ typeIds: Partial<Record<JunPageTypeKey, string>>;
806
+ /**
807
+ * Registered type id → Lucide icon, and → label. Derived from the page-type
808
+ * registration so chrome that shows a document's icon or type name never
809
+ * keeps a hand-copied second list. Read via `useJunDocIcon()`.
810
+ */
811
+ typeIcons: Record<string, string>;
812
+ typeLabels: Record<string, string>;
813
+ /** Legacy type id → canonical `jun-*` id. Applied when resolving a renderer. */
814
+ pageTypeAliases: Record<string, string>;
815
+ /** Meta keys that must never auto-materialise as an editor chip. */
816
+ metaExcludeKeys: string[];
817
+ /** Named backdrop palettes. */
818
+ palettes: Record<string, JunPaletteSet>;
819
+ /**
820
+ * Page type (or the literal `'/'` for the index) → palette name. Keyed by
821
+ * TYPE rather than by URL so a page keeps its palette through a rename.
822
+ */
823
+ paletteMap: Record<string, string>;
824
+ /** Where the module's own API routes live. Change only to avoid a collision. */
825
+ apiBase: string;
826
+ /** Mapbox token for the globe. Empty unless the site sets one. */
827
+ mapboxToken: string;
828
+ /** Third-party media policy. See `JunEmbedOptions`. */
829
+ embeds: Required<JunEmbedOptions>;
830
+ /** Mosaic guard rails. See `JunMosaicOptions`. */
831
+ mosaic: Required<JunMosaicOptions>;
832
+ /** Enabled service adapters + their cache TTL. See `JunServicesOptions`. */
833
+ services: Required<JunServicesOptions>;
834
+ /** Clicking a node in a renderer: navigate to its page, or open the slideover. */
835
+ nodePanel: 'navigate' | 'slideover';
836
+ /** Which context-menu items exist. Resolved — every key filled. */
837
+ contextMenu: Required<JunContextMenuOptions>;
838
+ /** Navigation defaults. The Site Config document overrides any of them live. */
839
+ navigation: Required<JunNavigationOptions>;
840
+ /** Campfire defaults. Same contract — the Site Config document wins, live. */
841
+ campfire: Required<JunCampfireOptions>;
842
+ /**
843
+ * Backdrop kinds the settings page offers. `shader` never appears here — a
844
+ * runtime switch cannot conjure a file the build left out.
845
+ */
846
+ backdrops: JunBackdropKind[];
847
+ /**
848
+ * Registered type id → its structured-data spec. Built from the SERVER
849
+ * cache so crawlers get it in the SSR payload; the live renderer is
850
+ * client-only and never runs for them.
851
+ */
852
+ jsonLd: Record<string, JunJsonLdSpec>;
853
+ }